From: josuer08 Date: Thu, 16 Sep 2021 16:33:19 +0000 (-0400) Subject: minimal adjustments X-Git-Url: https://git.josue.xyz/?p=dotfiles%2F.git;a=commitdiff_plain;h=d2f432cc757f42f0318fdddcab8c00b240d47088 minimal adjustments --- diff --git a/.config/google-chrome/AutofillRegex/2021.2.22.1142/_metadata/verified_contents.json b/.config/google-chrome/AutofillRegex/2021.2.22.1142/_metadata/verified_contents.json deleted file mode 100644 index 163c42a9..00000000 --- a/.config/google-chrome/AutofillRegex/2021.2.22.1142/_metadata/verified_contents.json +++ /dev/null @@ -1 +0,0 @@ -[{"description":"treehash per file","signed_content":{"payload":"eyJjb250ZW50X2hhc2hlcyI6W3siYmxvY2tfc2l6ZSI6NDA5NiwiZGlnZXN0Ijoic2hhMjU2IiwiZmlsZXMiOlt7InBhdGgiOiJkYXRhLmpzb24iLCJyb290X2hhc2giOiJDdk1UWkhHNG51b19kSzlONFRLcWx0T1dsNWcwRVQycThrVDJHb3BLc2dRIn0seyJwYXRoIjoibWFuaWZlc3QuanNvbiIsInJvb3RfaGFzaCI6InRVRGtvQlZNeTVCWWVRZ0VYbmxfUnVzS3lwcGlSZ2NSU21ueHBDY0FEVFEifV0sImZvcm1hdCI6InRyZWVoYXNoIiwiaGFzaF9ibG9ja19zaXplIjo0MDk2fV0sIml0ZW1faWQiOiJwZGFmaW9sbG5nb25ob2FkYm1kb2VtYWduZnBkcGhiZSIsIml0ZW1fdmVyc2lvbiI6IjIwMjEuMi4yMi4xMTQyIiwicHJvdG9jb2xfdmVyc2lvbiI6MX0","signatures":[{"header":{"kid":"publisher"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"Prp3bqF3c6MOaTmgbgHzrdZYC94vqNj9r6BLCNtPg9lHpbz3X4T_yqFJ2LWjRktEXi4mRmFUYuWvEkICWwc-A65kfM_wxhjnhMNqtvCoNApzqgj8j5vgxvU9NIRr7CZeh4nO5lgzIQKySszsYGGJU2maGLzOGeB-GUJ3hzhHpn8QqSlksmiVnDOeOKUN0gyuEmz809AJiY_6cSzF_xHDHxr9do3RSrSdE2MpiGwv-Yw0lv7712zmdKVIShw_071wIXOQsdzg3XwQBHBwgw-OFAyFNIbWzXkFj_j56_T237A7DKiiGPpuGTb548hmXuFE3dHZ-EWqbXH7DvRII8lMNf9Eigut4AROebezvo67HfZm6tc7co-XvX1o6LgxhCY_KwYHqlmVxcQMuimJCVkgg_YXZrX7Qlvy0_u67i4U7v786MxrRYB4_EaKuaBmNziN517xCkYw78CuLnHuXH_pwQm5zj00Egm88Pe5Rqe9dm_wuGcqZ0Abqneux5gcyiadx-4WBcmcEYA0ZMe6v0LcZBrHldZZj4NW4p7cSHwHn9MdsPuhc41LsGQu-t64isfu5L-pNmQIOBA8Y9dGgUOcHieO6S82QtvWiXqYhDGUAGPYxD3fbtxjtnffQNm7rSQ11kryhOgvqGlsO_2jrxLwC3uldzdrp67Co1UjRGbb3yA"},{"header":{"kid":"webstore"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"dZ77pmqdD3HAZDdJVpeXBlGVN45oW1cBg-b1zpLdGm3V9CY8sK4jhxFRlEY7sfnu6T6RtvR1m6XK2cGi1yDN85TVog_WlaR9Rwwc6geBNyjmCU0xKbdDtOdHvzD6UDBvrNVwy1j1dZy6pxi619jhpKs0IXjJrRD38W3gP5RsFNXtQDggGKolb4i_lObys4-HJsvnrEOoAXiqIMtR8b-oaUgsFQTDrYabXklySDWGkY_g5Ty_KXjCwdYV7pyfd8WYI1eiO04nw5Fajtc13n1HHiLqN0dSE6EcdthUjwhQ1M5vKmkc5_parSvYLarbhD4q15dmbnPRaJDbulF7w8zl8g"}]}}] \ No newline at end of file diff --git a/.config/google-chrome/AutofillRegex/2021.2.22.1142/data.json b/.config/google-chrome/AutofillRegex/2021.2.22.1142/data.json deleted file mode 100644 index c953cae3..00000000 --- a/.config/google-chrome/AutofillRegex/2021.2.22.1142/data.json +++ /dev/null @@ -1,6 +0,0 @@ -[ - { - "value": "test", - "key": "kTest" - } -] diff --git a/.config/google-chrome/AutofillRegex/2021.2.22.1142/manifest.fingerprint b/.config/google-chrome/AutofillRegex/2021.2.22.1142/manifest.fingerprint deleted file mode 100644 index 847ba7ad..00000000 --- a/.config/google-chrome/AutofillRegex/2021.2.22.1142/manifest.fingerprint +++ /dev/null @@ -1 +0,0 @@ -1.baeb7c645c7704139756b02bf2741430d94ea3835fb1de77fef1057d8c844655 \ No newline at end of file diff --git a/.config/google-chrome/AutofillRegex/2021.2.22.1142/manifest.json b/.config/google-chrome/AutofillRegex/2021.2.22.1142/manifest.json deleted file mode 100644 index d14914b6..00000000 --- a/.config/google-chrome/AutofillRegex/2021.2.22.1142/manifest.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "manifest_version": 2, - "name": "chromeAutofillRegexConstants", - "version": "2021.02.22.1142", - "imageName": "image.squash", - "squash": true, - "fsType": "squashfs", - "isRemovable": false -} \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/AD b/.config/google-chrome/AutofillStates/2020.11.2.164946/AD deleted file mode 100644 index 867c1026..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/AD +++ /dev/null @@ -1,10 +0,0 @@ - -AD -canilloparròquia de canillo -encampparròquia d'encamp& - -la massanaparròquia de la massana -ordinoparròquia d'ordino< -#parròquia de sant julià de lòriasant julià de lòria1 -andorra la vellaparròquia d'andorra la vella3 -escaldesengordanyparròquia d'escaldesengordany \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/AE b/.config/google-chrome/AutofillStates/2020.11.2.164946/AE deleted file mode 100644 index 021a3785..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/AE +++ /dev/null @@ -1,10 +0,0 @@ - -AE - -عجمانajmanE - أبو ظبيإمارة أبو ظبي abu dhabiأبو ظَبي$ -إمارة دبيّdubaiدبي -الفجيرةfujairahE -إمارة رأس الخيمةرأس الخيمةras al khaimahQ -إمارة الشارقةإمارة الشارقةّsharjahالشارقة% -ام القيوينumm al quawain \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/AF b/.config/google-chrome/AutofillStates/2020.11.2.164946/AF deleted file mode 100644 index 1fc7eca7..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/AF +++ /dev/null @@ -1,44 +0,0 @@ - -AF5 -بلخبلخ ولايتولایت بلخbalkhH - بامیانولایت بامیانbamyanباميان ولايتI - بادغیسولایت بادغیسبادغيس ولايتbadghisL - بدخشان -badakhshanبدخشان ولايتولایت بدخشانC - -بغلانبغلان ولايتbaghlanولایت بغلانc -دایکندیdaykundiولایت دایکندیدايکندي ولايتدایکنډي‎; -فراهولایت فراهفراه ولايتfarahH - فاریابفارياب ولايتولایت فاریابfaryab< -غزنيghazniولایت غزنیغزني ولايت4 -غورولایت غورغور ولايتghorC - -هلمندهلمند ولايتhelmandولایت هلمند; -هراتheratهرات ولايتولایت هراتI - جوزجانjowzjanولایت جوزجانجوزجان ولايت -کابلkabulM -ولایت قندهار قندھارkandahar قندهار کندهارH -ولایت کاپیساکاپيسا ولايت کاپيساkapisa@ -كندزولایت کندوزکندوز ولايتkunduzH -خوستولایت خوست خوست‎khostخوست ولايت2 -ولایت کنر کنر‎ کونړ‎kunarC - -لغمانولایت لغمانلغمان ولايتlaghmanG - -لوگَرولایت لوگرلوګرlogarلوګر ولايتd -ننګرهار nangarharولایت ننگرهارننگرهارد ننګرهار ولايتH - نیمروزnimruzنيمروز ولايتولایت نیمروزP -نورستانولایت نورستاننورستان ولايتnuristanJ -ولایت پنجشیرپنجشېر ولايتpanjshir پنجشیرB -ولایت پروان -پروانپروان ولايتparwan7 -ولایت پکتیاpaktia -پکتیا -پکتياI -ولایت پکتیکاپکتيکا ولايتpaktika پکتیکاJ - سمنگانولایت سمنگانsamanganسمنګان ولايتD - سر پلsarسرپل ولايتولایت سرپلsare pol< -تخارtakharتخار ولايتولایت تخار= -ولایت اروزگانروزګان ولايتoruzganF -ميدان وردگwardakولایت وردکوردکوردګ; -زابلولایت زابلزابل ولايتzabul \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/AG b/.config/google-chrome/AutofillStates/2020.11.2.164946/AG deleted file mode 100644 index 8dfcda1c..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/AG +++ /dev/null @@ -1,13 +0,0 @@ - -AG# - saint georgesaint george parish - -saint johnsaint john parish - -saint marysaint mary parish - -saint paulsaint paul parish! - saint petersaint peter parish# - saint philipsaint philip parish -barbuda -redonda \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/AL b/.config/google-chrome/AutofillStates/2020.11.2.164946/AL deleted file mode 100644 index ea47a219..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/AL +++ /dev/null @@ -1,14 +0,0 @@ - -AL( -beratitqarku i beratit berat county. - durrësitqarku i durrësitdurrës county. - elbasanitelbasan countyqarku i elbasanit* -fier fier countyfiertqarku i fieritI - gjirokastrësgjirokastër county gjirokastërqarku i gjirokastrës5 -korçëkorçë countykorçësqarku i korçës! -qarku i kukësit kukës county -qarku i lezhës lezhë county -qarku i dibrës dibër countyI -qarku shkodërregjioni i shkodërshkodër countyqarku i shkodrës+ -qarku i tiranëstiranës tirana county1 -qarku i vlorësvlorës vlorë countyvlorë \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/AM b/.config/google-chrome/AutofillStates/2020.11.2.164946/AM deleted file mode 100644 index ca8a09c6..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/AM +++ /dev/null @@ -1,15 +0,0 @@ - -AMH -արագածոտնaragatsotn provinceարագածոտնի մարզ8 - արարատարարատի մարզararat province= -արմավիրարմավիրի մարզarmavir province# - երեւանyerevan -երևանQ -գեղարքունիքgegharkunik province!գեղարքունիքի մարզ8 - կոտայքկոտայքի մարզkotayk province. -Õ¬Õ¸Õ¼Õ«լոռու մարզ lori province4 - -շիրակշիրակի մարզshirak province< -սյունիքsyunik provinceսյունիքի մարզ8 - տավուշտավուշի մարզtavush provinceG -վայոց ձորvayots dzor provinceվայոց ձորի մարզ \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/AO b/.config/google-chrome/AutofillStates/2020.11.2.164946/AO deleted file mode 100644 index 5e20c5db..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/AO +++ /dev/null @@ -1,21 +0,0 @@ - -AO -bengobengo province -benguelabenguela province -bié bié province -cabindacabinda province( - cuandocubangocuando cubango province -cunenecunene province1 - cuanzanorte kwanzanortecuanza norte province+ - cuanzasulcuanza sul province kwanzasul -huambohuambo province -huílahuila province/ - lunda nortelunda norte province -lundanorte -lundasullunda sul province -luandaluanda province -malanjemalanje province -moxicomoxico province& - moçâmedesnamibe provincenamibe -uígeuíge province -zairezaire province \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/AR b/.config/google-chrome/AutofillStates/2020.11.2.164946/AR deleted file mode 100644 index f9dffbfe..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/AR +++ /dev/null @@ -1,30 +0,0 @@ - -AR+ -provincia de saltasaltasalta province@ - buenos airesbuenos aires provinceprovincia de buenos aires€ - buenos airescabacapital federalciudad autonoma de buenos airesciudad de buenos aires ciudad autónoma de buenos aires4 -provincia de san luissan luis provincesan luis3 - entre ríosprovincia de entre ríos -entre rios4 -la riojala rioja provinceprovincia de la riojaU - provincia de santiago del esterosantiago del estero provincesantiago del estero, -chacoprovincia del chacochaco province4 -provincia de san juansan juan provincesan juan# - catamarcaprovincia de catamarca! -la pampaprovincia de la pampa1 -mendozamendoza provinceprovincia de mendoza4 -misionesmisiones provinceprovincia de misiones1 -formosaprovincia de formosaformosa province+ -neuquénprovincia del neuquénneuquen% -provincia de río negro -río negro4 -provincia de santa fesanta fe provincesanta fe! -provincia de tucumántucumán/ -chubutchubut provinceprovincia del chubutL -provincia de tierra del fuegotierra del fuego provincetierra del fuego% - -corrientesprovincia de corrientes* -córdobacordobaprovincia de córdoba -jujuyprovincia de jujuy: -provincia de santa cruzsanta cruz province -santa cruz \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/AS b/.config/google-chrome/AutofillStates/2020.11.2.164946/AS deleted file mode 100644 index c7a6a094..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/AS +++ /dev/null @@ -1,5 +0,0 @@ - -AS -manu'a -easterneastern district -westernwestern district \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/AT b/.config/google-chrome/AutofillStates/2020.11.2.164946/AT deleted file mode 100644 index c9956e93..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/AT +++ /dev/null @@ -1,14 +0,0 @@ - -AT - -burgenland -kärnten carinthia" -niederösterreich lower austria- - oberösterroberösterreich upper austria - land salzburgsalzburg - -steiermarkstyria -tiroltyrol - -vorarlberg -wienvienna \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/AU b/.config/google-chrome/AutofillStates/2020.11.2.164946/AU deleted file mode 100644 index efa3658d..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/AU +++ /dev/null @@ -1,12 +0,0 @@ - -AU -jervis bay territoryjbt# -australian capital territoryact -new south walesnsw -northern territorynt - -queenslandqld -south australiasa -tasmaniatas -victoriavic -western australiawa \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/AX b/.config/google-chrome/AutofillStates/2020.11.2.164946/AX deleted file mode 100644 index 3c488f60..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/AX +++ /dev/null @@ -1,5 +0,0 @@ - -AX& -mariehamns stadmariehamn subregion -Ã¥lands skärgÃ¥rd -Ã¥lands landsbygd \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/AZ b/.config/google-chrome/AutofillStates/2020.11.2.164946/AZ deleted file mode 100644 index 578b2139..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/AZ +++ /dev/null @@ -1,4 +0,0 @@ - -AZM - -naxçıvannaxçıvan muxtar respublikasınakhchivan autonomous republic \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BA b/.config/google-chrome/AutofillStates/2020.11.2.164946/BA deleted file mode 100644 index 6dc46609..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BA +++ /dev/null @@ -1,5 +0,0 @@ - -BA[ -federacija bosne i hercegovine9федерација босне и херцеговине? -brčko distriktбрчко дистриктbrčko districtS -republika srpskaрепублика српскaрепублика српска \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BB b/.config/google-chrome/AutofillStates/2020.11.2.164946/BB deleted file mode 100644 index eeb13d81..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BB +++ /dev/null @@ -1,15 +0,0 @@ - -BB% - christ churchchrist church parish# - saint andrewsaint andrew parish# - saint georgesaint george parish! - saint jamessaint james parish - -saint johnsaint john parish# - saint josephsaint joseph parish - -saint lucy% - saint michaelsaint michael parish! - saint petersaint peter parish# - saint philipsaint philip parish# - saint thomassaint thomas parish \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BD b/.config/google-chrome/AutofillStates/2020.11.2.164946/BD deleted file mode 100644 index 6510624b..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BD +++ /dev/null @@ -1,10 +0,0 @@ - -BD6 -"বরিশাল বিভাগbarisal division_ -+চট্টগ্রাম বিভাগchittagong divisionচট্রগ্রাম. -ঢাকা বিভাগdhaka division2 -খুলনা বিভাগkhulna divisionQ -রাজশাহীrajshahi division%রাজশাহী বিভাগD -রংপুররংপুর বিভাগrangpur division2 -সিলেট বিভাগsylhet divisionB -+ময়মনসিংহ বিভাগmymensingh division \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BE b/.config/google-chrome/AutofillStates/2020.11.2.164946/BE deleted file mode 100644 index fb3cd859..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BE +++ /dev/null @@ -1,6 +0,0 @@ - -BE\ - bruxellesbrusselsbrusselbrussels hoofdstedelijk gewestrégion de bruxellescapitale% - vlaams gewest -vlaanderenflanders& -région wallonnewalloniewallonia \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BF b/.config/google-chrome/AutofillStates/2020.11.2.164946/BF deleted file mode 100644 index bca26ca5..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BF +++ /dev/null @@ -1,18 +0,0 @@ - -BF- -boucle du mouhounboucle du mouhoun region -cascadescascades region -centre centre region) - -centre estcentreest region centreest, - centre nord -centrenordcentrenord region9 - centreouestcentreouest regionrégion du centreouest - centresudcentresud region -est -est region# - hautsbassinshautsbassins region -nord nord region8 -plateau centralplateaucentralplateaucentral region -sahel sahel region -sudouestsudouest region \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BG b/.config/google-chrome/AutofillStates/2020.11.2.164946/BG deleted file mode 100644 index 17cafa80..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BG +++ /dev/null @@ -1,37 +0,0 @@ - -BGS -благоевград#област благоевградblagoevgrad province1 - бургасобласт бургасburgas, - -варнаvarnaобласт варна` -велико търново(област велико търновоveliko tarnovo province, - -видинvidinобласт видин, - -врацаобласт врацаvraca6 -габровообласт габровоgabrovo; - добричdobrich provinceобласт добричE -кърджалиkardzhali provinceобласт кърджалиJ -кюстендилобласт кюстендилkyustendil province, - -ловечобласт ловечlovec? -монтанаобласт монтанаmontana provinceA -област пазарджик -pazardzhikпазарджик1 -област перник перникpernik: -област плевенpleven province плевен? -област пловдивпловдивplovdiv province6 -област разградrazgradразград' -област русеruseрусе; -област силистрасилистраsilistra - сливенsliven province2 -област смолянsmoljan смолянB -област софияsofia city provinceсофияградH -софийска областsofia provinceсофия областM -$област стара загорастара загора stara zagoraK -област търговищетърговищеtargovishte province? -област хасковохасковоhaskovo province% -област шумен -шумен- -област ямбол -ямболjambol \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BH b/.config/google-chrome/AutofillStates/2020.11.2.164946/BH deleted file mode 100644 index c20a07b7..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BH +++ /dev/null @@ -1,7 +0,0 @@ - -BH2 -محافظة العاصمةcapital governorateG -!المحافظة الجنوبيةsouthern governorate جنوبية1 -محافظة المحرقmuharraq governorateO -المحافظة الوسطىcentral governorateمحافظة الوسطىK -الشمالية!المحافظة الشماليةnorthern governorate \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BI b/.config/google-chrome/AutofillStates/2020.11.2.164946/BI deleted file mode 100644 index 48ebf48b..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BI +++ /dev/null @@ -1,19 +0,0 @@ - -BI -bubanzaprovince de bubanza. -bujumbura ruralprovince de bujumbura ruralO -bujumbura mairieiprovense ya bujumbura mairieprovince de bujumbura mairie -bururiprovince de bururi -cankuzoprovince de cankuzo -cibitokeprovince de cibitoke -gitegaprovince de gitega -kirundoprovince de kirundo -karuziprovince de karuzi -kayanzaprovince de kayanza -makambaprovince de makamba -muramvyaprovince de muramvya -mwaroprovince de mwaro -muyingaprovince de muyinga -ngoziprovince de ngozi -province de rutanarutana -province de ruyigiruyigi \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BJ b/.config/google-chrome/AutofillStates/2020.11.2.164946/BJ deleted file mode 100644 index 238ed0ea..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BJ +++ /dev/null @@ -1,15 +0,0 @@ - -BJ& -atacoraatakora departmentatakora -aliborialibori department# - -atlantiqueatlantique department -borgouborgou department: -collinesdépartement des collinescollines department -dongadonga department# -couffokouffokouffo department9 -département du littorallittorallittoral department -monomono department -ouéméouémé department6 -département du plateauplateauplateau department -zouzou department \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BM b/.config/google-chrome/AutofillStates/2020.11.2.164946/BM deleted file mode 100644 index 56f5ec97..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BM +++ /dev/null @@ -1,13 +0,0 @@ - -BM -pembrokepembroke parish0 -saint george'sst george's parish -stgeorge's -hamiltonhamilton parish -warwickwarwick parish' -smith's parishsmiths smiths parish! - southamptonsouthampton parish - -devonshiredevonshire parish -sandys sandys parish -paget paget parish \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BN b/.config/google-chrome/AutofillStates/2020.11.2.164946/BN deleted file mode 100644 index 08dec1d9..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BN +++ /dev/null @@ -1,6 +0,0 @@ - -BN( -belait daerah belaitbelait districtL - bruneimuaradaerah bruneimuarabruneimuara districtdaerah brunei muara1 -daerah temburongtemburong district temburong( - daerah tutongtutongtutong district \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BO b/.config/google-chrome/AutofillStates/2020.11.2.164946/BO deleted file mode 100644 index 3f80f5ba..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BO +++ /dev/null @@ -1,14 +0,0 @@ - -BO. -benidepartamento del benibeni department? - -cochabambacochabamba departmentdepartamento de cochabambae - -chuquisacachuquisaca departmentdepartamento de chuquisaca$departamento autónomo de chuquisacaU - departamento autónomo de la pazla paz departmentdepartamento de la pazla pazh -departamento autónomo de pandodepartamento de pandopando departmentgobernación de pandopandog -departamento autónomo de oruroorurogobernacón de orurooruro departmentdepartamento de oruroq -!departamento autónomo de potosídepartamento de potosípotosípotosi departmentgobernación de potosíe -$departamento autónomo de santa cruzsanta cruz department -santa cruzdepartamento de santa cruzU -departamento de tarijatarijatarija department departemento autónomo de tarija \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BQ b/.config/google-chrome/AutofillStates/2020.11.2.164946/BQ deleted file mode 100644 index dbf22187..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BQ +++ /dev/null @@ -1,5 +0,0 @@ - -BQ -bonaireboneiru -saba -sint eustatius \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BR b/.config/google-chrome/AutofillStates/2020.11.2.164946/BR deleted file mode 100644 index 1e19e033..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BR +++ /dev/null @@ -1,31 +0,0 @@ - -BR -acreac state of acre -alagoasalstate of alagoas! -amazonasamstate of amazonas -amapáapstate of amapá" -bahiabastate of bahiabaía -cearácestate of ceará( -distrito federaldffederal district? -espirito santoesespírito santostate of espírito santo -goiásgostate of goiás# - maranhãomastate of maranhão0 -minasmgstate of minas gerais minas gerais5 -mato grosso do sulmsstate of mato grosso do sul' - mato grossomtstate of mato grosso -parápastate of pará! -paraíbapbstate of paraíba% - -pernambucopestate of pernambuco -piauípistate of piauí -paranáprstate of paranáA -baixada fluminenserjstate of rio de janeirorio de janeiro7 -rio grande do norternstate of rio grande do norte# - rondôniarostate of rondônia -roraimarrstate of roraima3 -rio grande do sulrsstate of rio grande do sul- -santa catarinascstate of santa catarina -sergipesestate of sergipe% - -são paulospstate of são paulo# - tocantinstostate of tocantins \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BS b/.config/google-chrome/AutofillStates/2020.11.2.164946/BS deleted file mode 100644 index ef89f4a1..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BS +++ /dev/null @@ -1,35 +0,0 @@ - -BS -new providence -acklins -biminibimini and cat cay - black point - berry islands -central eleuthera - -cat island -crooked island and long cay - central abaco -central andros -east grand bahama -exuma -city of freeportfreeport - grand cay -harbour island - hope town -inagua - long island - mangrove cay - mayaguana -abacomoore's island -north eleuthera - north abaco - north andros -rum cay - ragged island - south andros -south eleuthera - south abaco - san salvador - spanish wells -west grand bahama \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BT b/.config/google-chrome/AutofillStates/2020.11.2.164946/BT deleted file mode 100644 index 084ebb2a..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BT +++ /dev/null @@ -1,24 +0,0 @@ - -BT> -paro paro district'སྤ་རོ་རྫོང་ཁགH -chhukhachukha$ཆུ་ཁ་རྫོང་ཁགchukha district -hahaaP -samchisamtse districtsamtse-བསམ་རྩེ་རྫོང་ཁགf -thimphuཐིམ་ཕུག*ཐིམ་ཕུ་རྫོང་ཁགthimphu districtthimpu$ -chirangtsirang districttsirang -dagadagana districtdaganaJ -punakhapunakha district-སྤུ་ན་ཁ་རྫོང་ཁགt -wangdue phodrangEདབང་འདུས་ཕོ་བྲང་རྫོང་ཁགwangdue phodrang districtJ -sarpangsarpang district-གསར་སྤང་རྫོང་ཁག# -tongsatrongsatrongsa districtI -bumthangbumthang district*བུམ་ཐང་རྫོང་ཁགR -zhemgang3གཞམས་སྒང་རྫོང་ཁག་zhemgang districta - tashigang3བཀྲིས་སྒང་རྫོང་ཁགtrashigang district -trashigang -mongarmongar districtu - -pemagatsel6པདྨ་དགའ་ཚལ་རྫོང་ཁགpemagatshel district premagalshel pemagatshel% -lhuntselhuntshilhuntse district} -samdrup jongkharsamdrup jongkhar districtNབསམ་གྲུབ་ལྗོངས་མཁར་རྫོང་ཁག -gasa gasa district' - tashi yangtseyangtse trashiyangtse \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BW b/.config/google-chrome/AutofillStates/2020.11.2.164946/BW deleted file mode 100644 index ba0645b0..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BW +++ /dev/null @@ -1,12 +0,0 @@ - -BW> -centralcentral districtngwati districtkgaolo ya legare+ -ghanzikgaolo ya ghanzighanzi districtD - kgalagadikgalagadi district#kgalagadi le dikgaolo tse di mabapi -kgatlengkgatleng district -kwenengkweneng district - northeastnortheast district - -north westnorthwest district - southeastsoutheast district8 -southernsouthern districtmotsana wa molapowabojang \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BY b/.config/google-chrome/AutofillStates/2020.11.2.164946/BY deleted file mode 100644 index 286795f8..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BY +++ /dev/null @@ -1,8 +0,0 @@ - -BYT -!брэсцкая вобласць brest region!брестская областьZ -%гомельская вобласць#гомельская область gomel regionŠ -)гарадзенская вобласць'гродзенская вобласць%гродненская область hrodna region` -'магілёўская вобласцьmogilev region%могилёвская областьN -мінская вобласцьминская область minsk regionX -#віцебская вобласць!витебская областьvitebsk region \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/BZ b/.config/google-chrome/AutofillStates/2020.11.2.164946/BZ deleted file mode 100644 index 3c5467e8..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/BZ +++ /dev/null @@ -1,8 +0,0 @@ - -BZ -belizebelize district -cayo cayo district -corozalcorozal district# - orange walkorange walk district# - stann creekstann creek district -toledotoledo district \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/CA b/.config/google-chrome/AutofillStates/2020.11.2.164946/CA deleted file mode 100644 index fd8d434d..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/CA +++ /dev/null @@ -1,15 +0,0 @@ - -CA -albertaab -british columbiabc -manitobambman% - new brunswicknbnouveaubrunswick7 -labradornl newfoundlandnewfoundland and labrador - nova scotians -northwest territoriesnt -nunavutnu -ontonontario -peipeprince edward island -québecqcquebec - saskatchewansk -yukonytyukon territory \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/CD b/.config/google-chrome/AutofillStates/2020.11.2.164946/CD deleted file mode 100644 index 93449a6b..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/CD +++ /dev/null @@ -1,14 +0,0 @@ - -CD -bascongo kongo central - -bandundu- -province de l'équateurequator équateur -katanga1 -kasaï orientalkasaïorientalkasai oriental -kinshasalipopo7 -kasaï occidentalkasaïoccidentalkasai occidental -maniema -nordkivu northkivu -province orientale orientale -sudkivu southkivu \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/CF b/.config/google-chrome/AutofillStates/2020.11.2.164946/CF deleted file mode 100644 index 36310820..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/CF +++ /dev/null @@ -1,22 +0,0 @@ - -CF -ouham -baminguibangoran< -archidiocèse de banguibanguikötä gbätä tî bangî - -bassekotto - -hautekotto - -hautmbomou1 - mamberekadeimambérékadéimambérékadéï - nanagrebizi nanagrébizi -kemokémo -lobaye -mbomou? - ombellam'poko.sêse tî kömändâkötä tî ömbëläpökö< - nanamambéré+sêse tî kömändâkötä tî nanämambere - ouhampendé - sanghambaresanghambaéré -ouaka -vakaga \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/CG b/.config/google-chrome/AutofillStates/2020.11.2.164946/CG deleted file mode 100644 index 89f5ebac..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/CG +++ /dev/null @@ -1,16 +0,0 @@ - -CG -bouenza -pool -sangha - -plateaux - cuvetteouest& - pointenoire pwantenwa pointe noire - lékoumoulekoumou -kouiloukuilu - -likouala -cuvette -niari - brazzaville \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/CH b/.config/google-chrome/AutofillStates/2020.11.2.164946/CH deleted file mode 100644 index bec38555..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/CH +++ /dev/null @@ -1,33 +0,0 @@ - -CH -aargauag kanton aargau9 -appenzell innerrhodenaikanton appenzell innerrhoden; -appenzell ausserrhodenarkanton appenzell ausserrhoden' -bernbecanton of bern kanton bern= -basel (kanton)blkanton basellandschaftbasellandschaft> - basel (stadt)bskanton baselstadt -basel city -baselstadta -freiburgfrfriburgcanton de fribourgfriburgokanton freiburgcanton friburgofribourg -genèvegegeneva -glarusgl kanton glarus. - graubündengrgrisonskanton graubünden -canton du jurajujura$ - kanton luzernluluzernlucerne& -canton de neuchâtelne -neuchâtel! - nidwaldennwkanton nidwalden -kanton obwaldenowobwalden2 -kanton sankt gallensg st gallen sankt gallen' -kanton schaffhausensh schaffhausen! -kanton solothurnso solothurn - kanton schwyzszschwyz -kanton thurgautgthurgau - canton ticinotiticino - -kanton uriururi -canton de vaudvdvaudW - kanton wallisvsvallaisvallesevalaiscanton du valaiscanton vallesewallis$ -zugzg canton of zug -kanton zug% -zürichzhzurichkanton zürich \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/CI b/.config/google-chrome/AutofillStates/2020.11.2.164946/CI deleted file mode 100644 index 71816c5e..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/CI +++ /dev/null @@ -1,17 +0,0 @@ - -CI: -district autonome d'abidjanabidjan autonomous districtX - bassassandrarégion du bassassandradistrict du bassassandrabassassandra district -comoécomoé district! - -denguélédenguélé district# - gôhdjibouagôhdjiboua district: -district des lacsrégion des lacslacs lacs districtF -district des laguneslagunes districtlagunesrégion des lagunesX - 18 montagnesdistrict des montagnesmontagnes districtdixhuit montagnes montagnes1 -sassandramarahouésassandramarahoué district0 -région des savanessavanessavanes district1 -vallée du bandamavallée du bandama district -worobaworoba district% - yamoussoukroyamoussoukro district -zanzanzanzan district \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/CL b/.config/google-chrome/AutofillStates/2020.11.2.164946/CL deleted file mode 100644 index 1bc06e60..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/CL +++ /dev/null @@ -1,29 +0,0 @@ - -CLö - -11 región7región de aysén del general carlos ibáñez del campo4región aisén del general carlos ibáñez del campoaysén -xi región7xi región aisén del general carlos ibáñez del campo,aisén del general carlos ibáñez del campoW - 2 regiónii región de antofagasta -ii regiónregión de antofagasta antofagastal - 15 region xv región de arica y parinacotaarica y parinacota -xv regiónregión de arica y parinacotat - 9 regiónregión de la araucanía la araucanía araucaniaix región de la araucanía -ix región -araucaníaM - 3 regiónatacama iii regióniii región de atacamaregión de atacama” - 8 regiónviii región del bío bíoregión del biobíobio biobiobío viii regiónregión del bío bíoregión del bíobío bío bíoN - 4 región -iv regióncoquimboiv región de coquimboregión de coquimboÐ - 6 región o'higgins3región del libertador general bernardo o’higgins'libertador general bernardo o’higginsregión de o’higgins -vi región6vi región del libertador general bernardo o’higginsP - -10 regiónx región de los lagos los lagosregión de los lagos x regiónT - -14 regiónregión de los ríosxiv región de los ríos los ríos xiv regiónô - -12 región-región de magallanes y la antártica chilena xii región"magallanes y la antártica chilena0región de magallanes y de la antártica chilena!magallanes and chilean antarctica1xii región de magallanes y la antártica chilenaI - 7 regiónmaulevii región del mauleregión del maule vii región0 -provincia de ñubleñubleregión de ñuble‚ -rm$rm región metropolitana de santiago!región metropolitana de santiagoregión metropolitanasantiago metropolitan regionO - 1 región i regiónregión de tarapacái región de tarapacá tarapacáU - 5 región v región valparaísoregión de valparaísov región de valparaíso \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/CM b/.config/google-chrome/AutofillStates/2020.11.2.164946/CM deleted file mode 100644 index a7ffa62a..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/CM +++ /dev/null @@ -1,12 +0,0 @@ - -CM: -adamawarégion de l'adamaouaadamawa regionadamaouaG -centralprovince du centrecentrerégion du centre centre regionf - extreme north extreme nordrégion du nordfar north regionrégion de l'extrêmenord far north= -eastrégion de l'est east regionestprovince de l'estJ -littoraldépartement du littorallittoral regionrégion du littoral> -northrégion du nord north regionnordprovince du nord> - northwestrégion du nordouest nordouestnorthwest regionC -westprovince de l'ouest west regionouestrégion de l'ouest; -southrégion du sudprovince du sud south regionsud< - southwestsouthwest regionrégion du sudouestsudouest \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/CN b/.config/google-chrome/AutofillStates/2020.11.2.164946/CN deleted file mode 100644 index 191a6858..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/CN +++ /dev/null @@ -1,33 +0,0 @@ - -CN -海南 海南省hainan -北京beijing 北京市 -天津 天津市tianjin -冀河北hebei 河北省 -山西shanxi 山西省/ - 内蒙古内蒙古自治区inner mongolia -辽宁 辽宁省liaoning -吉林 吉林省jilin' - 黑龙江 黑龙江省 heilongjiang -上海shanghai 上海市! -江苏 江苏省jiangsu苏 -浙江 浙江省zhejiang -安徽 安徽省anhui - 福建省fujian闽! -江西jiangxi 江西省èµ£" -山东shandong鲁 山东省 -河南 河南省henan豫 -湖北鄂 湖北省hubei -湖南湘 湖南省hunan' -广东 广东省guangdong province3 -广西 广西省广西壮族自治区guangxi -重庆 chongqing 重庆市& -四川 四川省蜀川sichuan& -è´µ 贵州省贵州guizhou黔 -云南 云南省滇yunnan% -藏西藏自治区tibet西藏 - 陕西省shaanxi$ -甘 甘肃省gansu陇甘肃 -青海 青海省qinghai- -宁宁夏回族自治区ningxia宁夏1 -新新疆xinjiang新疆维吾尔自治区 \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/CO b/.config/google-chrome/AutofillStates/2020.11.2.164946/CO deleted file mode 100644 index 07c4041f..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/CO +++ /dev/null @@ -1,42 +0,0 @@ - -CO - -amazonas - antioquia -arauca - -atlántico atlantico -bolívarbolivar -boyacáboyaca -caldas -caquetácaqueta - -casanare -cauca -cesar -chocóchoco -córdobacordoba - cundinamarca/ -bogotábogota -bogotá dcdistrito capital -guainíaguainia - -guaviare -huila - -la guajira - magdalena -meta -nariñonarino% -norte de santandernorth santander - -putumayo -quindíoquindio - risaralda - santanderU -archipiélago de san andréssan andres and providenciasan andrés y providencia -sucre -tolima -valle del cauca -vaupésvaupes -vichada \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/CR b/.config/google-chrome/AutofillStates/2020.11.2.164946/CR deleted file mode 100644 index 8388446d..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/CR +++ /dev/null @@ -1,11 +0,0 @@ - -CR4 -alajuelaalajuela provinceprovincia de alajuela1 -cartagocartago provinceprovincia de cartago: - -guanacasteprovincia de guanacasteguanacaste province1 -herediaprovincia de herediaheredia province5 -limonlimónlimón provinceprovincia de limón: -provincia de puntarenas -puntarenaspuntarenas province7 -provincia de san josé san josésan josé province \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/CU b/.config/google-chrome/AutofillStates/2020.11.2.164946/CU deleted file mode 100644 index 2b90ff22..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/CU +++ /dev/null @@ -1,20 +0,0 @@ - -CU< -pinar del ríoprovincia de pinar del río pinar del rio7 - ciudad habana la habanahavanaprovincia la habana! -matanzasprovincia de matanzas' -provincia de villa clara villa clara; - -cienfuegosprovincia cienfuegosprovincia de cienfuegosB -provincia de sancti spíritussancti spiritussancti spíritus? -ciego de ávilaciego de avilaprovincia de ciego de ávila- - camagüeyprovincia de camagüeycamaguey# - las tunasprovincia de las tunas* -holguínholguinprovincia de holguín -granmaprovincia de granma1 -provincia de santiago de cubasantiago de cuba3 - guantánamoprovincia de guantánamo -guantanamo4 -artemisaprovincia de artemisaartemisa province# - mayabequeprovincia de mayabeque -isla de la juventud \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/CV b/.config/google-chrome/AutofillStates/2020.11.2.164946/CV deleted file mode 100644 index ad94540d..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/CV +++ /dev/null @@ -1,28 +0,0 @@ - -CV -brava - boa vista -santa catarina -santa catarina do fogo - -santa cruz -maio - mosteiros -paulpaúl - -porto novo -praia - ribeira brava -ribeira grande -ribeira grande de santiago - são domingos - são filipe -sao filipe -sal - são miguel -são lourenço dos órgãos -são salvador do mundo - são vicente - -tarrafal3 -tarrafal de são nicolautarrafal de sao nicolau \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/CW b/.config/google-chrome/AutofillStates/2020.11.2.164946/CW deleted file mode 100644 index 1781376a..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/CW +++ /dev/null @@ -1,4 +0,0 @@ - -CW - -curaçao \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/CY b/.config/google-chrome/AutofillStates/2020.11.2.164946/CY deleted file mode 100644 index 799e4097..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/CY +++ /dev/null @@ -1,9 +0,0 @@ - -CYZ -!επαρχία λευκωσίαςλευκωσίαlefkoşa kazasınicosialefkoşa# -λεμεσόςlimasollimassolT -επαρχία λάρνακαςlarnaka kazasılarnacaλάρνακαlarnaka. -αμμόχωστος gazimağusa famagustaJ -επαρχία πάφουpaphos baf kazasıbafgazibaf -πάφος -κερύνειαgirne \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/CZ b/.config/google-chrome/AutofillStates/2020.11.2.164946/CZ deleted file mode 100644 index d2742424..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/CZ +++ /dev/null @@ -1,16 +0,0 @@ - -CZ) -jihočeský krajsouth bohemian region+ -jihomoravský krajsouth moravian region( -karlovarský krajkarlovy vary region2 -královéhradecký krajhradec králové region! -liberecký krajliberec region0 -moravskoslezský krajmoraviansilesian region! -olomoucký krajolomouc region$ -pardubický krajpardubice region -plzeňský kraj plzeň region -hlavní město prahaprague. -středočeský krajcentral bohemian region) -ústecký krajústí nad labem region" -kraj vysočinavysočina region -zlínský kraj zlín region \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/DE b/.config/google-chrome/AutofillStates/2020.11.2.164946/DE deleted file mode 100644 index f62c7246..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/DE +++ /dev/null @@ -1,19 +0,0 @@ - -DE - brandenburgbb -berlin -badenwürttembergbw -bayernbybavaria% -bremenhbfreie hansestadt bremen -hessenhe -hamburghh -mecklenburgvorpommernmv" - niedersachsennds lower saxony0 -nordrheinwestfalennrwnorth rhinewestphalia) -rheinlandpfalzrprhinelandpalatinate -schleswigholsteinsh -saarlandsl -sachsensnsaxony! - sachsenanhaltsa saxonyanhalt - -thüringenth thuringia \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/DJ b/.config/google-chrome/AutofillStates/2020.11.2.164946/DJ deleted file mode 100644 index c669c0b1..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/DJ +++ /dev/null @@ -1,11 +0,0 @@ - -DJ5 -أرتاإقليم عرتاrégion d'artaarta3 -علي صبيحrégion d'ali sabieh -ali sabieh' - -دِخيلrégion de dikhildikhil - جيبوتيdjibouti$ - -أوبوكobockrégion d'obock1 -تادجورا tadjourahrégion de tadjourah \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/DK b/.config/google-chrome/AutofillStates/2020.11.2.164946/DK deleted file mode 100644 index 3a071bae..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/DK +++ /dev/null @@ -1,10 +0,0 @@ - -DK - christiansø -ertholmene7 - nordjyllandnorth denmark regionregion nordjylland9 - midtjyllandcentral denmark regionregion midtjylland; -region syddanmarkregion of southern denmark -syddanmark< - hovedstadenregion hovedstadencapital region of denmark- -region sjællandregion zealand sjælland \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/DM b/.config/google-chrome/AutofillStates/2020.11.2.164946/DM deleted file mode 100644 index d7b3954a..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/DM +++ /dev/null @@ -1,16 +0,0 @@ - -DM# - saint andrewsaint andrew parish! - saint davidsaint david parish# - saint georgesaint george parish - -saint johnsaint john parish# - saint josephsaint joseph parish - -saint lukesaint luke parish - -saint marksaint mark parish% - saint patricksaint patrick parish - -saint paulsaint paul parish! - saint petersaint peter parish \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/DO b/.config/google-chrome/AutofillStates/2020.11.2.164946/DO deleted file mode 100644 index f0755206..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/DO +++ /dev/null @@ -1,36 +0,0 @@ - -DO -distrito nacional -azua azua province, -bahorucobaoruco provinceneibabaoruco -barahonabarahona province -dajabóndajabón province+ -duarteduarte provinciaduarte provinceA - elias piña la estrelletaelías piña province elías piña -el seiboel seibo province - espaillatespaillat province' - independenciaindependencia province' - la altagraciala altagracia province - la romanala romana province -la vegala vega province= -maría trinidad sánchez!maría trinidad sánchez province2 - monte cristimonte cristi province montecristi! - -pedernalespedernales province -peraviaperavia province% - puerto platapuerto plata province6 -hermanas mirabalsalcedohermanas mirabal province -samanásamaná province) -san cristóbalsan cristóbal province -san juansan juan provinceM -san pedro de macorissan pedro de macorís provincesan pedro de macorís/ -sánchez ramírezsánchez ramírez province -santiagosantiago province3 -santiago rodríguezsantiago rodríguez province -valverdevalverde province+ -monseñor nouelmonseñor nouel province# - monte platamonte plata province! - -hato mayorhato mayor province/ -san josé de ocoasan josé de ocoa province' - santo domingosanto domingo province \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/DZ b/.config/google-chrome/AutofillStates/2020.11.2.164946/DZ deleted file mode 100644 index 0f104eb2..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/DZ +++ /dev/null @@ -1,69 +0,0 @@ - -DZC - -أدرارwilaya d'adraradrar provinceولاية أدرار\ -شلفwilaya de chlefولاية الشلفchlefchlef provinceولاية الشلR -الأغواطlaghouat provinceولاية الأغواطwilaya de laghouaty -أم البواقي‎ oum elbouaghiwilaya d'oum el bouaghioum el bouaghi provinceولاية أم البواقي8 -ولاية باتنةwilaya de batnabatna province\ - -بجايةwilaya de béjaïaولاية بجايةvgayetbéjaïa provincebéjaïaW - بسكرة‎biskra provinceولاية بسكرة بِسكرةwilaya de biskraM -بشارولاية بشارbécharbéchar provincewilaya de bécharS -البليدةblida provinceblidawilaya de blidaولاية البليدةv -البويرةbouirabouïra provincetuvirettwilaya de bouira -بويرةbouïraولاية البويرةp -تمنراستwilaya de tamanghassetولاية تمنراستwilaya de tamanrassettamanrasset province^ -تبسةولاية تبسةwilaya de tébessatébessatébessa province تيبيساg - تلمسانtlemcen provincewilaya de tlemcentlemcenولاية تلمسانتلِمسِانF - -تيارتولاية تيارتtiaret provincewilaya de tiaret‚ -تيزي أوزوwilaya de tizi ouzoutizi ouzou province tiziouzouتيزي وزوولاية تيزي وزو -tizi ouzou -الجزائرalgiers province -دزايرwilaya d'algeralgerولاية الجزائرالجزائر العاصمةJ - الجلفةwilaya de djelfaولاية الجلفةdjelfa province@ -جيجلjijel provinceولاية جيجلwilaya de jijelJ -سطيفwilaya de sétifولاية سطيفsétifsétif provinceL -صيداwilaya de saïdasaïdaولاية سعيدةsaïda province[ - سكيكدةسكيكدة‎skikda provincewilaya de skikdaولاية سكيكدة§ -سيدي بلعباس ولاية سيدي بلعباسsidi bel abbesسيدي بلعباس‎wilaya de sidi bel abbès sidibelabbèssidi bel abbès provinceA -ولاية عنابةannabaannaba provincewilaya d'annabaN - -قالمةwilaya de guelmaguelma provinceولاية قالمةguelma€ -القسطنطينيةconstantine province constantineولاية قسنطينةwilaya de constantineقسنطينة‎d -المدية‎ -ميدياmédéamédéa provinceولاية المديةwilaya de médéay -مستغانم‎mostaganem provincewilaya de mostaganemمُستَغنِمولاية مستغانم -mostaganeme -المسيلة‎m'sila province -مسيلةwilaya de m'silam'silaولاية المسيلة` - -معسكرولاية معسكر معسكر‎wilaya de mascaramascaramascara province\ - -ورجلةولاية ورقلةwilaya d'ouarglaouargla -ورقلةouargla province^ -ولاية وهرانwahren wilaya d'oran وهران‎ oran provinceoran -وهرانd - -البيضelbayadhولاية البيض البيض‎wilaya d'el bayadhel bayadh provinceT - -اليزي اليزي‎ولاية إليزيillizi provincewilaya d'illizi¼ -برج بوعريريجbordj bou arréridj provinceبرج بوعريريج‎"ولاية برج بوعريريجbordjbouarreridjbordj bou arréridjwilaya de bordj bou arreridjy -بومرداس‎بومِردِاسwilaya de boumerdès -boumerdèsboumerdès provinceولاية بومرداسf - الطارفالطارف‎wilaya d'el tarfولاية الطارفel taref provinceeltarefq - -تندوفولاية تندوف‎wilaya de tindouftindouf province تندوف‎ولاية تندوفm -تسمسيلت‎تيسمسيلتwilaya de tissemsilttissemsilt provinceولاية تيسمسيلتd - العويضelouedولاية الواديel oued provinceالوادي‎wilaya d'el ouede -ولاية خنشلةwilaya de khenchelaولاية خنشلة‎khenchela province khenchela -سوق أهراس‎wilaya de souk ahrasسوق الأحراس soukahrasولاية سوق أهراسsouk ahras province^ - -تبازةtipaza province تيبازةwilaya de tipazaولاية تيبازةtipazaK -ميلةwilaya de mila mila province ميلة‎ولاية ميلة… -عين الدفلى‎ولاية عين الدفلىaïn defla provincewilaya de aïn defla aïndeflaعين الدِفلةt -النعامةwilaya de naâmaولاية النعامةولاية النعامة‎naâma provincenaâma€ -عين تموشنت‎aïn témouchentwilaya d'aïn témouchentaïn témouchent provinceولاية عين تموشنتL -ولاية غردايةwilaya de ghardaïa ghardaïaghardaia provincea -رِليزانrelizane provinceولاية غليزانwilaya de relizaneغليزان‎ \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/EC b/.config/google-chrome/AutofillStates/2020.11.2.164946/EC deleted file mode 100644 index df84a71b..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/EC +++ /dev/null @@ -1,31 +0,0 @@ - -EC -azuayprovincia de azuay* -bolívarprovincia de bolívarbolivar -carchiprovincia de carchi! -orellanaprovincia de orellana9 -cantón esmeraldasprovincia de esmeraldas -esmeraldas -cañarprovincia de cañar -guayasprovincia del guayas% - -chimborazoprovincia de chimborazo! -imbaburaprovincia de imbabura -lojaprovincia de loja -manabíprovincia de manabí -napoprovincia de napo -el oroprovincia de el oro# - pichinchaprovincia de pichincha- - los ríoslos riosprovincia de los ríos? -morona santiagoprovincia de morona santiagomoronasantiagoo -,provincia de santo domingo de los tsáchilassanto domingo de los tsachilassanto domingo de los tsáchilas' -provincia de santa elena santa elena% -provincia de tungurahua -tungurahua0 -provincia de sucumbíos -sucumbíos sucumbiosK - -galápagosprovincia de galápagosislas galápagosgalápagos islands! -cotopaxiprovincia de cotopaxi -pastazaprovincia de pastazaB -provincia de zamora chinchipezamorachinchipezamora chinchipe \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/EE b/.config/google-chrome/AutofillStates/2020.11.2.164946/EE deleted file mode 100644 index 7019d516..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/EE +++ /dev/null @@ -1,17 +0,0 @@ - -EE - harju maakond harju county - hiiu maakond hiiu county! -idaviru maakondidaviru county! -jõgeva maakondjõgeva county -järva maakond järva county! -lääne maakondlääne county) -lääneviru maakondlääneviru county -põlva maakond põlva county -pärnu maakond pärnu county - rapla maakond rapla county - saare maakond saare county - tartu maakond tartu county - valga maakond valga county# -viljandi maakondviljandi county - võru maakond võru county \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/EG b/.config/google-chrome/AutofillStates/2020.11.2.164946/EG deleted file mode 100644 index 6e0d8c2d..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/EG +++ /dev/null @@ -1,34 +0,0 @@ - -EGZ -الأسكندريةالاسكندريةalexandria governorateالإسكندرية - -أسوانaswan governorate - -أسيوطassiut governorate. -البحر الأحمرred sea governorateE -البحيرةمحافظة البحيرةel beheira governorateF -بني سويفمحافظة بني سويفbeni suef governorateC -القاهرةcairo governorateمحافظة القاهرة‬( -الدقهليةdakahlia governorate" - -دمياطdamietta governorate" - الفيومfaiyum governorateB -الغربيةgharbia governorateمحافظة الغربية; - الجيزةمحافظة الجيزةgiza governorateS -الإسماعيلية#محافظة الإسماعيليةismailia governorate. -جنوب سيناءsouth sinai governorateN -القليوبيةal qalyubia governorateمحافظة القليوبية/ -كفر الشيخkafr el sheikh governorate -قناqena governorate! - الأقصرluxor governorate! - المنياmenia governorate' -المنوفيةmenofia governorate! - -مطروحmatrouh governorateE -بور سعيدport said governorateمحافظة بورسعيد8 - -سوهاجمحافظة سوهاجsohag governorateF -الشرقيةمحافظة الشرقيةash sharqia governorate. -شمال سيناءnorth sinai governorate - السويسsuez governorate[ -الوادي الجديد&محافظة الوادي الجديدnew valley governorate \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/EH b/.config/google-chrome/AutofillStates/2020.11.2.164946/EH deleted file mode 100644 index ab63a85a..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/EH +++ /dev/null @@ -1,5 +0,0 @@ - -EH† -)الداخلة وادي الذهب‎‎río de orola güeraoued eddahablagouira-جهة وادي الذهب الڭويرة‎- -guelmimes semaraكلميم السمارة@ ->جهة العيون بوجدور الساقية الحمراء \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/ER b/.config/google-chrome/AutofillStates/2020.11.2.164946/ER deleted file mode 100644 index b5e9d1eb..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/ER +++ /dev/null @@ -1,10 +0,0 @@ - -ERN - أنسيباዞባ ዓንሰባ -عنسباansebaإقليم أنسبا´ -1إقليم البحر الأحمر الجنوبيsouthern red sea"ديبوباوي كيه باهري جنوب البحر الأحمر'ዞባ ደቡባዊ ቀይሕ ባሕሪ: -الجنوبيةዞባ ደቡብsouthern -ديبوبF -جاش بركا gashbarkaقاش بركاዞባ ጋሽ ባርካ[ -المركزيةዞባ ማእከልالمنطقة المركزيةcentralمأكل - سيمناوي كيه باهريnorthern red sea شمال البحر الأحمر'ዞባ ሰሜናዊ ቀይሕ ባሕሪ \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/ES b/.config/google-chrome/AutofillStates/2020.11.2.164946/ES deleted file mode 100644 index 9f3f9f5b..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/ES +++ /dev/null @@ -1,23 +0,0 @@ - -ES - -andalucíaal andalusia -aragónaragon" -asturiasprincipado de asturias - cantabria& -ceutaceciudad autónoma de ceuta) -castilla y leónclcastile and león= -castilla la manchacmcastillala manchacastilela mancha. -canariascncanary islandsislas canarias - catalunyact catalonia - extremaduraex -galiciagagaliza% - illes balearspmbalearic islands% -región de murciaregion of murcia* -comunidad de madridcommunity of madrid* -ciudad autónoma de melillamlmelilla. -comunidad foral de navarranavarranavarre -euskadipvbasque country - -la rioja6 -comunidad valenciana valènciavalencian community \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/ET b/.config/google-chrome/AutofillStates/2020.11.2.164946/ET deleted file mode 100644 index 94435976..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/ET +++ /dev/null @@ -1,13 +0,0 @@ - -ET" -አዲስ አበባ addis ababa - አፋርafar - አማራamhara/ -ቤንሻንጉልጉምዝbenishangulgumuz - ድሬዳዋ dire dawa - ጋምቤላgambella' -ሐረሪ ሕዝብ ክልልharari - ኦሮሚያoromia‚ -Cደቡብ ብሔሮች ብሔረሰቦችና ሕዝቦች ክልልsnnpr4southern nations, nationalities, and people's region -ሶማሌ ክልልsomali - ትግራይtigray \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/FI b/.config/google-chrome/AutofillStates/2020.11.2.164946/FI deleted file mode 100644 index 146f308a..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/FI +++ /dev/null @@ -1,24 +0,0 @@ - -FIG - eteläkarjala south kareliasödra kareleneteläkarjalan maakuntaX -eteläpohjanmaasödra österbottensouthern ostrobothniaeteläpohjanmaan maakuntaD - -eteläsavoeteläsavon maakuntasödra savolaxsouthern savonia& -kainuukainuun maakunta -kajanaland_ - -kantahämetavastia properkantahämeen maakuntaegentliga tavastlandegentligatavastlandX -keskipohjanmaacentral ostrobothniakeskipohjanmaan maakuntamellersta österbottenF -keskisuomen maakuntamellersta finlandcentral finland -keskisuomi2 - kymenlaaksokymenlaakson maakunta kymmenedalen* -lapin maakuntalapplandlappilapland+ - pirkanmaapirkanmaan maakunta birkaland< - pohjanmaa österbotten ostrobothniapohjanmaan maakuntaH -pohjoiskarjala north kareliapohjoiskarjalan maakunta norra karelenY -pohjoispohjanmaapohjoispohjanmaan maakuntanorra österbottennorthern ostrobothniaE - pohjoissavonorthern savonia norra savolaxpohjoissavon maakuntaT - päijäthämepäijäthämeen maakuntapäijänne tavastiapäijännetavastland+ -satakunnan maakunta satakunda satakunta% -uudenmaan maakuntanylanduusimaaP -varsinaissuomen maakuntavarsinaissuomisouthwest finlandegentliga finland \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/FJ b/.config/google-chrome/AutofillStates/2020.11.2.164946/FJ deleted file mode 100644 index 4f2a50ee..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/FJ +++ /dev/null @@ -1,7 +0,0 @@ - -FJ -central division -easterneastern division -northernnorthern division -rotuma -western division \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/FM b/.config/google-chrome/AutofillStates/2020.11.2.164946/FM deleted file mode 100644 index 59ea8309..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/FM +++ /dev/null @@ -1,6 +0,0 @@ - -FM -kosrae -pohnpei pohnpei state -chuuk chuuk state -yap yap state \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/FO b/.config/google-chrome/AutofillStates/2020.11.2.164946/FO deleted file mode 100644 index 50122da4..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/FO +++ /dev/null @@ -1,10 +0,0 @@ - -FO -sandoy - -eysturoy - vága kommunavágar - -streymoy -suduroy -northern isles \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/FR b/.config/google-chrome/AutofillStates/2020.11.2.164946/FR deleted file mode 100644 index 25269709..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/FR +++ /dev/null @@ -1,15 +0,0 @@ - -FR+ -auvergne rhônealpesauvergnerhônealpes -bourgognefranchecomté& -bretagnerégion bretagnebrittany -corsecorsica -centrecentreval de loire+ -alsacechampagneardennelorraine grand est) - hautsdefrancenordpasdecalais picardie - îledefranceidfY -"aquitaine limousin poitoucharentes aquitainelimousinpoitoucharentesnouvelleaquitaine - normandienormandyB -"languedocroussillon midipyrénées occitanierégion occitanie; -provencealpescôte d'azurpacaprovencealpescôted'azur! -pays de la loire paysdelaloire \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/GA b/.config/google-chrome/AutofillStates/2020.11.2.164946/GA deleted file mode 100644 index 75795a73..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/GA +++ /dev/null @@ -1,14 +0,0 @@ - -GA - -estuaire - -hautogooue hautogooué - moyenogooué moyenogooue - n'gouniéngouniéngounie -nyanga - ogooueivindo ogoouéivindo - -ogoouelolo ogoouélolo! -ogoouémaritimeogoouemaritime - woleuntem \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/GB b/.config/google-chrome/AutofillStates/2020.11.2.164946/GB deleted file mode 100644 index f9c317a5..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/GB +++ /dev/null @@ -1,8 +0,0 @@ - -GB -akrotiri and dhekelia -england -northern ireland - -scotland -walescymru \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/GD b/.config/google-chrome/AutofillStates/2020.11.2.164946/GD deleted file mode 100644 index 605a132a..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/GD +++ /dev/null @@ -1,11 +0,0 @@ - -GD# - saint andrewsaint andrew parish! - saint davidsaint david parish# - saint georgesaint george parish - -saint johnsaint john parish - -saint marksaint mark parish - saint patrick! -carriacou and petite martinique \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/GE b/.config/google-chrome/AutofillStates/2020.11.2.164946/GE deleted file mode 100644 index 3119be31..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/GE +++ /dev/null @@ -1,14 +0,0 @@ - -GE -აფხაზეთიabkhaziaYაფხაზეთის ავტონომური რესპუბლიკაn -აჭარაSაჭარის ავტონომიური რესპუბლიკაadjara< -გურია"გურიის მხარეguriaJ -იმერეთიimereti(იმერეთის მხარეD -კახეთიkakheti%კახეთის მხარეi -"ქვემო ქართლი kvemo kartli5ქვემო ქართლის მხარე} -*მცხეთამთიანეთიmtskhetamtianeti=მცხეთამთიანეთის მხარეr -Nრაჭალეჩხუმი და ქვემო სვანეთი rachalechkhumi and lower svaneti~ -*სამცხეჯავახეთიsamtskhejavakheti=სამცხეჯავახეთის მხარეc -შიდა ქართლი2შიდა ქართლის მხარე shida kartli¨ -=სამეგრელოზემო სვანეთიPსამეგრელოზემო სვანეთის მხარეsamegrelozemo svaneti -თბილისიtbilisi \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/GF b/.config/google-chrome/AutofillStates/2020.11.2.164946/GF deleted file mode 100644 index b913af99..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/GF +++ /dev/null @@ -1,4 +0,0 @@ - -GF? -arrondissement de cayennecayennearrondissement of cayennec -#arrondissement de stlaurentdumaronisaint laurent du maroni#arrondissement of stlaurentdumaroni \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/GG b/.config/google-chrome/AutofillStates/2020.11.2.164946/GG deleted file mode 100644 index 680c8524..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/GG +++ /dev/null @@ -1,19 +0,0 @@ - -GG( - saint sampson saintsamson -st sampson -valele valle -burhou - saint saviour saintsauveurI - saint peterst pierre du boissaintpierreduboissaint pierre du bois - -torteval& - saint martin saintmartin st martin# -saint peter portsaintpierreport -herm -sarksercq -alderneyaurigny3 - saint andrewsaintandrédelapommeraye st andrew% -castelcâtelsaintemarieducâtel -jethou -forest la forêt \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/GH b/.config/google-chrome/AutofillStates/2020.11.2.164946/GH deleted file mode 100644 index 8621980f..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/GH +++ /dev/null @@ -1,15 +0,0 @@ - -GH% - greater accragreater accra region -ashantiashanti region@ - brong ahafobrong ahafo regionbrongahafo region -brongahafo -centralcentral region -easterneastern region -northernnorthern region -volta volta region - -upper eastupper east region - -upper westupper west region -westernwestern region \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/GL b/.config/google-chrome/AutofillStates/2020.11.2.164946/GL deleted file mode 100644 index da17c244..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/GL +++ /dev/null @@ -1,7 +0,0 @@ - -GL3 -kujalleqkujalleq kommunekujalleq municipality9 - -qaasuitsupqaasuitsup municipalityqaasuitsup kommune0 -qeqqataqeqqata kommuneqeqqata municipality- -sermersooq kommunesermersooq municipality \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/GM b/.config/google-chrome/AutofillStates/2020.11.2.164946/GM deleted file mode 100644 index 83a67904..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/GM +++ /dev/null @@ -1,8 +0,0 @@ - -GM -banjulgreater banjul area# - lower riverlower river division' - central rivercentral river division -north bank division# - upper riverupper river division1 -west coast divisionwesternwest coast region \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/GN b/.config/google-chrome/AutofillStates/2020.11.2.164946/GN deleted file mode 100644 index 40972b0c..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/GN +++ /dev/null @@ -1,10 +0,0 @@ - -GN -bokérégion de boké -conakryrégion de conakry -kindiarégion de kindia -région de faranahfaranah -kankanrégion de kankan -labérégion de labé -mamourégion de mamou' -région de nzérékoré nzérékoré \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/GP b/.config/google-chrome/AutofillStates/2020.11.2.164946/GP deleted file mode 100644 index 4d817d48..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/GP +++ /dev/null @@ -1,5 +0,0 @@ - -GP* -arrondissement de basseterre -basseterre= -arrondissement de pointeàpitre grandeterre pointeàpitre \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/GQ b/.config/google-chrome/AutofillStates/2020.11.2.164946/GQ deleted file mode 100644 index 6b55fc34..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/GQ +++ /dev/null @@ -1,13 +0,0 @@ - -GQ - -annobónU - bioko norte -bioko nord -biokonortebioko norte provinceprovincia de bioko norteL - bioko surbioko sur provinceprovincia de bioko sur bioko sudbiokosurB - -centro sur centrosurcentro sur provinceprovincia centro sur: -kientemprovincia kiéntemkiéntemkiéntem provinceD -litoralprovince du littorallitoral provinceprovincia litoral1 -welenzaswelenzas provinceprovincia welenzas \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/GR b/.config/google-chrome/AutofillStates/2020.11.2.164946/GR deleted file mode 100644 index db860442..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/GR +++ /dev/null @@ -1,11 +0,0 @@ - -GR· -Nαποκεντρωμένη διοίκηση μακεδονίας θράκηςmakedonia thraki4decentralized administration of macedonia and thraceμακεδονία θράκηá -]αποκεντρωμένη διοίκηση θεσσαλίας στερεάς ελλάδαςthessalia sterea ellada;decentralized administration of thessaly and central greece*θεσσαλία στερεά ελλάδα‚ -.ήπειρος δυτική μακεδονίαipiros ditiki makedonia -nusa tenggara baratnusa tenggara kulonwest nusa tenggara? -nusa tenggara timureast nusa tenggaranusa tenggara wétan -papua& - papua barat papua kulon -west papua - provinsi riauriauJ -provinsi sulawesi utarasulawesi utaranorth sulawesisulawesi kalérF -provinsi sumatera barat sumatra kulonsumatera barat west sumatraD -provinsi sulawesi tenggarasouth east sulawesisulawesi tenggaraf -provinsi sulawesi selatansouth sulawesisouth sulawesi provincesulawesi kidulsulawesi selatanH -provinsi sulawesi barat west sulawesisulawesi kulonsulawesi baratK -provinsi sumatera selatan sumatra kidulsumatera selatan south sumatra# -sulawesi tengahcentral sulawesiH -provinsi sumatera utarasumatera utarasumatra kalér north sumatra› -d i yogyakartajogjaprovinsi d i yogyakartaspecial region of yogyakartadaerah istimewa yogyakarta#provinsi daerah istimewa yogyakarta -yogyakarta \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/IE b/.config/google-chrome/AutofillStates/2020.11.2.164946/IE deleted file mode 100644 index 6dfff01e..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/IE +++ /dev/null @@ -1,36 +0,0 @@ - -IE@ -clarecean clárcontae an chláir county clareco clareD -cavancn county cavancontae an chabháin -an cabhánco cavan; -co corkcocork county corkcorcaighcontae chorcaíH -carlowcw co carlowcontae cheatharlach ceatharlach county carlowU - co dublindcontae bhaile átha cliathdublinbaile átha cliath county dublinO - -co donegaldlcounty donegaldonegalcontae dhún na ngall dún na ngallD - co galwayggalway county galwaycontae na gaillimhegaillimhC - -co kildarekildare cill daracontae chill daracounty kildareP - co kilkennycill chainnighkilkennycounty kilkennycontae chill chainnigh? -co kerrykycontae chiarraíkerryciarraí county kerryN - co longfordldcontae an longfoirtlongford an longfortcounty longford4 -co louthlhlouth county louth -contae lúlúH - co limericklklimerickcontae luimnigh luimneachcounty limerickD - -co leitrimlmliatroimcounty leitrimleitrimcontae liatroma2 -co laoisls contae laoiselaois county laois; -co meathmh contae na mímeathan mhí county meathO - co monaghanmncontae mhuineacháinmonaghan muineacháncounty monaghan< -co mayomomayocontae mhaigh eomaigh eo county mayoJ - co offalyoy county offalyoffaly uibh fhailícontae uíbh fhailíP - co roscommonrn ros comáincounty roscommoncontae ros comáin roscommon> -co sligoso county sligosligosligeachcontae shligighY - co tipperarytacontae thiobraid árann tipperarytiobraid áranncounty tipperaryS - co waterfordwd waterfordcontae phort láirge port láirgecounty waterfordO - co westmeathwh -an iarmhí westmeathcounty westmeathcontae na hiarmhíQ - -co wicklowwwcill mhantáincontae chill mhantáinwicklowcounty wicklowJ - -co wexfordwx loch garmancounty wexfordcontae loch garmanwexford \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/IL b/.config/google-chrome/AutofillStates/2020.11.2.164946/IL deleted file mode 100644 index 5ad02660..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/IL +++ /dev/null @@ -1,15 +0,0 @@ - -ILÊ -judea and samariaיהודה ושומרוןjudea and samaria area%الضـّفـّة الغربيـّة"מחוז יהודה ושומרוןيهودا والسامرةjudea and samaria district– -hadaromالمنطقة الجنوبيةsouthמחוז הדרוםمحوز هدروم -הדרום -جنوبيsouth districtsouthern districtn -haifaחפהمنطقة حيفامحوز حيفاחיפהמחוז חיפהhaifa districtحيفاy - jerusalemמחוז ירושליםمنطقة القدس yerushalayim -القدسjerusalem districtירושליםœ -centercentral districtcenter districtמחוז המרכזمحوز هامركاز -המרכזهامركازhamerkazالمنطقة الوسطى… -tel aviv תל אביב تل أبيبtel aviv districtمنطقة تل أبيبמחוז תל אביבمحوز تل ابيب‘ -north -شماليالمنطقة الشماليةnorthern districtמחוז הצפוןمحوز هتسافونnorth district -הצפון \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/IM b/.config/google-chrome/AutofillStates/2020.11.2.164946/IM deleted file mode 100644 index 0ba84c8d..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/IM +++ /dev/null @@ -1,9 +0,0 @@ - -IM -michael -ayre -rushen -garff - -glenfaba -middle \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/IN b/.config/google-chrome/AutofillStates/2020.11.2.164946/IN deleted file mode 100644 index 34973aa9..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/IN +++ /dev/null @@ -1,42 +0,0 @@ - -INž -andaman and nicobar islandsanNআন্দামান ও নিকোবর দ্বীপপুঞ্জ'جزائر انڈمان و نکوبارEઆંદામાન અને નિકોબાર ટાપુઓZಅಂಡಮಾನ್ ಅಂಡ್ ನಿಕೋಬಾರ್ ಐಲ್ಯಾಂಡ್ಸ್Kଆଣ୍ଡମାନ ଓ ନିକୋବର ଦ୍ୱୀପପୁଞ୍ଜHअण्डमाननिकोबारद्वीपसमूहःQఅండమాన్ మరియు నికోబార్ దీవులుcஅந்தமான் மற்றும் நிக்கோபார் தீவுகள்]അന്ടമന്‍ ആൻ്റ് നികോബാര്‍ ഐലൻ്റ്സ്Lਅੰਡੇਮਾਨ ਅਤੇ ਨਿਕੋਬਾਰ ਦੀਪ ਸਮੂਹNअण्डमान और निकोबार द्वीपसमूह انڈمان تٔ نِکوبارNअंदमान आणि निकोबार द्वीपसमुहKअंडमान और निकोबार द्वीपसमूहTআন্দামান আৰু নিকোবৰ দ্বীপপুঞ্জ; -andhra pradeshap%ఆంధ్ర ప్రదేశ్» -arunachal pradeshar4അരുണാചല്‍ പ്രദേശ്‌(અરુણાચલ પ્રદેશ4அருணாச்சல் பிரதேஷ்+অরুনাাচল প্রদেশ(ଅରୁଣାଚଳ ପ୍ରଦେଶ(अरुणाचल प्रदेश(অৰুণাচল প্ৰদেশ+ಅರುನಚಲ್ ಪ್ರದೇಶ್+ਅਰੁਣਾਚਲ ਪ੍ਰਦੇਸ਼<अरुणाचलप्रदेशराज्यम्اروناچل پردیش.అరుణాచల్ ప్రదేశ్ -assamas অসম -biharbrबिहार* - -chandigarhchਚੰਡੀਗੜ੍ਹ/ - chhattisgarhctछत्तीसगढ़2 - daman and diuddદમણ અને દીવ- -delhidl nct of delhiदिल्ली‚ -dadra and nagar havelidn,दादरा नगरहवेली च0ਦਾਦਰ ਅਤੇ ਨਗਰ ਹਵੇਲੀ9ದಾದ್ರ ಅಂಡ್ ನಗರ್ ಹವೇಲಿ!دادرا تٔ نگر ہوےلی6দাদৰা আৰু নগৰ হাভেলী0दादरा और नगर हवेली9ദാദ്ര ആൻ്റ് നഗർ ഹവേലിEதாத்ரா மற்றும் நகர் ஹவேலிBదాద్రా మరియు నాగర్ హవేలిدادرا و نگر حویلی9দাদরা এন্ড নগর হাভেলি3દાદરા અને નગર હવેલી3दादरा अंद नगर हवेली0ଦାଦ୍ରା ଓ ନଗର ହବେଳୀ -goaga! -gujaratgjગુજરાત= -himachal pradeshhp%हिमाचल प्रदेश$ -haryanahrहरियाणा: - jharkhandjhझारखण्डझारखंड4 -jammu & kashmirj & kkashmirjammu and kashmirÜ - karnatakakaકર્ણાટકকর্ণাটকకర్ణాటకകര്‍ണാടകकर्नाटक*कर्णाटकराज्यम्কৰ্ণাটক کرناٹکକର୍ଣାଟକਕਰਨਾਟਕகர்நாடகம்ڪرناٽڪاಕರ್ನಾಟಕகர்நாடக& -keralaklകേരളംkeralam1 - lakshadweepldലക്ഷദ്വീപ്1 - maharashtramhमहाराष्ट्र™ - meghalayamlमेघालयمیگھالیہమేఘాలయમેઘાલયਮੇਘਾਲਿਆಮೆಘಾಲಯناگالینڈമേഘാലയমেঘালয়ମେଘାଳୟ'मेघालयराज्यम्மேகாலயா -manipurmn5 -madhya pradeshmpमध्य प्रदेश -mizorammzì -nagalandnlநாகாலாந்துনাগালেণ্ড!নাগাল্যান্ডनगालैंडनागालैंड!ನಾಗಾಲ್ಯಾಂಡ್میگھالیہనాగాలాండ్નાગાલેન્ડ0नागालैण्डराज्यम्ناگالینڈनागालैण्ड!ନାଗାଲ୍ୟାଣ୍ଡ'നാഗാലാ‌‍ന്‍ഡ്नागालंडਨਾਗਾਲੈੰਡ% -odishaodorissaଓଡ଼ିଶା -punjabpbਪੰਜਾਬ~ - pondicherrypy$பாண்டிச்சேரிபுதுச்சேரிpondy -puducherryபுதுவை) - rajasthanrjराजस्थान7 -shikimsksikkimसिक्किम -shikimpati" - telanganaతెలంగాణO - -tamil nadutn தநாதமிழ்நாடுதமிழகம்' -tripuratrত্রিপুরাL - uttar pradeshupउ॰ प्र॰"उत्तर प्रदेश[ - uttarakhandukउत्तरांचलउत्तराखण्ड uttaranchal1 - west bengalwbপশ্চিমবঙ্গ \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/IQ b/.config/google-chrome/AutofillStates/2020.11.2.164946/IQ deleted file mode 100644 index cc084ab7..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/IQ +++ /dev/null @@ -1,31 +0,0 @@ - -IQ… -al anbaranمحافظة الأنبارالانبارanbarالانبار محافظةالأنبارal anbar governoratep -arbeelأربيل محافظةerbilhawler -أربيلarbil governorateerbil governorateirbilarbil{ - al basrahbasrahالبصرة محافظةbasra governorateمحافظة البصرة البصرةbasraalbasrahe -babilblbābilbabylonبابل محافظةbabil governoratebabylon governorateبابلx -baghdadbaghdādمحافظة بغدادmuhafazat bagdadbaghdad governorate -بغدادبغداد محافظةh -dahukduhokدهوكدهوك محافظةdihokduhok governorate -داهوكdohuk governorateW -diyala -ديالىديالى محافظة -ديالاdiyala governoratediyālāc -dhi qar ذي قارذي قار‎ dhÄ« qārذي قار‎ محافظةdhi qar governorateR -karbalakarbala governorate karbalā'كربلاء محافظة كربلاءJ -maysanmaysan governoratemaysānميسان محافظة -ميسان| - al muthanna almuthannāmuthanna governorateالمثنى محافظةal muthanna governoratemuthanna المثنىH -annajaf -النجفالنجف محافظةnajaf governoratenajafz -neynewa -نینوىnineveh provinceninawa -نينوىnineveh governorateninwenÄ«nawāنينوى محافظة— - alqadisiyahalqādisiyyah governorateمحافظة الديوانيةالقادسية alqādisiyyah alqadisiyyahالقادسية محافظة‰ -saladin governoratesdصلاح الدينsaladin province صلاح الدين محافظة salah aldin -salahuddin salâhaddîn› -alsulaymaniyahassulaymaniyyah sulaymaniyah!السليمانية محافظةالسليمانيةالسليمانية‎sulaymaniyah governorateZ - at ta'mimkirkuk governorateكركوك محافظة -كركوكkirkuk التميمG -wasitwaواسطwāsitواسط محافظةwasit governorate \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/IR b/.config/google-chrome/AutofillStates/2020.11.2.164946/IR deleted file mode 100644 index f979705a..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/IR +++ /dev/null @@ -1,47 +0,0 @@ - -IR„ -azarbayjane sharqi&استان آذربایجان شرقیآذربایجان شرقیeast azerbaijaneast azerbaijan province„ -azarbayjane gharbiآذربایجان غربیwest azerbaijan&استان آذربایجان غربیwest azerbaijan provinceB -ardabilardabil province اردبیلاستان اردبیلK -esfahanاستان اصفهان اصفهانisfahan provinceisfahan8 -ilam -ایلام ilam provinceاستان ایلامR -booshehrاستان بوشهر -بوشهرbushehr provinceboushehrbushehr< -tehran -تهراناستان تهرانtehran province® -chahar mahal va bakhtiari"chaharmahal and bakhtiari province#چهار محال و بختیاریchaharmahal and bakhtiari-استان چهارمحال و بختیاریV - -khouzestanاستان خوزستانخوزستان khuzestankhuzestan province< -zanjanاستان زنجانzanjan province -زنجانE -semnaanاستان سمنانsemnansemnan province -سمنانŸ -sistan va baluchestan+استان سیستان و بلوچستانsistan and baluchestan سیستان و بلوچستانsistan and baluchestan province4 -farsفارساستان فارس fars province< -kerman -کرماناستان کرمانkerman province` - kordestankurdistan provinceاستان کردستان kurdistanکردستان kurdestan` - -kermanshahباختراناستان کرمانشاهkermanshah provinceکرمانشاه— -kohgiluyeh va boyer ahmad%کهگیلویه و بویر احمد/استان کهگیلویه و بویراحمد"kohgiluyeh and boyerahmad province: -gilanاستان گیلانgilan province -گیلانO -lorestanاستان لرستان لرستان lorestānlorestan provinceP - -mazandaranmazandaran provinceاستان مازندرانمازندران> -markazi -مرکزیmarkazi provinceاستان مرکزیJ - hormozganhormozgan provinceاستان هرمزگانهرمزگانG -hamadanhamadan province -همدانhamedanاستان همدان0 -yazd yazd provinceاستان یزدیزد* -qomقم qom provinceاستان قمD -golestan گلستانgolestan provinceاستان گلستانE -ghazvinاستان قزوین -قزوینqazvinqazvin provincex -khorasane jonubi"استان خراسان جنوبیsouth khorasanخراسان جنوبیsouth khorasan provinced -khorasan razavi استان خراسان رضویخراسان رضویrazavi khorasan provincef -north khorasan"استان خراسان شمالیnorth khorasan provinceخراسان شمالی< -alborzاستان البرز -البرزalborz province \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/IS b/.config/google-chrome/AutofillStates/2020.11.2.164946/IS deleted file mode 100644 index a2396b49..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/IS +++ /dev/null @@ -1,13 +0,0 @@ - -IS( -höfuðborgarsvæðiðcapital region1 - reykjanes suðurnessouthern peninsula region - -vesturlandwestern region - vestfirðirwestfjords region) -norðurland vestranorthwestern region) -norðurland eystranortheastern region - -austurlandeastern region - -suðurlandsouthern region \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/IT b/.config/google-chrome/AutofillStates/2020.11.2.164946/IT deleted file mode 100644 index f46fa110..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/IT +++ /dev/null @@ -1,25 +0,0 @@ - -IT -piemontepiedmont - valle d'aostaaosta - lombardialombardy) -trentinoalto adigetrentinosouth tyrol -veneto -friulivenezia giulia -liguria -emilia romagna emiliaromagna -toscanatuscany -umbria -marche -lazio -abruzzo -molise - -campania -pugliaapulia - -basilicata - -calabria -siciliasicily -sardegnasardinia \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/JE b/.config/google-chrome/AutofillStates/2020.11.2.164946/JE deleted file mode 100644 index 42c72eec..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/JE +++ /dev/null @@ -1,20 +0,0 @@ - -JE - -saint johnst john -saint brélade -st brelade -saint lawrence st lawrence - st helier - saint martin st martin - saint saviour -st saviour - saint peterst peter - grouville - -saint maryst mary -trinity - saint clement -st clement - -saint ouenst ouen \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/JM b/.config/google-chrome/AutofillStates/2020.11.2.164946/JM deleted file mode 100644 index 1c7a4e34..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/JM +++ /dev/null @@ -1,18 +0,0 @@ - -JM -kingstonkingston parish5 - saint andrewst andrew parishsaint andrew parish@ - saint thomasst thomas parishsaint thomas parish st thomas -portlandportland parish/ - -saint marysaint mary parishst mary parish, - saint ann st ann parishsaint ann parish -trelawnytrelawny parish2 - saint jamessaint james parishst james parish -hanoverhanover parish# - westmorelandwestmoreland parish> -saint elizabethsaint elizabeth parishst elizabeth parish - -manchestermanchester parish - clarendonclarendon parishL -saint catherinesaint catherine parish st catherinest catherine parish \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/JO b/.config/google-chrome/AutofillStates/2020.11.2.164946/JO deleted file mode 100644 index 125e5efc..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/JO +++ /dev/null @@ -1,14 +0,0 @@ - -JO- -محافظة عجلونajloun governorateI -محافظة العاصمةamman governorateمحافظة عمّان. -محافظة العقبةaqaba governorate2 -محافظة الطفيلةtafilah governorate@ -الزرقاءمحافظة الزرقاءzarqa governorate@ -البلقاءمحافظة البلقاءbalqa governorate* -محافظة إربدirbid governorate) -محافظة جرشjerash governorate, -محافظة الكركkarak governorate/ -محافظة المفرقmafraq governorate- -محافظة مادباmadaba governorate4 -محافظة معانma'an governorateمعان \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/JP b/.config/google-chrome/AutofillStates/2020.11.2.164946/JP deleted file mode 100644 index 462525e0..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/JP +++ /dev/null @@ -1,49 +0,0 @@ - -JP - 北海道hokkaido - 青森県aomori - 岩手県iwate - 宮城県miyagi - 秋田県akita - 山形県yamagata - 福島県 fukushima - 茨城県ibaraki - 栃木県tochigi - 群馬県gunma - 埼玉県saitama - 千葉県chiba - 東京都tokyo - 神奈川県kanagawa - 新潟県niigata - 富山県toyama - 石川県ishikawa - 福井県fukui - 山梨県 yamanashi - 長野県nagano - 岐阜県gifu - 静岡県shizuoka - 愛知県aichi - 三重県mie - 滋賀県shiga - 京都府kyoto - 大阪府osaka - 兵庫県hyogo - 奈良県nara - 和歌山県wakayama - 鳥取県tottori - 島根県shimane - 岡山県okayama - 広島県 hiroshima - 山口県 yamaguchi - 徳島県 tokushima - 香川県kagawa - 愛媛県ehime - 高知県kochi - 福岡県fukuoka - 佐賀県saga - 長崎県nagasaki - 熊本県kumamoto - 大分県oita - 宮崎県miyazaki - 鹿児島県 kagoshima - 沖縄県okinawa \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/KE b/.config/google-chrome/AutofillStates/2020.11.2.164946/KE deleted file mode 100644 index 036e1801..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/KE +++ /dev/null @@ -1,51 +0,0 @@ - -KE, -baringowilaya ya baringobaringo county& -bomet bomet countywilaya ya bomet, -bungomawilaya ya bungomabungoma county& -busia busia countywilaya ya busia8 -elgeyo marakwetelgeyomarakwetelgeyomarakwet county# -embuwilaya ya embu embu county, -garissagarissa countywilaya ya garissa/ -homa bayhoma bay countywilaya ya homa bay) -isiolowilaya ya isiolo isiolo county, -kajiadowilaya ya kajiadokajiado county@ -kakamegakakamega forestkakamega countywilaya ya kakamega, -kerichowilaya ya kerichokericho county) -kiambuwilaya ya kiambu kiambu county) -kilifi kilifi countywilaya ya kilifi2 - kirinyagawilaya ya kirinyagakirinyaga county+ -kisiiwilaya ya kisii kati kisii county) -kisumu kisumu countywilaya ya kisumu& -kituiwilaya ya kitui kitui county& -kwalewilaya ya kwale kwale county/ -laikipiawilaya ya laikipialaikipia county# -lamu lamu countywilaya ya lamu/ -machakoswilaya ya machakosmachakos county, -makuenimakueni countywilaya ya makueni, -manderawilaya ya manderamandera county/ -marsabitwilaya ya marsabitmarsabit county# -meru meru countykaunti ya meru) -migoriwilaya ya migori migori county, -mombasamombasa countywilaya ya mombasa7 -murang'amurangawilaya ya murang'amuranga county. -nairobinairobi city countynairobi county) -nakuruwilaya ya nakuru nakuru county& -nandi nandi countywilaya ya nandi& -narok narok countywilaya ya narok, -nyamirawilaya ya nyamiranyamira county2 - nyandaruawilaya ya nyandaruanyandarua county& -nyeri nyeri countywilaya ya nyeri, -samburusamburu countywilaya ya samburu& -siaya siaya countywilaya ya siaya9 - taita tavetawilaya ya taitatavetataitataveta county3 - -tana riverwilaya ya mto tanatana river countyE - tharaka nithiwilaya ya tharaka tharakanithitharakanithi county6 - trans nzoiatransnzoia countywilaya ya transnzoia, -turkanawilaya ya turkanaturkana county8 - uasin gishuwilaya ya uasin gishuuasin gishu county) -vihigawilaya ya vihiga vihiga county& -wajir wajir countywilaya ya wajir: - -west pokotwilaya ya pokot magharibiwest pokot county \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/KG b/.config/google-chrome/AutofillStates/2020.11.2.164946/KG deleted file mode 100644 index 2d8dfdcc..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/KG +++ /dev/null @@ -1,12 +0,0 @@ - -KGa -баткен областы баткен#баткенская областьbatken provinceZ -чүй областычуйская область chuy provinceчүй облусу‚ -+джалалабадская областыjalalabad region+джалалабадская областьджалалабадq -нарын областы!нарынская область -нарыннарын облусу naryn regionD -ош областыошская область -osh regionошX -талас областы talas region -талас!таласская область™ -ысык көл областы)иссыккульская областьissykkul regionысыккөл областыысык көл облусу \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/KH b/.config/google-chrome/AutofillStates/2020.11.2.164946/KH deleted file mode 100644 index 60a82f4a..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/KH +++ /dev/null @@ -1,36 +0,0 @@ - -KH‹ -banteay meancheybanteay meanchey province6ខេត្ត​បន្ទាយមានជ័យ$បន្ទាយមានជ័យf -krachehក្រចេះkratiékratié provincekratie$ខេត្ត​ក្រចេះw - mondol kiriមណ្ឌលគិរីmondulkiri province*ខេត្តមណ្ឌលគិរី -mondulkiri§ - -phnom penh'ក្រុង​ភ្នំពេញភ្នំពេញ-ទីក្រុង​ភ្នំពេញ*រាជធានីភ្នំពេញq - preah vihearpreah vihear province-ខេត្ត​ព្រះវិហារព្រះវិហារ_ - prey vengprey veng province'ខេត្ត​ព្រៃវែងព្រៃវែងp - pouthisatpursatpursat provinceពោធិ៍សាត់-ខេត្ត​ពោធិ៍សាត់‘ - -ratanakiri -rotanakiriratanakiri province$ខេត្តរតនគិរីរតនគិរី%ខេត្ត រតនគិរី‡ - siem reab$ខេត្ត​សៀមរាបសៀមរាប siem reapsiem reap province!ខេត្តសៀមរាប± - -kampongsom*ខេត្តព្រះសីហនុkrong preah sihanouk*ខេត្ត​កំពង់សោម sihanoukvillepreah sihanouksihanoukville province“ -steung treng provinceស្ទឹងត្រែង stueng traeng0ខេត្ត​ស្ទឹងត្រែង stung treng stoeng treng€ - bat dambangបាត់ដំបង -batdambang -battambang*ខេត្ត​បាត់ដំបងbattambang provinceg - -svay riengsvay rieng provinceស្វាយរៀង*ខេត្ត​ស្វាយរៀងQ -takeoខេត្តតាកែវតាកែវtakéotakéo provinceä -oddar meancheayoudar meanchey0ខេត្តឧត្ដរមានជ័យoddar meanchey provinceotdar meanchey!ឧត្ដរមានជ័យoudor meanchey3ខេត្ត​ឧត្ដរមានជ័យl -kep កែប kep province -krong kaeb krong kepក្រុងកែបខេត្ត​កែប« - krong pailin$ក្រុង​ប៉ៃលិន"ខេត្ត ប៉ៃលិនpailin$ខេត្ត​ប៉ៃលិនប៉ៃលិនpailin provincer - tbong khmumtbong khmum provinceត្បូងឃ្មុំ-ខេត្តត្បូងឃ្មុំh - kampong chamកំពង់ចាម'ខេត្តកំពង់ចាមkampong cham provinceƒ -kampong chhnang!កំពង់ឆ្នាំង3ខេត្ត​កំពង់ឆ្នាំងkampong chhnang province€ -kampong speu province kampong speue*ខេត្តកំពង់ស្ពឺkampong speu​កំពង់ស្ពឺs - kampong thomកំពង់ធំ'ខេត្ត​កំពង់ធំkampong thom province kampong thumD -kampotខេត្តកំពត កំពតkampot provinceP -kandalkandal provinceកណ្ដាល!ខេត្តកណ្ដាលo - kaoh kong kaôh kŏngkoh kong$ខេត្ត​កោះកុងkoh kong provinceកោះកុង \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/KI b/.config/google-chrome/AutofillStates/2020.11.2.164946/KI deleted file mode 100644 index 8c80bb9b..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/KI +++ /dev/null @@ -1,5 +0,0 @@ - -KI -gilbert islands - line islands -phoenix islands \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/KM b/.config/google-chrome/AutofillStates/2020.11.2.164946/KM deleted file mode 100644 index 28914529..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/KM +++ /dev/null @@ -1,5 +0,0 @@ - -KM - أنجوانnzwanianjouan2 -القمر الكبرى grande comorengazidja - موهيليmwalimohéli \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/KN b/.config/google-chrome/AutofillStates/2020.11.2.164946/KN deleted file mode 100644 index 204db182..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/KN +++ /dev/null @@ -1,16 +0,0 @@ - -KN? -christ church nichola town!christ church nichola town parish7 -saint anne sandy pointsaint anne sandy point parish9 -saint george basseterresaint george basseterre parishP -saint george gingerlandsaint george gingerland parishsaint george's parishG -saint james parishsaint james windwardsaint james windward parishL -saint john capesterresaint john capisterresaint john capisterre parishD -saint john figtreesaint john's parishsaint john figtree parish+ -saint mary cayonsaint mary cayon parishL -saint paul capesterresaint paul capisterresaint paul capisterre parishL -saint paul charlestownsaint paul's parishsaint paul charlestown parish7 -saint peter basseterresaint peter basseterre parish3 -saint thomas lowlandsaint thomas lowland parish? -saint thomas middle island!saint thomas middle island parish7 -trinity palmetto pointtrinity palmetto point parish \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/KP b/.config/google-chrome/AutofillStates/2020.11.2.164946/KP deleted file mode 100644 index 76b51f41..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/KP +++ /dev/null @@ -1,13 +0,0 @@ - -KPF -평양 직할시平壤平壌평양평양직할시 pyongyang, - 평안 남도 평안남도 south pyongan, - 평안 북도 평안북도 north pyongan - 자강도chagang - 황해남도south hwanghae - 황해북도north hwanghae - 강원도kangwon- - 함경 남도 함경남도south hamgyong- - 함경 북도 함경북도north hamgyong! - 량강도 ryanggang 양강도* -라선 특별시라선특별시rason \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/KR b/.config/google-chrome/AutofillStates/2020.11.2.164946/KR deleted file mode 100644 index c6849708..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/KR +++ /dev/null @@ -1,19 +0,0 @@ - -KR+ -서울seoul서울특별시 서울시+ -부산busan 부산시부산광역시+ -대구 대구시daegu대구광역시- -인천인천광역시 인천시incheon- -광주gwangju 광주시광주광역시- -대전대전광역시 대전시daejeon+ -울산ulsan 울산시울산광역시 -경기 경기도 -gyeonggido -강원 강원도 gangwondo( -충북chungcheongbukdo 충청북도( -충남chungcheongnamdo 충청남도# - 전라북도전북 jeollabukdo# -전남 전라남도 jeollanamdo' -경북gyeongsangbukdo 경상북도' -경남gyeongsangnamdo 경상남도2 -제주제주특별자치도jejudo 제주도 \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/KW b/.config/google-chrome/AutofillStates/2020.11.2.164946/KW deleted file mode 100644 index 4960d67c..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/KW +++ /dev/null @@ -1,8 +0,0 @@ - -KWD -الأحمديمحافظة الأحمديal ahmadi governorateP -الفروانيةal farwaniyah governorateمحافظة الفروانية -حوليhawalli governorateC -الجهراءمحافظة الجهراءal jahra governorateB -العاصمةal asimah governateمحافظة العاصمة] -مبارك الكبير$محافظة مبارك الكبيرmubarak alkabeer governorate \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/KY b/.config/google-chrome/AutofillStates/2020.11.2.164946/KY deleted file mode 100644 index 4e6f7b60..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/KY +++ /dev/null @@ -1,11 +0,0 @@ - -KY - bodden town -sister islands - -east end - -north side - -west bay - george town \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/KZ b/.config/google-chrome/AutofillStates/2020.11.2.164946/KZ deleted file mode 100644 index 02430d60..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/KZ +++ /dev/null @@ -1,16 +0,0 @@ - -KZa -ақмола облысыakmola province%акмолинская область акмолаS -ақтөбе облысы%актюбинская областьaktobe provinceS -алматы облысы%алматинская областьalmaty provinceQ -атырау облысы#атырауская областьatyrau provinceb -қарағанды облысыkaragandy province+карагандинская областьm -қостанай облысыкустанай'костанайская областьkostanay province¡ -қызылорда облысыkyzylorda province+кызылординская областькызылорда)кзылординская областьˆ -маңғыстау)мангистауская областьmangystau provinceмангыстаумаңғыстау облысы[ -павлодар облысы'павлодарская областьpavlodar province« -2солтүстік қазақстан облысыnorth kazakhstan province5североказахстанская область#северный казахстанÏ -шығыс қазақстанвко%восточный казахстанeast kazakhstan province*шығыс қазақстан облысы9восточноказахстанская областьs -#оңтүстік қазақстанsouth kazakhstan province1южноказахстанская область¤ -*батыс қазақстан облысы#западный казахстан7западноказахстанская областьwest kazakhstan province_ - жамбыл#жамбылская областьжамбыл облысыjambyl province \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/LA b/.config/google-chrome/AutofillStates/2020.11.2.164946/LA deleted file mode 100644 index c9cc85aa..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/LA +++ /dev/null @@ -1,19 +0,0 @@ - -LAY -"ແຂວງ ອັດຕະປື!ແຂວງອັດຕະປືattapeu province3 -!ແຂວງບໍ່ແກ້ວbokeo province\ -ບໍລິຄໍາໄຊ'ແຂວງບໍລິຄໍາໄຊbolikhamsai province: -$ແຂວງຈໍາປາສັກchampasak province4 -ແຂວງຫົວພັນhouaphanh province5 -ແຂວງຄຳມ່ວນkhammouane province£ -ຫລວງນໍ້າທາຫຼວງນ້ຳທາ!ແຂວງອັດຕະປືluang namtha province*ແຂວງຫຼວງນໍ້າທາA -'ແຂວງຫຼວງພະບາງluang prabang provinceM -ອຸດົມໄຊoudomxay province!ແຂວງອຸດົມໄຊT -ຜົ້ງສາລີ$ແຂວງຜົ້ງສາລີphongsaly provinceL -ສາລະວັນsalavan province!ແຂວງສາລະວັນE --ແຂວງສະຫວັນນະເຂດsavannakhet provinceH -ວຽງຈັນvientiane provinceແຂວງວຽງຈັນh --ນະຄອນຫຼວງວຽງຈັນ!เวียงจันทน์vientiane prefectureU -$ແຂວງໄຊຍະບູລີໄຊຍະບູລີsainyabuli province. -ແຂວງເຊກອງsekong province: -!ແຂວງຊຽງຂວາງxiangkhouang province \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/LB b/.config/google-chrome/AutofillStates/2020.11.2.164946/LB deleted file mode 100644 index fc6b78a3..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/LB +++ /dev/null @@ -1,11 +0,0 @@ - -LB* -محافظة عكارakkar governorate< - الشمالمحافظة الشمالnorth governorate9 - -بيروتbeirut governorateمحافظة بيروتA -$محافظة بعلبك الهرملbaalbekhermel governorate¤ -الهرمل‎beqaa governorateبعلبك الهرمل‎محافظة الهرمل‎(محافظة بعلبك الهرمل‎محافظة البقاع< - الجنوبsouth governorateمحافظة الجنوبN -جبل لبنانمحافظة جبل لبنانmount lebanon governorated -النبطيةnabatiyeh governorateمحافظة النبطيةمحافظة النبطية‎ \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/LC b/.config/google-chrome/AutofillStates/2020.11.2.164946/LC deleted file mode 100644 index dc7f9723..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/LC +++ /dev/null @@ -1,17 +0,0 @@ - -LC$ - anse la rayeanse la raye quarter -castriescastries quarter - -choiseul -dauphin -dennery - -gros isletgros islet quarter -laborielaborie quarter -micoudmicoud quarter -praslinpraslin quarter - soufriere -soufrière - -vieux fortvieux fort quarter \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/LI b/.config/google-chrome/AutofillStates/2020.11.2.164946/LI deleted file mode 100644 index aac55703..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/LI +++ /dev/null @@ -1,13 +0,0 @@ - -LI -balzers -eschen -gamprin -mauren -planken -ruggell -schaan - schellenberg -triesen - triesenberg -vaduz \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/LK b/.config/google-chrome/AutofillStates/2020.11.2.164946/LK deleted file mode 100644 index 6b01916a..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/LK +++ /dev/null @@ -1,13 +0,0 @@ - -LK§ -western provincewpDබස්නාහිර පළාත, ශ් රී ලංකාව%බස්නාහිර පළාත"மேல் மாகாணம்Ç -centralcpmadhyama(மத்திய மாகாணம்central provinceමධ්‍යම පළාත@මධ්‍යම පළාත, ශ්‍රී ලංකාවmadhyama palataz -dakunuspsouthernදකුණු පළාත"தென் மாகாணம் dakunu palatasouthern provincer -northernnp uturu palataඋතුරු පළාතவட மாகாணம்northern provinceuturuØ -easternepeastern provinceDනැගෙනහිර පළාත, ශ් රී ලංකාව -negenahira%නැගෙනහිර පළාතnegenahira palata+கிழக்கு மாகாணம்§ - north westernnw)வட மேல் மாகாணம்north western province7වයඹ පළාත, ශ්‍රී ලංකාවවයඹ පළාත¡ - north centralncuturumeda palata&උතුරු මැද පළාත/வட மத்திய மாகாணம் uturumedanorth central province -province of uvaup uva provinceuvaඌව පළාතඌව පලාතஊவா மாகாணம் -uva palatal -sabaragamuwa provincesg+சபரகமுவ மாகாணம்"සබරගමුව පළාත \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/LR b/.config/google-chrome/AutofillStates/2020.11.2.164946/LR deleted file mode 100644 index 3edd438d..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/LR +++ /dev/null @@ -1,18 +0,0 @@ - -LR -bong bong county -bomi bomi county+ -grand cape mountgrand cape mount county! - grand bassagrand bassa county! - grand gedehgrand gedeh county - grand krugrand kru county -gbarpolugbarpolu county -lofa lofa county -margibimargibi county! - montserradomontserrado county -marylandmaryland county -nimba nimba county - river geeriver gee county) - -river cessrivercess county rivercess -sinoe sinoe county \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/LS b/.config/google-chrome/AutofillStates/2020.11.2.164946/LS deleted file mode 100644 index 5f370a51..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/LS +++ /dev/null @@ -1,15 +0,0 @@ - -LS -maserumaseru district! - -buthabuthebuthabuthe district -leribeleribe district -bereaberea district -mafetengmafeteng district' - mohale's hoekmohale's hoek district -quthingquthing district# - qacha's nekqacha's nek district! - -mokhotlongmokhotlong district! - -thabatsekathabatseka district \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/LT b/.config/google-chrome/AutofillStates/2020.11.2.164946/LT deleted file mode 100644 index 336a37a5..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/LT +++ /dev/null @@ -1,12 +0,0 @@ - -LT" -alytaus apskritis alytus county( -klaipėdos apskritisklaipėda county -kauno apskritis kaunas county. -marijampolės apskritismarijampolė county+ -panevėžio apskritispanevėžys county' -Å¡iaulių apskritisÅ¡iauliai county& -tauragės apskritistauragė county% -telÅ¡ių apskritistelÅ¡iai county -utenos apskritis utena county$ -vilniaus apskritisvilnius county \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/LU b/.config/google-chrome/AutofillStates/2020.11.2.164946/LU deleted file mode 100644 index e4618f8b..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/LU +++ /dev/null @@ -1,6 +0,0 @@ - -LU -diekirchdistrikt dikrech' - grevenmacherdistrikt gréiwemaacher{ -distrikt luxemburgdistrict de luxembourgdistrikt lëtzebuerg lëtzebuerg luxemburgluxembourg district -luxembourg \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/LV b/.config/google-chrome/AutofillStates/2020.11.2.164946/LV deleted file mode 100644 index 924f944f..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/LV +++ /dev/null @@ -1,123 +0,0 @@ - -LV% -aglonas novadsaglona municipality- -aizkraukles novadsaizkraukle municipality' -aizputes novadsaizpute municipality) -aknÄ«stes novadsaknÄ«ste municipality# - alojas novadsaloja municipality' -alsungas novadsalsunga municipality) -alÅ«ksnes novadsalÅ«ksne municipality# - amatas novadsamata municipality - apes novadsape municipality! - auces novadsauce municipality& -ādažu novadsādaži municipality' -babÄ«tes novadsbabÄ«te municipality' -baldones novadsbaldone municipality+ -baltinavas novadsbaltinava municipality" - balvu novadsbalvi municipality% -bauskas novadsbauska municipality+ -beverÄ«nas novadsbeverÄ«na municipality( -brocēnu novadsbrocēni municipality= -burtnieku novadsburtnieki municipalityburtnieku pagasts+ -carnikavas novadscarnikava municipality) -cesvaines novadscesvaine municipality# - cēsu novadscēsis municipality# - ciblas novadscibla municipality# - dagdas novadsdagda municipality, -daugavpils novadsdaugavpils municipality% -dobeles novadsdobele municipality' -dundagas novadsdundaga municipality# - durbes novadsdurbe municipality% -engures novadsengure municipality& -ērgļu novadsērgļi municipality) -garkalnes novadsgarkalne municipality) -grobiņas novadsgrobiņa municipality' -gulbenes novadsgulbene municipality% -iecavas novadsiecava municipalityH -ikÅ¡Ä·iles lauku teritorijaikÅ¡Ä·iles novadsikÅ¡Ä·ile municipality) -ilÅ«kstes novadsilÅ«kste municipality, -inčukalna novadsinčukalns municipality/ -jaunjelgavas novadsjaunjelgava municipality1 -jaunpiebalgas novadsjaunpiebalga municipality( -jaunpils novadsjaunpils municipality' -jelgavas novadsjelgava municipality, -jēkabpils novadsjēkabpils municipality' -kandavas novadskandava municipality) -kārsavas novadskārsava municipality& -kocēnu novadskocēni municipality' -kokneses novadskoknese municipality+ -krāslavas novadskrāslava municipality) -krimuldas novadskrimulda municipality* -krustpils novadskrustpils municipality) -kuldÄ«gas novadskuldÄ«ga municipality& -Ä·eguma novadsÄ·egums municipality' -Ä·ekavas novadsÄ·ekava municipality- -lielvārdes novadslielvārde municipality( -limbažu novadslimbaži municipality) -lÄ«gatnes novadslÄ«gatne municipality( -lÄ«vānu novadslÄ«vāni municipality' -lubānas novadslubāna municipality# - ludzas novadsludza municipality% -madonas novadsmadona municipality+ -mazsalacas novadsmazsalaca municipality( -mālpils novadsmālpils municipality' -mārupes novadsmārupe municipality* -mērsraga novadsmērsrags municipality, -naukšēnu novadsnaukšēni municipality% -neretas novadsnereta municipality# - nÄ«cas novadsnÄ«ca municipality! - ogres novadsogre municipality% -olaines novadsolaine municipality* -ozolnieku novadsozolnieki municipality+ -pārgaujas novadspārgauja municipality- -pāvilostas novadspāvilosta municipality+ -pļaviņu novadspļaviņas municipality& -preiļu novadspreiļi municipality) -priekules novadspriekule municipality* -priekuļu novadspriekuļi municipality# - raunas novadsrauna municipality) -rēzeknes novadsrēzekne municipality( -riebiņu novadsriebiņi municipality! - rojas novadsroja municipality& -ropažu novadsropaži municipality% -rucavas novadsrucava municipality& -rugāju novadsrugāji municipality) -rundāles novadsrundāle municipality) -rÅ«jienas novadsrÅ«jiena municipality! - salas novadssala municipality/ -salacgrÄ«vas novadssalacgrÄ«va municipality* -salaspils novadssalaspils municipality$ - saldus novadssaldus municipality, -saulkrastu novadssaulkrasti municipality# - sējas novadssēja municipality' -siguldas novadssigulda municipality* -skrÄ«veru novadsskrÄ«veri municipality' -skrundas novadsskrunda municipality) -smiltenes novadssmiltene municipality( -stopiņu novadsstopiņi municipality( -strenču novadsstrenči municipality" - talsu novadstalsi municipality) -tērvetes novadstērvete municipality$ - tukuma novadstukums municipality) -vaiņodes novadsvaiņode municipality# - valkas novadsvalka municipality. -varakļānu novadsvarakļāni municipality) -vārkavas novadsvārkava municipality/ -vecpiebalgas novadsvecpiebalga municipality, -vecumnieku novadsvecumnieki municipality* -ventspils novadsventspils municipality) -viesÄ«tes novadsviesÄ«te municipality' -viļakas novadsviļaka municipality( -viļānu novadsviļāni municipality% -zilupes novadszilupe municipality! -daugavpils pilsēta -daugavpils -jelgavas pilsētajelgava! -jēkabpils pilsēta -jēkabpils -jÅ«rmalas pilsētajÅ«rmala& -city of liepājaliepājas pilsēta0 -rēzeknes novadsrēzeknerēzeknes pilsēta -rÄ«gas pilsētariga -ventspils pilsēta ventspils -valmieras pilsētavalmiera \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/LY b/.config/google-chrome/AutofillStates/2020.11.2.164946/LY deleted file mode 100644 index cc05d028..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/LY +++ /dev/null @@ -1,26 +0,0 @@ - -LY: - بنغازيشعبية بنغازيbenghazi district? -البطنان‎شعبية البطنانbutnan district/ -درنةderna districtشعبية درنة* -شعبية غات ghat districtغاتp -الجبل الأخضرالجبل الاخضرjabal al akhdar district"شعبية الجبل الأخضرW -الجبل الغربي"شعبية الجبل الغربيjabal al gharbi district< -الجفارةشعبية الجفارةjafara district7 - الجفرةشعبية الجفرةjufra districtE - الجفرةkufra district الكفرةشعبية الكفرة8 - المرقبmurqub districtشعبية المرقب9 -شعبية مصراتة مصراتةmisrata district2 - -المرج marj districtشعبية المرج0 -شعبية مرزقmurzuq districtمرزق3 -شعبية نالوت -نالوتnalut districtV -النقاط الخمسnuqat al khams district"شعبية النقاط الخمس/ -سبهاsabha districtشعبية سبها5 -سرتسُرتشعبية سرتsirte district9 -شعبية طرابلسtripoli district طرابلس> -الواحاتal wahat districtشعبية الواحاتQ - شعبية وادي الحياةwadi al hayaa districtوادي الحياة` - الشاطئ شعبية وادي الشاطئwadi al shatii districtوادي الشاطئ< -الزاويةzawiya districtشعبية الزاوية \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/MA b/.config/google-chrome/AutofillStates/2020.11.2.164946/MA deleted file mode 100644 index b8bf4ba8..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/MA +++ /dev/null @@ -1,15 +0,0 @@ - -MAa -)جهة طنجة تطوان الحسيمةtangiertétouanal hoceimatangertétouanal hoceïma -جهة الشرقoriental3 -جهة فاس مكناس fèsmeknès -fezmeknèsA -+جهة الرباط سلا القنيطرةrabatsalékénitraR -#جهة بني ملال خنيفرةbéni mellalkhenifrabéni mellalkhénifra= -)جهة الدار البيضاء سطاتcasablancasettat: -جهة مراكش آسفي marrakechsafi marrakeshsafi2 - جهة درعة تافيلالتdrâatafilalet1 -جهة سوس ماسة -soussmassa souss massa3 -جهة كلميم واد نونguelmimoued nounL -1جهة العيون الساقية الحمراءlaâyounesakia el hamra \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/MD b/.config/google-chrome/AutofillStates/2020.11.2.164946/MD deleted file mode 100644 index 05b0e24f..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/MD +++ /dev/null @@ -1,46 +0,0 @@ - -MD - -anenii noiraionul anenii noi -bălțibalti -județul tighinabender# -raionul bricenibriceni district? - basarabeascabsbasarabeasca districtraionul basarabeasca - raionul cahulcahul district8 - călărașiraionul călărașicălărași district2 - cimișliaraionul cimișliacimișlia district% -raionul criulenicriuleni district2 - căuşenicăușeni districtraionul căușeni% -raionul cantemircantemir district - -chișinăuchisinau5 - -dondușenidondușeni districtraionul dondușeni# -raionul drochiadrochia district2 - dubăsaridubăsari districtraionul dubăsari, -edinețraionul edinețedineÅ£ district2 - făleștifălești districtraionul fălești2 - floreştiraionul floreștiflorești district - -găgăuziagagauzia, -glodeniraionul glodeniglodeni district5 - -hînceștiraionul hînceștihîncești district% -raionul ialoveniialoveni district - raionul leovaleova district' -raionul nisporeninisporeni district, -ocnițaocnița districtraionul ocnița& -orhei raionul orheiorhei district) -raionul rezinarezinarezina district2 -raionul rîșcani rîșcanirîșcani district> -raionul șoldănești şoldăneştișoldănești district2 -raionul sîngerei sîngereisîngerei district! -stînga nistrului transnistria) -raionul sorocasorocasoroca district5 -raionul strășenistrășeni district -strășeni> -raionul ștefan vodăștefan vodă district ştefan vodă% -raionul taracliataraclia district9 -raionul teleneștitltelenești district -telenești# -raionul ungheniungheni district \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/ME b/.config/google-chrome/AutofillStates/2020.11.2.164946/ME deleted file mode 100644 index 50b8ecd2..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/ME +++ /dev/null @@ -1,29 +0,0 @@ - -ME2 -општина петњицаopÅ¡tina petnjicaE -општина гусињеopÅ¡tina gusinjegusinje municipalityU -андријевица andrijevicaopÅ¡tina andrijevicaandrijevica municipality- -бар opÅ¡tina barbar municipalitybarJ - беранеbaivangradberaneopÅ¡tina beraneberane municipality[ -бијело пољеbpbijelo polje municipality bijelo poljeopÅ¡tina bijelo polje7 - -будваbudva municipalityopÅ¡tina budvabudvaC - цетињеcetinje municipalitycetinjeprijestonica cetinjeU -даниловград danilovgradopÅ¡tina danilovgraddanilovgrad municipalityT -херцег новиopÅ¡tina herceg novi herceg noviherceg novi municipalityD -колашинopÅ¡tina kolaÅ¡inkolaÅ¡in municipalitykolaÅ¡inR - -которopÅ¡tina kotorопштина которkotor municipalitykotorF -мојковацmojkovac municipalityopÅ¡tina mojkovacmojkovacB - никшићopÅ¡tina nikÅ¡ićnikÅ¡ićnikÅ¡ić municipalityO -општина плавplplav municipality opÅ¡tina plavplavплавB - пљевљаpljevljaopÅ¡tina pljevljapljevlja municipalityD -плужинеopÅ¡tina plužineplužineplužine municipalityN -подгорицаglavni grad podgorica podgoricapodgorica municipality? - рожајеrožajerožaje municipalityopÅ¡tina rožaje? - шавникÅ¡avnikÅ¡avnik municipalityopÅ¡tina Å¡avnik7 - -тиватtivat municipalityopÅ¡tina tivattivat: - -улцињopÅ¡tina ulcinjulcinjulcinj municipalityG -општина жабљакžabljak municipalityopÅ¡tina žabljak \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/MF b/.config/google-chrome/AutofillStates/2020.11.2.164946/MF deleted file mode 100644 index d8808e45..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/MF +++ /dev/null @@ -1,3 +0,0 @@ - -MF -collectivity of saint martin \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/MG b/.config/google-chrome/AutofillStates/2020.11.2.164946/MG deleted file mode 100644 index 0277a733..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/MG +++ /dev/null @@ -1,10 +0,0 @@ - -MG -anosy anosy regionp - toamasinaprovince de tamatavetoamasina province/lisitra ny tanàna ny madagasikara araparitànytamatave< - antsirananaprovince de diegosuarezantsiranana province? - fianarantsoafianarantsoa provinceprovince de fianarantsoa= - mahajangamajungamahajanga provinceprovince de majungac - antananarivoprovince d'antananarivofaritanin' antananarivo -tananariveantananarivo province0 -toliaraprovince de toliaratoliara province \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/MH b/.config/google-chrome/AutofillStates/2020.11.2.164946/MH deleted file mode 100644 index 00dfb112..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/MH +++ /dev/null @@ -1,31 +0,0 @@ - -MH - ailuk atoll -ailinglaplap atoll - -arno atoll - aur atoll -ebon -enewetak atoll - jabat island jabwot atoll - jaluit atoll - kili island -kwajalein atoll - lae atoll - -lib island - likiep atoll - majuro atoll -maloelap atoll - mejit island - -mili atoll - namorik atoll - -namu atoll -rongelap atoll - -ujae atoll - utirik atoll - wotho atoll - wotje atoll \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/MK b/.config/google-chrome/AutofillStates/2020.11.2.164946/MK deleted file mode 100644 index c0caefd9..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/MK +++ /dev/null @@ -1,79 +0,0 @@ - -MKT -!општина арачиновоkomuna e haraçinësmunicipality of aracinovoH -општина беровоmunicipality of berovokomuna e berovësJ -општина битолаmunicipality of bitolakomuna e manastiritb -богданциопштина богданциkomuna e bogdancësmunicipality of bogdanciQ -општина боговињеmunicipality of bogovinjekomuna e bogovinësb -босиловоkomuna e bosilovësопштина босиловоmunicipality of bosilovoR -општина брвеницаkomuna e bërvenicësmunicipality of brvenicai -валандовоmunicipality of valandovo!општина валандовоkomuna e vallandovësP -општина василевоkomuna e vasilevësmunicipality of vasilevoY -вевчаниvevčani municipalityопштина вевчаниkomuna e veçanit^ - -велесmunicipality of veles komuna velesопштина велесkomuna e velesitH -општина виницаkomuna e vinicësmunicipality of vinicak -врапчиште!општина врапчиштеmunicipality of vrapčiÅ¡tekomuna e vrapçishtitg -гевгелиjаmunicipality of gevgelijakomuna e gjevgjelisë општина гевгелиjаb -гостиваропштина гостиварmunicipality of gostivarkomuna e gostivaritK -општина градскоmunicipality of gradskokomuna e grackësb - -дебаропштина дебарmunicipality of debarkomnua e dibrëskomuna e dibrësL -општина дебарцаmunicipality of debarcakomuna e debarcës^ -делчевоkomuna e dellçevësопштина делчевоmunicipality of delcevo] -%општина демир капиjаkomuna e demir kapisëmunicipality of demir kapija[ -$општина демир хисарkomuna e demir hisaritmunicipality of demir hisarU - дојранmunicipality of dojranопштина доjранkomuna e dojranitL -општина долнениmunicipality of dolnenikomuna e dollnenitX - желиноопштина желиноmunicipality of želinokomuna e zhelinësn -зелениковоkomuna e zelenikovës#општина зелениковоmunicipality of zelenikovo\ -зрновциkomuna e zërnocitопштина зрновциmunicipality of zrnovci] -илинденопштина илинденmunicipality of ilindenkomuna e belimbegutd -jегуновце општина jегуновцеmunicipality of jegunovcekomuna e jegunocitR -!општина кавадарциkomuna e kavadaritmunicipality of kavadarciP -општина карбинциmunicipality of karbincikomuna e karbincësH -општина кичевоkičevo municipalitykomuna e kerçovësF -општина кончеmunicipality of konchekomuna e konçësW - кочаниопштина кочаниkomuna e koçanitmunicipality of kočaniL -општина кратовоkomuna e kratovësmunicipality of kratovod -(општина крива паланкаkomuna e kriva pallankësmunicipality of kriva palankaa -'општина кривогаштаниmunicipality of krivogaÅ¡tanikomuna e krivogashtanitN -општина крушевоkomuna e krushevësmunicipality of kruÅ¡evob -кумановоопштина кумановоkomuna e kumanovësmunicipality of kumanovo[ -липковоmunicipality of lipkovokomuna e likovësопштина липковоI -општина лозовоkomuna e llozovësmunicipality of lozovo| -/општина маврово и ростуша$municipality of mavrovo and rostuÅ¡a#komuna e mavrovës dhe radostushës© -каменица4општина македонска каменица#municipality of makedonska kamenica%македонска каменицаkomuna e kamenicës` -,општина македонски бродmunicipality of makedonski brodkomuna e broditW - могилаопштина могилаkomuna e mogillësmunicipality of mogilad -општина неготиноkomuna e negotinësmunicipality of negotinokomuna e negotinitG -општина новациmunicipality of novacikomuna e novacitf -ново селоkomuna e novosellës општина ново селоmunicipality of novo seloU -општина охридohërmunicipality of ohrid -охридkomuna e ohritP -општина петровецmunicipality of petroveckomuna e petrovecit] -општина пехчевопехчевоkomuna e peçevësmunicipality of pehčevo_ -општина пласницаkomuna e plasnicësпласницаplasnica municipalityV -општина прилепmunicipality of prilep прилепkomuna e prilepitj -!општина пробиштипmunicipality of probiÅ¡tipпробиштипkomuna e probishtipit_ -општина радовишрадовишkomuna e radovishtitmunicipality of radoviÅ¡N -општина ранковцеmunicipality of rankovcekomuna e rankocitQ -општина ресен -ресенmunicipality of resenkomuna e resnjësL -општина росоманmunicipality of rosomankomuna e rosomanity -&општина свети николеkomuna e sveti nikollësmunicipality of sveti nikoleсвети николе^ -општина сопиштесопиштеmunicipality of sopiÅ¡tekomuna e sopishtës• -.општина старо нагоричанеkomuna e nagoriçit të vjetërстаро нагоричане!municipality of staro nagorichaneH -општина стругаkomuna e strugësmunicipality of strugan -општина струмицаkomuna e strumicësструмица strumicëmunicipality of strumitsa -%општина студеничани studeniçani -studeniqankomuna e studeniçanitmunicipality of studeničaniстуденичани^ -општина теарце теарцеmunicipality of tearcekomuna e tearcëstearcag -општина тетовоkomuna e tetovëstetovëmunicipality of tetovotetova тетовоt -$општина центар жупацентар жупаkomuna e qendrës zhupamunicipality of centar župaT -општина чашкаkomuna e çashkës -чашкаmunicipality of čaÅ¡ka˜ -/општина чешиновооблешевоkomuna e çeshinovoobleshevës чешиновооблешево#municipality of čeÅ¡inovoobleÅ¡evoŽ -(општина чучер сандевоmunicipality of čučersandevokomuna e çuçersandevës'општина чучерсандевоL -општина штипштипkomuna e shtipitmunicipality of Å¡tipx -град скопjескskград скопјеrajoni i shkupitqyteti i shkupitgreater skopje скопjе \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/ML b/.config/google-chrome/AutofillStates/2020.11.2.164946/ML deleted file mode 100644 index 7c57937f..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/ML +++ /dev/null @@ -1,13 +0,0 @@ - -ML' -kayes kayes regionrégion de kayes3 - koulikorokoulikoro regionrégion de koulikoro- -région de sikassosikassosikasso region1 -région de ségouségousegou ségou region' -mopti mopti regionrégion de mopti6 -région de tombouctoutombouctou region -tombouctou! -gaorégion de gao -gao region' -kidal kidal regionrégion de kidal5 -bamakobamako capital districtdistrict de bamako \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/MM b/.config/google-chrome/AutofillStates/2020.11.2.164946/MM deleted file mode 100644 index 4971377c..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/MM +++ /dev/null @@ -1,19 +0,0 @@ - -MMƒ --စစ်ကိုင်းတိုင်းsagaing regionBစစ်ကိုင်းတိုင်းဒေသကြီးh -!ပဲခူးတိုင်း6ပဲခူးတိုင်းဒေသကြီး bago regionG -6မကွေးတိုင်းဒေသကြီး magway regionO -<မန္တလေးတိုင်းဒေသကြီးmandalay regionX -Bတနင်္သာရီတိုင်းဒေသကြီးtanintharyi regionv -'ရန်ကုန်တိုင်း<ရန်ကုန်တိုင်းဒေသကြီး yangon region— -ဧရာဝတီ -ayeyarwady:ဧရာဝတီ တိုင်းဒေသကြီး9ဧရာဝတီတိုင်းဒေသကြီး. -$ကချင်ပြည်နယ်kachin0 -!ကယားပြည်နယ် kayah state0 -!ကရင်ပြည်နယ် kayin state2 -$ချင်းပြည်နယ် -chin state. -!မွန်ပြည်နယ် mon state2 -'ရခိုင်ပြည်နယ်rakhine, -$ရှမ်းပြည်နယ်shano -Rနေပြည်တော် ပြည်တောင်စုနယ်မြေnaypyidaw union territory \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/MN b/.config/google-chrome/AutofillStates/2020.11.2.164946/MN deleted file mode 100644 index 1f86a9ef..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/MN +++ /dev/null @@ -1,28 +0,0 @@ - -MN+ - -орхонorkhonорхон аймаг -дархануул -darkhanuul - хэнтийkhentii7 -хөвсгөл -khövsgölхөвсгөл аймаг& -ховдховд аймагkhovd -увсувс аймагuvs! -төвtövтөв аймаг -сэлэнгэselenge@ -сүхбаатар sükhbaatarсүхбаатар аймаг; -өмнөговьөмнөговь аймаг -ömnögovi% -өвөрхангай övörkhangai - завханzavkhanM -дорноговьдундговьдундговь аймагdundgovi - дорнодdornod -дорноговь dornogovi# -говьсүмбэр govisümber -говьалтай govialtai/ - булганбулган аймагbulganE -баянхонгорбаянхонгор аймаг bayankhongor! -баянөлгий bayanölgii -архангай arkhangai% -улаанбаатар ulaanbaatar \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/MP b/.config/google-chrome/AutofillStates/2020.11.2.164946/MP deleted file mode 100644 index eb8f8a89..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/MP +++ /dev/null @@ -1,6 +0,0 @@ - -MP1 -northern islandsnorthern islands municipality -tinian -saipan - rota island \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/MQ b/.config/google-chrome/AutofillStates/2020.11.2.164946/MQ deleted file mode 100644 index 8657fa91..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/MQ +++ /dev/null @@ -1,7 +0,0 @@ - -MQ - la trinité - -le marin - saintpierre - fortdefrance \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/MR b/.config/google-chrome/AutofillStates/2020.11.2.164946/MR deleted file mode 100644 index 93a08a3c..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/MR +++ /dev/null @@ -1,20 +0,0 @@ - -MR -"ولاية الحوض الشرقي"ولاية الحوض الغربي%ولاية الحوض الشرقي‎hodh ech charguid -الحوض الغربي"ولاية الحوض الغربيhodh el gharbi regionhodh el gharbi/ - -عصابةassabaولاية العصابة? -جُرجُولولاية كوركولgorgol كوركول3 - براكْنولاية البراكنةbraknaZ -الترارزةrégion du trarzaولاية الترارزةترارْزاtrarza* - -أدرارadrarولاية أدرارe -داخلة نواذيبوdakhlet nouâdhibouدَخْلِة نواذيبيوdakhlet nouadhibou< - تاجانتtagantولاية تكانت tagant regionZ -جواديماكا guidimakaغيديماغا -guidimakhaولاية غيديماغاd -تيرس زمور tiris zemmourولاية تيرس زمورtiris zemmour region tiris zemourB - إنشيريإينشيريولاية إينشيريinchiri0 -نواكشوط الغربيةnouakchottouest1 -نواكشوط الشماليةnouakchottnord0 -نواكشوط الجنوبية nouakchottsud \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/MS b/.config/google-chrome/AutofillStates/2020.11.2.164946/MS deleted file mode 100644 index 33a8a391..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/MS +++ /dev/null @@ -1,5 +0,0 @@ - -MS8 -parish of saint petersaint peter parish saint peter> -parish of saint anthonysaint anthony parish saint anthonyº -parish of saint georgesaint georges parishsaint george parish saint georgesaint george'sparish of saint george's saint georgesparish of saint georgessaint george's parish \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/MU b/.config/google-chrome/AutofillStates/2020.11.2.164946/MU deleted file mode 100644 index 8cb4c6eb..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/MU +++ /dev/null @@ -1,16 +0,0 @@ - -MU. -agalega islandsagalégaagaléga district6 - black riverrivière noire districtrivière noire -cargados carajos saintbrandon -flacqflacq district! - -grand portgrand port district -moka moka district' - pamplemoussespamplemousses district! - -port louisport louis district+ -plaines wilhemsplaines wilhems district - rodriguesrodrigues district3 -rivière du rempartrivière du rempart district -savannesavanne district \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/MV b/.config/google-chrome/AutofillStates/2020.11.2.164946/MV deleted file mode 100644 index 6c715b57..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/MV +++ /dev/null @@ -1,10 +0,0 @@ - -MV" -centralcentral provincemedhu -maleމާލެmalé4 - medhuuthurunorth central province north central -northuthurunorth province5 - medhudhekunu south centralsouth central province) -dhekunu provincesouthsouth province0 - mathiuthuru upper northupper north province1 - mathidhekunuupper south province upper south \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/MW b/.config/google-chrome/AutofillStates/2020.11.2.164946/MW deleted file mode 100644 index 774e38a6..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/MW +++ /dev/null @@ -1,5 +0,0 @@ - -MW -centralcentral region -northernnorthern region -southernsouthern region \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/MX b/.config/google-chrome/AutofillStates/2020.11.2.164946/MX deleted file mode 100644 index 2ecaf5dc..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/MX +++ /dev/null @@ -1,39 +0,0 @@ - -MX -aguascalientesags -baja californiabc -baja california surbcs -campechecamp - chihuahuachih -chiapaschisE -ciudad de méxicocdmxdfdistrito federalméxico mexico city& -coahuila de zaragozacoahcoahuila -colimacol -durangodgo# -estado de guerrerogroguerrero - -guanajuatogto! -estado de hidalgohgohidalgo -jaliscojal_ -"estado libre y soberano de méxicoedomexméxméxicoestado de méxicostate of mexico( - -michoacánmichmichoacán de ocampo -morelosmor -nayaritnay - nuevo leónnl -nuevo leon -oaxacaoax -pueblapue( - -querétaroqroquerétaro de arteaga - quintana rooqrq roo -sinaloasin( -san luis potosíslpsan luis potosi -sonorason -tabascotab - -tamaulipastamps -tlaxcalatlax0 -veracruzververacruz de ignacio de la llave -yucatányucyucatan - zacatecaszac \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/MY b/.config/google-chrome/AutofillStates/2020.11.2.164946/MY deleted file mode 100644 index 79485fc5..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/MY +++ /dev/null @@ -1,20 +0,0 @@ - -MY -johorjohor darul takzim -kedah - -kelantan -melakamalacca -negeri sembilan -pahang - pulau pinangpenang* - negeri perakperakperak darul ridzuan -perlis -selangorselangor darul ehsan - -terengganu -sabah -sarawakS - kuala lumpur wilayah persekutuan kuala lumpur!federal territory of kuala lumpure -labuan labuan wplabuan wilayah persekutuanwilayah persekutuan labuanlabuan federal territory* - putrajayawilayah persekutuan putrajaya \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/MZ b/.config/google-chrome/AutofillStates/2020.11.2.164946/MZ deleted file mode 100644 index b8449991..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/MZ +++ /dev/null @@ -1,13 +0,0 @@ - -MZ -niassaniassa province -manicamanica province -gaza gaza province - inhambaneinhambane province -maputomaputo province -cidade de maputomaputo -nampulanampula province% - cabo delgadocabo delgado province( -zambezia zambéziazambezia province -sofalasofala province -tete tete province \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/NA b/.config/google-chrome/AutofillStates/2020.11.2.164946/NA deleted file mode 100644 index bf9c3857..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/NA +++ /dev/null @@ -1,15 +0,0 @@ - -NA" -caprivizambezi regionsambesi -erongo erongo region -hardap hardap region9 -karasǁkaras ǀǀkaras karas regionǁkaras region -khomas khomas region" - kaokoland kunene regionkunene2 - otjozondjupaotjozondjupa region otjozondjoepa -omahekeomaheke region, -kavangokavango regionokavangokawango -oshanaosjana oshana region# -omusatiomusati regionomoesati% -oshikotoosjikotooshikoto region - ohangwenaohangwena region \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/NC b/.config/google-chrome/AutofillStates/2020.11.2.164946/NC deleted file mode 100644 index 5831c54e..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/NC +++ /dev/null @@ -1,5 +0,0 @@ - -NC7 -province des îles loyautéloyalty islands province - province sudsouth province - province nordnorth province \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/NE b/.config/google-chrome/AutofillStates/2020.11.2.164946/NE deleted file mode 100644 index 13ab026a..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/NE +++ /dev/null @@ -1,11 +0,0 @@ - -NE -agadez agadez region -diffa diffa region -dosso dosso region -maradi maradi region -tahoua tahoua region - -tillabéritillabéri region -zinder zinder region? -communauté urbaine de niameyniameyniamey urban community \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/NG b/.config/google-chrome/AutofillStates/2020.11.2.164946/NG deleted file mode 100644 index da60794d..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/NG +++ /dev/null @@ -1,50 +0,0 @@ - -NG2 -abiaababiyaìpínlẹ̀ ábíá ȯra abia4 -adamawaad ȯra adamawaìpínlẹ̀ adámáwá: - akwa ibomakìpínlẹ̀ akwa íbọmȯra akwa ibom2 -anambraan ȯra anambraìpínlẹ̀ anámbra. -bauchiba ȯra bauchiìpínlẹ̀ bauchi1 -benuebnìpínlẹ̀ bẹ́núé -ȯra benue= -bornobrìpínlẹ̀ bọ̀rnó -ȯra borno jihar borno4 -bayelsaby ȯra bayelsaìpínlẹ̀ bàyélsà= - cross rivercrìpínlẹ̀ cross riverȯra cross river0 -deltadt -ȯra deltaìpínlẹ̀ dẹ́ltà7 -ebonyieb ȯra ebonyiìpínlẹ̀ ẹ̀bọ́nyì( -edoedȯra edoìpínlẹ̀ ẹdó. -ekitikt -ȯra ekitiìpínlẹ̀ èkìtì. -enuguenìpínlẹ̀ ẹnúgu -ȯra enuguQ -fct/agbègbè olúìlú ìjọba àpapọ̀ abùjáfederal capital territory- -gombegmìpínlẹ̀ gòmbè -ȯra gombe' -imoimìpínlẹ̀ ímòȯra imo1 -jigawajgìpínlẹ̀ jígàwà ȯra jigawa1 -kadunakdìpínlẹ̀ kàdúná ȯra kaduna- -kebbikbìpínlẹ̀ kébbí -ȯra kebbi9 -kanoknìpínlẹ̀ kánònkeji ochíchííwu kano) -kogikgìpínlẹ̀ kogí ȯra kogiC -katsinakt ȯra katsinaìpínlẹ̀ kàtsínà jihar katsina- -kwarakw -ȯra kwaraìpínlẹ̀ kwárà+ -lagoslaìpínlẹ̀ èkó -ȯra lagos8 -nasarawans ȯra nasarawaìpínlẹ̀ násáráwá1 -nigerngnejaìpínlẹ̀ niger -ȯra niger6 -ogunogìpínlẹ̀ ògùn -ogun state ȯra ogun* -ondond ȯra ondoìpínlẹ̀ òndó. -osunosìpínlẹ̀ ọ̀ṣun ȯra osun1 -oyoyoìpínlẹ̀ ọ̀yọ́ ȯra ọyọ1 -plateauplìpínlẹ̀ plateau ȯra plateau. -riversrv ȯra riversìpínlẹ̀ rivers? -sokotoskìpínlẹ̀ sókótó ȯra sokoto jihar sokoto1 -tarabatrìpínlẹ̀ tàràbà ȯra taraba/ -yobeybybe ȯra yobeìpínlẹ̀ yòbè1 -zamfaraza ȯra zamfaraìpínlẹ̀ zamfara \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/NI b/.config/google-chrome/AutofillStates/2020.11.2.164946/NI deleted file mode 100644 index 2923fe76..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/NI +++ /dev/null @@ -1,20 +0,0 @@ - -NIƒ -*región autónoma de la costa caribe norteraan'north caribbean coast autonomous region®ión autónoma del atlántico norte -(región autónoma de la costa caribe surraas'south caribbean coast autonomous region$región autónoma del atlántico sur -boacodepartamento de boaco -carazodepartamento de carazo( - -chinandegadepartamento de chinandega& - chontalesdepartamento de chontales* -departamento de estelíesteliestelí" -departamento de granadagranada$ -departamento de jinotegajinotega$ -departamento de leónleónleon -departamento de madrizmadriz& -departamento de managuamnmanagua -departamento de masayamasaya& -departamento de matagalpa matagalpa. -departamento de nueva segovia nueva segovia -departamento de rivasrivas< -departamento de río san juan río san juan rio san juan \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/NL b/.config/google-chrome/AutofillStates/2020.11.2.164946/NL deleted file mode 100644 index 1cc49e90..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/NL +++ /dev/null @@ -1,16 +0,0 @@ - -NL -drenthedr - flevolandfl -fryslânfr friesland - -gelderlandgeglgld - groningengr -limburgllilb! - noordbrabantnb north brabant! - noordhollandnh north holland - -overijsselov -utrechtutu -zeelandzezzl - zuidhollandzh south holland \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/NO b/.config/google-chrome/AutofillStates/2020.11.2.164946/NO deleted file mode 100644 index df5ee02e..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/NO +++ /dev/null @@ -1,16 +0,0 @@ - -NO -oslo - -rogaland -møre og romsdal - -nordland - viken fylkeviken - innlandet2 -vestfold og telemark fylkevestfold og telemark -agder -vestland fylkevestland - -trøndelag, -troms og finnmarktroms og finnmark fylke \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/NP b/.config/google-chrome/AutofillStates/2020.11.2.164946/NP deleted file mode 100644 index 9f981683..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/NP +++ /dev/null @@ -1,7 +0,0 @@ - -NP< -मध्यमाञ्चलcentral development regionN --मध्यपश्चिमाञ्चलmidwestern development region? -!पश्चिमाञ्चलwestern development regionb -Dपूर्वाञ्चल विकास क्षेत्रeastern development regionQ -0सुदुरपश्चिमाञ्चलfarwestern development region \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/NR b/.config/google-chrome/AutofillStates/2020.11.2.164946/NR deleted file mode 100644 index 2cdb119f..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/NR +++ /dev/null @@ -1,17 +0,0 @@ - -NR -aiwo aiwo district -anabaranabar district -anetananetan district -anibareanibare district -baitibaiti district -boe boe district -buadabuada district! - -denigomodudenigomodu district -ewa ewa district -ijuw ijuw district -menengmeneng district -niboknibok district -uaboeuaboe district -yarenyaren district \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/NU b/.config/google-chrome/AutofillStates/2020.11.2.164946/NU deleted file mode 100644 index 7acbd707..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/NU +++ /dev/null @@ -1,17 +0,0 @@ - -NU -hakupu -liku - tamakautoga -mutalau -toi -avatele -makefu -tuapa - -hikutavake -lakepa -valea - -namukulu -alofi \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/NZ b/.config/google-chrome/AutofillStates/2020.11.2.164946/NZ deleted file mode 100644 index a4ddfa81..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/NZ +++ /dev/null @@ -1,24 +0,0 @@ - -NZ -aucklandtāmakimakaurau - bay of plenty - -canterburywaitaha8 -chatham islands -wharekaurichatham islands territory -gisbornetÅ«ranganuiakiwa - hawke's bay - marlborough& -manawatuwanganuimanawatÅ«whanganui -nelsonwhakatÅ« - northland te taitokerau -otagoōtākou - southlandmurihiku -tasman - -taranaki - -wellingtonte whanganuiatara -waikato - -west coast te taipoutini \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/OM b/.config/google-chrome/AutofillStates/2020.11.2.164946/OM deleted file mode 100644 index 75a676cc..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/OM +++ /dev/null @@ -1,14 +0,0 @@ - -OMD -$محافظة جنوب الباطنةal batinah south governorateD -$محافظة شمال الباطنةal batinah north governorate5 -محافظة البريميal buraymi governorate^ -المنطقة الداخليةad dakhiliyah ‍governorateمحافظة الداخلية+ -محافظة مسقطmuscat governorate; -محافظة مسندمmusandam governorate -مسندمG -$محافظة جنوب الشرقيةash sharqiyah south governoratef -المنطقة الشرقية$محافظة شمال الشرقيةash sharqiyah north governorateN -المنطقة الوسطىal wusta governorateمحافظة الوسطى6 -محافظة الظاهرةad dhahirah governorate5 -ظفارdhofar governorateمحافظة ظفار \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/PA b/.config/google-chrome/AutofillStates/2020.11.2.164946/PA deleted file mode 100644 index 8e4d162c..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/PA +++ /dev/null @@ -1,15 +0,0 @@ - -PAF -bocas del toroprovincia de bocas del torobocas del toro province. -cocléprovincia de coclécoclé province. -colónprovincia de colóncolón provinceJ - chiriquídistrito de barúprovincia de chiriquíchiriquí provinceF -dariénregión del dariénprovincia de dariéndarién province1 -herreraprovincia de herreraherrera provinceR -distrito de los santoslos santos provinceprovincia de los santos -los santos -panamápanama4 -provincia de veraguasveraguas provinceveraguasI -comarca emberáwounaanemberáwounaanemberáwounaan comarcaemberáF -comarca guna yala guna yalaguna yala comarcasan blas kuna yalaC -comarca ngäbebuglé ngäbebugléguaymíngäbebuglé comarca \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/PE b/.config/google-chrome/AutofillStates/2020.11.2.164946/PE deleted file mode 100644 index 25152be1..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/PE +++ /dev/null @@ -1,30 +0,0 @@ - -PE$ -amazonasdepartamento de amazonas* -departamento de áncashancasháncash0 - apurímacdepartamento de apurímacapurimac$ -arequipadepartamento de arequipa$ -ayacuchodepartamento de ayacucho& - cajamarcadepartamento de cajamarcaj -callao#provincia constitucional del callao callao regiongobierno regional del callaoregión callao- -cuscoqosqodepartamento del cuzcocuzco- -departamento de huánucohuánucohuanuco, -departamento de huancavelica huancavelica -departamento de icaica' -departamento de junínjuninjunín* -departamento de la libertad la libertad( -departamento de lambayeque -lambayequeD -departamento de limalima lima regiongobierno regional de limaH -#municipalidad metropolitana de lima!metropolitan municipality of lima -departamento de loretoloreto. -departamento de madre de dios madre de dios$ -departamento de moqueguamoquegua -departamento de pascopasco -departamento de piurapiura -departamento de punopuno6 -departamento de san martín -san martin san martín -departamento de tacnatacna -departamento de tumbestumbes" -departamento de ucayaliucayali \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/PF b/.config/google-chrome/AutofillStates/2020.11.2.164946/PF deleted file mode 100644 index d43d1c35..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/PF +++ /dev/null @@ -1,7 +0,0 @@ - -PF$ -îles marquisesmarquesas islands: -archipel des australesaustral islandsîles australes# -îles sousleventleeward islands! - îles du ventwindward islands7 -îles tuamotugambierthe tuamotu and gambier islands \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/PG b/.config/google-chrome/AutofillStates/2020.11.2.164946/PG deleted file mode 100644 index 2f253cf3..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/PG +++ /dev/null @@ -1,26 +0,0 @@ - -PG0 -chimbusimbusimbu provincechimbu province -centralcentral province< -east new britain is niu briteneast new britain province> -eastern highlandseastern highlands province isten hailans -enga enga province+ - -east sepikeast sepik provinceis sepik# -gulf gulf province gulf provins -hela hela province -jiwaka province) - milne baymilne bay provincemilen be -morobemorobe province -madangmadang province -manusmanus provinceF -national capitalnational capital districtnesenel kapitol distrik. - new irelandnew ireland province niu ailan0 -northernnorthern province oro provinceoro` -!autonomous region of bougainvillearobnorth solomons provincenorth solomons bougainville< -sandaunwest sepik provincesandaun province -west sepikA -southern highlandssauten hailanssouthern highlands province= -west new britainwest new britain provincewes niu briten@ -western highlandswestern highlands provincewestern hailans, -westernwestern provinswestern province \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/PH b/.config/google-chrome/AutofillStates/2020.11.2.164946/PH deleted file mode 100644 index 5a0f895c..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/PH +++ /dev/null @@ -1,30 +0,0 @@ - -PH€ - metro manilancrmmkalakhang maynilanational capital region kamaynilaanpambansang punong rehiyonmetropolitan manilaI - ilocos region -kaikolusanrehiyong ilocosilocosregion i rehiyon i. -cagayan valleylambak ng cagayan region iiH - central luzon rehiyong iiigitnáng luzon gitnang luzon -region iii6 -bicol kabikulan -bicolandia bicol regionregion vX -panay region viwestern visayas -rehiyon vikanlurang visayaskanlurang kabisayaanL -central visayas -region viiregion 7gitnang visayasgitnang kabisayaanG -eastern visayas region viiisilangang visayassilangang kabisayaan] - region ixtangway ng zamboangazamboanga peninsulatangway ng kasambuwangaan -rehiyon ix; -northern mindanaoregion x region 10hilagang mindanao] -davao region xi davao region rehiyong xirehiyon ng davaosouthern mindanao kadabawan - -region xii soccsksargen -caraga region xiiiŠ -$autonomous region in muslim mindanaoarmm'rehiyong awtonomo sa muslim na mindanao'rehiyong autonomo sa muslim na mindanao -bangsamorou - cordillera administrative regioncar%pinamamahalaang rehiyon ng cordillera%rehiyong pampangasiwaan ng cordillerad - -calabarzonsouthern tagalog mainland -region ivasouthern tagalog region region 4a rehiyon iva! -mimaropa region 4b -region ivb \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/PK b/.config/google-chrome/AutofillStates/2020.11.2.164946/PK deleted file mode 100644 index b236f7ad..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/PK +++ /dev/null @@ -1,11 +0,0 @@ - -PK - balochistanبلوچستان! -gilgitbaltistannorthern areasc -federal capital territory)اسلام آباد وفاقی علاقہislamabad capital territory+ -ajkazad jammu and kashmir azad kashmir/ -khyber pakhtunkhwaخیبر پختونخوا -punjab -پنجاب -sindhسندھN -"federally administered tribal areaفاٹاقبائلی علاقہ جات \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/PL b/.config/google-chrome/AutofillStates/2020.11.2.164946/PL deleted file mode 100644 index 46c8da71..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/PL +++ /dev/null @@ -1,18 +0,0 @@ - -PLQ -dolnosdolnośląskielower silesian voivodeshipwojewództwo dolnośląskie[ -kujawskopomorskiekujpomkuyavianpomeranian voivodeshipwojewództwo kujawskopomorskie< -lubuslubusz voivodeshiplubuskiewojewództwo lubuskie8 -województwo łódzkie łódzkiełódź voivodeship> -lubellublin voivodeshipwojewództwo lubelskie lubelskieD - małopolskiewojewództwo małopolskielesser poland voivodeshipD -mazow mazowieckiemasovian voivodeshipwojewództwo mazowieckie< -opolskopolskiewojewództwo opolskieopole voivodeshipB -podlas podlaskiewojewództwo podlaskiepodlaskie voivodeshipK -podkar podkarpackiewojewództwo podkarpackiepodkarpackie voivodeshipC -pomors pomorskiepomeranian voivodeshipwojewództwo pomorskieW -swietoświętokrzyskieświętokrzyskie voivodeshipwojewództwo świętokrzyskie@ -slaskwojewództwo śląskiesilesian voivodeship śląskie\ -warmazwarmińskomazurskie województwo warmińskomazurskiewarmianmasurian voivodeshipG - wielkopolskiewojewództwo wielkopolskiegreater poland voivodeshipZ -województwo zachodniopomorskiewest pomeranian voivodeshipzachodniopomorskiezachpo \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/PM b/.config/google-chrome/AutofillStates/2020.11.2.164946/PM deleted file mode 100644 index 20da1c9c..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/PM +++ /dev/null @@ -1,4 +0,0 @@ - -PM -miquelonlanglade - saintpierre \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/PR b/.config/google-chrome/AutofillStates/2020.11.2.164946/PR deleted file mode 100644 index 2f039e5a..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/PR +++ /dev/null @@ -1,95 +0,0 @@ - -PR -yabucoa -corozal -ceiba -florida -aguada -cidra - quebradillas - sabana grande - cabo rojo - -guayanilla - -toa baja -salinas -coamo -juncos - vega baja - barceloneta - trujillo alto -naguabonagüabo - -luquillo -vieques - -toa alta -gurabo -yauco -arroyo -culebra -dorado -ciales - juana díaz - las piedras - santa isabel -arecibo -camuy -moca - -canóvanas - -guaynabo - san germán - aguadilla - vega alta -cataño -loíza -fajardo -caguas -mayaguez mayagüez -utuado -isabela - naranjito -lajas - -carolina -morovis -ponce -guayama -añasco - -guánica -maunabo -cayey - -aibonito -lares -maricao -san sebastián - san lorenzo - -villalba - río grande -jayuya -rinconrincón - aguas buenas -humacao5 -san juansan juan municipiosan juan municipality -hatillo - hormigueros -manatí - -orocovis - -adjuntas - las marías - barranquitas - -patillas - -bayamón - -comerío - peñuelas \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/PS b/.config/google-chrome/AutofillStates/2020.11.2.164946/PS deleted file mode 100644 index 102ab9a3..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/PS +++ /dev/null @@ -1,5 +0,0 @@ - -PS? - west bankالضفة الغربيةהגדה המערבית - -gaza stripقطاع غزّة \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/PT b/.config/google-chrome/AutofillStates/2020.11.2.164946/PT deleted file mode 100644 index ea0e6ee8..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/PT +++ /dev/null @@ -1,23 +0,0 @@ - -PT- -aveirodistrito de aveiroaveiro district' -bejadistrito de beja beja district -bragadistrito de braga6 - bragançadistrito de bragançabragança districtE -castelo brancocastelo branco districtdistrito de castelo branco -coimbradistrito de coimbra- -distrito de évoraévora districtévora0 -algarvefaro faro districtdistrito de faro- -distrito da guardaguardaguarda district- -distrito de leirialeirialeiria district$ -distrito de lisboalisboalisbon9 -distrito de portalegreportalegre district -portalegreQ -comarca do portodistretto di oportodistrito do portoportoporto district" -distrito de santarém santarém) -distrito de setúbalsetubalsetúbalK -distrito de viana do casteloviana do casteloviana do castelo district6 -distrito de vila realvila real district vila real* -distrito de viseuviseu districtviseu -açoresazores' -madeiraregião autónoma da madeira \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/PW b/.config/google-chrome/AutofillStates/2020.11.2.164946/PW deleted file mode 100644 index 6f452581..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/PW +++ /dev/null @@ -1,26 +0,0 @@ - -PW - -aimeliik -airai -angaur - hatohobei -kayangel -ngcheangel -koror oreor island - -melekeok - -ngaraard - ngarchelong - -ngardmau - -ngatpang - -ngchesar - ngaremlengui ngeremlengui -ngiwal -belilioupeleliu - -sonsorol \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/PY b/.config/google-chrome/AutofillStates/2020.11.2.164946/PY deleted file mode 100644 index 6c631622..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/PY +++ /dev/null @@ -1,24 +0,0 @@ - -PYY - concepcióntetãvore concepcióndepartamento de concepciónconcepción department] - alto paranádepartamento de alto paranátetãvore alto paranáalto paraná departmentF -centraltetãvore centralcentral departmentdepartamento centralW -departamento de ñeembucútetãvore ñe'ẽmbukuñeembucú department -ñeembucú< -amambayamambaidepartamento amambayamambay departmentT - -canindeyútetãvore kanindejucanindeyú departmentdepartamento de canindeyúj -departamento presidente hayestetãvore presidente hayespresidente hayespresidente hayes departmentb - alto paraguaytetãvore alto paraguáialto paraguay departmentdepartamento de alto paraguayQ - boqueróndepartamento de boqueróntetãvore boquerónboquerón departmentQ -departamento de san pedro san pedrotetãvore san pedrosan pedro departmentU - -cordilleracordillera departmenttetãvore cordilleradepartamento de cordilleraI -departamento de guairáguairá departmenttetãvore guairáguairáQ - caaguazúdepartamento de caaguazúcaaguazú departmenttetãvore ka'aguasuM -caazapádepartamento de caazapácaazapá departmenttetãvore ka'asapaI -departamento de itapúaitapúa departmenttetãvore itapúaitapúaM -departamento de misionesmisionestetãvore misionesmisiones departmentT -departamento de paraguarí -paraguarítetãvore paraguariparaguarí department - asunciónparaguay \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/QA b/.config/google-chrome/AutofillStates/2020.11.2.164946/QA deleted file mode 100644 index 391f1c5d..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/QA +++ /dev/null @@ -1,10 +0,0 @@ - -QA - الدوحةdoha - -الخورal khor" - الشمالmadinat ash shamal& - الريانal rayyan municipality> - أم صلا أم صلالumm salal municipalityصلال& - الوكرةal wakrah municipality& -بلدية الضعاين al daayen \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/RE b/.config/google-chrome/AutofillStates/2020.11.2.164946/RE deleted file mode 100644 index a8465e57..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/RE +++ /dev/null @@ -1,7 +0,0 @@ - -RE - saint denis -saintdenis: -arrondissement de saintpierre saint pierre saintpierre - saint benoit saintbenoît( -arrondissement de saintpaul saintpaul \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/RO b/.config/google-chrome/AutofillStates/2020.11.2.164946/RO deleted file mode 100644 index c41848de..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/RO +++ /dev/null @@ -1,46 +0,0 @@ - -RO - județul albaab alba county$ -județul argeșag argeș county - județul aradar arad county. - -bucureștimunicipiul bucurești bucharest$ -județul bacăubc bacău county" -județul bihorbh bihor county: -județul bistrițanăsăudbnbistrițanăsăud county& -județul brăilabrbrăila county* -județul botoșanibtbotoșani county& -județul brașovbvbrașov county$ -județul buzăubz buzău county - județul clujcj cluj county. -județul călărașiclcălărași county2 -județul carașseverincscarașseverin county, -județul constanțactconstanța county& -județul covasnacvcovasna county. -județul dâmbovițadbdâmbovița county - județul doljdj dolj county - județul gorjgj gorj county -județul galațiglgalați& -județul giurgiugrgiurgiu county* -județul hunedoarahdhunedoara county( -județul harghitahrharghita county" -județul ilfovif ilfov county* -județul ialomițailialomița county" -județul iașiis iași county, -județul mehedințimhmehedinți county, -județul maramureșmmmaramureș county$ -județul mureșms mureș county$ -județul neamțnt neamț county - județul oltot -olt county -județul prahovaphprahova -județul sibiusbsibiu -județul sălajsjsălaj* -județul satu maresmsatu mare county& -județul suceavasvsuceava county$ -județul tulceatl tulcea county$ -județul timiștm timiș county* -județul teleormantrteleorman county -județul vâlceavl& -județul vranceavnvrancea county$ -județul vasluivs vaslui county \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/RS b/.config/google-chrome/AutofillStates/2020.11.2.164946/RS deleted file mode 100644 index 084672cf..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/RS +++ /dev/null @@ -1,3 +0,0 @@ - -RSx -8аутономна покрајина војводинаautonomna pokrajina vojvodinaвојводина vojvodina \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/RU b/.config/google-chrome/AutofillStates/2020.11.2.164946/RU deleted file mode 100644 index 75cc9028..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/RU +++ /dev/null @@ -1,93 +0,0 @@ - -RUB - адыгеяadygea republic!республика адыгея= - -алтайреспублика алтайaltai republic= -алтайскийалтайский край -altai krai@ -амурскаяамурская область amur oblastW -arkhangel'skaya oblastarkhangelsk oblast)архангельская областьU -астраханская'астраханская областьastrakhan oblast -башҡортостан-республика башкортостанбашкортостанrepublic of bashkortostanбашкирияT -белгородская'белгородская областьbelgorod oblastC -брянскаябрянская областьbryansk oblast? -бурятия#республика бурятияburyatiaS -чеченская -чечняchechnya'чеченская республикаg -челябинск%челябинская областьчелябинскаяchelyabinsk oblast… -2чукотский автономный округ4чукотский аутономус областьchukotka autonomous okruga -чувашия'чувашская республикачувашскаяchuvashia republicO -дагестан%республика дагестанrepublic of dagestanI -ингушетия'республика ингушетия -ingushetiaW -иркутск!иркутская областьиркутскаяirkutsk oblast| -иваново#ивановская областьivanovo oblastивановскаяأيفانوفو أوبلاستE -камчатскийkamchatka kraiкамчатский край¦ -"кабардинобалкария&кабардинобалкарскаяkabardinobalkarian republic;кабардинобалкарская республика -"карачаевочеркесия;карачаевочеркесская республикаkarachaycherkessia&карачаевочеркесскаяI -краснодарkrasnodar krai#краснодарский крайJ -кемеровоkemerovo oblast%кемеровская областьc -калининградскаяkaliningrad oblast-калининградская областьJ -курганская kurgan oblast#курганская областьF -хабаровскхабаровский крайkhabarovsk kraiý ->хантымансийский автономный округхмаоFхантымансийский автономный округюграkhantymansi autonomous okrugKхантымансийский автономный округ — юграQ - -кировкировская kirov oblast!кировская областьL -#республика хакасияrepublic of khakassiaхакасияO -калмыкия%республика калмыкияrepublic of kalmykiaF -калужская!калужская область kaluga oblast8 -коми komi republicреспублика коми8 -%костромская областьkostroma oblastJ -карелия#республика карелияrepublic of karelia= -курская kursk oblastкурская областьK -красноярскkrasnoyarsk krai!красноярский крайj -лен областьленобластьleningrad oblast)ленинградская областьC -липецкаялипецкая областьlipetsk oblast7 -%магаданская областьmagadan oblastI -марий элmari el republic$республика марий эл† -мордовияmordovia republic%республика мордовия8приволжский федеральный округi -московскаямоск областьмо#московская область moscow oblast/ - москваmoscowгород москваL -мурманскаяmurmansk oblast#мурманская область -0ненецкий автономный округ2ненецкий аутономус областьnenets autonomous okrugT -новгородскаяnovgorod oblast'новгородская область_ -нижегородскаяnizhny novgorod oblast)нижегородская областьs -новосибирскновосибирская)новосибирская областьnovosibirsk oblastB -омскомская область омская omsk oblastf -оренбургorenburg oblast'оренбургская областьоренбургская1 -!орловская область oryol oblastD -пермский perm kraiпермский край -пермьU - -пенза#пензенская область penza oblastпензенскаяE -приморскийприморский крайprimorsky kraiE -псковская!псковская область pskov oblast† - ростов,южный федеральный округ#ростовская область rostov oblastростовскаяF -рязанская ryazan oblast!рязанская областьe -,республика саха (якутия) якутияsakha republicсаха (якутия)8 -%сахалинская областьsakhalin oblastŽ -8приволжский федеральный округ самарасамарская!самарская область samara oblastG -саратов%саратовская областьsaratov oblast« ->республика северная осетияаланиясеверная осетия)северная осетияаланияnorth ossetia–alania republicL -смоленскаяsmolensk oblast#смоленская областьY -санктпетербург'город санктпетербургsaint petersburgU -ставропольский%ставропольский крайstavropol kraiŒ -свердловская4уральский федеральный округsverdlovsk oblast'свердловская областьd -'республика татарстантатариятатарстанrepublic of tatarstanJ -тамбовская tambov oblast#тамбовская областьI - -томск tomsk oblastтомскаятомская область@ -тульскаятульская область tula oblast@ -тверскаятверская область tver oblaste -!респу́блика тыва́республика туватыватува tuva republicF -тюменская!тюменская область tyumen oblastŸ -)удмуртской республики)удмуртская республикаudmurt republic$удмуртия pеспубликаудмуртияM -ульяновскulyanovsk oblast%ульяновская областьm -волгоградволгоградскаяvolgograd oblast)волгоградская областьT -владимирскаяvladimir oblast'владимирская областьO -вологодская%вологодская областьvologda oblast` -воронежворонежскаяvoronezh oblast%воронежская областьµ -:ямалоненецкий автономный округ<ямалоненецкий аутономус областьямалоненецкийyamalonenets autonomous okruge -ярославльярославскаяyaroslavl oblast%ярославская областьœ -еврейская4еврейская аутономус область6еврейская автономная областьjewish autonomous oblast7 -#забайкальский крайzabaykalsky krai \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/RW b/.config/google-chrome/AutofillStates/2020.11.2.164946/RW deleted file mode 100644 index a23688bd..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/RW +++ /dev/null @@ -1,7 +0,0 @@ - -RWI -kigaliumujyi wa kigali kigali cityville de kigalikigali province= -eastern provinceprovince de l'estintara y'iburasirazuba< -northern provinceintara y'amajyaruguruprovince du nord@ -western provinceprovince de l'ouestintara y'uburengerazuba8 -southern provinceintara y'amajyepfoprovince du sud \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SA b/.config/google-chrome/AutofillStates/2020.11.2.164946/SA deleted file mode 100644 index 5af8c1da..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SA +++ /dev/null @@ -1,19 +0,0 @@ - -SA* -منطقة الرياضriyadh provincee -مكةmakkah provinceمنطقة مكةمكة المكرمة منطقة مكة المكرمة‰ -المدينةمنطقة المدينة(منطقة المدينة المنورةal madinah provinceالمدينة المنورةA -الشرقيةeastern provinceالمنطقة الشرقية2 - القصيممنطقة القصيم al qassim. -حائلمنطقة حائل hail province/ -تبوكمنطقة تبوكtabuk provinced -الحدود الشمالية(منطقة الحدود الشماليةnorthern borders province6 - -جازانjazan -جيزانمنطقة جازان+ -منطقة نجرانnajran -نجران: - الباحةمنطقة الباحةal bahah province, - -الجوفal jowfمنطقة الجوف/ -عسيرمنطقة عسيرaseer province \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SB b/.config/google-chrome/AutofillStates/2020.11.2.164946/SB deleted file mode 100644 index b9784fdd..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SB +++ /dev/null @@ -1,12 +0,0 @@ - -SB -centralcentral province -choiseulchoiseul province -capital territoryhoniara# - guadalcanalguadalcanal province -isabelisabel province1 - makiraulawa makiraulawasmakiraulawa province -malaitamalaita province -rennell and bellona province- -snata cruz islandstemotutemotu province -westernwestern province \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SC b/.config/google-chrome/AutofillStates/2020.11.2.164946/SC deleted file mode 100644 index 497586ef..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SC +++ /dev/null @@ -1,32 +0,0 @@ - -SC - anse aux pins anseauxpins - anse boileau - anse etoile anse étoile -au cap - anse royale - baie lazare# -baie sainte annebaie sainteanne - beau vallon -bel air - bel ombre -cascade -glacis/ -grand anse mahegrand'anse mahé -grand'anse -grand anse praslin -grand'anse - -la digue -la riviere anglaise - mont buxton - mont fleuri - plaisance - pointe la rue - -port glaud - saint louis - -takamaka - les mamelles - roche caiman roche caïman \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SD b/.config/google-chrome/AutofillStates/2020.11.2.164946/SD deleted file mode 100644 index b5b24b5b..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SD +++ /dev/null @@ -1,22 +0,0 @@ - -SD1 - ولاية شمال دارفور shamal darfur0 - ولاية جنوب دارفور janub darfur. -ولاية غرب دارفور gharb darfur7 -القضارفولاية القضارف -al qadarif7 -الجزيرة -al jazirahولاية الجزيرةC - ash sharqiyahكسلا -كسالاkassalaولاية كسلا% -ولاية الخرطومkhartoumI -شمال كردفانnorth kurdufan ولاية شمال كردفانI -جنوب كردفان ولاية جنوب كردفانsouth kordofanH -النيل الأزرق blue nile"ولاية النيل الأزرق= -الشماليةnorthernالولاية الشمالية* -ولاية نهر النيل -river nileD -an nÄ«l al abyaḍ -white nile"ولاية النيل الأبيضF -البحر الأحمرred sea"ولاية البحر الأحمر -ولاية سنارsennar \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SE b/.config/google-chrome/AutofillStates/2020.11.2.164946/SE deleted file mode 100644 index b2412ff5..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SE +++ /dev/null @@ -1,23 +0,0 @@ - -SE# -stockholms länstockholm county+ -västerbottens länvästerbotten county% -norrbottens lännorrbotten county - uppsala länuppsala county+ -södermanlands länsödermanland county- -östergötlands länöstergötland county% -jönköpings länjonkoping county# -kronobergs länkronoberg county - kalmar län kalmar county - gotlands längotland county - blekinge länblekinge county - skÃ¥ne län skÃ¥ne county - hallands länhalland county3 -västra götalands länvästra götaland county" -värmlands länvarmland county - örebro länörebro county) -västmanlands länvästmanland county - dalarnas ländalarna county$ -gävleborgs längavleborg county/ -västernorrlands länvästernorrland county" -jämtlands länjamtland county \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SH b/.config/google-chrome/AutofillStates/2020.11.2.164946/SH deleted file mode 100644 index 951334b6..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SH +++ /dev/null @@ -1,5 +0,0 @@ - -SH - ascensionascension island - saint helena -tristan da cunha \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SI b/.config/google-chrome/AutofillStates/2020.11.2.164946/SI deleted file mode 100644 index 9cd8a88b..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SI +++ /dev/null @@ -1,69 +0,0 @@ - -SI -slovenske konjice - grosuplje -lenart -litija -logatec -slovenska bistrica -Å¡marje pri jelÅ¡ah -tržič -laÅ¡ko - -cerknica - -novo mesto -koper -trebnje - murska sobota - dravograd - -trbovlje -velenje" -kočevjeupravna enota kočevje -tolmin -gornja radgona -ruÅ¡e -ptuj -Å¡entjurÅ¡entjur pri celju -mozirje -izola -kranj - -radovljica - -domžale -sevnica -zagorje ob savi -ribnica -lendava -vrhnika= -mariborupravna enota mariboradministrative unit maribor6 -hrastnikobčina hrastnikmunicipality of hrastnik -ravne na koroÅ¡kem -piran -krÅ¡ko -radlje ob dravi - -ljutomer -ormož -žalec - -jesenice -sežana -pesnica -metlika - -postojna* -upravne enote Å¡kofja loka Å¡kofja loka - -brežice -ilirska bistrica - črnomelj* - ajdovščinaupravna enota ajdovščina - nova gorica - ljubljana -idrija -kamnik -celje -slovenj gradec \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SJ b/.config/google-chrome/AutofillStates/2020.11.2.164946/SJ deleted file mode 100644 index cfe8e7be..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SJ +++ /dev/null @@ -1,5 +0,0 @@ - -SJ - -svalbard - jan mayen \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SK b/.config/google-chrome/AutofillStates/2020.11.2.164946/SK deleted file mode 100644 index 49c27307..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SK +++ /dev/null @@ -1,10 +0,0 @@ - -SK0 -banskobystrický krajbanská bystrica region' -bratislavský krajbratislava region -koÅ¡ický krajkoÅ¡ice region= -nitriansky kraj nitra regionnitriansky samosprávny kraj" -preÅ¡ovský krajpreÅ¡ov region -trnavský kraj trnava region% -trenčiansky krajtrenčín region! -žilinský krajžilina region \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SL b/.config/google-chrome/AutofillStates/2020.11.2.164946/SL deleted file mode 100644 index 6cd720af..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SL +++ /dev/null @@ -1,6 +0,0 @@ - -SL -easterneastern province -northernnorthern province -southernsouthern province - western area \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SM b/.config/google-chrome/AutofillStates/2020.11.2.164946/SM deleted file mode 100644 index 09736beb..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SM +++ /dev/null @@ -1,14 +0,0 @@ - -SM - acquaviva - chiesanouva chiesanuova - domagnano -faetano - -fiorentino -borgo maggiore" -città di san marino -san marino - montegiardino - -serravalle \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SN b/.config/google-chrome/AutofillStates/2020.11.2.164946/SN deleted file mode 100644 index 9e4c327b..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SN +++ /dev/null @@ -1,18 +0,0 @@ - -SNJ -diourbeldiourbel regiondépartement de diourbelrégion de diourbel -dakar dakar region -fatick fatick region5 -département de kaffrinekaffrine regionkaffrine -kolda kolda region8 -département de kédougou kédougoukédougou region -kaolackkaolack region -louga louga region -matam matam region5 -département de sédhiousédhiou regionsédhiou - -saintlouissaintlouis region! - tambacoundatambacounda region -thiès thiès region - -ziguinchor \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SO b/.config/google-chrome/AutofillStates/2020.11.2.164946/SO deleted file mode 100644 index 4e6e9750..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SO +++ /dev/null @@ -1,27 +0,0 @@ - -SO - -أودالawdalعدل - -باكولbakool& -بانادير -بنادرbanaadir -باريbari -بايbaybaay+ - جلجدود galguduudجَلجودود -جدوجيدوgedo - -هيرانhiranhiiraanP -جوبا الوسطى middle jubaجُبّادا دهِكسي jubbada dhexeI -جوبا السفلى -lower juba jubbada hooseجُبّادا هوس -مدجmudugمدق - -نوجآلnugaalnugal - -سَنآجsanaag0 -شابيلاها دهكسيshabeellaha dhexeb -شابيلاّها هووسشبيلا السفلىشبيلي السفلىshabeellaha hoose5 -سولصولsoolمحافطة سولسوول* - توجديرtogdheerتوجْدهيرH -وقويي جالبيد‎ووكويي جالبيدwoqooyi galbeed \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SR b/.config/google-chrome/AutofillStates/2020.11.2.164946/SR deleted file mode 100644 index 4b18f434..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SR +++ /dev/null @@ -1,17 +0,0 @@ - -SR! - -brokopondobrokopondo district - -commewijne -coronie - marowijne - -nickerie) -par'boparamaribo district -paramaribo -para - saramacca - -sipaliwini -wanica \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SS b/.config/google-chrome/AutofillStates/2020.11.2.164946/SS deleted file mode 100644 index 044dc6e1..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SS +++ /dev/null @@ -1,15 +0,0 @@ - -SSM -northern bahr el ghazalshamal bahr alghazalشمال بحر الغزالJ -gharb bahr al ghazalwestern bahr el ghazalغرب بحر الغزال] -al istiwāʾiyya al wusṭāوسط الاستوائية bahr al jabalcentral equatorial -eastern equatoriaشرق الاستوائيةsharq al istiwa iyah$خط الإستوائي الشرقيF -gharb al istiwa'iyahغرب الاستوائيةwestern equatoria -jonglei جونقليjunqali% - -albuhayratlakesالبحيراتA - a aly an nylaâlâ en nîl -upper nileأعالي النيل- - al wahdahunity الوحدة unity state# -warab -وارابwarrabwarrap \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/ST b/.config/google-chrome/AutofillStates/2020.11.2.164946/ST deleted file mode 100644 index 3a548ca5..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/ST +++ /dev/null @@ -1,5 +0,0 @@ - -ST - príncipeprincipe - -são tomésao tome \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SV b/.config/google-chrome/AutofillStates/2020.11.2.164946/SV deleted file mode 100644 index 36e5bb68..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SV +++ /dev/null @@ -1,18 +0,0 @@ - -SV% - ahuachapánahuachapán department -cabañascabañas department' - chalatenangochalatenango department. - cuscatlan -cuscatláncuscatlán department% - la libertadla libertad department -morazánmorazán department -la pazla paz department< -departamento de santa anasanta ana department santa ana# - -san miguelsan miguel department! - sonsonatesonsonate department' - san salvadorsan salvador department% - san vicentesan vicente department! - la uniónla unión department! - usulutánusulután department \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SX b/.config/google-chrome/AutofillStates/2020.11.2.164946/SX deleted file mode 100644 index 3d85717a..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SX +++ /dev/null @@ -1,5 +0,0 @@ - -SX+ - -dutch side sint maartensxm -st maarten \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SY b/.config/google-chrome/AutofillStates/2020.11.2.164946/SY deleted file mode 100644 index e147e8ae..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SY +++ /dev/null @@ -1,19 +0,0 @@ - -SYP -دمشقgouvernorat de damasمحافظة دمشق‎damascus governoratec -درعامحافظة درعاgouvernorat de deraaمُحافظة درعاdaraa governoratez -دير الزورdeir ezzor governorateمحافظة دير الزور dayr azzawr مُحافظة دير الزورu - الحسكةgouvernorat d'hassakéalhasakah governorateمحافظة الحسكةمُحافظة الحسكة^ -حمصgouvernorat de homshoms governorateمحافظة حمصمُحافظة حمص‎E -حلبمحافظة حلبgouvernorat d'alepaleppo governorateg -حماةhama governorategouvernorat de hamahamaمُحافظة حماهمحافظة حماهn -إدلبgouvernorat d'idlebمُحافظة ادلبمحافظة ادلبidlib governorate -إدليب‹ -اللاذقيةlatakia governorateمحافظة اللاذقيةgouvernorat de lattaquiélatakiaمُحافظة اللاذقيةr -القنيطرةquneitra governoratequneitraمُحافظة القنيطرةمحافظة القنيطرة: - -الرقةarraqqaarraqqahمُحافظة الرقةƒ -ريف دمشقrifdimashq governorateمُحافظة ريف دمشقمحافظة ريف دمشقgouvernorat de rif dimachq¢ -السويداءمُحافظة السويداء assuwaydaassuwayda governorateالسويداء‎محافظة السويداءgouvernorat de soueïdaH - -طرطوسtartousمُحافظة طرطوسgouvernorat de tartous \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/SZ b/.config/google-chrome/AutofillStates/2020.11.2.164946/SZ deleted file mode 100644 index 5b7da1a8..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/SZ +++ /dev/null @@ -1,7 +0,0 @@ - -SZ -hhohho hhohho region -lubombolubombo region -manzinimanzini region - -shiselwenishiselweni region \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/TC b/.config/google-chrome/AutofillStates/2020.11.2.164946/TC deleted file mode 100644 index a14bce74..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/TC +++ /dev/null @@ -1,4 +0,0 @@ - -TC -caicos islands - turks islands \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/TD b/.config/google-chrome/AutofillStates/2020.11.2.164946/TD deleted file mode 100644 index a3904b7d..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/TD +++ /dev/null @@ -1,29 +0,0 @@ - -TDG -البطحة‎بتهامنطقة البطحة -بطحاءbatha3 -بحر الغزال barh el gazel bahr el gazelK -بركومنطقة بوركو بوركو إندي تيبستيborkouk -شاري باقرميمنطقة كانمrégion du charibaguirmi charibaguirmiشاريباجرمي) - -إنيديennediplateau de l'ennedi0 -guéraguera -جويرامنطقة قيراf -حجر لميسrégion du hadjerlamisمنطقة حجر لميسhadjerlamis region hadjerlamis -كانمkanem -البحيرةلاكlac, -لوقون الغربيlogone occidental* -لوقون الشرقيlogone oriental! - ماندولmandoulمندل8 -شاري الأوسطموين تشاري -moyenchari/ -مايو كيبي الشرقي mayokebbi est1 -مايو كيبي الغربيmayokebbi ouest& -archidiocèse de ndjamena n'djamenaH - أوادايودايouaddaïمنطقة ودايouaddaï region@ - سلاماتsalamat regionsalamatمنطقة سلامات -سيلاsila1 - تانجليtandjile tandjilé تانجيل - -تبستيtibesti -وادي فيرا wadi fira \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/TG b/.config/google-chrome/AutofillStates/2020.11.2.164946/TG deleted file mode 100644 index 8520e8d2..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/TG +++ /dev/null @@ -1,7 +0,0 @@ - -TG- -centralerégion centralecentrale region' -kara kara regionrégion de la kara- -maritimerégion maritimemaritime region1 -plateauxrégion des plateauxplateaux region. -région des savanessavanessavanes region \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/TH b/.config/google-chrome/AutofillStates/2020.11.2.164946/TH deleted file mode 100644 index d3db3c20..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/TH +++ /dev/null @@ -1,87 +0,0 @@ - -TH2 -'กรุงเทพมหานครbangkokÈ -7จังหวัด สมุทรปราการ$จสมุทรปราการ!สมุทรปราการ6จังหวัดสมุทรปราการ samut prakan– -+จังหวัด นนทบุรีจนนทบุรี*จังหวัดนนทบุรีนนทบุรี -nonthaburi¤ -.จังหวัด ปทุมธานีจปทุมธานี pathum thaniปทุมธานี-จังหวัดปทุมธานี„ -Cจังหวัด พระนครศรีอยุธยา0จพระนครศรีอยุธยา-พระนครศรีอยุธยาphra nakhon si ayutthayaBจังหวัดพระนครศรีอยุธยา• -+จังหวัด อ่างทองจอ่างทองอ่างทอง*จังหวัดอ่างทอง ang thong‡ -(จังหวัด ลพบุรีจลพบุรีlopburiลพบุรี'จังหวัดลพบุรี­ -1จังหวัด สิงห์บุรีจสิงห์บุรีสิงห์บุรี sing buri0จังหวัดสิงห์บุรีˆ -(จังหวัด ชัยนาทจชัยนาท'จังหวัดชัยนาทchai natชัยนาท” -+จังหวัด สระบุรีจสระบุรี*จังหวัดสระบุรีsaraburiสระบุรี‰ -(จังหวัด ชลบุรีจชลบุรี'จังหวัดชลบุรีชลบุรี chon buriz -%จังหวัด ระยองจระยองrayongระยอง$จังหวัดระยอง£ -.จังหวัด จันทบุรีจจันทบุรี-จังหวัดจันทบุรี chanthaburiจันทบุรีl -"จังหวัด ตราดจตราด ตราดtrat!จังหวัดตราด¼ -4จังหวัด ฉะเชิงเทรา!จฉะเชิงเทรา chachoengsao3จังหวัดฉะเชิงเทราฉะเชิงเทรา¼ -4จังหวัด ปราจีนบุรี!จปราจีนบุรี3จังหวัดปราจีนบุรี prachin buriปราจีนบุรี˜ -+จังหวัด นครนายกจนครนายกนครนายก nakhon nayok*จังหวัดนครนายก“ -+จังหวัด สระแก้วจสระแก้วสระแก้วsa kaeo*จังหวัดสระแก้วÁ -4จังหวัด นครราชสีมา!จนครราชสีมาnakhon ratchasima3จังหวัดนครราชสีมานครราชสีมา¬ -1จังหวัด บุรีรัมย์จบุรีรัมย์บุรีรัมย์buri ram0จังหวัดบุรีรัมย์ -.จังหวัด สุรินทร์จสุรินทร์-จังหวัดสุรินทร์สุรินทร์surin¡ -.จังหวัด ศรีสะเกษจศรีสะเกษ-จังหวัดศรีสะเกษ si sa ketศรีสะเกษÌ -7จังหวัด อุบลราชธานี$จอุบลราชธานี6จังหวัดอุบลราชธานี!อุบลราชธานีubon ratchathani| -%จังหวัด ยโสธรจยโสธรยโสธร$จังหวัดยโสธรyasothon– -+จังหวัด ชัยภูมิจชัยภูมิ*จังหวัดชัยภูมิชัยภูมิ -chaiyaphum¾ -4จังหวัด อำนาจเจริญ"จ อำนาจเจริญ amnat charoenอำนาจเจริญ3จังหวัดอำนาจเจริญŠ -(จังหวัด บึงกาฬจ บึงกาฬ'จังหวัดบึงกาฬ bueng kanบึงกาฬÌ -7จังหวัด หนองบัวลำภู$จหนองบัวลำภู6จังหวัดหนองบัวลำภูnong bua lam phu!หนองบัวลำภู• -ขอนแก่นจขอนแก่น khon kaen+จังหวัด ขอนแก่น*จังหวัดขอนแก่น¢ -.จังหวัด อุดรธานีจอุดรธานีอุดรธานี -udon thani-จังหวัดอุดรธานี` -จังหวัด เลย จเลยloeiจังหวัดเลย เลย{ -+จังหวัด หนองคาย nong khaiหนองคาย*จังหวัดหนองคาย± -1จังหวัด มหาสารคามจมหาสารคาม maha sarakhamมหาสารคาม0จังหวัดมหาสารคามž -.จังหวัด ร้อยเอ็ดจร้อยเอ็ดroi et-จังหวัดร้อยเอ็ดร้อยเอ็ด« -กาฬสินธุ์จกาฬสินธิ์1จังหวัด กาฬสินธุ์0จังหวัดกาฬสินธุ์kalasinŒ -(จังหวัด สกลนครจสกลนครสกลนคร'จังหวัดสกลนคร sakon nakhonv -(จังหวัด นครพนม'จังหวัดนครพนม nakhon phanomนครพนมƒ -.จังหวัด มุกดาหารมุกดาหารmukdahan-จังหวัดมุกดาหาร® -1จังหวัด เชียงใหม่จเชียงใหม่ -chiang mai0จังหวัดเชียงใหม่เชียงใหม่{ -%จังหวัด ลำพูนจลำพูน$จังหวัดลำพูนลำพูนlamphun{ -%จังหวัด ลำปางจลำปางlampangลำปาง$จังหวัดลำปาง­ -1จังหวัด อุตรดิตถ์จอุตรดิตถ์อุตรดิตถ์0จังหวัดอุตรดิตถ์ uttaraditm -"จังหวัด แพร่จแพร่!จังหวัดแพร่ แพร่phrael -"จังหวัด น่านจ น่าน!จังหวัดน่าน น่านnanf -%จังหวัด พะเยาphayao$จังหวัดพะเยาพะเยา¢ -.จังหวัด เชียงรายจเชียงรายเชียงราย -chiang rai-จังหวัดเชียงราย™ -4จังหวัด แม่ฮ่องสอน mae hong sonแม่ฮ่องสอน3จังหวัดแม่ฮ่องสอน° -1จังหวัด นครสวรรค์จนครสวรรค์ nakhon sawanนครสวรรค์0จังหวัดนครสวรรค์ -1จังหวัด อุทัยธานี uthai thani0จังหวัดอุทัยธานีอุทัยธานี² -กำแพงเพชรจกำแพงเพชรkamphaeng phet0จังหวัดกำแพงเพชร1จังหวัด กำแพงเพชร_ -จังหวัด ตาก จตาก ตากtakจังหวัดตาก• -+จังหวัด สุโขทัยจสุโขทัยสุโขทัย*จังหวัดสุโขทัย sukhothai£ -.จังหวัด พิษณุโลกจพิษณุโลก phitsanulokพิษณุโลก-จังหวัดพิษณุโลก‡ -(จังหวัด พิจิตรจพิจิตรphichitพิจิตร'จังหวัดพิจิตร® -1จังหวัด เพชรบูรณ์จเพชรบูรณ์เพชรบูรณ์ -phetchabun0จังหวัดเพชรบูรณ์– -+จังหวัด ราชบุรีจราชบุรี*จังหวัดราชบุรี -ratchaburiราชบุรี° -กาญจนบุรีจกาญจนบุรี0จังหวัดกาญจนบุรี kanchanaburi1จังหวัด กาญจนบุรี» -4จังหวัด สุพรรณบุรี!จสุพรรณบุรี suphan buriสุพรรณบุรี3จังหวัดสุพรรณบุรี -(จังหวัด นครปฐมจนคาปฐม nakhon pathom'จังหวัดนครปฐมนครปฐม° -1จังหวัด สมุทรสาครจสมุทรสาคร0จังหวัดสมุทรสาครสมุทรสาคร samut sakhon¥ -7จังหวัด สมุทรสงครามsamut songkhram!สมุทรสงคราม6จังหวัดสมุทรสงคราม¤ -.จังหวัด เพชรบุรีจ เพชรบุรีเพชรบุรี-จังหวัดเพชรบุรี phetchaburiÿ -Cจังหวัด ประจวบคีรีขันธ์0จประจวบคีรีขันธ์-ประจวบคีรีขันธ์prachuap khiri khanBจังหวัดประจวบคีรีขันธ์ç -=จังหวัด นครศรีธรรมราช*จนครศรีธรรมราชnakhon si thammarat<จังหวัดนครศรีธรรมราช'นครศรีธรรมราช… -กระบี่จกระบี่krabi(จังหวัด กระบี่'จังหวัดกระบี่h -%จังหวัด พังงาพังงา$จังหวัดพังงาphangnga† -(จังหวัด ภูเก็ตจภูเก็ต'จังหวัดภูเก็ตphuketภูเก็ตÓ -:จังหวัด สุราษฎร์ธานี'จสุราษฎร์ธานี9จังหวัดสุราษฎร์ธานี surat thani$สุราษฎร์ธานี{ -%จังหวัด ระนองจ ระนอง$จังหวัดระนองระนองranong| -%จังหวัด ชุมพรจชุมพรchumphon$จังหวัดชุมพรชุมพร| -%จังหวัด สงขลาจสงขลาsongkhlaสงขลา$จังหวัดสงขลาm -"จังหวัด สตูลจสตูล สตูล!จังหวัดสตูลsatunm -"จังหวัด ตรังจตรัง!จังหวัดตรัง ตรังtrangt -(จังหวัด พัทลุงพัทลุง phatthalung'จังหวัดพัทลุง“ -+จังหวัด ปัตตานีจปัตตานีปัตตานีpattani*จังหวัดปัตตานีl -"จังหวัด ยะลาจยะลา!จังหวัดยะลา ยะลาyala¢ -.จังหวัด นราธิวาสจนราธิวาส-จังหวัดนราธิวาสนราธิวาส -narathiwat \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/TJ b/.config/google-chrome/AutofillStates/2020.11.2.164946/TJ deleted file mode 100644 index cb5856e1..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/TJ +++ /dev/null @@ -1,6 +0,0 @@ - -TJh -Aвилояти мухтори кӯҳистони бадахшон#gornobadakhshan autonomous province/ -вилояти хатлонkhatlon provinceS -*ноҳияҳои тобеи ҷумҳурӣ%districts of republican subordination) -вилояти суғдsughd province \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/TK b/.config/google-chrome/AutofillStates/2020.11.2.164946/TK deleted file mode 100644 index 1faad51d..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/TK +++ /dev/null @@ -1,6 +0,0 @@ - -TK -atafu -fakaofo - -nukunonu \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/TL b/.config/google-chrome/AutofillStates/2020.11.2.164946/TL deleted file mode 100644 index e4e21c27..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/TL +++ /dev/null @@ -1,18 +0,0 @@ - -TL -aileu -ainaro -baucau -bobonarobobonaru - cova limacovalima -dilidíli -ermera -lautemlautém -liquica liquiçá - -manufahi - -manatuto( - oekusi ambenuoecusse ambenooecusse - -viqueque \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/TM b/.config/google-chrome/AutofillStates/2020.11.2.164946/TM deleted file mode 100644 index c49c2c27..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/TM +++ /dev/null @@ -1,8 +0,0 @@ - -TM -ahal -balkanbalkan welaýaty% -daşoguz welaýatydaşoguz region -lebap -marymary welaýaty -aşgabatashgabat \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/TN b/.config/google-chrome/AutofillStates/2020.11.2.164946/TN deleted file mode 100644 index e2050474..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/TN +++ /dev/null @@ -1,34 +0,0 @@ - -TN< -تونسgouvernorat de tunisولاية تونسtunisH - أريانةarianagouvernorat de l'arianaولاية أريانةN - بن عروسولاية بن عروسgouvernorat de ben arous ben arousJ - -منوبة -la manoubagouvernorat de la manoubaولاية منوبة> -نابلgouvernorat de nabeulولاية نابلnabeulT - -زغوانzaghouangouvernorat de zaghouan زَغوانولاية زغوانD - -بنزرتولاية بنزرتgouvernorat de bizertebizerted -باجةbejaولاية باجة‎gouvernorat de béjaولاية باجةbéjaبيجاJ - جندوبةgouvernorat de jendoubajendoubaولاية جندوبةD - -الكافalkāfgouvernorat du kefkefولاية الكافH - سليانةsilianagouvernorat de silianaولاية سليانةR -القيروانولاية القيروانkairouangouvernorat de kairouanP -القصرينولاية القصرين kasserinegouvernorat de kasserine_ -سيدي بوزيدgouvernorat de sidi bouzid sidi bou zidولاية سيدي بوزيد> -سوسةgouvernorat de soussesousseولاية سوسة_ -المنستيرولاية المنستيرmonastir almunastîrgouvernorat de monastirW -المهديةgouvernorat de mahdiaولاية المهديةmahdia almahdÄ«yahg - -صفاقسولاية صفاقس‎gouvernorat de sfaxولاية صفاقسsfax صفاقس‎< -قفصةgouvernorat de gafsagafsaولاية قفصة> -توزرtozeurولاية توزرgouvernorat de tozeurH -قبليولاية قبليkébiligouvernorat de kébilikebiliQ -قابس -قابِسgabèsولاية قابسgabesgouvernorat de gabèsR - -مدنينmedeninegouvernorat de médenine médenineولاية مدنينL - تطاوينولاية تطاوينgouvernorat de tataouine tataouine \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/TO b/.config/google-chrome/AutofillStates/2020.11.2.164946/TO deleted file mode 100644 index 88680983..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/TO +++ /dev/null @@ -1,7 +0,0 @@ - -TO -'euaeua -ha'apai -niuas - tongatapu -vava'u \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/TR b/.config/google-chrome/AutofillStates/2020.11.2.164946/TR deleted file mode 100644 index 57e17d93..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/TR +++ /dev/null @@ -1,96 +0,0 @@ - -TR -adana - adıyaman -afyonkarahisar -ağrı -amasya -ankara -antalya -artvin -aydın - -balıkesir -bilecik -bingöl -bitlis -bolu -burdur -bursa - -çanakkale - -çankırı -çorum -denizli - diyarbakır -edirne - -elazığ - -erzincan -erzurum - -eskişehir - gaziantep -giresun - gümüşhane -hakkari -hatay -isparta -mersin -istanbul -i̇stanbul -i̇zmir -kars - kastamonu -kayseri - kırklareli - -kırşehir -kocaeli -konya - -kütahya -malatya -manisa -kahramanmaraş -mardin -muğla -muş - nevşehir -niğde -ordu -rize -rize i̇li -sakarya -samsun -siirt -sinop -sivas - tekirdağ -tokat -trabzon -tunceli - şanlıurfa -uşak -van -yozgat - zonguldak -aksaray -bayburt -karaman - kırıkkale -batman - -şırnak -bartın -ardahan -iğdır -yalova - -karabük -kilis - -osmaniye -düzce \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/TT b/.config/google-chrome/AutofillStates/2020.11.2.164946/TT deleted file mode 100644 index 1dece9f4..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/TT +++ /dev/null @@ -1,18 +0,0 @@ - -TT" -arimaarima borough corporation* - chaguanaschaguanas borough corporationC -couvatabaquitetalparo*couvatabaquitetalparo regional corporation1 - diego martin!diego martin regional corporation5 -eastern tobago#eastern tobago regional corporationL - penaldebepenaldebe regional corporationpenal/debe regional corporation* - port of spainport of spain corporation1 - princes town!princes town regional corporation0 - point fortin point fortin borough corporation^ -%mayaro rio claro regional corporationrio claromayaro$rio claromayaro regional corporation- - san fernandosan fernando city corporation3 - sangre grande"sangre grande regional corporation' -sipariasiparia regional corporationh -san juanlaventille'san juanlaventille regional corporation)san juan/laventille municipal corporation‚ -tunapunapiarco$tunapuna/piarco regional corporation#tunapunapiarco regional corporation%tunapuna/piarco municipal corporation5 -western tobago#western tobago regional corporation \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/TV b/.config/google-chrome/AutofillStates/2020.11.2.164946/TV deleted file mode 100644 index 00b05ccd..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/TV +++ /dev/null @@ -1,13 +0,0 @@ - -TV - niulakita - -funafuti -niutao -nui - nukufetau - -nukulaelae -nanumea -nanumaga nanumanga -vaitupu \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/TW b/.config/google-chrome/AutofillStates/2020.11.2.164946/TW deleted file mode 100644 index 7cc31215..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/TW +++ /dev/null @@ -1,10 +0,0 @@ - -TW$ -福建fujian province 福建省' - 台灣省taiwan province 臺灣省& - 高雄市kaohsiung city 高雄縣, - 桃園市 桃園縣 taoyuan city桃縣. - 台南市 台南縣 臺南市 tainan city# - 台北市 taipei city 臺北市' - 台北縣new taipei city 新北市0 - 台中市 taichung city 臺中市 台中縣 \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/TZ b/.config/google-chrome/AutofillStates/2020.11.2.164946/TZ deleted file mode 100644 index 8d972951..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/TZ +++ /dev/null @@ -1,33 +0,0 @@ - -TZ' -njombe njombe regionmkoa wa njombe - dar es salam dar es salaam$ -geita geita region mkoa wa geita' -arushamkoa wa arusha arusha region' -dodoma dodoma regionmkoa wa dodoma' -iringa iringa regionmkoa wa iringa' -kageramkoa wa kagera kagera regiono -north pemba regionpemba north regionmkoa wa pemba kaskazinikaskazinipemba pemba northkaskazini pembay -unguja north regionkaskazini ungujazanzibar north regionmkoa wa unguja kaskazinizanzibar northkaskaziniunguja' -kigomamkoa wa kigoma kigoma region6 - kilimanjarokilimanjaro regionmkoa wa kilimanjarof - pemba southpemba south region kusini pemba kusinipembamkoa wa pemba kusinisouth pemba region¢ - kusini ungujazanzibar centralmkoa wa unguja kusinizanzibar south kusiniungujazanzibar central/south regionunguja south regionzanzibar central/south$ -lindi mkoa wa lindi lindi region! -mara mara region mkoa wa mara$ -mbeya mbeya region mkoa wa mbeya² -mjini magharibi regionzanzibar urban west regionmjini magharibimjinimagharibimkoa wa unguja mjini magharibimkoa wa mjini magharibi zanzibar westzanzibar urban/west- -morogoromorogoro regionmkoa wa morogoro' -mtwaramkoa wa mtwara mtwara region' -mwanzamkoa wa mwanza mwanza region2 - coast region pwani regionpwani mkoa wa pwani$ -rukwa rukwa region mkoa wa rukwa' -ruvuma ruvuma regionmkoa wa ruvuma0 - shinyangashinyanga regionmkoa wa shinyanga* -singidasingida regionmkoa wa singida' -tabora tabora regionmkoa wa tabora$ -tanga tanga region mkoa wa tanga* -manyaramanyara regionmkoa wa manyara' -katavimkoa wa katavi katavi region' -simiyu simiyu regionmkoa wa simiyu' -songwe songwe regionmkoa wa songwe \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/UA b/.config/google-chrome/AutofillStates/2020.11.2.164946/UA deleted file mode 100644 index 9f68213e..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/UA +++ /dev/null @@ -1,29 +0,0 @@ - -UAI -вінницька!вінницька областьvinnytsia oblastL -волинська обл!волинська область volyn oblastN -луганська облluhansk oblast!луганська областьq -'дніпропетровська обл/дніпропетровська областьdnipropetrovsk oblastJ -донецька облdonetsk oblastдонецька областьW -житомирська обл%житомирська областьzhytomyr oblast^ -закарпатська обл'закарпатська областьzakarpattia oblastU -запорізька обл#запорізька областьzaporizhia oblastq -'іванофранківська обл/іванофранківська областьivanofrankivsk oblast -місто київ kyiv city@ -київськакиївська область kyiv oblaste -#кіровоградська облkirovohrad oblast+кіровоградська область; -севастополь!город севастопольU - ар крым2автономная республика крымкрымcrimeaK -львівська обл lviv oblast!львівська область: -'миколаївська областьmykolaiv oblastE -одеська облодеська область odessa oblastR -полтавська обл#полтавська областьpoltava oblastP -рівненська обл#рівненська область rivne oblastC -сумська обл sumy oblastсумська область] -тернопільска обл)тернопільська областьternopil oblastR -харківська облkharkiv oblast#харківська областьR -херсонська обл#херсонська областьkherson oblast[ -хмельницька обл%хмельницька областьkhmelnytskyi oblastO -черкаська обл!черкаська областьcherkasy oblast\ -чернігівська обл'чернігівська областьchernihiv oblast: -%чернівецька областьchernivtsi oblast \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/UG b/.config/google-chrome/AutofillStates/2020.11.2.164946/UG deleted file mode 100644 index 23f39487..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/UG +++ /dev/null @@ -1,6 +0,0 @@ - -UG -central region mkoa wa kati# -eastern regionmkoa wa mashariki$ -northern regionmkoa wa kaskazini# -western regionmkoa wa magharibi \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/US b/.config/google-chrome/AutofillStates/2020.11.2.164946/US deleted file mode 100644 index 5e4952b2..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/US +++ /dev/null @@ -1,61 +0,0 @@ - -US -alaskaak -alabamaalaal -arkansasarark -arizonaarizaz) - -californiacacalifthe golden state -coloradococolo - connecticutconnct, -district of columbiadist of columbiadc -delawaredelde -floridaflafl -georgiagausga -hawai'ihihawaii - -iowaia - gem stateididaho -illinoisilill -indianaindin -kansaskanskskan -kentuckyky - louisianala - massachusettsmassma@ -chesapeake bay statemdmaryland -free stateold line state -maineme -michiganmichmi - minnesotamnminn -missourimo - mississippimsmiss$ -big sky countrymontmtmontana -north carolinanc - north dakotandndak -nebraskanebrnebne - new hampshirenh - -new jerseynj - -new mexiconmnmex2 -battle born statenvnev silver statenevada0 -new yorknynew york statethe empire state - -ohiooh -oklahomaoklaok -oregonoreoregor - pennsylvaniapa - rhode islandri -south carolinasc - south dakotasdaksd - tennesseetntenn% -texastxtexthe lone star state - -utahutL -commonwealth of virginiava old dominionmother of presidentsvirginia -vermontvt - -washingtonwashwa - wisconsinwiswi - west virginiawvawv -wyomingwywyo \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/UY b/.config/google-chrome/AutofillStates/2020.11.2.164946/UY deleted file mode 100644 index 1fc63600..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/UY +++ /dev/null @@ -1,23 +0,0 @@ - -UY6 -artigasdepartamento de artigasartigas department< - canelonescanelones departmentdepartamento de canelonesB - cerro largodepartamento de cerro largocerro largo department6 -coloniacolonia departmentdepartamento de colonia6 -departamento de duraznodurazno departmentdurazno6 -departamento de floridafloridaflorida department3 -departamento de floresfloresflores department< -departamento de lavalleja lavallejalavalleja department< -departamento de maldonadomaldonado department maldonado? -departamento de montevideomontevideo department -montevideo< -departamento de paysandú paysandúpaysandú department? -departamento de río negrorío negro department -río negro0 -departamento de rocharocha departmentrocha3 -departamento de riverariverarivera department0 -departamento de saltosaltosalto department< -departamento de san josé san josésan josé department6 -departamento de sorianosorianosoriano department^ -departamento de tacuarembodepartamento de tacuarembótacuarembó department tacuarembóK -departamento de treinta y trestreinta y tres departmenttreinta y tres \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/UZ b/.config/google-chrome/AutofillStates/2020.11.2.164946/UZ deleted file mode 100644 index 86aa7c66..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/UZ +++ /dev/null @@ -1,15 +0,0 @@ - -UZA -andijon viloyatiандижон вилоятиandijan region! -buxoro viloyatibukhara regionT -farg'ona viloyatifergana regionфаргона вилоятиfargona viloyati> -jizzax viloyatiжиззах вилоятиjizzakh regionE -namangan viloyatinamangan regionнаманган вилояти= -navoiy viloyatiнавоий вилояти navoiy region* -qashqadaryo viloyatiqashqadaryo regionv -qoraqalpog’iston respublikasi7қоракалпоғистон республикасиrepublic of karakalpakstanI -samarqand viloyatisamarqand region!самарқанд вилоятиC -sirdaryo viloyatisirdaryo regionсирдарё вилояти* -surxondaryo viloyatisurxondaryo region$ -toshkent viloyatitashkent region= -xorazm viloyati xorazm regionхоразм вилояти \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/VC b/.config/google-chrome/AutofillStates/2020.11.2.164946/VC deleted file mode 100644 index 2ca4a2d9..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/VC +++ /dev/null @@ -1,10 +0,0 @@ - -VC - charlottecharlotte parish. - saint andrewsaint andrew parish st andrew! - saint davidsaint david parish. - saint georgesaint george parish st george1 - saint patrick -st patricksaint patrick parish - -grenadinesgrenadines parish \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/VE b/.config/google-chrome/AutofillStates/2020.11.2.164946/VE deleted file mode 100644 index 5bf1d771..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/VE +++ /dev/null @@ -1,34 +0,0 @@ - -VET -distrito capital dto capital!distrito metropolitano de caracascapital district- - anzoátegui -anzoateguiestado anzoátegui -apure -aragua -barinas -bolívarestado bolívar - -carabobo -cojedes -falcón - -guárico -lara -mérida -gobierno de mirandamiranda -monagas - nueva esparta - -portuguesa -sucre - -táchira - -trujillo -yaracuy -zulia_ -dependencias federales!federal dependencies of venezuela"dependencias federales venezolanas# - estado vargas -edo vargasvargas - delta amacuro -amazonasam \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/VG b/.config/google-chrome/AutofillStates/2020.11.2.164946/VG deleted file mode 100644 index 98e6fca1..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/VG +++ /dev/null @@ -1,7 +0,0 @@ - -VG -tortola - virgin gorda -anegada - other islands - jost van dyke \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/VI b/.config/google-chrome/AutofillStates/2020.11.2.164946/VI deleted file mode 100644 index b9efd86d..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/VI +++ /dev/null @@ -1,6 +0,0 @@ - -VI - st thomas -st john - -st croix \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/VN b/.config/google-chrome/AutofillStates/2020.11.2.164946/VN deleted file mode 100644 index 13fdd8a4..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/VN +++ /dev/null @@ -1,81 +0,0 @@ - -VN' - lai châutỉnh lai châulai chau$ -lào caitỉnh lào cailao cai' - hà giangtỉnh hà giangha giang) - -cao bằngcao bangtỉnh cao bằng! -sÆ¡n lason latỉnh sÆ¡n la - yên báitỉnh yên bái# - tuyên quangtỉnh tuyên quang! - lạng sÆ¡ntỉnh lạng sÆ¡n# - quảng ninhtỉnh quảng ninh5 - -hoà bìnhhoa binhtỉnh hòa bình -hòa bình4 - -ninh bìnhtỉnh ninh bìnhninh bình province, - thái bình thai binhtỉnh thái bình6 - -thanh hoá -thanh hóa thanh hoatỉnh thanh hóa& - nghệ annghe antỉnh nghệ an& - hà tÄ©nhtỉnh hà tÄ©nhha tinh: - quảng bìnhtỉnh quảng bìnhquang binh province= - quảng trịtỉnh quảng trịquảng trị provinceW -thừa thiên huếthừa thiên huếthua thien huetỉnh thừa thiên huế5 - quảng namquang nam provincetỉnh quảng nam+ -kon tumtỉnh kon tumkon tum province1 - quảng ngãi -quang ngaitỉnh quảng ngãi -gia laitỉnh gia lai9 - bình địnhtỉnh bình địnhbinh dinh province1 - phú yênphú yên provincetỉnh phú yên8 -tỉnh đăk lăk đắk lắkđắk lắk provinceB - khánh hoàtỉnh khánh hòakhanh hoa province khánh hòa# - lâm đồngtỉnh lâm đồng8 - ninh thuậnninh thuan provincetỉnh ninh thuận1 - tây ninhtỉnh tây ninhtây ninh province+ -tỉnh đồng nai đồng naidong nai= - bình thuậntỉnh bình thuậnbình thuận province+ -long antỉnh long anlong an provinceG -bà rịa vÅ©ng tàutỉnh bà rịa vÅ©ng tàuba ria vung tau. -an giangtỉnh an giangan giang province= -tỉnh đồng thápđồng tháp province đồng tháp/ - tiền giang -tien giangtỉnh tiền giang- - kiên giang -kien giangtỉnh kiên giang* - -vÄ©nh longtỉnh vÄ©nh long vinh long& - bến treben tretỉnh bến tre' - trà vinhtra vinhtỉnh trà vinh, - sóc trăngtỉnh sóc trăng soc trang7 - bắc kạnbắc kạn provincetỉnh bắc kạn, - bắc giang bac giangtỉnh bắc giang+ - bạc liêubac lieutỉnh bạc liêu2 - -bắc ninhtỉnh bắc ninhbac ninh province1 - bình dÆ°Æ¡ng -binh duongtỉnh bình dÆ°Æ¡ng3 -bình phước -binh phuoctỉnh bình phước! -cà mautỉnh cà mauca mau0 - hải dÆ°Æ¡ng hai duongtỉnh hải dÆ°Æ¡ng -hà namtỉnh hà nam) - -hÆ°ng yênhung yentỉnh hÆ°ng yên+ - nam địnhtỉnh nam địnhnam dinh1 - -phú thọphu tho provincetỉnh phú thọ2 - thái nguyêntỉnh thái nguyên thai nguyen5 - vÄ©nh phúcvinh phuc provincetỉnh vÄ©nh phúc0 -tỉnh điện biên điện biên dien bien9 -tỉnh đăk nông đăk nôngdak nong đắk nông, - hậu giangtỉnh hậu giang hau giang. -cà mau -cần thÆ¡thành phố cần thÆ¡0 -thành phố đà nẵngda nang đà nẵng@ - hà nộithủ đô hà nộithành phố hà nộihanoi* - hải phòng hai phongtp hải phòngJ -hồ chí minhthành phố hồ chí minh sài gònho chi minh city \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/VU b/.config/google-chrome/AutofillStates/2020.11.2.164946/VU deleted file mode 100644 index 10903362..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/VU +++ /dev/null @@ -1,8 +0,0 @@ - -VU -malampa provincemalampa -penama provincepénama -sanma provincesanma -shefa provinceshéfa -tafea provincetaféa -torba provincetorba \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/WF b/.config/google-chrome/AutofillStates/2020.11.2.164946/WF deleted file mode 100644 index c1d0b71f..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/WF +++ /dev/null @@ -1,5 +0,0 @@ - -WF -alo -sigave -wallis \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/WS b/.config/google-chrome/AutofillStates/2020.11.2.164946/WS deleted file mode 100644 index 28de22ba..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/WS +++ /dev/null @@ -1,14 +0,0 @@ - -WS -a'ana - -aigailetai -atua - fa'asaleleaga - gaga'emauga - gaga'ifomauga -palauli - satupa'itea - tuamasaga - va'aofonoti - vaisigano \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/XK b/.config/google-chrome/AutofillStates/2020.11.2.164946/XK deleted file mode 100644 index b8fd72e7..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/XK +++ /dev/null @@ -1,9 +0,0 @@ - -XKZ -qarku i pejësregjioni i pejësrajoni i pejësпећки округ peć district] -rajoni i prizrenitregjioni i prizrenitпризренски округprizren district| -rajoni i mitrovicësregjioni i mitrovicës/косовскомитровачки округkosovska mitrovica districtb -rajoni i prishtinëspristina districtregjioni i prishtinësприштински округ\ -rajoni i ferizajitурошевачки округuroÅ¡evac districtrajonii ferizajit^ -rajoni i gjakovësregjioni i gjakovësђаковички округdistrict of gjakoval -qarku i gjilanitgnjilane districtregjioni i gjilanitгњилански округrajoni i gjilanit \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/YE b/.config/google-chrome/AutofillStates/2020.11.2.164946/YE deleted file mode 100644 index 636cb0fc..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/YE +++ /dev/null @@ -1,26 +0,0 @@ - -YE4 -أبينabyan governorateمحافظة أبين0 -عدنمحافظة عدن'adan governorate9 - -عمرانمحافظة عمران'amran governorate4 -محافظة البيضاءal bayda' governorate? - الضالعمحافظة الضالعad dali' governorate5 -ذمارdhamar governorateمحافظة ذمارA - حضرموتمحافظة حضرموتhadhramaut governorate? -حجة حجة‎hajjah governorateمحافظة حجة‎F -الحديدةمحافظة الحديدةal hudaydah governorate* -إبibb governorateمحافظة إب: - -الجوفمحافظة الجوفal jawf governorate0 -لحجlahij governorateمحافظة لحج5 -مأربma'rib governorateمحافظة مأرب@ - المهرةمحافظة المهرةal mahrah governorateD -المحويتal mahwit governorateمحافظة المحويتV -ريمةمحافظة ريمهمحافظة ريمةريمهraymah governorate1 -أمانة العاصمةcapital municipality4 -صعدةsaada governorateمحافظة صعدة6 -شبوةshabwah governorateمحافظة شبوة9 - -صنعاءsana'a governorateمحافظة صنعاء0 -تعزtaizz governorateمحافظة تعز \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/YT b/.config/google-chrome/AutofillStates/2020.11.2.164946/YT deleted file mode 100644 index f3806efb..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/YT +++ /dev/null @@ -1,25 +0,0 @@ - -YT -koungou - -bandrélébandrele - -dzaoudzi - m'tsangamouji mtsangamouji -canton de tsingonitsingoni -dembeni - -ouangani -canton d'acouaacoua -canton de sadasada - -bandraboua -bouéniboueni - mamoudzou - mtsamboro - -pamandzi -canton de chirongui chirongui - -kani kéli kani keli -chiconi \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/ZA b/.config/google-chrome/AutofillStates/2020.11.2.164946/ZA deleted file mode 100644 index 7ddb04df..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/ZA +++ /dev/null @@ -1,14 +0,0 @@ - -ZAM - eastern capeecooskaapkwaxhosakapa botjhabelaiphondo yampumakoloni[ - -free statefsiphondo yafreyistatavrystaatorange free state ifleyistata freistata. -gtgpigautenggautengiphondo yarhawuti3 -limpopolpiphondo yalimpoponorthern province& - -mpumalangampiphondo yampumalangaX - northern capenc noordkaap kapa leboyaikipi lasenyakathoiphondo yasemntlakoloni? - kwazulunatalkznnl kwazulunatalaiphondo yakwazulunatalao - -north westnwnoordwesleboya bophirimelanyakathontshonalangabokone bophirimiphondo yasemntlantshona^ - western capewcweskaapiphondo yantshonakolonikapa bophirimelaikipi lasentshonalanga \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/ZM b/.config/google-chrome/AutofillStates/2020.11.2.164946/ZM deleted file mode 100644 index bc22d7df..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/ZM +++ /dev/null @@ -1,12 +0,0 @@ - -ZM -westernwestern province -centralcentral province+ -easterneastern provinceeastern zambia -luapulaluapula province -northernnorthern province% - northwesternnorthwestern province -southernsouthern province! - -copperbeltcopperbelt province -lusakalusaka province \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/ZW b/.config/google-chrome/AutofillStates/2020.11.2.164946/ZW deleted file mode 100644 index 6b5692c2..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/ZW +++ /dev/null @@ -1,13 +0,0 @@ - -ZW -bulawayobulawayo province -harareharare province! - -manicalandmanicaland province3 -mashonaland centralmashonaland central province8 -mashonaland eastmashonaland east province mahusekwa -midlandsmidlands province1 -matabeleland northmatabeleland north province1 -matabeleland southmatabeleland south province' -masvingovictoriamasvingo province- -mashonaland westmashonaland west province \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/_metadata/verified_contents.json b/.config/google-chrome/AutofillStates/2020.11.2.164946/_metadata/verified_contents.json deleted file mode 100644 index b31fe932..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/_metadata/verified_contents.json +++ /dev/null @@ -1 +0,0 @@ -[{"description":"treehash per file","signed_content":{"payload":"eyJjb250ZW50X2hhc2hlcyI6W3siYmxvY2tfc2l6ZSI6NDA5NiwiZGlnZXN0Ijoic2hhMjU2IiwiZmlsZXMiOlt7InBhdGgiOiJBRCIsInJvb3RfaGFzaCI6IndFX2FPTjRZSngyWGEwWVluOUhzSXNwNXk3X25SLWVrbjhIMWVwU0RjcmMifSx7InBhdGgiOiJBRSIsInJvb3RfaGFzaCI6IldZd1cxUVVuZjYxRkVUVkNCLV9BUmUyTEl3aG9mOVVVblhQY2JrQkhIWnMifSx7InBhdGgiOiJBRiIsInJvb3RfaGFzaCI6ImVLV1d6MlhLdWRTaVBGRnFjb3hkcS1xZ2VXYTc5WXlrUFlqbFVzcVpBemMifSx7InBhdGgiOiJBRyIsInJvb3RfaGFzaCI6IkhSZVdPZ3ZPdEYzQmZ1TWt1QURicjVJWmVKUkU2QmJIeUJEMWlFcS0wVkEifSx7InBhdGgiOiJBTCIsInJvb3RfaGFzaCI6ImZpUU1JQzlJUm5aWTNfTDJmVzR5cWMya1ZzVHdsTEk5NFZqT3ZRaG9CVFkifSx7InBhdGgiOiJBTSIsInJvb3RfaGFzaCI6IjVpbUVHNjcyM3NLTzJ6eHZILU1sMk5wZjMtUUpwSEZIVjZEYUZ5MFdnWGcifSx7InBhdGgiOiJBTyIsInJvb3RfaGFzaCI6IlRhWWJnY2ZyZzFNa25WV0ZNVmdkYTNXRkRiS25QZjNmbEthRmxvTnRaOEUifSx7InBhdGgiOiJBUiIsInJvb3RfaGFzaCI6IjJObFowXzJ4cnV4ci1HN0VWdVg1eWhjZzhMU25uWlI4S2VTRmhjbnpaX2cifSx7InBhdGgiOiJBUyIsInJvb3RfaGFzaCI6ImJvLVlKQ3lyMzZCenN3UlJWNE91ZEFrMHNocjFEQUYtLWs3WHdXN3RrRncifSx7InBhdGgiOiJBVCIsInJvb3RfaGFzaCI6IlJkeXdjQmNqSnI5UlY3aVJkSmNybE1NT0hlLTdRNXg5ZmhWVGNUTmthUmMifSx7InBhdGgiOiJBVSIsInJvb3RfaGFzaCI6InRHc19JV2pYajJFTzNBUjkxSDRKS1hzendjaXF2UDQ1SGY4NXJqM18xRDgifSx7InBhdGgiOiJBWCIsInJvb3RfaGFzaCI6IkZhZlBSbFlEMm80ajNwdDdTeTZ6RmZhUGxKUUNoR1FNekpqR252UjUtMkUifSx7InBhdGgiOiJBWiIsInJvb3RfaGFzaCI6IkdQSEJ2c1FZSXRPTi1uWkN3UnlsVFNkcGRXX0dxYzk2bTJ5Y0JfdExfT0kifSx7InBhdGgiOiJCQSIsInJvb3RfaGFzaCI6IkdKUmJBQnJsVjJYWTBzcktNLXdpOGFJUGQybmQwRW9mV0tsSjZoWW9xMTQifSx7InBhdGgiOiJCQiIsInJvb3RfaGFzaCI6Il9leEFRQkdSS1FNb2dZLW1Zb0hORDhzVm10SHdBQzBtQ1NCSWY4Tl9tOVUifSx7InBhdGgiOiJCRCIsInJvb3RfaGFzaCI6InBzYU8zZTFlWjdHT1lYVGtPOERRaUt4WEU4YTYzT1R5eG1jRGlwOUlpaDgifSx7InBhdGgiOiJCRSIsInJvb3RfaGFzaCI6ImVwdGhSQlphNGtqUlJTVWh4QlZiRFdRX1V6Y1o3VlpOV0EzSnZJelBReTgifSx7InBhdGgiOiJCRiIsInJvb3RfaGFzaCI6IjdmY1NnWWJXMEJ5THgzWkJTT19UNWxTN2l6eWVCaW5JOWFCd0l0TkpPV2MifSx7InBhdGgiOiJCRyIsInJvb3RfaGFzaCI6Imh2LW9RUmVWWndFSGxoN2JoMFhsTEQ0WGt4NVNGWjFtWmFiNWhDRUxRT3MifSx7InBhdGgiOiJCSCIsInJvb3RfaGFzaCI6IlQ4N19OY1RLUzA1bUJYT2JWTUFQdmZRbzJIVmN0SGtPT2hGcllEdzZMcWMifSx7InBhdGgiOiJCSSIsInJvb3RfaGFzaCI6IlBWZk5sVzhpbmtORnVxWVBjeUF3ekNBb3plSVgyc1IzeTJ6RDhJb0x5cjgifSx7InBhdGgiOiJCSiIsInJvb3RfaGFzaCI6IkJmOFhWLUdiTzNZc0U4c0ZtdEVZS1dQRE05MWQyWXhENllWcWp2TnJxRWMifSx7InBhdGgiOiJCTSIsInJvb3RfaGFzaCI6Inp6bnd0emQ2RVV4ZnJPNTlCejhFZFA2QWkxZ3ZGLWRaeThlS0htTmlGV2sifSx7InBhdGgiOiJCTiIsInJvb3RfaGFzaCI6ImlsSFZnbzQyM0FLYjRXNThrenRsNFU4TFkxMTFEdWEwbXZVcWxqaGhKY00ifSx7InBhdGgiOiJCTyIsInJvb3RfaGFzaCI6InRmQ1ZqWTNCR2lpcHFSYmUxWHpVd0poTVZtTU9qdzlhMUFmMU5YamhUb00ifSx7InBhdGgiOiJCUSIsInJvb3RfaGFzaCI6IjZKMVdjSDZBaWY3SUYyaUFFMnVSMW9CMVRhaVVuWkxubmhrZlQ3bzZ6SEUifSx7InBhdGgiOiJCUiIsInJvb3RfaGFzaCI6IjE1YktpSDVjT2lLRlAyUktvX25aRFRjVV9ENlE2S3UySHU5dEpnYURDSmcifSx7InBhdGgiOiJCUyIsInJvb3RfaGFzaCI6ImhuNVhUWGxRYmY2YmVYaTIzeTJNWTJIYy1tNFFVbklVb2F4eHQtN1FPWXMifSx7InBhdGgiOiJCVCIsInJvb3RfaGFzaCI6Ilo1cDR1cE5uUUk3aS1FOFBVUzVPbDBwWmtMV1Y3SlNlOWxLOUJlZmJUSkUifSx7InBhdGgiOiJCVyIsInJvb3RfaGFzaCI6Il9NQTRBVVlqY3pZcDBmRDFJa0VaZ0JqOUVZb3F0U3QzaWMtMU43R1NsM1kifSx7InBhdGgiOiJCWSIsInJvb3RfaGFzaCI6ImVkZ1RmTURIX0V2bUsyLWlNSkJMMHg5czA0MmROa3NMZTZBbkVtb2pKSlkifSx7InBhdGgiOiJCWiIsInJvb3RfaGFzaCI6Ik53VTdQR21Qa1pkRXpLdEMweFFQOGUwdVhhaG9RcElNaENuQXd6OUoyWlUifSx7InBhdGgiOiJDQSIsInJvb3RfaGFzaCI6Ii15QmNkcjM4RWw1Q014VDVjbThfSGtIOWpmU1BNZWtMMlIxSlJodEdsSXcifSx7InBhdGgiOiJDRCIsInJvb3RfaGFzaCI6IkpsY1BXRjZtbUpVNlFxM3M4cnRVRGg2SlNoMTBpaXBzcmFpMzBzOGplWkUifSx7InBhdGgiOiJDRiIsInJvb3RfaGFzaCI6IklScmY5aUpsZWl4c2lVSnVXNXVEcVhQeDI1SXBmQWZUTTFPTmZxaTlkbEEifSx7InBhdGgiOiJDRyIsInJvb3RfaGFzaCI6Ik95N2phdkxsVHI3M2k2WTlLbll6NXBfZjJDYzU4Z3hyd2k0R1V5elRRWDQifSx7InBhdGgiOiJDSCIsInJvb3RfaGFzaCI6IndHY3lTcVF4cVduRUNibzFvOG03M1JEWWJFZEp4ZGo3NG1raU9LaG5uZ3cifSx7InBhdGgiOiJDSSIsInJvb3RfaGFzaCI6IlNNQUc4am5XQjh1S2JYdkZnTExrMWg2UDJ5dDFST3B4TXFPS0RmT2NJcmsifSx7InBhdGgiOiJDTCIsInJvb3RfaGFzaCI6IkVUNWJXVlZiNTlVb2lIVnR2OVlMZHUxdEItdDBQYnpTa05MLUlGNVFvX1EifSx7InBhdGgiOiJDTSIsInJvb3RfaGFzaCI6Ijk0QVZYdm9La3FWUFhZQ2VQUVBMa0FNYTdwdDNleFgwd1hUMHpGSHNRR00ifSx7InBhdGgiOiJDTiIsInJvb3RfaGFzaCI6IlItN2gxc1hWdzNXdlVfb3hQWWVHZm9waUtYLU9EWnVFR2pDWkZWT2JKMFkifSx7InBhdGgiOiJDTyIsInJvb3RfaGFzaCI6ImlwTGNTWS03eDFDdlpIMUZ3cHZoMEJpWHZnZFp5Nmk5SUZkdGFDMnBrZE0ifSx7InBhdGgiOiJDUiIsInJvb3RfaGFzaCI6Inowc0I4dGN1Y2Zha2tVOGlTaUxQeG05RkNuWDBLYlRGTlV4cDNHX2ZHQ2MifSx7InBhdGgiOiJDVSIsInJvb3RfaGFzaCI6ImtyV3EtckhwazVkeGxUVV9OaW9pa3Z3NHpYc1lIUHhQSnFmMG9fdG03ek0ifSx7InBhdGgiOiJDViIsInJvb3RfaGFzaCI6IkREWkd1MnNrUmNpb3pPblpSRTQ2dGIzVDhsdFZaYTVBLXFBMm5MUHJGOEEifSx7InBhdGgiOiJDVyIsInJvb3RfaGFzaCI6Ik5pRXROR0xEYmdvaEhpWUFJQ0JINWt4LVpQVUFoM3RiYU10M1dEMHM2ZmMifSx7InBhdGgiOiJDWSIsInJvb3RfaGFzaCI6IjZYdkdITS0zZDdTZm5zSXJnQ1o4WjI1a0NtcklEeXg2RzF4TU8tRVctdzQifSx7InBhdGgiOiJDWiIsInJvb3RfaGFzaCI6Il9QMzRsaDN3eno0ZTdRSlZHQ2tEbHF2alZxMkM2S1FwdXozUEpFQ3phSjQifSx7InBhdGgiOiJERSIsInJvb3RfaGFzaCI6Ik5SLWFKVl96Ni11c0lGSE13a3RHaVdaeDZ4VG5WZzdYYVREcDhjOXNmQkkifSx7InBhdGgiOiJESiIsInJvb3RfaGFzaCI6InVpOVM0SWxSNzlOa0w3MXZsV3BQcC1kUTFpMG1ZaWNLcXR6Qm01b3VkV1kifSx7InBhdGgiOiJESyIsInJvb3RfaGFzaCI6ImlsM3BZNzJ6Y29vVE01NWFGeEt5VWkyU2RvdW9iQncwVC1rNmRGZjROME0ifSx7InBhdGgiOiJETSIsInJvb3RfaGFzaCI6IkR5T0NOd1ZTZE1sY0ZEOHlMWVpVQnZwYnRranoxek85WWpxdEZpcmN0VGsifSx7InBhdGgiOiJETyIsInJvb3RfaGFzaCI6IlNrb1JRNlU4UGVMODAwZFhJLS0tX01MWFFDSnlDUkNoNmx1alNkajllWkUifSx7InBhdGgiOiJEWiIsInJvb3RfaGFzaCI6Im5OWV9qNGNkeVNvWUJ5UWR5dC02aWR0ZGppUXk2cV9vU0JoWHZJclZHLXMifSx7InBhdGgiOiJFQyIsInJvb3RfaGFzaCI6Im5aZUUwVmprSThvNXJPM3VJNERDcTZDb0NOcmhZYlllRnBLV2c2eEM2akkifSx7InBhdGgiOiJFRSIsInJvb3RfaGFzaCI6InpCanRnSnlxcENiT1hwYkIwei00M1FoYXNjYXNNRmNLRUN2aEpYR3lyLTQifSx7InBhdGgiOiJFRyIsInJvb3RfaGFzaCI6IkE3STF1WTNRMHpfeTBhT184dV9aUk9oWHBGcU4tWFhDRWVTSHFIa0NNMmcifSx7InBhdGgiOiJFSCIsInJvb3RfaGFzaCI6IlhRS1NIRkZlZTN5MDBybmRYX2ozWU9yU1ZOOG9MejAxaXUzWWVvU084aWsifSx7InBhdGgiOiJFUiIsInJvb3RfaGFzaCI6IjJQQ2R3VmtFd2lydElYLUVibEFPMkdtUXotOUVZaGQ5bFk5cW5zdjFWZ28ifSx7InBhdGgiOiJFUyIsInJvb3RfaGFzaCI6IlJuUm5FSkdxLV9qd2s2ZzZXcUxyZjktVmpkdE1lNjdOTmRjUW1CSFNld2cifSx7InBhdGgiOiJFVCIsInJvb3RfaGFzaCI6Ik9JRjFMa2ZmWVNfYWE4RWVibW9JdXcyV3lCdnVyUzJjUVB5eDVDRXN3cVEifSx7InBhdGgiOiJGSSIsInJvb3RfaGFzaCI6InZXMDFlMkRZRFhKNUFWWm5xTW83R2lIWXR1MGs5em5XeEpUcEFMZGRPN2MifSx7InBhdGgiOiJGSiIsInJvb3RfaGFzaCI6ImRhdWtMcTQ3c3h5dXM2dVdyOGxHbHpIc0tJRld5V2xrdTA5VTRWQ3lrY00ifSx7InBhdGgiOiJGTSIsInJvb3RfaGFzaCI6Ik1Yakp3enFKRGRGUU5vaVhjRzY1aTg1bEdTd3ZMQUh5dThDTkE5bU91R00ifSx7InBhdGgiOiJGTyIsInJvb3RfaGFzaCI6Ikk0LURjaEhvRllSSTk3TXE2REE1QnhacU54X1VTT2t4Qmt6VzZvaFhicDAifSx7InBhdGgiOiJGUiIsInJvb3RfaGFzaCI6InhFV1J4WVVOa3F6Q2ZKM2hwMVM4NEFMY2VrelhMWVB6YUFFUGFtMHFtbTAifSx7InBhdGgiOiJHQSIsInJvb3RfaGFzaCI6Im55NTByUlpZc2pIbzlLNXluaHJsUnZhVVNCVG5mbm1ndXRmWVJ5QTNSalkifSx7InBhdGgiOiJHQiIsInJvb3RfaGFzaCI6IlNNc1pkdldjbkJvU2R4NXJoQmZiQ010UnFXb0htNjAxdV9GOWF1SXZUT2MifSx7InBhdGgiOiJHRCIsInJvb3RfaGFzaCI6Im8wTXdQWkk2bXJscHkwV2hZZU13QzF4bUl2ZllGQ1IyVTg5TE0tbU9ibmsifSx7InBhdGgiOiJHRSIsInJvb3RfaGFzaCI6IklnY1JMU2pjRk01WVVndUVIOEd3U09TMnJGbzNmeVJMUWpaUHRXQWMydkkifSx7InBhdGgiOiJHRiIsInJvb3RfaGFzaCI6IjlsQXQ3WDVIQnNxdHY3UnZZTjhNb3RPTktYSkpLR05vcXg0WVVJd3ZDMU0ifSx7InBhdGgiOiJHRyIsInJvb3RfaGFzaCI6Ik9wTktCV2pWNWRZb1haaExzYUlTdDhvMU41bTBjN0lWSFU2U0ttQzBWcEEifSx7InBhdGgiOiJHSCIsInJvb3RfaGFzaCI6InI2c2EzZDhGbmJVWjNhMmN1QU1QVWh2cHRfNnhaVGZMX0Rsbk0zRXZTZkUifSx7InBhdGgiOiJHTCIsInJvb3RfaGFzaCI6IkF5cUwzSDFYSDBJbDlpUjd3TVNNSFBvcHN6UkVUUDVZbzJWWmNRbjVXLW8ifSx7InBhdGgiOiJHTSIsInJvb3RfaGFzaCI6ImwtX2ZIMGNDYURpOVhnUm1meTRLRGZHN2dUcFpGWlE4SkZESHBkTGdtN3MifSx7InBhdGgiOiJHTiIsInJvb3RfaGFzaCI6InBOeXh4LTJtd0k1Mm1uNG1PTEZoVHY5QmZCTVIzZU5FbWZJYzZpeWc1aTQifSx7InBhdGgiOiJHUCIsInJvb3RfaGFzaCI6IjctQldCdmlCaVFqSk5obTdFbG1ONFRMVnlTaFZMbjZJc3VLV01mcHI4SFUifSx7InBhdGgiOiJHUSIsInJvb3RfaGFzaCI6Inc2dlpyVnRYbEZCMkMtTnJOaXp0aEhsSFZLMnYzSFh1TU01RExmNGxZVVEifSx7InBhdGgiOiJHUiIsInJvb3RfaGFzaCI6ImROaFBrWk9mejdnVjJoS2hWejRDUGY0V282c1NQdllPekdwV25rY2lfLTQifSx7InBhdGgiOiJHVCIsInJvb3RfaGFzaCI6Imw1MnIzd2VFcWhZa2ZPSHFmVG5MSWVBMkZfcDNWZzRLNkt4VThGeWdORVkifSx7InBhdGgiOiJHVyIsInJvb3RfaGFzaCI6IlluRVJGeVVYcFl0LW1vbjI3QjdlNlFTM3FXeF9ERmxCNVBxTHAzdUZwYjAifSx7InBhdGgiOiJHWSIsInJvb3RfaGFzaCI6InpXYVYxR0V2c2c2Mm9fOG5QT2NiRF81M2NJdmd5SWUxRjhYZkhIT3dlTnMifSx7InBhdGgiOiJISyIsInJvb3RfaGFzaCI6ImNHbUVhbHhISkpiSk1pSFBGb2xraGV6bmkyT3FnTFZabmR1YnhOOU1DdlEifSx7InBhdGgiOiJITiIsInJvb3RfaGFzaCI6Ijh5Vy1MOVJUT1JPOVRiSm5wYkVkaE5rV2ZndThsOUlkcFRPWTNoOWlacVkifSx7InBhdGgiOiJIUiIsInJvb3RfaGFzaCI6Ik1KajlfNlBIVGthRm0yWW84XzNnak13ZFpvTDYtTGxJYTVSSnFKOG5RSFkifSx7InBhdGgiOiJIVCIsInJvb3RfaGFzaCI6ImQ5d1lTVXhjSzVlWXdzMEFVS2xYU05oYWxzTUwzR1g5UHNFaXhYeFpyLU0ifSx7InBhdGgiOiJIVSIsInJvb3RfaGFzaCI6IllXMFBmVDZyYXRsQ3dRaEZ2ekozMDFzN0RjZmxGUDRrSE0tMWQ2LS1PWGMifSx7InBhdGgiOiJJRCIsInJvb3RfaGFzaCI6InZSN3VTWEIyeEV4Q0plOUxzSlBPSlE0VXh2Y1lMN3d1RVQ5Ymh3dXl6aFEifSx7InBhdGgiOiJJRSIsInJvb3RfaGFzaCI6ImEzN05BVmkyaW91V1J2aFVuRGcwNTFZbXBPSTRvLVFvbEpoT1Z3YTAxWUUifSx7InBhdGgiOiJJTCIsInJvb3RfaGFzaCI6IjBDOU0zVG9lVWl5b3ItcFBtWEVCUV92eE15SDhhSVZLMGxyR0VERXl6c1kifSx7InBhdGgiOiJJTSIsInJvb3RfaGFzaCI6IldlRTZndGxkc1A1XzFnQTJERGxXazRLTXI4eXNVWWhvQzJydWg3MTZUYzgifSx7InBhdGgiOiJJTiIsInJvb3RfaGFzaCI6Ijl2SUVOdWN1emdtRG1hQVhmQzMzdVJjMjZYamxMck9rZDV3VVJqX2N5d1kifSx7InBhdGgiOiJJUSIsInJvb3RfaGFzaCI6IlJJclVpbzBjUDlhMHJLSERHTm54WjhUNFdCZkhuSkVfRllFQjJtUDVxZE0ifSx7InBhdGgiOiJJUiIsInJvb3RfaGFzaCI6InZmTGg3NHdpT2kxNHgwb0pieURLdUxvNlZTRXVjc1gtdm1nVms2bGlQR3cifSx7InBhdGgiOiJJUyIsInJvb3RfaGFzaCI6ImNZV0pZeTB2SjVwTFZGOHNfa3d4UVBOV3I5ekJiVG1rM1ZYamNoZGlyNGMifSx7InBhdGgiOiJJVCIsInJvb3RfaGFzaCI6ImNJR1dkcE1JaTdmbGVfai1BTTJ6am1sWlpwczdmTk1DRi13LXhtLVM2eU0ifSx7InBhdGgiOiJKRSIsInJvb3RfaGFzaCI6IkFHcVFCZ1ZaT29NODlqT3hoejcxM1FRV2pGOGxUR2dhSHRZTVM5cEtqZG8ifSx7InBhdGgiOiJKTSIsInJvb3RfaGFzaCI6Ii03S18tWjVmTXdEbUc2MUo1aldVNmZ4UjZ1OXhEVlZnYkgyZ0pocGstVVkifSx7InBhdGgiOiJKTyIsInJvb3RfaGFzaCI6IjZfZmR4R21LcTQwMnBnUTJfdXlHOTBtMVhrU0d6RU1rUVE1dkJ1elBIdDgifSx7InBhdGgiOiJKUCIsInJvb3RfaGFzaCI6IjdSbnY0MW00RE9Yb0hBQjZxa2JlT3dZb1pMTDQ3eFFJeW5fampfalRwQmsifSx7InBhdGgiOiJLRSIsInJvb3RfaGFzaCI6Ikg0OHJxTGtZNWUzUmJpbFA1czVtVmZ2emk5bExfMWlqVVJaa2paUHc3RnMifSx7InBhdGgiOiJLRyIsInJvb3RfaGFzaCI6Im00LXlMWFoySVh2YXI4WTBDRnI1NTRLQnBXSnNxUUs1RVpiSG5UcWp1Mm8ifSx7InBhdGgiOiJLSCIsInJvb3RfaGFzaCI6ImI3YW0yY25neWlNZ2hIRGxRQkpyV2Nhc0NCRFNDZWkybEFaUmQ4bXlKOHMifSx7InBhdGgiOiJLSSIsInJvb3RfaGFzaCI6IkxtT19ZM3pXWW84elB5UlVsMUdueEItdmFlQUtOcVU2S0wzaXNoUmoxbkEifSx7InBhdGgiOiJLTSIsInJvb3RfaGFzaCI6InFfYk5PUDdKbktsbTNGWWh1R3Z4bFkwemswSmZFM1VNb0dNek91U1dPdkUifSx7InBhdGgiOiJLTiIsInJvb3RfaGFzaCI6Ilpqb1RDWEMyX3dqV0p1eTZNY1ZkRmNQd29JdFUwMzhxcFY5ZmlDcGVZcVEifSx7InBhdGgiOiJLUCIsInJvb3RfaGFzaCI6IldTeVF3elVLTnlqRUpXYjJDNk1lWk9IRW5tS0JIQmhxY1hLWUxtT0NTRVkifSx7InBhdGgiOiJLUiIsInJvb3RfaGFzaCI6Ilc4ZTFxcmtMdDFDaFRndjJZNzZqUWoxNmVTTWVxc2lILWJDbjItN3RydWsifSx7InBhdGgiOiJLVyIsInJvb3RfaGFzaCI6ImpNQlJGNEk2ZW5MWk80cnVlaTV0TjFzQ3hwdHZPSEpKNXNzOHpfSWpzWDgifSx7InBhdGgiOiJLWSIsInJvb3RfaGFzaCI6IjRtWEVkb1RGNTFPOFVfNkJXOFR5RE43d01NaEFQVGdUaFhxWGM0eWVabU0ifSx7InBhdGgiOiJLWiIsInJvb3RfaGFzaCI6InR5cEZ0MzdueTBqblk1bHhUbDhrTi0xdWgzRC05QUNaTVZRWlpxRHpSNDQifSx7InBhdGgiOiJMQSIsInJvb3RfaGFzaCI6IlFfU2hCcDFKaHA0UTFEQUxVY1RGYlJQUHlMelFLQXpEdEhtVXdQUHpSZjgifSx7InBhdGgiOiJMQiIsInJvb3RfaGFzaCI6IjZOZjVyWFFzVERYcEx1eWhKSGRobzlScDFnT1Zkd3R3a3FwTTR6anFabWsifSx7InBhdGgiOiJMQyIsInJvb3RfaGFzaCI6Il9YbDZ0Q1hyMHRNNGlHMEJOTFY2TUE2S0RfX3d3UGd3aWNwa0FnZzU3UkEifSx7InBhdGgiOiJMSSIsInJvb3RfaGFzaCI6IkhMREppUEFxZ0dKY0tBR3NNUjhsRzI3NmFkRzNFNzAydmdDWERmbG05Q0kifSx7InBhdGgiOiJMSyIsInJvb3RfaGFzaCI6Im5vZXlPcldDWDRGYVh1bEZIU3UzYUVVeUhXeDU5QTZ0NDFTN0N4el9QNTgifSx7InBhdGgiOiJMUiIsInJvb3RfaGFzaCI6IlBUdkstR3FLZjNBbVBmQ21lWDNQdnI4TDZfbXg5NDBldGR3X0xGZk84ZVUifSx7InBhdGgiOiJMUyIsInJvb3RfaGFzaCI6Im9DRW9TMHRpUHk4c1NqeU51anFDYjB3QWhZbE1DcVRUSl9CbC11WWpEbk0ifSx7InBhdGgiOiJMVCIsInJvb3RfaGFzaCI6IlJteVlHV2t1MlJ5S3M0TzA3VTZGUFFQRTJ5Ml9aallTNnZhcnF1QmtDQkkifSx7InBhdGgiOiJMVSIsInJvb3RfaGFzaCI6IlZZUnV0WHdnN2c3eDhEeU5ETGlRdlVoeDhPemgzWDhKYTF1S05Hbm4ycUUifSx7InBhdGgiOiJMViIsInJvb3RfaGFzaCI6Il82dGstT044dGpMTjlnTzZIN21NMkRWZ1JRN0k1Y2Q5ZDdGeC1USktnY1kifSx7InBhdGgiOiJMWSIsInJvb3RfaGFzaCI6IkpCVFFuU2lVV0xfbktmb0RVNFY5MGl4aWd4eXhtUGZFczJYYnB6NVg1OE0ifSx7InBhdGgiOiJNQSIsInJvb3RfaGFzaCI6InVjQUNSbFBpbGo4UTFGbExfSG5DWkpyNTNqQnJiN1JoZVk3WWloYnRJdjgifSx7InBhdGgiOiJNRCIsInJvb3RfaGFzaCI6Ik56YWJ4ODBHUVVJSlRwcXJ5ZHFFOGQ4TGc2NUQxM185LXlGQnBLd1dQQ28ifSx7InBhdGgiOiJNRSIsInJvb3RfaGFzaCI6IlB4UFZPTWNXUGtoMzdhZUo4ZjdFbnBMQ3Vid1oxd1YwUmZ3VzFmLUx0cXMifSx7InBhdGgiOiJNRiIsInJvb3RfaGFzaCI6InpIVk84REdvOVBnczEtMDVycUlWUG1wVmE5U1Q4SThiVjhnbzdaSXpLdTQifSx7InBhdGgiOiJNRyIsInJvb3RfaGFzaCI6Ikx6cFZEQm9RT0JXLWxPNWt1VE45LW1lQnNZMnJnclkzeEY2c2J1aDdvUE0ifSx7InBhdGgiOiJNSCIsInJvb3RfaGFzaCI6IjVUYnVpbjU2cE9sY3VHZDZHSjFhbk5nUUpYWVNNQUkzMDlTS1FsTkMwUWsifSx7InBhdGgiOiJNSyIsInJvb3RfaGFzaCI6InlCNkZkRm1HaE5TVDd5SF95engxZVdOd0NfUDJiSGdjYThzcmVZdmkxMmMifSx7InBhdGgiOiJNTCIsInJvb3RfaGFzaCI6IlZER0JCWVhBcVlTVzVZVkhBd3dfb0VpSmdlRG9vMllxdUJqT1hpUmdVbHMifSx7InBhdGgiOiJNTSIsInJvb3RfaGFzaCI6IjZ5LUQ4ZHIteFo3YkpMWTdOVl9FZjhqZ1dxcHBrVFRjSFExVDZLbzZtR3MifSx7InBhdGgiOiJNTiIsInJvb3RfaGFzaCI6ImhuenlZMjVBQ1ctNXNNZnhKVGt6bjZwdFlkbE5uLWVwYS1BcmdPcFBUT1EifSx7InBhdGgiOiJNUCIsInJvb3RfaGFzaCI6Ik5UNWptS3J2QzliQl92aU53bXd5OElKendtRUgySEFKVlByR29JSTUtaVEifSx7InBhdGgiOiJNUSIsInJvb3RfaGFzaCI6ImdPMngyTGVteXBva3hkNF90ajU4dFNLVk5nOU95YXdxUXh6bDhhVmVmMDQifSx7InBhdGgiOiJNUiIsInJvb3RfaGFzaCI6ImNCVFNhdHY4MDJFTHVTZ1FBX29nSE1ZdUlrLXdRMk1GMVQ1b3RRal9RNEEifSx7InBhdGgiOiJNUyIsInJvb3RfaGFzaCI6IjRGWXNSNlZhS2MxRlBhNTNRT3VNRHE3RHN0dV9EOWx3RXZoVkdPRFdZa1UifSx7InBhdGgiOiJNVSIsInJvb3RfaGFzaCI6IjJJN1E0Nmt6TmNTMGx5Nl9WeTJybmltS1N3UlRIVXYyQUotNExZdEk0cHcifSx7InBhdGgiOiJNViIsInJvb3RfaGFzaCI6Il80SE5yY3Y3ZzhzQVQ3dDlKbFBxNmRnZDl1QThvSm54ZmU3TFAzU2c1MTQifSx7InBhdGgiOiJNVyIsInJvb3RfaGFzaCI6Imk1MHJkQUd3Z0FWREhYb2hOTmNTUlhZS29wbjRDVkpJeHI5WkZfUnRfZWcifSx7InBhdGgiOiJNWCIsInJvb3RfaGFzaCI6ImgtajQ5ak1rc0xBZFlFYlNIdmdHTW1PNk5hZWhoejlzSzc1MWJvaDlBNHMifSx7InBhdGgiOiJNWSIsInJvb3RfaGFzaCI6InppOF9yV3FjZHd4a05iMWZVWXBreVc4cGhla3NDM2NWNnowRmQwTFVXdlUifSx7InBhdGgiOiJNWiIsInJvb3RfaGFzaCI6IlNiU2hMc1I1ZlE4bEJ3WTZ2V09jMkVIUjNnUnVNTVp2ci1qQ0VCZ2VMRlUifSx7InBhdGgiOiJOQSIsInJvb3RfaGFzaCI6IlgxTHRtTTBnQW9UNFRTaUZmXzgxejdWaEV0b3VMaVhsOERtQ0JZZnhvbVkifSx7InBhdGgiOiJOQyIsInJvb3RfaGFzaCI6IkxCQ1BISUY3Qzd4MGxYNzdKdTNONWlPQjNFVHZDaEt4bDVyOFNxX2ctdm8ifSx7InBhdGgiOiJORSIsInJvb3RfaGFzaCI6IjY5eU1TM0hwelp3UElBWHZPY3NyNnQwTFpBTGJ2X0ZxYUktd204RDBwb1EifSx7InBhdGgiOiJORyIsInJvb3RfaGFzaCI6IlFaVEhMR3dPT1F2Sm5XSk9mTjhIR2l0VDNpcFdrcGNZZ3gteTREMmRQcmcifSx7InBhdGgiOiJOSSIsInJvb3RfaGFzaCI6IlFoM05DZDF4QWhGYUVIUmRwZVpFQzlZMmZScVgyLW1EOWJUcGpKSGdBRE0ifSx7InBhdGgiOiJOTCIsInJvb3RfaGFzaCI6InE0bmxfTjROWTVwdHN3NHlQdmVkdXVxOFdyYkVaa3BmZ2Vvcm5GajhYRWcifSx7InBhdGgiOiJOTyIsInJvb3RfaGFzaCI6ImlKTU1IRWhIcDRUQUhpNTlVZW9rdVAySnhzNldNTXRFak9IMXNld3YteUUifSx7InBhdGgiOiJOUCIsInJvb3RfaGFzaCI6ImlaTFdDTHE1N2liNkJ2OU14Y3lJZllVRC01UlJXUkdSUTROYndIYjkxZzQifSx7InBhdGgiOiJOUiIsInJvb3RfaGFzaCI6Impmck11b29qUmZLdlJFSjJzU0t4c09sMWpPZEViSmM5NkRnQWZZZHhGUmMifSx7InBhdGgiOiJOVSIsInJvb3RfaGFzaCI6IjI2TEQyV00wV1F1dWZ3SEkyRVktcHVyQWdoTmpuX2pLMDM4Y3V5OURfdkkifSx7InBhdGgiOiJOWiIsInJvb3RfaGFzaCI6Ilh0clZzb0Q5OTduRzB5Yl9tYjRPUjJnSkkwRmVTOFpiRU00ekZSQko0dzQifSx7InBhdGgiOiJPTSIsInJvb3RfaGFzaCI6InZaSEV1UFV5LUVSOUc3bHdMdlo5bGFSdFZWOUx6Ny1JTFFVMjN4dVA0NTgifSx7InBhdGgiOiJQQSIsInJvb3RfaGFzaCI6InNnVV95dVVSemxsSmdSZ1BnUTNOUEs1d0NoWnRyei1mOTFBWldqalFOVmMifSx7InBhdGgiOiJQRSIsInJvb3RfaGFzaCI6ImdDekRMRFNsc1k1ZnZ4UEc2THFmNnJqa1BGZ3l2dDBHSldBYlZPVGh5LVEifSx7InBhdGgiOiJQRiIsInJvb3RfaGFzaCI6IkFHT1d6UHRRaTlLcHZDcFlaVUtaR3ctS2g3MTdxWDFXSE1NSktPek5kMjAifSx7InBhdGgiOiJQRyIsInJvb3RfaGFzaCI6IjZ2TWwxNTFhM2dRWHRzaU9sZUhHNXBUY3JiVWZNcUE1d3hOaDhMQmdqeW8ifSx7InBhdGgiOiJQSCIsInJvb3RfaGFzaCI6IlIzSW5uNXdnSXJsZzZsQi12R3pBQXNnRlJvcmRyRnZQVVR1SDV6aXhrX1EifSx7InBhdGgiOiJQSyIsInJvb3RfaGFzaCI6InYzZzNwT0RkVXlfZno2NHQxNHlWVExBYTJPbzJUNWp2OVd2VExrSzBuMk0ifSx7InBhdGgiOiJQTCIsInJvb3RfaGFzaCI6IlBDd1loRVF4NTZnaXFpRjMxR3REZ2tFZGVjY0NBcGdvd3huVmJEazJueFUifSx7InBhdGgiOiJQTSIsInJvb3RfaGFzaCI6IjF0dldJZUpWSDNSbXYtWlVQZllVV3pScDJkWkctM2xYSWdBY01nN3ZWN2cifSx7InBhdGgiOiJQUiIsInJvb3RfaGFzaCI6IkhHaFM2aWNBVzZXT1hHSkdRTzhvdGlIaUhiZmhadUxCS1VmYUQtSzdGWjgifSx7InBhdGgiOiJQUyIsInJvb3RfaGFzaCI6IkhObTRmSVZsRGtHeTJZdXY2dnA4YW9fTmtveVpoWVA2eDZKRXhXdzNuREEifSx7InBhdGgiOiJQVCIsInJvb3RfaGFzaCI6IkJ5NUhud2FlSTk0YmFBanZ1OGJGZ2t0U2FqeUo3aE5yQUtpRG1ZcDB0a00ifSx7InBhdGgiOiJQVyIsInJvb3RfaGFzaCI6InpmZGlqZnBFVnBOSjNncVIwV2FaV2NHeVV6ZWpEV2Z2V1VoaUFyMmRNWGcifSx7InBhdGgiOiJQWSIsInJvb3RfaGFzaCI6IldoTnFtYm04NXhXem1lWEVfZFJzWUwwa29ZbkZCbndYelJLQjZoTW1WOUEifSx7InBhdGgiOiJRQSIsInJvb3RfaGFzaCI6IlpsMUtYSHV5U3lRT2Zuc1VmaUhXMklSOG12TkxneHZEeHR4RE41cmxEWnMifSx7InBhdGgiOiJSRSIsInJvb3RfaGFzaCI6IkVHWE15YkFFYzFkRHF1c3k2QVNNQkRuMlVRTUUzUVVST29Zc0ZJaVJaV28ifSx7InBhdGgiOiJSTyIsInJvb3RfaGFzaCI6Ik1ITW1PWVV1ZFg2WWw1bHJEZ0R6d0VPZGJwRmIzZW16R0doaF9HTDM0UDAifSx7InBhdGgiOiJSUyIsInJvb3RfaGFzaCI6InRoSG1mQkVvaWw3SlI5MlpjVnVXalg4QkNMckJWSzhRTVhyVEs3RjlIRUEifSx7InBhdGgiOiJSVSIsInJvb3RfaGFzaCI6IkRyZ05hdHF2Y3V0eWgxLXliRXJmLUhqSlA0MHZsdUd0c19XeVd3ZkZmM2sifSx7InBhdGgiOiJSVyIsInJvb3RfaGFzaCI6Ii1hVHBwMmpRMkVxM3pTN00zcGVnUkdCejMxUzF4OURUb0tWSlpUXzI5dUEifSx7InBhdGgiOiJTQSIsInJvb3RfaGFzaCI6IjNyMXpTSlZaRkltbGlQY0hTSFhIWjJPWXZOLWd0N2R1YTFLR2NVYURKdzAifSx7InBhdGgiOiJTQiIsInJvb3RfaGFzaCI6IkRfZmlYWjl3bEZCMkY1VkxpQ2FJZFItNGhINE45bFpxS0hWaTZXWWp4bzgifSx7InBhdGgiOiJTQyIsInJvb3RfaGFzaCI6IlZ3elFkY3NkelFYTEtkZ05WLWludFlQdTJEYVFiTlZLWWlQS1paUU9UVWsifSx7InBhdGgiOiJTRCIsInJvb3RfaGFzaCI6ImRNRHc2Y19PS2hyV3EzVklNUmk5ZDRiSXFvcXVRbTd6TnVaNmtSTlR6RDQifSx7InBhdGgiOiJTRSIsInJvb3RfaGFzaCI6InJUVjZadkFOdFdRRlNaeVhTTEdpQVl3RzFYcWstT2tFRjlwVTFPa0VfREkifSx7InBhdGgiOiJTSCIsInJvb3RfaGFzaCI6IkNmRGZ5SzBEem5Nb2R0NkFxUkFzVGlsUGpvT3dSNmFvQWFHMzZKVnNvencifSx7InBhdGgiOiJTSSIsInJvb3RfaGFzaCI6IjB3d0RfaTlJM0dFMnc3U3RSQ2xVWnRvZHJ3MWZycDN3T2VPNFEtVUlpaDgifSx7InBhdGgiOiJTSiIsInJvb3RfaGFzaCI6Im1YdU1JNVptZHJHeTU0aEthU3RYOE9hbl9ubXFSZ2paYjlOSFBkaGV0MFEifSx7InBhdGgiOiJTSyIsInJvb3RfaGFzaCI6ImV6QTVBTF9uOW1mZXFRY3RDR3IxdVUyYk5QYTg3cXhBaDJoRVFNSFBycXcifSx7InBhdGgiOiJTTCIsInJvb3RfaGFzaCI6ImlzUmJJdDdJck1PVmoyeGZoLXNTNW14RkFheGFENHB3LVlmUFVEYnhBbTgifSx7InBhdGgiOiJTTSIsInJvb3RfaGFzaCI6InpSa3BNX2l2bTNxRkg3U3BxVmJxR0ZfQTFuRlJQcUU5ME9EMUc3aTh1cDAifSx7InBhdGgiOiJTTiIsInJvb3RfaGFzaCI6IjlVeFg4XzBVOF9NOTI3LU5BMXRLX0RweXd3S2phdzQyX1FGTG9CcS10UTQifSx7InBhdGgiOiJTTyIsInJvb3RfaGFzaCI6InJlWnplLWNiVVY4T1p1YXh0aGVXMlhWaFlieVNDaHZ4cVFfdmJzRUVnUkUifSx7InBhdGgiOiJTUiIsInJvb3RfaGFzaCI6Ii15ZzZRYm1iaFR2emxNazhEUk5OSE54MzBKU3ZzdENJazByTHM4clhRUE0ifSx7InBhdGgiOiJTUyIsInJvb3RfaGFzaCI6IkpVSTF1Z2VOVl9FX0gyVkVubXBnM3VEaEJLbGZta3R3dnRVTjFWSVRvLTAifSx7InBhdGgiOiJTVCIsInJvb3RfaGFzaCI6IkNRUWY5WXMyZ04xajQ1RWxnOEY4NkNMS3JDOXhtcHAtYjZHRHNvY0JRWmMifSx7InBhdGgiOiJTViIsInJvb3RfaGFzaCI6IlJocjBDclNHWll5RURWZTN0dldweUhQMVVDOWxpREJRRHVaM3AtS1JqOXMifSx7InBhdGgiOiJTWCIsInJvb3RfaGFzaCI6IjhQVEYxM1FsTWVCS3NsSkp5cnYxMzFTNWdEWWEyM015c1BYN1VreWtpcHMifSx7InBhdGgiOiJTWSIsInJvb3RfaGFzaCI6Ijc1UjFEaWJGdFc5eDFLd1RXaTUtektiV3hCWUJOMVpzQkdrMFJZazNEbkkifSx7InBhdGgiOiJTWiIsInJvb3RfaGFzaCI6IjBzWGRIUlRyWjhvX05vRTNxN1QxWk5DcE92dXlNOVBXcEYwQUlfM3UyOGcifSx7InBhdGgiOiJUQyIsInJvb3RfaGFzaCI6ImFZTE4xYndhY0RabW5hcy1OUlVJcGdYb19FbzNTbk1lX1F4N0lESnlCNmsifSx7InBhdGgiOiJURCIsInJvb3RfaGFzaCI6ImMyS0ZOalF6QktvTEZrZGdreFRMa0tINmpnSEdPS2FLT0VEbjFmZ1YyZE0ifSx7InBhdGgiOiJURyIsInJvb3RfaGFzaCI6Im5qc25nMTJiM2hJUjhhR3ZhajM0dDEzN0tfUVV6V0xtM1F2enljbmVjaVkifSx7InBhdGgiOiJUSCIsInJvb3RfaGFzaCI6InJKYmZVOC0wcURyQ0w3TjdreS1UTVR5dFJHNW1WeUE0anBDajJBS2d3a3cifSx7InBhdGgiOiJUSiIsInJvb3RfaGFzaCI6InlCUUd4QlFrdGVJWUpZNm9oNVJHOFFMRVJJQk5kbVUwZFk2MEEtcjVaRncifSx7InBhdGgiOiJUSyIsInJvb3RfaGFzaCI6Ik9yeXp1ZHlqX2wyeTBocGpHbE14blpudWc3OUZ4Y2ZGbktlWXI4UGloVzQifSx7InBhdGgiOiJUTCIsInJvb3RfaGFzaCI6ImprRWNzQnRQalc2VERRd2ZlN1JTZWw0WkVxTFlfUFZXYWpzeDBiWDBGeFUifSx7InBhdGgiOiJUTSIsInJvb3RfaGFzaCI6InJCSFlHS2ZJd2p5WEhESWFObjNkSEFxaUVZbU1CNDYzOXFQcTB5b2M4ZkEifSx7InBhdGgiOiJUTiIsInJvb3RfaGFzaCI6IjhVZXRKS21aRGhEQlJ6ZzBjdVBlWEVPRENHam5IeXhkeDFQWnU0Sk4zX0UifSx7InBhdGgiOiJUTyIsInJvb3RfaGFzaCI6IlFFTjFnbEdSejB3NDRrUWlrRXl2dE02TWtabGk5NUV4YVMzdUVBa1FxaVkifSx7InBhdGgiOiJUUiIsInJvb3RfaGFzaCI6IkYxeGFWZk1nZHNJOHJFTWN2bEhzVEZqSjQybWs3VHB0WGJJclJaMmFJYmcifSx7InBhdGgiOiJUVCIsInJvb3RfaGFzaCI6IlFJaC02bXc0ejhXSVJBcjJjRkVxVzQ1RUx2NnBrdkk2Z0xEd0lZTjd3M28ifSx7InBhdGgiOiJUViIsInJvb3RfaGFzaCI6IklJZlJMMVo1VGlaQkRWZWM5SVRQMXJyNnEzUkFiV2pNMFhaNG9ITEtMVDgifSx7InBhdGgiOiJUVyIsInJvb3RfaGFzaCI6Ilg4czFMMUlsWUpzNGowdEFpUzdoLWl2M05zLWxFMWoxY0hUQWJ1TjJaRWsifSx7InBhdGgiOiJUWiIsInJvb3RfaGFzaCI6ImJfcV9EOU5MWEM2Yl9hVVRYcEs2UTVyLVlWaERtcGhrc2FBcnJ1M2JiMmcifSx7InBhdGgiOiJVQSIsInJvb3RfaGFzaCI6ImU2NHFVVE5NVEU0VjlHcVdTa2cybWJYYmJkeTlRREV4bEpKcDBFTzlRancifSx7InBhdGgiOiJVRyIsInJvb3RfaGFzaCI6IjI5a3psLVFiMHBkRGZ4TjNQcDBUWmFqcHFEQVVIR1NBV2hLb3dtYmNDaDAifSx7InBhdGgiOiJVUyIsInJvb3RfaGFzaCI6IjFCVDBfenk4ZHJvRDhqZ3ZYYlJQeGYwb25DbGtWT3FwbXFYeXJuY0FGdjAifSx7InBhdGgiOiJVWSIsInJvb3RfaGFzaCI6IlBXd3ZhcFhOaS16QzU1WnFzNDk5S2NJLTJHdld2VS1IT19Fd3FOcjRJN0UifSx7InBhdGgiOiJVWiIsInJvb3RfaGFzaCI6InBUejA5amxNamdlVURhUkI2UmJYUFBNSHBpZGg5S1NqUUI1NUZUVE5wVGsifSx7InBhdGgiOiJWQyIsInJvb3RfaGFzaCI6IjQ2bzZNQ0c5azhZSllUSHBvTlk0U1pTczRFODl6NnFDTjh5OHVHcmZJTDQifSx7InBhdGgiOiJWRSIsInJvb3RfaGFzaCI6InB5Ni02T0o3c3lmXzZwZ2lmNVhoYXljaWpZYVFZdHR4ZjRCVlZ6X1NuZW8ifSx7InBhdGgiOiJWRyIsInJvb3RfaGFzaCI6IlFlQl9DODN4M2xWLWhQZ1ByM3ZEN0VHMnVsTk1mMDI4M1l5a0M2WXdwNUkifSx7InBhdGgiOiJWSSIsInJvb3RfaGFzaCI6ImxvaG43NlI2N3dxRkpmTDlmdWtUY2hVajJnZmJpNHpEbU0xNXlsMlRmWVUifSx7InBhdGgiOiJWTiIsInJvb3RfaGFzaCI6IkZnZ1kyZ2ZUejNRaG5NQy1FdXdYU29zdG9USW9pQ25VM3czeFFyWWNpRU0ifSx7InBhdGgiOiJWVSIsInJvb3RfaGFzaCI6IllsWlhxNTg3SHlWZXBwNkhDWlhxWG5KNUdkOFhNM2lraXFDTGxFdjFxTFUifSx7InBhdGgiOiJXRiIsInJvb3RfaGFzaCI6IjhfQllnY001Z0JmUHR0U2haRE5kTnhpQ2Z1b2c0MUl6WTcwWVhRTlE0dGcifSx7InBhdGgiOiJXUyIsInJvb3RfaGFzaCI6ImxlMGRIYWZlZ0ZNa3RfcktqeFE3cmZqQThhRnFaTzBZX2twMzNRR0gtbUEifSx7InBhdGgiOiJYSyIsInJvb3RfaGFzaCI6IkJYSWxHOURTUFpLVWVjNkUxVW1xSmR1bjVoc2VKbURNYllDcHlSb28tUFkifSx7InBhdGgiOiJZRSIsInJvb3RfaGFzaCI6IlJrUGo3TThHbGF4c3BlMWxldjV4X2xzdVFNdTQ1WV9nRy16dFNHeHJrRjAifSx7InBhdGgiOiJZVCIsInJvb3RfaGFzaCI6IjdxS1FhZHFPcnNmWHN5cjFLdjdyV1dsaXJ5NUJpZWpUdjNsVzRTTHRjRXMifSx7InBhdGgiOiJaQSIsInJvb3RfaGFzaCI6IlhtOFVNMGN2Ni1tTXNmb3FhVGpBMjBrMGtaX1N3OWhJRDVIdEFPclR6OHcifSx7InBhdGgiOiJaTSIsInJvb3RfaGFzaCI6IkE3c2ozTG1rYUFNYnZld2pHdzBPSEswSERzajh5ZEY0SnVWdjNNVmQySXcifSx7InBhdGgiOiJaVyIsInJvb3RfaGFzaCI6IlFNZGN6UTVFcXY0RFpndm1KUlZWVnFPSGpaRXVJUVl4RHFBQmlnVkdaSGsifSx7InBhdGgiOiJtYW5pZmVzdC5qc29uIiwicm9vdF9oYXNoIjoiblFBRGU2RnE4ZzZXNHFfRFR5WVBEbEVZT1FUSXJmdXd3dnFXM2NlaGI0RSJ9XSwiZm9ybWF0IjoidHJlZWhhc2giLCJoYXNoX2Jsb2NrX3NpemUiOjQwOTZ9XSwiaXRlbV9pZCI6ImVlaWdwbmdiZ2NvZ25hZGVlYmtpbGNwY2FlZGhlbGxoIiwiaXRlbV92ZXJzaW9uIjoiMjAyMC4xMS4yLjE2NDk0NiIsInByb3RvY29sX3ZlcnNpb24iOjF9","signatures":[{"header":{"kid":"publisher"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"pIP92-pHX1NEzHTb-s_btGe9bNCoKYSCz-NXXLeurfc1ockP9wCHy8yjHqHpLFw794Rrpm-5901THSAARaQwtIV-t9OYCaA5WbrSs7lgP_a6GIpR_udFrUb2ZxxQOw1EcFu02V5jeMNB1LAliLdBeUVtiR0bIld5Ndd6paGw79AVVW4Jn9DsaELsoJH5hf9yAZ8XBYFK3oYvb5tSkDsKGfNxeFRfsLnpf3113_XViXwkCPSlfk_Ml59t1PvPpCnyFUGd-Q-d8vhdiUfTxBVrEPBe-axuQ49Wfy0_cRuxWFkymtEBc1fUipn8enBrz-RqMBH-jGxa06g5b-aN97hVnQuCIriuuINd2rWvV0TwDczKlcBTLKfPop7dPzT4K0lIWnau5GL3mhRxsPnWeHh7cfO21R_PkkNN5_nrL7EQ9PfiGZKWBcdaV5fxAo56o3crZWQpub7fu1oVApBl86qtAXwMRmoPQqZaFXDZjqDSjGG5eeCR0g_xC07xhtq5pTWzW1dVG_teWqQyo4jHHAPAa8BcuQry2zz7vbI5GlnhIXJ4BNDU7tKU9ECxTM0CldoibL-8CEQyjoI9ldvbKh49RlSBRe8_dJpIivePZqyc4omzfhy1cdadA_pXuJEth9Ymk0AKZH1bu49HVseneCpd5OCOJzisuqvrFQrj1iLOUTs"},{"header":{"kid":"webstore"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"JqJyF_dWNQbNMbQko-DBGakAEdKp8DkNgyFghAuwuUCxnnJ3l-wuVlvYm-YlVnOLqBryQ-vDWtlq4wKShuvs5Zh50G_UxmXeTisFM5d_58_8xAT6dVBuGbH9CfAemRV5CAvNx4J51GaqwDubOqUgp2Z5jIfylWjzR_W34pBmd8aWxYDKxMsP0yZm69ESRuLotDO8qJ1Mnhq7npQhPhHeWDOHT0_f42a8t28PGu7r8rNVQjqpqJZO3e75ITuP7o04KN5aynow4yJ_dRAMPPBa6ERsVJ5cEpbNUiaQ-u_ep5FRnslKSB-G2dTpnpSgEYhP8K06EO4LLiBmbCQ0oVA1_Q"}]}}] \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/manifest.fingerprint b/.config/google-chrome/AutofillStates/2020.11.2.164946/manifest.fingerprint deleted file mode 100644 index 91864ddc..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/manifest.fingerprint +++ /dev/null @@ -1 +0,0 @@ -1.c64c9c1008f3ba5f6e18b3ca524bc98dcd8acfae0a2720a8f1f3ef0f8d643d05 \ No newline at end of file diff --git a/.config/google-chrome/AutofillStates/2020.11.2.164946/manifest.json b/.config/google-chrome/AutofillStates/2020.11.2.164946/manifest.json deleted file mode 100644 index f45b6fe2..00000000 --- a/.config/google-chrome/AutofillStates/2020.11.2.164946/manifest.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "manifest_version": 2, - "name": "chromeAutofillStatesData", - "version": "2020.11.02.164946", - "imageName": "image.squash", - "squash": true, - "fsType": "squashfs", - "isRemovable": false -} \ No newline at end of file diff --git a/.config/google-chrome/BrowserMetrics-spare.pma b/.config/google-chrome/BrowserMetrics-spare.pma deleted file mode 100644 index 98fc2c0b..00000000 Binary files a/.config/google-chrome/BrowserMetrics-spare.pma and /dev/null differ diff --git a/.config/google-chrome/CertificateRevocation/6798/LICENSE b/.config/google-chrome/CertificateRevocation/6798/LICENSE deleted file mode 100644 index 33072b59..00000000 --- a/.config/google-chrome/CertificateRevocation/6798/LICENSE +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2015 The Chromium Authors. All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/.config/google-chrome/CertificateRevocation/6798/_metadata/verified_contents.json b/.config/google-chrome/CertificateRevocation/6798/_metadata/verified_contents.json deleted file mode 100644 index 364cfee9..00000000 --- a/.config/google-chrome/CertificateRevocation/6798/_metadata/verified_contents.json +++ /dev/null @@ -1 +0,0 @@ -[{"description":"treehash per file","signed_content":{"payload":"eyJjb250ZW50X2hhc2hlcyI6W3siYmxvY2tfc2l6ZSI6NDA5NiwiZGlnZXN0Ijoic2hhMjU2IiwiZmlsZXMiOlt7InBhdGgiOiJMSUNFTlNFIiwicm9vdF9oYXNoIjoiUGIwc2tBVUxaUzFqWldTQnctV0hIRkltRlhVcExiZDlUcVkwR2ZHSHBWcyJ9LHsicGF0aCI6ImNybC1zZXQiLCJyb290X2hhc2giOiJLc0g2MDZ4ZEd0MXhHYkxoUjF3UkpGODRLSWFMYXpvaHlFemltdHg0ZDB3In0seyJwYXRoIjoibWFuaWZlc3QuanNvbiIsInJvb3RfaGFzaCI6IlNCellFYzZOck9xSkhkTmpZWEk5U1c0MW1DVVNjQzFuS09GSEJGZ2UxaVkifV0sImZvcm1hdCI6InRyZWVoYXNoIiwiaGFzaF9ibG9ja19zaXplIjo0MDk2fV0sIml0ZW1faWQiOiJoZm5rcGltbGhoZ2llYWRkZ2ZlbWpob2ZtZmJsbW5pYiIsIml0ZW1fdmVyc2lvbiI6IjY3OTgiLCJwcm90b2NvbF92ZXJzaW9uIjoxfQ","signatures":[{"header":{"kid":"publisher"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"nE319TTGG8U4JY3pw8QeZKnR2ncJkh5oX5yFL3-ghgSjOn3wN4IkI84CtAtrNROJWR7BEsCBp_CWrxJ9E0UF-ntpJs3dF8X-6bU8oXhUfiV5QMl27TtccH3oeBTsYUlwkGlf1IkY-r61WgDGrJTFrhlt_fwQcvlI3Md7V-9wsODKEZU1-DdxyROnhyyB4oeXEXl9JlbMBiVYvRhqKw53rW95Bw0ymD4xeqjQqtDMvclqfEn3JJvXjX44HEPmffk2W1aPZUdEI4QQtOaqiOMPnnsHZXhVtE-MrbN7g3HjfQ_r7OdOGFVOLKSv4-8Vcbr4mbDFlu1c26iokU0FTCO7Lg"},{"header":{"kid":"webstore"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"gRvE3-QpsepjHB3vmQhRyr9Hn6VUL5FB-sx8vBaqb4MPF90u0oczcYnZFiaAl4Om6Ao69DXyuX269RzmPBK9Y7AnPEhIGHN8mEpp0kn01wQLP215qAd7md9jdIX0do02YA4T81_Xl3NZ-1rCsEVZK0brQaxgJ_pGbTvUEHDlFS7hPnzz2tETx29fF_DrqsSI3ajznXVf_VTcnARS1UrybcqgaN8enNzxik-7Yae0pZWtxuKI7KYOAFJIdyIdhghxD3BPew1isiFj0cBcSqxHmk6Z9bf53Q_XBkcHceY0xaIyADYSo5jJbejUr-2SKnu2UfT_2Hmb4IrAvtxmns7C2w"}]}}] \ No newline at end of file diff --git a/.config/google-chrome/CertificateRevocation/6798/crl-set b/.config/google-chrome/CertificateRevocation/6798/crl-set deleted file mode 100644 index 8d6a2e67..00000000 Binary files a/.config/google-chrome/CertificateRevocation/6798/crl-set and /dev/null differ diff --git a/.config/google-chrome/CertificateRevocation/6798/manifest.fingerprint b/.config/google-chrome/CertificateRevocation/6798/manifest.fingerprint deleted file mode 100644 index 363aed26..00000000 --- a/.config/google-chrome/CertificateRevocation/6798/manifest.fingerprint +++ /dev/null @@ -1 +0,0 @@ -1.1c03433b491c38a274a49a98ff6c99b39591cd81558666e2656bb603a0ec8c0e \ No newline at end of file diff --git a/.config/google-chrome/CertificateRevocation/6798/manifest.json b/.config/google-chrome/CertificateRevocation/6798/manifest.json deleted file mode 100644 index 071681bd..00000000 --- a/.config/google-chrome/CertificateRevocation/6798/manifest.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "manifest_version": 2, - "name": "crl-set-14993276009982790249.data", - "version": "6798", - "imageName": "image.squash", - "squash": true, - "fsType": "squashfs", - "isRemovable": false -} \ No newline at end of file diff --git a/.config/google-chrome/ClientSidePhishing/25/_metadata/verified_contents.json b/.config/google-chrome/ClientSidePhishing/25/_metadata/verified_contents.json deleted file mode 100644 index c76fb603..00000000 --- a/.config/google-chrome/ClientSidePhishing/25/_metadata/verified_contents.json +++ /dev/null @@ -1 +0,0 @@ -[{"description":"treehash per file","signed_content":{"payload":"eyJjb250ZW50X2hhc2hlcyI6W3siYmxvY2tfc2l6ZSI6NDA5NiwiZGlnZXN0Ijoic2hhMjU2IiwiZmlsZXMiOlt7InBhdGgiOiJjbGllbnRfbW9kZWwucGIiLCJyb290X2hhc2giOiJveS1udnZKVXY5ejJfUDFLQUtsNEZReFdfZ1FzVXdfaGFFbHdtYVVtTEJzIn0seyJwYXRoIjoibWFuaWZlc3QuanNvbiIsInJvb3RfaGFzaCI6IjkzSmZKWmtfYWQ3bElwYWVNcUxCU3VHSlJtQXlSek93ZnpxNWJtM2pfTTQifV0sImZvcm1hdCI6InRyZWVoYXNoIiwiaGFzaF9ibG9ja19zaXplIjo0MDk2fV0sIml0ZW1faWQiOiJpbWVmamhmYmttY21lYm9kaWxlZG5obWFjY21pbmNvYSIsIml0ZW1fdmVyc2lvbiI6IjI1IiwicHJvdG9jb2xfdmVyc2lvbiI6MX0","signatures":[{"header":{"kid":"publisher"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"xgflmZ82nxshj8MsNwU87sgCRfYIzD3u2PQdNTxv1nVStY5n_vT7Rhlr7ZjTNuVLAmHoChL2c79VsZzAbL0KKSQ80_bUJ7KFC_wB7Ox-zNgl9TqO4LoTwchcdC-CHsMuDnSltAvHmu-3hMESOYbVoLIM9KnhGXk9qBEp1Ijw-bum9eSnY8hPCtegjGOwLgljeU8VPmMosg7aL7Ow9oKSfv9ut9fg9pzs8QKfxwJJhZOlF-zm5auFBfQ1rWr-55RnCktgwe8jhYU41m2j34_nwYo6xVAcxaedjVYwNJIMJ83ZA-0hBeZaw-IIn4Dky5pQMuFKrTkt5N8QiSgLFg5BdhLuUNaxvGr_pjhHQzpo9iFaI1nxZX1-tlzozUfYSQU1mZavRtyY5huF1GuOstos2KRcdoaiSuCiMOsBhqxZQTwPH_L_5Vux60cE58p7yLfMnHBqhImKXN_lVbgQO3Mc2el-H_hgtzLFU5dsaRawwWdXmC0tOzkSC2sOYFjqHlkPgH6DK05vNFoE5oBjP_nhbV4YQv4zCJDfyZLaBchGyGFLPq3QLnna5IbgfhS6JYE_Nx6j6hYUo9ZS9ViGhUkq4Eoe-Yw9f9CUslmbV9TirnTvPJAPtMV526DuySz1RF2GXcSqZVu9wknsg4IpeisEvJOrC3RkiXJ-AAXWui_4D4c"},{"header":{"kid":"webstore"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"OeELwAWiHWAsZSI7InaYkvHMf8EkO8TeZiXBlN402ENSS6EU2bdXpvA6bhhT29Tc6uXW98QfkpdiDi71uMIn-J-ZzcslnSPTbmGHm2Z0uEcwp0FnZq_2QCRZTufDPP5XEfzz7jZN237P5ahdcULO7nTHI583Z7aWpe7S6Z816yAwsS-2evyVV83FzipllCjoWYRs7fmQrgKTZ-vd4zguXzheFwOyTkU7PLvXfUnYTsQeSzjRaV9_pfQPgQsePO_jjf6diJTgYk_IaFCfVlxGUhtP43jFWljlTP50_LXBRb1or_mXckfG2OIDoIjFpkCFc_AItyuwcaahetLxvf4dWg"}]}}] \ No newline at end of file diff --git a/.config/google-chrome/ClientSidePhishing/25/client_model.pb b/.config/google-chrome/ClientSidePhishing/25/client_model.pb deleted file mode 100644 index b3af6450..00000000 Binary files a/.config/google-chrome/ClientSidePhishing/25/client_model.pb and /dev/null differ diff --git a/.config/google-chrome/ClientSidePhishing/25/manifest.fingerprint b/.config/google-chrome/ClientSidePhishing/25/manifest.fingerprint deleted file mode 100644 index 43ceefa0..00000000 --- a/.config/google-chrome/ClientSidePhishing/25/manifest.fingerprint +++ /dev/null @@ -1 +0,0 @@ -1.344f967fe86f095ab30664c1859dac566c6852edd3c56ab3311835a4ee6473c9 \ No newline at end of file diff --git a/.config/google-chrome/ClientSidePhishing/25/manifest.json b/.config/google-chrome/ClientSidePhishing/25/manifest.json deleted file mode 100644 index 71817c7c..00000000 --- a/.config/google-chrome/ClientSidePhishing/25/manifest.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "manifest_version": 2, - "name": "client_side_phishing", - "version": "25", - "imageName": "image.squash", - "squash": true, - "fsType": "squashfs", - "isRemovable": false -} \ No newline at end of file diff --git a/.config/google-chrome/Crash Reports/settings.dat b/.config/google-chrome/Crash Reports/settings.dat deleted file mode 100644 index 8b344555..00000000 Binary files a/.config/google-chrome/Crash Reports/settings.dat and /dev/null differ diff --git a/.config/google-chrome/CrashpadMetrics-active.pma b/.config/google-chrome/CrashpadMetrics-active.pma deleted file mode 100644 index b807c338..00000000 Binary files a/.config/google-chrome/CrashpadMetrics-active.pma and /dev/null differ diff --git a/.config/google-chrome/Crowd Deny/2021.8.2.1142/Preload Data b/.config/google-chrome/Crowd Deny/2021.8.2.1142/Preload Data deleted file mode 100644 index 6b907075..00000000 --- a/.config/google-chrome/Crowd Deny/2021.8.2.1142/Preload Data +++ /dev/null @@ -1,1873 +0,0 @@ - - - 1080kino.net - -123moviesd.com - -123moviesgoto.com - -123moviesmix.com - -123moviesonline.online - -123watchmovies.co - - 1progs.ru - - -1sa.com.ua - - 24smi.org - - 2plus2.ua - - 2recepta.com - - 34travel.me - - 4ertik.site - -4eva.ru - - -50style.pl - - 5element.by - -7days.ru - -a.profitsurvey.org - - abvshka.net - - -adwile.com - - akurat.co - -alharamainexclusive.com - - all-audio.pro - - allhiphop.com - -allnewsukraine.top - -allo.ua - - allotube.net - - allrepack.ru - -analyticsindiamag.com - - anzalweb.ir - -armyinform.com.ua - -auto-motor-seite.de - -auto.hindustantimes.com - -auto.howstuffworks.com - -auto.ru - -autooverload.com - - avtika.ru - - avtozvuk.ua - -babylonvape.ru - - bankiros.ru - - bazaar.ru - - -beopeo.com - - bestie.vn - - bezprawnik.pl - -bigl.ua - -bigpara.hurriyet.com.tr - - biguz.net - -biqle.ru - -birchlerarroyo.com - -birdinflight.com - -bisnis.tempo.co - - biz.today.ua - -biznes.interia.pl - -blade-city.com - -bleedingcool.com - - blog.allo.ua - -blog.calltouch.ru - - blog.media.io - -bobsvagene.club - -bonvoyaged.com - -book-ye.com.ua - - bookshake.net - -boom.ms - - -bozoba.com - - -br.ign.com -, -(brandequity.economictimes.indiatimes.com - - brandshop.ru - - brobible.com - -budujemydom.pl - - -buh.ru - - burdastyle.ru - -businessinsider.com.pl - -bypasser.glitch.me - - -bystock.me - - -canhco.net - - -car.ru - -cartoonprn.com - -celebsnudeworld.com - -chitrajyothy.com - -ciekawostkihistoryczne.pl - -clck.lentainform.com - -clever-opportunity.com - -components101.com - -cooking4all.com - -coronavirus.rbc.ua - -coub.com - -cppsecrets.com - - d.epizod.life - - dadsnews.com - - dailylenta.ru - -deal.by - - deccoria.pl - - denika.ua - - dizidimi.com - - dnipro-m.ua - - doctorhead.ru - - -dok.ua - - dorzeczy.pl - -dziendobry.tvn.pl - -dziennikbaltycki.pl - -dzienniklodzki.pl - -dziennikpolski24.pl - -dziennikzachodni.pl - -e.sport.interia.pl - - echo.msk.ru - -edu2review.com - - eldorado.ua - -emagtrends.com - - emojio.ru - -en.pornoreino.com - - en.vidmo.org - -entreterse.com.br - -epicstream.com - - -epoznan.pl - -es.millenium.gg - - -esquire.ru - -everydaykoala.com - -everydaymonkey.com - - ex.24smi.info - -examples.javacodegeeks.com - - expertnov.ru - -expressilustrowany.pl - -f.ua - -factsandfun.de - - fakti.online - - fakty.com.ua - -falafelandcaviar.com - - -falnic.com - - fapxl.com - -film.interia.pl - -filmmakinesi.pw - -financialadvisorheroes.com - -finans.mynet.com - - -fishki.net - -focus.ua - -forum.memurlar.net - -forums.anandtech.com - - -fribbla.de - -frugalinsa.com - -fullfilmcidayi.com - - gabestore.ru - - games.mail.ru - - gaya.tempo.co - -gazetakrakowska.pl - -gazetawroclawska.pl - -getonechance.com - -gkb4.by - - glavnoe.net - -gloswielkopolski.pl - -goblins-film.top - -goblins-online.ru - -gol24.pl - - goniec.pl - -goodfileshare.com - - goodporn.to - -gotowanie.onet.pl - -govoritmoskva.ru - -graziamagazine.ru - -happy-woman.com - -hduwatchfree.online - -health.grid.id - -health.kompas.com - -heimdalsecurity.com - -hellogiggles.com - -hochu.ua - -hoff.ru - -hollywoodlife.com - -home.howstuffworks.com - -hothardware.com - -hotline.finance - - hungmobile.vn - -hungrygrizzly.com - - -hvylya.net - - ibis.net.ua - -images.dawn.com - - in-scale.ru - -in.bestreviews.guide - - incrussia.ru - -indianexpress.com - -infokomputer.grid.id - - informer.rs - - infotime.co - -infox.sg - - -inkazan.ru - -insidefutbol.com - - insideiim.com - - -instyle.ru - - interesnoe.me - - intertop.ua - -investasi.kontan.co.id - -iq.opengenus.org - - iranhost.com - -iranzirnevis.com - - it-tehnik.ru - -it.joecomp.com - - itresan.com - -itsthevibe.com - - itti.com.np - - -j-town.net - - jaheshtv.com - -jenny.gr - -joyofandroid.com - -justpicsplease.com - -kadry.infor.pl - -kakoy-smysl.ru - - -kapital.kz - - kcentr.ru - -kedem.ru - -kesehatan.kontan.co.id - -keuangan.kontan.co.id - - keysprog.ru - - kimcartoon.li - -kino-o-voine.ru - - kinoafisha.ua - - kinodrive.pro - -kinogo-film.xyz - - kinoradu.net - - kissasian.la - -kissasians.org - -kisscenter.net - -kms-activator.net - -kmsauto-net.ru - - knigogo.net - -kobieta.interia.pl - -kobieta.onet.pl - - kogda.org - - -komfort.pl - -kp.ua - -ksiegowosc.infor.pl - - -kudago.com - -kultura.onet.pl - -kwejk.pl - - l-a-b-a.com - -laguna.telediario.mx - -lanetaneta.com - -lawandcrime.com - - lawcorner.in - -leboutique.com - - -lemzspb.ru - -lenta.ru - -letsplayers.ru - -life.policypilot.com - - lifehacker.ru - -lifestyle.kompas.com - -lifestyle.kontan.co.id - -lifestyle.livemint.com - -likeitviral.com - -linguaholic.com - -lisa.ru - - livestly.com - - loanpride.com - -lordfilm.hdlim.com - - lordflix.com - -lords.lutikhd.com - -lost-film-tv.ru - -lubimyczytac.pl - - m-strana.ru - -m.business-gazeta.ru - - -m.lenta.ru - - mag.auto.ru - -makeup-advice.com - - makeup.ru - - mangafast.net - - mastertest.ir - - maxaims.com - - -maxipro.ru - -med-magazin.ua - - media-dad.com - - meduza.io - - medvestnik.ru - -megapolitan.kompas.com - - memepedia.ru - -mentalmars.com - -menway.interia.pl - -metro.tempo.co - - -mi-home.pl - - mi7-news.org - -mile.by - -militaryarms.ru - -militarybud.com - - mirtesen.ru - -mojafirma.infor.pl - -money.kompas.com - -moskva.beeline.ru - -motoryzacja.interia.pl - - multiurok.ru - - muratordom.pl - -muzyka.interia.pl - -myasiantv.immortalproxy.com - -mydailyfreedom.com - - myfreesoft.ru - - naekranie.pl - -naked-science.ru - -nasional.kompas.com - -nasional.tempo.co - - -nbsklep.pl - - nevnov.ru - -newrepublic.com - -news-front.info - -news-sphere.com - -news.hyser.com.ua - -news.news-evi.net - - news.rbc.ua - -newsable.asianetnews.com - -newssetup.kontan.co.id - -newstracker.ru - -nextren.grid.id - - nexusmod.ru - -noizz.pl - -noizz.rs - - notthebee.com - -novayagazeta.ru - -novosti24rf.com - - nt.interia.pl - - -nto.pl - - obrazovaka.ru - - -offnews.bg - - ofigenno.com - - opinioni.it - - ostoday.org - -otomotif.kompas.com - -pasgo.vn - -people.howstuffworks.com - - pixxxels.cc - -pl.if-koubou.com - -plantophiles.com - - -plejada.pl - -podroze.onet.pl - -pol.go-travels.com - -poland-consult.com - -polskatimes.pl - - pomorska.pl - - -poranny.pl - -pornohotelka.net - -pornolampa.net - - poryadok.ru - - poscitech.com -" -preload-spammy.permission.site - - -profile.ru - -programmersought.com - - promokodi.net - - prophotos.ru - -prozoro.net.ua - -pt.joecomp.com - -pt.tipsandtrics.com - -putlockert.com - -quangcaosieutoc.com - - racurs.ua - -radarmedia.net - -radaronline.com - -radiosputnik.ria.ru - - raketa.hu - -rastenievod.com - -read.boruto-manga.co - -readcomiconline.li - -realsport101.com - - realty.ria.ru - - -redsmi.com - -regional.kompas.com - -religionnews.com - -remontcompa.ru - -rg.ru - - -ria.ru - -rickandmortytv.ru - -ridomovies.com - -rocketfacts.com - -rockstargames.su - - -roocket.ir - -root-nation.com - - rosnews.biz - -rossaprimavera.ru - - rsport.ria.ru - - ru-mi.com - -ru.abcdef.wiki - -ru.banggood.com - -ru.go-travels.com - - ru.infox.sg -! -ru.univdesigntechnologies.com - - ruposters.ru - - rus.delfi.lv - -russian.rt.com - -rycckienovosti.ru - - samehadaku.to - -samo.vazhno.ru - -samorzad.infor.pl - -santehnika-online.ru - -science.howstuffworks.com - - selsey.pl - - semantica.in - - serialbox.fun - -serialy-tor.com - -seriespapaya.me - - -setafi.com - - shazoo.ru - -shop.evalar.ru - -shop.lenovo.ru - -shop.tastycoffee.ru - - shopotam.ru - -show-biz-news.com - -sidex.ru - -sila.by - -skin.ru - -sklepmartes.pl - - slovodel.com - -smartblogger.com - - smhn.info - -smi2.ru - -smmplanner.com - - smutr.com - - -smutty.com - - so-magazyn.pl - -softomania.net - -sorularlaislamiyet.com - - sotoguide.ru - -spammy.permission.site - -spark.ru - -spb.vseinstrumenti.ru - - spidersweb.pl - -spmag.ru - - sport.blic.rs - - sport.fakt.pl - -sport.interia.pl - - sport.onet.pl - -sport.wprost.pl - - sport.znaj.ua - - sports442.com - - -sputnik.by - - stalkermod.ru - - starsblvd.com - -steamcrackedgames.com - -stories-of-success.ru - -storinka.com.ua - -streamingcommunity.vip - -streamingcommunity.work - - stroi.mos.ru - -styl.interia.pl - - stylus.ua - -suachualaptop24h.com - - subdl.com - - -sud.ua - - sunmag.me - -swarajyamag.com - -swiatseriali.interia.pl - - tabnakbato.ir - - takprosto.cc - -tass.ru - - tddomovoy.ru - - techrato.com - -tekno.kompas.com - -tekno.tempo.co - -teksty-pesenok.ru - -telanganatoday.com - -teleprogramma.pro - -text-pesni.com - - texterra.ru - - thebridge.in - -thefinancechatter.com - - thespun.com - -tinnhanh12s.com - -tintuc.viettelstore.vn - -tinyrituals.co - -tlum.ru - - toonily.com - -top-reyting.ru - - top10.travel - - -tophunt.in - -toppoptoday.com - -torrent-word.com - -torrent-zsg.ru - - torrent24.ru - -tr.banggood.com - -tr.op.gg - -tr.sputniknews.com - -tripmydream.com - -tuoitrexahoi.vn - - tvrain.ru - -tvstuffreviews.com - -twosleevers.com - - udm-info.ru - - ukranews.com - - usdaynews.com - -uz.sputniknews.ru - -vesti.ua - -vi.joecomp.com - -vi.strephonsays.com - -videocelebs.net - - vidlox.me - -vietgiaitri.com - -viettelidc.com.vn - - viettimes.vn - - vipofilm.com - - vipserije.com - - -visasam.ru - - -vistula.pl - -vm.ru - - volosnya.com - - vpautinu.com - -vz.ru - -w.ebalovo.porn - -w11.mangafreak.net - -wargm.ru - -warszawa.naszemiasto.pl - -wartakota.tribunnews.com -! -watchasian.siteunblocked.info - -wav-library.net - -web-shpargalka.ru - -webformyself.com - - wethegeek.com - -wi-fi.ru - -wiadomosci.onet.pl - - wideo.wp.pl - -wiki.merionet.ru - - -wikichi.ru - - wikiwiki.in - - windakeys.ru - - windowspro.ru - -wingchunkungfu.eu - -winnersvenue.com - -wkruk.pl - -worldsubtitle.site - - -wotpack.ru - - wowskill.ru - - -wtv.pl - -ww1.123movieshub.tc -# -ww12.myheroacademiaepisodes.com - -ww2.123movieshub.tc - -ww3.attacktitanepisodes.com - -www.1001tur.ru - - www.12up.com - -www.220-volt.ru - -www.3djuegos.com - -www.720p-fullizleme.com - -www.720pfilmizletir.com - - www.a1.by - - -www.add.ua - -www.aficionados.com.br - -www.alfabank.by - -www.allkpop.com - -www.allnporn.com - -www.alltime.ru - - -www.alo.rs - -www.alternet.org - - www.amokb.ru - -www.anadolusaglik.org - -www.anandtech.com - -www.androidkosmos.de - -www.animatedtimes.com - -www.aninews.in - -www.anphatpc.com.vn - -www.apteka24.ua - - www.archon.pl - -www.articleskill.com - -www.askmen.com - - www.asna.ru - -www.atasunoptik.com.tr - -www.audiomania.ru - -www.auslogics.com - -www.auto-swiat.pl - -www.autodoc.pl - -www.aviasales.ru - -www.avtoall.ru - -www.avtovzglyad.ru - - www.banki.ru - -www.bartarinha.ir - -www.basketballnetwork.net - -www.beliani.pl - -www.belnovosti.by - -www.bestmebelshop.ru - -www.bestwatch.ru - - -www.bfm.ru - - -www.bgr.in - -www.bigsmall.in - -www.birgun.net - -www.bjpenn.com - -www.bleacherbreaker.com - - www.blic.rs - -www.block-chain24.com - -www.bollywoodlife.com - -www.bollywoodshaadis.com - -www.boredpanda.com - -www.borna.news - -www.botanichka.ru - -www.brakeforit.com - - -www.brw.pl - -www.business-gazeta.ru - -www.businesstoday.in - - www.cakart.in - -www.cartoq.com - -www.cbsesamplepapers.info - -www.championat.com - -www.chefmarket.ru - -www.chetor.com - - www.cifrus.ru - - www.citrus.ua - -www.cleverst.com - -www.cnnturk.com - -www.comicbookmovie.com - -www.computerworld.com - - www.conrad.pl - -www.convertbinary.com - -www.coolmate.me - - www.cosmo.ru - -www.crafthought.com - - www.ctshop.rs - -www.cultture.com - -www.cuteness.com - -www.cybersport.ru - -www.dagi.com.tr - -www.dailyfunny.com - -www.dailystar.co.uk - -www.darmankade.com - -www.de-online.ru - -www.decathlon.ru - -www.decathlon.ua - -www.deccanherald.com - -www.desidime.com - -www.devletdestekli.com - -www.dienanh.net - - www.digit.in - -www.digitalartsonline.co.uk - -www.digitaltrends.com - -www.dmarge.com - -www.dnaindia.com - - www.dnes.bg - -www.doctorrouter.ru - -www.doubtnut.com - - www.dp.ru - - www.dr.com.tr - -www.egitimsistem.com - - www.epool.ru - -www.espinof.com - -www.exchange4media.com - -www.extremetech.com - -www.factable.com - - www.fakt.pl - -www.fanatik.com.tr - -www.filmstarts.de - - www.finam.ru - -www.firstpost.com - -www.flirt4fuck.com - - www.forbes.pl - -www.forumhouse.ru - -www.fotosklad.ru - -www.foxtrot.com.ua - -www.fr24news.com - -www.freepressjournal.in - -www.freshedits.com - - www.fxmag.pl - - www.gala.de - -www.gamer.com.tr - -www.gameskinny.com - -www.gamingbible.co.uk - -www.gandalf.com.pl - -www.gfinityesports.com - -www.gingerize.com - -www.giveitlove.com - -www.glavbukh.ru - -www.gloriousa.com - -www.goodfon.ru - -www.goodhouse.ru - -www.gossipcop.com - -www.gpfans.com - - www.gq.ru - -www.graduatez.com - -www.gridoto.com - -www.gursesgazetesi.com - - www.gzt.com - -www.haberler.com - -www.haberturk.com - -www.hdpornos.net - -www.headphonezone.in - -www.healthygem.com - - www.helios.pl - -www.hellomagazine.com - -www.herzindagi.com - -www.highly-healthy.com - -www.historybyday.com - -www.historychronicle.com - -www.hnammobile.com - -www.hurriyet.com.tr - -www.ibtimes.com - -www.ibtimes.sg - -www.idealmedia.io - -www.idefix.com - -www.idntimes.com - -www.igromania.ru - -www.iguides.ru - -www.iha.com.tr - -www.indiaglitz.com - - www.infor.pl - -www.infoworld.com - - www.infox.ru - -www.insertlive.com - -www.inside-games.jp - -www.insidehook.com - -www.internet-technologies.ru - -www.intexpool.ua - -www.intouchweekly.com - -www.invitro.ru - - www.iparts.pl - -www.itemsatis.com - -www.japscan.ws - -www.javacodegeeks.com - -www.khabaronline.ir - -www.kiss-anime.ws - -www.klatsch-tratsch.de - - www.kleo.ru - -www.koimoi.com - -www.kolesa-darom.ru - -www.komputerswiat.pl - -www.komputronik.pl - -www.ladbible.com - - www.lamoda.ru - -www.lentainform.com - -www.libertaddigital.com - -www.lifeandstylemag.com - -www.livelib.ru - -www.livingmgz.com - -www.luxandlush.com - -www.lyricsmint.com - - -www.m24.ru - - www.maggi.ru - -www.mebelok.com - - www.meble.pl - -www.meczyki.pl - -www.medicalpark.com.tr - -www.medonet.pl - - www.melty.fr - -www.minimaks.ru - - www.mirf.ru - -www.mixedmartialarts.com - -www.mjakmama24.pl - -www.moneypail.com - -www.moneypop.com - -www.morele.net - -www.motofakty.pl - - www.moyo.ua - -www.mpcforum.pl - -www.muratorplus.pl - -www.musicoholics.com - - www.mynet.com - -www.networkworld.com - -www.newindianexpress.com - -www.newsweek.com - -www.newsweek.pl - - www.niadd.com - - www.nl.ua - -www.ntv.com.tr - -www.ntvspor.net - -www.oekotest.de - -www.ofeminin.pl - - www.ogorod.ru - - www.oleole.pl - - -www.oma.by - - www.onet.pl - -www.opensourceforu.com - -www.orgtech.info - -www.ortograf.pl - -www.osnmedia.ru - -www.ostmusic.org - - -www.oum.ru - -www.outkick.com - -www.outlookindia.com - -www.paginemediche.it - -www.papilot.pl - -www.pastfactory.com - -www.pcworld.com - -www.people-today.com - - www.pepper.ru - -www.percona.com - -www.player.one - - www.plaza.ir - -www.plovdiv24.bg - -www.pocket-lint.com - -www.poehalisnami.ua - -www.pomponik.pl - -www.popmech.ru - -www.poradnikzdrowie.pl - -www.poradyiwskazowki.pl - -www.posta.com.tr - -www.postfun.com - -www.programmersought.com - -www.przegladsportowy.pl - - -www.rbc.ua - - www.rbth.com - - -www.rd.com - - www.renee.pl - -www.republicworld.com - -www.republika.rs - - www.ridus.ru - - www.rmf24.pl - -www.robotistan.com - -www.runningshoesguru.com - -www.rusprofile.ru - - www.salon.com - - www.se.pl - -www.seelatest.com - -www.shabakeh-mag.com - -www.shoutmeloud.com - -www.simbaly.com - -www.skapiec.pl - - www.soccer.ru - -www.solodonna.it - - www.sonora.id - -www.sozcu.com.tr - -www.sport-express.ru - -www.sportbible.com - -www.sportfair.it - -www.star-telegram.com - -www.studentsea.com - -www.studyfinds.org - - www.styl.pl - -www.successcds.net - -www.supersoluce.com - -www.taburetka.ua - -www.tacorelish.com - -www.takvim.com.tr - -www.tarafdari.com - -www.techadvisor.com - -www.techhive.com - -www.technopark.ru - -www.techopedia.com - -www.tecnoandroid.it - -www.tekfullfilmizle.net - -www.telemagazyn.pl - -www.tellychakkar.com - -www.thelallantop.com - -www.themanual.com - -www.themarysue.com - -www.theprimarymarket.com - -www.thewrap.com - - www.top5.com - -www.topperlearning.com - -www.toptenz.net - -www.torlock.com - -www.tourdom.ru - -www.trainerscity.com - -www.trivia.com - -www.tumgir.com - -www.turboimagehost.com - -www.tvserial.it - -www.twojemeble.pl - - www.tyla.com - - www.upi.com - -www.urzadzamy.pl - - www.vardex.ru - -www.vbetua.com - - -www.vbr.ru - -www.velodrive.ru - - www.vesti.ru - - www.vogue.ru - -www.voloscontato.it - -www.vseinstrumenti.ru - -www.wanderoam.com - -www.wartaekonomi.co.id - -www.watsons.com.tr - -www.weekendowo.pl - -www.wionews.com - -www.wittchen.com - - www.wlwt.com - -www.womanhit.ru - - www.wprost.pl - -www.xataka.com - -www.xgamers.ru - - www.xiaomi.ua - -www.xrares.com - -www.yeniasir.com.tr - -www.yenicaggazetesi.com.tr - -www.yenisafak.com - - www.zdnet.com - - www.zoomit.ir - - www.zr.ru - -www1.movies123.click - -www4.dramacool.ae - -www5.dramacool.ae - -wydarzenia.interia.pl - -yifysubtitles.me - - yourbump.com - -yourdailysportfix.com - -yoursportspot.com - - ytro.news - -yukfilmizle.com - - zagruz.tv - - zdravcity.ru - - zdrogi.pl - -zdrowie.tvn.pl - -zdrowie.wprost.pl - - -zen-top.ru - -zielona.interia.pl - - zolotoyvek.ua - - clickpush.biz - -fastnewstream.com - - feernews.biz - -free-girls-vids.com - - fres-news.com - - loostnews.biz - -mediazone.mobi - - meknews.biz - -narch-news2.club - - newscart.club - -operator-message.club - -pubcheckertest10.com  - -pubcheckertest8.com - -pubcheckertest9.com - -sabs-news.info - -sms-operator.club - - weenews.biz \ No newline at end of file diff --git a/.config/google-chrome/Crowd Deny/2021.8.2.1142/_metadata/verified_contents.json b/.config/google-chrome/Crowd Deny/2021.8.2.1142/_metadata/verified_contents.json deleted file mode 100644 index c9dc6481..00000000 --- a/.config/google-chrome/Crowd Deny/2021.8.2.1142/_metadata/verified_contents.json +++ /dev/null @@ -1 +0,0 @@ -[{"description":"treehash per file","signed_content":{"payload":"eyJjb250ZW50X2hhc2hlcyI6W3siYmxvY2tfc2l6ZSI6NDA5NiwiZGlnZXN0Ijoic2hhMjU2IiwiZmlsZXMiOlt7InBhdGgiOiJQcmVsb2FkIERhdGEiLCJyb290X2hhc2giOiI1NThNM1lRaFZONWlONW01SGVKZ3VHalJSVFNWMktpSlJ5cFB6WW1YQjNZIn0seyJwYXRoIjoibWFuaWZlc3QuanNvbiIsInJvb3RfaGFzaCI6ImtYZGdRRUp5cThJdzFOSkFtX3k5WHBuNU1oOWlzaXAyczVrSWRDRXE2bGcifV0sImZvcm1hdCI6InRyZWVoYXNoIiwiaGFzaF9ibG9ja19zaXplIjo0MDk2fV0sIml0ZW1faWQiOiJnZ2trZWhnYm5manBlZ2dmcGxlZWFrcGlkYmtpYmJtbiIsIml0ZW1fdmVyc2lvbiI6IjIwMjEuOC4yLjExNDIiLCJwcm90b2NvbF92ZXJzaW9uIjoxfQ","signatures":[{"header":{"kid":"publisher"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"a4KKoNUt35TYTgsdI6fv_7ivV3Jf9FbNue_Xv8e3-K5vdsd0k9TaNboHIY9SQhQHEZgIf3IwGvYix3I0Vz8rlZSwiY2erGyyl542Gc3FCnW6rqZikQS4PhL-Agu2NfSCqViyUAfLDnLVcLmRQPpy2a0u3zmspI8MyCmHq4uzbZFCvTIKY0Hjv_3mdr0o_Xat3LroWlGd6HMnSZ3uCt2TXH1F0gKIMP4PNeKvwVScW1Pmu5v8_BnXeJgGtSItxMM8j6kvYu0oaqRMLfDucp77N0Y3zv50uJQFWNDfNF9jRCyERV5aAzN0wj5f9EKOiFBMwHOuBg2lPpvRCuEBObpHMGqtRciyHqgXgqG7Ypcww5u92fpeNDF9oBWS_wCvKbbTjxICXnUGLLlg06zYfhrl_IRL7L2oNf-mU94d5cimjl6sG6uJ_rA7aTvdMDa0LNPOd2YPKe-R9-2Te945PR0BefT1zRigryo5Ala6l6hQz7_rhB9b-5P2NzIKxvxlqO2mXSatb3TdPzeX7SN61xocD-9rBZvy25d8jOQtCAoGfDC5DbZePBY-t9pg-swrkMb5hDQb0itRivDLj-Y8N1KtnUNkZpvTNB7Pl1I12tnHXJia-Czgo_HWvgEnBHouaGegCB5QQfsqU2PnmrWBvYNqwe3EKW8YLYKtmFa_M_CMEC8"},{"header":{"kid":"webstore"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"HMvoRPrwv7WtcUyTwo7SiFL6iXiNpWbhHbPprTLJQeBkliX3J-nj2THsQ0PWnlu7j-3CooFunLWU_CmtW_O79MDUys9FAXEIMiu0DISqPL_adSJiyyQf_IpxPD_c8HJg6LIc3YuGPJcKgQ-rcrE0KPNUe2VgRl-MPsCREP5FpFyzlvzquFPMNfL4iAy8m88v7Dytu1xS9sjluXwGxlqEFS-P8kJs5F0Pr91BIdJGiWCstnVN1Dch66sr5mNR30zT-NPjcIQTaCyPgFSTCMSUiLIqpt2hnEWaqinfpoPooPjReC4LMfNOVuCmatVPkBynZk7PALAB4g2IKQO9oY9WhQ"}]}}] \ No newline at end of file diff --git a/.config/google-chrome/Crowd Deny/2021.8.2.1142/manifest.fingerprint b/.config/google-chrome/Crowd Deny/2021.8.2.1142/manifest.fingerprint deleted file mode 100644 index 840cdf29..00000000 --- a/.config/google-chrome/Crowd Deny/2021.8.2.1142/manifest.fingerprint +++ /dev/null @@ -1 +0,0 @@ -1.ad9610a41f9aedca740bb5467b5a7ec8e73c0fc55d3427d6f4574eb28dab27fb \ No newline at end of file diff --git a/.config/google-chrome/Crowd Deny/2021.8.2.1142/manifest.json b/.config/google-chrome/Crowd Deny/2021.8.2.1142/manifest.json deleted file mode 100644 index 05da7bc9..00000000 --- a/.config/google-chrome/Crowd Deny/2021.8.2.1142/manifest.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "manifest_version": 2, - "name": "Crowd Deny", - "preload_data_format": 1, - "version": "2021.8.2.1142" -} \ No newline at end of file diff --git a/.config/google-chrome/Default/AutofillStrikeDatabase/LOCK b/.config/google-chrome/Default/AutofillStrikeDatabase/LOCK deleted file mode 100644 index e69de29b..00000000 diff --git a/.config/google-chrome/Default/AutofillStrikeDatabase/LOG b/.config/google-chrome/Default/AutofillStrikeDatabase/LOG deleted file mode 100644 index e69de29b..00000000 diff --git a/.config/google-chrome/Default/BudgetDatabase/LOCK b/.config/google-chrome/Default/BudgetDatabase/LOCK deleted file mode 100644 index e69de29b..00000000 diff --git a/.config/google-chrome/Default/BudgetDatabase/LOG b/.config/google-chrome/Default/BudgetDatabase/LOG deleted file mode 100644 index e69de29b..00000000 diff --git a/.config/google-chrome/Default/Cookies b/.config/google-chrome/Default/Cookies deleted file mode 100644 index e86d5c9c..00000000 Binary files a/.config/google-chrome/Default/Cookies and /dev/null differ diff --git a/.config/google-chrome/Default/Cookies-journal b/.config/google-chrome/Default/Cookies-journal deleted file mode 100644 index e69de29b..00000000 diff --git a/.config/google-chrome/Default/Download Service/EntryDB/LOCK b/.config/google-chrome/Default/Download Service/EntryDB/LOCK deleted file mode 100644 index e69de29b..00000000 diff --git a/.config/google-chrome/Default/Download Service/EntryDB/LOG b/.config/google-chrome/Default/Download Service/EntryDB/LOG deleted file mode 100644 index e69de29b..00000000 diff --git a/.config/google-chrome/Default/Extension Cookies b/.config/google-chrome/Default/Extension Cookies deleted file mode 100644 index 00acb57d..00000000 Binary files a/.config/google-chrome/Default/Extension Cookies and /dev/null differ diff --git a/.config/google-chrome/Default/Extension Cookies-journal b/.config/google-chrome/Default/Extension Cookies-journal deleted file mode 100644 index e69de29b..00000000 diff --git a/.config/google-chrome/Default/Extension Rules/000003.log b/.config/google-chrome/Default/Extension Rules/000003.log deleted file mode 100644 index 7e42aa79..00000000 Binary files a/.config/google-chrome/Default/Extension Rules/000003.log and /dev/null differ diff --git a/.config/google-chrome/Default/Extension Rules/CURRENT b/.config/google-chrome/Default/Extension Rules/CURRENT deleted file mode 100644 index 7ed683d1..00000000 --- a/.config/google-chrome/Default/Extension Rules/CURRENT +++ /dev/null @@ -1 +0,0 @@ -MANIFEST-000001 diff --git a/.config/google-chrome/Default/Extension Rules/LOCK b/.config/google-chrome/Default/Extension Rules/LOCK deleted file mode 100644 index e69de29b..00000000 diff --git a/.config/google-chrome/Default/Extension Rules/LOG b/.config/google-chrome/Default/Extension Rules/LOG deleted file mode 100644 index eec16d96..00000000 --- a/.config/google-chrome/Default/Extension Rules/LOG +++ /dev/null @@ -1,2 +0,0 @@ -2021/08/18-00:16:46.309 39d9 Creating DB /home/josuer08/.config/google-chrome/Default/Extension Rules since it was missing. -2021/08/18-00:16:46.467 39d9 Reusing MANIFEST /home/josuer08/.config/google-chrome/Default/Extension Rules/MANIFEST-000001 diff --git a/.config/google-chrome/Default/Extension Rules/MANIFEST-000001 b/.config/google-chrome/Default/Extension Rules/MANIFEST-000001 deleted file mode 100644 index 18e5cab7..00000000 Binary files a/.config/google-chrome/Default/Extension Rules/MANIFEST-000001 and /dev/null differ diff --git a/.config/google-chrome/Default/Extension State/000003.log b/.config/google-chrome/Default/Extension State/000003.log deleted file mode 100644 index cb9a8ad3..00000000 Binary files a/.config/google-chrome/Default/Extension State/000003.log and /dev/null differ diff --git a/.config/google-chrome/Default/Extension State/CURRENT b/.config/google-chrome/Default/Extension State/CURRENT deleted file mode 100644 index 7ed683d1..00000000 --- a/.config/google-chrome/Default/Extension State/CURRENT +++ /dev/null @@ -1 +0,0 @@ -MANIFEST-000001 diff --git a/.config/google-chrome/Default/Extension State/LOCK b/.config/google-chrome/Default/Extension State/LOCK deleted file mode 100644 index e69de29b..00000000 diff --git a/.config/google-chrome/Default/Extension State/LOG b/.config/google-chrome/Default/Extension State/LOG deleted file mode 100644 index 73eb5203..00000000 --- a/.config/google-chrome/Default/Extension State/LOG +++ /dev/null @@ -1,2 +0,0 @@ -2021/08/18-00:16:35.159 398e Creating DB /home/josuer08/.config/google-chrome/Default/Extension State since it was missing. -2021/08/18-00:16:35.406 398e Reusing MANIFEST /home/josuer08/.config/google-chrome/Default/Extension State/MANIFEST-000001 diff --git a/.config/google-chrome/Default/Extension State/MANIFEST-000001 b/.config/google-chrome/Default/Extension State/MANIFEST-000001 deleted file mode 100644 index 18e5cab7..00000000 Binary files a/.config/google-chrome/Default/Extension State/MANIFEST-000001 and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ar/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ar/messages.json deleted file mode 100644 index 9a7aec93..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ar/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "إنشاء العروض التقديمية وتعديلها" - }, - "appname": { - "message": "العروض التقديمية" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/bg/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/bg/messages.json deleted file mode 100644 index 96d7043a..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/bg/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Създавайте и редактирайте презентации" - }, - "appname": { - "message": "Презентации" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ca/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ca/messages.json deleted file mode 100644 index 90ea57c5..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ca/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Crea i edita presentacions" - }, - "appname": { - "message": "Presentacions" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/cs/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/cs/messages.json deleted file mode 100644 index 376e212f..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/cs/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Vytvářejte a upravujte prezentace" - }, - "appname": { - "message": "Prezentace" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/da/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/da/messages.json deleted file mode 100644 index 6f13da7b..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/da/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Opret og rediger præsentationer" - }, - "appname": { - "message": "Slides" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/de/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/de/messages.json deleted file mode 100644 index 4cfe5b69..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/de/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Erstellen und bearbeiten Sie Präsentationen." - }, - "appname": { - "message": "Präsentationen" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/el/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/el/messages.json deleted file mode 100644 index 704cefb3..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/el/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Δημιουργία και επεξεργασία παρουσιάσεων" - }, - "appname": { - "message": "Παρουσιάσεις" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/en_GB/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/en_GB/messages.json deleted file mode 100644 index a53f886b..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/en_GB/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Create and edit presentations" - }, - "appname": { - "message": "Slides" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/en_US/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/en_US/messages.json deleted file mode 100644 index 5a5cbc89..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/en_US/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Create and edit presentations " - }, - "appName": { - "description": "App name.", - "message": "Slides" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/es/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/es/messages.json deleted file mode 100644 index fc636630..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/es/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Crear y editar presentaciones" - }, - "appname": { - "message": "Presentaciones" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/es_419/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/es_419/messages.json deleted file mode 100644 index 8dcd7b34..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/es_419/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Crea y edita presentaciones" - }, - "appname": { - "message": "Presentaciones" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/et/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/et/messages.json deleted file mode 100644 index 4f2f0e23..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/et/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Esitluste loomine ja muutmine" - }, - "appname": { - "message": "Esitlused" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/fi/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/fi/messages.json deleted file mode 100644 index ab3ed81c..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/fi/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Luo ja muokkaa esityksiä." - }, - "appname": { - "message": "Slides" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/fil/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/fil/messages.json deleted file mode 100644 index 52f108d7..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/fil/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Gumagawa at nag-e-edit ng mga presentation" - }, - "appname": { - "message": "Slides" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/fr/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/fr/messages.json deleted file mode 100644 index 9daf73ff..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/fr/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Créez et modifiez des présentations" - }, - "appname": { - "message": "Slides" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/he/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/he/messages.json deleted file mode 100644 index 71f92a48..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/he/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "יצירה ועריכה של מצגות" - }, - "appname": { - "message": "Slides" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/hi/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/hi/messages.json deleted file mode 100644 index b2073168..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/hi/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "प्रस्तुतिकरण बनाएं और उनमें बदलाव करें" - }, - "appname": { - "message": "स्लाइड" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/hu/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/hu/messages.json deleted file mode 100644 index 13c16091..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/hu/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Prezentációk létrehozása és szerkesztése" - }, - "appname": { - "message": "Diák" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/id/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/id/messages.json deleted file mode 100644 index 89c1ae04..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/id/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Membuat dan mengedit presentasi" - }, - "appname": { - "message": "Slide" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/it/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/it/messages.json deleted file mode 100644 index ecb6e647..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/it/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Crea e modifica presentazioni" - }, - "appname": { - "message": "Presentazioni" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ja/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ja/messages.json deleted file mode 100644 index 9c93e063..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ja/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "プレゼンテーションを作成、編集する" - }, - "appname": { - "message": "スライド" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ko/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ko/messages.json deleted file mode 100644 index a83c0315..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ko/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "프레젠테이션 만들기 및 수정" - }, - "appname": { - "message": "프레젠테이션" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/lt/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/lt/messages.json deleted file mode 100644 index c1c00a05..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/lt/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Kurkite ir redaguokite pristatymus" - }, - "appname": { - "message": "Skaidrės" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/lv/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/lv/messages.json deleted file mode 100644 index 1ed6b68b..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/lv/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Prezentāciju veidoÅ¡ana un rediģēšana" - }, - "appname": { - "message": "Prezentācijas" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ms/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ms/messages.json deleted file mode 100644 index ca1a9576..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ms/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Buat dan edit pembentangan" - }, - "appname": { - "message": "Slaid" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/nl/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/nl/messages.json deleted file mode 100644 index 86d7d664..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/nl/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Presentaties maken en bewerken" - }, - "appname": { - "message": "Presentaties" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/no/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/no/messages.json deleted file mode 100644 index 91e2da28..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/no/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Opprett og rediger presentasjoner" - }, - "appname": { - "message": "Presentasjoner" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/pl/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/pl/messages.json deleted file mode 100644 index c27ef1cc..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/pl/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Tworzenie i edytowanie prezentacji" - }, - "appname": { - "message": "Prezentacje" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/pt_BR/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/pt_BR/messages.json deleted file mode 100644 index 6bf320c6..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/pt_BR/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Crie e edite apresentações" - }, - "appname": { - "message": "Apresentações" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/pt_PT/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/pt_PT/messages.json deleted file mode 100644 index f7f22451..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/pt_PT/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Criar e editar apresentações" - }, - "appname": { - "message": "Apresentações" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ro/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ro/messages.json deleted file mode 100644 index 5f738979..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ro/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Creați și editați prezentări" - }, - "appname": { - "message": "Prezentări" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ru/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ru/messages.json deleted file mode 100644 index 6858ea5c..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/ru/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Создавайте и редактируйте презентации." - }, - "appname": { - "message": "Презентации" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/sk/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/sk/messages.json deleted file mode 100644 index 3f251bb7..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/sk/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Vytváranie a úpravy prezentácií" - }, - "appname": { - "message": "Prezentácie" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/sl/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/sl/messages.json deleted file mode 100644 index c37168be..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/sl/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Ustvarite in uredite predstavitve" - }, - "appname": { - "message": "Predstavitve" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/sr/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/sr/messages.json deleted file mode 100644 index e92c2a3a..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/sr/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Правите презентације и уносите измене у њих" - }, - "appname": { - "message": "Презентације" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/sv/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/sv/messages.json deleted file mode 100644 index a37dbfad..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/sv/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Skapa och redigera presentationer" - }, - "appname": { - "message": "Presentationer" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/th/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/th/messages.json deleted file mode 100644 index 6f0de684..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/th/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "สร้างและแก้ไขงานนำเสนอ" - }, - "appname": { - "message": "สไลด์" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/tr/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/tr/messages.json deleted file mode 100644 index badd58d7..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/tr/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Sunular oluşturun ve düzenleyin" - }, - "appname": { - "message": "Slaytlar" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/uk/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/uk/messages.json deleted file mode 100644 index 6d0ebf0b..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/uk/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Створення й редагування презентацій" - }, - "appname": { - "message": "Презентації" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/vi/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/vi/messages.json deleted file mode 100644 index 56bc8207..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/vi/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Tạo và chỉnh sá»­a bản trình bày" - }, - "appname": { - "message": "Trang trình bày" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/zh_CN/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/zh_CN/messages.json deleted file mode 100644 index 00467735..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/zh_CN/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "创建和编辑演示文稿" - }, - "appname": { - "message": "幻灯片" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/zh_TW/messages.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/zh_TW/messages.json deleted file mode 100644 index bb02e0f3..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_locales/zh_TW/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "建立及編輯簡報" - }, - "appname": { - "message": "ç°¡å ±" - } -} diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_metadata/computed_hashes.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_metadata/computed_hashes.json deleted file mode 100644 index 627e8c2f..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_metadata/computed_hashes.json +++ /dev/null @@ -1 +0,0 @@ -{"file_hashes":[{"block_hashes":["/pEsxG0QamE9wrIaFERfkBqpfSRnMHqPFnzM26t5VAo="],"block_size":4096,"path":"main.html"},{"block_hashes":["uyGX5kFyBKwA7/7EjfZvYDmK2qd3xJOT7bizpuXRmLU="],"block_size":4096,"path":"main.js"}],"version":2} \ No newline at end of file diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_metadata/verified_contents.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_metadata/verified_contents.json deleted file mode 100644 index 5d7e933a..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/_metadata/verified_contents.json +++ /dev/null @@ -1 +0,0 @@ -[{"description":"treehash per file","signed_content":{"payload":"eyJjb250ZW50X2hhc2hlcyI6W3siYmxvY2tfc2l6ZSI6NDA5NiwiZGlnZXN0Ijoic2hhMjU2IiwiZmlsZXMiOlt7InBhdGgiOiJfbG9jYWxlcy9hci9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiXzl3S0YyLWpxVmQ0SDEwX3d2alJuTXVrRkNPTmFabXpEdkdDV2NSR3BRdyJ9LHsicGF0aCI6Il9sb2NhbGVzL2JnL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJPRTBIaDBGNGNQWkJEZG5wSEFKTEd2WWNmTWJkTE5XU1JxZkRCRHZIVjZzIn0seyJwYXRoIjoiX2xvY2FsZXMvY2EvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6InJHQzRQbTNabTktNmpLYUttMnNYTms4a01pVjRLZ0xRSlc2RTlrZnVFa00ifSx7InBhdGgiOiJfbG9jYWxlcy9jcy9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoibXZXM1BNcmo3U3Fmc1R6RGUwbE0yeEYtUXRvSHdGcWFXbElXczF3dElrQSJ9LHsicGF0aCI6Il9sb2NhbGVzL2RhL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJZWTBFXzNKSmdXdzkzbXpPYWFhalloMFlvRC1KZTJQT2xoSE1zYnQxSEQwIn0seyJwYXRoIjoiX2xvY2FsZXMvZGUvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IlNOWUhxWHhFLW1jSVZwb0R5YUNfdnpBVFZqUm5EQWQxTzVmc3BxeE5XREUifSx7InBhdGgiOiJfbG9jYWxlcy9lbC9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiUjNFeTJDci10RW4yN2NGZTd5UzJDV3lweHEyLTFQRXA1WTI1WFF5QUw5YyJ9LHsicGF0aCI6Il9sb2NhbGVzL2VuX0dCL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJMalBjMEVlTDdkUGx6ZDloNFZydDRvM3c3U0lkamx4dmxzVm5ESGRadFFNIn0seyJwYXRoIjoiX2xvY2FsZXMvZW5fVVMvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6Ikd3WmZzMEljckFnTHJtdFRoWGFTalh3SzI4a05hbWdWc2owanNobVhVa2sifSx7InBhdGgiOiJfbG9jYWxlcy9lcy9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiU21ULXQ2QzYxdS0xNlZoN2xCa1JoVlh2SUdhRTlDZ1p5Zzk5c3A5YmhiNCJ9LHsicGF0aCI6Il9sb2NhbGVzL2VzXzQxOS9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiSk9pQTFlY004cmljSEVIaGtFWnQzdzdZZm5kWndhY1h5UVZ1M1NzOENGWSJ9LHsicGF0aCI6Il9sb2NhbGVzL2V0L21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJlQ1hYWS1oZjRUa3Q0UFpsT2Q2ZHh4SDJEMnFjN3hRU08yV0duMFlJSFZjIn0seyJwYXRoIjoiX2xvY2FsZXMvZmkvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IldYcFBzVEJYTnhqcHBtSDZGY0dfdFNBcl82cVEtYkY2VEhIOHpra3Z0U3cifSx7InBhdGgiOiJfbG9jYWxlcy9maWwvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IlczbU0xemxIdXJIbVZpVEdXM0xONlNhbVlnWTlGUl9mQUgzMjREY3FYT2cifSx7InBhdGgiOiJfbG9jYWxlcy9mci9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiaGZ6OFlLRlN0bUg4TldkZENxS0pkNW40SkFzcFRaUElLQkU1YURWY0pKTSJ9LHsicGF0aCI6Il9sb2NhbGVzL2hlL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJESmlLNllDTl9vVE9YSmJTYk9uU2ozbTN5WFN1TkpaMVJIVGYxU1FMT1lVIn0seyJwYXRoIjoiX2xvY2FsZXMvaGkvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6InQ1U3o0UHc1dExDdUNSOUZuVmgycUU2RmpvM0tqcWNITl9YaW80bGlScXcifSx7InBhdGgiOiJfbG9jYWxlcy9odS9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoidDdVSHFUM2syald0cnpqdUNiektDSV9oUmxjNDVfZkRBRUFyLWdPM2c3NCJ9LHsicGF0aCI6Il9sb2NhbGVzL2lkL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJWWXVSOTF1REIxQU9malVUeVpfS1Z1Q0RrUE1XQy1yaU4yZlNQRXU2anNzIn0seyJwYXRoIjoiX2xvY2FsZXMvaXQvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6Ing1UTdpRU9PZlZVdEdYN1dlMXYzMzAxRlFnLWt5LUZGZWVoMEg0Z1ZFN2cifSx7InBhdGgiOiJfbG9jYWxlcy9qYS9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiT1hBVHo0Zmdsekh5NE9SQnhSVDhnX1lpTVlJQVI5WVJjbWF3aUpoT29kZyJ9LHsicGF0aCI6Il9sb2NhbGVzL2tvL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiI0ZklQdlFWeDdqWXROdE02SzY4VmpqNlhOR0FtbW5pUFlhMjY3cTFrYnkwIn0seyJwYXRoIjoiX2xvY2FsZXMvbHQvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6InZROFpDbnRiakxaUlZZdTZhWkJDc3lDUEt4X2hiTjg2R3VRZ0JqNXNMZlkifSx7InBhdGgiOiJfbG9jYWxlcy9sdi9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiZGlzNWFrTFdhMjlpd1JpWkszMHdOQ2pvQXRPUFJ4czEyWVZHOU5DRVRYYyJ9LHsicGF0aCI6Il9sb2NhbGVzL21zL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJUQ1I2SllQc3FNUUFjN0VqbVExR0dTcDVtOFplcXpoUGNJY3NRMzRFOHQ4In0seyJwYXRoIjoiX2xvY2FsZXMvbmwvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IkdJcXhhdFlkWDRzWEZXTHEyN2pVMV9HQks4N2pfeUstOFBNUjBZQWlseGcifSx7InBhdGgiOiJfbG9jYWxlcy9uby9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiSjBvTU1zcmpLbkdkbEhsb3J6MURrVzF2LXNaYUJwZHJnMkhzOVVUdUlkayJ9LHsicGF0aCI6Il9sb2NhbGVzL3BsL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJnU2FBVGVTelBubWNZN3RJbEpQX3RvV0l3cHlWWGh2bFByNjNCZE9yaktFIn0seyJwYXRoIjoiX2xvY2FsZXMvcHRfQlIvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IlN1RnVRVzlwTGFpYy1ha01fUkh6VjVlSkpiNnh4OEVhdFhOczk3UUw3aUkifSx7InBhdGgiOiJfbG9jYWxlcy9wdF9QVC9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiLVFVMXd5QUNfT3IyT2ItTHRaVGhhN1Uxc1JDMjRGMUxWNVpmQTNrTXZlcyJ9LHsicGF0aCI6Il9sb2NhbGVzL3JvL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJfRlB3UDFwWFJtckF4R0h0YmhubllqMEhBZjV6a1EyR2JZVHZlSkRHX21jIn0seyJwYXRoIjoiX2xvY2FsZXMvcnUvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IndMeWJuRzNiU1k5cDhudW1XdVowZGVPSjdjbFB5VUd4bGVvN1NBMFVmWkUifSx7InBhdGgiOiJfbG9jYWxlcy9zay9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiZy1heWY3RUhaTHAyZkhKakwyVU5RRWF6N3hQRnpoaDZPTXhVc1dTbWVqVSJ9LHsicGF0aCI6Il9sb2NhbGVzL3NsL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiI4RGtzU3J1X0pYMHRBZVRsRDdLU0M2R0ZpU3JPd2NlNGd6VnZnajUtTkFFIn0seyJwYXRoIjoiX2xvY2FsZXMvc3IvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6InBBVEYtN3dyOU9wM0wyaTNtakFvUEtEOHBlMDdkMUtHemZhaXdSNlRzWG8ifSx7InBhdGgiOiJfbG9jYWxlcy9zdi9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiaVZ5Z3NnSExDTENmUTR1WE85QjV2TTNJQ25FaFlyMk5lZ0JnbEd1V1VQUSJ9LHsicGF0aCI6Il9sb2NhbGVzL3RoL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJvQjF6anpTRFpxUVRra2FBeUo1Y3RlcWVja2stUEdFeWFfYUZmX2dNQ2ljIn0seyJwYXRoIjoiX2xvY2FsZXMvdHIvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IlRIVjNKM0FMLUVyZGJwYi1wYUpFN1lROVZobC1SZkhQMzdsUjUxd0d0U2MifSx7InBhdGgiOiJfbG9jYWxlcy91ay9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoid2RXVm9MOTkxTGQ3dDJpZ0xFYlJOdWw0REhKSG9Pcmx5YU92MmJfdlB2OCJ9LHsicGF0aCI6Il9sb2NhbGVzL3ZpL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJFRFdTQ0t1ajA2X014Y2hTRXVZNklfbjFHZmpUN0pyTjgtSElCeEtDcUlNIn0seyJwYXRoIjoiX2xvY2FsZXMvemhfQ04vbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6ImVkOTZKRFhUNlRYNGtucWtfRDVGdVYxNi1vUXZTRS1qOEhnSjhYZjFzZDQifSx7InBhdGgiOiJfbG9jYWxlcy96aF9UVy9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoic2l6OVZmT25KcVNqanpRSFRsVVRtbFRsOTF1T3pGalVVWEZoRFNxOXFsTSJ9LHsicGF0aCI6Imljb25fMTI4LnBuZyIsInJvb3RfaGFzaCI6IkRLYWI2SkFMSGNXelY4cDZ1R0luWVk4RktLcEhyYTB4LWM5MURFYng4bTQifSx7InBhdGgiOiJpY29uXzE2LnBuZyIsInJvb3RfaGFzaCI6IllKUUpRMG9QYnNQenpDdkVkNGFSNS1OMUFsZENfOHRHX3oxczVnbHE1UzAifSx7InBhdGgiOiJtYWluLmh0bWwiLCJyb290X2hhc2giOiJfcEVzeEcwUWFtRTl3cklhRkVSZmtCcXBmU1JuTUhxUEZuek0yNnQ1VkFvIn0seyJwYXRoIjoibWFpbi5qcyIsInJvb3RfaGFzaCI6InV5R1g1a0Z5Qkt3QTdfN0VqZlp2WURtSzJxZDN4Sk9UN2JpenB1WFJtTFUifSx7InBhdGgiOiJtYW5pZmVzdC5qc29uIiwicm9vdF9oYXNoIjoiMWdHaVlKYTJRNWR1RFhCTUxzY0ZLWXdLeTlJQkg4ZGRTV3V2X1lRcGNoWSJ9XSwiZm9ybWF0IjoidHJlZWhhc2giLCJoYXNoX2Jsb2NrX3NpemUiOjQwOTZ9XSwiaXRlbV9pZCI6ImFhcG9jY2xjZ29na21uY2tva2RvcGZtaG9uZm1nb2VrIiwiaXRlbV92ZXJzaW9uIjoiMC4xMCIsInByb3RvY29sX3ZlcnNpb24iOjF9","signatures":[{"header":{"kid":"publisher"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"tU7RhHB9LoygAexBgD_v16rKhbWm6U35hiQh0xm_WdkUMrrh1TK4QlKOG_jckzQa6TJvUAbiumTcGpYG60rhTSZTwHC8eLVh_U0yyv9TpCGqPpn1Kg5LhJF5KlIOuDaHat8hgjcIUSXqZjRZG7OAs0KOAyMcLSbDC0ftomZx7oc"},{"header":{"kid":"webstore"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"ghxE3r16p1hwcrqPky0qfVdYZtfrSOYW6XJaseLwCLuxY8S-2R1yaJr7TsTROqn5cm6rlve3S_vDy2Vsimf83658rjWtSmTpq4gPEO4G6O4tZbnARU-QIt2n4MMuwALUYy7mvNKx31Gt5S63UiPiumvfG2yDCus-ELZ6z7LDGmGG-tnNNxew5CMSEBkxKBY8VjyixhT1kcXDOHqk9W2yQjfRtKLr6tBxxPMP1n-AVUJba3_9kgD1XdkCVHujPqtvk1z93xvO98TQreZmhy_CnuqXJckAdIqvnOc8nYssUkDyvuB-ycxZyS6U6XvvMBL2hzs9i7-8NuJqjvSlSZi1hg"}]}}] \ No newline at end of file diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/icon_128.png b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/icon_128.png deleted file mode 100644 index fa89b2ef..00000000 Binary files a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/icon_128.png and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/icon_16.png b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/icon_16.png deleted file mode 100644 index 4d84f6a1..00000000 Binary files a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/icon_16.png and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/main.html b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/main.html deleted file mode 100644 index 1d0a501f..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/main.html +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/main.js b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/main.js deleted file mode 100644 index a5f3f46e..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/main.js +++ /dev/null @@ -1,2 +0,0 @@ -document.location.href = - "https://docs.google.com/presentation?usp=chrome_app&authuser=0"; diff --git a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/manifest.json b/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/manifest.json deleted file mode 100644 index 6ef58f9c..00000000 --- a/.config/google-chrome/Default/Extensions/aapocclcgogkmnckokdopfmhonfmgoek/0.10_0/manifest.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "api_console_project_id": "889782162350", - "app": { - "launch": { - "local_path": "main.html" - } - }, - "container": "GOOGLE_DRIVE", - "default_locale": "en_US", - "description": "__MSG_appDesc__", - "icons": { - "128": "icon_128.png", - "16": "icon_16.png" - }, - "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDLOGW2Hoztw8m2z6SmCjm7y4Oe2o6aRqO+niYKCXhZab572by7acqFIFF0On3e3a967SwNijsTx2n+7Mt3KqWzEKtnwUZqzHYSsdZZK64vWIHIduawP0EICWRMf2RGIBEdDC6I1zErtcDiSrJWeRlnb0DHWXDXlt1YseM7RiON9wIDAQAB", - "manifest_version": 2, - "name": "__MSG_appName__", - "offline_enabled": true, - "update_url": "https://clients2.google.com/service/update2/crx", - "version": "0.10" -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ar/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ar/messages.json deleted file mode 100644 index be769acc..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ar/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "إنشاء المستندات وتعديلها" - }, - "appname": { - "message": "المستندات" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/bg/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/bg/messages.json deleted file mode 100644 index f1d22f6b..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/bg/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Създавайте и редактирайте документи" - }, - "appname": { - "message": "Документи" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ca/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ca/messages.json deleted file mode 100644 index 384ba66c..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ca/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Crea i edita documents" - }, - "appname": { - "message": "Documents" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/cs/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/cs/messages.json deleted file mode 100644 index 476c68c7..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/cs/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Vytvářejte a upravujte dokumenty" - }, - "appname": { - "message": "Dokumenty" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/da/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/da/messages.json deleted file mode 100644 index 81c9ba6d..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/da/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Opret og rediger dokumenter" - }, - "appname": { - "message": "Docs" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/de/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/de/messages.json deleted file mode 100644 index b2bd9a0a..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/de/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Dokumente erstellen und bearbeiten" - }, - "appname": { - "message": "Docs" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/el/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/el/messages.json deleted file mode 100644 index 582d99d6..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/el/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Δημιουργία και επεξεργασία εγγράφων" - }, - "appname": { - "message": "Έγγραφα" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/en_GB/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/en_GB/messages.json deleted file mode 100644 index c32aa86b..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/en_GB/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Create and edit documents" - }, - "appname": { - "message": "Docs" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/en_US/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/en_US/messages.json deleted file mode 100644 index 2fb39323..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/en_US/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Create and edit documents " - }, - "appName": { - "description": "App name.", - "message": "Docs" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/es/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/es/messages.json deleted file mode 100644 index 63f19c61..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/es/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Crear y editar documentos" - }, - "appname": { - "message": "Documentos" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/es_419/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/es_419/messages.json deleted file mode 100644 index 0e2e065a..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/es_419/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Crea y edita documentos" - }, - "appname": { - "message": "Documentos" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/et/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/et/messages.json deleted file mode 100644 index fbf4a657..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/et/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Saate dokumente luua ja muuta" - }, - "appname": { - "message": "Dokumendid" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/fi/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/fi/messages.json deleted file mode 100644 index 74ee68dd..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/fi/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Luo ja muokkaa dokumentteja." - }, - "appname": { - "message": "Docs" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/fil/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/fil/messages.json deleted file mode 100644 index 04a4c997..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/fil/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Gumagawa at nag-e-edit ng mga dokumento" - }, - "appname": { - "message": "Docs" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/fr/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/fr/messages.json deleted file mode 100644 index ed3ddacd..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/fr/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Créez et modifiez des documents" - }, - "appname": { - "message": "Docs" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/he/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/he/messages.json deleted file mode 100644 index d748ab65..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/he/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "יצירה ועריכה של מסמכים" - }, - "appname": { - "message": "Docs" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/hi/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/hi/messages.json deleted file mode 100644 index 70f85651..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/hi/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "दस्तावेज़ बनाएं और उनमें बदलाव करें" - }, - "appname": { - "message": "दस्तावेज़" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/hu/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/hu/messages.json deleted file mode 100644 index 2d5f7943..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/hu/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Dokumentumok létrehozása és szerkesztése" - }, - "appname": { - "message": "Dokumentumok" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/id/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/id/messages.json deleted file mode 100644 index 5ed16bbe..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/id/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Membuat dan mengedit dokumen" - }, - "appname": { - "message": "Dokumen" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/it/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/it/messages.json deleted file mode 100644 index dfaddeb9..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/it/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Crea e modifica documenti" - }, - "appname": { - "message": "Documenti" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ja/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ja/messages.json deleted file mode 100644 index 3b77dac4..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ja/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "ドキュメントを作成、編集する" - }, - "appname": { - "message": "ドキュメント" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ko/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ko/messages.json deleted file mode 100644 index 33045468..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ko/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "문서 만들기 및 수정" - }, - "appname": { - "message": "문서" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/lt/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/lt/messages.json deleted file mode 100644 index f1ddebaf..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/lt/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Kurkite ir redaguokite dokumentus" - }, - "appname": { - "message": "Dokumentai" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/lv/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/lv/messages.json deleted file mode 100644 index df15a072..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/lv/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Dokumentu izveide un rediģēšana" - }, - "appname": { - "message": "Dokumenti" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ms/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ms/messages.json deleted file mode 100644 index 9375deda..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ms/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Buat dan edit dokumen" - }, - "appname": { - "message": "Dokumen" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/nl/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/nl/messages.json deleted file mode 100644 index 3eda80c6..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/nl/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Documenten maken en bewerken" - }, - "appname": { - "message": "Documenten" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/no/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/no/messages.json deleted file mode 100644 index dfeac12a..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/no/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Opprett og rediger dokumenter" - }, - "appname": { - "message": "Dokumenter" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/pl/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/pl/messages.json deleted file mode 100644 index e9b88b39..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/pl/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Tworzenie i edytowanie dokumentów" - }, - "appname": { - "message": "Dokumenty" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/pt_BR/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/pt_BR/messages.json deleted file mode 100644 index d8faed4f..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/pt_BR/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Crie e edite documentos" - }, - "appname": { - "message": "Documentos" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/pt_PT/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/pt_PT/messages.json deleted file mode 100644 index 29f528cf..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/pt_PT/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Criar e editar documentos" - }, - "appname": { - "message": "Documentos" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ro/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ro/messages.json deleted file mode 100644 index 866f7e92..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ro/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Creați și editați documente" - }, - "appname": { - "message": "Documente" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ru/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ru/messages.json deleted file mode 100644 index ea11203f..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/ru/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Создавайте и редактируйте документы." - }, - "appname": { - "message": "Документы" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/sk/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/sk/messages.json deleted file mode 100644 index 7cbd6bdc..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/sk/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Vytváranie a úpravy dokumentov" - }, - "appname": { - "message": "Dokumenty" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/sl/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/sl/messages.json deleted file mode 100644 index 0e925146..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/sl/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Ustvarite in urejajte dokumente" - }, - "appname": { - "message": "Google Dokumenti" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/sr/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/sr/messages.json deleted file mode 100644 index cc685faa..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/sr/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Правите документе и уносите измене у њих" - }, - "appname": { - "message": "Документи" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/sv/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/sv/messages.json deleted file mode 100644 index 388ade88..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/sv/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Skapa och redigera dokument" - }, - "appname": { - "message": "Dokument" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/th/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/th/messages.json deleted file mode 100644 index 60faa5e2..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/th/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "สร้างและแก้ไขเอกสาร" - }, - "appname": { - "message": "เอกสาร" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/tr/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/tr/messages.json deleted file mode 100644 index ad317440..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/tr/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Dokümanlar oluşturun ve düzenleyin" - }, - "appname": { - "message": "Dokümanlar" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/uk/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/uk/messages.json deleted file mode 100644 index ba87dfdf..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/uk/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Створення й редагування документів" - }, - "appname": { - "message": "Документи" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/vi/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/vi/messages.json deleted file mode 100644 index 57a07caf..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/vi/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "Tạo và chỉnh sá»­a tài liệu" - }, - "appname": { - "message": "Tài liệu" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/zh_CN/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/zh_CN/messages.json deleted file mode 100644 index a86b5f57..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/zh_CN/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "创建和编辑文档" - }, - "appname": { - "message": "文档" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/zh_TW/messages.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/zh_TW/messages.json deleted file mode 100644 index 47b44a6b..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_locales/zh_TW/messages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "appdesc": { - "message": "建立及編輯文件" - }, - "appname": { - "message": "文件" - } -} diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_metadata/computed_hashes.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_metadata/computed_hashes.json deleted file mode 100644 index 9d66e044..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_metadata/computed_hashes.json +++ /dev/null @@ -1 +0,0 @@ -{"file_hashes":[{"block_hashes":["/pEsxG0QamE9wrIaFERfkBqpfSRnMHqPFnzM26t5VAo="],"block_size":4096,"path":"main.html"},{"block_hashes":["NtFi6uzIJejjYc60z6xul+d5TjTmFsBqezX7R5TAANs="],"block_size":4096,"path":"main.js"}],"version":2} \ No newline at end of file diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_metadata/verified_contents.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_metadata/verified_contents.json deleted file mode 100644 index 7e56ed97..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/_metadata/verified_contents.json +++ /dev/null @@ -1 +0,0 @@ -[{"description":"treehash per file","signed_content":{"payload":"eyJjb250ZW50X2hhc2hlcyI6W3siYmxvY2tfc2l6ZSI6NDA5NiwiZGlnZXN0Ijoic2hhMjU2IiwiZmlsZXMiOlt7InBhdGgiOiJfbG9jYWxlcy9hci9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoidXpHYWplYTVMN2tLS1I4Zk00MzVybzFnMUVybWkyZ2Jqb1pKWGR6UGphbyJ9LHsicGF0aCI6Il9sb2NhbGVzL2JnL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJCdTEwVmdibzZsMm9LTHBXSktFS1dpOUxLMDVSbHZ2NlEyNU56YVYxZ3NJIn0seyJwYXRoIjoiX2xvY2FsZXMvY2EvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6ImFaRXZYOHJjUUF5MUJ1M28wZ1hQcDN5a04yeEV6bmNpZ2hYbUROQ3JTU2sifSx7InBhdGgiOiJfbG9jYWxlcy9jcy9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiaS1xbVdsaFZrQVFqTERZZElSQ0FBLTJrVWxKT1ZzbkRTVzEzZHk2cFA3VSJ9LHsicGF0aCI6Il9sb2NhbGVzL2RhL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJsME5iVHBDYUJXYWRSdVgtRnlQNjVsakpNdmdsYjg0Vjl4ZW5abzExWHZnIn0seyJwYXRoIjoiX2xvY2FsZXMvZGUvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IklzTmgwX1RnQTRYUGpvU1NtTllyOUkxSTRGTlBiYWpoUEt5Q0RrWVFKWmsifSx7InBhdGgiOiJfbG9jYWxlcy9lbC9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiMWdIeV9Jd1lMbWtKNFZzNjM0dWt2OEx0Q2p3OWZoS1I4Y0pKQlFuX1diSSJ9LHsicGF0aCI6Il9sb2NhbGVzL2VuX0dCL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJCX3NnOHJtakNYZE9YcHV1emxIbW9YbHVuRTBiR0dSSy1tUFZGa2lnWC1nIn0seyJwYXRoIjoiX2xvY2FsZXMvZW5fVVMvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IlFDRndsUXpFWmJLTXJaWllPeXVydkNZUEJmeUQ3UTFmMnZxTFdkSHcwNkEifSx7InBhdGgiOiJfbG9jYWxlcy9lcy9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoicUJuSnRmMWZZT3BSeWRYUzRYeV9pNHMySzY5RGRUeDVoQ0pTZGV3bUZBMCJ9LHsicGF0aCI6Il9sb2NhbGVzL2VzXzQxOS9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiUk84dDhUMVVEQ0ZkaDJzQldwckEzbXYzSzlhNTNadW1kSXZ1ZmI3cEFZVSJ9LHsicGF0aCI6Il9sb2NhbGVzL2V0L21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJHRzhUdkhBYUR4TXJoLXkwZ1kxcm5RQjFjcC1YeVRoRU1WeV9QbXVYcmJBIn0seyJwYXRoIjoiX2xvY2FsZXMvZmkvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6Imd6cng3czV0OXRBdGV5Q0FlRXNfOUE5TXV4N0dHNjktSDdMcUw5bTFhMk0ifSx7InBhdGgiOiJfbG9jYWxlcy9maWwvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6ImxTcFFfem5ybzdldGxXRS1rVmFfTWNYZXVOclFZamd4OW9LOTVzTzB4ZGMifSx7InBhdGgiOiJfbG9jYWxlcy9mci9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoicXE3VUpETW9OanZXcmd3X2pkbXhUR1ZESXFRRjJXWEFfaE02TVNCUlc2USJ9LHsicGF0aCI6Il9sb2NhbGVzL2hlL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJZY1FvXy1jWHMyQzhtMTM4UFlwSlBZUE5JU2hoTGlQODBOQUQ5a3VuOENzIn0seyJwYXRoIjoiX2xvY2FsZXMvaGkvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IklpZ0todDVJc0lkQWNaMW5QUDRjYjJKMUVYRFVYekVacjhjWUw2bWV1UzgifSx7InBhdGgiOiJfbG9jYWxlcy9odS9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiVW9DWno3MDFEM1dQTXdfdUpNbGQxckZsd280U1FwZUpQQVlsblowUlpzYyJ9LHsicGF0aCI6Il9sb2NhbGVzL2lkL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJtM0VSTER2UmtiODk4VlF2dGRnaXJVZUdYZWg5NFU3cWNtWTdvQTlrUG1JIn0seyJwYXRoIjoiX2xvY2FsZXMvaXQvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6Imh2cXExc3ZBUEkxaDY0NkZIOC13S05WZEltTUJJWWZDN3RTZEtYTVp6WW8ifSx7InBhdGgiOiJfbG9jYWxlcy9qYS9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiTVlQdU1UWnA5ZEFlSzhLQmMweEZvZW4xQWlqQ3ZGLVBnSlp4cnpYY1hMQSJ9LHsicGF0aCI6Il9sb2NhbGVzL2tvL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJpOHRLTUJHVk84Q1VnZjFGOV9LSDFTVTNCU0hZVVhFNmpDV0phekF4TDNnIn0seyJwYXRoIjoiX2xvY2FsZXMvbHQvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6ImpoY1hCb1pZLThmNWdvT1VyU0djZXU5YlhGa3NnX1lzN3VocFc5WTAwWVUifSx7InBhdGgiOiJfbG9jYWxlcy9sdi9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiZF94SHhzNC1DUVZwRnpPYXBnMjlHSkhQWGlKTkxpY05fZEtBTkhFcGkxOCJ9LHsicGF0aCI6Il9sb2NhbGVzL21zL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiIta2VzMVhaU1lEWGpXYS1UQnNPeWpkQUEzeFNpMC1CVkN5XzFOVzk5WUlJIn0seyJwYXRoIjoiX2xvY2FsZXMvbmwvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IjRmRm04UlZ1cWI4TUF0QVhzM0ZMSnZxTWRjSzFESTJnSmFPTVMxUVpSYncifSx7InBhdGgiOiJfbG9jYWxlcy9uby9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiTk43cVFyellsc1c1YVJHTHNfd2o0TFNYQzFhdTNtMHFwU0x5RUdrOVh5byJ9LHsicGF0aCI6Il9sb2NhbGVzL3BsL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiI1UmtoSzJlallkYnl0VVl3Y3VETDBIdHUtMXFZb0s3aXJINWVRd0JxVnNZIn0seyJwYXRoIjoiX2xvY2FsZXMvcHRfQlIvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6Ilg1cVhYWUJtSExtZ3ZpblJjOVJsVUhqOTRaZFBaT3pSY2ZEQ3pEVkc4MTQifSx7InBhdGgiOiJfbG9jYWxlcy9wdF9QVC9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiQWpwcFV5ektMbjljV3NreHNKLTlVOURxbDV0NS1nWVprQ2J6TGtIUF80SSJ9LHsicGF0aCI6Il9sb2NhbGVzL3JvL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJnSDRJcnUxUHY1SHRCeDkwN0c2NkRpWkpUQm1NdUJTQXhYWGhCb2QzdGZ3In0seyJwYXRoIjoiX2xvY2FsZXMvcnUvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6ImZESmktV0FEZnhEUDc3T0dZRHlIR3EyaHVXRFh4ZkpSV2tGR2xmVEU5V2cifSx7InBhdGgiOiJfbG9jYWxlcy9zay9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiN2U5TXJFamVTbmZNMHVScURHODZOVDBnd01PUXo4czlnanZtSExMcG8wcyJ9LHsicGF0aCI6Il9sb2NhbGVzL3NsL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJrdnhZMzBQeExiX0NxTmVRaXF0dy1QUEl2b09GdXVaS2luTlpSYk1IdTMwIn0seyJwYXRoIjoiX2xvY2FsZXMvc3IvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6Ikk1S0M2cWdkbDdVSXEyQ2VoZGZWakFrU0x4WjBoVlVMOFVfa0JCbjhsTkkifSx7InBhdGgiOiJfbG9jYWxlcy9zdi9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiaVE5b1EtOHFnM21jZU4wRHZOaUlLald6aVk4V0VkYjVodE5OXzlnY05SWSJ9LHsicGF0aCI6Il9sb2NhbGVzL3RoL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJnWWh1aF96YzhKUEx5THVoUUJURUpMMDQ5YmFGdDdtSW0xcGMxdzVvZ2lzIn0seyJwYXRoIjoiX2xvY2FsZXMvdHIvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6ImxwYVRQUlRJTTVMREE0Si1Ib1V2UHF0aDM4cm1fZnZLU2F5VXNXY0xxREkifSx7InBhdGgiOiJfbG9jYWxlcy91ay9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiWm1NajlKTGV5V0JJend4amlpNUdQUmJNSkRCZ0lSazg2eHY1QkNoejNaTSJ9LHsicGF0aCI6Il9sb2NhbGVzL3ZpL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiIwd0EzMjk1Y3JDOHY2SXNhMy0wSkNpS2FOelpWblJfU3VLODdVYjJYTmg4In0seyJwYXRoIjoiX2xvY2FsZXMvemhfQ04vbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IjRGMW1lSi01bkpUUVltZVpmTl9PU3JCZFdFUW1tX2llTHhhYzBQa211VncifSx7InBhdGgiOiJfbG9jYWxlcy96aF9UVy9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiZmhPVm9kbmtBRzdnSHFyYWplcFdIdTBJaEZyQTFwNU1UbXd5SnBram5XUSJ9LHsicGF0aCI6Imljb25fMTI4LnBuZyIsInJvb3RfaGFzaCI6IkVaeDRZQkJYc3ZPNlJIVG9BRy1QYnhVcGtScmUxREpZbS1fNzU5SDFIbG8ifSx7InBhdGgiOiJpY29uXzE2LnBuZyIsInJvb3RfaGFzaCI6IlpUVGszREFjUkFlYjBPX1JkUUhYMVF6cy1FdHc2MGtZQkMzX1BRa2pobkkifSx7InBhdGgiOiJtYWluLmh0bWwiLCJyb290X2hhc2giOiJfcEVzeEcwUWFtRTl3cklhRkVSZmtCcXBmU1JuTUhxUEZuek0yNnQ1VkFvIn0seyJwYXRoIjoibWFpbi5qcyIsInJvb3RfaGFzaCI6Ik50Rmk2dXpJSmVqalljNjB6Nnh1bC1kNVRqVG1Gc0JxZXpYN1I1VEFBTnMifSx7InBhdGgiOiJtYW5pZmVzdC5qc29uIiwicm9vdF9oYXNoIjoidlBKTHlrMC1wT1YyS2FwbXNhTHVQV0VSTEpxMmp6dWlmYXFoRUtNbkxjcyJ9XSwiZm9ybWF0IjoidHJlZWhhc2giLCJoYXNoX2Jsb2NrX3NpemUiOjQwOTZ9XSwiaXRlbV9pZCI6ImFvaGdobWlnaGxpZWlhaW5uZWdrY2lqbmZpbG9rYWtlIiwiaXRlbV92ZXJzaW9uIjoiMC4xMCIsInByb3RvY29sX3ZlcnNpb24iOjF9","signatures":[{"header":{"kid":"publisher"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"pHMFBc5BJkj2uTbXlSkH-swPZjoviWvs8veRlpbN67B-_v6YykTjA4f__QA1ggVWAlOtiFcc46g4O8p4F9Cso3t6RjSdMQy-4QYg2Cm-r3_PnAqh3BAlPg733T0Urj_v_ISQT6c5ZLBdGI8fsEECxpPh7CFAhfL7RHsE2O3CM-8"},{"header":{"kid":"webstore"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"LRgQxPB3CNlUzAeDgHfT_zVyx3ZnhL13ks4Qx529Lg37mcCnht4vmYnkAdXVep7abido7zmJEj5XRdr1syPWWFAFQHOtweM_GnUdAhjrvE07vpajnox-VSS29ryr686Abr5ozwTK-cYXcgHLKh8cddugddzgiN2C2ydK2KqKVMlGOvPVcH6NxJBdVdc2u8E5hddQ3QjnsDghl_RMOx4F2J-n-m3FAtWmj4wrNg7WSElJmLt5_ZUW_dDMLKLls1uBsfxngLQvzDXL9Q3n96TyEOMpLM0oPtRmJis6CbmKoRDvPQc6QzS2srvk18SYDfRJlSBve9DeDWitJDkQgEQJUA"}]}}] \ No newline at end of file diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/icon_128.png b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/icon_128.png deleted file mode 100644 index b8f98653..00000000 Binary files a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/icon_128.png and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/icon_16.png b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/icon_16.png deleted file mode 100644 index 443c7125..00000000 Binary files a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/icon_16.png and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/main.html b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/main.html deleted file mode 100644 index 1d0a501f..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/main.html +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/main.js b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/main.js deleted file mode 100644 index d27ce0f8..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/main.js +++ /dev/null @@ -1,2 +0,0 @@ -document.location.href = - "https://docs.google.com/document?usp=chrome_app&authuser=0"; diff --git a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/manifest.json b/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/manifest.json deleted file mode 100644 index df2d48c5..00000000 --- a/.config/google-chrome/Default/Extensions/aohghmighlieiainnegkcijnfilokake/0.10_0/manifest.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "api_console_project_id": "619683526622", - "app": { - "launch": { - "local_path": "main.html" - } - }, - "container": "GOOGLE_DRIVE", - "default_locale": "en_US", - "description": "__MSG_appDesc__", - "icons": { - "128": "icon_128.png", - "16": "icon_16.png" - }, - "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDJhLK6fk/BWTEvJhywpk7jDe4A2r0bGXGOLZW4/AdBp3IiD9o9nx4YjLAtv0tIPxi7MvFd/GUUbQBwHT5wQWONJj1z/0Rc2qBkiJA0yqXh42p0snuA8dCfdlhOLsp7/XTMEwAVasjV5hC4awl78eKfJYlZ+8fM/UldLWJ/51iBQwIDAQAB", - "manifest_version": 2, - "name": "__MSG_appName__", - "offline_enabled": true, - "update_url": "https://clients2.google.com/service/update2/crx", - "version": "0.10" -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/128.png b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/128.png deleted file mode 100644 index f568ae9f..00000000 Binary files a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/128.png and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ar/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ar/messages.json deleted file mode 100644 index e9e3db6e..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ar/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: إنشاء ومشاركة وحفظ جميع أشيائك في مكان واحد." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/bg/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/bg/messages.json deleted file mode 100644 index cffb8adf..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/bg/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Диск: създавайте, споделяйте и пазете всичките си неща на едно място." - }, - "appName": { - "description": "App name.", - "message": "Google Диск" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ca/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ca/messages.json deleted file mode 100644 index 1c91aac2..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ca/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: creeu, compartiu i manteniu totes les vostres coses en un sol lloc." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/cs/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/cs/messages.json deleted file mode 100644 index 6bc05da5..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/cs/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Disk Google: vytvářejte, sdílejte a ukládejte soubory na jednom místě." - }, - "appName": { - "description": "App name.", - "message": "Disk Google" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/da/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/da/messages.json deleted file mode 100644 index 4f971693..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/da/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drev: Opret, del, og gem alle dine ting pÃ¥ ét sted." - }, - "appName": { - "description": "App name.", - "message": "Google Drev" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/de/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/de/messages.json deleted file mode 100644 index 46948946..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/de/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: Alle Inhalte an einem Ort erstellen, teilen und speichern." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/el/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/el/messages.json deleted file mode 100644 index b193b11a..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/el/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: δημιουργήστε, μοιραστείτε και διατηρήστε όλο το υλικό σας σε ένα μέρος." - }, - "appName": { - "description": "App name.", - "message": "Google Drive " - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/en_GB/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/en_GB/messages.json deleted file mode 100644 index 5173f757..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/en_GB/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: create, share and keep all your stuff in one place." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/en_US/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/en_US/messages.json deleted file mode 100644 index 5173f757..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/en_US/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: create, share and keep all your stuff in one place." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/es/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/es/messages.json deleted file mode 100644 index 6e14e026..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/es/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: crea, comparte y almacena todo tu contenido en un solo lugar." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/es_419/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/es_419/messages.json deleted file mode 100644 index 6e14e026..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/es_419/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: crea, comparte y almacena todo tu contenido en un solo lugar." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/et/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/et/messages.json deleted file mode 100644 index d028e1e3..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/et/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: looge, jagage ja hoidke kõiki oma faile ühes kohas." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/eu/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/eu/messages.json deleted file mode 100644 index 9eca7bc7..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/eu/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appName": { - "message": "Google Drive", - "description": "App name." - }, - "appDesc": { - "message": "Google Drive: sortu, partekatu eta mantendu zure fitxategi guztiak toki berean.", - "description":"App description." - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/fi/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/fi/messages.json deleted file mode 100644 index 7d0f0e71..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/fi/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: luo, jaa ja säilytä kaikki sisältösi yhdessä paikassa." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/fil/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/fil/messages.json deleted file mode 100644 index 57b07b0e..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/fil/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: lumikha, magbahagi at itago lahat ng gamit mo sa isang lugar. " - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/fr/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/fr/messages.json deleted file mode 100644 index 040bfe6c..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/fr/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive : votre nouvel espace pour créer, stocker et partager" - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/he/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/he/messages.json deleted file mode 100644 index 4da8fab1..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/he/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "כונן Google: צור, שתף ושמור את כל הדברים שלך במקום אחד." - }, - "appName": { - "description": "App name.", - "message": "כונן Google" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/hi/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/hi/messages.json deleted file mode 100644 index fe8744f6..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/hi/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google डिस्क: बनाएं, साझा करें और अपनी सारी सामग्री एक जगह रखें" - }, - "appName": { - "description": "App name.", - "message": "Google डिस्क" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/hr/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/hr/messages.json deleted file mode 100644 index 9bfc7c94..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/hr/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google disk: stvarajte, dijelite i spremite sve svoje datoteke na jednom mjestu." - }, - "appName": { - "description": "App name.", - "message": "Google disk" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/hu/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/hu/messages.json deleted file mode 100644 index ce02b9a7..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/hu/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: minden dolgot egy helyen hozhat létre, oszthat meg és tárolhat." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/id/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/id/messages.json deleted file mode 100644 index 69ca3dfb..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/id/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: buat, bagikan, dan simpan semua dokumen Anda dalam satu tempat." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/it/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/it/messages.json deleted file mode 100644 index 564d93a2..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/it/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: crea, condividi e conserva tutti i tuoi file in unico posto." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ja/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ja/messages.json deleted file mode 100644 index 73c7f44a..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ja/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google ドライブ: あらゆるファイルの作成、共有、保存を 1 か所で行えます。" - }, - "appName": { - "description": "App name.", - "message": "Google ドライブ" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ko/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ko/messages.json deleted file mode 100644 index 5332bf38..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ko/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google 드라이브: 모든 콘텐츠를 한 곳에서 작성, 공유 및 보관하세요." - }, - "appName": { - "description": "App name.", - "message": "Google 드라이브" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/lt/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/lt/messages.json deleted file mode 100644 index 59fb6774..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/lt/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "„Google“ diskas: kurkite, bendrinkite ir saugokite visą savo medžiagą vienoje vietoje." - }, - "appName": { - "description": "App name.", - "message": "„Google“ diskas " - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/lv/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/lv/messages.json deleted file mode 100644 index dc916f5e..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/lv/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google disks: veidojiet, koplietojiet un glabājiet visu saturu vienuviet." - }, - "appName": { - "description": "App name.", - "message": "Google disks" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ms/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ms/messages.json deleted file mode 100644 index b510c8b8..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ms/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: buat, kongsi dan simpan semua bahan anda di satu tempat." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/nl/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/nl/messages.json deleted file mode 100644 index 96c7f8f1..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/nl/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: alles op één plek maken, delen en bewaren." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/no/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/no/messages.json deleted file mode 100644 index 6abcff71..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/no/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Disk: opprett, del og oppbevar alt pÃ¥ ett sted." - }, - "appName": { - "description": "App name.", - "message": "Google Disk" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/pl/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/pl/messages.json deleted file mode 100644 index 08ecaa7a..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/pl/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Dysk Google: zapisuj, udostępniaj i przechowuj wszystko w jednym miejscu." - }, - "appName": { - "description": "App name.", - "message": "Dysk Google" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/pt_BR/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/pt_BR/messages.json deleted file mode 100644 index 69d468d8..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/pt_BR/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: crie, compartilhe e guarde tudo em um só lugar." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/pt_PT/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/pt_PT/messages.json deleted file mode 100644 index 57bef27f..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/pt_PT/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: crie, partilhe e guarde todos os seus conteúdos num único local." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ro/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ro/messages.json deleted file mode 100644 index 78700c7b..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ro/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Disc Google: creaÅ£i, permiteÅ£i accesul şi păstraÅ£i-vă toate documentele într-un singur loc." - }, - "appName": { - "description": "App name.", - "message": "Disc Google" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ru/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ru/messages.json deleted file mode 100644 index ea2ff30d..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/ru/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Диск Google: создавайте, публикуйте и храните все свои файлы с помощью одного сервиса." - }, - "appName": { - "description": "App name.", - "message": "Диск Google" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/sk/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/sk/messages.json deleted file mode 100644 index fc61d49f..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/sk/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Disk Google – vytvárajte, zdieľajte a ukladajte vÅ¡etky svoje súbory na jednom mieste." - }, - "appName": { - "description": "App name.", - "message": "Disk Google" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/sl/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/sl/messages.json deleted file mode 100644 index 4c54115b..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/sl/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: ustvarjanje, skupna raba in shranjevanje vseh elementov na enem mestu." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/sr/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/sr/messages.json deleted file mode 100644 index 8765e2a8..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/sr/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google диск: правите, делите и чувајте све на једном месту." - }, - "appName": { - "description": "App name.", - "message": "Google диск" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/sv/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/sv/messages.json deleted file mode 100644 index aafd05c9..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/sv/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: skapa, dela och spara alla dina grejer pÃ¥ ett ställe." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/th/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/th/messages.json deleted file mode 100644 index 359c87d4..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/th/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google ไดรฟ์: สร้าง แบ่งปัน และเก็บข้อมูลทั้งหมดไว้ในที่เดียว " - }, - "appName": { - "description": "App name.", - "message": "Google ไดรฟ์" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/tr/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/tr/messages.json deleted file mode 100644 index 90b4ca80..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/tr/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: Tüm dosyalarınızı tek bir yerde oluşturun, paylaşın ve saklayın." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/uk/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/uk/messages.json deleted file mode 100644 index 967823d5..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/uk/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Диск Google: створюйте, зберігайте всі ваші файли та діліться ними за допомогою однієї служби." - }, - "appName": { - "description": "App name.", - "message": "Диск Google" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/vi/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/vi/messages.json deleted file mode 100644 index cda96888..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/vi/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google Drive: tạo, chia sẻ và lÆ°u giữ tất cả nội dung của bạn ở một nÆ¡i." - }, - "appName": { - "description": "App name.", - "message": "Google Drive" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/zh_CN/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/zh_CN/messages.json deleted file mode 100644 index a4476d2d..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/zh_CN/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google 云端硬盘:在一个位置创建、共享和存储您的所有资料。" - }, - "appName": { - "description": "App name.", - "message": "Google 云端硬盘" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/zh_TW/messages.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/zh_TW/messages.json deleted file mode 100644 index 59847a89..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_locales/zh_TW/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "Google 雲端硬碟:檔案製作、分享、存放,全部集中一處。" - }, - "appName": { - "description": "App name.", - "message": "Google 雲端硬碟" - } -} diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_metadata/verified_contents.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_metadata/verified_contents.json deleted file mode 100644 index 5529b145..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/_metadata/verified_contents.json +++ /dev/null @@ -1 +0,0 @@ -[{"description":"treehash per file","signed_content":{"payload":"eyJjb250ZW50X2hhc2hlcyI6W3siYmxvY2tfc2l6ZSI6NDA5NiwiZGlnZXN0Ijoic2hhMjU2IiwiZmlsZXMiOlt7InBhdGgiOiIxMjgucG5nIiwicm9vdF9oYXNoIjoiRWRNMlRoUnFGODdkZE1hbmJYRHdzenNkZEtrVFpTWGdRdGh0VTZ6RmFSZyJ9LHsicGF0aCI6Il9sb2NhbGVzL2FyL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJpTUc5SXlyQlh3clJ1N1BGMjlhRmNZbkpyTG1EOHB4STV5akpYVm5qWThnIn0seyJwYXRoIjoiX2xvY2FsZXMvYmcvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6InI1aDNqWXdNazlZcWJueVFuQlJneE83VzdEN29ZRkwwRFd1MmpMc1puamsifSx7InBhdGgiOiJfbG9jYWxlcy9jYS9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiekFzbGIxZTVHU3VKS0QyeklhczFHSXlXMjV6TElZN2J1cnV2MTJQTWJpbyJ9LHsicGF0aCI6Il9sb2NhbGVzL2NzL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJHSjZPLXRabWxtY3h4c01CWXRxcndLcUJ2czU0bjZBMnp6VXdhWEpZX040In0seyJwYXRoIjoiX2xvY2FsZXMvZGEvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IkhLV1BTUXJsNE5zY2M2a3FZRk1VRmNJa255UFBwbzNDeHd0WW1neGY0NmcifSx7InBhdGgiOiJfbG9jYWxlcy9kZS9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoibWh4MzdkaXNiR05BYWs2a0pPTlhoSlE4M3JZajBuUnBtbHhMdEU4WFdyNCJ9LHsicGF0aCI6Il9sb2NhbGVzL2VsL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJReXJQRS1CdklZT3RTY2tXLXlwX3hETXBuS19QY3lIMFpLZnRHeTBOd3hBIn0seyJwYXRoIjoiX2xvY2FsZXMvZW5fR0IvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IkJxaXhUZ2dRWkk2MXQyS0lQME5aeFdEc1J0N0pTaXFtMDNDalJTMEYzUWsifSx7InBhdGgiOiJfbG9jYWxlcy9lbl9VUy9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiQnFpeFRnZ1FaSTYxdDJLSVAwTlp4V0RzUnQ3SlNpcW0wM0NqUlMwRjNRayJ9LHsicGF0aCI6Il9sb2NhbGVzL2VzL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiIzVVlMN3d0aWM4WS1FdmRabkxhT242UURkY1FieDNGaWVwYV9sbGI4VmN3In0seyJwYXRoIjoiX2xvY2FsZXMvZXNfNDE5L21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiIzVVlMN3d0aWM4WS1FdmRabkxhT242UURkY1FieDNGaWVwYV9sbGI4VmN3In0seyJwYXRoIjoiX2xvY2FsZXMvZXQvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IlpQTUVab1ZJNWtqdncxZmlPcGc4c2xETC1ocW9hVHY4SVNMdm5fRU5TTEkifSx7InBhdGgiOiJfbG9jYWxlcy9ldS9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiYVhBQmNOc1pNbW0tWUQ2ejRXcHFZQjRoMXhLbkdZVnZrQm9BbWhDbmR1byJ9LHsicGF0aCI6Il9sb2NhbGVzL2ZpL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJCY3VoNUg1V1R4OU5nUFF1dnJ1NXB1YTdReUxSR1dQVVllRFEzenE4ZlBvIn0seyJwYXRoIjoiX2xvY2FsZXMvZmlsL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJYWXRRZWd5X0l0MUVVVXdMeEZucjB5YUtFVXF4bEVVTGNtNDhONUFIMnVvIn0seyJwYXRoIjoiX2xvY2FsZXMvZnIvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6InU4bjRxRW94SFdPSklWcEx2RGU0d19EOVNpTUNjRGNzRUE0VVg5bF9FOWcifSx7InBhdGgiOiJfbG9jYWxlcy9oZS9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiN29mYUxNVHFLWkxLb19OZFV3WERmM3lEOTVHWF9oSE5MclUxVWRiRUI3ZyJ9LHsicGF0aCI6Il9sb2NhbGVzL2hpL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJ4M1FPTS1JWkcyRktadVJNSVZlZnRQdVF3QW5MNjRkT1JrR0pnajdxckt3In0seyJwYXRoIjoiX2xvY2FsZXMvaHIvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IjR5QnZUTHBWVmVSTnFxUG5mVllJZmpjVHBaM0V1R3lMZnM1MWkyemkyUjAifSx7InBhdGgiOiJfbG9jYWxlcy9odS9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiS3BJazd6TV9HT3ZGMkxkS3lJVjI4cmh2Y1NsUTJsU09tc2ZLX2w1SjJQMCJ9LHsicGF0aCI6Il9sb2NhbGVzL2lkL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJOd0pNNHpVUHZmckpORE9uMl8xY19kRHpVdjMxcUtiRm5QOWw5a1c1eFFrIn0seyJwYXRoIjoiX2xvY2FsZXMvaXQvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6ImFLNkhnQlRFU2VpRDNhdDR6Z2g2UGxDRnhEV2JTRjBCMG00bEN2MTUzWVkifSx7InBhdGgiOiJfbG9jYWxlcy9qYS9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiSUlYNDJncnl5VXdsVE5Lc3ZzR3JnbkZyOUlEX1d4TWpEX2QxT1VQdUxwVSJ9LHsicGF0aCI6Il9sb2NhbGVzL2tvL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJZV0lOWlRLZFNGMmtjcnU0T1JxS29zYXBVWU5vZXJOVTlVSWpEa0ZkbVBnIn0seyJwYXRoIjoiX2xvY2FsZXMvbHQvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6ImdETGJ5dkp5VVJkVHA0emFQTF9pM2dweDk1WEUyUlRpaWJPaTN5cG12cU0ifSx7InBhdGgiOiJfbG9jYWxlcy9sdi9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiTG5EVDBTeXRNYksyWDlMdmZHZnpRZ0NYaFVFdE02alZGZ0JWWU5SS0JSbyJ9LHsicGF0aCI6Il9sb2NhbGVzL21zL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJ4MGpFVGVPWXA0RUFzSzloc3d5bUlfR2pDaW1UbWZjWGowZVVELUhGYlRFIn0seyJwYXRoIjoiX2xvY2FsZXMvbmwvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6InRIbkhYN2xUVFkwbzZldWJXVzJCcmUwc0NvZ1gzSHNlNmlvY3k1UjZ2S2cifSx7InBhdGgiOiJfbG9jYWxlcy9uby9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiUEc2TGd0S1MyZHF2aWk4bWxIMFBlT253WTRfNkhmUDk1cTl5TVRSUnpWVSJ9LHsicGF0aCI6Il9sb2NhbGVzL3BsL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJhRV91eVh4X2xqRy1SSXljaHZVVDEtalg2cUV0OUxYQzRsTE92Z2NEZ2JZIn0seyJwYXRoIjoiX2xvY2FsZXMvcHRfQlIvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6Ilp2bGY0UURXYm5kUk9tbVFJZjFkWXVTRTFiVWp6cGRVQjdzN0dENlhKQzgifSx7InBhdGgiOiJfbG9jYWxlcy9wdF9QVC9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiUTFTbmFXNTZJQ3NMLW51OXFNcmlNbzRiSVJNZjNDSC1TWk4taWx0ejVvZyJ9LHsicGF0aCI6Il9sb2NhbGVzL3JvL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJYYTRZb2lra3NFZDNOcFJ5dnVLMG8tUm45T3N0RXI0LXhNdXhCZzhHS2tnIn0seyJwYXRoIjoiX2xvY2FsZXMvcnUvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IlloNTNLdFVjTjFRQy12blZuNWN5ODRVUThCOTFzUFhBTFE4NHRUYndKdmMifSx7InBhdGgiOiJfbG9jYWxlcy9zay9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiWGZHLWhPOWdEVE9DbzZ1NkxwXzFKRXA1aHV6T0RxYW0weS1Ub1MtSjBKVSJ9LHsicGF0aCI6Il9sb2NhbGVzL3NsL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiI4UlpVNVFGZUJSNkRsQ0pmcW9QdFR6N043QWVNMVVuX05XRUVGS0xLMXBzIn0seyJwYXRoIjoiX2xvY2FsZXMvc3IvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IjhOeWE0MDAxRjNDb3J2OUpOQm15YUZDc2pCaExBN3ltRUVzSXIxV1VrOTQifSx7InBhdGgiOiJfbG9jYWxlcy9zdi9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiOXMtSGc3eHZfVTJtOV92UDJET0VqNzd4bldoN3hOazRfV29ZZEdNRzVGayJ9LHsicGF0aCI6Il9sb2NhbGVzL3RoL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJ2UnRVTUw3T01YVU5rVjB6bGlEcHlZRVJCSFg1ZHRQR2NsVWFqNjJyUkE4In0seyJwYXRoIjoiX2xvY2FsZXMvdHIvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6ImpWRmZBb0FPUW8tWVpKdmw3YnZvdE1lZV9XTy1ya3JPY1FRNUtzb1dwRG8ifSx7InBhdGgiOiJfbG9jYWxlcy91ay9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiVjVMMkl2Q1N1cHotWmRRLXJMU2g3N2pHS1UyMXZ4Sm5lbTZDcXlicTJURSJ9LHsicGF0aCI6Il9sb2NhbGVzL3ZpL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJ0cnhWc0pPdUJaVS1uY2FzVG1tamhKbzVmcy1Jb1E4MEE3aEtidTBCVDk4In0seyJwYXRoIjoiX2xvY2FsZXMvemhfQ04vbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6Il9oSFB5a3ZXa096MkFwamd1Z2h5d09YV21HdUVaUFBRSkJPUTJRQ3ZxLUUifSx7InBhdGgiOiJfbG9jYWxlcy96aF9UVy9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiS0hMbzF2b25GcEk4YmhoQjNMZXVXOHdpaWpQSjlpYWZTRVRhWjNkMmYyYyJ9LHsicGF0aCI6Im1hbmlmZXN0Lmpzb24iLCJyb290X2hhc2giOiJXdWxaU0o2OS11U3R5SDZkTk9rY3FSZnlTR3N0RFFJVWU1dWhWT3NzOGpvIn1dLCJmb3JtYXQiOiJ0cmVlaGFzaCIsImhhc2hfYmxvY2tfc2l6ZSI6NDA5Nn1dLCJpdGVtX2lkIjoiYXBkZmxsY2thYWhhYmFmbmRiaGllYWhpZ2tqbGhhbGYiLCJpdGVtX3ZlcnNpb24iOiIxNC41IiwicHJvdG9jb2xfdmVyc2lvbiI6MX0","signatures":[{"header":{"kid":"publisher"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"cDz7oX6JCuOQPEesY0K67B30bTcsPONx8zGgncsf3ADlTbAAQOIYt_OZdifTCXu5xmpOLDLo69xbaKRzBFY0OxheymlCayAFomWe1cghIM257ojSf0vB1Yuuo33GyPAXD8_vAIxxhL5s_JdZW-IQOO7E10mttxSr4w6N7i6tGos"},{"header":{"kid":"webstore"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"f5Wyektt2ofH6M45sR_sZc68ijFQQyJO-dlHQkMit9laukfFcscGmYkyOFZgB_C8tQQIIw46ddOCNpewYWVHtNJVRLZwTenjll-EYwLjfU2NjciNQ26RgS_ukqvXXvUILrsCfegVeXVlyn21-m4puKP4FnbJ6MFWGcZtv3ayiViL6M_wsqyVshuOjz1IMdlvfWumZNxmidpRetglZM9J6pCMQ5kR8BHP1ale3dQbVfDjfS5173ZUfqoYhWT7amqoNLPywGrh4gQjyfixqnswqv2g2JgKcpEf6Jlky-a4bpr4sgiSeUXvURmfim6kPKy9K5_Qd2sHjxmMq6SiuV7RQQ"}]}}] \ No newline at end of file diff --git a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/manifest.json b/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/manifest.json deleted file mode 100644 index 593cd38a..00000000 --- a/.config/google-chrome/Default/Extensions/apdfllckaahabafndbhieahigkjlhalf/14.5_0/manifest.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "app": { - "launch": { - "web_url": "https://drive.google.com/?usp=chrome_app" - }, - "urls": [ "http://docs.google.com/", "http://drive.google.com/", "https://docs.google.com/", "https://drive.google.com/" ] - }, - "background": { - "allow_js_access": false - }, - "default_locale": "en_US", - "description": "__MSG_appDesc__", - "icons": { - "128": "128.png" - }, - "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDIl5KlKwL2TSkntkpY3naLLz5jsN0YwjhZyObcTOK6Nda4Ie21KRqZau9lx5SHcLh7pE2/S9OiArb+na2dn7YK5EvH+aRXS1ec3uxVlBhqLdnleVgwgwlg5fH95I52IeHcoeK6pR4hW/Nv39GNlI/Uqk6O6GBCCsAxYrdxww9BiQIDAQAB", - "manifest_version": 2, - "name": "__MSG_appName__", - "offline_enabled": true, - "options_page": "https://drive.google.com/drive/settings", - "permissions": [ "clipboardRead", "clipboardWrite", "notifications" ], - "update_url": "https://clients2.google.com/service/update2/crx", - "version": "14.5" -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/128.png b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/128.png deleted file mode 100644 index f393e878..00000000 Binary files a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/128.png and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/ar/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/ar/messages.json deleted file mode 100644 index b4562688..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/ar/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "Youtube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/bg/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/bg/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/bg/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/ca/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/ca/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/ca/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/cs/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/cs/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/cs/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/da/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/da/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/da/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/de/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/de/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/de/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/el/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/el/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/el/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/en/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/en/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/en/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/es/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/es/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/es/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/fi/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/fi/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/fi/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/fil/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/fil/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/fil/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/fr/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/fr/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/fr/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/he/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/he/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/he/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/hi/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/hi/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/hi/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/hr/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/hr/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/hr/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/hu/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/hu/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/hu/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/id/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/id/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/id/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/it/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/it/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/it/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/ja/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/ja/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/ja/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/ko/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/ko/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/ko/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/lt/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/lt/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/lt/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/lv/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/lv/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/lv/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/nl/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/nl/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/nl/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/no/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/no/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/no/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/pl/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/pl/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/pl/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/pt_BR/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/pt_BR/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/pt_BR/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/pt_PT/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/pt_PT/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/pt_PT/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/ro/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/ro/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/ro/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/ru/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/ru/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/ru/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/sk/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/sk/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/sk/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/sl/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/sl/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/sl/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/sr/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/sr/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/sr/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/sv/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/sv/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/sv/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/th/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/th/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/th/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/tr/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/tr/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/tr/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/uk/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/uk/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/uk/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/vi/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/vi/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/vi/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/zh_CN/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/zh_CN/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/zh_CN/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/zh_TW/messages.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/zh_TW/messages.json deleted file mode 100644 index ec7b99cd..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_locales/zh_TW/messages.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "appDesc": { - "description": "App description.", - "message": "" - }, - "appName": { - "description": "App name.", - "message": "YouTube" - } -} diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_metadata/verified_contents.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_metadata/verified_contents.json deleted file mode 100644 index d933e842..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/_metadata/verified_contents.json +++ /dev/null @@ -1 +0,0 @@ -[{"description":"treehash per file","signed_content":{"payload":"eyJjb250ZW50X2hhc2hlcyI6W3siYmxvY2tfc2l6ZSI6NDA5NiwiZGlnZXN0Ijoic2hhMjU2IiwiZmlsZXMiOlt7InBhdGgiOiIxMjgucG5nIiwicm9vdF9oYXNoIjoiLXJ2QzBxN3FjdzIwaFJ2ckFrc1RJclZtZ0VLRFJxZFJ5TW12eFZVM196ayJ9LHsicGF0aCI6Il9sb2NhbGVzL2FyL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJJRU1GZHRKUFlVcWdjWW91NkRUOEpsYktrLWpwSHlRUy1DZWV6VFdWU3VvIn0seyJwYXRoIjoiX2xvY2FsZXMvYmcvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IkdObllHQWxTTE93WWo4Z3UtdTROOFVaSUh4c3lwblVwVnVyeU1Yc1lNcXMifSx7InBhdGgiOiJfbG9jYWxlcy9jYS9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiR05uWUdBbFNMT3dZajhndS11NE44VVpJSHhzeXBuVXBWdXJ5TVhzWU1xcyJ9LHsicGF0aCI6Il9sb2NhbGVzL2NzL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJHTm5ZR0FsU0xPd1lqOGd1LXU0TjhVWklIeHN5cG5VcFZ1cnlNWHNZTXFzIn0seyJwYXRoIjoiX2xvY2FsZXMvZGEvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IkdObllHQWxTTE93WWo4Z3UtdTROOFVaSUh4c3lwblVwVnVyeU1Yc1lNcXMifSx7InBhdGgiOiJfbG9jYWxlcy9kZS9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiR05uWUdBbFNMT3dZajhndS11NE44VVpJSHhzeXBuVXBWdXJ5TVhzWU1xcyJ9LHsicGF0aCI6Il9sb2NhbGVzL2VsL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJHTm5ZR0FsU0xPd1lqOGd1LXU0TjhVWklIeHN5cG5VcFZ1cnlNWHNZTXFzIn0seyJwYXRoIjoiX2xvY2FsZXMvZW4vbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IkdObllHQWxTTE93WWo4Z3UtdTROOFVaSUh4c3lwblVwVnVyeU1Yc1lNcXMifSx7InBhdGgiOiJfbG9jYWxlcy9lcy9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiR05uWUdBbFNMT3dZajhndS11NE44VVpJSHhzeXBuVXBWdXJ5TVhzWU1xcyJ9LHsicGF0aCI6Il9sb2NhbGVzL2ZpL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJHTm5ZR0FsU0xPd1lqOGd1LXU0TjhVWklIeHN5cG5VcFZ1cnlNWHNZTXFzIn0seyJwYXRoIjoiX2xvY2FsZXMvZmlsL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJHTm5ZR0FsU0xPd1lqOGd1LXU0TjhVWklIeHN5cG5VcFZ1cnlNWHNZTXFzIn0seyJwYXRoIjoiX2xvY2FsZXMvZnIvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IkdObllHQWxTTE93WWo4Z3UtdTROOFVaSUh4c3lwblVwVnVyeU1Yc1lNcXMifSx7InBhdGgiOiJfbG9jYWxlcy9oZS9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiR05uWUdBbFNMT3dZajhndS11NE44VVpJSHhzeXBuVXBWdXJ5TVhzWU1xcyJ9LHsicGF0aCI6Il9sb2NhbGVzL2hpL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJHTm5ZR0FsU0xPd1lqOGd1LXU0TjhVWklIeHN5cG5VcFZ1cnlNWHNZTXFzIn0seyJwYXRoIjoiX2xvY2FsZXMvaHIvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IkdObllHQWxTTE93WWo4Z3UtdTROOFVaSUh4c3lwblVwVnVyeU1Yc1lNcXMifSx7InBhdGgiOiJfbG9jYWxlcy9odS9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiR05uWUdBbFNMT3dZajhndS11NE44VVpJSHhzeXBuVXBWdXJ5TVhzWU1xcyJ9LHsicGF0aCI6Il9sb2NhbGVzL2lkL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJHTm5ZR0FsU0xPd1lqOGd1LXU0TjhVWklIeHN5cG5VcFZ1cnlNWHNZTXFzIn0seyJwYXRoIjoiX2xvY2FsZXMvaXQvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IkdObllHQWxTTE93WWo4Z3UtdTROOFVaSUh4c3lwblVwVnVyeU1Yc1lNcXMifSx7InBhdGgiOiJfbG9jYWxlcy9qYS9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiR05uWUdBbFNMT3dZajhndS11NE44VVpJSHhzeXBuVXBWdXJ5TVhzWU1xcyJ9LHsicGF0aCI6Il9sb2NhbGVzL2tvL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJHTm5ZR0FsU0xPd1lqOGd1LXU0TjhVWklIeHN5cG5VcFZ1cnlNWHNZTXFzIn0seyJwYXRoIjoiX2xvY2FsZXMvbHQvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IkdObllHQWxTTE93WWo4Z3UtdTROOFVaSUh4c3lwblVwVnVyeU1Yc1lNcXMifSx7InBhdGgiOiJfbG9jYWxlcy9sdi9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiR05uWUdBbFNMT3dZajhndS11NE44VVpJSHhzeXBuVXBWdXJ5TVhzWU1xcyJ9LHsicGF0aCI6Il9sb2NhbGVzL25sL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJHTm5ZR0FsU0xPd1lqOGd1LXU0TjhVWklIeHN5cG5VcFZ1cnlNWHNZTXFzIn0seyJwYXRoIjoiX2xvY2FsZXMvbm8vbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IkdObllHQWxTTE93WWo4Z3UtdTROOFVaSUh4c3lwblVwVnVyeU1Yc1lNcXMifSx7InBhdGgiOiJfbG9jYWxlcy9wbC9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiR05uWUdBbFNMT3dZajhndS11NE44VVpJSHhzeXBuVXBWdXJ5TVhzWU1xcyJ9LHsicGF0aCI6Il9sb2NhbGVzL3B0X0JSL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJHTm5ZR0FsU0xPd1lqOGd1LXU0TjhVWklIeHN5cG5VcFZ1cnlNWHNZTXFzIn0seyJwYXRoIjoiX2xvY2FsZXMvcHRfUFQvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IkdObllHQWxTTE93WWo4Z3UtdTROOFVaSUh4c3lwblVwVnVyeU1Yc1lNcXMifSx7InBhdGgiOiJfbG9jYWxlcy9yby9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiR05uWUdBbFNMT3dZajhndS11NE44VVpJSHhzeXBuVXBWdXJ5TVhzWU1xcyJ9LHsicGF0aCI6Il9sb2NhbGVzL3J1L21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJHTm5ZR0FsU0xPd1lqOGd1LXU0TjhVWklIeHN5cG5VcFZ1cnlNWHNZTXFzIn0seyJwYXRoIjoiX2xvY2FsZXMvc2svbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IkdObllHQWxTTE93WWo4Z3UtdTROOFVaSUh4c3lwblVwVnVyeU1Yc1lNcXMifSx7InBhdGgiOiJfbG9jYWxlcy9zbC9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiR05uWUdBbFNMT3dZajhndS11NE44VVpJSHhzeXBuVXBWdXJ5TVhzWU1xcyJ9LHsicGF0aCI6Il9sb2NhbGVzL3NyL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJHTm5ZR0FsU0xPd1lqOGd1LXU0TjhVWklIeHN5cG5VcFZ1cnlNWHNZTXFzIn0seyJwYXRoIjoiX2xvY2FsZXMvc3YvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IkdObllHQWxTTE93WWo4Z3UtdTROOFVaSUh4c3lwblVwVnVyeU1Yc1lNcXMifSx7InBhdGgiOiJfbG9jYWxlcy90aC9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiR05uWUdBbFNMT3dZajhndS11NE44VVpJSHhzeXBuVXBWdXJ5TVhzWU1xcyJ9LHsicGF0aCI6Il9sb2NhbGVzL3RyL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJHTm5ZR0FsU0xPd1lqOGd1LXU0TjhVWklIeHN5cG5VcFZ1cnlNWHNZTXFzIn0seyJwYXRoIjoiX2xvY2FsZXMvdWsvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IkdObllHQWxTTE93WWo4Z3UtdTROOFVaSUh4c3lwblVwVnVyeU1Yc1lNcXMifSx7InBhdGgiOiJfbG9jYWxlcy92aS9tZXNzYWdlcy5qc29uIiwicm9vdF9oYXNoIjoiR05uWUdBbFNMT3dZajhndS11NE44VVpJSHhzeXBuVXBWdXJ5TVhzWU1xcyJ9LHsicGF0aCI6Il9sb2NhbGVzL3poX0NOL21lc3NhZ2VzLmpzb24iLCJyb290X2hhc2giOiJHTm5ZR0FsU0xPd1lqOGd1LXU0TjhVWklIeHN5cG5VcFZ1cnlNWHNZTXFzIn0seyJwYXRoIjoiX2xvY2FsZXMvemhfVFcvbWVzc2FnZXMuanNvbiIsInJvb3RfaGFzaCI6IkdObllHQWxTTE93WWo4Z3UtdTROOFVaSUh4c3lwblVwVnVyeU1Yc1lNcXMifSx7InBhdGgiOiJtYW5pZmVzdC5qc29uIiwicm9vdF9oYXNoIjoibW9OOEpJTHQxUlRleHNncUhwejNub2hXd3ZSQ21EY3BZRXMzMloyZWIwNCJ9XSwiZm9ybWF0IjoidHJlZWhhc2giLCJoYXNoX2Jsb2NrX3NpemUiOjQwOTZ9XSwiaXRlbV9pZCI6ImJscGNmZ29rYWttZ25rY29qaGhrYmZibGRrYWNuYmVvIiwiaXRlbV92ZXJzaW9uIjoiNC4yLjgiLCJwcm90b2NvbF92ZXJzaW9uIjoxfQ","signatures":[{"header":{"kid":"publisher"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"wJqEA7aI9P4ER-osYbNTo2E_Yq4qPeD3-nmskfg_yj0VvtTI7DrjHInvgRnI0c-neplO8iuIb4xHKdNj6RPtXCJf0huBOD6zTN7IvFDeT8Xphd3MbzehGgSil5DyPQGUfdcCecdy10ZWJLSAr4_6exT1Apdl__jFJkPAz_aIXAs"},{"header":{"kid":"webstore"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"b_F2Ya2ZGPKLPbcUB4DOttfRY3Jxv1oh_YvnxvYfpEvmtK131EifdNS5R8fFMLs5905V0Gl3TZTFxGjjOeRB0HzLTLiZwfE_iBSPvinGG0_KXjatUsig60DdrfMhmUQSHm-lariqhvOor9-D9ajp1yRkTA-d2VmpGWBeYMx72jbIW8SLVfr43aY3wr5F9IbL1fQdQAZBPU_hoenqTMg_tmy_hCyo69L4XOnVP6cXnZLTYmTAt0D5jTSmWRUN1a18Vudflse94PxPWNgN5LhqLcj6-sKiDEFNs1LcaSTRcGPJwnGkqUkxcz3Ih39vdv_bZjc9IJTID1bmC3wdETYkOw"}]}}] \ No newline at end of file diff --git a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/manifest.json b/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/manifest.json deleted file mode 100644 index 2347ce1f..00000000 --- a/.config/google-chrome/Default/Extensions/blpcfgokakmgnkcojhhkbfbldkacnbeo/4.2.8_0/manifest.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "app": { - "launch": { - "container": "tab", - "web_url": "http://www.youtube.com" - }, - "web_content": { - "enabled": true, - "origin": "http://www.youtube.com" - } - }, - "default_locale": "en", - "description": "__MSG_appDesc__", - "icons": { - "128": "128.png" - }, - "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDC/HotmFlyuz5FaHaIbVBhhL4BwbcUtsfWwzgUMpZt5ZsLB2nW/Y5xwNkkPANYGdVsJkT2GPpRRIKBO5QiJ7jPMa3EZtcZHpkygBlQLSjMhdrAKevpKgIl6YTkwzNvExY6rzVDzeE9zqnIs33eppY4S5QcoALMxuSWlMKqgFQjHQIDAQAB", - "manifest_version": 2, - "name": "__MSG_appName__", - "update_url": "http://clients2.google.com/service/update2/crx", - "version": "4.2.8" -} diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/_metadata/computed_hashes.json b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/_metadata/computed_hashes.json deleted file mode 100644 index d6bb8e2a..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/_metadata/computed_hashes.json +++ /dev/null @@ -1 +0,0 @@ -{"file_hashes":[{"block_hashes":["qrOJrg5lsjd6fkck2Bm36ep/HhwDqLj1udsswP9i8/E=","rm0hZRXeU5dTw334OOtI+RVl7RKEHf2FWCwxai/3JwU=","Io2eVy5iq7z+DKKN51L6o0YE/Sw4ZF+Fe69vGzupnG4=","a/YxDhQ5AYDGqzU9FRn3U7ExQ1LOo56CVY+jv+5nRgw=","o6ACwg1WTB2c4Iutroy9Pm96s4VnG62EGu9drLcE2Yw=","a6NKuZsZeguaJGirXzUwMTLnu2jyeVN/odmMLDtXBNc=","ATu8zm5njM7lpbNKdoM0YyFxRn1wKzPy2o9sU3CH9zY=","lGIIPKVzqOgVGXEHi9hVG97N6ooJLLKdABWly3nLd2o=","CxSO9k+/2XHDiHRlDAT/BVwblUeobGh2MsWCtLH1cvM=","bxEdmjuZPZ3fUO9PhIUMI6ybe6LOh4qQ2wHxo9piTBw=","PM4yvKRB6pUe/nsNynmsKXH0jE4jZ1c2aEq8Tcjzjpg=","wotqlnE9qA2oZCKGeO4vxrRw+x7gsdJIZyUQkZTWtxs=","uD8MQHJmsQYFr8mN3+QJQOi8XdqasWzeYx7+QzWijpg=","3LqhtN1jKh61N63C/0OpaQaBkcR06BUfKLuYq/xIxdo=","vBeGqw0AWj1rE2YVAFcIBP1Edw/KqQbJJkrX5hONEQY=","s/bJvKJBETneSsi4fhDiTh4qONGxov9ndW3In/s+Lk0=","oVCvCKeS+1hJfIwsVdzQ4cIqOA0Z7Ua7gw6vJhOEp5g=","kn+vzj7kKhlju5JyJw2JnMI5JV1cc6tuxnuD+Ja8h28=","AZ9GTgdqdGtPbPHHF7jEtOwf5mxBmWayMSfMm8DCMQA=","YDs+XsI5V0e5+5dGIPryn1NcISRbkaj9sEAINlUuhDU=","wZOSvgwwg9lQe6l+RpB/EKQleODuEIY1OrD3zRPDirA=","9hV/bRbmpR09w4y2W30q1FHCigyj3SPX7RFmUP4e1nU=","moOTa4mYVBq60xayAV6VzoUIdctYwEv9hIy8bYTJhyw=","3h0fFgZmGTsDRp0Sv0eehlMvSyS88QKx4YlPolBr3fM=","+PffRFV2zWfITXJNpUZCVobb0eCiChBaiJM0hd4rOTk=","5S9QFDX4TFacEVtETFu1N+mc+1BOcAc5vY53pwvZzGM=","88hlKYmRcUuwjBMKXep6HxdMshA7cwjpF1/jxiiFG/8=","x5+ztUle2VpFnNVLPjY+bbfcGowdNOd2nNd2H+7Uxrw=","mfaLjayy5dHvObSuZxR9TG7ZvmiyBPN/r2isKa2eHZY=","a2MaKPZeCxWpnBLRhLayAiOlWe6peEaLf5d46WTog28=","rX+sslhvxulmwATX0dFrAk9YBf98tHx6hdq9i0iJLKc=","2/crsoq51HThf/2PKlEHfFzY/D2EVzVEpkLfdr1bxfU=","Wc8CUfQGalf6oC6gv6xjsas6QEREx3anF3jLOwz/RsQ=","vnsHerkCOnVhloBgbZrjtat53kdbPg8hluFv9wPjny4=","6bpWrJpw4J6k2AaEq2Ooys61xoIBelH1Mbiz0jq5C84=","EIcgOQ0OOv8xXzSo/HlNsNzHlPrvrZBDn4DuC6k307Q=","wAFqtNMQsSxlEXU8fDiZq5Rz+JQ+eeQU4mOzQ1YiLnE=","G1UWTwMPBwhEzVGZiC3UZJOuMmkRLaKAaSwsVeSrLTY=","AfNfkeKu/hSYpaWoiqRLytqET7xd3mTift03TSc0tIM=","EtLfiKuuccgUs+g2EoV7gxIvAICJCHdSTv7m3CRXzXk=","Qtmc4o/lnceMpvWDgljLpHFNgd7AR/JDMEqS25p0cnY=","HlFOe+N7Glpzc35mzLma9Z3zDCSA3wH6KnXzsD9dZSI=","sfwmSsAUCN77iF4xzazv3c/lYMFNDDb2P8lxWnDt9oI=","zJ5CIV40OkEKgQUXAVbBWZCLN78MEewfArk3QXrBxjA=","l7+Bz1mumqo5ko9t1nR9TSMj7GrB9L2QHx/Lels8rTA=","Uv7ZI0nDffzEhTqDTuWbuUTCieDCgseZI/p3lRcl6SQ=","13ulLEczTPjWFBTFU8s1wRHPOXOZ3tpaDrZpDfKRHxs=","5Ilj9T3uJLkRlxVmNWUZOftGW6A6QnlX8Bkrktj2jFU=","cgothyuYzs8UbveA4xlVaNyIYLDuhxlqFKPSCZPeYP0=","Oq1I3gJW5tIyH5y7gRfE+YZr/2NBXRvFcjG6t1zDiUc=","3t3V3fHqc7nXAerSKcYVOysmTrfak3nn4VsoSETKJYk=","UjwW77CrIDLbHaJ9PY2CwzIYsZZoCQa4WK/FrsVVaXw=","SUR0xKjYpAtDrm2yWNFDHF+PD9xPY7+gemfu2aC6/34=","ZeUpRqf3d5/tdKdz0CpGYdqge3e2+4PTdJsfTnHymG0=","iEB2dultAIvA6agFpOK6X1S6hu6LlmO2ph9voRM0a6Y=","k/mvSH6vc+ApKaQNpJrFOJYt4zaupXGwwlre+8LFhl0=","FEcDy0ldDYsYV5FgYlVwcEGEbAbPN40Rkhnsi183ITo=","7YIbE9ok6P0Rv1o89D/+PnfHqgv6l3DWNX+DgZ6HODM=","27SmjZqzz8ehmj4rV7Czla0APP1gtWxrtSQHpl50qq4=","atrd3uu4PPviBCxS2R5gmgBLT47yckNrIJ2XlQYYIUQ=","pN9nZF1bKaiYOtHjyn7c06YDZ+8JXTvQKr6j6nxu2K4=","03xNq/YCY72b9y4m/Uv+FKIW/XwA3k0jcvwyyeLVgiU=","SW4kIMrLrgBWQ3+Kq3nHE0HmA1L89O9/JC6S0Rg5UOg=","43KUlJJC0F3P44QGK48LWewW8bfJ7s0u4/6/6Z6E21U=","IKJwGPbT3wKnKw5X+9l4U8JCCq5Xo7D9+udBKfdOy9I=","jCgUWMAamUxZZ6hQnD6lK1+EnWYDEllKOwI2R30FwRw=","qldDUDM+B99V63OoV2ijmZn+6xdRVUc6duOi82IKpzE=","k8jvVj4HvtgTigQfeXCHmFkeq5DywLX8HaVvSXH1Rsw=","/KFfaNE+QqDx66WZSAADyIy8RQlZvXUrJcPo8xXxFvY=","q09GekMnVgIiTMqYy3UKljSiu35l9xYN0AqQadgCTsM=","zEl4szFgqgImIge2WalrYyyRlomxHu3whiT7lt/3a2E=","NYxi0fKikbvGxohx4W1ybocpdsbn3PDIe7RehgozA5M=","KSi5VvFms13RAA//oWqdb2O5hUQv4PD8IOS5aqlCoxk=","Wp2JIt8WM2HzD2GVH7vMt5KEYoS/lAbYQ1Y0eoK2iXM=","3o6iRzYRx6Hlg1BfvJ+veAISZRCrapkORwOxQPiL000=","OJmvRqOpLik36d/xn/+D+Jo1DxKAU/CD4jiFHzE5YVo=","sPL1LUUvc8V7y8sefuGUjhTIDSUdfwtXTjUKHNT6lcM=","cLmY0IbLT8giSKZ8kB1iNdfRr+TkVn0aRnbhbOk3KFc=","7rvF7zACUbJfAl8IRBD5j78AfuZyOmF3fVGRIfwFVXE=","RS8qUYfkjKIXLjRsp20IiDxSrrd7dM40JYKvF2sAvho=","tY6sDxXulDHnWCFCTDD4YlQnuz3Kp7o+CgWi9HSUKRE=","WzYoPc0+t5YSQixY7vhaS72dQRKM631QKW8LruLB77w=","HtCbCnf5kN8QqTiDXfAUl1P3KwJR1ZxKc1PXP+4Pjik=","VVgLByCzpOrh5L24D+kk6A/dyuHUN2VI02NHqT8IQ+s=","3+I7p3eyCycLZArsBG675IfPXmZ2/cZtdQIAza1/Uf4=","4VOiezNTProPL8LNQ4DMexQFysDAdr98R8a0j5tdZxE=","SvAyi4mwxvjmwgBjoADKFloDt3BLeWv9iQirVRwfU3k=","/2QzGEPplOgXswp8zhtRquKzvr6SpTyHiNKzJtXsfVQ=","v7rNz15iqGzMHXlKdAC+kz7I11hiVmlxs0OOaeLMUMk=","XJwoJdLu5xRLHS3i7dweIjlqBNTt30qDl5q73GagDhc=","6J8Ed5rdsfJTjtz8iZ4QPXObDq7dpghKiK1M62Cx27Y=","EknkzQUwpnmUyS4FE4ux2+RdNXcl25+lDhcytiZkxIo=","mahEQaytNh03DWh0my2uS0AfumEIylkPSbe1hivy/9g=","2hrZcjRliMPvsbocxvuzexYYbd6+DZH+hXdjzfCAQic=","AQs0WwT3dOMI8D1ImmcmfIvZnmOfS5yAdogs3mJhBdI=","P9F35tZAvPGYk3pQT6bPtYbFSqSdoxgkRazLMxIv35Y=","ZawgBepnitiGAvrF9gt5gRxPFx7jnvFFnKNxiFl8BV0=","B+0qyQx2OEn1hAOD3wNdhklZz8RjDvtncUgdTR+NoHc=","6z+A5EkJCUXUmLoBmyfbLGupizmH/euk5SND4sVLPcc=","YCYPBusGZ9T3ck1KNIHlxm0J8l4t5qAmummoKFlOXYU=","u9hKt7Z0u6s2GbcnaSR41/6STTYduaB+2LIcc0xAE8I=","kxmXrlw7spBmLB2zXrBESS6EB36ENwl4v8moQyseDyo=","hCWFudF9p3EYiLj4MHBgfXBLDw7sccaFbKcyRlsoDPA=","RQU+YmOsh1NCVF2FHhA1RiFGl46j0zRv7mAnvybCSTA=","Pvuo96O6rgJUrFy1hdXGY7ACsfXi19wE0wN/LLH+dCM=","N9pPWSfHYrSCDskluPIcZF/pZRuxGAKq7DS0V1SauX0=","rPhF1aDQVsfTB6vdH7F9gmRfwlP7WSLoO7rfUoFObL8=","txIRbhp1GxYYudx+JqFzV/qr+bNccjhVWZBB8iTmUZc=","+SyGPns4+JG9ZvM8EhdQ0Z9uNwjtl35hs1IeE6KT+SA=","c7s4Bz80v52pSkFnWZEtonNbRa46Jr9DRXVMSH87bvc=","jHaYdQnXUUoo7nz61iiU1ZPJzxmIRupGNZOzHRcwIA0=","V/2fnQZS4InlZ1CuHDB4lg9UKHG9lMYSPbHSnDipEPs=","7Rl4soFtRsZVVrVo8X6BTijmbWnCWMgBl4YlxkAxbq0=","Y0ImwRBJCv33CJAhYufAspt53fz/eJGWJtr56BBuNtI=","H5PEUOapwcUlPZUGjJ/yQJZ61vxnOxIKYas3IFc+mL8=","uhTIHy84NlkVdEmAajOlnqbytjzGCZ2HH2B14v3OSEA=","5AMWaVamD79hv24M1D19szYdq8rdMD8lahUkuZbxbE4=","i5kRCOFGv+PlN9ZSOpIpu51yFK7r74cpuuS2m9ASQxE=","u3Wf7PwIfbIOcJ8HMavQxaynYfd+Vgod9kUsW7/dWHQ=","yj8N1zorEKUKvH3zNsfR5fYs53vAVeN2CQ6/kyz3iyY=","F4e1wkThY1yob1aDFy/qmd0MAD2fUNueeac0kidHlzg=","n4BKwwX4ntG29VI1BnLvTtDhJvq2VmkIvT1AnIuDQQQ=","j9kwcphBFlxBsPjWB9erSflsFsadRdYYIAS6x4/rzFU=","81ilmhSp1LVkE4Q2buQ5QrTuDWf0DdS5PTmKa0KNses=","5iuKgR5WOUB7jVXXc7ZJP2okbhFjoWisNQutQdbTLK8=","B0i7bp8Jxf2lph4CB4YHlQMyJpU4hV9rlb03yBz3hU4=","fryKSIAyMmxKVrfv2lYGXM+DE5d8vuQiixTRa2EwtDY=","pzClCBqOyHTbIV/hNcNUEGzaMMQs6IATlOv5qSQeLKU=","YX0zEnpGzsIw0rpvzHwQ8Yq9u1mkfvYohIeVA0voxNM=","CVtiMkxCQWzOghzksYmC/reP0f31oHm/HIsv4j7PZHg=","j7nnV66P2nIxPEoetjljDR5yVw4cnua7j2ThZISHKcc=","hEeMYEb6U/oUnoex5WZ7drL4yHgEmssV7Z+66cetYoY=","W4TcSJqf4O7ogecdKWbMHxoIKl4Vthr0UEhf/wbWXvE=","UxTvKN+esAcx3/Qxc/Fps6K9r3jDFc6KH7FuPv33pBA=","1QdO+X1Skc+nIi+Ft7nWKO5RDUk7SyweFIWoaesPQmw=","7nOOemcaB22wn/lDR/Zcl61rSsxLqBY+LErfOOGT7Zs=","s16QcKbMqTZofSgkJJTfWT51Xaseyp+Kh8WVAFrLmcM=","FMJWf7PRlkDiBWwA2mvtYAoqU6zMzrD+kLOy598wEWE=","NY+Q+RLoMtNtb2eYIU2YfOYtX8upn6h/vAa9eOd1Y2g=","9L6krRWVPS0Fd9zXrSXCT5/ZQvfS1SYO412RoDEFPuY=","4D0qo8taF49pS2mWBwekbqHTpFS92IgRybml4AkC5lo=","WqUbQ4LgPVCLCXVl4/LO+56rL7I7cUbaulc6cdIzPGc=","yuKxWH6g3rZqRAOmk2UX2V+LnkDsCYp88AociRyKe3c=","+vCWzo1V1B485Z66YEHlrS9hN1SQrW270JSKofuPk7o=","SQWOTL9NXfGfCWiqI5E8ONyACFyxKmORffOrXuSbv4o=","j3p2icO1zp4B01VTInDbMRNH//EC/BkPyBqoRPJ/7hg=","f3lkOVjTFMu5O1je6xU1eI7Z2Sr8E0R7kMCw+3hURac=","bKRJV3Yd7bykowakGDo+Vt+tSispst591DF9m2bQ6A4=","34rjpmtQVm0KGYmKe5fXOmN5EqY21w/1BSwxBqjUAs4=","nBWCbwtjUlFwJPeS36rBls1bGY4wjTBo37m/oF2CErw=","WEmouVshxwo030wnrBaDpk+0jgGXHzfnD+4bQqxwh3o=","lPGASKh+bjrenuG32SqtRsLTShKDFYUD20UEPil1wc4=","+sxkg14yAH6QrGATHeoH/A1feizbOXSUTXEajkkR3WM=","GpKUm0fDhG/pAtv6+iFrzJSk+5Ekk8YFQ5duvWWLpG8=","M5U8yE5h7OJG6i3MHefsQLkcsJ38nXqeRR6dVequR0U=","X1TbtrJNQhh5MHkj94zlGJmdkcEJdC24LBDhfCs3JB4=","4S8QTNWmx0deElCq7Mfa3jYIauz2U4SZ9u1SdTpDXo4=","8eQB2pyK8//8F/r8Nk/CbyMwcjhgieIMqkrc1Dub55M=","3Yo3wpn4h4+4FH0X0nfZJdlI6pWFDY9fYnEZu5MQQD8=","FJroWbAiEZ8LnEKfYm2AY92h8+5r9p14v0p/iw8Vu/E=","Jy/EqQOCNg3wpFMmnnyCplSk3bJSv2fk4pnjbWVBkGM=","EqtxGcyudr3580TAdmnuEJXJoJZtFb/SULWthK5wbqw=","eDtAehv6MANUvtN8Akj7VQuyGhNT4i13jC1IY8pM5nQ=","5LxJbN8f0lb5rGMYOV5qmMqYVtWBuPA9vbtUKGxrMLM=","xC7cIW7bKzY4wACg9CXWqIdgOvVOvoPbMY22L+XE0LQ=","znl5EhSO/eecvDHUGUuyNxqLALskqxEgpQS6lkuYv+8=","x5prfKUvi/eM9ddp8X+p2KGbC5GjNXPW5lRXWwTbcs4=","xUltqw4QMr04rbpPZAQgmPK+DgQE4dUGlVP2kmxVA/M=","FVdnpoVjY+3ARbpBDYHmQDfgk33tVHgHkfOkN3mJTNQ=","e7xsCFOmdwRG9uF2h8ZgjBpayOz0f0ER3Z2h4gLkWJw=","PUt5g52IGzx3+uAZBrISuaVNliOH5n5e1GwJS/zK1Ak=","q2iZSF29y4/FesHPi5GJyOa7yeAoJX1/hzhU/rSc8Y8=","IAQ+enUN5rErJsOVDSdMsJV/eqoDd52AigU5GL75JUc=","G657fyEWCiyrGzGEpBbto9yefoPpSRhwBZ3sJdZ5kks=","/9FsegjAqabWXqRUI7EyMsePf/UYMo29kT3e+pJI7ig=","5m2m+340nBCaFgYz++6fWdxVXkwSkd37zf4in6jsItk=","ZMUFFvsGIv5QSq3elr5g5sDVXILBjycQm4S/Am4p9+0=","Ox8sjewu1e+geTJaY0yzHgL2BJd1fMuanwCkHwBTc+o=","A8AgsFfNFCDM5bnr8mH8gy2C5P54LqsqWO/7VY0snrU=","6amRX97c1kDoY6jvnsokrGX9sfdw/Ud38KseOZ0Tc1U=","Xa7vgVyobEWv5IBdO8tA3Bpj/kx30Wtu/7nJa/vXaL0=","KySwzUUQX7qMb3/HlcbSPCto+urXOiiqwlFDrB7G+RU=","+LWWN6qVpTQTIz7ipMgkW9vp9XgG8m+a/MoHjeYD8Fs=","XfnaRkHm/9MYSHuuGUHbQClxEV4XfKBvBxh3CEq0FMw=","1p/tgq9Uh2+XX8XGNzqQWJV5K6hWwUG/2yiJMmDCYRc=","zIix2LWv3v2ooYPXKj3w2IOqN3x65DLXWWCh0JvYbhI=","JfM0ssy207DXKI0/g/FHJMOhBeHLviaxXoZIvLB6tL4=","uVh7kpajEghq8M0Rd/qhUHS5S9AIy0hsSInQ+QHgUMw=","BqRpMR0DmaHBWDZ3VFnD0VgEaP2pCa4vasDB2ckPLRw=","YNkYoDtgZ4mYafeyGam2eVUqf0zupal+ZPAL0ZUXBg4=","YL9MNiz2NOEXvOzttnoWGm81dcgv2PfkEa57zCCzhkM=","xAY3W2mQiYhJbY+klOMjDgiTmdf18DhwO5qRgRKYHgo=","U5vWgiO6eVMPBMK19SarfSOmnnJj45sEMk7I/mIBvoo=","PHcLkm6ZfCQGdGfFqTX1hZHbrftmoAp0hinPmiL4l9U=","sibLjQPjy2iddLRqIeQERhfs6valWtRaXqZjGUbxGxM=","nlaQtanIsyzR1X78cVXskMA6wtwiLQnE/DCdqSOkwrg=","ZGSnAm/ULN7OjdAAdTQyewOrPZyUQ4gPgK9LjnW8m1k=","VRSWl7tZyDPbvlehL2FIMNbU76MG0sAhZE7oyLD6B/o=","X7ZAS5WteItpXs6+ETNak+9Z5cLuorPczWIt+/5w6Uk=","QwA8/Wgl7QVTMr20VCNknp/BOQ0F7DH/V+egN/jpAGA=","dDtgfDPVXv8YAQxlYTTc5+xcNg1lgMiSdxwrwk4XzDs=","B2L7LCk+q1v9Pr6E5LT/4NpX/9geeV0/C+jXPYqE2k0=","2K29iPJCMuuNMQ9a7Stokq790YnPPBJ6YL1ZRgYlg4E=","t7XHahb9FGMkFXwa8ZbjHyqV38eQw20s3vzvgC8GATk=","g+NHcAOvjJ3MtDBsi/fcM8pJdamJobI0QzrfvP/+yYg=","4Pyqgj6OpoOrKJUi71V1jtOb4UlcvbUp82/dOc4CdiY=","j30I4no2AaDquPV2pfm3GCmuzwB9apWqQywhqXJ5GyI=","eJvChpEmHSFQU3raSLrKJMABSI/wP8TieqOznm7lPOw=","R2lJuWGdxDafR4p2G97eDyA0LuVoEbrn9S4xCBrrHVw=","CgEpEFO5QBddS24FOtrQ3bUceo8L1IvNuqnlcCjSOoo=","Yjpm44jk/C4/3WcJpQW07OgwNxM2C4c/D55FgJZSP2A=","8io3nua9NxOApfKEIDXWzmT562W7tkapFwcvcJgTTUs=","+Gcmqyg70WEilL2ka1edf+EexS0IphK/fuQmXxZgEgE=","xgoKfLf3zeZDYYzMJPqHjSUVSVn+UYp5DnxGtJRgO4s=","+4jZKmosLQgBLMa02L2yjtftK8ScFtZp6obQUxM7M14=","pcGVaqPDKPH2go8Ko26mCZcixrE+D6LAje2AwRcsmrA=","PVDbX86qkCVP6vyadDqb8T2XatF5l3/VNT1KM9uPS4w=","xBDDih6H4folfFmyfzmj0bSu2DUNAcg/M+2SQUHiMpo=","NKfJVjfqVww41rNgy1ivZcEoOtV74DRVegIq3l72wbU=","U9TZ3bUbVmo09b7ntJa2bp4W8P4er7H8L9cRBjRqiGY=","BPDONMbM0kGSE90aLpBdonVmqNG2c/IjkLwrUgnaDeM=","w30U1g2ozNusj8gV+03F5GecZv7Jnpb+QM9ctkEj7Gg=","H7nIrArLQV/qpzS1GMJXX4JYsd51JEnKDyaXccaONb4=","vN9BwKzYrvF6L/7T2/9piZlUWB23j2axjJlXs5gYRsg=","f6uxYJ7mBxzvGgoWwbWwkj0AWB0797dyQ0IqgP+OkF0=","pFq4noVBTSklAapJPQT5TY2O0tnppUjhFODiwjkr1EY=","eIkD93tTqDarIIKHFlmhEEP3vWp6dSAXbxmLj/lVsqQ=","AYLn6kaSWbaNRPfTTSK56tJRnGL9rLBu6izebJZF/+k=","yVLjWiHBevxLFzk0S8WVjkQp/c9wseccbkW+ekTXww8=","cfkxJs/lVURHQ8/c+ikzZ0WzbLq02RFIv2pqbHrRNpQ=","Sb1C7sa8BeNwGvZZjjAf1gsLCaWONBbSLL8/2cXJXeI=","6rKw4IonOhbkHNIqpzstjfukuajrUR9ydfHQqc3LZQc=","ddVqFwpZbQhQ3KyCSIww5ufMKkPWoTqsJnA0Duea6YU=","QEB76Qng74XKP4gI2FOG9YuUFF2v1G9ZvgZfiYT5KDc=","BPJ+pMJtCp2xdw71ZwqdjTgi4Zy55JF4rqwerJavVjY=","QCv5Wq5CO0oRI/5dpOYiZlu+BSSas2DNfmZ8E0eoQ9o=","m3p0SoH/ENv2VBgB7jDe2sb9EEv3HRNy/ZHUEji2p2A=","wYv1vusvUe0NXwQOK7afheMOLagIYLQCUzxXNL3bnss=","TluJ46vHN5XrKuMQtLh9k88+9AxnnrKmXU7bSj1g6fE=","tTklVjgXfPB0f2weYHdRgODXYS9Pu8uZGQvl/M1r/X4=","PLshXq5K8dImakiGC7B79nFkO7PF3LiILGCgVzpmghE=","JQJvYZAUoKZmQdUwQkIE4AR9NnR2uHUCEJw/V0yxalY=","wSo8LBxpz9COw+4p9OOynWl4L2xLX5zHlCtm0l2368Y=","1P8zU/0UiKmBMiASMAfXogbm17YCQMSz4Man45rcHmI=","3XUfjMOJDiyPlM6EvK4OdjDik30Szs3pSENsgjKLxDo=","bjWOF72oL+0Vlan4hSMeIBAsZVUFIdch7xVf3lCx6E4=","lg6CVA59PDjFMHM2hACa5owhZoyXkLow/Qc8Ay4/OH0=","4dHfPBbOtrsrCV1RbagITzK9qwLS8f65OTejAaAHJRI=","Mh5e/2ZR+OcZhTV1anFKRVHqYPyULvwTBAnamJkqtgc=","1HYA7nNfoSGO+80Yag2r5ZSyCRfc1T2V4Nzd5cihqHk=","gBWodaACcAsE/kT6Rvioz1tyFXZuSV82YcljBZXQ5zo=","73CGeQFB6ah7EadjB6iRGfNRgOV3nzsT1F7BXkzCxps=","9ZICbVPPIzCUjq7gWsnVX8PU7IRzUXQlGKEozju03wM=","5J0v46WtYOzs6PwY1hrmNXEnQ+O36vD7Bj4wLvzdMqE=","bf4X7ccKRgxOuono4Cua/OtR+9BS0paOQeij3jyBfAU=","9WqTiPJ8Y+n2eSXLt+zwUu0JdUfYf81Bnp0t7NfZD0I=","m103TK+s6QpGoFVlM+CM4yXn7WHLDmK84C+/amtwwqg=","KupaS8+JDRGFGNgFk/+NejPGcXgLKfrknt9P8qs//yM=","YSeSRKJOjVX/UbPaTHD33VBiKGg80rn2fIPt/cNembM=","RrV562tBplafWr3w6ExqBHQEI9s64HVA0arScAA7I28=","eE2Ji9WZvS9+8ht/GZn5baRLRL1WvG2p4IudVr2R00c=","ex4JOwvHDGERuJ6Z/oB1AFflj44N3o7c8JSeP4Zd1l0=","cSBFjPumjUw8yw7avMJB/nVtt3jyFTiAf42HA+Tqfuk=","HJgrnwX9C5nAhOWxqV5Bfq1tqSA2iAhMetxuuGQtgCw=","yDaDlMczApRpzSKQdXzGpRYWkFtraqTZAqidOqqT9KU=","QiLVaGXkKSfb+h8J5TM4YzlU90SL4EOlTfvRXasE/p8=","rm+6DGISA6v+yWsLhqAvWCLaQn5f8xUrfQuL1we/EKY=","l/AzXApQNE4j76No+jbJi0MfNr3vUcp6OIX0+O+HB78=","G7V9iBC8agtpxaeHgKpJnzKZAHwLtImR1nshr9e1kCc=","K0cCEtdDnLc5mI66Hm7k2Y7VnHmiqOSLBZkZAu/eyDk=","oMLfzITrXMaN+9fx+ok603JdnNfIDCNbwXXeDXGjrMo=","4NjRCWpKxtyk0v7yopybLgaq4LX3Pz+TwxG6FhPJaME=","/dbOObHnxICUHis0TgDQBzs7ZnZKo01HwiUlFJjg3UQ=","oHhqoJaFPYwwQxgIIM7ByJVM2iaYuoDq5C1CyHt6b8s=","x35vmIGQeARLC9YbSZcKonhdmMDxIzBKX6LmfXNrK+U=","aAxZFpIl1JnNAmarL/4HtVneTItb0U5/npizrq1qKyE=","wIj+i2CgQm+9TPtxLHq5D4R/U1sCWq40wBdzITWfs7Y=","UJLOtnIWo0CWDs4Qb+Vt7LRIYpAgdLKeWAd66DC0NTs=","WvlwHNwnRJ9Hm6ugJA14cB9QSCgobaL/MP1hX7imCoM=","CRHFTVihZT2EtN9ykPzqEd6hZAQoV8IST9rmOQt/lDU=","Gqa3xkQ3JsTHMNPVu3j5m6ajeG2UhzLDRr41R0JlovI=","eDsybnFlrHhb7zlQ9KK2D7MJ0srrkxU5zwx73yFsiWM=","qoODgPunAV5ui+6tc8mNFywBwBiq5cfCJQXBBAg5udo=","Uvaa/7tNV0dl7h529qEUZxEe35fC11Rmj9pOo9jIfUs=","+fVftVSFUE4veUEBssYrVOp13wW6Gn7H/GiqFUUu6Jo=","OCAuwMEzbEC+Xyve81XORSorYpWlQ5FEUwR/ccZtuEc=","xANjE92oSQigTuQk0ZS0tbDOo3to9DeNaMaflGY7upo=","CwUIhvDciC+CxDe7WwKP1hGRsdxMCiFtdqBmhELJ/GE=","dVAzSNgUJNCDL4rvYr1DPGR48m7GApzSYgq1Oz3+bBE=","fD941+HjAKp3Ie+uvzNDzeuqmr7Ne+JfuZOxvXwqoX4=","c6b6fpq7KjCU9jkfwDfPUYLhVMWRDbZXNce8bXve+7w=","ZFJIXp4nVBl0nbUgYgYBHSjCQP0HC4PY0qwzItbG5Fw=","k8MF3m1x73UvhN8OkN+MEnA/HlVmYUSmyRgb1C1aKyM=","1O5M6GTW6eSOmXzVIuZkeVkwOLNLTTzQ1npVAgckovM=","5dPG/AuD1cTJFzNzzzeota4JDuwW9HzzfYRq8a1wouo=","Fq8He8PuK1JjGMrYBmwzNex7XaJQnM3eqoPLlA/h/Cg=","nQwmGHbeTSIGDWQCWMN4bSs3KIONwCo8wGXs5LaFywk=","AvqMC4E3I4b8lKo4j1gBgRL2e6nVw4PRJbtPg2BbZGc=","GWNITXyg5FK8OuoaijJI4h18BLA1R7A6rquCF9BPiXU=","7Z8R7cvjvJN8O4HjMx7cHbjHlUsMXEzJHRPu4kshDwA=","C8neUlvw+Oi7K1ASxgVyxwK06/bmm42rlMvDfb6y2vY=","cZDxrKV//H/iNLHz8fDq/6SvVqeBdIRng+Zi4TY8iIo=","nY4JBcKj6rB9oorlZDby89BTMCUmjWCxDHNJKVc3kpU=","OUW7ieJxebh50Rm7jEe6mXW0ew5nRpNHWG1zyaQV/0g=","pW5HQCrw4R3MbPEAVtEYnE7M9C9AX7UR476WO860Gc8=","SBZAdmzLbEijayW2KqWPzf18fX5jMqYa6IZ0makOiHA=","RSCbcjN516QXQA6PdYSx9ciccZqKlnQDdNGkAjtwS1c=","WykuvJV4xLvP4/1860u+CbeziFrK7AlTnAS/ORMe/K0=","zDam3gSdX6rDcLXcuJWAs3P4kE1PfygaVF4/X0eOCOE=","rBLUKyGXsiJvA95yne4doGd0ZvI45Umiz9zZyKkxb+M=","xWZz+tvOOh8MH94vRDsO+BLWsOO7WCbVpulovEl6pHA=","mAjhDAqILcerWIlZlWKn6XAwD5HcGshVgSXF2gvgJ04=","LQ1jtgvZkhVqr+1hbIAJlSCDrhA9Ltcyybyo3BY/6h8=","a9qyP7PRP0OC70AxxyOwvyyroJsDo85XEiAmsrztXK8=","asuH8i5r67cA4e/W+5Tv5b9NSKw9wWSpDVMcyKqwhCo=","GlPViYFu4VLFE23+wkrPVlDEzIIGozg+TJ3sGPJtIB8=","HR47wh9j2AO0ZtMH3B/9XP1JGDJ6QFVZrIio3uS2xDs=","g+xDTehaJ6kVukzQ0nrYbfUp5d6ZcZBMPjdEQ9GUYv0=","1s5GnuQqobiRb0BYKqM/kmxt1ESn+YTTh2pSp2E2ZuY=","uo2pk9Yv5LMrhJlq5IKFZlQWtHg0v6ieG9avDQ9zTCQ=","OB6hTpsOkYd1iZpvfkQpxFm+ZGYGCmN+urfhW8Fua9I=","bjKh/Rxi5P53xFOBamdYQO/UEEnAi8VbYPIEVSMa2wo=","jCoZ4+wcKnCW2GkPOVJnBr7GTkH+5M8TWwIGaAUOPtE=","iSwOQeR1nNl6/nmJiSEtNx1yCTeHfVy4pvzzUg1VjDU=","3Zn8qjPyunmeMjDIYbug8aPKla5TJhV1FV1aEA72tZI=","WM0L8Vj/QTpd8TIe92kPqvl0VOX1WjoM5TQxOsu/AOg=","Add9DR1Tq+vFVHh8ksGab2dM5X3CiUNS5VBIeimNPOE=","7qAYB0GjqauYtyJbUF598hCM4nmmEbrMQ/Cd8Vt/eFQ=","fr/5Bq0xwXi19vM9nosbD0yJCUe9egZAy5lAWavLKFY=","k9mzJab6xHBOnHyx7YTA4WKVjcoXtzIKMyo2O2DUkIQ=","swvM97Q15bitjv/Z4jpHeehwvWjowX+y50sbX+ZHdw8=","LbkL1k4FxP7ajSsGnhW06GxI5co+HhOluy6ZVi+9bs0=","LNYWAmXr9caIsn6EZXdxRSv3hQaSLN5jAujKjtrrLCg=","bEyu72+wDrJA+jQPLdLcJABCj/w7bgUUZJb1I/YEaqQ=","vkX8NzaY+dACus8GV/HwEiadIkQeErMHx3dMEGjFkoA=","xSUrsjODhDCbLSRuQeLgxrrzigkSO4aTTkYunDsGQiQ=","ZOJWZKtZs2UIIeBbbf1E1lLPgNbWrwl9aTdzirodlPw=","8NHZf53HBWN69Ny/qc3QngsBbcC5Hj9KOZunRnO+qH8=","Bs4+yEF8F/N6umMFzmgnOzrbm+M1UTuy3nkCzbJl8ew=","Dwm+qTzvX0WyiyAxOa0ssRgT5fYmP/szHsp4TFjfKxA=","oI1N5Fu7A8irt+Q9Sk2t7RebKr3ZWgpnrk6CNSCk+b8=","T+GFdW/COA8ZPDAM9YSdXczFqVkbHleO+BsHVqF1FAc=","m7g1vk4yK5z4jyrHEasofnCWDANwWEXoGpp/GexLp9A=","fMw9/aCkz69TIAnCciwZB1LqKSN8KtCvLAxPRJ1xjiA=","4Vi8Lt098H6vcSG4XeejmOuLhG0RnRMKj8toWt8+hHI=","0uWQk6AazJrdviFQ4ZWes4ohzqE4j+IxJN3/ilTDFE0=","8PdtpKKzCc4P9jA8h08ufZpReaIl+vy3E3eJU9+WK/0=","RLYwrPT2jnrsbeIzhTXzvcJ4mnNq4MJQulIwf6pWe/4=","+HhlPnuT51yExi4wR7VZmxqk3wK/yzy/hSDcAAeXdl4=","QVpR0dQZccUgo8gE/xMu7zYNXwZvNZd1ah5jiic3Dts=","6mHczEzXLNho24pBVuYQAN6ltGF8U/jNB/yXL+4wXgk=","xOBRVLE5SPOOymb6fbm82LsyJdIy+CJuA0LxyyplfZ0=","7XXYsqS+F8c9JRy82mj3FKvHZNoJU+r2AukchcKWvpk=","7y3e78iIMyPf+pLGHhZONDbD0manIBY4euZHiJv7dgs=","fjYrNl4KO0Mgm6RiInDzQNAMN69dNJnYzTyEFZvS8xw=","JYvITUMMtMlqUqCQIYLjbH+b/7pT2OaoBJgZgCna2TQ=","hD1+7W+w8rpUEj1EC2Yuw43WVYjhUrTpnVIQgVL2u18=","+e5bxPAwX8DF67xK1p3cXnZh6HhXFXO/m08W1I6yuJ4=","pp2VdOAJEWoEcSS3vnYX2FThmtiyAV8YhscCMfgerbo=","y9vcojmmLIiAM5BW5OjR5EFDjkSK/LL6fMsQQotEfy8=","X3NcSP4XpzkJttKo+4vBJeNi9VW3bIjWHfghcSn4mUY=","AWhDjwYzQg7uXE4yixT9ndrEVXhb+ZFZUAkAlBmNZ+A=","yvd+NieUNDgpE/unCYFZ2VAzvlkbZ79KHXz4UfaucO0=","t7uiDih/HJej/DjJq8EAd5rnz7o9gz3Hj2IA46k0Gcs=","Pf4ud6NN3inzSPlPout+d0Rv7ZEpxogpbjI9diRtbls=","C0PwsU12kb2v7+nHGY1duGVS73I7t/TUCxhcFNdqyFI=","pK35VWmC0+7dkJiwas5a4RM+IWYzMkS7w2XJXPGdBcw=","8arSW6u/iDl4cNWumjP9GRkB0FAPeuBqOxGq4+tIT/k=","hmJeisBu//9lCPYDbdJtD5XnOVnuehxpHhCuohz4rKg=","lwGfGu4wvoCucsDoDXisQx0HzUm5MsoBy8Uf5045Zcc=","acVh3c19SEyI3xyMBcr9/eLGrTGROFAB8ESPc1FPTEw=","zxIv+tksorrEdqrUEA1srbzO71N+NiCJXSR0FxBuF3E=","ZWBCyOm6t8dm4PahckNYI73Ntj6G3KFq6B1G3g10pKU=","SANF05fhdtWxbcUplhjlkQ+CEFkxB7zCGoJa4EL38fw=","pwmc/cn6RJ63G4ExFR3MuM94Bfo1swcAFxopIcfI0r8=","HytDs5ELvA9q7GpremcjYxK3+mp7anKU0nELLCxLhpo=","juEdTuy4AIOncJbiFDYBqek3UjvypQnY/8HUfYhyYZQ=","cI/EwFjuv3/KtOCTyVXQADxyRi/GUF+vtkSnZPfkkcI=","Ig1ZXs6eOX47L2sxS4Eb1ZNQPXv/+98pcVtBNL/v9Hs=","cvksFjlcIipqW6jdnHaaQjA8KhUH4K/mnKsSsipBYcs=","qNtL3ZJO+UOYvWVOGgyFT9/ks4+K0YyBtM5Ky86ysiM=","W1sxwXzoke1NV8vXhERUs4CzsFIhA/P2U83L7y8tnok=","OaTTn5xYGtM1iVzNGXE7WGLK9W08bTwjQEA0+4VBDW0=","Cqi3mYkgwDUxnUhySksWkmjxA1UcqcTvT1f1wfv8NtQ=","4N8UP/75icmAs+3edP5pzVaQ+v//dUG1zV4BxkDKtA4=","3vKMM1pN3jz32NiWt/tPtj4MmJi99bOh9ib6Gt2gtyo=","6BZG/j9ukZW3rwZvYjD2Ag+APbF7/EKQkYYNJN/PUV8=","0AJE5Tp47BsHC0D1MGYbmiXE5LTApx8wtPbfLRHaVrY=","iwMLctd3Wv1eDLws7MSbKMTlzC0G0R8Tf7auE6Nmpoc=","/ShYTK0K0WA92DfzIlBop4jU3i9toeUp//MU8AFYO1U=","YaO4UGJAMbqMUEQO0/4W1adhJ7gMieDkKCUE/0Qd+6c=","aMYL6QFAiLiq+NHcPxkDGNZXYE7LwYnn6egu7liuDCY=","SrrSZtwMKB+xil5Ak0xTOECrXw2SFP/VWBIa09JWl5M=","PCVYZjaZglpDCD7X/qioXQ60iZAvE/MBi3gtmjKQlg4=","080xdgMGyyKmpSIm9vYseDIXK8RDVEcidoWziRVuIhE=","CnuCSihdKgU7bO6MQghOo8RFVkbnW63Z5vQeGbF7owo=","NUJNaKorlHNrMcsLyFlp9R390xkoTyg3/T6ODsZMlS4=","WZMSl9ybB/QML7vhffQ5TawnkEpTY73h2bNm4z37D5E=","agtDM7yGh4EP4qbSuyNz2lbJ+oTadBEr/xMZ8UgUcGk=","jurD/UF+sv+sbHNrHYIFnmLtZ630OgaG323x0meGGK0=","DnUCNr14bdT/0JVgmjuLjmJFFgApnKDO/dlXY2nUjVE=","drlsvgy9NvX3ElNYwEovzqKjGPqYzPrIXEOtPn1hHIc=","21cLvRJ/yMGTCeAq5+CVfCkC/HJfsCHC66qpAxsT2Bk=","qtVCcccRfEuNsAYnRJ9nyZA5Fj81smbGEyQJ+ryivzc=","mc4ts9CR2RYUzrnGz+//1KO+70eTTaHG6yhyySxTe/w=","/wuR9K8x5brV0qgl/HrQKlTS5mrK2U1psnLbtfGruV8=","piwj5C2WDupWn3fzCFF5rrRIbtztqfroVzjjt+ayiTM=","lmKzRe28f3qc9FWhH2olzWw/xAVVsD8pQmCVhLRWpKc=","M80miKrWCHwdc6X/5+EG9dQb9po11SJsYcuHweVaquo=","H8BrzZaBbx75Jn4jGq5vP3pIvyOXm+cKNL0FQr8zcd8=","9BlyNWtv3bqdgVm2tJQFRixworVLUOxWMYntDa1jPj0=","/mCoX58zKLL1OAeUiMixRw32nqdEma3lrpbl2jmcngo=","eclqr8Kuj7v27kDN1NNHtDBUGqdZG0dP3ujmfw4iFSA=","DXzEZutA5BJwO3hRk7B6gmRRLTv0Yz/mOTsDCQfs3GE=","pFfKsCCaoeShDwwiQR1k2zd8YwidGJjFGH1L52Nr0FA=","AeF4w/txX48Iu5P6OPvAR6N/hhyyrCZbpry89C2aj98=","opJzTWMbFqp9qa2AXvp3Mlb9Bp0+pX5BUqJt/0JOJBo=","mGGCV45ZplpYUS3AOaC3kuwSy4lPtFyjluZxEHQvuDw=","lODMN8josr5rUi19RpXRZTcnteX5Av/tuJUt/9lJexA=","P97YetStIQ6ky88FznNqq/UGi+ASu/RFc41J1xJXgTM=","jdq1WHhDVDtI/T3T04lGBHcm9Sd5Ox2yp7KoLYRS8mI=","7NDiOtBjRpn4uCxu5vaIzJly+6wayFF1mbDUm91zMdU=","wmrd3yQPXmqhTsQ6FDciZdC84w6bD7t/tr+ISnreWe4=","uX5SGTBx0EMx1Z8sA165LZ0qt3UsKZxPtU6u6mNuzVo=","GRohbW0ZGJo6lnnMFCeIYepfpcg9cEFPTz2IWqyXKa4=","p3zzkvCGkmy9g2Wfre42ZVdaUctizgQju/AfGgZTknI=","1yBNR23p+SpG9eKAosaIvccBe5GIZLyOJR2vRZ3X0+A=","9nAkz7HYlYjQIjA3+8jDF6AqhJG6fMceyqFD0Ru8I6A=","v4l1oYemOqAWDIGUh6WMBG/cIeUxsv0AklcWjDRoBV4=","HiiCnFdPcMsMgDvtLpH5t+jeONYI+tKKTfArQlrqfJ0=","6+IabfKTKCyz5Xj47uXWR5COpnyhZt6suU0GNk83xfI=","Q41j2qaAkg4Zvngjkzfw6E3woEHid+qCF5DIY76ve0c=","xzhEIzRIR/W6MSO1dsBAKqOCCH74GBruchOEcLLb2/E=","JnUXxMzCmHoLvBt5QCfKko0rzqFeKChl+y58uiZAvV4=","nAD4yUDmJR+wpSU2gusEeATaaeLZT9OuU0byk4bErvI=","l7MjWWBBCBjvI58Q0R7pMfStbQjDAtlsH9MLVVSM9C4=","7dlLdWKK8rCgB/Q7Ll8LSlBnGAeruWmIkDqt6Rsp+lE=","PZVbFuuuiyNhio02dqSt+rWdHOzmBwqfDMrSjCb3yv8=","Dy/F6xznfIEI9ZJaOCSer4ssty8B8c0F2E5MUYZNiZc=","jQ/Ry2zXvzY2rSQ/7ve6ULnhcrcf+FSNGcakbw1oqus=","Rpf15njgPBrHTt6i6C5cmn18NL7dAIz0kNZ9W4Sin5E=","DllOUh0T7anZiNcAB1WNzM5YcFNW+BeGMaYEBcfRfIo=","Z7bF9erAkQZ2RUfmLu8WEKy7KMUslwJg5AWyslwAvL0=","z+Lc95HRcWnYunOYcLJRJ9a2xGhZ9WZY25XmYeT4ffI=","GKzYm1rDXXyohs2I+YAGt5kaHJbhIeQgY2LaMD0sLdQ=","hFJeeMP0wqusQkgny+bZ3XlN7yV7mrxuDZMDGvOWMxM=","sSyqAuYL9426JIiaeciC2TLBfKaeIlADMv4YkMkKGM4=","H9KC2iid6hLMpVEVGX1OmnuWSlTs5Zm6QhFEgjf9QqA=","+cji/SjAS7rQEkWxKawJyqSpKUeg/+wuaQ/dg5XUvZs=","U+jgpAyTHfS+MiVdsCEObOcOBovYE/BCbdb4VFztP4A=","m4wrPiWGqFvxOkNIOVtL8zLW+fq2wri+zkrZbArOFqo=","anQllYmJ+49ay2CQLqTFKnPH3lEZDIznXrwvhytP4UI=","SBdEXxzTrnou6OEyYOtvL17b8GjcxhPp5w1stEVtD1s=","0yulS9KN7IdoPmJ/JlGopApBkXgKj/JkO3tp6HKnu0Y=","AS44Fl4FPtJ2kAi8rlWo7C+YSo+Bw2Zxv6IYZdrhxkc=","2gvR0KHi0GHVsnz6fqbz1CW8pKeH6gCwifgrvjAXLYE=","a5OjRyKRR5I2cCv0rB0OYHiTnsRyvp5EL7xum6eVuC8=","hYztZNFbiMAQypVfMkmRDm/ivLcQCmESFPpfHtzYD2Y=","Zl4ylg6uKE1A0SXEnIzU4CqVQvFC6i1Bl/Cc7aaT3no=","1dD2j37jEDQyQW3ERPQES7/ptsRWGKVJ/OC5rFNmmIY=","keZRK2cQtncXQKxxGamRgoWAhanyCwIqNsl9HqKyiFg=","sQtiXxqnYr/+LXKXsfEf0uEwaPM5dwOdslwKr/mcHmY=","iGSc0/idjvN44X/vScF0HS1yk+Z710bcQh5e2Zilq1I=","X98GefwqU0Hf/dy5AJ/PhvDhzN1V72muWwQa2FiTz48=","3vNwy7SGMwp+yfL7tXd8H6iyL7XQPV0Dwfj1GgwlO2k=","A4o+Y9i8qZKgwwc8GUXWnKHaaxtCeNF0DIOU2o7Ultc=","i9J25MpIupziLgG6dWjdilMQGvGX5hUZdeAL5sFcA6A=","6LuoGPKLUQdIClMXlS7WhCI1X10lY3RMIqAy5AN95B8=","WtXZZtFF5re40Sn8TqvcxsQo4ZGm/ciGs9ai8q3IvM0=","jWUnLBXMC9qJyvKDfqp3HlAvQ6pv5u3fZ4PUcVVs3L8=","whkEaoyQG06HEaREN/2ZYw05xtMus37qOlXi3ohG9ac=","pLebFLs9Os1xaNyHT//DqE6wrvdm+7ku2DoY75TDVxk=","4siHrctbGG1l4fsnR2buPn+35hqGi5pzLO1uhw+D7i0=","Ev2HUEjlRyJFeKoOmdQXGgEyog888eZkW8jN2bZhwFk=","Iap++spGnB3haINxtg8uAqqt154YW4DiBZmfRJJYYbA=","wZtkVnpzBv3gBlwB2IL1xG6pwcTu1CNedNyOtUg9zEI=","EkvkuzI5fds7SA1rjynwwug+qiE8tksOQULLaS3IbPI=","d/gBogfVDVTyyd2uZMY9Zi8wAYKz1ilrrIls3wDhqOs=","KcuQykv/nRZS1AL/BJ+/76YkidswdIkB2OKewaog+ts=","YlGjQN0EdBCDxC1Vg1pOw1zTWlDnaWRB1nUlRu2NtWE=","D/ZGUGx0zqyPCEFdPRZQTYwzUzOiSOSzBfVEISpkHUo=","wVrWnU19ToP5ekAF7kmJcDxd3PQ3fTEtloYkjF2MyT0=","3/hVe2b55489MH7f2ncaLXD160BKo2bY+Y/dPOPzeu8=","NVCqnwwdraCJMpIxhMBNrLCvecduDNZagtVbguTTT84=","QnPRHGUBaXOJ2y22DpzrKsL0QOTRDWlxjmQv6B1Yh9A=","+iiORkPCeSI58Yo+mYcrF4mkRZmtygEQpaF2nFVoiW0=","MiS4rj86hIoSvVe2uNtSkkDfd7xCnxyDwrt1c+P+Lm0=","91MfAaRpF6ul47Ga/LhrwrqdriXhi3jsiA0sNT85tqU=","JqfrO9m8tYj9WFcpWPA8FVUEv2kguNsZgDvNpZpUK6c=","/EkPq0yxtE6viNnrXatdMsDAgGZH/QQMpF8lpeWghgo=","CMb1tIz3DaXZrH/DC7/1dvHiG+tZvoCGjgoJv1LRl8E=","wpON86JcWlX4LPECu/3I+yZAzyLjN6W+cfqmXz25rS8=","KLVxzG0KLID6mDQWFqPHrvS9bTWQuUxQS5TTTVs2rvM=","sGrWnx1DBG2/X4xBCXreQiNTefh8O13RHmTdQASOM3I=","ccxFKrOQN3w7J7DMDpU3RzNUmSKyMVPlqsX6g5AJLoE=","BJqDERa1aiVnzfHYzt7y3v7CsZIseSASgomTvbU36kM=","nghygVtZ4ld0iD3EZ6qEvCWv9rKh+EYBIMLy9gjQYww=","6yc+5nTd6verPSbbLyM/a07DxGGCk8OEayhWr3ZHBcs=","tgEbTav+41MvzCAW7HKwo4RHh1bN+8UpOqzcFf+nb70=","DRn5yKIZHL9Fe2+MW9nykQiO06+mH8poTY5oDQEFOtg=","7J0y5byfOXSFLcZruVXP3nHwPIjjPhOxzCEtsbEzDqQ=","zxzT3esoWtmsQ84v4OU365QQ+jvy8we/BoaB5ChqfYs=","S9ivxHchaw8ABTxUUfl3GDaKMbPN4+BbpkNJtNN+36s=","Syg1EzkqHK9qShYJL5AhZojJrmxUDJGvSZzXoN7pfkI=","pEzpXlDvTnhHAge2dn/jBXhnBmPJLMjRcUzOdweFXT8=","WNFMBqB8Z28xfPy7IGy5yWtVa3IaXSrl2u4Wa9+/2UM=","p3pZV4Ij8qFT+XzBKTZl58B+JXk7gsKgbixOi52RzjQ=","qaReAByjVKPXOFUmTQsXMazt5GSJi/GpHmXbsmGrEp4=","Er2SEoTp5mfmTP4Gz9yrWqQNt7PTnrPokePKDCyFCLo=","+YXrB8yz5VjxoCtsiYIDrOVSdcP0uDiwVXQy3yMTSVE=","jT391o9iMUryLhcFXb045pxIIOX3nTBGoESAFXkWmAU=","IY51FK02DVKwbX/QbNY0T/n9FXUKWtjMZaYyi15J6vs=","56XbY4nC9/RZen+p6BqrL7P0bxxvwRD1cBR/GD9yKQ4=","zfLXLOVnNe5VZrvtX9VVIjHDpZCk6yDkD0cfUIoCS1w=","bQHJMEW3UPcfW4L5hndztck4iqAxdmav/FNCYVNCpoo=","33+h6GUGDnyrGEJIqARYzoJbsi8GT+w+qOAVXUcNh+U=","LTBEa43WllvUL95rQmJB/hv8oO8Csw/BkBLznkdh38g=","AEvis5zTTjdPKlzKkLd6NadneXvM8gUB3epHsVC9X88=","jOVOxK40+Ys6tETjuENlEWgsrvjg/MDEGgHbqI4d4Xs=","TKdThONv6nNJjTpP5szcQN4EKn82eRJQUkdfEVGA6dE=","lbjB3D7PLqItJGDCza/+6qeTfkdOER9/nOspWvaI7R8=","Kyd7iEUusLlX9DHt2D98LVtzRYNQWBJ7/q8fEMvs6oI=","K+hhjhwVxg4UA6cRIzCxlFAyyhSuvdQ2DK32QXs5mvI=","aXv+hS3REPxKNSXry8Pq/8jfOTo/vZSbtyQ8r9Ifi08=","mX5B917WQ918XBQrrGvwLWidBBWDGHQhL/KwMQCCwXI=","j7mAdvuwZTGFp4qIOLLjCEgQdj41fLx9FrRGh0XlHmY=","8jvymWZWZYwwbPVjk1G6SEDggqVtLhfKwPMq1/Wo1c8=","raZ6sIeXYWydQNZCRZyIrARXoMYPvffmHYRRqixY6DQ=","MI6zczHj9uNhzio5QVBdMpnv+e/KUcHyw4p8fmh/tJY=","rCr0V+/oOC26ONR0kWV9mbGcQiWvnRXupN7pY0o/UGk=","zAhU1rYbHhXwMCU9rx6iG2nMr3NjHVPPveypdzLaXPI=","R/jLa6YPeoV7dhOr6KXOjQPJZKZNTCIz3wU4goSK884=","AXNsroO8RZQJW3mhhvRDF+fvA0I43LRNVU9CaG+BIN8=","iVEGZ5Z9soEEHddynhhkoI38vH/wqdXkudaekefhOJc=","Ux2ZW2COiFUl3zZwol3lkIVKKFxrJ8RMBQ2G2L7hzXA=","KlG1Kdf5VOxobSocL33b+/t4n7P9RoTSqudUkydKbV8=","WTEvwAnCZY7wLdvdnVTXn/YzvEfZVYVlZ/3Xjf9F4Fs=","NkvkO7gJOth3cykGv6y/NvgW9fzLD+LNgHRTlLdKS10=","LdMG5Chr9LHD4yanmOrlYHSDbgGzFGVtyEOkB6SBepI=","eW7mHvH+KHT+ngSPP4AQj7y28K3SVNL7SqUvCyJQuDk=","BWhKFDcoYDm1CXF7wDhyhI5ZGpwZq/PwFGl4VAwr7iE=","kR7CXghn3c29lHe4/K2Yn1rYsOIzk4uIjhsBRgixl08=","+W2BRU43cHBWKu6zxudtNCJsDdw3UaWwESSEB8aQf48=","oqGHiyduv2Q6FcrDqgUajjvl1lXDDgvnm7hf86VViRk=","e9IbnRmCHWGxghWC6JwInFz04eIPfbO2wLJDl8DPRmc=","imqLg/6PTJVKwSXhr41bzJIULPi8Vwet21R1pEofDlY=","rUE8Pco6hU9f4Us36FWgqK+RBnmny7+R4Q+2zKbRl2M=","tY9oU8yvWXqjX/gC+MrIbrSbvkOlbXDtLWgvLL4/BEU=","wUXCY9tXqRrQYZq3LOqOAw++3FKVDWts2GcrZnQik0k=","bQQ4emNBd5eVE1mdp5QPBuWeuqn9S/u1gxoCTolWq00=","bMog+eGWmrLUrY+a8qJpdalOWzvn3BWxo3eFC7vZ2Yw=","lesKzLSFOkbvrkQEBo8OuHHcoLehrnR/Ws4OGqBB0Sw=","WC/SsaHWeXhEdxKPeG23qBXznplN5xQxU2+1xYdRIYc=","QWZsIIwBp6GBDnm7mT50DLiHj0nMNrhA6cy1sJ8yuzI=","muhudXQq66Ehmcf7fpQ3XYVJN7K3XJS/6yBJsRqujkA=","sfhrs4CIiSKcWDH15+29DlUS/HFq3o15v6bR3J2OOSc=","NGDinYgGYfxZgl4Vd0KZD/RhFOaqUpD8aH8CHXYo0wI=","Q4TVaYTaiOd7xPkRrr8yxhRCmF71uJ5yUEjy+YM5Cpw=","laIHzIerfe8ZVta+FhxhNcwp1Fv1MELNX+wcFrPpNao=","vnnDsFzGWvcypiOnn0k3jNPu8qPOoXhaVB9XqlxXOf0=","E4kmWU/LOED8QHj4MIJqnhJ6cRO4KtRjVUL9uNTbRg4=","f94npjrVZ0OgQRuMtzTkcneIYaZMapPSleLdy4bv1W0=","7As+4bj/T9LKhrVNv+N3IDwqLIxz/fO6exhwSLG1KDw=","+a20YU5vJQXDh8fgSbt5QsjaBVAJuCIGZk8ZWn0so6A=","STDOpskX1Xyy9rFFFKsejrt8OLalG2zqN244O0fENac=","6zQgIDA+m4x4zbyBCk8HHbvHs7IaB9pBgmUkK1A36fM=","7n1b8Ykz5PJL4CmOJxrDJPGbIP8IGtRSy3yZ2FuaWok=","jk5462BEh0NnLjyL/SUQg88hwCD5mfp6OjjHQu/S4oU=","n7c1lZh7zps+bRuxlmti/bwbx7n8YFUsuSEP7VY/XHY=","616RH80y1YvHELAqLnv9q6MG0GE/czqodXefrTV4nmI=","6bQZRbSqjD6L/pdSTGrcyOm4OQvQaO/IuU17xKL2S1g=","YyIXqBja8Yjymu0XGC0cREItVRQ0oarxmiiIj5LsuME=","Gk5pLREoIpOYVDzOMvb6qhUgmowwCMt4qk+QYX9DXpY=","6qrp4Y8c2Kp+wwSExEzjSA9RfjSgWptvcwOk8FGIM3I=","v5c3Qs4Ysi3xDOUUR5HsfBz/35Meuqil1taNyhgSgWc=","wF0/9MXa2jxwUCiesNSmyAj3s7oW0q66qLk8n4Czpzw=","yAghtxxaKBbt8mY9eZLZZFmeMLk31I9lwEQJOvpcSlk=","PDouVa+k8p6Q/MFeAghuqc0KpuiF2LGQyplbycTRHfg=","zSeSy2l6XBZVgTMOASQ33CEmwqH00TcFSAhkN8EGOhs=","K1EwZtCDUfHVgAMGMKVavHmaiBlJBb5cS3voSVLBtcI=","DhxdYlDKOta65aRKfw2vZPpQOXcMGnC5KFEwR8+0lyY=","8mmyVV1yrNtMZj4DFLRYWb/9EUAbkBnNWEIj+b6V0NY=","Ab8AG8DnasRPUL5nq85rKpY489HQNuBE+0wqVYPyQdE=","3w5trN4dfE8DIw7b1Lfs4LpNqnR5iGcRnZK+IyUQrGk=","nA7PdhZunqYDij/NyGOG9CvCgpAc8S4tCbijDaXeoDs=","9HXgfTeVUIAc2tw9p01G2rSgq0a7XXxRzG5Fi2IqDRY=","Ut38Qz93WU/fqov8CwUUBQcLP2YXQUQ/2AoTWvk8F+s=","ifntPMfIXnEnUXWqB4vkCdIeYyb6hMecUpfyzP+LrAM=","GXnYL/OiMEXba0/ihgjziYgZozTUlDQ9hoqiiNGFkqc=","fqSqauo8XHsNwqj7Htm8VkrJwh27t4nW3uG9CsiQQo0=","n5VvwBQlS5GRg4b2thb4209st4BBuH7ssNYirx+sqCY=","f4zouJamGNa2pt6OsmueR2EuW/MI5S5qAnI0Y5rFid0=","jE+AQLa8Pt649wY15pkryhlDyZQSeL25N/4qwQnnZ/c=","b/NISvi5sDWzhNnbuqCdvORHL1reYiDrc55uMSmnaL0=","FtK+zEgqJ7dlT44Vj+tXqrvrUWDu/tzuwG6vKWbNveA=","MHQ69RNi7uiD4gWw7oyhPAV+zrqGHJO6EVD0prRDbPM=","H5rxkTFXIkFJ/eBaQ0g+hvP1bBvu/svMBbStNMfwp0A=","AhVZ/Kod9Avrq2Fbh22/aS2DkNdM/SRNtfEmtLVcANo=","o10hDBmf59IiPmFe1qn1rJTMCAi45Zc/yMtvv18/8n8=","+kg0DpiXJB4+GPPZNqZcrkwp9bF44dHcuBP5eSyEhj4=","UWKHZZCrNdD7PULeLqB5xfwHEx0g6ay+bvzwxhH2YRY=","0BSJOdJ/UobzFNyBHYRn4IoBZ4puH+jesF9uBc9/pik=","re8OsYyK5hoEed8iUJFBo6H1XiFsc7LUm49sKB8iyE8=","Zzmrhymhs9G/gi3ok0dFHrFmbLasB/HEnp460ybzF3A=","qWwTmit9yw77SfkDFj0bGJcYl+VO45cmsTgaaYtgGRk=","azGWHnTmTsGdH5+Re6tz8V+AqUZGW6qQVNRicOw4oJ4=","oAdAKVznDTZluXu1FLzh8RXuRmO5q0h1dCJnFgkD30I=","wA6rNuUTa03iEI7ckYIXxv9UFObuSTq8hYulr0Ja0+k=","gmfCg0UQVLVzSXNtOJnmd5vVw63nftFPr8Z+NRqFOJI=","JAovBhmLCut5ZF3b/0X/jOxEyv4WYsyjQ+1FyHUNqrQ=","sB3DZ1q7Bow8cyy94/zAeKyV7vE78aVcys90Vn/M82I=","w6kqPjRs/Zxr60Kx1I/jN0kw29BqL3Q2dtAOjMh9AP8=","C/lQAyR4MKrt24HEgYuIZvrZfhMs+rj5XCUyXsFgBzo=","3MtMV7Rgk2cxZZ/8jL0w33GOINZ40c+9PwwbdAEyyuY=","rI6Skzn206oDdRzFTbvGlF4vrOND5nyZwKpsAEEnxDU=","v9NiZ1MK4TO7gchu2Xk6aKCjcyh45GuBu6QpislGMMU=","53aVuDJcwv+Uy0i5Qm3ffWU6bVGPyCmJQqAXATvQav0=","L3uMR9b/4XfYT4bawfR3kmccd41Z9nRLghWr56qrM1o=","tn7MpV2AgHaLegkW/WZ05eQuHNSCJYPYJaKNMWLueSE=","yfO+gXVI8k8iDpKvcYvdtqgoh3INHjoCTFJ7geNdA9A=","nM1MorJW0MJMY9BWPC03tU7YiOlvKfT9L/txAJUPLpw=","A/WZh2gA6Pam3Or2x8iSaPJptk5OnkYu5ZJoJHbizdE=","y3pWpYHS4Z8Zbl4okAfE1ZNn4wydrKU5J5D/2Yy3UwM=","nGMyJkYxO8pRJ6bHD+rOIhJx5Hr/McpdW+72tVy6z78=","5aMoHxmRdIHgqoEofoPGJuHMPisfMGXvYlYNtOvOdIQ=","4vDlS3REhyZDkfR8u5p3WzDJsap+kxPBx7kOiBXkTHQ=","tZcKaPirx8FSegYyl52Z/OEaF/LOtBDdEXoOhJiSf18=","Bad89jegtRCdnkGD2lpg/NnASg2QVRiMdFOeFybmq2s=","cqMZoKsFHAz+4OKD1Vwiru3B92GQ5St/yqXaG1BmzJY=","3c1Ai0EQE2RcLgcv/z0SVolHGtkuDO0xIn5qr+euYSE=","HfX5vm6X1dM0QpRtHbQXzBedffVeluewlUM3xi5/bpg=","4De07lFZuEk15QB3nj2skWtCCtzkoPSDdx2zUQBEbKo=","NqZaVGRVbrkZCkWXM3cIt+iOZgRDC4GzEqTTASPFoOQ=","h6A0XDi9wNIPzxpE+Mz4XSH6XufAXEu/iqZIsDhN3r0=","vYOn9g7D7eKFzFzgbecyo9u6202AdX+IO1K7M4qnViM=","ngpR0cnOZLgMfJOTxWvkDtOjQSKCVWcmEZxrVwmACyw=","3ST0I3kjWFemCZOLIKfPGT61D+cwWxfqFZD0vqhpvPM=","KOzasRyYCVqDrVytTgo1Z3X9FbBIgcNUno8gePlt24E=","+QKsUp7C377Ty3u8QVIuTRw2nKPa2kwdHlJXlpaN8qU=","9G6K3lPi7w9SsztKR3Jhf9t3XDOx6cmiOHt9YfY/1rY=","kW57c6ISB+YlnqpVvhrxZZ/IvRACNrtTLtY8n1G88hM=","J9zYg0wkQw3W33ubS+Vx55EZkTsjXuzc/qvPx7VN3E8=","2Luw5ao0Gbc4zID95NqhqJr6ud2BAvSn5rZKKKYpCc8=","ClPhyBgfhJcRDnfpsbJCmgXox0+UdErEb37l3GzlqSQ=","RBw350Rqf53+KpbKZL6GfPKZrvxXTW9zwlPlD7WtDYk=","dYJxMHxqUn4vJdI77+gepTW/HweXhTLkZ8N9rl/lI4U=","8v4uPrMWKvbPXYly6qUCO2KnPSgAh1xqhkdpVHbohOk=","TqCYobv+rwopS09Zw6+dpTWRnv3jQW81d+w30H513EE=","y8kSQymzq3CsRT0ZEaSBA5KMT3X/zIanilJzbS+n8vE=","0A/eOqBnTuawjVWx7+NZj1/1StVtGTZq4QBZygBueRw=","t6htuqzD+J5ZK+fwv62LdNCepF4uHJbFncGQqZGFaq8=","3sAUVgw03Ga3vcUrl1He4KLt6nfQR3SADvjQpSoi0Fc=","4pWVEAeQNKpL4jasknxSmDAj3bhoMOwneeFyfg/Gn7M=","6DENpDG7wj8pRWiCJ1e4SN2kUPSeBvKNi/O/GwdS4Ac=","hEq2QcSH8cE7c//0hcb7zAwVOLbh1V/IoyQ+xiBZp/s=","JxikjlNdJqXRZnH2iP4Q1laTNxv0jIR2eUzDMN090wA=","nRE4FgcRADwaezC9NX1hKIHJDfMMsMiyjdhUs9g62OU=","ZWByHhL/sUexFAdtOd01wiOKZu6VQYQgcS1Pc6Jrp6Q=","YBFZmI0dlXgYghFI2vucjrTF22mkQJ1EsdceCqYq05E=","0N933i1mVq8pUpVcrJUb1oikCKlOx92MHoQU03RAHOg=","7BUHcdIOBpZ/UOOSj8FbkBB9F6pKqI9S5IeVR8ogyws=","Jya8eEiIhqoDRx/PgIWx2pJljm2g6ZZr4B95Rjt394M=","+RygKSdaDc4i4meF+tw0j2VqWrJ64jpdxRRGuDNLNpo=","fAGgr2rv1/HJZPYBXaDdnVPxofRhTyGQ+cgTqgLfkIY=","8Ot6uc+yAVNFu8fK2z9hi5azugd6jguPkG/rZZVmn1w=","hoCJHOwRs7kqAzwxpjYREewLPMjyryS6hpoHhnzQDWo=","CQu8KcLAI3epT7EZnuH8Z38znAjT7sO2QTgLz57ecjw=","cIYJICWgMipjRldUL7wh/mc3+h4IOovgcTYazBDpMHk=","ZNCc1NBerHyUoaVWV12KU4C/1DOt2GiTRSvqxS3AAeM=","Tf72SXOJJrWpp6CdRPxVbzPVw+BS/C1eR54/DToW9D8=","4JsXKvXNDGh0LLGPG4kHcrhbX/wCPIA8QgC5kVeyONQ=","oCDGwJ5yCKYAOSE7I2iUtCedCYoFGD2UPhcrJQ6oh+c=","Iot5S2uDrjcG4iNkRZTH0Pl+/V0D1g4SjaDr4pcEeQw=","JBSCuBpEbsX247BdkGD6HD+LdYBw3Qi14cUwJhdpuEA=","X27gw0fUuob7pK0KUTiTLYU0mxD42e74rkEo4c7iP8k=","tck30mvhmjIW4ftimwKpN1e1gJgZXo0axeFwS1QeYKA=","LGAt0DdaR+WV9irUw3W9TK7PAiXja31PjBUmPuGKwr8=","hurbrMipIrDg+LHE0EPiFZDUOiOz9WRjLE4vPkbiwMg=","RmLcKJ1dACi2ZehlKpdwxT3haCNFfBmoKkh4kidTmwg=","ioS3CutU/kL7tOGZjX2LEZ9VDj0IyBVWGLr2m87OwJs=","6CTIPSpIxyr51b2lCGLmgf6d5OMb5w/rMdS76uDRtbM=","AXfr6ugVoWKvwhaWK4UFuOiNQVQiZG+qGijZPZGi+qI=","zhsVC6dPTuxJA8nlGzvciCG3v49tb9xpMJLTo4sSMdY=","xxS8bZvkPwMiXk4MOeVQfbF9PrLDL8TgCsBC+PKMPqU=","A/2zV1FcZMw8Nxb/jubIeNo9oDMJeFMK8/0fix0eaA8=","LDnLzchvCzFHFMclJHftUggb/kY2yyRE2Hk1/l0lBzc=","zUoM2kKFehEvRlK+hau0hMnl7mkV+uTgS9IZZ2NFDCs=","yXqk6Ol3CzPzkH8GqmObiqP1V75uBSizhK1syWpdKX0=","pS1GzfTrKhFfia/3zEXunFdYjg+y+ugQ8UYhs35wOLU=","522gd+Nb9CSECOpW2BFnAy69M6BXX8lzThh/CHa7q04=","qR6g/ADeERtkqUOSNnv4RI0kL79VOnLSWf0DV9AD2UA=","DapPeyZVr0BiPpSTHAhHJzpPQFVXTT25taeal4K1mYw=","g1pBpD1MMp+P11oFO3v+PrdSavdagB6Gs5MeTCgGdc8=","C9IHs3+XQA/VEHdaErxS8dmSlAFvLEzD3ExypQF1Mhk=","g+/nZDok3LHTGMVh4hYVnbGLlMxO5QBYU/9eV0j7VtA=","IhHpqzXzd2gcfTPN/4O389xVw5W6Hzqaf0KBNuSsFtE=","D4sv/Xf/xTlHUrEEz8q1tOJpa+gwAUqmTqtDTJo4b2M=","TSPy0jrQDtpi9Ap2f8yp0NEaul/14jzPItqJzRdKKIE=","9dzwre+wVufALzYDb3VKJm/SYN9YMvwfZ2AroJlU7qk=","DAXqwVGgMkyNUchyPTDCqTC8i0Kw4T5dIRBTjLFTaYI=","06/yl25Yl5ihU2+RzR05lrKAS+Yz/V1YxvcpaPYH4vg=","V3qOsZ2Eq8lcs59gPigpGOnkVi6VbjgLz0TTvsoseD4=","OQAT3tviAbeuFnvJXyO2HOF9xR0UdpVBQcVsli3G7AU=","ZkaQCFjUDZPBMO4UpfIwLPdm0Wxio74lnXXm9wNhKdY=","F4O+M78OPiORml3UuPnzkO39nKeQCeElqSIPuVmOFug=","+QtYMoF4TI+I8f9EqY2ce4ZAlQezwSayXyoi+i9Z0zs=","FA/fg8Sdq+zHfsqdSjoRWcB7saxBR1H3bGe+E+gAfg0=","lgVagEAMiQKkYCmph/RjbOuI3q1cdoRqpFtNg+vHzls=","hkAqPC6aue5E1KWvadLKseD1qAMqJIUbkR+ClVrbv0E=","SkgMgbuzuT0S8tqmNg7k6O2trlsw7fZ57t8Y54IV5kk=","5qV01Q34STG0YgIGY0Or7pYeUT8lDrSao6iPlTo0iH4=","Zdh1Snl4jtPmJflSzSv234EilaQp6o9HOfzfdVdJnsw=","dENcBDdg6P25/2C8OpXCbKUQ8vyH6pBZiPmyI6gwwx0=","fn9QiUEETdTBVykNLIGVY6suWiIE/ZuOS3aAHzB4iFE=","r4kiYba7drEGfR5gSasKrstbsmhhq5BST7ZFm6saJ7Q=","BNl3IFANLf803uX8Bwjqly4ockHQNMAsPF92mjIDvFw=","cpAMd4LyKDEN/h72CGuVRKx5Qz7dXVfVNvjxALcKY68=","wy58lVC2pKyTW3G07lBQVkq1zQafXi1qWkmZaQR+g7o=","wWcdPVMunQujhxfH6udNvpOxv+bOuOLp68zW/Ml6yRU=","KqZCgxy0JIlsJ8C6FQtYjOcC3h25NIF0sl8mOruD5ac=","wvrI2KUlc5eB33T08pJKBOjLR8IntPoinISHy9xrz5Y=","0vcwwDdThKtoOfD5E1pBdRCZDhdc1yqd7DIt6yArPIg=","XvUdwJfK3FeSatIITrq3rCpmpzdFOmSFOFVCVzf8nPU=","olBOgJ73H1ETBPMuMKrpe+bEkns9FPOTb4eUqJIxoK8=","03wy12B0CfUWJd1tl3vRFiEcyLl3maa7y90V+8+G6Jw=","zPSgpleiWW72/UpnlLn0I/ii4+VHYMkcv4msMj3F7nc=","KHF0INiitXZRjWaYuA8BouIbIeUcDDf5H9Wyqz0UO7c=","tAcCcngB30AKp6Z2w4+ozBURTmMqzcLid8mP5rj/5E0=","XM+CQ9j+8ajS/bojBO/k/E94IkdVNq8gaS+6dhR+dhg=","9x+cN6lW6mx9SuX8lYrb48jdDv0ldJPbeBx89LSYDUM=","2IY76462RQ2o9AhbDQNXRC5M2qaD9rpWCpmzzBAuCmg=","zApyV6n0dsAmJewUkwVr30Om+UgPqeyeZQDPfWX9gwE=","ovYtxSCxegY5JImAcG+LhJIo44qi2BBGBYesx5rdFkc=","KfjP7YX6QnCBQw/J+HVLpJ25ET527voQ7bbNTLW50aI=","TBkvZGVZNZaN1/PvV+2DCKqt9XIlVgJGy0DlJzpVlmw=","AilS32oeVm/kwuFvBSvadF/kuAM+vOX2sIqBx83V6kw=","oXuLHcwx8KPN1cxDogQsIPL+iFdJaCeDN/Sj7jJkPpY=","Mwb7KvP06r0RdJrKQZcTqnBVpH7GafKndgEgUCVaIWc=","dOHOkZLoyJ1PEuzqwiQPV5JUDDe55VlLIdT/B+HFD74=","lj1tz6pX5NoP/XB04HTYj8WHfN1Ik2rRoL1Xsb71j8M=","cFVuoocB/ATan6OCLkIF32ksWV8QawLdhBcuPO0IbLo=","DpdgTsFVNF6ASpyZXHnzi9hCjk9dFbatYGgxRFGVc7s=","50ORAXmFiF7/UUKcXSCNL/halL0995zofs8nOVo/R+A=","RoTZsg360L9EmmFjqxFn2Ahu7TxHj30VpOzp92dCCYI=","968gyBN8pPFfNh6z7AHI9HOFhaap67AnzxrfwjLaNLM=","PypMNuHeskdPli2DZ1EVF39fEZnS0FLX+7pYWwKB6aY=","PXoqOF3Qes2dOKqWQK8v00VSWQfc8SRdGtChV/1uA5c=","VHPhFDN3TsuZgz2wy91tdehDwp3RXE97lbZ2wWAjGWE=","cvnBA9zThn8YQG5XhK2WWszFO5HhgLL/+wX93Sp/Iy8=","pkumbWLG9Q09KQI4VIN/e8NBDW/gq2Yzluc7su/FtmQ=","sEcQxXfdi3u9kolVsf9ZqAsoLJtL5VT6GsNnXyJidtA=","KTLgjqbgnLH3IXC8PpucSpP6OFFCrLJHh4ZPiWaicTI=","kWnVLnV26hxervyH0/BODcVpXvw8//WukV+KyCx16po=","j92MjqpbK3/a4ijZbJXwNnwhg65bLCv66rGTfCbzYvI=","NsB2XbQv2e3yJsnhvm5ByUl1tKT367ZeoB4OCYs3nU4=","k7UXghJgNNDkgbh6vxDTWLIOf3UIoMuKTgdMKQDQtWg=","6a3XrI43Une+J2GNGITAo+aM+75AepR1GO3Qa9oM1rQ=","L5jrcKY/0t0paRuiVr5p3P+9g2ZyBZOoMYVTOq19VLo=","SHvgLlfOyx0JbHTvjB6q2rMKEfs1pG+JsXVhK6hVKjE=","d71/QUbHKl01suEnxgVcWjHjPCwDGmXrAcXN36SxRwM=","NyUjapIBw7OFHEIVp0PozpOa6tvhIy9phmqPmXSMoJU=","ElAnq+iSn5cMWM9fEzNlgwvUJ5oQtGBjkR6BVycVTcs=","BUxs0y2j2WPh6N1WjIiqsFx0Sl6fbivGZlOD8IFIo5s=","64NUqMFlT/1MKkrVZZopuNmuzUbaL2eanQjz5adA2gg=","FTxN+6z6OWOdOqBIU1pZKEoauJJk/ngynRDYs1EcEVw=","7IcM7R+U/kSO5Uk6mn8LNCOaMitbvX/wkuufH2IZqjA=","dJL8lKqLy2LutoIyGIjsgk8nY0X1bI1RCK4qbtH/ppk=","L0L5IncotfIEe3o7517r806WJsNsy2Vs6KIWiCa/Kjg=","PaRFwi7WgpYIH9aG6xso57FO+Cg9iTKPuKBpToXNGwc=","uMWYNcmagi5Lif0zYUNAR56upe+GtuDO3ibmiVVOu0U=","R2Bk3iH59suJqxc1CXGCAwWCHZEjh/bYia0lDDGI0hM=","h1NFEV1KerOLgxO6Tc689zKCBHbYHeIL8hMYy8IlvYo=","tp3IuTY0UvHjRn4ndqp/iYmPeVTydZqt+1W3Dl8IMp0=","ZhLPKIRmXyf7RqMrcqD6AJIhs5iTGrVNdZM/XuHkaNc=","zrawOJavwVtFNb9HMHsy2CV8bcd5nKkkGZk/Cs0xtv0=","h/xmmj/E/ePkoIiHlmetdfWtzUf8auZ2Ktee3EEW5cs=","M8pXVHV/IUOwjLmdz3+RxZqLQfj//Hb7z9pXrA6wx1g=","dmQiBpWHPnvtDM5Critx3BlJ/XsyZ5mO/+qlNNdZt9A=","mGBabOVSl4uNjcs4f32WF7mbr1rpKnHztkhMfQ/Q3Es=","T8KWnVgycF0DJGJ7uB/hU1JaJ31tXKRvUZWEWMtNWjY=","1vh15HVuNQRr+JidKT+cH+cnFIjY6842V+d+EceMCUs=","Bj2rJ/dRwbvtpiM4FebsDLP6EE0DCNHtC/3TP+IyaJw=","/Bvj43q/7ITUa87xN3bkENm3mkqGeVoMguog49C+I2s=","m0jrXUH4cVMrDpPXo89lqq9R2/+XGgMNu6GvhSDR0MM=","CzAv6rgQcHkrLJyCNA9GpBQBoSvDQl4k6kq3lUzrD+M=","IVy0k2rbkLYwnASFMCXJcZuf6OI4tEAw+HK32MtwEBQ=","RU7CwR1OzxpOH07vqoZpBbeD7eM3NEj7UNZRIjm/5Dg=","pDIiBNyFuAcQ9VyrDX9AaNyGwE2zDrZ4qPkMIJDB328=","+vYm+L13T7Bkp2UwJjMvWvp9a/h6UHs8yvPey3NH5yE=","jQ0ohozefxk8H5k8AqF6Ic05l3qevgjBtu22VvDQ7Jo=","Ib2hsdvIUR81AWSFehyR9ZHMvIe2dwoDrz4oAB/PCYI=","I5e7lDLGBz4NlyEmA7wDJ16TGMwJqXUCAu7mWbyzkko=","IAahRjepY0FtKS5WkmSRGTgYguztMe0K6hVefx4KJPs=","UxcGJX0am1qFCSn7JnaWjaL7O4FmlAklV1Iam0+gdI0=","WBVH6WD/Bhi9K0902MG8MMILYhP/zSmMCyx9oL1k3nQ=","roh3h1ICCiknaUuUZ5wDvw2uTfXPCsWZvr9ZlpBnBHI=","3Oq3MY28npujfa05+C9m4rzL38VoeZdm9kETyfK5AJw=","cH5fIZqlvsBWRCacimAM+LhIiIoGCRqNCse7AGsoB4I=","63JKDTiT9SnloO6dIjykjT1A+4gg7GPyBkBI7/btLL8=","Y5KEZ9Qcfw1c22wv/u1llPn/FeppCIkILLV+MQham7Y=","IhyjyyB/ExeuUlMSOTbL6obw+xOachPmA6qLp8Wmv4A=","W0ih0/DMRDZWUNt1J4sc7+lwM7wUL2shKDb2RAfS+3g=","TJ9LH7g1bsoMSEdV6W99wBePhWQCmZVTggmaI6cCv9E=","OblARF164mDwE73A/uP16G+7ETWGwuTkTngoI9Qz4cI=","xNWYIDLAo6uC0bP+290Rt+VG6sP8RZpuW5TXmP3THig=","kNO2eL2DMHyIWC6LAWeAXNDgY9Q82QAJIBWivRzy7IM=","IRsgJXwup9GGnJijrEuLv58wrlXb55OwsNO/8FPimRg=","VVj6Yj9BwH/EAZfOOeoW1eZWbPSbQYfqvaBc/SrYjZ8=","534eYa9fLv9/L3h3ZHV18GTeanTxm+RQyDe0uXg6UXE=","4Lq9ukK4dKkl44tUdx2AJpAEcEe8RADCAnkA4tXQXpk=","oVGjqEHqE1Os0ynm0Q4uz976FghaDDUPWp27Ak2DUi4=","/2bBhI8YV+0IRcUNl+Xhw5bKzHWhZQKqHm35mdvd0Nc=","GMypeMQd20WJwrINl7ra/WJRBPsaJv9tDwZotFet1lY=","TjGTQRIZhwZwDIxVfjl+fawYDHgmfLOanLm3QK7H68w=","vfJFvRzqMuHlWieHyVQd+WulOuvgjIiiNx90smKKBPs=","XeFCDkhLa44/e40fEl1U5kbp/6NHsPfr2FVoFU7VQi4=","62tPKeROr27E73Q108Obvy/XLrw2b3LRTY3fjHJF8kA=","GXHUGgnr2SSqTIbaRgOLVxyxbkQ7Cfecnd9WZyc5e3U=","PzNXVBxcgfp9PLYlRwctHYFJd81dWat4+AG4yCWYt/o=","uCP1wqdiZ9cBtEOfjN2aociuA7tdQSHS8DY8BJl/VwE=","d9LdKE17BJnIarsRCUaVVUSEaPaSPf68Y4mxprduhA8=","hAbnk++TTPxllHYe9yhFulCMqb0vu0Z2w1JlfPkQ3PI=","a7jlGl7zA62TFJX3xYVczJ4UVaKYr49onnm+DrkyhBg=","02c/13+i2ubb8WW1cV/kRKfM8zV9OguDsABceVu0jIE=","ZgN9NizPJ2uwDH7ouLdKdeiBJ6El2Qj21nA+E33mtEQ=","piwi8IwgLTwtS02GKCrCwZhjZczqiFDok6qxia4Y8o8=","yMPeGb3pW+O8Oz3irGZgQrdcNSWORoI8CUd3mztjmYo=","WSjUbhtr24yDlcNhfJYtsLzjcXzUGHyzhIYyuFDgdrA=","4sRPAOIb9QJWk2pp9nSwP3j5/7d1NToxNdfrrre7ED4=","hd0UUGK5v2xBgdno22IV+XTp5u8y39qxBhzcEyF7jFI=","vDIJFNyg6M4N8IoXe+WBBK597DwJYJjjh/c02tbYCP4=","LYD+9H5xNUtD+NLMGKQtox3Fl7Qac7KOQwaAokzIWLw=","9xFry3jsNrZZo+NEiTIOMSrl+voOxwK2vsxWlZXjlVc=","LXh4gqbstc8Lwe/qG/Pee9bPvw01+slyeFlG1mlL0V0=","vWI+Mo6U8uNQsraukVvYR5ZPNvMITNhsBtncz3BVbvQ=","qs0tNOTcp8hMizkuWA+Cu9meKWLPNL17hBB3CMRW3E8=","xY/tOIDXkXlD2HYWgdhwxeXqhyCrxIEHzBeVGwJbouk=","wNmbK31teH+DBoivCAOJJUXSKtLCco9O7+XSB4ybdLA=","iE9o/I7Ma1eLm+OCGNWz96TqZm1MjK5GXYoz9i93uYQ=","VL5tCQKrAefNaYFskgkyL9LPv6UHb/4kxRMMEQd0D5M=","Lkg1pCTw47NpElK+YqLCBSSZ8gxwqHMQyEDGDW7n91Q=","YnORbfWebdjiOoy7SpNQMpc5dFAU0hjbJu/Eifc4rAU=","3d4ayYnBtBpRKS4NR8zEGT9vaUXdjH4OPjj5dDOjHuU=","5zUgiONTqUygUTtdWoul6KhiGo7NqcOjDxVSmL7jzOM=","ew34pdZD6Y6A+v3/ulFo+F6WMNNmN0HYxWHZvFbGHdI=","hUv1xif+HwLYl74c/3KqhRLvYvXX9HkwFeBdALgxobk=","lBmsP6HS0V6y87nRqzEa7FTZf8h2wLHJRAaRAhPauPI=","zUk0rJKaZ9KIuWHLbE8I21AyIMAI+dtV+g3ozuAqe+s=","0tuhLrgmV383f27kWpdOSCwOhybRu9far1mTZDZG4AM=","h6Lev2n4BStl55Jja8zsGqc3Ef+7WTEDOC9T87qhMAM=","zo0GAlGaDCM7Kz/3gobaGObq2hc2Jm0CzVLbSL/oEGc=","7LrP6znQwu2+CNmKtMXJd4Z4SvpMkfvz5qf0goO64aI=","Vpb8zlWeeBwcDhfwSYp04b9TDCmRYxPH+FYTFn97BM8=","Q1RaWoKIw6NKjooV2s5M4yQFH7hUeymuMpcaWw/k9Lo=","izXGnzW0c4nY89eIq+WtDFZrVYVVYAy1ADHoH4oQcQg=","bBTPhSUPVJ33HKZW90yHAPcQZDug6fJmltN1Tc36EJM=","32YQabVn5P8y+k8phQWfCRQP7p8824Alw+YClrrUBd8=","ZthpcosMOCP+/x8Mk6n4JA7fvolUWW8UiMJHJxRRn30=","n33mzJVyN9jSgdKIZ9nQDp1RjnysJ/lz+DT08CS2GQw=","mJMtXVW5ugg0H56jmwVew3YUn1lMqmogznxmhp0cN04=","c0iPd9b5N+cnFe9UDDzpZRT1VhRrWtc21gCT8z4sM9E=","e8AyhrSvStyFSzfSVMsvBf2FRt/GSOpSFD/Io+Zwgd4=","THqKL2v/OYtYReCxiZgAkJpJQuhb1psiSaLXW+lzdjo=","4AHkC932Jvj6HUjQ5p/BVwZNYkYA1hrNTXtUvrQdrkU=","L8SshWUYcZnouqYKgz3tS96j48cATq23kmn/4bbkkCw=","NxzVdsI13H8BnxD49sQKuesiGOzTFGb1nhKuamjBUJo=","jgHchE/VmEVHnTECcVjXhFagjWOBcjc6xUugfXwlMe4=","CPJyyUpQx4Ga3ld22Qv1N9clToER1JqJWbnSQtysc5A=","Mre7L5MYdNxQbGZA6G6KBujITAce/bI3jlDECkuW+5g=","qwA/bMjRWNinij5vdkj6jQorIqfYnrZYCocZ4hcP8xY=","PQ0Yn7dpeQlkK3U9SrXQ+OVSFVNR2ZOWzr0XUFGv5c0=","zkkF/0ZMpQhSu0LYmdBIldaSpds9C1spCiZEQTF9B6E=","eNAyVnzillvRe28C3cZrilq1ldiUz+SzAYp1kDdk6R8=","HqvpvyB/uaKjRfce3wyqzlrE0eOmJuugKlAR4NaJdpw=","SivrQTkEIO/qfmj7WjzistXywlcCOcTMRAcsJzoL/RI=","Xhny4k5xNAgdHWhC/49IwRSh5hyvszJtasiu5bSld0o=","1yeeVOhq7Wjgg3ag7VLPnP6gqKdQSGZvCgHfEgFgk4U=","zZNK1A8mYpSRo4UskCK5XYPHxJzzqb7jKLmeLDLWOEA=","7VZX8fJB2oTnq17mG759FcsuR3HveBrMpl/tDnd3YyU=","IrYdwfqZoo1PVA7rQ+nLzExxsra4UD2xTUQ1I4P3CRM=","eLkG+oj36A61cf0JLlf4FxjiSDCWFNxWs+W07YYHCjw=","m43pq9NhabQ+YUXGJptFxmkWQNUkDbgaKl+NlV7atfI=","W7PURAt7gZX2mHPWaIMKVE+wIhKT94CQdpmtsZPbyrc=","vpOas8mAJVH42iu8x4N1PuyzK6uAZsdh/9+9jLRBlHQ=","Dt5ZStME/qxOQXiawAOK3x+N+Uqtywhqr8oXOBYhnV8=","UCf3Tj6OCEPiLton1+5V+FhoA80WZYYkDI+e7jwqf4U=","8M+yMF0S7ZO8wHzQe9THiEtV4t7ZFat4e/BHdkSQKjg=","zEnrhBx8rU24YbpO/j0C6dfQSp1ZDeYNjxD9BePWWq0=","fh9FIiEd38EP543z2X/FTqp5AekWOaJfPoKx9PxjQOI=","Gud+ipRf+F8uGiSTH5Adu4PyRqlntPB6IHf5GGaykig=","qx+juzI9Bpl/Y7VJSiw/ieMb/FouIp+1Gv4HLwVRJIQ=","we/z00ivuZTYWgEFmzi+gq/jYHbL9ZhZ4Y8Ht8kVIhY=","nKAYnfCU0UD4r67UVO8zqRwJyBoEMZTjnfAJTG+fsOU=","6ijWLE+QvMyTjAGH1Ss85q8XYOVomo9vZlQUQHqEO1k=","AYPHLssYOQB/WIJHVAEpf9BbfrcAH5pIXOj/4rnWOVM=","aYMEEwaFniYvJZRL3+ZFyLofYH3xvJIBGBv/qgqyq88=","OdwKFM1osKBmkYVbm228SlVnAzaPbLVfVtmPfQvEcQs=","VnQsG6MoH0lCLzusccukz5zxqyNypr+gw4Amy3Sza4Y=","2lwPXWd+RC/Qn/G1BTtIRLka5Ys49JSXnnUgwb70H6U=","IHk8AIC/alPahYMAlGGVPu0rOaYZ7zBHo+ZPD5FM6Ig=","gMAhQ8m4cDRnLS5r8lmrMHoXhoWf373PDbICmcFfkqA=","4sOC8KYp9s/hKnv0RnC3MSmEERrEeRvvixyc+QuPi+E=","bOFR1sNI8plhax2r94dGEDjOFc5JZ8j7sJhiAYenzJw=","wPW64GHZ2GxUUBdM3hq7EC9grNlCsgFrv36as0Qq1fw=","v3487jBlkCIM1TV1efVtkLCfRrKCikqQZ9vee8/fg1U=","8bv3e4YdDv0WuEogO0PgIa+ulF/0T4QIfd5TZY9BeBw=","2rPZmdKD/K5VIsYIJABCvb7QKYzZw4QFB1NzAD2kDb4=","NH6vKrq47K/9q7Y2rVGc3kQhzCxEyQ/2/N6KTBqxh6c=","3XddJTQrQQibUROzUhDTaJAYFX4CA/T2kQXb9+W7KXM=","wKTVdxJrdWDFkc5xdFZ7UaO1rUqKVgiEfuC5yKHvAXw=","opmEcZOukso0tf9YRqpPshoKBxDwIaZsfPJR3sxiSVs=","rTcJGMer1QXE5b5AX9LkDf4SvnSBeD29L0wjMj8Hetw=","V4okFJE9sYoviU7yurGV967Gl+1eg9QfUIyfp0wRvWA=","BrPmpf5iPswHlssN39bAZ4e2xXpzQWt058yfktiFI2g=","ImWVBEmFqVlZ8PN5yQWRuVSGP2M30UPILcFz/i2F41Q=","uGDTUczhjXsg1g9B8dzEi4K7GaIZdWC9koRcNOJjSlE=","lR2kWFE/E9t5zbiEGaqY2SSKiD9X3FPY1yQE7d6jLkE=","/fb4cI/aC3JIxpcJwOdYkgkHFVk6XAH4DVRJDXQZ2M0=","vmG8rd6LvWzq7peOQ1+a1gYKsccP7ojbU6zimOSpuBo=","XzgiIw8q9hsYwQPNN6zwx2bcJYxSJHLdlY9G630cl80=","/+xIJq/bm2AWcAz/FpI8EdxyE20IHzkF0e6RMsW8BQQ=","p6Q1i4phSCr5ChNPewGu7djeGm5bcPK2aJRJdRNtRlY=","z485I8KscUAWEt+ScU2feHmZ95/bAzCORBSTlcGKL58=","E0GcCTJC5jcO8ROQAXwkTQv+8CPMH5YbSq74mA+JqI8=","dfZOP9td3oWbVf33utkx4a4PQJen0nus675xktVMd3k=","sWf1sW8LTDmWadErta7NATtuWVjRzDnBKP3ssYp4eA0=","CDaME8ewRa4zOkrSZ01C6XeDQcrkfERvBFii5R4iISg=","nL06uBpx0iz1KhR4HxrkuwTj8uRGjrRvZZQgbShELHU=","Gh6H9+Dk1N5uwSdHbK8H2ODmnJVtE2cQuAcopt3sz/M=","4YKThq1alsLad7d/OhfGoxeDCuPwrn2yA5l0V/XVVeQ=","pWlSVfnZ3Yof2wTSnMobUjBUI+NOxL6OacPxPUi+wkY=","ScH9QSxVVg/72eLmx7pQ2PhHbOXZYOe1MQH3GPe2ohw=","2OOhmqnIoX0S1x1v5PmE6xS2tQd6139dcYNIS/gfAoc=","vLdy/SlFviF46QPTIXbYhH8o82GdqiD7yMSmmgfGi2Q=","Gd+WNAzZgzyXY5sKZu0T19KVkJrwKVf7XU9IrW89V70=","KPte94kkrb27MnFi5Jg5LYZdOyk9mIYGzxzPFb8hU60=","FamN64Hm0l/XsPKCF0y/FZxibqnkrqmWVsmEtkY+G+o=","HKYxklxjiFMSXdEq0CJcGC00H7704lYh3YWbhgtkWCo=","QN/QuTBzCv56ekjqvimouW7kVetU1I3nzWHVvX4QEdo=","QwVysMqRSaTRUzky7VCD4oLdLPeFXxtMyaKZHe5TTy4=","cjx8LSoqghvxhghSPwiZrNWwR3Nm5eDKIEcctnxA4ko=","zGlQ82E1WB0UhKd8OoOx1AdOVDqR2tJySMW3edMP3Kw=","wrap7pyBotp0SzLQC8PHt1WZr+c4eOM1wtnaKdUkK0U=","ymoq6DZXVBHeCB6fIaKgZg922u/HYAZ9GHDPLppmTIc=","b8o+CdY43irZ9wJsHRiF+NEV7zp1HaU8IBm8rBLdaJU=","2U0OT4Qsh3alKK2PdEeh5qtK327CdcT4zJIbwILcBhs=","+FdGnJsKDONlO2ghPndhP/loowcHrxA7wAeC6Dmnwwg=","s2Xr0Lv4AVxVI4tL9/wyi9AntNbltlm1NdfZb1sZ6mM=","R0/++6d7QWkVQukhJ4GPfCS2OaPwSQKWB7jNHdOeLgw=","YsVUIYeC/FEpy7GNUPKgYoZhpzfiSrdO2qLRFW4XPHQ=","nMafCcpiZTYSfaB8DAOzbf7IT3JkFou8aNXAnIED6YY=","FMFmmoUgR+FDDCn1cMBf5Bp6ms+/GpmBYwCNQdhH1SE=","waPuN0/eRIwLtzMKSzpKFjHBHOXpoSIGOUMtJ9wvGHY=","xVcew8VNcPQBKtom8/xZdKjtQxVtHcwJwRgrnS0SZWI=","yH9IOKqq+4cS5SLfyjVcO8Lo+jfgDeSm3pqS6z50SGs=","VB97OmENncQ2aj66lsyIgBk23JX6HK2W8RIPhwARDAU=","V1iQkjd7g9RcjjEPQtaCzEG5AbcQK7u65O2g6R1/i5M=","4mtWw0lTWMQI4kf6mJuxqOIuAtpNsuZ/86OpeOsrqf8=","BIe2RmV46x63xEjWjGZG82hC3NoCvYOPxUCrxwmbZrw=","6k8LFMSvDAF+MRniUkOKXijtTUITzx31V7oS90CekxA=","KlsTTqCaZPmoFndAkQsXr2nCZt6GgjHzEFinENtl/TQ=","Ux1Co82zXVLutXb0dHg5sZa8KvqzyCuINeKD9kZ8780=","zHm7RrU0eN0/iRwiVDd5gLWbRcgoAbkBBarHr6kvByU=","c3Oc1SzTIlLZAhQ7QxPqdPL3DA3cA2Dzs1XP9rKSB+Y=","NU3s7VI0oqbBq3j4n5zCNAuMhaJ55/WOzkJmXTLuHSI=","5jhHgCIqWM3Ppi0z1YerI/tRQjUwhTeThQpcTV+md7I=","apvzEL+1kewFQGhSLOz43ls2NrSfVeXpFKMuF/91SII=","pTQM4Zr2KVEDyxzNrzh9jwljn2SMwJ10ap5N7dS+Rgw=","Q/XhNfHv+kMA8rlaol7rtb3vrnWBatqeX0SeI5D4WIU=","sWCa1irsD2eSHHXU40mHdvhaJhRknBlGZrswmeLe8wU=","oRPgx6WcqbB1F1hjot+cv7gVFHqyiEirJa8ZuYX6ehA=","qcBa8LPk9Y0CjPHJGgRTjfY3OLaM5lWX/E3J6VkM+/E=","n5bm7UmhrIlorMh6AEUBAzb0mjvVIxMAPm9CE3KXLdE=","ulYGarsQlWZS+UQA7EA/EFbj5dsFNwFoovQ0kkA1AcM=","Mg+PrZLy4BtC9zzOfiDAS8Nf/h6XoD0rXDTvjPoB7wo=","Kpfyn9IFCBZ7rmd2WHrc6F1tdbEoy9+RFF4RDF1tKrQ=","Ty4BOLebeqpquWYmmlIgOJox9faF36wr8TzxsqthQHA=","6tC/ZBGhIkxshOo3+Os8piXB0oIIcVZFoWe2KSQLMbQ=","9PHpI/G5flRGjx7fT9y2HyFyk6ypJbpmnsHPDtRItWM=","iy9DoT7zUO3mcW6k55qKu7Q1Gb7UIocSEoO8Wi1wjN8=","YwtzYiNhBS278jz7sWNPfQcaq/7Ue7XX1TAcVr05n6I=","/qjzsyhWxlFkoCiD3SH7ZimBgC3s3QuioQZZ/kvOycQ=","cHCe7qbABlUTAOqYfX/XzU2ZRM5uzpNtDFu8qddHs0I=","O9MKH7fHKVsc0oTSyKOxi1FOKemfGlcNmfWZFH+zoRE=","f26xZjO9Ih3spdN/sZy/FZYz6Yv0+coCobsEtSdWIw8=","uIPxiPRhtgslY0RBsp3xUB6GVlSuxTFehd7t9ebUdjo=","BDTpRm/y3Wuxcbp91NSBf1eK7JGao+uvaN5xZizutTU=","mo6Siy1yDy8SI84nFMKwwuZMze4Kp8aaZp/F6kHsGvM=","jfBtWXx3rdXGLS+CYq8YtsANZgpy5xJ26KWYmKBMG74=","C8xbfzp0uyB3/73aGVq2mF0w6Sn38okqGr/L5KqDmeQ=","LoLFOEzhq3Vz8RbB0Sg+j7ExKzRX6dynJW+ak5EuZpo=","Y8jvIagOlwOVUG7QHKPm7oqDMXRC2EJGJvCA9QLD7tU=","5nq2LbKwX5CdWby0Nq12rOhYDAP445iQxSb8QG98wdE=","qTNKrwgC84bEjwBiGoIfJGC9xcLApN4SVAmKJo7Lj7A=","3OTZz2djkR2w1yWWGqIJAehjQp5MydU5KO6t5X0L0TU=","0LQDdBkdpS9SHFqnr+Wpeq5IF40WZzgn3wXe8iWf+O0=","aaV2fbv0AVALtiU7kHhWPCI4nKdYRevzCtjzFZybBvo=","kVMv5mrg8DEbW/Pq3lfO2+arphCujcRlXSvS+tsyKB8=","H9VslsLfTD8ANJWljBrpQMMFrEc64Iqsf52DM8BzdGA=","JqYwbBTJMvv1nfAj6yVbWrchMe+74BdVHEuR2KDAW2w=","mNa0xA942ffYYqtpU1v2n9NKjhrpmHU+KCkuIAj2A7Q=","OT5uyccKL/9i4QMGL9oOVvN8xcKZ2KiSUPvkCP/TDnI=","7nEbrZ5r6YpwXljHTxXCg5RQN41wUyMCHWppO3nbKOE=","W9jX5uuFyyjSPsRIkQWlKIyauZxfduR9/A8HCnCcb44=","ZHXEoe8nPC74+CKTE8WK6Zt5Nh0HXynyhXTOtwM7elM=","dat5mBIqNrSMZLC7OrsOvs/I+3kwfF6UI3PyuMh8tEU=","XuTV0xOfiJREmoO/d4KbdhFoHSkdEvIYmDg2WzkR/Hg=","tVtamGFTPpH7Srm4HnqZrsCy+gvmahFYPp+sssyPNZI=","XqKfBKrzNbFi2dGvBQHm7L9u4d5ZUBXc+mUA8i/S3TI=","cJ38pJszAymH1lLOSYaYgIADrV5tTOdOH9XCWoMn7Sk=","q7t29wp+czHdSp7szEIMa6jGal2cMGbDLrPcUMkJUgI=","xWlqYOA6/ZJmpXN4ahAlkej1TrFkGqBGNBCIwKwnXJ8=","/JwnmaccdgA+fQ0TyN7Qjbg3J8Sqn3C4cFch7ttGgAU=","n1FP5e2yYtWIGoQqg/rcHT7/gQuWDG4uCZspjL0EDmU=","p09sIUqLgWBVIONJoFuw0xatWfZlxI0Z2aSDALy5sS4=","9S/Ugf+LsAtRpskGUg4AxAy5/p5CmSe/tvbRm+TyDcE=","MjeQ4d/6F3u1d1UIfk5u7M0jD6rWq8ueH5Z0lHCd0Ao=","jiLoLCK9LVU0AKsBdf3FvwJDj/OYfMoi/qJsw4Ay77w=","q/ZCdhDDVhWbXtp6rQD73BsW/uTtHJ6DWgagUnz1nxM=","1B3YKqZrFr5NKKV8JTF/RE1mxFlp+MRK1Ey5YpGPK2E=","9cAMVgEbcstDbU649+1aeDhFn2TX0/v2fP4Hu4efOL8=","/L7eLIe7koeBJcZfwfQfH3QA3guksuefZukVb5VoCos="],"block_size":4096,"path":"assets/NanumBarunGothic.ttf"},{"block_hashes":["PWHznP6r509jxlX4UIvUPHVv6xbMb4frxagzt+YYdTo=","ObAL3ewkFKI4H2Lu+VY9yG/C2AaV79gWLOomI0M5qEk=","Xgdeo/w9GHrHydC4uX9veD45HL3GE3RvUyfonrN7GA8=","UNBw6gvbR6Ol5AouuLIM/KaR7L58F6y90uRMJ0sEQvg=","R+QFtFRAvtR5mCieqrs7VfQx6+sx9sWzD8itWJjVKr8=","AZrU6H6os/xJtfuUyBG/6J8C+ZG9yFlH01+ZqKOLIsg=","Zx9ytNEQc2aAR/XY8Od3awTeiv5gQcM4xu5xAQGabV4=","o4qe6ZkfF+afT4eKG9NAGHMeMbt+BsbABEcNFMSw2O8=","u0brOD1sjPZTlNnv9l17/Wn0/mqCm7/TVx6M2PqUZsk=","XGxuEtn2L8/xmvegsQfsiazEzYrPWmTG67CPCtQQjSI=","QUsj2g+oT0flral/ADp4GgI6v+adf4TGJve05tcgqZ4=","0eE2fBNB+aOgpOv0fJIy3cRDzLeee8yNm87epGtqMz0=","B+HVeX2ijX7GjpujRVo2SBRN9nxgjriIzs01CCo6qSA=","a2J3ZKIIVK6HW4ZG77AmrCI78aD7SYVZvCQk9619b/8=","ZlO5r62dGWy5ZwIes0WcohxtXsnruMwSOScsVV6LBTQ=","Dqh5p8uakTn21yI1UuJVYlRinCcFrInB5DX2vF6dw8Q=","usCqztDOMmsVjHMOCymkHYojj4HmjLLIQOwYLGojEzc=","Yi608mN1fPatWMFxJuh/DG294t4NVTzyPKwhu2pcr/o=","Pj+Ind8+s/FBsIRQQvjzF3INbmOJujrozfATo6qFc8k=","FNSsC3KG92djGv1X0gXS2TBM3lW32J/G54Gfem5znHk=","vM/3LM/TO5EQd/AlPx54iiBLhEne1HmTCk46McIMTpI=","pN39EgIgZsUuhBHlFKwOJMt4Im10RYZBRNj1ltdbYTU=","aeGGeZQN9OUTGt35NO6EIUUq66r0eNofUasN3xevAyI=","YM39QntAM1j6YRmN0HP3GDHFEvytO+ZP7UxuiM8Qpfs=","NK2EqOnN8TN91k0OcOZQkl/3Fa4vel1Erbv+c4VQUPg=","5S9QFDX4TFacEVtETFu1N+mc+1BOcAc5vY53pwvZzGM=","88hlKYmRcUuwjBMKXep6HxdMshA7cwjpF1/jxiiFG/8=","x5+ztUle2VpFnNVLPjY+bbfcGowdNOd2nNd2H+7Uxrw=","mfaLjayy5dHvObSuZxR9TG7ZvmiyBPN/r2isKa2eHZY=","a2MaKPZeCxWpnBLRhLayAiOlWe6peEaLf5d46WTog28=","rX+sslhvxulmwATX0dFrAk9YBf98tHx6hdq9i0iJLKc=","2/crsoq51HThf/2PKlEHfFzY/D2EVzVEpkLfdr1bxfU=","Wc8CUfQGalf6oC6gv6xjsas6QEREx3anF3jLOwz/RsQ=","vnsHerkCOnVhloBgbZrjtat53kdbPg8hluFv9wPjny4=","6bpWrJpw4J6k2AaEq2Ooys61xoIBelH1Mbiz0jq5C84=","EIcgOQ0OOv8xXzSo/HlNsNzHlPrvrZBDn4DuC6k307Q=","0KPuW4VGgdmbUjvcN0MH6PmvOCAeS7GVvDmMsOmA8s8=","RBn1dalaIpFO9hWdMuLukf3E1QuFPX8/FiUWYkQ4YN0=","YfM4nu46N0E1i/5ocPks1c0ijldygtP+UuDHAz9r7Ss=","E9ruxhW4hAQAx242ryN+6rcRbNbab2PL8WTHlFMmqqQ=","G3eSokuUcsZ7D1/7Abac8YspHT5VOlfOVnXc4fAQEEM=","XvIa2kkDxWg+78enCvIXgbvRE4cUYy82sMJ0/MoiXY0=","ym3k//254c53eQd1UDwZj2uZBi0jdf6pt8bc2yk6foI=","D7B1KDa+S9Qa+qRmihQ1X1FLYIVQGnPPKtmwwoX9S0s=","zfMlvYTPgosU4SKZ8ldvXKTRXK4t2AQgMtFIep+5OjA=","MsgJg8Iwtq6PSsz09uenqA9a3rWJIVFH4wfNT4tb+Ug=","kGbyoCd34QmHXT9acu4JTJ/lZvSFNQetpAPl4D0HAbQ=","4uQiwTliREe98FInw+vPg58WjQMHFrbt2dxum932ECA=","Nj2BltSpGrH6r1i/iVk5QbeAjCyPr1XzX+xHpOkdFJ0=","gNwGKnAYzRbv2wpJ0RATGuqO63C/q6veFmUbzG47Ss8=","mzgph1qk3jCIpDV+d/1O0UqeD3QnlLRVNl2nPR/1SQg=","jmezpM6gr5FAMRLW77YeTUIbng0UyRS/+rAmyTxJjaI=","x1TTjzIaXqYd1kpKUCs2cga0jgu9jLW4ZvwAp+9KsrQ=","YCaeHAw3a6hHGMblCzHXWINmDB7hN/T+ya55QF/OnVk=","yJVJop/TFOlNu6EPcpSUH8OwRKlmmAu9mFZ7sgIfPNQ=","jgVyyPPgdFagnvzbgLb3bTFAkC+btzM3veI8rZGF+p0=","Re9w6KZxJ6dYCQRZSGYNHLcxptjq4TH35q1GjKr0Ct8=","5kTM1ujNgAlW3wdD5cSE2IAP/sPptYKcE11n0ZyzbcI=","qu0Gw4A1h+5k//ahWsUYvFGBKXa5L/kDt+78jmaOP6E=","BJ4KhhXA25BxIzNDoAiMV+XZpLQv3QRglFp2yh+O0tY=","unKbS9SS/RRvM7kmKolkVUHr61KNFIcFnD7C893Do9g=","njCFuI4mf089EtRTjc/Gr7D10OALnfxv55w8CkyM6yo=","Lwkp6XqYbJBrBiZGgAdSOFqQtwhmWZtiRyZcnCHjVfg=","81M2yy90tpeug2aHpGuiC+xyBD8jV2Scmawa4C98Gss=","RJYQdUnRoYf+Wi76Twkr/FC30OAERw5326SeuOjocyY=","CkIKHK0KcnTnn+l8ca14lC5QSrvn9ZAet/5z7d7b4ng=","NAL/N7OB+u9YSVTyOY53GJC1ro95xcYPuKHoZo/i680=","FXb55A72YXq2yG0IVkAKak13rKxrIjTE5BQBwWxbA4g=","4NlmihKqckL5tmR/tGUBCArn6N6bO3pqbpsvi7ySWfM=","6PQ+ozy7Yvrtmr/8YgnjMyvx02X4ShfzkGWN/V5oUcY=","VbWW1iPwW7eNB3h3QjhSZrQBZj66e8DDUDrvwCLy1oc=","VkMI/6ln+JB/GuGXG+tBjMyGSIOBeW17aLudxGl6a98=","d0aDzmkqs4rgIIvC+3VYHW0zIMHiuearydbStHXHpmU=","/yE8UHVG/fu3KjSoaStuYquBkmb7SHxQFJQi2f6VD/c=","q/HuW2Qlm8/i/mulkr/VKIDL2v/pg3Qx/tzRvMKhGPg=","hjdzNlOvwUXgjldkX6+ytlRqTPQ98IOETB4RwdV8fhY=","VFBk5pvHjNPzX3anTD9h5cXvgmTLbJip+pypH5Hqnsw=","2TundPDwwe+SYEt7QbfIzbzQDKAxIQuPFscvQ2dKGFU=","9UDpcQDUzV9DrUleU42lJK4XTHvRG0TY3w+VtY2QJbs=","JAF5NHxsbeN36NdKNIgFFRzPHvgwXKNNDpACkM2lmJw=","TFA3B5jetrOdhTdw0hNVU9iYYg5JBZM+YgdNPpKRUMU=","aBVne/Tc6NjwIuVZo0idQ4nS1/cdIIJvwWNU6EgpJlw=","OOCnrIHMuT0HY+/+fwHGTIw1820OrSNE2vPnki+t2nM=","1WpOkZlP/XSA32glxNAe/hfYjpsQERXKYZjF7pMQB8c=","Y2os3z0wHENJq1tfv4wsEKoE5PSXgLeAbfQH7RB6Yhc=","xVibvuxcQeuv8K9hb5oCVla1akmiXItkZYgVfXIfx1E=","JnwTO76stFY82JcwdtoWKCWV00+KKol0LRKKSVTI+qk=","F75UmLeb9PYONw9fhATWOjWAOPw6nAOCXIKXljK//3o=","t6MRw3x33mG5Bi9/hnpT6ejV1AbhCVRFD0OTrmrbitQ=","HQcoi41+8zagqi06qX0n6BWxnBM2Uk91vjI34T4G4o0=","pf8EEd26q/yMsq35/iSrt4f+6j+VEkgAv6b5DZRqBAE=","xplJmCZn16Wa/AFF6AlxuOcO3POVYSqEb5LXPX4SnAg=","rvASqwcIdBxNKaPUmXdJXwx6i63E/Lrj3WpI+AL5eRc=","4Ms52h0UCDze4NeGp3uo70Mamyf/azhgSbYkWdtuEjs=","RSp5WVUC2Ss+fwLa73LZ7JQAazxTcDTBYdHacatWWU8=","f6PrACJfhBume69h/kChc/jhnIxCSQkoYpJ/IehIJPo=","M8ESviIH8hYVY6nZyNXeJgCG6p/xXKygSXJGSWjRiUA=","uXBxtCCwzMSErCo+YSwXEDb+Wzfk+9MZIHO8waxtW7o=","sbDezgn3IKAupkqrUU5IlCFbBBC9OYSoAVZ4cnOxZ6s=","qzUxcWVUUd9nD8pus1DhazNwFzXN0w/JyEutoRsyPBw=","umB93OOxOO1jjawCM19H18XxZSQ/l4U0KvKMRcEHFv4=","VKh9ORN11MJ1ghkauZoAtktFLAqLd4qL3HwVVP/ffC4=","04I0IUa92/LHyIkK+OoeLrlg5CWv4FJz40h6QiDsSe4=","RrbL0+7gZfo/hw66nOM5CmpZv1b7/nolUlndUk3Bh2g=","Rnh6uX5radFyxQ/gFyAvqnQEO9H98BBun6xqT9rHH+s=","TjHflLLWu0HDA2aglagEVTyMgzS2sTHMPfWcNt9htIw=","cvYhREDF3Yk+AYK8V9mA23QuSdqi9MmWRQXgDrcAiL8=","Ku94DVnYtEqCRV8/8Za3OXcrgKelYyC2VDaISdj6LPM=","ht6ifYohqPueeCg1L+DX3MWLYofgC5PaT6GCrnVa4rM=","kjAB5GdzLYFbtwdl2vS6Mkp7vgzB5RKjDrRByZbSuMs=","S/2OjWjcJOvWUyeF7JzxoQhNw/0fbS41K1WaopAvl0M=","Jf7ZxnTjRtOIatJvXmcjlZZYyUCZYvso7CNLogevWDo=","MEjHgvz51hfWW4tQOjkENybBLKPM5//cYerne7zft/o=","3iZUBD9cbQMElu87ACMqA4HdgHFVjbpPp+85RXJz7tE=","DGeMU8tJj/8YQ9Ud/FkQnXRF9zB1CDQ12+Zj6Ks7+dE=","AoO9J3S5J4TVh/UkPBZD8ZGnH3+xGY6WevUWWBIUtcg=","qKZRDffGrwmBQcfrwjgsxapcJ60pWShqO43Up0/DNPc=","eDVaXd2VVc2OiUfzUMO95rb5De/5irT2rwDThYdmkH8=","vuf5Nl/mz+Bm2MLTs50ytsDTqJ8BDR55kXpBU/eepBc=","TYdrZcKt1haogYs90xLbio0hkaiu+RTDBjWXkjRKT/k=","BaGHvw2l58cdqnIHVIdNHbVok9+/y0R2vo1ITdnM7WQ=","/LMLZOWY4Xna4A8fIlhHlAZS/i9wpvzCYkJbzkUdXtY=","fZNGrco+hpEqamGuZVdP0Yk5H1QaFxDI5E6LeAWoWCM=","vdA7c5+DiRHB/hxhunDp+yXa+Ca9PgW39NPmJF71CgE=","FU2n+aY+Q14+WEI1TTXkkx3l5P0Gj7ZRG1g7ezXI8Ec=","52PNXBYwOTPCrwscIpgJcWGvImjfssex06KTcb85Hlg=","IS8dJB59REbe8X/5QqWDZ75zC5WYrJdNrumKGvg9do0=","RsBh6vFpFkWslq+BPsoMl00uxc3gk4qxjcxzfgPuIWs=","EWIyKErrtGyd8tk0Toqpha7SAK0F3n9RFKTIU29q8fs=","oCJyLlzNzzyQY5o8YejqivtbND/eZ05EQL7oC1RIbQo=","wzEYg/OoTUU7djEX+aqlDqIAxcuLRogDvixucSIIJTs=","YBhsmf6kZrxUlXf16QndzlTOerNEE0z1qHD3LAfZ1ns=","znZuCHLyD5npMrbMCf0RsCAldxKt8kE2scZffMOoCa0=","gMIhVQl1zTuMtuAq9XYItAF/D2YMr/d5CDqAt/I/pMA=","IGmGNbDF2ElYOZYaGT9okmdEjGdWg2D0pqWaF4ypggs=","NZr5k4EuXFdsxfWWs2LEA8LAcycsM3kdYow3FvfB+vM=","GCONvwugaXr8qfaIWeJcNOabMWp5NLSYJQOJYfyXLVU=","NMUjaz+qMf5SJ97nf/KRvZBDQig/IVDkeHIpWgRpCNM=","fU6+5bGWbp2bRM2H1nYmpizgd6KhU1yKRd+vDhkJecA=","zL8CsIadsEnEpFR3wXfRD+smCDx/XTUs4Bygs5ksfXs=","0Ek/xtYaxFB51Z6Ob3bFBNGSN3WiWwoAPEd54mXIw9o=","pXFhNWJgdGt+bojEhbn56ccurUN3QX5iSipmXw//coA=","kmTcvxD8cwg+AO81Bng1+LernIEkABF2Pb7NpAEiOII=","ws9Nbe+72jKPP4cddl11zNPQGUJgTIUqyxhM7DizEmk=","2/3Y3GF9T7+71XuzMT8y3dsY3I0n/QeEENfZOX/XZyc=","kNEY4V/j4vi5Xjoi3Fj4805OFhCC5cow2gEJrvYnLjs=","oLjKek4t/rwxtSyDditBPzfu7DYxufW4T4dyKwUeNsQ=","OpkSkpJ+8DFZf7YvDLj4kRotctbbIh/lUYAOryAs5bM=","MmG80SAtnDMpyObrH+1YQZObA5ZaKm4H8tfdj0o9ack=","15Zp7/nzJ8gxfgYtkVWMQ0rAKv9Ui2eV8qM8PibV6t0=","xFrI+c4AR3Kbs6+6MVXHVlezbVlmxfnZGTtxHpqoL/E=","2dDoqG37dz1OSbCJLByY5icY5bN44Gbd8j/jrHcYVc0=","QbBW4Ypt6/2lUOkngvPJydhVOUlp8s4eDtIBWDcnuyM=","yWgCCZAWDrn/5lJBqpklQuSe+adipqK4aUPDCmztLwY=","IR8wfA9mKdfxzmPxylFL5vJbGJR13fMieFSaAq3LQhY=","NFBQGKAslQqrbhw8Wg3ByfxTj46Z4KvdzQwVqsvnDcs=","a07FT5nZv00BSUse/Q5qCGxzEnrc+6CRwDuhGT4M1Gc=","DVHXdCkOtWYZN3bdnhljsSmaSRcX/1+p11GeuClbtb8=","5VtpgtIR5z1ABdgeRuGaXdcr0mIt4h13/Niw1Rpc2lk=","GqrPnsAVQu+Dro+mVjgJS8++Z/eBCxhOKd1sRUIRPLg=","DTLSQaIdHvTNU3D8cVlQGQUw4dIGfJE2c1zsVs3rE3A=","ODW5fv4Ko5FdKcXFHUcq1fhCpfSldnwZ++TT0oXPmFQ=","faKmmif4HQ1SwAOAfKev24s7LmwyPTzbN+LACXB3Xb8=","11wnl/Law2BItgztiOTMsC51Ksa5Gxr6U2awM3DVviU=","5tkj/ZDQEPd3F1TLlB2CyE345YgE2+cG0S1Pj23ZIjo=","S2HTQfpSJSJPrr/gZXtebGHr7ljdO3DGWNtXhmMyDBQ=","O4gQJ7cf9yzddE3YiCHWk8tTFrOo/Wg6jWRYb6dIk5k=","wCMEYmADPEuoWYXbrHGwyT0uXuSdHs7XTscts5ILckQ=","gC74kshjzmBpHqODus+16lwL3lQHC4fQRHbkIlYF3D8=","/7Q6LagO4pbAMrkh7L2bWp8InC9aGhq6ZW7iXQI1uUk=","PJO6OUUqwBcLk8SbAgU5XByaSKjtXhLJvdwyQiA7qUE=","S3BagPi6Drv6SlBOiuc2PkNPq6dV/B8i34RKNy9cl7I=","Wug5kfxpdubf4Hjf615hnmGIvTmftreWgr9F3+OQSb0=","/PHbWYFVbka1gD0c00e2Ktghq9s8MJLqR8MdqbMz/MY=","afEj4jpDcnzyDaiO/l8qzxf/dJmGt/4ShT3MbCCd244=","Lq3ghBPM7nNOzjRlAs4Wcopcnq078ZMBuiG2LDxf3bA=","Mdd8tBEn6SVlCT++O0PaXBQeWLd2Vfjd7xPOW1OgfJA=","Bh3lxkuEgHqJO7STaXgmpiCpHWvvJEgRlz1VWWswxD4=","Djnkokh9wE99QQUp79f9iP0zEVBgHFJNDuylMa7hESc=","CkYx+R4ZtRnpQWX5JtVe4MrcccxS9cOw31UREbHeTF8=","71Jd+4MhSyWKRh0E3VTh43eO9In+4tzQ23wXfjZY8hY=","6JHRv1XPAjbYKrJOPxiegJ7+7RJuhM6jLRKF6fpoyxI=","lxi4kdH+W9HgT9+hC9wonCme8UPGKpdzokeIlxce8BM=","c4SPC+qMtCmqei5Qz5b2fYl+sMra4W1befVVvViTBqc=","N39mesLrUjyQVtQwa7eYFqk2k9g5x67HKTfQvasv32k=","UFH9h3zqYewzohkOncW5iT0KMNSk6CjfJKh+jWujoUo=","oko7OIDFoAa7RSt/mZZFBjNQm4qILUgWktz5TGy56vs=","zp1/Q2G6s8abMhKpkSH7aHzjhU5C8WvIedz41iaJgFE=","FNmOQh160QKg/vJps84d4G6Fvc5Hsayi49I/Ks4OgA8=","2fj+9UYZBkmxhbbYv77HTB4HhZz7FX3U9LV4qpUDlnE=","c7D/9GtJChJfMAx9a1glerxX7frZVGs2LfXg+iLD/1I=","mmZbk4QlrP/MiYemWaivXeifNG0047Ia4TvPj2VfKdg=","opP2EpGnKj47j9EV7BjiQpGwgAY8LzRtUD99RmN/nWM=","SWHLhtfatcThzqGBawBrDaSCzZnDDrsy0I4L6jJPCy8=","IX54syM9tCWJzTDD2/LuxgM6Q92SVPq2bc1dw03gHf0=","hMIoJb4fWsobFgVuJX9qtvm29MDwu7Uk3w78DlyLJ4k=","F1awuYM4HhZwAYUSBzXgNG1pvvsbT10mf575V12JM7k=","E2hTwKAm5NRWHB2Q5b4dYykMWRAqyA0iMImR9aEz4L0=","RdrIRaFR1vr0MwDMzWRk+s9lg2btADq+qmWOm52Dibc=","rWKcZeDNPwLHhXy4ImUdtx8Gi5UQoEImvdZN9Mu+bBI=","G2ouTpq9YL8kld6d3o0BzYjGGyoRIF1kJQIjnA0t/UQ=","HFAT3zQ4Yav3KP39BAgZJFFI8FkkYWEmpZBhkuJw7S4=","qyBIRCE3pMoq3+hct/cnMsBWyfeLa5pRxosJLfKaIT4=","Nx2NI8p2NhZ5hgk7lFQN7i4JUj3+SjdOTP86D5xzPXk=","m5PoL1wtDCIrFXu9JSAXcUeI50JPYejIb/KGPyOqzxc=","WF1HSl2QgRNOmgtWoLDqytSLB0vn0sk3aN+m2POweqw=","mKVxiGLQn4MSu384dQ1Ccx0R37ThmUkXBHSCXwsGki0=","L3MkXj7oeoFbdsmSTAtL7y4oxoQX9cO4ZmUrFVFLGxw=","CDPXVKGFKXQAeRe04lcH18LaflO4l1+GlydFUkN+du4=","11lTYS4w/g3rSbkv3OVPGrQqLs2y5Llz4jd1PEStnP0=","tn+WN7/+Bv3B8FScaA/gi6bLMDCiN7I2WoVSTz0cYO4=","8Snao9a+MyF2/dPrEQo5atp5lKB36gfrr4Uvj0y3onc=","jc51fOLUPNzqzJE/Fi/o3eugUiIP4T4YtLl+zKD55bI=","L4dx6stfqfPMIWuHiE5P+JOrKUqWxgVsxYEpn+Puakk=","cN8+dSuBR6BzytfTS0eGkFLunYfyjiinpI3Xb6nowWs=","NPJ2Sahq4d2meohuOOQ5rGot3St1J4MX1VsXwuUcvO0=","QWC2+c+BGlXRml2KmQvd0LdxS6j17gVVJ6VCALbJ1b0=","uZIX/HZ07yvKxu1kLcn2XnSawUA2A1poRSdiaQZ6lRM=","7HGGclngPcWmK0B3RSkx4Rz6cQFu+Ja0oK3f1WGtuGM=","gWa4w+NdzLq6gjZWcTSX5N6nUMy3qS1O5ICMzODoeWI=","nLI38uOBBbYLGY439aSecIGVz/CkOQw1trxmuKnXal0=","g30uKwR2vUAevCWlTcPCQ43obVoLJ9YcdzRonMew16w=","FzkFOihm+jp1ad41PUi7ipIjrHXCjXgJM0lQcCOg+b8=","lwkWqXzlHTkpBucAs+t2w04lwuK2R+EKBLhajwjq6eo=","St6XJenF30CHxSSVEE9xawEHyrJqw9IMkUaDoIwApwc=","hLkj3W0Op9iPyrfx8kXlfttAiQ9ekJZs+U5MlpdgSpE=","cLz/uO8So5KjplVlvAztKEI6huJY6vYltAd4GE8vnZY=","fijfw9H/hFai3VYzmFDLMrvefr6DwZpeeWxOL4oAdbY=","wY9OW4iuTxhlpLmVRtRzlwwisYKAsPewUtcwLzPPTB8=","fphetPdu2cfTfBLGb2R2jXexrqTrwBXuNoeULEzVOgs=","duo5r8KXZ1IZ/VjJ6iWk02QhAFDAhlX+LjfMekddM3o=","Ab6RQU5zlWFq8ZuzKCsKg5DptOOud6nMuNHc4meKDVM=","fEPRr+UVXEYPeKk3E7kBVzlW0U7I7uZLxYPWPGdnGMg=","TP1da+FsPv3COF+HSTn7pMmTGJL0RttxPrZ/PFiqK0o=","MMxpk1WqYqhkMylF5yDtxb2u60MfB+3jeAgV2M6rs94=","L8rtcXvkbaahZjW42v4A1tE6iDHemcxYjTwdx5fTdGk=","11iRdUTzQFl5zfo7t7DnhMGiwnzHYVCIcjn5ZgJtx4A=","H50inAtP4HCOCPys9E8OaG5viq2S6Y1TQDJAy+7jfHM=","0Wh1uHdAg/qtt2BL72yH3lm1QKkELQIeMZpYfRdCE44=","B0oZ466+cqZM9feqFWrs/ADNskp3hcmWTCNQ4frfyxU=","2lLItzcu1OgIXZpPr8snp8fsO9TmjXOh+AbZHmOhg1g=","GPbsmt/QizMqTSt0TE71A4EXwUnyFMuumtPoWWCEspo=","wAed7j+PiCRRUDUKfCUKJNZFpLcXf5iXVoDgeNxZUAA=","XWasBfJWrBLY9A7huq7/ox36HztHWtsPyLhlC7d1JaY=","ymBDi6jWKxFVDcHL2on42fH+FiZcB1sn6B0W8Hf8mrc=","nhw5wO/elb9t9JY+lyjt36odjcNcC+TDvdkv1V+RyZU=","JZJzjpxziX38DwKEv+Yx6Fe9Z/6yZexyaKMvqz5hWag=","b/sFTiTl+3Uq3eSpx29C2IsFxcTRYByQmgyfQNtv0gk=","zBGflWrOX3A/OF3RxPgnQt6o5iMRscPLyqx6zgj3/40=","YUP/+2lQ5Ja4tR6KfqhREVX3pk0zk/XTqEm1LhrImlo=","OGtU3YCMhPMdzj5QFRmCqVLe+k+UdvkDjY1aoSQ0hBQ=","fTdKXuZT1TzYSvJ1uMPm9PXQCGUhsD+q7Z5TdLIEG98=","krQAHQlO8z6HNe9A6p+yPIkTUGvMpyZsULOTQe82hOA=","w5lRY8kG1XnsAJPwcgFe1G4Clq8WyTsXZn9Qj4Uj47Y=","b5oz+WaPWpn6opGoGzDLvIWurEnES3VJVUcVaes/q94=","VgOh03AsXDhTToY98JcTOUKevtVbZCSyiJ08CjSIvcQ=","956aY4Jb0ZzlCCUEY3ow7IIymnD2M+eZCQM28r/pwYs=","P7jzFqrQtYsyV9y/Cg6Vxm3lq27Bg6cbSTJeBjY7HgI=","kUtY2A4gtkL37iuZzSv10Bj+QivVeMBuppQ6vgPlRAo=","FZS/8WFLDjPuj9johAT5/yrkgIYc8Q5dhsNfUnV4jdQ=","EROC1vh/xiaofJmrVMew09cwobNgsK9rOMlbcIQXccA=","SqShQDYFUrf9GUg8MirefkEssspXIPiwKFgyADO/eeQ=","NmYpJHtTgWW/4iEEUjskSYbvN9Jp1zfMRsCBUuowp6Q=","/rF/25Ptlh5YRj2HR+1qVf2BXbAML5xXkcJ3j88KBLs=","4jyxBFxQH8W2i5SUJQ/8/hklUTL7RVaCjs5lHoDkWkg=","4zqb7K/o3jKdWpx8/W+YvXnlrifJXayuQWsPYi5k/XQ=","3ty1WOk8VZRhfF+9JPY9NjkmE9k2z8BZmug8q3eqp6s=","cfqAwjs9bSryPqLH+tW5PXEuShgpkLZAoZ5VORtWQMM=","oXHqzI+vf3MJt5EIMcBm8y76bhwpEmtTpQPao0Vpijg=","f2Zrky9yX32X/rgH/MdRO0liINtSUsoFod7YXelQhMw=","/xTerVFzJ5DfhUTryjUr+RJUVtjxSg+Bkch0tBY8Zp0=","zA1UNV35+sIRgG8n+P4xTkXA8HWClGcIhXQALJPK9rA=","OT9ylYlAQTOv4FmrCTAQ2LOjIh1ehJk/HzdabPHhgH8=","liw5O28Ls7JGzNwFmZeGmamdVrpg71HvQTsUqTDZBV4=","KAGXcFvQe+/RRHAgjuivqNvYkfNOyhBV0vjBRCXKz2E=","YAaKQ5BX0x5KO+D1gt/6kBFz9hcxOsWs5aKtLRS0CS4=","X9HrVRxfkLepwABnDQaBWIPRV1Zznx/iDUd4YioeK/A=","4VeRG9BezQFaHRwItFty5FWA8wIr3U/wmvxo6Y3GETo=","qvM3rZTU7kHnG7DaBr7ZmxkMszLKGyMNCqrGvVfzMBQ=","EqtIb1Vn5SyqPuDHGlacF/VKJjgJ84fyhcRmO4oC65A=","wbFs0AOjDEuc/UGhmHIPSWS5LiEzjY2uEE+CREQVONI=","LaCFdGFL+VHIybZgNX/Co83G8oz7mpbKrncTNVK1I4E=","ChyPgjMgx6BiUEpkUHZ5kV0u0DfE5gHerFK2qQGhrts=","nZbBbIOpWfsuUr9FuvHwMG2/XModLEHdGtHwbSwzr4w=","TaK0B8yAB7IcjIThdlGIDemee61lrdW38H61WSqLEe4=","oBGzU2X2OaenkXezC72Ybd2yp5nKukB50oTsfBXbWT0=","u9+7HA8ZfOHo3KIRDkM6gp8zK3e0i0tPIvR75c8WFZA=","ypYSreFabHTK8YZYczEXmnjYC5YPLB8mxDkISCWj3dw=","OaFoRkmDQrIztOT9xEfW7xMuN3zNYMlfDV7PwDhbBz8=","JRJfXBC/hPJI4ai03/gCHkQUlTTmhvL0p13FkjyWxVo=","/3h132pI2hTxN+0qiOiaXDgycdFpYZXWvBp7Ngub2y0=","oAH6lpYeUH4Si/jf33nf2fS/GSbUOxhblxFY4WIZsI0=","m2ZgwSSy9SQi9TeCvuWbMKWjnYdypro/NXpI0hMKPM4=","JovoauVRKgkfy/Vd7QL3GABxzMx4YnV0J9/x1iJ0p1A=","5Hy5z+NOpzvCgf9fZkcignlb9+YCsCIB2exqbtnkpu0=","1xdELNwqDxlODK5GPZhP0StvQmjh/iGQqZUKT96BB70=","Zyj9YspnQAxxTqKTJLfWGz7t9Zz4gChnqbILV/+LHpY=","mWg/bbcKmlXcE06bsEYD6IswNZLfUiUxU1ieiCgqpLE=","FZw+rxjzXG26fUO63V/+GAUUgH9Rqq4w/URi2I7J2AI=","0P0CoawsbZKwUfDiNqf9yJWRlZzf8jRg8rww19S4q9M=","QcMisxz6jmwCrNWApiGkpdrNTRQBoMRttX1h5khHfAI=","hwLqiYLenrOhcUXzrs9sU+soIo/rMpucw1lrNjzfWg8=","JxmVzrAAihJK1MabKcDHydGsfDeXprDhFLY+gPSN3Ko=","tzaxT0yTyZ5bsm4d4Ja/YfzD3pzFeIxdLGqwgxYjQuo=","CGOmAPQkIHpziFt1A2nQCVabRPTGRtVkMIGVFMR6E0c=","UzYaDvZq9TtNXPxqZg60R1wYHTy4RPHxRM/lE2mHqS4=","VtCJWhRmwKrbDEpcmV/JzgSvgt4A9O1vjCjEgmsz0E4=","j7jIha0KS34zUacHEAbF41oy2e+DMmFafj9VhqX4Xvk=","+JwXWljbaVp3EplyQK5yXYXKpcxL+fZm+78Aa2ifgIw=","PKxJxBY75Zc9AjMUNJsHxJrXSFe4+rA5jnwiceZJjRg=","iAay8txiKe6y1PCB+a1Spx07BPpONOCrt6f/VOr2J9g=","e5hg7ViEw5c9soNa2o8iNwLtxcaYL9VNsR0sFEtRgig=","+5ZrYReRBrGD/A2y3HZzA0MDXwu0qocmdsXApJgM/Pk=","bNBg7afxY3ZZ6SXmm9Z2CgwvEIkdeUxTx8Nx917YFeM=","MXZAyo26oozPzTZ7dyiOgayPvmSo9v7me5w1JKv3VrQ=","s4Q6W1hSowyAvIz2DpZwbPdx9xafQKFb1R91yRxU+xI=","ycAOqnmc0S6sOapoAd3VquPwhoD7BzcnAilPeACCvAA=","nJBAhPeDICdBAIlz3PlsNOrYKeScQJIBopZyhnjTHR0=","u/sVVFV6ZXwNHsQ58yvZF411ggNjSK4jcXbjpkmD7pA=","DcWqFvb1LUZEeoMB6e2KCVlMyGNonNV7jsIJqYHwhKg=","lZFuGUifrrllqrh5qDMCahOfFowYu/QrE+S7/3UvZeI=","L2XGCExYR3vJyvtBUHu2eNOE+fmNa26xbjkbEE6Ntrs=","49QeLCWPys7dSM0jNSXf5Wt09Can2XbVVyWVGdo7fik=","duut0yXon7JJ7t222kjTQAV1IqTSbVMr4pRdRT6IITk=","BDdMBzYdCg1/2MuUx0QDm1kogvJQg3TDdGGuWjioAwk=","oCzBLTQVvu9UMtKikD+RrNGIYkGOD0Rn19gSkh5wJsw=","fywaUuJNAT3GYsECAvi2D76qIvVReROYyV58Apq0BuI=","OUWUDyhai26EWGPiKagdUf9mIWnsI5VCMMuAScMV6i0=","pEQFr7yJ+eeEPzMF1vCQu+4b82KcSTqjA+BCJua6JiQ=","l6hmt4fM8j07oe0RbbXy3N6tiCBi890LUqeobKMn0kI=","1TNFyjY4lINfZkFpbhW0z3hE2WZhiSV8Xq7dLyE0Ou8=","mvl1X4nQz9YOKiSSDGe4IJUeRjEld/wk1h6197zFaTU=","5fBA4F+HngGtiiYdnIaFh3Z1ituxJbGiys1ufkVLrdE=","INNjbwHJ4l0/bSZB5VhLvmn6H4eljgWo4d/wt/jgQCU=","2DMJOJ+EkeNoKxWbAOQ4tZWHVOAhrUmotpIzmvK+mIQ=","5hqhcKdRess6kwO6DU7pdPCWnl4zbzlObapDWZ9dP1Q=","dJounJRMH+0H+4Bw5qIRbcPNuimSGypxZQzyYnmCyoQ=","9Rkg1jljdup8tcoFIupwlZwk6wY0q+vC9PTpLg9uXyI=","/xEvZgmZAPSeXTG5hSFulQ87TAdKBi8RbROzSQxIP+w=","S3Nmq1IyWm1mY4HFrACqlwu5c8gED0u5V5ukp8/LahY=","UHnU/FlwGOThg8kzC7VB40wBtE/sPN2kPSinYF9DLxU=","eL6JlIzRJgeVg3goEZz11/bIgqdsu05AFwoHkEXNXtM=","J2e8b5PJYtTcXO9/IqViAoNgUzs9AydRRFsXQ6MAMXo=","xcl36bqBtNnVChOnT7QC07Fjvd6Kbo8rlO0ip+c01ig=","olLTiP+u1DrCM44Ph9zMo7S7oPgbiiSFTufN/RpEF5g=","DOXcgdxZRsRlNuC2w7YjxGH9h6pXuJXrEeLt3OE2RVw=","D/ev0s3c3uhM+InhbYyAaTzD6hAu12wX66AgD0iWMCo=","kwYhe2gu0yzWro+pzdKIwu4AUsMEP2r/H7YSW84FfGw=","kJnOZG3jIOWEAlNj8iJV/+9dE8/NVcyQOsUMlXbbgX8=","fBoNOyB2eFD+IyL8L6SE0l1T2ui3aPdDV01kUFQBlBc=","O1ZS50lQ6lRO623bdy76cIO26QADkP26EFgpMpoKtF4=","W3xDarVKUO12R0AnY/QZqiSkIAlepPjDUT4UvBT8OOE=","q32iuMaMawYZFzoIa+ha5JIeafjahs+twPpbdygb914=","1slmdaXDP1k4wVozkswOcBk61PiHReBNNuVBMXOsUok=","0zAIa6Q4QE1z6uMECHnxXEWmJ8fAADrJODgrrD6uuz8=","CWZnwV3kkzd0NnEW7HLWpq3HiY+slj4Yg3aY7BZV7zA=","MpVfb4zHXyxvXYdKjrrcZ+NU/pDgWydt0FhdriNPIE8=","jeCJSB7NMud3m82Zfl6ECb9F7FjpIIJbgkjkrqx9wgk=","TkHF0Ee0TSsTmyRkustzbAMNcpyd8vf8e8TQjttDeog=","Ra4On0ZvBPbfzHltu8966o38W7TldecXFuts3HF9x+k=","Ti68RFm5Cu1YVRvqKALr/l571Bbl4otaFmcs4Mm8fKY=","Gz/VDYKnPQmgPhMtOSC9V8CqnnloxiuIetlpqhHNBIc=","lVsAfYChzdrUnlxuJ3u2nOuf1ho2QRjDn6XFsn+J2bE=","tbRKMHXAREQKQrn3tyrClWSSLM2PgT05dWSj7Df7Jms=","gBrRSVQQVbog+JC3z8ISYCP9SmtJ0rgGxHhbfD8ZlH8=","+KejGf5BqB/OSJxq9Mn2b9bg6MmAnKKqLWu7R7+4ZuE=","V/pJ2XizHQPaZil5eGs67hlMJ+DjGngkQlEU38rPx/E=","j50p3lOfh66vU4IpxVlil93cJV1kGl44Bkog+0jzXjc=","zE5lxMnh4+7MgQhu7V3MnUKQR3QIhGP9r3EODtevw2s=","8uwCHXGsYD2SarUuWMoXNyypyGEBr6dgU+JZ/S23jNk=","z/Ouxj3QEPSmUm4WmpFxvozl2POp01+MBAsN7EDHvuQ=","X9xsVu0IaX/HrqevuX+hbkvSIQunFbGTGwNh7WHSGLY=","o3F9hNuoPnKr629uwYyeV11loJRQoIIurX9NOvipKNg=","juj7ucWBNNKUO0v8pGmbl3Rm7P/4P4UdjymW7RARMhE=","JN2onUiiHBe1rxNlFkBvj2F4Itw9ki9uaJC+w33eoPM=","yvDm6jr5q/v6jNbvMLxiPFuGOGZS2BGXbGglmfDRGWk=","rBfS8K0B3Az3wKkcEsXF4M8RYkCIHN8cAZFpgJcELMA=","sVEqEdFaYdaxKfH5kBKLpi3DFNFLxJV7l63GKt9ttQ0=","WbJq7UD65I1MHx5sYfaCO/EIvUmp70oakeMUU/iT0h0=","Xp08JVrHq0fYPAHU0RrvkiTJ/ZtCVl1/TrrUNq7vjSo=","2OTUaOnDfn43P2rdhu+fFV/lml1sxHZSUOmTNm967U8=","9t5h3qtyVN35GiaOA1+vm4+4OYPU2Nc7smY6MtkP/Tk=","jKdeVmXvPwfBNX8zDBjTGXx1KLyx++X1S4Q6cNA8EA8=","XRljd5G97ntiJ4FHRfiX96GuCWqbc93HCSNbeoyKsOk=","Xy2UEhwdLEL1vy1ij4EQJi7dsBMkn9cyfVIb8mD1Wdc=","dK/Ptk84nZnSkjolALVxikTylpDSN0f8ahoSUoIu9a8=","JEAIAus0oxCULM2FKMz92oPfhGI5y/wNG/B+Ql20mBo=","xdqYKZU6mLI5n20Yh2sJiygKhFpTkLMOHIzPRcg5cSA=","cjDgeltFYSq4ZzcCdEhMcDoyvXP+iUUHPj+z8wI5nkg=","juLNOle9kcksCC6Hm1lRMLvDGa7tZhdqGfTv2tFn6fY=","ETNRxqn/U/V638cKfxSOVBeGtnvr+TAWrdOxVjIk8U8=","y3bHwdJ0sbCiQYHXFIWsLdJWvZ1wbjfc1oaUPp198NY=","z5gJGhoUcQE4xmLh3n9aUpeVcRKTwB3wdHkhI8/Oe9Y=","j3/TZY8vqm2Gb0EHloReQV1UHsnBI2tQzQxKY9CZEZM=","WAM7mjvQ5JhjQmoi4f1EVO5QvtrTZvZrMNQSCvYA8nY=","Z6jQOxb5vH5jjMbBQnZl9nTxz9ZK3rHG0feru7CLqco=","dB8aGbKw1GOR/LoGyMkUwY+DpB6/xjTbJmUcOOw55Xg=","IJcD0GRCKiD8wjHQOdZaLKKkqV4dfh/uXH/thHLg2NU=","jdArbOdVXeV5Npubpdw8+lDKrT7D4yxiYNAESxIU+h4=","e/s+Qe82Xm0eWWvV5kloTBl/zjYiWl8jTCvjefyX6pU=","IHtHXNIdrrhLr9/h9GQOxMYTcok3E3Y/fRZbwIHdp1U=","Eqv/xBLG+nbhiQjHj1ddpPw0YLGnUh78SoK5B6OkMh8=","Gv+jBU1gxUJtK/bOgxk5hFzZl4FJTs/ef+W5J2r5pGU=","gCLrDmSCC4Ftw9GhMjPdfNiXMC079/poEZHqFd9tpT0=","hhTDPoZSwD6bNWG5rwkTDBoK/Zc+w0HfurwpFuEfSuw=","DTEItwgR53IdwmmhNKvboAKKHoXEq2sjVPZ4GCovdQY=","GzGBlFUQxrQSdUbeb+j6saGmIgg5x6vnIEoIySBBRRY=","40hW+NpmaHaolPUOXMsq2j/BB1vsdalc20LkrpLc+C8=","qrjLfubRx37dkls7Y24uEQlrx8JdX5bgt7gsNpVISng=","HCmY15IL554cxmdo1cP5Ms9hNkRkylv8fh+YkAL9Xus=","11Uxk/cZhEn9E0eQki87pWRUCsjkQ/kKgWcBoNx0pqA=","j/+Y9TwmfSXXJ0aIwMM8szLTx9KwidevZb526LEgl/M=","25AJtbnVqZFqM/Fq3rES9H4kBB/9SUQw9eY+zTQ8OEk=","EYJQ3f079+nif5ld+LVxaXupyfL7VDG+9EWYHV6eFNQ=","V0qLewcVyzhrvhATL1L7Sm5cQ8aUUApogEugA5Gj1eU=","T6UpBATZ42YVNOmknzJ/PRy2ttBH3jz9WDniWZXg420=","Kmr+pH9y4FUujFFc2IzsxvDIsLzOklJdhMJLhuoYS3c=","1eoJh9tKKRo9VZDVvVprsKZtAXfl/hNJkugte5m9qms=","9PKzjyzAHJMilAf5CWjGdCia2kHT3nenLWtOPW20bJs=","h35efIllzgdQDSuiphyqzoPYydGYvkUUWkvlOBawbYQ=","nycXCQoHkBY/ttz5ANy+NZGU3NM+cfQW5aOZq1uoNuw=","52cLjh0LPwGCtCSNGopF9EnCKjuJ7cocaVVJc+SnvMo=","/5VeASUyycZom5qf1BXb+68AZqch6YS/Zm7pDSZ6q6U=","yJ9HNcuMrXVrtDP2E4DB6N2qYqaFaqchspq+cAfySmg=","VtbFvNifoG+d/2HRDVfOgdicG3I0hBcuK1yy1HavRgw=","lhyxungzCYguLm7dbschUr38EkP0YX6lzb4gNFwYx9Y=","TyaE1/dCHNwptX2xSd6b5RhE5UI48QigNVXp3gNdubs=","EDyZCny64LPdK3O4/8lIybJLSdoUrtwWEM2z0HzzLpY=","NIEW7tWhdDtFrEspHLuQq7IN0bTRfmfMmt+8u7ZXEgw=","bQL9iEn6vJSnEpXlt8VW2QBHQ/UwvlBVJ2NRuSttVpc=","vwOuOEgzU2HULJNFyG4IWCg9VeGBizKD7JdwCgY8ITA=","Ss5QX++ner2dks8qx7qMhLzDMwEGcQ9G4Y5gCei65pU=","ptfshgrlxrZ3god1+V56k8MpGcn2amh0crpiumN5ULQ=","52rC3Gg+7vla9bbGGaBu8vXgTS360ZIl5vDPb64vLag=","s90UOpTKAN6pckgK7x4GMMbSyHRBT7WkdXObWWSI5Lo=","1V5TiUQIJRN1/uJBbrQos94FC9dIPkfNyc8vD5jyyC0=","7HySchwfXmE6+5WynfTdZHj6WGEACvgzsBg7mcStrWk=","CENh4TOUi+guSQ5wZmApPpA3VpAlgFLB0GFTUuDjoMw=","Z8NVFEM8cg5qKSR+K9MRvogPgI5yKBniLyrrfZt5DFg=","KRdMx5Smo270ofXX5oTH5VROkf5GMXx0vn6Wodf1P0I=","z3X7lTPODV8JyvnbgWO4dtmYMN5enIvthHnyWPcYuEE=","jmPVooAjzLBscdLPokRh7neW6zmXZ1Xi2NyFgOr/vx0=","Dg658l+rATHO/fmzHrn8dSlDCKhbP/fnGcsWEs/x1CE=","VMoAbPPFjVa+KwTtDE/vuvcfPrhmSISa+xdkItCWoF8=","U10T5tUJZXhn+niMrnj4Scw2V8hWM7j5pQO8yaPzrVg=","XMSbFHeHXeT6ge1vdSjCZ7C1040kQtPZZU4ZxykrmyU=","ai21rknCKPa1KyDHoXSk+CcZ/5M4bW1ejnVFb9Du6UM=","Ff12g0mFwtC3FoYbOV2YcI0pAsRXw8EWvi0To0GDRRI=","8eUgL7DV1hMmQh5J64vZGRs0shOzg4uEmLWmh1lISoM=","1KlZz3RSU2SZyEfWaW/50UlosTmB+GcTtPTw9pSEWMQ=","TRCksrs9sBC4/C6KjhRKsAlJsmE5ka3Ghw71tyi266g=","mhoZt77uj66QrRl+2U3yDOttuveWAjW9JiOicwlFPWU=","nh6MkuMOk3barMGX9TzqYzVjra8BzUSbRHoAApeVIgc=","59p0g4rgG/cUt8VoM6iBOS6xub14STFgESp8tzrR1Ys=","sRR0eUpK7PHdUbS1qng75PlQRNfFotoaC28ACVktulI=","INgvuIvIBazWDP13SiKc1pxhKLaqkD+Ue0xZpMjIOuY=","xu15fTCJDFymukaw3nGhUk+HBtB9fb1DXapA1R8J8QQ=","uDSX3T5DazlQCYeVibT3gaURKnjwvogD4kQ4eJxDoTw=","nKI7W6y3zAF4feLHtmyDCnJH046DavuN+brEiysilOU=","DWQaLzBycgsgcZ395TRAE3m3gU2gIvtE1DztDEkciOk=","xDjpO1PhEocCRIvFm2Db6vmFYSatop+gBLGMsZLfP2s=","M+Kn4I4e4fANFwL8imOI0qAsoCV0A9SccpkU7f4Vehg=","3YtILb3+xWuVdwjqLCd/VkZW8j12A7vcCM+n8z+bd/0=","n+KbSs7FHca9q9taMgazzDqdfAKv1cekTn7XlOf49mk=","pzWsMZY4jut+u0Yrnh2u47g8fSn2ctS3OcZ603HXWCQ=","nlKqSqFhwSZlOLnD1BDrFtF6cCyZzEL/rBeA2A3PzzU=","bOWKFN9OAi5Q9luDyq2bzBeBJ0kCIqGPygp4GXWwdLU=","C/p4/3KaumzgYHyD1VXwBZKH+2hr4FlgsAKLcUtyfhw=","GaPGIca3GLUwsYlmWhBbeiGI/W8CvmQZP+eSABsfQ9Y=","/lD9LhvqFUQFL4IIm9DR+c+RVlUWGXcajhxc7s8qfDs=","Z4RjR6Ufz/6QDnyAfOsVSMK+NB6oEdAF0KfqKaKMsJ4=","VjaODo604fv2SOqG0MGkpoWnLh9kjy0ZIBpA3O8MKdA=","pW+Hk9kJkIiBifxNFSir37m07y7zK7TmlAhJxvlj8a8=","dHiYLOwXB+MaNu3dBQ46P/QiV+6YFTrjTCuQasFVH2Y=","szRO9gayhXbfn7QmdhpQ1IxiGScCp8co7S2kedC5HTQ=","dAFTFwtyMb8teMrAqdDeX8wrPhrLUX/cJHv6mh+Wn5c=","ezFCAiJ6Dhy1rzzO7vIGvr7bXzNXSqVAfhqtyXcC5hM=","Os5CMqSCKEJGcIsxpCRRiRE72l0a2SI7KewxYPTXsiM=","0ATupLK/UO/mppolqHGSN0lwHJevwUZfl3Aq4wX4q/E=","lPSVGWJY0QWEQ8LOSgb+bQFdfCz1UcXha9qN4zd38Xo=","QeBfWaVIHpRXotzTUVGWs306VcbULPAOFZij08JM7Rs=","z9frM9AsTNH6NShQLWR6tiJYGBf9p+e7irALF6tP5bs=","j4JvSbPHJf4zmI9ghveT5K/bkGx+W5dU6AlmzfozRtE=","FkQjBcVLbKUAiBh6AbPae/zKkCI6eKzYbpbT7Zeqxok=","7xpKe2H7uC2at2JXIRLROs6DHGuQ3FeVZCXdppX8PP8=","Cj83YhSJFBAex49Odp0nRPnrqtaOBaUOTvRELwwydeQ=","P1deRnG+tjDEJhfNiPuCuzrX4zFL7euC+y5s/tmYj4Q=","EkiEP2KZxf/3LxEZGX7mVvNgIjWz5Rkt73Au7PMmqZw=","b7DTKzs8XwtiHZ7z1Ie5K6AIGyK7CL8UcC2gxgldrGc=","hDEBdVOyZzwbyLabAmlYW+5I+ze1E1tZkAGAHguHGWI=","7BzzniTm2do+MBC54MNm3VY0sBLUq1w8JBezCIwRc8w=","BaRjMXsdGIq79uOZKmRjifvQbNZqVNTwCqowtOt5pF4=","Wcijz4hL7Kk4X3NyawAdG5HHbQ9BUyjf1mEg6GBGrEI=","Cc39gVomh0hOLTBPv3fWLRHsyX1q0Cr4A78GhyoXby8=","l4A9twrcCgHy3bKHCqNbW/Gyg4ixpb5ziaokAZ7Qlvs=","0i1jTq99gbdCZ+C5LAIvoglh7ckLOvtetXcRmTfFbk8=","6wcn4K4fMDzr2cjCh1E7rs4ELXlR/BlPNnB1q7ppbFI=","2QJ5x09CE/oEbJlkSzlzh7SP7xDQN2GOjhGxS+0d4Wo=","cfr3cdyVwW33RahOYY1LHSbJQN9qFjK0PB0muk1OWpY=","TzA6hhWKZ/TrUF1YKYiuI20acO2zykNpnsUnA6M+qA0=","i6Oj7i3kMtchpT9SGVJW6CTAvmNBpXnBiYH+qZm4ivA=","rB1XFgiOLJn1CK6H1AqyRG9KwZL3XDa1cIWSM/W/9bA=","VfGoo0Llmlordtpsw68VXeNXFX3TqLdFsouhj+AoMHE=","kHpTC/h1iy6SfpWomOe/eQTeIrRDRe7GNq6s6770KNE=","DRVuB7FMZg77YojMfeUC7NCuraWUA9NcPNVUYtpdTEQ=","k9y6A4B27nlB+4SGlcg9ttqJ1rCvOPia9FxAtxdtpxA=","sU8z+39cdFKIIckMEXdhEKCEmlJDCk3fQb1MFw8Y7Rc=","HMngR2KKXPmtMwUVLz1o1kjxnorCba81pOtJCK1WU1o=","GlCkvSEItxHhpZV2M+W1XMwLsWMTGBCh1WYy/5ifgXA=","oLMcyBQcsYP0mCL1oe2Ns7UY5qs3bsmxyv/op+Y9y3s=","8bjQIeI2T3RSxVQjBxFqlyWBrKvRgO6iJk1jjGpFiJc=","4aNaiv6ot7UvbD2WWaKSK8VviZ3Lt/pXEonayeHpc4U=","wQuBwfTN46L+VER5bCLOoGFxkyxgVMq9qLItdlznHxc=","rXkRYsPTgk1Uj+diFTepejDCMG1UfGCgEJNy48dpYJM=","OBrZvSg1STP0NtJ2oIlaLI8FzV4QujRm9Au5ws6N8Vw=","g6wLKyJFEZGJdy73bwS40kW2Z7OTvEhIz0uZLGf3g6Q=","1GUOGLykau0PUKRVk+bx8bMOuQoCT/KotLmV7HzUfoU=","Rag5SjSBDGkZyzisBfpaW4aCue5YzhCSEBZgaaw7syE=","F6j07lxV4Wco0Us2vbizzwXOI7s8VTFtqPNwDAog5/0=","glXjyi1aR32TF10KxgUN6yHe6NlMN+5Huq6CfHZMZmA=","YQMxPpzapxlV6YUikbE2j53OLuwD7n4sQmr4ZeusWxM=","wxPFk7k5nTidTyMrmNZAMguIZYrsDl0n1kVYC6Pq0b8=","/ML1/G9lKyp8wfCS2Tnn4VH8gYLXbQB/nZ8Vb1MsMB0=","iBHFOtbZQddM4cIINfcmhSfRuMxwA7bquP0f+7U9XLE=","ONxKQDaYJcCwVbe74EkaanQK2NzLvZjX9ADRvW0Dfq4=","dJbj69hUyT8hbPsjOtj85a5cRb0ps09p+nTTcb/W8sY=","S+ZvbfzWVnY4GLuCagHHssc+0Wmar5xLaSWIrCD5bWM=","FwRbD1VU6uf+JQ0/K7XXKho1jKrYhMN0UgPyxN0/dQk=","C+GqScxD8EGUY9C/v+ZvoU2WkqRbYbxCyOU851ymHJs=","yWICXeWsPVkfyEaIxOrkVg+g/XPVI5nyWPmtvGhZw4o=","Ua8cZT4po6gOzbd5qr1P9wbyv3M7VAiX5YO6Ep5OzCQ=","+8B/zSRYaRSBjCADwTLZTHCvDKhf6Sm1tEsKiNBSddA=","N6BHw5Xd49wxCOaYwsP0y+Q27R8QeFljDdvvWhUr/w4=","0HI5C54aKKqd6+83qZcwUm463obL5QgCX7Jc2HSx9Oc=","mB2lUHoNMXASgsBCNs5YLBp2FZbQFSYEidw2JAc5Pzc=","1VIt85hEk8uLNavqGtAPZDg7MqYImLzYtkuHHi0DEhA=","5em6s614jUQrgF4jAGrl1JBPyTKfUosiDnMefYs3yxE=","OCOytB29+5kOoPAXmL/SofVATCrzvKb3WjtRJHMAZFs=","vXGVMI7dtuDEFyFqxBKI/N+LCjuU9NudpgasM5kT190=","82TTaSFNxuOI1ITZheBzl2AzdcHbg3rAiag9rRqJrBY=","cu0ZbftdWfZcy1k+kYr/tmdnzhCbcghURW7G0pFxmwg=","AYLMk0lMrg/MAXWgMyQYpiSx8djUYN7ObTydHFPCJ18=","QopNHGdM3jJ4DD2wHcGzNs3/EBwbDd5ND7QqrD3pA/M=","Vw6qCead8LE0pGO9No3G554lsyItLuwZPGvvYKowmw8=","TkU+/XdM1hRYcYXHoNEiVsJEk953FXDP7OCA/fSQOgY=","h/zhfc6luKRyL7AHk8JHTy0xv8TOlFwzAwWoS2xLKmw=","KJJeNppw3v3SGMLAeqfDHzO7xT10MX5RgMZLA8ML2xw=","jk7jN24EnL1Am3PgizckXyGDvTlqMJFECrKHee8T15s=","LTQLitcDE/Dr37bx1wH7xFH/Rq+8CT3NXMlFcDCc7R0=","jZbfRuGJqyUVb18RIJQqhpYckl+x+Tvo32wG7Z9snx4=","o0VSf94rtoNL7cOrw3m9dkilir06FSH8XAQQWTwWqGk=","ZRS9pV0BDhhiqlc7chXQKLcBLtHWuRsHx5MwWFwKzTI=","ClzxnQUEID/B5Jkcnt/UJgBH/LR+qySinvfbDvs7XFc=","2GqQO1fYAnUMRgaP7VtWhojq4pyImxIxjwic2DHPeLE=","DRFuaQkH7nwXTS0g6o4cmYDSEY8ETeGVeWqRHJCFuaY=","2xoLDgbFYSmUbfc5NVMK9FMI+cRd1Z81vesnK0oqJhg=","8b3Odjg4J3CYiwNpmbg6Op3Z15S9aNzuYEJh64Fv/J8=","eRwlYX2Q65mK3R7eKd62D2HUcAqb+J0ePb5Tfn3FLtc=","15OWahW5MxY2iMO2KgIe69SV8kz8ueyFeUrCBAXU/HU=","zjfcXkKvXdsGDOMigppG4vWH5l52E09Y/OqxMCd/KLE=","TxMmWmH17ngaUxvRVRc7dvjUJj6zaYoFc31sNSCNu88=","/4WJmp5hotktTn6uezSJIHAuh2ndqaWCRH6J45fYr/w=","CmgGwWKsIFrf86W7mYBx/c4GX9TlrtDF8vgx2U8BNds=","wxHy8Nyw7w6Tb+jvOq6hZtS/v7+V6FDuXd3CYr1zMRw=","vE/NfPc9IvO+K7AOviUNJiywmOf+ooU5fCB8ZW8Wkao=","rdb6j7GfUuvJj0iP6je1RY8k5MnLvyui5/L1/opQg0o=","jkX1R3IzMhjFTig8BdELXb1qcdQS35XARh+lL1W1dyE=","owcFek+FHkIWDPkRKQ2OJjAF4BEqCG2GjwSoBVgAKPE=","CgN/Qr+Llw+3mHU3rNH1SPyKU2Wm1prKZDwGIrQWatM=","MEhxxCCb/Sn+yUja739tvma+BiljEpzjBWQmuWj0wfE=","aTOLU3J35T8u8y5SdvRpapv1lM7L73+qUtkLKokKofQ=","dSLxChmm+fQ1YSfW6j/atz9OjTrPFpNREPW0W/I1sWY=","4d9+feTGq8519xDj04TC7dmEPmZRX1pNK7Ex/CXQMkw=","dUxaePWEJTznnvQmyszcvrmbtSx5HJGn/mBcFCWxdKo=","X6ZzTWDaDVJdk4WcLX+eUcey/IxCx4y6kMnAk3+QJIQ=","rThVlbsI0Uq4gH/zTK+yX1PEstDsEmjdvZ/su6t1+Jc=","ik9vqroF957t9N5S/1lxC3uSYsiR2zhBAG6icTttl9A=","bikcuYUiYuSlxc/CGRWc8CMUQCLVTREVNucFijdRlRU=","ekZEIy+niuWh11sPbONpSUuySk4GWajZO86p19twBDA=","8zfdM3BL5Egw9zg/tFUH/R+B0kzYsEn7msswQsfjzeQ=","7vPMj/wKOnrctkIBk3FAXRWh13qaQR7/t/3q57UJucI=","boXrHrL7YarJBAVsbXROLyvhqkf1dA3NwG5jMjRZvVc=","y3F383FSIuuVYODMHKBepkWSuh8rMoj+D8SP0fJTNP4=","6hM4VzR7Mz/OXZqQ8qzr5XQpiqpojiexT29qJj4f4ag=","8XnzBdlQNVcN92hKlX8Ire0KgoDdQRA3eJVaJFNWqIU=","U2afeEh5Rr8XQdY2YkMfVd/HGcxvD11JZp4u+Zx+lSw=","ayoj+WcdxXl037EPV+AY3bNSOB17kQl3qG4rkmtV9i8=","GF6SmFwewsPU3FExREy67WyQzpLghOMYfPanekx5scQ=","qr1Uj91YSVrYS0ARRKuMCB9JsBm8OiY1Rx2FLr4rdFk=","fY6z4x84ew9KLhOMfds+4JHWtzOlu6Vr80rm+RAOAP8=","LJS01CWYfJKeTHz3HYRo0Vc/k1PBVXlqsSxkB8wDQ+4=","xyn6BXF3rBn5RecThvcWwRNKoxhO4XPUUoySdKdNSL4=","bZvk9/d3GvcPgENi1xpki/jZ7WLcXu8J2veQVjQ97ek=","OJkEuloDhVXqOvcsFOvv0RL3BurMrwtT1mSf5Ivnnl8=","ewsOd1jzOeclmWQcqpEtBbbeLwbetGX+raSVzYznFA4=","k1P2sC38Y4ETqhDU2sJFlB+OyI0EUN2ZXHzVuNO5Mt8=","O73UUJ6c9YYaey/Jl5d05PiUlu+0O7woXog4ZlTYxdw=","819NoH+sgT+iatqA+rZb6Gt6cgeKQQFAQGBuKZAWg2E=","IBu2wtdCsqTN0uzCzdytm1fr0V3Q1vEvPCtEr6RSudA=","s8EK5MkyNach/JSH5aqdjQ+y0q62BTIaENYzhu0kR4U=","6RhwP9Bh58fNTi7iI9RnYftK4aegXaWdIqrCwgTHTIc=","YS1iJxNaQPhUIykUUDPZEVUAB3Lt19eFsygNG4e/9zM=","cfmt3cBkhQQS+I0Tv8nMX3uels/nn9INYIu4PoEtUVY=","Nq27DTK3Tfj49NTcXQvaX1E22gzFm0Siqm3X2Y0+rUw=","7YQmpPid3V7UmZUId2kDjKlu5Ee+nlWJ3CEl2t5h1QM=","7dUufl7PphKpxYAPERW7j7yK2VEeLyadU9tfuu7/wqM=","NEBAlwdlteO80LW2a0S0I1RhsONeBdkgmR45JAje6bs=","4nFiJcWAWD22Ost7Wk7mtZCdfVfALiWoqbVdutTDd9Q=","PK382E91xeF7vh7212dk53DhnOR1lWV/nEoMHYlBk90=","65kRGpjUgoL738e1GRhTu/MTc9hmLYgTFUfRZ/quXXU=","FkIxNt/2+yC9Qgoh1hMGfBX9sbsB1y5Qe+aR5CcT7tw=","ootTchASf+eacwcd9csqly9hqMoQXxgpTVOv8zoZODs=","0rcjXLADiGTrlJh+JTTiLV7ncoNhRjyjjYKYEJd33xk=","znoAiRkEKGKtF3KcrStcMTI5p2iFDEAuxFaVcNdurQw=","B7MksgJmsPj+HHG4bJ3ozrN86Se8i7iK9JOO7IfdADs=","GGrskwFoDQKvP2ZpO162rM/pcSeIZVOhZYeBuJAEu5U=","1cnYk3BZ8ik5RIrTlrjEsSixpH7SLA0T18favwNWLnU=","ezbintVjA1WdBTTR43/a68MB2PPX+bZlwCakcYFWPEg=","xu+QueEfrgYV+Px6oZfRWdMf3UK6SqAifAzx4nYWKHE=","9nWeO1ocLJ6njSaImN6GfJabKvZr3Shx6XFGHM26ZVE=","j21BvaT+FQ0GnshjG6sQcRChGZRKnfFzPtGEmG7fjxI=","TokhiDd2Qrx9hN4G6n0VBfTHEnxK16rmPxypId638eI=","3XJk0RooYuaI4bQeuMeDgxZnm7R0E+xE8jaQqebyLCA=","JAm5nHYV+LlIcSpjucj8/qIvV+4Skwf9yJ5c9tFq+8g=","xsFNNKv4/OI9WFgWovP3YJaOz3Wn1b0cLDKRsy3zfrc=","iOxSoeUO0FgglAM1/bZh52NrHIVEeCsxCzuUm8bIU7M=","FE00jhorfFUajJJmDm/6OCgM0T41vE9GAv5CnhrOLjM=","wWSHpaO53f2MmQEwDOz57x0xvxDD40w8e/OcuHXVbOo=","zBM3zLCZ5D/6VGZeCEcII3+De6dW3ped0H1l6njN3Rc=","suXcdtTyP4Y7gPd7R/hzh74xbpLs5BJUS+3+EX3asJ0=","g2WR9R6Gs9y2OUFZDMSpVybzkgr4LrNX8GiJ6ir4Yr0=","UtnCfaNDYBz0OicWRYbAdcTmzjISxNLMpe761+t7vS8=","jXbpfDjObfkiZ1j7b11/i/Hb7WtYAI3wGVkUasMsxzY=","7ex3T75wfxuQKxyanQ2nanC+40JjI2zXgZW8Ry9hUH4=","eM3Pu8XzGKq55XLJu8W1BULDCKsgzvNg6Myzc/mOklw=","y7ovQPGfVT63QYtblp6rmKxOYpdVjZptfuk4K6Q62ho=","4ilt4I6ezB1WbVn7EfXkELvXvo9Kg6rS2oqBG+Lb4mY=","SbQC+b5K4QZ5uwmAYie92mP3svo8D1KB6ST9D853FzE=","7g5aBnNf5J9RonvcmgaVfRCXt4dBC7aVu9SztSApfK0=","Xrb79D2oDnPANRQ1uElBHpsaiYCQ4ZMsIhrhTsgfbBE=","OJyct1S70CYTR15ivVTYS8JH1NP2cysOdS1Gb55F3cA=","qTqjxpCqrubRl7gurHSwrLFskpD7Ivb4QL4DftkWHsc=","hGFJTx1CSVl+de9KVTuZzb6sc14dzBqhIAnwpAm6FlQ=","kd2KlS+lG5MztXU4bf2drfEh3LCldXuFqG8i2ct1BOI=","s6A4cn7U5FNN63FE8DpeFVQPmYk1BkCvjuLpebfGb/U=","e1XbMJflC2IRtwOEFXwBmDDT2AY4FtH7uL0r9oNQH2M=","oKUVmlrwxs9z8gZ5nyW5kC1i5fNhYZSl6aGHWh/AV9U=","qEq8MmGJuENVgx5SP7tcpVT8aeAPzpPhfykO3w0QkAk=","7tPeJh3gq+y2zqY24OdPtcg/Xpj7Ynk3DaZq6SubV4g=","Nlww+q5FJrFQfZh7Bhn3stO0BnBbRRr02CUqzq5UblE=","fyTerO1HgsSwsUJ3GT0y8gYubXiStmQKDK2kUrM2MGw=","escpNMES4ZuNI1IXGJTLTBIJTS6SIn18wnIQgsaoYLQ=","7jI82oWzwLluJ+4LeVDM7n3SMsK66m41olKpreB2qWk=","nvrOjVXhYMKa24YrLbzjsDOIuj6rj2qCawhvTAcSUxs=","Bq1sMDN0OrDUO0AUlliKfjzybR3forARt4F6ai7OIKE=","AFoVeMQqIV9xSMJEcr5E3WfqCGHqhi55X4xrMFuEu4g=","S4ycQHk1v0II0FveG2QbvThzDZaUFoywcbLRMgtH/9M=","+6YCxhK9fk7EwqCwKvIkLb+QFfOdITNTAP1PSgIGd0k=","QVWcmwkYMyzzWg5GkAybKgxgsWTJSFYswIfwqCB8XGc=","JXb0Vbo/1g3awyYqVsAZwnpLe3te6iIZnkZxYTGdGeA=","ilnTronTB/xK8GpTYyVJ8hN3aOq6aJkSKtutNRcTzUw=","g7opVsMnerdd0gZe00bphjg4ennWFsmdxAMDWHekmJA=","UnOpFk6uEzDihqg5CXtttDmZafWcKjfT/+LZSnVUG1o=","GsoE5n/xNs6aGRd01OkM0zfsARhUnFSWdalaV8X9Jas=","K/L2rhP5lFsJD1gUooj+A7+mtk9pTmIGqttqVnOGxwE=","79PkIQf94II3DlpP6iqaNkFiyq0ur+NBrH0e1npY1DE=","KIbAxfjgljr207K+QlAFLTbgnhdrGB29Fdjx9hZse78=","g2d8dqI5XRXvoQaod3z9mnlXKV/bWTtVN1SzjyqnVPM=","6lrInfpQHSaXTXy0G/2lVwYUMpy9IQ1g0l2yNm1XWb8=","ohb2M1tgJj0m0N5rwkmjdQ7DK1LgaB3APVDmxDbif5k=","INNmcmdF/K1euoDlqsz+ljDSJTo3YSteF7PSAU2vtBg=","4TN4yZuU7RSILQEu/XNJ+glr0+jXP1/Ue65CcPhp3m4=","/j5iI6CkbRq/cxvHzqQgkKnveU0AVj3Bn6bZs5P5Kd8=","mYfdzbwD1VwQJJ+A3CSEGHA7uM4igOz9vFTBHs+cPLc=","bH6MSs8vbrNCP3JubyxWWwU2XjbjnzqquTNtw6L+OX8=","sZs3+xmYSSdzOAt6PUjNabpOGTpQBQDwHC+0Dt9Revg=","ZFw4xrVsx+Qn8f1mXa4puTNXN0oulCL5TXYy/bp22U0=","pj+WZOmTy/nGhICUd3ZldrbQFi3r/o3QWjljaUwuITU=","+kcJUIGCqJNPFu9CY0lwOP/RTDDPCoY0JB7gt4Eg2O0=","1r5xbcP3enGJxjfzqUkpXcREeicb+cF63x5BEpY0hVI=","DsJp1SmlSJUPN1uTAZgdfb1HtrI7eQJ4fEX++JngE1o=","JCcp7b1M9SvGAyByrTjyB2BpR/VMPmfY2hlrrIY1KPw=","LPwvz9hAz+zhApm2nfVafDKNvELrTOKwBun5/D4wOso=","TY+K4agqDkzhpjsyGq4SnQ2gdDkjD+ea9gGddHREjM4=","KdiMivX5mH+DyooleOzbFGUyVnOInE61sgZAeC6oy5U=","JAqHSsIUgSFLDd5jNUWflqG8RTnfMLYiG1+8/ki7tLE=","IB/rldZEzhsaalpyu98Pa8ppeA1MsB+LNNlnGDQ1iWA=","QhW/86rHiyXRtJsc84BD6aDDrNBviJdCWhhPpTdIZ0c=","4TsIiO8bWp4+5rkLlxVGgrqY4rFRYdi0JxzXHrMRJLM=","loLORIR8cQxp4Q2HbZo5OHWpcw2l6kfDpU3Bf9tLwJo=","zK/SL31sj4D5c8uKcruKFmZLSD3d8Ed/9Usa+FOIBCY=","9/3lzLkBykU8RBaG3UetGR5fSPsmLJQCwrrV9+LfPr4=","Sal8M9S6wz5Db440BkOMMHTeUoyuRv9J0K8p0g4Mwxs=","xwP3W/IuI+NEnEOXrtqB/lvsdyT30sM9EMoB7T/qvB8=","eizhgw4JXLyihjs7aHJJN8cr+lA4O+9BDX5Ah2GQhAc=","BYswADC162WDrneLvSYwDnq8Q6RJK3Hf3fA2m1JgOxI=","K/Diw5nFmfIdCJXkrZWtUW9PX/Cvr59WbkUANUvd4/w=","N7BfprZbQvBi6Z1qq41WxyMtIrNnyBtNGJV7/nseNho=","lGX+jgzh5tPN0KdI0BSyLOqxZDxZD6YoKVbnoiSvifU=","4aBrobC1FVpGS6Zg7aNdVYGeZTQP2szMbgNl6or4P5g=","6Q0DLxZbeGh8gODEKDjzQlq8fmpzMSZyb6TGGCpLFqM=","/uHrD/XRf6YQSaSKqH8YfiGM7lqeWLikpBOSXpR+Nk4=","K0Tz5/M6ZRtFkyxLmcn8aSdFkI+Lh/Z90i/JfwXff0Y=","IG2vQbxgWtBC2b/2hfhUr5MPYrlANxJjOwm6cj4ytRs=","JEcjsr2cMWl7czGS2IqBuUtoMkf2yjXWS9oCvSofNBA=","x1bLypZJtdnJLZGf17S6tPyquM3PtKHuW5lq9jugT1E=","9DSB/gj3MBupXHEsZYn9KeadjZ/90j1ukzbz8gyf8b4=","trTGE+hx5+iyjf9HDC2ZnauIwqBp2+u3aSCAxR4UaBs=","Bc1183Hz/r4BTug3cA5toSV89kXap3Dg9yhXG/H0xvQ=","60rSeb9jgDFRFz9x00wdh7co0iAj2Uh4xyU1QokmYgM=","uxNN2PBkk0D8yplhN6NG2tJ+lxrnUZ0yLAFs1/ioj5U=","HEuP9S2wZcLftU/GrFTDw7xJae2YAryS3kp1tAVTCes=","KbpVlEU4lEEGYAsUvh8BRrnHzdTJNnIaheYJfcruqIk=","+vuKg7Mbxt86eesDA+iAr/v7s5ixyODWUr0dh6h1UdE=","psV2zTl2GxXdQRIGpwlff3CC5SqTwqfjgnxm2DqELUQ=","djF8JjdmF2+8Z6E8U4L2ZnU9zb0ECp5zYwy2ZoGenGI=","i68uishaHhS6Xf0jaC2JPO84DJhf5jFtXngUGoUTAaU=","8+a3/ltDsZEaEGZttPXBn7HdOtfw6Y5UKpgRQzDElhM=","RdWcCL2XFVKDf4W/0ZOpfNvChG6fxRcIBA6L3gpvSrc=","GKmBdXIp4qGFTz/P82exqDQc/CxJfsWNkskiVS/q4Xg=","NXaCTkjm79wpywYP9rP8TB2STy0UGXiTC+z9vRApJNA=","Dk///fJEGeXq4d7mrjc10CkfzmzXErYLhDQ90XP2TKQ=","Gjaj5ytL812BPUnTvW3hwCymSptQlAZ0fE7zFgBRD3w=","u6NSKtHiyJjErSNq3YBHfhhaL8jRa/Z206kHUS3bA7Y=","maajy9HdI2sxexIUU5xO1PtASp4tmn4zdSdvug+qn60=","HkpAfzQ1e/JMY4Kzk+YTU3cDwP+5mvtQ8biLEYt2z70=","I0Ta+tMKpbrdA82JH715p2BF5yU1U4n2vUdLwVVtFXk=","7n0B5lJgzKDEpD2pvo0yq14d6t0mARtS7/6LGe+AIlo=","Ix73ydhZmlz8jJjB4QNS2YdQuLoPuJ231qfll2vO+j8=","NPqS42LnC13dabWj/Nl0PLn74xMCjsInMZSNSXpIv30=","TgN24oRRWiPltbi9ovKoR09UENsel43/YDj8ML0w3Bc=","/gzxkk+M6dCUbzH8jtpftxUF4m6k2z/xT/+XBJsOTHM=","/FTgOzyOein/xWq/fUh4HPlKhqlLwZHDAKWXvd4whFI=","usbRes2DORihiMoUI98d5GVN8/YDk5dU88RWRqQyjKo=","VyHFVHrczRHSLVE/xO7CPPmlaPZqTxMLNLcRI6ryF7o=","ge7PAqFiMrj8QuX829opN7dJfHWW9R2Mwz6nr3mhxco=","TPIujPHEiJPEPDe5cXu+4XZb9+7YmXma1MrDrW9M2+8=","aG9H+tP6urIJVvIGiaGo3tDLB8aQgu9m+xxUu85DOzI=","3XbJcneKbjxiE/zJ3seWLvFXiTqDoVB0Enf+5Yaf7rk=","Bx9gLoihs95SHcMh5wAIe2h3+VNqWqwHk4XltNQbr9g=","3HZaCmjLSgdVnLO9+ZQmmrPwSFOPlY5GEIU5oz72o94=","hbu8Pnc3/o3REMSKV2gTmocdxjnrUkKWEClcTnFA4yU=","i5AR0Dp2buM1tq6wOm08oSrhORHC1fcD0fDB/xvK6Qg=","+38rwlkiA42AGwQZipaOF+i+7dNTEmWIGxZvL3u90V4=","ByYnBslHPKHrcrMF7OzL8UCudIKOWOSyWuLS8Z+a+rw=","GVE9pgQ8gCO9vey9ny4qJd+tWbqPxw02k645kB92Mbs=","L8yXEL9mj7AnooqS09XeVmoDf0OYEP0DBkpBet0CkyE=","+5fT9opPIT6ymzmJMpNGmbm6QU8aCQfscl2RjFgKMgg=","lwAnaDgB5UNbayV52+5xYgXIF1H4sUCwWfdn9VGRvn0=","Gwol2DnHjyKdrCeTyfCbHR6JBclHWbQOczVmkpnygGs=","n2FD9pOXNf2czJrwmGzDNNDAxM/M9u5ajrF4VaZOc1c=","UGXjaX/tl5KycCAQh2h7jU6cjcIHqVncCQVGRddvQt0=","0B8B/J95vR6Pn5YDJzAZ5DA12g1X9uswVF8g6rLRF50=","SInyJQqSKp1F/ZfdHwsaD/z8evKxES1ujGuFk9WN7gU=","TEmhlSQ6RcJE5XN5idEhft5FChVWYqCAVhtmvxBHMUo=","V7Bwx4OlW2DLQ4Whx1vCYd7iLYPBg2kK4eeQAyWp/KE=","IgFH6qtPT6vVl32fcQIg9Vq4NFgGZNUyHruQ4twHrMo=","99LO96I/eLEolAt/p8KusphurDz0A9HkLsM9EFVKumw=","l6aBeBXXG9U4Er3Pizds5LkHrvxj+QMsVSt4l0R0iOE=","BIXtK3i8jeWfmBQDviuwjHMG56BM0FCzwENF0A1Lvgc=","yEkhaKXojXyxAGFouSom40OzCBOtdtuneGP+wwacMhA=","sJhNc4XRwbk/rCbMs0XBMXVZWqgSELYyr1kX9S3fwqw=","YadZmpKrPvL0m6qBynRd688JV/l07BXhDHpSoX484TM=","0XxqX0PL6TlAcdhhb/DshR72L1ytoezqQijxaguKYPk=","/vLStVqq3zv7i5xF/kUm/q3pJzxFmJY+/QNIn7bvLOE=","oJTOlI2NtUkSqR62a3bsFwTuGuHv3vnN5tseA/4M7XA=","jKXb8vU+Lj9dPYnlbAV4A/sgHPvGACTLkxdK08HizJk=","cROFvdjN9Adh+IIbGOf3v1Xna+tAatEEjXaE/bXJeCA=","I7vQVWjLfsYc5dvPK+yXxkt36S9vXoOvmmZnFrNipeQ=","rM3vMB3as2vEekK0y6rj0nNzjwHT6tIuprEY3P4ET1s=","TkDYGJ0QZm9MtmK4ab1ts00Y++oGitMisyMXtVy38H0=","Oi/+oAN283w/qcnUpXQoNadsQ9hGaM9Emknx+pJZjhs=","3VMnMsYzvZDjKo4U9LCwH7ELLrmjK4Ju/J9l47VuWag=","jAN6kJ7UG2yFyk0x3Vemc7JlvxshboUC6o8kiiSrhkI=","S5CaBkiWz3v1gLbb16SuiV1QJIm/Wkm3zVlv8Hb3qNA=","AR7n4yfWWOSZQJuSTdQqEM18oKyAiOqshsk6d0iyA6I=","mRjN42XGYfEv+6l9OHVjo6Z5RPT6mqR0ikgBfZA1yIE=","95UL8RCUR35RAI2CCBXDgBbJeQuDL0GK+KNHP0FTcOs=","62D4HdEcmQ//agxyQr3fMw2vXCKvJUHSR4EO4GXnxZE=","686UVoJhZKFGQLPhGbXBzl711sBSVQsG7HsyT8NaiDM=","Q/PKnyivJRfYSmF9871MWy4Z/8TBkjxPIMFzo6oDMm8=","NAbN56tyM1oXKvM83J6RGeOUhSdsRTUw1W36y9OP/WA=","osYmAJPaEr15izuTVKlakC3MN+y04fCDwvjMa/zHv5c=","PoCYlzmcrZ4Um6j2uGyyyUwoaNzDFvSqgdfzoZPBopA=","aqwQUObJDnm6rJ9w9eI4/cioy59+Dp9+qeQ8O7067c4=","ZXn8Q1CHXBoRxnPkfmAG852GhmIR2fcaRuJzQiBJYQ8=","Tw65FXxCJ+U1kdL1VUPRkbdr4yhvWvvuOJCsNMqedKY=","FybzmSAqicumFmEG1wGNR9Bvw5axns2Fp4ZueMBg1sg=","J7pWZMC6j7PueUvdd+zobyixlcMgaW6Mdhz/A8xXm5c=","XAdf+t/1XtOPWKB0nxCeegseW1Ft1gfj0k4EmCSkz44=","TdxkI5bVsmPDF5KPT6LH14/WWYL0hib8Wjf6xUu+ng4=","Z6Il+H6G+sTU2nfdCqcyFIVw02QofYCdBV/o8ZK79zU=","+o321nC97o/UWOP1MOTymTH622KCGq5sJROfM24PkBs=","TgpK55KeJ4qFwDKSo/QAKbUQYMDtXUBBSAYIsBmLYwc=","XCpcqsKb/6EKYcwBkaPCCULUCOQoaqQpYLAqhe6KNYo=","GMzGLA9ZlWJC1G/n0TxKtVMjKZrPk1fHeQy2UabPB60=","esgQ4CpEZxxwVYm7dkuE2iT6nGQhLhZ5OsTudD/cs7I=","QX0EL8ErDZkAT0bQgiBMBjohisIaF8/GUL2PZNS/9QA=","cK8pO5anoWrY8pTerFzIiVOAkJXgXrcpcn4TIE+dfeo=","llhp4Ql2HXb9PE6gOXU5c/ri1VF+z8iyxCT2+dUlbJo=","OMhjRfBf7PBHKpWTtCQcftRLTpkwiVJDRxxLjeAQd38=","QLyp3Sv0oTplWAmNkHsrS9DYdUQwM+DM3Qq4c9Vf7mo=","42sXjfoNFYucbHsphwn0eAss5RItdXZS4zSEzr9lRIM=","CbFIzkrHXqtmCVw5BkCpmr1JAStBWtb4C2wMePhqte0=","nKWHTYoD0eCWZ2DVhjEg7LTKFCuyFRZ3G/mo7OT48kE=","1c8ixBBXyyne8GTMWjbNCVgLshJRO7ib5QHs3NDDnSI=","SS63VBy21VVzcwGLRc8Xfo/QDzaz4CvSi8TA9i3TvoM=","Y3I6ENF8BYmCG7tdNcjtNCapS8sJjoHhxqywy9u1/Tg=","PVBPlTDLiVORxmH7miU030r4tGkf3SJrxv9xjig+hWM=","ZwwoJ7Xct2+UKZllV5PD9ucBDYZewgKCI5uude2dy38=","vmOs4dr33JVLjfWVTMRPWKn9KEGb6VgU8h3wm8IWDmU=","Bx/Ulcc8jCyUC6s+pgoOLnM7RMdUBUliAYojXeNfHmY=","Zzmbc0vlX11r3WvbUtvKaSCeq4SDihfHf7N4r4+3WgY=","rT2Ny+OJA8CBwouAxe7h8Zw+P+A6nwbfZDXFlPyYbuM=","O1+y0P7L4351tMWwwYU/mSwZtR5mst8AXitDxWNGKg0=","apC3ASH/YM2srldi1z/VBzw8U6+/uplzSi5VYHz6c9U=","gmljn7dQp1IlM9TkeQc1o6t3YKyyILJ8FGETsAPiC/M=","idR+GHnUuJ1xIs43y6/t7bks23LYUuSfydXvBNKoEOQ=","oXzR3U6HGvh0mREnIA4oAHP3cjIShJ1+PW02MTjpsTg=","LeOeXyrqdkKsZoZjjJig8g1Dhimh1Nf0+WeXrKbvXBQ=","WOSrg69/q9HcF9xvH033wUftlSkKpGgufn5VVsK5TWg=","ChZASVOvxFW1rYYxur0yvetQJakJ71/RvvfyHvM/ItY=","gYYeaEksKJYlEN8BO5cUGh1a/XAsKRP+fFpF8tggydk=","uyy9+/RoH1MmFWQjvm8WiwYYLe34ih2SPD3Mcu8MWyw=","8v0ptCkSTRms2XkOegwQfRMHKiVaJ/U6QTpOMarfxRE=","77jdLRbPVXUJaaWpab07Cmrob+CpkAgCd55SRMpRMuo=","Hf6S4cZDQaXGGXnfBSVqEh1l5bNE4uV7/Fq/Kz6zF4c=","GtYmeHUt3T9i/KmajkZusaO2oMplp422c4rGTruDMdw=","kiBo0eRgzLhDZclAFskIMUb6PxrgY1HzXYyfqyC+NW0=","89xo3QDlb96zQ6O5+eGqAGLJP7wVTnMWQGDdZCRrpyk=","CAPrGgmKMzAuXizx5LjW2aCykkixe7ASR59cx5ojm0I=","HzbuZlc01MsnzSLLEOATcvPYLwYkLIGWRZDWYmJ7dO4=","EgkqfstaUxcgPTdyGDh0ZMn6xLr1iJWERIiBoOrquAI=","rVKo7v9bwS3mBJZck5g3Sgelo5DlGsopX8UFHfXN23A=","VvP7qRLoxJHhXw01k5LEUaBkkSkHp2q3xh76+4pVJDY=","JdeVZifIEQnjhwuazxEHsefMoRPyta/eRKthvNDmwwc=","1L4NaU7xclHcldDtvhhKDbR7v0B9DngFiuaxpzvNBic=","hWDzkzr7ArgeAovPZWfXg76BX3zFFzlpMfWV2KNpFQs=","m0JHEjWcJ+Ud4YypEB0E63psdJVkHEZcbLVjRElWtvI=","VIJwrbFEKd4kfG2ljXHlfWjN8HVIbB7UYN29g1GNpW8=","OqN/vjHGrjiAsMkqrXd7ECgptAffxZ7NWahTciNpCRU=","DFWtNbbLvTMvjIhPnwbDl7DSzd9NiEVO89wBFC59Uis=","vejWq0ABpdzukI7Dn2I2KnZYSEB/TRlTZMZjZnGreN4=","j5i3RQTKw3ITemyRTE4aeBReKv2eZBya7iww9t1H18I=","PHRjPYxGC8Pa7L9hUbmVZgKpf3Ea+5t3oQ9Ea5i8oRE=","Cy/GVdha3q3Jc5M9+XNc3dXcHevupaSTh00QasPnRAc=","lebt9aratKxv93mrFcLpXFi1IAm4t22v5ZXRNwKnIvc=","Ms7+yFa3ZTxhRsl1csYBE5JzvrE6cXYPoecNB3RDYh8=","d/Qfhh+jwmOQFwNqT/uoZAG3hrIG3/f/+UBmiB0am8o=","mHWxizefm2TKMeblX968szIPwGkkyujCQsm/pBNn4iw=","i9dpvEi3IxO8Rp3ysMwjwBMxxjkOP1JgC4TkqWAM13g=","YT2c6TYghAj4GvCNgRt2laOPIKxqJXBrN3PG1r73hK8=","YFlzKXUiUrk3jC0PrRnkkI6Yg5uzaCW5XkdCEpwvxCQ=","MVtEjheOovNixW7GGsag6JwPu7Qq5z5u+RElFNQZUa4=","KTRH3KcPMXPAeM6DF4INn31cA93DUMfB3KmWtZNru8k=","yJSlfSltIwSJUgTNLvwDppw+a4PUGS6gW4dECPVZ2KE=","NAowyqj6c5Hwrx4syz/13IXzTwU6jK5tleDjP6Q2s/0=","Mtf4xnEhq+nfPWV8ZEDSFwnRBhRpKjx4ATX0aKuwywI=","Zkwdn+Ki3Nx3TZA0DYj6FUV2SLK9LZ+wC7QfjKCJb+0=","134hAX10htWuYhxJEXtj73tG3JRNbt72IkJeN8L/Ong=","YlKTbo6ONq4+a0xTb8eD60SVLciJLl1acE2Y1ixeznM=","yjf4c68OqGs136CP+NGgmgar/Wvi6a9XIqZfjrGPgGc=","HRne8gMlT93EsNC7U+TV9fNoX7jsIYrqoWDPzTEnzug=","OC7itZibdOgOZKPOlRmB49vwneDX8EyHLhCI9twduss=","Q/5Xxlnu6piaqqTpoULUA7bzkOcPF/mvgIgLgRBTRuw=","m5oLx0cpXG1ojzWplgjaIyYNABrbuYJsCDayuxM2s6I=","26pM63YpIvZt36VR0HuYmsMpoNtrvtyl+gUqSUH2dKE=","cZlvaSKOMuOkB0OK3zgU/cRYBSrxLgCwPCSRzpOJ+gE=","gWkTsi9n7lnV9Ub4USQMTrbBMZrloB1LdbrWnEczSe4=","s11vKCKnS/mwxQbUhMUyg0sQceJjjWcmD0batAqryH0=","8Q0yWcApwRnkw0qci02TeEt3PfgWEcJ0v1Jmzwl/9Q0=","6+61vpqyQd5XMr0GYZSaL8bbHzNMh6MHAYgIKZ9rWb8=","9SPApZxyoN8nGmNLSLAxWy+iA3DXU2pdyTWIZFGgTNw=","3jWsq/kxWqTkEayeQtOdSI2GKvKGV4PMlIfrHDTbqCA=","9nLLsJYrPlctGKtxKD0B4fZ++CNN1PNpcZmO/SWzIrU=","BFeSNmqzMIhGlBsMc+tKiQ/cxmPqUbcQquBN470qJw0=","eieCI01aig/SlGTG+dx/5aiasU6v6razbtPS1O4La3g=","Vd/stSHjF803cYm463dhSC8qPIgS8Xt3tT+m3xb909g=","85DYEp9pZESybd9sNehOhygACq5FcYM7QDTjklkuuz0=","4o9gou4juA8/GSLNwu0vANf0yf5J96vg6jvl6PCOkA4=","TyOOWrptNKVpgc3+ogwZ6n19qAgmLvZZmC/Ezd6eo1w=","ws+r6shaZo5WV5VzHipYfSBSuTpHJS0jGDyXMVUJJzw=","WymFpUdCdx56lNQrpl6zrsReyYhpRicqzPnmwaTj7lA=","FlsENgqJ5niYUWu3jiimGyFL1KZg4qc3sZ3/o4EWC4E=","xVMg1E0s8zYfMNZ2wGuO9dzT7ku1Y1ueIa+aNhyMnIg=","ZJbUdjDiuhEwprlGQobFTXP64CEZTU/02//NiHOyoao=","/ME8mHg9pHLbkZnsoa/Fjc2+iAEexRhxOTFov5/KMNU=","VBDzWuchnNz384elPEOipAnSf9ONVjmIW8j6jgiWua0=","tSJBBh49MNyj6sgEA3EABLBaE5I9WJCFpBaEu7TkMiI=","D/d6epaYlzYLGjb9ZD1CswC8iHGavLgDuv4Vlb4k8wg=","JwHIXZAeC/9Y4S0Jxcmfy+v7l+yPxMF+bUjA/TdvOH0=","AeB0CPa9Ecsatl0tzr3Z1OzObyhqvkn9mkDZ9Aw/SxA=","2jcnkUHNp/FoUSXmJ5KsNNh0mqQ0Pe3iU1KkjC/fhoI=","cQj3en2iLdJvISSD8fYujfFv6nknVg+NAUwchEY0TFg=","L/dRizxhRSA/y9O0BCWe2G0F30/won0FjtQpuF2udhw=","sCMHzl2rOSIdtzHIy0Z8pDDpoytC/9HtJwQMwkVHw1Y=","cNPbcaM+s+j6beuOMNeA80ReZ/CxlTE2jOTlWx5P9FU=","98GcF7LlZT3XR4oCDFsX3hl0eiuGRW5whBBIsmQoRnw=","EL89GgXFkragHxJLJ6X8gN9xZrqW7dL5LQ3jnFAaWtY=","WPDCZF4O+ltKraoAVwALCNTHLbVYmPROY9YrluslSyE=","eoYVLJipDCG0jUTtL1zXbvH8mXR6CdA+NDPyJHnU1JE=","nywTmdm6BNx/+4fm+yrG9aPMghAWmFIuBUqFuRHwmqI=","u1txPk8sZwr55JTRrg6oeQ58KTYExohQa9ssUreLGv4=","z2kchdYnTKxiGZ8lPVgb1BVIitcJF/PUrYYRiN0q4h0=","WUO2N0VK3pnSsB2qCWJG1k7dzooc2+gZEmwvifZQJd0=","hwp+vqLnh1rVo2csuX5TgZyzuXP9Rb4JTFbiT6Q/+1k=","ATNPP4fqc73nLwcsJ6bUORfkIUh/iLFzy0BsBMYYUCg=","WNzq/OfFhfuOTgPALXrv5Q3scCrH7cHQsBpsEVX/bMU=","6gIpAMnz3ckuKrTnPY06T07HrDxWa19Bsn2EROPSdOA=","c6SyWqTMVDIu57rF81XmCnWYRIRHsNYX/cVTkTSQnL8=","KcCwDkjlV+U/A6GJrT4nRuH6FHsCsppEwDA3ZSUZdVE=","uYnMlZYAv2eM/wVUesUlFjUfmTCuIBRNNDmUsn/0BtM=","hMQ3Hs4Rwc1WF+FcQoWqHPzWzNIq9IL9rztQc9OL8gg=","0U4ucxQaH5Xc7tDQNCMYFzXogZQIYUOY5GaAcL3KksM=","a13/afTe3EbLplXpC6uBX1yEMQURYlsqVIjAXc/KXwc=","Ed7dFyrWNSIhO4OaYs2ZQvyDFVKzSGdyp52D9rDZtHo=","HvW3VmARyp7mH64F2wLooiMwSvSRMYZqBcHOYv3tlT4=","S96BfALz3SMVadVTfQWRRqoFgei5Uw1XF4S+tsHx80U=","QJlE/o7jyijqgNrbibcwngD4ChY+5XCkGupMv+F9EWI=","M1XJyeTB8TJqk8oQICUJhYmn9aRsncBrDTXHYmGEEMo=","tGllFxJnsX2c7ut+or2kYEiUTEohtOx233kfrqAu3NM=","U2u8IDZP9yWXVjVo0BQ6juTx0sBQ5J9BKH/+BNQtLpQ=","8VKs3mDcZ+qUl+agQPx605N15RXmFQdRbJsfdpOPp9E=","Vv/Wx2gDEPrKBDLa4+u+PThcAFuhRVev8CSiJ8LlJkk=","csMepu6PIBuAz+qdzMjT8AmupRVgZA4ijp0QwWE+/2U=","a+xOhAjVfJz7dnoxzX42FBYzxHXq3xrMyVMWBEj6Hq8=","yFm+ozDW7FH7pAUFEEMlxce+Xk9Q2sjjWZAQApc68Us=","OyrHc3VxleW5ptzozy1juLWKJuEnM3H9wZtuq7E7VkM=","E/pDpBJOI8ydBXnwCzxkTHK5/v4g9UeO788N1jL9aZQ=","3QwSBInsSc8BlOpK9wcgHX7jy98ed5GsxWZYIiteCtI=","as3b64ioqI+FTZ20/rMi8tWrinB1AKeMpsLpxODtjj4=","eS2c/eEvHQN6idTZAcqy5OgW5+cOHCL1Mm+Yire/TgA=","ge9X9To+IFK2GKMvBRlWbTL2O7SGgj6eSrSYZvs4SKY=","iOCf2n5pSDAmd0HitXBbZxIHtyBZn19fnpsmB5fZz28=","jkm/hQoDVa//ytodf9nQoZcgIrZM9aRgUHQPdQvycmk=","8OkIludJslPLJ7S+QlO3vkvm5yjxbn759fQU4oIX4ac=","e7f+e5IpUQKHD5ciu+KoOdtkndF+/ZnLswB89nERXbQ=","bsmmmEN7LmFPQ1CpIcUn8XnCAODzAu03XMr/GLAl4vM=","opljTaVT8j84dwMolLWj3iDjmWrbhfVIElKTqh94pfk=","5mRrmVEtCsEyDW25fZpJoS67jJW+fNP40SPUn4Ij/bs=","EOl4zxMhxhmLac3eg9rg2rIWkivjRYOQ5XgQ+NQfe6E=","XW3JXsySNWQ3sy8NNCRzM6s5PecwnMsOu0ptegqANW8=","HkSrdu+cOeHqXOTAGhb6lgcVCpue1PZ2+TLHpZ+0nkM=","vafkNE75W0gqNku5hbBbb9fFy3heJkDCkRn/d97Juh4=","bS6DUi7VRWn0YOVP6Nfv/xa1aYFtYtkgWvi4M4RxpJU=","XTUJoobBoYRfOrHNCHQc8jCBaEMhEkz7hC6CFuS5HSQ=","32EJfU+75XPsxsIAkb/NCcXFPSd7ByQypZpDrFr2NLs=","7T2TjSGEs1+b0jQYT3cNfww1bEH+LHcnEySp6RscZCs=","O4NPlbQ4m+0/VkatUN1GJYQ47oBnTHNHKtGDOegXqlI=","FDkX58P3iI99Cvs4wJfzDIljZeq9sldVBQkzsbCvYkw=","LaP2C/x7VKp+XB42Znpu4Y7ZHC+luB/7huWyrF6Nk6M=","k9aYMcZCEiNdWkHuaaoUfxpoGnZNxdMQ1o2hdoL+m+M=","+KlObvHcrTI2HmYZmLiDqwTGA6gS6HvOBbckZqYp5/Y=","+aeHUu54QfPhDJrllfmkjf8DVVOAyPLrTxt7MjBAavM=","p4P3JyyObYRoCp8o6D8VAzxweYsmBxxI8LxQiKceUpw=","/IK6N6fjvl3jyWi+vCHg5ER4dScaPz58eFvXoO/Rits=","kpMSDNiyVN/4s/M+cnxotsHRcBEHBPc26XthAxZ7kjo=","fcgzYdAM003udxl6OV/8K1tFqpor8EFnEpgS2T+wLbA=","edFm9sGZQDcjEzXyLg81l/HV9jwpeaV3pRVEZnDGbD0=","bzt/hDsjukTyHnfY7Lx3wCugkXnOAFLvf2lLqUrl4Fk=","2N6AMO6Xbc5DsroZynmRPvhAmsH4birkr8leFFvwJgM=","81mr/amSOX7IpxinxmNlykENLAd/R0U44zT+2yQk7xg=","F3JwsipNi2lcPtOJiQ8ucGqlH6AMBpx+qDcWdiz5Q5U=","8J7LUE7xPKbQTrudOrj9yZTbfVah+BuT9gvshin5rqw=","vm1IaOsAbsh7qQbgxGRs2KYZJ3oijR27+wYnkJd5wmQ=","sa0RAo3vVIy8nBaZRV2cPZGvcFjCiLPjdEWNqril8jc=","cHS2WFuiFYmMQEhacdI35bElnbt0DuKGYNqwpgZc6wA=","3GUjGNCSXcM6Do8dU+9mkrMixVpaZhQPgql3CBOPXiE=","5tnNIw/7hG7ZoR7gbsYoI3iw97Fr7JRx4ciK/UCDxtM=","UlyDgH6cF1R49QCSgRSYNK7h0jdcfYA13Czk0VxuCZg=","49Rm5vTyVZUHM8tCElgo67Npza4uGh9DmzbZd8deXwA=","ffzJnKKX57F4wNoykF7WPvSexm7Rx+o9rbkkVXZ4Kok=","49P5n+oZl1k7vjt5o+KgPEORKzLfgCDI6AttMKnHQb8=","NY5xpHHtn8jRItZZPRJTnVg5Ro5w2+FeeNsdN6VUo6s=","uYZ4P/sUUVLal2HSF31UxXrQHph710YY79HAhKFNhk8=","Mxf2JUc8eL/UuDdErHQjKI3pWYX4ZKfy8SDk8/iat6I=","zi9eY1L56LF0WxsFExDKtuFOuxvA/8/2jiF9whkdnBg=","PMPuGGvJ5w4N3uTbmJKckc0wIu4OMbku6r1SV27skb0=","l31Iwu0EBjC5Rhmp6Ck/KbZAhKxf+sWto5GCUxFMk0o=","vD6sEd7wzedARZ9ARumSQ53GPpOoRxVA6KMXFpkolN0=","xogSlXj9uFjkTjDtbhppyhCG3/3KOuZ9lLP888735Uc=","SE69JxV25/mTST5/RaQSaiVcTvnbKm4FL5mq+oe/LNY=","Vr1bQ4wAfE0HIBNbwOU/CEAePCoSnTPTV6KQAiOwTSg=","aNDLbsHe9k4BMe/T5cnwsNDKoInr2k/k5CElgz+UpsY=","jQW4y9Fq9tHicyNaJ1Hmgbf5/pOQYYCKrWPULvGKVyI=","J1HPUEsdhmfyjlTNyasvbSPkGvI+wuEIte0TBxzsdGc=","bQu4c0Tb+XJ3UdWaSssGAvZzkUjhoK4YanX6ASDx6CA=","5rgIE+uXISXMJDISTWKEnL1iRBelhr4O7LCWTbFTdX8=","ilaSWteaABCZlSfz6WafjqeY2ZTH/n3W1jdsEfkLY50=","fJkxaqhRXOMfytShUyiW0KQu3WBb/wW9ka+ComPmuUw=","kmMKAmpvHSG2Sq+8A4reyIUWs5Gz4kRu2GFTdOivyvs=","2CMaWfjAXIKw0Xkq+X/lwtMM7tBltJLJGuhsBfz9liE=","ngckjsGtg8z7cNuxWNE/+qsbKcW/7Vz81fRjq0QliG4=","iXoMGEe0G9YnCq/wQoTcIcgLyJTxh29XExCW1xxWTLk=","tIx6+ovmwkI0lqG9EfJgO8Sh5wKVpeOonRKr+15Ignw=","1XX0FKn3fR5PuhPJ3JtLp/GCblUtF6mMjQ9mE4QsuHI=","0+PD/gca7P95RA2oAJHeiFX/sEZG0WpnztrHVDT0cIw=","IQBCOl2E8PBMiqxmfIolH8NJa8Ri1+Wl005wU6gU0/U=","POu12nWNGPHPJYyQgiYpliP89PZ46JWkSiSMQRpfID0=","i2i4sqqDUwm3xaDfHFbk1GROZILQTT0NiZ7kuUtI0dk=","cELl/NejsP1vWGC/yCW15ujWeo3/eY/ikGEkGoOB/t0=","Zimt39SJIsRTCz4ekaQbpuZ4YXlbYQVPYvXC/L4jObM=","x5bwlTY3SYMiIvNzzhqTQBVGDjJo9h5d4lrOp2xcfRk=","3rDP7tznWpSqyv1nMeAhVvsoutv/s7wzOPK8Wlx5jGM=","9iiu6hYdk3Q6ksuVc8iG30WG0dfTH5e3LdSc3Z6nKVw=","6d7L6sr/4pSJOT9zW3zqnMy7KVHMy4XNS0X12fkKebM=","6K/5uxsfAbZN+GYx8+3kacE7TdFayMenuqFtdZ2Qdak=","5+q1mKiamDJEecLDMl4CpjKngOyvCkgL/WaMVhrV0Lw=","oAUP/pTL/LnUaY5GhIG2Zc1Gk3N4USGhf4P+XKwPxek=","v7MSePqZl83fOQUDHxYMu5cww3NznAeYLPQNOw5H3/s=","5vHQeU8HA3uuf2dPf0L9MfHhMmtdkwzxp1kcIM+FDxs=","ELmfxTIc8lG7uqOzp40eC0OTmLRYUYjqatVTbF/T+N0=","1E4X4ZVr5PoqvAuTcDBuKGm8hXuaQZUJ7HMf1J83Dho=","Rn2Ld1GwdDtDIVC1L1ggmAdttbmbuPk8IIkI7mQRwxM=","0v4QszCjhGb2svzZsf5xZPHBqvxroz6Fy2RJm54U6zg=","hbQW5Jvn1tleQerQ94qOaZFwb+0/CaSYn+A6DMHju6U=","St29fLoKm1X5moY8HS70wU7XaG8FgC8YE7PnL6EEQDc=","bdTD8g++ac7TEHswJ7uiGTmE95RObSMjxRxR37XXKm8=","ol3ElM5WAvcKzjL7an5zdSmGWTSoRql0W1db8IuC9EU=","6zl4OeJoG531+myCi2+vj7oswGHUMHSfcdCCThD3mDw=","M0ONXNNN9BYla9ZvYTDRFIka+JO6vL0SjpQtGwvJmNk=","7sQpCko9Pko5cPg/1HE5TlgUmPhToR8lwo2yyRYryq4=","mKVO5thAeSu9OgOspfBIH8YXEMPOh84usNG4Q+QHJZA=","DBlPzPree+f06dfqnD4wDdKJ9NOzMEj+GozsUoe7low=","5g8gFb9wgvDZbXCy5nru99Bn8d9Ww355/l3tqZt6VS0=","021jbI2fzBHww+bp/en2BpyfNzKfQllEBVrz9/m9Wqo=","uZn8UXtV8DdL1XBhOfxxNZ4Rs0CNRTjqL8/Odi/68CE=","I3XjktgBfURzODIZmVgt8yhAiC5zrgW/2t/KyJKMb/M=","tfX/RKsgIhm4eCywVgc6D/YAljHVOGGiTVN9q5G7n7o=","l4YnQK12OOK+jOIMwVBhxoY8eLc/pMgGBNcwRpU0+aQ=","6++HF7FR4sLTxsorPhfWElp6j9mbvJikXYJXsKjRudc=","YY+R/h7nTeuLbZ5NzBbilDYNL4fqBnx0225D90yf2bY=","rSjuQqAwxRgfsAYvmqNZnLuX75eOf2x8rSTJaWa1+6s=","GEnWzzoMObdtM9XX8ce5MmU0KiKVpT9aE/vobhSibrQ=","wr9KHn1O2HQ53VM+Y5NFTKU8BO6lpIbYrOMsVc8aQV0=","Vk+FA60s96FEjRX4DJVdlJVyTQiY3zcVVvveb0UapPE=","+gZhJ7+luq64OJ/6QCer/g/Asab9eMsYscM/RPwZfwI=","N5U/DdGZTvIjPGNGWa7ahZsOoa2UTIIICm7XlOL7b/E=","OSFsZGp2AcLt8iM8QuC170Iclb+pVbjHahRdSd6PtV0=","Fjimn8Utc4E5o0htXJVQ5336WU9u+YS8leuHm+m2C+E=","REgRhJ/rAv48frkVVIdmLr2Yb87rz2Nn+2fzvOblo0E=","UeXt0p+ubxD5R+88caw6nKMbRlEH0pWva8JYXcJkhKU=","Hy01ck7l5rjyvbJj6VkUe6EKyUyDI6MK/m9JCwaBKh0=","Pk97djRdXhga0D2ls5G7PjccHxdberNQaMqfrG5Yzig=","r1pmkr0j3BmUa0fQ6kHyJ6s1RImrStTfugnW2WrSinM=","wAHKyrLsIIBithvalMORuGHZcaZKJHO2ouB0PFmh9j0=","RW8pHELNB+VdOpplBFmAo+xi57Zu2R9daD4TuqeNgI8=","Cqtt+VeiqxjsZplZJCWHshDD7ePvIuPK5wwbu8CNfAE=","CBAukdm/2brSbxg453+UiGgadmAnaEYBs0nM9dke4GA=","fghdtgfcGFn/fRS6fv1TteiIGTm0NW3PKUjswvf01Yw=","YQkFHeCww9BzjrMiddqZANleu4uTxN1xiPgbQ8IvmjY=","49XNMJuqiiAKwRJeNNg87MAzrbSOfpuzRZ2Z6CirqqY=","LJlIahajHYQLDym0+MG4Fx3p0EuM4ueuEY35+tUNPO8=","M4NX61Rl5zvZloKl4smfygIjrL5Ya+44Pq2kUv6Vzas=","hoX1SWSlJIIyNLu5l4mscxhekthuoneUeTHkTn84g08=","n+X4g2NiaJJPJ2T3uS9ayTyu/T2KSWDdwTNRiu/PpCQ=","ukylf0WuvratHAQCPEhzjvIYzzRAW+IgA+mhLBfwPdQ=","rjux3LH9vfnWQSb3r6mc7ym8RfY8N5GgwTKzBpxjtDs=","tyZPKRuyF8SNBNVy5aA/QQBqpI3jPnTXrLlqmVu61r4=","jNosvqFRA2ULgwvwjUKSLx3HQyLSgyhRx34UwBp9ud4=","0/tGf0f86m2JgfHvGLZIACXqSwCSm8CGKvVSx1qtKJo=","yyYo6xXEkNza2e4J6dedPfY9+Xc7WDfv3g4aw4xetFo=","j2BuUY1DVpGKR3nH4/rNvpURPsmuHWpSR3S/i0zlNOY=","fSEDkcT0KCYu5IBiJdKmM0Rfy6rVadb8zkXbVwTdXFc=","sCzNLCh7Ac1xadfxmRzXDTzFnPIPbNX1MzBF0gwHcf4=","BzolmRwhwCKYOK6QjjZnVo4BMTDHgCtzEqSCoHaXBKs=","cUQzqvcwY2mKd7TaKuUzU8Hxy4QksxJ218fL4swt460=","a0/heSKW8V7iV/yQV3GNKvSiteEvfDwdARLdNR98MjY=","Z5x8Q7tpQlTDJwxQ6+ZGxnYsEjbUVq01vMAUoi/1AZ8=","uERNb8xlqq9TLmvKss6vbKw4TAg/wcSni1u0wRcJF0U=","k2nEguvPSw4Qt/SfkWNF0hw0Zjhh0FNOgUozBqGlQbs=","WOILBvaBc8ZYSmFAtNUXdckDCOiy6rAaoHAfeNcHPts=","fMLnVkRRN1bQB8F12gJ6sfCsAUG5VlFBMbw1+fbE920=","G/p/VD3w6BG+d6gwEQG68RUMmLl9qkSH6OzefkURvxs=","bm3CQ3BKyk4nG+blVF3dkiKundeLB01vEfI0lBqPnlU=","EmSj8YVtEWrZuYTsldRC7FZX9lHuvePM8I9+ePpjqn8=","7RIPNHGW6gFGOBYgo6mOjcLJuFYGreUfXT9mKqvN+bA=","OHm5x9jlT6C22lboKmve56uaK1ucBfWU3G/MAP77E9A=","g+k+S3IiD+bvme1w2y5L+W0BYbKvSyVB5gtv27Z/LbI="],"block_size":4096,"path":"assets/NanumBarunGothicBold.ttf"},{"block_hashes":["ICG/0jQNc8quHNUmYIq0mTfpQOpQZZvjjPhBpBSTJ5E=","ZyG9/hqAuG+17Gyozm3n4LeYIFPWlqGyjBH87Sqq9IA=","dGweWIRo5LYrllv4ukNE4nfI4dFtFeunb+lbJ/JyOX8=","tu91cQceP24wBfNiffiv6n66Qo2xUqHjnG9+IeuPHoU=","Ee1mevuUZC/Q9bFzdIRiDzQ0udVzxaVQsMv/Me+6EjE=","/hDiK02iEGYl3JfTdjzE6w7JHj+bhm74SBQ1RTwreH8=","l+4D2o3v+2FH8s5/cOTJPD/vh/QGOeMs8x7Chy4B+eU=","hHhjTSL9etGWzX2rU41dsHvA4SCu65eAUXwKa4cKPKw=","X5xvZXPJvqEDEccviyauA3k4192cmJIr48Bk+jeObKs=","RHuWVotF4I7sYv7F1jfN/XwKld+hcUDaq4jR9Vgh9QU=","B5bkMmmitD8xEf+Q5Yh6R7h1QCny0oPojZyXj0TskFk=","gi2352XHTBvylmL9wVwPW34DWQmJ3TsiYo7oKy6OZC0=","dq8Xhhc/kJm3gXxW1UGWCb2axdIoYyqilY0ZrgjaDuY=","7hABw+cUvEzwKUUgREIURxOPnq9gAz+9R3l0ALaIp84=","9mrR1n/qjridzrNvQvKVkepgwgqZkQjKces1DaCUr7k=","THsKCcEHKVPreTl/humd9XOi31K7UWduPwaT0Jxs+cE=","R5IKP1crnJTx0KgyOpo3F7/lR81GrGv69xUjdQUHLg8=","z6GR/tfaDqPcch1YurHnaFKbudK/Z3z3e2/woyPZs+M=","4NQA5xzRZ+jDoo9BAr+ehbBN/XlsMVM6ebTfVUeRoNw=","gqvqQE5NbzX6Ui08UShVnYP00CY5uWBc4+biTG9KPyU=","lYw5a5gdr+9psa6RHKjF6UEMKj7NuC94/1Xc2UIZWKo=","B36S7cX98hdVB4xW0KnpORGhuK7yf6PsA2T8O2/LX/M=","d6+vQJVq/fMG4mCH1f2oQoyCmzV/j5aEknulYWLYp40=","PfXyHKPDOA/SJ4neqk/x95P7kXZHe3IDRlsB/Lf2jFg=","45YLHCJuN9OfTpEjrlP17uoyjbu6Z4YSh+bMQHXdQYU=","bEGGVYreimfnxtvvM2xyRsY2zOGqKayJHSazPvq57k8=","LynqL2xpRPHBKNkeLwTtdQrrTWzGI9R0AG64vXNkYn8=","GJ26groVCd0zeV2KSJu4f9xr+OehITP3et5AyOvYdEQ=","fQAuANUCP2DftZcCz7tfFkaITvTi7h+IgD02UyJ++rk=","yXmfiQrX+xB1Jr9FnDVGNdlMilDIBT/8pYz4EXtJmzQ=","pjooXbnx1nuqPAPY648VTya4FahJtiTzdrqRC54bFb0=","7m28GZhmqBa5kT6vPbmFfGo+gKzPV8WXGERnxQhDM1M=","UKUb0VGnbxpCAJ3H2l94wmMtSdlMfjnl/mkHVs2BMaE=","z8e6HGb2Qy+4gZE89j17815FSCgptGw2lhOy2TM9DJ0=","wg6N5vHiHeb4/kvgO2uCXu+OP9/0hSeF2bDqck4+Rnw=","E6KfHoMkvUwo4YsTP75IVxyozOszIQQHbLTCW71lrbw=","DqHYinOxFe0RWSeqbVH3RO9Q9AtNDiXCkI6xnw33XsQ=","OBNGxGct/5qXHf9jWj+yiQQCm5+ts/SmNsxKJJLVI6M=","RQXeF1i1uKMY1rwqQIFNX6idI/FEvaSd5PWG1IuvgQs=","PTj5FCdfTyRFWr+XavysnYSe625KKodXosLauwV3wKg=","6TLuNLlnXBjJIGkdReSqL2AxzaYoP6humKPXWYz4Mew=","mC2hVe/h9cAU1Ft3todxpzHbLAma0ceSTk9Gums7ZFM=","Ya5WvKcXsXD2wxchHaWRxvQG4SgAVlcD52qkrdPWK9o=","zZoJJjALm1G4n+thbqShs+CBei2fKTl76T9ZdVW/Ahs=","ZtTa7o9CUufaROQWKgc0ATK3ygTGdAaFnCwPl+ZRGeA=","M9dOJRDULZXVe8wa3YqIcSXdIlG8jh7D5Nc1abnwOx8=","kYb9hKZ0Fdqr+gxkWV9VCaQPpHQV4Cb4mlkmfsilR3c=","xC/awmWP9xEsmT0jzTrS/+URVY/LKBtyBgkCBMYjkxQ=","ZadeONo0RVMfqB10i4NsE7eEOZTcJUFe7MjWmz34vl0=","ULb+cT94vh5rDG5Rnm0gPhfEqLeDVwaGS/8O+IZbs0M=","LyGBxivx0jO6OPL+ms7/mOIZcq0zgyH3MW6w9eA4xo0=","1AVUxfmgZpchFEeL5lWr9LNi4EEn1G6w4xPKJO+qbvA=","H4Re2IqAq8LYomN2cQxUucED3Ey+IqerjY1FjmLVR1w=","WrynqWob92+/N8DNNACJ/xMjUgHIXsgIvhoGLOUKfY4=","ls2YgmtMGLhozB2w4dmK+7SQRic1OkaZ5NrqxvN7/QA=","8gw03F7ITZzenX7UhrGQmqXh0MBA+JGP3oGgHqUZxu8=","OeDVg/RdRu4jMQKIojnnCAxYBuBLDYAlPOXQAb1C2gA=","kgGRVWoMgcgnw03zpEqKlMyxMFXMotjzMM8ehf4loF4=","gXqNhjQdnEFZSkT4EIoeRmOhGnLx8sGUTvWJxjHTd40=","vXWF5o9wOxOX0uyCTYMn2846v8P1EFsWbS0ThSVbRIY=","Bh8yZDdsLwOBZMSps1hmUFJDEr7YhHZg5EPbGpU1A/w=","hELO7E1pPnqaQTC/6Hd+PgjimhlpUrFa1g9h3B9XORE=","F7py5G9N9syUJo/kPy97c9Qd3eqOT2guF9BMuQGcgKQ=","7BBFA3W1efiM/whmFVjoC8r5CRDGGn6YGX9K0h0ukjQ=","py54adOFuzrjNzuylGHZQ3UYqQE9bI2ZQah1CSbjrYE=","k2twnKUuTIT6PrH85EmH8HGRSjI/rsyKdTBxLaTtV1A=","fGHdX7HBcy0zJ4pvRPxOZMlqocf+2ayNaU5Rv8ZO4aU=","4urVOr4fy78WJEs5FrIoA0j26supiewrbG/eflywIes=","HbdSWYThnoI0dX40TzBXey/dR4LFZb+4lrhv81sUwWI=","7wKoCrASMmW3xT0N9fq+JL4a3Tz27RHQLcg3lVzkTYE=","GMzcyoWll7uVjqkdXSpmWRFVoqbMnFDs6Sb+eOQ1BPE=","jgIJTrcT/git6tXSeEE8VKdfziz3KBTPp5geE41WyZo=","9iVxH/wUUVwRH7WNHw/oVaN1jru/KV4i3CqpRWeR8zA=","QMED57QmWYZepFeBCLTIt94rl6YMMKdqQviRTf6e61k=","HrL7avwwQAU/lik5ci9hwtVVtVUO9Z27hgN21W6KoVY=","ixeAHtMMHiKcPJDMgTsWnZH8eJBDghERoMgz9ox9R84=","toRqNVUS3PT4wKDc5EeObNJH0xM/zh59Yl9bocDbDMw=","Jh23Rw68+e2D57+bSvmHPgYXswCW9KydIg3t/W7rxsY=","dcYpyvWsix2A1JUyIAG8fIJLRRYPhVklwHHDQcpC/Ig=","9tdJF4viXbzfJ54r7ERgWaiwMnfllCKHxc9Oh3njFBc=","wXG7xZ+DYi0PI+N4R5hZjVkH8LQDwzfk3y1dWizMFVE=","RP1E7rubmr0cd93kC8eRLbbOciUfWzLnyn3n8tLte4I=","02viW2AbaYs3i2OHs392jnVnHbkCPEeJsqrzdO7XzfU=","bPk+UzZx1QQ1qx7/aT8ywrBBC3Fdegi0yyYVyCVBG5g=","8bRG7oKcbWjXdWMySX9f2vGfvqNGyuOuXQE3JkqeeQs=","KdyLP1VBo+PYIQC7+Glt5E5JO6LU7hph5dypXTLXgbs=","h1ZuG5GOIIVLLXhYz2Ta49t4053JsAVLsafxR0oF/D8=","G7Zj0nJua0OCxQRcmmDsijL1pc1KsZqGDAZSMB36M1o=","MpYoMM4MZ8iw0ZP5cf80zsYXZOl/YOdHYT7IpnRXbE0=","D2GjiSJdcwdF3yUur6T5drFUEf1ypSHrP3zOxbJ8ZLI=","JCymjtHhT2D24WWHhyrNcG97QOylM8R9BzbDy3yLJGc=","iEpIv5VD4xwQ/ROHWcb4mv2r5j7amwCxeQzKrFBU8qc=","G/2sD1AUWPIrPhv0+D1piKyKAPWKu9aSGvhJxg4NRXE=","3OWnaVaDZKh0qd+jnk6w5jMs4WLxhR+8jk8AkyH97UI=","x3KDOxQyG4bD2cWdu7McCRDiLFhWDyECjPDUosEtsNw=","AM4A1fieL5LbbbaXV2LGeSG5Zuf6inwj5rOzex276IA=","NEeqj39WjuK0GsMUv83MkeZpZSjG0Y5jTuTlSMhtY+U=","JrbGZv0kQs0V1RJD8uECu9BJQmlO8fBBTdTtAGWBsKc=","pn7+I8Nd8A4MMwoTDZO7etl/vcH73WZ35F+eYuyDNYE=","Cn5W3lAVZoRQkkWLR+tNOe9fKExLEup7OCBS24kDnxg=","F0V3Zr4Vd+/naSRK4cJouVeIBuVZAN5BRBtgVxcaMGw=","GeCGn24AUuENzGkxHYUrjUYZ/iZzm6ErKOWKRnnD54w=","ZRmZKe0axMs89yMlLsFl8wfVtmsRelQ4qPcrV3dQe1M=","e8g/fayLd5L28/5u+6M2YvTwpcNLDEH4NcCC/O2uiOc=","icuT9qcHShN50TN1edLs8dGBexA7BpsYWjtA6PRd8rM=","LFwUnn9t0JABvBVXUs95mesK7F4lZ9/VsoQBmtLrIDg=","QdGj54I/SYOw9TyjOkbZ4IvjFlIHP/e+nm8aNo+FjA8=","xIU35CUDXpnCc69KZFlI0VL2cyXThlMMqXIyvediCRY=","E5p3B+w8C83UpPJnjoQFTJ8Q1Hr6JB2yvjKhklU1lag=","vU4g7ftfnSOI8zhXJwbqhTSpcSbpOPm4CQa8LsG5qCE=","IKbo48x3cOE3pHMb0zecofp/CqHOR7dzocANNNkf1Jo=","jukJ6Ic8DzXgHRWZ2rP1sKGNQObPB2UUBcF0D/s+Cpo=","cdkmILVQDE2rJPxmPtIx2UZC68m8oRIJ4+sY2xPysMM=","GoAjnPW/Qe+9FuIMGhky+f12dgEz2kY70VOvS64E8LE=","9Rpty5XZ540C/GVj2ryjXaNib6pGFubwyOFNNDsc2zA=","yAF1jAiOdi8ddtuXhoUaTJ9sz8QKB2y9ByO5IgyvfWs=","Fx/oICI4eMuVf0uuOMKwK7HYEy4MHm6j57IVfE/UZnE=","LmHZbtlGe3g3JfZart5SbeAhGMoizXEo992xxRkbKFo=","lxxF5KKXCRQbnAZk97LZ8QtrMTiI2Mo7Rl61ooHXnTI=","O4kNEojcUh8NPTE4uw4Bnj2jearWYJctoCTqcHjjeaA=","IImwvsGYwg8zq6ucIMz2SqFnD37wAxLrbkiwsRgEWzA=","PkYD4i1yFwLT7vOSGWbMsPgNaefBEazJno6yrQovITc=","+uzbFyM/v0efmMisuNKlvJQv0vemdDXN3EhtuCVUBqw=","HZK8nTvJU/b5qrZq2Qyemw7ydDZxA7nIgLtouhSg2lY=","pUPrlOV1TCnDqJGEaITAl4DjOGRY3q8Ow5uuDdFmctk=","Vr8hCJ6zQmiWhOPTjL9NCb+1WtNEb8x4WC4iUKtR0H4=","w9rOQVsJR3l7OBXDYhlvE0cMnMUiX/grO9pIN12HVCw=","ihNhboejK0w/gKfVzRhxXTv0YMeurGgJxTbVtiYO4Ho=","8MWPp0b6+CKjOOFfHWvZzMsBOlw+VlcgUL0Um4uOdxU=","id1XmI3EGyT1k3nYtl2hRw9mnSRFl2vrjjgMY/8seAU=","V+nrfRzwraheKt85k/RQbBDUh+jDit+BhPzcb48rlbo=","qQPCelrX4RHClxZW/pcsG9CU3TpCstPbCp5nzs9E+pU=","9PXKDdGU/dQh+5Xqwynb0IL0Dv6O8WyI3NMrjGutLcc=","+zoCkJFWnV/hSa+lfooRi/mcXabkcKGkjfSr8JpLZ5w=","iZ/BIw/Vp1U6OLPWgJfTOH8lxAhxpcHH+vrDBkEkjSU=","cVgU7GXDfkL4saANhKX83fLr+tI2V3535IP0zV7Sjds=","XpgZLCBZay5001G9pHJ29wlAWvq7DGxZLgyi8AUE+wc=","WMWgZZ8llWhU9RMgqD7H9wuFFjp/HSehepu7+yG65BU=","N/kiVkQ5j78guxqpPSeV0Eo9N4aSCeYsgONFXlPqD3o=","h4cxarwk38k2JHMYQlvMRsjUPYDOcgkd4E85fAsZ8yI=","Eb0TaxqIvucmLIK9KTytFdER3mZXe/HdGzli3Kc4nHM=","wCKdm+TrYco93a+GWBsmhG+cglj2/d42kJn95cJRvMU=","Z5Wg7613pDD4eKWS2LFIrDaZuCoRcSvJsAK3HyoHIzk=","fgkMnjEjO6YsWfiNUcpuxn5U3GI91ozREptdh45liz8=","85EZDjLbOrA+RKgvOGSVhRwGlzKKDvza5WUKlB5Pkco=","XpRmU86dsgUPx7hkQIbphjDyroVsXl9QKUtb4P8FlbE=","U+H1tSbLhsbdH9J3rPTkxds0sHthX0E4xKCn74MV67s=","2IuoDJNnXdPbrWq+Q6LhwyJJdXapUmNYvcB+P1FRQhQ=","3Y6Z3S2gAgxjUYYQ8lVdfahKJjFbYf1nFZcqA/q6WfA=","D0x+aouMcerOw6vOacT3sDo7ngKG6n1k8GN2CXVBf8E=","wP/FuNemFe+RwgqEcLZvofP1AF2wh4cflSdiwNb7lxs=","bj0/e18tu53XlO+q/EKvedmFU0ziMMp/G8OYN7/DSiQ=","BDA1Fwv8fyo8MfUqNjzbTwtya0SPqVEZAOSAkZbtGWA=","En/E446pL1x42MrgXQL0oMynmnx+ucEZUOlyOViJ93U=","YcIlt/PV4vJVzaVklxFitsRjVAwPlO80lyqAaTSpOVo=","LgGGoiKiTKoIFpX9A08vvr1sdRhqRoR99mjMZc/4Imw=","oDJvn1Nwuv0Rn9TvUmE4ntKS7kAdCM0jxXLXW/F4O3U=","Bi+ygUWEIQGSGjNhEu77C/OdqHsH7gdlWSx8bUwpWf0=","8uqcx5QE5hov7hCUPLB1EHsOn46aieTPiawwZDdrsdU=","OCh348ec/cqNp+ER4fpAk5E5bN8qIGSei5uZPMJD3HE=","xhdCnlnV01RhS3c+U6fcphZ686IjVdMesVtV7kZb2mw=","RfDTUQmDLEDH0aHUoo3a1BSr5d+IPEg8NozZrnoG0Ws=","sxS6nFAmhhBFszrPk34YjV8X3d+QL7ozRbxwMlzWTOs=","mE+jo9kn5k7gXtL8jPDd0GPC47+Xq8EEfUjd4jE7GSg=","RVJm4RvEF1LMHzeLDV5swptVvs5OHQU53GpqCV1UoMc=","ffzQ5jq5D1qDsWiVtYVEMTM4iNOJ6zLJyppHvTtcmq8=","uzQz554xiUYjjpssR/R3e9XC+T4CssAGd1NlwqkKIiE=","HNCUKZF1oHch/Kmf0X9VhTF4iOyDRuEgBp8BB/3HQdI=","8ZHVVJtwoap6h256MApKcAkZbfO+S4zPAnqrkw+YFa8=","P5zI+2oWmUrDj0xeyUJfGlyNp3ZfRwsS/lhCXUJGYgc=","UFDta5dWDwCN2CnVO7F05vx7+iDBOmi4ExBmB01/e0I=","NgONvUIMzMwStDd/Gwxga5t5Tba6oMyi0I9c2Z/4xMo=","SsEbEWdUYKx26jKLy/o4f0MxT14wcPaOqyGL9JykqF8=","UHVtywyuM7FJb6m+gkhx1pRfnb/KgtdKINTAKt6dTR4=","3Gskq3AUM4fC5MGCIjkhxIsEiRvbOyFYylUI8drv8OY=","9pZLn3yFLU/ennwQyKQ8N2d6LKNHLw6ZZEZ5fHwECHM=","GgzmADjP/r6GZSBSfXVNpqP1DMFgefFcHQyvmUwAwpQ=","Ivytlnxh4Q/botecb26KcPKDsXf4VBa6+9KTSqsRmZA=","pA7M34o8Dw2aDZJi42Pexla/t40lrW7F0NfolO9JxRM=","Ji0iU2B6FOb+69Evsiq7RoWaB73QW+tAz2vwecPM5Oo=","73zwVOFsVxRz8QlM4ZFqCxUEi2gtOKNCyaNAWFOUGs4=","SuQBpbjHOA1XNTlhGMlJLOs4V0pb3GHqyOQCnyn4Ydg=","NGbHqB0Kqd9auLoGky15BmhHv/gggN60Fyn/H5EKWoI=","12gNK2J+Vuyw8CO3a1yqvEcXJY8B6KqZ+E2SGoGJgQ8=","/ibI2XO2WTlKyXEA1rzs1GER/fVUpe1GD7KhN8N+1jM=","yGWbRSa262wVPyBR+zd5Gym50abT5pbJzDZbfVAjszk=","1jee/ducTVuXWrZwCDfDFvFHcHTKrChWtNnvMYkZOqs=","KLLn4OxfA7KjK0/wd0RbpZVB+uj+gz4dsiFMz8gAANg=","dYltIUi6IcHAlh+IeW1Jt7p38LZIslRHK3bGwU7Kl/4=","qW2rtQkFU1Tlk3p5Soa/4Vvimhqazhq+ldxOensYfMk=","795KFQ9bkBGjbmT3FNaxB6UKKYrxtdgoEPvv6ocSLCE=","+D1lEC5TwJN4MkQ18l5Rf7iHRhl9ul+NIPKiYquY40E=","yjmum82TvrYCZwynDW9cgk8xWRO4Mwjvag9gyJC6xAI=","cAm+5zrW/+tek6sEsZHE1XqgOUmb7myklnXp5NpTodg=","17AVeewHGUDLHWp0sDXOwwW2ROvgYdoi0Mr2LiHmGHQ=","QbFzdmvtMqedd5MNFj8PY4ecGJIJAYwcBYnwWlct0ls=","zRmBtLwabkxZ8dnoegKGniNQXPNhieJ9wbtmt8CuOUg=","EQaphR8Hm0gSRNKJX+THwOLWoPjVaVWIEcnn0EkRXJo=","hOHNo1NHw+gVvZQypH7ASWWGTXx12MsH2GGwuf1iM3I=","J937X239XttIQpo6MMK24a3mXxyod/G9vmICRBhlREk=","eSNUzEQYJ+VkRy91mB8kgUHiB1ratsLAjF5RN3E6ruA=","MIgt2Wxlnhuh1V6Lp1tSJga8z155lTiENy03n7wFmww=","oeJjPynrrnbN0sSPA0cfBpAMv57DHRPj03yGWDluMJk=","YPp/5VOL2jItrt8uIqE6TV2J9/ofr8UmknTtKfgWGS8=","63GdltwoqHhWY6+NO5/JLq6X/C4OTxjZPhMkwjcJuDo=","HoAGbINF7r4RUW/byr9SsqSyKyryg+eqZyIYQy70VaU=","kRsTXeTEsyTSqPRIQ74pAMVplJ4ZGLo6C51r4v51u1A=","TdRrwJ0c0z4yLvedharTqj9QIXZIHt3Xuy0sxi42cnY=","yZqP9vSW1xE+jIYGLqq30rfHw1QduG3U51ZCOUF+3gQ=","NPZtM6/CI2nZOOWYlYPSFOIZX0S8KuXu1EwuQEggrgs=","W/Fuwh8KKqdDXVjTEh/nhkuiNuDN/eRCkA2ywmnfpxA=","vyVkNQCQojhdWc0vojRHg+2XMixHb4Mfdw7RM8ywG3Y=","t+aW0sbVD3lDswfE3eq5XPpUTrq/BLuXQGovj7a8aZg=","J+oQ3sa1pTaq3fdNRqGeQdeonifoP5UcqvZwu7SOgUI=","EmB6jPBzHFneT0rVLPEiTQLDgiWStlsD/q5GxaDh3Zg=","BJr5kavo8kNUIkAkMcyZyzJ4UK/b0gJAUS7VEZdnySU=","woBSnj0/0qhpHxdVSiggxqja4mNjrtaAjtyivOp30zY=","TkQFomkL4cwQkMwFiXvEOqYsrFb5b+xrwIyaExXckyQ=","asP5k+JgzUBrRXHMYpvyIUr0MCkXtBAKuh/xuqIuyI4=","rymYEnFoDVp8NItylL0552bHm34b9Bc4s+yFvrIIzJ8=","5lV3u4b1IZb2ZjRqS5BagMzY0wY9lBWqmWDJmPWFzMI=","sClG8TDzXofWso/MyKf7lgLLcLhHLad8jd9jywoVnG0=","RKYzisE2ZYQmT3SogTv339TwUOsF0dFGMmnZzsEfcwA=","evlpYUCFbuZrwhvQzGmzh5HyL7gVlBhXK4EFN7BRQJc=","b/zrP5GqldzggWKFdBE0eZKa3/TgPBTrRfsK8X3cmaw=","/zxMLx0M9Ey9gLvumwYH/XtCBic4FWsqDCm0MmlKfK4=","+3OhLmcChpQUcDzdTXufpNl8RTxDZhl9C8IznFLDSiw=","XSWia8Ygy/aenTVjUMgSMJTDuI3ZeIqjvubhJ3/PFNY=","MjyDZlax3Acz27+5xVDHgfpvPvDb96FcAzEudX9nNyA=","O17mxsWvMaloWN6+jelTvmgt5AGLtX5hCPMFFkuu1VY=","bs4Dfl5/pGnS05uWu85U1drWhC5joGuRs/f/JshO6ZM=","nAbAaRpfAztDEwpnaS7qqfoBUQ7mOB9Fi0X68jBuLhc=","Y4CcmlHvckEm4tFQ4bAELdQn7zvgSz01aw9JyPCEfkU=","kEmHYdJtU1kCkFiFBQu1ZrRuOsmaogRui9cldc7R5s8=","gVPTcYnrEw5m9qEc8MlmUVWQJcXvVj8hh2S5MhCZDm0=","v0wDrSSlnUMgqhkPTRZf0DZWquD1TP2a4zeyRrX8pms=","C+7RQEdt+3rfh64Ne6FUFJVukzItf/aavjsDnO5hMoI=","NZ/SSosDjGNEFHoT7pWkQXxY1HVQSZE08Axrs6K8dmE=","DjKXLx1pBlx3LkssROFkqZYcmFq36xE9e/wxy9wiCoI=","oHDAQMqjYqvAh2nh6CKORlvgAHEYEBrHCWfU9SkO8x4=","fXkMcHalrDaqDFI98MZ65TAsYCFzMnQuo6tEIb4v0Xo=","nVd3KCIZ9glOei3cKeTmWy6lyh7WR51+c3KiXtqujhw=","+K41k/7AW1NELCUs0YDjSGhQeQMUICsFh51FVgaxZ1I=","TxUgp1hS9xqe5H3Av5r+eR49tMIrg/ufE+FiNc+g00I=","ZYwsf+sBhm0jQwuAxfYxhdsPAf0XW1/VpUFsDEZyt7E=","2qXzQmGXphAgvU9NlQAhv69kPaQPjXldWYrNLIwPHi0=","WJ2G00JOSppRHZdWBcQHePCKrpA5koQRvM82tlz8X2Y=","wk30YPRRl9HGQ9eWX6MM9zYDdNUI6izwIx9dPvDynwE=","IKCOAlYAMpgVuuBA3anR8VbLDnt6qPjPbEYrKdLMiPc=","+iP+h96ZSU5sOGOkXqTsHuq3Zer33ctuujs07MmcKkg=","fILrm5djH0FypfyqL2fQrob3B2orAYHpFVquyjChosg=","Gf1qF7lxfis12pllbGuEz5mpUGTnViFHrucxMBMCZ10=","iss9tE6FAAFo/9CPrkj5mL9hRoAyxswJvllnrmLWpw4=","U6o4HgzZ3bHE8exWlfFqt38nCsYvW4WazjMOpTfHQwA=","eCFD44i5WRurWkKGhl1B9+2JwGGq15NeqEIh2Yo8PFE=","iuqAsoR7QiMkoJYKqC477/xh1KU+vf5Ke4KxH33GMgE=","fJHcgSz8iHh+l7+WPdnbjN9ikOv7urJOQt+SSTmKPr8=","vCfqM92i4Dq/EGiUCSIOYL5D42qLZ7TLObI7hKC1qZA=","edOBIme1JoEziHICK8ivWXeSK4gWYlmTD2RX0pGnmcM=","PtNxQlYtc/0We5gkh4U2F4djnMQL3u/WXvSQw0F0De8=","j0XgPYJpc6oOe2kVNLCxv91t6/tF9YRwxWVI/YHV7/I=","VFdyfmCm3YlV+grvj0CrwconfStdfil9yhu68vMk8Tc=","vB0bFQw1ufqxyu1OrQSyxUivWbNG5LXmThz0wnXJqMg=","iCw0jbgWsJJClB65L2AzJmuhVIxoIhY5BzrhKU1arf4=","ea/+ULaX4plCY+TfE9P84HA/636UoKuVHU6N2Fpd9vc=","IpagKv1RsdZX5BuFiKx5QklZx37sSgCQaXVVBFPG12A=","MYbS7235dS3ResYbIXAeh/6+PEcnR4lpLeLyTom6yHA=","dtmqyNGq35kAWgIF+rs7n4P0BD0tagK0Pbrhs/Mbqoc=","w76FyhL1Oc2ItKogWSCp6XiWifUlftOGALV3RpuE5/4=","B/ij//8m4H5FxZx1TdOXA4IAYcb2D0SRzcBDH5+m8BM=","GR3a6Uju36Vc4HbkmEYHCBm3RIv3BWaKlVx4oGJsJAs=","dfUg8AAzdnB7Vp4MvjZW4h0RPOhD2f8G/xPWhYYjtVY=","X4LUb7zb+mwkxHuNRyqyZqLYqVlJfG+XHZ9MVe3kTWM=","28eBvUebPNQfLYLBLeccGpCE4IrQP1b9WIqhiUAYOFs=","+Y84fdF2PnyFsi9azA4dI7nMe56ra+Q9Izy9W2nQAEc=","YEmG1Kvzm9e1+YjmpgQxVWrqWDVr3hVFj+1cHAnhWdU=","/WlYes6LzZcxbKHFNZCaZQpc/2Dmz2f6XTM9ll8jr6Y=","B3aQLiqNL0M2jbMUmhrWshG95tBYbRCvGMbodr0on+E=","CkoNGhhd1TM3I7V7+fOw70LnPP5OlZWtkD/5TF7q+ik=","mykplapu2hYsGNRBfcINkvZoKXYPCty9bVVAcFrIBNo=","ND9j8GnRXYQQ21FS6tZCBiMH8CYsbr0iaGNoZS25+iE=","OuiZbazIzepc7FqziPi+m1GdEBqDkuSss1DMhXfIbh0=","ZzBZEbU3396ekrTP3wQ9cOkFE4hhgM1ax47lz4kSRdk=","EQNENB9omupzVdC7nipa7os4tfhf+SROekZ5zK2LyaE=","xE4iUn/fmW9NKxoQZ9MvSQW3qqH+OAoiGSkzda8fRHA=","GVT62uIw5A1FXY51vjPT/VkFxRKNHEjOr/XUNE4iblE=","iVAN5BiUwMWBxYDfiH/tYwFBfJJSueMGzP6WRIKOqLU=","1WXew0lbA1Ywon56KHdKAFdMgGk6He1LpzSndwVGqn8=","5VyVULsPAO5VisXgSz1uCkDxu2nvVL/J6t8LgBlwnX4=","vFQIe7sFfhEmLOfRX4lOl89amm5XmLs73Ny/NopkRcs=","nTHOWTyc2RttAzmwt4kWoCCpsVmdzVzT6ntZfO3yd7I=","hBxNQrbC6TG+3MOTAJOm3aO8rbBvaJ8LU0js1d6nbjg=","Gu1DWo5cEkR9lB10JFd8k2sx9KNg01tnyP/T8WI+npc=","NFSrKAv3/73HhmacDcH0qSe3nMtG/tmugkQtFTdM31Q=","aEpKwCsaNwPzFDem81Py5+DpndEB9qsFgSbMut0O6OA=","hyI4pMILY/IngimM413ZOLLlREY2ZDAOmnSXhllHtmE=","cEEv4/d8Yf8JMb4XcedYE/qUpi9YYTspguJx8C5ribw=","jOcSw6R9hGBW3lMICsslzbuRS6dOiohWcJMebbKuefg=","FXfbLUoeUlrj0OgeoDpr67UQcs9UwQxWrJIKVZg/Rb4=","sJPWrhqpus4k4Yzl08OLLob8ndc5IEp6CqPLcP8RX5o=","pfnxBdUcO7ZdPNPhvUUW8nRj9xFM3CUoaBdMTXjTJtQ=","wJrnJgPRnrj3ggcU3N1VP++sz2NcZlGYSg+YW37PHC0=","YpmbeOxPu9LusD0TqEW9jX0P87EnNnIM69RK2jJML0U=","ZCCHrhsQv/Xa/Cr92Lf9/1v9HRu6VaH/wyyrrx1VkIY=","SmRj5v8DP1TBOk5vU8/jUc6tAgoUaLawkTWkvfr4y/I=","hQ0Y/fpXt1FzgwYdWbvv30ntmHiiM0sURVvnQxcFxSI=","AIWcYZr7Sr1jwIAVcsxKtPHSrnHMldOrMlMWPc8aRRM=","zdpcR7T18/6D1hqMd/xuhY65JrYuTAcEtqBABQyYS2M=","pFcOCaaw7D9Qyu7BmZ3Qnm1K1VGbUTfTV8gkImaUjdM=","6cnwNFh7Y7MULV9gPdCkg7cnbR8ptmcs5lMgjDgpsuE=","2L0y2vrNQJzHzYp/j+jDzdMzK4LZkoAZbeQ3pa6YrpI=","m/lNjGkvZBw17unm0Ez7Pqb1ejune677vV73oNhoPqA=","HXLVNh/RxVOowBpYUEiaxjyPZ2CiztIMdpWDF83juHg=","0XQM5a1mj6p0VXl08tz7+vspfZ0ynR58KL4HPILatGM=","VFuYfx0wrhwzz50nt3ybwRVGqsPuaOk/Z20TXBrtmUM=","3pT0QnKINcO2ONvID34KrBlw2EIQWuhjTDAgXaXo6eg=","Inac3ABYvpqU3pU2R50KK52+gcC3AOXOZTa2fOBZsUQ=","/uwLyS0NoWJuVMpcqettiT+PpRVrf9QqBvaa2tYWtUI=","mOZZbtYZMg3HjDZUW6c3tOp2+auMttoDAQGBWkeE6wY=","KaKvR+eR2l2QNyaAX7je+/cjmTJ1HvdCLPbWTBb1Hcs=","EsCvQj1AGTeK6EZvHOqWE8aJOk1uH5YOIVDi0Ly5iY8=","AJYw/I6EpSNGncHDV/CWZbMpWtfLgYEVBH6mZbRUuE4=","8b632tsoKJAYY9Lt4eh+U4DkVK8pi20pNU2L/Gq+7xM=","KhWr7smaDZRsSQzb7W/I4ujPLEHncGKqrdqo+0VlRao=","1RO4g0R18jVnUdlWN23govzgA1u7jowoPK6Nrdb01F0=","Iw0uUeWR15Lpl1982im4ouakSSoiHAL25HLcfeiUjzI=","9cUbQOFBdy+lO9ajS6rTOgpGaCN8E41zaIk1ib2oVWg=","HzzMhqjw4vynLxbcS4ZlZHJoqaeSybskSDCEr6Grx9o=","BhCUWVNy196aIXWzRvsxWM2bGnuqrqSuep0xqVY+6WM=","dRlinBA/W60NG3KKTrbEtPmovnC/bxNutrE7ilV5BN0=","pFrROcJFWsatc5rU4igtjoFvu1L4dmxUSesn5WrxLGE=","N1uMlxqWCrq1hZ82OcgX/Z9B+G9MchEchmZmddg0800=","+vjvmrapiYz29m7hEMLx45Q7evv6WVpuAnR9nK90+IQ=","9KFNCXzKYudV442Akkehv3rRBhHvElNq4WTlXeoYNdM=","057qhjRfkB3BLyRI+SMP0LpmlbRnGEcMvZos6/JkuzQ=","HSnxA7HtsSZM7ppzlOCXdpChud8Dcm+YkUFXVsalQMc=","qHUqrwoYJJEWVm+tAFGVri6WAu6gFxkrVxOaGyZXABM=","OJpv1imiNj7p11KdMI3YRqsphie4LAT4Qtit+VuQK2M=","dOkj9c24Fl1/rYyvDn8S2fVqK5OmJoVWPoiBmyLPK4E=","qFSxcPQetJVcqKA06no17t+SI/19d1VGcAJsbuFtLvo=","6UIJxJ0bGOZEqmSZC4QzdQrlJXWuoxOKD3OUnC6WRNE=","sCsu9vfm1dQ8y0joOvotLdpv9ttjXkwFOIGXCm+B30Q=","Tndj/ZmsxfpJCmFpP2Df/dy8RLkBPlG7JQxAlFsMHyk=","JTWvC/95ShwU3Gp/Hc6jDhMXcGT7EBPQwFtNE760Lrs=","ZIsI5gzLfOzEk9kxcZV5Qmb1nx1zAfKoN3iWCsc0weU=","D+xlnLk0/syOwlnfviVTzxz3XsbSqS2OF0FMm8saDz8=","B8JcKbDriS99vRPvudijaa9IG99wVX3QGHn4vtLFXMM=","LQX/orBuNts1kyRfZ2EVCqB8GrYI+39Cx/NNE1jd8rU=","wef6tdX6Def2m7hKF/ZkW9gTIeSL4KnAgiEgB37Phqs=","zMPs63AFO4dvM7Ntr0jQOcONUFurXVXgpYcamQE0ZwQ=","/6nVOt55WSRtvlmN/6l6Cw5Pz6Vlm5nlyiV+soMWsYQ=","tdAbTppsxK5o+jV6nFPmgasM8b6tTu/milNKYRi9N5w=","fa8EHGFpyaox2uexC0Gvj1A2VIBJDmEjRDmAVVbA9V0=","yBzUws9z1b+9ORu5dLj2RvH1OG7TGxrn9cBbvVmkv7E=","VuHdlTqJ8/eVKC5ouVAzHFSuldsd2vSMhd6HM7fbYTI=","Ewjh7Y2mxvCQKC9jOsOCU+ZdStdP3b/qeyb6R9kKHlo=","x9NUv5chFmTXJtRShcMvunuyNh2RmA7ffauQyTmStEc=","Kwir2Iu+Va+OiyRYyMEYb9Yb1qvmRrbD3WM6RKVCPlI=","CoLZ2nWm0vlvzXiUxOzgPtTiDdY4OX5gEmBc/Z2lUcE=","CdBhFw7QooNx1lfIExrq8SR3rKWvInlaGG5zzjurOB8=","yRCX2YrCV2UxbLkOtKZdnrRL3mhOrQzk65dYUvvusTo=","NrQtfBZhn16SQJhZXhy0QCp+xNjrJWlxlyNamGpxZpg=","8vjZsbWMcBew/yH/g2P/PulEFCN8wiHzKbAvBvdf9o8=","Ml9a9Sbk904UGsJkbih0uuUgZbYirdsqViq2S7/n8ms=","sUffE3J6mu55/WSwMBEzr2e5E5ux6dMbWy5SUJ6/F9w=","5dIDbyb39t92j8I/PDyEmo1WqEjk5hHcdQDe2jofR5g=","PIsCsy0c2MuB1+k47VlimJQd5DzH0fWRsVspxkLGSTg=","Q1qup1a28iEQb7KOL7TIzxI7sI9VlkmuEkH3nSzz6PA=","PMQbSI5v8P/rHwuegsoJ3oAUpkpHg/yd05C/J31NdB0=","xMHKlGX52za/cX96rkMJmeLyaZlvHQv6Ih0p0yZpRsw=","nvVpCDWhUn6xwae+jkkMzjp5Hh0DS2kB7EYPmoyhtY0=","UHTlFkNhAdWAqXKEJ7Mgf9Q04/U2FNR9CkjjcZ+dhxA=","H1EUHnlkfP+8xZkXK1PkCUHT7o+u5OSG6rbhqKGPq3s=","JW/akwi5zc6b7LN5cgsWQqzA82J1Gx3oOowcbtqsNjY=","X7TVxFUyk2lp+H/0MMa0g4tpEp0+9um3DQ2uj0cyi7U=","cBHKGjpJtRPqs2qSB7oSaxLi3V+mAnyyM6aH4mi2IFE=","jwRCNeRrtgK4CiEGHqfkFhj9hLOmac/U3O1+DaQqT1Q=","FR4L/fWEbU9orlb7LzxOi1fLrUVu4422m9OG2Nhc3RY=","qh7HNpQLIej9ECIQGtl+qom+Aag4Kk444ZTfFbe72nI=","q0k8PG/Dhx9CRvAbkhR4t1S0Wu0RR/zqo4hzdiMjGWY=","wv6AePtM9DcHP5CVOtgvFbflXnCHTaN/ucrVHA5xc0Q=","8iDXaqIIbJjU24ijTwqM0Gif8IQUapz7x3L5Mnehcjc=","t4UzG2xHW84C+3V1Q8i/1ypKJtFk2LzftsBfPFoc5VQ=","fXwmC/TJbdgrPyPdVh04p+ovSEh8bxlPVG8jLS69HOo=","q0MQ5tkUkhhfTDiIGn1EOb0rdWoFPh18dl7KRD1RuIY=","N34mKVjurKs/ZpnBWE6DsBRqSjR05Sdf9uQjwcC5M64=","ZhY6DKiBll7pkQcZGNhEypfuuB065Gwk4/VAkeEY1DU=","Vvr2Zp9zY4kknX5iN3u2Y4NFX6M1NvI3hkUbJaM0Cgg=","ce+G6EsMVqkw5M2lKuVUiQqRq7zoLQ0NtYHl5HBVwMs=","+NoUiJzegNI76MVbytQ/YWXS4GcDAnphniczMMxUcO8=","XWo0MIygfP6AC5Sv6qXKoQyO5RsfCfIsCL2C2+VvXbA=","hlMc8EcO2gW3FvuEJvgpmSaLyq+dWdOwGebFvkmpiJ8=","QZWXOxV3eS3K2lGxFnWe4q3gPF45+dJvY327sovdF/8=","mtt17hDfS4Www9nDSvwWfEZyjnFvo0K6ibAV1eovVTY=","jWtyipj9zBD310JIaK0GwX2fzp1LcpfRY2uXx1jHBcM=","HUaW4GBgvhhn3FJHC8cHJlT+OVksNlERbT37g5R1Rec=","AGjMX5kVI8UWx8gmondIqVN6W07/T5ImhzZ2k7PH3GE=","2BU1q5m5FHv/LtLm+LWL2OvlZcEazMegkn1qhqZbwoU=","g+7w0SOZ9zAWAx7kY0GE9j0VwnOvJw3iCKfjJIPZg7A=","vJnsAa/DjQURcR7rQblgapNUfGmbzxJsvFHPgG7Vt6o=","eLvQxynJgwaA5uH59teZnWWDQcSV+DMypEM1SL3RoR4=","/pVgmXc9V1weXX3uYJlaooYbbnyYO02f7/qmB6PsMEw=","jvQuWoOGLKmKdlrxr/oeFEbgBnzPEJL47n8x3Y2fIGE=","ZcpoBg+yjQVgqmbTc1Kap9Z6cJCpS/fKih7EjFcaKM0=","jrQiJAMOeOvTQGcbzoJDxrIxJAcN7PW+NIS0RJlBLVY=","Cfl+NyhW+yrh2Qo7Uk142EOx9KGI2vD+I0oRiCjEgUE=","cCSVFOTRuG0PSpD2R4hafpqHgWSiEWsuUF2PREsXuVs=","3tWZ/9g7kKOZhTDTeqv3HFliGE0gN1nNcEZ0HAysOAk=","vppcQuluWF0qunHzlPaOrGX0l3JX5j8pEsob4/qAwIY=","5uN21n+RY1QW9D0UO9e/oGRXa/v9TfqE4gbi5Wf6y8k=","PCMogJoiYtjPr06MTZznS/sUUuERRvVG+CnLwDNuvIo=","XjBosIkjTb9vGTrJn0yAqGyF4YQil4AnzW4ZXXGOIHY=","/r/0pF/4m+14jMtByroxTK6foi/ZIFSXrUEQcusuhv4=","f3uB2zyAFTt7AAXxu3bsCOtMCtfdHqXnMTBiK/4QQto=","0/TRUKBEZJmyvltqfOd5BqcHyMToZFjbzZd9bSIdPFA=","1QYgPkIdKPs8Ux63CXYdoR3PNVJzX/FeQIxMIZ8RnDo=","rYgOp4Q057ySI2B33ZlKBp0C4ywduVC5Rz97b9afu0w=","mg4/m0D8aT+5DpYo+NRXNZPLCM5qmKVgEL6vqzliS6c=","eQgzrV8mkmTTDC+178tXS9VLA9OMtNGmXB0diHKzkts=","rJbORIXVEoVcSbMujwn937sD0La/za/vqFPabyLgT7M=","nI95IMuLnUf9lRYGw/2VxzBhRqQngPgYdaqDi/NnXyo=","WvwGiFOrQDTC7h6tF2QCAhanDMyymnqMcwh2m5Hy8zE=","w7zxhi2feBTydcHzkCsF4c22IIfKLgLrMCGXXcLBdQs=","wn5qWaV0I1AJDRvUoIdNaYqEKtsGfDF4cX+A6dCRtpQ=","6ZeqyQSQm9EhQcAjo1NihHaL5q7x3MIR7U52EP+zUQM=","+EmfcH4OSoGnzD0QGkUZl6mLLQPBKA0C911HTIBqWow=","pBhzDcnqFAwvSpnokYX95z8+iqJcdT0owkm+gLDsx00=","0EpN32TMumZIohzCXX0ZUOSTYBDijWYkH2RlmtzJHC0=","MplitYgYUqH1Snl8wT4I5adGOEhnrrXcjW9SaVlQ5vE=","vn3Y89fAu8K29MEGMkttfwLzZqWBkKxDRClJCNfVIu4=","jlKaSNMChCliBFzDofG6rMl6BA+8NkD7gC6s2HxKej0=","XTTKABlj15VDMYCtHkucZYwtBvOYqZPq9OdrpXyG8oA=","UD1bo7j8uPd3A9tSKIR8Xj6nxN800K/g83CAETMYuwg=","krTliUKs9LvcMEAR0x6hmbNRsc4K/S/WuLlvilUGnGo=","ge6GF+UtclFKiIgf2FE6+JGFcjsuMLlik3+jIJsMTiw=","bw3kJN6QSindJL9+ANldlQvWkwxFeNQhn1ClIZoJVhA=","wspMy17Az51pkww1W5jOiLum2PJ6zFDJL30lUTc7U9k=","56Fsq2qkRHS0vbb/c/adFzsCuX1TBnwPW1eIAHPD9A0=","tfkcdWLQrSRE599MtfX9wDGfyHSc+Lq6FEW23uZlOMo=","PCatgmK4S4GJh9aglA4qqFYU3RHTT2OiaVP6uAgFki4=","lQivtSHysANe3U4oFDDIMFK4dkAMQpePs4l1hHurY04=","+Yj2QKRB941DIC7ZPlPDn5/zkkBSr3c7pmsUJrv1gBw=","i5OzCjEaOcuLsMMY/QHptGIEOp1hOFoIQgAonTI6N6o=","++ROhbv5Pbm/00PZyTVQLYP2N7a/3KfVH7Q+/3L0oW8=","BdFW4pP58BQzfeWCfFypASG+2jkdQpgqtozBNNv6b+s=","dQcjS/MPr8+Q+2qXyhDmL9EZKwXQ1NWAFPmKw1Tk/RA=","CEq8CntNLsjbCsAdjDq+EGIqfv/8E3OJmtw2geiw+vw=","KbpoJJ6n+jp61r5n+QAE+wTcjY66N3DRmfNw4b83C4c=","6oYw/iX8hXb8a6djUtCXPVxpek17pSg77rtyc/NMYcc=","AbmCao8l7GoQbtpjYNAWaE+mbNOJU6aCRK2KyMpE5qU=","e9HNXETiT7cpjZPkwD6euSEAmh8JGtjlit30FaNx8Yo=","ugX8isgp+f/pAl5tdADV8SsAViS/ys3rT+Ah3VsRv4Q=","gTEA/veYCl75CLVFUq7IvRWM4dFucvDhsycV/b/Fxrg=","mHqCAQJ2YW8qzYSwHVD0lOQMQHqxpzSa7tYGskYFJmQ=","OjhzRhGmrZahGdK/bsyTOVYW6lXLSMG+w4Udn33JxOg=","mB9LMvCbwhP+UEXYVPoHqtHuhKTLCvbHUlPOtSnMujs=","5ujbahZMwpYAx3dryeXYQf5l76hhMA1yX9biKDmktpc=","10iXZgohvsuepw82E0vRDBvhASXmmuYpZ8Sd0PKq+BY=","jFY643HiT4Nk4VLwXp3yHE/IEF3qqi062NlwjL3zTqE=","nQ/u5oG76twOeDmW0mDuWMf+dYrfFDq6WU/9saSmrGg=","8KNAZRIGuqsTWFHbzr8etoFymO4QISzALSmXyRWB/eE=","GnqF7bg3z70zgORjHwb6VCtKlL7/c1NEZIt3472Hsis=","Y0x23yVD2q5gCZq/XWmmTH0PfwfNDQ4BA0FfVz1DWS8=","VS91SJEVESZMopD2ngMn4VLW9rzF8AD7Co2DIZS1F6I=","6dc8VSqtXhBzdef242o9A1zou/D20Sjq7NfvYnEE4uE=","3oDPJ79EQCfSJujCwXHGMT3kB5nzMoECO6OgqJs/+YY=","AawM+s3h2xjGDwwiS04UxrOjMkRQixg1l9MRsxvoXmk=","o14c+SJbnVtCt/HHLct7ZBOw9HygpphZbqDuy4xwRQU=","fXx4hQd8+H38L9WgjtGHwoU+PrpdGSw1n8a0AU67Zp8=","hMRkKOM/npzy5UcLKiv32gSFuq1qkBK+1Af2HG34IDw=","0e4m7PBWHn6a77cl6VekBg0TdREN4JBOszInsSBnR0Y=","GpMOPQifEOTlkhtI49X4nHTqq4pv7PISD5YKKp4DjkU=","DdLyIRuP5dGvLw45zu/lyLlYPnyRHz6wSrYbDEo8HG4=","hEyegstslRqFZMooi2oHDN8c/QeNcH6UuL7mX2dYuRU=","vcsaQlp4r15Yc4KLOjClBoXOwTRkv8y0UFG2MDuGkkw=","zYREAzcpfT0rBlgy4HWp60OsYOzacYX/ybIc5tEiBu0=","CxaLvFk/Wx8J8BhaBk4plZ6MRjBxHVahXuhzEU4zzs8=","bf6gE/LI8bwlQ65UgAqU50QnrNb2IPJd1JA05dPAVZA=","elpy9PMmaQPs5ryejXkAQav95wUlCnTQw4TzeXzZ5uQ=","Ke7kb3Plm3JI7uDDN5ROXkrSzsPTKh1s8A42g66rv0E=","xK2fpMrc63NmL/8snm6LjUNVsdvILgHWi55KujB4UUU=","fHIsouThAPU2EIIKsw11C5ZrHj0u4BEui5ehPqy0DDM=","yHO9IW8mKhftiZgmsXP8eEzPka/7Ect+oqovAdJTyxg=","R5IyrkQlvkUzRAGbTf3r5Ne3DThG9gHIwZ9eh5oPh58=","Msb6zI4F42A92J9ibsV76umEl8CCcL/DU/sN3enZsUk=","Oz8vcGH888GExd/0dkWr6YnuyGIcbRHYwcesshe4sWA=","ISvv/Xkbf0V/+6BsrkonJ6Ue0+dyRhYGtpev9oJ81LA=","I9lhVybbC/8XN71zvrj9kUQVFJiergge8WTMadm7n2U=","WZQeFSkE+QXZytF6wYESxyys2EZzR5oTPPqH5pYTZs8=","0AdrLqflD5GB8JzrykcdQPCcTJMpk2lzAvXWMKMivjw=","loh8aXWpBEYeH9q/NarStcmYNLPm+zGcU+5ybG+dOxg=","FmXNaGUwwhtWYl05cSIzq5/GL387Nad34bt8WcMRaJk=","gGs8FlvbigMe2e9Szqioe2aERKXiWozZ9o3cKY8x+iQ=","H1yFEmpag1EubL8kCal5q7yYI+TrHxT44G+nKvz0jxo=","2l2ZtJHjSzZTEA/wcbBeekdoIrCWo9ehPjrBaDP2wgU=","n7RvgS0fT8onmR9SuAFga/UKiOMirszCIRlAnxBz2Ko=","hSnLewB08MmE4jiO/mY9bA8PsJBzjpivUSZE6k0t4Oc=","d/UjsSTAP2E9BvbxLHaviOcbv2Mir6hR6AtbEEI1tFk=","pn+LnJ4o/CpqF6BG+nriApDu0Dsa0yKV82L0+P/C3AI=","GzLYcCycGy0KhdlL8BNqsZd7mFkx7bcGTvmobscV1Qk=","MGTSrDMEiW6hglo6Uk93vAK/CE9jMuADBsUizdELjn0=","dR480/qPz+oanrkSTgrwULQPm1OUNJ094Ufo7rVr05w=","LwCdZkiI4uI3SPE58it681RCg7FUGTn2QboIs2oNvPc=","sAD78wefnx7evtP0la6a6zBLFl5ZIZwetLuuTFIn+vE=","Dl+Pfb6kEdR3jF4mRy0FlUxkk28WmkT4j/OzFR6Iw6s=","LBRKX7mZyQKlPgSKXY+QCpDLYtcFyWfzvryN+y6lJYs=","hVi6DPVsFJ3a+M4JmuXd3d7YZ/fzSUF1i85mH60AGKE=","/En/0ywvR7k4wDG87pvjN9PMDa4miOTWNGqTSIZZmsE=","7djaDwREZMpj9l/EIqJAdpGP/jLXogL0xt8T+tYvo1E=","gK8Izv65mMhUHH+Lmdtwq9IxV5kW+Uk5tNLEqXNDZ+E=","g+5f12yt0JmuxVLZnWskgKKYXYig9So1gPPAQrLHjrI=","ru5obXPYQVWMk8kdo5KM/4vQZV53REJb1mImqRzJFyo=","1OBSyAaxcgqjwhvhqIuY7KBpma39f+lYabbsafT3FU8=","Ps32W/dBATeqLix+Qe1vMBvitq2xvzMQkAxUg0xLiDE=","GBS7mcrjbxvWplC/3mUHb2soRf5XZk1+CKiqCw0o5cc=","xXEU/sLheajIMu6Rlt2cGbTkHXAuSBcfGG8cqi7Ue9I=","aoVMECq3bOBli0VgS6wNr+S34DqXkydlxpMT+hVZIyU=","nj3dySmATNEL7ebqFI8S78MOjN7UvgX5gDIphCW39iU=","noU0LRkF9sJTITgKaHzANpQ66V47e4FlENTi4cWe5hE=","kaxtANRgGXXRyomOBrk4YZklHTngoFsdOuFxsgTGH2U=","alx9aNCj5DjAreAwKKaEGT8MTTYJRqsPXZkUYUhqMMM=","iRB614psuY914aDjZ66GWwF2My2/d7dSLpE4/Q4ZxlE=","iNxEM0mDEQH/V3lIgUJm+cDUhK8cc4EryIGs3syhJZc=","4V++LFI/nkZMqgyi1QtLz5xJbFk48mO30HbTsXVXtTk=","Kw+50Wab9w0C3VWGgKQNIlizwJDxMYU4NxhR8Xtd3G0=","SMbqKV7rHIdJT6HS0kSu7X9XdjypzVuY4bJDPGfB7pM=","UlXQXo71DzOunZOhKGTC1WnB+wAJau1NGdygPG5gSj8=","H36aHQLGZPo2+8hbccl5jPffzTGKGub6n7q2GDusc+w=","8/QZ6WtOoj5XSu0xwzwFU5+YoSdeeYQdk2rwberDt+g=","K2cPw9oJ2t68r+p67ZRvgNPGtFB0lkCwkF9JX5i6K/I=","0N5jJpg4mZ41I2J2/7/ZNcqYl/fUGGa95FF0W5/jBT8=","0LZUHiAvSLpSHKMCTyAfcDceEqOuAlNwUKLPfzGmd9w=","uNf2IRjVY2d7AJlCW+b/sq+dToBz+Gzyt8vMvpzUkOo=","HNX60dqv1Yab0gBxKK3PlEK9IrpaLv7jmzVG2mepW68=","Lf9wVDl0V7icAqkD8A+xkqLT6+4QG6RQRoh2rslZv4U=","zls9kA379fABIAQmqKz5VLZyMm7E6UbM9xClikpoeRc=","sUBhJmGEb2kLwSee4Ye6BuFfE+WAJLMtuWVwq9+myFc=","a37CcdTiuPjPlEqg0t3ioNkYJna8ylmHf3Gj0DA7f3c=","9VGq5o+qcCvGTHTwkQoA7BoGl+ZH+50sCLuwKAdv1Pc=","KrD8B/HGSCTVegIE0CDUtesHE+ANzY9pUBdWpDz/iSM=","K3Slc1PyRTI6lzypMfmdTLub4Z/NZG45eOrLwIbjZq4=","SRfixlyk+rgPDjIXtQT4wg18iNk3uT3yUwjkZg07Tfg=","MfcJLfzK609mtQ++1c0Tfls2BRbRVqd8mqefe1o22Mg=","/76etrNYOdV+g27EhUMjuTphr8APpq1mWjC+pkh4+AI=","LEBeo8mxujMnazf2QJm2/nivXqqjSSg0zr6f2BD4gyo=","hHjv1t53wtBDzQRAkAhlD/lgYcJnSJLk4SVD2ENTQ0M=","+baUha+5haJY6BBK9dGQY7n3GEwsjVCOnu/tWURS1I4=","fm607AVPUs4dax67bPxlFWidEbgJ4Iu1dk0brbEnEEY=","DUYeI/4gXkSFpwheTXbBgW4GO6nHL1SYn/nVFzmADwY=","TYeNBNGELzIPsWcPy2TY1jhCPHVegCVUccZJAuPrf0Q=","g0YhYCuj/fuPyGZIRbPTQ2loYTuLERvT9o7bJenNc7A=","4003pCgno9XRT8kULxiHlAyu9kapeZtvJvCFlnPGIpU=","r2Jd8tVlaJF7j/FDobRfsdQGvBRmvI9QMkL3FK4u7UY=","zEyCizbOkiIDCPy2Jh5vsp4orOrIJ9eq3DEIsGj2bVY=","wmoF8uwsdzQRb2U6UQy/jeqRSVt5sxo3KQWheiDUhYU=","I3DwgptBrKJGhl4i394aYJdAjZvkR80AnS/6btsvB1o=","qA4jP55504/P7+8iEDom4J++X2jLyPztMPvtFWrkM5k=","GbZ/Nq/NuL7naqISnpHd/I9gk9QdSbU79NWWKVe/S3U=","T784TrNVJDUs0xN2c3R+D3syCJqXz2pBYu1xWOxCKBI=","Q8tetGBtUbhRDSQ2WvTKQiicYvdjmSsFt19c/g7QiKs=","X4cgX+dJNgKqzHtFVyjlHAxHcg3I1srfQf8kfzbsVxs=","27VoYBq3rZIH34UrChUQxMyjVskRH5ex3Aijzgvk/Ss=","M8/u8/Sslv8QGmDqJJOEy0B3fstpywbNs+P/P7iCT8s=","zlwxnqjV5llzvb/gEdUj6GbG0wNu/qtpOZP15OFxs6s=","XDeXgV7wfKuajXA9aV0ScvmGV4baoN3uRgEQEOef6gs=","bm5IywCGX6fUQQl5fERhpexK46wv3GPZsG6PE2tBiUM=","pR/7wztemkxvyQhGT+o8j5EReIKEGcEeRyptqsloR1c=","KpNo8cDxsr1KmjVxmuyRR9ZeGw1iX0WBS3Jf8rTwn+4=","WdR64O8+RXEF4zRECwoypVeJYa5TNshV9JRcFdAUcLw=","9GfO5WMuCiQglk5lK47CmacQ0nCea2NxyhA4/ly3BS8=","FUB9ytRM+/2LQEDoi+1vNj6JA/mpsD8KG8/tFrkkDOk=","tw99eWJKfjZO+DKkgt4Z3OzBlVfMZlZB4u6aMbxqoic=","0UAYEnBoNMSGvfzdiuTjaNwfBrKb7GWG3X8xYvYa0K4=","BCJi5fZdLB54pDWWIC12qBc4IVIBVF8nk1sIFzuTI54=","ZlgJqw+IU6YEenKpFA8vybfFlVys07jM2AwlDSMogig=","ZWFviqkB14hG5SmoxWmyE1Mw7xlddEODe0Ek+mL1X2U=","7brTnYemYLp2pxEA2wZFCKDNf7s8LzhJXgPGX7t8GxQ=","OisZpSGTPeNqL2g5w6qH3z/a/reR4LRCrTiWlVrOPjs=","o/LdetfDnfeEAKPygjJIPUqvHa2fqU6kighFPtW6LCc=","6pFtuKqtkx3tdk6fpcJLvW+DBmycwg3ICx2qHRDf3Bo=","Rwu/Mm6u6eM+VJ2AKfgzroTFHmtOd+3DMWd3OqYpXrk=","f/7Z7GyKe8mlleGKCxBsd751jJhYhkn2QkMyLv+9HMA=","jEKknJ2n535nxh9LI1nBM2gfJfNXb37UyvY0tpmTAuM=","NlYXfq3gmf2sREQrstwV7WWPO3bgMg63SQSCpErErL4=","VAi30q0nHfeDkKlHhpFUice19YVyFugaESbaoMywk8M=","Rm400V+bJZXYTjTBxWAhrkB/IaKUh1WIoEvorUwkRmA=","hAuiUQSSfOY5fCLA2hkp3cJ66TtZaDHCefYWYSU+ilk=","+5UeBM4nm5wWw9f1R/MVFFHP+j84zFXmt7WVvV+JHmE=","uRxVi+2dOkQrvAlrvMpUhsen+g6eD7yMu+Ye9BgK7dk=","akZwVg51U4bmnZnEMz9yWURufyIduL7l4HtB1J1j2ZE=","MgdzHdrdRW/NCyljLEPlvwafTHqYJKRWI+ryJRblGks=","L0tZ8x0AwLwN2YD2+bGhxCIBPziQEs4DNPZqHOHMON4=","UzDdGESIojxbV0FwNXgHSacm/E2sbi1VXjsBaDXDuec=","OGFXojUnoUfOsbUKQCWrHAe757bcE+uRW/+Kko/tAiE=","VaRtPqYrVipXiNJQzG1gwBCM/XMXbP3nvPnsCTMSFf8=","5QzyfCkrrAFWKT9cRtqwlk2anEXJFoQDNTsOF7II0D8=","KUiy2gj/fU0LWYCPHgUg1ITkDeL0c2bq/EXK8v3wjuM=","uFP8WwsW43gz4m2RhTh4sutyS9+Ib+aTz3lJje6haGg=","U5oU8PRjHj63cvyDN9rHhS9VoMZNKKB3xe6goJffYc8=","Uc69hZzUg5VjBE45WxNrIVVDnHeQPD3oSd0jGAqAbw8=","khM+JB836G3mge8GgkGYTYgBzZUYYS//O0a4/kVStdQ=","aTq9wqi0acV6ukGuEtNtRz2SZLu3YxxnEDEvBwmBNxg=","msn4hFxz6I1jaDGWMAGPVSj4bExlNlgjQ63Q55Uf+jU=","j/0D/bsfeKyH5WEgh/EQ80NsKUhvLt/YV90JXE/vK9g=","MQh5SVXJWONI+wm4OQugEtP0pv43YX0neonvzXo9oMc=","JfwI6NaVsr5v6G4UJVsdfXH1J34rD1pvzfvQcZLAUrk=","0w3DzN3Pt/tKdvl4FrEJkgjyiA59uwzn5M5dlnL4N8U=","9lgsGumRjBMAuxan1oCW/iy25InvHi2xpmkQsQkylbI=","QwCULqDOnApJHMaf+XF165kRHTSoYawq0rEdiJQ3FiY=","8q6NJLXd40apZqAgWP9yFLQEOoOftoi2TPqxxGc4W8U=","i0FRRaIQ5/zpxaNoWCyj9q86BM6QaQD8w2+88bb3Xa0=","nJdOhE1kHg/Q4JlhjQaoe0l8EFv+z5tJ+q3W3ayOKGo=","KQeGmgSzqYgSYkiTXq7jklhuzKFRFbZCwk8x4VSE1jw=","hAXYzNw4IT6nME8vDq4RrnZozABE4DmTAzSIKkJIiPo=","zPbihTi36Etw9AFTMeZmnO2m36QpAaSg2Gh+lCq1vmA=","0CTpytOEgm4CZ1R3PMauupZqvVkRE+h9Xy0WZnOR1ro=","FeTbN64RrJbxuPnpxNN8C78BRAdhAi5/TJH51GmPzQs=","5nbmaXgYrUpKlJGJkLuTQkmdblEd76g6iS6OfLS+Jtk=","ga7uQvv9R5oxzORMGPAupAr2Zoh3KjYbD/BwH9yGy/Y=","yWSfMvBC4RXaWpHZhPgpNevcK4SZIPp7HJu2GU06g70=","amjWtIEa/7NnIHeLmGLj0+hMXjDAe6JNP9uRh5FM7RU=","bvFM4FZ3KlfTV1Afj066mq3kTF4N6jtc2ZbE+0sqP7Q=","1h9rNg3ssKXWV3UEPlW51SSEIAhB6dgYrkc8EUlUTXo=","tnLI3fge5365Kq4yqNq01vkoBXYO7TXbDo8US+Z7a4A=","H6DxFiSq8rhz871LgfQiM2KyQ+DBKaWZhNG+xp2q1dM=","k8X++MTSoRVBLx7cKrg5mIp03m2RCVvQrTxcGatYGcE=","G6bqUHGhd6oLb+xnPkO3/seRYbbnWTvHxVRWT/d9dks=","WQAgoMY5QiNCvuGicNYnoVVwWyZCvFAZdYOLUgtaX1k=","2wUt47PlUz5rSrsbn7rdyOH6zyp7S0p7AXC66Oi+vDs=","5i5eH3hOPSwY0q+khKS9F7WLmeKzQpGKxt0C4JNw1w8=","WOjRwCpeaR2PaAu9Py1V60kqGX74IT22aTDx5lNJ2Uc=","qudmyo9f70H40NSV/hkG1cN+whTI1OPUEZPgoGvRiJo=","1ddYfnoQTCEK6NUqQR7EYJouPWgGNTwIPO9Z4sX5hBI=","+sZEYNF0BwUAWMVe8hqWTVuDev3z6kS7YHq36PU6+UA=","eTs4ZVsNICWjckr03VhjXf/owlWsKl2JMQqmGDo3yk4=","nalGOi3IyYKOZ+QqdpS4IT1oiuBuW9Hv3CiR34Jqkug=","MaZWsFHCAz3Z5MtiKu9XInU91qCJd0aqz/ZHj3c8i6M=","9qpQF1N/oSnnt07tRnmLn+D2i/P+mLdSt7rH2cJp04o=","sFBCpEFolAjaiQjDrzjj0Zw/rGuKfr+U1AQTbytthzc=","R3yXy5FYvoXfCRp0i5r1GZEASuids9uKlX+rnehPh5s=","fL5q+neKOgboCkG10x9MpYwoD5j3NeQ4RoCmhYinW5o=","5qiLlRzyjGdpP3Ymwm607vAzDHQ/yARwpRKfwv6iMKs=","1hE9FT0+M96qHx7nlp+C3GDAzp14JU/wQn+WfpDFwo0=","CqtNl+OcBU9uTTyYpzkBpzALUhfnM+IFJehLG+CIjWE=","JmDyz58QwhTtoVZ5wRuseXxzVc4MzbOPRLwx63zdS/8=","EU9aOdyrZ2MCyjRQSPUE38faVWvLG+ux8beYWZIPr8w=","N0xABjbia6My5TFydZ6NE4E4yHCkc3LcJOPwwXY2VNU=","nVguNSojo3jIfYE8k7r+Of38KB6XYgA7gh0k85pNr+8=","Gvd2U2mi3sgc2QQwsKTU3E06Ql5dDgxFVQdNnaW7E2c=","XaE1+x04FkIQyYQiN70149+Ez4fKRjQo/rRl8ghknvY=","vGsHTZF5+MmMe30QfbvAvwxmTnrJbTP1/F22pnaBfek=","SkGTEOB2AfRdtLcQhFQuw8Ziu0E8YG7zXfpKbFcduAo=","8m3In2eFeyKgsNHW463tlMKsQcoPerm7KjARYpj6C1w=","88ONtWy7IMwDCb2ez20Yn3v7bvvmCh8Md8fnMIbq88o=","c2mc7h+C3jAfoLlyjm33xBCeEMD0nhUT//PgK4CM8cI=","VEK0FZ1bmRO0v0pe3eVQRyuAloQ91FyXI6uMsQDJGJI=","Dil4LR7zQ3UtfT68zqYqR+g6AIYC/CpN4JI8P+s5/gA=","YMxP9XcPyani1rqQoP0OEEiGhxdCWj08ggGhrKG/6S4=","1cYOpzy90cZJ6q0UGt6pU2qOccE7ze2x7gNdIxaIoho=","4fCh8haJULB8PYnmhr5s137fqMypm0J/+OA7OACPXRM=","3fcOouJ/gdqkCsyA5Y0LGuRxQSyPgByMDyoY60dmjO4=","ry3qxSICul9669Toq3wsdpq1as0a4Ug1TJW4kfzI1tk=","Rmvy1eH8BFobCUA1sdE0QiMhxa7UhWflg/L9YQGGu/8=","Q0ICIkAho8eLa6gR4wGW2biHWny8n6Bcf1TMBiFSgXY=","GoPVrUy/QwRk6ezTWSepcYmSR7PNyosgTi9mXOelwzI=","e8C0JV8ZkzZnIG8ytjXturQ3ehEbRj0WRpGxgfp0KPU=","sIHxltYFEMIPPCKP62iPq6MvhFHKrm29QrVybVamS/Q=","PWGOWWExbYDbtMw8GdZLiA7FF6D3Lr39gr6RfnQPAbk=","D5tPG5TDiTFtp6uvhoq5L2tzaU0qGpeiPTgWME/n6sw=","81ox8LMaM1oNX+wRjtgtns31hWHTv/CrrhlYc0gCf5M=","6Fp3l6vWf8tX+k/P6whQA1faQHjZ4IE1pmywNoLXevg=","MNf+xUuIkTqKfpU1g1M7C8ieVb1w3UzpUxcqyjwcoWg=","sJs5ws6F75HfZEulD+dE+B76s2e2dU0U9fgpCSg+l2k=","xgjgS8mJM/+x89vIrP7ClchuNbzBmnVYNT4FzVAS1jk=","tHClIUi7n9k83H0Z3AGylocRrGt0kheqKiOJ4EEVMy4=","o7xeldSy5iCqNlkxZPeg/F6ZgY9vvaZ8/+20Fl2koTs=","y+sI5HLcursw1e97hpxHVabNhtL+HtXQNHYbNtSQc9w=","cWXZ1HyrVNe8fJoztluQ9MjVFrKryCdN+JichrcnNlc=","KwFrxsUX8XmfYf4o+qMPkDQPCnGP/ofQELZMbs+lad0=","tw+VNEUpFBJ6FpVmmQ7gzazQquo2X5qiY5aMk45Vn1M=","d+2Xz+wQ+q/C0DjpKAFOMvJNsfHlQ3eK8jXEJCepev8=","EJDnDp20ZiW82ee8IM8laDCKCrMaLwVTKWtEzVS9v3w=","RbiX89BPSTONSv0D9869fOtrD2q/btC/+TNPmMU6sYA=","DlCixtx2fZmyw1k3q4HH0ZuigYD98pcre3lMXeAVPL0=","uazhDNKm1dlItyuJCDiAxQrZ94a5+SDTeFXXYGcVr5Q=","hmNPqnLjVXmeeySbkqyzEhylTCgDB/dtXA+Y4Xn8HOo=","LsXbVJfDnwI7PHOgcb9KtU8AlEsqFDyL7k7kUUVMUso=","83NXpcivtFmkIImKustlCZ3s3MfvmX+KQQSXjBzKX28=","+pcQtqXAP1Z69s/5H29YiFV79Cb1hRVpR+1xwzqdFqc=","hFOKsl01hTHyeTEvmjOD6K0QpjnDoh4+2r1N9F7qp9E=","Inj9FDYrgyWr9Bx3uY79myLsXu9zwt/PS01HDawjc4A=","hmO2nhE0Wy5lN7kUlgXC7V4zDl4HXFtaC8eUz1MAjsk=","LCZUgS41KBEcLPJIab6KjVwld7FihXofE19NXM/jQys=","4cekT1RdJgQVUA5CYi0m72XDg3Pk35mBSQ9Lila9AgQ=","JZnYqKUyWW4pL66iEDOTGPpoDuAx/Dql4nY/kMy/OM8=","qIrc7PAuM9Gml4P+VWBRM2oyHEy10UqVgyQ7ZcdAZIc=","aJ9cMxsav9aNmW5EElj3UAx9LlNxLEfquEfn8TiG85A=","zJ/ReAn9Ka8zbYmOacZu626vhSj3cariR1/ryOdY9v8=","EV8HTtOKE0TqPorPY8n+qkFKk7AtD3n3+TKxFF9QOrA=","afXPRaPHM2iIFdaZRD7yH6kiNs9AlVExgBaLS+TKh3E=","3HsS7JSejT9/K19+TmhXAYBG2kWU/j3wezw8MML+4GY=","8vznZPvJOcegSHjkLxAPtXyBNDKXKd3BmhveftpLZSg=","hIV0gtiHg7USKxyJ34AZXoqvlRfPyLm6LKzx6vhckD4=","UiWrbWr/dUfHdM32MkPJDR63l+kQAbIoaplxvLTi9ZM=","XtIzxH678d8mT2RtYoY7ZAfQVR/Ai31ZJPm2Mc/O6nU=","k1pZjnwPs5fNmj/n1RdEvZm6ILbCT5/mdgHwAMkCqyg=","xO5yBZdHenmM655UzP0OobshqsdvewZGFayj8r5NZkk=","3foopkbR0YTevi8nLvleTMvqzBmFrZBPxJB2I26rNQI=","/jpaV8lXq/eB2F4MRuvrPTk4u+UEDf1V9a1f1nwm4fg=","4i6gxuut+IhO7XYWpDWLMQpxdlztqhRNv6M9vAqWkQo=","RVisJ+qpp6puS2GOAyu7RcaNTXp1sBiffhVZhGCoH30=","eiB8OfAeojXh/TzIgHCgwzYoK09lB6EaNH0GXo0NFME=","OSXfuajYIsbhhp3NPE5jwarPq1zHMOHTV07KEqR1LCc=","D6ufQoe8zCjmq4Z3qThGz1bkKDft3frtUhY6GRs3Mwo=","8ks6ord4bcFNhzYqJj4B96qLGPvmxM7gD1DvJHGQ6xA=","9gseaPf/qWCaEa+gushe7LZeU3JSihoMsqnJpL03SYc=","6IuMGTWeUuaEJ/QeCC2fGDbXpTcTQ5n3k7oqvsW4Pgg=","3VmhuQP1iOUzOCaQVSqrShwOkd6oQPc7/zHQz74BCs8=","mn0TG3BJ1tQGGf94pg8sI0JJkG7w9XNHXplr/6lcD9g=","IUxd5MbPGt82Kmzt7UJCdRlVAe95j/n8wQmemW0AtEA=","C/HupTpL0XKE2UY1M9WWldQF9FSW6qIz4WeWvxLUZhY=","GUb6kRYG/a+SBnLfIRD60pBruSXvISUDbgPJGWxlDVo=","Uu4C9aT/6+IJo4B3g2Qkp/qHenX3GxOvkya5agWIzRc=","AD2AoIFpYKItEbjdNcy8udTJrybqhale9uptQr7XHFo=","3vmupyquiPIQiwymESW4WzWJGyIGX8tFyc3UnwcGe+c=","KWG1CJe4gWJDxkTnGN+sW12PmZWAzs5Sn81anIUtbVc=","QD7rpOodnYS1VhEmgQyWFrVYoVg5UnTGFl8YLRfONnM=","3N7KIrEOETQXIyBgN674rInDJXG3eQfL+UOIf6UeO90=","1/rNH/+990JJLcurbt8fn20S4+Gkyvp6FZSOKqGvBoI=","RdtQYpyDaWO0wednbsZ7GlQ0DySWjFu2TkrugK1mTlE=","sXM641N8sC8FK0JW5uKV/8ljEMQEJ41Gyo7jEYs6Ry4=","a/l7mLN4SkQ6YcxTv3Ooo7mI9V8QhVEp3GIXFoPdoEM=","DzXRzrDrv9NAoCyqNLWl+zom0jQhTUcKGDJH0CeJqbQ=","RXxzjgoD7uQUEgNZwPgaECbGv1E4ot/T5hSLDgQgOM0=","26+465X30HhAUDoXscC5L9AkmLXcZExADiySBrCCqK8=","3Jr4humYPPLGRAGZTkVL6XxVoKtsk5UCnWYseYL5Z4I=","ivenFWOflVdkZDPdyyxhxr4z+H0gi2LhLybJuXA/d1Y=","k+LC2yyS+rUn8FOL9BGYOrzGDmyN4VHV47BZyr7h6gk=","BkhZ7HiJxV3d4ch5dwKcz9JJWeKVzP134Yecd65CgbI=","rKBCBw0BEFi2u2RkLHD0vnfcViVdMkXwDsBwXwB5g0w=","siEe7qwei0MVToQNJKmAY99iT132nxoo4g/a2ablkuU=","TOvj1mekO4zbniZC1lSqfhINJjhfr+FGNg9wQGVvuD0=","UpEd47gDziChzvqp5gddNmar/ETTBoVjaYnUe7IQpEQ=","sxxlKsXuVssKprHN8bfZ2LCnEGyPVoGamcxzMmSfOsU=","wdZD4ph5Q3of+2zu26B9NaZvY39/PMSBZQAwQMCZ7Hk=","OWKc9VjzgV0SCt6kriXY1J0X3HU9OdryS4wknUYB6P4=","o9LVImFHSCTQyWi67NixbjPH2643Y1W+CoIeigt7v08=","5FwUMlWuTpBVoNUSC7AYtrbbZrfsb8E7blI06aQ9xQw=","T8rieQov8gdLLI1sI5J144X9aZY1lIsHSHMuEbFWZ50=","xQbsPi72/KIoEuJVVLo01YLacA0Cai3PaLuZKqhPCyc=","fJQWw+ghbo8218k/z9zIcH3v2+naDXQYBvq9Ok3tISg=","y6cKUIcVnxvXVdp/0ErOY5eyDw7rJiGUD6L45UNb5ns=","T79MWD8lK8VzUeb3Mkmwep3aeEIMVuqdO7WfZ5anTew=","Tg0xmsVCrt67PuLTr9K8+JRIcrLa63fOBbDqcE4YRvA=","033EIe8uUZxA+vB0UPTilcBDbGBWk5ElAQTvAY+LA+E=","Zkn/qfzZh1PM5XgEHMKNHqlqmlQ06OSbh3iYrQ7j3Ps=","5X5rvWVQtkgo+TOdcSYkOZSHA26nxsxTmwEhR30GxXo=","px2+vWfosu50LXu6FzaUlw9Q+1ekQGegp+jwv0l2238=","V+EUs5HYA7HDJNjlD/YCWhOw/G4ipS4WweiXkr2RoXk=","Hv9wXH4bloTuP0I++frCB58cpTnDs62EBlcJU+gCSy8=","Y8dksaFnLehbYbgd7omPK+1q5la02nGqHexyflvejE8=","ECnqJCqnb+sJDRF2x+DPdI5oNI5PZ6rUcodUk/PN4o0=","lTXdSeK4o+Xtun0QQdCC/QzzHqdg2crdC37VbjldDMc=","+egT6V1GqnRAyGP8Ym0Z3WunSdVbFmBB5D/yCOVVys8=","Cc8rh3MnXD4s6lku74tYtXDfMcRsBf1jwBn11qsnp7w=","gOXy9gaRsB5MKqEl9HI0rOWnRYtO+TOcXBMOl4ijtd0=","sgbD8yyMaYlzrbGqMv8eLBNDb0ISIs6xmBqbbC+aVKE=","RzcpMOsorp+aSLK7z4tq4UNBuZxWyUL0H1UeysJ8z8M=","PalUsoPVc/6S5BoJHPKZP8zwcGs9pIkhvUIRJJlwokQ=","6B3ZrxRwM8vyDNJElnc7FNrP7GOhynrwV80EIfzDXD4=","V9dDQO8D1AYgj96Octg5ZdhcBMCmObGbtFELlYrjlHE=","jI2pl29glf+hMsP5KzFdnkdvJtdSu9Lc1tEKL9TYJNc=","cLRoARBwxj6b9C/FHSqZ8gc3kdtm12H6tsDnHCewO54=","B5e5fHpXDTOpWLCgo3Xt1antK5OMpt3sASXvIvIYiX0=","jGiw6kMC8NBOxsufWXg46V9AW2s7MQRfu7eCiaDE6dM=","QIHlAMJaznVDBYc48m/nGzbANLWbv5xv4ouoiIxIOQM=","qx7Hyy10AN+q7/KiXQbZTHOhgpd+L2lO4992sS+VZZI=","VPZFuiIxlZ1xXO8lCjqeTELVFtC/d9b+1QRjgXTt0EE=","ZqrVppiYEyzOW6IyhZOsr2V+NbpNYOnYEolXIuLLBeI=","iRK41PsaFPeB6vXqpdk/ItawhTN/SmV4KiemkelDsPE=","YtHglpDPwTOTm3GD3+16+/c355aTd/41SmUKsOs4HUI=","rgD3SVzuLlrjRjtJAvts726qqbYWwt9KuNlFJDxM0x0=","WtOOqNtYy2tTJoz4U9dKKIYY7oTkgdOvHUHWrjLemgc=","zELJVJyqRomrO+ri8m50AQpJxACas2TW176TRa2ssRA=","IWOzJEzn5aj/pFCkMheMEl2vIm9Qmp0mUVlGzYaxlT8=","l2Y339dl6PO1zq/fOtZyOTLFi6Z9+H4aQwNdzGu7nnM=","r2VeOzUNolaAd5cx4tJVRZvFQcNRGVs2br0IIBuAwZk=","ZxDk8SxF5LMobvWyNg2k9hD671DAfhGmvxrFJN4Wulw=","6frq0d6qmCsT9IkiDPOgB///zifoXnRZlgEHJz5Oksg=","lg68CHVbInnXSaTq6tUT3fZYNp9hZ0Cwd747SAUQn+w=","nemOkNF68eTxr2uPq3tgzz+mBSETJA7nVS6oFg+HqCI=","ptxk6gf/nVi+bwNFADTD9Q5ij2XQXGwDd803diGulYE=","+w9v1+j8ToOHU1wF7ZSy3H1++gD8KyPW8MLbjAw8cZM=","1hIOYmAaDKXEP8TSZ9+1JvssqU7kYvaIFO79bDXEXM0=","ptxrWWb5UPfemYT0UOl43fTIgwprc5G9r8/37/P2bkg=","4PA2AwLswxpV612i6Z0SXX75EfB2iuq9Q9JpPn7MXhE=","KmCCp4J+yINzRDt1/eW73hoNPFkzyiOh2+0l/0VLOa8=","eT0EwYWVvHbPfZNXLUpcYH8Ris47gCy9gLMboXN+fAY=","l2Fvyz9l+rM5Zh6ORjUlGlMKwliEZ6QI9W4ti4McBMo=","tUELqEHJ12CSCakv4d7j+hka2Tce8CD4s/90mAFoL18=","57l7rnql7JI/ANwVm0jlMVxyt59IFgF4T88ZKC+u15s=","XG+FiK6gzWffMVY7riBiZgAXJ2mnXGkBRu2MzoYed5Y=","5zuRe4Ng7UpEbNdDCjflQRDGEPxSVIO4v5qUc53mmZQ=","X+9RPfIlwTMsY7V8j/Y78CtGGHypZtjygXpr8m4XPVk=","QBJTT/7VDM4DMMPKTrmddBiLgwBYWPhHqzi/UsdaXIE=","ag/RV71RauhdtiCjMPBXF3azJWBx71e32kzKsXAvWLw=","hYpgeZ25mhryLj97bc9BbKgihmcdCx+fP+OeoIRO+m4=","GGjMRJnj9CPglje5nf6ZvchNZ9H+3nsZ9Jg+jHvNWEI=","elM6tx/cTI7wX0TBrc1vAXcGcQsmB0biYkRxagS7O4I=","BvDX24uT4rFKmIDRJWflRHVmwu51IrszNGljKAfLY5M=","3ytqEsRHi9IOFl7XoQ4dCMnMCGmpMklL/jL5qDlhGfI=","v1sxRQqkvYGaJZc/9c9Wn/wt2g3n+Vdx7pXiof2zjcE=","9SSEU5d9sQfyTBmDMmx3V6gIfV4lVoltqgCk3+D7oJQ=","xqp0eU8YtogVGw9uuoTq+psU4YSNyDh7x0JAQqQjhok=","OlRiUI6dNi4rwvN1D0+COO5AxMxHv8Jr3otmAxB9yy0=","pW1O1Zl98eMAXbXlBEOm9Y3N9vpG7u4hj84Sshn5RaY=","A+MdU9R3e92MMoO3+UnxnJuLDtEn2X0zzEVI2nwJIeI=","93BlR7ViBrkJn7wHSS5j0ieIcSmx0kuvN45uUmbYbGY=","+ar/t464h7bCS0G8Qw5FqxTSx34Z7yB1ALt+0yalY4M=","o+Ulo4YtRFRnLfc2+SQoZI5Xt8FzBqX3QjMG/KVeNbk=","gExWOooivuehL2DcXAujpp6bDen8brcCjEzf7ceVmPY=","DTFdSzJ5v9a0SL8J3/aPM/e/3SX0KWPl692+8hxeKLI=","XJfljeBnr8dMaQdu9/XfLQcwWyrPVraFOzv7CHrNuLs=","u0ifjobwxCeHqHk3t656vNsFteRI0vHxuYVNQr+vzmw=","ha3ZOgsjxUKb25CCzKXnoMNztT863TSIj7x0b+7Kpdg=","mKIJW0Dm6hIZ2IVRlMsvW4j0709ucFt8JHYMMKxopuQ=","wBKdYiIjzAZfFkEFSCHSG08y58+AizaexoPoMWZlqTw=","gFwUil1FitDaP0exWzVouFlQuCMTeqFByh37IBuwMng=","ihG1AiKuelLUPaEaTbqYiZTGcXpRp8lGhJ/PWJqGrDE=","mtApzmtkY9sAXSltjbQ/yaKCnFYzKs2qw8zkQsh99P0=","aZFsjkqsj+S6Ez88pdeyNefa7vfj1a0Hsooi/UmISTE=","vPG+gA7Kd8VTXmHAkgVBTm/oEf4Zwt89x7xbnZwqI3g=","wZ1zaBpGjzrgVvZaNwfLyf++dsLToJGD1g9g5T5A6Fw=","/600mnSBT/2VvZw6BXai2PrR32jj0ApHU3SP1g6bERE=","OqF79EcVGtW5RnKHuCsFvZ8OwzDw/dfeu8w7LQ0rgq4=","KYxQCR8vyhjcknV9Ok5rE9U6iD8vRxhRZRe+fg221OA=","D3xT/uJ2jUdBSbigrcHoWNLrIV4sDvNPkx8yp2tunro=","jClOLufFJI/I59xN5ZTUS02/A00TYZuuwOZVKTmbNzY=","x03R0gQD2htGdZsR9zAYthYrc9IOCNTkulQD1rOM1kk=","hbgzhEIMMsCtATaGvL0dmcEjfHYMrzsbFGjE0KXeDRs=","x1Q+cGamRDhyllYPApNrXGUSWOqCGfW8zOCKXJiN0Q8=","OFYf0UjCASj8YE+/SRAtgQFiqJWnEK0wFHDvrO1AVq8=","sGbwz83YrSZ5414stO5yl5lG/rekBspVOthe+KV6Jno=","PwsSenFsUVMAOjcnvLlNLdAacx8rSpyCtVH5oZv5D/M=","q/fRJQYXMJnuqgv9cKrFkkmIvJ7+tKg4PRwx7kf6wZk=","0RXzOXkw674q691ipdNpcQAjV9bfAnIQH4ru4UOOnOo=","hi90QC9IJW/k4iFcWSt2Fq+MOjY42OlOchxrImz2nVY=","gDpurrO0fUvmL+Xn2T7qpl1Gun+6JxMc75te8vOl+z0=","pB95TG5sbrBfBT70nTotNnu/If2RSTHvNOaPHzG8XxU=","C6DKLq9vJPvwiOA/i0wy6u2gYjZAZbZDCfvLI15DaL0=","MAJs4vBeaI6JoaAlNixcB35SaezKFuFluk8ZL0fiCGs=","pH8E5g6jAVguDod/n800bMpVITrgo1dVLxH4avxKgW0=","93tqnsI+oJtlsgxi7hiahKLSr10x8RvR/7d7VFtR8vI=","rLnV2o8Opq5TDdXjDhMnxIoYoWS4utMFtDPTPOHWdOs=","V4OMmVzBrQfm8PfMbd9Fc/yhMDPx9DfotQEWb/HUrS8=","lBDvDRPEQG8B0dM+eqQDQJC4C6q8UrbwItU8WjaQp7Q=","ixZMChQEbtDB6eQMtZoKCrmfjNSmuC1cY0ABjHD+siM=","LnnK0KSEpC7xcOTRP+NVBMWg3+3W5rz1dUMSgJ5duY4=","xP49Q0tjDhh0T15CNFZL4sAxsYZdDocpGgud1bQmd5E=","NihMTYIPP4WlQm+ViKaZcNbeh0eF0/OkUT7hOrDt0BU=","IjV+WOKhNwbaFUkvohA23XFKgu+Y7WKwSPc4+wUfJUQ=","lsmo7U5MceeKCNMre2bD7GrTNVUJn2MvmEk5A72q3uo=","6ai4GJNZ6z8abJrpa0ujMp1wlIxJYUwIYx5JlH4Dty8=","12aR3ClorqdyLI5L3Y8o3UfqzL2K0OOHXrn0Gg1lpxA=","msGOub8S8M4kaqxjqLrOvrh8JHtjknvwVc9t8LE28dQ=","ha0BTG8eJoFhmjWEL+99HqFVgMLvdW5wlRyaf77RlbQ=","n0+uWnBzfrEcX24/C2dZSaTOPnBu3qzLqXWeASdG424=","ZFJcKFbfhXeT8aCsjKPkPCg0BuaAPRVBK8OQB9mU/H4=","TQ7RCOd7+/p0s/yCnWe71uuhDPxe5RynmHSA66qVgao=","ks1g+EiDaK5BYU1mTAC0kLpxuSW5FrgzMg689TNCHdA=","U81Z169AAwe6dVGPLvhNzLDKIEUwzY8cnNsbZK2oeB0=","Nv/TwjwC1sxnsufNU+TePFYrQVl/ssCmzMAviwipuDc=","KxifESBmC/3IpUSP/lXK+5wx36i6wsVXx7PvGuW4NZs=","0onHfCel7n7fKkA0XG3G2sPgsH9uANsP+AR1dXhp498=","cMV3C22Rx7Ag2D5Dqqx2nU4eX0ihVezgO031ne5D/xA=","XtHZ3ZxMtot0s2pBcHlSxjzR95brNBEVAx/73Jp1ZHQ=","JvQW0qde55zRup961HR0XUTz/5DDwyjxgm3xuRKGHos=","7JGzUBlZDAV9hUpwXQHgkt8OLeV9aZBhChymxz5PL2U=","UaiT9SPlj0VzzfW6E5q2uxYpC5Gd31Gk0Qgd5VrnayY=","eU2hobBCJJyXXtWIyH5ztzK8t7iWRcCJ3hoQQyabJCk=","daeCU26ocPgYzYqkA3l/ChrryXvfiGB3OA0OnP7IhL4=","0R/L0cXYPv/gUyqHejblE0sTcfSVT5ZXvnPIxV2+/ys=","sDHCWy6pzsvOTMAs1O9Y57/hmwGCtTYyTD5kouQkCmo=","SZuCE4lfdrg0OMOoyVrZXiV/XnuJxFVk2Lkgl3AhG+I=","cmNUua3XvgNhsRyiGXSQropyw31kizPDW/MHi7AkO2k=","2cNI9socUvXIaFRb+heojXVNgK1tV68XMIZO6kFtdiw=","yue2nvnObzdyPSiUkYPTnWpdssRHOzgcdAt/KLNOY4I=","CsQDooH8pwr7+2SfwccXul1l2c5JQChQkXP6F8HW4Is=","KXzt1HyhbXoT/vVdda6yWL77VxvnrjEJ3CkOPaITOEE=","fbe06guftFNrbJuZIu45E+f2yMdbW7hC25BNxHYg+xU=","waQQ9kPpuPxGzttJKTC/VQU+xIi2AM0TkdF1RA9F5HE=","u2QczqgJyj+IrSOaMB1s4XxVxyw0U6/+iRmd0jXbVAM=","CxU1IGUTg1zPO3HsT0J/o9znT3mRegsgeoCPI9vt6sc=","SGgJ38/dkIClcXcDGUPiSju1AXI4uZu6A3zWutqT7mA=","4C8RWETLYREuOA/Tqz4NyRFpM/r09INNFLpRa5YqYQ4=","HSpnfPQwftTyTLRs+R7+8juw55KRfI8vIemDfGglsx0=","Z5q3StPngQuhjTNPc9a+ecTO97HTFFaXjDLlzQMPbgM=","+F53eqrl4d2v9FtzWZz6WjT2FqUdejwOquIio+XMoNg=","CKv1Cc2z6yL0OFeA9f2bzjN9vYJr20bgi5JzhOE9W8c=","1+H8A9whQkRuI+JU6GaYtK0o3SVvNrUnpQCq8EU3mvk=","3aLUDq/udGS6+8OxBB2M/JtxJkNpityPy3qh36jpRc8=","WceZA9MxK8Zk7wy272ps9E3tHYHE0VApEdWrgwH1RF4=","GpwU2IVqo+2xkqtWfCmulbuE4+xJ+6bnx7TvzTaCuZE=","aOJTd8iKnYLATF7fct1rqy+OavU+/SX5gA7Y4ZHxexc=","H4rWKzVR9JivLMWNqQfc18xzR8KQkjBax9HpqUyysz8=","OUmRI8zT0jTMmFvX1Dd7rHJRqpCc7auUF3pC6cqkOyM=","jnSWJAyq0CDUd5Q3TkXvA0tDTGCu6CTOaRg+PfEhXbU=","XNDTtQUjRuHwcwf53U2pp73qMblCDKFHV5In8D9bPv8=","j37K2xoXdWtv2kpVIYgtudm9s655RfNLc214ea1pyNQ=","T1g/ML+fOeBCwCf+YYOsdTQ9g68Dv28THG/ut5KyRdE=","iPmuATQaIRiVMclWkw/X8pcaga/FuhbrHEqoNQ6UCrY=","7VpFo+ElLdpPbaH8qyUoTBcj8rKo7AVhu++3WkzfxTA=","R2z3GNC4xTm+35XkK+uFYe9Tm5fLVVRtZCTe2wRAdM8=","L+R/cew16HzGZCX85pC0pXBLGWuPyoGZcnwQ8GKvUvE=","dsr/zDj4rBKJy9A/0lwHBhyccbXv3b/Wi3y7c0lOERU=","VfgcSilt+pn9lzb8bkGF6ytCGwqPNMqkF/j5Y1GNkKo=","5kpgoVdUcuZqqulrRfQ+n0kaCaEF17oQAK8uXHiOZlc=","qy1Bf5obhN6Pkr4O9nbWS4kQ/6l1MHT9behcX3uUd6M=","TiGNw8r2tHQ5hJsLgbmxT5hdqCWVjufaNGUqDWZPSbI=","xe6P0DKbQfU3KwX1toMJpoDcjoM3G1/gWIK6JuLMKCM=","2lchU7WneL0nqGqTlvyEYJns6MfbO66I2CKostZ2/UM=","jo6jXq4+zoagW/3fUQC4o7iQM7NK8XVjcngPDMMuyUs=","Z8l7en2XbQnSqX3c8rviWHn4j0zI4cKd9MiB6y1WKoo=","HiKEk+5Hq/1zfXJJqKrLrzS6NtcJjzQyH5pBvnGGd2E=","Dxc8zioI0OxV8qt9ihqID/bUGf+PW+h6mxcbyvvK/7s=","AixvVxU6tHK5NG2RVYXXrl5i6+iLQKRslTsiDTO7keg=","92b33XWO3faMIdtdzfrBc1lSrzID9W9Ufh6BzG9xMuw=","S5ywaAAddRLlVE/6xoIo31kCu/5fY/yZmPkTtaO2JGY=","Bz1XUq6AyxMR6X9H2hfWDf5JU/fS60fAjVT1LXYL5hM=","q8d0f25RxAKgYVHri1iJPwMqD/bC6tvQGNssjrFg6+4=","Joev4b0XXK6Y85Lsz+ePI+oei9u2zI3kQqeluxE/7Ws=","pwijP5JVmT0jCgcR0eROyQdXg/xgVG37z5HSiGsJAr8=","ofaERb5DIlsCT2FLlGOramfh+/NqvHEfEce3tnEr7pI=","oXc64S113Pf1KHM/LvnOkcTfl9dqkGpp6Dx387w3fpM=","PcSoC/rggEeyVEyfcJuVIGOtc/PygLpxZKqCs18O2Cc=","IXUNgjjm0tm+84bT7GGC1QLyWaE59KiHbBmQMwEUqOY=","sqBHkoTNgTrW6IG3dYeTOXVByelxMuvM6VAe7+9n1ps=","v3vNOtety/e2Q7Jm6iSxsMGAKoknCuZuuSZR1KtCVhM=","+N5RaPXzAG2zOjzHDgpP1XWfYQY6IHTwBaXU4iCZwB8=","dE5T9VtkWCcPj6HzN7FLXoJigoZ2aaNn9MSWE8+91oM=","s7/aO9QNSRljXUjsAsHvjuP1zmj9ObUlStefs4blmIo=","8YNzzhjmpOeoo6d7oyzP4zgBSouU81AP754UNjKwcXQ=","vNcf8EHGsDYrKPQ7beTwHexNBt3GF6eXH393KKJtT4A=","5e840+eb16PoXJpoAsPo2sH3lwP/2nQAd985Vhg21yU=","rUcHF4lEkwAOlUhI+gdBJ6ood9C/p8/CANoHpn1JTC8=","ojWVwlAmMkZQmXgqoY+Y0WCTK5DcdtcWL70W8NZ+R4M=","AaFFjj6pf2x4bL2uXXDk2R0zTHDsfSYVXWUIHMUt7nA=","LnRqfi7loopfSK5jP5AVESb7zmIYl96WBBr1XU9KEqs=","3rGfRyB6Zh/VNy2EUENVe4hvVvQRGG4jq05+DqLihS4=","StSQcz+9HZGyAWe95fTfzaKjLvkcaev+8HntSfH5Bz0=","ja84otcHwSPKCZ2baWdOGx6Ysi+XMmjAufWNJaKNNg8=","lJp8ckHzlWzXhBTboPYzhbpg4R5vX99G1ZJnObOxbM4=","ZChhHccEaecSu5SUN3ot60X+TQ2C4n6rVB9zyu6+9oM=","TjcwMF4yyds6yKcpMVSTNsz54Oo6p7L59k6WfC8X/s0=","ejXcBHwMfLSOzINz74VHW4Oub/8fZbcT5dDcrIoFOd0=","azXlWXwX5EOc217SAIt1g9ukpkVZU/hz4csSMPmJH+o=","S9QHtkVDOH0Ju7J5ukBs+NnA4fQT91rO+ZOfgK9LFes=","/kvPbatjx7tVgVe/OW3KdrwY0sJz89+NcpddorMB6TM=","OawOHQ4RQ4ejEYnzrdjOVDrn5xIc3rmoD1Mr9XWC33E=","E8EO8OT+ro4iWUYs0wl4lCD24eAHmzETFfHfrDX0Yq4=","NyDocXmh3Tnow7jgGCJJufP4VeX0Z0eVcAURrxK4jBI=","VK4yxQoNKh9XUDWm7F2SIqDsHqWgc+mz3Gmob23LxPk=","wts9rKQ6VEIo1RKi1mU2eN7ZFMXKclI/qRmWslAWues=","/lAD25sJgfFeL5O0mc7PGxQP7dvbpxTx2f6EgcyjidU=","uQTzZkITgFD4kn0/Xk3pP4UB0dkQEVhZsSKQ657aDSg=","vBpySvWjgNM/CP7gjomaQzJj6jdzZPzVqVdQ6uIPfTw=","ooBJ3Qk2UJ7f1BMu4zN1EHIMfRSWv4Rl52BlMVvrSfs=","U/65c9p7d9OPBznCeZ7N1Hhu2WOdOBcFvIHrrGKww+o=","AsdtDaKcvmCMIbNV7wvVyQQLqoxR34j0Y8O/4xuxRt4=","7IizJNk+sNVi9EeW9Q5R8k4+t0uSAbAixBH7i+vDw/I=","njloI25CKe9xecP/l2VHE2f1e5wCh9dXy2f23d3J/8k=","KaG00kcKSstNl2jAKsrxR/y2N3JLm1dv4ROlkGHL6ps=","WtGwHOpH0Lh/rbEt1xh3CBpnTt9TgCqPsDbVDhVOv3c=","qAGDnrmmoABd/20B7h68BGenR5VmJ5UPRp7AmAudPc0=","GmvWE/7MEDFWcsiB0PzlxFbjVXIxxo3wD05nD3cIfcU=","Yf9PMyk7XfZJp1YY+WyHKTyU5pdFCu6z3rLL1yKPyns=","fDVxMqO8VVUd/6D4kVVq9+aQ3OVUEaGa2viSUnCSqpo=","VQ4JtQJ+CeGHW6JpEci+9YFCJ7QGYcoCp6FfcnX7Sys=","6a51j299DcXuGapsQQB7F/HFVCAvJcAGpH5Jfxyhkrc=","nrAz5l2B6+USJCRy7H5d8+3d50Zbmjs1LgpSt/0LDDU=","+7THs42f78sWekY8/SUsGT64cCvdhKn2NFuD8H72UPE=","joCLtvIzM41pmouhI9J8N+0QYH4YoYxsRsvsebJop4U=","0N4/FgR8chJf1pQfJGE7cjH8EabekYDSyagTCWPl2ug=","9cTs5oYL7DchPoFUuXYdvABSZImyNhtPFVzyeopYxu0=","55TZ4QoO1fFAWfKITSetMDzqPolY5SE14RPZ9K2KLRs=","1YCYteBxVmsb8FB/2JZcnEVBlvccnt9vAkjgL8T18Mw=","RX1cknT70LpjW9OefBoycKeZvvQ05nbgRONSMT+9c6g=","NPLuoQcA1I494QJ5tidxkdns/rizhPetHawM2k7v5bQ=","0M7NV694DCR7SJElxGttadb8fzhO7TJe9JNrOfFMeBo=","FIw9y3c3wXfGwThnG/Odb410WE2e0GLjqx7UzZV8+q8=","r8YDhzlLXk34eC/w8B5gSV5+ePm74BYzpLJb6Tql6w0=","jbaVO7H7+GymxPwm0YcIFS7lwQFoOouggxFo5UpUT/k=","KpnzlETjUIJdfDYn/KYZ9Hxda3URQr+FXmuze8XSdrg=","LzuZXY0wu7AC8hcditAQ4bEuVZ1A2g05YxgqAALKb5A=","+GWS7kGCEWGzh992XW5iCOz44xn7NTOvkguHFe3UPlI=","ccXFutpe2JGCz/BIpQuhclfQIRtk778GHTRD+AuhgKU=","RhRLQrQKOIMMAQFaz7OS8HAd8olLonj5kKZmaWmD/Dk=","L4BxfXJ7KDdmURoEk8kuvNw60lP3tG7YfK1Gan4to4s=","m3fzWgAUlM7fdzOvoGITk9auBQbm4Kc10lN0+e2J73U=","2zEuxGvufRtsuiYab/bvmzXEqmjv+r52Hp6bT5h6SJ0=","XKeiQu6X1LfoE0paoMllu2Ow8mLkfC1Cr+yQwUVVStA=","fx3qqPg7hzNhxnNe5OG75kEPXXN919MygnH7smU7HaA=","fCUaW0yx6FSVyKsbOqmmStggFNcJLJ+wChPEZlErjxs=","DjYOlIVIoR7oic/TW5kFLXB38bjmEkuD/BIbun+RP5U=","n1dt07w7wRuben0QvLnvsEzqQEX0qn2KyN8UXAJvOFs=","GDEaQaJLLYzJHVMVx5u40662Z+EdYu78eg21Mg/xYr0=","f75IL9HTV73/CG9DuBhMF/IofTRL6ksvBDW4w4DyCRs=","fibhrIJP8GhNfNkBEPq/gLiCSCDb+ZQ8PzrDe7vIQEI=","Rx+aIDwQ1UajyXGkNtkFGF4/UnXjqo0ghv/kcUaVfNM=","Q6d1912P96PUCBscZNYtosNCA2na9d2oSTcLZAe5r5s=","G2u1fgojWxadlL2WrwU8hkDoUdbaYZnNGuo5DpHiuUY=","b7S2nHrJ3R//FvOsE3bN9+/qW62m+oi11hsWsaSCfSc=","QsQ71p++K5/8H/w6u/TUInm8JSqDydICnmbTl4c9GXc=","aHvYF0ICEuhpF/T5Wdd/95YkS6vRR2ZEWCgorFyP+uQ=","PiUXYvmVO+DmzCGV5CFOdDRo0W4XbRspbaZ8l+cL4Ys=","h3PQYU+YubRTA5bUIEZHYRqolMM+nDugnkOSEJg+FWs=","YvUZkJi2h8E97dQDvK19bBy/l5gmnamy2zh2S5jhYIg=","no6SBMBH7o5oo7lnIBPvUT2V2l/F3KZqg0+5Zhaj57I=","IHCnzswcil4ZFL/2XMf/Nd2Ygchhjtcr1v9GHMV5eCM=","WFT+yD+pIzcyJcuqco8sWJQadoyyuF+naj6Gl+1r+Co=","cCpcEv1fXwyPzYICGr31IhYjQMo4sZXrz8bYv70+SYw=","k1uVc/+3GJTQetz+HvetmaB+Vm+qiS7clQbx3vvUERM=","6PBgK/Hpo5QUNQ2ajhkaH4Ae6+CnUh2yYaGLhBYq9c8=","Le0Ef3Dpx3HBkSIZvCr3oa3KoovqjQDGmRazCBRBM1M=","OblHLhflErbB3H2uMJOnsT5HBkqBgR/JqJgPkBcwAMo=","CWb/1reVO7niYS3yE4NP87aBaAiu0VXhjtXo1DISoJw=","5aTXhxlGJTnNvCkhSs/GukV1mnUIWCm/ov/UFntGez0=","BnW6GvurlHyHJAmQ/x9QJDVokFynQ/Td/7Ae1MTqp10=","PevBeR4gj/PT/unzC73myOTRNZdUnW66V3lScnBiMcg=","mhaz/IB2jKNeCzao7d/lh+dP96iguR7UjaMjuvPYRKw=","/ou2fZvrr4q6yTiDKgQW+5qNz2g5QuzRJbDvhofeo0I=","h959k03U9wsqFgYp11Zj7ahR6WZCGeivcOzge/57CUQ=","+gZ5NDXatziDycUd8uxH+rOk5mnMJ78lPJM+CazKveU=","QHo59la4eiryA73h0HYk9H1Cux0h8MNWeMi1gsD7/gQ=","jWS5avXnmcgVuJhNACmQ5NbquLut+nTIR7uYn7tkQak=","E8Djd6Qaq/PP7yGAVc8xIBJIT0PeQaMcLmL69LgXW4I=","HL3S5fRZ40BRxSc6e0pnerRdXZ47G2ds5W0ltKinNIY=","XdlYffPBPqe2Xa4x+kFeXCfPo8NdU41LUDp+RgROPUI=","mbD5x1tJ7Y/7Y+wTDvCwzY8EUO9e0EPfFSeU+js8nk4=","X7IfnGgOgZAswthgeeKuLUqix382tT/KRaPFLrvimTQ=","c94SpTPBdNM4CMvfBtlrh+cUm2ZdFwCFVU7H21Kt5L4=","tLMvF/57isgKjN4g2NJyOUSwlYGmM98N/f+sIOp7TL4=","W7VIBh/xkJ9hSrdG/wpKp3nCb9HEENBZTb2RZudYMbA=","MCVWnihDIiKA/vNRoAlcwZcJ62KkoDiMSeyGi+SoNak=","6ZnjOvl/V59S69opCMzdmpFcz6vk3mVf8CwYueGb43Q=","Bhw/iQPnpsXT24N4N6pTcWQSV3961uby1jrqz/bv+V8=","IYnKYPoaEGW6+/y2KDdsZScdXJ9rOMa4fawh6BVvabw=","k8Jge84oLZ/EyzoHOGB416W5kdTb/syIajeBbRxo0CE=","UAuC7lX+ld7YmIjTmsjfIPggY9aKJdQTNPAwAu6v0PE=","1ApGcPDER8XaGYeIEP7Y8Xbn1tbGxATa1X1AvtwWvBE=","RWdvMCF073UCf7A60g2jJbwbvhxdUGRbYd05GEcH9NA=","Pa9yw69IyS1X2s+JTLHgJVr0MTRvqgDPe3Al+vZnjZE=","94dZ3kMWRV02zRivL/ttPDnD6sD0KT0iF2DxeiMGafs=","313X/xaM3YnQ6HSDq8/H+ev6dVWj9ADaOIkq4twLv2c=","cF339zYwXz8Xg9wm8ny1f+ZA1XOI4JOhGu3uVFUrthg=","f8uzt4HCPmsHAD5LXriYMdYDcI+Qx0WmZZftpZFGp74=","ZkNzzZ2PcwE6S74A5T1Y2qtokBZfBuvUNZrf4b3fRfc=","rmvDfJK3Q64XpGqFFdX12IeYQST+o4yX6PDB9qhhhEo=","lCEeW/rQX9zTYCWQ2fc5cIf+U/Vcmp1dXbZYVwX6xyA=","2+Sf2dNNuVB/c6aqqKF6Ro4qWN96mtRSt+t2kAREgbI=","7ECbWCCotLQaMu3vhQmky9E/W9d0n4H9poV3+bV4boc=","nvCjjH2U1qO1S4443IbtFk9ZoDtUAnHlgx017VAAqEI=","ApYG/7/WfELpBYGPBBnw8vDMQyZdpSHSkay8Xpsr2ho=","phdIz2weSGD+t9lYYK5pgIAa/HGaeinGyow8EJbsv6o=","LJ577WBIWH5Hl6NuMY0N3H0zH7+Jlql3xPTybCin7Fc=","YZxv818eu+HsJp3DoXZVx5CFEvAEz+E/bIurfX9vEuQ=","Uxw7DaCs0lvXit5fcdPrCcqf+LiZFUgfjaJeBtuxwFs=","9U6O78K++sAmuF/sK0mpfmUv1hKu1fzwtFP+NX1w8Kg=","6zpqIFpJTPKfY8NoUs1mTIklESIWxpmq1mPT+q8H4To=","Y3YGnCfxUNmhYLZ0qU0z7EOT0w+lWVHFH9x+YUN0jCg=","wKknlz+rzz2LjK8K7svNQtFIajMiKb1XzMRemGgsES0=","NJ9dJPe3aQFRyvFiG+k7qgojKCxvon5KkfjD9P7yVqE=","HThQfxXK4aoIKzjpmFiv2sVwu5+/JmakQxIXQ5W6HKA=","UkZFxAhdH5CuYmEiEWOf1t62XM0uhhvIn2JvIuxrgk0=","Lc2mI3jNcLQ6kVMs9Qd4KopWDyDauZ97BEq52U2vhVs=","pUtGe+73GO+KZrNS5OZQ92sVErhhextcKEe/5NHDBCg=","HXq5C9toi7soZwHm0Ls8ibQpE5QyWo1oVY7tocQDsOc=","xojjZR41V1eJBS4WQRjrQ9M8xloq80mUBbAI/bskBzM=","wP3BZJZ+lOgLT5bE10/7HcwlaPsKPUKcLRNyqiMu0Ts=","5crl4YKBZ2j+s/EDfYyIi8rJAs9uWEdF3epFHp6hDEk=","QhHcfdmw7+uqTx2AcsTuQi1pQiZDg7PQn42h67IfEuU=","g+CI0VNjpUGD6Yp07L8nN28cL0SVMMhcOIDZreIcjYc=","r5kYN88P9Sbpc9iyDAHdIQsmXH3iFnziP2HZrc0d/mU=","3YEAyyTUIfFF5H3A9kCL9OxnPhah/sgGmDK7GEy2PSY=","X/XyM5e/ercEa0Q3I+rco3Sho/4Ei3s6wvLdiMDEDyg=","GnL8noYJjZW53itWia3YeHbPjSfo8b3nfzS+iF8iZuA=","/uCPTyOffwX7O15Dv+ueuHv5smbF9UiV3rdysToxlJM=","AdYRTjP5ZskliwTTlOtQdM4xqlktRp/NL9W+AnpX2CU=","8G5a2J4SAGFAEX7yvvwa2ObQaVwGIsJMgk0tZyTi35Y=","l2vjTx1DXQRIkCJaGv009Yuxkw8D5rCsnZL31dipCD8=","39NMyX+oliNd4+zpNk3QwXWfL4ymIYoPBaa25Mtzslc=","5AU1kU+SMEJ8F/MxlAtllu0eqNkJF/kryIQqZUkjXNQ=","V0ATq6QhwU/C0H/Nrk63nSh8AEjcYwiJhKUHOLKn3Uk=","+s/Cz03NFdaWLMLSX89iIjhwwiL2iMY+uMJvlQ3A4mk=","SGknJd+p4q0X54guzX5zVTN/PDeavDbDDvXvABKJBhk=","g601RjnFjbweiHC40vmb8I2YLoZ6pN5plA3brm2JfGo=","dkL/D5EL/WwcRTRKjbHc7fByrhF5s/cyXz787KGMaQI=","elRgOQjIoKHDTJPkznJunv21mxuczqbXGzzoehl1s70=","MUqHw48tTwP6oF7FPeknc3hWmeQdvAHsznvAecBqjvE=","E4mcnBMOL3juJLRf2eb7v1NZuBXqnffGACToLyaF0jw=","8EB0ZaePbZGtPpQMTe7YPXfE7R2kia3JUdgov8FxX6o=","iv1FN4JcHSMnr90uAD8EKoHPDU2PlFXwTAqT1l8wbh0=","G4m3zzbwaks8e9J6Z1+U0BdSo/8l23KXsVQekGXe2sQ=","VzcKHma8/Gxa/v3rZWxY3uCLsvm2pVOyZp90FnyahWU=","r255k91WrAe7Z99S423zRTivTo0KQxvfbHts4FLmmUA=","M8nmj2MI46cPXVp6Ja+mzo4wGZHyw4Pci/NMmKdSIX0=","qVFZzoR7zVTJ8dHtuOjDTKOoC+6maowkEX96vpTH/Qw=","p9mqDn1Y20AXJz6LRp34xrsgw8wnDFAlsyq+6z7pSEA=","t6rd3OSa4ZEbb6hC9Ewe88NoNUWpfEzsWocAyxVHhoY=","QSglnxc10pQ07PNKhCQYmU++5AQeMfQl1AdWIvLl0WM=","n9U9mK8MzxxYPndDvnAIh3fmfZwiUHCHmTQUi7EfLwM=","42u9jBi8SQucpMV9H0QFJv4SjrKwY+8qab6cGdGn6ik=","AQ1CnynqJaUTxCC3ibiLSBD8aHaKluIp7NX57dwprAw=","NuAXumkzn9DdMzgCP3ZwrDHkYj8WGTusFAInKwjuJtw=","19Rg+U76PBq++y4az8FQFdg1jRbH4KDCFZgYHw675/M=","JoI5iZ/lFGYZA6UxwhM5DM2ppuKpSZ/ffZ1qo5iQ1ik=","M/EfpZfbVCrQ6y8mnUw2mN0VlYWDZPyfvqS8PboDb4I=","jioip+5ormVw9e+bSFEK/EbZFZJ9yzFM+NTjIp16LB4=","w/GrvLYIeG7q+sQmgdG5RsIOHLIXVzgLXRnHozOxqGw=","Agi3MqGZs81AbqeueMZayVurO9dFPjm+E7qhNniN3ZI=","wpqzwWY/1nshstU3cTW/JoSkFuc5q1MZtZNIxjrx7fM=","u21TTbBmhY2zWwIoeZvCR1mcV8vAep10kFphC0NDLHI=","T+U93t0re+Fb3T/ENVtyT1f4oW7Z88C/bu004G9NKvI=","5BJMbt2H6apl58pOOn1ncMA4sOSCEpGa97gMDGgH4So=","o7uZ5JoGBPy0fr6dLnt7Fg/h7EGCV6nJauX7TSeGv+o=","9qGh1JDUGPbMslbtJhMqSAQOTyoP04cemxw5lj1ueBo=","/0POFaFxYxLxzFpC00TaTXlYJZ8hVOOx0eEaZoCaxEI=","CYGBOiNnctUa+Ib7TCYsMxj9B5SnuEWsMYbkAEGaDms=","3l5urHaoG9jKv4x3U8UZ/22UciEhtOJTGNR6gbOHscE=","bEpkzNKAODiD413f/bru6ir++w7VEhBZePjKECojIRQ=","ZSsqn+/mEKNrmz6rZY2kSv5dfa7/rhmA9vxwcnMI8eg=","1PSzkCySi7vu935W/pEGUF4HfrPRX3+mpPDaGT9smRQ=","TIkLjA6lWE2fMVJQQxl4/PUI/yYos2GiO19xKwzR0mY=","KZ4lw2bRoQp71xATs9IYOZ0BwW+UGr1wQuYrFYTD6h0=","Os1BHlrx8e2zQqMpP1xfXQmgedVeDIF51/knGjB7UAs=","86S5zoLm7rhKQq51wDkkW67X+7aN7ov71yLuHBd8GB0=","VnDedVu4Rx629ZA1RbGzIOyEXfON3ZYngfJkF4LL4aU=","mnOeTx54EFT4YGQxugMgr8sfmIGKWUyMgHDd3ssYecg=","7G2oRM/eFlfNampWcwXrvO6oJZrdck0pudhd7Ln2Igg=","BggrJZ/SIWCN5/Vtgq0AhTUoU4TSsxIE5G3ckarAAJg=","xFVmS3RMl71jAoGfRDyr/p94Q43t/X1Irv8Vgu4klUQ=","3BzR4y5KyhTzNDNdvu2r+Jo31NKC8kijovKXIJtOL6g=","27uMXLcay3TTq5pQ+W+fySiJo/ST1LLeFmYzmHFBdfA=","rLjOFBwJRhQFhE5UjxXe2G3wYVPJcK4bP+hfBTbLbJY=","t37dvOJb80hRsPJeof27ttcOBJyse/1l1XL+J8Q5OJw=","Cnnmm0y6HzNXN3Z1XH/pw89oQ8vbviNhxUlC4tg1Dww=","hDSA0mY64Vk7TRT+hitHMQwDMDqS10MmOxoUbsrdTI4=","mn8/tt9mMptWFkHcdR87Tlmd6YZJ2T5EHR1AtqsmY40=","YLDjviuihOqwqrqv4Aobq/2XJLaUN2tJ5IZagRLL0AA=","RCZ8q3wSFWvfbFjm9PexS+aUTeKhpfXJfMsY9V+NT6U=","i+o+x4dWsc8d5TreM54Txa4J3UeKcePEXKUUYsqHDi0=","1poeKSnOdNitCk8SkP9Mt4RbOgQnm5ILFZLcf7M+Tb8=","xgJOkE69/tlldZD5/nuzjw0FPhyDIekUsPsmtlRG450=","JuNmlzd2X02XBcT1RKZo8UgCEJv09v5OkKS5Ju31bns=","96EYaDoXhS7PNnLQHY7OcJH0ah+SLZvUtaBwipR07lw=","We8OjIltUS8l4nyVrZg7K5gtaINStMJLg5lPXQTmOj4=","+ingOtq31fbX/zlhiwh5t0U/xxlbhMQ93UUuJFtjyxU=","+VL9riWCCOfYspJR4jbSWnYKBk4W3UC8Kcf3mwqyV6M=","B60hyGicJNHL7TlbmsnB2DZZzxVL42MnKk/+qOdeAEM=","uONxQdcLVvdwuM8ERhH1k4K7GZkzV4+39A73NM7dCpo=","qlN8pVAsLO8dwrLafZFOqAmC0Bulf4bS41oe3i9lpEg=","rLSn7H8LBFtpQaqG3rYBxeK9rEG+rumc8f/XczgRxCo=","74xPz0gH+7UXQRgNEVYrkydOqAZoOjKnJQoLjvv0KxE=","tgRHw3+54G0U8+N340sT8o+lZ+zVqKnqetyAxS+fWgA=","D6AgZDRohK9pOnKRpdqSOhET87UBoJ6r4dyF4RMHzf8=","IaTeh4rkkuXsSQcc/viisj83eyizgsPbV1V+W+0902c=","WiAI5HosqJ8sCG8gOKEIQk3x7DEQZUyVJtaSVTvyoOk=","bkto0yMKI9LTzT02anzuX+VkrA4FBthXJYr/C2itk2c=","oTMkrf8truHklJv2qK+QuTm46xJr2t/w3MLNQxfo1bY=","9F9Czk/3L1GT380XU+yoHWFu+j3oCjVp/ZsSPl2xMZ0=","3x1Ml3mvwv6e3MIbcyToSyFPCDEkRahRxc4AsMRWr/M=","KSLOdfjNkWlI9VIht7qe4/q46pjTukRVIFOINxcyPD0=","UZW2hS/L933/4PD6yUe0sU7cYIfb8b9GkGXgBYXOhVI=","/K3oiiZ6HiQvsZmHp2MXt8eHp9yuN23BpXyGHZ9qA4M=","cQLk+mrXlhsCbnRn35R7rg3ts4MzIzRMRtkXlEqhorU=","wmVFPvoo3dnUwtmwdP3FPZ+fi8Ao12qki5i3De/Rtyo=","J32btYIvpnG/8cEsa6dWNbI6oSXAqyls4CrVGLExao0=","OKXCSnKAWgIrXs6wxCOsx8YS7KAxQ8PYZZ5ff6KQBgY=","RMgx8+agqgTysbEam2GGuPV3e0JgGGwn6cPT16oPl8M=","1BdzlZSTdAyxyJ/VVjTazFA+Xi9M05OESe0m9MjQgyQ=","zCcgdKKdpbVI1ucvYzkbDwlv5V21W8lg4TigijuwQDY=","xaFNLRXVogWLiSqsGCCZx3BqI8K377xQffvd1NxPnTU=","+NOwyN+AzE7gVEBDe776RyvMxmmALjq1jr+cX6NgsQg=","zF7rkcbRgN7NnHjNkw52wVXdNc4WLOJspaMC5pZlPjY=","f+4OUy7cOMU2jYEvCRX4+G9EfdTNDSgzZo3uNfU1meI=","aYdT24M9LQL0bzpoWcYZHgkyEoEDINJjWPrcwQnsdSs=","76iGCMg6xlvE6RYUO9dK/9bU6hb0tlQsLctkLHK1YAM=","OFdLdmOXDDbHuYtPnOHjFAF/5eKAEa3zhDTSGIh7JB0=","uti5URjmnkwqM2bgGqOL1cezUM3N4CAaKp8TTFKOgUs=","x4binU3t4gzNm2cXPPYncA1DGvrveHG/wQpBRUkQPOw=","gbIUGgk/zxkSKnwg2I2fjxAgYwHKJPJil5x+51qHQqU=","b97mrDnMKWvKm0DEWCvv+Zi1PS+x5hXtmryBq6V6YMA=","lkKMyHREKaM+mdhhPBCHPevyekrJsrNLZalgG/zEwNU=","A29THmqHlyvPGCGDOOU5CcWe7+g6Byp6r+liANfkUPo=","Zd01mzI48Up8aN7UgaAtfX0YSi9cN1ujTOB8EVXAIBk=","MYv9JLqpXUA7VhgSdg+MfvckWEoqHTajOvcZAD3yH6E=","sFEw0zt/AGPE3w0ZAbiygi00vMfEtP4H9jNuVvwsf9A=","a8Bih6ncnzbHb9o4iqw2tmR+1nRF2k58NNJ4a/OiqKM=","YtGIivVsqLuaA04ATD+4yQKX4QoUvAZGoWMfRQVZGP8=","mhKXh75gxS68wLtcfohSyB2dvUwT9R7wBJdRgm4BPyQ=","UQwVdZ/SeGr/8o7mqeSbWSfp/SxTsmBRBnJEPKSMbCA="],"block_size":4096,"path":"assets/NanumBarunGothicLight.ttf"},{"block_hashes":["Htlw92RpaSuVwtf4fEYoTwZ8KadFEpZMhVl7KvScb9k="],"block_size":4096,"path":"assets/atom-o.svg"},{"block_hashes":["EZdgrQxnvv7CZ8/SmAsW5aqL6E9vCUTEupQZGXlKJw4=","LB1mFGpVSjI59QFJKRyVBS5Y8sD3ulMZ4omKUuNuSFs="],"block_size":4096,"path":"assets/broken-link.svg"},{"block_hashes":["LAr/YeGrY+b7mK3t7LolqvdrEgSrbnwIGcKzE5jcUh8=","Z0T7FStVM0W4ktTFI4nDoQTpTBnWTlf4qEqbwucBcWk=","Pg2PZysv1QUQk652BA48bDLtnW1u9tdn5aarQpbrJc0=","sT3rXThH5r64WC0k8ytJf/WcAGxo+8hz3NfOao46Q2Q=","4v80vv/aSfgdmXrrI2Djt3Vgmf2/i3pqaQwqBtREDCQ=","r2Rr29gtIdgWRoMOpoVE0ZVn/7QC8w22KOyoEJPemNQ=","KbrO+3v1jwPVf+y3ZagnD45an3YwXnhXnO6AwWIYoyk=","jmdTYdH+wYumGUiMbea2+8SHFGMKnR9XOB/oETN9aGk=","knEUuVAipKtNZlk/YO52JZNHOGNWZgth/bUeGUmHCO4=","q0HE+kiETs3A24qzDe84+/tCRKzvjqnGsHg1Z192rvM=","F/6HoiYtHCJ+ljFgc9h2ug62PYuNwb+ZCSkP6yYc4I8=","yXF9ZkGNIHJJaEMuvnXkW2toUpFEx/GBHGbFoS/NDUk=","oW9y1+g/LD68EJH/PdwFzmDXk18Whqb8prmjKwW96DA=","nMEx1Jrk4MsuQ1rTOHpGumGni1qkmX+w+QoqetszWfc=","s2AYXzrsbV7zk5A3E4F+cmLpZ69YpqBx07IOsBNb2r0=","oAYRkCMcmP5QRJxSXau2TvmD841CerNhflI0U9Xnfrk=","x5s08D/FeyThB/hHceyvjOG1HZneqV0bYjoEkcdcc+w=","glEZw7hoj8CihCSH7IfSDV20sXqBTchrHNiu/Eb8pNc=","LJxw9bfZO16r0aOFb9EXjt/pGCnLlPrH1sRMt6HDMBQ=","88SKf7nRY4JCX9M4w5I8btJUwDymQnHi0LFoyYtPBGw=","Sf9FjriwHlKjfwoByhIlJsABnL3+8sjL5nyUc8rSNm4=","VDBUyeDhQkCDDdZc9fSsveFNuKYuPYLbZP4+q0f1bPE=","EXmnoUhc8IiMiCKsSqqXgJZmX/VQyHSDSFRGmVuJqks=","AHhhBKE4VLsj1V15WD9nIPk2nAP9H9tNA9aXfhJVSY4=","FAeb1I6JH2z3dSZeLNer436mrAonpJIepnaCSLnSWQA=","pBzt85Jun+GujwE3m8fYscHoyoeqJyYmdaW5EvadFr4=","kN3thprJ2LJ4jZj6ybOPWJxDyPGYtG/Mg7vR3mxsUKM=","Zx4pyJgXFbdd1lE1Fs0kYasnTNlAN6EkuiHdvJ54dJQ=","Ag5rvLEmM24yrNNfh7KkkBqDcJ31FTIiQrVYb0IGcIU=","x4BV6w4uNoDldJA8vr+q99TO1e1YbXxAl8Z0nX27kio=","9g7Zm6guuwZh4P3ILxHQ9um9jUHXwm+uBzEAiO7meqY=","HiLDEn3p816awNCYarOK0A80IzaS/eZpxScgAQ1GK5M=","32Lm6CPQb87oZtOSE8Xr1dLRzjYaiDiSDy/LbJz4sGU=","8KnhwZtTydyvCCWHTMSygj4K+3Tv5pruvEKB32XUwac="],"block_size":4096,"path":"assets/fa-brands-400.eot"},{"block_hashes":["QEEXd5lCc6BMwZgx4Kok9kYSkqEr+/BG6lN04S7zOtI=","Vhtkxg69vjFLrHAXd7NVZWkJKWGAlVPJflOn0RUuLqs=","YLEbMfWCMmLgb8c3PLyhY+DXfOuYITBeyqwZuaIBo/Y=","GTkjLnkEmw/kLT8nNIAQpaBX2LLy8EHu5e41N1yczzA=","weMGplikZ7oUgFV9JiJgOCXvkZB3fTIeYARD5noQaY8=","0AAvLavHw0wezeVHrwmOwap7F9rqafX5w6LzrvhoXy4=","1XRQaYRDnea3HwkvTqKC2XCA0mxyHjSMOQs8Q7NsZjo=","woBTXnY/FIQi+sUquF8o35T/xJDAl80rxWgscuRNsyw=","CWtE8I5/XSy5TQ29uIo/H6fjn/d8EGvMzoV0XDDCBpM=","OG1lsUAi7ws0sODFxf/cdRAQQob0LEaOoNBvkkuA3ls=","Jay2Rz+4BbYTuwT6ZGfiHdWFBk6Im85KMGeMrQ/5FYw=","k5s/2gykKL/vznzBFbkKA3S+swwrW6myoGtXGI2Mkug=","bKFwPGoFwkA7cZHwkavjwCcpIMzqGrtJG2E0fUIVTr4=","3liftvldFGQsK5N/CGdwAlZ8Toaaw6RmaJUstrllNp4=","tgHTpuGI9vTMLM/pXFnxR/p431RppRx3pXgfm9igb18=","egV7jBKhKwwzAknb7tc7/cN2CfwxBq0jGPt3JNKTsqs=","84F44HRd5w65VZue2QBSYW39exA3gh81Uzrf+/TMzqw=","F7a3Aee3Tk9BOPMzqcBy8bp7sZvKHqcTfh2byyqjjII=","rEgSwnAyNR+vM9/pHxRBGz70M4YNoMQkJDJuLNVUmaQ=","MklKRWDdZVxC4KjSW7oT95pOTxBmH+yQrYtZtFXa6Bg=","AhE8L7hCRiDVTwPi/sZsufnjNIFuw/PRICJSUlIyjXs=","q1sAZBTemgVxNOhyECdJ6cf1QkCJw+GSXqUsWsU7hQ4=","YE3HZpd4BK7ry68RQDLM60bU+K7OAW9rxejGq9DO68s=","RIbH/0zpbPAUpVQpWNVQC+6Jes6/7nuLc60SBzVOZ0Q=","y0pbTIXhYPjLosGkUQkTEx13NZutxDSDSVziBN2vfZE=","XDlkzaoeKcR1LsJaj6tI5ik2wcx2fqeLe0+JlPl+tD8=","hx6zgNZA3WiFyUWQp4CSPkOwA2t1Ys+zJ/SQQnTS03E=","pf/TUYaV9xXUIwwG1tHtkXYVG3P7imBEM8K/nu9bCfQ=","FgYEHcoqGXiz/uqlkWeZLlP6OLLmnhWC5U8NCvj7dlg=","mr+3SDV5qb6H9bC7hSm9tKd69iINc0U9W0EdFOUvY5I=","i2iKaamqRd51XZ9acuzpByzj/3eJsXYEf4owzPf5XEM=","LYcq8n3S+Tb4mxhYE1jW8K1EQXIVgaEYShQWOLU8A98=","HmFKCwEZg8QP7M3SS6NrvG/GZAy+4siSo5Ygxd40Q7Y=","/VrfhAg9owZZB+xbQSKoawCaLfiviWJ4sdYpWpaIRzg=","hilgqr29Eq4ajszTYBGOICbxPlcdflJ/uRiauCInY+o=","7iVr3FbgM+b0Zfq57aNfK10AQeWp+scq8QJ7gRdcptg=","dZqy40QZTIzk8UrKnNDDCzRf0KrveU0uwCx50zfH9O0=","ySbtfh3loKk3cOw24J/JwuyVqzlbYpYzyeImN9g1bqc=","3rADfUSi7WS3YXnuf17hBgqiPFqJnHuQLwuNh55ufHs=","uZCD9c9E4gr1+2I+erLahZmMFHNrDFzA2OS4I2lGaPc=","IuYie1psp+hgYAR3/HrbsGQvoDlfNHMCTnDIaC4uQ0U=","xhSjzl1kvJcML+EA7poQ2D20ny+FU4GYUtBrx8gl9YI=","Y7BQcVHQNGYE3WtBEl1HZaLL2u7BiZgxLkYBZ4mI9ks=","lpRtj296guTy4HEEUFktJwVw9ptUd6bg5SeKKdcforg=","CqU/EylziFmj7y8TTBzuIyTvee1+LIXKajnI5+WB8uU=","131Gpv2VFggXDgRbxaDHThn9NRRhR9znHp7hHC7P304=","fhGprGCXHrmhwMDg0RoKNfd/Zx9/1L/cpzpX7gTtc1Y=","LfRCK4tCrBJyra/NzSI2gIuDRTxKN6WW3IwPLa79clM=","5S1rAABIKDVLrgcA3/ykv68anU5L4ULCC+I+1VAFsPQ=","fmecQ6R4BWlPDLVasWyXUQw5GEcPPKfgaS6LC6Jlc4Q=","b3NI6e/TYGwFts+yk/BEjYd2ui3TTuEWp+9tLFwekZI=","SJUEtL4M7MhbG5uzKv6zJiPrkck2cb8lG+mw5q4pphw=","hLpvWqBBexSR/aBjL5zePWgPafrUTyanbag2qRY9Xug=","7HDJMvngxv7ogymzHXPAll1jxCoo4vgJ/xgnJownLeo=","P7jdUaF49VdRvidw7xjfkpYB3iaPoxEiNPpiDusD+Y8=","8mpR2G1iaMAekrCaefIw9kDNGUaKPsEfLPYphFLAj8c=","6ATpR8tCNyPLh4ugP4bovXQoG+egD/48RcqvHqltX58=","+5iQvKG7NPOUDXexAl2U5stRD2ES1xDhL8A501s/6cs=","/OsKgWMlY7rf4z3MVBfww1w0VDX54mRdaFGzvU3W4HE=","nNy0poy71Pf/tHbiyFqYWl8txXV/j+LuvVSU1UVAdOo=","aF3T+4g39hHSRGt+KFK+Jk9nE5MJkBih6FJHdUyBc1g=","SI4c6UQuLY2G6OYUnxd7oNqtDq2ngbU2Rwo3g66AbdY=","zP39lRckwmVFppJDM4keflkGGRIzrmnlvqbnUTQ3i3w=","YebLS56Bj84/dLcrEFnAC7DuEvTtylhghdY9cPmLXq4=","DLf3/hS5nw0eXvIDNbxjFblSqo1zFo+LIU2XwvK7Bfc=","zupTc3FAHLeXZWd6bYpoIBPN3JfqVdt5PHmQLCiLSEo=","OpVZrxLPDcdxnSu35n5A4JM2ilW9PKkrCqDuNZDCEbA=","Q5VkeajBgDe8divAZ9dOQmOewcIehlyaia3GOhsKZV8=","gI8ggnqAHgk7m/BdvQuIZiY28THgZASjLgWwnWhWym0=","RpPfThllP2A80Q5VKF6riyTrM6zeznj2TLOAoCiq9Cc=","aXA2kqO3OvvB/Qkj1Hwlt/lVzPZ5wM3+k8X6/Si94gI=","BIqjlSCTf8TL7j9qok6KXjgg46QG0WDunX4wBSM/gyI=","p/LkEeQGmkflGRmd9O3EdHohEXGgCFICCfQdENnt2YQ=","Vi8aLE4cgmB3X9LdDnZ6rIIVqKxPiOh/IDXCLvgrXqg=","aG6Fx/aqNuQpnewk+fOYZw3CItMLbBE8fpu3b9ILWfE=","aeS2aRPgMaEnqB16KdjUxibn030EuZHw9O63V60TLvA=","emPSTY/gK9DSwnC+kjt3wzFOthuMBDqcKBqWoqj5C9g=","SSGi0le2zcmxRQ1oZs9sCUSUAFqcjW+fEoIhJoiLwbc=","yo2MpYprJXIcMSEDoTk9WXeD/Bx1yPq+yz/R4jMFKSs=","lloMzPTssDN3b5RhVnGnbUOOxIqnjmqfdBAmEozwtek=","yYq2RH/oJoYgLK3TWIDQxESW7G8POmWzxcJuqEdlb3w=","QPRbSIe+PCZeQo2dvT8xV9oaF9OQwUFbmXZlxXeAbdI=","nBx6dELhn06LJUWTgfbutFkSy5d4qnHkub7ORdma+co=","dyqm6PacmHLLc14Z0M6TaTbkXFpcjqGzNctDtDyDEAM=","GNf2+EuLylYakO98PdSfs0ijHF7ap21i1jikc8UX9u4=","K0j9f4lPsT9lAhA0Lw3I0xNMpIdDlGXPxK6zKGQEmIk=","0rclawP/Jlwp1jXLD8GyTv5lDEGhvQ1fw+ftRhwkA/o=","wX3Z/JHbJlJGM0d/eSHhjsl6HV1l8rVaKTXtBpaf5js=","cue39CmWYAZO6xfPSmvJ2UDqwwBl/7WXki7I+iqpztY=","Qes9kKmycF+fsP+vO/bRseE74BIrEQkhqRX/aM0qFao=","wMDwZS8bN62KJURUMLKxQEcrTSekla04HdBAIaC7imU=","q1eOnPrv+JLbodPxOFLwgfKvdHSacmlr0sZd6XeW2Bc=","iFwX0kTimzdc1j/hyvJ8oDqS5wN51vLTNLv4Hh81Mec=","g14w39guxExiJ4DRA5oek5ZcCBdPpLGjpfhDwVIJWQ0=","+OryUANwaBRhywE92VQ79hXVimTecWSpBclVD9l0DbM=","11GdlgQOwXSxwLxth5oRjggF5+Gaj+jVAHBVtziS1cI=","d5hKC5zcl3wv7U3pGeAaPg97tWWXoq7a/Kof1Q7pTDY=","U5obxigirq4cMgyxOfCG5KCEPJBpa+BlKtF0ezIATGU=","zHPoBRYccPS8uweJoVIY3E1Jv0vdMAVyyKXt7fIUejE=","sW1ftUPSfKVSVwIHFjoh/wYJ8rs8u8wpnLeQZ2VP+Vc=","r4Ya6934B42t0/x29jzhfHZDT+tehfs8yTYYh0UzM+8=","+Em9HC5Jlmr2namI+G2ox6US8WZh7BWEV+gS8T3AgOA=","gRuiboAsFuWeD9Jbg3U19tj9HuKOhq35zE5yStpjVHU=","PQxvQ5PGmrMHSHy7dGKM4JMXBDUhnRFI4rCna7awVKQ=","gQkxGcnQ+qzQyMZJHxuWQXQlJ6KXC2ku4jmJF4F39rE=","fGI0tNhvSebHDVGaM+VB2Ps0NiedJhfONz+g613hYEU=","DrWqER20VY5hFgvFh6ZFjX0WgbTTY+EolvaUWT5J5kg=","nQpzGoMzTe+Jd+tlnLPhYI8e/WLdw+0aLgtAn1FU+nU=","2FJiJ2jivMBMzoh1mVydEAUIusKdC8kuHi1ETIe2ts8=","+MfaBTRXpVJmwK+HfNkIVNdHZNNub89Bv2EqGC1mSVY=","lesp7X7lG4h+7Clw8QbldsClHgirAgZQQMvb8xOdmnc=","Rc2n+nhLupA2gaZ1b02OtojMFoOcK+XsFg1ZPjQros4=","OSXe9QFC6HZUqLw14BtGIq4hITmsA/EVv1qqgaE3+74=","Php+3lLqIV4MPYlCCCr3kpfRK4C1kvxB9XOjzNOuAhI=","4fH1Idxj6LYVvp/iC12Q9+yk3qUaZVxKVuD5YyYrGMU=","sxjmSbUYsD/Cdm9f2ug9g2cqv9pJUdeNwV7M7WLmPZc=","BcxCelk0aE0firX/HzrvT953qv1eY3JN8ovA/9nafhs=","rPIOjWgjJiCLKmGqSK5p0BrFbXmfle9cJ/J7CQ5vxYY=","M4ZV5CkW+D6axm7T5epKBDuD5nBv5x2CMIF0jeNnVSc=","7P1TrDzK0BZYyTLH3RMDvhICwDKrAW9lo1x0Ei6W340=","5InsNpYO583gjLCS/zLM5mnB+fFnMJIQUqtnLL23WHw=","2SXmyp3L9dB1pW+m1Qf0oIO1+sP+75gq9l1IzlTIiVw=","Z1KPzVowWcsXgTbVNMgxo4I1/aW5wQle1wwsxQmbgJA=","jIivpUh1EjNmJWRegp4WSj0AnBs5si2y8f5NKqMp5S0=","BhUwu6qWxGC+iQ51nWKABQD+uN9K8GudDl4soVNnlAA=","hJBHMKT72JGmLEOkV7vPZn31dSIXm5Xkt4QQjwL3aSI=","UCkUnB4TUiwAFzbaprL5y2Qmvembjjcku9KVfNmIFa4=","PxwatWsnOV5j8kzVlbbeYmtIUG2I0w37nxnHwT0QmH4=","5Ni6f+iBTntiZHYpSAybpT4UZtzkVQKIPzeBhim+BFE=","HkFbtp0PyTYqTBu450ImG2CjlSCL9s6P2D8jYtfe2Cs=","Pq41Xv1NK3B5tbpJ4UkyNNytwDOqw/yadXA6GYhizl4=","HQC+2fgFo+jcl9LMiShLQe1V0A78xRhuuqoF4L3dPDE=","pQZf/vY0CZQ23hYqmENmAxTFdWV4LpUtUTw4YkdYksk=","h2papO+VJ5UtxG2CZ4/rduYx2C4yH8Jb2ko/UwNo9nw=","vcOxrvrF/qrNv0lt8mQydNauUlf736hqBNu6FRvw8E4=","v8G7/NoS1Ve7tzCS4+GnBfri/Dp680LYsNlRTbBSZ9Q=","wUqGj0FPnF1HIIuKr+gXsjpuReq0tlpsQEtkI8qxf1s=","Z0pvgfY8jejLTvnvKFfHOi+kUT/oXNtbzoL7ghI1ZoU=","ZleTalE7kAtmPdZWRUX2FCACI5UpxMw+rGUMRPlCn9c=","8p1549twBXqSm6CYudmQBRcKZb6x2HQZRX/JNZo06QU=","3t26vz0koSb8N9gZNibzKvi803nkOmm5oiABviESAAU=","hLNWFNNa4JjWPi5A7UJJ/2akpeYDbX7nDnp161ReQk4=","u/PUzpXntuBTvSHmPlZWB+WBsFybvUxhAupCo3jbXOs=","rLDRuD44PcMNF8kSBJRbF/bDwyOTZxM1Yi3oRC+P9Qc=","8qCLKTdgdP/voguwT4b5gGGNM77UDA/c12FygGS5mwc=","Vd92dQ7qF71RI5QsbvBL2FcNvXN+HzEAoaD2B/hTGNQ=","dISXmUQpJFsRUjJ58pTDvvNm+F028/xKIJsQUTy3bvY=","8l6lG6B3EZ45/DyvNv6t3q2CZaVxuzK9nYCl50PSlSE=","D6ma03/MxaKSIZJUlwwN4KRO8M+MHrwQxKtwHxLGMj4=","i4AfGgr8tXXAeeI/+MukzfxCK+8lTuJj4LsO67B3w4Y=","J4ywhRFwm/BEBNW3g0QgAb9qFn6kfIB8fOsa7dGWPGU=","pLhwHTUye87TiJ5795tKnBJbrDgfhp7C77m1CyQ64EY=","Zm9kIiB0jU6y+SR7fa1wEDvplB9DfonEvcb+2WdfK5U=","Vw1+f9Z0UexR4OcgrOLzw3gnD4bX1TxYn7/YTkuMGPU=","0tIzLrx01vk7OZA9d5mwS1LtfQeaXW+Pl5fCDqf8YhY=","/lk5UwfgYSUehB6pAwW/2VISCIZLm31NBBeeEKBhcgM=","YXms1ETj7n6J/qEa99Cx9g1ME7v5pMlNpHHQRovsXFE=","HOgukO09qiJHz3iyHNugl52myGkwmzQVtiUt+VIVXbU=","r6iaj2A8d0KLowfUwvwO02EjgBv75++NfOWzSoXGfuY=","u4s1bi/WUhorhB2fU+IlEaCSGMrCuHWcdXL3feo+Vyc=","wpbeftHxwdCTI5AAh4FnXvbDo+XUndK+yfKo3JFfnPc=","iSD1eFOfFrq1PPmH8rQr6DBWpMGXn6QmM3iUNq6i4tE=","TOencrIiAXy+75RJoVyiI8f3h8ivfxudQpjTROOCnXU=","7aBHNTMKOIOw7JvDh5TV40Hs3w9txl4+Y+KytzXX1kg=","lNFCCAMbhTMbJWbALRlsW2jg1Irzp3h/ikmi4J4qdQM=","wFoO/C7JAkPrIIywT9nVshm3XGI5Uq1MmAnxlGdhGTo=","DLpmwB6R3SK+kQggLlFipXVuk2aHvEuGEzRwakaWBFU=","hFeGkL9IO2ynyfeezOCcnJrbmjlkaXpP8dFMJQUmX6g=","8oDEY23MPIG4X3WPU87iZQHR6j5EVvB1QZRGXzPQSss=","+Rychsw6DWRYe5ZrzET7CJFSVmZYsDJA5Yq9LWjYO+E=","xMBjhYNPZTzTbtrDPRGWi3FnXFL5G08loyI6giMVfQ8=","QsCQLKjsZCP/drTmX4HqjYSk3+Y4O3/Dx10jwR0EB1k=","0a82ABFQ2HExrDBF1oyoHtZA8sya3O1QYvLi3B3vhZ4=","ssj1S3OB07Ke5wGCjMyqwr0VXbocMkEdVmH/kXPRqUk=","GoUoRY6gDspxtqU/Rpep283R9GK9IGDHpD1lQE1uzEs=","YLpOgXxRj3/vK6tJqfR06F7RtaUauQZBg7VQO6GCrDA=","bevBOD869MNSNtg9qxxgua4ZRdCwVUz71fM7mPsdRao=","53lCxK4Ih1u/hEbMLATur0AhtB22MxiNZ4vT7x68TVw=","riUfJahGYUL13ALQF/VYckCMS1kDZAFa7zNVlND3uZk=","jTBNt/8MJa974dnR3dVAfvpK1cApOB+coCBdHZg7DUw=","DLy76sUlC1NHorGJT8JCnKktzeys6ybrky2t8zgMjnA=","yhqIjbLy96cR4ntPsG1mKRnY/DaLbgM4ESc1mpLDLrs=","coUj5ps8tB6cVFQLTdIJ+6X8n5cOKKXH04/2YvWVGYo="],"block_size":4096,"path":"assets/fa-brands-400.svg"},{"block_hashes":["ee4zIWy7fUmR9YZC7EQsPe7hUWnPYL0OEfJ+c+GUiis=","rMHa5lzZGADv6B7I6dMrdtWOnrbBRYoQpPTK1YgGErA=","rKn3ZmSGHEtvdci7URl92B8/VeHZdsOManvvx6/m/yE=","OdKsUAQVAjOd/YnGTWaiPbKrdrNsyZvd0FvJ9gofYws=","jLSYahMn7V6JykAjf1DPJkgsRL73AvJVzCouRnaVJag=","YbCi+mofeIzCqVD7sYHKYsy8bt/J8ROS3HcpCq+sD9s=","3+vwQajDHAnOjKrpNCaC09QOOIkfPe6DPa6gp8hElY4=","7Vh4tQEQIKvGESKh2qHXnn+9HBsulqbBjVmsaoY+DeU=","WVUw7i4swuAvgcb5KMwD/JBT8KM5HPcB1mkjA9mHMCg=","g092+7mCtN1z1RxzZ+0MWb3bhVjh5fQElqzY4ByaVvM=","+RuZyCaKIQcbv6eIh2P/R8+EzT81OpniDu7inqv8IRo=","7t3/WhNAHn3GCvqk8eAwk6qJEBUEhxsj8gSqBNuqumY=","YOrCSpchkPDxJGfI1r33k3kW/LZrz3+Y/0y2xud7bgU=","PohY6tTDSlJiae1rCFnlDcrrceh4azn0oSkcO3q+mLM=","1Kcoqzj7j6A4ZAmIa3Lc+hFPeB4BBQ3HdQfir/kXsa4=","rF5rUjau6TGd2vP69XxOSKMzmcE6chZ283agFp5ZiLI=","jlHVQL1rN6B6JBj0HEDLAmwfMZQJKFMMB+ZIzORu+HQ=","Ew+rP7jXPEhM4WlaNcylu1rt33gcFo8Pvk96gj7RPq4=","YnHGTLrwwYQtnHw8CuTv3XayXOLDstCkRfjSoKzncUk=","Ti5aF7Bw3/bLg3WH+T9fDFReSXKGgfXnIXdBO61ywBk=","PulGTG73s7yzeYlu2aUTEUv+69AJ5QIVDlZvGV48tqY=","0hX8R/L/MZMSnMDX5Rg+KpVtybzbVvZ4AOMhmezx/zY=","75VJXQRgcG08rGFG8lKYxIskbCl4SRN4APJKjiXxmMc=","qTFXt7dyacIYdk+M3Kz0OrwPV7N7qdy5ltyp/pQp7AY=","xeuNcfi0TZvVgWf1QVn1g7IcO0UF0b02LKvJ+ySv/1U=","Xkktj1HTNF1UOA5tW46J7w0+3omiwhfHsIWeOTLx8f0=","ygwOnwZHLm4e0J/dlAgwl7oy1QZp9vJkvQd2gc1Rh+s=","qXZrrrCy1pRH1jTc/5rHp5wlqdH8+LHv6UPFLgxH7vk=","219CANgbGuufWslwdVqLirZDUotwwnLUaQFxWVCIN/M=","aeApb2oPtlwuLGTKRU6bTKNB6ZPHH4FYvBzE6bRGgIU=","FSFAA/JFyv33C9ZzwrSliksIfdS01KXK4zEeKlicQlY=","8G0AzPEKQFpxGkDiGvWu8S/vpf/ClpBnGKW7XyFfS3c=","f2Qyfiib1yCSEX18dVlnnXRWNhFfTm9TJ6Aw3kPNZvI=","uihzHx585Q/EnWXXS1YJ+qJUk8eQJPJJ4s5LWyuYuxM="],"block_size":4096,"path":"assets/fa-brands-400.ttf"},{"block_hashes":["OhLrhiiRUB9uTNlT5NnGxKDaHN1RQrKAqcqNWd7dtJc=","+2Tb0graBGCs/duqzoySs/Nw3ztmBhfExJ1GTu0zobQ=","kNqOrHG/evx5x55CMzhpz+NtNTbdxF7ten6t5MIzgWw=","ZxLZTMUjzihoPuVfJbqhbJRHsEqeyDNop1pjf5o8ix8=","ILdmHnQ8VzNGy7SOoyzRg4C60D5OXlHxGYIgTOpzO24=","d8MjQt7d9vHmXrWZ01p0pDWMuM1PKsG43oxCCwAVNCo=","dUM8kZwd/jSVqq28x7RGUzH8/E+L0Tk/jQlftf/TQIE=","amN8RuzZLkidPKwf5KcZmOPCkUiFzipl6QBuccZLlYc=","2MHI+CM1ppbGVC2TfYQfxVyNP1Mv1L16lwc0kVnqDd8=","GJMN6dvv/D4GAxibHOVl210gXJBWGcZ9h2t91sezBT0=","CgvkAiURj26XNW6Q/3JVWTcswDuFMZ2r5mHFA8DSm7w=","1Z+66Sg1nmDlLXViDlLKYgQwE7/2nrKO7w+zP6OSXZY=","MhmnyDPGOTh35LQys6T0MvEW+YHPmHF1H88HxpXdKbA=","+vOEK358beA4VDv4daOEVPvJpdxY+fmoYtZxiqI0IQo=","8SRANRlzVboy36N3MQHHsfq0NBgHPY/453kY4fH+6tg=","POAlmnpgx4ukLAmeq83ijb1bOoxMgoRk21WEiyo+09M=","NAGTustwxMNA3lMIoQ35eF66N/1Idm5QnD74zDwwBtg=","g+DKlGeeBIetfIaaHVHP62F0FPnWJIjQDJdsLKGixG4=","ctPsKfSGU3agRSX0y82qMhqDQ3zURoZILzhKlmvMHKE=","OKDppVov3b8z9df4+PAUcrB4drMcVjzvfMGrCJu3WO4=","LvzsVvJ1tz+NYVs3nscR21uSoeGGZk88vE5tCcIrUsE=","OTOJmzsbA+1RbOjhOWWMt9sDi19uxVHyOjiHf4PV1jw=","KwlwOmmxIbYg1x5GfcVA+yr0pjKqG347C1wFGzdd8MM="],"block_size":4096,"path":"assets/fa-brands-400.woff"},{"block_hashes":["ttIy3Z9CVgQLpYwM+pXE9Vq4HcFBR5HN9JMvB3POns4=","Txw+MZdjxTbQo3myDRWCJqL7lir+0x3A7zfW1sRo070=","5UcMHNc/CKvigxfA4jYGTWQprNN4xaR0bfpjZrPIAWA=","4zjtvb+++iUO4dL1lXhZyciejwf1qXdWyL1cocIUqHU=","GjjIB0e/g8ltby1bacDy4Wq9ToC957i3SpOmrMZ5Vbo=","VMbyw/asqePqXMupQkNxS2B0LGMLOqwHovBuAQI0FFM=","rYzi+A0wEOAiy+tZ3d7succtY+CRZXKyyzVk+RPZXqA=","5MG4ebe9YwNdXJ8aVDxCeZZY/hSCeZJF6yBsgT7wUj0=","oCW7pi+lo8HDkw/sNOcexQTT2iVa2VAeScBL1xfVgTQ=","dxAATCn9/NjYQ3edl34J0NHbfxfatJNrIV1qrOQlLPg=","nQOV5AdJyMu8DS0kM603iIIUEn9+R15TGP7QhSbWFlE=","XmuP+LtasgDD26edfaPA77fyZPpWuUd0l2p4W/FBhhw=","pfQ9FRTrZhOQof71vdfjjaJ2RDhBzc48zNUNv9kvprQ=","mC/7BUEAQ+OaIVmXkW8iCctdtd4JOD8FbLJTHssb5GI=","8buN9OdQDUk/A+KnslHkmKH57Y12az5GyFG7GNoo49A=","rKy+5892Youpcmmi3INCJWbgmk9ObhL0RW6HEAkJ2eE=","C8sRr/iG1afmBnwDkxamAKPzNQCyBq/7R4JBfJvELLU=","HcJvq/CsWRHgsJyZCcbOU9jgH+fviXndeEoQ+xK4bDA=","JsApVY6VUJeB6BYj3neCJnllyjXCARq6ObJnqApvLSU=","2q0Kmp01+qa1tU5vv3QCqknjudHE0HX6lUrnQby8b/4="],"block_size":4096,"path":"assets/fa-brands-400.woff2"},{"block_hashes":["gzKdJD2scAeFFQhFBXr8BgxTOVhlyvWNq0a6z2mGPPY=","NQmhL7mT/KugAcZMmfyCMi+ComSPNrvT11F0Vk1DtQw=","fQUIEXER1/AAHkW+EtiWaJ4z2rSm/aYK/DnWJE08XCA=","e+idLertGBBzmkkyHF6yz/EpAzPaj7Bf/wPykhb6rFc=","+UpGDIlyxm9JhaE+JmNZxhZCwOyjKWomAAb4L3VVN1Y=","GuRJ39tEvjtaqEIiskmPW6DZF/93eSMPxknllOi26ak=","hj7RYZCy4XqN14bY0meRKhTPZ2jF6XEt72bNNklqR8A=","yFNQ/jcKu6Rfoj6K7Lbed8wyq4/bfmaSYJU+7e/yc04=","hD2pBN0LgUviUcA12w30vGjO3sRCCDfgkdSlcBb5bpc=","ndThfPPy0AftfLZ5Hhdm1Oj+LFyWd8xagE7RF1yJTlA=","AXaWCzVFvhScdnuCPTgep23PjkjgK4Bwb8P1qCSPZnA=","Nz0CPhFRFAPWZq4I3LUuVboRKqnemp277XU+8n6FiZU=","cCVmxPaHGWbPfZrO/V12LFvUCjEq7HlsFcT+kr0HzS0=","P6lUg3TVA1WAhMgSF4Y58fW0zIrsmwSClMO9U+o5fkg=","AcVfIynt01jYvQpf6MX3trtwOh3ajGGF+32BNu+Ae8w=","fVKanSuYzyGqWPNPq83QfHP1gcodjj8TcILkImJTg0w=","HN6tri6JtEsNbUj8AXZQ/Gz9TuLEMJBIRkM7TAl06Xs=","SDn19NoK70ew1duv1pL2pJdrAx+o9X9ShJWI3hgXhQQ=","Mt7eauneOIdj6RHAlLwZtJkD5P9QgLwpvh9ixy+hZVU=","THofwisQnKt7jOK13IgbrsoKEwFhv6uzd2Cn78xIBgk=","yywDmUY2OINuDoX6R0ON5o/em67EUQZj+G6Z6v6EkrM=","HwPAHmg2GFL+WiU6q02OcU8kxk+TDRiIQ0Wl9HlX9zc=","eESXMimRYkAUxRjIv6T7igI4X23nTCNGqQyN0+Xv2tg=","Ye42PfF5UjmMlB/L50BwkCqshUblgsfmnc5DGn77YGw=","ei/Jt3N8Lp3uSG6rNKAqp5/lqBc5/hvYY4YK9MzwE+E=","m6v4Ez3GOJ2dRP1ZenRnhT6qXoy/g1YUfxvTYAYbmNk=","0ugdU3+DH+w216Bj5TdVUGd2OiGgTY9QijxRY/IiDAM=","vkeAXEZS3w3td2QYJyYdJEb7DNmp5t30vRmxc1SDmdc=","7OoJWNannSs+WGqe8U5Yn43S0SMr289TP6mO2LMCzno=","xmil4Hda0aSk7CGeqPbQkPOz513Ik1rCSy2OqkTyA9Y=","WWaHH969vBm70TSVOHSMrznmI+6HkGEUNG9uQPUkvNo=","EwFT0jkGoHOGvba6yb0RTcAFM+GtVgiE8STbjB1X3aM=","0omFjmVrcT1dgCRsPZ/XcazEvLcg7AmUbgnMCm0w000=","jCHufVryux6mVdJUdaLPnRoZZfPa0KZD1zFmJmlj9Pk=","6t7ToYEpXIYGsvg+F0R+hqwh/kwpoIZqxBXIurxn954=","FqrwaUmLh1qz65Uw438s+hLKYnuWvVJzYpoXYXsB52Q=","f76pqa4CIy0/KiJqM66Z3XQSS7UWb9Cn9Dl2GiFkrhk=","tRixkcQw8KajL8N9F76JQCD1WULZV/M37r04PnzKOKg=","dxcMOhLLG5UIKHHZMPEgJPqG+/st0xxt6XNng2Uy1gw=","Zj+HqOPgLER8H52dF+VTBOkq7mivJe+Evo7GK3QxkXM=","bhcBq/HQsRUzeXnpQ00aadQf5qTZurvdhrbsWr9H3Os=","SAI+uZU4mHrjIgeVB7eaUvmGQcx4frQXcdp7/lFhyq0=","lvdxCvX/2n7/c/bHL9yUN+Oht3s23IYkItumfGZGgfc=","4Oijpf7KEgGsonGCLQhKeFJYJWTJvvMmemTglz+Qgmk=","qDyk0CYuehhRyxL41HwIwZXTXdHM6ycrXdUWtVtQhpI=","7g2uZ8Fef8tH0KTs2CBbMIz1MrhTNAMnhJucLIQkuAU=","wTEcIk6Ocq3XOVjK7WYzK/A7n7zVtQlzK9F8S2Ow9bY=","z2yCYbVC2YmFrDU58LBuPyHzTBP6QrZTVE2snof21c4=","i+D22alMwAtYZ/T7q2P8VY9pwGgChWekDQr1wkmDiBY=","ZRuwc7WT+ZlrPQ8CY3UdwKl8km8PFlZDrUaUJvQ3i00=","5Em4wupHG6vEAfYt008OIqUgpMltYK69aOEgUIACwms="],"block_size":4096,"path":"assets/fa-solid-900.eot"},{"block_hashes":["srbowIr4qCU2HFVqjrah8noqo+Zhcc9JO6JIBF+M06s=","Dbzms0a2QV94SMRhJq3kEOwugzY186SV6nUh6mAa3cQ=","b8oaNa5dOL/EytJ6EpaFimoxx9Zs1LtuZbchjBECs28=","XXsYXrI2R2QlpFUm3L0VVoFS4v9ecURvuMbtoxfSPcg=","bLmpgszfTk06FHJVjptLiYOobdDy8Y81lPGPZNR1VrY=","VogSkui18oCno2/f+INMPMLePu41A7sscb65mmitRzw=","uExRphaGe7xnIYswiwi0tpYybmAcw+iWa3SWIM5/WdM=","o60IC+HIeY4xbhRre1tE7py3hsQPTNQMMfahfp/+D9A=","PPD0fgGo44voH3a/gz/WrcsjIoZoj2T16sHxmkKWF2Q=","oPgM79r+OVtC/GCf+OBUheu1ygF04eAcZSM0HAPCnB0=","9WXKO6cqKLcNggY3g8BdGd5fA3c8Djs3KGEFzwg4VrM=","cNLB32KlCXHuOjniBUWamZzyfF7ee7JAexRciqlwEdQ=","4niXGJJiEkbjDrRnOKOv8LB6+LXWovoaRg/SkfXqlaQ=","0TY01LkFuTLWHXEckx0IHoqMAbD6/6LOt3zfkkrSiFM=","wFY0z7Q7X83+5JY/CeP3iJyv+576Nfn74mqQI5C8oFM=","fFg+fVf5c60Bys7vMe384gdO3VCzBdwzwLXJ1l1/HsA=","vcA43mqDoi9TwcJMM7woh+dusD5ShPdfazoPDSloZeE=","ZDGbBIF/zmz6PmDB0VL6Sivb52T+gMdz9xI2b1V6II0=","8YgXI8FH9r5NntHY0L1cRrHlO0QNXcjuXRyQPmh2kes=","ApHCKG8T6YntG95teiJOzF/ctq4KgKz0OQXDt2j7YYs=","xXMlQEvLWsCqPP4raHqJ905EiQy9pvUyhTEEqUfaZ6A=","GT3OuOqyYPp4ux25m5nj6DLhztpeK580rlwyNefJgys=","m1KwqNlAN9Li/uLPwWd8aZQCFZQni39sZRqCpTJga9M=","GSgFhO2KlpeE0wGc9KDHuGGZhkj310iAFsHFjg1p3sQ=","Wh7HtsC3SQ91UAKGG8BogMdD/0AeVlc+wRZwvHgu9jU=","K8H84h6UGpaF99GwtK7NR55uRFea4M2S9nRZWmr1i34=","1dzJ0jpoE0YDSrlF5fv5l2Rdgih++GzHOvnImy4t/FY=","+5R9tDBj0MlGzsmxTgZ6amw0QtRrMXc40S21cXwIONA=","djOgfwGrfWyY1n90xgrYy7usES56vgywBMH+AA9AgTk=","bRoxl/hwoCBckKB/Te+I/pG3X3TKvgoibth75DRZD+o=","N6kVrUe6v2nh2pzlGCwtzsbsxDSoZhYB8VAdHMfroI8=","bTVQgNuW4XYzS3XjVOprnMbfn02YFRcznoZ4s6E+lI4=","vy8cZQKbpp6tgEpwt5ETZ0MtiqsH3x8a7hQSclHKFck=","vuGqInuoENFKU9g//Ki4l8rxGyizTy+mncrZWr776lQ=","RdiaXvyey+btw32zLQqaHXiyg0iicAn/U6jLlSqoV80=","3z8Xw5dMswsfaCgc+LKKwDlYv/AwMtQISP0rMgXg+N8=","69taaQcf6BghQc3rXHqwZ6s65bEFKuhj5ru8d824D6Y=","5XoPMBhio0iuhVnRKRs8RTnrJVZ18J3l7lID2vS9ugM=","AqXIxPhOI7FQmdmW+n4bhbx91Nh/KeICwIcs0oNC3do=","3VWUbGyXIEvtUJecoZNEezor4gUR0yndId8wLtt8bxs=","QeqqoMLp86tuL1ukswkSkp1a20y5dFuFpuGwviGYr40=","vGsaMHB49vEB8H8rjVCVH/ZNMtfXMlUeQgni42QTxQ8=","28rVb49GYCgCn85/HWfLXcdXUkaQGYS0R8rSc14GrXM=","eb+x5qNrtui7UyfLcJuam2D0tzu1bJEG9S+nUyLF9jI=","i3kW7PKQb1b0wxo6aT3aQDJNs3AMQ14q+TkU77KoSuI=","pooEwy+mz5Gqe+XRD3ArDFY8zhcg3vOlV0eu43rBBqU=","5O2MRN72WaQANAUFPrmc+8v/FZ5hkoJ4k51gT9thFOA=","0+IES48v96F/JplRzbtE3trriepLMTD6/8VDZmU4mhY=","nESjn5AD6GgCifWkfPxSs3YRlY/G8xGtcQdZhnN9eNo=","uNc2pfE6GzUXFfdNu+FHt8bTXaFLDtg+t/uD1iWM03E=","q8jebZ5Brktr4XMR+ojbl+7VzA5OsJBT8oEMH45JPSk=","hCydE5bkB9pXHXF16+rELZNyA3WDbhrkWsJz2BQQuNY=","JpEJBi8G/uDFMkpwERGhqA0FwwaPSIV+ywTNWbcn4TI=","DgYgJKKn8sDZDWSMIVr4bZUPZ6nmj8lOnw9d//EgECg=","9YRHWclvlKl8+SBBcV8bhdTL835c2eUXbNCGoOSBIYU=","sV9oU/YJh47sx/rMRAOWn7lOmjoVfs5wcgWrnNmyJXo=","1hKSm3D/ewjRkA0rAE2LvzdTP3Fe/ujB91xyvau6mME=","H7c2mpsF8zxw1Gp041k6D98gKX+/NcJk1ZX4uf4wu5U=","RUGJjgeTFHsNu1IQyQT/9/7UqlDWOXZI5WT0/QlxtwI=","fdNXO90enoxcRsFQScxnvNwQ9X7u7a/X82hGdaiAFGk=","W4MePKj+eE7LhPVNYC0VDQwnb/qb62+ftuMK8uhlJeM=","ENclYaiOAJgfvd0bN5YR8JsRzi2s7vcqS3E4vuOEDgM=","CYpHRrPwwi4l2MXt/AWC0m0qS3DQNGO52GOqz+D7fmo=","Q1njv5t9usO1n1V7dgmFS0T1epbsKwxecJDRPatupg4=","gFoDZ8lqj+fdmjVkGLaigICGSOAiVIElwbIrHfWK6aw=","Ox41gc1UBlMnHNPvy8ut6ur/fk7OfbVXyDf/gapWh8Y=","TDG7oIignTfNsvPb44So7LuP5DCjKfCOJP9ZVmkyHZI=","4SIm+1m6Ompi+VUEcpczwkLZByZzeqkmxAoLIWUXwAw=","xwJ4I3DpBjYoKosRt0cQkYdWYPf6qz88YXGP4Gj92No=","fIEKzrItsT7aIJI+y+x3uVJjUMbwbM4EiZ8StDymdQE=","AtN6rbc6Zi7H3v1hIruo/3K0fHxIFReoV/UMnZGRfGM=","xcW6LQWqBhxnmScZnH8jezac0uOC1DH8KSTCmST1N+Q=","VbLbH//ogGIdRjuWcfCXQiqmSh9QG4I5brJoRRm1jEM=","tz6jmkU4CyJk+YoUOenp7u9YGLzA3BQ1E67NaUf1le8=","C8knc/lSOi9wAAjwcIDT2uAp4nvE/ZGLYvXBfIBgWFo=","Qor2tZ4yo2y0WR64lmcXyvRAXx9/I+68Q/sb+Y7RXTM=","wt5ntYMR6QKE4fJ1uryxsJ/xHq2QqKbA7aOqqQUy3fQ=","4+GGH0Ri1EWiLkE/2lq4A6zhqjZQEvJLhtcYyqX9CNI=","ttmDBc40+Umz+bPMZ4SWjyzpg8cYEHOGuf5nHx67/YI=","KYdGIcoTStNFthkQ8Cx2l/XhHmrgUTASMh5chOrfAs8=","X7x84LqVC0sT3BWD5xZHLw505AFyqc3qVAOZTjyQmK0=","Qo/RLt+AA0xqtKMaggZWuCTOBXnI3bvqDeTau+jiNuw=","qtmzC33VOyfwpk5SfHR0Y8/H99x/3YghkD3GHwhirMs=","uZ4PMUWVGldKJFmcMXlqU1P+l5niCXRtTYPVRifoB0A=","FcssbrN9YfJzqW8Cnp8JhCTdL7bARpqipE8nFAfV2QM=","ejxiH2RNaGMz8Wdre76O3x4RJ063NiSuvz+m8ayaNro=","wcHXahgUpcJmLiFkZDRwQPUiVoqyOmxj4GJBe9D9EnA=","lc77ORpDXgc2ZvWuL72UNRxgvy4Td/3dSVvLvM8QuIQ=","JGHJLIgQDaDx++NYU1Xp6lF7gSmLFcdjCcBIsvbzt64=","QtyiK0BBck2GP0sIAGSTU7i8hlHdM7vnA4m+N5B63W8=","ayZpFhRXLtmZjFz5noVjdqaIEAxA/XmCKbSrNUnPdR4=","qlIcS1mP7oP01IgA2weAYSqCAJUYKexkmxZljxwD0nc=","0SqhAXBaz2szzoW2tpGAXy0Jcq6qk1IsLvuW3BztUYU=","jkDq1nk3H5HssM3QtZ0nxw947RtGmbBP+UVmgG5cPYg=","0n4/ySp9h1uqBGMRB89j/XeMH9862LPVq63/k5oGw/w=","yBGz2+jsqL25wAays1Zmb4ur8Ny6EFnueJtrX5JbRI0=","pl6zJdFnBW+jX56PTbXuNa6DWYxl6spPrtO3NSSjnIc=","HkUNre9zG2GzAEyc3axPRkkQ8M0gt18xUzGPWVsYA6c=","ARxk2H2jWY43S3dcVXSHiu1UXYFsRcwOP/FvPTw/dm8=","mJj9LRYlYurTWhwask3Jsu5SL5iGR2bgjavwT/4vNDI=","1IId4X7imSaqq5gBiUFgZ4f5DhFSTN4Q8lMcPMa1UuA=","bii9aD+uIcT6+Luatd3osnjJdSl+0UzA6D1N6an4GrY=","rP4ETHX3uk+dZfrdf//UVE0L42tiZub+eik8++v1eNs=","M7XH4vFc++evyladVEc7V+i7aly9rYfs37/HbEjhIVM=","3osZZ2r0w8EfrnQ3Rj1N4rcUUZ9XauC1XShT2QgCekc=","cKp7Wi5yGrq/H6BFzF81tcfsyxU+FJOUapdrzTVFzhw=","SpqO6aWiQ4n5JpzFhEPJf3npD/CeLLW/yUVWtEsIzJk=","SDDqG0+6+5s8FsVfI2bu9cAXsaIgBn7++tbkd58oGaY=","OyX6k/s/yCzi3RIPE5kpuSvGSHvdKMsWpFIvjKXPtkM=","gESBsrSEaH+qEDY2RWxGi0xzlAXVHyq4s0Zj7EjdWUc=","Ttex6cVcz7toVeqmLbDdvlA5LG28mN221s+8CrjBdNQ=","p89zyMmLbjZ/yyuwonrapN6qUFO/idYGgYHlHbM/eiM=","LNtHR08v7izYp++XRdjwGZ1cNMhdpaLfTa0RqZDLGPc=","NZOz/1heah4mUaf1dDJNsUBDFTG+rQDMCBRgadSWdow=","WCY8RqZwF2GH7TQQjQXfhmNxqk9F21V1T6giplkN1K4=","XBufopDfLVO9oa6zEBHo3dH4tN7l1Px7FxzwlTVakaE=","Pdz1anUIAgbNqIEsbYCmaT/iVzUxHcphtl0x2fWGjGE=","8fC0QHunEjMYNPtMeV0PmP8hwuBbuKOkfir6SDL+7Sk=","ZVb6C6cHRwZxhZS4gtPADAOHamlYgH6RAvD6PO6odKU=","ijPQuaEgDXXbFlR2KWYQNzSBdjhQWyizfXLi7T5gzWU=","dWWVXqD8pa6jNPimyMuFRrXeidmgbZfQ1nco6ErfuDI=","remuJXUxQCh+V6PsSpLNFqoWAUAQCViR6tD19meq1SA=","BKSB3biuJQO5rahrcb+nkgI4e7x0cntNAQnn0hd/Yjo=","E/A4x+x9qlKlC0FEfXLtzLvQ8FwCwgtItGzWYjGL1gE=","XrZYogWC55WfMNBj3DPEzHczEH+czaEI1cSA445O/2A=","EzXVo+vxRhAg+06hQOCqcOzr0p4Bj88b0Pu6i/tBLk0=","/RtcY0qjYKtHa9aV29hAvN+8ftQt23mgSdLbYoIjlXc=","NOZ691Nx+SixW4X+quj5JCX/isxwDh2VUoaUk8lV15c=","VEK0FU+S63dZQ+4HIuxmWAkxs0kn6CN4E/E1BWN0lBM=","12plerg4i3yLtKXhJEemjUu3gKqdLqxmy3wXBzw/Ie8=","ZyautMRCLkoZhL8sIgIz/PznaKjPoo9rJSelkwqfuBc=","Qe11mwCCWF6DpOgfheOFQnQQntjpZ2+wyCRuW/BzptU=","dDkhcecrg1pNisB8iJnJuzBeJZFo7OL9D8nAOarAjC0=","ww3tSgjY3Uf9KT2ZllMKB8Rirmr78jkah7gLRzcBBjU=","/YbyeCm/WImXpoHuRj2vCQ1sa4r6bRKWS3fa7hLep9Q=","ortdSY3uSHCNpvLbZml1jpzkB7gE18yqbPzbrBF5t4w=","T7P+U1HS9zm8inoSWqHX45XaZXJaJYYFiViV4njE2MQ=","765wh+mUDSp0Yase9vUwzNE85gtjfH4U4E2rkIDk2Kk=","2z+TOeLcKoymOzbkNOxJfM7TMYzBlEq+BF/3nCi6WB4=","vK6K03U4d6MEF3x/bAMeWm8oM8aon6FCfEaiOJqlTlw=","QPZtLSu7Gzx5d+TrfUCY4MSXofCtv/G6v1Nc1lv1imk=","lmXNp5ErpST6UZ41y+jihGg2eK+4NApeVcNuCLSIuIY=","KB0iL/G7+OciCqKV+EtPLTqrs0XVvj9DmB0U8/eS4Dk=","VIrKnj0Vp1yInN7mP0WIzpeR9T8mpUNpynmTv3YKCRc=","U5GrB+YX6rxwtsbuodXWNuitHRyC2n2sywnhruIyt5Q=","fl1rGbhWywhIywhhv76I35hD2y5StVbHc2INQXCPqwY=","QTKi8BBVBfvlPTYQ1BNPMPQMVu8ixYB3oFMSwPvCzXQ=","pXAL8VUUlpTcgL6lWeyo8hPhn4UPcGENQdOm6+NC91s=","ULjCTMxbvYWAE2hbDcDsNAJcNrmjcQrwozW4gKnUVzc=","nJQhFOADBDRXTHeJjIB5uvHahPV6rBJ8rUqdz0ylu9c=","HLrmKlzKNLs021umak1ELqh4DEYlU+0klOaG0Fn0yPY=","SNue3f1/kt/Gy6g7Vq6zXaz5D6olzlPVnIN2m8+kyM8=","2sULLTnXy2GU3KNTzFQu4SrcLEJcEjOvzEmVSvrhP2U=","JHQ4RdcT11d8Jy9oP3lld0UrASyzkqenoecyWy+Pno0=","dEVpmpqaWZtb0oJ/M5rZ5ZA3vRVyxyWNCQB1ZjadZ48=","Tpp4YAJfaL+UITW4WEjL/L0IGD4ElEx0oMj7UTFrMDI=","Ip5kjgb7CED4Jypx3RCt4j7vOgn/EsGn5z4ZFZLg8iY=","2mkZjofT/O6n5+wMIAIEAJa2JHkQPFnezihCjy7b5kk=","V72qThve20uJACRZ+w6N08rZ+Lv9xN/Y+7cyeAypcM0=","zf0K8MGGKSc+qOiK07QFQjzE8Au2MVTgtYSc1N4p2qw=","Bvjt5n8G3a4MP+yG4zoL0RrKFJ5jSw9raY+jF5FUaJE=","rfD9R3tOI9+btMk3Bh9RGh9iF/D/2+VcU+CTQuRCt80=","ATJw0AsVGNiDyAGwpnofTH7xVOP+ZD9s5cmhtOLzbRc=","J0fB+773DtGO6CKr3z9Nx9oZT7cEd9kzntl4OqlSj4o=","DHuzLrvHo4FpxRIDqC6HjYJiwKX4xLzjq7PZhqMv/Xs=","hEuuZZ5Oy5EJm9SKkiZKpRGZ2z7o4aoNhSwTMLdZXJc=","cWdk+Q9oMfpjVGh+TJ6T2C2zwUnzzlGiHkGK3N+p71k=","Kl9ukoEC65bIvQ9Z41B2nfyOrGC4GAtiyJBdC6CLISc=","e9ztn4LKNzWjlzkZ3kUdZuRamyS0I2QvL6DrBG/YZ7Q=","DEGKyC4WxfuOKrEHGQ/y7gctq08c32Exd7pvptEU5co=","GvOYQqc+0OlTx5+RHwwz6x+LJBvcyx5K5YQpqSXBrCk=","2aiK1P1Rug9k1x1UaTONJG+27B2pInj06Izs2/EhUWk=","mGO3KO/RAT9eNYHeaETXVd2HM80dJT30YSrXLtAnNPA=","0MD/3W30LiZqNDFf45BIUD8WWnNU1oP/YiIfeyr3FT0=","OZFVtY+g9ZXUdKlVTRMx9yyN41/iAnaP3Ld3XGUGGV8=","f1e5T8WQSk97SDHEY+LE++a+iYndJy/rdnOO2n4iPKo=","4j/lUCkXzlrn8jn61AlKqBzrLwHdPW/sbmCBgTkJ2gk=","eE/t5lkM+NSvnjAVR61Prb7L+2hBL9aGGB8D6Q9GOsA=","yRfQgJA99t1MmMJb0y9Sri0KLdUG73A+sZmzZTzvhCA=","Gvkcp2vYYG9MhZhzPMTJJ/QdmAI7bZCMNJW66M2k+Qw=","RGjMYb2EccYhUHQYzOxR/ZDYYhQ5wRj7Mo1uXp6Nc2Q=","KM8TreLl6OFt5dAYhAtaoG84GOc+N4mHksiQDZHhiHs=","6ZSdp/8kT9x6Ph+5Ccm5Vastk98334Rq/I5MypvG7o0=","EoaReYv35FRjT2E9TAk+0HEFf6ifOJieb2CEDf9tqd0=","3U+VSsU2o3Pq+WbjpQPUeUxdP+d+3of8hpCLmKZWu/Y=","lIjyr+JPPMLJqRqroPHdpsQpYanLnNVlKcawBpPmqII=","EIrS5+PK9PXQP038Q3X8hlEZJPkrdhShCzX42BCPg/Q=","Hy47WfpcTLyhVp4bSXSEAvyzVh+HaTvsacmjI094hYA=","2NaKrBKJEM/NpfiWKbSz011XgBsXmE1lFtkMttK2RPo=","svM3agu4K8oKIicJmL/ykZbLVdhZPFAgtA7UlvmIq4o=","i69mPMEa/vVEy/F6LGdPgGS027hDWrTJu86e9kiJSAg=","WUOajnnYG0j5HTvIWpL/Q7KwN/VH2nnx6ttzhgOVIFw=","RDVuEUzNp/vgZ2EM/ovES2ZwBzupx8RiaAzF/EM+RXY=","u6KWEtcyXD6gNTt5327FACzq3gZjB277XQPD3D7agiA=","SHsScArmq3MuPQ5KbpuWo9po2e12FFeBpiok3gEf7r0=","o1ru5aSC1CN5rKRXryYYYM3cFZwMi3YjGtBibnjfQX4=","8qPB/p1NcBsJpROY4uGDEWhnm19gopqm3RJvYprbVq4=","Jsc/s8McInpCHlwL7Ef28do412TVmDZUI2VKtZOxUhw=","NF5WqPp/jD1Ca0flylambpYvgsQxRkfZxwfkVYah3to=","BWc5d7POa6otxDZEmhP7oWBy0sD0DJVo2rCedsBuSmc=","5gWews1jLoe0Fp76iFIbldjUCh7g3WyL5iJKU1i9mJw=","KnCo1/hj35b0ChsWcWIeMcqa3ixBaYVLywARGVyhqPQ=","aLwkhcMS7j/1uoBo77HvqXwrAwuxXovIXP+J7ptL0dk=","YHowRZGXmxxsYG0QsSLMXR2XJ2JbSWIE2VGHFB84L6E=","N8v3fOlrXYkD/CK2jHTm069oyrmqJ/aal2g5JgL04gk=","Tp1blzyySaiXmPwNrEXdEqnPt9FGo4jHG5AK5xMcZCo=","GLs1ZU1YoOH6WGjnqawk7thbn3zxTOUQC5NosaW1sbk=","Y+9Rs9qkgPA9CT9ecxMZMNkDj1OXt4IXQoUM8k9YGKw=","qTZnh4BFFz4iTRF3jcTtF237XZta/jTRje4MZVBwgfE=","lV8ML8QImCL4lxmBeBf0g8q0JIK6X8SRGa/thFI6BAU=","xVXe8eUy6drKSUD6pu8UNfqEuJLzAuu+3Udo3fBamos=","RhpBTpwE5CXv+rmCMHfBP+xaunuauACTDlkgGxhfe+o=","pd2wOIE6Hw9QT0vs1P8M7I449or0A7kZvivbuVzn25w=","Tr0varQD0m0LZYfpfDmnuzXO7smw5Oi0t2QNes6eiUQ=","P86ljWwargMGJ7KVAIUxRIK4tTrmS4us/kPwwgzuL+A=","1+nwRCqBILvsBUgef53Mf6b723IC9zxGnJGEdAmmPls=","CRM1SWA4eiVVE2vmITyR/jXrMjCFF3HraQBGetGdtVA=","WtMRu9wBw0DNZ66/yTQQ7ze5pGOvjcN4Jaql/MpL74U=","NFlvupEQAJzdZGZHqE6hYoWcNoxIOSKp266g8fcQFzg=","hIMjNMyrRKdv69xevrzGKcIFI7OKjGKlkYr4tmeil+k=","z0KcNPEmX8swbAARlHmk4C2HEBmYJPOD9H0AVUiecqY=","2Zqwjs3syJjRO0ovjE1tGaqZ6gGuGw980opmte813rc=","52R7wPmCmBbtRbqsArk3rpEuZlyzL50VQWzJb46XLYc=","W/x+JFLjH3P1RRgcyEeeVG80Ye/yadRmcu84neUXCaQ=","pR2A8Kj4rSR+oJiMEiWvKofPqi4wK+R9fW38AYBkqh4="],"block_size":4096,"path":"assets/fa-solid-900.svg"},{"block_hashes":["vWp/XMoP/aiFYrqbGe2IUcSiX085WE6im6LJPh5qk+Q=","cCh/JqZrfO4cAR2WoGZ8BUT7bbRTJaXEDqNgdX1ZdRc=","b8JEL1tjpU1aDRDuxwgDe1/dcCNsFH3Uq1lmRhcmm7w=","j61qNbApL5xUL8eLMRDVWtIBKHwfEH32Nr3QvOcRVcY=","jDmInF1zCsQ78vGjc6mWDX07bxnwigYU+m3YO7sy9M4=","ROIP6WtXRF7vdIKcM1yZlkonRKa7/7YhqfyzaI99aHc=","SSaM43ss8y5z0MT6Yn98va8hdF1gnOGReKYFzqRsHkc=","oU4dUC4SGtU/cM9/vfcYgo+9p9yITwKzd+LPBihGkh8=","RyRl23g2ilOuyEiQGAea8tsgYXyqtnFZvZYa3ug8YFQ=","D/zNCrSYc+I184+upyQ8Y7ZLJGYMtjYgAHKl9URBR5Q=","/5R47QbQonC1RCi9QpeepRQHycyaWZmQi8/uiQmkffw=","kxpgDjOV01hPSG9vaqtqXZuQxqo8k/ztriRR4m+R3UI=","S0CeTWE/UJ4UiJXdY8k1IipYfKt4Mzs9sfFpnPaba+4=","KOeP10veGZc+fcVcU2KeSDXMCo5gkW2wrWKVNSqIUN0=","jRSlTk5RHs2hQ2xmT6S7EydN87dZmqj7g6GumbXd0qY=","RL/iENVGG9odigOQpxImuhxQTZ4TmZDhE1GB+o1LO4k=","cN1fYxNeiGPgpfpEIcnAOdkUpaWmNzcQeV1E/ktHuSk=","trmpQqGKVI/QLxP96elpcW9Oh4jsrD8OdImgvt0NiiA=","fnfHrAcZ1E/QfrJm5LEililrwEuDf+sBEnsmd12xlqk=","zy5dTr795yaND9rYLp+emNGkFN86h8qjjGWWHUj7xxA=","hNfyUsXOINEU3h05PV1WoTOr7uzWfZ094C0irZrWFl0=","aYt7iZyHvdV5LAKYGZdC4uqRNMJqYad9Bhqrmz6Medo=","mNpROBickeCUpRLgSKejhYhixLLi3AEfnh6mLBwyQT8=","WuWAy+LnRoXzFsuKstO0oVjt+bAV+CUSD/K+xkxRBqY=","xBQxfV2itmAMrTt6l4Z9Zn/sU3h4I9hQr9cV4QVElhY=","qtZLVpq6VPkPwBdPEfP4Rsu1QO33GIEcxYvBFNSu6uQ=","S9MBe/eYboLia73YWHgVEpeXYv3H6vq/TLCpyrN3UO4=","ILaSFVmyO+2M5vstg/G3UV82f17BTUfAH4FGK2/L4xg=","1Shazanh0AmuqK/S7Lesr+LZERHabNLcLIuxzQxJXzM=","S2p2MKA4kXoSHEc/ZKYT6GihrrHYH/9twm9LJEOpihc=","81Idcy4wOg2JrNLFQ9y1tgKvKxbxw3qJPjfKTMPocKM=","OAAGpblhI33TlcwWlwjJuosXw0kEZbBosLIrnIiu/14=","LdczmhCby7AepTX4itEIFaSdbtKQH2xF5q2QFTQSvCs=","KMS9Phsk8PSz8MXrW47b9fQd5Fr5bCIFXO+rir7PfP4=","3yYr0hd96K7AGO0v24nopWSK+xjglL2UunE896dh2ZE=","B12ILBgLQX9YJaBHE90VDbvz2T2zp3wABfkb+U/YN+I=","R9J+jzbuQRqf0j/P6PUUlgW45EZOEHx3xPco/xYNHfw=","P+rdumICA4+hglxKR1UJkwgjjdW5fE0ljeiE/A8hydw=","NDIOFBf2kMcT+8JQl0vyOp83kVhsLLx52/Vp6E+wltk=","AsOl8ZRsVGPJzWvxQ9wGszC6HqrEzS5f7FZwx+79xyc=","iHnPKiKnkSRn/hfx9XTbCQIwK7ams4T4zzNdkK9QXHw=","pYfmxh0cgpRN64NwtMgjGp1Ganl93SeBKseb7AbHXl4=","8ADbVISLfB35FKYL6sv6K0eHuTLN98c955paU7xy9ck=","4as/ejCLFCbXypdkunzE/I/WHM5Cv4YU258bl4ZbAQQ=","AOnqyK6+V/BGENnHmtqQMWMBp+C2XoURIkTdL4TUznw=","yGjYAIuF79xjLHg3ZfRinYaxpHBweAGiquWxx9c5SxQ=","uEBXNn4+HRqk6FqppK7o7EcZOnXH5pj0WDL8CMfZpLY=","bufAKMotCDWE4+QLOTUTrdADKINIF+ItS2kCAM3RbJM=","+dSCcb7DaM6eVSyCIRFbsb+FgSFR6Iu0ygCXvLcSyBg=","JacBGO1g8YKvJ5Q/40F+Of5rSSdYvPFWtwcIJmMMe0w="],"block_size":4096,"path":"assets/fa-solid-900.ttf"},{"block_hashes":["vbqlxdaepRPkDwJKqhK8FCyCbeFk8CLFF3x+5gZbzII=","mmxj0KDSQFdaKMvIY/sqSW3Mh6gCrDRg+dbyrGQ+D7Q=","lmgQn5rb9GoZ1OZeQE7mVDZV5n/As4HRwuEnbdvTHwo=","TfwXy8K8BAcuXW0RXpN6G6SkCyI99j9CB0CdAJWTmmA=","d3vBLsEcmnlreiE2tIFyCVX9efJSgQDIWhZGq949tRQ=","6x1ACpq4QfXjNR4dWUhHmQjhPHBEjilpUwz19iZeNB8=","sSXhHTZnf7/UiezjMJv400GD5gARdVJwyA7rwTHZsHw=","IkU1yQX1LKFdogOWK3LTM9H4g+6jNtnJ3N9gtdtctPg=","qvmB3Kk+cLYILWOHM/ipGMpjHrkpV8xXCsTaMXTLpms=","/UUesmi5gMOR+I7GOh1GSCBODfUuYT9F3lZGriXQcI8=","NUQ9C7e7hjYbADSg2i3CYopEWJups6J1Yyh9IwiR0nQ=","AOOSbzUMU0w5CqaFjaUz4+0rmUr6Phh1TZhfDTNQmCU=","1IGSOUaSPibH181BqyQtdqTqTOfRQeyMNr/KKbx6RH0=","pi0o5/qytWB+U1LMxSZvktHM5EZ7pn1Pr67eFdH7aHE=","WGbkE0HmjvvlErPCn34NeIwwAEC+Rk5p7AMcUlIGdsQ=","qX6LFnABEvNaeD0kSzYOZIQwWxiN5FT+s2ELVbttVbQ=","YjfDee7uoEFQIpwZNyaHdxJ4srwD0SvOQbReyAi/KQA=","g0oW4kz7ra0gzt1CZdXHTZuG6jj7OEk2j7F72YJ3XZ4=","8Cx5BNmmEC3i3hYc3ncQBEsWtonEuhoUvoGZ/MTaTiI=","1oQV0T6dOWwn/rTj1Oj8fdfRax1TQ0Ky2GUOwI7BbZY=","RLr1cVdMx7IZHz2dcgep/nvfPDSIsfLguUevIfUzGKE=","CcObFvz8KerlUkPuFN9bq+s6w4zCyDSkPom8n7PcRyk=","OqedKi2SYIpH0bv/9MV+iRpWY167f/l+r5LDr3hWiGU=","jtko86gP3mz+sqMI+gx0Kg2+RW+0+/9kMhm2RnMR3jQ=","7UWUmiJ8yCBHyP9f8xuTs+xOzdNGmtlq+WsB/12Cv3c=","kV48jlwLwte0chN1rZuCI79f/EuZQzrgp2/yW8wXWk0="],"block_size":4096,"path":"assets/fa-solid-900.woff"},{"block_hashes":["gLYQ7V/8M2uCSiwwicTZexrVu2pkXJ0e4Igw64U4ym4=","e0KdCdhrdJvkoVVX74RdtYfYHRCAzTHH3+D/ZhM5oks=","PpJSeXVlrZXynI746cbEVjYIEtmxv6nuvfR1JwCazrI=","KCKVovAdlW23jYhGOSDwMBBnX99nNPlJiZW8vj5zjlA=","5QPYUALmSY15guHpT9eY+ZrLRBCkINjK2wnTg1aKaS4=","UTlR03TJLF5HloI5xcUafDZ+KmmnJW7+mtdSD0CHhVw=","QWGugVk6quF2HEv5xuxIkAR2Us4TWhucaK+DiIeHxeI=","sMaiDqrejvZSBLKgVdwwuwgAAFNwrZSEQlFK09Y4OD4=","ce1bKG0/YNDeRjoY6qyBrrgOTFOoaEArDZ3IfSuBgcU=","auYQhbWjr6q0FPiQ0II20npeWIpjyY6UbDG5NH3R584=","WsgzAmcUnT7nMFJaKxk0MOL8Y8STY2wxQq0XVdzVN40=","pw2Ayh+p7O0HSdfhvw2z93DcRiUoVDluUn4OqsFT4Cc=","px7JLPQdGrciFiUkMimq74lO2raPrUsto9KABBbQj8k=","RRJ6j5u2n8fjyPWLUV7FQIyg2Uz65bONZhgMTfZj/nQ=","GzKVxjxNidGHGpSGCCJ9h+zrpN2iXLtLyQfvtC1vHG0=","44GVcF7sdJSWsySbP1pBrPsGgYWuyC51M3kXQJIBFx8=","TLTgRdfEF8Ny9SMA9CX9RXaGCB6dBcJybOq05SMMFxg=","OjLrXsKKlmx24/F3VbXCT69dZ/1Ey6UmmU/G0+SRXm0=","bM3uFpxXMxMchz2auXOGN9tw6O742/q6iEBG3UJmUEk=","ivfC5K95Fej69t9HiskjbU+bd62OgJokZtDoom+qE1A="],"block_size":4096,"path":"assets/fa-solid-900.woff2"},{"block_hashes":["V9sRJqC4L7/Ik6T5r/p0i9jIdFcoZgSFG6jBisOtiI4="],"block_size":4096,"path":"assets/icons8-cancel.svg"},{"block_hashes":["aSRd8KX/fgNcvpTZBF1+wpQjsoTTc76TH9a9PxcrBco="],"block_size":4096,"path":"assets/icons8-checked.svg"},{"block_hashes":["d+y9+vJpIjayp+88Xzalcayl/GbWx3fntKjdKM2N5vU=","SHQvdGbtVdskUHKDjPs2KLkoEOnM3Ovczk0DjrBAgjs="],"block_size":4096,"path":"assets/icons8-lock.svg"},{"block_hashes":["1YGfnFAO79ynanTCtuHpRh5w1M9Zm0Q6oXaKd2MAqT4="],"block_size":4096,"path":"assets/icons8-pen.svg"},{"block_hashes":["ZzgHyn2O3ECKmMghhpRmTIL/M9qRJIEl8g3mL6OSkt8="],"block_size":4096,"path":"assets/icons8-test-tube.svg"},{"block_hashes":["1MQaj8t8aLNxSZVMRlpi5u5WOh12SZcAYec7p1koSn0="],"block_size":4096,"path":"assets/icons8-trash-can.svg"},{"block_hashes":["IfqnGHIoMEIPfgwDj6qHs9RoeyjKzCl5wTd0yfs+Bjo="],"block_size":4096,"path":"assets/icons8-usb-2.svg"},{"block_hashes":["4Swd1h88uylTUKbm8s4c/9Mf3TOIfBcQI9BI1rTfqao=","YxM0kqVh0ebzV7hhge3MCRCCPkJZuLwIjJwZ6nUrKSY=","wlpSJxPHhIqzAVdr9KKHKAn+NtMDYBEk6iS2lDtk0/o=","JO5y5dzu3kIOJrbfk7DiZbfZ/kCXGgjCj+3KukxCNQc="],"block_size":4096,"path":"assets/logo-temp.png"},{"block_hashes":["8XvYECBI6xP59NFo4EaysCwIGgY3yEDPR0j3jWPqGmU=","hSPBTSdHkQ64lgLNTtJtyFT/FpOAIZjtZeitrA08Jgw=","avQBRYPKyYq+AUQPsBp8jFshB+EiYNWWiiwYXqK0VcY=","746BmRSlKANwG38Tz6zzmjcQ5Fw9nUcpJCZSbyyPDr4=","ZIRukg+aG+HPwECA9jW1Y7nHWLVU0xmcBGCfVsE9stQ="],"block_size":4096,"path":"assets/nucleo-icons.eot"},{"block_hashes":["NpzE2j6lBSyPZSaB/qaKTOZYNaMBSRTjQqyBZEeo+fk=","Fz0ICUo4SIWtUjTtRCM+dhzWfglgsvlyY0hsL1hisWc=","Ovyl9s5w1anMd5IZYT8EHHX6lyDNN65cKDJLG0szBtk=","Jtuu7U4Y7OhcKULNoSQe14M0+tV4xsasPBdz9rXptQU=","b/U9C5HMqj0fY0m32CkVD4U7jzN9NaSSY8zpFi4biN8=","dbSwEUPwIooDE+MMAOczBomVWKJNS2SQddxyZdpOjW8=","yTEdQ7VvaV1rogsmzoCHmwJX70gd6JkW4Bow7UCKavw=","4lf5SqNQ05+OrHzXXKfsMHRgZWaspqEwz/tLvMdVeSo=","5kRFEqJ49XA6bh8+2AOIZEcVtTyLvSVvmEc82e8LwWo=","pV5GYcg7YUL0GeOqxGaRvhNdJHgnEpzjdfT6ut9CqME=","Uu5gNaRbOCCsuHNjlmU+2lHSWU2zZ8u40oxxrvmObWg=","ly1LBQ/4+Is0rTbILm8xqepRJO0x0wt+SH9AZQbtL+k=","BRS/vxi37p2fTanPBVpz7Fal62+Vr9FDvOnxaBjco34=","OQ9vf4+ujT/YyD463OQKCRxDfQwj/hDpyY+F0cGAiyc=","tWOju+LF4jVYyGy1skQfss28nIJDWIMBrxW0y4xdjaM=","EcORR3usYfikXvHQ6ItuBB0n7F2PnOdnAO/FqjInLRc=","KAVPdxgEW2gHfwhM7VsiEq+6a6hp4+ls0oRozc1Lx9A=","v8AMrP6jlW6ZABygPYvCr8O7equQtbKRBuTheCN+g1I=","T1Y9t9yaks6qsH7SWwhI4XosR676wP/l66Ydr2GTD64=","HeSSGOiFaybDQnOjtIEcohc3DxK0hzlb1/3nR4/RgB4=","DNArFsAbQkON1H4Y9orSRjJI3I1V+FlkbIvywb3b9kU=","kcKzwI3z4ZBxOxzF0jHTO2OaXCxPD/EfxHwJPJD3jVI=","5PIb0Cb2k1K6cHRlv8o8Xw7BtOOfVPQ8HQFKqVQbSQk=","sH9Qy/KyoKAfEvHI51GV5f7Vbv+oOuIDolq9Ogjberg=","PgdZnUWhn+r+5pyL2sXy0eo2R0KMJucZlHAUF7AOTlY=","bqWpggo8k6L/JHj1B/s4fvm3HtIzBQ4t+eYNS+aFnQE=","AJPsQm624WU4EYECCapZa2yXXxg24gKZ/Pk8paoOd9c=","sgUd636WHsXLd8Uz2Gm7EyyZvjtzcRCUSPEYQBvPiXo=","Bp7JrkJY3zmvda0ArQvZJns6rFKelZ1llSvek/LDGFU=","Bof1o+fqSpiVxYPn5eJW63mZHylacsYpM4Q/iesQwkc=","fN0DJPs2Nnho7nQQ53fg4PsMuYT676+/Qug5XbbOLS4="],"block_size":4096,"path":"assets/nucleo-icons.svg"},{"block_hashes":["NPhsPk4z+NgI8xvgAbiPhAnF5OCQxLih5vMlsZUh8II=","/oLyebzeXFEi9ZKZQtVuhVMXAB0FOAp9n9xzqsVbVL0=","MK2uj8xTL1wgtGtGqN7bOnljCEkgL29puOEx2nOgAEo=","ZBgZoIQdTzY82+j76h8MN/RE6qLXmOJhlYU0UYNQo84=","yfT33dt6GoF3a45O1PSFBpW9CBhoKwccu5e07ljPQ0Q="],"block_size":4096,"path":"assets/nucleo-icons.ttf"},{"block_hashes":["gwQK0uB/vEWsnax/WVLeYTjpQS7nI79e9IYzBBWVzOM=","I7u6RDuu88qOzEZLuFALn9T0grSkh0xq+1wTbo3FVvo=","MK7dD7M6+mYubypxFZls/htYY8boyH9ZnZzPApUStlM="],"block_size":4096,"path":"assets/nucleo-icons.woff"},{"block_hashes":["ZbhI4HLZdZU9TT8usKwHCgyZ2bBW4/SJATmoqAK5o0A=","h56JD8a5Mc/BKLnC0vEyoaHnouVk0pScDmPMPSxScFo=","Ucxg+cCatT5msDSc3EGfmDkYuMhvyN4oRmpaylZw7RA="],"block_size":4096,"path":"assets/nucleo-icons.woff2"},{"block_hashes":["PxtVp52Bd0vTeZH4A1yoAvip+HyNooYphQamyucjFqw="],"block_size":4096,"path":"assets/temp-icon.svg"},{"block_hashes":["yxcS+P9NuMehYA0VhimRvw7+rl2G0f4GISKYOwu14Ew=","u/lSyqmuvdH6nEE9MAULgfpKWL4CEe5AQCwMlPQ1Jsk="],"block_size":4096,"path":"assets/trash.svg"},{"block_hashes":["vvmdRVnBzw83gb56iwxVB8kL9pk6cFLoJ4f7Zxt8API=","adnh1hNZYxYYtP1AU1QuAVrzNS6BTmCp+D2iNKhJJek=","E5SdQilyGCvxgdKMgFsirqU/qRenqM489H14GEiG8cQ=","fkRiPHHdlo199orkhwr0wAKd4of2bV5TC/t1yJJ5M6M=","UrhZBzDbzqZIEDpmL25teKnropNJqqiQFfFGcrd16hc=","fSPoTcCTOua3fRTz6YeT0MU+nFi0Op7nhung8CjBQNM=","TqGWo/wQVUhbSp/0gKcILnApaA58nnOuq6jP9h3R8So=","VtHeCEYOwiZFy0gLilEbFL3umi5tpxoK2GATRoWBBWE=","/DFZc7ZnW4pm23RzfFJ3ULovhxxvKN4TgogFqh3Vq+I=","jmJvR3kMVVC+1FIYUIbEZgxdgAwWD72pNpWL9ybGxLs=","OkldBvWsIqbgyHF1Pz1SE1M8zDKJdKi2JyuWBERziiE=","GlrB8FHQJxu8x6htvTUQT/GxG441Q+3jGPCgGcLZ/+g=","VOTdtAwvtZzFI4hD3kgGmzM2BTxhzs9u3qFKxdt3j7M=","tG2jnm52h01BQsaGwNWuCKFOnDPJp0QU5tTU2JKOy/g=","ygkBJUUxy9Yzw4V0d0d8DXGeGEwC0j99MCbohHLxMW8=","kY13x6PsY1oc3Sa0lmZuOhaxQpEqqH+nQq4AyHa3YGM=","JiGUeJ5TIRnoshGYym9obukJCyQV8nQQthC8DnC9+MY=","b82b4idJu74V1cyyS/MlE0hv4en3FukOgSgTgwih1ts=","HF3/64DM9VqZNxwg/1GdvO9Hkb4Gj38Ihz+cO0J2Hi8=","Ye4aa6zbjqhcErzYWBDvpJ02xPpFH/HSLmlCqvgdY5A=","MZqckk9J6ig8uo2R75SJFXE8TI3yAWdJez3/+zaO8ZM=","1l5wqxd8/OWmokq1HhmhbVp905a3vohtzyQWZ/LyXLo=","5V2C3Cq7MK8YNx6DragSzDrm5SO1K6uDwfrP4ui3f4M=","ipCpBC36cYt0c3GgE3gePP6GrJMUr2d+5UfeRgTNGAQ=","AIcMaNIlscWACZPq6y/T4PXbLaS0W0FEdIurEl+lGnI=","eu1WxGv3HuKVRUY6Zp7RelpECj8i2uDkjq4tIOrJFM8=","cNTzA5d5wnkVi+0UQOo7CwPWdezzfRpMm8we0BaD4hg=","Ai9pFnihg8dzyx4El/pzo8ZAgEig/h6NJqu4h2rcL+Y=","Q2pV6OmqbjsZFcKsJTEGsx16zD7hliE+jKUrBKwAkLw=","YWGtc7fF+VgWBglMsbt9ykGb+zDHEJffMVz75zwyNDg=","WzQRf4lIMuoB6M7m5PMRrfSpnGcgVGoCjXD0gLeEqkc=","yZ0AndE8b6a3ysHx479bWukHgzhjOcbeZE7sd326XEM=","Ep+WGv0EmsBHl3zpwJ3VJsGI7NMsYYz19eZyz/7HIhM=","GhVkPegWB8Yd18DTinVHD+0mTFyx5rq7oelfpgTpywI=","d6kn20d58xjZmy2rhcNmaTuedkA1tBS/BQ32BBwhy4M=","jG0xTSVsFXhpMecYa1Znjsqw78arV+YVOwrjzvV6VEk=","JftGw5W6RJexIQVZw1NIqRpg6p5gB6GaTjRo3FVOB7s=","w9huE/UY9qvrzCFgN0vLaFm5/VQ/T8RLRBqpxN0pzKo=","ki72c9Wg/r4nqfWRIHAXu8vahEAsgrQpj3bhwXbnhfI=","JpQnOpYzXmKsIdxBXq7H6wzMYZXwCvXwYXakwLv8wy8=","P5WGvdMk4x91KKVEb7CQwCIY3GVfvYLaQyE3vyThmKo=","A3YyQZNlxX8LzhvTVIwXBK3b9ZeGqGzk4P8ayqwjyaE=","qqirKsUO5w5umxiDZHGdmjATG3yZX59cdR4GC3hQsOU=","dEYN3dA/F0Be75ceUr8EgH94xNeC2FpKjNywzuedz9Y=","xOYEy5MfwZRILE2IEHKpm2LoP8pi7xSmulHNb+o+zJI=","xpC+0ai5ccs88++O4kozypr6Xa0fDPXT7R6UdiiQsIg=","C7qQtwpRrlYiYcCiZvd5AU67JJgZGL35OjcL9AYPom4=","7IM1kVi1oOfW/LuliBWk2kYLdcjvL/CAgyITOfdXjJM=","hCSuM8cmcxwB7F8uRG1kPr4btkVnykLdWgh2/s9dgz8=","fgoHBZw/VxRTPj3EQeZwTw68sT7cQDVITCFeU5gN+G0=","3cKnZDCbe7omXTEJ/s05MFSIK0FfirbOS8kOh4ptBMk=","lUTd+qDyqmzLEEr0sBRkIchZmi5fgt8hGmbf04NO8X8=","6u7qWW0ZHBGkOArRVaYwGh+IyQv6vvXQ0TDcFY36wCQ=","Q/afkXTnl2tHxnKcXptjicW8DyjpQv4kIvjwz30R81A=","eiisy6BZz3DstpUUpRkzwVkskkh1W8KQ3k5dDS1/xaA=","ffZOiwfyIOmKtJ0PmjhOJYr1UoBDoqd/RwelbsKqlZo=","prqJzb8tULhJcfSuwSZ8GOT7AlFWwy7uYitgGcqK0lA=","O2lHaeOnt2cwWv9jQuapgQL9b/bT9N0smEwmPuv18JI=","KKFalHahsIqF1oxc2zG4K4wSgSf0AHHhAvCetcdBVlE=","6YFcxnYgfsr3TwC7bogeFVStBkhj/0Fz93iWbjzx6bo=","CldRASszuht7gS1eCIXH/OQVmWuwueTKU9YhEDbXP9g=","aIcgmh3vzqSYOxTvcJHT6KZ8/m8P93x/Ct4SV/D1I4Q=","gAnB+r4Dk8V/wLYaHiJFYFQc0JA9tdJmvG2ibPICjv8=","Vh+vGjDtPxI7GpI5pgny5PxiaGZMLhDPatz+0/Fw+YY=","LVqwpyidiiSs+xwBYEHWvXclDI3t+aS6dwCbwwhkZxU=","RH59szOsJbo4ar/t3i/KqJS7e3ZPZX2VikaZPd5LDVQ=","e+nnkPS3REubYIR+JYCDKFcxEWXERESTdg/GA4UhDUs=","Y5mRnVX9IagPBViC5d03KXxDEMiyBl2sF8RPN0khdSE=","P22i07mJR1GOCggFmdhb6/ddP0AjoppBsQSt4ujaYm8=","SZ2ibr4H95Q9FDR8RSOnC9N4tA1eSl0eCFNqNgai6Os=","OADsqncret8IqrGcLzMkJ84BBut7O+r0ff0uxT+736Y=","ob2UuVxwiYGQ9LlHx1AVg22InLKmUfYVhtR9Jdcbp7E=","8J9H/T6mxeAUZyhDGtjimQEMm5Je2eI7CFioGPKv5RI=","DqcMfedPoTRHCyqRxIxHqhM6mjUHsgXuub5x+CahOwo=","ZgTEe0KFbgvO8WXTBkML7W5Q5UbDqdQgyt+qlCt/0k0=","98JWZKR18GTiOi6T7lj2i3aXfDefvKPcgUoriI/joUQ=","oTAESjOmLQQG7LHkJN67VplGZo8C3SGv2G0NfSXWeW0=","ePaFYlSUjSUMki4NnQf4FV273QoXsiyVgP8IcSaIpXE=","7Aluoa76lR4KHHO0m4AyxOF/ZXthZpjKHeQJPnEvzfQ=","ljDmntYFfBWpvFtKVyolbPUdfU+nuygGYz6crCzdKXU=","zrAN66rw5SkY2xNRsvtnNVsie+GBPgKpB9xZfgKNuOU=","b/9GSrxUerxk7d/AcrGOzmbFcviFL9Zg01Cspp13wkA=","dPOVtbDSkbTGonu9G99nwfiZFHrpgha+hLla3QSr8ZU=","yJwcwSZGyXaYV9ZMhIWX/q+EV0vqrsdlT53FyQUEyoI=","mqcww6FbSnzy/dwSsBspwB37EIiKjC3qiwbhzxL7sJA=","RPng5mpktOXPF1488kq7erm6nhvtQLj+N4cbGW/znNk=","KAcC1TY2xDdNKqFHQNU2Cl7iqZ3YFu90Xvcw0cwJp64=","E6/krZaxALmt2jIS+c4BxqTrDnBG7MVJigjloL68eAg=","0OZcLHULEPerm9a5nFODcBFZ3rwrRvbDJ0QRI6dWa1E=","VUHSqyLdcSP1abXiFEVaptgRbIE+j1rRBMHJylcQPu4=","EMMjeDBAn+c5gX3bxMWe64Wv+71XezdT05f6Q0ZIYWE=","6XY7PrAeSHPzzBILfkC6L2HpJiPBTS8DWZqJFdpe0LE=","S6fG9uZKEP5c+iVeBxvi7ZwGyTcBYbYltTTrYojlAh4=","KLVyXO+1h9zKfN2xTxOr9+L3Lfmpj3Ft+TzuU1P4T5s=","W1AE0Tk7l0QDL9K6Bcf2uBoPKDLKIwYfYYf3sl2f8b0=","CAQUtXeTK/izK872pAYrPKrZzSzMd7Pi9nPYNB8Fruc=","2CK1FI0z3pQrRfKIDUeb5xrN8IK6FeFO69erqsm5iJs=","Xf/iHSloDIUKd8nrZ/vy0hN1kWaLbkqtOQcWGWlXPl0=","v79yhC2L4AiU1AFLGWQ7FperYMKcJnSFi52bhTgKsIo=","RMfbepZhg0LMbClAco/ivMsiAtKt0AAz5oQIbPSwI+4=","2XmpBZFm0z9YvuE5UYgbKEALUEKnhAocalcm+Z9s5Vk=","Y0FCXk2boNr8gPhzp1ks9FFHJc1rgSYi/XJqySOT6p8=","Px9WJbOqO8cTSUSCjaws9mBmxlPXoCq+6piVZO3fj/k=","egCGaJ7hvVgSgPjRv9nopCE4TiOYHxeWM3myE0fo4ts=","Q3EAlsLg10WIXFa99S6ra8W21lVOVRyr3vTgsht/hug=","SPvnLovQGk+bZaHDhdjXMcCbkJpWGQQy3G1LwY1PKk0=","OOrT9cEl3AXQCPxoE5uNX6BpLNoehpDXtdtHnuxljgk=","3Ktuy4L63zPk1wx0qr+Y7aG96o/GQZWgwzeWTvHygkk=","2RpBouuMXbZR5DFs8JLRqrVFxOMKF3E5OlcNfDllVIE=","k6eer8jWaOmsYIlOLONyvucM42FhkG5BN4wCIz2XsKI=","ryjRH3+do5oWRNl/XdDCCh5LVRAap7ihRy0JVlU0s4A=","CMyYxqkvn5LeJBe7hyQ6lCsZTpUH0m/mBXzsaUlNByQ=","IbwGdzV17H+BGiUtA6WkFr3ocQjaM4OJd0wdrp6+Fjo=","TUzZZlxSIH05psZFqaJ6ELB4j3unbOZm+/m/UAoPtfE=","W3lOZEnFRlg7ScFy7QH11JzdqStMAA5S1INbUfiGA/Q=","IMz3J0anrJDMs/4H89RAi1QtH1BBWxTsF9np8wBFcgQ=","dCc5EsUDYfr+a+mcN0MuyMYD97K90h7WUGOerZ+l/0o=","6oIaCxHoH3rdsUJblMrphJaLDI9ToQqQbCq+qnvaXuw=","xmUkiu5uke3COsFvc7cGNYuPMlu1CIB4gABEsoc6kvU=","Ie29yoJVdpDu14WkKQLejQ/JKaIUX7NAFOkP4XvwT9Y=","dAkAa735pvP85oFHBivJ6vwndooESegIEc8zQ4B5Vgs=","Xs+E1tpLEZ7vnjhUxFsff0USPx2x2wJDCkrldQT1jxM=","oJTMPiOlfwQ+f/YtwsnnQkQHLaxtQg55JLeLAvYGTV8=","QFakcSkIdqNP7Uqc2X3FvokCDCGqqFgnjPYTHc2TU3U=","j7LBNToqiBxakcs5+3iVsa6TJCp6K6NFklwE5Mr8dqk=","y+mdruiTjHCQDa/szN6/gQlhVjTB5EwVxd/UY56hnIA=","ttZNWcAfVyu76jqoFfKU0/JYijzdzuTxtjjdwrkjDP0=","7D36QfHWaCZH5qBd06oohOycg/FnTzyqQwFdnQT4v4Y=","UQwFnRSTfOBD9t9iTfKJUPlXFqQrVky3k+Ll1gj5SSM=","5tRiLA2QpJW/foMuhdzTYiWw4/EoSU2g5QhshTWKiQ0=","ETY6omemuznAENzfhpaEeaRqd1bAKWNNDjpgXt39CQs=","ZOsuKj3Jhtos4pL6U8GAaryz2Tpf4bj1nDpknfu1CeI=","APYdtT9UQUgqCSgevU6F16ITITBiTyShMg+qexQ6K4s=","UfPKnwontDCmjQMhvkT2VZOvbscI70+C/qruoOKJPCk=","y2xovIKbPoEJ/EegCJyApd68ONRkeexseC1FVfcU930=","6LWLbiw1HqYwzqNw14wzXp1O5aZfzSpsemfFArZfQbY=","tR92k5Q544MIiGbM/ekTF7V37PDGnv//5SsY45m0I7w=","Xfgrl79uqb1nC3q5TPYwdoMgGvyiL1zyUkfor1xb5cA=","KEFae5gVW+4rRXqkF82w6JlhvYZNjCWajO3IIeLihs0=","4jIpz5B8FMvkKiuZ0Hlm6aQ4PdjqUD4dMS6tCRA1UTw=","21iDma306mwH8+/E+sBzLS1QRE+VdGjCc4I3o+01cTs=","ZcKno0VZOsdGorZ3sPBX9sNwJQnLh0UuXXFfieSdJfI=","JCi7LfKappnVQvWmZv1yqNdjLvy3cEqG+d/FSq1dMcA=","M21PamMR0D9ppNaU/Y8TBIm7sl2atwOG/JZnAIteimo=","OwbgrxEVkr3AvA7gfVUY28Hym80gjj3gaosvnCSEib0=","yRzIHP7upSmozM81lfXhuQ/zyt4kklwvOOdkdkk3QD8=","l9tStyhBJDC1RQuawWS+sp9t4cVukLTlCSF2ubQHMI8=","+rE3zXP2G5KDDqH6pbBnwozgoR6KVfmw5/WLU7B+ONY=","y8dHxTy0duUjCqLK/6p9xmiE4TsY05vhIYxg77fdVMY=","DOn4K7fFotT0UWsZHEg9FHvKxtsx6b/pHMjDnglFH1o=","Qs1irRch967aSorPApmUHh5xR4dem/bm6sfvCwFTqWY=","XecrBzca84TSYp3JgFUlIV+z0phE/nwt3XCn6TqsA+M=","Jb9H1hMYUIBCxudqcxX9gAWJwCSSEGMqYYHpPRB2ioE=","L3aoUdKIx7vaYjmOGDlWsrhyeMTjFwUK4Rqv4QYlD5M=","eYqwyPccO1H2jKehiffc4thpvRPZMAguGc2l0lsrA7U=","2aXPVXNwyJOXWAPGcmfqxeln0vpWJTZ900emmRYmlQM=","XFrEa6AnVedX0LJrAwLU4AqhbTULXkI2BCUJ1W3vQrI=","nqxpC8OGolS2wPnkkzqyxQKqGvslZ8IRDrPzk4hbDXY=","ZQINeUuP8eEuhkMugZTXdyYtmT0Q1kblxh6Eopk7REE=","zrC1UMMyPUQA8env+ZTfYJfrLHCknJSN+8d55xgdRAs=","Y7Y7qYD5ssrfrcwO2sB8hdeDvGO/+MEnLnG3xmqH0uA=","kilO1poUFd46mHCAkIp3ktC91jLFxeys81JPL0a2q6E=","yHsugXYxofZEq2LvayZqcl6Kfx7WXS+0hwx9LGr6q9g=","0uJv7XBRIaEWmr/Wzr9dX1ufWw46ZXBBEGZkyPyQabo=","hsUS/u7ZRLsYJQ5s9wTulZoS/ZXlwoR+GuD9EezFED0=","sKH58vn2KRK57YqabVJlnoiwJWmkB5N6582dQplJOqg=","Pp4n0DFgHyt1BLby94PbI6yHu2KuNkOcLwV+1KVyCXM=","vuihK/GP30cqKmvpvLydeE9cezVoz7S7f4jna2trVRw=","/3zTKoKw/HBSg3K7RUiiznMswjEhmz5rnvQ8e7UwovI=","JjBcqmagc0+LM8lqnddcTnqBqvKymU/vS3Bzt1WcHgg=","md/KUi6PwhSaP69m5ANZNleJNNqlS5YdUGjkLtvc8nA=","+t69JCa0JsPPbMP8RiocFxfJ8x2Y2R1JRvyCpbL8aE4=","ZXtPsEcXfbnYj/JEOhZlkGFF2nSaN0WY9fRvjc9I1vg=","nVP1ybO3aPagIM/7kWUTsON+kl7A9bpX2rObI8ct85U=","MD+CAblLAysx5siDLIN6xHrf+1+n9UqEpi5JsgBFaZk=","GP5DUzUfLFq8Kj8otcT6z6FbwiRYEQLdZ6JjZa+MNyg=","XRiQFDicsaBysVUooRnWMo5kX3iGEnq6dW0G4X22UbA=","MjWlHSV0SHUBklKGyurVgpIIQ4TS0MNvfUmLtZ8lIZ0=","pYapaLkVLqVpQpZz/yd1kZW5FSpAouWPy35u6mcQaDY=","vK00YsUiln5Zs8weJqyBD8flGZV7scr9L1IBA9l9JWo=","YVqzTjQTZ+iCpERSeT0Nc7ZCpqdx9zILD0AA0PBVd+U=","R+VYxXHbFK91U0DVVahdPkZu/3zEghZjG6EoqRjZryA=","iBpCjb1Chze/2TjrfVeqlf7cCAPRHW6hoJS217VYwzg=","v3BEb6ismUuRArA3/vWjmfJG4GuKna8R9lJgdyUxhHA=","QigKZpD8fLkr4PdU+BMCWSS6beq1ZFF+x0IfWAKkyCE=","i3mGXVZsojYHFdiuBV1oJUqL47CEu9idcUd2EsvpwT8=","X7a1z7YB2RYGIgdWTZVf0IiwcFCGuRyXl1Qvyuzoi7o=","mxktBVpeRlKBOkIyyxkkG3Le/ug3xDktShYB85FJUWI=","R2CaB5Yq2BbcpDy4iyOaLhfspqbHnC/CanQvnMXQvws=","8enO2in5B7uVe15O2c5gmjoyunQUNefoO4SVs4uM5SE=","e9aiOdwdBcZ2l9aN/PgiTCmzM8Cz0+HhF/gQI4MFfMM=","Wjzg5MCuuZhccwJjkEBgVoFqR4cD8ex/a4g+FPRph6A=","9kpOJOJQIzV0O4JxlnwhuyNdO4+96JWWO7GhsugMlzU=","IYZ+HrDwF1juDWgAzCH/SIIfg8nffWW1Q+80jziIits=","eeXNCrTCHF90Bhun8FzGrhSQ0o87Z7hta0FnUCtlhT8=","4elRw8RhIZjF2K98RWqJZA/FPfkrHbrx+tZmfZf2TFE=","cAlpWgCwRC41AKlIZboKc+Xs1SioP/boPZiy7vnJjcw=","DofpUlezpDVJwHvUV5oG3tDUyvnr9d48KSD4LgaIbzU=","d/DQt4GcnJI9xKGiJLa9i4bI5BuDXbB63+ETSAKu1P0=","e2XaJK6sRmZDfEDhd5DfZjeCPQVNKA+CEt33ELf7oFg=","HDw8wp+jICYnIEsXYmvY+kTMkX6zAIjPGsTcQiBsElM=","z06RV2YP8LS9eF10Icnotw5laoZ20poz37trKDcyV9E=","wntUKVGephJMWEcrUfe/EiFZ3UppQJ+Gwml7t7BSnIw=","Zigh+tQw4ZOEGrRJpPHnqO7k6/WuUSVQSF0KLZDpuEw=","WmfwQpnpqh9GGXlGYAiBa7+pPeyGqoOrndt3Y5yqXzY=","yEOiHwVvEclBA7t0XzSH/7Im6lL+1B1hsZValKY4R9w=","lR2LnrBsHSauSNBFezmvHkwGliSlwaTOTuumrmOkE+8=","ElDwK0ZzsKbDtSGozxUOId5vYWfUuOrOLCJHxavOiG8=","1YrVixKG6NytaTeWCZRQ81dhZZ6IPFcuIfMHnIakDtg=","hhcIRNKut07MHV3FZEO4dOlg3DIPOEDMizDViGxBliw=","PP8eNZUKeFdXrsXy8ORQBysOrKX5elZs+fa74zqyTr0=","LdxjbQdbqRrfQibTw7kbEoTml74nCrpVIgPJPJ5Lb4U=","BQaXIg1AtsBPszmO4YFkd37OZUT8XhcmfS0tORVg4zQ=","6P9O1vcbPcCSwdNO7fiqWA8EvJgQaNDJejEg144j/9E=","xqvmqdrSPgGBtR3BRr+edOh40hJ7xSwOyNA9WLoTobw=","HZv+T3Z/R3BrnX40038WYEYwckQtU/+PROwjA28plDE=","Z2OEsuIsZeq8vhsO3RWU8mweLRzRQztup7Rx5u71+pg=","9Zk2bA7Tr63X2HAdBgbi5mPlAQIsQPPixhk9DMyVYiw=","RObKCJ+Y8hbBWdd4ICZinzP/XTwt0gyRJpe1fG988jA=","VPGrZEewKQrZJRAXf+me6QfUGaa7ukLlhClkBHm+Q7U=","O7qRdEAi1TUtfzLDqjoXAzhRRq0Mrrh+dl9R0J3UX9Q=","TkVz6dBhJZ/jaNHp3nFt6MxZeNhd8BN/Ojb8GzRg4xM=","48MuehLdxu3/GSCFRcJXVBn4soUKW5/B+583/dST5UM=","tVYbZ3zVRYylm04l/S766KfIEAjcxpxhCEbqyzI8OM0=","v9qb80S3Rd9JaHz7NdLzWGnif8jxmaCkgdBunLQ1gN8=","mmAnQUlyv2fZrL3l62lI1aUK/Q4bbMnSOaKAKt678vU=","pK7pjxUxKRko5kLCXL0k98IJ/ebX8ShAb3ValTAV56M=","8nrDYIbZfXTiPCau+mYK40mDInFvsHmqyzxZcrCJcSk=","ucNxGEHXhuii8bnRjYboTt6BaNOM0S0Tfi2syU9saPc=","jiIIAhiNM6kV/u0aDBcOdIUd621swnGKRdsWGVHwwBw=","ItxbYxHhgsZv7pBurq/V+wKqZnBbnIocDGHQITJ/tDQ=","1eyQJE9ZLcuavv3FqdPMzvDu5nfDWH1IV+2ebWBu0Ow=","TDt6etgwVE3snuS6hW6ZsIPmL8u5GN/9Gg8YllhDz5E=","xZmWaA4auzzLUKrc3OaKOJ0FCdyMW3+n4QDWBeyG1/s=","CBAFdchB5S9f865BLe1Yprvc5ktZbvtQh6Vav6fOkRo=","XNgTnjKlV9Qfv03feD1HdVY8sT134BOIdzGQyydAgQo=","L7lGsLsNgBXXjVLwJBB9RXI0rjvutVRyZDFxO+TOkKs=","/RJbocJQ8JhcVzWPR4yEwDUE3706Kk9L9BJ+jg0VTwY=","VWr2ngdzgHHGJPVKkTkoQdN+CihGBZ2PZ0pAd/OMWJI=","Gsq/dzR4ucA0yeruI1fEN5RZTn/Yo0ob6wdFSBqWoyM=","PKt2BszcEKKdt8EHXzd/1MklwSUeiC6iPUhkklyPRcI=","i6+iwjFWzrU9OjgyvuGHYMIq3ng0F9NuFLAHpgkb63k=","qETDF9070WpfObbIDb7nhCHb5ItXGWmul/PkOBJb6YY=","QoRE7U6GgjlM7CKvhSnNf43TKlezRlrDtuHeSEQnxCY=","0N1E8dF6/EC629HdodosaXkWh/WlZX/El0SsEmjkPRE=","BeLUxykxIUxKnugSwk+VOZUGtNt9Q6OqhnduYx6qSX8=","aHR9Rkf7eW/XpS3SXdz4p8WbN2uUs1el2vAUq6Oixlg=","Cfg0xcwU0ITH/7zhPj/Ffxtj+5KAwN5bvT6UXyOfdVA=","nXZSRPg7FfcZwBLjX8lM9aUTe8K2TG0fvHV53gycHYk=","mJfuP5V2KuG73NvaHNXIZJ7PKTZwr4MMahSP0uPJstU=","WrlJD92+BdjzmIrcteTHcJJpdkEe18KclJH7QcmFEuE=","TWcPFUqeFfGauIfMkGVKlDhnPhxneT1hNPjbYfyQxJE=","1ep9iqevR4r3Quw9w2kTVy3sROd9nz9TXE6J9a69LdI=","fhK1w2aUfZ5YhA/IaQuV3tr3qISOtqsW/G+exrtsiaY=","beRpzQjz/qeit2WKm6REz3U/Fq0Hw8LSQgsZ1d0k9HM=","U5Qblc2v4T5rmp21yr8aMk9znD6jfqvYyeWky8z50pA=","MNJT0dp+DtK8iLsqdwshHNnNJLovmxgm6WobjAUIYQ4=","o8MaB/WJn3Wo0R3CAjKBVMI/+3WbMniGcxBCBqoT3ts=","kSclSESNgfIXGNXgTo847+4ck2PehdksIMfi3VOJFCI=","Rvk9gbj6H35OiZpGfIHd5te8O9q9wopL6NrVHvm9x/g=","sObMSBH4Gmd28YOd/K9TIV91RuPvJMCSoaElBH1FTsE=","dqN+fNRnh2VdMzanyyWG04tVtrfMFglnzhqJwTIsYS8=","zxpXFAId96yP67YluCIPPcX8VJG0vVQzkCkAyWTsgKY=","pZqWEhgUGSLBM0yh0Gg2cGwZfgKkp9UVZjbdS4L4JDE=","i5vKHn7tgCMj15/txrImHTsFWImvY8rgTbfVRML6jFI=","gabnB2W3q9qRJYkG1dtWzBSyZ6HG9BpVgxzmxuAo7l8=","nresY5lQjA9QNrnSoL9NXpF+1sxSwOv9qzkx9k5bCbc=","DvlrWV6xx8VjJ4Bi6rao6FJXzVMwV1dEjf5uqPwyKcQ=","+pBq3TyRjJMdtDPfuvY1qjRgAZk30WhQ3JHSRH0tAvA=","It2XJVf+BR4Ui38g17lkWDWnEgdXE7EvBX+iqIaAsRA=","x5xNj04/EUhn9budFj3wKxbDCMZ5oDgvzZBqs4dftuc=","/yS1qI6XaW4McyI77WX+X9JGFwSUhHCtkvG8zjws7RY=","jlrCfjTSHjMJMotueLRYvVpORU8lF4FOig1d/iF5ISk=","NclzbGLbSm3hKDY07BUdmCmd1W3WUh2m8UOuDS9kEz8=","MKe/OdikVwc6ilBh4Qltc5Fw4CJYNaGW8YLEU6jvWd0=","epRh0T56+pEPXzGYbWIx7xAJczmHYU8gvAJq7GzWZ9g=","dAhecVmKnKPQIiag/XUJHjP2TjZEvkdD4KQyrWYXs6w=","LD3DSjvSc4SUgCzdvpM+rfmK8/gDyxYGN1xP43D4Q60=","7vt8E8FY6WMBPrCwPBQISUzcZcaMkCc/2Z/ui+Oqm+o=","5knsCTYT6whjrIgkBaX1ryn8Pnf5bUZdxbLLw+qj51o=","V4IYvtA9pdSIF1uj4fK6F+mWOF7F5LAVeI3pfb+MIYU=","eImaNkXiILlvOnrzqpJUY6Hq3LWmdsSc/DGs87++N44=","tiQ46pv3pzAXVv1xzl1VkbLaDzp56Q9+liVdGQ60w/0=","XoD/aftYY0On8/SrgTqWQ1o+xg/r+6abEFjR91m2u4o=","2emk/tIFBmHzCHODOev6bYW6mQvuiXBJRH3bnmcDCCs=","OunqstYWYlyRwv7d6369vt/4BN+GUIkncbWxpQv0OuQ=","ijqfgFEtt9lDoCeNGkbEnp+s6eN8UlPIBIZXuMCBJEk=","F4aIH3ZhzzRdTiYq4f4EoqeDDkKlkoXsuOt/R9uob2E=","894WbmumTtpiOrSRnG+qQ0Ak0lbp/KJvEc65+Wju6xA=","vzRF+xkngeKX+9qv7kPE1nSdHMKDNRGDHSOakLmouX4=","3go0OoXMQ3IvJM3OQ3iQ/vFZ3wFnGawPPdiG8b/J64w=","KDcGBb4ornBxamINesJSpiOQ3Bx6MeQH+dgbvGKvEz0=","e6oOaBjmroeITsWEeaqpVcIpi5J6Zgfj0SwHdc14ngM=","DUwwhvmc6QZn1wl9IMSZ888WgfDpVrBWb6qF+/5a2MY=","KfLo9piSMs5kE4Aci3VbaCacoUoalsB6t9PV5gQY1+o=","BILuisddtFIyqspyK86z+ioNtFujiNpxDqpk4+nOz8k=","X0s0tcmDoGSZpmJSfljpQPUD6kXgaJD/QBvTEnAxbdo=","y75/MW1Y7Ai3EtEQ6qhUvPxXXxuE0jCUPRJ1RXwTxX8=","Lhwgg7/IQRutpPi6j6gmoqw+UUN+IWUmFNgaEe7kEss=","85Htb7a9wZSPxcBYnUDBzhH2mL+cps5tsqFqZrpSEto=","PMr2jvgdoVyjIeMYRe1Y7Y9cwZBV2DcRqc3JBIyuK0c=","iepf+O91LYzQ7l9SNXOk5EeX/ix+zbEcqgGHdlKVcCA=","IaKXRHMX1oi+4cFxyUjPMJKj5sLq8lVvbCslSHAodFw=","oClKata97bbZpcUNE177NC6LZT1JOxitid8IxyjZjEI=","1i/urnoJxbAW8oEpw/mKxGePRqPm1UJ7272zfmir11g=","aBwXMFecuQOjZ7dcbwuUhdS8Cm+ZdBz9fKTydIyOcmY=","O2lhAXUDNs9XQ6bI7cRDy/if42avjK8VFM7byUuumsc=","mSoKZ6qvYyE7bHcRx5IOGty7oPLbbsGi7X1UM/+NJKE=","LpOsw8hDnRGqJPUitGPbAAlli2PND5j5+XecvAu9y/0=","yBrT/Tz3I+atlq3pLzfb6DeydzmSAq/Q6y2PG9ghgTs=","8vlwq8j+G0740SqT2QiQ74+/dv0b1HDicqcjREE9aKQ=","ohk4VI3n8IpTWZtrVpGGMAthf/uDsiQmDHOFLThC3kA=","F7a1F3QCqX2efZhO2EaO1yOXmYx5folTWhckED9+KaU=","+npqluT1ZgifCIEzbXdeEzrvUDEWbQ4aA1DB/JTFx2M=","idtudJTuf9KSmWxfe9djNromiauwDE8N/+1wthqGwPo=","G8J/c2q2JZV/vSYaqcfv12udBAabZlGgGgfZ3yHXFnk=","0UffYbDjvJv5JXmsDKe6NdxGQLcGUrn0hFZ0XOn/Emg=","C1HWygk01THMPpn6rxEANTq/qDNiNoAVX/FK6RTubp4=","nKEwxEm29OSvR7mMDy62FsYO0To6BkgaUXlC5jQ0k1w=","5udPi/DCKxLq3LJzkOc1f/ktiysZXfd0UQKOnljaaFE=","Hc/E04HZW3fe0rKJfX2GZRPO7aYHe7ePJ5eMvvtPcQI=","LWP/Vi42WVvmQjj6TkygWZEdWRBMkfqHOhEGY7eUrMw=","w51XoTCC45gvE7kRKNlE0oj/GciFZRdAMyx/6VnZVYk=","+k8E45WKgBwNtg1RbNcSgSGb2PT9Wn61cqNSuQtxk50=","EXAWXjJxk9tQQCrr41vkjZFgNOiwPGlwVkfp0+K+huQ=","wd8+rbToE2/nDvSAKUW+ZNEeYkUeCXQGGRxqYGGGC0g=","/Pq1BWzOSsQxgsYmzUElquSDRVfnAYMzqw6j0XPdxqE=","HZbVLUBBhfQInRZFkaO3KTo9AAEXYiDszIJF+z4HBsg=","mZkzHts7sd6SFh/+1sT2424DhwV/5ayKLuLK9jtPiuA=","l5cWI/OHlaQrt9XCn8qREste1NNgniet1HuiSVl+PaA=","RywytepBjJQ/llP5uZr3ZVzvxGsCkUF00oliqlmHfCQ=","JnV7B4HuabsN6VAruAkpXng7X8w+PYSAW/e8mNN32DQ=","apVi7upchArbtfbJx84eGue0ZPeSX4YOUDAJGG4W554=","UcQrNcX2OkLhSsYyEl+c8SZxsT0/qyBJmT5yQeQYXOs=","luJ1WpNRvjRROkNYGSTr5mY1LZrxhVx+2FakaGn9Io8=","1yEuq5H+peHx5U/zrc6Arzm4JhFbvk5G3Lg+tGPRErM=","kcALkj4DvfTQs0CnDdWryADp4wCfWYEeYA2DvEI1Haw=","Sd90a8lUekEYIY1cY/gmE50vwMfvUPZUkLFYZ1mcrLY=","AItYOIx1yMZU09mdnfwONtMwYL28C1Vko1UE45d1i38=","ig50e2y6IBFpwc/H3piIjudHEVE1qYH0zsKVIn9h8L0=","SwrWxDHkDjE5U+lD5XH3hW/PNXkD7+qIGbj7hlWWqjI=","/Nd0W+GXcHrWtWEZ0CqN313NHbzTUsZ8I2lGNrc7Sgk=","aZVEp3gQq1wgDGbFPL/h821RG9SWfZOtG865ItuEWr0=","+X0KQiyd0q2e7gTZo9VA9LyT97e4HxxiG8/P+zJE6rk=","oi+LLZ8wex7D9uf5apkiptOeLDs6I8kFDbohpfWt/ZI=","AVXJMciyQ81OkhTmxYjA/emES05myaQwwE8iv/8wwqM=","fCteGnsRapEZ29XnaU3sC8BD0VxDFZ92Otx8G7d8xZY=","RCWZNKQJTFLPEwFYmhQdymHIdySPNIPW9n/wqCgia30=","wU8HJ/y8mrdixogNvc4llxU2d3j3gnEEfZmOwciCVk8=","F8mv0bmzayDqM0l8EqeJv+0Liyx7r5YjBmsFF+EZJ0s=","bAQpEZAmldx+MJict+DzGFetmbKxkBPxyoq254EzBBo=","lSSlTVix2SnOGqMgvfeiTKiyx/s7FoPCnoSGutPW1J8=","l4fLTrcQtFkRkoBhNL53fvKlsljPF1bL7DUaHafJclQ=","S+nAxdhrPy4+PXj1J+3d1XBXE70y0Vg8Q7Vos/LLgsw=","vtAIpyf4SwyNLtNFkI1Eo3PB3CcT49TASLIt3CPZRL0=","SWaUnU7quL/paykAi2rqUlqhkY0Ye2HLvmkOIj7p0+k=","ljhfDPY2ATEpBDYyhWud0+77NcpYHcPHmBAp4h7rEyA=","0VaVeMeD64ZoGF3re4KAGrsAzz5mpC6CGV1OJsbiEx4=","l/7Stt/3y/+OHWqlp6aililgrdTCtY9hDjHBk90KL5o=","nB4Nm2c28t8HSt7lWymX+yTi1P++tBrjzRtk/MChzqQ=","RwsfOgialcW0/FtNv4Pi6T0Vx52E2BT/DEkJkF286Jo=","lDpFk6gS4Q0wf4o0IGOMzJLFXzGpjOKASZYs/ImVLbk=","LaPVJ8EkUTh2pMWLX9GLGhsEdrOYDYj4j+/ryNCF7nk=","93epfjXxNPAhFoH4KEg1ys9UH0CAcfOMpz907Ag/vmk=","a7lOjT3k5bNW/4qQbGM4uqYC1QrgqU0FzgnudJya4gU=","wI0HtEpWHduhvPXOZRCjcfMpIZSPY+4MJDJ2kCNTEao=","O/E9z0ux0RHHd1QkfI+/8/LKERxJ4QRXcpGL7vsplO4=","tkZUv0nQgwV9GS0IV6hS85DnU0M/Sis+okP015WqpJU=","AoMzNq9yCL8BhhWiJZdEaGRzXW4BFtcB6s7MZBLP9i8=","DUEWhAid2DVfUvsh41w/hyMWgBiSuc8+BMilFl/UXNQ=","ZWLVN/fYn9zVY8FQTP7KrZaChu00qfWiJo1RjZnNGpM=","fjPPTWCGwX4L3SpYtMLbGJgk9K49GCAwNvFh+Xtnjx8=","wgEcR3wrPip2Dse4Oa6IwYt6JCVWARiNsbCoKqzEZCo=","ZpFn2DTz3yxvi1M69nzzsV+pNfUW+CaVPSwOqEtJk6c=","X6VPr2uTwwX9n+pN07a85vmlM3iFp5T00bw+M8aTScM=","pecxScLYesJ1Urai5xTg26TktLMBtaIE/l9E0FKaCaY=","pwnOPdflFx6Vs9Svc+76x/QEJAbGrCyMYGHOJyPiGrI=","FWMtdH8oT/vcJeevy1D2DYupv7DZlv3B19W1MO211E4=","eXHmZbauwROrzeB+oOcVHWHTllxtw8yRYja8hb/IvdM=","aV/dt+jBXrMgSI5BscCO1+D5ipwe/AwQGY1PSjbLZtA=","JhigMgMNagRXc2aH5XaGbcfIqsfIQsLOFMWgarMhT+A=","2Bl9jHz5TgBpbYkRopk7I2US/EXfxeBUWkE47XuTEso=","bwokkx7diMuj0rrL4I9HR1GE4Ochs+HcmhGn6dZw35k=","nXpvdwGFdy8DhzPc0bo3PM4CzxZkJ46V/1aDL9jCrgk=","N7tmqhtXeflf3+Gi/nzBwp98O0oD7nubatkpNduQ7/c=","3TgIiedU1mBEP438895WEbvZwBUJgaNaGInPXwNa/lk=","I4djhdsfA4gBc+FheiuvgDn0K9UrnraskSO+WvsgSGI=","Ig1T90LoysSAhRO65B1RvHtXxtFI/PnEpwCBHgpAb9I=","Aw1pDuSgBs/hs+UWJr5kUZ/088DOz7eOHBsaRyTr4Zg=","DXQNYknCsKh5yzNssOoL68ByYa82bzRYaQfmvb+weGA=","lxHfgaOjIHCcqPRwMes8xpM0s9a5T+oRhInWxPi8McE=","GlzaSFw9ofGQ+YF29pfrK4gnWO+dcu6GrGWXt73FWbE=","LXkTsYGQWdS2jYDmPKCPcOzZ6V9vr0vcUTHB8tdkthI=","Rn1Mq+DAJGuN9WtjSsFjfbgEtCnPM5FJA5/4YDwYoio=","2Qj0ulZl983UeulVVpoy82JqVMRT1hp/uyRCkEIyPEI=","22IGHoqUF7mt5tDPrsWIHSGI6KrHRCYqbf+At8nICVk=","9pBJ1aGpG2tYTHu8QP9VhLUeKO9+tuHwgxLXFyoFQcM=","I/ujKU9ZIvwU7ZDIp/6QoaA6eDz68gXlrFxM+iAvhqs=","Vnj9qgGkOzhd+GjzZLdYbjOhg5DfImKccwNnNkuIjL0=","D9lJgkarz1O1pTZyYJQHMWwXJRKahUKQwrwLx+0v5SM=","QlN52L49WeXi2JcXiw8rB+rUTGumbUonVSKfKpE4WvU=","DiDAnVsi1AHTIZn/bk4t1Fdm3GmD/ZaYNT/HSRP5jKQ=","s4/9QSggtQqnotkern+FSwtBFRWhlTiV8gzbE/DVNSs=","tlRAei8L/TXKUQbTnvJJilo0rSTm852R0kyEL2RjEUE=","6lxRxhiH860Z49uK05GqYxfXBvn2UGe4hUSpajtJLl0=","5CgLVQXCMjQ63FhL1eCAS8dl6A4JndS/RS+QJ6CQAWQ=","JzqYztMUrGC9Nt7GXcI3a9uMAsLEvezYvpdakgTBXiQ=","wXCzChwIQ+Ews5oAaEFCMm4ni9NK+oJy/zY/5Um3GSQ=","h1r8hRvN29kCCSmzzHu6CRD6mFzCBhI05a6aysz7pwk=","35UhQkLVhsW8V9HTgcW5XHtuqmB2qo68nzwS/edLQQQ=","xpJ1SWm68eiPwptCxEG4zKGvXdd8b+5yQL8I0fku880=","nG+EBi5P5HbH+lYVZUvjiiIWcMTZkQNNQ5EWkwCZygQ=","Z65BH03J8mnpovuWnIAuOKcjv4YFFv967y66KXlE84U=","P/hWdQHhuWHmXYr06knQdXAyj/LwksNNCmTyuGHoBuo=","Clw39Xm0gMl4rqZzvbzuz3+jpNtCbqxEfYnBBIfifVw=","CUWqsaRxNfv+68wu5lYzN4tDpuxTMGpMdlAddLcoZy0=","6XdeQY3eHyzJ+u2cSmVLv2TuUhDjoEoMH5Cnkzszd60=","MQImNIUKvAgbDVhd2G24Ml++tGpYs29+IekgoBAMoMk=","wubw4EV0vQF7uCz7Y6QBpsm88TIseHdK+Lhwc3w6ywc=","27euAwBEyXEBkh5y//GmvxFyfFn4doPBOjIWCbSPP7s=","qwY7hUCxjkiWD1Nr+zSiL2Ra+oEpztylpGmsHsrDqYw=","venseF3zFK3qeEc/MRyX60kxwuWZHeOqyUrs4fN9lEc=","G4ibIpnFS6ZKitGYVLbzABFBQ3ntDH6lhE8nFMPkVt0=","mgT6l1//dpuVvXFs5tUYEhrIF/VFeb8fR/KDweOD8+E=","kgOLkXE5GM+WRzbOhYsm4SdqHpntxycqBHWy572njyI=","e8RA4iFReG3JANRq/5A248YSxtFivpn52UHYdSruKoA=","D8Z35EUYIZV5SmlFKcP07wegACDiBMshj/tO5WqACEw=","Tn3Qq78sdIWZg8/hG9triKThK40s/zut2vtKPv9wCfY=","jl0jyBcq/ti+LIrM7oXCwUzKkTYM7c0tHR0CZQTm2H0=","+3kSFCNuHOdGfCT0AQo7aazgtDFPSexhd16zucbdeHU=","v6JCv/Eqf1B4INVgmsAjf8hxFpoRgeDEmhNFs4h0E5Y=","5gfPUFZe8b44qwKyguq1CQHT1GB+yMQwkWQbbco7P3s=","2B2UVcpJ03D4bOIGk9Y0iEvZgZNdrDU0/qgSHhd1t84=","6bBv2uidpQs3aWfSezEXeXLMCbfV78hrTioB13D7Qdw=","hMEk56h1r2PsGwBzm/0dglFS/50IgY7vw6T9UZjq14E=","NFkoNhXXFfnGC/jMZakc8vimASQBPPnPUsjedceJb/0=","ICkJk/DmL/j7ZDYLXTVEcsOMlLgg6QTIjaLhs5IyQsQ=","rAXU4vNjOMZ2ctudfjoakxn4Zs3jA2X0zSXsiIxsy/U=","kQcrVZh3D5CO9WjcWC9eZxtpo6hFfaCwJxS9PdibXPs=","n8cHyPoBEo8yPawwAUhPX4S/x4oPOvTrvAOIOVzOZLY=","FMO63gpflTALzmWoaBb0roBphfhQPX0BVct7eVdUDNg=","KynRVDHmwC+OlKu7hjuZR5Gk05XBC6p1OR85Ewd0/vw=","FrL3p5oiwrcxZj+LobWnp9THelbFJnEXe3PJSRnRHEw=","QSN/NIvnFUzFUxl2o2X4MTc7+oaabNvD0kEIf9vB0Wk=","7UG9ZCpBEyaVNwbiCnlae3RctZi4cCdy2B0AaElJs1s=","zjwZMmwm+WtKyTdS4Vtzf2Yx/ewKVUyH5/Kce+DjQUs=","cm2lMcVeY88iDt5/DZBipaD+LSTG9NZGKyHtn/9mBrg=","AWxbQVoXF8TV+GQ1gjx8udIOnpz2Pq1Nj6JaCD1Bs+k=","dEfgi9J8Id4BqonAyiQlVm7wKAA3lgiDD1z9TgAGDC8=","SXzUNstkCP3Z6FGDZngKpz32AxYR5sKeQu5pfgjFd+s=","OanQpiJQI4FFTFNDy+tJQw3uWQvH3VvNweE//4hlBf4=","HXZnOesq195RuFkQjv1vl0kZC1vB2TO/nsSX5T5fdBE=","72KGFMK6TRVy+1B5X3rE+AAqwhOFQfA7Aqg+T8MPSoQ=","hamjSJRr1IwU9Iu4NBVwaE7MZ+Ybbauwr/ESq+IO8QA=","9yGiWBeGk+I6HUFJLwMhyg2LgbvQPlp9DUKFrxLxfm4=","P0oh4HEeQYgFntSGIL2GCWNzu7RsS6IRtRalbcvsiLA=","6THjbxPliXOnozhPgnk5wWT3HxVs7BkxXV2Y5Rmkobw=","vbOHrBZwR+IML8EiFEco2r0OQmrgCBFBASduOfkjib4=","7bqTebA18qen8vCFR8cBpHZI9xpHzMFmutZu+VutI04=","aUoBaE2qHRBglklogmHxQfcPxQ3rmct31TbARbJlLsU=","KCmlxJigVi8p7R+1Ss5fAy6TRTduNl9nfiwby1TfR+Q=","wlMPbfgfMLFWGrHUiZhEYpncnVkmWe0q57M+TALOCIY=","eVDxQDSzCaLc56yqH3Y4UT8aYxDtosNl8dC9DP89j/4=","mk5uS6qFZrxzio0omy2nKbThtcvVoM6Fi0Z5Y/w/zAk=","aLJr+WLCPViVRET221Ti1c0vELEV6mCjRs8kBcPCscA=","YsoLzXYaDPcZwhiTsMwRO1TNhHINm8003OIUEpAb5TQ=","UAxZR9FOPq1BWbxDucme8X1aEqD7yzJzzt61wVj+CUU=","9i/iCT+3Q0DOBRh5vNU2j7ROnq8DSfdDE6qwYi5bRDU=","h4T2s2foMl9AfzF4ji9wjOMVQDBAc/sdVBCkd+fsCkE=","06mUfsVBBqV1p/7xb8mk6rOPIUN6ByZ/jsH5ZzRM/nQ=","tWSmYbA8/wuoVvhqnFf3NPZa5Bm4NQ9riAGo9rEzINc=","4PgU/mz3GCEU0HjG9714CQC3pcjMeplhWUkgVkrsbeM=","NaxOGREkkQEFkNa1Qxb/iEYYkCqKdnmrRPhKxU6I2Do=","q/qPl3RDdWJD32sxeHNtjYwEl9TGZ1KHthri3q2dXEE=","XnAQOhZGGFUViQD67Huti+GgrOL3aE+4VvSArpb1uFQ=","AqpDbJiDTiNqV/LMFIUiKQp+ROz4a+j1rdURhgBquzU=","WVFLRc2+z7Eo2fAycqYFdGXmaQRrBbUxtnx849xvh3w=","DFGJQwJw6voYbgSPwy+V2Q6Ko16Kr3e/kvBQkxG2yoU=","k5TukfSFB3wCyCX/SmYECm2F5vkApeCpFFRqm85qIrE=","ed88n6xk6e4HNIPB6p6DXwIXq3EGNCjQDY3UZzj1M0w=","W4C3JMVMWTivSZhxxYXxOCPC41ps5Tjw4DKcn+B/j5c=","qWWsrmlNvZg4AYLVFpLYdC46fc+2vHN+4Qcthn42IFg=","OmnJ5Y98M+IJcKoF0pDca7Um1HzbY2lA7AL45+o2Byo=","8zHqjl/7qGK13VpNccGobErSt6sIfV03vg9M4dGZXys=","2alZbJKCIMAEMnl23PI9XqNl1l6DCYCUwCuB0VkAPY8=","Q7EpwwlsXy9tSXlSZaPGzBDIc2FQ/qUAda+NRraqnyY=","ZHeRu0JslrbFmwkLhPvnEDytcwKNNQW2fHi0a7pY4mQ=","aSXi1BnWULuCRCLuRKfsF9Zc2ozMRaL45v3vCeKp298=","5PE/lkJvTEZ3f1yVeBbKkJJpC1ITzsBetNy/zWVreUU=","ZK4jcAaXzjU635oDCRqnxJZfFVsun9qYEFgLi4w6OYo=","UvraZ5pUfr4bI+KliUeQSAp25sIiKvVKbagYiXoNRxQ=","z+8eLoNLB1oiCbZBVZjzDGtOrlALGyXwdVwx20Na3JU=","qW93jb3WNLST8alakTeygvJQcbTAnckRcqJO1goq5mI=","lig+LeIqWl+wz6ScpzwlMqeFaMfCtmZSHIkT34BLTfg=","qtHpUwPvokk5EFjjxKAuoCC2jyUA3DWGjrmxlYaYBJ0=","MMlutql441dzKIHIQjgiGhKtxxUegzk+WwRTrSPYiRo=","w60sVSjtiFEZC76ZpnjAYkFP4uH3X3XxfKyOwZFS17k=","qbWzu//0s0rakO6QNj7UEWjfUWC+I9+bjtzxGusd1a0=","HotxPDcyHIkrcOkDJGqxOqF2mWkhUN2vJk14g2lAnHk=","G8ChcmVikpdNlWXIukaQ+UbkmyaZY7OCM35dke6xJ+g=","eUwvJaswRk0f8vv2M/VogwF3GkhZ002delDDl3GaIH0=","hAAgk7PePW4cZ6tPnrAGXL9xpH5+3S5Of6j5c4NbHoU=","LI6qFcbeA/butwu+r156+iIhK+LtEDtVjOXK8/XBEls=","Y5wQZTZsPN4cpTHp6IwKMXCdaYCwYzj5SxMfrWhGSYQ=","RKFIaS6gRTJD8U47IyzByhzEUfZUTzbSnGDgCFgRoAM=","Wrz/kfC+Tj3E/W8Unwt4/NFC+qaA6uCwCR3fxYbmphs=","3jXJ1nLeoEeX8c4kYHkn+lgMJaAFRkEIVNrBxp9w6fU=","owiQ4S5nkQPAD6MRrwj+wZv/f9MwKgXBOmooxE3EvR4=","FsolDR9Q0fPYaq640PBmWyTsPVrX8cbjiSPsD55On1k=","mmkUb9IrM1eurDguGOc9qA1vkgyTeBfvVl3fOimF8Uw=","nPJ4Vg7tk1LdJMJ25/F1z9V28vHPQYkOPUd52zWWc58=","pxAKDeCSiv9u8ZE/9jZ8yP+xGavBEENHt1tGnQA+Qj4=","/B3W8sC87/x/S1O5f+zc3rYhmEEcVNHIEsX03wSmEOw=","MRmENu9YG+Xj4TmGPn2shdcN05Gn5cjBpuebiRksjHQ=","JtXC5+coVLW627bmQVzda7yo1qbYFfbM4eFXgc2WDGk=","tMY+CgLe/8WqzVRodRnhBqgWsdymbhfC5uF9fkCNtck=","svC/h8J/mPrWZo7j2twzYQJpc06galuhqfy0902oebY=","QVL17+aNjAeJ6FxAzZQSU3VSvNsqGaXCjJUQG+GFZl4=","pcA/tIE9wk9uu1M85jSJv2LRTGdyrvmjxg5NP/1V5Ds=","V11MOhGCOSyCIh5QZM440qk7Fd+qTG2ikB34xHtc0No=","/wkbEnPTzuKwKruNqINQD1Lo+uSXfskLOo5aNjcA0kU=","z1tZcrl+Ye82HV6+pwrtle+NjS8734HRe/NsIWADejo=","r4nN/zFJV8JOTMvVzCwYbTNx+f39aW4nuKFagIaspG8=","F8qaIRiXBpEKjW8ZbPT25xmQrcN3vtf3UvZLGQIOLic=","GeTz04/ZSawDadacezVFNg9aUDYNutVz0WpceMJv47I=","yyZHxHWuIdUNPs/I9udGeX9EXhm1z97lJHIi7+AR96A=","ORRHQeGblJCYkmnW1nR++AJ7fJMWLHlVENRYAiCyowY=","MMxUr0EMD000zDiVKyh0g4AVtrofkSZ2YGqpT+XhosI=","pDxfCzJXkva32wisSULuTNGNqZSLTkOZ6wlF2BE0GUI=","4XeAIBV66ZJa1jzeTtFLdWQ2oR+uelxv7t5ZGpQ1Y7k=","zrTwBOopMgWjoQVTxYAr4hfa3C/EEBTHVT5dcd+FTKY=","2M5O0yK115d3FD0yOSAZC6yIMAsAATPSRsgVFXiu7d4=","s0afyzdg4GEjFg/mhhpYjvca4PG9GT8vbpeunMWJlMU=","BDAipez9zmlUzoRaRaQIl/w2uBTc1JEOXz3ZzTGotuM=","tTmlVIbvv6xdNxzuyUTR8hBGvMcqZLt6l/kCenajWPc=","+4TJuEDwmEhsEMsWxRUruZ6KW0nhMEtrr3l3qg1kmng=","l1i2nYwfvpY4+5uXSw2w6OTiBUgJggE/LNFYMvTTKoo=","I66YHu3mHavi4UcbIpe37iSLX37m3zLPXaGflaThP5o=","IM0C36/553/4ccvpJRiODMhjwIphBrJClQyfsSxOEKA=","f6zTJzyZh1+P2jYL1qPL5JxgtFk09IocK0FOKHzCCqo=","PAUx9Akr73nmRH3q43fkzHEeF0VzCkvTEcxPvilHOLM=","kpee88lI2dUvzJSUiZS95EMHLxSHtIhGi6AbTJeKb+E=","dorYVz7w1nh+9Jk6fm/gwIbREQ0l3A5VCRA4U1nS3zs=","ItHpaGDpfG/hzKhyr9MfU15bFg18T0fCxcfX438dI5c=","bLP11pWkgPSmWhzIT0qkHo4W3rqMe0/zpV0Zw9VstBQ=","Iv5UHqG5xWYmFUlIsQ44iv695W+lqBWjxB2//2RUykQ=","ktjx8CF2MwpF+upBcYL3uPYhPoecdZZflymxRrCy3j4=","JLa9EICPMPUAQiDck2Bgiz/1o1KW7sU4P0W2i/MGzeY="],"block_size":4096,"path":"background.bundle.js"},{"block_hashes":["E3z/op8cOA5prG201N7qOrwrPyGhMAT9sAi7GCl7e1c=","jjLe1nTZ3os30Uk51jpWYNnyz9mpq4vWEss9kyzD89I=","Pl34kjLFnr7MaCDxm/5fkajp1RmvS/NCJGOyokjfH2k=","fY4NpBG4ur5je1s41mim9aRbHE5Tr2t4Zwg5C3jXdYU=","d7yqN+BDdgZP4eIwgl/3EMu3+mdzYg0i9COaxCZWG9M=","X+IZP+SgURquPwz2hiOg3UNhoJ32kMBZgE+qBqmR4ro=","nd0yN0FBaqC9Y/Vrv5v3gJNFMK3//lEj9dZ48qd5Ags=","icgIHT/0JohQ/1hOD9cvzCofsXI1lXWPYeLDUcLU/mg=","x6q98qo7HKZ5GsUlsUQLIlYTF5rt4sY+wjly91EQRTs=","qvY00w7OHy8SvzXK3PROJ/spQbrUPV/jYjrKLV56B7g="],"block_size":4096,"path":"browser-polyfill.js"},{"block_hashes":["V+eFn+j7mD9FPOruoBqAjXqpG1A2gLc7evSqbQ8zdaU=","yYWLi7fgK63Oxt4RWNYFQLdulH5Baq4I5Hgd62uTJ30=","u2xTdCZGMLa99NIF5Dp7X050BqH8NucmUZ5M/W9f2c0=","fkRiPHHdlo199orkhwr0wAKd4of2bV5TC/t1yJJ5M6M=","UrhZBzDbzqZIEDpmL25teKnropNJqqiQFfFGcrd16hc=","fSPoTcCTOua3fRTz6YeT0MU+nFi0Op7nhung8CjBQNM=","TqGWo/wQVUhbSp/0gKcILnApaA58nnOuq6jP9h3R8So=","VtHeCEYOwiZFy0gLilEbFL3umi5tpxoK2GATRoWBBWE=","KbZ1wOibhgbE/Qn0U/axnmxVrc8dX3duU5ve//W/kJQ=","kpgiIQRX/zOgBNF/tlgcwPSLjnF+KopGSNQiAS80y2g=","bmkn5bs1DXO6WCtQwLzeKtFSQyMYHA6XPfxx5nHnv4c=","+jzfFetKSWl8akUcKogRtkz1tBT0Muk7Ww+4KMwNqsk=","VOTdtAwvtZzFI4hD3kgGmzM2BTxhzs9u3qFKxdt3j7M=","tG2jnm52h01BQsaGwNWuCKFOnDPJp0QU5tTU2JKOy/g=","ygkBJUUxy9Yzw4V0d0d8DXGeGEwC0j99MCbohHLxMW8=","vmxrO1I9yYQ6SMP82uFUN183vz9PL+TM59SdjYMqyUY=","CMHb7FipftqRATOw1p6BlPyeDybChNqkY8SruF2y+mI=","b82b4idJu74V1cyyS/MlE0hv4en3FukOgSgTgwih1ts=","SCon4/iOJdVxfGS2azPRXf7/hX7EK4UG9XWZMVgpDac=","BKGDirmednGTIPQxr1LIeMfghB4A7OK/AQnG/RyUDBk=","V4mARwPXtzUb8nKdxYCSmObJBASDY2vxXJe+97B+ziw=","1l5wqxd8/OWmokq1HhmhbVp905a3vohtzyQWZ/LyXLo=","5V2C3Cq7MK8YNx6DragSzDrm5SO1K6uDwfrP4ui3f4M=","ipCpBC36cYt0c3GgE3gePP6GrJMUr2d+5UfeRgTNGAQ=","XJYcACah9LkEGta8Ksz4cJPdoKlpf7vYarVA0mhCLbQ=","VO5/31muz+OwcNDqMLOKLuNtmK/L7DPGvPM9VQgn5LA=","zMA6JebdlGSnM6K08+rzjFzdM6USKWTxWs+10gNyurM=","6EiIMirKppbV88qK9lCHwB0egOTn53SDY4ANI75Ye9w=","jh6dKupVVYGQCH4rLq3+Ymy3t8EZu04kWwCJZ8WSal0=","YWGtc7fF+VgWBglMsbt9ykGb+zDHEJffMVz75zwyNDg=","WzQRf4lIMuoB6M7m5PMRrfSpnGcgVGoCjXD0gLeEqkc=","yZ0AndE8b6a3ysHx479bWukHgzhjOcbeZE7sd326XEM=","Ep+WGv0EmsBHl3zpwJ3VJsGI7NMsYYz19eZyz/7HIhM=","ELGP/T5xg7LYuAWOKaDgdalqNNbcxjxlu4wl4UMxnDc=","ZcGQkBeus97QDG+enTAAau/Cx7Xmc4sC27rXtNLWTbs=","+kRAENDxFMBt7YbkuhG93651YvpSIwYzQKH5W9PYNAY=","ZRdEOuhl59O5J3YpINI3p6G4NTE2xhbXev+XHBcqwSE=","DIVOheoKT5TvTCGy8FzH9YvdwzcPHX+bnsraBf+P8UY=","q24xtRXuB4Cack/w8S4gABsHQlSWAAV9C7hNbFy1B3o=","o/mH41A9Dhqsx3BSLPYZLAwlW81Pz1GmRk/2PYUxl14=","pVA+lnTVBsTDnJlcUxTK4doZBwP1Kvw2FmIEkY9kk/w=","nObKQRh54uiy6w5vqXhjg6U2ctV3pkxFOgD1E627bR0=","/FnKzVZv4Useh5QxOmyZlzpYKqnGDi5k80oRTpK1cqI=","pWitMr+IjDY95vh4mQElyHGUigkVmmtAMx4Rd7qd5MU=","4THRi3QqtzkPSvAXlEJMLXJSlqMjc3aw6BTzhBsA7DM=","19/5LiCWJxVciYsLdxrwcODA0eBR2Zh91tZl7A2QkPk=","8f2BL0O6fGgxTpANAT9s4Wss+7qaAZnuBHhxMR5ghm0=","swGF4vydDeZ6t7z0qpjhHOqEdyown1fI7PaTovkXi/Q=","n6nRzOY7xQ7HR/Ot72P7CE3GBcKAB5kURNZE1Ug6F/E=","FmQ+Bf2w6jkHSBBRPAfigpo4Rl3PfdL1GYVpTTFTS18=","IRiRTmQUbFNApCO5p0P7Nj//2PyuFKn6jU+ERZeJQs8=","azcdMUTvh8OkbYekciZmyzzJ375y2kFU+Kb2Ny7tMnU=","5z8zaD1yAJ3XKVlUdCpW7qmCmgMYIHL4RpmHvAn3mCM=","tHkYrYMxFo40qtqWRuS39/tElLrsVJvmflCKbDarADI=","ISjWBfOlwoJIAwibZEIA+Fhyb5Qp58sYRcmOHYfAApU=","/sIg0C62aDLgYoUctrYY1jTWcX3aD5Mr15LX+o2MGQM=","Prqz32OlTtz8ZKbBM41qrkF0b+a+GVSrcBqmM9fFKHQ=","1N7soLm8AdHxZesjNYDnpz5cHWnKN2LBBMhY9/veWSc=","tx1B5ynO5VGBZxFTjE5Zf499p/amuhf5O2grR3BkdoU=","Sq+QtLlLLWO/6/gu1g3T42hf4K94nzDOV/1UBo2ShR4=","HNGw8WMbcMUJ13TJ6mAslv6P3abAlI0ksqTv3CD8zoI=","5JtgJoBDZ9Wiab+/kF8pX6/ahJH9MgU5yCIEINrdG9A=","tBtbgsUuhTKLURyDWRiNfsGflfg0+WTJS9cdkF78O44=","BpDz6tgv8DAi90XK+c+uETAigvTQ5EWgiJC1J3PYz4Q=","5/ZvimZMx/W416kNXNa4YW3jyhfemf5pBsue5rRXLes=","wuyZVc9N9k3OFRxDAbDS6kJUrP+72Dbk6XTESFybgRg=","XAAGTeETrRZlkOx7gyZaJh51Xgm9aLP8N9j1dVYRFAI=","+vUxF22uAgDi3U+NjT/BPM0api8IvWR8NnnN1omHBRQ=","DBw/uI4yB8P1TN5BCLpBhHAlHXTgZSmowVjFu83WS7I=","ZPWCNuBK6FX8G1n3yGw7UrYiWQmbnpX6l2RHZgzkEl4=","DrTZQYEmKo1zLjpSHIkOYAtILz4CFcEjcwT+v3mtyU8=","RUWFBULL/goUZ17fMqGx24b7F9TUAQvxWoq6QcNwWic=","8cid5J9MjUgSpX2aP0TrI3k+MRDcA1Ru1iin6I71qEU=","WX6TDyZ1FzTP6NmwyFtDzqoELyNavHrGIvWUbmkZq40=","QJoHXK9UO/O66QlJt8oKwPm30uZO4RizCvC1ItScrkM=","v+2LfQYiE+s//VIjV13XCPI2aimmBOA/zoto1BYgj08=","R32Qpw0/MhgeDjn3yh4SVEPVBjRfnWfP3fm9X6zRUmw=","IuY78e9XX7mBX1EXZlmAHbPaCpiu00Xj0C7FmXo3BD8=","M01K7km6z7qTKCMGpVYHQf1/M80mNoEynmhsAepsNY4=","sfVgSZW48oH6XLL8UOXvyVm1q+I61GNBoFhlLiW6fww=","FduP+GyjQxr+NYLFVTgLKYPcl6btexQ10l0WA1dfuY0=","kTBSnIvhbA/gp5v0NZ9Wx3Fmy15+5eYrzqNorqqsBkA=","4xQcPlI4+5GKHeZVrOv3CxBVt/TOkouMzKUQ8I+x8rw=","mHCRmGi7tihrpGx8bwF2h6i3lbKKw2ehCsL/U2EaPwM=","kLAbFuqoUqbYMUxvZPpoVAHp5WByVfVvp7lnAwwpv4c=","NowNzlPexXULDCjlLoN5pJfe20bEXBuQbsLArt2MXvE=","5+XKDG4FzECa2ouh4XEjghZi+0ee+lFIH2wRFHZoCZs=","5UbsbGHhTYrUa+3jLoB7RDS1BVUNabQat4lNIEDkMK4=","pR1TneooXwWscvP8XRtQsms3f02KH+76STaNtcToXDc=","v4fA3py/TJgHICFUAfMBJhAbO/1TiJf62w+NQJNwYP0=","o1/9MPLw0s9N6yAStbe9bPVPy0wGxzmcCvEtvLR9j8o=","o7vXlu0o7+3ycnTyC+NkfvqhDMeeFUWDIv6Fv6LRRaQ=","93REzxB6iGrNjm0qrdkVj47mxH+vGfnDOI7vWuehiWg=","EcsV9oyyY8CGwiMoVzzhRJD1J3bu26Nte8CzcDNAoYA=","hsNYchSqfeLXd8BAgNrhgulMAmkyrwGnHobzwsRJCvo=","MWnlq3/gvZJov2MGzJUaVVu2ga+LmHmG5jzQ4d/7jL4=","eCit2FYjIzg0ZaP6DL05d33udy7OITp1K9xNCjmtfMg=","p65CRE9PReHO+P1SISrTwXAXf9yvb0QCRvvIS7iXILc=","Sp9Bd04Pzk5Y6l0RR8t7CQYMEY7PWaXvmKKx2Rat1+Y=","aRj6IY3YJNsm/jGhjtbUH0Fs0PNilFlTp9ydzOTKs9M=","G/6dYUPv81sCjs81GDdMfF1/MPDpb19ENd0Kr3oBFN8=","Prpt0sBnNuYC6PNvp0RbJsvpacfqM59umbBzNQA9Fa4=","TV8qP0JC7v/7B9eRkWQwg7y/+4P/39edA7l9R+253+g=","5CWyms2h9lfSK/RJLr5S1xfwUkVh3mIFHtProqsHjy0=","gBP4ExYzkSYHWaicJFEeqBptIyLClkOWqfwGSlHjvKA=","m50Qnfh+TOu7484lSPOH3PvUA8v3z2LVPkGG2JTMDRw=","y32IAdweTg3LGS1UBujePYuFgSCYTxS2EheW0dZUzC0=","GDW835Jzx33chhbo/plnDeADADwVKn0/A1UUNrLgRmk=","pU44eunEnIprb9pQQUJyybSX8TsYlMg67pxED908xdE=","47n+Z/qJk1zstry9dFc9vIK8lFUSgS47m+zsc17y1iw=","OcLm2CyhxFk8QVgqFpz6maKbqZ/KX9cHv6GF/PobYac=","mnICrxMR1bLOWlQdhrVeuy2YMDCpgL/40WXK1dAO5cI=","j6nIz41O3fKaoa05Y5gWPZ3mjpxoBaPyi7dAMtvF0Xk=","0Kg0iAEaB0O2D7pO+CFt8Pv8aR4WNR4rOb1FXv6gU/U=","nWT1pi8z5GrcIRADgHlDw0rW7JXZE279C7qsk8ZfgMQ=","u/b96kYwT6K4knTgOr1eZEKGdEmXgTTTiimys0gPRSM=","WeJPAdX/YXjlPJC8D7B2E1bxyn7eo++p4EJdM2U5IeI=","fwcJHMV2t1vTAUGUfNAaWP3xnZ/iJ+WPOL+tEBsIe5w=","HECt1037x+MpzyEGBdSnlwLSZsI7TD8Nu6zx/6geN64=","7OofBy0b8vpBY7N8m0a6StnNg4lsc750YGwSaOB/k2U=","jE0jq9aEPc19tNcUumlZMsc3+nqKFeQ3nfJy44F3Ayo=","yVcfr0gsy2uAlrqp3kkbzpnjLRnNdoe+mqOpBFHIduY=","JSI8bMojEPLdHyrxnOnFrol3vqRQPb6BWBTc9DV5cyw=","9Ib74NEn51eoT8758GdOj0z8AFuDrXLtc1VDBGekgWU=","dGMvZJ7BbIRv2JHxgqT2Joa5CDH3WuMd31HmV65fo9g=","oVKRHrxT79W5OtLwxW/+aIF/D1yXIzS+HIFn6T5F1LU=","agFXVoiKHiA6gCblFLZM18wdDIeow0kYloFS4jb5fLg=","q3DJ+Q0bP31kAi6k4ZNXREPySUpodq6A1LnqxCB9axo=","TR0dp47N69lgr3xncVgkfeYpOq7e5mJIOVWaxv4OZJE=","RC1bYBPMjt9pGmJ5hr6S9bRo7lJcgFQf7OXT9fiVSsE=","86TmIi7Ki9G2bbU0FtG1dKwJ9b4JVp+RhLUAt6jzVXo=","SqVmCDWwf6Q81lRbH1/dx9FiJ3VqxwM36dPnMTM44Jc=","guUgoLYtFcjJz+4GSVDaLXS+5jzuKomQ9W4bZ/e+Tac=","6XU49XeDJDxX/lveKnAwbHt0+9vGh5IDdXrFqJkkX94=","GFEO2l9RhXmVWL75h0Ar0drUojg/mEyGntEQauFqlhk=","xuE3HEuNnjs6NRG+Zph6g8ITBn/O/feVgZ//0IKaVCI=","AGHq3GgjRa0YPTcX4d5LtN0ttURXusaCw6BraUsEDwk=","BMukaH7X22rzkpsotaFN2o22M0s0wXyWt2tNxG63JuY=","Q2OA+LmkmNftiIsXAMOL94mS27n+5H9XmgwsCjAynqs=","5UtWrSnFzb6m3SFryJvWUtTEiBfmnqQlSzcUeTHmQvY=","Ew3YwTTgh3jqdaeWWSI6nN4lZt6HjJxYrY0cBHSOq+8=","Zh91quIeuslkmnmvp/OaArHAG0+fqNOefKSXD7Vs5tI=","jXAKpZ95PvEpPIuYcvSJGnCbFyI3oHqOmfIi/Uv1N28=","Gg0K+cHR4OexUR0C/fASS2uS9DkBKagRNMZZB7MXiWU=","vGJZQsdjWp+3c+dekcEaQ8HWd9tJ/lCnIxuw5FVtS/M=","PhcRxy22ZVmgeWBEbWxQvtD35o3/4PSOO3Hj9ocGAqk=","ad5Ve92ByiWvGKbHraFoLUKQMtyr2/JlY+lIt0rJ5h4=","Fv5TFk1+h5ljiCmXFAUVnywoQVOk9+gtPj2KYPHleIA=","dUc2DNGW59dqMQ/OVwjVyasqXcaL81AwhxEUxwUd6k4=","gXB8ZTq4VuZMZRsxZKnoxfKe4AcudL7/1Jg629wf08E=","yIZwHtdw0/wVVrmPlwXtt/cMNSc2GKKjAdPh1Yugzjk=","llmsP1XvLIsQpfMzW74n1OPEqoxQhyE8Gz022v1WyUI=","Et/uKXURlIZpRPT+QYvWA9rYlsCacmpAMh/jGij8i44=","xOJa5H5x/h0BhIDsIjBJSs//55RFdToWQCAnmL9Ara8=","tqpCYSC2jlhqijMOP+62nKHHDVkV+dI13c32Q+70M/U=","1KOuDHF6mi7YTDbmZa+AHkU00/OTguGE/nUAWL7PYO8=","zxoLLwu0jkTfEscYiqpJolufwseDvhtjp64tWMdbKac=","C8++fKoYMlpwX1HGxGWP6PciIZFA8BtFzfZ4pRCJdfg=","GgH393ofDfPoBca94H4imQkirmbwqdXMgNnRG5rNdLI=","hD2EcXZdoXpClhXf+5AcZUMyiqMuPoUz4tyZhyfrc6U=","TpdWutSKDssLFDPR10XZ+490CE3xtsvMbKjRTohr0A0=","47uIplTpcvzB62j+6MUqXipvIVG5EFyib2ZZOnDBjUM=","pfdEdZbmahacSoYmaX22vV9CdBWh7K8cbnPZ3vfod7w=","6MlIVYhQrNT8mn42EAn8yaK6Vs5Oz3MvAapB5KVTcEQ=","DGn8GJgzV4OXrqW0f6WdFmtTrVUCXWmuq27dZGPVBOw=","tFsE3ajR7uKKrI5G50wunNT3koxkFUX7V6BW9kByZQs=","95eKLqA/uprC08Vxv/0Iiv0V0OK8PacX12vnUUH0qh8=","07YKkNLfJ2+U/CktS9Na83qmeluh+116P9Js1lfstBQ=","y104gnsuldNGdFVSRHXO8Ic+MUIuumaaTLfkaWzv/rA=","d4SUDJ8vT6fgZ3lVGL0VB7myTX6xT0n/5reVo9LU+Uo=","qZfpSqhaf8psEVU38KZozOy+8ik5vZ22wZwZOm0IqAE=","u3FF0v8yH/OXtmcS1m5tEirgcCF43YHBcIc9djwSZNg=","xWJ4RQjMo/Z7JHlz5jFFMpQHe6GYGnKet0hUK0WNGuU=","MCPB56tMo9JBsTa/VMaMHNm1C4tRS6r2+2m79ZTMIBI=","q5cmBGg809UvpBuDZkiQcnqJCqdfz4WBrsWbyc1wVCc=","BLxQA6AGcLgDkhPXkt8V03vwQ/apk1/5/8LENTUIX9w=","45+A+JpvpVZ2CACV+9Kcnkf2W1KmpOhRsiIjH8+hlVI=","OC816SnEUT4ULJH4g7vQcfOP6Sq0o8T2/TF6fjqtUxE=","IfnNjskK6UxkCf2GB1pO09bAOcX1ZRc7c03Z2Eb2rsw=","mkv2w88WmDU/ZoeaVlDMPhFZX+J16DpF+sHReHrrZBo=","UFICuDQU3Gtyl8M28/u/CF7ov4fSygJFQIGx8l452GA=","LY9Y1bsVXtHymR/bNUGhyZ3KUrhySx2NQg09LJ3ZA8I=","RUWM2bDoWHmPFKdBJDbsix1mspeeiukwq4fnTU2JHYs=","LzgOETVJ0ToZNXNGzpil7QJGmD0zKQurtnXKKj4vEIk=","xYs3BFcGkL2Wa9kVf0P3AOvEG/SIyTR4we4kauzPY5c=","pDCL242PYqKn4eCvHg8eC9XSqKEh6tRmNqHzXTl2Tq8=","Hxb4d/SLlizmlYPDntdCBrNneglZN6FUYCQjOHkX5aU=","tEkYFAZmw4RYkj+lB/zODYejUfY+94AlD5VNL5u+358=","SaXSQwTHaM7O5W7ZhgyzhRbZUF6FjXTdokcg7cGjVcI=","IP0dU6Ki2hKoBhbZl4tFv2HV9XmFge4sIN8+rOkKUmQ=","6HxyKVyhPcnsqjaW1q9dzf2pnGmriK8PAEeBJqIYF9k=","4X5sFK/ZIul0pQ9gm8OSja5ULveZD49I6tiVDrh9Izk=","z+4fYyX53AVbH87WD0zlOBeChFWWmXWREnSaOnfbLA8=","6zb4MbhCtRQyx1v31Anya24VkGsXDey5vkEpqbfGBDw=","N5+eqd8Y3LdUIajyeAbUNE9b818bz7w7mnU5e7HyEaQ=","UDgg7orUWYRlSlJET7ryFxTB2CSA9IFoPwQeDZdPGM0=","ZjLhRF3CYdq9UrtDg0Co0j6lT1cPIA2CcTsYumZHlIY=","Ib+mtIn6WgHhKFqo+OXYGWaQHv164Z/tuOvY2sX7+ws=","9fD56tmZyOlKqWKZWpbYEoC4RHM7NEFY9AlUotwLhX4=","n50IqQBM9/3QRPjzEPvXz3iYfKmXsOFNDSLZiGoArgA=","R1yoCmJ0cpm9tGvd8EyItaJdzrRevWgdcWqKYjTDaik=","Vkju340nJ6w4GE8u+BkH3dvF8ui10IKfJLDdX+m0QEQ=","eUoEDJIsSoqT5kUe3BV6dMy5dX3KhG9McabmmfJTg1A=","pEJDCf3/jgGsnRQSNbWE1aWAEahYSMIG9oLsPKrk6S4=","CQ8U9g2P80hOZxK307tFWyLNYzuZbefR5qIr4CyPxGY=","pR8ibx/7RT+2PHVzfZfA67T8e8ef07qdZA60zJPIbXo=","8M4cimBygOjGQM/+fL1Rm90OdBn+Cmx0tfTlkSbhXX8=","Xm1sZfAy97YSsoxdAG5eHQJSp/faZEVwkch9q5AAdDg=","4E5DRVZc6JW4Z4VnbYBCfCcTN1YC3ZHYu+8V35wYrxk=","N/pBTNtNRqqcmBYIXO1aU3gDOVN/Owj1bJzxfQu+c0Q=","nlHo9r2PDcz/Y3Kxf45eKdEAr4E9LoOf+i1LOU0Eyd4=","Mgwrr9iasjnBaqH1R87NEBGY1sCX0FTQf3YMffHwpnM=","uom7SLdhftq+JtT4JpDwhC+rBPSlClkjJ3ddeihdy80=","F5NCLtIhIp+Ly7ufLkkk3d2lmgG2UUQ6trAWwoX2eaQ=","JjxMz8ijsmEgLaFjUSwd5wX7CMSg4ESPy1ntu3AJ3Io=","+zyuxIt3VTlUClXAx3emKDfdUVMoUQbVC+GxmwMJVXY=","qT7LMr7PCetNJPCZS4lna/lDyhrNLh8uMxvsdQdmyT0=","W00e6V0hyrg4mTZX0p7/pAHlHs8Av9KvNqltsK2XodI=","xjt0EPnfSK+q++bqZnIZABPZsn93rJhOjCM/f9qf09I=","HhKzYkCg18t9gPCrowyuQ4EyLcvN4CGU/uRN0ISbAVw=","hL+L9QHAuoRT9ffxCHUtvx2ekyEg9Zpft5NX8ZVEP2c=","Vs1HIzUZzVf/np5Jrxd8xjdbSlu6fPb4Db2vfomiKIo=","Y7kNo4zmEZ8tMm9IvGi2IVQO+IafpoSGXUp3zzlfYoA=","+Yw2XCoN33KMEvy30QubiabDZMLPzQ8DtrTgQfCapTI=","+PRsKAAtddYtOdhoFgUiTuHKDkMwWWdCOVdoltFhtu4=","4hmSImctm4brGO/FScpQh77F45ysymfTPkKmHnWD8aw=","09v3tSwryrikTU1hMvY1WHKBAVtEZdywiH1XZE/eG3A=","vQj7UzzLzahSzBai4MBCVZK5ti4JcJOXNAdGNvHpvTM=","x9mGCo6U9tDZs2fdu7OtGBF+97Z0wM5J74KyyNLufsE=","D4DbW9V9vWSDscFTjAPbTEJ84VJ2CXZoCNGKA5kVQAo=","SXTTIm+0h9WJ/BkRyV2Vc9tccEuyd3gif8bWFWzZBUc=","LhPqDf1oPNdgGsAhkNt8ZcXYm2y4xi/xj3pWEtO2c7c=","4T+jksnNQsB/nRhGZgXYO/MyYGsVyidX8pQ7SQMrISU=","hbxXDtdITW6fT4iDdnBz39krkN17NPTxImNOyHaIsQY=","6iMEEVJaq+h6B2q3iHSxswAoNXPU6NKxCdTtivg0CNo=","VjvzCOymUmTOxAq+KnOGqaV/9nPh9L/sYgtNYMIFLRE=","kb54fqBbzORvTnfve5/Inz4AuLFTZi46GXKAB/r73yc=","Swaa0YIv92Lo3n1dL3yEdF3RCgUD7AM962VprAntWB4=","v/dW36Svb1HpUScIJJKK2ivAe91j1ANFzsb4dtVuWsY=","uWtdpDyG8tTZubIQDABKiv1o3F+lx/Jpf0lJbdE+a4c=","KpQywFYauswHqtwjFcdGwk0hJSwDVX1Cd9EF6GG6nu4=","H/PItTfoEhNYeN+wFPM3ASkFp25dX1ks/n8AWJNgYmQ=","wHD0xpysNNH+wNKNp40d73x9OimHjHt4rufUjzQnwO4=","Q2tpU3H/wT6fEKGX7GBaqOxKgMce1jeux+oJGWt1Bi8=","5NIrjzZMZ0nG5RLwjUbmeZwvtJ0SgOaQRSkBy4KtY8o=","XCvO3R8B0koEOShidw7CYFql/Z3KYijzFc8Ctnxm8j8=","OKUfPT/zNJdrQs2ISnO8qmSrLKZJonppxBVmOo4LoZA=","X/SteNTKxI1pgbjYX0PtUBuIcKK2jaRgtT3cEYFOgn0=","p2CGxkq83Z0Hrx6peCFX5PWAeJCRXfqz0dOCPQfw9VY=","gvUZuf4eLgeA/Pi0ONAO2xLaFUo3oBWdzcYcWRVmRRs=","ptNYxOKkBLlOM4YWtQdpfyWdOqNXeNM3/elCWr58vok=","wk+d9WwlPruiWzJ1oTtm1PXwWXw6S0JXxdCjdJfvIdo=","7vS3eLq/Wfx3R1axgM77FIBvS9HH6sYRMtiC31C35y0=","88s8rI0Qs+W40oqpLYMOVuxydu5n0KEIyRszxucw9ms=","qwaLRDncvYYj4XuRMofi6vygPc9gTiUILurqfcwZeCE=","n1i2oaI2v+79BCxDh++TJHWxixD5Kk8lKflTKRsKgV0=","T7S8ZOhOQynAMGmGK8cVlatBoSi9eeiw8AsCOH8Jmjc=","s6TFXuETBNwVYYU6SAxcgTSBMHOTKu5x4wv1twF2FaU=","wfC86WFbIv/ZkhNago2zGxB2PInHrJEft31xqvOMrDQ=","VwsY5Zjs3N7g/En4JwagI/DiZUPHuB9rNxOYcGgOPS0=","139MBbnaawI+/Eajhq5iAk4xkLEhPrqeeeTPCHaGam4=","BD/2hMkOVO2AbnOToMXUtCp1Ou1t2meq1IaMVtCq4Ek=","3Gucl8++u+UNVPuMMbvr0dXS+d6c3lPH7KYye7lD/s8=","5sgZilbYYHeNQxh5K0iKUI+sptskos+ypd6Z3siAmto=","E3TjrESZDkZMdH9dRo62EAeAPDYVum2okaDEsPJT/P4=","HrVVHEwnw4TU2BQzQdvq7UWyGMXmDPRRc4feua+FYsw=","hROp8ILyezkyva/Bj6v2q9+/I5Uh/yzenscwkH9vPNk=","rG7VcJ99k41YNSLWT40B5n5rYLzEEvKCw/xMHRSiyBY=","cBwcGIt6wmRXfTbI1WzXvRbCnSKACTo3jT4Tii2GDfc=","ns/V8AE9HcbAIsOPnsVt6IAf4dZKBin8bEGKBhx1Kro=","xpenAzwwgcvixLjyb4B9rUl6ZOAocc6CeNdVr/oQe2E=","sFXzqRa46kV4oDxDIBQ9GTQZ9Xsr5t7yEQtNQdVv9OQ=","/LZtxL9l76v1kd7vpfQAqYB2oR3w134AkYDaI77yJXM=","m/iLajAP8Jje5V8UAbkNFiSRYKTSXuJY3Rx2DCIwzug=","eVWouTAqJnSxVFtVgeQ6SCYaOhs7djumVCl8sjTHdA0=","mgdF8vLQlugGMjJvrlCXm/ZhOmj2/zQ2q3UQldt8HOQ=","mQGDByuwN6C9MkPQ15Z8kqpOFvJMbPrb+lhFmJWdHrI=","oz/0V+xn4i6dZl7bbCsZ6Aho6xsmQXnVjLEj7BuWJk4=","FozGBeP66j8QLnkc8Kx24qnDcat9MlstIdkE9iFP9UY=","9mNLHieGbaGzhk8ZyzuOTm+JT3YdjWWS2HGQLLE1I1g=","ti8BYN+V21uE4yY/qn1CQ6YUOl2IlPyh7ANQ/BULls4=","mfO4A9XS2zgvpMJs24yXss1KizhwNmeZ5OYLFzLr8n8=","9c4tFtcCC+VY5qU6fBV2X19gL32jOUNcFgDD9ZwvhCM=","oSOsXIG1/bHgC/tcV0zVoHKmqFw2JNzd6Y2C69e2Gh8=","LOj+R5rVdZKw6Y/3wvth5yvR/3Et86OA1EwuQ58s4pQ=","tfteY/HdDsNy89DZOQ8aBupSLJTJ7j6/grDp3zHlG4I=","wEGE3zhTZfO8Z6m39BdptC2rDJbkHsgsZzU2YKzf2y8=","pfuPFOS2bSK6nPHkugOqRLSt7QnS2Jaa4b+XH+qYqZI=","rmIymYZscm3CzDugeKVJAFb2pb7awIdBskrmTgWGCp4=","waMaDZKMh5m4GT729T7xNqpGCM5tKEbxbQl+hCmd9XM=","nP7+QJ3qCZlKZoMA+yGev3bCg+jcVHjCa2E5UggHxQg=","P/sAw/EXXKJcso/JCw5o24i+p/JQglxoq7Mo779J6d0=","aKIZIT9mEXc8xFXKQDV7TQapDYhLjz98YNd9mM2U3DU=","e3eQIH7fdZo81x/xi2Fot2nBwpwZx3vbcUutD+upQFM=","42586jN7+5Mp6PSNBFQSa6fe4+LTYNMaFEDuIb1QDJ8=","OEdq2zsZafJcU1UVt052MHQV8NUYy8IDXMyBP8tStQs=","HyR61iD5ICBDsBLUMuAVDK/ade+yPHHaZN9RYzLjz9M=","qRJsku/LeovtgG0rT53LQeTLDlGcgGnr/pASo/28AwI=","Rc0UnzazAwERk46yYwhONYzKGwpm4dyXHvSPv4ruvmU=","uXniK5Y7ig6JvHBokdhYfH6Mv+BleaiYwbkPU6Zw2aw=","Vc5+b3D9lFyx2stfMHECgGdLoGAM8FB+aP+WnzZW3VQ=","2lt94FfjsArzX1IT9nOWuBUZBMtE42wckICB7H1S5Es=","tiqfEwEymmFYUBG/kkp27L0Em6GY3ozynIupummkSsA=","oAhx8WjNADe7bMHHVXJijYHjm3JH3F82jPYXI6yrEM0=","OU/+FT4CqvU0pKLBkoAsoe9wIoK2kCZNqLRLjy0tOWU=","mDVadRHtJcu5rkcTX4Ev9UzuANZdxPLhwzeYfVGOJ6o=","Pec0truaN6XT9CN1t5Ev4H9S059QToZWKw2UFdyeV8o=","Ipvv4YFdMS7vlTYnIbPOIXVqKiaZRSDKn5hPaSYjG6A=","rz7EZeMf+3qXptE+gackCkp+o3vaakyuwUqF3QanRjg=","mYos88gtFOT6hFd8+qayIRbIl7doM6WHJ8xhO168xdA=","d+5LU3FrGqR3vRrSO4IH5W/fYLjf7M5OyDTU8W6VYPo=","DDcNE1HXYRYYgAexKwxr3kLuJjK9ddDxKW7STqE4104=","L8xemNjtF3Nz9RyaHMZJLeR4+KTDfaClMbjklhk6IYU=","4IfSrhsyAQ4mBRSoakhJiUUEo26TBV601ltFTyPFLls=","g38q0uv6E+G43BZiwSsJC3I1f4ibEilz3P0KYtkoETI=","mIWMc/G3DSbamKj3zbZOvKDnMWfxQPel9cZam2vwPZY=","oCE6OTp9L+wyHtRfBlFi2HchAsN/EGbmx84VEb7Dg/g=","cKLlbMPSsomy3wpIeVx/pWAk7cKMvw501t7lb5HM7wg=","QgS7DnJ5gwyEYy0RhOz97kw4+B7PJVmIN8lSaCF/pRc=","MwFgsuIZBvrtR7JxRPN07dH2avb34nwk8hSzu2sgdSc=","3hWN2U94In08qKKndEJeSOtR4w+kKxQsB6Y6bJSkjRw=","0rDn2uoSWWWMTeaXnXNc26HQrTDqd77KVHhgyQwpWVY=","E++lP7t6hwKJ5MA0IhbihNinRdyDOWtF5jdZnhguK0w=","akaKOxWwP32X5g5YuAeGt1wK9IzRUClPvaseBJmEw9M=","aQ8VWlbpKZXTRBqywbtJA1VWvILFH2vdms2Lztftyx0=","kOkK72BtQJZAPbjv+us77M29cX1RynXU0Er0OLf8C0A=","Ldrq9PvfaVw0Ud+aSh7/Il8iD+YUgwnztP/MjAUudqs=","5xuDmsboj3gykk1MskCCo4T4zXR9SQ2WZFglWrhk/ow=","q2p3HkKGitWSpUzSSbLQu6eBGbe/8lxXBqTAKeSHYAs=","rQo7X5T7+5HYmwnwZ+2+ZfLp1cCcCuwXKwNByLCXUUc=","4nGBLX12G3sl77IjIgYOjTz8Ffxetden6KHRyH/V/Ks=","b0rEHAZh+0x6HRk2dJ60TceIjppVaaObdU2xCopUIbo=","8N1eVlWWgBy6fIHUINRdk2usvu9iTfiCdf7RLegCSTw=","QEiE4IBW+EHhfp1IneC8dPwfC1mkKYbbf3DwzgtyiRQ=","qLZ6WhWslCHNr5UxB5jBW2vEOxt/1ts+iTBib1OQY/w=","YSH3n4ngNURgng4wTKyzM2fB4B3HwyvGwcFSebY51oA=","SK5pacf1uiPTKfS1B5U5iS+qgqOqlr54PcI5Wxv8jP8=","3YqjC8EsRoGZ6wEzjYW6rdeoLEygtXgqcxuiO8YXbR8=","vsR2q2gqC0q5RqWa+vSS93h0klRNJ3UW0TcRZfBsTlw=","jVt8MPrOPLTUBxqNF9HlGCoATRSNKyxGt0RhuRhPj5M=","QUA1TbqUTv6O4FgF1riGGEf1V/DSc4eGNx8qg4EQQkc=","32SVfI7uyt7/d6HXn2YAeZfA1Yeg3xmZAc3u4gyo1aI=","1xGmcFPTw0kRb8fVAVyyWkQgbJAAqksci9OfhHHFQVA=","XJwzYMLyrm/9QBXXoSq5HncuF3meOVrsuWXtN9L/4EQ=","b1xqwMGSrMXEPf42+Ne9gKQvEsBTLmmvEBkDg7Kyz0g=","KZvuNs8X2YiJOjlJIFtvn6E5cOMX3th0zsN06sskznc=","ef0Gc0iin+jMM202yi/6W4nLrsoo3wWnyhd2YsgnXHk=","FQgzPLtCSEysPYcGf2Hutu4mMxN/Q4OCrvBfOsDv+Co=","R5lBr1KQ4cPxDmKh3DDZawp0N5/fIYdcBNZOk34HDNo=","z0JSWmBb74nD6Ztwp5vW/JBx0dD6joae6507opM8nVc=","yujmjhv4Wc0SwTsc6A9uQYSCXoRy2UFtMcLo9RfTiIk=","XOhOjXJXzS1w8GSPeEB4lwuYXZpcdtThJydAXf/kxfo=","V2MECG/2t71zaULeoU+JXnOoyIbkzJivnzeGdJ/i6zY=","3vbb07ovcUEZCfDJFNPoaIobWohMsNP2e50mTEMGZT8=","6lR8X4P16r/NtW7g5PCAqGHGphtt99VJFFDYR0uTn4M=","gpaboNsw8JYqdx1M244HGc0PBWZ0b9wzmeuzh9edJfo=","dziXpNQAprgG/pv/XOFq1U7VefxBngjWpue7SWhzyzM=","9T2CqE49dMBZDsF01CfDoRWtdUFnn9HI+ck3HX9HQgY=","9CZWqm1LIeD72GQCFc4e5Nh23l5QcSUKvts8odW/Zng=","UEzBT4zPuXz9zH7jWQB2x0nSMFgXJTWB2DQ7grKO48E=","WssbfuFvhzQlfPoEZGW3W3jq9Uy1Pa1FhTvF+wS9S3g=","GAj035nyT9i8JRz24fFsGm5BiEmVeqcq1xCcPgAkYis=","VZhAF43jLWUCiiI9volB0hcGKz2XEI3wtKU0n0hD5Oo=","KaRnwwLRGBioeo/m2Cfk4uPLZxWqZXLxjcL2V/mw3e0=","HxgztBxICrHeV7yiwmyzUsPnG0KxjZ6j7LdAmTuFb6I=","lgIxy0OBLQd/ee8V3ATznFGJ/1Hbu8043wZoK4wuFpo=","eZXO0cg53i9IKd5tetTUXhSdphbT/JDh02GVi1uxZck=","dd3aNMq1qLhHmzVSqNw52AOAuh6qbZ3kM8Aof/vstCg=","s2SeJ+A9lAaw22uyNGUNIIA4rp4uqeQaHBemAg96p6E=","YMEKcEj/UO7UG5n4ddF+0vJRGcA8z8Z4bb3nX/9s//4=","1LCnl5nd7I2XxQaA53LYDmJpcECr8ubXsUDXKmyLRsU=","zux/pVxDQP2DrLMxliLJRxcWqf+VrgmcsmCvM45Zems=","ga0cTHjugajMFX3gpvc8NAoj4yGwTn24QMnY1l7cw3k=","ZI0FlWDDDkPLXT5fwdLA/TLumAJQqrjAueSgTb7hnBY=","ROfecUi932LSL5VPJWHc0KLA66w8RGGKcF//DMrmd4c=","l7LK3jNzJCDBeCdxzRI3h8at7Y/z8qD591pmaUeT8TY=","JOZewipkyIl7bNwY0xtDi2JxTLI6Upm4dEZi77nwuGc=","vkaJfWmj1DP67NmaxTVWEVymbfPjv/awEYYWQFU3KUg=","MyjI9P9R1h6mFiKm+S0PuGg410lHSlB2Uk1FK+2ws0Y=","qzZJR2Uo1MfPizpJip4Kku84wNX7MVneP/ficDvYhuI=","fE70QW7TtXCJJ9pUrGC8E58TdKfvqQ7lBirN++gjHX8=","+GLh6JZWRP40rTtl3i5tyhmvLdWJRYEbE2msQ+yqgEo=","gx0TyPBkQ2ZSWYPDZ5xhqNDz7L9KVGnWgczLD3FMKyQ=","yO+WOQDhHnlZzQgjG6IWGv7MRBsqiVDKjfrosAFqtTw=","uC11mHt5xZg/qib/7JcC0RkEyIFndO4f7P6Lfa+RYy8=","EuZQBxDbZBjMOP2T2mOrrUf+BOikeJvhQxzAbkjQ7w4=","2Nf7mP4/oTOIp0ZMoNIiLmw71h4QZWoTdEiJRsQ1/Ok=","KHoEQl0q3pIEzus9IYIXXkjde7odQ0E4Q3UX15+wAAo=","E/urDw1EqL+ExxRBrmETwrCWJ1OrvZ40kPGRKoe1i48=","Mu5L4bgZes79hEIVu2BYVM2aFEv2ASP1l89HzoU0nV4=","ZXe1eyprwOjcZWrMGPjv0EfG/iTHuM1odnHloLdhLb4=","HnEStkA6O6ecU78+x0m+d2MuzlJjZqGgv4pkZ4eqYnM=","canYeTA+AnPbY/FIbsu/bztpg9zBkVgxKshQDqVY8NA=","0PdK93zwumiEijkqAXh0R2sa3l2988Al25ndf22z/1U=","njjy4E5yvjRayMs95P3CBbZqgjw8GhSSa2+JFCWpTmY=","D70XoBrzT9A5iMiDnJE5WVba2tdAyVe94RZ5mGSYWqQ=","0+DlUyUAw9sndp0UulwW8sW3mwTjORdCgOXryJj92Vo=","uC0RWhoeBw2HAiKMAGKvuNgYqbbkFnMaY7k/Bpa6A6k=","JPKYK9MRKml6b6fkNwsyLBXPJFMAIfpM5PC+hayCvYc=","sOx+l4V5NPL6hrdN79iTytgoMmIEv5ZiVDk9azhatzk=","V3CWNXhLKv2YR8plU9k9pgdOUhxFcGNeFYP40F8OWkc=","bnWlAc9T/KQeFrPV/Z4zMqmNd+K22D2de8usHTnlkuc=","gAEecTWNBj3dDVc88/iFmPCV6WxcN5XInFWraNDxP0Q=","a4nBOz8nW+XLAMkLglIBvs5O1+bsnLC3SPiUwz8f1yA=","DrfUBvSCj/ST849SsiHUg+mW2mYnAvJ7J7mhQYL7YPc=","D94rDqwjSyyEVOGH+CCBBSImttfkyzPME8pRe+KHFuY=","kOxe0fa6kNNdMcdU8FPKyeko3GvE3J1Gwp08PToPSB4=","P9HsLVrhzHgBBt8OyJxvCTOQe2PkpWQ49o8dcXBnL8A=","M99+muG3dFejyLxUH4iXZ3BOPTMU5ieDY4xXGOJE12w=","v+0qpiFsium8ePsrLO5Gi38PkTJjIyxPU4E/1OAnFkA=","A7poHHaxUJlkBT8doxqLC/5Fw5/F2Z08zWswuntSPiM=","JmjITwcLGIB7AC5kL5Ull9gt2uF960F3FJ8T5lcnyNE=","KU8viR9KKqVTcmKKzvMzVuD90ltwVHLlUZNSyDu00tk=","G5qbCJDN+OO/df5mqDQpA6fKOZ3zfoZaJ9nkPhQGU9Y=","YmpcxQ3EkaTim/XnrS7/vGM11YrZEpNOJ3iwdmGLNOY=","L5NnYMtGEgGF6p6OMeuWfyPZfljyjxmcVsLaO+aGRd4=","6i8U1K1r2IzVGoJtA5D5Qzr16SpC7YkZfg5xTMoDmmY=","1HWpddrK8iCYF+8+M/D+fWEjGL8jcUaiLH+cOUos+lE=","J8wMmk8ZdpXJuZY5/uf3cgpjPQ8Ck2Rh4MHaVnm/mLE=","rXGnwYqGsFg2nREaHSrbvVth8RS01cyzMNj9nr5UUqg=","ZZMrfQSAYKoDgZofj8TwhuQ9qQIQ6/S3/o/kS/ZRgD0=","kHcyqqSfDnLyMcY+7hYB2+ATJlRkfuLJlN+jb5QLL8A=","7lk98vvZz6pgh6BfHKvUgI3fQ0g2YeqaWhNOiSZ087I=","h/ea8ipeVPuEDWUKjizULwLKSI7EVLSik2SO3ICqZWk=","fnKT7Fc3OJ8xGcDqVoLl5ljIeox/JttE8xkiT3Xo+AA=","8FstleSdEvIk0mAmwxyY/n6HhJgY3nnPWf8FFkTq1Nw=","hRv5TlNgrKLB6IBx10+MIt/O+IwSnWMzp2B6BAVACjI=","9wF1ptIBHDevH3Ax1ogB09NKHgV0QPPC2GPtKeVJzCY=","0y+hGRhcQfS258yWEGvYISHLQvqtAKwB9X2PdXen9HE=","3o134dHRuTz/dI7dXB2RSQNdfkls/DAkZf0yR5h/Ta8=","RerXgJ43Kd8tPxsWUtwAWeLO/eixU6GQvadX6nf7DCE=","vORelmDdqlVhpAgHXTN1LE2wF5fpYzggM5f/6En/Se8=","wfGJa4pmTHDFwiy+mzX7OLmwD2nZ25iqHWISE0SzTfI=","ypohdgebY2IBplERqC3RgYCIU6SvHJtYtY5wvfuraYc=","X14DEqREFSBHWM3TVhtHs2S9S4K3BFLAe3q+hBBJtWc=","2Eg/AGWAdVADKzbe/W2OMvE3huQghoKS+C1cPBChLek=","h3mSxl1277E0R060Q4hwuGZenoTE20VKHxVpPczDHT8=","in6f6wMvF0nq5JUGOugCjhIwIOTBlIv5bVB4wlVsPOc=","rS6G/GQucUlWeHTHgpeR+kgBMzpjJnxnCq+vLzCfRIQ=","X9D6cP5RCW15BzJD14zb6h8PcByuhJxw4XMIquTnNYg=","MmEiWs5zdPq7LqRs+1/OdIpXqEJuYHlqRQ5X2ERp+00=","OXYCLeNLMYibxOx5GTvmBsWUqbeRDHRVOOb5+CIHP8I=","veiRBbdl19HG4l8pu0Z+xkK3HCl/jbTVFQMFdfVsDj4=","4GQWFcfVwP2/xp+WK6akv0Luq66cpJZ1k0pvRFr2T28=","U3fspcd4bN+1TNYvnAsnffL13J3DY+GsM/mXBZD1xOg=","NFYe6fB92VJ6Bh9TCqaTsGmQyW9NqG0125HJPgp+V6E=","pRzCp2Z1vtHJjepG5tF5+7k8DC0LdaTm9qaFMc8awOA=","VPERsHplCgOm1d4Tvx6WkD7+7MR+tj2ByivIKX2Y8Co=","R0puTeZD7PboTlXAwAH24N82tK9XiBKYy2OjOcuYgyg=","Pk0FbFLJ+xMmeluhHmS3241qiOT3DdDnu8ybrNRwqPI=","Z2p44cBoqe/snSLa4BzkKePW/DJdBXzn4ZFqRJUwLr4=","365UPnrBjlvcwiJ7IDndHr/RiUiw2Ffip26syECMCWc=","Y11xq0tVXS3Ue1Sc0OMGO8720TZkVtBjjyOBETuugpc=","mjGXQieUQX0CVRfpAhJ0FUUcQ5CuQFvW9aG8bPLUDKw=","og4BFOjUesI4fpUKemOXMzbNXwFF4HqIFmGEq8yJDaw=","Kpno6nuMlcbRDg37hqks+vgjgajOw339le59AIOPYyc=","bnS9I7u7KWKcxbQYLAnAMFgm5tfDQkNCyeIOIx8pisY=","MNspN4+12wWprtyb0ziyV7xBBCPLOExHGoOPlOZOqjc=","XRH3+4xuEKekRb+JdWqcllDhd8QILgwx7IfXcMdj+Hc=","AEKrOR2a8CtDVvcVMMAdeWGqltif3b0D/1ecf/66f58=","+7Oh6ktygrpUonlOhWKI1CmAfd9s7xBmYDiIU+7kkIs=","MTTL/mvrZORi1gWOK/MtIJJseRpozYzhg9fsKxI4o20=","JPbWCnwjpELGoAxQ7l7lySO6djQeiI3tS936TqUKp1Y=","EBJEMO0/YCYRFvHdYLFIBLhq/3RhOazAHYQ0otXBLdk=","AZpKOBu3Cc7U09BR8Dl5WUp0/L/N2SQkIZ/7wUaVxV0=","2mb4DjT/s9SqlaT+wFmvyR1tpVVFVHm30gAV7hc2KWA=","kJcIT4BKbHD6kQBL76dz+uKlE3UEuP6J654GpQ7YiC0=","z6ivwoMmglf0Ru1Hondrtf/KP3Lui+mlAjP/iUtZL/U=","ISIJ/pK433zjlUNVwzo/6LPkoz8YL4b6oeT4vh6yWhw=","EkxuprFSP9K4ZOtv93a8mltYsc795qXwvGiM8iXbSI0=","PyNQvIsPxYgv0XLpNWfvoCwQDHpLWaNlFR70A9BBoI4=","NAQra+5BgYhuXvGKTWoNX97/Iu9yIo9liSj2kTaycpc=","M+YPbK80RFgvZ+7Qj+daOKHPFBaa12KsAb2v71QTRto=","aDDoTEAY1l80BHVX9fsw4XzIoCuMylCwJrblZdcc/uc=","0dey9Rp78yJDsrOin1neZKmJ9qXvKGgmfGUFS9D5IpE=","YeJMCOZ+7zDyyVm0AMOI/YBSaaaTgPbDEqt1Pkfr9UU=","dd86FCF2qFTHSXkEZxkT8o/xvtXFmLCT7luwkXHmOHQ=","Pys5lj7Uz8UImi+H9/9rUsnYG6BFaW16i7RfC8EoHkQ=","TbuL6SGGV+958qL2snWIQ0+j4Nqr+22bSWg/BZOZS2M=","NZMPnH2qxzBQjx3gM6sw/lfTsCvCnIO3Jnat5cSy3io=","JsXP3sCQoInPGIBigq8VrirvG9XpVic0NDGdwj9wZTI=","FbwFefUS0Ty0tsUubEKONIsM69wBO3QLv8fM+kcj038=","D2G91fvYUZCKSBAvS9BIBWjC65dlI/ZyY9C0RDO13hw=","2rr3sBAymZWVc5ob23SI3uU0D+wJZNGTrLhqjKkwEy4=","5xVhYnUOY95RDHMqlw2K0dbaCM1YcFpkpyLrLAqQ9+4=","8fRIntx8FfnbGW8VjqmaZY0YckA+i1h0yFHhuv9/IJw=","UFnWUoPldQGBkv9sHUdDaIDOuL8K5B9o4HdxkfIKXP0=","pF7+MZRw39UgMEjSvquO4A44hECcAjz+yahE5TUDAqM=","Gcmw4rHqU7eG5G1E1yLrNjuie1cnQBHxZ4DKFzLtwBc=","AF85lF9QEoj2pr0MMG6vonHSIagXz5tgN3EFaUUW2rI=","XbOXmsyL96zmxDgHsIAazs+gm4NSa5zi44nmsAqPstU=","Mh4rZjDc2GRuOJU1euNYLkIuMzDbE2Fc0YW+GZe4nJk=","OyA1ZaZcRMioz2hql/05BNwbqA8R83JKV9AZheOcmLA=","QpjgrR01RPaocpuQY/FaFqPYditHpH4bN5yQk3XDMsg=","oOk+vJUocLHecB0u61L+GSAE2zsZOT2xWwd6lsxk/OM=","7TE0fIH5FThQN4jgE6muU0uy+QyJ5seDV/bMtEP0uxI=","9aYouDGLOwoO5PCVlSJ1OKEI6d3DDoXgWVxpcy1xmu0=","Y+XAdiL2mSen5VvbkIu91bObqXv1clx+ZuPcT7JiqAQ=","nUQLVIb353qTp7jU7tAF/rxMg96NeNUn8TZgFz2zR34=","UZiS2FozgfME2PNFjFUVcMf5EDayqjJrG2S4G5BhqcQ=","3ZB/843I0a+j/IOe2BatnJSO3NGYd+V4QU+2m4Q70UI=","ZAbvMUM275wHFS0PccCbSL5fLcUdsxDJP1kZdiR/VM8=","Ql50RQbPwtT5E5QXaE2jYd1tNTTFWlHB+0OF5znBy5k=","wcevD+EipPcH5Tc7Jkw5yIYF2R1seHEE3MOZUWF0MM0=","4qkM++6gPY1sGD3dHGDQ9mK09TMBn95EKVVWTprmc1U=","O7BIueQQJd77UCiTi5VaXNvVjPjc9/i5mdZ0Cm4B+DE=","JP50tiB9uDZmZTK0BX655f0G+HRYFbZja7UQBej1kN0=","jg/co6g/hlFLlDuRXWz3+nR3BJndK9PNmLCxMOIDt/A=","nY6G92LOXbiVNaql/vAr07+4T+0b7D+bTJO+XpSapY8=","0X4W13u8pI0VOCmClVaKbD78HJbyEojKOg0PNqTo+JU=","9wrPVeRkm2vgIRmnFTTslBc03PbNwoN3H1+dSRGtOk0=","m8nktysyhcOSMWNqKflMZitQhVgMui8ifHDd8WR0MSk=","VEoz4inTCTSCbAkeDQH8G8tm6Ykq5mQhRj/a6OW2IlQ=","PoGYMCOEZNhU2BFu7+GV7NO1/dl8xkkn4X9inQmMx6U=","znlbe5D2JFRHEgp8arCBBBnFT+TL5Gh193K8UqGj/ds=","qv1Mik3WHtDXvfNi59wh2MrXZ1IYY7ztVgUAy8cAWWA=","DjpvbeovwO7lQlr+SeYKzRetcmeqG0r8cZD/9+egeBQ=","VRFAZ13VNULCeqhn8VbRoVrtPwaWmoM78QP7b+5w4xo=","FMfYvsq03ZhoXnQFU0gPuiSJ7vLImqbEPKBW6gqsF/k=","YlefabCrvGHvCvfIVe3MXJb+jRM35TGm+rH2cy94l/w=","qn+0iBe4gOvzxow2aqaDAju9VonzIticbH6s1hhp0Gg=","kqU6l8IXySgy7z1EotV3BLUm2u2gPZ/B4K3b9bvWaBE=","X33AMoSrtAEddVF0qWeGqSPK/p5ACIHJcTPXntoKwN8=","+VByK3K8YS3oTA5xAOKDyV7tHb/5GB0Mvz3P1I1R8jk=","GbTdQAy7gOtydxoQmEW4pXY6a++paoSOMY8uSDAggRE=","IiRPDiBVp9E2vdqUlyt4/sPOW/QlN/NLtQfam9eeDTo=","zFnyzy8qZzdU5QT8ivIR7JrCUx5jotNHUhQW8eCCS5U=","HDt4V8DuGZf3ocR9IUGLE9KOT/efTWtxzndrvfT2uxI=","gHPHOWinQnbe6CbXdL9og4655r05BgRRISZtdGn7ixQ=","BLcie1Ks18B8dUSR/3UIZbGbI80X/HYzh3zLwhHJpKg=","dPteRvuxlhNQc6Ou/ilNFsQgkDye85UeotTFkOs/L2c=","FTIS6f7o5pzCH4SiufUMI/YpqA5h6rlTCKBnn6Wmc/E=","i8ag3tnJp7NsTgAANTa22q7QuIwJvCX3HclHG+JhJE4=","3zZN6lD8hvdHJYKQD3nq9StE9XuuTt09ACBz0dDQjOw=","+IHzS++PVdrJ6BjdICmuVgUJfKSOjvc2QklbT0YEtMw=","vnny7GgdZTBsF0Ng6+v0SatQVDt/r59Rf+Hotwff66g=","pJ9BTGVlu8//U4SoOLUdiwYBlZ0IAwdpeN/3fI0kzn0=","IvO8ZA75kNev2NIwxcJEtZh/jVleC02cN5gUibbiKkg=","rkW0CakhA93HNXngKpdUvt+8bEWJcKa1lzZAHvMa/u4=","AyKqyI81uY5v9KRyALxVlAgrLB98JBrs+aOuf9UPcb4=","2bo576+9ehZCSODl6Vphrj8Zl3nelz2KexrfZctrEZw=","+iBxNtkzVnIlMU2ltNiKd25/wWRO23CcGAyUVZoUEJE=","O0RCDVZZ0iLSzj1C3Zqtsq4Uhz9n7X7/9+JWhb3pizs=","277nu/ZD9d6FEINnDzh5BKQ+3ARbOrbpmm+Ugo4EN2Y=","2Bbfvql495Em4OXQpT0ZmeksBaVdoqlAphNdbJhmmII=","pDondDzPzaYiHI8IevYevpkWhexnyaUX8YPBsE+wffQ=","BxbfQODU+5VvPGuVvfdBM+i/6uG5oWO/aq12gucHTPY="],"block_size":4096,"path":"contentScripts.bundle.js"},{"block_hashes":["uxVUH/VVjJzf2K/3V4bLdDx3r8zoLKBvtqUHOszbE0c=","yYWLi7fgK63Oxt4RWNYFQLdulH5Baq4I5Hgd62uTJ30=","u2xTdCZGMLa99NIF5Dp7X050BqH8NucmUZ5M/W9f2c0=","fkRiPHHdlo199orkhwr0wAKd4of2bV5TC/t1yJJ5M6M=","UrhZBzDbzqZIEDpmL25teKnropNJqqiQFfFGcrd16hc=","fSPoTcCTOua3fRTz6YeT0MU+nFi0Op7nhung8CjBQNM=","TqGWo/wQVUhbSp/0gKcILnApaA58nnOuq6jP9h3R8So=","VtHeCEYOwiZFy0gLilEbFL3umi5tpxoK2GATRoWBBWE=","KbZ1wOibhgbE/Qn0U/axnmxVrc8dX3duU5ve//W/kJQ=","kpgiIQRX/zOgBNF/tlgcwPSLjnF+KopGSNQiAS80y2g=","bmkn5bs1DXO6WCtQwLzeKtFSQyMYHA6XPfxx5nHnv4c=","+jzfFetKSWl8akUcKogRtkz1tBT0Muk7Ww+4KMwNqsk=","VOTdtAwvtZzFI4hD3kgGmzM2BTxhzs9u3qFKxdt3j7M=","tG2jnm52h01BQsaGwNWuCKFOnDPJp0QU5tTU2JKOy/g=","ygkBJUUxy9Yzw4V0d0d8DXGeGEwC0j99MCbohHLxMW8=","vmxrO1I9yYQ6SMP82uFUN183vz9PL+TM59SdjYMqyUY=","CMHb7FipftqRATOw1p6BlPyeDybChNqkY8SruF2y+mI=","b82b4idJu74V1cyyS/MlE0hv4en3FukOgSgTgwih1ts=","SCon4/iOJdVxfGS2azPRXf7/hX7EK4UG9XWZMVgpDac=","BKGDirmednGTIPQxr1LIeMfghB4A7OK/AQnG/RyUDBk=","V4mARwPXtzUb8nKdxYCSmObJBASDY2vxXJe+97B+ziw=","1l5wqxd8/OWmokq1HhmhbVp905a3vohtzyQWZ/LyXLo=","5V2C3Cq7MK8YNx6DragSzDrm5SO1K6uDwfrP4ui3f4M=","ipCpBC36cYt0c3GgE3gePP6GrJMUr2d+5UfeRgTNGAQ=","XJYcACah9LkEGta8Ksz4cJPdoKlpf7vYarVA0mhCLbQ=","VO5/31muz+OwcNDqMLOKLuNtmK/L7DPGvPM9VQgn5LA=","zMA6JebdlGSnM6K08+rzjFzdM6USKWTxWs+10gNyurM=","6EiIMirKppbV88qK9lCHwB0egOTn53SDY4ANI75Ye9w=","jh6dKupVVYGQCH4rLq3+Ymy3t8EZu04kWwCJZ8WSal0=","YWGtc7fF+VgWBglMsbt9ykGb+zDHEJffMVz75zwyNDg=","WzQRf4lIMuoB6M7m5PMRrfSpnGcgVGoCjXD0gLeEqkc=","yZ0AndE8b6a3ysHx479bWukHgzhjOcbeZE7sd326XEM=","Ep+WGv0EmsBHl3zpwJ3VJsGI7NMsYYz19eZyz/7HIhM=","ELGP/T5xg7LYuAWOKaDgdalqNNbcxjxlu4wl4UMxnDc=","ZcGQkBeus97QDG+enTAAau/Cx7Xmc4sC27rXtNLWTbs=","+kRAENDxFMBt7YbkuhG93651YvpSIwYzQKH5W9PYNAY=","ZRdEOuhl59O5J3YpINI3p6G4NTE2xhbXev+XHBcqwSE=","DIVOheoKT5TvTCGy8FzH9YvdwzcPHX+bnsraBf+P8UY=","q24xtRXuB4Cack/w8S4gABsHQlSWAAV9C7hNbFy1B3o=","o/mH41A9Dhqsx3BSLPYZLAwlW81Pz1GmRk/2PYUxl14=","pVA+lnTVBsTDnJlcUxTK4doZBwP1Kvw2FmIEkY9kk/w=","nObKQRh54uiy6w5vqXhjg6U2ctV3pkxFOgD1E627bR0=","/FnKzVZv4Useh5QxOmyZlzpYKqnGDi5k80oRTpK1cqI=","pWitMr+IjDY95vh4mQElyHGUigkVmmtAMx4Rd7qd5MU=","4THRi3QqtzkPSvAXlEJMLXJSlqMjc3aw6BTzhBsA7DM=","19/5LiCWJxVciYsLdxrwcODA0eBR2Zh91tZl7A2QkPk=","8f2BL0O6fGgxTpANAT9s4Wss+7qaAZnuBHhxMR5ghm0=","swGF4vydDeZ6t7z0qpjhHOqEdyown1fI7PaTovkXi/Q=","n6nRzOY7xQ7HR/Ot72P7CE3GBcKAB5kURNZE1Ug6F/E=","FmQ+Bf2w6jkHSBBRPAfigpo4Rl3PfdL1GYVpTTFTS18=","IRiRTmQUbFNApCO5p0P7Nj//2PyuFKn6jU+ERZeJQs8=","azcdMUTvh8OkbYekciZmyzzJ375y2kFU+Kb2Ny7tMnU=","5z8zaD1yAJ3XKVlUdCpW7qmCmgMYIHL4RpmHvAn3mCM=","tHkYrYMxFo40qtqWRuS39/tElLrsVJvmflCKbDarADI=","ISjWBfOlwoJIAwibZEIA+Fhyb5Qp58sYRcmOHYfAApU=","/sIg0C62aDLgYoUctrYY1jTWcX3aD5Mr15LX+o2MGQM=","Prqz32OlTtz8ZKbBM41qrkF0b+a+GVSrcBqmM9fFKHQ=","1N7soLm8AdHxZesjNYDnpz5cHWnKN2LBBMhY9/veWSc=","tx1B5ynO5VGBZxFTjE5Zf499p/amuhf5O2grR3BkdoU=","Sq+QtLlLLWO/6/gu1g3T42hf4K94nzDOV/1UBo2ShR4=","HNGw8WMbcMUJ13TJ6mAslv6P3abAlI0ksqTv3CD8zoI=","5JtgJoBDZ9Wiab+/kF8pX6/ahJH9MgU5yCIEINrdG9A=","tBtbgsUuhTKLURyDWRiNfsGflfg0+WTJS9cdkF78O44=","BpDz6tgv8DAi90XK+c+uETAigvTQ5EWgiJC1J3PYz4Q=","5/ZvimZMx/W416kNXNa4YW3jyhfemf5pBsue5rRXLes=","wuyZVc9N9k3OFRxDAbDS6kJUrP+72Dbk6XTESFybgRg=","XAAGTeETrRZlkOx7gyZaJh51Xgm9aLP8N9j1dVYRFAI=","+vUxF22uAgDi3U+NjT/BPM0api8IvWR8NnnN1omHBRQ=","DBw/uI4yB8P1TN5BCLpBhHAlHXTgZSmowVjFu83WS7I=","ZPWCNuBK6FX8G1n3yGw7UrYiWQmbnpX6l2RHZgzkEl4=","DrTZQYEmKo1zLjpSHIkOYAtILz4CFcEjcwT+v3mtyU8=","RUWFBULL/goUZ17fMqGx24b7F9TUAQvxWoq6QcNwWic=","8cid5J9MjUgSpX2aP0TrI3k+MRDcA1Ru1iin6I71qEU=","WX6TDyZ1FzTP6NmwyFtDzqoELyNavHrGIvWUbmkZq40=","QJoHXK9UO/O66QlJt8oKwPm30uZO4RizCvC1ItScrkM=","v+2LfQYiE+s//VIjV13XCPI2aimmBOA/zoto1BYgj08=","R32Qpw0/MhgeDjn3yh4SVEPVBjRfnWfP3fm9X6zRUmw=","IuY78e9XX7mBX1EXZlmAHbPaCpiu00Xj0C7FmXo3BD8=","M01K7km6z7qTKCMGpVYHQf1/M80mNoEynmhsAepsNY4=","sfVgSZW48oH6XLL8UOXvyVm1q+I61GNBoFhlLiW6fww=","FduP+GyjQxr+NYLFVTgLKYPcl6btexQ10l0WA1dfuY0=","kTBSnIvhbA/gp5v0NZ9Wx3Fmy15+5eYrzqNorqqsBkA=","4xQcPlI4+5GKHeZVrOv3CxBVt/TOkouMzKUQ8I+x8rw=","mHCRmGi7tihrpGx8bwF2h6i3lbKKw2ehCsL/U2EaPwM=","kLAbFuqoUqbYMUxvZPpoVAHp5WByVfVvp7lnAwwpv4c=","NowNzlPexXULDCjlLoN5pJfe20bEXBuQbsLArt2MXvE=","5+XKDG4FzECa2ouh4XEjghZi+0ee+lFIH2wRFHZoCZs=","5UbsbGHhTYrUa+3jLoB7RDS1BVUNabQat4lNIEDkMK4=","pR1TneooXwWscvP8XRtQsms3f02KH+76STaNtcToXDc=","v4fA3py/TJgHICFUAfMBJhAbO/1TiJf62w+NQJNwYP0=","o1/9MPLw0s9N6yAStbe9bPVPy0wGxzmcCvEtvLR9j8o=","o7vXlu0o7+3ycnTyC+NkfvqhDMeeFUWDIv6Fv6LRRaQ=","93REzxB6iGrNjm0qrdkVj47mxH+vGfnDOI7vWuehiWg=","EcsV9oyyY8CGwiMoVzzhRJD1J3bu26Nte8CzcDNAoYA=","hsNYchSqfeLXd8BAgNrhgulMAmkyrwGnHobzwsRJCvo=","MWnlq3/gvZJov2MGzJUaVVu2ga+LmHmG5jzQ4d/7jL4=","eCit2FYjIzg0ZaP6DL05d33udy7OITp1K9xNCjmtfMg=","p65CRE9PReHO+P1SISrTwXAXf9yvb0QCRvvIS7iXILc=","Sp9Bd04Pzk5Y6l0RR8t7CQYMEY7PWaXvmKKx2Rat1+Y=","aRj6IY3YJNsm/jGhjtbUH0Fs0PNilFlTp9ydzOTKs9M=","G/6dYUPv81sCjs81GDdMfF1/MPDpb19ENd0Kr3oBFN8=","Prpt0sBnNuYC6PNvp0RbJsvpacfqM59umbBzNQA9Fa4=","TV8qP0JC7v/7B9eRkWQwg7y/+4P/39edA7l9R+253+g=","5CWyms2h9lfSK/RJLr5S1xfwUkVh3mIFHtProqsHjy0=","gBP4ExYzkSYHWaicJFEeqBptIyLClkOWqfwGSlHjvKA=","m50Qnfh+TOu7484lSPOH3PvUA8v3z2LVPkGG2JTMDRw=","y32IAdweTg3LGS1UBujePYuFgSCYTxS2EheW0dZUzC0=","GDW835Jzx33chhbo/plnDeADADwVKn0/A1UUNrLgRmk=","pU44eunEnIprb9pQQUJyybSX8TsYlMg67pxED908xdE=","47n+Z/qJk1zstry9dFc9vIK8lFUSgS47m+zsc17y1iw=","OcLm2CyhxFk8QVgqFpz6maKbqZ/KX9cHv6GF/PobYac=","mnICrxMR1bLOWlQdhrVeuy2YMDCpgL/40WXK1dAO5cI=","j6nIz41O3fKaoa05Y5gWPZ3mjpxoBaPyi7dAMtvF0Xk=","0Kg0iAEaB0O2D7pO+CFt8Pv8aR4WNR4rOb1FXv6gU/U=","nWT1pi8z5GrcIRADgHlDw0rW7JXZE279C7qsk8ZfgMQ=","u/b96kYwT6K4knTgOr1eZEKGdEmXgTTTiimys0gPRSM=","WeJPAdX/YXjlPJC8D7B2E1bxyn7eo++p4EJdM2U5IeI=","fwcJHMV2t1vTAUGUfNAaWP3xnZ/iJ+WPOL+tEBsIe5w=","HECt1037x+MpzyEGBdSnlwLSZsI7TD8Nu6zx/6geN64=","7OofBy0b8vpBY7N8m0a6StnNg4lsc750YGwSaOB/k2U=","jE0jq9aEPc19tNcUumlZMsc3+nqKFeQ3nfJy44F3Ayo=","yVcfr0gsy2uAlrqp3kkbzpnjLRnNdoe+mqOpBFHIduY=","JSI8bMojEPLdHyrxnOnFrol3vqRQPb6BWBTc9DV5cyw=","9Ib74NEn51eoT8758GdOj0z8AFuDrXLtc1VDBGekgWU=","dGMvZJ7BbIRv2JHxgqT2Joa5CDH3WuMd31HmV65fo9g=","oVKRHrxT79W5OtLwxW/+aIF/D1yXIzS+HIFn6T5F1LU=","agFXVoiKHiA6gCblFLZM18wdDIeow0kYloFS4jb5fLg=","q3DJ+Q0bP31kAi6k4ZNXREPySUpodq6A1LnqxCB9axo=","TR0dp47N69lgr3xncVgkfeYpOq7e5mJIOVWaxv4OZJE=","RC1bYBPMjt9pGmJ5hr6S9bRo7lJcgFQf7OXT9fiVSsE=","86TmIi7Ki9G2bbU0FtG1dKwJ9b4JVp+RhLUAt6jzVXo=","SqVmCDWwf6Q81lRbH1/dx9FiJ3VqxwM36dPnMTM44Jc=","guUgoLYtFcjJz+4GSVDaLXS+5jzuKomQ9W4bZ/e+Tac=","6XU49XeDJDxX/lveKnAwbHt0+9vGh5IDdXrFqJkkX94=","GFEO2l9RhXmVWL75h0Ar0drUojg/mEyGntEQauFqlhk=","xuE3HEuNnjs6NRG+Zph6g8ITBn/O/feVgZ//0IKaVCI=","AGHq3GgjRa0YPTcX4d5LtN0ttURXusaCw6BraUsEDwk=","BMukaH7X22rzkpsotaFN2o22M0s0wXyWt2tNxG63JuY=","Q2OA+LmkmNftiIsXAMOL94mS27n+5H9XmgwsCjAynqs=","5UtWrSnFzb6m3SFryJvWUtTEiBfmnqQlSzcUeTHmQvY=","Ew3YwTTgh3jqdaeWWSI6nN4lZt6HjJxYrY0cBHSOq+8=","Zh91quIeuslkmnmvp/OaArHAG0+fqNOefKSXD7Vs5tI=","jXAKpZ95PvEpPIuYcvSJGnCbFyI3oHqOmfIi/Uv1N28=","Gg0K+cHR4OexUR0C/fASS2uS9DkBKagRNMZZB7MXiWU=","vGJZQsdjWp+3c+dekcEaQ8HWd9tJ/lCnIxuw5FVtS/M=","PhcRxy22ZVmgeWBEbWxQvtD35o3/4PSOO3Hj9ocGAqk=","ad5Ve92ByiWvGKbHraFoLUKQMtyr2/JlY+lIt0rJ5h4=","Fv5TFk1+h5ljiCmXFAUVnywoQVOk9+gtPj2KYPHleIA=","dUc2DNGW59dqMQ/OVwjVyasqXcaL81AwhxEUxwUd6k4=","gXB8ZTq4VuZMZRsxZKnoxfKe4AcudL7/1Jg629wf08E=","yIZwHtdw0/wVVrmPlwXtt/cMNSc2GKKjAdPh1Yugzjk=","llmsP1XvLIsQpfMzW74n1OPEqoxQhyE8Gz022v1WyUI=","Et/uKXURlIZpRPT+QYvWA9rYlsCacmpAMh/jGij8i44=","xOJa5H5x/h0BhIDsIjBJSs//55RFdToWQCAnmL9Ara8=","tqpCYSC2jlhqijMOP+62nKHHDVkV+dI13c32Q+70M/U=","1KOuDHF6mi7YTDbmZa+AHkU00/OTguGE/nUAWL7PYO8=","zxoLLwu0jkTfEscYiqpJolufwseDvhtjp64tWMdbKac=","C8++fKoYMlpwX1HGxGWP6PciIZFA8BtFzfZ4pRCJdfg=","GgH393ofDfPoBca94H4imQkirmbwqdXMgNnRG5rNdLI=","hD2EcXZdoXpClhXf+5AcZUMyiqMuPoUz4tyZhyfrc6U=","TpdWutSKDssLFDPR10XZ+490CE3xtsvMbKjRTohr0A0=","47uIplTpcvzB62j+6MUqXipvIVG5EFyib2ZZOnDBjUM=","pfdEdZbmahacSoYmaX22vV9CdBWh7K8cbnPZ3vfod7w=","6MlIVYhQrNT8mn42EAn8yaK6Vs5Oz3MvAapB5KVTcEQ=","DGn8GJgzV4OXrqW0f6WdFmtTrVUCXWmuq27dZGPVBOw=","tFsE3ajR7uKKrI5G50wunNT3koxkFUX7V6BW9kByZQs=","95eKLqA/uprC08Vxv/0Iiv0V0OK8PacX12vnUUH0qh8=","07YKkNLfJ2+U/CktS9Na83qmeluh+116P9Js1lfstBQ=","y104gnsuldNGdFVSRHXO8Ic+MUIuumaaTLfkaWzv/rA=","d4SUDJ8vT6fgZ3lVGL0VB7myTX6xT0n/5reVo9LU+Uo=","qZfpSqhaf8psEVU38KZozOy+8ik5vZ22wZwZOm0IqAE=","u3FF0v8yH/OXtmcS1m5tEirgcCF43YHBcIc9djwSZNg=","xWJ4RQjMo/Z7JHlz5jFFMpQHe6GYGnKet0hUK0WNGuU=","MCPB56tMo9JBsTa/VMaMHNm1C4tRS6r2+2m79ZTMIBI=","q5cmBGg809UvpBuDZkiQcnqJCqdfz4WBrsWbyc1wVCc=","BLxQA6AGcLgDkhPXkt8V03vwQ/apk1/5/8LENTUIX9w=","45+A+JpvpVZ2CACV+9Kcnkf2W1KmpOhRsiIjH8+hlVI=","OC816SnEUT4ULJH4g7vQcfOP6Sq0o8T2/TF6fjqtUxE=","IfnNjskK6UxkCf2GB1pO09bAOcX1ZRc7c03Z2Eb2rsw=","mkv2w88WmDU/ZoeaVlDMPhFZX+J16DpF+sHReHrrZBo=","UFICuDQU3Gtyl8M28/u/CF7ov4fSygJFQIGx8l452GA=","LY9Y1bsVXtHymR/bNUGhyZ3KUrhySx2NQg09LJ3ZA8I=","RUWM2bDoWHmPFKdBJDbsix1mspeeiukwq4fnTU2JHYs=","LzgOETVJ0ToZNXNGzpil7QJGmD0zKQurtnXKKj4vEIk=","xYs3BFcGkL2Wa9kVf0P3AOvEG/SIyTR4we4kauzPY5c=","pDCL242PYqKn4eCvHg8eC9XSqKEh6tRmNqHzXTl2Tq8=","Hxb4d/SLlizmlYPDntdCBrNneglZN6FUYCQjOHkX5aU=","tEkYFAZmw4RYkj+lB/zODYejUfY+94AlD5VNL5u+358=","SaXSQwTHaM7O5W7ZhgyzhRbZUF6FjXTdokcg7cGjVcI=","IP0dU6Ki2hKoBhbZl4tFv2HV9XmFge4sIN8+rOkKUmQ=","6HxyKVyhPcnsqjaW1q9dzf2pnGmriK8PAEeBJqIYF9k=","4X5sFK/ZIul0pQ9gm8OSja5ULveZD49I6tiVDrh9Izk=","z+4fYyX53AVbH87WD0zlOBeChFWWmXWREnSaOnfbLA8=","6zb4MbhCtRQyx1v31Anya24VkGsXDey5vkEpqbfGBDw=","N5+eqd8Y3LdUIajyeAbUNE9b818bz7w7mnU5e7HyEaQ=","UDgg7orUWYRlSlJET7ryFxTB2CSA9IFoPwQeDZdPGM0=","ZjLhRF3CYdq9UrtDg0Co0j6lT1cPIA2CcTsYumZHlIY=","Ib+mtIn6WgHhKFqo+OXYGWaQHv164Z/tuOvY2sX7+ws=","9fD56tmZyOlKqWKZWpbYEoC4RHM7NEFY9AlUotwLhX4=","n50IqQBM9/3QRPjzEPvXz3iYfKmXsOFNDSLZiGoArgA=","R1yoCmJ0cpm9tGvd8EyItaJdzrRevWgdcWqKYjTDaik=","Vkju340nJ6w4GE8u+BkH3dvF8ui10IKfJLDdX+m0QEQ=","eUoEDJIsSoqT5kUe3BV6dMy5dX3KhG9McabmmfJTg1A=","pEJDCf3/jgGsnRQSNbWE1aWAEahYSMIG9oLsPKrk6S4=","CQ8U9g2P80hOZxK307tFWyLNYzuZbefR5qIr4CyPxGY=","pR8ibx/7RT+2PHVzfZfA67T8e8ef07qdZA60zJPIbXo=","8M4cimBygOjGQM/+fL1Rm90OdBn+Cmx0tfTlkSbhXX8=","Xm1sZfAy97YSsoxdAG5eHQJSp/faZEVwkch9q5AAdDg=","4E5DRVZc6JW4Z4VnbYBCfCcTN1YC3ZHYu+8V35wYrxk=","N/pBTNtNRqqcmBYIXO1aU3gDOVN/Owj1bJzxfQu+c0Q=","nlHo9r2PDcz/Y3Kxf45eKdEAr4E9LoOf+i1LOU0Eyd4=","Mgwrr9iasjnBaqH1R87NEBGY1sCX0FTQf3YMffHwpnM=","uom7SLdhftq+JtT4JpDwhC+rBPSlClkjJ3ddeihdy80=","F5NCLtIhIp+Ly7ufLkkk3d2lmgG2UUQ6trAWwoX2eaQ=","JjxMz8ijsmEgLaFjUSwd5wX7CMSg4ESPy1ntu3AJ3Io=","+zyuxIt3VTlUClXAx3emKDfdUVMoUQbVC+GxmwMJVXY=","qT7LMr7PCetNJPCZS4lna/lDyhrNLh8uMxvsdQdmyT0=","W00e6V0hyrg4mTZX0p7/pAHlHs8Av9KvNqltsK2XodI=","xjt0EPnfSK+q++bqZnIZABPZsn93rJhOjCM/f9qf09I=","HhKzYkCg18t9gPCrowyuQ4EyLcvN4CGU/uRN0ISbAVw=","hL+L9QHAuoRT9ffxCHUtvx2ekyEg9Zpft5NX8ZVEP2c=","Vs1HIzUZzVf/np5Jrxd8xjdbSlu6fPb4Db2vfomiKIo=","Y7kNo4zmEZ8tMm9IvGi2IVQO+IafpoSGXUp3zzlfYoA=","+Yw2XCoN33KMEvy30QubiabDZMLPzQ8DtrTgQfCapTI=","+PRsKAAtddYtOdhoFgUiTuHKDkMwWWdCOVdoltFhtu4=","4hmSImctm4brGO/FScpQh77F45ysymfTPkKmHnWD8aw=","09v3tSwryrikTU1hMvY1WHKBAVtEZdywiH1XZE/eG3A=","vQj7UzzLzahSzBai4MBCVZK5ti4JcJOXNAdGNvHpvTM=","x9mGCo6U9tDZs2fdu7OtGBF+97Z0wM5J74KyyNLufsE=","D4DbW9V9vWSDscFTjAPbTEJ84VJ2CXZoCNGKA5kVQAo=","SXTTIm+0h9WJ/BkRyV2Vc9tccEuyd3gif8bWFWzZBUc=","LhPqDf1oPNdgGsAhkNt8ZcXYm2y4xi/xj3pWEtO2c7c=","4T+jksnNQsB/nRhGZgXYO/MyYGsVyidX8pQ7SQMrISU=","hbxXDtdITW6fT4iDdnBz39krkN17NPTxImNOyHaIsQY=","6iMEEVJaq+h6B2q3iHSxswAoNXPU6NKxCdTtivg0CNo=","VjvzCOymUmTOxAq+KnOGqaV/9nPh9L/sYgtNYMIFLRE=","kb54fqBbzORvTnfve5/Inz4AuLFTZi46GXKAB/r73yc=","Swaa0YIv92Lo3n1dL3yEdF3RCgUD7AM962VprAntWB4=","v/dW36Svb1HpUScIJJKK2ivAe91j1ANFzsb4dtVuWsY=","uWtdpDyG8tTZubIQDABKiv1o3F+lx/Jpf0lJbdE+a4c=","KpQywFYauswHqtwjFcdGwk0hJSwDVX1Cd9EF6GG6nu4=","H/PItTfoEhNYeN+wFPM3ASkFp25dX1ks/n8AWJNgYmQ=","wHD0xpysNNH+wNKNp40d73x9OimHjHt4rufUjzQnwO4=","Q2tpU3H/wT6fEKGX7GBaqOxKgMce1jeux+oJGWt1Bi8=","5NIrjzZMZ0nG5RLwjUbmeZwvtJ0SgOaQRSkBy4KtY8o=","XCvO3R8B0koEOShidw7CYFql/Z3KYijzFc8Ctnxm8j8=","OKUfPT/zNJdrQs2ISnO8qmSrLKZJonppxBVmOo4LoZA=","X/SteNTKxI1pgbjYX0PtUBuIcKK2jaRgtT3cEYFOgn0=","p2CGxkq83Z0Hrx6peCFX5PWAeJCRXfqz0dOCPQfw9VY=","gvUZuf4eLgeA/Pi0ONAO2xLaFUo3oBWdzcYcWRVmRRs=","ptNYxOKkBLlOM4YWtQdpfyWdOqNXeNM3/elCWr58vok=","wk+d9WwlPruiWzJ1oTtm1PXwWXw6S0JXxdCjdJfvIdo=","7vS3eLq/Wfx3R1axgM77FIBvS9HH6sYRMtiC31C35y0=","88s8rI0Qs+W40oqpLYMOVuxydu5n0KEIyRszxucw9ms=","qwaLRDncvYYj4XuRMofi6vygPc9gTiUILurqfcwZeCE=","n1i2oaI2v+79BCxDh++TJHWxixD5Kk8lKflTKRsKgV0=","T7S8ZOhOQynAMGmGK8cVlatBoSi9eeiw8AsCOH8Jmjc=","s6TFXuETBNwVYYU6SAxcgTSBMHOTKu5x4wv1twF2FaU=","wfC86WFbIv/ZkhNago2zGxB2PInHrJEft31xqvOMrDQ=","VwsY5Zjs3N7g/En4JwagI/DiZUPHuB9rNxOYcGgOPS0=","139MBbnaawI+/Eajhq5iAk4xkLEhPrqeeeTPCHaGam4=","BD/2hMkOVO2AbnOToMXUtCp1Ou1t2meq1IaMVtCq4Ek=","3Gucl8++u+UNVPuMMbvr0dXS+d6c3lPH7KYye7lD/s8=","5sgZilbYYHeNQxh5K0iKUI+sptskos+ypd6Z3siAmto=","E3TjrESZDkZMdH9dRo62EAeAPDYVum2okaDEsPJT/P4=","HrVVHEwnw4TU2BQzQdvq7UWyGMXmDPRRc4feua+FYsw=","hROp8ILyezkyva/Bj6v2q9+/I5Uh/yzenscwkH9vPNk=","rG7VcJ99k41YNSLWT40B5n5rYLzEEvKCw/xMHRSiyBY=","cBwcGIt6wmRXfTbI1WzXvRbCnSKACTo3jT4Tii2GDfc=","ns/V8AE9HcbAIsOPnsVt6IAf4dZKBin8bEGKBhx1Kro=","xpenAzwwgcvixLjyb4B9rUl6ZOAocc6CeNdVr/oQe2E=","sFXzqRa46kV4oDxDIBQ9GTQZ9Xsr5t7yEQtNQdVv9OQ=","/LZtxL9l76v1kd7vpfQAqYB2oR3w134AkYDaI77yJXM=","m/iLajAP8Jje5V8UAbkNFiSRYKTSXuJY3Rx2DCIwzug=","eVWouTAqJnSxVFtVgeQ6SCYaOhs7djumVCl8sjTHdA0=","mgdF8vLQlugGMjJvrlCXm/ZhOmj2/zQ2q3UQldt8HOQ=","mQGDByuwN6C9MkPQ15Z8kqpOFvJMbPrb+lhFmJWdHrI=","oz/0V+xn4i6dZl7bbCsZ6Aho6xsmQXnVjLEj7BuWJk4=","FozGBeP66j8QLnkc8Kx24qnDcat9MlstIdkE9iFP9UY=","9mNLHieGbaGzhk8ZyzuOTm+JT3YdjWWS2HGQLLE1I1g=","ti8BYN+V21uE4yY/qn1CQ6YUOl2IlPyh7ANQ/BULls4=","mfO4A9XS2zgvpMJs24yXss1KizhwNmeZ5OYLFzLr8n8=","9c4tFtcCC+VY5qU6fBV2X19gL32jOUNcFgDD9ZwvhCM=","oSOsXIG1/bHgC/tcV0zVoHKmqFw2JNzd6Y2C69e2Gh8=","LOj+R5rVdZKw6Y/3wvth5yvR/3Et86OA1EwuQ58s4pQ=","tfteY/HdDsNy89DZOQ8aBupSLJTJ7j6/grDp3zHlG4I=","wEGE3zhTZfO8Z6m39BdptC2rDJbkHsgsZzU2YKzf2y8=","pfuPFOS2bSK6nPHkugOqRLSt7QnS2Jaa4b+XH+qYqZI=","rmIymYZscm3CzDugeKVJAFb2pb7awIdBskrmTgWGCp4=","waMaDZKMh5m4GT729T7xNqpGCM5tKEbxbQl+hCmd9XM=","nP7+QJ3qCZlKZoMA+yGev3bCg+jcVHjCa2E5UggHxQg=","P/sAw/EXXKJcso/JCw5o24i+p/JQglxoq7Mo779J6d0=","aKIZIT9mEXc8xFXKQDV7TQapDYhLjz98YNd9mM2U3DU=","e3eQIH7fdZo81x/xi2Fot2nBwpwZx3vbcUutD+upQFM=","42586jN7+5Mp6PSNBFQSa6fe4+LTYNMaFEDuIb1QDJ8=","OEdq2zsZafJcU1UVt052MHQV8NUYy8IDXMyBP8tStQs=","HyR61iD5ICBDsBLUMuAVDK/ade+yPHHaZN9RYzLjz9M=","qRJsku/LeovtgG0rT53LQeTLDlGcgGnr/pASo/28AwI=","Rc0UnzazAwERk46yYwhONYzKGwpm4dyXHvSPv4ruvmU=","uXniK5Y7ig6JvHBokdhYfH6Mv+BleaiYwbkPU6Zw2aw=","Vc5+b3D9lFyx2stfMHECgGdLoGAM8FB+aP+WnzZW3VQ=","2lt94FfjsArzX1IT9nOWuBUZBMtE42wckICB7H1S5Es=","tiqfEwEymmFYUBG/kkp27L0Em6GY3ozynIupummkSsA=","oAhx8WjNADe7bMHHVXJijYHjm3JH3F82jPYXI6yrEM0=","OU/+FT4CqvU0pKLBkoAsoe9wIoK2kCZNqLRLjy0tOWU=","mDVadRHtJcu5rkcTX4Ev9UzuANZdxPLhwzeYfVGOJ6o=","Pec0truaN6XT9CN1t5Ev4H9S059QToZWKw2UFdyeV8o=","Ipvv4YFdMS7vlTYnIbPOIXVqKiaZRSDKn5hPaSYjG6A=","rz7EZeMf+3qXptE+gackCkp+o3vaakyuwUqF3QanRjg=","mYos88gtFOT6hFd8+qayIRbIl7doM6WHJ8xhO168xdA=","d+5LU3FrGqR3vRrSO4IH5W/fYLjf7M5OyDTU8W6VYPo=","DDcNE1HXYRYYgAexKwxr3kLuJjK9ddDxKW7STqE4104=","L8xemNjtF3Nz9RyaHMZJLeR4+KTDfaClMbjklhk6IYU=","4IfSrhsyAQ4mBRSoakhJiUUEo26TBV601ltFTyPFLls=","g38q0uv6E+G43BZiwSsJC3I1f4ibEilz3P0KYtkoETI=","mIWMc/G3DSbamKj3zbZOvKDnMWfxQPel9cZam2vwPZY=","oCE6OTp9L+wyHtRfBlFi2HchAsN/EGbmx84VEb7Dg/g=","cKLlbMPSsomy3wpIeVx/pWAk7cKMvw501t7lb5HM7wg=","QgS7DnJ5gwyEYy0RhOz97kw4+B7PJVmIN8lSaCF/pRc=","MwFgsuIZBvrtR7JxRPN07dH2avb34nwk8hSzu2sgdSc=","3hWN2U94In08qKKndEJeSOtR4w+kKxQsB6Y6bJSkjRw=","0rDn2uoSWWWMTeaXnXNc26HQrTDqd77KVHhgyQwpWVY=","E++lP7t6hwKJ5MA0IhbihNinRdyDOWtF5jdZnhguK0w=","akaKOxWwP32X5g5YuAeGt1wK9IzRUClPvaseBJmEw9M=","aQ8VWlbpKZXTRBqywbtJA1VWvILFH2vdms2Lztftyx0=","kOkK72BtQJZAPbjv+us77M29cX1RynXU0Er0OLf8C0A=","Ldrq9PvfaVw0Ud+aSh7/Il8iD+YUgwnztP/MjAUudqs=","5xuDmsboj3gykk1MskCCo4T4zXR9SQ2WZFglWrhk/ow=","q2p3HkKGitWSpUzSSbLQu6eBGbe/8lxXBqTAKeSHYAs=","rQo7X5T7+5HYmwnwZ+2+ZfLp1cCcCuwXKwNByLCXUUc=","4nGBLX12G3sl77IjIgYOjTz8Ffxetden6KHRyH/V/Ks=","b0rEHAZh+0x6HRk2dJ60TceIjppVaaObdU2xCopUIbo=","8N1eVlWWgBy6fIHUINRdk2usvu9iTfiCdf7RLegCSTw=","QEiE4IBW+EHhfp1IneC8dPwfC1mkKYbbf3DwzgtyiRQ=","qLZ6WhWslCHNr5UxB5jBW2vEOxt/1ts+iTBib1OQY/w=","YSH3n4ngNURgng4wTKyzM2fB4B3HwyvGwcFSebY51oA=","SK5pacf1uiPTKfS1B5U5iS+qgqOqlr54PcI5Wxv8jP8=","3YqjC8EsRoGZ6wEzjYW6rdeoLEygtXgqcxuiO8YXbR8=","vsR2q2gqC0q5RqWa+vSS93h0klRNJ3UW0TcRZfBsTlw=","jVt8MPrOPLTUBxqNF9HlGCoATRSNKyxGt0RhuRhPj5M=","QUA1TbqUTv6O4FgF1riGGEf1V/DSc4eGNx8qg4EQQkc=","32SVfI7uyt7/d6HXn2YAeZfA1Yeg3xmZAc3u4gyo1aI=","1xGmcFPTw0kRb8fVAVyyWkQgbJAAqksci9OfhHHFQVA=","XJwzYMLyrm/9QBXXoSq5HncuF3meOVrsuWXtN9L/4EQ=","b1xqwMGSrMXEPf42+Ne9gKQvEsBTLmmvEBkDg7Kyz0g=","KZvuNs8X2YiJOjlJIFtvn6E5cOMX3th0zsN06sskznc=","ef0Gc0iin+jMM202yi/6W4nLrsoo3wWnyhd2YsgnXHk=","FQgzPLtCSEysPYcGf2Hutu4mMxN/Q4OCrvBfOsDv+Co=","R5lBr1KQ4cPxDmKh3DDZawp0N5/fIYdcBNZOk34HDNo=","z0JSWmBb74nD6Ztwp5vW/JBx0dD6joae6507opM8nVc=","yujmjhv4Wc0SwTsc6A9uQYSCXoRy2UFtMcLo9RfTiIk=","XOhOjXJXzS1w8GSPeEB4lwuYXZpcdtThJydAXf/kxfo=","V2MECG/2t71zaULeoU+JXnOoyIbkzJivnzeGdJ/i6zY=","3vbb07ovcUEZCfDJFNPoaIobWohMsNP2e50mTEMGZT8=","6lR8X4P16r/NtW7g5PCAqGHGphtt99VJFFDYR0uTn4M=","gpaboNsw8JYqdx1M244HGc0PBWZ0b9wzmeuzh9edJfo=","dziXpNQAprgG/pv/XOFq1U7VefxBngjWpue7SWhzyzM=","9T2CqE49dMBZDsF01CfDoRWtdUFnn9HI+ck3HX9HQgY=","9CZWqm1LIeD72GQCFc4e5Nh23l5QcSUKvts8odW/Zng=","UEzBT4zPuXz9zH7jWQB2x0nSMFgXJTWB2DQ7grKO48E=","WssbfuFvhzQlfPoEZGW3W3jq9Uy1Pa1FhTvF+wS9S3g=","GAj035nyT9i8JRz24fFsGm5BiEmVeqcq1xCcPgAkYis=","VZhAF43jLWUCiiI9volB0hcGKz2XEI3wtKU0n0hD5Oo=","KaRnwwLRGBioeo/m2Cfk4uPLZxWqZXLxjcL2V/mw3e0=","HxgztBxICrHeV7yiwmyzUsPnG0KxjZ6j7LdAmTuFb6I=","lgIxy0OBLQd/ee8V3ATznFGJ/1Hbu8043wZoK4wuFpo=","eZXO0cg53i9IKd5tetTUXhSdphbT/JDh02GVi1uxZck=","dd3aNMq1qLhHmzVSqNw52AOAuh6qbZ3kM8Aof/vstCg=","s2SeJ+A9lAaw22uyNGUNIIA4rp4uqeQaHBemAg96p6E=","YMEKcEj/UO7UG5n4ddF+0vJRGcA8z8Z4bb3nX/9s//4=","1LCnl5nd7I2XxQaA53LYDmJpcECr8ubXsUDXKmyLRsU=","zux/pVxDQP2DrLMxliLJRxcWqf+VrgmcsmCvM45Zems=","ga0cTHjugajMFX3gpvc8NAoj4yGwTn24QMnY1l7cw3k=","ZI0FlWDDDkPLXT5fwdLA/TLumAJQqrjAueSgTb7hnBY=","ROfecUi932LSL5VPJWHc0KLA66w8RGGKcF//DMrmd4c=","l7LK3jNzJCDBeCdxzRI3h8at7Y/z8qD591pmaUeT8TY=","JOZewipkyIl7bNwY0xtDi2JxTLI6Upm4dEZi77nwuGc=","vkaJfWmj1DP67NmaxTVWEVymbfPjv/awEYYWQFU3KUg=","MyjI9P9R1h6mFiKm+S0PuGg410lHSlB2Uk1FK+2ws0Y=","qzZJR2Uo1MfPizpJip4Kku84wNX7MVneP/ficDvYhuI=","fE70QW7TtXCJJ9pUrGC8E58TdKfvqQ7lBirN++gjHX8=","+GLh6JZWRP40rTtl3i5tyhmvLdWJRYEbE2msQ+yqgEo=","gx0TyPBkQ2ZSWYPDZ5xhqNDz7L9KVGnWgczLD3FMKyQ=","yO+WOQDhHnlZzQgjG6IWGv7MRBsqiVDKjfrosAFqtTw=","uC11mHt5xZg/qib/7JcC0RkEyIFndO4f7P6Lfa+RYy8=","EuZQBxDbZBjMOP2T2mOrrUf+BOikeJvhQxzAbkjQ7w4=","2Nf7mP4/oTOIp0ZMoNIiLmw71h4QZWoTdEiJRsQ1/Ok=","KHoEQl0q3pIEzus9IYIXXkjde7odQ0E4Q3UX15+wAAo=","E/urDw1EqL+ExxRBrmETwrCWJ1OrvZ40kPGRKoe1i48=","Mu5L4bgZes79hEIVu2BYVM2aFEv2ASP1l89HzoU0nV4=","ZXe1eyprwOjcZWrMGPjv0EfG/iTHuM1odnHloLdhLb4=","HnEStkA6O6ecU78+x0m+d2MuzlJjZqGgv4pkZ4eqYnM=","canYeTA+AnPbY/FIbsu/bztpg9zBkVgxKshQDqVY8NA=","0PdK93zwumiEijkqAXh0R2sa3l2988Al25ndf22z/1U=","njjy4E5yvjRayMs95P3CBbZqgjw8GhSSa2+JFCWpTmY=","D70XoBrzT9A5iMiDnJE5WVba2tdAyVe94RZ5mGSYWqQ=","0+DlUyUAw9sndp0UulwW8sW3mwTjORdCgOXryJj92Vo=","uC0RWhoeBw2HAiKMAGKvuNgYqbbkFnMaY7k/Bpa6A6k=","JPKYK9MRKml6b6fkNwsyLBXPJFMAIfpM5PC+hayCvYc=","sOx+l4V5NPL6hrdN79iTytgoMmIEv5ZiVDk9azhatzk=","V3CWNXhLKv2YR8plU9k9pgdOUhxFcGNeFYP40F8OWkc=","bnWlAc9T/KQeFrPV/Z4zMqmNd+K22D2de8usHTnlkuc=","gAEecTWNBj3dDVc88/iFmPCV6WxcN5XInFWraNDxP0Q=","a4nBOz8nW+XLAMkLglIBvs5O1+bsnLC3SPiUwz8f1yA=","DrfUBvSCj/ST849SsiHUg+mW2mYnAvJ7J7mhQYL7YPc=","D94rDqwjSyyEVOGH+CCBBSImttfkyzPME8pRe+KHFuY=","kOxe0fa6kNNdMcdU8FPKyeko3GvE3J1Gwp08PToPSB4=","P9HsLVrhzHgBBt8OyJxvCTOQe2PkpWQ49o8dcXBnL8A=","M99+muG3dFejyLxUH4iXZ3BOPTMU5ieDY4xXGOJE12w=","v+0qpiFsium8ePsrLO5Gi38PkTJjIyxPU4E/1OAnFkA=","A7poHHaxUJlkBT8doxqLC/5Fw5/F2Z08zWswuntSPiM=","JmjITwcLGIB7AC5kL5Ull9gt2uF960F3FJ8T5lcnyNE=","KU8viR9KKqVTcmKKzvMzVuD90ltwVHLlUZNSyDu00tk=","G5qbCJDN+OO/df5mqDQpA6fKOZ3zfoZaJ9nkPhQGU9Y=","YmpcxQ3EkaTim/XnrS7/vGM11YrZEpNOJ3iwdmGLNOY=","L5NnYMtGEgGF6p6OMeuWfyPZfljyjxmcVsLaO+aGRd4=","6i8U1K1r2IzVGoJtA5D5Qzr16SpC7YkZfg5xTMoDmmY=","1HWpddrK8iCYF+8+M/D+fWEjGL8jcUaiLH+cOUos+lE=","J8wMmk8ZdpXJuZY5/uf3cgpjPQ8Ck2Rh4MHaVnm/mLE=","rXGnwYqGsFg2nREaHSrbvVth8RS01cyzMNj9nr5UUqg=","ZZMrfQSAYKoDgZofj8TwhuQ9qQIQ6/S3/o/kS/ZRgD0=","kHcyqqSfDnLyMcY+7hYB2+ATJlRkfuLJlN+jb5QLL8A=","7lk98vvZz6pgh6BfHKvUgI3fQ0g2YeqaWhNOiSZ087I=","h/ea8ipeVPuEDWUKjizULwLKSI7EVLSik2SO3ICqZWk=","fnKT7Fc3OJ8xGcDqVoLl5ljIeox/JttE8xkiT3Xo+AA=","8FstleSdEvIk0mAmwxyY/n6HhJgY3nnPWf8FFkTq1Nw=","hRv5TlNgrKLB6IBx10+MIt/O+IwSnWMzp2B6BAVACjI=","9wF1ptIBHDevH3Ax1ogB09NKHgV0QPPC2GPtKeVJzCY=","0y+hGRhcQfS258yWEGvYISHLQvqtAKwB9X2PdXen9HE=","3o134dHRuTz/dI7dXB2RSQNdfkls/DAkZf0yR5h/Ta8=","RerXgJ43Kd8tPxsWUtwAWeLO/eixU6GQvadX6nf7DCE=","vORelmDdqlVhpAgHXTN1LE2wF5fpYzggM5f/6En/Se8=","wfGJa4pmTHDFwiy+mzX7OLmwD2nZ25iqHWISE0SzTfI=","ypohdgebY2IBplERqC3RgYCIU6SvHJtYtY5wvfuraYc=","X14DEqREFSBHWM3TVhtHs2S9S4K3BFLAe3q+hBBJtWc=","2Eg/AGWAdVADKzbe/W2OMvE3huQghoKS+C1cPBChLek=","h3mSxl1277E0R060Q4hwuGZenoTE20VKHxVpPczDHT8=","in6f6wMvF0nq5JUGOugCjhIwIOTBlIv5bVB4wlVsPOc=","rS6G/GQucUlWeHTHgpeR+kgBMzpjJnxnCq+vLzCfRIQ=","X9D6cP5RCW15BzJD14zb6h8PcByuhJxw4XMIquTnNYg=","MmEiWs5zdPq7LqRs+1/OdIpXqEJuYHlqRQ5X2ERp+00=","OXYCLeNLMYibxOx5GTvmBsWUqbeRDHRVOOb5+CIHP8I=","veiRBbdl19HG4l8pu0Z+xkK3HCl/jbTVFQMFdfVsDj4=","4GQWFcfVwP2/xp+WK6akv0Luq66cpJZ1k0pvRFr2T28=","U3fspcd4bN+1TNYvnAsnffL13J3DY+GsM/mXBZD1xOg=","NFYe6fB92VJ6Bh9TCqaTsGmQyW9NqG0125HJPgp+V6E=","pRzCp2Z1vtHJjepG5tF5+7k8DC0LdaTm9qaFMc8awOA=","VPERsHplCgOm1d4Tvx6WkD7+7MR+tj2ByivIKX2Y8Co=","R0puTeZD7PboTlXAwAH24N82tK9XiBKYy2OjOcuYgyg=","Pk0FbFLJ+xMmeluhHmS3241qiOT3DdDnu8ybrNRwqPI=","Z2p44cBoqe/snSLa4BzkKePW/DJdBXzn4ZFqRJUwLr4=","365UPnrBjlvcwiJ7IDndHr/RiUiw2Ffip26syECMCWc=","Y11xq0tVXS3Ue1Sc0OMGO8720TZkVtBjjyOBETuugpc=","mjGXQieUQX0CVRfpAhJ0FUUcQ5CuQFvW9aG8bPLUDKw=","og4BFOjUesI4fpUKemOXMzbNXwFF4HqIFmGEq8yJDaw=","Kpno6nuMlcbRDg37hqks+vgjgajOw339le59AIOPYyc=","bnS9I7u7KWKcxbQYLAnAMFgm5tfDQkNCyeIOIx8pisY=","MNspN4+12wWprtyb0ziyV7xBBCPLOExHGoOPlOZOqjc=","XRH3+4xuEKekRb+JdWqcllDhd8QILgwx7IfXcMdj+Hc=","AEKrOR2a8CtDVvcVMMAdeWGqltif3b0D/1ecf/66f58=","+7Oh6ktygrpUonlOhWKI1CmAfd9s7xBmYDiIU+7kkIs=","MTTL/mvrZORi1gWOK/MtIJJseRpozYzhg9fsKxI4o20=","JPbWCnwjpELGoAxQ7l7lySO6djQeiI3tS936TqUKp1Y=","EBJEMO0/YCYRFvHdYLFIBLhq/3RhOazAHYQ0otXBLdk=","AZpKOBu3Cc7U09BR8Dl5WUp0/L/N2SQkIZ/7wUaVxV0=","2mb4DjT/s9SqlaT+wFmvyR1tpVVFVHm30gAV7hc2KWA=","kJcIT4BKbHD6kQBL76dz+uKlE3UEuP6J654GpQ7YiC0=","z6ivwoMmglf0Ru1Hondrtf/KP3Lui+mlAjP/iUtZL/U=","ISIJ/pK433zjlUNVwzo/6LPkoz8YL4b6oeT4vh6yWhw=","EkxuprFSP9K4ZOtv93a8mltYsc795qXwvGiM8iXbSI0=","PyNQvIsPxYgv0XLpNWfvoCwQDHpLWaNlFR70A9BBoI4=","NAQra+5BgYhuXvGKTWoNX97/Iu9yIo9liSj2kTaycpc=","M+YPbK80RFgvZ+7Qj+daOKHPFBaa12KsAb2v71QTRto=","aDDoTEAY1l80BHVX9fsw4XzIoCuMylCwJrblZdcc/uc=","0dey9Rp78yJDsrOin1neZKmJ9qXvKGgmfGUFS9D5IpE=","YeJMCOZ+7zDyyVm0AMOI/YBSaaaTgPbDEqt1Pkfr9UU=","dd86FCF2qFTHSXkEZxkT8o/xvtXFmLCT7luwkXHmOHQ=","Pys5lj7Uz8UImi+H9/9rUsnYG6BFaW16i7RfC8EoHkQ=","TbuL6SGGV+958qL2snWIQ0+j4Nqr+22bSWg/BZOZS2M=","NZMPnH2qxzBQjx3gM6sw/lfTsCvCnIO3Jnat5cSy3io=","JsXP3sCQoInPGIBigq8VrirvG9XpVic0NDGdwj9wZTI=","FbwFefUS0Ty0tsUubEKONIsM69wBO3QLv8fM+kcj038=","D2G91fvYUZCKSBAvS9BIBWjC65dlI/ZyY9C0RDO13hw=","2rr3sBAymZWVc5ob23SI3uU0D+wJZNGTrLhqjKkwEy4=","5xVhYnUOY95RDHMqlw2K0dbaCM1YcFpkpyLrLAqQ9+4=","8fRIntx8FfnbGW8VjqmaZY0YckA+i1h0yFHhuv9/IJw=","UFnWUoPldQGBkv9sHUdDaIDOuL8K5B9o4HdxkfIKXP0=","pF7+MZRw39UgMEjSvquO4A44hECcAjz+yahE5TUDAqM=","Gcmw4rHqU7eG5G1E1yLrNjuie1cnQBHxZ4DKFzLtwBc=","AF85lF9QEoj2pr0MMG6vonHSIagXz5tgN3EFaUUW2rI=","XbOXmsyL96zmxDgHsIAazs+gm4NSa5zi44nmsAqPstU=","Mh4rZjDc2GRuOJU1euNYLkIuMzDbE2Fc0YW+GZe4nJk=","OyA1ZaZcRMioz2hql/05BNwbqA8R83JKV9AZheOcmLA=","QpjgrR01RPaocpuQY/FaFqPYditHpH4bN5yQk3XDMsg=","oOk+vJUocLHecB0u61L+GSAE2zsZOT2xWwd6lsxk/OM=","7TE0fIH5FThQN4jgE6muU0uy+QyJ5seDV/bMtEP0uxI=","9aYouDGLOwoO5PCVlSJ1OKEI6d3DDoXgWVxpcy1xmu0=","Y+XAdiL2mSen5VvbkIu91bObqXv1clx+ZuPcT7JiqAQ=","nUQLVIb353qTp7jU7tAF/rxMg96NeNUn8TZgFz2zR34=","UZiS2FozgfME2PNFjFUVcMf5EDayqjJrG2S4G5BhqcQ=","3ZB/843I0a+j/IOe2BatnJSO3NGYd+V4QU+2m4Q70UI=","ZAbvMUM275wHFS0PccCbSL5fLcUdsxDJP1kZdiR/VM8=","Ql50RQbPwtT5E5QXaE2jYd1tNTTFWlHB+0OF5znBy5k=","wcevD+EipPcH5Tc7Jkw5yIYF2R1seHEE3MOZUWF0MM0=","4qkM++6gPY1sGD3dHGDQ9mK09TMBn95EKVVWTprmc1U=","O7BIueQQJd77UCiTi5VaXNvVjPjc9/i5mdZ0Cm4B+DE=","JP50tiB9uDZmZTK0BX655f0G+HRYFbZja7UQBej1kN0=","jg/co6g/hlFLlDuRXWz3+nR3BJndK9PNmLCxMOIDt/A=","nY6G92LOXbiVNaql/vAr07+4T+0b7D+bTJO+XpSapY8=","0X4W13u8pI0VOCmClVaKbD78HJbyEojKOg0PNqTo+JU=","9wrPVeRkm2vgIRmnFTTslBc03PbNwoN3H1+dSRGtOk0=","m8nktysyhcOSMWNqKflMZitQhVgMui8ifHDd8WR0MSk=","VEoz4inTCTSCbAkeDQH8G8tm6Ykq5mQhRj/a6OW2IlQ=","PoGYMCOEZNhU2BFu7+GV7NO1/dl8xkkn4X9inQmMx6U=","znlbe5D2JFRHEgp8arCBBBnFT+TL5Gh193K8UqGj/ds=","qv1Mik3WHtDXvfNi59wh2MrXZ1IYY7ztVgUAy8cAWWA=","DjpvbeovwO7lQlr+SeYKzRetcmeqG0r8cZD/9+egeBQ=","VRFAZ13VNULCeqhn8VbRoVrtPwaWmoM78QP7b+5w4xo=","FMfYvsq03ZhoXnQFU0gPuiSJ7vLImqbEPKBW6gqsF/k=","YlefabCrvGHvCvfIVe3MXJb+jRM35TGm+rH2cy94l/w=","qn+0iBe4gOvzxow2aqaDAju9VonzIticbH6s1hhp0Gg=","kqU6l8IXySgy7z1EotV3BLUm2u2gPZ/B4K3b9bvWaBE=","X33AMoSrtAEddVF0qWeGqSPK/p5ACIHJcTPXntoKwN8=","+VByK3K8YS3oTA5xAOKDyV7tHb/5GB0Mvz3P1I1R8jk=","GbTdQAy7gOtydxoQmEW4pXY6a++paoSOMY8uSDAggRE=","IiRPDiBVp9E2vdqUlyt4/sPOW/QlN/NLtQfam9eeDTo=","zFnyzy8qZzdU5QT8ivIR7JrCUx5jotNHUhQW8eCCS5U=","HDt4V8DuGZf3ocR9IUGLE9KOT/efTWtxzndrvfT2uxI=","gHPHOWinQnbe6CbXdL9og4655r05BgRRISZtdGn7ixQ=","BLcie1Ks18B8dUSR/3UIZbGbI80X/HYzh3zLwhHJpKg=","dPteRvuxlhNQc6Ou/ilNFsQgkDye85UeotTFkOs/L2c=","FTIS6f7o5pzCH4SiufUMI/YpqA5h6rlTCKBnn6Wmc/E=","i8ag3tnJp7NsTgAANTa22q7QuIwJvCX3HclHG+JhJE4=","3zZN6lD8hvdHJYKQD3nq9StE9XuuTt09ACBz0dDQjOw=","+IHzS++PVdrJ6BjdICmuVgUJfKSOjvc2QklbT0YEtMw=","vnny7GgdZTBsF0Ng6+v0SatQVDt/r59Rf+Hotwff66g=","pJ9BTGVlu8//U4SoOLUdiwYBlZ0IAwdpeN/3fI0kzn0=","IvO8ZA75kNev2NIwxcJEtZh/jVleC02cN5gUibbiKkg=","rkW0CakhA93HNXngKpdUvt+8bEWJcKa1lzZAHvMa/u4=","AyKqyI81uY5v9KRyALxVlAgrLB98JBrs+aOuf9UPcb4=","2bo576+9ehZCSODl6Vphrj8Zl3nelz2KexrfZctrEZw=","+iBxNtkzVnIlMU2ltNiKd25/wWRO23CcGAyUVZoUEJE=","O0RCDVZZ0iLSzj1C3Zqtsq4Uhz9n7X7/9+JWhb3pizs=","277nu/ZD9d6FEINnDzh5BKQ+3ARbOrbpmm+Ugo4EN2Y=","2Bbfvql495Em4OXQpT0ZmeksBaVdoqlAphNdbJhmmII=","pXbbV/Y0oBXGCrbm217Gcl/8qTQQfZ7pvC2JzDLU49A="],"block_size":4096,"path":"injectedScript.bundle.js"},{"block_hashes":["xUAVYQoGUvQeRyeuXNQAJ8+KxBomQGN6sDup9Z40SDE=","CSwA0DLHP7cWmSpiG8naYBEUio8ozx58qoRyHnmt98g=","Q3fGvdwnBu9eIfRNH0yqFlZw7IGDLjELQHzBDBpt9P8=","8NWvfsSTJNgQeotZhY0adr5OXH00fH9WGMMUXsZ1bDk=","n1XiTQLFlAlsyU2+XnDCQlnHnBDB8+e0B/QWvY6rfbU=","asRRBQhEVwRy68cVNmV2So+kVkWO8Duvql7H/+Ge99w=","EeFt+d7i3Fsc5eA/6FSPnDMdvTuNTWVrHjFK3UGyaTc=","CthckI1BC/LMibGclWAkZH2E+m9baEZHGhoTL0BoAFI=","gY5rSP7kPbY7k2f3kLpubyyJTuQtMQHwzwI9ksWQi2Y=","JcTrSQOyHTdZa8PAw0djelngaewERRCul7CpOzvUNCs=","fPwZxCMD3eVWKeff4R6zjEKiT/gZF9q0JhiiTS0Tsb4=","DNU3iqal837e6Dorl48sAttVTb6FyOdBdcU/zT/LgE0=","bG4fy1Sd+RBzcF9cGCF+uetb7oVz3iH0sRaGaR+WSRg=","JQl8mJ2sIjSowa7nb7Zd26u0DJVAsHJqmkKL9XoytCE=","CRxTPQbuzBwxGNYK7THW1Ce8qA3P585IK5i+YVrOGTg=","gFo1m2wpyBly4tLF8wBKN5wz9X6v02G446QgDik5Mj8=","85EUXSQ6f1UZ81d/nSt6u+XmJjEi0RGg03jxT78c4nY=","LlxH88YDaW77y5sDdt3v1YrCpwMfFjFwEpDvywh7QP4=","4/8Jy/DusxZn7DJhUMxKIUKzayOSQCfAZSP3fMP9W7s=","F4dcVt+Xci9OSPx3qA89DPrdqzAv9UDvHSvI2INw8oI=","kFB64Bue73zSOqTVE8vDcFptNDW8quDaPx6HDtPUUes=","lGICLAaBygEhfehYG4qjLpY5HBkDfYdgWWrEgHfgkwA=","fzu43Uw+qzHUhau1fAr0oGXXATMI1GBp6qIsmOHP3fE=","AmxjDiKbnIKOixZ35LWJuZE0FKmePbmZsaB32nlc0Ec=","SUGtoESCxonfjYWlr3z0q5DZcO1dgTgukeb854gKfvw=","wtviPEXwx8x4sjJJHyksQWhThx4qUr2899XkbYXuFLs=","s7gcMcfiC2LZkfhzICJUooYUnBwjzjyc2BeEwivMCRY=","Sd7U/XbKzgOLFv+9cKAVHRZRKA4wqMk1VI8FybmDvy8=","LHt6ckwYOhFjLGntAqzZLE5+5tZAiket0xPrcK3VNa0=","W52gcdT09sXAnCXHb+mS5AmC3TH4L3Ch5z0oTbslkQ8=","5B841ObZ7RnXMw28w9Hv2qh+iRQr9Be0iGnMcurKMjs=","e4kDrOXBemWXcnWSCwT2nXMTzMZCi0Yu0fdWznscomI=","AGtC67R7eNQrBjgctkfceUrplYz7xtd4fx4/DCO+m4M=","uSScO/UsfN1nz9PVlwNdIwE5ILj8dWgUqNrVj1proJ8=","viZd0CAH0yY1t7xVlvo3ZBNRzi4WogscunL5QUnpdCA=","xa11to7kuzfHN4texi3Cy11m48sA76iaOWrOJ74MWCk=","iSKQErhmiLjFTmzAj+Gu68rldcaOK7tqEbulHwl33A0=","b+jfWq9lPayFxXEPX1nb+rCm8ThkM71tmowvXWBQGFo=","NcvsZImOjMxQ+C1x1Bxb9Uzvbk4HLa0mtb3Ig1oaH1o=","Nk7CKaoAUMAvV02zIthvV+au8Z/D+SDGs3ZwIcwUPWY=","3pyPhgksdDr6rMw+yDLS2BbAzgU8OKbC0KMj/vlzXGQ=","MLa6gj+vC26C8nHwGLmv4a2XG+wv3qrWeDlMnuQKwO0=","MgbLFKjnnUr4FUIOUNprlLIAAjC8JH917oQr6WS8fto=","eR006JSSNqTIzyaRwptwZaeIYDx6QDnAW/I7xhk6qjc=","2RCuypRWY+c3PjIHcYaXxXMOCLowscDGD5FdPTngaDE=","4pJ9tyYQdzESf+DrBPxRZvOAS8gBaa7nnFajaDx7BdA=","54/RJUJVnnzuLf32toJM0xyOtRqXp4ievpDTUENzzx0=","ULE6lJPyPjy3LQQ7VCRScbp1fMG3OfuFhAfsTLHXs2s=","12WL2ams/SAl/8WDdA0PYExDDa+cdbXfPeis7m5yCpg=","WC5XTdbFPrMEfaT/HxkrOw/n70LaMrZNJ8unuG/RoqE=","a1wWdzQyYypyfXmvky7kKhpvVeHtvYuTcbcOOvDk8W4=","TAPlX2DsUGGKdhFuv9QQT8CJPKelgZQV88uSmvUSlCg=","XhVP4xr6Mr/oZEc5TwXeNCQ5fAlyL4asLQhH+OHXrSc=","xP6jBJh/87Goyrurdwyx9ZnzdGDT3P5rKRQ1Kprk9sY=","qMEKnY9A9tu9++0y2X2KzQB3s936WVZPbXI+CeSdc0w=","dLuE68upscoU0xFzi3Y+oesCh2oDr56DMmOQDrvJOqs=","tx+djR4wxsZ0YcLYZJQHsp8wJdQpfVSYwQAWuTiFuK0=","ZkY5ogPLkPtVnJm0uARuylYh7ngx7Ry4ZeDWYdwQisA=","FBlEqgY7eZP5BgoyL6Q8Lq8YPcG9b65H6rmDVRoPEQU=","RI73iLEb+2IAeK3IT6ZFA4PG0YiU8aZNlvpTl9dhi5g=","cowTTNayfAQP7I3x4mqeOktNOsP75ZNQKaTjOkDlLvo=","1fqfeJt9TdDkzbTnaAntg/eu7zujFKYfJnHtEFUnCLU=","NmbBgIwqS2rSTq7ugnuwUFM1fD0jRpbAAR83H0y5NEI=","eea4uSxJNmbhvKi4MdSrVTdchuNhQej0qiL8GRz4KGI=","v7GFXUGFbxtcu/oe9P1oPtuiwGKTOWBZ75rQBUKzhQ0=","o9mYIzpW2KgiDHk1V3wPKXSkeiII0DbY63YK+rVbEfs=","Y1Mz8KNAZxJNdiCGQIWjwr4OZYFhOMlEOayWKmmgWBY=","K3CIVw6hldDKMKq19QOIcjAU5oppGk5KodjeHh8W54A=","UmwM79+fYbXUvfxL7uubG8k+SC7mUbJzX9QlUgIiyjE=","vYuoti+DlAsSqiCnYU4bqWUHakuD/BI8IWisIQnWC4Y=","nH2HluWths0VFnzXHOz/2jqKqAnynU4QXEFThmXTfqc=","hGzy7lPZRv0CPReLWSQ8hZj0SqmwKgkLz9QNzERTJDE=","3Nfsir/D2cytb70NV7rErggvQxhy4p1kaAAFTKDXZIw=","gg13KanEFz8UgYKYeugmt0UqNJ0Xd7Kgtkr/9Q3ZDsI=","bHVDETa/8rLonQNDLIsKe/s7mc2By5vjE1xo6M3YUMk=","Ji+TYal8LP7aniOQxXCfd2WMzhMvcjFwU7WUGjQ0kwY=","F9QMQtaZxliOnwYtP6wEVjVZuK+NihzqSSssvCGYq2M=","SAiXvxhMOAx4f1jaY9GekHgZtRaESIqKJ3ivixBo6iM=","JlLRp1+UFbpyamXGHNymXbGW0C6wRKozX4QPGLL6leo=","yJsW3lNQv1197I2p14uyATvOI0KtlscaeWwWENWuAm4=","UIDF9IaaLRy2JW4mFTSNdscjAVeslb2Z/zXVUrZ7ZIM=","+pxupFIzMV75/2QpPxAl/QnNuZtn+JWFZct79ibK0ME=","/VSJAVGVpQ0tx7/ej8cQfjbCypTf+nAu613zcZTwgBc=","6TVWqxF2Cave3zQxzvM/0eX64JehLBdyypgyrEel/E8=","dC3DJWyyjHXQrBwmU9JslATOSY8OPoKr+IF+vYrmrw8=","+0HLr6Zm1Ha0umF8rfDh4k6Mb0jx2NcCf5CKEI9PlJY=","W2IixtIT3cE75Eifxh9bSws0oV68tgwMUw1lt13V/gM=","TJ/7lxfP6RQS63qzRl2KSQh5krFA5HiImkBDaUc/qqE=","DiGuuCzGopoJ5FfEQstLpBEJu0U9qewR+MzuZR8OdS0=","gcDWK2sxIKKe1jjYgSbMla13i4a6ykG3KJ68OZDuOqE=","O1Ci+zNiQyt1P53jpIrrlZo5sPHSUMQ/hYo2yeAQYp8=","IpTg3khZ+lF90/ZZH4+mZj+4sMZ3wtB5nZqIVfLm/1c=","g4sEEmxLkygg5HuBs+wO+qX2pLOsK9y9cjIaITagYUM=","1JQLjyYrwp7oA1gQDN+n0U104oPmkeoTqcPkA7A//Ik=","+PhthKc4+u1eh3SodKEmEBrkvGWNHJ17lUvWgYkHoGM=","VFh4W9UQb7uBVrOkDERTh3kdXbT00aBnrytXFiP9+R4=","c3dWIxjAY3cYJrQbJk2h48QU+r+hcLtX3BquiPIEDlw=","Bi7GurRVfpgGA460P+y4S3LTHz8aKJg9IUqxzJRLFEE=","d8l/l4cnCUBHjump08OYrNZNJkNh7PSZFxENV8OQa7U=","t8tB4vvqCZbBHrhu9m43bJ9gfILpj1Dak2X/3/A0ujw=","4KzwutgEsBY9I57K3XK3WcYn9nHYJB4pGf5wwO7P25M=","59hZ0OB/nuif1OJqe7BliCFg0KXV+kXP267J+e0nOcM=","o+fO+btYZm7E7NcbrvEJS0efYEH1A7s13UaLTcWiGds=","5yAqepy63Uo+duRVD737Vt5sYazYagkk53qvTAuMIeY=","ezmkFeRDY+cUaPBVbAcxCm6b2Lpuv8gmSmnjT9AQsEM=","7PV+qpze7jSFl428L1Dd8yYxMEtHm8gXAhcmNnxnKSY=","4ap4ceORbHETJlpraf/k54bkGG/P4wJBIF1hsOPIIyM=","qJ+c4ba4IUPTEaBqsWdALXujqapPEiRgqqP6WrsPAzg=","qKvHtI28q7z6+HdWZL8DuRGLTFi0fnjkcAJstMJg1rs=","sK56HJhg2dttbIEEbAAzXyJEILNX58avGcLxUvipyCw=","2+4gERPkw4yQRWys23XEV5dtSlJYHg04kbFueS8cYB8=","6bkfUFd15caaEXVB1YChs0WSUTevR5oq0n8AnhT6MyM=","+bxq5oNzjj22SXeTVYAjevrd4FIMTmetik3+kPWQZ8M=","ZYvAjT+AZvcfGkbJLLKxiZfIlpu+m4ownv7T7Gv1Zsw=","rfHuuNAcfPKwg0p610SByriNMLeEZzK6gRoBJQajHf8=","HZeZ90Q7J7BrKB0utFoaCt9lSIdnQh83KIc5t2y4Xe0=","+xcd+m8+P7/RTV8lm8ZtBXnFZqhIunp/d6BnYeZ71rI=","tc6FtC6Mdgn0Ay1IojFyVaml2Pt5i9ByiW9kY8ij9Ks=","DG1pL+gEyc1MvZ+VNg7QOdmJTeRWtvjhvwZwghCZgbM=","k74XG0OLKQMcg3zi1tB9UkFPcDrLR7fxFTBuNdu/CcY=","Mw8Mu+s6bqdw6grg8ixTrDGy37Q43Kv3LIzrOtMboIU=","vZt6NNEH1zXnON/4wfXr6mivzoeRbFEYoOCeF9dA0gk=","yuarSJPz81y3Erd7RgI/JL1Xaj5mpEHHiSkTrKVeLUU=","hz/2dNkBP0fPFDZbkB4IKHDFfZ+DtqPX+M2O7WQdnZ4=","wvL9rI6QJsasI8ovbBXTixHFKEMX0WxlV1gzGEURM0o=","/v9g8kpj5EtBi8DsM19RIUKlqm4pfz6EFoLEAmEcoSI=","CZo0jO/XW+R+b8Y4l5hN4C+CzB9auxFlLciLtnqWjFU=","HANPBwv7bNr+gzT1TeooavZRSjybOICiq9/ugP7UDxo=","oev9T4pNdMU6o1LiZohki4NjlSD+c6rpRSOOzS5JQxc=","sWuwv/6+mMFgK7lIc7SSAQA0OvIq87nkZBTIqgp9NVk=","C0YHE+rQcyBDtCPpF0kJAMTm3d2IgDeqa3oUBcCpD6c=","VRiBV/B6P0wB3fSzATS2OXCAAq+/nVG2aos5OZuf5bo=","sv90NbzgV+0zbdeVHgjoIQfU7YrdNRoq4RRQ8rlIxno=","rdsnW4jnYX9fNdHJdU0idMUNSdca5JGUBu0hqb2SZe4=","fugyozAzx2eCZRWKfUGgSAPwIO9gU3c4jblvlq+L8B0=","8yyhfvpN6/BPZjmjA0RqENfTFJXsqJlzqjAxaB/VOhk=","4/Wl3e1ZuU5pZVr2/6oNOIgc+VCrsmC9BWOd9o4YtO8=","l8G6HII/BW3GzzTxJvDXZIGi/MSTM9Ab3SREruJkJJw=","mrp+mAIym1tUZ/jfLihqeWSficb7Qx5/zqx0MSp0qTQ=","heYABuv8pIWg0nsm+Ikky1iyFNhjRcfM6bvc6lWJsJk=","pVs4b+Q1rAs7et06iLFL8Rfv2Az4AwyMnClTHyhb+sM=","8cAXG/vEOybakjucQa4Bqo/lV8Qx6hIsXV5jUfHfTTs=","gO5sfOwYoXxcomc22lhbHUsBjaAi+m94hvO02xYd32Y=","JIsSgoAf4hFrDCDDY1jOjUeO6R0jX0YKaftgJP9iZzY=","PkEP8azuuRaJHNfxbsOgdOZLNNrOFveUi/u1N3EWP/4=","CVzb+ca1gL0pDwYbm6bZxS1Q8fLQz06Tujv6vzJ/Mcw=","XHFtHLWbbcWGBIb2H1DXnfyJt7rbzvjTIiXIcuKyqJU=","qR89e8rmtaOAoB+n+Y++/zvJcj2MffemiswwqZKH9b0=","Y4EmeJKoEzWc3WCEtkmC6GIAFbkxqwpMAyxVBW57TCE=","SxAhdWT9zsvPfbC1CALdfH/nJYi4VdI/jV0h5k+jxKk=","MF86Yw0vV2Q3fttIoZXyjcmWdQH0InmmKgMkqk5nvTU=","GG6l9RYIqnAIz/AZmFQwerJEVutml43HccqOs7gkW+k=","Aw3SkE3rhAB5EbAnUsAEt2u6ODvbi86eCusVVLqHzuE=","vmhSmOzllDYMJu8B9laU2C5rKOv8tJ4+49yXK0zYhKU=","3Iv/UzESV0nTfxTt96nbo4+OOCs9BcutKNltrMP7cb4=","mjadt0F6mNl1ukGIhpkqQefDlUYXMGd4okc8TLcnojY=","nOwAn6LZ0p7+bbPHWzwba6HGMItxFVdfnJGE6eFAVUg=","G89xHaSbWWxQZtboGTxmM5/glwC3a3xkydm9oI4bClE=","64QjjRZaL8APfBGweZHyQfwRE/fCr2IEkYue5RRAQ4M=","tRiKDRIHagfgG14M5H5bYRFwWgxABqkAa6nUOzhRERw=","kbIizYMbHG07fYvOoudd8Rc3vlTqgX+WRgwCb52/tnY=","H2rZQR70lrwz3COqMILx6L1ENpoaTQqvpkooAWI9k2Q=","TYxFzD5opUd6P5y1tOwxUti0ce7d9W2mT+B949CaZDI=","uAinBTm1w+fMQC5peK9JgeEYo/kzxPxcsLk8C02/To4=","MtlkIyFuzYtE0vXQO0ZaH6Gznh9o1QV5qmZ4k3Iplmo=","uMVDF4ouKLsjoSwGHwAZWAzEN3ayqGNXzm13+jO7RCI=","xATDi9SvAxxDkwN3DP3LvTG8myxwD4Hun0eyaJpt0RI=","kCedBY9NUaPBpwCY3Nj0E4xXOr+Sf5i8qpTYieTjdrk=","eL33Pc9t+XlIvB32cgq3U2pBMyE1FUTzzx0s7zjpFo4=","Vl1lTEgs3txZd9QInv/Ow/9F6mgnVY7UEZJRi5mzMNU=","pC9ozOuEaM29i8/ZXKZdLUxfFMmYPg5Ejz0ouKmi4Rk=","1WeFCEP/9Ln/iOBHkMh7THadlxgug97aj9bRa/1DE6I=","jzi6Eo2j/tUIzPC9LIr+7toZ0cifckQJ9e2cGHUzfF8=","6Yy7TQ83f2MyP88L9BOKbNkItWzkMxEGqnXlEQwXrxo=","ZtUYSlXcXks1ocq8disrKaXWe7hQ++5OMHfX3zYMBpo=","aQBxfGoay01gy4iGEZhoI+B1U3w9XyHBr3Mb0+z4Xm0=","KY8/cjBRT4aAPuhbmI/RNjxewWxP9vcxTriVxYGi9m4=","TUtsEC6A5QNzJltqUyam204Yi7yL/8ePKMI92kx+zTg=","rr62rHUyQ/AkxXy2JCgmNIS0ybRikYmpNNTIv0xW1eI=","tOKANbj40wNP5+War2NBlztH45ul2b/sPB7nJ2NyUoM=","FlGyUYAV68TPudd6Y4XNe55cXUh0VX+2Hb06tBvxkIM=","V4IMdAVbv8Ogxo3YNNWmdS3+tFz183+dIKZt/cHfrrA=","HaMrUL/nz2EMJeN6lEZK+g5q8ydF7jKtN3iX/9Ot5hM=","6C/Bge7uf3CDw/LW0Pbev8RWeGgjxbPgTkWbYnP8Vcc=","Exegy6YP4sfFAh/7baBFicUAMlH7lf0U2VQVacm+bDA=","Z/0P5gfLPbpqU87FWXZ8oJ+FeapgHqjqEIxO2WkVpts=","gZVXOxCIXNWHFP45vUZHistuvTtwKY2gmxLCf/dw2oo=","SXJVSjELzFA4T9WI7i2io4sIpV6LpeF0qaExWNqRMRw=","dl4fS572ZEGOLAwEOEhrQ5ejlVTteLEkCz8Pwxz1gUU=","ecCB3LYN03ZVhLmkyKSc8wjeYyiSqVhSOfflQC2JOr8=","CViJPl8Y10r/soCg0CoIPVriQJUkXh+DpwvTaMdno2k=","xd1ZpAnCu+Y0gvkhSWkeKMY0GR6nQfbPuFa4xr0zq4M=","tsrJ4pgXgdAMxRirwhRsupXIPwEKNqKipHb0lZn7wgE=","W5DNHComEFoH1gqSQV3MUpZwT7e4CW/sAboccitOf3A=","M880557mFS5o5IDAKcys7q8xg+hM+FCnrTsq30IlpYE=","p3sR/yBIuM/p4Xfsec662YthC8tRxFonkKjfahYXXvw=","evQld2c5uVrZ8KRuxoeV/btXlSQ9zLpkZd2PwWal4Ik=","jwa6kci2d+IR004rjbT+tABceakhaVqo5QHqDtU4kUw=","vd5wJdR+GgnT3J+9ASeKF6UZmFzaZcd5mfmsPUpWkIA=","Nk8nO8bpZWZ93mVn1MTPSo8087MY+FKVH30A2QXdYSA=","3OzgSY5hkAJ7J7Ac+R6LYG83h9mlGdvPV7cVwNv11+0=","5knfyz5IZuqwubWM6ecNH/F0JwBSO7DQRSwLyMVRodE=","xiyRp6YSptCl56Y8z8RNCX/FlboB4NskvaAKbAqhixk=","ybc1jXqenY2soGBmdB1Z4Rd37s+DDnll+oveEf8hTME=","nl/f7wH7UXYitNEuRV+nbEVmqr9+PV9IhhqZCU5yrE4=","i9oTMtp0JbPxDh55I2ccQxMk7q1xxfFb8pZAj/M3Cbc=","SAgXvrOQcieDU3hI4MjvZpX3jwVLTkX+Jst1gAJIUfk=","Lk+EAxMBQfSgMkoP2fY2fWMONnd9vgHqb2jxqOKIf+g=","O7fK2cCfTRwGM+qIQCGv546bQlIPxazWOG+g+V68N9w=","VcolPUjP35LQj6JoNWOI794Wl5Om03+0cwjfN26zpIE=","Tw2n5Jy9tZ1t+zZYf/B2B/5lqRMUslfTIlKKP61AwzE=","LQlvLW8btXw4gz+/kqbVzohPW+N9Os+JrkacoLntUaE=","AjdatArI4Ec7xItbLPZrVu/skXVSI+pua8nksejAYis=","66HM0D0ubEK0y7M3QsJdxdDcQ8ikIgKwwIG2GUOd45U=","dW7cV7vjZvKVeoQfX3f4SeF4GXOALtyDXcqoEX1d1pE=","5SUIhmbPSzCbqaQvvHhFgiYHcZN/GQaq0Atbfyjk1Kk=","VC7nRoK/18c5gf0S9ivPIDqdewKhKTkU5cKI35Lhk4s=","eFHOZm0umTwZOfMp36SnqoRO3h8ydBW8ke7U9AwCjzc=","5mdt52CMtwzJRAcfPV7FgMmG8x7CWuP0YcL6sjZHY3U=","RqhdJk9MUOLH3GQaZnhXGqIoVFO6a+0Pt0kXmD+1GIE=","G4Q7WVv1vaHKDIZDcYcPdpI9tmSxR2U4dp+mCmBYXBg=","uTEuG2RfaTUyfs22+ZSekYhg5YBAxpj4m1V1r07RSN0=","dEMvKCUXQCGPNf5ErqjMFI+To8Q2cDe7djepDkVkGnc=","up/x3wiozutoP9l01aUXkoQ98e9svhg4XJsSXkaXWG0=","YMNpxweGpM30oUdCyOes+81K/PmQFjgffa5JQ5FSOBk=","kDSE7BGWZv32sOZdmimUW40fCoKcoFVkC7kpawGQWgs=","pjkshVLnOC/HuiVo/8gm0wXfNaffZRdZ5LSzTV3gELA=","P1ompaLItTHXuVnLYVhcGqrsUAEe9uvl1T3XpeJrTTE=","6jh3c4QXKMteG1LnNMHuzlUdav8Ha6/DuuraipnK7Jo=","Xh81qZ3wcAgL/7/IzUTFQ4225OINc+T2K2me0ZjKkuY=","G3+LdgLXmhkwuYoF+naA60vq/N/5GGGpJhoDEzz12IQ=","EIwVGCIxh85Qe/epxpu2FiyAKMhptpwx6Bu1OOTL2yY=","9IxyOdcm4LzaFhEBLcitXc790v68+Jv+oFoKVS0r28c=","uY9u8vIxxYCtPmB7NOwoakAogSsjcJkB4LxUY6p4jU8=","LpQD6WXj84fzWlxnxCM3+aM3x2onYkztzAm+/oH0jbg=","htb2z1uLaC7F0BiqtITuskvctnMGl3QLQyvr+nzf2RI=","cdnrRG9h9vHOf/4el6mggy2CI0ZmLmLGukgHlaHP0zk=","ieJh+wNT642q81mexwAWlHIbVhcbDKukeiHIPnawDqk=","m2dHwIcr5rehcf6LuLC5mXIR0sb68Kn7HFj2ZSRxbQM=","akFFQ4iiTmnXMzBRh0lZsbFda/od/bNleAc7FdjB9Dg=","b37bJFJGIZ2wfT7SahoSjQ3Z6+mITgMNMzlHDj8fWOM=","nT9LhIKwbMPMUG0c0EGFIInKTXqbQ4TWdsEDYcdS2hA=","VXRJmcpQGZFgcFiamOu5WJB+j7nByzwP+8GYtoIiODs=","oFbgMokV5BkL12L/DKSnJ7hzzfodmDjkNUA8uIoHdv8=","7O44hqRRhZ9mo6gtAs+8wLQsTdom/bDzIMgIArQsW5A=","HhBMjf37tBuZ14vwLj2AVKw5DVEn8YZ0lXbat0+Vd7M=","wv/E+wdPauR36zCDQTfBuA6oZ8oICtviPMKA/oQNNmc=","SGVrhp1gxdHBq277hWPC/XVx7GDPvMPcK38SwAwUECw=","77LNitImLQRDHeP/kG+bQZi3RuGxlK4K/BSYuJVLR1Q=","yD6oX+ixggtHBzxUibEEwUo7cZ079FTH3AT5Astcg1A=","Ks/Zx3+5cD68lCPoHsuQ6dw1z/+fZsoXke7h8SN1K7k=","S3ghI7Jezom5nSB65IxpJy3EHXZBmuIp++0QyDEzNNw=","3Y/AACRzsae2ATIJpN4K6FiyD+j/4twmml3JVhWF3fs=","aiCYCg91Hi9IBqGLxIp0kvjXtw0XzUsSAPUzRoPF/Dg=","ZHkzz93iFPrCrKG3RuKiwguGdoEAsS0lY9ikiDaWpNE=","VXWaCSa3cFcL7PVuotUR9RB0e2pFTsmNNckI19/EwDo=","VSy5Nd3m4nZhMVFd4ZeGHeHxUvAb6GMUSDsOhdCTbZU=","557CPJWv/08iFiMOMid0RhOP3uQoQWJM46qwWwTMWnE=","k4KWMT/hSXGYtTXK/medF891rNa4+r6p5nmgi58cv7E=","UWjPjJvS4EBQKSUOrUO2LXwoEazbEgRr2g1oe/X6VXA=","13J3/nDUluGP4SMtHxDBpZG3V/O5w9hwpGB+S2bPyT8=","htKkzr5iP+WrPvIUgRw7K2DiHK8XTJoOR9TU60ztKTU=","Qu8zrNvxob/kIme0ZtfwZ+PBLIaiP79OnY04hpx1E/4=","vSiKnZNdX1AU57FNgfU4wSimTOBrxyxN7aCH/2I23oY=","zEYmlAsqb6WIj0caZOlhDd1cuFbAPsvb9EQUNp/4Fpc=","z20uYWXeNGlflVfg+mRU9HdQ+7WALQhDdOKwGzAYT5I=","b1I0/v1lOiH2q+S8/ErOt7ExZr4kptuczv1Sulicyzw=","UoBgxVasiu9n+eWaJ+UwA6ek4IzouhzCAFgsF5voL+A=","J79bZgwIz+ZYH5jjywYDINoTWcIyDGveP0OSK38CNuw=","EOgoW+YrCGNNS7TetMJF6DWrwBCkvZ1LT+Blz38mymc=","xidiBHjO/rJUsVeTi3TkDhs6GAl/b885lK47T+VDCuw=","opEvVH4cBolwhjxk5GaIDRJbGGYIe4zf871ViwFXmlg=","ms+5pzQ2LE17FT+T4T2ddwV1twvAqlmwOIFPzmrY6wA=","4xS1Shf2hxrdftUldzzBC+77DbB4HFi2H9b2c8VLhNE=","GQGehn43M0wTyKbrQ3mVYp67Iskzjny7L9abzza8Tm8=","NgJM3sjX67Z25dzqjoo8UrObLfEd2E5j6xs3TrbcZ08=","vOAn4nsv9M9wKEuuU+OqieE9w3B+dnCCxbWq2eh24CY=","syMI8Kux7kg09jrJHRRI721fD5QVjexlrTdbu2sYYlQ=","RuS+UmHKv6zuwI8OP7BwHGgffNf+sExbLnRVQjW9BTQ=","WuLX9tlHso6Wi2yBh2dbcPmoXAoDhxMpN+2VspDV7Mk=","cpW2QCLk0NhnO4QxMjaJpGJp7vCH02z1R9oGiaDWgds=","w/MfrGolfbv4EFYb8WCnQnR/WYbycnQFBqt5eNNKCc0=","IXHu5+RgnQNGiaRv8JuGMVaWz8kppKUV+3grSeD/ZOQ=","akszGYr7Ldm72ZKl/d55LoO+N3bnNeDdMyKvPFzLirk=","OIwJ8Ko3OQirkjalWFwaOCDXr3M4OHdNBApd9HUkG6c=","yezlvQB2yhnoPtw01FjTPz61+17eSB9kTKVXVobIiJs=","UCVX+naw5cXxSplwfM1aHTFdhGMre86VKRs8pe/crvE=","QKEN4DpoPGikziCnhhbYcji2Mh13QrmpWUFZ+h6uvsU=","QgBEcg8sqbIKQtqcPagkMf6YNH7Bg4q1XKQXQ2PvUe0=","W6KFDMeLcMQfba0+eaBskG58PJfjFgcXqaU8BX3PaLo=","3AKVIx8cACkyk1DWChRsHUfLE8GMkZSKfo3/TF6iQkE=","Ww7vuD2VvO7PctPWWTo2omLuPBj7uSeXtG/ItfgXNbU=","inobOFPWZdTkDURpITWqo4fiEH1WBpmWTEV8FE6FkRY=","FUlz/oDarz3sV+hnKUg7u33yvxu5oH8Xo6bmWzM09Nc=","ZO1q7Z+SEfLQfN4HxLyq+pNnGqdMSq9f+OVVC+IuFcA=","GDQc7mwj+9VfYz0y2HdJeVXhJf2n/0v22cTy0541RMI=","RA7EZWa3MgSQARxDo3wPmFbKgZrY4wzwgWAExWjG8OQ=","YG9W9HuBuGpYesD/QfFcaJMFc4gIa0h4qLPLF4tfhN8=","9bgwJ1TXnliNQUmCVnatispmrDx9tiJqV17mo54d3GA=","JN/aK85Iubas9/CDZ/miZcM8gRnAtZ9LCPQJoaUwN3c=","ajaAerZTFTUg4ywgZzsKMZ70zfgTdvSyDdeLc15FxNA=","9+5stUR+Ng0ETVc1Ft68aPB5Qv01weGaFstDKilwPSY=","FJnyl80B0QOUQe5S9cm3q5aXIIy/9k+GMm/VSSssYow=","Jan+oTuiW7ASc88XaNyUgVGQcdTU/Fiomr41ry55CZg=","nnIGvxEpoSyGIN+8MxEqb74muVt18r8DF9yQz8rlEOI=","ssw5jLoXxIXj5+DDAE5z/rpae0MwfvwepzOwgE/gBm8=","LqBCPU4X7aPR2F272/f147yucTiq2Bga7KzbfUS49e8=","3+vuzS1iG1JqHH5ZT0zdvs5lkKF7AqPXXXjVQoIzGWw=","xIfcocBsvr2uKeY+qhYBH2/HPB3iAQKLKFwuII8iigQ=","cCykKP2A2KYu22I7N1DxOzRycpNz7SOWwyoeO24/MWA=","4s78ymzOn1S199QXBskVKgqghtzJ9nGDqsZROmX1Urg=","c8gh9CQbcQkyETE/0HKXrogg1T3NEn3t1L4Ei9CSLOc=","D6c/eTKrVEBVKfZoqjf0utYVh1LczBCvwyHBXOIgTHA=","PLUqN3l5hWdLHwMH1RlBB3ZUR8vaMK4JvtrcO5+aNFM=","vhyPZqWwYJ/psBGsh5SwsfKyyIG6xhwd/taUDWDDlzE=","ntHfDd2wgr/pnAhV5zNRWOp5PwNGptcD/AZmyKIjxmg=","fv5/gCCgtSnQcuKNeDcLUC+ZSW981mm5R09YfFNS1mM=","2yz+RXURHY0O8CfbzVZoHluRQaovAV44GTkmS7vCM9o=","wJcXBEi7YefF4yQEwtgY1hTHsDu92FrbyAy4o5UNxiI=","Dbd1pstuZGAYNdgUjdBMOdUxjQOzQAc/QDCW0d2lfpY=","afHQtVuaDlPSwkBAlC9ytPCU128jq1OXmgmhiLEu5XE=","drSGHQxL/Ehh99qIt+kwf3OblEJ9ACAyQ9SZwEESLHQ=","teY8eaRwg6Z7irSS4zS9F6C2bS5tJPE4+J1oSq091fk=","FXaGYa2FUmkMaTReRBKPhy6YF+ql39coE3iabaYV9Ro=","kO+AJXZcSOvtDy0D7K9CwvWJxlq77djl6hbFI1j0D80=","E2nVw2JfUojdnMrOWxpm7uL6r6wKDq2IFo/NDEK8+9A=","6+beWmjDw3UXc8+ct2kIesD2Y7AWml9NvrxLosQw1Qs=","58wQd4G6do5reCzrGvI9Cqsa6Kt5cvpRAA86kfGcCt0=","/mwONNEejz8Pvd0QiMR5iRVbn/NTDCnGnZZG4sPDbn0=","hsN40VY7GQZonB/qJqC09xwBPoaC36nAx8G54/YwtKI=","J8R4qUMg/tcqXpdlW5EFJ0hGBTbVHgGd2OUL0DdahLU=","I/Tuf1hqi91PQkQT+JIdp55GcUjxne3ikT23qND2KiA=","m2rzkN2ekXWet3NF3TwoL3EshHRxd6sxSRla0qX30F0=","nEmnL87YfmG5YOSNwPnMaW2bG/TVnG7fIpGZZ3dyZFY=","lhvPsN8yLNPVfZRLpKzMfb/7B9i1zx/NExrjP3lSWsU=","aJSRJq9hlgiAJqJfPiXxQulZaVAj9CE5/5U7iXNNON8=","PlAfimDxqq7IlQ8d2NszB0aMpCUkQu09BSxkQRcI+IU=","xsQ0LbFrz/QGfRCbrpUaVW7p5dSuT2Q/O+uq2crlpmY=","PXEGmHb4f4l4mX2J0rn19eT0+Q2nXg7Qz5UqEzC/Ep8=","NPV1d5h26T2jboRKGU8Et+62KZs08N7WkjiD+1vC+80=","pHcivYJ4PmeAMICzSbVrlM7gcXmOWy+SUiCjrdB+enc=","loc4PPvu3ZxELE4XKkKYl/XZPs7BYWg1T9cDWxThMA4=","5RsF+LabzLMy+UMFPM12WiCR8+imeBu0eXZbYvr4vQE=","2zHZfyNEYqMzRZ1DcLXy6/7Z6XLbMHhd8BYAZsmQde8=","Om5PVQ8cWAUtHMSvc5WhG3416y4C3PVmo8f+7t/TymY=","j/e44tNna0zIKWsHDeBiyVdopTnzuW80iULhO92jFDA=","lqdmHO63E52FhUj7FxuFHQLMkZfwQd75+eR2zo3ADxA=","msKovqXel7uOQhU1OkVt/vBPwxqQXn9Wq41x/mom1W0=","wjGtz0YloFJwFwNa+me1VdnLP7mhD4Vp5HZgaki93K4=","Qcx2APDQulsQUY0Gmz9fdvVSSE8IMnU9+QWh9twIC2M=","jgT7X+49jmmJwAjH/JINvCMQY15Vc0xQFmwDiy7ynrA=","i++KQ5K2+vezPeh/Atwi+4hf1ojwmrmzB97ei/lABwc=","83ptZ2zedZwNQTxVWM7xK+4c5HNxOB1xcmma1+upXnI=","Yj6DKQptX/5VN6qMbzRrqnOt3uXbcy7ZFs1O+SFd27Y=","3ajCFHtgWDWtLkp4Y7bNP0hLd1W0H5XNuSnYS4EZzDo=","l5ou2vrH4AQoc1opm7qnBP8p5UQTnxsw19o4ol51pN8=","4wxIXLKxfpJC2w36xP7RIJHOJ2hXo45RkrNZ7cCDiOQ=","4qvjPkRW57zng5IZ/y+DYCOaZ85Bt48miUe23ePn6kc=","L7+jiUvM7GcJcbLU8cOlaXee0gZ/TE324wtyKPKP2+Q=","swFaMrf88PUFWaCSDbKZJ/WCUCBOpX1AOfSqYDqL7Iw=","+v+mt0TVfBbe0yBJQrhXTXVORpuGjHc10fAzU6ec1f0=","r4M4Z2QsjUKmsw2FNGhrmPe4o2YvElDd6JsMQtEZ870=","0osWgosj4BoKnScTezwCtX01Yd8iQzX0I0S7GXHLkwE=","vUZ8BM5TMtkNXU8tnV6Pwjm/dCx9XeLUlvSHwTdPAXk=","HmcvyyekekGzCHGKIAwPVwRjx5kvn/tI7kleoq0iZ0A=","mIM6iyQ2nMWaYVxjAwkh7gL7RAQ4ZKsKglzLJUpymCo=","f2xftxsz2ADkSbIQh/gq5lLs2A4NmaPvPklAlNUeSfs=","kvn0WrvKVyM1N2F+tRApP1gLHjdAD0I4m6xVMSQ5eZ4=","TNl9FWL8Cku2dVZXsjUb6wc4jCW531lMnT8ttexCPBk=","QaVkOnLSaQx2KXZvDf+oAHzvwRvpcJsqfwbIVk/gLg8=","m/IPK7PQ7jtR+DTeIJicUVvN6btDleOYYqTjMn0+BCc=","Sp6J8dGMKnYImjeYYLwkKVoGSoDx87bAQ+fuwDrTqzk=","ciHskSJZB/4KRnqpFh37Z5mRH8mVHCRBtjtlOlTLL34=","k/rEXrbuQ8RINk39tg+grp86HJxsDxKEpa6xyAWOXIU=","jhpRzhoO5NpjKEcpJ3zRVGMpJfxwnlwbaJaMq0eXLio=","6JaRYXquo+M/iItBoaqNrp0ptEvgTx2jvITXNeiU0Ak=","av9AG7rgfChDBwLrqkiPAM484gsWch1ZtTcp8lpI5sk=","oyLPiq/48Jy3wOakzFY29MN60WrGaKBzhNUHzGAPOGQ=","ONbLldCrki1er3Or9McIBon9FXP64kQm+Y2UHNhNTPE=","hU0wVFf2j2B7G0ap2oCf+4wnATp13lFHGyWu739KKTo=","Z26/qwsFBIKgFsCx7Y7109oFqvNbVZwE2cMsiAQ15O8=","OOXrzbJPuu7+72+u55U/bcR8KsbOjW1jvOptKMeqSB0=","S67QuwETZGSmAPo7O+O1yUw0Dt8AAHVn4/F3XvxdIOE=","xPiycfuiTGkIDoAWB1h4H4d6U3CThZlx03L6sIbxbn0=","+LnCmMPdKEM1V+B/TJwGzwvqRvNGm4hyFia3gymd1Qs=","I1Z24x2Lah6ZQlM5UdC4dvIAa/JvAj4iVXT/0fxgb0w=","vlAfIh7AEEAdJiE7eKzjGsPz2VLIq69ufZTCOKOcr+4=","6Z0muZs/peQLpn8SfBp+hmR/bgp/nhfCFKBD0x2DYq8=","DDVifddxRiBr/vYKQHlN+MhbqeYxzxwxgUQEUaG5+aQ=","6au0Ov0qicxt3imLbDYcY6yVQ8dqdqeIfya5PcJB/fI=","UrSYTwe1woJq0MOQn9xTGCSLjp9fBW+4wlG3FrnTC6Y=","2E+NL5uCEDLNsJH5Eu1Q/eFnlPvvZWRqbbBjKsYKujE=","NGkIG65BaD0jtYP5X2LH5c89Gto9CchyN0ZlGUpzOO4=","cWLTFfls8TDKhDHTxV6N4cpcTkMofQeeeN9H1l6BcUE=","0Y0cGIMvEoXSX6P8Q9RpdZpNOqGMX6FtV/7Vnr0ke+Y=","2Zblis+AkKVGCHc98CVFQEW4rH1d9TxlWNTmF4Zb6Eg=","dL/QPuVIdwbxo0RmZwPeftuTmIbQRlD83m7kRxtwvw4=","MMpoAh7FbaVMq9YnGzdBkEwXCHMBbLJN4B6MD2+twm4=","tw0iZShBBP5dzEF23ajo/h8OCWD4G37Hcg80EFkOphs=","TfRzkr7p0Yt41/1MP0++9kF7h96L1sGespuDNHkS/Y4=","CNbwO+RpbIUYQtxH1qKJQOyJsVwVgaY4/940SeJdpPg=","+UaOTDURD9jOdDn9rDwSJ3omCdShzA98guo8L9eX4hc=","MiDBFkAV3hdJ2T8Q3htX6+Fm0OBGUh4IWzgVITATbuY=","Ix7VMnZMxY2R58X/jzhphDTZEhsbfx3MudUzeHABAxA=","xamnGb+ZMy5g5cD+GlstgkXTxvt3UjktUE6EK7C7Zjs=","9fjGh66ofGr1Ad6rvpe1pYGehN9+eG+RDOeklJ32ATM=","DRZ/OzMEeJV0P+Vqk7AEBZYs1FcYRTXdshTY/pBZiyI=","Slg5+K6myGUe+E15lvk0RhImWa4+B96f4Io8t3TU6Ds=","6V2eObfy8/jrbmsuezOJL/11AA2SlLmFT7Df7xG3G/I=","pZEZqI9OATWh8Uf3z/8dONaxbttUB5frW96xUFVRn8M=","MuUbwFjSNitE2+oPgeeCkjG9ut3hMcjQvukuyKmC4qs=","HDn/Dsh2qyeltBjMVTweT3AgFbw50Y0DnXIdhlPXgPI=","/NOLJVDI2LPXDu9EWqF5owAqCkX2ddau3t921kPKVz4=","MTS34gwyNNEhERDmGR81kdqoGs30DIbtkV/EUu8U0Uo=","f1pqiAfvyWvzhQbgNVyzQRu8ujrMX/H+HVe5XuXKVI0=","x96X5xbwrJ2qgXwqrDTUOSbhgNJX2Oq0/YS4p5xZbzA=","HHfyeHMHFtnJ5EEAjue/Bn0dX3uKUenveFHIFgYZd9k=","m9ZV0nWFa5mWhOdq5sOB/H/sgMD78dYcYhuPHZWOpUM=","Nl1roSlW6gwS5QK8aiOrijzd3+VbRqlCdl1nSeylr5k=","I0etgyEucyuM8PSEO+yqxkeC8UmC785KQrOS2QJ6EbU=","OAo6AXpFjnbf1FyqzO1j5artQu2zk8rNPEBBJlNhHyk=","lfc165PcYUqwJFDLBxbafj9XOJkjEQk9yMzy7SLUQTY=","IFMV9uaqNM8E87Utc5aOmSqdxKRivTiGjoRLEjMAbFI=","4lWTQqef27NcEdt7yc1DA2WdvMOmJ05NXAkodvvR7EY=","4BnTsT5JiIwyw7zjiPd0EnJ/JapkcOKOv8GUuT7sL+Y=","CRUgEy1N+x6ES6R6OyR4f1EdryjM5p29gIBKebACG1g=","RU+DvAy3byCP3Q+s44a0HSVnjCm47C+aZshEhcUmgp8=","T09EcvAQuUoi/9El3RVOUWxbY7BqJzMG6W11dIQTCT4=","xeeZlGPlYH0ZK9wEDD4wIksHCT8cTGLpJRD3/dxuYXQ=","MD+qi7+jH7s8RnseegWG8WQ9Wsgp899llc71GoB1svM=","+5hIOwNwI0ospiMMQUAR+qvCKqPT+b1zUTyOx/M3Jag=","voxvbuGvfrKe1O3wUIOAWWbR4Pb9ALwP6k/zBtTZ5eU=","DO1nHav49iBzxO9ta2mPDIWKET8BSK+ZK6U5Zk0HVek=","JzFbzBfhWrzVVPn6jNYNWvEGr0dMAmaHuJiGlkelaLw=","5GNf0N9m3ocBdorj2CpZBVu5C/LNs/wto4THJyjZQnc=","iceQzIi+/po5knG0cWsk5hzhkdSs66lwAz406cuHu34=","H+4BxndSsBSXbfjDvVxBveX7dFTPJ1/8YwtY4OPq0A4=","0KrOVJdn4qJAj/wghbmb6hLB/ncqSTfgDmmla3pzDfo=","BuPk5GbcnSpbA1s67m+PotXi2+8a8I5PBudeFG2p2LM=","kmpvFKt0j/MmduQa3FVV6UCNj6k9smQ9VzshfxuA0DQ=","1lBgT/tMNSmub12tVWznWc4Clfl9DmsREwthrESsdEE=","qx4oIpUaCZTgGAVrylW6AYYqJUySz7lCa3XDSJGCh9s=","rdS6grx6FPt+Fej5y3kJU4W/E7fHYYq1eiqJhcY24lA=","chdiTZMaSw38lW5wduV4JE3YjgeULK2L7CaS1kzjooM=","bMW347ZLkS2IQwSGe3zgL5aZPV33VDBDC0kE7CIrr1w=","JhueK/WEgoQpwX66fmqtyfDvaM8AX3r0j6ZMJr9wU0g=","Bt8PDFfyWYlmgSJyCiYJodHtRfmHkwfwh48dg/WYdTw=","BYh4i7Dje7E5dk9IDS6x+qdk4rW581qdeyImkWQCJlQ=","migy9DwNgDQmltr4fH3LXGVuJjTH3a18chhkfpBnfsA=","HKB9JOTWJ6//ZKWShd5NP5nKKkHpMwsQDVfClEFZ8sY=","PuyVw10yjgQIrHiq2d0CsFju8rGgEgcG109zG9cyIFk=","poK+MlS3a7Rfm0BiZW9oGcvtXBarWOxSoMQlbV9KZjk=","l+ntALkxODa9AuNIkSpMOFYot1nsDkIMeQkfWGeIc+U=","uQhK0MrcjJ+CDjx3F+mrU13pLMWtjL2k/iF39S9rb2Y=","thXVPKujxFIZBpPUfDTsFHztSoMCTxfhOPdp7N2b9Bw=","FyQvqbSW5A8I0K+J4Tr9fb8Xf73Umx9dwl+zgI+UqEo=","wCp5/P3X0614B5akhXLkJJ98+ecdcSxRB9uwHG36xD0=","GsfHHB/Js77U11JAurVMY61Poiy0t33aiwI6Z4Xw2pc=","+XsSigAAwCjPHr3PwYVzRhMVlLssMwqOr0xmkMIsumI=","bJWld/TX6RAc/oXKFlHHGUWtWCmdoUbPMMDG4J25Jvo=","E8vzWP7gpd7JdWZHk2wnx3LpSoMGT7BLleTHO4f73Oo=","i2AwSDt/o/zz9NrKL+oRv3Vx5MCnuor0aoZ1EDWc/tQ=","2ZPLCXcincchipc5TY+QePSZqFVBJYqy8zdnlsM9woE=","HYr8x9aIXfwT4H4n9HaxNIRUNdiK0gTbfOvdLGUcuag=","okhkO/sQAEXkL0hfNwmwHJneHjHTkniXgI4dTqXpdxg=","luKSKmQkLpZ/ql2rqhsBHcC+4SmUjljZOSQY1ugd1Pw=","uV1yp2OLMTZDC9235iWlEK26WrMCBb1Rx3uBjcof184=","jr34JC/0dB4f6T0tqvEqaphNVvv0jAZ/8f6n92QC2/A=","9xsR8UUN3s/1x7EhBJGZWls2dVoZ9gStthqDVoSHCD8=","JBLSz24Ozbhuj1zLK7ExShbGJfRc8EkQeOaP1hWaUBY=","Iq2Egx/34WzgH9NQg4G7I1C5fEdLUSBI6UgII+nioi4=","cV7IHqh08DDg2/XG0H1yKJeusU5jN/InSMPnkqlDDQI=","OErK8ejJRIcGfruK2FoCCb4/HnHn/YLuHHAUzhdK0Sk=","2B5uvvKNfJUD7l3Pze7zCBfiBiNN4gi7gWwhtefE19E=","8dUXHMmkopm+4IpBFmhitSEY6FQSr+jcQdyFHnhMuJk=","xrbEj/xCNpq6J39cEo1Hu4cM4BEadfy6skeGSRXcdoA=","Y/tNOPR+tTzdbjPrOym3k6LJgvpfyladU6EKYOlznyg=","HccUjufigTxiGyIhZ5hglkl76Gx07EVgRfg38eA6W/A=","pvnLYQNMbLa6AB6Q/V7N01TduG2PfTBaFUDpS4TdUs8=","4owbK/RxLIPk3KJU52o9Aenwm3y4ijVyxSYw1ifoEzg=","Fy6K2oJYCYo7QBbDbZdz/+Rx2QJIJrhQzOYysGi6tAQ=","x4mLmJ641oZ2CT9Usy3cyVtsV3U0Vx9KzoAJ29NyBVk=","6/ORS79GJBFStTFhWlOqoyEcJxisdki/tuRX2l0MEys=","sXBE9gFr7ndwi0jYw2YGhgDDbbdiJKIjTnFdSGOeUdQ=","EP0qV8EOHAsErBivmKzDJKdYjwDP/hrwjDOrYE/k01c=","riJWMuw1+/aIasMVP5HTbD+B68EVo21El2qB0bYo/04=","TiG2/0TgMA81fRaDEOl9QL+Fsb6PY7o8znSBaNXETmQ=","+AzHtpcaL1NGjgVeFQh8w6vGZm6rX9w+NCQValfBF80=","WU0NJqmK7NPZRnPyqp5YMnDt3yRaVIbQvM7Xevfcc3k=","/0SeRWNthlH2e5/syRPCuluwzStHGMGabWTNVlTnhzs=","muwwfGrc2KkqCv7ErrG635RBsOBXKFkrClKpEEoOYZ4=","Es4Zn7SUjp5mqd9nZdpAf2XHFegnFk5GmOHpXWxwOEI=","HxMWIfqpVM6U9aG/f7iO6R5BK6nOmsq+swA/jv31qEg=","ywiyk4VK2yKZZcSX5jynohwLhL4ju3M1cyEKea1shNA=","jrmLohJ9pwRP2UgC+6AM1UYvzXmdrtDTxeiPAJqWq8w=","9RV6e4INpI7On6rctWns3cc9zFJp58eXcYNCO80P6cg=","46vUJAZHXykGbZLf3VRSS42S5ZVFVDwsHTVnNi1K5qQ=","xjL7c8ikZVlWsEU/SV0Z1mdR23pLKXvjrtLb66Kn6PE=","WLPhvhRhRqLRwmBlVGguov2YE60PxK/yYddvDh2wgeU=","kY9UjtHaH0zwGkHYMP/bMt5FvVOFcssEui9fIKkFf5g=","6RIqYd6DSaf+oYT8sM/pezNPLqSPd5AHKG4OGde3HrA=","EmP0L9OHTS5Qny6IrDHSJ6TfqosXCmuyIjFoe6jxK84=","udblxcpK0B+IMULr3xbuv2u9s885Igh69O7J70yWbVE=","bqJKIufFIK0zlGLggI6ey/kCdJO65BAXZqT/2RKyil8=","1zsQWBMBAHqlIiblNkulYe6aATRgnr0FTpTj5BtEsnE=","TvCzkTLg0ip1T4SaKcawc4sqdOPU1twzZ8H7n9XlWIY=","7C8oVCItsu6DSCS7XX5cemuveyeBmGQf5fizVIn5m9w=","k83R+ktEloq+sk1bbugo48rfq15uvn6wZtMiBKSbZWg=","6WLAXIwtaZn0pV7do+EQwrzIZTj6e4jrYZxW+C/02UQ=","lIZI/Mj8YrOM10qRD3uuf/MZR+RdkAnpYUNwSm1gph4=","6LAjP4bcPD4269Vl1Q8JpFTHehWnujKeHAOJMjbjoD4=","Yr7+rsjPDv/k8R8RSyPXjaJ2n206yyR8nFRoDnxbgrg=","6nszuH2CdYHiiRwa2/buYt8K6oXQhUjyz7O4agxIBdg=","RuCd4moVZsLV2hcMKFw0WSZuL7a7RbwhwIrFWr/i+Ik=","7KjNBjsxNuR1DZjyg5jqDfgx5CqfqUrdktUrp41ZlGA=","wBCNY4b2i9gTv14IlPvRWLFnqsma9UlG0suEBg2CUUs=","DSLNQBrESNES2uvg7i7SH4WROaI1/jruZvLVsB6eMMI=","P24aWECqpBrJaqj2DzGHfejqvAvxBQJt6TGgNILEe58=","EtQr15aNJ71ve4xGGETaLzAKzZwt2BcWi4tZxuLgp7o=","7V527UoYfo1mbeu0TFw5TN8GwN1+E9/xzu+GLWYnkZA=","zpdusb0lZmYWptR5+ncKaGqdO8hmT2TgLVvdZmPoHvc=","TYnm+YK0oP/vNXxp6CFgK8Upj7uqPpIGW9K0W4WZTQI=","yvwpTgzacUZBnX0NSjQdKKGuvxadHFGagm+brHpLstc=","Fl2pCouPfQ0ZqmO00FMaTcmuV61ou5G5IHmnMSDeKUk=","NnQlW66mhRl9MyPoZKxlh/+UCGcJ4K6qSendMwrOvKY=","gQK0hkoAoE8oyesYzA+VacBwVAu5Xyo9e2iF1riA9Dk=","N+/MG4Cej1bjqSfeJzcy0dX4yGS9aZr4RCMVlIcQ66Q=","SpDeQLm5oE12qDYC/CHh4+GAb4pWQwRQQMwc0dIVdFE=","SqBoRMaFnSdc7bBMinRFpxUXxkFoJmiyoJnJgXwxvok=","nTuLKq/1Gty3IK9v9HeTTH5kfLA5ge9ZBc4KAAluXA4=","Rn2DOIrdqi6lzy+ZQpKGUTtgfkC6Lax+30ccZaIfzeA=","ayJGKx9+3lxKk1a+lusmA8qbIAAtmUtYHiqFRm0CE0M=","BjaUPIOIUCxxflSwWKHgnWs3lzdkhnm4iJAzs/4eX3M=","/YbxYx+lwpFFZvAk9UjSwJ8ZKvBkz2xR4jVWSYINsMM=","zkCsACmfwmI3qzcGK+2GOOKxd4olGX3cZqWYPOsy/D0=","zyFZ+FuRc3/MOtftrYHayC8ZY1A9kdLhte/uusX5lOA=","9FeS+xio1dQL8RJuhsq5RQ5dW9zP2WFFUSckmPnuqGI=","NWgy6kLv1dFBfesXsWXoB3aiG8ClpChMlACNZjvG9ik=","jndwDvjeTjO0WoUuyf+czyMmm7pr7b2xa6M31QFassU=","llNDu18RpTyNzAyHR6w2ZX4J7yoBLSQCMSUvcvWf93c=","SEEXeYXKMSWbDC4eF0TZesOR3mIOvmzcnmVNEgPi1PA=","4O+rFCioDzMqqJNPb8tFIW+9zHT4dKUeACv5LaAmVhY=","6cW0wUQwDTcHPmKi8l3tzQkydP/ve71LmHswo7EIPdQ=","1FiSw2VGBHAUwzowml+hQB3nKlX/BEiQdHBUQVwrdAY=","86aLK8sswXL8O1GJ0cQt8JQ8mV24wF484uUXRqhvrI0=","DZChlbx66tBt1YJbjBuSB+C0F9HqHYre8ps8sByoj64=","ZPxtr26C/GmOYKo1XZB3Huw8NtisLd/AXwu9ANUX/yw=","30+Og5TjWVc1p0muxgeeY8Mxy91QPW+fnRQIIC60suE=","cdYBSscTlj1BC/b9HpFT42nMFPWzVhlBJ3Be5A3bPtk=","j1OwzbperehWQXti3eUv7A48InoDgHl6IAG9RsXNMAY=","oe6XLTDARAlstHsCScJSkBy90Ci2FxZfSxaQhnXYHIM=","rfOcgLCbG7q786QCHEClYPM251S6CsAFSRr0FFsCNcQ=","zMtQ3Z2Tw7ufdhjkg9nwNXSD4o4CvY37KAlRa4S0ENQ=","etk3YLvAtOVWvwnt9qvGvNQNSmETpWFiQnFFM4Kws1g=","sbEe4PyHd1t9EeYQdV3bDFko61CCGNwM6MSXLR1x7Bc=","UbwFKvRapUQF5mHKL4egIzy+mohhAixt+4S3auRmzwY=","+jp66tS5FqTgqRrnzXUMN+FC0zVmC/nVMWa6Kg+ZtmE=","bzk6byfx28eNjMXg2fyfVjaDLv76RbT1A6VkUW0mOEU=","1gAIULZ1Vf2WBaNVfg4qIibZBEgmkM6JdbuRYdW4WaE=","Mx14wHn/cFpXBicZ0ECjapgRU1AtFb2qSc/rBkNhh4c=","xE2a8ctwvYCjJrRJ0DP25+oCbfa8nNqocnOxccWN6hk=","2amzS6PSFK0qteC7U7MJ5FD8F4SBwHFNUcBG5SBPKW4=","cKMdSHIFkTjxgLoTf2bLdy7etEyHqweC+vVdKG6kuFc=","DjwLTsTqTm89UQ0vvZZ/PMV+rRCUltDJK3qOk/F7SrM=","7DfBSYVb0nBUl3bu3yWlbqyQuTsw9vfKQGNMMl/sh1s=","p+3jSTrVehsWz6n+LYK5hgVSz77roNnoSY9znFUggJg=","yWwZ+1j3UARKGXCoUiNQAwHGDuOVy4Up/DyukiXuoFo=","MFEy/wZfc7m3PwvrzXq3vIn13MdMWIxUrrEZBTmCNk4=","Yy0gZDqI9yzAGIjDvglHsVmCTYNsr4i+C94W/zfjihY=","eYf+cKQhL8SrlKlkEax6PnlstW+UQsQkU2PFF5xNXGc=","Tb/2c01/a+wY6XqIIqSkiC6lLUvO5lNt+sKN0bjOI+8=","aoF+7ib8K5LWvVTBGFZ2+UbwbweF8Rqb8XhAETyxFek=","uXszhjJCPuJSQmzPbTfU1YJIF1e7Qn52QKjS03upbag=","mMkhXdvce7r3S8yGW5Yc+U3EI53AhumXzNr8IhWUN+k=","JRrbPuHvaO3sex5eZ55Egd3MNM4VAWhiEOtlENYjRV0=","Q1xF7xJs1SDjRHWCvd2VPT9RxwTBgvJ05eK64KHkR10=","ErBjE54AUbnLilkKEEChFLeFKGNCscESYJ+jtJbQyyg=","qwypn0OuSuIMloWvVY2i5+u5A/8fXrAtgnEAnBtMPlE=","OUJp6EkwbG9ALb6eARzGHMQSwZF4Zq0zzMSGCAmxVUM=","EUvsxbHnl9yRUIDL+NIEUsQjalxdt9hbYaQWGZixW78=","7vDNt+kJQdKiS/AQkoE6PhXvY4LhWBwmO8SmMFghvRA=","qya1QfF1InGi9R8Hw5is8Pz/dzX9EVqe8eg+BuB1sTs=","96RtGTde9P5KpExd8WqL24MZwX6psLCtQSmFw9lDb0k=","UGM4Y1XTuYSzQ2ysNUeSark/N4jyMi26rFkBcbDiR08=","6IaEbw3nQA47UJyaydrEtt6UqLw6I9Qkwbz9EfK4CZ8=","0LXPXdD/rHuQusGpNI1usH4D+cVCXu/ww8MVX4Ll6MY=","BmwL0NegtkIRb5YDtQHIP7woTBpwDO0ke+LZJaSOEYU=","X8FXeY4kNORe+/direYpf0BWND+aQbhrJxgQT3xcZUw=","Lyqq5Ou0MqXSPc8QANNveMVvMiL5+V+AjQWzaaVZwOE=","EBYQEiZFSybrYERuAzr4VZ2CczWbyaZX8x7KD789BPc=","vyZJev3k4iR8fSh3cGuS61vxfKrINUxbL8451jROGUs=","JM+B2P3BmHVCPrIvGbnek/RYkrDolnpfUqhaqlC3k3U=","POWCzGsi+4ISNeVPruXDEsghSXaY7XOnrZVHC4vbKWo=","BUdM3ePVRWzMtCWY0gJZBj4diHyrc8+izGotoinZStc=","vsWunEPCwmJvYgMuR82AtUuan0S5yiy9FHAIkQ/hQLk=","gcz3PSVSzBpYuoDBRSGZWfnbZ4Rek9qoi44646lh3bA=","mt7RNtMRJ3w/0fukWoPkBJtKtzKI2FOb3UVFIwN19eU=","0HczpTSqDtIJxwZ1mx6+XnLjjVWPufBif48eXjawKqM=","qrH8KMl1f4iCg5BR9j5acLFv1LtU+Mviz/I6FtPTBS8=","GJfrh6YTKXRISbjebIb8W71+Rr5UvyTVG0znxEi433o=","WzOQ2TfW/b5MC1UQPSfM6Sa8eeB2y4LvVjre7WIoGLk=","w44uxBFzi58TKB4qyv73tLdMEGSZqx1czgkrMh0n2xo=","ofDR+9vZ+9mkF7n1f1+LbDuyo1LI2AiPGvCmA67/G70=","i6BipH1welk9gwznVqCEZiX2RM7jNVHK2dffBq+g4dM=","uqyDOnZV29xOiRUhmKifVxJskn8XNqqvi8zxbKvgzj0=","zuAt3Q0QSXLMnB2ZI44ZbIKoK4xxyf3HBJ18HhzRxFI=","sZXNSz4WzJxXY+tsQoNZw6/nAzWKKWyGbXUeSTPFr+c=","PN4sQ/oAtLYAN+wXfHkqkpsq3XVXPJZilSU9o1jS3HQ=","b+Xa9pgbv79y2IebgiVFlEcl9UAbOSvPmr4b9cwRwDc=","GFmjsXTW4rjZL7EA7ae5FndEmWp+L/HW0k+MbOqapeY=","P/XJQmdPwPxKMygQaRt5cq3joS46njgaIu/fZd5AHhY=","8mxMVnQ+f3pojPxcG0cZIJi1YdbVtm9cnWg3NUfPzAc=","FEvfmFtLb9CW1A45lc0Kn+Fropefd6NNe2fueaVXs4w=","V6s11vvM0hi6Qj88S+uSnolw+Q4bKQON8BGIsYxA5Is=","8lVNOJr6pP1NkWix4oShTQZmkh7k9ZnPfP+K6ZjIpt8=","b2RuuN8Ypv9wdOQ4c974fTvmsiatotz8r5lX5jwPmeo=","Cajv2mSTKx1hj2ZBvBaq0gm36EUuz1n0SYCMN/hy6pE=","Q9Q4zPCE0JKDOwZKl3sLaLa4H3fib2rBYz36m5vgA4c=","1SVbRPhEelnm239mmvvNMQ6IKyqTUlDR5dJWJOcfeA4=","PeHL3Fd5azVJWGrw/rKS+slSEPN1lqj2HYnZQrexHew=","yeVCLHyfW8X70LTdPay+E6imsFjNXcZwXxT0zMexaYc=","1ftNN5tTu7SfHqzRsOOsgKQ5RtYIQkK/KAEvZHyPq4Y=","8bPZDq+yzmveh+rlrEMLlILFf4VdcOcURoE1YtZnx+g=","y8aBowL4hUCbnRmRB2bgUVb1BVcZqD7DsVt6WwiOgXo=","1ht7aMImQwbSYKcA8l73/jM+eLnMO7uQsdQ8SyQHD9U=","Wnd7YmBOyFOk/4m70sdCwg+mUoiCeRoMM5YJrwAcUS0=","CYt5bSG72NmhYphQwiSYXAaahPfmEKFa8s7/Ay/Qplw=","NyzecXyJFjWAbXH4vYmB/NJ7A7vyk1tVqHZCjqAS4LY=","Kixa+nCKuenR3WNsCh/Y1gKuu8dtW3YmiuWyIvMkQ5U=","FVhlXEL1tdveXaxTXIZaE4B/mxix7wwAffpYUQLEPSg=","4Xycg7rHcqsnYEVqN3+iZkOMze0VwtUvGW7dkZe1E/c=","sC3YlJCG2DbNyOpFwW8KsMhnqfmNjTfll+3txYIY5eQ=","nfojk5Ros2N5Vmqf0G7HbfYq4hilHNFuAwqqjMsPK+Q=","m63/GLgubQFNtjSF2edbQ0xIUugm7XM1zSZeAsFpCdw=","GRS5O90pGw05GBHF9Qgudi4q7wS/UpQY5g8KeTv/Smw=","cZPx9mQyQMpPPdkwwBRXbTZjiMU1vTevWgwYxdsjATE=","8KfKRrYbx+33sf7jh5pu5vzbcuYb67p0ZwyCuyVWfpE=","r1vXSSvppjHX1f7ypyxZJYy75F6og0SiVzrgoEsBzOI=","0FE2IzCCJJull+R2l6aYtpFL+qFFjx1ZVwFNcwMFtsM=","TJ4dxi1Boabmp6IVxuc3JhQbhC2fOS8NFC/deCOm7kM=","eu3mFs595+Y0YvKxaRpxI6cYHaURFFfojdWFk+e3eOQ=","0m+v5P3XdltDRF/t10kStWbBDjuXAS1q0bXd+icYxVA=","kcIdXvUQMRX8sL52Fldd+FuF7DpuaUUOXG6CS0nlZ3Y=","ZVWsLr2eRgQJPoyhY/JZJciqo0dxWUEM1vIuh2+3eyY=","hLfg3ZDbeV1h8qQiToWwQHPB0gSUlOXTr4EIobd4A6I=","SVzD0Lhob8r3reM17Ys93mfgJOGYT5QrMNR+zDM3I3Y=","Ud2TJ5Ia9WgKuw1bvgfnjIdIr2SM3AOJL+EBV/yDaxI=","fSY5S1P2icHm9OK01FH58MKp3cnXjoziX2XZdx94MbY=","gUJPUaozIvg+Uo+Af8JaOE7rynZ7qbkWa8ig6/g8Shs=","Rk9pFmXAzzk7/KCnKPZy940ea/xPne6KIgq07PamCNM=","kT3nFpdpcpRlPbDIg4XM6FZpD17m9+In+Bo2zlHr52o=","Mk+anrrgGuUOZjBe4+8rvS3zIzOSlDvSXSvQFZM2Xx0=","8c8F+z6AMacYPs7jFpVCNcshRWPYziJArvQWmIK16es=","6DaiRygwdTDm5Q4Vzsm0F4gPMdRfqFcbsOE9eBsIY6o=","sJChP3bBMPXI1M3OrMu2y5g0mpYu6xabZpu66EM9VSs=","Wvi7QsfVZWFjclEald0Daeow0QeqethXXNsv8rZ6cmo=","ezIFVlC8aRF6G7s9asj11Hbe0A/1c86qZcm9o+zfd/c=","gnePxOT3JwL+7ZP9efQLXY46voaVDjj6eeXl0yl8WMg=","8zUduRaxIa3wEdjbcXMfkuuSSfd+0zBYLJio75mndYc=","kqbSpm1+L9rHSEaWi6TuNBC0xXH6BiJwnN2gu8cN2go=","6bkUcPEgDrAhwsDMkBPtETz5kPJM/6EH3qq0KlKm9m0=","kyiw3EfXGo9MAMVN9mKqrZw1KdP2ZSJ1fGVdUokkjMo=","7H37GoZw3KSHhv+D+v1EV9dcY/WTL2p5rjEIS0SSQCQ=","8Th9/neQz7n90+V7b3gW18DZy5A1qdG4EMiz25FRn2s=","M/1VD7Roh/Wh+/8GXmbwLCMs87P9KmFphPdDiTCNbBY=","HAbGZTyY5YEyK0fdBBqJ5dgCE0i5NymKaL4eg/p+qJQ=","+Og7J2cEI2zBaEz/ZkoHHGQZmCKplYAgGyBctLlAGqo=","9qifPCvbSy4D2BpMzGLfZqsU6javjrtOhTVkprdMPeM=","anRscVkIlqdK/mLxgGGUYQLJZyN9E53RPte5ANKplkM=","AIVF65O+rQ6q1Cik8NvCo8odrM5yr6+zUVBfu6eBVGg=","OsASjEzug6DbZ2S88HZV2tHFKrxt/PsGTfh9sjBLfYs=","69BYDdNDG5KoIzZk5EHSPmoPVdIGDNC6dT8v8+qehDw=","dsAZgFaSVtwO4qLiyLxTz8OWlBgxWztF0r/YIzVWIBk=","soKMkTnw37y/5vp0GG3hAZyl5w9YHv/i1az+pYBWPMk=","zoTUf1DBOGhj9L0DrR89J22hbb36/tAjGNf1WiicX58=","nNEHK8UrCRBjM+jlg4uhBiluuJn9RX+IzHqT+y2aeLM=","XgpvpUbkzqrp9g9Dq8hA5YUz7jEGN2UpCSd6Gg+TdOw=","aOdcJR7oWAGjGU74hap0frwiSjgvMLuQyF0PN7uDlSo=","YqKQQhnJWv9CGCt3rVdEjdgudfhzf8TbONfra2XM0mg=","ESOf79xWoKVnzK2NwQ5224WycmZSHtlGZK9O1GeHoy4=","5IfM0ubEMiO1HWv/Gv/zOIjPtD96k7jvXpF5AsjtPRU=","oS/aPHOzsJPSD1yNZZXHj9v4KukUud1EQzE+iFaBMAM=","qgizYxEShp/BMyHcnK0BraNb++2EPB3QFOJblsGZjtQ=","pMCLMte4/Z8779O311rU7FsFxPEe1ixWLYxtcZg3IQk=","tT6opzbOKjbQTeEpg8drbnPj4pVEwraeoFI55+8csAY=","HDJQGu1ukb8Ya56UexZaAkTBobn4iltPVzYt6YuIwv8=","NaLEFimFqq4w1LJSgW8+zE9IV27oaKmGC7grh+fNdsg=","xRGPWHcFZ1631kVTPK6GwymYSvn0USR1spay2zyaFCc=","pPIKq8M9ZjaC+XWfFG2oC/vUua6bjL6NBN6wtZmPkos=","0ksC+kO/p81umuht2g0CXQcjpyU6RBg9HdQ38PrXVnA=","OgkclDDCDxqWVeodmYimyt24CQ321vlQ1kuFI8Z155Q=","RJ97n1UH4JtWrXfP9I29YWA2PA4Lpz6OEtOi1INUhHA=","hqDicrJUO3TFjICfy4b0+SeipGCWNLQHWYwR57r0lUY=","+zn6e0cSttpPq0Z9ZHKqhIYAzyZZYLuTKERzr6xG3Jk=","MXZGJvenO/OR7X/iwV54PjBlhCYIFHp1jdVccITKJAU=","Dtp+smpKcGEGmWD4wdwOKwVkqomfJQh6G/x0i7x86OA=","Nnr+K6hWN7Wyfm6lkpePEyfVjikUUYPIc/VlbEbadrc=","8re+8w24toA8NoOakTQziyAQKgseMK581VTJ3P2YheU=","uNpHWRBIZCVhkHteS6XfFOe9WWd+i2wlzbstQmfy8ok=","7yupq+S/EEi7fr1BmTehsvqHG7AnpPOBuWmNhTM8j1M=","D9OMXuElTex+UKsIK7CnZvgKe6hxDHr34oQ+YQqQXiI=","6/lRRs8FORY2N9SN+24bRfkePwMo66bkfNlBjcmjzZs=","S8nRwgObUy6g7S1gohJNvBkuUr2lyfezkNnhcE638vo=","WEJzNsQxSAU5FFgmrsezS9xBbD2hdgq+q2gvuxTEci0=","1Zg7NS8A88yGzWAVwwzl1IldbSrLofP3vrnbFdjMJ4Y=","PcmwFRCiH0qM//7GiKb48joD6DV3/YALRO2wOa2+eOc=","PmHAhh97GD/6o2CKc4lpcD+eIIighezf52AegQOO2Ts=","JWXBYP9yy8YSYuLAcJgohFj0UEjL9jmUO7DOw1m+nSQ=","QQ1vTdU6qI3G+BQhwJrplGPFR1un/hrK90XeD53mcUw=","vbQOqwB21MSaCQpfM/p94gDmJqJ9J1+0GjOE+Kiz5O4=","cUbeeOQeCtYjN/ZfCw2jLhH6vf49td2gQH5hEV3nDyI=","qu6xgPDMlK2w1oRZdR2EAiFt0k+wHWE+s2EvwI8pFgc=","7mk5f0D3H3BPXSmfmBZE6ENHeDaNSzCTaTDsfpqfTps=","LMbdWCudu44F2ZXIgAp9azjsJ8UjDeiZGsWlrqB1ESc=","GOXf7mHV/8t4JGybMs5E05NHISm3rXiHT9Bzj5vUlBk=","kB24EpB30uSAyvWA/YicCndP+qa+OvMRLQ8ytp6Senk=","y80c8ZFopB2MzzLVoTQDAXxfGAM8W1Y0VDMpofYB86U=","8lVUIw05VPVID9zssVlpjeI9HFERdpkLwL5exOA0IUQ=","I18d8JqwEutO3zCuPq7Nvgz3GJKWPeuSBf3FyLYq/UM=","uoShWwIlBtwAgR/OtnN9PVSMS/hvtPti2ebzc9OjkdU=","Us/2+tsucLGlDlBejU+mz9+H3ijWep0XQcZkOyOzckY=","XGRh/57CIW5jcLAFTWP6UC7Ep5jItSdPiEYbis771u0=","ZApP0e4vSvMKcKfjPv5TtD1VKAMP5fsxix4OLP7iCo8=","yOkVUKpq8HLKwXv0vGoUSSOQiyHcI0yOczgu2GKH1Mc=","cv1pXKGXYmgjAZE0Jm502JjeFrQEqZJHXwuKl10uY0o=","vr+loHodudp9XYvTQyvXr56pZ/mKl1PI4HsPnDv/uy4=","clnsApBKKkUZL3sPtU78pk9TVsQzMefQsJgCOZsWmxE=","cr8LfNINqu1jgSl3KScMz4ELBzHjnXqbxeoDSC/jHMY=","3YmgvC9BV0Yg+vyvL/l8yzkQHnnzjNvNQdP5HfWkw6Q=","gElbFC59Swe9dr1K0a9zw3k4xG8eXEpRSWn7njnu3UM=","MIcgt0KKGlGKKGdK6JxOIxtnG/degMBvCXqMsmNtleQ=","FtezczW8WyaXXjihKF8nb8WmeWwaeW99c1kcp6azSrE=","ycfZ8Zb9jxzRIAYKAaPTXw0JEfp9zFFTNlDV+2qpDLc=","hBvYxiuApKmTHZoQYsghl7iDQRJcFPKbgCzAk55hluE=","ETOqGqrQIAwgT0atPKuj7Rijci70mMIe1xn/YQcgkqg=","sMyS4/QnBVU83Sb+ODLvZLcWGgfrXu85Gf/PafPaExc=","FdD0zxr26jpRgvrByyIfPfWYuyW6+7QtILdpziJkbXM=","ne41aZqdzM1n+WK3pW6EsFY46OTBpzFEiVwb9qVZJLQ=","T4tjPN6pOgyaxE4hA7kmP2pvU0xbiIZYCkXTh/A5FLY=","AEG6jmhzMBz51FS8JDhIddUS5TVvfG+0LGkslRFlmI0=","u7+SBdbP3kTSXaERpnqpCuSeIDqdUOjZLU2STgQuzHY=","YkM3a3AegbdUOIY0yphnQx5j5D4zZJLCiEb9qMYOp84=","Bx+7kWt/OhElkiYn8r2v3ulyda5SeheP4SrsadQDcpo=","OHpXuD0nD+8ftPL/sfoo1AbjljnBfyd2ylsPyc3lpMo=","lthaN6RBD3DX4r8SrB8f0Em/l13MadglofrKh7NBIzk=","/yJeoR1QMzLZXJe6hz7AjZDzyBPgNh1pBPzz7lc+xcE=","d4U+uSFGqVge2wr76KB0JFk+gkUG9z/F7rx4M40A+Fk=","Y50jaNikW0Q2is1ufv9WHi5lj/eLN1EIRFKRp6aMdm4=","WO4uBm8mJL6MiTIr+FKONdTw5ofrATY/FbP4wnGF1Qw=","rHNNBM4uZU7o3s4HXSIoy1n5jAoPj+Olr/V37fw/ZbE=","tbCKTqfvZ0AcO5xIgNu2/7sQzSTpIiotClXJadpJrfw=","jjSGa0DB9Y+VaCq7aD6jV+reFTO0zP84g4hZ3DGplvk=","XfOKN15ofmNmaIiy2kWcvpm0M6MY0XD26oNF0ODbqRs=","3FWM6QLULG/v6SMkBdx7VY+6toWBv+M3YSYyEwKY2EI=","TymTQ1wASNnO/BdkqKa9e/ANjo/8B3rGSykoDRdKYPE=","eHJ8bF36SaViJP9VE16cCU+lQz/GJsvUqgSZ2+2qo6A=","ZN3gWvT/UAcTGT/3IE6HbqPxGAoPy9h8LbUte1K5B5Q=","ZdXB7zOKxIB8NIxTkOh52W8KEKBsaDwaCIm3SCRHn78=","FEA/aSVc1SqzJvZNkW5Jo6VpEqSAgOjL69rKMRKgIdY=","ZcxZ57UnCBljE5LpLk2MrU4zgibkxXQMLCNZqWU7jck=","CYCqsmTcVYw7WR5vKXyGyiXwKtXh02ZfrtWsk1+WbYo=","Y7v9I3S4iZbtKyx+nYD47VX5aMb+v6P6W4HJzo69BY8=","J0P9QnpeiHBr59jImP1W3qfdAxh0z59oboQo9GEZ95g=","5U8w8JbDT9iEpHktkhdW3ONoxJABqUDjkthxGJwpP2o=","DPypUYO3AVd2wLKfxA2H+jSYipIuMVHh9MzOerr8LA4=","GOTRLQcPWN8Hrxdzz5/8KheAaJ+q0X0KMI7gAzVsYuc=","kGSdENbJKOdta/yzd9J2lLc+oJaUFPOcKbkRM+X6Bno=","XItSZjlGAy/I70YPtPYrqYP7w86HQNsJV6sjwHwgQJA=","vxCfUTc308y84lKVgLuL9WxxqPdFVvu+n0ppO9KQ2us=","jT4A7EzgPxRQiZjw54XAOrUTf7+XL1kxmruP1kj0Uvo=","6+9R4R9phb1VDXCCuIPDpLvqm/xJWi2NgEIIQNWXo9s=","lJOq9v51jaj+zEoXXLIWKTsCO7wYLQ7QTYZU0yj5Sck=","JurGAHErFRzJkYC5C83FB3wM2T+JGYMZAzNKWLBhf3M=","n4npCFqxaW9idXapLLnOxAsnB7t7nvELD1iaS2AGQnc=","KhFjo3hJYUs6sgJa2U2JhUphKfVMLVwCxO+o/1sZQ8c=","nEXnesrGi0IElaAkOlaoNj5f3xH5loDhHELPG9+15qE=","vdzgEKQ2KcudUdeUi2yR1zZTfy99AFMsU7QrsKkFSYY=","MzXl3/QkTAuSRKg3uq1OAmXjlbSUsxJNUgEVmwtCazg=","15WkoNaA+FfwUi1C+lX/Pi7J0K6Nqet7ckQORdMZPrE=","aollpyl3G1IQJtj52o3i78VJg75mpQVMYm0Wamsdnao=","lR+ZEv9Et8826+6dGDY+1f6cIHd2UD0Yv5mD8gDANcU=","FdXUDvYgJBHnyxKX5Zgg8B9XQnTwSKndULY28DzRFR8=","Ujbk66tMTB+kZxrGmLOWuEuk7/LEXpnf0O3YKDkW2es=","75Ucc9GfcRHV94Qth6Jj0cxhPbuOrHuruJ+xIfGQgTU=","BaOJaSGhg+g3P162QyCNrw4A4NlVVaJGBu+ncRN4Z6s=","GBvtcIYzn0402zj3hYhla4W6jvnG2y40ZpqmYxP4RNk=","tPtJdIyHFkZDhC4BruWZ+/me2ViY1orWkL3O4qL0UsM=","XeVGp2qCTU7hvRQtCdLl9vapAI3fh8bYT6o12KaWkfA=","bB7GV8uMK9M/Gy7nxTjrwek16tL6cht4sIYBT6xnGxo=","sQ9n9fmXqB254exfkQsugSY7GOkQw1uNa5xV9dQ2dO0=","qmToipmLYu6aa6Ob69FoD1D+Xx6QfbQ+cDFhrvVKbjA=","vXj03X7v0t55XloyXWe4HcgBFQV+ysHcLOlpA13bzGI=","EZVajIU7aDWeORb/0g7PCCO9rN4mRlcR3L9TopIYYa4=","pTPQV+6YKCyIXGIBDIkgCEBm8Fs4OBgftEnkx1gvi0Y=","MUVNAuOI2qrnAslbuLy/Lmo8VMZxRuShnOcbgDAWVpI=","tVGfYCmGl4KrzLOwOaOU21sAPOEmIgMzEsTMwMezEmo=","5bGbfs2hzLyMKCcqW8ZbyXPAoBPyhL1InckNaWOk9B8=","iQfKVdje162507hcChwEt7eAFBpkO2ANhZlxIwrC6Gk=","BgM+NVT0HrccXv84U9ZC2VgZRn+IsdwrgN7wX/qG4SA=","Uc3yMsK+uvg8a8M6jKuHGNnO9vemnQ5pSJywYTTObbc=","7LQwAc29oIFWErKgnKIGczfga5jTmgpIQgMAiP4EDdY=","1viQ2peasqw235HmCLyYHeVM8l12HUvjbsKD7XBeG6g=","cTSHM9xbCyJbarFeR7MdOFCfj+ZQhLL8AIGjlQbv+lQ=","BK83nM07Zcb/OPgi/3RbxxWZa6sVGU4EdzTIkg+JwhI=","nwnWbKFMrjc4DfFd6s0BkTYuEzVV0mCKmtYZbtdf5bo=","hHSrJYd1/1JeeYN6VA3j73oR5ptiWLgr2b8DydHjrls=","o5QhDTOEG7NjU4P5P/8AqNSpUM8ikPIaBvQ6m6VCSkM=","I35TTEl1r2aVxedHI/9V3kaEpOLleWwoqAsyNpK4ql4=","YKCnTEugwuFEdGnVFMdY+wbSwlJJzUAPqQ5bodPVfBM=","HkEB3ztcQrBgqHuxan3Yy3FpCFv1R8O2Fblp04+/Geg=","usx9Ooa/qYlc3ts3pKLM477+J6fz/uQYadoxPUGiArs=","zv6M1XUOkDBCbtDxsJw3qasBNBHIACXHNc7ihcDny9M=","Y8RgZityrPuQN0Pk+xdFtOb6snMKQxyX1nBPkaQi6mE=","ap9qWv24/BRHdgzGAI5iIUUsJ9oWA/orXCcW/THFBdY=","wQ64+6PUFwNLy3OQ+ENHgxB5gb9tnyCko/6iham/e80=","3BD63xKFixmHNDrmHxXXbWEVwo0MkX9Ok9Hi9Js6zB8=","zJwHEjUL4xwX0piS2Qcvt183J/iTt731yRNCzHLkWac=","/NcXI2rrqEufzAck0r6SLvFKAU/HdKblZYFiMJESyLU=","HoYWfJIiTAq7WKLzVxB1iiFPMTVKDjJzEQYnOTUHREo=","8z69/FL6JzVGsC3Ne9nDxvlwg6cbosHDFnWbsA25Uvs=","kt7d32YWk4BrjeCEl/+IYnFfgjqPT+pOo98HZBNM1+Y=","T6+XMV5zy0egs1Ghava3dZMwpwbHxolvOuniXIzkix8=","oBydztHV1aiCowgVXDSBiFCkeCGXe7WMFe8DbEmQhsk=","M6FItFyyumofsaO9nkUkvdy9sntlgAEJQsFwYJ0dvmo=","9FESIoUy0LGF2d02dbJiajccWMrID5fxBuFb5RHgCKI=","ScDEqT12d0OiXWvgI+ErNu0MFS/4hBaIrqMhvrx4ek0=","2hr2ckfSqLWrIt7Q6lVbESDfEbPWC8hbEfIxjaKvKL0=","Euo+N0CuZUV2d+BPKnzUwAGgxHel9QHIQeegwlG2RAs=","5+X+4VISWd+AeYMtxovwT4ThI9W3Roe99VscoocOYns=","8cXmSpuOW629STr5b8JNuAOKmBF4chaWtqrXDaicIt4=","yljLZGtnOswMPi0WYR0ULWEMAdbRfBsqK/9wDG5ahCg=","hDnMUnXV+F0AOoXsUF2cAEqs9Pwrqyy/x4stxJ8z3c4=","7VAxPzctU2oIkl9B3hm1EUcH/jOu9M4ydueXkOinTh4=","QXOhnp1ZmngE0fFzbyNhid009Eg7PrLaoJ5m3qDAHz8=","ObUZS7TCX/rzE0t1XD3zTDP8g6yC94kgeyOU28m/10A=","E+K6qTg36p7SjAWJS+VzqwRDSFZarsREefk36IkTxrw=","9XgVOOYD7yDVS9GXugGOK3p9fYrWkX8/c6+ujmXhG4E=","V/Z9oLA3pJL8RxtGLxy8/wh6Oor/6w/MSQQ5xZCJXEs=","5mFUcEVizW8fejNxyWblkHzHPRa597Yi3mPdcaPRTrs=","uJqVcmY0z/59dSMMHnari77NfxO/t5LTCHJuH1cZi2w=","U1rNXAbwVYxY7z08zbZHUPw4t5bVhkRFaXSciaSYPEM=","uzY63YL19M3l6TLicEJHIYpZRfSOM3lsAmKB/NxzvrA=","Yj7odw6/iicWvXRZVv+bBDBySHEsyzu5oSQqrHHgGUQ=","YYTf2BeIMy3pPdV44rtnPEFJcBsXztIXPY5/Us4l7cM=","Mf1R8ecdvsisWjZHjGNldsiE6CUygZ4WoJMbz3KkTCk=","PGwX7htiLFRLgvdpeuwgmAmflww9EWJccSmpjPC7WhY=","ioj7uglEWTSwjGhaCVoS5zegtLEYsdkXVmSAeWnrC/g=","ERrhmJHUq8r2+ZBHNo2drkoP8c9TLFMQvVynWhFpHZs=","WUym3OkBq8vRh5WmyqZRoLupueNQ7Hk3MjMpF0Mwzl8=","/NfGj0pm2wiyMf9tBe6QwYkaITfcDzTveWVxL31Rdns=","xeYxb5KZppbnfVx+0z0lxhl0aXbiuWp6Cxpo6SrdRmo=","TTbFOksxvExvQ8VnIUov4/lsxzt0JdvTpBALszSekk4=","x/8FKLuRr7Urk5fzFtku3Zkunc+3hEvmdQMyATyYmqI=","ygd9HyL/26l8sVCeYjt0KJXf3Dgbo8ek+fQSjhHs9vs=","t33sfqL67yPAJiR8a3fH8X8VQV52O37LAHBWV0XVl8o=","OSrckEvUIx/B19ZIzvmA3vs4GI10CyagIhBbkxjqy6U=","GHSbaqklfd8KzX8gsSMtQEEfDLS0GPxLYHphOzO3PmI=","KdjVsgcgg/2+rgCs5+325bbylFJt8mQxXkeOBV5R/00=","CfUbHqHCSEcFeTZbtJb7cuw0BdnsCigEQcywfQ1vfHM=","Pv48xr98xCRqvwHlykLov1wORpHlEHRwljRIVf45yhU=","ztvq+NVhgxY60QtmouOvuhwAjMrtZOwaYLNYg5B71dc=","/wsdYa7SBjc8WIky9Sisj48QkEXANSJhEkvgiT/0u5g=","TZQjUoT0PkXfb2KENm4tauF+KcEPnvj2ORz3tiZLGxA=","5cc50oCEsiKfkUGi//71i3klJucIyV4sj4eHVZ6OGEQ=","InEmjVNeA5zjX1/UCSrSQ0Si9DlfeSNpUB7IwX87GZM=","Dpi4hqePIW7ZItNCwhL4JrSul8RhY/yofnL4izXLloA=","Idk5TpROzsQCNFSc7M+F7EJs0VoJ0+lbySvDd8i/yN4=","tKi1IBW+zl6ozCEtsyOQ7pAtv2+IamCOiLsc3T7Nmrk=","c233Y76RwF164B0GeDu3ePMfJ4wBo20KQFwxRzHzxd4=","FYZp2wcHLWou0RZl4otAunB9NjPI9P8CCQx5G0Z8qgE=","sa95kl4Hw0XbjqzApdbyoxkkh++NIxCBTPb+0wxJNOc=","V4APRBreKvPksXPzRr0cxPDe7og8VQ/Bb/elbNvA/uc=","E0zcxWcNKKLrUv2HSGh5trLsT3okwA7ufbXgPRF/uww=","r37nxz2yfhkWq+tRG/KItgByRcHaBB1TGpXTRZlfMMw=","rEak6PxsBwM+azOJ7VHxmnehVXK19BWPZ/78LUqp64E=","XVPAqIBxnFx3VCYSa4YVG0dSIHn5FbSt8fThyoyv09o=","eq/T0S86jZRJF50H+bRoANJLrV/fxg9My4LRUYder9w=","hJZ8UDBKz4tYmZztK3lHxH8yJB4S5POceiuCa/ODQAE=","3YCXyPDS17q/jjrYgndr9kofNp5qkPhLoz7oT9k0QQE=","QIaBIHa0EPRQ0KqPdmw+gkPMVIw16VEdEQUB8sxYYUc=","N9fHY2WyYjsC0ex5EJsMJVbHngwPGTLi5LEZB1lbGpY=","3RR0kQ7sGDbuVZOBnR/8n23UqcVhzagGZ3dzXRdMeYk=","KsEd/j+2VExh1lIDlGLvIyzmjIolvkJb1oRaI4BVM9o=","krlUSlqFIftsMzwCfZ7w6oTSJGZzQcfj1WpGzIABmRM=","COjTSELIGskbHqIN/j4dIpfTsCzMpQfihnQGfYiAeD4=","oLKJrosmGDjB1ennDH5KPMx4xbd9hzMgvRJdXC5dn0I=","F1Q699daIGPYyQLAha/u7EQMpQA04G3Ha+DyHGdExLs=","+JuwkL0Lf8IaO9LbLuHDtyDmzJgJK/qyXdKE/yb8//k=","xFSj530C9/asztuIRQzsC7xk7TQoQL9HJo5oMgiXDWI=","f0y9zstKnvICkcL63Y11XcpcTKBnNW2N8dpQBrvstJo=","cJzY20JhcD497EXB/xKmYsQc69sSBnXuASC0UhrHSAs=","Rnibvv/eyDWdTLDlSGkZw0/XBjDjEASOYIMgroznVFY=","+ZWnEeexJpBzVJn0iKJcvefI9IUc3ryMoAOqXmMbPhY=","jC9eeIgvT8w2z9pfztohvlqXSOFhp5jJcWPk8gCumWw=","Te7Cth4onLIl5yBxD8n1Hy6hLNx3uCqpJVdvBvOmu4o=","lrjiugWlUp7Vwm6EECkZJvyh8Lb++bYDmYz6eaOGIR0=","p8liG3YQAYEntN0CCxnZNNR4hmEFzGr5WoVe2vy+r8w=","odcE/P9V4/FmYv1fgWOAWvydUN+Z2Pa81lp6Moh71w4=","s0wPphtT6ywA1R2O7/iAJ1XPDT6STIPlIwQN5Ra4TTY=","C1obzhVOma8hAxpyHSpJdR3TzdIw6ytJs5h3UrxHqqw=","VvOkq13H5NkCwm9HClTCm4DWHAm2ViTrtTuDyLlfWGg=","3npsxLmzsJNfZ0B4q5aPYCP0SnR/16Ku4oNui+49lB0=","tIDTDoOwAKhB4xgJWraDXtiTMp1zRf/gqyH/WzlQ4fA=","LgFEeLM9XvdlOmVoKJp0cxj7WScTITzVprIoD6yUEXI=","573rdCGMN7Fyql5vIhtLjrF+GNRM9+Fte3cdKneYmwg=","UPkYeJlB31dpTmBgbMRzyzz2kSzl2AQE7NvGeCH9Q2A=","weLRT7GE29i2jSl0r2F8W5ENzgzk+H80e2S/rNs+g6A=","QZ4K/0RdAoxCnrLHn84ci7pnv36AfYAbhvZNiKs7OdA=","nDtiJ6c/Ls3IDHiH/OnzULoyQc4vMJmNROJ7MLBui1E=","nGMVeqjPfPXAWuSSmFNKYwLRXE1Gr69j54SkRdqWPD0=","Pg9S4wd89DZSNhd546P6e/n1JDcT8pm2PylnaLtNlbE=","f+Ltpe/eN7cjer2FEhZYFvxuExH4eD6421OiizVTjlQ=","C+3r0qlO+hAtNpV68nWSsm70XTE9x5CVz13p9GHaQIM=","RBikyPyLfPlM3A9eetXfLoLFVcsMcoX8Uqry02A/3fs=","MV3+1MVNjD6aWANnUJC3HtPMioTAWsmN2nBNqBDCDfA=","FYgtf7pEKBpBIcMaDdCZWJuF1uEiynUs0RWuDsFQPQo=","XRXjQ7WhfBY1ruwD9KtR0zl9xEIYfh2NyCoETtygbfY=","bAnG9VPCJ2wVhYwh51o+HUshjJWbPY583cz/Wk/zV4w=","KD5zjTypGsmHev3+ShE9mxOLUVejXS8P4/PBzJ7N5yk=","KTGsIpWsJHdGA38HXDlGTqjv+71tQrx5gIhKzGpKn9o=","ZRJzNrPH3CAf03BohIsgOHdrpYQCPKo9uYVa038pZNY=","irZJlTYP93ZtQqmeWTMInbKmf8RL0lCx3ndHpOc5xq0=","6+lVXybNgyFP5/IFO/24BcNdfZSV3tKytd3sXd0UTuw=","WxbwUA5n3WE7s9VmzsklXhwxbSVdXKBkVYY8hLpFFMo=","5QsSDXW+5xYzTo7QQUXvucty3gY7B8tX0U/F1gkoS60=","4BVwN1sln4cMbtfKtdDKXmDsmsBHWKb6WSyVwZ5x/0Q=","YEjh0Igj4s78UjH4oMMZ1qKCaNbHf/OltAny12OdvRY=","GKFyWwqCAbCpQVtJGXpSy/YzX6uTsvHx4QOXHgQZGv0=","ssOG8ZoVIDNqfEDkCEn9KJyLtpUT9V3lMuxWwhUwzY8=","ORa8IM+y/aReYjuP8RTgszRbdSuC7/LjUPCjCNVISBo=","zIx0AOpMlitBLAdukpfGIl3xbS41RQX6WtxoS7HwH/s=","NtmlaAh4CJ85mOE3i+2M56J12R2PzG4FKCW83zivtf8=","hCxaVfpmfSO+Er+6azkYF61NUKY70YfdUTZwV1y6Kw0=","PlF/3sadPgS5JnuVPt1QIwaHS3VSNvrSHLO5y46+FOk=","99mnlMbDwBJoI5MGWqvevMJCPIa0Lr7eV4VZEvu3LRg=","3ue8mkz82hnoDbvY4eUirW9BsElqCXeEKSMyiG+frAI=","qO4NPS0+R7Hq/kWehdcxhs1ZTyyz+nSoCzTsiwkSobI=","k2y9X55ypPdPdmrLR5qP8XrrdlrngXBjzY0R/DyhYUo=","2iUojnCE7dGoPHckeVPBzewqFz3nOWX5f7KVIM8a8AY=","B9rX3elncucJpMjNN5HbeZq00iBThB8lZ5OaGYnKk+I=","kBBzCVIc9PGxgKHImPbmjLdiLf/LqEd7jYC0WVrE5pI=","g1ZX6zkz6J/nx46yDmKL66pUTFXnUQzoLFkif+OItBQ=","M9iuXDFASjyuS8ArV4vPJ8fz0McpygZkXdE3BKMXVAc=","uHZxgU/BMs7r6BPr7yXuHv+QrcSeofbamhUgBUE8+cY=","0dw0LjjyJQwO7rpeLHzbD9UXgaxxfmTND460LVqNhkk=","Xal1/H6XXcYziVMaiylVCUUjv39YZ9dg56VOHLRMnmM=","fuyFfUW3LG5w0cmrXF8j5l6R022qNuKIJBdJGD5Ayxo=","s58lBEbpmk17IKf6vatbBhd4w8luia7XMOO9htFrbSM=","I+4WlqgFIGxj0t2qkt6mKsJw9K1NlEYtFOuRD8RJwtU=","rEKZTfZDlWd7R0NygZQXuAxGm3izMifvJVq0/nyD74s=","Yr3GH40Z0efxMLXTCOXfDSZiDq4LXQwNmc8lKah5BWE=","KYVn4e6X3+alNiJhmDZ3z1sOuG0RgPOmp66EhOBYHdM=","FG92RgckuvEPbvGgmDkV0XmVAJFz0phaXDAqvEIRy/U=","VJxVQVlqEPqG7l0+seRocI84wirAlzV9cg1RqC4DB3U=","T9umlCgX1BG4cfha+x7J8nsFMA8HLF8oBW+Iv8C6tSc=","Ve0Tp1jJLkiTrK6YcySqwizQM9AhdeYlXd67e+o5qDY=","H6F/VpR2Q+HRkKNOJft3lbrb+EU7QTe+lpn0qY133KI=","1eRQF9u3UWYVjPEuwPf2ZAAUccSVUWliFgeXv9P5Dbk=","K11dn9eGUr2Cfw9zgNSH4gQL8C7VH36vivfN5mKBgps=","0aHBuI6JxX3QBx3skZbgqp4qfKPzOSBAqm3sBDO8zTA=","s3kzmSH7Q6XDozYI6LGOoDTY+p1sTBVh6amTvVkkgB8=","5YkT+Q4i9Dl1JqGiw3XNBsFhoKghcqaGjgWBkRt3jrc=","OKZzfuuuHd8DaA3nXuylmEuulPdKLY0iThvCGv7cYvw=","rErBc0ERxZJhz2o/bonsOKnNPx1rHNkOld0vkGrP34I=","O7afIUrGmqsVs23DnVRRn8igGOK1doDufl2QCPjCs0E=","067Zk1d1itwknRUUOoCWeq5fXBUk6xSHiPanYHVubQo=","jhsrEmVCK4IxT6HuXbJPUVfIdwzex+zF+YSosiMRLAQ=","LbnUF8Pf4RxP+iZ483EdrFv41HipCJEKBS9ZZNLW/yU=","JtPFDYaCM1GbbMV9YdgNod0RIonzdeRghwZzotx1t0U=","MlCSPX7n7SrJUxq8e8JNingZWewlQfCU9k1eAjfiUNQ=","CXkTqLmgEJ+tCYVy7qU7BUpVvlLt/AmTRRHApeKf8q4=","5YtQUDN0/uBKCRnGvahq//yqfakpDD3mTNhPLXfkmAo=","7WhTlG6eT1H/l2q/npd3iZyox4wFFbsct3FnR0P32lU=","h3ahV0hxPAixMh3GE4+ACAQE2HJ/gjmL0kmgtsUhwDU=","y3IJmiMXbHdHm1S+uIrEZSkl01qlgY3B2/dzBv4AjBg=","YBQ5bbSyonh1iUT7rWfBO3HvHEsoflCbimsIoHg5azw=","1ImdzMbb44NIOFuNEp0gF4rQsP3rp2zAxMts8H2sm1w=","MLZfwbWTlAiN1U7TRlRQhocgiE/ujfWoeQy72BMxx2E=","RBjqufwTrcXlLFmK852AO14zIXdvT4zOsxvbxLSu1QE=","JLaCc8f/sIKgtUi05c41BgJJbrtdT1YmE37A9m1rSIg=","4twYjhWfjyk87XxEhPVttnkwqov9ZK8+D7Vjxdu+V9w=","kREnKIuBNquseeSTSx5AA8yxhU3MqqV/79ydVHwNLs8=","my7xCKy0DVzx/Th7CBUhMLq0KGAGLv3pLWfOSY21bAo=","ai1NqArlh4u39W+JIXrsQrQ0mcyOT9Sk4MzfetLA/kw=","QsZM7va8U/5l+2dZZOrJa9Eh4OgiI6Rj5+oPkMEwpks=","ODWFfcYYYgaWG2yd4TyCuj3nKc63eX3l5Nn09xUY9Ag=","ku4gT7QLV5bCyHQkBzQ7OWBsQkCaUCJe1hE7RtGkCiQ=","Z/cjG/AOxkYzKWlS1swK30DiD8/IL0o+7wKEdFUIA/Y=","Rz1Y22I2HjBHI0jmSK9tmzYFkohOyt+FZT1koSEgDec=","QxWk4RabtbfzWdfytublgj4lgaalPSxHV7ylk4ld9Fw=","VDIZw56hO/IUpCDkNX5dSoA88kaVIYCEwT01Zreh3Bw=","lYb9fl9Dt8qU9TT/+jIuMdGrwWH9yoGBl2uIKjMKw7I=","eP4gQ7z8iGPWM/CbxITgyrw92+0JXR8rvnGjyJvquCs=","VC6lg/cH10sPV+mhAYBiYsMTtTsYmB3SWxfxin7VRxw=","/ih1s8r33J4qMrQxbMYh9fe+o2CocwmrO6TtsGWsjK8=","yKPZ0fTrCTn6bKUIoIKytBFA4dbHTvyNHpj4UP+eVS8=","CxXkh+n78w5JbHNzLFao0IWySafMvvIS1bELCQ6BWPM=","RtadavJBUj/LXmyh5KNf0LIb4jSqASRRhIbfd3MzTf0=","0dIzTPytN5rLnBY99m844a+/MIESo7H4ToIrEuPxn1s=","i4oFWx9sQRxTAH/bxBg/YGDTS2pGLVd5QOgfStSb/xs=","/5DV+eOsH9EarULnRGgqQD4BaHAuK83yGH8H+eSEGmc=","iDYv+NU/vZH+5daCP8ldi8yfsjOs55C8wc0D7udMv98=","ABMi/iigUPdKzAZzRoyI0bh6RMyyS9OjvT3XPf7mW7s=","SFJ4j5naQHKfTBrM18s9vfblz3HBibVT5QvsiuESRVA=","jcNKcLhAiBiBcLQ7aqKt6KvchVuEO5nkBpk1etts5Wk=","1471TMPMK18GPUNVShZlQAA3tdfsGVfCOX0N51S1J0k=","hLzQV6HSGlGz1z9aGEmYIXxZwtrxHDyhu4tUBnTxowc=","pu3tam6u3TKZbEePCV0wNnyIlUSiAuya3DrpsZqHqDw=","mKTNHx2Wl5U1i6ljnAnTgMNJDf8lQ+6sWqppjNhP73s=","24+ES6XKAG08s3vXtrT5lqGREOrdCIG++o4DnOlNvcA=","j2odxZ18uSlglzwFUtvw9uQh7sN7ZpfL+ko3CkGCnhc=","iPavrN0QREytLSX3GmBy7aFMgx89f9CLuxBRMxzgbIE=","9dbM3nw6wFcvN3viccoovra4sT84A1b0JcHXjx1qPpU=","LesHvmzdiOvRPzNeeQLTBSw9Xj/tbWI5+zml2/+un8E=","cuLMGUYp+OTPapZo1MHrxSStSKcUszmDkTwwo9QcR1s=","g9ckmN+55FMiSugr60r+hzZBvHeOtdhcdyCcyDeLvgE=","pqaszwreVn+UEHlzdRNHeoc2oHp3mD/kdFeLrdI0g+E=","qFeQLhf9oW5++4DiIVG/UxYEuJW7WECeXSorDtErDT8=","hhqNs/CWUZXT5fdUEKbprIm+k6PdELmXRKGdlr3tExo=","4EtyeGNiCZ0a/lsSVdqzxiCSgHh9Z4DUVY6cO/gcNYs=","8VC82F4EuTsbjSJ7sGEbaLSl9i6clQu4iHMyToyHafY=","RoSNH3K2r81p6cb7PnWrnSpo8cMqf72rMEZHLQsaSj8=","ARA9zFuhS1uxrf7xhuY2lg7+ChmitiATmLgxmfPunIA=","1NlOVvGoKXMXqT1F75wUK9ABluSJLNC+VV+gXR6GsnY=","KVC9XFRn7ceIuT36FwsMT57l2Gp8evYHECsAQh4rTvw=","j/xCovUthvQW/T/l0z4S0kaMo7dwuMBRe2m8Bp25WP8=","Y9UkAJoYJLc7eFRIfhKJfiv2wO0kcGFiRIqkxmoMeGk=","SOfrh09Y1e0lvfmnoFL2WFoubeKZ3FHCcyESTXcOdKI=","iSQTxun2m9MbH+75BFmBNKLrsa9tKe7bh/BbKybHxBs=","J/nLwF4ev1Iqh3xJ36K68sd8W1bHmL0PRORDxzGWmB4=","wPDp5SXS35mHv+OTeUAOnFtOvGpWvjXzHsamvv5QV2E=","AJ2DaOf+5RsMpvbKQkw8nDw29Wuzd9yeTsfbLckk7ok=","vOYIEbeNsKcrC5Gl8V7Rk/m58NEPaPy4ZJCgBsLxHbg=","1/ROHC8cuAy/1DETuou0miUHhvOiuS+UGoZR0ezWMoE=","hoGsl/Od4FKWPiI41IcALxrOdSwTNUwhaYp7mBvlJrc=","lciIP6mSQFgQKyoghwVENiQCFXS4puUmcXbUFXsOEmM=","5KwiGv70Cy/GouQcohowFtgPQSbEMcco9RK1iG+d86o=","3H2ld3YI9mVzYFx36isNGX7Rp7Ng/IbG1wVUCcK//UQ=","6DzGVEDmcQNfjMKSZAJtnCsQoS/62kixfLeTfsP4cxE=","saPbgskZJteYfknsa+U28qSsbXzlLsUOwzorYRPssU8=","9l/HgsUVr/OBXzcjNozbMzbhvauQSzuRm3B5nRnfpY8=","MMK1o97U1MJOVc+Tlq9gGC84E+APP+/2rNWozeZQJ1o=","nsgGGrhMoxXxtvL5SNkaV0wzTYd85BwlJE/zpX3SB3U=","i3SsuAJJLPFIcF0qKXIdUQBl6I9B4TVzsUaQtM/1JU4=","tqhWBaTpfhZ7/8dnG0D48m5q2Z2jhT0NjbQTO7UXDy0=","t0h8tSv1Si4YWPNv0zoTgWwzWsgspooFomLfvtyDdSQ=","h7Ilmf0Ru0WzhVbhSTWjo0zP/tCDe6n9adlITMws+sU=","/IBBhUrKcC+K70ynIcnMkP/fcDpXXFqtjweCajZnhmg=","xkII4cGeXnZXmcc5X12lfpUlhiNXGLK5Gp2X6AMjclg=","WyhFU/+AjtHHYkPY8/u7F6JfmW/pVQ2uNX3XB4/v6tQ=","QEgmd64bW/KBbk6lPV+4BSy5V0P/UScSYuNfh86YGK8=","NkY4NrFPJWRk9m+RZWFZH7qqFJZhXnRRzPuJv++FJrs=","qVtF80JHJWnwm/zhGMNf3pEVwfPvPDNCNKy+NbGsVnA=","HErMvjFmrN4A2U54yrYcgiMds1a8i8K1sevmSfkfBoM=","Z55gtzE8l5kf7GT5lscCoZ6Ag0grEBJtjKO/6BTSVhY=","KfDDTZwrPQJWkEcayn4PGBHrnBvUWVSLbCpg7I18AM0=","by93ZOOCYPY0U1X31eGgo5e+L3KBXqRzEv6e+Xlu3NE=","61jzWRkL7Otx1EYJT3V5RAHsNOG3VyJi9J2ZDfP6L0s=","wGEhguPCnwYmRJvLsVg4Gr5tvIpzWlFYmeoyujI3pBI=","BetYWpPcTOcdzp/C8dtjdBvovFGTRHiCBKAjy447m2I=","YCb/f2wfsniddRM9Hm3Y7ZpK3to9Eke+GwoVB/MzEXU=","+4Yhe3q1+iAEQRC2tIRU/oZSk1YrxVTtPvO/3ZkeIFM=","DL870V3CZr34ucpWJrecDQf/iQiKljd3W60D0cbPQ0I=","iePI4VwaJTeIEOZRjN66gTQB/daK6m2jv8h80BRU1LA=","Hl88XrkJ1LSJrRVlIy1OaREZ2Y+0hUfihg/ZC6g5dLY=","KSri90h5jsrMc0RjhnEZ8tMP2SF0jqZlbA3W6/TfXso=","cUMmJwCn1X2zuzQkxhtqz6WEAxDOU3ZaGcSfEep9bwU=","o8cfaZXRWyfpgWObaKF+uIQPCE1DF6AjDHwJ2jMWrjE=","DcGDjH99B0ZsoZhbKJvIkHg10z6acT6JkYbCLRpNuiM=","0VP7Mxa7nhCUyNjG72/xW5zaEfsbcLI+witz8/W2DTw=","j/mgVi7AIb6LfCSDK9Nxu9bJbZgV8XOXQUHxs5Tmkf4=","gJsGCFZqBbod2SF6cw6c/lD33JhWjpYTN4tZNIqWDAY=","Nv5JFcziAV/OGeVapI7hWdjq31UL5nTbm08PE7C8BcA=","000gs1r3CrWKtSK+7zJhdAZz2xoby5u8VuEFTEdNhlI=","ahYC/hBhhzRsADYyHYXIqz0bJvE4E7F8Nvab6j9crU4=","gTED6WZ9qLUMvmtzj2GOHbyidM1jpIPSah94n1IriIk=","BuZ/lpkP8CdAxbdO0dh4FE69wX0MeiOFW5f5ezSprn0=","jmGbd/r9qiRPp2yC5J08gbcmBzSH6YmN9rB4KAZtotY=","+zjn5s2eUXiTB6YULlvpmuE/Q63qT/8jcF5DJI/w9Y4=","5bO74eVLYzgDtOQN0J6ni6TUXF9xKRiz9ofT7vvysVA=","nki7NWtD6Q5llvEqc6q6IRDYGf84tvMzTrdHRHAYW0M=","J38fxqFxu/wt3JYQiijlLJAjVsZVxTZ3AzXmFtVmZ08=","LqrLtwXmCWj6D4/eLKB4ZbduGTWk1MA5IATXaNR7I+0=","LoaO32xXC0GJU8lG1zC27qRTBuDxUE2lZF0/EnFKGLs=","IcaQT06Kwqa4ft1QjIZRiWrmS8ajs+xA6crIH9mIz7E=","DZFe9bcbDN7o/FbdfLI3WDi7P9ZcwiPY9EEjrmsXVPc=","YvX9r1RZ8HbWTN+GUQVdpYGEBJBhP9RdaASal1TBFkE=","Z4aqmGyyFBRkjQagNLnC4Ml5wjQJxnoS+eq4GaJ8X2k=","g2nqUlFydlUxKLsQGS4qw/NFNsdSXNdaXZzKo34Nt/s=","fzO71pCsavIaHx27F01dzOazklL8dhXAH7eoSfTEfMM=","g2kRCUCOmxV5lRMxLC3NsjsbuBXaqqT7e4wEEobG48Y=","/kUwyRcf1+xxa7j3sFdWXq9PYmBd/ezsg8jpGRtmj1I=","ZnWMvK0qMuILUj8UUaZ+MP7Bd73Un+P+YH7EVawuD18=","pZrqwDSQFzzYU9bWOicBRE/rxQ0EPdAWKg2nG2oNAGk=","oB/li+IMh+8k4MbHNtO5jagOpLXnGQtSi8M2Jd/m6y0=","He1eI7h/1S4vvA6k9RtRJr1TxcjBnMq+LK9efiw1mvw=","bFF8gAbHWmBUMb/C4HXO6EqrCLrEFKskleIY53dz/Gg=","T+lugBfX452kWuQ936XGcyMiaCEeTyuP5JZH+ODftG8=","W/MAhaKqImy5SAgmWFtYxGZhILA2UXB+gxubazeViQo=","Jka+RCxg4fQN5JH3xq1xRzHquckmfovgxhHO7NCyvJQ=","k2+IVaOurMi1EhFd8l5gKaKudH5TMC0J4lJtqJzJLYg=","eoTU/1yiHUpiTXL7vI/J64mOjLX/DJMLTKKr+gEn4Ew=","1Daw1fTVV1ylU4SKXdg/z3kXW5rgIqp4E6caanmlLsQ=","nh8Vb/5oiMOLCAa4xy+eNNYGTPeRsfMz4yKqWc1+jMs=","YgZzKB4DN8XCeQrC/K+Vglj2b4DXHNua+f4BYicpDaY=","76uINvmkab0KsJHe+hro+p4qPvGzo7dRACYgznRwMEA=","PTAFeJ7/uggFzOpl2uujIMk1aXZbw4Q1hJDXohLKLSA=","tleettx3wceKiwCBNrpemQRka59xb1qUmcS5aaRZt4g=","ytL69MEGN8WVx9GxF4dGsmL3zXnnwLziTwHH43TqD5E=","vUWu/7+t3P+3PBlAJa5R7VZPvf7ItmtHoYbmDNr2MD4=","Ro/EW6utV7yIZBrw1Pyw59HfrcnZL+limEF9v1T2HJs=","PPSX4VVgr8/e/9lP6cA4A3cP6CXTTevX/7EkYcOJImU=","TWVrisz0weeQByO9tacC0a34/RNRSsN1que7nx09b+g=","6ivid8jYAHstXnfl4uPdsBUMnSeB8pRVyT7HMTPL+0k=","oNevOHt2kQQYWa+JgFb+DOZ5xMD3jU5PwEg/kr8VZnc=","H+K41TZrhDeNMv+w1N8KTagd5iAAuUpz3dMYqPu5nWI=","W+wi6A7aAXtPWDYfSXFgmo5RJevr+O+XUDa2v/InybM=","Y6Ud0Iq39hHEIax/hPeL/PV1FOk41ekY6U9X6zYMEms=","uyesM73BRy4CmZzfyIEbFXaF6kKaSyJf0k9Upz7eIE0=","mMO4wnH2FF+DpdWmWU4kHhnSW1jFrjJYFp+BcMY66MA=","F9IJpXkhQ86LEhGqR4kcQED8eu0WHJYP2TPqgmIqtZk=","FVxdIvXPuy46hOSy3ztr+FyvUHo+xRy0I1WI/+Aux0w=","/ViXk2m1dqDEX7iCQx17u5rJtuI4jeuJ/CFvT4WUG6U=","Kom06hlaHmg6Lm6T9+XW3Di2uwxDiG1UtUA3PILkZw8=","lY+xGdMrkqCBii9PUUfOaVfAj+lb5BeV60xgjX+rYr0=","8b3zxH30fYJyVfiF5P330XGbsZqKpwnuQlwO6rTVqf8=","6ENtBTGxTWudGwP0Wu1eGoDVRoE64HKu+RCzsCXgrGM=","ipma2Vqvo+FbK1kc5IO8oQ6bdNX0+c8lF+rSXACD1tA=","ZaRTM5GghWULJDgSr6aJrpRPxuX+r3vJG316rHSPcQQ=","f3xRUczimeATtPFmAyzatn1oyb6Hlq5XQcgSg+siRqM=","nmJAX3+97TUduip2bXbI2RWT4bSZEXxSYjW7tZ0KRxs=","AQ2GFn3JubWJNggCqihLEzxpA+ib7SjscT3Z564UvcM=","u2fca1k8PayZ6Va2sTXHm2PKkFwJMnxB20vtUBd8jUI=","A+7bb/GW0ePMs2KkLTjbu6gsMFQORQiU5WZ+dECkZP8=","9M+MpYbl33CiXUt5ur/YiEbp64uN3n+rJsI9ZV04aaU=","CmIwhXtXmBW/5cUyO6UOcx6TMWETJoTLBWPVWtljrSM=","zrGkYHaoFZWXJbS1HFzwXYTIQ1ouZtI1BsPtooPnH10=","EH5Lngnc3jsvOneoKRobspGgytDlF3uin7s4KNzPri8=","7QoClJ+NcTdKGxEbDbCeF7l4tbPXMMxcBfphKFiyNP8=","b0iAoLetY2jkWUgXuZ++i1rWp0mOsyDMIF73WxNJoDE=","wPmdlswSHi4bQxSAV0VSotYf3FrPoaovyp6Vn7bmqiw=","STCUskbOSU4wRgI0WYHW3Opjvim7OOa4pPWTnJLOXQo=","VAsDzG+6mf0qLB82545PM6czZotypTNNeuffD9bANRc=","j3HVJpNfJW+EqbE5Sy0QSq177W1OBqmAQjcl+QLPdjc=","iGsOfRSqtoTCCPHCi8wMaXNOlztdo9BiO8qW5MapPtc=","DB2HQV7RRm8t6nFNSTepT0BKLTBTNLeSafMGwn1zA1Y=","da37yXGo2FSHMYUHCdfQitgYpe8y2hAAJBC7L78XKuQ=","PfTmuEz/4JOnFNtYpAyXaR5/3bixbgm8sGgs6nC6XrU=","D3dlpBbbPd8Z14l5XTzKH3K76BYdOhl6ijFZNFh1PI0=","p/6iivA4b1NTEOPb5Yx/yuKjVjbbB7QP8GyKmwMpyFU=","ohA8kwUNaEGOqBpn4oTt5Vcwg0hY1UxdBmEE4PtZlqM=","yji42LlzpxOi4qFkyJIZUjOkocJttipIxhQOfxyECxA=","vbVtn8zPlclQN/C0S8nRqBbvfGudk+TL4VqB4T9zFHQ=","kvC7YcyLWPAxId+1VEjZRpo7gH1vuBGNd1hNCfWb32o=","7hcGl3NzjJWKgrAkSIL/EZPNdFEaRJ30Y/LlYuNju/o=","aA6kPStk1CGPVI5sy1yK19l3Ca2VJFGXQMk1dFx+ED4=","2nypJTiG3wyUtrVk/QcZO1Zq1/MgRlNNRCNUIRTcebQ=","OwTL2DQ2FY3alIyQQWt+hAmLSiZwGDgkMZK2uUtlYdQ=","wiJzl6yZPupKHj20P7CssCypMgyrdCmamhMxz0CbAcI=","xbrFB1qzsAWkM1gGfCplq0SIAI2SR8uY7DmbHS97vZM=","SxPavn/fr/EcfH9wwEippgr57G1rPr5lydu1EO+DwA8=","z8+N9E6EeabNYJyJwJmCq0C8b4DbvvuOUwF89dkflNM=","M5R0fR43JBaKvwa1Nbsl4djC053fvLXcIY2VWlznzto=","2YN3IyIJ5mN+dcNwevAUwuLgaHYkXKp2rqDEdzBG1u8=","lBn9gghKs6RRew/1T8xjyGp0Arw8DqMIrHQIMoMVJ0c=","Hty03aLGIemTzUzIwHLFHXQiJWXktmfrrDaRRoDTnDw=","oZSGvWGh+hGklyfJM3q+1Jf4HCakx+zE705Jh4B8hNo=","XeRDKhqRLFut+fMzw/jDIqvwiEcYAJZul4jdHgalzHs=","nH9A7EqWct4uyzYiv0k+ofWMMsczn1pYKSxRV67xP/w=","g+21Sug1oWrRw27pIXdgprfqv8R3BNiRqfshLZ8SIek=","1YSUS0uHUk0Ds6KfVpgzgZ2ccLH3UDV+6qamKeA+wpE=","N+Tamas1NjNlf4pg6DnXTU2KeWhXMJUtI31CfBSyhqY=","t5IA7DrRydQ7ulXGGeZieeLUgA0CoHSE9gTcmtSXM9s=","//8GSa256IlWdbb9k26CrUfBK5M7bVz/jBIgF2zKKSk=","VlkpNfDFKj8/kZplQ2LH4TsvQ3rbzAIPtbeqotIh71c=","EaRrgpsE9ETa1LG/wLyjclJutesCJ0mqhRz7TaY2pvQ=","aGT5C9y4iKY652jt6PBsphrcCrwA3toxLETBoefFFUM=","XWKs3kAvOToUIysTX3v+s/Y4QlsxcqsSADs5yQR66QA=","yfti2lRDbvTQfvdpODbYFCcv7G3YQcvbeVBpk15Ig/I=","7oB55W5IjTCzJffkEYuMnLQyoPzm47OrajeddPBLtgg=","f3Z0M3ufdarZ2OSUu/qhRSZ84Sm9A67uGNTnAODU/yI=","5Lrb3bnaOT8P+/Lz+1mfd+mm6cBsHf5JDrrot4OhDWQ=","gJLtNiurBS5AO187Y42FW7VyKM0YpCiEGqYkSrgBpv8=","ixDLfLx7cu1lrsya5cEYoN7b5ewRyIVW3wPgF/Ksk+A=","SS3/tosc1m/w4T/+ZbfecZF+0t+E7XDGi8T9z6TVXPM=","JNfT0/TujnvxM1mglVws1g3qyPeiceLWRLBZX5MBhaY=","Tfzvr66g5okBMcwtYDarRq28nR9N/jmTh9iseA1cbq4=","8qdTScnEJSitb3A2H0hssuOe3pH7XXmjkC21tR4oGvA=","xUbUb99CWsbPl4ZQQ6ThQnlylnAMVyh50p6+Q+rnh4k=","p1pF3POuNeaf0ha0BqcMLE8KSGeUd4iwC2CLaXHIECY=","8iFF3lImKWbCdCiXdNabJbuZ859cxEVEx1VFeR1FSlY=","PVvooH0QPnMeEQ0a10JlIfrqY8xoytflQoRIjF482WU=","U7N2i135SaTUCc9wRxaMXTJizdbzwYznvAtU8G08HD8=","fXMfC5ONlNCftTY98aSBOin90uY35Cs4II3TM09FQCs=","denVy82t47Cbd5j8EnAgL7hAEQ7oBMsOxYpAIrQhcqI=","n1KduBpBMGJqM1yMHtLRfkEdPbhV1nvrVFcdMQdyJYs=","GPHvMYoCqvE+aKnoePQdzYmjk8BeO0F6xhJJAc24B7I=","cemfVzuAu8vA2adyg10zNvOioET5oxcnEsqemPA2tEM=","u8JYwd6p+hNLRyVLUMq/0BUzgpVQ+jg2Nh9T3nd5XlI=","P2IAsInOLSW4/htrd0dSdW6hkal5i9Ezq5Xv3u2ovSI=","1tgbeHOJoZLAegWNvZiT5J9VySt+qPz0+Plye/xWyZE=","8Lo/z84en3wdfVhTlwcH6p+R4rLnaLwhh6cQvZUSD7g=","ZQqQBX81rQqNN2i1iuP/A9PjUqs5pLPe24Hs4DbLiBQ=","BxRVhdlkN5LAdM+9NABAVlp+vVZn9B5Q/epa3f3RXn8=","AjH31eVmWVNwVOkTguQhpgqp/THeQtYEzit5OXTuZS4=","8Qu3xXkJzsx0dyXb2FsCbovjUivF1r63YqLIQYCBRbY=","xoZep/lhSut0f8Z8pwwWsKCho36dgxUKwbX7Jf8C4XM=","2SMTduRmp9XEX7JLSldHquyLgGu3RCCy0u7n2rU9bf4=","Qo4yLhuyCk9aUiXW88GjzLmoIeTRafTrTsXxM/CHho4=","zDHCi9uoDHV3S1uhxyM/0sphpopMuuNThwWExFqSX6Y=","4EkLaBoVRB+OarZvtXPsFX0Srg1vic8XEmvi+owvtQw=","Dk6niSlOWQOdkQGptX5LL7gUzumM1YQgp/VpjBeoPlQ=","nmXSuX7Tc/AM2cBFzwkkDtwzJs8KnHRNTDiC2LZGk2Q=","Um0XlIxcuSDWrNaTA4BefbCUMyH9HTri7yxPtrADJbw=","J2q4cfV4vkullmI+lgBjrF+zhjAoYbxjyt48ZORuMvg=","97tOwcMQAQ6mNB0oZ2okOikY878TDiExpiPyph/9VLc=","nw2Wr3lgDNbCKW6JMBeWFHA/cWTAVNsl7WDn1tLrNwM=","voGLM4fO/MqZyrHXR2tLrchFg8REESBIXzx0oHZGVl8=","WnhdcxRMRelTM6+iGGXAAAN3tOyMd9vZn6IE7l8eRoY=","VT+CiN/h6sdD9hV5ynrdbH3bJDeomsWu0GltKN17JQ8=","fPHBgBx20GeCovHHa1fLiqcCud1wgUHSDM47nc4Vnjw=","tN4FJant51/8POemakgykytTGb+oOewyk8bAQXKnPNU=","AQyF3Jd7r4FXCfGcCISdDTuZBRHru8TfNRRXKA2CDg4=","YOfMkSDLcG/cPDxsuyxWmOa8ZTxbAbovF6PEA+ARZ3A=","VyLVFBbchxB0eirYflRYIZA+BXSkDLDmgGsAQhRBuSY=","pG7QFIMNwiodfLOzumnX5Mnhrd4+dzJUoaPYqNTOoQY=","2Ywnx6x7g+bgbgOoS+BoISInWVNsUhwW9701qkB8yH4=","SDJtm3++VE9gykYeE7iL015ECTfFc1efsgaFvUKQI8w=","37YVGOVjzJBnQ7Side7nq5fw0WItqMtRh+sWC0dX5RQ=","KeeCgTVuLinK1lx6MpdcmiGI3uE5mh5iH1AC1tWs/kc=","Xtd/NPUTrXw2YcPsYa504aW5IOn8NxmA6m5txva7sjw=","zoM7aZ0MzshNWpCzORppwaq/hs57PMHnjeLdPVW1Xig=","1xfLD+scdQZm7L9I+YX6G9itTplVvYeAgUJr9UcMYuY=","u5udilXdcofFnxXczdmHfnJ+rDHbBgfqWljE1TJwAKc=","enU7xkvIIO9YhKFaZDhkgMuW1ZrJPfkC0eIxUpHRTCw=","AAXtHzKQGBLapbpk40CdbO1HyXFYpPnMTsdtvd6Aqfo=","luQGX69aM81KidU3VUnOcmA6Znp9bSZ50GXZFtBsYbQ=","DrezQlOWoTGqvoXqQk3ym5yevX0PUY7eayTqN/cS7Qk=","mHVJn4tlugq1ctl8tOrfq+P3fNg6cBlBgKawqhwSDjg=","9phiQr4nPCKaj14CoCWEVw2MOfLqfVhmSCzM9SfYITU=","ThE1HHSFUmhLfeJCqzQA9f1xEeqkYS5ZB1z1gsbYZ2g=","QEZQtVLhDQ+Du+K+sgXOOlfWXxNGUYAzXqW5y+H6Oas=","ZFbmlm+Zd5j82o6XwlBKsWXMD0FvlfgpELMT+hk1FWA=","oTvd9BrO7kdjysYf3XIXiifLna/N7skA87Mmi9/opQs=","K0dLvUIftEMPb1+zcB3NfE+YJzcHzqzkPqU7cstkUS4=","LTJaKDJr/y1kA9eytCqN8Mm9wWnBeCvuybbObn2X2ig=","hPCdYkT9ppbvPa0HF4Udv9UScjUjUsqkIAxmz3p18yA=","gDvRudjdHznLOeXKJp92euFpqboXVgDeM7JpHJZnQzU=","HRJ2JiZKiDYkisXCgN+anPDucZZ128fLfxh3K+xXD50=","5hM2cre4h/2zgwczsDBYyQ8PEyqyVkbzMQM7YtGCCOE=","kdXrVTuJl9dWyBmmpt92esYDLWVB1JNKVr+8LrCezSc=","N18yXae1Z8rSbigLw9XKcIJi2HNLp34EDS76RSYy/u8=","kKn0beQZplZls9Jh60FLkRlj3Ku29iJQMIlmVx2ML/g=","bitCxFK6VI+6LDy9xGK69CubrQ75/R86TvTdEZlz60o=","CUQreFXbDTbct38LzpEa+YmGInbAKTkJNEaHnY9OjbM=","EZFmlrwdzpHz4X1SebFH+CUdW8ZRqBKIJ9HPdVEdsv8=","/2TCZs78b0bsIOWG8jEZlYRARR7cWhsgjfTRJYNdhSQ=","F4+QP5+l/oRjGhTxnugGESI1vOomn/SKpq+D+PCXdWA=","/63cBnOTJRG95evyXjkdM+YIwglhUcYa+xAeJswSzfY=","VIBXq1tS1YM3y4tGrlEYEG52lIIYwRqR3cizaa1KQZE=","Na1x6aSxLf5EWh+jaFhGo5Uo3ZZz112XFUTAS1OAd4Q=","fBd8ECWajHv2bPnzCJwkKJsuyFFQhDKDR/KQaRKD5xQ=","8+y7be840DyXrDL2C6iso4pLqh1aRCdUxyIZYNW56mk=","JlPzLk1UEiSmT8u74YSOZgnrDFrpIoqN3D+M1xXKuak=","RvxLZ5WDFM/k9P9DxsO153XNDNNXQzb/y8lInAX2i5M=","JInLF7vSl63qkQ7qmcxdG86oLiEYY9ugaV893MnbPgQ=","SsqjWib5q0GK3s/Db/wXWE3NkMNfkiFGX0BHysdXVFo=","GZCLoGCsRuwdlzvHCbWqEia9O9MT3H5ahLQWhCgVI5E=","CrvoJrjEgFmVL6lwTlybj/NNaZ8GCxR/U02nghDGAQg=","wC1UrB96w9I4UvhPu0o/yb5lS34gjdCfL65DxZ8AFdQ=","fsPhrsXIcDNSC/xKaCWnre6C5mPFCXhwyNU8Z2GfOmI=","1Ruvw+VmPB3C6F6qrv5YNVjvTCFIP6S1J9/3KOKptEU=","7P4l4341v9PcFeKy9EYNyBwVDUdtkUsLze+5P4KDP7M=","AZB+J6lgaa/XS48SVlNnxbtzwt0eDupwN5L8UD6OGfE=","QZWUWsa2PVSh9HZaz27NHGaOYc44vnCGAr3/fPad938=","RAJhdYYbXw4fIpk3cSREVtStFfU7kGvOK4CltNnGz6s=","CcLJUkYPD+3NOloL3Nr8LvDhtsDrGr8wMB6kKp4MqzI=","MWSuRWlxZaLSu5dunSf7MIoGliLqFdLz59v9qjs04qY=","FJ/AzjUOUQZWw/+MX/1Xb+bQPnAbxNy/rXlsUbNfYNA=","1X6g2g10sVyNefT+CiH8XczaQuxwAuE59BAQ6UanxIg=","gvg2oZKFnEaHLnZUXUjBtn+aOdqTyLZKxCCN7PsTWxI=","H4Zn9eZzhr4UC2pmk9m8DMCqBQe1X5ysv1lLRZzQ1tE=","WATfRCNwjp0/uP1T5KJVracEkhQI/w8BpPplGBF2eJ0=","dttkx+3Kqa77+q6prVaLsuhwaWZNNHfUo9xl2ESXFkQ=","trU763EYAJHsuaJDqkeP7lsrHPLM9H5BkokB0Ed1OlU=","WHLPOivWlFDs8hjUDIPaZ5ioIC+6voGxwIK0QxQiY/0=","a0KXIY2rpMPagTggd7PphevEwI1ROE8QMfgZLgAQHc0=","4ll70HWry5oaRpMR+r0Y/04/zYjABrH3ss4i7zg/ceQ=","q6oLkVAX3SgDJWFxDOtJO/FKVf/7TyVuXbfmzih4Aus=","usEsoJku4j5PsO1v3ll2p0qfKaalTkeXdskSznFHFnw=","FDy6i4W7BcuDASdz0hyflGzV77J6O3aIrmvxHSdqOBY=","kr2uZR1qS9oCSlFYcYzIwaYz9LqFdU3tU07NBTb4gGE=","TfoyEOmebhgJumjXbrwRV4FV+fPUAgzeu5sJt4/4ILQ=","jhAGYjQnDmPmPPF4IhLf8Ru1e4FAlXE6wIcyG3SVctw=","FYCYyARpA40YfRPWct7Le8AY8P/d+bvFMSmoLr1tVX8=","GPu+4/Sk0uG81YqwY2sP4xqjOT+fMltRGzVi1ogJolE=","a9LMwADgGsf4HQlxQugAoK1zrMrQR/3mEnmG5icKnyU=","JOTONt69tBYtCWGeHs0JNJB96eWMRgBdrRjY+JjdMw8=","WpftQKN8s1giPsCCRgN+2izt60xT7U+p44tRFHoTiiY=","SHSxBhNn/QGlmcFTok291rDrLl7Hm0xhptNk1l82veM=","/kBDYPjQxYAs2WhEXE3o65Fe5DBHFPUdXNS8mTHL8hw=","FalRbWODq5Epsu+GpqZudm0d5wiH5Rg9MHu/+9fYXOA=","ZI4qCpEUHcjio7dSU5LqNrw8X5dtKWZUL+wQlN1owBo=","nrRZPjCq8myNf+1+lH3p6a9Mviy6K6BoTU6bb0/ue1s=","x2CiE8kQumBmaQ7/5g52KuVpUqHDN0vT+BfAQNf2K8o=","lP/s9PWKQCqQRX4w7Pxrr08V8rP3Oiu0vDnp73ZzLLA=","F/idLsaIw4QF6AFIw5GvpwGf0CJrWiPFqG8P+liKT0s=","ITco4zq5KZ2rXVDBldu3IqneW69rsCS1wGCu1Xcb5c4=","SbGrXUlhoJwp6KB78tjXOh9YMN3EzOfH6mofrsyC3xw=","hXEJ3XljScABYjjazezUrook2E6miDawP9UvlrFcLNc=","VjLRpnLSujmV2blpTsRpiA3yqlYsSv51kvWF9f6jPpU=","DcUsXiFv/1G7Xs6H0Y2+tMSE5x5TEScUyWdp6WrUbRk=","BEeMhYJx4+gOXgYVWJFOxI5Ljl2eJ7R4UQW7LfkJzG8=","ecbHlAYZAyksC3+VAPczO3pz29PXQy7t+H8wdpUpJmY=","GMh2rlvBfFoAKbZAWRBnn8plSZwDy2wrF1UPz0UdxUA=","/Lqes2eleIpIpkzuhz0LQPS1EqU2ofxYpaDHq3MgvcQ=","09whhJ1VXEM/wQQ4mx1qLTH9ALJVyPCorQigKUujO70=","SZ2FTPLAtXHz31zaWrbUaFlGXyP9AtKoz1Ks57xmGEE=","w3OiItQVJXpSW1lCpU0LCw758LVJIdhx83rdrKzr2Q4=","hdQP6hDcbhIQMfXIizQksgnRmugPES030uulxT7190Y=","GMeD9+FlcI6IPvkqlkwHsFANFVRr7HcgQz6mnnFApBI=","b9t4CxDGXsDPxISE9zIsDVjZ34hRrpKktMfUYhI6CK8=","NzeZy9M1doWvTo+ia8ZjkTDB5aWYVi0YKrpAdipLXwQ=","V5a9pyCdy6fdIl+ZfuCF/LrAC12jBf6xU6gNnGWdxz4=","0qdoov4RmbAfKG9iGrXJozmVtLGI1/wMqSmMUlctbhs=","AP97byE7KkaPplPKW2ELmzNl2ih4dpzSEZ781MouQkQ=","dVgyqeiXUWqcWBM3M6LLwauJ8+fNIvR47U+KDaUPnUk=","aOX1YQ1aTinETapkfK74QuVe011P5N6tBAICXL/HDhg=","AarSRDHOCUniowS8kkNGNQmiYwgEMA6eIzu7TUBnxB4=","kEssjHJdshd16LVATKZi+T8bItxY49l2zlbDUHlHiUY=","Z5h69mcvcqUzAh2vIhg5gr0Ana8GK30X1vmwdw+SFiM=","NlRUQJRa815Y1mWUxd6bRVPLPKVE21Xtf/0sFrv6+7g=","9Zor2ZmvPjnQfZlqof7umV7pG+lYmAHXCeQXTDHUdqY=","3KfLFJ2P8hPd2uIWstpwFDnyDHhUDn51y7OxZcJy12M=","/yOQs+GJZAewnhpYTDDJxuy5I0shFjLTNHHUtwbOwiA=","88Aj8iz1kaF4G6gmNx5Jqmh8R1gfdH9lXVPiu2piRKE=","Hyg3Zcp3i35lrzsrP7Ce75fu8sVAXzs8XFxaSKiK2XA=","TXA/TcFS+XI4pTuO3UtGn16yDSQlDIXQWmiNWKca1gM=","spzB3o1o8P6JTMyNJYG9aAcbWHFrhGTgl9uUCwo3SAk=","VlP2NYJhNZNie+QrrT9bKOHvqWq6N3QKJ14C676DZtw=","FRQEZU/POHuv/MikHnOVuLwcPo9tAndgAyv0bzWW/9k=","agcTSp/0LWsL50ub/DknECJAD04YVgbE2CTFZPNh9Zo=","ZJn23FH0TjIQILmg+Qa0z5UlXypux8/0l8EzyGKtxeg=","PBUTgsjEYFmvWgZE9+wtaxamERqPoRUXZTUPacYGstA=","F8kDzUD8WZgybIixdjpwvH7evdRmf5vkduXP67lAGUs=","sgUlDKzG/qdqUsejYEyMHFvUf0+vlmaSHccrJbJRkmM=","3ZTplvP0pZBF1SUnpVGSwMuKKdIfXTrrzAn8JQowK6I=","FWIpnnZIozaj2HhkYv+cyOSpDnG0h71h3iD4tql4dj0=","6DW8g+ycfhG+DrDUwE8kHqCLBUCSUqHqN9IYf0vPai8=","MDe9VrcFr1cSGrQwbTzBwSTVWlySoaYY0YwKreaNn2k=","RjHJDwSqQekCQqZOnbw5NWkjYHR/Zun+oqvE4QWmUOM=","+/Mgz0gikTXEL5v8axx1hniYPxGtK7RQFQ888QahTLw=","RBfz7oq+gBi3LoD/ksh8TW3kFFmK1J2NnqrsGOv8C94=","KIr+IkAgvhy9KrbXkDuPXYkYg3y88BRGTWg9hG8GyOg=","z1s1JGxWOGb1rA0THZfy6ao1fqZJHxNhYQ1v6fMj0Fo=","QLilz7j55T2w0PAVOP7T1bMBuqla8TY2V935bhAHdtQ=","XcH09zGxGdUcCZelOBrSiz5KRrSxhbWaGjFmcBvfrNA=","QrHG8GfBki5oXD14ItpNpjQdj8W+iC/Nb871/J57Kcc=","knIrG2xg0dcpp3eQ95Px2nTqCdvpb/Ga1KdlVpVtu28=","6R8QZF3AaxfGdqsu9y4oqPtt9dEcriBvJ41SJ36QFeE=","0TBk91lusYU8ce5tkARpnVKlI5O/3BNopBRFbQbeXl8=","ugPHaGMIPTDjEYbI1grPlyGq+EOKT7j1+2WYmQKqtBg=","cnUcbDMNU6VDelZJeG9ifY8g0ESIjunhMqcEVKc7GlQ=","SaHGvx9RdlNL0M0zWvUo6xBx27GpvusgwI0kf5z9PhY=","EEn0RE7wuu+F4WUHsuyGfa/P/9ryEnBE5E1+KID0Hjo=","r/RGmznfAUxtr6FF7GsZR7f5kuse2TCjO5Ds9J5u78s=","EnkupiONfR22U7zIbdu+9ZUHdTZhAPhLDqEAGYNIOzE=","VoJi9EYZdUuj49zTXrr8SKqcVKw2AAT8X193VQTV4I4=","3x0xQuIB01BcIQ8wveUFwUrpGzAYSCZXf0pmhiIdZyc=","5lrgyiofJUHjCQwOEkVAnLyv97yvKlPUgGUIXRwgZow=","LKXTBsYFB9hXGx7VRDYOYp9gW1QdCSIPiRIiW9oifHU=","Sdm6udIMcnkzIpldRzzxgCUG/5dnNlJLVp7dthJJY0Q=","uglDrbYxiFmlMa2zATaS5NJvMLgwNjq3n4SmWGNklsY=","LJBZETojHezzT7oIkoSfEdzxj38jd/It6og6bgixXp4=","w2LPmn7sz+h7qIaTZut+53Kr7sBRwQi9e7rRYc5Gkig=","aYmn7pyo4m00HlXAxm1tG/7cLcxwX4EzUotM0m/DGrU=","w07WhtZHr7oQRiHM+c0kn/yYbuEY8cnEVW/DQPUnuVE=","lgmDEap4r9GyoxtDXKR8ywujLMJXerIl5VUDN400+FE=","NK0fbaUR2nNLspF4IM8Djtqk2/09w0ua6w2PBp5aRCQ=","fWKgRl0kB2LzKSbBhMu0Co5wMPfzx6KwtpH787c7SVw=","F2Nxq/c0fukm8xYqAeICMNqPtKxg+lZG+3/O6jyG89Q=","v3IBxovzCs2JFvA+rq6BKer9ZqPIEpmvfABy0tOsOPQ=","2yI9+QFDfGoZF8Lo0MI5PV9udCA85euyi33tLrwXQjo=","2+MOFcELCZz1VQOr6E6Pz2RWFyTKmDBsyyaGRk+vwSQ=","9wYCnyG2G5IUKVzlnIyzdqMSfPFZgSfGEe/QnylsyGo=","yx5qYfu10n6DqWJmwa7SV+eSRD4jNcmPmY3ZvzF+3bU=","EUuBcbMbjs+Jjl9h3m1OOITPdb9RL1FSHS/LrEdyfjw=","S+l4q2B0BpUADZs6BksNCCIP6i8YXbYGuLmB4+uDm/8=","BJWYoJmWp+lhNg+d8WWx01jTjytyyh8jRAHI82t3/H8=","NKEnjW5mPG14rLdauKxPqJ6A3Q2ujamBZaEMbKx+3dY=","Mfk1g+4jLVD1S4VgzJitfqXxQWKuCo8v/fQW/VUeSsg=","Vv5juuWWQonleqdG+YYVKw2fq5ZKe9Ag9PGYIeHRZ24=","jaBb10JCrEtb4PHxZbVxO1ezndr9zai/94aACf7H0vg=","/HWq3+/Zrjv909w+ijpCmqmriuL8z5+pV/HGvsy+ae8=","47H1+iNwmrgTE5xQmVDgmk4aQv8wuDiOktIiOreG2xM=","uT8wln9+3deee/4HVczi4UlCVd3om69q5Z87NsgOQXU=","O8FnRkK8P8UBS7J3grpGTIcFO1qYhgSJI0pcUu0kb0A=","+wXdjpyzRXB6G3KJquroo2XDneOwx9gWj44rMDJLdrg=","ekI0Wb4SYmYor2qlMe0CI83rRPCq9t+CGGHp9dxMQU4=","Yur7OgaP11/6jGsAsCLt2xZsR+o7H7lOojypgqMJa5c=","8Q80KODvL4Ba8mkD1xsG5KIEDujOneeVx99G49MVti0=","mMCadkyaB7DbgKYvLIVNrn6cr6JDkwf0VBbvg/cdAo4=","fkQSpF48CWZu0ytlpKuTtGKYJNsIWRzZ1oUFLS1jCGE=","XUSR5XTK1Z0VOsNsWdGmmCMEwpvwhGz6qYdWaI+fazY=","50Kh6x/TDS91/MNz4paCy0gSSk/v98vYJUt1SIQptKQ=","z4krQlZadml+SGuTc4wO3N4NX8vkh6VE7wkXHulPN7s=","dtiCVEQdh1mJ6ndhcbl0hV8RTRWLwFNHSkFHqwnzdqk=","6ZO7oyfHYG+HzODZW6XiGE2pTvNslQS1NHqAPEb+rfg=","W1s2D0Bsfe7oP/9a4ot6vgljoC36UgiIrRuC2TRiNDQ=","TZakUOVU4Z0lglatKZh160XYmqC4Gv8VxPipscMkGe4=","1yxR75ruih+2z2D5Q7QlgttjrkjFTwwJT7hAT7bFGiA=","9Sswc6jlaY3cSDxlclk6n0heeU6kfY+7G6NwK6FGIgw=","80VQtTDgTfPMFEk1mZ4J2ARkzBvuR8HExbPSg4E+TE0=","qjzKV2qtD6Cl7zjgKdNurVIzpuKy5KGBbfJENhX1g0s=","8ADiUBWCBBNDlKibUQO/DQFlzBdrGH2Mu6hdEno47Nw=","Y+0lCcvRxr+Db6yV7OV3WwlTnZiOPXu5/zEQWdj1JXI=","MwUMrl1nIV9zfjnaTGJwLhG6BLWVvUvK1J8Q3rpt7RU=","BuCIXiGk6APHR5UMmmZJt2qY/GUJ1DgkJzp/1wRETac=","d32hQNrgx7T1bWjHIeHeDTNqa1QlreUYYhb/l1+XNBE=","T/w1klS19UgHaO9+X+ehd3qgQUF9LJ2ZFjOaGi6l3ek=","h9wC/HUm1CBfES333SipZW+S0DBnLSghL+oUIugtRVg=","UM92lt9bOa+/1dx/NpOC0xuzlwpGj4K2JLYE3ikHaGo=","nq6dbMHQf/pDVdFhemWRzoiXWrJ8Ulg5Z3EH/2wziJ4=","fmFtBFYWkJNKhZPIjBHhnJLHsy7aOMSG6IdSbIfP32A=","r/eklAgTApxT9Hd9xWBrB3q8swmb/t3jIn6cNvWmv9w=","vRyW/BO2QPQ/zx4trt9iGMA3mBrpRkUYRNz5k3NePiI=","8Eo5TEQTfxM4VdtwlPjjEgTXd9+/SGm7QPT8sx9PYRE=","TKow/30h+4qzGSNWO/k5RMq2ERizxuMKEyR7PQfUIMM=","ew9Vdc6ZNZNdBVwdoLOARP+YSB8WUqz81tNRbSZMmcw=","XgxvNhk0TljmaoEG4I5TQr6B5Eaebzm8KRTF8383qIQ=","JbhGzh92bQaVWeMVvWMMeS6HvOUZA2L0QJcGZEzWgO8=","bjUBe5CXrTnln/6MHYKBPeZ7JRv4LtyXt3zJ5PQMh7Q=","GCfM6PS71yFAaWo6JLosu/ktxHzxef7GmmasIhL4xpI=","M++S5Qrr2xmf106y20lbt5utb2ueI71T9ekAG39TJTs=","0JTcIS0HTPWBpi6mpDPpvkHajTHSf6FX62C+jJqxpUg=","GM25hq9yyfFg0Ye+UG+/8l+no1NMFDVLb72bXvaXYHw=","AscgPsNSh+nnbM48Kqc5a9mNFqlY8ifV2oxLkmtmyGk=","ghdLmZlgbi7Ct1z5Sk9KzIaSDpmjjRR+B9AOzA8WFKo=","B/rtdMYedbigEEse7lybukEIjhP3sRA7vattYW5Ac2U=","H89JI1BEdCUE3901jdhUK2S979Dkoe0Lfx1ELSzaOcs=","XMtTxDK3L6u/s7JetC2ZBIxiC+qropOvGlNSt2et2wA=","EJFJiWJvAZgbbMajddXimOxDs/4pd+MQJ8uBxHwXQcY=","gCMC5IdI74OIw6DW/bzbAadbYIZ3b1+Y5xn+zs1z5MA=","S51UCRCpKfnRRZwjjjptBPZ2gXEJ6hRs+uJdBJZomr0=","xIW77SfLLdSugla4OMjIpWubmup+JJ4Nqc5PpTeiDyw=","AKcSCbSLa84m0sXfxPuione9WugiZ/2jUNGAZ1IPXCM=","DgwTPI0ksZghJRvbDf25PvsbbduHaU6ZFFQUbsqxFHc=","wN2/KJWYbye7LA4dxTDHnGwq/+Cwji9BfDtWX659TVI=","fXUpEGN0ZaoNabK+7JMM2XAa8z6FSModnKd3jdFmFU0=","7jgxXvWlmAZiAc4l2ZlQGWjcHvazfktbUXmwx7BELHM=","ARXp9UZ3K2mrVTMpr8zVsOnOjwaNXyX07UrheuIxm4U=","2g/pV9FbyAAOZiciS8IzrzP5CqPh8aBEDm04s8+vFxg=","J85xs6KiIfhwjRlKZ+6PWcrf1n64rF8os2okoTkPaV8=","zi/IFrnq794p0C2pKFHWaq8GKteOvlRVRS0fWLZf7NE=","L9T/V5XTuRxOGXa56WresyLmTURiFEQbIlOn9OToyUQ=","4O0tShLwattKWNVoFsCKYMjVAEPwy6sXAgYyxoOIuPM=","PzVUDBJ1YFxktnQM4ooy7FR56EhIY+hn1IMoGEm+FqY=","N53tUG5Rrq9QFXrIGKZ9u31/r/2Q3qzZFnVX8yyUOi4=","rNKe0DvGRfQEwYn8sXmAJmY3yEm3ubFwgW+QNNkHqcs=","J8OuHyuFY8UCogKmZrwNXjKJXmsnJZjZLGQfMRrWzG8=","dzotNRhjKXQC08LLGmKoakO9dfwze3OK0WUZsFYOI8Y=","DAbaGHntsZJl59OmQp1FXbTEWd1GJooGOTNWCgufRec=","XLLhFRqzUPyjIl5aGpLT6RM5aDgV2Nw47afL2dvvC0I=","JExymt49GG28U6vOIyxR3q28KLOsBbPH2JwtRRpUeUA=","OeNISfZ5V8xToAPOi0atg6M6g4OgqEByvrX5LbYEm5o=","37wSKSSEKJUM442umu7BS2GCRrTjtG7x6GwfkFvG15c=","lebq30zI42+USbvxNkUyZ5jR5d2kkf0lNBI9+xsN8Ms=","/OkfvX9ptDiKx6W6CVDdksxPpKjYppFSbJP1TRqdGy4=","BKFpyu6FNrWDbG6Voq/r0KfLwbD26FIVTqdvssEyvsk=","Qil4Yn1T1Qms4B+6ZM2XmqfuAgsjm309Qu5gf1cOYn0=","aCpIMP+/EKNrieN+qtwAYI9HvJekoDPC17YbHpdKMBo=","wcQM/nfVDXBH/FnMpmy3ITkdJMQBfpxX4nHXOhvzCdU="],"block_size":4096,"path":"popup.bundle.js"},{"block_hashes":["553hDtZc0yiPRQ6g1k8OsItDdVfBD8oJGv0uoARk8oM="],"block_size":4096,"path":"popup.html"},{"block_hashes":["NHbJBmvPR8gw7dfHVWH8czX5lpvFNxWZulenDP0navI=","5MXe6WsHGkoNT0yljQY++0uz8NSvCJi/5TTMAFkdGLo="],"block_size":4096,"path":"reactChartJS.bundle.js"},{"block_hashes":["x2xcX1n1eCVRf5B8NlmY9+uqOcOukYvDCvFTI3Zspxk=","dAb5gvgJrdHXDAbSBCH8TfBCvIQiANvCKnnTcXYNB4Y=","ensDLfbKu7fmXtW8APAwutzbl54E/rFFVgdkuOFIUuo=","JWm17ZnTFLQuHApZdoJ/iygdWO02OpfcKon8XmQ1dGk=","ZI8TIFEYSq+9pG/JQOmoc8eAi6sfTsQedBKQmtUQhLc=","OtAolhrPpGeAHtKEs+opssZeOpVlGqecrXAcJScvuiQ=","zfQSqurFaUe57zyLRrwc1mO1/uskXGHLcEGgGO5A+Dw=","x5Cr6XvI5hhEsgV8RchU9XojYK5YEmT2A4suZ3sspUE=","oJOZrxDaLghkImq/FzPZ0x3rhSx3pRBU/tcYXTgQWLs=","2C87X50eqWZC0WlVG33w8FH1EwE+b8W7PVkd7oucbQA=","6kyw77Uy87S+oji0Tb8EpUjUuFgrrCJ33+d25GtQgXM=","0dV2jiuDczQIZcr4gAdVvitMM0LG2VAskGl1/l0p4Ck=","cj9VkOYfpvBooUbqLmQ8yZEngNdSr6q38dmyCHkmsbs=","0wOdxcTmuQgqAEQX9wXrVPbLGF8Xnebg+UZUKxSJ1kA=","YfY+drPHU1oT1tk5ub6VSypBbdVceb7yLTkAXHshcXI=","4uDt7aBiTsR2xCx9mjKTUe0UaV/B5+ByRTXPexJWYmw=","OSX/7UGBqXGwrUUwzQ1Hyg1U08fJH2c4N9tFALffi5s=","X+7Rexqwy6IXlh8j0fT9Nkju2CQzXLus/6A/r7WufpA=","AHEenRx7MQwDz9K3hidqSD43KMfgh0smjHlJIYp0TNs=","xC5Rx0fCp4Wb3YjPKtbr2JbQeQB46YJ1IS8fvIgJTaQ=","ZIxyJVwG8LkLgvJ9opjEH+UdQZlRhZTKzojCIAWyosU=","9xG+HmswYgfFNUEhPdPzoVVoGOrQq48yya8gRfxFjQ0=","iqF21ty1UhtojXSB5lg+6aGSrM9aYufOETKac6aPEqo=","Ih7u+wdJpSmu4hufpgeXKsNA3+EBeRAftvEEfEhJfnc=","8fHNcxWzPD3FxzugWCH1LgyI03+9zJHjXbbub7OFn+U=","K49aZJfNp/Xh6b8jhIsyUB4vd9pB1lMn8pJtZL4p0r4=","R1IW8hCxCvnecFZqCN28OEMOLvOKb+nZhu0L98/Verk=","O0ZsAPLz7i37iLz3NCagpHX2h/dxh1o+nbTqVm1ajuk=","S65YhzkYOeDwA4UewZ/IQpEisd/zy82I+h7w4r4cSQo=","7NaHtgdffJrHo5Jjin1eIFZ/DtlbQK8VadtrOj02Sg4=","HLoCfhQZK5OMnPy64ZJk4QlyMiDf4iTW4B0wVAqjk2A=","rJCBCZDYZN7jj+PpXohlk67AaeOTByDe6znjd0MHxrA=","inZg36z4HOOq/wxSdwOfsC/7dBjluh9pWC4Rq3ycbi0=","ieMjxe79XDNH265vGQaLj9JkSVSqV/UdXNPlcr2LdSo=","oktqtE83yUV5i5HTcb4J/L4Y9RFnXh8rLr18jpPNhOY=","06Rl6J5gor/D8Rvo9fUeJMNzXIY4qXbt6kGxyNyevGI=","MaA/yZ3a8qDu3evdahLeWiGofqvqGg1pQbT3OwmoJLk=","fb5oqpSkWTZScBqoUcqgcamfkA4VgINVAAWONBeLjjI=","z3FR9VOBWY6Qok1mEsYfZx61Y0JoTrM7kdYeTVWRy6Q=","6MVWRJzkPnBMvv6TDpGX89BbpnMjx6BfHlECvslcOUU=","sbX/1uD06dnPe9OVe5K+EDm/pW79RwtDUBRZn3471Bk=","xnWhB3rU77+vlJzrzYtKSO5Mij7G9g+l0Orx10AUn94=","AL7PKT0WRiGNpp5lDklY3U+ia1z/cr2yoURkWhJ59F4=","1eK7eFWvvT2mN2w88QEiOyaowNvaogAjs8yJq88Ri7s=","zeVfJAAdmUly55xMd64gMNiZ062LFReKT/y7J6UKMaU=","MFg/87mJeLFYDzMyh0MOlPBh3ESB8Ib2SUh4BPxQ/vc=","+rFhC9/TVMecGXze+8a5Awr1Ixiq40NJHs89aqstSVs=","eRm8UCLwDS7lCef67jtlACrtjEu/oVfbRKVoPyJMWls=","Aq8JxKSN0O2y3i9SvDNunDfvGd1plnALip1NM/nzrt8=","bfJ2yNdTYtUEFeF2JbghPKe8Me+JtWsUqSUc1px007s=","6172Q6s/0Fot+/Frrjl4pdeej1MgA0NDvMPtVLArR/4=","xZuvIYi4hIzUs9rEKqflETQwj91WXLN0XHG2enYQmJU=","DuJT4hAJSIW/BkdM98oJLKYhFDmnDwImL58JJ3MxZ5g=","+nma0DCfJaCkMSQnuX58EhOZawif2zkIWcOypETQVOI=","jTq+qKiqY+eO6CJZKTuPHVL9y4YfMgYneiwmfsbDtkM=","5VIoCAzKE7QN2xqzEVHW3qRWAhDz3Vqgaj5OvvSTcTA=","xui8WC2UBR2jv5iDbkeDsz2JW4FFC/Z64lvndjsgoiQ=","n/2HSx7OgHkpvxNNdlFOIqcouRtoE/JlUHYNOEmKD0I=","UO6al0+SQze/sCHAC2l4wXVZKVMVaVAVAxkrit5EhEs=","98AIJQHItF9UoTvAIXPkNlmRqQHW8MjIEoCjd7PfpCU=","OXNUTjBinp6C4xLZ78E+cj2xVDiT3ayS1jdDZMzXdhY=","+TUgJAxh1O+BcIzWoRvAazompyEJ6D/tJ34UZBHOzdg=","81GczkIJkG3PnF85oEEJCctHaYurEaQ/lDwB/V9AmzU=","NYUHWkt3kEehe+n+jvWg6vs6sQ7+H97gZc4or15kEaM=","/rlggVg7SS8AkZXQbnjJqz+lMXzpWgHEvfBYeVIsx8Q=","ce3FReXQDw/Mtd2u3NmSKyNLZE6CTZV0cRvBFpg29/M=","CIlH/0xPxNHvPqZpvJGAtmJbSSL6y8iknOCaqOooqz4=","Tb58GuGNVfGITJ35FZPoU3I9Lbg/it5aSESAzsuyhAk=","QORojJ60UbR0opYfNKx1ipBBXmYPRR5Yh8XXUNzPlGM=","qWguz9Tfue9Afd92Ae3EoJdHLXrBtEti6DFMGue6/Oc=","isqPUHmUm0I2TfUYQMsancgxHx2z9k9Zk2Jh3DERWxQ=","9taJc5zcWnx9mhKV6VbgdV5p6OyGIr72Z6D5Z9z2aL0=","7ifwwwkSIgiYspcUrZVz1hwUCM78daT5X56NrFVFb+g=","3d2YwrCzWUyRotC4XJyGlnFys7SXe+HUDQDp3TIkGCg=","n7PJaYsf5DTn+t7cWPopzDxliPp8o/5+DgHWnu0k2IA=","mS1hWRpTUgGYdM3wNWoH7hqQXbli4MQuYkiZJri9cqs=","BwUZr7zzXvm4MnG7nADdS+n52iNB+986JH1LimfiCjQ=","+1d1IOV2suhpoXi82rNT+1Nfla6TR7gQKBGCycRc48A=","DXGhmfieQ1wZIlmAy+rqHJDJakGL8vtfirEChpdwxoc=","OO0jv0lPMUAnBW23um2MbJrXQEn93qehxxAE+YXMHGs=","4c72aodJIoe1mnjsIoqpyp3h5w1HlTs9BsmrPNfgTYk=","pujYq5F8KfjvuT4n61HHolDBMJyVRsB4YJwIwLyr0j4=","x6wdf6sRPre4V4IkhHzK+G5mC0DaqeqJ5OubEHbjhy0=","ru2et+m+EyscXupttS3/nkYBunawix94JikU98hbKq4=","LhN8nW71Ua4Xvb6AYXdN9j2F11G5LM6JDGnAdAU4a7I=","TRQY4kiFk9S6ShVx3KxDKDrS7VwBOLAI+pB31qYN0zI=","NkMw47vz7pXJA7CSNIbrVejKmgQR4lKh0b7MqttzZcY=","sXgKW4ZCnEcUf/wiCI7JuYKRZi++CMLDcaOzO5oTM70=","v2OsVnp1zRtasEkMolUScSjZo4liKr57H3pLbYMbi/s=","5ecXtHC2b8kzFGGmfjKWo+NS59YtfWsTYqhs3GSRIiE=","Ifx5JqmT9R0Tt8p/cPIpdu8IiX12sB8sX2B6TrDhBSw=","EakcKYfJOzTJ9TFzrD6MDA48symWK32bG0PQ318Fzds=","lUHhoB6/BIzVHqP3IKJ/hU+BuTZN/c6ecQKeEBewzmk=","/SnyzzVtsRG7e9Q/qNmALlHENOrq5nzhjRgfjR7nSzM=","xGGYqFSHel+WKDb8YNWLy5Obdo/GLZYoxvGf15434iU=","hTtq/suTnEMbyUagp8QRQYQaNigxu+FtKzNo1o47Xhg=","DN5yUBkU2BbbzYjxnmjZQmwqN0J3jNvLofA0JH0a43Y=","+b/LK8b1XZEa//pwQxDJRwf5PPhaaU4d3dqUIRwFplo=","Wtb9PioKXC3d8GOXQgj9paTPOy2REuJAEojtObbhS44=","bnIdNX1BGqTeYv0Z5SAUrp4fpsImCN5/M+EGs1A8Uwg=","av/chHqTy+BFnwA6PZoruz4kDUAZAl4TzWlSB0D2uus=","4FgY9vOSpkWe7vyN2TKOcqZx3wAf/lrQTbk4IcvD6oU=","VmytFCABbTcOIutQz/2dZYoG+VPGodU0mO2nZRFXknQ=","8Z1hbAAcRzGYQUtVrpw70uEpgp0rcBd3SG+B70SJOKM=","BDEwPtsFndnGNPo46kT1bUhNCjq+f1cRQMAyVIZ9czI=","JWqg5pIjBNcto8EIBHkROrTFUoMvkSk32tvEhoqogyg=","u8J3hu8FKwUME72AcEYReBnl4tMv9zJhajvVZjCxu/I=","/rRyPbSb5b2WiiO8JZ3wDRWddl2ueNrRPKvhZzNAvqA=","6iCUO0f92SPsh/PRygPQY7/0ZHN381OslI5B84vmGcE=","UhP/qEySsLmd7zHYdfI1ftV9u69snwRIm6uyx1i8OVg=","k47FhZ7BkEHm/go1YuHJIHlS3WYc14bKODpVhQ4FITQ=","XKKes3oeMZ9L9diyi+QmW7t3tITuuCUQIzsFozemmdU=","YGZKO4fp9ztgG46hVNnjlg2kEoCUvEOaPJ8NgWg3ws8=","pvAKvP+uKEJ/zb+kK9pGXTTH9eGrJNjyc1zoQV8Qm08=","KWBTpVRx56zT0oMnHOOYZPRQ+dOGqmpr7BkoVGseJHk=","tenlvj4gM3YBylcP/ZjUT752MrN4oTGOgYNsb7YvgKs=","iLLm+V9tJBtNnL/AXLKLBgzreqXeBoZtJeRZg28LDM8=","T6t00U8F4okxY4jkwud3NVPnKA8IPNkmlppVoB/gYlc=","C7NXPhFVh6xVLI36Ln9u1E1a3EJbhd5lSgQ8gzkIGIc=","TxQlsJLx3/9B1YOxy1zFW85DGr6jf7NkrTBJOaXl7W0=","WPsAWCC5OUgAYFFrwF1XA/3KXUuxwKBVPSK+VSGxu5c=","UrHNlIk1TvN3PrxKMx1FVXqjJgjAClk04+VIKKyHMPk=","FwZo7GuBP4sW5gZumcmGFuwxXX/Susw9nt/GFjD67wg="],"block_size":4096,"path":"vendors~reactChartJS.bundle.js"}],"version":2} \ No newline at end of file diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/_metadata/verified_contents.json b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/_metadata/verified_contents.json deleted file mode 100644 index e3e5e843..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/_metadata/verified_contents.json +++ /dev/null @@ -1 +0,0 @@ -[{"description":"treehash per file","signed_content":{"payload":"eyJjb250ZW50X2hhc2hlcyI6W3siYmxvY2tfc2l6ZSI6NDA5NiwiZGlnZXN0Ijoic2hhMjU2IiwiZmlsZXMiOlt7InBhdGgiOiJhc3NldHMvTmFudW1CYXJ1bkdvdGhpYy50dGYiLCJyb290X2hhc2giOiJtMm1WZVpOeTY3OEE4N3F0dkJlY3BlczVQakJnLTB5T082UnBBWDB5NlMwIn0seyJwYXRoIjoiYXNzZXRzL05hbnVtQmFydW5Hb3RoaWNCb2xkLnR0ZiIsInJvb3RfaGFzaCI6Ikdidkk0b1RieW1tRmcxTnkycXR0amItS1FHakNXdlFXVk1KdXV0Sm5VLVkifSx7InBhdGgiOiJhc3NldHMvTmFudW1CYXJ1bkdvdGhpY0xpZ2h0LnR0ZiIsInJvb3RfaGFzaCI6IlhtZzYyNVZiMWZMbnRYa1VEWEFKNEN3bmo5eUlTUzVTTlJ5TzhBbTVIM28ifSx7InBhdGgiOiJhc3NldHMvYXRvbS1vLnN2ZyIsInJvb3RfaGFzaCI6Ikh0bHc5MlJwYVN1Vnd0ZjRmRVlvVHdaOEthZEZFcFpNaFZsN0t2U2NiOWsifSx7InBhdGgiOiJhc3NldHMvYnJva2VuLWxpbmsuc3ZnIiwicm9vdF9oYXNoIjoiRzRrVmtvVnRoTkx4ZFRvUkJNb3ljdlNLNjBsQU9NOGJjM1dGZUdIS0lxNCJ9LHsicGF0aCI6ImFzc2V0cy9mYS1icmFuZHMtNDAwLmVvdCIsInJvb3RfaGFzaCI6IkdjSmN6RzFMOHBKR3VVXzlGNGlMTFBVMkpIaWZpT2MyZ18yUkhvdkNEZTQifSx7InBhdGgiOiJhc3NldHMvZmEtYnJhbmRzLTQwMC5zdmciLCJyb290X2hhc2giOiI1ZzgyQTFiT3Nqc0lsdTBfNkpoZ01TSXVoMGRXSnJwOE51Z2NqUkpaSnRjIn0seyJwYXRoIjoiYXNzZXRzL2ZhLWJyYW5kcy00MDAudHRmIiwicm9vdF9oYXNoIjoiM29lMjNDZllqd2ZJTnVEUGV1QmtvXzRYV3l4SkhDSHd0SDJXOVhTS0VGayJ9LHsicGF0aCI6ImFzc2V0cy9mYS1icmFuZHMtNDAwLndvZmYiLCJyb290X2hhc2giOiJ4Tk5XSU1ta0xFVHdyUnNhbF9VMGdnUV9zYnR5alV2SW5hYTZuM2V6d09nIn0seyJwYXRoIjoiYXNzZXRzL2ZhLWJyYW5kcy00MDAud29mZjIiLCJyb290X2hhc2giOiJnMTNwMDZZaUFPNmM1VkxyYzdZWjMxaWRXUFpRVTNrV3AtLUhMN2ljUzZFIn0seyJwYXRoIjoiYXNzZXRzL2ZhLXNvbGlkLTkwMC5lb3QiLCJyb290X2hhc2giOiJWM0FaQnFOY1FEV2J6VlJTYW9FMFBLcFh3QUM5Q0g5XzNLbUpmQ3RfR2hzIn0seyJwYXRoIjoiYXNzZXRzL2ZhLXNvbGlkLTkwMC5zdmciLCJyb290X2hhc2giOiJjWUZrTGNqek5BWWNBVUJBRUk0LXJQSDYzNUFzcHVrV21HbDc1Mm95ZmNrIn0seyJwYXRoIjoiYXNzZXRzL2ZhLXNvbGlkLTkwMC50dGYiLCJyb290X2hhc2giOiJoRTFQclYtRjVrYmpWQUh5WGtYME5mRjBqWnVITlFTWGU5V3lYR1Zud0lRIn0seyJwYXRoIjoiYXNzZXRzL2ZhLXNvbGlkLTkwMC53b2ZmIiwicm9vdF9oYXNoIjoiRlpHdnFSLTJRV1d4QkYyQnlLMnlhLV9TOEUxdWttTGI3ZEt6SjFYbGJRcyJ9LHsicGF0aCI6ImFzc2V0cy9mYS1zb2xpZC05MDAud29mZjIiLCJyb290X2hhc2giOiI0T2ZzV0l6bTdrMWw4YmQ1bWFzRjEzWEdKdHJyLUdhWGk0Vk1nNXFCa0QwIn0seyJwYXRoIjoiYXNzZXRzL2ljb24tMTI4LnBuZyIsInJvb3RfaGFzaCI6Im5lUzBkdkR4M3ZiaTBMZXo0ZGlvem1MeVpSYzRrakZCZmdEVm9XZ3NERlEifSx7InBhdGgiOiJhc3NldHMvaWNvbi0xNi5wbmciLCJyb290X2hhc2giOiJNLTJoaUxZMVU0WkJnTGJlSW1jdWZnNEd5MzdETXpnVGZ3TGVyV2JiS2VBIn0seyJwYXRoIjoiYXNzZXRzL2ljb24tNDgucG5nIiwicm9vdF9oYXNoIjoiWW8tYnhvUDFOUUZydFJITzBQNjdlUkJYVmhDVlI1REpzU1FwZTg2eTdhZyJ9LHsicGF0aCI6ImFzc2V0cy9pY29uczgtY2FuY2VsLnN2ZyIsInJvb3RfaGFzaCI6IlY5c1JKcUM0TDdfSWs2VDVyX3AwaTlqSWRGY29aZ1NGRzZqQmlzT3RpSTQifSx7InBhdGgiOiJhc3NldHMvaWNvbnM4LWNoZWNrZWQuc3ZnIiwicm9vdF9oYXNoIjoiYVNSZDhLWF9mZ05jdnBUWkJGMS13cFFqc29UVGM3NlRIOWE5UHhjckJjbyJ9LHsicGF0aCI6ImFzc2V0cy9pY29uczgtbG9jay5zdmciLCJyb290X2hhc2giOiJ0V00xSVNEaGQ5alN1VEJka0o0SS1UV1Y2Y2ZpRURrVm8zZmpVYzhzX25BIn0seyJwYXRoIjoiYXNzZXRzL2ljb25zOC1wZW4uc3ZnIiwicm9vdF9oYXNoIjoiMVlHZm5GQU83OXluYW5UQ3R1SHBSaDV3MU05Wm0wUTZvWGFLZDJNQXFUNCJ9LHsicGF0aCI6ImFzc2V0cy9pY29uczgtdGVzdC10dWJlLnN2ZyIsInJvb3RfaGFzaCI6Ilp6Z0h5bjJPM0VDS21NZ2hocFJtVElMX005cVJKSUVsOGczbUw2T1NrdDgifSx7InBhdGgiOiJhc3NldHMvaWNvbnM4LXRyYXNoLWNhbi5zdmciLCJyb290X2hhc2giOiIxTVFhajh0OGFMTnhTWlZNUmxwaTV1NVdPaDEyU1pjQVllYzdwMWtvU24wIn0seyJwYXRoIjoiYXNzZXRzL2ljb25zOC11c2ItMi5zdmciLCJyb290X2hhc2giOiJJZnFuR0hJb01FSVBmZ3dEajZxSHM5Um9leWpLekNsNXdUZDB5ZnMtQmpvIn0seyJwYXRoIjoiYXNzZXRzL2xvZ28tdGVtcC5wbmciLCJyb290X2hhc2giOiI4TTJBMmlkWHIwSENxSUJPdzNhLWFYVlZheGE3cFNCSjduOWloUUdYZG0wIn0seyJwYXRoIjoiYXNzZXRzL251Y2xlby1pY29ucy5lb3QiLCJyb290X2hhc2giOiJ1M3NpMWRYOVhGQm9FYktoWHpmZ1pPaEIyS0VXT1Z1eG5HY0c4TllmeE9jIn0seyJwYXRoIjoiYXNzZXRzL251Y2xlby1pY29ucy5zdmciLCJyb290X2hhc2giOiJxVm9rbF8wVW9nWWhaZ3pnRzIyYl8xUXBSUktidzFrSWFIakVQdFFqT0tvIn0seyJwYXRoIjoiYXNzZXRzL251Y2xlby1pY29ucy50dGYiLCJyb290X2hhc2giOiJjeldxNVhLbnRCcnZTSW5fdGFjNVBqR3ZFaG1kVTJnMlZLMmd3RDRFZDVzIn0seyJwYXRoIjoiYXNzZXRzL251Y2xlby1pY29ucy53b2ZmIiwicm9vdF9oYXNoIjoiZGpsYlBvMnZjdERDMUpPY1Q0Ui1NMkdna0RkZHl6UmtjVUc1RGl1dF9FUSJ9LHsicGF0aCI6ImFzc2V0cy9udWNsZW8taWNvbnMud29mZjIiLCJyb290X2hhc2giOiIyazFXamNmQURUTVpfN3dBNE9qVktyeFRXUVFMTDNjSzJuU2xBZ0JWTzVjIn0seyJwYXRoIjoiYXNzZXRzL3RlbXAtaWNvbi5zdmciLCJyb290X2hhc2giOiJQeHRWcDUyQmQwdlRlWkg0QTF5b0F2aXAtSHlOb29ZcGhRYW15dWNqRnF3In0seyJwYXRoIjoiYXNzZXRzL3RyYXNoLnN2ZyIsInJvb3RfaGFzaCI6IkVHYTdMU1NZaFhwQkRaQWJvblU1NURtMWpIaHFYYW9Yd2RzUVR2emYyejQifSx7InBhdGgiOiJiYWNrZ3JvdW5kLmJ1bmRsZS5qcyIsInJvb3RfaGFzaCI6IldydFZSRVFYVjlQTExvR2F5NWxjUS16Mm9xRXFaVUc0QzYtT0ItUmZqejQifSx7InBhdGgiOiJicm93c2VyLXBvbHlmaWxsLmpzIiwicm9vdF9oYXNoIjoiazlWRkRMbzZFei0zSmdDV19sZjVteVQzTEZZR0k3ZndYelBYcVRPMXpIVSJ9LHsicGF0aCI6ImNvbnRlbnRTY3JpcHRzLmJ1bmRsZS5qcyIsInJvb3RfaGFzaCI6IjIzZXdYOWs1Qkg3SEtDNFd2S29uMDY4OV82UW9XaVlBSUNiTWVRLWZzMkkifSx7InBhdGgiOiJpbmplY3RlZFNjcmlwdC5idW5kbGUuanMiLCJyb290X2hhc2giOiJNa2hRdjVRejEzdFhlRVpfWnlNZVFLZEo4WmlIcHVYS2xLYjF5MVBkS3Q4In0seyJwYXRoIjoibWFuaWZlc3QuanNvbiIsInJvb3RfaGFzaCI6IjBZeWhVSTBBdk1KQ0o3OTZxRUVkYnRPMWZVLVVVYnRhMTJJQVRLUGlvcTgifSx7InBhdGgiOiJwb3B1cC5idW5kbGUuanMiLCJyb290X2hhc2giOiJVZTBDQkZjVWdfSGNBMzVKMWFyWDdoY09rb1FETmwxQWF5UlhMdGRvcC0wIn0seyJwYXRoIjoicG9wdXAuaHRtbCIsInJvb3RfaGFzaCI6IjU1M2hEdFpjMHlpUFJRNmcxazhPc0l0RGRWZkJEOG9KR3YwdW9BUms4b00ifSx7InBhdGgiOiJyZWFjdENoYXJ0SlMuYnVuZGxlLmpzIiwicm9vdF9oYXNoIjoiaTdkZS1Dd1RVc0J4VVo3WGxCbGg0dmFIcXJ6WF9OcmtXR3NlM3A0NFNGcyJ9LHsicGF0aCI6InZlbmRvcnN-cmVhY3RDaGFydEpTLmJ1bmRsZS5qcyIsInJvb3RfaGFzaCI6IkNwQXh0OVVIOGJuaTMzYXQxNWpkT1dUS1ZBVlFMdzdXSnNSUnl1SW5iZDAifV0sImZvcm1hdCI6InRyZWVoYXNoIiwiaGFzaF9ibG9ja19zaXplIjo0MDk2fV0sIml0ZW1faWQiOiJkbWthbWNrbm9na2djZGZoaGJkZGNnaGFjaGtlamVhcCIsIml0ZW1fdmVyc2lvbiI6IjAuOC4xMyIsInByb3RvY29sX3ZlcnNpb24iOjF9","signatures":[{"header":{"kid":"publisher"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"N6bhQONwaypZ1q_WJCqqh7STZ2eCbrfwl6dgcK5ANFJb6HWrhHNF2dBCyui8KoOPcdsOhKLQT16F049vxnoWOQoUgi4wfM-w4sxyUtrmHuH77vS0rDQQtePPyxcZK4YzWnL7VEVyOhAL7HNQ3Sj94yVtqVT941Od1wiMI3FH-lDsq833m7ocdII-m-0P1rIAQgItPBKk8IHzcpVxnPhJB0jD19v1471fhIrvRim0QVfGbHtkouN35bifQBwylprPpy_a7qUe0sCvW0Q14ZsSztvNraCQp3S_q6p4SgG4xeDks4HnZa1KrTsZK02w5PHLxLj9TOXYdmBoR3VfNHMtrg"},{"header":{"kid":"webstore"},"protected":"eyJhbGciOiJSUzI1NiJ9","signature":"cChcvzVfoK0mKjOSnTT4utNnz9t6Ti2KRnbrq1nOi3CpASec9zUvPsgVdWESBY-7nbxHg_kFY8Q5O4ZaAaXjgyOsBF_PGuXPYxi5BqpyvfgwbDzeaB8Q9ayRLAxSeLNk4-nfPjBgfpWRjsKfhG7mbve1PSpyt8T-PBmzsuRIOik7MmR6vEO8wmSoAkKHuQvUJ5qBFEu5h--jCkuBMAYS2icUEzFjnY3Ee5OSDdF4MTbnWwDSTNNaMs_RmRYBjE7BpwbcKUj01UBoZE2gOPM6jtGi2td8ONbvGtx0uWqVMgmmvpTLkCYiDsqxbzYCO89OHjD53dvYFoonktPTWLcbHA"}]}}] \ No newline at end of file diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/NanumBarunGothic.ttf b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/NanumBarunGothic.ttf deleted file mode 100644 index c3148683..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/NanumBarunGothic.ttf and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/NanumBarunGothicBold.ttf b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/NanumBarunGothicBold.ttf deleted file mode 100644 index 011c63e3..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/NanumBarunGothicBold.ttf and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/NanumBarunGothicLight.ttf b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/NanumBarunGothicLight.ttf deleted file mode 100644 index d6faf7fa..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/NanumBarunGothicLight.ttf and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/atom-o.svg b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/atom-o.svg deleted file mode 100644 index 7f631e4a..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/atom-o.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - Combined Shape - - - - - - \ No newline at end of file diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/broken-link.svg b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/broken-link.svg deleted file mode 100644 index efb41d37..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/broken-link.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-brands-400.eot b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-brands-400.eot deleted file mode 100644 index 958684e2..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-brands-400.eot and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-brands-400.svg b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-brands-400.svg deleted file mode 100644 index 2b7cf17b..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-brands-400.svg +++ /dev/null @@ -1,3717 +0,0 @@ - - - - -Created by FontForge 20200314 at Mon Oct 5 09:50:45 2020 - By Robert Madole -Copyright (c) Font Awesome - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-brands-400.ttf b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-brands-400.ttf deleted file mode 100644 index f0718251..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-brands-400.ttf and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-brands-400.woff b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-brands-400.woff deleted file mode 100644 index 277ab65b..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-brands-400.woff and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-brands-400.woff2 b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-brands-400.woff2 deleted file mode 100644 index 47805d47..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-brands-400.woff2 and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-solid-900.eot b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-solid-900.eot deleted file mode 100644 index 5da4fa00..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-solid-900.eot and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-solid-900.svg b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-solid-900.svg deleted file mode 100644 index 313b3118..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-solid-900.svg +++ /dev/null @@ -1,5028 +0,0 @@ - - - - -Created by FontForge 20200314 at Mon Oct 5 09:50:45 2020 - By Robert Madole -Copyright (c) Font Awesome - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-solid-900.ttf b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-solid-900.ttf deleted file mode 100644 index e0746084..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-solid-900.ttf and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-solid-900.woff b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-solid-900.woff deleted file mode 100644 index ef6b4474..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-solid-900.woff and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-solid-900.woff2 b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-solid-900.woff2 deleted file mode 100644 index 120b3007..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/fa-solid-900.woff2 and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icon-128.png b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icon-128.png deleted file mode 100644 index 4bdbea66..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icon-128.png and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icon-16.png b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icon-16.png deleted file mode 100644 index c1126041..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icon-16.png and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icon-48.png b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icon-48.png deleted file mode 100644 index a01152d1..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icon-48.png and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-cancel.svg b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-cancel.svg deleted file mode 100644 index 3d7b8c24..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-cancel.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-checked.svg b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-checked.svg deleted file mode 100644 index 43b8af3f..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-checked.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-lock.svg b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-lock.svg deleted file mode 100644 index c6378088..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-lock.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-pen.svg b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-pen.svg deleted file mode 100644 index 3c4731a0..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-pen.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-test-tube.svg b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-test-tube.svg deleted file mode 100644 index 01023e49..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-test-tube.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-trash-can.svg b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-trash-can.svg deleted file mode 100644 index 0b3ca6e2..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-trash-can.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-usb-2.svg b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-usb-2.svg deleted file mode 100644 index 13d45edb..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/icons8-usb-2.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/logo-temp.png b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/logo-temp.png deleted file mode 100644 index 1f478ad1..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/logo-temp.png and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/nucleo-icons.eot b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/nucleo-icons.eot deleted file mode 100644 index ab96810a..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/nucleo-icons.eot and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/nucleo-icons.svg b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/nucleo-icons.svg deleted file mode 100644 index 6654c1a2..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/nucleo-icons.svg +++ /dev/null @@ -1,312 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/nucleo-icons.ttf b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/nucleo-icons.ttf deleted file mode 100644 index 1a559850..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/nucleo-icons.ttf and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/nucleo-icons.woff b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/nucleo-icons.woff deleted file mode 100644 index cb192470..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/nucleo-icons.woff and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/nucleo-icons.woff2 b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/nucleo-icons.woff2 deleted file mode 100644 index e294e080..00000000 Binary files a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/nucleo-icons.woff2 and /dev/null differ diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/temp-icon.svg b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/temp-icon.svg deleted file mode 100644 index 6a31cb63..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/temp-icon.svg +++ /dev/null @@ -1,39 +0,0 @@ - - - - Artboard Copy 6@960w - Created with Sketch. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/trash.svg b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/trash.svg deleted file mode 100644 index 33bf86d1..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/assets/trash.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/background.bundle.js b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/background.bundle.js deleted file mode 100644 index 9a536cf4..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/background.bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1539)}([,,function(e,t,r){"use strict";(function(e){ -/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */ -var n=r(117),o=r(426),i=r(237);function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function p(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(e).length;default:if(n)return q(e).length;t=(""+t).toLowerCase(),n=!0}}function g(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,r);case"utf8":case"utf-8":return E(this,t,r);case"ascii":return P(this,t,r);case"latin1":case"binary":return x(this,t,r);case"base64":return j(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,o);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,o){var i,s=1,a=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,c/=2,r/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){var l=-1;for(i=r;ia&&(r=a-c),i=r;i>=0;i--){for(var f=!0,d=0;do&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var s=0;s>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function j(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function E(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o239?4:u>223?3:u>191?2:1;if(o+f<=r)switch(f){case 1:u<128&&(l=u);break;case 2:128==(192&(i=e[o+1]))&&(c=(31&u)<<6|63&i)>127&&(l=c);break;case 3:i=e[o+1],s=e[o+2],128==(192&i)&&128==(192&s)&&(c=(15&u)<<12|(63&i)<<6|63&s)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:i=e[o+1],s=e[o+2],a=e[o+3],128==(192&i)&&128==(192&s)&&128==(192&a)&&(c=(15&u)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&c<1114112&&(l=c)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),""},c.prototype.compare=function(e,t,r,n,o){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),a=Math.min(i,s),u=this.slice(n,o),l=e.slice(t,r),f=0;fo)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return v(this,e,t,r);case"utf8":case"utf-8":return w(this,e,t,r);case"ascii":return _(this,e,t,r);case"latin1":case"binary":return k(this,e,t,r);case"base64":return S(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function P(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;on)&&(r=n);for(var o="",i=t;ir)throw new RangeError("Trying to access beyond buffer length")}function C(e,t,r,n,o,i){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function R(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o>>8*(n?o:1-o)}function T(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o>>8*(n?o:3-o)&255}function N(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function B(e,t,r,n,i){return i||N(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function D(e,t,r,n,i){return i||N(e,0,r,8),o.write(e,t,r,n,52,8),r+8}c.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(o*=256);)n+=this[e+--t]*o;return n},c.prototype.readUInt8=function(e,t){return t||I(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||I(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||I(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||I(e,t,this.length);for(var n=this[e],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||I(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},c.prototype.readInt8=function(e,t){return t||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||I(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(e,t){t||I(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(e,t){return t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||I(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||I(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||I(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||I(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||C(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+o]=e/i&255;return t+r},c.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):T(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):T(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);C(this,e,t,r,o-1,-o)}var i=0,s=1,a=0;for(this[t]=255&e;++i>0)-a&255;return t+r},c.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);C(this,e,t,r,o-1,-o)}var i=r-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s>>0)-a&255;return t+r},c.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):T(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):T(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,r){return B(this,e,t,!0,r)},c.prototype.writeFloatBE=function(e,t,r){return B(this,e,t,!1,r)},c.prototype.writeDoubleLE=function(e,t,r){return D(this,e,t,!0,r)},c.prototype.writeDoubleBE=function(e,t,r){return D(this,e,t,!1,r)},c.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--o)e[o+t]=this[o+r];else if(i<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function H(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function z(e,t,r,n){for(var o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}}).call(this,r(12))},function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return i})),r.d(t,"d",(function(){return s})),r.d(t,"g",(function(){return a})),r.d(t,"c",(function(){return c})),r.d(t,"e",(function(){return u})),r.d(t,"f",(function(){return l})); -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */ -var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function o(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function u(){for(var e=[],t=0;t=49&&s<=54?s-49+10:s>=17&&s<=22?s-17+10:15&s}return n}function c(e,t,r,n){for(var o=0,i=Math.min(e.length,r),s=t;s=49?a-49+10:a>=17?a-17+10:a}return o}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var o=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&o++,16===t?this._parseHex(e,o):this._parseBase(e,t,o),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var o=0;o=0;o-=3)s=e[o]|e[o-1]<<8|e[o-2]<<16,this.words[i]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);else if("le"===r)for(o=0,i=0;o>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);return this.strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=6)o=a(e,r,r+6),this.words[n]|=o<>>26-i&4194303,(i+=24)>=26&&(i-=26,n++);r+6!==t&&(o=a(e,t,r+6),this.words[n]|=o<>>26-i&4194303),this.strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,o=1;o<=67108863;o*=t)n++;n--,o=o/t|0;for(var i=e.length-r,s=i%n,a=Math.min(i,i-s)+r,u=0,l=r;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?""};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var o=0|e.words[0],i=0|t.words[0],s=o*i,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var u=1;u>>26,f=67108863&c,d=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=d;h++){var p=u-h|0;l+=(s=(o=0|e.words[p])*(i=0|t.words[h])+f)/67108864|0,f=67108863&s}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var o=0,i=0,s=0;s>>24-o&16777215)||s!==this.length-1?u[6-c.length]+c+r:c+r,(o+=2)>=26&&(o-=26,s--)}for(0!==i&&(r=i.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var d=l[e],h=f[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(h).toString(e);r=(p=p.idivn(h)).isZero()?g+r:u[d-g.length]+g+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(e,t){return n(void 0!==s),this.toArrayLike(s,e,t)},i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},i.prototype.toArrayLike=function(e,t,r){var o=this.byteLength(),i=r||Math.max(1,o);n(o<=i,"byte array longer than desired length"),n(i>0,"Requested array length <= 0"),this.strip();var s,a,c="le"===t,u=new e(i),l=this.clone();if(c){for(a=0;!l.isZero();a++)s=l.andln(255),l.iushrn(8),u[a]=s;for(;a=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;re.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var o=0;o0&&(this.words[o]=~this.words[o]&67108863>>26-r),this.strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,o=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(r=this,n=e):(r=e,n=this);for(var o=0,i=0;i>>26;for(;0!==o&&i>>26;if(this.length=r.length,0!==o)this.words[this.length]=o,this.length++;else if(r!==this)for(;ie.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,o=this.cmp(e);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(r=this,n=e):(r=e,n=this);for(var i=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==i&&s>26,this.words[s]=67108863&t;if(0===i&&s>>13,h=0|s[1],p=8191&h,g=h>>>13,m=0|s[2],y=8191&m,b=m>>>13,v=0|s[3],w=8191&v,_=v>>>13,k=0|s[4],S=8191&k,O=k>>>13,j=0|s[5],E=8191&j,P=j>>>13,x=0|s[6],A=8191&x,M=x>>>13,I=0|s[7],C=8191&I,R=I>>>13,T=0|s[8],N=8191&T,B=T>>>13,D=0|s[9],L=8191&D,U=D>>>13,q=0|a[0],H=8191&q,z=q>>>13,F=0|a[1],K=8191&F,$=F>>>13,V=0|a[2],J=8191&V,G=V>>>13,W=0|a[3],Q=8191&W,Z=W>>>13,Y=0|a[4],X=8191&Y,ee=Y>>>13,te=0|a[5],re=8191&te,ne=te>>>13,oe=0|a[6],ie=8191&oe,se=oe>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,le=0|a[8],fe=8191&le,de=le>>>13,he=0|a[9],pe=8191&he,ge=he>>>13;r.negative=e.negative^t.negative,r.length=19;var me=(u+(n=Math.imul(f,H))|0)+((8191&(o=(o=Math.imul(f,z))+Math.imul(d,H)|0))<<13)|0;u=((i=Math.imul(d,z))+(o>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(p,H),o=(o=Math.imul(p,z))+Math.imul(g,H)|0,i=Math.imul(g,z);var ye=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(o=(o=o+Math.imul(f,$)|0)+Math.imul(d,K)|0))<<13)|0;u=((i=i+Math.imul(d,$)|0)+(o>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(y,H),o=(o=Math.imul(y,z))+Math.imul(b,H)|0,i=Math.imul(b,z),n=n+Math.imul(p,K)|0,o=(o=o+Math.imul(p,$)|0)+Math.imul(g,K)|0,i=i+Math.imul(g,$)|0;var be=(u+(n=n+Math.imul(f,J)|0)|0)+((8191&(o=(o=o+Math.imul(f,G)|0)+Math.imul(d,J)|0))<<13)|0;u=((i=i+Math.imul(d,G)|0)+(o>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(w,H),o=(o=Math.imul(w,z))+Math.imul(_,H)|0,i=Math.imul(_,z),n=n+Math.imul(y,K)|0,o=(o=o+Math.imul(y,$)|0)+Math.imul(b,K)|0,i=i+Math.imul(b,$)|0,n=n+Math.imul(p,J)|0,o=(o=o+Math.imul(p,G)|0)+Math.imul(g,J)|0,i=i+Math.imul(g,G)|0;var ve=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(o=(o=o+Math.imul(f,Z)|0)+Math.imul(d,Q)|0))<<13)|0;u=((i=i+Math.imul(d,Z)|0)+(o>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(S,H),o=(o=Math.imul(S,z))+Math.imul(O,H)|0,i=Math.imul(O,z),n=n+Math.imul(w,K)|0,o=(o=o+Math.imul(w,$)|0)+Math.imul(_,K)|0,i=i+Math.imul(_,$)|0,n=n+Math.imul(y,J)|0,o=(o=o+Math.imul(y,G)|0)+Math.imul(b,J)|0,i=i+Math.imul(b,G)|0,n=n+Math.imul(p,Q)|0,o=(o=o+Math.imul(p,Z)|0)+Math.imul(g,Q)|0,i=i+Math.imul(g,Z)|0;var we=(u+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,ee)|0)+Math.imul(d,X)|0))<<13)|0;u=((i=i+Math.imul(d,ee)|0)+(o>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(E,H),o=(o=Math.imul(E,z))+Math.imul(P,H)|0,i=Math.imul(P,z),n=n+Math.imul(S,K)|0,o=(o=o+Math.imul(S,$)|0)+Math.imul(O,K)|0,i=i+Math.imul(O,$)|0,n=n+Math.imul(w,J)|0,o=(o=o+Math.imul(w,G)|0)+Math.imul(_,J)|0,i=i+Math.imul(_,G)|0,n=n+Math.imul(y,Q)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(b,Q)|0,i=i+Math.imul(b,Z)|0,n=n+Math.imul(p,X)|0,o=(o=o+Math.imul(p,ee)|0)+Math.imul(g,X)|0,i=i+Math.imul(g,ee)|0;var _e=(u+(n=n+Math.imul(f,re)|0)|0)+((8191&(o=(o=o+Math.imul(f,ne)|0)+Math.imul(d,re)|0))<<13)|0;u=((i=i+Math.imul(d,ne)|0)+(o>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(A,H),o=(o=Math.imul(A,z))+Math.imul(M,H)|0,i=Math.imul(M,z),n=n+Math.imul(E,K)|0,o=(o=o+Math.imul(E,$)|0)+Math.imul(P,K)|0,i=i+Math.imul(P,$)|0,n=n+Math.imul(S,J)|0,o=(o=o+Math.imul(S,G)|0)+Math.imul(O,J)|0,i=i+Math.imul(O,G)|0,n=n+Math.imul(w,Q)|0,o=(o=o+Math.imul(w,Z)|0)+Math.imul(_,Q)|0,i=i+Math.imul(_,Z)|0,n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,ee)|0)+Math.imul(b,X)|0,i=i+Math.imul(b,ee)|0,n=n+Math.imul(p,re)|0,o=(o=o+Math.imul(p,ne)|0)+Math.imul(g,re)|0,i=i+Math.imul(g,ne)|0;var ke=(u+(n=n+Math.imul(f,ie)|0)|0)+((8191&(o=(o=o+Math.imul(f,se)|0)+Math.imul(d,ie)|0))<<13)|0;u=((i=i+Math.imul(d,se)|0)+(o>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(C,H),o=(o=Math.imul(C,z))+Math.imul(R,H)|0,i=Math.imul(R,z),n=n+Math.imul(A,K)|0,o=(o=o+Math.imul(A,$)|0)+Math.imul(M,K)|0,i=i+Math.imul(M,$)|0,n=n+Math.imul(E,J)|0,o=(o=o+Math.imul(E,G)|0)+Math.imul(P,J)|0,i=i+Math.imul(P,G)|0,n=n+Math.imul(S,Q)|0,o=(o=o+Math.imul(S,Z)|0)+Math.imul(O,Q)|0,i=i+Math.imul(O,Z)|0,n=n+Math.imul(w,X)|0,o=(o=o+Math.imul(w,ee)|0)+Math.imul(_,X)|0,i=i+Math.imul(_,ee)|0,n=n+Math.imul(y,re)|0,o=(o=o+Math.imul(y,ne)|0)+Math.imul(b,re)|0,i=i+Math.imul(b,ne)|0,n=n+Math.imul(p,ie)|0,o=(o=o+Math.imul(p,se)|0)+Math.imul(g,ie)|0,i=i+Math.imul(g,se)|0;var Se=(u+(n=n+Math.imul(f,ce)|0)|0)+((8191&(o=(o=o+Math.imul(f,ue)|0)+Math.imul(d,ce)|0))<<13)|0;u=((i=i+Math.imul(d,ue)|0)+(o>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(N,H),o=(o=Math.imul(N,z))+Math.imul(B,H)|0,i=Math.imul(B,z),n=n+Math.imul(C,K)|0,o=(o=o+Math.imul(C,$)|0)+Math.imul(R,K)|0,i=i+Math.imul(R,$)|0,n=n+Math.imul(A,J)|0,o=(o=o+Math.imul(A,G)|0)+Math.imul(M,J)|0,i=i+Math.imul(M,G)|0,n=n+Math.imul(E,Q)|0,o=(o=o+Math.imul(E,Z)|0)+Math.imul(P,Q)|0,i=i+Math.imul(P,Z)|0,n=n+Math.imul(S,X)|0,o=(o=o+Math.imul(S,ee)|0)+Math.imul(O,X)|0,i=i+Math.imul(O,ee)|0,n=n+Math.imul(w,re)|0,o=(o=o+Math.imul(w,ne)|0)+Math.imul(_,re)|0,i=i+Math.imul(_,ne)|0,n=n+Math.imul(y,ie)|0,o=(o=o+Math.imul(y,se)|0)+Math.imul(b,ie)|0,i=i+Math.imul(b,se)|0,n=n+Math.imul(p,ce)|0,o=(o=o+Math.imul(p,ue)|0)+Math.imul(g,ce)|0,i=i+Math.imul(g,ue)|0;var Oe=(u+(n=n+Math.imul(f,fe)|0)|0)+((8191&(o=(o=o+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;u=((i=i+Math.imul(d,de)|0)+(o>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(L,H),o=(o=Math.imul(L,z))+Math.imul(U,H)|0,i=Math.imul(U,z),n=n+Math.imul(N,K)|0,o=(o=o+Math.imul(N,$)|0)+Math.imul(B,K)|0,i=i+Math.imul(B,$)|0,n=n+Math.imul(C,J)|0,o=(o=o+Math.imul(C,G)|0)+Math.imul(R,J)|0,i=i+Math.imul(R,G)|0,n=n+Math.imul(A,Q)|0,o=(o=o+Math.imul(A,Z)|0)+Math.imul(M,Q)|0,i=i+Math.imul(M,Z)|0,n=n+Math.imul(E,X)|0,o=(o=o+Math.imul(E,ee)|0)+Math.imul(P,X)|0,i=i+Math.imul(P,ee)|0,n=n+Math.imul(S,re)|0,o=(o=o+Math.imul(S,ne)|0)+Math.imul(O,re)|0,i=i+Math.imul(O,ne)|0,n=n+Math.imul(w,ie)|0,o=(o=o+Math.imul(w,se)|0)+Math.imul(_,ie)|0,i=i+Math.imul(_,se)|0,n=n+Math.imul(y,ce)|0,o=(o=o+Math.imul(y,ue)|0)+Math.imul(b,ce)|0,i=i+Math.imul(b,ue)|0,n=n+Math.imul(p,fe)|0,o=(o=o+Math.imul(p,de)|0)+Math.imul(g,fe)|0,i=i+Math.imul(g,de)|0;var je=(u+(n=n+Math.imul(f,pe)|0)|0)+((8191&(o=(o=o+Math.imul(f,ge)|0)+Math.imul(d,pe)|0))<<13)|0;u=((i=i+Math.imul(d,ge)|0)+(o>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(L,K),o=(o=Math.imul(L,$))+Math.imul(U,K)|0,i=Math.imul(U,$),n=n+Math.imul(N,J)|0,o=(o=o+Math.imul(N,G)|0)+Math.imul(B,J)|0,i=i+Math.imul(B,G)|0,n=n+Math.imul(C,Q)|0,o=(o=o+Math.imul(C,Z)|0)+Math.imul(R,Q)|0,i=i+Math.imul(R,Z)|0,n=n+Math.imul(A,X)|0,o=(o=o+Math.imul(A,ee)|0)+Math.imul(M,X)|0,i=i+Math.imul(M,ee)|0,n=n+Math.imul(E,re)|0,o=(o=o+Math.imul(E,ne)|0)+Math.imul(P,re)|0,i=i+Math.imul(P,ne)|0,n=n+Math.imul(S,ie)|0,o=(o=o+Math.imul(S,se)|0)+Math.imul(O,ie)|0,i=i+Math.imul(O,se)|0,n=n+Math.imul(w,ce)|0,o=(o=o+Math.imul(w,ue)|0)+Math.imul(_,ce)|0,i=i+Math.imul(_,ue)|0,n=n+Math.imul(y,fe)|0,o=(o=o+Math.imul(y,de)|0)+Math.imul(b,fe)|0,i=i+Math.imul(b,de)|0;var Ee=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(o=(o=o+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;u=((i=i+Math.imul(g,ge)|0)+(o>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(L,J),o=(o=Math.imul(L,G))+Math.imul(U,J)|0,i=Math.imul(U,G),n=n+Math.imul(N,Q)|0,o=(o=o+Math.imul(N,Z)|0)+Math.imul(B,Q)|0,i=i+Math.imul(B,Z)|0,n=n+Math.imul(C,X)|0,o=(o=o+Math.imul(C,ee)|0)+Math.imul(R,X)|0,i=i+Math.imul(R,ee)|0,n=n+Math.imul(A,re)|0,o=(o=o+Math.imul(A,ne)|0)+Math.imul(M,re)|0,i=i+Math.imul(M,ne)|0,n=n+Math.imul(E,ie)|0,o=(o=o+Math.imul(E,se)|0)+Math.imul(P,ie)|0,i=i+Math.imul(P,se)|0,n=n+Math.imul(S,ce)|0,o=(o=o+Math.imul(S,ue)|0)+Math.imul(O,ce)|0,i=i+Math.imul(O,ue)|0,n=n+Math.imul(w,fe)|0,o=(o=o+Math.imul(w,de)|0)+Math.imul(_,fe)|0,i=i+Math.imul(_,de)|0;var Pe=(u+(n=n+Math.imul(y,pe)|0)|0)+((8191&(o=(o=o+Math.imul(y,ge)|0)+Math.imul(b,pe)|0))<<13)|0;u=((i=i+Math.imul(b,ge)|0)+(o>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(L,Q),o=(o=Math.imul(L,Z))+Math.imul(U,Q)|0,i=Math.imul(U,Z),n=n+Math.imul(N,X)|0,o=(o=o+Math.imul(N,ee)|0)+Math.imul(B,X)|0,i=i+Math.imul(B,ee)|0,n=n+Math.imul(C,re)|0,o=(o=o+Math.imul(C,ne)|0)+Math.imul(R,re)|0,i=i+Math.imul(R,ne)|0,n=n+Math.imul(A,ie)|0,o=(o=o+Math.imul(A,se)|0)+Math.imul(M,ie)|0,i=i+Math.imul(M,se)|0,n=n+Math.imul(E,ce)|0,o=(o=o+Math.imul(E,ue)|0)+Math.imul(P,ce)|0,i=i+Math.imul(P,ue)|0,n=n+Math.imul(S,fe)|0,o=(o=o+Math.imul(S,de)|0)+Math.imul(O,fe)|0,i=i+Math.imul(O,de)|0;var xe=(u+(n=n+Math.imul(w,pe)|0)|0)+((8191&(o=(o=o+Math.imul(w,ge)|0)+Math.imul(_,pe)|0))<<13)|0;u=((i=i+Math.imul(_,ge)|0)+(o>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(L,X),o=(o=Math.imul(L,ee))+Math.imul(U,X)|0,i=Math.imul(U,ee),n=n+Math.imul(N,re)|0,o=(o=o+Math.imul(N,ne)|0)+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,n=n+Math.imul(C,ie)|0,o=(o=o+Math.imul(C,se)|0)+Math.imul(R,ie)|0,i=i+Math.imul(R,se)|0,n=n+Math.imul(A,ce)|0,o=(o=o+Math.imul(A,ue)|0)+Math.imul(M,ce)|0,i=i+Math.imul(M,ue)|0,n=n+Math.imul(E,fe)|0,o=(o=o+Math.imul(E,de)|0)+Math.imul(P,fe)|0,i=i+Math.imul(P,de)|0;var Ae=(u+(n=n+Math.imul(S,pe)|0)|0)+((8191&(o=(o=o+Math.imul(S,ge)|0)+Math.imul(O,pe)|0))<<13)|0;u=((i=i+Math.imul(O,ge)|0)+(o>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(L,re),o=(o=Math.imul(L,ne))+Math.imul(U,re)|0,i=Math.imul(U,ne),n=n+Math.imul(N,ie)|0,o=(o=o+Math.imul(N,se)|0)+Math.imul(B,ie)|0,i=i+Math.imul(B,se)|0,n=n+Math.imul(C,ce)|0,o=(o=o+Math.imul(C,ue)|0)+Math.imul(R,ce)|0,i=i+Math.imul(R,ue)|0,n=n+Math.imul(A,fe)|0,o=(o=o+Math.imul(A,de)|0)+Math.imul(M,fe)|0,i=i+Math.imul(M,de)|0;var Me=(u+(n=n+Math.imul(E,pe)|0)|0)+((8191&(o=(o=o+Math.imul(E,ge)|0)+Math.imul(P,pe)|0))<<13)|0;u=((i=i+Math.imul(P,ge)|0)+(o>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(L,ie),o=(o=Math.imul(L,se))+Math.imul(U,ie)|0,i=Math.imul(U,se),n=n+Math.imul(N,ce)|0,o=(o=o+Math.imul(N,ue)|0)+Math.imul(B,ce)|0,i=i+Math.imul(B,ue)|0,n=n+Math.imul(C,fe)|0,o=(o=o+Math.imul(C,de)|0)+Math.imul(R,fe)|0,i=i+Math.imul(R,de)|0;var Ie=(u+(n=n+Math.imul(A,pe)|0)|0)+((8191&(o=(o=o+Math.imul(A,ge)|0)+Math.imul(M,pe)|0))<<13)|0;u=((i=i+Math.imul(M,ge)|0)+(o>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(L,ce),o=(o=Math.imul(L,ue))+Math.imul(U,ce)|0,i=Math.imul(U,ue),n=n+Math.imul(N,fe)|0,o=(o=o+Math.imul(N,de)|0)+Math.imul(B,fe)|0,i=i+Math.imul(B,de)|0;var Ce=(u+(n=n+Math.imul(C,pe)|0)|0)+((8191&(o=(o=o+Math.imul(C,ge)|0)+Math.imul(R,pe)|0))<<13)|0;u=((i=i+Math.imul(R,ge)|0)+(o>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(L,fe),o=(o=Math.imul(L,de))+Math.imul(U,fe)|0,i=Math.imul(U,de);var Re=(u+(n=n+Math.imul(N,pe)|0)|0)+((8191&(o=(o=o+Math.imul(N,ge)|0)+Math.imul(B,pe)|0))<<13)|0;u=((i=i+Math.imul(B,ge)|0)+(o>>>13)|0)+(Re>>>26)|0,Re&=67108863;var Te=(u+(n=Math.imul(L,pe))|0)+((8191&(o=(o=Math.imul(L,ge))+Math.imul(U,pe)|0))<<13)|0;return u=((i=Math.imul(U,ge))+(o>>>13)|0)+(Te>>>26)|0,Te&=67108863,c[0]=me,c[1]=ye,c[2]=be,c[3]=ve,c[4]=we,c[5]=_e,c[6]=ke,c[7]=Se,c[8]=Oe,c[9]=je,c[10]=Ee,c[11]=Pe,c[12]=xe,c[13]=Ae,c[14]=Me,c[15]=Ie,c[16]=Ce,c[17]=Re,c[18]=Te,0!==u&&(c[19]=u,r.length++),r};function p(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(h=d),i.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?h(this,e,t):r<63?d(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,o=0,i=0;i>>26)|0)>>>26,s&=67108863}r.words[i]=a,n=s,s=o}return 0!==n?r.words[i]=n:r.length--,r.strip()}(this,e,t):p(this,e,t)},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n>=1;return n},g.prototype.permute=function(e,t,r,n,o,i){for(var s=0;s>>=1)o++;return 1<>>=13,r[2*s+1]=8191&i,i>>>=13;for(s=2*t;s>=26,t+=o/67108864|0,t+=i>>>26,this.words[r]=67108863&i}return 0!==t&&(this.words[r]=t,this.length++),this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r>>o}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n=0);var t,r=e%26,o=(e-r)/26,i=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(t=0;t>>26-r}s&&(this.words[t]=s,this.length++)}if(0!==o){for(t=this.length-1;t>=0;t--)this.words[t+o]=this.words[t];for(t=0;t=0),o=t?(t-t%26)/26:0;var i=e%26,s=Math.min((e-i)/26,this.length),a=67108863^67108863>>>i<s)for(this.length-=s,u=0;u=0&&(0!==l||u>=o);u--){var f=0|this.words[u];this.words[u]=l<<26-i|f>>>i,l=f&a}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,o=1<=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var o=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[o+r]=67108863&i}for(;o>26,this.words[o+r]=67108863&i;if(0===a)return this.strip();for(n(-1===a),a=0,o=0;o>26,this.words[o]=67108863&i;return this.negative=1,this.strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),o=e,s=0|o.words[o.length-1];0!==(r=26-this._countBits(s))&&(o=o.ushln(r),n.iushln(r),s=0|o.words[o.length-1]);var a,c=n.length-o.length;if("mod"!==t){(a=new i(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u=0;f--){var d=67108864*(0|n.words[o.length+f])+(0|n.words[o.length+f-1]);for(d=Math.min(d/s|0,67108863),n._ishlnsubmul(o,d,f);0!==n.negative;)d--,n.negative=0,n._ishlnsubmul(o,1,f),n.isZero()||(n.negative^=1);a&&(a.words[f]=d)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.iadd(e)),{div:o,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modn(e.words[0]))}:this._wordDiv(e,t);var o,s,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),o=e.andln(1),i=r.cmp(n);return i<0||1===o&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,o=this.length-1;o>=0;o--)r=(t*r+(0|this.words[o]))%e;return r},i.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var o=(0|this.words[r])+67108864*t;this.words[r]=o/e|0,t=o%e}return this.strip()},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),s=new i(0),a=new i(0),c=new i(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0==(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(l),s.isub(f)),o.iushrn(1),s.iushrn(1);for(var p=0,g=1;0==(r.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(l),c.isub(f)),a.iushrn(1),c.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a),s.isub(c)):(r.isub(t),a.isub(o),c.isub(s))}return{a:a,b:c,gcd:r.iushln(u)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o,s=new i(1),a=new i(0),c=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var f=0,d=1;0==(r.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(r.iushrn(f);f-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),s.isub(a)):(r.isub(t),a.isub(s))}return(o=0===t.cmpn(1)?s:a).cmpn(0)<0&&o.iadd(e),o},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var o=t.cmp(r);if(o<0){var i=t;t=r,r=i}else if(0===o||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,o=1<>>26,a&=67108863,this.words[s]=a}return 0!==i&&(this.words[s]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var o=0|this.words[0];t=o===e?0:oe.length)return 1;if(this.length=0;r--){var n=0|this.words[r],o=0|e.words[r];if(n!==o){no&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new k(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var m={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function S(e){k.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},o(b,y),b.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n>>22,o=i}o>>>=22,e.words[n-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r>>=26,e.words[r]=o,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(m[e])return m[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new v;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new _}return m[e]=t,t},k.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},k.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},k.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},k.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},k.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},k.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},k.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},k.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},k.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},k.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},k.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},k.prototype.isqr=function(e){return this.imul(e,e.clone())},k.prototype.sqr=function(e){return this.mul(e,e)},k.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);n(!o.isZero());var a=new i(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,o),d=this.pow(e,o.addn(1).iushrn(1)),h=this.pow(e,o),p=s;0!==h.cmp(a);){for(var g=h,m=0;0!==g.cmp(a);m++)g=g.redSqr();n(m=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var f=u>>l&1;o!==r[0]&&(o=this.sqr(o)),0!==f||0!==s?(s<<=1,s|=f,(4===++a||0===n&&0===l)&&(o=this.mul(o,r[s]),a=0,s=0)):a=0}c=26}return o},k.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},k.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new S(e)},o(S,k),S.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},S.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},S.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),i=o;return o.cmp(this.m)>=0?i=o.isub(this.m):o.cmpn(0)<0&&(i=o.iadd(this.m)),i._forceRed(this)},S.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},S.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(71)(e))},function(e,t,r){ -/*! safe-buffer. MIT License. Feross Aboukhadijeh */ -var n=r(2),o=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function s(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=s),s.prototype=Object.create(o.prototype),i(o,s),s.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},s.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},,function(e,t,r){(function(t){var n;e.exports=(n=n||function(e,n){var o;if("undefined"!=typeof window&&window.crypto&&(o=window.crypto),!o&&"undefined"!=typeof window&&window.msCrypto&&(o=window.msCrypto),!o&&void 0!==t&&t.crypto&&(o=t.crypto),!o)try{o=r(72)}catch(e){}var i=function(){if(o){if("function"==typeof o.getRandomValues)try{return o.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof o.randomBytes)try{return o.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),a={},c=a.lib={},u=c.Base={extend:function(e){var t=s(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},l=c.WordArray=u.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,o=e.sigBytes;if(this.clamp(),n%4)for(var i=0;i>>2]>>>24-i%4*8&255;t[n+i>>>2]|=s<<24-(n+i)%4*8}else for(i=0;i>>2]=r[i>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=u.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new l.init(r,t/2)}},h=f.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new l.init(r,t)}},p=f.Utf8={stringify:function(e){try{return decodeURIComponent(escape(h.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return h.parse(unescape(encodeURIComponent(e)))}},g=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,o=n.words,i=n.sigBytes,s=this.blockSize,a=i/(4*s),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,u=e.min(4*c,i);if(c){for(var f=0;f1)for(var r=1;r>>2];e.sigBytes-=t}},i.BlockCipher=d.extend({cfg:d.cfg.extend({mode:g,padding:m}),reset:function(){var e;d.reset.call(this);var t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),y=i.CipherParams=s.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),b=(o.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?a.create([1398893684,1701076831]).concat(r).concat(t):t).toString(l)},parse:function(e){var t,r=l.parse(e),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=a.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),y.create({ciphertext:r,salt:t})}},v=i.SerializableCipher=s.extend({cfg:s.extend({format:b}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var o=e.createEncryptor(r,n),i=o.finalize(t),s=o.cfg;return y.create({ciphertext:i,key:r,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),w=(o.kdf={}).OpenSSL={execute:function(e,t,r,n){n||(n=a.random(8));var o=f.create({keySize:t+r}).compute(e,n),i=a.create(o.words.slice(t),4*r);return o.sigBytes=4*t,y.create({key:o,iv:i,salt:n})}},_=i.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:w}),encrypt:function(e,t,r,n){var o=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize);n.iv=o.iv;var i=v.encrypt.call(this,e,t,o.key,n);return i.mixIn(o),i},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var o=n.kdf.execute(r,e.keySize,e.ivSize,t.salt);return n.iv=o.iv,v.decrypt.call(this,e,t,o.key,n)}}))))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(221),t),o(r(421),t),o(r(235),t),o(r(116),t),o(r(112),t),o(r(234),t),o(r(149),t)},function(e,t,r){const n=r(132),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=r(131),{re:s,t:a}=r(84),c=r(133),{compareIdentifiers:u}=r(182);class l{constructor(e,t){if(t=c(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?s[a.LOOSE]:s[a.FULL]);if(!r)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this}}e.exports=l},,,,function(e,t,r){"use strict";var n=r(302),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function s(e){return void 0===e}function a(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var r=0,n=e.length;r(o>>1)-1?(o>>1)-c:c,i.isubn(a)):a=0,n[s]=a,i.iushrn(1)}return n},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n=0,o=0;e.cmpn(-n)>0||t.cmpn(-o)>0;){var i,s,a,c=e.andln(3)+n&3,u=t.andln(3)+o&3;if(3===c&&(c=-1),3===u&&(u=-1),0==(1&c))i=0;else i=3!==(a=e.andln(7)+n&7)&&5!==a||2!==u?c:-c;if(r[0].push(i),0==(1&u))s=0;else s=3!==(a=t.andln(7)+o&7)&&5!==a||2!==c?u:-u;r[1].push(s),2*n===i+1&&(n=1-n),2*o===s+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new o(e,"hex","le")}},,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toUtf8=t.fromUtf8=t.toRfc3339=t.fromRfc3339=t.toHex=t.fromHex=t.Bech32=t.toBase64=t.fromBase64=t.toAscii=t.fromAscii=void 0;var n=r(615);Object.defineProperty(t,"fromAscii",{enumerable:!0,get:function(){return n.fromAscii}}),Object.defineProperty(t,"toAscii",{enumerable:!0,get:function(){return n.toAscii}});var o=r(616);Object.defineProperty(t,"fromBase64",{enumerable:!0,get:function(){return o.fromBase64}}),Object.defineProperty(t,"toBase64",{enumerable:!0,get:function(){return o.toBase64}});var i=r(617);Object.defineProperty(t,"Bech32",{enumerable:!0,get:function(){return i.Bech32}});var s=r(618);Object.defineProperty(t,"fromHex",{enumerable:!0,get:function(){return s.fromHex}}),Object.defineProperty(t,"toHex",{enumerable:!0,get:function(){return s.toHex}});var a=r(619);Object.defineProperty(t,"fromRfc3339",{enumerable:!0,get:function(){return a.fromRfc3339}}),Object.defineProperty(t,"toRfc3339",{enumerable:!0,get:function(){return a.toRfc3339}});var c=r(620);Object.defineProperty(t,"fromUtf8",{enumerable:!0,get:function(){return c.fromUtf8}}),Object.defineProperty(t,"toUtf8",{enumerable:!0,get:function(){return c.toUtf8}})},function(e,t,r){const n=r(24);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},function(e,t,r){class n{constructor(e,t){if(t=i(t),e instanceof n)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new n(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter(e=>!p(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&g(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,r=o.get(t);if(r)return r;const n=this.options.loose,i=n?u[l.HYPHENRANGELOOSE]:u[l.HYPHENRANGE];e=e.replace(i,P(this.options.includePrerelease)),a("hyphen replace",e),e=e.replace(u[l.COMPARATORTRIM],f),a("comparator trim",e,u[l.COMPARATORTRIM]),e=(e=(e=e.replace(u[l.TILDETRIM],d)).replace(u[l.CARETTRIM],h)).split(/\s+/).join(" ");const c=n?u[l.COMPARATORLOOSE]:u[l.COMPARATOR],g=e.split(" ").map(e=>y(e,this.options)).join(" ").split(/\s+/).map(e=>E(e,this.options)).filter(this.options.loose?e=>!!e.match(c):()=>!0).map(e=>new s(e,this.options)),m=(g.length,new Map);for(const e of g){if(p(e))return[e];m.set(e.value,e)}m.size>1&&m.has("")&&m.delete("");const b=[...m.values()];return o.set(t,b),b}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some(r=>m(r,t)&&e.set.some(e=>m(e,t)&&r.every(r=>e.every(e=>r.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,g=e=>""===e.value,m=(e,t)=>{let r=!0;const n=e.slice();let o=n.pop();for(;r&&n.length;)r=n.every(e=>o.intersects(e,t)),o=n.pop();return r},y=(e,t)=>(a("comp",e,t),e=_(e,t),a("caret",e),e=v(e,t),a("tildes",e),e=S(e,t),a("xrange",e),e=j(e,t),a("stars",e),e),b=e=>!e||"x"===e.toLowerCase()||"*"===e,v=(e,t)=>e.trim().split(/\s+/).map(e=>w(e,t)).join(" "),w=(e,t)=>{const r=t.loose?u[l.TILDELOOSE]:u[l.TILDE];return e.replace(r,(t,r,n,o,i)=>{let s;return a("tilde",e,t,r,n,o,i),b(r)?s="":b(n)?s=`>=${r}.0.0 <${+r+1}.0.0-0`:b(o)?s=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:i?(a("replaceTilde pr",i),s=`>=${r}.${n}.${o}-${i} <${r}.${+n+1}.0-0`):s=`>=${r}.${n}.${o} <${r}.${+n+1}.0-0`,a("tilde return",s),s})},_=(e,t)=>e.trim().split(/\s+/).map(e=>k(e,t)).join(" "),k=(e,t)=>{a("caret",e,t);const r=t.loose?u[l.CARETLOOSE]:u[l.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,o,i,s)=>{let c;return a("caret",e,t,r,o,i,s),b(r)?c="":b(o)?c=`>=${r}.0.0${n} <${+r+1}.0.0-0`:b(i)?c="0"===r?`>=${r}.${o}.0${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${n} <${+r+1}.0.0-0`:s?(a("replaceCaret pr",s),c="0"===r?"0"===o?`>=${r}.${o}.${i}-${s} <${r}.${o}.${+i+1}-0`:`>=${r}.${o}.${i}-${s} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${i}-${s} <${+r+1}.0.0-0`):(a("no pr"),c="0"===r?"0"===o?`>=${r}.${o}.${i}${n} <${r}.${o}.${+i+1}-0`:`>=${r}.${o}.${i}${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${i} <${+r+1}.0.0-0`),a("caret return",c),c})},S=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map(e=>O(e,t)).join(" ")),O=(e,t)=>{e=e.trim();const r=t.loose?u[l.XRANGELOOSE]:u[l.XRANGE];return e.replace(r,(r,n,o,i,s,c)=>{a("xRange",e,r,n,o,i,s,c);const u=b(o),l=u||b(i),f=l||b(s),d=f;return"="===n&&d&&(n=""),c=t.includePrerelease?"-0":"",u?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&d?(l&&(i=0),s=0,">"===n?(n=">=",l?(o=+o+1,i=0,s=0):(i=+i+1,s=0)):"<="===n&&(n="<",l?o=+o+1:i=+i+1),"<"===n&&(c="-0"),r=`${n+o}.${i}.${s}${c}`):l?r=`>=${o}.0.0${c} <${+o+1}.0.0-0`:f&&(r=`>=${o}.${i}.0${c} <${o}.${+i+1}.0-0`),a("xRange return",r),r})},j=(e,t)=>(a("replaceStars",e,t),e.trim().replace(u[l.STAR],"")),E=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?l.GTE0PRE:l.GTE0],"")),P=e=>(t,r,n,o,i,s,a,c,u,l,f,d,h)=>`${r=b(n)?"":b(o)?`>=${n}.0.0${e?"-0":""}`:b(i)?`>=${n}.${o}.0${e?"-0":""}`:s?">="+r:`>=${r}${e?"-0":""}`} ${c=b(u)?"":b(l)?`<${+u+1}.0.0-0`:b(f)?`<${u}.${+l+1}.0-0`:d?`<=${u}.${l}.${f}-${d}`:e?`<${u}.${l}.${+f+1}-0`:"<="+c}`.trim(),x=(e,t,r)=>{for(let r=0;r0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(732);t.Bech32=n.Bech32;var o=r(733);t.Decimal=o.Decimal;var i=r(360);t.Encoding=i.Encoding;var s=r(734);t.Int53=s.Int53,t.Uint32=s.Uint32,t.Uint53=s.Uint53,t.Uint64=s.Uint64;var a=r(735);t.isJsonCompatibleValue=a.isJsonCompatibleValue,t.isJsonCompatibleDictionary=a.isJsonCompatibleDictionary,t.isJsonCompatibleArray=a.isJsonCompatibleArray;var c=r(736);t.TransactionEncoder=c.TransactionEncoder;var u=r(362);t.isNonNullObject=u.isNonNullObject,t.isUint8Array=u.isUint8Array},function(e,t,r){"use strict";var n;r.r(t),r.d(t,"Lifecycle",(function(){return o})),r.d(t,"autoInjectable",(function(){return E})),r.d(t,"inject",(function(){return P})),r.d(t,"injectable",(function(){return x})),r.d(t,"registry",(function(){return A})),r.d(t,"singleton",(function(){return M})),r.d(t,"injectAll",(function(){return I})),r.d(t,"injectAllWithTransform",(function(){return C})),r.d(t,"injectWithTransform",(function(){return R})),r.d(t,"scoped",(function(){return T})),r.d(t,"instanceCachingFactory",(function(){return N})),r.d(t,"predicateAwareClassFactory",(function(){return B})),r.d(t,"isClassProvider",(function(){return c})),r.d(t,"isFactoryProvider",(function(){return u})),r.d(t,"isNormalToken",(function(){return d})),r.d(t,"isTokenProvider",(function(){return g})),r.d(t,"isValueProvider",(function(){return m})),r.d(t,"delay",(function(){return f})),r.d(t,"container",(function(){return j})),function(e){e[e.Transient=0]="Transient",e[e.Singleton=1]="Singleton",e[e.ResolutionScoped=2]="ResolutionScoped",e[e.ContainerScoped=3]="ContainerScoped"}(n||(n={}));var o=n,i=r(3);function s(e){var t=Reflect.getMetadata("design:paramtypes",e)||[],r=Reflect.getOwnMetadata("injectionTokens",e)||{};return Object.keys(r).forEach((function(e){t[+e]=r[e]})),t}function a(e,t){return function(r,n,o){var i=Reflect.getOwnMetadata("injectionTokens",r)||{};i[o]=t?{token:e,transform:t.transformToken,transformArgs:t.args||[]}:e,Reflect.defineMetadata("injectionTokens",i,r)}}function c(e){return!!e.useClass}function u(e){return!!e.useFactory}var l=function(){function e(e){this.wrap=e,this.reflectMethods=["get","getPrototypeOf","setPrototypeOf","getOwnPropertyDescriptor","defineProperty","has","set","deleteProperty","apply","construct"]}return e.prototype.createProxy=function(e){var t,r=this,n=!1;return new Proxy({},this.createHandler((function(){return n||(t=e(r.wrap()),n=!0),t})))},e.prototype.createHandler=function(e){var t={};return this.reflectMethods.forEach((function(r){t[r]=function(){for(var t=[],n=0;n0},e.prototype.clear=function(){this._registryMap.clear()},e.prototype.ensure=function(e){this._registryMap.has(e)||this._registryMap.set(e,[])},e}(),b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t}(y),v=function(){this.scopedResolutions=new Map};function w(e,t,r){var n,o,s,a=Object(i.c)(e.toString().match(/constructor\(([\w, ]+)\)/)||[],2)[1],c=function(e,t){return null===e?"at position #"+t:'"'+e.split(",")[t].trim()+'" at position #'+t}(void 0===a?null:a,t);return n="Cannot inject the dependency "+c+' of "'+e.name+'" constructor. Reason:',o=r,void 0===s&&(s=" "),Object(i.e)([n],o.message.split("\n").map((function(e){return s+e}))).join("\n")}var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t}(y),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t}(y),S=function(){this.preResolution=new _,this.postResolution=new k},O=new Map,j=new(function(){function e(e){this.parent=e,this._registry=new b,this.interceptors=new S}return e.prototype.register=function(e,t,r){var n;if(void 0===r&&(r={lifecycle:o.Transient}),n=function(e){return c(e)||m(e)||g(e)||u(e)}(t)?t:{useClass:t},g(n))for(var s=[e],a=n;null!=a;){var l=a.useToken;if(s.includes(l))throw new Error("Token registration cycle detected! "+Object(i.e)(s,[l]).join(" -> "));s.push(l);var f=this._registry.get(l);a=f&&g(f.provider)?f.provider:null}if((r.lifecycle===o.Singleton||r.lifecycle==o.ContainerScoped||r.lifecycle==o.ResolutionScoped)&&(m(n)||u(n)))throw new Error('Cannot use lifecycle "'+o[r.lifecycle]+'" with ValueProviders or FactoryProviders');return this._registry.set(e,{provider:n,options:r}),this},e.prototype.registerType=function(e,t){return d(t)?this.register(e,{useToken:t}):this.register(e,{useClass:t})},e.prototype.registerInstance=function(e,t){return this.register(e,{useValue:t})},e.prototype.registerSingleton=function(e,t){if(d(e)){if(d(t))return this.register(e,{useToken:t},{lifecycle:o.Singleton});if(t)return this.register(e,{useClass:t},{lifecycle:o.Singleton});throw new Error('Cannot register a type name as a singleton without a "to" token')}var r=e;return t&&!d(t)&&(r=t),this.register(e,{useClass:r},{lifecycle:o.Singleton})},e.prototype.resolve=function(e,t){void 0===t&&(t=new v);var r=this.getRegistration(e);if(!r&&d(e))throw new Error('Attempted to resolve unregistered dependency token: "'+e.toString()+'"');if(this.executePreResolutionInterceptor(e,"Single"),r){var n=this.resolveRegistration(r,t);return this.executePostResolutionInterceptor(e,n,"Single"),n}if(function(e){return"function"==typeof e||e instanceof l}(e)){n=this.construct(e,t);return this.executePostResolutionInterceptor(e,n,"Single"),n}throw new Error("Attempted to construct an undefined constructor. Could mean a circular dependency problem. Try using `delay` function.")},e.prototype.executePreResolutionInterceptor=function(e,t){var r,n;if(this.interceptors.preResolution.has(e)){var o=[];try{for(var s=Object(i.g)(this.interceptors.preResolution.getAll(e)),a=s.next();!a.done;a=s.next()){var c=a.value;"Once"!=c.options.frequency&&o.push(c),c.callback(e,t)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}this.interceptors.preResolution.setAll(e,o)}},e.prototype.executePostResolutionInterceptor=function(e,t,r){var n,o;if(this.interceptors.postResolution.has(e)){var s=[];try{for(var a=Object(i.g)(this.interceptors.postResolution.getAll(e)),c=a.next();!c.done;c=a.next()){var u=c.value;"Once"!=u.options.frequency&&s.push(u),u.callback(e,t,r)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}this.interceptors.postResolution.setAll(e,s)}},e.prototype.resolveRegistration=function(e,t){if(e.options.lifecycle===o.ResolutionScoped&&t.scopedResolutions.has(e))return t.scopedResolutions.get(e);var r,n=e.options.lifecycle===o.Singleton,i=e.options.lifecycle===o.ContainerScoped,s=n||i;return r=m(e.provider)?e.provider.useValue:g(e.provider)?s?e.instance||(e.instance=this.resolve(e.provider.useToken,t)):this.resolve(e.provider.useToken,t):c(e.provider)?s?e.instance||(e.instance=this.construct(e.provider.useClass,t)):this.construct(e.provider.useClass,t):u(e.provider)?e.provider.useFactory(this):this.construct(e.provider,t),e.options.lifecycle===o.ResolutionScoped&&t.scopedResolutions.set(e,r),r},e.prototype.resolveAll=function(e,t){var r=this;void 0===t&&(t=new v);var n=this.getAllRegistrations(e);if(!n&&d(e))throw new Error('Attempted to resolve unregistered dependency token: "'+e.toString()+'"');if(this.executePreResolutionInterceptor(e,"All"),n){var o=n.map((function(e){return r.resolveRegistration(e,t)}));return this.executePostResolutionInterceptor(e,o,"All"),o}var i=[this.construct(e,t)];return this.executePostResolutionInterceptor(e,i,"All"),i},e.prototype.isRegistered=function(e,t){return void 0===t&&(t=!1),this._registry.has(e)||t&&(this.parent||!1)&&this.parent.isRegistered(e,!0)},e.prototype.reset=function(){this._registry.clear(),this.interceptors.preResolution.clear(),this.interceptors.postResolution.clear()},e.prototype.clearInstances=function(){var e,t;try{for(var r=Object(i.g)(this._registry.entries()),n=r.next();!n.done;n=r.next()){var o=Object(i.c)(n.value,2),s=o[0],a=o[1];this._registry.setAll(s,a.filter((function(e){return!m(e.provider)})).map((function(e){return e.instance=void 0,e})))}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},e.prototype.createChildContainer=function(){var t,r,n=new e(this);try{for(var s=Object(i.g)(this._registry.entries()),a=s.next();!a.done;a=s.next()){var c=Object(i.c)(a.value,2),u=c[0],l=c[1];l.some((function(e){return e.options.lifecycle===o.ContainerScoped}))&&n._registry.setAll(u,l.map((function(e){return e.options.lifecycle===o.ContainerScoped?{provider:e.provider,options:e.options}:e})))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return n},e.prototype.beforeResolution=function(e,t,r){void 0===r&&(r={frequency:"Always"}),this.interceptors.preResolution.set(e,{callback:t,options:r})},e.prototype.afterResolution=function(e,t,r){void 0===r&&(r={frequency:"Always"}),this.interceptors.postResolution.set(e,{callback:t,options:r})},e.prototype.getRegistration=function(e){return this.isRegistered(e)?this._registry.get(e):this.parent?this.parent.getRegistration(e):null},e.prototype.getAllRegistrations=function(e){return this.isRegistered(e)?this._registry.getAll(e):this.parent?this.parent.getAllRegistrations(e):null},e.prototype.construct=function(e,t){var r=this;if(e instanceof l)return e.createProxy((function(e){return r.resolve(e,t)}));var n=O.get(e);if(!n||0===n.length){if(0===e.length)return new e;throw new Error('TypeInfo not known for "'+e.name+'"')}var o=n.map(this.resolveParams(t,e));return new(e.bind.apply(e,Object(i.e)([void 0],o)))},e.prototype.resolveParams=function(e,t){var r=this;return function(n,o){var s,a,c;try{return h(n)?p(n)?n.multiple?(s=r.resolve(n.transform)).transform.apply(s,Object(i.e)([r.resolveAll(n.token)],n.transformArgs)):(a=r.resolve(n.transform)).transform.apply(a,Object(i.e)([r.resolve(n.token,e)],n.transformArgs)):n.multiple?r.resolveAll(n.token):r.resolve(n.token,e):p(n)?(c=r.resolve(n.transform,e)).transform.apply(c,Object(i.e)([r.resolve(n.token,e)],n.transformArgs)):r.resolve(n,e)}catch(e){throw new Error(w(t,o,e))}}},e}());var E=function(){return function(e){var t=s(e);return function(r){function n(){for(var n=[],o=0;o4096},nanoS:{id:"nanoS",productName:"Ledger Nano S",productIdMM:16,legacyUsbProductId:1,usbOnly:!0,memorySize:327680,blockSize:4096,getBlockSize:e=>o.a.lt(o.a.coerce(e),"2.0.0")?4096:2048},nanoX:{id:"nanoX",productName:"Ledger Nano X",productIdMM:64,legacyUsbProductId:4,usbOnly:!1,memorySize:2097152,blockSize:4096,getBlockSize:e=>4096,bluetoothSpec:[{serviceUuid:"d973f2e0-b19e-11e2-9e96-0800200c9a66",notifyUuid:"d973f2e1-b19e-11e2-9e96-0800200c9a66",writeUuid:"d973f2e2-b19e-11e2-9e96-0800200c9a66"},{serviceUuid:"13d63400-2c97-0004-0000-4c6564676572",notifyUuid:"13d63400-2c97-0004-0001-4c6564676572",writeUuid:"13d63400-2c97-0004-0002-4c6564676572"}]}},s=Object.values(i),a=11415,c=e=>{const t=s.find(t=>t.legacyUsbProductId===e);if(t)return t;const r=e>>8;return s.find(e=>e.productIdMM===r)},u=[],l={};for(let e in i){const t=i[e],{bluetoothSpec:r}=t;if(r)for(let e=0;e=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function s(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function a(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=o,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),o=0;o>6|192,r[n++]=63&s|128):i(e,o)?(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++o)),r[n++]=s>>18|240,r[n++]=s>>12&63|128,r[n++]=s>>6&63|128,r[n++]=63&s|128):(r[n++]=s>>12|224,r[n++]=s>>6&63|128,r[n++]=63&s|128)}else for(o=0;o>>0}return s},t.split32=function(e,t){for(var r=new Array(4*e.length),n=0,o=0;n>>24,r[o+1]=i>>>16&255,r[o+2]=i>>>8&255,r[o+3]=255&i):(r[o+3]=i>>>24,r[o+2]=i>>>16&255,r[o+1]=i>>>8&255,r[o]=255&i)}return r},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,r){return e+t+r>>>0},t.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},t.sum32_5=function(e,t,r,n,o){return e+t+r+n+o>>>0},t.sum64=function(e,t,r,n){var o=e[t],i=n+e[t+1]>>>0,s=(i>>0,e[t+1]=i},t.sum64_hi=function(e,t,r,n){return(t+n>>>0>>0},t.sum64_lo=function(e,t,r,n){return t+n>>>0},t.sum64_4_hi=function(e,t,r,n,o,i,s,a){var c=0,u=t;return c+=(u=u+n>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(e,t,r,n,o,i,s,a){return t+n+i+a>>>0},t.sum64_5_hi=function(e,t,r,n,o,i,s,a,c,u){var l=0,f=t;return l+=(f=f+n>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(e,t,r,n,o,i,s,a,c,u){return t+n+i+a+u>>>0},t.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},t.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},t.shr64_hi=function(e,t,r){return e>>>r},t.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.slip10CurveFromString=t.Slip10RawIndex=t.Slip10Curve=t.Slip10=t.stringToPath=t.pathToString=t.sha512=t.Sha512=t.sha256=t.Sha256=t.sha1=t.Sha1=t.Secp256k1Signature=t.ExtendedSecp256k1Signature=t.Secp256k1=t.ripemd160=t.Ripemd160=t.Random=t.Ed25519Keypair=t.Ed25519=t.isArgon2idOptions=t.Argon2id=t.xchacha20NonceLength=t.Xchacha20poly1305Ietf=t.keccak256=t.Keccak256=t.Hmac=t.EnglishMnemonic=t.Bip39=void 0;var n=r(614);Object.defineProperty(t,"Bip39",{enumerable:!0,get:function(){return n.Bip39}});var o=r(312);Object.defineProperty(t,"EnglishMnemonic",{enumerable:!0,get:function(){return o.EnglishMnemonic}});var i=r(313);Object.defineProperty(t,"Hmac",{enumerable:!0,get:function(){return i.Hmac}});var s=r(621);Object.defineProperty(t,"Keccak256",{enumerable:!0,get:function(){return s.Keccak256}}),Object.defineProperty(t,"keccak256",{enumerable:!0,get:function(){return s.keccak256}});var a=r(622);Object.defineProperty(t,"Xchacha20poly1305Ietf",{enumerable:!0,get:function(){return a.Xchacha20poly1305Ietf}}),Object.defineProperty(t,"xchacha20NonceLength",{enumerable:!0,get:function(){return a.xchacha20NonceLength}}),Object.defineProperty(t,"Argon2id",{enumerable:!0,get:function(){return a.Argon2id}}),Object.defineProperty(t,"isArgon2idOptions",{enumerable:!0,get:function(){return a.isArgon2idOptions}}),Object.defineProperty(t,"Ed25519",{enumerable:!0,get:function(){return a.Ed25519}}),Object.defineProperty(t,"Ed25519Keypair",{enumerable:!0,get:function(){return a.Ed25519Keypair}});var c=r(623);Object.defineProperty(t,"Random",{enumerable:!0,get:function(){return c.Random}});var u=r(624);Object.defineProperty(t,"Ripemd160",{enumerable:!0,get:function(){return u.Ripemd160}}),Object.defineProperty(t,"ripemd160",{enumerable:!0,get:function(){return u.ripemd160}});var l=r(625);Object.defineProperty(t,"Secp256k1",{enumerable:!0,get:function(){return l.Secp256k1}});var f=r(315);Object.defineProperty(t,"ExtendedSecp256k1Signature",{enumerable:!0,get:function(){return f.ExtendedSecp256k1Signature}}),Object.defineProperty(t,"Secp256k1Signature",{enumerable:!0,get:function(){return f.Secp256k1Signature}});var d=r(316);Object.defineProperty(t,"Sha1",{enumerable:!0,get:function(){return d.Sha1}}),Object.defineProperty(t,"sha1",{enumerable:!0,get:function(){return d.sha1}}),Object.defineProperty(t,"Sha256",{enumerable:!0,get:function(){return d.Sha256}}),Object.defineProperty(t,"sha256",{enumerable:!0,get:function(){return d.sha256}}),Object.defineProperty(t,"Sha512",{enumerable:!0,get:function(){return d.Sha512}}),Object.defineProperty(t,"sha512",{enumerable:!0,get:function(){return d.sha512}});var h=r(626);Object.defineProperty(t,"pathToString",{enumerable:!0,get:function(){return h.pathToString}}),Object.defineProperty(t,"stringToPath",{enumerable:!0,get:function(){return h.stringToPath}}),Object.defineProperty(t,"Slip10",{enumerable:!0,get:function(){return h.Slip10}}),Object.defineProperty(t,"Slip10Curve",{enumerable:!0,get:function(){return h.Slip10Curve}}),Object.defineProperty(t,"Slip10RawIndex",{enumerable:!0,get:function(){return h.Slip10RawIndex}}),Object.defineProperty(t,"slip10CurveFromString",{enumerable:!0,get:function(){return h.slip10CurveFromString}})},function(e,t,r){"use strict";var n,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=function(e,t){return new Promise((function(r,n){function o(){void 0!==i&&e.removeListener("error",i),r([].slice.call(arguments))}var i;"error"!==t&&(i=function(r){e.removeListener(t,o),n(r)},e.once("error",i)),e.once(t,o)}))},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var c=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function f(e,t,r,n){var o,i,s,a;if(u(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),s=i[t]),void 0===s)s=i[t]=r,++e._eventsCount;else if("function"==typeof s?s=i[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(o=l(e))>0&&s.length>o&&!s.warned){s.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=s.length,a=c,console&&console.warn&&console.warn(a)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=d.bind(n);return o.listener=r,n.wrapFn=o,o}function p(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=new Array(e.length),r=0;r0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var c=o[e];if(void 0===c)return!1;if("function"==typeof c)i(c,this,t);else{var u=c.length,l=m(c,u);for(r=0;r=0;i--)if(r[i]===t||r[i].listener===t){s=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},a.prototype.listeners=function(e){return p(this,e,!0)},a.prototype.rawListeners=function(e){return p(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},a.prototype.listenerCount=g,a.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TYPES=void 0,t.TYPES={ChainsStore:Symbol("ChainsStore"),ChainsEmbedChainInfos:Symbol("ChainsEmbededChainInfos"),InteractionStore:Symbol("InteractionStore"),KeyRingStore:Symbol("KeyRingStore"),LedgerStore:Symbol("LedgerStore"),PermissionStore:Symbol("PermissionStore"),PermissionServicePrivilegedOrigins:Symbol("PermissionServicePrivilegedOrigins"),PersistentMemoryStore:Symbol("PersistentMemoryStore"),SecretWasmStore:Symbol("SecretWasmStore"),TokensStore:Symbol("TokensStore"),TxStore:Symbol("TxStore"),UpdaterStore:Symbol("UpdaterStore"),EventMsgRequester:Symbol("EventMsgRequester"),RNG:Symbol("RandomNumberGenerator")}},,function(e,t,r){"use strict";var n=r(4),o=r(156),i=r(75),s=r(76),a=r(56);function c(e){a.call(this,"digest"),this._hash=e}n(c,a),c.prototype._update=function(e){this._hash.update(e)},c.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new o:"rmd160"===e||"ripemd160"===e?new i:new c(s(e))}},,function(e,t,r){var n=r(7).Buffer,o=r(397).Transform,i=r(66).StringDecoder;function s(e){o.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}r(4)(s,o),s.prototype.update=function(e,t,r){"string"==typeof e&&(e=n.from(e,t));var o=this._update(e);return this.hashMode?this:(r&&(o=this._toString(o,r)),o)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{r(n)}},s.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},s.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},s.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new i(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},e.exports=s},function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)o(r,n)&&(e[n]=r[n])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,r,n,o){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),o);else for(var i=0;i4294967295)throw new RangeError("requested too many random bytes");var r=o.allocUnsafe(e);if(e>0)if(e>65536)for(var s=0;s0)},n.Buffer=function(){try{var e=n.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),n._Buffer_from=null,n._Buffer_allocUnsafe=null,n.newBuffer=function(e){return"number"==typeof e?n.Buffer?n._Buffer_allocUnsafe(e):new n.Array(e):n.Buffer?n._Buffer_from(e):"undefined"==typeof Uint8Array?e:new Uint8Array(e)},n.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,n.Long=n.global.dcodeIO&&n.global.dcodeIO.Long||n.global.Long||n.inquire("long"),n.key2Re=/^true|false|0|1$/,n.key32Re=/^-?(?:0|[1-9][0-9]*)$/,n.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,n.longToHash=function(e){return e?n.LongBits.from(e).toHash():n.LongBits.zeroHash},n.longFromHash=function(e,t){var r=n.LongBits.fromHash(e);return n.Long?n.Long.fromBits(r.lo,r.hi,t):r.toNumber(Boolean(t))},n.merge=o,n.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},n.newError=i,n.ProtocolError=i("ProtocolError"),n.oneOfGetter=function(e){for(var t={},r=0;r-1;--r)if(1===t[e[r]]&&void 0!==this[e[r]]&&null!==this[e[r]])return e[r]}},n.oneOfSetter=function(e){return function(t){for(var r=0;r>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function l(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return o>0&&(e.lastNeed=o-1),o;if(--n=0)return o>0&&(e.lastNeed=o-2),o;if(--n=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,r){var n,o,i,s,a,c,u,l;e.exports=(l=r(9),r(171),r(172),o=(n=l).lib,i=o.Base,s=o.WordArray,a=n.algo,c=a.MD5,u=a.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:c,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,n=this.cfg,o=n.hasher.create(),i=s.create(),a=i.words,c=n.keySize,u=n.iterations;a.lengthl(e.toString(2),"0",8)).join("")}function h(e){const t=8*e.length/32,r=n("sha256").update(e).digest();return d(Array.from(r)).slice(0,t)}function p(e){return"mnemonic"+(e||"")}function g(t,r){if(!(r=r||a))throw new Error(c);const n=u(t).split(" ");if(n.length%3!=0)throw new Error("Invalid mnemonic");const o=n.map(e=>{const t=r.indexOf(e);if(-1===t)throw new Error("Invalid mnemonic");return l(t.toString(2),"0",11)}).join(""),i=32*Math.floor(o.length/33),s=o.slice(0,i),d=o.slice(i),p=s.match(/(.{1,8})/g).map(f);if(p.length<16)throw new Error("Invalid entropy");if(p.length>32)throw new Error("Invalid entropy");if(p.length%4!=0)throw new Error("Invalid entropy");const g=e.from(p);if(h(g)!==d)throw new Error("Invalid mnemonic checksum");return g.toString("hex")}function m(t,r){if(e.isBuffer(t)||(t=e.from(t,"hex")),!(r=r||a))throw new Error(c);if(t.length<16)throw new TypeError("Invalid entropy");if(t.length>32)throw new TypeError("Invalid entropy");if(t.length%4!=0)throw new TypeError("Invalid entropy");const n=(d(Array.from(t))+h(t)).match(/(.{1,11})/g).map(e=>{const t=f(e);return r[t]});return"あいこくしん"===r[0]?n.join(" "):n.join(" ")}t.mnemonicToSeedSync=function(t,r){const n=e.from(u(t),"utf8"),i=e.from(p(u(r)),"utf8");return o.pbkdf2Sync(n,i,2048,64,"sha512")},t.mnemonicToSeed=function(t,r){return Promise.resolve().then(()=>function(e,t,r,n,i){return Promise.resolve().then(()=>new Promise((s,a)=>{o.pbkdf2(e,t,r,n,i,(e,t)=>e?a(e):s(t))}))}(e.from(u(t),"utf8"),e.from(p(u(r)),"utf8"),2048,64,"sha512"))},t.mnemonicToEntropy=g,t.entropyToMnemonic=m,t.generateMnemonic=function(e,t,r){if((e=e||128)%32!=0)throw new TypeError("Invalid entropy");return m((t=t||i)(e/8),r)},t.validateMnemonic=function(e,t){try{g(e,t)}catch(e){return!1}return!0},t.setDefaultWordlist=function(e){const t=s.wordlists[e];if(!t)throw new Error('Could not find wordlist for language "'+e+'"');a=t},t.getDefaultWordlist=function(){if(!a)throw new Error("No Default Wordlist set");return Object.keys(s.wordlists).filter(e=>"JA"!==e&&"EN"!==e&&s.wordlists[e].every((e,t)=>e===a[t]))[0]};var y=r(297);t.wordlists=y.wordlists}).call(this,r(2).Buffer)},function(e,t,r){var n=t;n.utils=r(49),n.common=r(96),n.sha=r(452),n.ripemd=r(456),n.hmac=r(457),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=r(62),t.createHash=t.Hash=r(54),t.createHmac=t.Hmac=r(120);var n=r(475),o=Object.keys(n),i=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(o);t.getHashes=function(){return i};var s=r(97);t.pbkdf2=s.pbkdf2,t.pbkdf2Sync=s.pbkdf2Sync;var a=r(477);t.Cipher=a.Cipher,t.createCipher=a.createCipher,t.Cipheriv=a.Cipheriv,t.createCipheriv=a.createCipheriv,t.Decipher=a.Decipher,t.createDecipher=a.createDecipher,t.Decipheriv=a.Decipheriv,t.createDecipheriv=a.createDecipheriv,t.getCiphers=a.getCiphers,t.listCiphers=a.listCiphers;var c=r(492);t.DiffieHellmanGroup=c.DiffieHellmanGroup,t.createDiffieHellmanGroup=c.createDiffieHellmanGroup,t.getDiffieHellman=c.getDiffieHellman,t.createDiffieHellman=c.createDiffieHellman,t.DiffieHellman=c.DiffieHellman;var u=r(496);t.createSign=u.createSign,t.Sign=u.Sign,t.createVerify=u.createVerify,t.Verify=u.Verify,t.createECDH=r(531);var l=r(532);t.publicEncrypt=l.publicEncrypt,t.privateEncrypt=l.privateEncrypt,t.publicDecrypt=l.publicDecrypt,t.privateDecrypt=l.privateDecrypt;var f=r(535);t.randomFill=f.randomFill,t.randomFillSync=f.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},function(e,t,r){"use strict";var n={};function o(e,t,r){r||(r=Error);var o=function(e){var r,n;function o(r,n,o){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,o))||this}return n=e,(r=o).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,o}(r);o.prototype.name=r.name,o.prototype.code=e,n[e]=o}function i(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}o("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(e,t,r){var n,o,s,a;if("string"==typeof t&&(o="not ",t.substr(!s||s<0?0:+s,o.length)===o)?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))a="The ".concat(e," ").concat(n," ").concat(i(t,"type"));else{var c=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(c," ").concat(n," ").concat(i(t,"type"))}return a+=". Received type ".concat(typeof r)}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=n},function(e,t,r){"use strict";(function(t){var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=u;var o=r(251),i=r(255);r(4)(u,o);for(var s=n(i.prototype),a=0;a>>32-t}function g(e,t,r,n,o,i,s,a){return p(e+(t^r^n)+i+s|0,a)+o|0}function m(e,t,r,n,o,i,s,a){return p(e+(t&r|~t&n)+i+s|0,a)+o|0}function y(e,t,r,n,o,i,s,a){return p(e+((t|~r)^n)+i+s|0,a)+o|0}function b(e,t,r,n,o,i,s,a){return p(e+(t&n|r&~n)+i+s|0,a)+o|0}function v(e,t,r,n,o,i,s,a){return p(e+(t^(r|~n))+i+s|0,a)+o|0}o(h,i),h.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,o=0|this._c,i=0|this._d,h=0|this._e,w=0|this._a,_=0|this._b,k=0|this._c,S=0|this._d,O=0|this._e,j=0;j<80;j+=1){var E,P;j<16?(E=g(r,n,o,i,h,e[a[j]],f[0],u[j]),P=v(w,_,k,S,O,e[c[j]],d[0],l[j])):j<32?(E=m(r,n,o,i,h,e[a[j]],f[1],u[j]),P=b(w,_,k,S,O,e[c[j]],d[1],l[j])):j<48?(E=y(r,n,o,i,h,e[a[j]],f[2],u[j]),P=y(w,_,k,S,O,e[c[j]],d[2],l[j])):j<64?(E=b(r,n,o,i,h,e[a[j]],f[3],u[j]),P=m(w,_,k,S,O,e[c[j]],d[3],l[j])):(E=v(r,n,o,i,h,e[a[j]],f[4],u[j]),P=g(w,_,k,S,O,e[c[j]],d[4],l[j])),r=h,h=i,i=p(o,10),o=n,n=E,w=O,O=S,S=p(k,10),k=_,_=P}var x=this._b+o+S|0;this._b=this._c+i+O|0,this._c=this._d+h+w|0,this._d=this._e+r+_|0,this._e=this._a+n+k|0,this._a=x},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=h},function(e,t,r){(t=e.exports=function(e){e=e.toLowerCase();var r=t[e];if(!r)throw new Error(e+" is not supported (we accept pull requests)");return new r}).sha=r(466),t.sha1=r(467),t.sha224=r(468),t.sha256=r(257),t.sha384=r(469),t.sha512=r(258)},function(e,t,r){var n=r(7).Buffer;function o(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}o.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=n.from(e,t));for(var r=this._block,o=this._blockSize,i=e.length,s=this._len,a=0;a=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,o=(r-n)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var i=this._hash();return e?i.toString(e):i},o.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=o},function(e,t,r){"use strict";var n={};function o(e,t,r){r||(r=Error);var o=function(e){var r,n;function o(r,n,o){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,o))||this}return n=e,(r=o).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,o}(r);o.prototype.name=r.name,o.prototype.code=e,n[e]=o}function i(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}o("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(e,t,r){var n,o,s,a;if("string"==typeof t&&(o="not ",t.substr(!s||s<0?0:+s,o.length)===o)?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))a="The ".concat(e," ").concat(n," ").concat(i(t,"type"));else{var c=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(c," ").concat(n," ").concat(i(t,"type"))}return a+=". Received type ".concat(typeof r)}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=n},function(e,t,r){"use strict";(function(t){var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=u;var o=r(274),i=r(278);r(4)(u,o);for(var s=n(i.prototype),a=0;a>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;a<4&&i+.75*a>>6*(3-a)&63));var c=n.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var i=0;i>>6-s%4*2,u=a|c;n[i>>>2]|=u<<24-i%4*8,i++}return o.create(n,i)}(e,t,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},i.enc.Base64)},function(e,t,r){var n;e.exports=(n=r(9),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,s=t.algo,a=[];!function(){for(var t=0;t<64;t++)a[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=s.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,o=e[n];e[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,s=e[t+0],c=e[t+1],h=e[t+2],p=e[t+3],g=e[t+4],m=e[t+5],y=e[t+6],b=e[t+7],v=e[t+8],w=e[t+9],_=e[t+10],k=e[t+11],S=e[t+12],O=e[t+13],j=e[t+14],E=e[t+15],P=i[0],x=i[1],A=i[2],M=i[3];P=u(P,x,A,M,s,7,a[0]),M=u(M,P,x,A,c,12,a[1]),A=u(A,M,P,x,h,17,a[2]),x=u(x,A,M,P,p,22,a[3]),P=u(P,x,A,M,g,7,a[4]),M=u(M,P,x,A,m,12,a[5]),A=u(A,M,P,x,y,17,a[6]),x=u(x,A,M,P,b,22,a[7]),P=u(P,x,A,M,v,7,a[8]),M=u(M,P,x,A,w,12,a[9]),A=u(A,M,P,x,_,17,a[10]),x=u(x,A,M,P,k,22,a[11]),P=u(P,x,A,M,S,7,a[12]),M=u(M,P,x,A,O,12,a[13]),A=u(A,M,P,x,j,17,a[14]),P=l(P,x=u(x,A,M,P,E,22,a[15]),A,M,c,5,a[16]),M=l(M,P,x,A,y,9,a[17]),A=l(A,M,P,x,k,14,a[18]),x=l(x,A,M,P,s,20,a[19]),P=l(P,x,A,M,m,5,a[20]),M=l(M,P,x,A,_,9,a[21]),A=l(A,M,P,x,E,14,a[22]),x=l(x,A,M,P,g,20,a[23]),P=l(P,x,A,M,w,5,a[24]),M=l(M,P,x,A,j,9,a[25]),A=l(A,M,P,x,p,14,a[26]),x=l(x,A,M,P,v,20,a[27]),P=l(P,x,A,M,O,5,a[28]),M=l(M,P,x,A,h,9,a[29]),A=l(A,M,P,x,b,14,a[30]),P=f(P,x=l(x,A,M,P,S,20,a[31]),A,M,m,4,a[32]),M=f(M,P,x,A,v,11,a[33]),A=f(A,M,P,x,k,16,a[34]),x=f(x,A,M,P,j,23,a[35]),P=f(P,x,A,M,c,4,a[36]),M=f(M,P,x,A,g,11,a[37]),A=f(A,M,P,x,b,16,a[38]),x=f(x,A,M,P,_,23,a[39]),P=f(P,x,A,M,O,4,a[40]),M=f(M,P,x,A,s,11,a[41]),A=f(A,M,P,x,p,16,a[42]),x=f(x,A,M,P,y,23,a[43]),P=f(P,x,A,M,w,4,a[44]),M=f(M,P,x,A,S,11,a[45]),A=f(A,M,P,x,E,16,a[46]),P=d(P,x=f(x,A,M,P,h,23,a[47]),A,M,s,6,a[48]),M=d(M,P,x,A,b,10,a[49]),A=d(A,M,P,x,j,15,a[50]),x=d(x,A,M,P,m,21,a[51]),P=d(P,x,A,M,S,6,a[52]),M=d(M,P,x,A,p,10,a[53]),A=d(A,M,P,x,_,15,a[54]),x=d(x,A,M,P,c,21,a[55]),P=d(P,x,A,M,v,6,a[56]),M=d(M,P,x,A,E,10,a[57]),A=d(A,M,P,x,y,15,a[58]),x=d(x,A,M,P,O,21,a[59]),P=d(P,x,A,M,g,6,a[60]),M=d(M,P,x,A,k,10,a[61]),A=d(A,M,P,x,h,15,a[62]),x=d(x,A,M,P,w,21,a[63]),i[0]=i[0]+P|0,i[1]=i[1]+x|0,i[2]=i[2]+A|0,i[3]=i[3]+M|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;r[o>>>5]|=128<<24-o%32;var i=e.floor(n/4294967296),s=n;r[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),r[14+(o+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),t.sigBytes=4*(r.length+1),this._process();for(var a=this._hash,c=a.words,u=0;u<4;u++){var l=c[u];c[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return a},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,r,n,o,i,s){var a=e+(t&r|~t&n)+o+s;return(a<>>32-i)+t}function l(e,t,r,n,o,i,s){var a=e+(t&n|r&~n)+o+s;return(a<>>32-i)+t}function f(e,t,r,n,o,i,s){var a=e+(t^r^n)+o+s;return(a<>>32-i)+t}function d(e,t,r,n,o,i,s){var a=e+(r^(t|~n))+o+s;return(a<>>32-i)+t}t.MD5=i._createHelper(c),t.HmacMD5=i._createHmacHelper(c)}(Math),n.MD5)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Uint64=t.Uint53=t.Uint32=t.Int53=t.Decimal=void 0;var n=r(627);Object.defineProperty(t,"Decimal",{enumerable:!0,get:function(){return n.Decimal}});var o=r(628);Object.defineProperty(t,"Int53",{enumerable:!0,get:function(){return o.Int53}}),Object.defineProperty(t,"Uint32",{enumerable:!0,get:function(){return o.Uint32}}),Object.defineProperty(t,"Uint53",{enumerable:!0,get:function(){return o.Uint53}}),Object.defineProperty(t,"Uint64",{enumerable:!0,get:function(){return o.Uint64}})},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(338),t),o(r(180),t),o(r(675),t),o(r(339),t)},function(e,t,r){const{MAX_SAFE_COMPONENT_LENGTH:n}=r(131),o=r(132),i=(t=e.exports={}).re=[],s=t.src=[],a=t.t={};let c=0;const u=(e,t,r)=>{const n=c++;o(n,t),a[e]=n,s[n]=t,i[n]=new RegExp(t,r?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${s[a.NUMERICIDENTIFIER]})\\.(${s[a.NUMERICIDENTIFIER]})\\.(${s[a.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${s[a.NUMERICIDENTIFIERLOOSE]})\\.(${s[a.NUMERICIDENTIFIERLOOSE]})\\.(${s[a.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${s[a.NUMERICIDENTIFIER]}|${s[a.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${s[a.NUMERICIDENTIFIERLOOSE]}|${s[a.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${s[a.PRERELEASEIDENTIFIER]}(?:\\.${s[a.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${s[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[a.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${s[a.BUILDIDENTIFIER]}(?:\\.${s[a.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${s[a.MAINVERSION]}${s[a.PRERELEASE]}?${s[a.BUILD]}?`),u("FULL",`^${s[a.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${s[a.MAINVERSIONLOOSE]}${s[a.PRERELEASELOOSE]}?${s[a.BUILD]}?`),u("LOOSE",`^${s[a.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",s[a.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),u("XRANGEIDENTIFIER",s[a.NUMERICIDENTIFIER]+"|x|X|\\*"),u("XRANGEPLAIN",`[v=\\s]*(${s[a.XRANGEIDENTIFIER]})(?:\\.(${s[a.XRANGEIDENTIFIER]})(?:\\.(${s[a.XRANGEIDENTIFIER]})(?:${s[a.PRERELEASE]})?${s[a.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${s[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[a.XRANGEIDENTIFIERLOOSE]})(?:${s[a.PRERELEASELOOSE]})?${s[a.BUILD]}?)?)?`),u("XRANGE",`^${s[a.GTLT]}\\s*${s[a.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${s[a.GTLT]}\\s*${s[a.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),u("COERCERTL",s[a.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${s[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",u("TILDE",`^${s[a.LONETILDE]}${s[a.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${s[a.LONETILDE]}${s[a.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${s[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",u("CARET",`^${s[a.LONECARET]}${s[a.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${s[a.LONECARET]}${s[a.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${s[a.GTLT]}\\s*(${s[a.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${s[a.GTLT]}\\s*(${s[a.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${s[a.GTLT]}\\s*(${s[a.LOOSEPLAIN]}|${s[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${s[a.XRANGEPLAIN]})\\s+-\\s+(${s[a.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${s[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[a.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0.0.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},function(e,t,r){const{MAX_LENGTH:n}=r(131),{re:o,t:i}=r(84),s=r(24),a=r(133);e.exports=(e,t)=>{if(t=a(t),e instanceof s)return e;if("string"!=typeof e)return null;if(e.length>n)return null;if(!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new s(e,t)}catch(e){return null}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));let n=0;const o=[],i=(e,t,r)=>{const i={type:e,id:String(++n),date:new Date};t&&(i.message=t),r&&(i.data=r),function(e){for(let t=0;t(o.push(e),()=>{const t=o.indexOf(e);-1!==t&&(o[t]=o[o.length-1],o.pop())});"undefined"!=typeof window&&(window.__ledgerLogsListen=s)},,function(e,t,r){"use strict";r.d(t,"d",(function(){return i})),r.d(t,"b",(function(){return s})),r.d(t,"a",(function(){return a})),r.d(t,"c",(function(){return c}));var n=r(44);const o=[{vendorId:n.b}];async function i(){return await navigator.usb.requestDevice({filters:o})}async function s(){return(await navigator.usb.getDevices()).filter(e=>e.vendorId===n.b)}async function a(){const e=await s();return e.length>0?e[0]:i()}const c=()=>Promise.resolve(!!navigator&&!!navigator.usb&&"function"==typeof navigator.usb.getDevices)},,,,,,function(e,t,r){"use strict";for(var n="qpzry9x8gf2tvdw0s3jn54khce6mua7l",o={},i=0;i>25;return(33554431&e)<<5^996825010&-(t>>0&1)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function c(e){for(var t=1,r=0;r126)return"Invalid prefix ("+e+")";t=a(t)^n>>5}for(t=a(t),r=0;rt)return"Exceeds length limit";var r=e.toLowerCase(),n=e.toUpperCase();if(e!==r&&e!==n)return"Mixed-case string "+e;var i=(e=r).lastIndexOf("1");if(-1===i)return"No separator character for "+e;if(0===i)return"Missing prefix for "+e;var s=e.slice(0,i),u=e.slice(i+1);if(u.length<6)return"Data too short";var l=c(s);if("string"==typeof l)return l;for(var f=[],d=0;d=u.length||f.push(p)}return 1!==l?"Invalid checksum for "+e:{prefix:s,words:f}}function l(e,t,r,n){for(var o=0,i=0,s=(1<=r;)i-=r,a.push(o>>i&s);if(n)i>0&&a.push(o<=t)return"Excess padding";if(o<r)throw new TypeError("Exceeds length limit");var o=c(e=e.toLowerCase());if("string"==typeof o)throw new Error(o);for(var i=e+"1",s=0;s>5!=0)throw new Error("Non 5-bit word");o=a(o)^u,i+=n.charAt(u)}for(s=0;s<6;++s)o=a(o);for(o^=1,s=0;s<6;++s){i+=n.charAt(o>>5*(5-s)&31)}return i},toWordsUnsafe:function(e){var t=l(e,8,5,!0);if(Array.isArray(t))return t},toWords:function(e){var t=l(e,8,5,!0);if(Array.isArray(t))return t;throw new Error(t)},fromWordsUnsafe:function(e){var t=l(e,5,8,!1);if(Array.isArray(t))return t},fromWords:function(e){var t=l(e,5,8,!1);if(Array.isArray(t))return t;throw new Error(t)}}},function(e,t,r){(function(e){function r(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===r(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===r(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===r(e)},t.isError=function(e){return"[object Error]"===r(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,r(2).Buffer)},function(e,t,r){"use strict";var n=r(49),o=r(32);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=i,i.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var o=0;o>>24&255,n[o++]=e>>>16&255,n[o++]=e>>>8&255,n[o++]=255&e}else for(n[o++]=255&e,n[o++]=e>>>8&255,n[o++]=e>>>16&255,n[o++]=e>>>24&255,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,i=8;i{r[t]=i(e[t])}),r}function s(e){return JSON.stringify(i(e))}t.sortedJsonStringify=s,t.makeSignDoc=function(e,t,r,n,i,s){return{chain_id:r,account_number:o.Uint53.fromString(i.toString()).toString(),sequence:o.Uint53.fromString(s.toString()).toString(),fee:t,msgs:e,memo:n||""}},t.serializeSignDoc=function(e){return n.toUtf8(s(e))}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(351),t),o(r(352),t),o(r(192),t)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(349),t),o(r(191),t),o(r(718),t),o(r(190),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(42),{fromBase64:o,fromHex:i}=n.Encoding;t.isStdTx=function(e){const{memo:t,msg:r,fee:n,signatures:o}=e;return"string"==typeof t&&Array.isArray(r)&&"object"==typeof n&&Array.isArray(o)},t.isMsgSend=function(e){return"cosmos-sdk/MsgSend"===e.type},t.isMsgStoreCode=function(e){return"wasm/MsgStoreCode"===e.type},t.isMsgInstantiateContract=function(e){return"wasm/MsgInstantiateContract"===e.type},t.isMsgExecuteContract=function(e){return"wasm/MsgExecuteContract"===e.type},t.extractContractMsg=function(e){return"wasm/MsgExecuteContract"===e.type?n.Encoding.fromBase64(e.value.msg):n.Encoding.fromBase64(e.value.init_msg)},t.pubkeyType={secp256k1:"tendermint/PubKeySecp256k1",ed25519:"tendermint/PubKeyEd25519",sr25519:"tendermint/PubKeySr25519"},t.pubkeyTypes=[t.pubkeyType.secp256k1,t.pubkeyType.ed25519,t.pubkeyType.sr25519],t.parseWasmData=function({key:e,val:t}){return{key:i(e),val:o(t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(738);t.Bip39=n.Bip39;var o=r(364);t.EnglishMnemonic=o.EnglishMnemonic;var i=r(365);t.Hmac=i.Hmac;var s=r(754);t.Keccak256=s.Keccak256;var a=r(755);t.Xchacha20poly1305Ietf=a.Xchacha20poly1305Ietf,t.Argon2id=a.Argon2id,t.Ed25519=a.Ed25519,t.Ed25519Keypair=a.Ed25519Keypair;var c=r(756);t.Random=c.Random;var u=r(757);t.Ripemd160=u.Ripemd160;var l=r(758);t.Secp256k1=l.Secp256k1;var f=r(366);t.ExtendedSecp256k1Signature=f.ExtendedSecp256k1Signature,t.Secp256k1Signature=f.Secp256k1Signature;var d=r(367);t.Sha1=d.Sha1,t.Sha256=d.Sha256,t.Sha512=d.Sha512;var h=r(759);t.Slip10=h.Slip10,t.Slip10Curve=h.Slip10Curve,t.Slip10RawIndex=h.Slip10RawIndex,t.slip10CurveFromString=h.slip10CurveFromString},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(199),o=r(200);class i{constructor(){this.data=new Uint8Array(i.SIZE)}clear(){o.wipe(this.data)}clone(){const e=new i;return e.copy(this),e}copy(e){this.data.set(e.data)}dbl(){let e=0;for(let t=i.SIZE-1;t>=0;t--){const r=this.data[t]>>>7&255;this.data[t]=this.data[t]<<1|e,e=r}this.data[i.SIZE-1]^=n.select(e,i.R,0),e=0}}i.SIZE=16,i.R=135,t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSONUint8Array=void 0;const n=r(2);class o{static parse(e){return JSON.parse(e,(e,t)=>t&&"string"==typeof t&&t.startsWith("__uint8array__")?new Uint8Array(n.Buffer.from(t.replace("__uint8array__",""),"hex")):t)}static stringify(e){return JSON.stringify(e,(e,t)=>t&&(t instanceof Uint8Array||"object"==typeof t&&"type"in t&&"data"in t&&"Buffer"===t.type&&Array.isArray(t.data))?"__uint8array__"+n.Buffer.from(t).toString("hex"):t)}static wrap(e){if(void 0!==e)return JSON.parse(o.stringify(e))}static unwrap(e){if(void 0!==e)return o.parse(JSON.stringify(e))}}t.JSONUint8Array=o},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(547),t),o(r(567),t),o(r(592),t)},,,,function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Dec=void 0;const o=n(r(233)),i=r(116);class s{constructor(e,t=0){if("string"==typeof e){if(0===e.length)throw new Error("empty string");if(!/^(-?\d+\.\d+)$|^(-?\d+)$/.test(e))throw new Error("invalid decimal: "+e);e.indexOf(".")>=0&&(t=e.length-e.indexOf(".")-1,e=e.replace(".","")),this.int=o.default(e)}else"number"==typeof e?this.int=o.default(e):e instanceof i.Int?this.int=o.default(e.toString()):this.int=o.default(e);this.int=this.int.multiply(s.calcPrecisionMultiplier(o.default(t)))}static calcPrecisionMultiplier(e){if(e.lt(o.default(0)))throw new Error("Invalid prec");if(e.gt(s.precision))throw new Error("Too much precision");if(s.precisionMultipliers[e.toString()])return s.precisionMultipliers[e.toString()];const t=s.precision.minus(e),r=o.default(10).pow(t);return s.precisionMultipliers[e.toString()]=r,r}isZero(){return this.int.eq(o.default(0))}isNegative(){return this.int.isNegative()}isPositive(){return this.int.isPositive()}equals(e){return this.int.eq(e.int)}gt(e){return this.int.gt(e.int)}gte(e){return this.int.geq(e.int)}lt(e){return this.int.lt(e.int)}lte(e){return this.int.leq(e.int)}neg(){return new s(this.int.negate(),s.precision.toJSNumber())}abs(){return new s(this.int.abs(),s.precision.toJSNumber())}add(e){return new s(this.int.add(e.int),s.precision.toJSNumber())}sub(e){return new s(this.int.subtract(e.int),s.precision.toJSNumber())}mul(e){return new s(this.mulRaw(e).chopPrecisionAndRound(),s.precision.toJSNumber())}mulTruncate(e){return new s(this.mulRaw(e).chopPrecisionAndTruncate(),s.precision.toJSNumber())}mulRaw(e){return new s(this.int.multiply(e.int),s.precision.toJSNumber())}quo(e){return new s(this.quoRaw(e).chopPrecisionAndRound(),s.precision.toJSNumber())}quoTruncate(e){return new s(this.quoRaw(e).chopPrecisionAndTruncate(),s.precision.toJSNumber())}quoRoundUp(e){return new s(this.quoRaw(e).chopPrecisionAndRoundUp(),s.precision.toJSNumber())}quoRaw(e){const t=s.calcPrecisionMultiplier(o.default(0)),r=this.int.multiply(t).multiply(t);return new s(r.divide(e.int),s.precision.toJSNumber())}isInteger(){const e=s.calcPrecisionMultiplier(o.default(0));return this.int.remainder(e).equals(o.default(0))}chopPrecisionAndRound(){if(this.isNegative()){return this.abs().chopPrecisionAndRound().negate()}const e=s.calcPrecisionMultiplier(o.default(0)),t=e.divide(o.default(2)),{quotient:r,remainder:n}=this.int.divmod(e);return n.equals(o.default(0))||n.lt(t)?r:n.gt(t)?r.add(o.default(1)):r.divide(o.default(2)).equals(o.default(0))?r:r.add(o.default(1))}chopPrecisionAndRoundUp(){if(this.isNegative()){return this.abs().chopPrecisionAndTruncate().negate()}const e=s.calcPrecisionMultiplier(o.default(0)),{quotient:t,remainder:r}=this.int.divmod(e);return r.equals(o.default(0))?t:t.add(o.default(1))}chopPrecisionAndTruncate(){const e=s.calcPrecisionMultiplier(o.default(0));return this.int.divide(e)}toString(e=s.precision.toJSNumber(),t=!1){const r=s.calcPrecisionMultiplier(o.default(0)),n=this.int.abs(),{quotient:i,remainder:a}=n.divmod(r);let c=a.toString(10);for(let e=0,t=c.length;e0?"."+c:""}`}round(){return new i.Int(this.chopPrecisionAndRound())}roundUp(){return new i.Int(this.chopPrecisionAndRoundUp())}truncate(){return new i.Int(this.chopPrecisionAndTruncate())}}t.Dec=s,s.precision=o.default(18),s.precisionMultipliers={}},function(e,t){e.exports=n;var r=null;try{r=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(e){}function n(e,t,r){this.low=0|e,this.high=0|t,this.unsigned=!!r}function o(e){return!0===(e&&e.__isLong__)}n.prototype.__isLong__,Object.defineProperty(n.prototype,"__isLong__",{value:!0}),n.isLong=o;var i={},s={};function a(e,t){var r,n,o;return t?(o=0<=(e>>>=0)&&e<256)&&(n=s[e])?n:(r=u(e,(0|e)<0?-1:0,!0),o&&(s[e]=r),r):(o=-128<=(e|=0)&&e<128)&&(n=i[e])?n:(r=u(e,e<0?-1:0,!1),o&&(i[e]=r),r)}function c(e,t){if(isNaN(e))return t?b:y;if(t){if(e<0)return b;if(e>=p)return S}else{if(e<=-g)return O;if(e+1>=g)return k}return e<0?c(-e,t).neg():u(e%h|0,e/h|0,t)}function u(e,t,r){return new n(e,t,r)}n.fromInt=a,n.fromNumber=c,n.fromBits=u;var l=Math.pow;function f(e,t,r){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return y;if("number"==typeof t?(r=t,t=!1):t=!!t,(r=r||10)<2||360)throw Error("interior hyphen");if(0===n)return f(e.substring(1),t,r).neg();for(var o=c(l(r,8)),i=y,s=0;s>>0:this.low},j.toNumber=function(){return this.unsigned?(this.high>>>0)*h+(this.low>>>0):this.high*h+(this.low>>>0)},j.toString=function(e){if((e=e||10)<2||36>>0).toString(e);if((i=a).isZero())return u+s;for(;u.length<6;)u="0"+u;s=""+u+s}},j.getHighBits=function(){return this.high},j.getHighBitsUnsigned=function(){return this.high>>>0},j.getLowBits=function(){return this.low},j.getLowBitsUnsigned=function(){return this.low>>>0},j.getNumBitsAbs=function(){if(this.isNegative())return this.eq(O)?64:this.neg().getNumBitsAbs();for(var e=0!=this.high?this.high:this.low,t=31;t>0&&0==(e&1<=0},j.isOdd=function(){return 1==(1&this.low)},j.isEven=function(){return 0==(1&this.low)},j.equals=function(e){return o(e)||(e=d(e)),(this.unsigned===e.unsigned||this.high>>>31!=1||e.high>>>31!=1)&&(this.high===e.high&&this.low===e.low)},j.eq=j.equals,j.notEquals=function(e){return!this.eq(e)},j.neq=j.notEquals,j.ne=j.notEquals,j.lessThan=function(e){return this.comp(e)<0},j.lt=j.lessThan,j.lessThanOrEqual=function(e){return this.comp(e)<=0},j.lte=j.lessThanOrEqual,j.le=j.lessThanOrEqual,j.greaterThan=function(e){return this.comp(e)>0},j.gt=j.greaterThan,j.greaterThanOrEqual=function(e){return this.comp(e)>=0},j.gte=j.greaterThanOrEqual,j.ge=j.greaterThanOrEqual,j.compare=function(e){if(o(e)||(e=d(e)),this.eq(e))return 0;var t=this.isNegative(),r=e.isNegative();return t&&!r?-1:!t&&r?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1},j.comp=j.compare,j.negate=function(){return!this.unsigned&&this.eq(O)?O:this.not().add(v)},j.neg=j.negate,j.add=function(e){o(e)||(e=d(e));var t=this.high>>>16,r=65535&this.high,n=this.low>>>16,i=65535&this.low,s=e.high>>>16,a=65535&e.high,c=e.low>>>16,l=0,f=0,h=0,p=0;return h+=(p+=i+(65535&e.low))>>>16,f+=(h+=n+c)>>>16,l+=(f+=r+a)>>>16,l+=t+s,u((h&=65535)<<16|(p&=65535),(l&=65535)<<16|(f&=65535),this.unsigned)},j.subtract=function(e){return o(e)||(e=d(e)),this.add(e.neg())},j.sub=j.subtract,j.multiply=function(e){if(this.isZero())return y;if(o(e)||(e=d(e)),r)return u(r.mul(this.low,this.high,e.low,e.high),r.get_high(),this.unsigned);if(e.isZero())return y;if(this.eq(O))return e.isOdd()?O:y;if(e.eq(O))return this.isOdd()?O:y;if(this.isNegative())return e.isNegative()?this.neg().mul(e.neg()):this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(m)&&e.lt(m))return c(this.toNumber()*e.toNumber(),this.unsigned);var t=this.high>>>16,n=65535&this.high,i=this.low>>>16,s=65535&this.low,a=e.high>>>16,l=65535&e.high,f=e.low>>>16,h=65535&e.low,p=0,g=0,b=0,v=0;return b+=(v+=s*h)>>>16,g+=(b+=i*h)>>>16,b&=65535,g+=(b+=s*f)>>>16,p+=(g+=n*h)>>>16,g&=65535,p+=(g+=i*f)>>>16,g&=65535,p+=(g+=s*l)>>>16,p+=t*h+n*f+i*l+s*a,u((b&=65535)<<16|(v&=65535),(p&=65535)<<16|(g&=65535),this.unsigned)},j.mul=j.multiply,j.divide=function(e){if(o(e)||(e=d(e)),e.isZero())throw Error("division by zero");var t,n,i;if(r)return this.unsigned||-2147483648!==this.high||-1!==e.low||-1!==e.high?u((this.unsigned?r.div_u:r.div_s)(this.low,this.high,e.low,e.high),r.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?b:y;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return b;if(e.gt(this.shru(1)))return w;i=b}else{if(this.eq(O))return e.eq(v)||e.eq(_)?O:e.eq(O)?v:(t=this.shr(1).div(e).shl(1)).eq(y)?e.isNegative()?v:_:(n=this.sub(e.mul(t)),i=t.add(n.div(e)));if(e.eq(O))return this.unsigned?b:y;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();i=y}for(n=this;n.gte(e);){t=Math.max(1,Math.floor(n.toNumber()/e.toNumber()));for(var s=Math.ceil(Math.log(t)/Math.LN2),a=s<=48?1:l(2,s-48),f=c(t),h=f.mul(e);h.isNegative()||h.gt(n);)h=(f=c(t-=a,this.unsigned)).mul(e);f.isZero()&&(f=v),i=i.add(f),n=n.sub(h)}return i},j.div=j.divide,j.modulo=function(e){return o(e)||(e=d(e)),r?u((this.unsigned?r.rem_u:r.rem_s)(this.low,this.high,e.low,e.high),r.get_high(),this.unsigned):this.sub(this.div(e).mul(e))},j.mod=j.modulo,j.rem=j.modulo,j.not=function(){return u(~this.low,~this.high,this.unsigned)},j.and=function(e){return o(e)||(e=d(e)),u(this.low&e.low,this.high&e.high,this.unsigned)},j.or=function(e){return o(e)||(e=d(e)),u(this.low|e.low,this.high|e.high,this.unsigned)},j.xor=function(e){return o(e)||(e=d(e)),u(this.low^e.low,this.high^e.high,this.unsigned)},j.shiftLeft=function(e){return o(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?u(this.low<>>32-e,this.unsigned):u(0,this.low<>>e|this.high<<32-e,this.high>>e,this.unsigned):u(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},j.shr=j.shiftRight,j.shiftRightUnsigned=function(e){if(o(e)&&(e=e.toInt()),0===(e&=63))return this;var t=this.high;return e<32?u(this.low>>>e|t<<32-e,t>>>e,this.unsigned):u(32===e?t:t>>>e-32,0,this.unsigned)},j.shru=j.shiftRightUnsigned,j.shr_u=j.shiftRightUnsigned,j.toSigned=function(){return this.unsigned?u(this.low,this.high,!1):this},j.toUnsigned=function(){return this.unsigned?this:u(this.low,this.high,!0)},j.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},j.toBytesLE=function(){var e=this.high,t=this.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&e,e>>>8&255,e>>>16&255,e>>>24]},j.toBytesBE=function(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,255&e,t>>>24,t>>>16&255,t>>>8&255,255&t]},n.fromBytes=function(e,t,r){return r?n.fromBytesLE(e,t):n.fromBytesBE(e,t)},n.fromBytesLE=function(e,t){return new n(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)},n.fromBytesBE=function(e,t){return new n(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Secp256k1Wallet=t.Secp256k1HdWallet=t.extractKdfConfiguration=t.executeKdf=t.pubkeyType=t.makeStdTx=t.isWrappedStdTx=t.isStdTx=t.SigningCosmosClient=t.decodeSignature=t.encodeSecp256k1Signature=t.findSequenceForSignedTx=t.encodeSecp256k1Pubkey=t.encodeBech32Pubkey=t.encodeAminoPubkey=t.decodeBech32Pubkey=t.decodeAminoPubkey=t.makeCosmoshubPath=t.isMsgWithdrawValidatorCommission=t.isMsgWithdrawDelegatorReward=t.isMsgUndelegate=t.isMsgSetWithdrawAddress=t.isMsgSend=t.isMsgMultiSend=t.isMsgFundCommunityPool=t.isMsgEditValidator=t.isMsgDelegate=t.isMsgCreateValidator=t.isMsgBeginRedelegate=t.uint64ToString=t.uint64ToNumber=t.setupSupplyExtension=t.setupStakingExtension=t.setupSlashingExtension=t.setupMintExtension=t.setupGovExtension=t.setupDistributionExtension=t.setupBankExtension=t.setupAuthExtension=t.normalizePubkey=t.normalizeLcdApiArray=t.LcdClient=t.BroadcastMode=t.GasPrice=t.buildFeeTable=t.serializeSignDoc=t.makeSignDoc=t.isSearchByTagsQuery=t.isSearchBySentFromOrToQuery=t.isSearchByHeightQuery=t.isBroadcastTxSuccess=t.isBroadcastTxFailure=t.CosmosClient=t.assertIsBroadcastTxSuccess=t.parseCoins=t.coins=t.coin=t.rawSecp256k1PubkeyToAddress=t.pubkeyToAddress=t.logs=void 0;const s=i(r(310));t.logs=s;var a=r(173);Object.defineProperty(t,"pubkeyToAddress",{enumerable:!0,get:function(){return a.pubkeyToAddress}}),Object.defineProperty(t,"rawSecp256k1PubkeyToAddress",{enumerable:!0,get:function(){return a.rawSecp256k1PubkeyToAddress}});var c=r(317);Object.defineProperty(t,"coin",{enumerable:!0,get:function(){return c.coin}}),Object.defineProperty(t,"coins",{enumerable:!0,get:function(){return c.coins}}),Object.defineProperty(t,"parseCoins",{enumerable:!0,get:function(){return c.parseCoins}});var u=r(318);Object.defineProperty(t,"assertIsBroadcastTxSuccess",{enumerable:!0,get:function(){return u.assertIsBroadcastTxSuccess}}),Object.defineProperty(t,"CosmosClient",{enumerable:!0,get:function(){return u.CosmosClient}}),Object.defineProperty(t,"isBroadcastTxFailure",{enumerable:!0,get:function(){return u.isBroadcastTxFailure}}),Object.defineProperty(t,"isBroadcastTxSuccess",{enumerable:!0,get:function(){return u.isBroadcastTxSuccess}}),Object.defineProperty(t,"isSearchByHeightQuery",{enumerable:!0,get:function(){return u.isSearchByHeightQuery}}),Object.defineProperty(t,"isSearchBySentFromOrToQuery",{enumerable:!0,get:function(){return u.isSearchBySentFromOrToQuery}}),Object.defineProperty(t,"isSearchByTagsQuery",{enumerable:!0,get:function(){return u.isSearchByTagsQuery}});var l=r(101);Object.defineProperty(t,"makeSignDoc",{enumerable:!0,get:function(){return l.makeSignDoc}}),Object.defineProperty(t,"serializeSignDoc",{enumerable:!0,get:function(){return l.serializeSignDoc}});var f=r(320);Object.defineProperty(t,"buildFeeTable",{enumerable:!0,get:function(){return f.buildFeeTable}}),Object.defineProperty(t,"GasPrice",{enumerable:!0,get:function(){return f.GasPrice}});var d=r(174);Object.defineProperty(t,"BroadcastMode",{enumerable:!0,get:function(){return d.BroadcastMode}}),Object.defineProperty(t,"LcdClient",{enumerable:!0,get:function(){return d.LcdClient}}),Object.defineProperty(t,"normalizeLcdApiArray",{enumerable:!0,get:function(){return d.normalizeLcdApiArray}}),Object.defineProperty(t,"normalizePubkey",{enumerable:!0,get:function(){return d.normalizePubkey}}),Object.defineProperty(t,"setupAuthExtension",{enumerable:!0,get:function(){return d.setupAuthExtension}}),Object.defineProperty(t,"setupBankExtension",{enumerable:!0,get:function(){return d.setupBankExtension}}),Object.defineProperty(t,"setupDistributionExtension",{enumerable:!0,get:function(){return d.setupDistributionExtension}}),Object.defineProperty(t,"setupGovExtension",{enumerable:!0,get:function(){return d.setupGovExtension}}),Object.defineProperty(t,"setupMintExtension",{enumerable:!0,get:function(){return d.setupMintExtension}}),Object.defineProperty(t,"setupSlashingExtension",{enumerable:!0,get:function(){return d.setupSlashingExtension}}),Object.defineProperty(t,"setupStakingExtension",{enumerable:!0,get:function(){return d.setupStakingExtension}}),Object.defineProperty(t,"setupSupplyExtension",{enumerable:!0,get:function(){return d.setupSupplyExtension}}),Object.defineProperty(t,"uint64ToNumber",{enumerable:!0,get:function(){return d.uint64ToNumber}}),Object.defineProperty(t,"uint64ToString",{enumerable:!0,get:function(){return d.uint64ToString}});var h=r(639);Object.defineProperty(t,"isMsgBeginRedelegate",{enumerable:!0,get:function(){return h.isMsgBeginRedelegate}}),Object.defineProperty(t,"isMsgCreateValidator",{enumerable:!0,get:function(){return h.isMsgCreateValidator}}),Object.defineProperty(t,"isMsgDelegate",{enumerable:!0,get:function(){return h.isMsgDelegate}}),Object.defineProperty(t,"isMsgEditValidator",{enumerable:!0,get:function(){return h.isMsgEditValidator}}),Object.defineProperty(t,"isMsgFundCommunityPool",{enumerable:!0,get:function(){return h.isMsgFundCommunityPool}}),Object.defineProperty(t,"isMsgMultiSend",{enumerable:!0,get:function(){return h.isMsgMultiSend}}),Object.defineProperty(t,"isMsgSend",{enumerable:!0,get:function(){return h.isMsgSend}}),Object.defineProperty(t,"isMsgSetWithdrawAddress",{enumerable:!0,get:function(){return h.isMsgSetWithdrawAddress}}),Object.defineProperty(t,"isMsgUndelegate",{enumerable:!0,get:function(){return h.isMsgUndelegate}}),Object.defineProperty(t,"isMsgWithdrawDelegatorReward",{enumerable:!0,get:function(){return h.isMsgWithdrawDelegatorReward}}),Object.defineProperty(t,"isMsgWithdrawValidatorCommission",{enumerable:!0,get:function(){return h.isMsgWithdrawValidatorCommission}});var p=r(321);Object.defineProperty(t,"makeCosmoshubPath",{enumerable:!0,get:function(){return p.makeCosmoshubPath}});var g=r(175);Object.defineProperty(t,"decodeAminoPubkey",{enumerable:!0,get:function(){return g.decodeAminoPubkey}}),Object.defineProperty(t,"decodeBech32Pubkey",{enumerable:!0,get:function(){return g.decodeBech32Pubkey}}),Object.defineProperty(t,"encodeAminoPubkey",{enumerable:!0,get:function(){return g.encodeAminoPubkey}}),Object.defineProperty(t,"encodeBech32Pubkey",{enumerable:!0,get:function(){return g.encodeBech32Pubkey}}),Object.defineProperty(t,"encodeSecp256k1Pubkey",{enumerable:!0,get:function(){return g.encodeSecp256k1Pubkey}});var m=r(640);Object.defineProperty(t,"findSequenceForSignedTx",{enumerable:!0,get:function(){return m.findSequenceForSignedTx}});var y=r(127);Object.defineProperty(t,"encodeSecp256k1Signature",{enumerable:!0,get:function(){return y.encodeSecp256k1Signature}}),Object.defineProperty(t,"decodeSignature",{enumerable:!0,get:function(){return y.decodeSignature}});var b=r(641);Object.defineProperty(t,"SigningCosmosClient",{enumerable:!0,get:function(){return b.SigningCosmosClient}});var v=r(322);Object.defineProperty(t,"isStdTx",{enumerable:!0,get:function(){return v.isStdTx}}),Object.defineProperty(t,"isWrappedStdTx",{enumerable:!0,get:function(){return v.isWrappedStdTx}}),Object.defineProperty(t,"makeStdTx",{enumerable:!0,get:function(){return v.makeStdTx}});var w=r(126);Object.defineProperty(t,"pubkeyType",{enumerable:!0,get:function(){return w.pubkeyType}});var _=r(323);Object.defineProperty(t,"executeKdf",{enumerable:!0,get:function(){return _.executeKdf}});var k=r(643);Object.defineProperty(t,"extractKdfConfiguration",{enumerable:!0,get:function(){return k.extractKdfConfiguration}}),Object.defineProperty(t,"Secp256k1HdWallet",{enumerable:!0,get:function(){return k.Secp256k1HdWallet}});var S=r(644);Object.defineProperty(t,"Secp256k1Wallet",{enumerable:!0,get:function(){return S.Secp256k1Wallet}})},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Uint=t.Int=void 0;const o=n(r(233));class i{constructor(e,t,r,n){this.int="string"==typeof e?o.default(e,t,r,n):o.default(e)}toString(){return this.int.toString(10)}equals(e){return this.int.equals(e.int)}gt(e){return this.int.gt(e.int)}gte(e){return this.int.greaterOrEquals(e.int)}lt(e){return this.int.lt(e.int)}lte(e){return this.int.lesserOrEquals(e.int)}add(e){return new i(this.int.add(e.int))}sub(e){return new i(this.int.subtract(e.int))}mul(e){return new i(this.int.multiply(e.int))}div(e){return new i(this.int.divide(e.int))}mod(e){return new i(this.int.mod(e.int))}neg(){return new i(this.int.negate())}}t.Int=i;class s{constructor(e,t,r,n){if(this.uint="string"==typeof e?o.default(e,t,r,n):o.default(e),this.uint.isNegative())throw new TypeError("Uint should not be negative")}toString(){return this.uint.toString(10)}equals(e){return this.uint.equals(e.uint)}gt(e){return this.uint.gt(e.uint)}gte(e){return this.uint.greaterOrEquals(e.uint)}lt(e){return this.uint.lt(e.uint)}lte(e){return this.uint.lesserOrEquals(e.uint)}add(e){return new s(this.uint.add(e.uint))}sub(e){return new s(this.uint.subtract(e.uint))}mul(e){return new s(this.uint.multiply(e.uint))}div(e){return new s(this.uint.divide(e.uint))}mod(e){return new s(this.uint.mod(e.uint))}}t.Uint=s},function(e,t,r){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,n=u(e),s=n[0],a=n[1],c=new i(function(e,t,r){return 3*(t+r)/4-r}(0,s,a)),l=0,f=a>0?s-4:s;for(r=0;r>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===a&&(t=o[e.charCodeAt(r)]<<2|o[e.charCodeAt(r+1)]>>4,c[l++]=255&t);1===a&&(t=o[e.charCodeAt(r)]<<10|o[e.charCodeAt(r+1)]<<4|o[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],s=0,a=r-o;sa?a:s+16383));1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")};for(var n=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=s.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,r){for(var o,i,s=[],a=t;a>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return s.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=i(r(113)),a=i(r(48));a.default.util.Long=s.default,a.default.configure(),o(r(442),t)},function(e,t,r){"use strict";(function(t){void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,r,n,o){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,s,a=arguments.length;switch(a){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,r)}));case 3:return t.nextTick((function(){e.call(null,r,n)}));case 4:return t.nextTick((function(){e.call(null,r,n,o)}));default:for(i=new Array(a-1),s=0;sr)?t=("rmd160"===e?new c:u(e)).update(t).digest():t.length>>24]^l[p>>>16&255]^f[g>>>8&255]^d[255&m]^t[y++],s=u[p>>>24]^l[g>>>16&255]^f[m>>>8&255]^d[255&h]^t[y++],a=u[g>>>24]^l[m>>>16&255]^f[h>>>8&255]^d[255&p]^t[y++],c=u[m>>>24]^l[h>>>16&255]^f[p>>>8&255]^d[255&g]^t[y++],h=i,p=s,g=a,m=c;return i=(n[h>>>24]<<24|n[p>>>16&255]<<16|n[g>>>8&255]<<8|n[255&m])^t[y++],s=(n[p>>>24]<<24|n[g>>>16&255]<<16|n[m>>>8&255]<<8|n[255&h])^t[y++],a=(n[g>>>24]<<24|n[m>>>16&255]<<16|n[h>>>8&255]<<8|n[255&p])^t[y++],c=(n[m>>>24]<<24|n[h>>>16&255]<<16|n[p>>>8&255]<<8|n[255&g])^t[y++],[i>>>=0,s>>>=0,a>>>=0,c>>>=0]}var a=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],o=[[],[],[],[]],i=[[],[],[],[]],s=0,a=0,c=0;c<256;++c){var u=a^a<<1^a<<2^a<<3^a<<4;u=u>>>8^255&u^99,r[s]=u,n[u]=s;var l=e[s],f=e[l],d=e[f],h=257*e[u]^16843008*u;o[0][s]=h<<24|h>>>8,o[1][s]=h<<16|h>>>16,o[2][s]=h<<8|h>>>24,o[3][s]=h,h=16843009*d^65537*f^257*l^16843008*s,i[0][u]=h<<24|h>>>8,i[1][u]=h<<16|h>>>16,i[2][u]=h<<8|h>>>24,i[3][u]=h,0===s?s=a=1:(s=l^e[e[e[d^l]]],a^=e[e[a]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:o,INV_SUB_MIX:i}}();function u(e){this._key=o(e),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),o=[],i=0;i>>24,s=c.SBOX[s>>>24]<<24|c.SBOX[s>>>16&255]<<16|c.SBOX[s>>>8&255]<<8|c.SBOX[255&s],s^=a[i/t|0]<<24):t>6&&i%t==4&&(s=c.SBOX[s>>>24]<<24|c.SBOX[s>>>16&255]<<16|c.SBOX[s>>>8&255]<<8|c.SBOX[255&s]),o[i]=o[i-t]^s}for(var u=[],l=0;l>>24]]^c.INV_SUB_MIX[1][c.SBOX[d>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[d>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&d]]}this._nRounds=r,this._keySchedule=o,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(e){return s(e=o(e),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},u.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=n.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},u.prototype.decryptBlock=function(e){var t=(e=o(e))[1];e[1]=e[3],e[3]=t;var r=s(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),i=n.allocUnsafe(16);return i.writeUInt32BE(r[0],0),i.writeUInt32BE(r[3],4),i.writeUInt32BE(r[2],8),i.writeUInt32BE(r[1],12),i},u.prototype.scrub=function(){i(this._keySchedule),i(this._invKeySchedule),i(this._key)},e.exports.AES=u},function(e,t,r){var n=r(7).Buffer,o=r(156);e.exports=function(e,t,r,i){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var s=r/8,a=n.alloc(s),c=n.alloc(i||0),u=n.alloc(0);s>0||i>0;){var l=new o;l.update(u),l.update(e),t&&l.update(t),u=l.digest();var f=0;if(s>0){var d=a.length-s;f=Math.min(s,u.length),u.copy(a,d,0,f),s-=f}if(f0){var h=c.length-i,p=Math.min(i,u.length-f);u.copy(c,h,f,f+p),i-=p}}return u.fill(0),{key:a,iv:c}}},function(e,t,r){"use strict";var n=r(6),o=r(33),i=o.getNAF,s=o.getJSF,a=o.assert;function c(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){a(e.precomputed);var r=e._getDoubles(),n=i(t,1,this._bitLength),o=(1<=c;t--)u=(u<<1)+n[t];s.push(u)}for(var l=this.jpoint(null,null,null),f=this.jpoint(null,null,null),d=o;d>0;d--){for(c=0;c=0;u--){for(t=0;u>=0&&0===s[u];u--)t++;if(u>=0&&t++,c=c.dblp(t),u<0)break;var l=s[u];a(0!==l),c="affine"===e.type?l>0?c.mixedAdd(o[l-1>>1]):c.mixedAdd(o[-l-1>>1].neg()):l>0?c.add(o[l-1>>1]):c.add(o[-l-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,r,n,o){for(var a=this._wnafT1,c=this._wnafT2,u=this._wnafT3,l=0,f=0;f=1;f-=2){var h=f-1,p=f;if(1===a[h]&&1===a[p]){var g=[t[h],null,null,t[p]];0===t[h].y.cmp(t[p].y)?(g[1]=t[h].add(t[p]),g[2]=t[h].toJ().mixedAdd(t[p].neg())):0===t[h].y.cmp(t[p].y.redNeg())?(g[1]=t[h].toJ().mixedAdd(t[p]),g[2]=t[h].add(t[p].neg())):(g[1]=t[h].toJ().mixedAdd(t[p]),g[2]=t[h].toJ().mixedAdd(t[p].neg()));var m=[-3,-1,-5,-7,0,7,5,1,3],y=s(r[h],r[p]);l=Math.max(y[0].length,l),u[h]=new Array(l),u[p]=new Array(l);for(var b=0;b=0;f--){for(var S=0;f>=0;){var O=!0;for(b=0;b=0&&S++,_=_.dblp(S),f<0)break;for(b=0;b0?j=c[b][E-1>>1]:E<0&&(j=c[b][-E-1>>1].neg()),_="affine"===j.type?_.mixedAdd(j):_.add(j))}}for(f=0;f=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,o=0;oconsole.error("SEMVER",...e):()=>{};e.exports=r}).call(this,r(13))},function(e,t){const r=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{}},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>n(e,t,r)>0},function(e,t,r){const n=Symbol("SemVer ANY");class o{static get ANY(){return n}constructor(e,t){if(t=i(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}u("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(e){const t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new l(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new f(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new f(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),n=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=c(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),u=c(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||n||i&&s||a||u}}e.exports=o;const i=r(133),{re:s,t:a}=r(84),c=r(347),u=r(132),l=r(24),f=r(41)},function(e,t,r){const n=r(41);e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DecProto=t.IntProto=t.DecCoin=t.Coin=t.protobufPackage=void 0;const o=n(r(48));t.protobufPackage="cosmos.base.v1beta1";const i={denom:"",amount:""};t.Coin={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).string(e.denom),t.uint32(18).string(e.amount),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},i);for(;r.pos>>3){case 1:s.denom=r.string();break;case 2:s.amount=r.string();break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},i);return void 0!==e.denom&&null!==e.denom?t.denom=String(e.denom):t.denom="",void 0!==e.amount&&null!==e.amount?t.amount=String(e.amount):t.amount="",t},fromPartial(e){const t=Object.assign({},i);return void 0!==e.denom&&null!==e.denom?t.denom=e.denom:t.denom="",void 0!==e.amount&&null!==e.amount?t.amount=e.amount:t.amount="",t},toJSON(e){const t={};return void 0!==e.denom&&(t.denom=e.denom),void 0!==e.amount&&(t.amount=e.amount),t}};const s={denom:"",amount:""};t.DecCoin={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).string(e.denom),t.uint32(18).string(e.amount),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const i=Object.assign({},s);for(;r.pos>>3){case 1:i.denom=r.string();break;case 2:i.amount=r.string();break;default:r.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},s);return void 0!==e.denom&&null!==e.denom?t.denom=String(e.denom):t.denom="",void 0!==e.amount&&null!==e.amount?t.amount=String(e.amount):t.amount="",t},fromPartial(e){const t=Object.assign({},s);return void 0!==e.denom&&null!==e.denom?t.denom=e.denom:t.denom="",void 0!==e.amount&&null!==e.amount?t.amount=e.amount:t.amount="",t},toJSON(e){const t={};return void 0!==e.denom&&(t.denom=e.denom),void 0!==e.amount&&(t.amount=e.amount),t}};const a={int:""};t.IntProto={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).string(e.int),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const i=Object.assign({},a);for(;r.pos>>3){case 1:i.int=r.string();break;default:r.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},a);return void 0!==e.int&&null!==e.int?t.int=String(e.int):t.int="",t},fromPartial(e){const t=Object.assign({},a);return void 0!==e.int&&null!==e.int?t.int=e.int:t.int="",t},toJSON(e){const t={};return void 0!==e.int&&(t.int=e.int),t}};const c={dec:""};t.DecProto={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).string(e.dec),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const i=Object.assign({},c);for(;r.pos>>3){case 1:i.dec=r.string();break;default:r.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},c);return void 0!==e.dec&&null!==e.dec?t.dec=String(e.dec):t.dec="",t},fromPartial(e){const t=Object.assign({},c);return void 0!==e.dec&&null!==e.dec?t.dec=e.dec:t.dec="",t},toJSON(e){const t={};return void 0!==e.dec&&(t.dec=e.dec),t}}},function(e,t,r){"use strict";(function(e){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Any=t.protobufPackage=void 0;const o=n(r(48));t.protobufPackage="google.protobuf";const i={typeUrl:""};t.Any={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).string(e.typeUrl),t.uint32(18).bytes(e.value),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},i);for(;r.pos>>3){case 1:s.typeUrl=r.string();break;case 2:s.value=r.bytes();break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},i);return void 0!==e.typeUrl&&null!==e.typeUrl?t.typeUrl=String(e.typeUrl):t.typeUrl="",void 0!==e.value&&null!==e.value&&(t.value=function(e){const t=a(e),r=new Uint8Array(t.length);for(let e=0;e{if(void 0!==s)return s;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const a=s.atob||(e=>s.Buffer.from(e,"base64").toString("binary"));const c=s.btoa||(e=>s.Buffer.from(e,"binary").toString("base64"))}).call(this,r(12))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(739);t.Int53=n.Int53,t.Uint32=n.Uint32,t.Uint53=n.Uint53,t.Uint64=n.Uint64,t.Decimal=n.Decimal;var o=r(195);t.fromHex=o.fromHex,t.toHex=o.toHex,t.fromAscii=o.fromAscii,t.toAscii=o.toAscii,t.fromBase64=o.fromBase64,t.toBase64=o.toBase64,t.fromRfc3339=o.fromRfc3339,t.toRfc3339=o.toRfc3339,t.fromUtf8=o.fromUtf8,t.toUtf8=o.toUtf8,t.Bech32=o.Bech32;var i=r(363);t.isNonNullObject=i.isNonNullObject,t.isUint8Array=i.isUint8Array;var s=r(751);t.isJsonCompatibleValue=s.isJsonCompatibleValue,t.isJsonCompatibleDictionary=s.isJsonCompatibleDictionary,t.isJsonCompatibleArray=s.isJsonCompatibleArray;var a=r(752);t.TransactionEncoder=a.TransactionEncoder;var c=r(753);t.Encoding=c.Encoding},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(198),i=r(762),s=r(763);t.WebCryptoProvider=class{constructor(e=window.crypto){this.crypto=e}importBlockCipherKey(e){return n(this,void 0,void 0,(function*(){return i.default.importKey(this.crypto,e)}))}importCTRKey(e){return n(this,void 0,void 0,(function*(){try{return yield s.default.importKey(this.crypto,e)}catch(e){throw e.message.includes("unsupported")?new o.NotImplementedError("WebCryptoProvider: AES-CTR unsupported. Use PolyfillCryptoProvider."):e}}))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){return"undefined"!=typeof window?void 0:r(72)};t.getNodeCrypto=n;var o=function(){if("undefined"!=typeof window&&window.crypto)return window.crypto.subtle};t.getWebCrypto=o;var i=function(){if("undefined"!=typeof window){if(window.msCrypto)return window.msCrypto.subtle;if(window.crypto)return window.crypto.subtle}};t.getWebCryptoAll=i;var s=function(){if("undefined"!=typeof window){if(window.msCrypto)return window.msCrypto;if(window.crypto)return window.crypto}};t.getRootWebCryptoAll=s;var a=function(){if("undefined"!=typeof window&&window.msCrypto)return window.msCrypto.subtle};t.getMsCrypto=a;var c=function(){var e=o(),t=n(),r=a();return void 0!==t?{name:"nodeCrypto",crypto:t}:void 0!==e&&void 0===r?{name:"webCrypto",crypto:e}:void 0!==r?{name:"msCrypto",crypto:r}:{name:void 0}};t.getCrypto=c,t.default={getNodeCrypto:n,getWebCrypto:o,getMsCrypto:a,getWebCryptoAll:i,getRootWebCryptoAll:s,getCrypto:c}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetSecret20ViewingKey=t.RemoveTokenMsg=t.AddTokenMsg=t.SuggestTokenMsg=t.GetTokensMsg=void 0;const n=r(18),o=r(382);class i extends n.Message{constructor(e){super(),this.chainId=e}static type(){return"get-tokens"}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty")}route(){return o.ROUTE}type(){return i.type()}}t.GetTokensMsg=i;class s extends n.Message{constructor(e,t,r){super(),this.chainId=e,this.contractAddress=t,this.viewingKey=r}static type(){return"suggest-token"}approveExternal(){return!0}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty");if(!this.contractAddress)throw new Error("Contract address is empty")}route(){return o.ROUTE}type(){return s.type()}}t.SuggestTokenMsg=s;class a extends n.Message{constructor(e,t){super(),this.chainId=e,this.currency=t}static type(){return"add-token"}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty")}route(){return o.ROUTE}type(){return a.type()}}t.AddTokenMsg=a;class c extends n.Message{constructor(e,t){super(),this.chainId=e,this.currency=t}static type(){return"remove-token"}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty")}route(){return o.ROUTE}type(){return c.type()}}t.RemoveTokenMsg=c;class u extends n.Message{constructor(e,t){super(),this.chainId=e,this.contractAddress=t}static type(){return"get-secret20-viewing-key"}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty");if(!this.contractAddress)throw new Error("Contract address is empty")}approveExternal(){return!0}route(){return o.ROUTE}type(){return u.type()}}t.GetSecret20ViewingKey=u},function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return s}));var n=r(51),o=r.n(n),i=r(15);class s{constructor(){this.exchangeTimeout=3e4,this.unresponsiveTimeout=15e3,this.deviceModel=null,this._events=new o.a,this.send=async(t,r,n,o,s=e.alloc(0),a=[i.StatusCodes.OK])=>{if(s.length>=256)throw new i.TransportError("data.length exceed 256 bytes limit. Got: "+s.length,"DataLengthTooBig");const c=await this.exchange(e.concat([e.from([t,r,n,o]),e.from([s.length]),s])),u=c.readUInt16BE(c.length-2);if(!a.some(e=>e===u))throw new i.TransportStatusError(u);return c},this.exchangeBusyPromise=void 0,this.exchangeAtomicImpl=async e=>{if(this.exchangeBusyPromise)throw new i.TransportRaceCondition("An action was already pending on the Ledger device. Please deny or reconnect.");let t;const r=new Promise(e=>{t=e});this.exchangeBusyPromise=r;let n=!1;const o=setTimeout(()=>{n=!0,this.emit("unresponsive")},this.unresponsiveTimeout);try{const r=await e();return n&&this.emit("responsive"),r}finally{clearTimeout(o),t&&t(),this.exchangeBusyPromise=null}},this._appAPIlock=null}exchange(e){throw new Error("exchange not implemented")}setScrambleKey(e){}close(){return Promise.resolve()}on(e,t){this._events.on(e,t)}off(e,t){this._events.removeListener(e,t)}emit(e,...t){this._events.emit(e,...t)}setDebugMode(){console.warn("setDebugMode is deprecated. use @ledgerhq/logs instead. No logs are emitted in this anymore.")}setExchangeTimeout(e){this.exchangeTimeout=e}setExchangeUnresponsiveTimeout(e){this.unresponsiveTimeout=e}static create(e=3e3,t){return new Promise((r,n)=>{let o=!1;const s=this.listen({next:t=>{o=!0,s&&s.unsubscribe(),a&&clearTimeout(a),this.open(t.descriptor,e).then(r,n)},error:e=>{a&&clearTimeout(a),n(e)},complete:()=>{a&&clearTimeout(a),o||n(new i.TransportError(this.ErrorMessage_NoDeviceFound,"NoDeviceFound"))}}),a=t?setTimeout(()=>{s.unsubscribe(),n(new i.TransportError(this.ErrorMessage_ListenTimeout,"ListenTimeout"))},t):null})}decorateAppAPIMethods(e,t,r){for(let n of t)e[n]=this.decorateAppAPIMethod(n,e[n],e,r)}decorateAppAPIMethod(e,t,r,n){return async(...o)=>{const{_appAPIlock:s}=this;if(s)return Promise.reject(new i.TransportError("Ledger Device is busy (lock "+s+")","TransportLocked"));try{return this._appAPIlock=e,this.setScrambleKey(n),await t.apply(r,o)}finally{this._appAPIlock=null}}}}s.isSupported=void 0,s.list=void 0,s.listen=void 0,s.open=void 0,s.ErrorMessage_ListenTimeout="No Ledger device found (timeout)",s.ErrorMessage_NoDeviceFound="No Ledger device found"}).call(this,r(2).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(15);function o(t){const r=e.alloc(2);return r.writeUInt16BE(t,0),r}const i={data:e.alloc(0),dataLength:0,sequence:0};var s=(t,r)=>({makeBlocks(n){let i=e.concat([o(n.length),n]);const s=r-5,a=Math.ceil(i.length/s);i=e.concat([i,e.alloc(a*s-i.length+1).fill(0)]);const c=[];for(let r=0;ra&&(s=s.slice(0,a)),{data:s,dataLength:a,sequence:c}},getReducedResult(e){if(e&&e.dataLength===e.data.length)return e.data}});t.default=s}).call(this,r(2).Buffer)},,,,function(e,t,r){(t=e.exports=r(243)).Stream=t,t.Readable=t,t.Writable=r(154),t.Duplex=r(65),t.Transform=r(246),t.PassThrough=r(450)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DecUtils=void 0;const n=r(112);class o{static trim(e){let t="string"==typeof e?e:e.toString();if(t.indexOf(".")<0)return t;for(let e=t.length-1;e>=0&&"0"===t[e];e--)t=t.slice(0,e);return t.length>0&&"."===t[t.length-1]&&(t=t.slice(0,t.length-1)),t}static getPrecisionDec(e){if(o.precisions[e.toString()])return o.precisions[e.toString()];let t=new n.Dec(1);for(let r=0;r-1?n:i.nextTick;b.WritableState=y;var u=Object.create(r(95));u.inherits=r(4);var l={deprecate:r(155)},f=r(244),d=r(153).Buffer,h=o.Uint8Array||function(){};var p,g=r(245);function m(){}function y(e,t){a=a||r(65),e=e||{};var n=t instanceof a;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var o=e.highWaterMark,u=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:n&&(u||0===u)?u:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,o=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,o){--t.pendingcb,r?(i.nextTick(o,n),i.nextTick(O,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(o(n),e._writableState.errorEmitted=!0,e.emit("error",n),O(e,t))}(e,r,n,t,o);else{var s=k(r);s||r.corked||r.bufferProcessing||!r.bufferedRequest||_(e,r),n?c(w,e,r,s,o):w(e,r,s,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function b(e){if(a=a||r(65),!(p.call(b,this)||this instanceof a))return new b(e);this._writableState=new y(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),f.call(this)}function v(e,t,r,n,o,i,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,r?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function w(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),O(e,t)}function _(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,o=new Array(n),i=t.corkedRequestsFree;i.entry=r;for(var a=0,c=!0;r;)o[a]=r,r.isBuf||(c=!1),r=r.next,a+=1;o.allBuffers=c,v(e,t,!0,t.length,o,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new s(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,f=r.callback;if(v(e,t,!1,t.objectMode?1:u.length,u,l,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function k(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function S(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),O(e,t)}))}function O(e,t){var r=k(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(S,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}u.inherits(b,f),y.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(y.prototype,"buffer",{get:l.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(b,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===b&&(e&&e._writableState instanceof y)}})):p=function(e){return e instanceof this},b.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},b.prototype.write=function(e,t,r){var n,o=this._writableState,s=!1,a=!o.objectMode&&(n=e,d.isBuffer(n)||n instanceof h);return a&&!d.isBuffer(e)&&(e=function(e){return d.from(e)}(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof r&&(r=m),o.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),i.nextTick(t,r)}(this,r):(a||function(e,t,r,n){var o=!0,s=!1;return null===r?s=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),i.nextTick(n,s),o=!1),o}(this,o,e,r))&&(o.pendingcb++,s=function(e,t,r,n,o,i){if(!r){var s=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=d.from(t,r));return t}(t,n,o);n!==s&&(r=!0,o="buffer",n=s)}var a=t.objectMode?1:n.length;t.length+=a;var c=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),b.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},b.prototype._writev=null,b.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,O(e,t),r&&(t.finished?i.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),b.prototype.destroy=g.destroy,b.prototype._undestroy=g.undestroy,b.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r(13),r(223).setImmediate,r(12))},function(e,t,r){(function(t){function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,r(12))},function(e,t,r){"use strict";var n=r(4),o=r(250),i=r(7).Buffer,s=new Array(16);function a(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(e,t){return e<>>32-t}function u(e,t,r,n,o,i,s){return c(e+(t&r|~t&n)+o+i|0,s)+t|0}function l(e,t,r,n,o,i,s){return c(e+(t&n|r&~n)+o+i|0,s)+t|0}function f(e,t,r,n,o,i,s){return c(e+(t^r^n)+o+i|0,s)+t|0}function d(e,t,r,n,o,i,s){return c(e+(r^(t|~n))+o+i|0,s)+t|0}n(a,o),a.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,o=this._c,i=this._d;r=u(r,n,o,i,e[0],3614090360,7),i=u(i,r,n,o,e[1],3905402710,12),o=u(o,i,r,n,e[2],606105819,17),n=u(n,o,i,r,e[3],3250441966,22),r=u(r,n,o,i,e[4],4118548399,7),i=u(i,r,n,o,e[5],1200080426,12),o=u(o,i,r,n,e[6],2821735955,17),n=u(n,o,i,r,e[7],4249261313,22),r=u(r,n,o,i,e[8],1770035416,7),i=u(i,r,n,o,e[9],2336552879,12),o=u(o,i,r,n,e[10],4294925233,17),n=u(n,o,i,r,e[11],2304563134,22),r=u(r,n,o,i,e[12],1804603682,7),i=u(i,r,n,o,e[13],4254626195,12),o=u(o,i,r,n,e[14],2792965006,17),r=l(r,n=u(n,o,i,r,e[15],1236535329,22),o,i,e[1],4129170786,5),i=l(i,r,n,o,e[6],3225465664,9),o=l(o,i,r,n,e[11],643717713,14),n=l(n,o,i,r,e[0],3921069994,20),r=l(r,n,o,i,e[5],3593408605,5),i=l(i,r,n,o,e[10],38016083,9),o=l(o,i,r,n,e[15],3634488961,14),n=l(n,o,i,r,e[4],3889429448,20),r=l(r,n,o,i,e[9],568446438,5),i=l(i,r,n,o,e[14],3275163606,9),o=l(o,i,r,n,e[3],4107603335,14),n=l(n,o,i,r,e[8],1163531501,20),r=l(r,n,o,i,e[13],2850285829,5),i=l(i,r,n,o,e[2],4243563512,9),o=l(o,i,r,n,e[7],1735328473,14),r=f(r,n=l(n,o,i,r,e[12],2368359562,20),o,i,e[5],4294588738,4),i=f(i,r,n,o,e[8],2272392833,11),o=f(o,i,r,n,e[11],1839030562,16),n=f(n,o,i,r,e[14],4259657740,23),r=f(r,n,o,i,e[1],2763975236,4),i=f(i,r,n,o,e[4],1272893353,11),o=f(o,i,r,n,e[7],4139469664,16),n=f(n,o,i,r,e[10],3200236656,23),r=f(r,n,o,i,e[13],681279174,4),i=f(i,r,n,o,e[0],3936430074,11),o=f(o,i,r,n,e[3],3572445317,16),n=f(n,o,i,r,e[6],76029189,23),r=f(r,n,o,i,e[9],3654602809,4),i=f(i,r,n,o,e[12],3873151461,11),o=f(o,i,r,n,e[15],530742520,16),r=d(r,n=f(n,o,i,r,e[2],3299628645,23),o,i,e[0],4096336452,6),i=d(i,r,n,o,e[7],1126891415,10),o=d(o,i,r,n,e[14],2878612391,15),n=d(n,o,i,r,e[5],4237533241,21),r=d(r,n,o,i,e[12],1700485571,6),i=d(i,r,n,o,e[3],2399980690,10),o=d(o,i,r,n,e[10],4293915773,15),n=d(n,o,i,r,e[1],2240044497,21),r=d(r,n,o,i,e[8],1873313359,6),i=d(i,r,n,o,e[15],4264355552,10),o=d(o,i,r,n,e[6],2734768916,15),n=d(n,o,i,r,e[13],1309151649,21),r=d(r,n,o,i,e[4],4149444226,6),i=d(i,r,n,o,e[11],3174756917,10),o=d(o,i,r,n,e[2],718787259,15),n=d(n,o,i,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+o|0,this._d=this._d+i|0},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=i.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=a},function(e,t,r){"use strict";var n=r(73).codes.ERR_STREAM_PREMATURE_CLOSE;function o(){}e.exports=function e(t,r,i){if("function"==typeof r)return e(t,null,r);r||(r={}),i=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),o=0;o0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(o,r);return t+=this._buffer(e,t),o},o.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},o.prototype._pad=function(e,t){if(0===t)return!1;for(;t=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function s(e,r){var o=function(e){var t=i(e);return{blinder:t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(r),s=r.modulus.byteLength(),a=new n(e).mul(o.blinder).umod(r.modulus),c=a.toRed(n.mont(r.prime1)),u=a.toRed(n.mont(r.prime2)),l=r.coefficient,f=r.prime1,d=r.prime2,h=c.redPow(r.exponent1).fromRed(),p=u.redPow(r.exponent2).fromRed(),g=h.isub(p).imul(l).umod(f).imul(d);return p.iadd(g).imul(o.unblinder).umod(r.modulus).toArrayLike(t,"be",s)}s.getr=i,e.exports=s}).call(this,r(2).Buffer)},function(e,t,r){"use strict";var n,o=t,i=r(70),s=r(281),a=r(33).assert;function c(e){"short"===e.type?this.curve=new s.short(e):"edwards"===e.type?this.curve=new s.edwards(e):this.curve=new s.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(e,t){Object.defineProperty(o,e,{configurable:!0,enumerable:!0,get:function(){var r=new c(t);return Object.defineProperty(o,e,{configurable:!0,enumerable:!0,value:r}),r}})}o.PresetCurve=c,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r(512)}catch(e){n=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},function(e,t,r){"use strict";(function(t){var n,o=r(2),i=o.Buffer,s={};for(n in o)o.hasOwnProperty(n)&&"SlowBuffer"!==n&&"Buffer"!==n&&(s[n]=o[n]);var a=s.Buffer={};for(n in i)i.hasOwnProperty(n)&&"allocUnsafe"!==n&&"allocUnsafeSlow"!==n&&(a[n]=i[n]);if(s.Buffer.prototype=i.prototype,a.from&&a.from!==Uint8Array.from||(a.from=function(e,t,r){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return i(e,t,r)}),a.alloc||(a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var n=i(e);return t&&0!==t.length?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n}),!s.kStringMaxLength)try{s.kStringMaxLength=t.binding("buffer").kStringMaxLength}catch(e){}s.constants||(s.constants={MAX_LENGTH:s.kMaxLength},s.kStringMaxLength&&(s.constants.MAX_STRING_LENGTH=s.kStringMaxLength)),e.exports=s}).call(this,r(13))},function(e,t,r){"use strict";const n=r(167).Reporter,o=r(99).EncoderBuffer,i=r(99).DecoderBuffer,s=r(32),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function u(e,t,r){const n={};this._baseState=n,n.name=r,n.enc=e,n.parent=t||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}e.exports=u;const l=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];u.prototype.clone=function(){const e=this._baseState,t={};l.forEach((function(r){t[r]=e[r]}));const r=new this.constructor(t.parent);return r._baseState=t,r},u.prototype._wrap=function(){const e=this._baseState;c.forEach((function(t){this[t]=function(){const r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}}),this)},u.prototype._init=function(e){const t=this._baseState;s(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),s.equal(t.children.length,1,"Root node can have only one child")},u.prototype._useArgs=function(e){const t=this._baseState,r=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==r.length&&(s(null===t.children),t.children=r,r.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(s(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;const t={};return Object.keys(e).forEach((function(r){r==(0|r)&&(r|=0);const n=e[r];t[n]=r})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){u.prototype[e]=function(){const t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),a.forEach((function(e){u.prototype[e]=function(){const t=this._baseState,r=Array.prototype.slice.call(arguments);return s(null===t.tag),t.tag=e,this._useArgs(r),this}})),u.prototype.use=function(e){s(e);const t=this._baseState;return s(null===t.use),t.use=e,this},u.prototype.optional=function(){return this._baseState.optional=!0,this},u.prototype.def=function(e){const t=this._baseState;return s(null===t.default),t.default=e,t.optional=!0,this},u.prototype.explicit=function(e){const t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.explicit=e,this},u.prototype.implicit=function(e){const t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.implicit=e,this},u.prototype.obj=function(){const e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},u.prototype.key=function(e){const t=this._baseState;return s(null===t.key),t.key=e,this},u.prototype.any=function(){return this._baseState.any=!0,this},u.prototype.choice=function(e){const t=this._baseState;return s(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},u.prototype.contains=function(e){const t=this._baseState;return s(null===t.use),t.contains=e,this},u.prototype._decode=function(e,t){const r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));let n,o=r.default,s=!0,a=null;if(null!==r.key&&(a=e.enterKey(r.key)),r.optional){let n=null;if(null!==r.explicit?n=r.explicit:null!==r.implicit?n=r.implicit:null!==r.tag&&(n=r.tag),null!==n||r.any){if(s=this._peekTag(e,n,r.any),e.isError(s))return s}else{const n=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),s=!0}catch(e){s=!1}e.restore(n)}}if(r.obj&&s&&(n=e.enterObject()),s){if(null!==r.explicit){const t=this._decodeTag(e,r.explicit);if(e.isError(t))return t;e=t}const n=e.offset;if(null===r.use&&null===r.choice){let t;r.any&&(t=e.save());const n=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(n))return n;r.any?o=e.raw(t):e=n}if(t&&t.track&&null!==r.tag&&t.track(e.path(),n,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),r.any||(o=null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t)),e.isError(o))return o;if(r.any||null!==r.choice||null===r.children||r.children.forEach((function(r){r._decode(e,t)})),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){const n=new i(o);o=this._getUse(r.contains,e._reporterState.obj)._decode(n,t)}}return r.obj&&s&&(o=e.leaveObject(n)),null===r.key||null===o&&!0!==s?null!==a&&e.exitKey(a):e.leaveKey(a,r.key,o),o},u.prototype._decodeGeneric=function(e,t,r){const n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},u.prototype._getUse=function(e,t){const r=this._baseState;return r.useDecoder=this._use(e,t),s(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},u.prototype._decodeChoice=function(e,t){const r=this._baseState;let n=null,o=!1;return Object.keys(r.choice).some((function(i){const s=e.save(),a=r.choice[i];try{const r=a._decode(e,t);if(e.isError(r))return!1;n={type:i,value:r},o=!0}catch(t){return e.restore(s),!1}return!0}),this),o?n:e.error("Choice not matched")},u.prototype._createEncoderBuffer=function(e){return new o(e,this.reporter)},u.prototype._encode=function(e,t,r){const n=this._baseState;if(null!==n.default&&n.default===e)return;const o=this._encodeValue(e,t,r);return void 0===o||this._skipDefault(o,t,r)?void 0:o},u.prototype._encodeValue=function(e,t,r){const o=this._baseState;if(null===o.parent)return o.children[0]._encode(e,t||new n);let i=null;if(this.reporter=t,o.optional&&void 0===e){if(null===o.default)return;e=o.default}let s=null,a=!1;if(o.any)i=this._createEncoderBuffer(e);else if(o.choice)i=this._encodeChoice(e,t);else if(o.contains)s=this._getUse(o.contains,r)._encode(e,t),a=!0;else if(o.children)s=o.children.map((function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");const n=t.enterKey(r._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");const o=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),o}),this).filter((function(e){return e})),s=this._createEncoderBuffer(s);else if("seqof"===o.tag||"setof"===o.tag){if(!o.args||1!==o.args.length)return t.error("Too many args for : "+o.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");const r=this.clone();r._baseState.implicit=null,s=this._createEncoderBuffer(e.map((function(r){const n=this._baseState;return this._getUse(n.args[0],e)._encode(r,t)}),r))}else null!==o.use?i=this._getUse(o.use,r)._encode(e,t):(s=this._encodePrimitive(o.tag,e),a=!0);if(!o.any&&null===o.choice){const e=null!==o.implicit?o.implicit:o.tag,r=null===o.implicit?"universal":"context";null===e?null===o.use&&t.error("Tag could be omitted only for .use()"):null===o.use&&(i=this._encodeComposite(e,a,r,s))}return null!==o.explicit&&(i=this._encodeComposite(o.explicit,!1,"context",i)),i},u.prototype._encodeChoice=function(e,t){const r=this._baseState,n=r.choice[e.type];return n||s(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},u.prototype._encodePrimitive=function(e,t){const r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},u.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},u.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(e)}},function(e,t,r){"use strict";const n=r(4);function o(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function i(e,t){this.path=e,this.rethrow(t)}t.Reporter=o,o.prototype.isError=function(e){return e instanceof i},o.prototype.save=function(){const e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},o.prototype.restore=function(e){const t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},o.prototype.enterKey=function(e){return this._reporterState.path.push(e)},o.prototype.exitKey=function(e){const t=this._reporterState;t.path=t.path.slice(0,e-1)},o.prototype.leaveKey=function(e,t,r){const n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},o.prototype.path=function(){return this._reporterState.path.join("/")},o.prototype.enterObject=function(){const e=this._reporterState,t=e.obj;return e.obj={},t},o.prototype.leaveObject=function(e){const t=this._reporterState,r=t.obj;return t.obj=e,r},o.prototype.error=function(e){let t;const r=this._reporterState,n=e instanceof i;if(t=n?e:new i(r.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},o.prototype.wrapResult=function(e){const t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},n(i,Error),i.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,i),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},function(e,t,r){"use strict";function n(e){const t={};return Object.keys(e).forEach((function(r){(0|r)==r&&(r|=0);const n=e[r];t[n]=r})),t}t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=n(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=n(t.tag)},function(e,t,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(e,t){var r={Array:function(e){return null!=e&&e.constructor===Array},Boolean:function(e){return"boolean"==typeof e},Function:function(e){return"function"==typeof e},Nil:function(e){return null==e},Number:function(e){return"number"==typeof e},Object:function(e){return"object"==typeof e},String:function(e){return"string"==typeof e},"":function(){return!0}};for(var n in r.Null=r.Nil,r)r[n].toJSON=function(e){return e}.bind(null,n);e.exports=r},function(e,t,r){var n,o,i,s,a,c,u,l;e.exports=(l=r(9),o=(n=l).lib,i=o.WordArray,s=o.Hasher,a=n.algo,c=[],u=a.SHA1=s.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],s=r[3],a=r[4],u=0;u<80;u++){if(u<16)c[u]=0|e[t+u];else{var l=c[u-3]^c[u-8]^c[u-14]^c[u-16];c[u]=l<<1|l>>>31}var f=(n<<5|n>>>27)+a+c[u];f+=u<20?1518500249+(o&i|~o&s):u<40?1859775393+(o^i^s):u<60?(o&i|o&s|i&s)-1894007588:(o^i^s)-899497514,a=s,s=i,i=o<<30|o>>>2,o=n,n=f}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=s._createHelper(u),n.HmacSHA1=s._createHmacHelper(u),l.SHA1)},function(e,t,r){var n,o,i,s;e.exports=(n=r(9),i=(o=n).lib.Base,s=o.enc.Utf8,void(o.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=s.parse(t));var r=e.blockSize,n=4*r;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),i=this._iKey=t.clone(),a=o.words,c=i.words,u=0;u=9&&(n=(e[5]<<24)+(e[6]<<16)+(e[7]<<8)+(e[8]<<0)),{return_code:r,error_message:u(r),test_mode:0!==e[0],major:e[1],minor:e[2],patch:e[3],device_locked:1===e[4],target_id:n.toString(16)}}),l));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t){const r=/^[0-9]+$/,n=(e,t)=>{const n=r.test(e),o=r.test(t);return n&&o&&(e=+e,t=+t),e===t?0:n&&!o?-1:o&&!n?1:en(t,e)}},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>0===n(e,t,r)},function(e,t,r){const n=r(24);e.exports=(e,t,r)=>{const o=new n(e,r),i=new n(t,r);return o.compare(i)||o.compareBuild(i)}},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>n(e,t,r)<0},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>n(e,t,r)>=0},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>n(e,t,r)<=0},function(e,t,r){const n=r(24),o=r(135),{ANY:i}=o,s=r(41),a=r(136),c=r(134),u=r(185),l=r(187),f=r(186);e.exports=(e,t,r,d)=>{let h,p,g,m,y;switch(e=new n(e,d),t=new s(t,d),r){case">":h=c,p=l,g=u,m=">",y=">=";break;case"<":h=u,p=f,g=c,m="<",y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,d))return!1;for(let r=0;r{e.semver===i&&(e=new o(">=0.0.0")),s=s||e,a=a||e,h(e.semver,s.semver,d)?s=e:g(e.semver,a.semver,d)&&(a=e)}),s.operator===m||s.operator===y)return!1;if((!a.operator||a.operator===m)&&p(e,a.semver))return!1;if(a.operator===y&&g(e,a.semver))return!1}return!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LedgerSetWebHIDFlagMsg=t.LedgerGetWebHIDFlagMsg=void 0;const n=r(18),o=r(348);class i extends n.Message{static type(){return"ledger-get-webhid-flag"}constructor(){super()}validateBasic(){}route(){return o.ROUTE}type(){return i.type()}}t.LedgerGetWebHIDFlagMsg=i;class s extends n.Message{constructor(e){super(),this.flag=e}static type(){return"ledger-set-webhid-flag"}validateBasic(){if(null==this.flag)throw new Error("Flag is null")}route(){return o.ROUTE}type(){return s.type()}}t.LedgerSetWebHIDFlagMsg=s},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.KeyRing=t.KeyRingStatus=void 0;const o=r(716),i=r(108),s=r(2),a=r(11);var c;!function(e){e[e.NOTLOADED=0]="NOTLOADED",e[e.EMPTY=1]="EMPTY",e[e.LOCKED=2]="LOCKED",e[e.UNLOCKED=3]="UNLOCKED"}(c=t.KeyRingStatus||(t.KeyRingStatus={}));class u{constructor(e,t,r,n){this.embedChainInfos=e,this.kvStore=t,this.ledgerKeeper=r,this.rng=n,this.cached=new Map,this.password="",this.loaded=!1,this.keyStore=null,this.multiKeyStore=[]}get type(){if(this.keyStore){const e=this.keyStore.type;if(null==e)return"mnemonic";if("mnemonic"!==e&&"privateKey"!==e&&"ledger"!==e)throw new Error("Invalid type of key store");return e}return"none"}isLocked(){return null==this.privateKey&&null==this.mnemonic&&null==this.ledgerPublicKey}get privateKey(){return this._privateKey}set privateKey(e){this._privateKey=e,this._mnemonic=void 0,this._ledgerPublicKey=void 0,this.cached=new Map}get mnemonic(){return this._mnemonic}set mnemonic(e){this._mnemonic=e,this._privateKey=void 0,this._ledgerPublicKey=void 0,this.cached=new Map}get ledgerPublicKey(){return this._ledgerPublicKey}set ledgerPublicKey(e){this._mnemonic=void 0,this._privateKey=void 0,this._ledgerPublicKey=e,this.cached=new Map}get status(){return this.loaded?this.keyStore?this.isLocked()?c.LOCKED:c.UNLOCKED:c.EMPTY:c.NOTLOADED}getKeyStoreCoinType(e){if(this.keyStore&&this.keyStore.coinTypeForChain)return this.keyStore.coinTypeForChain[a.ChainIdHelper.parse(e).identifier]}getKey(e,t){return this.loadKey(this.computeKeyStoreCoinType(e,t))}getKeyStoreMeta(e){var t;return this.keyStore&&null!=this.keyStore.meta&&null!==(t=this.keyStore.meta[e])&&void 0!==t?t:""}computeKeyStoreCoinType(e,t){var r;if(!this.keyStore)throw new Error("Key Store is empty");return this.keyStore.coinTypeForChain&&null!==(r=this.keyStore.coinTypeForChain[a.ChainIdHelper.parse(e).identifier])&&void 0!==r?r:t}getKeyFromCoinType(e){return this.loadKey(e)}createMnemonicKey(e,t,r,o){return n(this,void 0,void 0,(function*(){if(this.status!==c.EMPTY)throw new Error("Key ring is not loaded or not empty");this.mnemonic=e,this.keyStore=yield u.CreateMnemonicKeyStore(this.rng,e,t,yield this.assignKeyStoreIdMeta(r),o),this.password=t,this.multiKeyStore.push(this.keyStore),yield this.save()}))}createPrivateKey(e,t,r){return n(this,void 0,void 0,(function*(){if(this.status!==c.EMPTY)throw new Error("Key ring is not loaded or not empty");this.privateKey=e,this.keyStore=yield u.CreatePrivateKeyStore(this.rng,e,t,yield this.assignKeyStoreIdMeta(r)),this.password=t,this.multiKeyStore.push(this.keyStore),yield this.save()}))}createLedgerKey(e,t,r,o){return n(this,void 0,void 0,(function*(){if(this.status!==c.EMPTY)throw new Error("Key ring is not loaded or not empty");this.ledgerPublicKey=yield this.ledgerKeeper.getPublicKey(e,o);const n=yield u.CreateLedgerKeyStore(this.rng,this.ledgerPublicKey,t,yield this.assignKeyStoreIdMeta(r),o);this.password=t,this.keyStore=n,this.multiKeyStore.push(this.keyStore),yield this.save()}))}lock(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");this.mnemonic=void 0,this.privateKey=void 0,this.ledgerPublicKey=void 0,this.password=""}unlock(e){return n(this,void 0,void 0,(function*(){if(!this.keyStore||"none"===this.type)throw new Error("Key ring not initialized");if("mnemonic"===this.type)this.mnemonic=s.Buffer.from(yield o.Crypto.decrypt(this.keyStore,e)).toString();else if("privateKey"===this.type)this.privateKey=s.Buffer.from(s.Buffer.from(yield o.Crypto.decrypt(this.keyStore,e)).toString(),"hex");else{if("ledger"!==this.type)throw new Error("Unexpected type of keyring");this.ledgerPublicKey=s.Buffer.from(s.Buffer.from(yield o.Crypto.decrypt(this.keyStore,e)).toString(),"hex")}this.password=e}))}save(){return n(this,void 0,void 0,(function*(){yield this.kvStore.set("key-store",this.keyStore),yield this.kvStore.set("key-multi-store",this.multiKeyStore)}))}restore(){return n(this,void 0,void 0,(function*(){const e=yield this.kvStore.get("key-store");this.keyStore=e||null;const t=yield this.kvStore.get("key-multi-store");t?this.multiKeyStore=t:(e?(e.meta=yield this.assignKeyStoreIdMeta({}),this.multiKeyStore=[e]):this.multiKeyStore=[],yield this.save());let r=!1;this.keyStore&&("1"!==this.keyStore.version&&"1.1"!==this.keyStore.version||(r=!0,this.updateLegacyKeyStore(this.keyStore)));for(const e of this.multiKeyStore)"1"!==e.version&&"1.1"!==e.version||(r=!0,this.updateLegacyKeyStore(e));r&&(yield this.save()),this.loaded=!0}))}updateLegacyKeyStore(e){e.version="1.2";for(const t of this.embedChainInfos){const r=t.alternativeBIP44s&&t.alternativeBIP44s.length>0?t.alternativeBIP44s[0].coinType:t.bip44.coinType;e.coinTypeForChain=Object.assign(Object.assign({},e.coinTypeForChain),{[a.ChainIdHelper.parse(t.chainId).identifier]:r})}}isKeyStoreCoinTypeSet(e){if(!this.keyStore)throw new Error("Empty key store");return this.keyStore.coinTypeForChain&&void 0!==this.keyStore.coinTypeForChain[a.ChainIdHelper.parse(e).identifier]}setKeyStoreCoinType(e,t){return n(this,void 0,void 0,(function*(){if(!this.keyStore)throw new Error("Empty key store");if(this.keyStore.coinTypeForChain&&void 0!==this.keyStore.coinTypeForChain[a.ChainIdHelper.parse(e).identifier])throw new Error("Coin type already set");this.keyStore.coinTypeForChain=Object.assign(Object.assign({},this.keyStore.coinTypeForChain),{[a.ChainIdHelper.parse(e).identifier]:t});const r=this.multiKeyStore.find(e=>u.getKeyStoreId(e)===u.getKeyStoreId(this.keyStore));r&&(r.coinTypeForChain=Object.assign({},this.keyStore.coinTypeForChain)),yield this.save()}))}deleteKeyRing(e,t){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");if(this.password!==t)throw new Error("Invalid password");const r=this.multiKeyStore[e];if(!r)throw new Error("Empty key store");const n=this.multiKeyStore.slice(0,e).concat(this.multiKeyStore.slice(e+1));return yield o.Crypto.decrypt(r,t),this.keyStore&&u.getKeyStoreId(r)===u.getKeyStoreId(this.keyStore)&&(n.length>0?(yield this.lock(),this.keyStore=n[0],yield this.unlock(t)):(this.keyStore=null,this.mnemonic=void 0,this.privateKey=void 0)),this.multiKeyStore=n,yield this.save(),this.getMultiKeyStoreInfo()}))}updateNameKeyRing(e,t){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");const r=this.multiKeyStore[e];if(!r)throw new Error("Empty key store");return r.meta=Object.assign(Object.assign({},r.meta),{name:t}),this.keyStore&&u.getKeyStoreId(this.keyStore)===u.getKeyStoreId(r)&&(this.keyStore=r),yield this.save(),this.getMultiKeyStoreInfo()}))}loadKey(e){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");if(!this.keyStore)throw new Error("Key Store is empty");if("ledger"===this.keyStore.type){if(!this.ledgerPublicKey)throw new Error("Ledger public key not set");const e=new i.PubKeySecp256k1(this.ledgerPublicKey);return{algo:"secp256k1",pubKey:e.toBytes(),address:e.getAddress(),isNanoLedger:!0}}{const t=this.loadPrivKey(e).getPubKey();return{algo:"secp256k1",pubKey:t.toBytes(),address:t.getAddress(),isNanoLedger:!1}}}loadPrivKey(e){if(this.status!==c.UNLOCKED||"none"===this.type||!this.keyStore)throw new Error("Key ring is not unlocked");const t=u.getKeyStoreBIP44Path(this.keyStore);if("mnemonic"===this.type){const r=`m/44'/${e}'/${t.account}'/${t.change}/${t.addressIndex}`,n=this.cached.get(r);if(n)return new i.PrivKeySecp256k1(n);if(!this.mnemonic)throw new Error("Key store type is mnemonic and it is unlocked. But, mnemonic is not loaded unexpectedly");const o=i.Mnemonic.generateWalletFromMnemonic(this.mnemonic,r);return this.cached.set(r,o),new i.PrivKeySecp256k1(o)}if("privateKey"===this.type){if(!this.privateKey)throw new Error("Key store type is private key and it is unlocked. But, private key is not loaded unexpectedly");return new i.PrivKeySecp256k1(this.privateKey)}throw new Error("Unexpected type of keyring")}sign(e,t,r,o){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");if(!this.keyStore)throw new Error("Key Store is empty");if("ledger"===this.keyStore.type){const t=this.ledgerPublicKey;if(!t)throw new Error("Ledger public key is not initialized");return yield this.ledgerKeeper.sign(e,u.getKeyStoreBIP44Path(this.keyStore),t,o)}{const e=this.computeKeyStoreCoinType(t,r);return this.loadPrivKey(e).sign(o)}}))}showKeyRing(e,t){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");if(this.password!==t)throw new Error("Invalid password");const r=this.multiKeyStore[e];if(!r)throw new Error("Empty key store");return r.type,s.Buffer.from(yield o.Crypto.decrypt(r,t)).toString()}))}get canSetPath(){return"mnemonic"===this.type||"ledger"===this.type}addMnemonicKey(e,t,r){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED||""==this.password)throw new Error("Key ring is locked or not initialized");const n=yield u.CreateMnemonicKeyStore(this.rng,e,this.password,yield this.assignKeyStoreIdMeta(t),r);return this.multiKeyStore.push(n),yield this.save(),this.getMultiKeyStoreInfo()}))}addPrivateKey(e,t){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED||""==this.password)throw new Error("Key ring is locked or not initialized");const r=yield u.CreatePrivateKeyStore(this.rng,e,this.password,yield this.assignKeyStoreIdMeta(t));return this.multiKeyStore.push(r),yield this.save(),this.getMultiKeyStoreInfo()}))}addLedgerKey(e,t,r){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED||""==this.password)throw new Error("Key ring is locked or not initialized");const n=yield this.ledgerKeeper.getPublicKey(e,r),o=yield u.CreateLedgerKeyStore(this.rng,n,this.password,yield this.assignKeyStoreIdMeta(t),r);return this.multiKeyStore.push(o),yield this.save(),this.getMultiKeyStoreInfo()}))}changeKeyStoreFromMultiKeyStore(e){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED||""==this.password)throw new Error("Key ring is locked or not initialized");const t=this.multiKeyStore[e];if(!t)throw new Error("Invalid keystore");return this.keyStore=t,yield this.unlock(this.password),yield this.save(),this.getMultiKeyStoreInfo()}))}getMultiKeyStoreInfo(){const e=[];for(const t of this.multiKeyStore)e.push({version:t.version,type:t.type,meta:t.meta,coinTypeForChain:t.coinTypeForChain,bip44HDPath:t.bip44HDPath,selected:!!this.keyStore&&u.getKeyStoreId(t)===u.getKeyStoreId(this.keyStore)});return e}static CreateMnemonicKeyStore(e,t,r,i,s){return n(this,void 0,void 0,(function*(){return yield o.Crypto.encrypt(e,"mnemonic",t,r,i,s)}))}static CreatePrivateKeyStore(e,t,r,i){return n(this,void 0,void 0,(function*(){return yield o.Crypto.encrypt(e,"privateKey",s.Buffer.from(t).toString("hex"),r,i)}))}static CreateLedgerKeyStore(e,t,r,i,a){return n(this,void 0,void 0,(function*(){return yield o.Crypto.encrypt(e,"ledger",s.Buffer.from(t).toString("hex"),r,i,a)}))}assignKeyStoreIdMeta(e){return n(this,void 0,void 0,(function*(){return Object.assign({},e,{__id__:(yield this.getIncrementalNumber()).toString()})}))}static getKeyStoreId(e){var t;const r=null===(t=e.meta)||void 0===t?void 0:t.__id__;if(!r)throw new Error("Key store's id is empty");return r}static getKeyStoreBIP44Path(e){return e.bip44HDPath?(u.validateBIP44Path(e.bip44HDPath),e.bip44HDPath):{account:0,change:0,addressIndex:0}}static validateBIP44Path(e){if(!Number.isInteger(e.account)||e.account<0)throw new Error("Invalid account in hd path");if(!Number.isInteger(e.change)||0!==e.change&&1!==e.change)throw new Error("Invalid change in hd path");if(!Number.isInteger(e.addressIndex)||e.addressIndex<0)throw new Error("Invalid address index in hd path")}getIncrementalNumber(){return n(this,void 0,void 0,(function*(){let e=yield this.kvStore.get("incrementalNumber");return void 0===e&&(e=0),e++,yield this.kvStore.set("incrementalNumber",e),e}))}}t.KeyRing=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetKeyStoreCoinTypeMsg=t.GetIsKeyStoreCoinTypeSetMsg=t.ChangeKeyRingMsg=t.GetMultiKeyStoreInfoMsg=t.GetKeyRingTypeMsg=t.RequestSignDirectMsg=t.RequestSignAminoMsg=t.GetKeyMsg=t.UnlockKeyRingMsg=t.LockKeyRingMsg=t.AddLedgerKeyMsg=t.AddPrivateKeyMsg=t.CreateLedgerKeyMsg=t.CreatePrivateKeyMsg=t.AddMnemonicKeyMsg=t.CreateMnemonicKeyMsg=t.ShowKeyRingMsg=t.UpdateNameKeyRingMsg=t.DeleteKeyRingMsg=t.RestoreKeyRingMsg=void 0;const n=r(18),o=r(353),i=r(190),s=r(11),a=r(69),c=r(11);class u extends n.Message{static type(){return"restore-keyring"}constructor(){super()}validateBasic(){}route(){return o.ROUTE}type(){return u.type()}}t.RestoreKeyRingMsg=u;class l extends n.Message{constructor(e,t){super(),this.index=e,this.password=t}static type(){return"delete-keyring"}validateBasic(){if(!Number.isInteger(this.index))throw new Error("Invalid index");if(!this.password)throw new Error("password not set")}route(){return o.ROUTE}type(){return l.type()}}t.DeleteKeyRingMsg=l;class f extends n.Message{constructor(e,t){super(),this.index=e,this.name=t}static type(){return"update-name-keyring"}validateBasic(){if(!Number.isInteger(this.index))throw new Error("Invalid index");if(!this.name)throw new Error("name not set")}route(){return o.ROUTE}type(){return f.type()}}t.UpdateNameKeyRingMsg=f;class d extends n.Message{constructor(e,t){super(),this.index=e,this.password=t}static type(){return"show-keyring"}validateBasic(){if(!Number.isInteger(this.index))throw new Error("Invalid index");if(!this.password)throw new Error("password not set")}route(){return o.ROUTE}type(){return d.type()}}t.ShowKeyRingMsg=d;class h extends n.Message{constructor(e,t,r,n){super(),this.mnemonic=e,this.password=t,this.meta=r,this.bip44HDPath=n}static type(){return"create-mnemonic-key"}validateBasic(){if(!this.mnemonic)throw new Error("mnemonic not set");if(!this.password)throw new Error("password not set");try{a.mnemonicToEntropy(this.mnemonic)}catch(e){if("Invalid mnemonic checksum"!==e.message)throw e}i.KeyRing.validateBIP44Path(this.bip44HDPath)}route(){return o.ROUTE}type(){return h.type()}}t.CreateMnemonicKeyMsg=h;class p extends n.Message{constructor(e,t,r){super(),this.mnemonic=e,this.meta=t,this.bip44HDPath=r}static type(){return"add-mnemonic-key"}validateBasic(){if(!this.mnemonic)throw new Error("mnemonic not set");try{a.mnemonicToEntropy(this.mnemonic)}catch(e){if("Invalid mnemonic checksum"!==e.message)throw e}i.KeyRing.validateBIP44Path(this.bip44HDPath)}route(){return o.ROUTE}type(){return p.type()}}t.AddMnemonicKeyMsg=p;class g extends n.Message{constructor(e,t,r){super(),this.privateKey=e,this.password=t,this.meta=r}static type(){return"create-private-key"}validateBasic(){if(!this.privateKey||0===this.privateKey.length)throw new Error("private key not set");if(32!==this.privateKey.length)throw new Error("invalid length of private key");if(!this.password)throw new Error("password not set")}route(){return o.ROUTE}type(){return g.type()}}t.CreatePrivateKeyMsg=g;class m extends n.Message{constructor(e,t,r){super(),this.password=e,this.meta=t,this.bip44HDPath=r}static type(){return"create-ledger-key"}validateBasic(){if(!this.password)throw new Error("password not set");i.KeyRing.validateBIP44Path(this.bip44HDPath)}route(){return o.ROUTE}type(){return m.type()}}t.CreateLedgerKeyMsg=m;class y extends n.Message{constructor(e,t){super(),this.privateKey=e,this.meta=t}static type(){return"add-private-key"}validateBasic(){if(!this.privateKey||0===this.privateKey.length)throw new Error("private key not set");if(32!==this.privateKey.length)throw new Error("invalid length of private key")}route(){return o.ROUTE}type(){return y.type()}}t.AddPrivateKeyMsg=y;class b extends n.Message{constructor(e,t){super(),this.meta=e,this.bip44HDPath=t}static type(){return"add-ledger-key"}validateBasic(){i.KeyRing.validateBIP44Path(this.bip44HDPath)}route(){return o.ROUTE}type(){return b.type()}}t.AddLedgerKeyMsg=b;class v extends n.Message{static type(){return"lock-keyring"}constructor(){super()}validateBasic(){}route(){return o.ROUTE}type(){return v.type()}}t.LockKeyRingMsg=v;class w extends n.Message{constructor(e=""){super(),this.password=e}static type(){return"unlock-keyring"}validateBasic(){if(!this.password)throw new Error("password not set")}route(){return o.ROUTE}type(){return w.type()}}t.UnlockKeyRingMsg=w;class _ extends n.Message{constructor(e){super(),this.chainId=e}static type(){return"get-key"}validateBasic(){if(!this.chainId)throw new Error("chain id not set")}approveExternal(){return!0}route(){return o.ROUTE}type(){return _.type()}}t.GetKeyMsg=_;class k extends n.Message{constructor(e,t,r,n={}){super(),this.chainId=e,this.signer=t,this.signDoc=r,this.signOptions=n}static type(){return"request-sign-amino"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(!this.signer)throw new Error("signer not set");if(s.Bech32Address.validate(this.signer),this.signDoc.chain_id!==this.chainId)throw new Error("Chain id in the message is not matched with the requested chain id");if(!this.signOptions)throw new Error("Sign options are null")}approveExternal(){return!0}route(){return o.ROUTE}type(){return k.type()}}t.RequestSignAminoMsg=k;class S extends n.Message{constructor(e,t,r,n={}){super(),this.chainId=e,this.signer=t,this.signDocBytes=r,this.signOptions=n}static type(){return"request-sign-direct"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(!this.signer)throw new Error("signer not set");s.Bech32Address.validate(this.signer);if(c.cosmos.tx.v1beta1.SignDoc.decode(this.signDocBytes).chainId!==this.chainId)throw new Error("Chain id in the message is not matched with the requested chain id");if(!this.signOptions)throw new Error("Sign options are null")}approveExternal(){return!0}route(){return o.ROUTE}type(){return S.type()}}t.RequestSignDirectMsg=S;class O extends n.Message{static type(){return"get-keyring-type"}constructor(){super()}validateBasic(){}route(){return o.ROUTE}type(){return O.type()}}t.GetKeyRingTypeMsg=O;class j extends n.Message{static type(){return"get-multi-key-store-info"}constructor(){super()}validateBasic(){}route(){return o.ROUTE}type(){return j.type()}}t.GetMultiKeyStoreInfoMsg=j;class E extends n.Message{constructor(e){super(),this.index=e}static type(){return"change-keyring"}validateBasic(){if(this.index<0)throw new Error("Index is negative");if(!Number.isInteger(this.index))throw new Error("Invalid index")}route(){return o.ROUTE}type(){return E.type()}}t.ChangeKeyRingMsg=E;class P extends n.Message{constructor(e,t){super(),this.chainId=e,this.paths=t}static type(){return"get-is-keystore-coin-type-set"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(0===this.paths.length)throw new Error("empty bip44 path list")}route(){return o.ROUTE}type(){return P.type()}}t.GetIsKeyStoreCoinTypeSetMsg=P;class x extends n.Message{constructor(e,t){super(),this.chainId=e,this.coinType=t}static type(){return"set-keystore-coin-type"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(this.coinType<0)throw new Error("coin type can not be negative");if(!Number.isInteger(this.coinType))throw new Error("coin type should be integer")}route(){return o.ROUTE}type(){return x.type()}}t.SetKeyStoreCoinTypeMsg=x},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RemovePermissionOrigin=t.GetPermissionOriginsMsg=t.EnableAccessMsg=void 0;const n=r(18),o=r(354);class i extends n.Message{constructor(e){super(),this.chainIds=e}static type(){return"enable-access"}validateBasic(){if(!this.chainIds||0===this.chainIds.length)throw new Error("chain id not set")}route(){return o.ROUTE}approveExternal(){return!0}type(){return i.type()}}t.EnableAccessMsg=i;class s extends n.Message{constructor(e,t){super(),this.chainId=e,this.permissionType=t}static type(){return"get-permission-origins"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(!this.permissionType)throw new Error("empty permission type")}route(){return o.ROUTE}type(){return s.type()}}t.GetPermissionOriginsMsg=s;class a extends n.Message{constructor(e,t,r){super(),this.chainId=e,this.permissionType=t,this.permissionOrigin=r}static type(){return"remove-permission-origin"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(!this.permissionType)throw new Error("empty permission type");if(!this.permissionOrigin)throw new Error("empty permission origin")}route(){return o.ROUTE}type(){return a.type()}}t.RemovePermissionOrigin=a},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.makeSignBytes=t.makeSignDoc=t.makeAuthInfoBytes=void 0;const o=n(r(113)),i=r(356),s=r(355);t.makeAuthInfoBytes=function(e,t,r,n,a=i.SignMode.SIGN_MODE_DIRECT){const c={signerInfos:e.map(e=>({publicKey:e,modeInfo:{single:{mode:a}},sequence:o.default.fromNumber(n)})),fee:{amount:[...t],gasLimit:o.default.fromNumber(r)}};return s.AuthInfo.encode(s.AuthInfo.fromPartial(c)).finish()},t.makeSignDoc=function(e,t,r,n){return{bodyBytes:e,authInfoBytes:t,chainId:r,accountNumber:o.default.fromNumber(n)}},t.makeSignBytes=function({accountNumber:e,authInfoBytes:t,bodyBytes:r,chainId:n}){const o=s.SignDoc.fromPartial({accountNumber:e,authInfoBytes:t,bodyBytes:r,chainId:n});return s.SignDoc.encode(o).finish()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(42);function o(e){if(!n.isNonNullObject(e))throw new Error("Attribute must be a non-null object");const{key:t,value:r}=e;if("string"!=typeof t||!t)throw new Error("Attribute's key must be a non-empty string");if("string"!=typeof r&&void 0!==r)throw new Error("Attribute's value must be a string or unset");return{key:t,value:r||""}}function i(e){if(!n.isNonNullObject(e))throw new Error("Event must be a non-null object");const{type:t,attributes:r}=e;if("string"!=typeof t||""===t)throw new Error("Event type must be a non-empty string");if(!Array.isArray(r))throw new Error("Event's attributes must be an array");return{type:t,attributes:r.map(o)}}function s(e){if(!n.isNonNullObject(e))throw new Error("Log must be a non-null object");const{msg_index:t,log:r,events:o}=e;if("number"!=typeof t)throw new Error("Log's msg_index must be a number");if("string"!=typeof r)throw new Error("Log's log must be a string");if(!Array.isArray(o))throw new Error("Log's events must be an array");return{msg_index:t,log:r,events:o.map(i)}}t.parseAttribute=o,t.parseEvent=i,t.parseLog=s,t.parseLogs=function(e){if(!Array.isArray(e))throw new Error("Logs must be an array");return e.map(s)},t.findAttribute=function(e,t,r){var n,o;const i=null===(o=null===(n=e.find(()=>!0))||void 0===n?void 0:n.events.find(e=>e.type===t))||void 0===o?void 0:o.attributes.find(e=>e.key===r);if(!i)throw new Error(`Could not find attribute '${r}' in first event of type '${t}' in first log.`);return i}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(742);Object.defineProperty(t,"fromAscii",{enumerable:!0,get:function(){return n.fromAscii}}),Object.defineProperty(t,"toAscii",{enumerable:!0,get:function(){return n.toAscii}});var o=r(743);Object.defineProperty(t,"fromBase64",{enumerable:!0,get:function(){return o.fromBase64}}),Object.defineProperty(t,"toBase64",{enumerable:!0,get:function(){return o.toBase64}});var i=r(744);Object.defineProperty(t,"Bech32",{enumerable:!0,get:function(){return i.Bech32}});var s=r(745);Object.defineProperty(t,"fromHex",{enumerable:!0,get:function(){return s.fromHex}}),Object.defineProperty(t,"toHex",{enumerable:!0,get:function(){return s.toHex}});var a=r(746);Object.defineProperty(t,"fromRfc3339",{enumerable:!0,get:function(){return a.fromRfc3339}}),Object.defineProperty(t,"toRfc3339",{enumerable:!0,get:function(){return a.toRfc3339}});var c=r(747);Object.defineProperty(t,"fromUtf8",{enumerable:!0,get:function(){return c.fromUtf8}}),Object.defineProperty(t,"toUtf8",{enumerable:!0,get:function(){return c.toUtf8}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(42),{toUtf8:o}=n.Encoding;function i(e){if("object"!=typeof e||null===e)return e;if(Array.isArray(e))return e.map(i);return Object.keys(e).sort().reduce((t,r)=>Object.assign(Object.assign({},t),{[r]:i(e[r])}),{})}t.marshalTx=function(e){const t=JSON.stringify(e);return n.Encoding.toUtf8(t)},t.makeSignBytes=function(e,t,r,n,s,a){const c=i({account_number:s.toString(),chain_id:r,fee:t,memo:n,msgs:e,sequence:a.toString()});return o(JSON.stringify(c))}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(42),i=n(r(68)),s=n(r(368));function a(e){return e||[]}var c;function u(e){return void 0!==e.error}function l(e){if(u(e))throw new Error(e.error);return e.result}function f(e){var t;if(null===(t=e.response)||void 0===t?void 0:t.data){let t;const r=e.response.data;throw t=r.error&&"string"==typeof r.error?r.error:"string"==typeof r?r:JSON.stringify(r),new Error(`${t} (HTTP ${e.response.status})`)}throw e}!function(e){e.Block="block",e.Sync="sync",e.Async="async"}(c=t.BroadcastMode||(t.BroadcastMode={}));t.RestClient=class{constructor(e,t=c.Block,r){this.client=i.default.create({baseURL:e,headers:{post:{"Content-Type":"application/json"}}}),this.broadcastMode=t,this.enigmautils=new s.default(e,r),this.codeHashCache=new Map}async get(e){const{data:t}=await this.client.get(e).catch(f);if(null===t)throw new Error("Received null response from server");return t}async post(e,t){if(!o.isNonNullObject(t))throw new Error("Got unexpected type of params. Expected object.");const{data:r}=await this.client.post(e,t).catch(f);if(null===r)throw new Error("Received null response from server");return r}async authAccounts(e){const t="/auth/accounts/"+e,r=await this.get(t);if("cosmos-sdk/Account"!==r.result.type)throw new Error("Unexpected response data format");return r}async blocksLatest(){const e=await this.get("/blocks/latest");if(!e.block)throw new Error("Unexpected response data format");return e}async blocks(e){const t=await this.get("/blocks/"+e);if(!t.block)throw new Error("Unexpected response data format");return t}async nodeInfo(){const e=await this.get("/node_info");if(!e.node_info)throw new Error("Unexpected response data format");return e}async txById(e,t=!0){const r=await this.get("/txs/"+e);if(!r.tx)throw new Error("Unexpected response data format");return t?this.decryptTxsResponse(r):r}async txsQuery(e){const t=await this.get("/txs?"+e);if(!t.txs)throw new Error("Unexpected response data format");const r=t;for(let e=0;e>>8}Object.defineProperty(t,"__esModule",{value:!0}),t.select=function(e,t,r){return~(e-1)&t|e-1&r},t.compare=n,t.equal=function(e,t){return 0!==e.length&&0!==t.length&&0!==n(e,t)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wipe=function(e){for(let t=0;t>5,this.byteCount=this.blockCount<<2,this.outputBlocks=r>>5,this.extraBytes=(31&r)>>3;for(var n=0;n<50;++n)this.s[n]=0}function D(e,t,r){B.call(this,e,t,r)}B.prototype.update=function(e){if(this.finalized)throw new Error("finalize already called");var t,r=typeof e;if("string"!==r){if("object"!==r)throw new Error(s);if(null===e)throw new Error(s);if(d&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||d&&ArrayBuffer.isView(e)))throw new Error(s);t=!0}for(var n,o,i=this.blocks,a=this.byteCount,c=e.length,u=this.blockCount,l=0,f=this.s;l>2]|=e[l]<>2]|=o<>2]|=(192|o>>6)<>2]|=(128|63&o)<=57344?(i[n>>2]|=(224|o>>12)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<>2]|=(240|o>>18)<>2]|=(128|o>>12&63)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<=a){for(this.start=n-a,this.block=i[u],n=0;n>=8);r>0;)o.unshift(r),r=255&(e>>=8),++n;return t?o.push(n):o.unshift(n),this.update(o),o.length},B.prototype.encodeString=function(e){var t,r=typeof e;if("string"!==r){if("object"!==r)throw new Error(s);if(null===e)throw new Error(s);if(d&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||d&&ArrayBuffer.isView(e)))throw new Error(s);t=!0}var n=0,o=e.length;if(t)n=o;else for(var i=0;i=57344?n+=3:(a=65536+((1023&a)<<10|1023&e.charCodeAt(++i)),n+=4)}return n+=this.encode(8*n),this.update(e),n},B.prototype.bytepad=function(e,t){for(var r=this.encode(t),n=0;n>2]|=this.padding[3&t],this.lastByteIndex===this.byteCount)for(e[0]=e[r],t=1;t>4&15]+h[15&e]+h[e>>12&15]+h[e>>8&15]+h[e>>20&15]+h[e>>16&15]+h[e>>28&15]+h[e>>24&15];s%t==0&&(L(r),i=0)}return o&&(e=r[i],a+=h[e>>4&15]+h[15&e],o>1&&(a+=h[e>>12&15]+h[e>>8&15]),o>2&&(a+=h[e>>20&15]+h[e>>16&15])),a},B.prototype.arrayBuffer=function(){this.finalize();var e,t=this.blockCount,r=this.s,n=this.outputBlocks,o=this.extraBytes,i=0,s=0,a=this.outputBits>>3;e=o?new ArrayBuffer(n+1<<2):new ArrayBuffer(a);for(var c=new Uint32Array(e);s>8&255,c[e+2]=t>>16&255,c[e+3]=t>>24&255;a%r==0&&L(n)}return i&&(e=a<<2,t=n[s],c[e]=255&t,i>1&&(c[e+1]=t>>8&255),i>2&&(c[e+2]=t>>16&255)),c},D.prototype=new B,D.prototype.finalize=function(){return this.encode(this.outputBits,!0),B.prototype.finalize.call(this)};var L=function(e){var t,r,n,o,i,s,a,c,u,l,f,d,h,p,g,y,b,v,w,_,k,S,O,j,E,P,x,A,M,I,C,R,T,N,B,D,L,U,q,H,z,F,K,$,V,J,G,W,Q,Z,Y,X,ee,te,re,ne,oe,ie,se,ae,ce,ue,le;for(n=0;n<48;n+=2)o=e[0]^e[10]^e[20]^e[30]^e[40],i=e[1]^e[11]^e[21]^e[31]^e[41],s=e[2]^e[12]^e[22]^e[32]^e[42],a=e[3]^e[13]^e[23]^e[33]^e[43],c=e[4]^e[14]^e[24]^e[34]^e[44],u=e[5]^e[15]^e[25]^e[35]^e[45],l=e[6]^e[16]^e[26]^e[36]^e[46],f=e[7]^e[17]^e[27]^e[37]^e[47],t=(d=e[8]^e[18]^e[28]^e[38]^e[48])^(s<<1|a>>>31),r=(h=e[9]^e[19]^e[29]^e[39]^e[49])^(a<<1|s>>>31),e[0]^=t,e[1]^=r,e[10]^=t,e[11]^=r,e[20]^=t,e[21]^=r,e[30]^=t,e[31]^=r,e[40]^=t,e[41]^=r,t=o^(c<<1|u>>>31),r=i^(u<<1|c>>>31),e[2]^=t,e[3]^=r,e[12]^=t,e[13]^=r,e[22]^=t,e[23]^=r,e[32]^=t,e[33]^=r,e[42]^=t,e[43]^=r,t=s^(l<<1|f>>>31),r=a^(f<<1|l>>>31),e[4]^=t,e[5]^=r,e[14]^=t,e[15]^=r,e[24]^=t,e[25]^=r,e[34]^=t,e[35]^=r,e[44]^=t,e[45]^=r,t=c^(d<<1|h>>>31),r=u^(h<<1|d>>>31),e[6]^=t,e[7]^=r,e[16]^=t,e[17]^=r,e[26]^=t,e[27]^=r,e[36]^=t,e[37]^=r,e[46]^=t,e[47]^=r,t=l^(o<<1|i>>>31),r=f^(i<<1|o>>>31),e[8]^=t,e[9]^=r,e[18]^=t,e[19]^=r,e[28]^=t,e[29]^=r,e[38]^=t,e[39]^=r,e[48]^=t,e[49]^=r,p=e[0],g=e[1],J=e[11]<<4|e[10]>>>28,G=e[10]<<4|e[11]>>>28,A=e[20]<<3|e[21]>>>29,M=e[21]<<3|e[20]>>>29,ae=e[31]<<9|e[30]>>>23,ce=e[30]<<9|e[31]>>>23,F=e[40]<<18|e[41]>>>14,K=e[41]<<18|e[40]>>>14,N=e[2]<<1|e[3]>>>31,B=e[3]<<1|e[2]>>>31,y=e[13]<<12|e[12]>>>20,b=e[12]<<12|e[13]>>>20,W=e[22]<<10|e[23]>>>22,Q=e[23]<<10|e[22]>>>22,I=e[33]<<13|e[32]>>>19,C=e[32]<<13|e[33]>>>19,ue=e[42]<<2|e[43]>>>30,le=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,re=e[4]<<30|e[5]>>>2,D=e[14]<<6|e[15]>>>26,L=e[15]<<6|e[14]>>>26,v=e[25]<<11|e[24]>>>21,w=e[24]<<11|e[25]>>>21,Z=e[34]<<15|e[35]>>>17,Y=e[35]<<15|e[34]>>>17,R=e[45]<<29|e[44]>>>3,T=e[44]<<29|e[45]>>>3,j=e[6]<<28|e[7]>>>4,E=e[7]<<28|e[6]>>>4,ne=e[17]<<23|e[16]>>>9,oe=e[16]<<23|e[17]>>>9,U=e[26]<<25|e[27]>>>7,q=e[27]<<25|e[26]>>>7,_=e[36]<<21|e[37]>>>11,k=e[37]<<21|e[36]>>>11,X=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,$=e[8]<<27|e[9]>>>5,V=e[9]<<27|e[8]>>>5,P=e[18]<<20|e[19]>>>12,x=e[19]<<20|e[18]>>>12,ie=e[29]<<7|e[28]>>>25,se=e[28]<<7|e[29]>>>25,H=e[38]<<8|e[39]>>>24,z=e[39]<<8|e[38]>>>24,S=e[48]<<14|e[49]>>>18,O=e[49]<<14|e[48]>>>18,e[0]=p^~y&v,e[1]=g^~b&w,e[10]=j^~P&A,e[11]=E^~x&M,e[20]=N^~D&U,e[21]=B^~L&q,e[30]=$^~J&W,e[31]=V^~G&Q,e[40]=te^~ne&ie,e[41]=re^~oe&se,e[2]=y^~v&_,e[3]=b^~w&k,e[12]=P^~A&I,e[13]=x^~M&C,e[22]=D^~U&H,e[23]=L^~q&z,e[32]=J^~W&Z,e[33]=G^~Q&Y,e[42]=ne^~ie&ae,e[43]=oe^~se&ce,e[4]=v^~_&S,e[5]=w^~k&O,e[14]=A^~I&R,e[15]=M^~C&T,e[24]=U^~H&F,e[25]=q^~z&K,e[34]=W^~Z&X,e[35]=Q^~Y&ee,e[44]=ie^~ae&ue,e[45]=se^~ce&le,e[6]=_^~S&p,e[7]=k^~O&g,e[16]=I^~R&j,e[17]=C^~T&E,e[26]=H^~F&N,e[27]=z^~K&B,e[36]=Z^~X&$,e[37]=Y^~ee&V,e[46]=ae^~ue&te,e[47]=ce^~le&re,e[8]=S^~p&y,e[9]=O^~g&b,e[18]=R^~j&P,e[19]=T^~E&x,e[28]=F^~N&D,e[29]=K^~B&L,e[38]=X^~$&J,e[39]=ee^~V&G,e[48]=ue^~te&ne,e[49]=le^~re&oe,e[0]^=m[n],e[1]^=m[n+1]};if(l)e.exports=x;else{for(M=0;M=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},r(449),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,r(12))},,,,,,,,,,function(e,t,r){(function(e){var n,o=function(e){"use strict";var t=1e7,r=9007199254740992,n=f(r),i="function"==typeof BigInt;function s(e,t,r,n){return void 0===e?s[0]:void 0!==t&&(10!=+t||r)?q(e,t,r,n):$(e)}function a(e,t){this.value=e,this.sign=t,this.isSmall=!1}function c(e){this.value=e,this.sign=e<0,this.isSmall=!0}function u(e){this.value=e}function l(e){return-r0?Math.floor(e):Math.ceil(e)}function m(e,r){var n,o,i=e.length,s=r.length,a=new Array(i),c=0,u=t;for(o=0;o=u?1:0,a[o]=n-c*u;for(;o0&&a.push(c),a}function y(e,t){return e.length>=t.length?m(e,t):m(t,e)}function b(e,r){var n,o,i=e.length,s=new Array(i),a=t;for(o=0;o0;)s[o++]=r%a,r=Math.floor(r/a);return s}function v(e,t){var r,n,o=e.length,i=t.length,s=new Array(o),a=0;for(r=0;r0;)s[o++]=c%a,c=Math.floor(c/a);return s}function S(e,t){for(var r=[];t-- >0;)r.push(0);return r.concat(e)}function O(e,r,n){return new a(e=0;--r)o=(i=1e7*o+e[r])-(n=g(i/t))*t,a[r]=0|n;return[a,0|o]}function P(e,r){var n,o=$(r);if(i)return[new u(e.value/o.value),new u(e.value%o.value)];var l,m=e.value,y=o.value;if(0===y)throw new Error("Cannot divide by zero");if(e.isSmall)return o.isSmall?[new c(g(m/y)),new c(m%y)]:[s[0],e];if(o.isSmall){if(1===y)return[e,s[0]];if(-1==y)return[e.negate(),s[0]];var b=Math.abs(y);if(b=0;o--){for(n=h-1,b[o+f]!==m&&(n=Math.floor((b[o+f]*h+b[o+f-1])/m)),i=0,s=0,c=v.length,a=0;ac&&(o=1e7*(o+1)),r=Math.ceil(o/i);do{if(x(s=k(t,r),l)<=0)break;r--}while(r);u.push(r),l=v(l,s)}return u.reverse(),[d(u),d(l)]}(m,y))[0];var S=e.sign!==o.sign,O=n[1],j=e.sign;return"number"==typeof l?(S&&(l=-l),l=new c(l)):l=new a(l,S),"number"==typeof O?(j&&(O=-O),O=new c(O)):O=new a(O,j),[l,O]}function x(e,t){if(e.length!==t.length)return e.length>t.length?1:-1;for(var r=e.length-1;r>=0;r--)if(e[r]!==t[r])return e[r]>t[r]?1:-1;return 0}function A(e){var t=e.abs();return!t.isUnit()&&(!!(t.equals(2)||t.equals(3)||t.equals(5))||!(t.isEven()||t.isDivisibleBy(3)||t.isDivisibleBy(5))&&(!!t.lesser(49)||void 0))}function M(e,t){for(var r,n,i,s=e.prev(),a=s,c=0;a.isEven();)a=a.divide(2),c++;e:for(n=0;n=0?n=v(e,t):(n=v(t,e),r=!r),"number"==typeof(n=d(n))?(r&&(n=-n),new c(n)):new a(n,r)}(r,n,this.sign)},a.prototype.minus=a.prototype.subtract,c.prototype.subtract=function(e){var t=$(e),r=this.value;if(r<0!==t.sign)return this.add(t.negate());var n=t.value;return t.isSmall?new c(r-n):w(n,Math.abs(r),r>=0)},c.prototype.minus=c.prototype.subtract,u.prototype.subtract=function(e){return new u(this.value-$(e).value)},u.prototype.minus=u.prototype.subtract,a.prototype.negate=function(){return new a(this.value,!this.sign)},c.prototype.negate=function(){var e=this.sign,t=new c(-this.value);return t.sign=!e,t},u.prototype.negate=function(){return new u(-this.value)},a.prototype.abs=function(){return new a(this.value,!1)},c.prototype.abs=function(){return new c(Math.abs(this.value))},u.prototype.abs=function(){return new u(this.value>=0?this.value:-this.value)},a.prototype.multiply=function(e){var r,n,o,i=$(e),c=this.value,u=i.value,l=this.sign!==i.sign;if(i.isSmall){if(0===u)return s[0];if(1===u)return this;if(-1===u)return this.negate();if((r=Math.abs(u))0?function e(t,r){var n=Math.max(t.length,r.length);if(n<=30)return _(t,r);n=Math.ceil(n/2);var o=t.slice(n),i=t.slice(0,n),s=r.slice(n),a=r.slice(0,n),c=e(i,a),u=e(o,s),l=e(y(i,o),y(a,s)),f=y(y(c,S(v(v(l,c),u),n)),S(u,2*n));return h(f),f}(c,u):_(c,u),l)},a.prototype.times=a.prototype.multiply,c.prototype._multiplyBySmall=function(e){return l(e.value*this.value)?new c(e.value*this.value):O(Math.abs(e.value),f(Math.abs(this.value)),this.sign!==e.sign)},a.prototype._multiplyBySmall=function(e){return 0===e.value?s[0]:1===e.value?this:-1===e.value?this.negate():O(Math.abs(e.value),this.value,this.sign!==e.sign)},c.prototype.multiply=function(e){return $(e)._multiplyBySmall(this)},c.prototype.times=c.prototype.multiply,u.prototype.multiply=function(e){return new u(this.value*$(e).value)},u.prototype.times=u.prototype.multiply,a.prototype.square=function(){return new a(j(this.value),!1)},c.prototype.square=function(){var e=this.value*this.value;return l(e)?new c(e):new a(j(f(Math.abs(this.value))),!1)},u.prototype.square=function(e){return new u(this.value*this.value)},a.prototype.divmod=function(e){var t=P(this,e);return{quotient:t[0],remainder:t[1]}},u.prototype.divmod=c.prototype.divmod=a.prototype.divmod,a.prototype.divide=function(e){return P(this,e)[0]},u.prototype.over=u.prototype.divide=function(e){return new u(this.value/$(e).value)},c.prototype.over=c.prototype.divide=a.prototype.over=a.prototype.divide,a.prototype.mod=function(e){return P(this,e)[1]},u.prototype.mod=u.prototype.remainder=function(e){return new u(this.value%$(e).value)},c.prototype.remainder=c.prototype.mod=a.prototype.remainder=a.prototype.mod,a.prototype.pow=function(e){var t,r,n,o=$(e),i=this.value,a=o.value;if(0===a)return s[1];if(0===i)return s[0];if(1===i)return s[1];if(-1===i)return o.isEven()?s[1]:s[-1];if(o.sign)return s[0];if(!o.isSmall)throw new Error("The exponent "+o.toString()+" is too large.");if(this.isSmall&&l(t=Math.pow(i,a)))return new c(g(t));for(r=this,n=s[1];!0&a&&(n=n.times(r),--a),0!==a;)a/=2,r=r.square();return n},c.prototype.pow=a.prototype.pow,u.prototype.pow=function(e){var t=$(e),r=this.value,n=t.value,o=BigInt(0),i=BigInt(1),a=BigInt(2);if(n===o)return s[1];if(r===o)return s[0];if(r===i)return s[1];if(r===BigInt(-1))return t.isEven()?s[1]:s[-1];if(t.isNegative())return new u(o);for(var c=this,l=s[1];(n&i)===i&&(l=l.times(c),--n),n!==o;)n/=a,c=c.square();return l},a.prototype.modPow=function(e,t){if(e=$(e),(t=$(t)).isZero())throw new Error("Cannot take modPow with modulus 0");var r=s[1],n=this.mod(t);for(e.isNegative()&&(e=e.multiply(s[-1]),n=n.modInv(t));e.isPositive();){if(n.isZero())return s[0];e.isOdd()&&(r=r.multiply(n).mod(t)),e=e.divide(2),n=n.square().mod(t)}return r},u.prototype.modPow=c.prototype.modPow=a.prototype.modPow,a.prototype.compareAbs=function(e){var t=$(e),r=this.value,n=t.value;return t.isSmall?1:x(r,n)},c.prototype.compareAbs=function(e){var t=$(e),r=Math.abs(this.value),n=t.value;return t.isSmall?r===(n=Math.abs(n))?0:r>n?1:-1:-1},u.prototype.compareAbs=function(e){var t=this.value,r=$(e).value;return(t=t>=0?t:-t)===(r=r>=0?r:-r)?0:t>r?1:-1},a.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=$(e),r=this.value,n=t.value;return this.sign!==t.sign?t.sign?1:-1:t.isSmall?this.sign?-1:1:x(r,n)*(this.sign?-1:1)},a.prototype.compareTo=a.prototype.compare,c.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=$(e),r=this.value,n=t.value;return t.isSmall?r==n?0:r>n?1:-1:r<0!==t.sign?r<0?-1:1:r<0?1:-1},c.prototype.compareTo=c.prototype.compare,u.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=this.value,r=$(e).value;return t===r?0:t>r?1:-1},u.prototype.compareTo=u.prototype.compare,a.prototype.equals=function(e){return 0===this.compare(e)},u.prototype.eq=u.prototype.equals=c.prototype.eq=c.prototype.equals=a.prototype.eq=a.prototype.equals,a.prototype.notEquals=function(e){return 0!==this.compare(e)},u.prototype.neq=u.prototype.notEquals=c.prototype.neq=c.prototype.notEquals=a.prototype.neq=a.prototype.notEquals,a.prototype.greater=function(e){return this.compare(e)>0},u.prototype.gt=u.prototype.greater=c.prototype.gt=c.prototype.greater=a.prototype.gt=a.prototype.greater,a.prototype.lesser=function(e){return this.compare(e)<0},u.prototype.lt=u.prototype.lesser=c.prototype.lt=c.prototype.lesser=a.prototype.lt=a.prototype.lesser,a.prototype.greaterOrEquals=function(e){return this.compare(e)>=0},u.prototype.geq=u.prototype.greaterOrEquals=c.prototype.geq=c.prototype.greaterOrEquals=a.prototype.geq=a.prototype.greaterOrEquals,a.prototype.lesserOrEquals=function(e){return this.compare(e)<=0},u.prototype.leq=u.prototype.lesserOrEquals=c.prototype.leq=c.prototype.lesserOrEquals=a.prototype.leq=a.prototype.lesserOrEquals,a.prototype.isEven=function(){return 0==(1&this.value[0])},c.prototype.isEven=function(){return 0==(1&this.value)},u.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},a.prototype.isOdd=function(){return 1==(1&this.value[0])},c.prototype.isOdd=function(){return 1==(1&this.value)},u.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},a.prototype.isPositive=function(){return!this.sign},c.prototype.isPositive=function(){return this.value>0},u.prototype.isPositive=c.prototype.isPositive,a.prototype.isNegative=function(){return this.sign},c.prototype.isNegative=function(){return this.value<0},u.prototype.isNegative=c.prototype.isNegative,a.prototype.isUnit=function(){return!1},c.prototype.isUnit=function(){return 1===Math.abs(this.value)},u.prototype.isUnit=function(){return this.abs().value===BigInt(1)},a.prototype.isZero=function(){return!1},c.prototype.isZero=function(){return 0===this.value},u.prototype.isZero=function(){return this.value===BigInt(0)},a.prototype.isDivisibleBy=function(e){var t=$(e);return!t.isZero()&&(!!t.isUnit()||(0===t.compareAbs(2)?this.isEven():this.mod(t).isZero()))},u.prototype.isDivisibleBy=c.prototype.isDivisibleBy=a.prototype.isDivisibleBy,a.prototype.isPrime=function(e){var t=A(this);if(void 0!==t)return t;var r=this.abs(),n=r.bitLength();if(n<=64)return M(r,[2,3,5,7,11,13,17,19,23,29,31,37]);for(var i=Math.log(2)*n.toJSNumber(),s=Math.ceil(!0===e?2*Math.pow(i,2):i),a=[],c=0;c-r?new c(e-1):new a(n,!0)},u.prototype.prev=function(){return new u(this.value-BigInt(1))};for(var I=[1];2*I[I.length-1]<=t;)I.push(2*I[I.length-1]);var C=I.length,R=I[C-1];function T(e){return Math.abs(e)<=t}function N(e,t,r){t=$(t);for(var n=e.isNegative(),i=t.isNegative(),s=n?e.not():e,a=i?t.not():t,c=0,u=0,l=null,f=null,d=[];!s.isZero()||!a.isZero();)c=(l=P(s,R))[1].toJSNumber(),n&&(c=R-1-c),u=(f=P(a,R))[1].toJSNumber(),i&&(u=R-1-u),s=l[0],a=f[0],d.push(r(c,u));for(var h=0!==r(n?1:0,i?1:0)?o(-1):o(0),p=d.length-1;p>=0;p-=1)h=h.multiply(R).add(o(d[p]));return h}a.prototype.shiftLeft=function(e){var t=$(e).toJSNumber();if(!T(t))throw new Error(String(t)+" is too large for shifting.");if(t<0)return this.shiftRight(-t);var r=this;if(r.isZero())return r;for(;t>=C;)r=r.multiply(R),t-=C-1;return r.multiply(I[t])},u.prototype.shiftLeft=c.prototype.shiftLeft=a.prototype.shiftLeft,a.prototype.shiftRight=function(e){var t,r=$(e).toJSNumber();if(!T(r))throw new Error(String(r)+" is too large for shifting.");if(r<0)return this.shiftLeft(-r);for(var n=this;r>=C;){if(n.isZero()||n.isNegative()&&n.isUnit())return n;n=(t=P(n,R))[1].isNegative()?t[0].prev():t[0],r-=C-1}return(t=P(n,I[r]))[1].isNegative()?t[0].prev():t[0]},u.prototype.shiftRight=c.prototype.shiftRight=a.prototype.shiftRight,a.prototype.not=function(){return this.negate().prev()},u.prototype.not=c.prototype.not=a.prototype.not,a.prototype.and=function(e){return N(this,e,(function(e,t){return e&t}))},u.prototype.and=c.prototype.and=a.prototype.and,a.prototype.or=function(e){return N(this,e,(function(e,t){return e|t}))},u.prototype.or=c.prototype.or=a.prototype.or,a.prototype.xor=function(e){return N(this,e,(function(e,t){return e^t}))},u.prototype.xor=c.prototype.xor=a.prototype.xor;function B(e){var r=e.value,n="number"==typeof r?r|1<<30:"bigint"==typeof r?r|BigInt(1<<30):r[0]+r[1]*t|1073758208;return n&-n}function D(e,t){return e=$(e),t=$(t),e.greater(t)?e:t}function L(e,t){return e=$(e),t=$(t),e.lesser(t)?e:t}function U(e,t){if(e=$(e).abs(),t=$(t).abs(),e.equals(t))return e;if(e.isZero())return t;if(t.isZero())return e;for(var r,n,o=s[1];e.isEven()&&t.isEven();)r=L(B(e),B(t)),e=e.divide(r),t=t.divide(r),o=o.multiply(r);for(;e.isEven();)e=e.divide(B(e));do{for(;t.isEven();)t=t.divide(B(t));e.greater(t)&&(n=t,t=e,e=n),t=t.subtract(e)}while(!t.isZero());return o.isUnit()?e:e.multiply(o)}a.prototype.bitLength=function(){var e=this;return e.compareTo(o(0))<0&&(e=e.negate().subtract(o(1))),0===e.compareTo(o(0))?o(0):o(function e(t,r){if(r.compareTo(t)<=0){var n=e(t,r.square(r)),i=n.p,s=n.e,a=i.multiply(r);return a.compareTo(t)<=0?{p:a,e:2*s+1}:{p:i,e:2*s}}return{p:o(1),e:0}}(e,o(2)).e).add(o(1))},u.prototype.bitLength=c.prototype.bitLength=a.prototype.bitLength;var q=function(e,t,r,n){r=r||"0123456789abcdefghijklmnopqrstuvwxyz",e=String(e),n||(e=e.toLowerCase(),r=r.toLowerCase());var o,i=e.length,s=Math.abs(t),a={};for(o=0;o=s)){if("1"===l&&1===s)continue;throw new Error(l+" is not a valid digit in base "+t+".")}}t=$(t);var c=[],u="-"===e[0];for(o=u?1:0;o"!==e[o]&&o=0;n--)o=o.add(e[n].times(i)),i=i.times(t);return r?o.negate():o}function z(e,t){if((t=o(t)).isZero()){if(e.isZero())return{value:[0],isNegative:!1};throw new Error("Cannot convert nonzero numbers to base 0.")}if(t.equals(-1)){if(e.isZero())return{value:[0],isNegative:!1};if(e.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-e.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var r=Array.apply(null,Array(e.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return r.unshift([1]),{value:[].concat.apply([],r),isNegative:!1}}var n=!1;if(e.isNegative()&&t.isPositive()&&(n=!0,e=e.abs()),t.isUnit())return e.isZero()?{value:[0],isNegative:!1}:{value:Array.apply(null,Array(e.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:n};for(var i,s=[],a=e;a.isNegative()||a.compareAbs(t)>=0;){i=a.divmod(t),a=i.quotient;var c=i.remainder;c.isNegative()&&(c=t.minus(c).abs(),a=a.next()),s.push(c.toJSNumber())}return s.push(a.toJSNumber()),{value:s.reverse(),isNegative:n}}function F(e,t,r){var n=z(e,t);return(n.isNegative?"-":"")+n.value.map((function(e){return function(e,t){return e<(t=t||"0123456789abcdefghijklmnopqrstuvwxyz").length?t[e]:"<"+e+">"}(e,r)})).join("")}function K(e){if(l(+e)){var t=+e;if(t===g(t))return i?new u(BigInt(t)):new c(t);throw new Error("Invalid integer: "+e)}var r="-"===e[0];r&&(e=e.slice(1));var n=e.split(/e/i);if(n.length>2)throw new Error("Invalid integer: "+n.join("e"));if(2===n.length){var o=n[1];if("+"===o[0]&&(o=o.slice(1)),(o=+o)!==g(o)||!l(o))throw new Error("Invalid integer: "+o+" is not a valid exponent.");var s=n[0],f=s.indexOf(".");if(f>=0&&(o-=s.length-f-1,s=s.slice(0,f)+s.slice(f+1)),o<0)throw new Error("Cannot include negative exponent part for integers");e=s+=new Array(o+1).join("0")}if(!/^([0-9][0-9]*)$/.test(e))throw new Error("Invalid integer: "+e);if(i)return new u(BigInt(r?"-"+e:e));for(var d=[],p=e.length,m=p-7;p>0;)d.push(+e.slice(m,p)),(m-=7)<0&&(m=0),p-=7;return h(d),new a(d,r)}function $(e){return"number"==typeof e?function(e){if(i)return new u(BigInt(e));if(l(e)){if(e!==g(e))throw new Error(e+" is not an integer.");return new c(e)}return K(e.toString())}(e):"string"==typeof e?K(e):"bigint"==typeof e?new u(e):e}a.prototype.toArray=function(e){return z(this,e)},c.prototype.toArray=function(e){return z(this,e)},u.prototype.toArray=function(e){return z(this,e)},a.prototype.toString=function(e,t){if(void 0===e&&(e=10),10!==e)return F(this,e,t);for(var r,n=this.value,o=n.length,i=String(n[--o]);--o>=0;)r=String(n[o]),i+="0000000".slice(r.length)+r;return(this.sign?"-":"")+i},c.prototype.toString=function(e,t){return void 0===e&&(e=10),10!=e?F(this,e,t):String(this.value)},u.prototype.toString=c.prototype.toString,u.prototype.toJSON=a.prototype.toJSON=c.prototype.toJSON=function(){return this.toString()},a.prototype.valueOf=function(){return parseInt(this.toString(),10)},a.prototype.toJSNumber=a.prototype.valueOf,c.prototype.valueOf=function(){return this.value},c.prototype.toJSNumber=c.prototype.valueOf,u.prototype.valueOf=u.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};for(var V=0;V<1e3;V++)s[V]=$(V),V>0&&(s[-V]=$(-V));return s.one=s[1],s.zero=s[0],s.minusOne=s[-1],s.max=D,s.min=L,s.gcd=U,s.lcm=function(e,t){return e=$(e).abs(),t=$(t).abs(),e.divide(U(e,t)).multiply(t)},s.isInstance=function(e){return e instanceof a||e instanceof c||e instanceof u},s.randBetween=function(e,r,n){e=$(e),r=$(r);var o=n||Math.random,i=L(e,r),a=D(e,r).subtract(i).add(1);if(a.isSmall)return i.add(Math.floor(o()*a));for(var c=z(a,t).value,u=[],l=!0,f=0;fnew n.Coin(e.denom,e.amount))}static amountOf(e,t){const r=e.find(e=>e.denom===t);return r?r.amount:new o.Int(0)}static exclude(e,t){return e.filter(e=>0===t.indexOf(e.denom))}static concat(...e){if(0===e.length)return[];return e.slice().reduce((e,t)=>{const r=e.find(e=>e.denom===t.denom);if(r){const o=new n.Coin(r.denom,r.amount.add(t.amount));e.push(o)}else{const r=new n.Coin(t.denom,t.amount);e.push(r)}return e},[])}static getCoinFromDecimals(e,t,r){const o=e.find(e=>e.coinDenom===r);if(!o)throw new Error("Invalid currency");let s=new i.Dec(1);for(let e=0;ee.coinMinimalDenom===t.denom);r||(r={coinDecimals:0,coinDenom:t.denom,coinMinimalDenom:t.denom});let n=new i.Dec(1);for(let e=0;e0?".":"")+f}static coinToTrimmedString(e,t,r=" "){const n=new i.Dec(e.amount).quoTruncate(s.DecUtils.getPrecisionDec(t.coinDecimals));return`${s.DecUtils.trim(n)}${r}${t.coinDenom}`}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Coin=void 0;const n=r(116);class o{constructor(e,t){this.denom=e,this.amount=t instanceof n.Int?t:new n.Int(t)}static parse(e){const t=new RegExp("([0-9]+)[ ]*([a-zA-Z]+)").exec(e);if(!t||3!==t.length)throw new Error("Invalid coin str");const r=t[2],n=t[1];return new o(r,n)}toString(){return`${this.amount.toString()}${this.denom}`}}t.Coin=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TendermintTxTracer=void 0;const n=r(425),o=r(2);t.TendermintTxTracer=class{constructor(e,t,r={}){this.url=e,this.wsEndpoint=t,this.options=r,this.newBlockSubscribes=[],this.txSubscribes=new Map,this.pendingQueries=new Map,this.listeners={},this.onOpen=e=>{var t;this.newBlockSubscribes.length>0&&this.sendSubscribeBlockRpc();for(const[e,t]of this.txSubscribes)this.sendSubscribeTxRpc(e,t.hash);for(const[e,t]of this.pendingQueries)this.sendQueryRpc(e,t.method,t.params);for(const r of null!==(t=this.listeners.open)&&void 0!==t?t:[])r(e)},this.onMessage=e=>{var t,r,n,o,i;for(const r of null!==(t=this.listeners.message)&&void 0!==t?t:[])r(e);if(e.data)try{const t=JSON.parse(e.data);if((null==t?void 0:t.id)&&this.pendingQueries.has(t.id)&&(t.error?this.pendingQueries.get(t.id).rejector(new Error(t.error.data||t.error.message)):this.pendingQueries.get(t.id).resolver(t.result),this.pendingQueries.delete(t.id)),"tendermint/event/NewBlock"===(null===(n=null===(r=null==t?void 0:t.result)||void 0===r?void 0:r.data)||void 0===n?void 0:n.type))for(const e of this.newBlockSubscribes)e.handler(t.result.data.value);"tendermint/event/Tx"===(null===(i=null===(o=null==t?void 0:t.result)||void 0===o?void 0:o.data)||void 0===i?void 0:i.type)&&(null==t?void 0:t.id)&&this.txSubscribes.has(t.id)&&(t.error?this.txSubscribes.get(t.id).rejector(new Error(t.error.data||t.error.message)):this.txSubscribes.get(t.id).resolver(t.result.data.value.TxResult.result),this.txSubscribes.delete(t.id))}catch(e){console.log("Tendermint websocket jsonrpc response is not JSON: "+(e.message||e.toString()))}},this.onClose=e=>{var t;for(const r of null!==(t=this.listeners.close)&&void 0!==t?t:[])r(e)},this.ws=this.options.wsObject?new this.options.wsObject(this.getWsEndpoint()):new WebSocket(this.getWsEndpoint()),this.ws.onopen=this.onOpen,this.ws.onmessage=this.onMessage,this.ws.onclose=this.onClose}getWsEndpoint(){let e=this.url;if(e.startsWith("http")&&(e=e.replace("http","ws")),!e.endsWith(this.wsEndpoint)){const t=this.wsEndpoint.startsWith("/")?this.wsEndpoint:"/"+this.wsEndpoint;e=e.endsWith("/")?e+t.slice(1):e+t}return e}close(){this.ws.close()}get readyState(){switch(this.ws.readyState){case 0:return n.WsReadyState.CONNECTING;case 1:return n.WsReadyState.OPEN;case 2:return n.WsReadyState.CLOSING;case 3:return n.WsReadyState.CLOSED;default:return n.WsReadyState.NONE}}addEventListener(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)}subscribeBlock(e){this.newBlockSubscribes.push({handler:e}),1===this.newBlockSubscribes.length&&this.sendSubscribeBlockRpc()}sendSubscribeBlockRpc(){this.readyState===n.WsReadyState.OPEN&&this.ws.send(JSON.stringify({jsonrpc:"2.0",method:"subscribe",params:["tm.event='NewBlock'"],id:1}))}traceTx(e){return new Promise(t=>{this.queryTx(e).then(t).catch(()=>{}),this.subscribeTx(e).then(t)})}subscribeTx(e){const t=this.createRandomId();return new Promise((r,n)=>{this.txSubscribes.set(t,{hash:e,resolver:r,rejector:n}),this.sendSubscribeTxRpc(t,e)})}sendSubscribeTxRpc(e,t){this.readyState===n.WsReadyState.OPEN&&this.ws.send(JSON.stringify({jsonrpc:"2.0",method:"subscribe",params:[`tm.event='Tx' AND tx.hash='${o.Buffer.from(t).toString("hex").toUpperCase()}'`],id:e}))}queryTx(e){return this.query("tx",[o.Buffer.from(e).toString("base64"),!1])}query(e,t){const r=this.createRandomId();return new Promise((n,o)=>{this.pendingQueries.set(r,{method:e,params:t,resolver:n,rejector:o}),this.sendQueryRpc(r,e,t)})}sendQueryRpc(e,t,r){this.readyState===n.WsReadyState.OPEN&&this.ws.send(JSON.stringify({jsonrpc:"2.0",method:t,params:r,id:e}))}createRandomId(){return parseInt(Array.from({length:6}).map(()=>Math.floor(100*Math.random())).join(""))}}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProtoCodec=t.ProtoCodec=void 0;const i=r(118),s=r(118),a=r(241);o(r(241),t);class c{constructor(){this.typeUrlMap=new Map}unpackAny(e){const t=new i.google.protobuf.Any(e);return this.typeUrlMap.has(t.type_url)?this.typeUrlMap.get(t.type_url).decode(t.value):new a.UnknownMessage(t.type_url,t.value)}registerAny(e,t){this.typeUrlMap.set(e,t)}}t.ProtoCodec=c,t.defaultProtoCodec=new c,t.defaultProtoCodec.registerAny("/cosmos.bank.v1beta1.MsgSend",s.cosmos.bank.v1beta1.MsgSend),t.defaultProtoCodec.registerAny("/cosmos.staking.v1beta1.MsgDelegate",s.cosmos.staking.v1beta1.MsgDelegate),t.defaultProtoCodec.registerAny("/cosmos.staking.v1beta1.MsgUndelegate",s.cosmos.staking.v1beta1.MsgUndelegate),t.defaultProtoCodec.registerAny("/cosmos.staking.v1beta1.MsgBeginRedelegate",s.cosmos.staking.v1beta1.MsgBeginRedelegate)},function(e,t,r){"use strict";e.exports=f;var n,o=r(64),i=o.LongBits,s=o.base64,a=o.utf8;function c(e,t,r){this.fn=e,this.len=t,this.next=void 0,this.val=r}function u(){}function l(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function f(){this.len=0,this.head=new c(u,0,0),this.tail=this.head,this.states=null}var d=function(){return o.Buffer?function(){return(f.create=function(){return new n})()}:function(){return new f}};function h(e,t,r){t[r]=255&e}function p(e,t){this.len=e,this.next=void 0,this.val=t}function g(e,t,r){for(;e.hi;)t[r++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[r++]=127&e.lo|128,e.lo=e.lo>>>7;t[r++]=e.lo}function m(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}f.create=d(),f.alloc=function(e){return new o.Array(e)},o.Array!==Array&&(f.alloc=o.pool(f.alloc,o.Array.prototype.subarray)),f.prototype._push=function(e,t,r){return this.tail=this.tail.next=new c(e,t,r),this.len+=t,this},p.prototype=Object.create(c.prototype),p.prototype.fn=function(e,t,r){for(;e>127;)t[r++]=127&e|128,e>>>=7;t[r]=e},f.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new p((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},f.prototype.int32=function(e){return e<0?this._push(g,10,i.fromNumber(e)):this.uint32(e)},f.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},f.prototype.uint64=function(e){var t=i.from(e);return this._push(g,t.length(),t)},f.prototype.int64=f.prototype.uint64,f.prototype.sint64=function(e){var t=i.from(e).zzEncode();return this._push(g,t.length(),t)},f.prototype.bool=function(e){return this._push(h,1,e?1:0)},f.prototype.fixed32=function(e){return this._push(m,4,e>>>0)},f.prototype.sfixed32=f.prototype.fixed32,f.prototype.fixed64=function(e){var t=i.from(e);return this._push(m,4,t.lo)._push(m,4,t.hi)},f.prototype.sfixed64=f.prototype.fixed64,f.prototype.float=function(e){return this._push(o.float.writeFloatLE,4,e)},f.prototype.double=function(e){return this._push(o.float.writeDoubleLE,8,e)};var y=o.Array.prototype.set?function(e,t,r){t.set(e,r)}:function(e,t,r){for(var n=0;n>>0;if(!t)return this._push(h,1,0);if(o.isString(e)){var r=f.alloc(t=s.length(e));s.decode(e,r,0),e=r}return this.uint32(t)._push(y,t,e)},f.prototype.string=function(e){var t=a.length(e);return t?this.uint32(t)._push(a.write,t,e):this._push(h,1,0)},f.prototype.fork=function(){return this.states=new l(this),this.head=this.tail=new c(u,0,0),this.len=0,this},f.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new c(u,0,0),this.len=0),this},f.prototype.ldelim=function(){var e=this.head,t=this.tail,r=this.len;return this.reset().uint32(r),r&&(this.tail.next=e.next,this.tail=t,this.len+=r),this},f.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),r=0;e;)e.fn(e.val,t,r),r+=e.len,e=e.next;return t},f._configure=function(e){n=e,f.create=d(),n._configure()}},function(e,t,r){"use strict";e.exports=c;var n,o=r(64),i=o.LongBits,s=o.utf8;function a(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function c(e){this.buf=e,this.pos=0,this.len=e.length}var u,l="undefined"!=typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new c(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new c(e);throw Error("illegal buffer")},f=function(){return o.Buffer?function(e){return(c.create=function(e){return o.Buffer.isBuffer(e)?new n(e):l(e)})(e)}:l};function d(){var e=new i(0,0),t=0;if(!(this.len-this.pos>4)){for(;t<3;++t){if(this.pos>=this.len)throw a(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;if(t=0,this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw a(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function h(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function p(){if(this.pos+8>this.len)throw a(this,8);return new i(h(this.buf,this.pos+=4),h(this.buf,this.pos+=4))}c.create=f(),c.prototype._slice=o.Array.prototype.subarray||o.Array.prototype.slice,c.prototype.uint32=(u=4294967295,function(){if(u=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return u;if((this.pos+=5)>this.len)throw this.pos=this.len,a(this,10);return u}),c.prototype.int32=function(){return 0|this.uint32()},c.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},c.prototype.bool=function(){return 0!==this.uint32()},c.prototype.fixed32=function(){if(this.pos+4>this.len)throw a(this,4);return h(this.buf,this.pos+=4)},c.prototype.sfixed32=function(){if(this.pos+4>this.len)throw a(this,4);return 0|h(this.buf,this.pos+=4)},c.prototype.float=function(){if(this.pos+4>this.len)throw a(this,4);var e=o.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},c.prototype.double=function(){if(this.pos+8>this.len)throw a(this,4);var e=o.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},c.prototype.bytes=function(){var e=this.uint32(),t=this.pos,r=this.pos+e;if(r>this.len)throw a(this,e);return this.pos+=e,Array.isArray(this.buf)?this.buf.slice(t,r):t===r?new this.buf.constructor(0):this._slice.call(this.buf,t,r)},c.prototype.string=function(){var e=this.bytes();return s.read(e,0,e.length)},c.prototype.skip=function(e){if("number"==typeof e){if(this.pos+e>this.len)throw a(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw a(this)}while(128&this.buf[this.pos++]);return this},c.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(e=7&this.uint32());)this.skipType(e);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},c._configure=function(e){n=e,c.create=f(),n._configure();var t=o.Long?"toLong":"toNumber";o.merge(c.prototype,{int64:function(){return d.call(this)[t](!1)},uint64:function(){return d.call(this)[t](!0)},sint64:function(){return d.call(this).zzDecode()[t](!1)},fixed64:function(){return p.call(this)[t](!0)},sfixed64:function(){return p.call(this)[t](!1)}})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnknownMessage=void 0;const n=r(2);t.UnknownMessage=class{constructor(e,t){this._typeUrl=e,this._value=t}get typeUrl(){return this._typeUrl}get value(){return this._value}toJSON(){return{type_url:this._typeUrl,value:n.Buffer.from(this._value).toString("base64")}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProtoSignDocDecoder=void 0;const n=r(118),o=r(238);class i{constructor(e,t=o.defaultProtoCodec){this.signDoc=e,this.protoCodec=t}static decode(e){return new i(n.cosmos.tx.v1beta1.SignDoc.decode(e))}get txBody(){return this._txBody||(this._txBody=n.cosmos.tx.v1beta1.TxBody.decode(this.signDoc.bodyBytes)),this._txBody}get txMsgs(){const e=[];for(const t of this.txBody.messages)e.push(this.protoCodec.unpackAny(t));return e}get authInfo(){return this._authInfo||(this._authInfo=n.cosmos.tx.v1beta1.AuthInfo.decode(this.signDoc.authInfoBytes)),this._authInfo}get chainId(){return this.signDoc.chainId}get accountNumber(){return this.signDoc.accountNumber.toString()}toBytes(){return n.cosmos.tx.v1beta1.SignDoc.encode(this.signDoc).finish()}toJSON(){return{txBody:Object.assign(Object.assign({},this.txBody.toJSON()),{messages:this.txMsgs.map(e=>e&&e.toJSON?e.toJSON():e)}),authInfo:this.authInfo.toJSON(),chainId:this.chainId,accountNumber:this.accountNumber}}}t.ProtoSignDocDecoder=i},function(e,t,r){"use strict";(function(t,n){var o=r(119);e.exports=v;var i,s=r(237);v.ReadableState=b;r(51).EventEmitter;var a=function(e,t){return e.listeners(t).length},c=r(244),u=r(153).Buffer,l=t.Uint8Array||function(){};var f=Object.create(r(95));f.inherits=r(4);var d=r(446),h=void 0;h=d&&d.debuglog?d.debuglog("stream"):function(){};var p,g=r(447),m=r(245);f.inherits(v,c);var y=["error","close","destroy","pause","resume"];function b(e,t){e=e||{};var n=t instanceof(i=i||r(65));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var o=e.highWaterMark,s=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:n&&(s||0===s)?s:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=r(66).StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function v(e){if(i=i||r(65),!(this instanceof v))return new v(e);this._readableState=new b(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function w(e,t,r,n,o){var i,s=e._readableState;null===t?(s.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,S(e)}(e,s)):(o||(i=function(e,t){var r;n=t,u.isBuffer(n)||n instanceof l||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(s,t)),i?e.emit("error",i):s.objectMode||t&&t.length>0?("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=function(e){return u.from(e)}(t)),n?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):_(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?_(e,s,t,!1):j(e,s)):_(e,s,t,!1))):n||(s.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function S(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?o.nextTick(O,e):O(e))}function O(e){h("emit readable"),e.emit("readable"),A(e)}function j(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(E,e,t))}function E(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;ei.length?i.length:e;if(s===i.length?o+=i:o+=i.slice(0,e),0===(e-=s)){s===i.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=i.slice(s));break}++n}return t.length-=n,o}(e,t):function(e,t){var r=u.allocUnsafe(e),n=t.head,o=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var i=n.data,s=e>i.length?i.length:e;if(i.copy(r,r.length-e,0,s),0===(e-=s)){s===i.length?(++o,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(s));break}++o}return t.length-=o,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function I(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,o.nextTick(C,t,e))}function C(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function R(e,t){for(var r=0,n=e.length;r=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?I(this):S(this),null;if(0===(e=k(e,t))&&t.ended)return 0===t.length&&I(this),null;var n,o=t.needReadable;return h("need readable",o),(0===t.length||t.length-e0?M(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&I(this)),null!==n&&this.emit("data",n),n},v.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,h("pipe count=%d opts=%j",i.pipesCount,t);var c=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:v;function u(t,n){h("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,h("cleanup"),e.removeListener("close",y),e.removeListener("finish",b),e.removeListener("drain",f),e.removeListener("error",m),e.removeListener("unpipe",u),r.removeListener("end",l),r.removeListener("end",v),r.removeListener("data",g),d=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function l(){h("onend"),e.end()}i.endEmitted?o.nextTick(c):r.once("end",c),e.on("unpipe",u);var f=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,A(e))}}(r);e.on("drain",f);var d=!1;var p=!1;function g(t){h("ondata"),p=!1,!1!==e.write(t)||p||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==R(i.pipes,e))&&!d&&(h("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function m(t){h("onerror",t),v(),e.removeListener("error",m),0===a(e,"error")&&e.emit("error",t)}function y(){e.removeListener("finish",b),v()}function b(){h("onfinish"),e.removeListener("close",y),v()}function v(){h("unpipe"),r.unpipe(e)}return r.on("data",g),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?s(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",m),e.once("close",y),e.once("finish",b),e.emit("pipe",r),i.flowing||(h("pipe resume"),r.resume()),e},v.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i>>3},t.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},function(e,t,r){"use strict";var n=r(49),o=r(96),i=r(247),s=r(32),a=n.sum32,c=n.sum32_4,u=n.sum32_5,l=i.ch32,f=i.maj32,d=i.s0_256,h=i.s1_256,p=i.g0_256,g=i.g1_256,m=o.BlockHash,y=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function b(){if(!(this instanceof b))return new b;m.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=y,this.W=new Array(64)}n.inherits(b,m),e.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n=this._blockSize;){for(var i=this._blockOffset;i0;++s)this._length[s]+=a,(a=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*a);return this},i.prototype._update=function(){throw new Error("_update is not implemented")},i.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},i.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=i},function(e,t,r){"use strict";(function(t,n){var o;e.exports=j,j.ReadableState=O;r(51).EventEmitter;var i=function(e,t){return e.listeners(t).length},s=r(252),a=r(2).Buffer,c=t.Uint8Array||function(){};var u,l=r(459);u=l&&l.debuglog?l.debuglog("stream"):function(){};var f,d,h,p=r(460),g=r(253),m=r(254).getHighWaterMark,y=r(73).codes,b=y.ERR_INVALID_ARG_TYPE,v=y.ERR_STREAM_PUSH_AFTER_EOF,w=y.ERR_METHOD_NOT_IMPLEMENTED,_=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(4)(j,s);var k=g.errorOrDestroy,S=["error","close","destroy","pause","resume"];function O(e,t,n){o=o||r(74),e=e||{},"boolean"!=typeof n&&(n=t instanceof o),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",n),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=r(66).StringDecoder),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function j(e){if(o=o||r(74),!(this instanceof j))return new j(e);var t=this instanceof o;this._readableState=new O(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function E(e,t,r,n,o){u("readableAddChunk",t);var i,s=e._readableState;if(null===t)s.reading=!1,function(e,t){if(u("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?A(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,M(e)))}(e,s);else if(o||(i=function(e,t){var r;n=t,a.isBuffer(n)||n instanceof c||"string"==typeof t||void 0===t||e.objectMode||(r=new b("chunk",["string","Buffer","Uint8Array"],t));var n;return r}(s,t)),i)k(e,i);else if(s.objectMode||t&&t.length>0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),n)s.endEmitted?k(e,new _):P(e,s,t,!0);else if(s.ended)k(e,new v);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?P(e,s,t,!1):I(e,s)):P(e,s,t,!1)}else n||(s.reading=!1,I(e,s));return!s.ended&&(s.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function A(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(M,e))}function M(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,B(e)}function I(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(C,e,t))}function C(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function T(e){u("readable nexttick read 0"),e.read(0)}function N(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),B(e),t.flowing&&!t.reading&&e.read(0)}function B(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function D(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function L(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(U,t,e))}function U(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function q(e,t){for(var r=0,n=e.length;r=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?L(this):A(this),null;if(0===(e=x(e,t))&&t.ended)return 0===t.length&&L(this),null;var n,o=t.needReadable;return u("need readable",o),(0===t.length||t.length-e0?D(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&L(this)),null!==n&&this.emit("data",n),n},j.prototype._read=function(e){k(this,new w("_read()"))},j.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,u("pipe count=%d opts=%j",o.pipesCount,t);var s=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?c:m;function a(t,n){u("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,u("cleanup"),e.removeListener("close",p),e.removeListener("finish",g),e.removeListener("drain",l),e.removeListener("error",h),e.removeListener("unpipe",a),r.removeListener("end",c),r.removeListener("end",m),r.removeListener("data",d),f=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function c(){u("onend"),e.end()}o.endEmitted?n.nextTick(s):r.once("end",s),e.on("unpipe",a);var l=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,B(e))}}(r);e.on("drain",l);var f=!1;function d(t){u("ondata");var n=e.write(t);u("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==q(o.pipes,e))&&!f&&(u("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function h(t){u("onerror",t),m(),e.removeListener("error",h),0===i(e,"error")&&k(e,t)}function p(){e.removeListener("finish",g),m()}function g(){u("onfinish"),e.removeListener("close",p),m()}function m(){u("unpipe"),r.unpipe(e)}return r.on("data",d),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",h),e.once("close",p),e.once("finish",g),e.emit("pipe",r),o.flowing||(u("pipe resume"),r.resume()),e},j.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,u("on readable",o.length,o.reading),o.length?A(this):o.reading||n.nextTick(T,this))),r},j.prototype.addListener=j.prototype.on,j.prototype.removeListener=function(e,t){var r=s.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(R,this),r},j.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(R,this),t},j.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(N,e,t))}(this,e)),e.paused=!1,this},j.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},j.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",(function(){if(u("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){(u("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))})),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),j.prototype._write=function(e,t,r){r(new g("_write()"))},j.prototype._writev=null,j.prototype.end=function(e,t,r){var o=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),o.corked&&(o.corked=1,this.uncork()),o.ending||function(e,t,r){t.ending=!0,I(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,o,r),this},Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),j.prototype.destroy=f.destroy,j.prototype._undestroy=f.undestroy,j.prototype._destroy=function(e,t){t(e)}}).call(this,r(12),r(13))},function(e,t,r){"use strict";e.exports=l;var n=r(73).codes,o=n.ERR_METHOD_NOT_IMPLEMENTED,i=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=n.ERR_TRANSFORM_WITH_LENGTH_0,c=r(74);function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new i);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function d(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}n(c,o),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,o=0|this._b,i=0|this._c,a=0|this._d,c=0|this._e,p=0|this._f,g=0|this._g,m=0|this._h,y=0;y<16;++y)r[y]=e.readInt32BE(4*y);for(;y<64;++y)r[y]=0|(((t=r[y-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+r[y-7]+h(r[y-15])+r[y-16];for(var b=0;b<64;++b){var v=m+d(c)+u(c,p,g)+s[b]+r[b]|0,w=f(n)+l(n,o,i)|0;m=g,g=p,p=c,c=a+v|0,a=i,i=o,o=n,n=v+w|0}this._a=n+this._a|0,this._b=o+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=g+this._g|0,this._h=m+this._h|0},c.prototype._hash=function(){var e=i.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=c},function(e,t,r){var n=r(4),o=r(77),i=r(7).Buffer,s=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],a=new Array(160);function c(){this.init(),this._w=a,o.call(this,128,112)}function u(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function f(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function d(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function y(e,t){return e>>>0>>0?1:0}n(c,o),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,o=0|this._ch,i=0|this._dh,a=0|this._eh,c=0|this._fh,b=0|this._gh,v=0|this._hh,w=0|this._al,_=0|this._bl,k=0|this._cl,S=0|this._dl,O=0|this._el,j=0|this._fl,E=0|this._gl,P=0|this._hl,x=0;x<32;x+=2)t[x]=e.readInt32BE(4*x),t[x+1]=e.readInt32BE(4*x+4);for(;x<160;x+=2){var A=t[x-30],M=t[x-30+1],I=h(A,M),C=p(M,A),R=g(A=t[x-4],M=t[x-4+1]),T=m(M,A),N=t[x-14],B=t[x-14+1],D=t[x-32],L=t[x-32+1],U=C+B|0,q=I+N+y(U,C)|0;q=(q=q+R+y(U=U+T|0,T)|0)+D+y(U=U+L|0,L)|0,t[x]=q,t[x+1]=U}for(var H=0;H<160;H+=2){q=t[H],U=t[H+1];var z=l(r,n,o),F=l(w,_,k),K=f(r,w),$=f(w,r),V=d(a,O),J=d(O,a),G=s[H],W=s[H+1],Q=u(a,c,b),Z=u(O,j,E),Y=P+J|0,X=v+V+y(Y,P)|0;X=(X=(X=X+Q+y(Y=Y+Z|0,Z)|0)+G+y(Y=Y+W|0,W)|0)+q+y(Y=Y+U|0,U)|0;var ee=$+F|0,te=K+z+y(ee,$)|0;v=b,P=E,b=c,E=j,c=a,j=O,a=i+X+y(O=S+Y|0,S)|0,i=o,S=k,o=n,k=_,n=r,_=w,r=X+te+y(w=Y+ee|0,Y)|0}this._al=this._al+w|0,this._bl=this._bl+_|0,this._cl=this._cl+k|0,this._dl=this._dl+S|0,this._el=this._el+O|0,this._fl=this._fl+j|0,this._gl=this._gl+E|0,this._hl=this._hl+P|0,this._ah=this._ah+r+y(this._al,w)|0,this._bh=this._bh+n+y(this._bl,_)|0,this._ch=this._ch+o+y(this._cl,k)|0,this._dh=this._dh+i+y(this._dl,S)|0,this._eh=this._eh+a+y(this._el,O)|0,this._fh=this._fh+c+y(this._fl,j)|0,this._gh=this._gh+b+y(this._gl,E)|0,this._hh=this._hh+v+y(this._hl,P)|0},c.prototype._hash=function(){var e=i.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=c},function(e,t,r){var n=r(156);e.exports=function(e){return(new n).update(e).digest()}},function(e){e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},function(e,t){var r=Math.pow(2,30)-1;e.exports=function(e,t){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>r||t!=t)throw new TypeError("Bad key length")}},function(e,t,r){(function(t){var r;if(t.browser)r="utf-8";else if(t.version){r=parseInt(t.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else r="utf-8";e.exports=r}).call(this,r(13))},function(e,t,r){var n=r(259),o=r(75),i=r(76),s=r(7).Buffer,a=r(261),c=r(262),u=r(264),l=s.alloc(128),f={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(e,t,r){var a=function(e){function t(t){return i(e).update(t).digest()}return"rmd160"===e||"ripemd160"===e?function(e){return(new o).update(e).digest()}:"md5"===e?n:t}(e),c="sha512"===e||"sha384"===e?128:64;t.length>c?t=a(t):t.length>>0},t.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},t.ip=function(e,t,r,n){for(var o=0,i=0,s=6;s>=0;s-=2){for(var a=0;a<=24;a+=8)o<<=1,o|=t>>>a+s&1;for(a=0;a<=24;a+=8)o<<=1,o|=e>>>a+s&1}for(s=6;s>=0;s-=2){for(a=1;a<=25;a+=8)i<<=1,i|=t>>>a+s&1;for(a=1;a<=25;a+=8)i<<=1,i|=e>>>a+s&1}r[n+0]=o>>>0,r[n+1]=i>>>0},t.rip=function(e,t,r,n){for(var o=0,i=0,s=0;s<4;s++)for(var a=24;a>=0;a-=8)o<<=1,o|=t>>>a+s&1,o<<=1,o|=e>>>a+s&1;for(s=4;s<8;s++)for(a=24;a>=0;a-=8)i<<=1,i|=t>>>a+s&1,i<<=1,i|=e>>>a+s&1;r[n+0]=o>>>0,r[n+1]=i>>>0},t.pc1=function(e,t,r,n){for(var o=0,i=0,s=7;s>=5;s--){for(var a=0;a<=24;a+=8)o<<=1,o|=t>>a+s&1;for(a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1}for(a=0;a<=24;a+=8)o<<=1,o|=t>>a+s&1;for(s=1;s<=3;s++){for(a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+s&1}for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+s&1;r[n+0]=o>>>0,r[n+1]=i>>>0},t.r28shl=function(e,t){return e<>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,r,o){for(var i=0,s=0,a=n.length>>>1,c=0;c>>n[c]&1;for(c=a;c>>n[c]&1;r[o+0]=i>>>0,r[o+1]=s>>>0},t.expand=function(e,t,r){var n=0,o=0;n=(1&e)<<5|e>>>27;for(var i=23;i>=15;i-=4)n<<=6,n|=e>>>i&63;for(i=11;i>=3;i-=4)o|=e>>>i&63,o<<=6;o|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=o>>>0};var o=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var r=0,n=0;n<4;n++){r<<=4,r|=o[64*n+(e>>>18-6*n&63)]}for(n=0;n<4;n++){r<<=4,r|=o[256+64*n+(t>>>18-6*n&63)]}return r>>>0};var i=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,r=0;r>>i[r]&1;return t>>>0},t.padSplit=function(e,t,r){for(var n=e.toString(2);n.length>>1];r=i.r28shl(r,a),o=i.r28shl(o,a),i.pc2(r,o,e.keys,s)}},c.prototype._update=function(e,t,r,n){var o=this._desState,s=i.readUInt32BE(e,t),a=i.readUInt32BE(e,t+4);i.ip(s,a,o.tmp,0),s=o.tmp[0],a=o.tmp[1],"encrypt"===this.type?this._encrypt(o,s,a,o.tmp,0):this._decrypt(o,s,a,o.tmp,0),s=o.tmp[0],a=o.tmp[1],i.writeUInt32BE(r,s,n),i.writeUInt32BE(r,a,n+4)},c.prototype._pad=function(e,t){for(var r=e.length-t,n=t;n>>0,s=d}i.rip(a,s,n,o)},c.prototype._decrypt=function(e,t,r,n,o){for(var s=r,a=t,c=e.keys.length-2;c>=0;c-=2){var u=e.keys[c],l=e.keys[c+1];i.expand(s,e.tmp,0),u^=e.tmp[0],l^=e.tmp[1];var f=i.substitute(u,l),d=s;s=(a^i.permute(f))>>>0,a=d}i.rip(s,a,n,o)}},function(e,t,r){var n=r(98),o=r(7).Buffer,i=r(268);function s(e){var t=e._cipher.encryptBlockRaw(e._prev);return i(e._prev),t}t.encrypt=function(e,t){var r=Math.ceil(t.length/16),i=e._cache.length;e._cache=o.concat([e._cache,o.allocUnsafe(16*r)]);for(var a=0;ae;)r.ishrn(1);if(r.isEven()&&r.iadd(a),r.testn(1)||r.iadd(c),t.cmp(c)){if(!t.cmp(u))for(;r.mod(l).cmp(f);)r.iadd(h)}else for(;r.mod(i).cmp(d);)r.iadd(h);if(m(p=r.shrn(1))&&m(r)&&y(p)&&y(r)&&s.test(p)&&s.test(r))return r}}},function(e,t,r){var n=r(6),o=r(161);function i(e){this.rand=e||new o.Rand}e.exports=i,i.create=function(e){return new i(e)},i.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var o=new n(this.rand.generate(r))}while(o.cmp(e)>=0);return o},i.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},i.prototype.test=function(e,t,r){var o=e.bitLength(),i=n.mont(e),s=new n(1).toRed(i);t||(t=Math.max(1,o/48|0));for(var a=e.subn(1),c=0;!a.testn(c);c++);for(var u=e.shrn(c),l=a.toRed(i);t>0;t--){var f=this._randrange(new n(2),a);r&&r(f);var d=f.toRed(i).redPow(u);if(0!==d.cmp(s)&&0!==d.cmp(l)){for(var h=1;h0;t--){var l=this._randrange(new n(2),s),f=e.gcd(l);if(0!==f.cmpn(1))return f;var d=l.toRed(o).redPow(c);if(0!==d.cmp(i)&&0!==d.cmp(u)){for(var h=1;h0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),n)s.endEmitted?k(e,new _):P(e,s,t,!0);else if(s.ended)k(e,new v);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?P(e,s,t,!1):I(e,s)):P(e,s,t,!1)}else n||(s.reading=!1,I(e,s));return!s.ended&&(s.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function A(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(M,e))}function M(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,B(e)}function I(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(C,e,t))}function C(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function T(e){u("readable nexttick read 0"),e.read(0)}function N(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),B(e),t.flowing&&!t.reading&&e.read(0)}function B(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function D(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function L(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(U,t,e))}function U(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function q(e,t){for(var r=0,n=e.length;r=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?L(this):A(this),null;if(0===(e=x(e,t))&&t.ended)return 0===t.length&&L(this),null;var n,o=t.needReadable;return u("need readable",o),(0===t.length||t.length-e0?D(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&L(this)),null!==n&&this.emit("data",n),n},j.prototype._read=function(e){k(this,new w("_read()"))},j.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,u("pipe count=%d opts=%j",o.pipesCount,t);var s=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?c:m;function a(t,n){u("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,u("cleanup"),e.removeListener("close",p),e.removeListener("finish",g),e.removeListener("drain",l),e.removeListener("error",h),e.removeListener("unpipe",a),r.removeListener("end",c),r.removeListener("end",m),r.removeListener("data",d),f=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function c(){u("onend"),e.end()}o.endEmitted?n.nextTick(s):r.once("end",s),e.on("unpipe",a);var l=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,B(e))}}(r);e.on("drain",l);var f=!1;function d(t){u("ondata");var n=e.write(t);u("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==q(o.pipes,e))&&!f&&(u("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function h(t){u("onerror",t),m(),e.removeListener("error",h),0===i(e,"error")&&k(e,t)}function p(){e.removeListener("finish",g),m()}function g(){u("onfinish"),e.removeListener("close",p),m()}function m(){u("unpipe"),r.unpipe(e)}return r.on("data",d),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",h),e.once("close",p),e.once("finish",g),e.emit("pipe",r),o.flowing||(u("pipe resume"),r.resume()),e},j.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,u("on readable",o.length,o.reading),o.length?A(this):o.reading||n.nextTick(T,this))),r},j.prototype.addListener=j.prototype.on,j.prototype.removeListener=function(e,t){var r=s.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(R,this),r},j.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(R,this),t},j.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(N,e,t))}(this,e)),e.paused=!1,this},j.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},j.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",(function(){if(u("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){(u("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))})),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),j.prototype._write=function(e,t,r){r(new g("_write()"))},j.prototype._writev=null,j.prototype.end=function(e,t,r){var o=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),o.corked&&(o.corked=1,this.uncork()),o.ending||function(e,t,r){t.ending=!0,I(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,o,r),this},Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),j.prototype.destroy=f.destroy,j.prototype._undestroy=f.undestroy,j.prototype._destroy=function(e,t){t(e)}}).call(this,r(12),r(13))},function(e,t,r){"use strict";e.exports=l;var n=r(78).codes,o=n.ERR_METHOD_NOT_IMPLEMENTED,i=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=n.ERR_TRANSFORM_WITH_LENGTH_0,c=r(79);function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new i);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length>8,s=255&o;i?r.push(i,s):r.push(s)}return r},n.zero2=o,n.toHex=i,n.encode=function(e,t){return"hex"===t?i(e):e}},function(e,t,r){"use strict";var n=t;n.base=r(123),n.short=r(509),n.mont=r(510),n.edwards=r(511)},function(e,t,r){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function o(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function i(e,t,r){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var s;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{s=r(520).Buffer}catch(e){}function a(e,t,r){for(var o=0,i=Math.min(e.length,r),s=0,a=t;a=49&&u<=54?u-49+10:u>=17&&u<=22?u-17+10:u,s|=c}return n(!(240&s),"Invalid character in "+e),o}function c(e,t,r,o){for(var i=0,s=0,a=Math.min(e.length,r),c=t;c=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&s0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var o=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&o++,16===t?this._parseHex(e,o):this._parseBase(e,t,o),"-"===e[0]&&(this.negative=1),this._strip(),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var o=0;o=0;o-=3)s=e[o]|e[o-1]<<8|e[o-2]<<16,this.words[i]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);else if("le"===r)for(o=0,i=0;o>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);return this._strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=6)o=a(e,r,r+6),this.words[n]|=o<>>26-i&4194303,(i+=24)>=26&&(i-=26,n++);r+6!==t&&(o=a(e,t,r+6),this.words[n]|=o<>>26-i&4194303),this._strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,o=1;o<=67108863;o*=t)n++;n--,o=o/t|0;for(var i=e.length-r,s=i%n,a=Math.min(i,i-s)+r,u=0,l=r;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch(e){i.prototype.inspect=l}else i.prototype.inspect=l;function l(){return(this.red?""}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var o=0,i=0,s=0;s>>24-o&16777215)||s!==this.length-1?f[6-c.length]+c+r:c+r,(o+=2)>=26&&(o-=26,s--)}for(0!==i&&(r=i.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],l=h[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modrn(l).toString(e);r=(p=p.idivn(l)).isZero()?g+r:f[u-g.length]+g+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16,2)},s&&(i.prototype.toBuffer=function(e,t){return this.toArrayLike(s,e,t)}),i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function p(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var o=0|e.words[0],i=0|t.words[0],s=o*i,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var u=1;u>>26,f=67108863&c,d=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=d;h++){var p=u-h|0;l+=(s=(o=0|e.words[p])*(i=0|t.words[h])+f)/67108864|0,f=67108863&s}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r._strip()}i.prototype.toArrayLike=function(e,t,r){this._strip();var o=this.byteLength(),i=r||Math.max(1,o);n(o<=i,"byte array longer than desired length"),n(i>0,"Requested array length <= 0");var s=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,i);return this["_toArrayLike"+("le"===t?"LE":"BE")](s,o),s},i.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,o=0,i=0;o>8&255),r>16&255),6===i?(r>24&255),n=0,i=0):(n=s>>>24,i+=2)}if(r=0&&(e[r--]=s>>8&255),r>=0&&(e[r--]=s>>16&255),6===i?(r>=0&&(e[r--]=s>>24&255),n=0,i=0):(n=s>>>24,i+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;re.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var o=0;o0&&(this.words[o]=~this.words[o]&67108863>>26-r),this._strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,o=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(r=this,n=e):(r=e,n=this);for(var o=0,i=0;i>>26;for(;0!==o&&i>>26;if(this.length=r.length,0!==o)this.words[this.length]=o,this.length++;else if(r!==this)for(;ie.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,o=this.cmp(e);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(r=this,n=e):(r=e,n=this);for(var i=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==i&&s>26,this.words[s]=67108863&t;if(0===i&&s>>13,h=0|s[1],p=8191&h,g=h>>>13,m=0|s[2],y=8191&m,b=m>>>13,v=0|s[3],w=8191&v,_=v>>>13,k=0|s[4],S=8191&k,O=k>>>13,j=0|s[5],E=8191&j,P=j>>>13,x=0|s[6],A=8191&x,M=x>>>13,I=0|s[7],C=8191&I,R=I>>>13,T=0|s[8],N=8191&T,B=T>>>13,D=0|s[9],L=8191&D,U=D>>>13,q=0|a[0],H=8191&q,z=q>>>13,F=0|a[1],K=8191&F,$=F>>>13,V=0|a[2],J=8191&V,G=V>>>13,W=0|a[3],Q=8191&W,Z=W>>>13,Y=0|a[4],X=8191&Y,ee=Y>>>13,te=0|a[5],re=8191&te,ne=te>>>13,oe=0|a[6],ie=8191&oe,se=oe>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,le=0|a[8],fe=8191&le,de=le>>>13,he=0|a[9],pe=8191&he,ge=he>>>13;r.negative=e.negative^t.negative,r.length=19;var me=(u+(n=Math.imul(f,H))|0)+((8191&(o=(o=Math.imul(f,z))+Math.imul(d,H)|0))<<13)|0;u=((i=Math.imul(d,z))+(o>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(p,H),o=(o=Math.imul(p,z))+Math.imul(g,H)|0,i=Math.imul(g,z);var ye=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(o=(o=o+Math.imul(f,$)|0)+Math.imul(d,K)|0))<<13)|0;u=((i=i+Math.imul(d,$)|0)+(o>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(y,H),o=(o=Math.imul(y,z))+Math.imul(b,H)|0,i=Math.imul(b,z),n=n+Math.imul(p,K)|0,o=(o=o+Math.imul(p,$)|0)+Math.imul(g,K)|0,i=i+Math.imul(g,$)|0;var be=(u+(n=n+Math.imul(f,J)|0)|0)+((8191&(o=(o=o+Math.imul(f,G)|0)+Math.imul(d,J)|0))<<13)|0;u=((i=i+Math.imul(d,G)|0)+(o>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(w,H),o=(o=Math.imul(w,z))+Math.imul(_,H)|0,i=Math.imul(_,z),n=n+Math.imul(y,K)|0,o=(o=o+Math.imul(y,$)|0)+Math.imul(b,K)|0,i=i+Math.imul(b,$)|0,n=n+Math.imul(p,J)|0,o=(o=o+Math.imul(p,G)|0)+Math.imul(g,J)|0,i=i+Math.imul(g,G)|0;var ve=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(o=(o=o+Math.imul(f,Z)|0)+Math.imul(d,Q)|0))<<13)|0;u=((i=i+Math.imul(d,Z)|0)+(o>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(S,H),o=(o=Math.imul(S,z))+Math.imul(O,H)|0,i=Math.imul(O,z),n=n+Math.imul(w,K)|0,o=(o=o+Math.imul(w,$)|0)+Math.imul(_,K)|0,i=i+Math.imul(_,$)|0,n=n+Math.imul(y,J)|0,o=(o=o+Math.imul(y,G)|0)+Math.imul(b,J)|0,i=i+Math.imul(b,G)|0,n=n+Math.imul(p,Q)|0,o=(o=o+Math.imul(p,Z)|0)+Math.imul(g,Q)|0,i=i+Math.imul(g,Z)|0;var we=(u+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,ee)|0)+Math.imul(d,X)|0))<<13)|0;u=((i=i+Math.imul(d,ee)|0)+(o>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(E,H),o=(o=Math.imul(E,z))+Math.imul(P,H)|0,i=Math.imul(P,z),n=n+Math.imul(S,K)|0,o=(o=o+Math.imul(S,$)|0)+Math.imul(O,K)|0,i=i+Math.imul(O,$)|0,n=n+Math.imul(w,J)|0,o=(o=o+Math.imul(w,G)|0)+Math.imul(_,J)|0,i=i+Math.imul(_,G)|0,n=n+Math.imul(y,Q)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(b,Q)|0,i=i+Math.imul(b,Z)|0,n=n+Math.imul(p,X)|0,o=(o=o+Math.imul(p,ee)|0)+Math.imul(g,X)|0,i=i+Math.imul(g,ee)|0;var _e=(u+(n=n+Math.imul(f,re)|0)|0)+((8191&(o=(o=o+Math.imul(f,ne)|0)+Math.imul(d,re)|0))<<13)|0;u=((i=i+Math.imul(d,ne)|0)+(o>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(A,H),o=(o=Math.imul(A,z))+Math.imul(M,H)|0,i=Math.imul(M,z),n=n+Math.imul(E,K)|0,o=(o=o+Math.imul(E,$)|0)+Math.imul(P,K)|0,i=i+Math.imul(P,$)|0,n=n+Math.imul(S,J)|0,o=(o=o+Math.imul(S,G)|0)+Math.imul(O,J)|0,i=i+Math.imul(O,G)|0,n=n+Math.imul(w,Q)|0,o=(o=o+Math.imul(w,Z)|0)+Math.imul(_,Q)|0,i=i+Math.imul(_,Z)|0,n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,ee)|0)+Math.imul(b,X)|0,i=i+Math.imul(b,ee)|0,n=n+Math.imul(p,re)|0,o=(o=o+Math.imul(p,ne)|0)+Math.imul(g,re)|0,i=i+Math.imul(g,ne)|0;var ke=(u+(n=n+Math.imul(f,ie)|0)|0)+((8191&(o=(o=o+Math.imul(f,se)|0)+Math.imul(d,ie)|0))<<13)|0;u=((i=i+Math.imul(d,se)|0)+(o>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(C,H),o=(o=Math.imul(C,z))+Math.imul(R,H)|0,i=Math.imul(R,z),n=n+Math.imul(A,K)|0,o=(o=o+Math.imul(A,$)|0)+Math.imul(M,K)|0,i=i+Math.imul(M,$)|0,n=n+Math.imul(E,J)|0,o=(o=o+Math.imul(E,G)|0)+Math.imul(P,J)|0,i=i+Math.imul(P,G)|0,n=n+Math.imul(S,Q)|0,o=(o=o+Math.imul(S,Z)|0)+Math.imul(O,Q)|0,i=i+Math.imul(O,Z)|0,n=n+Math.imul(w,X)|0,o=(o=o+Math.imul(w,ee)|0)+Math.imul(_,X)|0,i=i+Math.imul(_,ee)|0,n=n+Math.imul(y,re)|0,o=(o=o+Math.imul(y,ne)|0)+Math.imul(b,re)|0,i=i+Math.imul(b,ne)|0,n=n+Math.imul(p,ie)|0,o=(o=o+Math.imul(p,se)|0)+Math.imul(g,ie)|0,i=i+Math.imul(g,se)|0;var Se=(u+(n=n+Math.imul(f,ce)|0)|0)+((8191&(o=(o=o+Math.imul(f,ue)|0)+Math.imul(d,ce)|0))<<13)|0;u=((i=i+Math.imul(d,ue)|0)+(o>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(N,H),o=(o=Math.imul(N,z))+Math.imul(B,H)|0,i=Math.imul(B,z),n=n+Math.imul(C,K)|0,o=(o=o+Math.imul(C,$)|0)+Math.imul(R,K)|0,i=i+Math.imul(R,$)|0,n=n+Math.imul(A,J)|0,o=(o=o+Math.imul(A,G)|0)+Math.imul(M,J)|0,i=i+Math.imul(M,G)|0,n=n+Math.imul(E,Q)|0,o=(o=o+Math.imul(E,Z)|0)+Math.imul(P,Q)|0,i=i+Math.imul(P,Z)|0,n=n+Math.imul(S,X)|0,o=(o=o+Math.imul(S,ee)|0)+Math.imul(O,X)|0,i=i+Math.imul(O,ee)|0,n=n+Math.imul(w,re)|0,o=(o=o+Math.imul(w,ne)|0)+Math.imul(_,re)|0,i=i+Math.imul(_,ne)|0,n=n+Math.imul(y,ie)|0,o=(o=o+Math.imul(y,se)|0)+Math.imul(b,ie)|0,i=i+Math.imul(b,se)|0,n=n+Math.imul(p,ce)|0,o=(o=o+Math.imul(p,ue)|0)+Math.imul(g,ce)|0,i=i+Math.imul(g,ue)|0;var Oe=(u+(n=n+Math.imul(f,fe)|0)|0)+((8191&(o=(o=o+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;u=((i=i+Math.imul(d,de)|0)+(o>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(L,H),o=(o=Math.imul(L,z))+Math.imul(U,H)|0,i=Math.imul(U,z),n=n+Math.imul(N,K)|0,o=(o=o+Math.imul(N,$)|0)+Math.imul(B,K)|0,i=i+Math.imul(B,$)|0,n=n+Math.imul(C,J)|0,o=(o=o+Math.imul(C,G)|0)+Math.imul(R,J)|0,i=i+Math.imul(R,G)|0,n=n+Math.imul(A,Q)|0,o=(o=o+Math.imul(A,Z)|0)+Math.imul(M,Q)|0,i=i+Math.imul(M,Z)|0,n=n+Math.imul(E,X)|0,o=(o=o+Math.imul(E,ee)|0)+Math.imul(P,X)|0,i=i+Math.imul(P,ee)|0,n=n+Math.imul(S,re)|0,o=(o=o+Math.imul(S,ne)|0)+Math.imul(O,re)|0,i=i+Math.imul(O,ne)|0,n=n+Math.imul(w,ie)|0,o=(o=o+Math.imul(w,se)|0)+Math.imul(_,ie)|0,i=i+Math.imul(_,se)|0,n=n+Math.imul(y,ce)|0,o=(o=o+Math.imul(y,ue)|0)+Math.imul(b,ce)|0,i=i+Math.imul(b,ue)|0,n=n+Math.imul(p,fe)|0,o=(o=o+Math.imul(p,de)|0)+Math.imul(g,fe)|0,i=i+Math.imul(g,de)|0;var je=(u+(n=n+Math.imul(f,pe)|0)|0)+((8191&(o=(o=o+Math.imul(f,ge)|0)+Math.imul(d,pe)|0))<<13)|0;u=((i=i+Math.imul(d,ge)|0)+(o>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(L,K),o=(o=Math.imul(L,$))+Math.imul(U,K)|0,i=Math.imul(U,$),n=n+Math.imul(N,J)|0,o=(o=o+Math.imul(N,G)|0)+Math.imul(B,J)|0,i=i+Math.imul(B,G)|0,n=n+Math.imul(C,Q)|0,o=(o=o+Math.imul(C,Z)|0)+Math.imul(R,Q)|0,i=i+Math.imul(R,Z)|0,n=n+Math.imul(A,X)|0,o=(o=o+Math.imul(A,ee)|0)+Math.imul(M,X)|0,i=i+Math.imul(M,ee)|0,n=n+Math.imul(E,re)|0,o=(o=o+Math.imul(E,ne)|0)+Math.imul(P,re)|0,i=i+Math.imul(P,ne)|0,n=n+Math.imul(S,ie)|0,o=(o=o+Math.imul(S,se)|0)+Math.imul(O,ie)|0,i=i+Math.imul(O,se)|0,n=n+Math.imul(w,ce)|0,o=(o=o+Math.imul(w,ue)|0)+Math.imul(_,ce)|0,i=i+Math.imul(_,ue)|0,n=n+Math.imul(y,fe)|0,o=(o=o+Math.imul(y,de)|0)+Math.imul(b,fe)|0,i=i+Math.imul(b,de)|0;var Ee=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(o=(o=o+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;u=((i=i+Math.imul(g,ge)|0)+(o>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(L,J),o=(o=Math.imul(L,G))+Math.imul(U,J)|0,i=Math.imul(U,G),n=n+Math.imul(N,Q)|0,o=(o=o+Math.imul(N,Z)|0)+Math.imul(B,Q)|0,i=i+Math.imul(B,Z)|0,n=n+Math.imul(C,X)|0,o=(o=o+Math.imul(C,ee)|0)+Math.imul(R,X)|0,i=i+Math.imul(R,ee)|0,n=n+Math.imul(A,re)|0,o=(o=o+Math.imul(A,ne)|0)+Math.imul(M,re)|0,i=i+Math.imul(M,ne)|0,n=n+Math.imul(E,ie)|0,o=(o=o+Math.imul(E,se)|0)+Math.imul(P,ie)|0,i=i+Math.imul(P,se)|0,n=n+Math.imul(S,ce)|0,o=(o=o+Math.imul(S,ue)|0)+Math.imul(O,ce)|0,i=i+Math.imul(O,ue)|0,n=n+Math.imul(w,fe)|0,o=(o=o+Math.imul(w,de)|0)+Math.imul(_,fe)|0,i=i+Math.imul(_,de)|0;var Pe=(u+(n=n+Math.imul(y,pe)|0)|0)+((8191&(o=(o=o+Math.imul(y,ge)|0)+Math.imul(b,pe)|0))<<13)|0;u=((i=i+Math.imul(b,ge)|0)+(o>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(L,Q),o=(o=Math.imul(L,Z))+Math.imul(U,Q)|0,i=Math.imul(U,Z),n=n+Math.imul(N,X)|0,o=(o=o+Math.imul(N,ee)|0)+Math.imul(B,X)|0,i=i+Math.imul(B,ee)|0,n=n+Math.imul(C,re)|0,o=(o=o+Math.imul(C,ne)|0)+Math.imul(R,re)|0,i=i+Math.imul(R,ne)|0,n=n+Math.imul(A,ie)|0,o=(o=o+Math.imul(A,se)|0)+Math.imul(M,ie)|0,i=i+Math.imul(M,se)|0,n=n+Math.imul(E,ce)|0,o=(o=o+Math.imul(E,ue)|0)+Math.imul(P,ce)|0,i=i+Math.imul(P,ue)|0,n=n+Math.imul(S,fe)|0,o=(o=o+Math.imul(S,de)|0)+Math.imul(O,fe)|0,i=i+Math.imul(O,de)|0;var xe=(u+(n=n+Math.imul(w,pe)|0)|0)+((8191&(o=(o=o+Math.imul(w,ge)|0)+Math.imul(_,pe)|0))<<13)|0;u=((i=i+Math.imul(_,ge)|0)+(o>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(L,X),o=(o=Math.imul(L,ee))+Math.imul(U,X)|0,i=Math.imul(U,ee),n=n+Math.imul(N,re)|0,o=(o=o+Math.imul(N,ne)|0)+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,n=n+Math.imul(C,ie)|0,o=(o=o+Math.imul(C,se)|0)+Math.imul(R,ie)|0,i=i+Math.imul(R,se)|0,n=n+Math.imul(A,ce)|0,o=(o=o+Math.imul(A,ue)|0)+Math.imul(M,ce)|0,i=i+Math.imul(M,ue)|0,n=n+Math.imul(E,fe)|0,o=(o=o+Math.imul(E,de)|0)+Math.imul(P,fe)|0,i=i+Math.imul(P,de)|0;var Ae=(u+(n=n+Math.imul(S,pe)|0)|0)+((8191&(o=(o=o+Math.imul(S,ge)|0)+Math.imul(O,pe)|0))<<13)|0;u=((i=i+Math.imul(O,ge)|0)+(o>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(L,re),o=(o=Math.imul(L,ne))+Math.imul(U,re)|0,i=Math.imul(U,ne),n=n+Math.imul(N,ie)|0,o=(o=o+Math.imul(N,se)|0)+Math.imul(B,ie)|0,i=i+Math.imul(B,se)|0,n=n+Math.imul(C,ce)|0,o=(o=o+Math.imul(C,ue)|0)+Math.imul(R,ce)|0,i=i+Math.imul(R,ue)|0,n=n+Math.imul(A,fe)|0,o=(o=o+Math.imul(A,de)|0)+Math.imul(M,fe)|0,i=i+Math.imul(M,de)|0;var Me=(u+(n=n+Math.imul(E,pe)|0)|0)+((8191&(o=(o=o+Math.imul(E,ge)|0)+Math.imul(P,pe)|0))<<13)|0;u=((i=i+Math.imul(P,ge)|0)+(o>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(L,ie),o=(o=Math.imul(L,se))+Math.imul(U,ie)|0,i=Math.imul(U,se),n=n+Math.imul(N,ce)|0,o=(o=o+Math.imul(N,ue)|0)+Math.imul(B,ce)|0,i=i+Math.imul(B,ue)|0,n=n+Math.imul(C,fe)|0,o=(o=o+Math.imul(C,de)|0)+Math.imul(R,fe)|0,i=i+Math.imul(R,de)|0;var Ie=(u+(n=n+Math.imul(A,pe)|0)|0)+((8191&(o=(o=o+Math.imul(A,ge)|0)+Math.imul(M,pe)|0))<<13)|0;u=((i=i+Math.imul(M,ge)|0)+(o>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(L,ce),o=(o=Math.imul(L,ue))+Math.imul(U,ce)|0,i=Math.imul(U,ue),n=n+Math.imul(N,fe)|0,o=(o=o+Math.imul(N,de)|0)+Math.imul(B,fe)|0,i=i+Math.imul(B,de)|0;var Ce=(u+(n=n+Math.imul(C,pe)|0)|0)+((8191&(o=(o=o+Math.imul(C,ge)|0)+Math.imul(R,pe)|0))<<13)|0;u=((i=i+Math.imul(R,ge)|0)+(o>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(L,fe),o=(o=Math.imul(L,de))+Math.imul(U,fe)|0,i=Math.imul(U,de);var Re=(u+(n=n+Math.imul(N,pe)|0)|0)+((8191&(o=(o=o+Math.imul(N,ge)|0)+Math.imul(B,pe)|0))<<13)|0;u=((i=i+Math.imul(B,ge)|0)+(o>>>13)|0)+(Re>>>26)|0,Re&=67108863;var Te=(u+(n=Math.imul(L,pe))|0)+((8191&(o=(o=Math.imul(L,ge))+Math.imul(U,pe)|0))<<13)|0;return u=((i=Math.imul(U,ge))+(o>>>13)|0)+(Te>>>26)|0,Te&=67108863,c[0]=me,c[1]=ye,c[2]=be,c[3]=ve,c[4]=we,c[5]=_e,c[6]=ke,c[7]=Se,c[8]=Oe,c[9]=je,c[10]=Ee,c[11]=Pe,c[12]=xe,c[13]=Ae,c[14]=Me,c[15]=Ie,c[16]=Ce,c[17]=Re,c[18]=Te,0!==u&&(c[19]=u,r.length++),r};function m(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,o=0,i=0;i>>26)|0)>>>26,s&=67108863}r.words[i]=a,n=s,s=o}return 0!==n?r.words[i]=n:r.length--,r._strip()}function y(e,t,r){return m(e,t,r)}function b(e,t){this.x=e,this.y=t}Math.imul||(g=p),i.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):r<63?p(this,e,t):r<1024?m(this,e,t):y(this,e,t)},b.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n>=1;return n},b.prototype.permute=function(e,t,r,n,o,i){for(var s=0;s>>=1)o++;return 1<>>=13,r[2*s+1]=8191&i,i>>>=13;for(s=2*t;s>=26,r+=i/67108864|0,r+=s>>>26,this.words[o]=67108863&s}return 0!==r&&(this.words[o]=r,this.length++),t?this.ineg():this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r>>o&1}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n=0);var t,r=e%26,o=(e-r)/26,i=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(t=0;t>>26-r}s&&(this.words[t]=s,this.length++)}if(0!==o){for(t=this.length-1;t>=0;t--)this.words[t+o]=this.words[t];for(t=0;t=0),o=t?(t-t%26)/26:0;var i=e%26,s=Math.min((e-i)/26,this.length),a=67108863^67108863>>>i<s)for(this.length-=s,u=0;u=0&&(0!==l||u>=o);u--){var f=0|this.words[u];this.words[u]=l<<26-i|f>>>i,l=f&a}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,o=1<=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var o=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[o+r]=67108863&i}for(;o>26,this.words[o+r]=67108863&i;if(0===a)return this._strip();for(n(-1===a),a=0,o=0;o>26,this.words[o]=67108863&i;return this.negative=1,this._strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),o=e,s=0|o.words[o.length-1];0!==(r=26-this._countBits(s))&&(o=o.ushln(r),n.iushln(r),s=0|o.words[o.length-1]);var a,c=n.length-o.length;if("mod"!==t){(a=new i(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u=0;f--){var d=67108864*(0|n.words[o.length+f])+(0|n.words[o.length+f-1]);for(d=Math.min(d/s|0,67108863),n._ishlnsubmul(o,d,f);0!==n.negative;)d--,n.negative=0,n._ishlnsubmul(o,1,f),n.isZero()||(n.negative^=1);a&&(a.words[f]=d)}return a&&a._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.iadd(e)),{div:o,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modrn(e.words[0]))}:this._wordDiv(e,t);var o,s,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),o=e.andln(1),i=r.cmp(n);return i<0||1===o&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,o=0,i=this.length-1;i>=0;i--)o=(r*o+(0|this.words[i]))%e;return t?-o:o},i.prototype.modn=function(e){return this.modrn(e)},i.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,o=this.length-1;o>=0;o--){var i=(0|this.words[o])+67108864*r;this.words[o]=i/e|0,r=i%e}return this._strip(),t?this.ineg():this},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),s=new i(0),a=new i(0),c=new i(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0==(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(l),s.isub(f)),o.iushrn(1),s.iushrn(1);for(var p=0,g=1;0==(r.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(l),c.isub(f)),a.iushrn(1),c.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a),s.isub(c)):(r.isub(t),a.isub(o),c.isub(s))}return{a:a,b:c,gcd:r.iushln(u)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o,s=new i(1),a=new i(0),c=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var f=0,d=1;0==(r.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(r.iushrn(f);f-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),s.isub(a)):(r.isub(t),a.isub(s))}return(o=0===t.cmpn(1)?s:a).cmpn(0)<0&&o.iadd(e),o},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var o=t.cmp(r);if(o<0){var i=t;t=r,r=i}else if(0===o||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,o=1<>>26,a&=67108863,this.words[s]=a}return 0!==i&&(this.words[s]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var o=0|this.words[0];t=o===e?0:oe.length)return 1;if(this.length=0;r--){var n=0|this.words[r],o=0|e.words[r];if(n!==o){no&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new j(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function O(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function j(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function E(e){j.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},o(_,w),_.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n>>22,o=i}o>>>=22,e.words[n-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r>>=26,e.words[r]=o,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(v[e])return v[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new k;else if("p192"===e)t=new S;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new O}return v[e]=t,t},j.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},j.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},j.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},j.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},j.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},j.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},j.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},j.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},j.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},j.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},j.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},j.prototype.isqr=function(e){return this.imul(e,e.clone())},j.prototype.sqr=function(e){return this.mul(e,e)},j.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);n(!o.isZero());var a=new i(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,o),d=this.pow(e,o.addn(1).iushrn(1)),h=this.pow(e,o),p=s;0!==h.cmp(a);){for(var g=h,m=0;0!==g.cmp(a);m++)g=g.redSqr();n(m=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var f=u>>l&1;o!==r[0]&&(o=this.sqr(o)),0!==f||0!==s?(s<<=1,s|=f,(4===++a||0===n&&0===l)&&(o=this.mul(o,r[s]),a=0,s=0)):a=0}c=26}return o},j.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},j.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new E(e)},o(E,j),E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},E.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),i=o;return o.cmp(this.m)>=0?i=o.isub(this.m):o.cmpn(0)<0&&(i=o.iadd(this.m)),i._forceRed(this)},E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},E.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(71)(e))},function(e,t,r){"use strict";const n=t;n.bignum=r(6),n.define=r(522).define,n.base=r(525),n.constants=r(526),n.decoders=r(286),n.encoders=r(284)},function(e,t,r){"use strict";const n=t;n.der=r(285),n.pem=r(523)},function(e,t,r){"use strict";const n=r(4),o=r(165).Buffer,i=r(166),s=r(168);function a(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){i.call(this,"der",e)}function u(e){return e<10?"0"+e:e}e.exports=a,a.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},n(c,i),c.prototype._encodeComposite=function(e,t,r,n){const i=function(e,t,r,n){let o;"seqof"===e?e="seq":"setof"===e&&(e="set");if(s.tagByName.hasOwnProperty(e))o=s.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);o=e}if(o>=31)return n.error("Multi-octet tag encoding unsupported");t||(o|=32);return o|=s.tagClassByName[r||"universal"]<<6,o}(e,t,r,this.reporter);if(n.length<128){const e=o.alloc(2);return e[0]=i,e[1]=n.length,this._createEncoderBuffer([e,n])}let a=1;for(let e=n.length;e>=256;e>>=8)a++;const c=o.alloc(2+a);c[0]=i,c[1]=128|a;for(let e=1+a,t=n.length;t>0;e--,t>>=8)c[e]=255&t;return this._createEncoderBuffer([c,n])},c.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){const t=o.alloc(2*e.length);for(let r=0;r=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}let n=0;for(let t=0;t=128;r>>=7)n++}const i=o.alloc(n);let s=i.length-1;for(let t=e.length-1;t>=0;t--){let r=e[t];for(i[s--]=127&r;(r>>=7)>0;)i[s--]=128|127&r}return this._createEncoderBuffer(i)},c.prototype._encodeTime=function(e,t){let r;const n=new Date(e);return"gentime"===t?r=[u(n.getUTCFullYear()),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[u(n.getUTCFullYear()%100),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!o.isBuffer(e)){const t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=o.from(t)}if(o.isBuffer(e)){let t=e.length;0===e.length&&t++;const r=o.alloc(t);return e.copy(r),0===e.length&&(r[0]=0),this._createEncoderBuffer(r)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let r=1;for(let t=e;t>=256;t>>=8)r++;const n=new Array(r);for(let t=n.length-1;t>=0;t--)n[t]=255&e,e>>=8;return 128&n[0]&&n.unshift(0),this._createEncoderBuffer(o.from(n))},c.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},c.prototype._skipDefault=function(e,t,r){const n=this._baseState;let o;if(null===n.default)return!1;const i=e.join();if(void 0===n.defaultBuffer&&(n.defaultBuffer=this._encodeValue(n.default,t,r).join()),i.length!==n.defaultBuffer.length)return!1;for(o=0;o>6],o=0==(32&r);if(31==(31&r)){let n=r;for(r=0;128==(128&n);){if(n=e.readUInt8(t),e.isError(n))return n;r<<=7,r|=127&n}}else r&=31;return{cls:n,primitive:o,tag:r,tagStr:a.tag[r]}}function f(e,t,r){let n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0==(128&n))return n;const o=127&n;if(o>4)return e.error("length octect is too long");n=0;for(let t=0;t>>16&65535|0,s=0;0!==r;){r-=s=r>2e3?2e3:r;do{i=i+(o=o+t[n++]|0)|0}while(--s);o%=65521,i%=65521}return o|i<<16|0}},function(e,t,r){"use strict";var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();e.exports=function(e,t,r,o){var i=n,s=o+r;e^=-1;for(var a=o;a>>8^i[255&(e^t[a])];return-1^e}},function(e,t,r){"use strict";var n=r(57),o=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(e){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){i=!1}for(var s=new n.Buf8(256),a=0;a<256;a++)s[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;function c(e,t){if(t<65534&&(e.subarray&&i||!e.subarray&&o))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",s=0;s>>6,t[s++]=128|63&r):r<65536?(t[s++]=224|r>>>12,t[s++]=128|r>>>6&63,t[s++]=128|63&r):(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63,t[s++]=128|r>>>6&63,t[s++]=128|63&r);return t},t.buf2binstring=function(e){return c(e,e.length)},t.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,o=t.length;r4)u[n++]=65533,r+=i-1;else{for(o&=2===i?31:3===i?15:7;i>1&&r1?u[n++]=65533:o<65536?u[n++]=o:(o-=65536,u[n++]=55296|o>>10&1023,u[n++]=56320|1023&o)}return c(u,n)},t.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}},function(e,t,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(e,t,r){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={};let o;t.wordlists=n,t._default=o;try{t._default=o=r(548),n.czech=o}catch(e){}try{t._default=o=r(549),n.chinese_simplified=o}catch(e){}try{t._default=o=r(550),n.chinese_traditional=o}catch(e){}try{t._default=o=r(551),n.korean=o}catch(e){}try{t._default=o=r(552),n.french=o}catch(e){}try{t._default=o=r(553),n.italian=o}catch(e){}try{t._default=o=r(554),n.spanish=o}catch(e){}try{t._default=o=r(555),n.japanese=o,n.JA=o}catch(e){}try{t._default=o=r(556),n.english=o,n.EN=o}catch(e){}},function(e,t,r){"use strict";var n=r(54),o=r(560);e.exports=o((function(e){var t=n("sha256").update(e).digest();return n("sha256").update(t).digest()}))},function(e,t,r){var n=r(170);function o(e){return e.name||e.toString().match(/function (.*?)\s*\(/)[1]}function i(e){return n.Nil(e)?"":o(e.constructor)}function s(e,t){Error.captureStackTrace&&Error.captureStackTrace(e,t)}function a(e){return n.Function(e)?e.toJSON?e.toJSON():o(e):n.Array(e)?"Array":e&&n.Object(e)?"Object":void 0!==e?e:""}function c(e,t,r){var o=function(e){return n.Function(e)?"":n.String(e)?JSON.stringify(e):e&&n.Object(e)?"":e}(t);return"Expected "+a(e)+", got"+(""!==r?" "+r:"")+(""!==o?" "+o:"")}function u(e,t,r){r=r||i(t),this.message=c(e,t,r),s(this,u),this.__type=e,this.__value=t,this.__valueTypeName=r}function l(e,t,r,n,o){e?(o=o||i(n),this.message=function(e,t,r,n,o){var i='" of type ';return"key"===t&&(i='" with key type '),c('property "'+a(r)+i+a(e),n,o)}(e,r,t,n,o)):this.message='Unexpected property "'+t+'"',s(this,u),this.__label=r,this.__property=t,this.__type=e,this.__value=n,this.__valueTypeName=o}u.prototype=Object.create(Error.prototype),u.prototype.constructor=u,l.prototype=Object.create(Error.prototype),l.prototype.constructor=u,e.exports={TfTypeError:u,TfPropertyTypeError:l,tfCustomError:function(e,t){return new u(e,{},t)},tfSubError:function(e,t,r){return e instanceof l?(t=t+"."+e.__property,e=new l(e.__type,t,e.__label,e.__value,e.__valueTypeName)):e instanceof u&&(e=new l(e.__type,t,r,e.__value,e.__valueTypeName)),s(e),e},tfJSON:a,getValueTypeName:i}},function(e,t,r){var n;e.exports=(n=r(9),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,s=t.algo,a=[],c=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,o=0;o<64;)t(n)&&(o<8&&(a[o]=r(e.pow(n,.5))),c[o]=r(e.pow(n,1/3)),o++),n++}();var u=[],l=s.SHA256=i.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],s=r[3],a=r[4],l=r[5],f=r[6],d=r[7],h=0;h<64;h++){if(h<16)u[h]=0|e[t+h];else{var p=u[h-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,m=u[h-2],y=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;u[h]=g+u[h-7]+y+u[h-16]}var b=n&o^n&i^o&i,v=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),w=d+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&l^~a&f)+c[h]+u[h];d=f,f=l,l=a,a=s+w|0,s=i,i=o,o=n,n=w+(v+b)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0,r[5]=r[5]+l|0,r[6]=r[6]+f|0,r[7]=r[7]+d|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=e.floor(n/4294967296),r[15+(o+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(l),t.HmacSHA256=i._createHmacHelper(l)}(Math),n.SHA256)},function(e,t,r){var n;e.exports=(n=r(9),r(125),function(){var e=n,t=e.lib.Hasher,r=e.x64,o=r.Word,i=r.WordArray,s=e.algo;function a(){return o.create.apply(o,arguments)}var c=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],u=[];!function(){for(var e=0;e<80;e++)u[e]=a()}();var l=s.SHA512=t.extend({_doReset:function(){this._hash=new i.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],s=r[3],a=r[4],l=r[5],f=r[6],d=r[7],h=n.high,p=n.low,g=o.high,m=o.low,y=i.high,b=i.low,v=s.high,w=s.low,_=a.high,k=a.low,S=l.high,O=l.low,j=f.high,E=f.low,P=d.high,x=d.low,A=h,M=p,I=g,C=m,R=y,T=b,N=v,B=w,D=_,L=k,U=S,q=O,H=j,z=E,F=P,K=x,$=0;$<80;$++){var V,J,G=u[$];if($<16)J=G.high=0|e[t+2*$],V=G.low=0|e[t+2*$+1];else{var W=u[$-15],Q=W.high,Z=W.low,Y=(Q>>>1|Z<<31)^(Q>>>8|Z<<24)^Q>>>7,X=(Z>>>1|Q<<31)^(Z>>>8|Q<<24)^(Z>>>7|Q<<25),ee=u[$-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,oe=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),ie=u[$-7],se=ie.high,ae=ie.low,ce=u[$-16],ue=ce.high,le=ce.low;J=(J=(J=Y+se+((V=X+ae)>>>0>>0?1:0))+ne+((V+=oe)>>>0>>0?1:0))+ue+((V+=le)>>>0>>0?1:0),G.high=J,G.low=V}var fe,de=D&U^~D&H,he=L&q^~L&z,pe=A&I^A&R^I&R,ge=M&C^M&T^C&T,me=(A>>>28|M<<4)^(A<<30|M>>>2)^(A<<25|M>>>7),ye=(M>>>28|A<<4)^(M<<30|A>>>2)^(M<<25|A>>>7),be=(D>>>14|L<<18)^(D>>>18|L<<14)^(D<<23|L>>>9),ve=(L>>>14|D<<18)^(L>>>18|D<<14)^(L<<23|D>>>9),we=c[$],_e=we.high,ke=we.low,Se=F+be+((fe=K+ve)>>>0>>0?1:0),Oe=ye+ge;F=H,K=z,H=U,z=q,U=D,q=L,D=N+(Se=(Se=(Se=Se+de+((fe+=he)>>>0>>0?1:0))+_e+((fe+=ke)>>>0>>0?1:0))+J+((fe+=V)>>>0>>0?1:0))+((L=B+fe|0)>>>0>>0?1:0)|0,N=R,B=T,R=I,T=C,I=A,C=M,A=Se+(me+pe+(Oe>>>0>>0?1:0))+((M=fe+Oe|0)>>>0>>0?1:0)|0}p=n.low=p+M,n.high=h+A+(p>>>0>>0?1:0),m=o.low=m+C,o.high=g+I+(m>>>0>>0?1:0),b=i.low=b+T,i.high=y+R+(b>>>0>>0?1:0),w=s.low=w+B,s.high=v+N+(w>>>0>>0?1:0),k=a.low=k+L,a.high=_+D+(k>>>0>>0?1:0),O=l.low=O+q,l.high=S+U+(O>>>0>>0?1:0),E=f.low=E+z,f.high=j+H+(E>>>0>>0?1:0),x=d.low=x+K,d.high=P+F+(x>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(l),e.HmacSHA512=t._createHmacHelper(l)}(),n.SHA512)},function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(i)})),e.exports=c}).call(this,r(13))},function(e,t,r){"use strict";var n=r(28),o=r(599),i=r(601),s=r(303),a=r(602),c=r(605),u=r(606),l=r(307);e.exports=function(e){return new Promise((function(t,r){var f=e.data,d=e.headers;n.isFormData(f)&&delete d["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var p=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(p+":"+g)}var m=a(e.baseURL,e.url);if(h.open(e.method.toUpperCase(),s(m,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,i={data:e.responseType&&"text"!==e.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};o(t,r,i),h=null}},h.onabort=function(){h&&(r(l("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(l("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(l(t,e,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var y=(e.withCredentials||u(m))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;y&&(d[e.xsrfHeaderName]=y)}if("setRequestHeader"in h&&n.forEach(d,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete d[t]:h.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),e.responseType)try{h.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),r(e),h=null)})),f||(f=null),h.send(f)}))}},function(e,t,r){"use strict";var n=r(600);e.exports=function(e,t,r,o,i){var s=new Error(e);return n(s,t,r,o,i)}},function(e,t,r){"use strict";var n=r(28);e.exports=function(e,t){t=t||{};var r={},o=["url","method","data"],i=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function c(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function u(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(r[o]=c(void 0,e[o])):r[o]=c(e[o],t[o])}n.forEach(o,(function(e){n.isUndefined(t[e])||(r[e]=c(void 0,t[e]))})),n.forEach(i,u),n.forEach(s,(function(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(r[o]=c(void 0,e[o])):r[o]=c(void 0,t[o])})),n.forEach(a,(function(n){n in t?r[n]=c(e[n],t[n]):n in e&&(r[n]=c(void 0,e[n]))}));var l=o.concat(i).concat(s).concat(a),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===l.indexOf(e)}));return n.forEach(f,u),r}},function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAttribute=t.parseLogs=t.parseLog=t.parseEvent=t.parseAttribute=void 0;const n=r(100);function o(e){if(!n.isNonNullObject(e))throw new Error("Attribute must be a non-null object");const{key:t,value:r}=e;if("string"!=typeof t||!t)throw new Error("Attribute's key must be a non-empty string");if("string"!=typeof r&&void 0!==r)throw new Error("Attribute's value must be a string or unset");return{key:t,value:r||""}}function i(e){if(!n.isNonNullObject(e))throw new Error("Event must be a non-null object");const{type:t,attributes:r}=e;if("string"!=typeof t||""===t)throw new Error("Event type must be a non-empty string");if(!Array.isArray(r))throw new Error("Event's attributes must be an array");return{type:t,attributes:r.map(o)}}function s(e){if(!n.isNonNullObject(e))throw new Error("Log must be a non-null object");const{msg_index:t,log:r,events:o}=e;if("number"!=typeof t)throw new Error("Log's msg_index must be a number");if("string"!=typeof r)throw new Error("Log's log must be a string");if(!Array.isArray(o))throw new Error("Log's events must be an array");return{msg_index:t,log:r,events:o.map(i)}}t.parseAttribute=o,t.parseEvent=i,t.parseLog=s,t.parseLogs=function(e){if(!Array.isArray(e))throw new Error("Logs must be an array");return e.map(s)},t.findAttribute=function(e,t,r){var n;const o=e.find(()=>!0),i=null===(n=null==o?void 0:o.events.find(e=>e.type===t))||void 0===n?void 0:n.attributes.find(e=>e.key===r);if(!i)throw new Error(`Could not find attribute '${r}' in first event of type '${t}' in first log.`);return i}},function(e,t,r){!function(t){"use strict";for(var r=[null,0,{}],n=function(e,t){this.codepoint=e,this.feature=t},o={},i=[],s=0;s<=255;++s)i[s]=0;var a=[function(e,t,o){return t<60||13311>8&255]>10&&(o[t]=n),n},function(e,t,r){return r?e(t,r):new n(t,null)},function(e,t,r){var o;if(t<4352||4371<=t&&t<44032||55204=55296&&e<=56319},n.isLowSurrogate=function(e){return e>=56320&&e<=57343},n.prototype.prepFeature=function(){this.feature||(this.feature=n.fromCharCode(this.codepoint,!0).feature)},n.prototype.toString=function(){if(this.codepoint<65536)return String.fromCharCode(this.codepoint);var e=this.codepoint-65536;return String.fromCharCode(Math.floor(e/1024)+55296,e%1024+56320)},n.prototype.getDecomp=function(){return this.prepFeature(),this.feature[0]||null},n.prototype.isCompatibility=function(){return this.prepFeature(),!!this.feature[1]&&256&this.feature[1]},n.prototype.isExclude=function(){return this.prepFeature(),!!this.feature[1]&&512&this.feature[1]},n.prototype.getCanonicalClass=function(){return this.prepFeature(),this.feature[1]?255&this.feature[1]:0},n.prototype.getComposite=function(e){if(this.prepFeature(),!this.feature[2])return null;var t=this.feature[2][e.codepoint];return t?n.fromCharCode(t):null};var c=function(e){this.str=e,this.cursor=0};c.prototype.next=function(){if(this.str&&this.cursor0;--r){if(this.resBuf[r-1].getCanonicalClass()<=e)break}this.resBuf.splice(r,0,t)}while(0!==e);return this.resBuf.shift()};var f=function(e){this.it=e,this.procBuf=[],this.resBuf=[],this.lastClass=null};f.prototype.next=function(){for(;0===this.resBuf.length;){var e=this.it.next();if(!e){this.resBuf=this.procBuf,this.procBuf=[];break}if(0===this.procBuf.length)this.lastClass=e.getCanonicalClass(),this.procBuf.push(e);else{var t=this.procBuf[0].getComposite(e),r=e.getCanonicalClass();t&&(this.lastClass(new e).update(t).digest();let n=t;if(n.length>r&&(n=this.hash(n)),n.length92^e),this.iKeyPad=n.map(e=>54^e),this.messageHasher=new e,this.blockSize=r,this.update(this.iKeyPad)}update(e){return this.messageHasher.update(e),this}digest(){const e=this.messageHasher.digest();return this.hash(new Uint8Array([...this.oKeyPad,...e]))}}},function(e,t,r){"use strict";r.r(t),t.default={}},function(e,t,r){"use strict";function n(e){let t=0;for(const r of e){if(0!==r)break;t++}return e.slice(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedSecp256k1Signature=t.Secp256k1Signature=void 0;class o{constructor(e,t){if(e.length>32||0===e.length||0===e[0])throw new Error("Unsigned integer r must be encoded as unpadded big endian.");if(t.length>32||0===t.length||0===t[0])throw new Error("Unsigned integer s must be encoded as unpadded big endian.");this.data={r:e,s:t}}static fromFixedLength(e){if(64!==e.length)throw new Error(`Got invalid data length: ${e.length}. Expected 2x 32 bytes for the pair (r, s)`);return new o(n(e.slice(0,32)),n(e.slice(32,64)))}static fromDer(e){let t=0;if(48!==e[t++])throw new Error("Prefix 0x30 expected");const r=e[t++];if(e.length-t!==r)throw new Error("Data length mismatch detected");if(2!==e[t++])throw new Error("INTEGER tag expected");const i=e[t++];if(i>=128)throw new Error("Decoding length values above 127 not supported");const s=e.slice(t,t+i);t+=i;if(2!==e[t++])throw new Error("INTEGER tag expected");const a=e[t++];if(a>=128)throw new Error("Decoding length values above 127 not supported");const c=e.slice(t,t+a);return t+=a,new o(n(s),n(c))}r(e){if(void 0===e)return this.data.r;{const t=e-this.data.r.length;if(t<0)throw new Error("Length too small to hold parameter r");const r=new Uint8Array(t);return new Uint8Array([...r,...this.data.r])}}s(e){if(void 0===e)return this.data.s;{const t=e-this.data.s.length;if(t<0)throw new Error("Length too small to hold parameter s");const r=new Uint8Array(t);return new Uint8Array([...r,...this.data.s])}}toFixedLength(){return new Uint8Array([...this.r(32),...this.s(32)])}toDer(){const e=this.data.r[0]>=128?new Uint8Array([0,...this.data.r]):this.data.r,t=this.data.s[0]>=128?new Uint8Array([0,...this.data.s]):this.data.s,r=e.length,n=t.length,o=new Uint8Array([2,r,...e,2,n,...t]);return new Uint8Array([48,o.length,...o])}}t.Secp256k1Signature=o;class i extends o{constructor(e,t,r){if(super(e,t),!Number.isInteger(r))throw new Error("The recovery parameter must be an integer.");if(r<0||r>4)throw new Error("The recovery parameter must be one of 0, 1, 2, 3.");this.recovery=r}static fromFixedLength(e){if(65!==e.length)throw new Error(`Got invalid data length ${e.length}. Expected 32 + 32 + 1`);return new i(n(e.slice(0,32)),n(e.slice(32,64)),e[64])}toFixedLength(){return new Uint8Array([...this.r(32),...this.s(32),this.recovery])}}t.ExtendedSecp256k1Signature=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sha512=t.Sha512=t.sha256=t.Sha256=t.sha1=t.Sha1=void 0;const o=n(r(76));class i{constructor(e){this.blockSize=64,this.impl=o.default("sha1"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}t.Sha1=i,t.sha1=function(e){return new i(e).digest()};class s{constructor(e){this.blockSize=64,this.impl=o.default("sha256"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}t.Sha256=s,t.sha256=function(e){return new s(e).digest()};class a{constructor(e){this.blockSize=128,this.impl=o.default("sha512"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}t.Sha512=a,t.sha512=function(e){return new a(e).digest()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseCoins=t.coins=t.coin=void 0;const n=r(82);function o(e,t){return{amount:new n.Uint53(e).toString(),denom:t}}t.coin=o,t.coins=function(e,t){return[o(e,t)]},t.parseCoins=function(e){return e.replace(/\s/g,"").split(",").filter(Boolean).map(e=>{const t=e.match(/^([0-9]+)([a-zA-Z]+)/);if(!t)throw new Error("Got an invalid coin string");return{amount:n.Uint64.fromString(t[1]).toString(),denom:t[2]}})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CosmosClient=t.isSearchByTagsQuery=t.isSearchBySentFromOrToQuery=t.isSearchByHeightQuery=t.assertIsBroadcastTxSuccess=t.isBroadcastTxSuccess=t.isBroadcastTxFailure=void 0;const n=r(50),o=r(39),i=r(82),s=r(174),a=r(310);function c(e){return!!e.code}function u(e){return void 0!==e.height}function l(e){return void 0!==e.sentFromOrTo}function f(e){return void 0!==e.tags}t.isBroadcastTxFailure=c,t.isBroadcastTxSuccess=function(e){return!c(e)},t.assertIsBroadcastTxSuccess=function(e){if(c(e))throw new Error(`Error when broadcasting tx ${e.transactionHash} at height ${e.height}. Code: ${e.code}; Raw log: ${e.rawLog}`)},t.isSearchByHeightQuery=u,t.isSearchBySentFromOrToQuery=l,t.isSearchByTagsQuery=f;t.CosmosClient=class{constructor(e,t=s.BroadcastMode.Block){this.lcdClient=s.LcdClient.withExtensions({apiUrl:e,broadcastMode:t},s.setupAuthExtension)}async getChainId(){if(!this.chainId){const e=(await this.lcdClient.nodeInfo()).node_info.network;if(!e)throw new Error("Chain ID must not be empty");this.chainId=e}return this.chainId}async getHeight(){if(this.anyValidAddress){const{height:e}=await this.lcdClient.auth.account(this.anyValidAddress);return parseInt(e,10)}{const e=await this.lcdClient.blocksLatest();return parseInt(e.block.header.height,10)}}async getIdentifier(e){const t=await this.lcdClient.encodeTx(e),r=n.sha256(o.fromBase64(t.tx));return o.toHex(r).toUpperCase()}async getSequence(e){const t=await this.getAccount(e);if(!t)throw new Error("Account does not exist on chain. Send some tokens there before trying to query sequence.");return{accountNumber:t.accountNumber,sequence:t.sequence}}async getAccount(e){const t=(await this.lcdClient.auth.account(e)).result.value;return""===t.address?void 0:(this.anyValidAddress=t.address,{address:t.address,balance:t.coins,pubkey:s.normalizePubkey(t.public_key)||void 0,accountNumber:s.uint64ToNumber(t.account_number),sequence:s.uint64ToNumber(t.sequence)})}async getBlock(e){const t=void 0!==e?await this.lcdClient.blocks(e):await this.lcdClient.blocksLatest();return{id:t.block_id.hash,header:{version:t.block.header.version,time:t.block.header.time,height:parseInt(t.block.header.height,10),chainId:t.block.header.chain_id},txs:(t.block.data.txs||[]).map(o.fromBase64)}}async getTx(e){var t;return null!==(t=(await this.txsQuery("tx.hash="+e))[0])&&void 0!==t?t:null}async searchTx(e,t={}){const r=t.minHeight||0,n=t.maxHeight||Number.MAX_SAFE_INTEGER;if(nn?[]:await this.txsQuery("tx.height="+e.height);else if(l(e)){const t=o("message.module=bank&message.sender="+e.sentFromOrTo),r=o("message.module=bank&transfer.recipient="+e.sentFromOrTo),n=await this.txsQuery(t),s=await this.txsQuery(r),a=n.map(e=>e.hash);i=[...n,...s.filter(e=>!a.includes(e.hash))]}else{if(!f(e))throw new Error("Unknown query type");{const t=o(e.tags.map(e=>`${e.key}=${e.value}`).join("&"));i=await this.txsQuery(t)}}return i.filter(e=>e.height>=r&&e.height<=n)}async broadcastTx(e){const t=await this.lcdClient.broadcastTx(e);if(!t.txhash.match(/^([0-9A-F][0-9A-F])+$/))throw new Error("Received ill-formatted txhash. Must be non-empty upper-case hex");return void 0!==t.code?{height:i.Uint53.fromString(t.height).toNumber(),transactionHash:t.txhash,code:t.code,rawLog:t.raw_log||""}:{logs:t.logs?a.parseLogs(t.logs):[],rawLog:t.raw_log||"",transactionHash:t.txhash,data:t.data?o.fromHex(t.data):void 0}}async txsQuery(e){const t=await this.lcdClient.txsQuery(e+"&limit=100");if(parseInt(t.page_total,10)>1)throw new Error(`Found more results on the backend than we can process currently. Results: ${t.total_count}, supported: 100`);return t.txs.map(e=>({height:parseInt(e.height,10),hash:e.txhash,code:e.code||0,rawLog:e.raw_log,logs:a.parseLogs(e.logs||[]),tx:e.tx,timestamp:e.timestamp}))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BroadcastMode=void 0,function(e){e.Block="block",e.Sync="sync",e.Async="async"}(t.BroadcastMode||(t.BroadcastMode={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildFeeTable=t.GasPrice=void 0;const n=r(82),o=r(317);class i{constructor(e,t){this.amount=e,this.denom=t}static fromString(e){const t=e.match(/^(?.+?)(?[a-z]+)$/);if(!t)throw new Error("Invalid gas price string");const{amount:r,denom:o}=t.groups;if(o.length<3||o.length>127)throw new Error("Gas price denomination must be between 3 and 127 characters");const s=n.Decimal.fromUserInput(r,18);return new i(s,o)}}function s(e,{denom:t,amount:r}){const i=Math.ceil(r.multiply(new n.Uint53(e)).toFloatApproximation());return{amount:o.coins(i,t),gas:e.toString()}}t.GasPrice=i,t.buildFeeTable=function(e,t,r){return Object.entries(t).reduce((t,[n,o])=>Object.assign(Object.assign({},t),{[n]:s(r[n]||o,e)}),{})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeCosmoshubPath=void 0;const n=r(50);t.makeCosmoshubPath=function(e){return[n.Slip10RawIndex.hardened(44),n.Slip10RawIndex.hardened(118),n.Slip10RawIndex.hardened(0),n.Slip10RawIndex.normal(0),n.Slip10RawIndex.normal(e)]}},function(e,t,r){"use strict";function n(e){const{memo:t,msg:r,fee:n,signatures:o}=e;return"string"==typeof t&&Array.isArray(r)&&"object"==typeof n&&Array.isArray(o)}Object.defineProperty(t,"__esModule",{value:!0}),t.isWrappedStdTx=t.makeStdTx=t.isStdTx=void 0,t.isStdTx=n,t.makeStdTx=function(e,t){return{msg:e.msgs,fee:e.fee,memo:e.memo,signatures:Array.isArray(t)?t:[t]}},t.isWrappedStdTx=function(e){return"cosmos-sdk/StdTx"===e.type&&n(e.value)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decrypt=t.encrypt=t.supportedAlgorithms=t.executeKdf=t.cosmjsSalt=void 0;const n=r(50),o=r(39);t.cosmjsSalt=o.toAscii("The CosmJS salt."),t.executeKdf=async function(e,r){switch(r.algorithm){case"argon2id":{const o=r.params;if(!n.isArgon2idOptions(o))throw new Error("Invalid format of argon2id params");return n.Argon2id.execute(e,t.cosmjsSalt,o)}default:throw new Error("Unsupported KDF algorithm")}},t.supportedAlgorithms={xchacha20poly1305Ietf:"xchacha20poly1305-ietf"},t.encrypt=async function(e,r,o){switch(o.algorithm){case t.supportedAlgorithms.xchacha20poly1305Ietf:{const t=n.Random.getBytes(n.xchacha20NonceLength);return new Uint8Array([...t,...await n.Xchacha20poly1305Ietf.encrypt(e,r,t)])}default:throw new Error(`Unsupported encryption algorithm: '${o.algorithm}'`)}},t.decrypt=async function(e,r,o){switch(o.algorithm){case t.supportedAlgorithms.xchacha20poly1305Ietf:{const t=e.slice(0,n.xchacha20NonceLength);return n.Xchacha20poly1305Ietf.decrypt(e.slice(n.xchacha20NonceLength),r,t)}default:throw new Error(`Unsupported encryption algorithm: '${o.algorithm}'`)}}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(176),t),o(r(650),t),o(r(651),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageRegistry=void 0;t.MessageRegistry=class{constructor(){this.registeredMsgType=new Map}registerMessage(e){if(this.registeredMsgType.has(e.type()))throw new Error("Already registered type "+e.type());this.registeredMsgType.set(e.type(),e)}parseMessage(e){if(!e.type)throw new Error("Null type");const t=this.registeredMsgType.get(e.type);if(!t)throw new Error("Unregistered msg type "+e.type);return Object.setPrototypeOf(e.msg,t.prototype)}}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(656),t),o(r(657),t),o(r(658),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WEBPAGE_PORT=t.APP_PORT=t.BACKGROUND_PORT=void 0,t.BACKGROUND_PORT="background",t.APP_PORT="popup",t.WEBPAGE_PORT="webpage"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionGuards=void 0;class n{}t.ExtensionGuards=n,n.checkOriginIsValid=(e,t,r)=>{if(!r.url)throw new Error("url is empty");if(!t.origin)throw new Error("origin is empty");if(new URL(r.url).origin!==t.origin)throw new Error("Invalid origin");return Promise.resolve()},n.checkMessageIsInternal=(e,t,r)=>{if(!e.isInternalMsg&&!t.approveExternal(e,r))throw new Error("Permission rejected");return Promise.resolve()}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionEnv=void 0;const i=r(407),s=r(327),a=r(326),c=new(o(r(412)).default)({concurrency:1});class u{}t.ExtensionEnv=u,u.produceEnv=e=>{const t=u.checkIsInternalMessage(e,browser.runtime.id,browser.runtime.getURL("/")),r="interaction=true&interactionInternal="+t,o=(e,t,o)=>n(void 0,void 0,void 0,(function*(){e.startsWith("/")&&(e=e.slice(1)),(e=browser.runtime.getURL("/popup.html#/"+e)).includes("?")?e+="&"+r:e+="?"+r;const u=yield function(e,t="default"){return n(this,void 0,void 0,(function*(){return yield c.add(()=>i.openPopupWindow(e,t))}))}(e,null==o?void 0:o.channel),l=(yield browser.windows.get(u,{populate:!0})).tabs[0].id;return yield n(void 0,void 0,void 0,(function*(){if("complete"!==(yield browser.tabs.get(l)).status)return new Promise(e=>{browser.tabs.onUpdated.addListener((t,r)=>{l===t&&"complete"===r.status&&e()})})})),yield a.InExtensionMessageRequester.sendMessageToTab(l,s.APP_PORT,t)}));if(t){return{isInternalMsg:t,requestInteraction:(t,i,c)=>n(void 0,void 0,void 0,(function*(){if(null==c?void 0:c.forceOpenWindow)return yield o(t,i,c);t.startsWith("/")&&(t=t.slice(1)),(t=browser.runtime.getURL("/popup.html#/"+t)).includes("?")?t+="&"+r:t+="?"+r;const n=yield browser.runtime.getBackgroundPage(),u=browser.extension.getViews().filter(e=>e.location.href!==n.location.href),l=u.find(t=>t.location.href===e.url);return(null!=l?l:u[0]).location.href=t,yield(new a.InExtensionMessageRequester).sendMessage(s.APP_PORT,i)}))}}return{isInternalMsg:t,requestInteraction:o}},u.checkIsInternalMessage=(e,t,r)=>{if(!e.url)throw new Error("Empty sender url");const n=new URL(e.url);if(!n.origin||"null"===n.origin)throw new Error("Invalid sender url");const o=new URL(r);if(!o.origin||"null"===o.origin)throw new Error("Invalid browser url");return n.origin===o.origin&&e.id===t}},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s};Object.defineProperty(t,"__esModule",{value:!0}),t.PersistentMemoryService=void 0;const o=r(43);let i=class{constructor(){this.data={}}set(e){this.data=Object.assign(Object.assign({},this.data),e)}get(){return this.data}};i=n([o.singleton()],i),t.PersistentMemoryService=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="persistent-memory"},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChainsService=void 0;const c=r(43),u=r(52),l=r(333),f=r(334),d=r(83),h=r(128),p=r(11),g=a(r(342));let m=class{constructor(e,t,r,n){this.kvStore=e,this.embedChainInfos=t,this.chainUpdaterKeeper=r,this.interactionKeeper=n,this.onChainRemovedHandlers=[],this.getChainInfos=g.default.promise(()=>s(this,void 0,void 0,(function*(){var e;if(this.cachedChainInfos)return this.cachedChainInfos;const t=this.embedChainInfos.map(e=>Object.assign(Object.assign({},e),{embeded:!0})),r=new Map;for(const e of t)r.set(p.ChainIdHelper.parse(e.chainId).identifier,!0);const n=(null!==(e=yield this.kvStore.get("chain-infos"))&&void 0!==e?e:[]).filter(e=>!r.get(p.ChainIdHelper.parse(e.chainId).identifier)).map(e=>Object.assign(Object.assign({},e),{embeded:!1}));let o=t.concat(n);return o=yield Promise.all(o.map(e=>s(this,void 0,void 0,(function*(){const t=yield this.chainUpdaterKeeper.putUpdatedPropertyToChainInfo(e);return Object.assign(Object.assign({},t),{embeded:e.embeded})})))),this.cachedChainInfos=o,o})))}clearCachedChainInfos(){this.cachedChainInfos=void 0}getChainInfo(e){return s(this,void 0,void 0,(function*(){const t=(yield this.getChainInfos()).find(t=>p.ChainIdHelper.parse(t.chainId).identifier===p.ChainIdHelper.parse(e).identifier);if(!t)throw new Error("There is no chain info for "+e);return t}))}getChainCoinType(e){return s(this,void 0,void 0,(function*(){const t=yield this.getChainInfo(e);if(!t)throw new Error("There is no chain info for "+e);return t.bip44.coinType}))}hasChainInfo(e){return s(this,void 0,void 0,(function*(){return null!=(yield this.getChainInfos()).find(t=>p.ChainIdHelper.parse(t.chainId).identifier===p.ChainIdHelper.parse(e).identifier)}))}suggestChainInfo(e,t,r){return s(this,void 0,void 0,(function*(){t=yield l.ChainInfoSchema.validateAsync(t,{stripUnknown:!0}),yield this.interactionKeeper.waitApprove(e,"/suggest-chain",h.SuggestChainInfoMsg.type(),Object.assign(Object.assign({},t),{origin:r})),yield this.addChainInfo(t)}))}addChainInfo(e){var t;return s(this,void 0,void 0,(function*(){if(yield this.hasChainInfo(e.chainId))throw new Error("Same chain is already registered");const r=null!==(t=yield this.kvStore.get("chain-infos"))&&void 0!==t?t:[];r.push(e),yield this.kvStore.set("chain-infos",r),this.clearCachedChainInfos()}))}removeChainInfo(e){var t;return s(this,void 0,void 0,(function*(){if(!(yield this.hasChainInfo(e)))throw new Error("Chain is not registered");if((yield this.getChainInfo(e)).embeded)throw new Error("Can't remove the embedded chain");const r=(null!==(t=yield this.kvStore.get("chain-infos"))&&void 0!==t?t:[]).filter(t=>p.ChainIdHelper.parse(t.chainId).identifier!==p.ChainIdHelper.parse(e).identifier);yield this.kvStore.set("chain-infos",r),yield this.chainUpdaterKeeper.clearUpdatedProperty(e);for(const t of this.onChainRemovedHandlers)t(e,p.ChainIdHelper.parse(e).identifier);this.clearCachedChainInfos()}))}addChainRemovedHandler(e){this.onChainRemovedHandlers.push(e)}};m=n([c.singleton(),i(0,c.inject(u.TYPES.ChainsStore)),i(1,c.inject(u.TYPES.ChainsEmbedChainInfos)),i(2,c.inject(c.delay(()=>f.ChainUpdaterService))),i(3,c.inject(c.delay(()=>d.InteractionService))),o("design:paramtypes",[Object,Array,f.ChainUpdaterService,d.InteractionService])],m),t.ChainsService=m},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChainInfoSchema=t.SuggestingBIP44Schema=t.Bech32ConfigSchema=t.Secret20CurrencyShema=t.CW20CurrencyShema=t.CurrencySchema=void 0;const o=n(r(670));t.CurrencySchema=o.default.object({coinDenom:o.default.string().required(),coinMinimalDenom:o.default.string().required(),coinDecimals:o.default.number().integer().min(0).max(18).required(),coinGeckoId:o.default.string()}),t.CW20CurrencyShema=t.CurrencySchema.keys({type:o.default.string().equal("cw20").required(),contractAddress:o.default.string().required()}).custom(e=>e.coinMinimalDenom.startsWith(`${e.type}:${e.contractAddress}:`)?e:Object.assign(Object.assign({},e),{coinMinimalDenom:`${e.type}:${e.contractAddress}:`+e.coinMinimalDenom})),t.Secret20CurrencyShema=t.CurrencySchema.keys({type:o.default.string().equal("secret20").required(),contractAddress:o.default.string().required(),viewingKey:o.default.string().required()}).custom(e=>e.coinMinimalDenom.startsWith(`${e.type}:${e.contractAddress}:`)?e:Object.assign(Object.assign({},e),{coinMinimalDenom:`${e.type}:${e.contractAddress}:`+e.coinMinimalDenom})),t.Bech32ConfigSchema=o.default.object({bech32PrefixAccAddr:o.default.string().required(),bech32PrefixAccPub:o.default.string().required(),bech32PrefixValAddr:o.default.string().required(),bech32PrefixValPub:o.default.string().required(),bech32PrefixConsAddr:o.default.string().required(),bech32PrefixConsPub:o.default.string().required()}),t.SuggestingBIP44Schema=o.default.object({coinType:o.default.number().integer().min(0).required()}).unknown(!0),t.ChainInfoSchema=o.default.object({rpc:o.default.string().required().uri(),rest:o.default.string().required().uri(),chainId:o.default.string().required().min(1).max(30),chainName:o.default.string().required().min(1).max(30),stakeCurrency:t.CurrencySchema.required(),walletUrl:o.default.string().uri(),walletUrlForStaking:o.default.string().uri(),bip44:t.SuggestingBIP44Schema.required(),bech32Config:t.Bech32ConfigSchema.required(),currencies:o.default.array().min(1).items(t.CurrencySchema,t.CW20CurrencyShema,t.Secret20CurrencyShema).required(),feeCurrencies:o.default.array().min(1).items(t.CurrencySchema).required(),coinType:o.default.number().integer(),beta:o.default.boolean(),gasPriceStep:o.default.object({low:o.default.number().required(),average:o.default.number().required(),high:o.default.number().required()}),features:o.default.array().items(o.default.string().valid("stargate","cosmwasm","secretwasm","ibc-transfer")).unique().custom(e=>{if(e.indexOf("cosmwasm")>=0&&e.indexOf("secretwasm")>=0)throw new Error("cosmwasm and secretwasm are not compatible");return e})})},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(335),t),o(r(178),t)},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChainUpdaterService=void 0;const c=r(43),u=r(52),l=a(r(68)),f=r(11),d=r(58);let h=class{constructor(e,t){this.kvStore=e,this.chainsService=t}putUpdatedPropertyToChainInfo(e){var t,r;return s(this,void 0,void 0,(function*(){const n=yield this.getUpdatedChainProperty(e.chainId),o=f.ChainIdHelper.parse(e.chainId);if(f.ChainIdHelper.parse(n.chainId||e.chainId).versiond.ChainsService))),o("design:paramtypes",[Object,d.ChainsService])],h),t.ChainUpdaterService=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="chains"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="chain-updator"},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionService=void 0;const a=r(43),c=r(52),u=r(339);let l=class{constructor(e,t){this.eventMsgRequester=e,this.rng=t,this.waitingMap=new Map,this.resolverMap=new Map}dispatchEvent(e,t,r){return s(this,void 0,void 0,(function*(){if(!t)throw new Error("Type should not be empty");const n=new u.PushEventDataMsg({type:t,data:r});try{yield this.eventMsgRequester.sendMessage(e,n)}catch(t){console.log(`Failed to send the event to ${e}: ${t.message}`)}}))}waitApprove(e,t,r,n,o){return s(this,void 0,void 0,(function*(){if(!r)throw new Error("Type should not be empty");const i=yield this.addDataToMap(r,n),s=new u.PushInteractionDataMsg(i);return yield this.wait(s.data.id,()=>{e.requestInteraction(t,s,o)})}))}wait(e,t){return s(this,void 0,void 0,(function*(){if(this.resolverMap.has(e))throw new Error("Id is aleady in use");return new Promise((r,n)=>{this.resolverMap.set(e,{onApprove:r,onReject:n}),t()})}))}approve(e,t){this.resolverMap.has(e)&&(this.resolverMap.get(e).onApprove(t),this.resolverMap.delete(e))}reject(e){this.resolverMap.has(e)&&(this.resolverMap.get(e).onReject(new Error("Request rejected")),this.resolverMap.delete(e))}addDataToMap(e,t){return s(this,void 0,void 0,(function*(){const r=new Uint8Array(8),n=Array.from(yield this.rng(r)).map(e=>e.toString(16)).join(""),o={id:n,type:e,data:t};if(this.waitingMap.has(n))throw new Error("Id is aleady in use");return this.waitingMap.set(n,o),o}))}removeDataFromMap(e){this.waitingMap.delete(e)}};l=n([a.singleton(),i(0,a.inject(c.TYPES.EventMsgRequester)),i(1,a.inject(c.TYPES.RNG)),o("design:paramtypes",[Object,Function])],l),t.InteractionService=l},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(671),t),o(r(179),t),o(r(672),t),o(r(673),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="interaction-foreground"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="interaction"},function(e,t,r){"use strict";r.r(t);const n=(e,t,r={})=>{if(!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let n,o,i=[];return function(...s){return new Promise(a=>{const c=r.leading&&!o;clearTimeout(o),o=setTimeout(()=>{o=null;const t=r.leading?n:e.apply(this,s);for(a of i)a(t);i=[]},t),c?(n=e.apply(this,s),a(n)):i.push(a)})}};n.promise=e=>{let t;return async function(...r){if(t)return t;try{return t=e.apply(this,r),await t}finally{t=void 0}}},t.default=n},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LedgerService=void 0;const c=r(43),u=r(52),l=r(344),f=a(r(386)),d=r(18),h=r(83),p=r(2);let g=class{constructor(e,t){this.kvStore=e,this.interactionService=t}getPublicKey(e,t){return s(this,void 0,void 0,(function*(){return yield this.useLedger(e,(e,r)=>s(this,void 0,void 0,(function*(){try{return yield e.getPublicKey([44,118,t.account,t.change,t.addressIndex])}finally{r>0&&(yield this.interactionService.dispatchEvent(d.APP_PORT,"ledger-init",{event:"get-pubkey",success:!0}))}})))}))}sign(e,t,r,n){return s(this,void 0,void 0,(function*(){return yield this.useLedger(e,(e,o)=>s(this,void 0,void 0,(function*(){try{const i=yield e.getPublicKey([44,118,t.account,t.change,t.addressIndex]);if(p.Buffer.from(r).toString("hex")!==p.Buffer.from(i).toString("hex"))throw new Error("Unmatched public key");const s=yield e.sign([44,118,t.account,t.change,t.addressIndex],n);return o>0&&(yield this.interactionService.dispatchEvent(d.APP_PORT,"ledger-init",{event:"sign",success:!0})),s}catch(e){throw o>0&&(yield this.interactionService.dispatchEvent(d.APP_PORT,"ledger-init",{event:"sign",success:!1})),e}})))}))}useLedger(e,t){return s(this,void 0,void 0,(function*(){let r;try{return r=yield this.initLedger(e),yield t(r.ledger,r.retryCount)}finally{r&&(yield r.ledger.close())}}))}initLedger(e){return s(this,void 0,void 0,(function*(){this.previousInitAborter&&this.previousInitAborter(new Error("New ledger request occurred before the ledger was initialized"));const t=(()=>{let e;return{wait:()=>new Promise((t,r)=>{e=r}),abort:t=>{e&&e(t)}}})();this.previousInitAborter=t.abort;let r=0;for(;;){try{const e=yield l.Ledger.init(yield this.getWebHIDFlag());return this.previousInitAborter=void 0,{ledger:e,retryCount:r}}catch(r){console.log(r);const n=new AbortController;try{yield Promise.race([this.interactionService.waitApprove(e,"/ledger-grant","ledger-init",{event:"init-failed"},{forceOpenWindow:!0,channel:"ledger"}),(()=>s(this,void 0,void 0,(function*(){let e=!1;try{yield f.default(3e5,{signal:n.signal})}catch(t){if("AbortError"!==t.name)throw t;e=!0}if(!e)throw yield this.interactionService.dispatchEvent(d.APP_PORT,"ledger-init",{event:"init-aborted"}),new Error("Ledger init timeout")})))(),t.wait(),this.testLedgerGrantUIOpened()])}finally{n.abort()}}r++}}))}testLedgerGrantUIOpened(){return s(this,void 0,void 0,(function*(){for(yield f.default(1e3);;){const e=browser.extension.getViews();let t=!1;for(const r of e)if(r.location.href.includes(browser.runtime.getURL("popup.html#/ledger-grant"))){t=!0;break}if(!t)throw new Error("Ledger init aborted");yield f.default(1e3)}}))}getWebHIDFlag(){return s(this,void 0,void 0,(function*(){return!!(yield this.kvStore.get("webhid"))}))}setWebHIDFlag(e){return s(this,void 0,void 0,(function*(){yield this.kvStore.set("webhid",e)}))}};g=n([c.singleton(),i(0,c.inject(u.TYPES.LedgerStore)),i(1,c.inject(c.delay(()=>h.InteractionService))),o("design:paramtypes",[Object,h.InteractionService])],g),t.LedgerService=g},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Ledger=t.LedgerInitError=t.LedgerInitErrorOn=void 0;const i=r(679).default,s=o(r(685)),a=o(r(712)),c=r(398);var u;!function(e){e[e.Transport=0]="Transport",e[e.App=1]="App",e[e.Unknown=2]="Unknown"}(u=t.LedgerInitErrorOn||(t.LedgerInitErrorOn={}));class l extends Error{constructor(e,t){super(t),this.errorOn=e,Object.setPrototypeOf(this,l.prototype)}}t.LedgerInitError=l;class f{constructor(e){this.cosmosApp=e}static init(e=!1){return n(this,void 0,void 0,(function*(){let t;try{t=e?yield a.default.create():yield s.default.create()}catch(e){throw new l(u.Transport,e.message)}try{const e=new i(t),r=new f(e);if((yield r.getVersion()).deviceLocked)throw new Error("Device is on screen saver");return r}catch(e){if(t&&(yield t.close()),"Device is on screen saver"===e.message)throw new l(u.Transport,e.message);throw new l(u.App,e.message)}}))}getVersion(){return n(this,void 0,void 0,(function*(){if(!this.cosmosApp)throw new Error("Comsos App not initialized");const e=yield this.cosmosApp.getVersion();if("No errors"!==e.error_message)throw new Error(e.error_message);return{deviceLocked:e.device_locked,major:e.major,minor:e.minor,patch:e.patch,targetId:e.target_id,testMode:e.test_mode}}))}getPublicKey(e){return n(this,void 0,void 0,(function*(){if(!this.cosmosApp)throw new Error("Comsos App not initialized");const t=yield this.cosmosApp.publicKey(e);if("No errors"!==t.error_message)throw new Error(t.error_message);return t.compressed_pk}))}sign(e,t){return n(this,void 0,void 0,(function*(){if(!this.cosmosApp)throw new Error("Comsos App not initialized");const r=yield this.cosmosApp.sign(e,t);if("No errors"!==r.error_message)throw new Error(r.error_message);return c.signatureImport(r.signature)}))}close(){return n(this,void 0,void 0,(function*(){return yield this.cosmosApp.transport.close()}))}static isWebHIDSupported(){return n(this,void 0,void 0,(function*(){return yield a.default.isSupported()}))}}t.Ledger=f},function(e,t,r){"use strict";(function(e){var n=r(115);Object.defineProperty(t,"__esModule",{value:!0}),t.serializePathv1=function(t){if(null==t||t.length<3)throw new Error("Invalid path.");if(t.length>10)throw new Error("Invalid path. Length should be <= 10");var r=e.alloc(1+4*t.length);r.writeUInt8(t.length,0);for(var n=0;n2&&(o=e.slice(0,e.length-2)),{signature:o,return_code:r,error_message:n}}),s.processErrorResponse));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function c(t){if(65!==t.length)throw new Error("decompressed public key length should be 65 bytes");var r=t.slice(33,65),n=e.from([2+(1&r[r.length-1])]);return e.concat([n,t.slice(1,33)])}function u(){return(u=(0,i.default)(o.default.mark((function t(r,n){return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r.transport.send(s.CLA,s.INS.INS_PUBLIC_KEY_SECP256K1,0,0,n,[s.ERROR_CODE.NoError]).then((function(t){var r=t.slice(-2),n=256*r[0]+r[1],o=e.from(t.slice(0,65));return{pk:o,compressed_pk:c(o),return_code:n,error_message:(0,s.errorCodeToString)(n)}}),s.processErrorResponse));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}}).call(this,r(2).Buffer)},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>0!==n(e,t,r)},function(e,t,r){const n=r(183),o=r(346),i=r(134),s=r(186),a=r(185),c=r(187);e.exports=(e,t,r,u)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,u);case"!=":return o(e,r,u);case">":return i(e,r,u);case">=":return s(e,r,u);case"<":return a(e,r,u);case"<=":return c(e,r,u);default:throw new TypeError("Invalid operator: "+t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="ledger"},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.KeyRingService=void 0;const a=r(43),c=r(52),u=r(190),l=r(11),f=r(58),d=r(350),h=r(18),p=r(83),g=r(102),m=r(114),y=r(719),b=r(11);let v=class{constructor(e,t,r,n,o,i,s){this.interactionService=r,this.chainsService=n,this.permissionService=o,this.rng=s,this.keyRing=new u.KeyRing(t,e,i,s)}restore(){return s(this,void 0,void 0,(function*(){return yield this.keyRing.restore(),{status:this.keyRing.status,type:this.keyRing.type,multiKeyStoreInfo:this.keyRing.getMultiKeyStoreInfo()}}))}enable(e){return s(this,void 0,void 0,(function*(){if(this.keyRing.status===u.KeyRingStatus.EMPTY)throw new Error("key doesn't exist");return this.keyRing.status===u.KeyRingStatus.NOTLOADED&&(yield this.keyRing.restore()),this.keyRing.status===u.KeyRingStatus.LOCKED?(yield this.interactionService.waitApprove(e,"/unlock","unlock",{}),this.keyRing.status):this.keyRing.status}))}get keyRingStatus(){return this.keyRing.status}deleteKeyRing(e,t){return s(this,void 0,void 0,(function*(){return{multiKeyStoreInfo:yield this.keyRing.deleteKeyRing(e,t),status:this.keyRing.status}}))}updateNameKeyRing(e,t){return s(this,void 0,void 0,(function*(){return{multiKeyStoreInfo:yield this.keyRing.updateNameKeyRing(e,t),status:this.keyRing.status}}))}showKeyRing(e,t){return s(this,void 0,void 0,(function*(){return yield this.keyRing.showKeyRing(e,t)}))}createMnemonicKey(e,t,r,n){return s(this,void 0,void 0,(function*(){return yield this.keyRing.createMnemonicKey(e,t,r,n),this.keyRing.status}))}createPrivateKey(e,t,r){return s(this,void 0,void 0,(function*(){return yield this.keyRing.createPrivateKey(e,t,r),this.keyRing.status}))}createLedgerKey(e,t,r,n){return s(this,void 0,void 0,(function*(){return yield this.keyRing.createLedgerKey(e,t,r,n),this.keyRing.status}))}lock(){return this.keyRing.lock(),this.keyRing.status}unlock(e){return s(this,void 0,void 0,(function*(){return yield this.keyRing.unlock(e),this.keyRing.status}))}getKey(e){return s(this,void 0,void 0,(function*(){return this.keyRing.getKey(e,yield this.chainsService.getChainCoinType(e))}))}getKeyStoreMeta(e){return this.keyRing.getKeyStoreMeta(e)}getKeyRingType(){return this.keyRing.type}requestSignAmino(e,t,r,n,o){return s(this,void 0,void 0,(function*(){const i=yield this.chainsService.getChainCoinType(t),s=yield this.keyRing.getKey(t,i),a=new l.Bech32Address(s.address).toBech32((yield this.chainsService.getChainInfo(t)).bech32Config.bech32PrefixAccAddr);if(r!==a)throw new Error("Signer mismatched");const c=yield this.interactionService.waitApprove(e,"/sign","request-sign",{chainId:t,mode:"amino",signDoc:n,signer:r,signOptions:o});try{const r=yield this.keyRing.sign(e,t,i,m.serializeSignDoc(c));return{signed:c,signature:m.encodeSecp256k1Signature(s.pubKey,r)}}finally{yield this.interactionService.dispatchEvent(h.APP_PORT,"request-sign-end",{})}}))}requestSignDirect(e,t,r,n,o){return s(this,void 0,void 0,(function*(){const i=yield this.chainsService.getChainCoinType(t),s=yield this.keyRing.getKey(t,i),a=new l.Bech32Address(s.address).toBech32((yield this.chainsService.getChainInfo(t)).bech32Config.bech32PrefixAccAddr);if(r!==a)throw new Error("Signer mismatched");const c=yield this.interactionService.waitApprove(e,"/sign","request-sign",{chainId:t,mode:"direct",signDocBytes:b.cosmos.tx.v1beta1.SignDoc.encode(n).finish(),signer:r,signOptions:o}),u=b.cosmos.tx.v1beta1.SignDoc.decode(c);try{const r=yield this.keyRing.sign(e,t,i,y.makeSignBytes(u));return{signed:u,signature:m.encodeSecp256k1Signature(s.pubKey,r)}}finally{yield this.interactionService.dispatchEvent(h.APP_PORT,"request-sign-end",{})}}))}sign(e,t,r){return s(this,void 0,void 0,(function*(){return this.keyRing.sign(e,t,yield this.chainsService.getChainCoinType(t),r)}))}addMnemonicKey(e,t,r){return s(this,void 0,void 0,(function*(){return this.keyRing.addMnemonicKey(e,t,r)}))}addPrivateKey(e,t){return s(this,void 0,void 0,(function*(){return this.keyRing.addPrivateKey(e,t)}))}addLedgerKey(e,t,r){return s(this,void 0,void 0,(function*(){return this.keyRing.addLedgerKey(e,t,r)}))}changeKeyStoreFromMultiKeyStore(e){return s(this,void 0,void 0,(function*(){try{return yield this.keyRing.changeKeyStoreFromMultiKeyStore(e)}finally{yield this.interactionService.dispatchEvent(h.WEBPAGE_PORT,"keystore-changed",{})}}))}getMultiKeyStoreInfo(){return this.keyRing.getMultiKeyStoreInfo()}isKeyStoreCoinTypeSet(e){return this.keyRing.isKeyStoreCoinTypeSet(e)}setKeyStoreCoinType(e,t){return s(this,void 0,void 0,(function*(){yield this.keyRing.setKeyStoreCoinType(e,t)}))}getKeyStoreBIP44Selectables(e,t){return s(this,void 0,void 0,(function*(){if(this.isKeyStoreCoinTypeSet(e))return[];const r=[],n=yield this.chainsService.getChainInfo(e);for(const e of t){const t=yield this.keyRing.getKeyFromCoinType(e.coinType),o=new l.Bech32Address(t.address).toBech32(n.bech32Config.bech32PrefixAccAddr);r.push({path:e,bech32Address:o})}return r}))}};v=n([a.singleton(),i(0,a.inject(c.TYPES.KeyRingStore)),i(1,a.inject(c.TYPES.ChainsEmbedChainInfos)),i(2,a.inject(a.delay(()=>p.InteractionService))),i(3,a.inject(a.delay(()=>f.ChainsService))),i(4,a.inject(a.delay(()=>g.PermissionService))),i(5,a.inject(d.LedgerService)),i(6,a.inject(c.TYPES.RNG)),o("design:paramtypes",[Object,Array,p.InteractionService,f.ChainsService,g.PermissionService,d.LedgerService,Function])],v),t.KeyRingService=v},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(343),t),o(r(189),t),o(r(344),t)},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.PermissionService=void 0;const a=r(43),c=r(52),u=r(83),l=r(352),f=r(58),d=r(103),h=r(11);let p=class{constructor(e,t,r,n,o){this.kvStore=e,this.interactionService=t,this.chainsService=r,this.keyRingService=n,this.permissionMap={},this.privilegedOrigins=new Map,this.onChainRemoved=e=>{this.removeAllPermissions(e)};for(const e of o)this.privilegedOrigins.set(e,!0);this.restore(),this.chainsService.addChainRemovedHandler(this.onChainRemoved)}checkOrGrantBasicAccessPermission(e,t,r){return s(this,void 0,void 0,(function*(){yield this.keyRingService.enable(e),"string"==typeof t&&(t=[t]);const n=[];for(const e of t)this.hasPermisson(e,l.getBasicAccessPermissionType(),r)||n.push(e);n.length>0&&(yield this.grantBasicAccessPermission(e,n,[r])),yield this.checkBasicAccessPermission(e,t,r)}))}grantPermission(e,t,r,n,o){return s(this,void 0,void 0,(function*(){if(e.isInternalMsg)return;const i={chainIds:r,type:n,origins:o};yield this.interactionService.waitApprove(e,t,l.INTERACTION_TYPE_PERMISSION,i),yield this.addPermission(r,n,o)}))}grantBasicAccessPermission(e,t,r){return s(this,void 0,void 0,(function*(){for(const e of t)yield this.chainsService.getChainInfo(e);yield this.grantPermission(e,"/access",t,l.getBasicAccessPermissionType(),r)}))}checkPermission(e,t,r,n){if(!e.isInternalMsg&&!this.hasPermisson(t,r,n))throw new Error(n+" is not permitted")}checkBasicAccessPermission(e,t,r){return s(this,void 0,void 0,(function*(){for(const n of t)yield this.chainsService.getChainInfo(n),this.checkPermission(e,n,l.getBasicAccessPermissionType(),r)}))}hasPermisson(e,t,r){if(this.privilegedOrigins.get(r))return!0;const n=this.permissionMap[h.ChainIdHelper.parse(e).identifier];if(!n)return!1;const o=n[t];return!(!o||!o[r])}getPermissionOrigins(e,t){const r=[],n=this.permissionMap[h.ChainIdHelper.parse(e).identifier];if(!n)return[];const o=n[t];if(!o)return[];for(const e of Object.keys(o))o[e]&&r.push(e);return r}addPermission(e,t,r){return s(this,void 0,void 0,(function*(){for(const n of e){let e=this.permissionMap[h.ChainIdHelper.parse(n).identifier];e||(e={},this.permissionMap[h.ChainIdHelper.parse(n).identifier]=e);let o=e[t];o||(o={},e[t]=o);for(const e of r)o[e]=!0}yield this.save()}))}removePermission(e,t,r){return s(this,void 0,void 0,(function*(){const n=this.permissionMap[h.ChainIdHelper.parse(e).identifier];if(!n)return;const o=n[t];if(o){for(const e of r)delete o[e];yield this.save()}}))}removeAllPermissions(e){return s(this,void 0,void 0,(function*(){this.permissionMap[h.ChainIdHelper.parse(e).identifier]=void 0,yield this.save()}))}restore(){return s(this,void 0,void 0,(function*(){const e=yield this.kvStore.get("permissionMap");e&&(this.permissionMap=e)}))}save(){return s(this,void 0,void 0,(function*(){yield this.kvStore.set("permissionMap",this.permissionMap)}))}};p=n([a.singleton(),i(0,a.inject(c.TYPES.PermissionStore)),i(1,a.inject(a.delay(()=>u.InteractionService))),i(2,a.inject(f.ChainsService)),i(3,a.inject(a.delay(()=>d.KeyRingService))),i(4,a.inject(c.TYPES.PermissionServicePrivilegedOrigins)),o("design:paramtypes",[Object,u.InteractionService,f.ChainsService,d.KeyRingService,Array])],p),t.PermissionService=p},function(e,t,r){"use strict";function n(){return"basic-access"}Object.defineProperty(t,"__esModule",{value:!0}),t.isBasicAccessPermissionType=t.getBasicAccessPermissionType=t.INTERACTION_TYPE_PERMISSION=void 0,t.INTERACTION_TYPE_PERMISSION="permission",t.getBasicAccessPermissionType=n,t.isBasicAccessPermissionType=function(e){return"basic-access"===e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="keyring"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="permission"},function(e,t,r){"use strict";(function(e){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Fee=t.ModeInfo_Multi=t.ModeInfo_Single=t.ModeInfo=t.SignerInfo=t.AuthInfo=t.TxBody=t.SignDoc=t.TxRaw=t.Tx=t.protobufPackage=void 0;const o=n(r(113)),i=r(138),s=r(356),a=r(357),c=r(137),u=n(r(48));t.protobufPackage="cosmos.tx.v1beta1";const l={};t.Tx={encode(e,r=u.default.Writer.create()){void 0!==e.body&&void 0!==e.body&&t.TxBody.encode(e.body,r.uint32(10).fork()).ldelim(),void 0!==e.authInfo&&void 0!==e.authInfo&&t.AuthInfo.encode(e.authInfo,r.uint32(18).fork()).ldelim();for(const t of e.signatures)r.uint32(26).bytes(t);return r},decode(e,r){const n=e instanceof Uint8Array?new u.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const i=Object.assign({},l);for(i.signatures=[];n.pos>>3){case 1:i.body=t.TxBody.decode(n,n.uint32());break;case 2:i.authInfo=t.AuthInfo.decode(n,n.uint32());break;case 3:i.signatures.push(n.bytes());break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},l);if(r.signatures=[],void 0!==e.body&&null!==e.body?r.body=t.TxBody.fromJSON(e.body):r.body=void 0,void 0!==e.authInfo&&null!==e.authInfo?r.authInfo=t.AuthInfo.fromJSON(e.authInfo):r.authInfo=void 0,void 0!==e.signatures&&null!==e.signatures)for(const t of e.signatures)r.signatures.push(k(t));return r},fromPartial(e){const r=Object.assign({},l);if(r.signatures=[],void 0!==e.body&&null!==e.body?r.body=t.TxBody.fromPartial(e.body):r.body=void 0,void 0!==e.authInfo&&null!==e.authInfo?r.authInfo=t.AuthInfo.fromPartial(e.authInfo):r.authInfo=void 0,void 0!==e.signatures&&null!==e.signatures)for(const t of e.signatures)r.signatures.push(t);return r},toJSON(e){const r={};return void 0!==e.body&&(r.body=e.body?t.TxBody.toJSON(e.body):void 0),void 0!==e.authInfo&&(r.authInfo=e.authInfo?t.AuthInfo.toJSON(e.authInfo):void 0),e.signatures?r.signatures=e.signatures.map(e=>O(void 0!==e?e:new Uint8Array)):r.signatures=[],r}};const f={};t.TxRaw={encode(e,t=u.default.Writer.create()){t.uint32(10).bytes(e.bodyBytes),t.uint32(18).bytes(e.authInfoBytes);for(const r of e.signatures)t.uint32(26).bytes(r);return t},decode(e,t){const r=e instanceof Uint8Array?new u.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},f);for(o.signatures=[];r.pos>>3){case 1:o.bodyBytes=r.bytes();break;case 2:o.authInfoBytes=r.bytes();break;case 3:o.signatures.push(r.bytes());break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},f);if(t.signatures=[],void 0!==e.bodyBytes&&null!==e.bodyBytes&&(t.bodyBytes=k(e.bodyBytes)),void 0!==e.authInfoBytes&&null!==e.authInfoBytes&&(t.authInfoBytes=k(e.authInfoBytes)),void 0!==e.signatures&&null!==e.signatures)for(const r of e.signatures)t.signatures.push(k(r));return t},fromPartial(e){const t=Object.assign({},f);if(t.signatures=[],void 0!==e.bodyBytes&&null!==e.bodyBytes?t.bodyBytes=e.bodyBytes:t.bodyBytes=new Uint8Array,void 0!==e.authInfoBytes&&null!==e.authInfoBytes?t.authInfoBytes=e.authInfoBytes:t.authInfoBytes=new Uint8Array,void 0!==e.signatures&&null!==e.signatures)for(const r of e.signatures)t.signatures.push(r);return t},toJSON(e){const t={};return void 0!==e.bodyBytes&&(t.bodyBytes=O(void 0!==e.bodyBytes?e.bodyBytes:new Uint8Array)),void 0!==e.authInfoBytes&&(t.authInfoBytes=O(void 0!==e.authInfoBytes?e.authInfoBytes:new Uint8Array)),e.signatures?t.signatures=e.signatures.map(e=>O(void 0!==e?e:new Uint8Array)):t.signatures=[],t}};const d={chainId:"",accountNumber:o.default.UZERO};t.SignDoc={encode:(e,t=u.default.Writer.create())=>(t.uint32(10).bytes(e.bodyBytes),t.uint32(18).bytes(e.authInfoBytes),t.uint32(26).string(e.chainId),t.uint32(32).uint64(e.accountNumber),t),decode(e,t){const r=e instanceof Uint8Array?new u.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},d);for(;r.pos>>3){case 1:o.bodyBytes=r.bytes();break;case 2:o.authInfoBytes=r.bytes();break;case 3:o.chainId=r.string();break;case 4:o.accountNumber=r.uint64();break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},d);return void 0!==e.bodyBytes&&null!==e.bodyBytes&&(t.bodyBytes=k(e.bodyBytes)),void 0!==e.authInfoBytes&&null!==e.authInfoBytes&&(t.authInfoBytes=k(e.authInfoBytes)),void 0!==e.chainId&&null!==e.chainId?t.chainId=String(e.chainId):t.chainId="",void 0!==e.accountNumber&&null!==e.accountNumber?t.accountNumber=o.default.fromString(e.accountNumber):t.accountNumber=o.default.UZERO,t},fromPartial(e){const t=Object.assign({},d);return void 0!==e.bodyBytes&&null!==e.bodyBytes?t.bodyBytes=e.bodyBytes:t.bodyBytes=new Uint8Array,void 0!==e.authInfoBytes&&null!==e.authInfoBytes?t.authInfoBytes=e.authInfoBytes:t.authInfoBytes=new Uint8Array,void 0!==e.chainId&&null!==e.chainId?t.chainId=e.chainId:t.chainId="",void 0!==e.accountNumber&&null!==e.accountNumber?t.accountNumber=e.accountNumber:t.accountNumber=o.default.UZERO,t},toJSON(e){const t={};return void 0!==e.bodyBytes&&(t.bodyBytes=O(void 0!==e.bodyBytes?e.bodyBytes:new Uint8Array)),void 0!==e.authInfoBytes&&(t.authInfoBytes=O(void 0!==e.authInfoBytes?e.authInfoBytes:new Uint8Array)),void 0!==e.chainId&&(t.chainId=e.chainId),void 0!==e.accountNumber&&(t.accountNumber=(e.accountNumber||o.default.UZERO).toString()),t}};const h={memo:"",timeoutHeight:o.default.UZERO};t.TxBody={encode(e,t=u.default.Writer.create()){for(const r of e.messages)i.Any.encode(r,t.uint32(10).fork()).ldelim();t.uint32(18).string(e.memo),t.uint32(24).uint64(e.timeoutHeight);for(const r of e.extensionOptions)i.Any.encode(r,t.uint32(8186).fork()).ldelim();for(const r of e.nonCriticalExtensionOptions)i.Any.encode(r,t.uint32(16378).fork()).ldelim();return t},decode(e,t){const r=e instanceof Uint8Array?new u.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},h);for(o.messages=[],o.extensionOptions=[],o.nonCriticalExtensionOptions=[];r.pos>>3){case 1:o.messages.push(i.Any.decode(r,r.uint32()));break;case 2:o.memo=r.string();break;case 3:o.timeoutHeight=r.uint64();break;case 1023:o.extensionOptions.push(i.Any.decode(r,r.uint32()));break;case 2047:o.nonCriticalExtensionOptions.push(i.Any.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},h);if(t.messages=[],t.extensionOptions=[],t.nonCriticalExtensionOptions=[],void 0!==e.messages&&null!==e.messages)for(const r of e.messages)t.messages.push(i.Any.fromJSON(r));if(void 0!==e.memo&&null!==e.memo?t.memo=String(e.memo):t.memo="",void 0!==e.timeoutHeight&&null!==e.timeoutHeight?t.timeoutHeight=o.default.fromString(e.timeoutHeight):t.timeoutHeight=o.default.UZERO,void 0!==e.extensionOptions&&null!==e.extensionOptions)for(const r of e.extensionOptions)t.extensionOptions.push(i.Any.fromJSON(r));if(void 0!==e.nonCriticalExtensionOptions&&null!==e.nonCriticalExtensionOptions)for(const r of e.nonCriticalExtensionOptions)t.nonCriticalExtensionOptions.push(i.Any.fromJSON(r));return t},fromPartial(e){const t=Object.assign({},h);if(t.messages=[],t.extensionOptions=[],t.nonCriticalExtensionOptions=[],void 0!==e.messages&&null!==e.messages)for(const r of e.messages)t.messages.push(i.Any.fromPartial(r));if(void 0!==e.memo&&null!==e.memo?t.memo=e.memo:t.memo="",void 0!==e.timeoutHeight&&null!==e.timeoutHeight?t.timeoutHeight=e.timeoutHeight:t.timeoutHeight=o.default.UZERO,void 0!==e.extensionOptions&&null!==e.extensionOptions)for(const r of e.extensionOptions)t.extensionOptions.push(i.Any.fromPartial(r));if(void 0!==e.nonCriticalExtensionOptions&&null!==e.nonCriticalExtensionOptions)for(const r of e.nonCriticalExtensionOptions)t.nonCriticalExtensionOptions.push(i.Any.fromPartial(r));return t},toJSON(e){const t={};return e.messages?t.messages=e.messages.map(e=>e?i.Any.toJSON(e):void 0):t.messages=[],void 0!==e.memo&&(t.memo=e.memo),void 0!==e.timeoutHeight&&(t.timeoutHeight=(e.timeoutHeight||o.default.UZERO).toString()),e.extensionOptions?t.extensionOptions=e.extensionOptions.map(e=>e?i.Any.toJSON(e):void 0):t.extensionOptions=[],e.nonCriticalExtensionOptions?t.nonCriticalExtensionOptions=e.nonCriticalExtensionOptions.map(e=>e?i.Any.toJSON(e):void 0):t.nonCriticalExtensionOptions=[],t}};const p={};t.AuthInfo={encode(e,r=u.default.Writer.create()){for(const n of e.signerInfos)t.SignerInfo.encode(n,r.uint32(10).fork()).ldelim();return void 0!==e.fee&&void 0!==e.fee&&t.Fee.encode(e.fee,r.uint32(18).fork()).ldelim(),r},decode(e,r){const n=e instanceof Uint8Array?new u.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const i=Object.assign({},p);for(i.signerInfos=[];n.pos>>3){case 1:i.signerInfos.push(t.SignerInfo.decode(n,n.uint32()));break;case 2:i.fee=t.Fee.decode(n,n.uint32());break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},p);if(r.signerInfos=[],void 0!==e.signerInfos&&null!==e.signerInfos)for(const n of e.signerInfos)r.signerInfos.push(t.SignerInfo.fromJSON(n));return void 0!==e.fee&&null!==e.fee?r.fee=t.Fee.fromJSON(e.fee):r.fee=void 0,r},fromPartial(e){const r=Object.assign({},p);if(r.signerInfos=[],void 0!==e.signerInfos&&null!==e.signerInfos)for(const n of e.signerInfos)r.signerInfos.push(t.SignerInfo.fromPartial(n));return void 0!==e.fee&&null!==e.fee?r.fee=t.Fee.fromPartial(e.fee):r.fee=void 0,r},toJSON(e){const r={};return e.signerInfos?r.signerInfos=e.signerInfos.map(e=>e?t.SignerInfo.toJSON(e):void 0):r.signerInfos=[],void 0!==e.fee&&(r.fee=e.fee?t.Fee.toJSON(e.fee):void 0),r}};const g={sequence:o.default.UZERO};t.SignerInfo={encode:(e,r=u.default.Writer.create())=>(void 0!==e.publicKey&&void 0!==e.publicKey&&i.Any.encode(e.publicKey,r.uint32(10).fork()).ldelim(),void 0!==e.modeInfo&&void 0!==e.modeInfo&&t.ModeInfo.encode(e.modeInfo,r.uint32(18).fork()).ldelim(),r.uint32(24).uint64(e.sequence),r),decode(e,r){const n=e instanceof Uint8Array?new u.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const s=Object.assign({},g);for(;n.pos>>3){case 1:s.publicKey=i.Any.decode(n,n.uint32());break;case 2:s.modeInfo=t.ModeInfo.decode(n,n.uint32());break;case 3:s.sequence=n.uint64();break;default:n.skipType(7&e)}}return s},fromJSON(e){const r=Object.assign({},g);return void 0!==e.publicKey&&null!==e.publicKey?r.publicKey=i.Any.fromJSON(e.publicKey):r.publicKey=void 0,void 0!==e.modeInfo&&null!==e.modeInfo?r.modeInfo=t.ModeInfo.fromJSON(e.modeInfo):r.modeInfo=void 0,void 0!==e.sequence&&null!==e.sequence?r.sequence=o.default.fromString(e.sequence):r.sequence=o.default.UZERO,r},fromPartial(e){const r=Object.assign({},g);return void 0!==e.publicKey&&null!==e.publicKey?r.publicKey=i.Any.fromPartial(e.publicKey):r.publicKey=void 0,void 0!==e.modeInfo&&null!==e.modeInfo?r.modeInfo=t.ModeInfo.fromPartial(e.modeInfo):r.modeInfo=void 0,void 0!==e.sequence&&null!==e.sequence?r.sequence=e.sequence:r.sequence=o.default.UZERO,r},toJSON(e){const r={};return void 0!==e.publicKey&&(r.publicKey=e.publicKey?i.Any.toJSON(e.publicKey):void 0),void 0!==e.modeInfo&&(r.modeInfo=e.modeInfo?t.ModeInfo.toJSON(e.modeInfo):void 0),void 0!==e.sequence&&(r.sequence=(e.sequence||o.default.UZERO).toString()),r}};const m={};t.ModeInfo={encode:(e,r=u.default.Writer.create())=>(void 0!==e.single&&t.ModeInfo_Single.encode(e.single,r.uint32(10).fork()).ldelim(),void 0!==e.multi&&t.ModeInfo_Multi.encode(e.multi,r.uint32(18).fork()).ldelim(),r),decode(e,r){const n=e instanceof Uint8Array?new u.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const i=Object.assign({},m);for(;n.pos>>3){case 1:i.single=t.ModeInfo_Single.decode(n,n.uint32());break;case 2:i.multi=t.ModeInfo_Multi.decode(n,n.uint32());break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},m);return void 0!==e.single&&null!==e.single?r.single=t.ModeInfo_Single.fromJSON(e.single):r.single=void 0,void 0!==e.multi&&null!==e.multi?r.multi=t.ModeInfo_Multi.fromJSON(e.multi):r.multi=void 0,r},fromPartial(e){const r=Object.assign({},m);return void 0!==e.single&&null!==e.single?r.single=t.ModeInfo_Single.fromPartial(e.single):r.single=void 0,void 0!==e.multi&&null!==e.multi?r.multi=t.ModeInfo_Multi.fromPartial(e.multi):r.multi=void 0,r},toJSON(e){const r={};return void 0!==e.single&&(r.single=e.single?t.ModeInfo_Single.toJSON(e.single):void 0),void 0!==e.multi&&(r.multi=e.multi?t.ModeInfo_Multi.toJSON(e.multi):void 0),r}};const y={mode:0};t.ModeInfo_Single={encode:(e,t=u.default.Writer.create())=>(t.uint32(8).int32(e.mode),t),decode(e,t){const r=e instanceof Uint8Array?new u.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},y);for(;r.pos>>3){case 1:o.mode=r.int32();break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},y);return void 0!==e.mode&&null!==e.mode?t.mode=s.signModeFromJSON(e.mode):t.mode=0,t},fromPartial(e){const t=Object.assign({},y);return void 0!==e.mode&&null!==e.mode?t.mode=e.mode:t.mode=0,t},toJSON(e){const t={};return void 0!==e.mode&&(t.mode=s.signModeToJSON(e.mode)),t}};const b={};t.ModeInfo_Multi={encode(e,r=u.default.Writer.create()){void 0!==e.bitarray&&void 0!==e.bitarray&&a.CompactBitArray.encode(e.bitarray,r.uint32(10).fork()).ldelim();for(const n of e.modeInfos)t.ModeInfo.encode(n,r.uint32(18).fork()).ldelim();return r},decode(e,r){const n=e instanceof Uint8Array?new u.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const i=Object.assign({},b);for(i.modeInfos=[];n.pos>>3){case 1:i.bitarray=a.CompactBitArray.decode(n,n.uint32());break;case 2:i.modeInfos.push(t.ModeInfo.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},b);if(r.modeInfos=[],void 0!==e.bitarray&&null!==e.bitarray?r.bitarray=a.CompactBitArray.fromJSON(e.bitarray):r.bitarray=void 0,void 0!==e.modeInfos&&null!==e.modeInfos)for(const n of e.modeInfos)r.modeInfos.push(t.ModeInfo.fromJSON(n));return r},fromPartial(e){const r=Object.assign({},b);if(r.modeInfos=[],void 0!==e.bitarray&&null!==e.bitarray?r.bitarray=a.CompactBitArray.fromPartial(e.bitarray):r.bitarray=void 0,void 0!==e.modeInfos&&null!==e.modeInfos)for(const n of e.modeInfos)r.modeInfos.push(t.ModeInfo.fromPartial(n));return r},toJSON(e){const r={};return void 0!==e.bitarray&&(r.bitarray=e.bitarray?a.CompactBitArray.toJSON(e.bitarray):void 0),e.modeInfos?r.modeInfos=e.modeInfos.map(e=>e?t.ModeInfo.toJSON(e):void 0):r.modeInfos=[],r}};const v={gasLimit:o.default.UZERO,payer:"",granter:""};t.Fee={encode(e,t=u.default.Writer.create()){for(const r of e.amount)c.Coin.encode(r,t.uint32(10).fork()).ldelim();return t.uint32(16).uint64(e.gasLimit),t.uint32(26).string(e.payer),t.uint32(34).string(e.granter),t},decode(e,t){const r=e instanceof Uint8Array?new u.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},v);for(o.amount=[];r.pos>>3){case 1:o.amount.push(c.Coin.decode(r,r.uint32()));break;case 2:o.gasLimit=r.uint64();break;case 3:o.payer=r.string();break;case 4:o.granter=r.string();break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},v);if(t.amount=[],void 0!==e.amount&&null!==e.amount)for(const r of e.amount)t.amount.push(c.Coin.fromJSON(r));return void 0!==e.gasLimit&&null!==e.gasLimit?t.gasLimit=o.default.fromString(e.gasLimit):t.gasLimit=o.default.UZERO,void 0!==e.payer&&null!==e.payer?t.payer=String(e.payer):t.payer="",void 0!==e.granter&&null!==e.granter?t.granter=String(e.granter):t.granter="",t},fromPartial(e){const t=Object.assign({},v);if(t.amount=[],void 0!==e.amount&&null!==e.amount)for(const r of e.amount)t.amount.push(c.Coin.fromPartial(r));return void 0!==e.gasLimit&&null!==e.gasLimit?t.gasLimit=e.gasLimit:t.gasLimit=o.default.UZERO,void 0!==e.payer&&null!==e.payer?t.payer=e.payer:t.payer="",void 0!==e.granter&&null!==e.granter?t.granter=e.granter:t.granter="",t},toJSON(e){const t={};return e.amount?t.amount=e.amount.map(e=>e?c.Coin.toJSON(e):void 0):t.amount=[],void 0!==e.gasLimit&&(t.gasLimit=(e.gasLimit||o.default.UZERO).toString()),void 0!==e.payer&&(t.payer=e.payer),void 0!==e.granter&&(t.granter=e.granter),t}};var w=(()=>{if(void 0!==w)return w;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const _=w.atob||(e=>w.Buffer.from(e,"base64").toString("binary"));function k(e){const t=_(e),r=new Uint8Array(t.length);for(let e=0;ew.Buffer.from(e,"binary").toString("base64"));function O(e){const t=[];for(let r=0;r>>3){case 1:i.signatures.push(t.SignatureDescriptor.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},f);if(r.signatures=[],void 0!==e.signatures&&null!==e.signatures)for(const n of e.signatures)r.signatures.push(t.SignatureDescriptor.fromJSON(n));return r},fromPartial(e){const r=Object.assign({},f);if(r.signatures=[],void 0!==e.signatures&&null!==e.signatures)for(const n of e.signatures)r.signatures.push(t.SignatureDescriptor.fromPartial(n));return r},toJSON(e){const r={};return e.signatures?r.signatures=e.signatures.map(e=>e?t.SignatureDescriptor.toJSON(e):void 0):r.signatures=[],r}};const d={sequence:i.default.UZERO};t.SignatureDescriptor={encode:(e,r=a.default.Writer.create())=>(void 0!==e.publicKey&&void 0!==e.publicKey&&o.Any.encode(e.publicKey,r.uint32(10).fork()).ldelim(),void 0!==e.data&&void 0!==e.data&&t.SignatureDescriptor_Data.encode(e.data,r.uint32(18).fork()).ldelim(),r.uint32(24).uint64(e.sequence),r),decode(e,r){const n=e instanceof Uint8Array?new a.default.Reader(e):e;let i=void 0===r?n.len:n.pos+r;const s=Object.assign({},d);for(;n.pos>>3){case 1:s.publicKey=o.Any.decode(n,n.uint32());break;case 2:s.data=t.SignatureDescriptor_Data.decode(n,n.uint32());break;case 3:s.sequence=n.uint64();break;default:n.skipType(7&e)}}return s},fromJSON(e){const r=Object.assign({},d);return void 0!==e.publicKey&&null!==e.publicKey?r.publicKey=o.Any.fromPartial(e.publicKey):r.publicKey=void 0,void 0!==e.data&&null!==e.data?r.data=t.SignatureDescriptor_Data.fromJSON(e.data):r.data=void 0,void 0!==e.sequence&&null!==e.sequence?r.sequence=i.default.fromString(e.sequence):r.sequence=i.default.UZERO,r},fromPartial(e){const r=Object.assign({},d);return void 0!==e.publicKey&&null!==e.publicKey?r.publicKey=o.Any.fromPartial(e.publicKey):r.publicKey=void 0,void 0!==e.data&&null!==e.data?r.data=t.SignatureDescriptor_Data.fromPartial(e.data):r.data=void 0,void 0!==e.sequence&&null!==e.sequence?r.sequence=e.sequence:r.sequence=i.default.UZERO,r},toJSON(e){const r={};return void 0!==e.publicKey&&(r.publicKey=e.publicKey?o.Any.toJSON(e.publicKey):void 0),void 0!==e.data&&(r.data=e.data?t.SignatureDescriptor_Data.toJSON(e.data):void 0),void 0!==e.sequence&&(r.sequence=(e.sequence||i.default.UZERO).toString()),r}};const h={};t.SignatureDescriptor_Data={encode:(e,r=a.default.Writer.create())=>(void 0!==e.single&&t.SignatureDescriptor_Data_Single.encode(e.single,r.uint32(10).fork()).ldelim(),void 0!==e.multi&&t.SignatureDescriptor_Data_Multi.encode(e.multi,r.uint32(18).fork()).ldelim(),r),decode(e,r){const n=e instanceof Uint8Array?new a.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const i=Object.assign({},h);for(;n.pos>>3){case 1:i.single=t.SignatureDescriptor_Data_Single.decode(n,n.uint32());break;case 2:i.multi=t.SignatureDescriptor_Data_Multi.decode(n,n.uint32());break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},h);return void 0!==e.single&&null!==e.single?r.single=t.SignatureDescriptor_Data_Single.fromJSON(e.single):r.single=void 0,void 0!==e.multi&&null!==e.multi?r.multi=t.SignatureDescriptor_Data_Multi.fromJSON(e.multi):r.multi=void 0,r},fromPartial(e){const r=Object.assign({},h);return void 0!==e.single&&null!==e.single?r.single=t.SignatureDescriptor_Data_Single.fromPartial(e.single):r.single=void 0,void 0!==e.multi&&null!==e.multi?r.multi=t.SignatureDescriptor_Data_Multi.fromPartial(e.multi):r.multi=void 0,r},toJSON(e){const r={};return void 0!==e.single&&(r.single=e.single?t.SignatureDescriptor_Data_Single.toJSON(e.single):void 0),void 0!==e.multi&&(r.multi=e.multi?t.SignatureDescriptor_Data_Multi.toJSON(e.multi):void 0),r}};const p={mode:0};t.SignatureDescriptor_Data_Single={encode:(e,t=a.default.Writer.create())=>(t.uint32(8).int32(e.mode),t.uint32(18).bytes(e.signature),t),decode(e,t){const r=e instanceof Uint8Array?new a.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},p);for(;r.pos>>3){case 1:o.mode=r.int32();break;case 2:o.signature=r.bytes();break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},p);return void 0!==e.mode&&null!==e.mode?t.mode=u(e.mode):t.mode=0,void 0!==e.signature&&null!==e.signature&&(t.signature=function(e){const t=y(e),r=new Uint8Array(t.length);for(let e=0;e>>3){case 1:i.bitarray=s.CompactBitArray.decode(n,n.uint32());break;case 2:i.signatures.push(t.SignatureDescriptor_Data.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},g);if(r.signatures=[],void 0!==e.bitarray&&null!==e.bitarray?r.bitarray=s.CompactBitArray.fromJSON(e.bitarray):r.bitarray=void 0,void 0!==e.signatures&&null!==e.signatures)for(const n of e.signatures)r.signatures.push(t.SignatureDescriptor_Data.fromJSON(n));return r},fromPartial(e){const r=Object.assign({},g);if(r.signatures=[],void 0!==e.bitarray&&null!==e.bitarray?r.bitarray=s.CompactBitArray.fromPartial(e.bitarray):r.bitarray=void 0,void 0!==e.signatures&&null!==e.signatures)for(const n of e.signatures)r.signatures.push(t.SignatureDescriptor_Data.fromPartial(n));return r},toJSON(e){const r={};return void 0!==e.bitarray&&(r.bitarray=e.bitarray?s.CompactBitArray.toJSON(e.bitarray):void 0),e.signatures?r.signatures=e.signatures.map(e=>e?t.SignatureDescriptor_Data.toJSON(e):void 0):r.signatures=[],r}};var m=(()=>{if(void 0!==m)return m;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const y=m.atob||(e=>m.Buffer.from(e,"base64").toString("binary"));const b=m.btoa||(e=>m.Buffer.from(e,"binary").toString("base64"))}).call(this,r(12))},function(e,t,r){"use strict";(function(e){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompactBitArray=t.MultiSignature=t.protobufPackage=void 0;const o=n(r(48));t.protobufPackage="cosmos.crypto.multisig.v1beta1";const i={};t.MultiSignature={encode(e,t=o.default.Writer.create()){for(const r of e.signatures)t.uint32(10).bytes(r);return t},decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},i);for(s.signatures=[];r.pos>>3){case 1:s.signatures.push(r.bytes());break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},i);if(t.signatures=[],void 0!==e.signatures&&null!==e.signatures)for(const r of e.signatures)t.signatures.push(u(r));return t},fromPartial(e){const t=Object.assign({},i);if(t.signatures=[],void 0!==e.signatures&&null!==e.signatures)for(const r of e.signatures)t.signatures.push(r);return t},toJSON(e){const t={};return e.signatures?t.signatures=e.signatures.map(e=>f(void 0!==e?e:new Uint8Array)):t.signatures=[],t}};const s={extraBitsStored:0};t.CompactBitArray={encode:(e,t=o.default.Writer.create())=>(t.uint32(8).uint32(e.extraBitsStored),t.uint32(18).bytes(e.elems),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const i=Object.assign({},s);for(;r.pos>>3){case 1:i.extraBitsStored=r.uint32();break;case 2:i.elems=r.bytes();break;default:r.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},s);return void 0!==e.extraBitsStored&&null!==e.extraBitsStored?t.extraBitsStored=Number(e.extraBitsStored):t.extraBitsStored=0,void 0!==e.elems&&null!==e.elems&&(t.elems=u(e.elems)),t},fromPartial(e){const t=Object.assign({},s);return void 0!==e.extraBitsStored&&null!==e.extraBitsStored?t.extraBitsStored=e.extraBitsStored:t.extraBitsStored=0,void 0!==e.elems&&null!==e.elems?t.elems=e.elems:t.elems=new Uint8Array,t},toJSON(e){const t={};return void 0!==e.extraBitsStored&&(t.extraBitsStored=e.extraBitsStored),void 0!==e.elems&&(t.elems=f(void 0!==e.elems?e.elems:new Uint8Array)),t}};var a=(()=>{if(void 0!==a)return a;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const c=a.atob||(e=>a.Buffer.from(e,"base64").toString("binary"));function u(e){const t=c(e),r=new Uint8Array(t.length);for(let e=0;ea.Buffer.from(e,"binary").toString("base64"));function f(e){const t=[];for(let r=0;r=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SecretWasmService=void 0;const c=r(43),u=r(52),l=r(731),f=r(103),d=r(58),h=r(102),p=r(108),g=r(11),m=a(r(342)),y=r(2);let b=class{constructor(e,t,r,n){this.kvStore=e,this.chainsService=t,this.keyRingService=r,this.permissionService=n,this.debouncerMap=new Map,this.cacheEnigmaUtils=new Map,this.onChainRemoved=()=>{this.cacheEnigmaUtils=new Map},this.chainsService.addChainRemovedHandler(this.onChainRemoved)}getPubkey(e,t){return s(this,void 0,void 0,(function*(){const r=yield this.chainsService.getChainInfo(t);if("none"===(yield this.keyRingService.getKeyRingType()))throw new Error("Key ring is not initialized");const n=yield this.getSeed(e,r);return this.getEnigmaUtils(r,n).pubkey}))}getTxEncryptionKey(e,t,r){return s(this,void 0,void 0,(function*(){const n=yield this.chainsService.getChainInfo(t);if("none"===(yield this.keyRingService.getKeyRingType()))throw new Error("Key ring is not initialized");const o=yield this.getSeed(e,n);return this.getEnigmaUtils(n,o).getTxEncryptionKey(r)}))}encrypt(e,t,r,n){return s(this,void 0,void 0,(function*(){const o=yield this.chainsService.getChainInfo(t);if("none"===(yield this.keyRingService.getKeyRingType()))throw new Error("Key ring is not initialized");const i=yield this.getSeed(e,o),s=this.getEnigmaUtils(o,i);return yield s.encrypt(r,n)}))}decrypt(e,t,r,n){return s(this,void 0,void 0,(function*(){const o=yield this.chainsService.getChainInfo(t);if("none"===(yield this.keyRingService.getKeyRingType()))throw new Error("Key ring is not initialized");const i=yield this.getSeed(e,o),s=this.getEnigmaUtils(o,i);return yield s.decrypt(r,n)}))}getEnigmaUtils(e,t){const r=`${e.chainId}-${y.Buffer.from(t).toString("hex")}`;if(this.cacheEnigmaUtils.has(r))return this.cacheEnigmaUtils.get(r);const n=new l.EnigmaUtils(e.rest,t);return this.cacheEnigmaUtils.set(r,n),n}getSeed(e,t){return s(this,void 0,void 0,(function*(){const r=yield this.keyRingService.getKey(t.chainId),n=new g.Bech32Address(r.address).toBech32(t.bech32Config.bech32PrefixAccAddr),o=`${e.isInternalMsg}/${t.chainId}/${n}`;this.debouncerMap.has(o)||this.debouncerMap.set(o,m.default.promise(this.getSeedInner.bind(this)));const i=this.debouncerMap.get(o);return yield i(e,t,n)}))}getSeedInner(e,t,r){return s(this,void 0,void 0,(function*(){const n=`seed-${t.chainId}-${r}`,o=yield this.kvStore.get(n);if(o)return y.Buffer.from(o,"hex");const i=p.Hash.sha256(y.Buffer.from(yield this.keyRingService.sign(e,t.chainId,y.Buffer.from(JSON.stringify({account_number:0,chain_id:t.chainId,fee:[],memo:"Create Keplr Secret encryption key. Only approve requests by Keplr.",msgs:[],sequence:0})))));return yield this.kvStore.set(n,y.Buffer.from(i).toString("hex")),i}))}};b=n([c.singleton(),i(0,c.inject(u.TYPES.SecretWasmStore)),i(1,c.inject(d.ChainsService)),i(2,c.inject(c.delay(()=>f.KeyRingService))),i(3,c.inject(c.delay(()=>h.PermissionService))),o("design:paramtypes",[Object,d.ChainsService,f.KeyRingService,h.PermissionService])],b),t.SecretWasmService=b},function(e,t,r){"use strict";(function(e){var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(117)),i=r(361);class s{static toHex(e){let t="";for(const r of e)t+=("0"+r.toString(16)).slice(-2);return t}static fromHex(e){if(e.length%2!=0)throw new Error("hex string length must be a multiple of 2");const t=[];for(let r=0;r{const t=e.charCodeAt(0);if(t<32||t>126)throw new Error("Cannot encode character that is out of printable ASCII range: "+t);return t}))}static fromAscii(e){return(t=Array.from(e),t.map(e=>{if(e<32||e>126)throw new Error("Cannot decode character that is out of printable ASCII range: "+e);return String.fromCharCode(e)})).join("");var t}static toUtf8(t){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(t):new Uint8Array(e.from(t,"utf8"))}static fromUtf8(t){if("undefined"!=typeof TextDecoder)return new TextDecoder("utf-8",{fatal:!0}).decode(t);if(!s.isValidUtf8(t))throw new Error("Invalid UTF8 data");return e.from(t).toString("utf8")}static fromRfc3339(e){const t=/^(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(\.\d{1,9})?((?:[+-]\d{2}:\d{2})|Z)$/.exec(e);if(!t)throw new Error("Date string is not in RFC3339 format");const r=+t[1],n=+t[2],o=+t[3],s=+t[4],a=+t[5],c=+t[6],u=t[7]?Math.floor(1e3*+t[7]):0;let l,f,d;"Z"===t[8]?(l=1,f=0,d=0):(l="-"===t[8].substring(0,1)?-1:1,f=+t[8].substring(1,3),d=+t[8].substring(4,6));const h=l*(60*f+d)*60;return new i.ReadonlyDate(i.ReadonlyDate.UTC(r,n-1,o,s,a,c,u)-1e3*h)}static toRfc3339(e){function t(e,t=2){const r="00000"+e.toString();return r.substring(r.length-t)}return`${e.getUTCFullYear()}-${t(e.getUTCMonth()+1)}-${t(e.getUTCDate())}T${t(e.getUTCHours())}:${t(e.getUTCMinutes())}:${t(e.getUTCSeconds())}.${t(e.getUTCMilliseconds(),3)}Z`}static isValidUtf8(t){const r=e.from(e.from(t).toString("utf8"),"utf8");return 0===e.compare(e.from(t),r)}}t.Encoding=s}).call(this,r(2).Buffer)},function(e,t){e.exports={ReadonlyDate:Date}},function(e,t,r){"use strict";(function(e){function r(e){return"object"==typeof e&&null!==e}Object.defineProperty(t,"__esModule",{value:!0}),t.isNonNullObject=r,t.isUint8Array=function(t){return!!r(t)&&("[object Uint8Array]"===Object.prototype.toString.call(t)&&(void 0===e||void 0===e.isBuffer||!e.isBuffer(t)))}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(748);Object.defineProperty(t,"assert",{enumerable:!0,get:function(){return n.assert}});var o=r(749);Object.defineProperty(t,"sleep",{enumerable:!0,get:function(){return o.sleep}});var i=r(750);Object.defineProperty(t,"isNonNullObject",{enumerable:!0,get:function(){return i.isNonNullObject}}),Object.defineProperty(t,"isUint8Array",{enumerable:!0,get:function(){return i.isUint8Array}})},function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(69));class i{constructor(e){if(!i.mnemonicMatcher.test(e))throw new Error("Invalid mnemonic format");const t=e.split(" "),r=[12,15,18,21,24];if(-1===r.indexOf(t.length))throw new Error(`Invalid word count in mnemonic (allowed: ${r} got: ${t.length})`);for(const e of t)if(-1===i.wordlist.indexOf(e))throw new Error("Mnemonic contains invalid word");o.mnemonicToEntropy(e),this.data=e}toString(){return this.data}}t.EnglishMnemonic=i,i.wordlist=o.wordlists.english,i.mnemonicMatcher=/^[a-z]+( [a-z]+)*$/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Hmac=class{constructor(e,t){const r=(new e).blockSize;this.hash=t=>(new e).update(t).digest();let n=t;if(n.length>r&&(n=this.hash(n)),n.length92^e),this.iKeyPad=n.map(e=>54^e),this.messageHasher=new e,this.blockSize=r,this.update(this.iKeyPad)}update(e){return this.messageHasher.update(e),this}digest(){const e=this.messageHasher.digest();return this.hash(new Uint8Array([...this.oKeyPad,...e]))}}},function(e,t,r){"use strict";function n(e){let t=0;for(const r of e){if(0!==r)break;t++}return e.slice(t)}Object.defineProperty(t,"__esModule",{value:!0});class o{constructor(e,t){if(e.length>32||0===e.length||0===e[0])throw new Error("Unsigned integer r must be encoded as unpadded big endian.");if(t.length>32||0===t.length||0===t[0])throw new Error("Unsigned integer s must be encoded as unpadded big endian.");this.data={r:e,s:t}}static fromFixedLength(e){if(64!==e.length)throw new Error(`Got invalid data length: ${e.length}. Expected 2x 32 bytes for the pair (r, s)`);return new o(n(e.slice(0,32)),n(e.slice(32,64)))}static fromDer(e){let t=0;if(48!==e[t++])throw new Error("Prefix 0x30 expected");const r=e[t++];if(e.length-t!==r)throw new Error("Data length mismatch detected");if(2!==e[t++])throw new Error("INTEGER tag expected");const i=e[t++];if(i>=128)throw new Error("Decoding length values above 127 not supported");const s=e.slice(t,t+i);t+=i;if(2!==e[t++])throw new Error("INTEGER tag expected");const a=e[t++];if(a>=128)throw new Error("Decoding length values above 127 not supported");const c=e.slice(t,t+a);return t+=a,new o(n(s),n(c))}r(e){if(void 0===e)return this.data.r;{const t=e-this.data.r.length;if(t<0)throw new Error("Length too small to hold parameter r");const r=new Uint8Array(t);return new Uint8Array([...r,...this.data.r])}}s(e){if(void 0===e)return this.data.s;{const t=e-this.data.s.length;if(t<0)throw new Error("Length too small to hold parameter s");const r=new Uint8Array(t);return new Uint8Array([...r,...this.data.s])}}toDer(){const e=this.data.r[0]>=128?new Uint8Array([0,...this.data.r]):this.data.r,t=this.data.s[0]>=128?new Uint8Array([0,...this.data.s]):this.data.s,r=e.length,n=t.length,o=new Uint8Array([2,r,...e,2,n,...t]);return new Uint8Array([48,o.length,...o])}}t.Secp256k1Signature=o;class i extends o{constructor(e,t,r){if(super(e,t),!Number.isInteger(r))throw new Error("The recovery parameter must be an integer.");if(r<0||r>4)throw new Error("The recovery parameter must be one of 0, 1, 2, 3.");this.recovery=r}static fromFixedLength(e){if(65!==e.length)throw new Error(`Got invalid data length ${e.length}. Expected 32 + 32 + 1`);return new i(n(e.slice(0,32)),n(e.slice(32,64)),e[64])}toFixedLength(){return new Uint8Array([...this.r(32),...this.s(32),this.recovery])}}t.ExtendedSecp256k1Signature=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(76));t.Sha1=class{constructor(e){this.blockSize=64,this.impl=o.default("sha1"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}};t.Sha256=class{constructor(e){this.blockSize=64,this.impl=o.default("sha256"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}};t.Sha512=class{constructor(e){this.blockSize=128,this.impl=o.default("sha512"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(761),i=r(769),s=r(42),a=r(770),c=n(r(68)),u=r(772),l=new o.PolyfillCryptoProvider,f=Uint8Array.from([0,0,0,0,0,0,0,0,0,2,75,234,216,223,105,153,8,82,194,2,219,14,0,151,193,161,46,166,55,215,233,109]);class d{constructor(e,t){this.consensusIoPubKey=new Uint8Array,this.apiUrl=e,this.seed=t||d.GenerateNewSeed();const{privkey:r,pubkey:n}=d.GenerateNewKeyPairFromSeed(this.seed);this.privkey=r,this.pubkey=n}static GenerateNewKeyPair(){return d.GenerateNewKeyPairFromSeed(d.GenerateNewSeed())}static GenerateNewSeed(){return a(32,{type:"Uint8Array"})}static GenerateNewKeyPairFromSeed(e){const{private:t,public:r}=i.generateKeyPair(e);return{privkey:t,pubkey:r}}async getConsensusIoPubKey(){if(32===this.consensusIoPubKey.length)return this.consensusIoPubKey;const{data:{result:{ioExchPubkey:e}}}=await c.default.get(this.apiUrl+"/reg/consensus-io-exch-pubkey",{headers:{"Content-Type":"application/json"}});return this.consensusIoPubKey=s.Encoding.fromBase64(e),this.consensusIoPubKey}async getTxEncryptionKey(e){const t=await this.getConsensusIoPubKey(),r=i.sharedKey(this.privkey,t),{key:n}=await u.compute(Uint8Array.from([...r,...e]),"SHA-256",32,"",f);return n}async encrypt(e,t){const r=a(32,{type:"Uint8Array"}),n=await this.getTxEncryptionKey(r),i=await o.SIV.importKey(n,"AES-SIV",l),c=s.Encoding.toUtf8(e+JSON.stringify(t)),u=await i.seal(c,[new Uint8Array]);return Uint8Array.from([...r,...this.pubkey,...u])}async decrypt(e,t){if(0===e.length)return new Uint8Array;const r=await this.getTxEncryptionKey(t),n=await o.SIV.importKey(r,"AES-SIV",l);return await n.open(e,[new Uint8Array])}getPubkey(){return Promise.resolve(this.pubkey)}}t.default=d,e.exports=d},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(140),i=r(370);class s{static importKey(e,t,r=new o.WebCryptoProvider){return n(this,void 0,void 0,(function*(){return new s(yield i.SIV.importKey(e,t,r))}))}constructor(e){this._siv=e}seal(e,t,r=new Uint8Array(0)){return n(this,void 0,void 0,(function*(){return this._siv.seal(e,[r,t])}))}open(e,t,r=new Uint8Array(0)){return n(this,void 0,void 0,(function*(){return this._siv.open(e,[r,t])}))}clear(){return this._siv.clear(),this}}t.AEAD=s},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(199),i=r(200),s=r(201),a=r(198),c=r(106),u=r(371),l=r(372),f=r(140);t.MAX_ASSOCIATED_DATA=126;class d{static importKey(e,t,r=new f.WebCryptoProvider){return n(this,void 0,void 0,(function*(){if(32!==e.length&&64!==e.length)throw new Error("AES-SIV: key must be 32 or 64-bytes (got "+e.length);const n=e.subarray(0,e.length/2|0),o=e.subarray(e.length/2|0);let i;switch(t){case"AES-SIV":case"AES-CMAC-SIV":i=yield u.CMAC.importKey(r,n);break;case"AES-PMAC-SIV":i=yield l.PMAC.importKey(r,n);break;default:throw new a.NotImplementedError("Miscreant: algorithm not supported: "+t)}const s=yield r.importCTRKey(o);return new d(i,s)}))}constructor(e,t){this._mac=e,this._ctr=t,this._tmp1=new c.default,this._tmp2=new c.default}seal(e,r){return n(this,void 0,void 0,(function*(){if(r.length>t.MAX_ASSOCIATED_DATA)throw new Error("AES-SIV: too many associated data items");const n=c.default.SIZE+e.length,o=new Uint8Array(n),i=yield this._s2v(r,e);return o.set(i),h(i),o.set(yield this._ctr.encryptCtr(i,e),i.length),o}))}open(e,r){return n(this,void 0,void 0,(function*(){if(r.length>t.MAX_ASSOCIATED_DATA)throw new Error("AES-SIV: too many associated data items");if(e.length=c.default.SIZE){const e=t.length-c.default.SIZE;this._tmp1.data.set(t.subarray(e)),yield this._mac.update(t.subarray(0,e))}else this._tmp1.data.set(t),this._tmp1.data[t.length]=128,this._tmp2.dbl();return s.xor(this._tmp1.data,this._tmp2.data),yield this._mac.update(this._tmp1.data),this._mac.finish()}))}}function h(e){e[e.length-8]&=127,e[e.length-4]&=127}t.SIV=d},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(106),i=r(201);class s{constructor(e,t,r){this._cipher=e,this._subkey1=t,this._subkey2=r,this._bufferPos=0,this._finished=!1,this._buffer=new o.default}static importKey(e,t){return n(this,void 0,void 0,(function*(){const r=yield e.importBlockCipherKey(t),n=new o.default;yield r.encryptBlock(n),n.dbl();const i=n.clone();return i.dbl(),new s(r,n,i)}))}reset(){return this._buffer.clear(),this._bufferPos=0,this._finished=!1,this}clear(){this.reset(),this._subkey1.clear(),this._subkey2.clear()}update(e){return n(this,void 0,void 0,(function*(){const t=o.default.SIZE-this._bufferPos;let r=0,n=e.length;if(n>t){for(let r=0;ro.default.SIZE;){for(let t=0;t0;e--){const t=i.select(1&a.data[e-1],128,0);a.data[e]=a.data[e]>>>1|t}return a.data[0]>>>=1,a.data[0]^=i.select(u,128,0),a.data[o.default.SIZE-1]^=i.select(u,o.default.R>>>1,0),new c(r,s,a)}))}reset(){return this._buffer.clear(),this._bufferPos=0,this._counter=0,this._offset.clear(),this._tag.clear(),this._finished=!1,this}clear(){this.reset(),this._cipher.clear()}update(e){return n(this,void 0,void 0,(function*(){if(this._finished)throw new Error("pmac: already finished");const t=o.default.SIZE-this._bufferPos;let r=0,n=e.length;for(n>t&&(this._buffer.data.set(e.slice(0,t),this._bufferPos),r+=t,n-=t,yield this._processBuffer());n>o.default.SIZE;)this._buffer.data.set(e.slice(r,r+o.default.SIZE)),r+=o.default.SIZE,n-=o.default.SIZE,yield this._processBuffer();return n>0&&(this._buffer.data.set(e.slice(r,r+n),this._bufferPos),this._bufferPos+=n),this}))}finish(){return n(this,void 0,void 0,(function*(){if(this._finished)throw new Error("pmac: already finished");return this._bufferPos===o.default.SIZE?(a.xor(this._tag.data,this._buffer.data),a.xor(this._tag.data,this._LInv.data)):(a.xor(this._tag.data,this._buffer.data.slice(0,this._bufferPos)),this._tag.data[this._bufferPos]^=128),yield this._cipher.encryptBlock(this._tag),this._finished=!0,this._tag.clone().data}))}_processBuffer(){return n(this,void 0,void 0,(function*(){a.xor(this._offset.data,this._L[s.ctz(this._counter+1)].data),a.xor(this._buffer.data,this._offset.data),this._counter++,yield this._cipher.encryptBlock(this._buffer),a.xor(this._tag.data,this._buffer.data),this._bufferPos=0}))}}t.PMAC=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={hashes:{"SHA3-512":{nodeName:"sha3-512",hashSize:64},"SHA3-384":{nodeName:"sha3-384",hashSize:48},"SHA3-256":{nodeName:"sha3-256",hashSize:32},"SHA3-224":{nodeName:"sha3-224",hashSize:28},"SHA-256":{nodeName:"sha256",hashSize:32},"SHA-384":{nodeName:"sha384",hashSize:48},"SHA-512":{nodeName:"sha512",hashSize:64},"SHA-1":{nodeName:"sha1",hashSize:20},MD5:{nodeName:"md5",hashSize:16}}}},function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(779));t.compute=o.compute,t.default={compute:t.compute}},function(e,t){var r={utf8:{stringToBytes:function(e){return r.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(r.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r126||e[r]<32&&13!==e[r]&&10!==e[r]){t=!1;break}var n=null;if(t){n="";for(r=0;ro.Encoding.fromBase64(e))}}async searchTx(e,t={}){const r=t.minHeight||0,n=t.maxHeight||Number.MAX_SAFE_INTEGER;if(ne.hash);i=[...n,...s.filter(e=>!a.includes(e.hash))]}else{if(!function(e){return void 0!==e.tags}(e))throw new Error("Unknown query type");{const t=o(e.tags.map(e=>`${e.key}=${e.value}`).join("&"));i=await this.txsQuery(t)}}return i.filter(e=>e.height>=r&&e.height<=n)}async postTx(e){const t=await this.restClient.postTx(e);if(!t.txhash.match(/^([0-9A-F][0-9A-F])+$/))throw new Error("Received ill-formatted txhash. Must be non-empty upper-case hex");if(t.code)throw new Error(`Error when posting tx ${t.txhash}. Code: ${t.code}; Raw log: ${t.raw_log}`);return{logs:t.logs?i.parseLogs(t.logs):[],rawLog:t.raw_log||"",transactionHash:t.txhash,data:t.data||""}}async getCodes(){return(await this.restClient.listCodeInfo()).map(e=>(this.anyValidAddress=e.creator,{id:e.id,creator:e.creator,checksum:o.Encoding.toHex(o.Encoding.fromHex(e.data_hash)),source:e.source||void 0,builder:e.builder||void 0}))}async getCodeDetails(e){const t=this.codesCache.get(e);if(t)return t;const r=await this.restClient.getCode(e),n={id:r.id,creator:r.creator,checksum:o.Encoding.toHex(o.Encoding.fromHex(r.data_hash)),source:r.source||void 0,builder:r.builder||void 0,data:o.Encoding.fromBase64(r.data)};return this.codesCache.set(e,n),n}async getContracts(e){return(await this.restClient.listContractsByCodeId(e)).map(e=>({address:e.address,codeId:e.code_id,creator:e.creator,label:e.label}))}async getContract(e){const t=await this.restClient.getContractInfo(e);if(!t)throw new Error(`No contract found at address "${e}"`);return{address:t.address,codeId:t.code_id,creator:t.creator,label:t.label,initMsg:t.init_msg}}async queryContractSmart(e,t,r){try{return await this.restClient.queryContractSmart(e,t,r)}catch(t){throw t instanceof Error&&t.message.startsWith("not found: contract")?new Error(`No contract found at address "${e}"`):t}}async txsQuery(e){const t=await this.restClient.txsQuery(e+"&limit=100");if(parseInt(t.page_total,10)>1)throw new Error(`Found more results on the backend than we can process currently. Results: ${t.total_count}, supported: 100`);return t.txs.map(e=>({height:parseInt(e.height,10),hash:e.txhash,code:e.code||0,rawLog:e.raw_log,logs:i.parseLogs(e.logs||[]),tx:e.tx,timestamp:e.timestamp}))}getCodeHashByCodeId(e){return this.restClient.getCodeHashByCodeId(e)}getCodeHashByContractAddr(e){return this.restClient.getCodeHashByContractAddr(e)}async getNonceByTxId(e){const t=(await this.restClient.txById(e,!1)).tx.value.msg,r=[];for(const e of t){let t;t="wasm/MsgExecuteContract"===e.type?o.Encoding.fromBase64(e.value.msg).slice(0,32):"wasm/MsgInstantiateContract"===e.type?o.Encoding.fromBase64(e.value.init_msg).slice(0,32):null,r.push(t)}return r}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="secret-wasm"},function(e,t,r){"use strict";var n,o=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundTxService=void 0;const u=r(43),l=c(r(68)),f=r(58),d=r(102),h=r(236),p=r(2);let g=n=class{constructor(e,t){this.chainsService=e,this.permissionService=t}sendTx(e,t,r){return a(this,void 0,void 0,(function*(){const o=yield this.chainsService.getChainInfo(e),i=l.default.create(Object.assign({baseURL:o.rest},o.restConfig));browser.notifications.create({type:"basic",iconUrl:browser.runtime.getURL("assets/temp-icon.svg"),title:"Tx is pending...",message:"Wait a second"});const s={tx:t,mode:r};try{const e=yield i.post("/txs",s);if(null!=e.data.code&&0!==e.data.code)throw new Error(e.data.raw_log);const t=p.Buffer.from(e.data.txhash,"hex"),r=new h.TendermintTxTracer(o.rpc,"/websocket");return r.traceTx(t).then(e=>{r.close(),n.processTxResultNotification(e)}),t}catch(e){throw console.log(e),n.processTxErrorNotification(e),e}}))}static processTxResultNotification(e){var t;try{if("commit"===e.mode){if(void 0!==e.checkTx.code&&0!==e.checkTx.code)throw new Error(e.checkTx.log);if(void 0!==e.deliverTx.code&&0!==e.deliverTx.code)throw new Error(e.deliverTx.log)}else if(null!=e.code&&0!==e.code){const r=null!==(t=e.log)&&void 0!==t?t:e.raw_log;throw new Error(r)}browser.notifications.create({type:"basic",iconUrl:browser.runtime.getURL("assets/temp-icon.svg"),title:"Tx succeeds",message:"Congratulations!"})}catch(e){n.processTxErrorNotification(e)}}static processTxErrorNotification(e){console.log(e);let t=e.message;const r=/code:\s*(-?\d+),\s*message:\s*(.+),\sdata:\s(.+)/g.exec(e.message);r&&4===r.length&&(t=r[3]);try{const r=JSON.parse(e.message);(null==r?void 0:r.message)&&(t=r.message)}catch(e){}try{const r=JSON.parse(e.message);if(r&&r.length>0)for(const e of r)if(!e.success){const r=JSON.parse(e.log);if(null==r?void 0:r.message){t=r.message;break}}}catch(e){}browser.notifications.create({type:"basic",iconUrl:browser.runtime.getURL("assets/temp-icon.svg"),title:"Tx failed",message:t})}};g=n=o([u.singleton(),s(0,u.inject(u.delay(()=>f.ChainsService))),s(1,u.inject(u.delay(()=>d.PermissionService))),i("design:paramtypes",[f.ChainsService,d.PermissionService])],g),t.BackgroundTxService=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="background-tx"},function(e,t,r){"use strict";var n,o=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.TokensService=void 0;const c=r(43),u=r(52),l=r(58),f=r(11),d=r(58),h=r(103),p=r(103),g=r(83),m=r(102),y=r(2),b=r(142),v=r(383);let w=n=class{constructor(e,t,r,n,o){this.kvStore=e,this.interactionService=t,this.permissionService=r,this.chainsService=n,this.keyRingService=o,this.onChainRemoved=e=>{this.clearTokens(e)},this.chainsService.addChainRemovedHandler(this.onChainRemoved)}suggestToken(e,t,r,n){return a(this,void 0,void 0,(function*(){const o=yield this.chainsService.getChainInfo(t);if((yield this.getTokens(t)).find(e=>"contractAddress"in e&&e.contractAddress===r))return;f.Bech32Address.validate(r,o.bech32Config.bech32PrefixAccAddr);const i={chainId:t,contractAddress:r,viewingKey:n},s=yield this.interactionService.waitApprove(e,"/setting/token/add",b.SuggestTokenMsg.type(),i);yield this.addToken(t,s)}))}addToken(e,t){return a(this,void 0,void 0,(function*(){const r=yield this.chainsService.getChainInfo(e);t=yield n.validateCurrency(r,t);const o=yield this.getTokens(e),i="type"in t&&"secret20"===t.type;let s=!1;for(const e of o)if(t.coinMinimalDenom===e.coinMinimalDenom){if(!i)return;s=!0}if(i){const r=yield this.getTokensFromChainAndAccount(e);if(s){const n=r.findIndex(e=>e.coinMinimalDenom===t.coinMinimalDenom);n>=0&&(r[n]=t,yield this.saveTokensToChainAndAccount(e,r))}else r.push(t),yield this.saveTokensToChainAndAccount(e,r)}else{const r=yield this.getTokensFromChain(e);r.push(t),yield this.saveTokensToChain(e,r)}}))}removeToken(e,t){return a(this,void 0,void 0,(function*(){const r=yield this.chainsService.getChainInfo(e);t=yield n.validateCurrency(r,t);const o=yield this.getTokens(e),i="type"in t&&"secret20"===t.type;let s=!1;for(const e of o)if(t.coinMinimalDenom===e.coinMinimalDenom){s=!0;break}if(s)if(i){const r=(yield this.getTokensFromChainAndAccount(e)).filter(e=>e.coinMinimalDenom!==t.coinMinimalDenom);yield this.saveTokensToChainAndAccount(e,r)}else{const r=(yield this.getTokensFromChain(e)).filter(e=>e.coinMinimalDenom!==t.coinMinimalDenom);yield this.saveTokensToChain(e,r)}}))}getTokens(e){var t,r;return a(this,void 0,void 0,(function*(){const n=f.ChainIdHelper.parse(e),o=null!==(t=yield this.kvStore.get(n.identifier))&&void 0!==t?t:[];let i=[];if(this.keyRingService.keyRingStatus===p.KeyRingStatus.UNLOCKED){const t=yield this.keyRingService.getKey(e);i=null!==(r=yield this.kvStore.get(`${n.identifier}-${y.Buffer.from(t.address).toString("hex")}`))&&void 0!==r?r:[]}return o.concat(i)}))}clearTokens(e){return a(this,void 0,void 0,(function*(){const t=f.ChainIdHelper.parse(e);yield this.kvStore.set(t.identifier,null);const r=yield this.getTokensToAccountReverse(e);for(const e of r)yield this.kvStore.set(`${t.identifier}-${e}`,null);yield this.setTokensToAccountReverse(e,[])}))}getTokensFromChain(e){var t;return a(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e);return null!==(t=yield this.kvStore.get(r.identifier))&&void 0!==t?t:[]}))}saveTokensToChain(e,t){return a(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e);yield this.kvStore.set(r.identifier,t)}))}getTokensFromChainAndAccount(e){var t;return a(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e),n=yield this.keyRingService.getKey(e);return null!==(t=yield this.kvStore.get(`${r.identifier}-${y.Buffer.from(n.address).toString("hex")}`))&&void 0!==t?t:[]}))}saveTokensToChainAndAccount(e,t){return a(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e),n=yield this.keyRingService.getKey(e),o=y.Buffer.from(n.address).toString("hex");yield this.kvStore.set(`${r.identifier}-${o}`,t),yield this.insertTokensToAccountReverse(e,o)}))}getTokensToAccountReverse(e){var t;return a(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e);return null!==(t=yield this.kvStore.get(r.identifier+"-addresses"))&&void 0!==t?t:[]}))}setTokensToAccountReverse(e,t){return a(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e);yield this.kvStore.set(r.identifier+"-addresses",t)}))}insertTokensToAccountReverse(e,t){return a(this,void 0,void 0,(function*(){const r=yield this.getTokensToAccountReverse(e);r.indexOf(t)<0&&(r.push(t),yield this.setTokensToAccountReverse(e,r))}))}getSecret20ViewingKey(e,t){return a(this,void 0,void 0,(function*(){const r=yield this.getTokens(e);for(const e of r)if("type"in e&&"secret20"===e.type&&e.contractAddress===t)return e.viewingKey;throw new Error("There is no matched secret20")}))}checkOrGrantSecret20ViewingKeyPermission(e,t,r,n){return a(this,void 0,void 0,(function*(){yield this.getSecret20ViewingKey(t,r);const o=v.getSecret20ViewingKeyPermissionType(r);this.permissionService.hasPermisson(t,o,n)||(yield this.permissionService.grantPermission(e,"/access/viewing-key",[t],o,[n])),this.permissionService.checkPermission(e,t,o,n)}))}static validateCurrency(e,t){return a(this,void 0,void 0,(function*(){if("type"in t)switch(t.type){case"cw20":t=yield n.validateCW20Currency(e,t);break;case"secret20":t=yield n.validateSecret20Currency(e,t);break;default:throw new Error("Unknown type of currency")}else t=yield l.CurrencySchema.validateAsync(t);return t}))}static validateCW20Currency(e,t){return a(this,void 0,void 0,(function*(){return t=yield l.CW20CurrencyShema.validateAsync(t),f.Bech32Address.validate(t.contractAddress,e.bech32Config.bech32PrefixAccAddr),t}))}static validateSecret20Currency(e,t){return a(this,void 0,void 0,(function*(){return t=yield l.Secret20CurrencyShema.validateAsync(t),f.Bech32Address.validate(t.contractAddress,e.bech32Config.bech32PrefixAccAddr),t}))}};w=n=o([c.singleton(),s(0,c.inject(u.TYPES.TokensStore)),s(1,c.inject(c.delay(()=>g.InteractionService))),s(2,c.inject(c.delay(()=>m.PermissionService))),s(3,c.inject(d.ChainsService)),s(4,c.inject(c.delay(()=>h.KeyRingService))),i("design:paramtypes",[Object,g.InteractionService,m.PermissionService,d.ChainsService,h.KeyRingService])],w),t.TokensService=w},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="tokens"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitSecret20ViewingKeyPermissionType=t.isSecret20ViewingKeyPermissionType=t.getSecret20ViewingKeyPermissionType=void 0,t.getSecret20ViewingKeyPermissionType=function(e){return"viewing-key/"+e},t.isSecret20ViewingKeyPermissionType=function(e){return e.startsWith("viewing-key/")},t.splitSecret20ViewingKeyPermissionType=function(e){return e.replace("viewing-key/","")}},,,function(e,t,r){"use strict";const n=()=>{const e=new Error("Delay aborted");return e.name="AbortError",e},o=({clearTimeout:e,setTimeout:t,willResolve:r})=>(o,{value:i,signal:s}={})=>{if(s&&s.aborted)return Promise.reject(n());let a,c,u;const l=e||clearTimeout,f=()=>{l(a),u(n())},d=new Promise((e,n)=>{c=()=>{s&&s.removeEventListener("abort",f),r?e(i):n(i)},u=n,a=(t||setTimeout)(c,o)});return s&&s.addEventListener("abort",f,{once:!0}),d.clear=()=>{l(a),a=null,c()},d},i=o({willResolve:!0});i.reject=o({willResolve:!1}),i.range=(e,t,r)=>i(((e,t)=>Math.floor(Math.random()*(t-e+1)+e))(e,t),r),i.createWithTimers=({clearTimeout:e,setTimeout:t})=>{const r=o({clearTimeout:e,setTimeout:t,willResolve:!0});return r.reject=o({clearTimeout:e,setTimeout:t,willResolve:!1}),r},e.exports=i,e.exports.default=i},,,,,,,,,,function(e,t,r){"use strict";var n=r(7).Buffer;e.exports=function(e){if(e.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),r=0;r>>0,l=new Uint8Array(s);e[r];){var f=t[e.charCodeAt(r)];if(255===f)return;for(var d=0,h=s-1;(0!==f||d>>0,l[h]=f%256>>>0,f=f/256>>>0;if(0!==f)throw new Error("Non-zero carry");i=d,r++}if(" "!==e[r]){for(var p=s-i;p!==s&&0===l[p];)p++;var g=n.allocUnsafe(o+(s-p));g.fill(0,0,o);for(var m=o;p!==s;)g[m++]=l[p++];return g}}}return{encode:function(t){if((Array.isArray(t)||t instanceof Uint8Array)&&(t=n.from(t)),!n.isBuffer(t))throw new TypeError("Expected Buffer");if(0===t.length)return"";for(var r=0,o=0,i=0,s=t.length;i!==s&&0===t[i];)i++,r++;for(var u=(s-i)*l+1>>>0,f=new Uint8Array(u);i!==s;){for(var d=t[i],h=0,p=u-1;(0!==d||h>>0,f[p]=d%a>>>0,d=d/a>>>0;if(0!==d)throw new Error("Non-zero carry");o=h,i++}for(var g=u-o;g!==u&&0===f[g];)g++;for(var m=c.repeat(r);g{n(this,void 0,void 0,(function*(){const t=s[e];t&&(yield browser.windows.remove(t))}))})()},t.fitPopupWindow=function(){const e=window.outerWidth-window.innerWidth,t=window.outerHeight-window.innerHeight;browser.windows?browser.windows.getCurrent().then(r=>{null!=(null==r?void 0:r.id)&&browser.windows.update(r.id,{width:o+e,height:i+t})}):window.resizeTo(o+e,i+t)},t.disableScroll=function(){document.getElementsByTagName("html")[0].style.overflow="hidden"},t.enableScroll=function(){document.getElementsByTagName("html")[0].style.overflow=""}},function(e,t){(function(t){e.exports=t}).call(this,{})},,function(e,t,r){"use strict";(function(t){!function(r){function n(e){const t=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);let r=1779033703,n=3144134277,o=1013904242,i=2773480762,s=1359893119,a=2600822924,c=528734635,u=1541459225;const l=new Uint32Array(64);function f(e){let f=0,d=e.length;for(;d>=64;){let h,p,g,m,y,b=r,v=n,w=o,_=i,k=s,S=a,O=c,j=u;for(p=0;p<16;p++)g=f+4*p,l[p]=(255&e[g])<<24|(255&e[g+1])<<16|(255&e[g+2])<<8|255&e[g+3];for(p=16;p<64;p++)h=l[p-2],m=(h>>>17|h<<15)^(h>>>19|h<<13)^h>>>10,h=l[p-15],y=(h>>>7|h<<25)^(h>>>18|h<<14)^h>>>3,l[p]=(m+l[p-7]|0)+(y+l[p-16]|0)|0;for(p=0;p<64;p++)m=(((k>>>6|k<<26)^(k>>>11|k<<21)^(k>>>25|k<<7))+(k&S^~k&O)|0)+(j+(t[p]+l[p]|0)|0)|0,y=((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+(b&v^b&w^v&w)|0,j=O,O=S,S=k,k=_+m|0,_=w,w=v,v=b,b=m+y|0;r=r+b|0,n=n+v|0,o=o+w|0,i=i+_|0,s=s+k|0,a=a+S|0,c=c+O|0,u=u+j|0,f+=64,d-=64}}f(e);let d,h=e.length%64,p=e.length/536870912|0,g=e.length<<3,m=h<56?56:120,y=e.slice(e.length-h,e.length);for(y.push(128),d=h+1;d>>24&255),y.push(p>>>16&255),y.push(p>>>8&255),y.push(p>>>0&255),y.push(g>>>24&255),y.push(g>>>16&255),y.push(g>>>8&255),y.push(g>>>0&255),f(y),[r>>>24&255,r>>>16&255,r>>>8&255,r>>>0&255,n>>>24&255,n>>>16&255,n>>>8&255,n>>>0&255,o>>>24&255,o>>>16&255,o>>>8&255,o>>>0&255,i>>>24&255,i>>>16&255,i>>>8&255,i>>>0&255,s>>>24&255,s>>>16&255,s>>>8&255,s>>>0&255,a>>>24&255,a>>>16&255,a>>>8&255,a>>>0&255,c>>>24&255,c>>>16&255,c>>>8&255,c>>>0&255,u>>>24&255,u>>>16&255,u>>>8&255,u>>>0&255]}function o(e,t,r){e=e.length<=64?e:n(e);const o=64+t.length+4,i=new Array(o),s=new Array(64);let a,c=[];for(a=0;a<64;a++)i[a]=54;for(a=0;a=o-4;e--){if(i[e]++,i[e]<=255)return;i[e]=0}}for(;r>=32;)u(),c=c.concat(n(s.concat(n(i)))),r-=32;return r>0&&(u(),c=c.concat(n(s.concat(n(i))).slice(0,r))),c}function i(e,t,r,n,o){let i;for(u(e,16*(2*r-1),o,0,16),i=0;i<2*r;i++)c(e,16*i,o,16),a(o,n),u(o,0,e,t+16*i,16);for(i=0;i>>32-t}function a(e,t){u(e,0,t,0,16);for(let e=8;e>0;e-=2)t[4]^=s(t[0]+t[12],7),t[8]^=s(t[4]+t[0],9),t[12]^=s(t[8]+t[4],13),t[0]^=s(t[12]+t[8],18),t[9]^=s(t[5]+t[1],7),t[13]^=s(t[9]+t[5],9),t[1]^=s(t[13]+t[9],13),t[5]^=s(t[1]+t[13],18),t[14]^=s(t[10]+t[6],7),t[2]^=s(t[14]+t[10],9),t[6]^=s(t[2]+t[14],13),t[10]^=s(t[6]+t[2],18),t[3]^=s(t[15]+t[11],7),t[7]^=s(t[3]+t[15],9),t[11]^=s(t[7]+t[3],13),t[15]^=s(t[11]+t[7],18),t[1]^=s(t[0]+t[3],7),t[2]^=s(t[1]+t[0],9),t[3]^=s(t[2]+t[1],13),t[0]^=s(t[3]+t[2],18),t[6]^=s(t[5]+t[4],7),t[7]^=s(t[6]+t[5],9),t[4]^=s(t[7]+t[6],13),t[5]^=s(t[4]+t[7],18),t[11]^=s(t[10]+t[9],7),t[8]^=s(t[11]+t[10],9),t[9]^=s(t[8]+t[11],13),t[10]^=s(t[9]+t[8],18),t[12]^=s(t[15]+t[14],7),t[13]^=s(t[12]+t[15],9),t[14]^=s(t[13]+t[12],13),t[15]^=s(t[14]+t[13],18);for(let r=0;r<16;++r)e[r]+=t[r]}function c(e,t,r,n){for(let o=0;o=256)return!1}return!0}function f(e,t){if("number"!=typeof e||e%1)throw new Error("invalid "+t);return e}function d(e,r,n,s,a,d,h){if(n=f(n,"N"),s=f(s,"r"),a=f(a,"p"),d=f(d,"dkLen"),0===n||0!=(n&n-1))throw new Error("N must be power of 2");if(n>2147483647/128/s)throw new Error("N too large");if(s>2147483647/128/a)throw new Error("r too large");if(!l(e))throw new Error("password must be an array or buffer");if(e=Array.prototype.slice.call(e),!l(r))throw new Error("salt must be an array or buffer");r=Array.prototype.slice.call(r);let p=o(e,r,128*a*s);const g=new Uint32Array(32*a*s);for(let e=0;eA&&(t=A);for(let e=0;eA&&(t=A);for(let e=0;e>0&255),p.push(g[e]>>8&255),p.push(g[e]>>16&255),p.push(g[e]>>24&255);const r=o(e,p,d);return h&&h(null,1,r),r}h&&M(I)};if(!h)for(;;){const e=I();if(null!=e)return e}I()}const h={scrypt:function(e,t,r,n,o,i,s){return new Promise((function(a,c){let u=0;s&&s(0),d(e,t,r,n,o,i,(function(e,t,r){if(e)c(e);else if(r)s&&1!==u&&s(1),a(new Uint8Array(r));else if(s&&t!==u)return u=t,s(t)}))}))},syncScrypt:function(e,t,r,n,o,i){return new Uint8Array(d(e,t,r,n,o,i))}};e.exports=h}()}).call(this,r(223).setImmediate)},function(e,t,r){"use strict";var n={};(0,r(57).assign)(n,r(538),r(541),r(296)),e.exports=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(645),o=r(646),i=r(648),s=()=>{},a=new o.TimeoutError;t.default=class extends n{constructor(e){var t,r,n,o;if(super(),this._intervalCount=0,this._intervalEnd=0,this._pendingCount=0,this._resolveEmpty=s,this._resolveIdle=s,!("number"==typeof(e=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:i.default},e)).intervalCap&&e.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${null!==(r=null===(t=e.intervalCap)||void 0===t?void 0:t.toString())&&void 0!==r?r:""}\` (${typeof e.intervalCap})`);if(void 0===e.interval||!(Number.isFinite(e.interval)&&e.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${null!==(o=null===(n=e.interval)||void 0===n?void 0:n.toString())&&void 0!==o?o:""}\` (${typeof e.interval})`);this._carryoverConcurrencyCount=e.carryoverConcurrencyCount,this._isIntervalIgnored=e.intervalCap===1/0||0===e.interval,this._intervalCap=e.intervalCap,this._interval=e.interval,this._queue=new e.queueClass,this._queueClass=e.queueClass,this.concurrency=e.concurrency,this._timeout=e.timeout,this._throwOnTimeout=!0===e.throwOnTimeout,this._isPaused=!1===e.autoStart}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount{this._onResumeInterval()},t)),!0;this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0}return!1}_tryToStartAnother(){if(0===this._queue.size)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){const e=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){const t=this._queue.dequeue();return!!t&&(this.emit("active"),t(),e&&this._initializeIntervalIfNeeded(),!0)}}return!1}_initializeIntervalIfNeeded(){this._isIntervalIgnored||void 0!==this._intervalId||(this._intervalId=setInterval(()=>{this._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}_onInterval(){0===this._intervalCount&&0===this._pendingCount&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}_processQueue(){for(;this._tryToStartAnother(););}get concurrency(){return this._concurrency}set concurrency(e){if(!("number"==typeof e&&e>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`);this._concurrency=e,this._processQueue()}async add(e,t={}){return new Promise((r,n)=>{this._queue.enqueue(async()=>{this._pendingCount++,this._intervalCount++;try{const i=void 0===this._timeout&&void 0===t.timeout?e():o.default(Promise.resolve(e()),void 0===t.timeout?this._timeout:t.timeout,()=>{(void 0===t.throwOnTimeout?this._throwOnTimeout:t.throwOnTimeout)&&n(a)});r(await i)}catch(e){n(e)}this._next()},t),this._tryToStartAnother(),this.emit("add")})}async addAll(e,t){return Promise.all(e.map(async e=>this.add(e,t)))}start(){return this._isPaused?(this._isPaused=!1,this._processQueue(),this):this}pause(){this._isPaused=!0}clear(){this._queue=new this._queueClass}async onEmpty(){if(0!==this._queue.size)return new Promise(e=>{const t=this._resolveEmpty;this._resolveEmpty=()=>{t(),e()}})}async onIdle(){if(0!==this._pendingCount||0!==this._queue.size)return new Promise(e=>{const t=this._resolveIdle;this._resolveIdle=()=>{t(),e()}})}get size(){return this._queue.size}sizeBy(e){return this._queue.filter(e).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(e){this._timeout=e}}},,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CoinPretty=void 0;const n=r(221);class o{constructor(e,t){this._currency=e,this.amount=t,this._options={separator:" ",upperCase:!1,lowerCase:!1,hideDenom:!1},t instanceof n.IntPretty?this.intPretty=t:this.intPretty=new n.IntPretty(t),this.intPretty=this.intPretty.maxDecimals(e.coinDecimals).precision(e.coinDecimals)}get options(){return Object.assign(Object.assign({},this._options),this.intPretty.options)}get denom(){return this.currency.coinDenom}get currency(){return this._currency}setCurrency(e){const t=new o(e,this.amount);return t._options=Object.assign({},this._options),t.intPretty=this.intPretty.clone(),t}separator(e){const t=this.clone();return t._options.separator=e,t}upperCase(e){const t=this.clone();return t._options.upperCase=e,t._options.lowerCase=!e,t}lowerCase(e){const t=this.clone();return t._options.lowerCase=e,t._options.upperCase=!e,t}hideDenom(e){const t=this.clone();return t._options.hideDenom=e,t}precision(e){const t=this.clone();return t.intPretty=t.intPretty.precision(e),t}maxDecimals(e){const t=this.clone();return t.intPretty=t.intPretty.maxDecimals(e),t}trim(e){const t=this.clone();return t.intPretty=t.intPretty.trim(e),t}shrink(e){const t=this.clone();return t.intPretty=t.intPretty.shrink(e),t}locale(e){const t=this.clone();return t.intPretty=t.intPretty.locale(e),t}ready(e){const t=this.clone();return t.intPretty=t.intPretty.ready(e),t}get isReady(){return this.intPretty.isReady}add(e){const t=this.clone();return t.intPretty=t.intPretty.add(e.intPretty),t}toDec(){return this.intPretty.toDec()}toString(){let e=this.denom;this._options.upperCase&&(e=e.toUpperCase()),this._options.lowerCase&&(e=e.toLowerCase());let t=this._options.separator;return this._options.hideDenom&&(e="",t=""),`${this.intPretty.toString()}${t}${e}`}clone(){const e=new o(this._currency,this.amount);return e._options=Object.assign({},this._options),e.intPretty=this.intPretty.clone(),e}}t.CoinPretty=o},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseAccount=void 0;const o=r(23);class i{constructor(e,t,r,n){this.type=e,this.address=t,this.accountNumber=r,this.sequence=n}static fetchFromRest(e,t,r=!1){return n(this,void 0,void 0,(function*(){const n=yield e.get("auth/accounts/"+t);return i.fromAminoJSON(n.data,r?t:"")}))}static fromAminoJSON(e,t=""){"height"in e&&(e=e.result);const r=e.type;if(!r)throw new Error("Account's type is unknown: "+JSON.stringify(e));let n=e.value;const s=n.BaseVestingAccount||n.baseVestingAccount||n.base_vesting_account;s&&(n=s.BaseAccount||s.baseAccount||s.base_account);let a=n.address;if(!a){if(!t)throw new Error("Account's address is unknown: "+JSON.stringify(e));a=t}const c=n.account_number;if(null==c)throw new Error("Account's account number is unknown: "+JSON.stringify(e));const u=n.sequence;return new i(r,a,new o.Int(c),new o.Int(null!=u?u:"0"))}getType(){return this.type}getAddress(){return this.address}getAccountNumber(){return this.accountNumber}getSequence(){return this.sequence}}t.BaseAccount=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Bech32Address=void 0;const o=n(r(94));t.Bech32Address=class{constructor(e){this.address=e}static shortenAddress(e,t){if(t>=e.length)return e;const r=e.indexOf("1"),n=e.slice(0,r),o=e.slice(r+1);if(t-=n.length,t-=3,(t-=1)<=0)return"";const i=Math.floor(o.length/2);let s=o.slice(0,i),a=o.slice(i);for(;t0?s=s.slice(0,s.length-1):a=a.slice(1);return n+"1"+s+"..."+a}static validate(e,t){const{prefix:r}=o.default.decode(e);if(t&&t!==r)throw new Error(`Unexpected prefix (expected: ${t}, actual: ${r})`)}static defaultBech32Config(e,t="val",r="cons",n="pub",o="oper"){return{bech32PrefixAccAddr:e,bech32PrefixAccPub:e+n,bech32PrefixValAddr:e+t+o,bech32PrefixValPub:e+t+o+n,bech32PrefixConsAddr:e+t+r,bech32PrefixConsPub:e+t+r+n}}toBech32(e){const t=o.default.toWords(this.address);return o.default.encode(e,t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChainIdHelper=void 0;class n{static parse(e){const t=e.split(n.VersionFormatRegExp).filter(Boolean);return 2!==t.length?{identifier:e,version:0}:{identifier:t[0],version:parseInt(t[1])}}static hasChainVersion(e){return n.parse(e).identifier!==e}}t.ChainIdHelper=n,n.VersionFormatRegExp=/(.+)-([\d]+)/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WsReadyState=void 0,function(e){e[e.CONNECTING=0]="CONNECTING",e[e.OPEN=1]="OPEN",e[e.CLOSING=2]="CLOSING",e[e.CLOSED=3]="CLOSED",e[e.NONE=4]="NONE"}(t.WsReadyState||(t.WsReadyState={}))},function(e,t){ -/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ -t.read=function(e,t,r,n,o){var i,s,a=8*o-n-1,c=(1<>1,l=-7,f=r?o-1:0,d=r?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-l)-1,h>>=-l,l+=a;l>0;i=256*i+e[t+f],f+=d,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=n;l>0;s=256*s+e[t+f],f+=d,l-=8);if(0===i)i=1-u;else{if(i===c)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,n),i-=u}return(h?-1:1)*s*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var s,a,c,u=8*i-o-1,l=(1<>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,p=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+f>=1?d/c:d*Math.pow(2,1-f))*c>=2&&(s++,c/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(t*c-1)*Math.pow(2,o),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,o),s=0));o>=8;e[r+h]=255&a,h+=p,a/=256,o-=8);for(s=s<0;e[r+h]=255&s,h+=p,s/=256,u-=8);e[r+h-p]|=128*g}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(238),t),o(r(118),t),o(r(242),t),o(r(443),t)},function(e,t,r){"use strict";var n=t;function o(){n.util._configure(),n.Writer._configure(n.BufferWriter),n.Reader._configure(n.BufferReader)}n.build="minimal",n.Writer=r(239),n.BufferWriter=r(437),n.Reader=r(240),n.BufferReader=r(438),n.util=r(64),n.rpc=r(439),n.roots=r(441),n.configure=o,o()},function(e,t,r){"use strict";e.exports=function(e,t){var r=new Array(arguments.length-1),n=0,o=2,i=!0;for(;o1&&"="===e.charAt(t);)++r;return Math.ceil(3*e.length)/4-r};for(var o=new Array(64),i=new Array(123),s=0;s<64;)i[o[s]=s<26?s+65:s<52?s+71:s<62?s-4:s-59|43]=s++;n.encode=function(e,t,r){for(var n,i=null,s=[],a=0,c=0;t>2],n=(3&u)<<4,c=1;break;case 1:s[a++]=o[n|u>>4],n=(15&u)<<2,c=2;break;case 2:s[a++]=o[n|u>>6],s[a++]=o[63&u],c=0}a>8191&&((i||(i=[])).push(String.fromCharCode.apply(String,s)),a=0)}return c&&(s[a++]=o[n],s[a++]=61,1===c&&(s[a++]=61)),i?(a&&i.push(String.fromCharCode.apply(String,s.slice(0,a))),i.join("")):String.fromCharCode.apply(String,s.slice(0,a))};n.decode=function(e,t,r){for(var n,o=r,s=0,a=0;a1)break;if(void 0===(c=i[c]))throw Error("invalid encoding");switch(s){case 0:n=c,s=1;break;case 1:t[r++]=n<<2|(48&c)>>4,n=c,s=2;break;case 2:t[r++]=(15&n)<<4|(60&c)>>2,n=c,s=3;break;case 3:t[r++]=(3&n)<<6|c,s=0}}if(1===s)throw Error("invalid encoding");return r-o},n.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}},function(e,t,r){"use strict";function n(){this._listeners={}}e.exports=n,n.prototype.on=function(e,t,r){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:r||this}),this},n.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var r=this._listeners[e],n=0;n0?0:2147483648,r,n);else if(isNaN(t))e(2143289344,r,n);else if(t>34028234663852886e22)e((o<<31|2139095040)>>>0,r,n);else if(t<11754943508222875e-54)e((o<<31|Math.round(t/1401298464324817e-60))>>>0,r,n);else{var i=Math.floor(Math.log(t)/Math.LN2);e((o<<31|i+127<<23|8388607&Math.round(t*Math.pow(2,-i)*8388608))>>>0,r,n)}}function r(e,t,r){var n=e(t,r),o=2*(n>>31)+1,i=n>>>23&255,s=8388607&n;return 255===i?s?NaN:o*(1/0):0===i?1401298464324817e-60*o*s:o*Math.pow(2,i-150)*(s+8388608)}e.writeFloatLE=t.bind(null,o),e.writeFloatBE=t.bind(null,i),e.readFloatLE=r.bind(null,s),e.readFloatBE=r.bind(null,a)}(),"undefined"!=typeof Float64Array?function(){var t=new Float64Array([-0]),r=new Uint8Array(t.buffer),n=128===r[7];function o(e,n,o){t[0]=e,n[o]=r[0],n[o+1]=r[1],n[o+2]=r[2],n[o+3]=r[3],n[o+4]=r[4],n[o+5]=r[5],n[o+6]=r[6],n[o+7]=r[7]}function i(e,n,o){t[0]=e,n[o]=r[7],n[o+1]=r[6],n[o+2]=r[5],n[o+3]=r[4],n[o+4]=r[3],n[o+5]=r[2],n[o+6]=r[1],n[o+7]=r[0]}function s(e,n){return r[0]=e[n],r[1]=e[n+1],r[2]=e[n+2],r[3]=e[n+3],r[4]=e[n+4],r[5]=e[n+5],r[6]=e[n+6],r[7]=e[n+7],t[0]}function a(e,n){return r[7]=e[n],r[6]=e[n+1],r[5]=e[n+2],r[4]=e[n+3],r[3]=e[n+4],r[2]=e[n+5],r[1]=e[n+6],r[0]=e[n+7],t[0]}e.writeDoubleLE=n?o:i,e.writeDoubleBE=n?i:o,e.readDoubleLE=n?s:a,e.readDoubleBE=n?a:s}():function(){function t(e,t,r,n,o,i){var s=n<0?1:0;if(s&&(n=-n),0===n)e(0,o,i+t),e(1/n>0?0:2147483648,o,i+r);else if(isNaN(n))e(0,o,i+t),e(2146959360,o,i+r);else if(n>17976931348623157e292)e(0,o,i+t),e((s<<31|2146435072)>>>0,o,i+r);else{var a;if(n<22250738585072014e-324)e((a=n/5e-324)>>>0,o,i+t),e((s<<31|a/4294967296)>>>0,o,i+r);else{var c=Math.floor(Math.log(n)/Math.LN2);1024===c&&(c=1023),e(4503599627370496*(a=n*Math.pow(2,-c))>>>0,o,i+t),e((s<<31|c+1023<<20|1048576*a&1048575)>>>0,o,i+r)}}}function r(e,t,r,n,o){var i=e(n,o+t),s=e(n,o+r),a=2*(s>>31)+1,c=s>>>20&2047,u=4294967296*(1048575&s)+i;return 2047===c?u?NaN:a*(1/0):0===c?5e-324*a*u:a*Math.pow(2,c-1075)*(u+4503599627370496)}e.writeDoubleLE=t.bind(null,o,0,4),e.writeDoubleBE=t.bind(null,i,4,0),e.readDoubleLE=r.bind(null,s,0,4),e.readDoubleBE=r.bind(null,a,4,0)}(),e}function o(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}function i(e,t,r){t[r]=e>>>24,t[r+1]=e>>>16&255,t[r+2]=e>>>8&255,t[r+3]=255&e}function s(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function a(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=n(n)},function(module,exports,__webpack_require__){"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},function(e,t,r){"use strict";var n=t;n.length=function(e){for(var t=0,r=0,n=0;n191&&n<224?i[s++]=(31&n)<<6|63&e[t++]:n>239&&n<365?(n=((7&n)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,i[s++]=55296+(n>>10),i[s++]=56320+(1023&n)):i[s++]=(15&n)<<12|(63&e[t++])<<6|63&e[t++],s>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,i)),s=0);return o?(s&&o.push(String.fromCharCode.apply(String,i.slice(0,s))),o.join("")):String.fromCharCode.apply(String,i.slice(0,s))},n.write=function(e,t,r){for(var n,o,i=r,s=0;s>6|192,t[r++]=63&n|128):55296==(64512&n)&&56320==(64512&(o=e.charCodeAt(s+1)))?(n=65536+((1023&n)<<10)+(1023&o),++s,t[r++]=n>>18|240,t[r++]=n>>12&63|128,t[r++]=n>>6&63|128,t[r++]=63&n|128):(t[r++]=n>>12|224,t[r++]=n>>6&63|128,t[r++]=63&n|128);return r-i}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=r||8192,o=n>>>1,i=null,s=n;return function(r){if(r<1||r>o)return e(r);s+r>n&&(i=e(n),s=0);var a=t.call(i,s,s+=r);return 7&s&&(s=1+(7|s)),a}}},function(e,t,r){"use strict";e.exports=o;var n=r(64);function o(e,t){this.lo=e>>>0,this.hi=t>>>0}var i=o.zero=new o(0,0);i.toNumber=function(){return 0},i.zzEncode=i.zzDecode=function(){return this},i.length=function(){return 1};var s=o.zeroHash="\0\0\0\0\0\0\0\0";o.fromNumber=function(e){if(0===e)return i;var t=e<0;t&&(e=-e);var r=e>>>0,n=(e-r)/4294967296>>>0;return t&&(n=~n>>>0,r=~r>>>0,++r>4294967295&&(r=0,++n>4294967295&&(n=0))),new o(r,n)},o.from=function(e){if("number"==typeof e)return o.fromNumber(e);if(n.isString(e)){if(!n.Long)return o.fromNumber(parseInt(e,10));e=n.Long.fromString(e)}return e.low||e.high?new o(e.low>>>0,e.high>>>0):i},o.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=1+~this.lo>>>0,r=~this.hi>>>0;return t||(r=r+1>>>0),-(t+4294967296*r)}return this.lo+4294967296*this.hi},o.prototype.toLong=function(e){return n.Long?new n.Long(0|this.lo,0|this.hi,Boolean(e)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(e)}};var a=String.prototype.charCodeAt;o.fromHash=function(e){return e===s?i:new o((a.call(e,0)|a.call(e,1)<<8|a.call(e,2)<<16|a.call(e,3)<<24)>>>0,(a.call(e,4)|a.call(e,5)<<8|a.call(e,6)<<16|a.call(e,7)<<24)>>>0)},o.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},o.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},o.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},o.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,r=this.hi>>>24;return 0===r?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:r<128?9:10}},function(e,t,r){"use strict";e.exports=i;var n=r(239);(i.prototype=Object.create(n.prototype)).constructor=i;var o=r(64);function i(){n.call(this)}function s(e,t,r){e.length<40?o.utf8.write(e,t,r):t.utf8Write?t.utf8Write(e,r):t.write(e,r)}i._configure=function(){i.alloc=o._Buffer_allocUnsafe,i.writeBytesBuffer=o.Buffer&&o.Buffer.prototype instanceof Uint8Array&&"set"===o.Buffer.prototype.set.name?function(e,t,r){t.set(e,r)}:function(e,t,r){if(e.copy)e.copy(t,r,0,e.length);else for(var n=0;n>>0;return this.uint32(t),t&&this._push(i.writeBytesBuffer,t,e),this},i.prototype.string=function(e){var t=o.Buffer.byteLength(e);return this.uint32(t),t&&this._push(s,t,e),this},i._configure()},function(e,t,r){"use strict";e.exports=i;var n=r(240);(i.prototype=Object.create(n.prototype)).constructor=i;var o=r(64);function i(e){n.call(this,e)}i._configure=function(){o.Buffer&&(i.prototype._slice=o.Buffer.prototype.slice)},i.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+e,this.len))},i._configure()},function(e,t,r){"use strict";t.Service=r(440)},function(e,t,r){"use strict";e.exports=o;var n=r(64);function o(e,t,r){if("function"!=typeof e)throw TypeError("rpcImpl must be a function");n.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=Boolean(t),this.responseDelimited=Boolean(r)}(o.prototype=Object.create(n.EventEmitter.prototype)).constructor=o,o.prototype.rpcCall=function e(t,r,o,i,s){if(!i)throw TypeError("request must be specified");var a=this;if(!s)return n.asPromise(e,a,t,r,o,i);if(a.rpcImpl)try{return a.rpcImpl(t,r[a.requestDelimited?"encodeDelimited":"encode"](i).finish(),(function(e,r){if(e)return a.emit("error",e,t),s(e);if(null!==r){if(!(r instanceof o))try{r=o[a.responseDelimited?"decodeDelimited":"decode"](r)}catch(e){return a.emit("error",e,t),s(e)}return a.emit("data",r,t),s(null,r)}a.end(!0)}))}catch(e){return a.emit("error",e,t),void setTimeout((function(){s(e)}),0)}else setTimeout((function(){s(Error("already ended"))}),0)},o.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},function(e,t,r){"use strict";e.exports={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tendermint=t.ibc=t.google=t.cosmos=void 0;var n=r(48);const o=n.Reader,i=n.Writer,s=n.util,a={};t.cosmos=a.cosmos=(()=>{const e={};return e.auth=function(){const e={};return e.v1beta1=function(){const e={};return e.BaseAccount=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.address=e.string();break;case 2:n.pubKey=a.google.protobuf.Any.decode(e,e.uint32());break;case 3:n.accountNumber=e.uint64();break;case 4:n.sequence=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.auth.v1beta1.BaseAccount)return e;var t=new a.cosmos.auth.v1beta1.BaseAccount;if(null!=e.address&&(t.address=String(e.address)),null!=e.pubKey){if("object"!=typeof e.pubKey)throw TypeError(".cosmos.auth.v1beta1.BaseAccount.pubKey: object expected");t.pubKey=a.google.protobuf.Any.fromObject(e.pubKey)}return null!=e.accountNumber&&(s.Long?(t.accountNumber=s.Long.fromValue(e.accountNumber)).unsigned=!0:"string"==typeof e.accountNumber?t.accountNumber=parseInt(e.accountNumber,10):"number"==typeof e.accountNumber?t.accountNumber=e.accountNumber:"object"==typeof e.accountNumber&&(t.accountNumber=new s.LongBits(e.accountNumber.low>>>0,e.accountNumber.high>>>0).toNumber(!0))),null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.address="",r.pubKey=null,s.Long){var n=new s.Long(0,0,!0);r.accountNumber=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.accountNumber=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0}return null!=e.address&&e.hasOwnProperty("address")&&(r.address=e.address),null!=e.pubKey&&e.hasOwnProperty("pubKey")&&(r.pubKey=a.google.protobuf.Any.toObject(e.pubKey,t)),null!=e.accountNumber&&e.hasOwnProperty("accountNumber")&&("number"==typeof e.accountNumber?r.accountNumber=t.longs===String?String(e.accountNumber):e.accountNumber:r.accountNumber=t.longs===String?s.Long.prototype.toString.call(e.accountNumber):t.longs===Number?new s.LongBits(e.accountNumber.low>>>0,e.accountNumber.high>>>0).toNumber(!0):e.accountNumber),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ModuleAccount=function(){function e(e){if(this.permissions=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.baseAccount=a.cosmos.auth.v1beta1.BaseAccount.decode(e,e.uint32());break;case 2:n.name=e.string();break;case 3:n.permissions&&n.permissions.length||(n.permissions=[]),n.permissions.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.auth.v1beta1.ModuleAccount)return e;var t=new a.cosmos.auth.v1beta1.ModuleAccount;if(null!=e.baseAccount){if("object"!=typeof e.baseAccount)throw TypeError(".cosmos.auth.v1beta1.ModuleAccount.baseAccount: object expected");t.baseAccount=a.cosmos.auth.v1beta1.BaseAccount.fromObject(e.baseAccount)}if(null!=e.name&&(t.name=String(e.name)),e.permissions){if(!Array.isArray(e.permissions))throw TypeError(".cosmos.auth.v1beta1.ModuleAccount.permissions: array expected");t.permissions=[];for(var r=0;r>>3){case 1:n.maxMemoCharacters=e.uint64();break;case 2:n.txSigLimit=e.uint64();break;case 3:n.txSizeCostPerByte=e.uint64();break;case 4:n.sigVerifyCostEd25519=e.uint64();break;case 5:n.sigVerifyCostSecp256k1=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.auth.v1beta1.Params)return e;var t=new a.cosmos.auth.v1beta1.Params;return null!=e.maxMemoCharacters&&(s.Long?(t.maxMemoCharacters=s.Long.fromValue(e.maxMemoCharacters)).unsigned=!0:"string"==typeof e.maxMemoCharacters?t.maxMemoCharacters=parseInt(e.maxMemoCharacters,10):"number"==typeof e.maxMemoCharacters?t.maxMemoCharacters=e.maxMemoCharacters:"object"==typeof e.maxMemoCharacters&&(t.maxMemoCharacters=new s.LongBits(e.maxMemoCharacters.low>>>0,e.maxMemoCharacters.high>>>0).toNumber(!0))),null!=e.txSigLimit&&(s.Long?(t.txSigLimit=s.Long.fromValue(e.txSigLimit)).unsigned=!0:"string"==typeof e.txSigLimit?t.txSigLimit=parseInt(e.txSigLimit,10):"number"==typeof e.txSigLimit?t.txSigLimit=e.txSigLimit:"object"==typeof e.txSigLimit&&(t.txSigLimit=new s.LongBits(e.txSigLimit.low>>>0,e.txSigLimit.high>>>0).toNumber(!0))),null!=e.txSizeCostPerByte&&(s.Long?(t.txSizeCostPerByte=s.Long.fromValue(e.txSizeCostPerByte)).unsigned=!0:"string"==typeof e.txSizeCostPerByte?t.txSizeCostPerByte=parseInt(e.txSizeCostPerByte,10):"number"==typeof e.txSizeCostPerByte?t.txSizeCostPerByte=e.txSizeCostPerByte:"object"==typeof e.txSizeCostPerByte&&(t.txSizeCostPerByte=new s.LongBits(e.txSizeCostPerByte.low>>>0,e.txSizeCostPerByte.high>>>0).toNumber(!0))),null!=e.sigVerifyCostEd25519&&(s.Long?(t.sigVerifyCostEd25519=s.Long.fromValue(e.sigVerifyCostEd25519)).unsigned=!0:"string"==typeof e.sigVerifyCostEd25519?t.sigVerifyCostEd25519=parseInt(e.sigVerifyCostEd25519,10):"number"==typeof e.sigVerifyCostEd25519?t.sigVerifyCostEd25519=e.sigVerifyCostEd25519:"object"==typeof e.sigVerifyCostEd25519&&(t.sigVerifyCostEd25519=new s.LongBits(e.sigVerifyCostEd25519.low>>>0,e.sigVerifyCostEd25519.high>>>0).toNumber(!0))),null!=e.sigVerifyCostSecp256k1&&(s.Long?(t.sigVerifyCostSecp256k1=s.Long.fromValue(e.sigVerifyCostSecp256k1)).unsigned=!0:"string"==typeof e.sigVerifyCostSecp256k1?t.sigVerifyCostSecp256k1=parseInt(e.sigVerifyCostSecp256k1,10):"number"==typeof e.sigVerifyCostSecp256k1?t.sigVerifyCostSecp256k1=e.sigVerifyCostSecp256k1:"object"==typeof e.sigVerifyCostSecp256k1&&(t.sigVerifyCostSecp256k1=new s.LongBits(e.sigVerifyCostSecp256k1.low>>>0,e.sigVerifyCostSecp256k1.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.maxMemoCharacters=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.maxMemoCharacters=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.txSigLimit=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.txSigLimit=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.txSizeCostPerByte=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.txSizeCostPerByte=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.sigVerifyCostEd25519=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sigVerifyCostEd25519=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.sigVerifyCostSecp256k1=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sigVerifyCostSecp256k1=t.longs===String?"0":0}return null!=e.maxMemoCharacters&&e.hasOwnProperty("maxMemoCharacters")&&("number"==typeof e.maxMemoCharacters?r.maxMemoCharacters=t.longs===String?String(e.maxMemoCharacters):e.maxMemoCharacters:r.maxMemoCharacters=t.longs===String?s.Long.prototype.toString.call(e.maxMemoCharacters):t.longs===Number?new s.LongBits(e.maxMemoCharacters.low>>>0,e.maxMemoCharacters.high>>>0).toNumber(!0):e.maxMemoCharacters),null!=e.txSigLimit&&e.hasOwnProperty("txSigLimit")&&("number"==typeof e.txSigLimit?r.txSigLimit=t.longs===String?String(e.txSigLimit):e.txSigLimit:r.txSigLimit=t.longs===String?s.Long.prototype.toString.call(e.txSigLimit):t.longs===Number?new s.LongBits(e.txSigLimit.low>>>0,e.txSigLimit.high>>>0).toNumber(!0):e.txSigLimit),null!=e.txSizeCostPerByte&&e.hasOwnProperty("txSizeCostPerByte")&&("number"==typeof e.txSizeCostPerByte?r.txSizeCostPerByte=t.longs===String?String(e.txSizeCostPerByte):e.txSizeCostPerByte:r.txSizeCostPerByte=t.longs===String?s.Long.prototype.toString.call(e.txSizeCostPerByte):t.longs===Number?new s.LongBits(e.txSizeCostPerByte.low>>>0,e.txSizeCostPerByte.high>>>0).toNumber(!0):e.txSizeCostPerByte),null!=e.sigVerifyCostEd25519&&e.hasOwnProperty("sigVerifyCostEd25519")&&("number"==typeof e.sigVerifyCostEd25519?r.sigVerifyCostEd25519=t.longs===String?String(e.sigVerifyCostEd25519):e.sigVerifyCostEd25519:r.sigVerifyCostEd25519=t.longs===String?s.Long.prototype.toString.call(e.sigVerifyCostEd25519):t.longs===Number?new s.LongBits(e.sigVerifyCostEd25519.low>>>0,e.sigVerifyCostEd25519.high>>>0).toNumber(!0):e.sigVerifyCostEd25519),null!=e.sigVerifyCostSecp256k1&&e.hasOwnProperty("sigVerifyCostSecp256k1")&&("number"==typeof e.sigVerifyCostSecp256k1?r.sigVerifyCostSecp256k1=t.longs===String?String(e.sigVerifyCostSecp256k1):e.sigVerifyCostSecp256k1:r.sigVerifyCostSecp256k1=t.longs===String?s.Long.prototype.toString.call(e.sigVerifyCostSecp256k1):t.longs===Number?new s.LongBits(e.sigVerifyCostSecp256k1.low>>>0,e.sigVerifyCostSecp256k1.high>>>0).toNumber(!0):e.sigVerifyCostSecp256k1),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Query=function(){function e(e,t,r){n.rpc.Service.call(this,e,t,r)}return(e.prototype=Object.create(n.rpc.Service.prototype)).constructor=e,e.create=function(e,t,r){return new this(e,t,r)},Object.defineProperty(e.prototype.account=function e(t,r){return this.rpcCall(e,a.cosmos.auth.v1beta1.QueryAccountRequest,a.cosmos.auth.v1beta1.QueryAccountResponse,t,r)},"name",{value:"Account"}),Object.defineProperty(e.prototype.params=function e(t,r){return this.rpcCall(e,a.cosmos.auth.v1beta1.QueryParamsRequest,a.cosmos.auth.v1beta1.QueryParamsResponse,t,r)},"name",{value:"Params"}),e}(),e.QueryAccountRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.address=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.auth.v1beta1.QueryAccountRequest)return e;var t=new a.cosmos.auth.v1beta1.QueryAccountRequest;return null!=e.address&&(t.address=String(e.address)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.address=""),null!=e.address&&e.hasOwnProperty("address")&&(r.address=e.address),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryAccountResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.account=a.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.auth.v1beta1.QueryAccountResponse)return e;var t=new a.cosmos.auth.v1beta1.QueryAccountResponse;if(null!=e.account){if("object"!=typeof e.account)throw TypeError(".cosmos.auth.v1beta1.QueryAccountResponse.account: object expected");t.account=a.google.protobuf.Any.fromObject(e.account)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.account=null),null!=e.account&&e.hasOwnProperty("account")&&(r.account=a.google.protobuf.Any.toObject(e.account,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryParamsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.params=a.cosmos.auth.v1beta1.Params.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.auth.v1beta1.QueryParamsResponse)return e;var t=new a.cosmos.auth.v1beta1.QueryParamsResponse;if(null!=e.params){if("object"!=typeof e.params)throw TypeError(".cosmos.auth.v1beta1.QueryParamsResponse.params: object expected");t.params=a.cosmos.auth.v1beta1.Params.fromObject(e.params)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.params=null),null!=e.params&&e.hasOwnProperty("params")&&(r.params=a.cosmos.auth.v1beta1.Params.toObject(e.params,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.bank=function(){const e={};return e.v1beta1=function(){const e={};return e.Params=function(){function e(e){if(this.sendEnabled=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.sendEnabled&&n.sendEnabled.length||(n.sendEnabled=[]),n.sendEnabled.push(a.cosmos.bank.v1beta1.SendEnabled.decode(e,e.uint32()));break;case 2:n.defaultSendEnabled=e.bool();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.Params)return e;var t=new a.cosmos.bank.v1beta1.Params;if(e.sendEnabled){if(!Array.isArray(e.sendEnabled))throw TypeError(".cosmos.bank.v1beta1.Params.sendEnabled: array expected");t.sendEnabled=[];for(var r=0;r>>3){case 1:n.denom=e.string();break;case 2:n.enabled=e.bool();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.SendEnabled)return e;var t=new a.cosmos.bank.v1beta1.SendEnabled;return null!=e.denom&&(t.denom=String(e.denom)),null!=e.enabled&&(t.enabled=Boolean(e.enabled)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.denom="",r.enabled=!1),null!=e.denom&&e.hasOwnProperty("denom")&&(r.denom=e.denom),null!=e.enabled&&e.hasOwnProperty("enabled")&&(r.enabled=e.enabled),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Input=function(){function e(e){if(this.coins=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.address=e.string();break;case 2:n.coins&&n.coins.length||(n.coins=[]),n.coins.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.Input)return e;var t=new a.cosmos.bank.v1beta1.Input;if(null!=e.address&&(t.address=String(e.address)),e.coins){if(!Array.isArray(e.coins))throw TypeError(".cosmos.bank.v1beta1.Input.coins: array expected");t.coins=[];for(var r=0;r>>3){case 1:n.address=e.string();break;case 2:n.coins&&n.coins.length||(n.coins=[]),n.coins.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.Output)return e;var t=new a.cosmos.bank.v1beta1.Output;if(null!=e.address&&(t.address=String(e.address)),e.coins){if(!Array.isArray(e.coins))throw TypeError(".cosmos.bank.v1beta1.Output.coins: array expected");t.coins=[];for(var r=0;r>>3){case 1:n.total&&n.total.length||(n.total=[]),n.total.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.Supply)return e;var t=new a.cosmos.bank.v1beta1.Supply;if(e.total){if(!Array.isArray(e.total))throw TypeError(".cosmos.bank.v1beta1.Supply.total: array expected");t.total=[];for(var r=0;r>>3){case 1:n.denom=e.string();break;case 2:n.exponent=e.uint32();break;case 3:n.aliases&&n.aliases.length||(n.aliases=[]),n.aliases.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.DenomUnit)return e;var t=new a.cosmos.bank.v1beta1.DenomUnit;if(null!=e.denom&&(t.denom=String(e.denom)),null!=e.exponent&&(t.exponent=e.exponent>>>0),e.aliases){if(!Array.isArray(e.aliases))throw TypeError(".cosmos.bank.v1beta1.DenomUnit.aliases: array expected");t.aliases=[];for(var r=0;r>>3){case 1:n.description=e.string();break;case 2:n.denomUnits&&n.denomUnits.length||(n.denomUnits=[]),n.denomUnits.push(a.cosmos.bank.v1beta1.DenomUnit.decode(e,e.uint32()));break;case 3:n.base=e.string();break;case 4:n.display=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.Metadata)return e;var t=new a.cosmos.bank.v1beta1.Metadata;if(null!=e.description&&(t.description=String(e.description)),e.denomUnits){if(!Array.isArray(e.denomUnits))throw TypeError(".cosmos.bank.v1beta1.Metadata.denomUnits: array expected");t.denomUnits=[];for(var r=0;r>>3){case 1:n.address=e.string();break;case 2:n.denom=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QueryBalanceRequest)return e;var t=new a.cosmos.bank.v1beta1.QueryBalanceRequest;return null!=e.address&&(t.address=String(e.address)),null!=e.denom&&(t.denom=String(e.denom)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.address="",r.denom=""),null!=e.address&&e.hasOwnProperty("address")&&(r.address=e.address),null!=e.denom&&e.hasOwnProperty("denom")&&(r.denom=e.denom),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryBalanceResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.balance=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QueryBalanceResponse)return e;var t=new a.cosmos.bank.v1beta1.QueryBalanceResponse;if(null!=e.balance){if("object"!=typeof e.balance)throw TypeError(".cosmos.bank.v1beta1.QueryBalanceResponse.balance: object expected");t.balance=a.cosmos.base.v1beta1.Coin.fromObject(e.balance)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.balance=null),null!=e.balance&&e.hasOwnProperty("balance")&&(r.balance=a.cosmos.base.v1beta1.Coin.toObject(e.balance,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryAllBalancesRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.address=e.string();break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QueryAllBalancesRequest)return e;var t=new a.cosmos.bank.v1beta1.QueryAllBalancesRequest;if(null!=e.address&&(t.address=String(e.address)),null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".cosmos.bank.v1beta1.QueryAllBalancesRequest.pagination: object expected");t.pagination=a.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.address="",r.pagination=null),null!=e.address&&e.hasOwnProperty("address")&&(r.address=e.address),null!=e.pagination&&e.hasOwnProperty("pagination")&&(r.pagination=a.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryAllBalancesResponse=function(){function e(e){if(this.balances=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.balances&&n.balances.length||(n.balances=[]),n.balances.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QueryAllBalancesResponse)return e;var t=new a.cosmos.bank.v1beta1.QueryAllBalancesResponse;if(e.balances){if(!Array.isArray(e.balances))throw TypeError(".cosmos.bank.v1beta1.QueryAllBalancesResponse.balances: array expected");t.balances=[];for(var r=0;r>>3){case 1:n.supply&&n.supply.length||(n.supply=[]),n.supply.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QueryTotalSupplyResponse)return e;var t=new a.cosmos.bank.v1beta1.QueryTotalSupplyResponse;if(e.supply){if(!Array.isArray(e.supply))throw TypeError(".cosmos.bank.v1beta1.QueryTotalSupplyResponse.supply: array expected");t.supply=[];for(var r=0;r>>3){case 1:n.denom=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QuerySupplyOfRequest)return e;var t=new a.cosmos.bank.v1beta1.QuerySupplyOfRequest;return null!=e.denom&&(t.denom=String(e.denom)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.denom=""),null!=e.denom&&e.hasOwnProperty("denom")&&(r.denom=e.denom),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QuerySupplyOfResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.amount=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QuerySupplyOfResponse)return e;var t=new a.cosmos.bank.v1beta1.QuerySupplyOfResponse;if(null!=e.amount){if("object"!=typeof e.amount)throw TypeError(".cosmos.bank.v1beta1.QuerySupplyOfResponse.amount: object expected");t.amount=a.cosmos.base.v1beta1.Coin.fromObject(e.amount)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.amount=null),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=a.cosmos.base.v1beta1.Coin.toObject(e.amount,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryParamsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.params=a.cosmos.bank.v1beta1.Params.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QueryParamsResponse)return e;var t=new a.cosmos.bank.v1beta1.QueryParamsResponse;if(null!=e.params){if("object"!=typeof e.params)throw TypeError(".cosmos.bank.v1beta1.QueryParamsResponse.params: object expected");t.params=a.cosmos.bank.v1beta1.Params.fromObject(e.params)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.params=null),null!=e.params&&e.hasOwnProperty("params")&&(r.params=a.cosmos.bank.v1beta1.Params.toObject(e.params,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Msg=function(){function e(e,t,r){n.rpc.Service.call(this,e,t,r)}return(e.prototype=Object.create(n.rpc.Service.prototype)).constructor=e,e.create=function(e,t,r){return new this(e,t,r)},Object.defineProperty(e.prototype.send=function e(t,r){return this.rpcCall(e,a.cosmos.bank.v1beta1.MsgSend,a.cosmos.bank.v1beta1.MsgSendResponse,t,r)},"name",{value:"Send"}),Object.defineProperty(e.prototype.multiSend=function e(t,r){return this.rpcCall(e,a.cosmos.bank.v1beta1.MsgMultiSend,a.cosmos.bank.v1beta1.MsgMultiSendResponse,t,r)},"name",{value:"MultiSend"}),e}(),e.MsgSend=function(){function e(e){if(this.amount=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.fromAddress=e.string();break;case 2:n.toAddress=e.string();break;case 3:n.amount&&n.amount.length||(n.amount=[]),n.amount.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.MsgSend)return e;var t=new a.cosmos.bank.v1beta1.MsgSend;if(null!=e.fromAddress&&(t.fromAddress=String(e.fromAddress)),null!=e.toAddress&&(t.toAddress=String(e.toAddress)),e.amount){if(!Array.isArray(e.amount))throw TypeError(".cosmos.bank.v1beta1.MsgSend.amount: array expected");t.amount=[];for(var r=0;r>>3){case 1:n.inputs&&n.inputs.length||(n.inputs=[]),n.inputs.push(a.cosmos.bank.v1beta1.Input.decode(e,e.uint32()));break;case 2:n.outputs&&n.outputs.length||(n.outputs=[]),n.outputs.push(a.cosmos.bank.v1beta1.Output.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.MsgMultiSend)return e;var t=new a.cosmos.bank.v1beta1.MsgMultiSend;if(e.inputs){if(!Array.isArray(e.inputs))throw TypeError(".cosmos.bank.v1beta1.MsgMultiSend.inputs: array expected");t.inputs=[];for(var r=0;r>>3){case 1:n.key=e.bytes();break;case 2:n.offset=e.uint64();break;case 3:n.limit=e.uint64();break;case 4:n.countTotal=e.bool();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.base.query.v1beta1.PageRequest)return e;var t=new a.cosmos.base.query.v1beta1.PageRequest;return null!=e.key&&("string"==typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),null!=e.offset&&(s.Long?(t.offset=s.Long.fromValue(e.offset)).unsigned=!0:"string"==typeof e.offset?t.offset=parseInt(e.offset,10):"number"==typeof e.offset?t.offset=e.offset:"object"==typeof e.offset&&(t.offset=new s.LongBits(e.offset.low>>>0,e.offset.high>>>0).toNumber(!0))),null!=e.limit&&(s.Long?(t.limit=s.Long.fromValue(e.limit)).unsigned=!0:"string"==typeof e.limit?t.limit=parseInt(e.limit,10):"number"==typeof e.limit?t.limit=e.limit:"object"==typeof e.limit&&(t.limit=new s.LongBits(e.limit.low>>>0,e.limit.high>>>0).toNumber(!0))),null!=e.countTotal&&(t.countTotal=Boolean(e.countTotal)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key))),s.Long){var n=new s.Long(0,0,!0);r.offset=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.offset=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.limit=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.limit=t.longs===String?"0":0;r.countTotal=!1}return null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),null!=e.offset&&e.hasOwnProperty("offset")&&("number"==typeof e.offset?r.offset=t.longs===String?String(e.offset):e.offset:r.offset=t.longs===String?s.Long.prototype.toString.call(e.offset):t.longs===Number?new s.LongBits(e.offset.low>>>0,e.offset.high>>>0).toNumber(!0):e.offset),null!=e.limit&&e.hasOwnProperty("limit")&&("number"==typeof e.limit?r.limit=t.longs===String?String(e.limit):e.limit:r.limit=t.longs===String?s.Long.prototype.toString.call(e.limit):t.longs===Number?new s.LongBits(e.limit.low>>>0,e.limit.high>>>0).toNumber(!0):e.limit),null!=e.countTotal&&e.hasOwnProperty("countTotal")&&(r.countTotal=e.countTotal),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PageResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.nextKey=e.bytes();break;case 2:n.total=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.base.query.v1beta1.PageResponse)return e;var t=new a.cosmos.base.query.v1beta1.PageResponse;return null!=e.nextKey&&("string"==typeof e.nextKey?s.base64.decode(e.nextKey,t.nextKey=s.newBuffer(s.base64.length(e.nextKey)),0):e.nextKey.length&&(t.nextKey=e.nextKey)),null!=e.total&&(s.Long?(t.total=s.Long.fromValue(e.total)).unsigned=!0:"string"==typeof e.total?t.total=parseInt(e.total,10):"number"==typeof e.total?t.total=e.total:"object"==typeof e.total&&(t.total=new s.LongBits(e.total.low>>>0,e.total.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(t.bytes===String?r.nextKey="":(r.nextKey=[],t.bytes!==Array&&(r.nextKey=s.newBuffer(r.nextKey))),s.Long){var n=new s.Long(0,0,!0);r.total=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.total=t.longs===String?"0":0;return null!=e.nextKey&&e.hasOwnProperty("nextKey")&&(r.nextKey=t.bytes===String?s.base64.encode(e.nextKey,0,e.nextKey.length):t.bytes===Array?Array.prototype.slice.call(e.nextKey):e.nextKey),null!=e.total&&e.hasOwnProperty("total")&&("number"==typeof e.total?r.total=t.longs===String?String(e.total):e.total:r.total=t.longs===String?s.Long.prototype.toString.call(e.total):t.longs===Number?new s.LongBits(e.total.low>>>0,e.total.high>>>0).toNumber(!0):e.total),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.v1beta1=function(){const e={};return e.Coin=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.denom=e.string();break;case 2:n.amount=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.base.v1beta1.Coin)return e;var t=new a.cosmos.base.v1beta1.Coin;return null!=e.denom&&(t.denom=String(e.denom)),null!=e.amount&&(t.amount=String(e.amount)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.denom="",r.amount=""),null!=e.denom&&e.hasOwnProperty("denom")&&(r.denom=e.denom),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=e.amount),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DecCoin=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.denom=e.string();break;case 2:n.amount=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.base.v1beta1.DecCoin)return e;var t=new a.cosmos.base.v1beta1.DecCoin;return null!=e.denom&&(t.denom=String(e.denom)),null!=e.amount&&(t.amount=String(e.amount)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.denom="",r.amount=""),null!=e.denom&&e.hasOwnProperty("denom")&&(r.denom=e.denom),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=e.amount),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.IntProto=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.int=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.base.v1beta1.IntProto)return e;var t=new a.cosmos.base.v1beta1.IntProto;return null!=e.int&&(t.int=String(e.int)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.int=""),null!=e.int&&e.hasOwnProperty("int")&&(r.int=e.int),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DecProto=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.dec=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.base.v1beta1.DecProto)return e;var t=new a.cosmos.base.v1beta1.DecProto;return null!=e.dec&&(t.dec=String(e.dec)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.dec=""),null!=e.dec&&e.hasOwnProperty("dec")&&(r.dec=e.dec),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.crypto=function(){const e={};return e.multisig=function(){const e={};return e.v1beta1=function(){const e={};return e.MultiSignature=function(){function e(e){if(this.signatures=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(e.bytes());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.crypto.multisig.v1beta1.MultiSignature)return e;var t=new a.cosmos.crypto.multisig.v1beta1.MultiSignature;if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.crypto.multisig.v1beta1.MultiSignature.signatures: array expected");t.signatures=[];for(var r=0;r>>3){case 1:n.extraBitsStored=e.uint32();break;case 2:n.elems=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.crypto.multisig.v1beta1.CompactBitArray)return e;var t=new a.cosmos.crypto.multisig.v1beta1.CompactBitArray;return null!=e.extraBitsStored&&(t.extraBitsStored=e.extraBitsStored>>>0),null!=e.elems&&("string"==typeof e.elems?s.base64.decode(e.elems,t.elems=s.newBuffer(s.base64.length(e.elems)),0):e.elems.length&&(t.elems=e.elems)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.extraBitsStored=0,t.bytes===String?r.elems="":(r.elems=[],t.bytes!==Array&&(r.elems=s.newBuffer(r.elems)))),null!=e.extraBitsStored&&e.hasOwnProperty("extraBitsStored")&&(r.extraBitsStored=e.extraBitsStored),null!=e.elems&&e.hasOwnProperty("elems")&&(r.elems=t.bytes===String?s.base64.encode(e.elems,0,e.elems.length):t.bytes===Array?Array.prototype.slice.call(e.elems):e.elems),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.secp256k1=function(){const e={};return e.PubKey=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.key=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.crypto.secp256k1.PubKey)return e;var t=new a.cosmos.crypto.secp256k1.PubKey;return null!=e.key&&("string"==typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key)))),null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PrivKey=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.key=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.crypto.secp256k1.PrivKey)return e;var t=new a.cosmos.crypto.secp256k1.PrivKey;return null!=e.key&&("string"==typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key)))),null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.staking=function(){const e={};return e.v1beta1=function(){const e={};return e.HistoricalInfo=function(){function e(e){if(this.valset=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.header=a.tendermint.types.Header.decode(e,e.uint32());break;case 2:n.valset&&n.valset.length||(n.valset=[]),n.valset.push(a.cosmos.staking.v1beta1.Validator.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.HistoricalInfo)return e;var t=new a.cosmos.staking.v1beta1.HistoricalInfo;if(null!=e.header){if("object"!=typeof e.header)throw TypeError(".cosmos.staking.v1beta1.HistoricalInfo.header: object expected");t.header=a.tendermint.types.Header.fromObject(e.header)}if(e.valset){if(!Array.isArray(e.valset))throw TypeError(".cosmos.staking.v1beta1.HistoricalInfo.valset: array expected");t.valset=[];for(var r=0;r>>3){case 1:n.rate=e.string();break;case 2:n.maxRate=e.string();break;case 3:n.maxChangeRate=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.CommissionRates)return e;var t=new a.cosmos.staking.v1beta1.CommissionRates;return null!=e.rate&&(t.rate=String(e.rate)),null!=e.maxRate&&(t.maxRate=String(e.maxRate)),null!=e.maxChangeRate&&(t.maxChangeRate=String(e.maxChangeRate)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.rate="",r.maxRate="",r.maxChangeRate=""),null!=e.rate&&e.hasOwnProperty("rate")&&(r.rate=e.rate),null!=e.maxRate&&e.hasOwnProperty("maxRate")&&(r.maxRate=e.maxRate),null!=e.maxChangeRate&&e.hasOwnProperty("maxChangeRate")&&(r.maxChangeRate=e.maxChangeRate),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Commission=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.commissionRates=a.cosmos.staking.v1beta1.CommissionRates.decode(e,e.uint32());break;case 2:n.updateTime=a.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Commission)return e;var t=new a.cosmos.staking.v1beta1.Commission;if(null!=e.commissionRates){if("object"!=typeof e.commissionRates)throw TypeError(".cosmos.staking.v1beta1.Commission.commissionRates: object expected");t.commissionRates=a.cosmos.staking.v1beta1.CommissionRates.fromObject(e.commissionRates)}if(null!=e.updateTime){if("object"!=typeof e.updateTime)throw TypeError(".cosmos.staking.v1beta1.Commission.updateTime: object expected");t.updateTime=a.google.protobuf.Timestamp.fromObject(e.updateTime)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.commissionRates=null,r.updateTime=null),null!=e.commissionRates&&e.hasOwnProperty("commissionRates")&&(r.commissionRates=a.cosmos.staking.v1beta1.CommissionRates.toObject(e.commissionRates,t)),null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(r.updateTime=a.google.protobuf.Timestamp.toObject(e.updateTime,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Description=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.moniker=e.string();break;case 2:n.identity=e.string();break;case 3:n.website=e.string();break;case 4:n.securityContact=e.string();break;case 5:n.details=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Description)return e;var t=new a.cosmos.staking.v1beta1.Description;return null!=e.moniker&&(t.moniker=String(e.moniker)),null!=e.identity&&(t.identity=String(e.identity)),null!=e.website&&(t.website=String(e.website)),null!=e.securityContact&&(t.securityContact=String(e.securityContact)),null!=e.details&&(t.details=String(e.details)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.moniker="",r.identity="",r.website="",r.securityContact="",r.details=""),null!=e.moniker&&e.hasOwnProperty("moniker")&&(r.moniker=e.moniker),null!=e.identity&&e.hasOwnProperty("identity")&&(r.identity=e.identity),null!=e.website&&e.hasOwnProperty("website")&&(r.website=e.website),null!=e.securityContact&&e.hasOwnProperty("securityContact")&&(r.securityContact=e.securityContact),null!=e.details&&e.hasOwnProperty("details")&&(r.details=e.details),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Validator=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.operatorAddress=e.string();break;case 2:n.consensusPubkey=a.google.protobuf.Any.decode(e,e.uint32());break;case 3:n.jailed=e.bool();break;case 4:n.status=e.int32();break;case 5:n.tokens=e.string();break;case 6:n.delegatorShares=e.string();break;case 7:n.description=a.cosmos.staking.v1beta1.Description.decode(e,e.uint32());break;case 8:n.unbondingHeight=e.int64();break;case 9:n.unbondingTime=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 10:n.commission=a.cosmos.staking.v1beta1.Commission.decode(e,e.uint32());break;case 11:n.minSelfDelegation=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Validator)return e;var t=new a.cosmos.staking.v1beta1.Validator;if(null!=e.operatorAddress&&(t.operatorAddress=String(e.operatorAddress)),null!=e.consensusPubkey){if("object"!=typeof e.consensusPubkey)throw TypeError(".cosmos.staking.v1beta1.Validator.consensusPubkey: object expected");t.consensusPubkey=a.google.protobuf.Any.fromObject(e.consensusPubkey)}switch(null!=e.jailed&&(t.jailed=Boolean(e.jailed)),e.status){case"BOND_STATUS_UNSPECIFIED":case 0:t.status=0;break;case"BOND_STATUS_UNBONDED":case 1:t.status=1;break;case"BOND_STATUS_UNBONDING":case 2:t.status=2;break;case"BOND_STATUS_BONDED":case 3:t.status=3}if(null!=e.tokens&&(t.tokens=String(e.tokens)),null!=e.delegatorShares&&(t.delegatorShares=String(e.delegatorShares)),null!=e.description){if("object"!=typeof e.description)throw TypeError(".cosmos.staking.v1beta1.Validator.description: object expected");t.description=a.cosmos.staking.v1beta1.Description.fromObject(e.description)}if(null!=e.unbondingHeight&&(s.Long?(t.unbondingHeight=s.Long.fromValue(e.unbondingHeight)).unsigned=!1:"string"==typeof e.unbondingHeight?t.unbondingHeight=parseInt(e.unbondingHeight,10):"number"==typeof e.unbondingHeight?t.unbondingHeight=e.unbondingHeight:"object"==typeof e.unbondingHeight&&(t.unbondingHeight=new s.LongBits(e.unbondingHeight.low>>>0,e.unbondingHeight.high>>>0).toNumber())),null!=e.unbondingTime){if("object"!=typeof e.unbondingTime)throw TypeError(".cosmos.staking.v1beta1.Validator.unbondingTime: object expected");t.unbondingTime=a.google.protobuf.Timestamp.fromObject(e.unbondingTime)}if(null!=e.commission){if("object"!=typeof e.commission)throw TypeError(".cosmos.staking.v1beta1.Validator.commission: object expected");t.commission=a.cosmos.staking.v1beta1.Commission.fromObject(e.commission)}return null!=e.minSelfDelegation&&(t.minSelfDelegation=String(e.minSelfDelegation)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.operatorAddress="",r.consensusPubkey=null,r.jailed=!1,r.status=t.enums===String?"BOND_STATUS_UNSPECIFIED":0,r.tokens="",r.delegatorShares="",r.description=null,s.Long){var n=new s.Long(0,0,!1);r.unbondingHeight=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.unbondingHeight=t.longs===String?"0":0;r.unbondingTime=null,r.commission=null,r.minSelfDelegation=""}return null!=e.operatorAddress&&e.hasOwnProperty("operatorAddress")&&(r.operatorAddress=e.operatorAddress),null!=e.consensusPubkey&&e.hasOwnProperty("consensusPubkey")&&(r.consensusPubkey=a.google.protobuf.Any.toObject(e.consensusPubkey,t)),null!=e.jailed&&e.hasOwnProperty("jailed")&&(r.jailed=e.jailed),null!=e.status&&e.hasOwnProperty("status")&&(r.status=t.enums===String?a.cosmos.staking.v1beta1.BondStatus[e.status]:e.status),null!=e.tokens&&e.hasOwnProperty("tokens")&&(r.tokens=e.tokens),null!=e.delegatorShares&&e.hasOwnProperty("delegatorShares")&&(r.delegatorShares=e.delegatorShares),null!=e.description&&e.hasOwnProperty("description")&&(r.description=a.cosmos.staking.v1beta1.Description.toObject(e.description,t)),null!=e.unbondingHeight&&e.hasOwnProperty("unbondingHeight")&&("number"==typeof e.unbondingHeight?r.unbondingHeight=t.longs===String?String(e.unbondingHeight):e.unbondingHeight:r.unbondingHeight=t.longs===String?s.Long.prototype.toString.call(e.unbondingHeight):t.longs===Number?new s.LongBits(e.unbondingHeight.low>>>0,e.unbondingHeight.high>>>0).toNumber():e.unbondingHeight),null!=e.unbondingTime&&e.hasOwnProperty("unbondingTime")&&(r.unbondingTime=a.google.protobuf.Timestamp.toObject(e.unbondingTime,t)),null!=e.commission&&e.hasOwnProperty("commission")&&(r.commission=a.cosmos.staking.v1beta1.Commission.toObject(e.commission,t)),null!=e.minSelfDelegation&&e.hasOwnProperty("minSelfDelegation")&&(r.minSelfDelegation=e.minSelfDelegation),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BondStatus=function(){const e={},t=Object.create(e);return t[e[0]="BOND_STATUS_UNSPECIFIED"]=0,t[e[1]="BOND_STATUS_UNBONDED"]=1,t[e[2]="BOND_STATUS_UNBONDING"]=2,t[e[3]="BOND_STATUS_BONDED"]=3,t}(),e.ValAddresses=function(){function e(e){if(this.addresses=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.addresses&&n.addresses.length||(n.addresses=[]),n.addresses.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.ValAddresses)return e;var t=new a.cosmos.staking.v1beta1.ValAddresses;if(e.addresses){if(!Array.isArray(e.addresses))throw TypeError(".cosmos.staking.v1beta1.ValAddresses.addresses: array expected");t.addresses=[];for(var r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorAddress=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.DVPair)return e;var t=new a.cosmos.staking.v1beta1.DVPair;return null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegatorAddress="",r.validatorAddress=""),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=e.validatorAddress),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DVPairs=function(){function e(e){if(this.pairs=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.pairs&&n.pairs.length||(n.pairs=[]),n.pairs.push(a.cosmos.staking.v1beta1.DVPair.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.DVPairs)return e;var t=new a.cosmos.staking.v1beta1.DVPairs;if(e.pairs){if(!Array.isArray(e.pairs))throw TypeError(".cosmos.staking.v1beta1.DVPairs.pairs: array expected");t.pairs=[];for(var r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorSrcAddress=e.string();break;case 3:n.validatorDstAddress=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.DVVTriplet)return e;var t=new a.cosmos.staking.v1beta1.DVVTriplet;return null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorSrcAddress&&(t.validatorSrcAddress=String(e.validatorSrcAddress)),null!=e.validatorDstAddress&&(t.validatorDstAddress=String(e.validatorDstAddress)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegatorAddress="",r.validatorSrcAddress="",r.validatorDstAddress=""),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorSrcAddress&&e.hasOwnProperty("validatorSrcAddress")&&(r.validatorSrcAddress=e.validatorSrcAddress),null!=e.validatorDstAddress&&e.hasOwnProperty("validatorDstAddress")&&(r.validatorDstAddress=e.validatorDstAddress),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DVVTriplets=function(){function e(e){if(this.triplets=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.triplets&&n.triplets.length||(n.triplets=[]),n.triplets.push(a.cosmos.staking.v1beta1.DVVTriplet.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.DVVTriplets)return e;var t=new a.cosmos.staking.v1beta1.DVVTriplets;if(e.triplets){if(!Array.isArray(e.triplets))throw TypeError(".cosmos.staking.v1beta1.DVVTriplets.triplets: array expected");t.triplets=[];for(var r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorAddress=e.string();break;case 3:n.shares=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Delegation)return e;var t=new a.cosmos.staking.v1beta1.Delegation;return null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.shares&&(t.shares=String(e.shares)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegatorAddress="",r.validatorAddress="",r.shares=""),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=e.validatorAddress),null!=e.shares&&e.hasOwnProperty("shares")&&(r.shares=e.shares),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.UnbondingDelegation=function(){function e(e){if(this.entries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorAddress=e.string();break;case 3:n.entries&&n.entries.length||(n.entries=[]),n.entries.push(a.cosmos.staking.v1beta1.UnbondingDelegationEntry.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.UnbondingDelegation)return e;var t=new a.cosmos.staking.v1beta1.UnbondingDelegation;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),e.entries){if(!Array.isArray(e.entries))throw TypeError(".cosmos.staking.v1beta1.UnbondingDelegation.entries: array expected");t.entries=[];for(var r=0;r>>3){case 1:n.creationHeight=e.int64();break;case 2:n.completionTime=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 3:n.initialBalance=e.string();break;case 4:n.balance=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.UnbondingDelegationEntry)return e;var t=new a.cosmos.staking.v1beta1.UnbondingDelegationEntry;if(null!=e.creationHeight&&(s.Long?(t.creationHeight=s.Long.fromValue(e.creationHeight)).unsigned=!1:"string"==typeof e.creationHeight?t.creationHeight=parseInt(e.creationHeight,10):"number"==typeof e.creationHeight?t.creationHeight=e.creationHeight:"object"==typeof e.creationHeight&&(t.creationHeight=new s.LongBits(e.creationHeight.low>>>0,e.creationHeight.high>>>0).toNumber())),null!=e.completionTime){if("object"!=typeof e.completionTime)throw TypeError(".cosmos.staking.v1beta1.UnbondingDelegationEntry.completionTime: object expected");t.completionTime=a.google.protobuf.Timestamp.fromObject(e.completionTime)}return null!=e.initialBalance&&(t.initialBalance=String(e.initialBalance)),null!=e.balance&&(t.balance=String(e.balance)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!1);r.creationHeight=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.creationHeight=t.longs===String?"0":0;r.completionTime=null,r.initialBalance="",r.balance=""}return null!=e.creationHeight&&e.hasOwnProperty("creationHeight")&&("number"==typeof e.creationHeight?r.creationHeight=t.longs===String?String(e.creationHeight):e.creationHeight:r.creationHeight=t.longs===String?s.Long.prototype.toString.call(e.creationHeight):t.longs===Number?new s.LongBits(e.creationHeight.low>>>0,e.creationHeight.high>>>0).toNumber():e.creationHeight),null!=e.completionTime&&e.hasOwnProperty("completionTime")&&(r.completionTime=a.google.protobuf.Timestamp.toObject(e.completionTime,t)),null!=e.initialBalance&&e.hasOwnProperty("initialBalance")&&(r.initialBalance=e.initialBalance),null!=e.balance&&e.hasOwnProperty("balance")&&(r.balance=e.balance),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RedelegationEntry=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.creationHeight=e.int64();break;case 2:n.completionTime=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 3:n.initialBalance=e.string();break;case 4:n.sharesDst=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.RedelegationEntry)return e;var t=new a.cosmos.staking.v1beta1.RedelegationEntry;if(null!=e.creationHeight&&(s.Long?(t.creationHeight=s.Long.fromValue(e.creationHeight)).unsigned=!1:"string"==typeof e.creationHeight?t.creationHeight=parseInt(e.creationHeight,10):"number"==typeof e.creationHeight?t.creationHeight=e.creationHeight:"object"==typeof e.creationHeight&&(t.creationHeight=new s.LongBits(e.creationHeight.low>>>0,e.creationHeight.high>>>0).toNumber())),null!=e.completionTime){if("object"!=typeof e.completionTime)throw TypeError(".cosmos.staking.v1beta1.RedelegationEntry.completionTime: object expected");t.completionTime=a.google.protobuf.Timestamp.fromObject(e.completionTime)}return null!=e.initialBalance&&(t.initialBalance=String(e.initialBalance)),null!=e.sharesDst&&(t.sharesDst=String(e.sharesDst)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!1);r.creationHeight=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.creationHeight=t.longs===String?"0":0;r.completionTime=null,r.initialBalance="",r.sharesDst=""}return null!=e.creationHeight&&e.hasOwnProperty("creationHeight")&&("number"==typeof e.creationHeight?r.creationHeight=t.longs===String?String(e.creationHeight):e.creationHeight:r.creationHeight=t.longs===String?s.Long.prototype.toString.call(e.creationHeight):t.longs===Number?new s.LongBits(e.creationHeight.low>>>0,e.creationHeight.high>>>0).toNumber():e.creationHeight),null!=e.completionTime&&e.hasOwnProperty("completionTime")&&(r.completionTime=a.google.protobuf.Timestamp.toObject(e.completionTime,t)),null!=e.initialBalance&&e.hasOwnProperty("initialBalance")&&(r.initialBalance=e.initialBalance),null!=e.sharesDst&&e.hasOwnProperty("sharesDst")&&(r.sharesDst=e.sharesDst),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Redelegation=function(){function e(e){if(this.entries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorSrcAddress=e.string();break;case 3:n.validatorDstAddress=e.string();break;case 4:n.entries&&n.entries.length||(n.entries=[]),n.entries.push(a.cosmos.staking.v1beta1.RedelegationEntry.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Redelegation)return e;var t=new a.cosmos.staking.v1beta1.Redelegation;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorSrcAddress&&(t.validatorSrcAddress=String(e.validatorSrcAddress)),null!=e.validatorDstAddress&&(t.validatorDstAddress=String(e.validatorDstAddress)),e.entries){if(!Array.isArray(e.entries))throw TypeError(".cosmos.staking.v1beta1.Redelegation.entries: array expected");t.entries=[];for(var r=0;r>>3){case 1:n.unbondingTime=a.google.protobuf.Duration.decode(e,e.uint32());break;case 2:n.maxValidators=e.uint32();break;case 3:n.maxEntries=e.uint32();break;case 4:n.historicalEntries=e.uint32();break;case 5:n.bondDenom=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Params)return e;var t=new a.cosmos.staking.v1beta1.Params;if(null!=e.unbondingTime){if("object"!=typeof e.unbondingTime)throw TypeError(".cosmos.staking.v1beta1.Params.unbondingTime: object expected");t.unbondingTime=a.google.protobuf.Duration.fromObject(e.unbondingTime)}return null!=e.maxValidators&&(t.maxValidators=e.maxValidators>>>0),null!=e.maxEntries&&(t.maxEntries=e.maxEntries>>>0),null!=e.historicalEntries&&(t.historicalEntries=e.historicalEntries>>>0),null!=e.bondDenom&&(t.bondDenom=String(e.bondDenom)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.unbondingTime=null,r.maxValidators=0,r.maxEntries=0,r.historicalEntries=0,r.bondDenom=""),null!=e.unbondingTime&&e.hasOwnProperty("unbondingTime")&&(r.unbondingTime=a.google.protobuf.Duration.toObject(e.unbondingTime,t)),null!=e.maxValidators&&e.hasOwnProperty("maxValidators")&&(r.maxValidators=e.maxValidators),null!=e.maxEntries&&e.hasOwnProperty("maxEntries")&&(r.maxEntries=e.maxEntries),null!=e.historicalEntries&&e.hasOwnProperty("historicalEntries")&&(r.historicalEntries=e.historicalEntries),null!=e.bondDenom&&e.hasOwnProperty("bondDenom")&&(r.bondDenom=e.bondDenom),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DelegationResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.delegation=a.cosmos.staking.v1beta1.Delegation.decode(e,e.uint32());break;case 2:n.balance=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.DelegationResponse)return e;var t=new a.cosmos.staking.v1beta1.DelegationResponse;if(null!=e.delegation){if("object"!=typeof e.delegation)throw TypeError(".cosmos.staking.v1beta1.DelegationResponse.delegation: object expected");t.delegation=a.cosmos.staking.v1beta1.Delegation.fromObject(e.delegation)}if(null!=e.balance){if("object"!=typeof e.balance)throw TypeError(".cosmos.staking.v1beta1.DelegationResponse.balance: object expected");t.balance=a.cosmos.base.v1beta1.Coin.fromObject(e.balance)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegation=null,r.balance=null),null!=e.delegation&&e.hasOwnProperty("delegation")&&(r.delegation=a.cosmos.staking.v1beta1.Delegation.toObject(e.delegation,t)),null!=e.balance&&e.hasOwnProperty("balance")&&(r.balance=a.cosmos.base.v1beta1.Coin.toObject(e.balance,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RedelegationEntryResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.redelegationEntry=a.cosmos.staking.v1beta1.RedelegationEntry.decode(e,e.uint32());break;case 4:n.balance=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.RedelegationEntryResponse)return e;var t=new a.cosmos.staking.v1beta1.RedelegationEntryResponse;if(null!=e.redelegationEntry){if("object"!=typeof e.redelegationEntry)throw TypeError(".cosmos.staking.v1beta1.RedelegationEntryResponse.redelegationEntry: object expected");t.redelegationEntry=a.cosmos.staking.v1beta1.RedelegationEntry.fromObject(e.redelegationEntry)}return null!=e.balance&&(t.balance=String(e.balance)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.redelegationEntry=null,r.balance=""),null!=e.redelegationEntry&&e.hasOwnProperty("redelegationEntry")&&(r.redelegationEntry=a.cosmos.staking.v1beta1.RedelegationEntry.toObject(e.redelegationEntry,t)),null!=e.balance&&e.hasOwnProperty("balance")&&(r.balance=e.balance),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RedelegationResponse=function(){function e(e){if(this.entries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.redelegation=a.cosmos.staking.v1beta1.Redelegation.decode(e,e.uint32());break;case 2:n.entries&&n.entries.length||(n.entries=[]),n.entries.push(a.cosmos.staking.v1beta1.RedelegationEntryResponse.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.RedelegationResponse)return e;var t=new a.cosmos.staking.v1beta1.RedelegationResponse;if(null!=e.redelegation){if("object"!=typeof e.redelegation)throw TypeError(".cosmos.staking.v1beta1.RedelegationResponse.redelegation: object expected");t.redelegation=a.cosmos.staking.v1beta1.Redelegation.fromObject(e.redelegation)}if(e.entries){if(!Array.isArray(e.entries))throw TypeError(".cosmos.staking.v1beta1.RedelegationResponse.entries: array expected");t.entries=[];for(var r=0;r>>3){case 1:n.notBondedTokens=e.string();break;case 2:n.bondedTokens=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Pool)return e;var t=new a.cosmos.staking.v1beta1.Pool;return null!=e.notBondedTokens&&(t.notBondedTokens=String(e.notBondedTokens)),null!=e.bondedTokens&&(t.bondedTokens=String(e.bondedTokens)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.notBondedTokens="",r.bondedTokens=""),null!=e.notBondedTokens&&e.hasOwnProperty("notBondedTokens")&&(r.notBondedTokens=e.notBondedTokens),null!=e.bondedTokens&&e.hasOwnProperty("bondedTokens")&&(r.bondedTokens=e.bondedTokens),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Msg=function(){function e(e,t,r){n.rpc.Service.call(this,e,t,r)}return(e.prototype=Object.create(n.rpc.Service.prototype)).constructor=e,e.create=function(e,t,r){return new this(e,t,r)},Object.defineProperty(e.prototype.createValidator=function e(t,r){return this.rpcCall(e,a.cosmos.staking.v1beta1.MsgCreateValidator,a.cosmos.staking.v1beta1.MsgCreateValidatorResponse,t,r)},"name",{value:"CreateValidator"}),Object.defineProperty(e.prototype.editValidator=function e(t,r){return this.rpcCall(e,a.cosmos.staking.v1beta1.MsgEditValidator,a.cosmos.staking.v1beta1.MsgEditValidatorResponse,t,r)},"name",{value:"EditValidator"}),Object.defineProperty(e.prototype.delegate=function e(t,r){return this.rpcCall(e,a.cosmos.staking.v1beta1.MsgDelegate,a.cosmos.staking.v1beta1.MsgDelegateResponse,t,r)},"name",{value:"Delegate"}),Object.defineProperty(e.prototype.beginRedelegate=function e(t,r){return this.rpcCall(e,a.cosmos.staking.v1beta1.MsgBeginRedelegate,a.cosmos.staking.v1beta1.MsgBeginRedelegateResponse,t,r)},"name",{value:"BeginRedelegate"}),Object.defineProperty(e.prototype.undelegate=function e(t,r){return this.rpcCall(e,a.cosmos.staking.v1beta1.MsgUndelegate,a.cosmos.staking.v1beta1.MsgUndelegateResponse,t,r)},"name",{value:"Undelegate"}),e}(),e.MsgCreateValidator=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.description=a.cosmos.staking.v1beta1.Description.decode(e,e.uint32());break;case 2:n.commission=a.cosmos.staking.v1beta1.CommissionRates.decode(e,e.uint32());break;case 3:n.minSelfDelegation=e.string();break;case 4:n.delegatorAddress=e.string();break;case 5:n.validatorAddress=e.string();break;case 6:n.pubkey=a.google.protobuf.Any.decode(e,e.uint32());break;case 7:n.value=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgCreateValidator)return e;var t=new a.cosmos.staking.v1beta1.MsgCreateValidator;if(null!=e.description){if("object"!=typeof e.description)throw TypeError(".cosmos.staking.v1beta1.MsgCreateValidator.description: object expected");t.description=a.cosmos.staking.v1beta1.Description.fromObject(e.description)}if(null!=e.commission){if("object"!=typeof e.commission)throw TypeError(".cosmos.staking.v1beta1.MsgCreateValidator.commission: object expected");t.commission=a.cosmos.staking.v1beta1.CommissionRates.fromObject(e.commission)}if(null!=e.minSelfDelegation&&(t.minSelfDelegation=String(e.minSelfDelegation)),null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.pubkey){if("object"!=typeof e.pubkey)throw TypeError(".cosmos.staking.v1beta1.MsgCreateValidator.pubkey: object expected");t.pubkey=a.google.protobuf.Any.fromObject(e.pubkey)}if(null!=e.value){if("object"!=typeof e.value)throw TypeError(".cosmos.staking.v1beta1.MsgCreateValidator.value: object expected");t.value=a.cosmos.base.v1beta1.Coin.fromObject(e.value)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.description=null,r.commission=null,r.minSelfDelegation="",r.delegatorAddress="",r.validatorAddress="",r.pubkey=null,r.value=null),null!=e.description&&e.hasOwnProperty("description")&&(r.description=a.cosmos.staking.v1beta1.Description.toObject(e.description,t)),null!=e.commission&&e.hasOwnProperty("commission")&&(r.commission=a.cosmos.staking.v1beta1.CommissionRates.toObject(e.commission,t)),null!=e.minSelfDelegation&&e.hasOwnProperty("minSelfDelegation")&&(r.minSelfDelegation=e.minSelfDelegation),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=e.validatorAddress),null!=e.pubkey&&e.hasOwnProperty("pubkey")&&(r.pubkey=a.google.protobuf.Any.toObject(e.pubkey,t)),null!=e.value&&e.hasOwnProperty("value")&&(r.value=a.cosmos.base.v1beta1.Coin.toObject(e.value,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgCreateValidatorResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.description=a.cosmos.staking.v1beta1.Description.decode(e,e.uint32());break;case 2:n.validatorAddress=e.string();break;case 3:n.commissionRate=e.string();break;case 4:n.minSelfDelegation=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgEditValidator)return e;var t=new a.cosmos.staking.v1beta1.MsgEditValidator;if(null!=e.description){if("object"!=typeof e.description)throw TypeError(".cosmos.staking.v1beta1.MsgEditValidator.description: object expected");t.description=a.cosmos.staking.v1beta1.Description.fromObject(e.description)}return null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.commissionRate&&(t.commissionRate=String(e.commissionRate)),null!=e.minSelfDelegation&&(t.minSelfDelegation=String(e.minSelfDelegation)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.description=null,r.validatorAddress="",r.commissionRate="",r.minSelfDelegation=""),null!=e.description&&e.hasOwnProperty("description")&&(r.description=a.cosmos.staking.v1beta1.Description.toObject(e.description,t)),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=e.validatorAddress),null!=e.commissionRate&&e.hasOwnProperty("commissionRate")&&(r.commissionRate=e.commissionRate),null!=e.minSelfDelegation&&e.hasOwnProperty("minSelfDelegation")&&(r.minSelfDelegation=e.minSelfDelegation),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgEditValidatorResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorAddress=e.string();break;case 3:n.amount=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgDelegate)return e;var t=new a.cosmos.staking.v1beta1.MsgDelegate;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.amount){if("object"!=typeof e.amount)throw TypeError(".cosmos.staking.v1beta1.MsgDelegate.amount: object expected");t.amount=a.cosmos.base.v1beta1.Coin.fromObject(e.amount)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegatorAddress="",r.validatorAddress="",r.amount=null),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=e.validatorAddress),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=a.cosmos.base.v1beta1.Coin.toObject(e.amount,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgDelegateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorSrcAddress=e.string();break;case 3:n.validatorDstAddress=e.string();break;case 4:n.amount=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgBeginRedelegate)return e;var t=new a.cosmos.staking.v1beta1.MsgBeginRedelegate;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorSrcAddress&&(t.validatorSrcAddress=String(e.validatorSrcAddress)),null!=e.validatorDstAddress&&(t.validatorDstAddress=String(e.validatorDstAddress)),null!=e.amount){if("object"!=typeof e.amount)throw TypeError(".cosmos.staking.v1beta1.MsgBeginRedelegate.amount: object expected");t.amount=a.cosmos.base.v1beta1.Coin.fromObject(e.amount)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegatorAddress="",r.validatorSrcAddress="",r.validatorDstAddress="",r.amount=null),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorSrcAddress&&e.hasOwnProperty("validatorSrcAddress")&&(r.validatorSrcAddress=e.validatorSrcAddress),null!=e.validatorDstAddress&&e.hasOwnProperty("validatorDstAddress")&&(r.validatorDstAddress=e.validatorDstAddress),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=a.cosmos.base.v1beta1.Coin.toObject(e.amount,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgBeginRedelegateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.completionTime=a.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgBeginRedelegateResponse)return e;var t=new a.cosmos.staking.v1beta1.MsgBeginRedelegateResponse;if(null!=e.completionTime){if("object"!=typeof e.completionTime)throw TypeError(".cosmos.staking.v1beta1.MsgBeginRedelegateResponse.completionTime: object expected");t.completionTime=a.google.protobuf.Timestamp.fromObject(e.completionTime)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.completionTime=null),null!=e.completionTime&&e.hasOwnProperty("completionTime")&&(r.completionTime=a.google.protobuf.Timestamp.toObject(e.completionTime,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgUndelegate=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorAddress=e.string();break;case 3:n.amount=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgUndelegate)return e;var t=new a.cosmos.staking.v1beta1.MsgUndelegate;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.amount){if("object"!=typeof e.amount)throw TypeError(".cosmos.staking.v1beta1.MsgUndelegate.amount: object expected");t.amount=a.cosmos.base.v1beta1.Coin.fromObject(e.amount)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegatorAddress="",r.validatorAddress="",r.amount=null),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=e.validatorAddress),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=a.cosmos.base.v1beta1.Coin.toObject(e.amount,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgUndelegateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.completionTime=a.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgUndelegateResponse)return e;var t=new a.cosmos.staking.v1beta1.MsgUndelegateResponse;if(null!=e.completionTime){if("object"!=typeof e.completionTime)throw TypeError(".cosmos.staking.v1beta1.MsgUndelegateResponse.completionTime: object expected");t.completionTime=a.google.protobuf.Timestamp.fromObject(e.completionTime)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.completionTime=null),null!=e.completionTime&&e.hasOwnProperty("completionTime")&&(r.completionTime=a.google.protobuf.Timestamp.toObject(e.completionTime,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.tx=function(){const e={};return e.signing=function(){const e={};return e.v1beta1=function(){const e={};return e.SignMode=function(){const e={},t=Object.create(e);return t[e[0]="SIGN_MODE_UNSPECIFIED"]=0,t[e[1]="SIGN_MODE_DIRECT"]=1,t[e[2]="SIGN_MODE_TEXTUAL"]=2,t[e[127]="SIGN_MODE_LEGACY_AMINO_JSON"]=127,t}(),e.SignatureDescriptors=function(){function e(e){if(this.signatures=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(a.cosmos.tx.signing.v1beta1.SignatureDescriptor.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.signing.v1beta1.SignatureDescriptors)return e;var t=new a.cosmos.tx.signing.v1beta1.SignatureDescriptors;if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptors.signatures: array expected");t.signatures=[];for(var r=0;r>>3){case 1:n.publicKey=a.google.protobuf.Any.decode(e,e.uint32());break;case 2:n.data=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.decode(e,e.uint32());break;case 3:n.sequence=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.signing.v1beta1.SignatureDescriptor)return e;var t=new a.cosmos.tx.signing.v1beta1.SignatureDescriptor;if(null!=e.publicKey){if("object"!=typeof e.publicKey)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.publicKey: object expected");t.publicKey=a.google.protobuf.Any.fromObject(e.publicKey)}if(null!=e.data){if("object"!=typeof e.data)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.data: object expected");t.data=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.fromObject(e.data)}return null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.publicKey=null,r.data=null,s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;return null!=e.publicKey&&e.hasOwnProperty("publicKey")&&(r.publicKey=a.google.protobuf.Any.toObject(e.publicKey,t)),null!=e.data&&e.hasOwnProperty("data")&&(r.data=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.toObject(e.data,t)),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.Data=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.single=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single.decode(e,e.uint32());break;case 2:n.multi=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data)return e;var t=new a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data;if(null!=e.single){if("object"!=typeof e.single)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.single: object expected");t.single=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single.fromObject(e.single)}if(null!=e.multi){if("object"!=typeof e.multi)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.multi: object expected");t.multi=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.fromObject(e.multi)}return t},e.toObject=function(e,t){t||(t={});var r={};return null!=e.single&&e.hasOwnProperty("single")&&(r.single=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single.toObject(e.single,t),t.oneofs&&(r.sum="single")),null!=e.multi&&e.hasOwnProperty("multi")&&(r.multi=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.toObject(e.multi,t),t.oneofs&&(r.sum="multi")),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.Single=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.mode=e.int32();break;case 2:n.signature=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single)return e;var t=new a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single;switch(e.mode){case"SIGN_MODE_UNSPECIFIED":case 0:t.mode=0;break;case"SIGN_MODE_DIRECT":case 1:t.mode=1;break;case"SIGN_MODE_TEXTUAL":case 2:t.mode=2;break;case"SIGN_MODE_LEGACY_AMINO_JSON":case 127:t.mode=127}return null!=e.signature&&("string"==typeof e.signature?s.base64.decode(e.signature,t.signature=s.newBuffer(s.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.mode=t.enums===String?"SIGN_MODE_UNSPECIFIED":0,t.bytes===String?r.signature="":(r.signature=[],t.bytes!==Array&&(r.signature=s.newBuffer(r.signature)))),null!=e.mode&&e.hasOwnProperty("mode")&&(r.mode=t.enums===String?a.cosmos.tx.signing.v1beta1.SignMode[e.mode]:e.mode),null!=e.signature&&e.hasOwnProperty("signature")&&(r.signature=t.bytes===String?s.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Multi=function(){function e(e){if(this.signatures=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.bitarray=a.cosmos.crypto.multisig.v1beta1.CompactBitArray.decode(e,e.uint32());break;case 2:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi)return e;var t=new a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi;if(null!=e.bitarray){if("object"!=typeof e.bitarray)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.bitarray: object expected");t.bitarray=a.cosmos.crypto.multisig.v1beta1.CompactBitArray.fromObject(e.bitarray)}if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.signatures: array expected");t.signatures=[];for(var r=0;r>>3){case 1:n.body=a.cosmos.tx.v1beta1.TxBody.decode(e,e.uint32());break;case 2:n.authInfo=a.cosmos.tx.v1beta1.AuthInfo.decode(e,e.uint32());break;case 3:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(e.bytes());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.Tx)return e;var t=new a.cosmos.tx.v1beta1.Tx;if(null!=e.body){if("object"!=typeof e.body)throw TypeError(".cosmos.tx.v1beta1.Tx.body: object expected");t.body=a.cosmos.tx.v1beta1.TxBody.fromObject(e.body)}if(null!=e.authInfo){if("object"!=typeof e.authInfo)throw TypeError(".cosmos.tx.v1beta1.Tx.authInfo: object expected");t.authInfo=a.cosmos.tx.v1beta1.AuthInfo.fromObject(e.authInfo)}if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.tx.v1beta1.Tx.signatures: array expected");t.signatures=[];for(var r=0;r>>3){case 1:n.bodyBytes=e.bytes();break;case 2:n.authInfoBytes=e.bytes();break;case 3:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(e.bytes());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.TxRaw)return e;var t=new a.cosmos.tx.v1beta1.TxRaw;if(null!=e.bodyBytes&&("string"==typeof e.bodyBytes?s.base64.decode(e.bodyBytes,t.bodyBytes=s.newBuffer(s.base64.length(e.bodyBytes)),0):e.bodyBytes.length&&(t.bodyBytes=e.bodyBytes)),null!=e.authInfoBytes&&("string"==typeof e.authInfoBytes?s.base64.decode(e.authInfoBytes,t.authInfoBytes=s.newBuffer(s.base64.length(e.authInfoBytes)),0):e.authInfoBytes.length&&(t.authInfoBytes=e.authInfoBytes)),e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.tx.v1beta1.TxRaw.signatures: array expected");t.signatures=[];for(var r=0;r>>3){case 1:n.bodyBytes=e.bytes();break;case 2:n.authInfoBytes=e.bytes();break;case 3:n.chainId=e.string();break;case 4:n.accountNumber=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.SignDoc)return e;var t=new a.cosmos.tx.v1beta1.SignDoc;return null!=e.bodyBytes&&("string"==typeof e.bodyBytes?s.base64.decode(e.bodyBytes,t.bodyBytes=s.newBuffer(s.base64.length(e.bodyBytes)),0):e.bodyBytes.length&&(t.bodyBytes=e.bodyBytes)),null!=e.authInfoBytes&&("string"==typeof e.authInfoBytes?s.base64.decode(e.authInfoBytes,t.authInfoBytes=s.newBuffer(s.base64.length(e.authInfoBytes)),0):e.authInfoBytes.length&&(t.authInfoBytes=e.authInfoBytes)),null!=e.chainId&&(t.chainId=String(e.chainId)),null!=e.accountNumber&&(s.Long?(t.accountNumber=s.Long.fromValue(e.accountNumber)).unsigned=!0:"string"==typeof e.accountNumber?t.accountNumber=parseInt(e.accountNumber,10):"number"==typeof e.accountNumber?t.accountNumber=e.accountNumber:"object"==typeof e.accountNumber&&(t.accountNumber=new s.LongBits(e.accountNumber.low>>>0,e.accountNumber.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(t.bytes===String?r.bodyBytes="":(r.bodyBytes=[],t.bytes!==Array&&(r.bodyBytes=s.newBuffer(r.bodyBytes))),t.bytes===String?r.authInfoBytes="":(r.authInfoBytes=[],t.bytes!==Array&&(r.authInfoBytes=s.newBuffer(r.authInfoBytes))),r.chainId="",s.Long){var n=new s.Long(0,0,!0);r.accountNumber=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.accountNumber=t.longs===String?"0":0;return null!=e.bodyBytes&&e.hasOwnProperty("bodyBytes")&&(r.bodyBytes=t.bytes===String?s.base64.encode(e.bodyBytes,0,e.bodyBytes.length):t.bytes===Array?Array.prototype.slice.call(e.bodyBytes):e.bodyBytes),null!=e.authInfoBytes&&e.hasOwnProperty("authInfoBytes")&&(r.authInfoBytes=t.bytes===String?s.base64.encode(e.authInfoBytes,0,e.authInfoBytes.length):t.bytes===Array?Array.prototype.slice.call(e.authInfoBytes):e.authInfoBytes),null!=e.chainId&&e.hasOwnProperty("chainId")&&(r.chainId=e.chainId),null!=e.accountNumber&&e.hasOwnProperty("accountNumber")&&("number"==typeof e.accountNumber?r.accountNumber=t.longs===String?String(e.accountNumber):e.accountNumber:r.accountNumber=t.longs===String?s.Long.prototype.toString.call(e.accountNumber):t.longs===Number?new s.LongBits(e.accountNumber.low>>>0,e.accountNumber.high>>>0).toNumber(!0):e.accountNumber),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.TxBody=function(){function e(e){if(this.messages=[],this.extensionOptions=[],this.nonCriticalExtensionOptions=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.messages&&n.messages.length||(n.messages=[]),n.messages.push(a.google.protobuf.Any.decode(e,e.uint32()));break;case 2:n.memo=e.string();break;case 3:n.timeoutHeight=e.uint64();break;case 1023:n.extensionOptions&&n.extensionOptions.length||(n.extensionOptions=[]),n.extensionOptions.push(a.google.protobuf.Any.decode(e,e.uint32()));break;case 2047:n.nonCriticalExtensionOptions&&n.nonCriticalExtensionOptions.length||(n.nonCriticalExtensionOptions=[]),n.nonCriticalExtensionOptions.push(a.google.protobuf.Any.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.TxBody)return e;var t=new a.cosmos.tx.v1beta1.TxBody;if(e.messages){if(!Array.isArray(e.messages))throw TypeError(".cosmos.tx.v1beta1.TxBody.messages: array expected");t.messages=[];for(var r=0;r>>0,e.timeoutHeight.high>>>0).toNumber(!0))),e.extensionOptions){if(!Array.isArray(e.extensionOptions))throw TypeError(".cosmos.tx.v1beta1.TxBody.extensionOptions: array expected");t.extensionOptions=[];for(r=0;r>>0,e.timeoutHeight.high>>>0).toNumber(!0):e.timeoutHeight),e.extensionOptions&&e.extensionOptions.length){r.extensionOptions=[];for(o=0;o>>3){case 1:n.signerInfos&&n.signerInfos.length||(n.signerInfos=[]),n.signerInfos.push(a.cosmos.tx.v1beta1.SignerInfo.decode(e,e.uint32()));break;case 2:n.fee=a.cosmos.tx.v1beta1.Fee.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.AuthInfo)return e;var t=new a.cosmos.tx.v1beta1.AuthInfo;if(e.signerInfos){if(!Array.isArray(e.signerInfos))throw TypeError(".cosmos.tx.v1beta1.AuthInfo.signerInfos: array expected");t.signerInfos=[];for(var r=0;r>>3){case 1:n.publicKey=a.google.protobuf.Any.decode(e,e.uint32());break;case 2:n.modeInfo=a.cosmos.tx.v1beta1.ModeInfo.decode(e,e.uint32());break;case 3:n.sequence=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.SignerInfo)return e;var t=new a.cosmos.tx.v1beta1.SignerInfo;if(null!=e.publicKey){if("object"!=typeof e.publicKey)throw TypeError(".cosmos.tx.v1beta1.SignerInfo.publicKey: object expected");t.publicKey=a.google.protobuf.Any.fromObject(e.publicKey)}if(null!=e.modeInfo){if("object"!=typeof e.modeInfo)throw TypeError(".cosmos.tx.v1beta1.SignerInfo.modeInfo: object expected");t.modeInfo=a.cosmos.tx.v1beta1.ModeInfo.fromObject(e.modeInfo)}return null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.publicKey=null,r.modeInfo=null,s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;return null!=e.publicKey&&e.hasOwnProperty("publicKey")&&(r.publicKey=a.google.protobuf.Any.toObject(e.publicKey,t)),null!=e.modeInfo&&e.hasOwnProperty("modeInfo")&&(r.modeInfo=a.cosmos.tx.v1beta1.ModeInfo.toObject(e.modeInfo,t)),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ModeInfo=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.single=a.cosmos.tx.v1beta1.ModeInfo.Single.decode(e,e.uint32());break;case 2:n.multi=a.cosmos.tx.v1beta1.ModeInfo.Multi.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.ModeInfo)return e;var t=new a.cosmos.tx.v1beta1.ModeInfo;if(null!=e.single){if("object"!=typeof e.single)throw TypeError(".cosmos.tx.v1beta1.ModeInfo.single: object expected");t.single=a.cosmos.tx.v1beta1.ModeInfo.Single.fromObject(e.single)}if(null!=e.multi){if("object"!=typeof e.multi)throw TypeError(".cosmos.tx.v1beta1.ModeInfo.multi: object expected");t.multi=a.cosmos.tx.v1beta1.ModeInfo.Multi.fromObject(e.multi)}return t},e.toObject=function(e,t){t||(t={});var r={};return null!=e.single&&e.hasOwnProperty("single")&&(r.single=a.cosmos.tx.v1beta1.ModeInfo.Single.toObject(e.single,t),t.oneofs&&(r.sum="single")),null!=e.multi&&e.hasOwnProperty("multi")&&(r.multi=a.cosmos.tx.v1beta1.ModeInfo.Multi.toObject(e.multi,t),t.oneofs&&(r.sum="multi")),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.Single=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.mode=e.int32();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.ModeInfo.Single)return e;var t=new a.cosmos.tx.v1beta1.ModeInfo.Single;switch(e.mode){case"SIGN_MODE_UNSPECIFIED":case 0:t.mode=0;break;case"SIGN_MODE_DIRECT":case 1:t.mode=1;break;case"SIGN_MODE_TEXTUAL":case 2:t.mode=2;break;case"SIGN_MODE_LEGACY_AMINO_JSON":case 127:t.mode=127}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.mode=t.enums===String?"SIGN_MODE_UNSPECIFIED":0),null!=e.mode&&e.hasOwnProperty("mode")&&(r.mode=t.enums===String?a.cosmos.tx.signing.v1beta1.SignMode[e.mode]:e.mode),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Multi=function(){function e(e){if(this.modeInfos=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.bitarray=a.cosmos.crypto.multisig.v1beta1.CompactBitArray.decode(e,e.uint32());break;case 2:n.modeInfos&&n.modeInfos.length||(n.modeInfos=[]),n.modeInfos.push(a.cosmos.tx.v1beta1.ModeInfo.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.ModeInfo.Multi)return e;var t=new a.cosmos.tx.v1beta1.ModeInfo.Multi;if(null!=e.bitarray){if("object"!=typeof e.bitarray)throw TypeError(".cosmos.tx.v1beta1.ModeInfo.Multi.bitarray: object expected");t.bitarray=a.cosmos.crypto.multisig.v1beta1.CompactBitArray.fromObject(e.bitarray)}if(e.modeInfos){if(!Array.isArray(e.modeInfos))throw TypeError(".cosmos.tx.v1beta1.ModeInfo.Multi.modeInfos: array expected");t.modeInfos=[];for(var r=0;r>>3){case 1:n.amount&&n.amount.length||(n.amount=[]),n.amount.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;case 2:n.gasLimit=e.uint64();break;case 3:n.payer=e.string();break;case 4:n.granter=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.Fee)return e;var t=new a.cosmos.tx.v1beta1.Fee;if(e.amount){if(!Array.isArray(e.amount))throw TypeError(".cosmos.tx.v1beta1.Fee.amount: array expected");t.amount=[];for(var r=0;r>>0,e.gasLimit.high>>>0).toNumber(!0))),null!=e.payer&&(t.payer=String(e.payer)),null!=e.granter&&(t.granter=String(e.granter)),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.amount=[]),t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.gasLimit=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.gasLimit=t.longs===String?"0":0;r.payer="",r.granter=""}if(e.amount&&e.amount.length){r.amount=[];for(var o=0;o>>0,e.gasLimit.high>>>0).toNumber(!0):e.gasLimit),null!=e.payer&&e.hasOwnProperty("payer")&&(r.payer=e.payer),null!=e.granter&&e.hasOwnProperty("granter")&&(r.granter=e.granter),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e})(),t.google=a.google=(()=>{const e={};return e.protobuf=function(){const e={};return e.Any=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.type_url=e.string();break;case 2:n.value=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.Any)return e;var t=new a.google.protobuf.Any;return null!=e.type_url&&(t.type_url=String(e.type_url)),null!=e.value&&("string"==typeof e.value?s.base64.decode(e.value,t.value=s.newBuffer(s.base64.length(e.value)),0):e.value.length&&(t.value=e.value)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.type_url="",t.bytes===String?r.value="":(r.value=[],t.bytes!==Array&&(r.value=s.newBuffer(r.value)))),null!=e.type_url&&e.hasOwnProperty("type_url")&&(r.type_url=e.type_url),null!=e.value&&e.hasOwnProperty("value")&&(r.value=t.bytes===String?s.base64.encode(e.value,0,e.value.length):t.bytes===Array?Array.prototype.slice.call(e.value):e.value),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.FileDescriptorSet=function(){function e(e){if(this.file=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.file&&n.file.length||(n.file=[]),n.file.push(a.google.protobuf.FileDescriptorProto.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.FileDescriptorSet)return e;var t=new a.google.protobuf.FileDescriptorSet;if(e.file){if(!Array.isArray(e.file))throw TypeError(".google.protobuf.FileDescriptorSet.file: array expected");t.file=[];for(var r=0;r>>3){case 1:n.name=e.string();break;case 2:n.package=e.string();break;case 3:n.dependency&&n.dependency.length||(n.dependency=[]),n.dependency.push(e.string());break;case 10:if(n.publicDependency&&n.publicDependency.length||(n.publicDependency=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>3){case 1:n.name=e.string();break;case 2:n.field&&n.field.length||(n.field=[]),n.field.push(a.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 6:n.extension&&n.extension.length||(n.extension=[]),n.extension.push(a.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 3:n.nestedType&&n.nestedType.length||(n.nestedType=[]),n.nestedType.push(a.google.protobuf.DescriptorProto.decode(e,e.uint32()));break;case 4:n.enumType&&n.enumType.length||(n.enumType=[]),n.enumType.push(a.google.protobuf.EnumDescriptorProto.decode(e,e.uint32()));break;case 5:n.extensionRange&&n.extensionRange.length||(n.extensionRange=[]),n.extensionRange.push(a.google.protobuf.DescriptorProto.ExtensionRange.decode(e,e.uint32()));break;case 8:n.oneofDecl&&n.oneofDecl.length||(n.oneofDecl=[]),n.oneofDecl.push(a.google.protobuf.OneofDescriptorProto.decode(e,e.uint32()));break;case 7:n.options=a.google.protobuf.MessageOptions.decode(e,e.uint32());break;case 9:n.reservedRange&&n.reservedRange.length||(n.reservedRange=[]),n.reservedRange.push(a.google.protobuf.DescriptorProto.ReservedRange.decode(e,e.uint32()));break;case 10:n.reservedName&&n.reservedName.length||(n.reservedName=[]),n.reservedName.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.DescriptorProto)return e;var t=new a.google.protobuf.DescriptorProto;if(null!=e.name&&(t.name=String(e.name)),e.field){if(!Array.isArray(e.field))throw TypeError(".google.protobuf.DescriptorProto.field: array expected");t.field=[];for(var r=0;r>>3){case 1:n.start=e.int32();break;case 2:n.end=e.int32();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.DescriptorProto.ExtensionRange)return e;var t=new a.google.protobuf.DescriptorProto.ExtensionRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.start=0,r.end=0),null!=e.start&&e.hasOwnProperty("start")&&(r.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(r.end=e.end),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReservedRange=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.start=e.int32();break;case 2:n.end=e.int32();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.DescriptorProto.ReservedRange)return e;var t=new a.google.protobuf.DescriptorProto.ReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.start=0,r.end=0),null!=e.start&&e.hasOwnProperty("start")&&(r.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(r.end=e.end),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e.FieldDescriptorProto=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 3:n.number=e.int32();break;case 4:n.label=e.int32();break;case 5:n.type=e.int32();break;case 6:n.typeName=e.string();break;case 2:n.extendee=e.string();break;case 7:n.defaultValue=e.string();break;case 9:n.oneofIndex=e.int32();break;case 10:n.jsonName=e.string();break;case 8:n.options=a.google.protobuf.FieldOptions.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.FieldDescriptorProto)return e;var t=new a.google.protobuf.FieldDescriptorProto;switch(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),e.label){case"LABEL_OPTIONAL":case 1:t.label=1;break;case"LABEL_REQUIRED":case 2:t.label=2;break;case"LABEL_REPEATED":case 3:t.label=3}switch(e.type){case"TYPE_DOUBLE":case 1:t.type=1;break;case"TYPE_FLOAT":case 2:t.type=2;break;case"TYPE_INT64":case 3:t.type=3;break;case"TYPE_UINT64":case 4:t.type=4;break;case"TYPE_INT32":case 5:t.type=5;break;case"TYPE_FIXED64":case 6:t.type=6;break;case"TYPE_FIXED32":case 7:t.type=7;break;case"TYPE_BOOL":case 8:t.type=8;break;case"TYPE_STRING":case 9:t.type=9;break;case"TYPE_GROUP":case 10:t.type=10;break;case"TYPE_MESSAGE":case 11:t.type=11;break;case"TYPE_BYTES":case 12:t.type=12;break;case"TYPE_UINT32":case 13:t.type=13;break;case"TYPE_ENUM":case 14:t.type=14;break;case"TYPE_SFIXED32":case 15:t.type=15;break;case"TYPE_SFIXED64":case 16:t.type=16;break;case"TYPE_SINT32":case 17:t.type=17;break;case"TYPE_SINT64":case 18:t.type=18}if(null!=e.typeName&&(t.typeName=String(e.typeName)),null!=e.extendee&&(t.extendee=String(e.extendee)),null!=e.defaultValue&&(t.defaultValue=String(e.defaultValue)),null!=e.oneofIndex&&(t.oneofIndex=0|e.oneofIndex),null!=e.jsonName&&(t.jsonName=String(e.jsonName)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");t.options=a.google.protobuf.FieldOptions.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.extendee="",r.number=0,r.label=t.enums===String?"LABEL_OPTIONAL":1,r.type=t.enums===String?"TYPE_DOUBLE":1,r.typeName="",r.defaultValue="",r.options=null,r.oneofIndex=0,r.jsonName=""),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.extendee&&e.hasOwnProperty("extendee")&&(r.extendee=e.extendee),null!=e.number&&e.hasOwnProperty("number")&&(r.number=e.number),null!=e.label&&e.hasOwnProperty("label")&&(r.label=t.enums===String?a.google.protobuf.FieldDescriptorProto.Label[e.label]:e.label),null!=e.type&&e.hasOwnProperty("type")&&(r.type=t.enums===String?a.google.protobuf.FieldDescriptorProto.Type[e.type]:e.type),null!=e.typeName&&e.hasOwnProperty("typeName")&&(r.typeName=e.typeName),null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&(r.defaultValue=e.defaultValue),null!=e.options&&e.hasOwnProperty("options")&&(r.options=a.google.protobuf.FieldOptions.toObject(e.options,t)),null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&(r.oneofIndex=e.oneofIndex),null!=e.jsonName&&e.hasOwnProperty("jsonName")&&(r.jsonName=e.jsonName),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.Type=function(){const e={},t=Object.create(e);return t[e[1]="TYPE_DOUBLE"]=1,t[e[2]="TYPE_FLOAT"]=2,t[e[3]="TYPE_INT64"]=3,t[e[4]="TYPE_UINT64"]=4,t[e[5]="TYPE_INT32"]=5,t[e[6]="TYPE_FIXED64"]=6,t[e[7]="TYPE_FIXED32"]=7,t[e[8]="TYPE_BOOL"]=8,t[e[9]="TYPE_STRING"]=9,t[e[10]="TYPE_GROUP"]=10,t[e[11]="TYPE_MESSAGE"]=11,t[e[12]="TYPE_BYTES"]=12,t[e[13]="TYPE_UINT32"]=13,t[e[14]="TYPE_ENUM"]=14,t[e[15]="TYPE_SFIXED32"]=15,t[e[16]="TYPE_SFIXED64"]=16,t[e[17]="TYPE_SINT32"]=17,t[e[18]="TYPE_SINT64"]=18,t}(),e.Label=function(){const e={},t=Object.create(e);return t[e[1]="LABEL_OPTIONAL"]=1,t[e[2]="LABEL_REQUIRED"]=2,t[e[3]="LABEL_REPEATED"]=3,t}(),e}(),e.OneofDescriptorProto=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.options=a.google.protobuf.OneofOptions.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.OneofDescriptorProto)return e;var t=new a.google.protobuf.OneofDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.OneofDescriptorProto.options: object expected");t.options=a.google.protobuf.OneofOptions.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.options=null),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.options&&e.hasOwnProperty("options")&&(r.options=a.google.protobuf.OneofOptions.toObject(e.options,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.EnumDescriptorProto=function(){function e(e){if(this.value=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.value&&n.value.length||(n.value=[]),n.value.push(a.google.protobuf.EnumValueDescriptorProto.decode(e,e.uint32()));break;case 3:n.options=a.google.protobuf.EnumOptions.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.EnumDescriptorProto)return e;var t=new a.google.protobuf.EnumDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),e.value){if(!Array.isArray(e.value))throw TypeError(".google.protobuf.EnumDescriptorProto.value: array expected");t.value=[];for(var r=0;r>>3){case 1:n.name=e.string();break;case 2:n.number=e.int32();break;case 3:n.options=a.google.protobuf.EnumValueOptions.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.EnumValueDescriptorProto)return e;var t=new a.google.protobuf.EnumValueDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.EnumValueDescriptorProto.options: object expected");t.options=a.google.protobuf.EnumValueOptions.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.number=0,r.options=null),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.number&&e.hasOwnProperty("number")&&(r.number=e.number),null!=e.options&&e.hasOwnProperty("options")&&(r.options=a.google.protobuf.EnumValueOptions.toObject(e.options,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ServiceDescriptorProto=function(){function e(e){if(this.method=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.method&&n.method.length||(n.method=[]),n.method.push(a.google.protobuf.MethodDescriptorProto.decode(e,e.uint32()));break;case 3:n.options=a.google.protobuf.ServiceOptions.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.ServiceDescriptorProto)return e;var t=new a.google.protobuf.ServiceDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),e.method){if(!Array.isArray(e.method))throw TypeError(".google.protobuf.ServiceDescriptorProto.method: array expected");t.method=[];for(var r=0;r>>3){case 1:n.name=e.string();break;case 2:n.inputType=e.string();break;case 3:n.outputType=e.string();break;case 4:n.options=a.google.protobuf.MethodOptions.decode(e,e.uint32());break;case 5:n.clientStreaming=e.bool();break;case 6:n.serverStreaming=e.bool();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.MethodDescriptorProto)return e;var t=new a.google.protobuf.MethodDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.inputType&&(t.inputType=String(e.inputType)),null!=e.outputType&&(t.outputType=String(e.outputType)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.MethodDescriptorProto.options: object expected");t.options=a.google.protobuf.MethodOptions.fromObject(e.options)}return null!=e.clientStreaming&&(t.clientStreaming=Boolean(e.clientStreaming)),null!=e.serverStreaming&&(t.serverStreaming=Boolean(e.serverStreaming)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.inputType="",r.outputType="",r.options=null,r.clientStreaming=!1,r.serverStreaming=!1),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.inputType&&e.hasOwnProperty("inputType")&&(r.inputType=e.inputType),null!=e.outputType&&e.hasOwnProperty("outputType")&&(r.outputType=e.outputType),null!=e.options&&e.hasOwnProperty("options")&&(r.options=a.google.protobuf.MethodOptions.toObject(e.options,t)),null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&(r.clientStreaming=e.clientStreaming),null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&(r.serverStreaming=e.serverStreaming),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.FileOptions=function(){function e(e){if(this.uninterpretedOption=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.javaPackage=e.string();break;case 8:n.javaOuterClassname=e.string();break;case 10:n.javaMultipleFiles=e.bool();break;case 20:n.javaGenerateEqualsAndHash=e.bool();break;case 27:n.javaStringCheckUtf8=e.bool();break;case 9:n.optimizeFor=e.int32();break;case 11:n.goPackage=e.string();break;case 16:n.ccGenericServices=e.bool();break;case 17:n.javaGenericServices=e.bool();break;case 18:n.pyGenericServices=e.bool();break;case 23:n.deprecated=e.bool();break;case 31:n.ccEnableArenas=e.bool();break;case 36:n.objcClassPrefix=e.string();break;case 37:n.csharpNamespace=e.string();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.FileOptions)return e;var t=new a.google.protobuf.FileOptions;switch(null!=e.javaPackage&&(t.javaPackage=String(e.javaPackage)),null!=e.javaOuterClassname&&(t.javaOuterClassname=String(e.javaOuterClassname)),null!=e.javaMultipleFiles&&(t.javaMultipleFiles=Boolean(e.javaMultipleFiles)),null!=e.javaGenerateEqualsAndHash&&(t.javaGenerateEqualsAndHash=Boolean(e.javaGenerateEqualsAndHash)),null!=e.javaStringCheckUtf8&&(t.javaStringCheckUtf8=Boolean(e.javaStringCheckUtf8)),e.optimizeFor){case"SPEED":case 1:t.optimizeFor=1;break;case"CODE_SIZE":case 2:t.optimizeFor=2;break;case"LITE_RUNTIME":case 3:t.optimizeFor=3}if(null!=e.goPackage&&(t.goPackage=String(e.goPackage)),null!=e.ccGenericServices&&(t.ccGenericServices=Boolean(e.ccGenericServices)),null!=e.javaGenericServices&&(t.javaGenericServices=Boolean(e.javaGenericServices)),null!=e.pyGenericServices&&(t.pyGenericServices=Boolean(e.pyGenericServices)),null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),null!=e.ccEnableArenas&&(t.ccEnableArenas=Boolean(e.ccEnableArenas)),null!=e.objcClassPrefix&&(t.objcClassPrefix=String(e.objcClassPrefix)),null!=e.csharpNamespace&&(t.csharpNamespace=String(e.csharpNamespace)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.FileOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 1:n.messageSetWireFormat=e.bool();break;case 2:n.noStandardDescriptorAccessor=e.bool();break;case 3:n.deprecated=e.bool();break;case 7:n.mapEntry=e.bool();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.MessageOptions)return e;var t=new a.google.protobuf.MessageOptions;if(null!=e.messageSetWireFormat&&(t.messageSetWireFormat=Boolean(e.messageSetWireFormat)),null!=e.noStandardDescriptorAccessor&&(t.noStandardDescriptorAccessor=Boolean(e.noStandardDescriptorAccessor)),null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),null!=e.mapEntry&&(t.mapEntry=Boolean(e.mapEntry)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.MessageOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 1:n.ctype=e.int32();break;case 2:n.packed=e.bool();break;case 6:n.jstype=e.int32();break;case 5:n.lazy=e.bool();break;case 3:n.deprecated=e.bool();break;case 10:n.weak=e.bool();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.FieldOptions)return e;var t=new a.google.protobuf.FieldOptions;switch(e.ctype){case"STRING":case 0:t.ctype=0;break;case"CORD":case 1:t.ctype=1;break;case"STRING_PIECE":case 2:t.ctype=2}switch(null!=e.packed&&(t.packed=Boolean(e.packed)),e.jstype){case"JS_NORMAL":case 0:t.jstype=0;break;case"JS_STRING":case 1:t.jstype=1;break;case"JS_NUMBER":case 2:t.jstype=2}if(null!=e.lazy&&(t.lazy=Boolean(e.lazy)),null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),null!=e.weak&&(t.weak=Boolean(e.weak)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.OneofOptions)return e;var t=new a.google.protobuf.OneofOptions;if(e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.OneofOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 2:n.allowAlias=e.bool();break;case 3:n.deprecated=e.bool();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.EnumOptions)return e;var t=new a.google.protobuf.EnumOptions;if(null!=e.allowAlias&&(t.allowAlias=Boolean(e.allowAlias)),null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.EnumOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 1:n.deprecated=e.bool();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.EnumValueOptions)return e;var t=new a.google.protobuf.EnumValueOptions;if(null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 33:n.deprecated=e.bool();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.ServiceOptions)return e;var t=new a.google.protobuf.ServiceOptions;if(null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.ServiceOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 33:n.deprecated=e.bool();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 72295728:n[".google.api.http"]=a.google.api.HttpRule.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.MethodOptions)return e;var t=new a.google.protobuf.MethodOptions;if(null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.MethodOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 2:n.name&&n.name.length||(n.name=[]),n.name.push(a.google.protobuf.UninterpretedOption.NamePart.decode(e,e.uint32()));break;case 3:n.identifierValue=e.string();break;case 4:n.positiveIntValue=e.uint64();break;case 5:n.negativeIntValue=e.int64();break;case 6:n.doubleValue=e.double();break;case 7:n.stringValue=e.bytes();break;case 8:n.aggregateValue=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.UninterpretedOption)return e;var t=new a.google.protobuf.UninterpretedOption;if(e.name){if(!Array.isArray(e.name))throw TypeError(".google.protobuf.UninterpretedOption.name: array expected");t.name=[];for(var r=0;r>>0,e.positiveIntValue.high>>>0).toNumber(!0))),null!=e.negativeIntValue&&(s.Long?(t.negativeIntValue=s.Long.fromValue(e.negativeIntValue)).unsigned=!1:"string"==typeof e.negativeIntValue?t.negativeIntValue=parseInt(e.negativeIntValue,10):"number"==typeof e.negativeIntValue?t.negativeIntValue=e.negativeIntValue:"object"==typeof e.negativeIntValue&&(t.negativeIntValue=new s.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber())),null!=e.doubleValue&&(t.doubleValue=Number(e.doubleValue)),null!=e.stringValue&&("string"==typeof e.stringValue?s.base64.decode(e.stringValue,t.stringValue=s.newBuffer(s.base64.length(e.stringValue)),0):e.stringValue.length&&(t.stringValue=e.stringValue)),null!=e.aggregateValue&&(t.aggregateValue=String(e.aggregateValue)),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.name=[]),t.defaults){if(r.identifierValue="",s.Long){var n=new s.Long(0,0,!0);r.positiveIntValue=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.positiveIntValue=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!1);r.negativeIntValue=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.negativeIntValue=t.longs===String?"0":0;r.doubleValue=0,t.bytes===String?r.stringValue="":(r.stringValue=[],t.bytes!==Array&&(r.stringValue=s.newBuffer(r.stringValue))),r.aggregateValue=""}if(e.name&&e.name.length){r.name=[];for(var o=0;o>>0,e.positiveIntValue.high>>>0).toNumber(!0):e.positiveIntValue),null!=e.negativeIntValue&&e.hasOwnProperty("negativeIntValue")&&("number"==typeof e.negativeIntValue?r.negativeIntValue=t.longs===String?String(e.negativeIntValue):e.negativeIntValue:r.negativeIntValue=t.longs===String?s.Long.prototype.toString.call(e.negativeIntValue):t.longs===Number?new s.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber():e.negativeIntValue),null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(r.doubleValue=t.json&&!isFinite(e.doubleValue)?String(e.doubleValue):e.doubleValue),null!=e.stringValue&&e.hasOwnProperty("stringValue")&&(r.stringValue=t.bytes===String?s.base64.encode(e.stringValue,0,e.stringValue.length):t.bytes===Array?Array.prototype.slice.call(e.stringValue):e.stringValue),null!=e.aggregateValue&&e.hasOwnProperty("aggregateValue")&&(r.aggregateValue=e.aggregateValue),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.NamePart=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.namePart=e.string();break;case 2:n.isExtension=e.bool();break;default:e.skipType(7&i)}}if(!n.hasOwnProperty("namePart"))throw s.ProtocolError("missing required 'namePart'",{instance:n});if(!n.hasOwnProperty("isExtension"))throw s.ProtocolError("missing required 'isExtension'",{instance:n});return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.UninterpretedOption.NamePart)return e;var t=new a.google.protobuf.UninterpretedOption.NamePart;return null!=e.namePart&&(t.namePart=String(e.namePart)),null!=e.isExtension&&(t.isExtension=Boolean(e.isExtension)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.namePart="",r.isExtension=!1),null!=e.namePart&&e.hasOwnProperty("namePart")&&(r.namePart=e.namePart),null!=e.isExtension&&e.hasOwnProperty("isExtension")&&(r.isExtension=e.isExtension),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e.SourceCodeInfo=function(){function e(e){if(this.location=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.location&&n.location.length||(n.location=[]),n.location.push(a.google.protobuf.SourceCodeInfo.Location.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.SourceCodeInfo)return e;var t=new a.google.protobuf.SourceCodeInfo;if(e.location){if(!Array.isArray(e.location))throw TypeError(".google.protobuf.SourceCodeInfo.location: array expected");t.location=[];for(var r=0;r>>3){case 1:if(n.path&&n.path.length||(n.path=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>3){case 1:n.annotation&&n.annotation.length||(n.annotation=[]),n.annotation.push(a.google.protobuf.GeneratedCodeInfo.Annotation.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.GeneratedCodeInfo)return e;var t=new a.google.protobuf.GeneratedCodeInfo;if(e.annotation){if(!Array.isArray(e.annotation))throw TypeError(".google.protobuf.GeneratedCodeInfo.annotation: array expected");t.annotation=[];for(var r=0;r>>3){case 1:if(n.path&&n.path.length||(n.path=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>3){case 1:n.seconds=e.int64();break;case 2:n.nanos=e.int32();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.Duration)return e;var t=new a.google.protobuf.Duration;return null!=e.seconds&&(s.Long?(t.seconds=s.Long.fromValue(e.seconds)).unsigned=!1:"string"==typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"==typeof e.seconds?t.seconds=e.seconds:"object"==typeof e.seconds&&(t.seconds=new s.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanos&&(t.nanos=0|e.nanos),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!1);r.seconds=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.seconds=t.longs===String?"0":0;r.nanos=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"==typeof e.seconds?r.seconds=t.longs===String?String(e.seconds):e.seconds:r.seconds=t.longs===String?s.Long.prototype.toString.call(e.seconds):t.longs===Number?new s.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanos&&e.hasOwnProperty("nanos")&&(r.nanos=e.nanos),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Timestamp=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.seconds=e.int64();break;case 2:n.nanos=e.int32();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.Timestamp)return e;var t=new a.google.protobuf.Timestamp;return null!=e.seconds&&(s.Long?(t.seconds=s.Long.fromValue(e.seconds)).unsigned=!1:"string"==typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"==typeof e.seconds?t.seconds=e.seconds:"object"==typeof e.seconds&&(t.seconds=new s.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanos&&(t.nanos=0|e.nanos),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!1);r.seconds=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.seconds=t.longs===String?"0":0;r.nanos=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"==typeof e.seconds?r.seconds=t.longs===String?String(e.seconds):e.seconds:r.seconds=t.longs===String?s.Long.prototype.toString.call(e.seconds):t.longs===Number?new s.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanos&&e.hasOwnProperty("nanos")&&(r.nanos=e.nanos),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e.api=function(){const e={};return e.Http=function(){function e(e){if(this.rules=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.rules&&n.rules.length||(n.rules=[]),n.rules.push(a.google.api.HttpRule.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.api.Http)return e;var t=new a.google.api.Http;if(e.rules){if(!Array.isArray(e.rules))throw TypeError(".google.api.Http.rules: array expected");t.rules=[];for(var r=0;r>>3){case 2:n.get=e.string();break;case 3:n.put=e.string();break;case 4:n.post=e.string();break;case 5:n.delete=e.string();break;case 6:n.patch=e.string();break;case 8:n.custom=a.google.api.CustomHttpPattern.decode(e,e.uint32());break;case 1:n.selector=e.string();break;case 7:n.body=e.string();break;case 11:n.additionalBindings&&n.additionalBindings.length||(n.additionalBindings=[]),n.additionalBindings.push(a.google.api.HttpRule.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.api.HttpRule)return e;var t=new a.google.api.HttpRule;if(null!=e.get&&(t.get=String(e.get)),null!=e.put&&(t.put=String(e.put)),null!=e.post&&(t.post=String(e.post)),null!=e.delete&&(t.delete=String(e.delete)),null!=e.patch&&(t.patch=String(e.patch)),null!=e.custom){if("object"!=typeof e.custom)throw TypeError(".google.api.HttpRule.custom: object expected");t.custom=a.google.api.CustomHttpPattern.fromObject(e.custom)}if(null!=e.selector&&(t.selector=String(e.selector)),null!=e.body&&(t.body=String(e.body)),e.additionalBindings){if(!Array.isArray(e.additionalBindings))throw TypeError(".google.api.HttpRule.additionalBindings: array expected");t.additionalBindings=[];for(var r=0;r>>3){case 1:n.kind=e.string();break;case 2:n.path=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.api.CustomHttpPattern)return e;var t=new a.google.api.CustomHttpPattern;return null!=e.kind&&(t.kind=String(e.kind)),null!=e.path&&(t.path=String(e.path)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.kind="",r.path=""),null!=e.kind&&e.hasOwnProperty("kind")&&(r.kind=e.kind),null!=e.path&&e.hasOwnProperty("path")&&(r.path=e.path),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e})(),t.ibc=a.ibc=(()=>{const e={};return e.core=function(){const e={};return e.channel=function(){const e={};return e.v1=function(){const e={};return e.Channel=function(){function e(e){if(this.connectionHops=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.state=e.int32();break;case 2:n.ordering=e.int32();break;case 3:n.counterparty=a.ibc.core.channel.v1.Counterparty.decode(e,e.uint32());break;case 4:n.connectionHops&&n.connectionHops.length||(n.connectionHops=[]),n.connectionHops.push(e.string());break;case 5:n.version=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.Channel)return e;var t=new a.ibc.core.channel.v1.Channel;switch(e.state){case"STATE_UNINITIALIZED_UNSPECIFIED":case 0:t.state=0;break;case"STATE_INIT":case 1:t.state=1;break;case"STATE_TRYOPEN":case 2:t.state=2;break;case"STATE_OPEN":case 3:t.state=3;break;case"STATE_CLOSED":case 4:t.state=4}switch(e.ordering){case"ORDER_NONE_UNSPECIFIED":case 0:t.ordering=0;break;case"ORDER_UNORDERED":case 1:t.ordering=1;break;case"ORDER_ORDERED":case 2:t.ordering=2}if(null!=e.counterparty){if("object"!=typeof e.counterparty)throw TypeError(".ibc.core.channel.v1.Channel.counterparty: object expected");t.counterparty=a.ibc.core.channel.v1.Counterparty.fromObject(e.counterparty)}if(e.connectionHops){if(!Array.isArray(e.connectionHops))throw TypeError(".ibc.core.channel.v1.Channel.connectionHops: array expected");t.connectionHops=[];for(var r=0;r>>3){case 1:n.state=e.int32();break;case 2:n.ordering=e.int32();break;case 3:n.counterparty=a.ibc.core.channel.v1.Counterparty.decode(e,e.uint32());break;case 4:n.connectionHops&&n.connectionHops.length||(n.connectionHops=[]),n.connectionHops.push(e.string());break;case 5:n.version=e.string();break;case 6:n.portId=e.string();break;case 7:n.channelId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.IdentifiedChannel)return e;var t=new a.ibc.core.channel.v1.IdentifiedChannel;switch(e.state){case"STATE_UNINITIALIZED_UNSPECIFIED":case 0:t.state=0;break;case"STATE_INIT":case 1:t.state=1;break;case"STATE_TRYOPEN":case 2:t.state=2;break;case"STATE_OPEN":case 3:t.state=3;break;case"STATE_CLOSED":case 4:t.state=4}switch(e.ordering){case"ORDER_NONE_UNSPECIFIED":case 0:t.ordering=0;break;case"ORDER_UNORDERED":case 1:t.ordering=1;break;case"ORDER_ORDERED":case 2:t.ordering=2}if(null!=e.counterparty){if("object"!=typeof e.counterparty)throw TypeError(".ibc.core.channel.v1.IdentifiedChannel.counterparty: object expected");t.counterparty=a.ibc.core.channel.v1.Counterparty.fromObject(e.counterparty)}if(e.connectionHops){if(!Array.isArray(e.connectionHops))throw TypeError(".ibc.core.channel.v1.IdentifiedChannel.connectionHops: array expected");t.connectionHops=[];for(var r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.Counterparty)return e;var t=new a.ibc.core.channel.v1.Counterparty;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.portId="",r.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Packet=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.sequence=e.uint64();break;case 2:n.sourcePort=e.string();break;case 3:n.sourceChannel=e.string();break;case 4:n.destinationPort=e.string();break;case 5:n.destinationChannel=e.string();break;case 6:n.data=e.bytes();break;case 7:n.timeoutHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;case 8:n.timeoutTimestamp=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.Packet)return e;var t=new a.ibc.core.channel.v1.Packet;if(null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),null!=e.sourcePort&&(t.sourcePort=String(e.sourcePort)),null!=e.sourceChannel&&(t.sourceChannel=String(e.sourceChannel)),null!=e.destinationPort&&(t.destinationPort=String(e.destinationPort)),null!=e.destinationChannel&&(t.destinationChannel=String(e.destinationChannel)),null!=e.data&&("string"==typeof e.data?s.base64.decode(e.data,t.data=s.newBuffer(s.base64.length(e.data)),0):e.data.length&&(t.data=e.data)),null!=e.timeoutHeight){if("object"!=typeof e.timeoutHeight)throw TypeError(".ibc.core.channel.v1.Packet.timeoutHeight: object expected");t.timeoutHeight=a.ibc.core.client.v1.Height.fromObject(e.timeoutHeight)}return null!=e.timeoutTimestamp&&(s.Long?(t.timeoutTimestamp=s.Long.fromValue(e.timeoutTimestamp)).unsigned=!0:"string"==typeof e.timeoutTimestamp?t.timeoutTimestamp=parseInt(e.timeoutTimestamp,10):"number"==typeof e.timeoutTimestamp?t.timeoutTimestamp=e.timeoutTimestamp:"object"==typeof e.timeoutTimestamp&&(t.timeoutTimestamp=new s.LongBits(e.timeoutTimestamp.low>>>0,e.timeoutTimestamp.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;if(r.sourcePort="",r.sourceChannel="",r.destinationPort="",r.destinationChannel="",t.bytes===String?r.data="":(r.data=[],t.bytes!==Array&&(r.data=s.newBuffer(r.data))),r.timeoutHeight=null,s.Long){n=new s.Long(0,0,!0);r.timeoutTimestamp=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.timeoutTimestamp=t.longs===String?"0":0}return null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),null!=e.sourcePort&&e.hasOwnProperty("sourcePort")&&(r.sourcePort=e.sourcePort),null!=e.sourceChannel&&e.hasOwnProperty("sourceChannel")&&(r.sourceChannel=e.sourceChannel),null!=e.destinationPort&&e.hasOwnProperty("destinationPort")&&(r.destinationPort=e.destinationPort),null!=e.destinationChannel&&e.hasOwnProperty("destinationChannel")&&(r.destinationChannel=e.destinationChannel),null!=e.data&&e.hasOwnProperty("data")&&(r.data=t.bytes===String?s.base64.encode(e.data,0,e.data.length):t.bytes===Array?Array.prototype.slice.call(e.data):e.data),null!=e.timeoutHeight&&e.hasOwnProperty("timeoutHeight")&&(r.timeoutHeight=a.ibc.core.client.v1.Height.toObject(e.timeoutHeight,t)),null!=e.timeoutTimestamp&&e.hasOwnProperty("timeoutTimestamp")&&("number"==typeof e.timeoutTimestamp?r.timeoutTimestamp=t.longs===String?String(e.timeoutTimestamp):e.timeoutTimestamp:r.timeoutTimestamp=t.longs===String?s.Long.prototype.toString.call(e.timeoutTimestamp):t.longs===Number?new s.LongBits(e.timeoutTimestamp.low>>>0,e.timeoutTimestamp.high>>>0).toNumber(!0):e.timeoutTimestamp),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PacketState=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.sequence=e.uint64();break;case 4:n.data=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.PacketState)return e;var t=new a.ibc.core.channel.v1.PacketState;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),null!=e.data&&("string"==typeof e.data?s.base64.decode(e.data,t.data=s.newBuffer(s.base64.length(e.data)),0):e.data.length&&(t.data=e.data)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.portId="",r.channelId="",s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;t.bytes===String?r.data="":(r.data=[],t.bytes!==Array&&(r.data=s.newBuffer(r.data)))}return null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),null!=e.data&&e.hasOwnProperty("data")&&(r.data=t.bytes===String?s.base64.encode(e.data,0,e.data.length):t.bytes===Array?Array.prototype.slice.call(e.data):e.data),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Acknowledgement=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 21:n.result=e.bytes();break;case 22:n.error=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.Acknowledgement)return e;var t=new a.ibc.core.channel.v1.Acknowledgement;return null!=e.result&&("string"==typeof e.result?s.base64.decode(e.result,t.result=s.newBuffer(s.base64.length(e.result)),0):e.result.length&&(t.result=e.result)),null!=e.error&&(t.error=String(e.error)),t},e.toObject=function(e,t){t||(t={});var r={};return null!=e.result&&e.hasOwnProperty("result")&&(r.result=t.bytes===String?s.base64.encode(e.result,0,e.result.length):t.bytes===Array?Array.prototype.slice.call(e.result):e.result,t.oneofs&&(r.response="result")),null!=e.error&&e.hasOwnProperty("error")&&(r.error=e.error,t.oneofs&&(r.response="error")),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Query=function(){function e(e,t,r){n.rpc.Service.call(this,e,t,r)}return(e.prototype=Object.create(n.rpc.Service.prototype)).constructor=e,e.create=function(e,t,r){return new this(e,t,r)},Object.defineProperty(e.prototype.channel=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryChannelRequest,a.ibc.core.channel.v1.QueryChannelResponse,t,r)},"name",{value:"Channel"}),Object.defineProperty(e.prototype.channels=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryChannelsRequest,a.ibc.core.channel.v1.QueryChannelsResponse,t,r)},"name",{value:"Channels"}),Object.defineProperty(e.prototype.connectionChannels=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryConnectionChannelsRequest,a.ibc.core.channel.v1.QueryConnectionChannelsResponse,t,r)},"name",{value:"ConnectionChannels"}),Object.defineProperty(e.prototype.channelClientState=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryChannelClientStateRequest,a.ibc.core.channel.v1.QueryChannelClientStateResponse,t,r)},"name",{value:"ChannelClientState"}),Object.defineProperty(e.prototype.channelConsensusState=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryChannelConsensusStateRequest,a.ibc.core.channel.v1.QueryChannelConsensusStateResponse,t,r)},"name",{value:"ChannelConsensusState"}),Object.defineProperty(e.prototype.packetCommitment=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryPacketCommitmentRequest,a.ibc.core.channel.v1.QueryPacketCommitmentResponse,t,r)},"name",{value:"PacketCommitment"}),Object.defineProperty(e.prototype.packetCommitments=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryPacketCommitmentsRequest,a.ibc.core.channel.v1.QueryPacketCommitmentsResponse,t,r)},"name",{value:"PacketCommitments"}),Object.defineProperty(e.prototype.packetReceipt=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryPacketReceiptRequest,a.ibc.core.channel.v1.QueryPacketReceiptResponse,t,r)},"name",{value:"PacketReceipt"}),Object.defineProperty(e.prototype.packetAcknowledgement=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryPacketAcknowledgementRequest,a.ibc.core.channel.v1.QueryPacketAcknowledgementResponse,t,r)},"name",{value:"PacketAcknowledgement"}),Object.defineProperty(e.prototype.packetAcknowledgements=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest,a.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse,t,r)},"name",{value:"PacketAcknowledgements"}),Object.defineProperty(e.prototype.unreceivedPackets=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryUnreceivedPacketsRequest,a.ibc.core.channel.v1.QueryUnreceivedPacketsResponse,t,r)},"name",{value:"UnreceivedPackets"}),Object.defineProperty(e.prototype.unreceivedAcks=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryUnreceivedAcksRequest,a.ibc.core.channel.v1.QueryUnreceivedAcksResponse,t,r)},"name",{value:"UnreceivedAcks"}),Object.defineProperty(e.prototype.nextSequenceReceive=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryNextSequenceReceiveRequest,a.ibc.core.channel.v1.QueryNextSequenceReceiveResponse,t,r)},"name",{value:"NextSequenceReceive"}),e}(),e.QueryChannelRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelRequest)return e;var t=new a.ibc.core.channel.v1.QueryChannelRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.portId="",r.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryChannelResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.channel=a.ibc.core.channel.v1.Channel.decode(e,e.uint32());break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelResponse)return e;var t=new a.ibc.core.channel.v1.QueryChannelResponse;if(null!=e.channel){if("object"!=typeof e.channel)throw TypeError(".ibc.core.channel.v1.QueryChannelResponse.channel: object expected");t.channel=a.ibc.core.channel.v1.Channel.fromObject(e.channel)}if(null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryChannelResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.channel=null,t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.channel&&e.hasOwnProperty("channel")&&(r.channel=a.ibc.core.channel.v1.Channel.toObject(e.channel,t)),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryChannelsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.pagination=a.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelsRequest)return e;var t=new a.ibc.core.channel.v1.QueryChannelsRequest;if(null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.channel.v1.QueryChannelsRequest.pagination: object expected");t.pagination=a.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.pagination=null),null!=e.pagination&&e.hasOwnProperty("pagination")&&(r.pagination=a.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryChannelsResponse=function(){function e(e){if(this.channels=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.channels&&n.channels.length||(n.channels=[]),n.channels.push(a.ibc.core.channel.v1.IdentifiedChannel.decode(e,e.uint32()));break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:n.height=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelsResponse)return e;var t=new a.ibc.core.channel.v1.QueryChannelsResponse;if(e.channels){if(!Array.isArray(e.channels))throw TypeError(".ibc.core.channel.v1.QueryChannelsResponse.channels: array expected");t.channels=[];for(var r=0;r>>3){case 1:n.connection=e.string();break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryConnectionChannelsRequest)return e;var t=new a.ibc.core.channel.v1.QueryConnectionChannelsRequest;if(null!=e.connection&&(t.connection=String(e.connection)),null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.channel.v1.QueryConnectionChannelsRequest.pagination: object expected");t.pagination=a.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.connection="",r.pagination=null),null!=e.connection&&e.hasOwnProperty("connection")&&(r.connection=e.connection),null!=e.pagination&&e.hasOwnProperty("pagination")&&(r.pagination=a.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionChannelsResponse=function(){function e(e){if(this.channels=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.channels&&n.channels.length||(n.channels=[]),n.channels.push(a.ibc.core.channel.v1.IdentifiedChannel.decode(e,e.uint32()));break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:n.height=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryConnectionChannelsResponse)return e;var t=new a.ibc.core.channel.v1.QueryConnectionChannelsResponse;if(e.channels){if(!Array.isArray(e.channels))throw TypeError(".ibc.core.channel.v1.QueryConnectionChannelsResponse.channels: array expected");t.channels=[];for(var r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelClientStateRequest)return e;var t=new a.ibc.core.channel.v1.QueryChannelClientStateRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.portId="",r.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryChannelClientStateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.identifiedClientState=a.ibc.core.client.v1.IdentifiedClientState.decode(e,e.uint32());break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelClientStateResponse)return e;var t=new a.ibc.core.channel.v1.QueryChannelClientStateResponse;if(null!=e.identifiedClientState){if("object"!=typeof e.identifiedClientState)throw TypeError(".ibc.core.channel.v1.QueryChannelClientStateResponse.identifiedClientState: object expected");t.identifiedClientState=a.ibc.core.client.v1.IdentifiedClientState.fromObject(e.identifiedClientState)}if(null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryChannelClientStateResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.identifiedClientState=null,t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.identifiedClientState&&e.hasOwnProperty("identifiedClientState")&&(r.identifiedClientState=a.ibc.core.client.v1.IdentifiedClientState.toObject(e.identifiedClientState,t)),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryChannelConsensusStateRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.versionNumber=e.uint64();break;case 4:n.versionHeight=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelConsensusStateRequest)return e;var t=new a.ibc.core.channel.v1.QueryChannelConsensusStateRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.versionNumber&&(s.Long?(t.versionNumber=s.Long.fromValue(e.versionNumber)).unsigned=!0:"string"==typeof e.versionNumber?t.versionNumber=parseInt(e.versionNumber,10):"number"==typeof e.versionNumber?t.versionNumber=e.versionNumber:"object"==typeof e.versionNumber&&(t.versionNumber=new s.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0))),null!=e.versionHeight&&(s.Long?(t.versionHeight=s.Long.fromValue(e.versionHeight)).unsigned=!0:"string"==typeof e.versionHeight?t.versionHeight=parseInt(e.versionHeight,10):"number"==typeof e.versionHeight?t.versionHeight=e.versionHeight:"object"==typeof e.versionHeight&&(t.versionHeight=new s.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.portId="",r.channelId="",s.Long){var n=new s.Long(0,0,!0);r.versionNumber=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.versionNumber=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.versionHeight=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.versionHeight=t.longs===String?"0":0}return null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.versionNumber&&e.hasOwnProperty("versionNumber")&&("number"==typeof e.versionNumber?r.versionNumber=t.longs===String?String(e.versionNumber):e.versionNumber:r.versionNumber=t.longs===String?s.Long.prototype.toString.call(e.versionNumber):t.longs===Number?new s.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0):e.versionNumber),null!=e.versionHeight&&e.hasOwnProperty("versionHeight")&&("number"==typeof e.versionHeight?r.versionHeight=t.longs===String?String(e.versionHeight):e.versionHeight:r.versionHeight=t.longs===String?s.Long.prototype.toString.call(e.versionHeight):t.longs===Number?new s.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0):e.versionHeight),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryChannelConsensusStateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.consensusState=a.google.protobuf.Any.decode(e,e.uint32());break;case 2:n.clientId=e.string();break;case 3:n.proof=e.bytes();break;case 4:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelConsensusStateResponse)return e;var t=new a.ibc.core.channel.v1.QueryChannelConsensusStateResponse;if(null!=e.consensusState){if("object"!=typeof e.consensusState)throw TypeError(".ibc.core.channel.v1.QueryChannelConsensusStateResponse.consensusState: object expected");t.consensusState=a.google.protobuf.Any.fromObject(e.consensusState)}if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryChannelConsensusStateResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.consensusState=null,r.clientId="",t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.consensusState&&e.hasOwnProperty("consensusState")&&(r.consensusState=a.google.protobuf.Any.toObject(e.consensusState,t)),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketCommitmentRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.sequence=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketCommitmentRequest)return e;var t=new a.ibc.core.channel.v1.QueryPacketCommitmentRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.portId="",r.channelId="",s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;return null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketCommitmentResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.commitment=e.bytes();break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketCommitmentResponse)return e;var t=new a.ibc.core.channel.v1.QueryPacketCommitmentResponse;if(null!=e.commitment&&("string"==typeof e.commitment?s.base64.decode(e.commitment,t.commitment=s.newBuffer(s.base64.length(e.commitment)),0):e.commitment.length&&(t.commitment=e.commitment)),null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryPacketCommitmentResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.commitment="":(r.commitment=[],t.bytes!==Array&&(r.commitment=s.newBuffer(r.commitment))),t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.commitment&&e.hasOwnProperty("commitment")&&(r.commitment=t.bytes===String?s.base64.encode(e.commitment,0,e.commitment.length):t.bytes===Array?Array.prototype.slice.call(e.commitment):e.commitment),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketCommitmentsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.pagination=a.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketCommitmentsRequest)return e;var t=new a.ibc.core.channel.v1.QueryPacketCommitmentsRequest;if(null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.channel.v1.QueryPacketCommitmentsRequest.pagination: object expected");t.pagination=a.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.portId="",r.channelId="",r.pagination=null),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.pagination&&e.hasOwnProperty("pagination")&&(r.pagination=a.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketCommitmentsResponse=function(){function e(e){if(this.commitments=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.commitments&&n.commitments.length||(n.commitments=[]),n.commitments.push(a.ibc.core.channel.v1.PacketState.decode(e,e.uint32()));break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:n.height=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketCommitmentsResponse)return e;var t=new a.ibc.core.channel.v1.QueryPacketCommitmentsResponse;if(e.commitments){if(!Array.isArray(e.commitments))throw TypeError(".ibc.core.channel.v1.QueryPacketCommitmentsResponse.commitments: array expected");t.commitments=[];for(var r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.sequence=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketReceiptRequest)return e;var t=new a.ibc.core.channel.v1.QueryPacketReceiptRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.portId="",r.channelId="",s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;return null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketReceiptResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 2:n.received=e.bool();break;case 3:n.proof=e.bytes();break;case 4:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketReceiptResponse)return e;var t=new a.ibc.core.channel.v1.QueryPacketReceiptResponse;if(null!=e.received&&(t.received=Boolean(e.received)),null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryPacketReceiptResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.received=!1,t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.received&&e.hasOwnProperty("received")&&(r.received=e.received),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketAcknowledgementRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.sequence=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketAcknowledgementRequest)return e;var t=new a.ibc.core.channel.v1.QueryPacketAcknowledgementRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.portId="",r.channelId="",s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;return null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketAcknowledgementResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.acknowledgement=e.bytes();break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketAcknowledgementResponse)return e;var t=new a.ibc.core.channel.v1.QueryPacketAcknowledgementResponse;if(null!=e.acknowledgement&&("string"==typeof e.acknowledgement?s.base64.decode(e.acknowledgement,t.acknowledgement=s.newBuffer(s.base64.length(e.acknowledgement)),0):e.acknowledgement.length&&(t.acknowledgement=e.acknowledgement)),null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryPacketAcknowledgementResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.acknowledgement="":(r.acknowledgement=[],t.bytes!==Array&&(r.acknowledgement=s.newBuffer(r.acknowledgement))),t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.acknowledgement&&e.hasOwnProperty("acknowledgement")&&(r.acknowledgement=t.bytes===String?s.base64.encode(e.acknowledgement,0,e.acknowledgement.length):t.bytes===Array?Array.prototype.slice.call(e.acknowledgement):e.acknowledgement),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketAcknowledgementsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.pagination=a.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest)return e;var t=new a.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest;if(null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.channel.v1.QueryPacketAcknowledgementsRequest.pagination: object expected");t.pagination=a.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.portId="",r.channelId="",r.pagination=null),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.pagination&&e.hasOwnProperty("pagination")&&(r.pagination=a.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketAcknowledgementsResponse=function(){function e(e){if(this.acknowledgements=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.acknowledgements&&n.acknowledgements.length||(n.acknowledgements=[]),n.acknowledgements.push(a.ibc.core.channel.v1.PacketState.decode(e,e.uint32()));break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:n.height=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse)return e;var t=new a.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse;if(e.acknowledgements){if(!Array.isArray(e.acknowledgements))throw TypeError(".ibc.core.channel.v1.QueryPacketAcknowledgementsResponse.acknowledgements: array expected");t.acknowledgements=[];for(var r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:if(n.packetCommitmentSequences&&n.packetCommitmentSequences.length||(n.packetCommitmentSequences=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>0,e.packetCommitmentSequences[r].high>>>0).toNumber(!0))}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.packetCommitmentSequences=[]),t.defaults&&(r.portId="",r.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),e.packetCommitmentSequences&&e.packetCommitmentSequences.length){r.packetCommitmentSequences=[];for(var n=0;n>>0,e.packetCommitmentSequences[n].high>>>0).toNumber(!0):e.packetCommitmentSequences[n]}return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryUnreceivedPacketsResponse=function(){function e(e){if(this.sequences=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:if(n.sequences&&n.sequences.length||(n.sequences=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>0,e.sequences[r].high>>>0).toNumber(!0))}if(null!=e.height){if("object"!=typeof e.height)throw TypeError(".ibc.core.channel.v1.QueryUnreceivedPacketsResponse.height: object expected");t.height=a.ibc.core.client.v1.Height.fromObject(e.height)}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.sequences=[]),t.defaults&&(r.height=null),e.sequences&&e.sequences.length){r.sequences=[];for(var n=0;n>>0,e.sequences[n].high>>>0).toNumber(!0):e.sequences[n]}return null!=e.height&&e.hasOwnProperty("height")&&(r.height=a.ibc.core.client.v1.Height.toObject(e.height,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryUnreceivedAcksRequest=function(){function e(e){if(this.packetAckSequences=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:if(n.packetAckSequences&&n.packetAckSequences.length||(n.packetAckSequences=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>0,e.packetAckSequences[r].high>>>0).toNumber(!0))}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.packetAckSequences=[]),t.defaults&&(r.portId="",r.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),e.packetAckSequences&&e.packetAckSequences.length){r.packetAckSequences=[];for(var n=0;n>>0,e.packetAckSequences[n].high>>>0).toNumber(!0):e.packetAckSequences[n]}return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryUnreceivedAcksResponse=function(){function e(e){if(this.sequences=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:if(n.sequences&&n.sequences.length||(n.sequences=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>0,e.sequences[r].high>>>0).toNumber(!0))}if(null!=e.height){if("object"!=typeof e.height)throw TypeError(".ibc.core.channel.v1.QueryUnreceivedAcksResponse.height: object expected");t.height=a.ibc.core.client.v1.Height.fromObject(e.height)}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.sequences=[]),t.defaults&&(r.height=null),e.sequences&&e.sequences.length){r.sequences=[];for(var n=0;n>>0,e.sequences[n].high>>>0).toNumber(!0):e.sequences[n]}return null!=e.height&&e.hasOwnProperty("height")&&(r.height=a.ibc.core.client.v1.Height.toObject(e.height,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryNextSequenceReceiveRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryNextSequenceReceiveRequest)return e;var t=new a.ibc.core.channel.v1.QueryNextSequenceReceiveRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.portId="",r.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryNextSequenceReceiveResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.nextSequenceReceive=e.uint64();break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryNextSequenceReceiveResponse)return e;var t=new a.ibc.core.channel.v1.QueryNextSequenceReceiveResponse;if(null!=e.nextSequenceReceive&&(s.Long?(t.nextSequenceReceive=s.Long.fromValue(e.nextSequenceReceive)).unsigned=!0:"string"==typeof e.nextSequenceReceive?t.nextSequenceReceive=parseInt(e.nextSequenceReceive,10):"number"==typeof e.nextSequenceReceive?t.nextSequenceReceive=e.nextSequenceReceive:"object"==typeof e.nextSequenceReceive&&(t.nextSequenceReceive=new s.LongBits(e.nextSequenceReceive.low>>>0,e.nextSequenceReceive.high>>>0).toNumber(!0))),null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryNextSequenceReceiveResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.nextSequenceReceive=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.nextSequenceReceive=t.longs===String?"0":0;t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null}return null!=e.nextSequenceReceive&&e.hasOwnProperty("nextSequenceReceive")&&("number"==typeof e.nextSequenceReceive?r.nextSequenceReceive=t.longs===String?String(e.nextSequenceReceive):e.nextSequenceReceive:r.nextSequenceReceive=t.longs===String?s.Long.prototype.toString.call(e.nextSequenceReceive):t.longs===Number?new s.LongBits(e.nextSequenceReceive.low>>>0,e.nextSequenceReceive.high>>>0).toNumber(!0):e.nextSequenceReceive),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.client=function(){const e={};return e.v1=function(){const e={};return e.Msg=function(){function e(e,t,r){n.rpc.Service.call(this,e,t,r)}return(e.prototype=Object.create(n.rpc.Service.prototype)).constructor=e,e.create=function(e,t,r){return new this(e,t,r)},Object.defineProperty(e.prototype.createClient=function e(t,r){return this.rpcCall(e,a.ibc.core.client.v1.MsgCreateClient,a.ibc.core.client.v1.MsgCreateClientResponse,t,r)},"name",{value:"CreateClient"}),Object.defineProperty(e.prototype.updateClient=function e(t,r){return this.rpcCall(e,a.ibc.core.client.v1.MsgUpdateClient,a.ibc.core.client.v1.MsgUpdateClientResponse,t,r)},"name",{value:"UpdateClient"}),Object.defineProperty(e.prototype.upgradeClient=function e(t,r){return this.rpcCall(e,a.ibc.core.client.v1.MsgUpgradeClient,a.ibc.core.client.v1.MsgUpgradeClientResponse,t,r)},"name",{value:"UpgradeClient"}),Object.defineProperty(e.prototype.submitMisbehaviour=function e(t,r){return this.rpcCall(e,a.ibc.core.client.v1.MsgSubmitMisbehaviour,a.ibc.core.client.v1.MsgSubmitMisbehaviourResponse,t,r)},"name",{value:"SubmitMisbehaviour"}),e}(),e.MsgCreateClient=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.clientState=a.google.protobuf.Any.decode(e,e.uint32());break;case 3:n.consensusState=a.google.protobuf.Any.decode(e,e.uint32());break;case 4:n.signer=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.MsgCreateClient)return e;var t=new a.ibc.core.client.v1.MsgCreateClient;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.clientState){if("object"!=typeof e.clientState)throw TypeError(".ibc.core.client.v1.MsgCreateClient.clientState: object expected");t.clientState=a.google.protobuf.Any.fromObject(e.clientState)}if(null!=e.consensusState){if("object"!=typeof e.consensusState)throw TypeError(".ibc.core.client.v1.MsgCreateClient.consensusState: object expected");t.consensusState=a.google.protobuf.Any.fromObject(e.consensusState)}return null!=e.signer&&(t.signer=String(e.signer)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId="",r.clientState=null,r.consensusState=null,r.signer=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.clientState&&e.hasOwnProperty("clientState")&&(r.clientState=a.google.protobuf.Any.toObject(e.clientState,t)),null!=e.consensusState&&e.hasOwnProperty("consensusState")&&(r.consensusState=a.google.protobuf.Any.toObject(e.consensusState,t)),null!=e.signer&&e.hasOwnProperty("signer")&&(r.signer=e.signer),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgCreateClientResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.header=a.google.protobuf.Any.decode(e,e.uint32());break;case 3:n.signer=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.MsgUpdateClient)return e;var t=new a.ibc.core.client.v1.MsgUpdateClient;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.header){if("object"!=typeof e.header)throw TypeError(".ibc.core.client.v1.MsgUpdateClient.header: object expected");t.header=a.google.protobuf.Any.fromObject(e.header)}return null!=e.signer&&(t.signer=String(e.signer)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId="",r.header=null,r.signer=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.header&&e.hasOwnProperty("header")&&(r.header=a.google.protobuf.Any.toObject(e.header,t)),null!=e.signer&&e.hasOwnProperty("signer")&&(r.signer=e.signer),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgUpdateClientResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.clientState=a.google.protobuf.Any.decode(e,e.uint32());break;case 3:n.upgradeHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;case 4:n.proofUpgrade=e.bytes();break;case 5:n.signer=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.MsgUpgradeClient)return e;var t=new a.ibc.core.client.v1.MsgUpgradeClient;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.clientState){if("object"!=typeof e.clientState)throw TypeError(".ibc.core.client.v1.MsgUpgradeClient.clientState: object expected");t.clientState=a.google.protobuf.Any.fromObject(e.clientState)}if(null!=e.upgradeHeight){if("object"!=typeof e.upgradeHeight)throw TypeError(".ibc.core.client.v1.MsgUpgradeClient.upgradeHeight: object expected");t.upgradeHeight=a.ibc.core.client.v1.Height.fromObject(e.upgradeHeight)}return null!=e.proofUpgrade&&("string"==typeof e.proofUpgrade?s.base64.decode(e.proofUpgrade,t.proofUpgrade=s.newBuffer(s.base64.length(e.proofUpgrade)),0):e.proofUpgrade.length&&(t.proofUpgrade=e.proofUpgrade)),null!=e.signer&&(t.signer=String(e.signer)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId="",r.clientState=null,r.upgradeHeight=null,t.bytes===String?r.proofUpgrade="":(r.proofUpgrade=[],t.bytes!==Array&&(r.proofUpgrade=s.newBuffer(r.proofUpgrade))),r.signer=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.clientState&&e.hasOwnProperty("clientState")&&(r.clientState=a.google.protobuf.Any.toObject(e.clientState,t)),null!=e.upgradeHeight&&e.hasOwnProperty("upgradeHeight")&&(r.upgradeHeight=a.ibc.core.client.v1.Height.toObject(e.upgradeHeight,t)),null!=e.proofUpgrade&&e.hasOwnProperty("proofUpgrade")&&(r.proofUpgrade=t.bytes===String?s.base64.encode(e.proofUpgrade,0,e.proofUpgrade.length):t.bytes===Array?Array.prototype.slice.call(e.proofUpgrade):e.proofUpgrade),null!=e.signer&&e.hasOwnProperty("signer")&&(r.signer=e.signer),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgUpgradeClientResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.misbehaviour=a.google.protobuf.Any.decode(e,e.uint32());break;case 3:n.signer=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.MsgSubmitMisbehaviour)return e;var t=new a.ibc.core.client.v1.MsgSubmitMisbehaviour;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.misbehaviour){if("object"!=typeof e.misbehaviour)throw TypeError(".ibc.core.client.v1.MsgSubmitMisbehaviour.misbehaviour: object expected");t.misbehaviour=a.google.protobuf.Any.fromObject(e.misbehaviour)}return null!=e.signer&&(t.signer=String(e.signer)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId="",r.misbehaviour=null,r.signer=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.misbehaviour&&e.hasOwnProperty("misbehaviour")&&(r.misbehaviour=a.google.protobuf.Any.toObject(e.misbehaviour,t)),null!=e.signer&&e.hasOwnProperty("signer")&&(r.signer=e.signer),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgSubmitMisbehaviourResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.clientState=a.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.IdentifiedClientState)return e;var t=new a.ibc.core.client.v1.IdentifiedClientState;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.clientState){if("object"!=typeof e.clientState)throw TypeError(".ibc.core.client.v1.IdentifiedClientState.clientState: object expected");t.clientState=a.google.protobuf.Any.fromObject(e.clientState)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId="",r.clientState=null),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.clientState&&e.hasOwnProperty("clientState")&&(r.clientState=a.google.protobuf.Any.toObject(e.clientState,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ConsensusStateWithHeight=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.height=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;case 2:n.consensusState=a.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.ConsensusStateWithHeight)return e;var t=new a.ibc.core.client.v1.ConsensusStateWithHeight;if(null!=e.height){if("object"!=typeof e.height)throw TypeError(".ibc.core.client.v1.ConsensusStateWithHeight.height: object expected");t.height=a.ibc.core.client.v1.Height.fromObject(e.height)}if(null!=e.consensusState){if("object"!=typeof e.consensusState)throw TypeError(".ibc.core.client.v1.ConsensusStateWithHeight.consensusState: object expected");t.consensusState=a.google.protobuf.Any.fromObject(e.consensusState)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.height=null,r.consensusState=null),null!=e.height&&e.hasOwnProperty("height")&&(r.height=a.ibc.core.client.v1.Height.toObject(e.height,t)),null!=e.consensusState&&e.hasOwnProperty("consensusState")&&(r.consensusState=a.google.protobuf.Any.toObject(e.consensusState,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ClientConsensusStates=function(){function e(e){if(this.consensusStates=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.consensusStates&&n.consensusStates.length||(n.consensusStates=[]),n.consensusStates.push(a.ibc.core.client.v1.ConsensusStateWithHeight.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.ClientConsensusStates)return e;var t=new a.ibc.core.client.v1.ClientConsensusStates;if(null!=e.clientId&&(t.clientId=String(e.clientId)),e.consensusStates){if(!Array.isArray(e.consensusStates))throw TypeError(".ibc.core.client.v1.ClientConsensusStates.consensusStates: array expected");t.consensusStates=[];for(var r=0;r>>3){case 1:n.title=e.string();break;case 2:n.description=e.string();break;case 3:n.clientId=e.string();break;case 4:n.header=a.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.ClientUpdateProposal)return e;var t=new a.ibc.core.client.v1.ClientUpdateProposal;if(null!=e.title&&(t.title=String(e.title)),null!=e.description&&(t.description=String(e.description)),null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.header){if("object"!=typeof e.header)throw TypeError(".ibc.core.client.v1.ClientUpdateProposal.header: object expected");t.header=a.google.protobuf.Any.fromObject(e.header)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.title="",r.description="",r.clientId="",r.header=null),null!=e.title&&e.hasOwnProperty("title")&&(r.title=e.title),null!=e.description&&e.hasOwnProperty("description")&&(r.description=e.description),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.header&&e.hasOwnProperty("header")&&(r.header=a.google.protobuf.Any.toObject(e.header,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Height=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.versionNumber=e.uint64();break;case 2:n.versionHeight=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.Height)return e;var t=new a.ibc.core.client.v1.Height;return null!=e.versionNumber&&(s.Long?(t.versionNumber=s.Long.fromValue(e.versionNumber)).unsigned=!0:"string"==typeof e.versionNumber?t.versionNumber=parseInt(e.versionNumber,10):"number"==typeof e.versionNumber?t.versionNumber=e.versionNumber:"object"==typeof e.versionNumber&&(t.versionNumber=new s.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0))),null!=e.versionHeight&&(s.Long?(t.versionHeight=s.Long.fromValue(e.versionHeight)).unsigned=!0:"string"==typeof e.versionHeight?t.versionHeight=parseInt(e.versionHeight,10):"number"==typeof e.versionHeight?t.versionHeight=e.versionHeight:"object"==typeof e.versionHeight&&(t.versionHeight=new s.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.versionNumber=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.versionNumber=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.versionHeight=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.versionHeight=t.longs===String?"0":0}return null!=e.versionNumber&&e.hasOwnProperty("versionNumber")&&("number"==typeof e.versionNumber?r.versionNumber=t.longs===String?String(e.versionNumber):e.versionNumber:r.versionNumber=t.longs===String?s.Long.prototype.toString.call(e.versionNumber):t.longs===Number?new s.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0):e.versionNumber),null!=e.versionHeight&&e.hasOwnProperty("versionHeight")&&("number"==typeof e.versionHeight?r.versionHeight=t.longs===String?String(e.versionHeight):e.versionHeight:r.versionHeight=t.longs===String?s.Long.prototype.toString.call(e.versionHeight):t.longs===Number?new s.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0):e.versionHeight),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.commitment=function(){const e={};return e.v1=function(){const e={};return e.MerkleRoot=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.hash=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.commitment.v1.MerkleRoot)return e;var t=new a.ibc.core.commitment.v1.MerkleRoot;return null!=e.hash&&("string"==typeof e.hash?s.base64.decode(e.hash,t.hash=s.newBuffer(s.base64.length(e.hash)),0):e.hash.length&&(t.hash=e.hash)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.hash="":(r.hash=[],t.bytes!==Array&&(r.hash=s.newBuffer(r.hash)))),null!=e.hash&&e.hasOwnProperty("hash")&&(r.hash=t.bytes===String?s.base64.encode(e.hash,0,e.hash.length):t.bytes===Array?Array.prototype.slice.call(e.hash):e.hash),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MerklePrefix=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyPrefix=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.commitment.v1.MerklePrefix)return e;var t=new a.ibc.core.commitment.v1.MerklePrefix;return null!=e.keyPrefix&&("string"==typeof e.keyPrefix?s.base64.decode(e.keyPrefix,t.keyPrefix=s.newBuffer(s.base64.length(e.keyPrefix)),0):e.keyPrefix.length&&(t.keyPrefix=e.keyPrefix)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.keyPrefix="":(r.keyPrefix=[],t.bytes!==Array&&(r.keyPrefix=s.newBuffer(r.keyPrefix)))),null!=e.keyPrefix&&e.hasOwnProperty("keyPrefix")&&(r.keyPrefix=t.bytes===String?s.base64.encode(e.keyPrefix,0,e.keyPrefix.length):t.bytes===Array?Array.prototype.slice.call(e.keyPrefix):e.keyPrefix),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MerklePath=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyPath=a.ibc.core.commitment.v1.KeyPath.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.commitment.v1.MerklePath)return e;var t=new a.ibc.core.commitment.v1.MerklePath;if(null!=e.keyPath){if("object"!=typeof e.keyPath)throw TypeError(".ibc.core.commitment.v1.MerklePath.keyPath: object expected");t.keyPath=a.ibc.core.commitment.v1.KeyPath.fromObject(e.keyPath)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyPath=null),null!=e.keyPath&&e.hasOwnProperty("keyPath")&&(r.keyPath=a.ibc.core.commitment.v1.KeyPath.toObject(e.keyPath,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MerkleProof=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.proof=a.tendermint.crypto.ProofOps.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.commitment.v1.MerkleProof)return e;var t=new a.ibc.core.commitment.v1.MerkleProof;if(null!=e.proof){if("object"!=typeof e.proof)throw TypeError(".ibc.core.commitment.v1.MerkleProof.proof: object expected");t.proof=a.tendermint.crypto.ProofOps.fromObject(e.proof)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.proof=null),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=a.tendermint.crypto.ProofOps.toObject(e.proof,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.KeyPath=function(){function e(e){if(this.keys=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keys&&n.keys.length||(n.keys=[]),n.keys.push(a.ibc.core.commitment.v1.Key.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.commitment.v1.KeyPath)return e;var t=new a.ibc.core.commitment.v1.KeyPath;if(e.keys){if(!Array.isArray(e.keys))throw TypeError(".ibc.core.commitment.v1.KeyPath.keys: array expected");t.keys=[];for(var r=0;r>>3){case 1:n.name=e.bytes();break;case 2:n.enc=e.int32();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.commitment.v1.Key)return e;var t=new a.ibc.core.commitment.v1.Key;switch(null!=e.name&&("string"==typeof e.name?s.base64.decode(e.name,t.name=s.newBuffer(s.base64.length(e.name)),0):e.name.length&&(t.name=e.name)),e.enc){case"KEY_ENCODING_URL_UNSPECIFIED":case 0:t.enc=0;break;case"KEY_ENCODING_HEX":case 1:t.enc=1}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.name="":(r.name=[],t.bytes!==Array&&(r.name=s.newBuffer(r.name))),r.enc=t.enums===String?"KEY_ENCODING_URL_UNSPECIFIED":0),null!=e.name&&e.hasOwnProperty("name")&&(r.name=t.bytes===String?s.base64.encode(e.name,0,e.name.length):t.bytes===Array?Array.prototype.slice.call(e.name):e.name),null!=e.enc&&e.hasOwnProperty("enc")&&(r.enc=t.enums===String?a.ibc.core.commitment.v1.KeyEncoding[e.enc]:e.enc),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.KeyEncoding=function(){const e={},t=Object.create(e);return t[e[0]="KEY_ENCODING_URL_UNSPECIFIED"]=0,t[e[1]="KEY_ENCODING_HEX"]=1,t}(),e}(),e}(),e.connection=function(){const e={};return e.v1=function(){const e={};return e.ConnectionEnd=function(){function e(e){if(this.versions=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.versions&&n.versions.length||(n.versions=[]),n.versions.push(a.ibc.core.connection.v1.Version.decode(e,e.uint32()));break;case 3:n.state=e.int32();break;case 4:n.counterparty=a.ibc.core.connection.v1.Counterparty.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.ConnectionEnd)return e;var t=new a.ibc.core.connection.v1.ConnectionEnd;if(null!=e.clientId&&(t.clientId=String(e.clientId)),e.versions){if(!Array.isArray(e.versions))throw TypeError(".ibc.core.connection.v1.ConnectionEnd.versions: array expected");t.versions=[];for(var r=0;r>>3){case 1:n.id=e.string();break;case 2:n.clientId=e.string();break;case 3:n.versions&&n.versions.length||(n.versions=[]),n.versions.push(a.ibc.core.connection.v1.Version.decode(e,e.uint32()));break;case 4:n.state=e.int32();break;case 5:n.counterparty=a.ibc.core.connection.v1.Counterparty.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.IdentifiedConnection)return e;var t=new a.ibc.core.connection.v1.IdentifiedConnection;if(null!=e.id&&(t.id=String(e.id)),null!=e.clientId&&(t.clientId=String(e.clientId)),e.versions){if(!Array.isArray(e.versions))throw TypeError(".ibc.core.connection.v1.IdentifiedConnection.versions: array expected");t.versions=[];for(var r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.connectionId=e.string();break;case 3:n.prefix=a.ibc.core.commitment.v1.MerklePrefix.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.Counterparty)return e;var t=new a.ibc.core.connection.v1.Counterparty;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.connectionId&&(t.connectionId=String(e.connectionId)),null!=e.prefix){if("object"!=typeof e.prefix)throw TypeError(".ibc.core.connection.v1.Counterparty.prefix: object expected");t.prefix=a.ibc.core.commitment.v1.MerklePrefix.fromObject(e.prefix)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId="",r.connectionId="",r.prefix=null),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.connectionId&&e.hasOwnProperty("connectionId")&&(r.connectionId=e.connectionId),null!=e.prefix&&e.hasOwnProperty("prefix")&&(r.prefix=a.ibc.core.commitment.v1.MerklePrefix.toObject(e.prefix,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ClientPaths=function(){function e(e){if(this.paths=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.paths&&n.paths.length||(n.paths=[]),n.paths.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.ClientPaths)return e;var t=new a.ibc.core.connection.v1.ClientPaths;if(e.paths){if(!Array.isArray(e.paths))throw TypeError(".ibc.core.connection.v1.ClientPaths.paths: array expected");t.paths=[];for(var r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.paths&&n.paths.length||(n.paths=[]),n.paths.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.ConnectionPaths)return e;var t=new a.ibc.core.connection.v1.ConnectionPaths;if(null!=e.clientId&&(t.clientId=String(e.clientId)),e.paths){if(!Array.isArray(e.paths))throw TypeError(".ibc.core.connection.v1.ConnectionPaths.paths: array expected");t.paths=[];for(var r=0;r>>3){case 1:n.identifier=e.string();break;case 2:n.features&&n.features.length||(n.features=[]),n.features.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.Version)return e;var t=new a.ibc.core.connection.v1.Version;if(null!=e.identifier&&(t.identifier=String(e.identifier)),e.features){if(!Array.isArray(e.features))throw TypeError(".ibc.core.connection.v1.Version.features: array expected");t.features=[];for(var r=0;r>>3){case 1:n.connectionId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionRequest)return e;var t=new a.ibc.core.connection.v1.QueryConnectionRequest;return null!=e.connectionId&&(t.connectionId=String(e.connectionId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.connectionId=""),null!=e.connectionId&&e.hasOwnProperty("connectionId")&&(r.connectionId=e.connectionId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.connection=a.ibc.core.connection.v1.ConnectionEnd.decode(e,e.uint32());break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionResponse)return e;var t=new a.ibc.core.connection.v1.QueryConnectionResponse;if(null!=e.connection){if("object"!=typeof e.connection)throw TypeError(".ibc.core.connection.v1.QueryConnectionResponse.connection: object expected");t.connection=a.ibc.core.connection.v1.ConnectionEnd.fromObject(e.connection)}if(null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.connection.v1.QueryConnectionResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.connection=null,t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.connection&&e.hasOwnProperty("connection")&&(r.connection=a.ibc.core.connection.v1.ConnectionEnd.toObject(e.connection,t)),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.pagination=a.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionsRequest)return e;var t=new a.ibc.core.connection.v1.QueryConnectionsRequest;if(null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.connection.v1.QueryConnectionsRequest.pagination: object expected");t.pagination=a.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.pagination=null),null!=e.pagination&&e.hasOwnProperty("pagination")&&(r.pagination=a.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionsResponse=function(){function e(e){if(this.connections=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.connections&&n.connections.length||(n.connections=[]),n.connections.push(a.ibc.core.connection.v1.IdentifiedConnection.decode(e,e.uint32()));break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:n.height=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionsResponse)return e;var t=new a.ibc.core.connection.v1.QueryConnectionsResponse;if(e.connections){if(!Array.isArray(e.connections))throw TypeError(".ibc.core.connection.v1.QueryConnectionsResponse.connections: array expected");t.connections=[];for(var r=0;r>>3){case 1:n.clientId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryClientConnectionsRequest)return e;var t=new a.ibc.core.connection.v1.QueryClientConnectionsRequest;return null!=e.clientId&&(t.clientId=String(e.clientId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryClientConnectionsResponse=function(){function e(e){if(this.connectionPaths=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.connectionPaths&&n.connectionPaths.length||(n.connectionPaths=[]),n.connectionPaths.push(e.string());break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryClientConnectionsResponse)return e;var t=new a.ibc.core.connection.v1.QueryClientConnectionsResponse;if(e.connectionPaths){if(!Array.isArray(e.connectionPaths))throw TypeError(".ibc.core.connection.v1.QueryClientConnectionsResponse.connectionPaths: array expected");t.connectionPaths=[];for(var r=0;r>>3){case 1:n.connectionId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionClientStateRequest)return e;var t=new a.ibc.core.connection.v1.QueryConnectionClientStateRequest;return null!=e.connectionId&&(t.connectionId=String(e.connectionId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.connectionId=""),null!=e.connectionId&&e.hasOwnProperty("connectionId")&&(r.connectionId=e.connectionId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionClientStateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.identifiedClientState=a.ibc.core.client.v1.IdentifiedClientState.decode(e,e.uint32());break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionClientStateResponse)return e;var t=new a.ibc.core.connection.v1.QueryConnectionClientStateResponse;if(null!=e.identifiedClientState){if("object"!=typeof e.identifiedClientState)throw TypeError(".ibc.core.connection.v1.QueryConnectionClientStateResponse.identifiedClientState: object expected");t.identifiedClientState=a.ibc.core.client.v1.IdentifiedClientState.fromObject(e.identifiedClientState)}if(null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.connection.v1.QueryConnectionClientStateResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.identifiedClientState=null,t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.identifiedClientState&&e.hasOwnProperty("identifiedClientState")&&(r.identifiedClientState=a.ibc.core.client.v1.IdentifiedClientState.toObject(e.identifiedClientState,t)),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionConsensusStateRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.connectionId=e.string();break;case 2:n.versionNumber=e.uint64();break;case 3:n.versionHeight=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionConsensusStateRequest)return e;var t=new a.ibc.core.connection.v1.QueryConnectionConsensusStateRequest;return null!=e.connectionId&&(t.connectionId=String(e.connectionId)),null!=e.versionNumber&&(s.Long?(t.versionNumber=s.Long.fromValue(e.versionNumber)).unsigned=!0:"string"==typeof e.versionNumber?t.versionNumber=parseInt(e.versionNumber,10):"number"==typeof e.versionNumber?t.versionNumber=e.versionNumber:"object"==typeof e.versionNumber&&(t.versionNumber=new s.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0))),null!=e.versionHeight&&(s.Long?(t.versionHeight=s.Long.fromValue(e.versionHeight)).unsigned=!0:"string"==typeof e.versionHeight?t.versionHeight=parseInt(e.versionHeight,10):"number"==typeof e.versionHeight?t.versionHeight=e.versionHeight:"object"==typeof e.versionHeight&&(t.versionHeight=new s.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.connectionId="",s.Long){var n=new s.Long(0,0,!0);r.versionNumber=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.versionNumber=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.versionHeight=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.versionHeight=t.longs===String?"0":0}return null!=e.connectionId&&e.hasOwnProperty("connectionId")&&(r.connectionId=e.connectionId),null!=e.versionNumber&&e.hasOwnProperty("versionNumber")&&("number"==typeof e.versionNumber?r.versionNumber=t.longs===String?String(e.versionNumber):e.versionNumber:r.versionNumber=t.longs===String?s.Long.prototype.toString.call(e.versionNumber):t.longs===Number?new s.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0):e.versionNumber),null!=e.versionHeight&&e.hasOwnProperty("versionHeight")&&("number"==typeof e.versionHeight?r.versionHeight=t.longs===String?String(e.versionHeight):e.versionHeight:r.versionHeight=t.longs===String?s.Long.prototype.toString.call(e.versionHeight):t.longs===Number?new s.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0):e.versionHeight),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionConsensusStateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.consensusState=a.google.protobuf.Any.decode(e,e.uint32());break;case 2:n.clientId=e.string();break;case 3:n.proof=e.bytes();break;case 4:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionConsensusStateResponse)return e;var t=new a.ibc.core.connection.v1.QueryConnectionConsensusStateResponse;if(null!=e.consensusState){if("object"!=typeof e.consensusState)throw TypeError(".ibc.core.connection.v1.QueryConnectionConsensusStateResponse.consensusState: object expected");t.consensusState=a.google.protobuf.Any.fromObject(e.consensusState)}if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.connection.v1.QueryConnectionConsensusStateResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.consensusState=null,r.clientId="",t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.consensusState&&e.hasOwnProperty("consensusState")&&(r.consensusState=a.google.protobuf.Any.toObject(e.consensusState,t)),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e}(),e})(),t.tendermint=a.tendermint=(()=>{const e={};return e.crypto=function(){const e={};return e.PublicKey=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.ed25519=e.bytes();break;case 2:n.secp256k1=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.crypto.PublicKey)return e;var t=new a.tendermint.crypto.PublicKey;return null!=e.ed25519&&("string"==typeof e.ed25519?s.base64.decode(e.ed25519,t.ed25519=s.newBuffer(s.base64.length(e.ed25519)),0):e.ed25519.length&&(t.ed25519=e.ed25519)),null!=e.secp256k1&&("string"==typeof e.secp256k1?s.base64.decode(e.secp256k1,t.secp256k1=s.newBuffer(s.base64.length(e.secp256k1)),0):e.secp256k1.length&&(t.secp256k1=e.secp256k1)),t},e.toObject=function(e,t){t||(t={});var r={};return null!=e.ed25519&&e.hasOwnProperty("ed25519")&&(r.ed25519=t.bytes===String?s.base64.encode(e.ed25519,0,e.ed25519.length):t.bytes===Array?Array.prototype.slice.call(e.ed25519):e.ed25519,t.oneofs&&(r.sum="ed25519")),null!=e.secp256k1&&e.hasOwnProperty("secp256k1")&&(r.secp256k1=t.bytes===String?s.base64.encode(e.secp256k1,0,e.secp256k1.length):t.bytes===Array?Array.prototype.slice.call(e.secp256k1):e.secp256k1,t.oneofs&&(r.sum="secp256k1")),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Proof=function(){function e(e){if(this.aunts=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.total=e.int64();break;case 2:n.index=e.int64();break;case 3:n.leafHash=e.bytes();break;case 4:n.aunts&&n.aunts.length||(n.aunts=[]),n.aunts.push(e.bytes());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.crypto.Proof)return e;var t=new a.tendermint.crypto.Proof;if(null!=e.total&&(s.Long?(t.total=s.Long.fromValue(e.total)).unsigned=!1:"string"==typeof e.total?t.total=parseInt(e.total,10):"number"==typeof e.total?t.total=e.total:"object"==typeof e.total&&(t.total=new s.LongBits(e.total.low>>>0,e.total.high>>>0).toNumber())),null!=e.index&&(s.Long?(t.index=s.Long.fromValue(e.index)).unsigned=!1:"string"==typeof e.index?t.index=parseInt(e.index,10):"number"==typeof e.index?t.index=e.index:"object"==typeof e.index&&(t.index=new s.LongBits(e.index.low>>>0,e.index.high>>>0).toNumber())),null!=e.leafHash&&("string"==typeof e.leafHash?s.base64.decode(e.leafHash,t.leafHash=s.newBuffer(s.base64.length(e.leafHash)),0):e.leafHash.length&&(t.leafHash=e.leafHash)),e.aunts){if(!Array.isArray(e.aunts))throw TypeError(".tendermint.crypto.Proof.aunts: array expected");t.aunts=[];for(var r=0;r>>0,e.total.high>>>0).toNumber():e.total),null!=e.index&&e.hasOwnProperty("index")&&("number"==typeof e.index?r.index=t.longs===String?String(e.index):e.index:r.index=t.longs===String?s.Long.prototype.toString.call(e.index):t.longs===Number?new s.LongBits(e.index.low>>>0,e.index.high>>>0).toNumber():e.index),null!=e.leafHash&&e.hasOwnProperty("leafHash")&&(r.leafHash=t.bytes===String?s.base64.encode(e.leafHash,0,e.leafHash.length):t.bytes===Array?Array.prototype.slice.call(e.leafHash):e.leafHash),e.aunts&&e.aunts.length){r.aunts=[];for(var o=0;o>>3){case 1:n.key=e.bytes();break;case 2:n.proof=a.tendermint.crypto.Proof.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.crypto.ValueOp)return e;var t=new a.tendermint.crypto.ValueOp;if(null!=e.key&&("string"==typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),null!=e.proof){if("object"!=typeof e.proof)throw TypeError(".tendermint.crypto.ValueOp.proof: object expected");t.proof=a.tendermint.crypto.Proof.fromObject(e.proof)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key))),r.proof=null),null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=a.tendermint.crypto.Proof.toObject(e.proof,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DominoOp=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.key=e.string();break;case 2:n.input=e.string();break;case 3:n.output=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.crypto.DominoOp)return e;var t=new a.tendermint.crypto.DominoOp;return null!=e.key&&(t.key=String(e.key)),null!=e.input&&(t.input=String(e.input)),null!=e.output&&(t.output=String(e.output)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.key="",r.input="",r.output=""),null!=e.key&&e.hasOwnProperty("key")&&(r.key=e.key),null!=e.input&&e.hasOwnProperty("input")&&(r.input=e.input),null!=e.output&&e.hasOwnProperty("output")&&(r.output=e.output),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ProofOp=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.type=e.string();break;case 2:n.key=e.bytes();break;case 3:n.data=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.crypto.ProofOp)return e;var t=new a.tendermint.crypto.ProofOp;return null!=e.type&&(t.type=String(e.type)),null!=e.key&&("string"==typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),null!=e.data&&("string"==typeof e.data?s.base64.decode(e.data,t.data=s.newBuffer(s.base64.length(e.data)),0):e.data.length&&(t.data=e.data)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.type="",t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key))),t.bytes===String?r.data="":(r.data=[],t.bytes!==Array&&(r.data=s.newBuffer(r.data)))),null!=e.type&&e.hasOwnProperty("type")&&(r.type=e.type),null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),null!=e.data&&e.hasOwnProperty("data")&&(r.data=t.bytes===String?s.base64.encode(e.data,0,e.data.length):t.bytes===Array?Array.prototype.slice.call(e.data):e.data),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ProofOps=function(){function e(e){if(this.ops=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.ops&&n.ops.length||(n.ops=[]),n.ops.push(a.tendermint.crypto.ProofOp.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.crypto.ProofOps)return e;var t=new a.tendermint.crypto.ProofOps;if(e.ops){if(!Array.isArray(e.ops))throw TypeError(".tendermint.crypto.ProofOps.ops: array expected");t.ops=[];for(var r=0;r>>3){case 1:n.bits=e.int64();break;case 2:if(n.elems&&n.elems.length||(n.elems=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>0,e.bits.high>>>0).toNumber())),e.elems){if(!Array.isArray(e.elems))throw TypeError(".tendermint.libs.bits.BitArray.elems: array expected");t.elems=[];for(var r=0;r>>0,e.elems[r].high>>>0).toNumber(!0))}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.elems=[]),t.defaults)if(s.Long){var n=new s.Long(0,0,!1);r.bits=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.bits=t.longs===String?"0":0;if(null!=e.bits&&e.hasOwnProperty("bits")&&("number"==typeof e.bits?r.bits=t.longs===String?String(e.bits):e.bits:r.bits=t.longs===String?s.Long.prototype.toString.call(e.bits):t.longs===Number?new s.LongBits(e.bits.low>>>0,e.bits.high>>>0).toNumber():e.bits),e.elems&&e.elems.length){r.elems=[];for(var o=0;o>>0,e.elems[o].high>>>0).toNumber(!0):e.elems[o]}return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.types=function(){const e={};return e.BlockIDFlag=function(){const e={},t=Object.create(e);return t[e[0]="BLOCK_ID_FLAG_UNKNOWN"]=0,t[e[1]="BLOCK_ID_FLAG_ABSENT"]=1,t[e[2]="BLOCK_ID_FLAG_COMMIT"]=2,t[e[3]="BLOCK_ID_FLAG_NIL"]=3,t}(),e.SignedMsgType=function(){const e={},t=Object.create(e);return t[e[0]="SIGNED_MSG_TYPE_UNKNOWN"]=0,t[e[1]="SIGNED_MSG_TYPE_PREVOTE"]=1,t[e[2]="SIGNED_MSG_TYPE_PRECOMMIT"]=2,t[e[32]="SIGNED_MSG_TYPE_PROPOSAL"]=32,t}(),e.PartSetHeader=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.total=e.uint32();break;case 2:n.hash=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.PartSetHeader)return e;var t=new a.tendermint.types.PartSetHeader;return null!=e.total&&(t.total=e.total>>>0),null!=e.hash&&("string"==typeof e.hash?s.base64.decode(e.hash,t.hash=s.newBuffer(s.base64.length(e.hash)),0):e.hash.length&&(t.hash=e.hash)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.total=0,t.bytes===String?r.hash="":(r.hash=[],t.bytes!==Array&&(r.hash=s.newBuffer(r.hash)))),null!=e.total&&e.hasOwnProperty("total")&&(r.total=e.total),null!=e.hash&&e.hasOwnProperty("hash")&&(r.hash=t.bytes===String?s.base64.encode(e.hash,0,e.hash.length):t.bytes===Array?Array.prototype.slice.call(e.hash):e.hash),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Part=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.index=e.uint32();break;case 2:n.bytes=e.bytes();break;case 3:n.proof=a.tendermint.crypto.Proof.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Part)return e;var t=new a.tendermint.types.Part;if(null!=e.index&&(t.index=e.index>>>0),null!=e.bytes&&("string"==typeof e.bytes?s.base64.decode(e.bytes,t.bytes=s.newBuffer(s.base64.length(e.bytes)),0):e.bytes.length&&(t.bytes=e.bytes)),null!=e.proof){if("object"!=typeof e.proof)throw TypeError(".tendermint.types.Part.proof: object expected");t.proof=a.tendermint.crypto.Proof.fromObject(e.proof)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.index=0,t.bytes===String?r.bytes="":(r.bytes=[],t.bytes!==Array&&(r.bytes=s.newBuffer(r.bytes))),r.proof=null),null!=e.index&&e.hasOwnProperty("index")&&(r.index=e.index),null!=e.bytes&&e.hasOwnProperty("bytes")&&(r.bytes=t.bytes===String?s.base64.encode(e.bytes,0,e.bytes.length):t.bytes===Array?Array.prototype.slice.call(e.bytes):e.bytes),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=a.tendermint.crypto.Proof.toObject(e.proof,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BlockID=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.hash=e.bytes();break;case 2:n.partSetHeader=a.tendermint.types.PartSetHeader.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.BlockID)return e;var t=new a.tendermint.types.BlockID;if(null!=e.hash&&("string"==typeof e.hash?s.base64.decode(e.hash,t.hash=s.newBuffer(s.base64.length(e.hash)),0):e.hash.length&&(t.hash=e.hash)),null!=e.partSetHeader){if("object"!=typeof e.partSetHeader)throw TypeError(".tendermint.types.BlockID.partSetHeader: object expected");t.partSetHeader=a.tendermint.types.PartSetHeader.fromObject(e.partSetHeader)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.hash="":(r.hash=[],t.bytes!==Array&&(r.hash=s.newBuffer(r.hash))),r.partSetHeader=null),null!=e.hash&&e.hasOwnProperty("hash")&&(r.hash=t.bytes===String?s.base64.encode(e.hash,0,e.hash.length):t.bytes===Array?Array.prototype.slice.call(e.hash):e.hash),null!=e.partSetHeader&&e.hasOwnProperty("partSetHeader")&&(r.partSetHeader=a.tendermint.types.PartSetHeader.toObject(e.partSetHeader,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Header=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.version=a.tendermint.version.Consensus.decode(e,e.uint32());break;case 2:n.chainId=e.string();break;case 3:n.height=e.int64();break;case 4:n.time=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 5:n.lastBlockId=a.tendermint.types.BlockID.decode(e,e.uint32());break;case 6:n.lastCommitHash=e.bytes();break;case 7:n.dataHash=e.bytes();break;case 8:n.validatorsHash=e.bytes();break;case 9:n.nextValidatorsHash=e.bytes();break;case 10:n.consensusHash=e.bytes();break;case 11:n.appHash=e.bytes();break;case 12:n.lastResultsHash=e.bytes();break;case 13:n.evidenceHash=e.bytes();break;case 14:n.proposerAddress=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Header)return e;var t=new a.tendermint.types.Header;if(null!=e.version){if("object"!=typeof e.version)throw TypeError(".tendermint.types.Header.version: object expected");t.version=a.tendermint.version.Consensus.fromObject(e.version)}if(null!=e.chainId&&(t.chainId=String(e.chainId)),null!=e.height&&(s.Long?(t.height=s.Long.fromValue(e.height)).unsigned=!1:"string"==typeof e.height?t.height=parseInt(e.height,10):"number"==typeof e.height?t.height=e.height:"object"==typeof e.height&&(t.height=new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber())),null!=e.time){if("object"!=typeof e.time)throw TypeError(".tendermint.types.Header.time: object expected");t.time=a.google.protobuf.Timestamp.fromObject(e.time)}if(null!=e.lastBlockId){if("object"!=typeof e.lastBlockId)throw TypeError(".tendermint.types.Header.lastBlockId: object expected");t.lastBlockId=a.tendermint.types.BlockID.fromObject(e.lastBlockId)}return null!=e.lastCommitHash&&("string"==typeof e.lastCommitHash?s.base64.decode(e.lastCommitHash,t.lastCommitHash=s.newBuffer(s.base64.length(e.lastCommitHash)),0):e.lastCommitHash.length&&(t.lastCommitHash=e.lastCommitHash)),null!=e.dataHash&&("string"==typeof e.dataHash?s.base64.decode(e.dataHash,t.dataHash=s.newBuffer(s.base64.length(e.dataHash)),0):e.dataHash.length&&(t.dataHash=e.dataHash)),null!=e.validatorsHash&&("string"==typeof e.validatorsHash?s.base64.decode(e.validatorsHash,t.validatorsHash=s.newBuffer(s.base64.length(e.validatorsHash)),0):e.validatorsHash.length&&(t.validatorsHash=e.validatorsHash)),null!=e.nextValidatorsHash&&("string"==typeof e.nextValidatorsHash?s.base64.decode(e.nextValidatorsHash,t.nextValidatorsHash=s.newBuffer(s.base64.length(e.nextValidatorsHash)),0):e.nextValidatorsHash.length&&(t.nextValidatorsHash=e.nextValidatorsHash)),null!=e.consensusHash&&("string"==typeof e.consensusHash?s.base64.decode(e.consensusHash,t.consensusHash=s.newBuffer(s.base64.length(e.consensusHash)),0):e.consensusHash.length&&(t.consensusHash=e.consensusHash)),null!=e.appHash&&("string"==typeof e.appHash?s.base64.decode(e.appHash,t.appHash=s.newBuffer(s.base64.length(e.appHash)),0):e.appHash.length&&(t.appHash=e.appHash)),null!=e.lastResultsHash&&("string"==typeof e.lastResultsHash?s.base64.decode(e.lastResultsHash,t.lastResultsHash=s.newBuffer(s.base64.length(e.lastResultsHash)),0):e.lastResultsHash.length&&(t.lastResultsHash=e.lastResultsHash)),null!=e.evidenceHash&&("string"==typeof e.evidenceHash?s.base64.decode(e.evidenceHash,t.evidenceHash=s.newBuffer(s.base64.length(e.evidenceHash)),0):e.evidenceHash.length&&(t.evidenceHash=e.evidenceHash)),null!=e.proposerAddress&&("string"==typeof e.proposerAddress?s.base64.decode(e.proposerAddress,t.proposerAddress=s.newBuffer(s.base64.length(e.proposerAddress)),0):e.proposerAddress.length&&(t.proposerAddress=e.proposerAddress)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.version=null,r.chainId="",s.Long){var n=new s.Long(0,0,!1);r.height=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.height=t.longs===String?"0":0;r.time=null,r.lastBlockId=null,t.bytes===String?r.lastCommitHash="":(r.lastCommitHash=[],t.bytes!==Array&&(r.lastCommitHash=s.newBuffer(r.lastCommitHash))),t.bytes===String?r.dataHash="":(r.dataHash=[],t.bytes!==Array&&(r.dataHash=s.newBuffer(r.dataHash))),t.bytes===String?r.validatorsHash="":(r.validatorsHash=[],t.bytes!==Array&&(r.validatorsHash=s.newBuffer(r.validatorsHash))),t.bytes===String?r.nextValidatorsHash="":(r.nextValidatorsHash=[],t.bytes!==Array&&(r.nextValidatorsHash=s.newBuffer(r.nextValidatorsHash))),t.bytes===String?r.consensusHash="":(r.consensusHash=[],t.bytes!==Array&&(r.consensusHash=s.newBuffer(r.consensusHash))),t.bytes===String?r.appHash="":(r.appHash=[],t.bytes!==Array&&(r.appHash=s.newBuffer(r.appHash))),t.bytes===String?r.lastResultsHash="":(r.lastResultsHash=[],t.bytes!==Array&&(r.lastResultsHash=s.newBuffer(r.lastResultsHash))),t.bytes===String?r.evidenceHash="":(r.evidenceHash=[],t.bytes!==Array&&(r.evidenceHash=s.newBuffer(r.evidenceHash))),t.bytes===String?r.proposerAddress="":(r.proposerAddress=[],t.bytes!==Array&&(r.proposerAddress=s.newBuffer(r.proposerAddress)))}return null!=e.version&&e.hasOwnProperty("version")&&(r.version=a.tendermint.version.Consensus.toObject(e.version,t)),null!=e.chainId&&e.hasOwnProperty("chainId")&&(r.chainId=e.chainId),null!=e.height&&e.hasOwnProperty("height")&&("number"==typeof e.height?r.height=t.longs===String?String(e.height):e.height:r.height=t.longs===String?s.Long.prototype.toString.call(e.height):t.longs===Number?new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber():e.height),null!=e.time&&e.hasOwnProperty("time")&&(r.time=a.google.protobuf.Timestamp.toObject(e.time,t)),null!=e.lastBlockId&&e.hasOwnProperty("lastBlockId")&&(r.lastBlockId=a.tendermint.types.BlockID.toObject(e.lastBlockId,t)),null!=e.lastCommitHash&&e.hasOwnProperty("lastCommitHash")&&(r.lastCommitHash=t.bytes===String?s.base64.encode(e.lastCommitHash,0,e.lastCommitHash.length):t.bytes===Array?Array.prototype.slice.call(e.lastCommitHash):e.lastCommitHash),null!=e.dataHash&&e.hasOwnProperty("dataHash")&&(r.dataHash=t.bytes===String?s.base64.encode(e.dataHash,0,e.dataHash.length):t.bytes===Array?Array.prototype.slice.call(e.dataHash):e.dataHash),null!=e.validatorsHash&&e.hasOwnProperty("validatorsHash")&&(r.validatorsHash=t.bytes===String?s.base64.encode(e.validatorsHash,0,e.validatorsHash.length):t.bytes===Array?Array.prototype.slice.call(e.validatorsHash):e.validatorsHash),null!=e.nextValidatorsHash&&e.hasOwnProperty("nextValidatorsHash")&&(r.nextValidatorsHash=t.bytes===String?s.base64.encode(e.nextValidatorsHash,0,e.nextValidatorsHash.length):t.bytes===Array?Array.prototype.slice.call(e.nextValidatorsHash):e.nextValidatorsHash),null!=e.consensusHash&&e.hasOwnProperty("consensusHash")&&(r.consensusHash=t.bytes===String?s.base64.encode(e.consensusHash,0,e.consensusHash.length):t.bytes===Array?Array.prototype.slice.call(e.consensusHash):e.consensusHash),null!=e.appHash&&e.hasOwnProperty("appHash")&&(r.appHash=t.bytes===String?s.base64.encode(e.appHash,0,e.appHash.length):t.bytes===Array?Array.prototype.slice.call(e.appHash):e.appHash),null!=e.lastResultsHash&&e.hasOwnProperty("lastResultsHash")&&(r.lastResultsHash=t.bytes===String?s.base64.encode(e.lastResultsHash,0,e.lastResultsHash.length):t.bytes===Array?Array.prototype.slice.call(e.lastResultsHash):e.lastResultsHash),null!=e.evidenceHash&&e.hasOwnProperty("evidenceHash")&&(r.evidenceHash=t.bytes===String?s.base64.encode(e.evidenceHash,0,e.evidenceHash.length):t.bytes===Array?Array.prototype.slice.call(e.evidenceHash):e.evidenceHash),null!=e.proposerAddress&&e.hasOwnProperty("proposerAddress")&&(r.proposerAddress=t.bytes===String?s.base64.encode(e.proposerAddress,0,e.proposerAddress.length):t.bytes===Array?Array.prototype.slice.call(e.proposerAddress):e.proposerAddress),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Data=function(){function e(e){if(this.txs=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.txs&&n.txs.length||(n.txs=[]),n.txs.push(e.bytes());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Data)return e;var t=new a.tendermint.types.Data;if(e.txs){if(!Array.isArray(e.txs))throw TypeError(".tendermint.types.Data.txs: array expected");t.txs=[];for(var r=0;r>>3){case 1:n.type=e.int32();break;case 2:n.height=e.int64();break;case 3:n.round=e.int32();break;case 4:n.blockId=a.tendermint.types.BlockID.decode(e,e.uint32());break;case 5:n.timestamp=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 6:n.validatorAddress=e.bytes();break;case 7:n.validatorIndex=e.int32();break;case 8:n.signature=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Vote)return e;var t=new a.tendermint.types.Vote;switch(e.type){case"SIGNED_MSG_TYPE_UNKNOWN":case 0:t.type=0;break;case"SIGNED_MSG_TYPE_PREVOTE":case 1:t.type=1;break;case"SIGNED_MSG_TYPE_PRECOMMIT":case 2:t.type=2;break;case"SIGNED_MSG_TYPE_PROPOSAL":case 32:t.type=32}if(null!=e.height&&(s.Long?(t.height=s.Long.fromValue(e.height)).unsigned=!1:"string"==typeof e.height?t.height=parseInt(e.height,10):"number"==typeof e.height?t.height=e.height:"object"==typeof e.height&&(t.height=new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber())),null!=e.round&&(t.round=0|e.round),null!=e.blockId){if("object"!=typeof e.blockId)throw TypeError(".tendermint.types.Vote.blockId: object expected");t.blockId=a.tendermint.types.BlockID.fromObject(e.blockId)}if(null!=e.timestamp){if("object"!=typeof e.timestamp)throw TypeError(".tendermint.types.Vote.timestamp: object expected");t.timestamp=a.google.protobuf.Timestamp.fromObject(e.timestamp)}return null!=e.validatorAddress&&("string"==typeof e.validatorAddress?s.base64.decode(e.validatorAddress,t.validatorAddress=s.newBuffer(s.base64.length(e.validatorAddress)),0):e.validatorAddress.length&&(t.validatorAddress=e.validatorAddress)),null!=e.validatorIndex&&(t.validatorIndex=0|e.validatorIndex),null!=e.signature&&("string"==typeof e.signature?s.base64.decode(e.signature,t.signature=s.newBuffer(s.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.type=t.enums===String?"SIGNED_MSG_TYPE_UNKNOWN":0,s.Long){var n=new s.Long(0,0,!1);r.height=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.height=t.longs===String?"0":0;r.round=0,r.blockId=null,r.timestamp=null,t.bytes===String?r.validatorAddress="":(r.validatorAddress=[],t.bytes!==Array&&(r.validatorAddress=s.newBuffer(r.validatorAddress))),r.validatorIndex=0,t.bytes===String?r.signature="":(r.signature=[],t.bytes!==Array&&(r.signature=s.newBuffer(r.signature)))}return null!=e.type&&e.hasOwnProperty("type")&&(r.type=t.enums===String?a.tendermint.types.SignedMsgType[e.type]:e.type),null!=e.height&&e.hasOwnProperty("height")&&("number"==typeof e.height?r.height=t.longs===String?String(e.height):e.height:r.height=t.longs===String?s.Long.prototype.toString.call(e.height):t.longs===Number?new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber():e.height),null!=e.round&&e.hasOwnProperty("round")&&(r.round=e.round),null!=e.blockId&&e.hasOwnProperty("blockId")&&(r.blockId=a.tendermint.types.BlockID.toObject(e.blockId,t)),null!=e.timestamp&&e.hasOwnProperty("timestamp")&&(r.timestamp=a.google.protobuf.Timestamp.toObject(e.timestamp,t)),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=t.bytes===String?s.base64.encode(e.validatorAddress,0,e.validatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.validatorAddress):e.validatorAddress),null!=e.validatorIndex&&e.hasOwnProperty("validatorIndex")&&(r.validatorIndex=e.validatorIndex),null!=e.signature&&e.hasOwnProperty("signature")&&(r.signature=t.bytes===String?s.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Commit=function(){function e(e){if(this.signatures=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.height=e.int64();break;case 2:n.round=e.int32();break;case 3:n.blockId=a.tendermint.types.BlockID.decode(e,e.uint32());break;case 4:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(a.tendermint.types.CommitSig.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Commit)return e;var t=new a.tendermint.types.Commit;if(null!=e.height&&(s.Long?(t.height=s.Long.fromValue(e.height)).unsigned=!1:"string"==typeof e.height?t.height=parseInt(e.height,10):"number"==typeof e.height?t.height=e.height:"object"==typeof e.height&&(t.height=new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber())),null!=e.round&&(t.round=0|e.round),null!=e.blockId){if("object"!=typeof e.blockId)throw TypeError(".tendermint.types.Commit.blockId: object expected");t.blockId=a.tendermint.types.BlockID.fromObject(e.blockId)}if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".tendermint.types.Commit.signatures: array expected");t.signatures=[];for(var r=0;r>>0,e.height.high>>>0).toNumber():e.height),null!=e.round&&e.hasOwnProperty("round")&&(r.round=e.round),null!=e.blockId&&e.hasOwnProperty("blockId")&&(r.blockId=a.tendermint.types.BlockID.toObject(e.blockId,t)),e.signatures&&e.signatures.length){r.signatures=[];for(var o=0;o>>3){case 1:n.blockIdFlag=e.int32();break;case 2:n.validatorAddress=e.bytes();break;case 3:n.timestamp=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 4:n.signature=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.CommitSig)return e;var t=new a.tendermint.types.CommitSig;switch(e.blockIdFlag){case"BLOCK_ID_FLAG_UNKNOWN":case 0:t.blockIdFlag=0;break;case"BLOCK_ID_FLAG_ABSENT":case 1:t.blockIdFlag=1;break;case"BLOCK_ID_FLAG_COMMIT":case 2:t.blockIdFlag=2;break;case"BLOCK_ID_FLAG_NIL":case 3:t.blockIdFlag=3}if(null!=e.validatorAddress&&("string"==typeof e.validatorAddress?s.base64.decode(e.validatorAddress,t.validatorAddress=s.newBuffer(s.base64.length(e.validatorAddress)),0):e.validatorAddress.length&&(t.validatorAddress=e.validatorAddress)),null!=e.timestamp){if("object"!=typeof e.timestamp)throw TypeError(".tendermint.types.CommitSig.timestamp: object expected");t.timestamp=a.google.protobuf.Timestamp.fromObject(e.timestamp)}return null!=e.signature&&("string"==typeof e.signature?s.base64.decode(e.signature,t.signature=s.newBuffer(s.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.blockIdFlag=t.enums===String?"BLOCK_ID_FLAG_UNKNOWN":0,t.bytes===String?r.validatorAddress="":(r.validatorAddress=[],t.bytes!==Array&&(r.validatorAddress=s.newBuffer(r.validatorAddress))),r.timestamp=null,t.bytes===String?r.signature="":(r.signature=[],t.bytes!==Array&&(r.signature=s.newBuffer(r.signature)))),null!=e.blockIdFlag&&e.hasOwnProperty("blockIdFlag")&&(r.blockIdFlag=t.enums===String?a.tendermint.types.BlockIDFlag[e.blockIdFlag]:e.blockIdFlag),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=t.bytes===String?s.base64.encode(e.validatorAddress,0,e.validatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.validatorAddress):e.validatorAddress),null!=e.timestamp&&e.hasOwnProperty("timestamp")&&(r.timestamp=a.google.protobuf.Timestamp.toObject(e.timestamp,t)),null!=e.signature&&e.hasOwnProperty("signature")&&(r.signature=t.bytes===String?s.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Proposal=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.type=e.int32();break;case 2:n.height=e.int64();break;case 3:n.round=e.int32();break;case 4:n.polRound=e.int32();break;case 5:n.blockId=a.tendermint.types.BlockID.decode(e,e.uint32());break;case 6:n.timestamp=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 7:n.signature=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Proposal)return e;var t=new a.tendermint.types.Proposal;switch(e.type){case"SIGNED_MSG_TYPE_UNKNOWN":case 0:t.type=0;break;case"SIGNED_MSG_TYPE_PREVOTE":case 1:t.type=1;break;case"SIGNED_MSG_TYPE_PRECOMMIT":case 2:t.type=2;break;case"SIGNED_MSG_TYPE_PROPOSAL":case 32:t.type=32}if(null!=e.height&&(s.Long?(t.height=s.Long.fromValue(e.height)).unsigned=!1:"string"==typeof e.height?t.height=parseInt(e.height,10):"number"==typeof e.height?t.height=e.height:"object"==typeof e.height&&(t.height=new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber())),null!=e.round&&(t.round=0|e.round),null!=e.polRound&&(t.polRound=0|e.polRound),null!=e.blockId){if("object"!=typeof e.blockId)throw TypeError(".tendermint.types.Proposal.blockId: object expected");t.blockId=a.tendermint.types.BlockID.fromObject(e.blockId)}if(null!=e.timestamp){if("object"!=typeof e.timestamp)throw TypeError(".tendermint.types.Proposal.timestamp: object expected");t.timestamp=a.google.protobuf.Timestamp.fromObject(e.timestamp)}return null!=e.signature&&("string"==typeof e.signature?s.base64.decode(e.signature,t.signature=s.newBuffer(s.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.type=t.enums===String?"SIGNED_MSG_TYPE_UNKNOWN":0,s.Long){var n=new s.Long(0,0,!1);r.height=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.height=t.longs===String?"0":0;r.round=0,r.polRound=0,r.blockId=null,r.timestamp=null,t.bytes===String?r.signature="":(r.signature=[],t.bytes!==Array&&(r.signature=s.newBuffer(r.signature)))}return null!=e.type&&e.hasOwnProperty("type")&&(r.type=t.enums===String?a.tendermint.types.SignedMsgType[e.type]:e.type),null!=e.height&&e.hasOwnProperty("height")&&("number"==typeof e.height?r.height=t.longs===String?String(e.height):e.height:r.height=t.longs===String?s.Long.prototype.toString.call(e.height):t.longs===Number?new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber():e.height),null!=e.round&&e.hasOwnProperty("round")&&(r.round=e.round),null!=e.polRound&&e.hasOwnProperty("polRound")&&(r.polRound=e.polRound),null!=e.blockId&&e.hasOwnProperty("blockId")&&(r.blockId=a.tendermint.types.BlockID.toObject(e.blockId,t)),null!=e.timestamp&&e.hasOwnProperty("timestamp")&&(r.timestamp=a.google.protobuf.Timestamp.toObject(e.timestamp,t)),null!=e.signature&&e.hasOwnProperty("signature")&&(r.signature=t.bytes===String?s.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SignedHeader=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.header=a.tendermint.types.Header.decode(e,e.uint32());break;case 2:n.commit=a.tendermint.types.Commit.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.SignedHeader)return e;var t=new a.tendermint.types.SignedHeader;if(null!=e.header){if("object"!=typeof e.header)throw TypeError(".tendermint.types.SignedHeader.header: object expected");t.header=a.tendermint.types.Header.fromObject(e.header)}if(null!=e.commit){if("object"!=typeof e.commit)throw TypeError(".tendermint.types.SignedHeader.commit: object expected");t.commit=a.tendermint.types.Commit.fromObject(e.commit)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.header=null,r.commit=null),null!=e.header&&e.hasOwnProperty("header")&&(r.header=a.tendermint.types.Header.toObject(e.header,t)),null!=e.commit&&e.hasOwnProperty("commit")&&(r.commit=a.tendermint.types.Commit.toObject(e.commit,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.LightBlock=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.signedHeader=a.tendermint.types.SignedHeader.decode(e,e.uint32());break;case 2:n.validatorSet=a.tendermint.types.ValidatorSet.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.LightBlock)return e;var t=new a.tendermint.types.LightBlock;if(null!=e.signedHeader){if("object"!=typeof e.signedHeader)throw TypeError(".tendermint.types.LightBlock.signedHeader: object expected");t.signedHeader=a.tendermint.types.SignedHeader.fromObject(e.signedHeader)}if(null!=e.validatorSet){if("object"!=typeof e.validatorSet)throw TypeError(".tendermint.types.LightBlock.validatorSet: object expected");t.validatorSet=a.tendermint.types.ValidatorSet.fromObject(e.validatorSet)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.signedHeader=null,r.validatorSet=null),null!=e.signedHeader&&e.hasOwnProperty("signedHeader")&&(r.signedHeader=a.tendermint.types.SignedHeader.toObject(e.signedHeader,t)),null!=e.validatorSet&&e.hasOwnProperty("validatorSet")&&(r.validatorSet=a.tendermint.types.ValidatorSet.toObject(e.validatorSet,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BlockMeta=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.blockId=a.tendermint.types.BlockID.decode(e,e.uint32());break;case 2:n.blockSize=e.int64();break;case 3:n.header=a.tendermint.types.Header.decode(e,e.uint32());break;case 4:n.numTxs=e.int64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.BlockMeta)return e;var t=new a.tendermint.types.BlockMeta;if(null!=e.blockId){if("object"!=typeof e.blockId)throw TypeError(".tendermint.types.BlockMeta.blockId: object expected");t.blockId=a.tendermint.types.BlockID.fromObject(e.blockId)}if(null!=e.blockSize&&(s.Long?(t.blockSize=s.Long.fromValue(e.blockSize)).unsigned=!1:"string"==typeof e.blockSize?t.blockSize=parseInt(e.blockSize,10):"number"==typeof e.blockSize?t.blockSize=e.blockSize:"object"==typeof e.blockSize&&(t.blockSize=new s.LongBits(e.blockSize.low>>>0,e.blockSize.high>>>0).toNumber())),null!=e.header){if("object"!=typeof e.header)throw TypeError(".tendermint.types.BlockMeta.header: object expected");t.header=a.tendermint.types.Header.fromObject(e.header)}return null!=e.numTxs&&(s.Long?(t.numTxs=s.Long.fromValue(e.numTxs)).unsigned=!1:"string"==typeof e.numTxs?t.numTxs=parseInt(e.numTxs,10):"number"==typeof e.numTxs?t.numTxs=e.numTxs:"object"==typeof e.numTxs&&(t.numTxs=new s.LongBits(e.numTxs.low>>>0,e.numTxs.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.blockId=null,s.Long){var n=new s.Long(0,0,!1);r.blockSize=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.blockSize=t.longs===String?"0":0;if(r.header=null,s.Long){n=new s.Long(0,0,!1);r.numTxs=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.numTxs=t.longs===String?"0":0}return null!=e.blockId&&e.hasOwnProperty("blockId")&&(r.blockId=a.tendermint.types.BlockID.toObject(e.blockId,t)),null!=e.blockSize&&e.hasOwnProperty("blockSize")&&("number"==typeof e.blockSize?r.blockSize=t.longs===String?String(e.blockSize):e.blockSize:r.blockSize=t.longs===String?s.Long.prototype.toString.call(e.blockSize):t.longs===Number?new s.LongBits(e.blockSize.low>>>0,e.blockSize.high>>>0).toNumber():e.blockSize),null!=e.header&&e.hasOwnProperty("header")&&(r.header=a.tendermint.types.Header.toObject(e.header,t)),null!=e.numTxs&&e.hasOwnProperty("numTxs")&&("number"==typeof e.numTxs?r.numTxs=t.longs===String?String(e.numTxs):e.numTxs:r.numTxs=t.longs===String?s.Long.prototype.toString.call(e.numTxs):t.longs===Number?new s.LongBits(e.numTxs.low>>>0,e.numTxs.high>>>0).toNumber():e.numTxs),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.TxProof=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.rootHash=e.bytes();break;case 2:n.data=e.bytes();break;case 3:n.proof=a.tendermint.crypto.Proof.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.TxProof)return e;var t=new a.tendermint.types.TxProof;if(null!=e.rootHash&&("string"==typeof e.rootHash?s.base64.decode(e.rootHash,t.rootHash=s.newBuffer(s.base64.length(e.rootHash)),0):e.rootHash.length&&(t.rootHash=e.rootHash)),null!=e.data&&("string"==typeof e.data?s.base64.decode(e.data,t.data=s.newBuffer(s.base64.length(e.data)),0):e.data.length&&(t.data=e.data)),null!=e.proof){if("object"!=typeof e.proof)throw TypeError(".tendermint.types.TxProof.proof: object expected");t.proof=a.tendermint.crypto.Proof.fromObject(e.proof)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.rootHash="":(r.rootHash=[],t.bytes!==Array&&(r.rootHash=s.newBuffer(r.rootHash))),t.bytes===String?r.data="":(r.data=[],t.bytes!==Array&&(r.data=s.newBuffer(r.data))),r.proof=null),null!=e.rootHash&&e.hasOwnProperty("rootHash")&&(r.rootHash=t.bytes===String?s.base64.encode(e.rootHash,0,e.rootHash.length):t.bytes===Array?Array.prototype.slice.call(e.rootHash):e.rootHash),null!=e.data&&e.hasOwnProperty("data")&&(r.data=t.bytes===String?s.base64.encode(e.data,0,e.data.length):t.bytes===Array?Array.prototype.slice.call(e.data):e.data),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=a.tendermint.crypto.Proof.toObject(e.proof,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ValidatorSet=function(){function e(e){if(this.validators=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.validators&&n.validators.length||(n.validators=[]),n.validators.push(a.tendermint.types.Validator.decode(e,e.uint32()));break;case 2:n.proposer=a.tendermint.types.Validator.decode(e,e.uint32());break;case 3:n.totalVotingPower=e.int64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.ValidatorSet)return e;var t=new a.tendermint.types.ValidatorSet;if(e.validators){if(!Array.isArray(e.validators))throw TypeError(".tendermint.types.ValidatorSet.validators: array expected");t.validators=[];for(var r=0;r>>0,e.totalVotingPower.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.validators=[]),t.defaults)if(r.proposer=null,s.Long){var n=new s.Long(0,0,!1);r.totalVotingPower=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.totalVotingPower=t.longs===String?"0":0;if(e.validators&&e.validators.length){r.validators=[];for(var o=0;o>>0,e.totalVotingPower.high>>>0).toNumber():e.totalVotingPower),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Validator=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.address=e.bytes();break;case 2:n.pubKey=a.tendermint.crypto.PublicKey.decode(e,e.uint32());break;case 3:n.votingPower=e.int64();break;case 4:n.proposerPriority=e.int64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Validator)return e;var t=new a.tendermint.types.Validator;if(null!=e.address&&("string"==typeof e.address?s.base64.decode(e.address,t.address=s.newBuffer(s.base64.length(e.address)),0):e.address.length&&(t.address=e.address)),null!=e.pubKey){if("object"!=typeof e.pubKey)throw TypeError(".tendermint.types.Validator.pubKey: object expected");t.pubKey=a.tendermint.crypto.PublicKey.fromObject(e.pubKey)}return null!=e.votingPower&&(s.Long?(t.votingPower=s.Long.fromValue(e.votingPower)).unsigned=!1:"string"==typeof e.votingPower?t.votingPower=parseInt(e.votingPower,10):"number"==typeof e.votingPower?t.votingPower=e.votingPower:"object"==typeof e.votingPower&&(t.votingPower=new s.LongBits(e.votingPower.low>>>0,e.votingPower.high>>>0).toNumber())),null!=e.proposerPriority&&(s.Long?(t.proposerPriority=s.Long.fromValue(e.proposerPriority)).unsigned=!1:"string"==typeof e.proposerPriority?t.proposerPriority=parseInt(e.proposerPriority,10):"number"==typeof e.proposerPriority?t.proposerPriority=e.proposerPriority:"object"==typeof e.proposerPriority&&(t.proposerPriority=new s.LongBits(e.proposerPriority.low>>>0,e.proposerPriority.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(t.bytes===String?r.address="":(r.address=[],t.bytes!==Array&&(r.address=s.newBuffer(r.address))),r.pubKey=null,s.Long){var n=new s.Long(0,0,!1);r.votingPower=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.votingPower=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!1);r.proposerPriority=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.proposerPriority=t.longs===String?"0":0}return null!=e.address&&e.hasOwnProperty("address")&&(r.address=t.bytes===String?s.base64.encode(e.address,0,e.address.length):t.bytes===Array?Array.prototype.slice.call(e.address):e.address),null!=e.pubKey&&e.hasOwnProperty("pubKey")&&(r.pubKey=a.tendermint.crypto.PublicKey.toObject(e.pubKey,t)),null!=e.votingPower&&e.hasOwnProperty("votingPower")&&("number"==typeof e.votingPower?r.votingPower=t.longs===String?String(e.votingPower):e.votingPower:r.votingPower=t.longs===String?s.Long.prototype.toString.call(e.votingPower):t.longs===Number?new s.LongBits(e.votingPower.low>>>0,e.votingPower.high>>>0).toNumber():e.votingPower),null!=e.proposerPriority&&e.hasOwnProperty("proposerPriority")&&("number"==typeof e.proposerPriority?r.proposerPriority=t.longs===String?String(e.proposerPriority):e.proposerPriority:r.proposerPriority=t.longs===String?s.Long.prototype.toString.call(e.proposerPriority):t.longs===Number?new s.LongBits(e.proposerPriority.low>>>0,e.proposerPriority.high>>>0).toNumber():e.proposerPriority),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SimpleValidator=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.pubKey=a.tendermint.crypto.PublicKey.decode(e,e.uint32());break;case 2:n.votingPower=e.int64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.SimpleValidator)return e;var t=new a.tendermint.types.SimpleValidator;if(null!=e.pubKey){if("object"!=typeof e.pubKey)throw TypeError(".tendermint.types.SimpleValidator.pubKey: object expected");t.pubKey=a.tendermint.crypto.PublicKey.fromObject(e.pubKey)}return null!=e.votingPower&&(s.Long?(t.votingPower=s.Long.fromValue(e.votingPower)).unsigned=!1:"string"==typeof e.votingPower?t.votingPower=parseInt(e.votingPower,10):"number"==typeof e.votingPower?t.votingPower=e.votingPower:"object"==typeof e.votingPower&&(t.votingPower=new s.LongBits(e.votingPower.low>>>0,e.votingPower.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.pubKey=null,s.Long){var n=new s.Long(0,0,!1);r.votingPower=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.votingPower=t.longs===String?"0":0;return null!=e.pubKey&&e.hasOwnProperty("pubKey")&&(r.pubKey=a.tendermint.crypto.PublicKey.toObject(e.pubKey,t)),null!=e.votingPower&&e.hasOwnProperty("votingPower")&&("number"==typeof e.votingPower?r.votingPower=t.longs===String?String(e.votingPower):e.votingPower:r.votingPower=t.longs===String?s.Long.prototype.toString.call(e.votingPower):t.longs===Number?new s.LongBits(e.votingPower.low>>>0,e.votingPower.high>>>0).toNumber():e.votingPower),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e.version=function(){const e={};return e.App=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.protocol=e.uint64();break;case 2:n.software=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.version.App)return e;var t=new a.tendermint.version.App;return null!=e.protocol&&(s.Long?(t.protocol=s.Long.fromValue(e.protocol)).unsigned=!0:"string"==typeof e.protocol?t.protocol=parseInt(e.protocol,10):"number"==typeof e.protocol?t.protocol=e.protocol:"object"==typeof e.protocol&&(t.protocol=new s.LongBits(e.protocol.low>>>0,e.protocol.high>>>0).toNumber(!0))),null!=e.software&&(t.software=String(e.software)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.protocol=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.protocol=t.longs===String?"0":0;r.software=""}return null!=e.protocol&&e.hasOwnProperty("protocol")&&("number"==typeof e.protocol?r.protocol=t.longs===String?String(e.protocol):e.protocol:r.protocol=t.longs===String?s.Long.prototype.toString.call(e.protocol):t.longs===Number?new s.LongBits(e.protocol.low>>>0,e.protocol.high>>>0).toNumber(!0):e.protocol),null!=e.software&&e.hasOwnProperty("software")&&(r.software=e.software),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Consensus=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.block=e.uint64();break;case 2:n.app=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.version.Consensus)return e;var t=new a.tendermint.version.Consensus;return null!=e.block&&(s.Long?(t.block=s.Long.fromValue(e.block)).unsigned=!0:"string"==typeof e.block?t.block=parseInt(e.block,10):"number"==typeof e.block?t.block=e.block:"object"==typeof e.block&&(t.block=new s.LongBits(e.block.low>>>0,e.block.high>>>0).toNumber(!0))),null!=e.app&&(s.Long?(t.app=s.Long.fromValue(e.app)).unsigned=!0:"string"==typeof e.app?t.app=parseInt(e.app,10):"number"==typeof e.app?t.app=e.app:"object"==typeof e.app&&(t.app=new s.LongBits(e.app.low>>>0,e.app.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.block=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.block=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.app=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.app=t.longs===String?"0":0}return null!=e.block&&e.hasOwnProperty("block")&&("number"==typeof e.block?r.block=t.longs===String?String(e.block):e.block:r.block=t.longs===String?s.Long.prototype.toString.call(e.block):t.longs===Number?new s.LongBits(e.block.low>>>0,e.block.high>>>0).toNumber(!0):e.block),null!=e.app&&e.hasOwnProperty("app")&&("number"==typeof e.app?r.app=t.longs===String?String(e.app):e.app:r.app=t.longs===String?s.Long.prototype.toString.call(e.app):t.longs===Number?new s.LongBits(e.app.low>>>0,e.app.high>>>0).toNumber(!0):e.app),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e})(),e.exports=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SignDocWrapper=void 0;const n=r(242),o=r(2);class i{constructor(e,t){this.mode=e,this.message=t}static fromAminoSignDoc(e){const t=new i("amino",new Uint8Array(0));return t._aminoSignDoc=e,t}static fromDirectSignDoc(e){const t=new i("direct",new Uint8Array(0));return t._protoSignDoc=new n.ProtoSignDocDecoder(e),t}clone(){return new i(this.mode,this.message)}get protoSignDoc(){return this._protoSignDoc||(this._protoSignDoc=n.ProtoSignDocDecoder.decode(this.message)),this._protoSignDoc}get aminoSignDoc(){return this._aminoSignDoc||(this._aminoSignDoc=JSON.parse(o.Buffer.from(this.message).toString())),this._aminoSignDoc}get chainId(){return"direct"===this.mode?this.protoSignDoc.chainId:this.aminoSignDoc.chain_id}get memo(){return"direct"===this.mode?this.protoSignDoc.txBody.memo:this.aminoSignDoc.memo}get fees(){var e,t;if("direct"===this.mode){const r=[];for(const n of null!==(t=null===(e=this.protoSignDoc.authInfo.fee)||void 0===e?void 0:e.amount)&&void 0!==t?t:[]){if(null==n.denom||null==n.amount)throw new Error("Invalid fee");r.push({denom:n.denom,amount:n.amount})}return r}return this.aminoSignDoc.fee.amount}get gas(){var e,t,r;return"direct"===this.mode?null!==(r=null===(t=null===(e=this.protoSignDoc.authInfo.fee)||void 0===e?void 0:e.gasLimit)||void 0===t?void 0:t.toNumber())&&void 0!==r?r:0:parseInt(this.aminoSignDoc.fee.gas)}}t.SignDocWrapper=i},,function(e,t){},function(e,t){},function(e,t,r){"use strict";var n=r(153).Buffer,o=r(448);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,o,i=n.allocUnsafe(e>>>0),s=this.head,a=0;s;)t=s.data,r=i,o=a,t.copy(r,o),a+=s.data.length,s=s.next;return i},e}(),o&&o.inspect&&o.inspect.custom&&(e.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,r){(function(e,t){!function(e,r){"use strict";if(!e.setImmediate){var n,o,i,s,a,c=1,u={},l=!1,f=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){p(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){p(e.data)},n=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,n=function(e){var t=f.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):n=function(e){setTimeout(p,0,e)}:(s="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&p(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(t){e.postMessage(s+t,"*")}),d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;rthis.blockSize&&(e=(new this.Hash).update(e).digest()),o(e.length<=this.blockSize);for(var t=e.length;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return s.alloc(0);for(var t,r,n,o=s.allocUnsafe(e>>>0),i=this.head,a=0;i;)t=i.data,r=o,n=a,s.prototype.copy.call(t,r,n),a+=i.data.length,i=i.next;return o}},{key:"consume",value:function(e,t){var r;return eo.length?o.length:e;if(i===o.length?n+=o:n+=o.slice(0,e),0==(e-=i)){i===o.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(i));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=s.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var o=r.data,i=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,i),0==(e-=i)){i===o.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=o.slice(i));break}++n}return this.length-=n,t}},{key:c,value:function(e,t){return a(this,function(e){for(var t=1;t0,(function(e){n||(n=e),e&&s.forEach(u),i||(s.forEach(u),o(n))}))}));return t.reduce(l)}},function(e,t,r){var n=r(4),o=r(77),i=r(7).Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function c(){this.init(),this._w=a,o.call(this,64,56)}function u(e){return e<<30|e>>>2}function l(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(c,o),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,o=0|this._b,i=0|this._c,a=0|this._d,c=0|this._e,f=0;f<16;++f)r[f]=e.readInt32BE(4*f);for(;f<80;++f)r[f]=r[f-3]^r[f-8]^r[f-14]^r[f-16];for(var d=0;d<80;++d){var h=~~(d/20),p=0|((t=n)<<5|t>>>27)+l(h,o,i,a)+c+r[d]+s[h];c=a,a=i,i=u(o),o=n,n=p}this._a=n+this._a|0,this._b=o+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=i.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},function(e,t,r){var n=r(4),o=r(77),i=r(7).Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function c(){this.init(),this._w=a,o.call(this,64,56)}function u(e){return e<<5|e>>>27}function l(e){return e<<30|e>>>2}function f(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(c,o),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,o=0|this._b,i=0|this._c,a=0|this._d,c=0|this._e,d=0;d<16;++d)r[d]=e.readInt32BE(4*d);for(;d<80;++d)r[d]=(t=r[d-3]^r[d-8]^r[d-14]^r[d-16])<<1|t>>>31;for(var h=0;h<80;++h){var p=~~(h/20),g=u(n)+f(p,o,i,a)+c+r[h]+s[p]|0;c=a,a=i,i=l(o),o=n,n=g}this._a=n+this._a|0,this._b=o+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=i.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},function(e,t,r){var n=r(4),o=r(257),i=r(77),s=r(7).Buffer,a=new Array(64);function c(){this.init(),this._w=a,i.call(this,64,56)}n(c,o),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=s.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=c},function(e,t,r){var n=r(4),o=r(258),i=r(77),s=r(7).Buffer,a=new Array(160);function c(){this.init(),this._w=a,i.call(this,128,112)}n(c,o),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var e=s.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},function(e,t,r){e.exports=r(154)},function(e,t,r){e.exports=r(65)},function(e,t,r){e.exports=r(148).Transform},function(e,t,r){e.exports=r(148).PassThrough},function(e,t,r){"use strict";var n=r(4),o=r(7).Buffer,i=r(56),s=o.alloc(128);function a(e,t){i.call(this,"digest"),"string"==typeof t&&(t=o.from(t)),this._alg=e,this._key=t,t.length>64?t=e(t):t.length<64&&(t=o.concat([t,s],64));for(var r=this._ipad=o.allocUnsafe(64),n=this._opad=o.allocUnsafe(64),a=0;a<64;a++)r[a]=54^t[a],n[a]=92^t[a];this._hash=[r]}n(a,i),a.prototype._update=function(e){this._hash.push(e)},a.prototype._final=function(){var e=this._alg(o.concat(this._hash));return this._alg(o.concat([this._opad,e]))},e.exports=a},function(e,t,r){e.exports=r(260)},function(e,t,r){(function(t,n){var o,i=r(7).Buffer,s=r(261),a=r(262),c=r(263),u=r(264),l=t.crypto&&t.crypto.subtle,f={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function h(e,t,r,n,o){return l.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return l.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:o}},e,n<<3)})).then((function(e){return i.from(e)}))}e.exports=function(e,r,p,g,m,y){"function"==typeof m&&(y=m,m=void 0);var b=f[(m=m||"sha1").toLowerCase()];if(!b||"function"!=typeof t.Promise)return n.nextTick((function(){var t;try{t=c(e,r,p,g,m)}catch(e){return y(e)}y(null,t)}));if(s(p,g),e=u(e,a,"Password"),r=u(r,a,"Salt"),"function"!=typeof y)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then((function(e){n.nextTick((function(){t(null,e)}))}),(function(e){n.nextTick((function(){t(e)}))}))}(function(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==d[e])return d[e];var r=h(o=o||i.alloc(8),o,10,128,e).then((function(){return!0})).catch((function(){return!1}));return d[e]=r,r}(b).then((function(t){return t?h(e,r,p,g,b):c(e,r,p,g,m)})),y)}}).call(this,r(12),r(13))},function(e,t,r){var n=r(478),o=r(159),i=r(160),s=r(491),a=r(122);function c(e,t,r){if(e=e.toLowerCase(),i[e])return o.createCipheriv(e,t,r);if(s[e])return new n({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function u(e,t,r){if(e=e.toLowerCase(),i[e])return o.createDecipheriv(e,t,r);if(s[e])return new n({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var r,n;if(e=e.toLowerCase(),i[e])r=i[e].key,n=i[e].iv;else{if(!s[e])throw new TypeError("invalid suite type");r=8*s[e].key,n=s[e].iv}var o=a(t,!1,r,n);return c(e,o.key,o.iv)},t.createCipheriv=t.Cipheriv=c,t.createDecipher=t.Decipher=function(e,t){var r,n;if(e=e.toLowerCase(),i[e])r=i[e].key,n=i[e].iv;else{if(!s[e])throw new TypeError("invalid suite type");r=8*s[e].key,n=s[e].iv}var o=a(t,!1,r,n);return u(e,o.key,o.iv)},t.createDecipheriv=t.Decipheriv=u,t.listCiphers=t.getCiphers=function(){return Object.keys(s).concat(o.getCiphers())}},function(e,t,r){var n=r(56),o=r(479),i=r(4),s=r(7).Buffer,a={"des-ede3-cbc":o.CBC.instantiate(o.EDE),"des-ede3":o.EDE,"des-ede-cbc":o.CBC.instantiate(o.EDE),"des-ede":o.EDE,"des-cbc":o.CBC.instantiate(o.DES),"des-ecb":o.DES};function c(e){n.call(this);var t,r=e.mode.toLowerCase(),o=a[r];t=e.decrypt?"decrypt":"encrypt";var i=e.key;s.isBuffer(i)||(i=s.from(i)),"des-ede"!==r&&"des-ede-cbc"!==r||(i=s.concat([i,i.slice(0,8)]));var c=e.iv;s.isBuffer(c)||(c=s.from(c)),this._des=o.create({key:i,iv:c,type:t})}a.des=a["des-cbc"],a.des3=a["des-ede3-cbc"],e.exports=c,i(c,n),c.prototype._update=function(e){return s.from(this._des.update(e))},c.prototype._final=function(){return s.from(this._des.final())}},function(e,t,r){"use strict";t.utils=r(265),t.Cipher=r(158),t.DES=r(266),t.CBC=r(480),t.EDE=r(481)},function(e,t,r){"use strict";var n=r(32),o=r(4),i={};function s(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},d.prototype.flush=function(){for(var e=16-this.cache.length,t=i.allocUnsafe(e),r=-1;++r>s%8,e._prev=i(e._prev,r?n:o);return a}function i(e,t){var r=e.length,o=-1,i=n.allocUnsafe(e.length);for(e=n.concat([e,n.from([t])]);++o>7;return i}t.encrypt=function(e,t,r){for(var i=t.length,s=n.allocUnsafe(i),a=-1;++a>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function s(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}s.prototype.ghash=function(e){for(var t=-1;++t0;t--)n[t]=n[t]>>>1|(1&n[t-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=i(o)},s.prototype.update=function(e){var t;for(this.cache=n.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},s.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,o],16)),this.ghash(i([0,e,0,t])),this.state},e.exports=s},function(e,t,r){var n=r(270),o=r(7).Buffer,i=r(160),s=r(271),a=r(56),c=r(121),u=r(122);function l(e,t,r){a.call(this),this._cache=new f,this._last=void 0,this._cipher=new c.AES(t),this._prev=o.from(r),this._mode=e,this._autopadding=!0}function f(){this.cache=o.allocUnsafe(0)}function d(e,t,r){var a=i[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=o.from(r)),"GCM"!==a.mode&&r.length!==a.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=o.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===a.type?new s(a.module,t,r,!0):"auth"===a.type?new n(a.module,t,r,!0):new l(a.module,t,r)}r(4)(l,a),l.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),n.push(r);return o.concat(n)},l.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var r=-1;for(;++r16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},f.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var r=i[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=u(t,!1,r.key,r.iv);return d(e,n.key,n.iv)},t.createDecipheriv=d},function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},function(e,t,r){(function(e){var n=r(272),o=r(494),i=r(495);var s={binary:!0,hex:!0,base64:!0};t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=function(t){var r=new e(o[t].prime,"hex"),n=new e(o[t].gen,"hex");return new i(r,n)},t.createDiffieHellman=t.DiffieHellman=function t(r,o,a,c){return e.isBuffer(o)||void 0===s[o]?t(r,"binary",o,a):(o=o||"binary",c=c||"binary",a=a||new e([2]),e.isBuffer(a)||(a=new e(a,c)),"number"==typeof r?new i(n(r,a),a,!0):(e.isBuffer(r)||(r=new e(r,o)),new i(r,a,!0)))}}).call(this,r(2).Buffer)},function(e,t){},function(e){e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},function(e,t,r){(function(t){var n=r(6),o=new(r(273)),i=new n(24),s=new n(11),a=new n(10),c=new n(3),u=new n(7),l=r(272),f=r(62);function d(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this._pub=new n(e),this}function h(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this._priv=new n(e),this}e.exports=g;var p={};function g(e,t,r){this.setGenerator(t),this.__prime=new n(e),this._prime=n.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=d,this.setPrivateKey=h):this._primeCode=8}function m(e,r){var n=new t(e.toArray());return r?n.toString(r):n}Object.defineProperty(g.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in p)return p[n];var f,d=0;if(e.isEven()||!l.simpleSieve||!l.fermatTest(e)||!o.test(e))return d+=1,d+="02"===r||"05"===r?8:4,p[n]=d,d;switch(o.test(e.shrn(1))||(d+=2),r){case"02":e.mod(i).cmp(s)&&(d+=8);break;case"05":(f=e.mod(a)).cmp(c)&&f.cmp(u)&&(d+=8);break;default:d+=4}return p[n]=d,d}(this.__prime,this.__gen)),this._primeCode}}),g.prototype.generateKeys=function(){return this._priv||(this._priv=new n(f(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},g.prototype.computeSecret=function(e){var r=(e=(e=new n(e)).toRed(this._prime)).redPow(this._priv).fromRed(),o=new t(r.toArray()),i=this.getPrime();if(o.length0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return s.alloc(0);for(var t,r,n,o=s.allocUnsafe(e>>>0),i=this.head,a=0;i;)t=i.data,r=o,n=a,s.prototype.copy.call(t,r,n),a+=i.data.length,i=i.next;return o}},{key:"consume",value:function(e,t){var r;return eo.length?o.length:e;if(i===o.length?n+=o:n+=o.slice(0,e),0==(e-=i)){i===o.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(i));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=s.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var o=r.data,i=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,i),0==(e-=i)){i===o.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=o.slice(i));break}++n}return this.length-=n,t}},{key:c,value:function(e,t){return a(this,function(e){for(var t=1;t0,(function(e){n||(n=e),e&&s.forEach(u),i||(s.forEach(u),o(n))}))}));return t.reduce(l)}},function(e,t,r){var n=r(7).Buffer,o=r(120),i=r(163),s=r(45).ec,a=r(282),c=r(124),u=r(288);function l(e,t,r,i){if((e=n.from(e.toArray())).length0&&r.ishrn(n),r}function d(e,t,r){var i,s;do{for(i=n.alloc(0);8*i.length=49&&u<=54?u-49+10:u>=17&&u<=22?u-17+10:u,s|=c}return n(!(240&s),"Invalid character in "+e),o}function c(e,t,r,o){for(var i=0,s=0,a=Math.min(e.length,r),c=t;c=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&s0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var o=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&o++,16===t?this._parseHex(e,o):this._parseBase(e,t,o),"-"===e[0]&&(this.negative=1),this._strip(),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var o=0;o=0;o-=3)s=e[o]|e[o-1]<<8|e[o-2]<<16,this.words[i]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);else if("le"===r)for(o=0,i=0;o>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);return this._strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=6)o=a(e,r,r+6),this.words[n]|=o<>>26-i&4194303,(i+=24)>=26&&(i-=26,n++);r+6!==t&&(o=a(e,t,r+6),this.words[n]|=o<>>26-i&4194303),this._strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,o=1;o<=67108863;o*=t)n++;n--,o=o/t|0;for(var i=e.length-r,s=i%n,a=Math.min(i,i-s)+r,u=0,l=r;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch(e){i.prototype.inspect=l}else i.prototype.inspect=l;function l(){return(this.red?""}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var o=0,i=0,s=0;s>>24-o&16777215)||s!==this.length-1?f[6-c.length]+c+r:c+r,(o+=2)>=26&&(o-=26,s--)}for(0!==i&&(r=i.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],l=h[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modrn(l).toString(e);r=(p=p.idivn(l)).isZero()?g+r:f[u-g.length]+g+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16,2)},s&&(i.prototype.toBuffer=function(e,t){return this.toArrayLike(s,e,t)}),i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function p(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var o=0|e.words[0],i=0|t.words[0],s=o*i,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var u=1;u>>26,f=67108863&c,d=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=d;h++){var p=u-h|0;l+=(s=(o=0|e.words[p])*(i=0|t.words[h])+f)/67108864|0,f=67108863&s}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r._strip()}i.prototype.toArrayLike=function(e,t,r){this._strip();var o=this.byteLength(),i=r||Math.max(1,o);n(o<=i,"byte array longer than desired length"),n(i>0,"Requested array length <= 0");var s=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,i);return this["_toArrayLike"+("le"===t?"LE":"BE")](s,o),s},i.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,o=0,i=0;o>8&255),r>16&255),6===i?(r>24&255),n=0,i=0):(n=s>>>24,i+=2)}if(r=0&&(e[r--]=s>>8&255),r>=0&&(e[r--]=s>>16&255),6===i?(r>=0&&(e[r--]=s>>24&255),n=0,i=0):(n=s>>>24,i+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;re.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var o=0;o0&&(this.words[o]=~this.words[o]&67108863>>26-r),this._strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,o=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(r=this,n=e):(r=e,n=this);for(var o=0,i=0;i>>26;for(;0!==o&&i>>26;if(this.length=r.length,0!==o)this.words[this.length]=o,this.length++;else if(r!==this)for(;ie.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,o=this.cmp(e);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(r=this,n=e):(r=e,n=this);for(var i=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==i&&s>26,this.words[s]=67108863&t;if(0===i&&s>>13,h=0|s[1],p=8191&h,g=h>>>13,m=0|s[2],y=8191&m,b=m>>>13,v=0|s[3],w=8191&v,_=v>>>13,k=0|s[4],S=8191&k,O=k>>>13,j=0|s[5],E=8191&j,P=j>>>13,x=0|s[6],A=8191&x,M=x>>>13,I=0|s[7],C=8191&I,R=I>>>13,T=0|s[8],N=8191&T,B=T>>>13,D=0|s[9],L=8191&D,U=D>>>13,q=0|a[0],H=8191&q,z=q>>>13,F=0|a[1],K=8191&F,$=F>>>13,V=0|a[2],J=8191&V,G=V>>>13,W=0|a[3],Q=8191&W,Z=W>>>13,Y=0|a[4],X=8191&Y,ee=Y>>>13,te=0|a[5],re=8191&te,ne=te>>>13,oe=0|a[6],ie=8191&oe,se=oe>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,le=0|a[8],fe=8191&le,de=le>>>13,he=0|a[9],pe=8191&he,ge=he>>>13;r.negative=e.negative^t.negative,r.length=19;var me=(u+(n=Math.imul(f,H))|0)+((8191&(o=(o=Math.imul(f,z))+Math.imul(d,H)|0))<<13)|0;u=((i=Math.imul(d,z))+(o>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(p,H),o=(o=Math.imul(p,z))+Math.imul(g,H)|0,i=Math.imul(g,z);var ye=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(o=(o=o+Math.imul(f,$)|0)+Math.imul(d,K)|0))<<13)|0;u=((i=i+Math.imul(d,$)|0)+(o>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(y,H),o=(o=Math.imul(y,z))+Math.imul(b,H)|0,i=Math.imul(b,z),n=n+Math.imul(p,K)|0,o=(o=o+Math.imul(p,$)|0)+Math.imul(g,K)|0,i=i+Math.imul(g,$)|0;var be=(u+(n=n+Math.imul(f,J)|0)|0)+((8191&(o=(o=o+Math.imul(f,G)|0)+Math.imul(d,J)|0))<<13)|0;u=((i=i+Math.imul(d,G)|0)+(o>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(w,H),o=(o=Math.imul(w,z))+Math.imul(_,H)|0,i=Math.imul(_,z),n=n+Math.imul(y,K)|0,o=(o=o+Math.imul(y,$)|0)+Math.imul(b,K)|0,i=i+Math.imul(b,$)|0,n=n+Math.imul(p,J)|0,o=(o=o+Math.imul(p,G)|0)+Math.imul(g,J)|0,i=i+Math.imul(g,G)|0;var ve=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(o=(o=o+Math.imul(f,Z)|0)+Math.imul(d,Q)|0))<<13)|0;u=((i=i+Math.imul(d,Z)|0)+(o>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(S,H),o=(o=Math.imul(S,z))+Math.imul(O,H)|0,i=Math.imul(O,z),n=n+Math.imul(w,K)|0,o=(o=o+Math.imul(w,$)|0)+Math.imul(_,K)|0,i=i+Math.imul(_,$)|0,n=n+Math.imul(y,J)|0,o=(o=o+Math.imul(y,G)|0)+Math.imul(b,J)|0,i=i+Math.imul(b,G)|0,n=n+Math.imul(p,Q)|0,o=(o=o+Math.imul(p,Z)|0)+Math.imul(g,Q)|0,i=i+Math.imul(g,Z)|0;var we=(u+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,ee)|0)+Math.imul(d,X)|0))<<13)|0;u=((i=i+Math.imul(d,ee)|0)+(o>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(E,H),o=(o=Math.imul(E,z))+Math.imul(P,H)|0,i=Math.imul(P,z),n=n+Math.imul(S,K)|0,o=(o=o+Math.imul(S,$)|0)+Math.imul(O,K)|0,i=i+Math.imul(O,$)|0,n=n+Math.imul(w,J)|0,o=(o=o+Math.imul(w,G)|0)+Math.imul(_,J)|0,i=i+Math.imul(_,G)|0,n=n+Math.imul(y,Q)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(b,Q)|0,i=i+Math.imul(b,Z)|0,n=n+Math.imul(p,X)|0,o=(o=o+Math.imul(p,ee)|0)+Math.imul(g,X)|0,i=i+Math.imul(g,ee)|0;var _e=(u+(n=n+Math.imul(f,re)|0)|0)+((8191&(o=(o=o+Math.imul(f,ne)|0)+Math.imul(d,re)|0))<<13)|0;u=((i=i+Math.imul(d,ne)|0)+(o>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(A,H),o=(o=Math.imul(A,z))+Math.imul(M,H)|0,i=Math.imul(M,z),n=n+Math.imul(E,K)|0,o=(o=o+Math.imul(E,$)|0)+Math.imul(P,K)|0,i=i+Math.imul(P,$)|0,n=n+Math.imul(S,J)|0,o=(o=o+Math.imul(S,G)|0)+Math.imul(O,J)|0,i=i+Math.imul(O,G)|0,n=n+Math.imul(w,Q)|0,o=(o=o+Math.imul(w,Z)|0)+Math.imul(_,Q)|0,i=i+Math.imul(_,Z)|0,n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,ee)|0)+Math.imul(b,X)|0,i=i+Math.imul(b,ee)|0,n=n+Math.imul(p,re)|0,o=(o=o+Math.imul(p,ne)|0)+Math.imul(g,re)|0,i=i+Math.imul(g,ne)|0;var ke=(u+(n=n+Math.imul(f,ie)|0)|0)+((8191&(o=(o=o+Math.imul(f,se)|0)+Math.imul(d,ie)|0))<<13)|0;u=((i=i+Math.imul(d,se)|0)+(o>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(C,H),o=(o=Math.imul(C,z))+Math.imul(R,H)|0,i=Math.imul(R,z),n=n+Math.imul(A,K)|0,o=(o=o+Math.imul(A,$)|0)+Math.imul(M,K)|0,i=i+Math.imul(M,$)|0,n=n+Math.imul(E,J)|0,o=(o=o+Math.imul(E,G)|0)+Math.imul(P,J)|0,i=i+Math.imul(P,G)|0,n=n+Math.imul(S,Q)|0,o=(o=o+Math.imul(S,Z)|0)+Math.imul(O,Q)|0,i=i+Math.imul(O,Z)|0,n=n+Math.imul(w,X)|0,o=(o=o+Math.imul(w,ee)|0)+Math.imul(_,X)|0,i=i+Math.imul(_,ee)|0,n=n+Math.imul(y,re)|0,o=(o=o+Math.imul(y,ne)|0)+Math.imul(b,re)|0,i=i+Math.imul(b,ne)|0,n=n+Math.imul(p,ie)|0,o=(o=o+Math.imul(p,se)|0)+Math.imul(g,ie)|0,i=i+Math.imul(g,se)|0;var Se=(u+(n=n+Math.imul(f,ce)|0)|0)+((8191&(o=(o=o+Math.imul(f,ue)|0)+Math.imul(d,ce)|0))<<13)|0;u=((i=i+Math.imul(d,ue)|0)+(o>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(N,H),o=(o=Math.imul(N,z))+Math.imul(B,H)|0,i=Math.imul(B,z),n=n+Math.imul(C,K)|0,o=(o=o+Math.imul(C,$)|0)+Math.imul(R,K)|0,i=i+Math.imul(R,$)|0,n=n+Math.imul(A,J)|0,o=(o=o+Math.imul(A,G)|0)+Math.imul(M,J)|0,i=i+Math.imul(M,G)|0,n=n+Math.imul(E,Q)|0,o=(o=o+Math.imul(E,Z)|0)+Math.imul(P,Q)|0,i=i+Math.imul(P,Z)|0,n=n+Math.imul(S,X)|0,o=(o=o+Math.imul(S,ee)|0)+Math.imul(O,X)|0,i=i+Math.imul(O,ee)|0,n=n+Math.imul(w,re)|0,o=(o=o+Math.imul(w,ne)|0)+Math.imul(_,re)|0,i=i+Math.imul(_,ne)|0,n=n+Math.imul(y,ie)|0,o=(o=o+Math.imul(y,se)|0)+Math.imul(b,ie)|0,i=i+Math.imul(b,se)|0,n=n+Math.imul(p,ce)|0,o=(o=o+Math.imul(p,ue)|0)+Math.imul(g,ce)|0,i=i+Math.imul(g,ue)|0;var Oe=(u+(n=n+Math.imul(f,fe)|0)|0)+((8191&(o=(o=o+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;u=((i=i+Math.imul(d,de)|0)+(o>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(L,H),o=(o=Math.imul(L,z))+Math.imul(U,H)|0,i=Math.imul(U,z),n=n+Math.imul(N,K)|0,o=(o=o+Math.imul(N,$)|0)+Math.imul(B,K)|0,i=i+Math.imul(B,$)|0,n=n+Math.imul(C,J)|0,o=(o=o+Math.imul(C,G)|0)+Math.imul(R,J)|0,i=i+Math.imul(R,G)|0,n=n+Math.imul(A,Q)|0,o=(o=o+Math.imul(A,Z)|0)+Math.imul(M,Q)|0,i=i+Math.imul(M,Z)|0,n=n+Math.imul(E,X)|0,o=(o=o+Math.imul(E,ee)|0)+Math.imul(P,X)|0,i=i+Math.imul(P,ee)|0,n=n+Math.imul(S,re)|0,o=(o=o+Math.imul(S,ne)|0)+Math.imul(O,re)|0,i=i+Math.imul(O,ne)|0,n=n+Math.imul(w,ie)|0,o=(o=o+Math.imul(w,se)|0)+Math.imul(_,ie)|0,i=i+Math.imul(_,se)|0,n=n+Math.imul(y,ce)|0,o=(o=o+Math.imul(y,ue)|0)+Math.imul(b,ce)|0,i=i+Math.imul(b,ue)|0,n=n+Math.imul(p,fe)|0,o=(o=o+Math.imul(p,de)|0)+Math.imul(g,fe)|0,i=i+Math.imul(g,de)|0;var je=(u+(n=n+Math.imul(f,pe)|0)|0)+((8191&(o=(o=o+Math.imul(f,ge)|0)+Math.imul(d,pe)|0))<<13)|0;u=((i=i+Math.imul(d,ge)|0)+(o>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(L,K),o=(o=Math.imul(L,$))+Math.imul(U,K)|0,i=Math.imul(U,$),n=n+Math.imul(N,J)|0,o=(o=o+Math.imul(N,G)|0)+Math.imul(B,J)|0,i=i+Math.imul(B,G)|0,n=n+Math.imul(C,Q)|0,o=(o=o+Math.imul(C,Z)|0)+Math.imul(R,Q)|0,i=i+Math.imul(R,Z)|0,n=n+Math.imul(A,X)|0,o=(o=o+Math.imul(A,ee)|0)+Math.imul(M,X)|0,i=i+Math.imul(M,ee)|0,n=n+Math.imul(E,re)|0,o=(o=o+Math.imul(E,ne)|0)+Math.imul(P,re)|0,i=i+Math.imul(P,ne)|0,n=n+Math.imul(S,ie)|0,o=(o=o+Math.imul(S,se)|0)+Math.imul(O,ie)|0,i=i+Math.imul(O,se)|0,n=n+Math.imul(w,ce)|0,o=(o=o+Math.imul(w,ue)|0)+Math.imul(_,ce)|0,i=i+Math.imul(_,ue)|0,n=n+Math.imul(y,fe)|0,o=(o=o+Math.imul(y,de)|0)+Math.imul(b,fe)|0,i=i+Math.imul(b,de)|0;var Ee=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(o=(o=o+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;u=((i=i+Math.imul(g,ge)|0)+(o>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(L,J),o=(o=Math.imul(L,G))+Math.imul(U,J)|0,i=Math.imul(U,G),n=n+Math.imul(N,Q)|0,o=(o=o+Math.imul(N,Z)|0)+Math.imul(B,Q)|0,i=i+Math.imul(B,Z)|0,n=n+Math.imul(C,X)|0,o=(o=o+Math.imul(C,ee)|0)+Math.imul(R,X)|0,i=i+Math.imul(R,ee)|0,n=n+Math.imul(A,re)|0,o=(o=o+Math.imul(A,ne)|0)+Math.imul(M,re)|0,i=i+Math.imul(M,ne)|0,n=n+Math.imul(E,ie)|0,o=(o=o+Math.imul(E,se)|0)+Math.imul(P,ie)|0,i=i+Math.imul(P,se)|0,n=n+Math.imul(S,ce)|0,o=(o=o+Math.imul(S,ue)|0)+Math.imul(O,ce)|0,i=i+Math.imul(O,ue)|0,n=n+Math.imul(w,fe)|0,o=(o=o+Math.imul(w,de)|0)+Math.imul(_,fe)|0,i=i+Math.imul(_,de)|0;var Pe=(u+(n=n+Math.imul(y,pe)|0)|0)+((8191&(o=(o=o+Math.imul(y,ge)|0)+Math.imul(b,pe)|0))<<13)|0;u=((i=i+Math.imul(b,ge)|0)+(o>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(L,Q),o=(o=Math.imul(L,Z))+Math.imul(U,Q)|0,i=Math.imul(U,Z),n=n+Math.imul(N,X)|0,o=(o=o+Math.imul(N,ee)|0)+Math.imul(B,X)|0,i=i+Math.imul(B,ee)|0,n=n+Math.imul(C,re)|0,o=(o=o+Math.imul(C,ne)|0)+Math.imul(R,re)|0,i=i+Math.imul(R,ne)|0,n=n+Math.imul(A,ie)|0,o=(o=o+Math.imul(A,se)|0)+Math.imul(M,ie)|0,i=i+Math.imul(M,se)|0,n=n+Math.imul(E,ce)|0,o=(o=o+Math.imul(E,ue)|0)+Math.imul(P,ce)|0,i=i+Math.imul(P,ue)|0,n=n+Math.imul(S,fe)|0,o=(o=o+Math.imul(S,de)|0)+Math.imul(O,fe)|0,i=i+Math.imul(O,de)|0;var xe=(u+(n=n+Math.imul(w,pe)|0)|0)+((8191&(o=(o=o+Math.imul(w,ge)|0)+Math.imul(_,pe)|0))<<13)|0;u=((i=i+Math.imul(_,ge)|0)+(o>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(L,X),o=(o=Math.imul(L,ee))+Math.imul(U,X)|0,i=Math.imul(U,ee),n=n+Math.imul(N,re)|0,o=(o=o+Math.imul(N,ne)|0)+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,n=n+Math.imul(C,ie)|0,o=(o=o+Math.imul(C,se)|0)+Math.imul(R,ie)|0,i=i+Math.imul(R,se)|0,n=n+Math.imul(A,ce)|0,o=(o=o+Math.imul(A,ue)|0)+Math.imul(M,ce)|0,i=i+Math.imul(M,ue)|0,n=n+Math.imul(E,fe)|0,o=(o=o+Math.imul(E,de)|0)+Math.imul(P,fe)|0,i=i+Math.imul(P,de)|0;var Ae=(u+(n=n+Math.imul(S,pe)|0)|0)+((8191&(o=(o=o+Math.imul(S,ge)|0)+Math.imul(O,pe)|0))<<13)|0;u=((i=i+Math.imul(O,ge)|0)+(o>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(L,re),o=(o=Math.imul(L,ne))+Math.imul(U,re)|0,i=Math.imul(U,ne),n=n+Math.imul(N,ie)|0,o=(o=o+Math.imul(N,se)|0)+Math.imul(B,ie)|0,i=i+Math.imul(B,se)|0,n=n+Math.imul(C,ce)|0,o=(o=o+Math.imul(C,ue)|0)+Math.imul(R,ce)|0,i=i+Math.imul(R,ue)|0,n=n+Math.imul(A,fe)|0,o=(o=o+Math.imul(A,de)|0)+Math.imul(M,fe)|0,i=i+Math.imul(M,de)|0;var Me=(u+(n=n+Math.imul(E,pe)|0)|0)+((8191&(o=(o=o+Math.imul(E,ge)|0)+Math.imul(P,pe)|0))<<13)|0;u=((i=i+Math.imul(P,ge)|0)+(o>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(L,ie),o=(o=Math.imul(L,se))+Math.imul(U,ie)|0,i=Math.imul(U,se),n=n+Math.imul(N,ce)|0,o=(o=o+Math.imul(N,ue)|0)+Math.imul(B,ce)|0,i=i+Math.imul(B,ue)|0,n=n+Math.imul(C,fe)|0,o=(o=o+Math.imul(C,de)|0)+Math.imul(R,fe)|0,i=i+Math.imul(R,de)|0;var Ie=(u+(n=n+Math.imul(A,pe)|0)|0)+((8191&(o=(o=o+Math.imul(A,ge)|0)+Math.imul(M,pe)|0))<<13)|0;u=((i=i+Math.imul(M,ge)|0)+(o>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(L,ce),o=(o=Math.imul(L,ue))+Math.imul(U,ce)|0,i=Math.imul(U,ue),n=n+Math.imul(N,fe)|0,o=(o=o+Math.imul(N,de)|0)+Math.imul(B,fe)|0,i=i+Math.imul(B,de)|0;var Ce=(u+(n=n+Math.imul(C,pe)|0)|0)+((8191&(o=(o=o+Math.imul(C,ge)|0)+Math.imul(R,pe)|0))<<13)|0;u=((i=i+Math.imul(R,ge)|0)+(o>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(L,fe),o=(o=Math.imul(L,de))+Math.imul(U,fe)|0,i=Math.imul(U,de);var Re=(u+(n=n+Math.imul(N,pe)|0)|0)+((8191&(o=(o=o+Math.imul(N,ge)|0)+Math.imul(B,pe)|0))<<13)|0;u=((i=i+Math.imul(B,ge)|0)+(o>>>13)|0)+(Re>>>26)|0,Re&=67108863;var Te=(u+(n=Math.imul(L,pe))|0)+((8191&(o=(o=Math.imul(L,ge))+Math.imul(U,pe)|0))<<13)|0;return u=((i=Math.imul(U,ge))+(o>>>13)|0)+(Te>>>26)|0,Te&=67108863,c[0]=me,c[1]=ye,c[2]=be,c[3]=ve,c[4]=we,c[5]=_e,c[6]=ke,c[7]=Se,c[8]=Oe,c[9]=je,c[10]=Ee,c[11]=Pe,c[12]=xe,c[13]=Ae,c[14]=Me,c[15]=Ie,c[16]=Ce,c[17]=Re,c[18]=Te,0!==u&&(c[19]=u,r.length++),r};function m(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,o=0,i=0;i>>26)|0)>>>26,s&=67108863}r.words[i]=a,n=s,s=o}return 0!==n?r.words[i]=n:r.length--,r._strip()}function y(e,t,r){return m(e,t,r)}function b(e,t){this.x=e,this.y=t}Math.imul||(g=p),i.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):r<63?p(this,e,t):r<1024?m(this,e,t):y(this,e,t)},b.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n>=1;return n},b.prototype.permute=function(e,t,r,n,o,i){for(var s=0;s>>=1)o++;return 1<>>=13,r[2*s+1]=8191&i,i>>>=13;for(s=2*t;s>=26,r+=i/67108864|0,r+=s>>>26,this.words[o]=67108863&s}return 0!==r&&(this.words[o]=r,this.length++),t?this.ineg():this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r>>o&1}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n=0);var t,r=e%26,o=(e-r)/26,i=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(t=0;t>>26-r}s&&(this.words[t]=s,this.length++)}if(0!==o){for(t=this.length-1;t>=0;t--)this.words[t+o]=this.words[t];for(t=0;t=0),o=t?(t-t%26)/26:0;var i=e%26,s=Math.min((e-i)/26,this.length),a=67108863^67108863>>>i<s)for(this.length-=s,u=0;u=0&&(0!==l||u>=o);u--){var f=0|this.words[u];this.words[u]=l<<26-i|f>>>i,l=f&a}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,o=1<=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var o=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[o+r]=67108863&i}for(;o>26,this.words[o+r]=67108863&i;if(0===a)return this._strip();for(n(-1===a),a=0,o=0;o>26,this.words[o]=67108863&i;return this.negative=1,this._strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),o=e,s=0|o.words[o.length-1];0!==(r=26-this._countBits(s))&&(o=o.ushln(r),n.iushln(r),s=0|o.words[o.length-1]);var a,c=n.length-o.length;if("mod"!==t){(a=new i(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u=0;f--){var d=67108864*(0|n.words[o.length+f])+(0|n.words[o.length+f-1]);for(d=Math.min(d/s|0,67108863),n._ishlnsubmul(o,d,f);0!==n.negative;)d--,n.negative=0,n._ishlnsubmul(o,1,f),n.isZero()||(n.negative^=1);a&&(a.words[f]=d)}return a&&a._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.iadd(e)),{div:o,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modrn(e.words[0]))}:this._wordDiv(e,t);var o,s,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),o=e.andln(1),i=r.cmp(n);return i<0||1===o&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,o=0,i=this.length-1;i>=0;i--)o=(r*o+(0|this.words[i]))%e;return t?-o:o},i.prototype.modn=function(e){return this.modrn(e)},i.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,o=this.length-1;o>=0;o--){var i=(0|this.words[o])+67108864*r;this.words[o]=i/e|0,r=i%e}return this._strip(),t?this.ineg():this},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),s=new i(0),a=new i(0),c=new i(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0==(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(l),s.isub(f)),o.iushrn(1),s.iushrn(1);for(var p=0,g=1;0==(r.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(l),c.isub(f)),a.iushrn(1),c.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a),s.isub(c)):(r.isub(t),a.isub(o),c.isub(s))}return{a:a,b:c,gcd:r.iushln(u)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o,s=new i(1),a=new i(0),c=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var f=0,d=1;0==(r.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(r.iushrn(f);f-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),s.isub(a)):(r.isub(t),a.isub(s))}return(o=0===t.cmpn(1)?s:a).cmpn(0)<0&&o.iadd(e),o},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var o=t.cmp(r);if(o<0){var i=t;t=r,r=i}else if(0===o||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,o=1<>>26,a&=67108863,this.words[s]=a}return 0!==i&&(this.words[s]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var o=0|this.words[0];t=o===e?0:oe.length)return 1;if(this.length=0;r--){var n=0|this.words[r],o=0|e.words[r];if(n!==o){no&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new j(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function O(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function j(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function E(e){j.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},o(_,w),_.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n>>22,o=i}o>>>=22,e.words[n-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r>>=26,e.words[r]=o,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(v[e])return v[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new k;else if("p192"===e)t=new S;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new O}return v[e]=t,t},j.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},j.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},j.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},j.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},j.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},j.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},j.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},j.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},j.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},j.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},j.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},j.prototype.isqr=function(e){return this.imul(e,e.clone())},j.prototype.sqr=function(e){return this.mul(e,e)},j.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);n(!o.isZero());var a=new i(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,o),d=this.pow(e,o.addn(1).iushrn(1)),h=this.pow(e,o),p=s;0!==h.cmp(a);){for(var g=h,m=0;0!==g.cmp(a);m++)g=g.redSqr();n(m=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var f=u>>l&1;o!==r[0]&&(o=this.sqr(o)),0!==f||0!==s?(s<<=1,s|=f,(4===++a||0===n&&0===l)&&(o=this.mul(o,r[s]),a=0,s=0)):a=0}c=26}return o},j.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},j.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new E(e)},o(E,j),E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},E.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),i=o;return o.cmp(this.m)>=0?i=o.isub(this.m):o.cmpn(0)<0&&(i=o.iadd(this.m)),i._forceRed(this)},E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},E.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(71)(e))},function(e,t){},function(e){e.exports=JSON.parse('{"name":"elliptic","version":"6.5.3","description":"EC cryptography","main":"lib/elliptic.js","files":["lib"],"scripts":{"jscs":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","jshint":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","lint":"npm run jscs && npm run jshint","unit":"istanbul test _mocha --reporter=spec test/index.js","test":"npm run lint && npm run unit","version":"grunt dist && git add dist/"},"repository":{"type":"git","url":"git@github.com:indutny/elliptic"},"keywords":["EC","Elliptic","curve","Cryptography"],"author":"Fedor Indutny ","license":"MIT","bugs":{"url":"https://github.com/indutny/elliptic/issues"},"homepage":"https://github.com/indutny/elliptic","devDependencies":{"brfs":"^1.4.3","coveralls":"^3.0.8","grunt":"^1.0.4","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.2","jscs":"^3.0.7","jshint":"^2.10.3","mocha":"^6.2.2"},"dependencies":{"bn.js":"^4.4.0","brorand":"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0","inherits":"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"}}')},function(e,t,r){"use strict";var n=r(33),o=r(6),i=r(4),s=r(123),a=n.assert;function c(e){s.call(this,"short",e),this.a=new o(e.a,16).toRed(this.red),this.b=new o(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(e,t,r,n){s.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new o(t,16),this.y=new o(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function l(e,t,r,n){s.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new o(0)):(this.x=new o(t,16),this.y=new o(r,16),this.z=new o(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}i(c,s),e.exports=c,c.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new o(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new o(e.lambda,16);else{var i=this._getEndoRoots(this.n);0===this.g.mul(i[0]).x.cmp(this.g.x.redMul(t))?r=i[0]:(r=i[1],a(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:r,basis:e.basis?e.basis.map((function(e){return{a:new o(e.a,16),b:new o(e.b,16)}})):this._getEndoBasis(r)}}},c.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:o.mont(e),r=new o(2).toRed(t).redInvm(),n=r.redNeg(),i=new o(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(i).fromRed(),n.redSub(i).fromRed()]},c.prototype._getEndoBasis=function(e){for(var t,r,n,i,s,a,c,u,l,f=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=e,h=this.n.clone(),p=new o(1),g=new o(0),m=new o(0),y=new o(1),b=0;0!==d.cmpn(0);){var v=h.div(d);u=h.sub(v.mul(d)),l=m.sub(v.mul(p));var w=y.sub(v.mul(g));if(!n&&u.cmp(f)<0)t=c.neg(),r=p,n=u.neg(),i=l;else if(n&&2==++b)break;c=u,h=d,d=u,m=p,p=l,y=g,g=w}s=u.neg(),a=l;var _=n.sqr().add(i.sqr());return s.sqr().add(a.sqr()).cmp(_)>=0&&(s=t,a=r),n.negative&&(n=n.neg(),i=i.neg()),s.negative&&(s=s.neg(),a=a.neg()),[{a:n,b:i},{a:s,b:a}]},c.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],o=n.b.mul(e).divRound(this.n),i=r.b.neg().mul(e).divRound(this.n),s=o.mul(r.a),a=i.mul(n.a),c=o.mul(r.b),u=i.mul(n.b);return{k1:e.sub(s).sub(a),k2:c.add(u).neg()}},c.prototype.pointFromX=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var i=n.fromRed().isOdd();return(t&&!i||!t&&i)&&(n=n.redNeg()),this.point(e,n)},c.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),o=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(o).cmpn(0)},c.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,o=this._endoWnafT2,i=0;i":""},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},u.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),o=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),i=o.redSqr().redISub(this.x.redAdd(this.x)),s=o.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,s)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(e){return e=new o(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){var n=[this,t],o=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o):this.curve._wnafMulAdd(1,n,o,2)},u.prototype.jmulAdd=function(e,t,r){var n=[this,t],o=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o,!0):this.curve._wnafMulAdd(1,n,o,2,!0)},u.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},u.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(l,s.BasePoint),c.prototype.jpoint=function(e,t,r){return new l(this,e,t,r)},l.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),o=e.x.redMul(r),i=this.y.redMul(t.redMul(e.z)),s=e.y.redMul(r.redMul(this.z)),a=n.redSub(o),c=i.redSub(s);if(0===a.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),l=u.redMul(a),f=n.redMul(u),d=c.redSqr().redIAdd(l).redISub(f).redISub(f),h=c.redMul(f.redISub(d)).redISub(i.redMul(l)),p=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(d,h,p)},l.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),o=this.y,i=e.y.redMul(t).redMul(this.z),s=r.redSub(n),a=o.redSub(i);if(0===s.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),u=c.redMul(s),l=r.redMul(c),f=a.redSqr().redIAdd(u).redISub(l).redISub(l),d=a.redMul(l.redISub(f)).redISub(o.redMul(u)),h=this.z.redMul(s);return this.curve.jpoint(f,d,h)},l.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r=0)return!1;if(r.redIAdd(o),0===this.x.cmp(r))return!0}},l.prototype.inspect=function(){return this.isInfinity()?"":""},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(e,t,r){"use strict";var n=r(6),o=r(4),i=r(123),s=r(33);function a(e){i.call(this,"mont",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(e,t,r){i.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(t,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}o(a,i),e.exports=a,a.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},o(c,i.BasePoint),a.prototype.decodePoint=function(e,t){return this.point(s.toArray(e,t),1)},a.prototype.point=function(e,t){return new c(this,e,t)},a.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(e,t){return new c(e,t[0],t[1]||e.one)},c.prototype.inspect=function(){return this.isInfinity()?"":""},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),o=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,o)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),o=e.x.redAdd(e.z),i=e.x.redSub(e.z).redMul(r),s=o.redMul(n),a=t.z.redMul(i.redAdd(s).redSqr()),c=t.x.redMul(i.redISub(s).redSqr());return this.curve.point(a,c)},c.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),o=[];0!==t.cmpn(0);t.iushrn(1))o.push(t.andln(1));for(var i=o.length-1;i>=0;i--)0===o[i]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(e,t,r){"use strict";var n=r(33),o=r(6),i=r(4),s=r(123),a=n.assert;function c(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,s.call(this,"edwards",e),this.a=new o(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new o(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new o(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function u(e,t,r,n,i){s.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new o(t,16),this.y=new o(r,16),this.z=n?new o(n,16):this.curve.one,this.t=i&&new o(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}i(c,s),e.exports=c,c.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},c.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},c.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},c.prototype.pointFromX=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),i=this.one.redSub(this.c2.redMul(this.d).redMul(r)),s=n.redMul(i.redInvm()),a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");var c=a.fromRed().isOdd();return(t&&!c||!t&&c)&&(a=a.redNeg()),this.point(e,a)},c.prototype.pointFromY=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.c2),i=r.redMul(this.d).redMul(this.c2).redSub(this.a),s=n.redMul(i.redInvm());if(0===s.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},c.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),o=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(o)},i(u,s.BasePoint),c.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},c.prototype.point=function(e,t,r,n){return new u(this,e,t,r,n)},u.fromJSON=function(e,t){return new u(e,t[0],t[1],t[2])},u.prototype.inspect=function(){return this.isInfinity()?"":""},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),o=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),i=n.redAdd(t),s=i.redSub(r),a=n.redSub(t),c=o.redMul(s),u=i.redMul(a),l=o.redMul(a),f=s.redMul(i);return this.curve.point(c,u,f,l)},u.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),o=this.x.redSqr(),i=this.y.redSqr();if(this.curve.twisted){var s=(u=this.curve._mulA(o)).redAdd(i);if(this.zOne)e=n.redSub(o).redSub(i).redMul(s.redSub(this.curve.two)),t=s.redMul(u.redSub(i)),r=s.redSqr().redSub(s).redSub(s);else{var a=this.z.redSqr(),c=s.redSub(a).redISub(a);e=n.redSub(o).redISub(i).redMul(c),t=s.redMul(u.redSub(i)),r=s.redMul(c)}}else{var u=o.redAdd(i);a=this.curve._mulC(this.z).redSqr(),c=u.redSub(a).redSub(a);e=this.curve._mulC(n.redISub(u)).redMul(c),t=this.curve._mulC(u).redMul(o.redISub(i)),r=u.redMul(c)}return this.curve.point(e,t,r)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),o=this.z.redMul(e.z.redAdd(e.z)),i=r.redSub(t),s=o.redSub(n),a=o.redAdd(n),c=r.redAdd(t),u=i.redMul(s),l=a.redMul(c),f=i.redMul(c),d=s.redMul(a);return this.curve.point(u,l,d,f)},u.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),o=n.redSqr(),i=this.x.redMul(e.x),s=this.y.redMul(e.y),a=this.curve.d.redMul(i).redMul(s),c=o.redSub(a),u=o.redAdd(a),l=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(i).redISub(s),f=n.redMul(c).redMul(l);return this.curve.twisted?(t=n.redMul(u).redMul(s.redSub(this.curve._mulA(i))),r=c.redMul(u)):(t=n.redMul(u).redMul(s.redSub(i)),r=this.curve._mulC(c).redMul(u)),this.curve.point(f,t,r)},u.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},u.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},u.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},u.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},function(e,t,r){"use strict";var n=r(6),o=r(514),i=r(33),s=r(164),a=r(161),c=i.assert,u=r(515),l=r(516);function f(e){if(!(this instanceof f))return new f(e);"string"==typeof e&&(c(s.hasOwnProperty(e),"Unknown curve "+e),e=s[e]),e instanceof s.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=f,f.prototype.keyPair=function(e){return new u(this,e)},f.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},f.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},f.prototype.genKeyPair=function(e){e||(e={});for(var t=new o({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||a(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),i=this.n.sub(new n(2));;){var s=new n(t.generate(r));if(!(s.cmp(i)>0))return s.iaddn(1),this.keyFromPrivate(s)}},f.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},f.prototype.sign=function(e,t,r,i){"object"==typeof r&&(i=r,r=null),i||(i={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n(e,16));for(var s=this.n.byteLength(),a=t.getPrivate().toArray("be",s),c=e.toArray("be",s),u=new o({hash:this.hash,entropy:a,nonce:c,pers:i.pers,persEnc:i.persEnc||"utf8"}),f=this.n.sub(new n(1)),d=0;;d++){var h=i.k?i.k(d):new n(u.generate(this.n.byteLength()));if(!((h=this._truncateToN(h,!0)).cmpn(1)<=0||h.cmp(f)>=0)){var p=this.g.mul(h);if(!p.isInfinity()){var g=p.getX(),m=g.umod(this.n);if(0!==m.cmpn(0)){var y=h.invm(this.n).mul(m.mul(t.getPrivate()).iadd(e));if(0!==(y=y.umod(this.n)).cmpn(0)){var b=(p.getY().isOdd()?1:0)|(0!==g.cmp(m)?2:0);return i.canonical&&y.cmp(this.nh)>0&&(y=this.n.sub(y),b^=1),new l({r:m,s:y,recoveryParam:b})}}}}}},f.prototype.verify=function(e,t,r,o){e=this._truncateToN(new n(e,16)),r=this.keyFromPublic(r,o);var i=(t=new l(t,"hex")).r,s=t.s;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var a,c=s.invm(this.n),u=c.mul(e).umod(this.n),f=c.mul(i).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(u,r.getPublic(),f)).isInfinity()&&a.eqXToP(i):!(a=this.g.mulAdd(u,r.getPublic(),f)).isInfinity()&&0===a.getX().umod(this.n).cmp(i)},f.prototype.recoverPubKey=function(e,t,r,o){c((3&r)===r,"The recovery param is more than two bits"),t=new l(t,o);var i=this.n,s=new n(e),a=t.r,u=t.s,f=1&r,d=r>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");a=d?this.curve.pointFromX(a.add(this.curve.n),f):this.curve.pointFromX(a,f);var h=t.r.invm(i),p=i.sub(s).mul(h).umod(i),g=u.mul(h).umod(i);return this.g.mulAdd(p,a,g)},f.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new l(t,n)).recoveryParam)return t.recoveryParam;for(var o=0;o<4;o++){var i;try{i=this.recoverPubKey(e,t,o)}catch(e){continue}if(i.eq(r))return o}throw new Error("Unable to find valid recovery factor")}},function(e,t,r){"use strict";var n=r(70),o=r(280),i=r(32);function s(e){if(!(this instanceof s))return new s(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=o.toArray(e.entropy,e.entropyEnc||"hex"),r=o.toArray(e.nonce,e.nonceEnc||"hex"),n=o.toArray(e.pers,e.persEnc||"hex");i(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}e.exports=s,s.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var o=0;o=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},s.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=o.toArray(r,n||"hex"),this._update(r));for(var i=[];i.length"}},function(e,t,r){"use strict";var n=r(6),o=r(33),i=o.assert;function s(e,t){if(e instanceof s)return e;this._importDER(e,t)||(i(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function a(){this.place=0}function c(e,t){var r=e[t.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var o=0,i=0,s=t.place;i>>=0;return!(o<=127)&&(t.place=s,o)}function u(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}e.exports=s,s.prototype._importDER=function(e,t){e=o.toArray(e,t);var r=new a;if(48!==e[r.place++])return!1;var i=c(e,r);if(!1===i)return!1;if(i+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var s=c(e,r);if(!1===s)return!1;var u=e.slice(r.place,s+r.place);if(r.place+=s,2!==e[r.place++])return!1;var l=c(e,r);if(!1===l)return!1;if(e.length!==l+r.place)return!1;var f=e.slice(r.place,l+r.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new n(u),this.s=new n(f),this.recoveryParam=null,!0},s.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=u(t),r=u(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];l(n,t.length),(n=n.concat(t)).push(2),l(n,r.length);var i=n.concat(r),s=[48];return l(s,i.length),s=s.concat(i),o.encode(s,e)}},function(e,t,r){"use strict";var n=r(70),o=r(164),i=r(33),s=i.assert,a=i.parseBytes,c=r(518),u=r(519);function l(e){if(s("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof l))return new l(e);e=o[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}e.exports=l,l.prototype.sign=function(e,t){e=a(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),o=this.g.mul(n),i=this.encodePoint(o),s=this.hashInt(i,r.pubBytes(),e).mul(r.priv()),c=n.add(s).umod(this.curve.n);return this.makeSignature({R:o,S:c,Rencoded:i})},l.prototype.verify=function(e,t,r){e=a(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),o=this.hashInt(t.Rencoded(),n.pubBytes(),e),i=this.g.mul(t.S());return t.R().add(n.pub().mul(o)).eq(i)},l.prototype.hashInt=function(){for(var e=this.hash(),t=0;t=t)throw new Error("invalid sig")}e.exports=function(e,t,r,u,l){var f=s(r);if("ec"===f.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(e,t,r){var n=a[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var o=new i(n),s=r.data.subjectPrivateKey.data;return o.verify(t,e,s)}(e,t,f)}if("dsa"===f.type){if("dsa"!==u)throw new Error("wrong public key type");return function(e,t,r){var n=r.data.p,i=r.data.q,a=r.data.g,u=r.data.pub_key,l=s.signature.decode(e,"der"),f=l.s,d=l.r;c(f,i),c(d,i);var h=o.mont(n),p=f.invm(i);return 0===a.toRed(h).redPow(new o(t).mul(p).mod(i)).fromRed().mul(u.toRed(h).redPow(d.mul(p).mod(i)).fromRed()).mod(n).mod(i).cmp(d)}(e,t,f)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");t=n.concat([l,t]);for(var d=f.modulus.byteLength(),h=[1],p=0;t.length+h.length+2r-d-2)throw new Error("message too long");var h=f.alloc(r-n-d-2),p=r-l-1,g=o(l),m=a(f.concat([u,h,f.alloc(1,1),t],p),s(g,p)),y=a(g,s(m,l));return new c(f.concat([f.alloc(1),y,m],r))}(p,t);else if(1===d)h=function(e,t,r){var n,i=t.length,s=e.modulus.byteLength();if(i>s-11)throw new Error("message too long");n=r?f.alloc(s-i-3,255):function(e){var t,r=f.allocUnsafe(e),n=0,i=o(2*e),s=0;for(;n=0)throw new Error("data too long for modulus")}return r?l(h,p):u(h,p)}},function(e,t,r){var n=r(124),o=r(289),i=r(290),s=r(6),a=r(163),c=r(54),u=r(291),l=r(7).Buffer;e.exports=function(e,t,r){var f;f=e.padding?e.padding:r?1:4;var d,h=n(e),p=h.modulus.byteLength();if(t.length>p||new s(t).cmp(h.modulus)>=0)throw new Error("decryption error");d=r?u(new s(t),h):a(t,h);var g=l.alloc(p-d.length);if(d=l.concat([g,d],p),4===f)return function(e,t){var r=e.modulus.byteLength(),n=c("sha1").update(l.alloc(0)).digest(),s=n.length;if(0!==t[0])throw new Error("decryption error");var a=t.slice(1,s+1),u=t.slice(s+1),f=i(a,o(u,s)),d=i(u,o(f,r-s-1));if(function(e,t){e=l.from(e),t=l.from(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));var o=-1;for(;++o=t.length){i++;break}var s=t.slice(2,o-1);("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&i++;s.length<8&&i++;if(i)throw new Error("decryption error");return t.slice(o)}(0,d,r);if(3===f)return d;throw new Error("unknown padding")}},function(e,t,r){"use strict";(function(e,n){function o(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var i=r(7),s=r(62),a=i.Buffer,c=i.kMaxLength,u=e.crypto||e.msCrypto,l=Math.pow(2,32)-1;function f(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>l||e<0)throw new TypeError("offset must be a uint32");if(e>c||e>t)throw new RangeError("offset out of range")}function d(e,t,r){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>l||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>c)throw new RangeError("buffer too small")}function h(e,t,r,o){if(n.browser){var i=e.buffer,a=new Uint8Array(i,t,r);return u.getRandomValues(a),o?void n.nextTick((function(){o(null,e)})):e}if(!o)return s(r).copy(e,t),e;s(r,(function(r,n){if(r)return o(r);n.copy(e,t),o(null,e)}))}u&&u.getRandomValues||!n.browser?(t.randomFill=function(t,r,n,o){if(!(a.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof r)o=r,r=0,n=t.length;else if("function"==typeof n)o=n,n=t.length-r;else if("function"!=typeof o)throw new TypeError('"cb" argument must be a function');return f(r,t.length),d(n,r,t.length),h(t,r,n,o)},t.randomFillSync=function(t,r,n){void 0===r&&(r=0);if(!(a.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');f(r,t.length),void 0===n&&(n=t.length-r);return d(n,r,t.length),h(t,r,n)}):(t.randomFill=o,t.randomFillSync=o)}).call(this,r(12),r(13))},function(e,t){const r="Impossible case. Please create issue.",n="The tweak was out of range or the resulted private key is invalid",o="The tweak was out of range or equal to zero",i="Unknow error on context randomization",s="Private Key is invalid",a="Public Key could not be parsed",c="Public Key serialization error",u="The sum of the public keys is not valid",l="Signature could not be parsed",f="The nonce generation function failed, or the private key was invalid",d="Public key could not be recover",h="Scalar was invalid (zero or overflow)";function p(e,t){if(!e)throw new Error(t)}function g(e,t,r){if(p(t instanceof Uint8Array,`Expected ${e} to be an Uint8Array`),void 0!==r)if(Array.isArray(r)){const n=`Expected ${e} to be an Uint8Array with length [${r.join(", ")}]`;p(r.includes(t.length),n)}else{const n=`Expected ${e} to be an Uint8Array with length ${r}`;p(t.length===r,n)}}function m(e){p("Boolean"===b(e),"Expected compressed to be a Boolean")}function y(e=(e=>new Uint8Array(e)),t){return"function"==typeof e&&(e=e(t)),g("output",e,t),e}function b(e){return Object.prototype.toString.call(e).slice(8,-1)}e.exports=e=>({contextRandomize(t){switch(p(null===t||t instanceof Uint8Array,"Expected seed to be an Uint8Array or null"),null!==t&&g("seed",t,32),e.contextRandomize(t)){case 1:throw new Error(i)}},privateKeyVerify:t=>(g("private key",t,32),0===e.privateKeyVerify(t)),privateKeyNegate(t){switch(g("private key",t,32),e.privateKeyNegate(t)){case 0:return t;case 1:throw new Error(r)}},privateKeyTweakAdd(t,r){switch(g("private key",t,32),g("tweak",r,32),e.privateKeyTweakAdd(t,r)){case 0:return t;case 1:throw new Error(n)}},privateKeyTweakMul(t,r){switch(g("private key",t,32),g("tweak",r,32),e.privateKeyTweakMul(t,r)){case 0:return t;case 1:throw new Error(o)}},publicKeyVerify:t=>(g("public key",t,[33,65]),0===e.publicKeyVerify(t)),publicKeyCreate(t,r=!0,n){switch(g("private key",t,32),m(r),n=y(n,r?33:65),e.publicKeyCreate(n,t)){case 0:return n;case 1:throw new Error(s);case 2:throw new Error(c)}},publicKeyConvert(t,r=!0,n){switch(g("public key",t,[33,65]),m(r),n=y(n,r?33:65),e.publicKeyConvert(n,t)){case 0:return n;case 1:throw new Error(a);case 2:throw new Error(c)}},publicKeyNegate(t,n=!0,o){switch(g("public key",t,[33,65]),m(n),o=y(o,n?33:65),e.publicKeyNegate(o,t)){case 0:return o;case 1:throw new Error(a);case 2:throw new Error(r);case 3:throw new Error(c)}},publicKeyCombine(t,r=!0,n){p(Array.isArray(t),"Expected public keys to be an Array"),p(t.length>0,"Expected public keys array will have more than zero items");for(const e of t)g("public key",e,[33,65]);switch(m(r),n=y(n,r?33:65),e.publicKeyCombine(n,t)){case 0:return n;case 1:throw new Error(a);case 2:throw new Error(u);case 3:throw new Error(c)}},publicKeyTweakAdd(t,r,o=!0,i){switch(g("public key",t,[33,65]),g("tweak",r,32),m(o),i=y(i,o?33:65),e.publicKeyTweakAdd(i,t,r)){case 0:return i;case 1:throw new Error(a);case 2:throw new Error(n)}},publicKeyTweakMul(t,r,n=!0,i){switch(g("public key",t,[33,65]),g("tweak",r,32),m(n),i=y(i,n?33:65),e.publicKeyTweakMul(i,t,r)){case 0:return i;case 1:throw new Error(a);case 2:throw new Error(o)}},signatureNormalize(t){switch(g("signature",t,64),e.signatureNormalize(t)){case 0:return t;case 1:throw new Error(l)}},signatureExport(t,n){g("signature",t,64);const o={output:n=y(n,72),outputlen:72};switch(e.signatureExport(o,t)){case 0:return n.slice(0,o.outputlen);case 1:throw new Error(l);case 2:throw new Error(r)}},signatureImport(t,n){switch(g("signature",t),n=y(n,64),e.signatureImport(n,t)){case 0:return n;case 1:throw new Error(l);case 2:throw new Error(r)}},ecdsaSign(t,n,o={},i){g("message",t,32),g("private key",n,32),p("Object"===b(o),"Expected options to be an Object"),void 0!==o.data&&g("options.data",o.data),void 0!==o.noncefn&&p("Function"===b(o.noncefn),"Expected options.noncefn to be a Function");const s={signature:i=y(i,64),recid:null};switch(e.ecdsaSign(s,t,n,o.data,o.noncefn)){case 0:return s;case 1:throw new Error(f);case 2:throw new Error(r)}},ecdsaVerify(t,r,n){switch(g("signature",t,64),g("message",r,32),g("public key",n,[33,65]),e.ecdsaVerify(t,r,n)){case 0:return!0;case 3:return!1;case 1:throw new Error(l);case 2:throw new Error(a)}},ecdsaRecover(t,n,o,i=!0,s){switch(g("signature",t,64),p("Number"===b(n)&&n>=0&&n<=3,"Expected recovery id to be a Number within interval [0, 3]"),g("message",o,32),m(i),s=y(s,i?33:65),e.ecdsaRecover(s,t,n,o)){case 0:return s;case 1:throw new Error(l);case 2:throw new Error(d);case 3:throw new Error(r)}},ecdh(t,r,n={},o){switch(g("public key",t,[33,65]),g("private key",r,32),p("Object"===b(n),"Expected options to be an Object"),void 0!==n.data&&g("options.data",n.data),void 0!==n.hashfn?(p("Function"===b(n.hashfn),"Expected options.hashfn to be a Function"),void 0!==n.xbuf&&g("options.xbuf",n.xbuf,32),void 0!==n.ybuf&&g("options.ybuf",n.ybuf,32),g("output",o)):o=y(o,32),e.ecdh(o,t,r,n.data,n.hashfn,n.xbuf,n.ybuf)){case 0:return o;case 1:throw new Error(a);case 2:throw new Error(h)}}})},function(e,t,r){const n=new(0,r(45).ec)("secp256k1"),o=n.curve,i=o.n.constructor;function s(e){const t=e[0];switch(t){case 2:case 3:return 33!==e.length?null:function(e,t){let r=new i(t);if(r.cmp(o.p)>=0)return null;r=r.toRed(o.red);let s=r.redSqr().redIMul(r).redIAdd(o.b).redSqrt();return 3===e!==s.isOdd()&&(s=s.redNeg()),n.keyPair({pub:{x:r,y:s}})}(t,e.subarray(1,33));case 4:case 6:case 7:return 65!==e.length?null:function(e,t,r){let s=new i(t),a=new i(r);if(s.cmp(o.p)>=0||a.cmp(o.p)>=0)return null;if(s=s.toRed(o.red),a=a.toRed(o.red),(6===e||7===e)&&a.isOdd()!==(7===e))return null;const c=s.redSqr().redIMul(s);return a.redSqr().redISub(c.redIAdd(o.b)).isZero()?n.keyPair({pub:{x:s,y:a}}):null}(t,e.subarray(1,33),e.subarray(33,65));default:return null}}function a(e,t){const r=t.encode(null,33===e.length);for(let t=0;t0,privateKeyVerify(e){const t=new i(e);return t.cmp(o.n)<0&&!t.isZero()?0:1},privateKeyNegate(e){const t=new i(e),r=o.n.sub(t).umod(o.n).toArrayLike(Uint8Array,"be",32);return e.set(r),0},privateKeyTweakAdd(e,t){const r=new i(t);if(r.cmp(o.n)>=0)return 1;if(r.iadd(new i(e)),r.cmp(o.n)>=0&&r.isub(o.n),r.isZero())return 1;const n=r.toArrayLike(Uint8Array,"be",32);return e.set(n),0},privateKeyTweakMul(e,t){let r=new i(t);if(r.cmp(o.n)>=0||r.isZero())return 1;r.imul(new i(e)),r.cmp(o.n)>=0&&(r=r.umod(o.n));const n=r.toArrayLike(Uint8Array,"be",32);return e.set(n),0},publicKeyVerify:e=>null===s(e)?1:0,publicKeyCreate(e,t){const r=new i(t);if(r.cmp(o.n)>=0||r.isZero())return 1;return a(e,n.keyFromPrivate(t).getPublic()),0},publicKeyConvert(e,t){const r=s(t);if(null===r)return 1;return a(e,r.getPublic()),0},publicKeyNegate(e,t){const r=s(t);if(null===r)return 1;const n=r.getPublic();return n.y=n.y.redNeg(),a(e,n),0},publicKeyCombine(e,t){const r=new Array(t.length);for(let e=0;e=0)return 2;const c=n.getPublic().add(o.g.mul(r));return c.isInfinity()?2:(a(e,c),0)},publicKeyTweakMul(e,t,r){const n=s(t);if(null===n)return 1;if((r=new i(r)).cmp(o.n)>=0||r.isZero())return 2;return a(e,n.getPublic().mul(r)),0},signatureNormalize(e){const t=new i(e.subarray(0,32)),r=new i(e.subarray(32,64));return t.cmp(o.n)>=0||r.cmp(o.n)>=0?1:(1===r.cmp(n.nh)&&e.set(o.n.sub(r).toArrayLike(Uint8Array,"be",32),32),0)},signatureExport(e,t){const r=t.subarray(0,32),n=t.subarray(32,64);if(new i(r).cmp(o.n)>=0)return 1;if(new i(n).cmp(o.n)>=0)return 1;const{output:s}=e;let a=s.subarray(4,37);a[0]=0,a.set(r,1);let c=33,u=0;for(;c>1&&0===a[u]&&!(128&a[u+1]);--c,++u);if(a=a.subarray(u),128&a[0])return 1;if(c>1&&0===a[0]&&!(128&a[1]))return 1;let l=s.subarray(39,72);l[0]=0,l.set(n,1);let f=33,d=0;for(;f>1&&0===l[d]&&!(128&l[d+1]);--f,++d);return l=l.subarray(d),128&l[0]||f>1&&0===l[0]&&!(128&l[1])?1:(e.outputlen=6+c+f,s[0]=48,s[1]=e.outputlen-2,s[2]=2,s[3]=a.length,s.set(a,4),s[4+c]=2,s[5+c]=l.length,s.set(l,6+c),0)},signatureImport(e,t){if(t.length<8)return 1;if(t.length>72)return 1;if(48!==t[0])return 1;if(t[1]!==t.length-2)return 1;if(2!==t[2])return 1;const r=t[3];if(0===r)return 1;if(5+r>=t.length)return 1;if(2!==t[4+r])return 1;const n=t[5+r];if(0===n)return 1;if(6+r+n!==t.length)return 1;if(128&t[4])return 1;if(r>1&&0===t[4]&&!(128&t[5]))return 1;if(128&t[r+6])return 1;if(n>1&&0===t[r+6]&&!(128&t[r+7]))return 1;let s=t.subarray(4,4+r);if(33===s.length&&0===s[0]&&(s=s.subarray(1)),s.length>32)return 1;let a=t.subarray(6+r);if(33===a.length&&0===a[0]&&(a=a.slice(1)),a.length>32)throw new Error("S length is too long");let c=new i(s);c.cmp(o.n)>=0&&(c=new i(0));let u=new i(t.subarray(6+r));return u.cmp(o.n)>=0&&(u=new i(0)),e.set(c.toArrayLike(Uint8Array,"be",32),0),e.set(u.toArrayLike(Uint8Array,"be",32),32),0},ecdsaSign(e,t,r,s,a){if(a){const e=a;a=n=>{const o=e(t,r,null,s,n);if(!(o instanceof Uint8Array&&32===o.length))throw new Error("This is the way");return new i(o)}}const c=new i(r);if(c.cmp(o.n)>=0||c.isZero())return 1;let u;try{u=n.sign(t,r,{canonical:!0,k:a,pers:s})}catch(e){return 1}return e.signature.set(u.r.toArrayLike(Uint8Array,"be",32),0),e.signature.set(u.s.toArrayLike(Uint8Array,"be",32),32),e.recid=u.recoveryParam,0},ecdsaVerify(e,t,r){const a={r:e.subarray(0,32),s:e.subarray(32,64)},c=new i(a.r),u=new i(a.s);if(c.cmp(o.n)>=0||u.cmp(o.n)>=0)return 1;if(1===u.cmp(n.nh)||c.isZero()||u.isZero())return 3;const l=s(r);if(null===l)return 2;const f=l.getPublic();return n.verify(t,a,f)?0:3},ecdsaRecover(e,t,r,s){const c={r:t.slice(0,32),s:t.slice(32,64)},u=new i(c.r),l=new i(c.s);if(u.cmp(o.n)>=0||l.cmp(o.n)>=0)return 1;if(u.isZero()||l.isZero())return 2;let f;try{f=n.recoverPubKey(s,c,r)}catch(e){return 2}return a(e,f),0},ecdh(e,t,r,a,c,u,l){const f=s(t);if(null===f)return 1;const d=new i(r);if(d.cmp(o.n)>=0||d.isZero())return 2;const h=f.getPublic().mul(d);if(void 0===c){const t=h.encode(null,!0),r=n.hash().update(t).digest();for(let t=0;t<32;++t)e[t]=r[t]}else{u||(u=new Uint8Array(32));const t=h.getX().toArray("be",32);for(let e=0;e<32;++e)u[e]=t[e];l||(l=new Uint8Array(32));const r=h.getY().toArray("be",32);for(let e=0;e<32;++e)l[e]=r[e];const n=c(u,l,a);if(!(n instanceof Uint8Array&&n.length===e.length))return 2;e.set(n)}return 0}}},function(e,t,r){"use strict";var n=r(539),o=r(57),i=r(294),s=r(169),a=r(295),c=Object.prototype.toString;function u(e){if(!(this instanceof u))return new u(e);this.options=o.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==r)throw new Error(s[r]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var l;if(l="string"==typeof t.dictionary?i.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(r=n.deflateSetDictionary(this.strm,l)))throw new Error(s[r]);this._dict_set=!0}}function l(e,t){var r=new u(t);if(r.push(e,!0),r.err)throw r.msg||s[r.err];return r.result}u.prototype.push=function(e,t){var r,s,a=this.strm,u=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:!0===t?4:0,"string"==typeof e?a.input=i.string2buf(e):"[object ArrayBuffer]"===c.call(e)?a.input=new Uint8Array(e):a.input=e,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new o.Buf8(u),a.next_out=0,a.avail_out=u),1!==(r=n.deflate(a,s))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==a.avail_out&&(0!==a.avail_in||4!==s&&2!==s)||("string"===this.options.to?this.onData(i.buf2binstring(o.shrinkBuf(a.output,a.next_out))):this.onData(o.shrinkBuf(a.output,a.next_out)))}while((a.avail_in>0||0===a.avail_out)&&1!==r);return 4===s?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==s||(this.onEnd(0),a.avail_out=0,!0)},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Deflate=u,t.deflate=l,t.deflateRaw=function(e,t){return(t=t||{}).raw=!0,l(e,t)},t.gzip=function(e,t){return(t=t||{}).gzip=!0,l(e,t)}},function(e,t,r){"use strict";var n,o=r(57),i=r(540),s=r(292),a=r(293),c=r(169);function u(e,t){return e.msg=c[t],t}function l(e){return(e<<1)-(e>4?9:0)}function f(e){for(var t=e.length;--t>=0;)e[t]=0}function d(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(o.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function h(e,t){i._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,d(e.strm)}function p(e,t){e.pending_buf[e.pending++]=t}function g(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function m(e,t){var r,n,o=e.max_chain_length,i=e.strstart,s=e.prev_length,a=e.nice_match,c=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,u=e.window,l=e.w_mask,f=e.prev,d=e.strstart+258,h=u[i+s-1],p=u[i+s];e.prev_length>=e.good_match&&(o>>=2),a>e.lookahead&&(a=e.lookahead);do{if(u[(r=t)+s]===p&&u[r+s-1]===h&&u[r]===u[i]&&u[++r]===u[i+1]){i+=2,r++;do{}while(u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&is){if(e.match_start=t,s=n,n>=a)break;h=u[i+s-1],p=u[i+s]}}}while((t=f[t&l])>c&&0!=--o);return s<=e.lookahead?s:e.lookahead}function y(e){var t,r,n,i,c,u,l,f,d,h,p=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-262)){o.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=p?n-p:0}while(--r);t=r=p;do{n=e.prev[--t],e.prev[t]=n>=p?n-p:0}while(--r);i+=p}if(0===e.strm.avail_in)break;if(u=e.strm,l=e.window,f=e.strstart+e.lookahead,d=i,h=void 0,(h=u.avail_in)>d&&(h=d),r=0===h?0:(u.avail_in-=h,o.arraySet(l,u.input,u.next_in,h,f),1===u.state.wrap?u.adler=s(u.adler,l,h,f):2===u.state.wrap&&(u.adler=a(u.adler,l,h,f)),u.next_in+=h,u.total_in+=h,h),e.lookahead+=r,e.lookahead+e.insert>=3)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3)if(n=i._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){o=e.strstart+e.lookahead-3,n=i._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=o&&(e.ins_h=(e.ins_h<15&&(a=2,n-=16),i<1||i>9||8!==r||n<8||n>15||t<0||t>9||s<0||s>4)return u(e,-2);8===n&&(n=9);var c=new _;return e.state=c,c.strm=e,c.wrap=a,c.gzhead=null,c.w_bits=n,c.w_size=1<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(y(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,h(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-262&&(h(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(h(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(h(e,!1),e.strm.avail_out),1)})),new w(4,4,8,4,b),new w(4,5,16,8,b),new w(4,6,32,32,b),new w(4,4,16,16,v),new w(8,16,32,32,v),new w(8,16,128,128,v),new w(8,32,128,256,v),new w(32,128,258,1024,v),new w(32,258,258,4096,v)],t.deflateInit=function(e,t){return O(e,t,8,15,8,0)},t.deflateInit2=O,t.deflateReset=S,t.deflateResetKeep=k,t.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?-2:(e.state.gzhead=t,0):-2},t.deflate=function(e,t){var r,o,s,c;if(!e||!e.state||t>5||t<0)return e?u(e,-2):-2;if(o=e.state,!e.output||!e.input&&0!==e.avail_in||666===o.status&&4!==t)return u(e,0===e.avail_out?-5:-2);if(o.strm=e,r=o.last_flush,o.last_flush=t,42===o.status)if(2===o.wrap)e.adler=0,p(o,31),p(o,139),p(o,8),o.gzhead?(p(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),p(o,255&o.gzhead.time),p(o,o.gzhead.time>>8&255),p(o,o.gzhead.time>>16&255),p(o,o.gzhead.time>>24&255),p(o,9===o.level?2:o.strategy>=2||o.level<2?4:0),p(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(p(o,255&o.gzhead.extra.length),p(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(e.adler=a(e.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=69):(p(o,0),p(o,0),p(o,0),p(o,0),p(o,0),p(o,9===o.level?2:o.strategy>=2||o.level<2?4:0),p(o,3),o.status=113);else{var m=8+(o.w_bits-8<<4)<<8;m|=(o.strategy>=2||o.level<2?0:o.level<6?1:6===o.level?2:3)<<6,0!==o.strstart&&(m|=32),m+=31-m%31,o.status=113,g(o,m),0!==o.strstart&&(g(o,e.adler>>>16),g(o,65535&e.adler)),e.adler=1}if(69===o.status)if(o.gzhead.extra){for(s=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>s&&(e.adler=a(e.adler,o.pending_buf,o.pending-s,s)),d(e),s=o.pending,o.pending!==o.pending_buf_size));)p(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>s&&(e.adler=a(e.adler,o.pending_buf,o.pending-s,s)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=73)}else o.status=73;if(73===o.status)if(o.gzhead.name){s=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>s&&(e.adler=a(e.adler,o.pending_buf,o.pending-s,s)),d(e),s=o.pending,o.pending===o.pending_buf_size)){c=1;break}c=o.gzindexs&&(e.adler=a(e.adler,o.pending_buf,o.pending-s,s)),0===c&&(o.gzindex=0,o.status=91)}else o.status=91;if(91===o.status)if(o.gzhead.comment){s=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>s&&(e.adler=a(e.adler,o.pending_buf,o.pending-s,s)),d(e),s=o.pending,o.pending===o.pending_buf_size)){c=1;break}c=o.gzindexs&&(e.adler=a(e.adler,o.pending_buf,o.pending-s,s)),0===c&&(o.status=103)}else o.status=103;if(103===o.status&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&d(e),o.pending+2<=o.pending_buf_size&&(p(o,255&e.adler),p(o,e.adler>>8&255),e.adler=0,o.status=113)):o.status=113),0!==o.pending){if(d(e),0===e.avail_out)return o.last_flush=-1,0}else if(0===e.avail_in&&l(t)<=l(r)&&4!==t)return u(e,-5);if(666===o.status&&0!==e.avail_in)return u(e,-5);if(0!==e.avail_in||0!==o.lookahead||0!==t&&666!==o.status){var b=2===o.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(y(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(h(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(h(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(h(e,!1),0===e.strm.avail_out)?1:2}(o,t):3===o.strategy?function(e,t){for(var r,n,o,s,a=e.window;;){if(e.lookahead<=258){if(y(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(n=a[o=e.strstart-1])===a[++o]&&n===a[++o]&&n===a[++o]){s=e.strstart+258;do{}while(n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&oe.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=i._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(h(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(h(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(h(e,!1),0===e.strm.avail_out)?1:2}(o,t):n[o.level].func(o,t);if(3!==b&&4!==b||(o.status=666),1===b||3===b)return 0===e.avail_out&&(o.last_flush=-1),0;if(2===b&&(1===t?i._tr_align(o):5!==t&&(i._tr_stored_block(o,0,0,!1),3===t&&(f(o.head),0===o.lookahead&&(o.strstart=0,o.block_start=0,o.insert=0))),d(e),0===e.avail_out))return o.last_flush=-1,0}return 4!==t?0:o.wrap<=0?1:(2===o.wrap?(p(o,255&e.adler),p(o,e.adler>>8&255),p(o,e.adler>>16&255),p(o,e.adler>>24&255),p(o,255&e.total_in),p(o,e.total_in>>8&255),p(o,e.total_in>>16&255),p(o,e.total_in>>24&255)):(g(o,e.adler>>>16),g(o,65535&e.adler)),d(e),o.wrap>0&&(o.wrap=-o.wrap),0!==o.pending?0:1)},t.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?u(e,-2):(e.state=null,113===t?u(e,-3):0):-2},t.deflateSetDictionary=function(e,t){var r,n,i,a,c,u,l,d,h=t.length;if(!e||!e.state)return-2;if(2===(a=(r=e.state).wrap)||1===a&&42!==r.status||r.lookahead)return-2;for(1===a&&(e.adler=s(e.adler,t,h,0)),r.wrap=0,h>=r.w_size&&(0===a&&(f(r.head),r.strstart=0,r.block_start=0,r.insert=0),d=new o.Buf8(r.w_size),o.arraySet(d,t,h-r.w_size,r.w_size,0),t=d,h=r.w_size),c=e.avail_in,u=e.next_in,l=e.input,e.avail_in=h,e.next_in=0,e.input=t,y(r);r.lookahead>=3;){n=r.strstart,i=r.lookahead-2;do{r.ins_h=(r.ins_h<=0;)e[t]=0}var i=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],s=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],c=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],u=new Array(576);o(u);var l=new Array(60);o(l);var f=new Array(512);o(f);var d=new Array(256);o(d);var h=new Array(29);o(h);var p,g,m,y=new Array(30);function b(e,t,r,n,o){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=o,this.has_stree=e&&e.length}function v(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function w(e){return e<256?f[e]:f[256+(e>>>7)]}function _(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function k(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<>>=1,r<<=1}while(--t>0);return r>>>1}function j(e,t,r){var n,o,i=new Array(16),s=0;for(n=1;n<=15;n++)i[n]=s=s+r[n-1]<<1;for(o=0;o<=t;o++){var a=e[2*o+1];0!==a&&(e[2*o]=O(i[a]++,a))}}function E(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function P(e){e.bi_valid>8?_(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function x(e,t,r,n){var o=2*t,i=2*r;return e[o]>1;r>=1;r--)A(e,i,r);o=c;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],A(e,i,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,i[2*o]=i[2*r]+i[2*n],e.depth[o]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,i[2*r+1]=i[2*n+1]=o,e.heap[1]=o++,A(e,i,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,o,i,s,a,c=t.dyn_tree,u=t.max_code,l=t.stat_desc.static_tree,f=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,p=t.stat_desc.max_length,g=0;for(i=0;i<=15;i++)e.bl_count[i]=0;for(c[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)(i=c[2*c[2*(n=e.heap[r])+1]+1]+1)>p&&(i=p,g++),c[2*n+1]=i,n>u||(e.bl_count[i]++,s=0,n>=h&&(s=d[n-h]),a=c[2*n],e.opt_len+=a*(i+s),f&&(e.static_len+=a*(l[2*n+1]+s)));if(0!==g){do{for(i=p-1;0===e.bl_count[i];)i--;e.bl_count[i]--,e.bl_count[i+1]+=2,e.bl_count[p]--,g-=2}while(g>0);for(i=p;0!==i;i--)for(n=e.bl_count[i];0!==n;)(o=e.heap[--r])>u||(c[2*o+1]!==i&&(e.opt_len+=(i-c[2*o+1])*c[2*o],c[2*o+1]=i),n--)}}(e,t),j(i,u,e.bl_count)}function C(e,t,r){var n,o,i=-1,s=t[1],a=0,c=7,u=4;for(0===s&&(c=138,u=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)o=s,s=t[2*(n+1)+1],++a>=7;n<30;n++)for(y[n]=o<<7,e=0;e<1<0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),I(e,e.l_desc),I(e,e.d_desc),s=function(e){var t;for(C(e,e.dyn_ltree,e.l_desc.max_code),C(e,e.dyn_dtree,e.d_desc.max_code),I(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*c[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),o=e.opt_len+3+7>>>3,(i=e.static_len+3+7>>>3)<=o&&(o=i)):o=i=r+5,r+4<=o&&-1!==t?N(e,t,r,n):4===e.strategy||i===o?(k(e,2+(n?1:0),3),M(e,u,l)):(k(e,4+(n?1:0),3),function(e,t,r,n){var o;for(k(e,t-257,5),k(e,r-1,5),k(e,n-4,4),o=0;o>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(d[r]+256+1)]++,e.dyn_dtree[2*w(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){k(e,2,3),S(e,256,u),function(e){16===e.bi_valid?(_(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},function(e,t,r){"use strict";var n=r(542),o=r(57),i=r(294),s=r(296),a=r(169),c=r(295),u=r(545),l=Object.prototype.toString;function f(e){if(!(this instanceof f))return new f(e);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==s.Z_OK)throw new Error(a[r]);if(this.header=new u,n.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=i.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=n.inflateSetDictionary(this.strm,t.dictionary))!==s.Z_OK))throw new Error(a[r])}function d(e,t){var r=new f(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}f.prototype.push=function(e,t){var r,a,c,u,f,d=this.strm,h=this.options.chunkSize,p=this.options.dictionary,g=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof e?d.input=i.binstring2buf(e):"[object ArrayBuffer]"===l.call(e)?d.input=new Uint8Array(e):d.input=e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new o.Buf8(h),d.next_out=0,d.avail_out=h),(r=n.inflate(d,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===s.Z_BUF_ERROR&&!0===g&&(r=s.Z_OK,g=!1),r!==s.Z_STREAM_END&&r!==s.Z_OK)return this.onEnd(r),this.ended=!0,!1;d.next_out&&(0!==d.avail_out&&r!==s.Z_STREAM_END&&(0!==d.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(c=i.utf8border(d.output,d.next_out),u=d.next_out-c,f=i.buf2string(d.output,c),d.next_out=u,d.avail_out=h-u,u&&o.arraySet(d.output,d.output,c,u,0),this.onData(f)):this.onData(o.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(g=!0)}while((d.avail_in>0||0===d.avail_out)&&r!==s.Z_STREAM_END);return r===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),d.avail_out=0,!0)},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=f,t.inflate=d,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,d(e,t)},t.ungzip=d},function(e,t,r){"use strict";var n=r(57),o=r(292),i=r(293),s=r(543),a=r(544);function c(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function u(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function l(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(852),t.distcode=t.distdyn=new n.Buf32(592),t.sane=1,t.back=-1,0):-2}function f(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,l(e)):-2}function d(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,f(e))):-2}function h(e,t){var r,n;return e?(n=new u,e.state=n,n.window=null,0!==(r=d(e,t))&&(e.state=null),r):-2}var p,g,m=!0;function y(e){if(m){var t;for(p=new n.Buf32(512),g=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(1,e.lens,0,288,p,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(2,e.lens,0,32,g,0,e.work,{bits:5}),m=!1}e.lencode=p,e.lenbits=9,e.distcode=g,e.distbits=5}function b(e,t,r,o){var i,s=e.state;return null===s.window&&(s.wsize=1<=s.wsize?(n.arraySet(s.window,t,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((i=s.wsize-s.wnext)>o&&(i=o),n.arraySet(s.window,t,r-o,i,s.wnext),(o-=i)?(n.arraySet(s.window,t,r-o,o,0),s.wnext=o,s.whave=s.wsize):(s.wnext+=i,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=i(r.check,N,2,0),g=0,m=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&g)<<8)+(g>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&g)){e.msg="unknown compression method",r.mode=30;break}if(m-=4,M=8+(15&(g>>>=4)),0===r.wbits)r.wbits=M;else if(M>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(N[0]=255&g,N[1]=g>>>8&255,r.check=i(r.check,N,2,0)),g=0,m=0,r.mode=3;case 3:for(;m<32;){if(0===h)break e;h--,g+=u[f++]<>>8&255,N[2]=g>>>16&255,N[3]=g>>>24&255,r.check=i(r.check,N,4,0)),g=0,m=0,r.mode=4;case 4:for(;m<16;){if(0===h)break e;h--,g+=u[f++]<>8),512&r.flags&&(N[0]=255&g,N[1]=g>>>8&255,r.check=i(r.check,N,2,0)),g=0,m=0,r.mode=5;case 5:if(1024&r.flags){for(;m<16;){if(0===h)break e;h--,g+=u[f++]<>>8&255,r.check=i(r.check,N,2,0)),g=0,m=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((_=r.length)>h&&(_=h),_&&(r.head&&(M=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,u,f,_,M)),512&r.flags&&(r.check=i(r.check,u,_,f)),h-=_,f+=_,r.length-=_),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===h)break e;_=0;do{M=u[f+_++],r.head&&M&&r.length<65536&&(r.head.name+=String.fromCharCode(M))}while(M&&_>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;m<32;){if(0===h)break e;h--,g+=u[f++]<>>=7&m,m-=7&m,r.mode=27;break}for(;m<3;){if(0===h)break e;h--,g+=u[f++]<>>=1)){case 0:r.mode=14;break;case 1:if(y(r),r.mode=20,6===t){g>>>=2,m-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}g>>>=2,m-=2;break;case 14:for(g>>>=7&m,m-=7&m;m<32;){if(0===h)break e;h--,g+=u[f++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&g,g=0,m=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(_=r.length){if(_>h&&(_=h),_>p&&(_=p),0===_)break e;n.arraySet(l,u,f,_,d),h-=_,f+=_,p-=_,d+=_,r.length-=_;break}r.mode=12;break;case 17:for(;m<14;){if(0===h)break e;h--,g+=u[f++]<>>=5,m-=5,r.ndist=1+(31&g),g>>>=5,m-=5,r.ncode=4+(15&g),g>>>=4,m-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have>>=3,m-=3}for(;r.have<19;)r.lens[B[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},I=a(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,I){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,E=65535&T,!((O=T>>>24)<=m);){if(0===h)break e;h--,g+=u[f++]<>>=O,m-=O,r.lens[r.have++]=E;else{if(16===E){for(R=O+2;m>>=O,m-=O,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}M=r.lens[r.have-1],_=3+(3&g),g>>>=2,m-=2}else if(17===E){for(R=O+3;m>>=O)),g>>>=3,m-=3}else{for(R=O+7;m>>=O)),g>>>=7,m-=7}if(r.have+_>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;_--;)r.lens[r.have++]=M}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,C={bits:r.lenbits},I=a(1,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,I){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},I=a(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,I){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(h>=6&&p>=258){e.next_out=d,e.avail_out=p,e.next_in=f,e.avail_in=h,r.hold=g,r.bits=m,s(e,w),d=e.next_out,l=e.output,p=e.avail_out,f=e.next_in,u=e.input,h=e.avail_in,g=r.hold,m=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;j=(T=r.lencode[g&(1<>>16&255,E=65535&T,!((O=T>>>24)<=m);){if(0===h)break e;h--,g+=u[f++]<>P)])>>>16&255,E=65535&T,!(P+(O=T>>>24)<=m);){if(0===h)break e;h--,g+=u[f++]<>>=P,m-=P,r.back+=P}if(g>>>=O,m-=O,r.back+=O,r.length=E,0===j){r.mode=26;break}if(32&j){r.back=-1,r.mode=12;break}if(64&j){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&j,r.mode=22;case 22:if(r.extra){for(R=r.extra;m>>=r.extra,m-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;j=(T=r.distcode[g&(1<>>16&255,E=65535&T,!((O=T>>>24)<=m);){if(0===h)break e;h--,g+=u[f++]<>P)])>>>16&255,E=65535&T,!(P+(O=T>>>24)<=m);){if(0===h)break e;h--,g+=u[f++]<>>=P,m-=P,r.back+=P}if(g>>>=O,m-=O,r.back+=O,64&j){e.msg="invalid distance code",r.mode=30;break}r.offset=E,r.extra=15&j,r.mode=24;case 24:if(r.extra){for(R=r.extra;m>>=r.extra,m-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===p)break e;if(_=w-p,r.offset>_){if((_=r.offset-_)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}_>r.wnext?(_-=r.wnext,k=r.wsize-_):k=r.wnext-_,_>r.length&&(_=r.length),S=r.window}else S=l,k=d-r.offset,_=r.length;_>p&&(_=p),p-=_,r.length-=_;do{l[d++]=S[k++]}while(--_);0===r.length&&(r.mode=21);break;case 26:if(0===p)break e;l[d++]=r.length,p--,r.mode=21;break;case 27:if(r.wrap){for(;m<32;){if(0===h)break e;h--,g|=u[f++]<>>=w=v>>>24,p-=w,0===(w=v>>>16&255))E[i++]=65535&v;else{if(!(16&w)){if(0==(64&w)){v=g[(65535&v)+(h&(1<>>=w,p-=w),p<15&&(h+=j[n++]<>>=w=v>>>24,p-=w,!(16&(w=v>>>16&255))){if(0==(64&w)){v=m[(65535&v)+(h&(1<c){e.msg="invalid distance too far back",r.mode=30;break e}if(h>>>=w,p-=w,k>(w=i-s)){if((w=k-w)>l&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(S=0,O=d,0===f){if(S+=u-w,w<_){_-=w;do{E[i++]=d[S++]}while(--w);S=i-k,O=E}}else if(f2;)E[i++]=O[S++],E[i++]=O[S++],E[i++]=O[S++],_-=3;_&&(E[i++]=O[S++],_>1&&(E[i++]=O[S++]))}else{S=i-k;do{E[i++]=E[S++],E[i++]=E[S++],E[i++]=E[S++],_-=3}while(_>2);_&&(E[i++]=E[S++],_>1&&(E[i++]=E[S++]))}break}}break}}while(n>3,h&=(1<<(p-=_<<3))-1,e.next_in=n,e.next_out=i,e.avail_in=n=1&&0===N[E];E--);if(P>E&&(P=E),0===E)return u[l++]=20971520,u[l++]=20971520,d.bits=1,0;for(j=1;j0&&(0===e||1!==E))return-1;for(B[1]=0,S=1;S<15;S++)B[S+1]=B[S]+N[S];for(O=0;O852||2===e&&I>592)return 1;for(;;){v=S-A,f[O]b?(w=D[L+f[O]],_=R[T+f[O]]):(w=96,_=0),h=1<>A)+(p-=h)]=v<<24|w<<16|_|0}while(0!==p);for(h=1<>=1;if(0!==h?(C&=h-1,C+=h):C=0,O++,0==--N[S]){if(S===E)break;S=t[r+f[O]]}if(S>P&&(C&m)!==g){for(0===A&&(A=P),y+=j,M=1<<(x=S-A);x+A852||2===e&&I>592)return 1;u[g=C&m]=P<<24|x<<16|y-l|0}}return 0!==C&&(u[y+C]=S-A<<24|64<<16|0),d.bits=P,0}},function(e,t,r){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseKVStore=void 0;t.BaseKVStore=class{constructor(e,t){this.provider=e,this._prefix=t}get(e){return n(this,void 0,void 0,(function*(){const t=this.prefix()+"/"+e;return(yield this.provider.get())[t]}))}set(e,t){const r=this.prefix()+"/"+e;return this.provider.set({[r]:t})}prefix(){return this._prefix}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.Mnemonic=void 0;const o=r(69),i=r(557),s=r(2);class a{static generateWallet(e,t="m/44'/118'/0'/0/0",r="",o=256){return n(this,void 0,void 0,(function*(){const n=yield a.generateSeed(e,o);return{privKey:a.generateWalletFromMnemonic(n,t,r),mnemonic:n}}))}static validateMnemonic(e){o.validateMnemonic(e)}static generateSeed(e,t=128){return n(this,void 0,void 0,(function*(){if(t%32!=0)throw new TypeError("invalid entropy");let r=new Uint8Array(t/8);return r=yield e(r),o.entropyToMnemonic(s.Buffer.from(r).toString("hex"))}))}static generateWalletFromMnemonic(e,t="m/44'/118'/0'/0/0",r=""){const n=o.mnemonicToSeedSync(e,r),s=i.fromSeed(n).derivePath(t).privateKey;if(!s)throw new Error("null hd key");return s}}t.Mnemonic=a},function(e){e.exports=JSON.parse('["abdikace","abeceda","adresa","agrese","akce","aktovka","alej","alkohol","amputace","ananas","andulka","anekdota","anketa","antika","anulovat","archa","arogance","asfalt","asistent","aspirace","astma","astronom","atlas","atletika","atol","autobus","azyl","babka","bachor","bacil","baculka","badatel","bageta","bagr","bahno","bakterie","balada","baletka","balkon","balonek","balvan","balza","bambus","bankomat","barbar","baret","barman","baroko","barva","baterka","batoh","bavlna","bazalka","bazilika","bazuka","bedna","beran","beseda","bestie","beton","bezinka","bezmoc","beztak","bicykl","bidlo","biftek","bikiny","bilance","biograf","biolog","bitva","bizon","blahobyt","blatouch","blecha","bledule","blesk","blikat","blizna","blokovat","bloudit","blud","bobek","bobr","bodlina","bodnout","bohatost","bojkot","bojovat","bokorys","bolest","borec","borovice","bota","boubel","bouchat","bouda","boule","bourat","boxer","bradavka","brambora","branka","bratr","brepta","briketa","brko","brloh","bronz","broskev","brunetka","brusinka","brzda","brzy","bublina","bubnovat","buchta","buditel","budka","budova","bufet","bujarost","bukvice","buldok","bulva","bunda","bunkr","burza","butik","buvol","buzola","bydlet","bylina","bytovka","bzukot","capart","carevna","cedr","cedule","cejch","cejn","cela","celer","celkem","celnice","cenina","cennost","cenovka","centrum","cenzor","cestopis","cetka","chalupa","chapadlo","charita","chata","chechtat","chemie","chichot","chirurg","chlad","chleba","chlubit","chmel","chmura","chobot","chochol","chodba","cholera","chomout","chopit","choroba","chov","chrapot","chrlit","chrt","chrup","chtivost","chudina","chutnat","chvat","chvilka","chvost","chyba","chystat","chytit","cibule","cigareta","cihelna","cihla","cinkot","cirkus","cisterna","citace","citrus","cizinec","cizost","clona","cokoliv","couvat","ctitel","ctnost","cudnost","cuketa","cukr","cupot","cvaknout","cval","cvik","cvrkot","cyklista","daleko","dareba","datel","datum","dcera","debata","dechovka","decibel","deficit","deflace","dekl","dekret","demokrat","deprese","derby","deska","detektiv","dikobraz","diktovat","dioda","diplom","disk","displej","divadlo","divoch","dlaha","dlouho","dluhopis","dnes","dobro","dobytek","docent","dochutit","dodnes","dohled","dohoda","dohra","dojem","dojnice","doklad","dokola","doktor","dokument","dolar","doleva","dolina","doma","dominant","domluvit","domov","donutit","dopad","dopis","doplnit","doposud","doprovod","dopustit","dorazit","dorost","dort","dosah","doslov","dostatek","dosud","dosyta","dotaz","dotek","dotknout","doufat","doutnat","dovozce","dozadu","doznat","dozorce","drahota","drak","dramatik","dravec","draze","drdol","drobnost","drogerie","drozd","drsnost","drtit","drzost","duben","duchovno","dudek","duha","duhovka","dusit","dusno","dutost","dvojice","dvorec","dynamit","ekolog","ekonomie","elektron","elipsa","email","emise","emoce","empatie","epizoda","epocha","epopej","epos","esej","esence","eskorta","eskymo","etiketa","euforie","evoluce","exekuce","exkurze","expedice","exploze","export","extrakt","facka","fajfka","fakulta","fanatik","fantazie","farmacie","favorit","fazole","federace","fejeton","fenka","fialka","figurant","filozof","filtr","finance","finta","fixace","fjord","flanel","flirt","flotila","fond","fosfor","fotbal","fotka","foton","frakce","freska","fronta","fukar","funkce","fyzika","galeje","garant","genetika","geolog","gilotina","glazura","glejt","golem","golfista","gotika","graf","gramofon","granule","grep","gril","grog","groteska","guma","hadice","hadr","hala","halenka","hanba","hanopis","harfa","harpuna","havran","hebkost","hejkal","hejno","hejtman","hektar","helma","hematom","herec","herna","heslo","hezky","historik","hladovka","hlasivky","hlava","hledat","hlen","hlodavec","hloh","hloupost","hltat","hlubina","hluchota","hmat","hmota","hmyz","hnis","hnojivo","hnout","hoblina","hoboj","hoch","hodiny","hodlat","hodnota","hodovat","hojnost","hokej","holinka","holka","holub","homole","honitba","honorace","horal","horda","horizont","horko","horlivec","hormon","hornina","horoskop","horstvo","hospoda","hostina","hotovost","houba","houf","houpat","houska","hovor","hradba","hranice","hravost","hrazda","hrbolek","hrdina","hrdlo","hrdost","hrnek","hrobka","hromada","hrot","hrouda","hrozen","hrstka","hrubost","hryzat","hubenost","hubnout","hudba","hukot","humr","husita","hustota","hvozd","hybnost","hydrant","hygiena","hymna","hysterik","idylka","ihned","ikona","iluze","imunita","infekce","inflace","inkaso","inovace","inspekce","internet","invalida","investor","inzerce","ironie","jablko","jachta","jahoda","jakmile","jakost","jalovec","jantar","jarmark","jaro","jasan","jasno","jatka","javor","jazyk","jedinec","jedle","jednatel","jehlan","jekot","jelen","jelito","jemnost","jenom","jepice","jeseter","jevit","jezdec","jezero","jinak","jindy","jinoch","jiskra","jistota","jitrnice","jizva","jmenovat","jogurt","jurta","kabaret","kabel","kabinet","kachna","kadet","kadidlo","kahan","kajak","kajuta","kakao","kaktus","kalamita","kalhoty","kalibr","kalnost","kamera","kamkoliv","kamna","kanibal","kanoe","kantor","kapalina","kapela","kapitola","kapka","kaple","kapota","kapr","kapusta","kapybara","karamel","karotka","karton","kasa","katalog","katedra","kauce","kauza","kavalec","kazajka","kazeta","kazivost","kdekoliv","kdesi","kedluben","kemp","keramika","kino","klacek","kladivo","klam","klapot","klasika","klaun","klec","klenba","klepat","klesnout","klid","klima","klisna","klobouk","klokan","klopa","kloub","klubovna","klusat","kluzkost","kmen","kmitat","kmotr","kniha","knot","koalice","koberec","kobka","kobliha","kobyla","kocour","kohout","kojenec","kokos","koktejl","kolaps","koleda","kolize","kolo","komando","kometa","komik","komnata","komora","kompas","komunita","konat","koncept","kondice","konec","konfese","kongres","konina","konkurs","kontakt","konzerva","kopanec","kopie","kopnout","koprovka","korbel","korektor","kormidlo","koroptev","korpus","koruna","koryto","korzet","kosatec","kostka","kotel","kotleta","kotoul","koukat","koupelna","kousek","kouzlo","kovboj","koza","kozoroh","krabice","krach","krajina","kralovat","krasopis","kravata","kredit","krejcar","kresba","kreveta","kriket","kritik","krize","krkavec","krmelec","krmivo","krocan","krok","kronika","kropit","kroupa","krovka","krtek","kruhadlo","krupice","krutost","krvinka","krychle","krypta","krystal","kryt","kudlanka","kufr","kujnost","kukla","kulajda","kulich","kulka","kulomet","kultura","kuna","kupodivu","kurt","kurzor","kutil","kvalita","kvasinka","kvestor","kynolog","kyselina","kytara","kytice","kytka","kytovec","kyvadlo","labrador","lachtan","ladnost","laik","lakomec","lamela","lampa","lanovka","lasice","laso","lastura","latinka","lavina","lebka","leckdy","leden","lednice","ledovka","ledvina","legenda","legie","legrace","lehce","lehkost","lehnout","lektvar","lenochod","lentilka","lepenka","lepidlo","letadlo","letec","letmo","letokruh","levhart","levitace","levobok","libra","lichotka","lidojed","lidskost","lihovina","lijavec","lilek","limetka","linie","linka","linoleum","listopad","litina","litovat","lobista","lodivod","logika","logoped","lokalita","loket","lomcovat","lopata","lopuch","lord","losos","lotr","loudal","louh","louka","louskat","lovec","lstivost","lucerna","lucifer","lump","lusk","lustrace","lvice","lyra","lyrika","lysina","madam","madlo","magistr","mahagon","majetek","majitel","majorita","makak","makovice","makrela","malba","malina","malovat","malvice","maminka","mandle","manko","marnost","masakr","maskot","masopust","matice","matrika","maturita","mazanec","mazivo","mazlit","mazurka","mdloba","mechanik","meditace","medovina","melasa","meloun","mentolka","metla","metoda","metr","mezera","migrace","mihnout","mihule","mikina","mikrofon","milenec","milimetr","milost","mimika","mincovna","minibar","minomet","minulost","miska","mistr","mixovat","mladost","mlha","mlhovina","mlok","mlsat","mluvit","mnich","mnohem","mobil","mocnost","modelka","modlitba","mohyla","mokro","molekula","momentka","monarcha","monokl","monstrum","montovat","monzun","mosaz","moskyt","most","motivace","motorka","motyka","moucha","moudrost","mozaika","mozek","mozol","mramor","mravenec","mrkev","mrtvola","mrzet","mrzutost","mstitel","mudrc","muflon","mulat","mumie","munice","muset","mutace","muzeum","muzikant","myslivec","mzda","nabourat","nachytat","nadace","nadbytek","nadhoz","nadobro","nadpis","nahlas","nahnat","nahodile","nahradit","naivita","najednou","najisto","najmout","naklonit","nakonec","nakrmit","nalevo","namazat","namluvit","nanometr","naoko","naopak","naostro","napadat","napevno","naplnit","napnout","naposled","naprosto","narodit","naruby","narychlo","nasadit","nasekat","naslepo","nastat","natolik","navenek","navrch","navzdory","nazvat","nebe","nechat","necky","nedaleko","nedbat","neduh","negace","nehet","nehoda","nejen","nejprve","neklid","nelibost","nemilost","nemoc","neochota","neonka","nepokoj","nerost","nerv","nesmysl","nesoulad","netvor","neuron","nevina","nezvykle","nicota","nijak","nikam","nikdy","nikl","nikterak","nitro","nocleh","nohavice","nominace","nora","norek","nositel","nosnost","nouze","noviny","novota","nozdra","nuda","nudle","nuget","nutit","nutnost","nutrie","nymfa","obal","obarvit","obava","obdiv","obec","obehnat","obejmout","obezita","obhajoba","obilnice","objasnit","objekt","obklopit","oblast","oblek","obliba","obloha","obluda","obnos","obohatit","obojek","obout","obrazec","obrna","obruba","obrys","obsah","obsluha","obstarat","obuv","obvaz","obvinit","obvod","obvykle","obyvatel","obzor","ocas","ocel","ocenit","ochladit","ochota","ochrana","ocitnout","odboj","odbyt","odchod","odcizit","odebrat","odeslat","odevzdat","odezva","odhadce","odhodit","odjet","odjinud","odkaz","odkoupit","odliv","odluka","odmlka","odolnost","odpad","odpis","odplout","odpor","odpustit","odpykat","odrazka","odsoudit","odstup","odsun","odtok","odtud","odvaha","odveta","odvolat","odvracet","odznak","ofina","ofsajd","ohlas","ohnisko","ohrada","ohrozit","ohryzek","okap","okenice","oklika","okno","okouzlit","okovy","okrasa","okres","okrsek","okruh","okupant","okurka","okusit","olejnina","olizovat","omak","omeleta","omezit","omladina","omlouvat","omluva","omyl","onehdy","opakovat","opasek","operace","opice","opilost","opisovat","opora","opozice","opravdu","oproti","orbital","orchestr","orgie","orlice","orloj","ortel","osada","oschnout","osika","osivo","oslava","oslepit","oslnit","oslovit","osnova","osoba","osolit","ospalec","osten","ostraha","ostuda","ostych","osvojit","oteplit","otisk","otop","otrhat","otrlost","otrok","otruby","otvor","ovanout","ovar","oves","ovlivnit","ovoce","oxid","ozdoba","pachatel","pacient","padouch","pahorek","pakt","palanda","palec","palivo","paluba","pamflet","pamlsek","panenka","panika","panna","panovat","panstvo","pantofle","paprika","parketa","parodie","parta","paruka","paryba","paseka","pasivita","pastelka","patent","patrona","pavouk","pazneht","pazourek","pecka","pedagog","pejsek","peklo","peloton","penalta","pendrek","penze","periskop","pero","pestrost","petarda","petice","petrolej","pevnina","pexeso","pianista","piha","pijavice","pikle","piknik","pilina","pilnost","pilulka","pinzeta","pipeta","pisatel","pistole","pitevna","pivnice","pivovar","placenta","plakat","plamen","planeta","plastika","platit","plavidlo","plaz","plech","plemeno","plenta","ples","pletivo","plevel","plivat","plnit","plno","plocha","plodina","plomba","plout","pluk","plyn","pobavit","pobyt","pochod","pocit","poctivec","podat","podcenit","podepsat","podhled","podivit","podklad","podmanit","podnik","podoba","podpora","podraz","podstata","podvod","podzim","poezie","pohanka","pohnutka","pohovor","pohroma","pohyb","pointa","pojistka","pojmout","pokazit","pokles","pokoj","pokrok","pokuta","pokyn","poledne","polibek","polknout","poloha","polynom","pomalu","pominout","pomlka","pomoc","pomsta","pomyslet","ponechat","ponorka","ponurost","popadat","popel","popisek","poplach","poprosit","popsat","popud","poradce","porce","porod","porucha","poryv","posadit","posed","posila","poskok","poslanec","posoudit","pospolu","postava","posudek","posyp","potah","potkan","potlesk","potomek","potrava","potupa","potvora","poukaz","pouto","pouzdro","povaha","povidla","povlak","povoz","povrch","povstat","povyk","povzdech","pozdrav","pozemek","poznatek","pozor","pozvat","pracovat","prahory","praktika","prales","praotec","praporek","prase","pravda","princip","prkno","probudit","procento","prodej","profese","prohra","projekt","prolomit","promile","pronikat","propad","prorok","prosba","proton","proutek","provaz","prskavka","prsten","prudkost","prut","prvek","prvohory","psanec","psovod","pstruh","ptactvo","puberta","puch","pudl","pukavec","puklina","pukrle","pult","pumpa","punc","pupen","pusa","pusinka","pustina","putovat","putyka","pyramida","pysk","pytel","racek","rachot","radiace","radnice","radon","raft","ragby","raketa","rakovina","rameno","rampouch","rande","rarach","rarita","rasovna","rastr","ratolest","razance","razidlo","reagovat","reakce","recept","redaktor","referent","reflex","rejnok","reklama","rekord","rekrut","rektor","reputace","revize","revma","revolver","rezerva","riskovat","riziko","robotika","rodokmen","rohovka","rokle","rokoko","romaneto","ropovod","ropucha","rorejs","rosol","rostlina","rotmistr","rotoped","rotunda","roubenka","roucho","roup","roura","rovina","rovnice","rozbor","rozchod","rozdat","rozeznat","rozhodce","rozinka","rozjezd","rozkaz","rozloha","rozmar","rozpad","rozruch","rozsah","roztok","rozum","rozvod","rubrika","ruchadlo","rukavice","rukopis","ryba","rybolov","rychlost","rydlo","rypadlo","rytina","ryzost","sadista","sahat","sako","samec","samizdat","samota","sanitka","sardinka","sasanka","satelit","sazba","sazenice","sbor","schovat","sebranka","secese","sedadlo","sediment","sedlo","sehnat","sejmout","sekera","sekta","sekunda","sekvoje","semeno","seno","servis","sesadit","seshora","seskok","seslat","sestra","sesuv","sesypat","setba","setina","setkat","setnout","setrvat","sever","seznam","shoda","shrnout","sifon","silnice","sirka","sirotek","sirup","situace","skafandr","skalisko","skanzen","skaut","skeptik","skica","skladba","sklenice","sklo","skluz","skoba","skokan","skoro","skripta","skrz","skupina","skvost","skvrna","slabika","sladidlo","slanina","slast","slavnost","sledovat","slepec","sleva","slezina","slib","slina","sliznice","slon","sloupek","slovo","sluch","sluha","slunce","slupka","slza","smaragd","smetana","smilstvo","smlouva","smog","smrad","smrk","smrtka","smutek","smysl","snad","snaha","snob","sobota","socha","sodovka","sokol","sopka","sotva","souboj","soucit","soudce","souhlas","soulad","soumrak","souprava","soused","soutok","souviset","spalovna","spasitel","spis","splav","spodek","spojenec","spolu","sponzor","spornost","spousta","sprcha","spustit","sranda","sraz","srdce","srna","srnec","srovnat","srpen","srst","srub","stanice","starosta","statika","stavba","stehno","stezka","stodola","stolek","stopa","storno","stoupat","strach","stres","strhnout","strom","struna","studna","stupnice","stvol","styk","subjekt","subtropy","suchar","sudost","sukno","sundat","sunout","surikata","surovina","svah","svalstvo","svetr","svatba","svazek","svisle","svitek","svoboda","svodidlo","svorka","svrab","sykavka","sykot","synek","synovec","sypat","sypkost","syrovost","sysel","sytost","tabletka","tabule","tahoun","tajemno","tajfun","tajga","tajit","tajnost","taktika","tamhle","tampon","tancovat","tanec","tanker","tapeta","tavenina","tazatel","technika","tehdy","tekutina","telefon","temnota","tendence","tenista","tenor","teplota","tepna","teprve","terapie","termoska","textil","ticho","tiskopis","titulek","tkadlec","tkanina","tlapka","tleskat","tlukot","tlupa","tmel","toaleta","topinka","topol","torzo","touha","toulec","tradice","traktor","tramp","trasa","traverza","trefit","trest","trezor","trhavina","trhlina","trochu","trojice","troska","trouba","trpce","trpitel","trpkost","trubec","truchlit","truhlice","trus","trvat","tudy","tuhnout","tuhost","tundra","turista","turnaj","tuzemsko","tvaroh","tvorba","tvrdost","tvrz","tygr","tykev","ubohost","uboze","ubrat","ubrousek","ubrus","ubytovna","ucho","uctivost","udivit","uhradit","ujednat","ujistit","ujmout","ukazatel","uklidnit","uklonit","ukotvit","ukrojit","ulice","ulita","ulovit","umyvadlo","unavit","uniforma","uniknout","upadnout","uplatnit","uplynout","upoutat","upravit","uran","urazit","usednout","usilovat","usmrtit","usnadnit","usnout","usoudit","ustlat","ustrnout","utahovat","utkat","utlumit","utonout","utopenec","utrousit","uvalit","uvolnit","uvozovka","uzdravit","uzel","uzenina","uzlina","uznat","vagon","valcha","valoun","vana","vandal","vanilka","varan","varhany","varovat","vcelku","vchod","vdova","vedro","vegetace","vejce","velbloud","veletrh","velitel","velmoc","velryba","venkov","veranda","verze","veselka","veskrze","vesnice","vespodu","vesta","veterina","veverka","vibrace","vichr","videohra","vidina","vidle","vila","vinice","viset","vitalita","vize","vizitka","vjezd","vklad","vkus","vlajka","vlak","vlasec","vlevo","vlhkost","vliv","vlnovka","vloupat","vnucovat","vnuk","voda","vodivost","vodoznak","vodstvo","vojensky","vojna","vojsko","volant","volba","volit","volno","voskovka","vozidlo","vozovna","vpravo","vrabec","vracet","vrah","vrata","vrba","vrcholek","vrhat","vrstva","vrtule","vsadit","vstoupit","vstup","vtip","vybavit","vybrat","vychovat","vydat","vydra","vyfotit","vyhledat","vyhnout","vyhodit","vyhradit","vyhubit","vyjasnit","vyjet","vyjmout","vyklopit","vykonat","vylekat","vymazat","vymezit","vymizet","vymyslet","vynechat","vynikat","vynutit","vypadat","vyplatit","vypravit","vypustit","vyrazit","vyrovnat","vyrvat","vyslovit","vysoko","vystavit","vysunout","vysypat","vytasit","vytesat","vytratit","vyvinout","vyvolat","vyvrhel","vyzdobit","vyznat","vzadu","vzbudit","vzchopit","vzdor","vzduch","vzdychat","vzestup","vzhledem","vzkaz","vzlykat","vznik","vzorek","vzpoura","vztah","vztek","xylofon","zabrat","zabydlet","zachovat","zadarmo","zadusit","zafoukat","zahltit","zahodit","zahrada","zahynout","zajatec","zajet","zajistit","zaklepat","zakoupit","zalepit","zamezit","zamotat","zamyslet","zanechat","zanikat","zaplatit","zapojit","zapsat","zarazit","zastavit","zasunout","zatajit","zatemnit","zatknout","zaujmout","zavalit","zavelet","zavinit","zavolat","zavrtat","zazvonit","zbavit","zbrusu","zbudovat","zbytek","zdaleka","zdarma","zdatnost","zdivo","zdobit","zdroj","zdvih","zdymadlo","zelenina","zeman","zemina","zeptat","zezadu","zezdola","zhatit","zhltnout","zhluboka","zhotovit","zhruba","zima","zimnice","zjemnit","zklamat","zkoumat","zkratka","zkumavka","zlato","zlehka","zloba","zlom","zlost","zlozvyk","zmapovat","zmar","zmatek","zmije","zmizet","zmocnit","zmodrat","zmrzlina","zmutovat","znak","znalost","znamenat","znovu","zobrazit","zotavit","zoubek","zoufale","zplodit","zpomalit","zprava","zprostit","zprudka","zprvu","zrada","zranit","zrcadlo","zrnitost","zrno","zrovna","zrychlit","zrzavost","zticha","ztratit","zubovina","zubr","zvednout","zvenku","zvesela","zvon","zvrat","zvukovod","zvyk"]')},function(e){e.exports=JSON.parse('["的","一","是","在","不","了","有","和","人","这","中","大","为","上","个","国","我","以","要","他","时","来","用","们","生","到","作","地","于","出","就","分","对","成","会","可","主","发","年","动","同","工","也","能","下","过","子","说","产","种","面","而","方","后","多","定","行","学","法","所","民","得","经","十","三","之","进","着","等","部","度","家","电","力","里","如","水","化","高","自","二","理","起","小","物","现","实","加","量","都","两","体","制","机","当","使","点","从","业","本","去","把","性","好","应","开","它","合","还","因","由","其","些","然","前","外","天","政","四","日","那","社","义","事","平","形","相","全","表","间","样","与","关","各","重","新","线","内","数","正","心","反","你","明","看","原","又","么","利","比","或","但","质","气","第","向","道","命","此","变","条","只","没","结","解","问","意","建","月","公","无","系","军","很","情","者","最","立","代","想","已","通","并","提","直","题","党","程","展","五","果","料","象","员","革","位","入","常","文","总","次","品","式","活","设","及","管","特","件","长","求","老","头","基","资","边","流","路","级","少","图","山","统","接","知","较","将","组","见","计","别","她","手","角","期","根","论","运","农","指","几","九","区","强","放","决","西","被","干","做","必","战","先","回","则","任","取","据","处","队","南","给","色","光","门","即","保","治","北","造","百","规","热","领","七","海","口","东","导","器","压","志","世","金","增","争","济","阶","油","思","术","极","交","受","联","什","认","六","共","权","收","证","改","清","美","再","采","转","更","单","风","切","打","白","教","速","花","带","安","场","身","车","例","真","务","具","万","每","目","至","达","走","积","示","议","声","报","斗","完","类","八","离","华","名","确","才","科","张","信","马","节","话","米","整","空","元","况","今","集","温","传","土","许","步","群","广","石","记","需","段","研","界","拉","林","律","叫","且","究","观","越","织","装","影","算","低","持","音","众","书","布","复","容","儿","须","际","商","非","验","连","断","深","难","近","矿","千","周","委","素","技","备","半","办","青","省","列","习","响","约","支","般","史","感","劳","便","团","往","酸","历","市","克","何","除","消","构","府","称","太","准","精","值","号","率","族","维","划","选","标","写","存","候","毛","亲","快","效","斯","院","查","江","型","眼","王","按","格","养","易","置","派","层","片","始","却","专","状","育","厂","京","识","适","属","圆","包","火","住","调","满","县","局","照","参","红","细","引","听","该","铁","价","严","首","底","液","官","德","随","病","苏","失","尔","死","讲","配","女","黄","推","显","谈","罪","神","艺","呢","席","含","企","望","密","批","营","项","防","举","球","英","氧","势","告","李","台","落","木","帮","轮","破","亚","师","围","注","远","字","材","排","供","河","态","封","另","施","减","树","溶","怎","止","案","言","士","均","武","固","叶","鱼","波","视","仅","费","紧","爱","左","章","早","朝","害","续","轻","服","试","食","充","兵","源","判","护","司","足","某","练","差","致","板","田","降","黑","犯","负","击","范","继","兴","似","余","坚","曲","输","修","故","城","夫","够","送","笔","船","占","右","财","吃","富","春","职","觉","汉","画","功","巴","跟","虽","杂","飞","检","吸","助","升","阳","互","初","创","抗","考","投","坏","策","古","径","换","未","跑","留","钢","曾","端","责","站","简","述","钱","副","尽","帝","射","草","冲","承","独","令","限","阿","宣","环","双","请","超","微","让","控","州","良","轴","找","否","纪","益","依","优","顶","础","载","倒","房","突","坐","粉","敌","略","客","袁","冷","胜","绝","析","块","剂","测","丝","协","诉","念","陈","仍","罗","盐","友","洋","错","苦","夜","刑","移","频","逐","靠","混","母","短","皮","终","聚","汽","村","云","哪","既","距","卫","停","烈","央","察","烧","迅","境","若","印","洲","刻","括","激","孔","搞","甚","室","待","核","校","散","侵","吧","甲","游","久","菜","味","旧","模","湖","货","损","预","阻","毫","普","稳","乙","妈","植","息","扩","银","语","挥","酒","守","拿","序","纸","医","缺","雨","吗","针","刘","啊","急","唱","误","训","愿","审","附","获","茶","鲜","粮","斤","孩","脱","硫","肥","善","龙","演","父","渐","血","欢","械","掌","歌","沙","刚","攻","谓","盾","讨","晚","粒","乱","燃","矛","乎","杀","药","宁","鲁","贵","钟","煤","读","班","伯","香","介","迫","句","丰","培","握","兰","担","弦","蛋","沉","假","穿","执","答","乐","谁","顺","烟","缩","征","脸","喜","松","脚","困","异","免","背","星","福","买","染","井","概","慢","怕","磁","倍","祖","皇","促","静","补","评","翻","肉","践","尼","衣","宽","扬","棉","希","伤","操","垂","秋","宜","氢","套","督","振","架","亮","末","宪","庆","编","牛","触","映","雷","销","诗","座","居","抓","裂","胞","呼","娘","景","威","绿","晶","厚","盟","衡","鸡","孙","延","危","胶","屋","乡","临","陆","顾","掉","呀","灯","岁","措","束","耐","剧","玉","赵","跳","哥","季","课","凯","胡","额","款","绍","卷","齐","伟","蒸","殖","永","宗","苗","川","炉","岩","弱","零","杨","奏","沿","露","杆","探","滑","镇","饭","浓","航","怀","赶","库","夺","伊","灵","税","途","灭","赛","归","召","鼓","播","盘","裁","险","康","唯","录","菌","纯","借","糖","盖","横","符","私","努","堂","域","枪","润","幅","哈","竟","熟","虫","泽","脑","壤","碳","欧","遍","侧","寨","敢","彻","虑","斜","薄","庭","纳","弹","饲","伸","折","麦","湿","暗","荷","瓦","塞","床","筑","恶","户","访","塔","奇","透","梁","刀","旋","迹","卡","氯","遇","份","毒","泥","退","洗","摆","灰","彩","卖","耗","夏","择","忙","铜","献","硬","予","繁","圈","雪","函","亦","抽","篇","阵","阴","丁","尺","追","堆","雄","迎","泛","爸","楼","避","谋","吨","野","猪","旗","累","偏","典","馆","索","秦","脂","潮","爷","豆","忽","托","惊","塑","遗","愈","朱","替","纤","粗","倾","尚","痛","楚","谢","奋","购","磨","君","池","旁","碎","骨","监","捕","弟","暴","割","贯","殊","释","词","亡","壁","顿","宝","午","尘","闻","揭","炮","残","冬","桥","妇","警","综","招","吴","付","浮","遭","徐","您","摇","谷","赞","箱","隔","订","男","吹","园","纷","唐","败","宋","玻","巨","耕","坦","荣","闭","湾","键","凡","驻","锅","救","恩","剥","凝","碱","齿","截","炼","麻","纺","禁","废","盛","版","缓","净","睛","昌","婚","涉","筒","嘴","插","岸","朗","庄","街","藏","姑","贸","腐","奴","啦","惯","乘","伙","恢","匀","纱","扎","辩","耳","彪","臣","亿","璃","抵","脉","秀","萨","俄","网","舞","店","喷","纵","寸","汗","挂","洪","贺","闪","柬","爆","烯","津","稻","墙","软","勇","像","滚","厘","蒙","芳","肯","坡","柱","荡","腿","仪","旅","尾","轧","冰","贡","登","黎","削","钻","勒","逃","障","氨","郭","峰","币","港","伏","轨","亩","毕","擦","莫","刺","浪","秘","援","株","健","售","股","岛","甘","泡","睡","童","铸","汤","阀","休","汇","舍","牧","绕","炸","哲","磷","绩","朋","淡","尖","启","陷","柴","呈","徒","颜","泪","稍","忘","泵","蓝","拖","洞","授","镜","辛","壮","锋","贫","虚","弯","摩","泰","幼","廷","尊","窗","纲","弄","隶","疑","氏","宫","姐","震","瑞","怪","尤","琴","循","描","膜","违","夹","腰","缘","珠","穷","森","枝","竹","沟","催","绳","忆","邦","剩","幸","浆","栏","拥","牙","贮","礼","滤","钠","纹","罢","拍","咱","喊","袖","埃","勤","罚","焦","潜","伍","墨","欲","缝","姓","刊","饱","仿","奖","铝","鬼","丽","跨","默","挖","链","扫","喝","袋","炭","污","幕","诸","弧","励","梅","奶","洁","灾","舟","鉴","苯","讼","抱","毁","懂","寒","智","埔","寄","届","跃","渡","挑","丹","艰","贝","碰","拔","爹","戴","码","梦","芽","熔","赤","渔","哭","敬","颗","奔","铅","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","仓","魏","锐","晓","氮","兼","隐","碍","赫","拨","忠","肃","缸","牵","抢","博","巧","壳","兄","杜","讯","诚","碧","祥","柯","页","巡","矩","悲","灌","龄","伦","票","寻","桂","铺","圣","恐","恰","郑","趣","抬","荒","腾","贴","柔","滴","猛","阔","辆","妻","填","撤","储","签","闹","扰","紫","砂","递","戏","吊","陶","伐","喂","疗","瓶","婆","抚","臂","摸","忍","虾","蜡","邻","胸","巩","挤","偶","弃","槽","劲","乳","邓","吉","仁","烂","砖","租","乌","舰","伴","瓜","浅","丙","暂","燥","橡","柳","迷","暖","牌","秧","胆","详","簧","踏","瓷","谱","呆","宾","糊","洛","辉","愤","竞","隙","怒","粘","乃","绪","肩","籍","敏","涂","熙","皆","侦","悬","掘","享","纠","醒","狂","锁","淀","恨","牲","霸","爬","赏","逆","玩","陵","祝","秒","浙","貌","役","彼","悉","鸭","趋","凤","晨","畜","辈","秩","卵","署","梯","炎","滩","棋","驱","筛","峡","冒","啥","寿","译","浸","泉","帽","迟","硅","疆","贷","漏","稿","冠","嫩","胁","芯","牢","叛","蚀","奥","鸣","岭","羊","凭","串","塘","绘","酵","融","盆","锡","庙","筹","冻","辅","摄","袭","筋","拒","僚","旱","钾","鸟","漆","沈","眉","疏","添","棒","穗","硝","韩","逼","扭","侨","凉","挺","碗","栽","炒","杯","患","馏","劝","豪","辽","勃","鸿","旦","吏","拜","狗","埋","辊","掩","饮","搬","骂","辞","勾","扣","估","蒋","绒","雾","丈","朵","姆","拟","宇","辑","陕","雕","偿","蓄","崇","剪","倡","厅","咬","驶","薯","刷","斥","番","赋","奉","佛","浇","漫","曼","扇","钙","桃","扶","仔","返","俗","亏","腔","鞋","棱","覆","框","悄","叔","撞","骗","勘","旺","沸","孤","吐","孟","渠","屈","疾","妙","惜","仰","狠","胀","谐","抛","霉","桑","岗","嘛","衰","盗","渗","脏","赖","涌","甜","曹","阅","肌","哩","厉","烃","纬","毅","昨","伪","症","煮","叹","钉","搭","茎","笼","酷","偷","弓","锥","恒","杰","坑","鼻","翼","纶","叙","狱","逮","罐","络","棚","抑","膨","蔬","寺","骤","穆","冶","枯","册","尸","凸","绅","坯","牺","焰","轰","欣","晋","瘦","御","锭","锦","丧","旬","锻","垄","搜","扑","邀","亭","酯","迈","舒","脆","酶","闲","忧","酚","顽","羽","涨","卸","仗","陪","辟","惩","杭","姚","肚","捉","飘","漂","昆","欺","吾","郎","烷","汁","呵","饰","萧","雅","邮","迁","燕","撒","姻","赴","宴","烦","债","帐","斑","铃","旨","醇","董","饼","雏","姿","拌","傅","腹","妥","揉","贤","拆","歪","葡","胺","丢","浩","徽","昂","垫","挡","览","贪","慰","缴","汪","慌","冯","诺","姜","谊","凶","劣","诬","耀","昏","躺","盈","骑","乔","溪","丛","卢","抹","闷","咨","刮","驾","缆","悟","摘","铒","掷","颇","幻","柄","惠","惨","佳","仇","腊","窝","涤","剑","瞧","堡","泼","葱","罩","霍","捞","胎","苍","滨","俩","捅","湘","砍","霞","邵","萄","疯","淮","遂","熊","粪","烘","宿","档","戈","驳","嫂","裕","徙","箭","捐","肠","撑","晒","辨","殿","莲","摊","搅","酱","屏","疫","哀","蔡","堵","沫","皱","畅","叠","阁","莱","敲","辖","钩","痕","坝","巷","饿","祸","丘","玄","溜","曰","逻","彭","尝","卿","妨","艇","吞","韦","怨","矮","歇"]')},function(e){e.exports=JSON.parse('["的","一","是","在","不","了","有","和","人","這","中","大","為","上","個","國","我","以","要","他","時","來","用","們","生","到","作","地","於","出","就","分","對","成","會","可","主","發","年","動","同","工","也","能","下","過","子","說","產","種","面","而","方","後","多","定","行","學","法","所","民","得","經","十","三","之","進","著","等","部","度","家","電","力","裡","如","水","化","高","自","二","理","起","小","物","現","實","加","量","都","兩","體","制","機","當","使","點","從","業","本","去","把","性","好","應","開","它","合","還","因","由","其","些","然","前","外","天","政","四","日","那","社","義","事","平","形","相","全","表","間","樣","與","關","各","重","新","線","內","數","正","心","反","你","明","看","原","又","麼","利","比","或","但","質","氣","第","向","道","命","此","變","條","只","沒","結","解","問","意","建","月","公","無","系","軍","很","情","者","最","立","代","想","已","通","並","提","直","題","黨","程","展","五","果","料","象","員","革","位","入","常","文","總","次","品","式","活","設","及","管","特","件","長","求","老","頭","基","資","邊","流","路","級","少","圖","山","統","接","知","較","將","組","見","計","別","她","手","角","期","根","論","運","農","指","幾","九","區","強","放","決","西","被","幹","做","必","戰","先","回","則","任","取","據","處","隊","南","給","色","光","門","即","保","治","北","造","百","規","熱","領","七","海","口","東","導","器","壓","志","世","金","增","爭","濟","階","油","思","術","極","交","受","聯","什","認","六","共","權","收","證","改","清","美","再","採","轉","更","單","風","切","打","白","教","速","花","帶","安","場","身","車","例","真","務","具","萬","每","目","至","達","走","積","示","議","聲","報","鬥","完","類","八","離","華","名","確","才","科","張","信","馬","節","話","米","整","空","元","況","今","集","溫","傳","土","許","步","群","廣","石","記","需","段","研","界","拉","林","律","叫","且","究","觀","越","織","裝","影","算","低","持","音","眾","書","布","复","容","兒","須","際","商","非","驗","連","斷","深","難","近","礦","千","週","委","素","技","備","半","辦","青","省","列","習","響","約","支","般","史","感","勞","便","團","往","酸","歷","市","克","何","除","消","構","府","稱","太","準","精","值","號","率","族","維","劃","選","標","寫","存","候","毛","親","快","效","斯","院","查","江","型","眼","王","按","格","養","易","置","派","層","片","始","卻","專","狀","育","廠","京","識","適","屬","圓","包","火","住","調","滿","縣","局","照","參","紅","細","引","聽","該","鐵","價","嚴","首","底","液","官","德","隨","病","蘇","失","爾","死","講","配","女","黃","推","顯","談","罪","神","藝","呢","席","含","企","望","密","批","營","項","防","舉","球","英","氧","勢","告","李","台","落","木","幫","輪","破","亞","師","圍","注","遠","字","材","排","供","河","態","封","另","施","減","樹","溶","怎","止","案","言","士","均","武","固","葉","魚","波","視","僅","費","緊","愛","左","章","早","朝","害","續","輕","服","試","食","充","兵","源","判","護","司","足","某","練","差","致","板","田","降","黑","犯","負","擊","范","繼","興","似","餘","堅","曲","輸","修","故","城","夫","夠","送","筆","船","佔","右","財","吃","富","春","職","覺","漢","畫","功","巴","跟","雖","雜","飛","檢","吸","助","昇","陽","互","初","創","抗","考","投","壞","策","古","徑","換","未","跑","留","鋼","曾","端","責","站","簡","述","錢","副","盡","帝","射","草","衝","承","獨","令","限","阿","宣","環","雙","請","超","微","讓","控","州","良","軸","找","否","紀","益","依","優","頂","礎","載","倒","房","突","坐","粉","敵","略","客","袁","冷","勝","絕","析","塊","劑","測","絲","協","訴","念","陳","仍","羅","鹽","友","洋","錯","苦","夜","刑","移","頻","逐","靠","混","母","短","皮","終","聚","汽","村","雲","哪","既","距","衛","停","烈","央","察","燒","迅","境","若","印","洲","刻","括","激","孔","搞","甚","室","待","核","校","散","侵","吧","甲","遊","久","菜","味","舊","模","湖","貨","損","預","阻","毫","普","穩","乙","媽","植","息","擴","銀","語","揮","酒","守","拿","序","紙","醫","缺","雨","嗎","針","劉","啊","急","唱","誤","訓","願","審","附","獲","茶","鮮","糧","斤","孩","脫","硫","肥","善","龍","演","父","漸","血","歡","械","掌","歌","沙","剛","攻","謂","盾","討","晚","粒","亂","燃","矛","乎","殺","藥","寧","魯","貴","鐘","煤","讀","班","伯","香","介","迫","句","豐","培","握","蘭","擔","弦","蛋","沉","假","穿","執","答","樂","誰","順","煙","縮","徵","臉","喜","松","腳","困","異","免","背","星","福","買","染","井","概","慢","怕","磁","倍","祖","皇","促","靜","補","評","翻","肉","踐","尼","衣","寬","揚","棉","希","傷","操","垂","秋","宜","氫","套","督","振","架","亮","末","憲","慶","編","牛","觸","映","雷","銷","詩","座","居","抓","裂","胞","呼","娘","景","威","綠","晶","厚","盟","衡","雞","孫","延","危","膠","屋","鄉","臨","陸","顧","掉","呀","燈","歲","措","束","耐","劇","玉","趙","跳","哥","季","課","凱","胡","額","款","紹","卷","齊","偉","蒸","殖","永","宗","苗","川","爐","岩","弱","零","楊","奏","沿","露","桿","探","滑","鎮","飯","濃","航","懷","趕","庫","奪","伊","靈","稅","途","滅","賽","歸","召","鼓","播","盤","裁","險","康","唯","錄","菌","純","借","糖","蓋","橫","符","私","努","堂","域","槍","潤","幅","哈","竟","熟","蟲","澤","腦","壤","碳","歐","遍","側","寨","敢","徹","慮","斜","薄","庭","納","彈","飼","伸","折","麥","濕","暗","荷","瓦","塞","床","築","惡","戶","訪","塔","奇","透","梁","刀","旋","跡","卡","氯","遇","份","毒","泥","退","洗","擺","灰","彩","賣","耗","夏","擇","忙","銅","獻","硬","予","繁","圈","雪","函","亦","抽","篇","陣","陰","丁","尺","追","堆","雄","迎","泛","爸","樓","避","謀","噸","野","豬","旗","累","偏","典","館","索","秦","脂","潮","爺","豆","忽","托","驚","塑","遺","愈","朱","替","纖","粗","傾","尚","痛","楚","謝","奮","購","磨","君","池","旁","碎","骨","監","捕","弟","暴","割","貫","殊","釋","詞","亡","壁","頓","寶","午","塵","聞","揭","炮","殘","冬","橋","婦","警","綜","招","吳","付","浮","遭","徐","您","搖","谷","贊","箱","隔","訂","男","吹","園","紛","唐","敗","宋","玻","巨","耕","坦","榮","閉","灣","鍵","凡","駐","鍋","救","恩","剝","凝","鹼","齒","截","煉","麻","紡","禁","廢","盛","版","緩","淨","睛","昌","婚","涉","筒","嘴","插","岸","朗","莊","街","藏","姑","貿","腐","奴","啦","慣","乘","夥","恢","勻","紗","扎","辯","耳","彪","臣","億","璃","抵","脈","秀","薩","俄","網","舞","店","噴","縱","寸","汗","掛","洪","賀","閃","柬","爆","烯","津","稻","牆","軟","勇","像","滾","厘","蒙","芳","肯","坡","柱","盪","腿","儀","旅","尾","軋","冰","貢","登","黎","削","鑽","勒","逃","障","氨","郭","峰","幣","港","伏","軌","畝","畢","擦","莫","刺","浪","秘","援","株","健","售","股","島","甘","泡","睡","童","鑄","湯","閥","休","匯","舍","牧","繞","炸","哲","磷","績","朋","淡","尖","啟","陷","柴","呈","徒","顏","淚","稍","忘","泵","藍","拖","洞","授","鏡","辛","壯","鋒","貧","虛","彎","摩","泰","幼","廷","尊","窗","綱","弄","隸","疑","氏","宮","姐","震","瑞","怪","尤","琴","循","描","膜","違","夾","腰","緣","珠","窮","森","枝","竹","溝","催","繩","憶","邦","剩","幸","漿","欄","擁","牙","貯","禮","濾","鈉","紋","罷","拍","咱","喊","袖","埃","勤","罰","焦","潛","伍","墨","欲","縫","姓","刊","飽","仿","獎","鋁","鬼","麗","跨","默","挖","鏈","掃","喝","袋","炭","污","幕","諸","弧","勵","梅","奶","潔","災","舟","鑑","苯","訟","抱","毀","懂","寒","智","埔","寄","屆","躍","渡","挑","丹","艱","貝","碰","拔","爹","戴","碼","夢","芽","熔","赤","漁","哭","敬","顆","奔","鉛","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","倉","魏","銳","曉","氮","兼","隱","礙","赫","撥","忠","肅","缸","牽","搶","博","巧","殼","兄","杜","訊","誠","碧","祥","柯","頁","巡","矩","悲","灌","齡","倫","票","尋","桂","鋪","聖","恐","恰","鄭","趣","抬","荒","騰","貼","柔","滴","猛","闊","輛","妻","填","撤","儲","簽","鬧","擾","紫","砂","遞","戲","吊","陶","伐","餵","療","瓶","婆","撫","臂","摸","忍","蝦","蠟","鄰","胸","鞏","擠","偶","棄","槽","勁","乳","鄧","吉","仁","爛","磚","租","烏","艦","伴","瓜","淺","丙","暫","燥","橡","柳","迷","暖","牌","秧","膽","詳","簧","踏","瓷","譜","呆","賓","糊","洛","輝","憤","競","隙","怒","粘","乃","緒","肩","籍","敏","塗","熙","皆","偵","懸","掘","享","糾","醒","狂","鎖","淀","恨","牲","霸","爬","賞","逆","玩","陵","祝","秒","浙","貌","役","彼","悉","鴨","趨","鳳","晨","畜","輩","秩","卵","署","梯","炎","灘","棋","驅","篩","峽","冒","啥","壽","譯","浸","泉","帽","遲","矽","疆","貸","漏","稿","冠","嫩","脅","芯","牢","叛","蝕","奧","鳴","嶺","羊","憑","串","塘","繪","酵","融","盆","錫","廟","籌","凍","輔","攝","襲","筋","拒","僚","旱","鉀","鳥","漆","沈","眉","疏","添","棒","穗","硝","韓","逼","扭","僑","涼","挺","碗","栽","炒","杯","患","餾","勸","豪","遼","勃","鴻","旦","吏","拜","狗","埋","輥","掩","飲","搬","罵","辭","勾","扣","估","蔣","絨","霧","丈","朵","姆","擬","宇","輯","陝","雕","償","蓄","崇","剪","倡","廳","咬","駛","薯","刷","斥","番","賦","奉","佛","澆","漫","曼","扇","鈣","桃","扶","仔","返","俗","虧","腔","鞋","棱","覆","框","悄","叔","撞","騙","勘","旺","沸","孤","吐","孟","渠","屈","疾","妙","惜","仰","狠","脹","諧","拋","黴","桑","崗","嘛","衰","盜","滲","臟","賴","湧","甜","曹","閱","肌","哩","厲","烴","緯","毅","昨","偽","症","煮","嘆","釘","搭","莖","籠","酷","偷","弓","錐","恆","傑","坑","鼻","翼","綸","敘","獄","逮","罐","絡","棚","抑","膨","蔬","寺","驟","穆","冶","枯","冊","屍","凸","紳","坯","犧","焰","轟","欣","晉","瘦","禦","錠","錦","喪","旬","鍛","壟","搜","撲","邀","亭","酯","邁","舒","脆","酶","閒","憂","酚","頑","羽","漲","卸","仗","陪","闢","懲","杭","姚","肚","捉","飄","漂","昆","欺","吾","郎","烷","汁","呵","飾","蕭","雅","郵","遷","燕","撒","姻","赴","宴","煩","債","帳","斑","鈴","旨","醇","董","餅","雛","姿","拌","傅","腹","妥","揉","賢","拆","歪","葡","胺","丟","浩","徽","昂","墊","擋","覽","貪","慰","繳","汪","慌","馮","諾","姜","誼","兇","劣","誣","耀","昏","躺","盈","騎","喬","溪","叢","盧","抹","悶","諮","刮","駕","纜","悟","摘","鉺","擲","頗","幻","柄","惠","慘","佳","仇","臘","窩","滌","劍","瞧","堡","潑","蔥","罩","霍","撈","胎","蒼","濱","倆","捅","湘","砍","霞","邵","萄","瘋","淮","遂","熊","糞","烘","宿","檔","戈","駁","嫂","裕","徙","箭","捐","腸","撐","曬","辨","殿","蓮","攤","攪","醬","屏","疫","哀","蔡","堵","沫","皺","暢","疊","閣","萊","敲","轄","鉤","痕","壩","巷","餓","禍","丘","玄","溜","曰","邏","彭","嘗","卿","妨","艇","吞","韋","怨","矮","歇"]')},function(e){e.exports=JSON.parse('["가격","가끔","가난","가능","가득","가르침","가뭄","가방","가상","가슴","가운데","가을","가이드","가입","가장","가정","가족","가죽","각오","각자","간격","간부","간섭","간장","간접","간판","갈등","갈비","갈색","갈증","감각","감기","감소","감수성","감자","감정","갑자기","강남","강당","강도","강력히","강변","강북","강사","강수량","강아지","강원도","강의","강제","강조","같이","개구리","개나리","개방","개별","개선","개성","개인","객관적","거실","거액","거울","거짓","거품","걱정","건강","건물","건설","건조","건축","걸음","검사","검토","게시판","게임","겨울","견해","결과","결국","결론","결석","결승","결심","결정","결혼","경계","경고","경기","경력","경복궁","경비","경상도","경영","경우","경쟁","경제","경주","경찰","경치","경향","경험","계곡","계단","계란","계산","계속","계약","계절","계층","계획","고객","고구려","고궁","고급","고등학생","고무신","고민","고양이","고장","고전","고집","고춧가루","고통","고향","곡식","골목","골짜기","골프","공간","공개","공격","공군","공급","공기","공동","공무원","공부","공사","공식","공업","공연","공원","공장","공짜","공책","공통","공포","공항","공휴일","과목","과일","과장","과정","과학","관객","관계","관광","관념","관람","관련","관리","관습","관심","관점","관찰","광경","광고","광장","광주","괴로움","굉장히","교과서","교문","교복","교실","교양","교육","교장","교직","교통","교환","교훈","구경","구름","구멍","구별","구분","구석","구성","구속","구역","구입","구청","구체적","국가","국기","국내","국립","국물","국민","국수","국어","국왕","국적","국제","국회","군대","군사","군인","궁극적","권리","권위","권투","귀국","귀신","규정","규칙","균형","그날","그냥","그늘","그러나","그룹","그릇","그림","그제서야","그토록","극복","극히","근거","근교","근래","근로","근무","근본","근원","근육","근처","글씨","글자","금강산","금고","금년","금메달","금액","금연","금요일","금지","긍정적","기간","기관","기념","기능","기독교","기둥","기록","기름","기법","기본","기분","기쁨","기숙사","기술","기억","기업","기온","기운","기원","기적","기준","기침","기혼","기획","긴급","긴장","길이","김밥","김치","김포공항","깍두기","깜빡","깨달음","깨소금","껍질","꼭대기","꽃잎","나들이","나란히","나머지","나물","나침반","나흘","낙엽","난방","날개","날씨","날짜","남녀","남대문","남매","남산","남자","남편","남학생","낭비","낱말","내년","내용","내일","냄비","냄새","냇물","냉동","냉면","냉방","냉장고","넥타이","넷째","노동","노란색","노력","노인","녹음","녹차","녹화","논리","논문","논쟁","놀이","농구","농담","농민","농부","농업","농장","농촌","높이","눈동자","눈물","눈썹","뉴욕","느낌","늑대","능동적","능력","다방","다양성","다음","다이어트","다행","단계","단골","단독","단맛","단순","단어","단위","단점","단체","단추","단편","단풍","달걀","달러","달력","달리","닭고기","담당","담배","담요","담임","답변","답장","당근","당분간","당연히","당장","대규모","대낮","대단히","대답","대도시","대략","대량","대륙","대문","대부분","대신","대응","대장","대전","대접","대중","대책","대출","대충","대통령","대학","대한민국","대합실","대형","덩어리","데이트","도대체","도덕","도둑","도망","도서관","도심","도움","도입","도자기","도저히","도전","도중","도착","독감","독립","독서","독일","독창적","동화책","뒷모습","뒷산","딸아이","마누라","마늘","마당","마라톤","마련","마무리","마사지","마약","마요네즈","마을","마음","마이크","마중","마지막","마찬가지","마찰","마흔","막걸리","막내","막상","만남","만두","만세","만약","만일","만점","만족","만화","많이","말기","말씀","말투","맘대로","망원경","매년","매달","매력","매번","매스컴","매일","매장","맥주","먹이","먼저","먼지","멀리","메일","며느리","며칠","면담","멸치","명단","명령","명예","명의","명절","명칭","명함","모금","모니터","모델","모든","모범","모습","모양","모임","모조리","모집","모퉁이","목걸이","목록","목사","목소리","목숨","목적","목표","몰래","몸매","몸무게","몸살","몸속","몸짓","몸통","몹시","무관심","무궁화","무더위","무덤","무릎","무슨","무엇","무역","무용","무조건","무지개","무척","문구","문득","문법","문서","문제","문학","문화","물가","물건","물결","물고기","물론","물리학","물음","물질","물체","미국","미디어","미사일","미술","미역","미용실","미움","미인","미팅","미혼","민간","민족","민주","믿음","밀가루","밀리미터","밑바닥","바가지","바구니","바나나","바늘","바닥","바닷가","바람","바이러스","바탕","박물관","박사","박수","반대","반드시","반말","반발","반성","반응","반장","반죽","반지","반찬","받침","발가락","발걸음","발견","발달","발레","발목","발바닥","발생","발음","발자국","발전","발톱","발표","밤하늘","밥그릇","밥맛","밥상","밥솥","방금","방면","방문","방바닥","방법","방송","방식","방안","방울","방지","방학","방해","방향","배경","배꼽","배달","배드민턴","백두산","백색","백성","백인","백제","백화점","버릇","버섯","버튼","번개","번역","번지","번호","벌금","벌레","벌써","범위","범인","범죄","법률","법원","법적","법칙","베이징","벨트","변경","변동","변명","변신","변호사","변화","별도","별명","별일","병실","병아리","병원","보관","보너스","보라색","보람","보름","보상","보안","보자기","보장","보전","보존","보통","보편적","보험","복도","복사","복숭아","복습","볶음","본격적","본래","본부","본사","본성","본인","본질","볼펜","봉사","봉지","봉투","부근","부끄러움","부담","부동산","부문","부분","부산","부상","부엌","부인","부작용","부장","부정","부족","부지런히","부친","부탁","부품","부회장","북부","북한","분노","분량","분리","분명","분석","분야","분위기","분필","분홍색","불고기","불과","불교","불꽃","불만","불법","불빛","불안","불이익","불행","브랜드","비극","비난","비닐","비둘기","비디오","비로소","비만","비명","비밀","비바람","비빔밥","비상","비용","비율","비중","비타민","비판","빌딩","빗물","빗방울","빗줄기","빛깔","빨간색","빨래","빨리","사건","사계절","사나이","사냥","사람","사랑","사립","사모님","사물","사방","사상","사생활","사설","사슴","사실","사업","사용","사월","사장","사전","사진","사촌","사춘기","사탕","사투리","사흘","산길","산부인과","산업","산책","살림","살인","살짝","삼계탕","삼국","삼십","삼월","삼촌","상관","상금","상대","상류","상반기","상상","상식","상업","상인","상자","상점","상처","상추","상태","상표","상품","상황","새벽","색깔","색연필","생각","생명","생물","생방송","생산","생선","생신","생일","생활","서랍","서른","서명","서민","서비스","서양","서울","서적","서점","서쪽","서클","석사","석유","선거","선물","선배","선생","선수","선원","선장","선전","선택","선풍기","설거지","설날","설렁탕","설명","설문","설사","설악산","설치","설탕","섭씨","성공","성당","성명","성별","성인","성장","성적","성질","성함","세금","세미나","세상","세월","세종대왕","세탁","센터","센티미터","셋째","소규모","소극적","소금","소나기","소년","소득","소망","소문","소설","소속","소아과","소용","소원","소음","소중히","소지품","소질","소풍","소형","속담","속도","속옷","손가락","손길","손녀","손님","손등","손목","손뼉","손실","손질","손톱","손해","솔직히","솜씨","송아지","송이","송편","쇠고기","쇼핑","수건","수년","수단","수돗물","수동적","수면","수명","수박","수상","수석","수술","수시로","수업","수염","수영","수입","수준","수집","수출","수컷","수필","수학","수험생","수화기","숙녀","숙소","숙제","순간","순서","순수","순식간","순위","숟가락","술병","술집","숫자","스님","스물","스스로","스승","스웨터","스위치","스케이트","스튜디오","스트레스","스포츠","슬쩍","슬픔","습관","습기","승객","승리","승부","승용차","승진","시각","시간","시골","시금치","시나리오","시댁","시리즈","시멘트","시민","시부모","시선","시설","시스템","시아버지","시어머니","시월","시인","시일","시작","시장","시절","시점","시중","시즌","시집","시청","시합","시험","식구","식기","식당","식량","식료품","식물","식빵","식사","식생활","식초","식탁","식품","신고","신규","신념","신문","신발","신비","신사","신세","신용","신제품","신청","신체","신화","실감","실내","실력","실례","실망","실수","실습","실시","실장","실정","실질적","실천","실체","실컷","실태","실패","실험","실현","심리","심부름","심사","심장","심정","심판","쌍둥이","씨름","씨앗","아가씨","아나운서","아드님","아들","아쉬움","아스팔트","아시아","아울러","아저씨","아줌마","아직","아침","아파트","아프리카","아픔","아홉","아흔","악기","악몽","악수","안개","안경","안과","안내","안녕","안동","안방","안부","안주","알루미늄","알코올","암시","암컷","압력","앞날","앞문","애인","애정","액수","앨범","야간","야단","야옹","약간","약국","약속","약수","약점","약품","약혼녀","양념","양력","양말","양배추","양주","양파","어둠","어려움","어른","어젯밤","어쨌든","어쩌다가","어쩐지","언니","언덕","언론","언어","얼굴","얼른","얼음","얼핏","엄마","업무","업종","업체","엉덩이","엉망","엉터리","엊그제","에너지","에어컨","엔진","여건","여고생","여관","여군","여권","여대생","여덟","여동생","여든","여론","여름","여섯","여성","여왕","여인","여전히","여직원","여학생","여행","역사","역시","역할","연결","연구","연극","연기","연락","연설","연세","연속","연습","연애","연예인","연인","연장","연주","연출","연필","연합","연휴","열기","열매","열쇠","열심히","열정","열차","열흘","염려","엽서","영국","영남","영상","영양","영역","영웅","영원히","영하","영향","영혼","영화","옆구리","옆방","옆집","예감","예금","예방","예산","예상","예선","예술","예습","예식장","예약","예전","예절","예정","예컨대","옛날","오늘","오락","오랫동안","오렌지","오로지","오른발","오븐","오십","오염","오월","오전","오직","오징어","오페라","오피스텔","오히려","옥상","옥수수","온갖","온라인","온몸","온종일","온통","올가을","올림픽","올해","옷차림","와이셔츠","와인","완성","완전","왕비","왕자","왜냐하면","왠지","외갓집","외국","외로움","외삼촌","외출","외침","외할머니","왼발","왼손","왼쪽","요금","요일","요즘","요청","용기","용서","용어","우산","우선","우승","우연히","우정","우체국","우편","운동","운명","운반","운전","운행","울산","울음","움직임","웃어른","웃음","워낙","원고","원래","원서","원숭이","원인","원장","원피스","월급","월드컵","월세","월요일","웨이터","위반","위법","위성","위원","위험","위협","윗사람","유난히","유럽","유명","유물","유산","유적","유치원","유학","유행","유형","육군","육상","육십","육체","은행","음력","음료","음반","음성","음식","음악","음주","의견","의논","의문","의복","의식","의심","의외로","의욕","의원","의학","이것","이곳","이념","이놈","이달","이대로","이동","이렇게","이력서","이론적","이름","이민","이발소","이별","이불","이빨","이상","이성","이슬","이야기","이용","이웃","이월","이윽고","이익","이전","이중","이튿날","이틀","이혼","인간","인격","인공","인구","인근","인기","인도","인류","인물","인생","인쇄","인연","인원","인재","인종","인천","인체","인터넷","인하","인형","일곱","일기","일단","일대","일등","일반","일본","일부","일상","일생","일손","일요일","일월","일정","일종","일주일","일찍","일체","일치","일행","일회용","임금","임무","입대","입력","입맛","입사","입술","입시","입원","입장","입학","자가용","자격","자극","자동","자랑","자부심","자식","자신","자연","자원","자율","자전거","자정","자존심","자판","작가","작년","작성","작업","작용","작은딸","작품","잔디","잔뜩","잔치","잘못","잠깐","잠수함","잠시","잠옷","잠자리","잡지","장관","장군","장기간","장래","장례","장르","장마","장면","장모","장미","장비","장사","장소","장식","장애인","장인","장점","장차","장학금","재능","재빨리","재산","재생","재작년","재정","재채기","재판","재학","재활용","저것","저고리","저곳","저녁","저런","저렇게","저번","저울","저절로","저축","적극","적당히","적성","적용","적응","전개","전공","전기","전달","전라도","전망","전문","전반","전부","전세","전시","전용","전자","전쟁","전주","전철","전체","전통","전혀","전후","절대","절망","절반","절약","절차","점검","점수","점심","점원","점점","점차","접근","접시","접촉","젓가락","정거장","정도","정류장","정리","정말","정면","정문","정반대","정보","정부","정비","정상","정성","정오","정원","정장","정지","정치","정확히","제공","제과점","제대로","제목","제발","제법","제삿날","제안","제일","제작","제주도","제출","제품","제한","조각","조건","조금","조깅","조명","조미료","조상","조선","조용히","조절","조정","조직","존댓말","존재","졸업","졸음","종교","종로","종류","종소리","종업원","종종","종합","좌석","죄인","주관적","주름","주말","주머니","주먹","주문","주민","주방","주변","주식","주인","주일","주장","주전자","주택","준비","줄거리","줄기","줄무늬","중간","중계방송","중국","중년","중단","중독","중반","중부","중세","중소기업","중순","중앙","중요","중학교","즉석","즉시","즐거움","증가","증거","증권","증상","증세","지각","지갑","지경","지극히","지금","지급","지능","지름길","지리산","지방","지붕","지식","지역","지우개","지원","지적","지점","지진","지출","직선","직업","직원","직장","진급","진동","진로","진료","진리","진짜","진찰","진출","진통","진행","질문","질병","질서","짐작","집단","집안","집중","짜증","찌꺼기","차남","차라리","차량","차림","차별","차선","차츰","착각","찬물","찬성","참가","참기름","참새","참석","참여","참외","참조","찻잔","창가","창고","창구","창문","창밖","창작","창조","채널","채점","책가방","책방","책상","책임","챔피언","처벌","처음","천국","천둥","천장","천재","천천히","철도","철저히","철학","첫날","첫째","청년","청바지","청소","청춘","체계","체력","체온","체육","체중","체험","초등학생","초반","초밥","초상화","초순","초여름","초원","초저녁","초점","초청","초콜릿","촛불","총각","총리","총장","촬영","최근","최상","최선","최신","최악","최종","추석","추억","추진","추천","추측","축구","축소","축제","축하","출근","출발","출산","출신","출연","출입","출장","출판","충격","충고","충돌","충분히","충청도","취업","취직","취향","치약","친구","친척","칠십","칠월","칠판","침대","침묵","침실","칫솔","칭찬","카메라","카운터","칼국수","캐릭터","캠퍼스","캠페인","커튼","컨디션","컬러","컴퓨터","코끼리","코미디","콘서트","콜라","콤플렉스","콩나물","쾌감","쿠데타","크림","큰길","큰딸","큰소리","큰아들","큰어머니","큰일","큰절","클래식","클럽","킬로","타입","타자기","탁구","탁자","탄생","태권도","태양","태풍","택시","탤런트","터널","터미널","테니스","테스트","테이블","텔레비전","토론","토마토","토요일","통계","통과","통로","통신","통역","통일","통장","통제","통증","통합","통화","퇴근","퇴원","퇴직금","튀김","트럭","특급","특별","특성","특수","특징","특히","튼튼히","티셔츠","파란색","파일","파출소","판결","판단","판매","판사","팔십","팔월","팝송","패션","팩스","팩시밀리","팬티","퍼센트","페인트","편견","편의","편지","편히","평가","평균","평생","평소","평양","평일","평화","포스터","포인트","포장","포함","표면","표정","표준","표현","품목","품질","풍경","풍속","풍습","프랑스","프린터","플라스틱","피곤","피망","피아노","필름","필수","필요","필자","필통","핑계","하느님","하늘","하드웨어","하룻밤","하반기","하숙집","하순","하여튼","하지만","하천","하품","하필","학과","학교","학급","학기","학년","학력","학번","학부모","학비","학생","학술","학습","학용품","학원","학위","학자","학점","한계","한글","한꺼번에","한낮","한눈","한동안","한때","한라산","한마디","한문","한번","한복","한식","한여름","한쪽","할머니","할아버지","할인","함께","함부로","합격","합리적","항공","항구","항상","항의","해결","해군","해답","해당","해물","해석","해설","해수욕장","해안","핵심","핸드백","햄버거","햇볕","햇살","행동","행복","행사","행운","행위","향기","향상","향수","허락","허용","헬기","현관","현금","현대","현상","현실","현장","현재","현지","혈액","협력","형부","형사","형수","형식","형제","형태","형편","혜택","호기심","호남","호랑이","호박","호텔","호흡","혹시","홀로","홈페이지","홍보","홍수","홍차","화면","화분","화살","화요일","화장","화학","확보","확인","확장","확정","환갑","환경","환영","환율","환자","활기","활동","활발히","활용","활짝","회견","회관","회복","회색","회원","회장","회전","횟수","횡단보도","효율적","후반","후춧가루","훈련","훨씬","휴식","휴일","흉내","흐름","흑백","흑인","흔적","흔히","흥미","흥분","희곡","희망","희생","흰색","힘껏"]')},function(e){e.exports=JSON.parse('["abaisser","abandon","abdiquer","abeille","abolir","aborder","aboutir","aboyer","abrasif","abreuver","abriter","abroger","abrupt","absence","absolu","absurde","abusif","abyssal","académie","acajou","acarien","accabler","accepter","acclamer","accolade","accroche","accuser","acerbe","achat","acheter","aciduler","acier","acompte","acquérir","acronyme","acteur","actif","actuel","adepte","adéquat","adhésif","adjectif","adjuger","admettre","admirer","adopter","adorer","adoucir","adresse","adroit","adulte","adverbe","aérer","aéronef","affaire","affecter","affiche","affreux","affubler","agacer","agencer","agile","agiter","agrafer","agréable","agrume","aider","aiguille","ailier","aimable","aisance","ajouter","ajuster","alarmer","alchimie","alerte","algèbre","algue","aliéner","aliment","alléger","alliage","allouer","allumer","alourdir","alpaga","altesse","alvéole","amateur","ambigu","ambre","aménager","amertume","amidon","amiral","amorcer","amour","amovible","amphibie","ampleur","amusant","analyse","anaphore","anarchie","anatomie","ancien","anéantir","angle","angoisse","anguleux","animal","annexer","annonce","annuel","anodin","anomalie","anonyme","anormal","antenne","antidote","anxieux","apaiser","apéritif","aplanir","apologie","appareil","appeler","apporter","appuyer","aquarium","aqueduc","arbitre","arbuste","ardeur","ardoise","argent","arlequin","armature","armement","armoire","armure","arpenter","arracher","arriver","arroser","arsenic","artériel","article","aspect","asphalte","aspirer","assaut","asservir","assiette","associer","assurer","asticot","astre","astuce","atelier","atome","atrium","atroce","attaque","attentif","attirer","attraper","aubaine","auberge","audace","audible","augurer","aurore","automne","autruche","avaler","avancer","avarice","avenir","averse","aveugle","aviateur","avide","avion","aviser","avoine","avouer","avril","axial","axiome","badge","bafouer","bagage","baguette","baignade","balancer","balcon","baleine","balisage","bambin","bancaire","bandage","banlieue","bannière","banquier","barbier","baril","baron","barque","barrage","bassin","bastion","bataille","bateau","batterie","baudrier","bavarder","belette","bélier","belote","bénéfice","berceau","berger","berline","bermuda","besace","besogne","bétail","beurre","biberon","bicycle","bidule","bijou","bilan","bilingue","billard","binaire","biologie","biopsie","biotype","biscuit","bison","bistouri","bitume","bizarre","blafard","blague","blanchir","blessant","blinder","blond","bloquer","blouson","bobard","bobine","boire","boiser","bolide","bonbon","bondir","bonheur","bonifier","bonus","bordure","borne","botte","boucle","boueux","bougie","boulon","bouquin","bourse","boussole","boutique","boxeur","branche","brasier","brave","brebis","brèche","breuvage","bricoler","brigade","brillant","brioche","brique","brochure","broder","bronzer","brousse","broyeur","brume","brusque","brutal","bruyant","buffle","buisson","bulletin","bureau","burin","bustier","butiner","butoir","buvable","buvette","cabanon","cabine","cachette","cadeau","cadre","caféine","caillou","caisson","calculer","calepin","calibre","calmer","calomnie","calvaire","camarade","caméra","camion","campagne","canal","caneton","canon","cantine","canular","capable","caporal","caprice","capsule","capter","capuche","carabine","carbone","caresser","caribou","carnage","carotte","carreau","carton","cascade","casier","casque","cassure","causer","caution","cavalier","caverne","caviar","cédille","ceinture","céleste","cellule","cendrier","censurer","central","cercle","cérébral","cerise","cerner","cerveau","cesser","chagrin","chaise","chaleur","chambre","chance","chapitre","charbon","chasseur","chaton","chausson","chavirer","chemise","chenille","chéquier","chercher","cheval","chien","chiffre","chignon","chimère","chiot","chlorure","chocolat","choisir","chose","chouette","chrome","chute","cigare","cigogne","cimenter","cinéma","cintrer","circuler","cirer","cirque","citerne","citoyen","citron","civil","clairon","clameur","claquer","classe","clavier","client","cligner","climat","clivage","cloche","clonage","cloporte","cobalt","cobra","cocasse","cocotier","coder","codifier","coffre","cogner","cohésion","coiffer","coincer","colère","colibri","colline","colmater","colonel","combat","comédie","commande","compact","concert","conduire","confier","congeler","connoter","consonne","contact","convexe","copain","copie","corail","corbeau","cordage","corniche","corpus","correct","cortège","cosmique","costume","coton","coude","coupure","courage","couteau","couvrir","coyote","crabe","crainte","cravate","crayon","créature","créditer","crémeux","creuser","crevette","cribler","crier","cristal","critère","croire","croquer","crotale","crucial","cruel","crypter","cubique","cueillir","cuillère","cuisine","cuivre","culminer","cultiver","cumuler","cupide","curatif","curseur","cyanure","cycle","cylindre","cynique","daigner","damier","danger","danseur","dauphin","débattre","débiter","déborder","débrider","débutant","décaler","décembre","déchirer","décider","déclarer","décorer","décrire","décupler","dédale","déductif","déesse","défensif","défiler","défrayer","dégager","dégivrer","déglutir","dégrafer","déjeuner","délice","déloger","demander","demeurer","démolir","dénicher","dénouer","dentelle","dénuder","départ","dépenser","déphaser","déplacer","déposer","déranger","dérober","désastre","descente","désert","désigner","désobéir","dessiner","destrier","détacher","détester","détourer","détresse","devancer","devenir","deviner","devoir","diable","dialogue","diamant","dicter","différer","digérer","digital","digne","diluer","dimanche","diminuer","dioxyde","directif","diriger","discuter","disposer","dissiper","distance","divertir","diviser","docile","docteur","dogme","doigt","domaine","domicile","dompter","donateur","donjon","donner","dopamine","dortoir","dorure","dosage","doseur","dossier","dotation","douanier","double","douceur","douter","doyen","dragon","draper","dresser","dribbler","droiture","duperie","duplexe","durable","durcir","dynastie","éblouir","écarter","écharpe","échelle","éclairer","éclipse","éclore","écluse","école","économie","écorce","écouter","écraser","écrémer","écrivain","écrou","écume","écureuil","édifier","éduquer","effacer","effectif","effigie","effort","effrayer","effusion","égaliser","égarer","éjecter","élaborer","élargir","électron","élégant","éléphant","élève","éligible","élitisme","éloge","élucider","éluder","emballer","embellir","embryon","émeraude","émission","emmener","émotion","émouvoir","empereur","employer","emporter","emprise","émulsion","encadrer","enchère","enclave","encoche","endiguer","endosser","endroit","enduire","énergie","enfance","enfermer","enfouir","engager","engin","englober","énigme","enjamber","enjeu","enlever","ennemi","ennuyeux","enrichir","enrobage","enseigne","entasser","entendre","entier","entourer","entraver","énumérer","envahir","enviable","envoyer","enzyme","éolien","épaissir","épargne","épatant","épaule","épicerie","épidémie","épier","épilogue","épine","épisode","épitaphe","époque","épreuve","éprouver","épuisant","équerre","équipe","ériger","érosion","erreur","éruption","escalier","espadon","espèce","espiègle","espoir","esprit","esquiver","essayer","essence","essieu","essorer","estime","estomac","estrade","étagère","étaler","étanche","étatique","éteindre","étendoir","éternel","éthanol","éthique","ethnie","étirer","étoffer","étoile","étonnant","étourdir","étrange","étroit","étude","euphorie","évaluer","évasion","éventail","évidence","éviter","évolutif","évoquer","exact","exagérer","exaucer","exceller","excitant","exclusif","excuse","exécuter","exemple","exercer","exhaler","exhorter","exigence","exiler","exister","exotique","expédier","explorer","exposer","exprimer","exquis","extensif","extraire","exulter","fable","fabuleux","facette","facile","facture","faiblir","falaise","fameux","famille","farceur","farfelu","farine","farouche","fasciner","fatal","fatigue","faucon","fautif","faveur","favori","fébrile","féconder","fédérer","félin","femme","fémur","fendoir","féodal","fermer","féroce","ferveur","festival","feuille","feutre","février","fiasco","ficeler","fictif","fidèle","figure","filature","filetage","filière","filleul","filmer","filou","filtrer","financer","finir","fiole","firme","fissure","fixer","flairer","flamme","flasque","flatteur","fléau","flèche","fleur","flexion","flocon","flore","fluctuer","fluide","fluvial","folie","fonderie","fongible","fontaine","forcer","forgeron","formuler","fortune","fossile","foudre","fougère","fouiller","foulure","fourmi","fragile","fraise","franchir","frapper","frayeur","frégate","freiner","frelon","frémir","frénésie","frère","friable","friction","frisson","frivole","froid","fromage","frontal","frotter","fruit","fugitif","fuite","fureur","furieux","furtif","fusion","futur","gagner","galaxie","galerie","gambader","garantir","gardien","garnir","garrigue","gazelle","gazon","géant","gélatine","gélule","gendarme","général","génie","genou","gentil","géologie","géomètre","géranium","germe","gestuel","geyser","gibier","gicler","girafe","givre","glace","glaive","glisser","globe","gloire","glorieux","golfeur","gomme","gonfler","gorge","gorille","goudron","gouffre","goulot","goupille","gourmand","goutte","graduel","graffiti","graine","grand","grappin","gratuit","gravir","grenat","griffure","griller","grimper","grogner","gronder","grotte","groupe","gruger","grutier","gruyère","guépard","guerrier","guide","guimauve","guitare","gustatif","gymnaste","gyrostat","habitude","hachoir","halte","hameau","hangar","hanneton","haricot","harmonie","harpon","hasard","hélium","hématome","herbe","hérisson","hermine","héron","hésiter","heureux","hiberner","hibou","hilarant","histoire","hiver","homard","hommage","homogène","honneur","honorer","honteux","horde","horizon","horloge","hormone","horrible","houleux","housse","hublot","huileux","humain","humble","humide","humour","hurler","hydromel","hygiène","hymne","hypnose","idylle","ignorer","iguane","illicite","illusion","image","imbiber","imiter","immense","immobile","immuable","impact","impérial","implorer","imposer","imprimer","imputer","incarner","incendie","incident","incliner","incolore","indexer","indice","inductif","inédit","ineptie","inexact","infini","infliger","informer","infusion","ingérer","inhaler","inhiber","injecter","injure","innocent","inoculer","inonder","inscrire","insecte","insigne","insolite","inspirer","instinct","insulter","intact","intense","intime","intrigue","intuitif","inutile","invasion","inventer","inviter","invoquer","ironique","irradier","irréel","irriter","isoler","ivoire","ivresse","jaguar","jaillir","jambe","janvier","jardin","jauger","jaune","javelot","jetable","jeton","jeudi","jeunesse","joindre","joncher","jongler","joueur","jouissif","journal","jovial","joyau","joyeux","jubiler","jugement","junior","jupon","juriste","justice","juteux","juvénile","kayak","kimono","kiosque","label","labial","labourer","lacérer","lactose","lagune","laine","laisser","laitier","lambeau","lamelle","lampe","lanceur","langage","lanterne","lapin","largeur","larme","laurier","lavabo","lavoir","lecture","légal","léger","légume","lessive","lettre","levier","lexique","lézard","liasse","libérer","libre","licence","licorne","liège","lièvre","ligature","ligoter","ligue","limer","limite","limonade","limpide","linéaire","lingot","lionceau","liquide","lisière","lister","lithium","litige","littoral","livreur","logique","lointain","loisir","lombric","loterie","louer","lourd","loutre","louve","loyal","lubie","lucide","lucratif","lueur","lugubre","luisant","lumière","lunaire","lundi","luron","lutter","luxueux","machine","magasin","magenta","magique","maigre","maillon","maintien","mairie","maison","majorer","malaxer","maléfice","malheur","malice","mallette","mammouth","mandater","maniable","manquant","manteau","manuel","marathon","marbre","marchand","mardi","maritime","marqueur","marron","marteler","mascotte","massif","matériel","matière","matraque","maudire","maussade","mauve","maximal","méchant","méconnu","médaille","médecin","méditer","méduse","meilleur","mélange","mélodie","membre","mémoire","menacer","mener","menhir","mensonge","mentor","mercredi","mérite","merle","messager","mesure","métal","météore","méthode","métier","meuble","miauler","microbe","miette","mignon","migrer","milieu","million","mimique","mince","minéral","minimal","minorer","minute","miracle","miroiter","missile","mixte","mobile","moderne","moelleux","mondial","moniteur","monnaie","monotone","monstre","montagne","monument","moqueur","morceau","morsure","mortier","moteur","motif","mouche","moufle","moulin","mousson","mouton","mouvant","multiple","munition","muraille","murène","murmure","muscle","muséum","musicien","mutation","muter","mutuel","myriade","myrtille","mystère","mythique","nageur","nappe","narquois","narrer","natation","nation","nature","naufrage","nautique","navire","nébuleux","nectar","néfaste","négation","négliger","négocier","neige","nerveux","nettoyer","neurone","neutron","neveu","niche","nickel","nitrate","niveau","noble","nocif","nocturne","noirceur","noisette","nomade","nombreux","nommer","normatif","notable","notifier","notoire","nourrir","nouveau","novateur","novembre","novice","nuage","nuancer","nuire","nuisible","numéro","nuptial","nuque","nutritif","obéir","objectif","obliger","obscur","observer","obstacle","obtenir","obturer","occasion","occuper","océan","octobre","octroyer","octupler","oculaire","odeur","odorant","offenser","officier","offrir","ogive","oiseau","oisillon","olfactif","olivier","ombrage","omettre","onctueux","onduler","onéreux","onirique","opale","opaque","opérer","opinion","opportun","opprimer","opter","optique","orageux","orange","orbite","ordonner","oreille","organe","orgueil","orifice","ornement","orque","ortie","osciller","osmose","ossature","otarie","ouragan","ourson","outil","outrager","ouvrage","ovation","oxyde","oxygène","ozone","paisible","palace","palmarès","palourde","palper","panache","panda","pangolin","paniquer","panneau","panorama","pantalon","papaye","papier","papoter","papyrus","paradoxe","parcelle","paresse","parfumer","parler","parole","parrain","parsemer","partager","parure","parvenir","passion","pastèque","paternel","patience","patron","pavillon","pavoiser","payer","paysage","peigne","peintre","pelage","pélican","pelle","pelouse","peluche","pendule","pénétrer","pénible","pensif","pénurie","pépite","péplum","perdrix","perforer","période","permuter","perplexe","persil","perte","peser","pétale","petit","pétrir","peuple","pharaon","phobie","phoque","photon","phrase","physique","piano","pictural","pièce","pierre","pieuvre","pilote","pinceau","pipette","piquer","pirogue","piscine","piston","pivoter","pixel","pizza","placard","plafond","plaisir","planer","plaque","plastron","plateau","pleurer","plexus","pliage","plomb","plonger","pluie","plumage","pochette","poésie","poète","pointe","poirier","poisson","poivre","polaire","policier","pollen","polygone","pommade","pompier","ponctuel","pondérer","poney","portique","position","posséder","posture","potager","poteau","potion","pouce","poulain","poumon","pourpre","poussin","pouvoir","prairie","pratique","précieux","prédire","préfixe","prélude","prénom","présence","prétexte","prévoir","primitif","prince","prison","priver","problème","procéder","prodige","profond","progrès","proie","projeter","prologue","promener","propre","prospère","protéger","prouesse","proverbe","prudence","pruneau","psychose","public","puceron","puiser","pulpe","pulsar","punaise","punitif","pupitre","purifier","puzzle","pyramide","quasar","querelle","question","quiétude","quitter","quotient","racine","raconter","radieux","ragondin","raideur","raisin","ralentir","rallonge","ramasser","rapide","rasage","ratisser","ravager","ravin","rayonner","réactif","réagir","réaliser","réanimer","recevoir","réciter","réclamer","récolter","recruter","reculer","recycler","rédiger","redouter","refaire","réflexe","réformer","refrain","refuge","régalien","région","réglage","régulier","réitérer","rejeter","rejouer","relatif","relever","relief","remarque","remède","remise","remonter","remplir","remuer","renard","renfort","renifler","renoncer","rentrer","renvoi","replier","reporter","reprise","reptile","requin","réserve","résineux","résoudre","respect","rester","résultat","rétablir","retenir","réticule","retomber","retracer","réunion","réussir","revanche","revivre","révolte","révulsif","richesse","rideau","rieur","rigide","rigoler","rincer","riposter","risible","risque","rituel","rival","rivière","rocheux","romance","rompre","ronce","rondin","roseau","rosier","rotatif","rotor","rotule","rouge","rouille","rouleau","routine","royaume","ruban","rubis","ruche","ruelle","rugueux","ruiner","ruisseau","ruser","rustique","rythme","sabler","saboter","sabre","sacoche","safari","sagesse","saisir","salade","salive","salon","saluer","samedi","sanction","sanglier","sarcasme","sardine","saturer","saugrenu","saumon","sauter","sauvage","savant","savonner","scalpel","scandale","scélérat","scénario","sceptre","schéma","science","scinder","score","scrutin","sculpter","séance","sécable","sécher","secouer","sécréter","sédatif","séduire","seigneur","séjour","sélectif","semaine","sembler","semence","séminal","sénateur","sensible","sentence","séparer","séquence","serein","sergent","sérieux","serrure","sérum","service","sésame","sévir","sevrage","sextuple","sidéral","siècle","siéger","siffler","sigle","signal","silence","silicium","simple","sincère","sinistre","siphon","sirop","sismique","situer","skier","social","socle","sodium","soigneux","soldat","soleil","solitude","soluble","sombre","sommeil","somnoler","sonde","songeur","sonnette","sonore","sorcier","sortir","sosie","sottise","soucieux","soudure","souffle","soulever","soupape","source","soutirer","souvenir","spacieux","spatial","spécial","sphère","spiral","stable","station","sternum","stimulus","stipuler","strict","studieux","stupeur","styliste","sublime","substrat","subtil","subvenir","succès","sucre","suffixe","suggérer","suiveur","sulfate","superbe","supplier","surface","suricate","surmener","surprise","sursaut","survie","suspect","syllabe","symbole","symétrie","synapse","syntaxe","système","tabac","tablier","tactile","tailler","talent","talisman","talonner","tambour","tamiser","tangible","tapis","taquiner","tarder","tarif","tartine","tasse","tatami","tatouage","taupe","taureau","taxer","témoin","temporel","tenaille","tendre","teneur","tenir","tension","terminer","terne","terrible","tétine","texte","thème","théorie","thérapie","thorax","tibia","tiède","timide","tirelire","tiroir","tissu","titane","titre","tituber","toboggan","tolérant","tomate","tonique","tonneau","toponyme","torche","tordre","tornade","torpille","torrent","torse","tortue","totem","toucher","tournage","tousser","toxine","traction","trafic","tragique","trahir","train","trancher","travail","trèfle","tremper","trésor","treuil","triage","tribunal","tricoter","trilogie","triomphe","tripler","triturer","trivial","trombone","tronc","tropical","troupeau","tuile","tulipe","tumulte","tunnel","turbine","tuteur","tutoyer","tuyau","tympan","typhon","typique","tyran","ubuesque","ultime","ultrason","unanime","unifier","union","unique","unitaire","univers","uranium","urbain","urticant","usage","usine","usuel","usure","utile","utopie","vacarme","vaccin","vagabond","vague","vaillant","vaincre","vaisseau","valable","valise","vallon","valve","vampire","vanille","vapeur","varier","vaseux","vassal","vaste","vecteur","vedette","végétal","véhicule","veinard","véloce","vendredi","vénérer","venger","venimeux","ventouse","verdure","vérin","vernir","verrou","verser","vertu","veston","vétéran","vétuste","vexant","vexer","viaduc","viande","victoire","vidange","vidéo","vignette","vigueur","vilain","village","vinaigre","violon","vipère","virement","virtuose","virus","visage","viseur","vision","visqueux","visuel","vital","vitesse","viticole","vitrine","vivace","vivipare","vocation","voguer","voile","voisin","voiture","volaille","volcan","voltiger","volume","vorace","vortex","voter","vouloir","voyage","voyelle","wagon","xénon","yacht","zèbre","zénith","zeste","zoologie"]')},function(e){e.exports=JSON.parse('["abaco","abbaglio","abbinato","abete","abisso","abolire","abrasivo","abrogato","accadere","accenno","accusato","acetone","achille","acido","acqua","acre","acrilico","acrobata","acuto","adagio","addebito","addome","adeguato","aderire","adipe","adottare","adulare","affabile","affetto","affisso","affranto","aforisma","afoso","africano","agave","agente","agevole","aggancio","agire","agitare","agonismo","agricolo","agrumeto","aguzzo","alabarda","alato","albatro","alberato","albo","albume","alce","alcolico","alettone","alfa","algebra","aliante","alibi","alimento","allagato","allegro","allievo","allodola","allusivo","almeno","alogeno","alpaca","alpestre","altalena","alterno","alticcio","altrove","alunno","alveolo","alzare","amalgama","amanita","amarena","ambito","ambrato","ameba","america","ametista","amico","ammasso","ammenda","ammirare","ammonito","amore","ampio","ampliare","amuleto","anacardo","anagrafe","analista","anarchia","anatra","anca","ancella","ancora","andare","andrea","anello","angelo","angolare","angusto","anima","annegare","annidato","anno","annuncio","anonimo","anticipo","anzi","apatico","apertura","apode","apparire","appetito","appoggio","approdo","appunto","aprile","arabica","arachide","aragosta","araldica","arancio","aratura","arazzo","arbitro","archivio","ardito","arenile","argento","argine","arguto","aria","armonia","arnese","arredato","arringa","arrosto","arsenico","arso","artefice","arzillo","asciutto","ascolto","asepsi","asettico","asfalto","asino","asola","aspirato","aspro","assaggio","asse","assoluto","assurdo","asta","astenuto","astice","astratto","atavico","ateismo","atomico","atono","attesa","attivare","attorno","attrito","attuale","ausilio","austria","autista","autonomo","autunno","avanzato","avere","avvenire","avviso","avvolgere","azione","azoto","azzimo","azzurro","babele","baccano","bacino","baco","badessa","badilata","bagnato","baita","balcone","baldo","balena","ballata","balzano","bambino","bandire","baraonda","barbaro","barca","baritono","barlume","barocco","basilico","basso","batosta","battuto","baule","bava","bavosa","becco","beffa","belgio","belva","benda","benevole","benigno","benzina","bere","berlina","beta","bibita","bici","bidone","bifido","biga","bilancia","bimbo","binocolo","biologo","bipede","bipolare","birbante","birra","biscotto","bisesto","bisnonno","bisonte","bisturi","bizzarro","blando","blatta","bollito","bonifico","bordo","bosco","botanico","bottino","bozzolo","braccio","bradipo","brama","branca","bravura","bretella","brevetto","brezza","briglia","brillante","brindare","broccolo","brodo","bronzina","brullo","bruno","bubbone","buca","budino","buffone","buio","bulbo","buono","burlone","burrasca","bussola","busta","cadetto","caduco","calamaro","calcolo","calesse","calibro","calmo","caloria","cambusa","camerata","camicia","cammino","camola","campale","canapa","candela","cane","canino","canotto","cantina","capace","capello","capitolo","capogiro","cappero","capra","capsula","carapace","carcassa","cardo","carisma","carovana","carretto","cartolina","casaccio","cascata","caserma","caso","cassone","castello","casuale","catasta","catena","catrame","cauto","cavillo","cedibile","cedrata","cefalo","celebre","cellulare","cena","cenone","centesimo","ceramica","cercare","certo","cerume","cervello","cesoia","cespo","ceto","chela","chiaro","chicca","chiedere","chimera","china","chirurgo","chitarra","ciao","ciclismo","cifrare","cigno","cilindro","ciottolo","circa","cirrosi","citrico","cittadino","ciuffo","civetta","civile","classico","clinica","cloro","cocco","codardo","codice","coerente","cognome","collare","colmato","colore","colposo","coltivato","colza","coma","cometa","commando","comodo","computer","comune","conciso","condurre","conferma","congelare","coniuge","connesso","conoscere","consumo","continuo","convegno","coperto","copione","coppia","copricapo","corazza","cordata","coricato","cornice","corolla","corpo","corredo","corsia","cortese","cosmico","costante","cottura","covato","cratere","cravatta","creato","credere","cremoso","crescita","creta","criceto","crinale","crisi","critico","croce","cronaca","crostata","cruciale","crusca","cucire","cuculo","cugino","cullato","cupola","curatore","cursore","curvo","cuscino","custode","dado","daino","dalmata","damerino","daniela","dannoso","danzare","datato","davanti","davvero","debutto","decennio","deciso","declino","decollo","decreto","dedicato","definito","deforme","degno","delegare","delfino","delirio","delta","demenza","denotato","dentro","deposito","derapata","derivare","deroga","descritto","deserto","desiderio","desumere","detersivo","devoto","diametro","dicembre","diedro","difeso","diffuso","digerire","digitale","diluvio","dinamico","dinnanzi","dipinto","diploma","dipolo","diradare","dire","dirotto","dirupo","disagio","discreto","disfare","disgelo","disposto","distanza","disumano","dito","divano","divelto","dividere","divorato","doblone","docente","doganale","dogma","dolce","domato","domenica","dominare","dondolo","dono","dormire","dote","dottore","dovuto","dozzina","drago","druido","dubbio","dubitare","ducale","duna","duomo","duplice","duraturo","ebano","eccesso","ecco","eclissi","economia","edera","edicola","edile","editoria","educare","egemonia","egli","egoismo","egregio","elaborato","elargire","elegante","elencato","eletto","elevare","elfico","elica","elmo","elsa","eluso","emanato","emblema","emesso","emiro","emotivo","emozione","empirico","emulo","endemico","enduro","energia","enfasi","enoteca","entrare","enzima","epatite","epilogo","episodio","epocale","eppure","equatore","erario","erba","erboso","erede","eremita","erigere","ermetico","eroe","erosivo","errante","esagono","esame","esanime","esaudire","esca","esempio","esercito","esibito","esigente","esistere","esito","esofago","esortato","esoso","espanso","espresso","essenza","esso","esteso","estimare","estonia","estroso","esultare","etilico","etnico","etrusco","etto","euclideo","europa","evaso","evidenza","evitato","evoluto","evviva","fabbrica","faccenda","fachiro","falco","famiglia","fanale","fanfara","fango","fantasma","fare","farfalla","farinoso","farmaco","fascia","fastoso","fasullo","faticare","fato","favoloso","febbre","fecola","fede","fegato","felpa","feltro","femmina","fendere","fenomeno","fermento","ferro","fertile","fessura","festivo","fetta","feudo","fiaba","fiducia","fifa","figurato","filo","finanza","finestra","finire","fiore","fiscale","fisico","fiume","flacone","flamenco","flebo","flemma","florido","fluente","fluoro","fobico","focaccia","focoso","foderato","foglio","folata","folclore","folgore","fondente","fonetico","fonia","fontana","forbito","forchetta","foresta","formica","fornaio","foro","fortezza","forzare","fosfato","fosso","fracasso","frana","frassino","fratello","freccetta","frenata","fresco","frigo","frollino","fronde","frugale","frutta","fucilata","fucsia","fuggente","fulmine","fulvo","fumante","fumetto","fumoso","fune","funzione","fuoco","furbo","furgone","furore","fuso","futile","gabbiano","gaffe","galateo","gallina","galoppo","gambero","gamma","garanzia","garbo","garofano","garzone","gasdotto","gasolio","gastrico","gatto","gaudio","gazebo","gazzella","geco","gelatina","gelso","gemello","gemmato","gene","genitore","gennaio","genotipo","gergo","ghepardo","ghiaccio","ghisa","giallo","gilda","ginepro","giocare","gioiello","giorno","giove","girato","girone","gittata","giudizio","giurato","giusto","globulo","glutine","gnomo","gobba","golf","gomito","gommone","gonfio","gonna","governo","gracile","grado","grafico","grammo","grande","grattare","gravoso","grazia","greca","gregge","grifone","grigio","grinza","grotta","gruppo","guadagno","guaio","guanto","guardare","gufo","guidare","ibernato","icona","identico","idillio","idolo","idra","idrico","idrogeno","igiene","ignaro","ignorato","ilare","illeso","illogico","illudere","imballo","imbevuto","imbocco","imbuto","immane","immerso","immolato","impacco","impeto","impiego","importo","impronta","inalare","inarcare","inattivo","incanto","incendio","inchino","incisivo","incluso","incontro","incrocio","incubo","indagine","india","indole","inedito","infatti","infilare","inflitto","ingaggio","ingegno","inglese","ingordo","ingrosso","innesco","inodore","inoltrare","inondato","insano","insetto","insieme","insonnia","insulina","intasato","intero","intonaco","intuito","inumidire","invalido","invece","invito","iperbole","ipnotico","ipotesi","ippica","iride","irlanda","ironico","irrigato","irrorare","isolato","isotopo","isterico","istituto","istrice","italia","iterare","labbro","labirinto","lacca","lacerato","lacrima","lacuna","laddove","lago","lampo","lancetta","lanterna","lardoso","larga","laringe","lastra","latenza","latino","lattuga","lavagna","lavoro","legale","leggero","lembo","lentezza","lenza","leone","lepre","lesivo","lessato","lesto","letterale","leva","levigato","libero","lido","lievito","lilla","limatura","limitare","limpido","lineare","lingua","liquido","lira","lirica","lisca","lite","litigio","livrea","locanda","lode","logica","lombare","londra","longevo","loquace","lorenzo","loto","lotteria","luce","lucidato","lumaca","luminoso","lungo","lupo","luppolo","lusinga","lusso","lutto","macabro","macchina","macero","macinato","madama","magico","maglia","magnete","magro","maiolica","malafede","malgrado","malinteso","malsano","malto","malumore","mana","mancia","mandorla","mangiare","manifesto","mannaro","manovra","mansarda","mantide","manubrio","mappa","maratona","marcire","maretta","marmo","marsupio","maschera","massaia","mastino","materasso","matricola","mattone","maturo","mazurca","meandro","meccanico","mecenate","medesimo","meditare","mega","melassa","melis","melodia","meninge","meno","mensola","mercurio","merenda","merlo","meschino","mese","messere","mestolo","metallo","metodo","mettere","miagolare","mica","micelio","michele","microbo","midollo","miele","migliore","milano","milite","mimosa","minerale","mini","minore","mirino","mirtillo","miscela","missiva","misto","misurare","mitezza","mitigare","mitra","mittente","mnemonico","modello","modifica","modulo","mogano","mogio","mole","molosso","monastero","monco","mondina","monetario","monile","monotono","monsone","montato","monviso","mora","mordere","morsicato","mostro","motivato","motosega","motto","movenza","movimento","mozzo","mucca","mucosa","muffa","mughetto","mugnaio","mulatto","mulinello","multiplo","mummia","munto","muovere","murale","musa","muscolo","musica","mutevole","muto","nababbo","nafta","nanometro","narciso","narice","narrato","nascere","nastrare","naturale","nautica","naviglio","nebulosa","necrosi","negativo","negozio","nemmeno","neofita","neretto","nervo","nessuno","nettuno","neutrale","neve","nevrotico","nicchia","ninfa","nitido","nobile","nocivo","nodo","nome","nomina","nordico","normale","norvegese","nostrano","notare","notizia","notturno","novella","nucleo","nulla","numero","nuovo","nutrire","nuvola","nuziale","oasi","obbedire","obbligo","obelisco","oblio","obolo","obsoleto","occasione","occhio","occidente","occorrere","occultare","ocra","oculato","odierno","odorare","offerta","offrire","offuscato","oggetto","oggi","ognuno","olandese","olfatto","oliato","oliva","ologramma","oltre","omaggio","ombelico","ombra","omega","omissione","ondoso","onere","onice","onnivoro","onorevole","onta","operato","opinione","opposto","oracolo","orafo","ordine","orecchino","orefice","orfano","organico","origine","orizzonte","orma","ormeggio","ornativo","orologio","orrendo","orribile","ortensia","ortica","orzata","orzo","osare","oscurare","osmosi","ospedale","ospite","ossa","ossidare","ostacolo","oste","otite","otre","ottagono","ottimo","ottobre","ovale","ovest","ovino","oviparo","ovocito","ovunque","ovviare","ozio","pacchetto","pace","pacifico","padella","padrone","paese","paga","pagina","palazzina","palesare","pallido","palo","palude","pandoro","pannello","paolo","paonazzo","paprica","parabola","parcella","parere","pargolo","pari","parlato","parola","partire","parvenza","parziale","passivo","pasticca","patacca","patologia","pattume","pavone","peccato","pedalare","pedonale","peggio","peloso","penare","pendice","penisola","pennuto","penombra","pensare","pentola","pepe","pepita","perbene","percorso","perdonato","perforare","pergamena","periodo","permesso","perno","perplesso","persuaso","pertugio","pervaso","pesatore","pesista","peso","pestifero","petalo","pettine","petulante","pezzo","piacere","pianta","piattino","piccino","picozza","piega","pietra","piffero","pigiama","pigolio","pigro","pila","pilifero","pillola","pilota","pimpante","pineta","pinna","pinolo","pioggia","piombo","piramide","piretico","pirite","pirolisi","pitone","pizzico","placebo","planare","plasma","platano","plenario","pochezza","poderoso","podismo","poesia","poggiare","polenta","poligono","pollice","polmonite","polpetta","polso","poltrona","polvere","pomice","pomodoro","ponte","popoloso","porfido","poroso","porpora","porre","portata","posa","positivo","possesso","postulato","potassio","potere","pranzo","prassi","pratica","precluso","predica","prefisso","pregiato","prelievo","premere","prenotare","preparato","presenza","pretesto","prevalso","prima","principe","privato","problema","procura","produrre","profumo","progetto","prolunga","promessa","pronome","proposta","proroga","proteso","prova","prudente","prugna","prurito","psiche","pubblico","pudica","pugilato","pugno","pulce","pulito","pulsante","puntare","pupazzo","pupilla","puro","quadro","qualcosa","quasi","querela","quota","raccolto","raddoppio","radicale","radunato","raffica","ragazzo","ragione","ragno","ramarro","ramingo","ramo","randagio","rantolare","rapato","rapina","rappreso","rasatura","raschiato","rasente","rassegna","rastrello","rata","ravveduto","reale","recepire","recinto","recluta","recondito","recupero","reddito","redimere","regalato","registro","regola","regresso","relazione","remare","remoto","renna","replica","reprimere","reputare","resa","residente","responso","restauro","rete","retina","retorica","rettifica","revocato","riassunto","ribadire","ribelle","ribrezzo","ricarica","ricco","ricevere","riciclato","ricordo","ricreduto","ridicolo","ridurre","rifasare","riflesso","riforma","rifugio","rigare","rigettato","righello","rilassato","rilevato","rimanere","rimbalzo","rimedio","rimorchio","rinascita","rincaro","rinforzo","rinnovo","rinomato","rinsavito","rintocco","rinuncia","rinvenire","riparato","ripetuto","ripieno","riportare","ripresa","ripulire","risata","rischio","riserva","risibile","riso","rispetto","ristoro","risultato","risvolto","ritardo","ritegno","ritmico","ritrovo","riunione","riva","riverso","rivincita","rivolto","rizoma","roba","robotico","robusto","roccia","roco","rodaggio","rodere","roditore","rogito","rollio","romantico","rompere","ronzio","rosolare","rospo","rotante","rotondo","rotula","rovescio","rubizzo","rubrica","ruga","rullino","rumine","rumoroso","ruolo","rupe","russare","rustico","sabato","sabbiare","sabotato","sagoma","salasso","saldatura","salgemma","salivare","salmone","salone","saltare","saluto","salvo","sapere","sapido","saporito","saraceno","sarcasmo","sarto","sassoso","satellite","satira","satollo","saturno","savana","savio","saziato","sbadiglio","sbalzo","sbancato","sbarra","sbattere","sbavare","sbendare","sbirciare","sbloccato","sbocciato","sbrinare","sbruffone","sbuffare","scabroso","scadenza","scala","scambiare","scandalo","scapola","scarso","scatenare","scavato","scelto","scenico","scettro","scheda","schiena","sciarpa","scienza","scindere","scippo","sciroppo","scivolo","sclerare","scodella","scolpito","scomparto","sconforto","scoprire","scorta","scossone","scozzese","scriba","scrollare","scrutinio","scuderia","scultore","scuola","scuro","scusare","sdebitare","sdoganare","seccatura","secondo","sedano","seggiola","segnalato","segregato","seguito","selciato","selettivo","sella","selvaggio","semaforo","sembrare","seme","seminato","sempre","senso","sentire","sepolto","sequenza","serata","serbato","sereno","serio","serpente","serraglio","servire","sestina","setola","settimana","sfacelo","sfaldare","sfamato","sfarzoso","sfaticato","sfera","sfida","sfilato","sfinge","sfocato","sfoderare","sfogo","sfoltire","sforzato","sfratto","sfruttato","sfuggito","sfumare","sfuso","sgabello","sgarbato","sgonfiare","sgorbio","sgrassato","sguardo","sibilo","siccome","sierra","sigla","signore","silenzio","sillaba","simbolo","simpatico","simulato","sinfonia","singolo","sinistro","sino","sintesi","sinusoide","sipario","sisma","sistole","situato","slitta","slogatura","sloveno","smarrito","smemorato","smentito","smeraldo","smilzo","smontare","smottato","smussato","snellire","snervato","snodo","sobbalzo","sobrio","soccorso","sociale","sodale","soffitto","sogno","soldato","solenne","solido","sollazzo","solo","solubile","solvente","somatico","somma","sonda","sonetto","sonnifero","sopire","soppeso","sopra","sorgere","sorpasso","sorriso","sorso","sorteggio","sorvolato","sospiro","sosta","sottile","spada","spalla","spargere","spatola","spavento","spazzola","specie","spedire","spegnere","spelatura","speranza","spessore","spettrale","spezzato","spia","spigoloso","spillato","spinoso","spirale","splendido","sportivo","sposo","spranga","sprecare","spronato","spruzzo","spuntino","squillo","sradicare","srotolato","stabile","stacco","staffa","stagnare","stampato","stantio","starnuto","stasera","statuto","stelo","steppa","sterzo","stiletto","stima","stirpe","stivale","stizzoso","stonato","storico","strappo","stregato","stridulo","strozzare","strutto","stuccare","stufo","stupendo","subentro","succoso","sudore","suggerito","sugo","sultano","suonare","superbo","supporto","surgelato","surrogato","sussurro","sutura","svagare","svedese","sveglio","svelare","svenuto","svezia","sviluppo","svista","svizzera","svolta","svuotare","tabacco","tabulato","tacciare","taciturno","tale","talismano","tampone","tannino","tara","tardivo","targato","tariffa","tarpare","tartaruga","tasto","tattico","taverna","tavolata","tazza","teca","tecnico","telefono","temerario","tempo","temuto","tendone","tenero","tensione","tentacolo","teorema","terme","terrazzo","terzetto","tesi","tesserato","testato","tetro","tettoia","tifare","tigella","timbro","tinto","tipico","tipografo","tiraggio","tiro","titanio","titolo","titubante","tizio","tizzone","toccare","tollerare","tolto","tombola","tomo","tonfo","tonsilla","topazio","topologia","toppa","torba","tornare","torrone","tortora","toscano","tossire","tostatura","totano","trabocco","trachea","trafila","tragedia","tralcio","tramonto","transito","trapano","trarre","trasloco","trattato","trave","treccia","tremolio","trespolo","tributo","tricheco","trifoglio","trillo","trincea","trio","tristezza","triturato","trivella","tromba","trono","troppo","trottola","trovare","truccato","tubatura","tuffato","tulipano","tumulto","tunisia","turbare","turchino","tuta","tutela","ubicato","uccello","uccisore","udire","uditivo","uffa","ufficio","uguale","ulisse","ultimato","umano","umile","umorismo","uncinetto","ungere","ungherese","unicorno","unificato","unisono","unitario","unte","uovo","upupa","uragano","urgenza","urlo","usanza","usato","uscito","usignolo","usuraio","utensile","utilizzo","utopia","vacante","vaccinato","vagabondo","vagliato","valanga","valgo","valico","valletta","valoroso","valutare","valvola","vampata","vangare","vanitoso","vano","vantaggio","vanvera","vapore","varano","varcato","variante","vasca","vedetta","vedova","veduto","vegetale","veicolo","velcro","velina","velluto","veloce","venato","vendemmia","vento","verace","verbale","vergogna","verifica","vero","verruca","verticale","vescica","vessillo","vestale","veterano","vetrina","vetusto","viandante","vibrante","vicenda","vichingo","vicinanza","vidimare","vigilia","vigneto","vigore","vile","villano","vimini","vincitore","viola","vipera","virgola","virologo","virulento","viscoso","visione","vispo","vissuto","visura","vita","vitello","vittima","vivanda","vivido","viziare","voce","voga","volatile","volere","volpe","voragine","vulcano","zampogna","zanna","zappato","zattera","zavorra","zefiro","zelante","zelo","zenzero","zerbino","zibetto","zinco","zircone","zitto","zolla","zotico","zucchero","zufolo","zulu","zuppa"]')},function(e){e.exports=JSON.parse('["ábaco","abdomen","abeja","abierto","abogado","abono","aborto","abrazo","abrir","abuelo","abuso","acabar","academia","acceso","acción","aceite","acelga","acento","aceptar","ácido","aclarar","acné","acoger","acoso","activo","acto","actriz","actuar","acudir","acuerdo","acusar","adicto","admitir","adoptar","adorno","aduana","adulto","aéreo","afectar","afición","afinar","afirmar","ágil","agitar","agonía","agosto","agotar","agregar","agrio","agua","agudo","águila","aguja","ahogo","ahorro","aire","aislar","ajedrez","ajeno","ajuste","alacrán","alambre","alarma","alba","álbum","alcalde","aldea","alegre","alejar","alerta","aleta","alfiler","alga","algodón","aliado","aliento","alivio","alma","almeja","almíbar","altar","alteza","altivo","alto","altura","alumno","alzar","amable","amante","amapola","amargo","amasar","ámbar","ámbito","ameno","amigo","amistad","amor","amparo","amplio","ancho","anciano","ancla","andar","andén","anemia","ángulo","anillo","ánimo","anís","anotar","antena","antiguo","antojo","anual","anular","anuncio","añadir","añejo","año","apagar","aparato","apetito","apio","aplicar","apodo","aporte","apoyo","aprender","aprobar","apuesta","apuro","arado","araña","arar","árbitro","árbol","arbusto","archivo","arco","arder","ardilla","arduo","área","árido","aries","armonía","arnés","aroma","arpa","arpón","arreglo","arroz","arruga","arte","artista","asa","asado","asalto","ascenso","asegurar","aseo","asesor","asiento","asilo","asistir","asno","asombro","áspero","astilla","astro","astuto","asumir","asunto","atajo","ataque","atar","atento","ateo","ático","atleta","átomo","atraer","atroz","atún","audaz","audio","auge","aula","aumento","ausente","autor","aval","avance","avaro","ave","avellana","avena","avestruz","avión","aviso","ayer","ayuda","ayuno","azafrán","azar","azote","azúcar","azufre","azul","baba","babor","bache","bahía","baile","bajar","balanza","balcón","balde","bambú","banco","banda","baño","barba","barco","barniz","barro","báscula","bastón","basura","batalla","batería","batir","batuta","baúl","bazar","bebé","bebida","bello","besar","beso","bestia","bicho","bien","bingo","blanco","bloque","blusa","boa","bobina","bobo","boca","bocina","boda","bodega","boina","bola","bolero","bolsa","bomba","bondad","bonito","bono","bonsái","borde","borrar","bosque","bote","botín","bóveda","bozal","bravo","brazo","brecha","breve","brillo","brinco","brisa","broca","broma","bronce","brote","bruja","brusco","bruto","buceo","bucle","bueno","buey","bufanda","bufón","búho","buitre","bulto","burbuja","burla","burro","buscar","butaca","buzón","caballo","cabeza","cabina","cabra","cacao","cadáver","cadena","caer","café","caída","caimán","caja","cajón","cal","calamar","calcio","caldo","calidad","calle","calma","calor","calvo","cama","cambio","camello","camino","campo","cáncer","candil","canela","canguro","canica","canto","caña","cañón","caoba","caos","capaz","capitán","capote","captar","capucha","cara","carbón","cárcel","careta","carga","cariño","carne","carpeta","carro","carta","casa","casco","casero","caspa","castor","catorce","catre","caudal","causa","cazo","cebolla","ceder","cedro","celda","célebre","celoso","célula","cemento","ceniza","centro","cerca","cerdo","cereza","cero","cerrar","certeza","césped","cetro","chacal","chaleco","champú","chancla","chapa","charla","chico","chiste","chivo","choque","choza","chuleta","chupar","ciclón","ciego","cielo","cien","cierto","cifra","cigarro","cima","cinco","cine","cinta","ciprés","circo","ciruela","cisne","cita","ciudad","clamor","clan","claro","clase","clave","cliente","clima","clínica","cobre","cocción","cochino","cocina","coco","código","codo","cofre","coger","cohete","cojín","cojo","cola","colcha","colegio","colgar","colina","collar","colmo","columna","combate","comer","comida","cómodo","compra","conde","conejo","conga","conocer","consejo","contar","copa","copia","corazón","corbata","corcho","cordón","corona","correr","coser","cosmos","costa","cráneo","cráter","crear","crecer","creído","crema","cría","crimen","cripta","crisis","cromo","crónica","croqueta","crudo","cruz","cuadro","cuarto","cuatro","cubo","cubrir","cuchara","cuello","cuento","cuerda","cuesta","cueva","cuidar","culebra","culpa","culto","cumbre","cumplir","cuna","cuneta","cuota","cupón","cúpula","curar","curioso","curso","curva","cutis","dama","danza","dar","dardo","dátil","deber","débil","década","decir","dedo","defensa","definir","dejar","delfín","delgado","delito","demora","denso","dental","deporte","derecho","derrota","desayuno","deseo","desfile","desnudo","destino","desvío","detalle","detener","deuda","día","diablo","diadema","diamante","diana","diario","dibujo","dictar","diente","dieta","diez","difícil","digno","dilema","diluir","dinero","directo","dirigir","disco","diseño","disfraz","diva","divino","doble","doce","dolor","domingo","don","donar","dorado","dormir","dorso","dos","dosis","dragón","droga","ducha","duda","duelo","dueño","dulce","dúo","duque","durar","dureza","duro","ébano","ebrio","echar","eco","ecuador","edad","edición","edificio","editor","educar","efecto","eficaz","eje","ejemplo","elefante","elegir","elemento","elevar","elipse","élite","elixir","elogio","eludir","embudo","emitir","emoción","empate","empeño","empleo","empresa","enano","encargo","enchufe","encía","enemigo","enero","enfado","enfermo","engaño","enigma","enlace","enorme","enredo","ensayo","enseñar","entero","entrar","envase","envío","época","equipo","erizo","escala","escena","escolar","escribir","escudo","esencia","esfera","esfuerzo","espada","espejo","espía","esposa","espuma","esquí","estar","este","estilo","estufa","etapa","eterno","ética","etnia","evadir","evaluar","evento","evitar","exacto","examen","exceso","excusa","exento","exigir","exilio","existir","éxito","experto","explicar","exponer","extremo","fábrica","fábula","fachada","fácil","factor","faena","faja","falda","fallo","falso","faltar","fama","familia","famoso","faraón","farmacia","farol","farsa","fase","fatiga","fauna","favor","fax","febrero","fecha","feliz","feo","feria","feroz","fértil","fervor","festín","fiable","fianza","fiar","fibra","ficción","ficha","fideo","fiebre","fiel","fiera","fiesta","figura","fijar","fijo","fila","filete","filial","filtro","fin","finca","fingir","finito","firma","flaco","flauta","flecha","flor","flota","fluir","flujo","flúor","fobia","foca","fogata","fogón","folio","folleto","fondo","forma","forro","fortuna","forzar","fosa","foto","fracaso","frágil","franja","frase","fraude","freír","freno","fresa","frío","frito","fruta","fuego","fuente","fuerza","fuga","fumar","función","funda","furgón","furia","fusil","fútbol","futuro","gacela","gafas","gaita","gajo","gala","galería","gallo","gamba","ganar","gancho","ganga","ganso","garaje","garza","gasolina","gastar","gato","gavilán","gemelo","gemir","gen","género","genio","gente","geranio","gerente","germen","gesto","gigante","gimnasio","girar","giro","glaciar","globo","gloria","gol","golfo","goloso","golpe","goma","gordo","gorila","gorra","gota","goteo","gozar","grada","gráfico","grano","grasa","gratis","grave","grieta","grillo","gripe","gris","grito","grosor","grúa","grueso","grumo","grupo","guante","guapo","guardia","guerra","guía","guiño","guion","guiso","guitarra","gusano","gustar","haber","hábil","hablar","hacer","hacha","hada","hallar","hamaca","harina","haz","hazaña","hebilla","hebra","hecho","helado","helio","hembra","herir","hermano","héroe","hervir","hielo","hierro","hígado","higiene","hijo","himno","historia","hocico","hogar","hoguera","hoja","hombre","hongo","honor","honra","hora","hormiga","horno","hostil","hoyo","hueco","huelga","huerta","hueso","huevo","huida","huir","humano","húmedo","humilde","humo","hundir","huracán","hurto","icono","ideal","idioma","ídolo","iglesia","iglú","igual","ilegal","ilusión","imagen","imán","imitar","impar","imperio","imponer","impulso","incapaz","índice","inerte","infiel","informe","ingenio","inicio","inmenso","inmune","innato","insecto","instante","interés","íntimo","intuir","inútil","invierno","ira","iris","ironía","isla","islote","jabalí","jabón","jamón","jarabe","jardín","jarra","jaula","jazmín","jefe","jeringa","jinete","jornada","joroba","joven","joya","juerga","jueves","juez","jugador","jugo","juguete","juicio","junco","jungla","junio","juntar","júpiter","jurar","justo","juvenil","juzgar","kilo","koala","labio","lacio","lacra","lado","ladrón","lagarto","lágrima","laguna","laico","lamer","lámina","lámpara","lana","lancha","langosta","lanza","lápiz","largo","larva","lástima","lata","látex","latir","laurel","lavar","lazo","leal","lección","leche","lector","leer","legión","legumbre","lejano","lengua","lento","leña","león","leopardo","lesión","letal","letra","leve","leyenda","libertad","libro","licor","líder","lidiar","lienzo","liga","ligero","lima","límite","limón","limpio","lince","lindo","línea","lingote","lino","linterna","líquido","liso","lista","litera","litio","litro","llaga","llama","llanto","llave","llegar","llenar","llevar","llorar","llover","lluvia","lobo","loción","loco","locura","lógica","logro","lombriz","lomo","lonja","lote","lucha","lucir","lugar","lujo","luna","lunes","lupa","lustro","luto","luz","maceta","macho","madera","madre","maduro","maestro","mafia","magia","mago","maíz","maldad","maleta","malla","malo","mamá","mambo","mamut","manco","mando","manejar","manga","maniquí","manjar","mano","manso","manta","mañana","mapa","máquina","mar","marco","marea","marfil","margen","marido","mármol","marrón","martes","marzo","masa","máscara","masivo","matar","materia","matiz","matriz","máximo","mayor","mazorca","mecha","medalla","medio","médula","mejilla","mejor","melena","melón","memoria","menor","mensaje","mente","menú","mercado","merengue","mérito","mes","mesón","meta","meter","método","metro","mezcla","miedo","miel","miembro","miga","mil","milagro","militar","millón","mimo","mina","minero","mínimo","minuto","miope","mirar","misa","miseria","misil","mismo","mitad","mito","mochila","moción","moda","modelo","moho","mojar","molde","moler","molino","momento","momia","monarca","moneda","monja","monto","moño","morada","morder","moreno","morir","morro","morsa","mortal","mosca","mostrar","motivo","mover","móvil","mozo","mucho","mudar","mueble","muela","muerte","muestra","mugre","mujer","mula","muleta","multa","mundo","muñeca","mural","muro","músculo","museo","musgo","música","muslo","nácar","nación","nadar","naipe","naranja","nariz","narrar","nasal","natal","nativo","natural","náusea","naval","nave","navidad","necio","néctar","negar","negocio","negro","neón","nervio","neto","neutro","nevar","nevera","nicho","nido","niebla","nieto","niñez","niño","nítido","nivel","nobleza","noche","nómina","noria","norma","norte","nota","noticia","novato","novela","novio","nube","nuca","núcleo","nudillo","nudo","nuera","nueve","nuez","nulo","número","nutria","oasis","obeso","obispo","objeto","obra","obrero","observar","obtener","obvio","oca","ocaso","océano","ochenta","ocho","ocio","ocre","octavo","octubre","oculto","ocupar","ocurrir","odiar","odio","odisea","oeste","ofensa","oferta","oficio","ofrecer","ogro","oído","oír","ojo","ola","oleada","olfato","olivo","olla","olmo","olor","olvido","ombligo","onda","onza","opaco","opción","ópera","opinar","oponer","optar","óptica","opuesto","oración","orador","oral","órbita","orca","orden","oreja","órgano","orgía","orgullo","oriente","origen","orilla","oro","orquesta","oruga","osadía","oscuro","osezno","oso","ostra","otoño","otro","oveja","óvulo","óxido","oxígeno","oyente","ozono","pacto","padre","paella","página","pago","país","pájaro","palabra","palco","paleta","pálido","palma","paloma","palpar","pan","panal","pánico","pantera","pañuelo","papá","papel","papilla","paquete","parar","parcela","pared","parir","paro","párpado","parque","párrafo","parte","pasar","paseo","pasión","paso","pasta","pata","patio","patria","pausa","pauta","pavo","payaso","peatón","pecado","pecera","pecho","pedal","pedir","pegar","peine","pelar","peldaño","pelea","peligro","pellejo","pelo","peluca","pena","pensar","peñón","peón","peor","pepino","pequeño","pera","percha","perder","pereza","perfil","perico","perla","permiso","perro","persona","pesa","pesca","pésimo","pestaña","pétalo","petróleo","pez","pezuña","picar","pichón","pie","piedra","pierna","pieza","pijama","pilar","piloto","pimienta","pino","pintor","pinza","piña","piojo","pipa","pirata","pisar","piscina","piso","pista","pitón","pizca","placa","plan","plata","playa","plaza","pleito","pleno","plomo","pluma","plural","pobre","poco","poder","podio","poema","poesía","poeta","polen","policía","pollo","polvo","pomada","pomelo","pomo","pompa","poner","porción","portal","posada","poseer","posible","poste","potencia","potro","pozo","prado","precoz","pregunta","premio","prensa","preso","previo","primo","príncipe","prisión","privar","proa","probar","proceso","producto","proeza","profesor","programa","prole","promesa","pronto","propio","próximo","prueba","público","puchero","pudor","pueblo","puerta","puesto","pulga","pulir","pulmón","pulpo","pulso","puma","punto","puñal","puño","pupa","pupila","puré","quedar","queja","quemar","querer","queso","quieto","química","quince","quitar","rábano","rabia","rabo","ración","radical","raíz","rama","rampa","rancho","rango","rapaz","rápido","rapto","rasgo","raspa","rato","rayo","raza","razón","reacción","realidad","rebaño","rebote","recaer","receta","rechazo","recoger","recreo","recto","recurso","red","redondo","reducir","reflejo","reforma","refrán","refugio","regalo","regir","regla","regreso","rehén","reino","reír","reja","relato","relevo","relieve","relleno","reloj","remar","remedio","remo","rencor","rendir","renta","reparto","repetir","reposo","reptil","res","rescate","resina","respeto","resto","resumen","retiro","retorno","retrato","reunir","revés","revista","rey","rezar","rico","riego","rienda","riesgo","rifa","rígido","rigor","rincón","riñón","río","riqueza","risa","ritmo","rito","rizo","roble","roce","rociar","rodar","rodeo","rodilla","roer","rojizo","rojo","romero","romper","ron","ronco","ronda","ropa","ropero","rosa","rosca","rostro","rotar","rubí","rubor","rudo","rueda","rugir","ruido","ruina","ruleta","rulo","rumbo","rumor","ruptura","ruta","rutina","sábado","saber","sabio","sable","sacar","sagaz","sagrado","sala","saldo","salero","salir","salmón","salón","salsa","salto","salud","salvar","samba","sanción","sandía","sanear","sangre","sanidad","sano","santo","sapo","saque","sardina","sartén","sastre","satán","sauna","saxofón","sección","seco","secreto","secta","sed","seguir","seis","sello","selva","semana","semilla","senda","sensor","señal","señor","separar","sepia","sequía","ser","serie","sermón","servir","sesenta","sesión","seta","setenta","severo","sexo","sexto","sidra","siesta","siete","siglo","signo","sílaba","silbar","silencio","silla","símbolo","simio","sirena","sistema","sitio","situar","sobre","socio","sodio","sol","solapa","soldado","soledad","sólido","soltar","solución","sombra","sondeo","sonido","sonoro","sonrisa","sopa","soplar","soporte","sordo","sorpresa","sorteo","sostén","sótano","suave","subir","suceso","sudor","suegra","suelo","sueño","suerte","sufrir","sujeto","sultán","sumar","superar","suplir","suponer","supremo","sur","surco","sureño","surgir","susto","sutil","tabaco","tabique","tabla","tabú","taco","tacto","tajo","talar","talco","talento","talla","talón","tamaño","tambor","tango","tanque","tapa","tapete","tapia","tapón","taquilla","tarde","tarea","tarifa","tarjeta","tarot","tarro","tarta","tatuaje","tauro","taza","tazón","teatro","techo","tecla","técnica","tejado","tejer","tejido","tela","teléfono","tema","temor","templo","tenaz","tender","tener","tenis","tenso","teoría","terapia","terco","término","ternura","terror","tesis","tesoro","testigo","tetera","texto","tez","tibio","tiburón","tiempo","tienda","tierra","tieso","tigre","tijera","tilde","timbre","tímido","timo","tinta","tío","típico","tipo","tira","tirón","titán","títere","título","tiza","toalla","tobillo","tocar","tocino","todo","toga","toldo","tomar","tono","tonto","topar","tope","toque","tórax","torero","tormenta","torneo","toro","torpedo","torre","torso","tortuga","tos","tosco","toser","tóxico","trabajo","tractor","traer","tráfico","trago","traje","tramo","trance","trato","trauma","trazar","trébol","tregua","treinta","tren","trepar","tres","tribu","trigo","tripa","triste","triunfo","trofeo","trompa","tronco","tropa","trote","trozo","truco","trueno","trufa","tubería","tubo","tuerto","tumba","tumor","túnel","túnica","turbina","turismo","turno","tutor","ubicar","úlcera","umbral","unidad","unir","universo","uno","untar","uña","urbano","urbe","urgente","urna","usar","usuario","útil","utopía","uva","vaca","vacío","vacuna","vagar","vago","vaina","vajilla","vale","válido","valle","valor","válvula","vampiro","vara","variar","varón","vaso","vecino","vector","vehículo","veinte","vejez","vela","velero","veloz","vena","vencer","venda","veneno","vengar","venir","venta","venus","ver","verano","verbo","verde","vereda","verja","verso","verter","vía","viaje","vibrar","vicio","víctima","vida","vídeo","vidrio","viejo","viernes","vigor","vil","villa","vinagre","vino","viñedo","violín","viral","virgo","virtud","visor","víspera","vista","vitamina","viudo","vivaz","vivero","vivir","vivo","volcán","volumen","volver","voraz","votar","voto","voz","vuelo","vulgar","yacer","yate","yegua","yema","yerno","yeso","yodo","yoga","yogur","zafiro","zanja","zapato","zarza","zona","zorro","zumo","zurdo"]')},function(e){e.exports=JSON.parse('["あいこくしん","あいさつ","あいだ","あおぞら","あかちゃん","あきる","あけがた","あける","あこがれる","あさい","あさひ","あしあと","あじわう","あずかる","あずき","あそぶ","あたえる","あたためる","あたりまえ","あたる","あつい","あつかう","あっしゅく","あつまり","あつめる","あてな","あてはまる","あひる","あぶら","あぶる","あふれる","あまい","あまど","あまやかす","あまり","あみもの","あめりか","あやまる","あゆむ","あらいぐま","あらし","あらすじ","あらためる","あらゆる","あらわす","ありがとう","あわせる","あわてる","あんい","あんがい","あんこ","あんぜん","あんてい","あんない","あんまり","いいだす","いおん","いがい","いがく","いきおい","いきなり","いきもの","いきる","いくじ","いくぶん","いけばな","いけん","いこう","いこく","いこつ","いさましい","いさん","いしき","いじゅう","いじょう","いじわる","いずみ","いずれ","いせい","いせえび","いせかい","いせき","いぜん","いそうろう","いそがしい","いだい","いだく","いたずら","いたみ","いたりあ","いちおう","いちじ","いちど","いちば","いちぶ","いちりゅう","いつか","いっしゅん","いっせい","いっそう","いったん","いっち","いってい","いっぽう","いてざ","いてん","いどう","いとこ","いない","いなか","いねむり","いのち","いのる","いはつ","いばる","いはん","いびき","いひん","いふく","いへん","いほう","いみん","いもうと","いもたれ","いもり","いやがる","いやす","いよかん","いよく","いらい","いらすと","いりぐち","いりょう","いれい","いれもの","いれる","いろえんぴつ","いわい","いわう","いわかん","いわば","いわゆる","いんげんまめ","いんさつ","いんしょう","いんよう","うえき","うえる","うおざ","うがい","うかぶ","うかべる","うきわ","うくらいな","うくれれ","うけたまわる","うけつけ","うけとる","うけもつ","うける","うごかす","うごく","うこん","うさぎ","うしなう","うしろがみ","うすい","うすぎ","うすぐらい","うすめる","うせつ","うちあわせ","うちがわ","うちき","うちゅう","うっかり","うつくしい","うったえる","うつる","うどん","うなぎ","うなじ","うなずく","うなる","うねる","うのう","うぶげ","うぶごえ","うまれる","うめる","うもう","うやまう","うよく","うらがえす","うらぐち","うらない","うりあげ","うりきれ","うるさい","うれしい","うれゆき","うれる","うろこ","うわき","うわさ","うんこう","うんちん","うんてん","うんどう","えいえん","えいが","えいきょう","えいご","えいせい","えいぶん","えいよう","えいわ","えおり","えがお","えがく","えきたい","えくせる","えしゃく","えすて","えつらん","えのぐ","えほうまき","えほん","えまき","えもじ","えもの","えらい","えらぶ","えりあ","えんえん","えんかい","えんぎ","えんげき","えんしゅう","えんぜつ","えんそく","えんちょう","えんとつ","おいかける","おいこす","おいしい","おいつく","おうえん","おうさま","おうじ","おうせつ","おうたい","おうふく","おうべい","おうよう","おえる","おおい","おおう","おおどおり","おおや","おおよそ","おかえり","おかず","おがむ","おかわり","おぎなう","おきる","おくさま","おくじょう","おくりがな","おくる","おくれる","おこす","おこなう","おこる","おさえる","おさない","おさめる","おしいれ","おしえる","おじぎ","おじさん","おしゃれ","おそらく","おそわる","おたがい","おたく","おだやか","おちつく","おっと","おつり","おでかけ","おとしもの","おとなしい","おどり","おどろかす","おばさん","おまいり","おめでとう","おもいで","おもう","おもたい","おもちゃ","おやつ","おやゆび","およぼす","おらんだ","おろす","おんがく","おんけい","おんしゃ","おんせん","おんだん","おんちゅう","おんどけい","かあつ","かいが","がいき","がいけん","がいこう","かいさつ","かいしゃ","かいすいよく","かいぜん","かいぞうど","かいつう","かいてん","かいとう","かいふく","がいへき","かいほう","かいよう","がいらい","かいわ","かえる","かおり","かかえる","かがく","かがし","かがみ","かくご","かくとく","かざる","がぞう","かたい","かたち","がちょう","がっきゅう","がっこう","がっさん","がっしょう","かなざわし","かのう","がはく","かぶか","かほう","かほご","かまう","かまぼこ","かめれおん","かゆい","かようび","からい","かるい","かろう","かわく","かわら","がんか","かんけい","かんこう","かんしゃ","かんそう","かんたん","かんち","がんばる","きあい","きあつ","きいろ","ぎいん","きうい","きうん","きえる","きおう","きおく","きおち","きおん","きかい","きかく","きかんしゃ","ききて","きくばり","きくらげ","きけんせい","きこう","きこえる","きこく","きさい","きさく","きさま","きさらぎ","ぎじかがく","ぎしき","ぎじたいけん","ぎじにってい","ぎじゅつしゃ","きすう","きせい","きせき","きせつ","きそう","きぞく","きぞん","きたえる","きちょう","きつえん","ぎっちり","きつつき","きつね","きてい","きどう","きどく","きない","きなが","きなこ","きぬごし","きねん","きのう","きのした","きはく","きびしい","きひん","きふく","きぶん","きぼう","きほん","きまる","きみつ","きむずかしい","きめる","きもだめし","きもち","きもの","きゃく","きやく","ぎゅうにく","きよう","きょうりゅう","きらい","きらく","きりん","きれい","きれつ","きろく","ぎろん","きわめる","ぎんいろ","きんかくじ","きんじょ","きんようび","ぐあい","くいず","くうかん","くうき","くうぐん","くうこう","ぐうせい","くうそう","ぐうたら","くうふく","くうぼ","くかん","くきょう","くげん","ぐこう","くさい","くさき","くさばな","くさる","くしゃみ","くしょう","くすのき","くすりゆび","くせげ","くせん","ぐたいてき","くださる","くたびれる","くちこみ","くちさき","くつした","ぐっすり","くつろぐ","くとうてん","くどく","くなん","くねくね","くのう","くふう","くみあわせ","くみたてる","くめる","くやくしょ","くらす","くらべる","くるま","くれる","くろう","くわしい","ぐんかん","ぐんしょく","ぐんたい","ぐんて","けあな","けいかく","けいけん","けいこ","けいさつ","げいじゅつ","けいたい","げいのうじん","けいれき","けいろ","けおとす","けおりもの","げきか","げきげん","げきだん","げきちん","げきとつ","げきは","げきやく","げこう","げこくじょう","げざい","けさき","げざん","けしき","けしごむ","けしょう","げすと","けたば","けちゃっぷ","けちらす","けつあつ","けつい","けつえき","けっこん","けつじょ","けっせき","けってい","けつまつ","げつようび","げつれい","けつろん","げどく","けとばす","けとる","けなげ","けなす","けなみ","けぬき","げねつ","けねん","けはい","げひん","けぶかい","げぼく","けまり","けみかる","けむし","けむり","けもの","けらい","けろけろ","けわしい","けんい","けんえつ","けんお","けんか","げんき","けんげん","けんこう","けんさく","けんしゅう","けんすう","げんそう","けんちく","けんてい","けんとう","けんない","けんにん","げんぶつ","けんま","けんみん","けんめい","けんらん","けんり","こあくま","こいぬ","こいびと","ごうい","こうえん","こうおん","こうかん","ごうきゅう","ごうけい","こうこう","こうさい","こうじ","こうすい","ごうせい","こうそく","こうたい","こうちゃ","こうつう","こうてい","こうどう","こうない","こうはい","ごうほう","ごうまん","こうもく","こうりつ","こえる","こおり","ごかい","ごがつ","ごかん","こくご","こくさい","こくとう","こくない","こくはく","こぐま","こけい","こける","ここのか","こころ","こさめ","こしつ","こすう","こせい","こせき","こぜん","こそだて","こたい","こたえる","こたつ","こちょう","こっか","こつこつ","こつばん","こつぶ","こてい","こてん","ことがら","ことし","ことば","ことり","こなごな","こねこね","このまま","このみ","このよ","ごはん","こひつじ","こふう","こふん","こぼれる","ごまあぶら","こまかい","ごますり","こまつな","こまる","こむぎこ","こもじ","こもち","こもの","こもん","こやく","こやま","こゆう","こゆび","こよい","こよう","こりる","これくしょん","ころっけ","こわもて","こわれる","こんいん","こんかい","こんき","こんしゅう","こんすい","こんだて","こんとん","こんなん","こんびに","こんぽん","こんまけ","こんや","こんれい","こんわく","ざいえき","さいかい","さいきん","ざいげん","ざいこ","さいしょ","さいせい","ざいたく","ざいちゅう","さいてき","ざいりょう","さうな","さかいし","さがす","さかな","さかみち","さがる","さぎょう","さくし","さくひん","さくら","さこく","さこつ","さずかる","ざせき","さたん","さつえい","ざつおん","ざっか","ざつがく","さっきょく","ざっし","さつじん","ざっそう","さつたば","さつまいも","さてい","さといも","さとう","さとおや","さとし","さとる","さのう","さばく","さびしい","さべつ","さほう","さほど","さます","さみしい","さみだれ","さむけ","さめる","さやえんどう","さゆう","さよう","さよく","さらだ","ざるそば","さわやか","さわる","さんいん","さんか","さんきゃく","さんこう","さんさい","ざんしょ","さんすう","さんせい","さんそ","さんち","さんま","さんみ","さんらん","しあい","しあげ","しあさって","しあわせ","しいく","しいん","しうち","しえい","しおけ","しかい","しかく","じかん","しごと","しすう","じだい","したうけ","したぎ","したて","したみ","しちょう","しちりん","しっかり","しつじ","しつもん","してい","してき","してつ","じてん","じどう","しなぎれ","しなもの","しなん","しねま","しねん","しのぐ","しのぶ","しはい","しばかり","しはつ","しはらい","しはん","しひょう","しふく","じぶん","しへい","しほう","しほん","しまう","しまる","しみん","しむける","じむしょ","しめい","しめる","しもん","しゃいん","しゃうん","しゃおん","じゃがいも","しやくしょ","しゃくほう","しゃけん","しゃこ","しゃざい","しゃしん","しゃせん","しゃそう","しゃたい","しゃちょう","しゃっきん","じゃま","しゃりん","しゃれい","じゆう","じゅうしょ","しゅくはく","じゅしん","しゅっせき","しゅみ","しゅらば","じゅんばん","しょうかい","しょくたく","しょっけん","しょどう","しょもつ","しらせる","しらべる","しんか","しんこう","じんじゃ","しんせいじ","しんちく","しんりん","すあげ","すあし","すあな","ずあん","すいえい","すいか","すいとう","ずいぶん","すいようび","すうがく","すうじつ","すうせん","すおどり","すきま","すくう","すくない","すける","すごい","すこし","ずさん","すずしい","すすむ","すすめる","すっかり","ずっしり","ずっと","すてき","すてる","すねる","すのこ","すはだ","すばらしい","ずひょう","ずぶぬれ","すぶり","すふれ","すべて","すべる","ずほう","すぼん","すまい","すめし","すもう","すやき","すらすら","するめ","すれちがう","すろっと","すわる","すんぜん","すんぽう","せあぶら","せいかつ","せいげん","せいじ","せいよう","せおう","せかいかん","せきにん","せきむ","せきゆ","せきらんうん","せけん","せこう","せすじ","せたい","せたけ","せっかく","せっきゃく","ぜっく","せっけん","せっこつ","せっさたくま","せつぞく","せつだん","せつでん","せっぱん","せつび","せつぶん","せつめい","せつりつ","せなか","せのび","せはば","せびろ","せぼね","せまい","せまる","せめる","せもたれ","せりふ","ぜんあく","せんい","せんえい","せんか","せんきょ","せんく","せんげん","ぜんご","せんさい","せんしゅ","せんすい","せんせい","せんぞ","せんたく","せんちょう","せんてい","せんとう","せんぬき","せんねん","せんぱい","ぜんぶ","ぜんぽう","せんむ","せんめんじょ","せんもん","せんやく","せんゆう","せんよう","ぜんら","ぜんりゃく","せんれい","せんろ","そあく","そいとげる","そいね","そうがんきょう","そうき","そうご","そうしん","そうだん","そうなん","そうび","そうめん","そうり","そえもの","そえん","そがい","そげき","そこう","そこそこ","そざい","そしな","そせい","そせん","そそぐ","そだてる","そつう","そつえん","そっかん","そつぎょう","そっけつ","そっこう","そっせん","そっと","そとがわ","そとづら","そなえる","そなた","そふぼ","そぼく","そぼろ","そまつ","そまる","そむく","そむりえ","そめる","そもそも","そよかぜ","そらまめ","そろう","そんかい","そんけい","そんざい","そんしつ","そんぞく","そんちょう","ぞんび","ぞんぶん","そんみん","たあい","たいいん","たいうん","たいえき","たいおう","だいがく","たいき","たいぐう","たいけん","たいこ","たいざい","だいじょうぶ","だいすき","たいせつ","たいそう","だいたい","たいちょう","たいてい","だいどころ","たいない","たいねつ","たいのう","たいはん","だいひょう","たいふう","たいへん","たいほ","たいまつばな","たいみんぐ","たいむ","たいめん","たいやき","たいよう","たいら","たいりょく","たいる","たいわん","たうえ","たえる","たおす","たおる","たおれる","たかい","たかね","たきび","たくさん","たこく","たこやき","たさい","たしざん","だじゃれ","たすける","たずさわる","たそがれ","たたかう","たたく","ただしい","たたみ","たちばな","だっかい","だっきゃく","だっこ","だっしゅつ","だったい","たてる","たとえる","たなばた","たにん","たぬき","たのしみ","たはつ","たぶん","たべる","たぼう","たまご","たまる","だむる","ためいき","ためす","ためる","たもつ","たやすい","たよる","たらす","たりきほんがん","たりょう","たりる","たると","たれる","たれんと","たろっと","たわむれる","だんあつ","たんい","たんおん","たんか","たんき","たんけん","たんご","たんさん","たんじょうび","だんせい","たんそく","たんたい","だんち","たんてい","たんとう","だんな","たんにん","だんねつ","たんのう","たんぴん","だんぼう","たんまつ","たんめい","だんれつ","だんろ","だんわ","ちあい","ちあん","ちいき","ちいさい","ちえん","ちかい","ちから","ちきゅう","ちきん","ちけいず","ちけん","ちこく","ちさい","ちしき","ちしりょう","ちせい","ちそう","ちたい","ちたん","ちちおや","ちつじょ","ちてき","ちてん","ちぬき","ちぬり","ちのう","ちひょう","ちへいせん","ちほう","ちまた","ちみつ","ちみどろ","ちめいど","ちゃんこなべ","ちゅうい","ちゆりょく","ちょうし","ちょさくけん","ちらし","ちらみ","ちりがみ","ちりょう","ちるど","ちわわ","ちんたい","ちんもく","ついか","ついたち","つうか","つうじょう","つうはん","つうわ","つかう","つかれる","つくね","つくる","つけね","つける","つごう","つたえる","つづく","つつじ","つつむ","つとめる","つながる","つなみ","つねづね","つのる","つぶす","つまらない","つまる","つみき","つめたい","つもり","つもる","つよい","つるぼ","つるみく","つわもの","つわり","てあし","てあて","てあみ","ていおん","ていか","ていき","ていけい","ていこく","ていさつ","ていし","ていせい","ていたい","ていど","ていねい","ていひょう","ていへん","ていぼう","てうち","ておくれ","てきとう","てくび","でこぼこ","てさぎょう","てさげ","てすり","てそう","てちがい","てちょう","てつがく","てつづき","でっぱ","てつぼう","てつや","でぬかえ","てぬき","てぬぐい","てのひら","てはい","てぶくろ","てふだ","てほどき","てほん","てまえ","てまきずし","てみじか","てみやげ","てらす","てれび","てわけ","てわたし","でんあつ","てんいん","てんかい","てんき","てんぐ","てんけん","てんごく","てんさい","てんし","てんすう","でんち","てんてき","てんとう","てんない","てんぷら","てんぼうだい","てんめつ","てんらんかい","でんりょく","でんわ","どあい","といれ","どうかん","とうきゅう","どうぐ","とうし","とうむぎ","とおい","とおか","とおく","とおす","とおる","とかい","とかす","ときおり","ときどき","とくい","とくしゅう","とくてん","とくに","とくべつ","とけい","とける","とこや","とさか","としょかん","とそう","とたん","とちゅう","とっきゅう","とっくん","とつぜん","とつにゅう","とどける","ととのえる","とない","となえる","となり","とのさま","とばす","どぶがわ","とほう","とまる","とめる","ともだち","ともる","どようび","とらえる","とんかつ","どんぶり","ないかく","ないこう","ないしょ","ないす","ないせん","ないそう","なおす","ながい","なくす","なげる","なこうど","なさけ","なたでここ","なっとう","なつやすみ","ななおし","なにごと","なにもの","なにわ","なのか","なふだ","なまいき","なまえ","なまみ","なみだ","なめらか","なめる","なやむ","ならう","ならび","ならぶ","なれる","なわとび","なわばり","にあう","にいがた","にうけ","におい","にかい","にがて","にきび","にくしみ","にくまん","にげる","にさんかたんそ","にしき","にせもの","にちじょう","にちようび","にっか","にっき","にっけい","にっこう","にっさん","にっしょく","にっすう","にっせき","にってい","になう","にほん","にまめ","にもつ","にやり","にゅういん","にりんしゃ","にわとり","にんい","にんか","にんき","にんげん","にんしき","にんずう","にんそう","にんたい","にんち","にんてい","にんにく","にんぷ","にんまり","にんむ","にんめい","にんよう","ぬいくぎ","ぬかす","ぬぐいとる","ぬぐう","ぬくもり","ぬすむ","ぬまえび","ぬめり","ぬらす","ぬんちゃく","ねあげ","ねいき","ねいる","ねいろ","ねぐせ","ねくたい","ねくら","ねこぜ","ねこむ","ねさげ","ねすごす","ねそべる","ねだん","ねつい","ねっしん","ねつぞう","ねったいぎょ","ねぶそく","ねふだ","ねぼう","ねほりはほり","ねまき","ねまわし","ねみみ","ねむい","ねむたい","ねもと","ねらう","ねわざ","ねんいり","ねんおし","ねんかん","ねんきん","ねんぐ","ねんざ","ねんし","ねんちゃく","ねんど","ねんぴ","ねんぶつ","ねんまつ","ねんりょう","ねんれい","のいず","のおづま","のがす","のきなみ","のこぎり","のこす","のこる","のせる","のぞく","のぞむ","のたまう","のちほど","のっく","のばす","のはら","のべる","のぼる","のみもの","のやま","のらいぬ","のらねこ","のりもの","のりゆき","のれん","のんき","ばあい","はあく","ばあさん","ばいか","ばいく","はいけん","はいご","はいしん","はいすい","はいせん","はいそう","はいち","ばいばい","はいれつ","はえる","はおる","はかい","ばかり","はかる","はくしゅ","はけん","はこぶ","はさみ","はさん","はしご","ばしょ","はしる","はせる","ぱそこん","はそん","はたん","はちみつ","はつおん","はっかく","はづき","はっきり","はっくつ","はっけん","はっこう","はっさん","はっしん","はったつ","はっちゅう","はってん","はっぴょう","はっぽう","はなす","はなび","はにかむ","はぶらし","はみがき","はむかう","はめつ","はやい","はやし","はらう","はろうぃん","はわい","はんい","はんえい","はんおん","はんかく","はんきょう","ばんぐみ","はんこ","はんしゃ","はんすう","はんだん","ぱんち","ぱんつ","はんてい","はんとし","はんのう","はんぱ","はんぶん","はんぺん","はんぼうき","はんめい","はんらん","はんろん","ひいき","ひうん","ひえる","ひかく","ひかり","ひかる","ひかん","ひくい","ひけつ","ひこうき","ひこく","ひさい","ひさしぶり","ひさん","びじゅつかん","ひしょ","ひそか","ひそむ","ひたむき","ひだり","ひたる","ひつぎ","ひっこし","ひっし","ひつじゅひん","ひっす","ひつぜん","ぴったり","ぴっちり","ひつよう","ひてい","ひとごみ","ひなまつり","ひなん","ひねる","ひはん","ひびく","ひひょう","ひほう","ひまわり","ひまん","ひみつ","ひめい","ひめじし","ひやけ","ひやす","ひよう","びょうき","ひらがな","ひらく","ひりつ","ひりょう","ひるま","ひるやすみ","ひれい","ひろい","ひろう","ひろき","ひろゆき","ひんかく","ひんけつ","ひんこん","ひんしゅ","ひんそう","ぴんち","ひんぱん","びんぼう","ふあん","ふいうち","ふうけい","ふうせん","ぷうたろう","ふうとう","ふうふ","ふえる","ふおん","ふかい","ふきん","ふくざつ","ふくぶくろ","ふこう","ふさい","ふしぎ","ふじみ","ふすま","ふせい","ふせぐ","ふそく","ぶたにく","ふたん","ふちょう","ふつう","ふつか","ふっかつ","ふっき","ふっこく","ぶどう","ふとる","ふとん","ふのう","ふはい","ふひょう","ふへん","ふまん","ふみん","ふめつ","ふめん","ふよう","ふりこ","ふりる","ふるい","ふんいき","ぶんがく","ぶんぐ","ふんしつ","ぶんせき","ふんそう","ぶんぽう","へいあん","へいおん","へいがい","へいき","へいげん","へいこう","へいさ","へいしゃ","へいせつ","へいそ","へいたく","へいてん","へいねつ","へいわ","へきが","へこむ","べにいろ","べにしょうが","へらす","へんかん","べんきょう","べんごし","へんさい","へんたい","べんり","ほあん","ほいく","ぼうぎょ","ほうこく","ほうそう","ほうほう","ほうもん","ほうりつ","ほえる","ほおん","ほかん","ほきょう","ぼきん","ほくろ","ほけつ","ほけん","ほこう","ほこる","ほしい","ほしつ","ほしゅ","ほしょう","ほせい","ほそい","ほそく","ほたて","ほたる","ぽちぶくろ","ほっきょく","ほっさ","ほったん","ほとんど","ほめる","ほんい","ほんき","ほんけ","ほんしつ","ほんやく","まいにち","まかい","まかせる","まがる","まける","まこと","まさつ","まじめ","ますく","まぜる","まつり","まとめ","まなぶ","まぬけ","まねく","まほう","まもる","まゆげ","まよう","まろやか","まわす","まわり","まわる","まんが","まんきつ","まんぞく","まんなか","みいら","みうち","みえる","みがく","みかた","みかん","みけん","みこん","みじかい","みすい","みすえる","みせる","みっか","みつかる","みつける","みてい","みとめる","みなと","みなみかさい","みねらる","みのう","みのがす","みほん","みもと","みやげ","みらい","みりょく","みわく","みんか","みんぞく","むいか","むえき","むえん","むかい","むかう","むかえ","むかし","むぎちゃ","むける","むげん","むさぼる","むしあつい","むしば","むじゅん","むしろ","むすう","むすこ","むすぶ","むすめ","むせる","むせん","むちゅう","むなしい","むのう","むやみ","むよう","むらさき","むりょう","むろん","めいあん","めいうん","めいえん","めいかく","めいきょく","めいさい","めいし","めいそう","めいぶつ","めいれい","めいわく","めぐまれる","めざす","めした","めずらしい","めだつ","めまい","めやす","めんきょ","めんせき","めんどう","もうしあげる","もうどうけん","もえる","もくし","もくてき","もくようび","もちろん","もどる","もらう","もんく","もんだい","やおや","やける","やさい","やさしい","やすい","やすたろう","やすみ","やせる","やそう","やたい","やちん","やっと","やっぱり","やぶる","やめる","ややこしい","やよい","やわらかい","ゆうき","ゆうびんきょく","ゆうべ","ゆうめい","ゆけつ","ゆしゅつ","ゆせん","ゆそう","ゆたか","ゆちゃく","ゆでる","ゆにゅう","ゆびわ","ゆらい","ゆれる","ようい","ようか","ようきゅう","ようじ","ようす","ようちえん","よかぜ","よかん","よきん","よくせい","よくぼう","よけい","よごれる","よさん","よしゅう","よそう","よそく","よっか","よてい","よどがわく","よねつ","よやく","よゆう","よろこぶ","よろしい","らいう","らくがき","らくご","らくさつ","らくだ","らしんばん","らせん","らぞく","らたい","らっか","られつ","りえき","りかい","りきさく","りきせつ","りくぐん","りくつ","りけん","りこう","りせい","りそう","りそく","りてん","りねん","りゆう","りゅうがく","りよう","りょうり","りょかん","りょくちゃ","りょこう","りりく","りれき","りろん","りんご","るいけい","るいさい","るいじ","るいせき","るすばん","るりがわら","れいかん","れいぎ","れいせい","れいぞうこ","れいとう","れいぼう","れきし","れきだい","れんあい","れんけい","れんこん","れんさい","れんしゅう","れんぞく","れんらく","ろうか","ろうご","ろうじん","ろうそく","ろくが","ろこつ","ろじうら","ろしゅつ","ろせん","ろてん","ろめん","ろれつ","ろんぎ","ろんぱ","ろんぶん","ろんり","わかす","わかめ","わかやま","わかれる","わしつ","わじまし","わすれもの","わらう","われる"]')},function(e){e.exports=JSON.parse('["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"]')},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(558);t.fromSeed=n.fromSeed,t.fromBase58=n.fromBase58,t.fromPublicKey=n.fromPublicKey,t.fromPrivateKey=n.fromPrivateKey},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(559),o=r(298),i=r(562),s=r(564),a=r(566),c=s.BufferN(32),u=s.compile({wif:s.UInt8,bip32:{public:s.UInt32,private:s.UInt32}}),l={messagePrefix:"Bitcoin Signed Message:\n",bech32:"bc",bip32:{public:76067358,private:76066276},pubKeyHash:0,scriptHash:5,wif:128},f=Math.pow(2,31)-1;function d(e){return s.String(e)&&null!==e.match(/^(m\/)?(\d+'?\/)*\d+'?$/)}function h(e){return s.UInt32(e)&&e<=f}class p{constructor(e,t,r,n,o=0,i=0,a=0){this.__D=e,this.__Q=t,this.chainCode=r,this.network=n,this.__DEPTH=o,this.__INDEX=i,this.__PARENT_FINGERPRINT=a,s(u,n),this.lowR=!1}get depth(){return this.__DEPTH}get index(){return this.__INDEX}get parentFingerprint(){return this.__PARENT_FINGERPRINT}get publicKey(){return void 0===this.__Q&&(this.__Q=i.pointFromScalar(this.__D,!0)),this.__Q}get privateKey(){return this.__D}get identifier(){return n.hash160(this.publicKey)}get fingerprint(){return this.identifier.slice(0,4)}get compressed(){return!0}isNeutered(){return void 0===this.__D}neutered(){return y(this.publicKey,this.chainCode,this.network,this.depth,this.index,this.parentFingerprint)}toBase58(){const t=this.network,r=this.isNeutered()?t.bip32.public:t.bip32.private,n=e.allocUnsafe(78);return n.writeUInt32BE(r,0),n.writeUInt8(this.depth,4),n.writeUInt32BE(this.parentFingerprint,5),n.writeUInt32BE(this.index,9),this.chainCode.copy(n,13),this.isNeutered()?this.publicKey.copy(n,45):(n.writeUInt8(0,45),this.privateKey.copy(n,46)),o.encode(n)}toWIF(){if(!this.privateKey)throw new TypeError("Missing private key");return a.encode(this.network.wif,this.privateKey,!0)}derive(t){s(s.UInt32,t);const r=t>=2147483648,o=e.allocUnsafe(37);if(r){if(this.isNeutered())throw new TypeError("Missing private key for hardened child key");o[0]=0,this.privateKey.copy(o,1),o.writeUInt32BE(t,33)}else this.publicKey.copy(o,0),o.writeUInt32BE(t,33);const a=n.hmacSHA512(this.chainCode,o),c=a.slice(0,32),u=a.slice(32);if(!i.isPrivate(c))return this.derive(t+1);let l;if(this.isNeutered()){const e=i.pointAddScalar(this.publicKey,c,!0);if(null===e)return this.derive(t+1);l=y(e,u,this.network,this.depth+1,t,this.fingerprint.readUInt32BE(0))}else{const e=i.privateAdd(this.privateKey,c);if(null==e)return this.derive(t+1);l=m(e,u,this.network,this.depth+1,t,this.fingerprint.readUInt32BE(0))}return l}deriveHardened(e){return s(h,e),this.derive(e+2147483648)}derivePath(e){s(d,e);let t=e.split("/");if("m"===t[0]){if(this.parentFingerprint)throw new TypeError("Expected master, got child");t=t.slice(1)}return t.reduce((e,t)=>{let r;return"'"===t.slice(-1)?(r=parseInt(t.slice(0,-1),10),e.deriveHardened(r)):(r=parseInt(t,10),e.derive(r))},this)}sign(t,r){if(!this.privateKey)throw new Error("Missing private key");if(void 0===r&&(r=this.lowR),!1===r)return i.sign(t,this.privateKey);{let r=i.sign(t,this.privateKey);const n=e.alloc(32,0);let o=0;for(;r[0]>127;)o++,n.writeUIntLE(o,0,6),r=i.signWithEntropy(t,this.privateKey,n);return r}}verify(e,t){return i.verify(e,this.publicKey,t)}}function g(e,t,r){return m(e,t,r)}function m(e,t,r,n,o,a){if(s({privateKey:c,chainCode:c},{privateKey:e,chainCode:t}),r=r||l,!i.isPrivate(e))throw new TypeError("Private key not in range [1, n)");return new p(e,void 0,t,r,n,o,a)}function y(e,t,r,n,o,a){if(s({publicKey:s.BufferN(33),chainCode:c},{publicKey:e,chainCode:t}),r=r||l,!i.isPoint(e))throw new TypeError("Point is not on the curve");return new p(void 0,e,t,r,n,o,a)}t.fromBase58=function(e,t){const r=o.decode(e);if(78!==r.length)throw new TypeError("Invalid buffer length");t=t||l;const n=r.readUInt32BE(0);if(n!==t.bip32.private&&n!==t.bip32.public)throw new TypeError("Invalid network version");const i=r[4],s=r.readUInt32BE(5);if(0===i&&0!==s)throw new TypeError("Invalid parent fingerprint");const a=r.readUInt32BE(9);if(0===i&&0!==a)throw new TypeError("Invalid index");const c=r.slice(13,45);let u;if(n===t.bip32.private){if(0!==r.readUInt8(45))throw new TypeError("Invalid private key");u=m(r.slice(46,78),c,t,i,a,s)}else{u=y(r.slice(45,78),c,t,i,a,s)}return u},t.fromPrivateKey=g,t.fromPublicKey=function(e,t,r){return y(e,t,r)},t.fromSeed=function(t,r){if(s(s.Buffer,t),t.length<16)throw new TypeError("Seed should be at least 128 bits");if(t.length>64)throw new TypeError("Seed should be at most 512 bits");r=r||l;const o=n.hmacSHA512(e.from("Bitcoin seed","utf8"),t);return g(o.slice(0,32),o.slice(32),r)}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(54),o=r(120);t.hash160=function(e){const t=n("sha256").update(e).digest();try{return n("rmd160").update(t).digest()}catch(e){return n("ripemd160").update(t).digest()}},t.hmacSHA512=function(e,t){return o("sha512",e).update(t).digest()}},function(e,t,r){"use strict";var n=r(561),o=r(7).Buffer;e.exports=function(e){function t(t){var r=t.slice(0,-4),n=t.slice(-4),o=e(r);if(!(n[0]^o[0]|n[1]^o[1]|n[2]^o[2]|n[3]^o[3]))return r}return{encode:function(t){var r=e(t);return n.encode(o.concat([t,r],t.length+4))},decode:function(e){var r=t(n.decode(e));if(!r)throw new Error("Invalid checksum");return r},decodeUnsafe:function(e){var r=n.decodeUnsafe(e);if(r)return t(r)}}}},function(e,t,r){var n=r(396);e.exports=n("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")},function(e,t,r){(function(t){const n=r(6),o=new(0,r(45).ec)("secp256k1"),i=r(563),s=t.alloc(32,0),a=t.from("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141","hex"),c=t.from("fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f","hex"),u=o.curve.n,l=u.shrn(1),f=o.curve.g;function d(e){return t.isBuffer(e)&&32===e.length}function h(e){return!!d(e)&&e.compare(a)<0}function p(e){if(!t.isBuffer(e))return!1;if(e.length<33)return!1;const r=e[0],n=e.slice(1,33);if(0===n.compare(s))return!1;if(n.compare(c)>=0)return!1;if((2===r||3===r)&&33===e.length){try{w(e)}catch(e){return!1}return!0}const o=e.slice(33);return 0!==o.compare(s)&&(!(o.compare(c)>=0)&&(4===r&&65===e.length))}function g(e){return 4!==e[0]}function m(e){return!!d(e)&&(e.compare(s)>0&&e.compare(a)<0)}function y(e,t){return void 0===e&&void 0!==t?g(t):void 0===e||e}function b(e){return new n(e)}function v(e){return e.toArrayLike(t,"be",32)}function w(e){return o.curve.decodePoint(e)}function _(e,r){return t.from(e._encode(r))}function k(e,r,n){if(!d(e))throw new TypeError("Expected Hash");if(!m(r))throw new TypeError("Expected Private");if(void 0!==n&&!d(n))throw new TypeError("Expected Extra Data (32 bytes)");const o=b(r),s=b(e);let a,c;i(e,r,(function(e){const t=b(e),r=f.mul(t);return!r.isInfinity()&&(a=r.x.umod(u),0!==a.isZero()&&(c=t.invm(u).mul(s.add(o.mul(a))).umod(u),0!==c.isZero()))}),m,n),c.cmp(l)>0&&(c=u.sub(c));const h=t.allocUnsafe(64);return v(a).copy(h,0),v(c).copy(h,32),h}e.exports={isPoint:p,isPointCompressed:function(e){return!!p(e)&&g(e)},isPrivate:m,pointAdd:function(e,t,r){if(!p(e))throw new TypeError("Expected Point");if(!p(t))throw new TypeError("Expected Point");const n=w(e),o=w(t),i=n.add(o);return i.isInfinity()?null:_(i,y(r,e))},pointAddScalar:function(e,t,r){if(!p(e))throw new TypeError("Expected Point");if(!h(t))throw new TypeError("Expected Tweak");const n=y(r,e),o=w(e);if(0===t.compare(s))return _(o,n);const i=b(t),a=f.mul(i),c=o.add(a);return c.isInfinity()?null:_(c,n)},pointCompress:function(e,t){if(!p(e))throw new TypeError("Expected Point");const r=w(e);if(r.isInfinity())throw new TypeError("Expected Point");return _(r,y(t,e))},pointFromScalar:function(e,t){if(!m(e))throw new TypeError("Expected Private");const r=b(e),n=f.mul(r);return n.isInfinity()?null:_(n,y(t))},pointMultiply:function(e,t,r){if(!p(e))throw new TypeError("Expected Point");if(!h(t))throw new TypeError("Expected Tweak");const n=y(r,e),o=w(e),i=b(t),s=o.mul(i);return s.isInfinity()?null:_(s,n)},privateAdd:function(e,t){if(!m(e))throw new TypeError("Expected Private");if(!h(t))throw new TypeError("Expected Tweak");const r=b(e),n=b(t),o=v(r.add(n).umod(u));return m(o)?o:null},privateSub:function(e,t){if(!m(e))throw new TypeError("Expected Private");if(!h(t))throw new TypeError("Expected Tweak");const r=b(e),n=b(t),o=v(r.sub(n).umod(u));return m(o)?o:null},sign:function(e,t){return k(e,t)},signWithEntropy:function(e,t,r){return k(e,t,r)},verify:function(e,r,n,o){if(!d(e))throw new TypeError("Expected Hash");if(!p(r))throw new TypeError("Expected Point");if(!function(e){const r=e.slice(0,32),n=e.slice(32,64);return t.isBuffer(e)&&64===e.length&&r.compare(a)<0&&n.compare(a)<0}(n))throw new TypeError("Expected Signature");const i=w(r),s=b(n.slice(0,32)),c=b(n.slice(32,64));if(o&&c.cmp(l)>0)return!1;if(s.gtn(0)<=0)return!1;if(c.gtn(0)<=0)return!1;const h=b(e),g=c.invm(u),m=h.mul(g).umod(u),y=s.mul(g).umod(u),v=f.mulAdd(m,i,y);return!v.isInfinity()&&v.x.umod(u).eq(s)}}}).call(this,r(2).Buffer)},function(e,t,r){(function(t){const n=r(120),o=t.alloc(1,1),i=t.alloc(1,0);e.exports=function(e,r,s,a,c){let u=t.alloc(32,0),l=t.alloc(32,1);u=n("sha256",u).update(l).update(i).update(r).update(e).update(c||"").digest(),l=n("sha256",u).update(l).digest(),u=n("sha256",u).update(l).update(o).update(r).update(e).update(c||"").digest(),l=n("sha256",u).update(l).digest(),l=n("sha256",u).update(l).digest();let f=l;for(;!a(f)||!s(f);)u=n("sha256",u).update(l).update(i).digest(),l=n("sha256",u).update(l).digest(),l=n("sha256",u).update(l).digest(),f=l;return f}}).call(this,r(2).Buffer)},function(e,t,r){var n=r(299),o=r(170),i=n.tfJSON,s=n.TfTypeError,a=n.TfPropertyTypeError,c=n.tfSubError,u=n.getValueTypeName,l={arrayOf:function(e,t){function r(r,n){return!!o.Array(r)&&(!o.Nil(r)&&(!(void 0!==t.minLength&&r.lengtht.maxLength)&&((void 0===t.length||r.length===t.length)&&r.every((function(t,r){try{return d(e,t,n)}catch(e){throw c(e,r)}}))))))}return e=f(e),t=t||{},r.toJSON=function(){var r="["+i(e)+"]";return void 0!==t.length?r+="{"+t.length+"}":void 0===t.minLength&&void 0===t.maxLength||(r+="{"+(void 0===t.minLength?0:t.minLength)+","+(void 0===t.maxLength?1/0:t.maxLength)+"}"),r},r},maybe:function e(t){function r(r,n){return o.Nil(r)||t(r,n,e)}return t=f(t),r.toJSON=function(){return"?"+i(t)},r},map:function(e,t){function r(r,n){if(!o.Object(r))return!1;if(o.Nil(r))return!1;for(var i in r){try{t&&d(t,i,n)}catch(e){throw c(e,i,"key")}try{var s=r[i];d(e,s,n)}catch(e){throw c(e,i)}}return!0}return e=f(e),t&&(t=f(t)),r.toJSON=t?function(){return"{"+i(t)+": "+i(e)+"}"}:function(){return"{"+i(e)+"}"},r},object:function(e){var t={};for(var r in e)t[r]=f(e[r]);function n(e,r){if(!o.Object(e))return!1;if(o.Nil(e))return!1;var n;try{for(n in t){d(t[n],e[n],r)}}catch(e){throw c(e,n)}if(r)for(n in e)if(!t[n])throw new a(void 0,n);return!0}return n.toJSON=function(){return i(t)},n},anyOf:function(){var e=[].slice.call(arguments).map(f);function t(t,r){return e.some((function(e){try{return d(e,t,r)}catch(e){return!1}}))}return t.toJSON=function(){return e.map(i).join("|")},t},allOf:function(){var e=[].slice.call(arguments).map(f);function t(t,r){return e.every((function(e){try{return d(e,t,r)}catch(e){return!1}}))}return t.toJSON=function(){return e.map(i).join(" & ")},t},quacksLike:function(e){function t(t){return e===u(t)}return t.toJSON=function(){return e},t},tuple:function(){var e=[].slice.call(arguments).map(f);function t(t,r){return!o.Nil(t)&&(!o.Nil(t.length)&&((!r||t.length===e.length)&&e.every((function(e,n){try{return d(e,t[n],r)}catch(e){throw c(e,n)}}))))}return t.toJSON=function(){return"("+e.map(i).join(", ")+")"},t},value:function(e){function t(t){return t===e}return t.toJSON=function(){return e},t}};function f(e){if(o.String(e))return"?"===e[0]?l.maybe(e.slice(1)):o[e]||l.quacksLike(e);if(e&&o.Object(e)){if(o.Array(e)){if(1!==e.length)throw new TypeError("Expected compile() parameter of type Array of length 1");return l.arrayOf(e[0])}return l.object(e)}return o.Function(e)?e:l.value(e)}function d(e,t,r,n){if(o.Function(e)){if(e(t,r))return!0;throw new s(n||e,t)}return d(f(e),t,r)}for(var h in l.oneOf=l.anyOf,o)d[h]=o[h];for(h in l)d[h]=l[h];var p=r(565);for(h in p)d[h]=p[h];d.compile=f,d.TfTypeError=s,d.TfPropertyTypeError=a,e.exports=d},function(e,t,r){(function(t){var n=r(170),o=r(299);function i(e){return t.isBuffer(e)}function s(e){return"string"==typeof e&&/^([0-9a-f]{2})+$/i.test(e)}function a(e,t){var r=e.toJSON();function n(n){if(!e(n))return!1;if(n.length===t)return!0;throw o.tfCustomError(r+"(Length: "+t+")",r+"(Length: "+n.length+")")}return n.toJSON=function(){return r},n}var c=a.bind(null,n.Array),u=a.bind(null,i),l=a.bind(null,s),f=a.bind(null,n.String);var d=Math.pow(2,53)-1;var h={ArrayN:c,Buffer:i,BufferN:u,Finite:function(e){return"number"==typeof e&&isFinite(e)},Hex:s,HexN:l,Int8:function(e){return e<<24>>24===e},Int16:function(e){return e<<16>>16===e},Int32:function(e){return(0|e)===e},Int53:function(e){return"number"==typeof e&&e>=-d&&e<=d&&Math.floor(e)===e},Range:function(e,t,r){function o(n,o){return r(n,o)&&n>e&&n>>0===e},UInt53:function(e){return"number"==typeof e&&e>=0&&e<=d&&Math.floor(e)===e}};for(var p in h)h[p].toJSON=function(e){return e}.bind(null,p);e.exports=h}).call(this,r(2).Buffer)},function(e,t,r){(function(t){var n=r(298);function o(e,t){if(void 0!==t&&e[0]!==t)throw new Error("Invalid network version");if(33===e.length)return{version:e[0],privateKey:e.slice(1,33),compressed:!1};if(34!==e.length)throw new Error("Invalid WIF length");if(1!==e[33])throw new Error("Invalid compression flag");return{version:e[0],privateKey:e.slice(1,33),compressed:!0}}function i(e,r,n){var o=new t(n?34:33);return o.writeUInt8(e,0),r.copy(o,1),n&&(o[33]=1),o}e.exports={decode:function(e,t){return o(n.decode(e),t)},decodeRaw:o,encode:function(e,t,r){return"number"==typeof e?n.encode(i(e,t,r)):n.encode(i(e.version,e.privateKey,e.compressed))},encodeRaw:i}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PubKeySecp256k1=t.PrivKeySecp256k1=void 0;const o=n(r(45)),i=n(r(568)),s=r(2);t.PrivKeySecp256k1=class{constructor(e){this.privKey=e}toBytes(){return new Uint8Array(this.privKey)}getPubKey(){const e=new o.default.ec("secp256k1").keyFromPrivate(this.privKey);return new a(new Uint8Array(e.getPublic().encodeCompressed("array")))}sign(e){const t=new o.default.ec("secp256k1").keyFromPrivate(this.privKey),r=i.default.SHA256(i.default.lib.WordArray.create(e)).toString(),n=t.sign(s.Buffer.from(r,"hex"),{canonical:!0});return new Uint8Array(n.r.toArray("be",32).concat(n.s.toArray("be",32)))}};class a{constructor(e){this.pubKey=e}toBytes(){return new Uint8Array(this.pubKey)}getAddress(){let e=i.default.SHA256(i.default.lib.WordArray.create(this.pubKey)).toString();return e=i.default.RIPEMD160(i.default.enc.Hex.parse(e)).toString(),new Uint8Array(s.Buffer.from(e,"hex"))}}t.PubKeySecp256k1=a},function(e,t,r){var n;e.exports=(n=r(9),r(125),r(569),r(570),r(80),r(81),r(171),r(300),r(571),r(301),r(572),r(573),r(574),r(172),r(575),r(67),r(22),r(576),r(577),r(578),r(579),r(580),r(581),r(582),r(583),r(584),r(585),r(586),r(587),r(588),r(589),r(590),r(591),n)},function(e,t,r){var n;e.exports=(n=r(9),function(){if("function"==typeof ArrayBuffer){var e=n.lib.WordArray,t=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var r=e.byteLength,n=[],o=0;o>>2]|=e[o]<<24-o%4*8;t.call(this,n,r)}else t.apply(this,arguments)}).prototype=e}}(),n.lib.WordArray)},function(e,t,r){var n;e.exports=(n=r(9),function(){var e=n,t=e.lib.WordArray,r=e.enc;function o(e){return e<<8&4278255360|e>>>8&16711935}r.Utf16=r.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o>>2]>>>16-o%4*8&65535;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var r=e.length,n=[],o=0;o>>1]|=e.charCodeAt(o)<<16-o%2*16;return t.create(n,2*r)}},r.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i>>2]>>>16-i%4*8&65535);n.push(String.fromCharCode(s))}return n.join("")},parse:function(e){for(var r=e.length,n=[],i=0;i>>1]|=o(e.charCodeAt(i)<<16-i%2*16);return t.create(n,2*r)}}}(),n.enc.Utf16)},function(e,t,r){var n,o,i,s,a,c;e.exports=(c=r(9),r(300),o=(n=c).lib.WordArray,i=n.algo,s=i.SHA256,a=i.SHA224=s.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=4,e}}),n.SHA224=s._createHelper(a),n.HmacSHA224=s._createHmacHelper(a),c.SHA224)},function(e,t,r){var n,o,i,s,a,c,u,l;e.exports=(l=r(9),r(125),r(301),o=(n=l).x64,i=o.Word,s=o.WordArray,a=n.algo,c=a.SHA512,u=a.SHA384=c.extend({_doReset:function(){this._hash=new s.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var e=c._doFinalize.call(this);return e.sigBytes-=16,e}}),n.SHA384=c._createHelper(u),n.HmacSHA384=c._createHmacHelper(u),l.SHA384)},function(e,t,r){var n;e.exports=(n=r(9),r(125),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,s=t.x64.Word,a=t.algo,c=[],u=[],l=[];!function(){for(var e=1,t=0,r=0;r<24;r++){c[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)u[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,i=0;i<24;i++){for(var a=0,f=0,d=0;d<7;d++){if(1&o){var h=(1<>>24)|4278255360&(i<<24|i>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),(x=r[o]).high^=s,x.low^=i}for(var a=0;a<24;a++){for(var d=0;d<5;d++){for(var h=0,p=0,g=0;g<5;g++)h^=(x=r[d+5*g]).high,p^=x.low;var m=f[d];m.high=h,m.low=p}for(d=0;d<5;d++){var y=f[(d+4)%5],b=f[(d+1)%5],v=b.high,w=b.low;for(h=y.high^(v<<1|w>>>31),p=y.low^(w<<1|v>>>31),g=0;g<5;g++)(x=r[d+5*g]).high^=h,x.low^=p}for(var _=1;_<25;_++){var k=(x=r[_]).high,S=x.low,O=c[_];O<32?(h=k<>>32-O,p=S<>>32-O):(h=S<>>64-O,p=k<>>64-O);var j=f[u[_]];j.high=h,j.low=p}var E=f[0],P=r[0];for(E.high=P.high,E.low=P.low,d=0;d<5;d++)for(g=0;g<5;g++){var x=r[_=d+5*g],A=f[_],M=f[(d+1)%5+5*g],I=f[(d+2)%5+5*g];x.high=A.high^~M.high&I.high,x.low=A.low^~M.low&I.low}x=r[0];var C=l[a];x.high^=C.high,x.low^=C.low}},_doFinalize:function(){var t=this._data,r=t.words,n=(this._nDataBytes,8*t.sigBytes),i=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(e.ceil((n+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*r.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,c=a/8,u=[],l=0;l>>24)|4278255360&(d<<24|d>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),u.push(h),u.push(d)}return new o.init(u,a)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});t.SHA3=i._createHelper(d),t.HmacSHA3=i._createHmacHelper(d)}(Math),n.SHA3)},function(e,t,r){var n;e.exports=(n=r(9), -/** @preserve - (c) 2012 by Cédric Mesnil. All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ -function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,s=t.algo,a=o.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=o.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),u=o.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=o.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),f=o.create([0,1518500249,1859775393,2400959708,2840853838]),d=o.create([1352829926,1548603684,1836072691,2053994217,0]),h=s.RIPEMD160=i.extend({_doReset:function(){this._hash=o.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,o=e[n];e[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,s,h,w,_,k,S,O,j,E,P,x=this._hash.words,A=f.words,M=d.words,I=a.words,C=c.words,R=u.words,T=l.words;for(k=i=x[0],S=s=x[1],O=h=x[2],j=w=x[3],E=_=x[4],r=0;r<80;r+=1)P=i+e[t+I[r]]|0,P+=r<16?p(s,h,w)+A[0]:r<32?g(s,h,w)+A[1]:r<48?m(s,h,w)+A[2]:r<64?y(s,h,w)+A[3]:b(s,h,w)+A[4],P=(P=v(P|=0,R[r]))+_|0,i=_,_=w,w=v(h,10),h=s,s=P,P=k+e[t+C[r]]|0,P+=r<16?b(S,O,j)+M[0]:r<32?y(S,O,j)+M[1]:r<48?m(S,O,j)+M[2]:r<64?g(S,O,j)+M[3]:p(S,O,j)+M[4],P=(P=v(P|=0,T[r]))+E|0,k=E,E=j,j=v(O,10),O=S,S=P;P=x[1]+h+j|0,x[1]=x[2]+w+E|0,x[2]=x[3]+_+k|0,x[3]=x[4]+i+S|0,x[4]=x[0]+s+O|0,x[0]=P},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,i=o.words,s=0;s<5;s++){var a=i[s];i[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return o},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,r){return e^t^r}function g(e,t,r){return e&t|~e&r}function m(e,t,r){return(e|~t)^r}function y(e,t,r){return e&r|t&~r}function b(e,t,r){return e^(t|~r)}function v(e,t){return e<>>32-t}t.RIPEMD160=i._createHelper(h),t.HmacRIPEMD160=i._createHmacHelper(h)}(Math),n.RIPEMD160)},function(e,t,r){var n,o,i,s,a,c,u,l,f;e.exports=(f=r(9),r(171),r(172),o=(n=f).lib,i=o.Base,s=o.WordArray,a=n.algo,c=a.SHA1,u=a.HMAC,l=a.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:c,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=u.create(r.hasher,e),o=s.create(),i=s.create([1]),a=o.words,c=i.words,l=r.keySize,f=r.iterations;a.length>24&255)){var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}else e+=1<<24;return e}var r=e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,o=n.blockSize,i=this._iv,s=this._counter;i&&(s=this._counter=i.slice(0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(s);var a=s.slice(0);n.encryptBlock(a,0);for(var c=0;c>>2]|=o<<24-i%4*8,e.sigBytes+=o},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Ansix923)},function(e,t,r){var n;e.exports=(n=r(9),r(22),n.pad.Iso10126={pad:function(e,t){var r=4*t,o=r-e.sigBytes%r;e.concat(n.lib.WordArray.random(o-1)).concat(n.lib.WordArray.create([o<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Iso10126)},function(e,t,r){var n;e.exports=(n=r(9),r(22),n.pad.Iso97971={pad:function(e,t){e.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},n.pad.Iso97971)},function(e,t,r){var n;e.exports=(n=r(9),r(22),n.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){var t=e.words,r=e.sigBytes-1;for(r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},n.pad.ZeroPadding)},function(e,t,r){var n;e.exports=(n=r(9),r(22),n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding)},function(e,t,r){var n,o,i,s;e.exports=(s=r(9),r(22),o=(n=s).lib.CipherParams,i=n.enc.Hex,n.format.Hex={stringify:function(e){return e.ciphertext.toString(i)},parse:function(e){var t=i.parse(e);return o.create({ciphertext:t})}},s.format.Hex)},function(e,t,r){var n;e.exports=(n=r(9),r(80),r(81),r(67),r(22),function(){var e=n,t=e.lib.BlockCipher,r=e.algo,o=[],i=[],s=[],a=[],c=[],u=[],l=[],f=[],d=[],h=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var p=n^n<<1^n<<2^n<<3^n<<4;p=p>>>8^255&p^99,o[r]=p,i[p]=r;var g=e[r],m=e[g],y=e[m],b=257*e[p]^16843008*p;s[r]=b<<24|b>>>8,a[r]=b<<16|b>>>16,c[r]=b<<8|b>>>24,u[r]=b,b=16843009*y^65537*m^257*g^16843008*r,l[p]=b<<24|b>>>8,f[p]=b<<16|b>>>16,d[p]=b<<8|b>>>24,h[p]=b,r?(r=g^e[e[e[y^g]]],n^=e[e[n]]):r=n=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],g=r.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),i=this._keySchedule=[],s=0;s6&&s%r==4&&(u=o[u>>>24]<<24|o[u>>>16&255]<<16|o[u>>>8&255]<<8|o[255&u]):(u=o[(u=u<<8|u>>>24)>>>24]<<24|o[u>>>16&255]<<16|o[u>>>8&255]<<8|o[255&u],u^=p[s/r|0]<<24),i[s]=i[s-r]^u);for(var a=this._invKeySchedule=[],c=0;c>>24]]^f[o[u>>>16&255]]^d[o[u>>>8&255]]^h[o[255&u]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,a,c,u,o)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,l,f,d,h,i),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,o,i,s,a){for(var c=this._nRounds,u=e[t]^r[0],l=e[t+1]^r[1],f=e[t+2]^r[2],d=e[t+3]^r[3],h=4,p=1;p>>24]^o[l>>>16&255]^i[f>>>8&255]^s[255&d]^r[h++],m=n[l>>>24]^o[f>>>16&255]^i[d>>>8&255]^s[255&u]^r[h++],y=n[f>>>24]^o[d>>>16&255]^i[u>>>8&255]^s[255&l]^r[h++],b=n[d>>>24]^o[u>>>16&255]^i[l>>>8&255]^s[255&f]^r[h++];u=g,l=m,f=y,d=b}g=(a[u>>>24]<<24|a[l>>>16&255]<<16|a[f>>>8&255]<<8|a[255&d])^r[h++],m=(a[l>>>24]<<24|a[f>>>16&255]<<16|a[d>>>8&255]<<8|a[255&u])^r[h++],y=(a[f>>>24]<<24|a[d>>>16&255]<<16|a[u>>>8&255]<<8|a[255&l])^r[h++],b=(a[d>>>24]<<24|a[u>>>16&255]<<16|a[l>>>8&255]<<8|a[255&f])^r[h++],e[t]=g,e[t+1]=m,e[t+2]=y,e[t+3]=b},keySize:8});e.AES=t._createHelper(g)}(),n.AES)},function(e,t,r){var n;e.exports=(n=r(9),r(80),r(81),r(67),r(22),function(){var e=n,t=e.lib,r=t.WordArray,o=t.BlockCipher,i=e.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],u=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],l=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],f=i.DES=o.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=s[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var o=this._subKeys=[],i=0;i<16;i++){var u=o[i]=[],l=c[i];for(r=0;r<24;r++)u[r/6|0]|=t[(a[r]-1+l)%28]<<31-r%6,u[4+(r/6|0)]|=t[28+(a[r+24]-1+l)%28]<<31-r%6;for(u[0]=u[0]<<1|u[0]>>>31,r=1;r<7;r++)u[r]=u[r]>>>4*(r-1)+3;u[7]=u[7]<<5|u[7]>>>27}var f=this._invSubKeys=[];for(r=0;r<16;r++)f[r]=o[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],d.call(this,4,252645135),d.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),d.call(this,1,1431655765);for(var n=0;n<16;n++){for(var o=r[n],i=this._lBlock,s=this._rBlock,a=0,c=0;c<8;c++)a|=u[c][((s^o[c])&l[c])>>>0];this._lBlock=s,this._rBlock=i^a}var f=this._lBlock;this._lBlock=this._rBlock,this._rBlock=f,d.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<192.");var t=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),o=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=f.createEncryptor(r.create(t)),this._des2=f.createEncryptor(r.create(n)),this._des3=f.createEncryptor(r.create(o))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=o._createHelper(p)}(),n.TripleDES)},function(e,t,r){var n;e.exports=(n=r(9),r(80),r(81),r(67),r(22),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=r.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],o=0;o<256;o++)n[o]=o;o=0;for(var i=0;o<256;o++){var s=o%r,a=t[s>>>2]>>>24-s%4*8&255;i=(i+n[o]+a)%256;var c=n[o];n[o]=n[i],n[i]=c}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,r=this._j,n=0,o=0;o<4;o++){r=(r+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[r],e[r]=i,n|=e[(e[t]+e[r])%256]<<24-8*o}return this._i=t,this._j=r,n}e.RC4=t._createHelper(o);var s=r.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});e.RC4Drop=t._createHelper(s)}(),n.RC4)},function(e,t,r){var n;e.exports=(n=r(9),r(80),r(81),r(67),r(22),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=[],i=[],s=[],a=r.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=16711935&(e[r]<<8|e[r]>>>24)|4278255360&(e[r]<<24|e[r]>>>8);var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,r=0;r<4;r++)c.call(this);for(r=0;r<8;r++)o[r]^=n[r+4&7];if(t){var i=t.words,s=i[0],a=i[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),f=u>>>16|4294901760&l,d=l<<16|65535&u;for(o[0]^=u,o[1]^=f,o[2]^=l,o[3]^=d,o[4]^=u,o[5]^=f,o[6]^=l,o[7]^=d,r=0;r<4;r++)c.call(this)}},_doProcessBlock:function(e,t){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),e[t+n]^=o[n]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],o=65535&n,a=n>>>16,c=((o*o>>>17)+o*a>>>15)+a*a,u=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=c^u}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.Rabbit=t._createHelper(a)}(),n.Rabbit)},function(e,t,r){var n;e.exports=(n=r(9),r(80),r(81),r(67),r(22),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=[],i=[],s=[],a=r.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var o=0;o<4;o++)c.call(this);for(o=0;o<8;o++)n[o]^=r[o+4&7];if(t){var i=t.words,s=i[0],a=i[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),f=u>>>16|4294901760&l,d=l<<16|65535&u;for(n[0]^=u,n[1]^=f,n[2]^=l,n[3]^=d,n[4]^=u,n[5]^=f,n[6]^=l,n[7]^=d,o=0;o<4;o++)c.call(this)}},_doProcessBlock:function(e,t){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),e[t+n]^=o[n]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],o=65535&n,a=n>>>16,c=((o*o>>>17)+o*a>>>15)+a*a,u=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=c^u}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.RabbitLegacy=t._createHelper(a)}(),n.RabbitLegacy)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hash=void 0;const n=r(76);t.Hash=class{static sha256(e){return new Uint8Array((new n.sha256).update(e).digest())}static truncHashPortion(e,t=e.length,r=0){return e.substring(0,t)+"…"+e.substring(e.length-r,e.length)}}},function(e,t,r){"use strict";var n=r(28),o=r(302),i=r(594),s=r(308);function a(e){var t=new i(e),r=o(i.prototype.request,t);return n.extend(r,i.prototype,t),n.extend(r,t),r}var c=a(r(305));c.Axios=i,c.create=function(e){return a(s(c.defaults,e))},c.Cancel=r(309),c.CancelToken=r(607),c.isCancel=r(304),c.all=function(e){return Promise.all(e)},c.spread=r(608),c.isAxiosError=r(609),e.exports=c,e.exports.default=c},function(e,t,r){"use strict";var n=r(28),o=r(303),i=r(595),s=r(596),a=r(308);function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[s,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)r=r.then(t.shift(),t.shift());return r},c.prototype.getUri=function(e){return e=a(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,r){return this.request(a(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,r,n){return this.request(a(n||{},{method:e,url:t,data:r}))}})),e.exports=c},function(e,t,r){"use strict";var n=r(28);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,r){"use strict";var n=r(28),o=r(597),i=r(304),s=r(305);function a(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return a(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||s.adapter)(e).then((function(t){return a(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(a(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,r){"use strict";var n=r(28);e.exports=function(e,t,r){return n.forEach(r,(function(r){e=r(e,t)})),e}},function(e,t,r){"use strict";var n=r(28);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},function(e,t,r){"use strict";var n=r(307);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},function(e,t,r){"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,r){"use strict";var n=r(28);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,s){var a=[];a.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,r){"use strict";var n=r(603),o=r(604);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";var n=r(28),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,i,s={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(s[t]&&o.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([r]):s[t]?s[t]+", "+r:r}})),s):s}},function(e,t,r){"use strict";var n=r(28);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(309);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrayContentEquals=void 0,t.arrayContentEquals=function(e,t){if(e.length!==t.length)return!1;for(let r=0;rsetTimeout(t,e))}},function(e,t,r){"use strict";(function(e){function r(e){return"object"==typeof e&&null!==e}Object.defineProperty(t,"__esModule",{value:!0}),t.isUint8Array=t.isNonNullObject=void 0,t.isNonNullObject=r,t.isUint8Array=function(t){return!!r(t)&&("[object Uint8Array]"===Object.prototype.toString.call(t)&&(void 0===e||void 0===e.isBuffer||!e.isBuffer(t)))}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Bip39=void 0;const s=r(39),a=i(r(69)),c=r(97),u=i(r(311)),l=r(312);t.Bip39=class{static encode(e){if(-1===[16,20,24,28,32].indexOf(e.length))throw new Error("invalid input length");return new l.EnglishMnemonic(a.entropyToMnemonic(s.toHex(e)))}static decode(e){return s.fromHex(a.mnemonicToEntropy(e.toString()))}static async mnemonicToSeed(e,t){const r=s.toUtf8(u.nfkd(e.toString())),n="mnemonic"+(t?u.nfkd(t):""),o=s.toUtf8(n);return this.pbkdf2(r,o,2048,64,"sha512")}static async pbkdf2(e,t,r,n,o){return new Promise((i,s)=>{c.pbkdf2(e,t,r,n,o,(e,t)=>{e?s(e):i(new Uint8Array(t))})})}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromAscii=t.toAscii=void 0,t.toAscii=function(e){return Uint8Array.from(e.split("").map(e=>{const t=e.charCodeAt(0);if(t<32||t>126)throw new Error("Cannot encode character that is out of printable ASCII range: "+t);return t}))},t.fromAscii=function(e){return(t=Array.from(e),t.map(e=>{if(e<32||e>126)throw new Error("Cannot decode character that is out of printable ASCII range: "+e);return String.fromCharCode(e)})).join("");var t}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.fromBase64=t.toBase64=void 0;const s=i(r(117));t.toBase64=function(e){return s.fromByteArray(e)},t.fromBase64=function(e){if(!e.match(/^[a-zA-Z0-9+/]*={0,2}$/))throw new Error("Invalid base64 string format");return s.toByteArray(e)}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Bech32=void 0;const s=i(r(94));t.Bech32=class{static encode(e,t,r){return s.encode(e,s.toWords(t),r)}static decode(e,t=1/0){const r=s.decode(e,t);return{prefix:r.prefix,data:new Uint8Array(s.fromWords(r.words))}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromHex=t.toHex=void 0,t.toHex=function(e){let t="";for(const r of e)t+=("0"+r.toString(16)).slice(-2);return t},t.fromHex=function(e){if(e.length%2!=0)throw new Error("hex string length must be a multiple of 2");const t=[];for(let r=0;r32)throw new Error("Message hash length must not exceed 32 bytes");const r=c.keyFromPrivate(t),{r:n,s:o,recoveryParam:i}=r.sign(e,{canonical:!0});if("number"!=typeof i)throw new Error("Recovery param missing");return new a.ExtendedSecp256k1Signature(Uint8Array.from(n.toArray()),Uint8Array.from(o.toArray()),i)}static async verifySignature(e,t,r){if(0===t.length)throw new Error("Message hash must not be empty");if(t.length>32)throw new Error("Message hash length must not exceed 32 bytes");const n=c.keyFromPublic(r);try{return n.verify(t,e.toDer())}catch(e){return!1}}static recoverPubkey(e,t){const r={r:o.toHex(e.r()),s:o.toHex(e.s())},n=c.recoverPubKey(t,r,e.recovery),i=c.keyFromPublic(n);return o.fromHex(i.getPublic(!1,"hex"))}static compressPubkey(e){switch(e.length){case 33:return e;case 65:return Uint8Array.from(c.keyFromPublic(e).getPublic(!0,"array"));default:throw new Error("Invalid pubkey length")}}static trimRecoveryByte(e){switch(e.length){case 64:return e;case 65:return e.slice(0,64);default:throw new Error("Invalid signature length")}}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.stringToPath=t.pathToString=t.Slip10=t.Slip10RawIndex=t.slip10CurveFromString=t.Slip10Curve=void 0;const o=r(39),i=r(82),s=n(r(6)),a=n(r(45)),c=r(313),u=r(316);var l;!function(e){e.Secp256k1="Bitcoin seed",e.Ed25519="ed25519 seed"}(l=t.Slip10Curve||(t.Slip10Curve={})),t.slip10CurveFromString=function(e){switch(e){case l.Ed25519:return l.Ed25519;case l.Secp256k1:return l.Secp256k1;default:throw new Error(`Unknown curve string: '${e}'`)}};class f extends i.Uint32{static hardened(e){return new f(e+2**31)}static normal(e){return new f(e)}isHardened(){return this.data>=2**31}}t.Slip10RawIndex=f;const d=new a.default.ec("secp256k1");class h{static derivePath(e,t,r){let n=this.master(e,t);for(const t of r)n=this.child(e,n.privkey,n.chainCode,t);return n}static master(e,t){const r=new c.Hmac(u.Sha512,o.toAscii(e)).update(t).digest(),n=r.slice(0,32),i=r.slice(32,64);return e!==l.Ed25519&&(this.isZero(n)||this.isGteN(e,n))?this.master(e,r):{chainCode:i,privkey:n}}static child(e,t,r,n){let o;if(n.isHardened()){const e=new Uint8Array([0,...t,...n.toBytesBigEndian()]);o=new c.Hmac(u.Sha512,r).update(e).digest()}else{if(e===l.Ed25519)throw new Error("Normal keys are not allowed with ed25519");{const i=new Uint8Array([...h.serializedPoint(e,new s.default(t)),...n.toBytesBigEndian()]);o=new c.Hmac(u.Sha512,r).update(i).digest()}}return this.childImpl(e,t,r,n,o)}static serializedPoint(e,t){switch(e){case l.Secp256k1:return o.fromHex(d.g.mul(t).encodeCompressed("hex"));default:throw new Error("curve not supported")}}static childImpl(e,t,r,n,o){const i=o.slice(0,32),a=o.slice(32,64),f=a;if(e===l.Ed25519)return{chainCode:f,privkey:i};const d=this.n(e),h=new s.default(i).add(new s.default(t)).mod(d),p=Uint8Array.from(h.toArray("be",32));if(this.isGteN(e,i)||this.isZero(p)){const o=new c.Hmac(u.Sha512,r).update(new Uint8Array([1,...a,...n.toBytesBigEndian()])).digest();return this.childImpl(e,t,r,n,o)}return{chainCode:f,privkey:p}}static isZero(e){return e.every(e=>0===e)}static isGteN(e,t){return new s.default(t).gte(this.n(e))}static n(e){switch(e){case l.Secp256k1:return new s.default("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141",16);default:throw new Error("curve not supported")}}}t.Slip10=h,t.pathToString=function(e){return e.reduce((e,t)=>e+"/"+(t.isHardened()?t.toNumber()-2**31+"'":t.toString()),"m")},t.stringToPath=function(e){if(!e.startsWith("m"))throw new Error("Path string must start with 'm'");let t=e.slice(1);const r=new Array;for(;t;){const e=t.match(/^\/([0-9]+)('?)/);if(!e)throw new Error("Syntax error while reading path component");const[n,o,s]=e,a=i.Uint53.fromString(o).toNumber();if(a>=2**31)throw new Error("Component value too high. Must not exceed 2**31-1.");s?r.push(f.hardened(a)):r.push(f.normal(a)),t=t.slice(n.length)}return r}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Decimal=void 0;const o=n(r(6));class i{constructor(e,t){this.data={atomics:new o.default(e),fractionalDigits:t}}static fromUserInput(e,t){i.verifyFractionalDigits(t);const r=e.match(/[^0-9.]/);if(r)throw new Error("Invalid character at position "+(r.index+1));let n,o;if(-1===e.search(/\./))n=e,o="";else{const t=e.split(".");switch(t.length){case 0:case 1:throw new Error("Fewer than two elements in split result. This must not happen here.");case 2:if(!t[1])throw new Error("Fractional part missing");n=t[0],o=t[1].replace(/0+$/,"");break;default:throw new Error("More than one separator found")}}if(o.length>t)throw new Error("Got more fractional digits than supported");const s=`${n}${o.padEnd(t,"0")}`;return new i(s,t)}static fromAtomics(e,t){return i.verifyFractionalDigits(t),new i(e,t)}static verifyFractionalDigits(e){if(!Number.isInteger(e))throw new Error("Fractional digits is not an integer");if(e<0)throw new Error("Fractional digits must not be negative");if(e>100)throw new Error("Fractional digits must not exceed 100")}static compare(e,t){if(e.fractionalDigits!==t.fractionalDigits)throw new Error("Fractional digits do not match");return e.data.atomics.cmp(new o.default(t.atomics))}get atomics(){return this.data.atomics.toString()}get fractionalDigits(){return this.data.fractionalDigits}toString(){const e=new o.default(10).pow(new o.default(this.data.fractionalDigits)),t=this.data.atomics.div(e),r=this.data.atomics.mod(e);if(r.isZero())return t.toString();{const e=r.toString().padStart(this.data.fractionalDigits,"0").replace(/0+$/,"");return`${t.toString()}.${e}`}}toFloatApproximation(){const e=Number(this.toString());if(Number.isNaN(e))throw new Error("Conversion to number failed");return e}plus(e){if(this.fractionalDigits!==e.fractionalDigits)throw new Error("Fractional digits do not match");const t=this.data.atomics.add(new o.default(e.atomics));return new i(t.toString(),this.fractionalDigits)}minus(e){if(this.fractionalDigits!==e.fractionalDigits)throw new Error("Fractional digits do not match");const t=this.data.atomics.sub(new o.default(e.atomics));if(t.ltn(0))throw new Error("Difference must not be negative");return new i(t.toString(),this.fractionalDigits)}multiply(e){const t=this.data.atomics.mul(new o.default(e.toString()));return new i(t.toString(),this.fractionalDigits)}equals(e){return 0===i.compare(this,e)}isLessThan(e){return i.compare(this,e)<0}isLessThanOrEqual(e){return i.compare(this,e)<=0}isGreaterThan(e){return i.compare(this,e)>0}isGreaterThanOrEqual(e){return i.compare(this,e)>=0}}t.Decimal=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Uint64=t.Uint53=t.Int53=t.Uint32=void 0;const o=n(r(6)),i=new o.default("18446744073709551615",10,"be");class s{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(e<0||e>4294967295)throw new Error("Input not in uint32 range: "+e.toString());this.data=e}static fromBigEndianBytes(e){return s.fromBytes(e)}static fromBytes(e,t="be"){if(4!==e.length)throw new Error("Invalid input length. Expected 4 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);const r="be"===t?e:Array.from(e).reverse();return new s(r[0]*2**24+65536*r[1]+256*r[2]+r[3])}static fromString(e){if(!e.match(/^[0-9]+$/))throw new Error("Invalid string format");return new s(Number.parseInt(e,10))}toBytesBigEndian(){return new Uint8Array([255&Math.floor(this.data/2**24),255&Math.floor(this.data/65536),255&Math.floor(this.data/256),255&Math.floor(this.data/1)])}toBytesLittleEndian(){return new Uint8Array([255&Math.floor(this.data/1),255&Math.floor(this.data/256),255&Math.floor(this.data/65536),255&Math.floor(this.data/2**24)])}toNumber(){return this.data}toString(){return this.data.toString()}}t.Uint32=s;class a{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(eNumber.MAX_SAFE_INTEGER)throw new Error("Input not in int53 range: "+e.toString());this.data=e}static fromString(e){if(!e.match(/^-?[0-9]+$/))throw new Error("Invalid string format");return new a(Number.parseInt(e,10))}toNumber(){return this.data}toString(){return this.data.toString()}}t.Int53=a;class c{constructor(e){const t=new a(e);if(t.toNumber()<0)throw new Error("Input is negative");this.data=t}static fromString(e){const t=a.fromString(e);return new c(t.toNumber())}toNumber(){return this.data.toNumber()}toString(){return this.data.toString()}}t.Uint53=c;class u{constructor(e){if(e.isNeg())throw new Error("Input is negative");if(e.gt(i))throw new Error("Input exceeds uint64 range");this.data=e}static fromBytesBigEndian(e){return u.fromBytes(e)}static fromBytes(e,t="be"){if(8!==e.length)throw new Error("Invalid input length. Expected 8 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);const r="be"===t?Array.from(e):Array.from(e).reverse();return new u(new o.default(r))}static fromString(e){if(!e.match(/^[0-9]+$/))throw new Error("Invalid string format");return new u(new o.default(e,10,"be"))}static fromNumber(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");let t;try{t=new o.default(e)}catch(e){throw new Error("Input is not a safe integer")}return new u(t)}toBytesBigEndian(){return Uint8Array.from(this.data.toArray("be",8))}toBytesLittleEndian(){return Uint8Array.from(this.data.toArray("le",8))}toString(){return this.data.toString(10)}toNumber(){return this.data.toNumber()}}t.Uint64=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupAuthExtension=void 0,t.setupAuthExtension=function(e){return{auth:{account:async t=>{const r="/auth/accounts/"+t,n=await e.get(r);if("cosmos-sdk/Account"!==n.result.type)throw new Error("Unexpected response data format");return n}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupBankExtension=void 0,t.setupBankExtension=function(e){return{bank:{balances:async t=>{const r="/bank/balances/"+t;return e.get(r)}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupDistributionExtension=void 0,t.setupDistributionExtension=function(e){return{distribution:{delegatorRewards:async t=>e.get(`/distribution/delegators/${t}/rewards`),delegatorReward:async(t,r)=>e.get(`/distribution/delegators/${t}/rewards/${r}`),withdrawAddress:async t=>e.get(`/distribution/delegators/${t}/withdraw_address`),validator:async t=>e.get("/distribution/validators/"+t),validatorRewards:async t=>e.get(`/distribution/validators/${t}/rewards`),validatorOutstandingRewards:async t=>e.get(`/distribution/validators/${t}/outstanding_rewards`),parameters:async()=>e.get("/distribution/parameters"),communityPool:async()=>e.get("/distribution/community_pool")}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupGovExtension=t.GovParametersType=void 0,function(e){e.Deposit="deposit",e.Tallying="tallying",e.Voting="voting"}(t.GovParametersType||(t.GovParametersType={})),t.setupGovExtension=function(e){return{gov:{parameters:async t=>e.get("/gov/parameters/"+t),proposals:async()=>e.get("/gov/proposals"),proposal:async t=>e.get("/gov/proposals/"+t),proposer:async t=>e.get(`/gov/proposals/${t}/proposer`),deposits:async t=>e.get(`/gov/proposals/${t}/deposits`),deposit:async(t,r)=>e.get(`/gov/proposals/${t}/deposits/${r}`),tally:async t=>e.get(`/gov/proposals/${t}/tally`),votes:async t=>e.get(`/gov/proposals/${t}/votes`),vote:async(t,r)=>e.get(`/gov/proposals/${t}/votes/${r}`)}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupMintExtension=void 0,t.setupMintExtension=function(e){return{mint:{parameters:async()=>e.get("/minting/parameters"),inflation:async()=>e.get("/minting/inflation"),annualProvisions:async()=>e.get("/minting/annual-provisions")}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupSlashingExtension=void 0,t.setupSlashingExtension=function(e){return{slashing:{signingInfos:async()=>e.get("/slashing/signing_infos"),parameters:async()=>e.get("/slashing/parameters")}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupStakingExtension=t.BondStatus=void 0,function(e){e[e.Unbonded=0]="Unbonded",e[e.Unbonding=1]="Unbonding",e[e.Bonded=2]="Bonded"}(t.BondStatus||(t.BondStatus={})),t.setupStakingExtension=function(e){return{staking:{delegatorDelegations:async t=>e.get(`/staking/delegators/${t}/delegations`),delegatorUnbondingDelegations:async t=>e.get(`/staking/delegators/${t}/unbonding_delegations`),delegatorTransactions:async t=>e.get(`/staking/delegators/${t}/txs`),delegatorValidators:async t=>e.get(`/staking/delegators/${t}/validators`),delegatorValidator:async(t,r)=>e.get(`/staking/delegators/${t}/validators/${r}`),delegation:async(t,r)=>e.get(`/staking/delegators/${t}/delegations/${r}`),unbondingDelegation:async(t,r)=>e.get(`/staking/delegators/${t}/unbonding_delegations/${r}`),redelegations:async()=>e.get("/staking/redelegations"),validators:async t=>e.get("/staking/validators",t),validator:async t=>e.get("/staking/validators/"+t),validatorDelegations:async t=>e.get(`/staking/validators/${t}/delegations`),validatorUnbondingDelegations:async t=>e.get(`/staking/validators/${t}/unbonding_delegations`),historicalInfo:async t=>e.get("/staking/historical_info/"+t),pool:async()=>e.get("/staking/pool"),parameters:async()=>e.get("/staking/parameters")}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupSupplyExtension=void 0,t.setupSupplyExtension=function(e){return{supply:{totalAll:async()=>e.get("/supply/total"),total:async t=>e.get("/supply/total/"+t)}}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LcdClient=t.normalizeLcdApiArray=void 0;const o=r(100),i=n(r(68)),s=r(319);function a(e){var t;if(null===(t=e.response)||void 0===t?void 0:t.data){let t;const r=e.response.data;throw t=r.error&&"string"==typeof r.error?r.error:"string"==typeof r?r:JSON.stringify(r),new Error(`${t} (HTTP ${e.response.status})`)}throw e}t.normalizeLcdApiArray=function(e){return e||[]};class c{constructor(e,t=s.BroadcastMode.Block){this.client=i.default.create({baseURL:e,headers:{post:{"Content-Type":"application/json"}}}),this.broadcastMode=t}static withExtensions(e,...t){const r=new c(e.apiUrl,e.broadcastMode),n=t.map(e=>e(r));for(const e of n){o.assert(o.isNonNullObject(e),"Extension must be a non-null object");for(const[t,n]of Object.entries(e)){o.assert(o.isNonNullObject(n),`Module must be a non-null object. Found type ${typeof n} for module "${t}".`);const e=r[t]||{};r[t]=Object.assign(Object.assign({},e),n)}}return r}async get(e,t){const{data:r}=await this.client.get(e,{params:t}).catch(a);if(null===r)throw new Error("Received null response from server");return r}async post(e,t){if(!o.isNonNullObject(t))throw new Error("Got unexpected type of params. Expected object.");const{data:r}=await this.client.post(e,t).catch(a);if(null===r)throw new Error("Received null response from server");return r}async blocksLatest(){const e=await this.get("/blocks/latest");if(!e.block)throw new Error("Unexpected response data format");return e}async blocks(e){const t=await this.get("/blocks/"+e);if(!t.block)throw new Error("Unexpected response data format");return t}async nodeInfo(){const e=await this.get("/node_info");if(!e.node_info)throw new Error("Unexpected response data format");return e}async txById(e){const t=await this.get("/txs/"+e);if(!t.tx)throw new Error("Unexpected response data format");return t}async txsQuery(e){const t=await this.get("/txs?"+e);if(!t.txs)throw new Error("Unexpected response data format");return t}async encodeTx(e){const t=await this.post("/txs/encode",e);if(!t.tx)throw new Error("Unexpected response data format");return t}async broadcastTx(e){const t={tx:e,mode:this.broadcastMode},r=await this.post("/txs",t);if(!r.txhash)throw new Error("Unexpected response data format");return r}}t.LcdClient=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePubkey=t.uint64ToString=t.uint64ToNumber=void 0;const n=r(82),o=r(175);t.uint64ToNumber=function(e){return("number"==typeof e?n.Uint64.fromNumber(e):n.Uint64.fromString(e)).toNumber()},t.uint64ToString=function(e){return("number"==typeof e?n.Uint64.fromNumber(e):n.Uint64.fromString(e)).toString()},t.normalizePubkey=function(e){return e?"string"==typeof e?o.decodeBech32Pubkey(e):e:null}},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.isMsgUndelegate=t.isMsgBeginRedelegate=t.isMsgDelegate=t.isMsgEditValidator=t.isMsgCreateValidator=t.isMsgUnjail=t.isMsgDeposit=t.isMsgVote=t.isMsgSubmitProposal=t.isMsgSubmitEvidence=t.isMsgFundCommunityPool=t.isMsgWithdrawValidatorCommission=t.isMsgWithdrawDelegatorReward=t.isMsgSetWithdrawAddress=t.isMsgVerifyInvariant=t.isMsgMultiSend=t.isMsgSend=void 0,t.isMsgSend=function(e){return"cosmos-sdk/MsgSend"===e.type},t.isMsgMultiSend=function(e){return"cosmos-sdk/MsgMultiSend"===e.type},t.isMsgVerifyInvariant=function(e){return"cosmos-sdk/MsgVerifyInvariant"===e.type},t.isMsgSetWithdrawAddress=function(e){return"cosmos-sdk/MsgModifyWithdrawAddress"===e.type},t.isMsgWithdrawDelegatorReward=function(e){return"cosmos-sdk/MsgWithdrawDelegationReward"===e.type},t.isMsgWithdrawValidatorCommission=function(e){return"cosmos-sdk/MsgWithdrawValidatorCommission"===e.type},t.isMsgFundCommunityPool=function(e){return"cosmos-sdk/MsgFundCommunityPool"===e.type},t.isMsgSubmitEvidence=function(e){return"cosmos-sdk/MsgSubmitEvidence"===e.type},t.isMsgSubmitProposal=function(e){return"cosmos-sdk/MsgSubmitProposal"===e.type},function(e){e[e.VoteOptionUnspecified=0]="VoteOptionUnspecified",e[e.VoteOptionYes=1]="VoteOptionYes",e[e.VoteOptionAbstain=2]="VoteOptionAbstain",e[e.VoteOptionNo=3]="VoteOptionNo",e[e.VoteOptionNoWithVeto=4]="VoteOptionNoWithVeto"}(n||(n={})),t.isMsgVote=function(e){return"cosmos-sdk/MsgVote"===e.type},t.isMsgDeposit=function(e){return"cosmos-sdk/MsgDeposit"===e.type},t.isMsgUnjail=function(e){return"cosmos-sdk/MsgUnjail"===e.type},t.isMsgCreateValidator=function(e){return"cosmos-sdk/MsgCreateValidator"===e.type},t.isMsgEditValidator=function(e){return"cosmos-sdk/MsgEditValidator"===e.type},t.isMsgDelegate=function(e){return"cosmos-sdk/MsgDelegate"===e.type},t.isMsgBeginRedelegate=function(e){return"cosmos-sdk/MsgBeginRedelegate"===e.type},t.isMsgUndelegate=function(e){return"cosmos-sdk/MsgUndelegate"===e.type}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findSequenceForSignedTx=void 0;const n=r(50),o=r(101),i=r(127);t.findSequenceForSignedTx=async function(e,t,r,s,a=0){const c=e.value.signatures.find(()=>!0);if(!c)throw new Error("Signature missing in tx");const{pubkey:u,signature:l}=i.decodeSignature(c),f=n.Secp256k1Signature.fromFixedLength(l);for(let i=a;i({hdPath:n.pathToString(e.hdPath),prefix:e.prefix}))},i=o.toUtf8(JSON.stringify(r)),s={algorithm:l.supportedAlgorithms.xchacha20poly1305Ietf},a=await l.encrypt(i,e,s),c={type:"secp256k1wallet-v1",kdf:t,encryption:s,data:o.toBase64(a)};return JSON.stringify(c)}}t.Secp256k1HdWallet=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Secp256k1Wallet=void 0;const n=r(50),o=r(173),i=r(101),s=r(127);class a{constructor(e,t,r){this.privkey=e,this.pubkey=t,this.prefix=r}static async fromKey(e,t="cosmos"){const r=(await n.Secp256k1.makeKeypair(e)).pubkey;return new a(e,n.Secp256k1.compressPubkey(r),t)}get address(){return o.rawSecp256k1PubkeyToAddress(this.pubkey,this.prefix)}async getAccounts(){return[{algo:"secp256k1",address:this.address,pubkey:this.pubkey}]}async signAmino(e,t){if(e!==this.address)throw new Error(`Address ${e} not found in wallet`);const r=new n.Sha256(i.serializeSignDoc(t)).digest(),o=await n.Secp256k1.createSignature(r,this.privkey),a=new Uint8Array([...o.r(32),...o.s(32)]);return{signed:t,signature:s.encodeSecp256k1Signature(this.pubkey,a)}}}t.Secp256k1Wallet=a},function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,o="~";function i(){}function s(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function a(e,t,r,n,i){if("function"!=typeof r)throw new TypeError("The listener must be a function");var a=new s(r,n||e,i),c=o?o+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],a]:e._events[c].push(a):(e._events[c]=a,e._eventsCount++),e}function c(e,t){0==--e._eventsCount?e._events=new i:delete e._events[t]}function u(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(o=!1)),u.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)n.call(e,t)&&r.push(o?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},u.prototype.listeners=function(e){var t=o?o+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,i=r.length,s=new Array(i);nnew Promise((i,s)=>{if("number"!=typeof t||t<0)throw new TypeError("Expected `milliseconds` to be a positive number");if(t===1/0)return void i(e);const a=setTimeout(()=>{if("function"==typeof r){try{i(r())}catch(e){s(e)}return}const n=r instanceof Error?r:new o("string"==typeof r?r:`Promise timed out after ${t} milliseconds`);"function"==typeof e.cancel&&e.cancel(),s(n)},t);n(e.then(i,s),()=>{clearTimeout(a)})});e.exports=i,e.exports.default=i,e.exports.TimeoutError=o},function(e,t,r){"use strict";e.exports=(e,t)=>(t=t||(()=>{}),e.then(e=>new Promise(e=>{e(t())}).then(()=>e),e=>new Promise(e=>{e(t())}).then(()=>{throw e})))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(649);t.default=class{constructor(){this._queue=[]}enqueue(e,t){const r={priority:(t=Object.assign({priority:0},t)).priority,run:e};if(this.size&&this._queue[this.size-1].priority>=t.priority)return void this._queue.push(r);const o=n.default(this._queue,r,(e,t)=>t.priority-e.priority);this._queue.splice(o,0,r)}dequeue(){const e=this._queue.shift();return null==e?void 0:e.run}filter(e){return this._queue.filter(t=>t.priority===e.priority).map(e=>e.run)}get size(){return this._queue.length}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){let n=0,o=e.length;for(;o>0;){const i=o/2|0;let s=n+i;r(e[s],t)<=0?(n=++s,o-=i+1):o=i}return n}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionRouter=void 0;const o=r(176);class i extends o.Router{constructor(){super(...arguments),this.onMessage=(e,t)=>{if(e.port===this.port)return this.onMessageHandler(e,t)}}listen(e){if(!e)throw new Error("Empty port");this.port=e,browser.runtime.onMessage.addListener(this.onMessage)}unlisten(){this.port="",browser.runtime.onMessage.removeListener(this.onMessage)}onMessageHandler(e,t){return n(this,void 0,void 0,(function*(){try{return{return:yield this.handleMessage(e,t)}}catch(t){return console.log(`Failed to process msg ${e.type}: ${(null==t?void 0:t.message)||(null==t?void 0:t.toString())}`),t?Promise.resolve({error:t.message||t.toString()}):Promise.resolve({error:"Unknown error, and error is null"})}}))}}t.ExtensionRouter=i},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.MockRouter=void 0;const o=r(176),i=r(51);class s extends o.Router{constructor(){super(...arguments),this.onMessage=e=>n(this,void 0,void 0,(function*(){const{message:t,sender:r}=e;if(t.port===this.port)try{const e=yield this.handleMessage(t,r);return void r.resolver({return:e})}catch(e){console.log(`Failed to process msg ${t.type}: ${(null==e?void 0:e.message)||(null==e?void 0:e.toString())}`),e?r.resolver({error:e.message||e.toString()}):r.resolver({error:"Unknown error, and error is null"})}}))}listen(e){if(!e)throw new Error("Empty port");this.port=e,s.eventEmitter.addListener("message",this.onMessage)}unlisten(){this.port="",s.eventEmitter.removeListener("message",this.onMessage)}}t.MockRouter=s,s.eventEmitter=new i.EventEmitter},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Message=void 0;t.Message=class{approveExternal(e,t){return!1}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.InExtensionMessageRequester=void 0;const o=r(107);t.InExtensionMessageRequester=class{sendMessage(e,t){return n(this,void 0,void 0,(function*(){t.validateBasic(),t.origin=window.location.origin;const r=o.JSONUint8Array.unwrap(yield browser.runtime.sendMessage({port:e,type:t.type(),msg:o.JSONUint8Array.wrap(t)}));if(!r)throw new Error("Null result");if(r.error)throw new Error(r.error);return r.return}))}static sendMessageToTab(e,t,r){return n(this,void 0,void 0,(function*(){r.validateBasic(),r.origin=window.location.origin;const n=o.JSONUint8Array.unwrap(yield browser.tabs.sendMessage(e,{port:t,type:r.type(),msg:o.JSONUint8Array.wrap(r)}));if(!n)throw new Error("Null result");if(n.error)throw new Error(n.error);return n.return}))}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ContentScriptMessageRequester=void 0;const o=r(107);t.ContentScriptMessageRequester=class{sendMessage(e,t){return n(this,void 0,void 0,(function*(){t.validateBasic(),t.origin=window.location.origin;const r=o.JSONUint8Array.wrap(t),n=yield browser.tabs.query({discarded:!1,status:"complete"});for(let o=0;o{i.MockRouter.eventEmitter.emit("message",{message:{port:e,type:t.type(),msg:o.JSONUint8Array.wrap(t)},sender:{id:this.id,url:this.url,resolver:r}})}));if(!r)throw new Error("Null result");if(r.error)throw new Error(r.error);return r.return}))}}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(328),t),o(r(660),t),o(r(661),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContentScriptGuards=void 0;class n{}t.ContentScriptGuards=n,n.checkMessageIsInternal=(e,t,r)=>{if(!e.isInternalMsg||t.approveExternal(e,r))throw new Error("Content script can't handle the message that is able to be sent from external");return Promise.resolve()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MockGuards=void 0;const n=r(328);class o{}t.MockGuards=o,o.checkOriginIsValid=n.ExtensionGuards.checkOriginIsValid,o.checkMessageIsInternal=n.ExtensionGuards.checkMessageIsInternal},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(329),t),o(r(663),t),o(r(664),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContentScriptEnv=void 0;class n{}t.ContentScriptEnv=n,n.produceEnv=e=>({isInternalMsg:e.id===browser.runtime.id,requestInteraction:()=>{throw new Error("ContentScriptEnv doesn't support `requestInteraction`")}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MockEnv=void 0;const n=r(329);t.MockEnv=class{constructor(e,t){this.id=e,this.url=t}envProducer(){return e=>({isInternalMsg:n.ExtensionEnv.checkIsInternalMessage(e,this.id,this.url),requestInteraction:()=>{throw new Error("TODO: Implement me")}})}}},function(e,t,r){(function(e,t){ -/*! ***************************************************************************** -Copyright (C) Microsoft. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ -var r;!function(r){!function(n){var o="object"==typeof t?t:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),i=s(r);function s(e,t){return function(r,n){"function"!=typeof e[r]&&Object.defineProperty(e,r,{configurable:!0,writable:!0,value:n}),t&&t(r,n)}}void 0===o.Reflect?o.Reflect=r:i=s(o.Reflect,i),function(t){var r=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,o=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",i=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",s="function"==typeof Object.create,a={__proto__:[]}instanceof Array,c=!s&&!a,u={create:s?function(){return R(Object.create(null))}:a?function(){return R({__proto__:null})}:function(){return R({})},has:c?function(e,t){return r.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return r.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},l=Object.getPrototypeOf(Function),f="object"==typeof e&&e.env&&"true"===e.env.REFLECT_METADATA_USE_MAP_POLYFILL,d=f||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function(){var e={},t=[],r=function(){function e(e,t,r){this._index=0,this._keys=e,this._values=t,this._selector=r}return e.prototype["@@iterator"]=function(){return this},e.prototype[i]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:r,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var r=this._find(e,!0);return this._values[r]=t,this},t.prototype.delete=function(t){var r=this._find(t,!1);if(r>=0){for(var n=this._keys.length,o=r+1;o=0;--r){var n=(0,e[r])(t);if(!_(n)&&!k(n)){if(!x(n))throw new TypeError;t=n}}return t}(e,t)}if(!E(e))throw new TypeError;if(!S(t))throw new TypeError;if(!S(n)&&!_(n)&&!k(n))throw new TypeError;return k(n)&&(n=void 0),function(e,t,r,n){for(var o=e.length-1;o>=0;--o){var i=(0,e[o])(t,r,n);if(!_(i)&&!k(i)){if(!S(i))throw new TypeError;n=i}}return n}(e,t,r=j(r),n)})),t("metadata",(function(e,t){return function(r,n){if(!S(r))throw new TypeError;if(!_(n)&&!function(e){switch(w(e)){case 3:case 4:return!0;default:return!1}}(n))throw new TypeError;b(e,t,r,n)}})),t("defineMetadata",(function(e,t,r,n){if(!S(r))throw new TypeError;return _(n)||(n=j(n)),b(e,t,r,n)})),t("hasMetadata",(function(e,t,r){if(!S(t))throw new TypeError;return _(r)||(r=j(r)),function e(t,r,n){if(m(t,r,n))return!0;var o=C(r);return!k(o)&&e(t,o,n)}(e,t,r)})),t("hasOwnMetadata",(function(e,t,r){if(!S(t))throw new TypeError;return _(r)||(r=j(r)),m(e,t,r)})),t("getMetadata",(function(e,t,r){if(!S(t))throw new TypeError;return _(r)||(r=j(r)),function e(t,r,n){if(m(t,r,n))return y(t,r,n);var o=C(r);return k(o)?void 0:e(t,o,n)}(e,t,r)})),t("getOwnMetadata",(function(e,t,r){if(!S(t))throw new TypeError;return _(r)||(r=j(r)),y(e,t,r)})),t("getMetadataKeys",(function(e,t){if(!S(e))throw new TypeError;return _(t)||(t=j(t)),function e(t,r){var n=v(t,r),o=C(t);if(null===o)return n;var i=e(o,r);if(i.length<=0)return n;if(n.length<=0)return i;for(var s=new h,a=[],c=0,u=n;c0)return!0;var o=p.get(t);return o.delete(r),o.size>0||p.delete(t),!0}))}(i)}()}(r||(r={}))}).call(this,r(13),r(12))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(330),t),o(r(667),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(177),o=r(331),i=r(668);t.init=function(e,t){e.registerMessage(n.SetPersistentMemoryMsg),e.registerMessage(n.GetPersistentMemoryMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const n=r(177);t.getHandler=e=>(t,r)=>{switch(r.constructor){case n.SetPersistentMemoryMsg:return o(e)(t,r);case n.GetPersistentMemoryMsg:return e.get();default:throw new Error("Unknown msg type")}};const o=e=>(t,r)=>(e.set(r.data),{success:!0})},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(332),t),o(r(676),t)},function(e,t,r){window,e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=11)}([function(e,t,r){"use strict";const n=r(12);e.exports=function(e,...t){if(!e){if(1===t.length&&t[0]instanceof Error)throw t[0];throw new n(t)}}},function(e,t,r){"use strict";const n=r(0),o=r(12),i=r(29);let s,a;const c={isoDate:/^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/};t.version=i.version,t.defaults={abortEarly:!0,allowUnknown:!1,artifacts:!1,cache:!0,context:null,convert:!0,dateFormat:"iso",errors:{escapeHtml:!1,label:"path",language:null,render:!0,stack:!1,wrap:{label:'"',array:"[]"}},externals:!0,messages:{},nonEnumerables:!1,noDefaults:!1,presence:"optional",skipFunctions:!1,stripUnknown:!1,warnings:!1},t.symbols={any:Symbol.for("@hapi/joi/schema"),arraySingle:Symbol("arraySingle"),deepDefault:Symbol("deepDefault"),errors:Symbol("errors"),literal:Symbol("literal"),override:Symbol("override"),parent:Symbol("parent"),prefs:Symbol("prefs"),ref:Symbol("ref"),template:Symbol("template"),values:Symbol("values")},t.assertOptions=function(e,t,r="Options"){n(e&&"object"==typeof e&&!Array.isArray(e),"Options must be of type object");const o=Object.keys(e).filter(e=>!t.includes(e));n(0===o.length,"".concat(r," contain unknown keys: ").concat(o))},t.checkPreferences=function(e){a=a||r(16);const t=a.preferences.validate(e);if(t.error)throw new o([t.error.details[0].message])},t.compare=function(e,t,r){switch(r){case"=":return e===t;case">":return e>t;case"<":return e=":return e>=t;case"<=":return e<=t}},t.default=function(e,t){return void 0===e?t:e},t.isIsoDate=function(e){return c.isoDate.test(e)},t.isNumber=function(e){return"number"==typeof e&&!isNaN(e)},t.isResolvable=function(e){return!!e&&(e[t.symbols.ref]||e[t.symbols.template])},t.isSchema=function(e,r={}){const o=e&&e[t.symbols.any];return!!o&&(n(r.legacy||o.version===t.version,"Cannot mix different versions of joi schemas"),!0)},t.isValues=function(e){return e[t.symbols.values]},t.limit=function(e){return Number.isSafeInteger(e)&&e>=0},t.preferences=function(e,n){s=s||r(9),e=e||{},n=n||{};const o=Object.assign({},e,n);return n.errors&&e.errors&&(o.errors=Object.assign({},e.errors,n.errors),o.errors.wrap=Object.assign({},e.errors.wrap,n.errors.wrap)),n.messages&&(o.messages=s.compile(n.messages,e.messages)),delete o[t.symbols.prefs],o},t.tryWithPath=function(e,t,r={}){try{return e()}catch(e){throw void 0!==e.path?e.path=t+"."+e.path:e.path=t,r.append&&(e.message="".concat(e.message," (").concat(e.path,")")),e}},t.validateArg=function(e,r,{assert:n,message:o}){if(t.isSchema(n)){const t=n.validate(e);if(!t.error)return;return t.error.message}if(!n(e))return r?"".concat(r," ").concat(o):o},t.verifyFlat=function(e,t){for(const r of e)n(!Array.isArray(r),"Method no longer accepts array arguments:",t)}},function(e,t,r){"use strict";const n=r(6),o=r(13),i=r(14),s={needsProtoHack:new Set([o.set,o.map,o.weakSet,o.weakMap])};e.exports=s.clone=function(e,t={},r=null){if("object"!=typeof e||null===e)return e;let n=s.clone,a=r;if(t.shallow){if(!0!==t.shallow)return s.cloneWithShallow(e,t);n=e=>e}else if(a){const t=a.get(e);if(t)return t}else a=new Map;const c=o.getInternalProto(e);if(c===o.buffer)return!1;if(c===o.date)return new Date(e.getTime());if(c===o.regex)return new RegExp(e);const u=s.base(e,c,t);if(u===e)return e;if(a&&a.set(e,u),c===o.set)for(const r of e)u.add(n(r,t,a));else if(c===o.map)for(const[r,o]of e)u.set(r,n(o,t,a));const l=i.keys(e,t);for(const r of l){if("__proto__"===r)continue;if(c===o.array&&"length"===r){u.length=e.length;continue}const i=Object.getOwnPropertyDescriptor(e,r);i?i.get||i.set?Object.defineProperty(u,r,i):i.enumerable?u[r]=n(e[r],t,a):Object.defineProperty(u,r,{enumerable:!1,writable:!0,configurable:!0,value:n(e[r],t,a)}):Object.defineProperty(u,r,{enumerable:!0,writable:!0,configurable:!0,value:n(e[r],t,a)})}return u},s.cloneWithShallow=function(e,t){const r=t.shallow;(t=Object.assign({},t)).shallow=!1;const o=new Map;for(const t of r){const r=n(e,t);"object"!=typeof r&&"function"!=typeof r||o.set(r,r)}return s.clone(e,t,o)},s.base=function(e,t,r){if(!1===r.prototype)return s.needsProtoHack.has(t)?new t.constructor:t===o.array?[]:{};const n=Object.getPrototypeOf(e);if(n&&n.isImmutable)return e;if(t===o.array){const e=[];return n!==t&&Object.setPrototypeOf(e,n),e}if(s.needsProtoHack.has(t)){const e=new n.constructor;return n!==t&&Object.setPrototypeOf(e,n),e}return Object.create(n)}},function(e,t,r){"use strict";const n=r(0),o=r(34),i=r(1),s=r(9);e.exports=o.extend({type:"any",flags:{only:{default:!1}},terms:{alterations:{init:null},examples:{init:null},externals:{init:null},metas:{init:[]},notes:{init:[]},shared:{init:null},tags:{init:[]},whens:{init:null}},rules:{custom:{method(e,t){return n("function"==typeof e,"Method must be a function"),n(void 0===t||t&&"string"==typeof t,"Description must be a non-empty string"),this.$_addRule({name:"custom",args:{method:e,description:t}})},validate(e,t,{method:r}){try{return r(e,t)}catch(e){return t.error("any.custom",{error:e})}},args:["method","description"],multi:!0},messages:{method(e){return this.prefs({messages:e})}},shared:{method(e){n(i.isSchema(e)&&e._flags.id,"Schema must be a schema with an id");const t=this.clone();return t.$_terms.shared=t.$_terms.shared||[],t.$_terms.shared.push(e),t.$_mutateRegister(e),t}},warning:{method(e,t){return n(e&&"string"==typeof e,"Invalid warning code"),this.$_addRule({name:"warning",args:{code:e,local:t},warn:!0})},validate:(e,t,{code:r,local:n})=>t.error(r,n),args:["code","local"],multi:!0}},modifiers:{keep(e,t=!0){e.keep=t},message(e,t){e.message=s.compile(t)},warn(e,t=!0){e.warn=t}},manifest:{build(e,t){for(const r in t){const n=t[r];if(["examples","externals","metas","notes","tags"].includes(r))for(const t of n)e=e[r.slice(0,-1)](t);else if("alterations"!==r)if("whens"!==r){if("shared"===r)for(const t of n)e=e.shared(t)}else for(const t of n){const{ref:r,is:n,not:o,then:i,otherwise:s,concat:a}=t;e=a?e.concat(a):r?e.when(r,{is:n,not:o,then:i,otherwise:s,switch:t.switch,break:t.break}):e.when(n,{then:i,otherwise:s,break:t.break})}else{const t={};for(const{target:e,adjuster:r}of n)t[e]=r;e=e.alter(t)}}return e}},messages:{"any.custom":"{{#label}} failed custom validation because {{#error.message}}","any.default":"{{#label}} threw an error when running default method","any.failover":"{{#label}} threw an error when running failover method","any.invalid":"{{#label}} contains an invalid value","any.only":'{{#label}} must be {if(#valids.length == 1, "", "one of ")}{{#valids}}',"any.ref":"{{#label}} {{#arg}} references {{:#ref}} which {{#reason}}","any.required":"{{#label}} is required","any.unknown":"{{#label}} is not allowed"}})},function(e,t,r){"use strict";const n=r(32),o=r(1),i=r(7);t.Report=class{constructor(e,r,n,o,i,s,a){if(this.code=e,this.flags=o,this.messages=i,this.path=s.path,this.prefs=a,this.state=s,this.value=r,this.message=null,this.template=null,this.local=n||{},this.local.label=t.label(this.flags,this.state,this.prefs,this.messages),void 0===this.value||this.local.hasOwnProperty("value")||(this.local.value=this.value),this.path.length){const e=this.path[this.path.length-1];"object"!=typeof e&&(this.local.key=e)}}_setTemplate(e){if(this.template=e,!this.flags.label&&0===this.path.length){const e=this._template(this.template,"root");e&&(this.local.label=e)}}toString(){if(this.message)return this.message;const e=this.code;if(!this.prefs.errors.render)return this.code;const t=this._template(this.template)||this._template(this.prefs.messages)||this._template(this.messages);return void 0===t?'Error code "'.concat(e,'" is not defined, your custom type is missing the correct messages definition'):(this.message=t.render(this.value,this.state,this.prefs,this.local,{errors:this.prefs.errors,messages:[this.prefs.messages,this.messages]}),this.prefs.errors.label||(this.message=this.message.replace(/^"" /,"").trim()),this.message)}_template(e,r){return t.template(this.value,e,r||this.code,this.state,this.prefs)}},t.path=function(e){let t="";for(const r of e)"object"!=typeof r&&("string"==typeof r?(t&&(t+="."),t+=r):t+="[".concat(r,"]"));return t},t.template=function(e,t,r,n,s){if(!t)return;if(i.isTemplate(t))return"root"!==r?t:null;let a=s.errors.language;return o.isResolvable(a)&&(a=a.resolve(e,n,s)),a&&t[a]&&void 0!==t[a][r]?t[a][r]:t[r]},t.label=function(e,r,n,o){if(e.label)return e.label;if(!n.errors.label)return"";let i=r.path;return"key"===n.errors.label&&r.path.length>1&&(i=r.path.slice(-1)),t.path(i)||t.template(null,n.messages,"root",r,n)||o&&t.template(null,o,"root",r,n)||"value"},t.process=function(e,r,n){if(!e)return null;const{override:o,message:i,details:s}=t.details(e);if(o)return o;if(n.errors.stack)return new t.ValidationError(i,s,r);const a=Error.stackTraceLimit;Error.stackTraceLimit=0;const c=new t.ValidationError(i,s,r);return Error.stackTraceLimit=a,c},t.details=function(e,t={}){let r=[];const n=[];for(const o of e){if(o instanceof Error){if(!1!==t.override)return{override:o};const e=o.toString();r.push(e),n.push({message:e,type:"override",context:{error:o}});continue}const e=o.toString();r.push(e),n.push({message:e,path:o.path.filter(e=>"object"!=typeof e),type:o.code,context:o.local})}return r.length>1&&(r=[...new Set(r)]),{message:r.join(". "),details:n}},t.ValidationError=class extends Error{constructor(e,t,r){super(e),this._original=r,this.details=t}static isError(e){return e instanceof t.ValidationError}},t.ValidationError.prototype.isJoi=!0,t.ValidationError.prototype.name="ValidationError",t.ValidationError.prototype.annotate=n.error},function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0&&this.refs.push({ancestor:t.ancestor-n,root:t.root});else t.isRef(e)&&"value"===e.type&&e.ancestor-n>=0&&this.refs.push({ancestor:e.ancestor-n,root:e.root}),l=l||r(7),l.isTemplate(e)&&this.register(e.refs(),n)}get length(){return this.refs.length}clone(){const e=new t.Manager;return e.refs=a(this.refs),e}reset(){this.refs=[]}roots(){return this.refs.filter(e=>!e.ancestor).map(e=>e.root)}}},function(e,t,r){"use strict";const n=r(0),o={};e.exports=function(e,t,r){if(!1===t||null==t)return e;"string"==typeof(r=r||{})&&(r={separator:r});const i=Array.isArray(t);n(!i||!r.separator,"Separator option no valid for array-based chain");const s=i?t:t.split(r.separator||".");let a=e;for(let e=0;e{const t=f.create(e,this._settings);return n.push(t),e=>t.resolve(...e)};try{var i=new c.Parser(e,{reference:o,functions:d.functions,constants:d.constants})}catch(t){throw t.message='Invalid template variable "'.concat(e,'" fails due to: ').concat(t.message),t}if(i.single){if("reference"===i.single.type){const e=n[0];return{ref:e,raw:t,refs:n,wrapped:r||"local"===e.type&&"label"===e.key}}return d.stringify(i.single.value)}return{formula:i,raw:t,refs:n}}toString(){return this.source}},d.Template.prototype[u.symbols.template]=!0,d.Template.prototype.isImmutable=!0,d.encode=function(e){return e.replace(/\\(\{+)/g,(e,t)=>d.opens.slice(0,t.length)).replace(/\\(\}+)/g,(e,t)=>d.closes.slice(0,t.length))},d.decode=function(e){return e.replace(/\u0000/g,"{").replace(/\u0001/g,"}")},d.split=function(e){const t=[];let r="";for(let n=0;n ").concat(n.toString()));e=t}if(!Array.isArray(e))return e.toString();let l="";for(const n of e)l=l+(l.length?", ":"")+d.stringify(n,t,r,i,s,a);return u?l:d.wrap(l,i.errors.wrap.array)},d.constants={true:!0,false:!1,null:null,second:1e3,minute:6e4,hour:36e5,day:864e5},d.functions={if:(e,t,r)=>e?t:r,msg(e){const[t,r,n,o,i]=this,s=i.messages;if(!s)return"";const a=l.template(t,s[0],e,r,n)||l.template(t,s[1],e,r,n);return a?a.render(t,r,n,o,i):""},number:e=>"number"==typeof e?e:"string"==typeof e?parseFloat(e):"boolean"==typeof e?e?1:0:e instanceof Date?e.getTime():null}},function(e,t,r){"use strict";const n=r(0),o=r(1),i=r(5),s={};t.schema=function(e,t,r={}){o.assertOptions(r,["appendPath","override"]);try{return s.schema(e,t,r)}catch(e){throw r.appendPath&&void 0!==e.path&&(e.message="".concat(e.message," (").concat(e.path,")")),e}},s.schema=function(e,t,r){n(void 0!==t,"Invalid undefined schema"),Array.isArray(t)&&(n(t.length,"Invalid empty array schema"),1===t.length&&(t=t[0]));const i=(t,...n)=>!1!==r.override?t.valid(e.override,...n):t.valid(...n);if(s.simple(t))return i(e,t);if("function"==typeof t)return e.custom(t);if(n("object"==typeof t,"Invalid schema content:",typeof t),o.isResolvable(t))return i(e,t);if(o.isSchema(t))return t;if(Array.isArray(t)){for(const r of t)if(!s.simple(r))return e.alternatives().try(...t);return i(e,...t)}return t instanceof RegExp?e.string().regex(t):t instanceof Date?i(e.date(),t):(n(Object.getPrototypeOf(t)===Object.getPrototypeOf({}),"Schema can only contain plain objects"),e.object().keys(t))},t.ref=function(e,t){return i.isRef(e)?e:i.create(e,t)},t.compile=function(e,r,i={}){o.assertOptions(i,["legacy"]);const a=r&&r[o.symbols.any];if(a)return n(i.legacy||a.version===o.version,"Cannot mix different versions of joi schemas:",a.version,o.version),r;if("object"!=typeof r||!i.legacy)return t.schema(e,r,{appendPath:!0});const c=s.walk(r);return c?c.compile(c.root,r):t.schema(e,r,{appendPath:!0})},s.walk=function(e){if("object"!=typeof e)return null;if(Array.isArray(e)){for(const t of e){const e=s.walk(t);if(e)return e}return null}const t=e[o.symbols.any];if(t)return{root:e[t.root],compile:t.compile};n(Object.getPrototypeOf(e)===Object.getPrototypeOf({}),"Schema can only contain plain objects");for(const t in e){const r=s.walk(e[t]);if(r)return r}return null},s.simple=function(e){return null===e||["boolean","string","number"].includes(typeof e)},t.when=function(e,r,a){if(void 0===a&&(n(r&&"object"==typeof r,"Missing options"),a=r,r=i.create(".")),Array.isArray(a)&&(a={switch:a}),o.assertOptions(a,["is","not","then","otherwise","switch","break"]),o.isSchema(r))return n(void 0===a.is,'"is" can not be used with a schema condition'),n(void 0===a.not,'"not" can not be used with a schema condition'),n(void 0===a.switch,'"switch" can not be used with a schema condition'),s.condition(e,{is:r,then:a.then,otherwise:a.otherwise,break:a.break});if(n(i.isRef(r)||"string"==typeof r,"Invalid condition:",r),n(void 0===a.not||void 0===a.is,'Cannot combine "is" with "not"'),void 0===a.switch){let c=a;void 0!==a.not&&(c={is:a.not,then:a.otherwise,otherwise:a.then,break:a.break});let u=void 0!==c.is?e.$_compile(c.is):e.$_root.invalid(null,!1,0,"").required();return n(void 0!==c.then||void 0!==c.otherwise,'options must have at least one of "then", "otherwise", or "switch"'),n(void 0===c.break||void 0===c.then||void 0===c.otherwise,"Cannot specify then, otherwise, and break all together"),void 0===a.is||i.isRef(a.is)||o.isSchema(a.is)||(u=u.required()),s.condition(e,{ref:t.ref(r),is:u,then:c.then,otherwise:c.otherwise,break:c.break})}n(Array.isArray(a.switch),'"switch" must be an array'),n(void 0===a.is,'Cannot combine "switch" with "is"'),n(void 0===a.not,'Cannot combine "switch" with "not"'),n(void 0===a.then,'Cannot combine "switch" with "then"');const c={ref:t.ref(r),switch:[],break:a.break};for(let t=0;t=0;--r)if(i[r].isSame(e,t))return!0;i.push(new o.SeenEntry(e,t));try{return!!o.isDeepEqualObj(a,e,t,r,i)}finally{i.pop()}},o.getSharedType=function(e,t,r){if(r)return Object.getPrototypeOf(e)!==Object.getPrototypeOf(t)?o.mismatched:n.getInternalProto(e);const i=n.getInternalProto(e);return i!==n.getInternalProto(t)?o.mismatched:i},o.valueOf=function(e){const t=e.valueOf;if(void 0===t)return e;try{return t.call(e)}catch(e){return e}},o.hasOwnEnumerableProperty=function(e,t){return Object.prototype.propertyIsEnumerable.call(e,t)},o.isSetSimpleEqual=function(e,t){for(const r of Set.prototype.values.call(e))if(!Set.prototype.has.call(t,r))return!1;return!0},o.isDeepEqualObj=function(e,t,r,i,s){const{isDeepEqual:a,valueOf:c,hasOwnEnumerableProperty:u}=o,{keys:l,getOwnPropertySymbols:f}=Object;if(e===n.array){if(!i.part){if(t.length!==r.length)return!1;for(let e=0;eg.assert(e,t,!1,r),build(e){return n("function"==typeof l.build,"Manifest functionality disabled"),l.build(this,e)},checkPreferences(e){s.checkPreferences(e)},compile(e,t){return a.compile(this,e,t)},defaults(e){n("function"==typeof e,"modifier must be a function");const t=Object.assign({},this);for(const r of t._types){const o=e(t[r]());n(s.isSchema(o),"modifier must return a valid schema object"),t[r]=function(...e){return g.generate(this,o,e)}}return t},expression:(...e)=>new d(...e),extend(...e){s.verifyFlat(e,"extend"),p=p||r(16),n(e.length,"You need to provide at least one extension"),this.assert(e,p.extensions);const t=Object.assign({},this);t._types=new Set(t._types);for(let r of e){"function"==typeof r&&(r=r(t)),this.assert(r,p.extension);const e=g.expandExtension(r,t);for(const r of e){n(void 0===t[r.type]||t._types.has(r.type),"Cannot override name",r.type);const e=r.base||this.any(),o=u.type(e,r);t._types.add(r.type),t[r.type]=function(...e){return g.generate(this,o,e)}}}return t},isError:c.ValidationError.isError,isExpression:d.isTemplate,isRef:f.isRef,isSchema:s.isSchema,in:(...e)=>f.in(...e),override:s.symbols.override,ref:(...e)=>f.create(...e),types(){const e={};for(const t of this._types)e[t]=this[t]();for(const t in g.aliases)e[t]=this[t]();return e}},g.assert=function(e,t,r,n){const i=n[0]instanceof Error||"string"==typeof n[0]?n[0]:null,a=i?n[1]:n[0],u=t.validate(e,s.preferences({errors:{stack:!0}},a||{}));let l=u.error;if(!l)return u.value;if(i instanceof Error)throw i;const f=r&&"function"==typeof l.annotate?l.annotate():l.message;throw l instanceof c.ValidationError==0&&(l=o(l)),l.message=i?"".concat(i," ").concat(f):f,l},g.generate=function(e,t,r){return n(e,"Must be invoked on a Joi instance."),t.$_root=e,t._definition.args&&r.length?t._definition.args(t,...r):t},g.expandExtension=function(e,t){if("string"==typeof e.type)return[e];const r=[];for(const n of t._types)if(e.type.test(n)){const o=Object.assign({},e);o.type=n,o.base=t[n](),r.push(o)}return r},e.exports=g.root()},function(e,t,r){"use strict";const n=r(28);e.exports=class extends Error{constructor(e){super(e.filter(e=>""!==e).map(e=>"string"==typeof e?e:e instanceof Error?e.message:n(e)).join(" ")||"Unknown error"),"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,t.assert)}}},function(e,t,r){"use strict";const n={};t=e.exports={array:Array.prototype,buffer:!1,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype},n.typeMap=new Map([["[object Error]",t.error],["[object Map]",t.map],["[object Promise]",t.promise],["[object Set]",t.set],["[object WeakMap]",t.weakMap],["[object WeakSet]",t.weakSet]]),t.getInternalProto=function(e){if(Array.isArray(e))return t.array;if(e instanceof Date)return t.date;if(e instanceof RegExp)return t.regex;if(e instanceof Error)return t.error;const r=Object.prototype.toString.call(e);return n.typeMap.get(r)||t.generic}},function(e,t,r){"use strict";t.keys=function(e,t={}){return!1!==t.symbols?Reflect.ownKeys(e):Object.getOwnPropertyNames(e)}},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(1),s={max:1e3,supported:new Set(["undefined","boolean","number","string"])};t.provider={provision:e=>new s.Cache(e)},s.Cache=class{constructor(e={}){i.assertOptions(e,["max"]),n(void 0===e.max||e.max&&e.max>0&&isFinite(e.max),"Invalid max cache size"),this._max=e.max||s.max,this._map=new Map,this._list=new s.List}get length(){return this._map.size}set(e,t){if(null!==e&&!s.supported.has(typeof e))return;let r=this._map.get(e);if(r)return r.value=t,void this._list.first(r);r=this._list.unshift({key:e,value:t}),this._map.set(e,r),this._compact()}get(e){const t=this._map.get(e);if(t)return this._list.first(t),o(t.value)}_compact(){if(this._map.size>this._max){const e=this._list.pop();this._map.delete(e.key)}}},s.List=class{constructor(){this.tail=null,this.head=null}unshift(e){return e.next=null,e.prev=this.head,this.head&&(this.head.next=e),this.head=e,this.tail||(this.tail=e),e}first(e){e!==this.head&&(this._remove(e),this.unshift(e))}pop(){return this._remove(this.tail)}_remove(e){const{next:t,prev:r}=e;return t.prev=r,r&&(r.next=t),e===this.tail&&(this.tail=t),e.prev=null,e.next=null,e}}},function(e,t,r){"use strict";const n=r(11),o={};o.wrap=n.string().min(1).max(2).allow(!1),t.preferences=n.object({allowUnknown:n.boolean(),abortEarly:n.boolean(),artifacts:n.boolean(),cache:n.boolean(),context:n.object(),convert:n.boolean(),dateFormat:n.valid("date","iso","string","time","utc"),debug:n.boolean(),errors:{escapeHtml:n.boolean(),label:n.valid("path","key",!1),language:[n.string(),n.object().ref()],render:n.boolean(),stack:n.boolean(),wrap:{label:o.wrap,array:o.wrap}},externals:n.boolean(),messages:n.object(),noDefaults:n.boolean(),nonEnumerables:n.boolean(),presence:n.valid("required","optional","forbidden"),skipFunctions:n.boolean(),stripUnknown:n.object({arrays:n.boolean(),objects:n.boolean()}).or("arrays","objects").allow(!0,!1),warnings:n.boolean()}).strict(),o.nameRx=/^[a-zA-Z0-9]\w*$/,o.rule=n.object({alias:n.array().items(n.string().pattern(o.nameRx)).single(),args:n.array().items(n.string(),n.object({name:n.string().pattern(o.nameRx).required(),ref:n.boolean(),assert:n.alternatives([n.function(),n.object().schema()]).conditional("ref",{is:!0,then:n.required()}),normalize:n.function(),message:n.string().when("assert",{is:n.function(),then:n.required()})})),convert:n.boolean(),manifest:n.boolean(),method:n.function().allow(!1),multi:n.boolean(),validate:n.function()}),t.extension=n.object({type:n.alternatives([n.string(),n.object().regex()]).required(),args:n.function(),cast:n.object().pattern(o.nameRx,n.object({from:n.function().maxArity(1).required(),to:n.function().minArity(1).maxArity(2).required()})),base:n.object().schema().when("type",{is:n.object().regex(),then:n.forbidden()}),coerce:[n.function().maxArity(3),n.object({method:n.function().maxArity(3).required(),from:n.array().items(n.string()).single()})],flags:n.object().pattern(o.nameRx,n.object({setter:n.string(),default:n.any()})),manifest:{build:n.function().arity(2)},messages:[n.object(),n.string()],modifiers:n.object().pattern(o.nameRx,n.function().minArity(1).maxArity(2)),overrides:n.object().pattern(o.nameRx,n.function()),prepare:n.function().maxArity(3),rebuild:n.function().arity(1),rules:n.object().pattern(o.nameRx,o.rule),terms:n.object().pattern(o.nameRx,n.object({init:n.array().allow(null).required(),manifest:n.object().pattern(/.+/,[n.valid("schema","single"),n.object({mapped:n.object({from:n.string().required(),to:n.string().required()}).required()})])})),validate:n.function().maxArity(3)}).strict(),t.extensions=n.array().items(n.object(),n.function().arity(1)).strict(),o.desc={buffer:n.object({buffer:n.string()}),func:n.object({function:n.function().required(),options:{literal:!0}}),override:n.object({override:!0}),ref:n.object({ref:n.object({type:n.valid("value","global","local"),path:n.array().required(),separator:n.string().length(1).allow(!1),ancestor:n.number().min(0).integer().allow("root"),map:n.array().items(n.array().length(2)).min(1),adjust:n.function(),iterables:n.boolean(),in:n.boolean(),render:n.boolean()}).required()}),regex:n.object({regex:n.string().min(3)}),special:n.object({special:n.valid("deep").required()}),template:n.object({template:n.string().required(),options:n.object()}),value:n.object({value:n.alternatives([n.object(),n.array()]).required()})},o.desc.entity=n.alternatives([n.array().items(n.link("...")),n.boolean(),n.function(),n.number(),n.string(),o.desc.buffer,o.desc.func,o.desc.ref,o.desc.regex,o.desc.special,o.desc.template,o.desc.value,n.link("/")]),o.desc.values=n.array().items(null,n.boolean(),n.function(),n.number().allow(1/0,-1/0),n.string().allow(""),n.symbol(),o.desc.buffer,o.desc.func,o.desc.override,o.desc.ref,o.desc.regex,o.desc.template,o.desc.value),o.desc.messages=n.object().pattern(/.+/,[n.string(),o.desc.template,n.object().pattern(/.+/,[n.string(),o.desc.template])]),t.description=n.object({type:n.string().required(),flags:n.object({cast:n.string(),default:n.any(),description:n.string(),empty:n.link("/"),failover:o.desc.entity,id:n.string(),label:n.string(),only:!0,presence:["optional","required","forbidden"],result:["raw","strip"],strip:n.boolean(),unit:n.string()}).unknown(),preferences:{allowUnknown:n.boolean(),abortEarly:n.boolean(),artifacts:n.boolean(),cache:n.boolean(),convert:n.boolean(),dateFormat:["date","iso","string","time","utc"],errors:{escapeHtml:n.boolean(),label:["path","key"],language:[n.string(),o.desc.ref],wrap:{label:o.wrap,array:o.wrap}},externals:n.boolean(),messages:o.desc.messages,noDefaults:n.boolean(),nonEnumerables:n.boolean(),presence:["required","optional","forbidden"],skipFunctions:n.boolean(),stripUnknown:n.object({arrays:n.boolean(),objects:n.boolean()}).or("arrays","objects").allow(!0,!1),warnings:n.boolean()},allow:o.desc.values,invalid:o.desc.values,rules:n.array().min(1).items({name:n.string().required(),args:n.object().min(1),keep:n.boolean(),message:[n.string(),o.desc.messages],warn:n.boolean()}),keys:n.object().pattern(/.*/,n.link("/")),link:o.desc.ref}).pattern(/^[a-z]\w*$/,n.any())},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(1),s=r(9),a={};t.type=function(e,t){const r=Object.getPrototypeOf(e),c=o(r),u=e._assign(Object.create(c)),l=Object.assign({},t);delete l.base,c._definition=l;const f=r._definition||{};l.messages=s.merge(f.messages,l.messages),l.properties=Object.assign({},f.properties,l.properties),u.type=l.type,l.flags=Object.assign({},f.flags,l.flags);const d=Object.assign({},f.terms);if(l.terms)for(const e in l.terms){const t=l.terms[e];n(void 0===u.$_terms[e],"Invalid term override for",l.type,e),u.$_terms[e]=t.init,d[e]=t}l.terms=d,l.args||(l.args=f.args),l.prepare=a.prepare(l.prepare,f.prepare),l.coerce&&("function"==typeof l.coerce&&(l.coerce={method:l.coerce}),l.coerce.from&&!Array.isArray(l.coerce.from)&&(l.coerce={method:l.coerce.method,from:[].concat(l.coerce.from)})),l.coerce=a.coerce(l.coerce,f.coerce),l.validate=a.validate(l.validate,f.validate);const h=Object.assign({},f.rules);if(l.rules)for(const e in l.rules){const t=l.rules[e];n("object"==typeof t,"Invalid rule definition for",l.type,e);let r=t.method;if(void 0===r&&(r=function(){return this.$_addRule(e)}),r&&(n(!c[e],"Rule conflict in",l.type,e),c[e]=r),n(!h[e],"Rule conflict in",l.type,e),h[e]=t,t.alias){const e=[].concat(t.alias);for(const r of e)c[r]=t.method}t.args&&(t.argsByName=new Map,t.args=t.args.map(e=>("string"==typeof e&&(e={name:e}),n(!t.argsByName.has(e.name),"Duplicated argument name",e.name),i.isSchema(e.assert)&&(e.assert=e.assert.strict().label(e.name)),t.argsByName.set(e.name,e),e)))}l.rules=h;const p=Object.assign({},f.modifiers);if(l.modifiers)for(const e in l.modifiers){n(!c[e],"Rule conflict in",l.type,e);const t=l.modifiers[e];n("function"==typeof t,"Invalid modifier definition for",l.type,e);const r=function(t){return this.rule({[e]:t})};c[e]=r,p[e]=t}if(l.modifiers=p,l.overrides){c._super=r,u.$_super={};for(const e in l.overrides)n(r[e],"Cannot override missing",e),l.overrides[e][i.symbols.parent]=r[e],u.$_super[e]=r[e].bind(u);Object.assign(c,l.overrides)}l.cast=Object.assign({},f.cast,l.cast);const g=Object.assign({},f.manifest,l.manifest);return g.build=a.build(l.manifest&&l.manifest.build,f.manifest&&f.manifest.build),l.manifest=g,l.rebuild=a.rebuild(l.rebuild,f.rebuild),u},a.build=function(e,t){return e&&t?function(r,n){return t(e(r,n),n)}:e||t},a.coerce=function(e,t){return e&&t?{from:e.from&&t.from?[...new Set([...e.from,...t.from])]:null,method(r,n){let o;if((!t.from||t.from.includes(typeof r))&&(o=t.method(r,n),o)){if(o.errors||void 0===o.value)return o;r=o.value}if(!e.from||e.from.includes(typeof r)){const t=e.method(r,n);if(t)return t}return o}}:e||t},a.prepare=function(e,t){return e&&t?function(r,n){const o=e(r,n);if(o){if(o.errors||void 0===o.value)return o;r=o.value}return t(r,n)||o}:e||t},a.rebuild=function(e,t){return e&&t?function(r){t(r),e(r)}:e||t},a.validate=function(e,t){return e&&t?function(r,n){const o=t(r,n);if(o){if(o.errors&&(!Array.isArray(o.errors)||o.errors.length))return o;r=o.value}return e(r,n)||o}:e||t}},function(e,t){},function(e,t){},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(14),s={};e.exports=s.merge=function(e,t,r){if(n(e&&"object"==typeof e,"Invalid target value: must be an object"),n(null==t||"object"==typeof t,"Invalid source value: must be null, undefined, or an object"),!t)return e;if(r=Object.assign({nullOverride:!0,mergeArrays:!0},r),Array.isArray(t)){n(Array.isArray(e),"Cannot merge array onto an object"),r.mergeArrays||(e.length=0);for(let n=0;ne.keys(t),validate(e,{schema:t,error:r,state:n,prefs:o}){if(!e||typeof e!==t.$_property("typeof")||Array.isArray(e))return{value:e,errors:r("object.base",{type:t.$_property("typeof")})};if(!(t.$_terms.renames||t.$_terms.dependencies||t.$_terms.keys||t.$_terms.patterns||t.$_terms.externals))return;e=h.clone(e,o);const i=[];if(t.$_terms.renames&&!h.rename(t,e,n,o,i))return{value:e,errors:i};if(!t.$_terms.keys&&!t.$_terms.patterns&&!t.$_terms.dependencies)return{value:e,errors:i};const s=new Set(Object.keys(e));if(t.$_terms.keys){const r=[e,...n.ancestors];for(const a of t.$_terms.keys){const t=a.key,c=e[t];s.delete(t);const u=n.localize([...n.path,t],r,a),l=a.schema.$_validate(c,u,o);if(l.errors){if(o.abortEarly)return{value:e,errors:l.errors};i.push(...l.errors)}else"strip"===a.schema._flags.result||void 0===l.value&&void 0!==c?delete e[t]:void 0!==l.value&&(e[t]=l.value)}}if(s.size||t._flags._hasPatternMatch){const r=h.unknown(t,e,s,i,n,o);if(r)return r}if(t.$_terms.dependencies)for(const r of t.$_terms.dependencies){if(r.key&&void 0===r.key.resolve(e,n,o,null,{shadow:!1}))continue;const s=h.dependencies[r.rel](t,r,e,n,o);if(s){const r=t.$_createError(s.code,e,s.context,n,o);if(o.abortEarly)return{value:e,errors:r};i.push(r)}}return{value:e,errors:i}},rules:{and:{method(...e){return c.verifyFlat(e,"and"),h.dependency(this,"and",null,e)}},append:{method(e){return null==e||0===Object.keys(e).length?this:this.keys(e)}},assert:{method(e,t,r){d.isTemplate(e)||(e=u.ref(e)),o(void 0===r||"string"==typeof r,"Message must be a string"),t=this.$_compile(t,{appendPath:!0});const n=this.$_addRule({name:"assert",args:{subject:e,schema:t,message:r}});return n.$_mutateRegister(e),n.$_mutateRegister(t),n},validate(e,{error:t,prefs:r,state:n},{subject:o,schema:i,message:s}){const a=o.resolve(e,n,r),c=f.isRef(o)?o.absolute(n):[];return i.$_match(a,n.localize(c,[e,...n.ancestors],i),r)?e:t("object.assert",{subject:o,message:s})},args:["subject","schema","message"],multi:!0},instance:{method(e,t){return o("function"==typeof e,"constructor must be a function"),t=t||e.name,this.$_addRule({name:"instance",args:{constructor:e,name:t}})},validate:(e,t,{constructor:r,name:n})=>e instanceof r?e:t.error("object.instance",{type:n,value:e}),args:["constructor","name"]},keys:{method(e){o(void 0===e||"object"==typeof e,"Object schema must be a valid object"),o(!c.isSchema(e),"Object schema cannot be a joi schema");const t=this.clone();if(e)if(Object.keys(e).length){t.$_terms.keys=t.$_terms.keys?t.$_terms.keys.filter(t=>!e.hasOwnProperty(t.key)):new h.Keys;for(const r in e)c.tryWithPath(()=>t.$_terms.keys.push({key:r,schema:this.$_compile(e[r])}),r)}else t.$_terms.keys=new h.Keys;else t.$_terms.keys=null;return t.$_mutateRebuild()}},length:{method(e){return this.$_addRule({name:"length",args:{limit:e},operator:"="})},validate:(e,t,{limit:r},{name:n,operator:o,args:i})=>c.compare(Object.keys(e).length,r,o)?e:t.error("object."+n,{limit:i.limit,value:e}),args:[{name:"limit",ref:!0,assert:c.limit,message:"must be a positive integer"}]},max:{method(e){return this.$_addRule({name:"max",method:"length",args:{limit:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"length",args:{limit:e},operator:">="})}},nand:{method(...e){return c.verifyFlat(e,"nand"),h.dependency(this,"nand",null,e)}},or:{method(...e){return c.verifyFlat(e,"or"),h.dependency(this,"or",null,e)}},oxor:{method(...e){return h.dependency(this,"oxor",null,e)}},pattern:{method(e,t,r={}){const n=e instanceof RegExp;n||(e=this.$_compile(e,{appendPath:!0})),o(void 0!==t,"Invalid rule"),c.assertOptions(r,["fallthrough","matches"]),n&&o(!e.flags.includes("g")&&!e.flags.includes("y"),"pattern should not use global or sticky mode"),t=this.$_compile(t,{appendPath:!0});const i=this.clone();i.$_terms.patterns=i.$_terms.patterns||[];const s={[n?"regex":"schema"]:e,rule:t};return r.matches&&(s.matches=this.$_compile(r.matches),"array"!==s.matches.type&&(s.matches=s.matches.$_root.array().items(s.matches)),i.$_mutateRegister(s.matches),i.$_setFlag("_hasPatternMatch",!0,{clone:!1})),r.fallthrough&&(s.fallthrough=!0),i.$_terms.patterns.push(s),i.$_mutateRegister(t),i}},ref:{method(){return this.$_addRule("ref")},validate:(e,t)=>f.isRef(e)?e:t.error("object.refType",{value:e})},regex:{method(){return this.$_addRule("regex")},validate:(e,t)=>e instanceof RegExp?e:t.error("object.regex",{value:e})},rename:{method(e,t,r={}){o("string"==typeof e||e instanceof RegExp,"Rename missing the from argument"),o("string"==typeof t||t instanceof d,"Invalid rename to argument"),o(t!==e,"Cannot rename key to same name:",e),c.assertOptions(r,["alias","ignoreUndefined","override","multiple"]);const i=this.clone();i.$_terms.renames=i.$_terms.renames||[];for(const t of i.$_terms.renames)o(t.from!==e,"Cannot rename the same key multiple times");return t instanceof d&&i.$_mutateRegister(t),i.$_terms.renames.push({from:e,to:t,options:n(h.renameDefaults,r)}),i}},schema:{method(e="any"){return this.$_addRule({name:"schema",args:{type:e}})},validate:(e,t,{type:r})=>!c.isSchema(e)||"any"!==r&&e.type!==r?t.error("object.schema",{type:r}):e},unknown:{method(e){return this.$_setFlag("unknown",!1!==e)}},with:{method(e,t,r={}){return h.dependency(this,"with",e,t,r)}},without:{method(e,t,r={}){return h.dependency(this,"without",e,t,r)}},xor:{method(...e){return c.verifyFlat(e,"xor"),h.dependency(this,"xor",null,e)}}},overrides:{default(e,t){return void 0===e&&(e=c.symbols.deepDefault),this.$_parent("default",e,t)}},rebuild(e){if(e.$_terms.keys){const t=new s.Sorter;for(const r of e.$_terms.keys)c.tryWithPath(()=>t.add(r,{after:r.schema.$_rootReferences(),group:r.key}),r.key);e.$_terms.keys=new h.Keys(...t.nodes)}},manifest:{build(e,t){if(t.keys&&(e=e.keys(t.keys)),t.dependencies)for(const{rel:r,key:n=null,peers:o,options:i}of t.dependencies)e=h.dependency(e,r,n,o,i);if(t.patterns)for(const{regex:r,schema:n,rule:o,fallthrough:i,matches:s}of t.patterns)e=e.pattern(r||n,o,{fallthrough:i,matches:s});if(t.renames)for(const{from:r,to:n,options:o}of t.renames)e=e.rename(r,n,o);return e}},messages:{"object.and":"{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}","object.assert":'{{#label}} is invalid because {if(#subject.key, `"` + #subject.key + `" failed to ` + (#message || "pass the assertion test"), #message || "the assertion failed")}',"object.base":"{{#label}} must be of type {{#type}}","object.instance":"{{#label}} must be an instance of {{:#type}}","object.length":'{{#label}} must have {{#limit}} key{if(#limit == 1, "", "s")}',"object.max":'{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, "", "s")}',"object.min":'{{#label}} must have at least {{#limit}} key{if(#limit == 1, "", "s")}',"object.missing":"{{#label}} must contain at least one of {{#peersWithLabels}}","object.nand":"{{:#mainWithLabel}} must not exist simultaneously with {{#peersWithLabels}}","object.oxor":"{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}","object.pattern.match":"{{#label}} keys failed to match pattern requirements","object.refType":"{{#label}} must be a Joi reference","object.regex":"{{#label}} must be a RegExp object","object.rename.multiple":"{{#label}} cannot rename {{:#from}} because multiple renames are disabled and another key was already renamed to {{:#to}}","object.rename.override":"{{#label}} cannot rename {{:#from}} because override is disabled and target {{:#to}} exists","object.schema":"{{#label}} must be a Joi schema of {{#type}} type","object.unknown":"{{#label}} is not allowed","object.with":"{{:#mainWithLabel}} missing required peer {{:#peerWithLabel}}","object.without":"{{:#mainWithLabel}} conflict with forbidden peer {{:#peerWithLabel}}","object.xor":"{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}"}}),h.clone=function(e,t){if("object"==typeof e){if(t.nonEnumerables)return i(e,{shallow:!0});const r=Object.create(Object.getPrototypeOf(e));return Object.assign(r,e),r}const r=function(...t){return e.apply(this,t)};return r.prototype=i(e.prototype),Object.defineProperty(r,"name",{value:e.name,writable:!1}),Object.defineProperty(r,"length",{value:e.length,writable:!1}),Object.assign(r,e),r},h.dependency=function(e,t,r,n,i){o(null===r||"string"==typeof r,t,"key must be a strings"),i||(i=n.length>1&&"object"==typeof n[n.length-1]?n.pop():{}),c.assertOptions(i,["separator"]),n=[].concat(n);const s=c.default(i.separator,"."),a=[];for(const e of n)o("string"==typeof e,t,"peers must be a string or a reference"),a.push(u.ref(e,{separator:s,ancestor:0,prefix:!1}));null!==r&&(r=u.ref(r,{separator:s,ancestor:0,prefix:!1}));const l=e.clone();return l.$_terms.dependencies=l.$_terms.dependencies||[],l.$_terms.dependencies.push(new h.Dependency(t,r,a,n)),l},h.dependencies={and(e,t,r,n,o){const i=[],s=[],a=t.peers.length;for(const e of t.peers)void 0===e.resolve(r,n,o,null,{shadow:!1})?i.push(e.key):s.push(e.key);if(i.length!==a&&s.length!==a)return{code:"object.and",context:{present:s,presentWithLabels:h.keysToLabels(e,s),missing:i,missingWithLabels:h.keysToLabels(e,i)}}},nand(e,t,r,n,o){const i=[];for(const e of t.peers)void 0!==e.resolve(r,n,o,null,{shadow:!1})&&i.push(e.key);if(i.length!==t.peers.length)return;const s=t.paths[0],a=t.paths.slice(1);return{code:"object.nand",context:{main:s,mainWithLabel:h.keysToLabels(e,s),peers:a,peersWithLabels:h.keysToLabels(e,a)}}},or(e,t,r,n,o){for(const e of t.peers)if(void 0!==e.resolve(r,n,o,null,{shadow:!1}))return;return{code:"object.missing",context:{peers:t.paths,peersWithLabels:h.keysToLabels(e,t.paths)}}},oxor(e,t,r,n,o){const i=[];for(const e of t.peers)void 0!==e.resolve(r,n,o,null,{shadow:!1})&&i.push(e.key);if(!i.length||1===i.length)return;const s={peers:t.paths,peersWithLabels:h.keysToLabels(e,t.paths)};return s.present=i,s.presentWithLabels=h.keysToLabels(e,i),{code:"object.oxor",context:s}},with(e,t,r,n,o){for(const i of t.peers)if(void 0===i.resolve(r,n,o,null,{shadow:!1}))return{code:"object.with",context:{main:t.key.key,mainWithLabel:h.keysToLabels(e,t.key.key),peer:i.key,peerWithLabel:h.keysToLabels(e,i.key)}}},without(e,t,r,n,o){for(const i of t.peers)if(void 0!==i.resolve(r,n,o,null,{shadow:!1}))return{code:"object.without",context:{main:t.key.key,mainWithLabel:h.keysToLabels(e,t.key.key),peer:i.key,peerWithLabel:h.keysToLabels(e,i.key)}}},xor(e,t,r,n,o){const i=[];for(const e of t.peers)void 0!==e.resolve(r,n,o,null,{shadow:!1})&&i.push(e.key);if(1===i.length)return;const s={peers:t.paths,peersWithLabels:h.keysToLabels(e,t.paths)};return 0===i.length?{code:"object.missing",context:s}:(s.present=i,s.presentWithLabels=h.keysToLabels(e,i),{code:"object.xor",context:s})}},h.keysToLabels=function(e,t){return Array.isArray(t)?t.map(t=>e.$_mapLabels(t)):e.$_mapLabels(t)},h.rename=function(e,t,r,n,o){const i={};for(const s of e.$_terms.renames){const a=[],c="string"!=typeof s.from;if(c)for(const e in t){if(void 0===t[e]&&s.options.ignoreUndefined)continue;if(e===s.to)continue;const r=s.from.exec(e);r&&a.push({from:e,to:s.to,match:r})}else!Object.prototype.hasOwnProperty.call(t,s.from)||void 0===t[s.from]&&s.options.ignoreUndefined||a.push(s);for(const u of a){const a=u.from;let l=u.to;if(l instanceof d&&(l=l.render(t,r,n,u.match)),a!==l){if(!s.options.multiple&&i[l]&&(o.push(e.$_createError("object.rename.multiple",t,{from:a,to:l,pattern:c},r,n)),n.abortEarly))return!1;if(Object.prototype.hasOwnProperty.call(t,l)&&!s.options.override&&!i[l]&&(o.push(e.$_createError("object.rename.override",t,{from:a,to:l,pattern:c},r,n)),n.abortEarly))return!1;void 0===t[a]?delete t[l]:t[l]=t[a],i[l]=!0,s.options.alias||delete t[a]}}}return!0},h.unknown=function(e,t,r,n,o,i){if(e.$_terms.patterns){let s=!1;const a=e.$_terms.patterns.map(e=>{if(e.matches)return s=!0,[]}),c=[t,...o.ancestors];for(const s of r){const u=t[s],l=[...o.path,s];for(let f=0;f256)return o.code("DOMAIN_TOO_LONG");if(i.nonAsciiRx.test(e)){if(!1===t.allowUnicode)return o.code("DOMAIN_INVALID_UNICODE_CHARS");e=e.normalize("NFC")}if(i.domainControlRx.test(e))return o.code("DOMAIN_INVALID_CHARS");e=i.punycode(e);const r=t.minDomainSegments||i.minDomainSegments,n=e.split(".");if(n.lengtht.maxDomainSegments)return o.code("DOMAIN_SEGMENTS_COUNT_MAX");const s=t.tlds;if(s){const e=n[n.length-1].toLowerCase();if(s.deny&&s.deny.has(e)||s.allow&&!s.allow.has(e))return o.code("DOMAIN_FORBIDDEN_TLDS")}for(let e=0;e63)return o.code("DOMAIN_LONG_SEGMENT");if(e=1,"scheme must have at least 1 scheme specified");const i=[];for(let e=0;e=256)return"&#"+e+";";const r=e.toString(16).padStart(2,"0");return"&#x".concat(r,";")},n.isSafe=function(e){return void 0!==n.safeCharCodes[e]},n.namedHtml={38:"&",60:"<",62:">",34:""",160:" ",162:"¢",163:"£",164:"¤",169:"©",174:"®"},n.safeCharCodes=function(){const e={};for(let t=32;t<123;++t)(t>=97||t>=65&&t<=90||t>=48&&t<=57||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()},function(e,t,r){"use strict";const n={operators:["!","^","*","/","%","+","-","<","<=",">",">=","==","!=","&&","||","??"],operatorCharacters:["!","^","*","/","%","+","-","<","=",">","&","|","?"],operatorsOrder:[["^"],["*","/","%"],["+","-"],["<","<=",">",">="],["==","!="],["&&"],["||","??"]],operatorsPrefix:["!","n"],literals:{'"':'"',"`":"`","'":"'","[":"]"},numberRx:/^(?:[0-9]*\.?[0-9]*){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol("formula"),settings:Symbol("settings")};t.Parser=class{constructor(e,t={}){if(!t[n.settings]&&t.constants)for(const e in t.constants){const r=t.constants[e];if(null!==r&&!["boolean","number","string"].includes(typeof r))throw new Error("Formula constant ".concat(e," contains invalid ").concat(typeof r," value type"))}this.settings=t[n.settings]?t:Object.assign({[n.settings]:!0,constants:{},functions:{}},t),this.single=null,this._parts=null,this._parse(e)}_parse(e){let r=[],o="",i=0,s=!1;const a=e=>{if(i)throw new Error("Formula missing closing parenthesis");const a=r.length?r[r.length-1]:null;if(s||o||e){if(a&&"reference"===a.type&&")"===e)return a.type="function",a.value=this._subFormula(o,a.value),void(o="");if(")"===e){const e=new t.Parser(o,this.settings);r.push({type:"segment",value:e})}else if(s){if("]"===s)return r.push({type:"reference",value:o}),void(o="");r.push({type:"literal",value:o})}else if(n.operatorCharacters.includes(o))a&&"operator"===a.type&&n.operators.includes(a.value+o)?a.value+=o:r.push({type:"operator",value:o});else if(o.match(n.numberRx))r.push({type:"constant",value:parseFloat(o)});else if(void 0!==this.settings.constants[o])r.push({type:"constant",value:this.settings.constants[o]});else{if(!o.match(n.tokenRx))throw new Error("Formula contains invalid token: ".concat(o));r.push({type:"reference",value:o})}o=""}};for(const t of e)s?t===s?(a(),s=!1):o+=t:i?"("===t?(o+=t,++i):")"===t?(--i,i?o+=t:a(t)):o+=t:t in n.literals?s=n.literals[t]:"("===t?(a(),++i):n.operatorCharacters.includes(t)?(a(),o=t,a()):" "!==t?o+=t:a();a(),r=r.map((e,t)=>"operator"!==e.type||"-"!==e.value||t&&"operator"!==r[t-1].type?e:{type:"operator",value:"n"});let c=!1;for(const e of r){if("operator"===e.type){if(n.operatorsPrefix.includes(e.value))continue;if(!c)throw new Error("Formula contains an operator in invalid position");if(!n.operators.includes(e.value))throw new Error("Formula contains an unknown operator ".concat(e.value))}else if(c)throw new Error("Formula missing expected operator");c=!c}if(!c)throw new Error("Formula contains invalid trailing operator");1===r.length&&["reference","literal","constant"].includes(r[0].type)&&(this.single={type:"reference"===r[0].type?"reference":"value",value:r[0].value}),this._parts=r.map(e=>{if("operator"===e.type)return n.operatorsPrefix.includes(e.value)?e:e.value;if("reference"!==e.type)return e.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(e.value))throw new Error("Formula contains invalid reference ".concat(e.value));return this.settings.reference?this.settings.reference(e.value):n.reference(e.value)})}_subFormula(e,r){const o=this.settings.functions[r];if("function"!=typeof o)throw new Error("Formula contains unknown function ".concat(r));let i=[];if(e){let t="",o=0,s=!1;const a=()=>{if(!t)throw new Error("Formula contains function ".concat(r," with invalid arguments ").concat(e));i.push(t),t=""};for(let r=0;rnew t.Parser(e,this.settings)),function(e){const t=[];for(const r of i)t.push(r.evaluate(e));return o.call(e,...t)}}evaluate(e){const t=this._parts.slice();for(let r=t.length-2;r>=0;--r){const o=t[r];if(o&&"operator"===o.type){const i=t[r+1];t.splice(r+1,1);const s=n.evaluate(i,e);t[r]=n.single(o.value,s)}}return n.operatorsOrder.forEach(r=>{for(let o=1;o":return t>r;case">=":return t>=r;case"==":return t===r;case"!=":return t!==r;case"&&":return t&&r;case"||":return t||r}return null},n.exists=function(e){return null!=e}},function(e,t){},function(e,t,r){"use strict";const n=r(0),o=r(3),i=r(1),s=r(8),a=r(4),c=r(5),u={};e.exports=o.extend({type:"alternatives",flags:{match:{default:"any"}},terms:{matches:{init:[],register:c.toSibling}},args:(e,...t)=>1===t.length&&Array.isArray(t[0])?e.try(...t[0]):e.try(...t),validate(e,t){const{schema:r,error:n,state:o,prefs:i}=t;if(r._flags.match){let t,s=0;for(let n=0;n"is"!==r.path[0]?t.label(e):void 0,ref:!1})}},rebuild(e){e.$_modify({each:t=>{i.isSchema(t)&&"array"===t.type&&e.$_setFlag("_arrayItems",!0,{clone:!1})}})},manifest:{build(e,t){if(t.matches)for(const r of t.matches){const{schema:t,ref:n,is:o,not:i,then:s,otherwise:a}=r;e=t?e.try(t):n?e.conditional(n,{is:o,then:s,not:i,otherwise:a,switch:r.switch}):e.conditional(o,{then:s,otherwise:a})}return e}},messages:{"alternatives.all":"{{#label}} does not match all of the required types","alternatives.any":"{{#label}} does not match any of the allowed types","alternatives.match":"{{#label}} does not match any of the allowed types","alternatives.one":"{{#label}} matches more than one allowed type","alternatives.types":"{{#label}} must be one of {{#types}}"}}),u.errors=function(e,{error:t,state:r}){if(!e.length)return{errors:t("alternatives.any")};if(1===e.length)return{errors:e[0].reports};const n=new Set,o=[];for(const{reports:i,schema:s}of e){if(i.length>1)return u.unmatched(e,t);const c=i[0];if(c instanceof a.Report==0)return u.unmatched(e,t);if(c.state.path.length!==r.path.length){o.push({type:s.type,report:c});continue}if("any.only"===c.code){for(const e of c.local.valids)n.add(e);continue}const[l,f]=c.code.split(".");"base"===f?n.add(l):o.push({type:s.type,report:c})}return o.length?1===o.length?{errors:o[0].report}:u.unmatched(e,t):{errors:t("alternatives.types",{types:[...n]})}},u.unmatched=function(e,t){const r=[];for(const t of e)r.push(...t.reports);return{errors:t("alternatives.match",a.details(r,{override:!1}))}}},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(10),s=r(20),a=r(15),c=r(1),u=r(8),l=r(4),f=r(17),d=r(18),h=r(9),p=r(35),g=r(5),m=r(19),y=r(36),b=r(21),v={Base:class{constructor(e){this.type=e,this.$_root=null,this._definition={},this._reset()}_reset(){this._ids=new p.Ids,this._preferences=null,this._refs=new g.Manager,this._cache=null,this._valids=null,this._invalids=null,this._flags={},this._rules=[],this._singleRules=new Map,this.$_terms={},this.$_temp={ruleset:null,whens:{}}}describe(){return n("function"==typeof d.describe,"Manifest functionality disabled"),d.describe(this)}allow(...e){return c.verifyFlat(e,"allow"),this._values(e,"_valids")}alter(e){n(e&&"object"==typeof e&&!Array.isArray(e),"Invalid targets argument"),n(!this._inRuleset(),"Cannot set alterations inside a ruleset");const t=this.clone();t.$_terms.alterations=t.$_terms.alterations||[];for(const r in e){const o=e[r];n("function"==typeof o,"Alteration adjuster for",r,"must be a function"),t.$_terms.alterations.push({target:r,adjuster:o})}return t.$_temp.ruleset=!1,t}artifact(e){return n(void 0!==e,"Artifact cannot be undefined"),n(!this._cache,"Cannot set an artifact with a rule cache"),this.$_setFlag("artifact",e)}cast(e){return n(!1===e||"string"==typeof e,"Invalid to value"),n(!1===e||this._definition.cast[e],"Type",this.type,"does not support casting to",e),this.$_setFlag("cast",!1===e?void 0:e)}default(e,t){return this._default("default",e,t)}description(e){return n(e&&"string"==typeof e,"Description must be a non-empty string"),this.$_setFlag("description",e)}empty(e){const t=this.clone();return void 0!==e&&(e=t.$_compile(e,{override:!1})),t.$_setFlag("empty",e,{clone:!1})}error(e){return n(e,"Missing error"),n(e instanceof Error||"function"==typeof e,"Must provide a valid Error object or a function"),this.$_setFlag("error",e)}example(e,t={}){return n(void 0!==e,"Missing example"),c.assertOptions(t,["override"]),this._inner("examples",e,{single:!0,override:t.override})}external(e,t){return"object"==typeof e&&(n(!t,"Cannot combine options with description"),t=e.description,e=e.method),n("function"==typeof e,"Method must be a function"),n(void 0===t||t&&"string"==typeof t,"Description must be a non-empty string"),this._inner("externals",{method:e,description:t},{single:!0})}failover(e,t){return this._default("failover",e,t)}forbidden(){return this.presence("forbidden")}id(e){return e?(n("string"==typeof e,"id must be a non-empty string"),n(/^[^\.]+$/.test(e),"id cannot contain period character"),this.$_setFlag("id",e)):this.$_setFlag("id",void 0)}invalid(...e){return this._values(e,"_invalids")}label(e){return n(e&&"string"==typeof e,"Label name must be a non-empty string"),this.$_setFlag("label",e)}meta(e){return n(void 0!==e,"Meta cannot be undefined"),this._inner("metas",e,{single:!0})}note(...e){n(e.length,"Missing notes");for(const t of e)n(t&&"string"==typeof t,"Notes must be non-empty strings");return this._inner("notes",e)}only(e=!0){return n("boolean"==typeof e,"Invalid mode:",e),this.$_setFlag("only",e)}optional(){return this.presence("optional")}prefs(e){n(e,"Missing preferences"),n(void 0===e.context,"Cannot override context"),n(void 0===e.externals,"Cannot override externals"),n(void 0===e.warnings,"Cannot override warnings"),n(void 0===e.debug,"Cannot override debug"),c.checkPreferences(e);const t=this.clone();return t._preferences=c.preferences(t._preferences,e),t}presence(e){return n(["optional","required","forbidden"].includes(e),"Unknown presence mode",e),this.$_setFlag("presence",e)}raw(e=!0){return this.$_setFlag("result",e?"raw":void 0)}result(e){return n(["raw","strip"].includes(e),"Unknown result mode",e),this.$_setFlag("result",e)}required(){return this.presence("required")}strict(e){const t=this.clone(),r=void 0!==e&&!e;return t._preferences=c.preferences(t._preferences,{convert:r}),t}strip(e=!0){return this.$_setFlag("result",e?"strip":void 0)}tag(...e){n(e.length,"Missing tags");for(const t of e)n(t&&"string"==typeof t,"Tags must be non-empty strings");return this._inner("tags",e)}unit(e){return n(e&&"string"==typeof e,"Unit name must be a non-empty string"),this.$_setFlag("unit",e)}valid(...e){c.verifyFlat(e,"valid");const t=this.allow(...e);return t.$_setFlag("only",!!t._valids,{clone:!1}),t}when(e,t){const r=this.clone();r.$_terms.whens||(r.$_terms.whens=[]);const o=u.when(r,e,t);if(!["any","link"].includes(r.type)){const e=o.is?[o]:o.switch;for(const t of e)n(!t.then||"any"===t.then.type||t.then.type===r.type,"Cannot combine",r.type,"with",t.then&&t.then.type),n(!t.otherwise||"any"===t.otherwise.type||t.otherwise.type===r.type,"Cannot combine",r.type,"with",t.otherwise&&t.otherwise.type)}return r.$_terms.whens.push(o),r.$_mutateRebuild()}cache(e){n(!this._inRuleset(),"Cannot set caching inside a ruleset"),n(!this._cache,"Cannot override schema cache"),n(void 0===this._flags.artifact,"Cannot cache a rule with an artifact");const t=this.clone();return t._cache=e||a.provider.provision(),t.$_temp.ruleset=!1,t}clone(){const e=Object.create(Object.getPrototypeOf(this));return this._assign(e)}concat(e){n(c.isSchema(e),"Invalid schema object"),n("any"===this.type||"any"===e.type||e.type===this.type,"Cannot merge type",this.type,"with another type:",e.type),n(!this._inRuleset(),"Cannot concatenate onto a schema with open ruleset"),n(!e._inRuleset(),"Cannot concatenate a schema with open ruleset");let t=this.clone();if("any"===this.type&&"any"!==e.type){const r=e.clone();for(const e of Object.keys(t))"type"!==e&&(r[e]=t[e]);t=r}t._ids.concat(e._ids),t._refs.register(e,g.toSibling),t._preferences=t._preferences?c.preferences(t._preferences,e._preferences):e._preferences,t._valids=b.merge(t._valids,e._valids,e._invalids),t._invalids=b.merge(t._invalids,e._invalids,e._valids);for(const r of e._singleRules.keys())t._singleRules.has(r)&&(t._rules=t._rules.filter(e=>e.keep||e.name!==r),t._singleRules.delete(r));for(const r of e._rules)e._definition.rules[r.method].multi||t._singleRules.set(r.name,r),t._rules.push(r);if(t._flags.empty&&e._flags.empty){t._flags.empty=t._flags.empty.concat(e._flags.empty);const r=Object.assign({},e._flags);delete r.empty,s(t._flags,r)}else if(e._flags.empty){t._flags.empty=e._flags.empty;const r=Object.assign({},e._flags);delete r.empty,s(t._flags,r)}else s(t._flags,e._flags);for(const r in e.$_terms){const n=e.$_terms[r];n?t.$_terms[r]?t.$_terms[r]=t.$_terms[r].concat(n):t.$_terms[r]=n.slice():t.$_terms[r]||(t.$_terms[r]=n)}return this.$_root._tracer&&this.$_root._tracer._combine(t,[this,e]),t.$_mutateRebuild()}extend(e){return n(!e.base,"Cannot extend type with another base"),f.type(this,e)}extract(e){return e=Array.isArray(e)?e:e.split("."),this._ids.reach(e)}fork(e,t){n(!this._inRuleset(),"Cannot fork inside a ruleset");let r=this;for(let n of[].concat(e))n=Array.isArray(n)?n:n.split("."),r=r._ids.fork(n,t,r);return r.$_temp.ruleset=!1,r}rule(e){const t=this._definition;c.assertOptions(e,Object.keys(t.modifiers)),n(!1!==this.$_temp.ruleset,"Cannot apply rules to empty ruleset or the last rule added does not support rule properties");const r=null===this.$_temp.ruleset?this._rules.length-1:this.$_temp.ruleset;n(r>=0&&rt.tailor(e),ref:!1}),t.$_temp.ruleset=!1,t.$_mutateRebuild()}tracer(){return m.location?m.location(this):this}validate(e,t){return y.entry(e,this,t)}validateAsync(e,t){return y.entryAsync(e,this,t)}$_addRule(e){"string"==typeof e&&(e={name:e}),n(e&&"object"==typeof e,"Invalid options"),n(e.name&&"string"==typeof e.name,"Invalid rule name");for(const t in e)n("_"!==t[0],"Cannot set private rule properties");const t=Object.assign({},e);t._resolve=[],t.method=t.method||t.name;const r=this._definition.rules[t.method],o=t.args;n(r,"Unknown rule",t.method);const i=this.clone();if(o){n(1===Object.keys(o).length||Object.keys(o).length===this._definition.rules[t.name].args.length,"Invalid rule definition for",this.type,t.name);for(const e in o){let s=o[e];if(void 0!==s){if(r.argsByName){const a=r.argsByName.get(e);if(a.ref&&c.isResolvable(s))t._resolve.push(e),i.$_mutateRegister(s);else if(a.normalize&&(s=a.normalize(s),o[e]=s),a.assert){const t=c.validateArg(s,e,a);n(!t,t,"or reference")}}o[e]=s}else delete o[e]}}return r.multi||(i._ruleRemove(t.name,{clone:!1}),i._singleRules.set(t.name,t)),!1===i.$_temp.ruleset&&(i.$_temp.ruleset=null),r.priority?i._rules.unshift(t):i._rules.push(t),i}$_compile(e,t){return u.schema(this.$_root,e,t)}$_createError(e,t,r,n,o,i={}){const s=!1!==i.flags?this._flags:{},a=i.messages?h.merge(this._definition.messages,i.messages):this._definition.messages;return new l.Report(e,t,r,s,a,n,o)}$_getFlag(e){return this._flags[e]}$_getRule(e){return this._singleRules.get(e)}$_mapLabels(e){return e=Array.isArray(e)?e:e.split("."),this._ids.labels(e)}$_match(e,t,r,n){(r=Object.assign({},r)).abortEarly=!0,r._externals=!1,t.snapshot();const o=!y.validate(e,this,t,r,n).errors;return t.restore(),o}$_modify(e){return c.assertOptions(e,["each","once","ref","schema"]),p.schema(this,e)||this}$_mutateRebuild(){return n(!this._inRuleset(),"Cannot add this rule inside a ruleset"),this._refs.reset(),this._ids.reset(),this.$_modify({each:(e,{source:t,name:r,path:n,key:o})=>{const i=this._definition[t][r]&&this._definition[t][r].register;!1!==i&&this.$_mutateRegister(e,{family:i,key:o})}}),this._definition.rebuild&&this._definition.rebuild(this),this.$_temp.ruleset=!1,this}$_mutateRegister(e,{family:t,key:r}={}){this._refs.register(e,t),this._ids.register(e,{key:r})}$_property(e){return this._definition.properties[e]}$_reach(e){return this._ids.reach(e)}$_rootReferences(){return this._refs.roots()}$_setFlag(e,t,r={}){n("_"===e[0]||!this._inRuleset(),"Cannot set flag inside a ruleset");const o=this._definition.flags[e]||{};if(i(t,o.default)&&(t=void 0),i(t,this._flags[e]))return this;const s=!1!==r.clone?this.clone():this;return void 0!==t?(s._flags[e]=t,s.$_mutateRegister(t)):delete s._flags[e],"_"!==e[0]&&(s.$_temp.ruleset=!1),s}$_parent(e,...t){return this[e][c.symbols.parent].call(this,...t)}$_validate(e,t,r){return y.validate(e,this,t,r)}_assign(e){e.type=this.type,e.$_root=this.$_root,e.$_temp=Object.assign({},this.$_temp),e.$_temp.whens={},e._ids=this._ids.clone(),e._preferences=this._preferences,e._valids=this._valids&&this._valids.clone(),e._invalids=this._invalids&&this._invalids.clone(),e._rules=this._rules.slice(),e._singleRules=o(this._singleRules,{shallow:!0}),e._refs=this._refs.clone(),e._flags=Object.assign({},this._flags),e._cache=null,e.$_terms={};for(const t in this.$_terms)e.$_terms[t]=this.$_terms[t]?this.$_terms[t].slice():null;e.$_super={};for(const t in this.$_super)e.$_super[t]=this._super[t].bind(e);return e}_bare(){const e=this.clone();e._reset();const t=e._definition.terms;for(const r in t){const n=t[r];e.$_terms[r]=n.init}return e.$_mutateRebuild()}_default(e,t,r={}){return c.assertOptions(r,"literal"),n(void 0!==t,"Missing",e,"value"),n("function"==typeof t||!r.literal,"Only function value supports literal option"),"function"==typeof t&&r.literal&&(t={[c.symbols.literal]:!0,literal:t}),this.$_setFlag(e,t)}_generate(e,t,r){if(!this.$_terms.whens)return{schema:this};const n=[],o=[];for(let i=0;iu)break}const i=o.join(", ");if(t.mainstay.tracer.debug(t,"rule","when",i),!i)return{schema:this};if(!t.mainstay.tracer.active&&this.$_temp.whens[i])return{schema:this.$_temp.whens[i],id:i};let s=this;this._definition.generate&&(s=this._definition.generate(this,e,t,r));for(const e of n)s=s.concat(e);return this.$_root._tracer&&this.$_root._tracer._combine(s,[this,...n]),this.$_temp.whens[i]=s,{schema:s,id:i}}_inner(e,t,r={}){n(!this._inRuleset(),"Cannot set ".concat(e," inside a ruleset"));const o=this.clone();return o.$_terms[e]&&!r.override||(o.$_terms[e]=[]),r.single?o.$_terms[e].push(t):o.$_terms[e].push(...t),o.$_temp.ruleset=!1,o}_inRuleset(){return null!==this.$_temp.ruleset&&!1!==this.$_temp.ruleset}_ruleRemove(e,t={}){if(!this._singleRules.has(e))return this;const r=!1!==t.clone?this.clone():this;r._singleRules.delete(e);const n=[];for(let t=0;t{if(r===(e._flags.id||t))return n},ref:!1});return o?o.$_mutateRebuild():e},t.schema=function(e,t){let r;for(const n in e._flags){if("_"===n[0])continue;const o=u.scan(e._flags[n],{source:"flags",name:n},t);void 0!==o&&(r=r||e.clone(),r._flags[n]=o)}for(let n=0;nt.$_createError(o,e,i,s||r,n),s={original:e,prefs:n,schema:t,state:r,error:i,errorsArray:l.errorsArray,warn:(e,t,n)=>r.mainstay.warnings.push(i(e,t,n)),message:(o,i)=>t.$_createError("custom",e,i,r,n,{messages:o})};r.mainstay.tracer.entry(t,r);const c=t._definition;if(c.prepare&&void 0!==e&&n.convert){const t=c.prepare(e,s);if(t){if(r.mainstay.tracer.value(r,"prepare",e,t.value),t.errors)return l.finalize(t.value,[].concat(t.errors),s);e=t.value}}if(c.coerce&&void 0!==e&&n.convert&&(!c.coerce.from||c.coerce.from.includes(typeof e))){const t=c.coerce.method(e,s);if(t){if(r.mainstay.tracer.value(r,"coerced",e,t.value),t.errors)return l.finalize(t.value,[].concat(t.errors),s);e=t.value}}const u=t._flags.empty;u&&u.$_match(l.trim(e,t),r.nest(u),a.defaults)&&(r.mainstay.tracer.value(r,"empty",e,void 0),e=void 0);const f=o.presence||t._flags.presence||(t._flags._endedSwitch?null:n.presence);if(void 0===e){if("forbidden"===f)return l.finalize(e,null,s);if("required"===f)return l.finalize(e,[t.$_createError("any.required",e,null,r,n)],s);if("optional"===f){if(t._flags.default!==a.symbols.deepDefault)return l.finalize(e,null,s);r.mainstay.tracer.value(r,"default",e,{}),e={}}}else if("forbidden"===f)return l.finalize(e,[t.$_createError("any.unknown",e,null,r,n)],s);const d=[];if(t._valids){const o=t._valids.get(e,r,n,t._flags.insensitive);if(o)return n.convert&&(r.mainstay.tracer.value(r,"valids",e,o.value),e=o.value),r.mainstay.tracer.filter(t,r,"valid",o),l.finalize(e,null,s);if(t._flags.only){const o=t.$_createError("any.only",e,{valids:t._valids.values({display:!0})},r,n);if(n.abortEarly)return l.finalize(e,[o],s);d.push(o)}}if(t._invalids){const o=t._invalids.get(e,r,n,t._flags.insensitive);if(o){r.mainstay.tracer.filter(t,r,"invalid",o);const i=t.$_createError("any.invalid",e,{invalids:t._invalids.values({display:!0})},r,n);if(n.abortEarly)return l.finalize(e,[i],s);d.push(i)}}if(c.validate){const t=c.validate(e,s);if(t&&(r.mainstay.tracer.value(r,"base",e,t.value),e=t.value,t.errors)){if(!Array.isArray(t.errors))return d.push(t.errors),l.finalize(e,d,s);if(t.errors.length)return d.push(...t.errors),l.finalize(e,d,s)}}return t._rules.length?l.rules(e,d,s):l.finalize(e,d,s)},l.rules=function(e,t,r){const{schema:n,state:o,prefs:i}=r;for(const s of n._rules){const c=n._definition.rules[s.method];if(c.convert&&i.convert){o.mainstay.tracer.log(n,o,"rule",s.name,"full");continue}let u,f=s.args;if(s._resolve.length){f=Object.assign({},f);for(const t of s._resolve){const r=c.argsByName.get(t),s=f[t].resolve(e,o,i),l=r.normalize?r.normalize(s):s,d=a.validateArg(l,null,r);if(d){u=n.$_createError("any.ref",s,{arg:t,ref:f[t],reason:d},o,i);break}f[t]=l}}u=u||c.validate(e,r,f,s);const d=l.rule(u,s);if(d.errors){if(o.mainstay.tracer.log(n,o,"rule",s.name,"error"),s.warn){o.mainstay.warnings.push(...d.errors);continue}if(i.abortEarly)return l.finalize(e,d.errors,r);t.push(...d.errors)}else o.mainstay.tracer.log(n,o,"rule",s.name,"pass"),o.mainstay.tracer.value(o,"rule",e,d.value,s.name),e=d.value}return l.finalize(e,t,r)},l.rule=function(e,t){return e instanceof c.Report?(l.error(e,t),{errors:[e],value:null}):Array.isArray(e)&&e[a.symbols.errors]?(e.forEach(e=>l.error(e,t)),{errors:e,value:null}):{errors:null,value:e}},l.error=function(e,t){return t.message&&e._setTemplate(t.message),e},l.finalize=function(e,t,r){t=t||[];const{schema:o,state:i,prefs:s}=r;if(t.length){const n=l.default("failover",void 0,t,r);void 0!==n&&(i.mainstay.tracer.value(i,"failover",e,n),e=n,t=[])}if(t.length&&o._flags.error)if("function"==typeof o._flags.error){t=o._flags.error(t),Array.isArray(t)||(t=[t]);for(const e of t)n(e instanceof Error||e instanceof c.Report,"error() must return an Error object")}else t=[o._flags.error];if(void 0===e){const n=l.default("default",e,t,r);i.mainstay.tracer.value(i,"default",e,n),e=n}if(o._flags.cast&&void 0!==e){const t=o._definition.cast[o._flags.cast];if(t.from(e)){const n=t.to(e,r);i.mainstay.tracer.value(i,"cast",e,n,o._flags.cast),e=n}}if(o.$_terms.externals&&s.externals&&!1!==s._externals)for(const{method:e}of o.$_terms.externals)i.mainstay.externals.push({method:e,path:i.path,label:c.label(o._flags,i,s)});const a={value:e,errors:t.length?t:null};return o._flags.result&&(a.value="strip"===o._flags.result?void 0:r.original,i.mainstay.tracer.value(i,o._flags.result,e,a.value),i.shadow(e,o._flags.result)),o._cache&&!1!==s.cache&&!o._refs.length&&o._cache.set(r.original,a),void 0===e||a.errors||void 0===o._flags.artifact||(i.mainstay.artifacts=i.mainstay.artifacts||new Map,i.mainstay.artifacts.has(o._flags.artifact)||i.mainstay.artifacts.set(o._flags.artifact,[]),i.mainstay.artifacts.get(o._flags.artifact).push(i.path)),a},l.prefs=function(e,t){const r=t===a.defaults;return r&&e._preferences[a.symbols.prefs]?e._preferences[a.symbols.prefs]:(t=a.preferences(t,e._preferences),r&&(e._preferences[a.symbols.prefs]=t),t)},l.default=function(e,t,r,n){const{schema:i,state:s,prefs:c}=n,u=i._flags[e];if(c.noDefaults||void 0===u)return t;if(s.mainstay.tracer.log(i,s,"rule",e,"full"),!u)return u;if("function"==typeof u){const a=u.length?[o(s.ancestors[0]),n]:[];try{return u(...a)}catch(t){return void r.push(i.$_createError("any.".concat(e),null,{error:t},s,c))}}return"object"!=typeof u?u:u[a.symbols.literal]?u.literal:a.isResolvable(u)?u.resolve(t,s,c):o(u)},l.trim=function(e,t){if("string"!=typeof e)return e;const r=t.$_getRule("trim");return r&&r.args.enabled?e.trim():e},l.ignore={active:!1,debug:i,entry:i,filter:i,log:i,resolve:i,value:i},l.errorsArray=function(){const e=[];return e[a.symbols.errors]=!0,e}},function(e,t,r){"use strict";e.exports=function(){}},function(e,t,r){"use strict";const n=r(2),o=r(6),i=r(1),s={value:Symbol("value")};e.exports=s.State=class{constructor(e,t,r){this.path=e,this.ancestors=t,this.mainstay=r.mainstay,this.schemas=r.schemas,this.debug=null}localize(e,t=null,r=null){const n=new s.State(e,t,this);return r&&n.schemas&&(n.schemas=[s.schemas(r),...n.schemas]),n}nest(e,t){const r=new s.State(this.path,this.ancestors,this);return r.schemas=r.schemas&&[s.schemas(e),...r.schemas],r.debug=t,r}shadow(e,t){this.mainstay.shadow=this.mainstay.shadow||new s.Shadow,this.mainstay.shadow.set(this.path,e,t)}snapshot(){this.mainstay.shadow&&(this._snapshot=n(this.mainstay.shadow.node(this.path)))}restore(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0)}},s.schemas=function(e){return i.isSchema(e)?{schema:e}:e},s.Shadow=class{constructor(){this._values=null}set(e,t,r){if(!e.length)return;if("strip"===r&&"number"==typeof e[e.length-1])return;this._values=this._values||new Map;let n=this._values;for(let t=0;tthis.$_compile(e[r]),r,{append:!0});t.$_terms.items.push(n)}return t.$_mutateRebuild()},validate(e,{schema:t,error:r,state:n,prefs:o,errorsArray:i}){const s=t.$_terms._requireds.slice(),c=t.$_terms.ordered.slice(),l=[...t.$_terms._inclusions,...s],f=!e[a.symbols.arraySingle];delete e[a.symbols.arraySingle];const d=i();let h=e.length;for(let i=0;i="})}},ordered:{method(...e){a.verifyFlat(e,"ordered");const t=this.$_addRule("items");for(let r=0;rthis.$_compile(e[r]),r,{append:!0});u.validateSingle(n,t),t.$_mutateRegister(n),t.$_terms.ordered.push(n)}return t.$_mutateRebuild()}},single:{method(e){const t=void 0===e||!!e;return n(!t||!this._flags._arrayItems,"Cannot specify single rule when array has array items"),this.$_setFlag("single",t)}},sort:{method(e={}){a.assertOptions(e,["by","order"]);const t={order:e.order||"ascending"};return e.by&&(t.by=c.ref(e.by,{ancestor:0}),n(!t.by.ancestor,"Cannot sort by ancestor")),this.$_addRule({name:"sort",args:{options:t}})},validate(e,{error:t,state:r,prefs:n,schema:o},{options:i}){const{value:s,errors:a}=u.sort(o,e,i,r,n);if(a)return a;for(let r=0;rnew Set(e)}},rebuild(e){e.$_terms._inclusions=[],e.$_terms._exclusions=[],e.$_terms._requireds=[];for(const t of e.$_terms.items)u.validateSingle(t,e),"required"===t._flags.presence?e.$_terms._requireds.push(t):"forbidden"===t._flags.presence?e.$_terms._exclusions.push(t):e.$_terms._inclusions.push(t);for(const t of e.$_terms.ordered)u.validateSingle(t,e)},manifest:{build:(e,t)=>(t.items&&(e=e.items(...t.items)),t.ordered&&(e=e.ordered(...t.ordered)),e)},messages:{"array.base":"{{#label}} must be an array","array.excludes":"{{#label}} contains an excluded value","array.hasKnown":"{{#label}} does not contain at least one required match for type {:#patternLabel}","array.hasUnknown":"{{#label}} does not contain at least one required match","array.includes":"{{#label}} does not match any of the allowed types","array.includesRequiredBoth":"{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)","array.includesRequiredKnowns":"{{#label}} does not contain {{#knownMisses}}","array.includesRequiredUnknowns":"{{#label}} does not contain {{#unknownMisses}} required value(s)","array.length":"{{#label}} must contain {{#limit}} items","array.max":"{{#label}} must contain less than or equal to {{#limit}} items","array.min":"{{#label}} must contain at least {{#limit}} items","array.orderedLength":"{{#label}} must contain at most {{#limit}} items","array.sort":"{{#label}} must be sorted in {#order} order by {{#by}}","array.sort.mismatching":"{{#label}} cannot be sorted due to mismatching types","array.sort.unsupported":"{{#label}} cannot be sorted due to unsupported type {#type}","array.sparse":"{{#label}} must not be a sparse array item","array.unique":"{{#label}} contains a duplicate value"}}),u.fillMissedErrors=function(e,t,r,n,o,i){const s=[];let a=0;for(const e of r){const t=e._flags.label;t?s.push(t):++a}s.length?a?t.push(e.$_createError("array.includesRequiredBoth",n,{knownMisses:s,unknownMisses:a},o,i)):t.push(e.$_createError("array.includesRequiredKnowns",n,{knownMisses:s},o,i)):t.push(e.$_createError("array.includesRequiredUnknowns",n,{unknownMisses:a},o,i))},u.fillOrderedErrors=function(e,t,r,n,o,i){const s=[];for(const e of r)"required"===e._flags.presence&&s.push(e);s.length&&u.fillMissedErrors(e,t,s,n,o,i)},u.fastSplice=function(e,t){let r=t;for(;r{let f=u.compare(c,l,s,a);if(null!==f)return f;if(r.by&&(c=r.by.resolve(c,n,o),l=r.by.resolve(l,n,o)),f=u.compare(c,l,s,a),null!==f)return f;const d=typeof c;if(d!==typeof l)throw e.$_createError("array.sort.mismatching",t,null,n,o);if("number"!==d&&"string"!==d)throw e.$_createError("array.sort.unsupported",t,{type:d},n,o);return"number"===d?(c-l)*i:ce?1:0},string:{from:a.isBool,to:(e,t)=>e?"true":"false"}},manifest:{build:(e,t)=>(t.truthy&&(e=e.truthy(...t.truthy)),t.falsy&&(e=e.falsy(...t.falsy)),e)},messages:{"boolean.base":"{{#label}} must be a boolean"}})},function(e,t,r){"use strict";const n=r(0),o=r(3),i=r(1),s=r(7),a={isDate:function(e){return e instanceof Date}};e.exports=o.extend({type:"date",coerce:{from:["number","string"],method:(e,{schema:t})=>({value:a.parse(e,t._flags.format)||e})},validate(e,{schema:t,error:r,prefs:n}){if(e instanceof Date&&!isNaN(e.getTime()))return;const o=t._flags.format;return n.convert&&o&&"string"==typeof e?{value:e,errors:r("date.format",{format:o})}:{value:e,errors:r("date.base")}},rules:{compare:{method:!1,validate(e,t,{date:r},{name:n,operator:o,args:s}){const a="now"===r?Date.now():r.getTime();return i.compare(e.getTime(),a,o)?e:t.error("date."+n,{limit:s.date,value:e})},args:[{name:"date",ref:!0,normalize:e=>"now"===e?e:a.parse(e),assert:e=>null!==e,message:"must have a valid date format"}]},format:{method(e){return n(["iso","javascript","unix"].includes(e),"Unknown date format",e),this.$_setFlag("format",e)}},greater:{method(e){return this.$_addRule({name:"greater",method:"compare",args:{date:e},operator:">"})}},iso:{method(){return this.format("iso")}},less:{method(e){return this.$_addRule({name:"less",method:"compare",args:{date:e},operator:"<"})}},max:{method(e){return this.$_addRule({name:"max",method:"compare",args:{date:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"compare",args:{date:e},operator:">="})}},timestamp:{method(e="javascript"){return n(["javascript","unix"].includes(e),'"type" must be one of "javascript, unix"'),this.format(e)}}},cast:{number:{from:a.isDate,to:(e,t)=>e.getTime()},string:{from:a.isDate,to:(e,{prefs:t})=>s.date(e,t)}},messages:{"date.base":"{{#label}} must be a valid date","date.format":'{{#label}} must be in {msg("date.format." + #format) || #format} format',"date.greater":"{{#label}} must be greater than {{:#limit}}","date.less":"{{#label}} must be less than {{:#limit}}","date.max":"{{#label}} must be less than or equal to {{:#limit}}","date.min":"{{#label}} must be greater than or equal to {{:#limit}}","date.format.iso":"ISO 8601 date","date.format.javascript":"timestamp or number of milliseconds","date.format.unix":"timestamp or number of seconds"}}),a.parse=function(e,t){if(e instanceof Date)return e;if("string"!=typeof e&&(isNaN(e)||!isFinite(e)))return null;if(/^\s*$/.test(e))return null;if("iso"===t)return i.isIsoDate(e)?a.date(e.toString()):null;const r=e;if("string"==typeof e&&/^[+-]?\d+(\.\d+)?$/.test(e)&&(e=parseFloat(e)),t){if("javascript"===t)return a.date(1*e);if("unix"===t)return a.date(1e3*e);if("string"==typeof r)return null}return a.date(e)},a.date=function(e){const t=new Date(e);return isNaN(t.getTime())?null:t}},function(e,t,r){"use strict";const n=r(0),o=r(22);e.exports=o.extend({type:"function",properties:{typeof:"function"},rules:{arity:{method(e){return n(Number.isSafeInteger(e)&&e>=0,"n must be a positive integer"),this.$_addRule({name:"arity",args:{n:e}})},validate:(e,t,{n:r})=>e.length===r?e:t.error("function.arity",{n:r})},class:{method(){return this.$_addRule("class")},validate:(e,t)=>/^\s*class\s/.test(e.toString())?e:t.error("function.class",{value:e})},minArity:{method(e){return n(Number.isSafeInteger(e)&&e>0,"n must be a strict positive integer"),this.$_addRule({name:"minArity",args:{n:e}})},validate:(e,t,{n:r})=>e.length>=r?e:t.error("function.minArity",{n:r})},maxArity:{method(e){return n(Number.isSafeInteger(e)&&e>=0,"n must be a positive integer"),this.$_addRule({name:"maxArity",args:{n:e}})},validate:(e,t,{n:r})=>e.length<=r?e:t.error("function.maxArity",{n:r})}},messages:{"function.arity":"{{#label}} must have an arity of {{#n}}","function.class":"{{#label}} must be a class","function.maxArity":"{{#label}} must have an arity lesser or equal to {{#n}}","function.minArity":"{{#label}} must have an arity greater or equal to {{#n}}"}})},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(20),s=r(6),a={};e.exports=function(e,t,r={}){if(n(e&&"object"==typeof e,"Invalid defaults value: must be an object"),n(!t||!0===t||"object"==typeof t,"Invalid source value: must be true, falsy or an object"),n("object"==typeof r,"Invalid options: must be an object"),!t)return null;if(r.shallow)return a.applyToDefaultsWithShallow(e,t,r);const s=o(e);if(!0===t)return s;const c=void 0!==r.nullOverride&&r.nullOverride;return i(s,t,{nullOverride:c,mergeArrays:!1})},a.applyToDefaultsWithShallow=function(e,t,r){const c=r.shallow;n(Array.isArray(c),"Invalid keys");const u=new Map,l=!0===t?null:new Set;for(let r of c){r=Array.isArray(r)?r:r.split(".");const n=s(e,r);n&&"object"==typeof n?u.set(n,l&&s(t,r)||n):l&&l.add(r)}const f=o(e,{},u);if(!l)return f;for(const e of l)a.reachCopy(f,t,e);return i(f,t,{mergeArrays:!1,nullOverride:!1})},a.reachCopy=function(e,t,r){for(const e of r){if(!(e in t))return;t=t[e]}const n=t;let o=e;for(let e=0;ee.sort===t.sort?0:e.sorte.ref(t),validate(e,{schema:t,state:r,prefs:o}){n(t.$_terms.link,"Uninitialized link schema");const i=c.generate(t,e,r,o),s=t.$_terms.link[0].ref;return i.$_validate(e,r.nest(i,"link:".concat(s.display,":").concat(i.type)),o)},generate:(e,t,r,n)=>c.generate(e,t,r,n),rules:{ref:{method(e){n(!this.$_terms.link,"Cannot reinitialize schema"),e=s.ref(e),n("value"===e.type||"local"===e.type,"Invalid reference type:",e.type),n("local"===e.type||"root"===e.ancestor||e.ancestor>0,"Link cannot reference itself");const t=this.clone();return t.$_terms.link=[{ref:e}],t}},relative:{method(e=!0){return this.$_setFlag("relative",e)}}},overrides:{concat(e){n(this.$_terms.link,"Uninitialized link schema"),n(i.isSchema(e),"Invalid schema object"),n("link"!==e.type,"Cannot merge type link with another link");const t=this.clone();return t.$_terms.whens||(t.$_terms.whens=[]),t.$_terms.whens.push({concat:e}),t.$_mutateRebuild()}},manifest:{build:(e,t)=>(n(t.link,"Invalid link description missing link"),e.ref(t.link))}}),c.generate=function(e,t,r,n){let o=r.mainstay.links.get(e);if(o)return o._generate(t,r,n).schema;const i=e.$_terms.link[0].ref,{perspective:s,path:a}=c.perspective(i,r);c.assert(s,"which is outside of schema boundaries",i,e,r,n);try{o=a.length?s.$_reach(a):s}catch(t){c.assert(!1,"to non-existing schema",i,e,r,n)}return c.assert("link"!==o.type,"which is another link",i,e,r,n),e._flags.relative||r.mainstay.links.set(e,o),o._generate(t,r,n).schema},c.perspective=function(e,t){if("local"===e.type){for(const{schema:r,key:n}of t.schemas){if((r._flags.id||n)===e.path[0])return{perspective:r,path:e.path.slice(1)};if(r.$_terms.shared)for(const t of r.$_terms.shared)if(t._flags.id===e.path[0])return{perspective:t,path:e.path.slice(1)}}return{perspective:null,path:null}}return"root"===e.ancestor?{perspective:t.schemas[t.schemas.length-1].schema,path:e.path}:{perspective:t.schemas[e.ancestor]&&t.schemas[e.ancestor].schema,path:e.path}},c.assert=function(e,t,r,o,i,s){e||n(!1,'"'.concat(a.label(o._flags,i,s),'" contains link reference "').concat(r.display,'" ').concat(t))}},function(e,t,r){"use strict";const n=r(0),o=r(3),i=r(1),s={numberRx:/^\s*[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:e([+-]?\d+))?\s*$/i,precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/};e.exports=o.extend({type:"number",flags:{unsafe:{default:!1}},coerce:{from:"string",method(e,{schema:t,error:r}){const n=e.match(s.numberRx);if(!n)return;e=e.trim();const o={value:parseFloat(e)};if(0===o.value&&(o.value=0),!t._flags.unsafe)if(e.match(/e/i)){if(s.normalizeExponent("".concat(o.value/Math.pow(10,n[1]),"e").concat(n[1]))!==s.normalizeExponent(e))return o.errors=r("number.unsafe"),o}else{const t=o.value.toString();if(t.match(/e/i))return o;if(t!==s.normalizeDecimal(e))return o.errors=r("number.unsafe"),o}return o}},validate(e,{schema:t,error:r,prefs:n}){if(e===1/0||e===-1/0)return{value:e,errors:r("number.infinity")};if(!i.isNumber(e))return{value:e,errors:r("number.base")};const o={value:e};if(n.convert){const e=t.$_getRule("precision");if(e){const t=Math.pow(10,e.args.limit);o.value=Math.round(o.value*t)/t}}return 0===o.value&&(o.value=0),!t._flags.unsafe&&(e>Number.MAX_SAFE_INTEGER||ei.compare(e,r,o)?e:t.error("number."+n,{limit:s.limit,value:e}),args:[{name:"limit",ref:!0,assert:i.isNumber,message:"must be a number"}]},greater:{method(e){return this.$_addRule({name:"greater",method:"compare",args:{limit:e},operator:">"})}},integer:{method(){return this.$_addRule("integer")},validate:(e,t)=>Math.trunc(e)-e==0?e:t.error("number.integer")},less:{method(e){return this.$_addRule({name:"less",method:"compare",args:{limit:e},operator:"<"})}},max:{method(e){return this.$_addRule({name:"max",method:"compare",args:{limit:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"compare",args:{limit:e},operator:">="})}},multiple:{method(e){return this.$_addRule({name:"multiple",args:{base:e}})},validate:(e,t,{base:r},n)=>e%r==0?e:t.error("number.multiple",{multiple:n.args.base,value:e}),args:[{name:"base",ref:!0,assert:e=>"number"==typeof e&&isFinite(e)&&e>0,message:"must be a positive number"}],multi:!0},negative:{method(){return this.sign("negative")}},port:{method(){return this.$_addRule("port")},validate:(e,t)=>Number.isSafeInteger(e)&&e>=0&&e<=65535?e:t.error("number.port")},positive:{method(){return this.sign("positive")}},precision:{method(e){return n(Number.isSafeInteger(e),"limit must be an integer"),this.$_addRule({name:"precision",args:{limit:e}})},validate(e,t,{limit:r}){const n=e.toString().match(s.precisionRx);return Math.max((n[1]?n[1].length:0)-(n[2]?parseInt(n[2],10):0),0)<=r?e:t.error("number.precision",{limit:r,value:e})},convert:!0},sign:{method(e){return n(["negative","positive"].includes(e),"Invalid sign",e),this.$_addRule({name:"sign",args:{sign:e}})},validate:(e,t,{sign:r})=>"negative"===r&&e<0||"positive"===r&&e>0?e:t.error("number.".concat(r))},unsafe:{method(e=!0){return n("boolean"==typeof e,"enabled must be a boolean"),this.$_setFlag("unsafe",e)}}},cast:{string:{from:e=>"number"==typeof e,to:(e,t)=>e.toString()}},messages:{"number.base":"{{#label}} must be a number","number.greater":"{{#label}} must be greater than {{#limit}}","number.infinity":"{{#label}} cannot be infinity","number.integer":"{{#label}} must be an integer","number.less":"{{#label}} must be less than {{#limit}}","number.max":"{{#label}} must be less than or equal to {{#limit}}","number.min":"{{#label}} must be greater than or equal to {{#limit}}","number.multiple":"{{#label}} must be a multiple of {{#multiple}}","number.negative":"{{#label}} must be a negative number","number.port":"{{#label}} must be a valid port","number.positive":"{{#label}} must be a positive number","number.precision":"{{#label}} must have no more than {{#limit}} decimal places","number.unsafe":"{{#label}} must be a safe number"}}),s.normalizeExponent=function(e){return e.replace(/E/,"e").replace(/\.(\d*[1-9])?0+e/,".$1e").replace(/\.e/,"e").replace(/e\+/,"e").replace(/^\+/,"").replace(/^(-?)0+([1-9])/,"$1$2")},s.normalizeDecimal=function(e){return(e=e.replace(/^\+/,"").replace(/\.0*$/,"").replace(/^(-?)\.([^\.]*)$/,"$10.$2").replace(/^(-?)0+([0-9])/,"$1$2")).includes(".")&&e.endsWith("0")&&(e=e.replace(/0+$/,"")),"-0"===e?"0":e}},function(e,t,r){"use strict";const n=r(22);e.exports=n.extend({type:"object",cast:{map:{from:e=>e&&"object"==typeof e,to:(e,t)=>new Map(Object.entries(e))}}})},function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t"string"!=typeof e?{value:e,errors:t("string.base")}:""===e?{value:e,errors:t("string.empty")}:void 0,rules:{alphanum:{method(){return this.$_addRule("alphanum")},validate:(e,t)=>/^[a-zA-Z0-9]+$/.test(e)?e:t.error("string.alphanum")},base64:{method(e={}){return p.assertOptions(e,["paddingRequired","urlSafe"]),e=o({urlSafe:!1,paddingRequired:!0},e),s("boolean"==typeof e.paddingRequired,"paddingRequired must be boolean"),s("boolean"==typeof e.urlSafe,"urlSafe must be boolean"),this.$_addRule({name:"base64",args:{options:e}})},validate:(e,t,{options:r})=>g.base64Regex[r.paddingRequired][r.urlSafe].test(e)?e:t.error("string.base64")},case:{method(e){return s(["lower","upper"].includes(e),"Invalid case:",e),this.$_addRule({name:"case",args:{direction:e}})},validate:(e,t,{direction:r})=>"lower"===r&&e===e.toLocaleLowerCase()||"upper"===r&&e===e.toLocaleUpperCase()?e:t.error("string.".concat(r,"case")),convert:!0},creditCard:{method(){return this.$_addRule("creditCard")},validate(e,t){let r=e.length,n=0,o=1;for(;r--;){const t=e.charAt(r)*o;n+=t-9*(t>9),o^=3}return n>0&&n%10==0?e:t.error("string.creditCard")}},dataUri:{method(e={}){return p.assertOptions(e,["paddingRequired"]),e=o({paddingRequired:!0},e),s("boolean"==typeof e.paddingRequired,"paddingRequired must be boolean"),this.$_addRule({name:"dataUri",args:{options:e}})},validate(e,t,{options:r}){const n=e.match(g.dataUriRegex);if(n){if(!n[2])return e;if("base64"!==n[2])return e;if(g.base64Regex[r.paddingRequired].false.test(n[3]))return e}return t.error("string.dataUri")}},domain:{method(e){e&&p.assertOptions(e,["allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const t=g.addressOptions(e);return this.$_addRule({name:"domain",args:{options:e},address:t})},validate:(e,t,r,{address:n})=>a.isValid(e,n)?e:t.error("string.domain")},email:{method(e={}){p.assertOptions(e,["allowUnicode","ignoreLength","maxDomainSegments","minDomainSegments","multiple","separator","tlds"]),s(void 0===e.multiple||"boolean"==typeof e.multiple,"multiple option must be an boolean");const t=g.addressOptions(e),r=new RegExp("\\s*[".concat(e.separator?l(e.separator):",","]\\s*"));return this.$_addRule({name:"email",args:{options:e},regex:r,address:t})},validate(e,t,{options:r},{regex:n,address:o}){const i=r.multiple?e.split(n):[e],s=[];for(const e of i)c.isValid(e,o)||s.push(e);return s.length?t.error("string.email",{value:e,invalids:s}):e}},guid:{alias:"uuid",method(e={}){p.assertOptions(e,["version","separator"]);let t="";if(e.version){const r=[].concat(e.version);s(r.length>=1,"version must have at least 1 valid version specified");const n=new Set;for(let e=0;eg.hexRegex.test(e)?r.byteAligned&&e.length%2!=0?t.error("string.hexAlign"):e:t.error("string.hex")},hostname:{method(){return this.$_addRule("hostname")},validate:(e,t)=>a.isValid(e,{minDomainSegments:1})||g.ipRegex.test(e)?e:t.error("string.hostname")},insensitive:{method(){return this.$_setFlag("insensitive",!0)}},ip:{method(e={}){p.assertOptions(e,["cidr","version"]);const{cidr:t,versions:r,regex:n}=u.regex(e),o=e.version?r:void 0;return this.$_addRule({name:"ip",args:{options:{cidr:t,version:o}},regex:n})},validate:(e,t,{options:r},{regex:n})=>n.test(e)?e:r.version?t.error("string.ipVersion",{value:e,cidr:r.cidr,version:r.version}):t.error("string.ip",{value:e,cidr:r.cidr})},isoDate:{method(){return this.$_addRule("isoDate")},validate:(e,{error:t})=>g.isoDate(e)?e:t("string.isoDate")},isoDuration:{method(){return this.$_addRule("isoDuration")},validate:(e,t)=>g.isoDurationRegex.test(e)?e:t.error("string.isoDuration")},length:{method(e,t){return g.length(this,"length",e,"=",t)},validate(e,t,{limit:r,encoding:n},{name:o,operator:i,args:s}){const a=!n&&e.length;return p.compare(a,r,i)?e:t.error("string."+o,{limit:s.limit,value:e,encoding:n})},args:[{name:"limit",ref:!0,assert:p.limit,message:"must be a positive integer"},"encoding"]},lowercase:{method(){return this.case("lower")}},max:{method(e,t){return g.length(this,"max",e,"<=",t)},args:["limit","encoding"]},min:{method(e,t){return g.length(this,"min",e,">=",t)},args:["limit","encoding"]},normalize:{method(e="NFC"){return s(g.normalizationForms.includes(e),"normalization form must be one of "+g.normalizationForms.join(", ")),this.$_addRule({name:"normalize",args:{form:e}})},validate:(e,{error:t},{form:r})=>e===e.normalize(r)?e:t("string.normalize",{value:e,form:r}),convert:!0},pattern:{alias:"regex",method(e,t={}){s(e instanceof RegExp,"regex must be a RegExp"),s(!e.flags.includes("g")&&!e.flags.includes("y"),"regex should not use global or sticky mode"),"string"==typeof t&&(t={name:t}),p.assertOptions(t,["invert","name"]);const r=["string.pattern",t.invert?".invert":"",t.name?".name":".base"].join("");return this.$_addRule({name:"pattern",args:{regex:e,options:t},errorCode:r})},validate:(e,t,{regex:r,options:n},{errorCode:o})=>r.test(e)^n.invert?e:t.error(o,{name:n.name,regex:r,value:e}),args:["regex","options"],multi:!0},replace:{method(e,t){"string"==typeof e&&(e=new RegExp(l(e),"g")),s(e instanceof RegExp,"pattern must be a RegExp"),s("string"==typeof t,"replacement must be a String");const r=this.clone();return r.$_terms.replacements||(r.$_terms.replacements=[]),r.$_terms.replacements.push({pattern:e,replacement:t}),r}},token:{method(){return this.$_addRule("token")},validate:(e,t)=>/^\w+$/.test(e)?e:t.error("string.token")},trim:{method(e=!0){return s("boolean"==typeof e,"enabled must be a boolean"),this.$_addRule({name:"trim",args:{enabled:e}})},validate:(e,t,{enabled:r})=>r&&e!==e.trim()?t.error("string.trim"):e,convert:!0},truncate:{method(e=!0){return s("boolean"==typeof e,"enabled must be a boolean"),this.$_setFlag("truncate",e)}},uppercase:{method(){return this.case("upper")}},uri:{method(e={}){p.assertOptions(e,["allowRelative","allowQuerySquareBrackets","domain","relativeOnly","scheme"]),e.domain&&p.assertOptions(e.domain,["allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const{regex:t,scheme:r}=d.regex(e),n=e.domain?g.addressOptions(e.domain):null;return this.$_addRule({name:"uri",args:{options:e},regex:t,domain:n,scheme:r})},validate(e,t,{options:r},{regex:n,domain:o,scheme:i}){if(["http:/","https:/"].includes(e))return t.error("string.uri");const s=n.exec(e);if(s){if(o){const e=s[1]||s[2];if(!a.isValid(e,o))return t.error("string.domain",{value:e})}return e}return r.relativeOnly?t.error("string.uriRelativeOnly"):r.scheme?t.error("string.uriCustomScheme",{scheme:i,value:e}):t.error("string.uri")}}},manifest:{build(e,t){if(t.replacements)for(const{pattern:r,replacement:n}of t.replacements)e=e.replace(r,n);return e}},messages:{"string.alphanum":"{{#label}} must only contain alpha-numeric characters","string.base":"{{#label}} must be a string","string.base64":"{{#label}} must be a valid base64 string","string.creditCard":"{{#label}} must be a credit card","string.dataUri":"{{#label}} must be a valid dataUri string","string.domain":"{{#label}} must contain a valid domain name","string.email":"{{#label}} must be a valid email","string.empty":"{{#label}} is not allowed to be empty","string.guid":"{{#label}} must be a valid GUID","string.hex":"{{#label}} must only contain hexadecimal characters","string.hexAlign":"{{#label}} hex decoded representation must be byte aligned","string.hostname":"{{#label}} must be a valid hostname","string.ip":"{{#label}} must be a valid ip address with a {{#cidr}} CIDR","string.ipVersion":"{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR","string.isoDate":"{{#label}} must be in iso format","string.isoDuration":"{{#label}} must be a valid ISO 8601 duration","string.length":"{{#label}} length must be {{#limit}} characters long","string.lowercase":"{{#label}} must only contain lowercase characters","string.max":"{{#label}} length must be less than or equal to {{#limit}} characters long","string.min":"{{#label}} length must be at least {{#limit}} characters long","string.normalize":"{{#label}} must be unicode normalized in the {{#form}} form","string.token":"{{#label}} must only contain alpha-numeric and underscore characters","string.pattern.base":"{{#label}} with value {:[.]} fails to match the required pattern: {{#regex}}","string.pattern.name":"{{#label}} with value {:[.]} fails to match the {{#name}} pattern","string.pattern.invert.base":"{{#label}} with value {:[.]} matches the inverted pattern: {{#regex}}","string.pattern.invert.name":"{{#label}} with value {:[.]} matches the inverted {{#name}} pattern","string.trim":"{{#label}} must not have leading or trailing whitespace","string.uri":"{{#label}} must be a valid uri","string.uriCustomScheme":"{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern","string.uriRelativeOnly":"{{#label}} must be a valid relative uri","string.uppercase":"{{#label}} must only contain uppercase characters"}}),g.addressOptions=function(e){if(!e)return e;if(s(void 0===e.minDomainSegments||Number.isSafeInteger(e.minDomainSegments)&&e.minDomainSegments>0,"minDomainSegments must be a positive integer"),s(void 0===e.maxDomainSegments||Number.isSafeInteger(e.maxDomainSegments)&&e.maxDomainSegments>0,"maxDomainSegments must be a positive integer"),!1===e.tlds)return e;if(!0===e.tlds||void 0===e.tlds)return s(g.tlds,"Built-in TLD list disabled"),Object.assign({},e,g.tlds);s("object"==typeof e.tlds,"tlds must be true, false, or an object");const t=e.tlds.deny;if(t)return Array.isArray(t)&&(e=Object.assign({},e,{tlds:{deny:new Set(t)}})),s(e.tlds.deny instanceof Set,"tlds.deny must be an array, Set, or boolean"),s(!e.tlds.allow,"Cannot specify both tlds.allow and tlds.deny lists"),g.validateTlds(e.tlds.deny,"tlds.deny"),e;const r=e.tlds.allow;return r?!0===r?(s(g.tlds,"Built-in TLD list disabled"),Object.assign({},e,g.tlds)):(Array.isArray(r)&&(e=Object.assign({},e,{tlds:{allow:new Set(r)}})),s(e.tlds.allow instanceof Set,"tlds.allow must be an array, Set, or boolean"),g.validateTlds(e.tlds.allow,"tlds.allow"),e):e},g.validateTlds=function(e,t){for(const r of e)s(a.isValid(r,{minDomainSegments:1,maxDomainSegments:1}),"".concat(t," must contain valid top level domain names"))},g.isoDate=function(e){if(!p.isIsoDate(e))return null;/.*T.*[+-]\d\d$/.test(e)&&(e+="00");const t=new Date(e);return isNaN(t.getTime())?null:t.toISOString()},g.length=function(e,t,r,n,o){return s(!o||!1,"Invalid encoding:",o),e.$_addRule({name:t,method:"length",args:{limit:r,encoding:o},operator:n})}},function(e,t,r){"use strict";const n=r(24),o=r(23),i=r(25),s={nonAsciiRx:/[^\x00-\x7f]/,encoder:new(n.TextEncoder||TextEncoder)};t.analyze=function(e,t){return s.email(e,t)},t.isValid=function(e,t){return!s.email(e,t)},s.email=function(e,t={}){if("string"!=typeof e)throw new Error("Invalid input: email must be a string");if(!e)return i.code("EMPTY_STRING");const r=!s.nonAsciiRx.test(e);if(!r){if(!1===t.allowUnicode)return i.code("FORBIDDEN_UNICODE");e=e.normalize("NFC")}const n=e.split("@");if(2!==n.length)return n.length>2?i.code("MULTIPLE_AT_CHAR"):i.code("MISSING_AT_CHAR");const[a,c]=n;if(!a)return i.code("EMPTY_LOCAL");if(!t.ignoreLength){if(e.length>254)return i.code("ADDRESS_TOO_LONG");if(s.encoder.encode(a).length>64)return i.code("LOCAL_TOO_LONG")}return s.local(a,r)||o.analyze(c,t)},s.local=function(e,t){const r=e.split(".");for(const e of r){if(!e.length)return i.code("EMPTY_LOCAL_SEGMENT");if(t){if(!s.atextRx.test(e))return i.code("INVALID_LOCAL_CHARS")}else for(const t of e){if(s.atextRx.test(t))continue;const e=s.binary(t);if(!s.atomRx.test(e))return i.code("INVALID_LOCAL_CHARS")}}},s.binary=function(e){return Array.from(s.encoder.encode(e)).map(e=>String.fromCharCode(e)).join("")},s.atextRx=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,s.atomRx=new RegExp(["(?:[\\xc2-\\xdf][\\x80-\\xbf])","(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})","(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})"].join("|"))},function(e,t,r){"use strict";const n=r(0),o=r(26);t.regex=function(e={}){n(void 0===e.cidr||"string"==typeof e.cidr,"options.cidr must be a string");const t=e.cidr?e.cidr.toLowerCase():"optional";n(["required","optional","forbidden"].includes(t),"options.cidr must be one of required, optional, forbidden"),n(void 0===e.version||"string"==typeof e.version||Array.isArray(e.version),"options.version must be a string or an array of string");let r=e.version||["ipv4","ipv6","ipvfuture"];Array.isArray(r)||(r=[r]),n(r.length>=1,"options.version must have at least 1 version specified");for(let e=0;e{if("forbidden"===t)return o.ip[e];const r="\\/".concat("ipv4"===e?o.ip.v4Cidr:o.ip.v6Cidr);return"required"===t?"".concat(o.ip[e]).concat(r):"".concat(o.ip[e],"(?:").concat(r,")?")}),s="(?:".concat(i.join("|"),")"),a=new RegExp("^".concat(s,"$"));return{cidr:t,versions:r,regex:a,raw:s}}},function(e,t){},function(e,t,r){"use strict";const n=r(0),o=r(3),i={};i.Map=class extends Map{slice(){return new i.Map(this)}},e.exports=o.extend({type:"symbol",terms:{map:{init:new i.Map}},coerce:{method(e,{schema:t,error:r}){const n=t.$_terms.map.get(e);return n&&(e=n),t._flags.only&&"symbol"!=typeof e?{value:e,errors:r("symbol.map",{map:t.$_terms.map})}:{value:e}}},validate(e,{error:t}){if("symbol"!=typeof e)return{value:e,errors:t("symbol.base")}},rules:{map:{method(e){e&&!e[Symbol.iterator]&&"object"==typeof e&&(e=Object.entries(e)),n(e&&e[Symbol.iterator],"Iterable must be an iterable or object");const t=this.clone(),r=[];for(const o of e){n(o&&o[Symbol.iterator],"Entry must be an iterable");const[e,i]=o;n("object"!=typeof e&&"function"!=typeof e&&"symbol"!=typeof e,"Key must not be of type object, function, or Symbol"),n("symbol"==typeof i,"Value must be a Symbol"),t.$_terms.map.set(e,i),r.push(i)}return t.valid(...r)}}},manifest:{build:(e,t)=>(t.map&&(e=e.map(t.map)),e)},messages:{"symbol.base":"{{#label}} must be a symbol","symbol.map":"{{#label}} must be one of {{#map}}"}})}])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionForegroundService=void 0;t.InteractionForegroundService=class{constructor(e){this.handler=e}pushData(e){this.handler.onInteractionDataReceived(e)}pushEvent(e){this.handler.onEventDataReceived(e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interactionForegroundInit=void 0;const n=r(179),o=r(340),i=r(674);t.interactionForegroundInit=function(e,t){e.registerMessage(n.PushInteractionDataMsg),e.registerMessage(n.PushEventDataMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const n=r(179);t.getHandler=e=>(t,r)=>{switch(r.constructor){case n.PushInteractionDataMsg:return o(e)(t,r);case n.PushEventDataMsg:return i(e)(t,r);default:throw new Error("Unknown msg type")}};const o=e=>(t,r)=>e.pushData(r.data),i=e=>(t,r)=>e.pushEvent(r.data)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(128),o=r(336),i=r(677);t.init=function(e,t){e.registerMessage(n.GetChainInfosMsg),e.registerMessage(n.SuggestChainInfoMsg),e.registerMessage(n.RemoveSuggestedChainInfoMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(128);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.GetChainInfosMsg:return i(e)(t,r);case o.SuggestChainInfoMsg:return s(e)(t,r);case o.RemoveSuggestedChainInfoMsg:return a(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>()=>n(void 0,void 0,void 0,(function*(){return{chainInfos:yield e.getChainInfos()}})),s=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){if(yield e.hasChainInfo(r.chainInfo.chainId))return;const n=r.chainInfo;n.beta=!0,yield e.suggestChainInfo(t,n,r.origin)})),a=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.removeChainInfo(r.chainId),yield e.getChainInfos()}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(343),t),o(r(713),t)},function(e,t,r){"use strict";(function(e){var n=r(115);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(129)),i=n(r(130)),s=n(r(681)),a=n(r(682)),c=n(r(72)),u=n(r(75)),l=n(r(94)),f=r(345),d=r(684),h=r(181),p=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.APP_KEY;if((0,s.default)(this,t),!e)throw new Error("Transport has not been defined");this.transport=e,e.decorateAppAPIMethods(this,["getVersion","sign","getAddressAndPubKey","appInfo","deviceInfo","getBech32FromPK"],r)}var r,n,p,g,m,y,b,v,w,_;return(0,a.default)(t,[{key:"serializePath",value:(_=(0,i.default)(o.default.mark((function e(t){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,h.getVersion)(this.transport);case 2:if(this.versionResponse=e.sent,this.versionResponse.return_code===h.ERROR_CODE.NoError){e.next=5;break}throw this.versionResponse;case 5:e.t0=this.versionResponse.major,e.next=1===e.t0?8:2===e.t0?9:10;break;case 8:return e.abrupt("return",(0,f.serializePathv1)(t));case 9:return e.abrupt("return",(0,d.serializePathv2)(t));case 10:return e.abrupt("return",{return_code:25600,error_message:"App Version is not supported"});case 11:case"end":return e.stop()}}),e,this)}))),function(e){return _.apply(this,arguments)})},{key:"signGetChunks",value:(w=(0,i.default)(o.default.mark((function t(r,n){var i,s,a,c,u;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.serializePath(r);case 2:for(i=t.sent,(s=[]).push(i),a=e.from(n),c=0;ca.length&&(u=a.length),s.push(a.slice(c,u));return t.abrupt("return",s);case 8:case"end":return t.stop()}}),t,this)}))),function(e,t){return w.apply(this,arguments)})},{key:"getVersion",value:(v=(0,i.default)(o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,h.getVersion)(this.transport);case 3:return this.versionResponse=e.sent,e.abrupt("return",this.versionResponse);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",(0,h.processErrorResponse)(e.t0));case 10:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(){return v.apply(this,arguments)})},{key:"appInfo",value:(b=(0,i.default)(o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.transport.send(176,1,0,0).then((function(e){var t=e.slice(-2),r=256*t[0]+t[1],n={},o="err",i="err",s=0,a=0;if(1!==e[0])n.error_message="response format ID not recognized",n.return_code=36865;else{var c=e[1];o=e.slice(2,2+c).toString("ascii");var u=2+c,l=e[u];u+=1,i=e.slice(u,u+l).toString("ascii"),s=e[u+=l],a=e[u+=1]}return{return_code:r,error_message:(0,h.errorCodeToString)(r),appName:o,appVersion:i,flagLen:s,flagsValue:a,flag_recovery:0!=(1&a),flag_signed_mcu_code:0!=(2&a),flag_onboarded:0!=(4&a),flag_pin_validated:0!=(128&a)}}),h.processErrorResponse));case 1:case"end":return e.stop()}}),e,this)}))),function(){return b.apply(this,arguments)})},{key:"deviceInfo",value:(y=(0,i.default)(o.default.mark((function t(){return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.transport.send(224,1,0,0,e.from([]),[h.ERROR_CODE.NoError,28160]).then((function(e){var t=e.slice(-2),r=256*t[0]+t[1];if(28160===r)return{return_code:r,error_message:"This command is only available in the Dashboard"};var n=e.slice(0,4).toString("hex"),o=4,i=e[o];o+=1;var s=e.slice(o,o+i).toString(),a=e[o+=i];o+=1;var c=e.slice(o,o+a).toString("hex"),u=e[o+=a];o+=1;var l=e.slice(o,o+u);0===l[u-1]&&(l=e.slice(o,o+u-1));var f=l.toString();return{return_code:r,error_message:(0,h.errorCodeToString)(r),targetId:n,seVersion:s,flag:c,mcuVersion:f}}),h.processErrorResponse));case 1:case"end":return t.stop()}}),t,this)}))),function(){return y.apply(this,arguments)})},{key:"publicKey",value:(m=(0,i.default)(o.default.mark((function r(n){var i,s;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,this.serializePath(n);case 3:i=r.sent,r.t0=this.versionResponse.major,r.next=1===r.t0?7:2===r.t0?8:10;break;case 7:return r.abrupt("return",(0,f.publicKeyv1)(this,i));case 8:return s=e.concat([t.serializeHRP("cosmos"),i]),r.abrupt("return",(0,d.publicKeyv2)(this,s));case 10:return r.abrupt("return",{return_code:25600,error_message:"App Version is not supported"});case 11:r.next=16;break;case 13:return r.prev=13,r.t1=r.catch(0),r.abrupt("return",(0,h.processErrorResponse)(r.t1));case 16:case"end":return r.stop()}}),r,this,[[0,13]])}))),function(e){return m.apply(this,arguments)})},{key:"getAddressAndPubKey",value:(g=(0,i.default)(o.default.mark((function r(n,i){var s=this;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.abrupt("return",this.serializePath(n).then((function(r){var n=e.concat([t.serializeHRP(i),r]);return s.transport.send(h.CLA,h.INS.GET_ADDR_SECP256K1,h.P1_VALUES.ONLY_RETRIEVE,0,n,[h.ERROR_CODE.NoError]).then((function(t){var r=t.slice(-2),n=256*r[0]+r[1],o=e.from(t.slice(0,33));return{bech32_address:e.from(t.slice(33,-2)).toString(),compressed_pk:o,return_code:n,error_message:(0,h.errorCodeToString)(n)}}),h.processErrorResponse)})).catch((function(e){return(0,h.processErrorResponse)(e)})));case 4:return r.prev=4,r.t0=r.catch(0),r.abrupt("return",(0,h.processErrorResponse)(r.t0));case 7:case"end":return r.stop()}}),r,this,[[0,4]])}))),function(e,t){return g.apply(this,arguments)})},{key:"showAddressAndPubKey",value:(p=(0,i.default)(o.default.mark((function r(n,i){var s=this;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.abrupt("return",this.serializePath(n).then((function(r){var n=e.concat([t.serializeHRP(i),r]);return s.transport.send(h.CLA,h.INS.GET_ADDR_SECP256K1,h.P1_VALUES.SHOW_ADDRESS_IN_DEVICE,0,n,[h.ERROR_CODE.NoError]).then((function(t){var r=t.slice(-2),n=256*r[0]+r[1],o=e.from(t.slice(0,33));return{bech32_address:e.from(t.slice(33,-2)).toString(),compressed_pk:o,return_code:n,error_message:(0,h.errorCodeToString)(n)}}),h.processErrorResponse)})).catch((function(e){return(0,h.processErrorResponse)(e)})));case 4:return r.prev=4,r.t0=r.catch(0),r.abrupt("return",(0,h.processErrorResponse)(r.t0));case 7:case"end":return r.stop()}}),r,this,[[0,4]])}))),function(e,t){return p.apply(this,arguments)})},{key:"signSendChunk",value:(n=(0,i.default)(o.default.mark((function e(t,r,n){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=this.versionResponse.major,e.next=1===e.t0?3:2===e.t0?4:5;break;case 3:return e.abrupt("return",(0,f.signSendChunkv1)(this,t,r,n));case 4:return e.abrupt("return",(0,d.signSendChunkv2)(this,t,r,n));case 5:return e.abrupt("return",{return_code:25600,error_message:"App Version is not supported"});case 6:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return n.apply(this,arguments)})},{key:"sign",value:(r=(0,i.default)(o.default.mark((function e(t,r){var n=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.signGetChunks(t,r).then((function(e){return n.signSendChunk(1,e.length,e[0],[h.ERROR_CODE.NoError]).then(function(){var t=(0,i.default)(o.default.mark((function t(r){var i,s;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i={return_code:r.return_code,error_message:r.error_message,signature:null},s=1;case 2:if(!(s83)throw new Error("Invalid HRP");var r=e.alloc(1+t.length);return r.writeUInt8(t.length,0),r.write(t,1),r}},{key:"getBech32FromPK",value:function(e,t){if(33!==t.length)throw new Error("expected compressed public key [31 bytes]");var r=c.default.createHash("sha256").update(t).digest(),n=(new u.default).update(r).digest();return l.default.encode(e,l.default.toWords(n))}}]),t}();t.default=p}).call(this,r(2).Buffer)},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",s=n.toStringTag||"@@toStringTag";function a(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(e){a=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),s=new S(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return j()}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var a=w(s,r);if(a){if(a===l)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,s),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function f(){}function d(){}function h(){}var p={};p[o]=function(){return this};var g=Object.getPrototypeOf,m=g&&g(g(O([])));m&&m!==t&&r.call(m,o)&&(p=m);var y=h.prototype=f.prototype=Object.create(p);function b(e){["next","throw","return"].forEach((function(t){a(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){var n;this._invoke=function(o,i){function s(){return new t((function(n,s){!function n(o,i,s,a){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,a)}))}a(c.arg)}(o,i,n,s)}))}return n=n?n.then(s,s):s()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(a&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:O(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function r(e,t){for(var r=0;r{this._disconnectEmitted||(this._disconnectEmitted=!0,this.emit("disconnect",e))},this.exchange=t=>this.exchangeAtomicImpl(async()=>{const{channel:r,packetSize:n}=this;Object(a.a)("apdu","=> "+t.toString("hex"));const o=i()(r,n),s=o.makeBlocks(t);for(let e=0;e{if(e&&e.message&&e.message.includes("disconnected"))throw this._emitDisconnect(e),new c.DisconnectedDeviceDuringOperation(e.message);throw e}),this.device=t,this.interfaceNumber=r,this.deviceModel=Object(s.a)(t.productId)}static async request(){const e=await Object(u.d)();return l.open(e)}static async openConnected(){const e=await Object(u.b)();return 0===e.length?null:l.open(e[0])}static async open(e){await e.open(),null===e.configuration&&await e.selectConfiguration(1),await f(e);const t=e.configurations[0].interfaces.find(({alternates:e})=>e.some(e=>255===e.interfaceClass));if(!t)throw new c.TransportInterfaceNotAvailable("No WebUSB interface found for your Ledger device. Please upgrade firmware or contact techsupport.");const r=t.interfaceNumber;try{await e.claimInterface(r)}catch(t){throw await e.close(),new c.TransportInterfaceNotAvailable(t.message)}const n=new l(e,r),o=t=>{e===t.device&&(navigator.usb.removeEventListener("disconnect",o),n._emitDisconnect(new c.DisconnectedDevice))};return navigator.usb.addEventListener("disconnect",o),n}async close(){await this.exchangeBusyPromise,await this.device.releaseInterface(this.interfaceNumber),await f(this.device),await this.device.close()}setScrambleKey(){}}async function f(e){try{await e.reset()}catch(e){console.warn(e)}}l.isSupported=u.c,l.list=u.b,l.listen=e=>{let t=!1;return Object(u.a)().then(r=>{if(!t){const t=Object(s.a)(r.productId);e.next({type:"add",descriptor:r,deviceModel:t}),e.complete()}},t=>{window.DOMException&&t instanceof window.DOMException&&18===t.code?e.error(new c.TransportWebUSBGestureRequired(t.message)):e.error(new c.TransportOpenUserCancelled(t.message))}),{unsubscribe:function(){t=!0}}}}.call(this,r(2).Buffer)},function(e,t,r){const n=r(85);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},function(e,t,r){const n=r(85);e.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},function(e,t,r){const n=r(24);e.exports=(e,t,r,o)=>{"string"==typeof r&&(o=r,r=void 0);try{return new n(e,r).inc(t,o).version}catch(e){return null}}},function(e,t,r){const n=r(85),o=r(183);e.exports=(e,t)=>{if(o(e,t))return null;{const r=n(e),o=n(t),i=r.prerelease.length||o.prerelease.length,s=i?"pre":"",a=i?"prerelease":"";for(const e in r)if(("major"===e||"minor"===e||"patch"===e)&&r[e]!==o[e])return s+e;return a}}},function(e,t,r){const n=r(24);e.exports=(e,t)=>new n(e,t).major},function(e,t,r){const n=r(24);e.exports=(e,t)=>new n(e,t).minor},function(e,t,r){const n=r(24);e.exports=(e,t)=>new n(e,t).patch},function(e,t,r){const n=r(85);e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>n(t,e,r)},function(e,t,r){const n=r(40);e.exports=(e,t)=>n(e,t,!0)},function(e,t,r){const n=r(184);e.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))},function(e,t,r){const n=r(184);e.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))},function(e,t,r){const n=r(24),o=r(85),{re:i,t:s}=r(84);e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let t;for(;(t=i[s.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&t.index+t[0].length===r.index+r[0].length||(r=t),i[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[s.COERCERTL].lastIndex=-1}else r=e.match(i[s.COERCE]);return null===r?null:o(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}},function(e,t,r){"use strict";const n=r(700),o=Symbol("max"),i=Symbol("length"),s=Symbol("lengthCalculator"),a=Symbol("allowStale"),c=Symbol("maxAge"),u=Symbol("dispose"),l=Symbol("noDisposeOnSet"),f=Symbol("lruList"),d=Symbol("cache"),h=Symbol("updateAgeOnGet"),p=()=>1;const g=(e,t,r)=>{const n=e[d].get(t);if(n){const t=n.value;if(m(e,t)){if(b(e,n),!e[a])return}else r&&(e[h]&&(n.value.now=Date.now()),e[f].unshiftNode(n));return t.value}},m=(e,t)=>{if(!t||!t.maxAge&&!e[c])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[c]&&r>e[c]},y=e=>{if(e[i]>e[o])for(let t=e[f].tail;e[i]>e[o]&&null!==t;){const r=t.prev;b(e,t),t=r}},b=(e,t)=>{if(t){const r=t.value;e[u]&&e[u](r.key,r.value),e[i]-=r.length,e[d].delete(r.key),e[f].removeNode(t)}};class v{constructor(e,t,r,n,o){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=o||0}}const w=(e,t,r,n)=>{let o=r.value;m(e,o)&&(b(e,r),e[a]||(o=void 0)),o&&t.call(n,o.value,o.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||p;if(this[s]="function"!=typeof t?p:t,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[c]=e.maxAge||0,this[u]=e.dispose,this[l]=e.noDisposeOnSet||!1,this[h]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,y(this)}get max(){return this[o]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[c]=e,y(this)}get maxAge(){return this[c]}set lengthCalculator(e){"function"!=typeof e&&(e=p),e!==this[s]&&(this[s]=e,this[i]=0,this[f].forEach(e=>{e.length=this[s](e.value,e.key),this[i]+=e.length})),y(this)}get lengthCalculator(){return this[s]}get length(){return this[i]}get itemCount(){return this[f].length}rforEach(e,t){t=t||this;for(let r=this[f].tail;null!==r;){const n=r.prev;w(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[f].head;null!==r;){const n=r.next;w(this,e,r,t),r=n}}keys(){return this[f].toArray().map(e=>e.key)}values(){return this[f].toArray().map(e=>e.value)}reset(){this[u]&&this[f]&&this[f].length&&this[f].forEach(e=>this[u](e.key,e.value)),this[d]=new Map,this[f]=new n,this[i]=0}dump(){return this[f].map(e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[f]}set(e,t,r){if((r=r||this[c])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const n=r?Date.now():0,a=this[s](t,e);if(this[d].has(e)){if(a>this[o])return b(this,this[d].get(e)),!1;const s=this[d].get(e).value;return this[u]&&(this[l]||this[u](e,s.value)),s.now=n,s.maxAge=r,s.value=t,this[i]+=a-s.length,s.length=a,this.get(e),y(this),!0}const h=new v(e,t,a,n,r);return h.length>this[o]?(this[u]&&this[u](e,t),!1):(this[i]+=h.length,this[f].unshift(h),this[d].set(e,this[f].head),y(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!m(this,t)}get(e){return g(this,e,!0)}peek(e){return g(this,e,!1)}pop(){const e=this[f].tail;return e?(b(this,e),e.value):null}del(e){b(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const n=e[r],o=n.e||0;if(0===o)this.set(n.k,n.v);else{const e=o-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[d].forEach((e,t)=>g(this,t,!1))}}},function(e,t,r){"use strict";function n(e){var t=this;if(t instanceof n||(t=new n),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var r=0,o=arguments.length;r1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var o=0;null!==n;o++)r=e(r,n.value,o),n=n.next;return r},n.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var o=this.length-1;null!==n;o--)r=e(r,n.value,o),n=n.prev;return r},n.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},n.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},n.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(tthis.length&&(t=this.length);for(var o=0,i=this.head;null!==i&&othis.length&&(t=this.length);for(var o=this.length,i=this.tail;null!==i&&o>t;o--)i=i.prev;for(;null!==i&&o>e;o--,i=i.prev)r.push(i.value);return r},n.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,i=this.head;null!==i&&nnew n(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},function(e,t,r){const n=r(24),o=r(41);e.exports=(e,t,r)=>{let i=null,s=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(i&&-1!==s.compare(e)||(i=e,s=new n(i,r)))}),i}},function(e,t,r){const n=r(24),o=r(41);e.exports=(e,t,r)=>{let i=null,s=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(i&&1!==s.compare(e)||(i=e,s=new n(i,r)))}),i}},function(e,t,r){const n=r(24),o=r(41),i=r(134);e.exports=(e,t)=>{e=new o(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":s&&!i(t,s)||(s=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}),!s||r&&!i(r,s)||(r=s)}return r&&e.test(r)?r:null}},function(e,t,r){const n=r(41);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},function(e,t,r){const n=r(188);e.exports=(e,t,r)=>n(e,t,">",r)},function(e,t,r){const n=r(188);e.exports=(e,t,r)=>n(e,t,"<",r)},function(e,t,r){const n=r(41);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t))},function(e,t,r){const n=r(136),o=r(40);e.exports=(e,t,r)=>{const i=[];let s=null,a=null;const c=e.sort((e,t)=>o(e,t,r));for(const e of c){n(e,t,r)?(a=e,s||(s=e)):(a&&i.push([s,a]),a=null,s=null)}s&&i.push([s,null]);const u=[];for(const[e,t]of i)e===t?u.push(e):t||e!==c[0]?t?e===c[0]?u.push("<="+t):u.push(`${e} - ${t}`):u.push(">="+e):u.push("*");const l=u.join(" || "),f="string"==typeof t.raw?t.raw:String(t);return l.length{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?[new o(">=0.0.0-0")]:[new o(">=0.0.0")]}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=[new o(">=0.0.0")]}const n=new Set;let c,f,d,h,p,g,m;for(const t of e)">"===t.operator||">="===t.operator?c=u(c,t,r):"<"===t.operator||"<="===t.operator?f=l(f,t,r):n.add(t.semver);if(n.size>1)return null;if(c&&f){if(d=a(c.semver,f.semver,r),d>0)return null;if(0===d&&(">="!==c.operator||"<="!==f.operator))return null}for(const e of n){if(c&&!s(e,String(c),r))return null;if(f&&!s(e,String(f),r))return null;for(const n of t)if(!s(e,String(n),r))return!1;return!0}let y=!(!f||r.includePrerelease||!f.semver.prerelease.length)&&f.semver,b=!(!c||r.includePrerelease||!c.semver.prerelease.length)&&c.semver;y&&1===y.prerelease.length&&"<"===f.operator&&0===y.prerelease[0]&&(y=!1);for(const e of t){if(m=m||">"===e.operator||">="===e.operator,g=g||"<"===e.operator||"<="===e.operator,c)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),">"===e.operator||">="===e.operator){if(h=u(c,e,r),h===e&&h!==c)return!1}else if(">="===c.operator&&!s(c.semver,String(e),r))return!1;if(f)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),"<"===e.operator||"<="===e.operator){if(p=l(f,e,r),p===e&&p!==f)return!1}else if("<="===f.operator&&!s(f.semver,String(e),r))return!1;if(!e.operator&&(f||c)&&0!==d)return!1}return!(c&&g&&!f&&0!==d)&&(!(f&&m&&!c&&0!==d)&&(!b&&!y))},u=(e,t,r)=>{if(!e)return t;const n=a(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},l=(e,t,r)=>{if(!e)return t;const n=a(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let o=!1;e:for(const n of e.set){for(const e of t.set){const t=c(n,e,r);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},function(e,t,r){"use strict";r.r(t),function(e,n){r.d(t,"default",(function(){return p}));var o=r(143),i=r(144),s=r.n(i),a=r(44),c=r(86),u=r(15);const l=[{vendorId:a.b}],f=()=>{const{hid:e}=navigator;if(!e)throw new u.TransportError("navigator.hid is not supported","HIDNotSupported");return e};async function d(){const e=await f().requestDevice({filters:l});return Array.isArray(e)?e:[e]}async function h(){return(await f().getDevices()).filter(e=>e.vendorId===a.b)}class p extends o.a{constructor(e){super(),this.device=void 0,this.deviceModel=void 0,this.channel=Math.floor(65535*Math.random()),this.packetSize=64,this.inputs=[],this.inputCallback=void 0,this.read=()=>this.inputs.length?Promise.resolve(this.inputs.shift()):new Promise(e=>{this.inputCallback=e}),this.onInputReport=e=>{const t=n.from(e.data.buffer);this.inputCallback?(this.inputCallback(t),this.inputCallback=null):this.inputs.push(t)},this._disconnectEmitted=!1,this._emitDisconnect=e=>{this._disconnectEmitted||(this._disconnectEmitted=!0,this.emit("disconnect",e))},this.exchange=e=>this.exchangeAtomicImpl(async()=>{const{channel:t,packetSize:r}=this;Object(c.a)("apdu","=> "+e.toString("hex"));const n=s()(t,r),o=n.makeBlocks(e);for(let e=0;e{if(e&&e.message&&e.message.includes("write"))throw this._emitDisconnect(e),new u.DisconnectedDeviceDuringOperation(e.message);throw e}),this.device=e,this.deviceModel=Object(a.a)(e.productId),e.addEventListener("inputreport",this.onInputReport)}static async request(){const[e]=await d();return p.open(e)}static async openConnected(){const e=await h();return 0===e.length?null:p.open(e[0])}static async open(e){await e.open();const t=new p(e),r=n=>{e===n.device&&(f().removeEventListener("disconnect",r),t._emitDisconnect(new u.DisconnectedDevice))};return f().addEventListener("disconnect",r),t}async close(){await this.exchangeBusyPromise,this.device.removeEventListener("inputreport",this.onInputReport),await this.device.close()}setScrambleKey(){}}p.isSupported=()=>Promise.resolve(!(!e.navigator||!e.navigator.hid)),p.list=h,p.listen=e=>{let t=!1;return async function(){const e=await h();return e.length>0?e[0]:(await d())[0]}().then(r=>{if(r){if(!t){const t=Object(a.a)(r.productId);e.next({type:"add",descriptor:r,deviceModel:t}),e.complete()}}else e.error(new u.TransportOpenUserCancelled("Access denied to use Ledger device"))},t=>{e.error(new u.TransportOpenUserCancelled(t.message))}),{unsubscribe:function(){t=!0}}}}.call(this,r(12),r(2).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(189),o=r(348),i=r(714);t.init=function(e,t){e.registerMessage(n.LedgerGetWebHIDFlagMsg),e.registerMessage(n.LedgerSetWebHIDFlagMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(189);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.LedgerGetWebHIDFlagMsg:return i(e)(t,r);case o.LedgerSetWebHIDFlagMsg:return s(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.getWebHIDFlag()})),s=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.setWebHIDFlag(r.flag)}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(349),t),o(r(728),t)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Crypto=void 0;const c=a(r(410)),u=i(r(717)),l=r(108),f=r(2);class d{static encrypt(e,t,r,n,o,i){return s(this,void 0,void 0,(function*(){let s=new Uint8Array(32);const a={salt:f.Buffer.from(yield e(s)).toString("hex"),dklen:32,n:131072,r:8,p:1},c=yield d.scrpyt(n,a),h=f.Buffer.from(r);s=new Uint8Array(16);const p=f.Buffer.from(yield e(s)),g=new u.Counter(0);g.setBytes(p);const m=new u.default.ModeOfOperation.ctr(c,g),y=f.Buffer.from(m.encrypt(h)),b=l.Hash.sha256(f.Buffer.concat([f.Buffer.from(c.slice(c.length/2)),y]));return{version:"1.2",type:t,coinTypeForChain:{},bip44HDPath:i,meta:o,crypto:{cipher:"aes-128-ctr",cipherparams:{iv:p.toString("hex")},ciphertext:y.toString("hex"),kdf:"scrypt",kdfparams:a,mac:f.Buffer.from(b).toString("hex")}}}))}static decrypt(e,t){return s(this,void 0,void 0,(function*(){const r=yield d.scrpyt(t,e.crypto.kdfparams),n=new u.Counter(0);n.setBytes(f.Buffer.from(e.crypto.cipherparams.iv,"hex"));const o=new u.default.ModeOfOperation.ctr(r,n),i=l.Hash.sha256(f.Buffer.concat([f.Buffer.from(r.slice(r.length/2)),f.Buffer.from(e.crypto.ciphertext,"hex")]));if(!f.Buffer.from(i).equals(f.Buffer.from(e.crypto.mac,"hex")))throw new Error("Unmatched mac");return f.Buffer.from(o.decrypt(f.Buffer.from(e.crypto.ciphertext,"hex")))}))}static scrpyt(e,t){return s(this,void 0,void 0,(function*(){const r=f.Buffer.from(e);return yield c.default.scrypt(r,f.Buffer.from(t.salt,"hex"),t.n,t.r,t.p,t.dklen)}))}}t.Crypto=d},function(e,t,r){ -/*! MIT License. Copyright 2015-2018 Richard Moore . See LICENSE.txt. */ -!function(t){"use strict";function r(e){return parseInt(e)===e}function n(e){if(!r(e.length))return!1;for(var t=0;t255)return!1;return!0}function o(e,t){if(e.buffer&&"Uint8Array"===e.name)return t&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!n(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(r(e.length)&&n(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function i(e){return new Uint8Array(e)}function s(e,t,r,n,o){null==n&&null==o||(e=e.slice?e.slice(n,o):Array.prototype.slice.call(e,n,o)),t.set(e,r)}var a,c={toBytes:function(e){var t=[],r=0;for(e=encodeURI(e);r191&&n<224?(t.push(String.fromCharCode((31&n)<<6|63&e[r+1])),r+=2):(t.push(String.fromCharCode((15&n)<<12|(63&e[r+1])<<6|63&e[r+2])),r+=3)}return t.join("")}},u=(a="0123456789abcdef",{toBytes:function(e){for(var t=[],r=0;r>4]+a[15&n])}return t.join("")}}),l={16:10,24:12,32:14},f=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],d=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],h=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],p=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],g=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],m=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],y=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],b=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],v=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],w=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],_=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],k=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],S=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],O=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],j=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function E(e){for(var t=[],r=0;r>2,this._Ke[r][t%4]=i[t],this._Kd[e-r][t%4]=i[t];for(var s,a=0,c=o;c>16&255]<<24^d[s>>8&255]<<16^d[255&s]<<8^d[s>>24&255]^f[a]<<24,a+=1,8!=o)for(t=1;t>8&255]<<8^d[s>>16&255]<<16^d[s>>24&255]<<24;for(t=o/2+1;t>2,h=c%4,this._Ke[u][h]=i[t],this._Kd[e-u][h]=i[t++],c++}for(var u=1;u>24&255]^S[s>>16&255]^O[s>>8&255]^j[255&s]},P.prototype.encrypt=function(e){if(16!=e.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var t=this._Ke.length-1,r=[0,0,0,0],n=E(e),o=0;o<4;o++)n[o]^=this._Ke[0][o];for(var s=1;s>24&255]^g[n[(o+1)%4]>>16&255]^m[n[(o+2)%4]>>8&255]^y[255&n[(o+3)%4]]^this._Ke[s][o];n=r.slice()}var a,c=i(16);for(o=0;o<4;o++)a=this._Ke[t][o],c[4*o]=255&(d[n[o]>>24&255]^a>>24),c[4*o+1]=255&(d[n[(o+1)%4]>>16&255]^a>>16),c[4*o+2]=255&(d[n[(o+2)%4]>>8&255]^a>>8),c[4*o+3]=255&(d[255&n[(o+3)%4]]^a);return c},P.prototype.decrypt=function(e){if(16!=e.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var t=this._Kd.length-1,r=[0,0,0,0],n=E(e),o=0;o<4;o++)n[o]^=this._Kd[0][o];for(var s=1;s>24&255]^v[n[(o+3)%4]>>16&255]^w[n[(o+2)%4]>>8&255]^_[255&n[(o+1)%4]]^this._Kd[s][o];n=r.slice()}var a,c=i(16);for(o=0;o<4;o++)a=this._Kd[t][o],c[4*o]=255&(h[n[o]>>24&255]^a>>24),c[4*o+1]=255&(h[n[(o+3)%4]>>16&255]^a>>16),c[4*o+2]=255&(h[n[(o+2)%4]>>8&255]^a>>8),c[4*o+3]=255&(h[255&n[(o+1)%4]]^a);return c};var x=function(e){if(!(this instanceof x))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new P(e)};x.prototype.encrypt=function(e){if((e=o(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=i(e.length),r=i(16),n=0;nNumber.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(var t=15;t>=0;--t)this._counter[t]=e%256,e=parseInt(e/256)},C.prototype.setBytes=function(e){if(16!=(e=o(e,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=e},C.prototype.increment=function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}};var R=function(e,t){if(!(this instanceof R))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",t instanceof C||(t=new C(t)),this._counter=t,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new P(e)};R.prototype.encrypt=function(e){for(var t=o(e,!0),r=0;r16)throw new Error("PKCS#7 padding byte out of range");for(var r=e.length-t,n=0;n{const t=this.encode(e);return s.Any.fromPartial({typeUrl:e.typeUrl,value:t})}),r=i.TxBody.fromPartial(Object.assign(Object.assign({},e),{messages:t}));return Uint8Array.from(i.TxBody.encode(r).finish())}decode({typeUrl:t,value:r}){if(t===a.cosmosTxBody)return this.decodeTxBody(r);const n=this.lookupTypeWithError(t).decode(r);return Object.entries(n).forEach(([t,r])=>{void 0!==e&&void 0!==e.isBuffer&&e.isBuffer(r)&&(n[t]=Uint8Array.from(r))}),n}decodeTxBody(e){const t=i.TxBody.decode(e);return Object.assign(Object.assign({},t),{messages:t.messages.map(({typeUrl:e,value:t})=>{if(!e)throw new Error("Missing type_url in Any");if(!t)throw new Error("Missing value in Any");return this.decode({typeUrl:e,value:t})})})}}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MsgClientImpl=t.MsgMultiSendResponse=t.MsgMultiSend=t.MsgSendResponse=t.MsgSend=t.protobufPackage=void 0;const o=r(137),i=r(722),s=n(r(48));t.protobufPackage="cosmos.bank.v1beta1";const a={fromAddress:"",toAddress:""};t.MsgSend={encode(e,t=s.default.Writer.create()){t.uint32(10).string(e.fromAddress),t.uint32(18).string(e.toAddress);for(const r of e.amount)o.Coin.encode(r,t.uint32(26).fork()).ldelim();return t},decode(e,t){const r=e instanceof Uint8Array?new s.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const i=Object.assign({},a);for(i.amount=[];r.pos>>3){case 1:i.fromAddress=r.string();break;case 2:i.toAddress=r.string();break;case 3:i.amount.push(o.Coin.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},a);if(t.amount=[],void 0!==e.fromAddress&&null!==e.fromAddress?t.fromAddress=String(e.fromAddress):t.fromAddress="",void 0!==e.toAddress&&null!==e.toAddress?t.toAddress=String(e.toAddress):t.toAddress="",void 0!==e.amount&&null!==e.amount)for(const r of e.amount)t.amount.push(o.Coin.fromJSON(r));return t},fromPartial(e){const t=Object.assign({},a);if(t.amount=[],void 0!==e.fromAddress&&null!==e.fromAddress?t.fromAddress=e.fromAddress:t.fromAddress="",void 0!==e.toAddress&&null!==e.toAddress?t.toAddress=e.toAddress:t.toAddress="",void 0!==e.amount&&null!==e.amount)for(const r of e.amount)t.amount.push(o.Coin.fromPartial(r));return t},toJSON(e){const t={};return void 0!==e.fromAddress&&(t.fromAddress=e.fromAddress),void 0!==e.toAddress&&(t.toAddress=e.toAddress),e.amount?t.amount=e.amount.map(e=>e?o.Coin.toJSON(e):void 0):t.amount=[],t}};const c={};t.MsgSendResponse={encode:(e,t=s.default.Writer.create())=>t,decode(e,t){const r=e instanceof Uint8Array?new s.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},c);for(;r.posObject.assign({},c),fromPartial:e=>Object.assign({},c),toJSON:e=>({})};const u={};t.MsgMultiSend={encode(e,t=s.default.Writer.create()){for(const r of e.inputs)i.Input.encode(r,t.uint32(10).fork()).ldelim();for(const r of e.outputs)i.Output.encode(r,t.uint32(18).fork()).ldelim();return t},decode(e,t){const r=e instanceof Uint8Array?new s.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},u);for(o.inputs=[],o.outputs=[];r.pos>>3){case 1:o.inputs.push(i.Input.decode(r,r.uint32()));break;case 2:o.outputs.push(i.Output.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},u);if(t.inputs=[],t.outputs=[],void 0!==e.inputs&&null!==e.inputs)for(const r of e.inputs)t.inputs.push(i.Input.fromJSON(r));if(void 0!==e.outputs&&null!==e.outputs)for(const r of e.outputs)t.outputs.push(i.Output.fromJSON(r));return t},fromPartial(e){const t=Object.assign({},u);if(t.inputs=[],t.outputs=[],void 0!==e.inputs&&null!==e.inputs)for(const r of e.inputs)t.inputs.push(i.Input.fromPartial(r));if(void 0!==e.outputs&&null!==e.outputs)for(const r of e.outputs)t.outputs.push(i.Output.fromPartial(r));return t},toJSON(e){const t={};return e.inputs?t.inputs=e.inputs.map(e=>e?i.Input.toJSON(e):void 0):t.inputs=[],e.outputs?t.outputs=e.outputs.map(e=>e?i.Output.toJSON(e):void 0):t.outputs=[],t}};const l={};t.MsgMultiSendResponse={encode:(e,t=s.default.Writer.create())=>t,decode(e,t){const r=e instanceof Uint8Array?new s.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},l);for(;r.posObject.assign({},l),fromPartial:e=>Object.assign({},l),toJSON:e=>({})};t.MsgClientImpl=class{constructor(e){this.rpc=e}Send(e){const r=t.MsgSend.encode(e).finish();return this.rpc.request("cosmos.bank.v1beta1.Msg","methodDesc.name",r).then(e=>t.MsgSendResponse.decode(new s.default.Reader(e)))}MultiSend(e){const r=t.MsgMultiSend.encode(e).finish();return this.rpc.request("cosmos.bank.v1beta1.Msg","methodDesc.name",r).then(e=>t.MsgMultiSendResponse.decode(new s.default.Reader(e)))}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=t.DenomUnit=t.Supply=t.Output=t.Input=t.SendEnabled=t.Params=t.protobufPackage=void 0;const o=r(137),i=n(r(48));t.protobufPackage="cosmos.bank.v1beta1";const s={defaultSendEnabled:!1};t.Params={encode(e,r=i.default.Writer.create()){for(const n of e.sendEnabled)t.SendEnabled.encode(n,r.uint32(10).fork()).ldelim();return r.uint32(16).bool(e.defaultSendEnabled),r},decode(e,r){const n=e instanceof Uint8Array?new i.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const a=Object.assign({},s);for(a.sendEnabled=[];n.pos>>3){case 1:a.sendEnabled.push(t.SendEnabled.decode(n,n.uint32()));break;case 2:a.defaultSendEnabled=n.bool();break;default:n.skipType(7&e)}}return a},fromJSON(e){const r=Object.assign({},s);if(r.sendEnabled=[],void 0!==e.sendEnabled&&null!==e.sendEnabled)for(const n of e.sendEnabled)r.sendEnabled.push(t.SendEnabled.fromJSON(n));return void 0!==e.defaultSendEnabled&&null!==e.defaultSendEnabled?r.defaultSendEnabled=Boolean(e.defaultSendEnabled):r.defaultSendEnabled=!1,r},fromPartial(e){const r=Object.assign({},s);if(r.sendEnabled=[],void 0!==e.sendEnabled&&null!==e.sendEnabled)for(const n of e.sendEnabled)r.sendEnabled.push(t.SendEnabled.fromPartial(n));return void 0!==e.defaultSendEnabled&&null!==e.defaultSendEnabled?r.defaultSendEnabled=e.defaultSendEnabled:r.defaultSendEnabled=!1,r},toJSON(e){const r={};return e.sendEnabled?r.sendEnabled=e.sendEnabled.map(e=>e?t.SendEnabled.toJSON(e):void 0):r.sendEnabled=[],void 0!==e.defaultSendEnabled&&(r.defaultSendEnabled=e.defaultSendEnabled),r}};const a={denom:"",enabled:!1};t.SendEnabled={encode:(e,t=i.default.Writer.create())=>(t.uint32(10).string(e.denom),t.uint32(16).bool(e.enabled),t),decode(e,t){const r=e instanceof Uint8Array?new i.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},a);for(;r.pos>>3){case 1:o.denom=r.string();break;case 2:o.enabled=r.bool();break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},a);return void 0!==e.denom&&null!==e.denom?t.denom=String(e.denom):t.denom="",void 0!==e.enabled&&null!==e.enabled?t.enabled=Boolean(e.enabled):t.enabled=!1,t},fromPartial(e){const t=Object.assign({},a);return void 0!==e.denom&&null!==e.denom?t.denom=e.denom:t.denom="",void 0!==e.enabled&&null!==e.enabled?t.enabled=e.enabled:t.enabled=!1,t},toJSON(e){const t={};return void 0!==e.denom&&(t.denom=e.denom),void 0!==e.enabled&&(t.enabled=e.enabled),t}};const c={address:""};t.Input={encode(e,t=i.default.Writer.create()){t.uint32(10).string(e.address);for(const r of e.coins)o.Coin.encode(r,t.uint32(18).fork()).ldelim();return t},decode(e,t){const r=e instanceof Uint8Array?new i.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},c);for(s.coins=[];r.pos>>3){case 1:s.address=r.string();break;case 2:s.coins.push(o.Coin.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},c);if(t.coins=[],void 0!==e.address&&null!==e.address?t.address=String(e.address):t.address="",void 0!==e.coins&&null!==e.coins)for(const r of e.coins)t.coins.push(o.Coin.fromJSON(r));return t},fromPartial(e){const t=Object.assign({},c);if(t.coins=[],void 0!==e.address&&null!==e.address?t.address=e.address:t.address="",void 0!==e.coins&&null!==e.coins)for(const r of e.coins)t.coins.push(o.Coin.fromPartial(r));return t},toJSON(e){const t={};return void 0!==e.address&&(t.address=e.address),e.coins?t.coins=e.coins.map(e=>e?o.Coin.toJSON(e):void 0):t.coins=[],t}};const u={address:""};t.Output={encode(e,t=i.default.Writer.create()){t.uint32(10).string(e.address);for(const r of e.coins)o.Coin.encode(r,t.uint32(18).fork()).ldelim();return t},decode(e,t){const r=e instanceof Uint8Array?new i.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},u);for(s.coins=[];r.pos>>3){case 1:s.address=r.string();break;case 2:s.coins.push(o.Coin.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},u);if(t.coins=[],void 0!==e.address&&null!==e.address?t.address=String(e.address):t.address="",void 0!==e.coins&&null!==e.coins)for(const r of e.coins)t.coins.push(o.Coin.fromJSON(r));return t},fromPartial(e){const t=Object.assign({},u);if(t.coins=[],void 0!==e.address&&null!==e.address?t.address=e.address:t.address="",void 0!==e.coins&&null!==e.coins)for(const r of e.coins)t.coins.push(o.Coin.fromPartial(r));return t},toJSON(e){const t={};return void 0!==e.address&&(t.address=e.address),e.coins?t.coins=e.coins.map(e=>e?o.Coin.toJSON(e):void 0):t.coins=[],t}};const l={};t.Supply={encode(e,t=i.default.Writer.create()){for(const r of e.total)o.Coin.encode(r,t.uint32(10).fork()).ldelim();return t},decode(e,t){const r=e instanceof Uint8Array?new i.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},l);for(s.total=[];r.pos>>3){case 1:s.total.push(o.Coin.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},l);if(t.total=[],void 0!==e.total&&null!==e.total)for(const r of e.total)t.total.push(o.Coin.fromJSON(r));return t},fromPartial(e){const t=Object.assign({},l);if(t.total=[],void 0!==e.total&&null!==e.total)for(const r of e.total)t.total.push(o.Coin.fromPartial(r));return t},toJSON(e){const t={};return e.total?t.total=e.total.map(e=>e?o.Coin.toJSON(e):void 0):t.total=[],t}};const f={denom:"",exponent:0,aliases:""};t.DenomUnit={encode(e,t=i.default.Writer.create()){t.uint32(10).string(e.denom),t.uint32(16).uint32(e.exponent);for(const r of e.aliases)t.uint32(26).string(r);return t},decode(e,t){const r=e instanceof Uint8Array?new i.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},f);for(o.aliases=[];r.pos>>3){case 1:o.denom=r.string();break;case 2:o.exponent=r.uint32();break;case 3:o.aliases.push(r.string());break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},f);if(t.aliases=[],void 0!==e.denom&&null!==e.denom?t.denom=String(e.denom):t.denom="",void 0!==e.exponent&&null!==e.exponent?t.exponent=Number(e.exponent):t.exponent=0,void 0!==e.aliases&&null!==e.aliases)for(const r of e.aliases)t.aliases.push(String(r));return t},fromPartial(e){const t=Object.assign({},f);if(t.aliases=[],void 0!==e.denom&&null!==e.denom?t.denom=e.denom:t.denom="",void 0!==e.exponent&&null!==e.exponent?t.exponent=e.exponent:t.exponent=0,void 0!==e.aliases&&null!==e.aliases)for(const r of e.aliases)t.aliases.push(r);return t},toJSON(e){const t={};return void 0!==e.denom&&(t.denom=e.denom),void 0!==e.exponent&&(t.exponent=e.exponent),e.aliases?t.aliases=e.aliases.map(e=>e):t.aliases=[],t}};const d={description:"",base:"",display:""};t.Metadata={encode(e,r=i.default.Writer.create()){r.uint32(10).string(e.description);for(const n of e.denomUnits)t.DenomUnit.encode(n,r.uint32(18).fork()).ldelim();return r.uint32(26).string(e.base),r.uint32(34).string(e.display),r},decode(e,r){const n=e instanceof Uint8Array?new i.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const s=Object.assign({},d);for(s.denomUnits=[];n.pos>>3){case 1:s.description=n.string();break;case 2:s.denomUnits.push(t.DenomUnit.decode(n,n.uint32()));break;case 3:s.base=n.string();break;case 4:s.display=n.string();break;default:n.skipType(7&e)}}return s},fromJSON(e){const r=Object.assign({},d);if(r.denomUnits=[],void 0!==e.description&&null!==e.description?r.description=String(e.description):r.description="",void 0!==e.denomUnits&&null!==e.denomUnits)for(const n of e.denomUnits)r.denomUnits.push(t.DenomUnit.fromJSON(n));return void 0!==e.base&&null!==e.base?r.base=String(e.base):r.base="",void 0!==e.display&&null!==e.display?r.display=String(e.display):r.display="",r},fromPartial(e){const r=Object.assign({},d);if(r.denomUnits=[],void 0!==e.description&&null!==e.description?r.description=e.description:r.description="",void 0!==e.denomUnits&&null!==e.denomUnits)for(const n of e.denomUnits)r.denomUnits.push(t.DenomUnit.fromPartial(n));return void 0!==e.base&&null!==e.base?r.base=e.base:r.base="",void 0!==e.display&&null!==e.display?r.display=e.display:r.display="",r},toJSON(e){const r={};return void 0!==e.description&&(r.description=e.description),e.denomUnits?r.denomUnits=e.denomUnits.map(e=>e?t.DenomUnit.toJSON(e):void 0):r.denomUnits=[],void 0!==e.base&&(r.base=e.base),void 0!==e.display&&(r.display=e.display),r}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectSecp256k1HdWallet=void 0;const n=r(50),o=r(114),i=r(358),s=r(193);class a{constructor(e,t,r,n,o){this.secret=e,this.accounts=[{hdPath:t,prefix:o}],this.privkey=r,this.pubkey=n}static async fromMnemonic(e,t=i.makeCosmoshubPath(0),r="cosmos"){const o=new n.EnglishMnemonic(e),s=await n.Bip39.mnemonicToSeed(o),{privkey:c}=n.Slip10.derivePath(n.Slip10Curve.Secp256k1,s,t),u=(await n.Secp256k1.makeKeypair(c)).pubkey;return new a(o,t,c,n.Secp256k1.compressPubkey(u),r)}static async generate(e=12,t=i.makeCosmoshubPath(0),r="cosmos"){const o=4*Math.floor(11*e/33),s=n.Random.getBytes(o),c=n.Bip39.encode(s);return a.fromMnemonic(c.toString(),t,r)}get mnemonic(){return this.secret.toString()}get address(){return o.rawSecp256k1PubkeyToAddress(this.pubkey,this.accounts[0].prefix)}async getAccounts(){return[{algo:"secp256k1",address:this.address,pubkey:this.pubkey}]}async signDirect(e,t){const r=s.makeSignBytes(t);if(e!==this.address)throw new Error(`Address ${e} not found in wallet`);const i=n.sha256(r),a=await n.Secp256k1.createSignature(i,this.privkey),c=new Uint8Array([...a.r(32),...a.s(32)]);return{signed:t,signature:o.encodeSecp256k1Signature(this.pubkey,c)}}}t.DirectSecp256k1HdWallet=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectSecp256k1Wallet=void 0;const n=r(50),o=r(114),i=r(193);class s{constructor(e,t,r){this.privkey=e,this.pubkey=t,this.prefix=r}static async fromKey(e,t="cosmos"){const r=(await n.Secp256k1.makeKeypair(e)).pubkey;return new s(e,n.Secp256k1.compressPubkey(r),t)}get address(){return o.rawSecp256k1PubkeyToAddress(this.pubkey,this.prefix)}async getAccounts(){return[{algo:"secp256k1",address:this.address,pubkey:this.pubkey}]}async signDirect(e,t){const r=i.makeSignBytes(t);if(e!==this.address)throw new Error(`Address ${e} not found in wallet`);const s=n.sha256(r),a=await n.Secp256k1.createSignature(s,this.privkey),c=new Uint8Array([...a.r(32),...a.s(32)]);return{signed:t,signature:o.encodeSecp256k1Signature(this.pubkey,c)}}}t.DirectSecp256k1Wallet=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodePubkey=t.encodePubkey=void 0;const n=r(39),o=r(114),i=r(726),s=r(138);t.encodePubkey=function(e){switch(e.type){case"tendermint/PubKeySecp256k1":{const t=i.PubKey.fromPartial({key:n.fromBase64(e.value)});return s.Any.fromPartial({typeUrl:"/cosmos.crypto.secp256k1.PubKey",value:Uint8Array.from(i.PubKey.encode(t).finish())})}default:throw new Error(`Pubkey type ${e.type} not recognized`)}},t.decodePubkey=function(e){if(!e||!e.value)return null;switch(e.typeUrl){case"/cosmos.crypto.secp256k1.PubKey":{const{key:t}=i.PubKey.decode(e.value);return o.encodeSecp256k1Pubkey(t)}default:throw new Error(`Pubkey type_url ${e.typeUrl} not recognized`)}}},function(e,t,r){"use strict";(function(e){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PrivKey=t.PubKey=t.protobufPackage=void 0;const o=n(r(48));t.protobufPackage="cosmos.crypto.secp256k1";const i={};t.PubKey={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).bytes(e.key),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},i);for(;r.pos>>3){case 1:s.key=r.bytes();break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},i);return void 0!==e.key&&null!==e.key&&(t.key=u(e.key)),t},fromPartial(e){const t=Object.assign({},i);return void 0!==e.key&&null!==e.key?t.key=e.key:t.key=new Uint8Array,t},toJSON(e){const t={};return void 0!==e.key&&(t.key=f(void 0!==e.key?e.key:new Uint8Array)),t}};const s={};t.PrivKey={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).bytes(e.key),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const i=Object.assign({},s);for(;r.pos>>3){case 1:i.key=r.bytes();break;default:r.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},s);return void 0!==e.key&&null!==e.key&&(t.key=u(e.key)),t},fromPartial(e){const t=Object.assign({},s);return void 0!==e.key&&null!==e.key?t.key=e.key:t.key=new Uint8Array,t},toJSON(e){const t={};return void 0!==e.key&&(t.key=f(void 0!==e.key?e.key:new Uint8Array)),t}};var a=(()=>{if(void 0!==a)return a;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const c=a.atob||(e=>a.Buffer.from(e,"base64").toString("binary"));function u(e){const t=c(e),r=new Uint8Array(t.length);for(let e=0;ea.Buffer.from(e,"binary").toString("base64"));function f(e){const t=[];for(let r=0;r(t,r)=>{switch(r.constructor){case o.RestoreKeyRingMsg:return a(e)(t,r);case o.DeleteKeyRingMsg:return c(e)(t,r);case o.UpdateNameKeyRingMsg:return u(e)(t,r);case o.ShowKeyRingMsg:return l(e)(t,r);case o.CreateMnemonicKeyMsg:return f(e)(t,r);case o.AddMnemonicKeyMsg:return d(e)(t,r);case o.CreatePrivateKeyMsg:return h(e)(t,r);case o.AddPrivateKeyMsg:return p(e)(t,r);case o.CreateLedgerKeyMsg:return g(e)(t,r);case o.AddLedgerKeyMsg:return m(e)(t,r);case o.LockKeyRingMsg:return y(e)(t,r);case o.UnlockKeyRingMsg:return b(e)(t,r);case o.GetKeyMsg:return v(e)(t,r);case o.RequestSignAminoMsg:return w(e)(t,r);case o.RequestSignDirectMsg:return _(e)(t,r);case o.GetKeyRingTypeMsg:return k(e)(t,r);case o.GetMultiKeyStoreInfoMsg:return S(e)(t,r);case o.ChangeKeyRingMsg:return O(e)(t,r);case o.GetIsKeyStoreCoinTypeSetMsg:return j(e)(t,r);case o.SetKeyStoreCoinTypeMsg:return E(e)(t,r);default:throw new Error("Unknown msg type")}};const a=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.restore()})),c=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.deleteKeyRing(r.index,r.password)})),u=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.updateNameKeyRing(r.index,r.name)})),l=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.showKeyRing(r.index,r.password)})),f=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return{status:yield e.createMnemonicKey(r.mnemonic,r.password,r.meta,r.bip44HDPath)}})),d=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.addMnemonicKey(r.mnemonic,r.meta,r.bip44HDPath)})),h=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return{status:yield e.createPrivateKey(r.privateKey,r.password,r.meta)}})),p=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.addPrivateKey(r.privateKey,r.meta)})),g=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return{status:yield e.createLedgerKey(t,r.password,r.meta,r.bip44HDPath)}})),m=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.addLedgerKey(t,r.meta,r.bip44HDPath)})),y=e=>()=>({status:e.lock()}),b=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return{status:yield e.unlock(r.password)}})),v=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin);const n=yield e.getKey(r.chainId);return{name:e.getKeyStoreMeta("name"),algo:"secp256k1",pubKey:n.pubKey,address:n.address,bech32Address:new i.Bech32Address(n.address).toBech32((yield e.chainsService.getChainInfo(r.chainId)).bech32Config.bech32PrefixAccAddr),isNanoLedger:n.isNanoLedger}})),w=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.requestSignAmino(t,r.chainId,r.signer,r.signDoc,r.signOptions)})),_=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin);const n=s.cosmos.tx.v1beta1.SignDoc.decode(r.signDocBytes),o=yield e.requestSignDirect(t,r.chainId,r.signer,n,r.signOptions);return{signedBytes:s.cosmos.tx.v1beta1.SignDoc.encode(o.signed).finish(),signature:o.signature}})),k=e=>()=>e.getKeyRingType(),S=e=>()=>e.getMultiKeyStoreInfo(),O=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.changeKeyStoreFromMultiKeyStore(r.index)})),j=e=>(t,r)=>e.getKeyStoreBIP44Selectables(r.chainId,r.paths),E=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.setKeyStoreCoinType(r.chainId,r.coinType),e.keyRingStatus}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(359),t),o(r(803),t)},function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(r(194));t.logs=i;const s=n(r(104));t.types=s;var a=r(737);t.pubkeyToAddress=a.pubkeyToAddress;var c=r(760);t.unmarshalTx=c.unmarshalTx;var u=r(196);t.makeSignBytes=u.makeSignBytes,t.marshalTx=u.marshalTx;var l=r(197);t.BroadcastMode=l.BroadcastMode,t.RestClient=l.RestClient;var f=r(377);t.CosmWasmClient=f.CosmWasmClient;var d=r(799);t.makeCosmoshubPath=d.makeSecretNetworkPath,t.Secp256k1Pen=d.Secp256k1Pen;var h=r(203);t.decodeBech32Pubkey=h.decodeBech32Pubkey,t.encodeBech32Pubkey=h.encodeBech32Pubkey,t.encodeSecp256k1Pubkey=h.encodeSecp256k1Pubkey;var p=r(800);t.findSequenceForSignedTx=p.findSequenceForSignedTx;var g=r(204);t.encodeSecp256k1Signature=g.encodeSecp256k1Signature,t.decodeSignature=g.decodeSignature;var m=r(801);t.SigningCosmWasmClient=m.SigningCosmWasmClient;const y=o(r(368));t.EnigmaUtils=y.default},function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(94));t.Bech32=class{static encode(e,t){return o.encode(e,o.toWords(t))}static decode(e){const t=o.decode(e);return{prefix:t.prefix,data:new Uint8Array(o.fromWords(t.words))}}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6));class i{constructor(e,t){this.data={atomics:new o.default(e),fractionalDigits:t}}static fromUserInput(e,t){i.verifyFractionalDigits(t);const r=e.match(/[^0-9.]/);if(r)throw new Error("Invalid character at position "+(r.index+1));let n,o;if(-1===e.search(/\./))n=e,o="";else{const t=e.split(".");switch(t.length){case 0:case 1:throw new Error("Fewer than two elements in split result. This must not happen here.");case 2:if(!t[1])throw new Error("Fractional part missing");n=t[0],o=t[1].replace(/0+$/,"");break;default:throw new Error("More than one separator found")}}if(o.length>t)throw new Error("Got more fractional digits than supported");const s=`${n}${o.padEnd(t,"0")}`;return new i(s,t)}static fromAtomics(e,t){return i.verifyFractionalDigits(t),new i(e,t)}static verifyFractionalDigits(e){if(!Number.isInteger(e))throw new Error("Fractional digits is not an integer");if(e<0)throw new Error("Fractional digits must not be negative");if(e>100)throw new Error("Fractional digits must not exceed 100")}get atomics(){return this.data.atomics.toString()}get fractionalDigits(){return this.data.fractionalDigits}toString(){const e=new o.default(10).pow(new o.default(this.data.fractionalDigits)),t=this.data.atomics.div(e),r=this.data.atomics.mod(e);if(r.isZero())return t.toString();{const e=r.toString().padStart(this.data.fractionalDigits,"0").replace(/0+$/,"");return`${t.toString()}.${e}`}}toFloatApproximation(){const e=Number(this.toString());if(Number.isNaN(e))throw new Error("Conversion to number failed");return e}plus(e){if(this.fractionalDigits!==e.fractionalDigits)throw new Error("Fractional digits do not match");const t=this.data.atomics.add(new o.default(e.atomics));return new i(t.toString(),this.fractionalDigits)}}t.Decimal=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6)),i=new o.default("18446744073709551615",10,"be");class s{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(e<0||e>4294967295)throw new Error("Input not in uint32 range: "+e.toString());this.data=e}static fromBigEndianBytes(e){if(4!==e.length)throw new Error("Invalid input length. Expected 4 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);return new s(e[0]*2**24+65536*e[1]+256*e[2]+e[3])}toBytesBigEndian(){return new Uint8Array([255&Math.floor(this.data/2**24),255&Math.floor(this.data/65536),255&Math.floor(this.data/256),255&Math.floor(this.data/1)])}toBytesLittleEndian(){return new Uint8Array([255&Math.floor(this.data/1),255&Math.floor(this.data/256),255&Math.floor(this.data/65536),255&Math.floor(this.data/2**24)])}toNumber(){return this.data}toString(){return this.data.toString()}}t.Uint32=s;class a{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(eNumber.MAX_SAFE_INTEGER)throw new Error("Input not in int53 range: "+e.toString());this.data=e}static fromString(e){if(!e.match(/^-?[0-9]+$/))throw new Error("Invalid string format");return new a(Number.parseInt(e,10))}toNumber(){return this.data}toString(){return this.data.toString()}}t.Int53=a;class c{constructor(e){const t=new a(e);if(t.toNumber()<0)throw new Error("Input is negative");this.data=t}static fromString(e){const t=a.fromString(e);return new c(t.toNumber())}toNumber(){return this.data.toNumber()}toString(){return this.data.toString()}}t.Uint53=c;class u{constructor(e){if(e.isNeg())throw new Error("Input is negative");if(e.gt(i))throw new Error("Input exceeds uint64 range");this.data=e}static fromBytesBigEndian(e){if(8!==e.length)throw new Error("Invalid input length. Expected 8 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);const t=[];for(let r=0;re[t]).every(n)}Object.defineProperty(t,"__esModule",{value:!0}),t.isJsonCompatibleValue=n,t.isJsonCompatibleArray=o,t.isJsonCompatibleDictionary=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(360),o=r(362),i="string:",s="bytes:";class a{static toJson(e){if("number"==typeof e||"boolean"==typeof e)return e;if(null===e)return null;if("string"==typeof e)return`${i}${e}`;if(o.isUint8Array(e))return`${s}${n.Encoding.toHex(e)}`;if(Array.isArray(e))return e.map(a.toJson);if("object"==typeof e&&null!==e&&"[object Object]"===Object.prototype.toString.call(e)){const t={};for(const r of Object.keys(e)){const n=e[r];void 0!==n&&(t[r]=a.toJson(n))}return t}throw new Error("Cannot encode type to JSON")}static fromJson(e){if("number"==typeof e||"boolean"==typeof e)return e;if(null===e)return null;if("string"==typeof e){if(e.startsWith(i))return e.slice(i.length);if(e.startsWith(s))return n.Encoding.fromHex(e.slice(s.length));throw new Error("Found string with unknown prefix")}if(Array.isArray(e))return e.map(a.fromJson);if("object"==typeof e&&null!==e&&"[object Object]"===Object.prototype.toString.call(e)){const t={};for(const r of Object.keys(e))t[r]=a.fromJson(e[r]);return t}throw new Error("Cannot decode type from JSON")}}t.TransactionEncoder=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(105),o=r(42),i=r(104),{fromBase64:s}=o.Encoding;function a(e,t){if(33!==e.length)throw new Error("Invalid Secp256k1 pubkey length (compressed): "+e.length);const r=new n.Sha256(e).digest(),i=new n.Ripemd160(r).digest();return o.Bech32.encode(t,i)}t.rawSecp256k1PubkeyToAddress=a,t.pubkeyToAddress=function(e,t){const r=s(e.value);switch(e.type){case i.pubkeyType.secp256k1:return a(r,t);case i.pubkeyType.ed25519:{if(32!==r.length)throw new Error("Invalid Ed25519 pubkey length: "+r.length);const e=new n.Sha256(r).digest();return o.Bech32.encode(t,e.slice(0,20))}case i.pubkeyType.sr25519:{if(32!==r.length)throw new Error("Invalid Sr25519 pubkey length: "+r.length);const e=new n.Sha256(r).digest();return o.Bech32.encode(t,e.slice(0,20))}default:throw new Error("Unrecognized public key algorithm")}}},function(e,t,r){"use strict";(function(e){var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const o=r(139),i=n(r(69)),s=r(97),a=n(r(311)),c=r(364);t.Bip39=class{static encode(e){if(-1===[16,20,24,28,32].indexOf(e.length))throw new Error("invalid input length");return new c.EnglishMnemonic(i.entropyToMnemonic(o.Encoding.toHex(e)))}static decode(e){return o.Encoding.fromHex(i.mnemonicToEntropy(e.toString()))}static async mnemonicToSeed(t,r){const n=e.from(a.nfkd(t.toString()),"utf8"),o="mnemonic"+(r?a.nfkd(r):""),i=e.from(o,"utf8");return this.pbkdf2(n,i,2048,64,"sha512")}static async pbkdf2(e,t,r,n,o){return new Promise((i,a)=>{s.pbkdf2(e,t,r,n,o,(e,t)=>{e?a(e):i(new Uint8Array(t))})})}}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(740);Object.defineProperty(t,"Decimal",{enumerable:!0,get:function(){return n.Decimal}});var o=r(741);Object.defineProperty(t,"Int53",{enumerable:!0,get:function(){return o.Int53}}),Object.defineProperty(t,"Uint32",{enumerable:!0,get:function(){return o.Uint32}}),Object.defineProperty(t,"Uint53",{enumerable:!0,get:function(){return o.Uint53}}),Object.defineProperty(t,"Uint64",{enumerable:!0,get:function(){return o.Uint64}})},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Decimal=void 0;const o=n(r(6));class i{constructor(e,t){this.data={atomics:new o.default(e),fractionalDigits:t}}static fromUserInput(e,t){i.verifyFractionalDigits(t);const r=e.match(/[^0-9.]/);if(r)throw new Error("Invalid character at position "+(r.index+1));let n,o;if(-1===e.search(/\./))n=e,o="";else{const t=e.split(".");switch(t.length){case 0:case 1:throw new Error("Fewer than two elements in split result. This must not happen here.");case 2:if(!t[1])throw new Error("Fractional part missing");n=t[0],o=t[1].replace(/0+$/,"");break;default:throw new Error("More than one separator found")}}if(o.length>t)throw new Error("Got more fractional digits than supported");const s=`${n}${o.padEnd(t,"0")}`;return new i(s,t)}static fromAtomics(e,t){return i.verifyFractionalDigits(t),new i(e,t)}static verifyFractionalDigits(e){if(!Number.isInteger(e))throw new Error("Fractional digits is not an integer");if(e<0)throw new Error("Fractional digits must not be negative");if(e>100)throw new Error("Fractional digits must not exceed 100")}static compare(e,t){if(e.fractionalDigits!==t.fractionalDigits)throw new Error("Fractional digits do not match");return e.data.atomics.cmp(new o.default(t.atomics))}get atomics(){return this.data.atomics.toString()}get fractionalDigits(){return this.data.fractionalDigits}toString(){const e=new o.default(10).pow(new o.default(this.data.fractionalDigits)),t=this.data.atomics.div(e),r=this.data.atomics.mod(e);if(r.isZero())return t.toString();{const e=r.toString().padStart(this.data.fractionalDigits,"0").replace(/0+$/,"");return`${t.toString()}.${e}`}}toFloatApproximation(){const e=Number(this.toString());if(Number.isNaN(e))throw new Error("Conversion to number failed");return e}plus(e){if(this.fractionalDigits!==e.fractionalDigits)throw new Error("Fractional digits do not match");const t=this.data.atomics.add(new o.default(e.atomics));return new i(t.toString(),this.fractionalDigits)}equals(e){return 0===i.compare(this,e)}isLessThan(e){return i.compare(this,e)<0}isLessThanOrEqual(e){return i.compare(this,e)<=0}isGreaterThan(e){return i.compare(this,e)>0}isGreaterThanOrEqual(e){return i.compare(this,e)>=0}}t.Decimal=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Uint64=t.Uint53=t.Int53=t.Uint32=void 0;const o=n(r(6)),i=new o.default("18446744073709551615",10,"be");class s{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(e<0||e>4294967295)throw new Error("Input not in uint32 range: "+e.toString());this.data=e}static fromBigEndianBytes(e){if(4!==e.length)throw new Error("Invalid input length. Expected 4 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);return new s(e[0]*2**24+65536*e[1]+256*e[2]+e[3])}toBytesBigEndian(){return new Uint8Array([255&Math.floor(this.data/2**24),255&Math.floor(this.data/65536),255&Math.floor(this.data/256),255&Math.floor(this.data/1)])}toBytesLittleEndian(){return new Uint8Array([255&Math.floor(this.data/1),255&Math.floor(this.data/256),255&Math.floor(this.data/65536),255&Math.floor(this.data/2**24)])}toNumber(){return this.data}toString(){return this.data.toString()}}t.Uint32=s;class a{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(eNumber.MAX_SAFE_INTEGER)throw new Error("Input not in int53 range: "+e.toString());this.data=e}static fromString(e){if(!e.match(/^-?[0-9]+$/))throw new Error("Invalid string format");return new a(Number.parseInt(e,10))}toNumber(){return this.data}toString(){return this.data.toString()}}t.Int53=a;class c{constructor(e){const t=new a(e);if(t.toNumber()<0)throw new Error("Input is negative");this.data=t}static fromString(e){const t=a.fromString(e);return new c(t.toNumber())}toNumber(){return this.data.toNumber()}toString(){return this.data.toString()}}t.Uint53=c;class u{constructor(e){if(e.isNeg())throw new Error("Input is negative");if(e.gt(i))throw new Error("Input exceeds uint64 range");this.data=e}static fromBytesBigEndian(e){if(8!==e.length)throw new Error("Invalid input length. Expected 8 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);const t=[];for(let r=0;r{const t=e.charCodeAt(0);if(t<32||t>126)throw new Error("Cannot encode character that is out of printable ASCII range: "+t);return t}))},t.fromAscii=function(e){return(t=Array.from(e),t.map(e=>{if(e<32||e>126)throw new Error("Cannot decode character that is out of printable ASCII range: "+e);return String.fromCharCode(e)})).join("");var t}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.fromBase64=t.toBase64=void 0;const s=i(r(117));t.toBase64=function(e){return s.fromByteArray(e)},t.fromBase64=function(e){if(!e.match(/^[a-zA-Z0-9+/]*={0,2}$/))throw new Error("Invalid base64 string format");return s.toByteArray(e)}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Bech32=void 0;const s=i(r(94));t.Bech32=class{static encode(e,t){return s.encode(e,s.toWords(t))}static decode(e){const t=s.decode(e);return{prefix:t.prefix,data:new Uint8Array(s.fromWords(t.words))}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromHex=t.toHex=void 0,t.toHex=function(e){let t="";for(const r of e)t+=("0"+r.toString(16)).slice(-2);return t},t.fromHex=function(e){if(e.length%2!=0)throw new Error("hex string length must be a multiple of 2");const t=[];for(let r=0;rsetTimeout(t,e))}},function(e,t,r){"use strict";(function(e){function r(e){return"object"==typeof e&&null!==e}Object.defineProperty(t,"__esModule",{value:!0}),t.isUint8Array=t.isNonNullObject=void 0,t.isNonNullObject=r,t.isUint8Array=function(t){return!!r(t)&&("[object Uint8Array]"===Object.prototype.toString.call(t)&&(void 0===e||void 0===e.isBuffer||!e.isBuffer(t)))}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";function n(e){return!("string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e&&null!==e&&!o(e)&&!i(e))}function o(e){if(!Array.isArray(e))return!1;for(const t of e)if(!n(t))return!1;return!0}function i(e){if("object"!=typeof e||null===e)return!1;if("[object Object]"!==Object.prototype.toString.call(e))return!1;return Object.getOwnPropertyNames(e).map(t=>e[t]).every(n)}Object.defineProperty(t,"__esModule",{value:!0}),t.isJsonCompatibleValue=n,t.isJsonCompatibleArray=o,t.isJsonCompatibleDictionary=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(195),o=r(363),i="string:",s="bytes:";class a{static toJson(e){if("number"==typeof e||"boolean"==typeof e)return e;if(null===e)return null;if("string"==typeof e)return`${i}${e}`;if(o.isUint8Array(e))return`${s}${n.toHex(e)}`;if(Array.isArray(e))return e.map(a.toJson);if("object"==typeof e&&null!==e&&"[object Object]"===Object.prototype.toString.call(e)){const t={};for(const r of Object.keys(e)){const n=e[r];void 0!==n&&(t[r]=a.toJson(n))}return t}throw new Error("Cannot encode type to JSON")}static fromJson(e){if("number"==typeof e||"boolean"==typeof e)return e;if(null===e)return null;if("string"==typeof e){if(e.startsWith(i))return e.slice(i.length);if(e.startsWith(s))return n.fromHex(e.slice(s.length));throw new Error("Found string with unknown prefix")}if(Array.isArray(e))return e.map(a.fromJson);if("object"==typeof e&&null!==e&&"[object Object]"===Object.prototype.toString.call(e)){const t={};for(const r of Object.keys(e))t[r]=a.fromJson(e[r]);return t}throw new Error("Cannot decode type from JSON")}}t.TransactionEncoder=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(195);t.Encoding=class{static toHex(e){return n.toHex(e)}static fromHex(e){return n.fromHex(e)}static toBase64(e){return n.toBase64(e)}static fromBase64(e){return n.fromBase64(e)}static toAscii(e){return n.toAscii(e)}static fromAscii(e){return n.fromAscii(e)}static toUtf8(e){return n.toUtf8(e)}static fromUtf8(e){return n.fromUtf8(e)}static fromRfc3339(e){return n.fromRfc3339(e)}static toRfc3339(e){return n.toRfc3339(e)}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(222));t.Keccak256=class{constructor(e){this.blockSize=64,this.impl=o.default.keccak256.create(),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(314));t.Argon2id=class{static async execute(e,t,r){return await o.default.ready,o.default.crypto_pwhash(r.outputLength,e,t,r.opsLimit,1024*r.memLimitKib,o.default.crypto_pwhash_ALG_ARGON2ID13)}};class i{constructor(e,t){this.privkey=e,this.pubkey=t}static fromLibsodiumPrivkey(e){if(64!==e.length)throw new Error(`Unexpected key length ${e.length}. Must be 64.`);return new i(e.slice(0,32),e.slice(32,64))}toLibsodiumPrivkey(){return new Uint8Array([...this.privkey,...this.pubkey])}}t.Ed25519Keypair=i;t.Ed25519=class{static async makeKeypair(e){await o.default.ready;const t=o.default.crypto_sign_seed_keypair(e);return i.fromLibsodiumPrivkey(t.privateKey)}static async createSignature(e,t){return await o.default.ready,o.default.crypto_sign_detached(e,t.toLibsodiumPrivkey())}static async verifySignature(e,t,r){return await o.default.ready,o.default.crypto_sign_verify_detached(e,t,r)}};t.Xchacha20poly1305Ietf=class{static async encrypt(e,t,r){await o.default.ready;return o.default.crypto_aead_xchacha20poly1305_ietf_encrypt(e,null,null,r,t)}static async decrypt(e,t,r){await o.default.ready;return o.default.crypto_aead_xchacha20poly1305_ietf_decrypt(null,e,null,r,t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Random=class{static getBytes(e){try{const t="object"==typeof window?window:self,r=void 0!==t.crypto?t.crypto:t.msCrypto,n=new Uint8Array(e);return r.getRandomValues(n),n}catch(t){try{const t=r(72);return new Uint8Array([...t.randomBytes(e)])}catch(e){throw new Error("No secure random number generator found")}}}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(139),i=n(r(75)),{toHex:s}=o.Encoding;t.Ripemd160=class{constructor(e){this.blockSize=64,this.impl=new i.default,e&&this.update(e)}update(e){return this.impl.update(s(e),"hex"),this}digest(){return Uint8Array.from(this.impl.digest())}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(139),i=n(r(6)),s=n(r(45)),a=r(366),c=new s.default.ec("secp256k1"),u=new i.default("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141","hex");t.Secp256k1=class{static async makeKeypair(e){if(32!==e.length)throw new Error("input data is not a valid secp256k1 private key");const t=c.keyFromPrivate(e);if(!0!==t.validate().result)throw new Error("input data is not a valid secp256k1 private key");if(new i.default(e).gte(u))throw new Error("input data is not a valid secp256k1 private key");return{privkey:o.Encoding.fromHex(t.getPrivate("hex")),pubkey:o.Encoding.fromHex(t.getPublic().encode("hex"))}}static async createSignature(e,t){if(0===e.length)throw new Error("Message hash must not be empty");if(e.length>32)throw new Error("Message hash length must not exceed 32 bytes");const r=c.keyFromPrivate(t).sign(e,{canonical:!0});return new a.ExtendedSecp256k1Signature(Uint8Array.from(r.r.toArray()),Uint8Array.from(r.s.toArray()),r.recoveryParam)}static async verifySignature(e,t,r){if(0===t.length)throw new Error("Message hash must not be empty");if(t.length>32)throw new Error("Message hash length must not exceed 32 bytes");const n=c.keyFromPublic(r);try{return n.verify(t,e.toDer())}catch(e){return!1}}static recoverPubkey(e,t){const r={r:o.Encoding.toHex(e.r()),s:o.Encoding.toHex(e.s())},n=c.recoverPubKey(t,r,e.recovery),i=c.keyFromPublic(n);return o.Encoding.fromHex(i.getPublic(!1,"hex"))}static compressPubkey(e){switch(e.length){case 33:return e;case 65:return Uint8Array.from(c.keyFromPublic(e).pub.encodeCompressed());default:throw new Error("Invalid pubkey length")}}static trimRecoveryByte(e){switch(e.length){case 64:return e;case 65:return e.slice(0,64);default:throw new Error("Invalid signature length")}}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(139),i=n(r(6)),s=n(r(45)),a=r(365),c=r(367);var u;!function(e){e.Secp256k1="Bitcoin seed",e.Ed25519="ed25519 seed"}(u=t.Slip10Curve||(t.Slip10Curve={})),t.slip10CurveFromString=function(e){switch(e){case u.Ed25519:return u.Ed25519;case u.Secp256k1:return u.Secp256k1;default:throw new Error(`Unknown curve string: '${e}'`)}};class l extends o.Uint32{static hardened(e){return new l(e+2**31)}static normal(e){return new l(e)}isHardened(){return this.data>=2**31}}t.Slip10RawIndex=l;const f=new s.default.ec("secp256k1");class d{static derivePath(e,t,r){let n=this.master(e,t);for(const t of r)n=this.child(e,n.privkey,n.chainCode,t);return n}static master(e,t){const r=new a.Hmac(c.Sha512,o.Encoding.toAscii(e)).update(t).digest(),n=r.slice(0,32),i=r.slice(32,64);return e!==u.Ed25519&&(this.isZero(n)||this.isGteN(e,n))?this.master(e,r):{chainCode:i,privkey:n}}static child(e,t,r,n){let o;if(n.isHardened()){const e=new Uint8Array([0,...t,...n.toBytesBigEndian()]);o=new a.Hmac(c.Sha512,r).update(e).digest()}else{if(e===u.Ed25519)throw new Error("Normal keys are not allowed with ed25519");{const s=new Uint8Array([...d.serializedPoint(e,new i.default(t)),...n.toBytesBigEndian()]);o=new a.Hmac(c.Sha512,r).update(s).digest()}}return this.childImpl(e,t,r,n,o)}static serializedPoint(e,t){switch(e){case u.Secp256k1:return o.Encoding.fromHex(f.g.mul(t).encodeCompressed("hex"));default:throw new Error("curve not supported")}}static childImpl(e,t,r,n,o){const s=o.slice(0,32),l=o.slice(32,64),f=l;if(e===u.Ed25519)return{chainCode:f,privkey:s};const d=this.n(e),h=new i.default(s).add(new i.default(t)).mod(d),p=Uint8Array.from(h.toArray("be",32));if(this.isGteN(e,s)||this.isZero(p)){const o=new a.Hmac(c.Sha512,r).update(new Uint8Array([1,...l,...n.toBytesBigEndian()])).digest();return this.childImpl(e,t,r,n,o)}return{chainCode:f,privkey:p}}static isZero(e){return e.every(e=>0===e)}static isGteN(e,t){return new i.default(t).gte(this.n(e))}static n(e){switch(e){case u.Secp256k1:return new i.default("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141",16);default:throw new Error("curve not supported")}}}t.Slip10=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(42),o=r(104);t.unmarshalTx=function(e){const t=JSON.parse(n.Encoding.fromUtf8(e));if(!o.isStdTx(t))throw new Error("Must be json encoded StdTx");return t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}(r(198));var n=r(369);t.AEAD=n.AEAD;var o=r(370);t.SIV=o.SIV;var i=r(765);t.StreamEncryptor=i.StreamEncryptor,t.StreamDecryptor=i.StreamDecryptor;var s=r(371);t.CMAC=s.CMAC;var a=r(372);t.PMAC=a.PMAC;var c=r(766);t.PolyfillCryptoProvider=c.PolyfillCryptoProvider;var u=r(140);t.WebCryptoProvider=u.WebCryptoProvider},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(106);class i{constructor(e,t){this._crypto=e,this._key=t,this._iv=new o.default,this._emptyPromise=Promise.resolve(this)}static importKey(e,t){return n(this,void 0,void 0,(function*(){if(16!==t.length&&32!==t.length)throw new Error(`Miscreant: invalid key length: ${t.length} (expected 16 or 32 bytes)`);const r=yield e.subtle.importKey("raw",t,"AES-CBC",!1,["encrypt"]);return new i(e,r)}))}clear(){return this}encryptBlock(e){return n(this,void 0,void 0,(function*(){const t={name:"AES-CBC",iv:this._iv.data},r=yield this._crypto.subtle.encrypt(t,this._key,e.data);return e.data.set(new Uint8Array(r,0,o.default.SIZE)),this._emptyPromise}))}}t.default=i},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});class o{constructor(e,t){this.key=e,this.crypto=t}static importKey(e,t){return n(this,void 0,void 0,(function*(){if(16!==t.length&&32!==t.length)throw new Error(`Miscreant: invalid key length: ${t.length} (expected 16 or 32 bytes)`);const r=yield e.subtle.importKey("raw",t,"AES-CTR",!1,["encrypt"]);return new o(r,e)}))}encryptCtr(e,t){return n(this,void 0,void 0,(function*(){const r=yield this.crypto.subtle.encrypt({name:"AES-CTR",counter:e,length:16},this.key,t);return new Uint8Array(r)}))}clear(){return this}}t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=new Uint8Array([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0]);t.ctz=function(e){return n[e]}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(369),i=r(140);t.NONCE_SIZE=8,t.LAST_BLOCK_FLAG=1,t.COUNTER_MAX=4294967295;class s{static importKey(e,t,r,a=new i.WebCryptoProvider){return n(this,void 0,void 0,(function*(){return new s(yield o.AEAD.importKey(e,r,a),t)}))}constructor(e,t){this._aead=e,this._nonce_encoder=new c(t)}seal(e,t=!1,r=new Uint8Array(0)){return n(this,void 0,void 0,(function*(){return this._aead.seal(e,this._nonce_encoder.next(t),r)}))}clear(){return this._aead.clear(),this}}t.StreamEncryptor=s;class a{static importKey(e,t,r,s=new i.WebCryptoProvider){return n(this,void 0,void 0,(function*(){return new a(yield o.AEAD.importKey(e,r,s),t)}))}constructor(e,t){this._aead=e,this._nonce_encoder=new c(t)}open(e,t=!1,r=new Uint8Array(0)){return n(this,void 0,void 0,(function*(){return this._aead.open(e,this._nonce_encoder.next(t),r)}))}clear(){return this._aead.clear(),this}}t.StreamDecryptor=a;class c{constructor(e){if(e.length!==t.NONCE_SIZE)throw new Error("STREAM: nonce must be 8-bits (got "+e.length);this.buffer=new ArrayBuffer(t.NONCE_SIZE+4+1),this.view=new DataView(this.buffer),this.array=new Uint8Array(this.buffer),this.array.set(e),this.counter=0,this.finished=!1}next(e){if(this.finished)throw new Error("STREAM: already finished");if(this.view.setInt32(8,this.counter,!1),e)this.view.setInt8(12,t.LAST_BLOCK_FLAG),this.finished=!0;else if(this.counter+=1,this.counter>t.COUNTER_MAX)throw new Error("STREAM counter overflowed");return this.array}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(767),i=r(768);t.PolyfillCryptoProvider=class{constructor(){}importBlockCipherKey(e){return n(this,void 0,void 0,(function*(){return new o.default(e)}))}importCTRKey(e){return n(this,void 0,void 0,(function*(){return new i.default(new o.default(e))}))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(200),o=new Uint8Array([1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47]),i=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]),s=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]);let a,c,u,l,f,d,h,p,g=!1;function m(e,t=0){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function y(e,t=new Uint8Array(4),r=0){return t[r+0]=e>>>24,t[r+1]=e>>>16,t[r+2]=e>>>8,t[r+3]=e>>>0,t}function b(e){return i[e>>>24&255]<<24|i[e>>>16&255]<<16|i[e>>>8&255]<<8|i[255&e]}t.default=class{constructor(e){if(g||function(){function e(e,t){let r=e,n=t,o=0;for(let e=1;e<256&&0!==n;e<<=1)0!=(n&e)&&(o^=r,n^=e),r<<=1,0!=(256&r)&&(r^=283);return o}const t=e=>e<<24|e>>>8;a=new Uint32Array(256),c=new Uint32Array(256),u=new Uint32Array(256),l=new Uint32Array(256);for(let r=0;r<256;r++){const n=i[r];let o=e(n,2)<<24|n<<16|n<<8|e(n,3);a[r]=o,o=t(o),c[r]=o,o=t(o),u[r]=o,o=t(o),l[r]=o,o=t(o)}f=new Uint32Array(256),d=new Uint32Array(256),h=new Uint32Array(256),p=new Uint32Array(256);for(let r=0;r<256;r++){const n=s[r];let o=e(n,14)<<24|e(n,9)<<16|e(n,13)<<8|e(n,11);f[r]=o,o=t(o),d[r]=o,o=t(o),h[r]=o,o=t(o),p[r]=o,o=t(o)}g=!0}(),16!==e.length&&32!==e.length)throw new Error(`Miscreant: invalid key length: ${e.length} (expected 16 or 32 bytes)`);this._encKey=function(e){const t=new Uint32Array(e.length+28),r=e.length/4|0,n=t.length;for(let n=0;n>>24)^o[e/r-1]<<24:r>6&&e%r==4&&(n=b(n)),t[e]=t[e-r]^n}var i;return t}(e),this._emptyPromise=Promise.resolve(this)}clear(){return this._encKey&&n.wipe(this._encKey),this}encryptBlock(e){const t=e.data,r=e.data;let n=m(t,0),o=m(t,4),s=m(t,8),f=m(t,12);n^=this._encKey[0],o^=this._encKey[1],s^=this._encKey[2],f^=this._encKey[3];let d=0,h=0,p=0,g=0;const b=this._encKey.length/4-2;let v=4;for(let e=0;e>>24&255]^c[o>>>16&255]^u[s>>>8&255]^l[255&f],h=this._encKey[v+1]^a[o>>>24&255]^c[s>>>16&255]^u[f>>>8&255]^l[255&n],p=this._encKey[v+2]^a[s>>>24&255]^c[f>>>16&255]^u[n>>>8&255]^l[255&o],g=this._encKey[v+3]^a[f>>>24&255]^c[n>>>16&255]^u[o>>>8&255]^l[255&s],v+=4,n=d,o=h,s=p,f=g;return n=i[d>>>24]<<24|i[h>>>16&255]<<16|i[p>>>8&255]<<8|i[255&g],o=i[h>>>24]<<24|i[p>>>16&255]<<16|i[g>>>8&255]<<8|i[255&d],s=i[p>>>24]<<24|i[g>>>16&255]<<16|i[d>>>8&255]<<8|i[255&h],f=i[g>>>24]<<24|i[d>>>16&255]<<16|i[h>>>8&255]<<8|i[255&p],n^=this._encKey[v+0],o^=this._encKey[v+1],s^=this._encKey[v+2],f^=this._encKey[v+3],y(n,r,0),y(o,r,4),y(s,r,8),y(f,r,12),this._emptyPromise}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(106);function i(e){let t=1;for(let r=o.default.SIZE-1;r>=0;r--)t+=255&e.data[r]|0,e.data[r]=255&t,t>>>=8}t.default=class{constructor(e){this._cipher=e,this._counter=new o.default,this._buffer=new o.default}clear(){return this._buffer.clear(),this._counter.clear(),this._cipher.clear(),this}encryptCtr(e,t){return n(this,void 0,void 0,(function*(){if(e.length!==o.default.SIZE)throw new Error("CTR: iv length must be equal to cipher block size");this._counter.data.set(e);let r=o.default.SIZE;const n=new Uint8Array(t.length);for(let e=0;e>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=n>>24&255,e[t+5]=n>>16&255,e[t+6]=n>>8&255,e[t+7]=255&n}function p(e,t,r,n){return function(e,t,r,n,o){var i,s=0;for(i=0;i>>8)-1}(e,t,r,n,32)}function g(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function m(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function y(e,t,r){for(var n,o=~(r-1),i=0;i<16;i++)n=o&(e[i]^t[i]),e[i]^=n,t[i]^=n}function b(e,t){var r,n,i,s=o(),a=o();for(r=0;r<16;r++)a[r]=t[r];for(m(a),m(a),m(a),n=0;n<2;n++){for(s[0]=a[0]-65517,r=1;r<15;r++)s[r]=a[r]-65535-(s[r-1]>>16&1),s[r-1]&=65535;s[15]=a[15]-32767-(s[14]>>16&1),i=s[15]>>16&1,s[14]&=65535,y(a,s,1-i)}for(r=0;r<16;r++)e[2*r]=255&a[r],e[2*r+1]=a[r]>>8}function v(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return b(r,e),b(n,t),p(r,0,n,0)}function w(e){var t=new Uint8Array(32);return b(t,e),1&t[0]}function _(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function k(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function S(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function O(e,t,r){var n,o,i=0,s=0,a=0,c=0,u=0,l=0,f=0,d=0,h=0,p=0,g=0,m=0,y=0,b=0,v=0,w=0,_=0,k=0,S=0,O=0,j=0,E=0,P=0,x=0,A=0,M=0,I=0,C=0,R=0,T=0,N=0,B=r[0],D=r[1],L=r[2],U=r[3],q=r[4],H=r[5],z=r[6],F=r[7],K=r[8],$=r[9],V=r[10],J=r[11],G=r[12],W=r[13],Q=r[14],Z=r[15];i+=(n=t[0])*B,s+=n*D,a+=n*L,c+=n*U,u+=n*q,l+=n*H,f+=n*z,d+=n*F,h+=n*K,p+=n*$,g+=n*V,m+=n*J,y+=n*G,b+=n*W,v+=n*Q,w+=n*Z,s+=(n=t[1])*B,a+=n*D,c+=n*L,u+=n*U,l+=n*q,f+=n*H,d+=n*z,h+=n*F,p+=n*K,g+=n*$,m+=n*V,y+=n*J,b+=n*G,v+=n*W,w+=n*Q,_+=n*Z,a+=(n=t[2])*B,c+=n*D,u+=n*L,l+=n*U,f+=n*q,d+=n*H,h+=n*z,p+=n*F,g+=n*K,m+=n*$,y+=n*V,b+=n*J,v+=n*G,w+=n*W,_+=n*Q,k+=n*Z,c+=(n=t[3])*B,u+=n*D,l+=n*L,f+=n*U,d+=n*q,h+=n*H,p+=n*z,g+=n*F,m+=n*K,y+=n*$,b+=n*V,v+=n*J,w+=n*G,_+=n*W,k+=n*Q,S+=n*Z,u+=(n=t[4])*B,l+=n*D,f+=n*L,d+=n*U,h+=n*q,p+=n*H,g+=n*z,m+=n*F,y+=n*K,b+=n*$,v+=n*V,w+=n*J,_+=n*G,k+=n*W,S+=n*Q,O+=n*Z,l+=(n=t[5])*B,f+=n*D,d+=n*L,h+=n*U,p+=n*q,g+=n*H,m+=n*z,y+=n*F,b+=n*K,v+=n*$,w+=n*V,_+=n*J,k+=n*G,S+=n*W,O+=n*Q,j+=n*Z,f+=(n=t[6])*B,d+=n*D,h+=n*L,p+=n*U,g+=n*q,m+=n*H,y+=n*z,b+=n*F,v+=n*K,w+=n*$,_+=n*V,k+=n*J,S+=n*G,O+=n*W,j+=n*Q,E+=n*Z,d+=(n=t[7])*B,h+=n*D,p+=n*L,g+=n*U,m+=n*q,y+=n*H,b+=n*z,v+=n*F,w+=n*K,_+=n*$,k+=n*V,S+=n*J,O+=n*G,j+=n*W,E+=n*Q,P+=n*Z,h+=(n=t[8])*B,p+=n*D,g+=n*L,m+=n*U,y+=n*q,b+=n*H,v+=n*z,w+=n*F,_+=n*K,k+=n*$,S+=n*V,O+=n*J,j+=n*G,E+=n*W,P+=n*Q,x+=n*Z,p+=(n=t[9])*B,g+=n*D,m+=n*L,y+=n*U,b+=n*q,v+=n*H,w+=n*z,_+=n*F,k+=n*K,S+=n*$,O+=n*V,j+=n*J,E+=n*G,P+=n*W,x+=n*Q,A+=n*Z,g+=(n=t[10])*B,m+=n*D,y+=n*L,b+=n*U,v+=n*q,w+=n*H,_+=n*z,k+=n*F,S+=n*K,O+=n*$,j+=n*V,E+=n*J,P+=n*G,x+=n*W,A+=n*Q,M+=n*Z,m+=(n=t[11])*B,y+=n*D,b+=n*L,v+=n*U,w+=n*q,_+=n*H,k+=n*z,S+=n*F,O+=n*K,j+=n*$,E+=n*V,P+=n*J,x+=n*G,A+=n*W,M+=n*Q,I+=n*Z,y+=(n=t[12])*B,b+=n*D,v+=n*L,w+=n*U,_+=n*q,k+=n*H,S+=n*z,O+=n*F,j+=n*K,E+=n*$,P+=n*V,x+=n*J,A+=n*G,M+=n*W,I+=n*Q,C+=n*Z,b+=(n=t[13])*B,v+=n*D,w+=n*L,_+=n*U,k+=n*q,S+=n*H,O+=n*z,j+=n*F,E+=n*K,P+=n*$,x+=n*V,A+=n*J,M+=n*G,I+=n*W,C+=n*Q,R+=n*Z,v+=(n=t[14])*B,w+=n*D,_+=n*L,k+=n*U,S+=n*q,O+=n*H,j+=n*z,E+=n*F,P+=n*K,x+=n*$,A+=n*V,M+=n*J,I+=n*G,C+=n*W,R+=n*Q,T+=n*Z,w+=(n=t[15])*B,s+=38*(k+=n*L),a+=38*(S+=n*U),c+=38*(O+=n*q),u+=38*(j+=n*H),l+=38*(E+=n*z),f+=38*(P+=n*F),d+=38*(x+=n*K),h+=38*(A+=n*$),p+=38*(M+=n*V),g+=38*(I+=n*J),m+=38*(C+=n*G),y+=38*(R+=n*W),b+=38*(T+=n*Q),v+=38*(N+=n*Z),i=(n=(i+=38*(_+=n*D))+(o=1)+65535)-65536*(o=Math.floor(n/65536)),s=(n=s+o+65535)-65536*(o=Math.floor(n/65536)),a=(n=a+o+65535)-65536*(o=Math.floor(n/65536)),c=(n=c+o+65535)-65536*(o=Math.floor(n/65536)),u=(n=u+o+65535)-65536*(o=Math.floor(n/65536)),l=(n=l+o+65535)-65536*(o=Math.floor(n/65536)),f=(n=f+o+65535)-65536*(o=Math.floor(n/65536)),d=(n=d+o+65535)-65536*(o=Math.floor(n/65536)),h=(n=h+o+65535)-65536*(o=Math.floor(n/65536)),p=(n=p+o+65535)-65536*(o=Math.floor(n/65536)),g=(n=g+o+65535)-65536*(o=Math.floor(n/65536)),m=(n=m+o+65535)-65536*(o=Math.floor(n/65536)),y=(n=y+o+65535)-65536*(o=Math.floor(n/65536)),b=(n=b+o+65535)-65536*(o=Math.floor(n/65536)),v=(n=v+o+65535)-65536*(o=Math.floor(n/65536)),w=(n=w+o+65535)-65536*(o=Math.floor(n/65536)),i=(n=(i+=o-1+37*(o-1))+(o=1)+65535)-65536*(o=Math.floor(n/65536)),s=(n=s+o+65535)-65536*(o=Math.floor(n/65536)),a=(n=a+o+65535)-65536*(o=Math.floor(n/65536)),c=(n=c+o+65535)-65536*(o=Math.floor(n/65536)),u=(n=u+o+65535)-65536*(o=Math.floor(n/65536)),l=(n=l+o+65535)-65536*(o=Math.floor(n/65536)),f=(n=f+o+65535)-65536*(o=Math.floor(n/65536)),d=(n=d+o+65535)-65536*(o=Math.floor(n/65536)),h=(n=h+o+65535)-65536*(o=Math.floor(n/65536)),p=(n=p+o+65535)-65536*(o=Math.floor(n/65536)),g=(n=g+o+65535)-65536*(o=Math.floor(n/65536)),m=(n=m+o+65535)-65536*(o=Math.floor(n/65536)),y=(n=y+o+65535)-65536*(o=Math.floor(n/65536)),b=(n=b+o+65535)-65536*(o=Math.floor(n/65536)),v=(n=v+o+65535)-65536*(o=Math.floor(n/65536)),w=(n=w+o+65535)-65536*(o=Math.floor(n/65536)),i+=o-1+37*(o-1),e[0]=i,e[1]=s,e[2]=a,e[3]=c,e[4]=u,e[5]=l,e[6]=f,e[7]=d,e[8]=h,e[9]=p,e[10]=g,e[11]=m,e[12]=y,e[13]=b,e[14]=v,e[15]=w}function j(e,t){O(e,t,t)}function E(e,t){var r,n=o();for(r=0;r<16;r++)n[r]=t[r];for(r=253;r>=0;r--)j(n,n),2!==r&&4!==r&&O(n,n,t);for(r=0;r<16;r++)e[r]=n[r]}function P(e,t,r){var n,i,s=new Uint8Array(32),c=new Float64Array(80),u=o(),l=o(),f=o(),d=o(),h=o(),p=o();for(i=0;i<31;i++)s[i]=t[i];for(s[31]=127&t[31]|64,s[0]&=248,_(c,r),i=0;i<16;i++)l[i]=c[i],d[i]=u[i]=f[i]=0;for(u[0]=d[0]=1,i=254;i>=0;--i)y(u,l,n=s[i>>>3]>>>(7&i)&1),y(f,d,n),k(h,u,f),S(u,u,f),k(f,l,d),S(l,l,d),j(d,h),j(p,u),O(u,f,u),O(f,l,h),k(h,u,f),S(u,u,f),j(l,u),S(f,d,p),O(u,f,a),k(u,u,d),O(f,f,u),O(u,d,p),O(d,l,c),j(l,h),y(u,l,n),y(f,d,n);for(i=0;i<16;i++)c[i+16]=u[i],c[i+32]=f[i],c[i+48]=l[i],c[i+64]=d[i];var g=c.subarray(32),m=c.subarray(16);return E(g,g),O(m,m,g),b(e,m),0}var x=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function A(e,t,r,n){for(var o,i,s,a,c,u,l,f,d,h,p,g,m,y,b,v,w,_,k,S,O,j,E,P,A,M,I=new Int32Array(16),C=new Int32Array(16),R=e[0],T=e[1],N=e[2],B=e[3],D=e[4],L=e[5],U=e[6],q=e[7],H=t[0],z=t[1],F=t[2],K=t[3],$=t[4],V=t[5],J=t[6],G=t[7],W=0;n>=128;){for(k=0;k<16;k++)S=8*k+W,I[k]=r[S+0]<<24|r[S+1]<<16|r[S+2]<<8|r[S+3],C[k]=r[S+4]<<24|r[S+5]<<16|r[S+6]<<8|r[S+7];for(k=0;k<80;k++)if(o=R,i=T,s=N,a=B,c=D,u=L,l=U,q,d=H,h=z,p=F,g=K,m=$,y=V,b=J,G,E=65535&(j=G),P=j>>>16,A=65535&(O=q),M=O>>>16,E+=65535&(j=($>>>14|D<<18)^($>>>18|D<<14)^(D>>>9|$<<23)),P+=j>>>16,A+=65535&(O=(D>>>14|$<<18)^(D>>>18|$<<14)^($>>>9|D<<23)),M+=O>>>16,E+=65535&(j=$&V^~$&J),P+=j>>>16,A+=65535&(O=D&L^~D&U),M+=O>>>16,E+=65535&(j=x[2*k+1]),P+=j>>>16,A+=65535&(O=x[2*k]),M+=O>>>16,O=I[k%16],P+=(j=C[k%16])>>>16,A+=65535&O,M+=O>>>16,A+=(P+=(E+=65535&j)>>>16)>>>16,E=65535&(j=_=65535&E|P<<16),P=j>>>16,A=65535&(O=w=65535&A|(M+=A>>>16)<<16),M=O>>>16,E+=65535&(j=(H>>>28|R<<4)^(R>>>2|H<<30)^(R>>>7|H<<25)),P+=j>>>16,A+=65535&(O=(R>>>28|H<<4)^(H>>>2|R<<30)^(H>>>7|R<<25)),M+=O>>>16,P+=(j=H&z^H&F^z&F)>>>16,A+=65535&(O=R&T^R&N^T&N),M+=O>>>16,f=65535&(A+=(P+=(E+=65535&j)>>>16)>>>16)|(M+=A>>>16)<<16,v=65535&E|P<<16,E=65535&(j=g),P=j>>>16,A=65535&(O=a),M=O>>>16,P+=(j=_)>>>16,A+=65535&(O=w),M+=O>>>16,T=o,N=i,B=s,D=a=65535&(A+=(P+=(E+=65535&j)>>>16)>>>16)|(M+=A>>>16)<<16,L=c,U=u,q=l,R=f,z=d,F=h,K=p,$=g=65535&E|P<<16,V=m,J=y,G=b,H=v,k%16==15)for(S=0;S<16;S++)O=I[S],E=65535&(j=C[S]),P=j>>>16,A=65535&O,M=O>>>16,O=I[(S+9)%16],E+=65535&(j=C[(S+9)%16]),P+=j>>>16,A+=65535&O,M+=O>>>16,w=I[(S+1)%16],E+=65535&(j=((_=C[(S+1)%16])>>>1|w<<31)^(_>>>8|w<<24)^(_>>>7|w<<25)),P+=j>>>16,A+=65535&(O=(w>>>1|_<<31)^(w>>>8|_<<24)^w>>>7),M+=O>>>16,w=I[(S+14)%16],P+=(j=((_=C[(S+14)%16])>>>19|w<<13)^(w>>>29|_<<3)^(_>>>6|w<<26))>>>16,A+=65535&(O=(w>>>19|_<<13)^(_>>>29|w<<3)^w>>>6),M+=O>>>16,M+=(A+=(P+=(E+=65535&j)>>>16)>>>16)>>>16,I[S]=65535&A|M<<16,C[S]=65535&E|P<<16;E=65535&(j=H),P=j>>>16,A=65535&(O=R),M=O>>>16,O=e[0],P+=(j=t[0])>>>16,A+=65535&O,M+=O>>>16,M+=(A+=(P+=(E+=65535&j)>>>16)>>>16)>>>16,e[0]=R=65535&A|M<<16,t[0]=H=65535&E|P<<16,E=65535&(j=z),P=j>>>16,A=65535&(O=T),M=O>>>16,O=e[1],P+=(j=t[1])>>>16,A+=65535&O,M+=O>>>16,M+=(A+=(P+=(E+=65535&j)>>>16)>>>16)>>>16,e[1]=T=65535&A|M<<16,t[1]=z=65535&E|P<<16,E=65535&(j=F),P=j>>>16,A=65535&(O=N),M=O>>>16,O=e[2],P+=(j=t[2])>>>16,A+=65535&O,M+=O>>>16,M+=(A+=(P+=(E+=65535&j)>>>16)>>>16)>>>16,e[2]=N=65535&A|M<<16,t[2]=F=65535&E|P<<16,E=65535&(j=K),P=j>>>16,A=65535&(O=B),M=O>>>16,O=e[3],P+=(j=t[3])>>>16,A+=65535&O,M+=O>>>16,M+=(A+=(P+=(E+=65535&j)>>>16)>>>16)>>>16,e[3]=B=65535&A|M<<16,t[3]=K=65535&E|P<<16,E=65535&(j=$),P=j>>>16,A=65535&(O=D),M=O>>>16,O=e[4],P+=(j=t[4])>>>16,A+=65535&O,M+=O>>>16,M+=(A+=(P+=(E+=65535&j)>>>16)>>>16)>>>16,e[4]=D=65535&A|M<<16,t[4]=$=65535&E|P<<16,E=65535&(j=V),P=j>>>16,A=65535&(O=L),M=O>>>16,O=e[5],P+=(j=t[5])>>>16,A+=65535&O,M+=O>>>16,M+=(A+=(P+=(E+=65535&j)>>>16)>>>16)>>>16,e[5]=L=65535&A|M<<16,t[5]=V=65535&E|P<<16,E=65535&(j=J),P=j>>>16,A=65535&(O=U),M=O>>>16,O=e[6],P+=(j=t[6])>>>16,A+=65535&O,M+=O>>>16,M+=(A+=(P+=(E+=65535&j)>>>16)>>>16)>>>16,e[6]=U=65535&A|M<<16,t[6]=J=65535&E|P<<16,E=65535&(j=G),P=j>>>16,A=65535&(O=q),M=O>>>16,O=e[7],P+=(j=t[7])>>>16,A+=65535&O,M+=O>>>16,M+=(A+=(P+=(E+=65535&j)>>>16)>>>16)>>>16,e[7]=q=65535&A|M<<16,t[7]=G=65535&E|P<<16,W+=128,n-=128}return n}function M(e,t,r){var n,o=new Int32Array(8),i=new Int32Array(8),s=new Uint8Array(256),a=r;for(o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,i[0]=4089235720,i[1]=2227873595,i[2]=4271175723,i[3]=1595750129,i[4]=2917565137,i[5]=725511199,i[6]=4215389547,i[7]=327033209,A(o,i,t,r),r%=128,n=0;n=0;--o)C(e,t,n=r[o/8|0]>>(7&o)&1),I(t,e),I(e,e),C(e,t,n)}function N(e,t){var r=[o(),o(),o(),o()];g(r[0],l),g(r[1],f),g(r[2],s),O(r[3],l,f),T(e,r,t)}var B=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function D(e,t){var r,n,o,i;for(n=63;n>=32;--n){for(r=0,o=n-32,i=n-12;o>8,t[o]-=256*r;t[o]+=r,t[n]=0}for(r=0,o=0;o<32;o++)t[o]+=r-(t[31]>>4)*B[o],r=t[o]>>8,t[o]&=255;for(o=0;o<32;o++)t[o]-=r*B[o];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function L(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;D(e,r)}function U(e,t,r,n,i){for(var s=new Uint8Array(64),a=[o(),o(),o(),o()],c=0;c<32;c++)s[c]=n[c];s[0]&=248,s[31]&=127,s[31]|=64,N(a,s),R(s.subarray(32),a);var u,l=128&s[63];return u=i?function(e,t,r,n,i){var s,a,c=new Uint8Array(64),u=new Uint8Array(64),l=new Float64Array(64),f=[o(),o(),o(),o()];for(e[0]=254,s=1;s<32;s++)e[s]=255;for(s=0;s<32;s++)e[32+s]=n[s];for(s=0;s=0;r--)j(n,n),1!==r&&O(n,n,t);for(r=0;r<16;r++)e[r]=n[r]}(r,r),O(r,r,a),O(r,r,u),O(r,r,u),O(e[0],r,u),j(n,e[0]),O(n,n,u),v(n,a)&&O(e[0],e[0],d),j(n,e[0]),O(n,n,u),v(n,a)?-1:(w(e[0])===t[31]>>7&&S(e[0],i,e[0]),O(e[3],e[0],e[1]),0)}function H(e,t,r,n){var i=function(e){var t=new Uint8Array(32),r=o(),n=o(),i=o();return _(r,e),k(n,r,s),S(i,r,s),E(n,n),O(n,n,i),b(t,n),t}(n);return i[31]|=128&t[63],t[63]&=127,function(e,t,r,n){var i,s=new Uint8Array(32),a=new Uint8Array(64),c=[o(),o(),o(),o()],u=[o(),o(),o(),o()];if(-1,r<64)return-1;if(q(u,n))return-1;for(i=0;i=0},t.generateKeyPair=function(e){if(z(e),32!==e.length)throw new Error("wrong seed length");for(var t=new Uint8Array(32),r=new Uint8Array(32),o=0;o<32;o++)t[o]=e[o];return P(r,t,n),t[0]&=248,t[31]&=127,t[31]|=64,r[31]&=127,{public:r,private:t}},t.default={}},function(e,t,r){(function(n,o){var i;!function(s){"use strict";function a(e,t){if(t=t||{type:"Array"},void 0!==n&&"number"==typeof n.pid&&n.versions&&n.versions.node)return function(e,t){var n=r(771).randomBytes(e);switch(t.type){case"Array":return[].slice.call(n);case"Buffer":return n;case"Uint8Array":for(var o=new Uint8Array(e),i=0;i0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1] "+m.message,new Error("UnsupportedEnvironments: "+s);case 14:return[2,new Uint8Array(i)]}}))}))};var l=function(e,t,r){return n(void 0,void 0,void 0,(function(){var n,i,s,c,l,f,d,h;return o(this,(function(o){switch(o.label){case 0:return n=a.default.hashes[r].blockSize,i=a.default.hashes[r].hashSize,e.length>n?[4,u.default.compute(e,r)]:[3,2];case 1:e=o.sent(),o.label=2;case 2:return(s=new Uint8Array(n)).set(e),c=s.map((function(e){return 255&(54^e)})),l=s.map((function(e){return 255&(92^e)})),(f=new Uint8Array(n+t.length)).set(c),f.set(t,n),[4,u.default.compute(f,r)];case 3:return d=o.sent(),(h=new Uint8Array(n+i)).set(l),h.set(d,n),[2,u.default.compute(h,r)]}}))}))};t.verify=function(e,r,i,s){return void 0===s&&(s="SHA-256"),n(void 0,void 0,void 0,(function(){var n;return o(this,(function(o){switch(o.label){case 0:return[4,t.compute(e,r,s)];case 1:return n=o.sent(),[2,i.toString()===n.toString()]}}))}))};var f=function(e,t,r,n,o,i){return new Promise((function(s,a){var c=i.importKey(e,t,r,n,o);c.oncomplete=function(e){s(e.target.result)},c.onerror=function(){a("KeyImportingFailed")}}))},d=function(e,t,r,n){return new Promise((function(o,i){var s=n.sign({name:"HMAC",hash:{name:e}},t,r);s.oncomplete=function(e){o(new Uint8Array(e.target.result))},s.onerror=function(){i("ComputingHMACFailed")}}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={hashes:{"SHA3-512":{nodeName:"sha3-512",hashSize:64,blockSize:72},"SHA3-384":{nodeName:"sha3-384",hashSize:48,blockSize:104},"SHA3-256":{nodeName:"sha3-256",hashSize:32,blockSize:136},"SHA3-224":{nodeName:"sha3-224",hashSize:28,blockSize:144},"SHA-256":{nodeName:"sha256",hashSize:32,blockSize:64},"SHA-384":{nodeName:"sha384",hashSize:48,blockSize:128},"SHA-512":{nodeName:"sha512",hashSize:64,blockSize:128},"SHA-1":{nodeName:"sha1",hashSize:20,blockSize:64},MD5:{nodeName:"md5",hashSize:16,blockSize:64}}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,n=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1] "+e.message,new Error("UnsupportedEnvironment: "+i)}return[2,new Uint8Array(n)]}}))}))};var d=function(e,t,r){return new Promise((function(n,o){var i=r.digest(e,t);i.oncomplete=function(e){n(e.target.result)},i.onerror=function(e){o(e)}}))},h=function(e,t,r){var n=c.default.hashes[e].nodeName,o=r.createHash(n);return o.update(t),o.digest()},p=function(e,t){var n;if("MD5"===e)n=u.default(Array.from(t),{asBytes:!0});else if(["SHA3-512","SHA3-384","SHA3-256","SHA3-224"].indexOf(e)>=0){var o=8*c.default.hashes[e].hashSize,i=new l.SHA3(o),s=r(2).Buffer;i.update(s.from(t)),n=i.digest("binary")}else n=f.default[c.default.hashes[e].nodeName]().update(t).digest();return new Uint8Array(n)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={hashes:{"SHA3-512":{nodeName:"sha3-512",hashSize:64},"SHA3-384":{nodeName:"sha3-384",hashSize:48},"SHA3-256":{nodeName:"sha3-256",hashSize:32},"SHA3-224":{nodeName:"sha3-224",hashSize:28},"SHA-256":{nodeName:"sha256",hashSize:32},"SHA-384":{nodeName:"sha384",hashSize:48},"SHA-512":{nodeName:"sha512",hashSize:64},"SHA-1":{nodeName:"sha1",hashSize:20},MD5:{nodeName:"md5",hashSize:16}}}},function(e,t,r){var n,o,i,s,a;n=r(782),o=r(375).utf8,i=r(783),s=r(375).bin,(a=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?s.stringToBytes(e):o.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var r=n.bytesToWords(e),c=8*e.length,u=1732584193,l=-271733879,f=-1732584194,d=271733878,h=0;h>>24)|4278255360&(r[h]<<24|r[h]>>>8);r[c>>>5]|=128<>>9<<4)]=c;var p=a._ff,g=a._gg,m=a._hh,y=a._ii;for(h=0;h>>0,l=l+v>>>0,f=f+w>>>0,d=d+_>>>0}return n.endian([u,l,f,d])})._ff=function(e,t,r,n,o,i,s){var a=e+(t&r|~t&n)+(o>>>0)+s;return(a<>>32-i)+t},a._gg=function(e,t,r,n,o,i,s){var a=e+(t&n|r&~n)+(o>>>0)+s;return(a<>>32-i)+t},a._hh=function(e,t,r,n,o,i,s){var a=e+(t^r^n)+(o>>>0)+s;return(a<>>32-i)+t},a._ii=function(e,t,r,n,o,i,s){var a=e+(r^(t|~n))+(o>>>0)+s;return(a<>>32-i)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var r=n.wordsToBytes(a(e,t));return t&&t.asBytes?r:t&&t.asString?s.bytesToString(r):n.bytesToHex(r)}},function(e,t){var r,n;r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],r=0,n=0;r>>5]|=e[r]<<24-n%32;return t},wordsToBytes:function(e){for(var t=[],r=0;r<32*e.length;r+=8)t.push(e[r>>>5]>>>24-r%32&255);return t},bytesToHex:function(e){for(var t=[],r=0;r>>4).toString(16)),t.push((15&e[r]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],r=0;r>>6*(3-i)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],n=0,o=0;n>>6-2*o);return t}},e.exports=n},function(e,t){function r(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)} -/*! - * Determine if an object is a Buffer - * - * @author Feross Aboukhadijeh - * @license MIT - */ -e.exports=function(e){return null!=e&&(r(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&r(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SHAKE=t.SHA3Hash=t.SHA3=t.Keccak=void 0;var n,o=r(2),i=(n=r(785))&&n.__esModule?n:{default:n};var s=function(e){var t=e.allowedSizes,r=e.padding;return function e(){var n=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:512;if(!this||this.constructor!==e)return new e(s);if(t&&!t.includes(s))throw new Error("Unsupported hash length");var a=new i.default({capacity:s});return this.update=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"utf8";if(o.Buffer.isBuffer(e))return a.absorb(e),n;if("string"==typeof e)return n.update(o.Buffer.from(e,t));throw new TypeError("Not a string or buffer")},this.digest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"binary",t="string"==typeof e?{format:e}:e,n=a.squeeze({buffer:t.buffer,padding:t.padding||r});return t.format&&"binary"!==t.format?n.toString(t.format):n},this.reset=function(){return a.reset(),n},this}},a=s({allowedSizes:[224,256,384,512],padding:1});t.Keccak=a;var c=s({allowedSizes:[224,256,384,512],padding:6});t.SHA3=c;var u=s({allowedSizes:[128,256],padding:31});t.SHAKE=u;var l=a;t.SHA3Hash=l,c.SHA3Hash=l;var f=c;t.default=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=r(2),i=(n=r(786))&&n.__esModule?n:{default:n};var s=function(e,t){for(var r=0;r>>8,t[r+2]=e[n+1]>>>16,t[r+3]=e[n+1]>>>24,t[r+4]=e[n],t[r+5]=e[n]>>>8,t[r+6]=e[n]>>>16,t[r+7]=e[n]>>>24}return t},c=function(e){var t=this,r=e.capacity,n=e.padding,c=(0,i.default)(),u=r/8,l=200-r/4,f=0,d=new Uint32Array(50),h=o.Buffer.allocUnsafe(l);return this.absorb=function(e){for(var r=0;r=l&&(s(h,d),c(d),f=0);return t},this.squeeze=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={buffer:e.buffer||o.Buffer.allocUnsafe(u),padding:e.padding||n,queue:o.Buffer.allocUnsafe(h.length),state:new Uint32Array(d.length)};h.copy(t.queue);for(var r=0;r>>l,s[(u+1)%2]=c<>>l,(0,i.default)(s,0)(t,d),(0,i.default)(r,0)(s,0)}};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=[10,7,11,17,18,3,5,16,8,21,24,4,15,23,19,13,12,2,20,14,22,9,6,1];t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=[1,3,6,10,15,21,28,36,45,55,2,14,27,41,56,8,25,43,62,18,39,61,20,44];t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(202))&&n.__esModule?n:{default:n};var i=function(e){for(var t=e.A,r=e.C,n=e.D,i=e.W,s=0,a=0,c=0;c<5;c++){var u=2*c,l=2*(c+5),f=2*(c+10),d=2*(c+15),h=2*(c+20);r[u]=t[u]^t[l]^t[f]^t[d]^t[h],r[u+1]=t[u+1]^t[l+1]^t[f+1]^t[d+1]^t[h+1]}for(var p=0;p<5;p++){(0,o.default)(r,(p+1)%5)(i,0),s=i[0],a=i[1],i[0]=s<<1|a>>>31,i[1]=a<<1|s>>>31,n[2*p]=r[(p+4)%5*2]^i[0],n[2*p+1]=r[(p+4)%5*2+1]^i[1];for(var g=0;g<25;g+=5)t[2*(g+p)]^=n[2*p],t[2*(g+p)+1]^=n[2*p+1]}};t.default=i},function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o,i,s=n(r(376)),a=n(r(796));!function(e){e.encodeBase64=s.encodeBase64,e.decodeBase64=s.decodeBase64,e.encodeBase64Url=s.encodeBase64Url,e.decodeBase64Url=s.decodeBase64Url,e.arrayBufferToHexString=s.arrayBufferToHexString,e.hexStringToArrayBuffer=s.hexStringToArrayBuffer,e.stringToArrayBuffer=s.stringToArrayBuffer,e.arrayBufferToString=s.arrayBufferToString}(o=t.encoder||(t.encoder={})),function(e){e.binToPem=a.binToPem,e.pemToBin=a.pemToBin}(i=t.formatter||(t.formatter={})),t.default={encoder:o,formatter:i}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getEnvBtoa=function(){return"undefined"!=typeof window?window.btoa:r},t.getEnvAtob=function(){return"undefined"!=typeof window?window.atob:n};var r=function(t){if(void 0===e)throw new Error("UnsupportedEnvironment");return e.from(t.toString(),"binary").toString("base64")},n=function(t){if(void 0===e)throw new Error("UnsupportedEnvironment");return e.from(t,"base64").toString("binary")}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(376)),i={public:"PUBLIC KEY",private:"PRIVATE KEY",encryptedPrivate:"ENCRYPTED PRIVATE KEY",certificate:"CERTIFICATE",certRequest:"CERTIFICATE REQUEST"};t.pemToBin=function(e){var t=a(e);return o.decodeBase64(t)},t.binToPem=function(e,t){var r=o.encodeBase64(e);return s(r,t)};var s=function(e,t){for(var r=i[t],n="-----BEGIN "+r+"-----\n";e.length>0;)n+=e.substring(0,64)+"\n",e=e.substring(64);return n=n+"-----END "+r+"-----"},a=function(e){var t=RegExp("^-----[s]*BEGIN[^-]*-----$","gm"),r=RegExp("^-----[s]*END[^-]*-----$","gm");try{var n=e.split(t)[1].split(r)[0];return n=n.replace(/\r?\n/g,"")}catch(e){throw new Error("Invalid format as PEM")}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,n=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]Math.pow(2,32)-1)throw new Error("TooLongKeyDataIndicated");u=new Uint8Array(s.default.hashes[i].hashSize*n),l=new Uint8Array(4),f=0,o.label=1;case 1:return f0;)e[r-1]+=t&&0===e[r]?1:0,t=t&&0===e[r],r--;return e}},function(e,t,r){"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,o,i;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(o=n;0!=o--;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(i=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(r,i[o]))return!1;for(o=n;0!=o--;){var s=i[o];if(!e(t[s],r[s]))return!1}return!0}return t!=t&&r!=r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(105),o=r(204);function i(e){return[n.Slip10RawIndex.hardened(44),n.Slip10RawIndex.hardened(529),n.Slip10RawIndex.hardened(0),n.Slip10RawIndex.normal(0),n.Slip10RawIndex.normal(e)]}t.makeSecretNetworkPath=i;class s{constructor(e,t){this.privkey=e,this.pubkey=t}static async fromMnemonic(e,t=i(0)){const r=await n.Bip39.mnemonicToSeed(new n.EnglishMnemonic(e)),{privkey:o}=n.Slip10.derivePath(n.Slip10Curve.Secp256k1,r,t),a=(await n.Secp256k1.makeKeypair(o)).pubkey;return new s(o,n.Secp256k1.compressPubkey(a))}async sign(e,t="sha256"){const r=function(e,t){switch(t){case null:return new Uint8Array([...e]);case"sha256":return new n.Sha256(e).digest();case"sha512":return new n.Sha512(e).digest();default:throw new Error("Unknown prehash type")}}(e,t),i=await n.Secp256k1.createSignature(r,this.privkey),s=new Uint8Array([...i.r(32),...i.s(32)]);return o.encodeSecp256k1Signature(this.pubkey,s)}}t.Secp256k1Pen=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(105),o=r(196),i=r(204);t.findSequenceForSignedTx=async function(e,t,r,s,a=0){const c=e.value.signatures.find(()=>!0);if(!c)throw new Error("Signature missing in tx");const{pubkey:u,signature:l}=i.decodeSignature(c),f=n.Secp256k1Signature.fromFixedLength(l);for(let i=a;ii.Encoding.fromBase64(e.value.msg).slice(0,32)),h=await this.restClient.decryptDataField(f.data,d);return{logs:await this.restClient.decryptLogs(f.logs,d),transactionHash:f.transactionHash,data:h}}async execute(e,t,r="",n,o=this.fees.exec,s){s?this.restClient.codeHashCache.set(e,s):s=await this.restClient.getCodeHashByContractAddr(e);const a={type:"wasm/MsgExecuteContract",value:{sender:this.senderAddress,contract:e,callback_code_hash:"",msg:i.Encoding.toBase64(await this.restClient.enigmautils.encrypt(s,t)),sent_funds:null!=n?n:[],callback_sig:null}},{accountNumber:c,sequence:u}=await this.getNonce(),l=await this.getChainId(),f=await this.signAdapter([a],o,l,r,c,u),d=i.Encoding.fromBase64(a.value.msg).slice(0,32);let h;try{h=await this.postTx(f)}catch(e){try{const t=/contract failed: encrypted: (.+?): failed to execute message; message index: 0/g.exec(e.message);if(null==t||2!=t.length)throw e;const r=t[1],n=i.Encoding.fromBase64(r),o=await this.restClient.enigmautils.decrypt(n,d);e.message=e.message.replace(r,i.Encoding.fromUtf8(o))}catch(t){throw new Error(`Failed to decrypt the following error message: ${e.message}. Decryption error of the error message: ${t.message}`)}throw e}const p=await this.restClient.decryptDataField(h.data,[d]);return{logs:await this.restClient.decryptLogs(h.logs,[d]),transactionHash:h.transactionHash,data:p}}async sendTokens(e,t,r="",n=this.fees.send){const o={type:"cosmos-sdk/MsgSend",value:{from_address:this.senderAddress,to_address:e,amount:t}},{accountNumber:i,sequence:s}=await this.getNonce(),a=await this.getChainId(),c=await this.signAdapter([o],n,a,r,i,s);return this.postTx(c)}}t.SigningCosmWasmClient=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=new RegExp("^[a-z0-9][a-z0-9._-]*[a-z0-9](/[a-z0-9][a-z0-9._-]*[a-z0-9])+:[a-zA-Z0-9_][a-zA-Z0-9_.-]{0,127}$");t.isValidBuilder=function(e){return!(e.length>128)&&!!e.match(n)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(205),o=r(378),i=r(804);t.init=function(e,t){e.registerMessage(n.GetPubkeyMsg),e.registerMessage(n.ReqeustEncryptMsg),e.registerMessage(n.RequestDecryptMsg),e.registerMessage(n.GetTxEncryptionKeyMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(205);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.GetPubkeyMsg:return i(e)(t,r);case o.ReqeustEncryptMsg:return s(e)(t,r);case o.RequestDecryptMsg:return a(e)(t,r);case o.GetTxEncryptionKeyMsg:return c(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.getPubkey(t,r.chainId)})),s=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.encrypt(t,r.chainId,r.contractCodeHash,r.msg)})),a=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.decrypt(t,r.chainId,r.cipherText,r.nonce)})),c=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.getTxEncryptionKey(t,r.chainId,r.nonce)}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(379),t),o(r(806),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(206),o=r(380),i=r(807);t.init=function(e,t){e.registerMessage(n.SendTxMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(206);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.SendTxMsg:return i(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.sendTx(r.chainId,r.tx,r.mode)}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(335),t),o(r(809),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(178),o=r(337),i=r(810);t.init=function(e,t){e.registerMessage(n.TryUpdateChainMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(178);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.TryUpdateChainMsg:return i(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.tryUpdateChain(r.chainId)}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(381),t),o(r(812),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(142),o=r(382),i=r(813);t.init=function(e,t){e.registerMessage(n.GetTokensMsg),e.registerMessage(n.SuggestTokenMsg),e.registerMessage(n.AddTokenMsg),e.registerMessage(n.RemoveTokenMsg),e.registerMessage(n.GetSecret20ViewingKey),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(142);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.GetTokensMsg:return i(e)(t,r);case o.SuggestTokenMsg:return s(e)(t,r);case o.AddTokenMsg:return a(e)(t,r);case o.RemoveTokenMsg:return c(e)(t,r);case o.GetSecret20ViewingKey:return u(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.getTokens(r.chainId)})),s=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.suggestToken(t,r.chainId,r.contractAddress,r.viewingKey)})),a=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.addToken(r.chainId,r.currency)})),c=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.removeToken(r.chainId,r.currency)})),u=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.getSecret20ViewingKey(r.chainId,r.contractAddress)}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(338),t),o(r(815),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(180),o=r(341),i=r(816);t.init=function(e,t){e.registerMessage(n.ApproveInteractionMsg),e.registerMessage(n.RejectInteractionMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const n=r(180);t.getHandler=e=>(t,r)=>{switch(r.constructor){case n.ApproveInteractionMsg:return o(e)(t,r);case n.RejectInteractionMsg:return i(e)(t,r);default:throw new Error("Unknown msg type")}};const o=e=>(t,r)=>e.approve(r.id,r.result),i=e=>(t,r)=>e.reject(r.id)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(351),t),o(r(818),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(192),o=r(354),i=r(819);t.init=function(e,t){e.registerMessage(n.EnableAccessMsg),e.registerMessage(n.GetPermissionOriginsMsg),e.registerMessage(n.RemovePermissionOrigin),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(192);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.EnableAccessMsg:return i(e)(t,r);case o.GetPermissionOriginsMsg:return s(e)(t,r);case o.RemovePermissionOrigin:return a(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.checkOrGrantBasicAccessPermission(t,r.chainIds,r.origin)})),s=e=>(t,r)=>e.getPermissionOrigins(r.chainId,r.permissionType),a=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.removePermission(r.chainId,r.permissionType,[r.permissionOrigin])}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(330),t),o(r(177),t)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(359),t),o(r(205),t)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(379),t),o(r(206),t)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(381),t),o(r(142),t),o(r(383),t)},,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return i}));var n=r(11);const o=[{rpc:"https://rpc-cosmoshub.keplr.app",rpcConfig:void 0,rest:"https://lcd-cosmoshub.keplr.app",restConfig:void 0,chainId:"cosmoshub-4",chainName:"Cosmos",stakeCurrency:{coinDenom:"ATOM",coinMinimalDenom:"uatom",coinDecimals:6,coinGeckoId:"cosmos"},walletUrl:"https://wallet.keplr.app/#/cosmoshub/stake",walletUrlForStaking:"https://wallet.keplr.app/#/cosmoshub/stake",bip44:{coinType:118},bech32Config:n.Bech32Address.defaultBech32Config("cosmos"),currencies:[{coinDenom:"ATOM",coinMinimalDenom:"uatom",coinDecimals:6,coinGeckoId:"cosmos"}],feeCurrencies:[{coinDenom:"ATOM",coinMinimalDenom:"uatom",coinDecimals:6,coinGeckoId:"cosmos"}],coinType:118,features:["stargate","ibc-transfer"]},{rpc:"https://rpc-osmosis.keplr.app",rpcConfig:void 0,rest:"https://lcd-osmosis.keplr.app",restConfig:void 0,chainId:"osmosis-1",chainName:"Osmosis",stakeCurrency:{coinDenom:"OSMO",coinMinimalDenom:"uosmo",coinDecimals:6,coinGeckoId:"osmosis"},walletUrl:"https://app.osmosis.zone",walletUrlForStaking:"https://wallet.keplr.app/#/osmosis/stake",bip44:{coinType:118},bech32Config:n.Bech32Address.defaultBech32Config("osmo"),currencies:[{coinDenom:"OSMO",coinMinimalDenom:"uosmo",coinDecimals:6,coinGeckoId:"osmosis"},{coinDenom:"ION",coinMinimalDenom:"uion",coinDecimals:6,coinGeckoId:"ion"}],feeCurrencies:[{coinDenom:"OSMO",coinMinimalDenom:"uosmo",coinDecimals:6,coinGeckoId:"osmosis"}],gasPriceStep:{low:0,average:.025,high:.035},features:["stargate","ibc-transfer"]},{rpc:"https://rpc-secret.keplr.app",rpcConfig:void 0,rest:"https://lcd-secret.keplr.app",restConfig:void 0,chainId:"secret-2",chainName:"Secret Network",stakeCurrency:{coinDenom:"SCRT",coinMinimalDenom:"uscrt",coinDecimals:6,coinGeckoId:"secret"},walletUrl:"https://wallet.keplr.app/#/secret/stake",walletUrlForStaking:"https://wallet.keplr.app/#/secret/stake",bip44:{coinType:529},alternativeBIP44s:[{coinType:118}],bech32Config:n.Bech32Address.defaultBech32Config("secret"),currencies:[{coinDenom:"SCRT",coinMinimalDenom:"uscrt",coinDecimals:6,coinGeckoId:"secret"}],feeCurrencies:[{coinDenom:"SCRT",coinMinimalDenom:"uscrt",coinDecimals:6,coinGeckoId:"secret"}],coinType:529,gasPriceStep:{low:.1,average:.25,high:.3},features:["secretwasm"]},{rpc:"https://rpc-akash.keplr.app",rpcConfig:void 0,rest:"https://lcd-akash.keplr.app",restConfig:void 0,chainId:"akashnet-2",chainName:"Akash",stakeCurrency:{coinDenom:"AKT",coinMinimalDenom:"uakt",coinDecimals:6,coinGeckoId:"akash-network"},walletUrl:"https://wallet.keplr.app/#/akashnet/stake",walletUrlForStaking:"https://wallet.keplr.app/#/akashnet/stake",bip44:{coinType:118},bech32Config:n.Bech32Address.defaultBech32Config("akash"),currencies:[{coinDenom:"AKT",coinMinimalDenom:"uakt",coinDecimals:6,coinGeckoId:"akash-network"}],feeCurrencies:[{coinDenom:"AKT",coinMinimalDenom:"uakt",coinDecimals:6,coinGeckoId:"akash-network"}],features:["stargate","ibc-transfer"]},{rpc:"https://rpc-crypto-org.keplr.app",rpcConfig:void 0,rest:"https://lcd-crypto-org.keplr.app",restConfig:void 0,chainId:"crypto-org-chain-mainnet-1",chainName:"Crypto.org",stakeCurrency:{coinDenom:"CRO",coinMinimalDenom:"basecro",coinDecimals:8,coinGeckoId:"crypto-com-chain"},walletUrl:"https://wallet.keplr.app/#/crypto-org/stake",walletUrlForStaking:"https://wallet.keplr.app/#/crypto-org/stake",bip44:{coinType:394},bech32Config:n.Bech32Address.defaultBech32Config("cro"),currencies:[{coinDenom:"CRO",coinMinimalDenom:"basecro",coinDecimals:8,coinGeckoId:"crypto-com-chain"}],feeCurrencies:[{coinDenom:"CRO",coinMinimalDenom:"basecro",coinDecimals:8,coinGeckoId:"crypto-com-chain"}],gasPriceStep:{low:.025,average:.03,high:.04},features:["stargate","ibc-transfer"]},{rpc:"https://rpc-iov.keplr.app",rpcConfig:void 0,rest:"https://lcd-iov.keplr.app",restConfig:void 0,chainId:"iov-mainnet-ibc",chainName:"Starname",stakeCurrency:{coinDenom:"IOV",coinMinimalDenom:"uiov",coinDecimals:6,coinGeckoId:"starname"},walletUrl:"https://wallet.keplr.app/#/iov-mainnet/stake",walletUrlForStaking:"https://wallet.keplr.app/#/iov-mainnet/stake",bip44:{coinType:234},bech32Config:n.Bech32Address.defaultBech32Config("star"),currencies:[{coinDenom:"IOV",coinMinimalDenom:"uiov",coinDecimals:6,coinGeckoId:"starname"}],feeCurrencies:[{coinDenom:"IOV",coinMinimalDenom:"uiov",coinDecimals:6,coinGeckoId:"starname"}],gasPriceStep:{low:1,average:2,high:3},features:["stargate","ibc-transfer"]},{rpc:"https://rpc-sifchain.keplr.app",rpcConfig:void 0,rest:"https://lcd-sifchain.keplr.app",restConfig:void 0,chainId:"sifchain-1",chainName:"Sifchain",stakeCurrency:{coinDenom:"ROWAN",coinMinimalDenom:"rowan",coinDecimals:18,coinGeckoId:"sifchain"},walletUrl:"https://wallet.keplr.app/#/sifchain/stake",walletUrlForStaking:"https://wallet.keplr.app/#/sifchain/stake",bip44:{coinType:118},bech32Config:n.Bech32Address.defaultBech32Config("sif"),currencies:[{coinDenom:"ROWAN",coinMinimalDenom:"rowan",coinDecimals:18,coinGeckoId:"sifchain"},{coinDenom:"Tether USDT",coinMinimalDenom:"cusdt",coinDecimals:6},{coinDenom:"Ethereum",coinMinimalDenom:"ceth",coinDecimals:18},{coinDenom:"Basic Attention Token",coinMinimalDenom:"cbat",coinDecimals:18},{coinDenom:"Aragon",coinMinimalDenom:"cant",coinDecimals:18},{coinDenom:"Bancor Network Token",coinMinimalDenom:"cbnt",coinDecimals:18},{coinDenom:"0x",coinMinimalDenom:"czrx",coinDecimals:18},{coinDenom:"Chainlink",coinMinimalDenom:"clink",coinDecimals:18},{coinDenom:"Decentraland",coinMinimalDenom:"cmana",coinDecimals:18},{coinDenom:"Loopring",coinMinimalDenom:"clrc",coinDecimals:18},{coinDenom:"Enjin Coin",coinMinimalDenom:"cenj",coinDecimals:18},{coinDenom:"Synthetix Network Token",coinMinimalDenom:"csnx",coinDecimals:18},{coinDenom:"TrueUSD",coinMinimalDenom:"ctusd",coinDecimals:18},{coinDenom:"Ocean Protocol",coinMinimalDenom:"cocean",coinDecimals:18},{coinDenom:"Fantom",coinMinimalDenom:"cftm",coinDecimals:18},{coinDenom:"sUSD",coinMinimalDenom:"csusd",coinDecimals:18},{coinDenom:"USD Coin",coinMinimalDenom:"cusdc",coinDecimals:6},{coinDenom:"Crypto com Coin",coinMinimalDenom:"ccro",coinDecimals:8},{coinDenom:"Wrapped Bitcoin",coinMinimalDenom:"cwbtc",coinDecimals:8},{coinDenom:"Swipe",coinMinimalDenom:"csxp",coinDecimals:18},{coinDenom:"Band Protocol",coinMinimalDenom:"cband",coinDecimals:18},{coinDenom:"Dai Stablecoin",coinMinimalDenom:"cdai",coinDecimals:18},{coinDenom:"Compound",coinMinimalDenom:"ccomp",coinDecimals:18},{coinDenom:"UMA",coinMinimalDenom:"cuma",coinDecimals:18},{coinDenom:"Balancer",coinMinimalDenom:"cbal",coinDecimals:18},{coinDenom:"Yearn finance",coinMinimalDenom:"cyfi",coinDecimals:18},{coinDenom:"Serum",coinMinimalDenom:"csrm",coinDecimals:6},{coinDenom:"Cream",coinMinimalDenom:"ccream",coinDecimals:18},{coinDenom:"SAND",coinMinimalDenom:"csand",coinDecimals:18},{coinDenom:"Sushi",coinMinimalDenom:"csushi",coinDecimals:18},{coinDenom:"Empty Set Dollar",coinMinimalDenom:"cesd",coinDecimals:18},{coinDenom:"Uniswap",coinMinimalDenom:"cuni",coinDecimals:18},{coinDenom:"Aave",coinMinimalDenom:"caave",coinDecimals:18},{coinDenom:"BarnBridge",coinMinimalDenom:"cbond",coinDecimals:18},{coinDenom:"Wrapped Filecoin",coinMinimalDenom:"cwfil",coinDecimals:18},{coinDenom:"The Graph",coinMinimalDenom:"cgrt",coinDecimals:18},{coinDenom:"Tokenlon",coinMinimalDenom:"clon",coinDecimals:18},{coinDenom:"1inch",coinMinimalDenom:"c1inch",coinDecimals:18},{coinDenom:"THORChain ERC20",coinMinimalDenom:"crune",coinDecimals:18},{coinDenom:"Secret ERC20",coinMinimalDenom:"cwscrt",coinDecimals:6},{coinDenom:"IoTeX",coinMinimalDenom:"ciotx",coinDecimals:18},{coinDenom:"Reef Finance",coinMinimalDenom:"creef",coinDecimals:18},{coinDenom:"COCOS BCX",coinMinimalDenom:"ccocos",coinDecimals:18},{coinDenom:"Keep Network",coinMinimalDenom:"ckeep",coinDecimals:18},{coinDenom:"Origin Protocol",coinMinimalDenom:"cogn",coinDecimals:18},{coinDenom:"ODAOfi",coinMinimalDenom:"cdaofi",coinDecimals:18},{coinDenom:"Linear",coinMinimalDenom:"clina",coinDecimals:18},{coinDenom:"12Ships",coinMinimalDenom:"ctshp",coinDecimals:18},{coinDenom:"B.20",coinMinimalDenom:"cb20",coinDecimals:18},{coinDenom:"Akropolis",coinMinimalDenom:"cakro",coinDecimals:18},{coinDenom:"Rio Fuel Token",coinMinimalDenom:"crfuel",coinDecimals:18},{coinDenom:"Rally",coinMinimalDenom:"crly",coinDecimals:18},{coinDenom:"Convergence",coinMinimalDenom:"cconv",coinDecimals:18},{coinDenom:"Render Token",coinMinimalDenom:"crndr",coinDecimals:18},{coinDenom:"PAID Network",coinMinimalDenom:"cpaid",coinDecimals:18},{coinDenom:"Tidal",coinMinimalDenom:"ctidal",coinDecimals:18}],feeCurrencies:[{coinDenom:"ROWAN",coinMinimalDenom:"rowan",coinDecimals:18,coinGeckoId:"sifchain"}],gasPriceStep:{low:5e11,average:1e12,high:2e12},features:["stargate"]},{rpc:"https://rpc-certik.keplr.app",rpcConfig:void 0,rest:"https://lcd-certik.keplr.app",restConfig:void 0,chainId:"shentu-1",chainName:"Certik",stakeCurrency:{coinDenom:"CTK",coinMinimalDenom:"uctk",coinDecimals:6,coinGeckoId:"certik"},walletUrl:"https://wallet.keplr.app/#/shentu/stake",walletUrlForStaking:"https://wallet.keplr.app/#/shentu/stake",bip44:{coinType:118},bech32Config:n.Bech32Address.defaultBech32Config("certik"),currencies:[{coinDenom:"CTK",coinMinimalDenom:"uctk",coinDecimals:6,coinGeckoId:"certik"}],feeCurrencies:[{coinDenom:"CTK",coinMinimalDenom:"uctk",coinDecimals:6,coinGeckoId:"certik"}]},{rpc:"https://rpc-iris.keplr.app",rpcConfig:void 0,rest:"https://lcd-iris.keplr.app",restConfig:void 0,chainId:"irishub-1",chainName:"IRISnet",stakeCurrency:{coinDenom:"IRIS",coinMinimalDenom:"uiris",coinDecimals:6,coinGeckoId:"iris-network"},walletUrl:"https://wallet.keplr.app/#/irishub/stake",walletUrlForStaking:"https://wallet.keplr.app/#/irishub/stake",bip44:{coinType:118},alternativeBIP44s:[{coinType:566}],bech32Config:n.Bech32Address.defaultBech32Config("iaa"),currencies:[{coinDenom:"IRIS",coinMinimalDenom:"uiris",coinDecimals:6,coinGeckoId:"iris-network"}],feeCurrencies:[{coinDenom:"IRIS",coinMinimalDenom:"uiris",coinDecimals:6,coinGeckoId:"iris-network"}],gasPriceStep:{low:.2,average:.3,high:.4},features:["stargate","ibc-transfer"]},{rpc:"https://rpc-regen.keplr.app",rpcConfig:void 0,rest:"https://lcd-regen.keplr.app",restConfig:void 0,chainId:"regen-1",chainName:"Regen",stakeCurrency:{coinDenom:"REGEN",coinMinimalDenom:"uregen",coinDecimals:6},walletUrl:"https://wallet.keplr.app/#/regen/stake",walletUrlForStaking:"https://wallet.keplr.app/#/regen/stake",bip44:{coinType:118},bech32Config:n.Bech32Address.defaultBech32Config("regen"),currencies:[{coinDenom:"REGEN",coinMinimalDenom:"uregen",coinDecimals:6}],feeCurrencies:[{coinDenom:"REGEN",coinMinimalDenom:"uregen",coinDecimals:6}],gasPriceStep:{low:0,average:.025,high:.04},features:["stargate"]},{rpc:"https://rpc-persistence.keplr.app",rpcConfig:void 0,rest:"https://lcd-persistence.keplr.app",restConfig:void 0,chainId:"core-1",chainName:"Persistence",stakeCurrency:{coinDenom:"XPRT",coinMinimalDenom:"uxprt",coinDecimals:6,coinGeckoId:"persistence"},walletUrl:"https://wallet.keplr.app/#/core/stake",walletUrlForStaking:"https://wallet.keplr.app/#/core/stake",bip44:{coinType:750},bech32Config:n.Bech32Address.defaultBech32Config("persistence"),currencies:[{coinDenom:"XPRT",coinMinimalDenom:"uxprt",coinDecimals:6,coinGeckoId:"persistence"}],feeCurrencies:[{coinDenom:"XPRT",coinMinimalDenom:"uxprt",coinDecimals:6,coinGeckoId:"persistence"}],features:["stargate","ibc-transfer"]},{rpc:"https://rpc-sentinel.keplr.app",rpcConfig:void 0,rest:"https://lcd-sentinel.keplr.app",restConfig:void 0,chainId:"sentinelhub-2",chainName:"Sentinel",stakeCurrency:{coinDenom:"DVPN",coinMinimalDenom:"udvpn",coinDecimals:6,coinGeckoId:"sentinel"},walletUrl:"https://wallet.keplr.app/#/sentinel/stake",walletUrlForStaking:"https://wallet.keplr.app/#/sentinel/stake",bip44:{coinType:118},bech32Config:n.Bech32Address.defaultBech32Config("sent"),currencies:[{coinDenom:"DVPN",coinMinimalDenom:"udvpn",coinDecimals:6,coinGeckoId:"sentinel"}],feeCurrencies:[{coinDenom:"DVPN",coinMinimalDenom:"udvpn",coinDecimals:6,coinGeckoId:"sentinel"}],gasPriceStep:{low:.1,average:.25,high:.4},features:["stargate","ibc-transfer"]},{rpc:"https://rpc-kava.keplr.app",rpcConfig:void 0,rest:"https://lcd-kava.keplr.app",restConfig:void 0,chainId:"kava-7",chainName:"Kava",stakeCurrency:{coinDenom:"KAVA",coinMinimalDenom:"ukava",coinDecimals:6,coinGeckoId:"kava"},walletUrl:"https://wallet.keplr.app/#/kava/stake",walletUrlForStaking:"https://wallet.keplr.app/#/kava/stake",bip44:{coinType:459},alternativeBIP44s:[{coinType:118}],bech32Config:n.Bech32Address.defaultBech32Config("kava"),currencies:[{coinDenom:"KAVA",coinMinimalDenom:"ukava",coinDecimals:6,coinGeckoId:"kava"}],feeCurrencies:[{coinDenom:"KAVA",coinMinimalDenom:"ukava",coinDecimals:6,coinGeckoId:"kava"}],coinType:459},{rpc:"https://rpc-cyber.keplr.app",rpcConfig:void 0,rest:"https://lcd-cyber.keplr.app",restConfig:void 0,chainId:"euler-6",chainName:"Cyber",stakeCurrency:{coinDenom:"EUL",coinMinimalDenom:"eul",coinDecimals:0},walletUrl:"https://wallet.keplr.app/#/euler/stake",walletUrlForStaking:"https://wallet.keplr.app/#/euler/stake",bip44:{coinType:118},bech32Config:n.Bech32Address.defaultBech32Config("cyber"),currencies:[{coinDenom:"EUL",coinMinimalDenom:"eul",coinDecimals:0}],feeCurrencies:[],beta:!0},{rpc:"https://rpc-straightedge.keplr.app",rpcConfig:void 0,rest:"https://lcd-straightedge.keplr.app",restConfig:void 0,chainId:"straightedge-2",chainName:"Straightedge",stakeCurrency:{coinDenom:"STR",coinMinimalDenom:"astr",coinDecimals:18},walletUrl:"https://wallet.keplr.app/#/straightedge/stake",walletUrlForStaking:"https://wallet.keplr.app/#/straightedge/stake",bip44:{coinType:118},bech32Config:n.Bech32Address.defaultBech32Config("str"),currencies:[{coinDenom:"STR",coinMinimalDenom:"astr",coinDecimals:18}],feeCurrencies:[{coinDenom:"STR",coinMinimalDenom:"astr",coinDecimals:18}],coinType:551,gasPriceStep:{low:.01*Math.pow(10,12),average:.025*Math.pow(10,12),high:.04*Math.pow(10,12)},beta:!0}],i=["https://wallet.keplr.app"]},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(911),t),o(r(912),t),o(r(546),t),o(r(913),t),o(r(914),t),o(r(915),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionKVStore=void 0;const n=r(546),o={get:"undefined"!=typeof browser?browser.storage.local.get:void 0,set:"undefined"!=typeof browser?browser.storage.local.set:void 0};class i extends n.BaseKVStore{constructor(e){super(o,e)}}t.ExtensionKVStore=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MemoryKVStore=void 0;const n=r(546);class o{constructor(){this.store={}}get(){return Promise.resolve(this.store)}set(e){return this.store=Object.assign(Object.assign({},this.store),e),Promise.resolve()}}class i extends n.BaseKVStore{constructor(e){super(new o,e)}}t.MemoryKVStore=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LocalKVStore=void 0;t.LocalKVStore=class{constructor(e){this._prefix=e}get(e){const t=this.prefix()+"/"+e,r=localStorage.getItem(t);return null===r?Promise.resolve(void 0):Promise.resolve(JSON.parse(r))}set(e,t){const r=this.prefix()+"/"+e;return null===t?Promise.resolve(localStorage.removeItem(r)):Promise.resolve(localStorage.setItem(r,JSON.stringify(t)))}prefix(){return this._prefix}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.IndexedDBKVStore=void 0;t.IndexedDBKVStore=class{constructor(e){this._prefix=e}get(e){return n(this,void 0,void 0,(function*(){const t=(yield this.getDB()).transaction([this.prefix()],"readonly").objectStore(this.prefix());return new Promise((r,n)=>{const o=t.get(e);o.onerror=e=>{e.stopPropagation(),n(e.target)},o.onsuccess=()=>{o.result?r(o.result.data):r(void 0)}})}))}set(e,t){return n(this,void 0,void 0,(function*(){if(null===t){const t=(yield this.getDB()).transaction([this.prefix()],"readwrite").objectStore(this.prefix());return new Promise((r,n)=>{const o=t.delete(e);o.onerror=e=>{e.stopPropagation(),n(e.target)},o.onsuccess=()=>{r()}})}{const r=(yield this.getDB()).transaction([this.prefix()],"readwrite").objectStore(this.prefix());return new Promise((n,o)=>{const i=r.put({key:e,data:t});i.onerror=e=>{e.stopPropagation(),o(e.target)},i.onsuccess=()=>{n()}})}}))}prefix(){return this._prefix}getDB(){return n(this,void 0,void 0,(function*(){return this.cachedDB?this.cachedDB:new Promise((e,t)=>{const r=window.indexedDB.open(this.prefix());r.onerror=e=>{e.stopPropagation(),t(e.target)},r.onupgradeneeded=e=>{e.target.result.createObjectStore(this.prefix(),{keyPath:"key"})},r.onsuccess=()=>{this.cachedDB=r.result,e(r.result)}})}))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DenomHelper=void 0;t.DenomHelper=class{constructor(e){this._denom=e;const t=this.denom.split(/(\w+):(\w+):(.+)/).filter(Boolean);if(1!==t.length&&3!==t.length)throw new Error("Invalid denom: "+this.denom);this._type=3===t.length?t[0]:"",this._contractAddress=3===t.length?t[1]:""}get denom(){return this._denom}get type(){return this._type||"native"}get contractAddress(){return this._contractAddress}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toGenerator=void 0,t.toGenerator=function*(e){return yield e}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){e.exports=r(1540)},function(e,t,r){"use strict";r.r(t);var n=r(18),o=r(63),i=r(59),s=r(841);const a=new n.ExtensionRouter(n.ExtensionEnv.produceEnv);a.addGuard(n.ExtensionGuards.checkOriginIsValid),a.addGuard(n.ExtensionGuards.checkMessageIsInternal),Object(i.init)(a,e=>new o.ExtensionKVStore(e),new n.ContentScriptMessageRequester,s.a,s.b,e=>Promise.resolve(crypto.getRandomValues(e))),a.listen(n.BACKGROUND_PORT)}]); \ No newline at end of file diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/browser-polyfill.js b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/browser-polyfill.js deleted file mode 100644 index 51f7fb67..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/browser-polyfill.js +++ /dev/null @@ -1,1238 +0,0 @@ -(function (global, factory) { - if (typeof define === "function" && define.amd) { - define("webextension-polyfill", ["module"], factory); - } else if (typeof exports !== "undefined") { - factory(module); - } else { - var mod = { - exports: {} - }; - factory(mod); - global.browser = mod.exports; - } -})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (module) { - /* webextension-polyfill - v0.7.0 - Tue Nov 10 2020 20:24:04 */ - - /* -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- */ - - /* vim: set sts=2 sw=2 et tw=80: */ - - /* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - "use strict"; - - if (typeof browser === "undefined" || Object.getPrototypeOf(browser) !== Object.prototype) { - const CHROME_SEND_MESSAGE_CALLBACK_NO_RESPONSE_MESSAGE = "The message port closed before a response was received."; - const SEND_RESPONSE_DEPRECATION_WARNING = "Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)"; // Wrapping the bulk of this polyfill in a one-time-use function is a minor - // optimization for Firefox. Since Spidermonkey does not fully parse the - // contents of a function until the first time it's called, and since it will - // never actually need to be called, this allows the polyfill to be included - // in Firefox nearly for free. - - const wrapAPIs = extensionAPIs => { - // NOTE: apiMetadata is associated to the content of the api-metadata.json file - // at build time by replacing the following "include" with the content of the - // JSON file. - const apiMetadata = { - "alarms": { - "clear": { - "minArgs": 0, - "maxArgs": 1 - }, - "clearAll": { - "minArgs": 0, - "maxArgs": 0 - }, - "get": { - "minArgs": 0, - "maxArgs": 1 - }, - "getAll": { - "minArgs": 0, - "maxArgs": 0 - } - }, - "bookmarks": { - "create": { - "minArgs": 1, - "maxArgs": 1 - }, - "get": { - "minArgs": 1, - "maxArgs": 1 - }, - "getChildren": { - "minArgs": 1, - "maxArgs": 1 - }, - "getRecent": { - "minArgs": 1, - "maxArgs": 1 - }, - "getSubTree": { - "minArgs": 1, - "maxArgs": 1 - }, - "getTree": { - "minArgs": 0, - "maxArgs": 0 - }, - "move": { - "minArgs": 2, - "maxArgs": 2 - }, - "remove": { - "minArgs": 1, - "maxArgs": 1 - }, - "removeTree": { - "minArgs": 1, - "maxArgs": 1 - }, - "search": { - "minArgs": 1, - "maxArgs": 1 - }, - "update": { - "minArgs": 2, - "maxArgs": 2 - } - }, - "browserAction": { - "disable": { - "minArgs": 0, - "maxArgs": 1, - "fallbackToNoCallback": true - }, - "enable": { - "minArgs": 0, - "maxArgs": 1, - "fallbackToNoCallback": true - }, - "getBadgeBackgroundColor": { - "minArgs": 1, - "maxArgs": 1 - }, - "getBadgeText": { - "minArgs": 1, - "maxArgs": 1 - }, - "getPopup": { - "minArgs": 1, - "maxArgs": 1 - }, - "getTitle": { - "minArgs": 1, - "maxArgs": 1 - }, - "openPopup": { - "minArgs": 0, - "maxArgs": 0 - }, - "setBadgeBackgroundColor": { - "minArgs": 1, - "maxArgs": 1, - "fallbackToNoCallback": true - }, - "setBadgeText": { - "minArgs": 1, - "maxArgs": 1, - "fallbackToNoCallback": true - }, - "setIcon": { - "minArgs": 1, - "maxArgs": 1 - }, - "setPopup": { - "minArgs": 1, - "maxArgs": 1, - "fallbackToNoCallback": true - }, - "setTitle": { - "minArgs": 1, - "maxArgs": 1, - "fallbackToNoCallback": true - } - }, - "browsingData": { - "remove": { - "minArgs": 2, - "maxArgs": 2 - }, - "removeCache": { - "minArgs": 1, - "maxArgs": 1 - }, - "removeCookies": { - "minArgs": 1, - "maxArgs": 1 - }, - "removeDownloads": { - "minArgs": 1, - "maxArgs": 1 - }, - "removeFormData": { - "minArgs": 1, - "maxArgs": 1 - }, - "removeHistory": { - "minArgs": 1, - "maxArgs": 1 - }, - "removeLocalStorage": { - "minArgs": 1, - "maxArgs": 1 - }, - "removePasswords": { - "minArgs": 1, - "maxArgs": 1 - }, - "removePluginData": { - "minArgs": 1, - "maxArgs": 1 - }, - "settings": { - "minArgs": 0, - "maxArgs": 0 - } - }, - "commands": { - "getAll": { - "minArgs": 0, - "maxArgs": 0 - } - }, - "contextMenus": { - "remove": { - "minArgs": 1, - "maxArgs": 1 - }, - "removeAll": { - "minArgs": 0, - "maxArgs": 0 - }, - "update": { - "minArgs": 2, - "maxArgs": 2 - } - }, - "cookies": { - "get": { - "minArgs": 1, - "maxArgs": 1 - }, - "getAll": { - "minArgs": 1, - "maxArgs": 1 - }, - "getAllCookieStores": { - "minArgs": 0, - "maxArgs": 0 - }, - "remove": { - "minArgs": 1, - "maxArgs": 1 - }, - "set": { - "minArgs": 1, - "maxArgs": 1 - } - }, - "devtools": { - "inspectedWindow": { - "eval": { - "minArgs": 1, - "maxArgs": 2, - "singleCallbackArg": false - } - }, - "panels": { - "create": { - "minArgs": 3, - "maxArgs": 3, - "singleCallbackArg": true - }, - "elements": { - "createSidebarPane": { - "minArgs": 1, - "maxArgs": 1 - } - } - } - }, - "downloads": { - "cancel": { - "minArgs": 1, - "maxArgs": 1 - }, - "download": { - "minArgs": 1, - "maxArgs": 1 - }, - "erase": { - "minArgs": 1, - "maxArgs": 1 - }, - "getFileIcon": { - "minArgs": 1, - "maxArgs": 2 - }, - "open": { - "minArgs": 1, - "maxArgs": 1, - "fallbackToNoCallback": true - }, - "pause": { - "minArgs": 1, - "maxArgs": 1 - }, - "removeFile": { - "minArgs": 1, - "maxArgs": 1 - }, - "resume": { - "minArgs": 1, - "maxArgs": 1 - }, - "search": { - "minArgs": 1, - "maxArgs": 1 - }, - "show": { - "minArgs": 1, - "maxArgs": 1, - "fallbackToNoCallback": true - } - }, - "extension": { - "isAllowedFileSchemeAccess": { - "minArgs": 0, - "maxArgs": 0 - }, - "isAllowedIncognitoAccess": { - "minArgs": 0, - "maxArgs": 0 - } - }, - "history": { - "addUrl": { - "minArgs": 1, - "maxArgs": 1 - }, - "deleteAll": { - "minArgs": 0, - "maxArgs": 0 - }, - "deleteRange": { - "minArgs": 1, - "maxArgs": 1 - }, - "deleteUrl": { - "minArgs": 1, - "maxArgs": 1 - }, - "getVisits": { - "minArgs": 1, - "maxArgs": 1 - }, - "search": { - "minArgs": 1, - "maxArgs": 1 - } - }, - "i18n": { - "detectLanguage": { - "minArgs": 1, - "maxArgs": 1 - }, - "getAcceptLanguages": { - "minArgs": 0, - "maxArgs": 0 - } - }, - "identity": { - "launchWebAuthFlow": { - "minArgs": 1, - "maxArgs": 1 - } - }, - "idle": { - "queryState": { - "minArgs": 1, - "maxArgs": 1 - } - }, - "management": { - "get": { - "minArgs": 1, - "maxArgs": 1 - }, - "getAll": { - "minArgs": 0, - "maxArgs": 0 - }, - "getSelf": { - "minArgs": 0, - "maxArgs": 0 - }, - "setEnabled": { - "minArgs": 2, - "maxArgs": 2 - }, - "uninstallSelf": { - "minArgs": 0, - "maxArgs": 1 - } - }, - "notifications": { - "clear": { - "minArgs": 1, - "maxArgs": 1 - }, - "create": { - "minArgs": 1, - "maxArgs": 2 - }, - "getAll": { - "minArgs": 0, - "maxArgs": 0 - }, - "getPermissionLevel": { - "minArgs": 0, - "maxArgs": 0 - }, - "update": { - "minArgs": 2, - "maxArgs": 2 - } - }, - "pageAction": { - "getPopup": { - "minArgs": 1, - "maxArgs": 1 - }, - "getTitle": { - "minArgs": 1, - "maxArgs": 1 - }, - "hide": { - "minArgs": 1, - "maxArgs": 1, - "fallbackToNoCallback": true - }, - "setIcon": { - "minArgs": 1, - "maxArgs": 1 - }, - "setPopup": { - "minArgs": 1, - "maxArgs": 1, - "fallbackToNoCallback": true - }, - "setTitle": { - "minArgs": 1, - "maxArgs": 1, - "fallbackToNoCallback": true - }, - "show": { - "minArgs": 1, - "maxArgs": 1, - "fallbackToNoCallback": true - } - }, - "permissions": { - "contains": { - "minArgs": 1, - "maxArgs": 1 - }, - "getAll": { - "minArgs": 0, - "maxArgs": 0 - }, - "remove": { - "minArgs": 1, - "maxArgs": 1 - }, - "request": { - "minArgs": 1, - "maxArgs": 1 - } - }, - "runtime": { - "getBackgroundPage": { - "minArgs": 0, - "maxArgs": 0 - }, - "getPlatformInfo": { - "minArgs": 0, - "maxArgs": 0 - }, - "openOptionsPage": { - "minArgs": 0, - "maxArgs": 0 - }, - "requestUpdateCheck": { - "minArgs": 0, - "maxArgs": 0 - }, - "sendMessage": { - "minArgs": 1, - "maxArgs": 3 - }, - "sendNativeMessage": { - "minArgs": 2, - "maxArgs": 2 - }, - "setUninstallURL": { - "minArgs": 1, - "maxArgs": 1 - } - }, - "sessions": { - "getDevices": { - "minArgs": 0, - "maxArgs": 1 - }, - "getRecentlyClosed": { - "minArgs": 0, - "maxArgs": 1 - }, - "restore": { - "minArgs": 0, - "maxArgs": 1 - } - }, - "storage": { - "local": { - "clear": { - "minArgs": 0, - "maxArgs": 0 - }, - "get": { - "minArgs": 0, - "maxArgs": 1 - }, - "getBytesInUse": { - "minArgs": 0, - "maxArgs": 1 - }, - "remove": { - "minArgs": 1, - "maxArgs": 1 - }, - "set": { - "minArgs": 1, - "maxArgs": 1 - } - }, - "managed": { - "get": { - "minArgs": 0, - "maxArgs": 1 - }, - "getBytesInUse": { - "minArgs": 0, - "maxArgs": 1 - } - }, - "sync": { - "clear": { - "minArgs": 0, - "maxArgs": 0 - }, - "get": { - "minArgs": 0, - "maxArgs": 1 - }, - "getBytesInUse": { - "minArgs": 0, - "maxArgs": 1 - }, - "remove": { - "minArgs": 1, - "maxArgs": 1 - }, - "set": { - "minArgs": 1, - "maxArgs": 1 - } - } - }, - "tabs": { - "captureVisibleTab": { - "minArgs": 0, - "maxArgs": 2 - }, - "create": { - "minArgs": 1, - "maxArgs": 1 - }, - "detectLanguage": { - "minArgs": 0, - "maxArgs": 1 - }, - "discard": { - "minArgs": 0, - "maxArgs": 1 - }, - "duplicate": { - "minArgs": 1, - "maxArgs": 1 - }, - "executeScript": { - "minArgs": 1, - "maxArgs": 2 - }, - "get": { - "minArgs": 1, - "maxArgs": 1 - }, - "getCurrent": { - "minArgs": 0, - "maxArgs": 0 - }, - "getZoom": { - "minArgs": 0, - "maxArgs": 1 - }, - "getZoomSettings": { - "minArgs": 0, - "maxArgs": 1 - }, - "goBack": { - "minArgs": 0, - "maxArgs": 1 - }, - "goForward": { - "minArgs": 0, - "maxArgs": 1 - }, - "highlight": { - "minArgs": 1, - "maxArgs": 1 - }, - "insertCSS": { - "minArgs": 1, - "maxArgs": 2 - }, - "move": { - "minArgs": 2, - "maxArgs": 2 - }, - "query": { - "minArgs": 1, - "maxArgs": 1 - }, - "reload": { - "minArgs": 0, - "maxArgs": 2 - }, - "remove": { - "minArgs": 1, - "maxArgs": 1 - }, - "removeCSS": { - "minArgs": 1, - "maxArgs": 2 - }, - "sendMessage": { - "minArgs": 2, - "maxArgs": 3 - }, - "setZoom": { - "minArgs": 1, - "maxArgs": 2 - }, - "setZoomSettings": { - "minArgs": 1, - "maxArgs": 2 - }, - "update": { - "minArgs": 1, - "maxArgs": 2 - } - }, - "topSites": { - "get": { - "minArgs": 0, - "maxArgs": 0 - } - }, - "webNavigation": { - "getAllFrames": { - "minArgs": 1, - "maxArgs": 1 - }, - "getFrame": { - "minArgs": 1, - "maxArgs": 1 - } - }, - "webRequest": { - "handlerBehaviorChanged": { - "minArgs": 0, - "maxArgs": 0 - } - }, - "windows": { - "create": { - "minArgs": 0, - "maxArgs": 1 - }, - "get": { - "minArgs": 1, - "maxArgs": 2 - }, - "getAll": { - "minArgs": 0, - "maxArgs": 1 - }, - "getCurrent": { - "minArgs": 0, - "maxArgs": 1 - }, - "getLastFocused": { - "minArgs": 0, - "maxArgs": 1 - }, - "remove": { - "minArgs": 1, - "maxArgs": 1 - }, - "update": { - "minArgs": 2, - "maxArgs": 2 - } - } - }; - - if (Object.keys(apiMetadata).length === 0) { - throw new Error("api-metadata.json has not been included in browser-polyfill"); - } - /** - * A WeakMap subclass which creates and stores a value for any key which does - * not exist when accessed, but behaves exactly as an ordinary WeakMap - * otherwise. - * - * @param {function} createItem - * A function which will be called in order to create the value for any - * key which does not exist, the first time it is accessed. The - * function receives, as its only argument, the key being created. - */ - - - class DefaultWeakMap extends WeakMap { - constructor(createItem, items = undefined) { - super(items); - this.createItem = createItem; - } - - get(key) { - if (!this.has(key)) { - this.set(key, this.createItem(key)); - } - - return super.get(key); - } - - } - /** - * Returns true if the given object is an object with a `then` method, and can - * therefore be assumed to behave as a Promise. - * - * @param {*} value The value to test. - * @returns {boolean} True if the value is thenable. - */ - - - const isThenable = value => { - return value && typeof value === "object" && typeof value.then === "function"; - }; - /** - * Creates and returns a function which, when called, will resolve or reject - * the given promise based on how it is called: - * - * - If, when called, `chrome.runtime.lastError` contains a non-null object, - * the promise is rejected with that value. - * - If the function is called with exactly one argument, the promise is - * resolved to that value. - * - Otherwise, the promise is resolved to an array containing all of the - * function's arguments. - * - * @param {object} promise - * An object containing the resolution and rejection functions of a - * promise. - * @param {function} promise.resolve - * The promise's resolution function. - * @param {function} promise.rejection - * The promise's rejection function. - * @param {object} metadata - * Metadata about the wrapped method which has created the callback. - * @param {integer} metadata.maxResolvedArgs - * The maximum number of arguments which may be passed to the - * callback created by the wrapped async function. - * - * @returns {function} - * The generated callback function. - */ - - - const makeCallback = (promise, metadata) => { - return (...callbackArgs) => { - if (extensionAPIs.runtime.lastError) { - promise.reject(extensionAPIs.runtime.lastError); - } else if (metadata.singleCallbackArg || callbackArgs.length <= 1 && metadata.singleCallbackArg !== false) { - promise.resolve(callbackArgs[0]); - } else { - promise.resolve(callbackArgs); - } - }; - }; - - const pluralizeArguments = numArgs => numArgs == 1 ? "argument" : "arguments"; - /** - * Creates a wrapper function for a method with the given name and metadata. - * - * @param {string} name - * The name of the method which is being wrapped. - * @param {object} metadata - * Metadata about the method being wrapped. - * @param {integer} metadata.minArgs - * The minimum number of arguments which must be passed to the - * function. If called with fewer than this number of arguments, the - * wrapper will raise an exception. - * @param {integer} metadata.maxArgs - * The maximum number of arguments which may be passed to the - * function. If called with more than this number of arguments, the - * wrapper will raise an exception. - * @param {integer} metadata.maxResolvedArgs - * The maximum number of arguments which may be passed to the - * callback created by the wrapped async function. - * - * @returns {function(object, ...*)} - * The generated wrapper function. - */ - - - const wrapAsyncFunction = (name, metadata) => { - return function asyncFunctionWrapper(target, ...args) { - if (args.length < metadata.minArgs) { - throw new Error(`Expected at least ${metadata.minArgs} ${pluralizeArguments(metadata.minArgs)} for ${name}(), got ${args.length}`); - } - - if (args.length > metadata.maxArgs) { - throw new Error(`Expected at most ${metadata.maxArgs} ${pluralizeArguments(metadata.maxArgs)} for ${name}(), got ${args.length}`); - } - - return new Promise((resolve, reject) => { - if (metadata.fallbackToNoCallback) { - // This API method has currently no callback on Chrome, but it return a promise on Firefox, - // and so the polyfill will try to call it with a callback first, and it will fallback - // to not passing the callback if the first call fails. - try { - target[name](...args, makeCallback({ - resolve, - reject - }, metadata)); - } catch (cbError) { - console.warn(`${name} API method doesn't seem to support the callback parameter, ` + "falling back to call it without a callback: ", cbError); - target[name](...args); // Update the API method metadata, so that the next API calls will not try to - // use the unsupported callback anymore. - - metadata.fallbackToNoCallback = false; - metadata.noCallback = true; - resolve(); - } - } else if (metadata.noCallback) { - target[name](...args); - resolve(); - } else { - target[name](...args, makeCallback({ - resolve, - reject - }, metadata)); - } - }); - }; - }; - /** - * Wraps an existing method of the target object, so that calls to it are - * intercepted by the given wrapper function. The wrapper function receives, - * as its first argument, the original `target` object, followed by each of - * the arguments passed to the original method. - * - * @param {object} target - * The original target object that the wrapped method belongs to. - * @param {function} method - * The method being wrapped. This is used as the target of the Proxy - * object which is created to wrap the method. - * @param {function} wrapper - * The wrapper function which is called in place of a direct invocation - * of the wrapped method. - * - * @returns {Proxy} - * A Proxy object for the given method, which invokes the given wrapper - * method in its place. - */ - - - const wrapMethod = (target, method, wrapper) => { - return new Proxy(method, { - apply(targetMethod, thisObj, args) { - return wrapper.call(thisObj, target, ...args); - } - - }); - }; - - let hasOwnProperty = Function.call.bind(Object.prototype.hasOwnProperty); - /** - * Wraps an object in a Proxy which intercepts and wraps certain methods - * based on the given `wrappers` and `metadata` objects. - * - * @param {object} target - * The target object to wrap. - * - * @param {object} [wrappers = {}] - * An object tree containing wrapper functions for special cases. Any - * function present in this object tree is called in place of the - * method in the same location in the `target` object tree. These - * wrapper methods are invoked as described in {@see wrapMethod}. - * - * @param {object} [metadata = {}] - * An object tree containing metadata used to automatically generate - * Promise-based wrapper functions for asynchronous. Any function in - * the `target` object tree which has a corresponding metadata object - * in the same location in the `metadata` tree is replaced with an - * automatically-generated wrapper function, as described in - * {@see wrapAsyncFunction} - * - * @returns {Proxy} - */ - - const wrapObject = (target, wrappers = {}, metadata = {}) => { - let cache = Object.create(null); - let handlers = { - has(proxyTarget, prop) { - return prop in target || prop in cache; - }, - - get(proxyTarget, prop, receiver) { - if (prop in cache) { - return cache[prop]; - } - - if (!(prop in target)) { - return undefined; - } - - let value = target[prop]; - - if (typeof value === "function") { - // This is a method on the underlying object. Check if we need to do - // any wrapping. - if (typeof wrappers[prop] === "function") { - // We have a special-case wrapper for this method. - value = wrapMethod(target, target[prop], wrappers[prop]); - } else if (hasOwnProperty(metadata, prop)) { - // This is an async method that we have metadata for. Create a - // Promise wrapper for it. - let wrapper = wrapAsyncFunction(prop, metadata[prop]); - value = wrapMethod(target, target[prop], wrapper); - } else { - // This is a method that we don't know or care about. Return the - // original method, bound to the underlying object. - value = value.bind(target); - } - } else if (typeof value === "object" && value !== null && (hasOwnProperty(wrappers, prop) || hasOwnProperty(metadata, prop))) { - // This is an object that we need to do some wrapping for the children - // of. Create a sub-object wrapper for it with the appropriate child - // metadata. - value = wrapObject(value, wrappers[prop], metadata[prop]); - } else if (hasOwnProperty(metadata, "*")) { - // Wrap all properties in * namespace. - value = wrapObject(value, wrappers[prop], metadata["*"]); - } else { - // We don't need to do any wrapping for this property, - // so just forward all access to the underlying object. - Object.defineProperty(cache, prop, { - configurable: true, - enumerable: true, - - get() { - return target[prop]; - }, - - set(value) { - target[prop] = value; - } - - }); - return value; - } - - cache[prop] = value; - return value; - }, - - set(proxyTarget, prop, value, receiver) { - if (prop in cache) { - cache[prop] = value; - } else { - target[prop] = value; - } - - return true; - }, - - defineProperty(proxyTarget, prop, desc) { - return Reflect.defineProperty(cache, prop, desc); - }, - - deleteProperty(proxyTarget, prop) { - return Reflect.deleteProperty(cache, prop); - } - - }; // Per contract of the Proxy API, the "get" proxy handler must return the - // original value of the target if that value is declared read-only and - // non-configurable. For this reason, we create an object with the - // prototype set to `target` instead of using `target` directly. - // Otherwise we cannot return a custom object for APIs that - // are declared read-only and non-configurable, such as `chrome.devtools`. - // - // The proxy handlers themselves will still use the original `target` - // instead of the `proxyTarget`, so that the methods and properties are - // dereferenced via the original targets. - - let proxyTarget = Object.create(target); - return new Proxy(proxyTarget, handlers); - }; - /** - * Creates a set of wrapper functions for an event object, which handles - * wrapping of listener functions that those messages are passed. - * - * A single wrapper is created for each listener function, and stored in a - * map. Subsequent calls to `addListener`, `hasListener`, or `removeListener` - * retrieve the original wrapper, so that attempts to remove a - * previously-added listener work as expected. - * - * @param {DefaultWeakMap} wrapperMap - * A DefaultWeakMap object which will create the appropriate wrapper - * for a given listener function when one does not exist, and retrieve - * an existing one when it does. - * - * @returns {object} - */ - - - const wrapEvent = wrapperMap => ({ - addListener(target, listener, ...args) { - target.addListener(wrapperMap.get(listener), ...args); - }, - - hasListener(target, listener) { - return target.hasListener(wrapperMap.get(listener)); - }, - - removeListener(target, listener) { - target.removeListener(wrapperMap.get(listener)); - } - - }); // Keep track if the deprecation warning has been logged at least once. - - - let loggedSendResponseDeprecationWarning = false; - const onMessageWrappers = new DefaultWeakMap(listener => { - if (typeof listener !== "function") { - return listener; - } - /** - * Wraps a message listener function so that it may send responses based on - * its return value, rather than by returning a sentinel value and calling a - * callback. If the listener function returns a Promise, the response is - * sent when the promise either resolves or rejects. - * - * @param {*} message - * The message sent by the other end of the channel. - * @param {object} sender - * Details about the sender of the message. - * @param {function(*)} sendResponse - * A callback which, when called with an arbitrary argument, sends - * that value as a response. - * @returns {boolean} - * True if the wrapped listener returned a Promise, which will later - * yield a response. False otherwise. - */ - - - return function onMessage(message, sender, sendResponse) { - let didCallSendResponse = false; - let wrappedSendResponse; - let sendResponsePromise = new Promise(resolve => { - wrappedSendResponse = function (response) { - if (!loggedSendResponseDeprecationWarning) { - console.warn(SEND_RESPONSE_DEPRECATION_WARNING, new Error().stack); - loggedSendResponseDeprecationWarning = true; - } - - didCallSendResponse = true; - resolve(response); - }; - }); - let result; - - try { - result = listener(message, sender, wrappedSendResponse); - } catch (err) { - result = Promise.reject(err); - } - - const isResultThenable = result !== true && isThenable(result); // If the listener didn't returned true or a Promise, or called - // wrappedSendResponse synchronously, we can exit earlier - // because there will be no response sent from this listener. - - if (result !== true && !isResultThenable && !didCallSendResponse) { - return false; - } // A small helper to send the message if the promise resolves - // and an error if the promise rejects (a wrapped sendMessage has - // to translate the message into a resolved promise or a rejected - // promise). - - - const sendPromisedResult = promise => { - promise.then(msg => { - // send the message value. - sendResponse(msg); - }, error => { - // Send a JSON representation of the error if the rejected value - // is an instance of error, or the object itself otherwise. - let message; - - if (error && (error instanceof Error || typeof error.message === "string")) { - message = error.message; - } else { - message = "An unexpected error occurred"; - } - - sendResponse({ - __mozWebExtensionPolyfillReject__: true, - message - }); - }).catch(err => { - // Print an error on the console if unable to send the response. - console.error("Failed to send onMessage rejected reply", err); - }); - }; // If the listener returned a Promise, send the resolved value as a - // result, otherwise wait the promise related to the wrappedSendResponse - // callback to resolve and send it as a response. - - - if (isResultThenable) { - sendPromisedResult(result); - } else { - sendPromisedResult(sendResponsePromise); - } // Let Chrome know that the listener is replying. - - - return true; - }; - }); - - const wrappedSendMessageCallback = ({ - reject, - resolve - }, reply) => { - if (extensionAPIs.runtime.lastError) { - // Detect when none of the listeners replied to the sendMessage call and resolve - // the promise to undefined as in Firefox. - // See https://github.com/mozilla/webextension-polyfill/issues/130 - if (extensionAPIs.runtime.lastError.message === CHROME_SEND_MESSAGE_CALLBACK_NO_RESPONSE_MESSAGE) { - resolve(); - } else { - reject(extensionAPIs.runtime.lastError); - } - } else if (reply && reply.__mozWebExtensionPolyfillReject__) { - // Convert back the JSON representation of the error into - // an Error instance. - reject(new Error(reply.message)); - } else { - resolve(reply); - } - }; - - const wrappedSendMessage = (name, metadata, apiNamespaceObj, ...args) => { - if (args.length < metadata.minArgs) { - throw new Error(`Expected at least ${metadata.minArgs} ${pluralizeArguments(metadata.minArgs)} for ${name}(), got ${args.length}`); - } - - if (args.length > metadata.maxArgs) { - throw new Error(`Expected at most ${metadata.maxArgs} ${pluralizeArguments(metadata.maxArgs)} for ${name}(), got ${args.length}`); - } - - return new Promise((resolve, reject) => { - const wrappedCb = wrappedSendMessageCallback.bind(null, { - resolve, - reject - }); - args.push(wrappedCb); - apiNamespaceObj.sendMessage(...args); - }); - }; - - const staticWrappers = { - runtime: { - onMessage: wrapEvent(onMessageWrappers), - onMessageExternal: wrapEvent(onMessageWrappers), - sendMessage: wrappedSendMessage.bind(null, "sendMessage", { - minArgs: 1, - maxArgs: 3 - }) - }, - tabs: { - sendMessage: wrappedSendMessage.bind(null, "sendMessage", { - minArgs: 2, - maxArgs: 3 - }) - } - }; - const settingMetadata = { - clear: { - minArgs: 1, - maxArgs: 1 - }, - get: { - minArgs: 1, - maxArgs: 1 - }, - set: { - minArgs: 1, - maxArgs: 1 - } - }; - apiMetadata.privacy = { - network: { - "*": settingMetadata - }, - services: { - "*": settingMetadata - }, - websites: { - "*": settingMetadata - } - }; - return wrapObject(extensionAPIs, staticWrappers, apiMetadata); - }; - - if (typeof chrome != "object" || !chrome || !chrome.runtime || !chrome.runtime.id) { - throw new Error("This script should only be loaded in a browser extension."); - } // The build process adds a UMD wrapper around this file, which makes the - // `module` variable available. - - - module.exports = wrapAPIs(chrome); - } else { - module.exports = browser; - } -}); -//# sourceMappingURL=browser-polyfill.js.map diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/contentScripts.bundle.js b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/contentScripts.bundle.js deleted file mode 100644 index 7249a060..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/contentScripts.bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1541)}([,,function(e,t,r){"use strict";(function(e){ -/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */ -var n=r(117),o=r(426),i=r(237);function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function p(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(e).length;default:if(n)return q(e).length;t=(""+t).toLowerCase(),n=!0}}function g(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return x(this,t,r);case"utf8":case"utf-8":return j(this,t,r);case"ascii":return P(this,t,r);case"latin1":case"binary":return A(this,t,r);case"base64":return E(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,o);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,o){var i,s=1,a=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,c/=2,r/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){var l=-1;for(i=r;ia&&(r=a-c),i=r;i>=0;i--){for(var f=!0,d=0;do&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var s=0;s>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function E(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function j(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o239?4:u>223?3:u>191?2:1;if(o+f<=r)switch(f){case 1:u<128&&(l=u);break;case 2:128==(192&(i=e[o+1]))&&(c=(31&u)<<6|63&i)>127&&(l=c);break;case 3:i=e[o+1],s=e[o+2],128==(192&i)&&128==(192&s)&&(c=(15&u)<<12|(63&i)<<6|63&s)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:i=e[o+1],s=e[o+2],a=e[o+3],128==(192&i)&&128==(192&s)&&128==(192&a)&&(c=(15&u)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&c<1114112&&(l=c)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),""},c.prototype.compare=function(e,t,r,n,o){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),a=Math.min(i,s),u=this.slice(n,o),l=e.slice(t,r),f=0;fo)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return v(this,e,t,r);case"utf8":case"utf-8":return w(this,e,t,r);case"ascii":return _(this,e,t,r);case"latin1":case"binary":return k(this,e,t,r);case"base64":return O(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function P(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;on)&&(r=n);for(var o="",i=t;ir)throw new RangeError("Trying to access beyond buffer length")}function C(e,t,r,n,o,i){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function R(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o>>8*(n?o:1-o)}function T(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o>>8*(n?o:3-o)&255}function N(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function B(e,t,r,n,i){return i||N(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function D(e,t,r,n,i){return i||N(e,0,r,8),o.write(e,t,r,n,52,8),r+8}c.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(o*=256);)n+=this[e+--t]*o;return n},c.prototype.readUInt8=function(e,t){return t||I(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||I(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||I(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||I(e,t,this.length);for(var n=this[e],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||I(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},c.prototype.readInt8=function(e,t){return t||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||I(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(e,t){t||I(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(e,t){return t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||I(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||I(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||I(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||I(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||C(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+o]=e/i&255;return t+r},c.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):T(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):T(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);C(this,e,t,r,o-1,-o)}var i=0,s=1,a=0;for(this[t]=255&e;++i>0)-a&255;return t+r},c.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);C(this,e,t,r,o-1,-o)}var i=r-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s>>0)-a&255;return t+r},c.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):T(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):T(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,r){return B(this,e,t,!0,r)},c.prototype.writeFloatBE=function(e,t,r){return B(this,e,t,!1,r)},c.prototype.writeDoubleLE=function(e,t,r){return D(this,e,t,!0,r)},c.prototype.writeDoubleBE=function(e,t,r){return D(this,e,t,!1,r)},c.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--o)e[o+t]=this[o+r];else if(i<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function H(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function z(e,t,r,n){for(var o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}}).call(this,r(12))},function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return i})),r.d(t,"d",(function(){return s})),r.d(t,"g",(function(){return a})),r.d(t,"c",(function(){return c})),r.d(t,"e",(function(){return u})),r.d(t,"f",(function(){return l})); -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */ -var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function o(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function u(){for(var e=[],t=0;t=49&&s<=54?s-49+10:s>=17&&s<=22?s-17+10:15&s}return n}function c(e,t,r,n){for(var o=0,i=Math.min(e.length,r),s=t;s=49?a-49+10:a>=17?a-17+10:a}return o}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var o=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&o++,16===t?this._parseHex(e,o):this._parseBase(e,t,o),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var o=0;o=0;o-=3)s=e[o]|e[o-1]<<8|e[o-2]<<16,this.words[i]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);else if("le"===r)for(o=0,i=0;o>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);return this.strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=6)o=a(e,r,r+6),this.words[n]|=o<>>26-i&4194303,(i+=24)>=26&&(i-=26,n++);r+6!==t&&(o=a(e,t,r+6),this.words[n]|=o<>>26-i&4194303),this.strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,o=1;o<=67108863;o*=t)n++;n--,o=o/t|0;for(var i=e.length-r,s=i%n,a=Math.min(i,i-s)+r,u=0,l=r;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?""};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var o=0|e.words[0],i=0|t.words[0],s=o*i,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var u=1;u>>26,f=67108863&c,d=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=d;h++){var p=u-h|0;l+=(s=(o=0|e.words[p])*(i=0|t.words[h])+f)/67108864|0,f=67108863&s}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var o=0,i=0,s=0;s>>24-o&16777215)||s!==this.length-1?u[6-c.length]+c+r:c+r,(o+=2)>=26&&(o-=26,s--)}for(0!==i&&(r=i.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var d=l[e],h=f[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(h).toString(e);r=(p=p.idivn(h)).isZero()?g+r:u[d-g.length]+g+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(e,t){return n(void 0!==s),this.toArrayLike(s,e,t)},i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},i.prototype.toArrayLike=function(e,t,r){var o=this.byteLength(),i=r||Math.max(1,o);n(o<=i,"byte array longer than desired length"),n(i>0,"Requested array length <= 0"),this.strip();var s,a,c="le"===t,u=new e(i),l=this.clone();if(c){for(a=0;!l.isZero();a++)s=l.andln(255),l.iushrn(8),u[a]=s;for(;a=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;re.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var o=0;o0&&(this.words[o]=~this.words[o]&67108863>>26-r),this.strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,o=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(r=this,n=e):(r=e,n=this);for(var o=0,i=0;i>>26;for(;0!==o&&i>>26;if(this.length=r.length,0!==o)this.words[this.length]=o,this.length++;else if(r!==this)for(;ie.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,o=this.cmp(e);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(r=this,n=e):(r=e,n=this);for(var i=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==i&&s>26,this.words[s]=67108863&t;if(0===i&&s>>13,h=0|s[1],p=8191&h,g=h>>>13,m=0|s[2],y=8191&m,b=m>>>13,v=0|s[3],w=8191&v,_=v>>>13,k=0|s[4],O=8191&k,S=k>>>13,E=0|s[5],j=8191&E,P=E>>>13,A=0|s[6],x=8191&A,M=A>>>13,I=0|s[7],C=8191&I,R=I>>>13,T=0|s[8],N=8191&T,B=T>>>13,D=0|s[9],L=8191&D,U=D>>>13,q=0|a[0],H=8191&q,z=q>>>13,K=0|a[1],F=8191&K,$=K>>>13,V=0|a[2],J=8191&V,G=V>>>13,W=0|a[3],Q=8191&W,Z=W>>>13,Y=0|a[4],X=8191&Y,ee=Y>>>13,te=0|a[5],re=8191&te,ne=te>>>13,oe=0|a[6],ie=8191&oe,se=oe>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,le=0|a[8],fe=8191&le,de=le>>>13,he=0|a[9],pe=8191&he,ge=he>>>13;r.negative=e.negative^t.negative,r.length=19;var me=(u+(n=Math.imul(f,H))|0)+((8191&(o=(o=Math.imul(f,z))+Math.imul(d,H)|0))<<13)|0;u=((i=Math.imul(d,z))+(o>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(p,H),o=(o=Math.imul(p,z))+Math.imul(g,H)|0,i=Math.imul(g,z);var ye=(u+(n=n+Math.imul(f,F)|0)|0)+((8191&(o=(o=o+Math.imul(f,$)|0)+Math.imul(d,F)|0))<<13)|0;u=((i=i+Math.imul(d,$)|0)+(o>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(y,H),o=(o=Math.imul(y,z))+Math.imul(b,H)|0,i=Math.imul(b,z),n=n+Math.imul(p,F)|0,o=(o=o+Math.imul(p,$)|0)+Math.imul(g,F)|0,i=i+Math.imul(g,$)|0;var be=(u+(n=n+Math.imul(f,J)|0)|0)+((8191&(o=(o=o+Math.imul(f,G)|0)+Math.imul(d,J)|0))<<13)|0;u=((i=i+Math.imul(d,G)|0)+(o>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(w,H),o=(o=Math.imul(w,z))+Math.imul(_,H)|0,i=Math.imul(_,z),n=n+Math.imul(y,F)|0,o=(o=o+Math.imul(y,$)|0)+Math.imul(b,F)|0,i=i+Math.imul(b,$)|0,n=n+Math.imul(p,J)|0,o=(o=o+Math.imul(p,G)|0)+Math.imul(g,J)|0,i=i+Math.imul(g,G)|0;var ve=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(o=(o=o+Math.imul(f,Z)|0)+Math.imul(d,Q)|0))<<13)|0;u=((i=i+Math.imul(d,Z)|0)+(o>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(O,H),o=(o=Math.imul(O,z))+Math.imul(S,H)|0,i=Math.imul(S,z),n=n+Math.imul(w,F)|0,o=(o=o+Math.imul(w,$)|0)+Math.imul(_,F)|0,i=i+Math.imul(_,$)|0,n=n+Math.imul(y,J)|0,o=(o=o+Math.imul(y,G)|0)+Math.imul(b,J)|0,i=i+Math.imul(b,G)|0,n=n+Math.imul(p,Q)|0,o=(o=o+Math.imul(p,Z)|0)+Math.imul(g,Q)|0,i=i+Math.imul(g,Z)|0;var we=(u+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,ee)|0)+Math.imul(d,X)|0))<<13)|0;u=((i=i+Math.imul(d,ee)|0)+(o>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(j,H),o=(o=Math.imul(j,z))+Math.imul(P,H)|0,i=Math.imul(P,z),n=n+Math.imul(O,F)|0,o=(o=o+Math.imul(O,$)|0)+Math.imul(S,F)|0,i=i+Math.imul(S,$)|0,n=n+Math.imul(w,J)|0,o=(o=o+Math.imul(w,G)|0)+Math.imul(_,J)|0,i=i+Math.imul(_,G)|0,n=n+Math.imul(y,Q)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(b,Q)|0,i=i+Math.imul(b,Z)|0,n=n+Math.imul(p,X)|0,o=(o=o+Math.imul(p,ee)|0)+Math.imul(g,X)|0,i=i+Math.imul(g,ee)|0;var _e=(u+(n=n+Math.imul(f,re)|0)|0)+((8191&(o=(o=o+Math.imul(f,ne)|0)+Math.imul(d,re)|0))<<13)|0;u=((i=i+Math.imul(d,ne)|0)+(o>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(x,H),o=(o=Math.imul(x,z))+Math.imul(M,H)|0,i=Math.imul(M,z),n=n+Math.imul(j,F)|0,o=(o=o+Math.imul(j,$)|0)+Math.imul(P,F)|0,i=i+Math.imul(P,$)|0,n=n+Math.imul(O,J)|0,o=(o=o+Math.imul(O,G)|0)+Math.imul(S,J)|0,i=i+Math.imul(S,G)|0,n=n+Math.imul(w,Q)|0,o=(o=o+Math.imul(w,Z)|0)+Math.imul(_,Q)|0,i=i+Math.imul(_,Z)|0,n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,ee)|0)+Math.imul(b,X)|0,i=i+Math.imul(b,ee)|0,n=n+Math.imul(p,re)|0,o=(o=o+Math.imul(p,ne)|0)+Math.imul(g,re)|0,i=i+Math.imul(g,ne)|0;var ke=(u+(n=n+Math.imul(f,ie)|0)|0)+((8191&(o=(o=o+Math.imul(f,se)|0)+Math.imul(d,ie)|0))<<13)|0;u=((i=i+Math.imul(d,se)|0)+(o>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(C,H),o=(o=Math.imul(C,z))+Math.imul(R,H)|0,i=Math.imul(R,z),n=n+Math.imul(x,F)|0,o=(o=o+Math.imul(x,$)|0)+Math.imul(M,F)|0,i=i+Math.imul(M,$)|0,n=n+Math.imul(j,J)|0,o=(o=o+Math.imul(j,G)|0)+Math.imul(P,J)|0,i=i+Math.imul(P,G)|0,n=n+Math.imul(O,Q)|0,o=(o=o+Math.imul(O,Z)|0)+Math.imul(S,Q)|0,i=i+Math.imul(S,Z)|0,n=n+Math.imul(w,X)|0,o=(o=o+Math.imul(w,ee)|0)+Math.imul(_,X)|0,i=i+Math.imul(_,ee)|0,n=n+Math.imul(y,re)|0,o=(o=o+Math.imul(y,ne)|0)+Math.imul(b,re)|0,i=i+Math.imul(b,ne)|0,n=n+Math.imul(p,ie)|0,o=(o=o+Math.imul(p,se)|0)+Math.imul(g,ie)|0,i=i+Math.imul(g,se)|0;var Oe=(u+(n=n+Math.imul(f,ce)|0)|0)+((8191&(o=(o=o+Math.imul(f,ue)|0)+Math.imul(d,ce)|0))<<13)|0;u=((i=i+Math.imul(d,ue)|0)+(o>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(N,H),o=(o=Math.imul(N,z))+Math.imul(B,H)|0,i=Math.imul(B,z),n=n+Math.imul(C,F)|0,o=(o=o+Math.imul(C,$)|0)+Math.imul(R,F)|0,i=i+Math.imul(R,$)|0,n=n+Math.imul(x,J)|0,o=(o=o+Math.imul(x,G)|0)+Math.imul(M,J)|0,i=i+Math.imul(M,G)|0,n=n+Math.imul(j,Q)|0,o=(o=o+Math.imul(j,Z)|0)+Math.imul(P,Q)|0,i=i+Math.imul(P,Z)|0,n=n+Math.imul(O,X)|0,o=(o=o+Math.imul(O,ee)|0)+Math.imul(S,X)|0,i=i+Math.imul(S,ee)|0,n=n+Math.imul(w,re)|0,o=(o=o+Math.imul(w,ne)|0)+Math.imul(_,re)|0,i=i+Math.imul(_,ne)|0,n=n+Math.imul(y,ie)|0,o=(o=o+Math.imul(y,se)|0)+Math.imul(b,ie)|0,i=i+Math.imul(b,se)|0,n=n+Math.imul(p,ce)|0,o=(o=o+Math.imul(p,ue)|0)+Math.imul(g,ce)|0,i=i+Math.imul(g,ue)|0;var Se=(u+(n=n+Math.imul(f,fe)|0)|0)+((8191&(o=(o=o+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;u=((i=i+Math.imul(d,de)|0)+(o>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(L,H),o=(o=Math.imul(L,z))+Math.imul(U,H)|0,i=Math.imul(U,z),n=n+Math.imul(N,F)|0,o=(o=o+Math.imul(N,$)|0)+Math.imul(B,F)|0,i=i+Math.imul(B,$)|0,n=n+Math.imul(C,J)|0,o=(o=o+Math.imul(C,G)|0)+Math.imul(R,J)|0,i=i+Math.imul(R,G)|0,n=n+Math.imul(x,Q)|0,o=(o=o+Math.imul(x,Z)|0)+Math.imul(M,Q)|0,i=i+Math.imul(M,Z)|0,n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,ee)|0)+Math.imul(P,X)|0,i=i+Math.imul(P,ee)|0,n=n+Math.imul(O,re)|0,o=(o=o+Math.imul(O,ne)|0)+Math.imul(S,re)|0,i=i+Math.imul(S,ne)|0,n=n+Math.imul(w,ie)|0,o=(o=o+Math.imul(w,se)|0)+Math.imul(_,ie)|0,i=i+Math.imul(_,se)|0,n=n+Math.imul(y,ce)|0,o=(o=o+Math.imul(y,ue)|0)+Math.imul(b,ce)|0,i=i+Math.imul(b,ue)|0,n=n+Math.imul(p,fe)|0,o=(o=o+Math.imul(p,de)|0)+Math.imul(g,fe)|0,i=i+Math.imul(g,de)|0;var Ee=(u+(n=n+Math.imul(f,pe)|0)|0)+((8191&(o=(o=o+Math.imul(f,ge)|0)+Math.imul(d,pe)|0))<<13)|0;u=((i=i+Math.imul(d,ge)|0)+(o>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(L,F),o=(o=Math.imul(L,$))+Math.imul(U,F)|0,i=Math.imul(U,$),n=n+Math.imul(N,J)|0,o=(o=o+Math.imul(N,G)|0)+Math.imul(B,J)|0,i=i+Math.imul(B,G)|0,n=n+Math.imul(C,Q)|0,o=(o=o+Math.imul(C,Z)|0)+Math.imul(R,Q)|0,i=i+Math.imul(R,Z)|0,n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,ee)|0)+Math.imul(M,X)|0,i=i+Math.imul(M,ee)|0,n=n+Math.imul(j,re)|0,o=(o=o+Math.imul(j,ne)|0)+Math.imul(P,re)|0,i=i+Math.imul(P,ne)|0,n=n+Math.imul(O,ie)|0,o=(o=o+Math.imul(O,se)|0)+Math.imul(S,ie)|0,i=i+Math.imul(S,se)|0,n=n+Math.imul(w,ce)|0,o=(o=o+Math.imul(w,ue)|0)+Math.imul(_,ce)|0,i=i+Math.imul(_,ue)|0,n=n+Math.imul(y,fe)|0,o=(o=o+Math.imul(y,de)|0)+Math.imul(b,fe)|0,i=i+Math.imul(b,de)|0;var je=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(o=(o=o+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;u=((i=i+Math.imul(g,ge)|0)+(o>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(L,J),o=(o=Math.imul(L,G))+Math.imul(U,J)|0,i=Math.imul(U,G),n=n+Math.imul(N,Q)|0,o=(o=o+Math.imul(N,Z)|0)+Math.imul(B,Q)|0,i=i+Math.imul(B,Z)|0,n=n+Math.imul(C,X)|0,o=(o=o+Math.imul(C,ee)|0)+Math.imul(R,X)|0,i=i+Math.imul(R,ee)|0,n=n+Math.imul(x,re)|0,o=(o=o+Math.imul(x,ne)|0)+Math.imul(M,re)|0,i=i+Math.imul(M,ne)|0,n=n+Math.imul(j,ie)|0,o=(o=o+Math.imul(j,se)|0)+Math.imul(P,ie)|0,i=i+Math.imul(P,se)|0,n=n+Math.imul(O,ce)|0,o=(o=o+Math.imul(O,ue)|0)+Math.imul(S,ce)|0,i=i+Math.imul(S,ue)|0,n=n+Math.imul(w,fe)|0,o=(o=o+Math.imul(w,de)|0)+Math.imul(_,fe)|0,i=i+Math.imul(_,de)|0;var Pe=(u+(n=n+Math.imul(y,pe)|0)|0)+((8191&(o=(o=o+Math.imul(y,ge)|0)+Math.imul(b,pe)|0))<<13)|0;u=((i=i+Math.imul(b,ge)|0)+(o>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(L,Q),o=(o=Math.imul(L,Z))+Math.imul(U,Q)|0,i=Math.imul(U,Z),n=n+Math.imul(N,X)|0,o=(o=o+Math.imul(N,ee)|0)+Math.imul(B,X)|0,i=i+Math.imul(B,ee)|0,n=n+Math.imul(C,re)|0,o=(o=o+Math.imul(C,ne)|0)+Math.imul(R,re)|0,i=i+Math.imul(R,ne)|0,n=n+Math.imul(x,ie)|0,o=(o=o+Math.imul(x,se)|0)+Math.imul(M,ie)|0,i=i+Math.imul(M,se)|0,n=n+Math.imul(j,ce)|0,o=(o=o+Math.imul(j,ue)|0)+Math.imul(P,ce)|0,i=i+Math.imul(P,ue)|0,n=n+Math.imul(O,fe)|0,o=(o=o+Math.imul(O,de)|0)+Math.imul(S,fe)|0,i=i+Math.imul(S,de)|0;var Ae=(u+(n=n+Math.imul(w,pe)|0)|0)+((8191&(o=(o=o+Math.imul(w,ge)|0)+Math.imul(_,pe)|0))<<13)|0;u=((i=i+Math.imul(_,ge)|0)+(o>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(L,X),o=(o=Math.imul(L,ee))+Math.imul(U,X)|0,i=Math.imul(U,ee),n=n+Math.imul(N,re)|0,o=(o=o+Math.imul(N,ne)|0)+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,n=n+Math.imul(C,ie)|0,o=(o=o+Math.imul(C,se)|0)+Math.imul(R,ie)|0,i=i+Math.imul(R,se)|0,n=n+Math.imul(x,ce)|0,o=(o=o+Math.imul(x,ue)|0)+Math.imul(M,ce)|0,i=i+Math.imul(M,ue)|0,n=n+Math.imul(j,fe)|0,o=(o=o+Math.imul(j,de)|0)+Math.imul(P,fe)|0,i=i+Math.imul(P,de)|0;var xe=(u+(n=n+Math.imul(O,pe)|0)|0)+((8191&(o=(o=o+Math.imul(O,ge)|0)+Math.imul(S,pe)|0))<<13)|0;u=((i=i+Math.imul(S,ge)|0)+(o>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(L,re),o=(o=Math.imul(L,ne))+Math.imul(U,re)|0,i=Math.imul(U,ne),n=n+Math.imul(N,ie)|0,o=(o=o+Math.imul(N,se)|0)+Math.imul(B,ie)|0,i=i+Math.imul(B,se)|0,n=n+Math.imul(C,ce)|0,o=(o=o+Math.imul(C,ue)|0)+Math.imul(R,ce)|0,i=i+Math.imul(R,ue)|0,n=n+Math.imul(x,fe)|0,o=(o=o+Math.imul(x,de)|0)+Math.imul(M,fe)|0,i=i+Math.imul(M,de)|0;var Me=(u+(n=n+Math.imul(j,pe)|0)|0)+((8191&(o=(o=o+Math.imul(j,ge)|0)+Math.imul(P,pe)|0))<<13)|0;u=((i=i+Math.imul(P,ge)|0)+(o>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(L,ie),o=(o=Math.imul(L,se))+Math.imul(U,ie)|0,i=Math.imul(U,se),n=n+Math.imul(N,ce)|0,o=(o=o+Math.imul(N,ue)|0)+Math.imul(B,ce)|0,i=i+Math.imul(B,ue)|0,n=n+Math.imul(C,fe)|0,o=(o=o+Math.imul(C,de)|0)+Math.imul(R,fe)|0,i=i+Math.imul(R,de)|0;var Ie=(u+(n=n+Math.imul(x,pe)|0)|0)+((8191&(o=(o=o+Math.imul(x,ge)|0)+Math.imul(M,pe)|0))<<13)|0;u=((i=i+Math.imul(M,ge)|0)+(o>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(L,ce),o=(o=Math.imul(L,ue))+Math.imul(U,ce)|0,i=Math.imul(U,ue),n=n+Math.imul(N,fe)|0,o=(o=o+Math.imul(N,de)|0)+Math.imul(B,fe)|0,i=i+Math.imul(B,de)|0;var Ce=(u+(n=n+Math.imul(C,pe)|0)|0)+((8191&(o=(o=o+Math.imul(C,ge)|0)+Math.imul(R,pe)|0))<<13)|0;u=((i=i+Math.imul(R,ge)|0)+(o>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(L,fe),o=(o=Math.imul(L,de))+Math.imul(U,fe)|0,i=Math.imul(U,de);var Re=(u+(n=n+Math.imul(N,pe)|0)|0)+((8191&(o=(o=o+Math.imul(N,ge)|0)+Math.imul(B,pe)|0))<<13)|0;u=((i=i+Math.imul(B,ge)|0)+(o>>>13)|0)+(Re>>>26)|0,Re&=67108863;var Te=(u+(n=Math.imul(L,pe))|0)+((8191&(o=(o=Math.imul(L,ge))+Math.imul(U,pe)|0))<<13)|0;return u=((i=Math.imul(U,ge))+(o>>>13)|0)+(Te>>>26)|0,Te&=67108863,c[0]=me,c[1]=ye,c[2]=be,c[3]=ve,c[4]=we,c[5]=_e,c[6]=ke,c[7]=Oe,c[8]=Se,c[9]=Ee,c[10]=je,c[11]=Pe,c[12]=Ae,c[13]=xe,c[14]=Me,c[15]=Ie,c[16]=Ce,c[17]=Re,c[18]=Te,0!==u&&(c[19]=u,r.length++),r};function p(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(h=d),i.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?h(this,e,t):r<63?d(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,o=0,i=0;i>>26)|0)>>>26,s&=67108863}r.words[i]=a,n=s,s=o}return 0!==n?r.words[i]=n:r.length--,r.strip()}(this,e,t):p(this,e,t)},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n>=1;return n},g.prototype.permute=function(e,t,r,n,o,i){for(var s=0;s>>=1)o++;return 1<>>=13,r[2*s+1]=8191&i,i>>>=13;for(s=2*t;s>=26,t+=o/67108864|0,t+=i>>>26,this.words[r]=67108863&i}return 0!==t&&(this.words[r]=t,this.length++),this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r>>o}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n=0);var t,r=e%26,o=(e-r)/26,i=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(t=0;t>>26-r}s&&(this.words[t]=s,this.length++)}if(0!==o){for(t=this.length-1;t>=0;t--)this.words[t+o]=this.words[t];for(t=0;t=0),o=t?(t-t%26)/26:0;var i=e%26,s=Math.min((e-i)/26,this.length),a=67108863^67108863>>>i<s)for(this.length-=s,u=0;u=0&&(0!==l||u>=o);u--){var f=0|this.words[u];this.words[u]=l<<26-i|f>>>i,l=f&a}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,o=1<=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var o=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[o+r]=67108863&i}for(;o>26,this.words[o+r]=67108863&i;if(0===a)return this.strip();for(n(-1===a),a=0,o=0;o>26,this.words[o]=67108863&i;return this.negative=1,this.strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),o=e,s=0|o.words[o.length-1];0!==(r=26-this._countBits(s))&&(o=o.ushln(r),n.iushln(r),s=0|o.words[o.length-1]);var a,c=n.length-o.length;if("mod"!==t){(a=new i(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u=0;f--){var d=67108864*(0|n.words[o.length+f])+(0|n.words[o.length+f-1]);for(d=Math.min(d/s|0,67108863),n._ishlnsubmul(o,d,f);0!==n.negative;)d--,n.negative=0,n._ishlnsubmul(o,1,f),n.isZero()||(n.negative^=1);a&&(a.words[f]=d)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.iadd(e)),{div:o,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modn(e.words[0]))}:this._wordDiv(e,t);var o,s,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),o=e.andln(1),i=r.cmp(n);return i<0||1===o&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,o=this.length-1;o>=0;o--)r=(t*r+(0|this.words[o]))%e;return r},i.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var o=(0|this.words[r])+67108864*t;this.words[r]=o/e|0,t=o%e}return this.strip()},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),s=new i(0),a=new i(0),c=new i(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0==(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(l),s.isub(f)),o.iushrn(1),s.iushrn(1);for(var p=0,g=1;0==(r.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(l),c.isub(f)),a.iushrn(1),c.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a),s.isub(c)):(r.isub(t),a.isub(o),c.isub(s))}return{a:a,b:c,gcd:r.iushln(u)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o,s=new i(1),a=new i(0),c=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var f=0,d=1;0==(r.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(r.iushrn(f);f-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),s.isub(a)):(r.isub(t),a.isub(s))}return(o=0===t.cmpn(1)?s:a).cmpn(0)<0&&o.iadd(e),o},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var o=t.cmp(r);if(o<0){var i=t;t=r,r=i}else if(0===o||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,o=1<>>26,a&=67108863,this.words[s]=a}return 0!==i&&(this.words[s]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var o=0|this.words[0];t=o===e?0:oe.length)return 1;if(this.length=0;r--){var n=0|this.words[r],o=0|e.words[r];if(n!==o){no&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new k(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var m={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function O(e){k.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},o(b,y),b.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n>>22,o=i}o>>>=22,e.words[n-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r>>=26,e.words[r]=o,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(m[e])return m[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new v;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new _}return m[e]=t,t},k.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},k.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},k.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},k.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},k.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},k.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},k.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},k.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},k.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},k.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},k.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},k.prototype.isqr=function(e){return this.imul(e,e.clone())},k.prototype.sqr=function(e){return this.mul(e,e)},k.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);n(!o.isZero());var a=new i(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,o),d=this.pow(e,o.addn(1).iushrn(1)),h=this.pow(e,o),p=s;0!==h.cmp(a);){for(var g=h,m=0;0!==g.cmp(a);m++)g=g.redSqr();n(m=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var f=u>>l&1;o!==r[0]&&(o=this.sqr(o)),0!==f||0!==s?(s<<=1,s|=f,(4===++a||0===n&&0===l)&&(o=this.mul(o,r[s]),a=0,s=0)):a=0}c=26}return o},k.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},k.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new O(e)},o(O,k),O.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},O.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},O.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),i=o;return o.cmp(this.m)>=0?i=o.isub(this.m):o.cmpn(0)<0&&(i=o.iadd(this.m)),i._forceRed(this)},O.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},O.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(71)(e))},function(e,t,r){ -/*! safe-buffer. MIT License. Feross Aboukhadijeh */ -var n=r(2),o=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function s(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=s),s.prototype=Object.create(o.prototype),i(o,s),s.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},s.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},,function(e,t,r){(function(t){var n;e.exports=(n=n||function(e,n){var o;if("undefined"!=typeof window&&window.crypto&&(o=window.crypto),!o&&"undefined"!=typeof window&&window.msCrypto&&(o=window.msCrypto),!o&&void 0!==t&&t.crypto&&(o=t.crypto),!o)try{o=r(72)}catch(e){}var i=function(){if(o){if("function"==typeof o.getRandomValues)try{return o.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof o.randomBytes)try{return o.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),a={},c=a.lib={},u=c.Base={extend:function(e){var t=s(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},l=c.WordArray=u.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,o=e.sigBytes;if(this.clamp(),n%4)for(var i=0;i>>2]>>>24-i%4*8&255;t[n+i>>>2]|=s<<24-(n+i)%4*8}else for(i=0;i>>2]=r[i>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=u.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new l.init(r,t/2)}},h=f.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new l.init(r,t)}},p=f.Utf8={stringify:function(e){try{return decodeURIComponent(escape(h.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return h.parse(unescape(encodeURIComponent(e)))}},g=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,o=n.words,i=n.sigBytes,s=this.blockSize,a=i/(4*s),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,u=e.min(4*c,i);if(c){for(var f=0;f1)for(var r=1;r>>2];e.sigBytes-=t}},i.BlockCipher=d.extend({cfg:d.cfg.extend({mode:g,padding:m}),reset:function(){var e;d.reset.call(this);var t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),y=i.CipherParams=s.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),b=(o.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?a.create([1398893684,1701076831]).concat(r).concat(t):t).toString(l)},parse:function(e){var t,r=l.parse(e),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=a.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),y.create({ciphertext:r,salt:t})}},v=i.SerializableCipher=s.extend({cfg:s.extend({format:b}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var o=e.createEncryptor(r,n),i=o.finalize(t),s=o.cfg;return y.create({ciphertext:i,key:r,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),w=(o.kdf={}).OpenSSL={execute:function(e,t,r,n){n||(n=a.random(8));var o=f.create({keySize:t+r}).compute(e,n),i=a.create(o.words.slice(t),4*r);return o.sigBytes=4*t,y.create({key:o,iv:i,salt:n})}},_=i.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:w}),encrypt:function(e,t,r,n){var o=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize);n.iv=o.iv;var i=v.encrypt.call(this,e,t,o.key,n);return i.mixIn(o),i},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var o=n.kdf.execute(r,e.keySize,e.ivSize,t.salt);return n.iv=o.iv,v.decrypt.call(this,e,t,o.key,n)}}))))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(221),t),o(r(421),t),o(r(235),t),o(r(116),t),o(r(112),t),o(r(234),t),o(r(149),t)},function(e,t,r){const n=r(132),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=r(131),{re:s,t:a}=r(84),c=r(133),{compareIdentifiers:u}=r(182);class l{constructor(e,t){if(t=c(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?s[a.LOOSE]:s[a.FULL]);if(!r)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this}}e.exports=l},,,,function(e,t,r){"use strict";var n=r(302),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function s(e){return void 0===e}function a(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var r=0,n=e.length;r(o>>1)-1?(o>>1)-c:c,i.isubn(a)):a=0,n[s]=a,i.iushrn(1)}return n},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n=0,o=0;e.cmpn(-n)>0||t.cmpn(-o)>0;){var i,s,a,c=e.andln(3)+n&3,u=t.andln(3)+o&3;if(3===c&&(c=-1),3===u&&(u=-1),0==(1&c))i=0;else i=3!==(a=e.andln(7)+n&7)&&5!==a||2!==u?c:-c;if(r[0].push(i),0==(1&u))s=0;else s=3!==(a=t.andln(7)+o&7)&&5!==a||2!==c?u:-u;r[1].push(s),2*n===i+1&&(n=1-n),2*o===s+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new o(e,"hex","le")}},,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toUtf8=t.fromUtf8=t.toRfc3339=t.fromRfc3339=t.toHex=t.fromHex=t.Bech32=t.toBase64=t.fromBase64=t.toAscii=t.fromAscii=void 0;var n=r(615);Object.defineProperty(t,"fromAscii",{enumerable:!0,get:function(){return n.fromAscii}}),Object.defineProperty(t,"toAscii",{enumerable:!0,get:function(){return n.toAscii}});var o=r(616);Object.defineProperty(t,"fromBase64",{enumerable:!0,get:function(){return o.fromBase64}}),Object.defineProperty(t,"toBase64",{enumerable:!0,get:function(){return o.toBase64}});var i=r(617);Object.defineProperty(t,"Bech32",{enumerable:!0,get:function(){return i.Bech32}});var s=r(618);Object.defineProperty(t,"fromHex",{enumerable:!0,get:function(){return s.fromHex}}),Object.defineProperty(t,"toHex",{enumerable:!0,get:function(){return s.toHex}});var a=r(619);Object.defineProperty(t,"fromRfc3339",{enumerable:!0,get:function(){return a.fromRfc3339}}),Object.defineProperty(t,"toRfc3339",{enumerable:!0,get:function(){return a.toRfc3339}});var c=r(620);Object.defineProperty(t,"fromUtf8",{enumerable:!0,get:function(){return c.fromUtf8}}),Object.defineProperty(t,"toUtf8",{enumerable:!0,get:function(){return c.toUtf8}})},function(e,t,r){const n=r(24);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},function(e,t,r){class n{constructor(e,t){if(t=i(t),e instanceof n)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new n(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter(e=>!p(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&g(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,r=o.get(t);if(r)return r;const n=this.options.loose,i=n?u[l.HYPHENRANGELOOSE]:u[l.HYPHENRANGE];e=e.replace(i,P(this.options.includePrerelease)),a("hyphen replace",e),e=e.replace(u[l.COMPARATORTRIM],f),a("comparator trim",e,u[l.COMPARATORTRIM]),e=(e=(e=e.replace(u[l.TILDETRIM],d)).replace(u[l.CARETTRIM],h)).split(/\s+/).join(" ");const c=n?u[l.COMPARATORLOOSE]:u[l.COMPARATOR],g=e.split(" ").map(e=>y(e,this.options)).join(" ").split(/\s+/).map(e=>j(e,this.options)).filter(this.options.loose?e=>!!e.match(c):()=>!0).map(e=>new s(e,this.options)),m=(g.length,new Map);for(const e of g){if(p(e))return[e];m.set(e.value,e)}m.size>1&&m.has("")&&m.delete("");const b=[...m.values()];return o.set(t,b),b}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some(r=>m(r,t)&&e.set.some(e=>m(e,t)&&r.every(r=>e.every(e=>r.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,g=e=>""===e.value,m=(e,t)=>{let r=!0;const n=e.slice();let o=n.pop();for(;r&&n.length;)r=n.every(e=>o.intersects(e,t)),o=n.pop();return r},y=(e,t)=>(a("comp",e,t),e=_(e,t),a("caret",e),e=v(e,t),a("tildes",e),e=O(e,t),a("xrange",e),e=E(e,t),a("stars",e),e),b=e=>!e||"x"===e.toLowerCase()||"*"===e,v=(e,t)=>e.trim().split(/\s+/).map(e=>w(e,t)).join(" "),w=(e,t)=>{const r=t.loose?u[l.TILDELOOSE]:u[l.TILDE];return e.replace(r,(t,r,n,o,i)=>{let s;return a("tilde",e,t,r,n,o,i),b(r)?s="":b(n)?s=`>=${r}.0.0 <${+r+1}.0.0-0`:b(o)?s=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:i?(a("replaceTilde pr",i),s=`>=${r}.${n}.${o}-${i} <${r}.${+n+1}.0-0`):s=`>=${r}.${n}.${o} <${r}.${+n+1}.0-0`,a("tilde return",s),s})},_=(e,t)=>e.trim().split(/\s+/).map(e=>k(e,t)).join(" "),k=(e,t)=>{a("caret",e,t);const r=t.loose?u[l.CARETLOOSE]:u[l.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,o,i,s)=>{let c;return a("caret",e,t,r,o,i,s),b(r)?c="":b(o)?c=`>=${r}.0.0${n} <${+r+1}.0.0-0`:b(i)?c="0"===r?`>=${r}.${o}.0${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${n} <${+r+1}.0.0-0`:s?(a("replaceCaret pr",s),c="0"===r?"0"===o?`>=${r}.${o}.${i}-${s} <${r}.${o}.${+i+1}-0`:`>=${r}.${o}.${i}-${s} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${i}-${s} <${+r+1}.0.0-0`):(a("no pr"),c="0"===r?"0"===o?`>=${r}.${o}.${i}${n} <${r}.${o}.${+i+1}-0`:`>=${r}.${o}.${i}${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${i} <${+r+1}.0.0-0`),a("caret return",c),c})},O=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map(e=>S(e,t)).join(" ")),S=(e,t)=>{e=e.trim();const r=t.loose?u[l.XRANGELOOSE]:u[l.XRANGE];return e.replace(r,(r,n,o,i,s,c)=>{a("xRange",e,r,n,o,i,s,c);const u=b(o),l=u||b(i),f=l||b(s),d=f;return"="===n&&d&&(n=""),c=t.includePrerelease?"-0":"",u?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&d?(l&&(i=0),s=0,">"===n?(n=">=",l?(o=+o+1,i=0,s=0):(i=+i+1,s=0)):"<="===n&&(n="<",l?o=+o+1:i=+i+1),"<"===n&&(c="-0"),r=`${n+o}.${i}.${s}${c}`):l?r=`>=${o}.0.0${c} <${+o+1}.0.0-0`:f&&(r=`>=${o}.${i}.0${c} <${o}.${+i+1}.0-0`),a("xRange return",r),r})},E=(e,t)=>(a("replaceStars",e,t),e.trim().replace(u[l.STAR],"")),j=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?l.GTE0PRE:l.GTE0],"")),P=e=>(t,r,n,o,i,s,a,c,u,l,f,d,h)=>`${r=b(n)?"":b(o)?`>=${n}.0.0${e?"-0":""}`:b(i)?`>=${n}.${o}.0${e?"-0":""}`:s?">="+r:`>=${r}${e?"-0":""}`} ${c=b(u)?"":b(l)?`<${+u+1}.0.0-0`:b(f)?`<${u}.${+l+1}.0-0`:d?`<=${u}.${l}.${f}-${d}`:e?`<${u}.${l}.${+f+1}-0`:"<="+c}`.trim(),A=(e,t,r)=>{for(let r=0;r0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(732);t.Bech32=n.Bech32;var o=r(733);t.Decimal=o.Decimal;var i=r(360);t.Encoding=i.Encoding;var s=r(734);t.Int53=s.Int53,t.Uint32=s.Uint32,t.Uint53=s.Uint53,t.Uint64=s.Uint64;var a=r(735);t.isJsonCompatibleValue=a.isJsonCompatibleValue,t.isJsonCompatibleDictionary=a.isJsonCompatibleDictionary,t.isJsonCompatibleArray=a.isJsonCompatibleArray;var c=r(736);t.TransactionEncoder=c.TransactionEncoder;var u=r(362);t.isNonNullObject=u.isNonNullObject,t.isUint8Array=u.isUint8Array},function(e,t,r){"use strict";var n;r.r(t),r.d(t,"Lifecycle",(function(){return o})),r.d(t,"autoInjectable",(function(){return j})),r.d(t,"inject",(function(){return P})),r.d(t,"injectable",(function(){return A})),r.d(t,"registry",(function(){return x})),r.d(t,"singleton",(function(){return M})),r.d(t,"injectAll",(function(){return I})),r.d(t,"injectAllWithTransform",(function(){return C})),r.d(t,"injectWithTransform",(function(){return R})),r.d(t,"scoped",(function(){return T})),r.d(t,"instanceCachingFactory",(function(){return N})),r.d(t,"predicateAwareClassFactory",(function(){return B})),r.d(t,"isClassProvider",(function(){return c})),r.d(t,"isFactoryProvider",(function(){return u})),r.d(t,"isNormalToken",(function(){return d})),r.d(t,"isTokenProvider",(function(){return g})),r.d(t,"isValueProvider",(function(){return m})),r.d(t,"delay",(function(){return f})),r.d(t,"container",(function(){return E})),function(e){e[e.Transient=0]="Transient",e[e.Singleton=1]="Singleton",e[e.ResolutionScoped=2]="ResolutionScoped",e[e.ContainerScoped=3]="ContainerScoped"}(n||(n={}));var o=n,i=r(3);function s(e){var t=Reflect.getMetadata("design:paramtypes",e)||[],r=Reflect.getOwnMetadata("injectionTokens",e)||{};return Object.keys(r).forEach((function(e){t[+e]=r[e]})),t}function a(e,t){return function(r,n,o){var i=Reflect.getOwnMetadata("injectionTokens",r)||{};i[o]=t?{token:e,transform:t.transformToken,transformArgs:t.args||[]}:e,Reflect.defineMetadata("injectionTokens",i,r)}}function c(e){return!!e.useClass}function u(e){return!!e.useFactory}var l=function(){function e(e){this.wrap=e,this.reflectMethods=["get","getPrototypeOf","setPrototypeOf","getOwnPropertyDescriptor","defineProperty","has","set","deleteProperty","apply","construct"]}return e.prototype.createProxy=function(e){var t,r=this,n=!1;return new Proxy({},this.createHandler((function(){return n||(t=e(r.wrap()),n=!0),t})))},e.prototype.createHandler=function(e){var t={};return this.reflectMethods.forEach((function(r){t[r]=function(){for(var t=[],n=0;n0},e.prototype.clear=function(){this._registryMap.clear()},e.prototype.ensure=function(e){this._registryMap.has(e)||this._registryMap.set(e,[])},e}(),b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t}(y),v=function(){this.scopedResolutions=new Map};function w(e,t,r){var n,o,s,a=Object(i.c)(e.toString().match(/constructor\(([\w, ]+)\)/)||[],2)[1],c=function(e,t){return null===e?"at position #"+t:'"'+e.split(",")[t].trim()+'" at position #'+t}(void 0===a?null:a,t);return n="Cannot inject the dependency "+c+' of "'+e.name+'" constructor. Reason:',o=r,void 0===s&&(s=" "),Object(i.e)([n],o.message.split("\n").map((function(e){return s+e}))).join("\n")}var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t}(y),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t}(y),O=function(){this.preResolution=new _,this.postResolution=new k},S=new Map,E=new(function(){function e(e){this.parent=e,this._registry=new b,this.interceptors=new O}return e.prototype.register=function(e,t,r){var n;if(void 0===r&&(r={lifecycle:o.Transient}),n=function(e){return c(e)||m(e)||g(e)||u(e)}(t)?t:{useClass:t},g(n))for(var s=[e],a=n;null!=a;){var l=a.useToken;if(s.includes(l))throw new Error("Token registration cycle detected! "+Object(i.e)(s,[l]).join(" -> "));s.push(l);var f=this._registry.get(l);a=f&&g(f.provider)?f.provider:null}if((r.lifecycle===o.Singleton||r.lifecycle==o.ContainerScoped||r.lifecycle==o.ResolutionScoped)&&(m(n)||u(n)))throw new Error('Cannot use lifecycle "'+o[r.lifecycle]+'" with ValueProviders or FactoryProviders');return this._registry.set(e,{provider:n,options:r}),this},e.prototype.registerType=function(e,t){return d(t)?this.register(e,{useToken:t}):this.register(e,{useClass:t})},e.prototype.registerInstance=function(e,t){return this.register(e,{useValue:t})},e.prototype.registerSingleton=function(e,t){if(d(e)){if(d(t))return this.register(e,{useToken:t},{lifecycle:o.Singleton});if(t)return this.register(e,{useClass:t},{lifecycle:o.Singleton});throw new Error('Cannot register a type name as a singleton without a "to" token')}var r=e;return t&&!d(t)&&(r=t),this.register(e,{useClass:r},{lifecycle:o.Singleton})},e.prototype.resolve=function(e,t){void 0===t&&(t=new v);var r=this.getRegistration(e);if(!r&&d(e))throw new Error('Attempted to resolve unregistered dependency token: "'+e.toString()+'"');if(this.executePreResolutionInterceptor(e,"Single"),r){var n=this.resolveRegistration(r,t);return this.executePostResolutionInterceptor(e,n,"Single"),n}if(function(e){return"function"==typeof e||e instanceof l}(e)){n=this.construct(e,t);return this.executePostResolutionInterceptor(e,n,"Single"),n}throw new Error("Attempted to construct an undefined constructor. Could mean a circular dependency problem. Try using `delay` function.")},e.prototype.executePreResolutionInterceptor=function(e,t){var r,n;if(this.interceptors.preResolution.has(e)){var o=[];try{for(var s=Object(i.g)(this.interceptors.preResolution.getAll(e)),a=s.next();!a.done;a=s.next()){var c=a.value;"Once"!=c.options.frequency&&o.push(c),c.callback(e,t)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}this.interceptors.preResolution.setAll(e,o)}},e.prototype.executePostResolutionInterceptor=function(e,t,r){var n,o;if(this.interceptors.postResolution.has(e)){var s=[];try{for(var a=Object(i.g)(this.interceptors.postResolution.getAll(e)),c=a.next();!c.done;c=a.next()){var u=c.value;"Once"!=u.options.frequency&&s.push(u),u.callback(e,t,r)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}this.interceptors.postResolution.setAll(e,s)}},e.prototype.resolveRegistration=function(e,t){if(e.options.lifecycle===o.ResolutionScoped&&t.scopedResolutions.has(e))return t.scopedResolutions.get(e);var r,n=e.options.lifecycle===o.Singleton,i=e.options.lifecycle===o.ContainerScoped,s=n||i;return r=m(e.provider)?e.provider.useValue:g(e.provider)?s?e.instance||(e.instance=this.resolve(e.provider.useToken,t)):this.resolve(e.provider.useToken,t):c(e.provider)?s?e.instance||(e.instance=this.construct(e.provider.useClass,t)):this.construct(e.provider.useClass,t):u(e.provider)?e.provider.useFactory(this):this.construct(e.provider,t),e.options.lifecycle===o.ResolutionScoped&&t.scopedResolutions.set(e,r),r},e.prototype.resolveAll=function(e,t){var r=this;void 0===t&&(t=new v);var n=this.getAllRegistrations(e);if(!n&&d(e))throw new Error('Attempted to resolve unregistered dependency token: "'+e.toString()+'"');if(this.executePreResolutionInterceptor(e,"All"),n){var o=n.map((function(e){return r.resolveRegistration(e,t)}));return this.executePostResolutionInterceptor(e,o,"All"),o}var i=[this.construct(e,t)];return this.executePostResolutionInterceptor(e,i,"All"),i},e.prototype.isRegistered=function(e,t){return void 0===t&&(t=!1),this._registry.has(e)||t&&(this.parent||!1)&&this.parent.isRegistered(e,!0)},e.prototype.reset=function(){this._registry.clear(),this.interceptors.preResolution.clear(),this.interceptors.postResolution.clear()},e.prototype.clearInstances=function(){var e,t;try{for(var r=Object(i.g)(this._registry.entries()),n=r.next();!n.done;n=r.next()){var o=Object(i.c)(n.value,2),s=o[0],a=o[1];this._registry.setAll(s,a.filter((function(e){return!m(e.provider)})).map((function(e){return e.instance=void 0,e})))}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},e.prototype.createChildContainer=function(){var t,r,n=new e(this);try{for(var s=Object(i.g)(this._registry.entries()),a=s.next();!a.done;a=s.next()){var c=Object(i.c)(a.value,2),u=c[0],l=c[1];l.some((function(e){return e.options.lifecycle===o.ContainerScoped}))&&n._registry.setAll(u,l.map((function(e){return e.options.lifecycle===o.ContainerScoped?{provider:e.provider,options:e.options}:e})))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return n},e.prototype.beforeResolution=function(e,t,r){void 0===r&&(r={frequency:"Always"}),this.interceptors.preResolution.set(e,{callback:t,options:r})},e.prototype.afterResolution=function(e,t,r){void 0===r&&(r={frequency:"Always"}),this.interceptors.postResolution.set(e,{callback:t,options:r})},e.prototype.getRegistration=function(e){return this.isRegistered(e)?this._registry.get(e):this.parent?this.parent.getRegistration(e):null},e.prototype.getAllRegistrations=function(e){return this.isRegistered(e)?this._registry.getAll(e):this.parent?this.parent.getAllRegistrations(e):null},e.prototype.construct=function(e,t){var r=this;if(e instanceof l)return e.createProxy((function(e){return r.resolve(e,t)}));var n=S.get(e);if(!n||0===n.length){if(0===e.length)return new e;throw new Error('TypeInfo not known for "'+e.name+'"')}var o=n.map(this.resolveParams(t,e));return new(e.bind.apply(e,Object(i.e)([void 0],o)))},e.prototype.resolveParams=function(e,t){var r=this;return function(n,o){var s,a,c;try{return h(n)?p(n)?n.multiple?(s=r.resolve(n.transform)).transform.apply(s,Object(i.e)([r.resolveAll(n.token)],n.transformArgs)):(a=r.resolve(n.transform)).transform.apply(a,Object(i.e)([r.resolve(n.token,e)],n.transformArgs)):n.multiple?r.resolveAll(n.token):r.resolve(n.token,e):p(n)?(c=r.resolve(n.transform,e)).transform.apply(c,Object(i.e)([r.resolve(n.token,e)],n.transformArgs)):r.resolve(n,e)}catch(e){throw new Error(w(t,o,e))}}},e}());var j=function(){return function(e){var t=s(e);return function(r){function n(){for(var n=[],o=0;o4096},nanoS:{id:"nanoS",productName:"Ledger Nano S",productIdMM:16,legacyUsbProductId:1,usbOnly:!0,memorySize:327680,blockSize:4096,getBlockSize:e=>o.a.lt(o.a.coerce(e),"2.0.0")?4096:2048},nanoX:{id:"nanoX",productName:"Ledger Nano X",productIdMM:64,legacyUsbProductId:4,usbOnly:!1,memorySize:2097152,blockSize:4096,getBlockSize:e=>4096,bluetoothSpec:[{serviceUuid:"d973f2e0-b19e-11e2-9e96-0800200c9a66",notifyUuid:"d973f2e1-b19e-11e2-9e96-0800200c9a66",writeUuid:"d973f2e2-b19e-11e2-9e96-0800200c9a66"},{serviceUuid:"13d63400-2c97-0004-0000-4c6564676572",notifyUuid:"13d63400-2c97-0004-0001-4c6564676572",writeUuid:"13d63400-2c97-0004-0002-4c6564676572"}]}},s=Object.values(i),a=11415,c=e=>{const t=s.find(t=>t.legacyUsbProductId===e);if(t)return t;const r=e>>8;return s.find(e=>e.productIdMM===r)},u=[],l={};for(let e in i){const t=i[e],{bluetoothSpec:r}=t;if(r)for(let e=0;e=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function s(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function a(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=o,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),o=0;o>6|192,r[n++]=63&s|128):i(e,o)?(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++o)),r[n++]=s>>18|240,r[n++]=s>>12&63|128,r[n++]=s>>6&63|128,r[n++]=63&s|128):(r[n++]=s>>12|224,r[n++]=s>>6&63|128,r[n++]=63&s|128)}else for(o=0;o>>0}return s},t.split32=function(e,t){for(var r=new Array(4*e.length),n=0,o=0;n>>24,r[o+1]=i>>>16&255,r[o+2]=i>>>8&255,r[o+3]=255&i):(r[o+3]=i>>>24,r[o+2]=i>>>16&255,r[o+1]=i>>>8&255,r[o]=255&i)}return r},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,r){return e+t+r>>>0},t.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},t.sum32_5=function(e,t,r,n,o){return e+t+r+n+o>>>0},t.sum64=function(e,t,r,n){var o=e[t],i=n+e[t+1]>>>0,s=(i>>0,e[t+1]=i},t.sum64_hi=function(e,t,r,n){return(t+n>>>0>>0},t.sum64_lo=function(e,t,r,n){return t+n>>>0},t.sum64_4_hi=function(e,t,r,n,o,i,s,a){var c=0,u=t;return c+=(u=u+n>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(e,t,r,n,o,i,s,a){return t+n+i+a>>>0},t.sum64_5_hi=function(e,t,r,n,o,i,s,a,c,u){var l=0,f=t;return l+=(f=f+n>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(e,t,r,n,o,i,s,a,c,u){return t+n+i+a+u>>>0},t.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},t.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},t.shr64_hi=function(e,t,r){return e>>>r},t.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.slip10CurveFromString=t.Slip10RawIndex=t.Slip10Curve=t.Slip10=t.stringToPath=t.pathToString=t.sha512=t.Sha512=t.sha256=t.Sha256=t.sha1=t.Sha1=t.Secp256k1Signature=t.ExtendedSecp256k1Signature=t.Secp256k1=t.ripemd160=t.Ripemd160=t.Random=t.Ed25519Keypair=t.Ed25519=t.isArgon2idOptions=t.Argon2id=t.xchacha20NonceLength=t.Xchacha20poly1305Ietf=t.keccak256=t.Keccak256=t.Hmac=t.EnglishMnemonic=t.Bip39=void 0;var n=r(614);Object.defineProperty(t,"Bip39",{enumerable:!0,get:function(){return n.Bip39}});var o=r(312);Object.defineProperty(t,"EnglishMnemonic",{enumerable:!0,get:function(){return o.EnglishMnemonic}});var i=r(313);Object.defineProperty(t,"Hmac",{enumerable:!0,get:function(){return i.Hmac}});var s=r(621);Object.defineProperty(t,"Keccak256",{enumerable:!0,get:function(){return s.Keccak256}}),Object.defineProperty(t,"keccak256",{enumerable:!0,get:function(){return s.keccak256}});var a=r(622);Object.defineProperty(t,"Xchacha20poly1305Ietf",{enumerable:!0,get:function(){return a.Xchacha20poly1305Ietf}}),Object.defineProperty(t,"xchacha20NonceLength",{enumerable:!0,get:function(){return a.xchacha20NonceLength}}),Object.defineProperty(t,"Argon2id",{enumerable:!0,get:function(){return a.Argon2id}}),Object.defineProperty(t,"isArgon2idOptions",{enumerable:!0,get:function(){return a.isArgon2idOptions}}),Object.defineProperty(t,"Ed25519",{enumerable:!0,get:function(){return a.Ed25519}}),Object.defineProperty(t,"Ed25519Keypair",{enumerable:!0,get:function(){return a.Ed25519Keypair}});var c=r(623);Object.defineProperty(t,"Random",{enumerable:!0,get:function(){return c.Random}});var u=r(624);Object.defineProperty(t,"Ripemd160",{enumerable:!0,get:function(){return u.Ripemd160}}),Object.defineProperty(t,"ripemd160",{enumerable:!0,get:function(){return u.ripemd160}});var l=r(625);Object.defineProperty(t,"Secp256k1",{enumerable:!0,get:function(){return l.Secp256k1}});var f=r(315);Object.defineProperty(t,"ExtendedSecp256k1Signature",{enumerable:!0,get:function(){return f.ExtendedSecp256k1Signature}}),Object.defineProperty(t,"Secp256k1Signature",{enumerable:!0,get:function(){return f.Secp256k1Signature}});var d=r(316);Object.defineProperty(t,"Sha1",{enumerable:!0,get:function(){return d.Sha1}}),Object.defineProperty(t,"sha1",{enumerable:!0,get:function(){return d.sha1}}),Object.defineProperty(t,"Sha256",{enumerable:!0,get:function(){return d.Sha256}}),Object.defineProperty(t,"sha256",{enumerable:!0,get:function(){return d.sha256}}),Object.defineProperty(t,"Sha512",{enumerable:!0,get:function(){return d.Sha512}}),Object.defineProperty(t,"sha512",{enumerable:!0,get:function(){return d.sha512}});var h=r(626);Object.defineProperty(t,"pathToString",{enumerable:!0,get:function(){return h.pathToString}}),Object.defineProperty(t,"stringToPath",{enumerable:!0,get:function(){return h.stringToPath}}),Object.defineProperty(t,"Slip10",{enumerable:!0,get:function(){return h.Slip10}}),Object.defineProperty(t,"Slip10Curve",{enumerable:!0,get:function(){return h.Slip10Curve}}),Object.defineProperty(t,"Slip10RawIndex",{enumerable:!0,get:function(){return h.Slip10RawIndex}}),Object.defineProperty(t,"slip10CurveFromString",{enumerable:!0,get:function(){return h.slip10CurveFromString}})},function(e,t,r){"use strict";var n,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=function(e,t){return new Promise((function(r,n){function o(){void 0!==i&&e.removeListener("error",i),r([].slice.call(arguments))}var i;"error"!==t&&(i=function(r){e.removeListener(t,o),n(r)},e.once("error",i)),e.once(t,o)}))},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var c=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function f(e,t,r,n){var o,i,s,a;if(u(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),s=i[t]),void 0===s)s=i[t]=r,++e._eventsCount;else if("function"==typeof s?s=i[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(o=l(e))>0&&s.length>o&&!s.warned){s.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=s.length,a=c,console&&console.warn&&console.warn(a)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=d.bind(n);return o.listener=r,n.wrapFn=o,o}function p(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=new Array(e.length),r=0;r0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var c=o[e];if(void 0===c)return!1;if("function"==typeof c)i(c,this,t);else{var u=c.length,l=m(c,u);for(r=0;r=0;i--)if(r[i]===t||r[i].listener===t){s=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},a.prototype.listeners=function(e){return p(this,e,!0)},a.prototype.rawListeners=function(e){return p(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},a.prototype.listenerCount=g,a.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TYPES=void 0,t.TYPES={ChainsStore:Symbol("ChainsStore"),ChainsEmbedChainInfos:Symbol("ChainsEmbededChainInfos"),InteractionStore:Symbol("InteractionStore"),KeyRingStore:Symbol("KeyRingStore"),LedgerStore:Symbol("LedgerStore"),PermissionStore:Symbol("PermissionStore"),PermissionServicePrivilegedOrigins:Symbol("PermissionServicePrivilegedOrigins"),PersistentMemoryStore:Symbol("PersistentMemoryStore"),SecretWasmStore:Symbol("SecretWasmStore"),TokensStore:Symbol("TokensStore"),TxStore:Symbol("TxStore"),UpdaterStore:Symbol("UpdaterStore"),EventMsgRequester:Symbol("EventMsgRequester"),RNG:Symbol("RandomNumberGenerator")}},,function(e,t,r){"use strict";var n=r(4),o=r(156),i=r(75),s=r(76),a=r(56);function c(e){a.call(this,"digest"),this._hash=e}n(c,a),c.prototype._update=function(e){this._hash.update(e)},c.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new o:"rmd160"===e||"ripemd160"===e?new i:new c(s(e))}},,function(e,t,r){var n=r(7).Buffer,o=r(397).Transform,i=r(66).StringDecoder;function s(e){o.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}r(4)(s,o),s.prototype.update=function(e,t,r){"string"==typeof e&&(e=n.from(e,t));var o=this._update(e);return this.hashMode?this:(r&&(o=this._toString(o,r)),o)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{r(n)}},s.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},s.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},s.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new i(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},e.exports=s},function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)o(r,n)&&(e[n]=r[n])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,r,n,o){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),o);else for(var i=0;i4294967295)throw new RangeError("requested too many random bytes");var r=o.allocUnsafe(e);if(e>0)if(e>65536)for(var s=0;s0)},n.Buffer=function(){try{var e=n.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),n._Buffer_from=null,n._Buffer_allocUnsafe=null,n.newBuffer=function(e){return"number"==typeof e?n.Buffer?n._Buffer_allocUnsafe(e):new n.Array(e):n.Buffer?n._Buffer_from(e):"undefined"==typeof Uint8Array?e:new Uint8Array(e)},n.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,n.Long=n.global.dcodeIO&&n.global.dcodeIO.Long||n.global.Long||n.inquire("long"),n.key2Re=/^true|false|0|1$/,n.key32Re=/^-?(?:0|[1-9][0-9]*)$/,n.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,n.longToHash=function(e){return e?n.LongBits.from(e).toHash():n.LongBits.zeroHash},n.longFromHash=function(e,t){var r=n.LongBits.fromHash(e);return n.Long?n.Long.fromBits(r.lo,r.hi,t):r.toNumber(Boolean(t))},n.merge=o,n.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},n.newError=i,n.ProtocolError=i("ProtocolError"),n.oneOfGetter=function(e){for(var t={},r=0;r-1;--r)if(1===t[e[r]]&&void 0!==this[e[r]]&&null!==this[e[r]])return e[r]}},n.oneOfSetter=function(e){return function(t){for(var r=0;r>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function l(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return o>0&&(e.lastNeed=o-1),o;if(--n=0)return o>0&&(e.lastNeed=o-2),o;if(--n=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,r){var n,o,i,s,a,c,u,l;e.exports=(l=r(9),r(171),r(172),o=(n=l).lib,i=o.Base,s=o.WordArray,a=n.algo,c=a.MD5,u=a.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:c,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,n=this.cfg,o=n.hasher.create(),i=s.create(),a=i.words,c=n.keySize,u=n.iterations;a.lengthl(e.toString(2),"0",8)).join("")}function h(e){const t=8*e.length/32,r=n("sha256").update(e).digest();return d(Array.from(r)).slice(0,t)}function p(e){return"mnemonic"+(e||"")}function g(t,r){if(!(r=r||a))throw new Error(c);const n=u(t).split(" ");if(n.length%3!=0)throw new Error("Invalid mnemonic");const o=n.map(e=>{const t=r.indexOf(e);if(-1===t)throw new Error("Invalid mnemonic");return l(t.toString(2),"0",11)}).join(""),i=32*Math.floor(o.length/33),s=o.slice(0,i),d=o.slice(i),p=s.match(/(.{1,8})/g).map(f);if(p.length<16)throw new Error("Invalid entropy");if(p.length>32)throw new Error("Invalid entropy");if(p.length%4!=0)throw new Error("Invalid entropy");const g=e.from(p);if(h(g)!==d)throw new Error("Invalid mnemonic checksum");return g.toString("hex")}function m(t,r){if(e.isBuffer(t)||(t=e.from(t,"hex")),!(r=r||a))throw new Error(c);if(t.length<16)throw new TypeError("Invalid entropy");if(t.length>32)throw new TypeError("Invalid entropy");if(t.length%4!=0)throw new TypeError("Invalid entropy");const n=(d(Array.from(t))+h(t)).match(/(.{1,11})/g).map(e=>{const t=f(e);return r[t]});return"あいこくしん"===r[0]?n.join(" "):n.join(" ")}t.mnemonicToSeedSync=function(t,r){const n=e.from(u(t),"utf8"),i=e.from(p(u(r)),"utf8");return o.pbkdf2Sync(n,i,2048,64,"sha512")},t.mnemonicToSeed=function(t,r){return Promise.resolve().then(()=>function(e,t,r,n,i){return Promise.resolve().then(()=>new Promise((s,a)=>{o.pbkdf2(e,t,r,n,i,(e,t)=>e?a(e):s(t))}))}(e.from(u(t),"utf8"),e.from(p(u(r)),"utf8"),2048,64,"sha512"))},t.mnemonicToEntropy=g,t.entropyToMnemonic=m,t.generateMnemonic=function(e,t,r){if((e=e||128)%32!=0)throw new TypeError("Invalid entropy");return m((t=t||i)(e/8),r)},t.validateMnemonic=function(e,t){try{g(e,t)}catch(e){return!1}return!0},t.setDefaultWordlist=function(e){const t=s.wordlists[e];if(!t)throw new Error('Could not find wordlist for language "'+e+'"');a=t},t.getDefaultWordlist=function(){if(!a)throw new Error("No Default Wordlist set");return Object.keys(s.wordlists).filter(e=>"JA"!==e&&"EN"!==e&&s.wordlists[e].every((e,t)=>e===a[t]))[0]};var y=r(297);t.wordlists=y.wordlists}).call(this,r(2).Buffer)},function(e,t,r){var n=t;n.utils=r(49),n.common=r(96),n.sha=r(452),n.ripemd=r(456),n.hmac=r(457),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=r(62),t.createHash=t.Hash=r(54),t.createHmac=t.Hmac=r(120);var n=r(475),o=Object.keys(n),i=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(o);t.getHashes=function(){return i};var s=r(97);t.pbkdf2=s.pbkdf2,t.pbkdf2Sync=s.pbkdf2Sync;var a=r(477);t.Cipher=a.Cipher,t.createCipher=a.createCipher,t.Cipheriv=a.Cipheriv,t.createCipheriv=a.createCipheriv,t.Decipher=a.Decipher,t.createDecipher=a.createDecipher,t.Decipheriv=a.Decipheriv,t.createDecipheriv=a.createDecipheriv,t.getCiphers=a.getCiphers,t.listCiphers=a.listCiphers;var c=r(492);t.DiffieHellmanGroup=c.DiffieHellmanGroup,t.createDiffieHellmanGroup=c.createDiffieHellmanGroup,t.getDiffieHellman=c.getDiffieHellman,t.createDiffieHellman=c.createDiffieHellman,t.DiffieHellman=c.DiffieHellman;var u=r(496);t.createSign=u.createSign,t.Sign=u.Sign,t.createVerify=u.createVerify,t.Verify=u.Verify,t.createECDH=r(531);var l=r(532);t.publicEncrypt=l.publicEncrypt,t.privateEncrypt=l.privateEncrypt,t.publicDecrypt=l.publicDecrypt,t.privateDecrypt=l.privateDecrypt;var f=r(535);t.randomFill=f.randomFill,t.randomFillSync=f.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},function(e,t,r){"use strict";var n={};function o(e,t,r){r||(r=Error);var o=function(e){var r,n;function o(r,n,o){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,o))||this}return n=e,(r=o).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,o}(r);o.prototype.name=r.name,o.prototype.code=e,n[e]=o}function i(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}o("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(e,t,r){var n,o,s,a;if("string"==typeof t&&(o="not ",t.substr(!s||s<0?0:+s,o.length)===o)?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))a="The ".concat(e," ").concat(n," ").concat(i(t,"type"));else{var c=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(c," ").concat(n," ").concat(i(t,"type"))}return a+=". Received type ".concat(typeof r)}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=n},function(e,t,r){"use strict";(function(t){var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=u;var o=r(251),i=r(255);r(4)(u,o);for(var s=n(i.prototype),a=0;a>>32-t}function g(e,t,r,n,o,i,s,a){return p(e+(t^r^n)+i+s|0,a)+o|0}function m(e,t,r,n,o,i,s,a){return p(e+(t&r|~t&n)+i+s|0,a)+o|0}function y(e,t,r,n,o,i,s,a){return p(e+((t|~r)^n)+i+s|0,a)+o|0}function b(e,t,r,n,o,i,s,a){return p(e+(t&n|r&~n)+i+s|0,a)+o|0}function v(e,t,r,n,o,i,s,a){return p(e+(t^(r|~n))+i+s|0,a)+o|0}o(h,i),h.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,o=0|this._c,i=0|this._d,h=0|this._e,w=0|this._a,_=0|this._b,k=0|this._c,O=0|this._d,S=0|this._e,E=0;E<80;E+=1){var j,P;E<16?(j=g(r,n,o,i,h,e[a[E]],f[0],u[E]),P=v(w,_,k,O,S,e[c[E]],d[0],l[E])):E<32?(j=m(r,n,o,i,h,e[a[E]],f[1],u[E]),P=b(w,_,k,O,S,e[c[E]],d[1],l[E])):E<48?(j=y(r,n,o,i,h,e[a[E]],f[2],u[E]),P=y(w,_,k,O,S,e[c[E]],d[2],l[E])):E<64?(j=b(r,n,o,i,h,e[a[E]],f[3],u[E]),P=m(w,_,k,O,S,e[c[E]],d[3],l[E])):(j=v(r,n,o,i,h,e[a[E]],f[4],u[E]),P=g(w,_,k,O,S,e[c[E]],d[4],l[E])),r=h,h=i,i=p(o,10),o=n,n=j,w=S,S=O,O=p(k,10),k=_,_=P}var A=this._b+o+O|0;this._b=this._c+i+S|0,this._c=this._d+h+w|0,this._d=this._e+r+_|0,this._e=this._a+n+k|0,this._a=A},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=h},function(e,t,r){(t=e.exports=function(e){e=e.toLowerCase();var r=t[e];if(!r)throw new Error(e+" is not supported (we accept pull requests)");return new r}).sha=r(466),t.sha1=r(467),t.sha224=r(468),t.sha256=r(257),t.sha384=r(469),t.sha512=r(258)},function(e,t,r){var n=r(7).Buffer;function o(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}o.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=n.from(e,t));for(var r=this._block,o=this._blockSize,i=e.length,s=this._len,a=0;a=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,o=(r-n)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var i=this._hash();return e?i.toString(e):i},o.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=o},function(e,t,r){"use strict";var n={};function o(e,t,r){r||(r=Error);var o=function(e){var r,n;function o(r,n,o){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,o))||this}return n=e,(r=o).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,o}(r);o.prototype.name=r.name,o.prototype.code=e,n[e]=o}function i(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}o("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(e,t,r){var n,o,s,a;if("string"==typeof t&&(o="not ",t.substr(!s||s<0?0:+s,o.length)===o)?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))a="The ".concat(e," ").concat(n," ").concat(i(t,"type"));else{var c=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(c," ").concat(n," ").concat(i(t,"type"))}return a+=". Received type ".concat(typeof r)}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=n},function(e,t,r){"use strict";(function(t){var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=u;var o=r(274),i=r(278);r(4)(u,o);for(var s=n(i.prototype),a=0;a>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;a<4&&i+.75*a>>6*(3-a)&63));var c=n.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var i=0;i>>6-s%4*2,u=a|c;n[i>>>2]|=u<<24-i%4*8,i++}return o.create(n,i)}(e,t,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},i.enc.Base64)},function(e,t,r){var n;e.exports=(n=r(9),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,s=t.algo,a=[];!function(){for(var t=0;t<64;t++)a[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=s.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,o=e[n];e[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,s=e[t+0],c=e[t+1],h=e[t+2],p=e[t+3],g=e[t+4],m=e[t+5],y=e[t+6],b=e[t+7],v=e[t+8],w=e[t+9],_=e[t+10],k=e[t+11],O=e[t+12],S=e[t+13],E=e[t+14],j=e[t+15],P=i[0],A=i[1],x=i[2],M=i[3];P=u(P,A,x,M,s,7,a[0]),M=u(M,P,A,x,c,12,a[1]),x=u(x,M,P,A,h,17,a[2]),A=u(A,x,M,P,p,22,a[3]),P=u(P,A,x,M,g,7,a[4]),M=u(M,P,A,x,m,12,a[5]),x=u(x,M,P,A,y,17,a[6]),A=u(A,x,M,P,b,22,a[7]),P=u(P,A,x,M,v,7,a[8]),M=u(M,P,A,x,w,12,a[9]),x=u(x,M,P,A,_,17,a[10]),A=u(A,x,M,P,k,22,a[11]),P=u(P,A,x,M,O,7,a[12]),M=u(M,P,A,x,S,12,a[13]),x=u(x,M,P,A,E,17,a[14]),P=l(P,A=u(A,x,M,P,j,22,a[15]),x,M,c,5,a[16]),M=l(M,P,A,x,y,9,a[17]),x=l(x,M,P,A,k,14,a[18]),A=l(A,x,M,P,s,20,a[19]),P=l(P,A,x,M,m,5,a[20]),M=l(M,P,A,x,_,9,a[21]),x=l(x,M,P,A,j,14,a[22]),A=l(A,x,M,P,g,20,a[23]),P=l(P,A,x,M,w,5,a[24]),M=l(M,P,A,x,E,9,a[25]),x=l(x,M,P,A,p,14,a[26]),A=l(A,x,M,P,v,20,a[27]),P=l(P,A,x,M,S,5,a[28]),M=l(M,P,A,x,h,9,a[29]),x=l(x,M,P,A,b,14,a[30]),P=f(P,A=l(A,x,M,P,O,20,a[31]),x,M,m,4,a[32]),M=f(M,P,A,x,v,11,a[33]),x=f(x,M,P,A,k,16,a[34]),A=f(A,x,M,P,E,23,a[35]),P=f(P,A,x,M,c,4,a[36]),M=f(M,P,A,x,g,11,a[37]),x=f(x,M,P,A,b,16,a[38]),A=f(A,x,M,P,_,23,a[39]),P=f(P,A,x,M,S,4,a[40]),M=f(M,P,A,x,s,11,a[41]),x=f(x,M,P,A,p,16,a[42]),A=f(A,x,M,P,y,23,a[43]),P=f(P,A,x,M,w,4,a[44]),M=f(M,P,A,x,O,11,a[45]),x=f(x,M,P,A,j,16,a[46]),P=d(P,A=f(A,x,M,P,h,23,a[47]),x,M,s,6,a[48]),M=d(M,P,A,x,b,10,a[49]),x=d(x,M,P,A,E,15,a[50]),A=d(A,x,M,P,m,21,a[51]),P=d(P,A,x,M,O,6,a[52]),M=d(M,P,A,x,p,10,a[53]),x=d(x,M,P,A,_,15,a[54]),A=d(A,x,M,P,c,21,a[55]),P=d(P,A,x,M,v,6,a[56]),M=d(M,P,A,x,j,10,a[57]),x=d(x,M,P,A,y,15,a[58]),A=d(A,x,M,P,S,21,a[59]),P=d(P,A,x,M,g,6,a[60]),M=d(M,P,A,x,k,10,a[61]),x=d(x,M,P,A,h,15,a[62]),A=d(A,x,M,P,w,21,a[63]),i[0]=i[0]+P|0,i[1]=i[1]+A|0,i[2]=i[2]+x|0,i[3]=i[3]+M|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;r[o>>>5]|=128<<24-o%32;var i=e.floor(n/4294967296),s=n;r[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),r[14+(o+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),t.sigBytes=4*(r.length+1),this._process();for(var a=this._hash,c=a.words,u=0;u<4;u++){var l=c[u];c[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return a},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,r,n,o,i,s){var a=e+(t&r|~t&n)+o+s;return(a<>>32-i)+t}function l(e,t,r,n,o,i,s){var a=e+(t&n|r&~n)+o+s;return(a<>>32-i)+t}function f(e,t,r,n,o,i,s){var a=e+(t^r^n)+o+s;return(a<>>32-i)+t}function d(e,t,r,n,o,i,s){var a=e+(r^(t|~n))+o+s;return(a<>>32-i)+t}t.MD5=i._createHelper(c),t.HmacMD5=i._createHmacHelper(c)}(Math),n.MD5)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Uint64=t.Uint53=t.Uint32=t.Int53=t.Decimal=void 0;var n=r(627);Object.defineProperty(t,"Decimal",{enumerable:!0,get:function(){return n.Decimal}});var o=r(628);Object.defineProperty(t,"Int53",{enumerable:!0,get:function(){return o.Int53}}),Object.defineProperty(t,"Uint32",{enumerable:!0,get:function(){return o.Uint32}}),Object.defineProperty(t,"Uint53",{enumerable:!0,get:function(){return o.Uint53}}),Object.defineProperty(t,"Uint64",{enumerable:!0,get:function(){return o.Uint64}})},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(338),t),o(r(180),t),o(r(675),t),o(r(339),t)},function(e,t,r){const{MAX_SAFE_COMPONENT_LENGTH:n}=r(131),o=r(132),i=(t=e.exports={}).re=[],s=t.src=[],a=t.t={};let c=0;const u=(e,t,r)=>{const n=c++;o(n,t),a[e]=n,s[n]=t,i[n]=new RegExp(t,r?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${s[a.NUMERICIDENTIFIER]})\\.(${s[a.NUMERICIDENTIFIER]})\\.(${s[a.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${s[a.NUMERICIDENTIFIERLOOSE]})\\.(${s[a.NUMERICIDENTIFIERLOOSE]})\\.(${s[a.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${s[a.NUMERICIDENTIFIER]}|${s[a.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${s[a.NUMERICIDENTIFIERLOOSE]}|${s[a.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${s[a.PRERELEASEIDENTIFIER]}(?:\\.${s[a.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${s[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[a.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${s[a.BUILDIDENTIFIER]}(?:\\.${s[a.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${s[a.MAINVERSION]}${s[a.PRERELEASE]}?${s[a.BUILD]}?`),u("FULL",`^${s[a.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${s[a.MAINVERSIONLOOSE]}${s[a.PRERELEASELOOSE]}?${s[a.BUILD]}?`),u("LOOSE",`^${s[a.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",s[a.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),u("XRANGEIDENTIFIER",s[a.NUMERICIDENTIFIER]+"|x|X|\\*"),u("XRANGEPLAIN",`[v=\\s]*(${s[a.XRANGEIDENTIFIER]})(?:\\.(${s[a.XRANGEIDENTIFIER]})(?:\\.(${s[a.XRANGEIDENTIFIER]})(?:${s[a.PRERELEASE]})?${s[a.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${s[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[a.XRANGEIDENTIFIERLOOSE]})(?:${s[a.PRERELEASELOOSE]})?${s[a.BUILD]}?)?)?`),u("XRANGE",`^${s[a.GTLT]}\\s*${s[a.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${s[a.GTLT]}\\s*${s[a.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),u("COERCERTL",s[a.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${s[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",u("TILDE",`^${s[a.LONETILDE]}${s[a.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${s[a.LONETILDE]}${s[a.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${s[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",u("CARET",`^${s[a.LONECARET]}${s[a.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${s[a.LONECARET]}${s[a.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${s[a.GTLT]}\\s*(${s[a.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${s[a.GTLT]}\\s*(${s[a.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${s[a.GTLT]}\\s*(${s[a.LOOSEPLAIN]}|${s[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${s[a.XRANGEPLAIN]})\\s+-\\s+(${s[a.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${s[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[a.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0.0.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},function(e,t,r){const{MAX_LENGTH:n}=r(131),{re:o,t:i}=r(84),s=r(24),a=r(133);e.exports=(e,t)=>{if(t=a(t),e instanceof s)return e;if("string"!=typeof e)return null;if(e.length>n)return null;if(!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new s(e,t)}catch(e){return null}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));let n=0;const o=[],i=(e,t,r)=>{const i={type:e,id:String(++n),date:new Date};t&&(i.message=t),r&&(i.data=r),function(e){for(let t=0;t(o.push(e),()=>{const t=o.indexOf(e);-1!==t&&(o[t]=o[o.length-1],o.pop())});"undefined"!=typeof window&&(window.__ledgerLogsListen=s)},,function(e,t,r){"use strict";r.d(t,"d",(function(){return i})),r.d(t,"b",(function(){return s})),r.d(t,"a",(function(){return a})),r.d(t,"c",(function(){return c}));var n=r(44);const o=[{vendorId:n.b}];async function i(){return await navigator.usb.requestDevice({filters:o})}async function s(){return(await navigator.usb.getDevices()).filter(e=>e.vendorId===n.b)}async function a(){const e=await s();return e.length>0?e[0]:i()}const c=()=>Promise.resolve(!!navigator&&!!navigator.usb&&"function"==typeof navigator.usb.getDevices)},,,,,,function(e,t,r){"use strict";for(var n="qpzry9x8gf2tvdw0s3jn54khce6mua7l",o={},i=0;i>25;return(33554431&e)<<5^996825010&-(t>>0&1)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function c(e){for(var t=1,r=0;r126)return"Invalid prefix ("+e+")";t=a(t)^n>>5}for(t=a(t),r=0;rt)return"Exceeds length limit";var r=e.toLowerCase(),n=e.toUpperCase();if(e!==r&&e!==n)return"Mixed-case string "+e;var i=(e=r).lastIndexOf("1");if(-1===i)return"No separator character for "+e;if(0===i)return"Missing prefix for "+e;var s=e.slice(0,i),u=e.slice(i+1);if(u.length<6)return"Data too short";var l=c(s);if("string"==typeof l)return l;for(var f=[],d=0;d=u.length||f.push(p)}return 1!==l?"Invalid checksum for "+e:{prefix:s,words:f}}function l(e,t,r,n){for(var o=0,i=0,s=(1<=r;)i-=r,a.push(o>>i&s);if(n)i>0&&a.push(o<=t)return"Excess padding";if(o<r)throw new TypeError("Exceeds length limit");var o=c(e=e.toLowerCase());if("string"==typeof o)throw new Error(o);for(var i=e+"1",s=0;s>5!=0)throw new Error("Non 5-bit word");o=a(o)^u,i+=n.charAt(u)}for(s=0;s<6;++s)o=a(o);for(o^=1,s=0;s<6;++s){i+=n.charAt(o>>5*(5-s)&31)}return i},toWordsUnsafe:function(e){var t=l(e,8,5,!0);if(Array.isArray(t))return t},toWords:function(e){var t=l(e,8,5,!0);if(Array.isArray(t))return t;throw new Error(t)},fromWordsUnsafe:function(e){var t=l(e,5,8,!1);if(Array.isArray(t))return t},fromWords:function(e){var t=l(e,5,8,!1);if(Array.isArray(t))return t;throw new Error(t)}}},function(e,t,r){(function(e){function r(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===r(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===r(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===r(e)},t.isError=function(e){return"[object Error]"===r(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,r(2).Buffer)},function(e,t,r){"use strict";var n=r(49),o=r(32);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=i,i.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var o=0;o>>24&255,n[o++]=e>>>16&255,n[o++]=e>>>8&255,n[o++]=255&e}else for(n[o++]=255&e,n[o++]=e>>>8&255,n[o++]=e>>>16&255,n[o++]=e>>>24&255,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,i=8;i{r[t]=i(e[t])}),r}function s(e){return JSON.stringify(i(e))}t.sortedJsonStringify=s,t.makeSignDoc=function(e,t,r,n,i,s){return{chain_id:r,account_number:o.Uint53.fromString(i.toString()).toString(),sequence:o.Uint53.fromString(s.toString()).toString(),fee:t,msgs:e,memo:n||""}},t.serializeSignDoc=function(e){return n.toUtf8(s(e))}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(351),t),o(r(352),t),o(r(192),t)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(349),t),o(r(191),t),o(r(718),t),o(r(190),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(42),{fromBase64:o,fromHex:i}=n.Encoding;t.isStdTx=function(e){const{memo:t,msg:r,fee:n,signatures:o}=e;return"string"==typeof t&&Array.isArray(r)&&"object"==typeof n&&Array.isArray(o)},t.isMsgSend=function(e){return"cosmos-sdk/MsgSend"===e.type},t.isMsgStoreCode=function(e){return"wasm/MsgStoreCode"===e.type},t.isMsgInstantiateContract=function(e){return"wasm/MsgInstantiateContract"===e.type},t.isMsgExecuteContract=function(e){return"wasm/MsgExecuteContract"===e.type},t.extractContractMsg=function(e){return"wasm/MsgExecuteContract"===e.type?n.Encoding.fromBase64(e.value.msg):n.Encoding.fromBase64(e.value.init_msg)},t.pubkeyType={secp256k1:"tendermint/PubKeySecp256k1",ed25519:"tendermint/PubKeyEd25519",sr25519:"tendermint/PubKeySr25519"},t.pubkeyTypes=[t.pubkeyType.secp256k1,t.pubkeyType.ed25519,t.pubkeyType.sr25519],t.parseWasmData=function({key:e,val:t}){return{key:i(e),val:o(t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(738);t.Bip39=n.Bip39;var o=r(364);t.EnglishMnemonic=o.EnglishMnemonic;var i=r(365);t.Hmac=i.Hmac;var s=r(754);t.Keccak256=s.Keccak256;var a=r(755);t.Xchacha20poly1305Ietf=a.Xchacha20poly1305Ietf,t.Argon2id=a.Argon2id,t.Ed25519=a.Ed25519,t.Ed25519Keypair=a.Ed25519Keypair;var c=r(756);t.Random=c.Random;var u=r(757);t.Ripemd160=u.Ripemd160;var l=r(758);t.Secp256k1=l.Secp256k1;var f=r(366);t.ExtendedSecp256k1Signature=f.ExtendedSecp256k1Signature,t.Secp256k1Signature=f.Secp256k1Signature;var d=r(367);t.Sha1=d.Sha1,t.Sha256=d.Sha256,t.Sha512=d.Sha512;var h=r(759);t.Slip10=h.Slip10,t.Slip10Curve=h.Slip10Curve,t.Slip10RawIndex=h.Slip10RawIndex,t.slip10CurveFromString=h.slip10CurveFromString},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(199),o=r(200);class i{constructor(){this.data=new Uint8Array(i.SIZE)}clear(){o.wipe(this.data)}clone(){const e=new i;return e.copy(this),e}copy(e){this.data.set(e.data)}dbl(){let e=0;for(let t=i.SIZE-1;t>=0;t--){const r=this.data[t]>>>7&255;this.data[t]=this.data[t]<<1|e,e=r}this.data[i.SIZE-1]^=n.select(e,i.R,0),e=0}}i.SIZE=16,i.R=135,t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSONUint8Array=void 0;const n=r(2);class o{static parse(e){return JSON.parse(e,(e,t)=>t&&"string"==typeof t&&t.startsWith("__uint8array__")?new Uint8Array(n.Buffer.from(t.replace("__uint8array__",""),"hex")):t)}static stringify(e){return JSON.stringify(e,(e,t)=>t&&(t instanceof Uint8Array||"object"==typeof t&&"type"in t&&"data"in t&&"Buffer"===t.type&&Array.isArray(t.data))?"__uint8array__"+n.Buffer.from(t).toString("hex"):t)}static wrap(e){if(void 0!==e)return JSON.parse(o.stringify(e))}static unwrap(e){if(void 0!==e)return o.parse(JSON.stringify(e))}}t.JSONUint8Array=o},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(547),t),o(r(567),t),o(r(592),t)},,,,function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Dec=void 0;const o=n(r(233)),i=r(116);class s{constructor(e,t=0){if("string"==typeof e){if(0===e.length)throw new Error("empty string");if(!/^(-?\d+\.\d+)$|^(-?\d+)$/.test(e))throw new Error("invalid decimal: "+e);e.indexOf(".")>=0&&(t=e.length-e.indexOf(".")-1,e=e.replace(".","")),this.int=o.default(e)}else"number"==typeof e?this.int=o.default(e):e instanceof i.Int?this.int=o.default(e.toString()):this.int=o.default(e);this.int=this.int.multiply(s.calcPrecisionMultiplier(o.default(t)))}static calcPrecisionMultiplier(e){if(e.lt(o.default(0)))throw new Error("Invalid prec");if(e.gt(s.precision))throw new Error("Too much precision");if(s.precisionMultipliers[e.toString()])return s.precisionMultipliers[e.toString()];const t=s.precision.minus(e),r=o.default(10).pow(t);return s.precisionMultipliers[e.toString()]=r,r}isZero(){return this.int.eq(o.default(0))}isNegative(){return this.int.isNegative()}isPositive(){return this.int.isPositive()}equals(e){return this.int.eq(e.int)}gt(e){return this.int.gt(e.int)}gte(e){return this.int.geq(e.int)}lt(e){return this.int.lt(e.int)}lte(e){return this.int.leq(e.int)}neg(){return new s(this.int.negate(),s.precision.toJSNumber())}abs(){return new s(this.int.abs(),s.precision.toJSNumber())}add(e){return new s(this.int.add(e.int),s.precision.toJSNumber())}sub(e){return new s(this.int.subtract(e.int),s.precision.toJSNumber())}mul(e){return new s(this.mulRaw(e).chopPrecisionAndRound(),s.precision.toJSNumber())}mulTruncate(e){return new s(this.mulRaw(e).chopPrecisionAndTruncate(),s.precision.toJSNumber())}mulRaw(e){return new s(this.int.multiply(e.int),s.precision.toJSNumber())}quo(e){return new s(this.quoRaw(e).chopPrecisionAndRound(),s.precision.toJSNumber())}quoTruncate(e){return new s(this.quoRaw(e).chopPrecisionAndTruncate(),s.precision.toJSNumber())}quoRoundUp(e){return new s(this.quoRaw(e).chopPrecisionAndRoundUp(),s.precision.toJSNumber())}quoRaw(e){const t=s.calcPrecisionMultiplier(o.default(0)),r=this.int.multiply(t).multiply(t);return new s(r.divide(e.int),s.precision.toJSNumber())}isInteger(){const e=s.calcPrecisionMultiplier(o.default(0));return this.int.remainder(e).equals(o.default(0))}chopPrecisionAndRound(){if(this.isNegative()){return this.abs().chopPrecisionAndRound().negate()}const e=s.calcPrecisionMultiplier(o.default(0)),t=e.divide(o.default(2)),{quotient:r,remainder:n}=this.int.divmod(e);return n.equals(o.default(0))||n.lt(t)?r:n.gt(t)?r.add(o.default(1)):r.divide(o.default(2)).equals(o.default(0))?r:r.add(o.default(1))}chopPrecisionAndRoundUp(){if(this.isNegative()){return this.abs().chopPrecisionAndTruncate().negate()}const e=s.calcPrecisionMultiplier(o.default(0)),{quotient:t,remainder:r}=this.int.divmod(e);return r.equals(o.default(0))?t:t.add(o.default(1))}chopPrecisionAndTruncate(){const e=s.calcPrecisionMultiplier(o.default(0));return this.int.divide(e)}toString(e=s.precision.toJSNumber(),t=!1){const r=s.calcPrecisionMultiplier(o.default(0)),n=this.int.abs(),{quotient:i,remainder:a}=n.divmod(r);let c=a.toString(10);for(let e=0,t=c.length;e0?"."+c:""}`}round(){return new i.Int(this.chopPrecisionAndRound())}roundUp(){return new i.Int(this.chopPrecisionAndRoundUp())}truncate(){return new i.Int(this.chopPrecisionAndTruncate())}}t.Dec=s,s.precision=o.default(18),s.precisionMultipliers={}},function(e,t){e.exports=n;var r=null;try{r=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(e){}function n(e,t,r){this.low=0|e,this.high=0|t,this.unsigned=!!r}function o(e){return!0===(e&&e.__isLong__)}n.prototype.__isLong__,Object.defineProperty(n.prototype,"__isLong__",{value:!0}),n.isLong=o;var i={},s={};function a(e,t){var r,n,o;return t?(o=0<=(e>>>=0)&&e<256)&&(n=s[e])?n:(r=u(e,(0|e)<0?-1:0,!0),o&&(s[e]=r),r):(o=-128<=(e|=0)&&e<128)&&(n=i[e])?n:(r=u(e,e<0?-1:0,!1),o&&(i[e]=r),r)}function c(e,t){if(isNaN(e))return t?b:y;if(t){if(e<0)return b;if(e>=p)return O}else{if(e<=-g)return S;if(e+1>=g)return k}return e<0?c(-e,t).neg():u(e%h|0,e/h|0,t)}function u(e,t,r){return new n(e,t,r)}n.fromInt=a,n.fromNumber=c,n.fromBits=u;var l=Math.pow;function f(e,t,r){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return y;if("number"==typeof t?(r=t,t=!1):t=!!t,(r=r||10)<2||360)throw Error("interior hyphen");if(0===n)return f(e.substring(1),t,r).neg();for(var o=c(l(r,8)),i=y,s=0;s>>0:this.low},E.toNumber=function(){return this.unsigned?(this.high>>>0)*h+(this.low>>>0):this.high*h+(this.low>>>0)},E.toString=function(e){if((e=e||10)<2||36>>0).toString(e);if((i=a).isZero())return u+s;for(;u.length<6;)u="0"+u;s=""+u+s}},E.getHighBits=function(){return this.high},E.getHighBitsUnsigned=function(){return this.high>>>0},E.getLowBits=function(){return this.low},E.getLowBitsUnsigned=function(){return this.low>>>0},E.getNumBitsAbs=function(){if(this.isNegative())return this.eq(S)?64:this.neg().getNumBitsAbs();for(var e=0!=this.high?this.high:this.low,t=31;t>0&&0==(e&1<=0},E.isOdd=function(){return 1==(1&this.low)},E.isEven=function(){return 0==(1&this.low)},E.equals=function(e){return o(e)||(e=d(e)),(this.unsigned===e.unsigned||this.high>>>31!=1||e.high>>>31!=1)&&(this.high===e.high&&this.low===e.low)},E.eq=E.equals,E.notEquals=function(e){return!this.eq(e)},E.neq=E.notEquals,E.ne=E.notEquals,E.lessThan=function(e){return this.comp(e)<0},E.lt=E.lessThan,E.lessThanOrEqual=function(e){return this.comp(e)<=0},E.lte=E.lessThanOrEqual,E.le=E.lessThanOrEqual,E.greaterThan=function(e){return this.comp(e)>0},E.gt=E.greaterThan,E.greaterThanOrEqual=function(e){return this.comp(e)>=0},E.gte=E.greaterThanOrEqual,E.ge=E.greaterThanOrEqual,E.compare=function(e){if(o(e)||(e=d(e)),this.eq(e))return 0;var t=this.isNegative(),r=e.isNegative();return t&&!r?-1:!t&&r?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1},E.comp=E.compare,E.negate=function(){return!this.unsigned&&this.eq(S)?S:this.not().add(v)},E.neg=E.negate,E.add=function(e){o(e)||(e=d(e));var t=this.high>>>16,r=65535&this.high,n=this.low>>>16,i=65535&this.low,s=e.high>>>16,a=65535&e.high,c=e.low>>>16,l=0,f=0,h=0,p=0;return h+=(p+=i+(65535&e.low))>>>16,f+=(h+=n+c)>>>16,l+=(f+=r+a)>>>16,l+=t+s,u((h&=65535)<<16|(p&=65535),(l&=65535)<<16|(f&=65535),this.unsigned)},E.subtract=function(e){return o(e)||(e=d(e)),this.add(e.neg())},E.sub=E.subtract,E.multiply=function(e){if(this.isZero())return y;if(o(e)||(e=d(e)),r)return u(r.mul(this.low,this.high,e.low,e.high),r.get_high(),this.unsigned);if(e.isZero())return y;if(this.eq(S))return e.isOdd()?S:y;if(e.eq(S))return this.isOdd()?S:y;if(this.isNegative())return e.isNegative()?this.neg().mul(e.neg()):this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(m)&&e.lt(m))return c(this.toNumber()*e.toNumber(),this.unsigned);var t=this.high>>>16,n=65535&this.high,i=this.low>>>16,s=65535&this.low,a=e.high>>>16,l=65535&e.high,f=e.low>>>16,h=65535&e.low,p=0,g=0,b=0,v=0;return b+=(v+=s*h)>>>16,g+=(b+=i*h)>>>16,b&=65535,g+=(b+=s*f)>>>16,p+=(g+=n*h)>>>16,g&=65535,p+=(g+=i*f)>>>16,g&=65535,p+=(g+=s*l)>>>16,p+=t*h+n*f+i*l+s*a,u((b&=65535)<<16|(v&=65535),(p&=65535)<<16|(g&=65535),this.unsigned)},E.mul=E.multiply,E.divide=function(e){if(o(e)||(e=d(e)),e.isZero())throw Error("division by zero");var t,n,i;if(r)return this.unsigned||-2147483648!==this.high||-1!==e.low||-1!==e.high?u((this.unsigned?r.div_u:r.div_s)(this.low,this.high,e.low,e.high),r.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?b:y;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return b;if(e.gt(this.shru(1)))return w;i=b}else{if(this.eq(S))return e.eq(v)||e.eq(_)?S:e.eq(S)?v:(t=this.shr(1).div(e).shl(1)).eq(y)?e.isNegative()?v:_:(n=this.sub(e.mul(t)),i=t.add(n.div(e)));if(e.eq(S))return this.unsigned?b:y;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();i=y}for(n=this;n.gte(e);){t=Math.max(1,Math.floor(n.toNumber()/e.toNumber()));for(var s=Math.ceil(Math.log(t)/Math.LN2),a=s<=48?1:l(2,s-48),f=c(t),h=f.mul(e);h.isNegative()||h.gt(n);)h=(f=c(t-=a,this.unsigned)).mul(e);f.isZero()&&(f=v),i=i.add(f),n=n.sub(h)}return i},E.div=E.divide,E.modulo=function(e){return o(e)||(e=d(e)),r?u((this.unsigned?r.rem_u:r.rem_s)(this.low,this.high,e.low,e.high),r.get_high(),this.unsigned):this.sub(this.div(e).mul(e))},E.mod=E.modulo,E.rem=E.modulo,E.not=function(){return u(~this.low,~this.high,this.unsigned)},E.and=function(e){return o(e)||(e=d(e)),u(this.low&e.low,this.high&e.high,this.unsigned)},E.or=function(e){return o(e)||(e=d(e)),u(this.low|e.low,this.high|e.high,this.unsigned)},E.xor=function(e){return o(e)||(e=d(e)),u(this.low^e.low,this.high^e.high,this.unsigned)},E.shiftLeft=function(e){return o(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?u(this.low<>>32-e,this.unsigned):u(0,this.low<>>e|this.high<<32-e,this.high>>e,this.unsigned):u(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},E.shr=E.shiftRight,E.shiftRightUnsigned=function(e){if(o(e)&&(e=e.toInt()),0===(e&=63))return this;var t=this.high;return e<32?u(this.low>>>e|t<<32-e,t>>>e,this.unsigned):u(32===e?t:t>>>e-32,0,this.unsigned)},E.shru=E.shiftRightUnsigned,E.shr_u=E.shiftRightUnsigned,E.toSigned=function(){return this.unsigned?u(this.low,this.high,!1):this},E.toUnsigned=function(){return this.unsigned?this:u(this.low,this.high,!0)},E.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},E.toBytesLE=function(){var e=this.high,t=this.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&e,e>>>8&255,e>>>16&255,e>>>24]},E.toBytesBE=function(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,255&e,t>>>24,t>>>16&255,t>>>8&255,255&t]},n.fromBytes=function(e,t,r){return r?n.fromBytesLE(e,t):n.fromBytesBE(e,t)},n.fromBytesLE=function(e,t){return new n(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)},n.fromBytesBE=function(e,t){return new n(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Secp256k1Wallet=t.Secp256k1HdWallet=t.extractKdfConfiguration=t.executeKdf=t.pubkeyType=t.makeStdTx=t.isWrappedStdTx=t.isStdTx=t.SigningCosmosClient=t.decodeSignature=t.encodeSecp256k1Signature=t.findSequenceForSignedTx=t.encodeSecp256k1Pubkey=t.encodeBech32Pubkey=t.encodeAminoPubkey=t.decodeBech32Pubkey=t.decodeAminoPubkey=t.makeCosmoshubPath=t.isMsgWithdrawValidatorCommission=t.isMsgWithdrawDelegatorReward=t.isMsgUndelegate=t.isMsgSetWithdrawAddress=t.isMsgSend=t.isMsgMultiSend=t.isMsgFundCommunityPool=t.isMsgEditValidator=t.isMsgDelegate=t.isMsgCreateValidator=t.isMsgBeginRedelegate=t.uint64ToString=t.uint64ToNumber=t.setupSupplyExtension=t.setupStakingExtension=t.setupSlashingExtension=t.setupMintExtension=t.setupGovExtension=t.setupDistributionExtension=t.setupBankExtension=t.setupAuthExtension=t.normalizePubkey=t.normalizeLcdApiArray=t.LcdClient=t.BroadcastMode=t.GasPrice=t.buildFeeTable=t.serializeSignDoc=t.makeSignDoc=t.isSearchByTagsQuery=t.isSearchBySentFromOrToQuery=t.isSearchByHeightQuery=t.isBroadcastTxSuccess=t.isBroadcastTxFailure=t.CosmosClient=t.assertIsBroadcastTxSuccess=t.parseCoins=t.coins=t.coin=t.rawSecp256k1PubkeyToAddress=t.pubkeyToAddress=t.logs=void 0;const s=i(r(310));t.logs=s;var a=r(173);Object.defineProperty(t,"pubkeyToAddress",{enumerable:!0,get:function(){return a.pubkeyToAddress}}),Object.defineProperty(t,"rawSecp256k1PubkeyToAddress",{enumerable:!0,get:function(){return a.rawSecp256k1PubkeyToAddress}});var c=r(317);Object.defineProperty(t,"coin",{enumerable:!0,get:function(){return c.coin}}),Object.defineProperty(t,"coins",{enumerable:!0,get:function(){return c.coins}}),Object.defineProperty(t,"parseCoins",{enumerable:!0,get:function(){return c.parseCoins}});var u=r(318);Object.defineProperty(t,"assertIsBroadcastTxSuccess",{enumerable:!0,get:function(){return u.assertIsBroadcastTxSuccess}}),Object.defineProperty(t,"CosmosClient",{enumerable:!0,get:function(){return u.CosmosClient}}),Object.defineProperty(t,"isBroadcastTxFailure",{enumerable:!0,get:function(){return u.isBroadcastTxFailure}}),Object.defineProperty(t,"isBroadcastTxSuccess",{enumerable:!0,get:function(){return u.isBroadcastTxSuccess}}),Object.defineProperty(t,"isSearchByHeightQuery",{enumerable:!0,get:function(){return u.isSearchByHeightQuery}}),Object.defineProperty(t,"isSearchBySentFromOrToQuery",{enumerable:!0,get:function(){return u.isSearchBySentFromOrToQuery}}),Object.defineProperty(t,"isSearchByTagsQuery",{enumerable:!0,get:function(){return u.isSearchByTagsQuery}});var l=r(101);Object.defineProperty(t,"makeSignDoc",{enumerable:!0,get:function(){return l.makeSignDoc}}),Object.defineProperty(t,"serializeSignDoc",{enumerable:!0,get:function(){return l.serializeSignDoc}});var f=r(320);Object.defineProperty(t,"buildFeeTable",{enumerable:!0,get:function(){return f.buildFeeTable}}),Object.defineProperty(t,"GasPrice",{enumerable:!0,get:function(){return f.GasPrice}});var d=r(174);Object.defineProperty(t,"BroadcastMode",{enumerable:!0,get:function(){return d.BroadcastMode}}),Object.defineProperty(t,"LcdClient",{enumerable:!0,get:function(){return d.LcdClient}}),Object.defineProperty(t,"normalizeLcdApiArray",{enumerable:!0,get:function(){return d.normalizeLcdApiArray}}),Object.defineProperty(t,"normalizePubkey",{enumerable:!0,get:function(){return d.normalizePubkey}}),Object.defineProperty(t,"setupAuthExtension",{enumerable:!0,get:function(){return d.setupAuthExtension}}),Object.defineProperty(t,"setupBankExtension",{enumerable:!0,get:function(){return d.setupBankExtension}}),Object.defineProperty(t,"setupDistributionExtension",{enumerable:!0,get:function(){return d.setupDistributionExtension}}),Object.defineProperty(t,"setupGovExtension",{enumerable:!0,get:function(){return d.setupGovExtension}}),Object.defineProperty(t,"setupMintExtension",{enumerable:!0,get:function(){return d.setupMintExtension}}),Object.defineProperty(t,"setupSlashingExtension",{enumerable:!0,get:function(){return d.setupSlashingExtension}}),Object.defineProperty(t,"setupStakingExtension",{enumerable:!0,get:function(){return d.setupStakingExtension}}),Object.defineProperty(t,"setupSupplyExtension",{enumerable:!0,get:function(){return d.setupSupplyExtension}}),Object.defineProperty(t,"uint64ToNumber",{enumerable:!0,get:function(){return d.uint64ToNumber}}),Object.defineProperty(t,"uint64ToString",{enumerable:!0,get:function(){return d.uint64ToString}});var h=r(639);Object.defineProperty(t,"isMsgBeginRedelegate",{enumerable:!0,get:function(){return h.isMsgBeginRedelegate}}),Object.defineProperty(t,"isMsgCreateValidator",{enumerable:!0,get:function(){return h.isMsgCreateValidator}}),Object.defineProperty(t,"isMsgDelegate",{enumerable:!0,get:function(){return h.isMsgDelegate}}),Object.defineProperty(t,"isMsgEditValidator",{enumerable:!0,get:function(){return h.isMsgEditValidator}}),Object.defineProperty(t,"isMsgFundCommunityPool",{enumerable:!0,get:function(){return h.isMsgFundCommunityPool}}),Object.defineProperty(t,"isMsgMultiSend",{enumerable:!0,get:function(){return h.isMsgMultiSend}}),Object.defineProperty(t,"isMsgSend",{enumerable:!0,get:function(){return h.isMsgSend}}),Object.defineProperty(t,"isMsgSetWithdrawAddress",{enumerable:!0,get:function(){return h.isMsgSetWithdrawAddress}}),Object.defineProperty(t,"isMsgUndelegate",{enumerable:!0,get:function(){return h.isMsgUndelegate}}),Object.defineProperty(t,"isMsgWithdrawDelegatorReward",{enumerable:!0,get:function(){return h.isMsgWithdrawDelegatorReward}}),Object.defineProperty(t,"isMsgWithdrawValidatorCommission",{enumerable:!0,get:function(){return h.isMsgWithdrawValidatorCommission}});var p=r(321);Object.defineProperty(t,"makeCosmoshubPath",{enumerable:!0,get:function(){return p.makeCosmoshubPath}});var g=r(175);Object.defineProperty(t,"decodeAminoPubkey",{enumerable:!0,get:function(){return g.decodeAminoPubkey}}),Object.defineProperty(t,"decodeBech32Pubkey",{enumerable:!0,get:function(){return g.decodeBech32Pubkey}}),Object.defineProperty(t,"encodeAminoPubkey",{enumerable:!0,get:function(){return g.encodeAminoPubkey}}),Object.defineProperty(t,"encodeBech32Pubkey",{enumerable:!0,get:function(){return g.encodeBech32Pubkey}}),Object.defineProperty(t,"encodeSecp256k1Pubkey",{enumerable:!0,get:function(){return g.encodeSecp256k1Pubkey}});var m=r(640);Object.defineProperty(t,"findSequenceForSignedTx",{enumerable:!0,get:function(){return m.findSequenceForSignedTx}});var y=r(127);Object.defineProperty(t,"encodeSecp256k1Signature",{enumerable:!0,get:function(){return y.encodeSecp256k1Signature}}),Object.defineProperty(t,"decodeSignature",{enumerable:!0,get:function(){return y.decodeSignature}});var b=r(641);Object.defineProperty(t,"SigningCosmosClient",{enumerable:!0,get:function(){return b.SigningCosmosClient}});var v=r(322);Object.defineProperty(t,"isStdTx",{enumerable:!0,get:function(){return v.isStdTx}}),Object.defineProperty(t,"isWrappedStdTx",{enumerable:!0,get:function(){return v.isWrappedStdTx}}),Object.defineProperty(t,"makeStdTx",{enumerable:!0,get:function(){return v.makeStdTx}});var w=r(126);Object.defineProperty(t,"pubkeyType",{enumerable:!0,get:function(){return w.pubkeyType}});var _=r(323);Object.defineProperty(t,"executeKdf",{enumerable:!0,get:function(){return _.executeKdf}});var k=r(643);Object.defineProperty(t,"extractKdfConfiguration",{enumerable:!0,get:function(){return k.extractKdfConfiguration}}),Object.defineProperty(t,"Secp256k1HdWallet",{enumerable:!0,get:function(){return k.Secp256k1HdWallet}});var O=r(644);Object.defineProperty(t,"Secp256k1Wallet",{enumerable:!0,get:function(){return O.Secp256k1Wallet}})},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Uint=t.Int=void 0;const o=n(r(233));class i{constructor(e,t,r,n){this.int="string"==typeof e?o.default(e,t,r,n):o.default(e)}toString(){return this.int.toString(10)}equals(e){return this.int.equals(e.int)}gt(e){return this.int.gt(e.int)}gte(e){return this.int.greaterOrEquals(e.int)}lt(e){return this.int.lt(e.int)}lte(e){return this.int.lesserOrEquals(e.int)}add(e){return new i(this.int.add(e.int))}sub(e){return new i(this.int.subtract(e.int))}mul(e){return new i(this.int.multiply(e.int))}div(e){return new i(this.int.divide(e.int))}mod(e){return new i(this.int.mod(e.int))}neg(){return new i(this.int.negate())}}t.Int=i;class s{constructor(e,t,r,n){if(this.uint="string"==typeof e?o.default(e,t,r,n):o.default(e),this.uint.isNegative())throw new TypeError("Uint should not be negative")}toString(){return this.uint.toString(10)}equals(e){return this.uint.equals(e.uint)}gt(e){return this.uint.gt(e.uint)}gte(e){return this.uint.greaterOrEquals(e.uint)}lt(e){return this.uint.lt(e.uint)}lte(e){return this.uint.lesserOrEquals(e.uint)}add(e){return new s(this.uint.add(e.uint))}sub(e){return new s(this.uint.subtract(e.uint))}mul(e){return new s(this.uint.multiply(e.uint))}div(e){return new s(this.uint.divide(e.uint))}mod(e){return new s(this.uint.mod(e.uint))}}t.Uint=s},function(e,t,r){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,n=u(e),s=n[0],a=n[1],c=new i(function(e,t,r){return 3*(t+r)/4-r}(0,s,a)),l=0,f=a>0?s-4:s;for(r=0;r>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===a&&(t=o[e.charCodeAt(r)]<<2|o[e.charCodeAt(r+1)]>>4,c[l++]=255&t);1===a&&(t=o[e.charCodeAt(r)]<<10|o[e.charCodeAt(r+1)]<<4|o[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],s=0,a=r-o;sa?a:s+16383));1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")};for(var n=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=s.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,r){for(var o,i,s=[],a=t;a>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return s.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=i(r(113)),a=i(r(48));a.default.util.Long=s.default,a.default.configure(),o(r(442),t)},function(e,t,r){"use strict";(function(t){void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,r,n,o){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,s,a=arguments.length;switch(a){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,r)}));case 3:return t.nextTick((function(){e.call(null,r,n)}));case 4:return t.nextTick((function(){e.call(null,r,n,o)}));default:for(i=new Array(a-1),s=0;sr)?t=("rmd160"===e?new c:u(e)).update(t).digest():t.length>>24]^l[p>>>16&255]^f[g>>>8&255]^d[255&m]^t[y++],s=u[p>>>24]^l[g>>>16&255]^f[m>>>8&255]^d[255&h]^t[y++],a=u[g>>>24]^l[m>>>16&255]^f[h>>>8&255]^d[255&p]^t[y++],c=u[m>>>24]^l[h>>>16&255]^f[p>>>8&255]^d[255&g]^t[y++],h=i,p=s,g=a,m=c;return i=(n[h>>>24]<<24|n[p>>>16&255]<<16|n[g>>>8&255]<<8|n[255&m])^t[y++],s=(n[p>>>24]<<24|n[g>>>16&255]<<16|n[m>>>8&255]<<8|n[255&h])^t[y++],a=(n[g>>>24]<<24|n[m>>>16&255]<<16|n[h>>>8&255]<<8|n[255&p])^t[y++],c=(n[m>>>24]<<24|n[h>>>16&255]<<16|n[p>>>8&255]<<8|n[255&g])^t[y++],[i>>>=0,s>>>=0,a>>>=0,c>>>=0]}var a=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],o=[[],[],[],[]],i=[[],[],[],[]],s=0,a=0,c=0;c<256;++c){var u=a^a<<1^a<<2^a<<3^a<<4;u=u>>>8^255&u^99,r[s]=u,n[u]=s;var l=e[s],f=e[l],d=e[f],h=257*e[u]^16843008*u;o[0][s]=h<<24|h>>>8,o[1][s]=h<<16|h>>>16,o[2][s]=h<<8|h>>>24,o[3][s]=h,h=16843009*d^65537*f^257*l^16843008*s,i[0][u]=h<<24|h>>>8,i[1][u]=h<<16|h>>>16,i[2][u]=h<<8|h>>>24,i[3][u]=h,0===s?s=a=1:(s=l^e[e[e[d^l]]],a^=e[e[a]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:o,INV_SUB_MIX:i}}();function u(e){this._key=o(e),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),o=[],i=0;i>>24,s=c.SBOX[s>>>24]<<24|c.SBOX[s>>>16&255]<<16|c.SBOX[s>>>8&255]<<8|c.SBOX[255&s],s^=a[i/t|0]<<24):t>6&&i%t==4&&(s=c.SBOX[s>>>24]<<24|c.SBOX[s>>>16&255]<<16|c.SBOX[s>>>8&255]<<8|c.SBOX[255&s]),o[i]=o[i-t]^s}for(var u=[],l=0;l>>24]]^c.INV_SUB_MIX[1][c.SBOX[d>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[d>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&d]]}this._nRounds=r,this._keySchedule=o,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(e){return s(e=o(e),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},u.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=n.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},u.prototype.decryptBlock=function(e){var t=(e=o(e))[1];e[1]=e[3],e[3]=t;var r=s(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),i=n.allocUnsafe(16);return i.writeUInt32BE(r[0],0),i.writeUInt32BE(r[3],4),i.writeUInt32BE(r[2],8),i.writeUInt32BE(r[1],12),i},u.prototype.scrub=function(){i(this._keySchedule),i(this._invKeySchedule),i(this._key)},e.exports.AES=u},function(e,t,r){var n=r(7).Buffer,o=r(156);e.exports=function(e,t,r,i){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var s=r/8,a=n.alloc(s),c=n.alloc(i||0),u=n.alloc(0);s>0||i>0;){var l=new o;l.update(u),l.update(e),t&&l.update(t),u=l.digest();var f=0;if(s>0){var d=a.length-s;f=Math.min(s,u.length),u.copy(a,d,0,f),s-=f}if(f0){var h=c.length-i,p=Math.min(i,u.length-f);u.copy(c,h,f,f+p),i-=p}}return u.fill(0),{key:a,iv:c}}},function(e,t,r){"use strict";var n=r(6),o=r(33),i=o.getNAF,s=o.getJSF,a=o.assert;function c(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){a(e.precomputed);var r=e._getDoubles(),n=i(t,1,this._bitLength),o=(1<=c;t--)u=(u<<1)+n[t];s.push(u)}for(var l=this.jpoint(null,null,null),f=this.jpoint(null,null,null),d=o;d>0;d--){for(c=0;c=0;u--){for(t=0;u>=0&&0===s[u];u--)t++;if(u>=0&&t++,c=c.dblp(t),u<0)break;var l=s[u];a(0!==l),c="affine"===e.type?l>0?c.mixedAdd(o[l-1>>1]):c.mixedAdd(o[-l-1>>1].neg()):l>0?c.add(o[l-1>>1]):c.add(o[-l-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,r,n,o){for(var a=this._wnafT1,c=this._wnafT2,u=this._wnafT3,l=0,f=0;f=1;f-=2){var h=f-1,p=f;if(1===a[h]&&1===a[p]){var g=[t[h],null,null,t[p]];0===t[h].y.cmp(t[p].y)?(g[1]=t[h].add(t[p]),g[2]=t[h].toJ().mixedAdd(t[p].neg())):0===t[h].y.cmp(t[p].y.redNeg())?(g[1]=t[h].toJ().mixedAdd(t[p]),g[2]=t[h].add(t[p].neg())):(g[1]=t[h].toJ().mixedAdd(t[p]),g[2]=t[h].toJ().mixedAdd(t[p].neg()));var m=[-3,-1,-5,-7,0,7,5,1,3],y=s(r[h],r[p]);l=Math.max(y[0].length,l),u[h]=new Array(l),u[p]=new Array(l);for(var b=0;b=0;f--){for(var O=0;f>=0;){var S=!0;for(b=0;b=0&&O++,_=_.dblp(O),f<0)break;for(b=0;b0?E=c[b][j-1>>1]:j<0&&(E=c[b][-j-1>>1].neg()),_="affine"===E.type?_.mixedAdd(E):_.add(E))}}for(f=0;f=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,o=0;oconsole.error("SEMVER",...e):()=>{};e.exports=r}).call(this,r(13))},function(e,t){const r=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{}},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>n(e,t,r)>0},function(e,t,r){const n=Symbol("SemVer ANY");class o{static get ANY(){return n}constructor(e,t){if(t=i(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}u("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(e){const t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new l(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new f(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new f(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),n=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=c(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),u=c(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||n||i&&s||a||u}}e.exports=o;const i=r(133),{re:s,t:a}=r(84),c=r(347),u=r(132),l=r(24),f=r(41)},function(e,t,r){const n=r(41);e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DecProto=t.IntProto=t.DecCoin=t.Coin=t.protobufPackage=void 0;const o=n(r(48));t.protobufPackage="cosmos.base.v1beta1";const i={denom:"",amount:""};t.Coin={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).string(e.denom),t.uint32(18).string(e.amount),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},i);for(;r.pos>>3){case 1:s.denom=r.string();break;case 2:s.amount=r.string();break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},i);return void 0!==e.denom&&null!==e.denom?t.denom=String(e.denom):t.denom="",void 0!==e.amount&&null!==e.amount?t.amount=String(e.amount):t.amount="",t},fromPartial(e){const t=Object.assign({},i);return void 0!==e.denom&&null!==e.denom?t.denom=e.denom:t.denom="",void 0!==e.amount&&null!==e.amount?t.amount=e.amount:t.amount="",t},toJSON(e){const t={};return void 0!==e.denom&&(t.denom=e.denom),void 0!==e.amount&&(t.amount=e.amount),t}};const s={denom:"",amount:""};t.DecCoin={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).string(e.denom),t.uint32(18).string(e.amount),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const i=Object.assign({},s);for(;r.pos>>3){case 1:i.denom=r.string();break;case 2:i.amount=r.string();break;default:r.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},s);return void 0!==e.denom&&null!==e.denom?t.denom=String(e.denom):t.denom="",void 0!==e.amount&&null!==e.amount?t.amount=String(e.amount):t.amount="",t},fromPartial(e){const t=Object.assign({},s);return void 0!==e.denom&&null!==e.denom?t.denom=e.denom:t.denom="",void 0!==e.amount&&null!==e.amount?t.amount=e.amount:t.amount="",t},toJSON(e){const t={};return void 0!==e.denom&&(t.denom=e.denom),void 0!==e.amount&&(t.amount=e.amount),t}};const a={int:""};t.IntProto={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).string(e.int),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const i=Object.assign({},a);for(;r.pos>>3){case 1:i.int=r.string();break;default:r.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},a);return void 0!==e.int&&null!==e.int?t.int=String(e.int):t.int="",t},fromPartial(e){const t=Object.assign({},a);return void 0!==e.int&&null!==e.int?t.int=e.int:t.int="",t},toJSON(e){const t={};return void 0!==e.int&&(t.int=e.int),t}};const c={dec:""};t.DecProto={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).string(e.dec),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const i=Object.assign({},c);for(;r.pos>>3){case 1:i.dec=r.string();break;default:r.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},c);return void 0!==e.dec&&null!==e.dec?t.dec=String(e.dec):t.dec="",t},fromPartial(e){const t=Object.assign({},c);return void 0!==e.dec&&null!==e.dec?t.dec=e.dec:t.dec="",t},toJSON(e){const t={};return void 0!==e.dec&&(t.dec=e.dec),t}}},function(e,t,r){"use strict";(function(e){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Any=t.protobufPackage=void 0;const o=n(r(48));t.protobufPackage="google.protobuf";const i={typeUrl:""};t.Any={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).string(e.typeUrl),t.uint32(18).bytes(e.value),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},i);for(;r.pos>>3){case 1:s.typeUrl=r.string();break;case 2:s.value=r.bytes();break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},i);return void 0!==e.typeUrl&&null!==e.typeUrl?t.typeUrl=String(e.typeUrl):t.typeUrl="",void 0!==e.value&&null!==e.value&&(t.value=function(e){const t=a(e),r=new Uint8Array(t.length);for(let e=0;e{if(void 0!==s)return s;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const a=s.atob||(e=>s.Buffer.from(e,"base64").toString("binary"));const c=s.btoa||(e=>s.Buffer.from(e,"binary").toString("base64"))}).call(this,r(12))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(739);t.Int53=n.Int53,t.Uint32=n.Uint32,t.Uint53=n.Uint53,t.Uint64=n.Uint64,t.Decimal=n.Decimal;var o=r(195);t.fromHex=o.fromHex,t.toHex=o.toHex,t.fromAscii=o.fromAscii,t.toAscii=o.toAscii,t.fromBase64=o.fromBase64,t.toBase64=o.toBase64,t.fromRfc3339=o.fromRfc3339,t.toRfc3339=o.toRfc3339,t.fromUtf8=o.fromUtf8,t.toUtf8=o.toUtf8,t.Bech32=o.Bech32;var i=r(363);t.isNonNullObject=i.isNonNullObject,t.isUint8Array=i.isUint8Array;var s=r(751);t.isJsonCompatibleValue=s.isJsonCompatibleValue,t.isJsonCompatibleDictionary=s.isJsonCompatibleDictionary,t.isJsonCompatibleArray=s.isJsonCompatibleArray;var a=r(752);t.TransactionEncoder=a.TransactionEncoder;var c=r(753);t.Encoding=c.Encoding},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(198),i=r(762),s=r(763);t.WebCryptoProvider=class{constructor(e=window.crypto){this.crypto=e}importBlockCipherKey(e){return n(this,void 0,void 0,(function*(){return i.default.importKey(this.crypto,e)}))}importCTRKey(e){return n(this,void 0,void 0,(function*(){try{return yield s.default.importKey(this.crypto,e)}catch(e){throw e.message.includes("unsupported")?new o.NotImplementedError("WebCryptoProvider: AES-CTR unsupported. Use PolyfillCryptoProvider."):e}}))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){return"undefined"!=typeof window?void 0:r(72)};t.getNodeCrypto=n;var o=function(){if("undefined"!=typeof window&&window.crypto)return window.crypto.subtle};t.getWebCrypto=o;var i=function(){if("undefined"!=typeof window){if(window.msCrypto)return window.msCrypto.subtle;if(window.crypto)return window.crypto.subtle}};t.getWebCryptoAll=i;var s=function(){if("undefined"!=typeof window){if(window.msCrypto)return window.msCrypto;if(window.crypto)return window.crypto}};t.getRootWebCryptoAll=s;var a=function(){if("undefined"!=typeof window&&window.msCrypto)return window.msCrypto.subtle};t.getMsCrypto=a;var c=function(){var e=o(),t=n(),r=a();return void 0!==t?{name:"nodeCrypto",crypto:t}:void 0!==e&&void 0===r?{name:"webCrypto",crypto:e}:void 0!==r?{name:"msCrypto",crypto:r}:{name:void 0}};t.getCrypto=c,t.default={getNodeCrypto:n,getWebCrypto:o,getMsCrypto:a,getWebCryptoAll:i,getRootWebCryptoAll:s,getCrypto:c}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetSecret20ViewingKey=t.RemoveTokenMsg=t.AddTokenMsg=t.SuggestTokenMsg=t.GetTokensMsg=void 0;const n=r(18),o=r(382);class i extends n.Message{constructor(e){super(),this.chainId=e}static type(){return"get-tokens"}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty")}route(){return o.ROUTE}type(){return i.type()}}t.GetTokensMsg=i;class s extends n.Message{constructor(e,t,r){super(),this.chainId=e,this.contractAddress=t,this.viewingKey=r}static type(){return"suggest-token"}approveExternal(){return!0}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty");if(!this.contractAddress)throw new Error("Contract address is empty")}route(){return o.ROUTE}type(){return s.type()}}t.SuggestTokenMsg=s;class a extends n.Message{constructor(e,t){super(),this.chainId=e,this.currency=t}static type(){return"add-token"}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty")}route(){return o.ROUTE}type(){return a.type()}}t.AddTokenMsg=a;class c extends n.Message{constructor(e,t){super(),this.chainId=e,this.currency=t}static type(){return"remove-token"}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty")}route(){return o.ROUTE}type(){return c.type()}}t.RemoveTokenMsg=c;class u extends n.Message{constructor(e,t){super(),this.chainId=e,this.contractAddress=t}static type(){return"get-secret20-viewing-key"}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty");if(!this.contractAddress)throw new Error("Contract address is empty")}approveExternal(){return!0}route(){return o.ROUTE}type(){return u.type()}}t.GetSecret20ViewingKey=u},function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return s}));var n=r(51),o=r.n(n),i=r(15);class s{constructor(){this.exchangeTimeout=3e4,this.unresponsiveTimeout=15e3,this.deviceModel=null,this._events=new o.a,this.send=async(t,r,n,o,s=e.alloc(0),a=[i.StatusCodes.OK])=>{if(s.length>=256)throw new i.TransportError("data.length exceed 256 bytes limit. Got: "+s.length,"DataLengthTooBig");const c=await this.exchange(e.concat([e.from([t,r,n,o]),e.from([s.length]),s])),u=c.readUInt16BE(c.length-2);if(!a.some(e=>e===u))throw new i.TransportStatusError(u);return c},this.exchangeBusyPromise=void 0,this.exchangeAtomicImpl=async e=>{if(this.exchangeBusyPromise)throw new i.TransportRaceCondition("An action was already pending on the Ledger device. Please deny or reconnect.");let t;const r=new Promise(e=>{t=e});this.exchangeBusyPromise=r;let n=!1;const o=setTimeout(()=>{n=!0,this.emit("unresponsive")},this.unresponsiveTimeout);try{const r=await e();return n&&this.emit("responsive"),r}finally{clearTimeout(o),t&&t(),this.exchangeBusyPromise=null}},this._appAPIlock=null}exchange(e){throw new Error("exchange not implemented")}setScrambleKey(e){}close(){return Promise.resolve()}on(e,t){this._events.on(e,t)}off(e,t){this._events.removeListener(e,t)}emit(e,...t){this._events.emit(e,...t)}setDebugMode(){console.warn("setDebugMode is deprecated. use @ledgerhq/logs instead. No logs are emitted in this anymore.")}setExchangeTimeout(e){this.exchangeTimeout=e}setExchangeUnresponsiveTimeout(e){this.unresponsiveTimeout=e}static create(e=3e3,t){return new Promise((r,n)=>{let o=!1;const s=this.listen({next:t=>{o=!0,s&&s.unsubscribe(),a&&clearTimeout(a),this.open(t.descriptor,e).then(r,n)},error:e=>{a&&clearTimeout(a),n(e)},complete:()=>{a&&clearTimeout(a),o||n(new i.TransportError(this.ErrorMessage_NoDeviceFound,"NoDeviceFound"))}}),a=t?setTimeout(()=>{s.unsubscribe(),n(new i.TransportError(this.ErrorMessage_ListenTimeout,"ListenTimeout"))},t):null})}decorateAppAPIMethods(e,t,r){for(let n of t)e[n]=this.decorateAppAPIMethod(n,e[n],e,r)}decorateAppAPIMethod(e,t,r,n){return async(...o)=>{const{_appAPIlock:s}=this;if(s)return Promise.reject(new i.TransportError("Ledger Device is busy (lock "+s+")","TransportLocked"));try{return this._appAPIlock=e,this.setScrambleKey(n),await t.apply(r,o)}finally{this._appAPIlock=null}}}}s.isSupported=void 0,s.list=void 0,s.listen=void 0,s.open=void 0,s.ErrorMessage_ListenTimeout="No Ledger device found (timeout)",s.ErrorMessage_NoDeviceFound="No Ledger device found"}).call(this,r(2).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(15);function o(t){const r=e.alloc(2);return r.writeUInt16BE(t,0),r}const i={data:e.alloc(0),dataLength:0,sequence:0};var s=(t,r)=>({makeBlocks(n){let i=e.concat([o(n.length),n]);const s=r-5,a=Math.ceil(i.length/s);i=e.concat([i,e.alloc(a*s-i.length+1).fill(0)]);const c=[];for(let r=0;ra&&(s=s.slice(0,a)),{data:s,dataLength:a,sequence:c}},getReducedResult(e){if(e&&e.dataLength===e.data.length)return e.data}});t.default=s}).call(this,r(2).Buffer)},,,,function(e,t,r){(t=e.exports=r(243)).Stream=t,t.Readable=t,t.Writable=r(154),t.Duplex=r(65),t.Transform=r(246),t.PassThrough=r(450)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DecUtils=void 0;const n=r(112);class o{static trim(e){let t="string"==typeof e?e:e.toString();if(t.indexOf(".")<0)return t;for(let e=t.length-1;e>=0&&"0"===t[e];e--)t=t.slice(0,e);return t.length>0&&"."===t[t.length-1]&&(t=t.slice(0,t.length-1)),t}static getPrecisionDec(e){if(o.precisions[e.toString()])return o.precisions[e.toString()];let t=new n.Dec(1);for(let r=0;r-1?n:i.nextTick;b.WritableState=y;var u=Object.create(r(95));u.inherits=r(4);var l={deprecate:r(155)},f=r(244),d=r(153).Buffer,h=o.Uint8Array||function(){};var p,g=r(245);function m(){}function y(e,t){a=a||r(65),e=e||{};var n=t instanceof a;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var o=e.highWaterMark,u=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:n&&(u||0===u)?u:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,o=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,o){--t.pendingcb,r?(i.nextTick(o,n),i.nextTick(S,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(o(n),e._writableState.errorEmitted=!0,e.emit("error",n),S(e,t))}(e,r,n,t,o);else{var s=k(r);s||r.corked||r.bufferProcessing||!r.bufferedRequest||_(e,r),n?c(w,e,r,s,o):w(e,r,s,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function b(e){if(a=a||r(65),!(p.call(b,this)||this instanceof a))return new b(e);this._writableState=new y(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),f.call(this)}function v(e,t,r,n,o,i,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,r?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function w(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),S(e,t)}function _(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,o=new Array(n),i=t.corkedRequestsFree;i.entry=r;for(var a=0,c=!0;r;)o[a]=r,r.isBuf||(c=!1),r=r.next,a+=1;o.allBuffers=c,v(e,t,!0,t.length,o,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new s(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,f=r.callback;if(v(e,t,!1,t.objectMode?1:u.length,u,l,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function k(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function O(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),S(e,t)}))}function S(e,t){var r=k(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(O,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}u.inherits(b,f),y.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(y.prototype,"buffer",{get:l.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(b,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===b&&(e&&e._writableState instanceof y)}})):p=function(e){return e instanceof this},b.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},b.prototype.write=function(e,t,r){var n,o=this._writableState,s=!1,a=!o.objectMode&&(n=e,d.isBuffer(n)||n instanceof h);return a&&!d.isBuffer(e)&&(e=function(e){return d.from(e)}(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof r&&(r=m),o.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),i.nextTick(t,r)}(this,r):(a||function(e,t,r,n){var o=!0,s=!1;return null===r?s=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),i.nextTick(n,s),o=!1),o}(this,o,e,r))&&(o.pendingcb++,s=function(e,t,r,n,o,i){if(!r){var s=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=d.from(t,r));return t}(t,n,o);n!==s&&(r=!0,o="buffer",n=s)}var a=t.objectMode?1:n.length;t.length+=a;var c=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),b.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},b.prototype._writev=null,b.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,S(e,t),r&&(t.finished?i.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),b.prototype.destroy=g.destroy,b.prototype._undestroy=g.undestroy,b.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r(13),r(223).setImmediate,r(12))},function(e,t,r){(function(t){function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,r(12))},function(e,t,r){"use strict";var n=r(4),o=r(250),i=r(7).Buffer,s=new Array(16);function a(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(e,t){return e<>>32-t}function u(e,t,r,n,o,i,s){return c(e+(t&r|~t&n)+o+i|0,s)+t|0}function l(e,t,r,n,o,i,s){return c(e+(t&n|r&~n)+o+i|0,s)+t|0}function f(e,t,r,n,o,i,s){return c(e+(t^r^n)+o+i|0,s)+t|0}function d(e,t,r,n,o,i,s){return c(e+(r^(t|~n))+o+i|0,s)+t|0}n(a,o),a.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,o=this._c,i=this._d;r=u(r,n,o,i,e[0],3614090360,7),i=u(i,r,n,o,e[1],3905402710,12),o=u(o,i,r,n,e[2],606105819,17),n=u(n,o,i,r,e[3],3250441966,22),r=u(r,n,o,i,e[4],4118548399,7),i=u(i,r,n,o,e[5],1200080426,12),o=u(o,i,r,n,e[6],2821735955,17),n=u(n,o,i,r,e[7],4249261313,22),r=u(r,n,o,i,e[8],1770035416,7),i=u(i,r,n,o,e[9],2336552879,12),o=u(o,i,r,n,e[10],4294925233,17),n=u(n,o,i,r,e[11],2304563134,22),r=u(r,n,o,i,e[12],1804603682,7),i=u(i,r,n,o,e[13],4254626195,12),o=u(o,i,r,n,e[14],2792965006,17),r=l(r,n=u(n,o,i,r,e[15],1236535329,22),o,i,e[1],4129170786,5),i=l(i,r,n,o,e[6],3225465664,9),o=l(o,i,r,n,e[11],643717713,14),n=l(n,o,i,r,e[0],3921069994,20),r=l(r,n,o,i,e[5],3593408605,5),i=l(i,r,n,o,e[10],38016083,9),o=l(o,i,r,n,e[15],3634488961,14),n=l(n,o,i,r,e[4],3889429448,20),r=l(r,n,o,i,e[9],568446438,5),i=l(i,r,n,o,e[14],3275163606,9),o=l(o,i,r,n,e[3],4107603335,14),n=l(n,o,i,r,e[8],1163531501,20),r=l(r,n,o,i,e[13],2850285829,5),i=l(i,r,n,o,e[2],4243563512,9),o=l(o,i,r,n,e[7],1735328473,14),r=f(r,n=l(n,o,i,r,e[12],2368359562,20),o,i,e[5],4294588738,4),i=f(i,r,n,o,e[8],2272392833,11),o=f(o,i,r,n,e[11],1839030562,16),n=f(n,o,i,r,e[14],4259657740,23),r=f(r,n,o,i,e[1],2763975236,4),i=f(i,r,n,o,e[4],1272893353,11),o=f(o,i,r,n,e[7],4139469664,16),n=f(n,o,i,r,e[10],3200236656,23),r=f(r,n,o,i,e[13],681279174,4),i=f(i,r,n,o,e[0],3936430074,11),o=f(o,i,r,n,e[3],3572445317,16),n=f(n,o,i,r,e[6],76029189,23),r=f(r,n,o,i,e[9],3654602809,4),i=f(i,r,n,o,e[12],3873151461,11),o=f(o,i,r,n,e[15],530742520,16),r=d(r,n=f(n,o,i,r,e[2],3299628645,23),o,i,e[0],4096336452,6),i=d(i,r,n,o,e[7],1126891415,10),o=d(o,i,r,n,e[14],2878612391,15),n=d(n,o,i,r,e[5],4237533241,21),r=d(r,n,o,i,e[12],1700485571,6),i=d(i,r,n,o,e[3],2399980690,10),o=d(o,i,r,n,e[10],4293915773,15),n=d(n,o,i,r,e[1],2240044497,21),r=d(r,n,o,i,e[8],1873313359,6),i=d(i,r,n,o,e[15],4264355552,10),o=d(o,i,r,n,e[6],2734768916,15),n=d(n,o,i,r,e[13],1309151649,21),r=d(r,n,o,i,e[4],4149444226,6),i=d(i,r,n,o,e[11],3174756917,10),o=d(o,i,r,n,e[2],718787259,15),n=d(n,o,i,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+o|0,this._d=this._d+i|0},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=i.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=a},function(e,t,r){"use strict";var n=r(73).codes.ERR_STREAM_PREMATURE_CLOSE;function o(){}e.exports=function e(t,r,i){if("function"==typeof r)return e(t,null,r);r||(r={}),i=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),o=0;o0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(o,r);return t+=this._buffer(e,t),o},o.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},o.prototype._pad=function(e,t){if(0===t)return!1;for(;t=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function s(e,r){var o=function(e){var t=i(e);return{blinder:t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(r),s=r.modulus.byteLength(),a=new n(e).mul(o.blinder).umod(r.modulus),c=a.toRed(n.mont(r.prime1)),u=a.toRed(n.mont(r.prime2)),l=r.coefficient,f=r.prime1,d=r.prime2,h=c.redPow(r.exponent1).fromRed(),p=u.redPow(r.exponent2).fromRed(),g=h.isub(p).imul(l).umod(f).imul(d);return p.iadd(g).imul(o.unblinder).umod(r.modulus).toArrayLike(t,"be",s)}s.getr=i,e.exports=s}).call(this,r(2).Buffer)},function(e,t,r){"use strict";var n,o=t,i=r(70),s=r(281),a=r(33).assert;function c(e){"short"===e.type?this.curve=new s.short(e):"edwards"===e.type?this.curve=new s.edwards(e):this.curve=new s.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(e,t){Object.defineProperty(o,e,{configurable:!0,enumerable:!0,get:function(){var r=new c(t);return Object.defineProperty(o,e,{configurable:!0,enumerable:!0,value:r}),r}})}o.PresetCurve=c,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r(512)}catch(e){n=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},function(e,t,r){"use strict";(function(t){var n,o=r(2),i=o.Buffer,s={};for(n in o)o.hasOwnProperty(n)&&"SlowBuffer"!==n&&"Buffer"!==n&&(s[n]=o[n]);var a=s.Buffer={};for(n in i)i.hasOwnProperty(n)&&"allocUnsafe"!==n&&"allocUnsafeSlow"!==n&&(a[n]=i[n]);if(s.Buffer.prototype=i.prototype,a.from&&a.from!==Uint8Array.from||(a.from=function(e,t,r){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return i(e,t,r)}),a.alloc||(a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var n=i(e);return t&&0!==t.length?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n}),!s.kStringMaxLength)try{s.kStringMaxLength=t.binding("buffer").kStringMaxLength}catch(e){}s.constants||(s.constants={MAX_LENGTH:s.kMaxLength},s.kStringMaxLength&&(s.constants.MAX_STRING_LENGTH=s.kStringMaxLength)),e.exports=s}).call(this,r(13))},function(e,t,r){"use strict";const n=r(167).Reporter,o=r(99).EncoderBuffer,i=r(99).DecoderBuffer,s=r(32),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function u(e,t,r){const n={};this._baseState=n,n.name=r,n.enc=e,n.parent=t||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}e.exports=u;const l=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];u.prototype.clone=function(){const e=this._baseState,t={};l.forEach((function(r){t[r]=e[r]}));const r=new this.constructor(t.parent);return r._baseState=t,r},u.prototype._wrap=function(){const e=this._baseState;c.forEach((function(t){this[t]=function(){const r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}}),this)},u.prototype._init=function(e){const t=this._baseState;s(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),s.equal(t.children.length,1,"Root node can have only one child")},u.prototype._useArgs=function(e){const t=this._baseState,r=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==r.length&&(s(null===t.children),t.children=r,r.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(s(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;const t={};return Object.keys(e).forEach((function(r){r==(0|r)&&(r|=0);const n=e[r];t[n]=r})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){u.prototype[e]=function(){const t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),a.forEach((function(e){u.prototype[e]=function(){const t=this._baseState,r=Array.prototype.slice.call(arguments);return s(null===t.tag),t.tag=e,this._useArgs(r),this}})),u.prototype.use=function(e){s(e);const t=this._baseState;return s(null===t.use),t.use=e,this},u.prototype.optional=function(){return this._baseState.optional=!0,this},u.prototype.def=function(e){const t=this._baseState;return s(null===t.default),t.default=e,t.optional=!0,this},u.prototype.explicit=function(e){const t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.explicit=e,this},u.prototype.implicit=function(e){const t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.implicit=e,this},u.prototype.obj=function(){const e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},u.prototype.key=function(e){const t=this._baseState;return s(null===t.key),t.key=e,this},u.prototype.any=function(){return this._baseState.any=!0,this},u.prototype.choice=function(e){const t=this._baseState;return s(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},u.prototype.contains=function(e){const t=this._baseState;return s(null===t.use),t.contains=e,this},u.prototype._decode=function(e,t){const r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));let n,o=r.default,s=!0,a=null;if(null!==r.key&&(a=e.enterKey(r.key)),r.optional){let n=null;if(null!==r.explicit?n=r.explicit:null!==r.implicit?n=r.implicit:null!==r.tag&&(n=r.tag),null!==n||r.any){if(s=this._peekTag(e,n,r.any),e.isError(s))return s}else{const n=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),s=!0}catch(e){s=!1}e.restore(n)}}if(r.obj&&s&&(n=e.enterObject()),s){if(null!==r.explicit){const t=this._decodeTag(e,r.explicit);if(e.isError(t))return t;e=t}const n=e.offset;if(null===r.use&&null===r.choice){let t;r.any&&(t=e.save());const n=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(n))return n;r.any?o=e.raw(t):e=n}if(t&&t.track&&null!==r.tag&&t.track(e.path(),n,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),r.any||(o=null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t)),e.isError(o))return o;if(r.any||null!==r.choice||null===r.children||r.children.forEach((function(r){r._decode(e,t)})),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){const n=new i(o);o=this._getUse(r.contains,e._reporterState.obj)._decode(n,t)}}return r.obj&&s&&(o=e.leaveObject(n)),null===r.key||null===o&&!0!==s?null!==a&&e.exitKey(a):e.leaveKey(a,r.key,o),o},u.prototype._decodeGeneric=function(e,t,r){const n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},u.prototype._getUse=function(e,t){const r=this._baseState;return r.useDecoder=this._use(e,t),s(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},u.prototype._decodeChoice=function(e,t){const r=this._baseState;let n=null,o=!1;return Object.keys(r.choice).some((function(i){const s=e.save(),a=r.choice[i];try{const r=a._decode(e,t);if(e.isError(r))return!1;n={type:i,value:r},o=!0}catch(t){return e.restore(s),!1}return!0}),this),o?n:e.error("Choice not matched")},u.prototype._createEncoderBuffer=function(e){return new o(e,this.reporter)},u.prototype._encode=function(e,t,r){const n=this._baseState;if(null!==n.default&&n.default===e)return;const o=this._encodeValue(e,t,r);return void 0===o||this._skipDefault(o,t,r)?void 0:o},u.prototype._encodeValue=function(e,t,r){const o=this._baseState;if(null===o.parent)return o.children[0]._encode(e,t||new n);let i=null;if(this.reporter=t,o.optional&&void 0===e){if(null===o.default)return;e=o.default}let s=null,a=!1;if(o.any)i=this._createEncoderBuffer(e);else if(o.choice)i=this._encodeChoice(e,t);else if(o.contains)s=this._getUse(o.contains,r)._encode(e,t),a=!0;else if(o.children)s=o.children.map((function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");const n=t.enterKey(r._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");const o=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),o}),this).filter((function(e){return e})),s=this._createEncoderBuffer(s);else if("seqof"===o.tag||"setof"===o.tag){if(!o.args||1!==o.args.length)return t.error("Too many args for : "+o.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");const r=this.clone();r._baseState.implicit=null,s=this._createEncoderBuffer(e.map((function(r){const n=this._baseState;return this._getUse(n.args[0],e)._encode(r,t)}),r))}else null!==o.use?i=this._getUse(o.use,r)._encode(e,t):(s=this._encodePrimitive(o.tag,e),a=!0);if(!o.any&&null===o.choice){const e=null!==o.implicit?o.implicit:o.tag,r=null===o.implicit?"universal":"context";null===e?null===o.use&&t.error("Tag could be omitted only for .use()"):null===o.use&&(i=this._encodeComposite(e,a,r,s))}return null!==o.explicit&&(i=this._encodeComposite(o.explicit,!1,"context",i)),i},u.prototype._encodeChoice=function(e,t){const r=this._baseState,n=r.choice[e.type];return n||s(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},u.prototype._encodePrimitive=function(e,t){const r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},u.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},u.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(e)}},function(e,t,r){"use strict";const n=r(4);function o(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function i(e,t){this.path=e,this.rethrow(t)}t.Reporter=o,o.prototype.isError=function(e){return e instanceof i},o.prototype.save=function(){const e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},o.prototype.restore=function(e){const t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},o.prototype.enterKey=function(e){return this._reporterState.path.push(e)},o.prototype.exitKey=function(e){const t=this._reporterState;t.path=t.path.slice(0,e-1)},o.prototype.leaveKey=function(e,t,r){const n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},o.prototype.path=function(){return this._reporterState.path.join("/")},o.prototype.enterObject=function(){const e=this._reporterState,t=e.obj;return e.obj={},t},o.prototype.leaveObject=function(e){const t=this._reporterState,r=t.obj;return t.obj=e,r},o.prototype.error=function(e){let t;const r=this._reporterState,n=e instanceof i;if(t=n?e:new i(r.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},o.prototype.wrapResult=function(e){const t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},n(i,Error),i.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,i),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},function(e,t,r){"use strict";function n(e){const t={};return Object.keys(e).forEach((function(r){(0|r)==r&&(r|=0);const n=e[r];t[n]=r})),t}t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=n(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=n(t.tag)},function(e,t,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(e,t){var r={Array:function(e){return null!=e&&e.constructor===Array},Boolean:function(e){return"boolean"==typeof e},Function:function(e){return"function"==typeof e},Nil:function(e){return null==e},Number:function(e){return"number"==typeof e},Object:function(e){return"object"==typeof e},String:function(e){return"string"==typeof e},"":function(){return!0}};for(var n in r.Null=r.Nil,r)r[n].toJSON=function(e){return e}.bind(null,n);e.exports=r},function(e,t,r){var n,o,i,s,a,c,u,l;e.exports=(l=r(9),o=(n=l).lib,i=o.WordArray,s=o.Hasher,a=n.algo,c=[],u=a.SHA1=s.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],s=r[3],a=r[4],u=0;u<80;u++){if(u<16)c[u]=0|e[t+u];else{var l=c[u-3]^c[u-8]^c[u-14]^c[u-16];c[u]=l<<1|l>>>31}var f=(n<<5|n>>>27)+a+c[u];f+=u<20?1518500249+(o&i|~o&s):u<40?1859775393+(o^i^s):u<60?(o&i|o&s|i&s)-1894007588:(o^i^s)-899497514,a=s,s=i,i=o<<30|o>>>2,o=n,n=f}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=s._createHelper(u),n.HmacSHA1=s._createHmacHelper(u),l.SHA1)},function(e,t,r){var n,o,i,s;e.exports=(n=r(9),i=(o=n).lib.Base,s=o.enc.Utf8,void(o.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=s.parse(t));var r=e.blockSize,n=4*r;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),i=this._iKey=t.clone(),a=o.words,c=i.words,u=0;u=9&&(n=(e[5]<<24)+(e[6]<<16)+(e[7]<<8)+(e[8]<<0)),{return_code:r,error_message:u(r),test_mode:0!==e[0],major:e[1],minor:e[2],patch:e[3],device_locked:1===e[4],target_id:n.toString(16)}}),l));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t){const r=/^[0-9]+$/,n=(e,t)=>{const n=r.test(e),o=r.test(t);return n&&o&&(e=+e,t=+t),e===t?0:n&&!o?-1:o&&!n?1:en(t,e)}},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>0===n(e,t,r)},function(e,t,r){const n=r(24);e.exports=(e,t,r)=>{const o=new n(e,r),i=new n(t,r);return o.compare(i)||o.compareBuild(i)}},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>n(e,t,r)<0},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>n(e,t,r)>=0},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>n(e,t,r)<=0},function(e,t,r){const n=r(24),o=r(135),{ANY:i}=o,s=r(41),a=r(136),c=r(134),u=r(185),l=r(187),f=r(186);e.exports=(e,t,r,d)=>{let h,p,g,m,y;switch(e=new n(e,d),t=new s(t,d),r){case">":h=c,p=l,g=u,m=">",y=">=";break;case"<":h=u,p=f,g=c,m="<",y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,d))return!1;for(let r=0;r{e.semver===i&&(e=new o(">=0.0.0")),s=s||e,a=a||e,h(e.semver,s.semver,d)?s=e:g(e.semver,a.semver,d)&&(a=e)}),s.operator===m||s.operator===y)return!1;if((!a.operator||a.operator===m)&&p(e,a.semver))return!1;if(a.operator===y&&g(e,a.semver))return!1}return!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LedgerSetWebHIDFlagMsg=t.LedgerGetWebHIDFlagMsg=void 0;const n=r(18),o=r(348);class i extends n.Message{static type(){return"ledger-get-webhid-flag"}constructor(){super()}validateBasic(){}route(){return o.ROUTE}type(){return i.type()}}t.LedgerGetWebHIDFlagMsg=i;class s extends n.Message{constructor(e){super(),this.flag=e}static type(){return"ledger-set-webhid-flag"}validateBasic(){if(null==this.flag)throw new Error("Flag is null")}route(){return o.ROUTE}type(){return s.type()}}t.LedgerSetWebHIDFlagMsg=s},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.KeyRing=t.KeyRingStatus=void 0;const o=r(716),i=r(108),s=r(2),a=r(11);var c;!function(e){e[e.NOTLOADED=0]="NOTLOADED",e[e.EMPTY=1]="EMPTY",e[e.LOCKED=2]="LOCKED",e[e.UNLOCKED=3]="UNLOCKED"}(c=t.KeyRingStatus||(t.KeyRingStatus={}));class u{constructor(e,t,r,n){this.embedChainInfos=e,this.kvStore=t,this.ledgerKeeper=r,this.rng=n,this.cached=new Map,this.password="",this.loaded=!1,this.keyStore=null,this.multiKeyStore=[]}get type(){if(this.keyStore){const e=this.keyStore.type;if(null==e)return"mnemonic";if("mnemonic"!==e&&"privateKey"!==e&&"ledger"!==e)throw new Error("Invalid type of key store");return e}return"none"}isLocked(){return null==this.privateKey&&null==this.mnemonic&&null==this.ledgerPublicKey}get privateKey(){return this._privateKey}set privateKey(e){this._privateKey=e,this._mnemonic=void 0,this._ledgerPublicKey=void 0,this.cached=new Map}get mnemonic(){return this._mnemonic}set mnemonic(e){this._mnemonic=e,this._privateKey=void 0,this._ledgerPublicKey=void 0,this.cached=new Map}get ledgerPublicKey(){return this._ledgerPublicKey}set ledgerPublicKey(e){this._mnemonic=void 0,this._privateKey=void 0,this._ledgerPublicKey=e,this.cached=new Map}get status(){return this.loaded?this.keyStore?this.isLocked()?c.LOCKED:c.UNLOCKED:c.EMPTY:c.NOTLOADED}getKeyStoreCoinType(e){if(this.keyStore&&this.keyStore.coinTypeForChain)return this.keyStore.coinTypeForChain[a.ChainIdHelper.parse(e).identifier]}getKey(e,t){return this.loadKey(this.computeKeyStoreCoinType(e,t))}getKeyStoreMeta(e){var t;return this.keyStore&&null!=this.keyStore.meta&&null!==(t=this.keyStore.meta[e])&&void 0!==t?t:""}computeKeyStoreCoinType(e,t){var r;if(!this.keyStore)throw new Error("Key Store is empty");return this.keyStore.coinTypeForChain&&null!==(r=this.keyStore.coinTypeForChain[a.ChainIdHelper.parse(e).identifier])&&void 0!==r?r:t}getKeyFromCoinType(e){return this.loadKey(e)}createMnemonicKey(e,t,r,o){return n(this,void 0,void 0,(function*(){if(this.status!==c.EMPTY)throw new Error("Key ring is not loaded or not empty");this.mnemonic=e,this.keyStore=yield u.CreateMnemonicKeyStore(this.rng,e,t,yield this.assignKeyStoreIdMeta(r),o),this.password=t,this.multiKeyStore.push(this.keyStore),yield this.save()}))}createPrivateKey(e,t,r){return n(this,void 0,void 0,(function*(){if(this.status!==c.EMPTY)throw new Error("Key ring is not loaded or not empty");this.privateKey=e,this.keyStore=yield u.CreatePrivateKeyStore(this.rng,e,t,yield this.assignKeyStoreIdMeta(r)),this.password=t,this.multiKeyStore.push(this.keyStore),yield this.save()}))}createLedgerKey(e,t,r,o){return n(this,void 0,void 0,(function*(){if(this.status!==c.EMPTY)throw new Error("Key ring is not loaded or not empty");this.ledgerPublicKey=yield this.ledgerKeeper.getPublicKey(e,o);const n=yield u.CreateLedgerKeyStore(this.rng,this.ledgerPublicKey,t,yield this.assignKeyStoreIdMeta(r),o);this.password=t,this.keyStore=n,this.multiKeyStore.push(this.keyStore),yield this.save()}))}lock(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");this.mnemonic=void 0,this.privateKey=void 0,this.ledgerPublicKey=void 0,this.password=""}unlock(e){return n(this,void 0,void 0,(function*(){if(!this.keyStore||"none"===this.type)throw new Error("Key ring not initialized");if("mnemonic"===this.type)this.mnemonic=s.Buffer.from(yield o.Crypto.decrypt(this.keyStore,e)).toString();else if("privateKey"===this.type)this.privateKey=s.Buffer.from(s.Buffer.from(yield o.Crypto.decrypt(this.keyStore,e)).toString(),"hex");else{if("ledger"!==this.type)throw new Error("Unexpected type of keyring");this.ledgerPublicKey=s.Buffer.from(s.Buffer.from(yield o.Crypto.decrypt(this.keyStore,e)).toString(),"hex")}this.password=e}))}save(){return n(this,void 0,void 0,(function*(){yield this.kvStore.set("key-store",this.keyStore),yield this.kvStore.set("key-multi-store",this.multiKeyStore)}))}restore(){return n(this,void 0,void 0,(function*(){const e=yield this.kvStore.get("key-store");this.keyStore=e||null;const t=yield this.kvStore.get("key-multi-store");t?this.multiKeyStore=t:(e?(e.meta=yield this.assignKeyStoreIdMeta({}),this.multiKeyStore=[e]):this.multiKeyStore=[],yield this.save());let r=!1;this.keyStore&&("1"!==this.keyStore.version&&"1.1"!==this.keyStore.version||(r=!0,this.updateLegacyKeyStore(this.keyStore)));for(const e of this.multiKeyStore)"1"!==e.version&&"1.1"!==e.version||(r=!0,this.updateLegacyKeyStore(e));r&&(yield this.save()),this.loaded=!0}))}updateLegacyKeyStore(e){e.version="1.2";for(const t of this.embedChainInfos){const r=t.alternativeBIP44s&&t.alternativeBIP44s.length>0?t.alternativeBIP44s[0].coinType:t.bip44.coinType;e.coinTypeForChain=Object.assign(Object.assign({},e.coinTypeForChain),{[a.ChainIdHelper.parse(t.chainId).identifier]:r})}}isKeyStoreCoinTypeSet(e){if(!this.keyStore)throw new Error("Empty key store");return this.keyStore.coinTypeForChain&&void 0!==this.keyStore.coinTypeForChain[a.ChainIdHelper.parse(e).identifier]}setKeyStoreCoinType(e,t){return n(this,void 0,void 0,(function*(){if(!this.keyStore)throw new Error("Empty key store");if(this.keyStore.coinTypeForChain&&void 0!==this.keyStore.coinTypeForChain[a.ChainIdHelper.parse(e).identifier])throw new Error("Coin type already set");this.keyStore.coinTypeForChain=Object.assign(Object.assign({},this.keyStore.coinTypeForChain),{[a.ChainIdHelper.parse(e).identifier]:t});const r=this.multiKeyStore.find(e=>u.getKeyStoreId(e)===u.getKeyStoreId(this.keyStore));r&&(r.coinTypeForChain=Object.assign({},this.keyStore.coinTypeForChain)),yield this.save()}))}deleteKeyRing(e,t){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");if(this.password!==t)throw new Error("Invalid password");const r=this.multiKeyStore[e];if(!r)throw new Error("Empty key store");const n=this.multiKeyStore.slice(0,e).concat(this.multiKeyStore.slice(e+1));return yield o.Crypto.decrypt(r,t),this.keyStore&&u.getKeyStoreId(r)===u.getKeyStoreId(this.keyStore)&&(n.length>0?(yield this.lock(),this.keyStore=n[0],yield this.unlock(t)):(this.keyStore=null,this.mnemonic=void 0,this.privateKey=void 0)),this.multiKeyStore=n,yield this.save(),this.getMultiKeyStoreInfo()}))}updateNameKeyRing(e,t){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");const r=this.multiKeyStore[e];if(!r)throw new Error("Empty key store");return r.meta=Object.assign(Object.assign({},r.meta),{name:t}),this.keyStore&&u.getKeyStoreId(this.keyStore)===u.getKeyStoreId(r)&&(this.keyStore=r),yield this.save(),this.getMultiKeyStoreInfo()}))}loadKey(e){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");if(!this.keyStore)throw new Error("Key Store is empty");if("ledger"===this.keyStore.type){if(!this.ledgerPublicKey)throw new Error("Ledger public key not set");const e=new i.PubKeySecp256k1(this.ledgerPublicKey);return{algo:"secp256k1",pubKey:e.toBytes(),address:e.getAddress(),isNanoLedger:!0}}{const t=this.loadPrivKey(e).getPubKey();return{algo:"secp256k1",pubKey:t.toBytes(),address:t.getAddress(),isNanoLedger:!1}}}loadPrivKey(e){if(this.status!==c.UNLOCKED||"none"===this.type||!this.keyStore)throw new Error("Key ring is not unlocked");const t=u.getKeyStoreBIP44Path(this.keyStore);if("mnemonic"===this.type){const r=`m/44'/${e}'/${t.account}'/${t.change}/${t.addressIndex}`,n=this.cached.get(r);if(n)return new i.PrivKeySecp256k1(n);if(!this.mnemonic)throw new Error("Key store type is mnemonic and it is unlocked. But, mnemonic is not loaded unexpectedly");const o=i.Mnemonic.generateWalletFromMnemonic(this.mnemonic,r);return this.cached.set(r,o),new i.PrivKeySecp256k1(o)}if("privateKey"===this.type){if(!this.privateKey)throw new Error("Key store type is private key and it is unlocked. But, private key is not loaded unexpectedly");return new i.PrivKeySecp256k1(this.privateKey)}throw new Error("Unexpected type of keyring")}sign(e,t,r,o){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");if(!this.keyStore)throw new Error("Key Store is empty");if("ledger"===this.keyStore.type){const t=this.ledgerPublicKey;if(!t)throw new Error("Ledger public key is not initialized");return yield this.ledgerKeeper.sign(e,u.getKeyStoreBIP44Path(this.keyStore),t,o)}{const e=this.computeKeyStoreCoinType(t,r);return this.loadPrivKey(e).sign(o)}}))}showKeyRing(e,t){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");if(this.password!==t)throw new Error("Invalid password");const r=this.multiKeyStore[e];if(!r)throw new Error("Empty key store");return r.type,s.Buffer.from(yield o.Crypto.decrypt(r,t)).toString()}))}get canSetPath(){return"mnemonic"===this.type||"ledger"===this.type}addMnemonicKey(e,t,r){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED||""==this.password)throw new Error("Key ring is locked or not initialized");const n=yield u.CreateMnemonicKeyStore(this.rng,e,this.password,yield this.assignKeyStoreIdMeta(t),r);return this.multiKeyStore.push(n),yield this.save(),this.getMultiKeyStoreInfo()}))}addPrivateKey(e,t){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED||""==this.password)throw new Error("Key ring is locked or not initialized");const r=yield u.CreatePrivateKeyStore(this.rng,e,this.password,yield this.assignKeyStoreIdMeta(t));return this.multiKeyStore.push(r),yield this.save(),this.getMultiKeyStoreInfo()}))}addLedgerKey(e,t,r){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED||""==this.password)throw new Error("Key ring is locked or not initialized");const n=yield this.ledgerKeeper.getPublicKey(e,r),o=yield u.CreateLedgerKeyStore(this.rng,n,this.password,yield this.assignKeyStoreIdMeta(t),r);return this.multiKeyStore.push(o),yield this.save(),this.getMultiKeyStoreInfo()}))}changeKeyStoreFromMultiKeyStore(e){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED||""==this.password)throw new Error("Key ring is locked or not initialized");const t=this.multiKeyStore[e];if(!t)throw new Error("Invalid keystore");return this.keyStore=t,yield this.unlock(this.password),yield this.save(),this.getMultiKeyStoreInfo()}))}getMultiKeyStoreInfo(){const e=[];for(const t of this.multiKeyStore)e.push({version:t.version,type:t.type,meta:t.meta,coinTypeForChain:t.coinTypeForChain,bip44HDPath:t.bip44HDPath,selected:!!this.keyStore&&u.getKeyStoreId(t)===u.getKeyStoreId(this.keyStore)});return e}static CreateMnemonicKeyStore(e,t,r,i,s){return n(this,void 0,void 0,(function*(){return yield o.Crypto.encrypt(e,"mnemonic",t,r,i,s)}))}static CreatePrivateKeyStore(e,t,r,i){return n(this,void 0,void 0,(function*(){return yield o.Crypto.encrypt(e,"privateKey",s.Buffer.from(t).toString("hex"),r,i)}))}static CreateLedgerKeyStore(e,t,r,i,a){return n(this,void 0,void 0,(function*(){return yield o.Crypto.encrypt(e,"ledger",s.Buffer.from(t).toString("hex"),r,i,a)}))}assignKeyStoreIdMeta(e){return n(this,void 0,void 0,(function*(){return Object.assign({},e,{__id__:(yield this.getIncrementalNumber()).toString()})}))}static getKeyStoreId(e){var t;const r=null===(t=e.meta)||void 0===t?void 0:t.__id__;if(!r)throw new Error("Key store's id is empty");return r}static getKeyStoreBIP44Path(e){return e.bip44HDPath?(u.validateBIP44Path(e.bip44HDPath),e.bip44HDPath):{account:0,change:0,addressIndex:0}}static validateBIP44Path(e){if(!Number.isInteger(e.account)||e.account<0)throw new Error("Invalid account in hd path");if(!Number.isInteger(e.change)||0!==e.change&&1!==e.change)throw new Error("Invalid change in hd path");if(!Number.isInteger(e.addressIndex)||e.addressIndex<0)throw new Error("Invalid address index in hd path")}getIncrementalNumber(){return n(this,void 0,void 0,(function*(){let e=yield this.kvStore.get("incrementalNumber");return void 0===e&&(e=0),e++,yield this.kvStore.set("incrementalNumber",e),e}))}}t.KeyRing=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetKeyStoreCoinTypeMsg=t.GetIsKeyStoreCoinTypeSetMsg=t.ChangeKeyRingMsg=t.GetMultiKeyStoreInfoMsg=t.GetKeyRingTypeMsg=t.RequestSignDirectMsg=t.RequestSignAminoMsg=t.GetKeyMsg=t.UnlockKeyRingMsg=t.LockKeyRingMsg=t.AddLedgerKeyMsg=t.AddPrivateKeyMsg=t.CreateLedgerKeyMsg=t.CreatePrivateKeyMsg=t.AddMnemonicKeyMsg=t.CreateMnemonicKeyMsg=t.ShowKeyRingMsg=t.UpdateNameKeyRingMsg=t.DeleteKeyRingMsg=t.RestoreKeyRingMsg=void 0;const n=r(18),o=r(353),i=r(190),s=r(11),a=r(69),c=r(11);class u extends n.Message{static type(){return"restore-keyring"}constructor(){super()}validateBasic(){}route(){return o.ROUTE}type(){return u.type()}}t.RestoreKeyRingMsg=u;class l extends n.Message{constructor(e,t){super(),this.index=e,this.password=t}static type(){return"delete-keyring"}validateBasic(){if(!Number.isInteger(this.index))throw new Error("Invalid index");if(!this.password)throw new Error("password not set")}route(){return o.ROUTE}type(){return l.type()}}t.DeleteKeyRingMsg=l;class f extends n.Message{constructor(e,t){super(),this.index=e,this.name=t}static type(){return"update-name-keyring"}validateBasic(){if(!Number.isInteger(this.index))throw new Error("Invalid index");if(!this.name)throw new Error("name not set")}route(){return o.ROUTE}type(){return f.type()}}t.UpdateNameKeyRingMsg=f;class d extends n.Message{constructor(e,t){super(),this.index=e,this.password=t}static type(){return"show-keyring"}validateBasic(){if(!Number.isInteger(this.index))throw new Error("Invalid index");if(!this.password)throw new Error("password not set")}route(){return o.ROUTE}type(){return d.type()}}t.ShowKeyRingMsg=d;class h extends n.Message{constructor(e,t,r,n){super(),this.mnemonic=e,this.password=t,this.meta=r,this.bip44HDPath=n}static type(){return"create-mnemonic-key"}validateBasic(){if(!this.mnemonic)throw new Error("mnemonic not set");if(!this.password)throw new Error("password not set");try{a.mnemonicToEntropy(this.mnemonic)}catch(e){if("Invalid mnemonic checksum"!==e.message)throw e}i.KeyRing.validateBIP44Path(this.bip44HDPath)}route(){return o.ROUTE}type(){return h.type()}}t.CreateMnemonicKeyMsg=h;class p extends n.Message{constructor(e,t,r){super(),this.mnemonic=e,this.meta=t,this.bip44HDPath=r}static type(){return"add-mnemonic-key"}validateBasic(){if(!this.mnemonic)throw new Error("mnemonic not set");try{a.mnemonicToEntropy(this.mnemonic)}catch(e){if("Invalid mnemonic checksum"!==e.message)throw e}i.KeyRing.validateBIP44Path(this.bip44HDPath)}route(){return o.ROUTE}type(){return p.type()}}t.AddMnemonicKeyMsg=p;class g extends n.Message{constructor(e,t,r){super(),this.privateKey=e,this.password=t,this.meta=r}static type(){return"create-private-key"}validateBasic(){if(!this.privateKey||0===this.privateKey.length)throw new Error("private key not set");if(32!==this.privateKey.length)throw new Error("invalid length of private key");if(!this.password)throw new Error("password not set")}route(){return o.ROUTE}type(){return g.type()}}t.CreatePrivateKeyMsg=g;class m extends n.Message{constructor(e,t,r){super(),this.password=e,this.meta=t,this.bip44HDPath=r}static type(){return"create-ledger-key"}validateBasic(){if(!this.password)throw new Error("password not set");i.KeyRing.validateBIP44Path(this.bip44HDPath)}route(){return o.ROUTE}type(){return m.type()}}t.CreateLedgerKeyMsg=m;class y extends n.Message{constructor(e,t){super(),this.privateKey=e,this.meta=t}static type(){return"add-private-key"}validateBasic(){if(!this.privateKey||0===this.privateKey.length)throw new Error("private key not set");if(32!==this.privateKey.length)throw new Error("invalid length of private key")}route(){return o.ROUTE}type(){return y.type()}}t.AddPrivateKeyMsg=y;class b extends n.Message{constructor(e,t){super(),this.meta=e,this.bip44HDPath=t}static type(){return"add-ledger-key"}validateBasic(){i.KeyRing.validateBIP44Path(this.bip44HDPath)}route(){return o.ROUTE}type(){return b.type()}}t.AddLedgerKeyMsg=b;class v extends n.Message{static type(){return"lock-keyring"}constructor(){super()}validateBasic(){}route(){return o.ROUTE}type(){return v.type()}}t.LockKeyRingMsg=v;class w extends n.Message{constructor(e=""){super(),this.password=e}static type(){return"unlock-keyring"}validateBasic(){if(!this.password)throw new Error("password not set")}route(){return o.ROUTE}type(){return w.type()}}t.UnlockKeyRingMsg=w;class _ extends n.Message{constructor(e){super(),this.chainId=e}static type(){return"get-key"}validateBasic(){if(!this.chainId)throw new Error("chain id not set")}approveExternal(){return!0}route(){return o.ROUTE}type(){return _.type()}}t.GetKeyMsg=_;class k extends n.Message{constructor(e,t,r,n={}){super(),this.chainId=e,this.signer=t,this.signDoc=r,this.signOptions=n}static type(){return"request-sign-amino"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(!this.signer)throw new Error("signer not set");if(s.Bech32Address.validate(this.signer),this.signDoc.chain_id!==this.chainId)throw new Error("Chain id in the message is not matched with the requested chain id");if(!this.signOptions)throw new Error("Sign options are null")}approveExternal(){return!0}route(){return o.ROUTE}type(){return k.type()}}t.RequestSignAminoMsg=k;class O extends n.Message{constructor(e,t,r,n={}){super(),this.chainId=e,this.signer=t,this.signDocBytes=r,this.signOptions=n}static type(){return"request-sign-direct"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(!this.signer)throw new Error("signer not set");s.Bech32Address.validate(this.signer);if(c.cosmos.tx.v1beta1.SignDoc.decode(this.signDocBytes).chainId!==this.chainId)throw new Error("Chain id in the message is not matched with the requested chain id");if(!this.signOptions)throw new Error("Sign options are null")}approveExternal(){return!0}route(){return o.ROUTE}type(){return O.type()}}t.RequestSignDirectMsg=O;class S extends n.Message{static type(){return"get-keyring-type"}constructor(){super()}validateBasic(){}route(){return o.ROUTE}type(){return S.type()}}t.GetKeyRingTypeMsg=S;class E extends n.Message{static type(){return"get-multi-key-store-info"}constructor(){super()}validateBasic(){}route(){return o.ROUTE}type(){return E.type()}}t.GetMultiKeyStoreInfoMsg=E;class j extends n.Message{constructor(e){super(),this.index=e}static type(){return"change-keyring"}validateBasic(){if(this.index<0)throw new Error("Index is negative");if(!Number.isInteger(this.index))throw new Error("Invalid index")}route(){return o.ROUTE}type(){return j.type()}}t.ChangeKeyRingMsg=j;class P extends n.Message{constructor(e,t){super(),this.chainId=e,this.paths=t}static type(){return"get-is-keystore-coin-type-set"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(0===this.paths.length)throw new Error("empty bip44 path list")}route(){return o.ROUTE}type(){return P.type()}}t.GetIsKeyStoreCoinTypeSetMsg=P;class A extends n.Message{constructor(e,t){super(),this.chainId=e,this.coinType=t}static type(){return"set-keystore-coin-type"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(this.coinType<0)throw new Error("coin type can not be negative");if(!Number.isInteger(this.coinType))throw new Error("coin type should be integer")}route(){return o.ROUTE}type(){return A.type()}}t.SetKeyStoreCoinTypeMsg=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RemovePermissionOrigin=t.GetPermissionOriginsMsg=t.EnableAccessMsg=void 0;const n=r(18),o=r(354);class i extends n.Message{constructor(e){super(),this.chainIds=e}static type(){return"enable-access"}validateBasic(){if(!this.chainIds||0===this.chainIds.length)throw new Error("chain id not set")}route(){return o.ROUTE}approveExternal(){return!0}type(){return i.type()}}t.EnableAccessMsg=i;class s extends n.Message{constructor(e,t){super(),this.chainId=e,this.permissionType=t}static type(){return"get-permission-origins"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(!this.permissionType)throw new Error("empty permission type")}route(){return o.ROUTE}type(){return s.type()}}t.GetPermissionOriginsMsg=s;class a extends n.Message{constructor(e,t,r){super(),this.chainId=e,this.permissionType=t,this.permissionOrigin=r}static type(){return"remove-permission-origin"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(!this.permissionType)throw new Error("empty permission type");if(!this.permissionOrigin)throw new Error("empty permission origin")}route(){return o.ROUTE}type(){return a.type()}}t.RemovePermissionOrigin=a},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.makeSignBytes=t.makeSignDoc=t.makeAuthInfoBytes=void 0;const o=n(r(113)),i=r(356),s=r(355);t.makeAuthInfoBytes=function(e,t,r,n,a=i.SignMode.SIGN_MODE_DIRECT){const c={signerInfos:e.map(e=>({publicKey:e,modeInfo:{single:{mode:a}},sequence:o.default.fromNumber(n)})),fee:{amount:[...t],gasLimit:o.default.fromNumber(r)}};return s.AuthInfo.encode(s.AuthInfo.fromPartial(c)).finish()},t.makeSignDoc=function(e,t,r,n){return{bodyBytes:e,authInfoBytes:t,chainId:r,accountNumber:o.default.fromNumber(n)}},t.makeSignBytes=function({accountNumber:e,authInfoBytes:t,bodyBytes:r,chainId:n}){const o=s.SignDoc.fromPartial({accountNumber:e,authInfoBytes:t,bodyBytes:r,chainId:n});return s.SignDoc.encode(o).finish()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(42);function o(e){if(!n.isNonNullObject(e))throw new Error("Attribute must be a non-null object");const{key:t,value:r}=e;if("string"!=typeof t||!t)throw new Error("Attribute's key must be a non-empty string");if("string"!=typeof r&&void 0!==r)throw new Error("Attribute's value must be a string or unset");return{key:t,value:r||""}}function i(e){if(!n.isNonNullObject(e))throw new Error("Event must be a non-null object");const{type:t,attributes:r}=e;if("string"!=typeof t||""===t)throw new Error("Event type must be a non-empty string");if(!Array.isArray(r))throw new Error("Event's attributes must be an array");return{type:t,attributes:r.map(o)}}function s(e){if(!n.isNonNullObject(e))throw new Error("Log must be a non-null object");const{msg_index:t,log:r,events:o}=e;if("number"!=typeof t)throw new Error("Log's msg_index must be a number");if("string"!=typeof r)throw new Error("Log's log must be a string");if(!Array.isArray(o))throw new Error("Log's events must be an array");return{msg_index:t,log:r,events:o.map(i)}}t.parseAttribute=o,t.parseEvent=i,t.parseLog=s,t.parseLogs=function(e){if(!Array.isArray(e))throw new Error("Logs must be an array");return e.map(s)},t.findAttribute=function(e,t,r){var n,o;const i=null===(o=null===(n=e.find(()=>!0))||void 0===n?void 0:n.events.find(e=>e.type===t))||void 0===o?void 0:o.attributes.find(e=>e.key===r);if(!i)throw new Error(`Could not find attribute '${r}' in first event of type '${t}' in first log.`);return i}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(742);Object.defineProperty(t,"fromAscii",{enumerable:!0,get:function(){return n.fromAscii}}),Object.defineProperty(t,"toAscii",{enumerable:!0,get:function(){return n.toAscii}});var o=r(743);Object.defineProperty(t,"fromBase64",{enumerable:!0,get:function(){return o.fromBase64}}),Object.defineProperty(t,"toBase64",{enumerable:!0,get:function(){return o.toBase64}});var i=r(744);Object.defineProperty(t,"Bech32",{enumerable:!0,get:function(){return i.Bech32}});var s=r(745);Object.defineProperty(t,"fromHex",{enumerable:!0,get:function(){return s.fromHex}}),Object.defineProperty(t,"toHex",{enumerable:!0,get:function(){return s.toHex}});var a=r(746);Object.defineProperty(t,"fromRfc3339",{enumerable:!0,get:function(){return a.fromRfc3339}}),Object.defineProperty(t,"toRfc3339",{enumerable:!0,get:function(){return a.toRfc3339}});var c=r(747);Object.defineProperty(t,"fromUtf8",{enumerable:!0,get:function(){return c.fromUtf8}}),Object.defineProperty(t,"toUtf8",{enumerable:!0,get:function(){return c.toUtf8}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(42),{toUtf8:o}=n.Encoding;function i(e){if("object"!=typeof e||null===e)return e;if(Array.isArray(e))return e.map(i);return Object.keys(e).sort().reduce((t,r)=>Object.assign(Object.assign({},t),{[r]:i(e[r])}),{})}t.marshalTx=function(e){const t=JSON.stringify(e);return n.Encoding.toUtf8(t)},t.makeSignBytes=function(e,t,r,n,s,a){const c=i({account_number:s.toString(),chain_id:r,fee:t,memo:n,msgs:e,sequence:a.toString()});return o(JSON.stringify(c))}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(42),i=n(r(68)),s=n(r(368));function a(e){return e||[]}var c;function u(e){return void 0!==e.error}function l(e){if(u(e))throw new Error(e.error);return e.result}function f(e){var t;if(null===(t=e.response)||void 0===t?void 0:t.data){let t;const r=e.response.data;throw t=r.error&&"string"==typeof r.error?r.error:"string"==typeof r?r:JSON.stringify(r),new Error(`${t} (HTTP ${e.response.status})`)}throw e}!function(e){e.Block="block",e.Sync="sync",e.Async="async"}(c=t.BroadcastMode||(t.BroadcastMode={}));t.RestClient=class{constructor(e,t=c.Block,r){this.client=i.default.create({baseURL:e,headers:{post:{"Content-Type":"application/json"}}}),this.broadcastMode=t,this.enigmautils=new s.default(e,r),this.codeHashCache=new Map}async get(e){const{data:t}=await this.client.get(e).catch(f);if(null===t)throw new Error("Received null response from server");return t}async post(e,t){if(!o.isNonNullObject(t))throw new Error("Got unexpected type of params. Expected object.");const{data:r}=await this.client.post(e,t).catch(f);if(null===r)throw new Error("Received null response from server");return r}async authAccounts(e){const t="/auth/accounts/"+e,r=await this.get(t);if("cosmos-sdk/Account"!==r.result.type)throw new Error("Unexpected response data format");return r}async blocksLatest(){const e=await this.get("/blocks/latest");if(!e.block)throw new Error("Unexpected response data format");return e}async blocks(e){const t=await this.get("/blocks/"+e);if(!t.block)throw new Error("Unexpected response data format");return t}async nodeInfo(){const e=await this.get("/node_info");if(!e.node_info)throw new Error("Unexpected response data format");return e}async txById(e,t=!0){const r=await this.get("/txs/"+e);if(!r.tx)throw new Error("Unexpected response data format");return t?this.decryptTxsResponse(r):r}async txsQuery(e){const t=await this.get("/txs?"+e);if(!t.txs)throw new Error("Unexpected response data format");const r=t;for(let e=0;e>>8}Object.defineProperty(t,"__esModule",{value:!0}),t.select=function(e,t,r){return~(e-1)&t|e-1&r},t.compare=n,t.equal=function(e,t){return 0!==e.length&&0!==t.length&&0!==n(e,t)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wipe=function(e){for(let t=0;t>5,this.byteCount=this.blockCount<<2,this.outputBlocks=r>>5,this.extraBytes=(31&r)>>3;for(var n=0;n<50;++n)this.s[n]=0}function D(e,t,r){B.call(this,e,t,r)}B.prototype.update=function(e){if(this.finalized)throw new Error("finalize already called");var t,r=typeof e;if("string"!==r){if("object"!==r)throw new Error(s);if(null===e)throw new Error(s);if(d&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||d&&ArrayBuffer.isView(e)))throw new Error(s);t=!0}for(var n,o,i=this.blocks,a=this.byteCount,c=e.length,u=this.blockCount,l=0,f=this.s;l>2]|=e[l]<>2]|=o<>2]|=(192|o>>6)<>2]|=(128|63&o)<=57344?(i[n>>2]|=(224|o>>12)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<>2]|=(240|o>>18)<>2]|=(128|o>>12&63)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<=a){for(this.start=n-a,this.block=i[u],n=0;n>=8);r>0;)o.unshift(r),r=255&(e>>=8),++n;return t?o.push(n):o.unshift(n),this.update(o),o.length},B.prototype.encodeString=function(e){var t,r=typeof e;if("string"!==r){if("object"!==r)throw new Error(s);if(null===e)throw new Error(s);if(d&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||d&&ArrayBuffer.isView(e)))throw new Error(s);t=!0}var n=0,o=e.length;if(t)n=o;else for(var i=0;i=57344?n+=3:(a=65536+((1023&a)<<10|1023&e.charCodeAt(++i)),n+=4)}return n+=this.encode(8*n),this.update(e),n},B.prototype.bytepad=function(e,t){for(var r=this.encode(t),n=0;n>2]|=this.padding[3&t],this.lastByteIndex===this.byteCount)for(e[0]=e[r],t=1;t>4&15]+h[15&e]+h[e>>12&15]+h[e>>8&15]+h[e>>20&15]+h[e>>16&15]+h[e>>28&15]+h[e>>24&15];s%t==0&&(L(r),i=0)}return o&&(e=r[i],a+=h[e>>4&15]+h[15&e],o>1&&(a+=h[e>>12&15]+h[e>>8&15]),o>2&&(a+=h[e>>20&15]+h[e>>16&15])),a},B.prototype.arrayBuffer=function(){this.finalize();var e,t=this.blockCount,r=this.s,n=this.outputBlocks,o=this.extraBytes,i=0,s=0,a=this.outputBits>>3;e=o?new ArrayBuffer(n+1<<2):new ArrayBuffer(a);for(var c=new Uint32Array(e);s>8&255,c[e+2]=t>>16&255,c[e+3]=t>>24&255;a%r==0&&L(n)}return i&&(e=a<<2,t=n[s],c[e]=255&t,i>1&&(c[e+1]=t>>8&255),i>2&&(c[e+2]=t>>16&255)),c},D.prototype=new B,D.prototype.finalize=function(){return this.encode(this.outputBits,!0),B.prototype.finalize.call(this)};var L=function(e){var t,r,n,o,i,s,a,c,u,l,f,d,h,p,g,y,b,v,w,_,k,O,S,E,j,P,A,x,M,I,C,R,T,N,B,D,L,U,q,H,z,K,F,$,V,J,G,W,Q,Z,Y,X,ee,te,re,ne,oe,ie,se,ae,ce,ue,le;for(n=0;n<48;n+=2)o=e[0]^e[10]^e[20]^e[30]^e[40],i=e[1]^e[11]^e[21]^e[31]^e[41],s=e[2]^e[12]^e[22]^e[32]^e[42],a=e[3]^e[13]^e[23]^e[33]^e[43],c=e[4]^e[14]^e[24]^e[34]^e[44],u=e[5]^e[15]^e[25]^e[35]^e[45],l=e[6]^e[16]^e[26]^e[36]^e[46],f=e[7]^e[17]^e[27]^e[37]^e[47],t=(d=e[8]^e[18]^e[28]^e[38]^e[48])^(s<<1|a>>>31),r=(h=e[9]^e[19]^e[29]^e[39]^e[49])^(a<<1|s>>>31),e[0]^=t,e[1]^=r,e[10]^=t,e[11]^=r,e[20]^=t,e[21]^=r,e[30]^=t,e[31]^=r,e[40]^=t,e[41]^=r,t=o^(c<<1|u>>>31),r=i^(u<<1|c>>>31),e[2]^=t,e[3]^=r,e[12]^=t,e[13]^=r,e[22]^=t,e[23]^=r,e[32]^=t,e[33]^=r,e[42]^=t,e[43]^=r,t=s^(l<<1|f>>>31),r=a^(f<<1|l>>>31),e[4]^=t,e[5]^=r,e[14]^=t,e[15]^=r,e[24]^=t,e[25]^=r,e[34]^=t,e[35]^=r,e[44]^=t,e[45]^=r,t=c^(d<<1|h>>>31),r=u^(h<<1|d>>>31),e[6]^=t,e[7]^=r,e[16]^=t,e[17]^=r,e[26]^=t,e[27]^=r,e[36]^=t,e[37]^=r,e[46]^=t,e[47]^=r,t=l^(o<<1|i>>>31),r=f^(i<<1|o>>>31),e[8]^=t,e[9]^=r,e[18]^=t,e[19]^=r,e[28]^=t,e[29]^=r,e[38]^=t,e[39]^=r,e[48]^=t,e[49]^=r,p=e[0],g=e[1],J=e[11]<<4|e[10]>>>28,G=e[10]<<4|e[11]>>>28,x=e[20]<<3|e[21]>>>29,M=e[21]<<3|e[20]>>>29,ae=e[31]<<9|e[30]>>>23,ce=e[30]<<9|e[31]>>>23,K=e[40]<<18|e[41]>>>14,F=e[41]<<18|e[40]>>>14,N=e[2]<<1|e[3]>>>31,B=e[3]<<1|e[2]>>>31,y=e[13]<<12|e[12]>>>20,b=e[12]<<12|e[13]>>>20,W=e[22]<<10|e[23]>>>22,Q=e[23]<<10|e[22]>>>22,I=e[33]<<13|e[32]>>>19,C=e[32]<<13|e[33]>>>19,ue=e[42]<<2|e[43]>>>30,le=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,re=e[4]<<30|e[5]>>>2,D=e[14]<<6|e[15]>>>26,L=e[15]<<6|e[14]>>>26,v=e[25]<<11|e[24]>>>21,w=e[24]<<11|e[25]>>>21,Z=e[34]<<15|e[35]>>>17,Y=e[35]<<15|e[34]>>>17,R=e[45]<<29|e[44]>>>3,T=e[44]<<29|e[45]>>>3,E=e[6]<<28|e[7]>>>4,j=e[7]<<28|e[6]>>>4,ne=e[17]<<23|e[16]>>>9,oe=e[16]<<23|e[17]>>>9,U=e[26]<<25|e[27]>>>7,q=e[27]<<25|e[26]>>>7,_=e[36]<<21|e[37]>>>11,k=e[37]<<21|e[36]>>>11,X=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,$=e[8]<<27|e[9]>>>5,V=e[9]<<27|e[8]>>>5,P=e[18]<<20|e[19]>>>12,A=e[19]<<20|e[18]>>>12,ie=e[29]<<7|e[28]>>>25,se=e[28]<<7|e[29]>>>25,H=e[38]<<8|e[39]>>>24,z=e[39]<<8|e[38]>>>24,O=e[48]<<14|e[49]>>>18,S=e[49]<<14|e[48]>>>18,e[0]=p^~y&v,e[1]=g^~b&w,e[10]=E^~P&x,e[11]=j^~A&M,e[20]=N^~D&U,e[21]=B^~L&q,e[30]=$^~J&W,e[31]=V^~G&Q,e[40]=te^~ne&ie,e[41]=re^~oe&se,e[2]=y^~v&_,e[3]=b^~w&k,e[12]=P^~x&I,e[13]=A^~M&C,e[22]=D^~U&H,e[23]=L^~q&z,e[32]=J^~W&Z,e[33]=G^~Q&Y,e[42]=ne^~ie&ae,e[43]=oe^~se&ce,e[4]=v^~_&O,e[5]=w^~k&S,e[14]=x^~I&R,e[15]=M^~C&T,e[24]=U^~H&K,e[25]=q^~z&F,e[34]=W^~Z&X,e[35]=Q^~Y&ee,e[44]=ie^~ae&ue,e[45]=se^~ce&le,e[6]=_^~O&p,e[7]=k^~S&g,e[16]=I^~R&E,e[17]=C^~T&j,e[26]=H^~K&N,e[27]=z^~F&B,e[36]=Z^~X&$,e[37]=Y^~ee&V,e[46]=ae^~ue&te,e[47]=ce^~le&re,e[8]=O^~p&y,e[9]=S^~g&b,e[18]=R^~E&P,e[19]=T^~j&A,e[28]=K^~N&D,e[29]=F^~B&L,e[38]=X^~$&J,e[39]=ee^~V&G,e[48]=ue^~te&ne,e[49]=le^~re&oe,e[0]^=m[n],e[1]^=m[n+1]};if(l)e.exports=A;else{for(M=0;M=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},r(449),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,r(12))},,,,,,,,,,function(e,t,r){(function(e){var n,o=function(e){"use strict";var t=1e7,r=9007199254740992,n=f(r),i="function"==typeof BigInt;function s(e,t,r,n){return void 0===e?s[0]:void 0!==t&&(10!=+t||r)?q(e,t,r,n):$(e)}function a(e,t){this.value=e,this.sign=t,this.isSmall=!1}function c(e){this.value=e,this.sign=e<0,this.isSmall=!0}function u(e){this.value=e}function l(e){return-r0?Math.floor(e):Math.ceil(e)}function m(e,r){var n,o,i=e.length,s=r.length,a=new Array(i),c=0,u=t;for(o=0;o=u?1:0,a[o]=n-c*u;for(;o0&&a.push(c),a}function y(e,t){return e.length>=t.length?m(e,t):m(t,e)}function b(e,r){var n,o,i=e.length,s=new Array(i),a=t;for(o=0;o0;)s[o++]=r%a,r=Math.floor(r/a);return s}function v(e,t){var r,n,o=e.length,i=t.length,s=new Array(o),a=0;for(r=0;r0;)s[o++]=c%a,c=Math.floor(c/a);return s}function O(e,t){for(var r=[];t-- >0;)r.push(0);return r.concat(e)}function S(e,r,n){return new a(e=0;--r)o=(i=1e7*o+e[r])-(n=g(i/t))*t,a[r]=0|n;return[a,0|o]}function P(e,r){var n,o=$(r);if(i)return[new u(e.value/o.value),new u(e.value%o.value)];var l,m=e.value,y=o.value;if(0===y)throw new Error("Cannot divide by zero");if(e.isSmall)return o.isSmall?[new c(g(m/y)),new c(m%y)]:[s[0],e];if(o.isSmall){if(1===y)return[e,s[0]];if(-1==y)return[e.negate(),s[0]];var b=Math.abs(y);if(b=0;o--){for(n=h-1,b[o+f]!==m&&(n=Math.floor((b[o+f]*h+b[o+f-1])/m)),i=0,s=0,c=v.length,a=0;ac&&(o=1e7*(o+1)),r=Math.ceil(o/i);do{if(A(s=k(t,r),l)<=0)break;r--}while(r);u.push(r),l=v(l,s)}return u.reverse(),[d(u),d(l)]}(m,y))[0];var O=e.sign!==o.sign,S=n[1],E=e.sign;return"number"==typeof l?(O&&(l=-l),l=new c(l)):l=new a(l,O),"number"==typeof S?(E&&(S=-S),S=new c(S)):S=new a(S,E),[l,S]}function A(e,t){if(e.length!==t.length)return e.length>t.length?1:-1;for(var r=e.length-1;r>=0;r--)if(e[r]!==t[r])return e[r]>t[r]?1:-1;return 0}function x(e){var t=e.abs();return!t.isUnit()&&(!!(t.equals(2)||t.equals(3)||t.equals(5))||!(t.isEven()||t.isDivisibleBy(3)||t.isDivisibleBy(5))&&(!!t.lesser(49)||void 0))}function M(e,t){for(var r,n,i,s=e.prev(),a=s,c=0;a.isEven();)a=a.divide(2),c++;e:for(n=0;n=0?n=v(e,t):(n=v(t,e),r=!r),"number"==typeof(n=d(n))?(r&&(n=-n),new c(n)):new a(n,r)}(r,n,this.sign)},a.prototype.minus=a.prototype.subtract,c.prototype.subtract=function(e){var t=$(e),r=this.value;if(r<0!==t.sign)return this.add(t.negate());var n=t.value;return t.isSmall?new c(r-n):w(n,Math.abs(r),r>=0)},c.prototype.minus=c.prototype.subtract,u.prototype.subtract=function(e){return new u(this.value-$(e).value)},u.prototype.minus=u.prototype.subtract,a.prototype.negate=function(){return new a(this.value,!this.sign)},c.prototype.negate=function(){var e=this.sign,t=new c(-this.value);return t.sign=!e,t},u.prototype.negate=function(){return new u(-this.value)},a.prototype.abs=function(){return new a(this.value,!1)},c.prototype.abs=function(){return new c(Math.abs(this.value))},u.prototype.abs=function(){return new u(this.value>=0?this.value:-this.value)},a.prototype.multiply=function(e){var r,n,o,i=$(e),c=this.value,u=i.value,l=this.sign!==i.sign;if(i.isSmall){if(0===u)return s[0];if(1===u)return this;if(-1===u)return this.negate();if((r=Math.abs(u))0?function e(t,r){var n=Math.max(t.length,r.length);if(n<=30)return _(t,r);n=Math.ceil(n/2);var o=t.slice(n),i=t.slice(0,n),s=r.slice(n),a=r.slice(0,n),c=e(i,a),u=e(o,s),l=e(y(i,o),y(a,s)),f=y(y(c,O(v(v(l,c),u),n)),O(u,2*n));return h(f),f}(c,u):_(c,u),l)},a.prototype.times=a.prototype.multiply,c.prototype._multiplyBySmall=function(e){return l(e.value*this.value)?new c(e.value*this.value):S(Math.abs(e.value),f(Math.abs(this.value)),this.sign!==e.sign)},a.prototype._multiplyBySmall=function(e){return 0===e.value?s[0]:1===e.value?this:-1===e.value?this.negate():S(Math.abs(e.value),this.value,this.sign!==e.sign)},c.prototype.multiply=function(e){return $(e)._multiplyBySmall(this)},c.prototype.times=c.prototype.multiply,u.prototype.multiply=function(e){return new u(this.value*$(e).value)},u.prototype.times=u.prototype.multiply,a.prototype.square=function(){return new a(E(this.value),!1)},c.prototype.square=function(){var e=this.value*this.value;return l(e)?new c(e):new a(E(f(Math.abs(this.value))),!1)},u.prototype.square=function(e){return new u(this.value*this.value)},a.prototype.divmod=function(e){var t=P(this,e);return{quotient:t[0],remainder:t[1]}},u.prototype.divmod=c.prototype.divmod=a.prototype.divmod,a.prototype.divide=function(e){return P(this,e)[0]},u.prototype.over=u.prototype.divide=function(e){return new u(this.value/$(e).value)},c.prototype.over=c.prototype.divide=a.prototype.over=a.prototype.divide,a.prototype.mod=function(e){return P(this,e)[1]},u.prototype.mod=u.prototype.remainder=function(e){return new u(this.value%$(e).value)},c.prototype.remainder=c.prototype.mod=a.prototype.remainder=a.prototype.mod,a.prototype.pow=function(e){var t,r,n,o=$(e),i=this.value,a=o.value;if(0===a)return s[1];if(0===i)return s[0];if(1===i)return s[1];if(-1===i)return o.isEven()?s[1]:s[-1];if(o.sign)return s[0];if(!o.isSmall)throw new Error("The exponent "+o.toString()+" is too large.");if(this.isSmall&&l(t=Math.pow(i,a)))return new c(g(t));for(r=this,n=s[1];!0&a&&(n=n.times(r),--a),0!==a;)a/=2,r=r.square();return n},c.prototype.pow=a.prototype.pow,u.prototype.pow=function(e){var t=$(e),r=this.value,n=t.value,o=BigInt(0),i=BigInt(1),a=BigInt(2);if(n===o)return s[1];if(r===o)return s[0];if(r===i)return s[1];if(r===BigInt(-1))return t.isEven()?s[1]:s[-1];if(t.isNegative())return new u(o);for(var c=this,l=s[1];(n&i)===i&&(l=l.times(c),--n),n!==o;)n/=a,c=c.square();return l},a.prototype.modPow=function(e,t){if(e=$(e),(t=$(t)).isZero())throw new Error("Cannot take modPow with modulus 0");var r=s[1],n=this.mod(t);for(e.isNegative()&&(e=e.multiply(s[-1]),n=n.modInv(t));e.isPositive();){if(n.isZero())return s[0];e.isOdd()&&(r=r.multiply(n).mod(t)),e=e.divide(2),n=n.square().mod(t)}return r},u.prototype.modPow=c.prototype.modPow=a.prototype.modPow,a.prototype.compareAbs=function(e){var t=$(e),r=this.value,n=t.value;return t.isSmall?1:A(r,n)},c.prototype.compareAbs=function(e){var t=$(e),r=Math.abs(this.value),n=t.value;return t.isSmall?r===(n=Math.abs(n))?0:r>n?1:-1:-1},u.prototype.compareAbs=function(e){var t=this.value,r=$(e).value;return(t=t>=0?t:-t)===(r=r>=0?r:-r)?0:t>r?1:-1},a.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=$(e),r=this.value,n=t.value;return this.sign!==t.sign?t.sign?1:-1:t.isSmall?this.sign?-1:1:A(r,n)*(this.sign?-1:1)},a.prototype.compareTo=a.prototype.compare,c.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=$(e),r=this.value,n=t.value;return t.isSmall?r==n?0:r>n?1:-1:r<0!==t.sign?r<0?-1:1:r<0?1:-1},c.prototype.compareTo=c.prototype.compare,u.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=this.value,r=$(e).value;return t===r?0:t>r?1:-1},u.prototype.compareTo=u.prototype.compare,a.prototype.equals=function(e){return 0===this.compare(e)},u.prototype.eq=u.prototype.equals=c.prototype.eq=c.prototype.equals=a.prototype.eq=a.prototype.equals,a.prototype.notEquals=function(e){return 0!==this.compare(e)},u.prototype.neq=u.prototype.notEquals=c.prototype.neq=c.prototype.notEquals=a.prototype.neq=a.prototype.notEquals,a.prototype.greater=function(e){return this.compare(e)>0},u.prototype.gt=u.prototype.greater=c.prototype.gt=c.prototype.greater=a.prototype.gt=a.prototype.greater,a.prototype.lesser=function(e){return this.compare(e)<0},u.prototype.lt=u.prototype.lesser=c.prototype.lt=c.prototype.lesser=a.prototype.lt=a.prototype.lesser,a.prototype.greaterOrEquals=function(e){return this.compare(e)>=0},u.prototype.geq=u.prototype.greaterOrEquals=c.prototype.geq=c.prototype.greaterOrEquals=a.prototype.geq=a.prototype.greaterOrEquals,a.prototype.lesserOrEquals=function(e){return this.compare(e)<=0},u.prototype.leq=u.prototype.lesserOrEquals=c.prototype.leq=c.prototype.lesserOrEquals=a.prototype.leq=a.prototype.lesserOrEquals,a.prototype.isEven=function(){return 0==(1&this.value[0])},c.prototype.isEven=function(){return 0==(1&this.value)},u.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},a.prototype.isOdd=function(){return 1==(1&this.value[0])},c.prototype.isOdd=function(){return 1==(1&this.value)},u.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},a.prototype.isPositive=function(){return!this.sign},c.prototype.isPositive=function(){return this.value>0},u.prototype.isPositive=c.prototype.isPositive,a.prototype.isNegative=function(){return this.sign},c.prototype.isNegative=function(){return this.value<0},u.prototype.isNegative=c.prototype.isNegative,a.prototype.isUnit=function(){return!1},c.prototype.isUnit=function(){return 1===Math.abs(this.value)},u.prototype.isUnit=function(){return this.abs().value===BigInt(1)},a.prototype.isZero=function(){return!1},c.prototype.isZero=function(){return 0===this.value},u.prototype.isZero=function(){return this.value===BigInt(0)},a.prototype.isDivisibleBy=function(e){var t=$(e);return!t.isZero()&&(!!t.isUnit()||(0===t.compareAbs(2)?this.isEven():this.mod(t).isZero()))},u.prototype.isDivisibleBy=c.prototype.isDivisibleBy=a.prototype.isDivisibleBy,a.prototype.isPrime=function(e){var t=x(this);if(void 0!==t)return t;var r=this.abs(),n=r.bitLength();if(n<=64)return M(r,[2,3,5,7,11,13,17,19,23,29,31,37]);for(var i=Math.log(2)*n.toJSNumber(),s=Math.ceil(!0===e?2*Math.pow(i,2):i),a=[],c=0;c-r?new c(e-1):new a(n,!0)},u.prototype.prev=function(){return new u(this.value-BigInt(1))};for(var I=[1];2*I[I.length-1]<=t;)I.push(2*I[I.length-1]);var C=I.length,R=I[C-1];function T(e){return Math.abs(e)<=t}function N(e,t,r){t=$(t);for(var n=e.isNegative(),i=t.isNegative(),s=n?e.not():e,a=i?t.not():t,c=0,u=0,l=null,f=null,d=[];!s.isZero()||!a.isZero();)c=(l=P(s,R))[1].toJSNumber(),n&&(c=R-1-c),u=(f=P(a,R))[1].toJSNumber(),i&&(u=R-1-u),s=l[0],a=f[0],d.push(r(c,u));for(var h=0!==r(n?1:0,i?1:0)?o(-1):o(0),p=d.length-1;p>=0;p-=1)h=h.multiply(R).add(o(d[p]));return h}a.prototype.shiftLeft=function(e){var t=$(e).toJSNumber();if(!T(t))throw new Error(String(t)+" is too large for shifting.");if(t<0)return this.shiftRight(-t);var r=this;if(r.isZero())return r;for(;t>=C;)r=r.multiply(R),t-=C-1;return r.multiply(I[t])},u.prototype.shiftLeft=c.prototype.shiftLeft=a.prototype.shiftLeft,a.prototype.shiftRight=function(e){var t,r=$(e).toJSNumber();if(!T(r))throw new Error(String(r)+" is too large for shifting.");if(r<0)return this.shiftLeft(-r);for(var n=this;r>=C;){if(n.isZero()||n.isNegative()&&n.isUnit())return n;n=(t=P(n,R))[1].isNegative()?t[0].prev():t[0],r-=C-1}return(t=P(n,I[r]))[1].isNegative()?t[0].prev():t[0]},u.prototype.shiftRight=c.prototype.shiftRight=a.prototype.shiftRight,a.prototype.not=function(){return this.negate().prev()},u.prototype.not=c.prototype.not=a.prototype.not,a.prototype.and=function(e){return N(this,e,(function(e,t){return e&t}))},u.prototype.and=c.prototype.and=a.prototype.and,a.prototype.or=function(e){return N(this,e,(function(e,t){return e|t}))},u.prototype.or=c.prototype.or=a.prototype.or,a.prototype.xor=function(e){return N(this,e,(function(e,t){return e^t}))},u.prototype.xor=c.prototype.xor=a.prototype.xor;function B(e){var r=e.value,n="number"==typeof r?r|1<<30:"bigint"==typeof r?r|BigInt(1<<30):r[0]+r[1]*t|1073758208;return n&-n}function D(e,t){return e=$(e),t=$(t),e.greater(t)?e:t}function L(e,t){return e=$(e),t=$(t),e.lesser(t)?e:t}function U(e,t){if(e=$(e).abs(),t=$(t).abs(),e.equals(t))return e;if(e.isZero())return t;if(t.isZero())return e;for(var r,n,o=s[1];e.isEven()&&t.isEven();)r=L(B(e),B(t)),e=e.divide(r),t=t.divide(r),o=o.multiply(r);for(;e.isEven();)e=e.divide(B(e));do{for(;t.isEven();)t=t.divide(B(t));e.greater(t)&&(n=t,t=e,e=n),t=t.subtract(e)}while(!t.isZero());return o.isUnit()?e:e.multiply(o)}a.prototype.bitLength=function(){var e=this;return e.compareTo(o(0))<0&&(e=e.negate().subtract(o(1))),0===e.compareTo(o(0))?o(0):o(function e(t,r){if(r.compareTo(t)<=0){var n=e(t,r.square(r)),i=n.p,s=n.e,a=i.multiply(r);return a.compareTo(t)<=0?{p:a,e:2*s+1}:{p:i,e:2*s}}return{p:o(1),e:0}}(e,o(2)).e).add(o(1))},u.prototype.bitLength=c.prototype.bitLength=a.prototype.bitLength;var q=function(e,t,r,n){r=r||"0123456789abcdefghijklmnopqrstuvwxyz",e=String(e),n||(e=e.toLowerCase(),r=r.toLowerCase());var o,i=e.length,s=Math.abs(t),a={};for(o=0;o=s)){if("1"===l&&1===s)continue;throw new Error(l+" is not a valid digit in base "+t+".")}}t=$(t);var c=[],u="-"===e[0];for(o=u?1:0;o"!==e[o]&&o=0;n--)o=o.add(e[n].times(i)),i=i.times(t);return r?o.negate():o}function z(e,t){if((t=o(t)).isZero()){if(e.isZero())return{value:[0],isNegative:!1};throw new Error("Cannot convert nonzero numbers to base 0.")}if(t.equals(-1)){if(e.isZero())return{value:[0],isNegative:!1};if(e.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-e.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var r=Array.apply(null,Array(e.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return r.unshift([1]),{value:[].concat.apply([],r),isNegative:!1}}var n=!1;if(e.isNegative()&&t.isPositive()&&(n=!0,e=e.abs()),t.isUnit())return e.isZero()?{value:[0],isNegative:!1}:{value:Array.apply(null,Array(e.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:n};for(var i,s=[],a=e;a.isNegative()||a.compareAbs(t)>=0;){i=a.divmod(t),a=i.quotient;var c=i.remainder;c.isNegative()&&(c=t.minus(c).abs(),a=a.next()),s.push(c.toJSNumber())}return s.push(a.toJSNumber()),{value:s.reverse(),isNegative:n}}function K(e,t,r){var n=z(e,t);return(n.isNegative?"-":"")+n.value.map((function(e){return function(e,t){return e<(t=t||"0123456789abcdefghijklmnopqrstuvwxyz").length?t[e]:"<"+e+">"}(e,r)})).join("")}function F(e){if(l(+e)){var t=+e;if(t===g(t))return i?new u(BigInt(t)):new c(t);throw new Error("Invalid integer: "+e)}var r="-"===e[0];r&&(e=e.slice(1));var n=e.split(/e/i);if(n.length>2)throw new Error("Invalid integer: "+n.join("e"));if(2===n.length){var o=n[1];if("+"===o[0]&&(o=o.slice(1)),(o=+o)!==g(o)||!l(o))throw new Error("Invalid integer: "+o+" is not a valid exponent.");var s=n[0],f=s.indexOf(".");if(f>=0&&(o-=s.length-f-1,s=s.slice(0,f)+s.slice(f+1)),o<0)throw new Error("Cannot include negative exponent part for integers");e=s+=new Array(o+1).join("0")}if(!/^([0-9][0-9]*)$/.test(e))throw new Error("Invalid integer: "+e);if(i)return new u(BigInt(r?"-"+e:e));for(var d=[],p=e.length,m=p-7;p>0;)d.push(+e.slice(m,p)),(m-=7)<0&&(m=0),p-=7;return h(d),new a(d,r)}function $(e){return"number"==typeof e?function(e){if(i)return new u(BigInt(e));if(l(e)){if(e!==g(e))throw new Error(e+" is not an integer.");return new c(e)}return F(e.toString())}(e):"string"==typeof e?F(e):"bigint"==typeof e?new u(e):e}a.prototype.toArray=function(e){return z(this,e)},c.prototype.toArray=function(e){return z(this,e)},u.prototype.toArray=function(e){return z(this,e)},a.prototype.toString=function(e,t){if(void 0===e&&(e=10),10!==e)return K(this,e,t);for(var r,n=this.value,o=n.length,i=String(n[--o]);--o>=0;)r=String(n[o]),i+="0000000".slice(r.length)+r;return(this.sign?"-":"")+i},c.prototype.toString=function(e,t){return void 0===e&&(e=10),10!=e?K(this,e,t):String(this.value)},u.prototype.toString=c.prototype.toString,u.prototype.toJSON=a.prototype.toJSON=c.prototype.toJSON=function(){return this.toString()},a.prototype.valueOf=function(){return parseInt(this.toString(),10)},a.prototype.toJSNumber=a.prototype.valueOf,c.prototype.valueOf=function(){return this.value},c.prototype.toJSNumber=c.prototype.valueOf,u.prototype.valueOf=u.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};for(var V=0;V<1e3;V++)s[V]=$(V),V>0&&(s[-V]=$(-V));return s.one=s[1],s.zero=s[0],s.minusOne=s[-1],s.max=D,s.min=L,s.gcd=U,s.lcm=function(e,t){return e=$(e).abs(),t=$(t).abs(),e.divide(U(e,t)).multiply(t)},s.isInstance=function(e){return e instanceof a||e instanceof c||e instanceof u},s.randBetween=function(e,r,n){e=$(e),r=$(r);var o=n||Math.random,i=L(e,r),a=D(e,r).subtract(i).add(1);if(a.isSmall)return i.add(Math.floor(o()*a));for(var c=z(a,t).value,u=[],l=!0,f=0;fnew n.Coin(e.denom,e.amount))}static amountOf(e,t){const r=e.find(e=>e.denom===t);return r?r.amount:new o.Int(0)}static exclude(e,t){return e.filter(e=>0===t.indexOf(e.denom))}static concat(...e){if(0===e.length)return[];return e.slice().reduce((e,t)=>{const r=e.find(e=>e.denom===t.denom);if(r){const o=new n.Coin(r.denom,r.amount.add(t.amount));e.push(o)}else{const r=new n.Coin(t.denom,t.amount);e.push(r)}return e},[])}static getCoinFromDecimals(e,t,r){const o=e.find(e=>e.coinDenom===r);if(!o)throw new Error("Invalid currency");let s=new i.Dec(1);for(let e=0;ee.coinMinimalDenom===t.denom);r||(r={coinDecimals:0,coinDenom:t.denom,coinMinimalDenom:t.denom});let n=new i.Dec(1);for(let e=0;e0?".":"")+f}static coinToTrimmedString(e,t,r=" "){const n=new i.Dec(e.amount).quoTruncate(s.DecUtils.getPrecisionDec(t.coinDecimals));return`${s.DecUtils.trim(n)}${r}${t.coinDenom}`}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Coin=void 0;const n=r(116);class o{constructor(e,t){this.denom=e,this.amount=t instanceof n.Int?t:new n.Int(t)}static parse(e){const t=new RegExp("([0-9]+)[ ]*([a-zA-Z]+)").exec(e);if(!t||3!==t.length)throw new Error("Invalid coin str");const r=t[2],n=t[1];return new o(r,n)}toString(){return`${this.amount.toString()}${this.denom}`}}t.Coin=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TendermintTxTracer=void 0;const n=r(425),o=r(2);t.TendermintTxTracer=class{constructor(e,t,r={}){this.url=e,this.wsEndpoint=t,this.options=r,this.newBlockSubscribes=[],this.txSubscribes=new Map,this.pendingQueries=new Map,this.listeners={},this.onOpen=e=>{var t;this.newBlockSubscribes.length>0&&this.sendSubscribeBlockRpc();for(const[e,t]of this.txSubscribes)this.sendSubscribeTxRpc(e,t.hash);for(const[e,t]of this.pendingQueries)this.sendQueryRpc(e,t.method,t.params);for(const r of null!==(t=this.listeners.open)&&void 0!==t?t:[])r(e)},this.onMessage=e=>{var t,r,n,o,i;for(const r of null!==(t=this.listeners.message)&&void 0!==t?t:[])r(e);if(e.data)try{const t=JSON.parse(e.data);if((null==t?void 0:t.id)&&this.pendingQueries.has(t.id)&&(t.error?this.pendingQueries.get(t.id).rejector(new Error(t.error.data||t.error.message)):this.pendingQueries.get(t.id).resolver(t.result),this.pendingQueries.delete(t.id)),"tendermint/event/NewBlock"===(null===(n=null===(r=null==t?void 0:t.result)||void 0===r?void 0:r.data)||void 0===n?void 0:n.type))for(const e of this.newBlockSubscribes)e.handler(t.result.data.value);"tendermint/event/Tx"===(null===(i=null===(o=null==t?void 0:t.result)||void 0===o?void 0:o.data)||void 0===i?void 0:i.type)&&(null==t?void 0:t.id)&&this.txSubscribes.has(t.id)&&(t.error?this.txSubscribes.get(t.id).rejector(new Error(t.error.data||t.error.message)):this.txSubscribes.get(t.id).resolver(t.result.data.value.TxResult.result),this.txSubscribes.delete(t.id))}catch(e){console.log("Tendermint websocket jsonrpc response is not JSON: "+(e.message||e.toString()))}},this.onClose=e=>{var t;for(const r of null!==(t=this.listeners.close)&&void 0!==t?t:[])r(e)},this.ws=this.options.wsObject?new this.options.wsObject(this.getWsEndpoint()):new WebSocket(this.getWsEndpoint()),this.ws.onopen=this.onOpen,this.ws.onmessage=this.onMessage,this.ws.onclose=this.onClose}getWsEndpoint(){let e=this.url;if(e.startsWith("http")&&(e=e.replace("http","ws")),!e.endsWith(this.wsEndpoint)){const t=this.wsEndpoint.startsWith("/")?this.wsEndpoint:"/"+this.wsEndpoint;e=e.endsWith("/")?e+t.slice(1):e+t}return e}close(){this.ws.close()}get readyState(){switch(this.ws.readyState){case 0:return n.WsReadyState.CONNECTING;case 1:return n.WsReadyState.OPEN;case 2:return n.WsReadyState.CLOSING;case 3:return n.WsReadyState.CLOSED;default:return n.WsReadyState.NONE}}addEventListener(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)}subscribeBlock(e){this.newBlockSubscribes.push({handler:e}),1===this.newBlockSubscribes.length&&this.sendSubscribeBlockRpc()}sendSubscribeBlockRpc(){this.readyState===n.WsReadyState.OPEN&&this.ws.send(JSON.stringify({jsonrpc:"2.0",method:"subscribe",params:["tm.event='NewBlock'"],id:1}))}traceTx(e){return new Promise(t=>{this.queryTx(e).then(t).catch(()=>{}),this.subscribeTx(e).then(t)})}subscribeTx(e){const t=this.createRandomId();return new Promise((r,n)=>{this.txSubscribes.set(t,{hash:e,resolver:r,rejector:n}),this.sendSubscribeTxRpc(t,e)})}sendSubscribeTxRpc(e,t){this.readyState===n.WsReadyState.OPEN&&this.ws.send(JSON.stringify({jsonrpc:"2.0",method:"subscribe",params:[`tm.event='Tx' AND tx.hash='${o.Buffer.from(t).toString("hex").toUpperCase()}'`],id:e}))}queryTx(e){return this.query("tx",[o.Buffer.from(e).toString("base64"),!1])}query(e,t){const r=this.createRandomId();return new Promise((n,o)=>{this.pendingQueries.set(r,{method:e,params:t,resolver:n,rejector:o}),this.sendQueryRpc(r,e,t)})}sendQueryRpc(e,t,r){this.readyState===n.WsReadyState.OPEN&&this.ws.send(JSON.stringify({jsonrpc:"2.0",method:t,params:r,id:e}))}createRandomId(){return parseInt(Array.from({length:6}).map(()=>Math.floor(100*Math.random())).join(""))}}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProtoCodec=t.ProtoCodec=void 0;const i=r(118),s=r(118),a=r(241);o(r(241),t);class c{constructor(){this.typeUrlMap=new Map}unpackAny(e){const t=new i.google.protobuf.Any(e);return this.typeUrlMap.has(t.type_url)?this.typeUrlMap.get(t.type_url).decode(t.value):new a.UnknownMessage(t.type_url,t.value)}registerAny(e,t){this.typeUrlMap.set(e,t)}}t.ProtoCodec=c,t.defaultProtoCodec=new c,t.defaultProtoCodec.registerAny("/cosmos.bank.v1beta1.MsgSend",s.cosmos.bank.v1beta1.MsgSend),t.defaultProtoCodec.registerAny("/cosmos.staking.v1beta1.MsgDelegate",s.cosmos.staking.v1beta1.MsgDelegate),t.defaultProtoCodec.registerAny("/cosmos.staking.v1beta1.MsgUndelegate",s.cosmos.staking.v1beta1.MsgUndelegate),t.defaultProtoCodec.registerAny("/cosmos.staking.v1beta1.MsgBeginRedelegate",s.cosmos.staking.v1beta1.MsgBeginRedelegate)},function(e,t,r){"use strict";e.exports=f;var n,o=r(64),i=o.LongBits,s=o.base64,a=o.utf8;function c(e,t,r){this.fn=e,this.len=t,this.next=void 0,this.val=r}function u(){}function l(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function f(){this.len=0,this.head=new c(u,0,0),this.tail=this.head,this.states=null}var d=function(){return o.Buffer?function(){return(f.create=function(){return new n})()}:function(){return new f}};function h(e,t,r){t[r]=255&e}function p(e,t){this.len=e,this.next=void 0,this.val=t}function g(e,t,r){for(;e.hi;)t[r++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[r++]=127&e.lo|128,e.lo=e.lo>>>7;t[r++]=e.lo}function m(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}f.create=d(),f.alloc=function(e){return new o.Array(e)},o.Array!==Array&&(f.alloc=o.pool(f.alloc,o.Array.prototype.subarray)),f.prototype._push=function(e,t,r){return this.tail=this.tail.next=new c(e,t,r),this.len+=t,this},p.prototype=Object.create(c.prototype),p.prototype.fn=function(e,t,r){for(;e>127;)t[r++]=127&e|128,e>>>=7;t[r]=e},f.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new p((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},f.prototype.int32=function(e){return e<0?this._push(g,10,i.fromNumber(e)):this.uint32(e)},f.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},f.prototype.uint64=function(e){var t=i.from(e);return this._push(g,t.length(),t)},f.prototype.int64=f.prototype.uint64,f.prototype.sint64=function(e){var t=i.from(e).zzEncode();return this._push(g,t.length(),t)},f.prototype.bool=function(e){return this._push(h,1,e?1:0)},f.prototype.fixed32=function(e){return this._push(m,4,e>>>0)},f.prototype.sfixed32=f.prototype.fixed32,f.prototype.fixed64=function(e){var t=i.from(e);return this._push(m,4,t.lo)._push(m,4,t.hi)},f.prototype.sfixed64=f.prototype.fixed64,f.prototype.float=function(e){return this._push(o.float.writeFloatLE,4,e)},f.prototype.double=function(e){return this._push(o.float.writeDoubleLE,8,e)};var y=o.Array.prototype.set?function(e,t,r){t.set(e,r)}:function(e,t,r){for(var n=0;n>>0;if(!t)return this._push(h,1,0);if(o.isString(e)){var r=f.alloc(t=s.length(e));s.decode(e,r,0),e=r}return this.uint32(t)._push(y,t,e)},f.prototype.string=function(e){var t=a.length(e);return t?this.uint32(t)._push(a.write,t,e):this._push(h,1,0)},f.prototype.fork=function(){return this.states=new l(this),this.head=this.tail=new c(u,0,0),this.len=0,this},f.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new c(u,0,0),this.len=0),this},f.prototype.ldelim=function(){var e=this.head,t=this.tail,r=this.len;return this.reset().uint32(r),r&&(this.tail.next=e.next,this.tail=t,this.len+=r),this},f.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),r=0;e;)e.fn(e.val,t,r),r+=e.len,e=e.next;return t},f._configure=function(e){n=e,f.create=d(),n._configure()}},function(e,t,r){"use strict";e.exports=c;var n,o=r(64),i=o.LongBits,s=o.utf8;function a(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function c(e){this.buf=e,this.pos=0,this.len=e.length}var u,l="undefined"!=typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new c(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new c(e);throw Error("illegal buffer")},f=function(){return o.Buffer?function(e){return(c.create=function(e){return o.Buffer.isBuffer(e)?new n(e):l(e)})(e)}:l};function d(){var e=new i(0,0),t=0;if(!(this.len-this.pos>4)){for(;t<3;++t){if(this.pos>=this.len)throw a(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;if(t=0,this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw a(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function h(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function p(){if(this.pos+8>this.len)throw a(this,8);return new i(h(this.buf,this.pos+=4),h(this.buf,this.pos+=4))}c.create=f(),c.prototype._slice=o.Array.prototype.subarray||o.Array.prototype.slice,c.prototype.uint32=(u=4294967295,function(){if(u=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return u;if((this.pos+=5)>this.len)throw this.pos=this.len,a(this,10);return u}),c.prototype.int32=function(){return 0|this.uint32()},c.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},c.prototype.bool=function(){return 0!==this.uint32()},c.prototype.fixed32=function(){if(this.pos+4>this.len)throw a(this,4);return h(this.buf,this.pos+=4)},c.prototype.sfixed32=function(){if(this.pos+4>this.len)throw a(this,4);return 0|h(this.buf,this.pos+=4)},c.prototype.float=function(){if(this.pos+4>this.len)throw a(this,4);var e=o.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},c.prototype.double=function(){if(this.pos+8>this.len)throw a(this,4);var e=o.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},c.prototype.bytes=function(){var e=this.uint32(),t=this.pos,r=this.pos+e;if(r>this.len)throw a(this,e);return this.pos+=e,Array.isArray(this.buf)?this.buf.slice(t,r):t===r?new this.buf.constructor(0):this._slice.call(this.buf,t,r)},c.prototype.string=function(){var e=this.bytes();return s.read(e,0,e.length)},c.prototype.skip=function(e){if("number"==typeof e){if(this.pos+e>this.len)throw a(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw a(this)}while(128&this.buf[this.pos++]);return this},c.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(e=7&this.uint32());)this.skipType(e);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},c._configure=function(e){n=e,c.create=f(),n._configure();var t=o.Long?"toLong":"toNumber";o.merge(c.prototype,{int64:function(){return d.call(this)[t](!1)},uint64:function(){return d.call(this)[t](!0)},sint64:function(){return d.call(this).zzDecode()[t](!1)},fixed64:function(){return p.call(this)[t](!0)},sfixed64:function(){return p.call(this)[t](!1)}})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnknownMessage=void 0;const n=r(2);t.UnknownMessage=class{constructor(e,t){this._typeUrl=e,this._value=t}get typeUrl(){return this._typeUrl}get value(){return this._value}toJSON(){return{type_url:this._typeUrl,value:n.Buffer.from(this._value).toString("base64")}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProtoSignDocDecoder=void 0;const n=r(118),o=r(238);class i{constructor(e,t=o.defaultProtoCodec){this.signDoc=e,this.protoCodec=t}static decode(e){return new i(n.cosmos.tx.v1beta1.SignDoc.decode(e))}get txBody(){return this._txBody||(this._txBody=n.cosmos.tx.v1beta1.TxBody.decode(this.signDoc.bodyBytes)),this._txBody}get txMsgs(){const e=[];for(const t of this.txBody.messages)e.push(this.protoCodec.unpackAny(t));return e}get authInfo(){return this._authInfo||(this._authInfo=n.cosmos.tx.v1beta1.AuthInfo.decode(this.signDoc.authInfoBytes)),this._authInfo}get chainId(){return this.signDoc.chainId}get accountNumber(){return this.signDoc.accountNumber.toString()}toBytes(){return n.cosmos.tx.v1beta1.SignDoc.encode(this.signDoc).finish()}toJSON(){return{txBody:Object.assign(Object.assign({},this.txBody.toJSON()),{messages:this.txMsgs.map(e=>e&&e.toJSON?e.toJSON():e)}),authInfo:this.authInfo.toJSON(),chainId:this.chainId,accountNumber:this.accountNumber}}}t.ProtoSignDocDecoder=i},function(e,t,r){"use strict";(function(t,n){var o=r(119);e.exports=v;var i,s=r(237);v.ReadableState=b;r(51).EventEmitter;var a=function(e,t){return e.listeners(t).length},c=r(244),u=r(153).Buffer,l=t.Uint8Array||function(){};var f=Object.create(r(95));f.inherits=r(4);var d=r(446),h=void 0;h=d&&d.debuglog?d.debuglog("stream"):function(){};var p,g=r(447),m=r(245);f.inherits(v,c);var y=["error","close","destroy","pause","resume"];function b(e,t){e=e||{};var n=t instanceof(i=i||r(65));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var o=e.highWaterMark,s=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:n&&(s||0===s)?s:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=r(66).StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function v(e){if(i=i||r(65),!(this instanceof v))return new v(e);this._readableState=new b(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function w(e,t,r,n,o){var i,s=e._readableState;null===t?(s.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,O(e)}(e,s)):(o||(i=function(e,t){var r;n=t,u.isBuffer(n)||n instanceof l||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(s,t)),i?e.emit("error",i):s.objectMode||t&&t.length>0?("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=function(e){return u.from(e)}(t)),n?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):_(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?_(e,s,t,!1):E(e,s)):_(e,s,t,!1))):n||(s.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function O(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?o.nextTick(S,e):S(e))}function S(e){h("emit readable"),e.emit("readable"),x(e)}function E(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(j,e,t))}function j(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;ei.length?i.length:e;if(s===i.length?o+=i:o+=i.slice(0,e),0===(e-=s)){s===i.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=i.slice(s));break}++n}return t.length-=n,o}(e,t):function(e,t){var r=u.allocUnsafe(e),n=t.head,o=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var i=n.data,s=e>i.length?i.length:e;if(i.copy(r,r.length-e,0,s),0===(e-=s)){s===i.length?(++o,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(s));break}++o}return t.length-=o,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function I(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,o.nextTick(C,t,e))}function C(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function R(e,t){for(var r=0,n=e.length;r=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?I(this):O(this),null;if(0===(e=k(e,t))&&t.ended)return 0===t.length&&I(this),null;var n,o=t.needReadable;return h("need readable",o),(0===t.length||t.length-e0?M(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&I(this)),null!==n&&this.emit("data",n),n},v.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,h("pipe count=%d opts=%j",i.pipesCount,t);var c=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:v;function u(t,n){h("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,h("cleanup"),e.removeListener("close",y),e.removeListener("finish",b),e.removeListener("drain",f),e.removeListener("error",m),e.removeListener("unpipe",u),r.removeListener("end",l),r.removeListener("end",v),r.removeListener("data",g),d=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function l(){h("onend"),e.end()}i.endEmitted?o.nextTick(c):r.once("end",c),e.on("unpipe",u);var f=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,x(e))}}(r);e.on("drain",f);var d=!1;var p=!1;function g(t){h("ondata"),p=!1,!1!==e.write(t)||p||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==R(i.pipes,e))&&!d&&(h("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function m(t){h("onerror",t),v(),e.removeListener("error",m),0===a(e,"error")&&e.emit("error",t)}function y(){e.removeListener("finish",b),v()}function b(){h("onfinish"),e.removeListener("close",y),v()}function v(){h("unpipe"),r.unpipe(e)}return r.on("data",g),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?s(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",m),e.once("close",y),e.once("finish",b),e.emit("pipe",r),i.flowing||(h("pipe resume"),r.resume()),e},v.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i>>3},t.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},function(e,t,r){"use strict";var n=r(49),o=r(96),i=r(247),s=r(32),a=n.sum32,c=n.sum32_4,u=n.sum32_5,l=i.ch32,f=i.maj32,d=i.s0_256,h=i.s1_256,p=i.g0_256,g=i.g1_256,m=o.BlockHash,y=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function b(){if(!(this instanceof b))return new b;m.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=y,this.W=new Array(64)}n.inherits(b,m),e.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n=this._blockSize;){for(var i=this._blockOffset;i0;++s)this._length[s]+=a,(a=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*a);return this},i.prototype._update=function(){throw new Error("_update is not implemented")},i.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},i.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=i},function(e,t,r){"use strict";(function(t,n){var o;e.exports=E,E.ReadableState=S;r(51).EventEmitter;var i=function(e,t){return e.listeners(t).length},s=r(252),a=r(2).Buffer,c=t.Uint8Array||function(){};var u,l=r(459);u=l&&l.debuglog?l.debuglog("stream"):function(){};var f,d,h,p=r(460),g=r(253),m=r(254).getHighWaterMark,y=r(73).codes,b=y.ERR_INVALID_ARG_TYPE,v=y.ERR_STREAM_PUSH_AFTER_EOF,w=y.ERR_METHOD_NOT_IMPLEMENTED,_=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(4)(E,s);var k=g.errorOrDestroy,O=["error","close","destroy","pause","resume"];function S(e,t,n){o=o||r(74),e=e||{},"boolean"!=typeof n&&(n=t instanceof o),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",n),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=r(66).StringDecoder),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function E(e){if(o=o||r(74),!(this instanceof E))return new E(e);var t=this instanceof o;this._readableState=new S(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function j(e,t,r,n,o){u("readableAddChunk",t);var i,s=e._readableState;if(null===t)s.reading=!1,function(e,t){if(u("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?x(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,M(e)))}(e,s);else if(o||(i=function(e,t){var r;n=t,a.isBuffer(n)||n instanceof c||"string"==typeof t||void 0===t||e.objectMode||(r=new b("chunk",["string","Buffer","Uint8Array"],t));var n;return r}(s,t)),i)k(e,i);else if(s.objectMode||t&&t.length>0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),n)s.endEmitted?k(e,new _):P(e,s,t,!0);else if(s.ended)k(e,new v);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?P(e,s,t,!1):I(e,s)):P(e,s,t,!1)}else n||(s.reading=!1,I(e,s));return!s.ended&&(s.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function x(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(M,e))}function M(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,B(e)}function I(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(C,e,t))}function C(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function T(e){u("readable nexttick read 0"),e.read(0)}function N(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),B(e),t.flowing&&!t.reading&&e.read(0)}function B(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function D(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function L(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(U,t,e))}function U(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function q(e,t){for(var r=0,n=e.length;r=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?L(this):x(this),null;if(0===(e=A(e,t))&&t.ended)return 0===t.length&&L(this),null;var n,o=t.needReadable;return u("need readable",o),(0===t.length||t.length-e0?D(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&L(this)),null!==n&&this.emit("data",n),n},E.prototype._read=function(e){k(this,new w("_read()"))},E.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,u("pipe count=%d opts=%j",o.pipesCount,t);var s=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?c:m;function a(t,n){u("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,u("cleanup"),e.removeListener("close",p),e.removeListener("finish",g),e.removeListener("drain",l),e.removeListener("error",h),e.removeListener("unpipe",a),r.removeListener("end",c),r.removeListener("end",m),r.removeListener("data",d),f=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function c(){u("onend"),e.end()}o.endEmitted?n.nextTick(s):r.once("end",s),e.on("unpipe",a);var l=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,B(e))}}(r);e.on("drain",l);var f=!1;function d(t){u("ondata");var n=e.write(t);u("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==q(o.pipes,e))&&!f&&(u("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function h(t){u("onerror",t),m(),e.removeListener("error",h),0===i(e,"error")&&k(e,t)}function p(){e.removeListener("finish",g),m()}function g(){u("onfinish"),e.removeListener("close",p),m()}function m(){u("unpipe"),r.unpipe(e)}return r.on("data",d),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",h),e.once("close",p),e.once("finish",g),e.emit("pipe",r),o.flowing||(u("pipe resume"),r.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,u("on readable",o.length,o.reading),o.length?x(this):o.reading||n.nextTick(T,this))),r},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(e,t){var r=s.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(R,this),r},E.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(R,this),t},E.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(N,e,t))}(this,e)),e.paused=!1,this},E.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",(function(){if(u("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){(u("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))})),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(e,t,r){r(new g("_write()"))},E.prototype._writev=null,E.prototype.end=function(e,t,r){var o=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),o.corked&&(o.corked=1,this.uncork()),o.ending||function(e,t,r){t.ending=!0,I(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,o,r),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),E.prototype.destroy=f.destroy,E.prototype._undestroy=f.undestroy,E.prototype._destroy=function(e,t){t(e)}}).call(this,r(12),r(13))},function(e,t,r){"use strict";e.exports=l;var n=r(73).codes,o=n.ERR_METHOD_NOT_IMPLEMENTED,i=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=n.ERR_TRANSFORM_WITH_LENGTH_0,c=r(74);function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new i);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function d(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}n(c,o),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,o=0|this._b,i=0|this._c,a=0|this._d,c=0|this._e,p=0|this._f,g=0|this._g,m=0|this._h,y=0;y<16;++y)r[y]=e.readInt32BE(4*y);for(;y<64;++y)r[y]=0|(((t=r[y-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+r[y-7]+h(r[y-15])+r[y-16];for(var b=0;b<64;++b){var v=m+d(c)+u(c,p,g)+s[b]+r[b]|0,w=f(n)+l(n,o,i)|0;m=g,g=p,p=c,c=a+v|0,a=i,i=o,o=n,n=v+w|0}this._a=n+this._a|0,this._b=o+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=g+this._g|0,this._h=m+this._h|0},c.prototype._hash=function(){var e=i.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=c},function(e,t,r){var n=r(4),o=r(77),i=r(7).Buffer,s=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],a=new Array(160);function c(){this.init(),this._w=a,o.call(this,128,112)}function u(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function f(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function d(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function y(e,t){return e>>>0>>0?1:0}n(c,o),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,o=0|this._ch,i=0|this._dh,a=0|this._eh,c=0|this._fh,b=0|this._gh,v=0|this._hh,w=0|this._al,_=0|this._bl,k=0|this._cl,O=0|this._dl,S=0|this._el,E=0|this._fl,j=0|this._gl,P=0|this._hl,A=0;A<32;A+=2)t[A]=e.readInt32BE(4*A),t[A+1]=e.readInt32BE(4*A+4);for(;A<160;A+=2){var x=t[A-30],M=t[A-30+1],I=h(x,M),C=p(M,x),R=g(x=t[A-4],M=t[A-4+1]),T=m(M,x),N=t[A-14],B=t[A-14+1],D=t[A-32],L=t[A-32+1],U=C+B|0,q=I+N+y(U,C)|0;q=(q=q+R+y(U=U+T|0,T)|0)+D+y(U=U+L|0,L)|0,t[A]=q,t[A+1]=U}for(var H=0;H<160;H+=2){q=t[H],U=t[H+1];var z=l(r,n,o),K=l(w,_,k),F=f(r,w),$=f(w,r),V=d(a,S),J=d(S,a),G=s[H],W=s[H+1],Q=u(a,c,b),Z=u(S,E,j),Y=P+J|0,X=v+V+y(Y,P)|0;X=(X=(X=X+Q+y(Y=Y+Z|0,Z)|0)+G+y(Y=Y+W|0,W)|0)+q+y(Y=Y+U|0,U)|0;var ee=$+K|0,te=F+z+y(ee,$)|0;v=b,P=j,b=c,j=E,c=a,E=S,a=i+X+y(S=O+Y|0,O)|0,i=o,O=k,o=n,k=_,n=r,_=w,r=X+te+y(w=Y+ee|0,Y)|0}this._al=this._al+w|0,this._bl=this._bl+_|0,this._cl=this._cl+k|0,this._dl=this._dl+O|0,this._el=this._el+S|0,this._fl=this._fl+E|0,this._gl=this._gl+j|0,this._hl=this._hl+P|0,this._ah=this._ah+r+y(this._al,w)|0,this._bh=this._bh+n+y(this._bl,_)|0,this._ch=this._ch+o+y(this._cl,k)|0,this._dh=this._dh+i+y(this._dl,O)|0,this._eh=this._eh+a+y(this._el,S)|0,this._fh=this._fh+c+y(this._fl,E)|0,this._gh=this._gh+b+y(this._gl,j)|0,this._hh=this._hh+v+y(this._hl,P)|0},c.prototype._hash=function(){var e=i.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=c},function(e,t,r){var n=r(156);e.exports=function(e){return(new n).update(e).digest()}},function(e){e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},function(e,t){var r=Math.pow(2,30)-1;e.exports=function(e,t){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>r||t!=t)throw new TypeError("Bad key length")}},function(e,t,r){(function(t){var r;if(t.browser)r="utf-8";else if(t.version){r=parseInt(t.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else r="utf-8";e.exports=r}).call(this,r(13))},function(e,t,r){var n=r(259),o=r(75),i=r(76),s=r(7).Buffer,a=r(261),c=r(262),u=r(264),l=s.alloc(128),f={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(e,t,r){var a=function(e){function t(t){return i(e).update(t).digest()}return"rmd160"===e||"ripemd160"===e?function(e){return(new o).update(e).digest()}:"md5"===e?n:t}(e),c="sha512"===e||"sha384"===e?128:64;t.length>c?t=a(t):t.length>>0},t.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},t.ip=function(e,t,r,n){for(var o=0,i=0,s=6;s>=0;s-=2){for(var a=0;a<=24;a+=8)o<<=1,o|=t>>>a+s&1;for(a=0;a<=24;a+=8)o<<=1,o|=e>>>a+s&1}for(s=6;s>=0;s-=2){for(a=1;a<=25;a+=8)i<<=1,i|=t>>>a+s&1;for(a=1;a<=25;a+=8)i<<=1,i|=e>>>a+s&1}r[n+0]=o>>>0,r[n+1]=i>>>0},t.rip=function(e,t,r,n){for(var o=0,i=0,s=0;s<4;s++)for(var a=24;a>=0;a-=8)o<<=1,o|=t>>>a+s&1,o<<=1,o|=e>>>a+s&1;for(s=4;s<8;s++)for(a=24;a>=0;a-=8)i<<=1,i|=t>>>a+s&1,i<<=1,i|=e>>>a+s&1;r[n+0]=o>>>0,r[n+1]=i>>>0},t.pc1=function(e,t,r,n){for(var o=0,i=0,s=7;s>=5;s--){for(var a=0;a<=24;a+=8)o<<=1,o|=t>>a+s&1;for(a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1}for(a=0;a<=24;a+=8)o<<=1,o|=t>>a+s&1;for(s=1;s<=3;s++){for(a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+s&1}for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+s&1;r[n+0]=o>>>0,r[n+1]=i>>>0},t.r28shl=function(e,t){return e<>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,r,o){for(var i=0,s=0,a=n.length>>>1,c=0;c>>n[c]&1;for(c=a;c>>n[c]&1;r[o+0]=i>>>0,r[o+1]=s>>>0},t.expand=function(e,t,r){var n=0,o=0;n=(1&e)<<5|e>>>27;for(var i=23;i>=15;i-=4)n<<=6,n|=e>>>i&63;for(i=11;i>=3;i-=4)o|=e>>>i&63,o<<=6;o|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=o>>>0};var o=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var r=0,n=0;n<4;n++){r<<=4,r|=o[64*n+(e>>>18-6*n&63)]}for(n=0;n<4;n++){r<<=4,r|=o[256+64*n+(t>>>18-6*n&63)]}return r>>>0};var i=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,r=0;r>>i[r]&1;return t>>>0},t.padSplit=function(e,t,r){for(var n=e.toString(2);n.length>>1];r=i.r28shl(r,a),o=i.r28shl(o,a),i.pc2(r,o,e.keys,s)}},c.prototype._update=function(e,t,r,n){var o=this._desState,s=i.readUInt32BE(e,t),a=i.readUInt32BE(e,t+4);i.ip(s,a,o.tmp,0),s=o.tmp[0],a=o.tmp[1],"encrypt"===this.type?this._encrypt(o,s,a,o.tmp,0):this._decrypt(o,s,a,o.tmp,0),s=o.tmp[0],a=o.tmp[1],i.writeUInt32BE(r,s,n),i.writeUInt32BE(r,a,n+4)},c.prototype._pad=function(e,t){for(var r=e.length-t,n=t;n>>0,s=d}i.rip(a,s,n,o)},c.prototype._decrypt=function(e,t,r,n,o){for(var s=r,a=t,c=e.keys.length-2;c>=0;c-=2){var u=e.keys[c],l=e.keys[c+1];i.expand(s,e.tmp,0),u^=e.tmp[0],l^=e.tmp[1];var f=i.substitute(u,l),d=s;s=(a^i.permute(f))>>>0,a=d}i.rip(s,a,n,o)}},function(e,t,r){var n=r(98),o=r(7).Buffer,i=r(268);function s(e){var t=e._cipher.encryptBlockRaw(e._prev);return i(e._prev),t}t.encrypt=function(e,t){var r=Math.ceil(t.length/16),i=e._cache.length;e._cache=o.concat([e._cache,o.allocUnsafe(16*r)]);for(var a=0;ae;)r.ishrn(1);if(r.isEven()&&r.iadd(a),r.testn(1)||r.iadd(c),t.cmp(c)){if(!t.cmp(u))for(;r.mod(l).cmp(f);)r.iadd(h)}else for(;r.mod(i).cmp(d);)r.iadd(h);if(m(p=r.shrn(1))&&m(r)&&y(p)&&y(r)&&s.test(p)&&s.test(r))return r}}},function(e,t,r){var n=r(6),o=r(161);function i(e){this.rand=e||new o.Rand}e.exports=i,i.create=function(e){return new i(e)},i.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var o=new n(this.rand.generate(r))}while(o.cmp(e)>=0);return o},i.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},i.prototype.test=function(e,t,r){var o=e.bitLength(),i=n.mont(e),s=new n(1).toRed(i);t||(t=Math.max(1,o/48|0));for(var a=e.subn(1),c=0;!a.testn(c);c++);for(var u=e.shrn(c),l=a.toRed(i);t>0;t--){var f=this._randrange(new n(2),a);r&&r(f);var d=f.toRed(i).redPow(u);if(0!==d.cmp(s)&&0!==d.cmp(l)){for(var h=1;h0;t--){var l=this._randrange(new n(2),s),f=e.gcd(l);if(0!==f.cmpn(1))return f;var d=l.toRed(o).redPow(c);if(0!==d.cmp(i)&&0!==d.cmp(u)){for(var h=1;h0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),n)s.endEmitted?k(e,new _):P(e,s,t,!0);else if(s.ended)k(e,new v);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?P(e,s,t,!1):I(e,s)):P(e,s,t,!1)}else n||(s.reading=!1,I(e,s));return!s.ended&&(s.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function x(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(M,e))}function M(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,B(e)}function I(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(C,e,t))}function C(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function T(e){u("readable nexttick read 0"),e.read(0)}function N(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),B(e),t.flowing&&!t.reading&&e.read(0)}function B(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function D(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function L(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(U,t,e))}function U(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function q(e,t){for(var r=0,n=e.length;r=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?L(this):x(this),null;if(0===(e=A(e,t))&&t.ended)return 0===t.length&&L(this),null;var n,o=t.needReadable;return u("need readable",o),(0===t.length||t.length-e0?D(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&L(this)),null!==n&&this.emit("data",n),n},E.prototype._read=function(e){k(this,new w("_read()"))},E.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,u("pipe count=%d opts=%j",o.pipesCount,t);var s=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?c:m;function a(t,n){u("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,u("cleanup"),e.removeListener("close",p),e.removeListener("finish",g),e.removeListener("drain",l),e.removeListener("error",h),e.removeListener("unpipe",a),r.removeListener("end",c),r.removeListener("end",m),r.removeListener("data",d),f=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function c(){u("onend"),e.end()}o.endEmitted?n.nextTick(s):r.once("end",s),e.on("unpipe",a);var l=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,B(e))}}(r);e.on("drain",l);var f=!1;function d(t){u("ondata");var n=e.write(t);u("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==q(o.pipes,e))&&!f&&(u("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function h(t){u("onerror",t),m(),e.removeListener("error",h),0===i(e,"error")&&k(e,t)}function p(){e.removeListener("finish",g),m()}function g(){u("onfinish"),e.removeListener("close",p),m()}function m(){u("unpipe"),r.unpipe(e)}return r.on("data",d),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",h),e.once("close",p),e.once("finish",g),e.emit("pipe",r),o.flowing||(u("pipe resume"),r.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,u("on readable",o.length,o.reading),o.length?x(this):o.reading||n.nextTick(T,this))),r},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(e,t){var r=s.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(R,this),r},E.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(R,this),t},E.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(N,e,t))}(this,e)),e.paused=!1,this},E.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",(function(){if(u("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){(u("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))})),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(e,t,r){r(new g("_write()"))},E.prototype._writev=null,E.prototype.end=function(e,t,r){var o=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),o.corked&&(o.corked=1,this.uncork()),o.ending||function(e,t,r){t.ending=!0,I(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,o,r),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),E.prototype.destroy=f.destroy,E.prototype._undestroy=f.undestroy,E.prototype._destroy=function(e,t){t(e)}}).call(this,r(12),r(13))},function(e,t,r){"use strict";e.exports=l;var n=r(78).codes,o=n.ERR_METHOD_NOT_IMPLEMENTED,i=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=n.ERR_TRANSFORM_WITH_LENGTH_0,c=r(79);function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new i);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length>8,s=255&o;i?r.push(i,s):r.push(s)}return r},n.zero2=o,n.toHex=i,n.encode=function(e,t){return"hex"===t?i(e):e}},function(e,t,r){"use strict";var n=t;n.base=r(123),n.short=r(509),n.mont=r(510),n.edwards=r(511)},function(e,t,r){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function o(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function i(e,t,r){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var s;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{s=r(520).Buffer}catch(e){}function a(e,t,r){for(var o=0,i=Math.min(e.length,r),s=0,a=t;a=49&&u<=54?u-49+10:u>=17&&u<=22?u-17+10:u,s|=c}return n(!(240&s),"Invalid character in "+e),o}function c(e,t,r,o){for(var i=0,s=0,a=Math.min(e.length,r),c=t;c=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&s0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var o=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&o++,16===t?this._parseHex(e,o):this._parseBase(e,t,o),"-"===e[0]&&(this.negative=1),this._strip(),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var o=0;o=0;o-=3)s=e[o]|e[o-1]<<8|e[o-2]<<16,this.words[i]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);else if("le"===r)for(o=0,i=0;o>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);return this._strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=6)o=a(e,r,r+6),this.words[n]|=o<>>26-i&4194303,(i+=24)>=26&&(i-=26,n++);r+6!==t&&(o=a(e,t,r+6),this.words[n]|=o<>>26-i&4194303),this._strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,o=1;o<=67108863;o*=t)n++;n--,o=o/t|0;for(var i=e.length-r,s=i%n,a=Math.min(i,i-s)+r,u=0,l=r;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch(e){i.prototype.inspect=l}else i.prototype.inspect=l;function l(){return(this.red?""}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var o=0,i=0,s=0;s>>24-o&16777215)||s!==this.length-1?f[6-c.length]+c+r:c+r,(o+=2)>=26&&(o-=26,s--)}for(0!==i&&(r=i.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],l=h[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modrn(l).toString(e);r=(p=p.idivn(l)).isZero()?g+r:f[u-g.length]+g+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16,2)},s&&(i.prototype.toBuffer=function(e,t){return this.toArrayLike(s,e,t)}),i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function p(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var o=0|e.words[0],i=0|t.words[0],s=o*i,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var u=1;u>>26,f=67108863&c,d=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=d;h++){var p=u-h|0;l+=(s=(o=0|e.words[p])*(i=0|t.words[h])+f)/67108864|0,f=67108863&s}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r._strip()}i.prototype.toArrayLike=function(e,t,r){this._strip();var o=this.byteLength(),i=r||Math.max(1,o);n(o<=i,"byte array longer than desired length"),n(i>0,"Requested array length <= 0");var s=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,i);return this["_toArrayLike"+("le"===t?"LE":"BE")](s,o),s},i.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,o=0,i=0;o>8&255),r>16&255),6===i?(r>24&255),n=0,i=0):(n=s>>>24,i+=2)}if(r=0&&(e[r--]=s>>8&255),r>=0&&(e[r--]=s>>16&255),6===i?(r>=0&&(e[r--]=s>>24&255),n=0,i=0):(n=s>>>24,i+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;re.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var o=0;o0&&(this.words[o]=~this.words[o]&67108863>>26-r),this._strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,o=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(r=this,n=e):(r=e,n=this);for(var o=0,i=0;i>>26;for(;0!==o&&i>>26;if(this.length=r.length,0!==o)this.words[this.length]=o,this.length++;else if(r!==this)for(;ie.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,o=this.cmp(e);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(r=this,n=e):(r=e,n=this);for(var i=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==i&&s>26,this.words[s]=67108863&t;if(0===i&&s>>13,h=0|s[1],p=8191&h,g=h>>>13,m=0|s[2],y=8191&m,b=m>>>13,v=0|s[3],w=8191&v,_=v>>>13,k=0|s[4],O=8191&k,S=k>>>13,E=0|s[5],j=8191&E,P=E>>>13,A=0|s[6],x=8191&A,M=A>>>13,I=0|s[7],C=8191&I,R=I>>>13,T=0|s[8],N=8191&T,B=T>>>13,D=0|s[9],L=8191&D,U=D>>>13,q=0|a[0],H=8191&q,z=q>>>13,K=0|a[1],F=8191&K,$=K>>>13,V=0|a[2],J=8191&V,G=V>>>13,W=0|a[3],Q=8191&W,Z=W>>>13,Y=0|a[4],X=8191&Y,ee=Y>>>13,te=0|a[5],re=8191&te,ne=te>>>13,oe=0|a[6],ie=8191&oe,se=oe>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,le=0|a[8],fe=8191&le,de=le>>>13,he=0|a[9],pe=8191&he,ge=he>>>13;r.negative=e.negative^t.negative,r.length=19;var me=(u+(n=Math.imul(f,H))|0)+((8191&(o=(o=Math.imul(f,z))+Math.imul(d,H)|0))<<13)|0;u=((i=Math.imul(d,z))+(o>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(p,H),o=(o=Math.imul(p,z))+Math.imul(g,H)|0,i=Math.imul(g,z);var ye=(u+(n=n+Math.imul(f,F)|0)|0)+((8191&(o=(o=o+Math.imul(f,$)|0)+Math.imul(d,F)|0))<<13)|0;u=((i=i+Math.imul(d,$)|0)+(o>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(y,H),o=(o=Math.imul(y,z))+Math.imul(b,H)|0,i=Math.imul(b,z),n=n+Math.imul(p,F)|0,o=(o=o+Math.imul(p,$)|0)+Math.imul(g,F)|0,i=i+Math.imul(g,$)|0;var be=(u+(n=n+Math.imul(f,J)|0)|0)+((8191&(o=(o=o+Math.imul(f,G)|0)+Math.imul(d,J)|0))<<13)|0;u=((i=i+Math.imul(d,G)|0)+(o>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(w,H),o=(o=Math.imul(w,z))+Math.imul(_,H)|0,i=Math.imul(_,z),n=n+Math.imul(y,F)|0,o=(o=o+Math.imul(y,$)|0)+Math.imul(b,F)|0,i=i+Math.imul(b,$)|0,n=n+Math.imul(p,J)|0,o=(o=o+Math.imul(p,G)|0)+Math.imul(g,J)|0,i=i+Math.imul(g,G)|0;var ve=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(o=(o=o+Math.imul(f,Z)|0)+Math.imul(d,Q)|0))<<13)|0;u=((i=i+Math.imul(d,Z)|0)+(o>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(O,H),o=(o=Math.imul(O,z))+Math.imul(S,H)|0,i=Math.imul(S,z),n=n+Math.imul(w,F)|0,o=(o=o+Math.imul(w,$)|0)+Math.imul(_,F)|0,i=i+Math.imul(_,$)|0,n=n+Math.imul(y,J)|0,o=(o=o+Math.imul(y,G)|0)+Math.imul(b,J)|0,i=i+Math.imul(b,G)|0,n=n+Math.imul(p,Q)|0,o=(o=o+Math.imul(p,Z)|0)+Math.imul(g,Q)|0,i=i+Math.imul(g,Z)|0;var we=(u+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,ee)|0)+Math.imul(d,X)|0))<<13)|0;u=((i=i+Math.imul(d,ee)|0)+(o>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(j,H),o=(o=Math.imul(j,z))+Math.imul(P,H)|0,i=Math.imul(P,z),n=n+Math.imul(O,F)|0,o=(o=o+Math.imul(O,$)|0)+Math.imul(S,F)|0,i=i+Math.imul(S,$)|0,n=n+Math.imul(w,J)|0,o=(o=o+Math.imul(w,G)|0)+Math.imul(_,J)|0,i=i+Math.imul(_,G)|0,n=n+Math.imul(y,Q)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(b,Q)|0,i=i+Math.imul(b,Z)|0,n=n+Math.imul(p,X)|0,o=(o=o+Math.imul(p,ee)|0)+Math.imul(g,X)|0,i=i+Math.imul(g,ee)|0;var _e=(u+(n=n+Math.imul(f,re)|0)|0)+((8191&(o=(o=o+Math.imul(f,ne)|0)+Math.imul(d,re)|0))<<13)|0;u=((i=i+Math.imul(d,ne)|0)+(o>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(x,H),o=(o=Math.imul(x,z))+Math.imul(M,H)|0,i=Math.imul(M,z),n=n+Math.imul(j,F)|0,o=(o=o+Math.imul(j,$)|0)+Math.imul(P,F)|0,i=i+Math.imul(P,$)|0,n=n+Math.imul(O,J)|0,o=(o=o+Math.imul(O,G)|0)+Math.imul(S,J)|0,i=i+Math.imul(S,G)|0,n=n+Math.imul(w,Q)|0,o=(o=o+Math.imul(w,Z)|0)+Math.imul(_,Q)|0,i=i+Math.imul(_,Z)|0,n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,ee)|0)+Math.imul(b,X)|0,i=i+Math.imul(b,ee)|0,n=n+Math.imul(p,re)|0,o=(o=o+Math.imul(p,ne)|0)+Math.imul(g,re)|0,i=i+Math.imul(g,ne)|0;var ke=(u+(n=n+Math.imul(f,ie)|0)|0)+((8191&(o=(o=o+Math.imul(f,se)|0)+Math.imul(d,ie)|0))<<13)|0;u=((i=i+Math.imul(d,se)|0)+(o>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(C,H),o=(o=Math.imul(C,z))+Math.imul(R,H)|0,i=Math.imul(R,z),n=n+Math.imul(x,F)|0,o=(o=o+Math.imul(x,$)|0)+Math.imul(M,F)|0,i=i+Math.imul(M,$)|0,n=n+Math.imul(j,J)|0,o=(o=o+Math.imul(j,G)|0)+Math.imul(P,J)|0,i=i+Math.imul(P,G)|0,n=n+Math.imul(O,Q)|0,o=(o=o+Math.imul(O,Z)|0)+Math.imul(S,Q)|0,i=i+Math.imul(S,Z)|0,n=n+Math.imul(w,X)|0,o=(o=o+Math.imul(w,ee)|0)+Math.imul(_,X)|0,i=i+Math.imul(_,ee)|0,n=n+Math.imul(y,re)|0,o=(o=o+Math.imul(y,ne)|0)+Math.imul(b,re)|0,i=i+Math.imul(b,ne)|0,n=n+Math.imul(p,ie)|0,o=(o=o+Math.imul(p,se)|0)+Math.imul(g,ie)|0,i=i+Math.imul(g,se)|0;var Oe=(u+(n=n+Math.imul(f,ce)|0)|0)+((8191&(o=(o=o+Math.imul(f,ue)|0)+Math.imul(d,ce)|0))<<13)|0;u=((i=i+Math.imul(d,ue)|0)+(o>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(N,H),o=(o=Math.imul(N,z))+Math.imul(B,H)|0,i=Math.imul(B,z),n=n+Math.imul(C,F)|0,o=(o=o+Math.imul(C,$)|0)+Math.imul(R,F)|0,i=i+Math.imul(R,$)|0,n=n+Math.imul(x,J)|0,o=(o=o+Math.imul(x,G)|0)+Math.imul(M,J)|0,i=i+Math.imul(M,G)|0,n=n+Math.imul(j,Q)|0,o=(o=o+Math.imul(j,Z)|0)+Math.imul(P,Q)|0,i=i+Math.imul(P,Z)|0,n=n+Math.imul(O,X)|0,o=(o=o+Math.imul(O,ee)|0)+Math.imul(S,X)|0,i=i+Math.imul(S,ee)|0,n=n+Math.imul(w,re)|0,o=(o=o+Math.imul(w,ne)|0)+Math.imul(_,re)|0,i=i+Math.imul(_,ne)|0,n=n+Math.imul(y,ie)|0,o=(o=o+Math.imul(y,se)|0)+Math.imul(b,ie)|0,i=i+Math.imul(b,se)|0,n=n+Math.imul(p,ce)|0,o=(o=o+Math.imul(p,ue)|0)+Math.imul(g,ce)|0,i=i+Math.imul(g,ue)|0;var Se=(u+(n=n+Math.imul(f,fe)|0)|0)+((8191&(o=(o=o+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;u=((i=i+Math.imul(d,de)|0)+(o>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(L,H),o=(o=Math.imul(L,z))+Math.imul(U,H)|0,i=Math.imul(U,z),n=n+Math.imul(N,F)|0,o=(o=o+Math.imul(N,$)|0)+Math.imul(B,F)|0,i=i+Math.imul(B,$)|0,n=n+Math.imul(C,J)|0,o=(o=o+Math.imul(C,G)|0)+Math.imul(R,J)|0,i=i+Math.imul(R,G)|0,n=n+Math.imul(x,Q)|0,o=(o=o+Math.imul(x,Z)|0)+Math.imul(M,Q)|0,i=i+Math.imul(M,Z)|0,n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,ee)|0)+Math.imul(P,X)|0,i=i+Math.imul(P,ee)|0,n=n+Math.imul(O,re)|0,o=(o=o+Math.imul(O,ne)|0)+Math.imul(S,re)|0,i=i+Math.imul(S,ne)|0,n=n+Math.imul(w,ie)|0,o=(o=o+Math.imul(w,se)|0)+Math.imul(_,ie)|0,i=i+Math.imul(_,se)|0,n=n+Math.imul(y,ce)|0,o=(o=o+Math.imul(y,ue)|0)+Math.imul(b,ce)|0,i=i+Math.imul(b,ue)|0,n=n+Math.imul(p,fe)|0,o=(o=o+Math.imul(p,de)|0)+Math.imul(g,fe)|0,i=i+Math.imul(g,de)|0;var Ee=(u+(n=n+Math.imul(f,pe)|0)|0)+((8191&(o=(o=o+Math.imul(f,ge)|0)+Math.imul(d,pe)|0))<<13)|0;u=((i=i+Math.imul(d,ge)|0)+(o>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(L,F),o=(o=Math.imul(L,$))+Math.imul(U,F)|0,i=Math.imul(U,$),n=n+Math.imul(N,J)|0,o=(o=o+Math.imul(N,G)|0)+Math.imul(B,J)|0,i=i+Math.imul(B,G)|0,n=n+Math.imul(C,Q)|0,o=(o=o+Math.imul(C,Z)|0)+Math.imul(R,Q)|0,i=i+Math.imul(R,Z)|0,n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,ee)|0)+Math.imul(M,X)|0,i=i+Math.imul(M,ee)|0,n=n+Math.imul(j,re)|0,o=(o=o+Math.imul(j,ne)|0)+Math.imul(P,re)|0,i=i+Math.imul(P,ne)|0,n=n+Math.imul(O,ie)|0,o=(o=o+Math.imul(O,se)|0)+Math.imul(S,ie)|0,i=i+Math.imul(S,se)|0,n=n+Math.imul(w,ce)|0,o=(o=o+Math.imul(w,ue)|0)+Math.imul(_,ce)|0,i=i+Math.imul(_,ue)|0,n=n+Math.imul(y,fe)|0,o=(o=o+Math.imul(y,de)|0)+Math.imul(b,fe)|0,i=i+Math.imul(b,de)|0;var je=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(o=(o=o+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;u=((i=i+Math.imul(g,ge)|0)+(o>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(L,J),o=(o=Math.imul(L,G))+Math.imul(U,J)|0,i=Math.imul(U,G),n=n+Math.imul(N,Q)|0,o=(o=o+Math.imul(N,Z)|0)+Math.imul(B,Q)|0,i=i+Math.imul(B,Z)|0,n=n+Math.imul(C,X)|0,o=(o=o+Math.imul(C,ee)|0)+Math.imul(R,X)|0,i=i+Math.imul(R,ee)|0,n=n+Math.imul(x,re)|0,o=(o=o+Math.imul(x,ne)|0)+Math.imul(M,re)|0,i=i+Math.imul(M,ne)|0,n=n+Math.imul(j,ie)|0,o=(o=o+Math.imul(j,se)|0)+Math.imul(P,ie)|0,i=i+Math.imul(P,se)|0,n=n+Math.imul(O,ce)|0,o=(o=o+Math.imul(O,ue)|0)+Math.imul(S,ce)|0,i=i+Math.imul(S,ue)|0,n=n+Math.imul(w,fe)|0,o=(o=o+Math.imul(w,de)|0)+Math.imul(_,fe)|0,i=i+Math.imul(_,de)|0;var Pe=(u+(n=n+Math.imul(y,pe)|0)|0)+((8191&(o=(o=o+Math.imul(y,ge)|0)+Math.imul(b,pe)|0))<<13)|0;u=((i=i+Math.imul(b,ge)|0)+(o>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(L,Q),o=(o=Math.imul(L,Z))+Math.imul(U,Q)|0,i=Math.imul(U,Z),n=n+Math.imul(N,X)|0,o=(o=o+Math.imul(N,ee)|0)+Math.imul(B,X)|0,i=i+Math.imul(B,ee)|0,n=n+Math.imul(C,re)|0,o=(o=o+Math.imul(C,ne)|0)+Math.imul(R,re)|0,i=i+Math.imul(R,ne)|0,n=n+Math.imul(x,ie)|0,o=(o=o+Math.imul(x,se)|0)+Math.imul(M,ie)|0,i=i+Math.imul(M,se)|0,n=n+Math.imul(j,ce)|0,o=(o=o+Math.imul(j,ue)|0)+Math.imul(P,ce)|0,i=i+Math.imul(P,ue)|0,n=n+Math.imul(O,fe)|0,o=(o=o+Math.imul(O,de)|0)+Math.imul(S,fe)|0,i=i+Math.imul(S,de)|0;var Ae=(u+(n=n+Math.imul(w,pe)|0)|0)+((8191&(o=(o=o+Math.imul(w,ge)|0)+Math.imul(_,pe)|0))<<13)|0;u=((i=i+Math.imul(_,ge)|0)+(o>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(L,X),o=(o=Math.imul(L,ee))+Math.imul(U,X)|0,i=Math.imul(U,ee),n=n+Math.imul(N,re)|0,o=(o=o+Math.imul(N,ne)|0)+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,n=n+Math.imul(C,ie)|0,o=(o=o+Math.imul(C,se)|0)+Math.imul(R,ie)|0,i=i+Math.imul(R,se)|0,n=n+Math.imul(x,ce)|0,o=(o=o+Math.imul(x,ue)|0)+Math.imul(M,ce)|0,i=i+Math.imul(M,ue)|0,n=n+Math.imul(j,fe)|0,o=(o=o+Math.imul(j,de)|0)+Math.imul(P,fe)|0,i=i+Math.imul(P,de)|0;var xe=(u+(n=n+Math.imul(O,pe)|0)|0)+((8191&(o=(o=o+Math.imul(O,ge)|0)+Math.imul(S,pe)|0))<<13)|0;u=((i=i+Math.imul(S,ge)|0)+(o>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(L,re),o=(o=Math.imul(L,ne))+Math.imul(U,re)|0,i=Math.imul(U,ne),n=n+Math.imul(N,ie)|0,o=(o=o+Math.imul(N,se)|0)+Math.imul(B,ie)|0,i=i+Math.imul(B,se)|0,n=n+Math.imul(C,ce)|0,o=(o=o+Math.imul(C,ue)|0)+Math.imul(R,ce)|0,i=i+Math.imul(R,ue)|0,n=n+Math.imul(x,fe)|0,o=(o=o+Math.imul(x,de)|0)+Math.imul(M,fe)|0,i=i+Math.imul(M,de)|0;var Me=(u+(n=n+Math.imul(j,pe)|0)|0)+((8191&(o=(o=o+Math.imul(j,ge)|0)+Math.imul(P,pe)|0))<<13)|0;u=((i=i+Math.imul(P,ge)|0)+(o>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(L,ie),o=(o=Math.imul(L,se))+Math.imul(U,ie)|0,i=Math.imul(U,se),n=n+Math.imul(N,ce)|0,o=(o=o+Math.imul(N,ue)|0)+Math.imul(B,ce)|0,i=i+Math.imul(B,ue)|0,n=n+Math.imul(C,fe)|0,o=(o=o+Math.imul(C,de)|0)+Math.imul(R,fe)|0,i=i+Math.imul(R,de)|0;var Ie=(u+(n=n+Math.imul(x,pe)|0)|0)+((8191&(o=(o=o+Math.imul(x,ge)|0)+Math.imul(M,pe)|0))<<13)|0;u=((i=i+Math.imul(M,ge)|0)+(o>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(L,ce),o=(o=Math.imul(L,ue))+Math.imul(U,ce)|0,i=Math.imul(U,ue),n=n+Math.imul(N,fe)|0,o=(o=o+Math.imul(N,de)|0)+Math.imul(B,fe)|0,i=i+Math.imul(B,de)|0;var Ce=(u+(n=n+Math.imul(C,pe)|0)|0)+((8191&(o=(o=o+Math.imul(C,ge)|0)+Math.imul(R,pe)|0))<<13)|0;u=((i=i+Math.imul(R,ge)|0)+(o>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(L,fe),o=(o=Math.imul(L,de))+Math.imul(U,fe)|0,i=Math.imul(U,de);var Re=(u+(n=n+Math.imul(N,pe)|0)|0)+((8191&(o=(o=o+Math.imul(N,ge)|0)+Math.imul(B,pe)|0))<<13)|0;u=((i=i+Math.imul(B,ge)|0)+(o>>>13)|0)+(Re>>>26)|0,Re&=67108863;var Te=(u+(n=Math.imul(L,pe))|0)+((8191&(o=(o=Math.imul(L,ge))+Math.imul(U,pe)|0))<<13)|0;return u=((i=Math.imul(U,ge))+(o>>>13)|0)+(Te>>>26)|0,Te&=67108863,c[0]=me,c[1]=ye,c[2]=be,c[3]=ve,c[4]=we,c[5]=_e,c[6]=ke,c[7]=Oe,c[8]=Se,c[9]=Ee,c[10]=je,c[11]=Pe,c[12]=Ae,c[13]=xe,c[14]=Me,c[15]=Ie,c[16]=Ce,c[17]=Re,c[18]=Te,0!==u&&(c[19]=u,r.length++),r};function m(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,o=0,i=0;i>>26)|0)>>>26,s&=67108863}r.words[i]=a,n=s,s=o}return 0!==n?r.words[i]=n:r.length--,r._strip()}function y(e,t,r){return m(e,t,r)}function b(e,t){this.x=e,this.y=t}Math.imul||(g=p),i.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):r<63?p(this,e,t):r<1024?m(this,e,t):y(this,e,t)},b.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n>=1;return n},b.prototype.permute=function(e,t,r,n,o,i){for(var s=0;s>>=1)o++;return 1<>>=13,r[2*s+1]=8191&i,i>>>=13;for(s=2*t;s>=26,r+=i/67108864|0,r+=s>>>26,this.words[o]=67108863&s}return 0!==r&&(this.words[o]=r,this.length++),t?this.ineg():this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r>>o&1}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n=0);var t,r=e%26,o=(e-r)/26,i=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(t=0;t>>26-r}s&&(this.words[t]=s,this.length++)}if(0!==o){for(t=this.length-1;t>=0;t--)this.words[t+o]=this.words[t];for(t=0;t=0),o=t?(t-t%26)/26:0;var i=e%26,s=Math.min((e-i)/26,this.length),a=67108863^67108863>>>i<s)for(this.length-=s,u=0;u=0&&(0!==l||u>=o);u--){var f=0|this.words[u];this.words[u]=l<<26-i|f>>>i,l=f&a}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,o=1<=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var o=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[o+r]=67108863&i}for(;o>26,this.words[o+r]=67108863&i;if(0===a)return this._strip();for(n(-1===a),a=0,o=0;o>26,this.words[o]=67108863&i;return this.negative=1,this._strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),o=e,s=0|o.words[o.length-1];0!==(r=26-this._countBits(s))&&(o=o.ushln(r),n.iushln(r),s=0|o.words[o.length-1]);var a,c=n.length-o.length;if("mod"!==t){(a=new i(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u=0;f--){var d=67108864*(0|n.words[o.length+f])+(0|n.words[o.length+f-1]);for(d=Math.min(d/s|0,67108863),n._ishlnsubmul(o,d,f);0!==n.negative;)d--,n.negative=0,n._ishlnsubmul(o,1,f),n.isZero()||(n.negative^=1);a&&(a.words[f]=d)}return a&&a._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.iadd(e)),{div:o,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modrn(e.words[0]))}:this._wordDiv(e,t);var o,s,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),o=e.andln(1),i=r.cmp(n);return i<0||1===o&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,o=0,i=this.length-1;i>=0;i--)o=(r*o+(0|this.words[i]))%e;return t?-o:o},i.prototype.modn=function(e){return this.modrn(e)},i.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,o=this.length-1;o>=0;o--){var i=(0|this.words[o])+67108864*r;this.words[o]=i/e|0,r=i%e}return this._strip(),t?this.ineg():this},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),s=new i(0),a=new i(0),c=new i(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0==(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(l),s.isub(f)),o.iushrn(1),s.iushrn(1);for(var p=0,g=1;0==(r.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(l),c.isub(f)),a.iushrn(1),c.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a),s.isub(c)):(r.isub(t),a.isub(o),c.isub(s))}return{a:a,b:c,gcd:r.iushln(u)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o,s=new i(1),a=new i(0),c=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var f=0,d=1;0==(r.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(r.iushrn(f);f-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),s.isub(a)):(r.isub(t),a.isub(s))}return(o=0===t.cmpn(1)?s:a).cmpn(0)<0&&o.iadd(e),o},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var o=t.cmp(r);if(o<0){var i=t;t=r,r=i}else if(0===o||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,o=1<>>26,a&=67108863,this.words[s]=a}return 0!==i&&(this.words[s]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var o=0|this.words[0];t=o===e?0:oe.length)return 1;if(this.length=0;r--){var n=0|this.words[r],o=0|e.words[r];if(n!==o){no&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new E(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function O(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function j(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},o(_,w),_.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n>>22,o=i}o>>>=22,e.words[n-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r>>=26,e.words[r]=o,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(v[e])return v[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new k;else if("p192"===e)t=new O;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new S}return v[e]=t,t},E.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);n(!o.isZero());var a=new i(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,o),d=this.pow(e,o.addn(1).iushrn(1)),h=this.pow(e,o),p=s;0!==h.cmp(a);){for(var g=h,m=0;0!==g.cmp(a);m++)g=g.redSqr();n(m=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var f=u>>l&1;o!==r[0]&&(o=this.sqr(o)),0!==f||0!==s?(s<<=1,s|=f,(4===++a||0===n&&0===l)&&(o=this.mul(o,r[s]),a=0,s=0)):a=0}c=26}return o},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new j(e)},o(j,E),j.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},j.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},j.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),i=o;return o.cmp(this.m)>=0?i=o.isub(this.m):o.cmpn(0)<0&&(i=o.iadd(this.m)),i._forceRed(this)},j.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},j.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(71)(e))},function(e,t,r){"use strict";const n=t;n.bignum=r(6),n.define=r(522).define,n.base=r(525),n.constants=r(526),n.decoders=r(286),n.encoders=r(284)},function(e,t,r){"use strict";const n=t;n.der=r(285),n.pem=r(523)},function(e,t,r){"use strict";const n=r(4),o=r(165).Buffer,i=r(166),s=r(168);function a(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){i.call(this,"der",e)}function u(e){return e<10?"0"+e:e}e.exports=a,a.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},n(c,i),c.prototype._encodeComposite=function(e,t,r,n){const i=function(e,t,r,n){let o;"seqof"===e?e="seq":"setof"===e&&(e="set");if(s.tagByName.hasOwnProperty(e))o=s.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);o=e}if(o>=31)return n.error("Multi-octet tag encoding unsupported");t||(o|=32);return o|=s.tagClassByName[r||"universal"]<<6,o}(e,t,r,this.reporter);if(n.length<128){const e=o.alloc(2);return e[0]=i,e[1]=n.length,this._createEncoderBuffer([e,n])}let a=1;for(let e=n.length;e>=256;e>>=8)a++;const c=o.alloc(2+a);c[0]=i,c[1]=128|a;for(let e=1+a,t=n.length;t>0;e--,t>>=8)c[e]=255&t;return this._createEncoderBuffer([c,n])},c.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){const t=o.alloc(2*e.length);for(let r=0;r=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}let n=0;for(let t=0;t=128;r>>=7)n++}const i=o.alloc(n);let s=i.length-1;for(let t=e.length-1;t>=0;t--){let r=e[t];for(i[s--]=127&r;(r>>=7)>0;)i[s--]=128|127&r}return this._createEncoderBuffer(i)},c.prototype._encodeTime=function(e,t){let r;const n=new Date(e);return"gentime"===t?r=[u(n.getUTCFullYear()),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[u(n.getUTCFullYear()%100),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!o.isBuffer(e)){const t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=o.from(t)}if(o.isBuffer(e)){let t=e.length;0===e.length&&t++;const r=o.alloc(t);return e.copy(r),0===e.length&&(r[0]=0),this._createEncoderBuffer(r)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let r=1;for(let t=e;t>=256;t>>=8)r++;const n=new Array(r);for(let t=n.length-1;t>=0;t--)n[t]=255&e,e>>=8;return 128&n[0]&&n.unshift(0),this._createEncoderBuffer(o.from(n))},c.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},c.prototype._skipDefault=function(e,t,r){const n=this._baseState;let o;if(null===n.default)return!1;const i=e.join();if(void 0===n.defaultBuffer&&(n.defaultBuffer=this._encodeValue(n.default,t,r).join()),i.length!==n.defaultBuffer.length)return!1;for(o=0;o>6],o=0==(32&r);if(31==(31&r)){let n=r;for(r=0;128==(128&n);){if(n=e.readUInt8(t),e.isError(n))return n;r<<=7,r|=127&n}}else r&=31;return{cls:n,primitive:o,tag:r,tagStr:a.tag[r]}}function f(e,t,r){let n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0==(128&n))return n;const o=127&n;if(o>4)return e.error("length octect is too long");n=0;for(let t=0;t>>16&65535|0,s=0;0!==r;){r-=s=r>2e3?2e3:r;do{i=i+(o=o+t[n++]|0)|0}while(--s);o%=65521,i%=65521}return o|i<<16|0}},function(e,t,r){"use strict";var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();e.exports=function(e,t,r,o){var i=n,s=o+r;e^=-1;for(var a=o;a>>8^i[255&(e^t[a])];return-1^e}},function(e,t,r){"use strict";var n=r(57),o=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(e){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){i=!1}for(var s=new n.Buf8(256),a=0;a<256;a++)s[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;function c(e,t){if(t<65534&&(e.subarray&&i||!e.subarray&&o))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",s=0;s>>6,t[s++]=128|63&r):r<65536?(t[s++]=224|r>>>12,t[s++]=128|r>>>6&63,t[s++]=128|63&r):(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63,t[s++]=128|r>>>6&63,t[s++]=128|63&r);return t},t.buf2binstring=function(e){return c(e,e.length)},t.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,o=t.length;r4)u[n++]=65533,r+=i-1;else{for(o&=2===i?31:3===i?15:7;i>1&&r1?u[n++]=65533:o<65536?u[n++]=o:(o-=65536,u[n++]=55296|o>>10&1023,u[n++]=56320|1023&o)}return c(u,n)},t.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}},function(e,t,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(e,t,r){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={};let o;t.wordlists=n,t._default=o;try{t._default=o=r(548),n.czech=o}catch(e){}try{t._default=o=r(549),n.chinese_simplified=o}catch(e){}try{t._default=o=r(550),n.chinese_traditional=o}catch(e){}try{t._default=o=r(551),n.korean=o}catch(e){}try{t._default=o=r(552),n.french=o}catch(e){}try{t._default=o=r(553),n.italian=o}catch(e){}try{t._default=o=r(554),n.spanish=o}catch(e){}try{t._default=o=r(555),n.japanese=o,n.JA=o}catch(e){}try{t._default=o=r(556),n.english=o,n.EN=o}catch(e){}},function(e,t,r){"use strict";var n=r(54),o=r(560);e.exports=o((function(e){var t=n("sha256").update(e).digest();return n("sha256").update(t).digest()}))},function(e,t,r){var n=r(170);function o(e){return e.name||e.toString().match(/function (.*?)\s*\(/)[1]}function i(e){return n.Nil(e)?"":o(e.constructor)}function s(e,t){Error.captureStackTrace&&Error.captureStackTrace(e,t)}function a(e){return n.Function(e)?e.toJSON?e.toJSON():o(e):n.Array(e)?"Array":e&&n.Object(e)?"Object":void 0!==e?e:""}function c(e,t,r){var o=function(e){return n.Function(e)?"":n.String(e)?JSON.stringify(e):e&&n.Object(e)?"":e}(t);return"Expected "+a(e)+", got"+(""!==r?" "+r:"")+(""!==o?" "+o:"")}function u(e,t,r){r=r||i(t),this.message=c(e,t,r),s(this,u),this.__type=e,this.__value=t,this.__valueTypeName=r}function l(e,t,r,n,o){e?(o=o||i(n),this.message=function(e,t,r,n,o){var i='" of type ';return"key"===t&&(i='" with key type '),c('property "'+a(r)+i+a(e),n,o)}(e,r,t,n,o)):this.message='Unexpected property "'+t+'"',s(this,u),this.__label=r,this.__property=t,this.__type=e,this.__value=n,this.__valueTypeName=o}u.prototype=Object.create(Error.prototype),u.prototype.constructor=u,l.prototype=Object.create(Error.prototype),l.prototype.constructor=u,e.exports={TfTypeError:u,TfPropertyTypeError:l,tfCustomError:function(e,t){return new u(e,{},t)},tfSubError:function(e,t,r){return e instanceof l?(t=t+"."+e.__property,e=new l(e.__type,t,e.__label,e.__value,e.__valueTypeName)):e instanceof u&&(e=new l(e.__type,t,r,e.__value,e.__valueTypeName)),s(e),e},tfJSON:a,getValueTypeName:i}},function(e,t,r){var n;e.exports=(n=r(9),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,s=t.algo,a=[],c=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,o=0;o<64;)t(n)&&(o<8&&(a[o]=r(e.pow(n,.5))),c[o]=r(e.pow(n,1/3)),o++),n++}();var u=[],l=s.SHA256=i.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],s=r[3],a=r[4],l=r[5],f=r[6],d=r[7],h=0;h<64;h++){if(h<16)u[h]=0|e[t+h];else{var p=u[h-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,m=u[h-2],y=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;u[h]=g+u[h-7]+y+u[h-16]}var b=n&o^n&i^o&i,v=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),w=d+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&l^~a&f)+c[h]+u[h];d=f,f=l,l=a,a=s+w|0,s=i,i=o,o=n,n=w+(v+b)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0,r[5]=r[5]+l|0,r[6]=r[6]+f|0,r[7]=r[7]+d|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=e.floor(n/4294967296),r[15+(o+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(l),t.HmacSHA256=i._createHmacHelper(l)}(Math),n.SHA256)},function(e,t,r){var n;e.exports=(n=r(9),r(125),function(){var e=n,t=e.lib.Hasher,r=e.x64,o=r.Word,i=r.WordArray,s=e.algo;function a(){return o.create.apply(o,arguments)}var c=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],u=[];!function(){for(var e=0;e<80;e++)u[e]=a()}();var l=s.SHA512=t.extend({_doReset:function(){this._hash=new i.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],s=r[3],a=r[4],l=r[5],f=r[6],d=r[7],h=n.high,p=n.low,g=o.high,m=o.low,y=i.high,b=i.low,v=s.high,w=s.low,_=a.high,k=a.low,O=l.high,S=l.low,E=f.high,j=f.low,P=d.high,A=d.low,x=h,M=p,I=g,C=m,R=y,T=b,N=v,B=w,D=_,L=k,U=O,q=S,H=E,z=j,K=P,F=A,$=0;$<80;$++){var V,J,G=u[$];if($<16)J=G.high=0|e[t+2*$],V=G.low=0|e[t+2*$+1];else{var W=u[$-15],Q=W.high,Z=W.low,Y=(Q>>>1|Z<<31)^(Q>>>8|Z<<24)^Q>>>7,X=(Z>>>1|Q<<31)^(Z>>>8|Q<<24)^(Z>>>7|Q<<25),ee=u[$-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,oe=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),ie=u[$-7],se=ie.high,ae=ie.low,ce=u[$-16],ue=ce.high,le=ce.low;J=(J=(J=Y+se+((V=X+ae)>>>0>>0?1:0))+ne+((V+=oe)>>>0>>0?1:0))+ue+((V+=le)>>>0>>0?1:0),G.high=J,G.low=V}var fe,de=D&U^~D&H,he=L&q^~L&z,pe=x&I^x&R^I&R,ge=M&C^M&T^C&T,me=(x>>>28|M<<4)^(x<<30|M>>>2)^(x<<25|M>>>7),ye=(M>>>28|x<<4)^(M<<30|x>>>2)^(M<<25|x>>>7),be=(D>>>14|L<<18)^(D>>>18|L<<14)^(D<<23|L>>>9),ve=(L>>>14|D<<18)^(L>>>18|D<<14)^(L<<23|D>>>9),we=c[$],_e=we.high,ke=we.low,Oe=K+be+((fe=F+ve)>>>0>>0?1:0),Se=ye+ge;K=H,F=z,H=U,z=q,U=D,q=L,D=N+(Oe=(Oe=(Oe=Oe+de+((fe+=he)>>>0>>0?1:0))+_e+((fe+=ke)>>>0>>0?1:0))+J+((fe+=V)>>>0>>0?1:0))+((L=B+fe|0)>>>0>>0?1:0)|0,N=R,B=T,R=I,T=C,I=x,C=M,x=Oe+(me+pe+(Se>>>0>>0?1:0))+((M=fe+Se|0)>>>0>>0?1:0)|0}p=n.low=p+M,n.high=h+x+(p>>>0>>0?1:0),m=o.low=m+C,o.high=g+I+(m>>>0>>0?1:0),b=i.low=b+T,i.high=y+R+(b>>>0>>0?1:0),w=s.low=w+B,s.high=v+N+(w>>>0>>0?1:0),k=a.low=k+L,a.high=_+D+(k>>>0>>0?1:0),S=l.low=S+q,l.high=O+U+(S>>>0>>0?1:0),j=f.low=j+z,f.high=E+H+(j>>>0>>0?1:0),A=d.low=A+F,d.high=P+K+(A>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(l),e.HmacSHA512=t._createHmacHelper(l)}(),n.SHA512)},function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(i)})),e.exports=c}).call(this,r(13))},function(e,t,r){"use strict";var n=r(28),o=r(599),i=r(601),s=r(303),a=r(602),c=r(605),u=r(606),l=r(307);e.exports=function(e){return new Promise((function(t,r){var f=e.data,d=e.headers;n.isFormData(f)&&delete d["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var p=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(p+":"+g)}var m=a(e.baseURL,e.url);if(h.open(e.method.toUpperCase(),s(m,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,i={data:e.responseType&&"text"!==e.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};o(t,r,i),h=null}},h.onabort=function(){h&&(r(l("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(l("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(l(t,e,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var y=(e.withCredentials||u(m))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;y&&(d[e.xsrfHeaderName]=y)}if("setRequestHeader"in h&&n.forEach(d,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete d[t]:h.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),e.responseType)try{h.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),r(e),h=null)})),f||(f=null),h.send(f)}))}},function(e,t,r){"use strict";var n=r(600);e.exports=function(e,t,r,o,i){var s=new Error(e);return n(s,t,r,o,i)}},function(e,t,r){"use strict";var n=r(28);e.exports=function(e,t){t=t||{};var r={},o=["url","method","data"],i=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function c(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function u(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(r[o]=c(void 0,e[o])):r[o]=c(e[o],t[o])}n.forEach(o,(function(e){n.isUndefined(t[e])||(r[e]=c(void 0,t[e]))})),n.forEach(i,u),n.forEach(s,(function(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(r[o]=c(void 0,e[o])):r[o]=c(void 0,t[o])})),n.forEach(a,(function(n){n in t?r[n]=c(e[n],t[n]):n in e&&(r[n]=c(void 0,e[n]))}));var l=o.concat(i).concat(s).concat(a),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===l.indexOf(e)}));return n.forEach(f,u),r}},function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAttribute=t.parseLogs=t.parseLog=t.parseEvent=t.parseAttribute=void 0;const n=r(100);function o(e){if(!n.isNonNullObject(e))throw new Error("Attribute must be a non-null object");const{key:t,value:r}=e;if("string"!=typeof t||!t)throw new Error("Attribute's key must be a non-empty string");if("string"!=typeof r&&void 0!==r)throw new Error("Attribute's value must be a string or unset");return{key:t,value:r||""}}function i(e){if(!n.isNonNullObject(e))throw new Error("Event must be a non-null object");const{type:t,attributes:r}=e;if("string"!=typeof t||""===t)throw new Error("Event type must be a non-empty string");if(!Array.isArray(r))throw new Error("Event's attributes must be an array");return{type:t,attributes:r.map(o)}}function s(e){if(!n.isNonNullObject(e))throw new Error("Log must be a non-null object");const{msg_index:t,log:r,events:o}=e;if("number"!=typeof t)throw new Error("Log's msg_index must be a number");if("string"!=typeof r)throw new Error("Log's log must be a string");if(!Array.isArray(o))throw new Error("Log's events must be an array");return{msg_index:t,log:r,events:o.map(i)}}t.parseAttribute=o,t.parseEvent=i,t.parseLog=s,t.parseLogs=function(e){if(!Array.isArray(e))throw new Error("Logs must be an array");return e.map(s)},t.findAttribute=function(e,t,r){var n;const o=e.find(()=>!0),i=null===(n=null==o?void 0:o.events.find(e=>e.type===t))||void 0===n?void 0:n.attributes.find(e=>e.key===r);if(!i)throw new Error(`Could not find attribute '${r}' in first event of type '${t}' in first log.`);return i}},function(e,t,r){!function(t){"use strict";for(var r=[null,0,{}],n=function(e,t){this.codepoint=e,this.feature=t},o={},i=[],s=0;s<=255;++s)i[s]=0;var a=[function(e,t,o){return t<60||13311>8&255]>10&&(o[t]=n),n},function(e,t,r){return r?e(t,r):new n(t,null)},function(e,t,r){var o;if(t<4352||4371<=t&&t<44032||55204=55296&&e<=56319},n.isLowSurrogate=function(e){return e>=56320&&e<=57343},n.prototype.prepFeature=function(){this.feature||(this.feature=n.fromCharCode(this.codepoint,!0).feature)},n.prototype.toString=function(){if(this.codepoint<65536)return String.fromCharCode(this.codepoint);var e=this.codepoint-65536;return String.fromCharCode(Math.floor(e/1024)+55296,e%1024+56320)},n.prototype.getDecomp=function(){return this.prepFeature(),this.feature[0]||null},n.prototype.isCompatibility=function(){return this.prepFeature(),!!this.feature[1]&&256&this.feature[1]},n.prototype.isExclude=function(){return this.prepFeature(),!!this.feature[1]&&512&this.feature[1]},n.prototype.getCanonicalClass=function(){return this.prepFeature(),this.feature[1]?255&this.feature[1]:0},n.prototype.getComposite=function(e){if(this.prepFeature(),!this.feature[2])return null;var t=this.feature[2][e.codepoint];return t?n.fromCharCode(t):null};var c=function(e){this.str=e,this.cursor=0};c.prototype.next=function(){if(this.str&&this.cursor0;--r){if(this.resBuf[r-1].getCanonicalClass()<=e)break}this.resBuf.splice(r,0,t)}while(0!==e);return this.resBuf.shift()};var f=function(e){this.it=e,this.procBuf=[],this.resBuf=[],this.lastClass=null};f.prototype.next=function(){for(;0===this.resBuf.length;){var e=this.it.next();if(!e){this.resBuf=this.procBuf,this.procBuf=[];break}if(0===this.procBuf.length)this.lastClass=e.getCanonicalClass(),this.procBuf.push(e);else{var t=this.procBuf[0].getComposite(e),r=e.getCanonicalClass();t&&(this.lastClass(new e).update(t).digest();let n=t;if(n.length>r&&(n=this.hash(n)),n.length92^e),this.iKeyPad=n.map(e=>54^e),this.messageHasher=new e,this.blockSize=r,this.update(this.iKeyPad)}update(e){return this.messageHasher.update(e),this}digest(){const e=this.messageHasher.digest();return this.hash(new Uint8Array([...this.oKeyPad,...e]))}}},function(e,t,r){"use strict";r.r(t),t.default={}},function(e,t,r){"use strict";function n(e){let t=0;for(const r of e){if(0!==r)break;t++}return e.slice(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedSecp256k1Signature=t.Secp256k1Signature=void 0;class o{constructor(e,t){if(e.length>32||0===e.length||0===e[0])throw new Error("Unsigned integer r must be encoded as unpadded big endian.");if(t.length>32||0===t.length||0===t[0])throw new Error("Unsigned integer s must be encoded as unpadded big endian.");this.data={r:e,s:t}}static fromFixedLength(e){if(64!==e.length)throw new Error(`Got invalid data length: ${e.length}. Expected 2x 32 bytes for the pair (r, s)`);return new o(n(e.slice(0,32)),n(e.slice(32,64)))}static fromDer(e){let t=0;if(48!==e[t++])throw new Error("Prefix 0x30 expected");const r=e[t++];if(e.length-t!==r)throw new Error("Data length mismatch detected");if(2!==e[t++])throw new Error("INTEGER tag expected");const i=e[t++];if(i>=128)throw new Error("Decoding length values above 127 not supported");const s=e.slice(t,t+i);t+=i;if(2!==e[t++])throw new Error("INTEGER tag expected");const a=e[t++];if(a>=128)throw new Error("Decoding length values above 127 not supported");const c=e.slice(t,t+a);return t+=a,new o(n(s),n(c))}r(e){if(void 0===e)return this.data.r;{const t=e-this.data.r.length;if(t<0)throw new Error("Length too small to hold parameter r");const r=new Uint8Array(t);return new Uint8Array([...r,...this.data.r])}}s(e){if(void 0===e)return this.data.s;{const t=e-this.data.s.length;if(t<0)throw new Error("Length too small to hold parameter s");const r=new Uint8Array(t);return new Uint8Array([...r,...this.data.s])}}toFixedLength(){return new Uint8Array([...this.r(32),...this.s(32)])}toDer(){const e=this.data.r[0]>=128?new Uint8Array([0,...this.data.r]):this.data.r,t=this.data.s[0]>=128?new Uint8Array([0,...this.data.s]):this.data.s,r=e.length,n=t.length,o=new Uint8Array([2,r,...e,2,n,...t]);return new Uint8Array([48,o.length,...o])}}t.Secp256k1Signature=o;class i extends o{constructor(e,t,r){if(super(e,t),!Number.isInteger(r))throw new Error("The recovery parameter must be an integer.");if(r<0||r>4)throw new Error("The recovery parameter must be one of 0, 1, 2, 3.");this.recovery=r}static fromFixedLength(e){if(65!==e.length)throw new Error(`Got invalid data length ${e.length}. Expected 32 + 32 + 1`);return new i(n(e.slice(0,32)),n(e.slice(32,64)),e[64])}toFixedLength(){return new Uint8Array([...this.r(32),...this.s(32),this.recovery])}}t.ExtendedSecp256k1Signature=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sha512=t.Sha512=t.sha256=t.Sha256=t.sha1=t.Sha1=void 0;const o=n(r(76));class i{constructor(e){this.blockSize=64,this.impl=o.default("sha1"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}t.Sha1=i,t.sha1=function(e){return new i(e).digest()};class s{constructor(e){this.blockSize=64,this.impl=o.default("sha256"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}t.Sha256=s,t.sha256=function(e){return new s(e).digest()};class a{constructor(e){this.blockSize=128,this.impl=o.default("sha512"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}t.Sha512=a,t.sha512=function(e){return new a(e).digest()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseCoins=t.coins=t.coin=void 0;const n=r(82);function o(e,t){return{amount:new n.Uint53(e).toString(),denom:t}}t.coin=o,t.coins=function(e,t){return[o(e,t)]},t.parseCoins=function(e){return e.replace(/\s/g,"").split(",").filter(Boolean).map(e=>{const t=e.match(/^([0-9]+)([a-zA-Z]+)/);if(!t)throw new Error("Got an invalid coin string");return{amount:n.Uint64.fromString(t[1]).toString(),denom:t[2]}})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CosmosClient=t.isSearchByTagsQuery=t.isSearchBySentFromOrToQuery=t.isSearchByHeightQuery=t.assertIsBroadcastTxSuccess=t.isBroadcastTxSuccess=t.isBroadcastTxFailure=void 0;const n=r(50),o=r(39),i=r(82),s=r(174),a=r(310);function c(e){return!!e.code}function u(e){return void 0!==e.height}function l(e){return void 0!==e.sentFromOrTo}function f(e){return void 0!==e.tags}t.isBroadcastTxFailure=c,t.isBroadcastTxSuccess=function(e){return!c(e)},t.assertIsBroadcastTxSuccess=function(e){if(c(e))throw new Error(`Error when broadcasting tx ${e.transactionHash} at height ${e.height}. Code: ${e.code}; Raw log: ${e.rawLog}`)},t.isSearchByHeightQuery=u,t.isSearchBySentFromOrToQuery=l,t.isSearchByTagsQuery=f;t.CosmosClient=class{constructor(e,t=s.BroadcastMode.Block){this.lcdClient=s.LcdClient.withExtensions({apiUrl:e,broadcastMode:t},s.setupAuthExtension)}async getChainId(){if(!this.chainId){const e=(await this.lcdClient.nodeInfo()).node_info.network;if(!e)throw new Error("Chain ID must not be empty");this.chainId=e}return this.chainId}async getHeight(){if(this.anyValidAddress){const{height:e}=await this.lcdClient.auth.account(this.anyValidAddress);return parseInt(e,10)}{const e=await this.lcdClient.blocksLatest();return parseInt(e.block.header.height,10)}}async getIdentifier(e){const t=await this.lcdClient.encodeTx(e),r=n.sha256(o.fromBase64(t.tx));return o.toHex(r).toUpperCase()}async getSequence(e){const t=await this.getAccount(e);if(!t)throw new Error("Account does not exist on chain. Send some tokens there before trying to query sequence.");return{accountNumber:t.accountNumber,sequence:t.sequence}}async getAccount(e){const t=(await this.lcdClient.auth.account(e)).result.value;return""===t.address?void 0:(this.anyValidAddress=t.address,{address:t.address,balance:t.coins,pubkey:s.normalizePubkey(t.public_key)||void 0,accountNumber:s.uint64ToNumber(t.account_number),sequence:s.uint64ToNumber(t.sequence)})}async getBlock(e){const t=void 0!==e?await this.lcdClient.blocks(e):await this.lcdClient.blocksLatest();return{id:t.block_id.hash,header:{version:t.block.header.version,time:t.block.header.time,height:parseInt(t.block.header.height,10),chainId:t.block.header.chain_id},txs:(t.block.data.txs||[]).map(o.fromBase64)}}async getTx(e){var t;return null!==(t=(await this.txsQuery("tx.hash="+e))[0])&&void 0!==t?t:null}async searchTx(e,t={}){const r=t.minHeight||0,n=t.maxHeight||Number.MAX_SAFE_INTEGER;if(nn?[]:await this.txsQuery("tx.height="+e.height);else if(l(e)){const t=o("message.module=bank&message.sender="+e.sentFromOrTo),r=o("message.module=bank&transfer.recipient="+e.sentFromOrTo),n=await this.txsQuery(t),s=await this.txsQuery(r),a=n.map(e=>e.hash);i=[...n,...s.filter(e=>!a.includes(e.hash))]}else{if(!f(e))throw new Error("Unknown query type");{const t=o(e.tags.map(e=>`${e.key}=${e.value}`).join("&"));i=await this.txsQuery(t)}}return i.filter(e=>e.height>=r&&e.height<=n)}async broadcastTx(e){const t=await this.lcdClient.broadcastTx(e);if(!t.txhash.match(/^([0-9A-F][0-9A-F])+$/))throw new Error("Received ill-formatted txhash. Must be non-empty upper-case hex");return void 0!==t.code?{height:i.Uint53.fromString(t.height).toNumber(),transactionHash:t.txhash,code:t.code,rawLog:t.raw_log||""}:{logs:t.logs?a.parseLogs(t.logs):[],rawLog:t.raw_log||"",transactionHash:t.txhash,data:t.data?o.fromHex(t.data):void 0}}async txsQuery(e){const t=await this.lcdClient.txsQuery(e+"&limit=100");if(parseInt(t.page_total,10)>1)throw new Error(`Found more results on the backend than we can process currently. Results: ${t.total_count}, supported: 100`);return t.txs.map(e=>({height:parseInt(e.height,10),hash:e.txhash,code:e.code||0,rawLog:e.raw_log,logs:a.parseLogs(e.logs||[]),tx:e.tx,timestamp:e.timestamp}))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BroadcastMode=void 0,function(e){e.Block="block",e.Sync="sync",e.Async="async"}(t.BroadcastMode||(t.BroadcastMode={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildFeeTable=t.GasPrice=void 0;const n=r(82),o=r(317);class i{constructor(e,t){this.amount=e,this.denom=t}static fromString(e){const t=e.match(/^(?.+?)(?[a-z]+)$/);if(!t)throw new Error("Invalid gas price string");const{amount:r,denom:o}=t.groups;if(o.length<3||o.length>127)throw new Error("Gas price denomination must be between 3 and 127 characters");const s=n.Decimal.fromUserInput(r,18);return new i(s,o)}}function s(e,{denom:t,amount:r}){const i=Math.ceil(r.multiply(new n.Uint53(e)).toFloatApproximation());return{amount:o.coins(i,t),gas:e.toString()}}t.GasPrice=i,t.buildFeeTable=function(e,t,r){return Object.entries(t).reduce((t,[n,o])=>Object.assign(Object.assign({},t),{[n]:s(r[n]||o,e)}),{})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeCosmoshubPath=void 0;const n=r(50);t.makeCosmoshubPath=function(e){return[n.Slip10RawIndex.hardened(44),n.Slip10RawIndex.hardened(118),n.Slip10RawIndex.hardened(0),n.Slip10RawIndex.normal(0),n.Slip10RawIndex.normal(e)]}},function(e,t,r){"use strict";function n(e){const{memo:t,msg:r,fee:n,signatures:o}=e;return"string"==typeof t&&Array.isArray(r)&&"object"==typeof n&&Array.isArray(o)}Object.defineProperty(t,"__esModule",{value:!0}),t.isWrappedStdTx=t.makeStdTx=t.isStdTx=void 0,t.isStdTx=n,t.makeStdTx=function(e,t){return{msg:e.msgs,fee:e.fee,memo:e.memo,signatures:Array.isArray(t)?t:[t]}},t.isWrappedStdTx=function(e){return"cosmos-sdk/StdTx"===e.type&&n(e.value)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decrypt=t.encrypt=t.supportedAlgorithms=t.executeKdf=t.cosmjsSalt=void 0;const n=r(50),o=r(39);t.cosmjsSalt=o.toAscii("The CosmJS salt."),t.executeKdf=async function(e,r){switch(r.algorithm){case"argon2id":{const o=r.params;if(!n.isArgon2idOptions(o))throw new Error("Invalid format of argon2id params");return n.Argon2id.execute(e,t.cosmjsSalt,o)}default:throw new Error("Unsupported KDF algorithm")}},t.supportedAlgorithms={xchacha20poly1305Ietf:"xchacha20poly1305-ietf"},t.encrypt=async function(e,r,o){switch(o.algorithm){case t.supportedAlgorithms.xchacha20poly1305Ietf:{const t=n.Random.getBytes(n.xchacha20NonceLength);return new Uint8Array([...t,...await n.Xchacha20poly1305Ietf.encrypt(e,r,t)])}default:throw new Error(`Unsupported encryption algorithm: '${o.algorithm}'`)}},t.decrypt=async function(e,r,o){switch(o.algorithm){case t.supportedAlgorithms.xchacha20poly1305Ietf:{const t=e.slice(0,n.xchacha20NonceLength);return n.Xchacha20poly1305Ietf.decrypt(e.slice(n.xchacha20NonceLength),r,t)}default:throw new Error(`Unsupported encryption algorithm: '${o.algorithm}'`)}}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(176),t),o(r(650),t),o(r(651),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageRegistry=void 0;t.MessageRegistry=class{constructor(){this.registeredMsgType=new Map}registerMessage(e){if(this.registeredMsgType.has(e.type()))throw new Error("Already registered type "+e.type());this.registeredMsgType.set(e.type(),e)}parseMessage(e){if(!e.type)throw new Error("Null type");const t=this.registeredMsgType.get(e.type);if(!t)throw new Error("Unregistered msg type "+e.type);return Object.setPrototypeOf(e.msg,t.prototype)}}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(656),t),o(r(657),t),o(r(658),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WEBPAGE_PORT=t.APP_PORT=t.BACKGROUND_PORT=void 0,t.BACKGROUND_PORT="background",t.APP_PORT="popup",t.WEBPAGE_PORT="webpage"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionGuards=void 0;class n{}t.ExtensionGuards=n,n.checkOriginIsValid=(e,t,r)=>{if(!r.url)throw new Error("url is empty");if(!t.origin)throw new Error("origin is empty");if(new URL(r.url).origin!==t.origin)throw new Error("Invalid origin");return Promise.resolve()},n.checkMessageIsInternal=(e,t,r)=>{if(!e.isInternalMsg&&!t.approveExternal(e,r))throw new Error("Permission rejected");return Promise.resolve()}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionEnv=void 0;const i=r(407),s=r(327),a=r(326),c=new(o(r(412)).default)({concurrency:1});class u{}t.ExtensionEnv=u,u.produceEnv=e=>{const t=u.checkIsInternalMessage(e,browser.runtime.id,browser.runtime.getURL("/")),r="interaction=true&interactionInternal="+t,o=(e,t,o)=>n(void 0,void 0,void 0,(function*(){e.startsWith("/")&&(e=e.slice(1)),(e=browser.runtime.getURL("/popup.html#/"+e)).includes("?")?e+="&"+r:e+="?"+r;const u=yield function(e,t="default"){return n(this,void 0,void 0,(function*(){return yield c.add(()=>i.openPopupWindow(e,t))}))}(e,null==o?void 0:o.channel),l=(yield browser.windows.get(u,{populate:!0})).tabs[0].id;return yield n(void 0,void 0,void 0,(function*(){if("complete"!==(yield browser.tabs.get(l)).status)return new Promise(e=>{browser.tabs.onUpdated.addListener((t,r)=>{l===t&&"complete"===r.status&&e()})})})),yield a.InExtensionMessageRequester.sendMessageToTab(l,s.APP_PORT,t)}));if(t){return{isInternalMsg:t,requestInteraction:(t,i,c)=>n(void 0,void 0,void 0,(function*(){if(null==c?void 0:c.forceOpenWindow)return yield o(t,i,c);t.startsWith("/")&&(t=t.slice(1)),(t=browser.runtime.getURL("/popup.html#/"+t)).includes("?")?t+="&"+r:t+="?"+r;const n=yield browser.runtime.getBackgroundPage(),u=browser.extension.getViews().filter(e=>e.location.href!==n.location.href),l=u.find(t=>t.location.href===e.url);return(null!=l?l:u[0]).location.href=t,yield(new a.InExtensionMessageRequester).sendMessage(s.APP_PORT,i)}))}}return{isInternalMsg:t,requestInteraction:o}},u.checkIsInternalMessage=(e,t,r)=>{if(!e.url)throw new Error("Empty sender url");const n=new URL(e.url);if(!n.origin||"null"===n.origin)throw new Error("Invalid sender url");const o=new URL(r);if(!o.origin||"null"===o.origin)throw new Error("Invalid browser url");return n.origin===o.origin&&e.id===t}},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s};Object.defineProperty(t,"__esModule",{value:!0}),t.PersistentMemoryService=void 0;const o=r(43);let i=class{constructor(){this.data={}}set(e){this.data=Object.assign(Object.assign({},this.data),e)}get(){return this.data}};i=n([o.singleton()],i),t.PersistentMemoryService=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="persistent-memory"},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChainsService=void 0;const c=r(43),u=r(52),l=r(333),f=r(334),d=r(83),h=r(128),p=r(11),g=a(r(342));let m=class{constructor(e,t,r,n){this.kvStore=e,this.embedChainInfos=t,this.chainUpdaterKeeper=r,this.interactionKeeper=n,this.onChainRemovedHandlers=[],this.getChainInfos=g.default.promise(()=>s(this,void 0,void 0,(function*(){var e;if(this.cachedChainInfos)return this.cachedChainInfos;const t=this.embedChainInfos.map(e=>Object.assign(Object.assign({},e),{embeded:!0})),r=new Map;for(const e of t)r.set(p.ChainIdHelper.parse(e.chainId).identifier,!0);const n=(null!==(e=yield this.kvStore.get("chain-infos"))&&void 0!==e?e:[]).filter(e=>!r.get(p.ChainIdHelper.parse(e.chainId).identifier)).map(e=>Object.assign(Object.assign({},e),{embeded:!1}));let o=t.concat(n);return o=yield Promise.all(o.map(e=>s(this,void 0,void 0,(function*(){const t=yield this.chainUpdaterKeeper.putUpdatedPropertyToChainInfo(e);return Object.assign(Object.assign({},t),{embeded:e.embeded})})))),this.cachedChainInfos=o,o})))}clearCachedChainInfos(){this.cachedChainInfos=void 0}getChainInfo(e){return s(this,void 0,void 0,(function*(){const t=(yield this.getChainInfos()).find(t=>p.ChainIdHelper.parse(t.chainId).identifier===p.ChainIdHelper.parse(e).identifier);if(!t)throw new Error("There is no chain info for "+e);return t}))}getChainCoinType(e){return s(this,void 0,void 0,(function*(){const t=yield this.getChainInfo(e);if(!t)throw new Error("There is no chain info for "+e);return t.bip44.coinType}))}hasChainInfo(e){return s(this,void 0,void 0,(function*(){return null!=(yield this.getChainInfos()).find(t=>p.ChainIdHelper.parse(t.chainId).identifier===p.ChainIdHelper.parse(e).identifier)}))}suggestChainInfo(e,t,r){return s(this,void 0,void 0,(function*(){t=yield l.ChainInfoSchema.validateAsync(t,{stripUnknown:!0}),yield this.interactionKeeper.waitApprove(e,"/suggest-chain",h.SuggestChainInfoMsg.type(),Object.assign(Object.assign({},t),{origin:r})),yield this.addChainInfo(t)}))}addChainInfo(e){var t;return s(this,void 0,void 0,(function*(){if(yield this.hasChainInfo(e.chainId))throw new Error("Same chain is already registered");const r=null!==(t=yield this.kvStore.get("chain-infos"))&&void 0!==t?t:[];r.push(e),yield this.kvStore.set("chain-infos",r),this.clearCachedChainInfos()}))}removeChainInfo(e){var t;return s(this,void 0,void 0,(function*(){if(!(yield this.hasChainInfo(e)))throw new Error("Chain is not registered");if((yield this.getChainInfo(e)).embeded)throw new Error("Can't remove the embedded chain");const r=(null!==(t=yield this.kvStore.get("chain-infos"))&&void 0!==t?t:[]).filter(t=>p.ChainIdHelper.parse(t.chainId).identifier!==p.ChainIdHelper.parse(e).identifier);yield this.kvStore.set("chain-infos",r),yield this.chainUpdaterKeeper.clearUpdatedProperty(e);for(const t of this.onChainRemovedHandlers)t(e,p.ChainIdHelper.parse(e).identifier);this.clearCachedChainInfos()}))}addChainRemovedHandler(e){this.onChainRemovedHandlers.push(e)}};m=n([c.singleton(),i(0,c.inject(u.TYPES.ChainsStore)),i(1,c.inject(u.TYPES.ChainsEmbedChainInfos)),i(2,c.inject(c.delay(()=>f.ChainUpdaterService))),i(3,c.inject(c.delay(()=>d.InteractionService))),o("design:paramtypes",[Object,Array,f.ChainUpdaterService,d.InteractionService])],m),t.ChainsService=m},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChainInfoSchema=t.SuggestingBIP44Schema=t.Bech32ConfigSchema=t.Secret20CurrencyShema=t.CW20CurrencyShema=t.CurrencySchema=void 0;const o=n(r(670));t.CurrencySchema=o.default.object({coinDenom:o.default.string().required(),coinMinimalDenom:o.default.string().required(),coinDecimals:o.default.number().integer().min(0).max(18).required(),coinGeckoId:o.default.string()}),t.CW20CurrencyShema=t.CurrencySchema.keys({type:o.default.string().equal("cw20").required(),contractAddress:o.default.string().required()}).custom(e=>e.coinMinimalDenom.startsWith(`${e.type}:${e.contractAddress}:`)?e:Object.assign(Object.assign({},e),{coinMinimalDenom:`${e.type}:${e.contractAddress}:`+e.coinMinimalDenom})),t.Secret20CurrencyShema=t.CurrencySchema.keys({type:o.default.string().equal("secret20").required(),contractAddress:o.default.string().required(),viewingKey:o.default.string().required()}).custom(e=>e.coinMinimalDenom.startsWith(`${e.type}:${e.contractAddress}:`)?e:Object.assign(Object.assign({},e),{coinMinimalDenom:`${e.type}:${e.contractAddress}:`+e.coinMinimalDenom})),t.Bech32ConfigSchema=o.default.object({bech32PrefixAccAddr:o.default.string().required(),bech32PrefixAccPub:o.default.string().required(),bech32PrefixValAddr:o.default.string().required(),bech32PrefixValPub:o.default.string().required(),bech32PrefixConsAddr:o.default.string().required(),bech32PrefixConsPub:o.default.string().required()}),t.SuggestingBIP44Schema=o.default.object({coinType:o.default.number().integer().min(0).required()}).unknown(!0),t.ChainInfoSchema=o.default.object({rpc:o.default.string().required().uri(),rest:o.default.string().required().uri(),chainId:o.default.string().required().min(1).max(30),chainName:o.default.string().required().min(1).max(30),stakeCurrency:t.CurrencySchema.required(),walletUrl:o.default.string().uri(),walletUrlForStaking:o.default.string().uri(),bip44:t.SuggestingBIP44Schema.required(),bech32Config:t.Bech32ConfigSchema.required(),currencies:o.default.array().min(1).items(t.CurrencySchema,t.CW20CurrencyShema,t.Secret20CurrencyShema).required(),feeCurrencies:o.default.array().min(1).items(t.CurrencySchema).required(),coinType:o.default.number().integer(),beta:o.default.boolean(),gasPriceStep:o.default.object({low:o.default.number().required(),average:o.default.number().required(),high:o.default.number().required()}),features:o.default.array().items(o.default.string().valid("stargate","cosmwasm","secretwasm","ibc-transfer")).unique().custom(e=>{if(e.indexOf("cosmwasm")>=0&&e.indexOf("secretwasm")>=0)throw new Error("cosmwasm and secretwasm are not compatible");return e})})},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(335),t),o(r(178),t)},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChainUpdaterService=void 0;const c=r(43),u=r(52),l=a(r(68)),f=r(11),d=r(58);let h=class{constructor(e,t){this.kvStore=e,this.chainsService=t}putUpdatedPropertyToChainInfo(e){var t,r;return s(this,void 0,void 0,(function*(){const n=yield this.getUpdatedChainProperty(e.chainId),o=f.ChainIdHelper.parse(e.chainId);if(f.ChainIdHelper.parse(n.chainId||e.chainId).versiond.ChainsService))),o("design:paramtypes",[Object,d.ChainsService])],h),t.ChainUpdaterService=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="chains"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="chain-updator"},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionService=void 0;const a=r(43),c=r(52),u=r(339);let l=class{constructor(e,t){this.eventMsgRequester=e,this.rng=t,this.waitingMap=new Map,this.resolverMap=new Map}dispatchEvent(e,t,r){return s(this,void 0,void 0,(function*(){if(!t)throw new Error("Type should not be empty");const n=new u.PushEventDataMsg({type:t,data:r});try{yield this.eventMsgRequester.sendMessage(e,n)}catch(t){console.log(`Failed to send the event to ${e}: ${t.message}`)}}))}waitApprove(e,t,r,n,o){return s(this,void 0,void 0,(function*(){if(!r)throw new Error("Type should not be empty");const i=yield this.addDataToMap(r,n),s=new u.PushInteractionDataMsg(i);return yield this.wait(s.data.id,()=>{e.requestInteraction(t,s,o)})}))}wait(e,t){return s(this,void 0,void 0,(function*(){if(this.resolverMap.has(e))throw new Error("Id is aleady in use");return new Promise((r,n)=>{this.resolverMap.set(e,{onApprove:r,onReject:n}),t()})}))}approve(e,t){this.resolverMap.has(e)&&(this.resolverMap.get(e).onApprove(t),this.resolverMap.delete(e))}reject(e){this.resolverMap.has(e)&&(this.resolverMap.get(e).onReject(new Error("Request rejected")),this.resolverMap.delete(e))}addDataToMap(e,t){return s(this,void 0,void 0,(function*(){const r=new Uint8Array(8),n=Array.from(yield this.rng(r)).map(e=>e.toString(16)).join(""),o={id:n,type:e,data:t};if(this.waitingMap.has(n))throw new Error("Id is aleady in use");return this.waitingMap.set(n,o),o}))}removeDataFromMap(e){this.waitingMap.delete(e)}};l=n([a.singleton(),i(0,a.inject(c.TYPES.EventMsgRequester)),i(1,a.inject(c.TYPES.RNG)),o("design:paramtypes",[Object,Function])],l),t.InteractionService=l},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(671),t),o(r(179),t),o(r(672),t),o(r(673),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="interaction-foreground"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="interaction"},function(e,t,r){"use strict";r.r(t);const n=(e,t,r={})=>{if(!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let n,o,i=[];return function(...s){return new Promise(a=>{const c=r.leading&&!o;clearTimeout(o),o=setTimeout(()=>{o=null;const t=r.leading?n:e.apply(this,s);for(a of i)a(t);i=[]},t),c?(n=e.apply(this,s),a(n)):i.push(a)})}};n.promise=e=>{let t;return async function(...r){if(t)return t;try{return t=e.apply(this,r),await t}finally{t=void 0}}},t.default=n},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LedgerService=void 0;const c=r(43),u=r(52),l=r(344),f=a(r(386)),d=r(18),h=r(83),p=r(2);let g=class{constructor(e,t){this.kvStore=e,this.interactionService=t}getPublicKey(e,t){return s(this,void 0,void 0,(function*(){return yield this.useLedger(e,(e,r)=>s(this,void 0,void 0,(function*(){try{return yield e.getPublicKey([44,118,t.account,t.change,t.addressIndex])}finally{r>0&&(yield this.interactionService.dispatchEvent(d.APP_PORT,"ledger-init",{event:"get-pubkey",success:!0}))}})))}))}sign(e,t,r,n){return s(this,void 0,void 0,(function*(){return yield this.useLedger(e,(e,o)=>s(this,void 0,void 0,(function*(){try{const i=yield e.getPublicKey([44,118,t.account,t.change,t.addressIndex]);if(p.Buffer.from(r).toString("hex")!==p.Buffer.from(i).toString("hex"))throw new Error("Unmatched public key");const s=yield e.sign([44,118,t.account,t.change,t.addressIndex],n);return o>0&&(yield this.interactionService.dispatchEvent(d.APP_PORT,"ledger-init",{event:"sign",success:!0})),s}catch(e){throw o>0&&(yield this.interactionService.dispatchEvent(d.APP_PORT,"ledger-init",{event:"sign",success:!1})),e}})))}))}useLedger(e,t){return s(this,void 0,void 0,(function*(){let r;try{return r=yield this.initLedger(e),yield t(r.ledger,r.retryCount)}finally{r&&(yield r.ledger.close())}}))}initLedger(e){return s(this,void 0,void 0,(function*(){this.previousInitAborter&&this.previousInitAborter(new Error("New ledger request occurred before the ledger was initialized"));const t=(()=>{let e;return{wait:()=>new Promise((t,r)=>{e=r}),abort:t=>{e&&e(t)}}})();this.previousInitAborter=t.abort;let r=0;for(;;){try{const e=yield l.Ledger.init(yield this.getWebHIDFlag());return this.previousInitAborter=void 0,{ledger:e,retryCount:r}}catch(r){console.log(r);const n=new AbortController;try{yield Promise.race([this.interactionService.waitApprove(e,"/ledger-grant","ledger-init",{event:"init-failed"},{forceOpenWindow:!0,channel:"ledger"}),(()=>s(this,void 0,void 0,(function*(){let e=!1;try{yield f.default(3e5,{signal:n.signal})}catch(t){if("AbortError"!==t.name)throw t;e=!0}if(!e)throw yield this.interactionService.dispatchEvent(d.APP_PORT,"ledger-init",{event:"init-aborted"}),new Error("Ledger init timeout")})))(),t.wait(),this.testLedgerGrantUIOpened()])}finally{n.abort()}}r++}}))}testLedgerGrantUIOpened(){return s(this,void 0,void 0,(function*(){for(yield f.default(1e3);;){const e=browser.extension.getViews();let t=!1;for(const r of e)if(r.location.href.includes(browser.runtime.getURL("popup.html#/ledger-grant"))){t=!0;break}if(!t)throw new Error("Ledger init aborted");yield f.default(1e3)}}))}getWebHIDFlag(){return s(this,void 0,void 0,(function*(){return!!(yield this.kvStore.get("webhid"))}))}setWebHIDFlag(e){return s(this,void 0,void 0,(function*(){yield this.kvStore.set("webhid",e)}))}};g=n([c.singleton(),i(0,c.inject(u.TYPES.LedgerStore)),i(1,c.inject(c.delay(()=>h.InteractionService))),o("design:paramtypes",[Object,h.InteractionService])],g),t.LedgerService=g},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Ledger=t.LedgerInitError=t.LedgerInitErrorOn=void 0;const i=r(679).default,s=o(r(685)),a=o(r(712)),c=r(398);var u;!function(e){e[e.Transport=0]="Transport",e[e.App=1]="App",e[e.Unknown=2]="Unknown"}(u=t.LedgerInitErrorOn||(t.LedgerInitErrorOn={}));class l extends Error{constructor(e,t){super(t),this.errorOn=e,Object.setPrototypeOf(this,l.prototype)}}t.LedgerInitError=l;class f{constructor(e){this.cosmosApp=e}static init(e=!1){return n(this,void 0,void 0,(function*(){let t;try{t=e?yield a.default.create():yield s.default.create()}catch(e){throw new l(u.Transport,e.message)}try{const e=new i(t),r=new f(e);if((yield r.getVersion()).deviceLocked)throw new Error("Device is on screen saver");return r}catch(e){if(t&&(yield t.close()),"Device is on screen saver"===e.message)throw new l(u.Transport,e.message);throw new l(u.App,e.message)}}))}getVersion(){return n(this,void 0,void 0,(function*(){if(!this.cosmosApp)throw new Error("Comsos App not initialized");const e=yield this.cosmosApp.getVersion();if("No errors"!==e.error_message)throw new Error(e.error_message);return{deviceLocked:e.device_locked,major:e.major,minor:e.minor,patch:e.patch,targetId:e.target_id,testMode:e.test_mode}}))}getPublicKey(e){return n(this,void 0,void 0,(function*(){if(!this.cosmosApp)throw new Error("Comsos App not initialized");const t=yield this.cosmosApp.publicKey(e);if("No errors"!==t.error_message)throw new Error(t.error_message);return t.compressed_pk}))}sign(e,t){return n(this,void 0,void 0,(function*(){if(!this.cosmosApp)throw new Error("Comsos App not initialized");const r=yield this.cosmosApp.sign(e,t);if("No errors"!==r.error_message)throw new Error(r.error_message);return c.signatureImport(r.signature)}))}close(){return n(this,void 0,void 0,(function*(){return yield this.cosmosApp.transport.close()}))}static isWebHIDSupported(){return n(this,void 0,void 0,(function*(){return yield a.default.isSupported()}))}}t.Ledger=f},function(e,t,r){"use strict";(function(e){var n=r(115);Object.defineProperty(t,"__esModule",{value:!0}),t.serializePathv1=function(t){if(null==t||t.length<3)throw new Error("Invalid path.");if(t.length>10)throw new Error("Invalid path. Length should be <= 10");var r=e.alloc(1+4*t.length);r.writeUInt8(t.length,0);for(var n=0;n2&&(o=e.slice(0,e.length-2)),{signature:o,return_code:r,error_message:n}}),s.processErrorResponse));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function c(t){if(65!==t.length)throw new Error("decompressed public key length should be 65 bytes");var r=t.slice(33,65),n=e.from([2+(1&r[r.length-1])]);return e.concat([n,t.slice(1,33)])}function u(){return(u=(0,i.default)(o.default.mark((function t(r,n){return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r.transport.send(s.CLA,s.INS.INS_PUBLIC_KEY_SECP256K1,0,0,n,[s.ERROR_CODE.NoError]).then((function(t){var r=t.slice(-2),n=256*r[0]+r[1],o=e.from(t.slice(0,65));return{pk:o,compressed_pk:c(o),return_code:n,error_message:(0,s.errorCodeToString)(n)}}),s.processErrorResponse));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}}).call(this,r(2).Buffer)},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>0!==n(e,t,r)},function(e,t,r){const n=r(183),o=r(346),i=r(134),s=r(186),a=r(185),c=r(187);e.exports=(e,t,r,u)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,u);case"!=":return o(e,r,u);case">":return i(e,r,u);case">=":return s(e,r,u);case"<":return a(e,r,u);case"<=":return c(e,r,u);default:throw new TypeError("Invalid operator: "+t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="ledger"},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.KeyRingService=void 0;const a=r(43),c=r(52),u=r(190),l=r(11),f=r(58),d=r(350),h=r(18),p=r(83),g=r(102),m=r(114),y=r(719),b=r(11);let v=class{constructor(e,t,r,n,o,i,s){this.interactionService=r,this.chainsService=n,this.permissionService=o,this.rng=s,this.keyRing=new u.KeyRing(t,e,i,s)}restore(){return s(this,void 0,void 0,(function*(){return yield this.keyRing.restore(),{status:this.keyRing.status,type:this.keyRing.type,multiKeyStoreInfo:this.keyRing.getMultiKeyStoreInfo()}}))}enable(e){return s(this,void 0,void 0,(function*(){if(this.keyRing.status===u.KeyRingStatus.EMPTY)throw new Error("key doesn't exist");return this.keyRing.status===u.KeyRingStatus.NOTLOADED&&(yield this.keyRing.restore()),this.keyRing.status===u.KeyRingStatus.LOCKED?(yield this.interactionService.waitApprove(e,"/unlock","unlock",{}),this.keyRing.status):this.keyRing.status}))}get keyRingStatus(){return this.keyRing.status}deleteKeyRing(e,t){return s(this,void 0,void 0,(function*(){return{multiKeyStoreInfo:yield this.keyRing.deleteKeyRing(e,t),status:this.keyRing.status}}))}updateNameKeyRing(e,t){return s(this,void 0,void 0,(function*(){return{multiKeyStoreInfo:yield this.keyRing.updateNameKeyRing(e,t),status:this.keyRing.status}}))}showKeyRing(e,t){return s(this,void 0,void 0,(function*(){return yield this.keyRing.showKeyRing(e,t)}))}createMnemonicKey(e,t,r,n){return s(this,void 0,void 0,(function*(){return yield this.keyRing.createMnemonicKey(e,t,r,n),this.keyRing.status}))}createPrivateKey(e,t,r){return s(this,void 0,void 0,(function*(){return yield this.keyRing.createPrivateKey(e,t,r),this.keyRing.status}))}createLedgerKey(e,t,r,n){return s(this,void 0,void 0,(function*(){return yield this.keyRing.createLedgerKey(e,t,r,n),this.keyRing.status}))}lock(){return this.keyRing.lock(),this.keyRing.status}unlock(e){return s(this,void 0,void 0,(function*(){return yield this.keyRing.unlock(e),this.keyRing.status}))}getKey(e){return s(this,void 0,void 0,(function*(){return this.keyRing.getKey(e,yield this.chainsService.getChainCoinType(e))}))}getKeyStoreMeta(e){return this.keyRing.getKeyStoreMeta(e)}getKeyRingType(){return this.keyRing.type}requestSignAmino(e,t,r,n,o){return s(this,void 0,void 0,(function*(){const i=yield this.chainsService.getChainCoinType(t),s=yield this.keyRing.getKey(t,i),a=new l.Bech32Address(s.address).toBech32((yield this.chainsService.getChainInfo(t)).bech32Config.bech32PrefixAccAddr);if(r!==a)throw new Error("Signer mismatched");const c=yield this.interactionService.waitApprove(e,"/sign","request-sign",{chainId:t,mode:"amino",signDoc:n,signer:r,signOptions:o});try{const r=yield this.keyRing.sign(e,t,i,m.serializeSignDoc(c));return{signed:c,signature:m.encodeSecp256k1Signature(s.pubKey,r)}}finally{yield this.interactionService.dispatchEvent(h.APP_PORT,"request-sign-end",{})}}))}requestSignDirect(e,t,r,n,o){return s(this,void 0,void 0,(function*(){const i=yield this.chainsService.getChainCoinType(t),s=yield this.keyRing.getKey(t,i),a=new l.Bech32Address(s.address).toBech32((yield this.chainsService.getChainInfo(t)).bech32Config.bech32PrefixAccAddr);if(r!==a)throw new Error("Signer mismatched");const c=yield this.interactionService.waitApprove(e,"/sign","request-sign",{chainId:t,mode:"direct",signDocBytes:b.cosmos.tx.v1beta1.SignDoc.encode(n).finish(),signer:r,signOptions:o}),u=b.cosmos.tx.v1beta1.SignDoc.decode(c);try{const r=yield this.keyRing.sign(e,t,i,y.makeSignBytes(u));return{signed:u,signature:m.encodeSecp256k1Signature(s.pubKey,r)}}finally{yield this.interactionService.dispatchEvent(h.APP_PORT,"request-sign-end",{})}}))}sign(e,t,r){return s(this,void 0,void 0,(function*(){return this.keyRing.sign(e,t,yield this.chainsService.getChainCoinType(t),r)}))}addMnemonicKey(e,t,r){return s(this,void 0,void 0,(function*(){return this.keyRing.addMnemonicKey(e,t,r)}))}addPrivateKey(e,t){return s(this,void 0,void 0,(function*(){return this.keyRing.addPrivateKey(e,t)}))}addLedgerKey(e,t,r){return s(this,void 0,void 0,(function*(){return this.keyRing.addLedgerKey(e,t,r)}))}changeKeyStoreFromMultiKeyStore(e){return s(this,void 0,void 0,(function*(){try{return yield this.keyRing.changeKeyStoreFromMultiKeyStore(e)}finally{yield this.interactionService.dispatchEvent(h.WEBPAGE_PORT,"keystore-changed",{})}}))}getMultiKeyStoreInfo(){return this.keyRing.getMultiKeyStoreInfo()}isKeyStoreCoinTypeSet(e){return this.keyRing.isKeyStoreCoinTypeSet(e)}setKeyStoreCoinType(e,t){return s(this,void 0,void 0,(function*(){yield this.keyRing.setKeyStoreCoinType(e,t)}))}getKeyStoreBIP44Selectables(e,t){return s(this,void 0,void 0,(function*(){if(this.isKeyStoreCoinTypeSet(e))return[];const r=[],n=yield this.chainsService.getChainInfo(e);for(const e of t){const t=yield this.keyRing.getKeyFromCoinType(e.coinType),o=new l.Bech32Address(t.address).toBech32(n.bech32Config.bech32PrefixAccAddr);r.push({path:e,bech32Address:o})}return r}))}};v=n([a.singleton(),i(0,a.inject(c.TYPES.KeyRingStore)),i(1,a.inject(c.TYPES.ChainsEmbedChainInfos)),i(2,a.inject(a.delay(()=>p.InteractionService))),i(3,a.inject(a.delay(()=>f.ChainsService))),i(4,a.inject(a.delay(()=>g.PermissionService))),i(5,a.inject(d.LedgerService)),i(6,a.inject(c.TYPES.RNG)),o("design:paramtypes",[Object,Array,p.InteractionService,f.ChainsService,g.PermissionService,d.LedgerService,Function])],v),t.KeyRingService=v},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(343),t),o(r(189),t),o(r(344),t)},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.PermissionService=void 0;const a=r(43),c=r(52),u=r(83),l=r(352),f=r(58),d=r(103),h=r(11);let p=class{constructor(e,t,r,n,o){this.kvStore=e,this.interactionService=t,this.chainsService=r,this.keyRingService=n,this.permissionMap={},this.privilegedOrigins=new Map,this.onChainRemoved=e=>{this.removeAllPermissions(e)};for(const e of o)this.privilegedOrigins.set(e,!0);this.restore(),this.chainsService.addChainRemovedHandler(this.onChainRemoved)}checkOrGrantBasicAccessPermission(e,t,r){return s(this,void 0,void 0,(function*(){yield this.keyRingService.enable(e),"string"==typeof t&&(t=[t]);const n=[];for(const e of t)this.hasPermisson(e,l.getBasicAccessPermissionType(),r)||n.push(e);n.length>0&&(yield this.grantBasicAccessPermission(e,n,[r])),yield this.checkBasicAccessPermission(e,t,r)}))}grantPermission(e,t,r,n,o){return s(this,void 0,void 0,(function*(){if(e.isInternalMsg)return;const i={chainIds:r,type:n,origins:o};yield this.interactionService.waitApprove(e,t,l.INTERACTION_TYPE_PERMISSION,i),yield this.addPermission(r,n,o)}))}grantBasicAccessPermission(e,t,r){return s(this,void 0,void 0,(function*(){for(const e of t)yield this.chainsService.getChainInfo(e);yield this.grantPermission(e,"/access",t,l.getBasicAccessPermissionType(),r)}))}checkPermission(e,t,r,n){if(!e.isInternalMsg&&!this.hasPermisson(t,r,n))throw new Error(n+" is not permitted")}checkBasicAccessPermission(e,t,r){return s(this,void 0,void 0,(function*(){for(const n of t)yield this.chainsService.getChainInfo(n),this.checkPermission(e,n,l.getBasicAccessPermissionType(),r)}))}hasPermisson(e,t,r){if(this.privilegedOrigins.get(r))return!0;const n=this.permissionMap[h.ChainIdHelper.parse(e).identifier];if(!n)return!1;const o=n[t];return!(!o||!o[r])}getPermissionOrigins(e,t){const r=[],n=this.permissionMap[h.ChainIdHelper.parse(e).identifier];if(!n)return[];const o=n[t];if(!o)return[];for(const e of Object.keys(o))o[e]&&r.push(e);return r}addPermission(e,t,r){return s(this,void 0,void 0,(function*(){for(const n of e){let e=this.permissionMap[h.ChainIdHelper.parse(n).identifier];e||(e={},this.permissionMap[h.ChainIdHelper.parse(n).identifier]=e);let o=e[t];o||(o={},e[t]=o);for(const e of r)o[e]=!0}yield this.save()}))}removePermission(e,t,r){return s(this,void 0,void 0,(function*(){const n=this.permissionMap[h.ChainIdHelper.parse(e).identifier];if(!n)return;const o=n[t];if(o){for(const e of r)delete o[e];yield this.save()}}))}removeAllPermissions(e){return s(this,void 0,void 0,(function*(){this.permissionMap[h.ChainIdHelper.parse(e).identifier]=void 0,yield this.save()}))}restore(){return s(this,void 0,void 0,(function*(){const e=yield this.kvStore.get("permissionMap");e&&(this.permissionMap=e)}))}save(){return s(this,void 0,void 0,(function*(){yield this.kvStore.set("permissionMap",this.permissionMap)}))}};p=n([a.singleton(),i(0,a.inject(c.TYPES.PermissionStore)),i(1,a.inject(a.delay(()=>u.InteractionService))),i(2,a.inject(f.ChainsService)),i(3,a.inject(a.delay(()=>d.KeyRingService))),i(4,a.inject(c.TYPES.PermissionServicePrivilegedOrigins)),o("design:paramtypes",[Object,u.InteractionService,f.ChainsService,d.KeyRingService,Array])],p),t.PermissionService=p},function(e,t,r){"use strict";function n(){return"basic-access"}Object.defineProperty(t,"__esModule",{value:!0}),t.isBasicAccessPermissionType=t.getBasicAccessPermissionType=t.INTERACTION_TYPE_PERMISSION=void 0,t.INTERACTION_TYPE_PERMISSION="permission",t.getBasicAccessPermissionType=n,t.isBasicAccessPermissionType=function(e){return"basic-access"===e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="keyring"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="permission"},function(e,t,r){"use strict";(function(e){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Fee=t.ModeInfo_Multi=t.ModeInfo_Single=t.ModeInfo=t.SignerInfo=t.AuthInfo=t.TxBody=t.SignDoc=t.TxRaw=t.Tx=t.protobufPackage=void 0;const o=n(r(113)),i=r(138),s=r(356),a=r(357),c=r(137),u=n(r(48));t.protobufPackage="cosmos.tx.v1beta1";const l={};t.Tx={encode(e,r=u.default.Writer.create()){void 0!==e.body&&void 0!==e.body&&t.TxBody.encode(e.body,r.uint32(10).fork()).ldelim(),void 0!==e.authInfo&&void 0!==e.authInfo&&t.AuthInfo.encode(e.authInfo,r.uint32(18).fork()).ldelim();for(const t of e.signatures)r.uint32(26).bytes(t);return r},decode(e,r){const n=e instanceof Uint8Array?new u.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const i=Object.assign({},l);for(i.signatures=[];n.pos>>3){case 1:i.body=t.TxBody.decode(n,n.uint32());break;case 2:i.authInfo=t.AuthInfo.decode(n,n.uint32());break;case 3:i.signatures.push(n.bytes());break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},l);if(r.signatures=[],void 0!==e.body&&null!==e.body?r.body=t.TxBody.fromJSON(e.body):r.body=void 0,void 0!==e.authInfo&&null!==e.authInfo?r.authInfo=t.AuthInfo.fromJSON(e.authInfo):r.authInfo=void 0,void 0!==e.signatures&&null!==e.signatures)for(const t of e.signatures)r.signatures.push(k(t));return r},fromPartial(e){const r=Object.assign({},l);if(r.signatures=[],void 0!==e.body&&null!==e.body?r.body=t.TxBody.fromPartial(e.body):r.body=void 0,void 0!==e.authInfo&&null!==e.authInfo?r.authInfo=t.AuthInfo.fromPartial(e.authInfo):r.authInfo=void 0,void 0!==e.signatures&&null!==e.signatures)for(const t of e.signatures)r.signatures.push(t);return r},toJSON(e){const r={};return void 0!==e.body&&(r.body=e.body?t.TxBody.toJSON(e.body):void 0),void 0!==e.authInfo&&(r.authInfo=e.authInfo?t.AuthInfo.toJSON(e.authInfo):void 0),e.signatures?r.signatures=e.signatures.map(e=>S(void 0!==e?e:new Uint8Array)):r.signatures=[],r}};const f={};t.TxRaw={encode(e,t=u.default.Writer.create()){t.uint32(10).bytes(e.bodyBytes),t.uint32(18).bytes(e.authInfoBytes);for(const r of e.signatures)t.uint32(26).bytes(r);return t},decode(e,t){const r=e instanceof Uint8Array?new u.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},f);for(o.signatures=[];r.pos>>3){case 1:o.bodyBytes=r.bytes();break;case 2:o.authInfoBytes=r.bytes();break;case 3:o.signatures.push(r.bytes());break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},f);if(t.signatures=[],void 0!==e.bodyBytes&&null!==e.bodyBytes&&(t.bodyBytes=k(e.bodyBytes)),void 0!==e.authInfoBytes&&null!==e.authInfoBytes&&(t.authInfoBytes=k(e.authInfoBytes)),void 0!==e.signatures&&null!==e.signatures)for(const r of e.signatures)t.signatures.push(k(r));return t},fromPartial(e){const t=Object.assign({},f);if(t.signatures=[],void 0!==e.bodyBytes&&null!==e.bodyBytes?t.bodyBytes=e.bodyBytes:t.bodyBytes=new Uint8Array,void 0!==e.authInfoBytes&&null!==e.authInfoBytes?t.authInfoBytes=e.authInfoBytes:t.authInfoBytes=new Uint8Array,void 0!==e.signatures&&null!==e.signatures)for(const r of e.signatures)t.signatures.push(r);return t},toJSON(e){const t={};return void 0!==e.bodyBytes&&(t.bodyBytes=S(void 0!==e.bodyBytes?e.bodyBytes:new Uint8Array)),void 0!==e.authInfoBytes&&(t.authInfoBytes=S(void 0!==e.authInfoBytes?e.authInfoBytes:new Uint8Array)),e.signatures?t.signatures=e.signatures.map(e=>S(void 0!==e?e:new Uint8Array)):t.signatures=[],t}};const d={chainId:"",accountNumber:o.default.UZERO};t.SignDoc={encode:(e,t=u.default.Writer.create())=>(t.uint32(10).bytes(e.bodyBytes),t.uint32(18).bytes(e.authInfoBytes),t.uint32(26).string(e.chainId),t.uint32(32).uint64(e.accountNumber),t),decode(e,t){const r=e instanceof Uint8Array?new u.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},d);for(;r.pos>>3){case 1:o.bodyBytes=r.bytes();break;case 2:o.authInfoBytes=r.bytes();break;case 3:o.chainId=r.string();break;case 4:o.accountNumber=r.uint64();break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},d);return void 0!==e.bodyBytes&&null!==e.bodyBytes&&(t.bodyBytes=k(e.bodyBytes)),void 0!==e.authInfoBytes&&null!==e.authInfoBytes&&(t.authInfoBytes=k(e.authInfoBytes)),void 0!==e.chainId&&null!==e.chainId?t.chainId=String(e.chainId):t.chainId="",void 0!==e.accountNumber&&null!==e.accountNumber?t.accountNumber=o.default.fromString(e.accountNumber):t.accountNumber=o.default.UZERO,t},fromPartial(e){const t=Object.assign({},d);return void 0!==e.bodyBytes&&null!==e.bodyBytes?t.bodyBytes=e.bodyBytes:t.bodyBytes=new Uint8Array,void 0!==e.authInfoBytes&&null!==e.authInfoBytes?t.authInfoBytes=e.authInfoBytes:t.authInfoBytes=new Uint8Array,void 0!==e.chainId&&null!==e.chainId?t.chainId=e.chainId:t.chainId="",void 0!==e.accountNumber&&null!==e.accountNumber?t.accountNumber=e.accountNumber:t.accountNumber=o.default.UZERO,t},toJSON(e){const t={};return void 0!==e.bodyBytes&&(t.bodyBytes=S(void 0!==e.bodyBytes?e.bodyBytes:new Uint8Array)),void 0!==e.authInfoBytes&&(t.authInfoBytes=S(void 0!==e.authInfoBytes?e.authInfoBytes:new Uint8Array)),void 0!==e.chainId&&(t.chainId=e.chainId),void 0!==e.accountNumber&&(t.accountNumber=(e.accountNumber||o.default.UZERO).toString()),t}};const h={memo:"",timeoutHeight:o.default.UZERO};t.TxBody={encode(e,t=u.default.Writer.create()){for(const r of e.messages)i.Any.encode(r,t.uint32(10).fork()).ldelim();t.uint32(18).string(e.memo),t.uint32(24).uint64(e.timeoutHeight);for(const r of e.extensionOptions)i.Any.encode(r,t.uint32(8186).fork()).ldelim();for(const r of e.nonCriticalExtensionOptions)i.Any.encode(r,t.uint32(16378).fork()).ldelim();return t},decode(e,t){const r=e instanceof Uint8Array?new u.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},h);for(o.messages=[],o.extensionOptions=[],o.nonCriticalExtensionOptions=[];r.pos>>3){case 1:o.messages.push(i.Any.decode(r,r.uint32()));break;case 2:o.memo=r.string();break;case 3:o.timeoutHeight=r.uint64();break;case 1023:o.extensionOptions.push(i.Any.decode(r,r.uint32()));break;case 2047:o.nonCriticalExtensionOptions.push(i.Any.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},h);if(t.messages=[],t.extensionOptions=[],t.nonCriticalExtensionOptions=[],void 0!==e.messages&&null!==e.messages)for(const r of e.messages)t.messages.push(i.Any.fromJSON(r));if(void 0!==e.memo&&null!==e.memo?t.memo=String(e.memo):t.memo="",void 0!==e.timeoutHeight&&null!==e.timeoutHeight?t.timeoutHeight=o.default.fromString(e.timeoutHeight):t.timeoutHeight=o.default.UZERO,void 0!==e.extensionOptions&&null!==e.extensionOptions)for(const r of e.extensionOptions)t.extensionOptions.push(i.Any.fromJSON(r));if(void 0!==e.nonCriticalExtensionOptions&&null!==e.nonCriticalExtensionOptions)for(const r of e.nonCriticalExtensionOptions)t.nonCriticalExtensionOptions.push(i.Any.fromJSON(r));return t},fromPartial(e){const t=Object.assign({},h);if(t.messages=[],t.extensionOptions=[],t.nonCriticalExtensionOptions=[],void 0!==e.messages&&null!==e.messages)for(const r of e.messages)t.messages.push(i.Any.fromPartial(r));if(void 0!==e.memo&&null!==e.memo?t.memo=e.memo:t.memo="",void 0!==e.timeoutHeight&&null!==e.timeoutHeight?t.timeoutHeight=e.timeoutHeight:t.timeoutHeight=o.default.UZERO,void 0!==e.extensionOptions&&null!==e.extensionOptions)for(const r of e.extensionOptions)t.extensionOptions.push(i.Any.fromPartial(r));if(void 0!==e.nonCriticalExtensionOptions&&null!==e.nonCriticalExtensionOptions)for(const r of e.nonCriticalExtensionOptions)t.nonCriticalExtensionOptions.push(i.Any.fromPartial(r));return t},toJSON(e){const t={};return e.messages?t.messages=e.messages.map(e=>e?i.Any.toJSON(e):void 0):t.messages=[],void 0!==e.memo&&(t.memo=e.memo),void 0!==e.timeoutHeight&&(t.timeoutHeight=(e.timeoutHeight||o.default.UZERO).toString()),e.extensionOptions?t.extensionOptions=e.extensionOptions.map(e=>e?i.Any.toJSON(e):void 0):t.extensionOptions=[],e.nonCriticalExtensionOptions?t.nonCriticalExtensionOptions=e.nonCriticalExtensionOptions.map(e=>e?i.Any.toJSON(e):void 0):t.nonCriticalExtensionOptions=[],t}};const p={};t.AuthInfo={encode(e,r=u.default.Writer.create()){for(const n of e.signerInfos)t.SignerInfo.encode(n,r.uint32(10).fork()).ldelim();return void 0!==e.fee&&void 0!==e.fee&&t.Fee.encode(e.fee,r.uint32(18).fork()).ldelim(),r},decode(e,r){const n=e instanceof Uint8Array?new u.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const i=Object.assign({},p);for(i.signerInfos=[];n.pos>>3){case 1:i.signerInfos.push(t.SignerInfo.decode(n,n.uint32()));break;case 2:i.fee=t.Fee.decode(n,n.uint32());break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},p);if(r.signerInfos=[],void 0!==e.signerInfos&&null!==e.signerInfos)for(const n of e.signerInfos)r.signerInfos.push(t.SignerInfo.fromJSON(n));return void 0!==e.fee&&null!==e.fee?r.fee=t.Fee.fromJSON(e.fee):r.fee=void 0,r},fromPartial(e){const r=Object.assign({},p);if(r.signerInfos=[],void 0!==e.signerInfos&&null!==e.signerInfos)for(const n of e.signerInfos)r.signerInfos.push(t.SignerInfo.fromPartial(n));return void 0!==e.fee&&null!==e.fee?r.fee=t.Fee.fromPartial(e.fee):r.fee=void 0,r},toJSON(e){const r={};return e.signerInfos?r.signerInfos=e.signerInfos.map(e=>e?t.SignerInfo.toJSON(e):void 0):r.signerInfos=[],void 0!==e.fee&&(r.fee=e.fee?t.Fee.toJSON(e.fee):void 0),r}};const g={sequence:o.default.UZERO};t.SignerInfo={encode:(e,r=u.default.Writer.create())=>(void 0!==e.publicKey&&void 0!==e.publicKey&&i.Any.encode(e.publicKey,r.uint32(10).fork()).ldelim(),void 0!==e.modeInfo&&void 0!==e.modeInfo&&t.ModeInfo.encode(e.modeInfo,r.uint32(18).fork()).ldelim(),r.uint32(24).uint64(e.sequence),r),decode(e,r){const n=e instanceof Uint8Array?new u.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const s=Object.assign({},g);for(;n.pos>>3){case 1:s.publicKey=i.Any.decode(n,n.uint32());break;case 2:s.modeInfo=t.ModeInfo.decode(n,n.uint32());break;case 3:s.sequence=n.uint64();break;default:n.skipType(7&e)}}return s},fromJSON(e){const r=Object.assign({},g);return void 0!==e.publicKey&&null!==e.publicKey?r.publicKey=i.Any.fromJSON(e.publicKey):r.publicKey=void 0,void 0!==e.modeInfo&&null!==e.modeInfo?r.modeInfo=t.ModeInfo.fromJSON(e.modeInfo):r.modeInfo=void 0,void 0!==e.sequence&&null!==e.sequence?r.sequence=o.default.fromString(e.sequence):r.sequence=o.default.UZERO,r},fromPartial(e){const r=Object.assign({},g);return void 0!==e.publicKey&&null!==e.publicKey?r.publicKey=i.Any.fromPartial(e.publicKey):r.publicKey=void 0,void 0!==e.modeInfo&&null!==e.modeInfo?r.modeInfo=t.ModeInfo.fromPartial(e.modeInfo):r.modeInfo=void 0,void 0!==e.sequence&&null!==e.sequence?r.sequence=e.sequence:r.sequence=o.default.UZERO,r},toJSON(e){const r={};return void 0!==e.publicKey&&(r.publicKey=e.publicKey?i.Any.toJSON(e.publicKey):void 0),void 0!==e.modeInfo&&(r.modeInfo=e.modeInfo?t.ModeInfo.toJSON(e.modeInfo):void 0),void 0!==e.sequence&&(r.sequence=(e.sequence||o.default.UZERO).toString()),r}};const m={};t.ModeInfo={encode:(e,r=u.default.Writer.create())=>(void 0!==e.single&&t.ModeInfo_Single.encode(e.single,r.uint32(10).fork()).ldelim(),void 0!==e.multi&&t.ModeInfo_Multi.encode(e.multi,r.uint32(18).fork()).ldelim(),r),decode(e,r){const n=e instanceof Uint8Array?new u.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const i=Object.assign({},m);for(;n.pos>>3){case 1:i.single=t.ModeInfo_Single.decode(n,n.uint32());break;case 2:i.multi=t.ModeInfo_Multi.decode(n,n.uint32());break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},m);return void 0!==e.single&&null!==e.single?r.single=t.ModeInfo_Single.fromJSON(e.single):r.single=void 0,void 0!==e.multi&&null!==e.multi?r.multi=t.ModeInfo_Multi.fromJSON(e.multi):r.multi=void 0,r},fromPartial(e){const r=Object.assign({},m);return void 0!==e.single&&null!==e.single?r.single=t.ModeInfo_Single.fromPartial(e.single):r.single=void 0,void 0!==e.multi&&null!==e.multi?r.multi=t.ModeInfo_Multi.fromPartial(e.multi):r.multi=void 0,r},toJSON(e){const r={};return void 0!==e.single&&(r.single=e.single?t.ModeInfo_Single.toJSON(e.single):void 0),void 0!==e.multi&&(r.multi=e.multi?t.ModeInfo_Multi.toJSON(e.multi):void 0),r}};const y={mode:0};t.ModeInfo_Single={encode:(e,t=u.default.Writer.create())=>(t.uint32(8).int32(e.mode),t),decode(e,t){const r=e instanceof Uint8Array?new u.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},y);for(;r.pos>>3){case 1:o.mode=r.int32();break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},y);return void 0!==e.mode&&null!==e.mode?t.mode=s.signModeFromJSON(e.mode):t.mode=0,t},fromPartial(e){const t=Object.assign({},y);return void 0!==e.mode&&null!==e.mode?t.mode=e.mode:t.mode=0,t},toJSON(e){const t={};return void 0!==e.mode&&(t.mode=s.signModeToJSON(e.mode)),t}};const b={};t.ModeInfo_Multi={encode(e,r=u.default.Writer.create()){void 0!==e.bitarray&&void 0!==e.bitarray&&a.CompactBitArray.encode(e.bitarray,r.uint32(10).fork()).ldelim();for(const n of e.modeInfos)t.ModeInfo.encode(n,r.uint32(18).fork()).ldelim();return r},decode(e,r){const n=e instanceof Uint8Array?new u.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const i=Object.assign({},b);for(i.modeInfos=[];n.pos>>3){case 1:i.bitarray=a.CompactBitArray.decode(n,n.uint32());break;case 2:i.modeInfos.push(t.ModeInfo.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},b);if(r.modeInfos=[],void 0!==e.bitarray&&null!==e.bitarray?r.bitarray=a.CompactBitArray.fromJSON(e.bitarray):r.bitarray=void 0,void 0!==e.modeInfos&&null!==e.modeInfos)for(const n of e.modeInfos)r.modeInfos.push(t.ModeInfo.fromJSON(n));return r},fromPartial(e){const r=Object.assign({},b);if(r.modeInfos=[],void 0!==e.bitarray&&null!==e.bitarray?r.bitarray=a.CompactBitArray.fromPartial(e.bitarray):r.bitarray=void 0,void 0!==e.modeInfos&&null!==e.modeInfos)for(const n of e.modeInfos)r.modeInfos.push(t.ModeInfo.fromPartial(n));return r},toJSON(e){const r={};return void 0!==e.bitarray&&(r.bitarray=e.bitarray?a.CompactBitArray.toJSON(e.bitarray):void 0),e.modeInfos?r.modeInfos=e.modeInfos.map(e=>e?t.ModeInfo.toJSON(e):void 0):r.modeInfos=[],r}};const v={gasLimit:o.default.UZERO,payer:"",granter:""};t.Fee={encode(e,t=u.default.Writer.create()){for(const r of e.amount)c.Coin.encode(r,t.uint32(10).fork()).ldelim();return t.uint32(16).uint64(e.gasLimit),t.uint32(26).string(e.payer),t.uint32(34).string(e.granter),t},decode(e,t){const r=e instanceof Uint8Array?new u.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},v);for(o.amount=[];r.pos>>3){case 1:o.amount.push(c.Coin.decode(r,r.uint32()));break;case 2:o.gasLimit=r.uint64();break;case 3:o.payer=r.string();break;case 4:o.granter=r.string();break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},v);if(t.amount=[],void 0!==e.amount&&null!==e.amount)for(const r of e.amount)t.amount.push(c.Coin.fromJSON(r));return void 0!==e.gasLimit&&null!==e.gasLimit?t.gasLimit=o.default.fromString(e.gasLimit):t.gasLimit=o.default.UZERO,void 0!==e.payer&&null!==e.payer?t.payer=String(e.payer):t.payer="",void 0!==e.granter&&null!==e.granter?t.granter=String(e.granter):t.granter="",t},fromPartial(e){const t=Object.assign({},v);if(t.amount=[],void 0!==e.amount&&null!==e.amount)for(const r of e.amount)t.amount.push(c.Coin.fromPartial(r));return void 0!==e.gasLimit&&null!==e.gasLimit?t.gasLimit=e.gasLimit:t.gasLimit=o.default.UZERO,void 0!==e.payer&&null!==e.payer?t.payer=e.payer:t.payer="",void 0!==e.granter&&null!==e.granter?t.granter=e.granter:t.granter="",t},toJSON(e){const t={};return e.amount?t.amount=e.amount.map(e=>e?c.Coin.toJSON(e):void 0):t.amount=[],void 0!==e.gasLimit&&(t.gasLimit=(e.gasLimit||o.default.UZERO).toString()),void 0!==e.payer&&(t.payer=e.payer),void 0!==e.granter&&(t.granter=e.granter),t}};var w=(()=>{if(void 0!==w)return w;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const _=w.atob||(e=>w.Buffer.from(e,"base64").toString("binary"));function k(e){const t=_(e),r=new Uint8Array(t.length);for(let e=0;ew.Buffer.from(e,"binary").toString("base64"));function S(e){const t=[];for(let r=0;r>>3){case 1:i.signatures.push(t.SignatureDescriptor.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},f);if(r.signatures=[],void 0!==e.signatures&&null!==e.signatures)for(const n of e.signatures)r.signatures.push(t.SignatureDescriptor.fromJSON(n));return r},fromPartial(e){const r=Object.assign({},f);if(r.signatures=[],void 0!==e.signatures&&null!==e.signatures)for(const n of e.signatures)r.signatures.push(t.SignatureDescriptor.fromPartial(n));return r},toJSON(e){const r={};return e.signatures?r.signatures=e.signatures.map(e=>e?t.SignatureDescriptor.toJSON(e):void 0):r.signatures=[],r}};const d={sequence:i.default.UZERO};t.SignatureDescriptor={encode:(e,r=a.default.Writer.create())=>(void 0!==e.publicKey&&void 0!==e.publicKey&&o.Any.encode(e.publicKey,r.uint32(10).fork()).ldelim(),void 0!==e.data&&void 0!==e.data&&t.SignatureDescriptor_Data.encode(e.data,r.uint32(18).fork()).ldelim(),r.uint32(24).uint64(e.sequence),r),decode(e,r){const n=e instanceof Uint8Array?new a.default.Reader(e):e;let i=void 0===r?n.len:n.pos+r;const s=Object.assign({},d);for(;n.pos>>3){case 1:s.publicKey=o.Any.decode(n,n.uint32());break;case 2:s.data=t.SignatureDescriptor_Data.decode(n,n.uint32());break;case 3:s.sequence=n.uint64();break;default:n.skipType(7&e)}}return s},fromJSON(e){const r=Object.assign({},d);return void 0!==e.publicKey&&null!==e.publicKey?r.publicKey=o.Any.fromPartial(e.publicKey):r.publicKey=void 0,void 0!==e.data&&null!==e.data?r.data=t.SignatureDescriptor_Data.fromJSON(e.data):r.data=void 0,void 0!==e.sequence&&null!==e.sequence?r.sequence=i.default.fromString(e.sequence):r.sequence=i.default.UZERO,r},fromPartial(e){const r=Object.assign({},d);return void 0!==e.publicKey&&null!==e.publicKey?r.publicKey=o.Any.fromPartial(e.publicKey):r.publicKey=void 0,void 0!==e.data&&null!==e.data?r.data=t.SignatureDescriptor_Data.fromPartial(e.data):r.data=void 0,void 0!==e.sequence&&null!==e.sequence?r.sequence=e.sequence:r.sequence=i.default.UZERO,r},toJSON(e){const r={};return void 0!==e.publicKey&&(r.publicKey=e.publicKey?o.Any.toJSON(e.publicKey):void 0),void 0!==e.data&&(r.data=e.data?t.SignatureDescriptor_Data.toJSON(e.data):void 0),void 0!==e.sequence&&(r.sequence=(e.sequence||i.default.UZERO).toString()),r}};const h={};t.SignatureDescriptor_Data={encode:(e,r=a.default.Writer.create())=>(void 0!==e.single&&t.SignatureDescriptor_Data_Single.encode(e.single,r.uint32(10).fork()).ldelim(),void 0!==e.multi&&t.SignatureDescriptor_Data_Multi.encode(e.multi,r.uint32(18).fork()).ldelim(),r),decode(e,r){const n=e instanceof Uint8Array?new a.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const i=Object.assign({},h);for(;n.pos>>3){case 1:i.single=t.SignatureDescriptor_Data_Single.decode(n,n.uint32());break;case 2:i.multi=t.SignatureDescriptor_Data_Multi.decode(n,n.uint32());break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},h);return void 0!==e.single&&null!==e.single?r.single=t.SignatureDescriptor_Data_Single.fromJSON(e.single):r.single=void 0,void 0!==e.multi&&null!==e.multi?r.multi=t.SignatureDescriptor_Data_Multi.fromJSON(e.multi):r.multi=void 0,r},fromPartial(e){const r=Object.assign({},h);return void 0!==e.single&&null!==e.single?r.single=t.SignatureDescriptor_Data_Single.fromPartial(e.single):r.single=void 0,void 0!==e.multi&&null!==e.multi?r.multi=t.SignatureDescriptor_Data_Multi.fromPartial(e.multi):r.multi=void 0,r},toJSON(e){const r={};return void 0!==e.single&&(r.single=e.single?t.SignatureDescriptor_Data_Single.toJSON(e.single):void 0),void 0!==e.multi&&(r.multi=e.multi?t.SignatureDescriptor_Data_Multi.toJSON(e.multi):void 0),r}};const p={mode:0};t.SignatureDescriptor_Data_Single={encode:(e,t=a.default.Writer.create())=>(t.uint32(8).int32(e.mode),t.uint32(18).bytes(e.signature),t),decode(e,t){const r=e instanceof Uint8Array?new a.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},p);for(;r.pos>>3){case 1:o.mode=r.int32();break;case 2:o.signature=r.bytes();break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},p);return void 0!==e.mode&&null!==e.mode?t.mode=u(e.mode):t.mode=0,void 0!==e.signature&&null!==e.signature&&(t.signature=function(e){const t=y(e),r=new Uint8Array(t.length);for(let e=0;e>>3){case 1:i.bitarray=s.CompactBitArray.decode(n,n.uint32());break;case 2:i.signatures.push(t.SignatureDescriptor_Data.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},g);if(r.signatures=[],void 0!==e.bitarray&&null!==e.bitarray?r.bitarray=s.CompactBitArray.fromJSON(e.bitarray):r.bitarray=void 0,void 0!==e.signatures&&null!==e.signatures)for(const n of e.signatures)r.signatures.push(t.SignatureDescriptor_Data.fromJSON(n));return r},fromPartial(e){const r=Object.assign({},g);if(r.signatures=[],void 0!==e.bitarray&&null!==e.bitarray?r.bitarray=s.CompactBitArray.fromPartial(e.bitarray):r.bitarray=void 0,void 0!==e.signatures&&null!==e.signatures)for(const n of e.signatures)r.signatures.push(t.SignatureDescriptor_Data.fromPartial(n));return r},toJSON(e){const r={};return void 0!==e.bitarray&&(r.bitarray=e.bitarray?s.CompactBitArray.toJSON(e.bitarray):void 0),e.signatures?r.signatures=e.signatures.map(e=>e?t.SignatureDescriptor_Data.toJSON(e):void 0):r.signatures=[],r}};var m=(()=>{if(void 0!==m)return m;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const y=m.atob||(e=>m.Buffer.from(e,"base64").toString("binary"));const b=m.btoa||(e=>m.Buffer.from(e,"binary").toString("base64"))}).call(this,r(12))},function(e,t,r){"use strict";(function(e){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompactBitArray=t.MultiSignature=t.protobufPackage=void 0;const o=n(r(48));t.protobufPackage="cosmos.crypto.multisig.v1beta1";const i={};t.MultiSignature={encode(e,t=o.default.Writer.create()){for(const r of e.signatures)t.uint32(10).bytes(r);return t},decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},i);for(s.signatures=[];r.pos>>3){case 1:s.signatures.push(r.bytes());break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},i);if(t.signatures=[],void 0!==e.signatures&&null!==e.signatures)for(const r of e.signatures)t.signatures.push(u(r));return t},fromPartial(e){const t=Object.assign({},i);if(t.signatures=[],void 0!==e.signatures&&null!==e.signatures)for(const r of e.signatures)t.signatures.push(r);return t},toJSON(e){const t={};return e.signatures?t.signatures=e.signatures.map(e=>f(void 0!==e?e:new Uint8Array)):t.signatures=[],t}};const s={extraBitsStored:0};t.CompactBitArray={encode:(e,t=o.default.Writer.create())=>(t.uint32(8).uint32(e.extraBitsStored),t.uint32(18).bytes(e.elems),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const i=Object.assign({},s);for(;r.pos>>3){case 1:i.extraBitsStored=r.uint32();break;case 2:i.elems=r.bytes();break;default:r.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},s);return void 0!==e.extraBitsStored&&null!==e.extraBitsStored?t.extraBitsStored=Number(e.extraBitsStored):t.extraBitsStored=0,void 0!==e.elems&&null!==e.elems&&(t.elems=u(e.elems)),t},fromPartial(e){const t=Object.assign({},s);return void 0!==e.extraBitsStored&&null!==e.extraBitsStored?t.extraBitsStored=e.extraBitsStored:t.extraBitsStored=0,void 0!==e.elems&&null!==e.elems?t.elems=e.elems:t.elems=new Uint8Array,t},toJSON(e){const t={};return void 0!==e.extraBitsStored&&(t.extraBitsStored=e.extraBitsStored),void 0!==e.elems&&(t.elems=f(void 0!==e.elems?e.elems:new Uint8Array)),t}};var a=(()=>{if(void 0!==a)return a;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const c=a.atob||(e=>a.Buffer.from(e,"base64").toString("binary"));function u(e){const t=c(e),r=new Uint8Array(t.length);for(let e=0;ea.Buffer.from(e,"binary").toString("base64"));function f(e){const t=[];for(let r=0;r=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SecretWasmService=void 0;const c=r(43),u=r(52),l=r(731),f=r(103),d=r(58),h=r(102),p=r(108),g=r(11),m=a(r(342)),y=r(2);let b=class{constructor(e,t,r,n){this.kvStore=e,this.chainsService=t,this.keyRingService=r,this.permissionService=n,this.debouncerMap=new Map,this.cacheEnigmaUtils=new Map,this.onChainRemoved=()=>{this.cacheEnigmaUtils=new Map},this.chainsService.addChainRemovedHandler(this.onChainRemoved)}getPubkey(e,t){return s(this,void 0,void 0,(function*(){const r=yield this.chainsService.getChainInfo(t);if("none"===(yield this.keyRingService.getKeyRingType()))throw new Error("Key ring is not initialized");const n=yield this.getSeed(e,r);return this.getEnigmaUtils(r,n).pubkey}))}getTxEncryptionKey(e,t,r){return s(this,void 0,void 0,(function*(){const n=yield this.chainsService.getChainInfo(t);if("none"===(yield this.keyRingService.getKeyRingType()))throw new Error("Key ring is not initialized");const o=yield this.getSeed(e,n);return this.getEnigmaUtils(n,o).getTxEncryptionKey(r)}))}encrypt(e,t,r,n){return s(this,void 0,void 0,(function*(){const o=yield this.chainsService.getChainInfo(t);if("none"===(yield this.keyRingService.getKeyRingType()))throw new Error("Key ring is not initialized");const i=yield this.getSeed(e,o),s=this.getEnigmaUtils(o,i);return yield s.encrypt(r,n)}))}decrypt(e,t,r,n){return s(this,void 0,void 0,(function*(){const o=yield this.chainsService.getChainInfo(t);if("none"===(yield this.keyRingService.getKeyRingType()))throw new Error("Key ring is not initialized");const i=yield this.getSeed(e,o),s=this.getEnigmaUtils(o,i);return yield s.decrypt(r,n)}))}getEnigmaUtils(e,t){const r=`${e.chainId}-${y.Buffer.from(t).toString("hex")}`;if(this.cacheEnigmaUtils.has(r))return this.cacheEnigmaUtils.get(r);const n=new l.EnigmaUtils(e.rest,t);return this.cacheEnigmaUtils.set(r,n),n}getSeed(e,t){return s(this,void 0,void 0,(function*(){const r=yield this.keyRingService.getKey(t.chainId),n=new g.Bech32Address(r.address).toBech32(t.bech32Config.bech32PrefixAccAddr),o=`${e.isInternalMsg}/${t.chainId}/${n}`;this.debouncerMap.has(o)||this.debouncerMap.set(o,m.default.promise(this.getSeedInner.bind(this)));const i=this.debouncerMap.get(o);return yield i(e,t,n)}))}getSeedInner(e,t,r){return s(this,void 0,void 0,(function*(){const n=`seed-${t.chainId}-${r}`,o=yield this.kvStore.get(n);if(o)return y.Buffer.from(o,"hex");const i=p.Hash.sha256(y.Buffer.from(yield this.keyRingService.sign(e,t.chainId,y.Buffer.from(JSON.stringify({account_number:0,chain_id:t.chainId,fee:[],memo:"Create Keplr Secret encryption key. Only approve requests by Keplr.",msgs:[],sequence:0})))));return yield this.kvStore.set(n,y.Buffer.from(i).toString("hex")),i}))}};b=n([c.singleton(),i(0,c.inject(u.TYPES.SecretWasmStore)),i(1,c.inject(d.ChainsService)),i(2,c.inject(c.delay(()=>f.KeyRingService))),i(3,c.inject(c.delay(()=>h.PermissionService))),o("design:paramtypes",[Object,d.ChainsService,f.KeyRingService,h.PermissionService])],b),t.SecretWasmService=b},function(e,t,r){"use strict";(function(e){var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(117)),i=r(361);class s{static toHex(e){let t="";for(const r of e)t+=("0"+r.toString(16)).slice(-2);return t}static fromHex(e){if(e.length%2!=0)throw new Error("hex string length must be a multiple of 2");const t=[];for(let r=0;r{const t=e.charCodeAt(0);if(t<32||t>126)throw new Error("Cannot encode character that is out of printable ASCII range: "+t);return t}))}static fromAscii(e){return(t=Array.from(e),t.map(e=>{if(e<32||e>126)throw new Error("Cannot decode character that is out of printable ASCII range: "+e);return String.fromCharCode(e)})).join("");var t}static toUtf8(t){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(t):new Uint8Array(e.from(t,"utf8"))}static fromUtf8(t){if("undefined"!=typeof TextDecoder)return new TextDecoder("utf-8",{fatal:!0}).decode(t);if(!s.isValidUtf8(t))throw new Error("Invalid UTF8 data");return e.from(t).toString("utf8")}static fromRfc3339(e){const t=/^(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(\.\d{1,9})?((?:[+-]\d{2}:\d{2})|Z)$/.exec(e);if(!t)throw new Error("Date string is not in RFC3339 format");const r=+t[1],n=+t[2],o=+t[3],s=+t[4],a=+t[5],c=+t[6],u=t[7]?Math.floor(1e3*+t[7]):0;let l,f,d;"Z"===t[8]?(l=1,f=0,d=0):(l="-"===t[8].substring(0,1)?-1:1,f=+t[8].substring(1,3),d=+t[8].substring(4,6));const h=l*(60*f+d)*60;return new i.ReadonlyDate(i.ReadonlyDate.UTC(r,n-1,o,s,a,c,u)-1e3*h)}static toRfc3339(e){function t(e,t=2){const r="00000"+e.toString();return r.substring(r.length-t)}return`${e.getUTCFullYear()}-${t(e.getUTCMonth()+1)}-${t(e.getUTCDate())}T${t(e.getUTCHours())}:${t(e.getUTCMinutes())}:${t(e.getUTCSeconds())}.${t(e.getUTCMilliseconds(),3)}Z`}static isValidUtf8(t){const r=e.from(e.from(t).toString("utf8"),"utf8");return 0===e.compare(e.from(t),r)}}t.Encoding=s}).call(this,r(2).Buffer)},function(e,t){e.exports={ReadonlyDate:Date}},function(e,t,r){"use strict";(function(e){function r(e){return"object"==typeof e&&null!==e}Object.defineProperty(t,"__esModule",{value:!0}),t.isNonNullObject=r,t.isUint8Array=function(t){return!!r(t)&&("[object Uint8Array]"===Object.prototype.toString.call(t)&&(void 0===e||void 0===e.isBuffer||!e.isBuffer(t)))}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(748);Object.defineProperty(t,"assert",{enumerable:!0,get:function(){return n.assert}});var o=r(749);Object.defineProperty(t,"sleep",{enumerable:!0,get:function(){return o.sleep}});var i=r(750);Object.defineProperty(t,"isNonNullObject",{enumerable:!0,get:function(){return i.isNonNullObject}}),Object.defineProperty(t,"isUint8Array",{enumerable:!0,get:function(){return i.isUint8Array}})},function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(69));class i{constructor(e){if(!i.mnemonicMatcher.test(e))throw new Error("Invalid mnemonic format");const t=e.split(" "),r=[12,15,18,21,24];if(-1===r.indexOf(t.length))throw new Error(`Invalid word count in mnemonic (allowed: ${r} got: ${t.length})`);for(const e of t)if(-1===i.wordlist.indexOf(e))throw new Error("Mnemonic contains invalid word");o.mnemonicToEntropy(e),this.data=e}toString(){return this.data}}t.EnglishMnemonic=i,i.wordlist=o.wordlists.english,i.mnemonicMatcher=/^[a-z]+( [a-z]+)*$/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Hmac=class{constructor(e,t){const r=(new e).blockSize;this.hash=t=>(new e).update(t).digest();let n=t;if(n.length>r&&(n=this.hash(n)),n.length92^e),this.iKeyPad=n.map(e=>54^e),this.messageHasher=new e,this.blockSize=r,this.update(this.iKeyPad)}update(e){return this.messageHasher.update(e),this}digest(){const e=this.messageHasher.digest();return this.hash(new Uint8Array([...this.oKeyPad,...e]))}}},function(e,t,r){"use strict";function n(e){let t=0;for(const r of e){if(0!==r)break;t++}return e.slice(t)}Object.defineProperty(t,"__esModule",{value:!0});class o{constructor(e,t){if(e.length>32||0===e.length||0===e[0])throw new Error("Unsigned integer r must be encoded as unpadded big endian.");if(t.length>32||0===t.length||0===t[0])throw new Error("Unsigned integer s must be encoded as unpadded big endian.");this.data={r:e,s:t}}static fromFixedLength(e){if(64!==e.length)throw new Error(`Got invalid data length: ${e.length}. Expected 2x 32 bytes for the pair (r, s)`);return new o(n(e.slice(0,32)),n(e.slice(32,64)))}static fromDer(e){let t=0;if(48!==e[t++])throw new Error("Prefix 0x30 expected");const r=e[t++];if(e.length-t!==r)throw new Error("Data length mismatch detected");if(2!==e[t++])throw new Error("INTEGER tag expected");const i=e[t++];if(i>=128)throw new Error("Decoding length values above 127 not supported");const s=e.slice(t,t+i);t+=i;if(2!==e[t++])throw new Error("INTEGER tag expected");const a=e[t++];if(a>=128)throw new Error("Decoding length values above 127 not supported");const c=e.slice(t,t+a);return t+=a,new o(n(s),n(c))}r(e){if(void 0===e)return this.data.r;{const t=e-this.data.r.length;if(t<0)throw new Error("Length too small to hold parameter r");const r=new Uint8Array(t);return new Uint8Array([...r,...this.data.r])}}s(e){if(void 0===e)return this.data.s;{const t=e-this.data.s.length;if(t<0)throw new Error("Length too small to hold parameter s");const r=new Uint8Array(t);return new Uint8Array([...r,...this.data.s])}}toDer(){const e=this.data.r[0]>=128?new Uint8Array([0,...this.data.r]):this.data.r,t=this.data.s[0]>=128?new Uint8Array([0,...this.data.s]):this.data.s,r=e.length,n=t.length,o=new Uint8Array([2,r,...e,2,n,...t]);return new Uint8Array([48,o.length,...o])}}t.Secp256k1Signature=o;class i extends o{constructor(e,t,r){if(super(e,t),!Number.isInteger(r))throw new Error("The recovery parameter must be an integer.");if(r<0||r>4)throw new Error("The recovery parameter must be one of 0, 1, 2, 3.");this.recovery=r}static fromFixedLength(e){if(65!==e.length)throw new Error(`Got invalid data length ${e.length}. Expected 32 + 32 + 1`);return new i(n(e.slice(0,32)),n(e.slice(32,64)),e[64])}toFixedLength(){return new Uint8Array([...this.r(32),...this.s(32),this.recovery])}}t.ExtendedSecp256k1Signature=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(76));t.Sha1=class{constructor(e){this.blockSize=64,this.impl=o.default("sha1"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}};t.Sha256=class{constructor(e){this.blockSize=64,this.impl=o.default("sha256"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}};t.Sha512=class{constructor(e){this.blockSize=128,this.impl=o.default("sha512"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(761),i=r(769),s=r(42),a=r(770),c=n(r(68)),u=r(772),l=new o.PolyfillCryptoProvider,f=Uint8Array.from([0,0,0,0,0,0,0,0,0,2,75,234,216,223,105,153,8,82,194,2,219,14,0,151,193,161,46,166,55,215,233,109]);class d{constructor(e,t){this.consensusIoPubKey=new Uint8Array,this.apiUrl=e,this.seed=t||d.GenerateNewSeed();const{privkey:r,pubkey:n}=d.GenerateNewKeyPairFromSeed(this.seed);this.privkey=r,this.pubkey=n}static GenerateNewKeyPair(){return d.GenerateNewKeyPairFromSeed(d.GenerateNewSeed())}static GenerateNewSeed(){return a(32,{type:"Uint8Array"})}static GenerateNewKeyPairFromSeed(e){const{private:t,public:r}=i.generateKeyPair(e);return{privkey:t,pubkey:r}}async getConsensusIoPubKey(){if(32===this.consensusIoPubKey.length)return this.consensusIoPubKey;const{data:{result:{ioExchPubkey:e}}}=await c.default.get(this.apiUrl+"/reg/consensus-io-exch-pubkey",{headers:{"Content-Type":"application/json"}});return this.consensusIoPubKey=s.Encoding.fromBase64(e),this.consensusIoPubKey}async getTxEncryptionKey(e){const t=await this.getConsensusIoPubKey(),r=i.sharedKey(this.privkey,t),{key:n}=await u.compute(Uint8Array.from([...r,...e]),"SHA-256",32,"",f);return n}async encrypt(e,t){const r=a(32,{type:"Uint8Array"}),n=await this.getTxEncryptionKey(r),i=await o.SIV.importKey(n,"AES-SIV",l),c=s.Encoding.toUtf8(e+JSON.stringify(t)),u=await i.seal(c,[new Uint8Array]);return Uint8Array.from([...r,...this.pubkey,...u])}async decrypt(e,t){if(0===e.length)return new Uint8Array;const r=await this.getTxEncryptionKey(t),n=await o.SIV.importKey(r,"AES-SIV",l);return await n.open(e,[new Uint8Array])}getPubkey(){return Promise.resolve(this.pubkey)}}t.default=d,e.exports=d},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(140),i=r(370);class s{static importKey(e,t,r=new o.WebCryptoProvider){return n(this,void 0,void 0,(function*(){return new s(yield i.SIV.importKey(e,t,r))}))}constructor(e){this._siv=e}seal(e,t,r=new Uint8Array(0)){return n(this,void 0,void 0,(function*(){return this._siv.seal(e,[r,t])}))}open(e,t,r=new Uint8Array(0)){return n(this,void 0,void 0,(function*(){return this._siv.open(e,[r,t])}))}clear(){return this._siv.clear(),this}}t.AEAD=s},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(199),i=r(200),s=r(201),a=r(198),c=r(106),u=r(371),l=r(372),f=r(140);t.MAX_ASSOCIATED_DATA=126;class d{static importKey(e,t,r=new f.WebCryptoProvider){return n(this,void 0,void 0,(function*(){if(32!==e.length&&64!==e.length)throw new Error("AES-SIV: key must be 32 or 64-bytes (got "+e.length);const n=e.subarray(0,e.length/2|0),o=e.subarray(e.length/2|0);let i;switch(t){case"AES-SIV":case"AES-CMAC-SIV":i=yield u.CMAC.importKey(r,n);break;case"AES-PMAC-SIV":i=yield l.PMAC.importKey(r,n);break;default:throw new a.NotImplementedError("Miscreant: algorithm not supported: "+t)}const s=yield r.importCTRKey(o);return new d(i,s)}))}constructor(e,t){this._mac=e,this._ctr=t,this._tmp1=new c.default,this._tmp2=new c.default}seal(e,r){return n(this,void 0,void 0,(function*(){if(r.length>t.MAX_ASSOCIATED_DATA)throw new Error("AES-SIV: too many associated data items");const n=c.default.SIZE+e.length,o=new Uint8Array(n),i=yield this._s2v(r,e);return o.set(i),h(i),o.set(yield this._ctr.encryptCtr(i,e),i.length),o}))}open(e,r){return n(this,void 0,void 0,(function*(){if(r.length>t.MAX_ASSOCIATED_DATA)throw new Error("AES-SIV: too many associated data items");if(e.length=c.default.SIZE){const e=t.length-c.default.SIZE;this._tmp1.data.set(t.subarray(e)),yield this._mac.update(t.subarray(0,e))}else this._tmp1.data.set(t),this._tmp1.data[t.length]=128,this._tmp2.dbl();return s.xor(this._tmp1.data,this._tmp2.data),yield this._mac.update(this._tmp1.data),this._mac.finish()}))}}function h(e){e[e.length-8]&=127,e[e.length-4]&=127}t.SIV=d},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(106),i=r(201);class s{constructor(e,t,r){this._cipher=e,this._subkey1=t,this._subkey2=r,this._bufferPos=0,this._finished=!1,this._buffer=new o.default}static importKey(e,t){return n(this,void 0,void 0,(function*(){const r=yield e.importBlockCipherKey(t),n=new o.default;yield r.encryptBlock(n),n.dbl();const i=n.clone();return i.dbl(),new s(r,n,i)}))}reset(){return this._buffer.clear(),this._bufferPos=0,this._finished=!1,this}clear(){this.reset(),this._subkey1.clear(),this._subkey2.clear()}update(e){return n(this,void 0,void 0,(function*(){const t=o.default.SIZE-this._bufferPos;let r=0,n=e.length;if(n>t){for(let r=0;ro.default.SIZE;){for(let t=0;t0;e--){const t=i.select(1&a.data[e-1],128,0);a.data[e]=a.data[e]>>>1|t}return a.data[0]>>>=1,a.data[0]^=i.select(u,128,0),a.data[o.default.SIZE-1]^=i.select(u,o.default.R>>>1,0),new c(r,s,a)}))}reset(){return this._buffer.clear(),this._bufferPos=0,this._counter=0,this._offset.clear(),this._tag.clear(),this._finished=!1,this}clear(){this.reset(),this._cipher.clear()}update(e){return n(this,void 0,void 0,(function*(){if(this._finished)throw new Error("pmac: already finished");const t=o.default.SIZE-this._bufferPos;let r=0,n=e.length;for(n>t&&(this._buffer.data.set(e.slice(0,t),this._bufferPos),r+=t,n-=t,yield this._processBuffer());n>o.default.SIZE;)this._buffer.data.set(e.slice(r,r+o.default.SIZE)),r+=o.default.SIZE,n-=o.default.SIZE,yield this._processBuffer();return n>0&&(this._buffer.data.set(e.slice(r,r+n),this._bufferPos),this._bufferPos+=n),this}))}finish(){return n(this,void 0,void 0,(function*(){if(this._finished)throw new Error("pmac: already finished");return this._bufferPos===o.default.SIZE?(a.xor(this._tag.data,this._buffer.data),a.xor(this._tag.data,this._LInv.data)):(a.xor(this._tag.data,this._buffer.data.slice(0,this._bufferPos)),this._tag.data[this._bufferPos]^=128),yield this._cipher.encryptBlock(this._tag),this._finished=!0,this._tag.clone().data}))}_processBuffer(){return n(this,void 0,void 0,(function*(){a.xor(this._offset.data,this._L[s.ctz(this._counter+1)].data),a.xor(this._buffer.data,this._offset.data),this._counter++,yield this._cipher.encryptBlock(this._buffer),a.xor(this._tag.data,this._buffer.data),this._bufferPos=0}))}}t.PMAC=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={hashes:{"SHA3-512":{nodeName:"sha3-512",hashSize:64},"SHA3-384":{nodeName:"sha3-384",hashSize:48},"SHA3-256":{nodeName:"sha3-256",hashSize:32},"SHA3-224":{nodeName:"sha3-224",hashSize:28},"SHA-256":{nodeName:"sha256",hashSize:32},"SHA-384":{nodeName:"sha384",hashSize:48},"SHA-512":{nodeName:"sha512",hashSize:64},"SHA-1":{nodeName:"sha1",hashSize:20},MD5:{nodeName:"md5",hashSize:16}}}},function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(779));t.compute=o.compute,t.default={compute:t.compute}},function(e,t){var r={utf8:{stringToBytes:function(e){return r.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(r.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r126||e[r]<32&&13!==e[r]&&10!==e[r]){t=!1;break}var n=null;if(t){n="";for(r=0;ro.Encoding.fromBase64(e))}}async searchTx(e,t={}){const r=t.minHeight||0,n=t.maxHeight||Number.MAX_SAFE_INTEGER;if(ne.hash);i=[...n,...s.filter(e=>!a.includes(e.hash))]}else{if(!function(e){return void 0!==e.tags}(e))throw new Error("Unknown query type");{const t=o(e.tags.map(e=>`${e.key}=${e.value}`).join("&"));i=await this.txsQuery(t)}}return i.filter(e=>e.height>=r&&e.height<=n)}async postTx(e){const t=await this.restClient.postTx(e);if(!t.txhash.match(/^([0-9A-F][0-9A-F])+$/))throw new Error("Received ill-formatted txhash. Must be non-empty upper-case hex");if(t.code)throw new Error(`Error when posting tx ${t.txhash}. Code: ${t.code}; Raw log: ${t.raw_log}`);return{logs:t.logs?i.parseLogs(t.logs):[],rawLog:t.raw_log||"",transactionHash:t.txhash,data:t.data||""}}async getCodes(){return(await this.restClient.listCodeInfo()).map(e=>(this.anyValidAddress=e.creator,{id:e.id,creator:e.creator,checksum:o.Encoding.toHex(o.Encoding.fromHex(e.data_hash)),source:e.source||void 0,builder:e.builder||void 0}))}async getCodeDetails(e){const t=this.codesCache.get(e);if(t)return t;const r=await this.restClient.getCode(e),n={id:r.id,creator:r.creator,checksum:o.Encoding.toHex(o.Encoding.fromHex(r.data_hash)),source:r.source||void 0,builder:r.builder||void 0,data:o.Encoding.fromBase64(r.data)};return this.codesCache.set(e,n),n}async getContracts(e){return(await this.restClient.listContractsByCodeId(e)).map(e=>({address:e.address,codeId:e.code_id,creator:e.creator,label:e.label}))}async getContract(e){const t=await this.restClient.getContractInfo(e);if(!t)throw new Error(`No contract found at address "${e}"`);return{address:t.address,codeId:t.code_id,creator:t.creator,label:t.label,initMsg:t.init_msg}}async queryContractSmart(e,t,r){try{return await this.restClient.queryContractSmart(e,t,r)}catch(t){throw t instanceof Error&&t.message.startsWith("not found: contract")?new Error(`No contract found at address "${e}"`):t}}async txsQuery(e){const t=await this.restClient.txsQuery(e+"&limit=100");if(parseInt(t.page_total,10)>1)throw new Error(`Found more results on the backend than we can process currently. Results: ${t.total_count}, supported: 100`);return t.txs.map(e=>({height:parseInt(e.height,10),hash:e.txhash,code:e.code||0,rawLog:e.raw_log,logs:i.parseLogs(e.logs||[]),tx:e.tx,timestamp:e.timestamp}))}getCodeHashByCodeId(e){return this.restClient.getCodeHashByCodeId(e)}getCodeHashByContractAddr(e){return this.restClient.getCodeHashByContractAddr(e)}async getNonceByTxId(e){const t=(await this.restClient.txById(e,!1)).tx.value.msg,r=[];for(const e of t){let t;t="wasm/MsgExecuteContract"===e.type?o.Encoding.fromBase64(e.value.msg).slice(0,32):"wasm/MsgInstantiateContract"===e.type?o.Encoding.fromBase64(e.value.init_msg).slice(0,32):null,r.push(t)}return r}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="secret-wasm"},function(e,t,r){"use strict";var n,o=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundTxService=void 0;const u=r(43),l=c(r(68)),f=r(58),d=r(102),h=r(236),p=r(2);let g=n=class{constructor(e,t){this.chainsService=e,this.permissionService=t}sendTx(e,t,r){return a(this,void 0,void 0,(function*(){const o=yield this.chainsService.getChainInfo(e),i=l.default.create(Object.assign({baseURL:o.rest},o.restConfig));browser.notifications.create({type:"basic",iconUrl:browser.runtime.getURL("assets/temp-icon.svg"),title:"Tx is pending...",message:"Wait a second"});const s={tx:t,mode:r};try{const e=yield i.post("/txs",s);if(null!=e.data.code&&0!==e.data.code)throw new Error(e.data.raw_log);const t=p.Buffer.from(e.data.txhash,"hex"),r=new h.TendermintTxTracer(o.rpc,"/websocket");return r.traceTx(t).then(e=>{r.close(),n.processTxResultNotification(e)}),t}catch(e){throw console.log(e),n.processTxErrorNotification(e),e}}))}static processTxResultNotification(e){var t;try{if("commit"===e.mode){if(void 0!==e.checkTx.code&&0!==e.checkTx.code)throw new Error(e.checkTx.log);if(void 0!==e.deliverTx.code&&0!==e.deliverTx.code)throw new Error(e.deliverTx.log)}else if(null!=e.code&&0!==e.code){const r=null!==(t=e.log)&&void 0!==t?t:e.raw_log;throw new Error(r)}browser.notifications.create({type:"basic",iconUrl:browser.runtime.getURL("assets/temp-icon.svg"),title:"Tx succeeds",message:"Congratulations!"})}catch(e){n.processTxErrorNotification(e)}}static processTxErrorNotification(e){console.log(e);let t=e.message;const r=/code:\s*(-?\d+),\s*message:\s*(.+),\sdata:\s(.+)/g.exec(e.message);r&&4===r.length&&(t=r[3]);try{const r=JSON.parse(e.message);(null==r?void 0:r.message)&&(t=r.message)}catch(e){}try{const r=JSON.parse(e.message);if(r&&r.length>0)for(const e of r)if(!e.success){const r=JSON.parse(e.log);if(null==r?void 0:r.message){t=r.message;break}}}catch(e){}browser.notifications.create({type:"basic",iconUrl:browser.runtime.getURL("assets/temp-icon.svg"),title:"Tx failed",message:t})}};g=n=o([u.singleton(),s(0,u.inject(u.delay(()=>f.ChainsService))),s(1,u.inject(u.delay(()=>d.PermissionService))),i("design:paramtypes",[f.ChainsService,d.PermissionService])],g),t.BackgroundTxService=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="background-tx"},function(e,t,r){"use strict";var n,o=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.TokensService=void 0;const c=r(43),u=r(52),l=r(58),f=r(11),d=r(58),h=r(103),p=r(103),g=r(83),m=r(102),y=r(2),b=r(142),v=r(383);let w=n=class{constructor(e,t,r,n,o){this.kvStore=e,this.interactionService=t,this.permissionService=r,this.chainsService=n,this.keyRingService=o,this.onChainRemoved=e=>{this.clearTokens(e)},this.chainsService.addChainRemovedHandler(this.onChainRemoved)}suggestToken(e,t,r,n){return a(this,void 0,void 0,(function*(){const o=yield this.chainsService.getChainInfo(t);if((yield this.getTokens(t)).find(e=>"contractAddress"in e&&e.contractAddress===r))return;f.Bech32Address.validate(r,o.bech32Config.bech32PrefixAccAddr);const i={chainId:t,contractAddress:r,viewingKey:n},s=yield this.interactionService.waitApprove(e,"/setting/token/add",b.SuggestTokenMsg.type(),i);yield this.addToken(t,s)}))}addToken(e,t){return a(this,void 0,void 0,(function*(){const r=yield this.chainsService.getChainInfo(e);t=yield n.validateCurrency(r,t);const o=yield this.getTokens(e),i="type"in t&&"secret20"===t.type;let s=!1;for(const e of o)if(t.coinMinimalDenom===e.coinMinimalDenom){if(!i)return;s=!0}if(i){const r=yield this.getTokensFromChainAndAccount(e);if(s){const n=r.findIndex(e=>e.coinMinimalDenom===t.coinMinimalDenom);n>=0&&(r[n]=t,yield this.saveTokensToChainAndAccount(e,r))}else r.push(t),yield this.saveTokensToChainAndAccount(e,r)}else{const r=yield this.getTokensFromChain(e);r.push(t),yield this.saveTokensToChain(e,r)}}))}removeToken(e,t){return a(this,void 0,void 0,(function*(){const r=yield this.chainsService.getChainInfo(e);t=yield n.validateCurrency(r,t);const o=yield this.getTokens(e),i="type"in t&&"secret20"===t.type;let s=!1;for(const e of o)if(t.coinMinimalDenom===e.coinMinimalDenom){s=!0;break}if(s)if(i){const r=(yield this.getTokensFromChainAndAccount(e)).filter(e=>e.coinMinimalDenom!==t.coinMinimalDenom);yield this.saveTokensToChainAndAccount(e,r)}else{const r=(yield this.getTokensFromChain(e)).filter(e=>e.coinMinimalDenom!==t.coinMinimalDenom);yield this.saveTokensToChain(e,r)}}))}getTokens(e){var t,r;return a(this,void 0,void 0,(function*(){const n=f.ChainIdHelper.parse(e),o=null!==(t=yield this.kvStore.get(n.identifier))&&void 0!==t?t:[];let i=[];if(this.keyRingService.keyRingStatus===p.KeyRingStatus.UNLOCKED){const t=yield this.keyRingService.getKey(e);i=null!==(r=yield this.kvStore.get(`${n.identifier}-${y.Buffer.from(t.address).toString("hex")}`))&&void 0!==r?r:[]}return o.concat(i)}))}clearTokens(e){return a(this,void 0,void 0,(function*(){const t=f.ChainIdHelper.parse(e);yield this.kvStore.set(t.identifier,null);const r=yield this.getTokensToAccountReverse(e);for(const e of r)yield this.kvStore.set(`${t.identifier}-${e}`,null);yield this.setTokensToAccountReverse(e,[])}))}getTokensFromChain(e){var t;return a(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e);return null!==(t=yield this.kvStore.get(r.identifier))&&void 0!==t?t:[]}))}saveTokensToChain(e,t){return a(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e);yield this.kvStore.set(r.identifier,t)}))}getTokensFromChainAndAccount(e){var t;return a(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e),n=yield this.keyRingService.getKey(e);return null!==(t=yield this.kvStore.get(`${r.identifier}-${y.Buffer.from(n.address).toString("hex")}`))&&void 0!==t?t:[]}))}saveTokensToChainAndAccount(e,t){return a(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e),n=yield this.keyRingService.getKey(e),o=y.Buffer.from(n.address).toString("hex");yield this.kvStore.set(`${r.identifier}-${o}`,t),yield this.insertTokensToAccountReverse(e,o)}))}getTokensToAccountReverse(e){var t;return a(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e);return null!==(t=yield this.kvStore.get(r.identifier+"-addresses"))&&void 0!==t?t:[]}))}setTokensToAccountReverse(e,t){return a(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e);yield this.kvStore.set(r.identifier+"-addresses",t)}))}insertTokensToAccountReverse(e,t){return a(this,void 0,void 0,(function*(){const r=yield this.getTokensToAccountReverse(e);r.indexOf(t)<0&&(r.push(t),yield this.setTokensToAccountReverse(e,r))}))}getSecret20ViewingKey(e,t){return a(this,void 0,void 0,(function*(){const r=yield this.getTokens(e);for(const e of r)if("type"in e&&"secret20"===e.type&&e.contractAddress===t)return e.viewingKey;throw new Error("There is no matched secret20")}))}checkOrGrantSecret20ViewingKeyPermission(e,t,r,n){return a(this,void 0,void 0,(function*(){yield this.getSecret20ViewingKey(t,r);const o=v.getSecret20ViewingKeyPermissionType(r);this.permissionService.hasPermisson(t,o,n)||(yield this.permissionService.grantPermission(e,"/access/viewing-key",[t],o,[n])),this.permissionService.checkPermission(e,t,o,n)}))}static validateCurrency(e,t){return a(this,void 0,void 0,(function*(){if("type"in t)switch(t.type){case"cw20":t=yield n.validateCW20Currency(e,t);break;case"secret20":t=yield n.validateSecret20Currency(e,t);break;default:throw new Error("Unknown type of currency")}else t=yield l.CurrencySchema.validateAsync(t);return t}))}static validateCW20Currency(e,t){return a(this,void 0,void 0,(function*(){return t=yield l.CW20CurrencyShema.validateAsync(t),f.Bech32Address.validate(t.contractAddress,e.bech32Config.bech32PrefixAccAddr),t}))}static validateSecret20Currency(e,t){return a(this,void 0,void 0,(function*(){return t=yield l.Secret20CurrencyShema.validateAsync(t),f.Bech32Address.validate(t.contractAddress,e.bech32Config.bech32PrefixAccAddr),t}))}};w=n=o([c.singleton(),s(0,c.inject(u.TYPES.TokensStore)),s(1,c.inject(c.delay(()=>g.InteractionService))),s(2,c.inject(c.delay(()=>m.PermissionService))),s(3,c.inject(d.ChainsService)),s(4,c.inject(c.delay(()=>h.KeyRingService))),i("design:paramtypes",[Object,g.InteractionService,m.PermissionService,d.ChainsService,h.KeyRingService])],w),t.TokensService=w},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="tokens"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitSecret20ViewingKeyPermissionType=t.isSecret20ViewingKeyPermissionType=t.getSecret20ViewingKeyPermissionType=void 0,t.getSecret20ViewingKeyPermissionType=function(e){return"viewing-key/"+e},t.isSecret20ViewingKeyPermissionType=function(e){return e.startsWith("viewing-key/")},t.splitSecret20ViewingKeyPermissionType=function(e){return e.replace("viewing-key/","")}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.KeplrEnigmaUtils=void 0;t.KeplrEnigmaUtils=class{constructor(e,t){this.chainId=e,this.keplr=t}getPubkey(){return n(this,void 0,void 0,(function*(){return yield this.keplr.getEnigmaPubKey(this.chainId)}))}getTxEncryptionKey(e){return n(this,void 0,void 0,(function*(){return yield this.keplr.getEnigmaTxEncryptionKey(this.chainId,e)}))}encrypt(e,t){return n(this,void 0,void 0,(function*(){return yield this.keplr.enigmaEncrypt(this.chainId,e,t)}))}decrypt(e,t){return n(this,void 0,void 0,(function*(){return yield this.keplr.enigmaDecrypt(this.chainId,e,t)}))}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.CosmJSOfflineSigner=t.CosmJSOfflineSignerOnlyAmino=void 0;class o{constructor(e,t){this.chainId=e,this.keplr=t}getAccounts(){return n(this,void 0,void 0,(function*(){const e=yield this.keplr.getKey(this.chainId);return[{address:e.bech32Address,algo:"secp256k1",pubkey:e.pubKey}]}))}signAmino(e,t){return n(this,void 0,void 0,(function*(){if(this.chainId!==t.chain_id)throw new Error("Unmatched chain id with the offline signer");if((yield this.keplr.getKey(t.chain_id)).bech32Address!==e)throw new Error("Unknown signer address");return yield this.keplr.signAmino(this.chainId,e,t)}))}sign(e,t){return n(this,void 0,void 0,(function*(){return yield this.signAmino(e,t)}))}}t.CosmJSOfflineSignerOnlyAmino=o;t.CosmJSOfflineSigner=class extends o{constructor(e,t){super(e,t),this.chainId=e,this.keplr=t}signDirect(e,t){return n(this,void 0,void 0,(function*(){if(this.chainId!==t.chainId)throw new Error("Unmatched chain id with the offline signer");if((yield this.keplr.getKey(t.chainId)).bech32Address!==e)throw new Error("Unknown signer address");return yield this.keplr.signDirect(this.chainId,e,t)}))}}},function(e,t,r){"use strict";const n=()=>{const e=new Error("Delay aborted");return e.name="AbortError",e},o=({clearTimeout:e,setTimeout:t,willResolve:r})=>(o,{value:i,signal:s}={})=>{if(s&&s.aborted)return Promise.reject(n());let a,c,u;const l=e||clearTimeout,f=()=>{l(a),u(n())},d=new Promise((e,n)=>{c=()=>{s&&s.removeEventListener("abort",f),r?e(i):n(i)},u=n,a=(t||setTimeout)(c,o)});return s&&s.addEventListener("abort",f,{once:!0}),d.clear=()=>{l(a),a=null,c()},d},i=o({willResolve:!0});i.reject=o({willResolve:!1}),i.range=(e,t,r)=>i(((e,t)=>Math.floor(Math.random()*(t-e+1)+e))(e,t),r),i.createWithTimers=({clearTimeout:e,setTimeout:t})=>{const r=o({clearTimeout:e,setTimeout:t,willResolve:!0});return r.reject=o({clearTimeout:e,setTimeout:t,willResolve:!1}),r},e.exports=i,e.exports.default=i},,,,function(e,t,r){"use strict";var n=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===o}(e)}(e)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function s(e,t,r){return e.concat(t).map((function(e){return i(e,r)}))}function a(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function c(e,t){try{return t in e}catch(e){return!1}}function u(e,t,r){var n={};return r.isMergeableObject(e)&&a(e).forEach((function(t){n[t]=i(e[t],r)})),a(t).forEach((function(o){(function(e,t){return c(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(c(e,o)&&r.isMergeableObject(t[o])?n[o]=function(e,t){if(!t.customMerge)return l;var r=t.customMerge(e);return"function"==typeof r?r:l}(o,r)(e[o],t[o],r):n[o]=i(t[o],r))})),n}function l(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||s,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=i;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):u(e,t,r):i(t,r)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return l(e,r,t)}),{})};var f=l;e.exports=f},,,,,,function(e,t,r){"use strict";var n=r(7).Buffer;e.exports=function(e){if(e.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),r=0;r>>0,l=new Uint8Array(s);e[r];){var f=t[e.charCodeAt(r)];if(255===f)return;for(var d=0,h=s-1;(0!==f||d>>0,l[h]=f%256>>>0,f=f/256>>>0;if(0!==f)throw new Error("Non-zero carry");i=d,r++}if(" "!==e[r]){for(var p=s-i;p!==s&&0===l[p];)p++;var g=n.allocUnsafe(o+(s-p));g.fill(0,0,o);for(var m=o;p!==s;)g[m++]=l[p++];return g}}}return{encode:function(t){if((Array.isArray(t)||t instanceof Uint8Array)&&(t=n.from(t)),!n.isBuffer(t))throw new TypeError("Expected Buffer");if(0===t.length)return"";for(var r=0,o=0,i=0,s=t.length;i!==s&&0===t[i];)i++,r++;for(var u=(s-i)*l+1>>>0,f=new Uint8Array(u);i!==s;){for(var d=t[i],h=0,p=u-1;(0!==d||h>>0,f[p]=d%a>>>0,d=d/a>>>0;if(0!==d)throw new Error("Non-zero carry");o=h,i++}for(var g=u-o;g!==u&&0===f[g];)g++;for(var m=c.repeat(r);g{n(this,void 0,void 0,(function*(){const t=s[e];t&&(yield browser.windows.remove(t))}))})()},t.fitPopupWindow=function(){const e=window.outerWidth-window.innerWidth,t=window.outerHeight-window.innerHeight;browser.windows?browser.windows.getCurrent().then(r=>{null!=(null==r?void 0:r.id)&&browser.windows.update(r.id,{width:o+e,height:i+t})}):window.resizeTo(o+e,i+t)},t.disableScroll=function(){document.getElementsByTagName("html")[0].style.overflow="hidden"},t.enableScroll=function(){document.getElementsByTagName("html")[0].style.overflow=""}},function(e,t){(function(t){e.exports=t}).call(this,{})},,function(e,t,r){"use strict";(function(t){!function(r){function n(e){const t=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);let r=1779033703,n=3144134277,o=1013904242,i=2773480762,s=1359893119,a=2600822924,c=528734635,u=1541459225;const l=new Uint32Array(64);function f(e){let f=0,d=e.length;for(;d>=64;){let h,p,g,m,y,b=r,v=n,w=o,_=i,k=s,O=a,S=c,E=u;for(p=0;p<16;p++)g=f+4*p,l[p]=(255&e[g])<<24|(255&e[g+1])<<16|(255&e[g+2])<<8|255&e[g+3];for(p=16;p<64;p++)h=l[p-2],m=(h>>>17|h<<15)^(h>>>19|h<<13)^h>>>10,h=l[p-15],y=(h>>>7|h<<25)^(h>>>18|h<<14)^h>>>3,l[p]=(m+l[p-7]|0)+(y+l[p-16]|0)|0;for(p=0;p<64;p++)m=(((k>>>6|k<<26)^(k>>>11|k<<21)^(k>>>25|k<<7))+(k&O^~k&S)|0)+(E+(t[p]+l[p]|0)|0)|0,y=((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+(b&v^b&w^v&w)|0,E=S,S=O,O=k,k=_+m|0,_=w,w=v,v=b,b=m+y|0;r=r+b|0,n=n+v|0,o=o+w|0,i=i+_|0,s=s+k|0,a=a+O|0,c=c+S|0,u=u+E|0,f+=64,d-=64}}f(e);let d,h=e.length%64,p=e.length/536870912|0,g=e.length<<3,m=h<56?56:120,y=e.slice(e.length-h,e.length);for(y.push(128),d=h+1;d>>24&255),y.push(p>>>16&255),y.push(p>>>8&255),y.push(p>>>0&255),y.push(g>>>24&255),y.push(g>>>16&255),y.push(g>>>8&255),y.push(g>>>0&255),f(y),[r>>>24&255,r>>>16&255,r>>>8&255,r>>>0&255,n>>>24&255,n>>>16&255,n>>>8&255,n>>>0&255,o>>>24&255,o>>>16&255,o>>>8&255,o>>>0&255,i>>>24&255,i>>>16&255,i>>>8&255,i>>>0&255,s>>>24&255,s>>>16&255,s>>>8&255,s>>>0&255,a>>>24&255,a>>>16&255,a>>>8&255,a>>>0&255,c>>>24&255,c>>>16&255,c>>>8&255,c>>>0&255,u>>>24&255,u>>>16&255,u>>>8&255,u>>>0&255]}function o(e,t,r){e=e.length<=64?e:n(e);const o=64+t.length+4,i=new Array(o),s=new Array(64);let a,c=[];for(a=0;a<64;a++)i[a]=54;for(a=0;a=o-4;e--){if(i[e]++,i[e]<=255)return;i[e]=0}}for(;r>=32;)u(),c=c.concat(n(s.concat(n(i)))),r-=32;return r>0&&(u(),c=c.concat(n(s.concat(n(i))).slice(0,r))),c}function i(e,t,r,n,o){let i;for(u(e,16*(2*r-1),o,0,16),i=0;i<2*r;i++)c(e,16*i,o,16),a(o,n),u(o,0,e,t+16*i,16);for(i=0;i>>32-t}function a(e,t){u(e,0,t,0,16);for(let e=8;e>0;e-=2)t[4]^=s(t[0]+t[12],7),t[8]^=s(t[4]+t[0],9),t[12]^=s(t[8]+t[4],13),t[0]^=s(t[12]+t[8],18),t[9]^=s(t[5]+t[1],7),t[13]^=s(t[9]+t[5],9),t[1]^=s(t[13]+t[9],13),t[5]^=s(t[1]+t[13],18),t[14]^=s(t[10]+t[6],7),t[2]^=s(t[14]+t[10],9),t[6]^=s(t[2]+t[14],13),t[10]^=s(t[6]+t[2],18),t[3]^=s(t[15]+t[11],7),t[7]^=s(t[3]+t[15],9),t[11]^=s(t[7]+t[3],13),t[15]^=s(t[11]+t[7],18),t[1]^=s(t[0]+t[3],7),t[2]^=s(t[1]+t[0],9),t[3]^=s(t[2]+t[1],13),t[0]^=s(t[3]+t[2],18),t[6]^=s(t[5]+t[4],7),t[7]^=s(t[6]+t[5],9),t[4]^=s(t[7]+t[6],13),t[5]^=s(t[4]+t[7],18),t[11]^=s(t[10]+t[9],7),t[8]^=s(t[11]+t[10],9),t[9]^=s(t[8]+t[11],13),t[10]^=s(t[9]+t[8],18),t[12]^=s(t[15]+t[14],7),t[13]^=s(t[12]+t[15],9),t[14]^=s(t[13]+t[12],13),t[15]^=s(t[14]+t[13],18);for(let r=0;r<16;++r)e[r]+=t[r]}function c(e,t,r,n){for(let o=0;o=256)return!1}return!0}function f(e,t){if("number"!=typeof e||e%1)throw new Error("invalid "+t);return e}function d(e,r,n,s,a,d,h){if(n=f(n,"N"),s=f(s,"r"),a=f(a,"p"),d=f(d,"dkLen"),0===n||0!=(n&n-1))throw new Error("N must be power of 2");if(n>2147483647/128/s)throw new Error("N too large");if(s>2147483647/128/a)throw new Error("r too large");if(!l(e))throw new Error("password must be an array or buffer");if(e=Array.prototype.slice.call(e),!l(r))throw new Error("salt must be an array or buffer");r=Array.prototype.slice.call(r);let p=o(e,r,128*a*s);const g=new Uint32Array(32*a*s);for(let e=0;ex&&(t=x);for(let e=0;ex&&(t=x);for(let e=0;e>0&255),p.push(g[e]>>8&255),p.push(g[e]>>16&255),p.push(g[e]>>24&255);const r=o(e,p,d);return h&&h(null,1,r),r}h&&M(I)};if(!h)for(;;){const e=I();if(null!=e)return e}I()}const h={scrypt:function(e,t,r,n,o,i,s){return new Promise((function(a,c){let u=0;s&&s(0),d(e,t,r,n,o,i,(function(e,t,r){if(e)c(e);else if(r)s&&1!==u&&s(1),a(new Uint8Array(r));else if(s&&t!==u)return u=t,s(t)}))}))},syncScrypt:function(e,t,r,n,o,i){return new Uint8Array(d(e,t,r,n,o,i))}};e.exports=h}()}).call(this,r(223).setImmediate)},function(e,t,r){"use strict";var n={};(0,r(57).assign)(n,r(538),r(541),r(296)),e.exports=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(645),o=r(646),i=r(648),s=()=>{},a=new o.TimeoutError;t.default=class extends n{constructor(e){var t,r,n,o;if(super(),this._intervalCount=0,this._intervalEnd=0,this._pendingCount=0,this._resolveEmpty=s,this._resolveIdle=s,!("number"==typeof(e=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:i.default},e)).intervalCap&&e.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${null!==(r=null===(t=e.intervalCap)||void 0===t?void 0:t.toString())&&void 0!==r?r:""}\` (${typeof e.intervalCap})`);if(void 0===e.interval||!(Number.isFinite(e.interval)&&e.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${null!==(o=null===(n=e.interval)||void 0===n?void 0:n.toString())&&void 0!==o?o:""}\` (${typeof e.interval})`);this._carryoverConcurrencyCount=e.carryoverConcurrencyCount,this._isIntervalIgnored=e.intervalCap===1/0||0===e.interval,this._intervalCap=e.intervalCap,this._interval=e.interval,this._queue=new e.queueClass,this._queueClass=e.queueClass,this.concurrency=e.concurrency,this._timeout=e.timeout,this._throwOnTimeout=!0===e.throwOnTimeout,this._isPaused=!1===e.autoStart}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount{this._onResumeInterval()},t)),!0;this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0}return!1}_tryToStartAnother(){if(0===this._queue.size)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){const e=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){const t=this._queue.dequeue();return!!t&&(this.emit("active"),t(),e&&this._initializeIntervalIfNeeded(),!0)}}return!1}_initializeIntervalIfNeeded(){this._isIntervalIgnored||void 0!==this._intervalId||(this._intervalId=setInterval(()=>{this._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}_onInterval(){0===this._intervalCount&&0===this._pendingCount&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}_processQueue(){for(;this._tryToStartAnother(););}get concurrency(){return this._concurrency}set concurrency(e){if(!("number"==typeof e&&e>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`);this._concurrency=e,this._processQueue()}async add(e,t={}){return new Promise((r,n)=>{this._queue.enqueue(async()=>{this._pendingCount++,this._intervalCount++;try{const i=void 0===this._timeout&&void 0===t.timeout?e():o.default(Promise.resolve(e()),void 0===t.timeout?this._timeout:t.timeout,()=>{(void 0===t.throwOnTimeout?this._throwOnTimeout:t.throwOnTimeout)&&n(a)});r(await i)}catch(e){n(e)}this._next()},t),this._tryToStartAnother(),this.emit("add")})}async addAll(e,t){return Promise.all(e.map(async e=>this.add(e,t)))}start(){return this._isPaused?(this._isPaused=!1,this._processQueue(),this):this}pause(){this._isPaused=!0}clear(){this._queue=new this._queueClass}async onEmpty(){if(0!==this._queue.size)return new Promise(e=>{const t=this._resolveEmpty;this._resolveEmpty=()=>{t(),e()}})}async onIdle(){if(0!==this._pendingCount||0!==this._queue.size)return new Promise(e=>{const t=this._resolveIdle;this._resolveIdle=()=>{t(),e()}})}get size(){return this._queue.size}sizeBy(e){return this._queue.filter(e).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(e){this._timeout=e}}},,,function(e){e.exports=JSON.parse('{"manifest_version":2,"name":"Keplr","description":"Keplr is a browser extension wallet for the Inter blockchain ecosystem.","version":"0.8.13","applications":{"gecko":{"id":"keplr-extension@keplr.app","strict_min_version":"56.0"}},"icons":{"16":"assets/icon-16.png","48":"assets/icon-48.png","128":"assets/icon-128.png"},"browser_action":{"default_popup":"popup.html","default_title":"Keplr"},"background":{"scripts":["browser-polyfill.js","background.bundle.js"],"persistent":true},"permissions":["storage","notifications","identity"],"content_scripts":[{"matches":[""],"js":["browser-polyfill.js","contentScripts.bundle.js"],"run_at":"document_start","all_frames":true}],"web_accessible_resources":["injectedScript.bundle.js","assets/temp-icon.svg"]}')},,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CoinPretty=void 0;const n=r(221);class o{constructor(e,t){this._currency=e,this.amount=t,this._options={separator:" ",upperCase:!1,lowerCase:!1,hideDenom:!1},t instanceof n.IntPretty?this.intPretty=t:this.intPretty=new n.IntPretty(t),this.intPretty=this.intPretty.maxDecimals(e.coinDecimals).precision(e.coinDecimals)}get options(){return Object.assign(Object.assign({},this._options),this.intPretty.options)}get denom(){return this.currency.coinDenom}get currency(){return this._currency}setCurrency(e){const t=new o(e,this.amount);return t._options=Object.assign({},this._options),t.intPretty=this.intPretty.clone(),t}separator(e){const t=this.clone();return t._options.separator=e,t}upperCase(e){const t=this.clone();return t._options.upperCase=e,t._options.lowerCase=!e,t}lowerCase(e){const t=this.clone();return t._options.lowerCase=e,t._options.upperCase=!e,t}hideDenom(e){const t=this.clone();return t._options.hideDenom=e,t}precision(e){const t=this.clone();return t.intPretty=t.intPretty.precision(e),t}maxDecimals(e){const t=this.clone();return t.intPretty=t.intPretty.maxDecimals(e),t}trim(e){const t=this.clone();return t.intPretty=t.intPretty.trim(e),t}shrink(e){const t=this.clone();return t.intPretty=t.intPretty.shrink(e),t}locale(e){const t=this.clone();return t.intPretty=t.intPretty.locale(e),t}ready(e){const t=this.clone();return t.intPretty=t.intPretty.ready(e),t}get isReady(){return this.intPretty.isReady}add(e){const t=this.clone();return t.intPretty=t.intPretty.add(e.intPretty),t}toDec(){return this.intPretty.toDec()}toString(){let e=this.denom;this._options.upperCase&&(e=e.toUpperCase()),this._options.lowerCase&&(e=e.toLowerCase());let t=this._options.separator;return this._options.hideDenom&&(e="",t=""),`${this.intPretty.toString()}${t}${e}`}clone(){const e=new o(this._currency,this.amount);return e._options=Object.assign({},this._options),e.intPretty=this.intPretty.clone(),e}}t.CoinPretty=o},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseAccount=void 0;const o=r(23);class i{constructor(e,t,r,n){this.type=e,this.address=t,this.accountNumber=r,this.sequence=n}static fetchFromRest(e,t,r=!1){return n(this,void 0,void 0,(function*(){const n=yield e.get("auth/accounts/"+t);return i.fromAminoJSON(n.data,r?t:"")}))}static fromAminoJSON(e,t=""){"height"in e&&(e=e.result);const r=e.type;if(!r)throw new Error("Account's type is unknown: "+JSON.stringify(e));let n=e.value;const s=n.BaseVestingAccount||n.baseVestingAccount||n.base_vesting_account;s&&(n=s.BaseAccount||s.baseAccount||s.base_account);let a=n.address;if(!a){if(!t)throw new Error("Account's address is unknown: "+JSON.stringify(e));a=t}const c=n.account_number;if(null==c)throw new Error("Account's account number is unknown: "+JSON.stringify(e));const u=n.sequence;return new i(r,a,new o.Int(c),new o.Int(null!=u?u:"0"))}getType(){return this.type}getAddress(){return this.address}getAccountNumber(){return this.accountNumber}getSequence(){return this.sequence}}t.BaseAccount=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Bech32Address=void 0;const o=n(r(94));t.Bech32Address=class{constructor(e){this.address=e}static shortenAddress(e,t){if(t>=e.length)return e;const r=e.indexOf("1"),n=e.slice(0,r),o=e.slice(r+1);if(t-=n.length,t-=3,(t-=1)<=0)return"";const i=Math.floor(o.length/2);let s=o.slice(0,i),a=o.slice(i);for(;t0?s=s.slice(0,s.length-1):a=a.slice(1);return n+"1"+s+"..."+a}static validate(e,t){const{prefix:r}=o.default.decode(e);if(t&&t!==r)throw new Error(`Unexpected prefix (expected: ${t}, actual: ${r})`)}static defaultBech32Config(e,t="val",r="cons",n="pub",o="oper"){return{bech32PrefixAccAddr:e,bech32PrefixAccPub:e+n,bech32PrefixValAddr:e+t+o,bech32PrefixValPub:e+t+o+n,bech32PrefixConsAddr:e+t+r,bech32PrefixConsPub:e+t+r+n}}toBech32(e){const t=o.default.toWords(this.address);return o.default.encode(e,t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChainIdHelper=void 0;class n{static parse(e){const t=e.split(n.VersionFormatRegExp).filter(Boolean);return 2!==t.length?{identifier:e,version:0}:{identifier:t[0],version:parseInt(t[1])}}static hasChainVersion(e){return n.parse(e).identifier!==e}}t.ChainIdHelper=n,n.VersionFormatRegExp=/(.+)-([\d]+)/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WsReadyState=void 0,function(e){e[e.CONNECTING=0]="CONNECTING",e[e.OPEN=1]="OPEN",e[e.CLOSING=2]="CLOSING",e[e.CLOSED=3]="CLOSED",e[e.NONE=4]="NONE"}(t.WsReadyState||(t.WsReadyState={}))},function(e,t){ -/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ -t.read=function(e,t,r,n,o){var i,s,a=8*o-n-1,c=(1<>1,l=-7,f=r?o-1:0,d=r?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-l)-1,h>>=-l,l+=a;l>0;i=256*i+e[t+f],f+=d,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=n;l>0;s=256*s+e[t+f],f+=d,l-=8);if(0===i)i=1-u;else{if(i===c)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,n),i-=u}return(h?-1:1)*s*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var s,a,c,u=8*i-o-1,l=(1<>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,p=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+f>=1?d/c:d*Math.pow(2,1-f))*c>=2&&(s++,c/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(t*c-1)*Math.pow(2,o),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,o),s=0));o>=8;e[r+h]=255&a,h+=p,a/=256,o-=8);for(s=s<0;e[r+h]=255&s,h+=p,s/=256,u-=8);e[r+h-p]|=128*g}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(238),t),o(r(118),t),o(r(242),t),o(r(443),t)},function(e,t,r){"use strict";var n=t;function o(){n.util._configure(),n.Writer._configure(n.BufferWriter),n.Reader._configure(n.BufferReader)}n.build="minimal",n.Writer=r(239),n.BufferWriter=r(437),n.Reader=r(240),n.BufferReader=r(438),n.util=r(64),n.rpc=r(439),n.roots=r(441),n.configure=o,o()},function(e,t,r){"use strict";e.exports=function(e,t){var r=new Array(arguments.length-1),n=0,o=2,i=!0;for(;o1&&"="===e.charAt(t);)++r;return Math.ceil(3*e.length)/4-r};for(var o=new Array(64),i=new Array(123),s=0;s<64;)i[o[s]=s<26?s+65:s<52?s+71:s<62?s-4:s-59|43]=s++;n.encode=function(e,t,r){for(var n,i=null,s=[],a=0,c=0;t>2],n=(3&u)<<4,c=1;break;case 1:s[a++]=o[n|u>>4],n=(15&u)<<2,c=2;break;case 2:s[a++]=o[n|u>>6],s[a++]=o[63&u],c=0}a>8191&&((i||(i=[])).push(String.fromCharCode.apply(String,s)),a=0)}return c&&(s[a++]=o[n],s[a++]=61,1===c&&(s[a++]=61)),i?(a&&i.push(String.fromCharCode.apply(String,s.slice(0,a))),i.join("")):String.fromCharCode.apply(String,s.slice(0,a))};n.decode=function(e,t,r){for(var n,o=r,s=0,a=0;a1)break;if(void 0===(c=i[c]))throw Error("invalid encoding");switch(s){case 0:n=c,s=1;break;case 1:t[r++]=n<<2|(48&c)>>4,n=c,s=2;break;case 2:t[r++]=(15&n)<<4|(60&c)>>2,n=c,s=3;break;case 3:t[r++]=(3&n)<<6|c,s=0}}if(1===s)throw Error("invalid encoding");return r-o},n.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}},function(e,t,r){"use strict";function n(){this._listeners={}}e.exports=n,n.prototype.on=function(e,t,r){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:r||this}),this},n.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var r=this._listeners[e],n=0;n0?0:2147483648,r,n);else if(isNaN(t))e(2143289344,r,n);else if(t>34028234663852886e22)e((o<<31|2139095040)>>>0,r,n);else if(t<11754943508222875e-54)e((o<<31|Math.round(t/1401298464324817e-60))>>>0,r,n);else{var i=Math.floor(Math.log(t)/Math.LN2);e((o<<31|i+127<<23|8388607&Math.round(t*Math.pow(2,-i)*8388608))>>>0,r,n)}}function r(e,t,r){var n=e(t,r),o=2*(n>>31)+1,i=n>>>23&255,s=8388607&n;return 255===i?s?NaN:o*(1/0):0===i?1401298464324817e-60*o*s:o*Math.pow(2,i-150)*(s+8388608)}e.writeFloatLE=t.bind(null,o),e.writeFloatBE=t.bind(null,i),e.readFloatLE=r.bind(null,s),e.readFloatBE=r.bind(null,a)}(),"undefined"!=typeof Float64Array?function(){var t=new Float64Array([-0]),r=new Uint8Array(t.buffer),n=128===r[7];function o(e,n,o){t[0]=e,n[o]=r[0],n[o+1]=r[1],n[o+2]=r[2],n[o+3]=r[3],n[o+4]=r[4],n[o+5]=r[5],n[o+6]=r[6],n[o+7]=r[7]}function i(e,n,o){t[0]=e,n[o]=r[7],n[o+1]=r[6],n[o+2]=r[5],n[o+3]=r[4],n[o+4]=r[3],n[o+5]=r[2],n[o+6]=r[1],n[o+7]=r[0]}function s(e,n){return r[0]=e[n],r[1]=e[n+1],r[2]=e[n+2],r[3]=e[n+3],r[4]=e[n+4],r[5]=e[n+5],r[6]=e[n+6],r[7]=e[n+7],t[0]}function a(e,n){return r[7]=e[n],r[6]=e[n+1],r[5]=e[n+2],r[4]=e[n+3],r[3]=e[n+4],r[2]=e[n+5],r[1]=e[n+6],r[0]=e[n+7],t[0]}e.writeDoubleLE=n?o:i,e.writeDoubleBE=n?i:o,e.readDoubleLE=n?s:a,e.readDoubleBE=n?a:s}():function(){function t(e,t,r,n,o,i){var s=n<0?1:0;if(s&&(n=-n),0===n)e(0,o,i+t),e(1/n>0?0:2147483648,o,i+r);else if(isNaN(n))e(0,o,i+t),e(2146959360,o,i+r);else if(n>17976931348623157e292)e(0,o,i+t),e((s<<31|2146435072)>>>0,o,i+r);else{var a;if(n<22250738585072014e-324)e((a=n/5e-324)>>>0,o,i+t),e((s<<31|a/4294967296)>>>0,o,i+r);else{var c=Math.floor(Math.log(n)/Math.LN2);1024===c&&(c=1023),e(4503599627370496*(a=n*Math.pow(2,-c))>>>0,o,i+t),e((s<<31|c+1023<<20|1048576*a&1048575)>>>0,o,i+r)}}}function r(e,t,r,n,o){var i=e(n,o+t),s=e(n,o+r),a=2*(s>>31)+1,c=s>>>20&2047,u=4294967296*(1048575&s)+i;return 2047===c?u?NaN:a*(1/0):0===c?5e-324*a*u:a*Math.pow(2,c-1075)*(u+4503599627370496)}e.writeDoubleLE=t.bind(null,o,0,4),e.writeDoubleBE=t.bind(null,i,4,0),e.readDoubleLE=r.bind(null,s,0,4),e.readDoubleBE=r.bind(null,a,4,0)}(),e}function o(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}function i(e,t,r){t[r]=e>>>24,t[r+1]=e>>>16&255,t[r+2]=e>>>8&255,t[r+3]=255&e}function s(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function a(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=n(n)},function(module,exports,__webpack_require__){"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},function(e,t,r){"use strict";var n=t;n.length=function(e){for(var t=0,r=0,n=0;n191&&n<224?i[s++]=(31&n)<<6|63&e[t++]:n>239&&n<365?(n=((7&n)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,i[s++]=55296+(n>>10),i[s++]=56320+(1023&n)):i[s++]=(15&n)<<12|(63&e[t++])<<6|63&e[t++],s>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,i)),s=0);return o?(s&&o.push(String.fromCharCode.apply(String,i.slice(0,s))),o.join("")):String.fromCharCode.apply(String,i.slice(0,s))},n.write=function(e,t,r){for(var n,o,i=r,s=0;s>6|192,t[r++]=63&n|128):55296==(64512&n)&&56320==(64512&(o=e.charCodeAt(s+1)))?(n=65536+((1023&n)<<10)+(1023&o),++s,t[r++]=n>>18|240,t[r++]=n>>12&63|128,t[r++]=n>>6&63|128,t[r++]=63&n|128):(t[r++]=n>>12|224,t[r++]=n>>6&63|128,t[r++]=63&n|128);return r-i}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=r||8192,o=n>>>1,i=null,s=n;return function(r){if(r<1||r>o)return e(r);s+r>n&&(i=e(n),s=0);var a=t.call(i,s,s+=r);return 7&s&&(s=1+(7|s)),a}}},function(e,t,r){"use strict";e.exports=o;var n=r(64);function o(e,t){this.lo=e>>>0,this.hi=t>>>0}var i=o.zero=new o(0,0);i.toNumber=function(){return 0},i.zzEncode=i.zzDecode=function(){return this},i.length=function(){return 1};var s=o.zeroHash="\0\0\0\0\0\0\0\0";o.fromNumber=function(e){if(0===e)return i;var t=e<0;t&&(e=-e);var r=e>>>0,n=(e-r)/4294967296>>>0;return t&&(n=~n>>>0,r=~r>>>0,++r>4294967295&&(r=0,++n>4294967295&&(n=0))),new o(r,n)},o.from=function(e){if("number"==typeof e)return o.fromNumber(e);if(n.isString(e)){if(!n.Long)return o.fromNumber(parseInt(e,10));e=n.Long.fromString(e)}return e.low||e.high?new o(e.low>>>0,e.high>>>0):i},o.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=1+~this.lo>>>0,r=~this.hi>>>0;return t||(r=r+1>>>0),-(t+4294967296*r)}return this.lo+4294967296*this.hi},o.prototype.toLong=function(e){return n.Long?new n.Long(0|this.lo,0|this.hi,Boolean(e)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(e)}};var a=String.prototype.charCodeAt;o.fromHash=function(e){return e===s?i:new o((a.call(e,0)|a.call(e,1)<<8|a.call(e,2)<<16|a.call(e,3)<<24)>>>0,(a.call(e,4)|a.call(e,5)<<8|a.call(e,6)<<16|a.call(e,7)<<24)>>>0)},o.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},o.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},o.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},o.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,r=this.hi>>>24;return 0===r?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:r<128?9:10}},function(e,t,r){"use strict";e.exports=i;var n=r(239);(i.prototype=Object.create(n.prototype)).constructor=i;var o=r(64);function i(){n.call(this)}function s(e,t,r){e.length<40?o.utf8.write(e,t,r):t.utf8Write?t.utf8Write(e,r):t.write(e,r)}i._configure=function(){i.alloc=o._Buffer_allocUnsafe,i.writeBytesBuffer=o.Buffer&&o.Buffer.prototype instanceof Uint8Array&&"set"===o.Buffer.prototype.set.name?function(e,t,r){t.set(e,r)}:function(e,t,r){if(e.copy)e.copy(t,r,0,e.length);else for(var n=0;n>>0;return this.uint32(t),t&&this._push(i.writeBytesBuffer,t,e),this},i.prototype.string=function(e){var t=o.Buffer.byteLength(e);return this.uint32(t),t&&this._push(s,t,e),this},i._configure()},function(e,t,r){"use strict";e.exports=i;var n=r(240);(i.prototype=Object.create(n.prototype)).constructor=i;var o=r(64);function i(e){n.call(this,e)}i._configure=function(){o.Buffer&&(i.prototype._slice=o.Buffer.prototype.slice)},i.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+e,this.len))},i._configure()},function(e,t,r){"use strict";t.Service=r(440)},function(e,t,r){"use strict";e.exports=o;var n=r(64);function o(e,t,r){if("function"!=typeof e)throw TypeError("rpcImpl must be a function");n.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=Boolean(t),this.responseDelimited=Boolean(r)}(o.prototype=Object.create(n.EventEmitter.prototype)).constructor=o,o.prototype.rpcCall=function e(t,r,o,i,s){if(!i)throw TypeError("request must be specified");var a=this;if(!s)return n.asPromise(e,a,t,r,o,i);if(a.rpcImpl)try{return a.rpcImpl(t,r[a.requestDelimited?"encodeDelimited":"encode"](i).finish(),(function(e,r){if(e)return a.emit("error",e,t),s(e);if(null!==r){if(!(r instanceof o))try{r=o[a.responseDelimited?"decodeDelimited":"decode"](r)}catch(e){return a.emit("error",e,t),s(e)}return a.emit("data",r,t),s(null,r)}a.end(!0)}))}catch(e){return a.emit("error",e,t),void setTimeout((function(){s(e)}),0)}else setTimeout((function(){s(Error("already ended"))}),0)},o.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},function(e,t,r){"use strict";e.exports={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tendermint=t.ibc=t.google=t.cosmos=void 0;var n=r(48);const o=n.Reader,i=n.Writer,s=n.util,a={};t.cosmos=a.cosmos=(()=>{const e={};return e.auth=function(){const e={};return e.v1beta1=function(){const e={};return e.BaseAccount=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.address=e.string();break;case 2:n.pubKey=a.google.protobuf.Any.decode(e,e.uint32());break;case 3:n.accountNumber=e.uint64();break;case 4:n.sequence=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.auth.v1beta1.BaseAccount)return e;var t=new a.cosmos.auth.v1beta1.BaseAccount;if(null!=e.address&&(t.address=String(e.address)),null!=e.pubKey){if("object"!=typeof e.pubKey)throw TypeError(".cosmos.auth.v1beta1.BaseAccount.pubKey: object expected");t.pubKey=a.google.protobuf.Any.fromObject(e.pubKey)}return null!=e.accountNumber&&(s.Long?(t.accountNumber=s.Long.fromValue(e.accountNumber)).unsigned=!0:"string"==typeof e.accountNumber?t.accountNumber=parseInt(e.accountNumber,10):"number"==typeof e.accountNumber?t.accountNumber=e.accountNumber:"object"==typeof e.accountNumber&&(t.accountNumber=new s.LongBits(e.accountNumber.low>>>0,e.accountNumber.high>>>0).toNumber(!0))),null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.address="",r.pubKey=null,s.Long){var n=new s.Long(0,0,!0);r.accountNumber=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.accountNumber=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0}return null!=e.address&&e.hasOwnProperty("address")&&(r.address=e.address),null!=e.pubKey&&e.hasOwnProperty("pubKey")&&(r.pubKey=a.google.protobuf.Any.toObject(e.pubKey,t)),null!=e.accountNumber&&e.hasOwnProperty("accountNumber")&&("number"==typeof e.accountNumber?r.accountNumber=t.longs===String?String(e.accountNumber):e.accountNumber:r.accountNumber=t.longs===String?s.Long.prototype.toString.call(e.accountNumber):t.longs===Number?new s.LongBits(e.accountNumber.low>>>0,e.accountNumber.high>>>0).toNumber(!0):e.accountNumber),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ModuleAccount=function(){function e(e){if(this.permissions=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.baseAccount=a.cosmos.auth.v1beta1.BaseAccount.decode(e,e.uint32());break;case 2:n.name=e.string();break;case 3:n.permissions&&n.permissions.length||(n.permissions=[]),n.permissions.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.auth.v1beta1.ModuleAccount)return e;var t=new a.cosmos.auth.v1beta1.ModuleAccount;if(null!=e.baseAccount){if("object"!=typeof e.baseAccount)throw TypeError(".cosmos.auth.v1beta1.ModuleAccount.baseAccount: object expected");t.baseAccount=a.cosmos.auth.v1beta1.BaseAccount.fromObject(e.baseAccount)}if(null!=e.name&&(t.name=String(e.name)),e.permissions){if(!Array.isArray(e.permissions))throw TypeError(".cosmos.auth.v1beta1.ModuleAccount.permissions: array expected");t.permissions=[];for(var r=0;r>>3){case 1:n.maxMemoCharacters=e.uint64();break;case 2:n.txSigLimit=e.uint64();break;case 3:n.txSizeCostPerByte=e.uint64();break;case 4:n.sigVerifyCostEd25519=e.uint64();break;case 5:n.sigVerifyCostSecp256k1=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.auth.v1beta1.Params)return e;var t=new a.cosmos.auth.v1beta1.Params;return null!=e.maxMemoCharacters&&(s.Long?(t.maxMemoCharacters=s.Long.fromValue(e.maxMemoCharacters)).unsigned=!0:"string"==typeof e.maxMemoCharacters?t.maxMemoCharacters=parseInt(e.maxMemoCharacters,10):"number"==typeof e.maxMemoCharacters?t.maxMemoCharacters=e.maxMemoCharacters:"object"==typeof e.maxMemoCharacters&&(t.maxMemoCharacters=new s.LongBits(e.maxMemoCharacters.low>>>0,e.maxMemoCharacters.high>>>0).toNumber(!0))),null!=e.txSigLimit&&(s.Long?(t.txSigLimit=s.Long.fromValue(e.txSigLimit)).unsigned=!0:"string"==typeof e.txSigLimit?t.txSigLimit=parseInt(e.txSigLimit,10):"number"==typeof e.txSigLimit?t.txSigLimit=e.txSigLimit:"object"==typeof e.txSigLimit&&(t.txSigLimit=new s.LongBits(e.txSigLimit.low>>>0,e.txSigLimit.high>>>0).toNumber(!0))),null!=e.txSizeCostPerByte&&(s.Long?(t.txSizeCostPerByte=s.Long.fromValue(e.txSizeCostPerByte)).unsigned=!0:"string"==typeof e.txSizeCostPerByte?t.txSizeCostPerByte=parseInt(e.txSizeCostPerByte,10):"number"==typeof e.txSizeCostPerByte?t.txSizeCostPerByte=e.txSizeCostPerByte:"object"==typeof e.txSizeCostPerByte&&(t.txSizeCostPerByte=new s.LongBits(e.txSizeCostPerByte.low>>>0,e.txSizeCostPerByte.high>>>0).toNumber(!0))),null!=e.sigVerifyCostEd25519&&(s.Long?(t.sigVerifyCostEd25519=s.Long.fromValue(e.sigVerifyCostEd25519)).unsigned=!0:"string"==typeof e.sigVerifyCostEd25519?t.sigVerifyCostEd25519=parseInt(e.sigVerifyCostEd25519,10):"number"==typeof e.sigVerifyCostEd25519?t.sigVerifyCostEd25519=e.sigVerifyCostEd25519:"object"==typeof e.sigVerifyCostEd25519&&(t.sigVerifyCostEd25519=new s.LongBits(e.sigVerifyCostEd25519.low>>>0,e.sigVerifyCostEd25519.high>>>0).toNumber(!0))),null!=e.sigVerifyCostSecp256k1&&(s.Long?(t.sigVerifyCostSecp256k1=s.Long.fromValue(e.sigVerifyCostSecp256k1)).unsigned=!0:"string"==typeof e.sigVerifyCostSecp256k1?t.sigVerifyCostSecp256k1=parseInt(e.sigVerifyCostSecp256k1,10):"number"==typeof e.sigVerifyCostSecp256k1?t.sigVerifyCostSecp256k1=e.sigVerifyCostSecp256k1:"object"==typeof e.sigVerifyCostSecp256k1&&(t.sigVerifyCostSecp256k1=new s.LongBits(e.sigVerifyCostSecp256k1.low>>>0,e.sigVerifyCostSecp256k1.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.maxMemoCharacters=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.maxMemoCharacters=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.txSigLimit=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.txSigLimit=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.txSizeCostPerByte=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.txSizeCostPerByte=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.sigVerifyCostEd25519=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sigVerifyCostEd25519=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.sigVerifyCostSecp256k1=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sigVerifyCostSecp256k1=t.longs===String?"0":0}return null!=e.maxMemoCharacters&&e.hasOwnProperty("maxMemoCharacters")&&("number"==typeof e.maxMemoCharacters?r.maxMemoCharacters=t.longs===String?String(e.maxMemoCharacters):e.maxMemoCharacters:r.maxMemoCharacters=t.longs===String?s.Long.prototype.toString.call(e.maxMemoCharacters):t.longs===Number?new s.LongBits(e.maxMemoCharacters.low>>>0,e.maxMemoCharacters.high>>>0).toNumber(!0):e.maxMemoCharacters),null!=e.txSigLimit&&e.hasOwnProperty("txSigLimit")&&("number"==typeof e.txSigLimit?r.txSigLimit=t.longs===String?String(e.txSigLimit):e.txSigLimit:r.txSigLimit=t.longs===String?s.Long.prototype.toString.call(e.txSigLimit):t.longs===Number?new s.LongBits(e.txSigLimit.low>>>0,e.txSigLimit.high>>>0).toNumber(!0):e.txSigLimit),null!=e.txSizeCostPerByte&&e.hasOwnProperty("txSizeCostPerByte")&&("number"==typeof e.txSizeCostPerByte?r.txSizeCostPerByte=t.longs===String?String(e.txSizeCostPerByte):e.txSizeCostPerByte:r.txSizeCostPerByte=t.longs===String?s.Long.prototype.toString.call(e.txSizeCostPerByte):t.longs===Number?new s.LongBits(e.txSizeCostPerByte.low>>>0,e.txSizeCostPerByte.high>>>0).toNumber(!0):e.txSizeCostPerByte),null!=e.sigVerifyCostEd25519&&e.hasOwnProperty("sigVerifyCostEd25519")&&("number"==typeof e.sigVerifyCostEd25519?r.sigVerifyCostEd25519=t.longs===String?String(e.sigVerifyCostEd25519):e.sigVerifyCostEd25519:r.sigVerifyCostEd25519=t.longs===String?s.Long.prototype.toString.call(e.sigVerifyCostEd25519):t.longs===Number?new s.LongBits(e.sigVerifyCostEd25519.low>>>0,e.sigVerifyCostEd25519.high>>>0).toNumber(!0):e.sigVerifyCostEd25519),null!=e.sigVerifyCostSecp256k1&&e.hasOwnProperty("sigVerifyCostSecp256k1")&&("number"==typeof e.sigVerifyCostSecp256k1?r.sigVerifyCostSecp256k1=t.longs===String?String(e.sigVerifyCostSecp256k1):e.sigVerifyCostSecp256k1:r.sigVerifyCostSecp256k1=t.longs===String?s.Long.prototype.toString.call(e.sigVerifyCostSecp256k1):t.longs===Number?new s.LongBits(e.sigVerifyCostSecp256k1.low>>>0,e.sigVerifyCostSecp256k1.high>>>0).toNumber(!0):e.sigVerifyCostSecp256k1),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Query=function(){function e(e,t,r){n.rpc.Service.call(this,e,t,r)}return(e.prototype=Object.create(n.rpc.Service.prototype)).constructor=e,e.create=function(e,t,r){return new this(e,t,r)},Object.defineProperty(e.prototype.account=function e(t,r){return this.rpcCall(e,a.cosmos.auth.v1beta1.QueryAccountRequest,a.cosmos.auth.v1beta1.QueryAccountResponse,t,r)},"name",{value:"Account"}),Object.defineProperty(e.prototype.params=function e(t,r){return this.rpcCall(e,a.cosmos.auth.v1beta1.QueryParamsRequest,a.cosmos.auth.v1beta1.QueryParamsResponse,t,r)},"name",{value:"Params"}),e}(),e.QueryAccountRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.address=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.auth.v1beta1.QueryAccountRequest)return e;var t=new a.cosmos.auth.v1beta1.QueryAccountRequest;return null!=e.address&&(t.address=String(e.address)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.address=""),null!=e.address&&e.hasOwnProperty("address")&&(r.address=e.address),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryAccountResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.account=a.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.auth.v1beta1.QueryAccountResponse)return e;var t=new a.cosmos.auth.v1beta1.QueryAccountResponse;if(null!=e.account){if("object"!=typeof e.account)throw TypeError(".cosmos.auth.v1beta1.QueryAccountResponse.account: object expected");t.account=a.google.protobuf.Any.fromObject(e.account)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.account=null),null!=e.account&&e.hasOwnProperty("account")&&(r.account=a.google.protobuf.Any.toObject(e.account,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryParamsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.params=a.cosmos.auth.v1beta1.Params.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.auth.v1beta1.QueryParamsResponse)return e;var t=new a.cosmos.auth.v1beta1.QueryParamsResponse;if(null!=e.params){if("object"!=typeof e.params)throw TypeError(".cosmos.auth.v1beta1.QueryParamsResponse.params: object expected");t.params=a.cosmos.auth.v1beta1.Params.fromObject(e.params)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.params=null),null!=e.params&&e.hasOwnProperty("params")&&(r.params=a.cosmos.auth.v1beta1.Params.toObject(e.params,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.bank=function(){const e={};return e.v1beta1=function(){const e={};return e.Params=function(){function e(e){if(this.sendEnabled=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.sendEnabled&&n.sendEnabled.length||(n.sendEnabled=[]),n.sendEnabled.push(a.cosmos.bank.v1beta1.SendEnabled.decode(e,e.uint32()));break;case 2:n.defaultSendEnabled=e.bool();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.Params)return e;var t=new a.cosmos.bank.v1beta1.Params;if(e.sendEnabled){if(!Array.isArray(e.sendEnabled))throw TypeError(".cosmos.bank.v1beta1.Params.sendEnabled: array expected");t.sendEnabled=[];for(var r=0;r>>3){case 1:n.denom=e.string();break;case 2:n.enabled=e.bool();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.SendEnabled)return e;var t=new a.cosmos.bank.v1beta1.SendEnabled;return null!=e.denom&&(t.denom=String(e.denom)),null!=e.enabled&&(t.enabled=Boolean(e.enabled)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.denom="",r.enabled=!1),null!=e.denom&&e.hasOwnProperty("denom")&&(r.denom=e.denom),null!=e.enabled&&e.hasOwnProperty("enabled")&&(r.enabled=e.enabled),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Input=function(){function e(e){if(this.coins=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.address=e.string();break;case 2:n.coins&&n.coins.length||(n.coins=[]),n.coins.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.Input)return e;var t=new a.cosmos.bank.v1beta1.Input;if(null!=e.address&&(t.address=String(e.address)),e.coins){if(!Array.isArray(e.coins))throw TypeError(".cosmos.bank.v1beta1.Input.coins: array expected");t.coins=[];for(var r=0;r>>3){case 1:n.address=e.string();break;case 2:n.coins&&n.coins.length||(n.coins=[]),n.coins.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.Output)return e;var t=new a.cosmos.bank.v1beta1.Output;if(null!=e.address&&(t.address=String(e.address)),e.coins){if(!Array.isArray(e.coins))throw TypeError(".cosmos.bank.v1beta1.Output.coins: array expected");t.coins=[];for(var r=0;r>>3){case 1:n.total&&n.total.length||(n.total=[]),n.total.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.Supply)return e;var t=new a.cosmos.bank.v1beta1.Supply;if(e.total){if(!Array.isArray(e.total))throw TypeError(".cosmos.bank.v1beta1.Supply.total: array expected");t.total=[];for(var r=0;r>>3){case 1:n.denom=e.string();break;case 2:n.exponent=e.uint32();break;case 3:n.aliases&&n.aliases.length||(n.aliases=[]),n.aliases.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.DenomUnit)return e;var t=new a.cosmos.bank.v1beta1.DenomUnit;if(null!=e.denom&&(t.denom=String(e.denom)),null!=e.exponent&&(t.exponent=e.exponent>>>0),e.aliases){if(!Array.isArray(e.aliases))throw TypeError(".cosmos.bank.v1beta1.DenomUnit.aliases: array expected");t.aliases=[];for(var r=0;r>>3){case 1:n.description=e.string();break;case 2:n.denomUnits&&n.denomUnits.length||(n.denomUnits=[]),n.denomUnits.push(a.cosmos.bank.v1beta1.DenomUnit.decode(e,e.uint32()));break;case 3:n.base=e.string();break;case 4:n.display=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.Metadata)return e;var t=new a.cosmos.bank.v1beta1.Metadata;if(null!=e.description&&(t.description=String(e.description)),e.denomUnits){if(!Array.isArray(e.denomUnits))throw TypeError(".cosmos.bank.v1beta1.Metadata.denomUnits: array expected");t.denomUnits=[];for(var r=0;r>>3){case 1:n.address=e.string();break;case 2:n.denom=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QueryBalanceRequest)return e;var t=new a.cosmos.bank.v1beta1.QueryBalanceRequest;return null!=e.address&&(t.address=String(e.address)),null!=e.denom&&(t.denom=String(e.denom)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.address="",r.denom=""),null!=e.address&&e.hasOwnProperty("address")&&(r.address=e.address),null!=e.denom&&e.hasOwnProperty("denom")&&(r.denom=e.denom),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryBalanceResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.balance=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QueryBalanceResponse)return e;var t=new a.cosmos.bank.v1beta1.QueryBalanceResponse;if(null!=e.balance){if("object"!=typeof e.balance)throw TypeError(".cosmos.bank.v1beta1.QueryBalanceResponse.balance: object expected");t.balance=a.cosmos.base.v1beta1.Coin.fromObject(e.balance)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.balance=null),null!=e.balance&&e.hasOwnProperty("balance")&&(r.balance=a.cosmos.base.v1beta1.Coin.toObject(e.balance,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryAllBalancesRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.address=e.string();break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QueryAllBalancesRequest)return e;var t=new a.cosmos.bank.v1beta1.QueryAllBalancesRequest;if(null!=e.address&&(t.address=String(e.address)),null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".cosmos.bank.v1beta1.QueryAllBalancesRequest.pagination: object expected");t.pagination=a.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.address="",r.pagination=null),null!=e.address&&e.hasOwnProperty("address")&&(r.address=e.address),null!=e.pagination&&e.hasOwnProperty("pagination")&&(r.pagination=a.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryAllBalancesResponse=function(){function e(e){if(this.balances=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.balances&&n.balances.length||(n.balances=[]),n.balances.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QueryAllBalancesResponse)return e;var t=new a.cosmos.bank.v1beta1.QueryAllBalancesResponse;if(e.balances){if(!Array.isArray(e.balances))throw TypeError(".cosmos.bank.v1beta1.QueryAllBalancesResponse.balances: array expected");t.balances=[];for(var r=0;r>>3){case 1:n.supply&&n.supply.length||(n.supply=[]),n.supply.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QueryTotalSupplyResponse)return e;var t=new a.cosmos.bank.v1beta1.QueryTotalSupplyResponse;if(e.supply){if(!Array.isArray(e.supply))throw TypeError(".cosmos.bank.v1beta1.QueryTotalSupplyResponse.supply: array expected");t.supply=[];for(var r=0;r>>3){case 1:n.denom=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QuerySupplyOfRequest)return e;var t=new a.cosmos.bank.v1beta1.QuerySupplyOfRequest;return null!=e.denom&&(t.denom=String(e.denom)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.denom=""),null!=e.denom&&e.hasOwnProperty("denom")&&(r.denom=e.denom),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QuerySupplyOfResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.amount=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QuerySupplyOfResponse)return e;var t=new a.cosmos.bank.v1beta1.QuerySupplyOfResponse;if(null!=e.amount){if("object"!=typeof e.amount)throw TypeError(".cosmos.bank.v1beta1.QuerySupplyOfResponse.amount: object expected");t.amount=a.cosmos.base.v1beta1.Coin.fromObject(e.amount)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.amount=null),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=a.cosmos.base.v1beta1.Coin.toObject(e.amount,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryParamsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.params=a.cosmos.bank.v1beta1.Params.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QueryParamsResponse)return e;var t=new a.cosmos.bank.v1beta1.QueryParamsResponse;if(null!=e.params){if("object"!=typeof e.params)throw TypeError(".cosmos.bank.v1beta1.QueryParamsResponse.params: object expected");t.params=a.cosmos.bank.v1beta1.Params.fromObject(e.params)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.params=null),null!=e.params&&e.hasOwnProperty("params")&&(r.params=a.cosmos.bank.v1beta1.Params.toObject(e.params,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Msg=function(){function e(e,t,r){n.rpc.Service.call(this,e,t,r)}return(e.prototype=Object.create(n.rpc.Service.prototype)).constructor=e,e.create=function(e,t,r){return new this(e,t,r)},Object.defineProperty(e.prototype.send=function e(t,r){return this.rpcCall(e,a.cosmos.bank.v1beta1.MsgSend,a.cosmos.bank.v1beta1.MsgSendResponse,t,r)},"name",{value:"Send"}),Object.defineProperty(e.prototype.multiSend=function e(t,r){return this.rpcCall(e,a.cosmos.bank.v1beta1.MsgMultiSend,a.cosmos.bank.v1beta1.MsgMultiSendResponse,t,r)},"name",{value:"MultiSend"}),e}(),e.MsgSend=function(){function e(e){if(this.amount=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.fromAddress=e.string();break;case 2:n.toAddress=e.string();break;case 3:n.amount&&n.amount.length||(n.amount=[]),n.amount.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.MsgSend)return e;var t=new a.cosmos.bank.v1beta1.MsgSend;if(null!=e.fromAddress&&(t.fromAddress=String(e.fromAddress)),null!=e.toAddress&&(t.toAddress=String(e.toAddress)),e.amount){if(!Array.isArray(e.amount))throw TypeError(".cosmos.bank.v1beta1.MsgSend.amount: array expected");t.amount=[];for(var r=0;r>>3){case 1:n.inputs&&n.inputs.length||(n.inputs=[]),n.inputs.push(a.cosmos.bank.v1beta1.Input.decode(e,e.uint32()));break;case 2:n.outputs&&n.outputs.length||(n.outputs=[]),n.outputs.push(a.cosmos.bank.v1beta1.Output.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.MsgMultiSend)return e;var t=new a.cosmos.bank.v1beta1.MsgMultiSend;if(e.inputs){if(!Array.isArray(e.inputs))throw TypeError(".cosmos.bank.v1beta1.MsgMultiSend.inputs: array expected");t.inputs=[];for(var r=0;r>>3){case 1:n.key=e.bytes();break;case 2:n.offset=e.uint64();break;case 3:n.limit=e.uint64();break;case 4:n.countTotal=e.bool();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.base.query.v1beta1.PageRequest)return e;var t=new a.cosmos.base.query.v1beta1.PageRequest;return null!=e.key&&("string"==typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),null!=e.offset&&(s.Long?(t.offset=s.Long.fromValue(e.offset)).unsigned=!0:"string"==typeof e.offset?t.offset=parseInt(e.offset,10):"number"==typeof e.offset?t.offset=e.offset:"object"==typeof e.offset&&(t.offset=new s.LongBits(e.offset.low>>>0,e.offset.high>>>0).toNumber(!0))),null!=e.limit&&(s.Long?(t.limit=s.Long.fromValue(e.limit)).unsigned=!0:"string"==typeof e.limit?t.limit=parseInt(e.limit,10):"number"==typeof e.limit?t.limit=e.limit:"object"==typeof e.limit&&(t.limit=new s.LongBits(e.limit.low>>>0,e.limit.high>>>0).toNumber(!0))),null!=e.countTotal&&(t.countTotal=Boolean(e.countTotal)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key))),s.Long){var n=new s.Long(0,0,!0);r.offset=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.offset=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.limit=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.limit=t.longs===String?"0":0;r.countTotal=!1}return null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),null!=e.offset&&e.hasOwnProperty("offset")&&("number"==typeof e.offset?r.offset=t.longs===String?String(e.offset):e.offset:r.offset=t.longs===String?s.Long.prototype.toString.call(e.offset):t.longs===Number?new s.LongBits(e.offset.low>>>0,e.offset.high>>>0).toNumber(!0):e.offset),null!=e.limit&&e.hasOwnProperty("limit")&&("number"==typeof e.limit?r.limit=t.longs===String?String(e.limit):e.limit:r.limit=t.longs===String?s.Long.prototype.toString.call(e.limit):t.longs===Number?new s.LongBits(e.limit.low>>>0,e.limit.high>>>0).toNumber(!0):e.limit),null!=e.countTotal&&e.hasOwnProperty("countTotal")&&(r.countTotal=e.countTotal),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PageResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.nextKey=e.bytes();break;case 2:n.total=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.base.query.v1beta1.PageResponse)return e;var t=new a.cosmos.base.query.v1beta1.PageResponse;return null!=e.nextKey&&("string"==typeof e.nextKey?s.base64.decode(e.nextKey,t.nextKey=s.newBuffer(s.base64.length(e.nextKey)),0):e.nextKey.length&&(t.nextKey=e.nextKey)),null!=e.total&&(s.Long?(t.total=s.Long.fromValue(e.total)).unsigned=!0:"string"==typeof e.total?t.total=parseInt(e.total,10):"number"==typeof e.total?t.total=e.total:"object"==typeof e.total&&(t.total=new s.LongBits(e.total.low>>>0,e.total.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(t.bytes===String?r.nextKey="":(r.nextKey=[],t.bytes!==Array&&(r.nextKey=s.newBuffer(r.nextKey))),s.Long){var n=new s.Long(0,0,!0);r.total=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.total=t.longs===String?"0":0;return null!=e.nextKey&&e.hasOwnProperty("nextKey")&&(r.nextKey=t.bytes===String?s.base64.encode(e.nextKey,0,e.nextKey.length):t.bytes===Array?Array.prototype.slice.call(e.nextKey):e.nextKey),null!=e.total&&e.hasOwnProperty("total")&&("number"==typeof e.total?r.total=t.longs===String?String(e.total):e.total:r.total=t.longs===String?s.Long.prototype.toString.call(e.total):t.longs===Number?new s.LongBits(e.total.low>>>0,e.total.high>>>0).toNumber(!0):e.total),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.v1beta1=function(){const e={};return e.Coin=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.denom=e.string();break;case 2:n.amount=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.base.v1beta1.Coin)return e;var t=new a.cosmos.base.v1beta1.Coin;return null!=e.denom&&(t.denom=String(e.denom)),null!=e.amount&&(t.amount=String(e.amount)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.denom="",r.amount=""),null!=e.denom&&e.hasOwnProperty("denom")&&(r.denom=e.denom),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=e.amount),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DecCoin=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.denom=e.string();break;case 2:n.amount=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.base.v1beta1.DecCoin)return e;var t=new a.cosmos.base.v1beta1.DecCoin;return null!=e.denom&&(t.denom=String(e.denom)),null!=e.amount&&(t.amount=String(e.amount)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.denom="",r.amount=""),null!=e.denom&&e.hasOwnProperty("denom")&&(r.denom=e.denom),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=e.amount),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.IntProto=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.int=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.base.v1beta1.IntProto)return e;var t=new a.cosmos.base.v1beta1.IntProto;return null!=e.int&&(t.int=String(e.int)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.int=""),null!=e.int&&e.hasOwnProperty("int")&&(r.int=e.int),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DecProto=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.dec=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.base.v1beta1.DecProto)return e;var t=new a.cosmos.base.v1beta1.DecProto;return null!=e.dec&&(t.dec=String(e.dec)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.dec=""),null!=e.dec&&e.hasOwnProperty("dec")&&(r.dec=e.dec),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.crypto=function(){const e={};return e.multisig=function(){const e={};return e.v1beta1=function(){const e={};return e.MultiSignature=function(){function e(e){if(this.signatures=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(e.bytes());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.crypto.multisig.v1beta1.MultiSignature)return e;var t=new a.cosmos.crypto.multisig.v1beta1.MultiSignature;if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.crypto.multisig.v1beta1.MultiSignature.signatures: array expected");t.signatures=[];for(var r=0;r>>3){case 1:n.extraBitsStored=e.uint32();break;case 2:n.elems=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.crypto.multisig.v1beta1.CompactBitArray)return e;var t=new a.cosmos.crypto.multisig.v1beta1.CompactBitArray;return null!=e.extraBitsStored&&(t.extraBitsStored=e.extraBitsStored>>>0),null!=e.elems&&("string"==typeof e.elems?s.base64.decode(e.elems,t.elems=s.newBuffer(s.base64.length(e.elems)),0):e.elems.length&&(t.elems=e.elems)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.extraBitsStored=0,t.bytes===String?r.elems="":(r.elems=[],t.bytes!==Array&&(r.elems=s.newBuffer(r.elems)))),null!=e.extraBitsStored&&e.hasOwnProperty("extraBitsStored")&&(r.extraBitsStored=e.extraBitsStored),null!=e.elems&&e.hasOwnProperty("elems")&&(r.elems=t.bytes===String?s.base64.encode(e.elems,0,e.elems.length):t.bytes===Array?Array.prototype.slice.call(e.elems):e.elems),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.secp256k1=function(){const e={};return e.PubKey=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.key=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.crypto.secp256k1.PubKey)return e;var t=new a.cosmos.crypto.secp256k1.PubKey;return null!=e.key&&("string"==typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key)))),null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PrivKey=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.key=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.crypto.secp256k1.PrivKey)return e;var t=new a.cosmos.crypto.secp256k1.PrivKey;return null!=e.key&&("string"==typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key)))),null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.staking=function(){const e={};return e.v1beta1=function(){const e={};return e.HistoricalInfo=function(){function e(e){if(this.valset=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.header=a.tendermint.types.Header.decode(e,e.uint32());break;case 2:n.valset&&n.valset.length||(n.valset=[]),n.valset.push(a.cosmos.staking.v1beta1.Validator.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.HistoricalInfo)return e;var t=new a.cosmos.staking.v1beta1.HistoricalInfo;if(null!=e.header){if("object"!=typeof e.header)throw TypeError(".cosmos.staking.v1beta1.HistoricalInfo.header: object expected");t.header=a.tendermint.types.Header.fromObject(e.header)}if(e.valset){if(!Array.isArray(e.valset))throw TypeError(".cosmos.staking.v1beta1.HistoricalInfo.valset: array expected");t.valset=[];for(var r=0;r>>3){case 1:n.rate=e.string();break;case 2:n.maxRate=e.string();break;case 3:n.maxChangeRate=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.CommissionRates)return e;var t=new a.cosmos.staking.v1beta1.CommissionRates;return null!=e.rate&&(t.rate=String(e.rate)),null!=e.maxRate&&(t.maxRate=String(e.maxRate)),null!=e.maxChangeRate&&(t.maxChangeRate=String(e.maxChangeRate)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.rate="",r.maxRate="",r.maxChangeRate=""),null!=e.rate&&e.hasOwnProperty("rate")&&(r.rate=e.rate),null!=e.maxRate&&e.hasOwnProperty("maxRate")&&(r.maxRate=e.maxRate),null!=e.maxChangeRate&&e.hasOwnProperty("maxChangeRate")&&(r.maxChangeRate=e.maxChangeRate),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Commission=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.commissionRates=a.cosmos.staking.v1beta1.CommissionRates.decode(e,e.uint32());break;case 2:n.updateTime=a.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Commission)return e;var t=new a.cosmos.staking.v1beta1.Commission;if(null!=e.commissionRates){if("object"!=typeof e.commissionRates)throw TypeError(".cosmos.staking.v1beta1.Commission.commissionRates: object expected");t.commissionRates=a.cosmos.staking.v1beta1.CommissionRates.fromObject(e.commissionRates)}if(null!=e.updateTime){if("object"!=typeof e.updateTime)throw TypeError(".cosmos.staking.v1beta1.Commission.updateTime: object expected");t.updateTime=a.google.protobuf.Timestamp.fromObject(e.updateTime)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.commissionRates=null,r.updateTime=null),null!=e.commissionRates&&e.hasOwnProperty("commissionRates")&&(r.commissionRates=a.cosmos.staking.v1beta1.CommissionRates.toObject(e.commissionRates,t)),null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(r.updateTime=a.google.protobuf.Timestamp.toObject(e.updateTime,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Description=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.moniker=e.string();break;case 2:n.identity=e.string();break;case 3:n.website=e.string();break;case 4:n.securityContact=e.string();break;case 5:n.details=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Description)return e;var t=new a.cosmos.staking.v1beta1.Description;return null!=e.moniker&&(t.moniker=String(e.moniker)),null!=e.identity&&(t.identity=String(e.identity)),null!=e.website&&(t.website=String(e.website)),null!=e.securityContact&&(t.securityContact=String(e.securityContact)),null!=e.details&&(t.details=String(e.details)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.moniker="",r.identity="",r.website="",r.securityContact="",r.details=""),null!=e.moniker&&e.hasOwnProperty("moniker")&&(r.moniker=e.moniker),null!=e.identity&&e.hasOwnProperty("identity")&&(r.identity=e.identity),null!=e.website&&e.hasOwnProperty("website")&&(r.website=e.website),null!=e.securityContact&&e.hasOwnProperty("securityContact")&&(r.securityContact=e.securityContact),null!=e.details&&e.hasOwnProperty("details")&&(r.details=e.details),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Validator=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.operatorAddress=e.string();break;case 2:n.consensusPubkey=a.google.protobuf.Any.decode(e,e.uint32());break;case 3:n.jailed=e.bool();break;case 4:n.status=e.int32();break;case 5:n.tokens=e.string();break;case 6:n.delegatorShares=e.string();break;case 7:n.description=a.cosmos.staking.v1beta1.Description.decode(e,e.uint32());break;case 8:n.unbondingHeight=e.int64();break;case 9:n.unbondingTime=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 10:n.commission=a.cosmos.staking.v1beta1.Commission.decode(e,e.uint32());break;case 11:n.minSelfDelegation=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Validator)return e;var t=new a.cosmos.staking.v1beta1.Validator;if(null!=e.operatorAddress&&(t.operatorAddress=String(e.operatorAddress)),null!=e.consensusPubkey){if("object"!=typeof e.consensusPubkey)throw TypeError(".cosmos.staking.v1beta1.Validator.consensusPubkey: object expected");t.consensusPubkey=a.google.protobuf.Any.fromObject(e.consensusPubkey)}switch(null!=e.jailed&&(t.jailed=Boolean(e.jailed)),e.status){case"BOND_STATUS_UNSPECIFIED":case 0:t.status=0;break;case"BOND_STATUS_UNBONDED":case 1:t.status=1;break;case"BOND_STATUS_UNBONDING":case 2:t.status=2;break;case"BOND_STATUS_BONDED":case 3:t.status=3}if(null!=e.tokens&&(t.tokens=String(e.tokens)),null!=e.delegatorShares&&(t.delegatorShares=String(e.delegatorShares)),null!=e.description){if("object"!=typeof e.description)throw TypeError(".cosmos.staking.v1beta1.Validator.description: object expected");t.description=a.cosmos.staking.v1beta1.Description.fromObject(e.description)}if(null!=e.unbondingHeight&&(s.Long?(t.unbondingHeight=s.Long.fromValue(e.unbondingHeight)).unsigned=!1:"string"==typeof e.unbondingHeight?t.unbondingHeight=parseInt(e.unbondingHeight,10):"number"==typeof e.unbondingHeight?t.unbondingHeight=e.unbondingHeight:"object"==typeof e.unbondingHeight&&(t.unbondingHeight=new s.LongBits(e.unbondingHeight.low>>>0,e.unbondingHeight.high>>>0).toNumber())),null!=e.unbondingTime){if("object"!=typeof e.unbondingTime)throw TypeError(".cosmos.staking.v1beta1.Validator.unbondingTime: object expected");t.unbondingTime=a.google.protobuf.Timestamp.fromObject(e.unbondingTime)}if(null!=e.commission){if("object"!=typeof e.commission)throw TypeError(".cosmos.staking.v1beta1.Validator.commission: object expected");t.commission=a.cosmos.staking.v1beta1.Commission.fromObject(e.commission)}return null!=e.minSelfDelegation&&(t.minSelfDelegation=String(e.minSelfDelegation)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.operatorAddress="",r.consensusPubkey=null,r.jailed=!1,r.status=t.enums===String?"BOND_STATUS_UNSPECIFIED":0,r.tokens="",r.delegatorShares="",r.description=null,s.Long){var n=new s.Long(0,0,!1);r.unbondingHeight=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.unbondingHeight=t.longs===String?"0":0;r.unbondingTime=null,r.commission=null,r.minSelfDelegation=""}return null!=e.operatorAddress&&e.hasOwnProperty("operatorAddress")&&(r.operatorAddress=e.operatorAddress),null!=e.consensusPubkey&&e.hasOwnProperty("consensusPubkey")&&(r.consensusPubkey=a.google.protobuf.Any.toObject(e.consensusPubkey,t)),null!=e.jailed&&e.hasOwnProperty("jailed")&&(r.jailed=e.jailed),null!=e.status&&e.hasOwnProperty("status")&&(r.status=t.enums===String?a.cosmos.staking.v1beta1.BondStatus[e.status]:e.status),null!=e.tokens&&e.hasOwnProperty("tokens")&&(r.tokens=e.tokens),null!=e.delegatorShares&&e.hasOwnProperty("delegatorShares")&&(r.delegatorShares=e.delegatorShares),null!=e.description&&e.hasOwnProperty("description")&&(r.description=a.cosmos.staking.v1beta1.Description.toObject(e.description,t)),null!=e.unbondingHeight&&e.hasOwnProperty("unbondingHeight")&&("number"==typeof e.unbondingHeight?r.unbondingHeight=t.longs===String?String(e.unbondingHeight):e.unbondingHeight:r.unbondingHeight=t.longs===String?s.Long.prototype.toString.call(e.unbondingHeight):t.longs===Number?new s.LongBits(e.unbondingHeight.low>>>0,e.unbondingHeight.high>>>0).toNumber():e.unbondingHeight),null!=e.unbondingTime&&e.hasOwnProperty("unbondingTime")&&(r.unbondingTime=a.google.protobuf.Timestamp.toObject(e.unbondingTime,t)),null!=e.commission&&e.hasOwnProperty("commission")&&(r.commission=a.cosmos.staking.v1beta1.Commission.toObject(e.commission,t)),null!=e.minSelfDelegation&&e.hasOwnProperty("minSelfDelegation")&&(r.minSelfDelegation=e.minSelfDelegation),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BondStatus=function(){const e={},t=Object.create(e);return t[e[0]="BOND_STATUS_UNSPECIFIED"]=0,t[e[1]="BOND_STATUS_UNBONDED"]=1,t[e[2]="BOND_STATUS_UNBONDING"]=2,t[e[3]="BOND_STATUS_BONDED"]=3,t}(),e.ValAddresses=function(){function e(e){if(this.addresses=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.addresses&&n.addresses.length||(n.addresses=[]),n.addresses.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.ValAddresses)return e;var t=new a.cosmos.staking.v1beta1.ValAddresses;if(e.addresses){if(!Array.isArray(e.addresses))throw TypeError(".cosmos.staking.v1beta1.ValAddresses.addresses: array expected");t.addresses=[];for(var r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorAddress=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.DVPair)return e;var t=new a.cosmos.staking.v1beta1.DVPair;return null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegatorAddress="",r.validatorAddress=""),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=e.validatorAddress),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DVPairs=function(){function e(e){if(this.pairs=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.pairs&&n.pairs.length||(n.pairs=[]),n.pairs.push(a.cosmos.staking.v1beta1.DVPair.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.DVPairs)return e;var t=new a.cosmos.staking.v1beta1.DVPairs;if(e.pairs){if(!Array.isArray(e.pairs))throw TypeError(".cosmos.staking.v1beta1.DVPairs.pairs: array expected");t.pairs=[];for(var r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorSrcAddress=e.string();break;case 3:n.validatorDstAddress=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.DVVTriplet)return e;var t=new a.cosmos.staking.v1beta1.DVVTriplet;return null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorSrcAddress&&(t.validatorSrcAddress=String(e.validatorSrcAddress)),null!=e.validatorDstAddress&&(t.validatorDstAddress=String(e.validatorDstAddress)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegatorAddress="",r.validatorSrcAddress="",r.validatorDstAddress=""),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorSrcAddress&&e.hasOwnProperty("validatorSrcAddress")&&(r.validatorSrcAddress=e.validatorSrcAddress),null!=e.validatorDstAddress&&e.hasOwnProperty("validatorDstAddress")&&(r.validatorDstAddress=e.validatorDstAddress),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DVVTriplets=function(){function e(e){if(this.triplets=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.triplets&&n.triplets.length||(n.triplets=[]),n.triplets.push(a.cosmos.staking.v1beta1.DVVTriplet.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.DVVTriplets)return e;var t=new a.cosmos.staking.v1beta1.DVVTriplets;if(e.triplets){if(!Array.isArray(e.triplets))throw TypeError(".cosmos.staking.v1beta1.DVVTriplets.triplets: array expected");t.triplets=[];for(var r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorAddress=e.string();break;case 3:n.shares=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Delegation)return e;var t=new a.cosmos.staking.v1beta1.Delegation;return null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.shares&&(t.shares=String(e.shares)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegatorAddress="",r.validatorAddress="",r.shares=""),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=e.validatorAddress),null!=e.shares&&e.hasOwnProperty("shares")&&(r.shares=e.shares),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.UnbondingDelegation=function(){function e(e){if(this.entries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorAddress=e.string();break;case 3:n.entries&&n.entries.length||(n.entries=[]),n.entries.push(a.cosmos.staking.v1beta1.UnbondingDelegationEntry.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.UnbondingDelegation)return e;var t=new a.cosmos.staking.v1beta1.UnbondingDelegation;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),e.entries){if(!Array.isArray(e.entries))throw TypeError(".cosmos.staking.v1beta1.UnbondingDelegation.entries: array expected");t.entries=[];for(var r=0;r>>3){case 1:n.creationHeight=e.int64();break;case 2:n.completionTime=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 3:n.initialBalance=e.string();break;case 4:n.balance=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.UnbondingDelegationEntry)return e;var t=new a.cosmos.staking.v1beta1.UnbondingDelegationEntry;if(null!=e.creationHeight&&(s.Long?(t.creationHeight=s.Long.fromValue(e.creationHeight)).unsigned=!1:"string"==typeof e.creationHeight?t.creationHeight=parseInt(e.creationHeight,10):"number"==typeof e.creationHeight?t.creationHeight=e.creationHeight:"object"==typeof e.creationHeight&&(t.creationHeight=new s.LongBits(e.creationHeight.low>>>0,e.creationHeight.high>>>0).toNumber())),null!=e.completionTime){if("object"!=typeof e.completionTime)throw TypeError(".cosmos.staking.v1beta1.UnbondingDelegationEntry.completionTime: object expected");t.completionTime=a.google.protobuf.Timestamp.fromObject(e.completionTime)}return null!=e.initialBalance&&(t.initialBalance=String(e.initialBalance)),null!=e.balance&&(t.balance=String(e.balance)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!1);r.creationHeight=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.creationHeight=t.longs===String?"0":0;r.completionTime=null,r.initialBalance="",r.balance=""}return null!=e.creationHeight&&e.hasOwnProperty("creationHeight")&&("number"==typeof e.creationHeight?r.creationHeight=t.longs===String?String(e.creationHeight):e.creationHeight:r.creationHeight=t.longs===String?s.Long.prototype.toString.call(e.creationHeight):t.longs===Number?new s.LongBits(e.creationHeight.low>>>0,e.creationHeight.high>>>0).toNumber():e.creationHeight),null!=e.completionTime&&e.hasOwnProperty("completionTime")&&(r.completionTime=a.google.protobuf.Timestamp.toObject(e.completionTime,t)),null!=e.initialBalance&&e.hasOwnProperty("initialBalance")&&(r.initialBalance=e.initialBalance),null!=e.balance&&e.hasOwnProperty("balance")&&(r.balance=e.balance),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RedelegationEntry=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.creationHeight=e.int64();break;case 2:n.completionTime=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 3:n.initialBalance=e.string();break;case 4:n.sharesDst=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.RedelegationEntry)return e;var t=new a.cosmos.staking.v1beta1.RedelegationEntry;if(null!=e.creationHeight&&(s.Long?(t.creationHeight=s.Long.fromValue(e.creationHeight)).unsigned=!1:"string"==typeof e.creationHeight?t.creationHeight=parseInt(e.creationHeight,10):"number"==typeof e.creationHeight?t.creationHeight=e.creationHeight:"object"==typeof e.creationHeight&&(t.creationHeight=new s.LongBits(e.creationHeight.low>>>0,e.creationHeight.high>>>0).toNumber())),null!=e.completionTime){if("object"!=typeof e.completionTime)throw TypeError(".cosmos.staking.v1beta1.RedelegationEntry.completionTime: object expected");t.completionTime=a.google.protobuf.Timestamp.fromObject(e.completionTime)}return null!=e.initialBalance&&(t.initialBalance=String(e.initialBalance)),null!=e.sharesDst&&(t.sharesDst=String(e.sharesDst)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!1);r.creationHeight=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.creationHeight=t.longs===String?"0":0;r.completionTime=null,r.initialBalance="",r.sharesDst=""}return null!=e.creationHeight&&e.hasOwnProperty("creationHeight")&&("number"==typeof e.creationHeight?r.creationHeight=t.longs===String?String(e.creationHeight):e.creationHeight:r.creationHeight=t.longs===String?s.Long.prototype.toString.call(e.creationHeight):t.longs===Number?new s.LongBits(e.creationHeight.low>>>0,e.creationHeight.high>>>0).toNumber():e.creationHeight),null!=e.completionTime&&e.hasOwnProperty("completionTime")&&(r.completionTime=a.google.protobuf.Timestamp.toObject(e.completionTime,t)),null!=e.initialBalance&&e.hasOwnProperty("initialBalance")&&(r.initialBalance=e.initialBalance),null!=e.sharesDst&&e.hasOwnProperty("sharesDst")&&(r.sharesDst=e.sharesDst),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Redelegation=function(){function e(e){if(this.entries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorSrcAddress=e.string();break;case 3:n.validatorDstAddress=e.string();break;case 4:n.entries&&n.entries.length||(n.entries=[]),n.entries.push(a.cosmos.staking.v1beta1.RedelegationEntry.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Redelegation)return e;var t=new a.cosmos.staking.v1beta1.Redelegation;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorSrcAddress&&(t.validatorSrcAddress=String(e.validatorSrcAddress)),null!=e.validatorDstAddress&&(t.validatorDstAddress=String(e.validatorDstAddress)),e.entries){if(!Array.isArray(e.entries))throw TypeError(".cosmos.staking.v1beta1.Redelegation.entries: array expected");t.entries=[];for(var r=0;r>>3){case 1:n.unbondingTime=a.google.protobuf.Duration.decode(e,e.uint32());break;case 2:n.maxValidators=e.uint32();break;case 3:n.maxEntries=e.uint32();break;case 4:n.historicalEntries=e.uint32();break;case 5:n.bondDenom=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Params)return e;var t=new a.cosmos.staking.v1beta1.Params;if(null!=e.unbondingTime){if("object"!=typeof e.unbondingTime)throw TypeError(".cosmos.staking.v1beta1.Params.unbondingTime: object expected");t.unbondingTime=a.google.protobuf.Duration.fromObject(e.unbondingTime)}return null!=e.maxValidators&&(t.maxValidators=e.maxValidators>>>0),null!=e.maxEntries&&(t.maxEntries=e.maxEntries>>>0),null!=e.historicalEntries&&(t.historicalEntries=e.historicalEntries>>>0),null!=e.bondDenom&&(t.bondDenom=String(e.bondDenom)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.unbondingTime=null,r.maxValidators=0,r.maxEntries=0,r.historicalEntries=0,r.bondDenom=""),null!=e.unbondingTime&&e.hasOwnProperty("unbondingTime")&&(r.unbondingTime=a.google.protobuf.Duration.toObject(e.unbondingTime,t)),null!=e.maxValidators&&e.hasOwnProperty("maxValidators")&&(r.maxValidators=e.maxValidators),null!=e.maxEntries&&e.hasOwnProperty("maxEntries")&&(r.maxEntries=e.maxEntries),null!=e.historicalEntries&&e.hasOwnProperty("historicalEntries")&&(r.historicalEntries=e.historicalEntries),null!=e.bondDenom&&e.hasOwnProperty("bondDenom")&&(r.bondDenom=e.bondDenom),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DelegationResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.delegation=a.cosmos.staking.v1beta1.Delegation.decode(e,e.uint32());break;case 2:n.balance=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.DelegationResponse)return e;var t=new a.cosmos.staking.v1beta1.DelegationResponse;if(null!=e.delegation){if("object"!=typeof e.delegation)throw TypeError(".cosmos.staking.v1beta1.DelegationResponse.delegation: object expected");t.delegation=a.cosmos.staking.v1beta1.Delegation.fromObject(e.delegation)}if(null!=e.balance){if("object"!=typeof e.balance)throw TypeError(".cosmos.staking.v1beta1.DelegationResponse.balance: object expected");t.balance=a.cosmos.base.v1beta1.Coin.fromObject(e.balance)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegation=null,r.balance=null),null!=e.delegation&&e.hasOwnProperty("delegation")&&(r.delegation=a.cosmos.staking.v1beta1.Delegation.toObject(e.delegation,t)),null!=e.balance&&e.hasOwnProperty("balance")&&(r.balance=a.cosmos.base.v1beta1.Coin.toObject(e.balance,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RedelegationEntryResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.redelegationEntry=a.cosmos.staking.v1beta1.RedelegationEntry.decode(e,e.uint32());break;case 4:n.balance=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.RedelegationEntryResponse)return e;var t=new a.cosmos.staking.v1beta1.RedelegationEntryResponse;if(null!=e.redelegationEntry){if("object"!=typeof e.redelegationEntry)throw TypeError(".cosmos.staking.v1beta1.RedelegationEntryResponse.redelegationEntry: object expected");t.redelegationEntry=a.cosmos.staking.v1beta1.RedelegationEntry.fromObject(e.redelegationEntry)}return null!=e.balance&&(t.balance=String(e.balance)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.redelegationEntry=null,r.balance=""),null!=e.redelegationEntry&&e.hasOwnProperty("redelegationEntry")&&(r.redelegationEntry=a.cosmos.staking.v1beta1.RedelegationEntry.toObject(e.redelegationEntry,t)),null!=e.balance&&e.hasOwnProperty("balance")&&(r.balance=e.balance),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RedelegationResponse=function(){function e(e){if(this.entries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.redelegation=a.cosmos.staking.v1beta1.Redelegation.decode(e,e.uint32());break;case 2:n.entries&&n.entries.length||(n.entries=[]),n.entries.push(a.cosmos.staking.v1beta1.RedelegationEntryResponse.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.RedelegationResponse)return e;var t=new a.cosmos.staking.v1beta1.RedelegationResponse;if(null!=e.redelegation){if("object"!=typeof e.redelegation)throw TypeError(".cosmos.staking.v1beta1.RedelegationResponse.redelegation: object expected");t.redelegation=a.cosmos.staking.v1beta1.Redelegation.fromObject(e.redelegation)}if(e.entries){if(!Array.isArray(e.entries))throw TypeError(".cosmos.staking.v1beta1.RedelegationResponse.entries: array expected");t.entries=[];for(var r=0;r>>3){case 1:n.notBondedTokens=e.string();break;case 2:n.bondedTokens=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Pool)return e;var t=new a.cosmos.staking.v1beta1.Pool;return null!=e.notBondedTokens&&(t.notBondedTokens=String(e.notBondedTokens)),null!=e.bondedTokens&&(t.bondedTokens=String(e.bondedTokens)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.notBondedTokens="",r.bondedTokens=""),null!=e.notBondedTokens&&e.hasOwnProperty("notBondedTokens")&&(r.notBondedTokens=e.notBondedTokens),null!=e.bondedTokens&&e.hasOwnProperty("bondedTokens")&&(r.bondedTokens=e.bondedTokens),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Msg=function(){function e(e,t,r){n.rpc.Service.call(this,e,t,r)}return(e.prototype=Object.create(n.rpc.Service.prototype)).constructor=e,e.create=function(e,t,r){return new this(e,t,r)},Object.defineProperty(e.prototype.createValidator=function e(t,r){return this.rpcCall(e,a.cosmos.staking.v1beta1.MsgCreateValidator,a.cosmos.staking.v1beta1.MsgCreateValidatorResponse,t,r)},"name",{value:"CreateValidator"}),Object.defineProperty(e.prototype.editValidator=function e(t,r){return this.rpcCall(e,a.cosmos.staking.v1beta1.MsgEditValidator,a.cosmos.staking.v1beta1.MsgEditValidatorResponse,t,r)},"name",{value:"EditValidator"}),Object.defineProperty(e.prototype.delegate=function e(t,r){return this.rpcCall(e,a.cosmos.staking.v1beta1.MsgDelegate,a.cosmos.staking.v1beta1.MsgDelegateResponse,t,r)},"name",{value:"Delegate"}),Object.defineProperty(e.prototype.beginRedelegate=function e(t,r){return this.rpcCall(e,a.cosmos.staking.v1beta1.MsgBeginRedelegate,a.cosmos.staking.v1beta1.MsgBeginRedelegateResponse,t,r)},"name",{value:"BeginRedelegate"}),Object.defineProperty(e.prototype.undelegate=function e(t,r){return this.rpcCall(e,a.cosmos.staking.v1beta1.MsgUndelegate,a.cosmos.staking.v1beta1.MsgUndelegateResponse,t,r)},"name",{value:"Undelegate"}),e}(),e.MsgCreateValidator=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.description=a.cosmos.staking.v1beta1.Description.decode(e,e.uint32());break;case 2:n.commission=a.cosmos.staking.v1beta1.CommissionRates.decode(e,e.uint32());break;case 3:n.minSelfDelegation=e.string();break;case 4:n.delegatorAddress=e.string();break;case 5:n.validatorAddress=e.string();break;case 6:n.pubkey=a.google.protobuf.Any.decode(e,e.uint32());break;case 7:n.value=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgCreateValidator)return e;var t=new a.cosmos.staking.v1beta1.MsgCreateValidator;if(null!=e.description){if("object"!=typeof e.description)throw TypeError(".cosmos.staking.v1beta1.MsgCreateValidator.description: object expected");t.description=a.cosmos.staking.v1beta1.Description.fromObject(e.description)}if(null!=e.commission){if("object"!=typeof e.commission)throw TypeError(".cosmos.staking.v1beta1.MsgCreateValidator.commission: object expected");t.commission=a.cosmos.staking.v1beta1.CommissionRates.fromObject(e.commission)}if(null!=e.minSelfDelegation&&(t.minSelfDelegation=String(e.minSelfDelegation)),null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.pubkey){if("object"!=typeof e.pubkey)throw TypeError(".cosmos.staking.v1beta1.MsgCreateValidator.pubkey: object expected");t.pubkey=a.google.protobuf.Any.fromObject(e.pubkey)}if(null!=e.value){if("object"!=typeof e.value)throw TypeError(".cosmos.staking.v1beta1.MsgCreateValidator.value: object expected");t.value=a.cosmos.base.v1beta1.Coin.fromObject(e.value)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.description=null,r.commission=null,r.minSelfDelegation="",r.delegatorAddress="",r.validatorAddress="",r.pubkey=null,r.value=null),null!=e.description&&e.hasOwnProperty("description")&&(r.description=a.cosmos.staking.v1beta1.Description.toObject(e.description,t)),null!=e.commission&&e.hasOwnProperty("commission")&&(r.commission=a.cosmos.staking.v1beta1.CommissionRates.toObject(e.commission,t)),null!=e.minSelfDelegation&&e.hasOwnProperty("minSelfDelegation")&&(r.minSelfDelegation=e.minSelfDelegation),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=e.validatorAddress),null!=e.pubkey&&e.hasOwnProperty("pubkey")&&(r.pubkey=a.google.protobuf.Any.toObject(e.pubkey,t)),null!=e.value&&e.hasOwnProperty("value")&&(r.value=a.cosmos.base.v1beta1.Coin.toObject(e.value,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgCreateValidatorResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.description=a.cosmos.staking.v1beta1.Description.decode(e,e.uint32());break;case 2:n.validatorAddress=e.string();break;case 3:n.commissionRate=e.string();break;case 4:n.minSelfDelegation=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgEditValidator)return e;var t=new a.cosmos.staking.v1beta1.MsgEditValidator;if(null!=e.description){if("object"!=typeof e.description)throw TypeError(".cosmos.staking.v1beta1.MsgEditValidator.description: object expected");t.description=a.cosmos.staking.v1beta1.Description.fromObject(e.description)}return null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.commissionRate&&(t.commissionRate=String(e.commissionRate)),null!=e.minSelfDelegation&&(t.minSelfDelegation=String(e.minSelfDelegation)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.description=null,r.validatorAddress="",r.commissionRate="",r.minSelfDelegation=""),null!=e.description&&e.hasOwnProperty("description")&&(r.description=a.cosmos.staking.v1beta1.Description.toObject(e.description,t)),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=e.validatorAddress),null!=e.commissionRate&&e.hasOwnProperty("commissionRate")&&(r.commissionRate=e.commissionRate),null!=e.minSelfDelegation&&e.hasOwnProperty("minSelfDelegation")&&(r.minSelfDelegation=e.minSelfDelegation),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgEditValidatorResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorAddress=e.string();break;case 3:n.amount=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgDelegate)return e;var t=new a.cosmos.staking.v1beta1.MsgDelegate;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.amount){if("object"!=typeof e.amount)throw TypeError(".cosmos.staking.v1beta1.MsgDelegate.amount: object expected");t.amount=a.cosmos.base.v1beta1.Coin.fromObject(e.amount)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegatorAddress="",r.validatorAddress="",r.amount=null),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=e.validatorAddress),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=a.cosmos.base.v1beta1.Coin.toObject(e.amount,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgDelegateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorSrcAddress=e.string();break;case 3:n.validatorDstAddress=e.string();break;case 4:n.amount=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgBeginRedelegate)return e;var t=new a.cosmos.staking.v1beta1.MsgBeginRedelegate;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorSrcAddress&&(t.validatorSrcAddress=String(e.validatorSrcAddress)),null!=e.validatorDstAddress&&(t.validatorDstAddress=String(e.validatorDstAddress)),null!=e.amount){if("object"!=typeof e.amount)throw TypeError(".cosmos.staking.v1beta1.MsgBeginRedelegate.amount: object expected");t.amount=a.cosmos.base.v1beta1.Coin.fromObject(e.amount)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegatorAddress="",r.validatorSrcAddress="",r.validatorDstAddress="",r.amount=null),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorSrcAddress&&e.hasOwnProperty("validatorSrcAddress")&&(r.validatorSrcAddress=e.validatorSrcAddress),null!=e.validatorDstAddress&&e.hasOwnProperty("validatorDstAddress")&&(r.validatorDstAddress=e.validatorDstAddress),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=a.cosmos.base.v1beta1.Coin.toObject(e.amount,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgBeginRedelegateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.completionTime=a.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgBeginRedelegateResponse)return e;var t=new a.cosmos.staking.v1beta1.MsgBeginRedelegateResponse;if(null!=e.completionTime){if("object"!=typeof e.completionTime)throw TypeError(".cosmos.staking.v1beta1.MsgBeginRedelegateResponse.completionTime: object expected");t.completionTime=a.google.protobuf.Timestamp.fromObject(e.completionTime)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.completionTime=null),null!=e.completionTime&&e.hasOwnProperty("completionTime")&&(r.completionTime=a.google.protobuf.Timestamp.toObject(e.completionTime,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgUndelegate=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorAddress=e.string();break;case 3:n.amount=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgUndelegate)return e;var t=new a.cosmos.staking.v1beta1.MsgUndelegate;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.amount){if("object"!=typeof e.amount)throw TypeError(".cosmos.staking.v1beta1.MsgUndelegate.amount: object expected");t.amount=a.cosmos.base.v1beta1.Coin.fromObject(e.amount)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegatorAddress="",r.validatorAddress="",r.amount=null),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=e.validatorAddress),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=a.cosmos.base.v1beta1.Coin.toObject(e.amount,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgUndelegateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.completionTime=a.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgUndelegateResponse)return e;var t=new a.cosmos.staking.v1beta1.MsgUndelegateResponse;if(null!=e.completionTime){if("object"!=typeof e.completionTime)throw TypeError(".cosmos.staking.v1beta1.MsgUndelegateResponse.completionTime: object expected");t.completionTime=a.google.protobuf.Timestamp.fromObject(e.completionTime)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.completionTime=null),null!=e.completionTime&&e.hasOwnProperty("completionTime")&&(r.completionTime=a.google.protobuf.Timestamp.toObject(e.completionTime,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.tx=function(){const e={};return e.signing=function(){const e={};return e.v1beta1=function(){const e={};return e.SignMode=function(){const e={},t=Object.create(e);return t[e[0]="SIGN_MODE_UNSPECIFIED"]=0,t[e[1]="SIGN_MODE_DIRECT"]=1,t[e[2]="SIGN_MODE_TEXTUAL"]=2,t[e[127]="SIGN_MODE_LEGACY_AMINO_JSON"]=127,t}(),e.SignatureDescriptors=function(){function e(e){if(this.signatures=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(a.cosmos.tx.signing.v1beta1.SignatureDescriptor.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.signing.v1beta1.SignatureDescriptors)return e;var t=new a.cosmos.tx.signing.v1beta1.SignatureDescriptors;if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptors.signatures: array expected");t.signatures=[];for(var r=0;r>>3){case 1:n.publicKey=a.google.protobuf.Any.decode(e,e.uint32());break;case 2:n.data=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.decode(e,e.uint32());break;case 3:n.sequence=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.signing.v1beta1.SignatureDescriptor)return e;var t=new a.cosmos.tx.signing.v1beta1.SignatureDescriptor;if(null!=e.publicKey){if("object"!=typeof e.publicKey)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.publicKey: object expected");t.publicKey=a.google.protobuf.Any.fromObject(e.publicKey)}if(null!=e.data){if("object"!=typeof e.data)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.data: object expected");t.data=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.fromObject(e.data)}return null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.publicKey=null,r.data=null,s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;return null!=e.publicKey&&e.hasOwnProperty("publicKey")&&(r.publicKey=a.google.protobuf.Any.toObject(e.publicKey,t)),null!=e.data&&e.hasOwnProperty("data")&&(r.data=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.toObject(e.data,t)),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.Data=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.single=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single.decode(e,e.uint32());break;case 2:n.multi=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data)return e;var t=new a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data;if(null!=e.single){if("object"!=typeof e.single)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.single: object expected");t.single=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single.fromObject(e.single)}if(null!=e.multi){if("object"!=typeof e.multi)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.multi: object expected");t.multi=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.fromObject(e.multi)}return t},e.toObject=function(e,t){t||(t={});var r={};return null!=e.single&&e.hasOwnProperty("single")&&(r.single=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single.toObject(e.single,t),t.oneofs&&(r.sum="single")),null!=e.multi&&e.hasOwnProperty("multi")&&(r.multi=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.toObject(e.multi,t),t.oneofs&&(r.sum="multi")),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.Single=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.mode=e.int32();break;case 2:n.signature=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single)return e;var t=new a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single;switch(e.mode){case"SIGN_MODE_UNSPECIFIED":case 0:t.mode=0;break;case"SIGN_MODE_DIRECT":case 1:t.mode=1;break;case"SIGN_MODE_TEXTUAL":case 2:t.mode=2;break;case"SIGN_MODE_LEGACY_AMINO_JSON":case 127:t.mode=127}return null!=e.signature&&("string"==typeof e.signature?s.base64.decode(e.signature,t.signature=s.newBuffer(s.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.mode=t.enums===String?"SIGN_MODE_UNSPECIFIED":0,t.bytes===String?r.signature="":(r.signature=[],t.bytes!==Array&&(r.signature=s.newBuffer(r.signature)))),null!=e.mode&&e.hasOwnProperty("mode")&&(r.mode=t.enums===String?a.cosmos.tx.signing.v1beta1.SignMode[e.mode]:e.mode),null!=e.signature&&e.hasOwnProperty("signature")&&(r.signature=t.bytes===String?s.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Multi=function(){function e(e){if(this.signatures=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.bitarray=a.cosmos.crypto.multisig.v1beta1.CompactBitArray.decode(e,e.uint32());break;case 2:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi)return e;var t=new a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi;if(null!=e.bitarray){if("object"!=typeof e.bitarray)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.bitarray: object expected");t.bitarray=a.cosmos.crypto.multisig.v1beta1.CompactBitArray.fromObject(e.bitarray)}if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.signatures: array expected");t.signatures=[];for(var r=0;r>>3){case 1:n.body=a.cosmos.tx.v1beta1.TxBody.decode(e,e.uint32());break;case 2:n.authInfo=a.cosmos.tx.v1beta1.AuthInfo.decode(e,e.uint32());break;case 3:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(e.bytes());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.Tx)return e;var t=new a.cosmos.tx.v1beta1.Tx;if(null!=e.body){if("object"!=typeof e.body)throw TypeError(".cosmos.tx.v1beta1.Tx.body: object expected");t.body=a.cosmos.tx.v1beta1.TxBody.fromObject(e.body)}if(null!=e.authInfo){if("object"!=typeof e.authInfo)throw TypeError(".cosmos.tx.v1beta1.Tx.authInfo: object expected");t.authInfo=a.cosmos.tx.v1beta1.AuthInfo.fromObject(e.authInfo)}if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.tx.v1beta1.Tx.signatures: array expected");t.signatures=[];for(var r=0;r>>3){case 1:n.bodyBytes=e.bytes();break;case 2:n.authInfoBytes=e.bytes();break;case 3:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(e.bytes());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.TxRaw)return e;var t=new a.cosmos.tx.v1beta1.TxRaw;if(null!=e.bodyBytes&&("string"==typeof e.bodyBytes?s.base64.decode(e.bodyBytes,t.bodyBytes=s.newBuffer(s.base64.length(e.bodyBytes)),0):e.bodyBytes.length&&(t.bodyBytes=e.bodyBytes)),null!=e.authInfoBytes&&("string"==typeof e.authInfoBytes?s.base64.decode(e.authInfoBytes,t.authInfoBytes=s.newBuffer(s.base64.length(e.authInfoBytes)),0):e.authInfoBytes.length&&(t.authInfoBytes=e.authInfoBytes)),e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.tx.v1beta1.TxRaw.signatures: array expected");t.signatures=[];for(var r=0;r>>3){case 1:n.bodyBytes=e.bytes();break;case 2:n.authInfoBytes=e.bytes();break;case 3:n.chainId=e.string();break;case 4:n.accountNumber=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.SignDoc)return e;var t=new a.cosmos.tx.v1beta1.SignDoc;return null!=e.bodyBytes&&("string"==typeof e.bodyBytes?s.base64.decode(e.bodyBytes,t.bodyBytes=s.newBuffer(s.base64.length(e.bodyBytes)),0):e.bodyBytes.length&&(t.bodyBytes=e.bodyBytes)),null!=e.authInfoBytes&&("string"==typeof e.authInfoBytes?s.base64.decode(e.authInfoBytes,t.authInfoBytes=s.newBuffer(s.base64.length(e.authInfoBytes)),0):e.authInfoBytes.length&&(t.authInfoBytes=e.authInfoBytes)),null!=e.chainId&&(t.chainId=String(e.chainId)),null!=e.accountNumber&&(s.Long?(t.accountNumber=s.Long.fromValue(e.accountNumber)).unsigned=!0:"string"==typeof e.accountNumber?t.accountNumber=parseInt(e.accountNumber,10):"number"==typeof e.accountNumber?t.accountNumber=e.accountNumber:"object"==typeof e.accountNumber&&(t.accountNumber=new s.LongBits(e.accountNumber.low>>>0,e.accountNumber.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(t.bytes===String?r.bodyBytes="":(r.bodyBytes=[],t.bytes!==Array&&(r.bodyBytes=s.newBuffer(r.bodyBytes))),t.bytes===String?r.authInfoBytes="":(r.authInfoBytes=[],t.bytes!==Array&&(r.authInfoBytes=s.newBuffer(r.authInfoBytes))),r.chainId="",s.Long){var n=new s.Long(0,0,!0);r.accountNumber=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.accountNumber=t.longs===String?"0":0;return null!=e.bodyBytes&&e.hasOwnProperty("bodyBytes")&&(r.bodyBytes=t.bytes===String?s.base64.encode(e.bodyBytes,0,e.bodyBytes.length):t.bytes===Array?Array.prototype.slice.call(e.bodyBytes):e.bodyBytes),null!=e.authInfoBytes&&e.hasOwnProperty("authInfoBytes")&&(r.authInfoBytes=t.bytes===String?s.base64.encode(e.authInfoBytes,0,e.authInfoBytes.length):t.bytes===Array?Array.prototype.slice.call(e.authInfoBytes):e.authInfoBytes),null!=e.chainId&&e.hasOwnProperty("chainId")&&(r.chainId=e.chainId),null!=e.accountNumber&&e.hasOwnProperty("accountNumber")&&("number"==typeof e.accountNumber?r.accountNumber=t.longs===String?String(e.accountNumber):e.accountNumber:r.accountNumber=t.longs===String?s.Long.prototype.toString.call(e.accountNumber):t.longs===Number?new s.LongBits(e.accountNumber.low>>>0,e.accountNumber.high>>>0).toNumber(!0):e.accountNumber),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.TxBody=function(){function e(e){if(this.messages=[],this.extensionOptions=[],this.nonCriticalExtensionOptions=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.messages&&n.messages.length||(n.messages=[]),n.messages.push(a.google.protobuf.Any.decode(e,e.uint32()));break;case 2:n.memo=e.string();break;case 3:n.timeoutHeight=e.uint64();break;case 1023:n.extensionOptions&&n.extensionOptions.length||(n.extensionOptions=[]),n.extensionOptions.push(a.google.protobuf.Any.decode(e,e.uint32()));break;case 2047:n.nonCriticalExtensionOptions&&n.nonCriticalExtensionOptions.length||(n.nonCriticalExtensionOptions=[]),n.nonCriticalExtensionOptions.push(a.google.protobuf.Any.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.TxBody)return e;var t=new a.cosmos.tx.v1beta1.TxBody;if(e.messages){if(!Array.isArray(e.messages))throw TypeError(".cosmos.tx.v1beta1.TxBody.messages: array expected");t.messages=[];for(var r=0;r>>0,e.timeoutHeight.high>>>0).toNumber(!0))),e.extensionOptions){if(!Array.isArray(e.extensionOptions))throw TypeError(".cosmos.tx.v1beta1.TxBody.extensionOptions: array expected");t.extensionOptions=[];for(r=0;r>>0,e.timeoutHeight.high>>>0).toNumber(!0):e.timeoutHeight),e.extensionOptions&&e.extensionOptions.length){r.extensionOptions=[];for(o=0;o>>3){case 1:n.signerInfos&&n.signerInfos.length||(n.signerInfos=[]),n.signerInfos.push(a.cosmos.tx.v1beta1.SignerInfo.decode(e,e.uint32()));break;case 2:n.fee=a.cosmos.tx.v1beta1.Fee.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.AuthInfo)return e;var t=new a.cosmos.tx.v1beta1.AuthInfo;if(e.signerInfos){if(!Array.isArray(e.signerInfos))throw TypeError(".cosmos.tx.v1beta1.AuthInfo.signerInfos: array expected");t.signerInfos=[];for(var r=0;r>>3){case 1:n.publicKey=a.google.protobuf.Any.decode(e,e.uint32());break;case 2:n.modeInfo=a.cosmos.tx.v1beta1.ModeInfo.decode(e,e.uint32());break;case 3:n.sequence=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.SignerInfo)return e;var t=new a.cosmos.tx.v1beta1.SignerInfo;if(null!=e.publicKey){if("object"!=typeof e.publicKey)throw TypeError(".cosmos.tx.v1beta1.SignerInfo.publicKey: object expected");t.publicKey=a.google.protobuf.Any.fromObject(e.publicKey)}if(null!=e.modeInfo){if("object"!=typeof e.modeInfo)throw TypeError(".cosmos.tx.v1beta1.SignerInfo.modeInfo: object expected");t.modeInfo=a.cosmos.tx.v1beta1.ModeInfo.fromObject(e.modeInfo)}return null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.publicKey=null,r.modeInfo=null,s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;return null!=e.publicKey&&e.hasOwnProperty("publicKey")&&(r.publicKey=a.google.protobuf.Any.toObject(e.publicKey,t)),null!=e.modeInfo&&e.hasOwnProperty("modeInfo")&&(r.modeInfo=a.cosmos.tx.v1beta1.ModeInfo.toObject(e.modeInfo,t)),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ModeInfo=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.single=a.cosmos.tx.v1beta1.ModeInfo.Single.decode(e,e.uint32());break;case 2:n.multi=a.cosmos.tx.v1beta1.ModeInfo.Multi.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.ModeInfo)return e;var t=new a.cosmos.tx.v1beta1.ModeInfo;if(null!=e.single){if("object"!=typeof e.single)throw TypeError(".cosmos.tx.v1beta1.ModeInfo.single: object expected");t.single=a.cosmos.tx.v1beta1.ModeInfo.Single.fromObject(e.single)}if(null!=e.multi){if("object"!=typeof e.multi)throw TypeError(".cosmos.tx.v1beta1.ModeInfo.multi: object expected");t.multi=a.cosmos.tx.v1beta1.ModeInfo.Multi.fromObject(e.multi)}return t},e.toObject=function(e,t){t||(t={});var r={};return null!=e.single&&e.hasOwnProperty("single")&&(r.single=a.cosmos.tx.v1beta1.ModeInfo.Single.toObject(e.single,t),t.oneofs&&(r.sum="single")),null!=e.multi&&e.hasOwnProperty("multi")&&(r.multi=a.cosmos.tx.v1beta1.ModeInfo.Multi.toObject(e.multi,t),t.oneofs&&(r.sum="multi")),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.Single=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.mode=e.int32();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.ModeInfo.Single)return e;var t=new a.cosmos.tx.v1beta1.ModeInfo.Single;switch(e.mode){case"SIGN_MODE_UNSPECIFIED":case 0:t.mode=0;break;case"SIGN_MODE_DIRECT":case 1:t.mode=1;break;case"SIGN_MODE_TEXTUAL":case 2:t.mode=2;break;case"SIGN_MODE_LEGACY_AMINO_JSON":case 127:t.mode=127}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.mode=t.enums===String?"SIGN_MODE_UNSPECIFIED":0),null!=e.mode&&e.hasOwnProperty("mode")&&(r.mode=t.enums===String?a.cosmos.tx.signing.v1beta1.SignMode[e.mode]:e.mode),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Multi=function(){function e(e){if(this.modeInfos=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.bitarray=a.cosmos.crypto.multisig.v1beta1.CompactBitArray.decode(e,e.uint32());break;case 2:n.modeInfos&&n.modeInfos.length||(n.modeInfos=[]),n.modeInfos.push(a.cosmos.tx.v1beta1.ModeInfo.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.ModeInfo.Multi)return e;var t=new a.cosmos.tx.v1beta1.ModeInfo.Multi;if(null!=e.bitarray){if("object"!=typeof e.bitarray)throw TypeError(".cosmos.tx.v1beta1.ModeInfo.Multi.bitarray: object expected");t.bitarray=a.cosmos.crypto.multisig.v1beta1.CompactBitArray.fromObject(e.bitarray)}if(e.modeInfos){if(!Array.isArray(e.modeInfos))throw TypeError(".cosmos.tx.v1beta1.ModeInfo.Multi.modeInfos: array expected");t.modeInfos=[];for(var r=0;r>>3){case 1:n.amount&&n.amount.length||(n.amount=[]),n.amount.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;case 2:n.gasLimit=e.uint64();break;case 3:n.payer=e.string();break;case 4:n.granter=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.Fee)return e;var t=new a.cosmos.tx.v1beta1.Fee;if(e.amount){if(!Array.isArray(e.amount))throw TypeError(".cosmos.tx.v1beta1.Fee.amount: array expected");t.amount=[];for(var r=0;r>>0,e.gasLimit.high>>>0).toNumber(!0))),null!=e.payer&&(t.payer=String(e.payer)),null!=e.granter&&(t.granter=String(e.granter)),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.amount=[]),t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.gasLimit=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.gasLimit=t.longs===String?"0":0;r.payer="",r.granter=""}if(e.amount&&e.amount.length){r.amount=[];for(var o=0;o>>0,e.gasLimit.high>>>0).toNumber(!0):e.gasLimit),null!=e.payer&&e.hasOwnProperty("payer")&&(r.payer=e.payer),null!=e.granter&&e.hasOwnProperty("granter")&&(r.granter=e.granter),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e})(),t.google=a.google=(()=>{const e={};return e.protobuf=function(){const e={};return e.Any=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.type_url=e.string();break;case 2:n.value=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.Any)return e;var t=new a.google.protobuf.Any;return null!=e.type_url&&(t.type_url=String(e.type_url)),null!=e.value&&("string"==typeof e.value?s.base64.decode(e.value,t.value=s.newBuffer(s.base64.length(e.value)),0):e.value.length&&(t.value=e.value)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.type_url="",t.bytes===String?r.value="":(r.value=[],t.bytes!==Array&&(r.value=s.newBuffer(r.value)))),null!=e.type_url&&e.hasOwnProperty("type_url")&&(r.type_url=e.type_url),null!=e.value&&e.hasOwnProperty("value")&&(r.value=t.bytes===String?s.base64.encode(e.value,0,e.value.length):t.bytes===Array?Array.prototype.slice.call(e.value):e.value),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.FileDescriptorSet=function(){function e(e){if(this.file=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.file&&n.file.length||(n.file=[]),n.file.push(a.google.protobuf.FileDescriptorProto.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.FileDescriptorSet)return e;var t=new a.google.protobuf.FileDescriptorSet;if(e.file){if(!Array.isArray(e.file))throw TypeError(".google.protobuf.FileDescriptorSet.file: array expected");t.file=[];for(var r=0;r>>3){case 1:n.name=e.string();break;case 2:n.package=e.string();break;case 3:n.dependency&&n.dependency.length||(n.dependency=[]),n.dependency.push(e.string());break;case 10:if(n.publicDependency&&n.publicDependency.length||(n.publicDependency=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>3){case 1:n.name=e.string();break;case 2:n.field&&n.field.length||(n.field=[]),n.field.push(a.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 6:n.extension&&n.extension.length||(n.extension=[]),n.extension.push(a.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 3:n.nestedType&&n.nestedType.length||(n.nestedType=[]),n.nestedType.push(a.google.protobuf.DescriptorProto.decode(e,e.uint32()));break;case 4:n.enumType&&n.enumType.length||(n.enumType=[]),n.enumType.push(a.google.protobuf.EnumDescriptorProto.decode(e,e.uint32()));break;case 5:n.extensionRange&&n.extensionRange.length||(n.extensionRange=[]),n.extensionRange.push(a.google.protobuf.DescriptorProto.ExtensionRange.decode(e,e.uint32()));break;case 8:n.oneofDecl&&n.oneofDecl.length||(n.oneofDecl=[]),n.oneofDecl.push(a.google.protobuf.OneofDescriptorProto.decode(e,e.uint32()));break;case 7:n.options=a.google.protobuf.MessageOptions.decode(e,e.uint32());break;case 9:n.reservedRange&&n.reservedRange.length||(n.reservedRange=[]),n.reservedRange.push(a.google.protobuf.DescriptorProto.ReservedRange.decode(e,e.uint32()));break;case 10:n.reservedName&&n.reservedName.length||(n.reservedName=[]),n.reservedName.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.DescriptorProto)return e;var t=new a.google.protobuf.DescriptorProto;if(null!=e.name&&(t.name=String(e.name)),e.field){if(!Array.isArray(e.field))throw TypeError(".google.protobuf.DescriptorProto.field: array expected");t.field=[];for(var r=0;r>>3){case 1:n.start=e.int32();break;case 2:n.end=e.int32();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.DescriptorProto.ExtensionRange)return e;var t=new a.google.protobuf.DescriptorProto.ExtensionRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.start=0,r.end=0),null!=e.start&&e.hasOwnProperty("start")&&(r.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(r.end=e.end),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReservedRange=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.start=e.int32();break;case 2:n.end=e.int32();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.DescriptorProto.ReservedRange)return e;var t=new a.google.protobuf.DescriptorProto.ReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.start=0,r.end=0),null!=e.start&&e.hasOwnProperty("start")&&(r.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(r.end=e.end),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e.FieldDescriptorProto=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 3:n.number=e.int32();break;case 4:n.label=e.int32();break;case 5:n.type=e.int32();break;case 6:n.typeName=e.string();break;case 2:n.extendee=e.string();break;case 7:n.defaultValue=e.string();break;case 9:n.oneofIndex=e.int32();break;case 10:n.jsonName=e.string();break;case 8:n.options=a.google.protobuf.FieldOptions.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.FieldDescriptorProto)return e;var t=new a.google.protobuf.FieldDescriptorProto;switch(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),e.label){case"LABEL_OPTIONAL":case 1:t.label=1;break;case"LABEL_REQUIRED":case 2:t.label=2;break;case"LABEL_REPEATED":case 3:t.label=3}switch(e.type){case"TYPE_DOUBLE":case 1:t.type=1;break;case"TYPE_FLOAT":case 2:t.type=2;break;case"TYPE_INT64":case 3:t.type=3;break;case"TYPE_UINT64":case 4:t.type=4;break;case"TYPE_INT32":case 5:t.type=5;break;case"TYPE_FIXED64":case 6:t.type=6;break;case"TYPE_FIXED32":case 7:t.type=7;break;case"TYPE_BOOL":case 8:t.type=8;break;case"TYPE_STRING":case 9:t.type=9;break;case"TYPE_GROUP":case 10:t.type=10;break;case"TYPE_MESSAGE":case 11:t.type=11;break;case"TYPE_BYTES":case 12:t.type=12;break;case"TYPE_UINT32":case 13:t.type=13;break;case"TYPE_ENUM":case 14:t.type=14;break;case"TYPE_SFIXED32":case 15:t.type=15;break;case"TYPE_SFIXED64":case 16:t.type=16;break;case"TYPE_SINT32":case 17:t.type=17;break;case"TYPE_SINT64":case 18:t.type=18}if(null!=e.typeName&&(t.typeName=String(e.typeName)),null!=e.extendee&&(t.extendee=String(e.extendee)),null!=e.defaultValue&&(t.defaultValue=String(e.defaultValue)),null!=e.oneofIndex&&(t.oneofIndex=0|e.oneofIndex),null!=e.jsonName&&(t.jsonName=String(e.jsonName)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");t.options=a.google.protobuf.FieldOptions.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.extendee="",r.number=0,r.label=t.enums===String?"LABEL_OPTIONAL":1,r.type=t.enums===String?"TYPE_DOUBLE":1,r.typeName="",r.defaultValue="",r.options=null,r.oneofIndex=0,r.jsonName=""),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.extendee&&e.hasOwnProperty("extendee")&&(r.extendee=e.extendee),null!=e.number&&e.hasOwnProperty("number")&&(r.number=e.number),null!=e.label&&e.hasOwnProperty("label")&&(r.label=t.enums===String?a.google.protobuf.FieldDescriptorProto.Label[e.label]:e.label),null!=e.type&&e.hasOwnProperty("type")&&(r.type=t.enums===String?a.google.protobuf.FieldDescriptorProto.Type[e.type]:e.type),null!=e.typeName&&e.hasOwnProperty("typeName")&&(r.typeName=e.typeName),null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&(r.defaultValue=e.defaultValue),null!=e.options&&e.hasOwnProperty("options")&&(r.options=a.google.protobuf.FieldOptions.toObject(e.options,t)),null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&(r.oneofIndex=e.oneofIndex),null!=e.jsonName&&e.hasOwnProperty("jsonName")&&(r.jsonName=e.jsonName),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.Type=function(){const e={},t=Object.create(e);return t[e[1]="TYPE_DOUBLE"]=1,t[e[2]="TYPE_FLOAT"]=2,t[e[3]="TYPE_INT64"]=3,t[e[4]="TYPE_UINT64"]=4,t[e[5]="TYPE_INT32"]=5,t[e[6]="TYPE_FIXED64"]=6,t[e[7]="TYPE_FIXED32"]=7,t[e[8]="TYPE_BOOL"]=8,t[e[9]="TYPE_STRING"]=9,t[e[10]="TYPE_GROUP"]=10,t[e[11]="TYPE_MESSAGE"]=11,t[e[12]="TYPE_BYTES"]=12,t[e[13]="TYPE_UINT32"]=13,t[e[14]="TYPE_ENUM"]=14,t[e[15]="TYPE_SFIXED32"]=15,t[e[16]="TYPE_SFIXED64"]=16,t[e[17]="TYPE_SINT32"]=17,t[e[18]="TYPE_SINT64"]=18,t}(),e.Label=function(){const e={},t=Object.create(e);return t[e[1]="LABEL_OPTIONAL"]=1,t[e[2]="LABEL_REQUIRED"]=2,t[e[3]="LABEL_REPEATED"]=3,t}(),e}(),e.OneofDescriptorProto=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.options=a.google.protobuf.OneofOptions.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.OneofDescriptorProto)return e;var t=new a.google.protobuf.OneofDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.OneofDescriptorProto.options: object expected");t.options=a.google.protobuf.OneofOptions.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.options=null),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.options&&e.hasOwnProperty("options")&&(r.options=a.google.protobuf.OneofOptions.toObject(e.options,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.EnumDescriptorProto=function(){function e(e){if(this.value=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.value&&n.value.length||(n.value=[]),n.value.push(a.google.protobuf.EnumValueDescriptorProto.decode(e,e.uint32()));break;case 3:n.options=a.google.protobuf.EnumOptions.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.EnumDescriptorProto)return e;var t=new a.google.protobuf.EnumDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),e.value){if(!Array.isArray(e.value))throw TypeError(".google.protobuf.EnumDescriptorProto.value: array expected");t.value=[];for(var r=0;r>>3){case 1:n.name=e.string();break;case 2:n.number=e.int32();break;case 3:n.options=a.google.protobuf.EnumValueOptions.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.EnumValueDescriptorProto)return e;var t=new a.google.protobuf.EnumValueDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.EnumValueDescriptorProto.options: object expected");t.options=a.google.protobuf.EnumValueOptions.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.number=0,r.options=null),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.number&&e.hasOwnProperty("number")&&(r.number=e.number),null!=e.options&&e.hasOwnProperty("options")&&(r.options=a.google.protobuf.EnumValueOptions.toObject(e.options,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ServiceDescriptorProto=function(){function e(e){if(this.method=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.method&&n.method.length||(n.method=[]),n.method.push(a.google.protobuf.MethodDescriptorProto.decode(e,e.uint32()));break;case 3:n.options=a.google.protobuf.ServiceOptions.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.ServiceDescriptorProto)return e;var t=new a.google.protobuf.ServiceDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),e.method){if(!Array.isArray(e.method))throw TypeError(".google.protobuf.ServiceDescriptorProto.method: array expected");t.method=[];for(var r=0;r>>3){case 1:n.name=e.string();break;case 2:n.inputType=e.string();break;case 3:n.outputType=e.string();break;case 4:n.options=a.google.protobuf.MethodOptions.decode(e,e.uint32());break;case 5:n.clientStreaming=e.bool();break;case 6:n.serverStreaming=e.bool();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.MethodDescriptorProto)return e;var t=new a.google.protobuf.MethodDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.inputType&&(t.inputType=String(e.inputType)),null!=e.outputType&&(t.outputType=String(e.outputType)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.MethodDescriptorProto.options: object expected");t.options=a.google.protobuf.MethodOptions.fromObject(e.options)}return null!=e.clientStreaming&&(t.clientStreaming=Boolean(e.clientStreaming)),null!=e.serverStreaming&&(t.serverStreaming=Boolean(e.serverStreaming)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.inputType="",r.outputType="",r.options=null,r.clientStreaming=!1,r.serverStreaming=!1),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.inputType&&e.hasOwnProperty("inputType")&&(r.inputType=e.inputType),null!=e.outputType&&e.hasOwnProperty("outputType")&&(r.outputType=e.outputType),null!=e.options&&e.hasOwnProperty("options")&&(r.options=a.google.protobuf.MethodOptions.toObject(e.options,t)),null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&(r.clientStreaming=e.clientStreaming),null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&(r.serverStreaming=e.serverStreaming),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.FileOptions=function(){function e(e){if(this.uninterpretedOption=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.javaPackage=e.string();break;case 8:n.javaOuterClassname=e.string();break;case 10:n.javaMultipleFiles=e.bool();break;case 20:n.javaGenerateEqualsAndHash=e.bool();break;case 27:n.javaStringCheckUtf8=e.bool();break;case 9:n.optimizeFor=e.int32();break;case 11:n.goPackage=e.string();break;case 16:n.ccGenericServices=e.bool();break;case 17:n.javaGenericServices=e.bool();break;case 18:n.pyGenericServices=e.bool();break;case 23:n.deprecated=e.bool();break;case 31:n.ccEnableArenas=e.bool();break;case 36:n.objcClassPrefix=e.string();break;case 37:n.csharpNamespace=e.string();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.FileOptions)return e;var t=new a.google.protobuf.FileOptions;switch(null!=e.javaPackage&&(t.javaPackage=String(e.javaPackage)),null!=e.javaOuterClassname&&(t.javaOuterClassname=String(e.javaOuterClassname)),null!=e.javaMultipleFiles&&(t.javaMultipleFiles=Boolean(e.javaMultipleFiles)),null!=e.javaGenerateEqualsAndHash&&(t.javaGenerateEqualsAndHash=Boolean(e.javaGenerateEqualsAndHash)),null!=e.javaStringCheckUtf8&&(t.javaStringCheckUtf8=Boolean(e.javaStringCheckUtf8)),e.optimizeFor){case"SPEED":case 1:t.optimizeFor=1;break;case"CODE_SIZE":case 2:t.optimizeFor=2;break;case"LITE_RUNTIME":case 3:t.optimizeFor=3}if(null!=e.goPackage&&(t.goPackage=String(e.goPackage)),null!=e.ccGenericServices&&(t.ccGenericServices=Boolean(e.ccGenericServices)),null!=e.javaGenericServices&&(t.javaGenericServices=Boolean(e.javaGenericServices)),null!=e.pyGenericServices&&(t.pyGenericServices=Boolean(e.pyGenericServices)),null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),null!=e.ccEnableArenas&&(t.ccEnableArenas=Boolean(e.ccEnableArenas)),null!=e.objcClassPrefix&&(t.objcClassPrefix=String(e.objcClassPrefix)),null!=e.csharpNamespace&&(t.csharpNamespace=String(e.csharpNamespace)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.FileOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 1:n.messageSetWireFormat=e.bool();break;case 2:n.noStandardDescriptorAccessor=e.bool();break;case 3:n.deprecated=e.bool();break;case 7:n.mapEntry=e.bool();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.MessageOptions)return e;var t=new a.google.protobuf.MessageOptions;if(null!=e.messageSetWireFormat&&(t.messageSetWireFormat=Boolean(e.messageSetWireFormat)),null!=e.noStandardDescriptorAccessor&&(t.noStandardDescriptorAccessor=Boolean(e.noStandardDescriptorAccessor)),null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),null!=e.mapEntry&&(t.mapEntry=Boolean(e.mapEntry)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.MessageOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 1:n.ctype=e.int32();break;case 2:n.packed=e.bool();break;case 6:n.jstype=e.int32();break;case 5:n.lazy=e.bool();break;case 3:n.deprecated=e.bool();break;case 10:n.weak=e.bool();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.FieldOptions)return e;var t=new a.google.protobuf.FieldOptions;switch(e.ctype){case"STRING":case 0:t.ctype=0;break;case"CORD":case 1:t.ctype=1;break;case"STRING_PIECE":case 2:t.ctype=2}switch(null!=e.packed&&(t.packed=Boolean(e.packed)),e.jstype){case"JS_NORMAL":case 0:t.jstype=0;break;case"JS_STRING":case 1:t.jstype=1;break;case"JS_NUMBER":case 2:t.jstype=2}if(null!=e.lazy&&(t.lazy=Boolean(e.lazy)),null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),null!=e.weak&&(t.weak=Boolean(e.weak)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.OneofOptions)return e;var t=new a.google.protobuf.OneofOptions;if(e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.OneofOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 2:n.allowAlias=e.bool();break;case 3:n.deprecated=e.bool();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.EnumOptions)return e;var t=new a.google.protobuf.EnumOptions;if(null!=e.allowAlias&&(t.allowAlias=Boolean(e.allowAlias)),null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.EnumOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 1:n.deprecated=e.bool();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.EnumValueOptions)return e;var t=new a.google.protobuf.EnumValueOptions;if(null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 33:n.deprecated=e.bool();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.ServiceOptions)return e;var t=new a.google.protobuf.ServiceOptions;if(null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.ServiceOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 33:n.deprecated=e.bool();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 72295728:n[".google.api.http"]=a.google.api.HttpRule.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.MethodOptions)return e;var t=new a.google.protobuf.MethodOptions;if(null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.MethodOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 2:n.name&&n.name.length||(n.name=[]),n.name.push(a.google.protobuf.UninterpretedOption.NamePart.decode(e,e.uint32()));break;case 3:n.identifierValue=e.string();break;case 4:n.positiveIntValue=e.uint64();break;case 5:n.negativeIntValue=e.int64();break;case 6:n.doubleValue=e.double();break;case 7:n.stringValue=e.bytes();break;case 8:n.aggregateValue=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.UninterpretedOption)return e;var t=new a.google.protobuf.UninterpretedOption;if(e.name){if(!Array.isArray(e.name))throw TypeError(".google.protobuf.UninterpretedOption.name: array expected");t.name=[];for(var r=0;r>>0,e.positiveIntValue.high>>>0).toNumber(!0))),null!=e.negativeIntValue&&(s.Long?(t.negativeIntValue=s.Long.fromValue(e.negativeIntValue)).unsigned=!1:"string"==typeof e.negativeIntValue?t.negativeIntValue=parseInt(e.negativeIntValue,10):"number"==typeof e.negativeIntValue?t.negativeIntValue=e.negativeIntValue:"object"==typeof e.negativeIntValue&&(t.negativeIntValue=new s.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber())),null!=e.doubleValue&&(t.doubleValue=Number(e.doubleValue)),null!=e.stringValue&&("string"==typeof e.stringValue?s.base64.decode(e.stringValue,t.stringValue=s.newBuffer(s.base64.length(e.stringValue)),0):e.stringValue.length&&(t.stringValue=e.stringValue)),null!=e.aggregateValue&&(t.aggregateValue=String(e.aggregateValue)),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.name=[]),t.defaults){if(r.identifierValue="",s.Long){var n=new s.Long(0,0,!0);r.positiveIntValue=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.positiveIntValue=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!1);r.negativeIntValue=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.negativeIntValue=t.longs===String?"0":0;r.doubleValue=0,t.bytes===String?r.stringValue="":(r.stringValue=[],t.bytes!==Array&&(r.stringValue=s.newBuffer(r.stringValue))),r.aggregateValue=""}if(e.name&&e.name.length){r.name=[];for(var o=0;o>>0,e.positiveIntValue.high>>>0).toNumber(!0):e.positiveIntValue),null!=e.negativeIntValue&&e.hasOwnProperty("negativeIntValue")&&("number"==typeof e.negativeIntValue?r.negativeIntValue=t.longs===String?String(e.negativeIntValue):e.negativeIntValue:r.negativeIntValue=t.longs===String?s.Long.prototype.toString.call(e.negativeIntValue):t.longs===Number?new s.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber():e.negativeIntValue),null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(r.doubleValue=t.json&&!isFinite(e.doubleValue)?String(e.doubleValue):e.doubleValue),null!=e.stringValue&&e.hasOwnProperty("stringValue")&&(r.stringValue=t.bytes===String?s.base64.encode(e.stringValue,0,e.stringValue.length):t.bytes===Array?Array.prototype.slice.call(e.stringValue):e.stringValue),null!=e.aggregateValue&&e.hasOwnProperty("aggregateValue")&&(r.aggregateValue=e.aggregateValue),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.NamePart=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.namePart=e.string();break;case 2:n.isExtension=e.bool();break;default:e.skipType(7&i)}}if(!n.hasOwnProperty("namePart"))throw s.ProtocolError("missing required 'namePart'",{instance:n});if(!n.hasOwnProperty("isExtension"))throw s.ProtocolError("missing required 'isExtension'",{instance:n});return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.UninterpretedOption.NamePart)return e;var t=new a.google.protobuf.UninterpretedOption.NamePart;return null!=e.namePart&&(t.namePart=String(e.namePart)),null!=e.isExtension&&(t.isExtension=Boolean(e.isExtension)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.namePart="",r.isExtension=!1),null!=e.namePart&&e.hasOwnProperty("namePart")&&(r.namePart=e.namePart),null!=e.isExtension&&e.hasOwnProperty("isExtension")&&(r.isExtension=e.isExtension),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e.SourceCodeInfo=function(){function e(e){if(this.location=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.location&&n.location.length||(n.location=[]),n.location.push(a.google.protobuf.SourceCodeInfo.Location.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.SourceCodeInfo)return e;var t=new a.google.protobuf.SourceCodeInfo;if(e.location){if(!Array.isArray(e.location))throw TypeError(".google.protobuf.SourceCodeInfo.location: array expected");t.location=[];for(var r=0;r>>3){case 1:if(n.path&&n.path.length||(n.path=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>3){case 1:n.annotation&&n.annotation.length||(n.annotation=[]),n.annotation.push(a.google.protobuf.GeneratedCodeInfo.Annotation.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.GeneratedCodeInfo)return e;var t=new a.google.protobuf.GeneratedCodeInfo;if(e.annotation){if(!Array.isArray(e.annotation))throw TypeError(".google.protobuf.GeneratedCodeInfo.annotation: array expected");t.annotation=[];for(var r=0;r>>3){case 1:if(n.path&&n.path.length||(n.path=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>3){case 1:n.seconds=e.int64();break;case 2:n.nanos=e.int32();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.Duration)return e;var t=new a.google.protobuf.Duration;return null!=e.seconds&&(s.Long?(t.seconds=s.Long.fromValue(e.seconds)).unsigned=!1:"string"==typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"==typeof e.seconds?t.seconds=e.seconds:"object"==typeof e.seconds&&(t.seconds=new s.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanos&&(t.nanos=0|e.nanos),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!1);r.seconds=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.seconds=t.longs===String?"0":0;r.nanos=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"==typeof e.seconds?r.seconds=t.longs===String?String(e.seconds):e.seconds:r.seconds=t.longs===String?s.Long.prototype.toString.call(e.seconds):t.longs===Number?new s.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanos&&e.hasOwnProperty("nanos")&&(r.nanos=e.nanos),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Timestamp=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.seconds=e.int64();break;case 2:n.nanos=e.int32();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.Timestamp)return e;var t=new a.google.protobuf.Timestamp;return null!=e.seconds&&(s.Long?(t.seconds=s.Long.fromValue(e.seconds)).unsigned=!1:"string"==typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"==typeof e.seconds?t.seconds=e.seconds:"object"==typeof e.seconds&&(t.seconds=new s.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanos&&(t.nanos=0|e.nanos),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!1);r.seconds=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.seconds=t.longs===String?"0":0;r.nanos=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"==typeof e.seconds?r.seconds=t.longs===String?String(e.seconds):e.seconds:r.seconds=t.longs===String?s.Long.prototype.toString.call(e.seconds):t.longs===Number?new s.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanos&&e.hasOwnProperty("nanos")&&(r.nanos=e.nanos),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e.api=function(){const e={};return e.Http=function(){function e(e){if(this.rules=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.rules&&n.rules.length||(n.rules=[]),n.rules.push(a.google.api.HttpRule.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.api.Http)return e;var t=new a.google.api.Http;if(e.rules){if(!Array.isArray(e.rules))throw TypeError(".google.api.Http.rules: array expected");t.rules=[];for(var r=0;r>>3){case 2:n.get=e.string();break;case 3:n.put=e.string();break;case 4:n.post=e.string();break;case 5:n.delete=e.string();break;case 6:n.patch=e.string();break;case 8:n.custom=a.google.api.CustomHttpPattern.decode(e,e.uint32());break;case 1:n.selector=e.string();break;case 7:n.body=e.string();break;case 11:n.additionalBindings&&n.additionalBindings.length||(n.additionalBindings=[]),n.additionalBindings.push(a.google.api.HttpRule.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.api.HttpRule)return e;var t=new a.google.api.HttpRule;if(null!=e.get&&(t.get=String(e.get)),null!=e.put&&(t.put=String(e.put)),null!=e.post&&(t.post=String(e.post)),null!=e.delete&&(t.delete=String(e.delete)),null!=e.patch&&(t.patch=String(e.patch)),null!=e.custom){if("object"!=typeof e.custom)throw TypeError(".google.api.HttpRule.custom: object expected");t.custom=a.google.api.CustomHttpPattern.fromObject(e.custom)}if(null!=e.selector&&(t.selector=String(e.selector)),null!=e.body&&(t.body=String(e.body)),e.additionalBindings){if(!Array.isArray(e.additionalBindings))throw TypeError(".google.api.HttpRule.additionalBindings: array expected");t.additionalBindings=[];for(var r=0;r>>3){case 1:n.kind=e.string();break;case 2:n.path=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.api.CustomHttpPattern)return e;var t=new a.google.api.CustomHttpPattern;return null!=e.kind&&(t.kind=String(e.kind)),null!=e.path&&(t.path=String(e.path)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.kind="",r.path=""),null!=e.kind&&e.hasOwnProperty("kind")&&(r.kind=e.kind),null!=e.path&&e.hasOwnProperty("path")&&(r.path=e.path),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e})(),t.ibc=a.ibc=(()=>{const e={};return e.core=function(){const e={};return e.channel=function(){const e={};return e.v1=function(){const e={};return e.Channel=function(){function e(e){if(this.connectionHops=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.state=e.int32();break;case 2:n.ordering=e.int32();break;case 3:n.counterparty=a.ibc.core.channel.v1.Counterparty.decode(e,e.uint32());break;case 4:n.connectionHops&&n.connectionHops.length||(n.connectionHops=[]),n.connectionHops.push(e.string());break;case 5:n.version=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.Channel)return e;var t=new a.ibc.core.channel.v1.Channel;switch(e.state){case"STATE_UNINITIALIZED_UNSPECIFIED":case 0:t.state=0;break;case"STATE_INIT":case 1:t.state=1;break;case"STATE_TRYOPEN":case 2:t.state=2;break;case"STATE_OPEN":case 3:t.state=3;break;case"STATE_CLOSED":case 4:t.state=4}switch(e.ordering){case"ORDER_NONE_UNSPECIFIED":case 0:t.ordering=0;break;case"ORDER_UNORDERED":case 1:t.ordering=1;break;case"ORDER_ORDERED":case 2:t.ordering=2}if(null!=e.counterparty){if("object"!=typeof e.counterparty)throw TypeError(".ibc.core.channel.v1.Channel.counterparty: object expected");t.counterparty=a.ibc.core.channel.v1.Counterparty.fromObject(e.counterparty)}if(e.connectionHops){if(!Array.isArray(e.connectionHops))throw TypeError(".ibc.core.channel.v1.Channel.connectionHops: array expected");t.connectionHops=[];for(var r=0;r>>3){case 1:n.state=e.int32();break;case 2:n.ordering=e.int32();break;case 3:n.counterparty=a.ibc.core.channel.v1.Counterparty.decode(e,e.uint32());break;case 4:n.connectionHops&&n.connectionHops.length||(n.connectionHops=[]),n.connectionHops.push(e.string());break;case 5:n.version=e.string();break;case 6:n.portId=e.string();break;case 7:n.channelId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.IdentifiedChannel)return e;var t=new a.ibc.core.channel.v1.IdentifiedChannel;switch(e.state){case"STATE_UNINITIALIZED_UNSPECIFIED":case 0:t.state=0;break;case"STATE_INIT":case 1:t.state=1;break;case"STATE_TRYOPEN":case 2:t.state=2;break;case"STATE_OPEN":case 3:t.state=3;break;case"STATE_CLOSED":case 4:t.state=4}switch(e.ordering){case"ORDER_NONE_UNSPECIFIED":case 0:t.ordering=0;break;case"ORDER_UNORDERED":case 1:t.ordering=1;break;case"ORDER_ORDERED":case 2:t.ordering=2}if(null!=e.counterparty){if("object"!=typeof e.counterparty)throw TypeError(".ibc.core.channel.v1.IdentifiedChannel.counterparty: object expected");t.counterparty=a.ibc.core.channel.v1.Counterparty.fromObject(e.counterparty)}if(e.connectionHops){if(!Array.isArray(e.connectionHops))throw TypeError(".ibc.core.channel.v1.IdentifiedChannel.connectionHops: array expected");t.connectionHops=[];for(var r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.Counterparty)return e;var t=new a.ibc.core.channel.v1.Counterparty;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.portId="",r.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Packet=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.sequence=e.uint64();break;case 2:n.sourcePort=e.string();break;case 3:n.sourceChannel=e.string();break;case 4:n.destinationPort=e.string();break;case 5:n.destinationChannel=e.string();break;case 6:n.data=e.bytes();break;case 7:n.timeoutHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;case 8:n.timeoutTimestamp=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.Packet)return e;var t=new a.ibc.core.channel.v1.Packet;if(null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),null!=e.sourcePort&&(t.sourcePort=String(e.sourcePort)),null!=e.sourceChannel&&(t.sourceChannel=String(e.sourceChannel)),null!=e.destinationPort&&(t.destinationPort=String(e.destinationPort)),null!=e.destinationChannel&&(t.destinationChannel=String(e.destinationChannel)),null!=e.data&&("string"==typeof e.data?s.base64.decode(e.data,t.data=s.newBuffer(s.base64.length(e.data)),0):e.data.length&&(t.data=e.data)),null!=e.timeoutHeight){if("object"!=typeof e.timeoutHeight)throw TypeError(".ibc.core.channel.v1.Packet.timeoutHeight: object expected");t.timeoutHeight=a.ibc.core.client.v1.Height.fromObject(e.timeoutHeight)}return null!=e.timeoutTimestamp&&(s.Long?(t.timeoutTimestamp=s.Long.fromValue(e.timeoutTimestamp)).unsigned=!0:"string"==typeof e.timeoutTimestamp?t.timeoutTimestamp=parseInt(e.timeoutTimestamp,10):"number"==typeof e.timeoutTimestamp?t.timeoutTimestamp=e.timeoutTimestamp:"object"==typeof e.timeoutTimestamp&&(t.timeoutTimestamp=new s.LongBits(e.timeoutTimestamp.low>>>0,e.timeoutTimestamp.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;if(r.sourcePort="",r.sourceChannel="",r.destinationPort="",r.destinationChannel="",t.bytes===String?r.data="":(r.data=[],t.bytes!==Array&&(r.data=s.newBuffer(r.data))),r.timeoutHeight=null,s.Long){n=new s.Long(0,0,!0);r.timeoutTimestamp=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.timeoutTimestamp=t.longs===String?"0":0}return null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),null!=e.sourcePort&&e.hasOwnProperty("sourcePort")&&(r.sourcePort=e.sourcePort),null!=e.sourceChannel&&e.hasOwnProperty("sourceChannel")&&(r.sourceChannel=e.sourceChannel),null!=e.destinationPort&&e.hasOwnProperty("destinationPort")&&(r.destinationPort=e.destinationPort),null!=e.destinationChannel&&e.hasOwnProperty("destinationChannel")&&(r.destinationChannel=e.destinationChannel),null!=e.data&&e.hasOwnProperty("data")&&(r.data=t.bytes===String?s.base64.encode(e.data,0,e.data.length):t.bytes===Array?Array.prototype.slice.call(e.data):e.data),null!=e.timeoutHeight&&e.hasOwnProperty("timeoutHeight")&&(r.timeoutHeight=a.ibc.core.client.v1.Height.toObject(e.timeoutHeight,t)),null!=e.timeoutTimestamp&&e.hasOwnProperty("timeoutTimestamp")&&("number"==typeof e.timeoutTimestamp?r.timeoutTimestamp=t.longs===String?String(e.timeoutTimestamp):e.timeoutTimestamp:r.timeoutTimestamp=t.longs===String?s.Long.prototype.toString.call(e.timeoutTimestamp):t.longs===Number?new s.LongBits(e.timeoutTimestamp.low>>>0,e.timeoutTimestamp.high>>>0).toNumber(!0):e.timeoutTimestamp),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PacketState=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.sequence=e.uint64();break;case 4:n.data=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.PacketState)return e;var t=new a.ibc.core.channel.v1.PacketState;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),null!=e.data&&("string"==typeof e.data?s.base64.decode(e.data,t.data=s.newBuffer(s.base64.length(e.data)),0):e.data.length&&(t.data=e.data)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.portId="",r.channelId="",s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;t.bytes===String?r.data="":(r.data=[],t.bytes!==Array&&(r.data=s.newBuffer(r.data)))}return null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),null!=e.data&&e.hasOwnProperty("data")&&(r.data=t.bytes===String?s.base64.encode(e.data,0,e.data.length):t.bytes===Array?Array.prototype.slice.call(e.data):e.data),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Acknowledgement=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 21:n.result=e.bytes();break;case 22:n.error=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.Acknowledgement)return e;var t=new a.ibc.core.channel.v1.Acknowledgement;return null!=e.result&&("string"==typeof e.result?s.base64.decode(e.result,t.result=s.newBuffer(s.base64.length(e.result)),0):e.result.length&&(t.result=e.result)),null!=e.error&&(t.error=String(e.error)),t},e.toObject=function(e,t){t||(t={});var r={};return null!=e.result&&e.hasOwnProperty("result")&&(r.result=t.bytes===String?s.base64.encode(e.result,0,e.result.length):t.bytes===Array?Array.prototype.slice.call(e.result):e.result,t.oneofs&&(r.response="result")),null!=e.error&&e.hasOwnProperty("error")&&(r.error=e.error,t.oneofs&&(r.response="error")),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Query=function(){function e(e,t,r){n.rpc.Service.call(this,e,t,r)}return(e.prototype=Object.create(n.rpc.Service.prototype)).constructor=e,e.create=function(e,t,r){return new this(e,t,r)},Object.defineProperty(e.prototype.channel=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryChannelRequest,a.ibc.core.channel.v1.QueryChannelResponse,t,r)},"name",{value:"Channel"}),Object.defineProperty(e.prototype.channels=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryChannelsRequest,a.ibc.core.channel.v1.QueryChannelsResponse,t,r)},"name",{value:"Channels"}),Object.defineProperty(e.prototype.connectionChannels=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryConnectionChannelsRequest,a.ibc.core.channel.v1.QueryConnectionChannelsResponse,t,r)},"name",{value:"ConnectionChannels"}),Object.defineProperty(e.prototype.channelClientState=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryChannelClientStateRequest,a.ibc.core.channel.v1.QueryChannelClientStateResponse,t,r)},"name",{value:"ChannelClientState"}),Object.defineProperty(e.prototype.channelConsensusState=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryChannelConsensusStateRequest,a.ibc.core.channel.v1.QueryChannelConsensusStateResponse,t,r)},"name",{value:"ChannelConsensusState"}),Object.defineProperty(e.prototype.packetCommitment=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryPacketCommitmentRequest,a.ibc.core.channel.v1.QueryPacketCommitmentResponse,t,r)},"name",{value:"PacketCommitment"}),Object.defineProperty(e.prototype.packetCommitments=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryPacketCommitmentsRequest,a.ibc.core.channel.v1.QueryPacketCommitmentsResponse,t,r)},"name",{value:"PacketCommitments"}),Object.defineProperty(e.prototype.packetReceipt=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryPacketReceiptRequest,a.ibc.core.channel.v1.QueryPacketReceiptResponse,t,r)},"name",{value:"PacketReceipt"}),Object.defineProperty(e.prototype.packetAcknowledgement=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryPacketAcknowledgementRequest,a.ibc.core.channel.v1.QueryPacketAcknowledgementResponse,t,r)},"name",{value:"PacketAcknowledgement"}),Object.defineProperty(e.prototype.packetAcknowledgements=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest,a.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse,t,r)},"name",{value:"PacketAcknowledgements"}),Object.defineProperty(e.prototype.unreceivedPackets=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryUnreceivedPacketsRequest,a.ibc.core.channel.v1.QueryUnreceivedPacketsResponse,t,r)},"name",{value:"UnreceivedPackets"}),Object.defineProperty(e.prototype.unreceivedAcks=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryUnreceivedAcksRequest,a.ibc.core.channel.v1.QueryUnreceivedAcksResponse,t,r)},"name",{value:"UnreceivedAcks"}),Object.defineProperty(e.prototype.nextSequenceReceive=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryNextSequenceReceiveRequest,a.ibc.core.channel.v1.QueryNextSequenceReceiveResponse,t,r)},"name",{value:"NextSequenceReceive"}),e}(),e.QueryChannelRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelRequest)return e;var t=new a.ibc.core.channel.v1.QueryChannelRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.portId="",r.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryChannelResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.channel=a.ibc.core.channel.v1.Channel.decode(e,e.uint32());break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelResponse)return e;var t=new a.ibc.core.channel.v1.QueryChannelResponse;if(null!=e.channel){if("object"!=typeof e.channel)throw TypeError(".ibc.core.channel.v1.QueryChannelResponse.channel: object expected");t.channel=a.ibc.core.channel.v1.Channel.fromObject(e.channel)}if(null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryChannelResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.channel=null,t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.channel&&e.hasOwnProperty("channel")&&(r.channel=a.ibc.core.channel.v1.Channel.toObject(e.channel,t)),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryChannelsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.pagination=a.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelsRequest)return e;var t=new a.ibc.core.channel.v1.QueryChannelsRequest;if(null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.channel.v1.QueryChannelsRequest.pagination: object expected");t.pagination=a.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.pagination=null),null!=e.pagination&&e.hasOwnProperty("pagination")&&(r.pagination=a.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryChannelsResponse=function(){function e(e){if(this.channels=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.channels&&n.channels.length||(n.channels=[]),n.channels.push(a.ibc.core.channel.v1.IdentifiedChannel.decode(e,e.uint32()));break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:n.height=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelsResponse)return e;var t=new a.ibc.core.channel.v1.QueryChannelsResponse;if(e.channels){if(!Array.isArray(e.channels))throw TypeError(".ibc.core.channel.v1.QueryChannelsResponse.channels: array expected");t.channels=[];for(var r=0;r>>3){case 1:n.connection=e.string();break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryConnectionChannelsRequest)return e;var t=new a.ibc.core.channel.v1.QueryConnectionChannelsRequest;if(null!=e.connection&&(t.connection=String(e.connection)),null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.channel.v1.QueryConnectionChannelsRequest.pagination: object expected");t.pagination=a.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.connection="",r.pagination=null),null!=e.connection&&e.hasOwnProperty("connection")&&(r.connection=e.connection),null!=e.pagination&&e.hasOwnProperty("pagination")&&(r.pagination=a.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionChannelsResponse=function(){function e(e){if(this.channels=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.channels&&n.channels.length||(n.channels=[]),n.channels.push(a.ibc.core.channel.v1.IdentifiedChannel.decode(e,e.uint32()));break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:n.height=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryConnectionChannelsResponse)return e;var t=new a.ibc.core.channel.v1.QueryConnectionChannelsResponse;if(e.channels){if(!Array.isArray(e.channels))throw TypeError(".ibc.core.channel.v1.QueryConnectionChannelsResponse.channels: array expected");t.channels=[];for(var r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelClientStateRequest)return e;var t=new a.ibc.core.channel.v1.QueryChannelClientStateRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.portId="",r.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryChannelClientStateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.identifiedClientState=a.ibc.core.client.v1.IdentifiedClientState.decode(e,e.uint32());break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelClientStateResponse)return e;var t=new a.ibc.core.channel.v1.QueryChannelClientStateResponse;if(null!=e.identifiedClientState){if("object"!=typeof e.identifiedClientState)throw TypeError(".ibc.core.channel.v1.QueryChannelClientStateResponse.identifiedClientState: object expected");t.identifiedClientState=a.ibc.core.client.v1.IdentifiedClientState.fromObject(e.identifiedClientState)}if(null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryChannelClientStateResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.identifiedClientState=null,t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.identifiedClientState&&e.hasOwnProperty("identifiedClientState")&&(r.identifiedClientState=a.ibc.core.client.v1.IdentifiedClientState.toObject(e.identifiedClientState,t)),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryChannelConsensusStateRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.versionNumber=e.uint64();break;case 4:n.versionHeight=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelConsensusStateRequest)return e;var t=new a.ibc.core.channel.v1.QueryChannelConsensusStateRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.versionNumber&&(s.Long?(t.versionNumber=s.Long.fromValue(e.versionNumber)).unsigned=!0:"string"==typeof e.versionNumber?t.versionNumber=parseInt(e.versionNumber,10):"number"==typeof e.versionNumber?t.versionNumber=e.versionNumber:"object"==typeof e.versionNumber&&(t.versionNumber=new s.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0))),null!=e.versionHeight&&(s.Long?(t.versionHeight=s.Long.fromValue(e.versionHeight)).unsigned=!0:"string"==typeof e.versionHeight?t.versionHeight=parseInt(e.versionHeight,10):"number"==typeof e.versionHeight?t.versionHeight=e.versionHeight:"object"==typeof e.versionHeight&&(t.versionHeight=new s.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.portId="",r.channelId="",s.Long){var n=new s.Long(0,0,!0);r.versionNumber=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.versionNumber=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.versionHeight=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.versionHeight=t.longs===String?"0":0}return null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.versionNumber&&e.hasOwnProperty("versionNumber")&&("number"==typeof e.versionNumber?r.versionNumber=t.longs===String?String(e.versionNumber):e.versionNumber:r.versionNumber=t.longs===String?s.Long.prototype.toString.call(e.versionNumber):t.longs===Number?new s.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0):e.versionNumber),null!=e.versionHeight&&e.hasOwnProperty("versionHeight")&&("number"==typeof e.versionHeight?r.versionHeight=t.longs===String?String(e.versionHeight):e.versionHeight:r.versionHeight=t.longs===String?s.Long.prototype.toString.call(e.versionHeight):t.longs===Number?new s.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0):e.versionHeight),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryChannelConsensusStateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.consensusState=a.google.protobuf.Any.decode(e,e.uint32());break;case 2:n.clientId=e.string();break;case 3:n.proof=e.bytes();break;case 4:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelConsensusStateResponse)return e;var t=new a.ibc.core.channel.v1.QueryChannelConsensusStateResponse;if(null!=e.consensusState){if("object"!=typeof e.consensusState)throw TypeError(".ibc.core.channel.v1.QueryChannelConsensusStateResponse.consensusState: object expected");t.consensusState=a.google.protobuf.Any.fromObject(e.consensusState)}if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryChannelConsensusStateResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.consensusState=null,r.clientId="",t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.consensusState&&e.hasOwnProperty("consensusState")&&(r.consensusState=a.google.protobuf.Any.toObject(e.consensusState,t)),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketCommitmentRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.sequence=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketCommitmentRequest)return e;var t=new a.ibc.core.channel.v1.QueryPacketCommitmentRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.portId="",r.channelId="",s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;return null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketCommitmentResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.commitment=e.bytes();break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketCommitmentResponse)return e;var t=new a.ibc.core.channel.v1.QueryPacketCommitmentResponse;if(null!=e.commitment&&("string"==typeof e.commitment?s.base64.decode(e.commitment,t.commitment=s.newBuffer(s.base64.length(e.commitment)),0):e.commitment.length&&(t.commitment=e.commitment)),null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryPacketCommitmentResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.commitment="":(r.commitment=[],t.bytes!==Array&&(r.commitment=s.newBuffer(r.commitment))),t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.commitment&&e.hasOwnProperty("commitment")&&(r.commitment=t.bytes===String?s.base64.encode(e.commitment,0,e.commitment.length):t.bytes===Array?Array.prototype.slice.call(e.commitment):e.commitment),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketCommitmentsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.pagination=a.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketCommitmentsRequest)return e;var t=new a.ibc.core.channel.v1.QueryPacketCommitmentsRequest;if(null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.channel.v1.QueryPacketCommitmentsRequest.pagination: object expected");t.pagination=a.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.portId="",r.channelId="",r.pagination=null),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.pagination&&e.hasOwnProperty("pagination")&&(r.pagination=a.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketCommitmentsResponse=function(){function e(e){if(this.commitments=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.commitments&&n.commitments.length||(n.commitments=[]),n.commitments.push(a.ibc.core.channel.v1.PacketState.decode(e,e.uint32()));break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:n.height=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketCommitmentsResponse)return e;var t=new a.ibc.core.channel.v1.QueryPacketCommitmentsResponse;if(e.commitments){if(!Array.isArray(e.commitments))throw TypeError(".ibc.core.channel.v1.QueryPacketCommitmentsResponse.commitments: array expected");t.commitments=[];for(var r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.sequence=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketReceiptRequest)return e;var t=new a.ibc.core.channel.v1.QueryPacketReceiptRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.portId="",r.channelId="",s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;return null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketReceiptResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 2:n.received=e.bool();break;case 3:n.proof=e.bytes();break;case 4:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketReceiptResponse)return e;var t=new a.ibc.core.channel.v1.QueryPacketReceiptResponse;if(null!=e.received&&(t.received=Boolean(e.received)),null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryPacketReceiptResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.received=!1,t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.received&&e.hasOwnProperty("received")&&(r.received=e.received),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketAcknowledgementRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.sequence=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketAcknowledgementRequest)return e;var t=new a.ibc.core.channel.v1.QueryPacketAcknowledgementRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.portId="",r.channelId="",s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;return null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketAcknowledgementResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.acknowledgement=e.bytes();break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketAcknowledgementResponse)return e;var t=new a.ibc.core.channel.v1.QueryPacketAcknowledgementResponse;if(null!=e.acknowledgement&&("string"==typeof e.acknowledgement?s.base64.decode(e.acknowledgement,t.acknowledgement=s.newBuffer(s.base64.length(e.acknowledgement)),0):e.acknowledgement.length&&(t.acknowledgement=e.acknowledgement)),null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryPacketAcknowledgementResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.acknowledgement="":(r.acknowledgement=[],t.bytes!==Array&&(r.acknowledgement=s.newBuffer(r.acknowledgement))),t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.acknowledgement&&e.hasOwnProperty("acknowledgement")&&(r.acknowledgement=t.bytes===String?s.base64.encode(e.acknowledgement,0,e.acknowledgement.length):t.bytes===Array?Array.prototype.slice.call(e.acknowledgement):e.acknowledgement),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketAcknowledgementsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.pagination=a.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest)return e;var t=new a.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest;if(null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.channel.v1.QueryPacketAcknowledgementsRequest.pagination: object expected");t.pagination=a.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.portId="",r.channelId="",r.pagination=null),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.pagination&&e.hasOwnProperty("pagination")&&(r.pagination=a.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketAcknowledgementsResponse=function(){function e(e){if(this.acknowledgements=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.acknowledgements&&n.acknowledgements.length||(n.acknowledgements=[]),n.acknowledgements.push(a.ibc.core.channel.v1.PacketState.decode(e,e.uint32()));break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:n.height=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse)return e;var t=new a.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse;if(e.acknowledgements){if(!Array.isArray(e.acknowledgements))throw TypeError(".ibc.core.channel.v1.QueryPacketAcknowledgementsResponse.acknowledgements: array expected");t.acknowledgements=[];for(var r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:if(n.packetCommitmentSequences&&n.packetCommitmentSequences.length||(n.packetCommitmentSequences=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>0,e.packetCommitmentSequences[r].high>>>0).toNumber(!0))}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.packetCommitmentSequences=[]),t.defaults&&(r.portId="",r.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),e.packetCommitmentSequences&&e.packetCommitmentSequences.length){r.packetCommitmentSequences=[];for(var n=0;n>>0,e.packetCommitmentSequences[n].high>>>0).toNumber(!0):e.packetCommitmentSequences[n]}return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryUnreceivedPacketsResponse=function(){function e(e){if(this.sequences=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:if(n.sequences&&n.sequences.length||(n.sequences=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>0,e.sequences[r].high>>>0).toNumber(!0))}if(null!=e.height){if("object"!=typeof e.height)throw TypeError(".ibc.core.channel.v1.QueryUnreceivedPacketsResponse.height: object expected");t.height=a.ibc.core.client.v1.Height.fromObject(e.height)}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.sequences=[]),t.defaults&&(r.height=null),e.sequences&&e.sequences.length){r.sequences=[];for(var n=0;n>>0,e.sequences[n].high>>>0).toNumber(!0):e.sequences[n]}return null!=e.height&&e.hasOwnProperty("height")&&(r.height=a.ibc.core.client.v1.Height.toObject(e.height,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryUnreceivedAcksRequest=function(){function e(e){if(this.packetAckSequences=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:if(n.packetAckSequences&&n.packetAckSequences.length||(n.packetAckSequences=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>0,e.packetAckSequences[r].high>>>0).toNumber(!0))}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.packetAckSequences=[]),t.defaults&&(r.portId="",r.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),e.packetAckSequences&&e.packetAckSequences.length){r.packetAckSequences=[];for(var n=0;n>>0,e.packetAckSequences[n].high>>>0).toNumber(!0):e.packetAckSequences[n]}return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryUnreceivedAcksResponse=function(){function e(e){if(this.sequences=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:if(n.sequences&&n.sequences.length||(n.sequences=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>0,e.sequences[r].high>>>0).toNumber(!0))}if(null!=e.height){if("object"!=typeof e.height)throw TypeError(".ibc.core.channel.v1.QueryUnreceivedAcksResponse.height: object expected");t.height=a.ibc.core.client.v1.Height.fromObject(e.height)}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.sequences=[]),t.defaults&&(r.height=null),e.sequences&&e.sequences.length){r.sequences=[];for(var n=0;n>>0,e.sequences[n].high>>>0).toNumber(!0):e.sequences[n]}return null!=e.height&&e.hasOwnProperty("height")&&(r.height=a.ibc.core.client.v1.Height.toObject(e.height,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryNextSequenceReceiveRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryNextSequenceReceiveRequest)return e;var t=new a.ibc.core.channel.v1.QueryNextSequenceReceiveRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.portId="",r.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryNextSequenceReceiveResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.nextSequenceReceive=e.uint64();break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryNextSequenceReceiveResponse)return e;var t=new a.ibc.core.channel.v1.QueryNextSequenceReceiveResponse;if(null!=e.nextSequenceReceive&&(s.Long?(t.nextSequenceReceive=s.Long.fromValue(e.nextSequenceReceive)).unsigned=!0:"string"==typeof e.nextSequenceReceive?t.nextSequenceReceive=parseInt(e.nextSequenceReceive,10):"number"==typeof e.nextSequenceReceive?t.nextSequenceReceive=e.nextSequenceReceive:"object"==typeof e.nextSequenceReceive&&(t.nextSequenceReceive=new s.LongBits(e.nextSequenceReceive.low>>>0,e.nextSequenceReceive.high>>>0).toNumber(!0))),null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryNextSequenceReceiveResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.nextSequenceReceive=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.nextSequenceReceive=t.longs===String?"0":0;t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null}return null!=e.nextSequenceReceive&&e.hasOwnProperty("nextSequenceReceive")&&("number"==typeof e.nextSequenceReceive?r.nextSequenceReceive=t.longs===String?String(e.nextSequenceReceive):e.nextSequenceReceive:r.nextSequenceReceive=t.longs===String?s.Long.prototype.toString.call(e.nextSequenceReceive):t.longs===Number?new s.LongBits(e.nextSequenceReceive.low>>>0,e.nextSequenceReceive.high>>>0).toNumber(!0):e.nextSequenceReceive),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.client=function(){const e={};return e.v1=function(){const e={};return e.Msg=function(){function e(e,t,r){n.rpc.Service.call(this,e,t,r)}return(e.prototype=Object.create(n.rpc.Service.prototype)).constructor=e,e.create=function(e,t,r){return new this(e,t,r)},Object.defineProperty(e.prototype.createClient=function e(t,r){return this.rpcCall(e,a.ibc.core.client.v1.MsgCreateClient,a.ibc.core.client.v1.MsgCreateClientResponse,t,r)},"name",{value:"CreateClient"}),Object.defineProperty(e.prototype.updateClient=function e(t,r){return this.rpcCall(e,a.ibc.core.client.v1.MsgUpdateClient,a.ibc.core.client.v1.MsgUpdateClientResponse,t,r)},"name",{value:"UpdateClient"}),Object.defineProperty(e.prototype.upgradeClient=function e(t,r){return this.rpcCall(e,a.ibc.core.client.v1.MsgUpgradeClient,a.ibc.core.client.v1.MsgUpgradeClientResponse,t,r)},"name",{value:"UpgradeClient"}),Object.defineProperty(e.prototype.submitMisbehaviour=function e(t,r){return this.rpcCall(e,a.ibc.core.client.v1.MsgSubmitMisbehaviour,a.ibc.core.client.v1.MsgSubmitMisbehaviourResponse,t,r)},"name",{value:"SubmitMisbehaviour"}),e}(),e.MsgCreateClient=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.clientState=a.google.protobuf.Any.decode(e,e.uint32());break;case 3:n.consensusState=a.google.protobuf.Any.decode(e,e.uint32());break;case 4:n.signer=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.MsgCreateClient)return e;var t=new a.ibc.core.client.v1.MsgCreateClient;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.clientState){if("object"!=typeof e.clientState)throw TypeError(".ibc.core.client.v1.MsgCreateClient.clientState: object expected");t.clientState=a.google.protobuf.Any.fromObject(e.clientState)}if(null!=e.consensusState){if("object"!=typeof e.consensusState)throw TypeError(".ibc.core.client.v1.MsgCreateClient.consensusState: object expected");t.consensusState=a.google.protobuf.Any.fromObject(e.consensusState)}return null!=e.signer&&(t.signer=String(e.signer)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId="",r.clientState=null,r.consensusState=null,r.signer=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.clientState&&e.hasOwnProperty("clientState")&&(r.clientState=a.google.protobuf.Any.toObject(e.clientState,t)),null!=e.consensusState&&e.hasOwnProperty("consensusState")&&(r.consensusState=a.google.protobuf.Any.toObject(e.consensusState,t)),null!=e.signer&&e.hasOwnProperty("signer")&&(r.signer=e.signer),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgCreateClientResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.header=a.google.protobuf.Any.decode(e,e.uint32());break;case 3:n.signer=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.MsgUpdateClient)return e;var t=new a.ibc.core.client.v1.MsgUpdateClient;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.header){if("object"!=typeof e.header)throw TypeError(".ibc.core.client.v1.MsgUpdateClient.header: object expected");t.header=a.google.protobuf.Any.fromObject(e.header)}return null!=e.signer&&(t.signer=String(e.signer)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId="",r.header=null,r.signer=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.header&&e.hasOwnProperty("header")&&(r.header=a.google.protobuf.Any.toObject(e.header,t)),null!=e.signer&&e.hasOwnProperty("signer")&&(r.signer=e.signer),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgUpdateClientResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.clientState=a.google.protobuf.Any.decode(e,e.uint32());break;case 3:n.upgradeHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;case 4:n.proofUpgrade=e.bytes();break;case 5:n.signer=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.MsgUpgradeClient)return e;var t=new a.ibc.core.client.v1.MsgUpgradeClient;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.clientState){if("object"!=typeof e.clientState)throw TypeError(".ibc.core.client.v1.MsgUpgradeClient.clientState: object expected");t.clientState=a.google.protobuf.Any.fromObject(e.clientState)}if(null!=e.upgradeHeight){if("object"!=typeof e.upgradeHeight)throw TypeError(".ibc.core.client.v1.MsgUpgradeClient.upgradeHeight: object expected");t.upgradeHeight=a.ibc.core.client.v1.Height.fromObject(e.upgradeHeight)}return null!=e.proofUpgrade&&("string"==typeof e.proofUpgrade?s.base64.decode(e.proofUpgrade,t.proofUpgrade=s.newBuffer(s.base64.length(e.proofUpgrade)),0):e.proofUpgrade.length&&(t.proofUpgrade=e.proofUpgrade)),null!=e.signer&&(t.signer=String(e.signer)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId="",r.clientState=null,r.upgradeHeight=null,t.bytes===String?r.proofUpgrade="":(r.proofUpgrade=[],t.bytes!==Array&&(r.proofUpgrade=s.newBuffer(r.proofUpgrade))),r.signer=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.clientState&&e.hasOwnProperty("clientState")&&(r.clientState=a.google.protobuf.Any.toObject(e.clientState,t)),null!=e.upgradeHeight&&e.hasOwnProperty("upgradeHeight")&&(r.upgradeHeight=a.ibc.core.client.v1.Height.toObject(e.upgradeHeight,t)),null!=e.proofUpgrade&&e.hasOwnProperty("proofUpgrade")&&(r.proofUpgrade=t.bytes===String?s.base64.encode(e.proofUpgrade,0,e.proofUpgrade.length):t.bytes===Array?Array.prototype.slice.call(e.proofUpgrade):e.proofUpgrade),null!=e.signer&&e.hasOwnProperty("signer")&&(r.signer=e.signer),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgUpgradeClientResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.misbehaviour=a.google.protobuf.Any.decode(e,e.uint32());break;case 3:n.signer=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.MsgSubmitMisbehaviour)return e;var t=new a.ibc.core.client.v1.MsgSubmitMisbehaviour;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.misbehaviour){if("object"!=typeof e.misbehaviour)throw TypeError(".ibc.core.client.v1.MsgSubmitMisbehaviour.misbehaviour: object expected");t.misbehaviour=a.google.protobuf.Any.fromObject(e.misbehaviour)}return null!=e.signer&&(t.signer=String(e.signer)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId="",r.misbehaviour=null,r.signer=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.misbehaviour&&e.hasOwnProperty("misbehaviour")&&(r.misbehaviour=a.google.protobuf.Any.toObject(e.misbehaviour,t)),null!=e.signer&&e.hasOwnProperty("signer")&&(r.signer=e.signer),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgSubmitMisbehaviourResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.clientState=a.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.IdentifiedClientState)return e;var t=new a.ibc.core.client.v1.IdentifiedClientState;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.clientState){if("object"!=typeof e.clientState)throw TypeError(".ibc.core.client.v1.IdentifiedClientState.clientState: object expected");t.clientState=a.google.protobuf.Any.fromObject(e.clientState)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId="",r.clientState=null),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.clientState&&e.hasOwnProperty("clientState")&&(r.clientState=a.google.protobuf.Any.toObject(e.clientState,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ConsensusStateWithHeight=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.height=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;case 2:n.consensusState=a.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.ConsensusStateWithHeight)return e;var t=new a.ibc.core.client.v1.ConsensusStateWithHeight;if(null!=e.height){if("object"!=typeof e.height)throw TypeError(".ibc.core.client.v1.ConsensusStateWithHeight.height: object expected");t.height=a.ibc.core.client.v1.Height.fromObject(e.height)}if(null!=e.consensusState){if("object"!=typeof e.consensusState)throw TypeError(".ibc.core.client.v1.ConsensusStateWithHeight.consensusState: object expected");t.consensusState=a.google.protobuf.Any.fromObject(e.consensusState)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.height=null,r.consensusState=null),null!=e.height&&e.hasOwnProperty("height")&&(r.height=a.ibc.core.client.v1.Height.toObject(e.height,t)),null!=e.consensusState&&e.hasOwnProperty("consensusState")&&(r.consensusState=a.google.protobuf.Any.toObject(e.consensusState,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ClientConsensusStates=function(){function e(e){if(this.consensusStates=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.consensusStates&&n.consensusStates.length||(n.consensusStates=[]),n.consensusStates.push(a.ibc.core.client.v1.ConsensusStateWithHeight.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.ClientConsensusStates)return e;var t=new a.ibc.core.client.v1.ClientConsensusStates;if(null!=e.clientId&&(t.clientId=String(e.clientId)),e.consensusStates){if(!Array.isArray(e.consensusStates))throw TypeError(".ibc.core.client.v1.ClientConsensusStates.consensusStates: array expected");t.consensusStates=[];for(var r=0;r>>3){case 1:n.title=e.string();break;case 2:n.description=e.string();break;case 3:n.clientId=e.string();break;case 4:n.header=a.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.ClientUpdateProposal)return e;var t=new a.ibc.core.client.v1.ClientUpdateProposal;if(null!=e.title&&(t.title=String(e.title)),null!=e.description&&(t.description=String(e.description)),null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.header){if("object"!=typeof e.header)throw TypeError(".ibc.core.client.v1.ClientUpdateProposal.header: object expected");t.header=a.google.protobuf.Any.fromObject(e.header)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.title="",r.description="",r.clientId="",r.header=null),null!=e.title&&e.hasOwnProperty("title")&&(r.title=e.title),null!=e.description&&e.hasOwnProperty("description")&&(r.description=e.description),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.header&&e.hasOwnProperty("header")&&(r.header=a.google.protobuf.Any.toObject(e.header,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Height=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.versionNumber=e.uint64();break;case 2:n.versionHeight=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.Height)return e;var t=new a.ibc.core.client.v1.Height;return null!=e.versionNumber&&(s.Long?(t.versionNumber=s.Long.fromValue(e.versionNumber)).unsigned=!0:"string"==typeof e.versionNumber?t.versionNumber=parseInt(e.versionNumber,10):"number"==typeof e.versionNumber?t.versionNumber=e.versionNumber:"object"==typeof e.versionNumber&&(t.versionNumber=new s.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0))),null!=e.versionHeight&&(s.Long?(t.versionHeight=s.Long.fromValue(e.versionHeight)).unsigned=!0:"string"==typeof e.versionHeight?t.versionHeight=parseInt(e.versionHeight,10):"number"==typeof e.versionHeight?t.versionHeight=e.versionHeight:"object"==typeof e.versionHeight&&(t.versionHeight=new s.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.versionNumber=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.versionNumber=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.versionHeight=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.versionHeight=t.longs===String?"0":0}return null!=e.versionNumber&&e.hasOwnProperty("versionNumber")&&("number"==typeof e.versionNumber?r.versionNumber=t.longs===String?String(e.versionNumber):e.versionNumber:r.versionNumber=t.longs===String?s.Long.prototype.toString.call(e.versionNumber):t.longs===Number?new s.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0):e.versionNumber),null!=e.versionHeight&&e.hasOwnProperty("versionHeight")&&("number"==typeof e.versionHeight?r.versionHeight=t.longs===String?String(e.versionHeight):e.versionHeight:r.versionHeight=t.longs===String?s.Long.prototype.toString.call(e.versionHeight):t.longs===Number?new s.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0):e.versionHeight),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.commitment=function(){const e={};return e.v1=function(){const e={};return e.MerkleRoot=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.hash=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.commitment.v1.MerkleRoot)return e;var t=new a.ibc.core.commitment.v1.MerkleRoot;return null!=e.hash&&("string"==typeof e.hash?s.base64.decode(e.hash,t.hash=s.newBuffer(s.base64.length(e.hash)),0):e.hash.length&&(t.hash=e.hash)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.hash="":(r.hash=[],t.bytes!==Array&&(r.hash=s.newBuffer(r.hash)))),null!=e.hash&&e.hasOwnProperty("hash")&&(r.hash=t.bytes===String?s.base64.encode(e.hash,0,e.hash.length):t.bytes===Array?Array.prototype.slice.call(e.hash):e.hash),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MerklePrefix=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyPrefix=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.commitment.v1.MerklePrefix)return e;var t=new a.ibc.core.commitment.v1.MerklePrefix;return null!=e.keyPrefix&&("string"==typeof e.keyPrefix?s.base64.decode(e.keyPrefix,t.keyPrefix=s.newBuffer(s.base64.length(e.keyPrefix)),0):e.keyPrefix.length&&(t.keyPrefix=e.keyPrefix)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.keyPrefix="":(r.keyPrefix=[],t.bytes!==Array&&(r.keyPrefix=s.newBuffer(r.keyPrefix)))),null!=e.keyPrefix&&e.hasOwnProperty("keyPrefix")&&(r.keyPrefix=t.bytes===String?s.base64.encode(e.keyPrefix,0,e.keyPrefix.length):t.bytes===Array?Array.prototype.slice.call(e.keyPrefix):e.keyPrefix),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MerklePath=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyPath=a.ibc.core.commitment.v1.KeyPath.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.commitment.v1.MerklePath)return e;var t=new a.ibc.core.commitment.v1.MerklePath;if(null!=e.keyPath){if("object"!=typeof e.keyPath)throw TypeError(".ibc.core.commitment.v1.MerklePath.keyPath: object expected");t.keyPath=a.ibc.core.commitment.v1.KeyPath.fromObject(e.keyPath)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyPath=null),null!=e.keyPath&&e.hasOwnProperty("keyPath")&&(r.keyPath=a.ibc.core.commitment.v1.KeyPath.toObject(e.keyPath,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MerkleProof=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.proof=a.tendermint.crypto.ProofOps.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.commitment.v1.MerkleProof)return e;var t=new a.ibc.core.commitment.v1.MerkleProof;if(null!=e.proof){if("object"!=typeof e.proof)throw TypeError(".ibc.core.commitment.v1.MerkleProof.proof: object expected");t.proof=a.tendermint.crypto.ProofOps.fromObject(e.proof)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.proof=null),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=a.tendermint.crypto.ProofOps.toObject(e.proof,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.KeyPath=function(){function e(e){if(this.keys=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keys&&n.keys.length||(n.keys=[]),n.keys.push(a.ibc.core.commitment.v1.Key.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.commitment.v1.KeyPath)return e;var t=new a.ibc.core.commitment.v1.KeyPath;if(e.keys){if(!Array.isArray(e.keys))throw TypeError(".ibc.core.commitment.v1.KeyPath.keys: array expected");t.keys=[];for(var r=0;r>>3){case 1:n.name=e.bytes();break;case 2:n.enc=e.int32();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.commitment.v1.Key)return e;var t=new a.ibc.core.commitment.v1.Key;switch(null!=e.name&&("string"==typeof e.name?s.base64.decode(e.name,t.name=s.newBuffer(s.base64.length(e.name)),0):e.name.length&&(t.name=e.name)),e.enc){case"KEY_ENCODING_URL_UNSPECIFIED":case 0:t.enc=0;break;case"KEY_ENCODING_HEX":case 1:t.enc=1}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.name="":(r.name=[],t.bytes!==Array&&(r.name=s.newBuffer(r.name))),r.enc=t.enums===String?"KEY_ENCODING_URL_UNSPECIFIED":0),null!=e.name&&e.hasOwnProperty("name")&&(r.name=t.bytes===String?s.base64.encode(e.name,0,e.name.length):t.bytes===Array?Array.prototype.slice.call(e.name):e.name),null!=e.enc&&e.hasOwnProperty("enc")&&(r.enc=t.enums===String?a.ibc.core.commitment.v1.KeyEncoding[e.enc]:e.enc),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.KeyEncoding=function(){const e={},t=Object.create(e);return t[e[0]="KEY_ENCODING_URL_UNSPECIFIED"]=0,t[e[1]="KEY_ENCODING_HEX"]=1,t}(),e}(),e}(),e.connection=function(){const e={};return e.v1=function(){const e={};return e.ConnectionEnd=function(){function e(e){if(this.versions=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.versions&&n.versions.length||(n.versions=[]),n.versions.push(a.ibc.core.connection.v1.Version.decode(e,e.uint32()));break;case 3:n.state=e.int32();break;case 4:n.counterparty=a.ibc.core.connection.v1.Counterparty.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.ConnectionEnd)return e;var t=new a.ibc.core.connection.v1.ConnectionEnd;if(null!=e.clientId&&(t.clientId=String(e.clientId)),e.versions){if(!Array.isArray(e.versions))throw TypeError(".ibc.core.connection.v1.ConnectionEnd.versions: array expected");t.versions=[];for(var r=0;r>>3){case 1:n.id=e.string();break;case 2:n.clientId=e.string();break;case 3:n.versions&&n.versions.length||(n.versions=[]),n.versions.push(a.ibc.core.connection.v1.Version.decode(e,e.uint32()));break;case 4:n.state=e.int32();break;case 5:n.counterparty=a.ibc.core.connection.v1.Counterparty.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.IdentifiedConnection)return e;var t=new a.ibc.core.connection.v1.IdentifiedConnection;if(null!=e.id&&(t.id=String(e.id)),null!=e.clientId&&(t.clientId=String(e.clientId)),e.versions){if(!Array.isArray(e.versions))throw TypeError(".ibc.core.connection.v1.IdentifiedConnection.versions: array expected");t.versions=[];for(var r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.connectionId=e.string();break;case 3:n.prefix=a.ibc.core.commitment.v1.MerklePrefix.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.Counterparty)return e;var t=new a.ibc.core.connection.v1.Counterparty;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.connectionId&&(t.connectionId=String(e.connectionId)),null!=e.prefix){if("object"!=typeof e.prefix)throw TypeError(".ibc.core.connection.v1.Counterparty.prefix: object expected");t.prefix=a.ibc.core.commitment.v1.MerklePrefix.fromObject(e.prefix)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId="",r.connectionId="",r.prefix=null),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.connectionId&&e.hasOwnProperty("connectionId")&&(r.connectionId=e.connectionId),null!=e.prefix&&e.hasOwnProperty("prefix")&&(r.prefix=a.ibc.core.commitment.v1.MerklePrefix.toObject(e.prefix,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ClientPaths=function(){function e(e){if(this.paths=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.paths&&n.paths.length||(n.paths=[]),n.paths.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.ClientPaths)return e;var t=new a.ibc.core.connection.v1.ClientPaths;if(e.paths){if(!Array.isArray(e.paths))throw TypeError(".ibc.core.connection.v1.ClientPaths.paths: array expected");t.paths=[];for(var r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.paths&&n.paths.length||(n.paths=[]),n.paths.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.ConnectionPaths)return e;var t=new a.ibc.core.connection.v1.ConnectionPaths;if(null!=e.clientId&&(t.clientId=String(e.clientId)),e.paths){if(!Array.isArray(e.paths))throw TypeError(".ibc.core.connection.v1.ConnectionPaths.paths: array expected");t.paths=[];for(var r=0;r>>3){case 1:n.identifier=e.string();break;case 2:n.features&&n.features.length||(n.features=[]),n.features.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.Version)return e;var t=new a.ibc.core.connection.v1.Version;if(null!=e.identifier&&(t.identifier=String(e.identifier)),e.features){if(!Array.isArray(e.features))throw TypeError(".ibc.core.connection.v1.Version.features: array expected");t.features=[];for(var r=0;r>>3){case 1:n.connectionId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionRequest)return e;var t=new a.ibc.core.connection.v1.QueryConnectionRequest;return null!=e.connectionId&&(t.connectionId=String(e.connectionId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.connectionId=""),null!=e.connectionId&&e.hasOwnProperty("connectionId")&&(r.connectionId=e.connectionId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.connection=a.ibc.core.connection.v1.ConnectionEnd.decode(e,e.uint32());break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionResponse)return e;var t=new a.ibc.core.connection.v1.QueryConnectionResponse;if(null!=e.connection){if("object"!=typeof e.connection)throw TypeError(".ibc.core.connection.v1.QueryConnectionResponse.connection: object expected");t.connection=a.ibc.core.connection.v1.ConnectionEnd.fromObject(e.connection)}if(null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.connection.v1.QueryConnectionResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.connection=null,t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.connection&&e.hasOwnProperty("connection")&&(r.connection=a.ibc.core.connection.v1.ConnectionEnd.toObject(e.connection,t)),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.pagination=a.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionsRequest)return e;var t=new a.ibc.core.connection.v1.QueryConnectionsRequest;if(null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.connection.v1.QueryConnectionsRequest.pagination: object expected");t.pagination=a.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.pagination=null),null!=e.pagination&&e.hasOwnProperty("pagination")&&(r.pagination=a.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionsResponse=function(){function e(e){if(this.connections=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.connections&&n.connections.length||(n.connections=[]),n.connections.push(a.ibc.core.connection.v1.IdentifiedConnection.decode(e,e.uint32()));break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:n.height=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionsResponse)return e;var t=new a.ibc.core.connection.v1.QueryConnectionsResponse;if(e.connections){if(!Array.isArray(e.connections))throw TypeError(".ibc.core.connection.v1.QueryConnectionsResponse.connections: array expected");t.connections=[];for(var r=0;r>>3){case 1:n.clientId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryClientConnectionsRequest)return e;var t=new a.ibc.core.connection.v1.QueryClientConnectionsRequest;return null!=e.clientId&&(t.clientId=String(e.clientId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryClientConnectionsResponse=function(){function e(e){if(this.connectionPaths=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.connectionPaths&&n.connectionPaths.length||(n.connectionPaths=[]),n.connectionPaths.push(e.string());break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryClientConnectionsResponse)return e;var t=new a.ibc.core.connection.v1.QueryClientConnectionsResponse;if(e.connectionPaths){if(!Array.isArray(e.connectionPaths))throw TypeError(".ibc.core.connection.v1.QueryClientConnectionsResponse.connectionPaths: array expected");t.connectionPaths=[];for(var r=0;r>>3){case 1:n.connectionId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionClientStateRequest)return e;var t=new a.ibc.core.connection.v1.QueryConnectionClientStateRequest;return null!=e.connectionId&&(t.connectionId=String(e.connectionId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.connectionId=""),null!=e.connectionId&&e.hasOwnProperty("connectionId")&&(r.connectionId=e.connectionId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionClientStateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.identifiedClientState=a.ibc.core.client.v1.IdentifiedClientState.decode(e,e.uint32());break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionClientStateResponse)return e;var t=new a.ibc.core.connection.v1.QueryConnectionClientStateResponse;if(null!=e.identifiedClientState){if("object"!=typeof e.identifiedClientState)throw TypeError(".ibc.core.connection.v1.QueryConnectionClientStateResponse.identifiedClientState: object expected");t.identifiedClientState=a.ibc.core.client.v1.IdentifiedClientState.fromObject(e.identifiedClientState)}if(null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.connection.v1.QueryConnectionClientStateResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.identifiedClientState=null,t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.identifiedClientState&&e.hasOwnProperty("identifiedClientState")&&(r.identifiedClientState=a.ibc.core.client.v1.IdentifiedClientState.toObject(e.identifiedClientState,t)),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionConsensusStateRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.connectionId=e.string();break;case 2:n.versionNumber=e.uint64();break;case 3:n.versionHeight=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionConsensusStateRequest)return e;var t=new a.ibc.core.connection.v1.QueryConnectionConsensusStateRequest;return null!=e.connectionId&&(t.connectionId=String(e.connectionId)),null!=e.versionNumber&&(s.Long?(t.versionNumber=s.Long.fromValue(e.versionNumber)).unsigned=!0:"string"==typeof e.versionNumber?t.versionNumber=parseInt(e.versionNumber,10):"number"==typeof e.versionNumber?t.versionNumber=e.versionNumber:"object"==typeof e.versionNumber&&(t.versionNumber=new s.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0))),null!=e.versionHeight&&(s.Long?(t.versionHeight=s.Long.fromValue(e.versionHeight)).unsigned=!0:"string"==typeof e.versionHeight?t.versionHeight=parseInt(e.versionHeight,10):"number"==typeof e.versionHeight?t.versionHeight=e.versionHeight:"object"==typeof e.versionHeight&&(t.versionHeight=new s.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.connectionId="",s.Long){var n=new s.Long(0,0,!0);r.versionNumber=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.versionNumber=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.versionHeight=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.versionHeight=t.longs===String?"0":0}return null!=e.connectionId&&e.hasOwnProperty("connectionId")&&(r.connectionId=e.connectionId),null!=e.versionNumber&&e.hasOwnProperty("versionNumber")&&("number"==typeof e.versionNumber?r.versionNumber=t.longs===String?String(e.versionNumber):e.versionNumber:r.versionNumber=t.longs===String?s.Long.prototype.toString.call(e.versionNumber):t.longs===Number?new s.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0):e.versionNumber),null!=e.versionHeight&&e.hasOwnProperty("versionHeight")&&("number"==typeof e.versionHeight?r.versionHeight=t.longs===String?String(e.versionHeight):e.versionHeight:r.versionHeight=t.longs===String?s.Long.prototype.toString.call(e.versionHeight):t.longs===Number?new s.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0):e.versionHeight),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionConsensusStateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.consensusState=a.google.protobuf.Any.decode(e,e.uint32());break;case 2:n.clientId=e.string();break;case 3:n.proof=e.bytes();break;case 4:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionConsensusStateResponse)return e;var t=new a.ibc.core.connection.v1.QueryConnectionConsensusStateResponse;if(null!=e.consensusState){if("object"!=typeof e.consensusState)throw TypeError(".ibc.core.connection.v1.QueryConnectionConsensusStateResponse.consensusState: object expected");t.consensusState=a.google.protobuf.Any.fromObject(e.consensusState)}if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.connection.v1.QueryConnectionConsensusStateResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.consensusState=null,r.clientId="",t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.consensusState&&e.hasOwnProperty("consensusState")&&(r.consensusState=a.google.protobuf.Any.toObject(e.consensusState,t)),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e}(),e})(),t.tendermint=a.tendermint=(()=>{const e={};return e.crypto=function(){const e={};return e.PublicKey=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.ed25519=e.bytes();break;case 2:n.secp256k1=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.crypto.PublicKey)return e;var t=new a.tendermint.crypto.PublicKey;return null!=e.ed25519&&("string"==typeof e.ed25519?s.base64.decode(e.ed25519,t.ed25519=s.newBuffer(s.base64.length(e.ed25519)),0):e.ed25519.length&&(t.ed25519=e.ed25519)),null!=e.secp256k1&&("string"==typeof e.secp256k1?s.base64.decode(e.secp256k1,t.secp256k1=s.newBuffer(s.base64.length(e.secp256k1)),0):e.secp256k1.length&&(t.secp256k1=e.secp256k1)),t},e.toObject=function(e,t){t||(t={});var r={};return null!=e.ed25519&&e.hasOwnProperty("ed25519")&&(r.ed25519=t.bytes===String?s.base64.encode(e.ed25519,0,e.ed25519.length):t.bytes===Array?Array.prototype.slice.call(e.ed25519):e.ed25519,t.oneofs&&(r.sum="ed25519")),null!=e.secp256k1&&e.hasOwnProperty("secp256k1")&&(r.secp256k1=t.bytes===String?s.base64.encode(e.secp256k1,0,e.secp256k1.length):t.bytes===Array?Array.prototype.slice.call(e.secp256k1):e.secp256k1,t.oneofs&&(r.sum="secp256k1")),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Proof=function(){function e(e){if(this.aunts=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.total=e.int64();break;case 2:n.index=e.int64();break;case 3:n.leafHash=e.bytes();break;case 4:n.aunts&&n.aunts.length||(n.aunts=[]),n.aunts.push(e.bytes());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.crypto.Proof)return e;var t=new a.tendermint.crypto.Proof;if(null!=e.total&&(s.Long?(t.total=s.Long.fromValue(e.total)).unsigned=!1:"string"==typeof e.total?t.total=parseInt(e.total,10):"number"==typeof e.total?t.total=e.total:"object"==typeof e.total&&(t.total=new s.LongBits(e.total.low>>>0,e.total.high>>>0).toNumber())),null!=e.index&&(s.Long?(t.index=s.Long.fromValue(e.index)).unsigned=!1:"string"==typeof e.index?t.index=parseInt(e.index,10):"number"==typeof e.index?t.index=e.index:"object"==typeof e.index&&(t.index=new s.LongBits(e.index.low>>>0,e.index.high>>>0).toNumber())),null!=e.leafHash&&("string"==typeof e.leafHash?s.base64.decode(e.leafHash,t.leafHash=s.newBuffer(s.base64.length(e.leafHash)),0):e.leafHash.length&&(t.leafHash=e.leafHash)),e.aunts){if(!Array.isArray(e.aunts))throw TypeError(".tendermint.crypto.Proof.aunts: array expected");t.aunts=[];for(var r=0;r>>0,e.total.high>>>0).toNumber():e.total),null!=e.index&&e.hasOwnProperty("index")&&("number"==typeof e.index?r.index=t.longs===String?String(e.index):e.index:r.index=t.longs===String?s.Long.prototype.toString.call(e.index):t.longs===Number?new s.LongBits(e.index.low>>>0,e.index.high>>>0).toNumber():e.index),null!=e.leafHash&&e.hasOwnProperty("leafHash")&&(r.leafHash=t.bytes===String?s.base64.encode(e.leafHash,0,e.leafHash.length):t.bytes===Array?Array.prototype.slice.call(e.leafHash):e.leafHash),e.aunts&&e.aunts.length){r.aunts=[];for(var o=0;o>>3){case 1:n.key=e.bytes();break;case 2:n.proof=a.tendermint.crypto.Proof.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.crypto.ValueOp)return e;var t=new a.tendermint.crypto.ValueOp;if(null!=e.key&&("string"==typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),null!=e.proof){if("object"!=typeof e.proof)throw TypeError(".tendermint.crypto.ValueOp.proof: object expected");t.proof=a.tendermint.crypto.Proof.fromObject(e.proof)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key))),r.proof=null),null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=a.tendermint.crypto.Proof.toObject(e.proof,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DominoOp=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.key=e.string();break;case 2:n.input=e.string();break;case 3:n.output=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.crypto.DominoOp)return e;var t=new a.tendermint.crypto.DominoOp;return null!=e.key&&(t.key=String(e.key)),null!=e.input&&(t.input=String(e.input)),null!=e.output&&(t.output=String(e.output)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.key="",r.input="",r.output=""),null!=e.key&&e.hasOwnProperty("key")&&(r.key=e.key),null!=e.input&&e.hasOwnProperty("input")&&(r.input=e.input),null!=e.output&&e.hasOwnProperty("output")&&(r.output=e.output),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ProofOp=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.type=e.string();break;case 2:n.key=e.bytes();break;case 3:n.data=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.crypto.ProofOp)return e;var t=new a.tendermint.crypto.ProofOp;return null!=e.type&&(t.type=String(e.type)),null!=e.key&&("string"==typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),null!=e.data&&("string"==typeof e.data?s.base64.decode(e.data,t.data=s.newBuffer(s.base64.length(e.data)),0):e.data.length&&(t.data=e.data)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.type="",t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key))),t.bytes===String?r.data="":(r.data=[],t.bytes!==Array&&(r.data=s.newBuffer(r.data)))),null!=e.type&&e.hasOwnProperty("type")&&(r.type=e.type),null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),null!=e.data&&e.hasOwnProperty("data")&&(r.data=t.bytes===String?s.base64.encode(e.data,0,e.data.length):t.bytes===Array?Array.prototype.slice.call(e.data):e.data),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ProofOps=function(){function e(e){if(this.ops=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.ops&&n.ops.length||(n.ops=[]),n.ops.push(a.tendermint.crypto.ProofOp.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.crypto.ProofOps)return e;var t=new a.tendermint.crypto.ProofOps;if(e.ops){if(!Array.isArray(e.ops))throw TypeError(".tendermint.crypto.ProofOps.ops: array expected");t.ops=[];for(var r=0;r>>3){case 1:n.bits=e.int64();break;case 2:if(n.elems&&n.elems.length||(n.elems=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>0,e.bits.high>>>0).toNumber())),e.elems){if(!Array.isArray(e.elems))throw TypeError(".tendermint.libs.bits.BitArray.elems: array expected");t.elems=[];for(var r=0;r>>0,e.elems[r].high>>>0).toNumber(!0))}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.elems=[]),t.defaults)if(s.Long){var n=new s.Long(0,0,!1);r.bits=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.bits=t.longs===String?"0":0;if(null!=e.bits&&e.hasOwnProperty("bits")&&("number"==typeof e.bits?r.bits=t.longs===String?String(e.bits):e.bits:r.bits=t.longs===String?s.Long.prototype.toString.call(e.bits):t.longs===Number?new s.LongBits(e.bits.low>>>0,e.bits.high>>>0).toNumber():e.bits),e.elems&&e.elems.length){r.elems=[];for(var o=0;o>>0,e.elems[o].high>>>0).toNumber(!0):e.elems[o]}return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.types=function(){const e={};return e.BlockIDFlag=function(){const e={},t=Object.create(e);return t[e[0]="BLOCK_ID_FLAG_UNKNOWN"]=0,t[e[1]="BLOCK_ID_FLAG_ABSENT"]=1,t[e[2]="BLOCK_ID_FLAG_COMMIT"]=2,t[e[3]="BLOCK_ID_FLAG_NIL"]=3,t}(),e.SignedMsgType=function(){const e={},t=Object.create(e);return t[e[0]="SIGNED_MSG_TYPE_UNKNOWN"]=0,t[e[1]="SIGNED_MSG_TYPE_PREVOTE"]=1,t[e[2]="SIGNED_MSG_TYPE_PRECOMMIT"]=2,t[e[32]="SIGNED_MSG_TYPE_PROPOSAL"]=32,t}(),e.PartSetHeader=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.total=e.uint32();break;case 2:n.hash=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.PartSetHeader)return e;var t=new a.tendermint.types.PartSetHeader;return null!=e.total&&(t.total=e.total>>>0),null!=e.hash&&("string"==typeof e.hash?s.base64.decode(e.hash,t.hash=s.newBuffer(s.base64.length(e.hash)),0):e.hash.length&&(t.hash=e.hash)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.total=0,t.bytes===String?r.hash="":(r.hash=[],t.bytes!==Array&&(r.hash=s.newBuffer(r.hash)))),null!=e.total&&e.hasOwnProperty("total")&&(r.total=e.total),null!=e.hash&&e.hasOwnProperty("hash")&&(r.hash=t.bytes===String?s.base64.encode(e.hash,0,e.hash.length):t.bytes===Array?Array.prototype.slice.call(e.hash):e.hash),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Part=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.index=e.uint32();break;case 2:n.bytes=e.bytes();break;case 3:n.proof=a.tendermint.crypto.Proof.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Part)return e;var t=new a.tendermint.types.Part;if(null!=e.index&&(t.index=e.index>>>0),null!=e.bytes&&("string"==typeof e.bytes?s.base64.decode(e.bytes,t.bytes=s.newBuffer(s.base64.length(e.bytes)),0):e.bytes.length&&(t.bytes=e.bytes)),null!=e.proof){if("object"!=typeof e.proof)throw TypeError(".tendermint.types.Part.proof: object expected");t.proof=a.tendermint.crypto.Proof.fromObject(e.proof)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.index=0,t.bytes===String?r.bytes="":(r.bytes=[],t.bytes!==Array&&(r.bytes=s.newBuffer(r.bytes))),r.proof=null),null!=e.index&&e.hasOwnProperty("index")&&(r.index=e.index),null!=e.bytes&&e.hasOwnProperty("bytes")&&(r.bytes=t.bytes===String?s.base64.encode(e.bytes,0,e.bytes.length):t.bytes===Array?Array.prototype.slice.call(e.bytes):e.bytes),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=a.tendermint.crypto.Proof.toObject(e.proof,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BlockID=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.hash=e.bytes();break;case 2:n.partSetHeader=a.tendermint.types.PartSetHeader.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.BlockID)return e;var t=new a.tendermint.types.BlockID;if(null!=e.hash&&("string"==typeof e.hash?s.base64.decode(e.hash,t.hash=s.newBuffer(s.base64.length(e.hash)),0):e.hash.length&&(t.hash=e.hash)),null!=e.partSetHeader){if("object"!=typeof e.partSetHeader)throw TypeError(".tendermint.types.BlockID.partSetHeader: object expected");t.partSetHeader=a.tendermint.types.PartSetHeader.fromObject(e.partSetHeader)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.hash="":(r.hash=[],t.bytes!==Array&&(r.hash=s.newBuffer(r.hash))),r.partSetHeader=null),null!=e.hash&&e.hasOwnProperty("hash")&&(r.hash=t.bytes===String?s.base64.encode(e.hash,0,e.hash.length):t.bytes===Array?Array.prototype.slice.call(e.hash):e.hash),null!=e.partSetHeader&&e.hasOwnProperty("partSetHeader")&&(r.partSetHeader=a.tendermint.types.PartSetHeader.toObject(e.partSetHeader,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Header=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.version=a.tendermint.version.Consensus.decode(e,e.uint32());break;case 2:n.chainId=e.string();break;case 3:n.height=e.int64();break;case 4:n.time=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 5:n.lastBlockId=a.tendermint.types.BlockID.decode(e,e.uint32());break;case 6:n.lastCommitHash=e.bytes();break;case 7:n.dataHash=e.bytes();break;case 8:n.validatorsHash=e.bytes();break;case 9:n.nextValidatorsHash=e.bytes();break;case 10:n.consensusHash=e.bytes();break;case 11:n.appHash=e.bytes();break;case 12:n.lastResultsHash=e.bytes();break;case 13:n.evidenceHash=e.bytes();break;case 14:n.proposerAddress=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Header)return e;var t=new a.tendermint.types.Header;if(null!=e.version){if("object"!=typeof e.version)throw TypeError(".tendermint.types.Header.version: object expected");t.version=a.tendermint.version.Consensus.fromObject(e.version)}if(null!=e.chainId&&(t.chainId=String(e.chainId)),null!=e.height&&(s.Long?(t.height=s.Long.fromValue(e.height)).unsigned=!1:"string"==typeof e.height?t.height=parseInt(e.height,10):"number"==typeof e.height?t.height=e.height:"object"==typeof e.height&&(t.height=new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber())),null!=e.time){if("object"!=typeof e.time)throw TypeError(".tendermint.types.Header.time: object expected");t.time=a.google.protobuf.Timestamp.fromObject(e.time)}if(null!=e.lastBlockId){if("object"!=typeof e.lastBlockId)throw TypeError(".tendermint.types.Header.lastBlockId: object expected");t.lastBlockId=a.tendermint.types.BlockID.fromObject(e.lastBlockId)}return null!=e.lastCommitHash&&("string"==typeof e.lastCommitHash?s.base64.decode(e.lastCommitHash,t.lastCommitHash=s.newBuffer(s.base64.length(e.lastCommitHash)),0):e.lastCommitHash.length&&(t.lastCommitHash=e.lastCommitHash)),null!=e.dataHash&&("string"==typeof e.dataHash?s.base64.decode(e.dataHash,t.dataHash=s.newBuffer(s.base64.length(e.dataHash)),0):e.dataHash.length&&(t.dataHash=e.dataHash)),null!=e.validatorsHash&&("string"==typeof e.validatorsHash?s.base64.decode(e.validatorsHash,t.validatorsHash=s.newBuffer(s.base64.length(e.validatorsHash)),0):e.validatorsHash.length&&(t.validatorsHash=e.validatorsHash)),null!=e.nextValidatorsHash&&("string"==typeof e.nextValidatorsHash?s.base64.decode(e.nextValidatorsHash,t.nextValidatorsHash=s.newBuffer(s.base64.length(e.nextValidatorsHash)),0):e.nextValidatorsHash.length&&(t.nextValidatorsHash=e.nextValidatorsHash)),null!=e.consensusHash&&("string"==typeof e.consensusHash?s.base64.decode(e.consensusHash,t.consensusHash=s.newBuffer(s.base64.length(e.consensusHash)),0):e.consensusHash.length&&(t.consensusHash=e.consensusHash)),null!=e.appHash&&("string"==typeof e.appHash?s.base64.decode(e.appHash,t.appHash=s.newBuffer(s.base64.length(e.appHash)),0):e.appHash.length&&(t.appHash=e.appHash)),null!=e.lastResultsHash&&("string"==typeof e.lastResultsHash?s.base64.decode(e.lastResultsHash,t.lastResultsHash=s.newBuffer(s.base64.length(e.lastResultsHash)),0):e.lastResultsHash.length&&(t.lastResultsHash=e.lastResultsHash)),null!=e.evidenceHash&&("string"==typeof e.evidenceHash?s.base64.decode(e.evidenceHash,t.evidenceHash=s.newBuffer(s.base64.length(e.evidenceHash)),0):e.evidenceHash.length&&(t.evidenceHash=e.evidenceHash)),null!=e.proposerAddress&&("string"==typeof e.proposerAddress?s.base64.decode(e.proposerAddress,t.proposerAddress=s.newBuffer(s.base64.length(e.proposerAddress)),0):e.proposerAddress.length&&(t.proposerAddress=e.proposerAddress)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.version=null,r.chainId="",s.Long){var n=new s.Long(0,0,!1);r.height=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.height=t.longs===String?"0":0;r.time=null,r.lastBlockId=null,t.bytes===String?r.lastCommitHash="":(r.lastCommitHash=[],t.bytes!==Array&&(r.lastCommitHash=s.newBuffer(r.lastCommitHash))),t.bytes===String?r.dataHash="":(r.dataHash=[],t.bytes!==Array&&(r.dataHash=s.newBuffer(r.dataHash))),t.bytes===String?r.validatorsHash="":(r.validatorsHash=[],t.bytes!==Array&&(r.validatorsHash=s.newBuffer(r.validatorsHash))),t.bytes===String?r.nextValidatorsHash="":(r.nextValidatorsHash=[],t.bytes!==Array&&(r.nextValidatorsHash=s.newBuffer(r.nextValidatorsHash))),t.bytes===String?r.consensusHash="":(r.consensusHash=[],t.bytes!==Array&&(r.consensusHash=s.newBuffer(r.consensusHash))),t.bytes===String?r.appHash="":(r.appHash=[],t.bytes!==Array&&(r.appHash=s.newBuffer(r.appHash))),t.bytes===String?r.lastResultsHash="":(r.lastResultsHash=[],t.bytes!==Array&&(r.lastResultsHash=s.newBuffer(r.lastResultsHash))),t.bytes===String?r.evidenceHash="":(r.evidenceHash=[],t.bytes!==Array&&(r.evidenceHash=s.newBuffer(r.evidenceHash))),t.bytes===String?r.proposerAddress="":(r.proposerAddress=[],t.bytes!==Array&&(r.proposerAddress=s.newBuffer(r.proposerAddress)))}return null!=e.version&&e.hasOwnProperty("version")&&(r.version=a.tendermint.version.Consensus.toObject(e.version,t)),null!=e.chainId&&e.hasOwnProperty("chainId")&&(r.chainId=e.chainId),null!=e.height&&e.hasOwnProperty("height")&&("number"==typeof e.height?r.height=t.longs===String?String(e.height):e.height:r.height=t.longs===String?s.Long.prototype.toString.call(e.height):t.longs===Number?new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber():e.height),null!=e.time&&e.hasOwnProperty("time")&&(r.time=a.google.protobuf.Timestamp.toObject(e.time,t)),null!=e.lastBlockId&&e.hasOwnProperty("lastBlockId")&&(r.lastBlockId=a.tendermint.types.BlockID.toObject(e.lastBlockId,t)),null!=e.lastCommitHash&&e.hasOwnProperty("lastCommitHash")&&(r.lastCommitHash=t.bytes===String?s.base64.encode(e.lastCommitHash,0,e.lastCommitHash.length):t.bytes===Array?Array.prototype.slice.call(e.lastCommitHash):e.lastCommitHash),null!=e.dataHash&&e.hasOwnProperty("dataHash")&&(r.dataHash=t.bytes===String?s.base64.encode(e.dataHash,0,e.dataHash.length):t.bytes===Array?Array.prototype.slice.call(e.dataHash):e.dataHash),null!=e.validatorsHash&&e.hasOwnProperty("validatorsHash")&&(r.validatorsHash=t.bytes===String?s.base64.encode(e.validatorsHash,0,e.validatorsHash.length):t.bytes===Array?Array.prototype.slice.call(e.validatorsHash):e.validatorsHash),null!=e.nextValidatorsHash&&e.hasOwnProperty("nextValidatorsHash")&&(r.nextValidatorsHash=t.bytes===String?s.base64.encode(e.nextValidatorsHash,0,e.nextValidatorsHash.length):t.bytes===Array?Array.prototype.slice.call(e.nextValidatorsHash):e.nextValidatorsHash),null!=e.consensusHash&&e.hasOwnProperty("consensusHash")&&(r.consensusHash=t.bytes===String?s.base64.encode(e.consensusHash,0,e.consensusHash.length):t.bytes===Array?Array.prototype.slice.call(e.consensusHash):e.consensusHash),null!=e.appHash&&e.hasOwnProperty("appHash")&&(r.appHash=t.bytes===String?s.base64.encode(e.appHash,0,e.appHash.length):t.bytes===Array?Array.prototype.slice.call(e.appHash):e.appHash),null!=e.lastResultsHash&&e.hasOwnProperty("lastResultsHash")&&(r.lastResultsHash=t.bytes===String?s.base64.encode(e.lastResultsHash,0,e.lastResultsHash.length):t.bytes===Array?Array.prototype.slice.call(e.lastResultsHash):e.lastResultsHash),null!=e.evidenceHash&&e.hasOwnProperty("evidenceHash")&&(r.evidenceHash=t.bytes===String?s.base64.encode(e.evidenceHash,0,e.evidenceHash.length):t.bytes===Array?Array.prototype.slice.call(e.evidenceHash):e.evidenceHash),null!=e.proposerAddress&&e.hasOwnProperty("proposerAddress")&&(r.proposerAddress=t.bytes===String?s.base64.encode(e.proposerAddress,0,e.proposerAddress.length):t.bytes===Array?Array.prototype.slice.call(e.proposerAddress):e.proposerAddress),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Data=function(){function e(e){if(this.txs=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.txs&&n.txs.length||(n.txs=[]),n.txs.push(e.bytes());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Data)return e;var t=new a.tendermint.types.Data;if(e.txs){if(!Array.isArray(e.txs))throw TypeError(".tendermint.types.Data.txs: array expected");t.txs=[];for(var r=0;r>>3){case 1:n.type=e.int32();break;case 2:n.height=e.int64();break;case 3:n.round=e.int32();break;case 4:n.blockId=a.tendermint.types.BlockID.decode(e,e.uint32());break;case 5:n.timestamp=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 6:n.validatorAddress=e.bytes();break;case 7:n.validatorIndex=e.int32();break;case 8:n.signature=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Vote)return e;var t=new a.tendermint.types.Vote;switch(e.type){case"SIGNED_MSG_TYPE_UNKNOWN":case 0:t.type=0;break;case"SIGNED_MSG_TYPE_PREVOTE":case 1:t.type=1;break;case"SIGNED_MSG_TYPE_PRECOMMIT":case 2:t.type=2;break;case"SIGNED_MSG_TYPE_PROPOSAL":case 32:t.type=32}if(null!=e.height&&(s.Long?(t.height=s.Long.fromValue(e.height)).unsigned=!1:"string"==typeof e.height?t.height=parseInt(e.height,10):"number"==typeof e.height?t.height=e.height:"object"==typeof e.height&&(t.height=new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber())),null!=e.round&&(t.round=0|e.round),null!=e.blockId){if("object"!=typeof e.blockId)throw TypeError(".tendermint.types.Vote.blockId: object expected");t.blockId=a.tendermint.types.BlockID.fromObject(e.blockId)}if(null!=e.timestamp){if("object"!=typeof e.timestamp)throw TypeError(".tendermint.types.Vote.timestamp: object expected");t.timestamp=a.google.protobuf.Timestamp.fromObject(e.timestamp)}return null!=e.validatorAddress&&("string"==typeof e.validatorAddress?s.base64.decode(e.validatorAddress,t.validatorAddress=s.newBuffer(s.base64.length(e.validatorAddress)),0):e.validatorAddress.length&&(t.validatorAddress=e.validatorAddress)),null!=e.validatorIndex&&(t.validatorIndex=0|e.validatorIndex),null!=e.signature&&("string"==typeof e.signature?s.base64.decode(e.signature,t.signature=s.newBuffer(s.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.type=t.enums===String?"SIGNED_MSG_TYPE_UNKNOWN":0,s.Long){var n=new s.Long(0,0,!1);r.height=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.height=t.longs===String?"0":0;r.round=0,r.blockId=null,r.timestamp=null,t.bytes===String?r.validatorAddress="":(r.validatorAddress=[],t.bytes!==Array&&(r.validatorAddress=s.newBuffer(r.validatorAddress))),r.validatorIndex=0,t.bytes===String?r.signature="":(r.signature=[],t.bytes!==Array&&(r.signature=s.newBuffer(r.signature)))}return null!=e.type&&e.hasOwnProperty("type")&&(r.type=t.enums===String?a.tendermint.types.SignedMsgType[e.type]:e.type),null!=e.height&&e.hasOwnProperty("height")&&("number"==typeof e.height?r.height=t.longs===String?String(e.height):e.height:r.height=t.longs===String?s.Long.prototype.toString.call(e.height):t.longs===Number?new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber():e.height),null!=e.round&&e.hasOwnProperty("round")&&(r.round=e.round),null!=e.blockId&&e.hasOwnProperty("blockId")&&(r.blockId=a.tendermint.types.BlockID.toObject(e.blockId,t)),null!=e.timestamp&&e.hasOwnProperty("timestamp")&&(r.timestamp=a.google.protobuf.Timestamp.toObject(e.timestamp,t)),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=t.bytes===String?s.base64.encode(e.validatorAddress,0,e.validatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.validatorAddress):e.validatorAddress),null!=e.validatorIndex&&e.hasOwnProperty("validatorIndex")&&(r.validatorIndex=e.validatorIndex),null!=e.signature&&e.hasOwnProperty("signature")&&(r.signature=t.bytes===String?s.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Commit=function(){function e(e){if(this.signatures=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.height=e.int64();break;case 2:n.round=e.int32();break;case 3:n.blockId=a.tendermint.types.BlockID.decode(e,e.uint32());break;case 4:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(a.tendermint.types.CommitSig.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Commit)return e;var t=new a.tendermint.types.Commit;if(null!=e.height&&(s.Long?(t.height=s.Long.fromValue(e.height)).unsigned=!1:"string"==typeof e.height?t.height=parseInt(e.height,10):"number"==typeof e.height?t.height=e.height:"object"==typeof e.height&&(t.height=new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber())),null!=e.round&&(t.round=0|e.round),null!=e.blockId){if("object"!=typeof e.blockId)throw TypeError(".tendermint.types.Commit.blockId: object expected");t.blockId=a.tendermint.types.BlockID.fromObject(e.blockId)}if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".tendermint.types.Commit.signatures: array expected");t.signatures=[];for(var r=0;r>>0,e.height.high>>>0).toNumber():e.height),null!=e.round&&e.hasOwnProperty("round")&&(r.round=e.round),null!=e.blockId&&e.hasOwnProperty("blockId")&&(r.blockId=a.tendermint.types.BlockID.toObject(e.blockId,t)),e.signatures&&e.signatures.length){r.signatures=[];for(var o=0;o>>3){case 1:n.blockIdFlag=e.int32();break;case 2:n.validatorAddress=e.bytes();break;case 3:n.timestamp=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 4:n.signature=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.CommitSig)return e;var t=new a.tendermint.types.CommitSig;switch(e.blockIdFlag){case"BLOCK_ID_FLAG_UNKNOWN":case 0:t.blockIdFlag=0;break;case"BLOCK_ID_FLAG_ABSENT":case 1:t.blockIdFlag=1;break;case"BLOCK_ID_FLAG_COMMIT":case 2:t.blockIdFlag=2;break;case"BLOCK_ID_FLAG_NIL":case 3:t.blockIdFlag=3}if(null!=e.validatorAddress&&("string"==typeof e.validatorAddress?s.base64.decode(e.validatorAddress,t.validatorAddress=s.newBuffer(s.base64.length(e.validatorAddress)),0):e.validatorAddress.length&&(t.validatorAddress=e.validatorAddress)),null!=e.timestamp){if("object"!=typeof e.timestamp)throw TypeError(".tendermint.types.CommitSig.timestamp: object expected");t.timestamp=a.google.protobuf.Timestamp.fromObject(e.timestamp)}return null!=e.signature&&("string"==typeof e.signature?s.base64.decode(e.signature,t.signature=s.newBuffer(s.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.blockIdFlag=t.enums===String?"BLOCK_ID_FLAG_UNKNOWN":0,t.bytes===String?r.validatorAddress="":(r.validatorAddress=[],t.bytes!==Array&&(r.validatorAddress=s.newBuffer(r.validatorAddress))),r.timestamp=null,t.bytes===String?r.signature="":(r.signature=[],t.bytes!==Array&&(r.signature=s.newBuffer(r.signature)))),null!=e.blockIdFlag&&e.hasOwnProperty("blockIdFlag")&&(r.blockIdFlag=t.enums===String?a.tendermint.types.BlockIDFlag[e.blockIdFlag]:e.blockIdFlag),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=t.bytes===String?s.base64.encode(e.validatorAddress,0,e.validatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.validatorAddress):e.validatorAddress),null!=e.timestamp&&e.hasOwnProperty("timestamp")&&(r.timestamp=a.google.protobuf.Timestamp.toObject(e.timestamp,t)),null!=e.signature&&e.hasOwnProperty("signature")&&(r.signature=t.bytes===String?s.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Proposal=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.type=e.int32();break;case 2:n.height=e.int64();break;case 3:n.round=e.int32();break;case 4:n.polRound=e.int32();break;case 5:n.blockId=a.tendermint.types.BlockID.decode(e,e.uint32());break;case 6:n.timestamp=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 7:n.signature=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Proposal)return e;var t=new a.tendermint.types.Proposal;switch(e.type){case"SIGNED_MSG_TYPE_UNKNOWN":case 0:t.type=0;break;case"SIGNED_MSG_TYPE_PREVOTE":case 1:t.type=1;break;case"SIGNED_MSG_TYPE_PRECOMMIT":case 2:t.type=2;break;case"SIGNED_MSG_TYPE_PROPOSAL":case 32:t.type=32}if(null!=e.height&&(s.Long?(t.height=s.Long.fromValue(e.height)).unsigned=!1:"string"==typeof e.height?t.height=parseInt(e.height,10):"number"==typeof e.height?t.height=e.height:"object"==typeof e.height&&(t.height=new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber())),null!=e.round&&(t.round=0|e.round),null!=e.polRound&&(t.polRound=0|e.polRound),null!=e.blockId){if("object"!=typeof e.blockId)throw TypeError(".tendermint.types.Proposal.blockId: object expected");t.blockId=a.tendermint.types.BlockID.fromObject(e.blockId)}if(null!=e.timestamp){if("object"!=typeof e.timestamp)throw TypeError(".tendermint.types.Proposal.timestamp: object expected");t.timestamp=a.google.protobuf.Timestamp.fromObject(e.timestamp)}return null!=e.signature&&("string"==typeof e.signature?s.base64.decode(e.signature,t.signature=s.newBuffer(s.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.type=t.enums===String?"SIGNED_MSG_TYPE_UNKNOWN":0,s.Long){var n=new s.Long(0,0,!1);r.height=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.height=t.longs===String?"0":0;r.round=0,r.polRound=0,r.blockId=null,r.timestamp=null,t.bytes===String?r.signature="":(r.signature=[],t.bytes!==Array&&(r.signature=s.newBuffer(r.signature)))}return null!=e.type&&e.hasOwnProperty("type")&&(r.type=t.enums===String?a.tendermint.types.SignedMsgType[e.type]:e.type),null!=e.height&&e.hasOwnProperty("height")&&("number"==typeof e.height?r.height=t.longs===String?String(e.height):e.height:r.height=t.longs===String?s.Long.prototype.toString.call(e.height):t.longs===Number?new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber():e.height),null!=e.round&&e.hasOwnProperty("round")&&(r.round=e.round),null!=e.polRound&&e.hasOwnProperty("polRound")&&(r.polRound=e.polRound),null!=e.blockId&&e.hasOwnProperty("blockId")&&(r.blockId=a.tendermint.types.BlockID.toObject(e.blockId,t)),null!=e.timestamp&&e.hasOwnProperty("timestamp")&&(r.timestamp=a.google.protobuf.Timestamp.toObject(e.timestamp,t)),null!=e.signature&&e.hasOwnProperty("signature")&&(r.signature=t.bytes===String?s.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SignedHeader=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.header=a.tendermint.types.Header.decode(e,e.uint32());break;case 2:n.commit=a.tendermint.types.Commit.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.SignedHeader)return e;var t=new a.tendermint.types.SignedHeader;if(null!=e.header){if("object"!=typeof e.header)throw TypeError(".tendermint.types.SignedHeader.header: object expected");t.header=a.tendermint.types.Header.fromObject(e.header)}if(null!=e.commit){if("object"!=typeof e.commit)throw TypeError(".tendermint.types.SignedHeader.commit: object expected");t.commit=a.tendermint.types.Commit.fromObject(e.commit)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.header=null,r.commit=null),null!=e.header&&e.hasOwnProperty("header")&&(r.header=a.tendermint.types.Header.toObject(e.header,t)),null!=e.commit&&e.hasOwnProperty("commit")&&(r.commit=a.tendermint.types.Commit.toObject(e.commit,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.LightBlock=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.signedHeader=a.tendermint.types.SignedHeader.decode(e,e.uint32());break;case 2:n.validatorSet=a.tendermint.types.ValidatorSet.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.LightBlock)return e;var t=new a.tendermint.types.LightBlock;if(null!=e.signedHeader){if("object"!=typeof e.signedHeader)throw TypeError(".tendermint.types.LightBlock.signedHeader: object expected");t.signedHeader=a.tendermint.types.SignedHeader.fromObject(e.signedHeader)}if(null!=e.validatorSet){if("object"!=typeof e.validatorSet)throw TypeError(".tendermint.types.LightBlock.validatorSet: object expected");t.validatorSet=a.tendermint.types.ValidatorSet.fromObject(e.validatorSet)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.signedHeader=null,r.validatorSet=null),null!=e.signedHeader&&e.hasOwnProperty("signedHeader")&&(r.signedHeader=a.tendermint.types.SignedHeader.toObject(e.signedHeader,t)),null!=e.validatorSet&&e.hasOwnProperty("validatorSet")&&(r.validatorSet=a.tendermint.types.ValidatorSet.toObject(e.validatorSet,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BlockMeta=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.blockId=a.tendermint.types.BlockID.decode(e,e.uint32());break;case 2:n.blockSize=e.int64();break;case 3:n.header=a.tendermint.types.Header.decode(e,e.uint32());break;case 4:n.numTxs=e.int64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.BlockMeta)return e;var t=new a.tendermint.types.BlockMeta;if(null!=e.blockId){if("object"!=typeof e.blockId)throw TypeError(".tendermint.types.BlockMeta.blockId: object expected");t.blockId=a.tendermint.types.BlockID.fromObject(e.blockId)}if(null!=e.blockSize&&(s.Long?(t.blockSize=s.Long.fromValue(e.blockSize)).unsigned=!1:"string"==typeof e.blockSize?t.blockSize=parseInt(e.blockSize,10):"number"==typeof e.blockSize?t.blockSize=e.blockSize:"object"==typeof e.blockSize&&(t.blockSize=new s.LongBits(e.blockSize.low>>>0,e.blockSize.high>>>0).toNumber())),null!=e.header){if("object"!=typeof e.header)throw TypeError(".tendermint.types.BlockMeta.header: object expected");t.header=a.tendermint.types.Header.fromObject(e.header)}return null!=e.numTxs&&(s.Long?(t.numTxs=s.Long.fromValue(e.numTxs)).unsigned=!1:"string"==typeof e.numTxs?t.numTxs=parseInt(e.numTxs,10):"number"==typeof e.numTxs?t.numTxs=e.numTxs:"object"==typeof e.numTxs&&(t.numTxs=new s.LongBits(e.numTxs.low>>>0,e.numTxs.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.blockId=null,s.Long){var n=new s.Long(0,0,!1);r.blockSize=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.blockSize=t.longs===String?"0":0;if(r.header=null,s.Long){n=new s.Long(0,0,!1);r.numTxs=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.numTxs=t.longs===String?"0":0}return null!=e.blockId&&e.hasOwnProperty("blockId")&&(r.blockId=a.tendermint.types.BlockID.toObject(e.blockId,t)),null!=e.blockSize&&e.hasOwnProperty("blockSize")&&("number"==typeof e.blockSize?r.blockSize=t.longs===String?String(e.blockSize):e.blockSize:r.blockSize=t.longs===String?s.Long.prototype.toString.call(e.blockSize):t.longs===Number?new s.LongBits(e.blockSize.low>>>0,e.blockSize.high>>>0).toNumber():e.blockSize),null!=e.header&&e.hasOwnProperty("header")&&(r.header=a.tendermint.types.Header.toObject(e.header,t)),null!=e.numTxs&&e.hasOwnProperty("numTxs")&&("number"==typeof e.numTxs?r.numTxs=t.longs===String?String(e.numTxs):e.numTxs:r.numTxs=t.longs===String?s.Long.prototype.toString.call(e.numTxs):t.longs===Number?new s.LongBits(e.numTxs.low>>>0,e.numTxs.high>>>0).toNumber():e.numTxs),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.TxProof=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.rootHash=e.bytes();break;case 2:n.data=e.bytes();break;case 3:n.proof=a.tendermint.crypto.Proof.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.TxProof)return e;var t=new a.tendermint.types.TxProof;if(null!=e.rootHash&&("string"==typeof e.rootHash?s.base64.decode(e.rootHash,t.rootHash=s.newBuffer(s.base64.length(e.rootHash)),0):e.rootHash.length&&(t.rootHash=e.rootHash)),null!=e.data&&("string"==typeof e.data?s.base64.decode(e.data,t.data=s.newBuffer(s.base64.length(e.data)),0):e.data.length&&(t.data=e.data)),null!=e.proof){if("object"!=typeof e.proof)throw TypeError(".tendermint.types.TxProof.proof: object expected");t.proof=a.tendermint.crypto.Proof.fromObject(e.proof)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.rootHash="":(r.rootHash=[],t.bytes!==Array&&(r.rootHash=s.newBuffer(r.rootHash))),t.bytes===String?r.data="":(r.data=[],t.bytes!==Array&&(r.data=s.newBuffer(r.data))),r.proof=null),null!=e.rootHash&&e.hasOwnProperty("rootHash")&&(r.rootHash=t.bytes===String?s.base64.encode(e.rootHash,0,e.rootHash.length):t.bytes===Array?Array.prototype.slice.call(e.rootHash):e.rootHash),null!=e.data&&e.hasOwnProperty("data")&&(r.data=t.bytes===String?s.base64.encode(e.data,0,e.data.length):t.bytes===Array?Array.prototype.slice.call(e.data):e.data),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=a.tendermint.crypto.Proof.toObject(e.proof,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ValidatorSet=function(){function e(e){if(this.validators=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.validators&&n.validators.length||(n.validators=[]),n.validators.push(a.tendermint.types.Validator.decode(e,e.uint32()));break;case 2:n.proposer=a.tendermint.types.Validator.decode(e,e.uint32());break;case 3:n.totalVotingPower=e.int64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.ValidatorSet)return e;var t=new a.tendermint.types.ValidatorSet;if(e.validators){if(!Array.isArray(e.validators))throw TypeError(".tendermint.types.ValidatorSet.validators: array expected");t.validators=[];for(var r=0;r>>0,e.totalVotingPower.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.validators=[]),t.defaults)if(r.proposer=null,s.Long){var n=new s.Long(0,0,!1);r.totalVotingPower=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.totalVotingPower=t.longs===String?"0":0;if(e.validators&&e.validators.length){r.validators=[];for(var o=0;o>>0,e.totalVotingPower.high>>>0).toNumber():e.totalVotingPower),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Validator=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.address=e.bytes();break;case 2:n.pubKey=a.tendermint.crypto.PublicKey.decode(e,e.uint32());break;case 3:n.votingPower=e.int64();break;case 4:n.proposerPriority=e.int64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Validator)return e;var t=new a.tendermint.types.Validator;if(null!=e.address&&("string"==typeof e.address?s.base64.decode(e.address,t.address=s.newBuffer(s.base64.length(e.address)),0):e.address.length&&(t.address=e.address)),null!=e.pubKey){if("object"!=typeof e.pubKey)throw TypeError(".tendermint.types.Validator.pubKey: object expected");t.pubKey=a.tendermint.crypto.PublicKey.fromObject(e.pubKey)}return null!=e.votingPower&&(s.Long?(t.votingPower=s.Long.fromValue(e.votingPower)).unsigned=!1:"string"==typeof e.votingPower?t.votingPower=parseInt(e.votingPower,10):"number"==typeof e.votingPower?t.votingPower=e.votingPower:"object"==typeof e.votingPower&&(t.votingPower=new s.LongBits(e.votingPower.low>>>0,e.votingPower.high>>>0).toNumber())),null!=e.proposerPriority&&(s.Long?(t.proposerPriority=s.Long.fromValue(e.proposerPriority)).unsigned=!1:"string"==typeof e.proposerPriority?t.proposerPriority=parseInt(e.proposerPriority,10):"number"==typeof e.proposerPriority?t.proposerPriority=e.proposerPriority:"object"==typeof e.proposerPriority&&(t.proposerPriority=new s.LongBits(e.proposerPriority.low>>>0,e.proposerPriority.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(t.bytes===String?r.address="":(r.address=[],t.bytes!==Array&&(r.address=s.newBuffer(r.address))),r.pubKey=null,s.Long){var n=new s.Long(0,0,!1);r.votingPower=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.votingPower=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!1);r.proposerPriority=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.proposerPriority=t.longs===String?"0":0}return null!=e.address&&e.hasOwnProperty("address")&&(r.address=t.bytes===String?s.base64.encode(e.address,0,e.address.length):t.bytes===Array?Array.prototype.slice.call(e.address):e.address),null!=e.pubKey&&e.hasOwnProperty("pubKey")&&(r.pubKey=a.tendermint.crypto.PublicKey.toObject(e.pubKey,t)),null!=e.votingPower&&e.hasOwnProperty("votingPower")&&("number"==typeof e.votingPower?r.votingPower=t.longs===String?String(e.votingPower):e.votingPower:r.votingPower=t.longs===String?s.Long.prototype.toString.call(e.votingPower):t.longs===Number?new s.LongBits(e.votingPower.low>>>0,e.votingPower.high>>>0).toNumber():e.votingPower),null!=e.proposerPriority&&e.hasOwnProperty("proposerPriority")&&("number"==typeof e.proposerPriority?r.proposerPriority=t.longs===String?String(e.proposerPriority):e.proposerPriority:r.proposerPriority=t.longs===String?s.Long.prototype.toString.call(e.proposerPriority):t.longs===Number?new s.LongBits(e.proposerPriority.low>>>0,e.proposerPriority.high>>>0).toNumber():e.proposerPriority),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SimpleValidator=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.pubKey=a.tendermint.crypto.PublicKey.decode(e,e.uint32());break;case 2:n.votingPower=e.int64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.SimpleValidator)return e;var t=new a.tendermint.types.SimpleValidator;if(null!=e.pubKey){if("object"!=typeof e.pubKey)throw TypeError(".tendermint.types.SimpleValidator.pubKey: object expected");t.pubKey=a.tendermint.crypto.PublicKey.fromObject(e.pubKey)}return null!=e.votingPower&&(s.Long?(t.votingPower=s.Long.fromValue(e.votingPower)).unsigned=!1:"string"==typeof e.votingPower?t.votingPower=parseInt(e.votingPower,10):"number"==typeof e.votingPower?t.votingPower=e.votingPower:"object"==typeof e.votingPower&&(t.votingPower=new s.LongBits(e.votingPower.low>>>0,e.votingPower.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.pubKey=null,s.Long){var n=new s.Long(0,0,!1);r.votingPower=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.votingPower=t.longs===String?"0":0;return null!=e.pubKey&&e.hasOwnProperty("pubKey")&&(r.pubKey=a.tendermint.crypto.PublicKey.toObject(e.pubKey,t)),null!=e.votingPower&&e.hasOwnProperty("votingPower")&&("number"==typeof e.votingPower?r.votingPower=t.longs===String?String(e.votingPower):e.votingPower:r.votingPower=t.longs===String?s.Long.prototype.toString.call(e.votingPower):t.longs===Number?new s.LongBits(e.votingPower.low>>>0,e.votingPower.high>>>0).toNumber():e.votingPower),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e.version=function(){const e={};return e.App=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.protocol=e.uint64();break;case 2:n.software=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.version.App)return e;var t=new a.tendermint.version.App;return null!=e.protocol&&(s.Long?(t.protocol=s.Long.fromValue(e.protocol)).unsigned=!0:"string"==typeof e.protocol?t.protocol=parseInt(e.protocol,10):"number"==typeof e.protocol?t.protocol=e.protocol:"object"==typeof e.protocol&&(t.protocol=new s.LongBits(e.protocol.low>>>0,e.protocol.high>>>0).toNumber(!0))),null!=e.software&&(t.software=String(e.software)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.protocol=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.protocol=t.longs===String?"0":0;r.software=""}return null!=e.protocol&&e.hasOwnProperty("protocol")&&("number"==typeof e.protocol?r.protocol=t.longs===String?String(e.protocol):e.protocol:r.protocol=t.longs===String?s.Long.prototype.toString.call(e.protocol):t.longs===Number?new s.LongBits(e.protocol.low>>>0,e.protocol.high>>>0).toNumber(!0):e.protocol),null!=e.software&&e.hasOwnProperty("software")&&(r.software=e.software),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Consensus=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.block=e.uint64();break;case 2:n.app=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.version.Consensus)return e;var t=new a.tendermint.version.Consensus;return null!=e.block&&(s.Long?(t.block=s.Long.fromValue(e.block)).unsigned=!0:"string"==typeof e.block?t.block=parseInt(e.block,10):"number"==typeof e.block?t.block=e.block:"object"==typeof e.block&&(t.block=new s.LongBits(e.block.low>>>0,e.block.high>>>0).toNumber(!0))),null!=e.app&&(s.Long?(t.app=s.Long.fromValue(e.app)).unsigned=!0:"string"==typeof e.app?t.app=parseInt(e.app,10):"number"==typeof e.app?t.app=e.app:"object"==typeof e.app&&(t.app=new s.LongBits(e.app.low>>>0,e.app.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.block=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.block=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.app=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.app=t.longs===String?"0":0}return null!=e.block&&e.hasOwnProperty("block")&&("number"==typeof e.block?r.block=t.longs===String?String(e.block):e.block:r.block=t.longs===String?s.Long.prototype.toString.call(e.block):t.longs===Number?new s.LongBits(e.block.low>>>0,e.block.high>>>0).toNumber(!0):e.block),null!=e.app&&e.hasOwnProperty("app")&&("number"==typeof e.app?r.app=t.longs===String?String(e.app):e.app:r.app=t.longs===String?s.Long.prototype.toString.call(e.app):t.longs===Number?new s.LongBits(e.app.low>>>0,e.app.high>>>0).toNumber(!0):e.app),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e})(),e.exports=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SignDocWrapper=void 0;const n=r(242),o=r(2);class i{constructor(e,t){this.mode=e,this.message=t}static fromAminoSignDoc(e){const t=new i("amino",new Uint8Array(0));return t._aminoSignDoc=e,t}static fromDirectSignDoc(e){const t=new i("direct",new Uint8Array(0));return t._protoSignDoc=new n.ProtoSignDocDecoder(e),t}clone(){return new i(this.mode,this.message)}get protoSignDoc(){return this._protoSignDoc||(this._protoSignDoc=n.ProtoSignDocDecoder.decode(this.message)),this._protoSignDoc}get aminoSignDoc(){return this._aminoSignDoc||(this._aminoSignDoc=JSON.parse(o.Buffer.from(this.message).toString())),this._aminoSignDoc}get chainId(){return"direct"===this.mode?this.protoSignDoc.chainId:this.aminoSignDoc.chain_id}get memo(){return"direct"===this.mode?this.protoSignDoc.txBody.memo:this.aminoSignDoc.memo}get fees(){var e,t;if("direct"===this.mode){const r=[];for(const n of null!==(t=null===(e=this.protoSignDoc.authInfo.fee)||void 0===e?void 0:e.amount)&&void 0!==t?t:[]){if(null==n.denom||null==n.amount)throw new Error("Invalid fee");r.push({denom:n.denom,amount:n.amount})}return r}return this.aminoSignDoc.fee.amount}get gas(){var e,t,r;return"direct"===this.mode?null!==(r=null===(t=null===(e=this.protoSignDoc.authInfo.fee)||void 0===e?void 0:e.gasLimit)||void 0===t?void 0:t.toNumber())&&void 0!==r?r:0:parseInt(this.aminoSignDoc.fee.gas)}}t.SignDocWrapper=i},,function(e,t){},function(e,t){},function(e,t,r){"use strict";var n=r(153).Buffer,o=r(448);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,o,i=n.allocUnsafe(e>>>0),s=this.head,a=0;s;)t=s.data,r=i,o=a,t.copy(r,o),a+=s.data.length,s=s.next;return i},e}(),o&&o.inspect&&o.inspect.custom&&(e.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,r){(function(e,t){!function(e,r){"use strict";if(!e.setImmediate){var n,o,i,s,a,c=1,u={},l=!1,f=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){p(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){p(e.data)},n=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,n=function(e){var t=f.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):n=function(e){setTimeout(p,0,e)}:(s="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&p(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(t){e.postMessage(s+t,"*")}),d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;rthis.blockSize&&(e=(new this.Hash).update(e).digest()),o(e.length<=this.blockSize);for(var t=e.length;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return s.alloc(0);for(var t,r,n,o=s.allocUnsafe(e>>>0),i=this.head,a=0;i;)t=i.data,r=o,n=a,s.prototype.copy.call(t,r,n),a+=i.data.length,i=i.next;return o}},{key:"consume",value:function(e,t){var r;return eo.length?o.length:e;if(i===o.length?n+=o:n+=o.slice(0,e),0==(e-=i)){i===o.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(i));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=s.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var o=r.data,i=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,i),0==(e-=i)){i===o.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=o.slice(i));break}++n}return this.length-=n,t}},{key:c,value:function(e,t){return a(this,function(e){for(var t=1;t0,(function(e){n||(n=e),e&&s.forEach(u),i||(s.forEach(u),o(n))}))}));return t.reduce(l)}},function(e,t,r){var n=r(4),o=r(77),i=r(7).Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function c(){this.init(),this._w=a,o.call(this,64,56)}function u(e){return e<<30|e>>>2}function l(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(c,o),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,o=0|this._b,i=0|this._c,a=0|this._d,c=0|this._e,f=0;f<16;++f)r[f]=e.readInt32BE(4*f);for(;f<80;++f)r[f]=r[f-3]^r[f-8]^r[f-14]^r[f-16];for(var d=0;d<80;++d){var h=~~(d/20),p=0|((t=n)<<5|t>>>27)+l(h,o,i,a)+c+r[d]+s[h];c=a,a=i,i=u(o),o=n,n=p}this._a=n+this._a|0,this._b=o+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=i.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},function(e,t,r){var n=r(4),o=r(77),i=r(7).Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function c(){this.init(),this._w=a,o.call(this,64,56)}function u(e){return e<<5|e>>>27}function l(e){return e<<30|e>>>2}function f(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(c,o),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,o=0|this._b,i=0|this._c,a=0|this._d,c=0|this._e,d=0;d<16;++d)r[d]=e.readInt32BE(4*d);for(;d<80;++d)r[d]=(t=r[d-3]^r[d-8]^r[d-14]^r[d-16])<<1|t>>>31;for(var h=0;h<80;++h){var p=~~(h/20),g=u(n)+f(p,o,i,a)+c+r[h]+s[p]|0;c=a,a=i,i=l(o),o=n,n=g}this._a=n+this._a|0,this._b=o+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=i.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},function(e,t,r){var n=r(4),o=r(257),i=r(77),s=r(7).Buffer,a=new Array(64);function c(){this.init(),this._w=a,i.call(this,64,56)}n(c,o),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=s.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=c},function(e,t,r){var n=r(4),o=r(258),i=r(77),s=r(7).Buffer,a=new Array(160);function c(){this.init(),this._w=a,i.call(this,128,112)}n(c,o),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var e=s.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},function(e,t,r){e.exports=r(154)},function(e,t,r){e.exports=r(65)},function(e,t,r){e.exports=r(148).Transform},function(e,t,r){e.exports=r(148).PassThrough},function(e,t,r){"use strict";var n=r(4),o=r(7).Buffer,i=r(56),s=o.alloc(128);function a(e,t){i.call(this,"digest"),"string"==typeof t&&(t=o.from(t)),this._alg=e,this._key=t,t.length>64?t=e(t):t.length<64&&(t=o.concat([t,s],64));for(var r=this._ipad=o.allocUnsafe(64),n=this._opad=o.allocUnsafe(64),a=0;a<64;a++)r[a]=54^t[a],n[a]=92^t[a];this._hash=[r]}n(a,i),a.prototype._update=function(e){this._hash.push(e)},a.prototype._final=function(){var e=this._alg(o.concat(this._hash));return this._alg(o.concat([this._opad,e]))},e.exports=a},function(e,t,r){e.exports=r(260)},function(e,t,r){(function(t,n){var o,i=r(7).Buffer,s=r(261),a=r(262),c=r(263),u=r(264),l=t.crypto&&t.crypto.subtle,f={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function h(e,t,r,n,o){return l.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return l.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:o}},e,n<<3)})).then((function(e){return i.from(e)}))}e.exports=function(e,r,p,g,m,y){"function"==typeof m&&(y=m,m=void 0);var b=f[(m=m||"sha1").toLowerCase()];if(!b||"function"!=typeof t.Promise)return n.nextTick((function(){var t;try{t=c(e,r,p,g,m)}catch(e){return y(e)}y(null,t)}));if(s(p,g),e=u(e,a,"Password"),r=u(r,a,"Salt"),"function"!=typeof y)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then((function(e){n.nextTick((function(){t(null,e)}))}),(function(e){n.nextTick((function(){t(e)}))}))}(function(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==d[e])return d[e];var r=h(o=o||i.alloc(8),o,10,128,e).then((function(){return!0})).catch((function(){return!1}));return d[e]=r,r}(b).then((function(t){return t?h(e,r,p,g,b):c(e,r,p,g,m)})),y)}}).call(this,r(12),r(13))},function(e,t,r){var n=r(478),o=r(159),i=r(160),s=r(491),a=r(122);function c(e,t,r){if(e=e.toLowerCase(),i[e])return o.createCipheriv(e,t,r);if(s[e])return new n({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function u(e,t,r){if(e=e.toLowerCase(),i[e])return o.createDecipheriv(e,t,r);if(s[e])return new n({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var r,n;if(e=e.toLowerCase(),i[e])r=i[e].key,n=i[e].iv;else{if(!s[e])throw new TypeError("invalid suite type");r=8*s[e].key,n=s[e].iv}var o=a(t,!1,r,n);return c(e,o.key,o.iv)},t.createCipheriv=t.Cipheriv=c,t.createDecipher=t.Decipher=function(e,t){var r,n;if(e=e.toLowerCase(),i[e])r=i[e].key,n=i[e].iv;else{if(!s[e])throw new TypeError("invalid suite type");r=8*s[e].key,n=s[e].iv}var o=a(t,!1,r,n);return u(e,o.key,o.iv)},t.createDecipheriv=t.Decipheriv=u,t.listCiphers=t.getCiphers=function(){return Object.keys(s).concat(o.getCiphers())}},function(e,t,r){var n=r(56),o=r(479),i=r(4),s=r(7).Buffer,a={"des-ede3-cbc":o.CBC.instantiate(o.EDE),"des-ede3":o.EDE,"des-ede-cbc":o.CBC.instantiate(o.EDE),"des-ede":o.EDE,"des-cbc":o.CBC.instantiate(o.DES),"des-ecb":o.DES};function c(e){n.call(this);var t,r=e.mode.toLowerCase(),o=a[r];t=e.decrypt?"decrypt":"encrypt";var i=e.key;s.isBuffer(i)||(i=s.from(i)),"des-ede"!==r&&"des-ede-cbc"!==r||(i=s.concat([i,i.slice(0,8)]));var c=e.iv;s.isBuffer(c)||(c=s.from(c)),this._des=o.create({key:i,iv:c,type:t})}a.des=a["des-cbc"],a.des3=a["des-ede3-cbc"],e.exports=c,i(c,n),c.prototype._update=function(e){return s.from(this._des.update(e))},c.prototype._final=function(){return s.from(this._des.final())}},function(e,t,r){"use strict";t.utils=r(265),t.Cipher=r(158),t.DES=r(266),t.CBC=r(480),t.EDE=r(481)},function(e,t,r){"use strict";var n=r(32),o=r(4),i={};function s(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},d.prototype.flush=function(){for(var e=16-this.cache.length,t=i.allocUnsafe(e),r=-1;++r>s%8,e._prev=i(e._prev,r?n:o);return a}function i(e,t){var r=e.length,o=-1,i=n.allocUnsafe(e.length);for(e=n.concat([e,n.from([t])]);++o>7;return i}t.encrypt=function(e,t,r){for(var i=t.length,s=n.allocUnsafe(i),a=-1;++a>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function s(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}s.prototype.ghash=function(e){for(var t=-1;++t0;t--)n[t]=n[t]>>>1|(1&n[t-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=i(o)},s.prototype.update=function(e){var t;for(this.cache=n.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},s.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,o],16)),this.ghash(i([0,e,0,t])),this.state},e.exports=s},function(e,t,r){var n=r(270),o=r(7).Buffer,i=r(160),s=r(271),a=r(56),c=r(121),u=r(122);function l(e,t,r){a.call(this),this._cache=new f,this._last=void 0,this._cipher=new c.AES(t),this._prev=o.from(r),this._mode=e,this._autopadding=!0}function f(){this.cache=o.allocUnsafe(0)}function d(e,t,r){var a=i[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=o.from(r)),"GCM"!==a.mode&&r.length!==a.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=o.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===a.type?new s(a.module,t,r,!0):"auth"===a.type?new n(a.module,t,r,!0):new l(a.module,t,r)}r(4)(l,a),l.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),n.push(r);return o.concat(n)},l.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var r=-1;for(;++r16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},f.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var r=i[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=u(t,!1,r.key,r.iv);return d(e,n.key,n.iv)},t.createDecipheriv=d},function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},function(e,t,r){(function(e){var n=r(272),o=r(494),i=r(495);var s={binary:!0,hex:!0,base64:!0};t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=function(t){var r=new e(o[t].prime,"hex"),n=new e(o[t].gen,"hex");return new i(r,n)},t.createDiffieHellman=t.DiffieHellman=function t(r,o,a,c){return e.isBuffer(o)||void 0===s[o]?t(r,"binary",o,a):(o=o||"binary",c=c||"binary",a=a||new e([2]),e.isBuffer(a)||(a=new e(a,c)),"number"==typeof r?new i(n(r,a),a,!0):(e.isBuffer(r)||(r=new e(r,o)),new i(r,a,!0)))}}).call(this,r(2).Buffer)},function(e,t){},function(e){e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},function(e,t,r){(function(t){var n=r(6),o=new(r(273)),i=new n(24),s=new n(11),a=new n(10),c=new n(3),u=new n(7),l=r(272),f=r(62);function d(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this._pub=new n(e),this}function h(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this._priv=new n(e),this}e.exports=g;var p={};function g(e,t,r){this.setGenerator(t),this.__prime=new n(e),this._prime=n.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=d,this.setPrivateKey=h):this._primeCode=8}function m(e,r){var n=new t(e.toArray());return r?n.toString(r):n}Object.defineProperty(g.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in p)return p[n];var f,d=0;if(e.isEven()||!l.simpleSieve||!l.fermatTest(e)||!o.test(e))return d+=1,d+="02"===r||"05"===r?8:4,p[n]=d,d;switch(o.test(e.shrn(1))||(d+=2),r){case"02":e.mod(i).cmp(s)&&(d+=8);break;case"05":(f=e.mod(a)).cmp(c)&&f.cmp(u)&&(d+=8);break;default:d+=4}return p[n]=d,d}(this.__prime,this.__gen)),this._primeCode}}),g.prototype.generateKeys=function(){return this._priv||(this._priv=new n(f(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},g.prototype.computeSecret=function(e){var r=(e=(e=new n(e)).toRed(this._prime)).redPow(this._priv).fromRed(),o=new t(r.toArray()),i=this.getPrime();if(o.length0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return s.alloc(0);for(var t,r,n,o=s.allocUnsafe(e>>>0),i=this.head,a=0;i;)t=i.data,r=o,n=a,s.prototype.copy.call(t,r,n),a+=i.data.length,i=i.next;return o}},{key:"consume",value:function(e,t){var r;return eo.length?o.length:e;if(i===o.length?n+=o:n+=o.slice(0,e),0==(e-=i)){i===o.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(i));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=s.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var o=r.data,i=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,i),0==(e-=i)){i===o.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=o.slice(i));break}++n}return this.length-=n,t}},{key:c,value:function(e,t){return a(this,function(e){for(var t=1;t0,(function(e){n||(n=e),e&&s.forEach(u),i||(s.forEach(u),o(n))}))}));return t.reduce(l)}},function(e,t,r){var n=r(7).Buffer,o=r(120),i=r(163),s=r(45).ec,a=r(282),c=r(124),u=r(288);function l(e,t,r,i){if((e=n.from(e.toArray())).length0&&r.ishrn(n),r}function d(e,t,r){var i,s;do{for(i=n.alloc(0);8*i.length=49&&u<=54?u-49+10:u>=17&&u<=22?u-17+10:u,s|=c}return n(!(240&s),"Invalid character in "+e),o}function c(e,t,r,o){for(var i=0,s=0,a=Math.min(e.length,r),c=t;c=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&s0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var o=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&o++,16===t?this._parseHex(e,o):this._parseBase(e,t,o),"-"===e[0]&&(this.negative=1),this._strip(),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var o=0;o=0;o-=3)s=e[o]|e[o-1]<<8|e[o-2]<<16,this.words[i]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);else if("le"===r)for(o=0,i=0;o>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);return this._strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=6)o=a(e,r,r+6),this.words[n]|=o<>>26-i&4194303,(i+=24)>=26&&(i-=26,n++);r+6!==t&&(o=a(e,t,r+6),this.words[n]|=o<>>26-i&4194303),this._strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,o=1;o<=67108863;o*=t)n++;n--,o=o/t|0;for(var i=e.length-r,s=i%n,a=Math.min(i,i-s)+r,u=0,l=r;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch(e){i.prototype.inspect=l}else i.prototype.inspect=l;function l(){return(this.red?""}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var o=0,i=0,s=0;s>>24-o&16777215)||s!==this.length-1?f[6-c.length]+c+r:c+r,(o+=2)>=26&&(o-=26,s--)}for(0!==i&&(r=i.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],l=h[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modrn(l).toString(e);r=(p=p.idivn(l)).isZero()?g+r:f[u-g.length]+g+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16,2)},s&&(i.prototype.toBuffer=function(e,t){return this.toArrayLike(s,e,t)}),i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function p(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var o=0|e.words[0],i=0|t.words[0],s=o*i,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var u=1;u>>26,f=67108863&c,d=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=d;h++){var p=u-h|0;l+=(s=(o=0|e.words[p])*(i=0|t.words[h])+f)/67108864|0,f=67108863&s}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r._strip()}i.prototype.toArrayLike=function(e,t,r){this._strip();var o=this.byteLength(),i=r||Math.max(1,o);n(o<=i,"byte array longer than desired length"),n(i>0,"Requested array length <= 0");var s=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,i);return this["_toArrayLike"+("le"===t?"LE":"BE")](s,o),s},i.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,o=0,i=0;o>8&255),r>16&255),6===i?(r>24&255),n=0,i=0):(n=s>>>24,i+=2)}if(r=0&&(e[r--]=s>>8&255),r>=0&&(e[r--]=s>>16&255),6===i?(r>=0&&(e[r--]=s>>24&255),n=0,i=0):(n=s>>>24,i+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;re.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var o=0;o0&&(this.words[o]=~this.words[o]&67108863>>26-r),this._strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,o=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(r=this,n=e):(r=e,n=this);for(var o=0,i=0;i>>26;for(;0!==o&&i>>26;if(this.length=r.length,0!==o)this.words[this.length]=o,this.length++;else if(r!==this)for(;ie.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,o=this.cmp(e);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(r=this,n=e):(r=e,n=this);for(var i=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==i&&s>26,this.words[s]=67108863&t;if(0===i&&s>>13,h=0|s[1],p=8191&h,g=h>>>13,m=0|s[2],y=8191&m,b=m>>>13,v=0|s[3],w=8191&v,_=v>>>13,k=0|s[4],O=8191&k,S=k>>>13,E=0|s[5],j=8191&E,P=E>>>13,A=0|s[6],x=8191&A,M=A>>>13,I=0|s[7],C=8191&I,R=I>>>13,T=0|s[8],N=8191&T,B=T>>>13,D=0|s[9],L=8191&D,U=D>>>13,q=0|a[0],H=8191&q,z=q>>>13,K=0|a[1],F=8191&K,$=K>>>13,V=0|a[2],J=8191&V,G=V>>>13,W=0|a[3],Q=8191&W,Z=W>>>13,Y=0|a[4],X=8191&Y,ee=Y>>>13,te=0|a[5],re=8191&te,ne=te>>>13,oe=0|a[6],ie=8191&oe,se=oe>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,le=0|a[8],fe=8191&le,de=le>>>13,he=0|a[9],pe=8191&he,ge=he>>>13;r.negative=e.negative^t.negative,r.length=19;var me=(u+(n=Math.imul(f,H))|0)+((8191&(o=(o=Math.imul(f,z))+Math.imul(d,H)|0))<<13)|0;u=((i=Math.imul(d,z))+(o>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(p,H),o=(o=Math.imul(p,z))+Math.imul(g,H)|0,i=Math.imul(g,z);var ye=(u+(n=n+Math.imul(f,F)|0)|0)+((8191&(o=(o=o+Math.imul(f,$)|0)+Math.imul(d,F)|0))<<13)|0;u=((i=i+Math.imul(d,$)|0)+(o>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(y,H),o=(o=Math.imul(y,z))+Math.imul(b,H)|0,i=Math.imul(b,z),n=n+Math.imul(p,F)|0,o=(o=o+Math.imul(p,$)|0)+Math.imul(g,F)|0,i=i+Math.imul(g,$)|0;var be=(u+(n=n+Math.imul(f,J)|0)|0)+((8191&(o=(o=o+Math.imul(f,G)|0)+Math.imul(d,J)|0))<<13)|0;u=((i=i+Math.imul(d,G)|0)+(o>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(w,H),o=(o=Math.imul(w,z))+Math.imul(_,H)|0,i=Math.imul(_,z),n=n+Math.imul(y,F)|0,o=(o=o+Math.imul(y,$)|0)+Math.imul(b,F)|0,i=i+Math.imul(b,$)|0,n=n+Math.imul(p,J)|0,o=(o=o+Math.imul(p,G)|0)+Math.imul(g,J)|0,i=i+Math.imul(g,G)|0;var ve=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(o=(o=o+Math.imul(f,Z)|0)+Math.imul(d,Q)|0))<<13)|0;u=((i=i+Math.imul(d,Z)|0)+(o>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(O,H),o=(o=Math.imul(O,z))+Math.imul(S,H)|0,i=Math.imul(S,z),n=n+Math.imul(w,F)|0,o=(o=o+Math.imul(w,$)|0)+Math.imul(_,F)|0,i=i+Math.imul(_,$)|0,n=n+Math.imul(y,J)|0,o=(o=o+Math.imul(y,G)|0)+Math.imul(b,J)|0,i=i+Math.imul(b,G)|0,n=n+Math.imul(p,Q)|0,o=(o=o+Math.imul(p,Z)|0)+Math.imul(g,Q)|0,i=i+Math.imul(g,Z)|0;var we=(u+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,ee)|0)+Math.imul(d,X)|0))<<13)|0;u=((i=i+Math.imul(d,ee)|0)+(o>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(j,H),o=(o=Math.imul(j,z))+Math.imul(P,H)|0,i=Math.imul(P,z),n=n+Math.imul(O,F)|0,o=(o=o+Math.imul(O,$)|0)+Math.imul(S,F)|0,i=i+Math.imul(S,$)|0,n=n+Math.imul(w,J)|0,o=(o=o+Math.imul(w,G)|0)+Math.imul(_,J)|0,i=i+Math.imul(_,G)|0,n=n+Math.imul(y,Q)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(b,Q)|0,i=i+Math.imul(b,Z)|0,n=n+Math.imul(p,X)|0,o=(o=o+Math.imul(p,ee)|0)+Math.imul(g,X)|0,i=i+Math.imul(g,ee)|0;var _e=(u+(n=n+Math.imul(f,re)|0)|0)+((8191&(o=(o=o+Math.imul(f,ne)|0)+Math.imul(d,re)|0))<<13)|0;u=((i=i+Math.imul(d,ne)|0)+(o>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(x,H),o=(o=Math.imul(x,z))+Math.imul(M,H)|0,i=Math.imul(M,z),n=n+Math.imul(j,F)|0,o=(o=o+Math.imul(j,$)|0)+Math.imul(P,F)|0,i=i+Math.imul(P,$)|0,n=n+Math.imul(O,J)|0,o=(o=o+Math.imul(O,G)|0)+Math.imul(S,J)|0,i=i+Math.imul(S,G)|0,n=n+Math.imul(w,Q)|0,o=(o=o+Math.imul(w,Z)|0)+Math.imul(_,Q)|0,i=i+Math.imul(_,Z)|0,n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,ee)|0)+Math.imul(b,X)|0,i=i+Math.imul(b,ee)|0,n=n+Math.imul(p,re)|0,o=(o=o+Math.imul(p,ne)|0)+Math.imul(g,re)|0,i=i+Math.imul(g,ne)|0;var ke=(u+(n=n+Math.imul(f,ie)|0)|0)+((8191&(o=(o=o+Math.imul(f,se)|0)+Math.imul(d,ie)|0))<<13)|0;u=((i=i+Math.imul(d,se)|0)+(o>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(C,H),o=(o=Math.imul(C,z))+Math.imul(R,H)|0,i=Math.imul(R,z),n=n+Math.imul(x,F)|0,o=(o=o+Math.imul(x,$)|0)+Math.imul(M,F)|0,i=i+Math.imul(M,$)|0,n=n+Math.imul(j,J)|0,o=(o=o+Math.imul(j,G)|0)+Math.imul(P,J)|0,i=i+Math.imul(P,G)|0,n=n+Math.imul(O,Q)|0,o=(o=o+Math.imul(O,Z)|0)+Math.imul(S,Q)|0,i=i+Math.imul(S,Z)|0,n=n+Math.imul(w,X)|0,o=(o=o+Math.imul(w,ee)|0)+Math.imul(_,X)|0,i=i+Math.imul(_,ee)|0,n=n+Math.imul(y,re)|0,o=(o=o+Math.imul(y,ne)|0)+Math.imul(b,re)|0,i=i+Math.imul(b,ne)|0,n=n+Math.imul(p,ie)|0,o=(o=o+Math.imul(p,se)|0)+Math.imul(g,ie)|0,i=i+Math.imul(g,se)|0;var Oe=(u+(n=n+Math.imul(f,ce)|0)|0)+((8191&(o=(o=o+Math.imul(f,ue)|0)+Math.imul(d,ce)|0))<<13)|0;u=((i=i+Math.imul(d,ue)|0)+(o>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(N,H),o=(o=Math.imul(N,z))+Math.imul(B,H)|0,i=Math.imul(B,z),n=n+Math.imul(C,F)|0,o=(o=o+Math.imul(C,$)|0)+Math.imul(R,F)|0,i=i+Math.imul(R,$)|0,n=n+Math.imul(x,J)|0,o=(o=o+Math.imul(x,G)|0)+Math.imul(M,J)|0,i=i+Math.imul(M,G)|0,n=n+Math.imul(j,Q)|0,o=(o=o+Math.imul(j,Z)|0)+Math.imul(P,Q)|0,i=i+Math.imul(P,Z)|0,n=n+Math.imul(O,X)|0,o=(o=o+Math.imul(O,ee)|0)+Math.imul(S,X)|0,i=i+Math.imul(S,ee)|0,n=n+Math.imul(w,re)|0,o=(o=o+Math.imul(w,ne)|0)+Math.imul(_,re)|0,i=i+Math.imul(_,ne)|0,n=n+Math.imul(y,ie)|0,o=(o=o+Math.imul(y,se)|0)+Math.imul(b,ie)|0,i=i+Math.imul(b,se)|0,n=n+Math.imul(p,ce)|0,o=(o=o+Math.imul(p,ue)|0)+Math.imul(g,ce)|0,i=i+Math.imul(g,ue)|0;var Se=(u+(n=n+Math.imul(f,fe)|0)|0)+((8191&(o=(o=o+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;u=((i=i+Math.imul(d,de)|0)+(o>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(L,H),o=(o=Math.imul(L,z))+Math.imul(U,H)|0,i=Math.imul(U,z),n=n+Math.imul(N,F)|0,o=(o=o+Math.imul(N,$)|0)+Math.imul(B,F)|0,i=i+Math.imul(B,$)|0,n=n+Math.imul(C,J)|0,o=(o=o+Math.imul(C,G)|0)+Math.imul(R,J)|0,i=i+Math.imul(R,G)|0,n=n+Math.imul(x,Q)|0,o=(o=o+Math.imul(x,Z)|0)+Math.imul(M,Q)|0,i=i+Math.imul(M,Z)|0,n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,ee)|0)+Math.imul(P,X)|0,i=i+Math.imul(P,ee)|0,n=n+Math.imul(O,re)|0,o=(o=o+Math.imul(O,ne)|0)+Math.imul(S,re)|0,i=i+Math.imul(S,ne)|0,n=n+Math.imul(w,ie)|0,o=(o=o+Math.imul(w,se)|0)+Math.imul(_,ie)|0,i=i+Math.imul(_,se)|0,n=n+Math.imul(y,ce)|0,o=(o=o+Math.imul(y,ue)|0)+Math.imul(b,ce)|0,i=i+Math.imul(b,ue)|0,n=n+Math.imul(p,fe)|0,o=(o=o+Math.imul(p,de)|0)+Math.imul(g,fe)|0,i=i+Math.imul(g,de)|0;var Ee=(u+(n=n+Math.imul(f,pe)|0)|0)+((8191&(o=(o=o+Math.imul(f,ge)|0)+Math.imul(d,pe)|0))<<13)|0;u=((i=i+Math.imul(d,ge)|0)+(o>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(L,F),o=(o=Math.imul(L,$))+Math.imul(U,F)|0,i=Math.imul(U,$),n=n+Math.imul(N,J)|0,o=(o=o+Math.imul(N,G)|0)+Math.imul(B,J)|0,i=i+Math.imul(B,G)|0,n=n+Math.imul(C,Q)|0,o=(o=o+Math.imul(C,Z)|0)+Math.imul(R,Q)|0,i=i+Math.imul(R,Z)|0,n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,ee)|0)+Math.imul(M,X)|0,i=i+Math.imul(M,ee)|0,n=n+Math.imul(j,re)|0,o=(o=o+Math.imul(j,ne)|0)+Math.imul(P,re)|0,i=i+Math.imul(P,ne)|0,n=n+Math.imul(O,ie)|0,o=(o=o+Math.imul(O,se)|0)+Math.imul(S,ie)|0,i=i+Math.imul(S,se)|0,n=n+Math.imul(w,ce)|0,o=(o=o+Math.imul(w,ue)|0)+Math.imul(_,ce)|0,i=i+Math.imul(_,ue)|0,n=n+Math.imul(y,fe)|0,o=(o=o+Math.imul(y,de)|0)+Math.imul(b,fe)|0,i=i+Math.imul(b,de)|0;var je=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(o=(o=o+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;u=((i=i+Math.imul(g,ge)|0)+(o>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(L,J),o=(o=Math.imul(L,G))+Math.imul(U,J)|0,i=Math.imul(U,G),n=n+Math.imul(N,Q)|0,o=(o=o+Math.imul(N,Z)|0)+Math.imul(B,Q)|0,i=i+Math.imul(B,Z)|0,n=n+Math.imul(C,X)|0,o=(o=o+Math.imul(C,ee)|0)+Math.imul(R,X)|0,i=i+Math.imul(R,ee)|0,n=n+Math.imul(x,re)|0,o=(o=o+Math.imul(x,ne)|0)+Math.imul(M,re)|0,i=i+Math.imul(M,ne)|0,n=n+Math.imul(j,ie)|0,o=(o=o+Math.imul(j,se)|0)+Math.imul(P,ie)|0,i=i+Math.imul(P,se)|0,n=n+Math.imul(O,ce)|0,o=(o=o+Math.imul(O,ue)|0)+Math.imul(S,ce)|0,i=i+Math.imul(S,ue)|0,n=n+Math.imul(w,fe)|0,o=(o=o+Math.imul(w,de)|0)+Math.imul(_,fe)|0,i=i+Math.imul(_,de)|0;var Pe=(u+(n=n+Math.imul(y,pe)|0)|0)+((8191&(o=(o=o+Math.imul(y,ge)|0)+Math.imul(b,pe)|0))<<13)|0;u=((i=i+Math.imul(b,ge)|0)+(o>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(L,Q),o=(o=Math.imul(L,Z))+Math.imul(U,Q)|0,i=Math.imul(U,Z),n=n+Math.imul(N,X)|0,o=(o=o+Math.imul(N,ee)|0)+Math.imul(B,X)|0,i=i+Math.imul(B,ee)|0,n=n+Math.imul(C,re)|0,o=(o=o+Math.imul(C,ne)|0)+Math.imul(R,re)|0,i=i+Math.imul(R,ne)|0,n=n+Math.imul(x,ie)|0,o=(o=o+Math.imul(x,se)|0)+Math.imul(M,ie)|0,i=i+Math.imul(M,se)|0,n=n+Math.imul(j,ce)|0,o=(o=o+Math.imul(j,ue)|0)+Math.imul(P,ce)|0,i=i+Math.imul(P,ue)|0,n=n+Math.imul(O,fe)|0,o=(o=o+Math.imul(O,de)|0)+Math.imul(S,fe)|0,i=i+Math.imul(S,de)|0;var Ae=(u+(n=n+Math.imul(w,pe)|0)|0)+((8191&(o=(o=o+Math.imul(w,ge)|0)+Math.imul(_,pe)|0))<<13)|0;u=((i=i+Math.imul(_,ge)|0)+(o>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(L,X),o=(o=Math.imul(L,ee))+Math.imul(U,X)|0,i=Math.imul(U,ee),n=n+Math.imul(N,re)|0,o=(o=o+Math.imul(N,ne)|0)+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,n=n+Math.imul(C,ie)|0,o=(o=o+Math.imul(C,se)|0)+Math.imul(R,ie)|0,i=i+Math.imul(R,se)|0,n=n+Math.imul(x,ce)|0,o=(o=o+Math.imul(x,ue)|0)+Math.imul(M,ce)|0,i=i+Math.imul(M,ue)|0,n=n+Math.imul(j,fe)|0,o=(o=o+Math.imul(j,de)|0)+Math.imul(P,fe)|0,i=i+Math.imul(P,de)|0;var xe=(u+(n=n+Math.imul(O,pe)|0)|0)+((8191&(o=(o=o+Math.imul(O,ge)|0)+Math.imul(S,pe)|0))<<13)|0;u=((i=i+Math.imul(S,ge)|0)+(o>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(L,re),o=(o=Math.imul(L,ne))+Math.imul(U,re)|0,i=Math.imul(U,ne),n=n+Math.imul(N,ie)|0,o=(o=o+Math.imul(N,se)|0)+Math.imul(B,ie)|0,i=i+Math.imul(B,se)|0,n=n+Math.imul(C,ce)|0,o=(o=o+Math.imul(C,ue)|0)+Math.imul(R,ce)|0,i=i+Math.imul(R,ue)|0,n=n+Math.imul(x,fe)|0,o=(o=o+Math.imul(x,de)|0)+Math.imul(M,fe)|0,i=i+Math.imul(M,de)|0;var Me=(u+(n=n+Math.imul(j,pe)|0)|0)+((8191&(o=(o=o+Math.imul(j,ge)|0)+Math.imul(P,pe)|0))<<13)|0;u=((i=i+Math.imul(P,ge)|0)+(o>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(L,ie),o=(o=Math.imul(L,se))+Math.imul(U,ie)|0,i=Math.imul(U,se),n=n+Math.imul(N,ce)|0,o=(o=o+Math.imul(N,ue)|0)+Math.imul(B,ce)|0,i=i+Math.imul(B,ue)|0,n=n+Math.imul(C,fe)|0,o=(o=o+Math.imul(C,de)|0)+Math.imul(R,fe)|0,i=i+Math.imul(R,de)|0;var Ie=(u+(n=n+Math.imul(x,pe)|0)|0)+((8191&(o=(o=o+Math.imul(x,ge)|0)+Math.imul(M,pe)|0))<<13)|0;u=((i=i+Math.imul(M,ge)|0)+(o>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(L,ce),o=(o=Math.imul(L,ue))+Math.imul(U,ce)|0,i=Math.imul(U,ue),n=n+Math.imul(N,fe)|0,o=(o=o+Math.imul(N,de)|0)+Math.imul(B,fe)|0,i=i+Math.imul(B,de)|0;var Ce=(u+(n=n+Math.imul(C,pe)|0)|0)+((8191&(o=(o=o+Math.imul(C,ge)|0)+Math.imul(R,pe)|0))<<13)|0;u=((i=i+Math.imul(R,ge)|0)+(o>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(L,fe),o=(o=Math.imul(L,de))+Math.imul(U,fe)|0,i=Math.imul(U,de);var Re=(u+(n=n+Math.imul(N,pe)|0)|0)+((8191&(o=(o=o+Math.imul(N,ge)|0)+Math.imul(B,pe)|0))<<13)|0;u=((i=i+Math.imul(B,ge)|0)+(o>>>13)|0)+(Re>>>26)|0,Re&=67108863;var Te=(u+(n=Math.imul(L,pe))|0)+((8191&(o=(o=Math.imul(L,ge))+Math.imul(U,pe)|0))<<13)|0;return u=((i=Math.imul(U,ge))+(o>>>13)|0)+(Te>>>26)|0,Te&=67108863,c[0]=me,c[1]=ye,c[2]=be,c[3]=ve,c[4]=we,c[5]=_e,c[6]=ke,c[7]=Oe,c[8]=Se,c[9]=Ee,c[10]=je,c[11]=Pe,c[12]=Ae,c[13]=xe,c[14]=Me,c[15]=Ie,c[16]=Ce,c[17]=Re,c[18]=Te,0!==u&&(c[19]=u,r.length++),r};function m(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,o=0,i=0;i>>26)|0)>>>26,s&=67108863}r.words[i]=a,n=s,s=o}return 0!==n?r.words[i]=n:r.length--,r._strip()}function y(e,t,r){return m(e,t,r)}function b(e,t){this.x=e,this.y=t}Math.imul||(g=p),i.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):r<63?p(this,e,t):r<1024?m(this,e,t):y(this,e,t)},b.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n>=1;return n},b.prototype.permute=function(e,t,r,n,o,i){for(var s=0;s>>=1)o++;return 1<>>=13,r[2*s+1]=8191&i,i>>>=13;for(s=2*t;s>=26,r+=i/67108864|0,r+=s>>>26,this.words[o]=67108863&s}return 0!==r&&(this.words[o]=r,this.length++),t?this.ineg():this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r>>o&1}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n=0);var t,r=e%26,o=(e-r)/26,i=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(t=0;t>>26-r}s&&(this.words[t]=s,this.length++)}if(0!==o){for(t=this.length-1;t>=0;t--)this.words[t+o]=this.words[t];for(t=0;t=0),o=t?(t-t%26)/26:0;var i=e%26,s=Math.min((e-i)/26,this.length),a=67108863^67108863>>>i<s)for(this.length-=s,u=0;u=0&&(0!==l||u>=o);u--){var f=0|this.words[u];this.words[u]=l<<26-i|f>>>i,l=f&a}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,o=1<=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var o=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[o+r]=67108863&i}for(;o>26,this.words[o+r]=67108863&i;if(0===a)return this._strip();for(n(-1===a),a=0,o=0;o>26,this.words[o]=67108863&i;return this.negative=1,this._strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),o=e,s=0|o.words[o.length-1];0!==(r=26-this._countBits(s))&&(o=o.ushln(r),n.iushln(r),s=0|o.words[o.length-1]);var a,c=n.length-o.length;if("mod"!==t){(a=new i(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u=0;f--){var d=67108864*(0|n.words[o.length+f])+(0|n.words[o.length+f-1]);for(d=Math.min(d/s|0,67108863),n._ishlnsubmul(o,d,f);0!==n.negative;)d--,n.negative=0,n._ishlnsubmul(o,1,f),n.isZero()||(n.negative^=1);a&&(a.words[f]=d)}return a&&a._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.iadd(e)),{div:o,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modrn(e.words[0]))}:this._wordDiv(e,t);var o,s,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),o=e.andln(1),i=r.cmp(n);return i<0||1===o&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,o=0,i=this.length-1;i>=0;i--)o=(r*o+(0|this.words[i]))%e;return t?-o:o},i.prototype.modn=function(e){return this.modrn(e)},i.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,o=this.length-1;o>=0;o--){var i=(0|this.words[o])+67108864*r;this.words[o]=i/e|0,r=i%e}return this._strip(),t?this.ineg():this},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),s=new i(0),a=new i(0),c=new i(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0==(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(l),s.isub(f)),o.iushrn(1),s.iushrn(1);for(var p=0,g=1;0==(r.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(l),c.isub(f)),a.iushrn(1),c.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a),s.isub(c)):(r.isub(t),a.isub(o),c.isub(s))}return{a:a,b:c,gcd:r.iushln(u)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o,s=new i(1),a=new i(0),c=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var f=0,d=1;0==(r.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(r.iushrn(f);f-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),s.isub(a)):(r.isub(t),a.isub(s))}return(o=0===t.cmpn(1)?s:a).cmpn(0)<0&&o.iadd(e),o},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var o=t.cmp(r);if(o<0){var i=t;t=r,r=i}else if(0===o||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,o=1<>>26,a&=67108863,this.words[s]=a}return 0!==i&&(this.words[s]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var o=0|this.words[0];t=o===e?0:oe.length)return 1;if(this.length=0;r--){var n=0|this.words[r],o=0|e.words[r];if(n!==o){no&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new E(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function O(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function j(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},o(_,w),_.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n>>22,o=i}o>>>=22,e.words[n-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r>>=26,e.words[r]=o,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(v[e])return v[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new k;else if("p192"===e)t=new O;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new S}return v[e]=t,t},E.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);n(!o.isZero());var a=new i(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,o),d=this.pow(e,o.addn(1).iushrn(1)),h=this.pow(e,o),p=s;0!==h.cmp(a);){for(var g=h,m=0;0!==g.cmp(a);m++)g=g.redSqr();n(m=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var f=u>>l&1;o!==r[0]&&(o=this.sqr(o)),0!==f||0!==s?(s<<=1,s|=f,(4===++a||0===n&&0===l)&&(o=this.mul(o,r[s]),a=0,s=0)):a=0}c=26}return o},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new j(e)},o(j,E),j.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},j.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},j.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),i=o;return o.cmp(this.m)>=0?i=o.isub(this.m):o.cmpn(0)<0&&(i=o.iadd(this.m)),i._forceRed(this)},j.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},j.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(71)(e))},function(e,t){},function(e){e.exports=JSON.parse('{"name":"elliptic","version":"6.5.3","description":"EC cryptography","main":"lib/elliptic.js","files":["lib"],"scripts":{"jscs":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","jshint":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","lint":"npm run jscs && npm run jshint","unit":"istanbul test _mocha --reporter=spec test/index.js","test":"npm run lint && npm run unit","version":"grunt dist && git add dist/"},"repository":{"type":"git","url":"git@github.com:indutny/elliptic"},"keywords":["EC","Elliptic","curve","Cryptography"],"author":"Fedor Indutny ","license":"MIT","bugs":{"url":"https://github.com/indutny/elliptic/issues"},"homepage":"https://github.com/indutny/elliptic","devDependencies":{"brfs":"^1.4.3","coveralls":"^3.0.8","grunt":"^1.0.4","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.2","jscs":"^3.0.7","jshint":"^2.10.3","mocha":"^6.2.2"},"dependencies":{"bn.js":"^4.4.0","brorand":"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0","inherits":"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"}}')},function(e,t,r){"use strict";var n=r(33),o=r(6),i=r(4),s=r(123),a=n.assert;function c(e){s.call(this,"short",e),this.a=new o(e.a,16).toRed(this.red),this.b=new o(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(e,t,r,n){s.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new o(t,16),this.y=new o(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function l(e,t,r,n){s.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new o(0)):(this.x=new o(t,16),this.y=new o(r,16),this.z=new o(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}i(c,s),e.exports=c,c.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new o(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new o(e.lambda,16);else{var i=this._getEndoRoots(this.n);0===this.g.mul(i[0]).x.cmp(this.g.x.redMul(t))?r=i[0]:(r=i[1],a(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:r,basis:e.basis?e.basis.map((function(e){return{a:new o(e.a,16),b:new o(e.b,16)}})):this._getEndoBasis(r)}}},c.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:o.mont(e),r=new o(2).toRed(t).redInvm(),n=r.redNeg(),i=new o(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(i).fromRed(),n.redSub(i).fromRed()]},c.prototype._getEndoBasis=function(e){for(var t,r,n,i,s,a,c,u,l,f=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=e,h=this.n.clone(),p=new o(1),g=new o(0),m=new o(0),y=new o(1),b=0;0!==d.cmpn(0);){var v=h.div(d);u=h.sub(v.mul(d)),l=m.sub(v.mul(p));var w=y.sub(v.mul(g));if(!n&&u.cmp(f)<0)t=c.neg(),r=p,n=u.neg(),i=l;else if(n&&2==++b)break;c=u,h=d,d=u,m=p,p=l,y=g,g=w}s=u.neg(),a=l;var _=n.sqr().add(i.sqr());return s.sqr().add(a.sqr()).cmp(_)>=0&&(s=t,a=r),n.negative&&(n=n.neg(),i=i.neg()),s.negative&&(s=s.neg(),a=a.neg()),[{a:n,b:i},{a:s,b:a}]},c.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],o=n.b.mul(e).divRound(this.n),i=r.b.neg().mul(e).divRound(this.n),s=o.mul(r.a),a=i.mul(n.a),c=o.mul(r.b),u=i.mul(n.b);return{k1:e.sub(s).sub(a),k2:c.add(u).neg()}},c.prototype.pointFromX=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var i=n.fromRed().isOdd();return(t&&!i||!t&&i)&&(n=n.redNeg()),this.point(e,n)},c.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),o=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(o).cmpn(0)},c.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,o=this._endoWnafT2,i=0;i":""},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},u.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),o=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),i=o.redSqr().redISub(this.x.redAdd(this.x)),s=o.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,s)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(e){return e=new o(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){var n=[this,t],o=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o):this.curve._wnafMulAdd(1,n,o,2)},u.prototype.jmulAdd=function(e,t,r){var n=[this,t],o=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o,!0):this.curve._wnafMulAdd(1,n,o,2,!0)},u.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},u.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(l,s.BasePoint),c.prototype.jpoint=function(e,t,r){return new l(this,e,t,r)},l.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),o=e.x.redMul(r),i=this.y.redMul(t.redMul(e.z)),s=e.y.redMul(r.redMul(this.z)),a=n.redSub(o),c=i.redSub(s);if(0===a.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),l=u.redMul(a),f=n.redMul(u),d=c.redSqr().redIAdd(l).redISub(f).redISub(f),h=c.redMul(f.redISub(d)).redISub(i.redMul(l)),p=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(d,h,p)},l.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),o=this.y,i=e.y.redMul(t).redMul(this.z),s=r.redSub(n),a=o.redSub(i);if(0===s.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),u=c.redMul(s),l=r.redMul(c),f=a.redSqr().redIAdd(u).redISub(l).redISub(l),d=a.redMul(l.redISub(f)).redISub(o.redMul(u)),h=this.z.redMul(s);return this.curve.jpoint(f,d,h)},l.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r=0)return!1;if(r.redIAdd(o),0===this.x.cmp(r))return!0}},l.prototype.inspect=function(){return this.isInfinity()?"":""},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(e,t,r){"use strict";var n=r(6),o=r(4),i=r(123),s=r(33);function a(e){i.call(this,"mont",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(e,t,r){i.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(t,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}o(a,i),e.exports=a,a.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},o(c,i.BasePoint),a.prototype.decodePoint=function(e,t){return this.point(s.toArray(e,t),1)},a.prototype.point=function(e,t){return new c(this,e,t)},a.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(e,t){return new c(e,t[0],t[1]||e.one)},c.prototype.inspect=function(){return this.isInfinity()?"":""},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),o=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,o)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),o=e.x.redAdd(e.z),i=e.x.redSub(e.z).redMul(r),s=o.redMul(n),a=t.z.redMul(i.redAdd(s).redSqr()),c=t.x.redMul(i.redISub(s).redSqr());return this.curve.point(a,c)},c.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),o=[];0!==t.cmpn(0);t.iushrn(1))o.push(t.andln(1));for(var i=o.length-1;i>=0;i--)0===o[i]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(e,t,r){"use strict";var n=r(33),o=r(6),i=r(4),s=r(123),a=n.assert;function c(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,s.call(this,"edwards",e),this.a=new o(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new o(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new o(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function u(e,t,r,n,i){s.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new o(t,16),this.y=new o(r,16),this.z=n?new o(n,16):this.curve.one,this.t=i&&new o(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}i(c,s),e.exports=c,c.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},c.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},c.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},c.prototype.pointFromX=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),i=this.one.redSub(this.c2.redMul(this.d).redMul(r)),s=n.redMul(i.redInvm()),a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");var c=a.fromRed().isOdd();return(t&&!c||!t&&c)&&(a=a.redNeg()),this.point(e,a)},c.prototype.pointFromY=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.c2),i=r.redMul(this.d).redMul(this.c2).redSub(this.a),s=n.redMul(i.redInvm());if(0===s.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},c.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),o=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(o)},i(u,s.BasePoint),c.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},c.prototype.point=function(e,t,r,n){return new u(this,e,t,r,n)},u.fromJSON=function(e,t){return new u(e,t[0],t[1],t[2])},u.prototype.inspect=function(){return this.isInfinity()?"":""},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),o=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),i=n.redAdd(t),s=i.redSub(r),a=n.redSub(t),c=o.redMul(s),u=i.redMul(a),l=o.redMul(a),f=s.redMul(i);return this.curve.point(c,u,f,l)},u.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),o=this.x.redSqr(),i=this.y.redSqr();if(this.curve.twisted){var s=(u=this.curve._mulA(o)).redAdd(i);if(this.zOne)e=n.redSub(o).redSub(i).redMul(s.redSub(this.curve.two)),t=s.redMul(u.redSub(i)),r=s.redSqr().redSub(s).redSub(s);else{var a=this.z.redSqr(),c=s.redSub(a).redISub(a);e=n.redSub(o).redISub(i).redMul(c),t=s.redMul(u.redSub(i)),r=s.redMul(c)}}else{var u=o.redAdd(i);a=this.curve._mulC(this.z).redSqr(),c=u.redSub(a).redSub(a);e=this.curve._mulC(n.redISub(u)).redMul(c),t=this.curve._mulC(u).redMul(o.redISub(i)),r=u.redMul(c)}return this.curve.point(e,t,r)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),o=this.z.redMul(e.z.redAdd(e.z)),i=r.redSub(t),s=o.redSub(n),a=o.redAdd(n),c=r.redAdd(t),u=i.redMul(s),l=a.redMul(c),f=i.redMul(c),d=s.redMul(a);return this.curve.point(u,l,d,f)},u.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),o=n.redSqr(),i=this.x.redMul(e.x),s=this.y.redMul(e.y),a=this.curve.d.redMul(i).redMul(s),c=o.redSub(a),u=o.redAdd(a),l=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(i).redISub(s),f=n.redMul(c).redMul(l);return this.curve.twisted?(t=n.redMul(u).redMul(s.redSub(this.curve._mulA(i))),r=c.redMul(u)):(t=n.redMul(u).redMul(s.redSub(i)),r=this.curve._mulC(c).redMul(u)),this.curve.point(f,t,r)},u.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},u.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},u.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},u.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},function(e,t,r){"use strict";var n=r(6),o=r(514),i=r(33),s=r(164),a=r(161),c=i.assert,u=r(515),l=r(516);function f(e){if(!(this instanceof f))return new f(e);"string"==typeof e&&(c(s.hasOwnProperty(e),"Unknown curve "+e),e=s[e]),e instanceof s.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=f,f.prototype.keyPair=function(e){return new u(this,e)},f.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},f.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},f.prototype.genKeyPair=function(e){e||(e={});for(var t=new o({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||a(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),i=this.n.sub(new n(2));;){var s=new n(t.generate(r));if(!(s.cmp(i)>0))return s.iaddn(1),this.keyFromPrivate(s)}},f.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},f.prototype.sign=function(e,t,r,i){"object"==typeof r&&(i=r,r=null),i||(i={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n(e,16));for(var s=this.n.byteLength(),a=t.getPrivate().toArray("be",s),c=e.toArray("be",s),u=new o({hash:this.hash,entropy:a,nonce:c,pers:i.pers,persEnc:i.persEnc||"utf8"}),f=this.n.sub(new n(1)),d=0;;d++){var h=i.k?i.k(d):new n(u.generate(this.n.byteLength()));if(!((h=this._truncateToN(h,!0)).cmpn(1)<=0||h.cmp(f)>=0)){var p=this.g.mul(h);if(!p.isInfinity()){var g=p.getX(),m=g.umod(this.n);if(0!==m.cmpn(0)){var y=h.invm(this.n).mul(m.mul(t.getPrivate()).iadd(e));if(0!==(y=y.umod(this.n)).cmpn(0)){var b=(p.getY().isOdd()?1:0)|(0!==g.cmp(m)?2:0);return i.canonical&&y.cmp(this.nh)>0&&(y=this.n.sub(y),b^=1),new l({r:m,s:y,recoveryParam:b})}}}}}},f.prototype.verify=function(e,t,r,o){e=this._truncateToN(new n(e,16)),r=this.keyFromPublic(r,o);var i=(t=new l(t,"hex")).r,s=t.s;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var a,c=s.invm(this.n),u=c.mul(e).umod(this.n),f=c.mul(i).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(u,r.getPublic(),f)).isInfinity()&&a.eqXToP(i):!(a=this.g.mulAdd(u,r.getPublic(),f)).isInfinity()&&0===a.getX().umod(this.n).cmp(i)},f.prototype.recoverPubKey=function(e,t,r,o){c((3&r)===r,"The recovery param is more than two bits"),t=new l(t,o);var i=this.n,s=new n(e),a=t.r,u=t.s,f=1&r,d=r>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");a=d?this.curve.pointFromX(a.add(this.curve.n),f):this.curve.pointFromX(a,f);var h=t.r.invm(i),p=i.sub(s).mul(h).umod(i),g=u.mul(h).umod(i);return this.g.mulAdd(p,a,g)},f.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new l(t,n)).recoveryParam)return t.recoveryParam;for(var o=0;o<4;o++){var i;try{i=this.recoverPubKey(e,t,o)}catch(e){continue}if(i.eq(r))return o}throw new Error("Unable to find valid recovery factor")}},function(e,t,r){"use strict";var n=r(70),o=r(280),i=r(32);function s(e){if(!(this instanceof s))return new s(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=o.toArray(e.entropy,e.entropyEnc||"hex"),r=o.toArray(e.nonce,e.nonceEnc||"hex"),n=o.toArray(e.pers,e.persEnc||"hex");i(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}e.exports=s,s.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var o=0;o=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},s.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=o.toArray(r,n||"hex"),this._update(r));for(var i=[];i.length"}},function(e,t,r){"use strict";var n=r(6),o=r(33),i=o.assert;function s(e,t){if(e instanceof s)return e;this._importDER(e,t)||(i(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function a(){this.place=0}function c(e,t){var r=e[t.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var o=0,i=0,s=t.place;i>>=0;return!(o<=127)&&(t.place=s,o)}function u(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}e.exports=s,s.prototype._importDER=function(e,t){e=o.toArray(e,t);var r=new a;if(48!==e[r.place++])return!1;var i=c(e,r);if(!1===i)return!1;if(i+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var s=c(e,r);if(!1===s)return!1;var u=e.slice(r.place,s+r.place);if(r.place+=s,2!==e[r.place++])return!1;var l=c(e,r);if(!1===l)return!1;if(e.length!==l+r.place)return!1;var f=e.slice(r.place,l+r.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new n(u),this.s=new n(f),this.recoveryParam=null,!0},s.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=u(t),r=u(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];l(n,t.length),(n=n.concat(t)).push(2),l(n,r.length);var i=n.concat(r),s=[48];return l(s,i.length),s=s.concat(i),o.encode(s,e)}},function(e,t,r){"use strict";var n=r(70),o=r(164),i=r(33),s=i.assert,a=i.parseBytes,c=r(518),u=r(519);function l(e){if(s("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof l))return new l(e);e=o[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}e.exports=l,l.prototype.sign=function(e,t){e=a(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),o=this.g.mul(n),i=this.encodePoint(o),s=this.hashInt(i,r.pubBytes(),e).mul(r.priv()),c=n.add(s).umod(this.curve.n);return this.makeSignature({R:o,S:c,Rencoded:i})},l.prototype.verify=function(e,t,r){e=a(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),o=this.hashInt(t.Rencoded(),n.pubBytes(),e),i=this.g.mul(t.S());return t.R().add(n.pub().mul(o)).eq(i)},l.prototype.hashInt=function(){for(var e=this.hash(),t=0;t=t)throw new Error("invalid sig")}e.exports=function(e,t,r,u,l){var f=s(r);if("ec"===f.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(e,t,r){var n=a[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var o=new i(n),s=r.data.subjectPrivateKey.data;return o.verify(t,e,s)}(e,t,f)}if("dsa"===f.type){if("dsa"!==u)throw new Error("wrong public key type");return function(e,t,r){var n=r.data.p,i=r.data.q,a=r.data.g,u=r.data.pub_key,l=s.signature.decode(e,"der"),f=l.s,d=l.r;c(f,i),c(d,i);var h=o.mont(n),p=f.invm(i);return 0===a.toRed(h).redPow(new o(t).mul(p).mod(i)).fromRed().mul(u.toRed(h).redPow(d.mul(p).mod(i)).fromRed()).mod(n).mod(i).cmp(d)}(e,t,f)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");t=n.concat([l,t]);for(var d=f.modulus.byteLength(),h=[1],p=0;t.length+h.length+2r-d-2)throw new Error("message too long");var h=f.alloc(r-n-d-2),p=r-l-1,g=o(l),m=a(f.concat([u,h,f.alloc(1,1),t],p),s(g,p)),y=a(g,s(m,l));return new c(f.concat([f.alloc(1),y,m],r))}(p,t);else if(1===d)h=function(e,t,r){var n,i=t.length,s=e.modulus.byteLength();if(i>s-11)throw new Error("message too long");n=r?f.alloc(s-i-3,255):function(e){var t,r=f.allocUnsafe(e),n=0,i=o(2*e),s=0;for(;n=0)throw new Error("data too long for modulus")}return r?l(h,p):u(h,p)}},function(e,t,r){var n=r(124),o=r(289),i=r(290),s=r(6),a=r(163),c=r(54),u=r(291),l=r(7).Buffer;e.exports=function(e,t,r){var f;f=e.padding?e.padding:r?1:4;var d,h=n(e),p=h.modulus.byteLength();if(t.length>p||new s(t).cmp(h.modulus)>=0)throw new Error("decryption error");d=r?u(new s(t),h):a(t,h);var g=l.alloc(p-d.length);if(d=l.concat([g,d],p),4===f)return function(e,t){var r=e.modulus.byteLength(),n=c("sha1").update(l.alloc(0)).digest(),s=n.length;if(0!==t[0])throw new Error("decryption error");var a=t.slice(1,s+1),u=t.slice(s+1),f=i(a,o(u,s)),d=i(u,o(f,r-s-1));if(function(e,t){e=l.from(e),t=l.from(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));var o=-1;for(;++o=t.length){i++;break}var s=t.slice(2,o-1);("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&i++;s.length<8&&i++;if(i)throw new Error("decryption error");return t.slice(o)}(0,d,r);if(3===f)return d;throw new Error("unknown padding")}},function(e,t,r){"use strict";(function(e,n){function o(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var i=r(7),s=r(62),a=i.Buffer,c=i.kMaxLength,u=e.crypto||e.msCrypto,l=Math.pow(2,32)-1;function f(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>l||e<0)throw new TypeError("offset must be a uint32");if(e>c||e>t)throw new RangeError("offset out of range")}function d(e,t,r){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>l||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>c)throw new RangeError("buffer too small")}function h(e,t,r,o){if(n.browser){var i=e.buffer,a=new Uint8Array(i,t,r);return u.getRandomValues(a),o?void n.nextTick((function(){o(null,e)})):e}if(!o)return s(r).copy(e,t),e;s(r,(function(r,n){if(r)return o(r);n.copy(e,t),o(null,e)}))}u&&u.getRandomValues||!n.browser?(t.randomFill=function(t,r,n,o){if(!(a.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof r)o=r,r=0,n=t.length;else if("function"==typeof n)o=n,n=t.length-r;else if("function"!=typeof o)throw new TypeError('"cb" argument must be a function');return f(r,t.length),d(n,r,t.length),h(t,r,n,o)},t.randomFillSync=function(t,r,n){void 0===r&&(r=0);if(!(a.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');f(r,t.length),void 0===n&&(n=t.length-r);return d(n,r,t.length),h(t,r,n)}):(t.randomFill=o,t.randomFillSync=o)}).call(this,r(12),r(13))},function(e,t){const r="Impossible case. Please create issue.",n="The tweak was out of range or the resulted private key is invalid",o="The tweak was out of range or equal to zero",i="Unknow error on context randomization",s="Private Key is invalid",a="Public Key could not be parsed",c="Public Key serialization error",u="The sum of the public keys is not valid",l="Signature could not be parsed",f="The nonce generation function failed, or the private key was invalid",d="Public key could not be recover",h="Scalar was invalid (zero or overflow)";function p(e,t){if(!e)throw new Error(t)}function g(e,t,r){if(p(t instanceof Uint8Array,`Expected ${e} to be an Uint8Array`),void 0!==r)if(Array.isArray(r)){const n=`Expected ${e} to be an Uint8Array with length [${r.join(", ")}]`;p(r.includes(t.length),n)}else{const n=`Expected ${e} to be an Uint8Array with length ${r}`;p(t.length===r,n)}}function m(e){p("Boolean"===b(e),"Expected compressed to be a Boolean")}function y(e=(e=>new Uint8Array(e)),t){return"function"==typeof e&&(e=e(t)),g("output",e,t),e}function b(e){return Object.prototype.toString.call(e).slice(8,-1)}e.exports=e=>({contextRandomize(t){switch(p(null===t||t instanceof Uint8Array,"Expected seed to be an Uint8Array or null"),null!==t&&g("seed",t,32),e.contextRandomize(t)){case 1:throw new Error(i)}},privateKeyVerify:t=>(g("private key",t,32),0===e.privateKeyVerify(t)),privateKeyNegate(t){switch(g("private key",t,32),e.privateKeyNegate(t)){case 0:return t;case 1:throw new Error(r)}},privateKeyTweakAdd(t,r){switch(g("private key",t,32),g("tweak",r,32),e.privateKeyTweakAdd(t,r)){case 0:return t;case 1:throw new Error(n)}},privateKeyTweakMul(t,r){switch(g("private key",t,32),g("tweak",r,32),e.privateKeyTweakMul(t,r)){case 0:return t;case 1:throw new Error(o)}},publicKeyVerify:t=>(g("public key",t,[33,65]),0===e.publicKeyVerify(t)),publicKeyCreate(t,r=!0,n){switch(g("private key",t,32),m(r),n=y(n,r?33:65),e.publicKeyCreate(n,t)){case 0:return n;case 1:throw new Error(s);case 2:throw new Error(c)}},publicKeyConvert(t,r=!0,n){switch(g("public key",t,[33,65]),m(r),n=y(n,r?33:65),e.publicKeyConvert(n,t)){case 0:return n;case 1:throw new Error(a);case 2:throw new Error(c)}},publicKeyNegate(t,n=!0,o){switch(g("public key",t,[33,65]),m(n),o=y(o,n?33:65),e.publicKeyNegate(o,t)){case 0:return o;case 1:throw new Error(a);case 2:throw new Error(r);case 3:throw new Error(c)}},publicKeyCombine(t,r=!0,n){p(Array.isArray(t),"Expected public keys to be an Array"),p(t.length>0,"Expected public keys array will have more than zero items");for(const e of t)g("public key",e,[33,65]);switch(m(r),n=y(n,r?33:65),e.publicKeyCombine(n,t)){case 0:return n;case 1:throw new Error(a);case 2:throw new Error(u);case 3:throw new Error(c)}},publicKeyTweakAdd(t,r,o=!0,i){switch(g("public key",t,[33,65]),g("tweak",r,32),m(o),i=y(i,o?33:65),e.publicKeyTweakAdd(i,t,r)){case 0:return i;case 1:throw new Error(a);case 2:throw new Error(n)}},publicKeyTweakMul(t,r,n=!0,i){switch(g("public key",t,[33,65]),g("tweak",r,32),m(n),i=y(i,n?33:65),e.publicKeyTweakMul(i,t,r)){case 0:return i;case 1:throw new Error(a);case 2:throw new Error(o)}},signatureNormalize(t){switch(g("signature",t,64),e.signatureNormalize(t)){case 0:return t;case 1:throw new Error(l)}},signatureExport(t,n){g("signature",t,64);const o={output:n=y(n,72),outputlen:72};switch(e.signatureExport(o,t)){case 0:return n.slice(0,o.outputlen);case 1:throw new Error(l);case 2:throw new Error(r)}},signatureImport(t,n){switch(g("signature",t),n=y(n,64),e.signatureImport(n,t)){case 0:return n;case 1:throw new Error(l);case 2:throw new Error(r)}},ecdsaSign(t,n,o={},i){g("message",t,32),g("private key",n,32),p("Object"===b(o),"Expected options to be an Object"),void 0!==o.data&&g("options.data",o.data),void 0!==o.noncefn&&p("Function"===b(o.noncefn),"Expected options.noncefn to be a Function");const s={signature:i=y(i,64),recid:null};switch(e.ecdsaSign(s,t,n,o.data,o.noncefn)){case 0:return s;case 1:throw new Error(f);case 2:throw new Error(r)}},ecdsaVerify(t,r,n){switch(g("signature",t,64),g("message",r,32),g("public key",n,[33,65]),e.ecdsaVerify(t,r,n)){case 0:return!0;case 3:return!1;case 1:throw new Error(l);case 2:throw new Error(a)}},ecdsaRecover(t,n,o,i=!0,s){switch(g("signature",t,64),p("Number"===b(n)&&n>=0&&n<=3,"Expected recovery id to be a Number within interval [0, 3]"),g("message",o,32),m(i),s=y(s,i?33:65),e.ecdsaRecover(s,t,n,o)){case 0:return s;case 1:throw new Error(l);case 2:throw new Error(d);case 3:throw new Error(r)}},ecdh(t,r,n={},o){switch(g("public key",t,[33,65]),g("private key",r,32),p("Object"===b(n),"Expected options to be an Object"),void 0!==n.data&&g("options.data",n.data),void 0!==n.hashfn?(p("Function"===b(n.hashfn),"Expected options.hashfn to be a Function"),void 0!==n.xbuf&&g("options.xbuf",n.xbuf,32),void 0!==n.ybuf&&g("options.ybuf",n.ybuf,32),g("output",o)):o=y(o,32),e.ecdh(o,t,r,n.data,n.hashfn,n.xbuf,n.ybuf)){case 0:return o;case 1:throw new Error(a);case 2:throw new Error(h)}}})},function(e,t,r){const n=new(0,r(45).ec)("secp256k1"),o=n.curve,i=o.n.constructor;function s(e){const t=e[0];switch(t){case 2:case 3:return 33!==e.length?null:function(e,t){let r=new i(t);if(r.cmp(o.p)>=0)return null;r=r.toRed(o.red);let s=r.redSqr().redIMul(r).redIAdd(o.b).redSqrt();return 3===e!==s.isOdd()&&(s=s.redNeg()),n.keyPair({pub:{x:r,y:s}})}(t,e.subarray(1,33));case 4:case 6:case 7:return 65!==e.length?null:function(e,t,r){let s=new i(t),a=new i(r);if(s.cmp(o.p)>=0||a.cmp(o.p)>=0)return null;if(s=s.toRed(o.red),a=a.toRed(o.red),(6===e||7===e)&&a.isOdd()!==(7===e))return null;const c=s.redSqr().redIMul(s);return a.redSqr().redISub(c.redIAdd(o.b)).isZero()?n.keyPair({pub:{x:s,y:a}}):null}(t,e.subarray(1,33),e.subarray(33,65));default:return null}}function a(e,t){const r=t.encode(null,33===e.length);for(let t=0;t0,privateKeyVerify(e){const t=new i(e);return t.cmp(o.n)<0&&!t.isZero()?0:1},privateKeyNegate(e){const t=new i(e),r=o.n.sub(t).umod(o.n).toArrayLike(Uint8Array,"be",32);return e.set(r),0},privateKeyTweakAdd(e,t){const r=new i(t);if(r.cmp(o.n)>=0)return 1;if(r.iadd(new i(e)),r.cmp(o.n)>=0&&r.isub(o.n),r.isZero())return 1;const n=r.toArrayLike(Uint8Array,"be",32);return e.set(n),0},privateKeyTweakMul(e,t){let r=new i(t);if(r.cmp(o.n)>=0||r.isZero())return 1;r.imul(new i(e)),r.cmp(o.n)>=0&&(r=r.umod(o.n));const n=r.toArrayLike(Uint8Array,"be",32);return e.set(n),0},publicKeyVerify:e=>null===s(e)?1:0,publicKeyCreate(e,t){const r=new i(t);if(r.cmp(o.n)>=0||r.isZero())return 1;return a(e,n.keyFromPrivate(t).getPublic()),0},publicKeyConvert(e,t){const r=s(t);if(null===r)return 1;return a(e,r.getPublic()),0},publicKeyNegate(e,t){const r=s(t);if(null===r)return 1;const n=r.getPublic();return n.y=n.y.redNeg(),a(e,n),0},publicKeyCombine(e,t){const r=new Array(t.length);for(let e=0;e=0)return 2;const c=n.getPublic().add(o.g.mul(r));return c.isInfinity()?2:(a(e,c),0)},publicKeyTweakMul(e,t,r){const n=s(t);if(null===n)return 1;if((r=new i(r)).cmp(o.n)>=0||r.isZero())return 2;return a(e,n.getPublic().mul(r)),0},signatureNormalize(e){const t=new i(e.subarray(0,32)),r=new i(e.subarray(32,64));return t.cmp(o.n)>=0||r.cmp(o.n)>=0?1:(1===r.cmp(n.nh)&&e.set(o.n.sub(r).toArrayLike(Uint8Array,"be",32),32),0)},signatureExport(e,t){const r=t.subarray(0,32),n=t.subarray(32,64);if(new i(r).cmp(o.n)>=0)return 1;if(new i(n).cmp(o.n)>=0)return 1;const{output:s}=e;let a=s.subarray(4,37);a[0]=0,a.set(r,1);let c=33,u=0;for(;c>1&&0===a[u]&&!(128&a[u+1]);--c,++u);if(a=a.subarray(u),128&a[0])return 1;if(c>1&&0===a[0]&&!(128&a[1]))return 1;let l=s.subarray(39,72);l[0]=0,l.set(n,1);let f=33,d=0;for(;f>1&&0===l[d]&&!(128&l[d+1]);--f,++d);return l=l.subarray(d),128&l[0]||f>1&&0===l[0]&&!(128&l[1])?1:(e.outputlen=6+c+f,s[0]=48,s[1]=e.outputlen-2,s[2]=2,s[3]=a.length,s.set(a,4),s[4+c]=2,s[5+c]=l.length,s.set(l,6+c),0)},signatureImport(e,t){if(t.length<8)return 1;if(t.length>72)return 1;if(48!==t[0])return 1;if(t[1]!==t.length-2)return 1;if(2!==t[2])return 1;const r=t[3];if(0===r)return 1;if(5+r>=t.length)return 1;if(2!==t[4+r])return 1;const n=t[5+r];if(0===n)return 1;if(6+r+n!==t.length)return 1;if(128&t[4])return 1;if(r>1&&0===t[4]&&!(128&t[5]))return 1;if(128&t[r+6])return 1;if(n>1&&0===t[r+6]&&!(128&t[r+7]))return 1;let s=t.subarray(4,4+r);if(33===s.length&&0===s[0]&&(s=s.subarray(1)),s.length>32)return 1;let a=t.subarray(6+r);if(33===a.length&&0===a[0]&&(a=a.slice(1)),a.length>32)throw new Error("S length is too long");let c=new i(s);c.cmp(o.n)>=0&&(c=new i(0));let u=new i(t.subarray(6+r));return u.cmp(o.n)>=0&&(u=new i(0)),e.set(c.toArrayLike(Uint8Array,"be",32),0),e.set(u.toArrayLike(Uint8Array,"be",32),32),0},ecdsaSign(e,t,r,s,a){if(a){const e=a;a=n=>{const o=e(t,r,null,s,n);if(!(o instanceof Uint8Array&&32===o.length))throw new Error("This is the way");return new i(o)}}const c=new i(r);if(c.cmp(o.n)>=0||c.isZero())return 1;let u;try{u=n.sign(t,r,{canonical:!0,k:a,pers:s})}catch(e){return 1}return e.signature.set(u.r.toArrayLike(Uint8Array,"be",32),0),e.signature.set(u.s.toArrayLike(Uint8Array,"be",32),32),e.recid=u.recoveryParam,0},ecdsaVerify(e,t,r){const a={r:e.subarray(0,32),s:e.subarray(32,64)},c=new i(a.r),u=new i(a.s);if(c.cmp(o.n)>=0||u.cmp(o.n)>=0)return 1;if(1===u.cmp(n.nh)||c.isZero()||u.isZero())return 3;const l=s(r);if(null===l)return 2;const f=l.getPublic();return n.verify(t,a,f)?0:3},ecdsaRecover(e,t,r,s){const c={r:t.slice(0,32),s:t.slice(32,64)},u=new i(c.r),l=new i(c.s);if(u.cmp(o.n)>=0||l.cmp(o.n)>=0)return 1;if(u.isZero()||l.isZero())return 2;let f;try{f=n.recoverPubKey(s,c,r)}catch(e){return 2}return a(e,f),0},ecdh(e,t,r,a,c,u,l){const f=s(t);if(null===f)return 1;const d=new i(r);if(d.cmp(o.n)>=0||d.isZero())return 2;const h=f.getPublic().mul(d);if(void 0===c){const t=h.encode(null,!0),r=n.hash().update(t).digest();for(let t=0;t<32;++t)e[t]=r[t]}else{u||(u=new Uint8Array(32));const t=h.getX().toArray("be",32);for(let e=0;e<32;++e)u[e]=t[e];l||(l=new Uint8Array(32));const r=h.getY().toArray("be",32);for(let e=0;e<32;++e)l[e]=r[e];const n=c(u,l,a);if(!(n instanceof Uint8Array&&n.length===e.length))return 2;e.set(n)}return 0}}},function(e,t,r){"use strict";var n=r(539),o=r(57),i=r(294),s=r(169),a=r(295),c=Object.prototype.toString;function u(e){if(!(this instanceof u))return new u(e);this.options=o.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==r)throw new Error(s[r]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var l;if(l="string"==typeof t.dictionary?i.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(r=n.deflateSetDictionary(this.strm,l)))throw new Error(s[r]);this._dict_set=!0}}function l(e,t){var r=new u(t);if(r.push(e,!0),r.err)throw r.msg||s[r.err];return r.result}u.prototype.push=function(e,t){var r,s,a=this.strm,u=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:!0===t?4:0,"string"==typeof e?a.input=i.string2buf(e):"[object ArrayBuffer]"===c.call(e)?a.input=new Uint8Array(e):a.input=e,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new o.Buf8(u),a.next_out=0,a.avail_out=u),1!==(r=n.deflate(a,s))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==a.avail_out&&(0!==a.avail_in||4!==s&&2!==s)||("string"===this.options.to?this.onData(i.buf2binstring(o.shrinkBuf(a.output,a.next_out))):this.onData(o.shrinkBuf(a.output,a.next_out)))}while((a.avail_in>0||0===a.avail_out)&&1!==r);return 4===s?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==s||(this.onEnd(0),a.avail_out=0,!0)},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Deflate=u,t.deflate=l,t.deflateRaw=function(e,t){return(t=t||{}).raw=!0,l(e,t)},t.gzip=function(e,t){return(t=t||{}).gzip=!0,l(e,t)}},function(e,t,r){"use strict";var n,o=r(57),i=r(540),s=r(292),a=r(293),c=r(169);function u(e,t){return e.msg=c[t],t}function l(e){return(e<<1)-(e>4?9:0)}function f(e){for(var t=e.length;--t>=0;)e[t]=0}function d(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(o.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function h(e,t){i._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,d(e.strm)}function p(e,t){e.pending_buf[e.pending++]=t}function g(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function m(e,t){var r,n,o=e.max_chain_length,i=e.strstart,s=e.prev_length,a=e.nice_match,c=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,u=e.window,l=e.w_mask,f=e.prev,d=e.strstart+258,h=u[i+s-1],p=u[i+s];e.prev_length>=e.good_match&&(o>>=2),a>e.lookahead&&(a=e.lookahead);do{if(u[(r=t)+s]===p&&u[r+s-1]===h&&u[r]===u[i]&&u[++r]===u[i+1]){i+=2,r++;do{}while(u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&is){if(e.match_start=t,s=n,n>=a)break;h=u[i+s-1],p=u[i+s]}}}while((t=f[t&l])>c&&0!=--o);return s<=e.lookahead?s:e.lookahead}function y(e){var t,r,n,i,c,u,l,f,d,h,p=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-262)){o.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=p?n-p:0}while(--r);t=r=p;do{n=e.prev[--t],e.prev[t]=n>=p?n-p:0}while(--r);i+=p}if(0===e.strm.avail_in)break;if(u=e.strm,l=e.window,f=e.strstart+e.lookahead,d=i,h=void 0,(h=u.avail_in)>d&&(h=d),r=0===h?0:(u.avail_in-=h,o.arraySet(l,u.input,u.next_in,h,f),1===u.state.wrap?u.adler=s(u.adler,l,h,f):2===u.state.wrap&&(u.adler=a(u.adler,l,h,f)),u.next_in+=h,u.total_in+=h,h),e.lookahead+=r,e.lookahead+e.insert>=3)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3)if(n=i._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){o=e.strstart+e.lookahead-3,n=i._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=o&&(e.ins_h=(e.ins_h<15&&(a=2,n-=16),i<1||i>9||8!==r||n<8||n>15||t<0||t>9||s<0||s>4)return u(e,-2);8===n&&(n=9);var c=new _;return e.state=c,c.strm=e,c.wrap=a,c.gzhead=null,c.w_bits=n,c.w_size=1<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(y(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,h(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-262&&(h(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(h(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(h(e,!1),e.strm.avail_out),1)})),new w(4,4,8,4,b),new w(4,5,16,8,b),new w(4,6,32,32,b),new w(4,4,16,16,v),new w(8,16,32,32,v),new w(8,16,128,128,v),new w(8,32,128,256,v),new w(32,128,258,1024,v),new w(32,258,258,4096,v)],t.deflateInit=function(e,t){return S(e,t,8,15,8,0)},t.deflateInit2=S,t.deflateReset=O,t.deflateResetKeep=k,t.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?-2:(e.state.gzhead=t,0):-2},t.deflate=function(e,t){var r,o,s,c;if(!e||!e.state||t>5||t<0)return e?u(e,-2):-2;if(o=e.state,!e.output||!e.input&&0!==e.avail_in||666===o.status&&4!==t)return u(e,0===e.avail_out?-5:-2);if(o.strm=e,r=o.last_flush,o.last_flush=t,42===o.status)if(2===o.wrap)e.adler=0,p(o,31),p(o,139),p(o,8),o.gzhead?(p(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),p(o,255&o.gzhead.time),p(o,o.gzhead.time>>8&255),p(o,o.gzhead.time>>16&255),p(o,o.gzhead.time>>24&255),p(o,9===o.level?2:o.strategy>=2||o.level<2?4:0),p(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(p(o,255&o.gzhead.extra.length),p(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(e.adler=a(e.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=69):(p(o,0),p(o,0),p(o,0),p(o,0),p(o,0),p(o,9===o.level?2:o.strategy>=2||o.level<2?4:0),p(o,3),o.status=113);else{var m=8+(o.w_bits-8<<4)<<8;m|=(o.strategy>=2||o.level<2?0:o.level<6?1:6===o.level?2:3)<<6,0!==o.strstart&&(m|=32),m+=31-m%31,o.status=113,g(o,m),0!==o.strstart&&(g(o,e.adler>>>16),g(o,65535&e.adler)),e.adler=1}if(69===o.status)if(o.gzhead.extra){for(s=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>s&&(e.adler=a(e.adler,o.pending_buf,o.pending-s,s)),d(e),s=o.pending,o.pending!==o.pending_buf_size));)p(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>s&&(e.adler=a(e.adler,o.pending_buf,o.pending-s,s)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=73)}else o.status=73;if(73===o.status)if(o.gzhead.name){s=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>s&&(e.adler=a(e.adler,o.pending_buf,o.pending-s,s)),d(e),s=o.pending,o.pending===o.pending_buf_size)){c=1;break}c=o.gzindexs&&(e.adler=a(e.adler,o.pending_buf,o.pending-s,s)),0===c&&(o.gzindex=0,o.status=91)}else o.status=91;if(91===o.status)if(o.gzhead.comment){s=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>s&&(e.adler=a(e.adler,o.pending_buf,o.pending-s,s)),d(e),s=o.pending,o.pending===o.pending_buf_size)){c=1;break}c=o.gzindexs&&(e.adler=a(e.adler,o.pending_buf,o.pending-s,s)),0===c&&(o.status=103)}else o.status=103;if(103===o.status&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&d(e),o.pending+2<=o.pending_buf_size&&(p(o,255&e.adler),p(o,e.adler>>8&255),e.adler=0,o.status=113)):o.status=113),0!==o.pending){if(d(e),0===e.avail_out)return o.last_flush=-1,0}else if(0===e.avail_in&&l(t)<=l(r)&&4!==t)return u(e,-5);if(666===o.status&&0!==e.avail_in)return u(e,-5);if(0!==e.avail_in||0!==o.lookahead||0!==t&&666!==o.status){var b=2===o.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(y(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(h(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(h(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(h(e,!1),0===e.strm.avail_out)?1:2}(o,t):3===o.strategy?function(e,t){for(var r,n,o,s,a=e.window;;){if(e.lookahead<=258){if(y(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(n=a[o=e.strstart-1])===a[++o]&&n===a[++o]&&n===a[++o]){s=e.strstart+258;do{}while(n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&oe.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=i._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(h(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(h(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(h(e,!1),0===e.strm.avail_out)?1:2}(o,t):n[o.level].func(o,t);if(3!==b&&4!==b||(o.status=666),1===b||3===b)return 0===e.avail_out&&(o.last_flush=-1),0;if(2===b&&(1===t?i._tr_align(o):5!==t&&(i._tr_stored_block(o,0,0,!1),3===t&&(f(o.head),0===o.lookahead&&(o.strstart=0,o.block_start=0,o.insert=0))),d(e),0===e.avail_out))return o.last_flush=-1,0}return 4!==t?0:o.wrap<=0?1:(2===o.wrap?(p(o,255&e.adler),p(o,e.adler>>8&255),p(o,e.adler>>16&255),p(o,e.adler>>24&255),p(o,255&e.total_in),p(o,e.total_in>>8&255),p(o,e.total_in>>16&255),p(o,e.total_in>>24&255)):(g(o,e.adler>>>16),g(o,65535&e.adler)),d(e),o.wrap>0&&(o.wrap=-o.wrap),0!==o.pending?0:1)},t.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?u(e,-2):(e.state=null,113===t?u(e,-3):0):-2},t.deflateSetDictionary=function(e,t){var r,n,i,a,c,u,l,d,h=t.length;if(!e||!e.state)return-2;if(2===(a=(r=e.state).wrap)||1===a&&42!==r.status||r.lookahead)return-2;for(1===a&&(e.adler=s(e.adler,t,h,0)),r.wrap=0,h>=r.w_size&&(0===a&&(f(r.head),r.strstart=0,r.block_start=0,r.insert=0),d=new o.Buf8(r.w_size),o.arraySet(d,t,h-r.w_size,r.w_size,0),t=d,h=r.w_size),c=e.avail_in,u=e.next_in,l=e.input,e.avail_in=h,e.next_in=0,e.input=t,y(r);r.lookahead>=3;){n=r.strstart,i=r.lookahead-2;do{r.ins_h=(r.ins_h<=0;)e[t]=0}var i=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],s=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],c=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],u=new Array(576);o(u);var l=new Array(60);o(l);var f=new Array(512);o(f);var d=new Array(256);o(d);var h=new Array(29);o(h);var p,g,m,y=new Array(30);function b(e,t,r,n,o){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=o,this.has_stree=e&&e.length}function v(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function w(e){return e<256?f[e]:f[256+(e>>>7)]}function _(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function k(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<>>=1,r<<=1}while(--t>0);return r>>>1}function E(e,t,r){var n,o,i=new Array(16),s=0;for(n=1;n<=15;n++)i[n]=s=s+r[n-1]<<1;for(o=0;o<=t;o++){var a=e[2*o+1];0!==a&&(e[2*o]=S(i[a]++,a))}}function j(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function P(e){e.bi_valid>8?_(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function A(e,t,r,n){var o=2*t,i=2*r;return e[o]>1;r>=1;r--)x(e,i,r);o=c;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],x(e,i,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,i[2*o]=i[2*r]+i[2*n],e.depth[o]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,i[2*r+1]=i[2*n+1]=o,e.heap[1]=o++,x(e,i,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,o,i,s,a,c=t.dyn_tree,u=t.max_code,l=t.stat_desc.static_tree,f=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,p=t.stat_desc.max_length,g=0;for(i=0;i<=15;i++)e.bl_count[i]=0;for(c[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)(i=c[2*c[2*(n=e.heap[r])+1]+1]+1)>p&&(i=p,g++),c[2*n+1]=i,n>u||(e.bl_count[i]++,s=0,n>=h&&(s=d[n-h]),a=c[2*n],e.opt_len+=a*(i+s),f&&(e.static_len+=a*(l[2*n+1]+s)));if(0!==g){do{for(i=p-1;0===e.bl_count[i];)i--;e.bl_count[i]--,e.bl_count[i+1]+=2,e.bl_count[p]--,g-=2}while(g>0);for(i=p;0!==i;i--)for(n=e.bl_count[i];0!==n;)(o=e.heap[--r])>u||(c[2*o+1]!==i&&(e.opt_len+=(i-c[2*o+1])*c[2*o],c[2*o+1]=i),n--)}}(e,t),E(i,u,e.bl_count)}function C(e,t,r){var n,o,i=-1,s=t[1],a=0,c=7,u=4;for(0===s&&(c=138,u=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)o=s,s=t[2*(n+1)+1],++a>=7;n<30;n++)for(y[n]=o<<7,e=0;e<1<0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),I(e,e.l_desc),I(e,e.d_desc),s=function(e){var t;for(C(e,e.dyn_ltree,e.l_desc.max_code),C(e,e.dyn_dtree,e.d_desc.max_code),I(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*c[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),o=e.opt_len+3+7>>>3,(i=e.static_len+3+7>>>3)<=o&&(o=i)):o=i=r+5,r+4<=o&&-1!==t?N(e,t,r,n):4===e.strategy||i===o?(k(e,2+(n?1:0),3),M(e,u,l)):(k(e,4+(n?1:0),3),function(e,t,r,n){var o;for(k(e,t-257,5),k(e,r-1,5),k(e,n-4,4),o=0;o>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(d[r]+256+1)]++,e.dyn_dtree[2*w(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){k(e,2,3),O(e,256,u),function(e){16===e.bi_valid?(_(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},function(e,t,r){"use strict";var n=r(542),o=r(57),i=r(294),s=r(296),a=r(169),c=r(295),u=r(545),l=Object.prototype.toString;function f(e){if(!(this instanceof f))return new f(e);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==s.Z_OK)throw new Error(a[r]);if(this.header=new u,n.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=i.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=n.inflateSetDictionary(this.strm,t.dictionary))!==s.Z_OK))throw new Error(a[r])}function d(e,t){var r=new f(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}f.prototype.push=function(e,t){var r,a,c,u,f,d=this.strm,h=this.options.chunkSize,p=this.options.dictionary,g=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof e?d.input=i.binstring2buf(e):"[object ArrayBuffer]"===l.call(e)?d.input=new Uint8Array(e):d.input=e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new o.Buf8(h),d.next_out=0,d.avail_out=h),(r=n.inflate(d,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===s.Z_BUF_ERROR&&!0===g&&(r=s.Z_OK,g=!1),r!==s.Z_STREAM_END&&r!==s.Z_OK)return this.onEnd(r),this.ended=!0,!1;d.next_out&&(0!==d.avail_out&&r!==s.Z_STREAM_END&&(0!==d.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(c=i.utf8border(d.output,d.next_out),u=d.next_out-c,f=i.buf2string(d.output,c),d.next_out=u,d.avail_out=h-u,u&&o.arraySet(d.output,d.output,c,u,0),this.onData(f)):this.onData(o.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(g=!0)}while((d.avail_in>0||0===d.avail_out)&&r!==s.Z_STREAM_END);return r===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),d.avail_out=0,!0)},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=f,t.inflate=d,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,d(e,t)},t.ungzip=d},function(e,t,r){"use strict";var n=r(57),o=r(292),i=r(293),s=r(543),a=r(544);function c(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function u(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function l(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(852),t.distcode=t.distdyn=new n.Buf32(592),t.sane=1,t.back=-1,0):-2}function f(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,l(e)):-2}function d(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,f(e))):-2}function h(e,t){var r,n;return e?(n=new u,e.state=n,n.window=null,0!==(r=d(e,t))&&(e.state=null),r):-2}var p,g,m=!0;function y(e){if(m){var t;for(p=new n.Buf32(512),g=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(1,e.lens,0,288,p,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(2,e.lens,0,32,g,0,e.work,{bits:5}),m=!1}e.lencode=p,e.lenbits=9,e.distcode=g,e.distbits=5}function b(e,t,r,o){var i,s=e.state;return null===s.window&&(s.wsize=1<=s.wsize?(n.arraySet(s.window,t,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((i=s.wsize-s.wnext)>o&&(i=o),n.arraySet(s.window,t,r-o,i,s.wnext),(o-=i)?(n.arraySet(s.window,t,r-o,o,0),s.wnext=o,s.whave=s.wsize):(s.wnext+=i,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=i(r.check,N,2,0),g=0,m=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&g)<<8)+(g>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&g)){e.msg="unknown compression method",r.mode=30;break}if(m-=4,M=8+(15&(g>>>=4)),0===r.wbits)r.wbits=M;else if(M>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(N[0]=255&g,N[1]=g>>>8&255,r.check=i(r.check,N,2,0)),g=0,m=0,r.mode=3;case 3:for(;m<32;){if(0===h)break e;h--,g+=u[f++]<>>8&255,N[2]=g>>>16&255,N[3]=g>>>24&255,r.check=i(r.check,N,4,0)),g=0,m=0,r.mode=4;case 4:for(;m<16;){if(0===h)break e;h--,g+=u[f++]<>8),512&r.flags&&(N[0]=255&g,N[1]=g>>>8&255,r.check=i(r.check,N,2,0)),g=0,m=0,r.mode=5;case 5:if(1024&r.flags){for(;m<16;){if(0===h)break e;h--,g+=u[f++]<>>8&255,r.check=i(r.check,N,2,0)),g=0,m=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((_=r.length)>h&&(_=h),_&&(r.head&&(M=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,u,f,_,M)),512&r.flags&&(r.check=i(r.check,u,_,f)),h-=_,f+=_,r.length-=_),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===h)break e;_=0;do{M=u[f+_++],r.head&&M&&r.length<65536&&(r.head.name+=String.fromCharCode(M))}while(M&&_>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;m<32;){if(0===h)break e;h--,g+=u[f++]<>>=7&m,m-=7&m,r.mode=27;break}for(;m<3;){if(0===h)break e;h--,g+=u[f++]<>>=1)){case 0:r.mode=14;break;case 1:if(y(r),r.mode=20,6===t){g>>>=2,m-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}g>>>=2,m-=2;break;case 14:for(g>>>=7&m,m-=7&m;m<32;){if(0===h)break e;h--,g+=u[f++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&g,g=0,m=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(_=r.length){if(_>h&&(_=h),_>p&&(_=p),0===_)break e;n.arraySet(l,u,f,_,d),h-=_,f+=_,p-=_,d+=_,r.length-=_;break}r.mode=12;break;case 17:for(;m<14;){if(0===h)break e;h--,g+=u[f++]<>>=5,m-=5,r.ndist=1+(31&g),g>>>=5,m-=5,r.ncode=4+(15&g),g>>>=4,m-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have>>=3,m-=3}for(;r.have<19;)r.lens[B[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},I=a(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,I){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,j=65535&T,!((S=T>>>24)<=m);){if(0===h)break e;h--,g+=u[f++]<>>=S,m-=S,r.lens[r.have++]=j;else{if(16===j){for(R=S+2;m>>=S,m-=S,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}M=r.lens[r.have-1],_=3+(3&g),g>>>=2,m-=2}else if(17===j){for(R=S+3;m>>=S)),g>>>=3,m-=3}else{for(R=S+7;m>>=S)),g>>>=7,m-=7}if(r.have+_>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;_--;)r.lens[r.have++]=M}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,C={bits:r.lenbits},I=a(1,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,I){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},I=a(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,I){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(h>=6&&p>=258){e.next_out=d,e.avail_out=p,e.next_in=f,e.avail_in=h,r.hold=g,r.bits=m,s(e,w),d=e.next_out,l=e.output,p=e.avail_out,f=e.next_in,u=e.input,h=e.avail_in,g=r.hold,m=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;E=(T=r.lencode[g&(1<>>16&255,j=65535&T,!((S=T>>>24)<=m);){if(0===h)break e;h--,g+=u[f++]<>P)])>>>16&255,j=65535&T,!(P+(S=T>>>24)<=m);){if(0===h)break e;h--,g+=u[f++]<>>=P,m-=P,r.back+=P}if(g>>>=S,m-=S,r.back+=S,r.length=j,0===E){r.mode=26;break}if(32&E){r.back=-1,r.mode=12;break}if(64&E){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&E,r.mode=22;case 22:if(r.extra){for(R=r.extra;m>>=r.extra,m-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;E=(T=r.distcode[g&(1<>>16&255,j=65535&T,!((S=T>>>24)<=m);){if(0===h)break e;h--,g+=u[f++]<>P)])>>>16&255,j=65535&T,!(P+(S=T>>>24)<=m);){if(0===h)break e;h--,g+=u[f++]<>>=P,m-=P,r.back+=P}if(g>>>=S,m-=S,r.back+=S,64&E){e.msg="invalid distance code",r.mode=30;break}r.offset=j,r.extra=15&E,r.mode=24;case 24:if(r.extra){for(R=r.extra;m>>=r.extra,m-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===p)break e;if(_=w-p,r.offset>_){if((_=r.offset-_)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}_>r.wnext?(_-=r.wnext,k=r.wsize-_):k=r.wnext-_,_>r.length&&(_=r.length),O=r.window}else O=l,k=d-r.offset,_=r.length;_>p&&(_=p),p-=_,r.length-=_;do{l[d++]=O[k++]}while(--_);0===r.length&&(r.mode=21);break;case 26:if(0===p)break e;l[d++]=r.length,p--,r.mode=21;break;case 27:if(r.wrap){for(;m<32;){if(0===h)break e;h--,g|=u[f++]<>>=w=v>>>24,p-=w,0===(w=v>>>16&255))j[i++]=65535&v;else{if(!(16&w)){if(0==(64&w)){v=g[(65535&v)+(h&(1<>>=w,p-=w),p<15&&(h+=E[n++]<>>=w=v>>>24,p-=w,!(16&(w=v>>>16&255))){if(0==(64&w)){v=m[(65535&v)+(h&(1<c){e.msg="invalid distance too far back",r.mode=30;break e}if(h>>>=w,p-=w,k>(w=i-s)){if((w=k-w)>l&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(O=0,S=d,0===f){if(O+=u-w,w<_){_-=w;do{j[i++]=d[O++]}while(--w);O=i-k,S=j}}else if(f2;)j[i++]=S[O++],j[i++]=S[O++],j[i++]=S[O++],_-=3;_&&(j[i++]=S[O++],_>1&&(j[i++]=S[O++]))}else{O=i-k;do{j[i++]=j[O++],j[i++]=j[O++],j[i++]=j[O++],_-=3}while(_>2);_&&(j[i++]=j[O++],_>1&&(j[i++]=j[O++]))}break}}break}}while(n>3,h&=(1<<(p-=_<<3))-1,e.next_in=n,e.next_out=i,e.avail_in=n=1&&0===N[j];j--);if(P>j&&(P=j),0===j)return u[l++]=20971520,u[l++]=20971520,d.bits=1,0;for(E=1;E0&&(0===e||1!==j))return-1;for(B[1]=0,O=1;O<15;O++)B[O+1]=B[O]+N[O];for(S=0;S852||2===e&&I>592)return 1;for(;;){v=O-x,f[S]b?(w=D[L+f[S]],_=R[T+f[S]]):(w=96,_=0),h=1<>x)+(p-=h)]=v<<24|w<<16|_|0}while(0!==p);for(h=1<>=1;if(0!==h?(C&=h-1,C+=h):C=0,S++,0==--N[O]){if(O===j)break;O=t[r+f[S]]}if(O>P&&(C&m)!==g){for(0===x&&(x=P),y+=E,M=1<<(A=O-x);A+x852||2===e&&I>592)return 1;u[g=C&m]=P<<24|A<<16|y-l|0}}return 0!==C&&(u[y+C]=O-x<<24|64<<16|0),d.bits=P,0}},function(e,t,r){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},,function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.Mnemonic=void 0;const o=r(69),i=r(557),s=r(2);class a{static generateWallet(e,t="m/44'/118'/0'/0/0",r="",o=256){return n(this,void 0,void 0,(function*(){const n=yield a.generateSeed(e,o);return{privKey:a.generateWalletFromMnemonic(n,t,r),mnemonic:n}}))}static validateMnemonic(e){o.validateMnemonic(e)}static generateSeed(e,t=128){return n(this,void 0,void 0,(function*(){if(t%32!=0)throw new TypeError("invalid entropy");let r=new Uint8Array(t/8);return r=yield e(r),o.entropyToMnemonic(s.Buffer.from(r).toString("hex"))}))}static generateWalletFromMnemonic(e,t="m/44'/118'/0'/0/0",r=""){const n=o.mnemonicToSeedSync(e,r),s=i.fromSeed(n).derivePath(t).privateKey;if(!s)throw new Error("null hd key");return s}}t.Mnemonic=a},function(e){e.exports=JSON.parse('["abdikace","abeceda","adresa","agrese","akce","aktovka","alej","alkohol","amputace","ananas","andulka","anekdota","anketa","antika","anulovat","archa","arogance","asfalt","asistent","aspirace","astma","astronom","atlas","atletika","atol","autobus","azyl","babka","bachor","bacil","baculka","badatel","bageta","bagr","bahno","bakterie","balada","baletka","balkon","balonek","balvan","balza","bambus","bankomat","barbar","baret","barman","baroko","barva","baterka","batoh","bavlna","bazalka","bazilika","bazuka","bedna","beran","beseda","bestie","beton","bezinka","bezmoc","beztak","bicykl","bidlo","biftek","bikiny","bilance","biograf","biolog","bitva","bizon","blahobyt","blatouch","blecha","bledule","blesk","blikat","blizna","blokovat","bloudit","blud","bobek","bobr","bodlina","bodnout","bohatost","bojkot","bojovat","bokorys","bolest","borec","borovice","bota","boubel","bouchat","bouda","boule","bourat","boxer","bradavka","brambora","branka","bratr","brepta","briketa","brko","brloh","bronz","broskev","brunetka","brusinka","brzda","brzy","bublina","bubnovat","buchta","buditel","budka","budova","bufet","bujarost","bukvice","buldok","bulva","bunda","bunkr","burza","butik","buvol","buzola","bydlet","bylina","bytovka","bzukot","capart","carevna","cedr","cedule","cejch","cejn","cela","celer","celkem","celnice","cenina","cennost","cenovka","centrum","cenzor","cestopis","cetka","chalupa","chapadlo","charita","chata","chechtat","chemie","chichot","chirurg","chlad","chleba","chlubit","chmel","chmura","chobot","chochol","chodba","cholera","chomout","chopit","choroba","chov","chrapot","chrlit","chrt","chrup","chtivost","chudina","chutnat","chvat","chvilka","chvost","chyba","chystat","chytit","cibule","cigareta","cihelna","cihla","cinkot","cirkus","cisterna","citace","citrus","cizinec","cizost","clona","cokoliv","couvat","ctitel","ctnost","cudnost","cuketa","cukr","cupot","cvaknout","cval","cvik","cvrkot","cyklista","daleko","dareba","datel","datum","dcera","debata","dechovka","decibel","deficit","deflace","dekl","dekret","demokrat","deprese","derby","deska","detektiv","dikobraz","diktovat","dioda","diplom","disk","displej","divadlo","divoch","dlaha","dlouho","dluhopis","dnes","dobro","dobytek","docent","dochutit","dodnes","dohled","dohoda","dohra","dojem","dojnice","doklad","dokola","doktor","dokument","dolar","doleva","dolina","doma","dominant","domluvit","domov","donutit","dopad","dopis","doplnit","doposud","doprovod","dopustit","dorazit","dorost","dort","dosah","doslov","dostatek","dosud","dosyta","dotaz","dotek","dotknout","doufat","doutnat","dovozce","dozadu","doznat","dozorce","drahota","drak","dramatik","dravec","draze","drdol","drobnost","drogerie","drozd","drsnost","drtit","drzost","duben","duchovno","dudek","duha","duhovka","dusit","dusno","dutost","dvojice","dvorec","dynamit","ekolog","ekonomie","elektron","elipsa","email","emise","emoce","empatie","epizoda","epocha","epopej","epos","esej","esence","eskorta","eskymo","etiketa","euforie","evoluce","exekuce","exkurze","expedice","exploze","export","extrakt","facka","fajfka","fakulta","fanatik","fantazie","farmacie","favorit","fazole","federace","fejeton","fenka","fialka","figurant","filozof","filtr","finance","finta","fixace","fjord","flanel","flirt","flotila","fond","fosfor","fotbal","fotka","foton","frakce","freska","fronta","fukar","funkce","fyzika","galeje","garant","genetika","geolog","gilotina","glazura","glejt","golem","golfista","gotika","graf","gramofon","granule","grep","gril","grog","groteska","guma","hadice","hadr","hala","halenka","hanba","hanopis","harfa","harpuna","havran","hebkost","hejkal","hejno","hejtman","hektar","helma","hematom","herec","herna","heslo","hezky","historik","hladovka","hlasivky","hlava","hledat","hlen","hlodavec","hloh","hloupost","hltat","hlubina","hluchota","hmat","hmota","hmyz","hnis","hnojivo","hnout","hoblina","hoboj","hoch","hodiny","hodlat","hodnota","hodovat","hojnost","hokej","holinka","holka","holub","homole","honitba","honorace","horal","horda","horizont","horko","horlivec","hormon","hornina","horoskop","horstvo","hospoda","hostina","hotovost","houba","houf","houpat","houska","hovor","hradba","hranice","hravost","hrazda","hrbolek","hrdina","hrdlo","hrdost","hrnek","hrobka","hromada","hrot","hrouda","hrozen","hrstka","hrubost","hryzat","hubenost","hubnout","hudba","hukot","humr","husita","hustota","hvozd","hybnost","hydrant","hygiena","hymna","hysterik","idylka","ihned","ikona","iluze","imunita","infekce","inflace","inkaso","inovace","inspekce","internet","invalida","investor","inzerce","ironie","jablko","jachta","jahoda","jakmile","jakost","jalovec","jantar","jarmark","jaro","jasan","jasno","jatka","javor","jazyk","jedinec","jedle","jednatel","jehlan","jekot","jelen","jelito","jemnost","jenom","jepice","jeseter","jevit","jezdec","jezero","jinak","jindy","jinoch","jiskra","jistota","jitrnice","jizva","jmenovat","jogurt","jurta","kabaret","kabel","kabinet","kachna","kadet","kadidlo","kahan","kajak","kajuta","kakao","kaktus","kalamita","kalhoty","kalibr","kalnost","kamera","kamkoliv","kamna","kanibal","kanoe","kantor","kapalina","kapela","kapitola","kapka","kaple","kapota","kapr","kapusta","kapybara","karamel","karotka","karton","kasa","katalog","katedra","kauce","kauza","kavalec","kazajka","kazeta","kazivost","kdekoliv","kdesi","kedluben","kemp","keramika","kino","klacek","kladivo","klam","klapot","klasika","klaun","klec","klenba","klepat","klesnout","klid","klima","klisna","klobouk","klokan","klopa","kloub","klubovna","klusat","kluzkost","kmen","kmitat","kmotr","kniha","knot","koalice","koberec","kobka","kobliha","kobyla","kocour","kohout","kojenec","kokos","koktejl","kolaps","koleda","kolize","kolo","komando","kometa","komik","komnata","komora","kompas","komunita","konat","koncept","kondice","konec","konfese","kongres","konina","konkurs","kontakt","konzerva","kopanec","kopie","kopnout","koprovka","korbel","korektor","kormidlo","koroptev","korpus","koruna","koryto","korzet","kosatec","kostka","kotel","kotleta","kotoul","koukat","koupelna","kousek","kouzlo","kovboj","koza","kozoroh","krabice","krach","krajina","kralovat","krasopis","kravata","kredit","krejcar","kresba","kreveta","kriket","kritik","krize","krkavec","krmelec","krmivo","krocan","krok","kronika","kropit","kroupa","krovka","krtek","kruhadlo","krupice","krutost","krvinka","krychle","krypta","krystal","kryt","kudlanka","kufr","kujnost","kukla","kulajda","kulich","kulka","kulomet","kultura","kuna","kupodivu","kurt","kurzor","kutil","kvalita","kvasinka","kvestor","kynolog","kyselina","kytara","kytice","kytka","kytovec","kyvadlo","labrador","lachtan","ladnost","laik","lakomec","lamela","lampa","lanovka","lasice","laso","lastura","latinka","lavina","lebka","leckdy","leden","lednice","ledovka","ledvina","legenda","legie","legrace","lehce","lehkost","lehnout","lektvar","lenochod","lentilka","lepenka","lepidlo","letadlo","letec","letmo","letokruh","levhart","levitace","levobok","libra","lichotka","lidojed","lidskost","lihovina","lijavec","lilek","limetka","linie","linka","linoleum","listopad","litina","litovat","lobista","lodivod","logika","logoped","lokalita","loket","lomcovat","lopata","lopuch","lord","losos","lotr","loudal","louh","louka","louskat","lovec","lstivost","lucerna","lucifer","lump","lusk","lustrace","lvice","lyra","lyrika","lysina","madam","madlo","magistr","mahagon","majetek","majitel","majorita","makak","makovice","makrela","malba","malina","malovat","malvice","maminka","mandle","manko","marnost","masakr","maskot","masopust","matice","matrika","maturita","mazanec","mazivo","mazlit","mazurka","mdloba","mechanik","meditace","medovina","melasa","meloun","mentolka","metla","metoda","metr","mezera","migrace","mihnout","mihule","mikina","mikrofon","milenec","milimetr","milost","mimika","mincovna","minibar","minomet","minulost","miska","mistr","mixovat","mladost","mlha","mlhovina","mlok","mlsat","mluvit","mnich","mnohem","mobil","mocnost","modelka","modlitba","mohyla","mokro","molekula","momentka","monarcha","monokl","monstrum","montovat","monzun","mosaz","moskyt","most","motivace","motorka","motyka","moucha","moudrost","mozaika","mozek","mozol","mramor","mravenec","mrkev","mrtvola","mrzet","mrzutost","mstitel","mudrc","muflon","mulat","mumie","munice","muset","mutace","muzeum","muzikant","myslivec","mzda","nabourat","nachytat","nadace","nadbytek","nadhoz","nadobro","nadpis","nahlas","nahnat","nahodile","nahradit","naivita","najednou","najisto","najmout","naklonit","nakonec","nakrmit","nalevo","namazat","namluvit","nanometr","naoko","naopak","naostro","napadat","napevno","naplnit","napnout","naposled","naprosto","narodit","naruby","narychlo","nasadit","nasekat","naslepo","nastat","natolik","navenek","navrch","navzdory","nazvat","nebe","nechat","necky","nedaleko","nedbat","neduh","negace","nehet","nehoda","nejen","nejprve","neklid","nelibost","nemilost","nemoc","neochota","neonka","nepokoj","nerost","nerv","nesmysl","nesoulad","netvor","neuron","nevina","nezvykle","nicota","nijak","nikam","nikdy","nikl","nikterak","nitro","nocleh","nohavice","nominace","nora","norek","nositel","nosnost","nouze","noviny","novota","nozdra","nuda","nudle","nuget","nutit","nutnost","nutrie","nymfa","obal","obarvit","obava","obdiv","obec","obehnat","obejmout","obezita","obhajoba","obilnice","objasnit","objekt","obklopit","oblast","oblek","obliba","obloha","obluda","obnos","obohatit","obojek","obout","obrazec","obrna","obruba","obrys","obsah","obsluha","obstarat","obuv","obvaz","obvinit","obvod","obvykle","obyvatel","obzor","ocas","ocel","ocenit","ochladit","ochota","ochrana","ocitnout","odboj","odbyt","odchod","odcizit","odebrat","odeslat","odevzdat","odezva","odhadce","odhodit","odjet","odjinud","odkaz","odkoupit","odliv","odluka","odmlka","odolnost","odpad","odpis","odplout","odpor","odpustit","odpykat","odrazka","odsoudit","odstup","odsun","odtok","odtud","odvaha","odveta","odvolat","odvracet","odznak","ofina","ofsajd","ohlas","ohnisko","ohrada","ohrozit","ohryzek","okap","okenice","oklika","okno","okouzlit","okovy","okrasa","okres","okrsek","okruh","okupant","okurka","okusit","olejnina","olizovat","omak","omeleta","omezit","omladina","omlouvat","omluva","omyl","onehdy","opakovat","opasek","operace","opice","opilost","opisovat","opora","opozice","opravdu","oproti","orbital","orchestr","orgie","orlice","orloj","ortel","osada","oschnout","osika","osivo","oslava","oslepit","oslnit","oslovit","osnova","osoba","osolit","ospalec","osten","ostraha","ostuda","ostych","osvojit","oteplit","otisk","otop","otrhat","otrlost","otrok","otruby","otvor","ovanout","ovar","oves","ovlivnit","ovoce","oxid","ozdoba","pachatel","pacient","padouch","pahorek","pakt","palanda","palec","palivo","paluba","pamflet","pamlsek","panenka","panika","panna","panovat","panstvo","pantofle","paprika","parketa","parodie","parta","paruka","paryba","paseka","pasivita","pastelka","patent","patrona","pavouk","pazneht","pazourek","pecka","pedagog","pejsek","peklo","peloton","penalta","pendrek","penze","periskop","pero","pestrost","petarda","petice","petrolej","pevnina","pexeso","pianista","piha","pijavice","pikle","piknik","pilina","pilnost","pilulka","pinzeta","pipeta","pisatel","pistole","pitevna","pivnice","pivovar","placenta","plakat","plamen","planeta","plastika","platit","plavidlo","plaz","plech","plemeno","plenta","ples","pletivo","plevel","plivat","plnit","plno","plocha","plodina","plomba","plout","pluk","plyn","pobavit","pobyt","pochod","pocit","poctivec","podat","podcenit","podepsat","podhled","podivit","podklad","podmanit","podnik","podoba","podpora","podraz","podstata","podvod","podzim","poezie","pohanka","pohnutka","pohovor","pohroma","pohyb","pointa","pojistka","pojmout","pokazit","pokles","pokoj","pokrok","pokuta","pokyn","poledne","polibek","polknout","poloha","polynom","pomalu","pominout","pomlka","pomoc","pomsta","pomyslet","ponechat","ponorka","ponurost","popadat","popel","popisek","poplach","poprosit","popsat","popud","poradce","porce","porod","porucha","poryv","posadit","posed","posila","poskok","poslanec","posoudit","pospolu","postava","posudek","posyp","potah","potkan","potlesk","potomek","potrava","potupa","potvora","poukaz","pouto","pouzdro","povaha","povidla","povlak","povoz","povrch","povstat","povyk","povzdech","pozdrav","pozemek","poznatek","pozor","pozvat","pracovat","prahory","praktika","prales","praotec","praporek","prase","pravda","princip","prkno","probudit","procento","prodej","profese","prohra","projekt","prolomit","promile","pronikat","propad","prorok","prosba","proton","proutek","provaz","prskavka","prsten","prudkost","prut","prvek","prvohory","psanec","psovod","pstruh","ptactvo","puberta","puch","pudl","pukavec","puklina","pukrle","pult","pumpa","punc","pupen","pusa","pusinka","pustina","putovat","putyka","pyramida","pysk","pytel","racek","rachot","radiace","radnice","radon","raft","ragby","raketa","rakovina","rameno","rampouch","rande","rarach","rarita","rasovna","rastr","ratolest","razance","razidlo","reagovat","reakce","recept","redaktor","referent","reflex","rejnok","reklama","rekord","rekrut","rektor","reputace","revize","revma","revolver","rezerva","riskovat","riziko","robotika","rodokmen","rohovka","rokle","rokoko","romaneto","ropovod","ropucha","rorejs","rosol","rostlina","rotmistr","rotoped","rotunda","roubenka","roucho","roup","roura","rovina","rovnice","rozbor","rozchod","rozdat","rozeznat","rozhodce","rozinka","rozjezd","rozkaz","rozloha","rozmar","rozpad","rozruch","rozsah","roztok","rozum","rozvod","rubrika","ruchadlo","rukavice","rukopis","ryba","rybolov","rychlost","rydlo","rypadlo","rytina","ryzost","sadista","sahat","sako","samec","samizdat","samota","sanitka","sardinka","sasanka","satelit","sazba","sazenice","sbor","schovat","sebranka","secese","sedadlo","sediment","sedlo","sehnat","sejmout","sekera","sekta","sekunda","sekvoje","semeno","seno","servis","sesadit","seshora","seskok","seslat","sestra","sesuv","sesypat","setba","setina","setkat","setnout","setrvat","sever","seznam","shoda","shrnout","sifon","silnice","sirka","sirotek","sirup","situace","skafandr","skalisko","skanzen","skaut","skeptik","skica","skladba","sklenice","sklo","skluz","skoba","skokan","skoro","skripta","skrz","skupina","skvost","skvrna","slabika","sladidlo","slanina","slast","slavnost","sledovat","slepec","sleva","slezina","slib","slina","sliznice","slon","sloupek","slovo","sluch","sluha","slunce","slupka","slza","smaragd","smetana","smilstvo","smlouva","smog","smrad","smrk","smrtka","smutek","smysl","snad","snaha","snob","sobota","socha","sodovka","sokol","sopka","sotva","souboj","soucit","soudce","souhlas","soulad","soumrak","souprava","soused","soutok","souviset","spalovna","spasitel","spis","splav","spodek","spojenec","spolu","sponzor","spornost","spousta","sprcha","spustit","sranda","sraz","srdce","srna","srnec","srovnat","srpen","srst","srub","stanice","starosta","statika","stavba","stehno","stezka","stodola","stolek","stopa","storno","stoupat","strach","stres","strhnout","strom","struna","studna","stupnice","stvol","styk","subjekt","subtropy","suchar","sudost","sukno","sundat","sunout","surikata","surovina","svah","svalstvo","svetr","svatba","svazek","svisle","svitek","svoboda","svodidlo","svorka","svrab","sykavka","sykot","synek","synovec","sypat","sypkost","syrovost","sysel","sytost","tabletka","tabule","tahoun","tajemno","tajfun","tajga","tajit","tajnost","taktika","tamhle","tampon","tancovat","tanec","tanker","tapeta","tavenina","tazatel","technika","tehdy","tekutina","telefon","temnota","tendence","tenista","tenor","teplota","tepna","teprve","terapie","termoska","textil","ticho","tiskopis","titulek","tkadlec","tkanina","tlapka","tleskat","tlukot","tlupa","tmel","toaleta","topinka","topol","torzo","touha","toulec","tradice","traktor","tramp","trasa","traverza","trefit","trest","trezor","trhavina","trhlina","trochu","trojice","troska","trouba","trpce","trpitel","trpkost","trubec","truchlit","truhlice","trus","trvat","tudy","tuhnout","tuhost","tundra","turista","turnaj","tuzemsko","tvaroh","tvorba","tvrdost","tvrz","tygr","tykev","ubohost","uboze","ubrat","ubrousek","ubrus","ubytovna","ucho","uctivost","udivit","uhradit","ujednat","ujistit","ujmout","ukazatel","uklidnit","uklonit","ukotvit","ukrojit","ulice","ulita","ulovit","umyvadlo","unavit","uniforma","uniknout","upadnout","uplatnit","uplynout","upoutat","upravit","uran","urazit","usednout","usilovat","usmrtit","usnadnit","usnout","usoudit","ustlat","ustrnout","utahovat","utkat","utlumit","utonout","utopenec","utrousit","uvalit","uvolnit","uvozovka","uzdravit","uzel","uzenina","uzlina","uznat","vagon","valcha","valoun","vana","vandal","vanilka","varan","varhany","varovat","vcelku","vchod","vdova","vedro","vegetace","vejce","velbloud","veletrh","velitel","velmoc","velryba","venkov","veranda","verze","veselka","veskrze","vesnice","vespodu","vesta","veterina","veverka","vibrace","vichr","videohra","vidina","vidle","vila","vinice","viset","vitalita","vize","vizitka","vjezd","vklad","vkus","vlajka","vlak","vlasec","vlevo","vlhkost","vliv","vlnovka","vloupat","vnucovat","vnuk","voda","vodivost","vodoznak","vodstvo","vojensky","vojna","vojsko","volant","volba","volit","volno","voskovka","vozidlo","vozovna","vpravo","vrabec","vracet","vrah","vrata","vrba","vrcholek","vrhat","vrstva","vrtule","vsadit","vstoupit","vstup","vtip","vybavit","vybrat","vychovat","vydat","vydra","vyfotit","vyhledat","vyhnout","vyhodit","vyhradit","vyhubit","vyjasnit","vyjet","vyjmout","vyklopit","vykonat","vylekat","vymazat","vymezit","vymizet","vymyslet","vynechat","vynikat","vynutit","vypadat","vyplatit","vypravit","vypustit","vyrazit","vyrovnat","vyrvat","vyslovit","vysoko","vystavit","vysunout","vysypat","vytasit","vytesat","vytratit","vyvinout","vyvolat","vyvrhel","vyzdobit","vyznat","vzadu","vzbudit","vzchopit","vzdor","vzduch","vzdychat","vzestup","vzhledem","vzkaz","vzlykat","vznik","vzorek","vzpoura","vztah","vztek","xylofon","zabrat","zabydlet","zachovat","zadarmo","zadusit","zafoukat","zahltit","zahodit","zahrada","zahynout","zajatec","zajet","zajistit","zaklepat","zakoupit","zalepit","zamezit","zamotat","zamyslet","zanechat","zanikat","zaplatit","zapojit","zapsat","zarazit","zastavit","zasunout","zatajit","zatemnit","zatknout","zaujmout","zavalit","zavelet","zavinit","zavolat","zavrtat","zazvonit","zbavit","zbrusu","zbudovat","zbytek","zdaleka","zdarma","zdatnost","zdivo","zdobit","zdroj","zdvih","zdymadlo","zelenina","zeman","zemina","zeptat","zezadu","zezdola","zhatit","zhltnout","zhluboka","zhotovit","zhruba","zima","zimnice","zjemnit","zklamat","zkoumat","zkratka","zkumavka","zlato","zlehka","zloba","zlom","zlost","zlozvyk","zmapovat","zmar","zmatek","zmije","zmizet","zmocnit","zmodrat","zmrzlina","zmutovat","znak","znalost","znamenat","znovu","zobrazit","zotavit","zoubek","zoufale","zplodit","zpomalit","zprava","zprostit","zprudka","zprvu","zrada","zranit","zrcadlo","zrnitost","zrno","zrovna","zrychlit","zrzavost","zticha","ztratit","zubovina","zubr","zvednout","zvenku","zvesela","zvon","zvrat","zvukovod","zvyk"]')},function(e){e.exports=JSON.parse('["的","一","是","在","不","了","有","和","人","这","中","大","为","上","个","国","我","以","要","他","时","来","用","们","生","到","作","地","于","出","å°±","分","对","成","会","可","主","发","å¹´","动","同","å·¥","也","能","下","过","子","说","产","种","面","而","方","后","多","定","行","å­¦","法","所","民","得","经","十","三","之","进","着","等","部","度","家","电","力","里","如","æ°´","化","高","自","二","理","èµ·","小","物","现","实","加","量","都","两","体","制","机","当","使","点","从","业","本","去","把","性","好","应","开","它","合","还","因","由","其","些","然","前","外","天","政","四","日","那","社","义","事","å¹³","å½¢","相","全","表","间","æ ·","与","关","各","重","新","线","内","数","æ­£","心","反","ä½ ","明","看","原","又","么","利","比","或","但","è´¨","气","第","向","道","命","æ­¤","变","条","只","没","结","解","问","意","建","月","公","无","ç³»","军","很","情","者","最","立","代","想","å·²","通","并","提","直","题","党","程","展","五","果","料","象","员","革","位","入","常","文","总","次","品","式","æ´»","设","及","管","特","件","长","求","老","头","基","资","è¾¹","流","è·¯","级","少","图","å±±","统","接","知","较","将","组","见","计","别","她","手","角","期","æ ¹","论","运","农","指","几","九","区","强","放","决","西","被","å¹²","做","必","战","先","回","则","ä»»","取","据","处","队","南","给","色","光","门","即","保","æ²»","北","造","百","规","热","领","七","æµ·","口","东","导","器","压","志","世","金","增","争","济","阶","æ²¹","思","术","极","交","受","联","什","认","六","共","权","收","证","改","清","美","再","采","转","更","单","风","切","打","白","教","速","花","带","安","场","身","车","例","真","务","具","万","每","目","至","è¾¾","èµ°","积","示","è®®","声","报","斗","完","ç±»","八","离","华","名","ç¡®","才","科","å¼ ","ä¿¡","马","节","话","ç±³","整","空","元","况","今","集","温","ä¼ ","土","许","æ­¥","群","广","石","è®°","需","段","研","界","拉","林","律","叫","且","究","观","越","织","装","å½±","算","低","持","音","众","书","布","复","容","儿","é¡»","际","商","非","验","连","断","æ·±","难","近","矿","千","周","委","ç´ ","技","备","半","办","青","省","列","ä¹ ","响","约","支","般","史","感","劳","便","团","往","酸","历","市","克","何","除","消","构","府","称","太","准","ç²¾","值","号","率","族","ç»´","划","选","标","写","存","候","毛","亲","å¿«","效","斯","院","查","江","型","眼","王","按","æ ¼","养","易","ç½®","æ´¾","层","片","始","却","专","状","育","厂","京","识","适","属","圆","包","火","住","调","满","县","局","照","参","红","细","引","听","该","铁","ä»·","严","首","底","液","官","å¾·","随","病","苏","失","尔","æ­»","讲","配","女","黄","推","显","谈","罪","神","艺","呢","席","含","企","望","密","批","营","项","防","举","球","英","æ°§","势","告","李","台","落","木","帮","è½®","ç ´","亚","师","围","注","远","字","材","排","供","æ²³","态","封","另","施","减","树","溶","怎","æ­¢","案","言","士","均","æ­¦","固","叶","é±¼","æ³¢","视","仅","è´¹","ç´§","爱","å·¦","ç« ","早","朝","害","ç»­","è½»","服","试","食","充","兵","源","判","护","司","足","某","练","å·®","致","板","田","降","黑","犯","负","击","范","继","兴","ä¼¼","余","坚","曲","输","ä¿®","故","城","夫","够","送","笔","船","占","右","è´¢","吃","富","春","职","觉","汉","画","功","å·´","跟","虽","杂","飞","检","吸","助","升","阳","互","初","创","抗","考","投","坏","策","古","径","换","未","跑","留","钢","曾","端","è´£","站","简","è¿°","钱","副","å°½","帝","射","草","冲","承","独","令","限","阿","宣","环","双","请","超","å¾®","让","控","州","良","è½´","找","否","纪","益","依","优","顶","础","è½½","倒","房","突","坐","粉","敌","略","客","袁","冷","胜","绝","析","块","剂","测","丝","协","诉","念","陈","仍","罗","盐","友","洋","错","苦","夜","刑","移","频","逐","靠","æ··","母","短","皮","终","聚","æ±½","村","云","哪","既","距","卫","停","烈","央","察","烧","迅","境","若","印","æ´²","刻","括","激","孔","搞","甚","室","待","æ ¸","æ ¡","散","ä¾µ","吧","甲","游","久","菜","味","旧","模","湖","è´§","损","预","阻","毫","普","稳","乙","妈","植","息","扩","银","语","挥","酒","守","拿","序","纸","医","缺","雨","吗","针","刘","啊","急","唱","误","è®­","愿","审","附","获","茶","鲜","ç²®","斤","å­©","脱","ç¡«","肥","善","龙","演","父","渐","血","欢","械","掌","歌","沙","刚","攻","谓","盾","讨","晚","粒","ä¹±","燃","矛","乎","杀","药","宁","鲁","è´µ","钟","煤","读","班","伯","香","介","è¿«","句","丰","培","握","兰","担","弦","蛋","沉","假","ç©¿","执","答","乐","谁","顺","烟","缩","征","脸","喜","松","脚","困","异","免","背","星","福","ä¹°","染","井","概","慢","怕","磁","倍","祖","皇","促","静","è¡¥","评","ç¿»","肉","è·µ","å°¼","è¡£","宽","扬","棉","希","伤","操","垂","秋","宜","æ°¢","套","督","振","架","亮","末","宪","庆","编","牛","触","映","雷","销","诗","座","居","抓","裂","胞","呼","娘","景","威","绿","晶","厚","盟","è¡¡","鸡","孙","延","危","胶","屋","乡","临","陆","顾","掉","呀","灯","岁","措","束","耐","剧","玉","èµµ","è·³","哥","å­£","课","凯","胡","额","款","绍","卷","齐","伟","蒸","殖","æ°¸","宗","苗","川","炉","岩","å¼±","零","杨","奏","沿","露","杆","探","滑","镇","饭","浓","航","怀","赶","库","夺","伊","灵","税","途","灭","赛","归","召","鼓","播","盘","裁","险","康","唯","录","菌","纯","借","糖","盖","横","符","私","努","堂","域","枪","润","幅","哈","竟","熟","虫","æ³½","脑","壤","碳","欧","遍","侧","寨","敢","å½»","虑","斜","薄","庭","纳","å¼¹","饲","伸","折","麦","湿","暗","荷","瓦","塞","床","筑","恶","户","访","塔","奇","透","梁","刀","旋","迹","卡","æ°¯","遇","份","毒","æ³¥","退","洗","摆","灰","彩","卖","耗","夏","择","忙","铜","献","硬","予","繁","圈","雪","函","亦","抽","篇","阵","阴","丁","å°º","追","堆","雄","迎","泛","爸","楼","避","谋","吨","野","猪","旗","ç´¯","偏","典","馆","ç´¢","秦","脂","æ½®","爷","豆","忽","托","惊","塑","遗","愈","朱","替","纤","粗","倾","尚","痛","楚","è°¢","奋","è´­","磨","君","æ± ","旁","碎","骨","监","捕","弟","暴","割","è´¯","殊","释","词","亡","壁","é¡¿","宝","午","尘","闻","揭","炮","残","冬","æ¡¥","妇","è­¦","综","招","吴","付","æµ®","遭","徐","您","摇","è°·","赞","ç®±","隔","订","男","吹","园","纷","唐","è´¥","宋","玻","å·¨","耕","坦","荣","闭","æ¹¾","键","凡","é©»","锅","救","恩","剥","凝","碱","齿","截","炼","麻","纺","禁","废","盛","版","缓","净","睛","昌","婚","涉","筒","嘴","插","岸","朗","庄","街","藏","姑","è´¸","腐","奴","啦","惯","乘","伙","恢","匀","纱","扎","辩","耳","彪","臣","亿","璃","抵","脉","秀","萨","俄","网","舞","店","喷","纵","寸","汗","挂","æ´ª","è´º","闪","柬","爆","烯","æ´¥","稻","墙","软","勇","像","滚","厘","蒙","芳","肯","坡","柱","荡","腿","仪","旅","å°¾","轧","冰","è´¡","登","黎","削","钻","勒","逃","障","æ°¨","郭","å³°","币","港","伏","轨","亩","毕","擦","莫","刺","浪","秘","援","æ ª","健","售","股","岛","甘","泡","睡","ç«¥","铸","汤","阀","休","汇","舍","牧","绕","炸","哲","磷","绩","朋","æ·¡","尖","启","陷","柴","呈","徒","颜","泪","稍","忘","æ³µ","蓝","拖","洞","授","镜","辛","壮","锋","è´«","虚","弯","摩","æ³°","å¹¼","å»·","尊","窗","纲","弄","隶","疑","氏","宫","姐","震","瑞","怪","å°¤","琴","循","描","膜","违","夹","腰","缘","珠","ç©·","森","枝","竹","沟","催","绳","忆","邦","剩","幸","浆","栏","拥","牙","è´®","礼","滤","钠","纹","ç½¢","拍","咱","喊","袖","埃","勤","罚","焦","潜","伍","墨","欲","缝","姓","刊","饱","仿","奖","铝","鬼","丽","è·¨","默","挖","链","扫","喝","袋","炭","污","幕","诸","弧","励","梅","奶","洁","灾","舟","鉴","苯","讼","抱","毁","懂","寒","智","埔","寄","届","跃","渡","挑","丹","艰","贝","碰","拔","爹","戴","码","梦","芽","熔","赤","渔","哭","敬","颗","奔","铅","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","仓","魏","锐","晓","æ°®","兼","隐","碍","赫","拨","å¿ ","肃","缸","牵","抢","博","å·§","壳","兄","杜","讯","诚","碧","祥","柯","页","å·¡","矩","悲","灌","龄","伦","票","寻","桂","铺","圣","恐","恰","郑","趣","抬","荒","腾","è´´","柔","æ»´","猛","阔","辆","妻","å¡«","撤","储","ç­¾","闹","扰","ç´«","砂","递","戏","吊","陶","伐","喂","疗","瓶","婆","抚","臂","摸","忍","虾","蜡","邻","胸","å·©","挤","偶","弃","槽","劲","ä¹³","邓","吉","仁","烂","砖","租","乌","舰","ä¼´","瓜","浅","丙","暂","燥","æ©¡","柳","è¿·","暖","牌","秧","胆","详","ç°§","踏","瓷","è°±","呆","宾","糊","洛","辉","愤","竞","隙","怒","粘","乃","绪","肩","籍","敏","涂","熙","皆","侦","悬","掘","享","纠","醒","狂","锁","淀","恨","牲","霸","爬","赏","逆","玩","陵","祝","秒","浙","貌","å½¹","å½¼","悉","鸭","趋","凤","晨","畜","辈","秩","卵","ç½²","梯","炎","滩","棋","驱","筛","峡","冒","啥","寿","译","浸","泉","帽","迟","硅","疆","è´·","漏","稿","冠","å«©","胁","芯","牢","叛","蚀","奥","鸣","å²­","羊","凭","串","塘","绘","酵","融","盆","锡","庙","ç­¹","冻","辅","摄","袭","筋","拒","僚","旱","钾","鸟","漆","沈","眉","疏","æ·»","棒","穗","硝","韩","逼","扭","侨","凉","挺","碗","æ ½","炒","杯","患","馏","劝","豪","è¾½","勃","鸿","旦","吏","拜","狗","埋","辊","掩","饮","搬","骂","辞","勾","扣","ä¼°","蒋","绒","雾","丈","朵","姆","拟","宇","辑","陕","雕","偿","蓄","崇","剪","倡","厅","咬","驶","薯","刷","斥","番","赋","奉","佛","浇","漫","曼","扇","钙","桃","扶","仔","返","俗","亏","腔","鞋","棱","覆","框","悄","叔","撞","骗","勘","旺","沸","å­¤","吐","孟","渠","屈","疾","妙","惜","ä»°","狠","胀","谐","抛","霉","桑","岗","嘛","è¡°","盗","渗","脏","赖","涌","甜","曹","阅","肌","哩","厉","烃","纬","毅","昨","伪","症","煮","叹","钉","搭","茎","笼","酷","偷","弓","锥","恒","杰","坑","é¼»","翼","纶","叙","狱","逮","罐","络","棚","抑","膨","蔬","寺","骤","穆","冶","枯","册","å°¸","凸","绅","坯","牺","焰","è½°","欣","晋","瘦","御","锭","锦","丧","旬","锻","垄","搜","扑","邀","亭","酯","迈","舒","脆","酶","闲","忧","酚","顽","ç¾½","涨","卸","仗","陪","辟","惩","杭","姚","肚","捉","飘","漂","昆","欺","吾","郎","烷","汁","呵","饰","萧","雅","邮","迁","燕","撒","姻","èµ´","å®´","烦","债","帐","斑","铃","旨","醇","董","饼","雏","姿","拌","傅","腹","妥","揉","è´¤","拆","æ­ª","葡","胺","丢","浩","å¾½","昂","垫","挡","览","è´ª","慰","ç¼´","汪","慌","冯","诺","姜","谊","凶","劣","诬","耀","昏","躺","盈","骑","乔","溪","丛","卢","抹","闷","咨","刮","驾","缆","悟","摘","铒","掷","颇","å¹»","柄","惠","惨","ä½³","仇","腊","窝","涤","剑","瞧","å ¡","æ³¼","葱","罩","霍","捞","胎","苍","滨","ä¿©","捅","湘","砍","霞","邵","萄","疯","æ·®","遂","熊","粪","烘","宿","æ¡£","戈","驳","嫂","裕","徙","ç®­","捐","肠","撑","晒","辨","殿","莲","摊","搅","酱","屏","疫","哀","蔡","å µ","沫","皱","畅","叠","阁","莱","敲","辖","钩","痕","坝","å··","饿","祸","丘","玄","溜","曰","逻","å½­","尝","卿","妨","艇","吞","韦","怨","矮","歇"]')},function(e){e.exports=JSON.parse('["的","一","是","在","不","了","有","和","人","這","中","大","為","上","個","國","我","以","要","他","時","來","用","們","生","到","作","地","於","出","å°±","分","對","成","會","可","主","發","å¹´","動","同","å·¥","也","能","下","過","子","說","產","種","面","而","方","後","多","定","行","å­¸","法","所","民","得","經","十","三","之","進","著","等","部","度","家","電","力","裡","如","æ°´","化","高","自","二","理","èµ·","小","物","現","實","加","量","都","兩","體","制","機","當","使","點","從","業","本","去","把","性","好","應","開","它","合","還","因","由","其","些","然","前","外","天","政","四","日","那","社","義","事","å¹³","å½¢","相","全","表","間","樣","與","關","各","重","新","線","內","數","æ­£","心","反","ä½ ","明","看","原","又","麼","利","比","或","但","質","æ°£","第","向","道","命","æ­¤","變","條","只","沒","結","解","問","意","建","月","公","無","ç³»","軍","很","情","者","最","立","代","想","å·²","通","並","提","直","題","黨","程","展","五","果","料","象","員","革","位","入","常","文","總","次","品","式","æ´»","設","及","管","特","件","長","求","老","é ­","基","資","邊","流","è·¯","級","少","圖","å±±","çµ±","接","知","較","將","組","見","計","別","她","手","角","期","æ ¹","論","運","è¾²","指","å¹¾","九","區","å¼·","放","決","西","被","å¹¹","做","必","戰","先","回","則","ä»»","取","據","處","隊","南","給","色","光","門","即","保","æ²»","北","造","百","規","熱","領","七","æµ·","口","東","導","器","壓","志","世","金","增","爭","濟","階","æ²¹","思","術","極","交","受","聯","什","認","六","共","權","收","證","改","清","美","再","採","轉","更","單","風","切","打","白","教","速","花","帶","安","å ´","身","車","例","真","務","具","萬","每","目","至","達","èµ°","積","示","è­°","聲","å ±","鬥","完","類","八","離","華","名","確","才","科","å¼µ","ä¿¡","馬","節","話","ç±³","整","空","元","況","今","集","溫","傳","土","許","æ­¥","群","廣","石","記","需","段","研","界","拉","林","律","叫","且","究","觀","越","織","裝","å½±","算","低","持","音","眾","書","布","复","容","兒","須","際","商","非","驗","連","斷","æ·±","難","近","礦","千","週","委","ç´ ","技","備","半","辦","青","省","列","習","響","約","支","般","史","感","勞","便","團","往","酸","æ­·","市","克","何","除","消","構","府","稱","太","準","ç²¾","值","號","率","族","維","劃","選","標","寫","存","候","毛","親","å¿«","效","斯","院","查","江","型","眼","王","按","æ ¼","養","易","ç½®","æ´¾","層","片","始","卻","專","狀","育","å» ","京","識","適","屬","圓","包","火","住","調","滿","縣","局","照","參","紅","ç´°","引","聽","該","鐵","價","嚴","首","底","液","官","å¾·","隨","病","蘇","失","爾","æ­»","講","配","女","黃","推","顯","談","罪","神","藝","呢","席","含","企","望","密","批","營","項","防","舉","球","英","æ°§","勢","告","李","台","落","木","幫","輪","ç ´","亞","師","圍","注","遠","字","材","排","供","æ²³","態","封","另","施","減","樹","溶","怎","æ­¢","案","言","士","均","æ­¦","固","葉","魚","æ³¢","視","僅","è²»","緊","愛","å·¦","ç« ","早","朝","害","續","輕","服","試","食","充","兵","源","判","è­·","司","足","某","ç·´","å·®","致","板","田","降","黑","犯","è² ","擊","范","ç¹¼","興","ä¼¼","餘","堅","曲","輸","ä¿®","故","城","夫","夠","送","筆","船","佔","右","財","吃","富","春","職","覺","æ¼¢","畫","功","å·´","跟","雖","雜","飛","檢","吸","助","昇","陽","互","初","創","抗","考","投","壞","策","古","徑","換","未","跑","留","鋼","曾","端","責","站","ç°¡","è¿°","錢","副","盡","帝","射","草","衝","承","獨","令","限","阿","宣","環","雙","請","超","å¾®","讓","控","州","良","軸","找","否","紀","益","依","優","頂","礎","載","倒","房","突","坐","粉","敵","略","客","袁","冷","勝","絕","析","塊","劑","測","çµ²","協","訴","念","陳","仍","羅","é¹½","友","洋","錯","苦","夜","刑","移","é »","逐","靠","æ··","母","短","皮","終","聚","æ±½","村","雲","哪","既","距","衛","停","烈","央","察","燒","迅","境","若","印","æ´²","刻","括","激","孔","搞","甚","室","待","æ ¸","æ ¡","散","ä¾µ","吧","甲","遊","久","菜","味","舊","模","湖","貨","損","預","阻","毫","普","ç©©","乙","媽","植","息","擴","銀","語","揮","酒","守","拿","序","紙","醫","缺","雨","嗎","針","劉","啊","急","唱","誤","訓","願","審","附","獲","茶","é®®","糧","斤","å­©","脫","ç¡«","肥","善","龍","演","父","漸","血","æ­¡","械","掌","歌","沙","剛","攻","謂","盾","討","晚","粒","亂","燃","矛","乎","殺","藥","寧","é­¯","è²´","鐘","煤","讀","班","伯","香","介","è¿«","句","豐","培","握","蘭","擔","弦","蛋","沉","假","ç©¿","執","答","樂","誰","順","煙","縮","å¾µ","臉","喜","松","腳","困","異","免","背","星","福","è²·","染","井","概","慢","怕","磁","倍","祖","皇","促","靜","補","評","ç¿»","肉","踐","å°¼","è¡£","寬","揚","棉","希","傷","操","垂","秋","宜","æ°«","套","督","振","架","亮","末","憲","慶","ç·¨","牛","觸","映","雷","銷","è©©","座","居","抓","裂","胞","呼","娘","景","威","綠","晶","厚","盟","è¡¡","雞","å­«","延","危","膠","屋","鄉","臨","陸","顧","掉","呀","燈","æ­²","措","束","耐","劇","玉","趙","è·³","哥","å­£","課","凱","胡","額","款","ç´¹","卷","齊","偉","蒸","殖","æ°¸","宗","苗","川","爐","岩","å¼±","零","楊","奏","沿","露","æ¡¿","探","滑","鎮","飯","濃","航","懷","趕","庫","奪","伊","靈","稅","途","滅","è³½","æ­¸","召","鼓","播","盤","裁","險","康","唯","錄","菌","純","借","糖","蓋","æ©«","符","私","努","堂","域","槍","潤","幅","哈","竟","熟","蟲","澤","腦","壤","碳","歐","遍","側","寨","敢","å¾¹","慮","斜","薄","庭","納","彈","飼","伸","折","麥","濕","暗","荷","瓦","塞","床","築","惡","戶","訪","塔","奇","透","梁","刀","旋","è·¡","卡","æ°¯","遇","份","毒","æ³¥","退","洗","擺","灰","彩","è³£","耗","夏","擇","忙","銅","獻","硬","予","繁","圈","雪","函","亦","抽","篇","陣","陰","丁","å°º","追","堆","雄","迎","泛","爸","樓","避","謀","噸","野","豬","旗","ç´¯","偏","典","館","ç´¢","秦","脂","æ½®","爺","豆","忽","托","驚","塑","遺","愈","朱","替","纖","粗","傾","尚","痛","楚","謝","奮","è³¼","磨","君","æ± ","旁","碎","骨","監","捕","弟","暴","割","貫","殊","釋","詞","亡","壁","頓","寶","午","塵","聞","揭","炮","殘","冬","橋","婦","è­¦","綜","招","吳","付","æµ®","遭","徐","您","搖","è°·","贊","ç®±","隔","訂","男","吹","園","紛","唐","敗","宋","玻","å·¨","耕","坦","榮","閉","灣","鍵","凡","駐","鍋","救","恩","剝","凝","é¹¼","齒","截","煉","麻","ç´¡","禁","廢","盛","版","ç·©","æ·¨","睛","昌","婚","涉","筒","嘴","插","岸","朗","莊","街","藏","姑","貿","腐","奴","啦","慣","乘","夥","恢","勻","紗","扎","辯","耳","彪","臣","億","璃","抵","脈","秀","薩","俄","網","舞","店","噴","縱","寸","汗","掛","æ´ª","賀","閃","柬","爆","烯","æ´¥","稻","牆","軟","勇","像","滾","厘","蒙","芳","肯","坡","柱","盪","腿","儀","旅","å°¾","軋","冰","è²¢","登","黎","削","鑽","勒","逃","障","æ°¨","郭","å³°","å¹£","港","伏","軌","畝","畢","擦","莫","刺","浪","秘","援","æ ª","健","售","股","島","甘","泡","睡","ç«¥","鑄","湯","閥","休","匯","舍","牧","繞","炸","哲","磷","績","朋","æ·¡","尖","啟","陷","柴","呈","徒","顏","淚","稍","忘","æ³µ","藍","拖","洞","授","鏡","辛","壯","鋒","貧","虛","彎","摩","æ³°","å¹¼","å»·","尊","窗","綱","弄","隸","疑","氏","å®®","姐","震","瑞","怪","å°¤","琴","循","描","膜","違","夾","腰","ç·£","珠","窮","森","枝","竹","溝","催","繩","憶","邦","剩","幸","漿","欄","擁","牙","貯","禮","濾","鈉","紋","ç½·","拍","咱","喊","袖","埃","勤","ç½°","焦","潛","伍","墨","欲","縫","姓","刊","飽","仿","獎","鋁","鬼","麗","è·¨","默","挖","鏈","掃","喝","袋","炭","污","幕","諸","弧","勵","梅","奶","潔","災","舟","鑑","苯","訟","抱","毀","懂","寒","智","埔","寄","屆","躍","渡","挑","丹","艱","貝","碰","拔","爹","戴","碼","夢","芽","熔","赤","漁","哭","敬","顆","奔","鉛","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","倉","魏","銳","曉","æ°®","兼","隱","礙","赫","撥","å¿ ","肅","缸","牽","搶","博","å·§","殼","兄","杜","訊","誠","碧","祥","柯","頁","å·¡","矩","悲","灌","齡","倫","票","尋","桂","鋪","聖","恐","恰","鄭","趣","抬","荒","騰","è²¼","柔","æ»´","猛","闊","輛","妻","å¡«","撤","儲","ç°½","鬧","擾","ç´«","砂","遞","戲","吊","陶","伐","餵","療","瓶","婆","撫","臂","摸","忍","蝦","蠟","鄰","胸","鞏","擠","偶","棄","槽","勁","ä¹³","鄧","吉","仁","爛","磚","租","烏","艦","ä¼´","瓜","æ·º","丙","暫","燥","æ©¡","柳","è¿·","暖","牌","秧","膽","詳","ç°§","踏","瓷","譜","呆","賓","糊","洛","輝","憤","競","隙","怒","粘","乃","緒","肩","籍","敏","塗","熙","皆","偵","懸","掘","享","ç³¾","醒","狂","鎖","淀","恨","牲","霸","爬","賞","逆","玩","陵","祝","秒","浙","貌","å½¹","å½¼","悉","é´¨","趨","é³³","晨","畜","輩","秩","卵","ç½²","梯","炎","灘","棋","驅","篩","å³½","冒","啥","壽","è­¯","浸","泉","帽","遲","矽","疆","貸","漏","稿","冠","å«©","脅","芯","牢","叛","蝕","奧","é³´","嶺","羊","憑","串","塘","繪","酵","融","盆","錫","廟","籌","凍","輔","攝","襲","筋","拒","僚","旱","鉀","é³¥","漆","沈","眉","疏","æ·»","棒","穗","硝","韓","逼","扭","僑","涼","挺","碗","æ ½","炒","杯","患","餾","勸","豪","遼","勃","é´»","旦","吏","拜","狗","埋","è¼¥","掩","飲","搬","ç½µ","è¾­","勾","扣","ä¼°","蔣","絨","霧","丈","朵","姆","擬","宇","輯","陝","雕","償","蓄","崇","剪","倡","廳","咬","駛","薯","刷","斥","番","賦","奉","佛","澆","漫","曼","扇","鈣","桃","扶","仔","返","俗","虧","腔","鞋","棱","覆","框","悄","叔","撞","騙","勘","旺","沸","å­¤","吐","孟","渠","屈","疾","妙","惜","ä»°","狠","脹","諧","拋","é»´","桑","崗","嘛","è¡°","盜","滲","臟","è³´","湧","甜","曹","閱","肌","哩","厲","烴","ç·¯","毅","昨","偽","症","煮","嘆","釘","搭","莖","ç± ","酷","偷","弓","錐","恆","傑","坑","é¼»","翼","綸","敘","獄","逮","罐","絡","棚","抑","膨","蔬","寺","驟","穆","冶","枯","冊","屍","凸","ç´³","坯","犧","焰","轟","欣","晉","瘦","禦","錠","錦","喪","旬","鍛","壟","搜","撲","邀","亭","酯","邁","舒","脆","酶","閒","憂","酚","頑","ç¾½","æ¼²","卸","仗","陪","闢","懲","杭","姚","肚","捉","飄","漂","昆","欺","吾","郎","烷","汁","呵","飾","蕭","雅","郵","遷","燕","撒","姻","èµ´","å®´","煩","債","帳","斑","鈴","旨","醇","董","餅","雛","姿","拌","傅","腹","妥","揉","è³¢","拆","æ­ª","葡","胺","丟","浩","å¾½","昂","墊","擋","覽","貪","慰","ç¹³","汪","慌","馮","諾","姜","誼","兇","劣","誣","耀","昏","躺","盈","騎","喬","溪","叢","盧","抹","悶","è«®","刮","駕","纜","悟","摘","鉺","擲","頗","å¹»","柄","惠","慘","ä½³","仇","臘","窩","滌","劍","瞧","å ¡","潑","蔥","罩","霍","撈","胎","蒼","濱","倆","捅","湘","砍","霞","邵","萄","瘋","æ·®","遂","熊","糞","烘","宿","檔","戈","駁","嫂","裕","徙","ç®­","捐","腸","撐","曬","辨","殿","蓮","攤","攪","醬","屏","疫","哀","蔡","å µ","沫","皺","暢","疊","閣","萊","敲","轄","鉤","痕","壩","å··","餓","禍","丘","玄","溜","曰","邏","å½­","嘗","卿","妨","艇","吞","韋","怨","矮","歇"]')},function(e){e.exports=JSON.parse('["가격","가끔","가난","가능","가득","가르침","가뭄","가방","가상","가슴","가운데","가을","가이드","가입","가장","가정","가족","가죽","각오","각자","간격","간부","간섭","간장","간접","간판","갈등","갈비","갈색","갈증","감각","감기","감소","감수성","감자","감정","갑자기","강남","강당","강도","강력히","강변","강북","강사","강수량","강아지","강원도","강의","강제","강조","같이","개구리","개나리","개방","개별","개선","개성","개인","객관적","거실","거액","거울","거짓","거품","걱정","건강","건물","건설","건조","건축","걸음","검사","검토","게시판","게임","겨울","견해","결과","결국","결론","결석","결승","결심","결정","결혼","경계","경고","경기","경력","경복궁","경비","경상도","경영","경우","경쟁","경제","경주","경찰","경치","경향","경험","계곡","계단","계란","계산","계속","계약","계절","계층","계획","고객","고구려","고궁","고급","고등학생","고무신","고민","고양이","고장","고전","고집","고춧가루","고통","고향","곡식","골목","골짜기","골프","공간","공개","공격","공군","공급","공기","공동","공무원","공부","공사","공식","공업","공연","공원","공장","공짜","공책","공통","공포","공항","공휴일","과목","과일","과장","과정","과학","관객","관계","관광","관념","관람","관련","관리","관습","관심","관점","관찰","광경","광고","광장","광주","괴로움","굉장히","교과서","교문","교복","교실","교양","교육","교장","교직","교통","교환","교훈","구경","구름","구멍","구별","구분","구석","구성","구속","구역","구입","구청","구체적","국가","국기","국내","국립","국물","국민","국수","국어","국왕","국적","국제","국회","군대","군사","군인","궁극적","권리","권위","권투","귀국","귀신","규정","규칙","균형","그날","그냥","그늘","그러나","그룹","그릇","그림","그제서야","그토록","극복","극히","근거","근교","근래","근로","근무","근본","근원","근육","근처","글씨","글자","금강산","금고","금년","금메달","금액","금연","금요일","금지","긍정적","기간","기관","기념","기능","기독교","기둥","기록","기름","기법","기본","기분","기쁨","기숙사","기술","기억","기업","기온","기운","기원","기적","기준","기침","기혼","기획","긴급","긴장","길이","김밥","김치","김포공항","깍두기","깜빡","깨달음","깨소금","껍질","꼭대기","꽃잎","나들이","나란히","나머지","나물","나침반","나흘","낙엽","난방","날개","날씨","날짜","남녀","남대문","남매","남산","남자","남편","남학생","낭비","낱말","내년","내용","내일","냄비","냄새","냇물","냉동","냉면","냉방","냉장고","넥타이","넷째","노동","노란색","노력","노인","녹음","녹차","녹화","논리","논문","논쟁","놀이","농구","농담","농민","농부","농업","농장","농촌","높이","눈동자","눈물","눈썹","뉴욕","느낌","늑대","능동적","능력","다방","다양성","다음","다이어트","다행","단계","단골","단독","단맛","단순","단어","단위","단점","단체","단추","단편","단풍","달걀","달러","달력","달리","닭고기","담당","담배","담요","담임","답변","답장","당근","당분간","당연히","당장","대규모","대낮","대단히","대답","대도시","대략","대량","대륙","대문","대부분","대신","대응","대장","대전","대접","대중","대책","대출","대충","대통령","대학","대한민국","대합실","대형","덩어리","데이트","도대체","도덕","도둑","도망","도서관","도심","도움","도입","도자기","도저히","도전","도중","도착","독감","독립","독서","독일","독창적","동화책","뒷모습","뒷산","딸아이","마누라","마늘","마당","마라톤","마련","마무리","마사지","마약","마요네즈","마을","마음","마이크","마중","마지막","마찬가지","마찰","마흔","막걸리","막내","막상","만남","만두","만세","만약","만일","만점","만족","만화","많이","말기","말씀","말투","맘대로","망원경","매년","매달","매력","매번","매스컴","매일","매장","맥주","먹이","먼저","먼지","멀리","메일","며느리","며칠","면담","멸치","명단","명령","명예","명의","명절","명칭","명함","모금","모니터","모델","모든","모범","모습","모양","모임","모조리","모집","모퉁이","목걸이","목록","목사","목소리","목숨","목적","목표","몰래","몸매","몸무게","몸살","몸속","몸짓","몸통","몹시","무관심","무궁화","무더위","무덤","무릎","무슨","무엇","무역","무용","무조건","무지개","무척","문구","문득","문법","문서","문제","문학","문화","물가","물건","물결","물고기","물론","물리학","물음","물질","물체","미국","미디어","미사일","미술","미역","미용실","미움","미인","미팅","미혼","민간","민족","민주","믿음","밀가루","밀리미터","밑바닥","바가지","바구니","바나나","바늘","바닥","바닷가","바람","바이러스","바탕","박물관","박사","박수","반대","반드시","반말","반발","반성","반응","반장","반죽","반지","반찬","받침","발가락","발걸음","발견","발달","발레","발목","발바닥","발생","발음","발자국","발전","발톱","발표","밤하늘","밥그릇","밥맛","밥상","밥솥","방금","방면","방문","방바닥","방법","방송","방식","방안","방울","방지","방학","방해","방향","배경","배꼽","배달","배드민턴","백두산","백색","백성","백인","백제","백화점","버릇","버섯","버튼","번개","번역","번지","번호","벌금","벌레","벌써","범위","범인","범죄","법률","법원","법적","법칙","베이징","벨트","변경","변동","변명","변신","변호사","변화","별도","별명","별일","병실","병아리","병원","보관","보너스","보라색","보람","보름","보상","보안","보자기","보장","보전","보존","보통","보편적","보험","복도","복사","복숭아","복습","볶음","본격적","본래","본부","본사","본성","본인","본질","볼펜","봉사","봉지","봉투","부근","부끄러움","부담","부동산","부문","부분","부산","부상","부엌","부인","부작용","부장","부정","부족","부지런히","부친","부탁","부품","부회장","북부","북한","분노","분량","분리","분명","분석","분야","분위기","분필","분홍색","불고기","불과","불교","불꽃","불만","불법","불빛","불안","불이익","불행","브랜드","비극","비난","비닐","비둘기","비디오","비로소","비만","비명","비밀","비바람","비빔밥","비상","비용","비율","비중","비타민","비판","빌딩","빗물","빗방울","빗줄기","빛깔","빨간색","빨래","빨리","사건","사계절","사나이","사냥","사람","사랑","사립","사모님","사물","사방","사상","사생활","사설","사슴","사실","사업","사용","사월","사장","사전","사진","사촌","사춘기","사탕","사투리","사흘","산길","산부인과","산업","산책","살림","살인","살짝","삼계탕","삼국","삼십","삼월","삼촌","상관","상금","상대","상류","상반기","상상","상식","상업","상인","상자","상점","상처","상추","상태","상표","상품","상황","새벽","색깔","색연필","생각","생명","생물","생방송","생산","생선","생신","생일","생활","서랍","서른","서명","서민","서비스","서양","서울","서적","서점","서쪽","서클","석사","석유","선거","선물","선배","선생","선수","선원","선장","선전","선택","선풍기","설거지","설날","설렁탕","설명","설문","설사","설악산","설치","설탕","섭씨","성공","성당","성명","성별","성인","성장","성적","성질","성함","세금","세미나","세상","세월","세종대왕","세탁","센터","센티미터","셋째","소규모","소극적","소금","소나기","소년","소득","소망","소문","소설","소속","소아과","소용","소원","소음","소중히","소지품","소질","소풍","소형","속담","속도","속옷","손가락","손길","손녀","손님","손등","손목","손뼉","손실","손질","손톱","손해","솔직히","솜씨","송아지","송이","송편","쇠고기","쇼핑","수건","수년","수단","수돗물","수동적","수면","수명","수박","수상","수석","수술","수시로","수업","수염","수영","수입","수준","수집","수출","수컷","수필","수학","수험생","수화기","숙녀","숙소","숙제","순간","순서","순수","순식간","순위","숟가락","술병","술집","숫자","스님","스물","스스로","스승","스웨터","스위치","스케이트","스튜디오","스트레스","스포츠","슬쩍","슬픔","습관","습기","승객","승리","승부","승용차","승진","시각","시간","시골","시금치","시나리오","시댁","시리즈","시멘트","시민","시부모","시선","시설","시스템","시아버지","시어머니","시월","시인","시일","시작","시장","시절","시점","시중","시즌","시집","시청","시합","시험","식구","식기","식당","식량","식료품","식물","식빵","식사","식생활","식초","식탁","식품","신고","신규","신념","신문","신발","신비","신사","신세","신용","신제품","신청","신체","신화","실감","실내","실력","실례","실망","실수","실습","실시","실장","실정","실질적","실천","실체","실컷","실태","실패","실험","실현","심리","심부름","심사","심장","심정","심판","쌍둥이","씨름","씨앗","아가씨","아나운서","아드님","아들","아쉬움","아스팔트","아시아","아울러","아저씨","아줌마","아직","아침","아파트","아프리카","아픔","아홉","아흔","악기","악몽","악수","안개","안경","안과","안내","안녕","안동","안방","안부","안주","알루미늄","알코올","암시","암컷","압력","앞날","앞문","애인","애정","액수","앨범","야간","야단","야옹","약간","약국","약속","약수","약점","약품","약혼녀","양념","양력","양말","양배추","양주","양파","어둠","어려움","어른","어젯밤","어쨌든","어쩌다가","어쩐지","언니","언덕","언론","언어","얼굴","얼른","얼음","얼핏","엄마","업무","업종","업체","엉덩이","엉망","엉터리","엊그제","에너지","에어컨","엔진","여건","여고생","여관","여군","여권","여대생","여덟","여동생","여든","여론","여름","여섯","여성","여왕","여인","여전히","여직원","여학생","여행","역사","역시","역할","연결","연구","연극","연기","연락","연설","연세","연속","연습","연애","연예인","연인","연장","연주","연출","연필","연합","연휴","열기","열매","열쇠","열심히","열정","열차","열흘","염려","엽서","영국","영남","영상","영양","영역","영웅","영원히","영하","영향","영혼","영화","옆구리","옆방","옆집","예감","예금","예방","예산","예상","예선","예술","예습","예식장","예약","예전","예절","예정","예컨대","옛날","오늘","오락","오랫동안","오렌지","오로지","오른발","오븐","오십","오염","오월","오전","오직","오징어","오페라","오피스텔","오히려","옥상","옥수수","온갖","온라인","온몸","온종일","온통","올가을","올림픽","올해","옷차림","와이셔츠","와인","완성","완전","왕비","왕자","왜냐하면","왠지","외갓집","외국","외로움","외삼촌","외출","외침","외할머니","왼발","왼손","왼쪽","요금","요일","요즘","요청","용기","용서","용어","우산","우선","우승","우연히","우정","우체국","우편","운동","운명","운반","운전","운행","울산","울음","움직임","웃어른","웃음","워낙","원고","원래","원서","원숭이","원인","원장","원피스","월급","월드컵","월세","월요일","웨이터","위반","위법","위성","위원","위험","위협","윗사람","유난히","유럽","유명","유물","유산","유적","유치원","유학","유행","유형","육군","육상","육십","육체","은행","음력","음료","음반","음성","음식","음악","음주","의견","의논","의문","의복","의식","의심","의외로","의욕","의원","의학","이것","이곳","이념","이놈","이달","이대로","이동","이렇게","이력서","이론적","이름","이민","이발소","이별","이불","이빨","이상","이성","이슬","이야기","이용","이웃","이월","이윽고","이익","이전","이중","이튿날","이틀","이혼","인간","인격","인공","인구","인근","인기","인도","인류","인물","인생","인쇄","인연","인원","인재","인종","인천","인체","인터넷","인하","인형","일곱","일기","일단","일대","일등","일반","일본","일부","일상","일생","일손","일요일","일월","일정","일종","일주일","일찍","일체","일치","일행","일회용","임금","임무","입대","입력","입맛","입사","입술","입시","입원","입장","입학","자가용","자격","자극","자동","자랑","자부심","자식","자신","자연","자원","자율","자전거","자정","자존심","자판","작가","작년","작성","작업","작용","작은딸","작품","잔디","잔뜩","잔치","잘못","잠깐","잠수함","잠시","잠옷","잠자리","잡지","장관","장군","장기간","장래","장례","장르","장마","장면","장모","장미","장비","장사","장소","장식","장애인","장인","장점","장차","장학금","재능","재빨리","재산","재생","재작년","재정","재채기","재판","재학","재활용","저것","저고리","저곳","저녁","저런","저렇게","저번","저울","저절로","저축","적극","적당히","적성","적용","적응","전개","전공","전기","전달","전라도","전망","전문","전반","전부","전세","전시","전용","전자","전쟁","전주","전철","전체","전통","전혀","전후","절대","절망","절반","절약","절차","점검","점수","점심","점원","점점","점차","접근","접시","접촉","젓가락","정거장","정도","정류장","정리","정말","정면","정문","정반대","정보","정부","정비","정상","정성","정오","정원","정장","정지","정치","정확히","제공","제과점","제대로","제목","제발","제법","제삿날","제안","제일","제작","제주도","제출","제품","제한","조각","조건","조금","조깅","조명","조미료","조상","조선","조용히","조절","조정","조직","존댓말","존재","졸업","졸음","종교","종로","종류","종소리","종업원","종종","종합","좌석","죄인","주관적","주름","주말","주머니","주먹","주문","주민","주방","주변","주식","주인","주일","주장","주전자","주택","준비","줄거리","줄기","줄무늬","중간","중계방송","중국","중년","중단","중독","중반","중부","중세","중소기업","중순","중앙","중요","중학교","즉석","즉시","즐거움","증가","증거","증권","증상","증세","지각","지갑","지경","지극히","지금","지급","지능","지름길","지리산","지방","지붕","지식","지역","지우개","지원","지적","지점","지진","지출","직선","직업","직원","직장","진급","진동","진로","진료","진리","진짜","진찰","진출","진통","진행","질문","질병","질서","짐작","집단","집안","집중","짜증","찌꺼기","차남","차라리","차량","차림","차별","차선","차츰","착각","찬물","찬성","참가","참기름","참새","참석","참여","참외","참조","찻잔","창가","창고","창구","창문","창밖","창작","창조","채널","채점","책가방","책방","책상","책임","챔피언","처벌","처음","천국","천둥","천장","천재","천천히","철도","철저히","철학","첫날","첫째","청년","청바지","청소","청춘","체계","체력","체온","체육","체중","체험","초등학생","초반","초밥","초상화","초순","초여름","초원","초저녁","초점","초청","초콜릿","촛불","총각","총리","총장","촬영","최근","최상","최선","최신","최악","최종","추석","추억","추진","추천","추측","축구","축소","축제","축하","출근","출발","출산","출신","출연","출입","출장","출판","충격","충고","충돌","충분히","충청도","취업","취직","취향","치약","친구","친척","칠십","칠월","칠판","침대","침묵","침실","칫솔","칭찬","카메라","카운터","칼국수","캐릭터","캠퍼스","캠페인","커튼","컨디션","컬러","컴퓨터","코끼리","코미디","콘서트","콜라","콤플렉스","콩나물","쾌감","쿠데타","크림","큰길","큰딸","큰소리","큰아들","큰어머니","큰일","큰절","클래식","클럽","킬로","타입","타자기","탁구","탁자","탄생","태권도","태양","태풍","택시","탤런트","터널","터미널","테니스","테스트","테이블","텔레비전","토론","토마토","토요일","통계","통과","통로","통신","통역","통일","통장","통제","통증","통합","통화","퇴근","퇴원","퇴직금","튀김","트럭","특급","특별","특성","특수","특징","특히","튼튼히","티셔츠","파란색","파일","파출소","판결","판단","판매","판사","팔십","팔월","팝송","패션","팩스","팩시밀리","팬티","퍼센트","페인트","편견","편의","편지","편히","평가","평균","평생","평소","평양","평일","평화","포스터","포인트","포장","포함","표면","표정","표준","표현","품목","품질","풍경","풍속","풍습","프랑스","프린터","플라스틱","피곤","피망","피아노","필름","필수","필요","필자","필통","핑계","하느님","하늘","하드웨어","하룻밤","하반기","하숙집","하순","하여튼","하지만","하천","하품","하필","학과","학교","학급","학기","학년","학력","학번","학부모","학비","학생","학술","학습","학용품","학원","학위","학자","학점","한계","한글","한꺼번에","한낮","한눈","한동안","한때","한라산","한마디","한문","한번","한복","한식","한여름","한쪽","할머니","할아버지","할인","함께","함부로","합격","합리적","항공","항구","항상","항의","해결","해군","해답","해당","해물","해석","해설","해수욕장","해안","핵심","핸드백","햄버거","햇볕","햇살","행동","행복","행사","행운","행위","향기","향상","향수","허락","허용","헬기","현관","현금","현대","현상","현실","현장","현재","현지","혈액","협력","형부","형사","형수","형식","형제","형태","형편","혜택","호기심","호남","호랑이","호박","호텔","호흡","혹시","홀로","홈페이지","홍보","홍수","홍차","화면","화분","화살","화요일","화장","화학","확보","확인","확장","확정","환갑","환경","환영","환율","환자","활기","활동","활발히","활용","활짝","회견","회관","회복","회색","회원","회장","회전","횟수","횡단보도","효율적","후반","후춧가루","훈련","훨씬","휴식","휴일","흉내","흐름","흑백","흑인","흔적","흔히","흥미","흥분","희곡","희망","희생","흰색","힘껏"]')},function(e){e.exports=JSON.parse('["abaisser","abandon","abdiquer","abeille","abolir","aborder","aboutir","aboyer","abrasif","abreuver","abriter","abroger","abrupt","absence","absolu","absurde","abusif","abyssal","académie","acajou","acarien","accabler","accepter","acclamer","accolade","accroche","accuser","acerbe","achat","acheter","aciduler","acier","acompte","acquérir","acronyme","acteur","actif","actuel","adepte","adéquat","adhésif","adjectif","adjuger","admettre","admirer","adopter","adorer","adoucir","adresse","adroit","adulte","adverbe","aérer","aéronef","affaire","affecter","affiche","affreux","affubler","agacer","agencer","agile","agiter","agrafer","agréable","agrume","aider","aiguille","ailier","aimable","aisance","ajouter","ajuster","alarmer","alchimie","alerte","algèbre","algue","aliéner","aliment","alléger","alliage","allouer","allumer","alourdir","alpaga","altesse","alvéole","amateur","ambigu","ambre","aménager","amertume","amidon","amiral","amorcer","amour","amovible","amphibie","ampleur","amusant","analyse","anaphore","anarchie","anatomie","ancien","anéantir","angle","angoisse","anguleux","animal","annexer","annonce","annuel","anodin","anomalie","anonyme","anormal","antenne","antidote","anxieux","apaiser","apéritif","aplanir","apologie","appareil","appeler","apporter","appuyer","aquarium","aqueduc","arbitre","arbuste","ardeur","ardoise","argent","arlequin","armature","armement","armoire","armure","arpenter","arracher","arriver","arroser","arsenic","artériel","article","aspect","asphalte","aspirer","assaut","asservir","assiette","associer","assurer","asticot","astre","astuce","atelier","atome","atrium","atroce","attaque","attentif","attirer","attraper","aubaine","auberge","audace","audible","augurer","aurore","automne","autruche","avaler","avancer","avarice","avenir","averse","aveugle","aviateur","avide","avion","aviser","avoine","avouer","avril","axial","axiome","badge","bafouer","bagage","baguette","baignade","balancer","balcon","baleine","balisage","bambin","bancaire","bandage","banlieue","bannière","banquier","barbier","baril","baron","barque","barrage","bassin","bastion","bataille","bateau","batterie","baudrier","bavarder","belette","bélier","belote","bénéfice","berceau","berger","berline","bermuda","besace","besogne","bétail","beurre","biberon","bicycle","bidule","bijou","bilan","bilingue","billard","binaire","biologie","biopsie","biotype","biscuit","bison","bistouri","bitume","bizarre","blafard","blague","blanchir","blessant","blinder","blond","bloquer","blouson","bobard","bobine","boire","boiser","bolide","bonbon","bondir","bonheur","bonifier","bonus","bordure","borne","botte","boucle","boueux","bougie","boulon","bouquin","bourse","boussole","boutique","boxeur","branche","brasier","brave","brebis","brèche","breuvage","bricoler","brigade","brillant","brioche","brique","brochure","broder","bronzer","brousse","broyeur","brume","brusque","brutal","bruyant","buffle","buisson","bulletin","bureau","burin","bustier","butiner","butoir","buvable","buvette","cabanon","cabine","cachette","cadeau","cadre","caféine","caillou","caisson","calculer","calepin","calibre","calmer","calomnie","calvaire","camarade","caméra","camion","campagne","canal","caneton","canon","cantine","canular","capable","caporal","caprice","capsule","capter","capuche","carabine","carbone","caresser","caribou","carnage","carotte","carreau","carton","cascade","casier","casque","cassure","causer","caution","cavalier","caverne","caviar","cédille","ceinture","céleste","cellule","cendrier","censurer","central","cercle","cérébral","cerise","cerner","cerveau","cesser","chagrin","chaise","chaleur","chambre","chance","chapitre","charbon","chasseur","chaton","chausson","chavirer","chemise","chenille","chéquier","chercher","cheval","chien","chiffre","chignon","chimère","chiot","chlorure","chocolat","choisir","chose","chouette","chrome","chute","cigare","cigogne","cimenter","cinéma","cintrer","circuler","cirer","cirque","citerne","citoyen","citron","civil","clairon","clameur","claquer","classe","clavier","client","cligner","climat","clivage","cloche","clonage","cloporte","cobalt","cobra","cocasse","cocotier","coder","codifier","coffre","cogner","cohésion","coiffer","coincer","colère","colibri","colline","colmater","colonel","combat","comédie","commande","compact","concert","conduire","confier","congeler","connoter","consonne","contact","convexe","copain","copie","corail","corbeau","cordage","corniche","corpus","correct","cortège","cosmique","costume","coton","coude","coupure","courage","couteau","couvrir","coyote","crabe","crainte","cravate","crayon","créature","créditer","crémeux","creuser","crevette","cribler","crier","cristal","critère","croire","croquer","crotale","crucial","cruel","crypter","cubique","cueillir","cuillère","cuisine","cuivre","culminer","cultiver","cumuler","cupide","curatif","curseur","cyanure","cycle","cylindre","cynique","daigner","damier","danger","danseur","dauphin","débattre","débiter","déborder","débrider","débutant","décaler","décembre","déchirer","décider","déclarer","décorer","décrire","décupler","dédale","déductif","déesse","défensif","défiler","défrayer","dégager","dégivrer","déglutir","dégrafer","déjeuner","délice","déloger","demander","demeurer","démolir","dénicher","dénouer","dentelle","dénuder","départ","dépenser","déphaser","déplacer","déposer","déranger","dérober","désastre","descente","désert","désigner","désobéir","dessiner","destrier","détacher","détester","détourer","détresse","devancer","devenir","deviner","devoir","diable","dialogue","diamant","dicter","différer","digérer","digital","digne","diluer","dimanche","diminuer","dioxyde","directif","diriger","discuter","disposer","dissiper","distance","divertir","diviser","docile","docteur","dogme","doigt","domaine","domicile","dompter","donateur","donjon","donner","dopamine","dortoir","dorure","dosage","doseur","dossier","dotation","douanier","double","douceur","douter","doyen","dragon","draper","dresser","dribbler","droiture","duperie","duplexe","durable","durcir","dynastie","éblouir","écarter","écharpe","échelle","éclairer","éclipse","éclore","écluse","école","économie","écorce","écouter","écraser","écrémer","écrivain","écrou","écume","écureuil","édifier","éduquer","effacer","effectif","effigie","effort","effrayer","effusion","égaliser","égarer","éjecter","élaborer","élargir","électron","élégant","éléphant","élève","éligible","élitisme","éloge","élucider","éluder","emballer","embellir","embryon","émeraude","émission","emmener","émotion","émouvoir","empereur","employer","emporter","emprise","émulsion","encadrer","enchère","enclave","encoche","endiguer","endosser","endroit","enduire","énergie","enfance","enfermer","enfouir","engager","engin","englober","énigme","enjamber","enjeu","enlever","ennemi","ennuyeux","enrichir","enrobage","enseigne","entasser","entendre","entier","entourer","entraver","énumérer","envahir","enviable","envoyer","enzyme","éolien","épaissir","épargne","épatant","épaule","épicerie","épidémie","épier","épilogue","épine","épisode","épitaphe","époque","épreuve","éprouver","épuisant","équerre","équipe","ériger","érosion","erreur","éruption","escalier","espadon","espèce","espiègle","espoir","esprit","esquiver","essayer","essence","essieu","essorer","estime","estomac","estrade","étagère","étaler","étanche","étatique","éteindre","étendoir","éternel","éthanol","éthique","ethnie","étirer","étoffer","étoile","étonnant","étourdir","étrange","étroit","étude","euphorie","évaluer","évasion","éventail","évidence","éviter","évolutif","évoquer","exact","exagérer","exaucer","exceller","excitant","exclusif","excuse","exécuter","exemple","exercer","exhaler","exhorter","exigence","exiler","exister","exotique","expédier","explorer","exposer","exprimer","exquis","extensif","extraire","exulter","fable","fabuleux","facette","facile","facture","faiblir","falaise","fameux","famille","farceur","farfelu","farine","farouche","fasciner","fatal","fatigue","faucon","fautif","faveur","favori","fébrile","féconder","fédérer","félin","femme","fémur","fendoir","féodal","fermer","féroce","ferveur","festival","feuille","feutre","février","fiasco","ficeler","fictif","fidèle","figure","filature","filetage","filière","filleul","filmer","filou","filtrer","financer","finir","fiole","firme","fissure","fixer","flairer","flamme","flasque","flatteur","fléau","flèche","fleur","flexion","flocon","flore","fluctuer","fluide","fluvial","folie","fonderie","fongible","fontaine","forcer","forgeron","formuler","fortune","fossile","foudre","fougère","fouiller","foulure","fourmi","fragile","fraise","franchir","frapper","frayeur","frégate","freiner","frelon","frémir","frénésie","frère","friable","friction","frisson","frivole","froid","fromage","frontal","frotter","fruit","fugitif","fuite","fureur","furieux","furtif","fusion","futur","gagner","galaxie","galerie","gambader","garantir","gardien","garnir","garrigue","gazelle","gazon","géant","gélatine","gélule","gendarme","général","génie","genou","gentil","géologie","géomètre","géranium","germe","gestuel","geyser","gibier","gicler","girafe","givre","glace","glaive","glisser","globe","gloire","glorieux","golfeur","gomme","gonfler","gorge","gorille","goudron","gouffre","goulot","goupille","gourmand","goutte","graduel","graffiti","graine","grand","grappin","gratuit","gravir","grenat","griffure","griller","grimper","grogner","gronder","grotte","groupe","gruger","grutier","gruyère","guépard","guerrier","guide","guimauve","guitare","gustatif","gymnaste","gyrostat","habitude","hachoir","halte","hameau","hangar","hanneton","haricot","harmonie","harpon","hasard","hélium","hématome","herbe","hérisson","hermine","héron","hésiter","heureux","hiberner","hibou","hilarant","histoire","hiver","homard","hommage","homogène","honneur","honorer","honteux","horde","horizon","horloge","hormone","horrible","houleux","housse","hublot","huileux","humain","humble","humide","humour","hurler","hydromel","hygiène","hymne","hypnose","idylle","ignorer","iguane","illicite","illusion","image","imbiber","imiter","immense","immobile","immuable","impact","impérial","implorer","imposer","imprimer","imputer","incarner","incendie","incident","incliner","incolore","indexer","indice","inductif","inédit","ineptie","inexact","infini","infliger","informer","infusion","ingérer","inhaler","inhiber","injecter","injure","innocent","inoculer","inonder","inscrire","insecte","insigne","insolite","inspirer","instinct","insulter","intact","intense","intime","intrigue","intuitif","inutile","invasion","inventer","inviter","invoquer","ironique","irradier","irréel","irriter","isoler","ivoire","ivresse","jaguar","jaillir","jambe","janvier","jardin","jauger","jaune","javelot","jetable","jeton","jeudi","jeunesse","joindre","joncher","jongler","joueur","jouissif","journal","jovial","joyau","joyeux","jubiler","jugement","junior","jupon","juriste","justice","juteux","juvénile","kayak","kimono","kiosque","label","labial","labourer","lacérer","lactose","lagune","laine","laisser","laitier","lambeau","lamelle","lampe","lanceur","langage","lanterne","lapin","largeur","larme","laurier","lavabo","lavoir","lecture","légal","léger","légume","lessive","lettre","levier","lexique","lézard","liasse","libérer","libre","licence","licorne","liège","lièvre","ligature","ligoter","ligue","limer","limite","limonade","limpide","linéaire","lingot","lionceau","liquide","lisière","lister","lithium","litige","littoral","livreur","logique","lointain","loisir","lombric","loterie","louer","lourd","loutre","louve","loyal","lubie","lucide","lucratif","lueur","lugubre","luisant","lumière","lunaire","lundi","luron","lutter","luxueux","machine","magasin","magenta","magique","maigre","maillon","maintien","mairie","maison","majorer","malaxer","maléfice","malheur","malice","mallette","mammouth","mandater","maniable","manquant","manteau","manuel","marathon","marbre","marchand","mardi","maritime","marqueur","marron","marteler","mascotte","massif","matériel","matière","matraque","maudire","maussade","mauve","maximal","méchant","méconnu","médaille","médecin","méditer","méduse","meilleur","mélange","mélodie","membre","mémoire","menacer","mener","menhir","mensonge","mentor","mercredi","mérite","merle","messager","mesure","métal","météore","méthode","métier","meuble","miauler","microbe","miette","mignon","migrer","milieu","million","mimique","mince","minéral","minimal","minorer","minute","miracle","miroiter","missile","mixte","mobile","moderne","moelleux","mondial","moniteur","monnaie","monotone","monstre","montagne","monument","moqueur","morceau","morsure","mortier","moteur","motif","mouche","moufle","moulin","mousson","mouton","mouvant","multiple","munition","muraille","murène","murmure","muscle","muséum","musicien","mutation","muter","mutuel","myriade","myrtille","mystère","mythique","nageur","nappe","narquois","narrer","natation","nation","nature","naufrage","nautique","navire","nébuleux","nectar","néfaste","négation","négliger","négocier","neige","nerveux","nettoyer","neurone","neutron","neveu","niche","nickel","nitrate","niveau","noble","nocif","nocturne","noirceur","noisette","nomade","nombreux","nommer","normatif","notable","notifier","notoire","nourrir","nouveau","novateur","novembre","novice","nuage","nuancer","nuire","nuisible","numéro","nuptial","nuque","nutritif","obéir","objectif","obliger","obscur","observer","obstacle","obtenir","obturer","occasion","occuper","océan","octobre","octroyer","octupler","oculaire","odeur","odorant","offenser","officier","offrir","ogive","oiseau","oisillon","olfactif","olivier","ombrage","omettre","onctueux","onduler","onéreux","onirique","opale","opaque","opérer","opinion","opportun","opprimer","opter","optique","orageux","orange","orbite","ordonner","oreille","organe","orgueil","orifice","ornement","orque","ortie","osciller","osmose","ossature","otarie","ouragan","ourson","outil","outrager","ouvrage","ovation","oxyde","oxygène","ozone","paisible","palace","palmarès","palourde","palper","panache","panda","pangolin","paniquer","panneau","panorama","pantalon","papaye","papier","papoter","papyrus","paradoxe","parcelle","paresse","parfumer","parler","parole","parrain","parsemer","partager","parure","parvenir","passion","pastèque","paternel","patience","patron","pavillon","pavoiser","payer","paysage","peigne","peintre","pelage","pélican","pelle","pelouse","peluche","pendule","pénétrer","pénible","pensif","pénurie","pépite","péplum","perdrix","perforer","période","permuter","perplexe","persil","perte","peser","pétale","petit","pétrir","peuple","pharaon","phobie","phoque","photon","phrase","physique","piano","pictural","pièce","pierre","pieuvre","pilote","pinceau","pipette","piquer","pirogue","piscine","piston","pivoter","pixel","pizza","placard","plafond","plaisir","planer","plaque","plastron","plateau","pleurer","plexus","pliage","plomb","plonger","pluie","plumage","pochette","poésie","poète","pointe","poirier","poisson","poivre","polaire","policier","pollen","polygone","pommade","pompier","ponctuel","pondérer","poney","portique","position","posséder","posture","potager","poteau","potion","pouce","poulain","poumon","pourpre","poussin","pouvoir","prairie","pratique","précieux","prédire","préfixe","prélude","prénom","présence","prétexte","prévoir","primitif","prince","prison","priver","problème","procéder","prodige","profond","progrès","proie","projeter","prologue","promener","propre","prospère","protéger","prouesse","proverbe","prudence","pruneau","psychose","public","puceron","puiser","pulpe","pulsar","punaise","punitif","pupitre","purifier","puzzle","pyramide","quasar","querelle","question","quiétude","quitter","quotient","racine","raconter","radieux","ragondin","raideur","raisin","ralentir","rallonge","ramasser","rapide","rasage","ratisser","ravager","ravin","rayonner","réactif","réagir","réaliser","réanimer","recevoir","réciter","réclamer","récolter","recruter","reculer","recycler","rédiger","redouter","refaire","réflexe","réformer","refrain","refuge","régalien","région","réglage","régulier","réitérer","rejeter","rejouer","relatif","relever","relief","remarque","remède","remise","remonter","remplir","remuer","renard","renfort","renifler","renoncer","rentrer","renvoi","replier","reporter","reprise","reptile","requin","réserve","résineux","résoudre","respect","rester","résultat","rétablir","retenir","réticule","retomber","retracer","réunion","réussir","revanche","revivre","révolte","révulsif","richesse","rideau","rieur","rigide","rigoler","rincer","riposter","risible","risque","rituel","rival","rivière","rocheux","romance","rompre","ronce","rondin","roseau","rosier","rotatif","rotor","rotule","rouge","rouille","rouleau","routine","royaume","ruban","rubis","ruche","ruelle","rugueux","ruiner","ruisseau","ruser","rustique","rythme","sabler","saboter","sabre","sacoche","safari","sagesse","saisir","salade","salive","salon","saluer","samedi","sanction","sanglier","sarcasme","sardine","saturer","saugrenu","saumon","sauter","sauvage","savant","savonner","scalpel","scandale","scélérat","scénario","sceptre","schéma","science","scinder","score","scrutin","sculpter","séance","sécable","sécher","secouer","sécréter","sédatif","séduire","seigneur","séjour","sélectif","semaine","sembler","semence","séminal","sénateur","sensible","sentence","séparer","séquence","serein","sergent","sérieux","serrure","sérum","service","sésame","sévir","sevrage","sextuple","sidéral","siècle","siéger","siffler","sigle","signal","silence","silicium","simple","sincère","sinistre","siphon","sirop","sismique","situer","skier","social","socle","sodium","soigneux","soldat","soleil","solitude","soluble","sombre","sommeil","somnoler","sonde","songeur","sonnette","sonore","sorcier","sortir","sosie","sottise","soucieux","soudure","souffle","soulever","soupape","source","soutirer","souvenir","spacieux","spatial","spécial","sphère","spiral","stable","station","sternum","stimulus","stipuler","strict","studieux","stupeur","styliste","sublime","substrat","subtil","subvenir","succès","sucre","suffixe","suggérer","suiveur","sulfate","superbe","supplier","surface","suricate","surmener","surprise","sursaut","survie","suspect","syllabe","symbole","symétrie","synapse","syntaxe","système","tabac","tablier","tactile","tailler","talent","talisman","talonner","tambour","tamiser","tangible","tapis","taquiner","tarder","tarif","tartine","tasse","tatami","tatouage","taupe","taureau","taxer","témoin","temporel","tenaille","tendre","teneur","tenir","tension","terminer","terne","terrible","tétine","texte","thème","théorie","thérapie","thorax","tibia","tiède","timide","tirelire","tiroir","tissu","titane","titre","tituber","toboggan","tolérant","tomate","tonique","tonneau","toponyme","torche","tordre","tornade","torpille","torrent","torse","tortue","totem","toucher","tournage","tousser","toxine","traction","trafic","tragique","trahir","train","trancher","travail","trèfle","tremper","trésor","treuil","triage","tribunal","tricoter","trilogie","triomphe","tripler","triturer","trivial","trombone","tronc","tropical","troupeau","tuile","tulipe","tumulte","tunnel","turbine","tuteur","tutoyer","tuyau","tympan","typhon","typique","tyran","ubuesque","ultime","ultrason","unanime","unifier","union","unique","unitaire","univers","uranium","urbain","urticant","usage","usine","usuel","usure","utile","utopie","vacarme","vaccin","vagabond","vague","vaillant","vaincre","vaisseau","valable","valise","vallon","valve","vampire","vanille","vapeur","varier","vaseux","vassal","vaste","vecteur","vedette","végétal","véhicule","veinard","véloce","vendredi","vénérer","venger","venimeux","ventouse","verdure","vérin","vernir","verrou","verser","vertu","veston","vétéran","vétuste","vexant","vexer","viaduc","viande","victoire","vidange","vidéo","vignette","vigueur","vilain","village","vinaigre","violon","vipère","virement","virtuose","virus","visage","viseur","vision","visqueux","visuel","vital","vitesse","viticole","vitrine","vivace","vivipare","vocation","voguer","voile","voisin","voiture","volaille","volcan","voltiger","volume","vorace","vortex","voter","vouloir","voyage","voyelle","wagon","xénon","yacht","zèbre","zénith","zeste","zoologie"]')},function(e){e.exports=JSON.parse('["abaco","abbaglio","abbinato","abete","abisso","abolire","abrasivo","abrogato","accadere","accenno","accusato","acetone","achille","acido","acqua","acre","acrilico","acrobata","acuto","adagio","addebito","addome","adeguato","aderire","adipe","adottare","adulare","affabile","affetto","affisso","affranto","aforisma","afoso","africano","agave","agente","agevole","aggancio","agire","agitare","agonismo","agricolo","agrumeto","aguzzo","alabarda","alato","albatro","alberato","albo","albume","alce","alcolico","alettone","alfa","algebra","aliante","alibi","alimento","allagato","allegro","allievo","allodola","allusivo","almeno","alogeno","alpaca","alpestre","altalena","alterno","alticcio","altrove","alunno","alveolo","alzare","amalgama","amanita","amarena","ambito","ambrato","ameba","america","ametista","amico","ammasso","ammenda","ammirare","ammonito","amore","ampio","ampliare","amuleto","anacardo","anagrafe","analista","anarchia","anatra","anca","ancella","ancora","andare","andrea","anello","angelo","angolare","angusto","anima","annegare","annidato","anno","annuncio","anonimo","anticipo","anzi","apatico","apertura","apode","apparire","appetito","appoggio","approdo","appunto","aprile","arabica","arachide","aragosta","araldica","arancio","aratura","arazzo","arbitro","archivio","ardito","arenile","argento","argine","arguto","aria","armonia","arnese","arredato","arringa","arrosto","arsenico","arso","artefice","arzillo","asciutto","ascolto","asepsi","asettico","asfalto","asino","asola","aspirato","aspro","assaggio","asse","assoluto","assurdo","asta","astenuto","astice","astratto","atavico","ateismo","atomico","atono","attesa","attivare","attorno","attrito","attuale","ausilio","austria","autista","autonomo","autunno","avanzato","avere","avvenire","avviso","avvolgere","azione","azoto","azzimo","azzurro","babele","baccano","bacino","baco","badessa","badilata","bagnato","baita","balcone","baldo","balena","ballata","balzano","bambino","bandire","baraonda","barbaro","barca","baritono","barlume","barocco","basilico","basso","batosta","battuto","baule","bava","bavosa","becco","beffa","belgio","belva","benda","benevole","benigno","benzina","bere","berlina","beta","bibita","bici","bidone","bifido","biga","bilancia","bimbo","binocolo","biologo","bipede","bipolare","birbante","birra","biscotto","bisesto","bisnonno","bisonte","bisturi","bizzarro","blando","blatta","bollito","bonifico","bordo","bosco","botanico","bottino","bozzolo","braccio","bradipo","brama","branca","bravura","bretella","brevetto","brezza","briglia","brillante","brindare","broccolo","brodo","bronzina","brullo","bruno","bubbone","buca","budino","buffone","buio","bulbo","buono","burlone","burrasca","bussola","busta","cadetto","caduco","calamaro","calcolo","calesse","calibro","calmo","caloria","cambusa","camerata","camicia","cammino","camola","campale","canapa","candela","cane","canino","canotto","cantina","capace","capello","capitolo","capogiro","cappero","capra","capsula","carapace","carcassa","cardo","carisma","carovana","carretto","cartolina","casaccio","cascata","caserma","caso","cassone","castello","casuale","catasta","catena","catrame","cauto","cavillo","cedibile","cedrata","cefalo","celebre","cellulare","cena","cenone","centesimo","ceramica","cercare","certo","cerume","cervello","cesoia","cespo","ceto","chela","chiaro","chicca","chiedere","chimera","china","chirurgo","chitarra","ciao","ciclismo","cifrare","cigno","cilindro","ciottolo","circa","cirrosi","citrico","cittadino","ciuffo","civetta","civile","classico","clinica","cloro","cocco","codardo","codice","coerente","cognome","collare","colmato","colore","colposo","coltivato","colza","coma","cometa","commando","comodo","computer","comune","conciso","condurre","conferma","congelare","coniuge","connesso","conoscere","consumo","continuo","convegno","coperto","copione","coppia","copricapo","corazza","cordata","coricato","cornice","corolla","corpo","corredo","corsia","cortese","cosmico","costante","cottura","covato","cratere","cravatta","creato","credere","cremoso","crescita","creta","criceto","crinale","crisi","critico","croce","cronaca","crostata","cruciale","crusca","cucire","cuculo","cugino","cullato","cupola","curatore","cursore","curvo","cuscino","custode","dado","daino","dalmata","damerino","daniela","dannoso","danzare","datato","davanti","davvero","debutto","decennio","deciso","declino","decollo","decreto","dedicato","definito","deforme","degno","delegare","delfino","delirio","delta","demenza","denotato","dentro","deposito","derapata","derivare","deroga","descritto","deserto","desiderio","desumere","detersivo","devoto","diametro","dicembre","diedro","difeso","diffuso","digerire","digitale","diluvio","dinamico","dinnanzi","dipinto","diploma","dipolo","diradare","dire","dirotto","dirupo","disagio","discreto","disfare","disgelo","disposto","distanza","disumano","dito","divano","divelto","dividere","divorato","doblone","docente","doganale","dogma","dolce","domato","domenica","dominare","dondolo","dono","dormire","dote","dottore","dovuto","dozzina","drago","druido","dubbio","dubitare","ducale","duna","duomo","duplice","duraturo","ebano","eccesso","ecco","eclissi","economia","edera","edicola","edile","editoria","educare","egemonia","egli","egoismo","egregio","elaborato","elargire","elegante","elencato","eletto","elevare","elfico","elica","elmo","elsa","eluso","emanato","emblema","emesso","emiro","emotivo","emozione","empirico","emulo","endemico","enduro","energia","enfasi","enoteca","entrare","enzima","epatite","epilogo","episodio","epocale","eppure","equatore","erario","erba","erboso","erede","eremita","erigere","ermetico","eroe","erosivo","errante","esagono","esame","esanime","esaudire","esca","esempio","esercito","esibito","esigente","esistere","esito","esofago","esortato","esoso","espanso","espresso","essenza","esso","esteso","estimare","estonia","estroso","esultare","etilico","etnico","etrusco","etto","euclideo","europa","evaso","evidenza","evitato","evoluto","evviva","fabbrica","faccenda","fachiro","falco","famiglia","fanale","fanfara","fango","fantasma","fare","farfalla","farinoso","farmaco","fascia","fastoso","fasullo","faticare","fato","favoloso","febbre","fecola","fede","fegato","felpa","feltro","femmina","fendere","fenomeno","fermento","ferro","fertile","fessura","festivo","fetta","feudo","fiaba","fiducia","fifa","figurato","filo","finanza","finestra","finire","fiore","fiscale","fisico","fiume","flacone","flamenco","flebo","flemma","florido","fluente","fluoro","fobico","focaccia","focoso","foderato","foglio","folata","folclore","folgore","fondente","fonetico","fonia","fontana","forbito","forchetta","foresta","formica","fornaio","foro","fortezza","forzare","fosfato","fosso","fracasso","frana","frassino","fratello","freccetta","frenata","fresco","frigo","frollino","fronde","frugale","frutta","fucilata","fucsia","fuggente","fulmine","fulvo","fumante","fumetto","fumoso","fune","funzione","fuoco","furbo","furgone","furore","fuso","futile","gabbiano","gaffe","galateo","gallina","galoppo","gambero","gamma","garanzia","garbo","garofano","garzone","gasdotto","gasolio","gastrico","gatto","gaudio","gazebo","gazzella","geco","gelatina","gelso","gemello","gemmato","gene","genitore","gennaio","genotipo","gergo","ghepardo","ghiaccio","ghisa","giallo","gilda","ginepro","giocare","gioiello","giorno","giove","girato","girone","gittata","giudizio","giurato","giusto","globulo","glutine","gnomo","gobba","golf","gomito","gommone","gonfio","gonna","governo","gracile","grado","grafico","grammo","grande","grattare","gravoso","grazia","greca","gregge","grifone","grigio","grinza","grotta","gruppo","guadagno","guaio","guanto","guardare","gufo","guidare","ibernato","icona","identico","idillio","idolo","idra","idrico","idrogeno","igiene","ignaro","ignorato","ilare","illeso","illogico","illudere","imballo","imbevuto","imbocco","imbuto","immane","immerso","immolato","impacco","impeto","impiego","importo","impronta","inalare","inarcare","inattivo","incanto","incendio","inchino","incisivo","incluso","incontro","incrocio","incubo","indagine","india","indole","inedito","infatti","infilare","inflitto","ingaggio","ingegno","inglese","ingordo","ingrosso","innesco","inodore","inoltrare","inondato","insano","insetto","insieme","insonnia","insulina","intasato","intero","intonaco","intuito","inumidire","invalido","invece","invito","iperbole","ipnotico","ipotesi","ippica","iride","irlanda","ironico","irrigato","irrorare","isolato","isotopo","isterico","istituto","istrice","italia","iterare","labbro","labirinto","lacca","lacerato","lacrima","lacuna","laddove","lago","lampo","lancetta","lanterna","lardoso","larga","laringe","lastra","latenza","latino","lattuga","lavagna","lavoro","legale","leggero","lembo","lentezza","lenza","leone","lepre","lesivo","lessato","lesto","letterale","leva","levigato","libero","lido","lievito","lilla","limatura","limitare","limpido","lineare","lingua","liquido","lira","lirica","lisca","lite","litigio","livrea","locanda","lode","logica","lombare","londra","longevo","loquace","lorenzo","loto","lotteria","luce","lucidato","lumaca","luminoso","lungo","lupo","luppolo","lusinga","lusso","lutto","macabro","macchina","macero","macinato","madama","magico","maglia","magnete","magro","maiolica","malafede","malgrado","malinteso","malsano","malto","malumore","mana","mancia","mandorla","mangiare","manifesto","mannaro","manovra","mansarda","mantide","manubrio","mappa","maratona","marcire","maretta","marmo","marsupio","maschera","massaia","mastino","materasso","matricola","mattone","maturo","mazurca","meandro","meccanico","mecenate","medesimo","meditare","mega","melassa","melis","melodia","meninge","meno","mensola","mercurio","merenda","merlo","meschino","mese","messere","mestolo","metallo","metodo","mettere","miagolare","mica","micelio","michele","microbo","midollo","miele","migliore","milano","milite","mimosa","minerale","mini","minore","mirino","mirtillo","miscela","missiva","misto","misurare","mitezza","mitigare","mitra","mittente","mnemonico","modello","modifica","modulo","mogano","mogio","mole","molosso","monastero","monco","mondina","monetario","monile","monotono","monsone","montato","monviso","mora","mordere","morsicato","mostro","motivato","motosega","motto","movenza","movimento","mozzo","mucca","mucosa","muffa","mughetto","mugnaio","mulatto","mulinello","multiplo","mummia","munto","muovere","murale","musa","muscolo","musica","mutevole","muto","nababbo","nafta","nanometro","narciso","narice","narrato","nascere","nastrare","naturale","nautica","naviglio","nebulosa","necrosi","negativo","negozio","nemmeno","neofita","neretto","nervo","nessuno","nettuno","neutrale","neve","nevrotico","nicchia","ninfa","nitido","nobile","nocivo","nodo","nome","nomina","nordico","normale","norvegese","nostrano","notare","notizia","notturno","novella","nucleo","nulla","numero","nuovo","nutrire","nuvola","nuziale","oasi","obbedire","obbligo","obelisco","oblio","obolo","obsoleto","occasione","occhio","occidente","occorrere","occultare","ocra","oculato","odierno","odorare","offerta","offrire","offuscato","oggetto","oggi","ognuno","olandese","olfatto","oliato","oliva","ologramma","oltre","omaggio","ombelico","ombra","omega","omissione","ondoso","onere","onice","onnivoro","onorevole","onta","operato","opinione","opposto","oracolo","orafo","ordine","orecchino","orefice","orfano","organico","origine","orizzonte","orma","ormeggio","ornativo","orologio","orrendo","orribile","ortensia","ortica","orzata","orzo","osare","oscurare","osmosi","ospedale","ospite","ossa","ossidare","ostacolo","oste","otite","otre","ottagono","ottimo","ottobre","ovale","ovest","ovino","oviparo","ovocito","ovunque","ovviare","ozio","pacchetto","pace","pacifico","padella","padrone","paese","paga","pagina","palazzina","palesare","pallido","palo","palude","pandoro","pannello","paolo","paonazzo","paprica","parabola","parcella","parere","pargolo","pari","parlato","parola","partire","parvenza","parziale","passivo","pasticca","patacca","patologia","pattume","pavone","peccato","pedalare","pedonale","peggio","peloso","penare","pendice","penisola","pennuto","penombra","pensare","pentola","pepe","pepita","perbene","percorso","perdonato","perforare","pergamena","periodo","permesso","perno","perplesso","persuaso","pertugio","pervaso","pesatore","pesista","peso","pestifero","petalo","pettine","petulante","pezzo","piacere","pianta","piattino","piccino","picozza","piega","pietra","piffero","pigiama","pigolio","pigro","pila","pilifero","pillola","pilota","pimpante","pineta","pinna","pinolo","pioggia","piombo","piramide","piretico","pirite","pirolisi","pitone","pizzico","placebo","planare","plasma","platano","plenario","pochezza","poderoso","podismo","poesia","poggiare","polenta","poligono","pollice","polmonite","polpetta","polso","poltrona","polvere","pomice","pomodoro","ponte","popoloso","porfido","poroso","porpora","porre","portata","posa","positivo","possesso","postulato","potassio","potere","pranzo","prassi","pratica","precluso","predica","prefisso","pregiato","prelievo","premere","prenotare","preparato","presenza","pretesto","prevalso","prima","principe","privato","problema","procura","produrre","profumo","progetto","prolunga","promessa","pronome","proposta","proroga","proteso","prova","prudente","prugna","prurito","psiche","pubblico","pudica","pugilato","pugno","pulce","pulito","pulsante","puntare","pupazzo","pupilla","puro","quadro","qualcosa","quasi","querela","quota","raccolto","raddoppio","radicale","radunato","raffica","ragazzo","ragione","ragno","ramarro","ramingo","ramo","randagio","rantolare","rapato","rapina","rappreso","rasatura","raschiato","rasente","rassegna","rastrello","rata","ravveduto","reale","recepire","recinto","recluta","recondito","recupero","reddito","redimere","regalato","registro","regola","regresso","relazione","remare","remoto","renna","replica","reprimere","reputare","resa","residente","responso","restauro","rete","retina","retorica","rettifica","revocato","riassunto","ribadire","ribelle","ribrezzo","ricarica","ricco","ricevere","riciclato","ricordo","ricreduto","ridicolo","ridurre","rifasare","riflesso","riforma","rifugio","rigare","rigettato","righello","rilassato","rilevato","rimanere","rimbalzo","rimedio","rimorchio","rinascita","rincaro","rinforzo","rinnovo","rinomato","rinsavito","rintocco","rinuncia","rinvenire","riparato","ripetuto","ripieno","riportare","ripresa","ripulire","risata","rischio","riserva","risibile","riso","rispetto","ristoro","risultato","risvolto","ritardo","ritegno","ritmico","ritrovo","riunione","riva","riverso","rivincita","rivolto","rizoma","roba","robotico","robusto","roccia","roco","rodaggio","rodere","roditore","rogito","rollio","romantico","rompere","ronzio","rosolare","rospo","rotante","rotondo","rotula","rovescio","rubizzo","rubrica","ruga","rullino","rumine","rumoroso","ruolo","rupe","russare","rustico","sabato","sabbiare","sabotato","sagoma","salasso","saldatura","salgemma","salivare","salmone","salone","saltare","saluto","salvo","sapere","sapido","saporito","saraceno","sarcasmo","sarto","sassoso","satellite","satira","satollo","saturno","savana","savio","saziato","sbadiglio","sbalzo","sbancato","sbarra","sbattere","sbavare","sbendare","sbirciare","sbloccato","sbocciato","sbrinare","sbruffone","sbuffare","scabroso","scadenza","scala","scambiare","scandalo","scapola","scarso","scatenare","scavato","scelto","scenico","scettro","scheda","schiena","sciarpa","scienza","scindere","scippo","sciroppo","scivolo","sclerare","scodella","scolpito","scomparto","sconforto","scoprire","scorta","scossone","scozzese","scriba","scrollare","scrutinio","scuderia","scultore","scuola","scuro","scusare","sdebitare","sdoganare","seccatura","secondo","sedano","seggiola","segnalato","segregato","seguito","selciato","selettivo","sella","selvaggio","semaforo","sembrare","seme","seminato","sempre","senso","sentire","sepolto","sequenza","serata","serbato","sereno","serio","serpente","serraglio","servire","sestina","setola","settimana","sfacelo","sfaldare","sfamato","sfarzoso","sfaticato","sfera","sfida","sfilato","sfinge","sfocato","sfoderare","sfogo","sfoltire","sforzato","sfratto","sfruttato","sfuggito","sfumare","sfuso","sgabello","sgarbato","sgonfiare","sgorbio","sgrassato","sguardo","sibilo","siccome","sierra","sigla","signore","silenzio","sillaba","simbolo","simpatico","simulato","sinfonia","singolo","sinistro","sino","sintesi","sinusoide","sipario","sisma","sistole","situato","slitta","slogatura","sloveno","smarrito","smemorato","smentito","smeraldo","smilzo","smontare","smottato","smussato","snellire","snervato","snodo","sobbalzo","sobrio","soccorso","sociale","sodale","soffitto","sogno","soldato","solenne","solido","sollazzo","solo","solubile","solvente","somatico","somma","sonda","sonetto","sonnifero","sopire","soppeso","sopra","sorgere","sorpasso","sorriso","sorso","sorteggio","sorvolato","sospiro","sosta","sottile","spada","spalla","spargere","spatola","spavento","spazzola","specie","spedire","spegnere","spelatura","speranza","spessore","spettrale","spezzato","spia","spigoloso","spillato","spinoso","spirale","splendido","sportivo","sposo","spranga","sprecare","spronato","spruzzo","spuntino","squillo","sradicare","srotolato","stabile","stacco","staffa","stagnare","stampato","stantio","starnuto","stasera","statuto","stelo","steppa","sterzo","stiletto","stima","stirpe","stivale","stizzoso","stonato","storico","strappo","stregato","stridulo","strozzare","strutto","stuccare","stufo","stupendo","subentro","succoso","sudore","suggerito","sugo","sultano","suonare","superbo","supporto","surgelato","surrogato","sussurro","sutura","svagare","svedese","sveglio","svelare","svenuto","svezia","sviluppo","svista","svizzera","svolta","svuotare","tabacco","tabulato","tacciare","taciturno","tale","talismano","tampone","tannino","tara","tardivo","targato","tariffa","tarpare","tartaruga","tasto","tattico","taverna","tavolata","tazza","teca","tecnico","telefono","temerario","tempo","temuto","tendone","tenero","tensione","tentacolo","teorema","terme","terrazzo","terzetto","tesi","tesserato","testato","tetro","tettoia","tifare","tigella","timbro","tinto","tipico","tipografo","tiraggio","tiro","titanio","titolo","titubante","tizio","tizzone","toccare","tollerare","tolto","tombola","tomo","tonfo","tonsilla","topazio","topologia","toppa","torba","tornare","torrone","tortora","toscano","tossire","tostatura","totano","trabocco","trachea","trafila","tragedia","tralcio","tramonto","transito","trapano","trarre","trasloco","trattato","trave","treccia","tremolio","trespolo","tributo","tricheco","trifoglio","trillo","trincea","trio","tristezza","triturato","trivella","tromba","trono","troppo","trottola","trovare","truccato","tubatura","tuffato","tulipano","tumulto","tunisia","turbare","turchino","tuta","tutela","ubicato","uccello","uccisore","udire","uditivo","uffa","ufficio","uguale","ulisse","ultimato","umano","umile","umorismo","uncinetto","ungere","ungherese","unicorno","unificato","unisono","unitario","unte","uovo","upupa","uragano","urgenza","urlo","usanza","usato","uscito","usignolo","usuraio","utensile","utilizzo","utopia","vacante","vaccinato","vagabondo","vagliato","valanga","valgo","valico","valletta","valoroso","valutare","valvola","vampata","vangare","vanitoso","vano","vantaggio","vanvera","vapore","varano","varcato","variante","vasca","vedetta","vedova","veduto","vegetale","veicolo","velcro","velina","velluto","veloce","venato","vendemmia","vento","verace","verbale","vergogna","verifica","vero","verruca","verticale","vescica","vessillo","vestale","veterano","vetrina","vetusto","viandante","vibrante","vicenda","vichingo","vicinanza","vidimare","vigilia","vigneto","vigore","vile","villano","vimini","vincitore","viola","vipera","virgola","virologo","virulento","viscoso","visione","vispo","vissuto","visura","vita","vitello","vittima","vivanda","vivido","viziare","voce","voga","volatile","volere","volpe","voragine","vulcano","zampogna","zanna","zappato","zattera","zavorra","zefiro","zelante","zelo","zenzero","zerbino","zibetto","zinco","zircone","zitto","zolla","zotico","zucchero","zufolo","zulu","zuppa"]')},function(e){e.exports=JSON.parse('["ábaco","abdomen","abeja","abierto","abogado","abono","aborto","abrazo","abrir","abuelo","abuso","acabar","academia","acceso","acción","aceite","acelga","acento","aceptar","ácido","aclarar","acné","acoger","acoso","activo","acto","actriz","actuar","acudir","acuerdo","acusar","adicto","admitir","adoptar","adorno","aduana","adulto","aéreo","afectar","afición","afinar","afirmar","ágil","agitar","agonía","agosto","agotar","agregar","agrio","agua","agudo","águila","aguja","ahogo","ahorro","aire","aislar","ajedrez","ajeno","ajuste","alacrán","alambre","alarma","alba","álbum","alcalde","aldea","alegre","alejar","alerta","aleta","alfiler","alga","algodón","aliado","aliento","alivio","alma","almeja","almíbar","altar","alteza","altivo","alto","altura","alumno","alzar","amable","amante","amapola","amargo","amasar","ámbar","ámbito","ameno","amigo","amistad","amor","amparo","amplio","ancho","anciano","ancla","andar","andén","anemia","ángulo","anillo","ánimo","anís","anotar","antena","antiguo","antojo","anual","anular","anuncio","añadir","añejo","año","apagar","aparato","apetito","apio","aplicar","apodo","aporte","apoyo","aprender","aprobar","apuesta","apuro","arado","araña","arar","árbitro","árbol","arbusto","archivo","arco","arder","ardilla","arduo","área","árido","aries","armonía","arnés","aroma","arpa","arpón","arreglo","arroz","arruga","arte","artista","asa","asado","asalto","ascenso","asegurar","aseo","asesor","asiento","asilo","asistir","asno","asombro","áspero","astilla","astro","astuto","asumir","asunto","atajo","ataque","atar","atento","ateo","ático","atleta","átomo","atraer","atroz","atún","audaz","audio","auge","aula","aumento","ausente","autor","aval","avance","avaro","ave","avellana","avena","avestruz","avión","aviso","ayer","ayuda","ayuno","azafrán","azar","azote","azúcar","azufre","azul","baba","babor","bache","bahía","baile","bajar","balanza","balcón","balde","bambú","banco","banda","baño","barba","barco","barniz","barro","báscula","bastón","basura","batalla","batería","batir","batuta","baúl","bazar","bebé","bebida","bello","besar","beso","bestia","bicho","bien","bingo","blanco","bloque","blusa","boa","bobina","bobo","boca","bocina","boda","bodega","boina","bola","bolero","bolsa","bomba","bondad","bonito","bono","bonsái","borde","borrar","bosque","bote","botín","bóveda","bozal","bravo","brazo","brecha","breve","brillo","brinco","brisa","broca","broma","bronce","brote","bruja","brusco","bruto","buceo","bucle","bueno","buey","bufanda","bufón","búho","buitre","bulto","burbuja","burla","burro","buscar","butaca","buzón","caballo","cabeza","cabina","cabra","cacao","cadáver","cadena","caer","café","caída","caimán","caja","cajón","cal","calamar","calcio","caldo","calidad","calle","calma","calor","calvo","cama","cambio","camello","camino","campo","cáncer","candil","canela","canguro","canica","canto","caña","cañón","caoba","caos","capaz","capitán","capote","captar","capucha","cara","carbón","cárcel","careta","carga","cariño","carne","carpeta","carro","carta","casa","casco","casero","caspa","castor","catorce","catre","caudal","causa","cazo","cebolla","ceder","cedro","celda","célebre","celoso","célula","cemento","ceniza","centro","cerca","cerdo","cereza","cero","cerrar","certeza","césped","cetro","chacal","chaleco","champú","chancla","chapa","charla","chico","chiste","chivo","choque","choza","chuleta","chupar","ciclón","ciego","cielo","cien","cierto","cifra","cigarro","cima","cinco","cine","cinta","ciprés","circo","ciruela","cisne","cita","ciudad","clamor","clan","claro","clase","clave","cliente","clima","clínica","cobre","cocción","cochino","cocina","coco","código","codo","cofre","coger","cohete","cojín","cojo","cola","colcha","colegio","colgar","colina","collar","colmo","columna","combate","comer","comida","cómodo","compra","conde","conejo","conga","conocer","consejo","contar","copa","copia","corazón","corbata","corcho","cordón","corona","correr","coser","cosmos","costa","cráneo","cráter","crear","crecer","creído","crema","cría","crimen","cripta","crisis","cromo","crónica","croqueta","crudo","cruz","cuadro","cuarto","cuatro","cubo","cubrir","cuchara","cuello","cuento","cuerda","cuesta","cueva","cuidar","culebra","culpa","culto","cumbre","cumplir","cuna","cuneta","cuota","cupón","cúpula","curar","curioso","curso","curva","cutis","dama","danza","dar","dardo","dátil","deber","débil","década","decir","dedo","defensa","definir","dejar","delfín","delgado","delito","demora","denso","dental","deporte","derecho","derrota","desayuno","deseo","desfile","desnudo","destino","desvío","detalle","detener","deuda","día","diablo","diadema","diamante","diana","diario","dibujo","dictar","diente","dieta","diez","difícil","digno","dilema","diluir","dinero","directo","dirigir","disco","diseño","disfraz","diva","divino","doble","doce","dolor","domingo","don","donar","dorado","dormir","dorso","dos","dosis","dragón","droga","ducha","duda","duelo","dueño","dulce","dúo","duque","durar","dureza","duro","ébano","ebrio","echar","eco","ecuador","edad","edición","edificio","editor","educar","efecto","eficaz","eje","ejemplo","elefante","elegir","elemento","elevar","elipse","élite","elixir","elogio","eludir","embudo","emitir","emoción","empate","empeño","empleo","empresa","enano","encargo","enchufe","encía","enemigo","enero","enfado","enfermo","engaño","enigma","enlace","enorme","enredo","ensayo","enseñar","entero","entrar","envase","envío","época","equipo","erizo","escala","escena","escolar","escribir","escudo","esencia","esfera","esfuerzo","espada","espejo","espía","esposa","espuma","esquí","estar","este","estilo","estufa","etapa","eterno","ética","etnia","evadir","evaluar","evento","evitar","exacto","examen","exceso","excusa","exento","exigir","exilio","existir","éxito","experto","explicar","exponer","extremo","fábrica","fábula","fachada","fácil","factor","faena","faja","falda","fallo","falso","faltar","fama","familia","famoso","faraón","farmacia","farol","farsa","fase","fatiga","fauna","favor","fax","febrero","fecha","feliz","feo","feria","feroz","fértil","fervor","festín","fiable","fianza","fiar","fibra","ficción","ficha","fideo","fiebre","fiel","fiera","fiesta","figura","fijar","fijo","fila","filete","filial","filtro","fin","finca","fingir","finito","firma","flaco","flauta","flecha","flor","flota","fluir","flujo","flúor","fobia","foca","fogata","fogón","folio","folleto","fondo","forma","forro","fortuna","forzar","fosa","foto","fracaso","frágil","franja","frase","fraude","freír","freno","fresa","frío","frito","fruta","fuego","fuente","fuerza","fuga","fumar","función","funda","furgón","furia","fusil","fútbol","futuro","gacela","gafas","gaita","gajo","gala","galería","gallo","gamba","ganar","gancho","ganga","ganso","garaje","garza","gasolina","gastar","gato","gavilán","gemelo","gemir","gen","género","genio","gente","geranio","gerente","germen","gesto","gigante","gimnasio","girar","giro","glaciar","globo","gloria","gol","golfo","goloso","golpe","goma","gordo","gorila","gorra","gota","goteo","gozar","grada","gráfico","grano","grasa","gratis","grave","grieta","grillo","gripe","gris","grito","grosor","grúa","grueso","grumo","grupo","guante","guapo","guardia","guerra","guía","guiño","guion","guiso","guitarra","gusano","gustar","haber","hábil","hablar","hacer","hacha","hada","hallar","hamaca","harina","haz","hazaña","hebilla","hebra","hecho","helado","helio","hembra","herir","hermano","héroe","hervir","hielo","hierro","hígado","higiene","hijo","himno","historia","hocico","hogar","hoguera","hoja","hombre","hongo","honor","honra","hora","hormiga","horno","hostil","hoyo","hueco","huelga","huerta","hueso","huevo","huida","huir","humano","húmedo","humilde","humo","hundir","huracán","hurto","icono","ideal","idioma","ídolo","iglesia","iglú","igual","ilegal","ilusión","imagen","imán","imitar","impar","imperio","imponer","impulso","incapaz","índice","inerte","infiel","informe","ingenio","inicio","inmenso","inmune","innato","insecto","instante","interés","íntimo","intuir","inútil","invierno","ira","iris","ironía","isla","islote","jabalí","jabón","jamón","jarabe","jardín","jarra","jaula","jazmín","jefe","jeringa","jinete","jornada","joroba","joven","joya","juerga","jueves","juez","jugador","jugo","juguete","juicio","junco","jungla","junio","juntar","júpiter","jurar","justo","juvenil","juzgar","kilo","koala","labio","lacio","lacra","lado","ladrón","lagarto","lágrima","laguna","laico","lamer","lámina","lámpara","lana","lancha","langosta","lanza","lápiz","largo","larva","lástima","lata","látex","latir","laurel","lavar","lazo","leal","lección","leche","lector","leer","legión","legumbre","lejano","lengua","lento","leña","león","leopardo","lesión","letal","letra","leve","leyenda","libertad","libro","licor","líder","lidiar","lienzo","liga","ligero","lima","límite","limón","limpio","lince","lindo","línea","lingote","lino","linterna","líquido","liso","lista","litera","litio","litro","llaga","llama","llanto","llave","llegar","llenar","llevar","llorar","llover","lluvia","lobo","loción","loco","locura","lógica","logro","lombriz","lomo","lonja","lote","lucha","lucir","lugar","lujo","luna","lunes","lupa","lustro","luto","luz","maceta","macho","madera","madre","maduro","maestro","mafia","magia","mago","maíz","maldad","maleta","malla","malo","mamá","mambo","mamut","manco","mando","manejar","manga","maniquí","manjar","mano","manso","manta","mañana","mapa","máquina","mar","marco","marea","marfil","margen","marido","mármol","marrón","martes","marzo","masa","máscara","masivo","matar","materia","matiz","matriz","máximo","mayor","mazorca","mecha","medalla","medio","médula","mejilla","mejor","melena","melón","memoria","menor","mensaje","mente","menú","mercado","merengue","mérito","mes","mesón","meta","meter","método","metro","mezcla","miedo","miel","miembro","miga","mil","milagro","militar","millón","mimo","mina","minero","mínimo","minuto","miope","mirar","misa","miseria","misil","mismo","mitad","mito","mochila","moción","moda","modelo","moho","mojar","molde","moler","molino","momento","momia","monarca","moneda","monja","monto","moño","morada","morder","moreno","morir","morro","morsa","mortal","mosca","mostrar","motivo","mover","móvil","mozo","mucho","mudar","mueble","muela","muerte","muestra","mugre","mujer","mula","muleta","multa","mundo","muñeca","mural","muro","músculo","museo","musgo","música","muslo","nácar","nación","nadar","naipe","naranja","nariz","narrar","nasal","natal","nativo","natural","náusea","naval","nave","navidad","necio","néctar","negar","negocio","negro","neón","nervio","neto","neutro","nevar","nevera","nicho","nido","niebla","nieto","niñez","niño","nítido","nivel","nobleza","noche","nómina","noria","norma","norte","nota","noticia","novato","novela","novio","nube","nuca","núcleo","nudillo","nudo","nuera","nueve","nuez","nulo","número","nutria","oasis","obeso","obispo","objeto","obra","obrero","observar","obtener","obvio","oca","ocaso","océano","ochenta","ocho","ocio","ocre","octavo","octubre","oculto","ocupar","ocurrir","odiar","odio","odisea","oeste","ofensa","oferta","oficio","ofrecer","ogro","oído","oír","ojo","ola","oleada","olfato","olivo","olla","olmo","olor","olvido","ombligo","onda","onza","opaco","opción","ópera","opinar","oponer","optar","óptica","opuesto","oración","orador","oral","órbita","orca","orden","oreja","órgano","orgía","orgullo","oriente","origen","orilla","oro","orquesta","oruga","osadía","oscuro","osezno","oso","ostra","otoño","otro","oveja","óvulo","óxido","oxígeno","oyente","ozono","pacto","padre","paella","página","pago","país","pájaro","palabra","palco","paleta","pálido","palma","paloma","palpar","pan","panal","pánico","pantera","pañuelo","papá","papel","papilla","paquete","parar","parcela","pared","parir","paro","párpado","parque","párrafo","parte","pasar","paseo","pasión","paso","pasta","pata","patio","patria","pausa","pauta","pavo","payaso","peatón","pecado","pecera","pecho","pedal","pedir","pegar","peine","pelar","peldaño","pelea","peligro","pellejo","pelo","peluca","pena","pensar","peñón","peón","peor","pepino","pequeño","pera","percha","perder","pereza","perfil","perico","perla","permiso","perro","persona","pesa","pesca","pésimo","pestaña","pétalo","petróleo","pez","pezuña","picar","pichón","pie","piedra","pierna","pieza","pijama","pilar","piloto","pimienta","pino","pintor","pinza","piña","piojo","pipa","pirata","pisar","piscina","piso","pista","pitón","pizca","placa","plan","plata","playa","plaza","pleito","pleno","plomo","pluma","plural","pobre","poco","poder","podio","poema","poesía","poeta","polen","policía","pollo","polvo","pomada","pomelo","pomo","pompa","poner","porción","portal","posada","poseer","posible","poste","potencia","potro","pozo","prado","precoz","pregunta","premio","prensa","preso","previo","primo","príncipe","prisión","privar","proa","probar","proceso","producto","proeza","profesor","programa","prole","promesa","pronto","propio","próximo","prueba","público","puchero","pudor","pueblo","puerta","puesto","pulga","pulir","pulmón","pulpo","pulso","puma","punto","puñal","puño","pupa","pupila","puré","quedar","queja","quemar","querer","queso","quieto","química","quince","quitar","rábano","rabia","rabo","ración","radical","raíz","rama","rampa","rancho","rango","rapaz","rápido","rapto","rasgo","raspa","rato","rayo","raza","razón","reacción","realidad","rebaño","rebote","recaer","receta","rechazo","recoger","recreo","recto","recurso","red","redondo","reducir","reflejo","reforma","refrán","refugio","regalo","regir","regla","regreso","rehén","reino","reír","reja","relato","relevo","relieve","relleno","reloj","remar","remedio","remo","rencor","rendir","renta","reparto","repetir","reposo","reptil","res","rescate","resina","respeto","resto","resumen","retiro","retorno","retrato","reunir","revés","revista","rey","rezar","rico","riego","rienda","riesgo","rifa","rígido","rigor","rincón","riñón","río","riqueza","risa","ritmo","rito","rizo","roble","roce","rociar","rodar","rodeo","rodilla","roer","rojizo","rojo","romero","romper","ron","ronco","ronda","ropa","ropero","rosa","rosca","rostro","rotar","rubí","rubor","rudo","rueda","rugir","ruido","ruina","ruleta","rulo","rumbo","rumor","ruptura","ruta","rutina","sábado","saber","sabio","sable","sacar","sagaz","sagrado","sala","saldo","salero","salir","salmón","salón","salsa","salto","salud","salvar","samba","sanción","sandía","sanear","sangre","sanidad","sano","santo","sapo","saque","sardina","sartén","sastre","satán","sauna","saxofón","sección","seco","secreto","secta","sed","seguir","seis","sello","selva","semana","semilla","senda","sensor","señal","señor","separar","sepia","sequía","ser","serie","sermón","servir","sesenta","sesión","seta","setenta","severo","sexo","sexto","sidra","siesta","siete","siglo","signo","sílaba","silbar","silencio","silla","símbolo","simio","sirena","sistema","sitio","situar","sobre","socio","sodio","sol","solapa","soldado","soledad","sólido","soltar","solución","sombra","sondeo","sonido","sonoro","sonrisa","sopa","soplar","soporte","sordo","sorpresa","sorteo","sostén","sótano","suave","subir","suceso","sudor","suegra","suelo","sueño","suerte","sufrir","sujeto","sultán","sumar","superar","suplir","suponer","supremo","sur","surco","sureño","surgir","susto","sutil","tabaco","tabique","tabla","tabú","taco","tacto","tajo","talar","talco","talento","talla","talón","tamaño","tambor","tango","tanque","tapa","tapete","tapia","tapón","taquilla","tarde","tarea","tarifa","tarjeta","tarot","tarro","tarta","tatuaje","tauro","taza","tazón","teatro","techo","tecla","técnica","tejado","tejer","tejido","tela","teléfono","tema","temor","templo","tenaz","tender","tener","tenis","tenso","teoría","terapia","terco","término","ternura","terror","tesis","tesoro","testigo","tetera","texto","tez","tibio","tiburón","tiempo","tienda","tierra","tieso","tigre","tijera","tilde","timbre","tímido","timo","tinta","tío","típico","tipo","tira","tirón","titán","títere","título","tiza","toalla","tobillo","tocar","tocino","todo","toga","toldo","tomar","tono","tonto","topar","tope","toque","tórax","torero","tormenta","torneo","toro","torpedo","torre","torso","tortuga","tos","tosco","toser","tóxico","trabajo","tractor","traer","tráfico","trago","traje","tramo","trance","trato","trauma","trazar","trébol","tregua","treinta","tren","trepar","tres","tribu","trigo","tripa","triste","triunfo","trofeo","trompa","tronco","tropa","trote","trozo","truco","trueno","trufa","tubería","tubo","tuerto","tumba","tumor","túnel","túnica","turbina","turismo","turno","tutor","ubicar","úlcera","umbral","unidad","unir","universo","uno","untar","uña","urbano","urbe","urgente","urna","usar","usuario","útil","utopía","uva","vaca","vacío","vacuna","vagar","vago","vaina","vajilla","vale","válido","valle","valor","válvula","vampiro","vara","variar","varón","vaso","vecino","vector","vehículo","veinte","vejez","vela","velero","veloz","vena","vencer","venda","veneno","vengar","venir","venta","venus","ver","verano","verbo","verde","vereda","verja","verso","verter","vía","viaje","vibrar","vicio","víctima","vida","vídeo","vidrio","viejo","viernes","vigor","vil","villa","vinagre","vino","viñedo","violín","viral","virgo","virtud","visor","víspera","vista","vitamina","viudo","vivaz","vivero","vivir","vivo","volcán","volumen","volver","voraz","votar","voto","voz","vuelo","vulgar","yacer","yate","yegua","yema","yerno","yeso","yodo","yoga","yogur","zafiro","zanja","zapato","zarza","zona","zorro","zumo","zurdo"]')},function(e){e.exports=JSON.parse('["あいこくしん","あいさつ","あいだ","あおぞら","あかちゃん","あきる","あけがた","あける","あこがれる","あさい","あさひ","あしあと","あじわう","あずかる","あずき","あそぶ","あたえる","あたためる","あたりまえ","あたる","あつい","あつかう","あっしゅく","あつまり","あつめる","あてな","あてはまる","あひる","あぶら","あぶる","あふれる","あまい","あまど","あまやかす","あまり","あみもの","あめりか","あやまる","あゆむ","あらいぐま","あらし","あらすじ","あらためる","あらゆる","あらわす","ありがとう","あわせる","あわてる","あんい","あんがい","あんこ","あんぜん","あんてい","あんない","あんまり","いいだす","いおん","いがい","いがく","いきおい","いきなり","いきもの","いきる","いくじ","いくぶん","いけばな","いけん","いこう","いこく","いこつ","いさましい","いさん","いしき","いじゅう","いじょう","いじわる","いずみ","いずれ","いせい","いせえび","いせかい","いせき","いぜん","いそうろう","いそがしい","いだい","いだく","いたずら","いたみ","いたりあ","いちおう","いちじ","いちど","いちば","いちぶ","いちりゅう","いつか","いっしゅん","いっせい","いっそう","いったん","いっち","いってい","いっぽう","いてざ","いてん","いどう","いとこ","いない","いなか","いねむり","いのち","いのる","いはつ","いばる","いはん","いびき","いひん","いふく","いへん","いほう","いみん","いもうと","いもたれ","いもり","いやがる","いやす","いよかん","いよく","いらい","いらすと","いりぐち","いりょう","いれい","いれもの","いれる","いろえんぴつ","いわい","いわう","いわかん","いわば","いわゆる","いんげんまめ","いんさつ","いんしょう","いんよう","うえき","うえる","うおざ","うがい","うかぶ","うかべる","うきわ","うくらいな","うくれれ","うけたまわる","うけつけ","うけとる","うけもつ","うける","うごかす","うごく","うこん","うさぎ","うしなう","うしろがみ","うすい","うすぎ","うすぐらい","うすめる","うせつ","うちあわせ","うちがわ","うちき","うちゅう","うっかり","うつくしい","うったえる","うつる","うどん","うなぎ","うなじ","うなずく","うなる","うねる","うのう","うぶげ","うぶごえ","うまれる","うめる","うもう","うやまう","うよく","うらがえす","うらぐち","うらない","うりあげ","うりきれ","うるさい","うれしい","うれゆき","うれる","うろこ","うわき","うわさ","うんこう","うんちん","うんてん","うんどう","えいえん","えいが","えいきょう","えいご","えいせい","えいぶん","えいよう","えいわ","えおり","えがお","えがく","えきたい","えくせる","えしゃく","えすて","えつらん","えのぐ","えほうまき","えほん","えまき","えもじ","えもの","えらい","えらぶ","えりあ","えんえん","えんかい","えんぎ","えんげき","えんしゅう","えんぜつ","えんそく","えんちょう","えんとつ","おいかける","おいこす","おいしい","おいつく","おうえん","おうさま","おうじ","おうせつ","おうたい","おうふく","おうべい","おうよう","おえる","おおい","おおう","おおどおり","おおや","おおよそ","おかえり","おかず","おがむ","おかわり","おぎなう","おきる","おくさま","おくじょう","おくりがな","おくる","おくれる","おこす","おこなう","おこる","おさえる","おさない","おさめる","おしいれ","おしえる","おじぎ","おじさん","おしゃれ","おそらく","おそわる","おたがい","おたく","おだやか","おちつく","おっと","おつり","おでかけ","おとしもの","おとなしい","おどり","おどろかす","おばさん","おまいり","おめでとう","おもいで","おもう","おもたい","おもちゃ","おやつ","おやゆび","およぼす","おらんだ","おろす","おんがく","おんけい","おんしゃ","おんせん","おんだん","おんちゅう","おんどけい","かあつ","かいが","がいき","がいけん","がいこう","かいさつ","かいしゃ","かいすいよく","かいぜん","かいぞうど","かいつう","かいてん","かいとう","かいふく","がいへき","かいほう","かいよう","がいらい","かいわ","かえる","かおり","かかえる","かがく","かがし","かがみ","かくご","かくとく","かざる","がぞう","かたい","かたち","がちょう","がっきゅう","がっこう","がっさん","がっしょう","かなざわし","かのう","がはく","かぶか","かほう","かほご","かまう","かまぼこ","かめれおん","かゆい","かようび","からい","かるい","かろう","かわく","かわら","がんか","かんけい","かんこう","かんしゃ","かんそう","かんたん","かんち","がんばる","きあい","きあつ","きいろ","ぎいん","きうい","きうん","きえる","きおう","きおく","きおち","きおん","きかい","きかく","きかんしゃ","ききて","きくばり","きくらげ","きけんせい","きこう","きこえる","きこく","きさい","きさく","きさま","きさらぎ","ぎじかがく","ぎしき","ぎじたいけん","ぎじにってい","ぎじゅつしゃ","きすう","きせい","きせき","きせつ","きそう","きぞく","きぞん","きたえる","きちょう","きつえん","ぎっちり","きつつき","きつね","きてい","きどう","きどく","きない","きなが","きなこ","きぬごし","きねん","きのう","きのした","きはく","きびしい","きひん","きふく","きぶん","きぼう","きほん","きまる","きみつ","きむずかしい","きめる","きもだめし","きもち","きもの","きゃく","きやく","ぎゅうにく","きよう","きょうりゅう","きらい","きらく","きりん","きれい","きれつ","きろく","ぎろん","きわめる","ぎんいろ","きんかくじ","きんじょ","きんようび","ぐあい","くいず","くうかん","くうき","くうぐん","くうこう","ぐうせい","くうそう","ぐうたら","くうふく","くうぼ","くかん","くきょう","くげん","ぐこう","くさい","くさき","くさばな","くさる","くしゃみ","くしょう","くすのき","くすりゆび","くせげ","くせん","ぐたいてき","くださる","くたびれる","くちこみ","くちさき","くつした","ぐっすり","くつろぐ","くとうてん","くどく","くなん","くねくね","くのう","くふう","くみあわせ","くみたてる","くめる","くやくしょ","くらす","くらべる","くるま","くれる","くろう","くわしい","ぐんかん","ぐんしょく","ぐんたい","ぐんて","けあな","けいかく","けいけん","けいこ","けいさつ","げいじゅつ","けいたい","げいのうじん","けいれき","けいろ","けおとす","けおりもの","げきか","げきげん","げきだん","げきちん","げきとつ","げきは","げきやく","げこう","げこくじょう","げざい","けさき","げざん","けしき","けしごむ","けしょう","げすと","けたば","けちゃっぷ","けちらす","けつあつ","けつい","けつえき","けっこん","けつじょ","けっせき","けってい","けつまつ","げつようび","げつれい","けつろん","げどく","けとばす","けとる","けなげ","けなす","けなみ","けぬき","げねつ","けねん","けはい","げひん","けぶかい","げぼく","けまり","けみかる","けむし","けむり","けもの","けらい","けろけろ","けわしい","けんい","けんえつ","けんお","けんか","げんき","けんげん","けんこう","けんさく","けんしゅう","けんすう","げんそう","けんちく","けんてい","けんとう","けんない","けんにん","げんぶつ","けんま","けんみん","けんめい","けんらん","けんり","こあくま","こいぬ","こいびと","ごうい","こうえん","こうおん","こうかん","ごうきゅう","ごうけい","こうこう","こうさい","こうじ","こうすい","ごうせい","こうそく","こうたい","こうちゃ","こうつう","こうてい","こうどう","こうない","こうはい","ごうほう","ごうまん","こうもく","こうりつ","こえる","こおり","ごかい","ごがつ","ごかん","こくご","こくさい","こくとう","こくない","こくはく","こぐま","こけい","こける","ここのか","こころ","こさめ","こしつ","こすう","こせい","こせき","こぜん","こそだて","こたい","こたえる","こたつ","こちょう","こっか","こつこつ","こつばん","こつぶ","こてい","こてん","ことがら","ことし","ことば","ことり","こなごな","こねこね","このまま","このみ","このよ","ごはん","こひつじ","こふう","こふん","こぼれる","ごまあぶら","こまかい","ごますり","こまつな","こまる","こむぎこ","こもじ","こもち","こもの","こもん","こやく","こやま","こゆう","こゆび","こよい","こよう","こりる","これくしょん","ころっけ","こわもて","こわれる","こんいん","こんかい","こんき","こんしゅう","こんすい","こんだて","こんとん","こんなん","こんびに","こんぽん","こんまけ","こんや","こんれい","こんわく","ざいえき","さいかい","さいきん","ざいげん","ざいこ","さいしょ","さいせい","ざいたく","ざいちゅう","さいてき","ざいりょう","さうな","さかいし","さがす","さかな","さかみち","さがる","さぎょう","さくし","さくひん","さくら","さこく","さこつ","さずかる","ざせき","さたん","さつえい","ざつおん","ざっか","ざつがく","さっきょく","ざっし","さつじん","ざっそう","さつたば","さつまいも","さてい","さといも","さとう","さとおや","さとし","さとる","さのう","さばく","さびしい","さべつ","さほう","さほど","さます","さみしい","さみだれ","さむけ","さめる","さやえんどう","さゆう","さよう","さよく","さらだ","ざるそば","さわやか","さわる","さんいん","さんか","さんきゃく","さんこう","さんさい","ざんしょ","さんすう","さんせい","さんそ","さんち","さんま","さんみ","さんらん","しあい","しあげ","しあさって","しあわせ","しいく","しいん","しうち","しえい","しおけ","しかい","しかく","じかん","しごと","しすう","じだい","したうけ","したぎ","したて","したみ","しちょう","しちりん","しっかり","しつじ","しつもん","してい","してき","してつ","じてん","じどう","しなぎれ","しなもの","しなん","しねま","しねん","しのぐ","しのぶ","しはい","しばかり","しはつ","しはらい","しはん","しひょう","しふく","じぶん","しへい","しほう","しほん","しまう","しまる","しみん","しむける","じむしょ","しめい","しめる","しもん","しゃいん","しゃうん","しゃおん","じゃがいも","しやくしょ","しゃくほう","しゃけん","しゃこ","しゃざい","しゃしん","しゃせん","しゃそう","しゃたい","しゃちょう","しゃっきん","じゃま","しゃりん","しゃれい","じゆう","じゅうしょ","しゅくはく","じゅしん","しゅっせき","しゅみ","しゅらば","じゅんばん","しょうかい","しょくたく","しょっけん","しょどう","しょもつ","しらせる","しらべる","しんか","しんこう","じんじゃ","しんせいじ","しんちく","しんりん","すあげ","すあし","すあな","ずあん","すいえい","すいか","すいとう","ずいぶん","すいようび","すうがく","すうじつ","すうせん","すおどり","すきま","すくう","すくない","すける","すごい","すこし","ずさん","すずしい","すすむ","すすめる","すっかり","ずっしり","ずっと","すてき","すてる","すねる","すのこ","すはだ","すばらしい","ずひょう","ずぶぬれ","すぶり","すふれ","すべて","すべる","ずほう","すぼん","すまい","すめし","すもう","すやき","すらすら","するめ","すれちがう","すろっと","すわる","すんぜん","すんぽう","せあぶら","せいかつ","せいげん","せいじ","せいよう","せおう","せかいかん","せきにん","せきむ","せきゆ","せきらんうん","せけん","せこう","せすじ","せたい","せたけ","せっかく","せっきゃく","ぜっく","せっけん","せっこつ","せっさたくま","せつぞく","せつだん","せつでん","せっぱん","せつび","せつぶん","せつめい","せつりつ","せなか","せのび","せはば","せびろ","せぼね","せまい","せまる","せめる","せもたれ","せりふ","ぜんあく","せんい","せんえい","せんか","せんきょ","せんく","せんげん","ぜんご","せんさい","せんしゅ","せんすい","せんせい","せんぞ","せんたく","せんちょう","せんてい","せんとう","せんぬき","せんねん","せんぱい","ぜんぶ","ぜんぽう","せんむ","せんめんじょ","せんもん","せんやく","せんゆう","せんよう","ぜんら","ぜんりゃく","せんれい","せんろ","そあく","そいとげる","そいね","そうがんきょう","そうき","そうご","そうしん","そうだん","そうなん","そうび","そうめん","そうり","そえもの","そえん","そがい","そげき","そこう","そこそこ","そざい","そしな","そせい","そせん","そそぐ","そだてる","そつう","そつえん","そっかん","そつぎょう","そっけつ","そっこう","そっせん","そっと","そとがわ","そとづら","そなえる","そなた","そふぼ","そぼく","そぼろ","そまつ","そまる","そむく","そむりえ","そめる","そもそも","そよかぜ","そらまめ","そろう","そんかい","そんけい","そんざい","そんしつ","そんぞく","そんちょう","ぞんび","ぞんぶん","そんみん","たあい","たいいん","たいうん","たいえき","たいおう","だいがく","たいき","たいぐう","たいけん","たいこ","たいざい","だいじょうぶ","だいすき","たいせつ","たいそう","だいたい","たいちょう","たいてい","だいどころ","たいない","たいねつ","たいのう","たいはん","だいひょう","たいふう","たいへん","たいほ","たいまつばな","たいみんぐ","たいむ","たいめん","たいやき","たいよう","たいら","たいりょく","たいる","たいわん","たうえ","たえる","たおす","たおる","たおれる","たかい","たかね","たきび","たくさん","たこく","たこやき","たさい","たしざん","だじゃれ","たすける","たずさわる","たそがれ","たたかう","たたく","ただしい","たたみ","たちばな","だっかい","だっきゃく","だっこ","だっしゅつ","だったい","たてる","たとえる","たなばた","たにん","たぬき","たのしみ","たはつ","たぶん","たべる","たぼう","たまご","たまる","だむる","ためいき","ためす","ためる","たもつ","たやすい","たよる","たらす","たりきほんがん","たりょう","たりる","たると","たれる","たれんと","たろっと","たわむれる","だんあつ","たんい","たんおん","たんか","たんき","たんけん","たんご","たんさん","たんじょうび","だんせい","たんそく","たんたい","だんち","たんてい","たんとう","だんな","たんにん","だんねつ","たんのう","たんぴん","だんぼう","たんまつ","たんめい","だんれつ","だんろ","だんわ","ちあい","ちあん","ちいき","ちいさい","ちえん","ちかい","ちから","ちきゅう","ちきん","ちけいず","ちけん","ちこく","ちさい","ちしき","ちしりょう","ちせい","ちそう","ちたい","ちたん","ちちおや","ちつじょ","ちてき","ちてん","ちぬき","ちぬり","ちのう","ちひょう","ちへいせん","ちほう","ちまた","ちみつ","ちみどろ","ちめいど","ちゃんこなべ","ちゅうい","ちゆりょく","ちょうし","ちょさくけん","ちらし","ちらみ","ちりがみ","ちりょう","ちるど","ちわわ","ちんたい","ちんもく","ついか","ついたち","つうか","つうじょう","つうはん","つうわ","つかう","つかれる","つくね","つくる","つけね","つける","つごう","つたえる","つづく","つつじ","つつむ","つとめる","つながる","つなみ","つねづね","つのる","つぶす","つまらない","つまる","つみき","つめたい","つもり","つもる","つよい","つるぼ","つるみく","つわもの","つわり","てあし","てあて","てあみ","ていおん","ていか","ていき","ていけい","ていこく","ていさつ","ていし","ていせい","ていたい","ていど","ていねい","ていひょう","ていへん","ていぼう","てうち","ておくれ","てきとう","てくび","でこぼこ","てさぎょう","てさげ","てすり","てそう","てちがい","てちょう","てつがく","てつづき","でっぱ","てつぼう","てつや","でぬかえ","てぬき","てぬぐい","てのひら","てはい","てぶくろ","てふだ","てほどき","てほん","てまえ","てまきずし","てみじか","てみやげ","てらす","てれび","てわけ","てわたし","でんあつ","てんいん","てんかい","てんき","てんぐ","てんけん","てんごく","てんさい","てんし","てんすう","でんち","てんてき","てんとう","てんない","てんぷら","てんぼうだい","てんめつ","てんらんかい","でんりょく","でんわ","どあい","といれ","どうかん","とうきゅう","どうぐ","とうし","とうむぎ","とおい","とおか","とおく","とおす","とおる","とかい","とかす","ときおり","ときどき","とくい","とくしゅう","とくてん","とくに","とくべつ","とけい","とける","とこや","とさか","としょかん","とそう","とたん","とちゅう","とっきゅう","とっくん","とつぜん","とつにゅう","とどける","ととのえる","とない","となえる","となり","とのさま","とばす","どぶがわ","とほう","とまる","とめる","ともだち","ともる","どようび","とらえる","とんかつ","どんぶり","ないかく","ないこう","ないしょ","ないす","ないせん","ないそう","なおす","ながい","なくす","なげる","なこうど","なさけ","なたでここ","なっとう","なつやすみ","ななおし","なにごと","なにもの","なにわ","なのか","なふだ","なまいき","なまえ","なまみ","なみだ","なめらか","なめる","なやむ","ならう","ならび","ならぶ","なれる","なわとび","なわばり","にあう","にいがた","にうけ","におい","にかい","にがて","にきび","にくしみ","にくまん","にげる","にさんかたんそ","にしき","にせもの","にちじょう","にちようび","にっか","にっき","にっけい","にっこう","にっさん","にっしょく","にっすう","にっせき","にってい","になう","にほん","にまめ","にもつ","にやり","にゅういん","にりんしゃ","にわとり","にんい","にんか","にんき","にんげん","にんしき","にんずう","にんそう","にんたい","にんち","にんてい","にんにく","にんぷ","にんまり","にんむ","にんめい","にんよう","ぬいくぎ","ぬかす","ぬぐいとる","ぬぐう","ぬくもり","ぬすむ","ぬまえび","ぬめり","ぬらす","ぬんちゃく","ねあげ","ねいき","ねいる","ねいろ","ねぐせ","ねくたい","ねくら","ねこぜ","ねこむ","ねさげ","ねすごす","ねそべる","ねだん","ねつい","ねっしん","ねつぞう","ねったいぎょ","ねぶそく","ねふだ","ねぼう","ねほりはほり","ねまき","ねまわし","ねみみ","ねむい","ねむたい","ねもと","ねらう","ねわざ","ねんいり","ねんおし","ねんかん","ねんきん","ねんぐ","ねんざ","ねんし","ねんちゃく","ねんど","ねんぴ","ねんぶつ","ねんまつ","ねんりょう","ねんれい","のいず","のおづま","のがす","のきなみ","のこぎり","のこす","のこる","のせる","のぞく","のぞむ","のたまう","のちほど","のっく","のばす","のはら","のべる","のぼる","のみもの","のやま","のらいぬ","のらねこ","のりもの","のりゆき","のれん","のんき","ばあい","はあく","ばあさん","ばいか","ばいく","はいけん","はいご","はいしん","はいすい","はいせん","はいそう","はいち","ばいばい","はいれつ","はえる","はおる","はかい","ばかり","はかる","はくしゅ","はけん","はこぶ","はさみ","はさん","はしご","ばしょ","はしる","はせる","ぱそこん","はそん","はたん","はちみつ","はつおん","はっかく","はづき","はっきり","はっくつ","はっけん","はっこう","はっさん","はっしん","はったつ","はっちゅう","はってん","はっぴょう","はっぽう","はなす","はなび","はにかむ","はぶらし","はみがき","はむかう","はめつ","はやい","はやし","はらう","はろうぃん","はわい","はんい","はんえい","はんおん","はんかく","はんきょう","ばんぐみ","はんこ","はんしゃ","はんすう","はんだん","ぱんち","ぱんつ","はんてい","はんとし","はんのう","はんぱ","はんぶん","はんぺん","はんぼうき","はんめい","はんらん","はんろん","ひいき","ひうん","ひえる","ひかく","ひかり","ひかる","ひかん","ひくい","ひけつ","ひこうき","ひこく","ひさい","ひさしぶり","ひさん","びじゅつかん","ひしょ","ひそか","ひそむ","ひたむき","ひだり","ひたる","ひつぎ","ひっこし","ひっし","ひつじゅひん","ひっす","ひつぜん","ぴったり","ぴっちり","ひつよう","ひてい","ひとごみ","ひなまつり","ひなん","ひねる","ひはん","ひびく","ひひょう","ひほう","ひまわり","ひまん","ひみつ","ひめい","ひめじし","ひやけ","ひやす","ひよう","びょうき","ひらがな","ひらく","ひりつ","ひりょう","ひるま","ひるやすみ","ひれい","ひろい","ひろう","ひろき","ひろゆき","ひんかく","ひんけつ","ひんこん","ひんしゅ","ひんそう","ぴんち","ひんぱん","びんぼう","ふあん","ふいうち","ふうけい","ふうせん","ぷうたろう","ふうとう","ふうふ","ふえる","ふおん","ふかい","ふきん","ふくざつ","ふくぶくろ","ふこう","ふさい","ふしぎ","ふじみ","ふすま","ふせい","ふせぐ","ふそく","ぶたにく","ふたん","ふちょう","ふつう","ふつか","ふっかつ","ふっき","ふっこく","ぶどう","ふとる","ふとん","ふのう","ふはい","ふひょう","ふへん","ふまん","ふみん","ふめつ","ふめん","ふよう","ふりこ","ふりる","ふるい","ふんいき","ぶんがく","ぶんぐ","ふんしつ","ぶんせき","ふんそう","ぶんぽう","へいあん","へいおん","へいがい","へいき","へいげん","へいこう","へいさ","へいしゃ","へいせつ","へいそ","へいたく","へいてん","へいねつ","へいわ","へきが","へこむ","べにいろ","べにしょうが","へらす","へんかん","べんきょう","べんごし","へんさい","へんたい","べんり","ほあん","ほいく","ぼうぎょ","ほうこく","ほうそう","ほうほう","ほうもん","ほうりつ","ほえる","ほおん","ほかん","ほきょう","ぼきん","ほくろ","ほけつ","ほけん","ほこう","ほこる","ほしい","ほしつ","ほしゅ","ほしょう","ほせい","ほそい","ほそく","ほたて","ほたる","ぽちぶくろ","ほっきょく","ほっさ","ほったん","ほとんど","ほめる","ほんい","ほんき","ほんけ","ほんしつ","ほんやく","まいにち","まかい","まかせる","まがる","まける","まこと","まさつ","まじめ","ますく","まぜる","まつり","まとめ","まなぶ","まぬけ","まねく","まほう","まもる","まゆげ","まよう","まろやか","まわす","まわり","まわる","まんが","まんきつ","まんぞく","まんなか","みいら","みうち","みえる","みがく","みかた","みかん","みけん","みこん","みじかい","みすい","みすえる","みせる","みっか","みつかる","みつける","みてい","みとめる","みなと","みなみかさい","みねらる","みのう","みのがす","みほん","みもと","みやげ","みらい","みりょく","みわく","みんか","みんぞく","むいか","むえき","むえん","むかい","むかう","むかえ","むかし","むぎちゃ","むける","むげん","むさぼる","むしあつい","むしば","むじゅん","むしろ","むすう","むすこ","むすぶ","むすめ","むせる","むせん","むちゅう","むなしい","むのう","むやみ","むよう","むらさき","むりょう","むろん","めいあん","めいうん","めいえん","めいかく","めいきょく","めいさい","めいし","めいそう","めいぶつ","めいれい","めいわく","めぐまれる","めざす","めした","めずらしい","めだつ","めまい","めやす","めんきょ","めんせき","めんどう","もうしあげる","もうどうけん","もえる","もくし","もくてき","もくようび","もちろん","もどる","もらう","もんく","もんだい","やおや","やける","やさい","やさしい","やすい","やすたろう","やすみ","やせる","やそう","やたい","やちん","やっと","やっぱり","やぶる","やめる","ややこしい","やよい","やわらかい","ゆうき","ゆうびんきょく","ゆうべ","ゆうめい","ゆけつ","ゆしゅつ","ゆせん","ゆそう","ゆたか","ゆちゃく","ゆでる","ゆにゅう","ゆびわ","ゆらい","ゆれる","ようい","ようか","ようきゅう","ようじ","ようす","ようちえん","よかぜ","よかん","よきん","よくせい","よくぼう","よけい","よごれる","よさん","よしゅう","よそう","よそく","よっか","よてい","よどがわく","よねつ","よやく","よゆう","よろこぶ","よろしい","らいう","らくがき","らくご","らくさつ","らくだ","らしんばん","らせん","らぞく","らたい","らっか","られつ","りえき","りかい","りきさく","りきせつ","りくぐん","りくつ","りけん","りこう","りせい","りそう","りそく","りてん","りねん","りゆう","りゅうがく","りよう","りょうり","りょかん","りょくちゃ","りょこう","りりく","りれき","りろん","りんご","るいけい","るいさい","るいじ","るいせき","るすばん","るりがわら","れいかん","れいぎ","れいせい","れいぞうこ","れいとう","れいぼう","れきし","れきだい","れんあい","れんけい","れんこん","れんさい","れんしゅう","れんぞく","れんらく","ろうか","ろうご","ろうじん","ろうそく","ろくが","ろこつ","ろじうら","ろしゅつ","ろせん","ろてん","ろめん","ろれつ","ろんぎ","ろんぱ","ろんぶん","ろんり","わかす","わかめ","わかやま","わかれる","わしつ","わじまし","わすれもの","わらう","われる"]')},function(e){e.exports=JSON.parse('["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"]')},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(558);t.fromSeed=n.fromSeed,t.fromBase58=n.fromBase58,t.fromPublicKey=n.fromPublicKey,t.fromPrivateKey=n.fromPrivateKey},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(559),o=r(298),i=r(562),s=r(564),a=r(566),c=s.BufferN(32),u=s.compile({wif:s.UInt8,bip32:{public:s.UInt32,private:s.UInt32}}),l={messagePrefix:"Bitcoin Signed Message:\n",bech32:"bc",bip32:{public:76067358,private:76066276},pubKeyHash:0,scriptHash:5,wif:128},f=Math.pow(2,31)-1;function d(e){return s.String(e)&&null!==e.match(/^(m\/)?(\d+'?\/)*\d+'?$/)}function h(e){return s.UInt32(e)&&e<=f}class p{constructor(e,t,r,n,o=0,i=0,a=0){this.__D=e,this.__Q=t,this.chainCode=r,this.network=n,this.__DEPTH=o,this.__INDEX=i,this.__PARENT_FINGERPRINT=a,s(u,n),this.lowR=!1}get depth(){return this.__DEPTH}get index(){return this.__INDEX}get parentFingerprint(){return this.__PARENT_FINGERPRINT}get publicKey(){return void 0===this.__Q&&(this.__Q=i.pointFromScalar(this.__D,!0)),this.__Q}get privateKey(){return this.__D}get identifier(){return n.hash160(this.publicKey)}get fingerprint(){return this.identifier.slice(0,4)}get compressed(){return!0}isNeutered(){return void 0===this.__D}neutered(){return y(this.publicKey,this.chainCode,this.network,this.depth,this.index,this.parentFingerprint)}toBase58(){const t=this.network,r=this.isNeutered()?t.bip32.public:t.bip32.private,n=e.allocUnsafe(78);return n.writeUInt32BE(r,0),n.writeUInt8(this.depth,4),n.writeUInt32BE(this.parentFingerprint,5),n.writeUInt32BE(this.index,9),this.chainCode.copy(n,13),this.isNeutered()?this.publicKey.copy(n,45):(n.writeUInt8(0,45),this.privateKey.copy(n,46)),o.encode(n)}toWIF(){if(!this.privateKey)throw new TypeError("Missing private key");return a.encode(this.network.wif,this.privateKey,!0)}derive(t){s(s.UInt32,t);const r=t>=2147483648,o=e.allocUnsafe(37);if(r){if(this.isNeutered())throw new TypeError("Missing private key for hardened child key");o[0]=0,this.privateKey.copy(o,1),o.writeUInt32BE(t,33)}else this.publicKey.copy(o,0),o.writeUInt32BE(t,33);const a=n.hmacSHA512(this.chainCode,o),c=a.slice(0,32),u=a.slice(32);if(!i.isPrivate(c))return this.derive(t+1);let l;if(this.isNeutered()){const e=i.pointAddScalar(this.publicKey,c,!0);if(null===e)return this.derive(t+1);l=y(e,u,this.network,this.depth+1,t,this.fingerprint.readUInt32BE(0))}else{const e=i.privateAdd(this.privateKey,c);if(null==e)return this.derive(t+1);l=m(e,u,this.network,this.depth+1,t,this.fingerprint.readUInt32BE(0))}return l}deriveHardened(e){return s(h,e),this.derive(e+2147483648)}derivePath(e){s(d,e);let t=e.split("/");if("m"===t[0]){if(this.parentFingerprint)throw new TypeError("Expected master, got child");t=t.slice(1)}return t.reduce((e,t)=>{let r;return"'"===t.slice(-1)?(r=parseInt(t.slice(0,-1),10),e.deriveHardened(r)):(r=parseInt(t,10),e.derive(r))},this)}sign(t,r){if(!this.privateKey)throw new Error("Missing private key");if(void 0===r&&(r=this.lowR),!1===r)return i.sign(t,this.privateKey);{let r=i.sign(t,this.privateKey);const n=e.alloc(32,0);let o=0;for(;r[0]>127;)o++,n.writeUIntLE(o,0,6),r=i.signWithEntropy(t,this.privateKey,n);return r}}verify(e,t){return i.verify(e,this.publicKey,t)}}function g(e,t,r){return m(e,t,r)}function m(e,t,r,n,o,a){if(s({privateKey:c,chainCode:c},{privateKey:e,chainCode:t}),r=r||l,!i.isPrivate(e))throw new TypeError("Private key not in range [1, n)");return new p(e,void 0,t,r,n,o,a)}function y(e,t,r,n,o,a){if(s({publicKey:s.BufferN(33),chainCode:c},{publicKey:e,chainCode:t}),r=r||l,!i.isPoint(e))throw new TypeError("Point is not on the curve");return new p(void 0,e,t,r,n,o,a)}t.fromBase58=function(e,t){const r=o.decode(e);if(78!==r.length)throw new TypeError("Invalid buffer length");t=t||l;const n=r.readUInt32BE(0);if(n!==t.bip32.private&&n!==t.bip32.public)throw new TypeError("Invalid network version");const i=r[4],s=r.readUInt32BE(5);if(0===i&&0!==s)throw new TypeError("Invalid parent fingerprint");const a=r.readUInt32BE(9);if(0===i&&0!==a)throw new TypeError("Invalid index");const c=r.slice(13,45);let u;if(n===t.bip32.private){if(0!==r.readUInt8(45))throw new TypeError("Invalid private key");u=m(r.slice(46,78),c,t,i,a,s)}else{u=y(r.slice(45,78),c,t,i,a,s)}return u},t.fromPrivateKey=g,t.fromPublicKey=function(e,t,r){return y(e,t,r)},t.fromSeed=function(t,r){if(s(s.Buffer,t),t.length<16)throw new TypeError("Seed should be at least 128 bits");if(t.length>64)throw new TypeError("Seed should be at most 512 bits");r=r||l;const o=n.hmacSHA512(e.from("Bitcoin seed","utf8"),t);return g(o.slice(0,32),o.slice(32),r)}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(54),o=r(120);t.hash160=function(e){const t=n("sha256").update(e).digest();try{return n("rmd160").update(t).digest()}catch(e){return n("ripemd160").update(t).digest()}},t.hmacSHA512=function(e,t){return o("sha512",e).update(t).digest()}},function(e,t,r){"use strict";var n=r(561),o=r(7).Buffer;e.exports=function(e){function t(t){var r=t.slice(0,-4),n=t.slice(-4),o=e(r);if(!(n[0]^o[0]|n[1]^o[1]|n[2]^o[2]|n[3]^o[3]))return r}return{encode:function(t){var r=e(t);return n.encode(o.concat([t,r],t.length+4))},decode:function(e){var r=t(n.decode(e));if(!r)throw new Error("Invalid checksum");return r},decodeUnsafe:function(e){var r=n.decodeUnsafe(e);if(r)return t(r)}}}},function(e,t,r){var n=r(396);e.exports=n("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")},function(e,t,r){(function(t){const n=r(6),o=new(0,r(45).ec)("secp256k1"),i=r(563),s=t.alloc(32,0),a=t.from("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141","hex"),c=t.from("fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f","hex"),u=o.curve.n,l=u.shrn(1),f=o.curve.g;function d(e){return t.isBuffer(e)&&32===e.length}function h(e){return!!d(e)&&e.compare(a)<0}function p(e){if(!t.isBuffer(e))return!1;if(e.length<33)return!1;const r=e[0],n=e.slice(1,33);if(0===n.compare(s))return!1;if(n.compare(c)>=0)return!1;if((2===r||3===r)&&33===e.length){try{w(e)}catch(e){return!1}return!0}const o=e.slice(33);return 0!==o.compare(s)&&(!(o.compare(c)>=0)&&(4===r&&65===e.length))}function g(e){return 4!==e[0]}function m(e){return!!d(e)&&(e.compare(s)>0&&e.compare(a)<0)}function y(e,t){return void 0===e&&void 0!==t?g(t):void 0===e||e}function b(e){return new n(e)}function v(e){return e.toArrayLike(t,"be",32)}function w(e){return o.curve.decodePoint(e)}function _(e,r){return t.from(e._encode(r))}function k(e,r,n){if(!d(e))throw new TypeError("Expected Hash");if(!m(r))throw new TypeError("Expected Private");if(void 0!==n&&!d(n))throw new TypeError("Expected Extra Data (32 bytes)");const o=b(r),s=b(e);let a,c;i(e,r,(function(e){const t=b(e),r=f.mul(t);return!r.isInfinity()&&(a=r.x.umod(u),0!==a.isZero()&&(c=t.invm(u).mul(s.add(o.mul(a))).umod(u),0!==c.isZero()))}),m,n),c.cmp(l)>0&&(c=u.sub(c));const h=t.allocUnsafe(64);return v(a).copy(h,0),v(c).copy(h,32),h}e.exports={isPoint:p,isPointCompressed:function(e){return!!p(e)&&g(e)},isPrivate:m,pointAdd:function(e,t,r){if(!p(e))throw new TypeError("Expected Point");if(!p(t))throw new TypeError("Expected Point");const n=w(e),o=w(t),i=n.add(o);return i.isInfinity()?null:_(i,y(r,e))},pointAddScalar:function(e,t,r){if(!p(e))throw new TypeError("Expected Point");if(!h(t))throw new TypeError("Expected Tweak");const n=y(r,e),o=w(e);if(0===t.compare(s))return _(o,n);const i=b(t),a=f.mul(i),c=o.add(a);return c.isInfinity()?null:_(c,n)},pointCompress:function(e,t){if(!p(e))throw new TypeError("Expected Point");const r=w(e);if(r.isInfinity())throw new TypeError("Expected Point");return _(r,y(t,e))},pointFromScalar:function(e,t){if(!m(e))throw new TypeError("Expected Private");const r=b(e),n=f.mul(r);return n.isInfinity()?null:_(n,y(t))},pointMultiply:function(e,t,r){if(!p(e))throw new TypeError("Expected Point");if(!h(t))throw new TypeError("Expected Tweak");const n=y(r,e),o=w(e),i=b(t),s=o.mul(i);return s.isInfinity()?null:_(s,n)},privateAdd:function(e,t){if(!m(e))throw new TypeError("Expected Private");if(!h(t))throw new TypeError("Expected Tweak");const r=b(e),n=b(t),o=v(r.add(n).umod(u));return m(o)?o:null},privateSub:function(e,t){if(!m(e))throw new TypeError("Expected Private");if(!h(t))throw new TypeError("Expected Tweak");const r=b(e),n=b(t),o=v(r.sub(n).umod(u));return m(o)?o:null},sign:function(e,t){return k(e,t)},signWithEntropy:function(e,t,r){return k(e,t,r)},verify:function(e,r,n,o){if(!d(e))throw new TypeError("Expected Hash");if(!p(r))throw new TypeError("Expected Point");if(!function(e){const r=e.slice(0,32),n=e.slice(32,64);return t.isBuffer(e)&&64===e.length&&r.compare(a)<0&&n.compare(a)<0}(n))throw new TypeError("Expected Signature");const i=w(r),s=b(n.slice(0,32)),c=b(n.slice(32,64));if(o&&c.cmp(l)>0)return!1;if(s.gtn(0)<=0)return!1;if(c.gtn(0)<=0)return!1;const h=b(e),g=c.invm(u),m=h.mul(g).umod(u),y=s.mul(g).umod(u),v=f.mulAdd(m,i,y);return!v.isInfinity()&&v.x.umod(u).eq(s)}}}).call(this,r(2).Buffer)},function(e,t,r){(function(t){const n=r(120),o=t.alloc(1,1),i=t.alloc(1,0);e.exports=function(e,r,s,a,c){let u=t.alloc(32,0),l=t.alloc(32,1);u=n("sha256",u).update(l).update(i).update(r).update(e).update(c||"").digest(),l=n("sha256",u).update(l).digest(),u=n("sha256",u).update(l).update(o).update(r).update(e).update(c||"").digest(),l=n("sha256",u).update(l).digest(),l=n("sha256",u).update(l).digest();let f=l;for(;!a(f)||!s(f);)u=n("sha256",u).update(l).update(i).digest(),l=n("sha256",u).update(l).digest(),l=n("sha256",u).update(l).digest(),f=l;return f}}).call(this,r(2).Buffer)},function(e,t,r){var n=r(299),o=r(170),i=n.tfJSON,s=n.TfTypeError,a=n.TfPropertyTypeError,c=n.tfSubError,u=n.getValueTypeName,l={arrayOf:function(e,t){function r(r,n){return!!o.Array(r)&&(!o.Nil(r)&&(!(void 0!==t.minLength&&r.lengtht.maxLength)&&((void 0===t.length||r.length===t.length)&&r.every((function(t,r){try{return d(e,t,n)}catch(e){throw c(e,r)}}))))))}return e=f(e),t=t||{},r.toJSON=function(){var r="["+i(e)+"]";return void 0!==t.length?r+="{"+t.length+"}":void 0===t.minLength&&void 0===t.maxLength||(r+="{"+(void 0===t.minLength?0:t.minLength)+","+(void 0===t.maxLength?1/0:t.maxLength)+"}"),r},r},maybe:function e(t){function r(r,n){return o.Nil(r)||t(r,n,e)}return t=f(t),r.toJSON=function(){return"?"+i(t)},r},map:function(e,t){function r(r,n){if(!o.Object(r))return!1;if(o.Nil(r))return!1;for(var i in r){try{t&&d(t,i,n)}catch(e){throw c(e,i,"key")}try{var s=r[i];d(e,s,n)}catch(e){throw c(e,i)}}return!0}return e=f(e),t&&(t=f(t)),r.toJSON=t?function(){return"{"+i(t)+": "+i(e)+"}"}:function(){return"{"+i(e)+"}"},r},object:function(e){var t={};for(var r in e)t[r]=f(e[r]);function n(e,r){if(!o.Object(e))return!1;if(o.Nil(e))return!1;var n;try{for(n in t){d(t[n],e[n],r)}}catch(e){throw c(e,n)}if(r)for(n in e)if(!t[n])throw new a(void 0,n);return!0}return n.toJSON=function(){return i(t)},n},anyOf:function(){var e=[].slice.call(arguments).map(f);function t(t,r){return e.some((function(e){try{return d(e,t,r)}catch(e){return!1}}))}return t.toJSON=function(){return e.map(i).join("|")},t},allOf:function(){var e=[].slice.call(arguments).map(f);function t(t,r){return e.every((function(e){try{return d(e,t,r)}catch(e){return!1}}))}return t.toJSON=function(){return e.map(i).join(" & ")},t},quacksLike:function(e){function t(t){return e===u(t)}return t.toJSON=function(){return e},t},tuple:function(){var e=[].slice.call(arguments).map(f);function t(t,r){return!o.Nil(t)&&(!o.Nil(t.length)&&((!r||t.length===e.length)&&e.every((function(e,n){try{return d(e,t[n],r)}catch(e){throw c(e,n)}}))))}return t.toJSON=function(){return"("+e.map(i).join(", ")+")"},t},value:function(e){function t(t){return t===e}return t.toJSON=function(){return e},t}};function f(e){if(o.String(e))return"?"===e[0]?l.maybe(e.slice(1)):o[e]||l.quacksLike(e);if(e&&o.Object(e)){if(o.Array(e)){if(1!==e.length)throw new TypeError("Expected compile() parameter of type Array of length 1");return l.arrayOf(e[0])}return l.object(e)}return o.Function(e)?e:l.value(e)}function d(e,t,r,n){if(o.Function(e)){if(e(t,r))return!0;throw new s(n||e,t)}return d(f(e),t,r)}for(var h in l.oneOf=l.anyOf,o)d[h]=o[h];for(h in l)d[h]=l[h];var p=r(565);for(h in p)d[h]=p[h];d.compile=f,d.TfTypeError=s,d.TfPropertyTypeError=a,e.exports=d},function(e,t,r){(function(t){var n=r(170),o=r(299);function i(e){return t.isBuffer(e)}function s(e){return"string"==typeof e&&/^([0-9a-f]{2})+$/i.test(e)}function a(e,t){var r=e.toJSON();function n(n){if(!e(n))return!1;if(n.length===t)return!0;throw o.tfCustomError(r+"(Length: "+t+")",r+"(Length: "+n.length+")")}return n.toJSON=function(){return r},n}var c=a.bind(null,n.Array),u=a.bind(null,i),l=a.bind(null,s),f=a.bind(null,n.String);var d=Math.pow(2,53)-1;var h={ArrayN:c,Buffer:i,BufferN:u,Finite:function(e){return"number"==typeof e&&isFinite(e)},Hex:s,HexN:l,Int8:function(e){return e<<24>>24===e},Int16:function(e){return e<<16>>16===e},Int32:function(e){return(0|e)===e},Int53:function(e){return"number"==typeof e&&e>=-d&&e<=d&&Math.floor(e)===e},Range:function(e,t,r){function o(n,o){return r(n,o)&&n>e&&n>>0===e},UInt53:function(e){return"number"==typeof e&&e>=0&&e<=d&&Math.floor(e)===e}};for(var p in h)h[p].toJSON=function(e){return e}.bind(null,p);e.exports=h}).call(this,r(2).Buffer)},function(e,t,r){(function(t){var n=r(298);function o(e,t){if(void 0!==t&&e[0]!==t)throw new Error("Invalid network version");if(33===e.length)return{version:e[0],privateKey:e.slice(1,33),compressed:!1};if(34!==e.length)throw new Error("Invalid WIF length");if(1!==e[33])throw new Error("Invalid compression flag");return{version:e[0],privateKey:e.slice(1,33),compressed:!0}}function i(e,r,n){var o=new t(n?34:33);return o.writeUInt8(e,0),r.copy(o,1),n&&(o[33]=1),o}e.exports={decode:function(e,t){return o(n.decode(e),t)},decodeRaw:o,encode:function(e,t,r){return"number"==typeof e?n.encode(i(e,t,r)):n.encode(i(e.version,e.privateKey,e.compressed))},encodeRaw:i}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PubKeySecp256k1=t.PrivKeySecp256k1=void 0;const o=n(r(45)),i=n(r(568)),s=r(2);t.PrivKeySecp256k1=class{constructor(e){this.privKey=e}toBytes(){return new Uint8Array(this.privKey)}getPubKey(){const e=new o.default.ec("secp256k1").keyFromPrivate(this.privKey);return new a(new Uint8Array(e.getPublic().encodeCompressed("array")))}sign(e){const t=new o.default.ec("secp256k1").keyFromPrivate(this.privKey),r=i.default.SHA256(i.default.lib.WordArray.create(e)).toString(),n=t.sign(s.Buffer.from(r,"hex"),{canonical:!0});return new Uint8Array(n.r.toArray("be",32).concat(n.s.toArray("be",32)))}};class a{constructor(e){this.pubKey=e}toBytes(){return new Uint8Array(this.pubKey)}getAddress(){let e=i.default.SHA256(i.default.lib.WordArray.create(this.pubKey)).toString();return e=i.default.RIPEMD160(i.default.enc.Hex.parse(e)).toString(),new Uint8Array(s.Buffer.from(e,"hex"))}}t.PubKeySecp256k1=a},function(e,t,r){var n;e.exports=(n=r(9),r(125),r(569),r(570),r(80),r(81),r(171),r(300),r(571),r(301),r(572),r(573),r(574),r(172),r(575),r(67),r(22),r(576),r(577),r(578),r(579),r(580),r(581),r(582),r(583),r(584),r(585),r(586),r(587),r(588),r(589),r(590),r(591),n)},function(e,t,r){var n;e.exports=(n=r(9),function(){if("function"==typeof ArrayBuffer){var e=n.lib.WordArray,t=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var r=e.byteLength,n=[],o=0;o>>2]|=e[o]<<24-o%4*8;t.call(this,n,r)}else t.apply(this,arguments)}).prototype=e}}(),n.lib.WordArray)},function(e,t,r){var n;e.exports=(n=r(9),function(){var e=n,t=e.lib.WordArray,r=e.enc;function o(e){return e<<8&4278255360|e>>>8&16711935}r.Utf16=r.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o>>2]>>>16-o%4*8&65535;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var r=e.length,n=[],o=0;o>>1]|=e.charCodeAt(o)<<16-o%2*16;return t.create(n,2*r)}},r.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i>>2]>>>16-i%4*8&65535);n.push(String.fromCharCode(s))}return n.join("")},parse:function(e){for(var r=e.length,n=[],i=0;i>>1]|=o(e.charCodeAt(i)<<16-i%2*16);return t.create(n,2*r)}}}(),n.enc.Utf16)},function(e,t,r){var n,o,i,s,a,c;e.exports=(c=r(9),r(300),o=(n=c).lib.WordArray,i=n.algo,s=i.SHA256,a=i.SHA224=s.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=4,e}}),n.SHA224=s._createHelper(a),n.HmacSHA224=s._createHmacHelper(a),c.SHA224)},function(e,t,r){var n,o,i,s,a,c,u,l;e.exports=(l=r(9),r(125),r(301),o=(n=l).x64,i=o.Word,s=o.WordArray,a=n.algo,c=a.SHA512,u=a.SHA384=c.extend({_doReset:function(){this._hash=new s.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var e=c._doFinalize.call(this);return e.sigBytes-=16,e}}),n.SHA384=c._createHelper(u),n.HmacSHA384=c._createHmacHelper(u),l.SHA384)},function(e,t,r){var n;e.exports=(n=r(9),r(125),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,s=t.x64.Word,a=t.algo,c=[],u=[],l=[];!function(){for(var e=1,t=0,r=0;r<24;r++){c[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)u[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,i=0;i<24;i++){for(var a=0,f=0,d=0;d<7;d++){if(1&o){var h=(1<>>24)|4278255360&(i<<24|i>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),(A=r[o]).high^=s,A.low^=i}for(var a=0;a<24;a++){for(var d=0;d<5;d++){for(var h=0,p=0,g=0;g<5;g++)h^=(A=r[d+5*g]).high,p^=A.low;var m=f[d];m.high=h,m.low=p}for(d=0;d<5;d++){var y=f[(d+4)%5],b=f[(d+1)%5],v=b.high,w=b.low;for(h=y.high^(v<<1|w>>>31),p=y.low^(w<<1|v>>>31),g=0;g<5;g++)(A=r[d+5*g]).high^=h,A.low^=p}for(var _=1;_<25;_++){var k=(A=r[_]).high,O=A.low,S=c[_];S<32?(h=k<>>32-S,p=O<>>32-S):(h=O<>>64-S,p=k<>>64-S);var E=f[u[_]];E.high=h,E.low=p}var j=f[0],P=r[0];for(j.high=P.high,j.low=P.low,d=0;d<5;d++)for(g=0;g<5;g++){var A=r[_=d+5*g],x=f[_],M=f[(d+1)%5+5*g],I=f[(d+2)%5+5*g];A.high=x.high^~M.high&I.high,A.low=x.low^~M.low&I.low}A=r[0];var C=l[a];A.high^=C.high,A.low^=C.low}},_doFinalize:function(){var t=this._data,r=t.words,n=(this._nDataBytes,8*t.sigBytes),i=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(e.ceil((n+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*r.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,c=a/8,u=[],l=0;l>>24)|4278255360&(d<<24|d>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),u.push(h),u.push(d)}return new o.init(u,a)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});t.SHA3=i._createHelper(d),t.HmacSHA3=i._createHmacHelper(d)}(Math),n.SHA3)},function(e,t,r){var n;e.exports=(n=r(9), -/** @preserve - (c) 2012 by Cédric Mesnil. All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ -function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,s=t.algo,a=o.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=o.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),u=o.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=o.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),f=o.create([0,1518500249,1859775393,2400959708,2840853838]),d=o.create([1352829926,1548603684,1836072691,2053994217,0]),h=s.RIPEMD160=i.extend({_doReset:function(){this._hash=o.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,o=e[n];e[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,s,h,w,_,k,O,S,E,j,P,A=this._hash.words,x=f.words,M=d.words,I=a.words,C=c.words,R=u.words,T=l.words;for(k=i=A[0],O=s=A[1],S=h=A[2],E=w=A[3],j=_=A[4],r=0;r<80;r+=1)P=i+e[t+I[r]]|0,P+=r<16?p(s,h,w)+x[0]:r<32?g(s,h,w)+x[1]:r<48?m(s,h,w)+x[2]:r<64?y(s,h,w)+x[3]:b(s,h,w)+x[4],P=(P=v(P|=0,R[r]))+_|0,i=_,_=w,w=v(h,10),h=s,s=P,P=k+e[t+C[r]]|0,P+=r<16?b(O,S,E)+M[0]:r<32?y(O,S,E)+M[1]:r<48?m(O,S,E)+M[2]:r<64?g(O,S,E)+M[3]:p(O,S,E)+M[4],P=(P=v(P|=0,T[r]))+j|0,k=j,j=E,E=v(S,10),S=O,O=P;P=A[1]+h+E|0,A[1]=A[2]+w+j|0,A[2]=A[3]+_+k|0,A[3]=A[4]+i+O|0,A[4]=A[0]+s+S|0,A[0]=P},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,i=o.words,s=0;s<5;s++){var a=i[s];i[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return o},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,r){return e^t^r}function g(e,t,r){return e&t|~e&r}function m(e,t,r){return(e|~t)^r}function y(e,t,r){return e&r|t&~r}function b(e,t,r){return e^(t|~r)}function v(e,t){return e<>>32-t}t.RIPEMD160=i._createHelper(h),t.HmacRIPEMD160=i._createHmacHelper(h)}(Math),n.RIPEMD160)},function(e,t,r){var n,o,i,s,a,c,u,l,f;e.exports=(f=r(9),r(171),r(172),o=(n=f).lib,i=o.Base,s=o.WordArray,a=n.algo,c=a.SHA1,u=a.HMAC,l=a.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:c,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=u.create(r.hasher,e),o=s.create(),i=s.create([1]),a=o.words,c=i.words,l=r.keySize,f=r.iterations;a.length>24&255)){var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}else e+=1<<24;return e}var r=e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,o=n.blockSize,i=this._iv,s=this._counter;i&&(s=this._counter=i.slice(0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(s);var a=s.slice(0);n.encryptBlock(a,0);for(var c=0;c>>2]|=o<<24-i%4*8,e.sigBytes+=o},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Ansix923)},function(e,t,r){var n;e.exports=(n=r(9),r(22),n.pad.Iso10126={pad:function(e,t){var r=4*t,o=r-e.sigBytes%r;e.concat(n.lib.WordArray.random(o-1)).concat(n.lib.WordArray.create([o<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Iso10126)},function(e,t,r){var n;e.exports=(n=r(9),r(22),n.pad.Iso97971={pad:function(e,t){e.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},n.pad.Iso97971)},function(e,t,r){var n;e.exports=(n=r(9),r(22),n.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){var t=e.words,r=e.sigBytes-1;for(r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},n.pad.ZeroPadding)},function(e,t,r){var n;e.exports=(n=r(9),r(22),n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding)},function(e,t,r){var n,o,i,s;e.exports=(s=r(9),r(22),o=(n=s).lib.CipherParams,i=n.enc.Hex,n.format.Hex={stringify:function(e){return e.ciphertext.toString(i)},parse:function(e){var t=i.parse(e);return o.create({ciphertext:t})}},s.format.Hex)},function(e,t,r){var n;e.exports=(n=r(9),r(80),r(81),r(67),r(22),function(){var e=n,t=e.lib.BlockCipher,r=e.algo,o=[],i=[],s=[],a=[],c=[],u=[],l=[],f=[],d=[],h=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var p=n^n<<1^n<<2^n<<3^n<<4;p=p>>>8^255&p^99,o[r]=p,i[p]=r;var g=e[r],m=e[g],y=e[m],b=257*e[p]^16843008*p;s[r]=b<<24|b>>>8,a[r]=b<<16|b>>>16,c[r]=b<<8|b>>>24,u[r]=b,b=16843009*y^65537*m^257*g^16843008*r,l[p]=b<<24|b>>>8,f[p]=b<<16|b>>>16,d[p]=b<<8|b>>>24,h[p]=b,r?(r=g^e[e[e[y^g]]],n^=e[e[n]]):r=n=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],g=r.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),i=this._keySchedule=[],s=0;s6&&s%r==4&&(u=o[u>>>24]<<24|o[u>>>16&255]<<16|o[u>>>8&255]<<8|o[255&u]):(u=o[(u=u<<8|u>>>24)>>>24]<<24|o[u>>>16&255]<<16|o[u>>>8&255]<<8|o[255&u],u^=p[s/r|0]<<24),i[s]=i[s-r]^u);for(var a=this._invKeySchedule=[],c=0;c>>24]]^f[o[u>>>16&255]]^d[o[u>>>8&255]]^h[o[255&u]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,a,c,u,o)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,l,f,d,h,i),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,o,i,s,a){for(var c=this._nRounds,u=e[t]^r[0],l=e[t+1]^r[1],f=e[t+2]^r[2],d=e[t+3]^r[3],h=4,p=1;p>>24]^o[l>>>16&255]^i[f>>>8&255]^s[255&d]^r[h++],m=n[l>>>24]^o[f>>>16&255]^i[d>>>8&255]^s[255&u]^r[h++],y=n[f>>>24]^o[d>>>16&255]^i[u>>>8&255]^s[255&l]^r[h++],b=n[d>>>24]^o[u>>>16&255]^i[l>>>8&255]^s[255&f]^r[h++];u=g,l=m,f=y,d=b}g=(a[u>>>24]<<24|a[l>>>16&255]<<16|a[f>>>8&255]<<8|a[255&d])^r[h++],m=(a[l>>>24]<<24|a[f>>>16&255]<<16|a[d>>>8&255]<<8|a[255&u])^r[h++],y=(a[f>>>24]<<24|a[d>>>16&255]<<16|a[u>>>8&255]<<8|a[255&l])^r[h++],b=(a[d>>>24]<<24|a[u>>>16&255]<<16|a[l>>>8&255]<<8|a[255&f])^r[h++],e[t]=g,e[t+1]=m,e[t+2]=y,e[t+3]=b},keySize:8});e.AES=t._createHelper(g)}(),n.AES)},function(e,t,r){var n;e.exports=(n=r(9),r(80),r(81),r(67),r(22),function(){var e=n,t=e.lib,r=t.WordArray,o=t.BlockCipher,i=e.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],u=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],l=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],f=i.DES=o.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=s[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var o=this._subKeys=[],i=0;i<16;i++){var u=o[i]=[],l=c[i];for(r=0;r<24;r++)u[r/6|0]|=t[(a[r]-1+l)%28]<<31-r%6,u[4+(r/6|0)]|=t[28+(a[r+24]-1+l)%28]<<31-r%6;for(u[0]=u[0]<<1|u[0]>>>31,r=1;r<7;r++)u[r]=u[r]>>>4*(r-1)+3;u[7]=u[7]<<5|u[7]>>>27}var f=this._invSubKeys=[];for(r=0;r<16;r++)f[r]=o[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],d.call(this,4,252645135),d.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),d.call(this,1,1431655765);for(var n=0;n<16;n++){for(var o=r[n],i=this._lBlock,s=this._rBlock,a=0,c=0;c<8;c++)a|=u[c][((s^o[c])&l[c])>>>0];this._lBlock=s,this._rBlock=i^a}var f=this._lBlock;this._lBlock=this._rBlock,this._rBlock=f,d.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<192.");var t=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),o=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=f.createEncryptor(r.create(t)),this._des2=f.createEncryptor(r.create(n)),this._des3=f.createEncryptor(r.create(o))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=o._createHelper(p)}(),n.TripleDES)},function(e,t,r){var n;e.exports=(n=r(9),r(80),r(81),r(67),r(22),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=r.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],o=0;o<256;o++)n[o]=o;o=0;for(var i=0;o<256;o++){var s=o%r,a=t[s>>>2]>>>24-s%4*8&255;i=(i+n[o]+a)%256;var c=n[o];n[o]=n[i],n[i]=c}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,r=this._j,n=0,o=0;o<4;o++){r=(r+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[r],e[r]=i,n|=e[(e[t]+e[r])%256]<<24-8*o}return this._i=t,this._j=r,n}e.RC4=t._createHelper(o);var s=r.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});e.RC4Drop=t._createHelper(s)}(),n.RC4)},function(e,t,r){var n;e.exports=(n=r(9),r(80),r(81),r(67),r(22),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=[],i=[],s=[],a=r.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=16711935&(e[r]<<8|e[r]>>>24)|4278255360&(e[r]<<24|e[r]>>>8);var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,r=0;r<4;r++)c.call(this);for(r=0;r<8;r++)o[r]^=n[r+4&7];if(t){var i=t.words,s=i[0],a=i[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),f=u>>>16|4294901760&l,d=l<<16|65535&u;for(o[0]^=u,o[1]^=f,o[2]^=l,o[3]^=d,o[4]^=u,o[5]^=f,o[6]^=l,o[7]^=d,r=0;r<4;r++)c.call(this)}},_doProcessBlock:function(e,t){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),e[t+n]^=o[n]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],o=65535&n,a=n>>>16,c=((o*o>>>17)+o*a>>>15)+a*a,u=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=c^u}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.Rabbit=t._createHelper(a)}(),n.Rabbit)},function(e,t,r){var n;e.exports=(n=r(9),r(80),r(81),r(67),r(22),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=[],i=[],s=[],a=r.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var o=0;o<4;o++)c.call(this);for(o=0;o<8;o++)n[o]^=r[o+4&7];if(t){var i=t.words,s=i[0],a=i[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),f=u>>>16|4294901760&l,d=l<<16|65535&u;for(n[0]^=u,n[1]^=f,n[2]^=l,n[3]^=d,n[4]^=u,n[5]^=f,n[6]^=l,n[7]^=d,o=0;o<4;o++)c.call(this)}},_doProcessBlock:function(e,t){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),e[t+n]^=o[n]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],o=65535&n,a=n>>>16,c=((o*o>>>17)+o*a>>>15)+a*a,u=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=c^u}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.RabbitLegacy=t._createHelper(a)}(),n.RabbitLegacy)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hash=void 0;const n=r(76);t.Hash=class{static sha256(e){return new Uint8Array((new n.sha256).update(e).digest())}static truncHashPortion(e,t=e.length,r=0){return e.substring(0,t)+"…"+e.substring(e.length-r,e.length)}}},function(e,t,r){"use strict";var n=r(28),o=r(302),i=r(594),s=r(308);function a(e){var t=new i(e),r=o(i.prototype.request,t);return n.extend(r,i.prototype,t),n.extend(r,t),r}var c=a(r(305));c.Axios=i,c.create=function(e){return a(s(c.defaults,e))},c.Cancel=r(309),c.CancelToken=r(607),c.isCancel=r(304),c.all=function(e){return Promise.all(e)},c.spread=r(608),c.isAxiosError=r(609),e.exports=c,e.exports.default=c},function(e,t,r){"use strict";var n=r(28),o=r(303),i=r(595),s=r(596),a=r(308);function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[s,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)r=r.then(t.shift(),t.shift());return r},c.prototype.getUri=function(e){return e=a(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,r){return this.request(a(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,r,n){return this.request(a(n||{},{method:e,url:t,data:r}))}})),e.exports=c},function(e,t,r){"use strict";var n=r(28);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,r){"use strict";var n=r(28),o=r(597),i=r(304),s=r(305);function a(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return a(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||s.adapter)(e).then((function(t){return a(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(a(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,r){"use strict";var n=r(28);e.exports=function(e,t,r){return n.forEach(r,(function(r){e=r(e,t)})),e}},function(e,t,r){"use strict";var n=r(28);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},function(e,t,r){"use strict";var n=r(307);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},function(e,t,r){"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,r){"use strict";var n=r(28);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,s){var a=[];a.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,r){"use strict";var n=r(603),o=r(604);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";var n=r(28),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,i,s={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(s[t]&&o.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([r]):s[t]?s[t]+", "+r:r}})),s):s}},function(e,t,r){"use strict";var n=r(28);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(309);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrayContentEquals=void 0,t.arrayContentEquals=function(e,t){if(e.length!==t.length)return!1;for(let r=0;rsetTimeout(t,e))}},function(e,t,r){"use strict";(function(e){function r(e){return"object"==typeof e&&null!==e}Object.defineProperty(t,"__esModule",{value:!0}),t.isUint8Array=t.isNonNullObject=void 0,t.isNonNullObject=r,t.isUint8Array=function(t){return!!r(t)&&("[object Uint8Array]"===Object.prototype.toString.call(t)&&(void 0===e||void 0===e.isBuffer||!e.isBuffer(t)))}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Bip39=void 0;const s=r(39),a=i(r(69)),c=r(97),u=i(r(311)),l=r(312);t.Bip39=class{static encode(e){if(-1===[16,20,24,28,32].indexOf(e.length))throw new Error("invalid input length");return new l.EnglishMnemonic(a.entropyToMnemonic(s.toHex(e)))}static decode(e){return s.fromHex(a.mnemonicToEntropy(e.toString()))}static async mnemonicToSeed(e,t){const r=s.toUtf8(u.nfkd(e.toString())),n="mnemonic"+(t?u.nfkd(t):""),o=s.toUtf8(n);return this.pbkdf2(r,o,2048,64,"sha512")}static async pbkdf2(e,t,r,n,o){return new Promise((i,s)=>{c.pbkdf2(e,t,r,n,o,(e,t)=>{e?s(e):i(new Uint8Array(t))})})}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromAscii=t.toAscii=void 0,t.toAscii=function(e){return Uint8Array.from(e.split("").map(e=>{const t=e.charCodeAt(0);if(t<32||t>126)throw new Error("Cannot encode character that is out of printable ASCII range: "+t);return t}))},t.fromAscii=function(e){return(t=Array.from(e),t.map(e=>{if(e<32||e>126)throw new Error("Cannot decode character that is out of printable ASCII range: "+e);return String.fromCharCode(e)})).join("");var t}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.fromBase64=t.toBase64=void 0;const s=i(r(117));t.toBase64=function(e){return s.fromByteArray(e)},t.fromBase64=function(e){if(!e.match(/^[a-zA-Z0-9+/]*={0,2}$/))throw new Error("Invalid base64 string format");return s.toByteArray(e)}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Bech32=void 0;const s=i(r(94));t.Bech32=class{static encode(e,t,r){return s.encode(e,s.toWords(t),r)}static decode(e,t=1/0){const r=s.decode(e,t);return{prefix:r.prefix,data:new Uint8Array(s.fromWords(r.words))}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromHex=t.toHex=void 0,t.toHex=function(e){let t="";for(const r of e)t+=("0"+r.toString(16)).slice(-2);return t},t.fromHex=function(e){if(e.length%2!=0)throw new Error("hex string length must be a multiple of 2");const t=[];for(let r=0;r32)throw new Error("Message hash length must not exceed 32 bytes");const r=c.keyFromPrivate(t),{r:n,s:o,recoveryParam:i}=r.sign(e,{canonical:!0});if("number"!=typeof i)throw new Error("Recovery param missing");return new a.ExtendedSecp256k1Signature(Uint8Array.from(n.toArray()),Uint8Array.from(o.toArray()),i)}static async verifySignature(e,t,r){if(0===t.length)throw new Error("Message hash must not be empty");if(t.length>32)throw new Error("Message hash length must not exceed 32 bytes");const n=c.keyFromPublic(r);try{return n.verify(t,e.toDer())}catch(e){return!1}}static recoverPubkey(e,t){const r={r:o.toHex(e.r()),s:o.toHex(e.s())},n=c.recoverPubKey(t,r,e.recovery),i=c.keyFromPublic(n);return o.fromHex(i.getPublic(!1,"hex"))}static compressPubkey(e){switch(e.length){case 33:return e;case 65:return Uint8Array.from(c.keyFromPublic(e).getPublic(!0,"array"));default:throw new Error("Invalid pubkey length")}}static trimRecoveryByte(e){switch(e.length){case 64:return e;case 65:return e.slice(0,64);default:throw new Error("Invalid signature length")}}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.stringToPath=t.pathToString=t.Slip10=t.Slip10RawIndex=t.slip10CurveFromString=t.Slip10Curve=void 0;const o=r(39),i=r(82),s=n(r(6)),a=n(r(45)),c=r(313),u=r(316);var l;!function(e){e.Secp256k1="Bitcoin seed",e.Ed25519="ed25519 seed"}(l=t.Slip10Curve||(t.Slip10Curve={})),t.slip10CurveFromString=function(e){switch(e){case l.Ed25519:return l.Ed25519;case l.Secp256k1:return l.Secp256k1;default:throw new Error(`Unknown curve string: '${e}'`)}};class f extends i.Uint32{static hardened(e){return new f(e+2**31)}static normal(e){return new f(e)}isHardened(){return this.data>=2**31}}t.Slip10RawIndex=f;const d=new a.default.ec("secp256k1");class h{static derivePath(e,t,r){let n=this.master(e,t);for(const t of r)n=this.child(e,n.privkey,n.chainCode,t);return n}static master(e,t){const r=new c.Hmac(u.Sha512,o.toAscii(e)).update(t).digest(),n=r.slice(0,32),i=r.slice(32,64);return e!==l.Ed25519&&(this.isZero(n)||this.isGteN(e,n))?this.master(e,r):{chainCode:i,privkey:n}}static child(e,t,r,n){let o;if(n.isHardened()){const e=new Uint8Array([0,...t,...n.toBytesBigEndian()]);o=new c.Hmac(u.Sha512,r).update(e).digest()}else{if(e===l.Ed25519)throw new Error("Normal keys are not allowed with ed25519");{const i=new Uint8Array([...h.serializedPoint(e,new s.default(t)),...n.toBytesBigEndian()]);o=new c.Hmac(u.Sha512,r).update(i).digest()}}return this.childImpl(e,t,r,n,o)}static serializedPoint(e,t){switch(e){case l.Secp256k1:return o.fromHex(d.g.mul(t).encodeCompressed("hex"));default:throw new Error("curve not supported")}}static childImpl(e,t,r,n,o){const i=o.slice(0,32),a=o.slice(32,64),f=a;if(e===l.Ed25519)return{chainCode:f,privkey:i};const d=this.n(e),h=new s.default(i).add(new s.default(t)).mod(d),p=Uint8Array.from(h.toArray("be",32));if(this.isGteN(e,i)||this.isZero(p)){const o=new c.Hmac(u.Sha512,r).update(new Uint8Array([1,...a,...n.toBytesBigEndian()])).digest();return this.childImpl(e,t,r,n,o)}return{chainCode:f,privkey:p}}static isZero(e){return e.every(e=>0===e)}static isGteN(e,t){return new s.default(t).gte(this.n(e))}static n(e){switch(e){case l.Secp256k1:return new s.default("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141",16);default:throw new Error("curve not supported")}}}t.Slip10=h,t.pathToString=function(e){return e.reduce((e,t)=>e+"/"+(t.isHardened()?t.toNumber()-2**31+"'":t.toString()),"m")},t.stringToPath=function(e){if(!e.startsWith("m"))throw new Error("Path string must start with 'm'");let t=e.slice(1);const r=new Array;for(;t;){const e=t.match(/^\/([0-9]+)('?)/);if(!e)throw new Error("Syntax error while reading path component");const[n,o,s]=e,a=i.Uint53.fromString(o).toNumber();if(a>=2**31)throw new Error("Component value too high. Must not exceed 2**31-1.");s?r.push(f.hardened(a)):r.push(f.normal(a)),t=t.slice(n.length)}return r}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Decimal=void 0;const o=n(r(6));class i{constructor(e,t){this.data={atomics:new o.default(e),fractionalDigits:t}}static fromUserInput(e,t){i.verifyFractionalDigits(t);const r=e.match(/[^0-9.]/);if(r)throw new Error("Invalid character at position "+(r.index+1));let n,o;if(-1===e.search(/\./))n=e,o="";else{const t=e.split(".");switch(t.length){case 0:case 1:throw new Error("Fewer than two elements in split result. This must not happen here.");case 2:if(!t[1])throw new Error("Fractional part missing");n=t[0],o=t[1].replace(/0+$/,"");break;default:throw new Error("More than one separator found")}}if(o.length>t)throw new Error("Got more fractional digits than supported");const s=`${n}${o.padEnd(t,"0")}`;return new i(s,t)}static fromAtomics(e,t){return i.verifyFractionalDigits(t),new i(e,t)}static verifyFractionalDigits(e){if(!Number.isInteger(e))throw new Error("Fractional digits is not an integer");if(e<0)throw new Error("Fractional digits must not be negative");if(e>100)throw new Error("Fractional digits must not exceed 100")}static compare(e,t){if(e.fractionalDigits!==t.fractionalDigits)throw new Error("Fractional digits do not match");return e.data.atomics.cmp(new o.default(t.atomics))}get atomics(){return this.data.atomics.toString()}get fractionalDigits(){return this.data.fractionalDigits}toString(){const e=new o.default(10).pow(new o.default(this.data.fractionalDigits)),t=this.data.atomics.div(e),r=this.data.atomics.mod(e);if(r.isZero())return t.toString();{const e=r.toString().padStart(this.data.fractionalDigits,"0").replace(/0+$/,"");return`${t.toString()}.${e}`}}toFloatApproximation(){const e=Number(this.toString());if(Number.isNaN(e))throw new Error("Conversion to number failed");return e}plus(e){if(this.fractionalDigits!==e.fractionalDigits)throw new Error("Fractional digits do not match");const t=this.data.atomics.add(new o.default(e.atomics));return new i(t.toString(),this.fractionalDigits)}minus(e){if(this.fractionalDigits!==e.fractionalDigits)throw new Error("Fractional digits do not match");const t=this.data.atomics.sub(new o.default(e.atomics));if(t.ltn(0))throw new Error("Difference must not be negative");return new i(t.toString(),this.fractionalDigits)}multiply(e){const t=this.data.atomics.mul(new o.default(e.toString()));return new i(t.toString(),this.fractionalDigits)}equals(e){return 0===i.compare(this,e)}isLessThan(e){return i.compare(this,e)<0}isLessThanOrEqual(e){return i.compare(this,e)<=0}isGreaterThan(e){return i.compare(this,e)>0}isGreaterThanOrEqual(e){return i.compare(this,e)>=0}}t.Decimal=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Uint64=t.Uint53=t.Int53=t.Uint32=void 0;const o=n(r(6)),i=new o.default("18446744073709551615",10,"be");class s{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(e<0||e>4294967295)throw new Error("Input not in uint32 range: "+e.toString());this.data=e}static fromBigEndianBytes(e){return s.fromBytes(e)}static fromBytes(e,t="be"){if(4!==e.length)throw new Error("Invalid input length. Expected 4 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);const r="be"===t?e:Array.from(e).reverse();return new s(r[0]*2**24+65536*r[1]+256*r[2]+r[3])}static fromString(e){if(!e.match(/^[0-9]+$/))throw new Error("Invalid string format");return new s(Number.parseInt(e,10))}toBytesBigEndian(){return new Uint8Array([255&Math.floor(this.data/2**24),255&Math.floor(this.data/65536),255&Math.floor(this.data/256),255&Math.floor(this.data/1)])}toBytesLittleEndian(){return new Uint8Array([255&Math.floor(this.data/1),255&Math.floor(this.data/256),255&Math.floor(this.data/65536),255&Math.floor(this.data/2**24)])}toNumber(){return this.data}toString(){return this.data.toString()}}t.Uint32=s;class a{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(eNumber.MAX_SAFE_INTEGER)throw new Error("Input not in int53 range: "+e.toString());this.data=e}static fromString(e){if(!e.match(/^-?[0-9]+$/))throw new Error("Invalid string format");return new a(Number.parseInt(e,10))}toNumber(){return this.data}toString(){return this.data.toString()}}t.Int53=a;class c{constructor(e){const t=new a(e);if(t.toNumber()<0)throw new Error("Input is negative");this.data=t}static fromString(e){const t=a.fromString(e);return new c(t.toNumber())}toNumber(){return this.data.toNumber()}toString(){return this.data.toString()}}t.Uint53=c;class u{constructor(e){if(e.isNeg())throw new Error("Input is negative");if(e.gt(i))throw new Error("Input exceeds uint64 range");this.data=e}static fromBytesBigEndian(e){return u.fromBytes(e)}static fromBytes(e,t="be"){if(8!==e.length)throw new Error("Invalid input length. Expected 8 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);const r="be"===t?Array.from(e):Array.from(e).reverse();return new u(new o.default(r))}static fromString(e){if(!e.match(/^[0-9]+$/))throw new Error("Invalid string format");return new u(new o.default(e,10,"be"))}static fromNumber(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");let t;try{t=new o.default(e)}catch(e){throw new Error("Input is not a safe integer")}return new u(t)}toBytesBigEndian(){return Uint8Array.from(this.data.toArray("be",8))}toBytesLittleEndian(){return Uint8Array.from(this.data.toArray("le",8))}toString(){return this.data.toString(10)}toNumber(){return this.data.toNumber()}}t.Uint64=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupAuthExtension=void 0,t.setupAuthExtension=function(e){return{auth:{account:async t=>{const r="/auth/accounts/"+t,n=await e.get(r);if("cosmos-sdk/Account"!==n.result.type)throw new Error("Unexpected response data format");return n}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupBankExtension=void 0,t.setupBankExtension=function(e){return{bank:{balances:async t=>{const r="/bank/balances/"+t;return e.get(r)}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupDistributionExtension=void 0,t.setupDistributionExtension=function(e){return{distribution:{delegatorRewards:async t=>e.get(`/distribution/delegators/${t}/rewards`),delegatorReward:async(t,r)=>e.get(`/distribution/delegators/${t}/rewards/${r}`),withdrawAddress:async t=>e.get(`/distribution/delegators/${t}/withdraw_address`),validator:async t=>e.get("/distribution/validators/"+t),validatorRewards:async t=>e.get(`/distribution/validators/${t}/rewards`),validatorOutstandingRewards:async t=>e.get(`/distribution/validators/${t}/outstanding_rewards`),parameters:async()=>e.get("/distribution/parameters"),communityPool:async()=>e.get("/distribution/community_pool")}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupGovExtension=t.GovParametersType=void 0,function(e){e.Deposit="deposit",e.Tallying="tallying",e.Voting="voting"}(t.GovParametersType||(t.GovParametersType={})),t.setupGovExtension=function(e){return{gov:{parameters:async t=>e.get("/gov/parameters/"+t),proposals:async()=>e.get("/gov/proposals"),proposal:async t=>e.get("/gov/proposals/"+t),proposer:async t=>e.get(`/gov/proposals/${t}/proposer`),deposits:async t=>e.get(`/gov/proposals/${t}/deposits`),deposit:async(t,r)=>e.get(`/gov/proposals/${t}/deposits/${r}`),tally:async t=>e.get(`/gov/proposals/${t}/tally`),votes:async t=>e.get(`/gov/proposals/${t}/votes`),vote:async(t,r)=>e.get(`/gov/proposals/${t}/votes/${r}`)}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupMintExtension=void 0,t.setupMintExtension=function(e){return{mint:{parameters:async()=>e.get("/minting/parameters"),inflation:async()=>e.get("/minting/inflation"),annualProvisions:async()=>e.get("/minting/annual-provisions")}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupSlashingExtension=void 0,t.setupSlashingExtension=function(e){return{slashing:{signingInfos:async()=>e.get("/slashing/signing_infos"),parameters:async()=>e.get("/slashing/parameters")}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupStakingExtension=t.BondStatus=void 0,function(e){e[e.Unbonded=0]="Unbonded",e[e.Unbonding=1]="Unbonding",e[e.Bonded=2]="Bonded"}(t.BondStatus||(t.BondStatus={})),t.setupStakingExtension=function(e){return{staking:{delegatorDelegations:async t=>e.get(`/staking/delegators/${t}/delegations`),delegatorUnbondingDelegations:async t=>e.get(`/staking/delegators/${t}/unbonding_delegations`),delegatorTransactions:async t=>e.get(`/staking/delegators/${t}/txs`),delegatorValidators:async t=>e.get(`/staking/delegators/${t}/validators`),delegatorValidator:async(t,r)=>e.get(`/staking/delegators/${t}/validators/${r}`),delegation:async(t,r)=>e.get(`/staking/delegators/${t}/delegations/${r}`),unbondingDelegation:async(t,r)=>e.get(`/staking/delegators/${t}/unbonding_delegations/${r}`),redelegations:async()=>e.get("/staking/redelegations"),validators:async t=>e.get("/staking/validators",t),validator:async t=>e.get("/staking/validators/"+t),validatorDelegations:async t=>e.get(`/staking/validators/${t}/delegations`),validatorUnbondingDelegations:async t=>e.get(`/staking/validators/${t}/unbonding_delegations`),historicalInfo:async t=>e.get("/staking/historical_info/"+t),pool:async()=>e.get("/staking/pool"),parameters:async()=>e.get("/staking/parameters")}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupSupplyExtension=void 0,t.setupSupplyExtension=function(e){return{supply:{totalAll:async()=>e.get("/supply/total"),total:async t=>e.get("/supply/total/"+t)}}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LcdClient=t.normalizeLcdApiArray=void 0;const o=r(100),i=n(r(68)),s=r(319);function a(e){var t;if(null===(t=e.response)||void 0===t?void 0:t.data){let t;const r=e.response.data;throw t=r.error&&"string"==typeof r.error?r.error:"string"==typeof r?r:JSON.stringify(r),new Error(`${t} (HTTP ${e.response.status})`)}throw e}t.normalizeLcdApiArray=function(e){return e||[]};class c{constructor(e,t=s.BroadcastMode.Block){this.client=i.default.create({baseURL:e,headers:{post:{"Content-Type":"application/json"}}}),this.broadcastMode=t}static withExtensions(e,...t){const r=new c(e.apiUrl,e.broadcastMode),n=t.map(e=>e(r));for(const e of n){o.assert(o.isNonNullObject(e),"Extension must be a non-null object");for(const[t,n]of Object.entries(e)){o.assert(o.isNonNullObject(n),`Module must be a non-null object. Found type ${typeof n} for module "${t}".`);const e=r[t]||{};r[t]=Object.assign(Object.assign({},e),n)}}return r}async get(e,t){const{data:r}=await this.client.get(e,{params:t}).catch(a);if(null===r)throw new Error("Received null response from server");return r}async post(e,t){if(!o.isNonNullObject(t))throw new Error("Got unexpected type of params. Expected object.");const{data:r}=await this.client.post(e,t).catch(a);if(null===r)throw new Error("Received null response from server");return r}async blocksLatest(){const e=await this.get("/blocks/latest");if(!e.block)throw new Error("Unexpected response data format");return e}async blocks(e){const t=await this.get("/blocks/"+e);if(!t.block)throw new Error("Unexpected response data format");return t}async nodeInfo(){const e=await this.get("/node_info");if(!e.node_info)throw new Error("Unexpected response data format");return e}async txById(e){const t=await this.get("/txs/"+e);if(!t.tx)throw new Error("Unexpected response data format");return t}async txsQuery(e){const t=await this.get("/txs?"+e);if(!t.txs)throw new Error("Unexpected response data format");return t}async encodeTx(e){const t=await this.post("/txs/encode",e);if(!t.tx)throw new Error("Unexpected response data format");return t}async broadcastTx(e){const t={tx:e,mode:this.broadcastMode},r=await this.post("/txs",t);if(!r.txhash)throw new Error("Unexpected response data format");return r}}t.LcdClient=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePubkey=t.uint64ToString=t.uint64ToNumber=void 0;const n=r(82),o=r(175);t.uint64ToNumber=function(e){return("number"==typeof e?n.Uint64.fromNumber(e):n.Uint64.fromString(e)).toNumber()},t.uint64ToString=function(e){return("number"==typeof e?n.Uint64.fromNumber(e):n.Uint64.fromString(e)).toString()},t.normalizePubkey=function(e){return e?"string"==typeof e?o.decodeBech32Pubkey(e):e:null}},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.isMsgUndelegate=t.isMsgBeginRedelegate=t.isMsgDelegate=t.isMsgEditValidator=t.isMsgCreateValidator=t.isMsgUnjail=t.isMsgDeposit=t.isMsgVote=t.isMsgSubmitProposal=t.isMsgSubmitEvidence=t.isMsgFundCommunityPool=t.isMsgWithdrawValidatorCommission=t.isMsgWithdrawDelegatorReward=t.isMsgSetWithdrawAddress=t.isMsgVerifyInvariant=t.isMsgMultiSend=t.isMsgSend=void 0,t.isMsgSend=function(e){return"cosmos-sdk/MsgSend"===e.type},t.isMsgMultiSend=function(e){return"cosmos-sdk/MsgMultiSend"===e.type},t.isMsgVerifyInvariant=function(e){return"cosmos-sdk/MsgVerifyInvariant"===e.type},t.isMsgSetWithdrawAddress=function(e){return"cosmos-sdk/MsgModifyWithdrawAddress"===e.type},t.isMsgWithdrawDelegatorReward=function(e){return"cosmos-sdk/MsgWithdrawDelegationReward"===e.type},t.isMsgWithdrawValidatorCommission=function(e){return"cosmos-sdk/MsgWithdrawValidatorCommission"===e.type},t.isMsgFundCommunityPool=function(e){return"cosmos-sdk/MsgFundCommunityPool"===e.type},t.isMsgSubmitEvidence=function(e){return"cosmos-sdk/MsgSubmitEvidence"===e.type},t.isMsgSubmitProposal=function(e){return"cosmos-sdk/MsgSubmitProposal"===e.type},function(e){e[e.VoteOptionUnspecified=0]="VoteOptionUnspecified",e[e.VoteOptionYes=1]="VoteOptionYes",e[e.VoteOptionAbstain=2]="VoteOptionAbstain",e[e.VoteOptionNo=3]="VoteOptionNo",e[e.VoteOptionNoWithVeto=4]="VoteOptionNoWithVeto"}(n||(n={})),t.isMsgVote=function(e){return"cosmos-sdk/MsgVote"===e.type},t.isMsgDeposit=function(e){return"cosmos-sdk/MsgDeposit"===e.type},t.isMsgUnjail=function(e){return"cosmos-sdk/MsgUnjail"===e.type},t.isMsgCreateValidator=function(e){return"cosmos-sdk/MsgCreateValidator"===e.type},t.isMsgEditValidator=function(e){return"cosmos-sdk/MsgEditValidator"===e.type},t.isMsgDelegate=function(e){return"cosmos-sdk/MsgDelegate"===e.type},t.isMsgBeginRedelegate=function(e){return"cosmos-sdk/MsgBeginRedelegate"===e.type},t.isMsgUndelegate=function(e){return"cosmos-sdk/MsgUndelegate"===e.type}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findSequenceForSignedTx=void 0;const n=r(50),o=r(101),i=r(127);t.findSequenceForSignedTx=async function(e,t,r,s,a=0){const c=e.value.signatures.find(()=>!0);if(!c)throw new Error("Signature missing in tx");const{pubkey:u,signature:l}=i.decodeSignature(c),f=n.Secp256k1Signature.fromFixedLength(l);for(let i=a;i({hdPath:n.pathToString(e.hdPath),prefix:e.prefix}))},i=o.toUtf8(JSON.stringify(r)),s={algorithm:l.supportedAlgorithms.xchacha20poly1305Ietf},a=await l.encrypt(i,e,s),c={type:"secp256k1wallet-v1",kdf:t,encryption:s,data:o.toBase64(a)};return JSON.stringify(c)}}t.Secp256k1HdWallet=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Secp256k1Wallet=void 0;const n=r(50),o=r(173),i=r(101),s=r(127);class a{constructor(e,t,r){this.privkey=e,this.pubkey=t,this.prefix=r}static async fromKey(e,t="cosmos"){const r=(await n.Secp256k1.makeKeypair(e)).pubkey;return new a(e,n.Secp256k1.compressPubkey(r),t)}get address(){return o.rawSecp256k1PubkeyToAddress(this.pubkey,this.prefix)}async getAccounts(){return[{algo:"secp256k1",address:this.address,pubkey:this.pubkey}]}async signAmino(e,t){if(e!==this.address)throw new Error(`Address ${e} not found in wallet`);const r=new n.Sha256(i.serializeSignDoc(t)).digest(),o=await n.Secp256k1.createSignature(r,this.privkey),a=new Uint8Array([...o.r(32),...o.s(32)]);return{signed:t,signature:s.encodeSecp256k1Signature(this.pubkey,a)}}}t.Secp256k1Wallet=a},function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,o="~";function i(){}function s(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function a(e,t,r,n,i){if("function"!=typeof r)throw new TypeError("The listener must be a function");var a=new s(r,n||e,i),c=o?o+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],a]:e._events[c].push(a):(e._events[c]=a,e._eventsCount++),e}function c(e,t){0==--e._eventsCount?e._events=new i:delete e._events[t]}function u(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(o=!1)),u.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)n.call(e,t)&&r.push(o?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},u.prototype.listeners=function(e){var t=o?o+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,i=r.length,s=new Array(i);nnew Promise((i,s)=>{if("number"!=typeof t||t<0)throw new TypeError("Expected `milliseconds` to be a positive number");if(t===1/0)return void i(e);const a=setTimeout(()=>{if("function"==typeof r){try{i(r())}catch(e){s(e)}return}const n=r instanceof Error?r:new o("string"==typeof r?r:`Promise timed out after ${t} milliseconds`);"function"==typeof e.cancel&&e.cancel(),s(n)},t);n(e.then(i,s),()=>{clearTimeout(a)})});e.exports=i,e.exports.default=i,e.exports.TimeoutError=o},function(e,t,r){"use strict";e.exports=(e,t)=>(t=t||(()=>{}),e.then(e=>new Promise(e=>{e(t())}).then(()=>e),e=>new Promise(e=>{e(t())}).then(()=>{throw e})))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(649);t.default=class{constructor(){this._queue=[]}enqueue(e,t){const r={priority:(t=Object.assign({priority:0},t)).priority,run:e};if(this.size&&this._queue[this.size-1].priority>=t.priority)return void this._queue.push(r);const o=n.default(this._queue,r,(e,t)=>t.priority-e.priority);this._queue.splice(o,0,r)}dequeue(){const e=this._queue.shift();return null==e?void 0:e.run}filter(e){return this._queue.filter(t=>t.priority===e.priority).map(e=>e.run)}get size(){return this._queue.length}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){let n=0,o=e.length;for(;o>0;){const i=o/2|0;let s=n+i;r(e[s],t)<=0?(n=++s,o-=i+1):o=i}return n}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionRouter=void 0;const o=r(176);class i extends o.Router{constructor(){super(...arguments),this.onMessage=(e,t)=>{if(e.port===this.port)return this.onMessageHandler(e,t)}}listen(e){if(!e)throw new Error("Empty port");this.port=e,browser.runtime.onMessage.addListener(this.onMessage)}unlisten(){this.port="",browser.runtime.onMessage.removeListener(this.onMessage)}onMessageHandler(e,t){return n(this,void 0,void 0,(function*(){try{return{return:yield this.handleMessage(e,t)}}catch(t){return console.log(`Failed to process msg ${e.type}: ${(null==t?void 0:t.message)||(null==t?void 0:t.toString())}`),t?Promise.resolve({error:t.message||t.toString()}):Promise.resolve({error:"Unknown error, and error is null"})}}))}}t.ExtensionRouter=i},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.MockRouter=void 0;const o=r(176),i=r(51);class s extends o.Router{constructor(){super(...arguments),this.onMessage=e=>n(this,void 0,void 0,(function*(){const{message:t,sender:r}=e;if(t.port===this.port)try{const e=yield this.handleMessage(t,r);return void r.resolver({return:e})}catch(e){console.log(`Failed to process msg ${t.type}: ${(null==e?void 0:e.message)||(null==e?void 0:e.toString())}`),e?r.resolver({error:e.message||e.toString()}):r.resolver({error:"Unknown error, and error is null"})}}))}listen(e){if(!e)throw new Error("Empty port");this.port=e,s.eventEmitter.addListener("message",this.onMessage)}unlisten(){this.port="",s.eventEmitter.removeListener("message",this.onMessage)}}t.MockRouter=s,s.eventEmitter=new i.EventEmitter},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Message=void 0;t.Message=class{approveExternal(e,t){return!1}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.InExtensionMessageRequester=void 0;const o=r(107);t.InExtensionMessageRequester=class{sendMessage(e,t){return n(this,void 0,void 0,(function*(){t.validateBasic(),t.origin=window.location.origin;const r=o.JSONUint8Array.unwrap(yield browser.runtime.sendMessage({port:e,type:t.type(),msg:o.JSONUint8Array.wrap(t)}));if(!r)throw new Error("Null result");if(r.error)throw new Error(r.error);return r.return}))}static sendMessageToTab(e,t,r){return n(this,void 0,void 0,(function*(){r.validateBasic(),r.origin=window.location.origin;const n=o.JSONUint8Array.unwrap(yield browser.tabs.sendMessage(e,{port:t,type:r.type(),msg:o.JSONUint8Array.wrap(r)}));if(!n)throw new Error("Null result");if(n.error)throw new Error(n.error);return n.return}))}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ContentScriptMessageRequester=void 0;const o=r(107);t.ContentScriptMessageRequester=class{sendMessage(e,t){return n(this,void 0,void 0,(function*(){t.validateBasic(),t.origin=window.location.origin;const r=o.JSONUint8Array.wrap(t),n=yield browser.tabs.query({discarded:!1,status:"complete"});for(let o=0;o{i.MockRouter.eventEmitter.emit("message",{message:{port:e,type:t.type(),msg:o.JSONUint8Array.wrap(t)},sender:{id:this.id,url:this.url,resolver:r}})}));if(!r)throw new Error("Null result");if(r.error)throw new Error(r.error);return r.return}))}}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(328),t),o(r(660),t),o(r(661),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContentScriptGuards=void 0;class n{}t.ContentScriptGuards=n,n.checkMessageIsInternal=(e,t,r)=>{if(!e.isInternalMsg||t.approveExternal(e,r))throw new Error("Content script can't handle the message that is able to be sent from external");return Promise.resolve()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MockGuards=void 0;const n=r(328);class o{}t.MockGuards=o,o.checkOriginIsValid=n.ExtensionGuards.checkOriginIsValid,o.checkMessageIsInternal=n.ExtensionGuards.checkMessageIsInternal},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(329),t),o(r(663),t),o(r(664),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContentScriptEnv=void 0;class n{}t.ContentScriptEnv=n,n.produceEnv=e=>({isInternalMsg:e.id===browser.runtime.id,requestInteraction:()=>{throw new Error("ContentScriptEnv doesn't support `requestInteraction`")}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MockEnv=void 0;const n=r(329);t.MockEnv=class{constructor(e,t){this.id=e,this.url=t}envProducer(){return e=>({isInternalMsg:n.ExtensionEnv.checkIsInternalMessage(e,this.id,this.url),requestInteraction:()=>{throw new Error("TODO: Implement me")}})}}},function(e,t,r){(function(e,t){ -/*! ***************************************************************************** -Copyright (C) Microsoft. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ -var r;!function(r){!function(n){var o="object"==typeof t?t:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),i=s(r);function s(e,t){return function(r,n){"function"!=typeof e[r]&&Object.defineProperty(e,r,{configurable:!0,writable:!0,value:n}),t&&t(r,n)}}void 0===o.Reflect?o.Reflect=r:i=s(o.Reflect,i),function(t){var r=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,o=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",i=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",s="function"==typeof Object.create,a={__proto__:[]}instanceof Array,c=!s&&!a,u={create:s?function(){return R(Object.create(null))}:a?function(){return R({__proto__:null})}:function(){return R({})},has:c?function(e,t){return r.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return r.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},l=Object.getPrototypeOf(Function),f="object"==typeof e&&e.env&&"true"===e.env.REFLECT_METADATA_USE_MAP_POLYFILL,d=f||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function(){var e={},t=[],r=function(){function e(e,t,r){this._index=0,this._keys=e,this._values=t,this._selector=r}return e.prototype["@@iterator"]=function(){return this},e.prototype[i]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:r,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var r=this._find(e,!0);return this._values[r]=t,this},t.prototype.delete=function(t){var r=this._find(t,!1);if(r>=0){for(var n=this._keys.length,o=r+1;o=0;--r){var n=(0,e[r])(t);if(!_(n)&&!k(n)){if(!A(n))throw new TypeError;t=n}}return t}(e,t)}if(!j(e))throw new TypeError;if(!O(t))throw new TypeError;if(!O(n)&&!_(n)&&!k(n))throw new TypeError;return k(n)&&(n=void 0),function(e,t,r,n){for(var o=e.length-1;o>=0;--o){var i=(0,e[o])(t,r,n);if(!_(i)&&!k(i)){if(!O(i))throw new TypeError;n=i}}return n}(e,t,r=E(r),n)})),t("metadata",(function(e,t){return function(r,n){if(!O(r))throw new TypeError;if(!_(n)&&!function(e){switch(w(e)){case 3:case 4:return!0;default:return!1}}(n))throw new TypeError;b(e,t,r,n)}})),t("defineMetadata",(function(e,t,r,n){if(!O(r))throw new TypeError;return _(n)||(n=E(n)),b(e,t,r,n)})),t("hasMetadata",(function(e,t,r){if(!O(t))throw new TypeError;return _(r)||(r=E(r)),function e(t,r,n){if(m(t,r,n))return!0;var o=C(r);return!k(o)&&e(t,o,n)}(e,t,r)})),t("hasOwnMetadata",(function(e,t,r){if(!O(t))throw new TypeError;return _(r)||(r=E(r)),m(e,t,r)})),t("getMetadata",(function(e,t,r){if(!O(t))throw new TypeError;return _(r)||(r=E(r)),function e(t,r,n){if(m(t,r,n))return y(t,r,n);var o=C(r);return k(o)?void 0:e(t,o,n)}(e,t,r)})),t("getOwnMetadata",(function(e,t,r){if(!O(t))throw new TypeError;return _(r)||(r=E(r)),y(e,t,r)})),t("getMetadataKeys",(function(e,t){if(!O(e))throw new TypeError;return _(t)||(t=E(t)),function e(t,r){var n=v(t,r),o=C(t);if(null===o)return n;var i=e(o,r);if(i.length<=0)return n;if(n.length<=0)return i;for(var s=new h,a=[],c=0,u=n;c0)return!0;var o=p.get(t);return o.delete(r),o.size>0||p.delete(t),!0}))}(i)}()}(r||(r={}))}).call(this,r(13),r(12))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(330),t),o(r(667),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(177),o=r(331),i=r(668);t.init=function(e,t){e.registerMessage(n.SetPersistentMemoryMsg),e.registerMessage(n.GetPersistentMemoryMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const n=r(177);t.getHandler=e=>(t,r)=>{switch(r.constructor){case n.SetPersistentMemoryMsg:return o(e)(t,r);case n.GetPersistentMemoryMsg:return e.get();default:throw new Error("Unknown msg type")}};const o=e=>(t,r)=>(e.set(r.data),{success:!0})},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(332),t),o(r(676),t)},function(e,t,r){window,e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=11)}([function(e,t,r){"use strict";const n=r(12);e.exports=function(e,...t){if(!e){if(1===t.length&&t[0]instanceof Error)throw t[0];throw new n(t)}}},function(e,t,r){"use strict";const n=r(0),o=r(12),i=r(29);let s,a;const c={isoDate:/^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/};t.version=i.version,t.defaults={abortEarly:!0,allowUnknown:!1,artifacts:!1,cache:!0,context:null,convert:!0,dateFormat:"iso",errors:{escapeHtml:!1,label:"path",language:null,render:!0,stack:!1,wrap:{label:'"',array:"[]"}},externals:!0,messages:{},nonEnumerables:!1,noDefaults:!1,presence:"optional",skipFunctions:!1,stripUnknown:!1,warnings:!1},t.symbols={any:Symbol.for("@hapi/joi/schema"),arraySingle:Symbol("arraySingle"),deepDefault:Symbol("deepDefault"),errors:Symbol("errors"),literal:Symbol("literal"),override:Symbol("override"),parent:Symbol("parent"),prefs:Symbol("prefs"),ref:Symbol("ref"),template:Symbol("template"),values:Symbol("values")},t.assertOptions=function(e,t,r="Options"){n(e&&"object"==typeof e&&!Array.isArray(e),"Options must be of type object");const o=Object.keys(e).filter(e=>!t.includes(e));n(0===o.length,"".concat(r," contain unknown keys: ").concat(o))},t.checkPreferences=function(e){a=a||r(16);const t=a.preferences.validate(e);if(t.error)throw new o([t.error.details[0].message])},t.compare=function(e,t,r){switch(r){case"=":return e===t;case">":return e>t;case"<":return e=":return e>=t;case"<=":return e<=t}},t.default=function(e,t){return void 0===e?t:e},t.isIsoDate=function(e){return c.isoDate.test(e)},t.isNumber=function(e){return"number"==typeof e&&!isNaN(e)},t.isResolvable=function(e){return!!e&&(e[t.symbols.ref]||e[t.symbols.template])},t.isSchema=function(e,r={}){const o=e&&e[t.symbols.any];return!!o&&(n(r.legacy||o.version===t.version,"Cannot mix different versions of joi schemas"),!0)},t.isValues=function(e){return e[t.symbols.values]},t.limit=function(e){return Number.isSafeInteger(e)&&e>=0},t.preferences=function(e,n){s=s||r(9),e=e||{},n=n||{};const o=Object.assign({},e,n);return n.errors&&e.errors&&(o.errors=Object.assign({},e.errors,n.errors),o.errors.wrap=Object.assign({},e.errors.wrap,n.errors.wrap)),n.messages&&(o.messages=s.compile(n.messages,e.messages)),delete o[t.symbols.prefs],o},t.tryWithPath=function(e,t,r={}){try{return e()}catch(e){throw void 0!==e.path?e.path=t+"."+e.path:e.path=t,r.append&&(e.message="".concat(e.message," (").concat(e.path,")")),e}},t.validateArg=function(e,r,{assert:n,message:o}){if(t.isSchema(n)){const t=n.validate(e);if(!t.error)return;return t.error.message}if(!n(e))return r?"".concat(r," ").concat(o):o},t.verifyFlat=function(e,t){for(const r of e)n(!Array.isArray(r),"Method no longer accepts array arguments:",t)}},function(e,t,r){"use strict";const n=r(6),o=r(13),i=r(14),s={needsProtoHack:new Set([o.set,o.map,o.weakSet,o.weakMap])};e.exports=s.clone=function(e,t={},r=null){if("object"!=typeof e||null===e)return e;let n=s.clone,a=r;if(t.shallow){if(!0!==t.shallow)return s.cloneWithShallow(e,t);n=e=>e}else if(a){const t=a.get(e);if(t)return t}else a=new Map;const c=o.getInternalProto(e);if(c===o.buffer)return!1;if(c===o.date)return new Date(e.getTime());if(c===o.regex)return new RegExp(e);const u=s.base(e,c,t);if(u===e)return e;if(a&&a.set(e,u),c===o.set)for(const r of e)u.add(n(r,t,a));else if(c===o.map)for(const[r,o]of e)u.set(r,n(o,t,a));const l=i.keys(e,t);for(const r of l){if("__proto__"===r)continue;if(c===o.array&&"length"===r){u.length=e.length;continue}const i=Object.getOwnPropertyDescriptor(e,r);i?i.get||i.set?Object.defineProperty(u,r,i):i.enumerable?u[r]=n(e[r],t,a):Object.defineProperty(u,r,{enumerable:!1,writable:!0,configurable:!0,value:n(e[r],t,a)}):Object.defineProperty(u,r,{enumerable:!0,writable:!0,configurable:!0,value:n(e[r],t,a)})}return u},s.cloneWithShallow=function(e,t){const r=t.shallow;(t=Object.assign({},t)).shallow=!1;const o=new Map;for(const t of r){const r=n(e,t);"object"!=typeof r&&"function"!=typeof r||o.set(r,r)}return s.clone(e,t,o)},s.base=function(e,t,r){if(!1===r.prototype)return s.needsProtoHack.has(t)?new t.constructor:t===o.array?[]:{};const n=Object.getPrototypeOf(e);if(n&&n.isImmutable)return e;if(t===o.array){const e=[];return n!==t&&Object.setPrototypeOf(e,n),e}if(s.needsProtoHack.has(t)){const e=new n.constructor;return n!==t&&Object.setPrototypeOf(e,n),e}return Object.create(n)}},function(e,t,r){"use strict";const n=r(0),o=r(34),i=r(1),s=r(9);e.exports=o.extend({type:"any",flags:{only:{default:!1}},terms:{alterations:{init:null},examples:{init:null},externals:{init:null},metas:{init:[]},notes:{init:[]},shared:{init:null},tags:{init:[]},whens:{init:null}},rules:{custom:{method(e,t){return n("function"==typeof e,"Method must be a function"),n(void 0===t||t&&"string"==typeof t,"Description must be a non-empty string"),this.$_addRule({name:"custom",args:{method:e,description:t}})},validate(e,t,{method:r}){try{return r(e,t)}catch(e){return t.error("any.custom",{error:e})}},args:["method","description"],multi:!0},messages:{method(e){return this.prefs({messages:e})}},shared:{method(e){n(i.isSchema(e)&&e._flags.id,"Schema must be a schema with an id");const t=this.clone();return t.$_terms.shared=t.$_terms.shared||[],t.$_terms.shared.push(e),t.$_mutateRegister(e),t}},warning:{method(e,t){return n(e&&"string"==typeof e,"Invalid warning code"),this.$_addRule({name:"warning",args:{code:e,local:t},warn:!0})},validate:(e,t,{code:r,local:n})=>t.error(r,n),args:["code","local"],multi:!0}},modifiers:{keep(e,t=!0){e.keep=t},message(e,t){e.message=s.compile(t)},warn(e,t=!0){e.warn=t}},manifest:{build(e,t){for(const r in t){const n=t[r];if(["examples","externals","metas","notes","tags"].includes(r))for(const t of n)e=e[r.slice(0,-1)](t);else if("alterations"!==r)if("whens"!==r){if("shared"===r)for(const t of n)e=e.shared(t)}else for(const t of n){const{ref:r,is:n,not:o,then:i,otherwise:s,concat:a}=t;e=a?e.concat(a):r?e.when(r,{is:n,not:o,then:i,otherwise:s,switch:t.switch,break:t.break}):e.when(n,{then:i,otherwise:s,break:t.break})}else{const t={};for(const{target:e,adjuster:r}of n)t[e]=r;e=e.alter(t)}}return e}},messages:{"any.custom":"{{#label}} failed custom validation because {{#error.message}}","any.default":"{{#label}} threw an error when running default method","any.failover":"{{#label}} threw an error when running failover method","any.invalid":"{{#label}} contains an invalid value","any.only":'{{#label}} must be {if(#valids.length == 1, "", "one of ")}{{#valids}}',"any.ref":"{{#label}} {{#arg}} references {{:#ref}} which {{#reason}}","any.required":"{{#label}} is required","any.unknown":"{{#label}} is not allowed"}})},function(e,t,r){"use strict";const n=r(32),o=r(1),i=r(7);t.Report=class{constructor(e,r,n,o,i,s,a){if(this.code=e,this.flags=o,this.messages=i,this.path=s.path,this.prefs=a,this.state=s,this.value=r,this.message=null,this.template=null,this.local=n||{},this.local.label=t.label(this.flags,this.state,this.prefs,this.messages),void 0===this.value||this.local.hasOwnProperty("value")||(this.local.value=this.value),this.path.length){const e=this.path[this.path.length-1];"object"!=typeof e&&(this.local.key=e)}}_setTemplate(e){if(this.template=e,!this.flags.label&&0===this.path.length){const e=this._template(this.template,"root");e&&(this.local.label=e)}}toString(){if(this.message)return this.message;const e=this.code;if(!this.prefs.errors.render)return this.code;const t=this._template(this.template)||this._template(this.prefs.messages)||this._template(this.messages);return void 0===t?'Error code "'.concat(e,'" is not defined, your custom type is missing the correct messages definition'):(this.message=t.render(this.value,this.state,this.prefs,this.local,{errors:this.prefs.errors,messages:[this.prefs.messages,this.messages]}),this.prefs.errors.label||(this.message=this.message.replace(/^"" /,"").trim()),this.message)}_template(e,r){return t.template(this.value,e,r||this.code,this.state,this.prefs)}},t.path=function(e){let t="";for(const r of e)"object"!=typeof r&&("string"==typeof r?(t&&(t+="."),t+=r):t+="[".concat(r,"]"));return t},t.template=function(e,t,r,n,s){if(!t)return;if(i.isTemplate(t))return"root"!==r?t:null;let a=s.errors.language;return o.isResolvable(a)&&(a=a.resolve(e,n,s)),a&&t[a]&&void 0!==t[a][r]?t[a][r]:t[r]},t.label=function(e,r,n,o){if(e.label)return e.label;if(!n.errors.label)return"";let i=r.path;return"key"===n.errors.label&&r.path.length>1&&(i=r.path.slice(-1)),t.path(i)||t.template(null,n.messages,"root",r,n)||o&&t.template(null,o,"root",r,n)||"value"},t.process=function(e,r,n){if(!e)return null;const{override:o,message:i,details:s}=t.details(e);if(o)return o;if(n.errors.stack)return new t.ValidationError(i,s,r);const a=Error.stackTraceLimit;Error.stackTraceLimit=0;const c=new t.ValidationError(i,s,r);return Error.stackTraceLimit=a,c},t.details=function(e,t={}){let r=[];const n=[];for(const o of e){if(o instanceof Error){if(!1!==t.override)return{override:o};const e=o.toString();r.push(e),n.push({message:e,type:"override",context:{error:o}});continue}const e=o.toString();r.push(e),n.push({message:e,path:o.path.filter(e=>"object"!=typeof e),type:o.code,context:o.local})}return r.length>1&&(r=[...new Set(r)]),{message:r.join(". "),details:n}},t.ValidationError=class extends Error{constructor(e,t,r){super(e),this._original=r,this.details=t}static isError(e){return e instanceof t.ValidationError}},t.ValidationError.prototype.isJoi=!0,t.ValidationError.prototype.name="ValidationError",t.ValidationError.prototype.annotate=n.error},function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0&&this.refs.push({ancestor:t.ancestor-n,root:t.root});else t.isRef(e)&&"value"===e.type&&e.ancestor-n>=0&&this.refs.push({ancestor:e.ancestor-n,root:e.root}),l=l||r(7),l.isTemplate(e)&&this.register(e.refs(),n)}get length(){return this.refs.length}clone(){const e=new t.Manager;return e.refs=a(this.refs),e}reset(){this.refs=[]}roots(){return this.refs.filter(e=>!e.ancestor).map(e=>e.root)}}},function(e,t,r){"use strict";const n=r(0),o={};e.exports=function(e,t,r){if(!1===t||null==t)return e;"string"==typeof(r=r||{})&&(r={separator:r});const i=Array.isArray(t);n(!i||!r.separator,"Separator option no valid for array-based chain");const s=i?t:t.split(r.separator||".");let a=e;for(let e=0;e{const t=f.create(e,this._settings);return n.push(t),e=>t.resolve(...e)};try{var i=new c.Parser(e,{reference:o,functions:d.functions,constants:d.constants})}catch(t){throw t.message='Invalid template variable "'.concat(e,'" fails due to: ').concat(t.message),t}if(i.single){if("reference"===i.single.type){const e=n[0];return{ref:e,raw:t,refs:n,wrapped:r||"local"===e.type&&"label"===e.key}}return d.stringify(i.single.value)}return{formula:i,raw:t,refs:n}}toString(){return this.source}},d.Template.prototype[u.symbols.template]=!0,d.Template.prototype.isImmutable=!0,d.encode=function(e){return e.replace(/\\(\{+)/g,(e,t)=>d.opens.slice(0,t.length)).replace(/\\(\}+)/g,(e,t)=>d.closes.slice(0,t.length))},d.decode=function(e){return e.replace(/\u0000/g,"{").replace(/\u0001/g,"}")},d.split=function(e){const t=[];let r="";for(let n=0;n ").concat(n.toString()));e=t}if(!Array.isArray(e))return e.toString();let l="";for(const n of e)l=l+(l.length?", ":"")+d.stringify(n,t,r,i,s,a);return u?l:d.wrap(l,i.errors.wrap.array)},d.constants={true:!0,false:!1,null:null,second:1e3,minute:6e4,hour:36e5,day:864e5},d.functions={if:(e,t,r)=>e?t:r,msg(e){const[t,r,n,o,i]=this,s=i.messages;if(!s)return"";const a=l.template(t,s[0],e,r,n)||l.template(t,s[1],e,r,n);return a?a.render(t,r,n,o,i):""},number:e=>"number"==typeof e?e:"string"==typeof e?parseFloat(e):"boolean"==typeof e?e?1:0:e instanceof Date?e.getTime():null}},function(e,t,r){"use strict";const n=r(0),o=r(1),i=r(5),s={};t.schema=function(e,t,r={}){o.assertOptions(r,["appendPath","override"]);try{return s.schema(e,t,r)}catch(e){throw r.appendPath&&void 0!==e.path&&(e.message="".concat(e.message," (").concat(e.path,")")),e}},s.schema=function(e,t,r){n(void 0!==t,"Invalid undefined schema"),Array.isArray(t)&&(n(t.length,"Invalid empty array schema"),1===t.length&&(t=t[0]));const i=(t,...n)=>!1!==r.override?t.valid(e.override,...n):t.valid(...n);if(s.simple(t))return i(e,t);if("function"==typeof t)return e.custom(t);if(n("object"==typeof t,"Invalid schema content:",typeof t),o.isResolvable(t))return i(e,t);if(o.isSchema(t))return t;if(Array.isArray(t)){for(const r of t)if(!s.simple(r))return e.alternatives().try(...t);return i(e,...t)}return t instanceof RegExp?e.string().regex(t):t instanceof Date?i(e.date(),t):(n(Object.getPrototypeOf(t)===Object.getPrototypeOf({}),"Schema can only contain plain objects"),e.object().keys(t))},t.ref=function(e,t){return i.isRef(e)?e:i.create(e,t)},t.compile=function(e,r,i={}){o.assertOptions(i,["legacy"]);const a=r&&r[o.symbols.any];if(a)return n(i.legacy||a.version===o.version,"Cannot mix different versions of joi schemas:",a.version,o.version),r;if("object"!=typeof r||!i.legacy)return t.schema(e,r,{appendPath:!0});const c=s.walk(r);return c?c.compile(c.root,r):t.schema(e,r,{appendPath:!0})},s.walk=function(e){if("object"!=typeof e)return null;if(Array.isArray(e)){for(const t of e){const e=s.walk(t);if(e)return e}return null}const t=e[o.symbols.any];if(t)return{root:e[t.root],compile:t.compile};n(Object.getPrototypeOf(e)===Object.getPrototypeOf({}),"Schema can only contain plain objects");for(const t in e){const r=s.walk(e[t]);if(r)return r}return null},s.simple=function(e){return null===e||["boolean","string","number"].includes(typeof e)},t.when=function(e,r,a){if(void 0===a&&(n(r&&"object"==typeof r,"Missing options"),a=r,r=i.create(".")),Array.isArray(a)&&(a={switch:a}),o.assertOptions(a,["is","not","then","otherwise","switch","break"]),o.isSchema(r))return n(void 0===a.is,'"is" can not be used with a schema condition'),n(void 0===a.not,'"not" can not be used with a schema condition'),n(void 0===a.switch,'"switch" can not be used with a schema condition'),s.condition(e,{is:r,then:a.then,otherwise:a.otherwise,break:a.break});if(n(i.isRef(r)||"string"==typeof r,"Invalid condition:",r),n(void 0===a.not||void 0===a.is,'Cannot combine "is" with "not"'),void 0===a.switch){let c=a;void 0!==a.not&&(c={is:a.not,then:a.otherwise,otherwise:a.then,break:a.break});let u=void 0!==c.is?e.$_compile(c.is):e.$_root.invalid(null,!1,0,"").required();return n(void 0!==c.then||void 0!==c.otherwise,'options must have at least one of "then", "otherwise", or "switch"'),n(void 0===c.break||void 0===c.then||void 0===c.otherwise,"Cannot specify then, otherwise, and break all together"),void 0===a.is||i.isRef(a.is)||o.isSchema(a.is)||(u=u.required()),s.condition(e,{ref:t.ref(r),is:u,then:c.then,otherwise:c.otherwise,break:c.break})}n(Array.isArray(a.switch),'"switch" must be an array'),n(void 0===a.is,'Cannot combine "switch" with "is"'),n(void 0===a.not,'Cannot combine "switch" with "not"'),n(void 0===a.then,'Cannot combine "switch" with "then"');const c={ref:t.ref(r),switch:[],break:a.break};for(let t=0;t=0;--r)if(i[r].isSame(e,t))return!0;i.push(new o.SeenEntry(e,t));try{return!!o.isDeepEqualObj(a,e,t,r,i)}finally{i.pop()}},o.getSharedType=function(e,t,r){if(r)return Object.getPrototypeOf(e)!==Object.getPrototypeOf(t)?o.mismatched:n.getInternalProto(e);const i=n.getInternalProto(e);return i!==n.getInternalProto(t)?o.mismatched:i},o.valueOf=function(e){const t=e.valueOf;if(void 0===t)return e;try{return t.call(e)}catch(e){return e}},o.hasOwnEnumerableProperty=function(e,t){return Object.prototype.propertyIsEnumerable.call(e,t)},o.isSetSimpleEqual=function(e,t){for(const r of Set.prototype.values.call(e))if(!Set.prototype.has.call(t,r))return!1;return!0},o.isDeepEqualObj=function(e,t,r,i,s){const{isDeepEqual:a,valueOf:c,hasOwnEnumerableProperty:u}=o,{keys:l,getOwnPropertySymbols:f}=Object;if(e===n.array){if(!i.part){if(t.length!==r.length)return!1;for(let e=0;eg.assert(e,t,!1,r),build(e){return n("function"==typeof l.build,"Manifest functionality disabled"),l.build(this,e)},checkPreferences(e){s.checkPreferences(e)},compile(e,t){return a.compile(this,e,t)},defaults(e){n("function"==typeof e,"modifier must be a function");const t=Object.assign({},this);for(const r of t._types){const o=e(t[r]());n(s.isSchema(o),"modifier must return a valid schema object"),t[r]=function(...e){return g.generate(this,o,e)}}return t},expression:(...e)=>new d(...e),extend(...e){s.verifyFlat(e,"extend"),p=p||r(16),n(e.length,"You need to provide at least one extension"),this.assert(e,p.extensions);const t=Object.assign({},this);t._types=new Set(t._types);for(let r of e){"function"==typeof r&&(r=r(t)),this.assert(r,p.extension);const e=g.expandExtension(r,t);for(const r of e){n(void 0===t[r.type]||t._types.has(r.type),"Cannot override name",r.type);const e=r.base||this.any(),o=u.type(e,r);t._types.add(r.type),t[r.type]=function(...e){return g.generate(this,o,e)}}}return t},isError:c.ValidationError.isError,isExpression:d.isTemplate,isRef:f.isRef,isSchema:s.isSchema,in:(...e)=>f.in(...e),override:s.symbols.override,ref:(...e)=>f.create(...e),types(){const e={};for(const t of this._types)e[t]=this[t]();for(const t in g.aliases)e[t]=this[t]();return e}},g.assert=function(e,t,r,n){const i=n[0]instanceof Error||"string"==typeof n[0]?n[0]:null,a=i?n[1]:n[0],u=t.validate(e,s.preferences({errors:{stack:!0}},a||{}));let l=u.error;if(!l)return u.value;if(i instanceof Error)throw i;const f=r&&"function"==typeof l.annotate?l.annotate():l.message;throw l instanceof c.ValidationError==0&&(l=o(l)),l.message=i?"".concat(i," ").concat(f):f,l},g.generate=function(e,t,r){return n(e,"Must be invoked on a Joi instance."),t.$_root=e,t._definition.args&&r.length?t._definition.args(t,...r):t},g.expandExtension=function(e,t){if("string"==typeof e.type)return[e];const r=[];for(const n of t._types)if(e.type.test(n)){const o=Object.assign({},e);o.type=n,o.base=t[n](),r.push(o)}return r},e.exports=g.root()},function(e,t,r){"use strict";const n=r(28);e.exports=class extends Error{constructor(e){super(e.filter(e=>""!==e).map(e=>"string"==typeof e?e:e instanceof Error?e.message:n(e)).join(" ")||"Unknown error"),"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,t.assert)}}},function(e,t,r){"use strict";const n={};t=e.exports={array:Array.prototype,buffer:!1,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype},n.typeMap=new Map([["[object Error]",t.error],["[object Map]",t.map],["[object Promise]",t.promise],["[object Set]",t.set],["[object WeakMap]",t.weakMap],["[object WeakSet]",t.weakSet]]),t.getInternalProto=function(e){if(Array.isArray(e))return t.array;if(e instanceof Date)return t.date;if(e instanceof RegExp)return t.regex;if(e instanceof Error)return t.error;const r=Object.prototype.toString.call(e);return n.typeMap.get(r)||t.generic}},function(e,t,r){"use strict";t.keys=function(e,t={}){return!1!==t.symbols?Reflect.ownKeys(e):Object.getOwnPropertyNames(e)}},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(1),s={max:1e3,supported:new Set(["undefined","boolean","number","string"])};t.provider={provision:e=>new s.Cache(e)},s.Cache=class{constructor(e={}){i.assertOptions(e,["max"]),n(void 0===e.max||e.max&&e.max>0&&isFinite(e.max),"Invalid max cache size"),this._max=e.max||s.max,this._map=new Map,this._list=new s.List}get length(){return this._map.size}set(e,t){if(null!==e&&!s.supported.has(typeof e))return;let r=this._map.get(e);if(r)return r.value=t,void this._list.first(r);r=this._list.unshift({key:e,value:t}),this._map.set(e,r),this._compact()}get(e){const t=this._map.get(e);if(t)return this._list.first(t),o(t.value)}_compact(){if(this._map.size>this._max){const e=this._list.pop();this._map.delete(e.key)}}},s.List=class{constructor(){this.tail=null,this.head=null}unshift(e){return e.next=null,e.prev=this.head,this.head&&(this.head.next=e),this.head=e,this.tail||(this.tail=e),e}first(e){e!==this.head&&(this._remove(e),this.unshift(e))}pop(){return this._remove(this.tail)}_remove(e){const{next:t,prev:r}=e;return t.prev=r,r&&(r.next=t),e===this.tail&&(this.tail=t),e.prev=null,e.next=null,e}}},function(e,t,r){"use strict";const n=r(11),o={};o.wrap=n.string().min(1).max(2).allow(!1),t.preferences=n.object({allowUnknown:n.boolean(),abortEarly:n.boolean(),artifacts:n.boolean(),cache:n.boolean(),context:n.object(),convert:n.boolean(),dateFormat:n.valid("date","iso","string","time","utc"),debug:n.boolean(),errors:{escapeHtml:n.boolean(),label:n.valid("path","key",!1),language:[n.string(),n.object().ref()],render:n.boolean(),stack:n.boolean(),wrap:{label:o.wrap,array:o.wrap}},externals:n.boolean(),messages:n.object(),noDefaults:n.boolean(),nonEnumerables:n.boolean(),presence:n.valid("required","optional","forbidden"),skipFunctions:n.boolean(),stripUnknown:n.object({arrays:n.boolean(),objects:n.boolean()}).or("arrays","objects").allow(!0,!1),warnings:n.boolean()}).strict(),o.nameRx=/^[a-zA-Z0-9]\w*$/,o.rule=n.object({alias:n.array().items(n.string().pattern(o.nameRx)).single(),args:n.array().items(n.string(),n.object({name:n.string().pattern(o.nameRx).required(),ref:n.boolean(),assert:n.alternatives([n.function(),n.object().schema()]).conditional("ref",{is:!0,then:n.required()}),normalize:n.function(),message:n.string().when("assert",{is:n.function(),then:n.required()})})),convert:n.boolean(),manifest:n.boolean(),method:n.function().allow(!1),multi:n.boolean(),validate:n.function()}),t.extension=n.object({type:n.alternatives([n.string(),n.object().regex()]).required(),args:n.function(),cast:n.object().pattern(o.nameRx,n.object({from:n.function().maxArity(1).required(),to:n.function().minArity(1).maxArity(2).required()})),base:n.object().schema().when("type",{is:n.object().regex(),then:n.forbidden()}),coerce:[n.function().maxArity(3),n.object({method:n.function().maxArity(3).required(),from:n.array().items(n.string()).single()})],flags:n.object().pattern(o.nameRx,n.object({setter:n.string(),default:n.any()})),manifest:{build:n.function().arity(2)},messages:[n.object(),n.string()],modifiers:n.object().pattern(o.nameRx,n.function().minArity(1).maxArity(2)),overrides:n.object().pattern(o.nameRx,n.function()),prepare:n.function().maxArity(3),rebuild:n.function().arity(1),rules:n.object().pattern(o.nameRx,o.rule),terms:n.object().pattern(o.nameRx,n.object({init:n.array().allow(null).required(),manifest:n.object().pattern(/.+/,[n.valid("schema","single"),n.object({mapped:n.object({from:n.string().required(),to:n.string().required()}).required()})])})),validate:n.function().maxArity(3)}).strict(),t.extensions=n.array().items(n.object(),n.function().arity(1)).strict(),o.desc={buffer:n.object({buffer:n.string()}),func:n.object({function:n.function().required(),options:{literal:!0}}),override:n.object({override:!0}),ref:n.object({ref:n.object({type:n.valid("value","global","local"),path:n.array().required(),separator:n.string().length(1).allow(!1),ancestor:n.number().min(0).integer().allow("root"),map:n.array().items(n.array().length(2)).min(1),adjust:n.function(),iterables:n.boolean(),in:n.boolean(),render:n.boolean()}).required()}),regex:n.object({regex:n.string().min(3)}),special:n.object({special:n.valid("deep").required()}),template:n.object({template:n.string().required(),options:n.object()}),value:n.object({value:n.alternatives([n.object(),n.array()]).required()})},o.desc.entity=n.alternatives([n.array().items(n.link("...")),n.boolean(),n.function(),n.number(),n.string(),o.desc.buffer,o.desc.func,o.desc.ref,o.desc.regex,o.desc.special,o.desc.template,o.desc.value,n.link("/")]),o.desc.values=n.array().items(null,n.boolean(),n.function(),n.number().allow(1/0,-1/0),n.string().allow(""),n.symbol(),o.desc.buffer,o.desc.func,o.desc.override,o.desc.ref,o.desc.regex,o.desc.template,o.desc.value),o.desc.messages=n.object().pattern(/.+/,[n.string(),o.desc.template,n.object().pattern(/.+/,[n.string(),o.desc.template])]),t.description=n.object({type:n.string().required(),flags:n.object({cast:n.string(),default:n.any(),description:n.string(),empty:n.link("/"),failover:o.desc.entity,id:n.string(),label:n.string(),only:!0,presence:["optional","required","forbidden"],result:["raw","strip"],strip:n.boolean(),unit:n.string()}).unknown(),preferences:{allowUnknown:n.boolean(),abortEarly:n.boolean(),artifacts:n.boolean(),cache:n.boolean(),convert:n.boolean(),dateFormat:["date","iso","string","time","utc"],errors:{escapeHtml:n.boolean(),label:["path","key"],language:[n.string(),o.desc.ref],wrap:{label:o.wrap,array:o.wrap}},externals:n.boolean(),messages:o.desc.messages,noDefaults:n.boolean(),nonEnumerables:n.boolean(),presence:["required","optional","forbidden"],skipFunctions:n.boolean(),stripUnknown:n.object({arrays:n.boolean(),objects:n.boolean()}).or("arrays","objects").allow(!0,!1),warnings:n.boolean()},allow:o.desc.values,invalid:o.desc.values,rules:n.array().min(1).items({name:n.string().required(),args:n.object().min(1),keep:n.boolean(),message:[n.string(),o.desc.messages],warn:n.boolean()}),keys:n.object().pattern(/.*/,n.link("/")),link:o.desc.ref}).pattern(/^[a-z]\w*$/,n.any())},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(1),s=r(9),a={};t.type=function(e,t){const r=Object.getPrototypeOf(e),c=o(r),u=e._assign(Object.create(c)),l=Object.assign({},t);delete l.base,c._definition=l;const f=r._definition||{};l.messages=s.merge(f.messages,l.messages),l.properties=Object.assign({},f.properties,l.properties),u.type=l.type,l.flags=Object.assign({},f.flags,l.flags);const d=Object.assign({},f.terms);if(l.terms)for(const e in l.terms){const t=l.terms[e];n(void 0===u.$_terms[e],"Invalid term override for",l.type,e),u.$_terms[e]=t.init,d[e]=t}l.terms=d,l.args||(l.args=f.args),l.prepare=a.prepare(l.prepare,f.prepare),l.coerce&&("function"==typeof l.coerce&&(l.coerce={method:l.coerce}),l.coerce.from&&!Array.isArray(l.coerce.from)&&(l.coerce={method:l.coerce.method,from:[].concat(l.coerce.from)})),l.coerce=a.coerce(l.coerce,f.coerce),l.validate=a.validate(l.validate,f.validate);const h=Object.assign({},f.rules);if(l.rules)for(const e in l.rules){const t=l.rules[e];n("object"==typeof t,"Invalid rule definition for",l.type,e);let r=t.method;if(void 0===r&&(r=function(){return this.$_addRule(e)}),r&&(n(!c[e],"Rule conflict in",l.type,e),c[e]=r),n(!h[e],"Rule conflict in",l.type,e),h[e]=t,t.alias){const e=[].concat(t.alias);for(const r of e)c[r]=t.method}t.args&&(t.argsByName=new Map,t.args=t.args.map(e=>("string"==typeof e&&(e={name:e}),n(!t.argsByName.has(e.name),"Duplicated argument name",e.name),i.isSchema(e.assert)&&(e.assert=e.assert.strict().label(e.name)),t.argsByName.set(e.name,e),e)))}l.rules=h;const p=Object.assign({},f.modifiers);if(l.modifiers)for(const e in l.modifiers){n(!c[e],"Rule conflict in",l.type,e);const t=l.modifiers[e];n("function"==typeof t,"Invalid modifier definition for",l.type,e);const r=function(t){return this.rule({[e]:t})};c[e]=r,p[e]=t}if(l.modifiers=p,l.overrides){c._super=r,u.$_super={};for(const e in l.overrides)n(r[e],"Cannot override missing",e),l.overrides[e][i.symbols.parent]=r[e],u.$_super[e]=r[e].bind(u);Object.assign(c,l.overrides)}l.cast=Object.assign({},f.cast,l.cast);const g=Object.assign({},f.manifest,l.manifest);return g.build=a.build(l.manifest&&l.manifest.build,f.manifest&&f.manifest.build),l.manifest=g,l.rebuild=a.rebuild(l.rebuild,f.rebuild),u},a.build=function(e,t){return e&&t?function(r,n){return t(e(r,n),n)}:e||t},a.coerce=function(e,t){return e&&t?{from:e.from&&t.from?[...new Set([...e.from,...t.from])]:null,method(r,n){let o;if((!t.from||t.from.includes(typeof r))&&(o=t.method(r,n),o)){if(o.errors||void 0===o.value)return o;r=o.value}if(!e.from||e.from.includes(typeof r)){const t=e.method(r,n);if(t)return t}return o}}:e||t},a.prepare=function(e,t){return e&&t?function(r,n){const o=e(r,n);if(o){if(o.errors||void 0===o.value)return o;r=o.value}return t(r,n)||o}:e||t},a.rebuild=function(e,t){return e&&t?function(r){t(r),e(r)}:e||t},a.validate=function(e,t){return e&&t?function(r,n){const o=t(r,n);if(o){if(o.errors&&(!Array.isArray(o.errors)||o.errors.length))return o;r=o.value}return e(r,n)||o}:e||t}},function(e,t){},function(e,t){},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(14),s={};e.exports=s.merge=function(e,t,r){if(n(e&&"object"==typeof e,"Invalid target value: must be an object"),n(null==t||"object"==typeof t,"Invalid source value: must be null, undefined, or an object"),!t)return e;if(r=Object.assign({nullOverride:!0,mergeArrays:!0},r),Array.isArray(t)){n(Array.isArray(e),"Cannot merge array onto an object"),r.mergeArrays||(e.length=0);for(let n=0;ne.keys(t),validate(e,{schema:t,error:r,state:n,prefs:o}){if(!e||typeof e!==t.$_property("typeof")||Array.isArray(e))return{value:e,errors:r("object.base",{type:t.$_property("typeof")})};if(!(t.$_terms.renames||t.$_terms.dependencies||t.$_terms.keys||t.$_terms.patterns||t.$_terms.externals))return;e=h.clone(e,o);const i=[];if(t.$_terms.renames&&!h.rename(t,e,n,o,i))return{value:e,errors:i};if(!t.$_terms.keys&&!t.$_terms.patterns&&!t.$_terms.dependencies)return{value:e,errors:i};const s=new Set(Object.keys(e));if(t.$_terms.keys){const r=[e,...n.ancestors];for(const a of t.$_terms.keys){const t=a.key,c=e[t];s.delete(t);const u=n.localize([...n.path,t],r,a),l=a.schema.$_validate(c,u,o);if(l.errors){if(o.abortEarly)return{value:e,errors:l.errors};i.push(...l.errors)}else"strip"===a.schema._flags.result||void 0===l.value&&void 0!==c?delete e[t]:void 0!==l.value&&(e[t]=l.value)}}if(s.size||t._flags._hasPatternMatch){const r=h.unknown(t,e,s,i,n,o);if(r)return r}if(t.$_terms.dependencies)for(const r of t.$_terms.dependencies){if(r.key&&void 0===r.key.resolve(e,n,o,null,{shadow:!1}))continue;const s=h.dependencies[r.rel](t,r,e,n,o);if(s){const r=t.$_createError(s.code,e,s.context,n,o);if(o.abortEarly)return{value:e,errors:r};i.push(r)}}return{value:e,errors:i}},rules:{and:{method(...e){return c.verifyFlat(e,"and"),h.dependency(this,"and",null,e)}},append:{method(e){return null==e||0===Object.keys(e).length?this:this.keys(e)}},assert:{method(e,t,r){d.isTemplate(e)||(e=u.ref(e)),o(void 0===r||"string"==typeof r,"Message must be a string"),t=this.$_compile(t,{appendPath:!0});const n=this.$_addRule({name:"assert",args:{subject:e,schema:t,message:r}});return n.$_mutateRegister(e),n.$_mutateRegister(t),n},validate(e,{error:t,prefs:r,state:n},{subject:o,schema:i,message:s}){const a=o.resolve(e,n,r),c=f.isRef(o)?o.absolute(n):[];return i.$_match(a,n.localize(c,[e,...n.ancestors],i),r)?e:t("object.assert",{subject:o,message:s})},args:["subject","schema","message"],multi:!0},instance:{method(e,t){return o("function"==typeof e,"constructor must be a function"),t=t||e.name,this.$_addRule({name:"instance",args:{constructor:e,name:t}})},validate:(e,t,{constructor:r,name:n})=>e instanceof r?e:t.error("object.instance",{type:n,value:e}),args:["constructor","name"]},keys:{method(e){o(void 0===e||"object"==typeof e,"Object schema must be a valid object"),o(!c.isSchema(e),"Object schema cannot be a joi schema");const t=this.clone();if(e)if(Object.keys(e).length){t.$_terms.keys=t.$_terms.keys?t.$_terms.keys.filter(t=>!e.hasOwnProperty(t.key)):new h.Keys;for(const r in e)c.tryWithPath(()=>t.$_terms.keys.push({key:r,schema:this.$_compile(e[r])}),r)}else t.$_terms.keys=new h.Keys;else t.$_terms.keys=null;return t.$_mutateRebuild()}},length:{method(e){return this.$_addRule({name:"length",args:{limit:e},operator:"="})},validate:(e,t,{limit:r},{name:n,operator:o,args:i})=>c.compare(Object.keys(e).length,r,o)?e:t.error("object."+n,{limit:i.limit,value:e}),args:[{name:"limit",ref:!0,assert:c.limit,message:"must be a positive integer"}]},max:{method(e){return this.$_addRule({name:"max",method:"length",args:{limit:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"length",args:{limit:e},operator:">="})}},nand:{method(...e){return c.verifyFlat(e,"nand"),h.dependency(this,"nand",null,e)}},or:{method(...e){return c.verifyFlat(e,"or"),h.dependency(this,"or",null,e)}},oxor:{method(...e){return h.dependency(this,"oxor",null,e)}},pattern:{method(e,t,r={}){const n=e instanceof RegExp;n||(e=this.$_compile(e,{appendPath:!0})),o(void 0!==t,"Invalid rule"),c.assertOptions(r,["fallthrough","matches"]),n&&o(!e.flags.includes("g")&&!e.flags.includes("y"),"pattern should not use global or sticky mode"),t=this.$_compile(t,{appendPath:!0});const i=this.clone();i.$_terms.patterns=i.$_terms.patterns||[];const s={[n?"regex":"schema"]:e,rule:t};return r.matches&&(s.matches=this.$_compile(r.matches),"array"!==s.matches.type&&(s.matches=s.matches.$_root.array().items(s.matches)),i.$_mutateRegister(s.matches),i.$_setFlag("_hasPatternMatch",!0,{clone:!1})),r.fallthrough&&(s.fallthrough=!0),i.$_terms.patterns.push(s),i.$_mutateRegister(t),i}},ref:{method(){return this.$_addRule("ref")},validate:(e,t)=>f.isRef(e)?e:t.error("object.refType",{value:e})},regex:{method(){return this.$_addRule("regex")},validate:(e,t)=>e instanceof RegExp?e:t.error("object.regex",{value:e})},rename:{method(e,t,r={}){o("string"==typeof e||e instanceof RegExp,"Rename missing the from argument"),o("string"==typeof t||t instanceof d,"Invalid rename to argument"),o(t!==e,"Cannot rename key to same name:",e),c.assertOptions(r,["alias","ignoreUndefined","override","multiple"]);const i=this.clone();i.$_terms.renames=i.$_terms.renames||[];for(const t of i.$_terms.renames)o(t.from!==e,"Cannot rename the same key multiple times");return t instanceof d&&i.$_mutateRegister(t),i.$_terms.renames.push({from:e,to:t,options:n(h.renameDefaults,r)}),i}},schema:{method(e="any"){return this.$_addRule({name:"schema",args:{type:e}})},validate:(e,t,{type:r})=>!c.isSchema(e)||"any"!==r&&e.type!==r?t.error("object.schema",{type:r}):e},unknown:{method(e){return this.$_setFlag("unknown",!1!==e)}},with:{method(e,t,r={}){return h.dependency(this,"with",e,t,r)}},without:{method(e,t,r={}){return h.dependency(this,"without",e,t,r)}},xor:{method(...e){return c.verifyFlat(e,"xor"),h.dependency(this,"xor",null,e)}}},overrides:{default(e,t){return void 0===e&&(e=c.symbols.deepDefault),this.$_parent("default",e,t)}},rebuild(e){if(e.$_terms.keys){const t=new s.Sorter;for(const r of e.$_terms.keys)c.tryWithPath(()=>t.add(r,{after:r.schema.$_rootReferences(),group:r.key}),r.key);e.$_terms.keys=new h.Keys(...t.nodes)}},manifest:{build(e,t){if(t.keys&&(e=e.keys(t.keys)),t.dependencies)for(const{rel:r,key:n=null,peers:o,options:i}of t.dependencies)e=h.dependency(e,r,n,o,i);if(t.patterns)for(const{regex:r,schema:n,rule:o,fallthrough:i,matches:s}of t.patterns)e=e.pattern(r||n,o,{fallthrough:i,matches:s});if(t.renames)for(const{from:r,to:n,options:o}of t.renames)e=e.rename(r,n,o);return e}},messages:{"object.and":"{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}","object.assert":'{{#label}} is invalid because {if(#subject.key, `"` + #subject.key + `" failed to ` + (#message || "pass the assertion test"), #message || "the assertion failed")}',"object.base":"{{#label}} must be of type {{#type}}","object.instance":"{{#label}} must be an instance of {{:#type}}","object.length":'{{#label}} must have {{#limit}} key{if(#limit == 1, "", "s")}',"object.max":'{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, "", "s")}',"object.min":'{{#label}} must have at least {{#limit}} key{if(#limit == 1, "", "s")}',"object.missing":"{{#label}} must contain at least one of {{#peersWithLabels}}","object.nand":"{{:#mainWithLabel}} must not exist simultaneously with {{#peersWithLabels}}","object.oxor":"{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}","object.pattern.match":"{{#label}} keys failed to match pattern requirements","object.refType":"{{#label}} must be a Joi reference","object.regex":"{{#label}} must be a RegExp object","object.rename.multiple":"{{#label}} cannot rename {{:#from}} because multiple renames are disabled and another key was already renamed to {{:#to}}","object.rename.override":"{{#label}} cannot rename {{:#from}} because override is disabled and target {{:#to}} exists","object.schema":"{{#label}} must be a Joi schema of {{#type}} type","object.unknown":"{{#label}} is not allowed","object.with":"{{:#mainWithLabel}} missing required peer {{:#peerWithLabel}}","object.without":"{{:#mainWithLabel}} conflict with forbidden peer {{:#peerWithLabel}}","object.xor":"{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}"}}),h.clone=function(e,t){if("object"==typeof e){if(t.nonEnumerables)return i(e,{shallow:!0});const r=Object.create(Object.getPrototypeOf(e));return Object.assign(r,e),r}const r=function(...t){return e.apply(this,t)};return r.prototype=i(e.prototype),Object.defineProperty(r,"name",{value:e.name,writable:!1}),Object.defineProperty(r,"length",{value:e.length,writable:!1}),Object.assign(r,e),r},h.dependency=function(e,t,r,n,i){o(null===r||"string"==typeof r,t,"key must be a strings"),i||(i=n.length>1&&"object"==typeof n[n.length-1]?n.pop():{}),c.assertOptions(i,["separator"]),n=[].concat(n);const s=c.default(i.separator,"."),a=[];for(const e of n)o("string"==typeof e,t,"peers must be a string or a reference"),a.push(u.ref(e,{separator:s,ancestor:0,prefix:!1}));null!==r&&(r=u.ref(r,{separator:s,ancestor:0,prefix:!1}));const l=e.clone();return l.$_terms.dependencies=l.$_terms.dependencies||[],l.$_terms.dependencies.push(new h.Dependency(t,r,a,n)),l},h.dependencies={and(e,t,r,n,o){const i=[],s=[],a=t.peers.length;for(const e of t.peers)void 0===e.resolve(r,n,o,null,{shadow:!1})?i.push(e.key):s.push(e.key);if(i.length!==a&&s.length!==a)return{code:"object.and",context:{present:s,presentWithLabels:h.keysToLabels(e,s),missing:i,missingWithLabels:h.keysToLabels(e,i)}}},nand(e,t,r,n,o){const i=[];for(const e of t.peers)void 0!==e.resolve(r,n,o,null,{shadow:!1})&&i.push(e.key);if(i.length!==t.peers.length)return;const s=t.paths[0],a=t.paths.slice(1);return{code:"object.nand",context:{main:s,mainWithLabel:h.keysToLabels(e,s),peers:a,peersWithLabels:h.keysToLabels(e,a)}}},or(e,t,r,n,o){for(const e of t.peers)if(void 0!==e.resolve(r,n,o,null,{shadow:!1}))return;return{code:"object.missing",context:{peers:t.paths,peersWithLabels:h.keysToLabels(e,t.paths)}}},oxor(e,t,r,n,o){const i=[];for(const e of t.peers)void 0!==e.resolve(r,n,o,null,{shadow:!1})&&i.push(e.key);if(!i.length||1===i.length)return;const s={peers:t.paths,peersWithLabels:h.keysToLabels(e,t.paths)};return s.present=i,s.presentWithLabels=h.keysToLabels(e,i),{code:"object.oxor",context:s}},with(e,t,r,n,o){for(const i of t.peers)if(void 0===i.resolve(r,n,o,null,{shadow:!1}))return{code:"object.with",context:{main:t.key.key,mainWithLabel:h.keysToLabels(e,t.key.key),peer:i.key,peerWithLabel:h.keysToLabels(e,i.key)}}},without(e,t,r,n,o){for(const i of t.peers)if(void 0!==i.resolve(r,n,o,null,{shadow:!1}))return{code:"object.without",context:{main:t.key.key,mainWithLabel:h.keysToLabels(e,t.key.key),peer:i.key,peerWithLabel:h.keysToLabels(e,i.key)}}},xor(e,t,r,n,o){const i=[];for(const e of t.peers)void 0!==e.resolve(r,n,o,null,{shadow:!1})&&i.push(e.key);if(1===i.length)return;const s={peers:t.paths,peersWithLabels:h.keysToLabels(e,t.paths)};return 0===i.length?{code:"object.missing",context:s}:(s.present=i,s.presentWithLabels=h.keysToLabels(e,i),{code:"object.xor",context:s})}},h.keysToLabels=function(e,t){return Array.isArray(t)?t.map(t=>e.$_mapLabels(t)):e.$_mapLabels(t)},h.rename=function(e,t,r,n,o){const i={};for(const s of e.$_terms.renames){const a=[],c="string"!=typeof s.from;if(c)for(const e in t){if(void 0===t[e]&&s.options.ignoreUndefined)continue;if(e===s.to)continue;const r=s.from.exec(e);r&&a.push({from:e,to:s.to,match:r})}else!Object.prototype.hasOwnProperty.call(t,s.from)||void 0===t[s.from]&&s.options.ignoreUndefined||a.push(s);for(const u of a){const a=u.from;let l=u.to;if(l instanceof d&&(l=l.render(t,r,n,u.match)),a!==l){if(!s.options.multiple&&i[l]&&(o.push(e.$_createError("object.rename.multiple",t,{from:a,to:l,pattern:c},r,n)),n.abortEarly))return!1;if(Object.prototype.hasOwnProperty.call(t,l)&&!s.options.override&&!i[l]&&(o.push(e.$_createError("object.rename.override",t,{from:a,to:l,pattern:c},r,n)),n.abortEarly))return!1;void 0===t[a]?delete t[l]:t[l]=t[a],i[l]=!0,s.options.alias||delete t[a]}}}return!0},h.unknown=function(e,t,r,n,o,i){if(e.$_terms.patterns){let s=!1;const a=e.$_terms.patterns.map(e=>{if(e.matches)return s=!0,[]}),c=[t,...o.ancestors];for(const s of r){const u=t[s],l=[...o.path,s];for(let f=0;f256)return o.code("DOMAIN_TOO_LONG");if(i.nonAsciiRx.test(e)){if(!1===t.allowUnicode)return o.code("DOMAIN_INVALID_UNICODE_CHARS");e=e.normalize("NFC")}if(i.domainControlRx.test(e))return o.code("DOMAIN_INVALID_CHARS");e=i.punycode(e);const r=t.minDomainSegments||i.minDomainSegments,n=e.split(".");if(n.lengtht.maxDomainSegments)return o.code("DOMAIN_SEGMENTS_COUNT_MAX");const s=t.tlds;if(s){const e=n[n.length-1].toLowerCase();if(s.deny&&s.deny.has(e)||s.allow&&!s.allow.has(e))return o.code("DOMAIN_FORBIDDEN_TLDS")}for(let e=0;e63)return o.code("DOMAIN_LONG_SEGMENT");if(e=1,"scheme must have at least 1 scheme specified");const i=[];for(let e=0;e=256)return"&#"+e+";";const r=e.toString(16).padStart(2,"0");return"&#x".concat(r,";")},n.isSafe=function(e){return void 0!==n.safeCharCodes[e]},n.namedHtml={38:"&",60:"<",62:">",34:""",160:" ",162:"¢",163:"£",164:"¤",169:"©",174:"®"},n.safeCharCodes=function(){const e={};for(let t=32;t<123;++t)(t>=97||t>=65&&t<=90||t>=48&&t<=57||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()},function(e,t,r){"use strict";const n={operators:["!","^","*","/","%","+","-","<","<=",">",">=","==","!=","&&","||","??"],operatorCharacters:["!","^","*","/","%","+","-","<","=",">","&","|","?"],operatorsOrder:[["^"],["*","/","%"],["+","-"],["<","<=",">",">="],["==","!="],["&&"],["||","??"]],operatorsPrefix:["!","n"],literals:{'"':'"',"`":"`","'":"'","[":"]"},numberRx:/^(?:[0-9]*\.?[0-9]*){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol("formula"),settings:Symbol("settings")};t.Parser=class{constructor(e,t={}){if(!t[n.settings]&&t.constants)for(const e in t.constants){const r=t.constants[e];if(null!==r&&!["boolean","number","string"].includes(typeof r))throw new Error("Formula constant ".concat(e," contains invalid ").concat(typeof r," value type"))}this.settings=t[n.settings]?t:Object.assign({[n.settings]:!0,constants:{},functions:{}},t),this.single=null,this._parts=null,this._parse(e)}_parse(e){let r=[],o="",i=0,s=!1;const a=e=>{if(i)throw new Error("Formula missing closing parenthesis");const a=r.length?r[r.length-1]:null;if(s||o||e){if(a&&"reference"===a.type&&")"===e)return a.type="function",a.value=this._subFormula(o,a.value),void(o="");if(")"===e){const e=new t.Parser(o,this.settings);r.push({type:"segment",value:e})}else if(s){if("]"===s)return r.push({type:"reference",value:o}),void(o="");r.push({type:"literal",value:o})}else if(n.operatorCharacters.includes(o))a&&"operator"===a.type&&n.operators.includes(a.value+o)?a.value+=o:r.push({type:"operator",value:o});else if(o.match(n.numberRx))r.push({type:"constant",value:parseFloat(o)});else if(void 0!==this.settings.constants[o])r.push({type:"constant",value:this.settings.constants[o]});else{if(!o.match(n.tokenRx))throw new Error("Formula contains invalid token: ".concat(o));r.push({type:"reference",value:o})}o=""}};for(const t of e)s?t===s?(a(),s=!1):o+=t:i?"("===t?(o+=t,++i):")"===t?(--i,i?o+=t:a(t)):o+=t:t in n.literals?s=n.literals[t]:"("===t?(a(),++i):n.operatorCharacters.includes(t)?(a(),o=t,a()):" "!==t?o+=t:a();a(),r=r.map((e,t)=>"operator"!==e.type||"-"!==e.value||t&&"operator"!==r[t-1].type?e:{type:"operator",value:"n"});let c=!1;for(const e of r){if("operator"===e.type){if(n.operatorsPrefix.includes(e.value))continue;if(!c)throw new Error("Formula contains an operator in invalid position");if(!n.operators.includes(e.value))throw new Error("Formula contains an unknown operator ".concat(e.value))}else if(c)throw new Error("Formula missing expected operator");c=!c}if(!c)throw new Error("Formula contains invalid trailing operator");1===r.length&&["reference","literal","constant"].includes(r[0].type)&&(this.single={type:"reference"===r[0].type?"reference":"value",value:r[0].value}),this._parts=r.map(e=>{if("operator"===e.type)return n.operatorsPrefix.includes(e.value)?e:e.value;if("reference"!==e.type)return e.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(e.value))throw new Error("Formula contains invalid reference ".concat(e.value));return this.settings.reference?this.settings.reference(e.value):n.reference(e.value)})}_subFormula(e,r){const o=this.settings.functions[r];if("function"!=typeof o)throw new Error("Formula contains unknown function ".concat(r));let i=[];if(e){let t="",o=0,s=!1;const a=()=>{if(!t)throw new Error("Formula contains function ".concat(r," with invalid arguments ").concat(e));i.push(t),t=""};for(let r=0;rnew t.Parser(e,this.settings)),function(e){const t=[];for(const r of i)t.push(r.evaluate(e));return o.call(e,...t)}}evaluate(e){const t=this._parts.slice();for(let r=t.length-2;r>=0;--r){const o=t[r];if(o&&"operator"===o.type){const i=t[r+1];t.splice(r+1,1);const s=n.evaluate(i,e);t[r]=n.single(o.value,s)}}return n.operatorsOrder.forEach(r=>{for(let o=1;o":return t>r;case">=":return t>=r;case"==":return t===r;case"!=":return t!==r;case"&&":return t&&r;case"||":return t||r}return null},n.exists=function(e){return null!=e}},function(e,t){},function(e,t,r){"use strict";const n=r(0),o=r(3),i=r(1),s=r(8),a=r(4),c=r(5),u={};e.exports=o.extend({type:"alternatives",flags:{match:{default:"any"}},terms:{matches:{init:[],register:c.toSibling}},args:(e,...t)=>1===t.length&&Array.isArray(t[0])?e.try(...t[0]):e.try(...t),validate(e,t){const{schema:r,error:n,state:o,prefs:i}=t;if(r._flags.match){let t,s=0;for(let n=0;n"is"!==r.path[0]?t.label(e):void 0,ref:!1})}},rebuild(e){e.$_modify({each:t=>{i.isSchema(t)&&"array"===t.type&&e.$_setFlag("_arrayItems",!0,{clone:!1})}})},manifest:{build(e,t){if(t.matches)for(const r of t.matches){const{schema:t,ref:n,is:o,not:i,then:s,otherwise:a}=r;e=t?e.try(t):n?e.conditional(n,{is:o,then:s,not:i,otherwise:a,switch:r.switch}):e.conditional(o,{then:s,otherwise:a})}return e}},messages:{"alternatives.all":"{{#label}} does not match all of the required types","alternatives.any":"{{#label}} does not match any of the allowed types","alternatives.match":"{{#label}} does not match any of the allowed types","alternatives.one":"{{#label}} matches more than one allowed type","alternatives.types":"{{#label}} must be one of {{#types}}"}}),u.errors=function(e,{error:t,state:r}){if(!e.length)return{errors:t("alternatives.any")};if(1===e.length)return{errors:e[0].reports};const n=new Set,o=[];for(const{reports:i,schema:s}of e){if(i.length>1)return u.unmatched(e,t);const c=i[0];if(c instanceof a.Report==0)return u.unmatched(e,t);if(c.state.path.length!==r.path.length){o.push({type:s.type,report:c});continue}if("any.only"===c.code){for(const e of c.local.valids)n.add(e);continue}const[l,f]=c.code.split(".");"base"===f?n.add(l):o.push({type:s.type,report:c})}return o.length?1===o.length?{errors:o[0].report}:u.unmatched(e,t):{errors:t("alternatives.types",{types:[...n]})}},u.unmatched=function(e,t){const r=[];for(const t of e)r.push(...t.reports);return{errors:t("alternatives.match",a.details(r,{override:!1}))}}},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(10),s=r(20),a=r(15),c=r(1),u=r(8),l=r(4),f=r(17),d=r(18),h=r(9),p=r(35),g=r(5),m=r(19),y=r(36),b=r(21),v={Base:class{constructor(e){this.type=e,this.$_root=null,this._definition={},this._reset()}_reset(){this._ids=new p.Ids,this._preferences=null,this._refs=new g.Manager,this._cache=null,this._valids=null,this._invalids=null,this._flags={},this._rules=[],this._singleRules=new Map,this.$_terms={},this.$_temp={ruleset:null,whens:{}}}describe(){return n("function"==typeof d.describe,"Manifest functionality disabled"),d.describe(this)}allow(...e){return c.verifyFlat(e,"allow"),this._values(e,"_valids")}alter(e){n(e&&"object"==typeof e&&!Array.isArray(e),"Invalid targets argument"),n(!this._inRuleset(),"Cannot set alterations inside a ruleset");const t=this.clone();t.$_terms.alterations=t.$_terms.alterations||[];for(const r in e){const o=e[r];n("function"==typeof o,"Alteration adjuster for",r,"must be a function"),t.$_terms.alterations.push({target:r,adjuster:o})}return t.$_temp.ruleset=!1,t}artifact(e){return n(void 0!==e,"Artifact cannot be undefined"),n(!this._cache,"Cannot set an artifact with a rule cache"),this.$_setFlag("artifact",e)}cast(e){return n(!1===e||"string"==typeof e,"Invalid to value"),n(!1===e||this._definition.cast[e],"Type",this.type,"does not support casting to",e),this.$_setFlag("cast",!1===e?void 0:e)}default(e,t){return this._default("default",e,t)}description(e){return n(e&&"string"==typeof e,"Description must be a non-empty string"),this.$_setFlag("description",e)}empty(e){const t=this.clone();return void 0!==e&&(e=t.$_compile(e,{override:!1})),t.$_setFlag("empty",e,{clone:!1})}error(e){return n(e,"Missing error"),n(e instanceof Error||"function"==typeof e,"Must provide a valid Error object or a function"),this.$_setFlag("error",e)}example(e,t={}){return n(void 0!==e,"Missing example"),c.assertOptions(t,["override"]),this._inner("examples",e,{single:!0,override:t.override})}external(e,t){return"object"==typeof e&&(n(!t,"Cannot combine options with description"),t=e.description,e=e.method),n("function"==typeof e,"Method must be a function"),n(void 0===t||t&&"string"==typeof t,"Description must be a non-empty string"),this._inner("externals",{method:e,description:t},{single:!0})}failover(e,t){return this._default("failover",e,t)}forbidden(){return this.presence("forbidden")}id(e){return e?(n("string"==typeof e,"id must be a non-empty string"),n(/^[^\.]+$/.test(e),"id cannot contain period character"),this.$_setFlag("id",e)):this.$_setFlag("id",void 0)}invalid(...e){return this._values(e,"_invalids")}label(e){return n(e&&"string"==typeof e,"Label name must be a non-empty string"),this.$_setFlag("label",e)}meta(e){return n(void 0!==e,"Meta cannot be undefined"),this._inner("metas",e,{single:!0})}note(...e){n(e.length,"Missing notes");for(const t of e)n(t&&"string"==typeof t,"Notes must be non-empty strings");return this._inner("notes",e)}only(e=!0){return n("boolean"==typeof e,"Invalid mode:",e),this.$_setFlag("only",e)}optional(){return this.presence("optional")}prefs(e){n(e,"Missing preferences"),n(void 0===e.context,"Cannot override context"),n(void 0===e.externals,"Cannot override externals"),n(void 0===e.warnings,"Cannot override warnings"),n(void 0===e.debug,"Cannot override debug"),c.checkPreferences(e);const t=this.clone();return t._preferences=c.preferences(t._preferences,e),t}presence(e){return n(["optional","required","forbidden"].includes(e),"Unknown presence mode",e),this.$_setFlag("presence",e)}raw(e=!0){return this.$_setFlag("result",e?"raw":void 0)}result(e){return n(["raw","strip"].includes(e),"Unknown result mode",e),this.$_setFlag("result",e)}required(){return this.presence("required")}strict(e){const t=this.clone(),r=void 0!==e&&!e;return t._preferences=c.preferences(t._preferences,{convert:r}),t}strip(e=!0){return this.$_setFlag("result",e?"strip":void 0)}tag(...e){n(e.length,"Missing tags");for(const t of e)n(t&&"string"==typeof t,"Tags must be non-empty strings");return this._inner("tags",e)}unit(e){return n(e&&"string"==typeof e,"Unit name must be a non-empty string"),this.$_setFlag("unit",e)}valid(...e){c.verifyFlat(e,"valid");const t=this.allow(...e);return t.$_setFlag("only",!!t._valids,{clone:!1}),t}when(e,t){const r=this.clone();r.$_terms.whens||(r.$_terms.whens=[]);const o=u.when(r,e,t);if(!["any","link"].includes(r.type)){const e=o.is?[o]:o.switch;for(const t of e)n(!t.then||"any"===t.then.type||t.then.type===r.type,"Cannot combine",r.type,"with",t.then&&t.then.type),n(!t.otherwise||"any"===t.otherwise.type||t.otherwise.type===r.type,"Cannot combine",r.type,"with",t.otherwise&&t.otherwise.type)}return r.$_terms.whens.push(o),r.$_mutateRebuild()}cache(e){n(!this._inRuleset(),"Cannot set caching inside a ruleset"),n(!this._cache,"Cannot override schema cache"),n(void 0===this._flags.artifact,"Cannot cache a rule with an artifact");const t=this.clone();return t._cache=e||a.provider.provision(),t.$_temp.ruleset=!1,t}clone(){const e=Object.create(Object.getPrototypeOf(this));return this._assign(e)}concat(e){n(c.isSchema(e),"Invalid schema object"),n("any"===this.type||"any"===e.type||e.type===this.type,"Cannot merge type",this.type,"with another type:",e.type),n(!this._inRuleset(),"Cannot concatenate onto a schema with open ruleset"),n(!e._inRuleset(),"Cannot concatenate a schema with open ruleset");let t=this.clone();if("any"===this.type&&"any"!==e.type){const r=e.clone();for(const e of Object.keys(t))"type"!==e&&(r[e]=t[e]);t=r}t._ids.concat(e._ids),t._refs.register(e,g.toSibling),t._preferences=t._preferences?c.preferences(t._preferences,e._preferences):e._preferences,t._valids=b.merge(t._valids,e._valids,e._invalids),t._invalids=b.merge(t._invalids,e._invalids,e._valids);for(const r of e._singleRules.keys())t._singleRules.has(r)&&(t._rules=t._rules.filter(e=>e.keep||e.name!==r),t._singleRules.delete(r));for(const r of e._rules)e._definition.rules[r.method].multi||t._singleRules.set(r.name,r),t._rules.push(r);if(t._flags.empty&&e._flags.empty){t._flags.empty=t._flags.empty.concat(e._flags.empty);const r=Object.assign({},e._flags);delete r.empty,s(t._flags,r)}else if(e._flags.empty){t._flags.empty=e._flags.empty;const r=Object.assign({},e._flags);delete r.empty,s(t._flags,r)}else s(t._flags,e._flags);for(const r in e.$_terms){const n=e.$_terms[r];n?t.$_terms[r]?t.$_terms[r]=t.$_terms[r].concat(n):t.$_terms[r]=n.slice():t.$_terms[r]||(t.$_terms[r]=n)}return this.$_root._tracer&&this.$_root._tracer._combine(t,[this,e]),t.$_mutateRebuild()}extend(e){return n(!e.base,"Cannot extend type with another base"),f.type(this,e)}extract(e){return e=Array.isArray(e)?e:e.split("."),this._ids.reach(e)}fork(e,t){n(!this._inRuleset(),"Cannot fork inside a ruleset");let r=this;for(let n of[].concat(e))n=Array.isArray(n)?n:n.split("."),r=r._ids.fork(n,t,r);return r.$_temp.ruleset=!1,r}rule(e){const t=this._definition;c.assertOptions(e,Object.keys(t.modifiers)),n(!1!==this.$_temp.ruleset,"Cannot apply rules to empty ruleset or the last rule added does not support rule properties");const r=null===this.$_temp.ruleset?this._rules.length-1:this.$_temp.ruleset;n(r>=0&&rt.tailor(e),ref:!1}),t.$_temp.ruleset=!1,t.$_mutateRebuild()}tracer(){return m.location?m.location(this):this}validate(e,t){return y.entry(e,this,t)}validateAsync(e,t){return y.entryAsync(e,this,t)}$_addRule(e){"string"==typeof e&&(e={name:e}),n(e&&"object"==typeof e,"Invalid options"),n(e.name&&"string"==typeof e.name,"Invalid rule name");for(const t in e)n("_"!==t[0],"Cannot set private rule properties");const t=Object.assign({},e);t._resolve=[],t.method=t.method||t.name;const r=this._definition.rules[t.method],o=t.args;n(r,"Unknown rule",t.method);const i=this.clone();if(o){n(1===Object.keys(o).length||Object.keys(o).length===this._definition.rules[t.name].args.length,"Invalid rule definition for",this.type,t.name);for(const e in o){let s=o[e];if(void 0!==s){if(r.argsByName){const a=r.argsByName.get(e);if(a.ref&&c.isResolvable(s))t._resolve.push(e),i.$_mutateRegister(s);else if(a.normalize&&(s=a.normalize(s),o[e]=s),a.assert){const t=c.validateArg(s,e,a);n(!t,t,"or reference")}}o[e]=s}else delete o[e]}}return r.multi||(i._ruleRemove(t.name,{clone:!1}),i._singleRules.set(t.name,t)),!1===i.$_temp.ruleset&&(i.$_temp.ruleset=null),r.priority?i._rules.unshift(t):i._rules.push(t),i}$_compile(e,t){return u.schema(this.$_root,e,t)}$_createError(e,t,r,n,o,i={}){const s=!1!==i.flags?this._flags:{},a=i.messages?h.merge(this._definition.messages,i.messages):this._definition.messages;return new l.Report(e,t,r,s,a,n,o)}$_getFlag(e){return this._flags[e]}$_getRule(e){return this._singleRules.get(e)}$_mapLabels(e){return e=Array.isArray(e)?e:e.split("."),this._ids.labels(e)}$_match(e,t,r,n){(r=Object.assign({},r)).abortEarly=!0,r._externals=!1,t.snapshot();const o=!y.validate(e,this,t,r,n).errors;return t.restore(),o}$_modify(e){return c.assertOptions(e,["each","once","ref","schema"]),p.schema(this,e)||this}$_mutateRebuild(){return n(!this._inRuleset(),"Cannot add this rule inside a ruleset"),this._refs.reset(),this._ids.reset(),this.$_modify({each:(e,{source:t,name:r,path:n,key:o})=>{const i=this._definition[t][r]&&this._definition[t][r].register;!1!==i&&this.$_mutateRegister(e,{family:i,key:o})}}),this._definition.rebuild&&this._definition.rebuild(this),this.$_temp.ruleset=!1,this}$_mutateRegister(e,{family:t,key:r}={}){this._refs.register(e,t),this._ids.register(e,{key:r})}$_property(e){return this._definition.properties[e]}$_reach(e){return this._ids.reach(e)}$_rootReferences(){return this._refs.roots()}$_setFlag(e,t,r={}){n("_"===e[0]||!this._inRuleset(),"Cannot set flag inside a ruleset");const o=this._definition.flags[e]||{};if(i(t,o.default)&&(t=void 0),i(t,this._flags[e]))return this;const s=!1!==r.clone?this.clone():this;return void 0!==t?(s._flags[e]=t,s.$_mutateRegister(t)):delete s._flags[e],"_"!==e[0]&&(s.$_temp.ruleset=!1),s}$_parent(e,...t){return this[e][c.symbols.parent].call(this,...t)}$_validate(e,t,r){return y.validate(e,this,t,r)}_assign(e){e.type=this.type,e.$_root=this.$_root,e.$_temp=Object.assign({},this.$_temp),e.$_temp.whens={},e._ids=this._ids.clone(),e._preferences=this._preferences,e._valids=this._valids&&this._valids.clone(),e._invalids=this._invalids&&this._invalids.clone(),e._rules=this._rules.slice(),e._singleRules=o(this._singleRules,{shallow:!0}),e._refs=this._refs.clone(),e._flags=Object.assign({},this._flags),e._cache=null,e.$_terms={};for(const t in this.$_terms)e.$_terms[t]=this.$_terms[t]?this.$_terms[t].slice():null;e.$_super={};for(const t in this.$_super)e.$_super[t]=this._super[t].bind(e);return e}_bare(){const e=this.clone();e._reset();const t=e._definition.terms;for(const r in t){const n=t[r];e.$_terms[r]=n.init}return e.$_mutateRebuild()}_default(e,t,r={}){return c.assertOptions(r,"literal"),n(void 0!==t,"Missing",e,"value"),n("function"==typeof t||!r.literal,"Only function value supports literal option"),"function"==typeof t&&r.literal&&(t={[c.symbols.literal]:!0,literal:t}),this.$_setFlag(e,t)}_generate(e,t,r){if(!this.$_terms.whens)return{schema:this};const n=[],o=[];for(let i=0;iu)break}const i=o.join(", ");if(t.mainstay.tracer.debug(t,"rule","when",i),!i)return{schema:this};if(!t.mainstay.tracer.active&&this.$_temp.whens[i])return{schema:this.$_temp.whens[i],id:i};let s=this;this._definition.generate&&(s=this._definition.generate(this,e,t,r));for(const e of n)s=s.concat(e);return this.$_root._tracer&&this.$_root._tracer._combine(s,[this,...n]),this.$_temp.whens[i]=s,{schema:s,id:i}}_inner(e,t,r={}){n(!this._inRuleset(),"Cannot set ".concat(e," inside a ruleset"));const o=this.clone();return o.$_terms[e]&&!r.override||(o.$_terms[e]=[]),r.single?o.$_terms[e].push(t):o.$_terms[e].push(...t),o.$_temp.ruleset=!1,o}_inRuleset(){return null!==this.$_temp.ruleset&&!1!==this.$_temp.ruleset}_ruleRemove(e,t={}){if(!this._singleRules.has(e))return this;const r=!1!==t.clone?this.clone():this;r._singleRules.delete(e);const n=[];for(let t=0;t{if(r===(e._flags.id||t))return n},ref:!1});return o?o.$_mutateRebuild():e},t.schema=function(e,t){let r;for(const n in e._flags){if("_"===n[0])continue;const o=u.scan(e._flags[n],{source:"flags",name:n},t);void 0!==o&&(r=r||e.clone(),r._flags[n]=o)}for(let n=0;nt.$_createError(o,e,i,s||r,n),s={original:e,prefs:n,schema:t,state:r,error:i,errorsArray:l.errorsArray,warn:(e,t,n)=>r.mainstay.warnings.push(i(e,t,n)),message:(o,i)=>t.$_createError("custom",e,i,r,n,{messages:o})};r.mainstay.tracer.entry(t,r);const c=t._definition;if(c.prepare&&void 0!==e&&n.convert){const t=c.prepare(e,s);if(t){if(r.mainstay.tracer.value(r,"prepare",e,t.value),t.errors)return l.finalize(t.value,[].concat(t.errors),s);e=t.value}}if(c.coerce&&void 0!==e&&n.convert&&(!c.coerce.from||c.coerce.from.includes(typeof e))){const t=c.coerce.method(e,s);if(t){if(r.mainstay.tracer.value(r,"coerced",e,t.value),t.errors)return l.finalize(t.value,[].concat(t.errors),s);e=t.value}}const u=t._flags.empty;u&&u.$_match(l.trim(e,t),r.nest(u),a.defaults)&&(r.mainstay.tracer.value(r,"empty",e,void 0),e=void 0);const f=o.presence||t._flags.presence||(t._flags._endedSwitch?null:n.presence);if(void 0===e){if("forbidden"===f)return l.finalize(e,null,s);if("required"===f)return l.finalize(e,[t.$_createError("any.required",e,null,r,n)],s);if("optional"===f){if(t._flags.default!==a.symbols.deepDefault)return l.finalize(e,null,s);r.mainstay.tracer.value(r,"default",e,{}),e={}}}else if("forbidden"===f)return l.finalize(e,[t.$_createError("any.unknown",e,null,r,n)],s);const d=[];if(t._valids){const o=t._valids.get(e,r,n,t._flags.insensitive);if(o)return n.convert&&(r.mainstay.tracer.value(r,"valids",e,o.value),e=o.value),r.mainstay.tracer.filter(t,r,"valid",o),l.finalize(e,null,s);if(t._flags.only){const o=t.$_createError("any.only",e,{valids:t._valids.values({display:!0})},r,n);if(n.abortEarly)return l.finalize(e,[o],s);d.push(o)}}if(t._invalids){const o=t._invalids.get(e,r,n,t._flags.insensitive);if(o){r.mainstay.tracer.filter(t,r,"invalid",o);const i=t.$_createError("any.invalid",e,{invalids:t._invalids.values({display:!0})},r,n);if(n.abortEarly)return l.finalize(e,[i],s);d.push(i)}}if(c.validate){const t=c.validate(e,s);if(t&&(r.mainstay.tracer.value(r,"base",e,t.value),e=t.value,t.errors)){if(!Array.isArray(t.errors))return d.push(t.errors),l.finalize(e,d,s);if(t.errors.length)return d.push(...t.errors),l.finalize(e,d,s)}}return t._rules.length?l.rules(e,d,s):l.finalize(e,d,s)},l.rules=function(e,t,r){const{schema:n,state:o,prefs:i}=r;for(const s of n._rules){const c=n._definition.rules[s.method];if(c.convert&&i.convert){o.mainstay.tracer.log(n,o,"rule",s.name,"full");continue}let u,f=s.args;if(s._resolve.length){f=Object.assign({},f);for(const t of s._resolve){const r=c.argsByName.get(t),s=f[t].resolve(e,o,i),l=r.normalize?r.normalize(s):s,d=a.validateArg(l,null,r);if(d){u=n.$_createError("any.ref",s,{arg:t,ref:f[t],reason:d},o,i);break}f[t]=l}}u=u||c.validate(e,r,f,s);const d=l.rule(u,s);if(d.errors){if(o.mainstay.tracer.log(n,o,"rule",s.name,"error"),s.warn){o.mainstay.warnings.push(...d.errors);continue}if(i.abortEarly)return l.finalize(e,d.errors,r);t.push(...d.errors)}else o.mainstay.tracer.log(n,o,"rule",s.name,"pass"),o.mainstay.tracer.value(o,"rule",e,d.value,s.name),e=d.value}return l.finalize(e,t,r)},l.rule=function(e,t){return e instanceof c.Report?(l.error(e,t),{errors:[e],value:null}):Array.isArray(e)&&e[a.symbols.errors]?(e.forEach(e=>l.error(e,t)),{errors:e,value:null}):{errors:null,value:e}},l.error=function(e,t){return t.message&&e._setTemplate(t.message),e},l.finalize=function(e,t,r){t=t||[];const{schema:o,state:i,prefs:s}=r;if(t.length){const n=l.default("failover",void 0,t,r);void 0!==n&&(i.mainstay.tracer.value(i,"failover",e,n),e=n,t=[])}if(t.length&&o._flags.error)if("function"==typeof o._flags.error){t=o._flags.error(t),Array.isArray(t)||(t=[t]);for(const e of t)n(e instanceof Error||e instanceof c.Report,"error() must return an Error object")}else t=[o._flags.error];if(void 0===e){const n=l.default("default",e,t,r);i.mainstay.tracer.value(i,"default",e,n),e=n}if(o._flags.cast&&void 0!==e){const t=o._definition.cast[o._flags.cast];if(t.from(e)){const n=t.to(e,r);i.mainstay.tracer.value(i,"cast",e,n,o._flags.cast),e=n}}if(o.$_terms.externals&&s.externals&&!1!==s._externals)for(const{method:e}of o.$_terms.externals)i.mainstay.externals.push({method:e,path:i.path,label:c.label(o._flags,i,s)});const a={value:e,errors:t.length?t:null};return o._flags.result&&(a.value="strip"===o._flags.result?void 0:r.original,i.mainstay.tracer.value(i,o._flags.result,e,a.value),i.shadow(e,o._flags.result)),o._cache&&!1!==s.cache&&!o._refs.length&&o._cache.set(r.original,a),void 0===e||a.errors||void 0===o._flags.artifact||(i.mainstay.artifacts=i.mainstay.artifacts||new Map,i.mainstay.artifacts.has(o._flags.artifact)||i.mainstay.artifacts.set(o._flags.artifact,[]),i.mainstay.artifacts.get(o._flags.artifact).push(i.path)),a},l.prefs=function(e,t){const r=t===a.defaults;return r&&e._preferences[a.symbols.prefs]?e._preferences[a.symbols.prefs]:(t=a.preferences(t,e._preferences),r&&(e._preferences[a.symbols.prefs]=t),t)},l.default=function(e,t,r,n){const{schema:i,state:s,prefs:c}=n,u=i._flags[e];if(c.noDefaults||void 0===u)return t;if(s.mainstay.tracer.log(i,s,"rule",e,"full"),!u)return u;if("function"==typeof u){const a=u.length?[o(s.ancestors[0]),n]:[];try{return u(...a)}catch(t){return void r.push(i.$_createError("any.".concat(e),null,{error:t},s,c))}}return"object"!=typeof u?u:u[a.symbols.literal]?u.literal:a.isResolvable(u)?u.resolve(t,s,c):o(u)},l.trim=function(e,t){if("string"!=typeof e)return e;const r=t.$_getRule("trim");return r&&r.args.enabled?e.trim():e},l.ignore={active:!1,debug:i,entry:i,filter:i,log:i,resolve:i,value:i},l.errorsArray=function(){const e=[];return e[a.symbols.errors]=!0,e}},function(e,t,r){"use strict";e.exports=function(){}},function(e,t,r){"use strict";const n=r(2),o=r(6),i=r(1),s={value:Symbol("value")};e.exports=s.State=class{constructor(e,t,r){this.path=e,this.ancestors=t,this.mainstay=r.mainstay,this.schemas=r.schemas,this.debug=null}localize(e,t=null,r=null){const n=new s.State(e,t,this);return r&&n.schemas&&(n.schemas=[s.schemas(r),...n.schemas]),n}nest(e,t){const r=new s.State(this.path,this.ancestors,this);return r.schemas=r.schemas&&[s.schemas(e),...r.schemas],r.debug=t,r}shadow(e,t){this.mainstay.shadow=this.mainstay.shadow||new s.Shadow,this.mainstay.shadow.set(this.path,e,t)}snapshot(){this.mainstay.shadow&&(this._snapshot=n(this.mainstay.shadow.node(this.path)))}restore(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0)}},s.schemas=function(e){return i.isSchema(e)?{schema:e}:e},s.Shadow=class{constructor(){this._values=null}set(e,t,r){if(!e.length)return;if("strip"===r&&"number"==typeof e[e.length-1])return;this._values=this._values||new Map;let n=this._values;for(let t=0;tthis.$_compile(e[r]),r,{append:!0});t.$_terms.items.push(n)}return t.$_mutateRebuild()},validate(e,{schema:t,error:r,state:n,prefs:o,errorsArray:i}){const s=t.$_terms._requireds.slice(),c=t.$_terms.ordered.slice(),l=[...t.$_terms._inclusions,...s],f=!e[a.symbols.arraySingle];delete e[a.symbols.arraySingle];const d=i();let h=e.length;for(let i=0;i="})}},ordered:{method(...e){a.verifyFlat(e,"ordered");const t=this.$_addRule("items");for(let r=0;rthis.$_compile(e[r]),r,{append:!0});u.validateSingle(n,t),t.$_mutateRegister(n),t.$_terms.ordered.push(n)}return t.$_mutateRebuild()}},single:{method(e){const t=void 0===e||!!e;return n(!t||!this._flags._arrayItems,"Cannot specify single rule when array has array items"),this.$_setFlag("single",t)}},sort:{method(e={}){a.assertOptions(e,["by","order"]);const t={order:e.order||"ascending"};return e.by&&(t.by=c.ref(e.by,{ancestor:0}),n(!t.by.ancestor,"Cannot sort by ancestor")),this.$_addRule({name:"sort",args:{options:t}})},validate(e,{error:t,state:r,prefs:n,schema:o},{options:i}){const{value:s,errors:a}=u.sort(o,e,i,r,n);if(a)return a;for(let r=0;rnew Set(e)}},rebuild(e){e.$_terms._inclusions=[],e.$_terms._exclusions=[],e.$_terms._requireds=[];for(const t of e.$_terms.items)u.validateSingle(t,e),"required"===t._flags.presence?e.$_terms._requireds.push(t):"forbidden"===t._flags.presence?e.$_terms._exclusions.push(t):e.$_terms._inclusions.push(t);for(const t of e.$_terms.ordered)u.validateSingle(t,e)},manifest:{build:(e,t)=>(t.items&&(e=e.items(...t.items)),t.ordered&&(e=e.ordered(...t.ordered)),e)},messages:{"array.base":"{{#label}} must be an array","array.excludes":"{{#label}} contains an excluded value","array.hasKnown":"{{#label}} does not contain at least one required match for type {:#patternLabel}","array.hasUnknown":"{{#label}} does not contain at least one required match","array.includes":"{{#label}} does not match any of the allowed types","array.includesRequiredBoth":"{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)","array.includesRequiredKnowns":"{{#label}} does not contain {{#knownMisses}}","array.includesRequiredUnknowns":"{{#label}} does not contain {{#unknownMisses}} required value(s)","array.length":"{{#label}} must contain {{#limit}} items","array.max":"{{#label}} must contain less than or equal to {{#limit}} items","array.min":"{{#label}} must contain at least {{#limit}} items","array.orderedLength":"{{#label}} must contain at most {{#limit}} items","array.sort":"{{#label}} must be sorted in {#order} order by {{#by}}","array.sort.mismatching":"{{#label}} cannot be sorted due to mismatching types","array.sort.unsupported":"{{#label}} cannot be sorted due to unsupported type {#type}","array.sparse":"{{#label}} must not be a sparse array item","array.unique":"{{#label}} contains a duplicate value"}}),u.fillMissedErrors=function(e,t,r,n,o,i){const s=[];let a=0;for(const e of r){const t=e._flags.label;t?s.push(t):++a}s.length?a?t.push(e.$_createError("array.includesRequiredBoth",n,{knownMisses:s,unknownMisses:a},o,i)):t.push(e.$_createError("array.includesRequiredKnowns",n,{knownMisses:s},o,i)):t.push(e.$_createError("array.includesRequiredUnknowns",n,{unknownMisses:a},o,i))},u.fillOrderedErrors=function(e,t,r,n,o,i){const s=[];for(const e of r)"required"===e._flags.presence&&s.push(e);s.length&&u.fillMissedErrors(e,t,s,n,o,i)},u.fastSplice=function(e,t){let r=t;for(;r{let f=u.compare(c,l,s,a);if(null!==f)return f;if(r.by&&(c=r.by.resolve(c,n,o),l=r.by.resolve(l,n,o)),f=u.compare(c,l,s,a),null!==f)return f;const d=typeof c;if(d!==typeof l)throw e.$_createError("array.sort.mismatching",t,null,n,o);if("number"!==d&&"string"!==d)throw e.$_createError("array.sort.unsupported",t,{type:d},n,o);return"number"===d?(c-l)*i:ce?1:0},string:{from:a.isBool,to:(e,t)=>e?"true":"false"}},manifest:{build:(e,t)=>(t.truthy&&(e=e.truthy(...t.truthy)),t.falsy&&(e=e.falsy(...t.falsy)),e)},messages:{"boolean.base":"{{#label}} must be a boolean"}})},function(e,t,r){"use strict";const n=r(0),o=r(3),i=r(1),s=r(7),a={isDate:function(e){return e instanceof Date}};e.exports=o.extend({type:"date",coerce:{from:["number","string"],method:(e,{schema:t})=>({value:a.parse(e,t._flags.format)||e})},validate(e,{schema:t,error:r,prefs:n}){if(e instanceof Date&&!isNaN(e.getTime()))return;const o=t._flags.format;return n.convert&&o&&"string"==typeof e?{value:e,errors:r("date.format",{format:o})}:{value:e,errors:r("date.base")}},rules:{compare:{method:!1,validate(e,t,{date:r},{name:n,operator:o,args:s}){const a="now"===r?Date.now():r.getTime();return i.compare(e.getTime(),a,o)?e:t.error("date."+n,{limit:s.date,value:e})},args:[{name:"date",ref:!0,normalize:e=>"now"===e?e:a.parse(e),assert:e=>null!==e,message:"must have a valid date format"}]},format:{method(e){return n(["iso","javascript","unix"].includes(e),"Unknown date format",e),this.$_setFlag("format",e)}},greater:{method(e){return this.$_addRule({name:"greater",method:"compare",args:{date:e},operator:">"})}},iso:{method(){return this.format("iso")}},less:{method(e){return this.$_addRule({name:"less",method:"compare",args:{date:e},operator:"<"})}},max:{method(e){return this.$_addRule({name:"max",method:"compare",args:{date:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"compare",args:{date:e},operator:">="})}},timestamp:{method(e="javascript"){return n(["javascript","unix"].includes(e),'"type" must be one of "javascript, unix"'),this.format(e)}}},cast:{number:{from:a.isDate,to:(e,t)=>e.getTime()},string:{from:a.isDate,to:(e,{prefs:t})=>s.date(e,t)}},messages:{"date.base":"{{#label}} must be a valid date","date.format":'{{#label}} must be in {msg("date.format." + #format) || #format} format',"date.greater":"{{#label}} must be greater than {{:#limit}}","date.less":"{{#label}} must be less than {{:#limit}}","date.max":"{{#label}} must be less than or equal to {{:#limit}}","date.min":"{{#label}} must be greater than or equal to {{:#limit}}","date.format.iso":"ISO 8601 date","date.format.javascript":"timestamp or number of milliseconds","date.format.unix":"timestamp or number of seconds"}}),a.parse=function(e,t){if(e instanceof Date)return e;if("string"!=typeof e&&(isNaN(e)||!isFinite(e)))return null;if(/^\s*$/.test(e))return null;if("iso"===t)return i.isIsoDate(e)?a.date(e.toString()):null;const r=e;if("string"==typeof e&&/^[+-]?\d+(\.\d+)?$/.test(e)&&(e=parseFloat(e)),t){if("javascript"===t)return a.date(1*e);if("unix"===t)return a.date(1e3*e);if("string"==typeof r)return null}return a.date(e)},a.date=function(e){const t=new Date(e);return isNaN(t.getTime())?null:t}},function(e,t,r){"use strict";const n=r(0),o=r(22);e.exports=o.extend({type:"function",properties:{typeof:"function"},rules:{arity:{method(e){return n(Number.isSafeInteger(e)&&e>=0,"n must be a positive integer"),this.$_addRule({name:"arity",args:{n:e}})},validate:(e,t,{n:r})=>e.length===r?e:t.error("function.arity",{n:r})},class:{method(){return this.$_addRule("class")},validate:(e,t)=>/^\s*class\s/.test(e.toString())?e:t.error("function.class",{value:e})},minArity:{method(e){return n(Number.isSafeInteger(e)&&e>0,"n must be a strict positive integer"),this.$_addRule({name:"minArity",args:{n:e}})},validate:(e,t,{n:r})=>e.length>=r?e:t.error("function.minArity",{n:r})},maxArity:{method(e){return n(Number.isSafeInteger(e)&&e>=0,"n must be a positive integer"),this.$_addRule({name:"maxArity",args:{n:e}})},validate:(e,t,{n:r})=>e.length<=r?e:t.error("function.maxArity",{n:r})}},messages:{"function.arity":"{{#label}} must have an arity of {{#n}}","function.class":"{{#label}} must be a class","function.maxArity":"{{#label}} must have an arity lesser or equal to {{#n}}","function.minArity":"{{#label}} must have an arity greater or equal to {{#n}}"}})},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(20),s=r(6),a={};e.exports=function(e,t,r={}){if(n(e&&"object"==typeof e,"Invalid defaults value: must be an object"),n(!t||!0===t||"object"==typeof t,"Invalid source value: must be true, falsy or an object"),n("object"==typeof r,"Invalid options: must be an object"),!t)return null;if(r.shallow)return a.applyToDefaultsWithShallow(e,t,r);const s=o(e);if(!0===t)return s;const c=void 0!==r.nullOverride&&r.nullOverride;return i(s,t,{nullOverride:c,mergeArrays:!1})},a.applyToDefaultsWithShallow=function(e,t,r){const c=r.shallow;n(Array.isArray(c),"Invalid keys");const u=new Map,l=!0===t?null:new Set;for(let r of c){r=Array.isArray(r)?r:r.split(".");const n=s(e,r);n&&"object"==typeof n?u.set(n,l&&s(t,r)||n):l&&l.add(r)}const f=o(e,{},u);if(!l)return f;for(const e of l)a.reachCopy(f,t,e);return i(f,t,{mergeArrays:!1,nullOverride:!1})},a.reachCopy=function(e,t,r){for(const e of r){if(!(e in t))return;t=t[e]}const n=t;let o=e;for(let e=0;ee.sort===t.sort?0:e.sorte.ref(t),validate(e,{schema:t,state:r,prefs:o}){n(t.$_terms.link,"Uninitialized link schema");const i=c.generate(t,e,r,o),s=t.$_terms.link[0].ref;return i.$_validate(e,r.nest(i,"link:".concat(s.display,":").concat(i.type)),o)},generate:(e,t,r,n)=>c.generate(e,t,r,n),rules:{ref:{method(e){n(!this.$_terms.link,"Cannot reinitialize schema"),e=s.ref(e),n("value"===e.type||"local"===e.type,"Invalid reference type:",e.type),n("local"===e.type||"root"===e.ancestor||e.ancestor>0,"Link cannot reference itself");const t=this.clone();return t.$_terms.link=[{ref:e}],t}},relative:{method(e=!0){return this.$_setFlag("relative",e)}}},overrides:{concat(e){n(this.$_terms.link,"Uninitialized link schema"),n(i.isSchema(e),"Invalid schema object"),n("link"!==e.type,"Cannot merge type link with another link");const t=this.clone();return t.$_terms.whens||(t.$_terms.whens=[]),t.$_terms.whens.push({concat:e}),t.$_mutateRebuild()}},manifest:{build:(e,t)=>(n(t.link,"Invalid link description missing link"),e.ref(t.link))}}),c.generate=function(e,t,r,n){let o=r.mainstay.links.get(e);if(o)return o._generate(t,r,n).schema;const i=e.$_terms.link[0].ref,{perspective:s,path:a}=c.perspective(i,r);c.assert(s,"which is outside of schema boundaries",i,e,r,n);try{o=a.length?s.$_reach(a):s}catch(t){c.assert(!1,"to non-existing schema",i,e,r,n)}return c.assert("link"!==o.type,"which is another link",i,e,r,n),e._flags.relative||r.mainstay.links.set(e,o),o._generate(t,r,n).schema},c.perspective=function(e,t){if("local"===e.type){for(const{schema:r,key:n}of t.schemas){if((r._flags.id||n)===e.path[0])return{perspective:r,path:e.path.slice(1)};if(r.$_terms.shared)for(const t of r.$_terms.shared)if(t._flags.id===e.path[0])return{perspective:t,path:e.path.slice(1)}}return{perspective:null,path:null}}return"root"===e.ancestor?{perspective:t.schemas[t.schemas.length-1].schema,path:e.path}:{perspective:t.schemas[e.ancestor]&&t.schemas[e.ancestor].schema,path:e.path}},c.assert=function(e,t,r,o,i,s){e||n(!1,'"'.concat(a.label(o._flags,i,s),'" contains link reference "').concat(r.display,'" ').concat(t))}},function(e,t,r){"use strict";const n=r(0),o=r(3),i=r(1),s={numberRx:/^\s*[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:e([+-]?\d+))?\s*$/i,precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/};e.exports=o.extend({type:"number",flags:{unsafe:{default:!1}},coerce:{from:"string",method(e,{schema:t,error:r}){const n=e.match(s.numberRx);if(!n)return;e=e.trim();const o={value:parseFloat(e)};if(0===o.value&&(o.value=0),!t._flags.unsafe)if(e.match(/e/i)){if(s.normalizeExponent("".concat(o.value/Math.pow(10,n[1]),"e").concat(n[1]))!==s.normalizeExponent(e))return o.errors=r("number.unsafe"),o}else{const t=o.value.toString();if(t.match(/e/i))return o;if(t!==s.normalizeDecimal(e))return o.errors=r("number.unsafe"),o}return o}},validate(e,{schema:t,error:r,prefs:n}){if(e===1/0||e===-1/0)return{value:e,errors:r("number.infinity")};if(!i.isNumber(e))return{value:e,errors:r("number.base")};const o={value:e};if(n.convert){const e=t.$_getRule("precision");if(e){const t=Math.pow(10,e.args.limit);o.value=Math.round(o.value*t)/t}}return 0===o.value&&(o.value=0),!t._flags.unsafe&&(e>Number.MAX_SAFE_INTEGER||ei.compare(e,r,o)?e:t.error("number."+n,{limit:s.limit,value:e}),args:[{name:"limit",ref:!0,assert:i.isNumber,message:"must be a number"}]},greater:{method(e){return this.$_addRule({name:"greater",method:"compare",args:{limit:e},operator:">"})}},integer:{method(){return this.$_addRule("integer")},validate:(e,t)=>Math.trunc(e)-e==0?e:t.error("number.integer")},less:{method(e){return this.$_addRule({name:"less",method:"compare",args:{limit:e},operator:"<"})}},max:{method(e){return this.$_addRule({name:"max",method:"compare",args:{limit:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"compare",args:{limit:e},operator:">="})}},multiple:{method(e){return this.$_addRule({name:"multiple",args:{base:e}})},validate:(e,t,{base:r},n)=>e%r==0?e:t.error("number.multiple",{multiple:n.args.base,value:e}),args:[{name:"base",ref:!0,assert:e=>"number"==typeof e&&isFinite(e)&&e>0,message:"must be a positive number"}],multi:!0},negative:{method(){return this.sign("negative")}},port:{method(){return this.$_addRule("port")},validate:(e,t)=>Number.isSafeInteger(e)&&e>=0&&e<=65535?e:t.error("number.port")},positive:{method(){return this.sign("positive")}},precision:{method(e){return n(Number.isSafeInteger(e),"limit must be an integer"),this.$_addRule({name:"precision",args:{limit:e}})},validate(e,t,{limit:r}){const n=e.toString().match(s.precisionRx);return Math.max((n[1]?n[1].length:0)-(n[2]?parseInt(n[2],10):0),0)<=r?e:t.error("number.precision",{limit:r,value:e})},convert:!0},sign:{method(e){return n(["negative","positive"].includes(e),"Invalid sign",e),this.$_addRule({name:"sign",args:{sign:e}})},validate:(e,t,{sign:r})=>"negative"===r&&e<0||"positive"===r&&e>0?e:t.error("number.".concat(r))},unsafe:{method(e=!0){return n("boolean"==typeof e,"enabled must be a boolean"),this.$_setFlag("unsafe",e)}}},cast:{string:{from:e=>"number"==typeof e,to:(e,t)=>e.toString()}},messages:{"number.base":"{{#label}} must be a number","number.greater":"{{#label}} must be greater than {{#limit}}","number.infinity":"{{#label}} cannot be infinity","number.integer":"{{#label}} must be an integer","number.less":"{{#label}} must be less than {{#limit}}","number.max":"{{#label}} must be less than or equal to {{#limit}}","number.min":"{{#label}} must be greater than or equal to {{#limit}}","number.multiple":"{{#label}} must be a multiple of {{#multiple}}","number.negative":"{{#label}} must be a negative number","number.port":"{{#label}} must be a valid port","number.positive":"{{#label}} must be a positive number","number.precision":"{{#label}} must have no more than {{#limit}} decimal places","number.unsafe":"{{#label}} must be a safe number"}}),s.normalizeExponent=function(e){return e.replace(/E/,"e").replace(/\.(\d*[1-9])?0+e/,".$1e").replace(/\.e/,"e").replace(/e\+/,"e").replace(/^\+/,"").replace(/^(-?)0+([1-9])/,"$1$2")},s.normalizeDecimal=function(e){return(e=e.replace(/^\+/,"").replace(/\.0*$/,"").replace(/^(-?)\.([^\.]*)$/,"$10.$2").replace(/^(-?)0+([0-9])/,"$1$2")).includes(".")&&e.endsWith("0")&&(e=e.replace(/0+$/,"")),"-0"===e?"0":e}},function(e,t,r){"use strict";const n=r(22);e.exports=n.extend({type:"object",cast:{map:{from:e=>e&&"object"==typeof e,to:(e,t)=>new Map(Object.entries(e))}}})},function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t"string"!=typeof e?{value:e,errors:t("string.base")}:""===e?{value:e,errors:t("string.empty")}:void 0,rules:{alphanum:{method(){return this.$_addRule("alphanum")},validate:(e,t)=>/^[a-zA-Z0-9]+$/.test(e)?e:t.error("string.alphanum")},base64:{method(e={}){return p.assertOptions(e,["paddingRequired","urlSafe"]),e=o({urlSafe:!1,paddingRequired:!0},e),s("boolean"==typeof e.paddingRequired,"paddingRequired must be boolean"),s("boolean"==typeof e.urlSafe,"urlSafe must be boolean"),this.$_addRule({name:"base64",args:{options:e}})},validate:(e,t,{options:r})=>g.base64Regex[r.paddingRequired][r.urlSafe].test(e)?e:t.error("string.base64")},case:{method(e){return s(["lower","upper"].includes(e),"Invalid case:",e),this.$_addRule({name:"case",args:{direction:e}})},validate:(e,t,{direction:r})=>"lower"===r&&e===e.toLocaleLowerCase()||"upper"===r&&e===e.toLocaleUpperCase()?e:t.error("string.".concat(r,"case")),convert:!0},creditCard:{method(){return this.$_addRule("creditCard")},validate(e,t){let r=e.length,n=0,o=1;for(;r--;){const t=e.charAt(r)*o;n+=t-9*(t>9),o^=3}return n>0&&n%10==0?e:t.error("string.creditCard")}},dataUri:{method(e={}){return p.assertOptions(e,["paddingRequired"]),e=o({paddingRequired:!0},e),s("boolean"==typeof e.paddingRequired,"paddingRequired must be boolean"),this.$_addRule({name:"dataUri",args:{options:e}})},validate(e,t,{options:r}){const n=e.match(g.dataUriRegex);if(n){if(!n[2])return e;if("base64"!==n[2])return e;if(g.base64Regex[r.paddingRequired].false.test(n[3]))return e}return t.error("string.dataUri")}},domain:{method(e){e&&p.assertOptions(e,["allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const t=g.addressOptions(e);return this.$_addRule({name:"domain",args:{options:e},address:t})},validate:(e,t,r,{address:n})=>a.isValid(e,n)?e:t.error("string.domain")},email:{method(e={}){p.assertOptions(e,["allowUnicode","ignoreLength","maxDomainSegments","minDomainSegments","multiple","separator","tlds"]),s(void 0===e.multiple||"boolean"==typeof e.multiple,"multiple option must be an boolean");const t=g.addressOptions(e),r=new RegExp("\\s*[".concat(e.separator?l(e.separator):",","]\\s*"));return this.$_addRule({name:"email",args:{options:e},regex:r,address:t})},validate(e,t,{options:r},{regex:n,address:o}){const i=r.multiple?e.split(n):[e],s=[];for(const e of i)c.isValid(e,o)||s.push(e);return s.length?t.error("string.email",{value:e,invalids:s}):e}},guid:{alias:"uuid",method(e={}){p.assertOptions(e,["version","separator"]);let t="";if(e.version){const r=[].concat(e.version);s(r.length>=1,"version must have at least 1 valid version specified");const n=new Set;for(let e=0;eg.hexRegex.test(e)?r.byteAligned&&e.length%2!=0?t.error("string.hexAlign"):e:t.error("string.hex")},hostname:{method(){return this.$_addRule("hostname")},validate:(e,t)=>a.isValid(e,{minDomainSegments:1})||g.ipRegex.test(e)?e:t.error("string.hostname")},insensitive:{method(){return this.$_setFlag("insensitive",!0)}},ip:{method(e={}){p.assertOptions(e,["cidr","version"]);const{cidr:t,versions:r,regex:n}=u.regex(e),o=e.version?r:void 0;return this.$_addRule({name:"ip",args:{options:{cidr:t,version:o}},regex:n})},validate:(e,t,{options:r},{regex:n})=>n.test(e)?e:r.version?t.error("string.ipVersion",{value:e,cidr:r.cidr,version:r.version}):t.error("string.ip",{value:e,cidr:r.cidr})},isoDate:{method(){return this.$_addRule("isoDate")},validate:(e,{error:t})=>g.isoDate(e)?e:t("string.isoDate")},isoDuration:{method(){return this.$_addRule("isoDuration")},validate:(e,t)=>g.isoDurationRegex.test(e)?e:t.error("string.isoDuration")},length:{method(e,t){return g.length(this,"length",e,"=",t)},validate(e,t,{limit:r,encoding:n},{name:o,operator:i,args:s}){const a=!n&&e.length;return p.compare(a,r,i)?e:t.error("string."+o,{limit:s.limit,value:e,encoding:n})},args:[{name:"limit",ref:!0,assert:p.limit,message:"must be a positive integer"},"encoding"]},lowercase:{method(){return this.case("lower")}},max:{method(e,t){return g.length(this,"max",e,"<=",t)},args:["limit","encoding"]},min:{method(e,t){return g.length(this,"min",e,">=",t)},args:["limit","encoding"]},normalize:{method(e="NFC"){return s(g.normalizationForms.includes(e),"normalization form must be one of "+g.normalizationForms.join(", ")),this.$_addRule({name:"normalize",args:{form:e}})},validate:(e,{error:t},{form:r})=>e===e.normalize(r)?e:t("string.normalize",{value:e,form:r}),convert:!0},pattern:{alias:"regex",method(e,t={}){s(e instanceof RegExp,"regex must be a RegExp"),s(!e.flags.includes("g")&&!e.flags.includes("y"),"regex should not use global or sticky mode"),"string"==typeof t&&(t={name:t}),p.assertOptions(t,["invert","name"]);const r=["string.pattern",t.invert?".invert":"",t.name?".name":".base"].join("");return this.$_addRule({name:"pattern",args:{regex:e,options:t},errorCode:r})},validate:(e,t,{regex:r,options:n},{errorCode:o})=>r.test(e)^n.invert?e:t.error(o,{name:n.name,regex:r,value:e}),args:["regex","options"],multi:!0},replace:{method(e,t){"string"==typeof e&&(e=new RegExp(l(e),"g")),s(e instanceof RegExp,"pattern must be a RegExp"),s("string"==typeof t,"replacement must be a String");const r=this.clone();return r.$_terms.replacements||(r.$_terms.replacements=[]),r.$_terms.replacements.push({pattern:e,replacement:t}),r}},token:{method(){return this.$_addRule("token")},validate:(e,t)=>/^\w+$/.test(e)?e:t.error("string.token")},trim:{method(e=!0){return s("boolean"==typeof e,"enabled must be a boolean"),this.$_addRule({name:"trim",args:{enabled:e}})},validate:(e,t,{enabled:r})=>r&&e!==e.trim()?t.error("string.trim"):e,convert:!0},truncate:{method(e=!0){return s("boolean"==typeof e,"enabled must be a boolean"),this.$_setFlag("truncate",e)}},uppercase:{method(){return this.case("upper")}},uri:{method(e={}){p.assertOptions(e,["allowRelative","allowQuerySquareBrackets","domain","relativeOnly","scheme"]),e.domain&&p.assertOptions(e.domain,["allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const{regex:t,scheme:r}=d.regex(e),n=e.domain?g.addressOptions(e.domain):null;return this.$_addRule({name:"uri",args:{options:e},regex:t,domain:n,scheme:r})},validate(e,t,{options:r},{regex:n,domain:o,scheme:i}){if(["http:/","https:/"].includes(e))return t.error("string.uri");const s=n.exec(e);if(s){if(o){const e=s[1]||s[2];if(!a.isValid(e,o))return t.error("string.domain",{value:e})}return e}return r.relativeOnly?t.error("string.uriRelativeOnly"):r.scheme?t.error("string.uriCustomScheme",{scheme:i,value:e}):t.error("string.uri")}}},manifest:{build(e,t){if(t.replacements)for(const{pattern:r,replacement:n}of t.replacements)e=e.replace(r,n);return e}},messages:{"string.alphanum":"{{#label}} must only contain alpha-numeric characters","string.base":"{{#label}} must be a string","string.base64":"{{#label}} must be a valid base64 string","string.creditCard":"{{#label}} must be a credit card","string.dataUri":"{{#label}} must be a valid dataUri string","string.domain":"{{#label}} must contain a valid domain name","string.email":"{{#label}} must be a valid email","string.empty":"{{#label}} is not allowed to be empty","string.guid":"{{#label}} must be a valid GUID","string.hex":"{{#label}} must only contain hexadecimal characters","string.hexAlign":"{{#label}} hex decoded representation must be byte aligned","string.hostname":"{{#label}} must be a valid hostname","string.ip":"{{#label}} must be a valid ip address with a {{#cidr}} CIDR","string.ipVersion":"{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR","string.isoDate":"{{#label}} must be in iso format","string.isoDuration":"{{#label}} must be a valid ISO 8601 duration","string.length":"{{#label}} length must be {{#limit}} characters long","string.lowercase":"{{#label}} must only contain lowercase characters","string.max":"{{#label}} length must be less than or equal to {{#limit}} characters long","string.min":"{{#label}} length must be at least {{#limit}} characters long","string.normalize":"{{#label}} must be unicode normalized in the {{#form}} form","string.token":"{{#label}} must only contain alpha-numeric and underscore characters","string.pattern.base":"{{#label}} with value {:[.]} fails to match the required pattern: {{#regex}}","string.pattern.name":"{{#label}} with value {:[.]} fails to match the {{#name}} pattern","string.pattern.invert.base":"{{#label}} with value {:[.]} matches the inverted pattern: {{#regex}}","string.pattern.invert.name":"{{#label}} with value {:[.]} matches the inverted {{#name}} pattern","string.trim":"{{#label}} must not have leading or trailing whitespace","string.uri":"{{#label}} must be a valid uri","string.uriCustomScheme":"{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern","string.uriRelativeOnly":"{{#label}} must be a valid relative uri","string.uppercase":"{{#label}} must only contain uppercase characters"}}),g.addressOptions=function(e){if(!e)return e;if(s(void 0===e.minDomainSegments||Number.isSafeInteger(e.minDomainSegments)&&e.minDomainSegments>0,"minDomainSegments must be a positive integer"),s(void 0===e.maxDomainSegments||Number.isSafeInteger(e.maxDomainSegments)&&e.maxDomainSegments>0,"maxDomainSegments must be a positive integer"),!1===e.tlds)return e;if(!0===e.tlds||void 0===e.tlds)return s(g.tlds,"Built-in TLD list disabled"),Object.assign({},e,g.tlds);s("object"==typeof e.tlds,"tlds must be true, false, or an object");const t=e.tlds.deny;if(t)return Array.isArray(t)&&(e=Object.assign({},e,{tlds:{deny:new Set(t)}})),s(e.tlds.deny instanceof Set,"tlds.deny must be an array, Set, or boolean"),s(!e.tlds.allow,"Cannot specify both tlds.allow and tlds.deny lists"),g.validateTlds(e.tlds.deny,"tlds.deny"),e;const r=e.tlds.allow;return r?!0===r?(s(g.tlds,"Built-in TLD list disabled"),Object.assign({},e,g.tlds)):(Array.isArray(r)&&(e=Object.assign({},e,{tlds:{allow:new Set(r)}})),s(e.tlds.allow instanceof Set,"tlds.allow must be an array, Set, or boolean"),g.validateTlds(e.tlds.allow,"tlds.allow"),e):e},g.validateTlds=function(e,t){for(const r of e)s(a.isValid(r,{minDomainSegments:1,maxDomainSegments:1}),"".concat(t," must contain valid top level domain names"))},g.isoDate=function(e){if(!p.isIsoDate(e))return null;/.*T.*[+-]\d\d$/.test(e)&&(e+="00");const t=new Date(e);return isNaN(t.getTime())?null:t.toISOString()},g.length=function(e,t,r,n,o){return s(!o||!1,"Invalid encoding:",o),e.$_addRule({name:t,method:"length",args:{limit:r,encoding:o},operator:n})}},function(e,t,r){"use strict";const n=r(24),o=r(23),i=r(25),s={nonAsciiRx:/[^\x00-\x7f]/,encoder:new(n.TextEncoder||TextEncoder)};t.analyze=function(e,t){return s.email(e,t)},t.isValid=function(e,t){return!s.email(e,t)},s.email=function(e,t={}){if("string"!=typeof e)throw new Error("Invalid input: email must be a string");if(!e)return i.code("EMPTY_STRING");const r=!s.nonAsciiRx.test(e);if(!r){if(!1===t.allowUnicode)return i.code("FORBIDDEN_UNICODE");e=e.normalize("NFC")}const n=e.split("@");if(2!==n.length)return n.length>2?i.code("MULTIPLE_AT_CHAR"):i.code("MISSING_AT_CHAR");const[a,c]=n;if(!a)return i.code("EMPTY_LOCAL");if(!t.ignoreLength){if(e.length>254)return i.code("ADDRESS_TOO_LONG");if(s.encoder.encode(a).length>64)return i.code("LOCAL_TOO_LONG")}return s.local(a,r)||o.analyze(c,t)},s.local=function(e,t){const r=e.split(".");for(const e of r){if(!e.length)return i.code("EMPTY_LOCAL_SEGMENT");if(t){if(!s.atextRx.test(e))return i.code("INVALID_LOCAL_CHARS")}else for(const t of e){if(s.atextRx.test(t))continue;const e=s.binary(t);if(!s.atomRx.test(e))return i.code("INVALID_LOCAL_CHARS")}}},s.binary=function(e){return Array.from(s.encoder.encode(e)).map(e=>String.fromCharCode(e)).join("")},s.atextRx=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,s.atomRx=new RegExp(["(?:[\\xc2-\\xdf][\\x80-\\xbf])","(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})","(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})"].join("|"))},function(e,t,r){"use strict";const n=r(0),o=r(26);t.regex=function(e={}){n(void 0===e.cidr||"string"==typeof e.cidr,"options.cidr must be a string");const t=e.cidr?e.cidr.toLowerCase():"optional";n(["required","optional","forbidden"].includes(t),"options.cidr must be one of required, optional, forbidden"),n(void 0===e.version||"string"==typeof e.version||Array.isArray(e.version),"options.version must be a string or an array of string");let r=e.version||["ipv4","ipv6","ipvfuture"];Array.isArray(r)||(r=[r]),n(r.length>=1,"options.version must have at least 1 version specified");for(let e=0;e{if("forbidden"===t)return o.ip[e];const r="\\/".concat("ipv4"===e?o.ip.v4Cidr:o.ip.v6Cidr);return"required"===t?"".concat(o.ip[e]).concat(r):"".concat(o.ip[e],"(?:").concat(r,")?")}),s="(?:".concat(i.join("|"),")"),a=new RegExp("^".concat(s,"$"));return{cidr:t,versions:r,regex:a,raw:s}}},function(e,t){},function(e,t,r){"use strict";const n=r(0),o=r(3),i={};i.Map=class extends Map{slice(){return new i.Map(this)}},e.exports=o.extend({type:"symbol",terms:{map:{init:new i.Map}},coerce:{method(e,{schema:t,error:r}){const n=t.$_terms.map.get(e);return n&&(e=n),t._flags.only&&"symbol"!=typeof e?{value:e,errors:r("symbol.map",{map:t.$_terms.map})}:{value:e}}},validate(e,{error:t}){if("symbol"!=typeof e)return{value:e,errors:t("symbol.base")}},rules:{map:{method(e){e&&!e[Symbol.iterator]&&"object"==typeof e&&(e=Object.entries(e)),n(e&&e[Symbol.iterator],"Iterable must be an iterable or object");const t=this.clone(),r=[];for(const o of e){n(o&&o[Symbol.iterator],"Entry must be an iterable");const[e,i]=o;n("object"!=typeof e&&"function"!=typeof e&&"symbol"!=typeof e,"Key must not be of type object, function, or Symbol"),n("symbol"==typeof i,"Value must be a Symbol"),t.$_terms.map.set(e,i),r.push(i)}return t.valid(...r)}}},manifest:{build:(e,t)=>(t.map&&(e=e.map(t.map)),e)},messages:{"symbol.base":"{{#label}} must be a symbol","symbol.map":"{{#label}} must be one of {{#map}}"}})}])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionForegroundService=void 0;t.InteractionForegroundService=class{constructor(e){this.handler=e}pushData(e){this.handler.onInteractionDataReceived(e)}pushEvent(e){this.handler.onEventDataReceived(e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interactionForegroundInit=void 0;const n=r(179),o=r(340),i=r(674);t.interactionForegroundInit=function(e,t){e.registerMessage(n.PushInteractionDataMsg),e.registerMessage(n.PushEventDataMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const n=r(179);t.getHandler=e=>(t,r)=>{switch(r.constructor){case n.PushInteractionDataMsg:return o(e)(t,r);case n.PushEventDataMsg:return i(e)(t,r);default:throw new Error("Unknown msg type")}};const o=e=>(t,r)=>e.pushData(r.data),i=e=>(t,r)=>e.pushEvent(r.data)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(128),o=r(336),i=r(677);t.init=function(e,t){e.registerMessage(n.GetChainInfosMsg),e.registerMessage(n.SuggestChainInfoMsg),e.registerMessage(n.RemoveSuggestedChainInfoMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(128);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.GetChainInfosMsg:return i(e)(t,r);case o.SuggestChainInfoMsg:return s(e)(t,r);case o.RemoveSuggestedChainInfoMsg:return a(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>()=>n(void 0,void 0,void 0,(function*(){return{chainInfos:yield e.getChainInfos()}})),s=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){if(yield e.hasChainInfo(r.chainInfo.chainId))return;const n=r.chainInfo;n.beta=!0,yield e.suggestChainInfo(t,n,r.origin)})),a=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.removeChainInfo(r.chainId),yield e.getChainInfos()}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(343),t),o(r(713),t)},function(e,t,r){"use strict";(function(e){var n=r(115);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(129)),i=n(r(130)),s=n(r(681)),a=n(r(682)),c=n(r(72)),u=n(r(75)),l=n(r(94)),f=r(345),d=r(684),h=r(181),p=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.APP_KEY;if((0,s.default)(this,t),!e)throw new Error("Transport has not been defined");this.transport=e,e.decorateAppAPIMethods(this,["getVersion","sign","getAddressAndPubKey","appInfo","deviceInfo","getBech32FromPK"],r)}var r,n,p,g,m,y,b,v,w,_;return(0,a.default)(t,[{key:"serializePath",value:(_=(0,i.default)(o.default.mark((function e(t){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,h.getVersion)(this.transport);case 2:if(this.versionResponse=e.sent,this.versionResponse.return_code===h.ERROR_CODE.NoError){e.next=5;break}throw this.versionResponse;case 5:e.t0=this.versionResponse.major,e.next=1===e.t0?8:2===e.t0?9:10;break;case 8:return e.abrupt("return",(0,f.serializePathv1)(t));case 9:return e.abrupt("return",(0,d.serializePathv2)(t));case 10:return e.abrupt("return",{return_code:25600,error_message:"App Version is not supported"});case 11:case"end":return e.stop()}}),e,this)}))),function(e){return _.apply(this,arguments)})},{key:"signGetChunks",value:(w=(0,i.default)(o.default.mark((function t(r,n){var i,s,a,c,u;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.serializePath(r);case 2:for(i=t.sent,(s=[]).push(i),a=e.from(n),c=0;ca.length&&(u=a.length),s.push(a.slice(c,u));return t.abrupt("return",s);case 8:case"end":return t.stop()}}),t,this)}))),function(e,t){return w.apply(this,arguments)})},{key:"getVersion",value:(v=(0,i.default)(o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,h.getVersion)(this.transport);case 3:return this.versionResponse=e.sent,e.abrupt("return",this.versionResponse);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",(0,h.processErrorResponse)(e.t0));case 10:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(){return v.apply(this,arguments)})},{key:"appInfo",value:(b=(0,i.default)(o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.transport.send(176,1,0,0).then((function(e){var t=e.slice(-2),r=256*t[0]+t[1],n={},o="err",i="err",s=0,a=0;if(1!==e[0])n.error_message="response format ID not recognized",n.return_code=36865;else{var c=e[1];o=e.slice(2,2+c).toString("ascii");var u=2+c,l=e[u];u+=1,i=e.slice(u,u+l).toString("ascii"),s=e[u+=l],a=e[u+=1]}return{return_code:r,error_message:(0,h.errorCodeToString)(r),appName:o,appVersion:i,flagLen:s,flagsValue:a,flag_recovery:0!=(1&a),flag_signed_mcu_code:0!=(2&a),flag_onboarded:0!=(4&a),flag_pin_validated:0!=(128&a)}}),h.processErrorResponse));case 1:case"end":return e.stop()}}),e,this)}))),function(){return b.apply(this,arguments)})},{key:"deviceInfo",value:(y=(0,i.default)(o.default.mark((function t(){return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.transport.send(224,1,0,0,e.from([]),[h.ERROR_CODE.NoError,28160]).then((function(e){var t=e.slice(-2),r=256*t[0]+t[1];if(28160===r)return{return_code:r,error_message:"This command is only available in the Dashboard"};var n=e.slice(0,4).toString("hex"),o=4,i=e[o];o+=1;var s=e.slice(o,o+i).toString(),a=e[o+=i];o+=1;var c=e.slice(o,o+a).toString("hex"),u=e[o+=a];o+=1;var l=e.slice(o,o+u);0===l[u-1]&&(l=e.slice(o,o+u-1));var f=l.toString();return{return_code:r,error_message:(0,h.errorCodeToString)(r),targetId:n,seVersion:s,flag:c,mcuVersion:f}}),h.processErrorResponse));case 1:case"end":return t.stop()}}),t,this)}))),function(){return y.apply(this,arguments)})},{key:"publicKey",value:(m=(0,i.default)(o.default.mark((function r(n){var i,s;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,this.serializePath(n);case 3:i=r.sent,r.t0=this.versionResponse.major,r.next=1===r.t0?7:2===r.t0?8:10;break;case 7:return r.abrupt("return",(0,f.publicKeyv1)(this,i));case 8:return s=e.concat([t.serializeHRP("cosmos"),i]),r.abrupt("return",(0,d.publicKeyv2)(this,s));case 10:return r.abrupt("return",{return_code:25600,error_message:"App Version is not supported"});case 11:r.next=16;break;case 13:return r.prev=13,r.t1=r.catch(0),r.abrupt("return",(0,h.processErrorResponse)(r.t1));case 16:case"end":return r.stop()}}),r,this,[[0,13]])}))),function(e){return m.apply(this,arguments)})},{key:"getAddressAndPubKey",value:(g=(0,i.default)(o.default.mark((function r(n,i){var s=this;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.abrupt("return",this.serializePath(n).then((function(r){var n=e.concat([t.serializeHRP(i),r]);return s.transport.send(h.CLA,h.INS.GET_ADDR_SECP256K1,h.P1_VALUES.ONLY_RETRIEVE,0,n,[h.ERROR_CODE.NoError]).then((function(t){var r=t.slice(-2),n=256*r[0]+r[1],o=e.from(t.slice(0,33));return{bech32_address:e.from(t.slice(33,-2)).toString(),compressed_pk:o,return_code:n,error_message:(0,h.errorCodeToString)(n)}}),h.processErrorResponse)})).catch((function(e){return(0,h.processErrorResponse)(e)})));case 4:return r.prev=4,r.t0=r.catch(0),r.abrupt("return",(0,h.processErrorResponse)(r.t0));case 7:case"end":return r.stop()}}),r,this,[[0,4]])}))),function(e,t){return g.apply(this,arguments)})},{key:"showAddressAndPubKey",value:(p=(0,i.default)(o.default.mark((function r(n,i){var s=this;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.abrupt("return",this.serializePath(n).then((function(r){var n=e.concat([t.serializeHRP(i),r]);return s.transport.send(h.CLA,h.INS.GET_ADDR_SECP256K1,h.P1_VALUES.SHOW_ADDRESS_IN_DEVICE,0,n,[h.ERROR_CODE.NoError]).then((function(t){var r=t.slice(-2),n=256*r[0]+r[1],o=e.from(t.slice(0,33));return{bech32_address:e.from(t.slice(33,-2)).toString(),compressed_pk:o,return_code:n,error_message:(0,h.errorCodeToString)(n)}}),h.processErrorResponse)})).catch((function(e){return(0,h.processErrorResponse)(e)})));case 4:return r.prev=4,r.t0=r.catch(0),r.abrupt("return",(0,h.processErrorResponse)(r.t0));case 7:case"end":return r.stop()}}),r,this,[[0,4]])}))),function(e,t){return p.apply(this,arguments)})},{key:"signSendChunk",value:(n=(0,i.default)(o.default.mark((function e(t,r,n){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=this.versionResponse.major,e.next=1===e.t0?3:2===e.t0?4:5;break;case 3:return e.abrupt("return",(0,f.signSendChunkv1)(this,t,r,n));case 4:return e.abrupt("return",(0,d.signSendChunkv2)(this,t,r,n));case 5:return e.abrupt("return",{return_code:25600,error_message:"App Version is not supported"});case 6:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return n.apply(this,arguments)})},{key:"sign",value:(r=(0,i.default)(o.default.mark((function e(t,r){var n=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.signGetChunks(t,r).then((function(e){return n.signSendChunk(1,e.length,e[0],[h.ERROR_CODE.NoError]).then(function(){var t=(0,i.default)(o.default.mark((function t(r){var i,s;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i={return_code:r.return_code,error_message:r.error_message,signature:null},s=1;case 2:if(!(s83)throw new Error("Invalid HRP");var r=e.alloc(1+t.length);return r.writeUInt8(t.length,0),r.write(t,1),r}},{key:"getBech32FromPK",value:function(e,t){if(33!==t.length)throw new Error("expected compressed public key [31 bytes]");var r=c.default.createHash("sha256").update(t).digest(),n=(new u.default).update(r).digest();return l.default.encode(e,l.default.toWords(n))}}]),t}();t.default=p}).call(this,r(2).Buffer)},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",s=n.toStringTag||"@@toStringTag";function a(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(e){a=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),s=new O(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return E()}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var a=w(s,r);if(a){if(a===l)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,s),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function f(){}function d(){}function h(){}var p={};p[o]=function(){return this};var g=Object.getPrototypeOf,m=g&&g(g(S([])));m&&m!==t&&r.call(m,o)&&(p=m);var y=h.prototype=f.prototype=Object.create(p);function b(e){["next","throw","return"].forEach((function(t){a(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){var n;this._invoke=function(o,i){function s(){return new t((function(n,s){!function n(o,i,s,a){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,a)}))}a(c.arg)}(o,i,n,s)}))}return n=n?n.then(s,s):s()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function S(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(a&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function r(e,t){for(var r=0;r{this._disconnectEmitted||(this._disconnectEmitted=!0,this.emit("disconnect",e))},this.exchange=t=>this.exchangeAtomicImpl(async()=>{const{channel:r,packetSize:n}=this;Object(a.a)("apdu","=> "+t.toString("hex"));const o=i()(r,n),s=o.makeBlocks(t);for(let e=0;e{if(e&&e.message&&e.message.includes("disconnected"))throw this._emitDisconnect(e),new c.DisconnectedDeviceDuringOperation(e.message);throw e}),this.device=t,this.interfaceNumber=r,this.deviceModel=Object(s.a)(t.productId)}static async request(){const e=await Object(u.d)();return l.open(e)}static async openConnected(){const e=await Object(u.b)();return 0===e.length?null:l.open(e[0])}static async open(e){await e.open(),null===e.configuration&&await e.selectConfiguration(1),await f(e);const t=e.configurations[0].interfaces.find(({alternates:e})=>e.some(e=>255===e.interfaceClass));if(!t)throw new c.TransportInterfaceNotAvailable("No WebUSB interface found for your Ledger device. Please upgrade firmware or contact techsupport.");const r=t.interfaceNumber;try{await e.claimInterface(r)}catch(t){throw await e.close(),new c.TransportInterfaceNotAvailable(t.message)}const n=new l(e,r),o=t=>{e===t.device&&(navigator.usb.removeEventListener("disconnect",o),n._emitDisconnect(new c.DisconnectedDevice))};return navigator.usb.addEventListener("disconnect",o),n}async close(){await this.exchangeBusyPromise,await this.device.releaseInterface(this.interfaceNumber),await f(this.device),await this.device.close()}setScrambleKey(){}}async function f(e){try{await e.reset()}catch(e){console.warn(e)}}l.isSupported=u.c,l.list=u.b,l.listen=e=>{let t=!1;return Object(u.a)().then(r=>{if(!t){const t=Object(s.a)(r.productId);e.next({type:"add",descriptor:r,deviceModel:t}),e.complete()}},t=>{window.DOMException&&t instanceof window.DOMException&&18===t.code?e.error(new c.TransportWebUSBGestureRequired(t.message)):e.error(new c.TransportOpenUserCancelled(t.message))}),{unsubscribe:function(){t=!0}}}}.call(this,r(2).Buffer)},function(e,t,r){const n=r(85);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},function(e,t,r){const n=r(85);e.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},function(e,t,r){const n=r(24);e.exports=(e,t,r,o)=>{"string"==typeof r&&(o=r,r=void 0);try{return new n(e,r).inc(t,o).version}catch(e){return null}}},function(e,t,r){const n=r(85),o=r(183);e.exports=(e,t)=>{if(o(e,t))return null;{const r=n(e),o=n(t),i=r.prerelease.length||o.prerelease.length,s=i?"pre":"",a=i?"prerelease":"";for(const e in r)if(("major"===e||"minor"===e||"patch"===e)&&r[e]!==o[e])return s+e;return a}}},function(e,t,r){const n=r(24);e.exports=(e,t)=>new n(e,t).major},function(e,t,r){const n=r(24);e.exports=(e,t)=>new n(e,t).minor},function(e,t,r){const n=r(24);e.exports=(e,t)=>new n(e,t).patch},function(e,t,r){const n=r(85);e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>n(t,e,r)},function(e,t,r){const n=r(40);e.exports=(e,t)=>n(e,t,!0)},function(e,t,r){const n=r(184);e.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))},function(e,t,r){const n=r(184);e.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))},function(e,t,r){const n=r(24),o=r(85),{re:i,t:s}=r(84);e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let t;for(;(t=i[s.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&t.index+t[0].length===r.index+r[0].length||(r=t),i[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[s.COERCERTL].lastIndex=-1}else r=e.match(i[s.COERCE]);return null===r?null:o(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}},function(e,t,r){"use strict";const n=r(700),o=Symbol("max"),i=Symbol("length"),s=Symbol("lengthCalculator"),a=Symbol("allowStale"),c=Symbol("maxAge"),u=Symbol("dispose"),l=Symbol("noDisposeOnSet"),f=Symbol("lruList"),d=Symbol("cache"),h=Symbol("updateAgeOnGet"),p=()=>1;const g=(e,t,r)=>{const n=e[d].get(t);if(n){const t=n.value;if(m(e,t)){if(b(e,n),!e[a])return}else r&&(e[h]&&(n.value.now=Date.now()),e[f].unshiftNode(n));return t.value}},m=(e,t)=>{if(!t||!t.maxAge&&!e[c])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[c]&&r>e[c]},y=e=>{if(e[i]>e[o])for(let t=e[f].tail;e[i]>e[o]&&null!==t;){const r=t.prev;b(e,t),t=r}},b=(e,t)=>{if(t){const r=t.value;e[u]&&e[u](r.key,r.value),e[i]-=r.length,e[d].delete(r.key),e[f].removeNode(t)}};class v{constructor(e,t,r,n,o){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=o||0}}const w=(e,t,r,n)=>{let o=r.value;m(e,o)&&(b(e,r),e[a]||(o=void 0)),o&&t.call(n,o.value,o.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||p;if(this[s]="function"!=typeof t?p:t,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[c]=e.maxAge||0,this[u]=e.dispose,this[l]=e.noDisposeOnSet||!1,this[h]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,y(this)}get max(){return this[o]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[c]=e,y(this)}get maxAge(){return this[c]}set lengthCalculator(e){"function"!=typeof e&&(e=p),e!==this[s]&&(this[s]=e,this[i]=0,this[f].forEach(e=>{e.length=this[s](e.value,e.key),this[i]+=e.length})),y(this)}get lengthCalculator(){return this[s]}get length(){return this[i]}get itemCount(){return this[f].length}rforEach(e,t){t=t||this;for(let r=this[f].tail;null!==r;){const n=r.prev;w(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[f].head;null!==r;){const n=r.next;w(this,e,r,t),r=n}}keys(){return this[f].toArray().map(e=>e.key)}values(){return this[f].toArray().map(e=>e.value)}reset(){this[u]&&this[f]&&this[f].length&&this[f].forEach(e=>this[u](e.key,e.value)),this[d]=new Map,this[f]=new n,this[i]=0}dump(){return this[f].map(e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[f]}set(e,t,r){if((r=r||this[c])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const n=r?Date.now():0,a=this[s](t,e);if(this[d].has(e)){if(a>this[o])return b(this,this[d].get(e)),!1;const s=this[d].get(e).value;return this[u]&&(this[l]||this[u](e,s.value)),s.now=n,s.maxAge=r,s.value=t,this[i]+=a-s.length,s.length=a,this.get(e),y(this),!0}const h=new v(e,t,a,n,r);return h.length>this[o]?(this[u]&&this[u](e,t),!1):(this[i]+=h.length,this[f].unshift(h),this[d].set(e,this[f].head),y(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!m(this,t)}get(e){return g(this,e,!0)}peek(e){return g(this,e,!1)}pop(){const e=this[f].tail;return e?(b(this,e),e.value):null}del(e){b(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const n=e[r],o=n.e||0;if(0===o)this.set(n.k,n.v);else{const e=o-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[d].forEach((e,t)=>g(this,t,!1))}}},function(e,t,r){"use strict";function n(e){var t=this;if(t instanceof n||(t=new n),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var r=0,o=arguments.length;r1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var o=0;null!==n;o++)r=e(r,n.value,o),n=n.next;return r},n.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var o=this.length-1;null!==n;o--)r=e(r,n.value,o),n=n.prev;return r},n.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},n.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},n.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(tthis.length&&(t=this.length);for(var o=0,i=this.head;null!==i&&othis.length&&(t=this.length);for(var o=this.length,i=this.tail;null!==i&&o>t;o--)i=i.prev;for(;null!==i&&o>e;o--,i=i.prev)r.push(i.value);return r},n.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,i=this.head;null!==i&&nnew n(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},function(e,t,r){const n=r(24),o=r(41);e.exports=(e,t,r)=>{let i=null,s=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(i&&-1!==s.compare(e)||(i=e,s=new n(i,r)))}),i}},function(e,t,r){const n=r(24),o=r(41);e.exports=(e,t,r)=>{let i=null,s=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(i&&1!==s.compare(e)||(i=e,s=new n(i,r)))}),i}},function(e,t,r){const n=r(24),o=r(41),i=r(134);e.exports=(e,t)=>{e=new o(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":s&&!i(t,s)||(s=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}),!s||r&&!i(r,s)||(r=s)}return r&&e.test(r)?r:null}},function(e,t,r){const n=r(41);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},function(e,t,r){const n=r(188);e.exports=(e,t,r)=>n(e,t,">",r)},function(e,t,r){const n=r(188);e.exports=(e,t,r)=>n(e,t,"<",r)},function(e,t,r){const n=r(41);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t))},function(e,t,r){const n=r(136),o=r(40);e.exports=(e,t,r)=>{const i=[];let s=null,a=null;const c=e.sort((e,t)=>o(e,t,r));for(const e of c){n(e,t,r)?(a=e,s||(s=e)):(a&&i.push([s,a]),a=null,s=null)}s&&i.push([s,null]);const u=[];for(const[e,t]of i)e===t?u.push(e):t||e!==c[0]?t?e===c[0]?u.push("<="+t):u.push(`${e} - ${t}`):u.push(">="+e):u.push("*");const l=u.join(" || "),f="string"==typeof t.raw?t.raw:String(t);return l.length{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?[new o(">=0.0.0-0")]:[new o(">=0.0.0")]}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=[new o(">=0.0.0")]}const n=new Set;let c,f,d,h,p,g,m;for(const t of e)">"===t.operator||">="===t.operator?c=u(c,t,r):"<"===t.operator||"<="===t.operator?f=l(f,t,r):n.add(t.semver);if(n.size>1)return null;if(c&&f){if(d=a(c.semver,f.semver,r),d>0)return null;if(0===d&&(">="!==c.operator||"<="!==f.operator))return null}for(const e of n){if(c&&!s(e,String(c),r))return null;if(f&&!s(e,String(f),r))return null;for(const n of t)if(!s(e,String(n),r))return!1;return!0}let y=!(!f||r.includePrerelease||!f.semver.prerelease.length)&&f.semver,b=!(!c||r.includePrerelease||!c.semver.prerelease.length)&&c.semver;y&&1===y.prerelease.length&&"<"===f.operator&&0===y.prerelease[0]&&(y=!1);for(const e of t){if(m=m||">"===e.operator||">="===e.operator,g=g||"<"===e.operator||"<="===e.operator,c)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),">"===e.operator||">="===e.operator){if(h=u(c,e,r),h===e&&h!==c)return!1}else if(">="===c.operator&&!s(c.semver,String(e),r))return!1;if(f)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),"<"===e.operator||"<="===e.operator){if(p=l(f,e,r),p===e&&p!==f)return!1}else if("<="===f.operator&&!s(f.semver,String(e),r))return!1;if(!e.operator&&(f||c)&&0!==d)return!1}return!(c&&g&&!f&&0!==d)&&(!(f&&m&&!c&&0!==d)&&(!b&&!y))},u=(e,t,r)=>{if(!e)return t;const n=a(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},l=(e,t,r)=>{if(!e)return t;const n=a(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let o=!1;e:for(const n of e.set){for(const e of t.set){const t=c(n,e,r);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},function(e,t,r){"use strict";r.r(t),function(e,n){r.d(t,"default",(function(){return p}));var o=r(143),i=r(144),s=r.n(i),a=r(44),c=r(86),u=r(15);const l=[{vendorId:a.b}],f=()=>{const{hid:e}=navigator;if(!e)throw new u.TransportError("navigator.hid is not supported","HIDNotSupported");return e};async function d(){const e=await f().requestDevice({filters:l});return Array.isArray(e)?e:[e]}async function h(){return(await f().getDevices()).filter(e=>e.vendorId===a.b)}class p extends o.a{constructor(e){super(),this.device=void 0,this.deviceModel=void 0,this.channel=Math.floor(65535*Math.random()),this.packetSize=64,this.inputs=[],this.inputCallback=void 0,this.read=()=>this.inputs.length?Promise.resolve(this.inputs.shift()):new Promise(e=>{this.inputCallback=e}),this.onInputReport=e=>{const t=n.from(e.data.buffer);this.inputCallback?(this.inputCallback(t),this.inputCallback=null):this.inputs.push(t)},this._disconnectEmitted=!1,this._emitDisconnect=e=>{this._disconnectEmitted||(this._disconnectEmitted=!0,this.emit("disconnect",e))},this.exchange=e=>this.exchangeAtomicImpl(async()=>{const{channel:t,packetSize:r}=this;Object(c.a)("apdu","=> "+e.toString("hex"));const n=s()(t,r),o=n.makeBlocks(e);for(let e=0;e{if(e&&e.message&&e.message.includes("write"))throw this._emitDisconnect(e),new u.DisconnectedDeviceDuringOperation(e.message);throw e}),this.device=e,this.deviceModel=Object(a.a)(e.productId),e.addEventListener("inputreport",this.onInputReport)}static async request(){const[e]=await d();return p.open(e)}static async openConnected(){const e=await h();return 0===e.length?null:p.open(e[0])}static async open(e){await e.open();const t=new p(e),r=n=>{e===n.device&&(f().removeEventListener("disconnect",r),t._emitDisconnect(new u.DisconnectedDevice))};return f().addEventListener("disconnect",r),t}async close(){await this.exchangeBusyPromise,this.device.removeEventListener("inputreport",this.onInputReport),await this.device.close()}setScrambleKey(){}}p.isSupported=()=>Promise.resolve(!(!e.navigator||!e.navigator.hid)),p.list=h,p.listen=e=>{let t=!1;return async function(){const e=await h();return e.length>0?e[0]:(await d())[0]}().then(r=>{if(r){if(!t){const t=Object(a.a)(r.productId);e.next({type:"add",descriptor:r,deviceModel:t}),e.complete()}}else e.error(new u.TransportOpenUserCancelled("Access denied to use Ledger device"))},t=>{e.error(new u.TransportOpenUserCancelled(t.message))}),{unsubscribe:function(){t=!0}}}}.call(this,r(12),r(2).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(189),o=r(348),i=r(714);t.init=function(e,t){e.registerMessage(n.LedgerGetWebHIDFlagMsg),e.registerMessage(n.LedgerSetWebHIDFlagMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(189);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.LedgerGetWebHIDFlagMsg:return i(e)(t,r);case o.LedgerSetWebHIDFlagMsg:return s(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.getWebHIDFlag()})),s=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.setWebHIDFlag(r.flag)}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(349),t),o(r(728),t)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Crypto=void 0;const c=a(r(410)),u=i(r(717)),l=r(108),f=r(2);class d{static encrypt(e,t,r,n,o,i){return s(this,void 0,void 0,(function*(){let s=new Uint8Array(32);const a={salt:f.Buffer.from(yield e(s)).toString("hex"),dklen:32,n:131072,r:8,p:1},c=yield d.scrpyt(n,a),h=f.Buffer.from(r);s=new Uint8Array(16);const p=f.Buffer.from(yield e(s)),g=new u.Counter(0);g.setBytes(p);const m=new u.default.ModeOfOperation.ctr(c,g),y=f.Buffer.from(m.encrypt(h)),b=l.Hash.sha256(f.Buffer.concat([f.Buffer.from(c.slice(c.length/2)),y]));return{version:"1.2",type:t,coinTypeForChain:{},bip44HDPath:i,meta:o,crypto:{cipher:"aes-128-ctr",cipherparams:{iv:p.toString("hex")},ciphertext:y.toString("hex"),kdf:"scrypt",kdfparams:a,mac:f.Buffer.from(b).toString("hex")}}}))}static decrypt(e,t){return s(this,void 0,void 0,(function*(){const r=yield d.scrpyt(t,e.crypto.kdfparams),n=new u.Counter(0);n.setBytes(f.Buffer.from(e.crypto.cipherparams.iv,"hex"));const o=new u.default.ModeOfOperation.ctr(r,n),i=l.Hash.sha256(f.Buffer.concat([f.Buffer.from(r.slice(r.length/2)),f.Buffer.from(e.crypto.ciphertext,"hex")]));if(!f.Buffer.from(i).equals(f.Buffer.from(e.crypto.mac,"hex")))throw new Error("Unmatched mac");return f.Buffer.from(o.decrypt(f.Buffer.from(e.crypto.ciphertext,"hex")))}))}static scrpyt(e,t){return s(this,void 0,void 0,(function*(){const r=f.Buffer.from(e);return yield c.default.scrypt(r,f.Buffer.from(t.salt,"hex"),t.n,t.r,t.p,t.dklen)}))}}t.Crypto=d},function(e,t,r){ -/*! MIT License. Copyright 2015-2018 Richard Moore . See LICENSE.txt. */ -!function(t){"use strict";function r(e){return parseInt(e)===e}function n(e){if(!r(e.length))return!1;for(var t=0;t255)return!1;return!0}function o(e,t){if(e.buffer&&"Uint8Array"===e.name)return t&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!n(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(r(e.length)&&n(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function i(e){return new Uint8Array(e)}function s(e,t,r,n,o){null==n&&null==o||(e=e.slice?e.slice(n,o):Array.prototype.slice.call(e,n,o)),t.set(e,r)}var a,c={toBytes:function(e){var t=[],r=0;for(e=encodeURI(e);r191&&n<224?(t.push(String.fromCharCode((31&n)<<6|63&e[r+1])),r+=2):(t.push(String.fromCharCode((15&n)<<12|(63&e[r+1])<<6|63&e[r+2])),r+=3)}return t.join("")}},u=(a="0123456789abcdef",{toBytes:function(e){for(var t=[],r=0;r>4]+a[15&n])}return t.join("")}}),l={16:10,24:12,32:14},f=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],d=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],h=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],p=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],g=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],m=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],y=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],b=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],v=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],w=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],_=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],k=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],O=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],S=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],E=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function j(e){for(var t=[],r=0;r>2,this._Ke[r][t%4]=i[t],this._Kd[e-r][t%4]=i[t];for(var s,a=0,c=o;c>16&255]<<24^d[s>>8&255]<<16^d[255&s]<<8^d[s>>24&255]^f[a]<<24,a+=1,8!=o)for(t=1;t>8&255]<<8^d[s>>16&255]<<16^d[s>>24&255]<<24;for(t=o/2+1;t>2,h=c%4,this._Ke[u][h]=i[t],this._Kd[e-u][h]=i[t++],c++}for(var u=1;u>24&255]^O[s>>16&255]^S[s>>8&255]^E[255&s]},P.prototype.encrypt=function(e){if(16!=e.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var t=this._Ke.length-1,r=[0,0,0,0],n=j(e),o=0;o<4;o++)n[o]^=this._Ke[0][o];for(var s=1;s>24&255]^g[n[(o+1)%4]>>16&255]^m[n[(o+2)%4]>>8&255]^y[255&n[(o+3)%4]]^this._Ke[s][o];n=r.slice()}var a,c=i(16);for(o=0;o<4;o++)a=this._Ke[t][o],c[4*o]=255&(d[n[o]>>24&255]^a>>24),c[4*o+1]=255&(d[n[(o+1)%4]>>16&255]^a>>16),c[4*o+2]=255&(d[n[(o+2)%4]>>8&255]^a>>8),c[4*o+3]=255&(d[255&n[(o+3)%4]]^a);return c},P.prototype.decrypt=function(e){if(16!=e.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var t=this._Kd.length-1,r=[0,0,0,0],n=j(e),o=0;o<4;o++)n[o]^=this._Kd[0][o];for(var s=1;s>24&255]^v[n[(o+3)%4]>>16&255]^w[n[(o+2)%4]>>8&255]^_[255&n[(o+1)%4]]^this._Kd[s][o];n=r.slice()}var a,c=i(16);for(o=0;o<4;o++)a=this._Kd[t][o],c[4*o]=255&(h[n[o]>>24&255]^a>>24),c[4*o+1]=255&(h[n[(o+3)%4]>>16&255]^a>>16),c[4*o+2]=255&(h[n[(o+2)%4]>>8&255]^a>>8),c[4*o+3]=255&(h[255&n[(o+1)%4]]^a);return c};var A=function(e){if(!(this instanceof A))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new P(e)};A.prototype.encrypt=function(e){if((e=o(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=i(e.length),r=i(16),n=0;nNumber.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(var t=15;t>=0;--t)this._counter[t]=e%256,e=parseInt(e/256)},C.prototype.setBytes=function(e){if(16!=(e=o(e,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=e},C.prototype.increment=function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}};var R=function(e,t){if(!(this instanceof R))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",t instanceof C||(t=new C(t)),this._counter=t,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new P(e)};R.prototype.encrypt=function(e){for(var t=o(e,!0),r=0;r16)throw new Error("PKCS#7 padding byte out of range");for(var r=e.length-t,n=0;n{const t=this.encode(e);return s.Any.fromPartial({typeUrl:e.typeUrl,value:t})}),r=i.TxBody.fromPartial(Object.assign(Object.assign({},e),{messages:t}));return Uint8Array.from(i.TxBody.encode(r).finish())}decode({typeUrl:t,value:r}){if(t===a.cosmosTxBody)return this.decodeTxBody(r);const n=this.lookupTypeWithError(t).decode(r);return Object.entries(n).forEach(([t,r])=>{void 0!==e&&void 0!==e.isBuffer&&e.isBuffer(r)&&(n[t]=Uint8Array.from(r))}),n}decodeTxBody(e){const t=i.TxBody.decode(e);return Object.assign(Object.assign({},t),{messages:t.messages.map(({typeUrl:e,value:t})=>{if(!e)throw new Error("Missing type_url in Any");if(!t)throw new Error("Missing value in Any");return this.decode({typeUrl:e,value:t})})})}}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MsgClientImpl=t.MsgMultiSendResponse=t.MsgMultiSend=t.MsgSendResponse=t.MsgSend=t.protobufPackage=void 0;const o=r(137),i=r(722),s=n(r(48));t.protobufPackage="cosmos.bank.v1beta1";const a={fromAddress:"",toAddress:""};t.MsgSend={encode(e,t=s.default.Writer.create()){t.uint32(10).string(e.fromAddress),t.uint32(18).string(e.toAddress);for(const r of e.amount)o.Coin.encode(r,t.uint32(26).fork()).ldelim();return t},decode(e,t){const r=e instanceof Uint8Array?new s.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const i=Object.assign({},a);for(i.amount=[];r.pos>>3){case 1:i.fromAddress=r.string();break;case 2:i.toAddress=r.string();break;case 3:i.amount.push(o.Coin.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},a);if(t.amount=[],void 0!==e.fromAddress&&null!==e.fromAddress?t.fromAddress=String(e.fromAddress):t.fromAddress="",void 0!==e.toAddress&&null!==e.toAddress?t.toAddress=String(e.toAddress):t.toAddress="",void 0!==e.amount&&null!==e.amount)for(const r of e.amount)t.amount.push(o.Coin.fromJSON(r));return t},fromPartial(e){const t=Object.assign({},a);if(t.amount=[],void 0!==e.fromAddress&&null!==e.fromAddress?t.fromAddress=e.fromAddress:t.fromAddress="",void 0!==e.toAddress&&null!==e.toAddress?t.toAddress=e.toAddress:t.toAddress="",void 0!==e.amount&&null!==e.amount)for(const r of e.amount)t.amount.push(o.Coin.fromPartial(r));return t},toJSON(e){const t={};return void 0!==e.fromAddress&&(t.fromAddress=e.fromAddress),void 0!==e.toAddress&&(t.toAddress=e.toAddress),e.amount?t.amount=e.amount.map(e=>e?o.Coin.toJSON(e):void 0):t.amount=[],t}};const c={};t.MsgSendResponse={encode:(e,t=s.default.Writer.create())=>t,decode(e,t){const r=e instanceof Uint8Array?new s.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},c);for(;r.posObject.assign({},c),fromPartial:e=>Object.assign({},c),toJSON:e=>({})};const u={};t.MsgMultiSend={encode(e,t=s.default.Writer.create()){for(const r of e.inputs)i.Input.encode(r,t.uint32(10).fork()).ldelim();for(const r of e.outputs)i.Output.encode(r,t.uint32(18).fork()).ldelim();return t},decode(e,t){const r=e instanceof Uint8Array?new s.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},u);for(o.inputs=[],o.outputs=[];r.pos>>3){case 1:o.inputs.push(i.Input.decode(r,r.uint32()));break;case 2:o.outputs.push(i.Output.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},u);if(t.inputs=[],t.outputs=[],void 0!==e.inputs&&null!==e.inputs)for(const r of e.inputs)t.inputs.push(i.Input.fromJSON(r));if(void 0!==e.outputs&&null!==e.outputs)for(const r of e.outputs)t.outputs.push(i.Output.fromJSON(r));return t},fromPartial(e){const t=Object.assign({},u);if(t.inputs=[],t.outputs=[],void 0!==e.inputs&&null!==e.inputs)for(const r of e.inputs)t.inputs.push(i.Input.fromPartial(r));if(void 0!==e.outputs&&null!==e.outputs)for(const r of e.outputs)t.outputs.push(i.Output.fromPartial(r));return t},toJSON(e){const t={};return e.inputs?t.inputs=e.inputs.map(e=>e?i.Input.toJSON(e):void 0):t.inputs=[],e.outputs?t.outputs=e.outputs.map(e=>e?i.Output.toJSON(e):void 0):t.outputs=[],t}};const l={};t.MsgMultiSendResponse={encode:(e,t=s.default.Writer.create())=>t,decode(e,t){const r=e instanceof Uint8Array?new s.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},l);for(;r.posObject.assign({},l),fromPartial:e=>Object.assign({},l),toJSON:e=>({})};t.MsgClientImpl=class{constructor(e){this.rpc=e}Send(e){const r=t.MsgSend.encode(e).finish();return this.rpc.request("cosmos.bank.v1beta1.Msg","methodDesc.name",r).then(e=>t.MsgSendResponse.decode(new s.default.Reader(e)))}MultiSend(e){const r=t.MsgMultiSend.encode(e).finish();return this.rpc.request("cosmos.bank.v1beta1.Msg","methodDesc.name",r).then(e=>t.MsgMultiSendResponse.decode(new s.default.Reader(e)))}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=t.DenomUnit=t.Supply=t.Output=t.Input=t.SendEnabled=t.Params=t.protobufPackage=void 0;const o=r(137),i=n(r(48));t.protobufPackage="cosmos.bank.v1beta1";const s={defaultSendEnabled:!1};t.Params={encode(e,r=i.default.Writer.create()){for(const n of e.sendEnabled)t.SendEnabled.encode(n,r.uint32(10).fork()).ldelim();return r.uint32(16).bool(e.defaultSendEnabled),r},decode(e,r){const n=e instanceof Uint8Array?new i.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const a=Object.assign({},s);for(a.sendEnabled=[];n.pos>>3){case 1:a.sendEnabled.push(t.SendEnabled.decode(n,n.uint32()));break;case 2:a.defaultSendEnabled=n.bool();break;default:n.skipType(7&e)}}return a},fromJSON(e){const r=Object.assign({},s);if(r.sendEnabled=[],void 0!==e.sendEnabled&&null!==e.sendEnabled)for(const n of e.sendEnabled)r.sendEnabled.push(t.SendEnabled.fromJSON(n));return void 0!==e.defaultSendEnabled&&null!==e.defaultSendEnabled?r.defaultSendEnabled=Boolean(e.defaultSendEnabled):r.defaultSendEnabled=!1,r},fromPartial(e){const r=Object.assign({},s);if(r.sendEnabled=[],void 0!==e.sendEnabled&&null!==e.sendEnabled)for(const n of e.sendEnabled)r.sendEnabled.push(t.SendEnabled.fromPartial(n));return void 0!==e.defaultSendEnabled&&null!==e.defaultSendEnabled?r.defaultSendEnabled=e.defaultSendEnabled:r.defaultSendEnabled=!1,r},toJSON(e){const r={};return e.sendEnabled?r.sendEnabled=e.sendEnabled.map(e=>e?t.SendEnabled.toJSON(e):void 0):r.sendEnabled=[],void 0!==e.defaultSendEnabled&&(r.defaultSendEnabled=e.defaultSendEnabled),r}};const a={denom:"",enabled:!1};t.SendEnabled={encode:(e,t=i.default.Writer.create())=>(t.uint32(10).string(e.denom),t.uint32(16).bool(e.enabled),t),decode(e,t){const r=e instanceof Uint8Array?new i.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},a);for(;r.pos>>3){case 1:o.denom=r.string();break;case 2:o.enabled=r.bool();break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},a);return void 0!==e.denom&&null!==e.denom?t.denom=String(e.denom):t.denom="",void 0!==e.enabled&&null!==e.enabled?t.enabled=Boolean(e.enabled):t.enabled=!1,t},fromPartial(e){const t=Object.assign({},a);return void 0!==e.denom&&null!==e.denom?t.denom=e.denom:t.denom="",void 0!==e.enabled&&null!==e.enabled?t.enabled=e.enabled:t.enabled=!1,t},toJSON(e){const t={};return void 0!==e.denom&&(t.denom=e.denom),void 0!==e.enabled&&(t.enabled=e.enabled),t}};const c={address:""};t.Input={encode(e,t=i.default.Writer.create()){t.uint32(10).string(e.address);for(const r of e.coins)o.Coin.encode(r,t.uint32(18).fork()).ldelim();return t},decode(e,t){const r=e instanceof Uint8Array?new i.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},c);for(s.coins=[];r.pos>>3){case 1:s.address=r.string();break;case 2:s.coins.push(o.Coin.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},c);if(t.coins=[],void 0!==e.address&&null!==e.address?t.address=String(e.address):t.address="",void 0!==e.coins&&null!==e.coins)for(const r of e.coins)t.coins.push(o.Coin.fromJSON(r));return t},fromPartial(e){const t=Object.assign({},c);if(t.coins=[],void 0!==e.address&&null!==e.address?t.address=e.address:t.address="",void 0!==e.coins&&null!==e.coins)for(const r of e.coins)t.coins.push(o.Coin.fromPartial(r));return t},toJSON(e){const t={};return void 0!==e.address&&(t.address=e.address),e.coins?t.coins=e.coins.map(e=>e?o.Coin.toJSON(e):void 0):t.coins=[],t}};const u={address:""};t.Output={encode(e,t=i.default.Writer.create()){t.uint32(10).string(e.address);for(const r of e.coins)o.Coin.encode(r,t.uint32(18).fork()).ldelim();return t},decode(e,t){const r=e instanceof Uint8Array?new i.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},u);for(s.coins=[];r.pos>>3){case 1:s.address=r.string();break;case 2:s.coins.push(o.Coin.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},u);if(t.coins=[],void 0!==e.address&&null!==e.address?t.address=String(e.address):t.address="",void 0!==e.coins&&null!==e.coins)for(const r of e.coins)t.coins.push(o.Coin.fromJSON(r));return t},fromPartial(e){const t=Object.assign({},u);if(t.coins=[],void 0!==e.address&&null!==e.address?t.address=e.address:t.address="",void 0!==e.coins&&null!==e.coins)for(const r of e.coins)t.coins.push(o.Coin.fromPartial(r));return t},toJSON(e){const t={};return void 0!==e.address&&(t.address=e.address),e.coins?t.coins=e.coins.map(e=>e?o.Coin.toJSON(e):void 0):t.coins=[],t}};const l={};t.Supply={encode(e,t=i.default.Writer.create()){for(const r of e.total)o.Coin.encode(r,t.uint32(10).fork()).ldelim();return t},decode(e,t){const r=e instanceof Uint8Array?new i.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},l);for(s.total=[];r.pos>>3){case 1:s.total.push(o.Coin.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},l);if(t.total=[],void 0!==e.total&&null!==e.total)for(const r of e.total)t.total.push(o.Coin.fromJSON(r));return t},fromPartial(e){const t=Object.assign({},l);if(t.total=[],void 0!==e.total&&null!==e.total)for(const r of e.total)t.total.push(o.Coin.fromPartial(r));return t},toJSON(e){const t={};return e.total?t.total=e.total.map(e=>e?o.Coin.toJSON(e):void 0):t.total=[],t}};const f={denom:"",exponent:0,aliases:""};t.DenomUnit={encode(e,t=i.default.Writer.create()){t.uint32(10).string(e.denom),t.uint32(16).uint32(e.exponent);for(const r of e.aliases)t.uint32(26).string(r);return t},decode(e,t){const r=e instanceof Uint8Array?new i.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},f);for(o.aliases=[];r.pos>>3){case 1:o.denom=r.string();break;case 2:o.exponent=r.uint32();break;case 3:o.aliases.push(r.string());break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},f);if(t.aliases=[],void 0!==e.denom&&null!==e.denom?t.denom=String(e.denom):t.denom="",void 0!==e.exponent&&null!==e.exponent?t.exponent=Number(e.exponent):t.exponent=0,void 0!==e.aliases&&null!==e.aliases)for(const r of e.aliases)t.aliases.push(String(r));return t},fromPartial(e){const t=Object.assign({},f);if(t.aliases=[],void 0!==e.denom&&null!==e.denom?t.denom=e.denom:t.denom="",void 0!==e.exponent&&null!==e.exponent?t.exponent=e.exponent:t.exponent=0,void 0!==e.aliases&&null!==e.aliases)for(const r of e.aliases)t.aliases.push(r);return t},toJSON(e){const t={};return void 0!==e.denom&&(t.denom=e.denom),void 0!==e.exponent&&(t.exponent=e.exponent),e.aliases?t.aliases=e.aliases.map(e=>e):t.aliases=[],t}};const d={description:"",base:"",display:""};t.Metadata={encode(e,r=i.default.Writer.create()){r.uint32(10).string(e.description);for(const n of e.denomUnits)t.DenomUnit.encode(n,r.uint32(18).fork()).ldelim();return r.uint32(26).string(e.base),r.uint32(34).string(e.display),r},decode(e,r){const n=e instanceof Uint8Array?new i.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const s=Object.assign({},d);for(s.denomUnits=[];n.pos>>3){case 1:s.description=n.string();break;case 2:s.denomUnits.push(t.DenomUnit.decode(n,n.uint32()));break;case 3:s.base=n.string();break;case 4:s.display=n.string();break;default:n.skipType(7&e)}}return s},fromJSON(e){const r=Object.assign({},d);if(r.denomUnits=[],void 0!==e.description&&null!==e.description?r.description=String(e.description):r.description="",void 0!==e.denomUnits&&null!==e.denomUnits)for(const n of e.denomUnits)r.denomUnits.push(t.DenomUnit.fromJSON(n));return void 0!==e.base&&null!==e.base?r.base=String(e.base):r.base="",void 0!==e.display&&null!==e.display?r.display=String(e.display):r.display="",r},fromPartial(e){const r=Object.assign({},d);if(r.denomUnits=[],void 0!==e.description&&null!==e.description?r.description=e.description:r.description="",void 0!==e.denomUnits&&null!==e.denomUnits)for(const n of e.denomUnits)r.denomUnits.push(t.DenomUnit.fromPartial(n));return void 0!==e.base&&null!==e.base?r.base=e.base:r.base="",void 0!==e.display&&null!==e.display?r.display=e.display:r.display="",r},toJSON(e){const r={};return void 0!==e.description&&(r.description=e.description),e.denomUnits?r.denomUnits=e.denomUnits.map(e=>e?t.DenomUnit.toJSON(e):void 0):r.denomUnits=[],void 0!==e.base&&(r.base=e.base),void 0!==e.display&&(r.display=e.display),r}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectSecp256k1HdWallet=void 0;const n=r(50),o=r(114),i=r(358),s=r(193);class a{constructor(e,t,r,n,o){this.secret=e,this.accounts=[{hdPath:t,prefix:o}],this.privkey=r,this.pubkey=n}static async fromMnemonic(e,t=i.makeCosmoshubPath(0),r="cosmos"){const o=new n.EnglishMnemonic(e),s=await n.Bip39.mnemonicToSeed(o),{privkey:c}=n.Slip10.derivePath(n.Slip10Curve.Secp256k1,s,t),u=(await n.Secp256k1.makeKeypair(c)).pubkey;return new a(o,t,c,n.Secp256k1.compressPubkey(u),r)}static async generate(e=12,t=i.makeCosmoshubPath(0),r="cosmos"){const o=4*Math.floor(11*e/33),s=n.Random.getBytes(o),c=n.Bip39.encode(s);return a.fromMnemonic(c.toString(),t,r)}get mnemonic(){return this.secret.toString()}get address(){return o.rawSecp256k1PubkeyToAddress(this.pubkey,this.accounts[0].prefix)}async getAccounts(){return[{algo:"secp256k1",address:this.address,pubkey:this.pubkey}]}async signDirect(e,t){const r=s.makeSignBytes(t);if(e!==this.address)throw new Error(`Address ${e} not found in wallet`);const i=n.sha256(r),a=await n.Secp256k1.createSignature(i,this.privkey),c=new Uint8Array([...a.r(32),...a.s(32)]);return{signed:t,signature:o.encodeSecp256k1Signature(this.pubkey,c)}}}t.DirectSecp256k1HdWallet=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectSecp256k1Wallet=void 0;const n=r(50),o=r(114),i=r(193);class s{constructor(e,t,r){this.privkey=e,this.pubkey=t,this.prefix=r}static async fromKey(e,t="cosmos"){const r=(await n.Secp256k1.makeKeypair(e)).pubkey;return new s(e,n.Secp256k1.compressPubkey(r),t)}get address(){return o.rawSecp256k1PubkeyToAddress(this.pubkey,this.prefix)}async getAccounts(){return[{algo:"secp256k1",address:this.address,pubkey:this.pubkey}]}async signDirect(e,t){const r=i.makeSignBytes(t);if(e!==this.address)throw new Error(`Address ${e} not found in wallet`);const s=n.sha256(r),a=await n.Secp256k1.createSignature(s,this.privkey),c=new Uint8Array([...a.r(32),...a.s(32)]);return{signed:t,signature:o.encodeSecp256k1Signature(this.pubkey,c)}}}t.DirectSecp256k1Wallet=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodePubkey=t.encodePubkey=void 0;const n=r(39),o=r(114),i=r(726),s=r(138);t.encodePubkey=function(e){switch(e.type){case"tendermint/PubKeySecp256k1":{const t=i.PubKey.fromPartial({key:n.fromBase64(e.value)});return s.Any.fromPartial({typeUrl:"/cosmos.crypto.secp256k1.PubKey",value:Uint8Array.from(i.PubKey.encode(t).finish())})}default:throw new Error(`Pubkey type ${e.type} not recognized`)}},t.decodePubkey=function(e){if(!e||!e.value)return null;switch(e.typeUrl){case"/cosmos.crypto.secp256k1.PubKey":{const{key:t}=i.PubKey.decode(e.value);return o.encodeSecp256k1Pubkey(t)}default:throw new Error(`Pubkey type_url ${e.typeUrl} not recognized`)}}},function(e,t,r){"use strict";(function(e){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PrivKey=t.PubKey=t.protobufPackage=void 0;const o=n(r(48));t.protobufPackage="cosmos.crypto.secp256k1";const i={};t.PubKey={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).bytes(e.key),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},i);for(;r.pos>>3){case 1:s.key=r.bytes();break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},i);return void 0!==e.key&&null!==e.key&&(t.key=u(e.key)),t},fromPartial(e){const t=Object.assign({},i);return void 0!==e.key&&null!==e.key?t.key=e.key:t.key=new Uint8Array,t},toJSON(e){const t={};return void 0!==e.key&&(t.key=f(void 0!==e.key?e.key:new Uint8Array)),t}};const s={};t.PrivKey={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).bytes(e.key),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const i=Object.assign({},s);for(;r.pos>>3){case 1:i.key=r.bytes();break;default:r.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},s);return void 0!==e.key&&null!==e.key&&(t.key=u(e.key)),t},fromPartial(e){const t=Object.assign({},s);return void 0!==e.key&&null!==e.key?t.key=e.key:t.key=new Uint8Array,t},toJSON(e){const t={};return void 0!==e.key&&(t.key=f(void 0!==e.key?e.key:new Uint8Array)),t}};var a=(()=>{if(void 0!==a)return a;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const c=a.atob||(e=>a.Buffer.from(e,"base64").toString("binary"));function u(e){const t=c(e),r=new Uint8Array(t.length);for(let e=0;ea.Buffer.from(e,"binary").toString("base64"));function f(e){const t=[];for(let r=0;r(t,r)=>{switch(r.constructor){case o.RestoreKeyRingMsg:return a(e)(t,r);case o.DeleteKeyRingMsg:return c(e)(t,r);case o.UpdateNameKeyRingMsg:return u(e)(t,r);case o.ShowKeyRingMsg:return l(e)(t,r);case o.CreateMnemonicKeyMsg:return f(e)(t,r);case o.AddMnemonicKeyMsg:return d(e)(t,r);case o.CreatePrivateKeyMsg:return h(e)(t,r);case o.AddPrivateKeyMsg:return p(e)(t,r);case o.CreateLedgerKeyMsg:return g(e)(t,r);case o.AddLedgerKeyMsg:return m(e)(t,r);case o.LockKeyRingMsg:return y(e)(t,r);case o.UnlockKeyRingMsg:return b(e)(t,r);case o.GetKeyMsg:return v(e)(t,r);case o.RequestSignAminoMsg:return w(e)(t,r);case o.RequestSignDirectMsg:return _(e)(t,r);case o.GetKeyRingTypeMsg:return k(e)(t,r);case o.GetMultiKeyStoreInfoMsg:return O(e)(t,r);case o.ChangeKeyRingMsg:return S(e)(t,r);case o.GetIsKeyStoreCoinTypeSetMsg:return E(e)(t,r);case o.SetKeyStoreCoinTypeMsg:return j(e)(t,r);default:throw new Error("Unknown msg type")}};const a=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.restore()})),c=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.deleteKeyRing(r.index,r.password)})),u=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.updateNameKeyRing(r.index,r.name)})),l=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.showKeyRing(r.index,r.password)})),f=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return{status:yield e.createMnemonicKey(r.mnemonic,r.password,r.meta,r.bip44HDPath)}})),d=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.addMnemonicKey(r.mnemonic,r.meta,r.bip44HDPath)})),h=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return{status:yield e.createPrivateKey(r.privateKey,r.password,r.meta)}})),p=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.addPrivateKey(r.privateKey,r.meta)})),g=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return{status:yield e.createLedgerKey(t,r.password,r.meta,r.bip44HDPath)}})),m=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.addLedgerKey(t,r.meta,r.bip44HDPath)})),y=e=>()=>({status:e.lock()}),b=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return{status:yield e.unlock(r.password)}})),v=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin);const n=yield e.getKey(r.chainId);return{name:e.getKeyStoreMeta("name"),algo:"secp256k1",pubKey:n.pubKey,address:n.address,bech32Address:new i.Bech32Address(n.address).toBech32((yield e.chainsService.getChainInfo(r.chainId)).bech32Config.bech32PrefixAccAddr),isNanoLedger:n.isNanoLedger}})),w=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.requestSignAmino(t,r.chainId,r.signer,r.signDoc,r.signOptions)})),_=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin);const n=s.cosmos.tx.v1beta1.SignDoc.decode(r.signDocBytes),o=yield e.requestSignDirect(t,r.chainId,r.signer,n,r.signOptions);return{signedBytes:s.cosmos.tx.v1beta1.SignDoc.encode(o.signed).finish(),signature:o.signature}})),k=e=>()=>e.getKeyRingType(),O=e=>()=>e.getMultiKeyStoreInfo(),S=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.changeKeyStoreFromMultiKeyStore(r.index)})),E=e=>(t,r)=>e.getKeyStoreBIP44Selectables(r.chainId,r.paths),j=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.setKeyStoreCoinType(r.chainId,r.coinType),e.keyRingStatus}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(359),t),o(r(803),t)},function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(r(194));t.logs=i;const s=n(r(104));t.types=s;var a=r(737);t.pubkeyToAddress=a.pubkeyToAddress;var c=r(760);t.unmarshalTx=c.unmarshalTx;var u=r(196);t.makeSignBytes=u.makeSignBytes,t.marshalTx=u.marshalTx;var l=r(197);t.BroadcastMode=l.BroadcastMode,t.RestClient=l.RestClient;var f=r(377);t.CosmWasmClient=f.CosmWasmClient;var d=r(799);t.makeCosmoshubPath=d.makeSecretNetworkPath,t.Secp256k1Pen=d.Secp256k1Pen;var h=r(203);t.decodeBech32Pubkey=h.decodeBech32Pubkey,t.encodeBech32Pubkey=h.encodeBech32Pubkey,t.encodeSecp256k1Pubkey=h.encodeSecp256k1Pubkey;var p=r(800);t.findSequenceForSignedTx=p.findSequenceForSignedTx;var g=r(204);t.encodeSecp256k1Signature=g.encodeSecp256k1Signature,t.decodeSignature=g.decodeSignature;var m=r(801);t.SigningCosmWasmClient=m.SigningCosmWasmClient;const y=o(r(368));t.EnigmaUtils=y.default},function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(94));t.Bech32=class{static encode(e,t){return o.encode(e,o.toWords(t))}static decode(e){const t=o.decode(e);return{prefix:t.prefix,data:new Uint8Array(o.fromWords(t.words))}}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6));class i{constructor(e,t){this.data={atomics:new o.default(e),fractionalDigits:t}}static fromUserInput(e,t){i.verifyFractionalDigits(t);const r=e.match(/[^0-9.]/);if(r)throw new Error("Invalid character at position "+(r.index+1));let n,o;if(-1===e.search(/\./))n=e,o="";else{const t=e.split(".");switch(t.length){case 0:case 1:throw new Error("Fewer than two elements in split result. This must not happen here.");case 2:if(!t[1])throw new Error("Fractional part missing");n=t[0],o=t[1].replace(/0+$/,"");break;default:throw new Error("More than one separator found")}}if(o.length>t)throw new Error("Got more fractional digits than supported");const s=`${n}${o.padEnd(t,"0")}`;return new i(s,t)}static fromAtomics(e,t){return i.verifyFractionalDigits(t),new i(e,t)}static verifyFractionalDigits(e){if(!Number.isInteger(e))throw new Error("Fractional digits is not an integer");if(e<0)throw new Error("Fractional digits must not be negative");if(e>100)throw new Error("Fractional digits must not exceed 100")}get atomics(){return this.data.atomics.toString()}get fractionalDigits(){return this.data.fractionalDigits}toString(){const e=new o.default(10).pow(new o.default(this.data.fractionalDigits)),t=this.data.atomics.div(e),r=this.data.atomics.mod(e);if(r.isZero())return t.toString();{const e=r.toString().padStart(this.data.fractionalDigits,"0").replace(/0+$/,"");return`${t.toString()}.${e}`}}toFloatApproximation(){const e=Number(this.toString());if(Number.isNaN(e))throw new Error("Conversion to number failed");return e}plus(e){if(this.fractionalDigits!==e.fractionalDigits)throw new Error("Fractional digits do not match");const t=this.data.atomics.add(new o.default(e.atomics));return new i(t.toString(),this.fractionalDigits)}}t.Decimal=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6)),i=new o.default("18446744073709551615",10,"be");class s{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(e<0||e>4294967295)throw new Error("Input not in uint32 range: "+e.toString());this.data=e}static fromBigEndianBytes(e){if(4!==e.length)throw new Error("Invalid input length. Expected 4 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);return new s(e[0]*2**24+65536*e[1]+256*e[2]+e[3])}toBytesBigEndian(){return new Uint8Array([255&Math.floor(this.data/2**24),255&Math.floor(this.data/65536),255&Math.floor(this.data/256),255&Math.floor(this.data/1)])}toBytesLittleEndian(){return new Uint8Array([255&Math.floor(this.data/1),255&Math.floor(this.data/256),255&Math.floor(this.data/65536),255&Math.floor(this.data/2**24)])}toNumber(){return this.data}toString(){return this.data.toString()}}t.Uint32=s;class a{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(eNumber.MAX_SAFE_INTEGER)throw new Error("Input not in int53 range: "+e.toString());this.data=e}static fromString(e){if(!e.match(/^-?[0-9]+$/))throw new Error("Invalid string format");return new a(Number.parseInt(e,10))}toNumber(){return this.data}toString(){return this.data.toString()}}t.Int53=a;class c{constructor(e){const t=new a(e);if(t.toNumber()<0)throw new Error("Input is negative");this.data=t}static fromString(e){const t=a.fromString(e);return new c(t.toNumber())}toNumber(){return this.data.toNumber()}toString(){return this.data.toString()}}t.Uint53=c;class u{constructor(e){if(e.isNeg())throw new Error("Input is negative");if(e.gt(i))throw new Error("Input exceeds uint64 range");this.data=e}static fromBytesBigEndian(e){if(8!==e.length)throw new Error("Invalid input length. Expected 8 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);const t=[];for(let r=0;re[t]).every(n)}Object.defineProperty(t,"__esModule",{value:!0}),t.isJsonCompatibleValue=n,t.isJsonCompatibleArray=o,t.isJsonCompatibleDictionary=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(360),o=r(362),i="string:",s="bytes:";class a{static toJson(e){if("number"==typeof e||"boolean"==typeof e)return e;if(null===e)return null;if("string"==typeof e)return`${i}${e}`;if(o.isUint8Array(e))return`${s}${n.Encoding.toHex(e)}`;if(Array.isArray(e))return e.map(a.toJson);if("object"==typeof e&&null!==e&&"[object Object]"===Object.prototype.toString.call(e)){const t={};for(const r of Object.keys(e)){const n=e[r];void 0!==n&&(t[r]=a.toJson(n))}return t}throw new Error("Cannot encode type to JSON")}static fromJson(e){if("number"==typeof e||"boolean"==typeof e)return e;if(null===e)return null;if("string"==typeof e){if(e.startsWith(i))return e.slice(i.length);if(e.startsWith(s))return n.Encoding.fromHex(e.slice(s.length));throw new Error("Found string with unknown prefix")}if(Array.isArray(e))return e.map(a.fromJson);if("object"==typeof e&&null!==e&&"[object Object]"===Object.prototype.toString.call(e)){const t={};for(const r of Object.keys(e))t[r]=a.fromJson(e[r]);return t}throw new Error("Cannot decode type from JSON")}}t.TransactionEncoder=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(105),o=r(42),i=r(104),{fromBase64:s}=o.Encoding;function a(e,t){if(33!==e.length)throw new Error("Invalid Secp256k1 pubkey length (compressed): "+e.length);const r=new n.Sha256(e).digest(),i=new n.Ripemd160(r).digest();return o.Bech32.encode(t,i)}t.rawSecp256k1PubkeyToAddress=a,t.pubkeyToAddress=function(e,t){const r=s(e.value);switch(e.type){case i.pubkeyType.secp256k1:return a(r,t);case i.pubkeyType.ed25519:{if(32!==r.length)throw new Error("Invalid Ed25519 pubkey length: "+r.length);const e=new n.Sha256(r).digest();return o.Bech32.encode(t,e.slice(0,20))}case i.pubkeyType.sr25519:{if(32!==r.length)throw new Error("Invalid Sr25519 pubkey length: "+r.length);const e=new n.Sha256(r).digest();return o.Bech32.encode(t,e.slice(0,20))}default:throw new Error("Unrecognized public key algorithm")}}},function(e,t,r){"use strict";(function(e){var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const o=r(139),i=n(r(69)),s=r(97),a=n(r(311)),c=r(364);t.Bip39=class{static encode(e){if(-1===[16,20,24,28,32].indexOf(e.length))throw new Error("invalid input length");return new c.EnglishMnemonic(i.entropyToMnemonic(o.Encoding.toHex(e)))}static decode(e){return o.Encoding.fromHex(i.mnemonicToEntropy(e.toString()))}static async mnemonicToSeed(t,r){const n=e.from(a.nfkd(t.toString()),"utf8"),o="mnemonic"+(r?a.nfkd(r):""),i=e.from(o,"utf8");return this.pbkdf2(n,i,2048,64,"sha512")}static async pbkdf2(e,t,r,n,o){return new Promise((i,a)=>{s.pbkdf2(e,t,r,n,o,(e,t)=>{e?a(e):i(new Uint8Array(t))})})}}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(740);Object.defineProperty(t,"Decimal",{enumerable:!0,get:function(){return n.Decimal}});var o=r(741);Object.defineProperty(t,"Int53",{enumerable:!0,get:function(){return o.Int53}}),Object.defineProperty(t,"Uint32",{enumerable:!0,get:function(){return o.Uint32}}),Object.defineProperty(t,"Uint53",{enumerable:!0,get:function(){return o.Uint53}}),Object.defineProperty(t,"Uint64",{enumerable:!0,get:function(){return o.Uint64}})},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Decimal=void 0;const o=n(r(6));class i{constructor(e,t){this.data={atomics:new o.default(e),fractionalDigits:t}}static fromUserInput(e,t){i.verifyFractionalDigits(t);const r=e.match(/[^0-9.]/);if(r)throw new Error("Invalid character at position "+(r.index+1));let n,o;if(-1===e.search(/\./))n=e,o="";else{const t=e.split(".");switch(t.length){case 0:case 1:throw new Error("Fewer than two elements in split result. This must not happen here.");case 2:if(!t[1])throw new Error("Fractional part missing");n=t[0],o=t[1].replace(/0+$/,"");break;default:throw new Error("More than one separator found")}}if(o.length>t)throw new Error("Got more fractional digits than supported");const s=`${n}${o.padEnd(t,"0")}`;return new i(s,t)}static fromAtomics(e,t){return i.verifyFractionalDigits(t),new i(e,t)}static verifyFractionalDigits(e){if(!Number.isInteger(e))throw new Error("Fractional digits is not an integer");if(e<0)throw new Error("Fractional digits must not be negative");if(e>100)throw new Error("Fractional digits must not exceed 100")}static compare(e,t){if(e.fractionalDigits!==t.fractionalDigits)throw new Error("Fractional digits do not match");return e.data.atomics.cmp(new o.default(t.atomics))}get atomics(){return this.data.atomics.toString()}get fractionalDigits(){return this.data.fractionalDigits}toString(){const e=new o.default(10).pow(new o.default(this.data.fractionalDigits)),t=this.data.atomics.div(e),r=this.data.atomics.mod(e);if(r.isZero())return t.toString();{const e=r.toString().padStart(this.data.fractionalDigits,"0").replace(/0+$/,"");return`${t.toString()}.${e}`}}toFloatApproximation(){const e=Number(this.toString());if(Number.isNaN(e))throw new Error("Conversion to number failed");return e}plus(e){if(this.fractionalDigits!==e.fractionalDigits)throw new Error("Fractional digits do not match");const t=this.data.atomics.add(new o.default(e.atomics));return new i(t.toString(),this.fractionalDigits)}equals(e){return 0===i.compare(this,e)}isLessThan(e){return i.compare(this,e)<0}isLessThanOrEqual(e){return i.compare(this,e)<=0}isGreaterThan(e){return i.compare(this,e)>0}isGreaterThanOrEqual(e){return i.compare(this,e)>=0}}t.Decimal=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Uint64=t.Uint53=t.Int53=t.Uint32=void 0;const o=n(r(6)),i=new o.default("18446744073709551615",10,"be");class s{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(e<0||e>4294967295)throw new Error("Input not in uint32 range: "+e.toString());this.data=e}static fromBigEndianBytes(e){if(4!==e.length)throw new Error("Invalid input length. Expected 4 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);return new s(e[0]*2**24+65536*e[1]+256*e[2]+e[3])}toBytesBigEndian(){return new Uint8Array([255&Math.floor(this.data/2**24),255&Math.floor(this.data/65536),255&Math.floor(this.data/256),255&Math.floor(this.data/1)])}toBytesLittleEndian(){return new Uint8Array([255&Math.floor(this.data/1),255&Math.floor(this.data/256),255&Math.floor(this.data/65536),255&Math.floor(this.data/2**24)])}toNumber(){return this.data}toString(){return this.data.toString()}}t.Uint32=s;class a{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(eNumber.MAX_SAFE_INTEGER)throw new Error("Input not in int53 range: "+e.toString());this.data=e}static fromString(e){if(!e.match(/^-?[0-9]+$/))throw new Error("Invalid string format");return new a(Number.parseInt(e,10))}toNumber(){return this.data}toString(){return this.data.toString()}}t.Int53=a;class c{constructor(e){const t=new a(e);if(t.toNumber()<0)throw new Error("Input is negative");this.data=t}static fromString(e){const t=a.fromString(e);return new c(t.toNumber())}toNumber(){return this.data.toNumber()}toString(){return this.data.toString()}}t.Uint53=c;class u{constructor(e){if(e.isNeg())throw new Error("Input is negative");if(e.gt(i))throw new Error("Input exceeds uint64 range");this.data=e}static fromBytesBigEndian(e){if(8!==e.length)throw new Error("Invalid input length. Expected 8 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);const t=[];for(let r=0;r{const t=e.charCodeAt(0);if(t<32||t>126)throw new Error("Cannot encode character that is out of printable ASCII range: "+t);return t}))},t.fromAscii=function(e){return(t=Array.from(e),t.map(e=>{if(e<32||e>126)throw new Error("Cannot decode character that is out of printable ASCII range: "+e);return String.fromCharCode(e)})).join("");var t}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.fromBase64=t.toBase64=void 0;const s=i(r(117));t.toBase64=function(e){return s.fromByteArray(e)},t.fromBase64=function(e){if(!e.match(/^[a-zA-Z0-9+/]*={0,2}$/))throw new Error("Invalid base64 string format");return s.toByteArray(e)}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Bech32=void 0;const s=i(r(94));t.Bech32=class{static encode(e,t){return s.encode(e,s.toWords(t))}static decode(e){const t=s.decode(e);return{prefix:t.prefix,data:new Uint8Array(s.fromWords(t.words))}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromHex=t.toHex=void 0,t.toHex=function(e){let t="";for(const r of e)t+=("0"+r.toString(16)).slice(-2);return t},t.fromHex=function(e){if(e.length%2!=0)throw new Error("hex string length must be a multiple of 2");const t=[];for(let r=0;rsetTimeout(t,e))}},function(e,t,r){"use strict";(function(e){function r(e){return"object"==typeof e&&null!==e}Object.defineProperty(t,"__esModule",{value:!0}),t.isUint8Array=t.isNonNullObject=void 0,t.isNonNullObject=r,t.isUint8Array=function(t){return!!r(t)&&("[object Uint8Array]"===Object.prototype.toString.call(t)&&(void 0===e||void 0===e.isBuffer||!e.isBuffer(t)))}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";function n(e){return!("string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e&&null!==e&&!o(e)&&!i(e))}function o(e){if(!Array.isArray(e))return!1;for(const t of e)if(!n(t))return!1;return!0}function i(e){if("object"!=typeof e||null===e)return!1;if("[object Object]"!==Object.prototype.toString.call(e))return!1;return Object.getOwnPropertyNames(e).map(t=>e[t]).every(n)}Object.defineProperty(t,"__esModule",{value:!0}),t.isJsonCompatibleValue=n,t.isJsonCompatibleArray=o,t.isJsonCompatibleDictionary=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(195),o=r(363),i="string:",s="bytes:";class a{static toJson(e){if("number"==typeof e||"boolean"==typeof e)return e;if(null===e)return null;if("string"==typeof e)return`${i}${e}`;if(o.isUint8Array(e))return`${s}${n.toHex(e)}`;if(Array.isArray(e))return e.map(a.toJson);if("object"==typeof e&&null!==e&&"[object Object]"===Object.prototype.toString.call(e)){const t={};for(const r of Object.keys(e)){const n=e[r];void 0!==n&&(t[r]=a.toJson(n))}return t}throw new Error("Cannot encode type to JSON")}static fromJson(e){if("number"==typeof e||"boolean"==typeof e)return e;if(null===e)return null;if("string"==typeof e){if(e.startsWith(i))return e.slice(i.length);if(e.startsWith(s))return n.fromHex(e.slice(s.length));throw new Error("Found string with unknown prefix")}if(Array.isArray(e))return e.map(a.fromJson);if("object"==typeof e&&null!==e&&"[object Object]"===Object.prototype.toString.call(e)){const t={};for(const r of Object.keys(e))t[r]=a.fromJson(e[r]);return t}throw new Error("Cannot decode type from JSON")}}t.TransactionEncoder=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(195);t.Encoding=class{static toHex(e){return n.toHex(e)}static fromHex(e){return n.fromHex(e)}static toBase64(e){return n.toBase64(e)}static fromBase64(e){return n.fromBase64(e)}static toAscii(e){return n.toAscii(e)}static fromAscii(e){return n.fromAscii(e)}static toUtf8(e){return n.toUtf8(e)}static fromUtf8(e){return n.fromUtf8(e)}static fromRfc3339(e){return n.fromRfc3339(e)}static toRfc3339(e){return n.toRfc3339(e)}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(222));t.Keccak256=class{constructor(e){this.blockSize=64,this.impl=o.default.keccak256.create(),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(314));t.Argon2id=class{static async execute(e,t,r){return await o.default.ready,o.default.crypto_pwhash(r.outputLength,e,t,r.opsLimit,1024*r.memLimitKib,o.default.crypto_pwhash_ALG_ARGON2ID13)}};class i{constructor(e,t){this.privkey=e,this.pubkey=t}static fromLibsodiumPrivkey(e){if(64!==e.length)throw new Error(`Unexpected key length ${e.length}. Must be 64.`);return new i(e.slice(0,32),e.slice(32,64))}toLibsodiumPrivkey(){return new Uint8Array([...this.privkey,...this.pubkey])}}t.Ed25519Keypair=i;t.Ed25519=class{static async makeKeypair(e){await o.default.ready;const t=o.default.crypto_sign_seed_keypair(e);return i.fromLibsodiumPrivkey(t.privateKey)}static async createSignature(e,t){return await o.default.ready,o.default.crypto_sign_detached(e,t.toLibsodiumPrivkey())}static async verifySignature(e,t,r){return await o.default.ready,o.default.crypto_sign_verify_detached(e,t,r)}};t.Xchacha20poly1305Ietf=class{static async encrypt(e,t,r){await o.default.ready;return o.default.crypto_aead_xchacha20poly1305_ietf_encrypt(e,null,null,r,t)}static async decrypt(e,t,r){await o.default.ready;return o.default.crypto_aead_xchacha20poly1305_ietf_decrypt(null,e,null,r,t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Random=class{static getBytes(e){try{const t="object"==typeof window?window:self,r=void 0!==t.crypto?t.crypto:t.msCrypto,n=new Uint8Array(e);return r.getRandomValues(n),n}catch(t){try{const t=r(72);return new Uint8Array([...t.randomBytes(e)])}catch(e){throw new Error("No secure random number generator found")}}}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(139),i=n(r(75)),{toHex:s}=o.Encoding;t.Ripemd160=class{constructor(e){this.blockSize=64,this.impl=new i.default,e&&this.update(e)}update(e){return this.impl.update(s(e),"hex"),this}digest(){return Uint8Array.from(this.impl.digest())}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(139),i=n(r(6)),s=n(r(45)),a=r(366),c=new s.default.ec("secp256k1"),u=new i.default("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141","hex");t.Secp256k1=class{static async makeKeypair(e){if(32!==e.length)throw new Error("input data is not a valid secp256k1 private key");const t=c.keyFromPrivate(e);if(!0!==t.validate().result)throw new Error("input data is not a valid secp256k1 private key");if(new i.default(e).gte(u))throw new Error("input data is not a valid secp256k1 private key");return{privkey:o.Encoding.fromHex(t.getPrivate("hex")),pubkey:o.Encoding.fromHex(t.getPublic().encode("hex"))}}static async createSignature(e,t){if(0===e.length)throw new Error("Message hash must not be empty");if(e.length>32)throw new Error("Message hash length must not exceed 32 bytes");const r=c.keyFromPrivate(t).sign(e,{canonical:!0});return new a.ExtendedSecp256k1Signature(Uint8Array.from(r.r.toArray()),Uint8Array.from(r.s.toArray()),r.recoveryParam)}static async verifySignature(e,t,r){if(0===t.length)throw new Error("Message hash must not be empty");if(t.length>32)throw new Error("Message hash length must not exceed 32 bytes");const n=c.keyFromPublic(r);try{return n.verify(t,e.toDer())}catch(e){return!1}}static recoverPubkey(e,t){const r={r:o.Encoding.toHex(e.r()),s:o.Encoding.toHex(e.s())},n=c.recoverPubKey(t,r,e.recovery),i=c.keyFromPublic(n);return o.Encoding.fromHex(i.getPublic(!1,"hex"))}static compressPubkey(e){switch(e.length){case 33:return e;case 65:return Uint8Array.from(c.keyFromPublic(e).pub.encodeCompressed());default:throw new Error("Invalid pubkey length")}}static trimRecoveryByte(e){switch(e.length){case 64:return e;case 65:return e.slice(0,64);default:throw new Error("Invalid signature length")}}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(139),i=n(r(6)),s=n(r(45)),a=r(365),c=r(367);var u;!function(e){e.Secp256k1="Bitcoin seed",e.Ed25519="ed25519 seed"}(u=t.Slip10Curve||(t.Slip10Curve={})),t.slip10CurveFromString=function(e){switch(e){case u.Ed25519:return u.Ed25519;case u.Secp256k1:return u.Secp256k1;default:throw new Error(`Unknown curve string: '${e}'`)}};class l extends o.Uint32{static hardened(e){return new l(e+2**31)}static normal(e){return new l(e)}isHardened(){return this.data>=2**31}}t.Slip10RawIndex=l;const f=new s.default.ec("secp256k1");class d{static derivePath(e,t,r){let n=this.master(e,t);for(const t of r)n=this.child(e,n.privkey,n.chainCode,t);return n}static master(e,t){const r=new a.Hmac(c.Sha512,o.Encoding.toAscii(e)).update(t).digest(),n=r.slice(0,32),i=r.slice(32,64);return e!==u.Ed25519&&(this.isZero(n)||this.isGteN(e,n))?this.master(e,r):{chainCode:i,privkey:n}}static child(e,t,r,n){let o;if(n.isHardened()){const e=new Uint8Array([0,...t,...n.toBytesBigEndian()]);o=new a.Hmac(c.Sha512,r).update(e).digest()}else{if(e===u.Ed25519)throw new Error("Normal keys are not allowed with ed25519");{const s=new Uint8Array([...d.serializedPoint(e,new i.default(t)),...n.toBytesBigEndian()]);o=new a.Hmac(c.Sha512,r).update(s).digest()}}return this.childImpl(e,t,r,n,o)}static serializedPoint(e,t){switch(e){case u.Secp256k1:return o.Encoding.fromHex(f.g.mul(t).encodeCompressed("hex"));default:throw new Error("curve not supported")}}static childImpl(e,t,r,n,o){const s=o.slice(0,32),l=o.slice(32,64),f=l;if(e===u.Ed25519)return{chainCode:f,privkey:s};const d=this.n(e),h=new i.default(s).add(new i.default(t)).mod(d),p=Uint8Array.from(h.toArray("be",32));if(this.isGteN(e,s)||this.isZero(p)){const o=new a.Hmac(c.Sha512,r).update(new Uint8Array([1,...l,...n.toBytesBigEndian()])).digest();return this.childImpl(e,t,r,n,o)}return{chainCode:f,privkey:p}}static isZero(e){return e.every(e=>0===e)}static isGteN(e,t){return new i.default(t).gte(this.n(e))}static n(e){switch(e){case u.Secp256k1:return new i.default("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141",16);default:throw new Error("curve not supported")}}}t.Slip10=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(42),o=r(104);t.unmarshalTx=function(e){const t=JSON.parse(n.Encoding.fromUtf8(e));if(!o.isStdTx(t))throw new Error("Must be json encoded StdTx");return t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}(r(198));var n=r(369);t.AEAD=n.AEAD;var o=r(370);t.SIV=o.SIV;var i=r(765);t.StreamEncryptor=i.StreamEncryptor,t.StreamDecryptor=i.StreamDecryptor;var s=r(371);t.CMAC=s.CMAC;var a=r(372);t.PMAC=a.PMAC;var c=r(766);t.PolyfillCryptoProvider=c.PolyfillCryptoProvider;var u=r(140);t.WebCryptoProvider=u.WebCryptoProvider},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(106);class i{constructor(e,t){this._crypto=e,this._key=t,this._iv=new o.default,this._emptyPromise=Promise.resolve(this)}static importKey(e,t){return n(this,void 0,void 0,(function*(){if(16!==t.length&&32!==t.length)throw new Error(`Miscreant: invalid key length: ${t.length} (expected 16 or 32 bytes)`);const r=yield e.subtle.importKey("raw",t,"AES-CBC",!1,["encrypt"]);return new i(e,r)}))}clear(){return this}encryptBlock(e){return n(this,void 0,void 0,(function*(){const t={name:"AES-CBC",iv:this._iv.data},r=yield this._crypto.subtle.encrypt(t,this._key,e.data);return e.data.set(new Uint8Array(r,0,o.default.SIZE)),this._emptyPromise}))}}t.default=i},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});class o{constructor(e,t){this.key=e,this.crypto=t}static importKey(e,t){return n(this,void 0,void 0,(function*(){if(16!==t.length&&32!==t.length)throw new Error(`Miscreant: invalid key length: ${t.length} (expected 16 or 32 bytes)`);const r=yield e.subtle.importKey("raw",t,"AES-CTR",!1,["encrypt"]);return new o(r,e)}))}encryptCtr(e,t){return n(this,void 0,void 0,(function*(){const r=yield this.crypto.subtle.encrypt({name:"AES-CTR",counter:e,length:16},this.key,t);return new Uint8Array(r)}))}clear(){return this}}t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=new Uint8Array([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0]);t.ctz=function(e){return n[e]}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(369),i=r(140);t.NONCE_SIZE=8,t.LAST_BLOCK_FLAG=1,t.COUNTER_MAX=4294967295;class s{static importKey(e,t,r,a=new i.WebCryptoProvider){return n(this,void 0,void 0,(function*(){return new s(yield o.AEAD.importKey(e,r,a),t)}))}constructor(e,t){this._aead=e,this._nonce_encoder=new c(t)}seal(e,t=!1,r=new Uint8Array(0)){return n(this,void 0,void 0,(function*(){return this._aead.seal(e,this._nonce_encoder.next(t),r)}))}clear(){return this._aead.clear(),this}}t.StreamEncryptor=s;class a{static importKey(e,t,r,s=new i.WebCryptoProvider){return n(this,void 0,void 0,(function*(){return new a(yield o.AEAD.importKey(e,r,s),t)}))}constructor(e,t){this._aead=e,this._nonce_encoder=new c(t)}open(e,t=!1,r=new Uint8Array(0)){return n(this,void 0,void 0,(function*(){return this._aead.open(e,this._nonce_encoder.next(t),r)}))}clear(){return this._aead.clear(),this}}t.StreamDecryptor=a;class c{constructor(e){if(e.length!==t.NONCE_SIZE)throw new Error("STREAM: nonce must be 8-bits (got "+e.length);this.buffer=new ArrayBuffer(t.NONCE_SIZE+4+1),this.view=new DataView(this.buffer),this.array=new Uint8Array(this.buffer),this.array.set(e),this.counter=0,this.finished=!1}next(e){if(this.finished)throw new Error("STREAM: already finished");if(this.view.setInt32(8,this.counter,!1),e)this.view.setInt8(12,t.LAST_BLOCK_FLAG),this.finished=!0;else if(this.counter+=1,this.counter>t.COUNTER_MAX)throw new Error("STREAM counter overflowed");return this.array}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(767),i=r(768);t.PolyfillCryptoProvider=class{constructor(){}importBlockCipherKey(e){return n(this,void 0,void 0,(function*(){return new o.default(e)}))}importCTRKey(e){return n(this,void 0,void 0,(function*(){return new i.default(new o.default(e))}))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(200),o=new Uint8Array([1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47]),i=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]),s=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]);let a,c,u,l,f,d,h,p,g=!1;function m(e,t=0){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function y(e,t=new Uint8Array(4),r=0){return t[r+0]=e>>>24,t[r+1]=e>>>16,t[r+2]=e>>>8,t[r+3]=e>>>0,t}function b(e){return i[e>>>24&255]<<24|i[e>>>16&255]<<16|i[e>>>8&255]<<8|i[255&e]}t.default=class{constructor(e){if(g||function(){function e(e,t){let r=e,n=t,o=0;for(let e=1;e<256&&0!==n;e<<=1)0!=(n&e)&&(o^=r,n^=e),r<<=1,0!=(256&r)&&(r^=283);return o}const t=e=>e<<24|e>>>8;a=new Uint32Array(256),c=new Uint32Array(256),u=new Uint32Array(256),l=new Uint32Array(256);for(let r=0;r<256;r++){const n=i[r];let o=e(n,2)<<24|n<<16|n<<8|e(n,3);a[r]=o,o=t(o),c[r]=o,o=t(o),u[r]=o,o=t(o),l[r]=o,o=t(o)}f=new Uint32Array(256),d=new Uint32Array(256),h=new Uint32Array(256),p=new Uint32Array(256);for(let r=0;r<256;r++){const n=s[r];let o=e(n,14)<<24|e(n,9)<<16|e(n,13)<<8|e(n,11);f[r]=o,o=t(o),d[r]=o,o=t(o),h[r]=o,o=t(o),p[r]=o,o=t(o)}g=!0}(),16!==e.length&&32!==e.length)throw new Error(`Miscreant: invalid key length: ${e.length} (expected 16 or 32 bytes)`);this._encKey=function(e){const t=new Uint32Array(e.length+28),r=e.length/4|0,n=t.length;for(let n=0;n>>24)^o[e/r-1]<<24:r>6&&e%r==4&&(n=b(n)),t[e]=t[e-r]^n}var i;return t}(e),this._emptyPromise=Promise.resolve(this)}clear(){return this._encKey&&n.wipe(this._encKey),this}encryptBlock(e){const t=e.data,r=e.data;let n=m(t,0),o=m(t,4),s=m(t,8),f=m(t,12);n^=this._encKey[0],o^=this._encKey[1],s^=this._encKey[2],f^=this._encKey[3];let d=0,h=0,p=0,g=0;const b=this._encKey.length/4-2;let v=4;for(let e=0;e>>24&255]^c[o>>>16&255]^u[s>>>8&255]^l[255&f],h=this._encKey[v+1]^a[o>>>24&255]^c[s>>>16&255]^u[f>>>8&255]^l[255&n],p=this._encKey[v+2]^a[s>>>24&255]^c[f>>>16&255]^u[n>>>8&255]^l[255&o],g=this._encKey[v+3]^a[f>>>24&255]^c[n>>>16&255]^u[o>>>8&255]^l[255&s],v+=4,n=d,o=h,s=p,f=g;return n=i[d>>>24]<<24|i[h>>>16&255]<<16|i[p>>>8&255]<<8|i[255&g],o=i[h>>>24]<<24|i[p>>>16&255]<<16|i[g>>>8&255]<<8|i[255&d],s=i[p>>>24]<<24|i[g>>>16&255]<<16|i[d>>>8&255]<<8|i[255&h],f=i[g>>>24]<<24|i[d>>>16&255]<<16|i[h>>>8&255]<<8|i[255&p],n^=this._encKey[v+0],o^=this._encKey[v+1],s^=this._encKey[v+2],f^=this._encKey[v+3],y(n,r,0),y(o,r,4),y(s,r,8),y(f,r,12),this._emptyPromise}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(106);function i(e){let t=1;for(let r=o.default.SIZE-1;r>=0;r--)t+=255&e.data[r]|0,e.data[r]=255&t,t>>>=8}t.default=class{constructor(e){this._cipher=e,this._counter=new o.default,this._buffer=new o.default}clear(){return this._buffer.clear(),this._counter.clear(),this._cipher.clear(),this}encryptCtr(e,t){return n(this,void 0,void 0,(function*(){if(e.length!==o.default.SIZE)throw new Error("CTR: iv length must be equal to cipher block size");this._counter.data.set(e);let r=o.default.SIZE;const n=new Uint8Array(t.length);for(let e=0;e>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=n>>24&255,e[t+5]=n>>16&255,e[t+6]=n>>8&255,e[t+7]=255&n}function p(e,t,r,n){return function(e,t,r,n,o){var i,s=0;for(i=0;i>>8)-1}(e,t,r,n,32)}function g(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function m(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function y(e,t,r){for(var n,o=~(r-1),i=0;i<16;i++)n=o&(e[i]^t[i]),e[i]^=n,t[i]^=n}function b(e,t){var r,n,i,s=o(),a=o();for(r=0;r<16;r++)a[r]=t[r];for(m(a),m(a),m(a),n=0;n<2;n++){for(s[0]=a[0]-65517,r=1;r<15;r++)s[r]=a[r]-65535-(s[r-1]>>16&1),s[r-1]&=65535;s[15]=a[15]-32767-(s[14]>>16&1),i=s[15]>>16&1,s[14]&=65535,y(a,s,1-i)}for(r=0;r<16;r++)e[2*r]=255&a[r],e[2*r+1]=a[r]>>8}function v(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return b(r,e),b(n,t),p(r,0,n,0)}function w(e){var t=new Uint8Array(32);return b(t,e),1&t[0]}function _(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function k(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function O(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function S(e,t,r){var n,o,i=0,s=0,a=0,c=0,u=0,l=0,f=0,d=0,h=0,p=0,g=0,m=0,y=0,b=0,v=0,w=0,_=0,k=0,O=0,S=0,E=0,j=0,P=0,A=0,x=0,M=0,I=0,C=0,R=0,T=0,N=0,B=r[0],D=r[1],L=r[2],U=r[3],q=r[4],H=r[5],z=r[6],K=r[7],F=r[8],$=r[9],V=r[10],J=r[11],G=r[12],W=r[13],Q=r[14],Z=r[15];i+=(n=t[0])*B,s+=n*D,a+=n*L,c+=n*U,u+=n*q,l+=n*H,f+=n*z,d+=n*K,h+=n*F,p+=n*$,g+=n*V,m+=n*J,y+=n*G,b+=n*W,v+=n*Q,w+=n*Z,s+=(n=t[1])*B,a+=n*D,c+=n*L,u+=n*U,l+=n*q,f+=n*H,d+=n*z,h+=n*K,p+=n*F,g+=n*$,m+=n*V,y+=n*J,b+=n*G,v+=n*W,w+=n*Q,_+=n*Z,a+=(n=t[2])*B,c+=n*D,u+=n*L,l+=n*U,f+=n*q,d+=n*H,h+=n*z,p+=n*K,g+=n*F,m+=n*$,y+=n*V,b+=n*J,v+=n*G,w+=n*W,_+=n*Q,k+=n*Z,c+=(n=t[3])*B,u+=n*D,l+=n*L,f+=n*U,d+=n*q,h+=n*H,p+=n*z,g+=n*K,m+=n*F,y+=n*$,b+=n*V,v+=n*J,w+=n*G,_+=n*W,k+=n*Q,O+=n*Z,u+=(n=t[4])*B,l+=n*D,f+=n*L,d+=n*U,h+=n*q,p+=n*H,g+=n*z,m+=n*K,y+=n*F,b+=n*$,v+=n*V,w+=n*J,_+=n*G,k+=n*W,O+=n*Q,S+=n*Z,l+=(n=t[5])*B,f+=n*D,d+=n*L,h+=n*U,p+=n*q,g+=n*H,m+=n*z,y+=n*K,b+=n*F,v+=n*$,w+=n*V,_+=n*J,k+=n*G,O+=n*W,S+=n*Q,E+=n*Z,f+=(n=t[6])*B,d+=n*D,h+=n*L,p+=n*U,g+=n*q,m+=n*H,y+=n*z,b+=n*K,v+=n*F,w+=n*$,_+=n*V,k+=n*J,O+=n*G,S+=n*W,E+=n*Q,j+=n*Z,d+=(n=t[7])*B,h+=n*D,p+=n*L,g+=n*U,m+=n*q,y+=n*H,b+=n*z,v+=n*K,w+=n*F,_+=n*$,k+=n*V,O+=n*J,S+=n*G,E+=n*W,j+=n*Q,P+=n*Z,h+=(n=t[8])*B,p+=n*D,g+=n*L,m+=n*U,y+=n*q,b+=n*H,v+=n*z,w+=n*K,_+=n*F,k+=n*$,O+=n*V,S+=n*J,E+=n*G,j+=n*W,P+=n*Q,A+=n*Z,p+=(n=t[9])*B,g+=n*D,m+=n*L,y+=n*U,b+=n*q,v+=n*H,w+=n*z,_+=n*K,k+=n*F,O+=n*$,S+=n*V,E+=n*J,j+=n*G,P+=n*W,A+=n*Q,x+=n*Z,g+=(n=t[10])*B,m+=n*D,y+=n*L,b+=n*U,v+=n*q,w+=n*H,_+=n*z,k+=n*K,O+=n*F,S+=n*$,E+=n*V,j+=n*J,P+=n*G,A+=n*W,x+=n*Q,M+=n*Z,m+=(n=t[11])*B,y+=n*D,b+=n*L,v+=n*U,w+=n*q,_+=n*H,k+=n*z,O+=n*K,S+=n*F,E+=n*$,j+=n*V,P+=n*J,A+=n*G,x+=n*W,M+=n*Q,I+=n*Z,y+=(n=t[12])*B,b+=n*D,v+=n*L,w+=n*U,_+=n*q,k+=n*H,O+=n*z,S+=n*K,E+=n*F,j+=n*$,P+=n*V,A+=n*J,x+=n*G,M+=n*W,I+=n*Q,C+=n*Z,b+=(n=t[13])*B,v+=n*D,w+=n*L,_+=n*U,k+=n*q,O+=n*H,S+=n*z,E+=n*K,j+=n*F,P+=n*$,A+=n*V,x+=n*J,M+=n*G,I+=n*W,C+=n*Q,R+=n*Z,v+=(n=t[14])*B,w+=n*D,_+=n*L,k+=n*U,O+=n*q,S+=n*H,E+=n*z,j+=n*K,P+=n*F,A+=n*$,x+=n*V,M+=n*J,I+=n*G,C+=n*W,R+=n*Q,T+=n*Z,w+=(n=t[15])*B,s+=38*(k+=n*L),a+=38*(O+=n*U),c+=38*(S+=n*q),u+=38*(E+=n*H),l+=38*(j+=n*z),f+=38*(P+=n*K),d+=38*(A+=n*F),h+=38*(x+=n*$),p+=38*(M+=n*V),g+=38*(I+=n*J),m+=38*(C+=n*G),y+=38*(R+=n*W),b+=38*(T+=n*Q),v+=38*(N+=n*Z),i=(n=(i+=38*(_+=n*D))+(o=1)+65535)-65536*(o=Math.floor(n/65536)),s=(n=s+o+65535)-65536*(o=Math.floor(n/65536)),a=(n=a+o+65535)-65536*(o=Math.floor(n/65536)),c=(n=c+o+65535)-65536*(o=Math.floor(n/65536)),u=(n=u+o+65535)-65536*(o=Math.floor(n/65536)),l=(n=l+o+65535)-65536*(o=Math.floor(n/65536)),f=(n=f+o+65535)-65536*(o=Math.floor(n/65536)),d=(n=d+o+65535)-65536*(o=Math.floor(n/65536)),h=(n=h+o+65535)-65536*(o=Math.floor(n/65536)),p=(n=p+o+65535)-65536*(o=Math.floor(n/65536)),g=(n=g+o+65535)-65536*(o=Math.floor(n/65536)),m=(n=m+o+65535)-65536*(o=Math.floor(n/65536)),y=(n=y+o+65535)-65536*(o=Math.floor(n/65536)),b=(n=b+o+65535)-65536*(o=Math.floor(n/65536)),v=(n=v+o+65535)-65536*(o=Math.floor(n/65536)),w=(n=w+o+65535)-65536*(o=Math.floor(n/65536)),i=(n=(i+=o-1+37*(o-1))+(o=1)+65535)-65536*(o=Math.floor(n/65536)),s=(n=s+o+65535)-65536*(o=Math.floor(n/65536)),a=(n=a+o+65535)-65536*(o=Math.floor(n/65536)),c=(n=c+o+65535)-65536*(o=Math.floor(n/65536)),u=(n=u+o+65535)-65536*(o=Math.floor(n/65536)),l=(n=l+o+65535)-65536*(o=Math.floor(n/65536)),f=(n=f+o+65535)-65536*(o=Math.floor(n/65536)),d=(n=d+o+65535)-65536*(o=Math.floor(n/65536)),h=(n=h+o+65535)-65536*(o=Math.floor(n/65536)),p=(n=p+o+65535)-65536*(o=Math.floor(n/65536)),g=(n=g+o+65535)-65536*(o=Math.floor(n/65536)),m=(n=m+o+65535)-65536*(o=Math.floor(n/65536)),y=(n=y+o+65535)-65536*(o=Math.floor(n/65536)),b=(n=b+o+65535)-65536*(o=Math.floor(n/65536)),v=(n=v+o+65535)-65536*(o=Math.floor(n/65536)),w=(n=w+o+65535)-65536*(o=Math.floor(n/65536)),i+=o-1+37*(o-1),e[0]=i,e[1]=s,e[2]=a,e[3]=c,e[4]=u,e[5]=l,e[6]=f,e[7]=d,e[8]=h,e[9]=p,e[10]=g,e[11]=m,e[12]=y,e[13]=b,e[14]=v,e[15]=w}function E(e,t){S(e,t,t)}function j(e,t){var r,n=o();for(r=0;r<16;r++)n[r]=t[r];for(r=253;r>=0;r--)E(n,n),2!==r&&4!==r&&S(n,n,t);for(r=0;r<16;r++)e[r]=n[r]}function P(e,t,r){var n,i,s=new Uint8Array(32),c=new Float64Array(80),u=o(),l=o(),f=o(),d=o(),h=o(),p=o();for(i=0;i<31;i++)s[i]=t[i];for(s[31]=127&t[31]|64,s[0]&=248,_(c,r),i=0;i<16;i++)l[i]=c[i],d[i]=u[i]=f[i]=0;for(u[0]=d[0]=1,i=254;i>=0;--i)y(u,l,n=s[i>>>3]>>>(7&i)&1),y(f,d,n),k(h,u,f),O(u,u,f),k(f,l,d),O(l,l,d),E(d,h),E(p,u),S(u,f,u),S(f,l,h),k(h,u,f),O(u,u,f),E(l,u),O(f,d,p),S(u,f,a),k(u,u,d),S(f,f,u),S(u,d,p),S(d,l,c),E(l,h),y(u,l,n),y(f,d,n);for(i=0;i<16;i++)c[i+16]=u[i],c[i+32]=f[i],c[i+48]=l[i],c[i+64]=d[i];var g=c.subarray(32),m=c.subarray(16);return j(g,g),S(m,m,g),b(e,m),0}var A=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function x(e,t,r,n){for(var o,i,s,a,c,u,l,f,d,h,p,g,m,y,b,v,w,_,k,O,S,E,j,P,x,M,I=new Int32Array(16),C=new Int32Array(16),R=e[0],T=e[1],N=e[2],B=e[3],D=e[4],L=e[5],U=e[6],q=e[7],H=t[0],z=t[1],K=t[2],F=t[3],$=t[4],V=t[5],J=t[6],G=t[7],W=0;n>=128;){for(k=0;k<16;k++)O=8*k+W,I[k]=r[O+0]<<24|r[O+1]<<16|r[O+2]<<8|r[O+3],C[k]=r[O+4]<<24|r[O+5]<<16|r[O+6]<<8|r[O+7];for(k=0;k<80;k++)if(o=R,i=T,s=N,a=B,c=D,u=L,l=U,q,d=H,h=z,p=K,g=F,m=$,y=V,b=J,G,j=65535&(E=G),P=E>>>16,x=65535&(S=q),M=S>>>16,j+=65535&(E=($>>>14|D<<18)^($>>>18|D<<14)^(D>>>9|$<<23)),P+=E>>>16,x+=65535&(S=(D>>>14|$<<18)^(D>>>18|$<<14)^($>>>9|D<<23)),M+=S>>>16,j+=65535&(E=$&V^~$&J),P+=E>>>16,x+=65535&(S=D&L^~D&U),M+=S>>>16,j+=65535&(E=A[2*k+1]),P+=E>>>16,x+=65535&(S=A[2*k]),M+=S>>>16,S=I[k%16],P+=(E=C[k%16])>>>16,x+=65535&S,M+=S>>>16,x+=(P+=(j+=65535&E)>>>16)>>>16,j=65535&(E=_=65535&j|P<<16),P=E>>>16,x=65535&(S=w=65535&x|(M+=x>>>16)<<16),M=S>>>16,j+=65535&(E=(H>>>28|R<<4)^(R>>>2|H<<30)^(R>>>7|H<<25)),P+=E>>>16,x+=65535&(S=(R>>>28|H<<4)^(H>>>2|R<<30)^(H>>>7|R<<25)),M+=S>>>16,P+=(E=H&z^H&K^z&K)>>>16,x+=65535&(S=R&T^R&N^T&N),M+=S>>>16,f=65535&(x+=(P+=(j+=65535&E)>>>16)>>>16)|(M+=x>>>16)<<16,v=65535&j|P<<16,j=65535&(E=g),P=E>>>16,x=65535&(S=a),M=S>>>16,P+=(E=_)>>>16,x+=65535&(S=w),M+=S>>>16,T=o,N=i,B=s,D=a=65535&(x+=(P+=(j+=65535&E)>>>16)>>>16)|(M+=x>>>16)<<16,L=c,U=u,q=l,R=f,z=d,K=h,F=p,$=g=65535&j|P<<16,V=m,J=y,G=b,H=v,k%16==15)for(O=0;O<16;O++)S=I[O],j=65535&(E=C[O]),P=E>>>16,x=65535&S,M=S>>>16,S=I[(O+9)%16],j+=65535&(E=C[(O+9)%16]),P+=E>>>16,x+=65535&S,M+=S>>>16,w=I[(O+1)%16],j+=65535&(E=((_=C[(O+1)%16])>>>1|w<<31)^(_>>>8|w<<24)^(_>>>7|w<<25)),P+=E>>>16,x+=65535&(S=(w>>>1|_<<31)^(w>>>8|_<<24)^w>>>7),M+=S>>>16,w=I[(O+14)%16],P+=(E=((_=C[(O+14)%16])>>>19|w<<13)^(w>>>29|_<<3)^(_>>>6|w<<26))>>>16,x+=65535&(S=(w>>>19|_<<13)^(_>>>29|w<<3)^w>>>6),M+=S>>>16,M+=(x+=(P+=(j+=65535&E)>>>16)>>>16)>>>16,I[O]=65535&x|M<<16,C[O]=65535&j|P<<16;j=65535&(E=H),P=E>>>16,x=65535&(S=R),M=S>>>16,S=e[0],P+=(E=t[0])>>>16,x+=65535&S,M+=S>>>16,M+=(x+=(P+=(j+=65535&E)>>>16)>>>16)>>>16,e[0]=R=65535&x|M<<16,t[0]=H=65535&j|P<<16,j=65535&(E=z),P=E>>>16,x=65535&(S=T),M=S>>>16,S=e[1],P+=(E=t[1])>>>16,x+=65535&S,M+=S>>>16,M+=(x+=(P+=(j+=65535&E)>>>16)>>>16)>>>16,e[1]=T=65535&x|M<<16,t[1]=z=65535&j|P<<16,j=65535&(E=K),P=E>>>16,x=65535&(S=N),M=S>>>16,S=e[2],P+=(E=t[2])>>>16,x+=65535&S,M+=S>>>16,M+=(x+=(P+=(j+=65535&E)>>>16)>>>16)>>>16,e[2]=N=65535&x|M<<16,t[2]=K=65535&j|P<<16,j=65535&(E=F),P=E>>>16,x=65535&(S=B),M=S>>>16,S=e[3],P+=(E=t[3])>>>16,x+=65535&S,M+=S>>>16,M+=(x+=(P+=(j+=65535&E)>>>16)>>>16)>>>16,e[3]=B=65535&x|M<<16,t[3]=F=65535&j|P<<16,j=65535&(E=$),P=E>>>16,x=65535&(S=D),M=S>>>16,S=e[4],P+=(E=t[4])>>>16,x+=65535&S,M+=S>>>16,M+=(x+=(P+=(j+=65535&E)>>>16)>>>16)>>>16,e[4]=D=65535&x|M<<16,t[4]=$=65535&j|P<<16,j=65535&(E=V),P=E>>>16,x=65535&(S=L),M=S>>>16,S=e[5],P+=(E=t[5])>>>16,x+=65535&S,M+=S>>>16,M+=(x+=(P+=(j+=65535&E)>>>16)>>>16)>>>16,e[5]=L=65535&x|M<<16,t[5]=V=65535&j|P<<16,j=65535&(E=J),P=E>>>16,x=65535&(S=U),M=S>>>16,S=e[6],P+=(E=t[6])>>>16,x+=65535&S,M+=S>>>16,M+=(x+=(P+=(j+=65535&E)>>>16)>>>16)>>>16,e[6]=U=65535&x|M<<16,t[6]=J=65535&j|P<<16,j=65535&(E=G),P=E>>>16,x=65535&(S=q),M=S>>>16,S=e[7],P+=(E=t[7])>>>16,x+=65535&S,M+=S>>>16,M+=(x+=(P+=(j+=65535&E)>>>16)>>>16)>>>16,e[7]=q=65535&x|M<<16,t[7]=G=65535&j|P<<16,W+=128,n-=128}return n}function M(e,t,r){var n,o=new Int32Array(8),i=new Int32Array(8),s=new Uint8Array(256),a=r;for(o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,i[0]=4089235720,i[1]=2227873595,i[2]=4271175723,i[3]=1595750129,i[4]=2917565137,i[5]=725511199,i[6]=4215389547,i[7]=327033209,x(o,i,t,r),r%=128,n=0;n=0;--o)C(e,t,n=r[o/8|0]>>(7&o)&1),I(t,e),I(e,e),C(e,t,n)}function N(e,t){var r=[o(),o(),o(),o()];g(r[0],l),g(r[1],f),g(r[2],s),S(r[3],l,f),T(e,r,t)}var B=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function D(e,t){var r,n,o,i;for(n=63;n>=32;--n){for(r=0,o=n-32,i=n-12;o>8,t[o]-=256*r;t[o]+=r,t[n]=0}for(r=0,o=0;o<32;o++)t[o]+=r-(t[31]>>4)*B[o],r=t[o]>>8,t[o]&=255;for(o=0;o<32;o++)t[o]-=r*B[o];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function L(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;D(e,r)}function U(e,t,r,n,i){for(var s=new Uint8Array(64),a=[o(),o(),o(),o()],c=0;c<32;c++)s[c]=n[c];s[0]&=248,s[31]&=127,s[31]|=64,N(a,s),R(s.subarray(32),a);var u,l=128&s[63];return u=i?function(e,t,r,n,i){var s,a,c=new Uint8Array(64),u=new Uint8Array(64),l=new Float64Array(64),f=[o(),o(),o(),o()];for(e[0]=254,s=1;s<32;s++)e[s]=255;for(s=0;s<32;s++)e[32+s]=n[s];for(s=0;s=0;r--)E(n,n),1!==r&&S(n,n,t);for(r=0;r<16;r++)e[r]=n[r]}(r,r),S(r,r,a),S(r,r,u),S(r,r,u),S(e[0],r,u),E(n,e[0]),S(n,n,u),v(n,a)&&S(e[0],e[0],d),E(n,e[0]),S(n,n,u),v(n,a)?-1:(w(e[0])===t[31]>>7&&O(e[0],i,e[0]),S(e[3],e[0],e[1]),0)}function H(e,t,r,n){var i=function(e){var t=new Uint8Array(32),r=o(),n=o(),i=o();return _(r,e),k(n,r,s),O(i,r,s),j(n,n),S(n,n,i),b(t,n),t}(n);return i[31]|=128&t[63],t[63]&=127,function(e,t,r,n){var i,s=new Uint8Array(32),a=new Uint8Array(64),c=[o(),o(),o(),o()],u=[o(),o(),o(),o()];if(-1,r<64)return-1;if(q(u,n))return-1;for(i=0;i=0},t.generateKeyPair=function(e){if(z(e),32!==e.length)throw new Error("wrong seed length");for(var t=new Uint8Array(32),r=new Uint8Array(32),o=0;o<32;o++)t[o]=e[o];return P(r,t,n),t[0]&=248,t[31]&=127,t[31]|=64,r[31]&=127,{public:r,private:t}},t.default={}},function(e,t,r){(function(n,o){var i;!function(s){"use strict";function a(e,t){if(t=t||{type:"Array"},void 0!==n&&"number"==typeof n.pid&&n.versions&&n.versions.node)return function(e,t){var n=r(771).randomBytes(e);switch(t.type){case"Array":return[].slice.call(n);case"Buffer":return n;case"Uint8Array":for(var o=new Uint8Array(e),i=0;i0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1] "+m.message,new Error("UnsupportedEnvironments: "+s);case 14:return[2,new Uint8Array(i)]}}))}))};var l=function(e,t,r){return n(void 0,void 0,void 0,(function(){var n,i,s,c,l,f,d,h;return o(this,(function(o){switch(o.label){case 0:return n=a.default.hashes[r].blockSize,i=a.default.hashes[r].hashSize,e.length>n?[4,u.default.compute(e,r)]:[3,2];case 1:e=o.sent(),o.label=2;case 2:return(s=new Uint8Array(n)).set(e),c=s.map((function(e){return 255&(54^e)})),l=s.map((function(e){return 255&(92^e)})),(f=new Uint8Array(n+t.length)).set(c),f.set(t,n),[4,u.default.compute(f,r)];case 3:return d=o.sent(),(h=new Uint8Array(n+i)).set(l),h.set(d,n),[2,u.default.compute(h,r)]}}))}))};t.verify=function(e,r,i,s){return void 0===s&&(s="SHA-256"),n(void 0,void 0,void 0,(function(){var n;return o(this,(function(o){switch(o.label){case 0:return[4,t.compute(e,r,s)];case 1:return n=o.sent(),[2,i.toString()===n.toString()]}}))}))};var f=function(e,t,r,n,o,i){return new Promise((function(s,a){var c=i.importKey(e,t,r,n,o);c.oncomplete=function(e){s(e.target.result)},c.onerror=function(){a("KeyImportingFailed")}}))},d=function(e,t,r,n){return new Promise((function(o,i){var s=n.sign({name:"HMAC",hash:{name:e}},t,r);s.oncomplete=function(e){o(new Uint8Array(e.target.result))},s.onerror=function(){i("ComputingHMACFailed")}}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={hashes:{"SHA3-512":{nodeName:"sha3-512",hashSize:64,blockSize:72},"SHA3-384":{nodeName:"sha3-384",hashSize:48,blockSize:104},"SHA3-256":{nodeName:"sha3-256",hashSize:32,blockSize:136},"SHA3-224":{nodeName:"sha3-224",hashSize:28,blockSize:144},"SHA-256":{nodeName:"sha256",hashSize:32,blockSize:64},"SHA-384":{nodeName:"sha384",hashSize:48,blockSize:128},"SHA-512":{nodeName:"sha512",hashSize:64,blockSize:128},"SHA-1":{nodeName:"sha1",hashSize:20,blockSize:64},MD5:{nodeName:"md5",hashSize:16,blockSize:64}}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,n=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1] "+e.message,new Error("UnsupportedEnvironment: "+i)}return[2,new Uint8Array(n)]}}))}))};var d=function(e,t,r){return new Promise((function(n,o){var i=r.digest(e,t);i.oncomplete=function(e){n(e.target.result)},i.onerror=function(e){o(e)}}))},h=function(e,t,r){var n=c.default.hashes[e].nodeName,o=r.createHash(n);return o.update(t),o.digest()},p=function(e,t){var n;if("MD5"===e)n=u.default(Array.from(t),{asBytes:!0});else if(["SHA3-512","SHA3-384","SHA3-256","SHA3-224"].indexOf(e)>=0){var o=8*c.default.hashes[e].hashSize,i=new l.SHA3(o),s=r(2).Buffer;i.update(s.from(t)),n=i.digest("binary")}else n=f.default[c.default.hashes[e].nodeName]().update(t).digest();return new Uint8Array(n)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={hashes:{"SHA3-512":{nodeName:"sha3-512",hashSize:64},"SHA3-384":{nodeName:"sha3-384",hashSize:48},"SHA3-256":{nodeName:"sha3-256",hashSize:32},"SHA3-224":{nodeName:"sha3-224",hashSize:28},"SHA-256":{nodeName:"sha256",hashSize:32},"SHA-384":{nodeName:"sha384",hashSize:48},"SHA-512":{nodeName:"sha512",hashSize:64},"SHA-1":{nodeName:"sha1",hashSize:20},MD5:{nodeName:"md5",hashSize:16}}}},function(e,t,r){var n,o,i,s,a;n=r(782),o=r(375).utf8,i=r(783),s=r(375).bin,(a=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?s.stringToBytes(e):o.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var r=n.bytesToWords(e),c=8*e.length,u=1732584193,l=-271733879,f=-1732584194,d=271733878,h=0;h>>24)|4278255360&(r[h]<<24|r[h]>>>8);r[c>>>5]|=128<>>9<<4)]=c;var p=a._ff,g=a._gg,m=a._hh,y=a._ii;for(h=0;h>>0,l=l+v>>>0,f=f+w>>>0,d=d+_>>>0}return n.endian([u,l,f,d])})._ff=function(e,t,r,n,o,i,s){var a=e+(t&r|~t&n)+(o>>>0)+s;return(a<>>32-i)+t},a._gg=function(e,t,r,n,o,i,s){var a=e+(t&n|r&~n)+(o>>>0)+s;return(a<>>32-i)+t},a._hh=function(e,t,r,n,o,i,s){var a=e+(t^r^n)+(o>>>0)+s;return(a<>>32-i)+t},a._ii=function(e,t,r,n,o,i,s){var a=e+(r^(t|~n))+(o>>>0)+s;return(a<>>32-i)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var r=n.wordsToBytes(a(e,t));return t&&t.asBytes?r:t&&t.asString?s.bytesToString(r):n.bytesToHex(r)}},function(e,t){var r,n;r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],r=0,n=0;r>>5]|=e[r]<<24-n%32;return t},wordsToBytes:function(e){for(var t=[],r=0;r<32*e.length;r+=8)t.push(e[r>>>5]>>>24-r%32&255);return t},bytesToHex:function(e){for(var t=[],r=0;r>>4).toString(16)),t.push((15&e[r]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],r=0;r>>6*(3-i)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],n=0,o=0;n>>6-2*o);return t}},e.exports=n},function(e,t){function r(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)} -/*! - * Determine if an object is a Buffer - * - * @author Feross Aboukhadijeh - * @license MIT - */ -e.exports=function(e){return null!=e&&(r(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&r(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SHAKE=t.SHA3Hash=t.SHA3=t.Keccak=void 0;var n,o=r(2),i=(n=r(785))&&n.__esModule?n:{default:n};var s=function(e){var t=e.allowedSizes,r=e.padding;return function e(){var n=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:512;if(!this||this.constructor!==e)return new e(s);if(t&&!t.includes(s))throw new Error("Unsupported hash length");var a=new i.default({capacity:s});return this.update=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"utf8";if(o.Buffer.isBuffer(e))return a.absorb(e),n;if("string"==typeof e)return n.update(o.Buffer.from(e,t));throw new TypeError("Not a string or buffer")},this.digest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"binary",t="string"==typeof e?{format:e}:e,n=a.squeeze({buffer:t.buffer,padding:t.padding||r});return t.format&&"binary"!==t.format?n.toString(t.format):n},this.reset=function(){return a.reset(),n},this}},a=s({allowedSizes:[224,256,384,512],padding:1});t.Keccak=a;var c=s({allowedSizes:[224,256,384,512],padding:6});t.SHA3=c;var u=s({allowedSizes:[128,256],padding:31});t.SHAKE=u;var l=a;t.SHA3Hash=l,c.SHA3Hash=l;var f=c;t.default=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=r(2),i=(n=r(786))&&n.__esModule?n:{default:n};var s=function(e,t){for(var r=0;r>>8,t[r+2]=e[n+1]>>>16,t[r+3]=e[n+1]>>>24,t[r+4]=e[n],t[r+5]=e[n]>>>8,t[r+6]=e[n]>>>16,t[r+7]=e[n]>>>24}return t},c=function(e){var t=this,r=e.capacity,n=e.padding,c=(0,i.default)(),u=r/8,l=200-r/4,f=0,d=new Uint32Array(50),h=o.Buffer.allocUnsafe(l);return this.absorb=function(e){for(var r=0;r=l&&(s(h,d),c(d),f=0);return t},this.squeeze=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={buffer:e.buffer||o.Buffer.allocUnsafe(u),padding:e.padding||n,queue:o.Buffer.allocUnsafe(h.length),state:new Uint32Array(d.length)};h.copy(t.queue);for(var r=0;r>>l,s[(u+1)%2]=c<>>l,(0,i.default)(s,0)(t,d),(0,i.default)(r,0)(s,0)}};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=[10,7,11,17,18,3,5,16,8,21,24,4,15,23,19,13,12,2,20,14,22,9,6,1];t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=[1,3,6,10,15,21,28,36,45,55,2,14,27,41,56,8,25,43,62,18,39,61,20,44];t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(202))&&n.__esModule?n:{default:n};var i=function(e){for(var t=e.A,r=e.C,n=e.D,i=e.W,s=0,a=0,c=0;c<5;c++){var u=2*c,l=2*(c+5),f=2*(c+10),d=2*(c+15),h=2*(c+20);r[u]=t[u]^t[l]^t[f]^t[d]^t[h],r[u+1]=t[u+1]^t[l+1]^t[f+1]^t[d+1]^t[h+1]}for(var p=0;p<5;p++){(0,o.default)(r,(p+1)%5)(i,0),s=i[0],a=i[1],i[0]=s<<1|a>>>31,i[1]=a<<1|s>>>31,n[2*p]=r[(p+4)%5*2]^i[0],n[2*p+1]=r[(p+4)%5*2+1]^i[1];for(var g=0;g<25;g+=5)t[2*(g+p)]^=n[2*p],t[2*(g+p)+1]^=n[2*p+1]}};t.default=i},function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o,i,s=n(r(376)),a=n(r(796));!function(e){e.encodeBase64=s.encodeBase64,e.decodeBase64=s.decodeBase64,e.encodeBase64Url=s.encodeBase64Url,e.decodeBase64Url=s.decodeBase64Url,e.arrayBufferToHexString=s.arrayBufferToHexString,e.hexStringToArrayBuffer=s.hexStringToArrayBuffer,e.stringToArrayBuffer=s.stringToArrayBuffer,e.arrayBufferToString=s.arrayBufferToString}(o=t.encoder||(t.encoder={})),function(e){e.binToPem=a.binToPem,e.pemToBin=a.pemToBin}(i=t.formatter||(t.formatter={})),t.default={encoder:o,formatter:i}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getEnvBtoa=function(){return"undefined"!=typeof window?window.btoa:r},t.getEnvAtob=function(){return"undefined"!=typeof window?window.atob:n};var r=function(t){if(void 0===e)throw new Error("UnsupportedEnvironment");return e.from(t.toString(),"binary").toString("base64")},n=function(t){if(void 0===e)throw new Error("UnsupportedEnvironment");return e.from(t,"base64").toString("binary")}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(376)),i={public:"PUBLIC KEY",private:"PRIVATE KEY",encryptedPrivate:"ENCRYPTED PRIVATE KEY",certificate:"CERTIFICATE",certRequest:"CERTIFICATE REQUEST"};t.pemToBin=function(e){var t=a(e);return o.decodeBase64(t)},t.binToPem=function(e,t){var r=o.encodeBase64(e);return s(r,t)};var s=function(e,t){for(var r=i[t],n="-----BEGIN "+r+"-----\n";e.length>0;)n+=e.substring(0,64)+"\n",e=e.substring(64);return n=n+"-----END "+r+"-----"},a=function(e){var t=RegExp("^-----[s]*BEGIN[^-]*-----$","gm"),r=RegExp("^-----[s]*END[^-]*-----$","gm");try{var n=e.split(t)[1].split(r)[0];return n=n.replace(/\r?\n/g,"")}catch(e){throw new Error("Invalid format as PEM")}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,n=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]Math.pow(2,32)-1)throw new Error("TooLongKeyDataIndicated");u=new Uint8Array(s.default.hashes[i].hashSize*n),l=new Uint8Array(4),f=0,o.label=1;case 1:return f0;)e[r-1]+=t&&0===e[r]?1:0,t=t&&0===e[r],r--;return e}},function(e,t,r){"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,o,i;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(o=n;0!=o--;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(i=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(r,i[o]))return!1;for(o=n;0!=o--;){var s=i[o];if(!e(t[s],r[s]))return!1}return!0}return t!=t&&r!=r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(105),o=r(204);function i(e){return[n.Slip10RawIndex.hardened(44),n.Slip10RawIndex.hardened(529),n.Slip10RawIndex.hardened(0),n.Slip10RawIndex.normal(0),n.Slip10RawIndex.normal(e)]}t.makeSecretNetworkPath=i;class s{constructor(e,t){this.privkey=e,this.pubkey=t}static async fromMnemonic(e,t=i(0)){const r=await n.Bip39.mnemonicToSeed(new n.EnglishMnemonic(e)),{privkey:o}=n.Slip10.derivePath(n.Slip10Curve.Secp256k1,r,t),a=(await n.Secp256k1.makeKeypair(o)).pubkey;return new s(o,n.Secp256k1.compressPubkey(a))}async sign(e,t="sha256"){const r=function(e,t){switch(t){case null:return new Uint8Array([...e]);case"sha256":return new n.Sha256(e).digest();case"sha512":return new n.Sha512(e).digest();default:throw new Error("Unknown prehash type")}}(e,t),i=await n.Secp256k1.createSignature(r,this.privkey),s=new Uint8Array([...i.r(32),...i.s(32)]);return o.encodeSecp256k1Signature(this.pubkey,s)}}t.Secp256k1Pen=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(105),o=r(196),i=r(204);t.findSequenceForSignedTx=async function(e,t,r,s,a=0){const c=e.value.signatures.find(()=>!0);if(!c)throw new Error("Signature missing in tx");const{pubkey:u,signature:l}=i.decodeSignature(c),f=n.Secp256k1Signature.fromFixedLength(l);for(let i=a;ii.Encoding.fromBase64(e.value.msg).slice(0,32)),h=await this.restClient.decryptDataField(f.data,d);return{logs:await this.restClient.decryptLogs(f.logs,d),transactionHash:f.transactionHash,data:h}}async execute(e,t,r="",n,o=this.fees.exec,s){s?this.restClient.codeHashCache.set(e,s):s=await this.restClient.getCodeHashByContractAddr(e);const a={type:"wasm/MsgExecuteContract",value:{sender:this.senderAddress,contract:e,callback_code_hash:"",msg:i.Encoding.toBase64(await this.restClient.enigmautils.encrypt(s,t)),sent_funds:null!=n?n:[],callback_sig:null}},{accountNumber:c,sequence:u}=await this.getNonce(),l=await this.getChainId(),f=await this.signAdapter([a],o,l,r,c,u),d=i.Encoding.fromBase64(a.value.msg).slice(0,32);let h;try{h=await this.postTx(f)}catch(e){try{const t=/contract failed: encrypted: (.+?): failed to execute message; message index: 0/g.exec(e.message);if(null==t||2!=t.length)throw e;const r=t[1],n=i.Encoding.fromBase64(r),o=await this.restClient.enigmautils.decrypt(n,d);e.message=e.message.replace(r,i.Encoding.fromUtf8(o))}catch(t){throw new Error(`Failed to decrypt the following error message: ${e.message}. Decryption error of the error message: ${t.message}`)}throw e}const p=await this.restClient.decryptDataField(h.data,[d]);return{logs:await this.restClient.decryptLogs(h.logs,[d]),transactionHash:h.transactionHash,data:p}}async sendTokens(e,t,r="",n=this.fees.send){const o={type:"cosmos-sdk/MsgSend",value:{from_address:this.senderAddress,to_address:e,amount:t}},{accountNumber:i,sequence:s}=await this.getNonce(),a=await this.getChainId(),c=await this.signAdapter([o],n,a,r,i,s);return this.postTx(c)}}t.SigningCosmWasmClient=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=new RegExp("^[a-z0-9][a-z0-9._-]*[a-z0-9](/[a-z0-9][a-z0-9._-]*[a-z0-9])+:[a-zA-Z0-9_][a-zA-Z0-9_.-]{0,127}$");t.isValidBuilder=function(e){return!(e.length>128)&&!!e.match(n)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(205),o=r(378),i=r(804);t.init=function(e,t){e.registerMessage(n.GetPubkeyMsg),e.registerMessage(n.ReqeustEncryptMsg),e.registerMessage(n.RequestDecryptMsg),e.registerMessage(n.GetTxEncryptionKeyMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(205);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.GetPubkeyMsg:return i(e)(t,r);case o.ReqeustEncryptMsg:return s(e)(t,r);case o.RequestDecryptMsg:return a(e)(t,r);case o.GetTxEncryptionKeyMsg:return c(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.getPubkey(t,r.chainId)})),s=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.encrypt(t,r.chainId,r.contractCodeHash,r.msg)})),a=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.decrypt(t,r.chainId,r.cipherText,r.nonce)})),c=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.getTxEncryptionKey(t,r.chainId,r.nonce)}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(379),t),o(r(806),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(206),o=r(380),i=r(807);t.init=function(e,t){e.registerMessage(n.SendTxMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(206);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.SendTxMsg:return i(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.sendTx(r.chainId,r.tx,r.mode)}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(335),t),o(r(809),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(178),o=r(337),i=r(810);t.init=function(e,t){e.registerMessage(n.TryUpdateChainMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(178);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.TryUpdateChainMsg:return i(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.tryUpdateChain(r.chainId)}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(381),t),o(r(812),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(142),o=r(382),i=r(813);t.init=function(e,t){e.registerMessage(n.GetTokensMsg),e.registerMessage(n.SuggestTokenMsg),e.registerMessage(n.AddTokenMsg),e.registerMessage(n.RemoveTokenMsg),e.registerMessage(n.GetSecret20ViewingKey),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(142);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.GetTokensMsg:return i(e)(t,r);case o.SuggestTokenMsg:return s(e)(t,r);case o.AddTokenMsg:return a(e)(t,r);case o.RemoveTokenMsg:return c(e)(t,r);case o.GetSecret20ViewingKey:return u(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.getTokens(r.chainId)})),s=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.suggestToken(t,r.chainId,r.contractAddress,r.viewingKey)})),a=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.addToken(r.chainId,r.currency)})),c=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.removeToken(r.chainId,r.currency)})),u=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.getSecret20ViewingKey(r.chainId,r.contractAddress)}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(338),t),o(r(815),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(180),o=r(341),i=r(816);t.init=function(e,t){e.registerMessage(n.ApproveInteractionMsg),e.registerMessage(n.RejectInteractionMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const n=r(180);t.getHandler=e=>(t,r)=>{switch(r.constructor){case n.ApproveInteractionMsg:return o(e)(t,r);case n.RejectInteractionMsg:return i(e)(t,r);default:throw new Error("Unknown msg type")}};const o=e=>(t,r)=>e.approve(r.id,r.result),i=e=>(t,r)=>e.reject(r.id)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(351),t),o(r(818),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(192),o=r(354),i=r(819);t.init=function(e,t){e.registerMessage(n.EnableAccessMsg),e.registerMessage(n.GetPermissionOriginsMsg),e.registerMessage(n.RemovePermissionOrigin),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(192);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.EnableAccessMsg:return i(e)(t,r);case o.GetPermissionOriginsMsg:return s(e)(t,r);case o.RemovePermissionOrigin:return a(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.checkOrGrantBasicAccessPermission(t,r.chainIds,r.origin)})),s=e=>(t,r)=>e.getPermissionOrigins(r.chainId,r.permissionType),a=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.removePermission(r.chainId,r.permissionType,[r.permissionOrigin])}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(330),t),o(r(177),t)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(359),t),o(r(205),t)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(379),t),o(r(206),t)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(381),t),o(r(142),t),o(r(383),t)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Keplr=void 0;const i=r(18),s=r(59),a=r(11),c=r(384),u=r(385),l=o(r(390));t.Keplr=class{constructor(e,t){this.version=e,this.requester=t,this.enigmaUtils=new Map,this.defaultOptions={}}enable(e){return n(this,void 0,void 0,(function*(){"string"==typeof e&&(e=[e]),yield this.requester.sendMessage(i.BACKGROUND_PORT,new s.EnableAccessMsg(e))}))}experimentalSuggestChain(e){return n(this,void 0,void 0,(function*(){const t=new s.SuggestChainInfoMsg(e);yield this.requester.sendMessage(i.BACKGROUND_PORT,t)}))}getKey(e){return n(this,void 0,void 0,(function*(){const t=new s.GetKeyMsg(e);return yield this.requester.sendMessage(i.BACKGROUND_PORT,t)}))}sendTx(e,t,r){return n(this,void 0,void 0,(function*(){const n=new s.SendTxMsg(e,t,r);return yield this.requester.sendMessage(i.BACKGROUND_PORT,n)}))}signAmino(e,t,r,o={}){var a;return n(this,void 0,void 0,(function*(){const n=new s.RequestSignAminoMsg(e,t,r,l.default(null!==(a=this.defaultOptions.sign)&&void 0!==a?a:{},o));return yield this.requester.sendMessage(i.BACKGROUND_PORT,n)}))}signDirect(e,t,r,o={}){var c;return n(this,void 0,void 0,(function*(){const n=new s.RequestSignDirectMsg(e,t,a.cosmos.tx.v1beta1.SignDoc.encode(r).finish(),l.default(null!==(c=this.defaultOptions.sign)&&void 0!==c?c:{},o)),u=yield this.requester.sendMessage(i.BACKGROUND_PORT,n);return{signed:a.cosmos.tx.v1beta1.SignDoc.decode(u.signedBytes),signature:u.signature}}))}getOfflineSigner(e){return new u.CosmJSOfflineSigner(e,this)}getOfflineSignerOnlyAmino(e){return new u.CosmJSOfflineSignerOnlyAmino(e,this)}getOfflineSignerAuto(e){return n(this,void 0,void 0,(function*(){return(yield this.getKey(e)).isNanoLedger?new u.CosmJSOfflineSignerOnlyAmino(e,this):new u.CosmJSOfflineSigner(e,this)}))}suggestToken(e,t,r){return n(this,void 0,void 0,(function*(){const n=new s.SuggestTokenMsg(e,t,r);yield this.requester.sendMessage(i.BACKGROUND_PORT,n)}))}getSecret20ViewingKey(e,t){return n(this,void 0,void 0,(function*(){const r=new s.GetSecret20ViewingKey(e,t);return yield this.requester.sendMessage(i.BACKGROUND_PORT,r)}))}getEnigmaPubKey(e){return n(this,void 0,void 0,(function*(){return yield this.requester.sendMessage(i.BACKGROUND_PORT,new s.GetPubkeyMsg(e))}))}getEnigmaTxEncryptionKey(e,t){return n(this,void 0,void 0,(function*(){return yield this.requester.sendMessage(i.BACKGROUND_PORT,new s.GetTxEncryptionKeyMsg(e,t))}))}enigmaEncrypt(e,t,r){return n(this,void 0,void 0,(function*(){return yield this.requester.sendMessage(i.BACKGROUND_PORT,new s.ReqeustEncryptMsg(e,t,r))}))}enigmaDecrypt(e,t,r){return n(this,void 0,void 0,(function*(){return t&&0!==t.length?yield this.requester.sendMessage(i.BACKGROUND_PORT,new s.RequestDecryptMsg(e,t,r)):new Uint8Array}))}getEnigmaUtils(e){if(this.enigmaUtils.has(e))return this.enigmaUtils.get(e);const t=new c.KeplrEnigmaUtils(e,this);return this.enigmaUtils.set(e,t),t}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InjectedKeplr=void 0;const i=r(11),s=r(384),a=r(107),c=r(385),u=o(r(390));t.InjectedKeplr=class{constructor(e){this.version=e,this.enigmaUtils=new Map,this.defaultOptions={}}static startProxy(e){window.addEventListener("message",t=>n(this,void 0,void 0,(function*(){const r=t.data;if(r&&"proxy-request"===r.type)try{if(!r.id)throw new Error("Empty id");if("version"===r.method)throw new Error("Version is not function");if("defaultOptions"===r.method)throw new Error("DefaultOptions is not function");if(!e[r.method]||"function"!=typeof e[r.method])throw new Error("Invalid method: "+r.method);if("getOfflineSigner"===r.method)throw new Error("GetOfflineSigner method can't be proxy request");if("getOfflineSignerOnlyAmino"===r.method)throw new Error("GetOfflineSignerOnlyAmino method can't be proxy request");if("getOfflineSignerAuto"===r.method)throw new Error("GetOfflineSignerAuto method can't be proxy request");if("getEnigmaUtils"===r.method)throw new Error("GetEnigmaUtils method can't be proxy request");const t=yield e[r.method](...a.JSONUint8Array.unwrap(r.args)),n={type:"proxy-request-response",id:r.id,result:{return:a.JSONUint8Array.wrap(t)}};window.postMessage(n,window.location.origin)}catch(e){const t={type:"proxy-request-response",id:r.id,result:{error:e.message||e.toString()}};window.postMessage(t,window.location.origin)}})))}requestMethod(e,t){const r=new Uint8Array(8),n=Array.from(crypto.getRandomValues(r)).map(e=>e.toString(16)).join(""),o={type:"proxy-request",id:n,method:e,args:a.JSONUint8Array.wrap(t)};return new Promise((e,t)=>{const r=o=>{const i=o.data;if(!i||"proxy-request-response"!==i.type)return;if(i.id!==n)return;window.removeEventListener("message",r);const s=a.JSONUint8Array.unwrap(i.result);s?s.error?t(new Error(s.error)):e(s.return):t(new Error("Result is null"))};window.addEventListener("message",r),window.postMessage(o,window.location.origin)})}enable(e){return n(this,void 0,void 0,(function*(){yield this.requestMethod("enable",[e])}))}experimentalSuggestChain(e){return n(this,void 0,void 0,(function*(){yield this.requestMethod("experimentalSuggestChain",[e])}))}getKey(e){return n(this,void 0,void 0,(function*(){return yield this.requestMethod("getKey",[e])}))}sendTx(e,t,r){return n(this,void 0,void 0,(function*(){return yield this.requestMethod("sendTx",[e,t,r])}))}signAmino(e,t,r,o={}){var i;return n(this,void 0,void 0,(function*(){return yield this.requestMethod("signAmino",[e,t,r,u.default(null!==(i=this.defaultOptions.sign)&&void 0!==i?i:{},o)])}))}signDirect(e,t,r,o={}){var s;return n(this,void 0,void 0,(function*(){const n=yield this.requestMethod("signDirect",[e,t,r,u.default(null!==(s=this.defaultOptions.sign)&&void 0!==s?s:{},o)]),a=n.signed;return{signed:i.cosmos.tx.v1beta1.SignDoc.fromObject(a),signature:n.signature}}))}getOfflineSigner(e){return new c.CosmJSOfflineSigner(e,this)}getOfflineSignerOnlyAmino(e){return new c.CosmJSOfflineSignerOnlyAmino(e,this)}getOfflineSignerAuto(e){return n(this,void 0,void 0,(function*(){return(yield this.getKey(e)).isNanoLedger?new c.CosmJSOfflineSignerOnlyAmino(e,this):new c.CosmJSOfflineSigner(e,this)}))}suggestToken(e,t,r){return n(this,void 0,void 0,(function*(){return yield this.requestMethod("suggestToken",[e,t,r])}))}getSecret20ViewingKey(e,t){return n(this,void 0,void 0,(function*(){return yield this.requestMethod("getSecret20ViewingKey",[e,t])}))}getEnigmaPubKey(e){return n(this,void 0,void 0,(function*(){return yield this.requestMethod("getEnigmaPubKey",[e])}))}getEnigmaTxEncryptionKey(e,t){return n(this,void 0,void 0,(function*(){return yield this.requestMethod("getEnigmaTxEncryptionKey",[e,t])}))}enigmaEncrypt(e,t,r){return n(this,void 0,void 0,(function*(){return yield this.requestMethod("enigmaEncrypt",[e,t,r])}))}enigmaDecrypt(e,t,r){return n(this,void 0,void 0,(function*(){return yield this.requestMethod("enigmaDecrypt",[e,t,r])}))}getEnigmaUtils(e){if(this.enigmaUtils.has(e))return this.enigmaUtils.get(e);const t=new s.KeplrEnigmaUtils(e,this);return this.enigmaUtils.set(e,t),t}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){e.exports=r(1548)},,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(18),o=r(400),i=r(59);var s=r(415);o.InjectedKeplr.startProxy(new o.Keplr(s.version,new n.InExtensionMessageRequester));const a=new n.ExtensionRouter(n.ContentScriptEnv.produceEnv);var c;a.addGuard(n.ContentScriptGuards.checkMessageIsInternal),c=a,Object(i.interactionForegroundInit)(c,new i.InteractionForegroundService({onInteractionDataReceived:()=>{},onEventDataReceived:e=>{"keystore-changed"===e.type&&window.dispatchEvent(new Event("keplr_keystorechange"))}})),a.listen(n.WEBPAGE_PORT);const u=document.head||document.documentElement,l=document.createElement("script");l.src=browser.runtime.getURL("injectedScript.bundle.js"),l.type="text/javascript",u.insertBefore(l,u.children[0]),l.remove()}]); \ No newline at end of file diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/injectedScript.bundle.js b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/injectedScript.bundle.js deleted file mode 100644 index 3c3bd693..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/injectedScript.bundle.js +++ /dev/null @@ -1,76 +0,0 @@ -!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1542)}([,,function(e,t,r){"use strict";(function(e){ -/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */ -var n=r(117),o=r(426),i=r(237);function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function p(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(e).length;default:if(n)return q(e).length;t=(""+t).toLowerCase(),n=!0}}function g(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return x(this,t,r);case"utf8":case"utf-8":return j(this,t,r);case"ascii":return P(this,t,r);case"latin1":case"binary":return A(this,t,r);case"base64":return E(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,o);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,o){var i,s=1,a=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,c/=2,r/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){var l=-1;for(i=r;ia&&(r=a-c),i=r;i>=0;i--){for(var f=!0,d=0;do&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var s=0;s>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function E(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function j(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o239?4:u>223?3:u>191?2:1;if(o+f<=r)switch(f){case 1:u<128&&(l=u);break;case 2:128==(192&(i=e[o+1]))&&(c=(31&u)<<6|63&i)>127&&(l=c);break;case 3:i=e[o+1],s=e[o+2],128==(192&i)&&128==(192&s)&&(c=(15&u)<<12|(63&i)<<6|63&s)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:i=e[o+1],s=e[o+2],a=e[o+3],128==(192&i)&&128==(192&s)&&128==(192&a)&&(c=(15&u)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&c<1114112&&(l=c)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),""},c.prototype.compare=function(e,t,r,n,o){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),a=Math.min(i,s),u=this.slice(n,o),l=e.slice(t,r),f=0;fo)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return v(this,e,t,r);case"utf8":case"utf-8":return w(this,e,t,r);case"ascii":return _(this,e,t,r);case"latin1":case"binary":return k(this,e,t,r);case"base64":return O(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function P(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;on)&&(r=n);for(var o="",i=t;ir)throw new RangeError("Trying to access beyond buffer length")}function C(e,t,r,n,o,i){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function R(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o>>8*(n?o:1-o)}function T(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o>>8*(n?o:3-o)&255}function N(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function B(e,t,r,n,i){return i||N(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function D(e,t,r,n,i){return i||N(e,0,r,8),o.write(e,t,r,n,52,8),r+8}c.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(o*=256);)n+=this[e+--t]*o;return n},c.prototype.readUInt8=function(e,t){return t||I(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||I(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||I(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||I(e,t,this.length);for(var n=this[e],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||I(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},c.prototype.readInt8=function(e,t){return t||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||I(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(e,t){t||I(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(e,t){return t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||I(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||I(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||I(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||I(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||C(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+o]=e/i&255;return t+r},c.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):T(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):T(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);C(this,e,t,r,o-1,-o)}var i=0,s=1,a=0;for(this[t]=255&e;++i>0)-a&255;return t+r},c.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);C(this,e,t,r,o-1,-o)}var i=r-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s>>0)-a&255;return t+r},c.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):T(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||C(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):T(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,r){return B(this,e,t,!0,r)},c.prototype.writeFloatBE=function(e,t,r){return B(this,e,t,!1,r)},c.prototype.writeDoubleLE=function(e,t,r){return D(this,e,t,!0,r)},c.prototype.writeDoubleBE=function(e,t,r){return D(this,e,t,!1,r)},c.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--o)e[o+t]=this[o+r];else if(i<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function H(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function z(e,t,r,n){for(var o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}}).call(this,r(12))},function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return i})),r.d(t,"d",(function(){return s})),r.d(t,"g",(function(){return a})),r.d(t,"c",(function(){return c})),r.d(t,"e",(function(){return u})),r.d(t,"f",(function(){return l})); -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */ -var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function o(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function u(){for(var e=[],t=0;t=49&&s<=54?s-49+10:s>=17&&s<=22?s-17+10:15&s}return n}function c(e,t,r,n){for(var o=0,i=Math.min(e.length,r),s=t;s=49?a-49+10:a>=17?a-17+10:a}return o}i.isBN=function(e){return e instanceof i||null!==e&&"object"==typeof e&&e.constructor.wordSize===i.wordSize&&Array.isArray(e.words)},i.max=function(e,t){return e.cmp(t)>0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var o=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&o++,16===t?this._parseHex(e,o):this._parseBase(e,t,o),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var o=0;o=0;o-=3)s=e[o]|e[o-1]<<8|e[o-2]<<16,this.words[i]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);else if("le"===r)for(o=0,i=0;o>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);return this.strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=6)o=a(e,r,r+6),this.words[n]|=o<>>26-i&4194303,(i+=24)>=26&&(i-=26,n++);r+6!==t&&(o=a(e,t,r+6),this.words[n]|=o<>>26-i&4194303),this.strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,o=1;o<=67108863;o*=t)n++;n--,o=o/t|0;for(var i=e.length-r,s=i%n,a=Math.min(i,i-s)+r,u=0,l=r;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?""};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var o=0|e.words[0],i=0|t.words[0],s=o*i,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var u=1;u>>26,f=67108863&c,d=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=d;h++){var p=u-h|0;l+=(s=(o=0|e.words[p])*(i=0|t.words[h])+f)/67108864|0,f=67108863&s}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var o=0,i=0,s=0;s>>24-o&16777215)||s!==this.length-1?u[6-c.length]+c+r:c+r,(o+=2)>=26&&(o-=26,s--)}for(0!==i&&(r=i.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var d=l[e],h=f[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modn(h).toString(e);r=(p=p.idivn(h)).isZero()?g+r:u[d-g.length]+g+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(e,t){return n(void 0!==s),this.toArrayLike(s,e,t)},i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},i.prototype.toArrayLike=function(e,t,r){var o=this.byteLength(),i=r||Math.max(1,o);n(o<=i,"byte array longer than desired length"),n(i>0,"Requested array length <= 0"),this.strip();var s,a,c="le"===t,u=new e(i),l=this.clone();if(c){for(a=0;!l.isZero();a++)s=l.andln(255),l.iushrn(8),u[a]=s;for(;a=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;re.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var o=0;o0&&(this.words[o]=~this.words[o]&67108863>>26-r),this.strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,o=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(r=this,n=e):(r=e,n=this);for(var o=0,i=0;i>>26;for(;0!==o&&i>>26;if(this.length=r.length,0!==o)this.words[this.length]=o,this.length++;else if(r!==this)for(;ie.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,o=this.cmp(e);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(r=this,n=e):(r=e,n=this);for(var i=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==i&&s>26,this.words[s]=67108863&t;if(0===i&&s>>13,h=0|s[1],p=8191&h,g=h>>>13,m=0|s[2],y=8191&m,b=m>>>13,v=0|s[3],w=8191&v,_=v>>>13,k=0|s[4],O=8191&k,S=k>>>13,E=0|s[5],j=8191&E,P=E>>>13,A=0|s[6],x=8191&A,M=A>>>13,I=0|s[7],C=8191&I,R=I>>>13,T=0|s[8],N=8191&T,B=T>>>13,D=0|s[9],L=8191&D,U=D>>>13,q=0|a[0],H=8191&q,z=q>>>13,K=0|a[1],F=8191&K,$=K>>>13,V=0|a[2],J=8191&V,G=V>>>13,W=0|a[3],Q=8191&W,Z=W>>>13,Y=0|a[4],X=8191&Y,ee=Y>>>13,te=0|a[5],re=8191&te,ne=te>>>13,oe=0|a[6],ie=8191&oe,se=oe>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,le=0|a[8],fe=8191&le,de=le>>>13,he=0|a[9],pe=8191&he,ge=he>>>13;r.negative=e.negative^t.negative,r.length=19;var me=(u+(n=Math.imul(f,H))|0)+((8191&(o=(o=Math.imul(f,z))+Math.imul(d,H)|0))<<13)|0;u=((i=Math.imul(d,z))+(o>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(p,H),o=(o=Math.imul(p,z))+Math.imul(g,H)|0,i=Math.imul(g,z);var ye=(u+(n=n+Math.imul(f,F)|0)|0)+((8191&(o=(o=o+Math.imul(f,$)|0)+Math.imul(d,F)|0))<<13)|0;u=((i=i+Math.imul(d,$)|0)+(o>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(y,H),o=(o=Math.imul(y,z))+Math.imul(b,H)|0,i=Math.imul(b,z),n=n+Math.imul(p,F)|0,o=(o=o+Math.imul(p,$)|0)+Math.imul(g,F)|0,i=i+Math.imul(g,$)|0;var be=(u+(n=n+Math.imul(f,J)|0)|0)+((8191&(o=(o=o+Math.imul(f,G)|0)+Math.imul(d,J)|0))<<13)|0;u=((i=i+Math.imul(d,G)|0)+(o>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(w,H),o=(o=Math.imul(w,z))+Math.imul(_,H)|0,i=Math.imul(_,z),n=n+Math.imul(y,F)|0,o=(o=o+Math.imul(y,$)|0)+Math.imul(b,F)|0,i=i+Math.imul(b,$)|0,n=n+Math.imul(p,J)|0,o=(o=o+Math.imul(p,G)|0)+Math.imul(g,J)|0,i=i+Math.imul(g,G)|0;var ve=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(o=(o=o+Math.imul(f,Z)|0)+Math.imul(d,Q)|0))<<13)|0;u=((i=i+Math.imul(d,Z)|0)+(o>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(O,H),o=(o=Math.imul(O,z))+Math.imul(S,H)|0,i=Math.imul(S,z),n=n+Math.imul(w,F)|0,o=(o=o+Math.imul(w,$)|0)+Math.imul(_,F)|0,i=i+Math.imul(_,$)|0,n=n+Math.imul(y,J)|0,o=(o=o+Math.imul(y,G)|0)+Math.imul(b,J)|0,i=i+Math.imul(b,G)|0,n=n+Math.imul(p,Q)|0,o=(o=o+Math.imul(p,Z)|0)+Math.imul(g,Q)|0,i=i+Math.imul(g,Z)|0;var we=(u+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,ee)|0)+Math.imul(d,X)|0))<<13)|0;u=((i=i+Math.imul(d,ee)|0)+(o>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(j,H),o=(o=Math.imul(j,z))+Math.imul(P,H)|0,i=Math.imul(P,z),n=n+Math.imul(O,F)|0,o=(o=o+Math.imul(O,$)|0)+Math.imul(S,F)|0,i=i+Math.imul(S,$)|0,n=n+Math.imul(w,J)|0,o=(o=o+Math.imul(w,G)|0)+Math.imul(_,J)|0,i=i+Math.imul(_,G)|0,n=n+Math.imul(y,Q)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(b,Q)|0,i=i+Math.imul(b,Z)|0,n=n+Math.imul(p,X)|0,o=(o=o+Math.imul(p,ee)|0)+Math.imul(g,X)|0,i=i+Math.imul(g,ee)|0;var _e=(u+(n=n+Math.imul(f,re)|0)|0)+((8191&(o=(o=o+Math.imul(f,ne)|0)+Math.imul(d,re)|0))<<13)|0;u=((i=i+Math.imul(d,ne)|0)+(o>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(x,H),o=(o=Math.imul(x,z))+Math.imul(M,H)|0,i=Math.imul(M,z),n=n+Math.imul(j,F)|0,o=(o=o+Math.imul(j,$)|0)+Math.imul(P,F)|0,i=i+Math.imul(P,$)|0,n=n+Math.imul(O,J)|0,o=(o=o+Math.imul(O,G)|0)+Math.imul(S,J)|0,i=i+Math.imul(S,G)|0,n=n+Math.imul(w,Q)|0,o=(o=o+Math.imul(w,Z)|0)+Math.imul(_,Q)|0,i=i+Math.imul(_,Z)|0,n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,ee)|0)+Math.imul(b,X)|0,i=i+Math.imul(b,ee)|0,n=n+Math.imul(p,re)|0,o=(o=o+Math.imul(p,ne)|0)+Math.imul(g,re)|0,i=i+Math.imul(g,ne)|0;var ke=(u+(n=n+Math.imul(f,ie)|0)|0)+((8191&(o=(o=o+Math.imul(f,se)|0)+Math.imul(d,ie)|0))<<13)|0;u=((i=i+Math.imul(d,se)|0)+(o>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(C,H),o=(o=Math.imul(C,z))+Math.imul(R,H)|0,i=Math.imul(R,z),n=n+Math.imul(x,F)|0,o=(o=o+Math.imul(x,$)|0)+Math.imul(M,F)|0,i=i+Math.imul(M,$)|0,n=n+Math.imul(j,J)|0,o=(o=o+Math.imul(j,G)|0)+Math.imul(P,J)|0,i=i+Math.imul(P,G)|0,n=n+Math.imul(O,Q)|0,o=(o=o+Math.imul(O,Z)|0)+Math.imul(S,Q)|0,i=i+Math.imul(S,Z)|0,n=n+Math.imul(w,X)|0,o=(o=o+Math.imul(w,ee)|0)+Math.imul(_,X)|0,i=i+Math.imul(_,ee)|0,n=n+Math.imul(y,re)|0,o=(o=o+Math.imul(y,ne)|0)+Math.imul(b,re)|0,i=i+Math.imul(b,ne)|0,n=n+Math.imul(p,ie)|0,o=(o=o+Math.imul(p,se)|0)+Math.imul(g,ie)|0,i=i+Math.imul(g,se)|0;var Oe=(u+(n=n+Math.imul(f,ce)|0)|0)+((8191&(o=(o=o+Math.imul(f,ue)|0)+Math.imul(d,ce)|0))<<13)|0;u=((i=i+Math.imul(d,ue)|0)+(o>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(N,H),o=(o=Math.imul(N,z))+Math.imul(B,H)|0,i=Math.imul(B,z),n=n+Math.imul(C,F)|0,o=(o=o+Math.imul(C,$)|0)+Math.imul(R,F)|0,i=i+Math.imul(R,$)|0,n=n+Math.imul(x,J)|0,o=(o=o+Math.imul(x,G)|0)+Math.imul(M,J)|0,i=i+Math.imul(M,G)|0,n=n+Math.imul(j,Q)|0,o=(o=o+Math.imul(j,Z)|0)+Math.imul(P,Q)|0,i=i+Math.imul(P,Z)|0,n=n+Math.imul(O,X)|0,o=(o=o+Math.imul(O,ee)|0)+Math.imul(S,X)|0,i=i+Math.imul(S,ee)|0,n=n+Math.imul(w,re)|0,o=(o=o+Math.imul(w,ne)|0)+Math.imul(_,re)|0,i=i+Math.imul(_,ne)|0,n=n+Math.imul(y,ie)|0,o=(o=o+Math.imul(y,se)|0)+Math.imul(b,ie)|0,i=i+Math.imul(b,se)|0,n=n+Math.imul(p,ce)|0,o=(o=o+Math.imul(p,ue)|0)+Math.imul(g,ce)|0,i=i+Math.imul(g,ue)|0;var Se=(u+(n=n+Math.imul(f,fe)|0)|0)+((8191&(o=(o=o+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;u=((i=i+Math.imul(d,de)|0)+(o>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(L,H),o=(o=Math.imul(L,z))+Math.imul(U,H)|0,i=Math.imul(U,z),n=n+Math.imul(N,F)|0,o=(o=o+Math.imul(N,$)|0)+Math.imul(B,F)|0,i=i+Math.imul(B,$)|0,n=n+Math.imul(C,J)|0,o=(o=o+Math.imul(C,G)|0)+Math.imul(R,J)|0,i=i+Math.imul(R,G)|0,n=n+Math.imul(x,Q)|0,o=(o=o+Math.imul(x,Z)|0)+Math.imul(M,Q)|0,i=i+Math.imul(M,Z)|0,n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,ee)|0)+Math.imul(P,X)|0,i=i+Math.imul(P,ee)|0,n=n+Math.imul(O,re)|0,o=(o=o+Math.imul(O,ne)|0)+Math.imul(S,re)|0,i=i+Math.imul(S,ne)|0,n=n+Math.imul(w,ie)|0,o=(o=o+Math.imul(w,se)|0)+Math.imul(_,ie)|0,i=i+Math.imul(_,se)|0,n=n+Math.imul(y,ce)|0,o=(o=o+Math.imul(y,ue)|0)+Math.imul(b,ce)|0,i=i+Math.imul(b,ue)|0,n=n+Math.imul(p,fe)|0,o=(o=o+Math.imul(p,de)|0)+Math.imul(g,fe)|0,i=i+Math.imul(g,de)|0;var Ee=(u+(n=n+Math.imul(f,pe)|0)|0)+((8191&(o=(o=o+Math.imul(f,ge)|0)+Math.imul(d,pe)|0))<<13)|0;u=((i=i+Math.imul(d,ge)|0)+(o>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(L,F),o=(o=Math.imul(L,$))+Math.imul(U,F)|0,i=Math.imul(U,$),n=n+Math.imul(N,J)|0,o=(o=o+Math.imul(N,G)|0)+Math.imul(B,J)|0,i=i+Math.imul(B,G)|0,n=n+Math.imul(C,Q)|0,o=(o=o+Math.imul(C,Z)|0)+Math.imul(R,Q)|0,i=i+Math.imul(R,Z)|0,n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,ee)|0)+Math.imul(M,X)|0,i=i+Math.imul(M,ee)|0,n=n+Math.imul(j,re)|0,o=(o=o+Math.imul(j,ne)|0)+Math.imul(P,re)|0,i=i+Math.imul(P,ne)|0,n=n+Math.imul(O,ie)|0,o=(o=o+Math.imul(O,se)|0)+Math.imul(S,ie)|0,i=i+Math.imul(S,se)|0,n=n+Math.imul(w,ce)|0,o=(o=o+Math.imul(w,ue)|0)+Math.imul(_,ce)|0,i=i+Math.imul(_,ue)|0,n=n+Math.imul(y,fe)|0,o=(o=o+Math.imul(y,de)|0)+Math.imul(b,fe)|0,i=i+Math.imul(b,de)|0;var je=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(o=(o=o+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;u=((i=i+Math.imul(g,ge)|0)+(o>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(L,J),o=(o=Math.imul(L,G))+Math.imul(U,J)|0,i=Math.imul(U,G),n=n+Math.imul(N,Q)|0,o=(o=o+Math.imul(N,Z)|0)+Math.imul(B,Q)|0,i=i+Math.imul(B,Z)|0,n=n+Math.imul(C,X)|0,o=(o=o+Math.imul(C,ee)|0)+Math.imul(R,X)|0,i=i+Math.imul(R,ee)|0,n=n+Math.imul(x,re)|0,o=(o=o+Math.imul(x,ne)|0)+Math.imul(M,re)|0,i=i+Math.imul(M,ne)|0,n=n+Math.imul(j,ie)|0,o=(o=o+Math.imul(j,se)|0)+Math.imul(P,ie)|0,i=i+Math.imul(P,se)|0,n=n+Math.imul(O,ce)|0,o=(o=o+Math.imul(O,ue)|0)+Math.imul(S,ce)|0,i=i+Math.imul(S,ue)|0,n=n+Math.imul(w,fe)|0,o=(o=o+Math.imul(w,de)|0)+Math.imul(_,fe)|0,i=i+Math.imul(_,de)|0;var Pe=(u+(n=n+Math.imul(y,pe)|0)|0)+((8191&(o=(o=o+Math.imul(y,ge)|0)+Math.imul(b,pe)|0))<<13)|0;u=((i=i+Math.imul(b,ge)|0)+(o>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(L,Q),o=(o=Math.imul(L,Z))+Math.imul(U,Q)|0,i=Math.imul(U,Z),n=n+Math.imul(N,X)|0,o=(o=o+Math.imul(N,ee)|0)+Math.imul(B,X)|0,i=i+Math.imul(B,ee)|0,n=n+Math.imul(C,re)|0,o=(o=o+Math.imul(C,ne)|0)+Math.imul(R,re)|0,i=i+Math.imul(R,ne)|0,n=n+Math.imul(x,ie)|0,o=(o=o+Math.imul(x,se)|0)+Math.imul(M,ie)|0,i=i+Math.imul(M,se)|0,n=n+Math.imul(j,ce)|0,o=(o=o+Math.imul(j,ue)|0)+Math.imul(P,ce)|0,i=i+Math.imul(P,ue)|0,n=n+Math.imul(O,fe)|0,o=(o=o+Math.imul(O,de)|0)+Math.imul(S,fe)|0,i=i+Math.imul(S,de)|0;var Ae=(u+(n=n+Math.imul(w,pe)|0)|0)+((8191&(o=(o=o+Math.imul(w,ge)|0)+Math.imul(_,pe)|0))<<13)|0;u=((i=i+Math.imul(_,ge)|0)+(o>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(L,X),o=(o=Math.imul(L,ee))+Math.imul(U,X)|0,i=Math.imul(U,ee),n=n+Math.imul(N,re)|0,o=(o=o+Math.imul(N,ne)|0)+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,n=n+Math.imul(C,ie)|0,o=(o=o+Math.imul(C,se)|0)+Math.imul(R,ie)|0,i=i+Math.imul(R,se)|0,n=n+Math.imul(x,ce)|0,o=(o=o+Math.imul(x,ue)|0)+Math.imul(M,ce)|0,i=i+Math.imul(M,ue)|0,n=n+Math.imul(j,fe)|0,o=(o=o+Math.imul(j,de)|0)+Math.imul(P,fe)|0,i=i+Math.imul(P,de)|0;var xe=(u+(n=n+Math.imul(O,pe)|0)|0)+((8191&(o=(o=o+Math.imul(O,ge)|0)+Math.imul(S,pe)|0))<<13)|0;u=((i=i+Math.imul(S,ge)|0)+(o>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(L,re),o=(o=Math.imul(L,ne))+Math.imul(U,re)|0,i=Math.imul(U,ne),n=n+Math.imul(N,ie)|0,o=(o=o+Math.imul(N,se)|0)+Math.imul(B,ie)|0,i=i+Math.imul(B,se)|0,n=n+Math.imul(C,ce)|0,o=(o=o+Math.imul(C,ue)|0)+Math.imul(R,ce)|0,i=i+Math.imul(R,ue)|0,n=n+Math.imul(x,fe)|0,o=(o=o+Math.imul(x,de)|0)+Math.imul(M,fe)|0,i=i+Math.imul(M,de)|0;var Me=(u+(n=n+Math.imul(j,pe)|0)|0)+((8191&(o=(o=o+Math.imul(j,ge)|0)+Math.imul(P,pe)|0))<<13)|0;u=((i=i+Math.imul(P,ge)|0)+(o>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(L,ie),o=(o=Math.imul(L,se))+Math.imul(U,ie)|0,i=Math.imul(U,se),n=n+Math.imul(N,ce)|0,o=(o=o+Math.imul(N,ue)|0)+Math.imul(B,ce)|0,i=i+Math.imul(B,ue)|0,n=n+Math.imul(C,fe)|0,o=(o=o+Math.imul(C,de)|0)+Math.imul(R,fe)|0,i=i+Math.imul(R,de)|0;var Ie=(u+(n=n+Math.imul(x,pe)|0)|0)+((8191&(o=(o=o+Math.imul(x,ge)|0)+Math.imul(M,pe)|0))<<13)|0;u=((i=i+Math.imul(M,ge)|0)+(o>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(L,ce),o=(o=Math.imul(L,ue))+Math.imul(U,ce)|0,i=Math.imul(U,ue),n=n+Math.imul(N,fe)|0,o=(o=o+Math.imul(N,de)|0)+Math.imul(B,fe)|0,i=i+Math.imul(B,de)|0;var Ce=(u+(n=n+Math.imul(C,pe)|0)|0)+((8191&(o=(o=o+Math.imul(C,ge)|0)+Math.imul(R,pe)|0))<<13)|0;u=((i=i+Math.imul(R,ge)|0)+(o>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(L,fe),o=(o=Math.imul(L,de))+Math.imul(U,fe)|0,i=Math.imul(U,de);var Re=(u+(n=n+Math.imul(N,pe)|0)|0)+((8191&(o=(o=o+Math.imul(N,ge)|0)+Math.imul(B,pe)|0))<<13)|0;u=((i=i+Math.imul(B,ge)|0)+(o>>>13)|0)+(Re>>>26)|0,Re&=67108863;var Te=(u+(n=Math.imul(L,pe))|0)+((8191&(o=(o=Math.imul(L,ge))+Math.imul(U,pe)|0))<<13)|0;return u=((i=Math.imul(U,ge))+(o>>>13)|0)+(Te>>>26)|0,Te&=67108863,c[0]=me,c[1]=ye,c[2]=be,c[3]=ve,c[4]=we,c[5]=_e,c[6]=ke,c[7]=Oe,c[8]=Se,c[9]=Ee,c[10]=je,c[11]=Pe,c[12]=Ae,c[13]=xe,c[14]=Me,c[15]=Ie,c[16]=Ce,c[17]=Re,c[18]=Te,0!==u&&(c[19]=u,r.length++),r};function p(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(h=d),i.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?h(this,e,t):r<63?d(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,o=0,i=0;i>>26)|0)>>>26,s&=67108863}r.words[i]=a,n=s,s=o}return 0!==n?r.words[i]=n:r.length--,r.strip()}(this,e,t):p(this,e,t)},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n>=1;return n},g.prototype.permute=function(e,t,r,n,o,i){for(var s=0;s>>=1)o++;return 1<>>=13,r[2*s+1]=8191&i,i>>>=13;for(s=2*t;s>=26,t+=o/67108864|0,t+=i>>>26,this.words[r]=67108863&i}return 0!==t&&(this.words[r]=t,this.length++),this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r>>o}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n=0);var t,r=e%26,o=(e-r)/26,i=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(t=0;t>>26-r}s&&(this.words[t]=s,this.length++)}if(0!==o){for(t=this.length-1;t>=0;t--)this.words[t+o]=this.words[t];for(t=0;t=0),o=t?(t-t%26)/26:0;var i=e%26,s=Math.min((e-i)/26,this.length),a=67108863^67108863>>>i<s)for(this.length-=s,u=0;u=0&&(0!==l||u>=o);u--){var f=0|this.words[u];this.words[u]=l<<26-i|f>>>i,l=f&a}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,o=1<=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var o=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[o+r]=67108863&i}for(;o>26,this.words[o+r]=67108863&i;if(0===a)return this.strip();for(n(-1===a),a=0,o=0;o>26,this.words[o]=67108863&i;return this.negative=1,this.strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),o=e,s=0|o.words[o.length-1];0!==(r=26-this._countBits(s))&&(o=o.ushln(r),n.iushln(r),s=0|o.words[o.length-1]);var a,c=n.length-o.length;if("mod"!==t){(a=new i(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u=0;f--){var d=67108864*(0|n.words[o.length+f])+(0|n.words[o.length+f-1]);for(d=Math.min(d/s|0,67108863),n._ishlnsubmul(o,d,f);0!==n.negative;)d--,n.negative=0,n._ishlnsubmul(o,1,f),n.isZero()||(n.negative^=1);a&&(a.words[f]=d)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.iadd(e)),{div:o,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modn(e.words[0]))}:this._wordDiv(e,t);var o,s,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),o=e.andln(1),i=r.cmp(n);return i<0||1===o&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,o=this.length-1;o>=0;o--)r=(t*r+(0|this.words[o]))%e;return r},i.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var o=(0|this.words[r])+67108864*t;this.words[r]=o/e|0,t=o%e}return this.strip()},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),s=new i(0),a=new i(0),c=new i(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0==(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(l),s.isub(f)),o.iushrn(1),s.iushrn(1);for(var p=0,g=1;0==(r.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(l),c.isub(f)),a.iushrn(1),c.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a),s.isub(c)):(r.isub(t),a.isub(o),c.isub(s))}return{a:a,b:c,gcd:r.iushln(u)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o,s=new i(1),a=new i(0),c=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var f=0,d=1;0==(r.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(r.iushrn(f);f-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),s.isub(a)):(r.isub(t),a.isub(s))}return(o=0===t.cmpn(1)?s:a).cmpn(0)<0&&o.iadd(e),o},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var o=t.cmp(r);if(o<0){var i=t;t=r,r=i}else if(0===o||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,o=1<>>26,a&=67108863,this.words[s]=a}return 0!==i&&(this.words[s]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var o=0|this.words[0];t=o===e?0:oe.length)return 1;if(this.length=0;r--){var n=0|this.words[r],o=0|e.words[r];if(n!==o){no&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new k(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var m={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function b(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function O(e){k.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},o(b,y),b.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n>>22,o=i}o>>>=22,e.words[n-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},b.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r>>=26,e.words[r]=o,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(m[e])return m[e];var t;if("k256"===e)t=new b;else if("p224"===e)t=new v;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new _}return m[e]=t,t},k.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},k.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},k.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},k.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},k.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},k.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},k.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},k.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},k.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},k.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},k.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},k.prototype.isqr=function(e){return this.imul(e,e.clone())},k.prototype.sqr=function(e){return this.mul(e,e)},k.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);n(!o.isZero());var a=new i(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,o),d=this.pow(e,o.addn(1).iushrn(1)),h=this.pow(e,o),p=s;0!==h.cmp(a);){for(var g=h,m=0;0!==g.cmp(a);m++)g=g.redSqr();n(m=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var f=u>>l&1;o!==r[0]&&(o=this.sqr(o)),0!==f||0!==s?(s<<=1,s|=f,(4===++a||0===n&&0===l)&&(o=this.mul(o,r[s]),a=0,s=0)):a=0}c=26}return o},k.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},k.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new O(e)},o(O,k),O.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},O.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},O.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),i=o;return o.cmp(this.m)>=0?i=o.isub(this.m):o.cmpn(0)<0&&(i=o.iadd(this.m)),i._forceRed(this)},O.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},O.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(71)(e))},function(e,t,r){ -/*! safe-buffer. MIT License. Feross Aboukhadijeh */ -var n=r(2),o=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function s(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=s),s.prototype=Object.create(o.prototype),i(o,s),s.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},s.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},,function(e,t,r){(function(t){var n;e.exports=(n=n||function(e,n){var o;if("undefined"!=typeof window&&window.crypto&&(o=window.crypto),!o&&"undefined"!=typeof window&&window.msCrypto&&(o=window.msCrypto),!o&&void 0!==t&&t.crypto&&(o=t.crypto),!o)try{o=r(72)}catch(e){}var i=function(){if(o){if("function"==typeof o.getRandomValues)try{return o.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof o.randomBytes)try{return o.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),a={},c=a.lib={},u=c.Base={extend:function(e){var t=s(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},l=c.WordArray=u.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,o=e.sigBytes;if(this.clamp(),n%4)for(var i=0;i>>2]>>>24-i%4*8&255;t[n+i>>>2]|=s<<24-(n+i)%4*8}else for(i=0;i>>2]=r[i>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=u.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new l.init(r,t/2)}},h=f.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new l.init(r,t)}},p=f.Utf8={stringify:function(e){try{return decodeURIComponent(escape(h.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return h.parse(unescape(encodeURIComponent(e)))}},g=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,o=n.words,i=n.sigBytes,s=this.blockSize,a=i/(4*s),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,u=e.min(4*c,i);if(c){for(var f=0;f1)for(var r=1;r>>2];e.sigBytes-=t}},i.BlockCipher=d.extend({cfg:d.cfg.extend({mode:g,padding:m}),reset:function(){var e;d.reset.call(this);var t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),y=i.CipherParams=s.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),b=(o.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?a.create([1398893684,1701076831]).concat(r).concat(t):t).toString(l)},parse:function(e){var t,r=l.parse(e),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=a.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),y.create({ciphertext:r,salt:t})}},v=i.SerializableCipher=s.extend({cfg:s.extend({format:b}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var o=e.createEncryptor(r,n),i=o.finalize(t),s=o.cfg;return y.create({ciphertext:i,key:r,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),w=(o.kdf={}).OpenSSL={execute:function(e,t,r,n){n||(n=a.random(8));var o=f.create({keySize:t+r}).compute(e,n),i=a.create(o.words.slice(t),4*r);return o.sigBytes=4*t,y.create({key:o,iv:i,salt:n})}},_=i.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:w}),encrypt:function(e,t,r,n){var o=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize);n.iv=o.iv;var i=v.encrypt.call(this,e,t,o.key,n);return i.mixIn(o),i},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var o=n.kdf.execute(r,e.keySize,e.ivSize,t.salt);return n.iv=o.iv,v.decrypt.call(this,e,t,o.key,n)}}))))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(221),t),o(r(421),t),o(r(235),t),o(r(116),t),o(r(112),t),o(r(234),t),o(r(149),t)},function(e,t,r){const n=r(132),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=r(131),{re:s,t:a}=r(84),c=r(133),{compareIdentifiers:u}=r(182);class l{constructor(e,t){if(t=c(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?s[a.LOOSE]:s[a.FULL]);if(!r)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this}}e.exports=l},,,,function(e,t,r){"use strict";var n=r(302),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function s(e){return void 0===e}function a(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var r=0,n=e.length;r(o>>1)-1?(o>>1)-c:c,i.isubn(a)):a=0,n[s]=a,i.iushrn(1)}return n},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n=0,o=0;e.cmpn(-n)>0||t.cmpn(-o)>0;){var i,s,a,c=e.andln(3)+n&3,u=t.andln(3)+o&3;if(3===c&&(c=-1),3===u&&(u=-1),0==(1&c))i=0;else i=3!==(a=e.andln(7)+n&7)&&5!==a||2!==u?c:-c;if(r[0].push(i),0==(1&u))s=0;else s=3!==(a=t.andln(7)+o&7)&&5!==a||2!==c?u:-u;r[1].push(s),2*n===i+1&&(n=1-n),2*o===s+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new o(e,"hex","le")}},,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toUtf8=t.fromUtf8=t.toRfc3339=t.fromRfc3339=t.toHex=t.fromHex=t.Bech32=t.toBase64=t.fromBase64=t.toAscii=t.fromAscii=void 0;var n=r(615);Object.defineProperty(t,"fromAscii",{enumerable:!0,get:function(){return n.fromAscii}}),Object.defineProperty(t,"toAscii",{enumerable:!0,get:function(){return n.toAscii}});var o=r(616);Object.defineProperty(t,"fromBase64",{enumerable:!0,get:function(){return o.fromBase64}}),Object.defineProperty(t,"toBase64",{enumerable:!0,get:function(){return o.toBase64}});var i=r(617);Object.defineProperty(t,"Bech32",{enumerable:!0,get:function(){return i.Bech32}});var s=r(618);Object.defineProperty(t,"fromHex",{enumerable:!0,get:function(){return s.fromHex}}),Object.defineProperty(t,"toHex",{enumerable:!0,get:function(){return s.toHex}});var a=r(619);Object.defineProperty(t,"fromRfc3339",{enumerable:!0,get:function(){return a.fromRfc3339}}),Object.defineProperty(t,"toRfc3339",{enumerable:!0,get:function(){return a.toRfc3339}});var c=r(620);Object.defineProperty(t,"fromUtf8",{enumerable:!0,get:function(){return c.fromUtf8}}),Object.defineProperty(t,"toUtf8",{enumerable:!0,get:function(){return c.toUtf8}})},function(e,t,r){const n=r(24);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},function(e,t,r){class n{constructor(e,t){if(t=i(t),e instanceof n)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new n(e.raw,t);if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter(e=>!p(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&g(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,r=o.get(t);if(r)return r;const n=this.options.loose,i=n?u[l.HYPHENRANGELOOSE]:u[l.HYPHENRANGE];e=e.replace(i,P(this.options.includePrerelease)),a("hyphen replace",e),e=e.replace(u[l.COMPARATORTRIM],f),a("comparator trim",e,u[l.COMPARATORTRIM]),e=(e=(e=e.replace(u[l.TILDETRIM],d)).replace(u[l.CARETTRIM],h)).split(/\s+/).join(" ");const c=n?u[l.COMPARATORLOOSE]:u[l.COMPARATOR],g=e.split(" ").map(e=>y(e,this.options)).join(" ").split(/\s+/).map(e=>j(e,this.options)).filter(this.options.loose?e=>!!e.match(c):()=>!0).map(e=>new s(e,this.options)),m=(g.length,new Map);for(const e of g){if(p(e))return[e];m.set(e.value,e)}m.size>1&&m.has("")&&m.delete("");const b=[...m.values()];return o.set(t,b),b}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some(r=>m(r,t)&&e.set.some(e=>m(e,t)&&r.every(r=>e.every(e=>r.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,g=e=>""===e.value,m=(e,t)=>{let r=!0;const n=e.slice();let o=n.pop();for(;r&&n.length;)r=n.every(e=>o.intersects(e,t)),o=n.pop();return r},y=(e,t)=>(a("comp",e,t),e=_(e,t),a("caret",e),e=v(e,t),a("tildes",e),e=O(e,t),a("xrange",e),e=E(e,t),a("stars",e),e),b=e=>!e||"x"===e.toLowerCase()||"*"===e,v=(e,t)=>e.trim().split(/\s+/).map(e=>w(e,t)).join(" "),w=(e,t)=>{const r=t.loose?u[l.TILDELOOSE]:u[l.TILDE];return e.replace(r,(t,r,n,o,i)=>{let s;return a("tilde",e,t,r,n,o,i),b(r)?s="":b(n)?s=`>=${r}.0.0 <${+r+1}.0.0-0`:b(o)?s=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:i?(a("replaceTilde pr",i),s=`>=${r}.${n}.${o}-${i} <${r}.${+n+1}.0-0`):s=`>=${r}.${n}.${o} <${r}.${+n+1}.0-0`,a("tilde return",s),s})},_=(e,t)=>e.trim().split(/\s+/).map(e=>k(e,t)).join(" "),k=(e,t)=>{a("caret",e,t);const r=t.loose?u[l.CARETLOOSE]:u[l.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,o,i,s)=>{let c;return a("caret",e,t,r,o,i,s),b(r)?c="":b(o)?c=`>=${r}.0.0${n} <${+r+1}.0.0-0`:b(i)?c="0"===r?`>=${r}.${o}.0${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${n} <${+r+1}.0.0-0`:s?(a("replaceCaret pr",s),c="0"===r?"0"===o?`>=${r}.${o}.${i}-${s} <${r}.${o}.${+i+1}-0`:`>=${r}.${o}.${i}-${s} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${i}-${s} <${+r+1}.0.0-0`):(a("no pr"),c="0"===r?"0"===o?`>=${r}.${o}.${i}${n} <${r}.${o}.${+i+1}-0`:`>=${r}.${o}.${i}${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${i} <${+r+1}.0.0-0`),a("caret return",c),c})},O=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map(e=>S(e,t)).join(" ")),S=(e,t)=>{e=e.trim();const r=t.loose?u[l.XRANGELOOSE]:u[l.XRANGE];return e.replace(r,(r,n,o,i,s,c)=>{a("xRange",e,r,n,o,i,s,c);const u=b(o),l=u||b(i),f=l||b(s),d=f;return"="===n&&d&&(n=""),c=t.includePrerelease?"-0":"",u?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&d?(l&&(i=0),s=0,">"===n?(n=">=",l?(o=+o+1,i=0,s=0):(i=+i+1,s=0)):"<="===n&&(n="<",l?o=+o+1:i=+i+1),"<"===n&&(c="-0"),r=`${n+o}.${i}.${s}${c}`):l?r=`>=${o}.0.0${c} <${+o+1}.0.0-0`:f&&(r=`>=${o}.${i}.0${c} <${o}.${+i+1}.0-0`),a("xRange return",r),r})},E=(e,t)=>(a("replaceStars",e,t),e.trim().replace(u[l.STAR],"")),j=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?l.GTE0PRE:l.GTE0],"")),P=e=>(t,r,n,o,i,s,a,c,u,l,f,d,h)=>`${r=b(n)?"":b(o)?`>=${n}.0.0${e?"-0":""}`:b(i)?`>=${n}.${o}.0${e?"-0":""}`:s?">="+r:`>=${r}${e?"-0":""}`} ${c=b(u)?"":b(l)?`<${+u+1}.0.0-0`:b(f)?`<${u}.${+l+1}.0-0`:d?`<=${u}.${l}.${f}-${d}`:e?`<${u}.${l}.${+f+1}-0`:"<="+c}`.trim(),A=(e,t,r)=>{for(let r=0;r0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(732);t.Bech32=n.Bech32;var o=r(733);t.Decimal=o.Decimal;var i=r(360);t.Encoding=i.Encoding;var s=r(734);t.Int53=s.Int53,t.Uint32=s.Uint32,t.Uint53=s.Uint53,t.Uint64=s.Uint64;var a=r(735);t.isJsonCompatibleValue=a.isJsonCompatibleValue,t.isJsonCompatibleDictionary=a.isJsonCompatibleDictionary,t.isJsonCompatibleArray=a.isJsonCompatibleArray;var c=r(736);t.TransactionEncoder=c.TransactionEncoder;var u=r(362);t.isNonNullObject=u.isNonNullObject,t.isUint8Array=u.isUint8Array},function(e,t,r){"use strict";var n;r.r(t),r.d(t,"Lifecycle",(function(){return o})),r.d(t,"autoInjectable",(function(){return j})),r.d(t,"inject",(function(){return P})),r.d(t,"injectable",(function(){return A})),r.d(t,"registry",(function(){return x})),r.d(t,"singleton",(function(){return M})),r.d(t,"injectAll",(function(){return I})),r.d(t,"injectAllWithTransform",(function(){return C})),r.d(t,"injectWithTransform",(function(){return R})),r.d(t,"scoped",(function(){return T})),r.d(t,"instanceCachingFactory",(function(){return N})),r.d(t,"predicateAwareClassFactory",(function(){return B})),r.d(t,"isClassProvider",(function(){return c})),r.d(t,"isFactoryProvider",(function(){return u})),r.d(t,"isNormalToken",(function(){return d})),r.d(t,"isTokenProvider",(function(){return g})),r.d(t,"isValueProvider",(function(){return m})),r.d(t,"delay",(function(){return f})),r.d(t,"container",(function(){return E})),function(e){e[e.Transient=0]="Transient",e[e.Singleton=1]="Singleton",e[e.ResolutionScoped=2]="ResolutionScoped",e[e.ContainerScoped=3]="ContainerScoped"}(n||(n={}));var o=n,i=r(3);function s(e){var t=Reflect.getMetadata("design:paramtypes",e)||[],r=Reflect.getOwnMetadata("injectionTokens",e)||{};return Object.keys(r).forEach((function(e){t[+e]=r[e]})),t}function a(e,t){return function(r,n,o){var i=Reflect.getOwnMetadata("injectionTokens",r)||{};i[o]=t?{token:e,transform:t.transformToken,transformArgs:t.args||[]}:e,Reflect.defineMetadata("injectionTokens",i,r)}}function c(e){return!!e.useClass}function u(e){return!!e.useFactory}var l=function(){function e(e){this.wrap=e,this.reflectMethods=["get","getPrototypeOf","setPrototypeOf","getOwnPropertyDescriptor","defineProperty","has","set","deleteProperty","apply","construct"]}return e.prototype.createProxy=function(e){var t,r=this,n=!1;return new Proxy({},this.createHandler((function(){return n||(t=e(r.wrap()),n=!0),t})))},e.prototype.createHandler=function(e){var t={};return this.reflectMethods.forEach((function(r){t[r]=function(){for(var t=[],n=0;n0},e.prototype.clear=function(){this._registryMap.clear()},e.prototype.ensure=function(e){this._registryMap.has(e)||this._registryMap.set(e,[])},e}(),b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t}(y),v=function(){this.scopedResolutions=new Map};function w(e,t,r){var n,o,s,a=Object(i.c)(e.toString().match(/constructor\(([\w, ]+)\)/)||[],2)[1],c=function(e,t){return null===e?"at position #"+t:'"'+e.split(",")[t].trim()+'" at position #'+t}(void 0===a?null:a,t);return n="Cannot inject the dependency "+c+' of "'+e.name+'" constructor. Reason:',o=r,void 0===s&&(s=" "),Object(i.e)([n],o.message.split("\n").map((function(e){return s+e}))).join("\n")}var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t}(y),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t}(y),O=function(){this.preResolution=new _,this.postResolution=new k},S=new Map,E=new(function(){function e(e){this.parent=e,this._registry=new b,this.interceptors=new O}return e.prototype.register=function(e,t,r){var n;if(void 0===r&&(r={lifecycle:o.Transient}),n=function(e){return c(e)||m(e)||g(e)||u(e)}(t)?t:{useClass:t},g(n))for(var s=[e],a=n;null!=a;){var l=a.useToken;if(s.includes(l))throw new Error("Token registration cycle detected! "+Object(i.e)(s,[l]).join(" -> "));s.push(l);var f=this._registry.get(l);a=f&&g(f.provider)?f.provider:null}if((r.lifecycle===o.Singleton||r.lifecycle==o.ContainerScoped||r.lifecycle==o.ResolutionScoped)&&(m(n)||u(n)))throw new Error('Cannot use lifecycle "'+o[r.lifecycle]+'" with ValueProviders or FactoryProviders');return this._registry.set(e,{provider:n,options:r}),this},e.prototype.registerType=function(e,t){return d(t)?this.register(e,{useToken:t}):this.register(e,{useClass:t})},e.prototype.registerInstance=function(e,t){return this.register(e,{useValue:t})},e.prototype.registerSingleton=function(e,t){if(d(e)){if(d(t))return this.register(e,{useToken:t},{lifecycle:o.Singleton});if(t)return this.register(e,{useClass:t},{lifecycle:o.Singleton});throw new Error('Cannot register a type name as a singleton without a "to" token')}var r=e;return t&&!d(t)&&(r=t),this.register(e,{useClass:r},{lifecycle:o.Singleton})},e.prototype.resolve=function(e,t){void 0===t&&(t=new v);var r=this.getRegistration(e);if(!r&&d(e))throw new Error('Attempted to resolve unregistered dependency token: "'+e.toString()+'"');if(this.executePreResolutionInterceptor(e,"Single"),r){var n=this.resolveRegistration(r,t);return this.executePostResolutionInterceptor(e,n,"Single"),n}if(function(e){return"function"==typeof e||e instanceof l}(e)){n=this.construct(e,t);return this.executePostResolutionInterceptor(e,n,"Single"),n}throw new Error("Attempted to construct an undefined constructor. Could mean a circular dependency problem. Try using `delay` function.")},e.prototype.executePreResolutionInterceptor=function(e,t){var r,n;if(this.interceptors.preResolution.has(e)){var o=[];try{for(var s=Object(i.g)(this.interceptors.preResolution.getAll(e)),a=s.next();!a.done;a=s.next()){var c=a.value;"Once"!=c.options.frequency&&o.push(c),c.callback(e,t)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}this.interceptors.preResolution.setAll(e,o)}},e.prototype.executePostResolutionInterceptor=function(e,t,r){var n,o;if(this.interceptors.postResolution.has(e)){var s=[];try{for(var a=Object(i.g)(this.interceptors.postResolution.getAll(e)),c=a.next();!c.done;c=a.next()){var u=c.value;"Once"!=u.options.frequency&&s.push(u),u.callback(e,t,r)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}this.interceptors.postResolution.setAll(e,s)}},e.prototype.resolveRegistration=function(e,t){if(e.options.lifecycle===o.ResolutionScoped&&t.scopedResolutions.has(e))return t.scopedResolutions.get(e);var r,n=e.options.lifecycle===o.Singleton,i=e.options.lifecycle===o.ContainerScoped,s=n||i;return r=m(e.provider)?e.provider.useValue:g(e.provider)?s?e.instance||(e.instance=this.resolve(e.provider.useToken,t)):this.resolve(e.provider.useToken,t):c(e.provider)?s?e.instance||(e.instance=this.construct(e.provider.useClass,t)):this.construct(e.provider.useClass,t):u(e.provider)?e.provider.useFactory(this):this.construct(e.provider,t),e.options.lifecycle===o.ResolutionScoped&&t.scopedResolutions.set(e,r),r},e.prototype.resolveAll=function(e,t){var r=this;void 0===t&&(t=new v);var n=this.getAllRegistrations(e);if(!n&&d(e))throw new Error('Attempted to resolve unregistered dependency token: "'+e.toString()+'"');if(this.executePreResolutionInterceptor(e,"All"),n){var o=n.map((function(e){return r.resolveRegistration(e,t)}));return this.executePostResolutionInterceptor(e,o,"All"),o}var i=[this.construct(e,t)];return this.executePostResolutionInterceptor(e,i,"All"),i},e.prototype.isRegistered=function(e,t){return void 0===t&&(t=!1),this._registry.has(e)||t&&(this.parent||!1)&&this.parent.isRegistered(e,!0)},e.prototype.reset=function(){this._registry.clear(),this.interceptors.preResolution.clear(),this.interceptors.postResolution.clear()},e.prototype.clearInstances=function(){var e,t;try{for(var r=Object(i.g)(this._registry.entries()),n=r.next();!n.done;n=r.next()){var o=Object(i.c)(n.value,2),s=o[0],a=o[1];this._registry.setAll(s,a.filter((function(e){return!m(e.provider)})).map((function(e){return e.instance=void 0,e})))}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},e.prototype.createChildContainer=function(){var t,r,n=new e(this);try{for(var s=Object(i.g)(this._registry.entries()),a=s.next();!a.done;a=s.next()){var c=Object(i.c)(a.value,2),u=c[0],l=c[1];l.some((function(e){return e.options.lifecycle===o.ContainerScoped}))&&n._registry.setAll(u,l.map((function(e){return e.options.lifecycle===o.ContainerScoped?{provider:e.provider,options:e.options}:e})))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return n},e.prototype.beforeResolution=function(e,t,r){void 0===r&&(r={frequency:"Always"}),this.interceptors.preResolution.set(e,{callback:t,options:r})},e.prototype.afterResolution=function(e,t,r){void 0===r&&(r={frequency:"Always"}),this.interceptors.postResolution.set(e,{callback:t,options:r})},e.prototype.getRegistration=function(e){return this.isRegistered(e)?this._registry.get(e):this.parent?this.parent.getRegistration(e):null},e.prototype.getAllRegistrations=function(e){return this.isRegistered(e)?this._registry.getAll(e):this.parent?this.parent.getAllRegistrations(e):null},e.prototype.construct=function(e,t){var r=this;if(e instanceof l)return e.createProxy((function(e){return r.resolve(e,t)}));var n=S.get(e);if(!n||0===n.length){if(0===e.length)return new e;throw new Error('TypeInfo not known for "'+e.name+'"')}var o=n.map(this.resolveParams(t,e));return new(e.bind.apply(e,Object(i.e)([void 0],o)))},e.prototype.resolveParams=function(e,t){var r=this;return function(n,o){var s,a,c;try{return h(n)?p(n)?n.multiple?(s=r.resolve(n.transform)).transform.apply(s,Object(i.e)([r.resolveAll(n.token)],n.transformArgs)):(a=r.resolve(n.transform)).transform.apply(a,Object(i.e)([r.resolve(n.token,e)],n.transformArgs)):n.multiple?r.resolveAll(n.token):r.resolve(n.token,e):p(n)?(c=r.resolve(n.transform,e)).transform.apply(c,Object(i.e)([r.resolve(n.token,e)],n.transformArgs)):r.resolve(n,e)}catch(e){throw new Error(w(t,o,e))}}},e}());var j=function(){return function(e){var t=s(e);return function(r){function n(){for(var n=[],o=0;o4096},nanoS:{id:"nanoS",productName:"Ledger Nano S",productIdMM:16,legacyUsbProductId:1,usbOnly:!0,memorySize:327680,blockSize:4096,getBlockSize:e=>o.a.lt(o.a.coerce(e),"2.0.0")?4096:2048},nanoX:{id:"nanoX",productName:"Ledger Nano X",productIdMM:64,legacyUsbProductId:4,usbOnly:!1,memorySize:2097152,blockSize:4096,getBlockSize:e=>4096,bluetoothSpec:[{serviceUuid:"d973f2e0-b19e-11e2-9e96-0800200c9a66",notifyUuid:"d973f2e1-b19e-11e2-9e96-0800200c9a66",writeUuid:"d973f2e2-b19e-11e2-9e96-0800200c9a66"},{serviceUuid:"13d63400-2c97-0004-0000-4c6564676572",notifyUuid:"13d63400-2c97-0004-0001-4c6564676572",writeUuid:"13d63400-2c97-0004-0002-4c6564676572"}]}},s=Object.values(i),a=11415,c=e=>{const t=s.find(t=>t.legacyUsbProductId===e);if(t)return t;const r=e>>8;return s.find(e=>e.productIdMM===r)},u=[],l={};for(let e in i){const t=i[e],{bluetoothSpec:r}=t;if(r)for(let e=0;e=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function s(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function a(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=o,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),o=0;o>6|192,r[n++]=63&s|128):i(e,o)?(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++o)),r[n++]=s>>18|240,r[n++]=s>>12&63|128,r[n++]=s>>6&63|128,r[n++]=63&s|128):(r[n++]=s>>12|224,r[n++]=s>>6&63|128,r[n++]=63&s|128)}else for(o=0;o>>0}return s},t.split32=function(e,t){for(var r=new Array(4*e.length),n=0,o=0;n>>24,r[o+1]=i>>>16&255,r[o+2]=i>>>8&255,r[o+3]=255&i):(r[o+3]=i>>>24,r[o+2]=i>>>16&255,r[o+1]=i>>>8&255,r[o]=255&i)}return r},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,r){return e+t+r>>>0},t.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},t.sum32_5=function(e,t,r,n,o){return e+t+r+n+o>>>0},t.sum64=function(e,t,r,n){var o=e[t],i=n+e[t+1]>>>0,s=(i>>0,e[t+1]=i},t.sum64_hi=function(e,t,r,n){return(t+n>>>0>>0},t.sum64_lo=function(e,t,r,n){return t+n>>>0},t.sum64_4_hi=function(e,t,r,n,o,i,s,a){var c=0,u=t;return c+=(u=u+n>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(e,t,r,n,o,i,s,a){return t+n+i+a>>>0},t.sum64_5_hi=function(e,t,r,n,o,i,s,a,c,u){var l=0,f=t;return l+=(f=f+n>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(e,t,r,n,o,i,s,a,c,u){return t+n+i+a+u>>>0},t.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},t.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},t.shr64_hi=function(e,t,r){return e>>>r},t.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.slip10CurveFromString=t.Slip10RawIndex=t.Slip10Curve=t.Slip10=t.stringToPath=t.pathToString=t.sha512=t.Sha512=t.sha256=t.Sha256=t.sha1=t.Sha1=t.Secp256k1Signature=t.ExtendedSecp256k1Signature=t.Secp256k1=t.ripemd160=t.Ripemd160=t.Random=t.Ed25519Keypair=t.Ed25519=t.isArgon2idOptions=t.Argon2id=t.xchacha20NonceLength=t.Xchacha20poly1305Ietf=t.keccak256=t.Keccak256=t.Hmac=t.EnglishMnemonic=t.Bip39=void 0;var n=r(614);Object.defineProperty(t,"Bip39",{enumerable:!0,get:function(){return n.Bip39}});var o=r(312);Object.defineProperty(t,"EnglishMnemonic",{enumerable:!0,get:function(){return o.EnglishMnemonic}});var i=r(313);Object.defineProperty(t,"Hmac",{enumerable:!0,get:function(){return i.Hmac}});var s=r(621);Object.defineProperty(t,"Keccak256",{enumerable:!0,get:function(){return s.Keccak256}}),Object.defineProperty(t,"keccak256",{enumerable:!0,get:function(){return s.keccak256}});var a=r(622);Object.defineProperty(t,"Xchacha20poly1305Ietf",{enumerable:!0,get:function(){return a.Xchacha20poly1305Ietf}}),Object.defineProperty(t,"xchacha20NonceLength",{enumerable:!0,get:function(){return a.xchacha20NonceLength}}),Object.defineProperty(t,"Argon2id",{enumerable:!0,get:function(){return a.Argon2id}}),Object.defineProperty(t,"isArgon2idOptions",{enumerable:!0,get:function(){return a.isArgon2idOptions}}),Object.defineProperty(t,"Ed25519",{enumerable:!0,get:function(){return a.Ed25519}}),Object.defineProperty(t,"Ed25519Keypair",{enumerable:!0,get:function(){return a.Ed25519Keypair}});var c=r(623);Object.defineProperty(t,"Random",{enumerable:!0,get:function(){return c.Random}});var u=r(624);Object.defineProperty(t,"Ripemd160",{enumerable:!0,get:function(){return u.Ripemd160}}),Object.defineProperty(t,"ripemd160",{enumerable:!0,get:function(){return u.ripemd160}});var l=r(625);Object.defineProperty(t,"Secp256k1",{enumerable:!0,get:function(){return l.Secp256k1}});var f=r(315);Object.defineProperty(t,"ExtendedSecp256k1Signature",{enumerable:!0,get:function(){return f.ExtendedSecp256k1Signature}}),Object.defineProperty(t,"Secp256k1Signature",{enumerable:!0,get:function(){return f.Secp256k1Signature}});var d=r(316);Object.defineProperty(t,"Sha1",{enumerable:!0,get:function(){return d.Sha1}}),Object.defineProperty(t,"sha1",{enumerable:!0,get:function(){return d.sha1}}),Object.defineProperty(t,"Sha256",{enumerable:!0,get:function(){return d.Sha256}}),Object.defineProperty(t,"sha256",{enumerable:!0,get:function(){return d.sha256}}),Object.defineProperty(t,"Sha512",{enumerable:!0,get:function(){return d.Sha512}}),Object.defineProperty(t,"sha512",{enumerable:!0,get:function(){return d.sha512}});var h=r(626);Object.defineProperty(t,"pathToString",{enumerable:!0,get:function(){return h.pathToString}}),Object.defineProperty(t,"stringToPath",{enumerable:!0,get:function(){return h.stringToPath}}),Object.defineProperty(t,"Slip10",{enumerable:!0,get:function(){return h.Slip10}}),Object.defineProperty(t,"Slip10Curve",{enumerable:!0,get:function(){return h.Slip10Curve}}),Object.defineProperty(t,"Slip10RawIndex",{enumerable:!0,get:function(){return h.Slip10RawIndex}}),Object.defineProperty(t,"slip10CurveFromString",{enumerable:!0,get:function(){return h.slip10CurveFromString}})},function(e,t,r){"use strict";var n,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=function(e,t){return new Promise((function(r,n){function o(){void 0!==i&&e.removeListener("error",i),r([].slice.call(arguments))}var i;"error"!==t&&(i=function(r){e.removeListener(t,o),n(r)},e.once("error",i)),e.once(t,o)}))},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var c=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function f(e,t,r,n){var o,i,s,a;if(u(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),s=i[t]),void 0===s)s=i[t]=r,++e._eventsCount;else if("function"==typeof s?s=i[t]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(o=l(e))>0&&s.length>o&&!s.warned){s.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=s.length,a=c,console&&console.warn&&console.warn(a)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=d.bind(n);return o.listener=r,n.wrapFn=o,o}function p(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=new Array(e.length),r=0;r0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var c=o[e];if(void 0===c)return!1;if("function"==typeof c)i(c,this,t);else{var u=c.length,l=m(c,u);for(r=0;r=0;i--)if(r[i]===t||r[i].listener===t){s=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},a.prototype.listeners=function(e){return p(this,e,!0)},a.prototype.rawListeners=function(e){return p(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},a.prototype.listenerCount=g,a.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TYPES=void 0,t.TYPES={ChainsStore:Symbol("ChainsStore"),ChainsEmbedChainInfos:Symbol("ChainsEmbededChainInfos"),InteractionStore:Symbol("InteractionStore"),KeyRingStore:Symbol("KeyRingStore"),LedgerStore:Symbol("LedgerStore"),PermissionStore:Symbol("PermissionStore"),PermissionServicePrivilegedOrigins:Symbol("PermissionServicePrivilegedOrigins"),PersistentMemoryStore:Symbol("PersistentMemoryStore"),SecretWasmStore:Symbol("SecretWasmStore"),TokensStore:Symbol("TokensStore"),TxStore:Symbol("TxStore"),UpdaterStore:Symbol("UpdaterStore"),EventMsgRequester:Symbol("EventMsgRequester"),RNG:Symbol("RandomNumberGenerator")}},,function(e,t,r){"use strict";var n=r(4),o=r(156),i=r(75),s=r(76),a=r(56);function c(e){a.call(this,"digest"),this._hash=e}n(c,a),c.prototype._update=function(e){this._hash.update(e)},c.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new o:"rmd160"===e||"ripemd160"===e?new i:new c(s(e))}},,function(e,t,r){var n=r(7).Buffer,o=r(397).Transform,i=r(66).StringDecoder;function s(e){o.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}r(4)(s,o),s.prototype.update=function(e,t,r){"string"==typeof e&&(e=n.from(e,t));var o=this._update(e);return this.hashMode?this:(r&&(o=this._toString(o,r)),o)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{r(n)}},s.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},s.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},s.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new i(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},e.exports=s},function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)o(r,n)&&(e[n]=r[n])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,r,n,o){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),o);else for(var i=0;i4294967295)throw new RangeError("requested too many random bytes");var r=o.allocUnsafe(e);if(e>0)if(e>65536)for(var s=0;s0)},n.Buffer=function(){try{var e=n.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),n._Buffer_from=null,n._Buffer_allocUnsafe=null,n.newBuffer=function(e){return"number"==typeof e?n.Buffer?n._Buffer_allocUnsafe(e):new n.Array(e):n.Buffer?n._Buffer_from(e):"undefined"==typeof Uint8Array?e:new Uint8Array(e)},n.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,n.Long=n.global.dcodeIO&&n.global.dcodeIO.Long||n.global.Long||n.inquire("long"),n.key2Re=/^true|false|0|1$/,n.key32Re=/^-?(?:0|[1-9][0-9]*)$/,n.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,n.longToHash=function(e){return e?n.LongBits.from(e).toHash():n.LongBits.zeroHash},n.longFromHash=function(e,t){var r=n.LongBits.fromHash(e);return n.Long?n.Long.fromBits(r.lo,r.hi,t):r.toNumber(Boolean(t))},n.merge=o,n.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},n.newError=i,n.ProtocolError=i("ProtocolError"),n.oneOfGetter=function(e){for(var t={},r=0;r-1;--r)if(1===t[e[r]]&&void 0!==this[e[r]]&&null!==this[e[r]])return e[r]}},n.oneOfSetter=function(e){return function(t){for(var r=0;r>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function l(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0)return o>0&&(e.lastNeed=o-1),o;if(--n=0)return o>0&&(e.lastNeed=o-2),o;if(--n=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,r){var n,o,i,s,a,c,u,l;e.exports=(l=r(9),r(171),r(172),o=(n=l).lib,i=o.Base,s=o.WordArray,a=n.algo,c=a.MD5,u=a.EvpKDF=i.extend({cfg:i.extend({keySize:4,hasher:c,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,n=this.cfg,o=n.hasher.create(),i=s.create(),a=i.words,c=n.keySize,u=n.iterations;a.lengthl(e.toString(2),"0",8)).join("")}function h(e){const t=8*e.length/32,r=n("sha256").update(e).digest();return d(Array.from(r)).slice(0,t)}function p(e){return"mnemonic"+(e||"")}function g(t,r){if(!(r=r||a))throw new Error(c);const n=u(t).split(" ");if(n.length%3!=0)throw new Error("Invalid mnemonic");const o=n.map(e=>{const t=r.indexOf(e);if(-1===t)throw new Error("Invalid mnemonic");return l(t.toString(2),"0",11)}).join(""),i=32*Math.floor(o.length/33),s=o.slice(0,i),d=o.slice(i),p=s.match(/(.{1,8})/g).map(f);if(p.length<16)throw new Error("Invalid entropy");if(p.length>32)throw new Error("Invalid entropy");if(p.length%4!=0)throw new Error("Invalid entropy");const g=e.from(p);if(h(g)!==d)throw new Error("Invalid mnemonic checksum");return g.toString("hex")}function m(t,r){if(e.isBuffer(t)||(t=e.from(t,"hex")),!(r=r||a))throw new Error(c);if(t.length<16)throw new TypeError("Invalid entropy");if(t.length>32)throw new TypeError("Invalid entropy");if(t.length%4!=0)throw new TypeError("Invalid entropy");const n=(d(Array.from(t))+h(t)).match(/(.{1,11})/g).map(e=>{const t=f(e);return r[t]});return"あいこくしん"===r[0]?n.join(" "):n.join(" ")}t.mnemonicToSeedSync=function(t,r){const n=e.from(u(t),"utf8"),i=e.from(p(u(r)),"utf8");return o.pbkdf2Sync(n,i,2048,64,"sha512")},t.mnemonicToSeed=function(t,r){return Promise.resolve().then(()=>function(e,t,r,n,i){return Promise.resolve().then(()=>new Promise((s,a)=>{o.pbkdf2(e,t,r,n,i,(e,t)=>e?a(e):s(t))}))}(e.from(u(t),"utf8"),e.from(p(u(r)),"utf8"),2048,64,"sha512"))},t.mnemonicToEntropy=g,t.entropyToMnemonic=m,t.generateMnemonic=function(e,t,r){if((e=e||128)%32!=0)throw new TypeError("Invalid entropy");return m((t=t||i)(e/8),r)},t.validateMnemonic=function(e,t){try{g(e,t)}catch(e){return!1}return!0},t.setDefaultWordlist=function(e){const t=s.wordlists[e];if(!t)throw new Error('Could not find wordlist for language "'+e+'"');a=t},t.getDefaultWordlist=function(){if(!a)throw new Error("No Default Wordlist set");return Object.keys(s.wordlists).filter(e=>"JA"!==e&&"EN"!==e&&s.wordlists[e].every((e,t)=>e===a[t]))[0]};var y=r(297);t.wordlists=y.wordlists}).call(this,r(2).Buffer)},function(e,t,r){var n=t;n.utils=r(49),n.common=r(96),n.sha=r(452),n.ripemd=r(456),n.hmac=r(457),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=r(62),t.createHash=t.Hash=r(54),t.createHmac=t.Hmac=r(120);var n=r(475),o=Object.keys(n),i=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(o);t.getHashes=function(){return i};var s=r(97);t.pbkdf2=s.pbkdf2,t.pbkdf2Sync=s.pbkdf2Sync;var a=r(477);t.Cipher=a.Cipher,t.createCipher=a.createCipher,t.Cipheriv=a.Cipheriv,t.createCipheriv=a.createCipheriv,t.Decipher=a.Decipher,t.createDecipher=a.createDecipher,t.Decipheriv=a.Decipheriv,t.createDecipheriv=a.createDecipheriv,t.getCiphers=a.getCiphers,t.listCiphers=a.listCiphers;var c=r(492);t.DiffieHellmanGroup=c.DiffieHellmanGroup,t.createDiffieHellmanGroup=c.createDiffieHellmanGroup,t.getDiffieHellman=c.getDiffieHellman,t.createDiffieHellman=c.createDiffieHellman,t.DiffieHellman=c.DiffieHellman;var u=r(496);t.createSign=u.createSign,t.Sign=u.Sign,t.createVerify=u.createVerify,t.Verify=u.Verify,t.createECDH=r(531);var l=r(532);t.publicEncrypt=l.publicEncrypt,t.privateEncrypt=l.privateEncrypt,t.publicDecrypt=l.publicDecrypt,t.privateDecrypt=l.privateDecrypt;var f=r(535);t.randomFill=f.randomFill,t.randomFillSync=f.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},function(e,t,r){"use strict";var n={};function o(e,t,r){r||(r=Error);var o=function(e){var r,n;function o(r,n,o){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,o))||this}return n=e,(r=o).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,o}(r);o.prototype.name=r.name,o.prototype.code=e,n[e]=o}function i(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}o("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(e,t,r){var n,o,s,a;if("string"==typeof t&&(o="not ",t.substr(!s||s<0?0:+s,o.length)===o)?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))a="The ".concat(e," ").concat(n," ").concat(i(t,"type"));else{var c=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(c," ").concat(n," ").concat(i(t,"type"))}return a+=". Received type ".concat(typeof r)}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=n},function(e,t,r){"use strict";(function(t){var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=u;var o=r(251),i=r(255);r(4)(u,o);for(var s=n(i.prototype),a=0;a>>32-t}function g(e,t,r,n,o,i,s,a){return p(e+(t^r^n)+i+s|0,a)+o|0}function m(e,t,r,n,o,i,s,a){return p(e+(t&r|~t&n)+i+s|0,a)+o|0}function y(e,t,r,n,o,i,s,a){return p(e+((t|~r)^n)+i+s|0,a)+o|0}function b(e,t,r,n,o,i,s,a){return p(e+(t&n|r&~n)+i+s|0,a)+o|0}function v(e,t,r,n,o,i,s,a){return p(e+(t^(r|~n))+i+s|0,a)+o|0}o(h,i),h.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,o=0|this._c,i=0|this._d,h=0|this._e,w=0|this._a,_=0|this._b,k=0|this._c,O=0|this._d,S=0|this._e,E=0;E<80;E+=1){var j,P;E<16?(j=g(r,n,o,i,h,e[a[E]],f[0],u[E]),P=v(w,_,k,O,S,e[c[E]],d[0],l[E])):E<32?(j=m(r,n,o,i,h,e[a[E]],f[1],u[E]),P=b(w,_,k,O,S,e[c[E]],d[1],l[E])):E<48?(j=y(r,n,o,i,h,e[a[E]],f[2],u[E]),P=y(w,_,k,O,S,e[c[E]],d[2],l[E])):E<64?(j=b(r,n,o,i,h,e[a[E]],f[3],u[E]),P=m(w,_,k,O,S,e[c[E]],d[3],l[E])):(j=v(r,n,o,i,h,e[a[E]],f[4],u[E]),P=g(w,_,k,O,S,e[c[E]],d[4],l[E])),r=h,h=i,i=p(o,10),o=n,n=j,w=S,S=O,O=p(k,10),k=_,_=P}var A=this._b+o+O|0;this._b=this._c+i+S|0,this._c=this._d+h+w|0,this._d=this._e+r+_|0,this._e=this._a+n+k|0,this._a=A},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=h},function(e,t,r){(t=e.exports=function(e){e=e.toLowerCase();var r=t[e];if(!r)throw new Error(e+" is not supported (we accept pull requests)");return new r}).sha=r(466),t.sha1=r(467),t.sha224=r(468),t.sha256=r(257),t.sha384=r(469),t.sha512=r(258)},function(e,t,r){var n=r(7).Buffer;function o(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}o.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=n.from(e,t));for(var r=this._block,o=this._blockSize,i=e.length,s=this._len,a=0;a=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,o=(r-n)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var i=this._hash();return e?i.toString(e):i},o.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=o},function(e,t,r){"use strict";var n={};function o(e,t,r){r||(r=Error);var o=function(e){var r,n;function o(r,n,o){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,o))||this}return n=e,(r=o).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,o}(r);o.prototype.name=r.name,o.prototype.code=e,n[e]=o}function i(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}o("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(e,t,r){var n,o,s,a;if("string"==typeof t&&(o="not ",t.substr(!s||s<0?0:+s,o.length)===o)?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))a="The ".concat(e," ").concat(n," ").concat(i(t,"type"));else{var c=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(c," ").concat(n," ").concat(i(t,"type"))}return a+=". Received type ".concat(typeof r)}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=n},function(e,t,r){"use strict";(function(t){var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=u;var o=r(274),i=r(278);r(4)(u,o);for(var s=n(i.prototype),a=0;a>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;a<4&&i+.75*a>>6*(3-a)&63));var c=n.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var i=0;i>>6-s%4*2,u=a|c;n[i>>>2]|=u<<24-i%4*8,i++}return o.create(n,i)}(e,t,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},i.enc.Base64)},function(e,t,r){var n;e.exports=(n=r(9),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,s=t.algo,a=[];!function(){for(var t=0;t<64;t++)a[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=s.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,o=e[n];e[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,s=e[t+0],c=e[t+1],h=e[t+2],p=e[t+3],g=e[t+4],m=e[t+5],y=e[t+6],b=e[t+7],v=e[t+8],w=e[t+9],_=e[t+10],k=e[t+11],O=e[t+12],S=e[t+13],E=e[t+14],j=e[t+15],P=i[0],A=i[1],x=i[2],M=i[3];P=u(P,A,x,M,s,7,a[0]),M=u(M,P,A,x,c,12,a[1]),x=u(x,M,P,A,h,17,a[2]),A=u(A,x,M,P,p,22,a[3]),P=u(P,A,x,M,g,7,a[4]),M=u(M,P,A,x,m,12,a[5]),x=u(x,M,P,A,y,17,a[6]),A=u(A,x,M,P,b,22,a[7]),P=u(P,A,x,M,v,7,a[8]),M=u(M,P,A,x,w,12,a[9]),x=u(x,M,P,A,_,17,a[10]),A=u(A,x,M,P,k,22,a[11]),P=u(P,A,x,M,O,7,a[12]),M=u(M,P,A,x,S,12,a[13]),x=u(x,M,P,A,E,17,a[14]),P=l(P,A=u(A,x,M,P,j,22,a[15]),x,M,c,5,a[16]),M=l(M,P,A,x,y,9,a[17]),x=l(x,M,P,A,k,14,a[18]),A=l(A,x,M,P,s,20,a[19]),P=l(P,A,x,M,m,5,a[20]),M=l(M,P,A,x,_,9,a[21]),x=l(x,M,P,A,j,14,a[22]),A=l(A,x,M,P,g,20,a[23]),P=l(P,A,x,M,w,5,a[24]),M=l(M,P,A,x,E,9,a[25]),x=l(x,M,P,A,p,14,a[26]),A=l(A,x,M,P,v,20,a[27]),P=l(P,A,x,M,S,5,a[28]),M=l(M,P,A,x,h,9,a[29]),x=l(x,M,P,A,b,14,a[30]),P=f(P,A=l(A,x,M,P,O,20,a[31]),x,M,m,4,a[32]),M=f(M,P,A,x,v,11,a[33]),x=f(x,M,P,A,k,16,a[34]),A=f(A,x,M,P,E,23,a[35]),P=f(P,A,x,M,c,4,a[36]),M=f(M,P,A,x,g,11,a[37]),x=f(x,M,P,A,b,16,a[38]),A=f(A,x,M,P,_,23,a[39]),P=f(P,A,x,M,S,4,a[40]),M=f(M,P,A,x,s,11,a[41]),x=f(x,M,P,A,p,16,a[42]),A=f(A,x,M,P,y,23,a[43]),P=f(P,A,x,M,w,4,a[44]),M=f(M,P,A,x,O,11,a[45]),x=f(x,M,P,A,j,16,a[46]),P=d(P,A=f(A,x,M,P,h,23,a[47]),x,M,s,6,a[48]),M=d(M,P,A,x,b,10,a[49]),x=d(x,M,P,A,E,15,a[50]),A=d(A,x,M,P,m,21,a[51]),P=d(P,A,x,M,O,6,a[52]),M=d(M,P,A,x,p,10,a[53]),x=d(x,M,P,A,_,15,a[54]),A=d(A,x,M,P,c,21,a[55]),P=d(P,A,x,M,v,6,a[56]),M=d(M,P,A,x,j,10,a[57]),x=d(x,M,P,A,y,15,a[58]),A=d(A,x,M,P,S,21,a[59]),P=d(P,A,x,M,g,6,a[60]),M=d(M,P,A,x,k,10,a[61]),x=d(x,M,P,A,h,15,a[62]),A=d(A,x,M,P,w,21,a[63]),i[0]=i[0]+P|0,i[1]=i[1]+A|0,i[2]=i[2]+x|0,i[3]=i[3]+M|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;r[o>>>5]|=128<<24-o%32;var i=e.floor(n/4294967296),s=n;r[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),r[14+(o+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),t.sigBytes=4*(r.length+1),this._process();for(var a=this._hash,c=a.words,u=0;u<4;u++){var l=c[u];c[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return a},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,r,n,o,i,s){var a=e+(t&r|~t&n)+o+s;return(a<>>32-i)+t}function l(e,t,r,n,o,i,s){var a=e+(t&n|r&~n)+o+s;return(a<>>32-i)+t}function f(e,t,r,n,o,i,s){var a=e+(t^r^n)+o+s;return(a<>>32-i)+t}function d(e,t,r,n,o,i,s){var a=e+(r^(t|~n))+o+s;return(a<>>32-i)+t}t.MD5=i._createHelper(c),t.HmacMD5=i._createHmacHelper(c)}(Math),n.MD5)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Uint64=t.Uint53=t.Uint32=t.Int53=t.Decimal=void 0;var n=r(627);Object.defineProperty(t,"Decimal",{enumerable:!0,get:function(){return n.Decimal}});var o=r(628);Object.defineProperty(t,"Int53",{enumerable:!0,get:function(){return o.Int53}}),Object.defineProperty(t,"Uint32",{enumerable:!0,get:function(){return o.Uint32}}),Object.defineProperty(t,"Uint53",{enumerable:!0,get:function(){return o.Uint53}}),Object.defineProperty(t,"Uint64",{enumerable:!0,get:function(){return o.Uint64}})},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(338),t),o(r(180),t),o(r(675),t),o(r(339),t)},function(e,t,r){const{MAX_SAFE_COMPONENT_LENGTH:n}=r(131),o=r(132),i=(t=e.exports={}).re=[],s=t.src=[],a=t.t={};let c=0;const u=(e,t,r)=>{const n=c++;o(n,t),a[e]=n,s[n]=t,i[n]=new RegExp(t,r?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${s[a.NUMERICIDENTIFIER]})\\.(${s[a.NUMERICIDENTIFIER]})\\.(${s[a.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${s[a.NUMERICIDENTIFIERLOOSE]})\\.(${s[a.NUMERICIDENTIFIERLOOSE]})\\.(${s[a.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${s[a.NUMERICIDENTIFIER]}|${s[a.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${s[a.NUMERICIDENTIFIERLOOSE]}|${s[a.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${s[a.PRERELEASEIDENTIFIER]}(?:\\.${s[a.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${s[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[a.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${s[a.BUILDIDENTIFIER]}(?:\\.${s[a.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${s[a.MAINVERSION]}${s[a.PRERELEASE]}?${s[a.BUILD]}?`),u("FULL",`^${s[a.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${s[a.MAINVERSIONLOOSE]}${s[a.PRERELEASELOOSE]}?${s[a.BUILD]}?`),u("LOOSE",`^${s[a.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",s[a.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),u("XRANGEIDENTIFIER",s[a.NUMERICIDENTIFIER]+"|x|X|\\*"),u("XRANGEPLAIN",`[v=\\s]*(${s[a.XRANGEIDENTIFIER]})(?:\\.(${s[a.XRANGEIDENTIFIER]})(?:\\.(${s[a.XRANGEIDENTIFIER]})(?:${s[a.PRERELEASE]})?${s[a.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${s[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[a.XRANGEIDENTIFIERLOOSE]})(?:${s[a.PRERELEASELOOSE]})?${s[a.BUILD]}?)?)?`),u("XRANGE",`^${s[a.GTLT]}\\s*${s[a.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${s[a.GTLT]}\\s*${s[a.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),u("COERCERTL",s[a.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${s[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",u("TILDE",`^${s[a.LONETILDE]}${s[a.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${s[a.LONETILDE]}${s[a.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${s[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",u("CARET",`^${s[a.LONECARET]}${s[a.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${s[a.LONECARET]}${s[a.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${s[a.GTLT]}\\s*(${s[a.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${s[a.GTLT]}\\s*(${s[a.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${s[a.GTLT]}\\s*(${s[a.LOOSEPLAIN]}|${s[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${s[a.XRANGEPLAIN]})\\s+-\\s+(${s[a.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${s[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[a.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0.0.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},function(e,t,r){const{MAX_LENGTH:n}=r(131),{re:o,t:i}=r(84),s=r(24),a=r(133);e.exports=(e,t)=>{if(t=a(t),e instanceof s)return e;if("string"!=typeof e)return null;if(e.length>n)return null;if(!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new s(e,t)}catch(e){return null}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));let n=0;const o=[],i=(e,t,r)=>{const i={type:e,id:String(++n),date:new Date};t&&(i.message=t),r&&(i.data=r),function(e){for(let t=0;t(o.push(e),()=>{const t=o.indexOf(e);-1!==t&&(o[t]=o[o.length-1],o.pop())});"undefined"!=typeof window&&(window.__ledgerLogsListen=s)},,function(e,t,r){"use strict";r.d(t,"d",(function(){return i})),r.d(t,"b",(function(){return s})),r.d(t,"a",(function(){return a})),r.d(t,"c",(function(){return c}));var n=r(44);const o=[{vendorId:n.b}];async function i(){return await navigator.usb.requestDevice({filters:o})}async function s(){return(await navigator.usb.getDevices()).filter(e=>e.vendorId===n.b)}async function a(){const e=await s();return e.length>0?e[0]:i()}const c=()=>Promise.resolve(!!navigator&&!!navigator.usb&&"function"==typeof navigator.usb.getDevices)},,,,,,function(e,t,r){"use strict";for(var n="qpzry9x8gf2tvdw0s3jn54khce6mua7l",o={},i=0;i>25;return(33554431&e)<<5^996825010&-(t>>0&1)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function c(e){for(var t=1,r=0;r126)return"Invalid prefix ("+e+")";t=a(t)^n>>5}for(t=a(t),r=0;rt)return"Exceeds length limit";var r=e.toLowerCase(),n=e.toUpperCase();if(e!==r&&e!==n)return"Mixed-case string "+e;var i=(e=r).lastIndexOf("1");if(-1===i)return"No separator character for "+e;if(0===i)return"Missing prefix for "+e;var s=e.slice(0,i),u=e.slice(i+1);if(u.length<6)return"Data too short";var l=c(s);if("string"==typeof l)return l;for(var f=[],d=0;d=u.length||f.push(p)}return 1!==l?"Invalid checksum for "+e:{prefix:s,words:f}}function l(e,t,r,n){for(var o=0,i=0,s=(1<=r;)i-=r,a.push(o>>i&s);if(n)i>0&&a.push(o<=t)return"Excess padding";if(o<r)throw new TypeError("Exceeds length limit");var o=c(e=e.toLowerCase());if("string"==typeof o)throw new Error(o);for(var i=e+"1",s=0;s>5!=0)throw new Error("Non 5-bit word");o=a(o)^u,i+=n.charAt(u)}for(s=0;s<6;++s)o=a(o);for(o^=1,s=0;s<6;++s){i+=n.charAt(o>>5*(5-s)&31)}return i},toWordsUnsafe:function(e){var t=l(e,8,5,!0);if(Array.isArray(t))return t},toWords:function(e){var t=l(e,8,5,!0);if(Array.isArray(t))return t;throw new Error(t)},fromWordsUnsafe:function(e){var t=l(e,5,8,!1);if(Array.isArray(t))return t},fromWords:function(e){var t=l(e,5,8,!1);if(Array.isArray(t))return t;throw new Error(t)}}},function(e,t,r){(function(e){function r(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===r(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===r(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===r(e)},t.isError=function(e){return"[object Error]"===r(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,r(2).Buffer)},function(e,t,r){"use strict";var n=r(49),o=r(32);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=i,i.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var o=0;o>>24&255,n[o++]=e>>>16&255,n[o++]=e>>>8&255,n[o++]=255&e}else for(n[o++]=255&e,n[o++]=e>>>8&255,n[o++]=e>>>16&255,n[o++]=e>>>24&255,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,i=8;i{r[t]=i(e[t])}),r}function s(e){return JSON.stringify(i(e))}t.sortedJsonStringify=s,t.makeSignDoc=function(e,t,r,n,i,s){return{chain_id:r,account_number:o.Uint53.fromString(i.toString()).toString(),sequence:o.Uint53.fromString(s.toString()).toString(),fee:t,msgs:e,memo:n||""}},t.serializeSignDoc=function(e){return n.toUtf8(s(e))}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(351),t),o(r(352),t),o(r(192),t)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(349),t),o(r(191),t),o(r(718),t),o(r(190),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(42),{fromBase64:o,fromHex:i}=n.Encoding;t.isStdTx=function(e){const{memo:t,msg:r,fee:n,signatures:o}=e;return"string"==typeof t&&Array.isArray(r)&&"object"==typeof n&&Array.isArray(o)},t.isMsgSend=function(e){return"cosmos-sdk/MsgSend"===e.type},t.isMsgStoreCode=function(e){return"wasm/MsgStoreCode"===e.type},t.isMsgInstantiateContract=function(e){return"wasm/MsgInstantiateContract"===e.type},t.isMsgExecuteContract=function(e){return"wasm/MsgExecuteContract"===e.type},t.extractContractMsg=function(e){return"wasm/MsgExecuteContract"===e.type?n.Encoding.fromBase64(e.value.msg):n.Encoding.fromBase64(e.value.init_msg)},t.pubkeyType={secp256k1:"tendermint/PubKeySecp256k1",ed25519:"tendermint/PubKeyEd25519",sr25519:"tendermint/PubKeySr25519"},t.pubkeyTypes=[t.pubkeyType.secp256k1,t.pubkeyType.ed25519,t.pubkeyType.sr25519],t.parseWasmData=function({key:e,val:t}){return{key:i(e),val:o(t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(738);t.Bip39=n.Bip39;var o=r(364);t.EnglishMnemonic=o.EnglishMnemonic;var i=r(365);t.Hmac=i.Hmac;var s=r(754);t.Keccak256=s.Keccak256;var a=r(755);t.Xchacha20poly1305Ietf=a.Xchacha20poly1305Ietf,t.Argon2id=a.Argon2id,t.Ed25519=a.Ed25519,t.Ed25519Keypair=a.Ed25519Keypair;var c=r(756);t.Random=c.Random;var u=r(757);t.Ripemd160=u.Ripemd160;var l=r(758);t.Secp256k1=l.Secp256k1;var f=r(366);t.ExtendedSecp256k1Signature=f.ExtendedSecp256k1Signature,t.Secp256k1Signature=f.Secp256k1Signature;var d=r(367);t.Sha1=d.Sha1,t.Sha256=d.Sha256,t.Sha512=d.Sha512;var h=r(759);t.Slip10=h.Slip10,t.Slip10Curve=h.Slip10Curve,t.Slip10RawIndex=h.Slip10RawIndex,t.slip10CurveFromString=h.slip10CurveFromString},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(199),o=r(200);class i{constructor(){this.data=new Uint8Array(i.SIZE)}clear(){o.wipe(this.data)}clone(){const e=new i;return e.copy(this),e}copy(e){this.data.set(e.data)}dbl(){let e=0;for(let t=i.SIZE-1;t>=0;t--){const r=this.data[t]>>>7&255;this.data[t]=this.data[t]<<1|e,e=r}this.data[i.SIZE-1]^=n.select(e,i.R,0),e=0}}i.SIZE=16,i.R=135,t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSONUint8Array=void 0;const n=r(2);class o{static parse(e){return JSON.parse(e,(e,t)=>t&&"string"==typeof t&&t.startsWith("__uint8array__")?new Uint8Array(n.Buffer.from(t.replace("__uint8array__",""),"hex")):t)}static stringify(e){return JSON.stringify(e,(e,t)=>t&&(t instanceof Uint8Array||"object"==typeof t&&"type"in t&&"data"in t&&"Buffer"===t.type&&Array.isArray(t.data))?"__uint8array__"+n.Buffer.from(t).toString("hex"):t)}static wrap(e){if(void 0!==e)return JSON.parse(o.stringify(e))}static unwrap(e){if(void 0!==e)return o.parse(JSON.stringify(e))}}t.JSONUint8Array=o},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(547),t),o(r(567),t),o(r(592),t)},,,,function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Dec=void 0;const o=n(r(233)),i=r(116);class s{constructor(e,t=0){if("string"==typeof e){if(0===e.length)throw new Error("empty string");if(!/^(-?\d+\.\d+)$|^(-?\d+)$/.test(e))throw new Error("invalid decimal: "+e);e.indexOf(".")>=0&&(t=e.length-e.indexOf(".")-1,e=e.replace(".","")),this.int=o.default(e)}else"number"==typeof e?this.int=o.default(e):e instanceof i.Int?this.int=o.default(e.toString()):this.int=o.default(e);this.int=this.int.multiply(s.calcPrecisionMultiplier(o.default(t)))}static calcPrecisionMultiplier(e){if(e.lt(o.default(0)))throw new Error("Invalid prec");if(e.gt(s.precision))throw new Error("Too much precision");if(s.precisionMultipliers[e.toString()])return s.precisionMultipliers[e.toString()];const t=s.precision.minus(e),r=o.default(10).pow(t);return s.precisionMultipliers[e.toString()]=r,r}isZero(){return this.int.eq(o.default(0))}isNegative(){return this.int.isNegative()}isPositive(){return this.int.isPositive()}equals(e){return this.int.eq(e.int)}gt(e){return this.int.gt(e.int)}gte(e){return this.int.geq(e.int)}lt(e){return this.int.lt(e.int)}lte(e){return this.int.leq(e.int)}neg(){return new s(this.int.negate(),s.precision.toJSNumber())}abs(){return new s(this.int.abs(),s.precision.toJSNumber())}add(e){return new s(this.int.add(e.int),s.precision.toJSNumber())}sub(e){return new s(this.int.subtract(e.int),s.precision.toJSNumber())}mul(e){return new s(this.mulRaw(e).chopPrecisionAndRound(),s.precision.toJSNumber())}mulTruncate(e){return new s(this.mulRaw(e).chopPrecisionAndTruncate(),s.precision.toJSNumber())}mulRaw(e){return new s(this.int.multiply(e.int),s.precision.toJSNumber())}quo(e){return new s(this.quoRaw(e).chopPrecisionAndRound(),s.precision.toJSNumber())}quoTruncate(e){return new s(this.quoRaw(e).chopPrecisionAndTruncate(),s.precision.toJSNumber())}quoRoundUp(e){return new s(this.quoRaw(e).chopPrecisionAndRoundUp(),s.precision.toJSNumber())}quoRaw(e){const t=s.calcPrecisionMultiplier(o.default(0)),r=this.int.multiply(t).multiply(t);return new s(r.divide(e.int),s.precision.toJSNumber())}isInteger(){const e=s.calcPrecisionMultiplier(o.default(0));return this.int.remainder(e).equals(o.default(0))}chopPrecisionAndRound(){if(this.isNegative()){return this.abs().chopPrecisionAndRound().negate()}const e=s.calcPrecisionMultiplier(o.default(0)),t=e.divide(o.default(2)),{quotient:r,remainder:n}=this.int.divmod(e);return n.equals(o.default(0))||n.lt(t)?r:n.gt(t)?r.add(o.default(1)):r.divide(o.default(2)).equals(o.default(0))?r:r.add(o.default(1))}chopPrecisionAndRoundUp(){if(this.isNegative()){return this.abs().chopPrecisionAndTruncate().negate()}const e=s.calcPrecisionMultiplier(o.default(0)),{quotient:t,remainder:r}=this.int.divmod(e);return r.equals(o.default(0))?t:t.add(o.default(1))}chopPrecisionAndTruncate(){const e=s.calcPrecisionMultiplier(o.default(0));return this.int.divide(e)}toString(e=s.precision.toJSNumber(),t=!1){const r=s.calcPrecisionMultiplier(o.default(0)),n=this.int.abs(),{quotient:i,remainder:a}=n.divmod(r);let c=a.toString(10);for(let e=0,t=c.length;e0?"."+c:""}`}round(){return new i.Int(this.chopPrecisionAndRound())}roundUp(){return new i.Int(this.chopPrecisionAndRoundUp())}truncate(){return new i.Int(this.chopPrecisionAndTruncate())}}t.Dec=s,s.precision=o.default(18),s.precisionMultipliers={}},function(e,t){e.exports=n;var r=null;try{r=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(e){}function n(e,t,r){this.low=0|e,this.high=0|t,this.unsigned=!!r}function o(e){return!0===(e&&e.__isLong__)}n.prototype.__isLong__,Object.defineProperty(n.prototype,"__isLong__",{value:!0}),n.isLong=o;var i={},s={};function a(e,t){var r,n,o;return t?(o=0<=(e>>>=0)&&e<256)&&(n=s[e])?n:(r=u(e,(0|e)<0?-1:0,!0),o&&(s[e]=r),r):(o=-128<=(e|=0)&&e<128)&&(n=i[e])?n:(r=u(e,e<0?-1:0,!1),o&&(i[e]=r),r)}function c(e,t){if(isNaN(e))return t?b:y;if(t){if(e<0)return b;if(e>=p)return O}else{if(e<=-g)return S;if(e+1>=g)return k}return e<0?c(-e,t).neg():u(e%h|0,e/h|0,t)}function u(e,t,r){return new n(e,t,r)}n.fromInt=a,n.fromNumber=c,n.fromBits=u;var l=Math.pow;function f(e,t,r){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return y;if("number"==typeof t?(r=t,t=!1):t=!!t,(r=r||10)<2||360)throw Error("interior hyphen");if(0===n)return f(e.substring(1),t,r).neg();for(var o=c(l(r,8)),i=y,s=0;s>>0:this.low},E.toNumber=function(){return this.unsigned?(this.high>>>0)*h+(this.low>>>0):this.high*h+(this.low>>>0)},E.toString=function(e){if((e=e||10)<2||36>>0).toString(e);if((i=a).isZero())return u+s;for(;u.length<6;)u="0"+u;s=""+u+s}},E.getHighBits=function(){return this.high},E.getHighBitsUnsigned=function(){return this.high>>>0},E.getLowBits=function(){return this.low},E.getLowBitsUnsigned=function(){return this.low>>>0},E.getNumBitsAbs=function(){if(this.isNegative())return this.eq(S)?64:this.neg().getNumBitsAbs();for(var e=0!=this.high?this.high:this.low,t=31;t>0&&0==(e&1<=0},E.isOdd=function(){return 1==(1&this.low)},E.isEven=function(){return 0==(1&this.low)},E.equals=function(e){return o(e)||(e=d(e)),(this.unsigned===e.unsigned||this.high>>>31!=1||e.high>>>31!=1)&&(this.high===e.high&&this.low===e.low)},E.eq=E.equals,E.notEquals=function(e){return!this.eq(e)},E.neq=E.notEquals,E.ne=E.notEquals,E.lessThan=function(e){return this.comp(e)<0},E.lt=E.lessThan,E.lessThanOrEqual=function(e){return this.comp(e)<=0},E.lte=E.lessThanOrEqual,E.le=E.lessThanOrEqual,E.greaterThan=function(e){return this.comp(e)>0},E.gt=E.greaterThan,E.greaterThanOrEqual=function(e){return this.comp(e)>=0},E.gte=E.greaterThanOrEqual,E.ge=E.greaterThanOrEqual,E.compare=function(e){if(o(e)||(e=d(e)),this.eq(e))return 0;var t=this.isNegative(),r=e.isNegative();return t&&!r?-1:!t&&r?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1},E.comp=E.compare,E.negate=function(){return!this.unsigned&&this.eq(S)?S:this.not().add(v)},E.neg=E.negate,E.add=function(e){o(e)||(e=d(e));var t=this.high>>>16,r=65535&this.high,n=this.low>>>16,i=65535&this.low,s=e.high>>>16,a=65535&e.high,c=e.low>>>16,l=0,f=0,h=0,p=0;return h+=(p+=i+(65535&e.low))>>>16,f+=(h+=n+c)>>>16,l+=(f+=r+a)>>>16,l+=t+s,u((h&=65535)<<16|(p&=65535),(l&=65535)<<16|(f&=65535),this.unsigned)},E.subtract=function(e){return o(e)||(e=d(e)),this.add(e.neg())},E.sub=E.subtract,E.multiply=function(e){if(this.isZero())return y;if(o(e)||(e=d(e)),r)return u(r.mul(this.low,this.high,e.low,e.high),r.get_high(),this.unsigned);if(e.isZero())return y;if(this.eq(S))return e.isOdd()?S:y;if(e.eq(S))return this.isOdd()?S:y;if(this.isNegative())return e.isNegative()?this.neg().mul(e.neg()):this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(m)&&e.lt(m))return c(this.toNumber()*e.toNumber(),this.unsigned);var t=this.high>>>16,n=65535&this.high,i=this.low>>>16,s=65535&this.low,a=e.high>>>16,l=65535&e.high,f=e.low>>>16,h=65535&e.low,p=0,g=0,b=0,v=0;return b+=(v+=s*h)>>>16,g+=(b+=i*h)>>>16,b&=65535,g+=(b+=s*f)>>>16,p+=(g+=n*h)>>>16,g&=65535,p+=(g+=i*f)>>>16,g&=65535,p+=(g+=s*l)>>>16,p+=t*h+n*f+i*l+s*a,u((b&=65535)<<16|(v&=65535),(p&=65535)<<16|(g&=65535),this.unsigned)},E.mul=E.multiply,E.divide=function(e){if(o(e)||(e=d(e)),e.isZero())throw Error("division by zero");var t,n,i;if(r)return this.unsigned||-2147483648!==this.high||-1!==e.low||-1!==e.high?u((this.unsigned?r.div_u:r.div_s)(this.low,this.high,e.low,e.high),r.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?b:y;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return b;if(e.gt(this.shru(1)))return w;i=b}else{if(this.eq(S))return e.eq(v)||e.eq(_)?S:e.eq(S)?v:(t=this.shr(1).div(e).shl(1)).eq(y)?e.isNegative()?v:_:(n=this.sub(e.mul(t)),i=t.add(n.div(e)));if(e.eq(S))return this.unsigned?b:y;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();i=y}for(n=this;n.gte(e);){t=Math.max(1,Math.floor(n.toNumber()/e.toNumber()));for(var s=Math.ceil(Math.log(t)/Math.LN2),a=s<=48?1:l(2,s-48),f=c(t),h=f.mul(e);h.isNegative()||h.gt(n);)h=(f=c(t-=a,this.unsigned)).mul(e);f.isZero()&&(f=v),i=i.add(f),n=n.sub(h)}return i},E.div=E.divide,E.modulo=function(e){return o(e)||(e=d(e)),r?u((this.unsigned?r.rem_u:r.rem_s)(this.low,this.high,e.low,e.high),r.get_high(),this.unsigned):this.sub(this.div(e).mul(e))},E.mod=E.modulo,E.rem=E.modulo,E.not=function(){return u(~this.low,~this.high,this.unsigned)},E.and=function(e){return o(e)||(e=d(e)),u(this.low&e.low,this.high&e.high,this.unsigned)},E.or=function(e){return o(e)||(e=d(e)),u(this.low|e.low,this.high|e.high,this.unsigned)},E.xor=function(e){return o(e)||(e=d(e)),u(this.low^e.low,this.high^e.high,this.unsigned)},E.shiftLeft=function(e){return o(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?u(this.low<>>32-e,this.unsigned):u(0,this.low<>>e|this.high<<32-e,this.high>>e,this.unsigned):u(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},E.shr=E.shiftRight,E.shiftRightUnsigned=function(e){if(o(e)&&(e=e.toInt()),0===(e&=63))return this;var t=this.high;return e<32?u(this.low>>>e|t<<32-e,t>>>e,this.unsigned):u(32===e?t:t>>>e-32,0,this.unsigned)},E.shru=E.shiftRightUnsigned,E.shr_u=E.shiftRightUnsigned,E.toSigned=function(){return this.unsigned?u(this.low,this.high,!1):this},E.toUnsigned=function(){return this.unsigned?this:u(this.low,this.high,!0)},E.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},E.toBytesLE=function(){var e=this.high,t=this.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&e,e>>>8&255,e>>>16&255,e>>>24]},E.toBytesBE=function(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,255&e,t>>>24,t>>>16&255,t>>>8&255,255&t]},n.fromBytes=function(e,t,r){return r?n.fromBytesLE(e,t):n.fromBytesBE(e,t)},n.fromBytesLE=function(e,t){return new n(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)},n.fromBytesBE=function(e,t){return new n(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Secp256k1Wallet=t.Secp256k1HdWallet=t.extractKdfConfiguration=t.executeKdf=t.pubkeyType=t.makeStdTx=t.isWrappedStdTx=t.isStdTx=t.SigningCosmosClient=t.decodeSignature=t.encodeSecp256k1Signature=t.findSequenceForSignedTx=t.encodeSecp256k1Pubkey=t.encodeBech32Pubkey=t.encodeAminoPubkey=t.decodeBech32Pubkey=t.decodeAminoPubkey=t.makeCosmoshubPath=t.isMsgWithdrawValidatorCommission=t.isMsgWithdrawDelegatorReward=t.isMsgUndelegate=t.isMsgSetWithdrawAddress=t.isMsgSend=t.isMsgMultiSend=t.isMsgFundCommunityPool=t.isMsgEditValidator=t.isMsgDelegate=t.isMsgCreateValidator=t.isMsgBeginRedelegate=t.uint64ToString=t.uint64ToNumber=t.setupSupplyExtension=t.setupStakingExtension=t.setupSlashingExtension=t.setupMintExtension=t.setupGovExtension=t.setupDistributionExtension=t.setupBankExtension=t.setupAuthExtension=t.normalizePubkey=t.normalizeLcdApiArray=t.LcdClient=t.BroadcastMode=t.GasPrice=t.buildFeeTable=t.serializeSignDoc=t.makeSignDoc=t.isSearchByTagsQuery=t.isSearchBySentFromOrToQuery=t.isSearchByHeightQuery=t.isBroadcastTxSuccess=t.isBroadcastTxFailure=t.CosmosClient=t.assertIsBroadcastTxSuccess=t.parseCoins=t.coins=t.coin=t.rawSecp256k1PubkeyToAddress=t.pubkeyToAddress=t.logs=void 0;const s=i(r(310));t.logs=s;var a=r(173);Object.defineProperty(t,"pubkeyToAddress",{enumerable:!0,get:function(){return a.pubkeyToAddress}}),Object.defineProperty(t,"rawSecp256k1PubkeyToAddress",{enumerable:!0,get:function(){return a.rawSecp256k1PubkeyToAddress}});var c=r(317);Object.defineProperty(t,"coin",{enumerable:!0,get:function(){return c.coin}}),Object.defineProperty(t,"coins",{enumerable:!0,get:function(){return c.coins}}),Object.defineProperty(t,"parseCoins",{enumerable:!0,get:function(){return c.parseCoins}});var u=r(318);Object.defineProperty(t,"assertIsBroadcastTxSuccess",{enumerable:!0,get:function(){return u.assertIsBroadcastTxSuccess}}),Object.defineProperty(t,"CosmosClient",{enumerable:!0,get:function(){return u.CosmosClient}}),Object.defineProperty(t,"isBroadcastTxFailure",{enumerable:!0,get:function(){return u.isBroadcastTxFailure}}),Object.defineProperty(t,"isBroadcastTxSuccess",{enumerable:!0,get:function(){return u.isBroadcastTxSuccess}}),Object.defineProperty(t,"isSearchByHeightQuery",{enumerable:!0,get:function(){return u.isSearchByHeightQuery}}),Object.defineProperty(t,"isSearchBySentFromOrToQuery",{enumerable:!0,get:function(){return u.isSearchBySentFromOrToQuery}}),Object.defineProperty(t,"isSearchByTagsQuery",{enumerable:!0,get:function(){return u.isSearchByTagsQuery}});var l=r(101);Object.defineProperty(t,"makeSignDoc",{enumerable:!0,get:function(){return l.makeSignDoc}}),Object.defineProperty(t,"serializeSignDoc",{enumerable:!0,get:function(){return l.serializeSignDoc}});var f=r(320);Object.defineProperty(t,"buildFeeTable",{enumerable:!0,get:function(){return f.buildFeeTable}}),Object.defineProperty(t,"GasPrice",{enumerable:!0,get:function(){return f.GasPrice}});var d=r(174);Object.defineProperty(t,"BroadcastMode",{enumerable:!0,get:function(){return d.BroadcastMode}}),Object.defineProperty(t,"LcdClient",{enumerable:!0,get:function(){return d.LcdClient}}),Object.defineProperty(t,"normalizeLcdApiArray",{enumerable:!0,get:function(){return d.normalizeLcdApiArray}}),Object.defineProperty(t,"normalizePubkey",{enumerable:!0,get:function(){return d.normalizePubkey}}),Object.defineProperty(t,"setupAuthExtension",{enumerable:!0,get:function(){return d.setupAuthExtension}}),Object.defineProperty(t,"setupBankExtension",{enumerable:!0,get:function(){return d.setupBankExtension}}),Object.defineProperty(t,"setupDistributionExtension",{enumerable:!0,get:function(){return d.setupDistributionExtension}}),Object.defineProperty(t,"setupGovExtension",{enumerable:!0,get:function(){return d.setupGovExtension}}),Object.defineProperty(t,"setupMintExtension",{enumerable:!0,get:function(){return d.setupMintExtension}}),Object.defineProperty(t,"setupSlashingExtension",{enumerable:!0,get:function(){return d.setupSlashingExtension}}),Object.defineProperty(t,"setupStakingExtension",{enumerable:!0,get:function(){return d.setupStakingExtension}}),Object.defineProperty(t,"setupSupplyExtension",{enumerable:!0,get:function(){return d.setupSupplyExtension}}),Object.defineProperty(t,"uint64ToNumber",{enumerable:!0,get:function(){return d.uint64ToNumber}}),Object.defineProperty(t,"uint64ToString",{enumerable:!0,get:function(){return d.uint64ToString}});var h=r(639);Object.defineProperty(t,"isMsgBeginRedelegate",{enumerable:!0,get:function(){return h.isMsgBeginRedelegate}}),Object.defineProperty(t,"isMsgCreateValidator",{enumerable:!0,get:function(){return h.isMsgCreateValidator}}),Object.defineProperty(t,"isMsgDelegate",{enumerable:!0,get:function(){return h.isMsgDelegate}}),Object.defineProperty(t,"isMsgEditValidator",{enumerable:!0,get:function(){return h.isMsgEditValidator}}),Object.defineProperty(t,"isMsgFundCommunityPool",{enumerable:!0,get:function(){return h.isMsgFundCommunityPool}}),Object.defineProperty(t,"isMsgMultiSend",{enumerable:!0,get:function(){return h.isMsgMultiSend}}),Object.defineProperty(t,"isMsgSend",{enumerable:!0,get:function(){return h.isMsgSend}}),Object.defineProperty(t,"isMsgSetWithdrawAddress",{enumerable:!0,get:function(){return h.isMsgSetWithdrawAddress}}),Object.defineProperty(t,"isMsgUndelegate",{enumerable:!0,get:function(){return h.isMsgUndelegate}}),Object.defineProperty(t,"isMsgWithdrawDelegatorReward",{enumerable:!0,get:function(){return h.isMsgWithdrawDelegatorReward}}),Object.defineProperty(t,"isMsgWithdrawValidatorCommission",{enumerable:!0,get:function(){return h.isMsgWithdrawValidatorCommission}});var p=r(321);Object.defineProperty(t,"makeCosmoshubPath",{enumerable:!0,get:function(){return p.makeCosmoshubPath}});var g=r(175);Object.defineProperty(t,"decodeAminoPubkey",{enumerable:!0,get:function(){return g.decodeAminoPubkey}}),Object.defineProperty(t,"decodeBech32Pubkey",{enumerable:!0,get:function(){return g.decodeBech32Pubkey}}),Object.defineProperty(t,"encodeAminoPubkey",{enumerable:!0,get:function(){return g.encodeAminoPubkey}}),Object.defineProperty(t,"encodeBech32Pubkey",{enumerable:!0,get:function(){return g.encodeBech32Pubkey}}),Object.defineProperty(t,"encodeSecp256k1Pubkey",{enumerable:!0,get:function(){return g.encodeSecp256k1Pubkey}});var m=r(640);Object.defineProperty(t,"findSequenceForSignedTx",{enumerable:!0,get:function(){return m.findSequenceForSignedTx}});var y=r(127);Object.defineProperty(t,"encodeSecp256k1Signature",{enumerable:!0,get:function(){return y.encodeSecp256k1Signature}}),Object.defineProperty(t,"decodeSignature",{enumerable:!0,get:function(){return y.decodeSignature}});var b=r(641);Object.defineProperty(t,"SigningCosmosClient",{enumerable:!0,get:function(){return b.SigningCosmosClient}});var v=r(322);Object.defineProperty(t,"isStdTx",{enumerable:!0,get:function(){return v.isStdTx}}),Object.defineProperty(t,"isWrappedStdTx",{enumerable:!0,get:function(){return v.isWrappedStdTx}}),Object.defineProperty(t,"makeStdTx",{enumerable:!0,get:function(){return v.makeStdTx}});var w=r(126);Object.defineProperty(t,"pubkeyType",{enumerable:!0,get:function(){return w.pubkeyType}});var _=r(323);Object.defineProperty(t,"executeKdf",{enumerable:!0,get:function(){return _.executeKdf}});var k=r(643);Object.defineProperty(t,"extractKdfConfiguration",{enumerable:!0,get:function(){return k.extractKdfConfiguration}}),Object.defineProperty(t,"Secp256k1HdWallet",{enumerable:!0,get:function(){return k.Secp256k1HdWallet}});var O=r(644);Object.defineProperty(t,"Secp256k1Wallet",{enumerable:!0,get:function(){return O.Secp256k1Wallet}})},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Uint=t.Int=void 0;const o=n(r(233));class i{constructor(e,t,r,n){this.int="string"==typeof e?o.default(e,t,r,n):o.default(e)}toString(){return this.int.toString(10)}equals(e){return this.int.equals(e.int)}gt(e){return this.int.gt(e.int)}gte(e){return this.int.greaterOrEquals(e.int)}lt(e){return this.int.lt(e.int)}lte(e){return this.int.lesserOrEquals(e.int)}add(e){return new i(this.int.add(e.int))}sub(e){return new i(this.int.subtract(e.int))}mul(e){return new i(this.int.multiply(e.int))}div(e){return new i(this.int.divide(e.int))}mod(e){return new i(this.int.mod(e.int))}neg(){return new i(this.int.negate())}}t.Int=i;class s{constructor(e,t,r,n){if(this.uint="string"==typeof e?o.default(e,t,r,n):o.default(e),this.uint.isNegative())throw new TypeError("Uint should not be negative")}toString(){return this.uint.toString(10)}equals(e){return this.uint.equals(e.uint)}gt(e){return this.uint.gt(e.uint)}gte(e){return this.uint.greaterOrEquals(e.uint)}lt(e){return this.uint.lt(e.uint)}lte(e){return this.uint.lesserOrEquals(e.uint)}add(e){return new s(this.uint.add(e.uint))}sub(e){return new s(this.uint.subtract(e.uint))}mul(e){return new s(this.uint.multiply(e.uint))}div(e){return new s(this.uint.divide(e.uint))}mod(e){return new s(this.uint.mod(e.uint))}}t.Uint=s},function(e,t,r){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,n=u(e),s=n[0],a=n[1],c=new i(function(e,t,r){return 3*(t+r)/4-r}(0,s,a)),l=0,f=a>0?s-4:s;for(r=0;r>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===a&&(t=o[e.charCodeAt(r)]<<2|o[e.charCodeAt(r+1)]>>4,c[l++]=255&t);1===a&&(t=o[e.charCodeAt(r)]<<10|o[e.charCodeAt(r+1)]<<4|o[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],s=0,a=r-o;sa?a:s+16383));1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")};for(var n=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=s.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,r){for(var o,i,s=[],a=t;a>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return s.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=i(r(113)),a=i(r(48));a.default.util.Long=s.default,a.default.configure(),o(r(442),t)},function(e,t,r){"use strict";(function(t){void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,r,n,o){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,s,a=arguments.length;switch(a){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,r)}));case 3:return t.nextTick((function(){e.call(null,r,n)}));case 4:return t.nextTick((function(){e.call(null,r,n,o)}));default:for(i=new Array(a-1),s=0;sr)?t=("rmd160"===e?new c:u(e)).update(t).digest():t.length>>24]^l[p>>>16&255]^f[g>>>8&255]^d[255&m]^t[y++],s=u[p>>>24]^l[g>>>16&255]^f[m>>>8&255]^d[255&h]^t[y++],a=u[g>>>24]^l[m>>>16&255]^f[h>>>8&255]^d[255&p]^t[y++],c=u[m>>>24]^l[h>>>16&255]^f[p>>>8&255]^d[255&g]^t[y++],h=i,p=s,g=a,m=c;return i=(n[h>>>24]<<24|n[p>>>16&255]<<16|n[g>>>8&255]<<8|n[255&m])^t[y++],s=(n[p>>>24]<<24|n[g>>>16&255]<<16|n[m>>>8&255]<<8|n[255&h])^t[y++],a=(n[g>>>24]<<24|n[m>>>16&255]<<16|n[h>>>8&255]<<8|n[255&p])^t[y++],c=(n[m>>>24]<<24|n[h>>>16&255]<<16|n[p>>>8&255]<<8|n[255&g])^t[y++],[i>>>=0,s>>>=0,a>>>=0,c>>>=0]}var a=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],o=[[],[],[],[]],i=[[],[],[],[]],s=0,a=0,c=0;c<256;++c){var u=a^a<<1^a<<2^a<<3^a<<4;u=u>>>8^255&u^99,r[s]=u,n[u]=s;var l=e[s],f=e[l],d=e[f],h=257*e[u]^16843008*u;o[0][s]=h<<24|h>>>8,o[1][s]=h<<16|h>>>16,o[2][s]=h<<8|h>>>24,o[3][s]=h,h=16843009*d^65537*f^257*l^16843008*s,i[0][u]=h<<24|h>>>8,i[1][u]=h<<16|h>>>16,i[2][u]=h<<8|h>>>24,i[3][u]=h,0===s?s=a=1:(s=l^e[e[e[d^l]]],a^=e[e[a]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:o,INV_SUB_MIX:i}}();function u(e){this._key=o(e),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),o=[],i=0;i>>24,s=c.SBOX[s>>>24]<<24|c.SBOX[s>>>16&255]<<16|c.SBOX[s>>>8&255]<<8|c.SBOX[255&s],s^=a[i/t|0]<<24):t>6&&i%t==4&&(s=c.SBOX[s>>>24]<<24|c.SBOX[s>>>16&255]<<16|c.SBOX[s>>>8&255]<<8|c.SBOX[255&s]),o[i]=o[i-t]^s}for(var u=[],l=0;l>>24]]^c.INV_SUB_MIX[1][c.SBOX[d>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[d>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&d]]}this._nRounds=r,this._keySchedule=o,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(e){return s(e=o(e),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},u.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=n.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},u.prototype.decryptBlock=function(e){var t=(e=o(e))[1];e[1]=e[3],e[3]=t;var r=s(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),i=n.allocUnsafe(16);return i.writeUInt32BE(r[0],0),i.writeUInt32BE(r[3],4),i.writeUInt32BE(r[2],8),i.writeUInt32BE(r[1],12),i},u.prototype.scrub=function(){i(this._keySchedule),i(this._invKeySchedule),i(this._key)},e.exports.AES=u},function(e,t,r){var n=r(7).Buffer,o=r(156);e.exports=function(e,t,r,i){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var s=r/8,a=n.alloc(s),c=n.alloc(i||0),u=n.alloc(0);s>0||i>0;){var l=new o;l.update(u),l.update(e),t&&l.update(t),u=l.digest();var f=0;if(s>0){var d=a.length-s;f=Math.min(s,u.length),u.copy(a,d,0,f),s-=f}if(f0){var h=c.length-i,p=Math.min(i,u.length-f);u.copy(c,h,f,f+p),i-=p}}return u.fill(0),{key:a,iv:c}}},function(e,t,r){"use strict";var n=r(6),o=r(33),i=o.getNAF,s=o.getJSF,a=o.assert;function c(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){a(e.precomputed);var r=e._getDoubles(),n=i(t,1,this._bitLength),o=(1<=c;t--)u=(u<<1)+n[t];s.push(u)}for(var l=this.jpoint(null,null,null),f=this.jpoint(null,null,null),d=o;d>0;d--){for(c=0;c=0;u--){for(t=0;u>=0&&0===s[u];u--)t++;if(u>=0&&t++,c=c.dblp(t),u<0)break;var l=s[u];a(0!==l),c="affine"===e.type?l>0?c.mixedAdd(o[l-1>>1]):c.mixedAdd(o[-l-1>>1].neg()):l>0?c.add(o[l-1>>1]):c.add(o[-l-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,r,n,o){for(var a=this._wnafT1,c=this._wnafT2,u=this._wnafT3,l=0,f=0;f=1;f-=2){var h=f-1,p=f;if(1===a[h]&&1===a[p]){var g=[t[h],null,null,t[p]];0===t[h].y.cmp(t[p].y)?(g[1]=t[h].add(t[p]),g[2]=t[h].toJ().mixedAdd(t[p].neg())):0===t[h].y.cmp(t[p].y.redNeg())?(g[1]=t[h].toJ().mixedAdd(t[p]),g[2]=t[h].add(t[p].neg())):(g[1]=t[h].toJ().mixedAdd(t[p]),g[2]=t[h].toJ().mixedAdd(t[p].neg()));var m=[-3,-1,-5,-7,0,7,5,1,3],y=s(r[h],r[p]);l=Math.max(y[0].length,l),u[h]=new Array(l),u[p]=new Array(l);for(var b=0;b=0;f--){for(var O=0;f>=0;){var S=!0;for(b=0;b=0&&O++,_=_.dblp(O),f<0)break;for(b=0;b0?E=c[b][j-1>>1]:j<0&&(E=c[b][-j-1>>1].neg()),_="affine"===E.type?_.mixedAdd(E):_.add(E))}}for(f=0;f=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,o=0;oconsole.error("SEMVER",...e):()=>{};e.exports=r}).call(this,r(13))},function(e,t){const r=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{}},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>n(e,t,r)>0},function(e,t,r){const n=Symbol("SemVer ANY");class o{static get ANY(){return n}constructor(e,t){if(t=i(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}u("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(e){const t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new l(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new f(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new f(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),n=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=c(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),u=c(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||n||i&&s||a||u}}e.exports=o;const i=r(133),{re:s,t:a}=r(84),c=r(347),u=r(132),l=r(24),f=r(41)},function(e,t,r){const n=r(41);e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DecProto=t.IntProto=t.DecCoin=t.Coin=t.protobufPackage=void 0;const o=n(r(48));t.protobufPackage="cosmos.base.v1beta1";const i={denom:"",amount:""};t.Coin={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).string(e.denom),t.uint32(18).string(e.amount),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},i);for(;r.pos>>3){case 1:s.denom=r.string();break;case 2:s.amount=r.string();break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},i);return void 0!==e.denom&&null!==e.denom?t.denom=String(e.denom):t.denom="",void 0!==e.amount&&null!==e.amount?t.amount=String(e.amount):t.amount="",t},fromPartial(e){const t=Object.assign({},i);return void 0!==e.denom&&null!==e.denom?t.denom=e.denom:t.denom="",void 0!==e.amount&&null!==e.amount?t.amount=e.amount:t.amount="",t},toJSON(e){const t={};return void 0!==e.denom&&(t.denom=e.denom),void 0!==e.amount&&(t.amount=e.amount),t}};const s={denom:"",amount:""};t.DecCoin={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).string(e.denom),t.uint32(18).string(e.amount),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const i=Object.assign({},s);for(;r.pos>>3){case 1:i.denom=r.string();break;case 2:i.amount=r.string();break;default:r.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},s);return void 0!==e.denom&&null!==e.denom?t.denom=String(e.denom):t.denom="",void 0!==e.amount&&null!==e.amount?t.amount=String(e.amount):t.amount="",t},fromPartial(e){const t=Object.assign({},s);return void 0!==e.denom&&null!==e.denom?t.denom=e.denom:t.denom="",void 0!==e.amount&&null!==e.amount?t.amount=e.amount:t.amount="",t},toJSON(e){const t={};return void 0!==e.denom&&(t.denom=e.denom),void 0!==e.amount&&(t.amount=e.amount),t}};const a={int:""};t.IntProto={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).string(e.int),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const i=Object.assign({},a);for(;r.pos>>3){case 1:i.int=r.string();break;default:r.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},a);return void 0!==e.int&&null!==e.int?t.int=String(e.int):t.int="",t},fromPartial(e){const t=Object.assign({},a);return void 0!==e.int&&null!==e.int?t.int=e.int:t.int="",t},toJSON(e){const t={};return void 0!==e.int&&(t.int=e.int),t}};const c={dec:""};t.DecProto={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).string(e.dec),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const i=Object.assign({},c);for(;r.pos>>3){case 1:i.dec=r.string();break;default:r.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},c);return void 0!==e.dec&&null!==e.dec?t.dec=String(e.dec):t.dec="",t},fromPartial(e){const t=Object.assign({},c);return void 0!==e.dec&&null!==e.dec?t.dec=e.dec:t.dec="",t},toJSON(e){const t={};return void 0!==e.dec&&(t.dec=e.dec),t}}},function(e,t,r){"use strict";(function(e){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Any=t.protobufPackage=void 0;const o=n(r(48));t.protobufPackage="google.protobuf";const i={typeUrl:""};t.Any={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).string(e.typeUrl),t.uint32(18).bytes(e.value),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},i);for(;r.pos>>3){case 1:s.typeUrl=r.string();break;case 2:s.value=r.bytes();break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},i);return void 0!==e.typeUrl&&null!==e.typeUrl?t.typeUrl=String(e.typeUrl):t.typeUrl="",void 0!==e.value&&null!==e.value&&(t.value=function(e){const t=a(e),r=new Uint8Array(t.length);for(let e=0;e{if(void 0!==s)return s;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const a=s.atob||(e=>s.Buffer.from(e,"base64").toString("binary"));const c=s.btoa||(e=>s.Buffer.from(e,"binary").toString("base64"))}).call(this,r(12))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(739);t.Int53=n.Int53,t.Uint32=n.Uint32,t.Uint53=n.Uint53,t.Uint64=n.Uint64,t.Decimal=n.Decimal;var o=r(195);t.fromHex=o.fromHex,t.toHex=o.toHex,t.fromAscii=o.fromAscii,t.toAscii=o.toAscii,t.fromBase64=o.fromBase64,t.toBase64=o.toBase64,t.fromRfc3339=o.fromRfc3339,t.toRfc3339=o.toRfc3339,t.fromUtf8=o.fromUtf8,t.toUtf8=o.toUtf8,t.Bech32=o.Bech32;var i=r(363);t.isNonNullObject=i.isNonNullObject,t.isUint8Array=i.isUint8Array;var s=r(751);t.isJsonCompatibleValue=s.isJsonCompatibleValue,t.isJsonCompatibleDictionary=s.isJsonCompatibleDictionary,t.isJsonCompatibleArray=s.isJsonCompatibleArray;var a=r(752);t.TransactionEncoder=a.TransactionEncoder;var c=r(753);t.Encoding=c.Encoding},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(198),i=r(762),s=r(763);t.WebCryptoProvider=class{constructor(e=window.crypto){this.crypto=e}importBlockCipherKey(e){return n(this,void 0,void 0,(function*(){return i.default.importKey(this.crypto,e)}))}importCTRKey(e){return n(this,void 0,void 0,(function*(){try{return yield s.default.importKey(this.crypto,e)}catch(e){throw e.message.includes("unsupported")?new o.NotImplementedError("WebCryptoProvider: AES-CTR unsupported. Use PolyfillCryptoProvider."):e}}))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){return"undefined"!=typeof window?void 0:r(72)};t.getNodeCrypto=n;var o=function(){if("undefined"!=typeof window&&window.crypto)return window.crypto.subtle};t.getWebCrypto=o;var i=function(){if("undefined"!=typeof window){if(window.msCrypto)return window.msCrypto.subtle;if(window.crypto)return window.crypto.subtle}};t.getWebCryptoAll=i;var s=function(){if("undefined"!=typeof window){if(window.msCrypto)return window.msCrypto;if(window.crypto)return window.crypto}};t.getRootWebCryptoAll=s;var a=function(){if("undefined"!=typeof window&&window.msCrypto)return window.msCrypto.subtle};t.getMsCrypto=a;var c=function(){var e=o(),t=n(),r=a();return void 0!==t?{name:"nodeCrypto",crypto:t}:void 0!==e&&void 0===r?{name:"webCrypto",crypto:e}:void 0!==r?{name:"msCrypto",crypto:r}:{name:void 0}};t.getCrypto=c,t.default={getNodeCrypto:n,getWebCrypto:o,getMsCrypto:a,getWebCryptoAll:i,getRootWebCryptoAll:s,getCrypto:c}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetSecret20ViewingKey=t.RemoveTokenMsg=t.AddTokenMsg=t.SuggestTokenMsg=t.GetTokensMsg=void 0;const n=r(18),o=r(382);class i extends n.Message{constructor(e){super(),this.chainId=e}static type(){return"get-tokens"}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty")}route(){return o.ROUTE}type(){return i.type()}}t.GetTokensMsg=i;class s extends n.Message{constructor(e,t,r){super(),this.chainId=e,this.contractAddress=t,this.viewingKey=r}static type(){return"suggest-token"}approveExternal(){return!0}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty");if(!this.contractAddress)throw new Error("Contract address is empty")}route(){return o.ROUTE}type(){return s.type()}}t.SuggestTokenMsg=s;class a extends n.Message{constructor(e,t){super(),this.chainId=e,this.currency=t}static type(){return"add-token"}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty")}route(){return o.ROUTE}type(){return a.type()}}t.AddTokenMsg=a;class c extends n.Message{constructor(e,t){super(),this.chainId=e,this.currency=t}static type(){return"remove-token"}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty")}route(){return o.ROUTE}type(){return c.type()}}t.RemoveTokenMsg=c;class u extends n.Message{constructor(e,t){super(),this.chainId=e,this.contractAddress=t}static type(){return"get-secret20-viewing-key"}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty");if(!this.contractAddress)throw new Error("Contract address is empty")}approveExternal(){return!0}route(){return o.ROUTE}type(){return u.type()}}t.GetSecret20ViewingKey=u},function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return s}));var n=r(51),o=r.n(n),i=r(15);class s{constructor(){this.exchangeTimeout=3e4,this.unresponsiveTimeout=15e3,this.deviceModel=null,this._events=new o.a,this.send=async(t,r,n,o,s=e.alloc(0),a=[i.StatusCodes.OK])=>{if(s.length>=256)throw new i.TransportError("data.length exceed 256 bytes limit. Got: "+s.length,"DataLengthTooBig");const c=await this.exchange(e.concat([e.from([t,r,n,o]),e.from([s.length]),s])),u=c.readUInt16BE(c.length-2);if(!a.some(e=>e===u))throw new i.TransportStatusError(u);return c},this.exchangeBusyPromise=void 0,this.exchangeAtomicImpl=async e=>{if(this.exchangeBusyPromise)throw new i.TransportRaceCondition("An action was already pending on the Ledger device. Please deny or reconnect.");let t;const r=new Promise(e=>{t=e});this.exchangeBusyPromise=r;let n=!1;const o=setTimeout(()=>{n=!0,this.emit("unresponsive")},this.unresponsiveTimeout);try{const r=await e();return n&&this.emit("responsive"),r}finally{clearTimeout(o),t&&t(),this.exchangeBusyPromise=null}},this._appAPIlock=null}exchange(e){throw new Error("exchange not implemented")}setScrambleKey(e){}close(){return Promise.resolve()}on(e,t){this._events.on(e,t)}off(e,t){this._events.removeListener(e,t)}emit(e,...t){this._events.emit(e,...t)}setDebugMode(){console.warn("setDebugMode is deprecated. use @ledgerhq/logs instead. No logs are emitted in this anymore.")}setExchangeTimeout(e){this.exchangeTimeout=e}setExchangeUnresponsiveTimeout(e){this.unresponsiveTimeout=e}static create(e=3e3,t){return new Promise((r,n)=>{let o=!1;const s=this.listen({next:t=>{o=!0,s&&s.unsubscribe(),a&&clearTimeout(a),this.open(t.descriptor,e).then(r,n)},error:e=>{a&&clearTimeout(a),n(e)},complete:()=>{a&&clearTimeout(a),o||n(new i.TransportError(this.ErrorMessage_NoDeviceFound,"NoDeviceFound"))}}),a=t?setTimeout(()=>{s.unsubscribe(),n(new i.TransportError(this.ErrorMessage_ListenTimeout,"ListenTimeout"))},t):null})}decorateAppAPIMethods(e,t,r){for(let n of t)e[n]=this.decorateAppAPIMethod(n,e[n],e,r)}decorateAppAPIMethod(e,t,r,n){return async(...o)=>{const{_appAPIlock:s}=this;if(s)return Promise.reject(new i.TransportError("Ledger Device is busy (lock "+s+")","TransportLocked"));try{return this._appAPIlock=e,this.setScrambleKey(n),await t.apply(r,o)}finally{this._appAPIlock=null}}}}s.isSupported=void 0,s.list=void 0,s.listen=void 0,s.open=void 0,s.ErrorMessage_ListenTimeout="No Ledger device found (timeout)",s.ErrorMessage_NoDeviceFound="No Ledger device found"}).call(this,r(2).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(15);function o(t){const r=e.alloc(2);return r.writeUInt16BE(t,0),r}const i={data:e.alloc(0),dataLength:0,sequence:0};var s=(t,r)=>({makeBlocks(n){let i=e.concat([o(n.length),n]);const s=r-5,a=Math.ceil(i.length/s);i=e.concat([i,e.alloc(a*s-i.length+1).fill(0)]);const c=[];for(let r=0;ra&&(s=s.slice(0,a)),{data:s,dataLength:a,sequence:c}},getReducedResult(e){if(e&&e.dataLength===e.data.length)return e.data}});t.default=s}).call(this,r(2).Buffer)},,,,function(e,t,r){(t=e.exports=r(243)).Stream=t,t.Readable=t,t.Writable=r(154),t.Duplex=r(65),t.Transform=r(246),t.PassThrough=r(450)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DecUtils=void 0;const n=r(112);class o{static trim(e){let t="string"==typeof e?e:e.toString();if(t.indexOf(".")<0)return t;for(let e=t.length-1;e>=0&&"0"===t[e];e--)t=t.slice(0,e);return t.length>0&&"."===t[t.length-1]&&(t=t.slice(0,t.length-1)),t}static getPrecisionDec(e){if(o.precisions[e.toString()])return o.precisions[e.toString()];let t=new n.Dec(1);for(let r=0;r-1?n:i.nextTick;b.WritableState=y;var u=Object.create(r(95));u.inherits=r(4);var l={deprecate:r(155)},f=r(244),d=r(153).Buffer,h=o.Uint8Array||function(){};var p,g=r(245);function m(){}function y(e,t){a=a||r(65),e=e||{};var n=t instanceof a;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var o=e.highWaterMark,u=e.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:n&&(u||0===u)?u:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,o=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,o){--t.pendingcb,r?(i.nextTick(o,n),i.nextTick(S,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(o(n),e._writableState.errorEmitted=!0,e.emit("error",n),S(e,t))}(e,r,n,t,o);else{var s=k(r);s||r.corked||r.bufferProcessing||!r.bufferedRequest||_(e,r),n?c(w,e,r,s,o):w(e,r,s,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function b(e){if(a=a||r(65),!(p.call(b,this)||this instanceof a))return new b(e);this._writableState=new y(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),f.call(this)}function v(e,t,r,n,o,i,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,r?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function w(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),S(e,t)}function _(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,o=new Array(n),i=t.corkedRequestsFree;i.entry=r;for(var a=0,c=!0;r;)o[a]=r,r.isBuf||(c=!1),r=r.next,a+=1;o.allBuffers=c,v(e,t,!0,t.length,o,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new s(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,l=r.encoding,f=r.callback;if(v(e,t,!1,t.objectMode?1:u.length,u,l,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function k(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function O(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),S(e,t)}))}function S(e,t){var r=k(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(O,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}u.inherits(b,f),y.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(y.prototype,"buffer",{get:l.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(b,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===b&&(e&&e._writableState instanceof y)}})):p=function(e){return e instanceof this},b.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},b.prototype.write=function(e,t,r){var n,o=this._writableState,s=!1,a=!o.objectMode&&(n=e,d.isBuffer(n)||n instanceof h);return a&&!d.isBuffer(e)&&(e=function(e){return d.from(e)}(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof r&&(r=m),o.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),i.nextTick(t,r)}(this,r):(a||function(e,t,r,n){var o=!0,s=!1;return null===r?s=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),i.nextTick(n,s),o=!1),o}(this,o,e,r))&&(o.pendingcb++,s=function(e,t,r,n,o,i){if(!r){var s=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=d.from(t,r));return t}(t,n,o);n!==s&&(r=!0,o="buffer",n=s)}var a=t.objectMode?1:n.length;t.length+=a;var c=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),b.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},b.prototype._writev=null,b.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,S(e,t),r&&(t.finished?i.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),b.prototype.destroy=g.destroy,b.prototype._undestroy=g.undestroy,b.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r(13),r(223).setImmediate,r(12))},function(e,t,r){(function(t){function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,r(12))},function(e,t,r){"use strict";var n=r(4),o=r(250),i=r(7).Buffer,s=new Array(16);function a(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(e,t){return e<>>32-t}function u(e,t,r,n,o,i,s){return c(e+(t&r|~t&n)+o+i|0,s)+t|0}function l(e,t,r,n,o,i,s){return c(e+(t&n|r&~n)+o+i|0,s)+t|0}function f(e,t,r,n,o,i,s){return c(e+(t^r^n)+o+i|0,s)+t|0}function d(e,t,r,n,o,i,s){return c(e+(r^(t|~n))+o+i|0,s)+t|0}n(a,o),a.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,o=this._c,i=this._d;r=u(r,n,o,i,e[0],3614090360,7),i=u(i,r,n,o,e[1],3905402710,12),o=u(o,i,r,n,e[2],606105819,17),n=u(n,o,i,r,e[3],3250441966,22),r=u(r,n,o,i,e[4],4118548399,7),i=u(i,r,n,o,e[5],1200080426,12),o=u(o,i,r,n,e[6],2821735955,17),n=u(n,o,i,r,e[7],4249261313,22),r=u(r,n,o,i,e[8],1770035416,7),i=u(i,r,n,o,e[9],2336552879,12),o=u(o,i,r,n,e[10],4294925233,17),n=u(n,o,i,r,e[11],2304563134,22),r=u(r,n,o,i,e[12],1804603682,7),i=u(i,r,n,o,e[13],4254626195,12),o=u(o,i,r,n,e[14],2792965006,17),r=l(r,n=u(n,o,i,r,e[15],1236535329,22),o,i,e[1],4129170786,5),i=l(i,r,n,o,e[6],3225465664,9),o=l(o,i,r,n,e[11],643717713,14),n=l(n,o,i,r,e[0],3921069994,20),r=l(r,n,o,i,e[5],3593408605,5),i=l(i,r,n,o,e[10],38016083,9),o=l(o,i,r,n,e[15],3634488961,14),n=l(n,o,i,r,e[4],3889429448,20),r=l(r,n,o,i,e[9],568446438,5),i=l(i,r,n,o,e[14],3275163606,9),o=l(o,i,r,n,e[3],4107603335,14),n=l(n,o,i,r,e[8],1163531501,20),r=l(r,n,o,i,e[13],2850285829,5),i=l(i,r,n,o,e[2],4243563512,9),o=l(o,i,r,n,e[7],1735328473,14),r=f(r,n=l(n,o,i,r,e[12],2368359562,20),o,i,e[5],4294588738,4),i=f(i,r,n,o,e[8],2272392833,11),o=f(o,i,r,n,e[11],1839030562,16),n=f(n,o,i,r,e[14],4259657740,23),r=f(r,n,o,i,e[1],2763975236,4),i=f(i,r,n,o,e[4],1272893353,11),o=f(o,i,r,n,e[7],4139469664,16),n=f(n,o,i,r,e[10],3200236656,23),r=f(r,n,o,i,e[13],681279174,4),i=f(i,r,n,o,e[0],3936430074,11),o=f(o,i,r,n,e[3],3572445317,16),n=f(n,o,i,r,e[6],76029189,23),r=f(r,n,o,i,e[9],3654602809,4),i=f(i,r,n,o,e[12],3873151461,11),o=f(o,i,r,n,e[15],530742520,16),r=d(r,n=f(n,o,i,r,e[2],3299628645,23),o,i,e[0],4096336452,6),i=d(i,r,n,o,e[7],1126891415,10),o=d(o,i,r,n,e[14],2878612391,15),n=d(n,o,i,r,e[5],4237533241,21),r=d(r,n,o,i,e[12],1700485571,6),i=d(i,r,n,o,e[3],2399980690,10),o=d(o,i,r,n,e[10],4293915773,15),n=d(n,o,i,r,e[1],2240044497,21),r=d(r,n,o,i,e[8],1873313359,6),i=d(i,r,n,o,e[15],4264355552,10),o=d(o,i,r,n,e[6],2734768916,15),n=d(n,o,i,r,e[13],1309151649,21),r=d(r,n,o,i,e[4],4149444226,6),i=d(i,r,n,o,e[11],3174756917,10),o=d(o,i,r,n,e[2],718787259,15),n=d(n,o,i,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+o|0,this._d=this._d+i|0},a.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=i.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=a},function(e,t,r){"use strict";var n=r(73).codes.ERR_STREAM_PREMATURE_CLOSE;function o(){}e.exports=function e(t,r,i){if("function"==typeof r)return e(t,null,r);r||(r={}),i=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),o=0;o0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(o,r);return t+=this._buffer(e,t),o},o.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},o.prototype._pad=function(e,t){if(0===t)return!1;for(;t=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function s(e,r){var o=function(e){var t=i(e);return{blinder:t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(r),s=r.modulus.byteLength(),a=new n(e).mul(o.blinder).umod(r.modulus),c=a.toRed(n.mont(r.prime1)),u=a.toRed(n.mont(r.prime2)),l=r.coefficient,f=r.prime1,d=r.prime2,h=c.redPow(r.exponent1).fromRed(),p=u.redPow(r.exponent2).fromRed(),g=h.isub(p).imul(l).umod(f).imul(d);return p.iadd(g).imul(o.unblinder).umod(r.modulus).toArrayLike(t,"be",s)}s.getr=i,e.exports=s}).call(this,r(2).Buffer)},function(e,t,r){"use strict";var n,o=t,i=r(70),s=r(281),a=r(33).assert;function c(e){"short"===e.type?this.curve=new s.short(e):"edwards"===e.type?this.curve=new s.edwards(e):this.curve=new s.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(e,t){Object.defineProperty(o,e,{configurable:!0,enumerable:!0,get:function(){var r=new c(t);return Object.defineProperty(o,e,{configurable:!0,enumerable:!0,value:r}),r}})}o.PresetCurve=c,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r(512)}catch(e){n=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},function(e,t,r){"use strict";(function(t){var n,o=r(2),i=o.Buffer,s={};for(n in o)o.hasOwnProperty(n)&&"SlowBuffer"!==n&&"Buffer"!==n&&(s[n]=o[n]);var a=s.Buffer={};for(n in i)i.hasOwnProperty(n)&&"allocUnsafe"!==n&&"allocUnsafeSlow"!==n&&(a[n]=i[n]);if(s.Buffer.prototype=i.prototype,a.from&&a.from!==Uint8Array.from||(a.from=function(e,t,r){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return i(e,t,r)}),a.alloc||(a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var n=i(e);return t&&0!==t.length?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n}),!s.kStringMaxLength)try{s.kStringMaxLength=t.binding("buffer").kStringMaxLength}catch(e){}s.constants||(s.constants={MAX_LENGTH:s.kMaxLength},s.kStringMaxLength&&(s.constants.MAX_STRING_LENGTH=s.kStringMaxLength)),e.exports=s}).call(this,r(13))},function(e,t,r){"use strict";const n=r(167).Reporter,o=r(99).EncoderBuffer,i=r(99).DecoderBuffer,s=r(32),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function u(e,t,r){const n={};this._baseState=n,n.name=r,n.enc=e,n.parent=t||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}e.exports=u;const l=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];u.prototype.clone=function(){const e=this._baseState,t={};l.forEach((function(r){t[r]=e[r]}));const r=new this.constructor(t.parent);return r._baseState=t,r},u.prototype._wrap=function(){const e=this._baseState;c.forEach((function(t){this[t]=function(){const r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}}),this)},u.prototype._init=function(e){const t=this._baseState;s(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),s.equal(t.children.length,1,"Root node can have only one child")},u.prototype._useArgs=function(e){const t=this._baseState,r=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==r.length&&(s(null===t.children),t.children=r,r.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(s(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;const t={};return Object.keys(e).forEach((function(r){r==(0|r)&&(r|=0);const n=e[r];t[n]=r})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){u.prototype[e]=function(){const t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),a.forEach((function(e){u.prototype[e]=function(){const t=this._baseState,r=Array.prototype.slice.call(arguments);return s(null===t.tag),t.tag=e,this._useArgs(r),this}})),u.prototype.use=function(e){s(e);const t=this._baseState;return s(null===t.use),t.use=e,this},u.prototype.optional=function(){return this._baseState.optional=!0,this},u.prototype.def=function(e){const t=this._baseState;return s(null===t.default),t.default=e,t.optional=!0,this},u.prototype.explicit=function(e){const t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.explicit=e,this},u.prototype.implicit=function(e){const t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.implicit=e,this},u.prototype.obj=function(){const e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},u.prototype.key=function(e){const t=this._baseState;return s(null===t.key),t.key=e,this},u.prototype.any=function(){return this._baseState.any=!0,this},u.prototype.choice=function(e){const t=this._baseState;return s(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},u.prototype.contains=function(e){const t=this._baseState;return s(null===t.use),t.contains=e,this},u.prototype._decode=function(e,t){const r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));let n,o=r.default,s=!0,a=null;if(null!==r.key&&(a=e.enterKey(r.key)),r.optional){let n=null;if(null!==r.explicit?n=r.explicit:null!==r.implicit?n=r.implicit:null!==r.tag&&(n=r.tag),null!==n||r.any){if(s=this._peekTag(e,n,r.any),e.isError(s))return s}else{const n=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),s=!0}catch(e){s=!1}e.restore(n)}}if(r.obj&&s&&(n=e.enterObject()),s){if(null!==r.explicit){const t=this._decodeTag(e,r.explicit);if(e.isError(t))return t;e=t}const n=e.offset;if(null===r.use&&null===r.choice){let t;r.any&&(t=e.save());const n=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(n))return n;r.any?o=e.raw(t):e=n}if(t&&t.track&&null!==r.tag&&t.track(e.path(),n,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),r.any||(o=null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t)),e.isError(o))return o;if(r.any||null!==r.choice||null===r.children||r.children.forEach((function(r){r._decode(e,t)})),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){const n=new i(o);o=this._getUse(r.contains,e._reporterState.obj)._decode(n,t)}}return r.obj&&s&&(o=e.leaveObject(n)),null===r.key||null===o&&!0!==s?null!==a&&e.exitKey(a):e.leaveKey(a,r.key,o),o},u.prototype._decodeGeneric=function(e,t,r){const n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},u.prototype._getUse=function(e,t){const r=this._baseState;return r.useDecoder=this._use(e,t),s(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},u.prototype._decodeChoice=function(e,t){const r=this._baseState;let n=null,o=!1;return Object.keys(r.choice).some((function(i){const s=e.save(),a=r.choice[i];try{const r=a._decode(e,t);if(e.isError(r))return!1;n={type:i,value:r},o=!0}catch(t){return e.restore(s),!1}return!0}),this),o?n:e.error("Choice not matched")},u.prototype._createEncoderBuffer=function(e){return new o(e,this.reporter)},u.prototype._encode=function(e,t,r){const n=this._baseState;if(null!==n.default&&n.default===e)return;const o=this._encodeValue(e,t,r);return void 0===o||this._skipDefault(o,t,r)?void 0:o},u.prototype._encodeValue=function(e,t,r){const o=this._baseState;if(null===o.parent)return o.children[0]._encode(e,t||new n);let i=null;if(this.reporter=t,o.optional&&void 0===e){if(null===o.default)return;e=o.default}let s=null,a=!1;if(o.any)i=this._createEncoderBuffer(e);else if(o.choice)i=this._encodeChoice(e,t);else if(o.contains)s=this._getUse(o.contains,r)._encode(e,t),a=!0;else if(o.children)s=o.children.map((function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");const n=t.enterKey(r._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");const o=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),o}),this).filter((function(e){return e})),s=this._createEncoderBuffer(s);else if("seqof"===o.tag||"setof"===o.tag){if(!o.args||1!==o.args.length)return t.error("Too many args for : "+o.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");const r=this.clone();r._baseState.implicit=null,s=this._createEncoderBuffer(e.map((function(r){const n=this._baseState;return this._getUse(n.args[0],e)._encode(r,t)}),r))}else null!==o.use?i=this._getUse(o.use,r)._encode(e,t):(s=this._encodePrimitive(o.tag,e),a=!0);if(!o.any&&null===o.choice){const e=null!==o.implicit?o.implicit:o.tag,r=null===o.implicit?"universal":"context";null===e?null===o.use&&t.error("Tag could be omitted only for .use()"):null===o.use&&(i=this._encodeComposite(e,a,r,s))}return null!==o.explicit&&(i=this._encodeComposite(o.explicit,!1,"context",i)),i},u.prototype._encodeChoice=function(e,t){const r=this._baseState,n=r.choice[e.type];return n||s(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},u.prototype._encodePrimitive=function(e,t){const r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},u.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},u.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(e)}},function(e,t,r){"use strict";const n=r(4);function o(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function i(e,t){this.path=e,this.rethrow(t)}t.Reporter=o,o.prototype.isError=function(e){return e instanceof i},o.prototype.save=function(){const e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},o.prototype.restore=function(e){const t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},o.prototype.enterKey=function(e){return this._reporterState.path.push(e)},o.prototype.exitKey=function(e){const t=this._reporterState;t.path=t.path.slice(0,e-1)},o.prototype.leaveKey=function(e,t,r){const n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},o.prototype.path=function(){return this._reporterState.path.join("/")},o.prototype.enterObject=function(){const e=this._reporterState,t=e.obj;return e.obj={},t},o.prototype.leaveObject=function(e){const t=this._reporterState,r=t.obj;return t.obj=e,r},o.prototype.error=function(e){let t;const r=this._reporterState,n=e instanceof i;if(t=n?e:new i(r.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},o.prototype.wrapResult=function(e){const t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},n(i,Error),i.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,i),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},function(e,t,r){"use strict";function n(e){const t={};return Object.keys(e).forEach((function(r){(0|r)==r&&(r|=0);const n=e[r];t[n]=r})),t}t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=n(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=n(t.tag)},function(e,t,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(e,t){var r={Array:function(e){return null!=e&&e.constructor===Array},Boolean:function(e){return"boolean"==typeof e},Function:function(e){return"function"==typeof e},Nil:function(e){return null==e},Number:function(e){return"number"==typeof e},Object:function(e){return"object"==typeof e},String:function(e){return"string"==typeof e},"":function(){return!0}};for(var n in r.Null=r.Nil,r)r[n].toJSON=function(e){return e}.bind(null,n);e.exports=r},function(e,t,r){var n,o,i,s,a,c,u,l;e.exports=(l=r(9),o=(n=l).lib,i=o.WordArray,s=o.Hasher,a=n.algo,c=[],u=a.SHA1=s.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],s=r[3],a=r[4],u=0;u<80;u++){if(u<16)c[u]=0|e[t+u];else{var l=c[u-3]^c[u-8]^c[u-14]^c[u-16];c[u]=l<<1|l>>>31}var f=(n<<5|n>>>27)+a+c[u];f+=u<20?1518500249+(o&i|~o&s):u<40?1859775393+(o^i^s):u<60?(o&i|o&s|i&s)-1894007588:(o^i^s)-899497514,a=s,s=i,i=o<<30|o>>>2,o=n,n=f}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=s._createHelper(u),n.HmacSHA1=s._createHmacHelper(u),l.SHA1)},function(e,t,r){var n,o,i,s;e.exports=(n=r(9),i=(o=n).lib.Base,s=o.enc.Utf8,void(o.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=s.parse(t));var r=e.blockSize,n=4*r;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),i=this._iKey=t.clone(),a=o.words,c=i.words,u=0;u=9&&(n=(e[5]<<24)+(e[6]<<16)+(e[7]<<8)+(e[8]<<0)),{return_code:r,error_message:u(r),test_mode:0!==e[0],major:e[1],minor:e[2],patch:e[3],device_locked:1===e[4],target_id:n.toString(16)}}),l));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t){const r=/^[0-9]+$/,n=(e,t)=>{const n=r.test(e),o=r.test(t);return n&&o&&(e=+e,t=+t),e===t?0:n&&!o?-1:o&&!n?1:en(t,e)}},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>0===n(e,t,r)},function(e,t,r){const n=r(24);e.exports=(e,t,r)=>{const o=new n(e,r),i=new n(t,r);return o.compare(i)||o.compareBuild(i)}},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>n(e,t,r)<0},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>n(e,t,r)>=0},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>n(e,t,r)<=0},function(e,t,r){const n=r(24),o=r(135),{ANY:i}=o,s=r(41),a=r(136),c=r(134),u=r(185),l=r(187),f=r(186);e.exports=(e,t,r,d)=>{let h,p,g,m,y;switch(e=new n(e,d),t=new s(t,d),r){case">":h=c,p=l,g=u,m=">",y=">=";break;case"<":h=u,p=f,g=c,m="<",y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,d))return!1;for(let r=0;r{e.semver===i&&(e=new o(">=0.0.0")),s=s||e,a=a||e,h(e.semver,s.semver,d)?s=e:g(e.semver,a.semver,d)&&(a=e)}),s.operator===m||s.operator===y)return!1;if((!a.operator||a.operator===m)&&p(e,a.semver))return!1;if(a.operator===y&&g(e,a.semver))return!1}return!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LedgerSetWebHIDFlagMsg=t.LedgerGetWebHIDFlagMsg=void 0;const n=r(18),o=r(348);class i extends n.Message{static type(){return"ledger-get-webhid-flag"}constructor(){super()}validateBasic(){}route(){return o.ROUTE}type(){return i.type()}}t.LedgerGetWebHIDFlagMsg=i;class s extends n.Message{constructor(e){super(),this.flag=e}static type(){return"ledger-set-webhid-flag"}validateBasic(){if(null==this.flag)throw new Error("Flag is null")}route(){return o.ROUTE}type(){return s.type()}}t.LedgerSetWebHIDFlagMsg=s},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.KeyRing=t.KeyRingStatus=void 0;const o=r(716),i=r(108),s=r(2),a=r(11);var c;!function(e){e[e.NOTLOADED=0]="NOTLOADED",e[e.EMPTY=1]="EMPTY",e[e.LOCKED=2]="LOCKED",e[e.UNLOCKED=3]="UNLOCKED"}(c=t.KeyRingStatus||(t.KeyRingStatus={}));class u{constructor(e,t,r,n){this.embedChainInfos=e,this.kvStore=t,this.ledgerKeeper=r,this.rng=n,this.cached=new Map,this.password="",this.loaded=!1,this.keyStore=null,this.multiKeyStore=[]}get type(){if(this.keyStore){const e=this.keyStore.type;if(null==e)return"mnemonic";if("mnemonic"!==e&&"privateKey"!==e&&"ledger"!==e)throw new Error("Invalid type of key store");return e}return"none"}isLocked(){return null==this.privateKey&&null==this.mnemonic&&null==this.ledgerPublicKey}get privateKey(){return this._privateKey}set privateKey(e){this._privateKey=e,this._mnemonic=void 0,this._ledgerPublicKey=void 0,this.cached=new Map}get mnemonic(){return this._mnemonic}set mnemonic(e){this._mnemonic=e,this._privateKey=void 0,this._ledgerPublicKey=void 0,this.cached=new Map}get ledgerPublicKey(){return this._ledgerPublicKey}set ledgerPublicKey(e){this._mnemonic=void 0,this._privateKey=void 0,this._ledgerPublicKey=e,this.cached=new Map}get status(){return this.loaded?this.keyStore?this.isLocked()?c.LOCKED:c.UNLOCKED:c.EMPTY:c.NOTLOADED}getKeyStoreCoinType(e){if(this.keyStore&&this.keyStore.coinTypeForChain)return this.keyStore.coinTypeForChain[a.ChainIdHelper.parse(e).identifier]}getKey(e,t){return this.loadKey(this.computeKeyStoreCoinType(e,t))}getKeyStoreMeta(e){var t;return this.keyStore&&null!=this.keyStore.meta&&null!==(t=this.keyStore.meta[e])&&void 0!==t?t:""}computeKeyStoreCoinType(e,t){var r;if(!this.keyStore)throw new Error("Key Store is empty");return this.keyStore.coinTypeForChain&&null!==(r=this.keyStore.coinTypeForChain[a.ChainIdHelper.parse(e).identifier])&&void 0!==r?r:t}getKeyFromCoinType(e){return this.loadKey(e)}createMnemonicKey(e,t,r,o){return n(this,void 0,void 0,(function*(){if(this.status!==c.EMPTY)throw new Error("Key ring is not loaded or not empty");this.mnemonic=e,this.keyStore=yield u.CreateMnemonicKeyStore(this.rng,e,t,yield this.assignKeyStoreIdMeta(r),o),this.password=t,this.multiKeyStore.push(this.keyStore),yield this.save()}))}createPrivateKey(e,t,r){return n(this,void 0,void 0,(function*(){if(this.status!==c.EMPTY)throw new Error("Key ring is not loaded or not empty");this.privateKey=e,this.keyStore=yield u.CreatePrivateKeyStore(this.rng,e,t,yield this.assignKeyStoreIdMeta(r)),this.password=t,this.multiKeyStore.push(this.keyStore),yield this.save()}))}createLedgerKey(e,t,r,o){return n(this,void 0,void 0,(function*(){if(this.status!==c.EMPTY)throw new Error("Key ring is not loaded or not empty");this.ledgerPublicKey=yield this.ledgerKeeper.getPublicKey(e,o);const n=yield u.CreateLedgerKeyStore(this.rng,this.ledgerPublicKey,t,yield this.assignKeyStoreIdMeta(r),o);this.password=t,this.keyStore=n,this.multiKeyStore.push(this.keyStore),yield this.save()}))}lock(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");this.mnemonic=void 0,this.privateKey=void 0,this.ledgerPublicKey=void 0,this.password=""}unlock(e){return n(this,void 0,void 0,(function*(){if(!this.keyStore||"none"===this.type)throw new Error("Key ring not initialized");if("mnemonic"===this.type)this.mnemonic=s.Buffer.from(yield o.Crypto.decrypt(this.keyStore,e)).toString();else if("privateKey"===this.type)this.privateKey=s.Buffer.from(s.Buffer.from(yield o.Crypto.decrypt(this.keyStore,e)).toString(),"hex");else{if("ledger"!==this.type)throw new Error("Unexpected type of keyring");this.ledgerPublicKey=s.Buffer.from(s.Buffer.from(yield o.Crypto.decrypt(this.keyStore,e)).toString(),"hex")}this.password=e}))}save(){return n(this,void 0,void 0,(function*(){yield this.kvStore.set("key-store",this.keyStore),yield this.kvStore.set("key-multi-store",this.multiKeyStore)}))}restore(){return n(this,void 0,void 0,(function*(){const e=yield this.kvStore.get("key-store");this.keyStore=e||null;const t=yield this.kvStore.get("key-multi-store");t?this.multiKeyStore=t:(e?(e.meta=yield this.assignKeyStoreIdMeta({}),this.multiKeyStore=[e]):this.multiKeyStore=[],yield this.save());let r=!1;this.keyStore&&("1"!==this.keyStore.version&&"1.1"!==this.keyStore.version||(r=!0,this.updateLegacyKeyStore(this.keyStore)));for(const e of this.multiKeyStore)"1"!==e.version&&"1.1"!==e.version||(r=!0,this.updateLegacyKeyStore(e));r&&(yield this.save()),this.loaded=!0}))}updateLegacyKeyStore(e){e.version="1.2";for(const t of this.embedChainInfos){const r=t.alternativeBIP44s&&t.alternativeBIP44s.length>0?t.alternativeBIP44s[0].coinType:t.bip44.coinType;e.coinTypeForChain=Object.assign(Object.assign({},e.coinTypeForChain),{[a.ChainIdHelper.parse(t.chainId).identifier]:r})}}isKeyStoreCoinTypeSet(e){if(!this.keyStore)throw new Error("Empty key store");return this.keyStore.coinTypeForChain&&void 0!==this.keyStore.coinTypeForChain[a.ChainIdHelper.parse(e).identifier]}setKeyStoreCoinType(e,t){return n(this,void 0,void 0,(function*(){if(!this.keyStore)throw new Error("Empty key store");if(this.keyStore.coinTypeForChain&&void 0!==this.keyStore.coinTypeForChain[a.ChainIdHelper.parse(e).identifier])throw new Error("Coin type already set");this.keyStore.coinTypeForChain=Object.assign(Object.assign({},this.keyStore.coinTypeForChain),{[a.ChainIdHelper.parse(e).identifier]:t});const r=this.multiKeyStore.find(e=>u.getKeyStoreId(e)===u.getKeyStoreId(this.keyStore));r&&(r.coinTypeForChain=Object.assign({},this.keyStore.coinTypeForChain)),yield this.save()}))}deleteKeyRing(e,t){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");if(this.password!==t)throw new Error("Invalid password");const r=this.multiKeyStore[e];if(!r)throw new Error("Empty key store");const n=this.multiKeyStore.slice(0,e).concat(this.multiKeyStore.slice(e+1));return yield o.Crypto.decrypt(r,t),this.keyStore&&u.getKeyStoreId(r)===u.getKeyStoreId(this.keyStore)&&(n.length>0?(yield this.lock(),this.keyStore=n[0],yield this.unlock(t)):(this.keyStore=null,this.mnemonic=void 0,this.privateKey=void 0)),this.multiKeyStore=n,yield this.save(),this.getMultiKeyStoreInfo()}))}updateNameKeyRing(e,t){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");const r=this.multiKeyStore[e];if(!r)throw new Error("Empty key store");return r.meta=Object.assign(Object.assign({},r.meta),{name:t}),this.keyStore&&u.getKeyStoreId(this.keyStore)===u.getKeyStoreId(r)&&(this.keyStore=r),yield this.save(),this.getMultiKeyStoreInfo()}))}loadKey(e){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");if(!this.keyStore)throw new Error("Key Store is empty");if("ledger"===this.keyStore.type){if(!this.ledgerPublicKey)throw new Error("Ledger public key not set");const e=new i.PubKeySecp256k1(this.ledgerPublicKey);return{algo:"secp256k1",pubKey:e.toBytes(),address:e.getAddress(),isNanoLedger:!0}}{const t=this.loadPrivKey(e).getPubKey();return{algo:"secp256k1",pubKey:t.toBytes(),address:t.getAddress(),isNanoLedger:!1}}}loadPrivKey(e){if(this.status!==c.UNLOCKED||"none"===this.type||!this.keyStore)throw new Error("Key ring is not unlocked");const t=u.getKeyStoreBIP44Path(this.keyStore);if("mnemonic"===this.type){const r=`m/44'/${e}'/${t.account}'/${t.change}/${t.addressIndex}`,n=this.cached.get(r);if(n)return new i.PrivKeySecp256k1(n);if(!this.mnemonic)throw new Error("Key store type is mnemonic and it is unlocked. But, mnemonic is not loaded unexpectedly");const o=i.Mnemonic.generateWalletFromMnemonic(this.mnemonic,r);return this.cached.set(r,o),new i.PrivKeySecp256k1(o)}if("privateKey"===this.type){if(!this.privateKey)throw new Error("Key store type is private key and it is unlocked. But, private key is not loaded unexpectedly");return new i.PrivKeySecp256k1(this.privateKey)}throw new Error("Unexpected type of keyring")}sign(e,t,r,o){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");if(!this.keyStore)throw new Error("Key Store is empty");if("ledger"===this.keyStore.type){const t=this.ledgerPublicKey;if(!t)throw new Error("Ledger public key is not initialized");return yield this.ledgerKeeper.sign(e,u.getKeyStoreBIP44Path(this.keyStore),t,o)}{const e=this.computeKeyStoreCoinType(t,r);return this.loadPrivKey(e).sign(o)}}))}showKeyRing(e,t){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");if(this.password!==t)throw new Error("Invalid password");const r=this.multiKeyStore[e];if(!r)throw new Error("Empty key store");return r.type,s.Buffer.from(yield o.Crypto.decrypt(r,t)).toString()}))}get canSetPath(){return"mnemonic"===this.type||"ledger"===this.type}addMnemonicKey(e,t,r){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED||""==this.password)throw new Error("Key ring is locked or not initialized");const n=yield u.CreateMnemonicKeyStore(this.rng,e,this.password,yield this.assignKeyStoreIdMeta(t),r);return this.multiKeyStore.push(n),yield this.save(),this.getMultiKeyStoreInfo()}))}addPrivateKey(e,t){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED||""==this.password)throw new Error("Key ring is locked or not initialized");const r=yield u.CreatePrivateKeyStore(this.rng,e,this.password,yield this.assignKeyStoreIdMeta(t));return this.multiKeyStore.push(r),yield this.save(),this.getMultiKeyStoreInfo()}))}addLedgerKey(e,t,r){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED||""==this.password)throw new Error("Key ring is locked or not initialized");const n=yield this.ledgerKeeper.getPublicKey(e,r),o=yield u.CreateLedgerKeyStore(this.rng,n,this.password,yield this.assignKeyStoreIdMeta(t),r);return this.multiKeyStore.push(o),yield this.save(),this.getMultiKeyStoreInfo()}))}changeKeyStoreFromMultiKeyStore(e){return n(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED||""==this.password)throw new Error("Key ring is locked or not initialized");const t=this.multiKeyStore[e];if(!t)throw new Error("Invalid keystore");return this.keyStore=t,yield this.unlock(this.password),yield this.save(),this.getMultiKeyStoreInfo()}))}getMultiKeyStoreInfo(){const e=[];for(const t of this.multiKeyStore)e.push({version:t.version,type:t.type,meta:t.meta,coinTypeForChain:t.coinTypeForChain,bip44HDPath:t.bip44HDPath,selected:!!this.keyStore&&u.getKeyStoreId(t)===u.getKeyStoreId(this.keyStore)});return e}static CreateMnemonicKeyStore(e,t,r,i,s){return n(this,void 0,void 0,(function*(){return yield o.Crypto.encrypt(e,"mnemonic",t,r,i,s)}))}static CreatePrivateKeyStore(e,t,r,i){return n(this,void 0,void 0,(function*(){return yield o.Crypto.encrypt(e,"privateKey",s.Buffer.from(t).toString("hex"),r,i)}))}static CreateLedgerKeyStore(e,t,r,i,a){return n(this,void 0,void 0,(function*(){return yield o.Crypto.encrypt(e,"ledger",s.Buffer.from(t).toString("hex"),r,i,a)}))}assignKeyStoreIdMeta(e){return n(this,void 0,void 0,(function*(){return Object.assign({},e,{__id__:(yield this.getIncrementalNumber()).toString()})}))}static getKeyStoreId(e){var t;const r=null===(t=e.meta)||void 0===t?void 0:t.__id__;if(!r)throw new Error("Key store's id is empty");return r}static getKeyStoreBIP44Path(e){return e.bip44HDPath?(u.validateBIP44Path(e.bip44HDPath),e.bip44HDPath):{account:0,change:0,addressIndex:0}}static validateBIP44Path(e){if(!Number.isInteger(e.account)||e.account<0)throw new Error("Invalid account in hd path");if(!Number.isInteger(e.change)||0!==e.change&&1!==e.change)throw new Error("Invalid change in hd path");if(!Number.isInteger(e.addressIndex)||e.addressIndex<0)throw new Error("Invalid address index in hd path")}getIncrementalNumber(){return n(this,void 0,void 0,(function*(){let e=yield this.kvStore.get("incrementalNumber");return void 0===e&&(e=0),e++,yield this.kvStore.set("incrementalNumber",e),e}))}}t.KeyRing=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetKeyStoreCoinTypeMsg=t.GetIsKeyStoreCoinTypeSetMsg=t.ChangeKeyRingMsg=t.GetMultiKeyStoreInfoMsg=t.GetKeyRingTypeMsg=t.RequestSignDirectMsg=t.RequestSignAminoMsg=t.GetKeyMsg=t.UnlockKeyRingMsg=t.LockKeyRingMsg=t.AddLedgerKeyMsg=t.AddPrivateKeyMsg=t.CreateLedgerKeyMsg=t.CreatePrivateKeyMsg=t.AddMnemonicKeyMsg=t.CreateMnemonicKeyMsg=t.ShowKeyRingMsg=t.UpdateNameKeyRingMsg=t.DeleteKeyRingMsg=t.RestoreKeyRingMsg=void 0;const n=r(18),o=r(353),i=r(190),s=r(11),a=r(69),c=r(11);class u extends n.Message{static type(){return"restore-keyring"}constructor(){super()}validateBasic(){}route(){return o.ROUTE}type(){return u.type()}}t.RestoreKeyRingMsg=u;class l extends n.Message{constructor(e,t){super(),this.index=e,this.password=t}static type(){return"delete-keyring"}validateBasic(){if(!Number.isInteger(this.index))throw new Error("Invalid index");if(!this.password)throw new Error("password not set")}route(){return o.ROUTE}type(){return l.type()}}t.DeleteKeyRingMsg=l;class f extends n.Message{constructor(e,t){super(),this.index=e,this.name=t}static type(){return"update-name-keyring"}validateBasic(){if(!Number.isInteger(this.index))throw new Error("Invalid index");if(!this.name)throw new Error("name not set")}route(){return o.ROUTE}type(){return f.type()}}t.UpdateNameKeyRingMsg=f;class d extends n.Message{constructor(e,t){super(),this.index=e,this.password=t}static type(){return"show-keyring"}validateBasic(){if(!Number.isInteger(this.index))throw new Error("Invalid index");if(!this.password)throw new Error("password not set")}route(){return o.ROUTE}type(){return d.type()}}t.ShowKeyRingMsg=d;class h extends n.Message{constructor(e,t,r,n){super(),this.mnemonic=e,this.password=t,this.meta=r,this.bip44HDPath=n}static type(){return"create-mnemonic-key"}validateBasic(){if(!this.mnemonic)throw new Error("mnemonic not set");if(!this.password)throw new Error("password not set");try{a.mnemonicToEntropy(this.mnemonic)}catch(e){if("Invalid mnemonic checksum"!==e.message)throw e}i.KeyRing.validateBIP44Path(this.bip44HDPath)}route(){return o.ROUTE}type(){return h.type()}}t.CreateMnemonicKeyMsg=h;class p extends n.Message{constructor(e,t,r){super(),this.mnemonic=e,this.meta=t,this.bip44HDPath=r}static type(){return"add-mnemonic-key"}validateBasic(){if(!this.mnemonic)throw new Error("mnemonic not set");try{a.mnemonicToEntropy(this.mnemonic)}catch(e){if("Invalid mnemonic checksum"!==e.message)throw e}i.KeyRing.validateBIP44Path(this.bip44HDPath)}route(){return o.ROUTE}type(){return p.type()}}t.AddMnemonicKeyMsg=p;class g extends n.Message{constructor(e,t,r){super(),this.privateKey=e,this.password=t,this.meta=r}static type(){return"create-private-key"}validateBasic(){if(!this.privateKey||0===this.privateKey.length)throw new Error("private key not set");if(32!==this.privateKey.length)throw new Error("invalid length of private key");if(!this.password)throw new Error("password not set")}route(){return o.ROUTE}type(){return g.type()}}t.CreatePrivateKeyMsg=g;class m extends n.Message{constructor(e,t,r){super(),this.password=e,this.meta=t,this.bip44HDPath=r}static type(){return"create-ledger-key"}validateBasic(){if(!this.password)throw new Error("password not set");i.KeyRing.validateBIP44Path(this.bip44HDPath)}route(){return o.ROUTE}type(){return m.type()}}t.CreateLedgerKeyMsg=m;class y extends n.Message{constructor(e,t){super(),this.privateKey=e,this.meta=t}static type(){return"add-private-key"}validateBasic(){if(!this.privateKey||0===this.privateKey.length)throw new Error("private key not set");if(32!==this.privateKey.length)throw new Error("invalid length of private key")}route(){return o.ROUTE}type(){return y.type()}}t.AddPrivateKeyMsg=y;class b extends n.Message{constructor(e,t){super(),this.meta=e,this.bip44HDPath=t}static type(){return"add-ledger-key"}validateBasic(){i.KeyRing.validateBIP44Path(this.bip44HDPath)}route(){return o.ROUTE}type(){return b.type()}}t.AddLedgerKeyMsg=b;class v extends n.Message{static type(){return"lock-keyring"}constructor(){super()}validateBasic(){}route(){return o.ROUTE}type(){return v.type()}}t.LockKeyRingMsg=v;class w extends n.Message{constructor(e=""){super(),this.password=e}static type(){return"unlock-keyring"}validateBasic(){if(!this.password)throw new Error("password not set")}route(){return o.ROUTE}type(){return w.type()}}t.UnlockKeyRingMsg=w;class _ extends n.Message{constructor(e){super(),this.chainId=e}static type(){return"get-key"}validateBasic(){if(!this.chainId)throw new Error("chain id not set")}approveExternal(){return!0}route(){return o.ROUTE}type(){return _.type()}}t.GetKeyMsg=_;class k extends n.Message{constructor(e,t,r,n={}){super(),this.chainId=e,this.signer=t,this.signDoc=r,this.signOptions=n}static type(){return"request-sign-amino"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(!this.signer)throw new Error("signer not set");if(s.Bech32Address.validate(this.signer),this.signDoc.chain_id!==this.chainId)throw new Error("Chain id in the message is not matched with the requested chain id");if(!this.signOptions)throw new Error("Sign options are null")}approveExternal(){return!0}route(){return o.ROUTE}type(){return k.type()}}t.RequestSignAminoMsg=k;class O extends n.Message{constructor(e,t,r,n={}){super(),this.chainId=e,this.signer=t,this.signDocBytes=r,this.signOptions=n}static type(){return"request-sign-direct"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(!this.signer)throw new Error("signer not set");s.Bech32Address.validate(this.signer);if(c.cosmos.tx.v1beta1.SignDoc.decode(this.signDocBytes).chainId!==this.chainId)throw new Error("Chain id in the message is not matched with the requested chain id");if(!this.signOptions)throw new Error("Sign options are null")}approveExternal(){return!0}route(){return o.ROUTE}type(){return O.type()}}t.RequestSignDirectMsg=O;class S extends n.Message{static type(){return"get-keyring-type"}constructor(){super()}validateBasic(){}route(){return o.ROUTE}type(){return S.type()}}t.GetKeyRingTypeMsg=S;class E extends n.Message{static type(){return"get-multi-key-store-info"}constructor(){super()}validateBasic(){}route(){return o.ROUTE}type(){return E.type()}}t.GetMultiKeyStoreInfoMsg=E;class j extends n.Message{constructor(e){super(),this.index=e}static type(){return"change-keyring"}validateBasic(){if(this.index<0)throw new Error("Index is negative");if(!Number.isInteger(this.index))throw new Error("Invalid index")}route(){return o.ROUTE}type(){return j.type()}}t.ChangeKeyRingMsg=j;class P extends n.Message{constructor(e,t){super(),this.chainId=e,this.paths=t}static type(){return"get-is-keystore-coin-type-set"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(0===this.paths.length)throw new Error("empty bip44 path list")}route(){return o.ROUTE}type(){return P.type()}}t.GetIsKeyStoreCoinTypeSetMsg=P;class A extends n.Message{constructor(e,t){super(),this.chainId=e,this.coinType=t}static type(){return"set-keystore-coin-type"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(this.coinType<0)throw new Error("coin type can not be negative");if(!Number.isInteger(this.coinType))throw new Error("coin type should be integer")}route(){return o.ROUTE}type(){return A.type()}}t.SetKeyStoreCoinTypeMsg=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RemovePermissionOrigin=t.GetPermissionOriginsMsg=t.EnableAccessMsg=void 0;const n=r(18),o=r(354);class i extends n.Message{constructor(e){super(),this.chainIds=e}static type(){return"enable-access"}validateBasic(){if(!this.chainIds||0===this.chainIds.length)throw new Error("chain id not set")}route(){return o.ROUTE}approveExternal(){return!0}type(){return i.type()}}t.EnableAccessMsg=i;class s extends n.Message{constructor(e,t){super(),this.chainId=e,this.permissionType=t}static type(){return"get-permission-origins"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(!this.permissionType)throw new Error("empty permission type")}route(){return o.ROUTE}type(){return s.type()}}t.GetPermissionOriginsMsg=s;class a extends n.Message{constructor(e,t,r){super(),this.chainId=e,this.permissionType=t,this.permissionOrigin=r}static type(){return"remove-permission-origin"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(!this.permissionType)throw new Error("empty permission type");if(!this.permissionOrigin)throw new Error("empty permission origin")}route(){return o.ROUTE}type(){return a.type()}}t.RemovePermissionOrigin=a},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.makeSignBytes=t.makeSignDoc=t.makeAuthInfoBytes=void 0;const o=n(r(113)),i=r(356),s=r(355);t.makeAuthInfoBytes=function(e,t,r,n,a=i.SignMode.SIGN_MODE_DIRECT){const c={signerInfos:e.map(e=>({publicKey:e,modeInfo:{single:{mode:a}},sequence:o.default.fromNumber(n)})),fee:{amount:[...t],gasLimit:o.default.fromNumber(r)}};return s.AuthInfo.encode(s.AuthInfo.fromPartial(c)).finish()},t.makeSignDoc=function(e,t,r,n){return{bodyBytes:e,authInfoBytes:t,chainId:r,accountNumber:o.default.fromNumber(n)}},t.makeSignBytes=function({accountNumber:e,authInfoBytes:t,bodyBytes:r,chainId:n}){const o=s.SignDoc.fromPartial({accountNumber:e,authInfoBytes:t,bodyBytes:r,chainId:n});return s.SignDoc.encode(o).finish()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(42);function o(e){if(!n.isNonNullObject(e))throw new Error("Attribute must be a non-null object");const{key:t,value:r}=e;if("string"!=typeof t||!t)throw new Error("Attribute's key must be a non-empty string");if("string"!=typeof r&&void 0!==r)throw new Error("Attribute's value must be a string or unset");return{key:t,value:r||""}}function i(e){if(!n.isNonNullObject(e))throw new Error("Event must be a non-null object");const{type:t,attributes:r}=e;if("string"!=typeof t||""===t)throw new Error("Event type must be a non-empty string");if(!Array.isArray(r))throw new Error("Event's attributes must be an array");return{type:t,attributes:r.map(o)}}function s(e){if(!n.isNonNullObject(e))throw new Error("Log must be a non-null object");const{msg_index:t,log:r,events:o}=e;if("number"!=typeof t)throw new Error("Log's msg_index must be a number");if("string"!=typeof r)throw new Error("Log's log must be a string");if(!Array.isArray(o))throw new Error("Log's events must be an array");return{msg_index:t,log:r,events:o.map(i)}}t.parseAttribute=o,t.parseEvent=i,t.parseLog=s,t.parseLogs=function(e){if(!Array.isArray(e))throw new Error("Logs must be an array");return e.map(s)},t.findAttribute=function(e,t,r){var n,o;const i=null===(o=null===(n=e.find(()=>!0))||void 0===n?void 0:n.events.find(e=>e.type===t))||void 0===o?void 0:o.attributes.find(e=>e.key===r);if(!i)throw new Error(`Could not find attribute '${r}' in first event of type '${t}' in first log.`);return i}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(742);Object.defineProperty(t,"fromAscii",{enumerable:!0,get:function(){return n.fromAscii}}),Object.defineProperty(t,"toAscii",{enumerable:!0,get:function(){return n.toAscii}});var o=r(743);Object.defineProperty(t,"fromBase64",{enumerable:!0,get:function(){return o.fromBase64}}),Object.defineProperty(t,"toBase64",{enumerable:!0,get:function(){return o.toBase64}});var i=r(744);Object.defineProperty(t,"Bech32",{enumerable:!0,get:function(){return i.Bech32}});var s=r(745);Object.defineProperty(t,"fromHex",{enumerable:!0,get:function(){return s.fromHex}}),Object.defineProperty(t,"toHex",{enumerable:!0,get:function(){return s.toHex}});var a=r(746);Object.defineProperty(t,"fromRfc3339",{enumerable:!0,get:function(){return a.fromRfc3339}}),Object.defineProperty(t,"toRfc3339",{enumerable:!0,get:function(){return a.toRfc3339}});var c=r(747);Object.defineProperty(t,"fromUtf8",{enumerable:!0,get:function(){return c.fromUtf8}}),Object.defineProperty(t,"toUtf8",{enumerable:!0,get:function(){return c.toUtf8}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(42),{toUtf8:o}=n.Encoding;function i(e){if("object"!=typeof e||null===e)return e;if(Array.isArray(e))return e.map(i);return Object.keys(e).sort().reduce((t,r)=>Object.assign(Object.assign({},t),{[r]:i(e[r])}),{})}t.marshalTx=function(e){const t=JSON.stringify(e);return n.Encoding.toUtf8(t)},t.makeSignBytes=function(e,t,r,n,s,a){const c=i({account_number:s.toString(),chain_id:r,fee:t,memo:n,msgs:e,sequence:a.toString()});return o(JSON.stringify(c))}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(42),i=n(r(68)),s=n(r(368));function a(e){return e||[]}var c;function u(e){return void 0!==e.error}function l(e){if(u(e))throw new Error(e.error);return e.result}function f(e){var t;if(null===(t=e.response)||void 0===t?void 0:t.data){let t;const r=e.response.data;throw t=r.error&&"string"==typeof r.error?r.error:"string"==typeof r?r:JSON.stringify(r),new Error(`${t} (HTTP ${e.response.status})`)}throw e}!function(e){e.Block="block",e.Sync="sync",e.Async="async"}(c=t.BroadcastMode||(t.BroadcastMode={}));t.RestClient=class{constructor(e,t=c.Block,r){this.client=i.default.create({baseURL:e,headers:{post:{"Content-Type":"application/json"}}}),this.broadcastMode=t,this.enigmautils=new s.default(e,r),this.codeHashCache=new Map}async get(e){const{data:t}=await this.client.get(e).catch(f);if(null===t)throw new Error("Received null response from server");return t}async post(e,t){if(!o.isNonNullObject(t))throw new Error("Got unexpected type of params. Expected object.");const{data:r}=await this.client.post(e,t).catch(f);if(null===r)throw new Error("Received null response from server");return r}async authAccounts(e){const t="/auth/accounts/"+e,r=await this.get(t);if("cosmos-sdk/Account"!==r.result.type)throw new Error("Unexpected response data format");return r}async blocksLatest(){const e=await this.get("/blocks/latest");if(!e.block)throw new Error("Unexpected response data format");return e}async blocks(e){const t=await this.get("/blocks/"+e);if(!t.block)throw new Error("Unexpected response data format");return t}async nodeInfo(){const e=await this.get("/node_info");if(!e.node_info)throw new Error("Unexpected response data format");return e}async txById(e,t=!0){const r=await this.get("/txs/"+e);if(!r.tx)throw new Error("Unexpected response data format");return t?this.decryptTxsResponse(r):r}async txsQuery(e){const t=await this.get("/txs?"+e);if(!t.txs)throw new Error("Unexpected response data format");const r=t;for(let e=0;e>>8}Object.defineProperty(t,"__esModule",{value:!0}),t.select=function(e,t,r){return~(e-1)&t|e-1&r},t.compare=n,t.equal=function(e,t){return 0!==e.length&&0!==t.length&&0!==n(e,t)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wipe=function(e){for(let t=0;t>5,this.byteCount=this.blockCount<<2,this.outputBlocks=r>>5,this.extraBytes=(31&r)>>3;for(var n=0;n<50;++n)this.s[n]=0}function D(e,t,r){B.call(this,e,t,r)}B.prototype.update=function(e){if(this.finalized)throw new Error("finalize already called");var t,r=typeof e;if("string"!==r){if("object"!==r)throw new Error(s);if(null===e)throw new Error(s);if(d&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||d&&ArrayBuffer.isView(e)))throw new Error(s);t=!0}for(var n,o,i=this.blocks,a=this.byteCount,c=e.length,u=this.blockCount,l=0,f=this.s;l>2]|=e[l]<>2]|=o<>2]|=(192|o>>6)<>2]|=(128|63&o)<=57344?(i[n>>2]|=(224|o>>12)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<>2]|=(240|o>>18)<>2]|=(128|o>>12&63)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<=a){for(this.start=n-a,this.block=i[u],n=0;n>=8);r>0;)o.unshift(r),r=255&(e>>=8),++n;return t?o.push(n):o.unshift(n),this.update(o),o.length},B.prototype.encodeString=function(e){var t,r=typeof e;if("string"!==r){if("object"!==r)throw new Error(s);if(null===e)throw new Error(s);if(d&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||d&&ArrayBuffer.isView(e)))throw new Error(s);t=!0}var n=0,o=e.length;if(t)n=o;else for(var i=0;i=57344?n+=3:(a=65536+((1023&a)<<10|1023&e.charCodeAt(++i)),n+=4)}return n+=this.encode(8*n),this.update(e),n},B.prototype.bytepad=function(e,t){for(var r=this.encode(t),n=0;n>2]|=this.padding[3&t],this.lastByteIndex===this.byteCount)for(e[0]=e[r],t=1;t>4&15]+h[15&e]+h[e>>12&15]+h[e>>8&15]+h[e>>20&15]+h[e>>16&15]+h[e>>28&15]+h[e>>24&15];s%t==0&&(L(r),i=0)}return o&&(e=r[i],a+=h[e>>4&15]+h[15&e],o>1&&(a+=h[e>>12&15]+h[e>>8&15]),o>2&&(a+=h[e>>20&15]+h[e>>16&15])),a},B.prototype.arrayBuffer=function(){this.finalize();var e,t=this.blockCount,r=this.s,n=this.outputBlocks,o=this.extraBytes,i=0,s=0,a=this.outputBits>>3;e=o?new ArrayBuffer(n+1<<2):new ArrayBuffer(a);for(var c=new Uint32Array(e);s>8&255,c[e+2]=t>>16&255,c[e+3]=t>>24&255;a%r==0&&L(n)}return i&&(e=a<<2,t=n[s],c[e]=255&t,i>1&&(c[e+1]=t>>8&255),i>2&&(c[e+2]=t>>16&255)),c},D.prototype=new B,D.prototype.finalize=function(){return this.encode(this.outputBits,!0),B.prototype.finalize.call(this)};var L=function(e){var t,r,n,o,i,s,a,c,u,l,f,d,h,p,g,y,b,v,w,_,k,O,S,E,j,P,A,x,M,I,C,R,T,N,B,D,L,U,q,H,z,K,F,$,V,J,G,W,Q,Z,Y,X,ee,te,re,ne,oe,ie,se,ae,ce,ue,le;for(n=0;n<48;n+=2)o=e[0]^e[10]^e[20]^e[30]^e[40],i=e[1]^e[11]^e[21]^e[31]^e[41],s=e[2]^e[12]^e[22]^e[32]^e[42],a=e[3]^e[13]^e[23]^e[33]^e[43],c=e[4]^e[14]^e[24]^e[34]^e[44],u=e[5]^e[15]^e[25]^e[35]^e[45],l=e[6]^e[16]^e[26]^e[36]^e[46],f=e[7]^e[17]^e[27]^e[37]^e[47],t=(d=e[8]^e[18]^e[28]^e[38]^e[48])^(s<<1|a>>>31),r=(h=e[9]^e[19]^e[29]^e[39]^e[49])^(a<<1|s>>>31),e[0]^=t,e[1]^=r,e[10]^=t,e[11]^=r,e[20]^=t,e[21]^=r,e[30]^=t,e[31]^=r,e[40]^=t,e[41]^=r,t=o^(c<<1|u>>>31),r=i^(u<<1|c>>>31),e[2]^=t,e[3]^=r,e[12]^=t,e[13]^=r,e[22]^=t,e[23]^=r,e[32]^=t,e[33]^=r,e[42]^=t,e[43]^=r,t=s^(l<<1|f>>>31),r=a^(f<<1|l>>>31),e[4]^=t,e[5]^=r,e[14]^=t,e[15]^=r,e[24]^=t,e[25]^=r,e[34]^=t,e[35]^=r,e[44]^=t,e[45]^=r,t=c^(d<<1|h>>>31),r=u^(h<<1|d>>>31),e[6]^=t,e[7]^=r,e[16]^=t,e[17]^=r,e[26]^=t,e[27]^=r,e[36]^=t,e[37]^=r,e[46]^=t,e[47]^=r,t=l^(o<<1|i>>>31),r=f^(i<<1|o>>>31),e[8]^=t,e[9]^=r,e[18]^=t,e[19]^=r,e[28]^=t,e[29]^=r,e[38]^=t,e[39]^=r,e[48]^=t,e[49]^=r,p=e[0],g=e[1],J=e[11]<<4|e[10]>>>28,G=e[10]<<4|e[11]>>>28,x=e[20]<<3|e[21]>>>29,M=e[21]<<3|e[20]>>>29,ae=e[31]<<9|e[30]>>>23,ce=e[30]<<9|e[31]>>>23,K=e[40]<<18|e[41]>>>14,F=e[41]<<18|e[40]>>>14,N=e[2]<<1|e[3]>>>31,B=e[3]<<1|e[2]>>>31,y=e[13]<<12|e[12]>>>20,b=e[12]<<12|e[13]>>>20,W=e[22]<<10|e[23]>>>22,Q=e[23]<<10|e[22]>>>22,I=e[33]<<13|e[32]>>>19,C=e[32]<<13|e[33]>>>19,ue=e[42]<<2|e[43]>>>30,le=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,re=e[4]<<30|e[5]>>>2,D=e[14]<<6|e[15]>>>26,L=e[15]<<6|e[14]>>>26,v=e[25]<<11|e[24]>>>21,w=e[24]<<11|e[25]>>>21,Z=e[34]<<15|e[35]>>>17,Y=e[35]<<15|e[34]>>>17,R=e[45]<<29|e[44]>>>3,T=e[44]<<29|e[45]>>>3,E=e[6]<<28|e[7]>>>4,j=e[7]<<28|e[6]>>>4,ne=e[17]<<23|e[16]>>>9,oe=e[16]<<23|e[17]>>>9,U=e[26]<<25|e[27]>>>7,q=e[27]<<25|e[26]>>>7,_=e[36]<<21|e[37]>>>11,k=e[37]<<21|e[36]>>>11,X=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,$=e[8]<<27|e[9]>>>5,V=e[9]<<27|e[8]>>>5,P=e[18]<<20|e[19]>>>12,A=e[19]<<20|e[18]>>>12,ie=e[29]<<7|e[28]>>>25,se=e[28]<<7|e[29]>>>25,H=e[38]<<8|e[39]>>>24,z=e[39]<<8|e[38]>>>24,O=e[48]<<14|e[49]>>>18,S=e[49]<<14|e[48]>>>18,e[0]=p^~y&v,e[1]=g^~b&w,e[10]=E^~P&x,e[11]=j^~A&M,e[20]=N^~D&U,e[21]=B^~L&q,e[30]=$^~J&W,e[31]=V^~G&Q,e[40]=te^~ne&ie,e[41]=re^~oe&se,e[2]=y^~v&_,e[3]=b^~w&k,e[12]=P^~x&I,e[13]=A^~M&C,e[22]=D^~U&H,e[23]=L^~q&z,e[32]=J^~W&Z,e[33]=G^~Q&Y,e[42]=ne^~ie&ae,e[43]=oe^~se&ce,e[4]=v^~_&O,e[5]=w^~k&S,e[14]=x^~I&R,e[15]=M^~C&T,e[24]=U^~H&K,e[25]=q^~z&F,e[34]=W^~Z&X,e[35]=Q^~Y&ee,e[44]=ie^~ae&ue,e[45]=se^~ce&le,e[6]=_^~O&p,e[7]=k^~S&g,e[16]=I^~R&E,e[17]=C^~T&j,e[26]=H^~K&N,e[27]=z^~F&B,e[36]=Z^~X&$,e[37]=Y^~ee&V,e[46]=ae^~ue&te,e[47]=ce^~le&re,e[8]=O^~p&y,e[9]=S^~g&b,e[18]=R^~E&P,e[19]=T^~j&A,e[28]=K^~N&D,e[29]=F^~B&L,e[38]=X^~$&J,e[39]=ee^~V&G,e[48]=ue^~te&ne,e[49]=le^~re&oe,e[0]^=m[n],e[1]^=m[n+1]};if(l)e.exports=A;else{for(M=0;M=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},r(449),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,r(12))},,,,,,,,,,function(e,t,r){(function(e){var n,o=function(e){"use strict";var t=1e7,r=9007199254740992,n=f(r),i="function"==typeof BigInt;function s(e,t,r,n){return void 0===e?s[0]:void 0!==t&&(10!=+t||r)?q(e,t,r,n):$(e)}function a(e,t){this.value=e,this.sign=t,this.isSmall=!1}function c(e){this.value=e,this.sign=e<0,this.isSmall=!0}function u(e){this.value=e}function l(e){return-r0?Math.floor(e):Math.ceil(e)}function m(e,r){var n,o,i=e.length,s=r.length,a=new Array(i),c=0,u=t;for(o=0;o=u?1:0,a[o]=n-c*u;for(;o0&&a.push(c),a}function y(e,t){return e.length>=t.length?m(e,t):m(t,e)}function b(e,r){var n,o,i=e.length,s=new Array(i),a=t;for(o=0;o0;)s[o++]=r%a,r=Math.floor(r/a);return s}function v(e,t){var r,n,o=e.length,i=t.length,s=new Array(o),a=0;for(r=0;r0;)s[o++]=c%a,c=Math.floor(c/a);return s}function O(e,t){for(var r=[];t-- >0;)r.push(0);return r.concat(e)}function S(e,r,n){return new a(e=0;--r)o=(i=1e7*o+e[r])-(n=g(i/t))*t,a[r]=0|n;return[a,0|o]}function P(e,r){var n,o=$(r);if(i)return[new u(e.value/o.value),new u(e.value%o.value)];var l,m=e.value,y=o.value;if(0===y)throw new Error("Cannot divide by zero");if(e.isSmall)return o.isSmall?[new c(g(m/y)),new c(m%y)]:[s[0],e];if(o.isSmall){if(1===y)return[e,s[0]];if(-1==y)return[e.negate(),s[0]];var b=Math.abs(y);if(b=0;o--){for(n=h-1,b[o+f]!==m&&(n=Math.floor((b[o+f]*h+b[o+f-1])/m)),i=0,s=0,c=v.length,a=0;ac&&(o=1e7*(o+1)),r=Math.ceil(o/i);do{if(A(s=k(t,r),l)<=0)break;r--}while(r);u.push(r),l=v(l,s)}return u.reverse(),[d(u),d(l)]}(m,y))[0];var O=e.sign!==o.sign,S=n[1],E=e.sign;return"number"==typeof l?(O&&(l=-l),l=new c(l)):l=new a(l,O),"number"==typeof S?(E&&(S=-S),S=new c(S)):S=new a(S,E),[l,S]}function A(e,t){if(e.length!==t.length)return e.length>t.length?1:-1;for(var r=e.length-1;r>=0;r--)if(e[r]!==t[r])return e[r]>t[r]?1:-1;return 0}function x(e){var t=e.abs();return!t.isUnit()&&(!!(t.equals(2)||t.equals(3)||t.equals(5))||!(t.isEven()||t.isDivisibleBy(3)||t.isDivisibleBy(5))&&(!!t.lesser(49)||void 0))}function M(e,t){for(var r,n,i,s=e.prev(),a=s,c=0;a.isEven();)a=a.divide(2),c++;e:for(n=0;n=0?n=v(e,t):(n=v(t,e),r=!r),"number"==typeof(n=d(n))?(r&&(n=-n),new c(n)):new a(n,r)}(r,n,this.sign)},a.prototype.minus=a.prototype.subtract,c.prototype.subtract=function(e){var t=$(e),r=this.value;if(r<0!==t.sign)return this.add(t.negate());var n=t.value;return t.isSmall?new c(r-n):w(n,Math.abs(r),r>=0)},c.prototype.minus=c.prototype.subtract,u.prototype.subtract=function(e){return new u(this.value-$(e).value)},u.prototype.minus=u.prototype.subtract,a.prototype.negate=function(){return new a(this.value,!this.sign)},c.prototype.negate=function(){var e=this.sign,t=new c(-this.value);return t.sign=!e,t},u.prototype.negate=function(){return new u(-this.value)},a.prototype.abs=function(){return new a(this.value,!1)},c.prototype.abs=function(){return new c(Math.abs(this.value))},u.prototype.abs=function(){return new u(this.value>=0?this.value:-this.value)},a.prototype.multiply=function(e){var r,n,o,i=$(e),c=this.value,u=i.value,l=this.sign!==i.sign;if(i.isSmall){if(0===u)return s[0];if(1===u)return this;if(-1===u)return this.negate();if((r=Math.abs(u))0?function e(t,r){var n=Math.max(t.length,r.length);if(n<=30)return _(t,r);n=Math.ceil(n/2);var o=t.slice(n),i=t.slice(0,n),s=r.slice(n),a=r.slice(0,n),c=e(i,a),u=e(o,s),l=e(y(i,o),y(a,s)),f=y(y(c,O(v(v(l,c),u),n)),O(u,2*n));return h(f),f}(c,u):_(c,u),l)},a.prototype.times=a.prototype.multiply,c.prototype._multiplyBySmall=function(e){return l(e.value*this.value)?new c(e.value*this.value):S(Math.abs(e.value),f(Math.abs(this.value)),this.sign!==e.sign)},a.prototype._multiplyBySmall=function(e){return 0===e.value?s[0]:1===e.value?this:-1===e.value?this.negate():S(Math.abs(e.value),this.value,this.sign!==e.sign)},c.prototype.multiply=function(e){return $(e)._multiplyBySmall(this)},c.prototype.times=c.prototype.multiply,u.prototype.multiply=function(e){return new u(this.value*$(e).value)},u.prototype.times=u.prototype.multiply,a.prototype.square=function(){return new a(E(this.value),!1)},c.prototype.square=function(){var e=this.value*this.value;return l(e)?new c(e):new a(E(f(Math.abs(this.value))),!1)},u.prototype.square=function(e){return new u(this.value*this.value)},a.prototype.divmod=function(e){var t=P(this,e);return{quotient:t[0],remainder:t[1]}},u.prototype.divmod=c.prototype.divmod=a.prototype.divmod,a.prototype.divide=function(e){return P(this,e)[0]},u.prototype.over=u.prototype.divide=function(e){return new u(this.value/$(e).value)},c.prototype.over=c.prototype.divide=a.prototype.over=a.prototype.divide,a.prototype.mod=function(e){return P(this,e)[1]},u.prototype.mod=u.prototype.remainder=function(e){return new u(this.value%$(e).value)},c.prototype.remainder=c.prototype.mod=a.prototype.remainder=a.prototype.mod,a.prototype.pow=function(e){var t,r,n,o=$(e),i=this.value,a=o.value;if(0===a)return s[1];if(0===i)return s[0];if(1===i)return s[1];if(-1===i)return o.isEven()?s[1]:s[-1];if(o.sign)return s[0];if(!o.isSmall)throw new Error("The exponent "+o.toString()+" is too large.");if(this.isSmall&&l(t=Math.pow(i,a)))return new c(g(t));for(r=this,n=s[1];!0&a&&(n=n.times(r),--a),0!==a;)a/=2,r=r.square();return n},c.prototype.pow=a.prototype.pow,u.prototype.pow=function(e){var t=$(e),r=this.value,n=t.value,o=BigInt(0),i=BigInt(1),a=BigInt(2);if(n===o)return s[1];if(r===o)return s[0];if(r===i)return s[1];if(r===BigInt(-1))return t.isEven()?s[1]:s[-1];if(t.isNegative())return new u(o);for(var c=this,l=s[1];(n&i)===i&&(l=l.times(c),--n),n!==o;)n/=a,c=c.square();return l},a.prototype.modPow=function(e,t){if(e=$(e),(t=$(t)).isZero())throw new Error("Cannot take modPow with modulus 0");var r=s[1],n=this.mod(t);for(e.isNegative()&&(e=e.multiply(s[-1]),n=n.modInv(t));e.isPositive();){if(n.isZero())return s[0];e.isOdd()&&(r=r.multiply(n).mod(t)),e=e.divide(2),n=n.square().mod(t)}return r},u.prototype.modPow=c.prototype.modPow=a.prototype.modPow,a.prototype.compareAbs=function(e){var t=$(e),r=this.value,n=t.value;return t.isSmall?1:A(r,n)},c.prototype.compareAbs=function(e){var t=$(e),r=Math.abs(this.value),n=t.value;return t.isSmall?r===(n=Math.abs(n))?0:r>n?1:-1:-1},u.prototype.compareAbs=function(e){var t=this.value,r=$(e).value;return(t=t>=0?t:-t)===(r=r>=0?r:-r)?0:t>r?1:-1},a.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=$(e),r=this.value,n=t.value;return this.sign!==t.sign?t.sign?1:-1:t.isSmall?this.sign?-1:1:A(r,n)*(this.sign?-1:1)},a.prototype.compareTo=a.prototype.compare,c.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=$(e),r=this.value,n=t.value;return t.isSmall?r==n?0:r>n?1:-1:r<0!==t.sign?r<0?-1:1:r<0?1:-1},c.prototype.compareTo=c.prototype.compare,u.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=this.value,r=$(e).value;return t===r?0:t>r?1:-1},u.prototype.compareTo=u.prototype.compare,a.prototype.equals=function(e){return 0===this.compare(e)},u.prototype.eq=u.prototype.equals=c.prototype.eq=c.prototype.equals=a.prototype.eq=a.prototype.equals,a.prototype.notEquals=function(e){return 0!==this.compare(e)},u.prototype.neq=u.prototype.notEquals=c.prototype.neq=c.prototype.notEquals=a.prototype.neq=a.prototype.notEquals,a.prototype.greater=function(e){return this.compare(e)>0},u.prototype.gt=u.prototype.greater=c.prototype.gt=c.prototype.greater=a.prototype.gt=a.prototype.greater,a.prototype.lesser=function(e){return this.compare(e)<0},u.prototype.lt=u.prototype.lesser=c.prototype.lt=c.prototype.lesser=a.prototype.lt=a.prototype.lesser,a.prototype.greaterOrEquals=function(e){return this.compare(e)>=0},u.prototype.geq=u.prototype.greaterOrEquals=c.prototype.geq=c.prototype.greaterOrEquals=a.prototype.geq=a.prototype.greaterOrEquals,a.prototype.lesserOrEquals=function(e){return this.compare(e)<=0},u.prototype.leq=u.prototype.lesserOrEquals=c.prototype.leq=c.prototype.lesserOrEquals=a.prototype.leq=a.prototype.lesserOrEquals,a.prototype.isEven=function(){return 0==(1&this.value[0])},c.prototype.isEven=function(){return 0==(1&this.value)},u.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},a.prototype.isOdd=function(){return 1==(1&this.value[0])},c.prototype.isOdd=function(){return 1==(1&this.value)},u.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},a.prototype.isPositive=function(){return!this.sign},c.prototype.isPositive=function(){return this.value>0},u.prototype.isPositive=c.prototype.isPositive,a.prototype.isNegative=function(){return this.sign},c.prototype.isNegative=function(){return this.value<0},u.prototype.isNegative=c.prototype.isNegative,a.prototype.isUnit=function(){return!1},c.prototype.isUnit=function(){return 1===Math.abs(this.value)},u.prototype.isUnit=function(){return this.abs().value===BigInt(1)},a.prototype.isZero=function(){return!1},c.prototype.isZero=function(){return 0===this.value},u.prototype.isZero=function(){return this.value===BigInt(0)},a.prototype.isDivisibleBy=function(e){var t=$(e);return!t.isZero()&&(!!t.isUnit()||(0===t.compareAbs(2)?this.isEven():this.mod(t).isZero()))},u.prototype.isDivisibleBy=c.prototype.isDivisibleBy=a.prototype.isDivisibleBy,a.prototype.isPrime=function(e){var t=x(this);if(void 0!==t)return t;var r=this.abs(),n=r.bitLength();if(n<=64)return M(r,[2,3,5,7,11,13,17,19,23,29,31,37]);for(var i=Math.log(2)*n.toJSNumber(),s=Math.ceil(!0===e?2*Math.pow(i,2):i),a=[],c=0;c-r?new c(e-1):new a(n,!0)},u.prototype.prev=function(){return new u(this.value-BigInt(1))};for(var I=[1];2*I[I.length-1]<=t;)I.push(2*I[I.length-1]);var C=I.length,R=I[C-1];function T(e){return Math.abs(e)<=t}function N(e,t,r){t=$(t);for(var n=e.isNegative(),i=t.isNegative(),s=n?e.not():e,a=i?t.not():t,c=0,u=0,l=null,f=null,d=[];!s.isZero()||!a.isZero();)c=(l=P(s,R))[1].toJSNumber(),n&&(c=R-1-c),u=(f=P(a,R))[1].toJSNumber(),i&&(u=R-1-u),s=l[0],a=f[0],d.push(r(c,u));for(var h=0!==r(n?1:0,i?1:0)?o(-1):o(0),p=d.length-1;p>=0;p-=1)h=h.multiply(R).add(o(d[p]));return h}a.prototype.shiftLeft=function(e){var t=$(e).toJSNumber();if(!T(t))throw new Error(String(t)+" is too large for shifting.");if(t<0)return this.shiftRight(-t);var r=this;if(r.isZero())return r;for(;t>=C;)r=r.multiply(R),t-=C-1;return r.multiply(I[t])},u.prototype.shiftLeft=c.prototype.shiftLeft=a.prototype.shiftLeft,a.prototype.shiftRight=function(e){var t,r=$(e).toJSNumber();if(!T(r))throw new Error(String(r)+" is too large for shifting.");if(r<0)return this.shiftLeft(-r);for(var n=this;r>=C;){if(n.isZero()||n.isNegative()&&n.isUnit())return n;n=(t=P(n,R))[1].isNegative()?t[0].prev():t[0],r-=C-1}return(t=P(n,I[r]))[1].isNegative()?t[0].prev():t[0]},u.prototype.shiftRight=c.prototype.shiftRight=a.prototype.shiftRight,a.prototype.not=function(){return this.negate().prev()},u.prototype.not=c.prototype.not=a.prototype.not,a.prototype.and=function(e){return N(this,e,(function(e,t){return e&t}))},u.prototype.and=c.prototype.and=a.prototype.and,a.prototype.or=function(e){return N(this,e,(function(e,t){return e|t}))},u.prototype.or=c.prototype.or=a.prototype.or,a.prototype.xor=function(e){return N(this,e,(function(e,t){return e^t}))},u.prototype.xor=c.prototype.xor=a.prototype.xor;function B(e){var r=e.value,n="number"==typeof r?r|1<<30:"bigint"==typeof r?r|BigInt(1<<30):r[0]+r[1]*t|1073758208;return n&-n}function D(e,t){return e=$(e),t=$(t),e.greater(t)?e:t}function L(e,t){return e=$(e),t=$(t),e.lesser(t)?e:t}function U(e,t){if(e=$(e).abs(),t=$(t).abs(),e.equals(t))return e;if(e.isZero())return t;if(t.isZero())return e;for(var r,n,o=s[1];e.isEven()&&t.isEven();)r=L(B(e),B(t)),e=e.divide(r),t=t.divide(r),o=o.multiply(r);for(;e.isEven();)e=e.divide(B(e));do{for(;t.isEven();)t=t.divide(B(t));e.greater(t)&&(n=t,t=e,e=n),t=t.subtract(e)}while(!t.isZero());return o.isUnit()?e:e.multiply(o)}a.prototype.bitLength=function(){var e=this;return e.compareTo(o(0))<0&&(e=e.negate().subtract(o(1))),0===e.compareTo(o(0))?o(0):o(function e(t,r){if(r.compareTo(t)<=0){var n=e(t,r.square(r)),i=n.p,s=n.e,a=i.multiply(r);return a.compareTo(t)<=0?{p:a,e:2*s+1}:{p:i,e:2*s}}return{p:o(1),e:0}}(e,o(2)).e).add(o(1))},u.prototype.bitLength=c.prototype.bitLength=a.prototype.bitLength;var q=function(e,t,r,n){r=r||"0123456789abcdefghijklmnopqrstuvwxyz",e=String(e),n||(e=e.toLowerCase(),r=r.toLowerCase());var o,i=e.length,s=Math.abs(t),a={};for(o=0;o=s)){if("1"===l&&1===s)continue;throw new Error(l+" is not a valid digit in base "+t+".")}}t=$(t);var c=[],u="-"===e[0];for(o=u?1:0;o"!==e[o]&&o=0;n--)o=o.add(e[n].times(i)),i=i.times(t);return r?o.negate():o}function z(e,t){if((t=o(t)).isZero()){if(e.isZero())return{value:[0],isNegative:!1};throw new Error("Cannot convert nonzero numbers to base 0.")}if(t.equals(-1)){if(e.isZero())return{value:[0],isNegative:!1};if(e.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-e.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var r=Array.apply(null,Array(e.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return r.unshift([1]),{value:[].concat.apply([],r),isNegative:!1}}var n=!1;if(e.isNegative()&&t.isPositive()&&(n=!0,e=e.abs()),t.isUnit())return e.isZero()?{value:[0],isNegative:!1}:{value:Array.apply(null,Array(e.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:n};for(var i,s=[],a=e;a.isNegative()||a.compareAbs(t)>=0;){i=a.divmod(t),a=i.quotient;var c=i.remainder;c.isNegative()&&(c=t.minus(c).abs(),a=a.next()),s.push(c.toJSNumber())}return s.push(a.toJSNumber()),{value:s.reverse(),isNegative:n}}function K(e,t,r){var n=z(e,t);return(n.isNegative?"-":"")+n.value.map((function(e){return function(e,t){return e<(t=t||"0123456789abcdefghijklmnopqrstuvwxyz").length?t[e]:"<"+e+">"}(e,r)})).join("")}function F(e){if(l(+e)){var t=+e;if(t===g(t))return i?new u(BigInt(t)):new c(t);throw new Error("Invalid integer: "+e)}var r="-"===e[0];r&&(e=e.slice(1));var n=e.split(/e/i);if(n.length>2)throw new Error("Invalid integer: "+n.join("e"));if(2===n.length){var o=n[1];if("+"===o[0]&&(o=o.slice(1)),(o=+o)!==g(o)||!l(o))throw new Error("Invalid integer: "+o+" is not a valid exponent.");var s=n[0],f=s.indexOf(".");if(f>=0&&(o-=s.length-f-1,s=s.slice(0,f)+s.slice(f+1)),o<0)throw new Error("Cannot include negative exponent part for integers");e=s+=new Array(o+1).join("0")}if(!/^([0-9][0-9]*)$/.test(e))throw new Error("Invalid integer: "+e);if(i)return new u(BigInt(r?"-"+e:e));for(var d=[],p=e.length,m=p-7;p>0;)d.push(+e.slice(m,p)),(m-=7)<0&&(m=0),p-=7;return h(d),new a(d,r)}function $(e){return"number"==typeof e?function(e){if(i)return new u(BigInt(e));if(l(e)){if(e!==g(e))throw new Error(e+" is not an integer.");return new c(e)}return F(e.toString())}(e):"string"==typeof e?F(e):"bigint"==typeof e?new u(e):e}a.prototype.toArray=function(e){return z(this,e)},c.prototype.toArray=function(e){return z(this,e)},u.prototype.toArray=function(e){return z(this,e)},a.prototype.toString=function(e,t){if(void 0===e&&(e=10),10!==e)return K(this,e,t);for(var r,n=this.value,o=n.length,i=String(n[--o]);--o>=0;)r=String(n[o]),i+="0000000".slice(r.length)+r;return(this.sign?"-":"")+i},c.prototype.toString=function(e,t){return void 0===e&&(e=10),10!=e?K(this,e,t):String(this.value)},u.prototype.toString=c.prototype.toString,u.prototype.toJSON=a.prototype.toJSON=c.prototype.toJSON=function(){return this.toString()},a.prototype.valueOf=function(){return parseInt(this.toString(),10)},a.prototype.toJSNumber=a.prototype.valueOf,c.prototype.valueOf=function(){return this.value},c.prototype.toJSNumber=c.prototype.valueOf,u.prototype.valueOf=u.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};for(var V=0;V<1e3;V++)s[V]=$(V),V>0&&(s[-V]=$(-V));return s.one=s[1],s.zero=s[0],s.minusOne=s[-1],s.max=D,s.min=L,s.gcd=U,s.lcm=function(e,t){return e=$(e).abs(),t=$(t).abs(),e.divide(U(e,t)).multiply(t)},s.isInstance=function(e){return e instanceof a||e instanceof c||e instanceof u},s.randBetween=function(e,r,n){e=$(e),r=$(r);var o=n||Math.random,i=L(e,r),a=D(e,r).subtract(i).add(1);if(a.isSmall)return i.add(Math.floor(o()*a));for(var c=z(a,t).value,u=[],l=!0,f=0;fnew n.Coin(e.denom,e.amount))}static amountOf(e,t){const r=e.find(e=>e.denom===t);return r?r.amount:new o.Int(0)}static exclude(e,t){return e.filter(e=>0===t.indexOf(e.denom))}static concat(...e){if(0===e.length)return[];return e.slice().reduce((e,t)=>{const r=e.find(e=>e.denom===t.denom);if(r){const o=new n.Coin(r.denom,r.amount.add(t.amount));e.push(o)}else{const r=new n.Coin(t.denom,t.amount);e.push(r)}return e},[])}static getCoinFromDecimals(e,t,r){const o=e.find(e=>e.coinDenom===r);if(!o)throw new Error("Invalid currency");let s=new i.Dec(1);for(let e=0;ee.coinMinimalDenom===t.denom);r||(r={coinDecimals:0,coinDenom:t.denom,coinMinimalDenom:t.denom});let n=new i.Dec(1);for(let e=0;e0?".":"")+f}static coinToTrimmedString(e,t,r=" "){const n=new i.Dec(e.amount).quoTruncate(s.DecUtils.getPrecisionDec(t.coinDecimals));return`${s.DecUtils.trim(n)}${r}${t.coinDenom}`}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Coin=void 0;const n=r(116);class o{constructor(e,t){this.denom=e,this.amount=t instanceof n.Int?t:new n.Int(t)}static parse(e){const t=new RegExp("([0-9]+)[ ]*([a-zA-Z]+)").exec(e);if(!t||3!==t.length)throw new Error("Invalid coin str");const r=t[2],n=t[1];return new o(r,n)}toString(){return`${this.amount.toString()}${this.denom}`}}t.Coin=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TendermintTxTracer=void 0;const n=r(425),o=r(2);t.TendermintTxTracer=class{constructor(e,t,r={}){this.url=e,this.wsEndpoint=t,this.options=r,this.newBlockSubscribes=[],this.txSubscribes=new Map,this.pendingQueries=new Map,this.listeners={},this.onOpen=e=>{var t;this.newBlockSubscribes.length>0&&this.sendSubscribeBlockRpc();for(const[e,t]of this.txSubscribes)this.sendSubscribeTxRpc(e,t.hash);for(const[e,t]of this.pendingQueries)this.sendQueryRpc(e,t.method,t.params);for(const r of null!==(t=this.listeners.open)&&void 0!==t?t:[])r(e)},this.onMessage=e=>{var t,r,n,o,i;for(const r of null!==(t=this.listeners.message)&&void 0!==t?t:[])r(e);if(e.data)try{const t=JSON.parse(e.data);if((null==t?void 0:t.id)&&this.pendingQueries.has(t.id)&&(t.error?this.pendingQueries.get(t.id).rejector(new Error(t.error.data||t.error.message)):this.pendingQueries.get(t.id).resolver(t.result),this.pendingQueries.delete(t.id)),"tendermint/event/NewBlock"===(null===(n=null===(r=null==t?void 0:t.result)||void 0===r?void 0:r.data)||void 0===n?void 0:n.type))for(const e of this.newBlockSubscribes)e.handler(t.result.data.value);"tendermint/event/Tx"===(null===(i=null===(o=null==t?void 0:t.result)||void 0===o?void 0:o.data)||void 0===i?void 0:i.type)&&(null==t?void 0:t.id)&&this.txSubscribes.has(t.id)&&(t.error?this.txSubscribes.get(t.id).rejector(new Error(t.error.data||t.error.message)):this.txSubscribes.get(t.id).resolver(t.result.data.value.TxResult.result),this.txSubscribes.delete(t.id))}catch(e){console.log("Tendermint websocket jsonrpc response is not JSON: "+(e.message||e.toString()))}},this.onClose=e=>{var t;for(const r of null!==(t=this.listeners.close)&&void 0!==t?t:[])r(e)},this.ws=this.options.wsObject?new this.options.wsObject(this.getWsEndpoint()):new WebSocket(this.getWsEndpoint()),this.ws.onopen=this.onOpen,this.ws.onmessage=this.onMessage,this.ws.onclose=this.onClose}getWsEndpoint(){let e=this.url;if(e.startsWith("http")&&(e=e.replace("http","ws")),!e.endsWith(this.wsEndpoint)){const t=this.wsEndpoint.startsWith("/")?this.wsEndpoint:"/"+this.wsEndpoint;e=e.endsWith("/")?e+t.slice(1):e+t}return e}close(){this.ws.close()}get readyState(){switch(this.ws.readyState){case 0:return n.WsReadyState.CONNECTING;case 1:return n.WsReadyState.OPEN;case 2:return n.WsReadyState.CLOSING;case 3:return n.WsReadyState.CLOSED;default:return n.WsReadyState.NONE}}addEventListener(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)}subscribeBlock(e){this.newBlockSubscribes.push({handler:e}),1===this.newBlockSubscribes.length&&this.sendSubscribeBlockRpc()}sendSubscribeBlockRpc(){this.readyState===n.WsReadyState.OPEN&&this.ws.send(JSON.stringify({jsonrpc:"2.0",method:"subscribe",params:["tm.event='NewBlock'"],id:1}))}traceTx(e){return new Promise(t=>{this.queryTx(e).then(t).catch(()=>{}),this.subscribeTx(e).then(t)})}subscribeTx(e){const t=this.createRandomId();return new Promise((r,n)=>{this.txSubscribes.set(t,{hash:e,resolver:r,rejector:n}),this.sendSubscribeTxRpc(t,e)})}sendSubscribeTxRpc(e,t){this.readyState===n.WsReadyState.OPEN&&this.ws.send(JSON.stringify({jsonrpc:"2.0",method:"subscribe",params:[`tm.event='Tx' AND tx.hash='${o.Buffer.from(t).toString("hex").toUpperCase()}'`],id:e}))}queryTx(e){return this.query("tx",[o.Buffer.from(e).toString("base64"),!1])}query(e,t){const r=this.createRandomId();return new Promise((n,o)=>{this.pendingQueries.set(r,{method:e,params:t,resolver:n,rejector:o}),this.sendQueryRpc(r,e,t)})}sendQueryRpc(e,t,r){this.readyState===n.WsReadyState.OPEN&&this.ws.send(JSON.stringify({jsonrpc:"2.0",method:t,params:r,id:e}))}createRandomId(){return parseInt(Array.from({length:6}).map(()=>Math.floor(100*Math.random())).join(""))}}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProtoCodec=t.ProtoCodec=void 0;const i=r(118),s=r(118),a=r(241);o(r(241),t);class c{constructor(){this.typeUrlMap=new Map}unpackAny(e){const t=new i.google.protobuf.Any(e);return this.typeUrlMap.has(t.type_url)?this.typeUrlMap.get(t.type_url).decode(t.value):new a.UnknownMessage(t.type_url,t.value)}registerAny(e,t){this.typeUrlMap.set(e,t)}}t.ProtoCodec=c,t.defaultProtoCodec=new c,t.defaultProtoCodec.registerAny("/cosmos.bank.v1beta1.MsgSend",s.cosmos.bank.v1beta1.MsgSend),t.defaultProtoCodec.registerAny("/cosmos.staking.v1beta1.MsgDelegate",s.cosmos.staking.v1beta1.MsgDelegate),t.defaultProtoCodec.registerAny("/cosmos.staking.v1beta1.MsgUndelegate",s.cosmos.staking.v1beta1.MsgUndelegate),t.defaultProtoCodec.registerAny("/cosmos.staking.v1beta1.MsgBeginRedelegate",s.cosmos.staking.v1beta1.MsgBeginRedelegate)},function(e,t,r){"use strict";e.exports=f;var n,o=r(64),i=o.LongBits,s=o.base64,a=o.utf8;function c(e,t,r){this.fn=e,this.len=t,this.next=void 0,this.val=r}function u(){}function l(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function f(){this.len=0,this.head=new c(u,0,0),this.tail=this.head,this.states=null}var d=function(){return o.Buffer?function(){return(f.create=function(){return new n})()}:function(){return new f}};function h(e,t,r){t[r]=255&e}function p(e,t){this.len=e,this.next=void 0,this.val=t}function g(e,t,r){for(;e.hi;)t[r++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[r++]=127&e.lo|128,e.lo=e.lo>>>7;t[r++]=e.lo}function m(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}f.create=d(),f.alloc=function(e){return new o.Array(e)},o.Array!==Array&&(f.alloc=o.pool(f.alloc,o.Array.prototype.subarray)),f.prototype._push=function(e,t,r){return this.tail=this.tail.next=new c(e,t,r),this.len+=t,this},p.prototype=Object.create(c.prototype),p.prototype.fn=function(e,t,r){for(;e>127;)t[r++]=127&e|128,e>>>=7;t[r]=e},f.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new p((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},f.prototype.int32=function(e){return e<0?this._push(g,10,i.fromNumber(e)):this.uint32(e)},f.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},f.prototype.uint64=function(e){var t=i.from(e);return this._push(g,t.length(),t)},f.prototype.int64=f.prototype.uint64,f.prototype.sint64=function(e){var t=i.from(e).zzEncode();return this._push(g,t.length(),t)},f.prototype.bool=function(e){return this._push(h,1,e?1:0)},f.prototype.fixed32=function(e){return this._push(m,4,e>>>0)},f.prototype.sfixed32=f.prototype.fixed32,f.prototype.fixed64=function(e){var t=i.from(e);return this._push(m,4,t.lo)._push(m,4,t.hi)},f.prototype.sfixed64=f.prototype.fixed64,f.prototype.float=function(e){return this._push(o.float.writeFloatLE,4,e)},f.prototype.double=function(e){return this._push(o.float.writeDoubleLE,8,e)};var y=o.Array.prototype.set?function(e,t,r){t.set(e,r)}:function(e,t,r){for(var n=0;n>>0;if(!t)return this._push(h,1,0);if(o.isString(e)){var r=f.alloc(t=s.length(e));s.decode(e,r,0),e=r}return this.uint32(t)._push(y,t,e)},f.prototype.string=function(e){var t=a.length(e);return t?this.uint32(t)._push(a.write,t,e):this._push(h,1,0)},f.prototype.fork=function(){return this.states=new l(this),this.head=this.tail=new c(u,0,0),this.len=0,this},f.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new c(u,0,0),this.len=0),this},f.prototype.ldelim=function(){var e=this.head,t=this.tail,r=this.len;return this.reset().uint32(r),r&&(this.tail.next=e.next,this.tail=t,this.len+=r),this},f.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),r=0;e;)e.fn(e.val,t,r),r+=e.len,e=e.next;return t},f._configure=function(e){n=e,f.create=d(),n._configure()}},function(e,t,r){"use strict";e.exports=c;var n,o=r(64),i=o.LongBits,s=o.utf8;function a(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function c(e){this.buf=e,this.pos=0,this.len=e.length}var u,l="undefined"!=typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new c(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new c(e);throw Error("illegal buffer")},f=function(){return o.Buffer?function(e){return(c.create=function(e){return o.Buffer.isBuffer(e)?new n(e):l(e)})(e)}:l};function d(){var e=new i(0,0),t=0;if(!(this.len-this.pos>4)){for(;t<3;++t){if(this.pos>=this.len)throw a(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;if(t=0,this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw a(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function h(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function p(){if(this.pos+8>this.len)throw a(this,8);return new i(h(this.buf,this.pos+=4),h(this.buf,this.pos+=4))}c.create=f(),c.prototype._slice=o.Array.prototype.subarray||o.Array.prototype.slice,c.prototype.uint32=(u=4294967295,function(){if(u=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return u;if((this.pos+=5)>this.len)throw this.pos=this.len,a(this,10);return u}),c.prototype.int32=function(){return 0|this.uint32()},c.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},c.prototype.bool=function(){return 0!==this.uint32()},c.prototype.fixed32=function(){if(this.pos+4>this.len)throw a(this,4);return h(this.buf,this.pos+=4)},c.prototype.sfixed32=function(){if(this.pos+4>this.len)throw a(this,4);return 0|h(this.buf,this.pos+=4)},c.prototype.float=function(){if(this.pos+4>this.len)throw a(this,4);var e=o.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},c.prototype.double=function(){if(this.pos+8>this.len)throw a(this,4);var e=o.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},c.prototype.bytes=function(){var e=this.uint32(),t=this.pos,r=this.pos+e;if(r>this.len)throw a(this,e);return this.pos+=e,Array.isArray(this.buf)?this.buf.slice(t,r):t===r?new this.buf.constructor(0):this._slice.call(this.buf,t,r)},c.prototype.string=function(){var e=this.bytes();return s.read(e,0,e.length)},c.prototype.skip=function(e){if("number"==typeof e){if(this.pos+e>this.len)throw a(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw a(this)}while(128&this.buf[this.pos++]);return this},c.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(e=7&this.uint32());)this.skipType(e);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},c._configure=function(e){n=e,c.create=f(),n._configure();var t=o.Long?"toLong":"toNumber";o.merge(c.prototype,{int64:function(){return d.call(this)[t](!1)},uint64:function(){return d.call(this)[t](!0)},sint64:function(){return d.call(this).zzDecode()[t](!1)},fixed64:function(){return p.call(this)[t](!0)},sfixed64:function(){return p.call(this)[t](!1)}})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnknownMessage=void 0;const n=r(2);t.UnknownMessage=class{constructor(e,t){this._typeUrl=e,this._value=t}get typeUrl(){return this._typeUrl}get value(){return this._value}toJSON(){return{type_url:this._typeUrl,value:n.Buffer.from(this._value).toString("base64")}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProtoSignDocDecoder=void 0;const n=r(118),o=r(238);class i{constructor(e,t=o.defaultProtoCodec){this.signDoc=e,this.protoCodec=t}static decode(e){return new i(n.cosmos.tx.v1beta1.SignDoc.decode(e))}get txBody(){return this._txBody||(this._txBody=n.cosmos.tx.v1beta1.TxBody.decode(this.signDoc.bodyBytes)),this._txBody}get txMsgs(){const e=[];for(const t of this.txBody.messages)e.push(this.protoCodec.unpackAny(t));return e}get authInfo(){return this._authInfo||(this._authInfo=n.cosmos.tx.v1beta1.AuthInfo.decode(this.signDoc.authInfoBytes)),this._authInfo}get chainId(){return this.signDoc.chainId}get accountNumber(){return this.signDoc.accountNumber.toString()}toBytes(){return n.cosmos.tx.v1beta1.SignDoc.encode(this.signDoc).finish()}toJSON(){return{txBody:Object.assign(Object.assign({},this.txBody.toJSON()),{messages:this.txMsgs.map(e=>e&&e.toJSON?e.toJSON():e)}),authInfo:this.authInfo.toJSON(),chainId:this.chainId,accountNumber:this.accountNumber}}}t.ProtoSignDocDecoder=i},function(e,t,r){"use strict";(function(t,n){var o=r(119);e.exports=v;var i,s=r(237);v.ReadableState=b;r(51).EventEmitter;var a=function(e,t){return e.listeners(t).length},c=r(244),u=r(153).Buffer,l=t.Uint8Array||function(){};var f=Object.create(r(95));f.inherits=r(4);var d=r(446),h=void 0;h=d&&d.debuglog?d.debuglog("stream"):function(){};var p,g=r(447),m=r(245);f.inherits(v,c);var y=["error","close","destroy","pause","resume"];function b(e,t){e=e||{};var n=t instanceof(i=i||r(65));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var o=e.highWaterMark,s=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:n&&(s||0===s)?s:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=r(66).StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function v(e){if(i=i||r(65),!(this instanceof v))return new v(e);this._readableState=new b(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function w(e,t,r,n,o){var i,s=e._readableState;null===t?(s.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,O(e)}(e,s)):(o||(i=function(e,t){var r;n=t,u.isBuffer(n)||n instanceof l||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(s,t)),i?e.emit("error",i):s.objectMode||t&&t.length>0?("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=function(e){return u.from(e)}(t)),n?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):_(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?_(e,s,t,!1):E(e,s)):_(e,s,t,!1))):n||(s.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function O(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?o.nextTick(S,e):S(e))}function S(e){h("emit readable"),e.emit("readable"),x(e)}function E(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(j,e,t))}function j(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;ei.length?i.length:e;if(s===i.length?o+=i:o+=i.slice(0,e),0===(e-=s)){s===i.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=i.slice(s));break}++n}return t.length-=n,o}(e,t):function(e,t){var r=u.allocUnsafe(e),n=t.head,o=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var i=n.data,s=e>i.length?i.length:e;if(i.copy(r,r.length-e,0,s),0===(e-=s)){s===i.length?(++o,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(s));break}++o}return t.length-=o,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function I(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,o.nextTick(C,t,e))}function C(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function R(e,t){for(var r=0,n=e.length;r=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?I(this):O(this),null;if(0===(e=k(e,t))&&t.ended)return 0===t.length&&I(this),null;var n,o=t.needReadable;return h("need readable",o),(0===t.length||t.length-e0?M(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&I(this)),null!==n&&this.emit("data",n),n},v.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,h("pipe count=%d opts=%j",i.pipesCount,t);var c=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:v;function u(t,n){h("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,h("cleanup"),e.removeListener("close",y),e.removeListener("finish",b),e.removeListener("drain",f),e.removeListener("error",m),e.removeListener("unpipe",u),r.removeListener("end",l),r.removeListener("end",v),r.removeListener("data",g),d=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function l(){h("onend"),e.end()}i.endEmitted?o.nextTick(c):r.once("end",c),e.on("unpipe",u);var f=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,x(e))}}(r);e.on("drain",f);var d=!1;var p=!1;function g(t){h("ondata"),p=!1,!1!==e.write(t)||p||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==R(i.pipes,e))&&!d&&(h("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,p=!0),r.pause())}function m(t){h("onerror",t),v(),e.removeListener("error",m),0===a(e,"error")&&e.emit("error",t)}function y(){e.removeListener("finish",b),v()}function b(){h("onfinish"),e.removeListener("close",y),v()}function v(){h("unpipe"),r.unpipe(e)}return r.on("data",g),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?s(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",m),e.once("close",y),e.once("finish",b),e.emit("pipe",r),i.flowing||(h("pipe resume"),r.resume()),e},v.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i>>3},t.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},function(e,t,r){"use strict";var n=r(49),o=r(96),i=r(247),s=r(32),a=n.sum32,c=n.sum32_4,u=n.sum32_5,l=i.ch32,f=i.maj32,d=i.s0_256,h=i.s1_256,p=i.g0_256,g=i.g1_256,m=o.BlockHash,y=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function b(){if(!(this instanceof b))return new b;m.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=y,this.W=new Array(64)}n.inherits(b,m),e.exports=b,b.blockSize=512,b.outSize=256,b.hmacStrength=192,b.padLength=64,b.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n=this._blockSize;){for(var i=this._blockOffset;i0;++s)this._length[s]+=a,(a=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*a);return this},i.prototype._update=function(){throw new Error("_update is not implemented")},i.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},i.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=i},function(e,t,r){"use strict";(function(t,n){var o;e.exports=E,E.ReadableState=S;r(51).EventEmitter;var i=function(e,t){return e.listeners(t).length},s=r(252),a=r(2).Buffer,c=t.Uint8Array||function(){};var u,l=r(459);u=l&&l.debuglog?l.debuglog("stream"):function(){};var f,d,h,p=r(460),g=r(253),m=r(254).getHighWaterMark,y=r(73).codes,b=y.ERR_INVALID_ARG_TYPE,v=y.ERR_STREAM_PUSH_AFTER_EOF,w=y.ERR_METHOD_NOT_IMPLEMENTED,_=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(4)(E,s);var k=g.errorOrDestroy,O=["error","close","destroy","pause","resume"];function S(e,t,n){o=o||r(74),e=e||{},"boolean"!=typeof n&&(n=t instanceof o),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",n),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=r(66).StringDecoder),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function E(e){if(o=o||r(74),!(this instanceof E))return new E(e);var t=this instanceof o;this._readableState=new S(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function j(e,t,r,n,o){u("readableAddChunk",t);var i,s=e._readableState;if(null===t)s.reading=!1,function(e,t){if(u("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?x(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,M(e)))}(e,s);else if(o||(i=function(e,t){var r;n=t,a.isBuffer(n)||n instanceof c||"string"==typeof t||void 0===t||e.objectMode||(r=new b("chunk",["string","Buffer","Uint8Array"],t));var n;return r}(s,t)),i)k(e,i);else if(s.objectMode||t&&t.length>0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),n)s.endEmitted?k(e,new _):P(e,s,t,!0);else if(s.ended)k(e,new v);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?P(e,s,t,!1):I(e,s)):P(e,s,t,!1)}else n||(s.reading=!1,I(e,s));return!s.ended&&(s.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function x(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(M,e))}function M(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,B(e)}function I(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(C,e,t))}function C(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function T(e){u("readable nexttick read 0"),e.read(0)}function N(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),B(e),t.flowing&&!t.reading&&e.read(0)}function B(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function D(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function L(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(U,t,e))}function U(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function q(e,t){for(var r=0,n=e.length;r=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?L(this):x(this),null;if(0===(e=A(e,t))&&t.ended)return 0===t.length&&L(this),null;var n,o=t.needReadable;return u("need readable",o),(0===t.length||t.length-e0?D(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&L(this)),null!==n&&this.emit("data",n),n},E.prototype._read=function(e){k(this,new w("_read()"))},E.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,u("pipe count=%d opts=%j",o.pipesCount,t);var s=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?c:m;function a(t,n){u("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,u("cleanup"),e.removeListener("close",p),e.removeListener("finish",g),e.removeListener("drain",l),e.removeListener("error",h),e.removeListener("unpipe",a),r.removeListener("end",c),r.removeListener("end",m),r.removeListener("data",d),f=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function c(){u("onend"),e.end()}o.endEmitted?n.nextTick(s):r.once("end",s),e.on("unpipe",a);var l=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,B(e))}}(r);e.on("drain",l);var f=!1;function d(t){u("ondata");var n=e.write(t);u("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==q(o.pipes,e))&&!f&&(u("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function h(t){u("onerror",t),m(),e.removeListener("error",h),0===i(e,"error")&&k(e,t)}function p(){e.removeListener("finish",g),m()}function g(){u("onfinish"),e.removeListener("close",p),m()}function m(){u("unpipe"),r.unpipe(e)}return r.on("data",d),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",h),e.once("close",p),e.once("finish",g),e.emit("pipe",r),o.flowing||(u("pipe resume"),r.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,u("on readable",o.length,o.reading),o.length?x(this):o.reading||n.nextTick(T,this))),r},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(e,t){var r=s.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(R,this),r},E.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(R,this),t},E.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(N,e,t))}(this,e)),e.paused=!1,this},E.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",(function(){if(u("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){(u("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))})),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(e,t,r){r(new g("_write()"))},E.prototype._writev=null,E.prototype.end=function(e,t,r){var o=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),o.corked&&(o.corked=1,this.uncork()),o.ending||function(e,t,r){t.ending=!0,I(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,o,r),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),E.prototype.destroy=f.destroy,E.prototype._undestroy=f.undestroy,E.prototype._destroy=function(e,t){t(e)}}).call(this,r(12),r(13))},function(e,t,r){"use strict";e.exports=l;var n=r(73).codes,o=n.ERR_METHOD_NOT_IMPLEMENTED,i=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=n.ERR_TRANSFORM_WITH_LENGTH_0,c=r(74);function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new i);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function d(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}n(c,o),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,o=0|this._b,i=0|this._c,a=0|this._d,c=0|this._e,p=0|this._f,g=0|this._g,m=0|this._h,y=0;y<16;++y)r[y]=e.readInt32BE(4*y);for(;y<64;++y)r[y]=0|(((t=r[y-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+r[y-7]+h(r[y-15])+r[y-16];for(var b=0;b<64;++b){var v=m+d(c)+u(c,p,g)+s[b]+r[b]|0,w=f(n)+l(n,o,i)|0;m=g,g=p,p=c,c=a+v|0,a=i,i=o,o=n,n=v+w|0}this._a=n+this._a|0,this._b=o+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=g+this._g|0,this._h=m+this._h|0},c.prototype._hash=function(){var e=i.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=c},function(e,t,r){var n=r(4),o=r(77),i=r(7).Buffer,s=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],a=new Array(160);function c(){this.init(),this._w=a,o.call(this,128,112)}function u(e,t,r){return r^e&(t^r)}function l(e,t,r){return e&t|r&(e|t)}function f(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function d(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function y(e,t){return e>>>0>>0?1:0}n(c,o),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,o=0|this._ch,i=0|this._dh,a=0|this._eh,c=0|this._fh,b=0|this._gh,v=0|this._hh,w=0|this._al,_=0|this._bl,k=0|this._cl,O=0|this._dl,S=0|this._el,E=0|this._fl,j=0|this._gl,P=0|this._hl,A=0;A<32;A+=2)t[A]=e.readInt32BE(4*A),t[A+1]=e.readInt32BE(4*A+4);for(;A<160;A+=2){var x=t[A-30],M=t[A-30+1],I=h(x,M),C=p(M,x),R=g(x=t[A-4],M=t[A-4+1]),T=m(M,x),N=t[A-14],B=t[A-14+1],D=t[A-32],L=t[A-32+1],U=C+B|0,q=I+N+y(U,C)|0;q=(q=q+R+y(U=U+T|0,T)|0)+D+y(U=U+L|0,L)|0,t[A]=q,t[A+1]=U}for(var H=0;H<160;H+=2){q=t[H],U=t[H+1];var z=l(r,n,o),K=l(w,_,k),F=f(r,w),$=f(w,r),V=d(a,S),J=d(S,a),G=s[H],W=s[H+1],Q=u(a,c,b),Z=u(S,E,j),Y=P+J|0,X=v+V+y(Y,P)|0;X=(X=(X=X+Q+y(Y=Y+Z|0,Z)|0)+G+y(Y=Y+W|0,W)|0)+q+y(Y=Y+U|0,U)|0;var ee=$+K|0,te=F+z+y(ee,$)|0;v=b,P=j,b=c,j=E,c=a,E=S,a=i+X+y(S=O+Y|0,O)|0,i=o,O=k,o=n,k=_,n=r,_=w,r=X+te+y(w=Y+ee|0,Y)|0}this._al=this._al+w|0,this._bl=this._bl+_|0,this._cl=this._cl+k|0,this._dl=this._dl+O|0,this._el=this._el+S|0,this._fl=this._fl+E|0,this._gl=this._gl+j|0,this._hl=this._hl+P|0,this._ah=this._ah+r+y(this._al,w)|0,this._bh=this._bh+n+y(this._bl,_)|0,this._ch=this._ch+o+y(this._cl,k)|0,this._dh=this._dh+i+y(this._dl,O)|0,this._eh=this._eh+a+y(this._el,S)|0,this._fh=this._fh+c+y(this._fl,E)|0,this._gh=this._gh+b+y(this._gl,j)|0,this._hh=this._hh+v+y(this._hl,P)|0},c.prototype._hash=function(){var e=i.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=c},function(e,t,r){var n=r(156);e.exports=function(e){return(new n).update(e).digest()}},function(e){e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},function(e,t){var r=Math.pow(2,30)-1;e.exports=function(e,t){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>r||t!=t)throw new TypeError("Bad key length")}},function(e,t,r){(function(t){var r;if(t.browser)r="utf-8";else if(t.version){r=parseInt(t.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else r="utf-8";e.exports=r}).call(this,r(13))},function(e,t,r){var n=r(259),o=r(75),i=r(76),s=r(7).Buffer,a=r(261),c=r(262),u=r(264),l=s.alloc(128),f={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(e,t,r){var a=function(e){function t(t){return i(e).update(t).digest()}return"rmd160"===e||"ripemd160"===e?function(e){return(new o).update(e).digest()}:"md5"===e?n:t}(e),c="sha512"===e||"sha384"===e?128:64;t.length>c?t=a(t):t.length>>0},t.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},t.ip=function(e,t,r,n){for(var o=0,i=0,s=6;s>=0;s-=2){for(var a=0;a<=24;a+=8)o<<=1,o|=t>>>a+s&1;for(a=0;a<=24;a+=8)o<<=1,o|=e>>>a+s&1}for(s=6;s>=0;s-=2){for(a=1;a<=25;a+=8)i<<=1,i|=t>>>a+s&1;for(a=1;a<=25;a+=8)i<<=1,i|=e>>>a+s&1}r[n+0]=o>>>0,r[n+1]=i>>>0},t.rip=function(e,t,r,n){for(var o=0,i=0,s=0;s<4;s++)for(var a=24;a>=0;a-=8)o<<=1,o|=t>>>a+s&1,o<<=1,o|=e>>>a+s&1;for(s=4;s<8;s++)for(a=24;a>=0;a-=8)i<<=1,i|=t>>>a+s&1,i<<=1,i|=e>>>a+s&1;r[n+0]=o>>>0,r[n+1]=i>>>0},t.pc1=function(e,t,r,n){for(var o=0,i=0,s=7;s>=5;s--){for(var a=0;a<=24;a+=8)o<<=1,o|=t>>a+s&1;for(a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1}for(a=0;a<=24;a+=8)o<<=1,o|=t>>a+s&1;for(s=1;s<=3;s++){for(a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+s&1}for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+s&1;r[n+0]=o>>>0,r[n+1]=i>>>0},t.r28shl=function(e,t){return e<>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,r,o){for(var i=0,s=0,a=n.length>>>1,c=0;c>>n[c]&1;for(c=a;c>>n[c]&1;r[o+0]=i>>>0,r[o+1]=s>>>0},t.expand=function(e,t,r){var n=0,o=0;n=(1&e)<<5|e>>>27;for(var i=23;i>=15;i-=4)n<<=6,n|=e>>>i&63;for(i=11;i>=3;i-=4)o|=e>>>i&63,o<<=6;o|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=o>>>0};var o=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var r=0,n=0;n<4;n++){r<<=4,r|=o[64*n+(e>>>18-6*n&63)]}for(n=0;n<4;n++){r<<=4,r|=o[256+64*n+(t>>>18-6*n&63)]}return r>>>0};var i=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,r=0;r>>i[r]&1;return t>>>0},t.padSplit=function(e,t,r){for(var n=e.toString(2);n.length>>1];r=i.r28shl(r,a),o=i.r28shl(o,a),i.pc2(r,o,e.keys,s)}},c.prototype._update=function(e,t,r,n){var o=this._desState,s=i.readUInt32BE(e,t),a=i.readUInt32BE(e,t+4);i.ip(s,a,o.tmp,0),s=o.tmp[0],a=o.tmp[1],"encrypt"===this.type?this._encrypt(o,s,a,o.tmp,0):this._decrypt(o,s,a,o.tmp,0),s=o.tmp[0],a=o.tmp[1],i.writeUInt32BE(r,s,n),i.writeUInt32BE(r,a,n+4)},c.prototype._pad=function(e,t){for(var r=e.length-t,n=t;n>>0,s=d}i.rip(a,s,n,o)},c.prototype._decrypt=function(e,t,r,n,o){for(var s=r,a=t,c=e.keys.length-2;c>=0;c-=2){var u=e.keys[c],l=e.keys[c+1];i.expand(s,e.tmp,0),u^=e.tmp[0],l^=e.tmp[1];var f=i.substitute(u,l),d=s;s=(a^i.permute(f))>>>0,a=d}i.rip(s,a,n,o)}},function(e,t,r){var n=r(98),o=r(7).Buffer,i=r(268);function s(e){var t=e._cipher.encryptBlockRaw(e._prev);return i(e._prev),t}t.encrypt=function(e,t){var r=Math.ceil(t.length/16),i=e._cache.length;e._cache=o.concat([e._cache,o.allocUnsafe(16*r)]);for(var a=0;ae;)r.ishrn(1);if(r.isEven()&&r.iadd(a),r.testn(1)||r.iadd(c),t.cmp(c)){if(!t.cmp(u))for(;r.mod(l).cmp(f);)r.iadd(h)}else for(;r.mod(i).cmp(d);)r.iadd(h);if(m(p=r.shrn(1))&&m(r)&&y(p)&&y(r)&&s.test(p)&&s.test(r))return r}}},function(e,t,r){var n=r(6),o=r(161);function i(e){this.rand=e||new o.Rand}e.exports=i,i.create=function(e){return new i(e)},i.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var o=new n(this.rand.generate(r))}while(o.cmp(e)>=0);return o},i.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},i.prototype.test=function(e,t,r){var o=e.bitLength(),i=n.mont(e),s=new n(1).toRed(i);t||(t=Math.max(1,o/48|0));for(var a=e.subn(1),c=0;!a.testn(c);c++);for(var u=e.shrn(c),l=a.toRed(i);t>0;t--){var f=this._randrange(new n(2),a);r&&r(f);var d=f.toRed(i).redPow(u);if(0!==d.cmp(s)&&0!==d.cmp(l)){for(var h=1;h0;t--){var l=this._randrange(new n(2),s),f=e.gcd(l);if(0!==f.cmpn(1))return f;var d=l.toRed(o).redPow(c);if(0!==d.cmp(i)&&0!==d.cmp(u)){for(var h=1;h0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),n)s.endEmitted?k(e,new _):P(e,s,t,!0);else if(s.ended)k(e,new v);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?P(e,s,t,!1):I(e,s)):P(e,s,t,!1)}else n||(s.reading=!1,I(e,s));return!s.ended&&(s.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function x(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(M,e))}function M(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,B(e)}function I(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(C,e,t))}function C(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function T(e){u("readable nexttick read 0"),e.read(0)}function N(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),B(e),t.flowing&&!t.reading&&e.read(0)}function B(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function D(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function L(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(U,t,e))}function U(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function q(e,t){for(var r=0,n=e.length;r=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?L(this):x(this),null;if(0===(e=A(e,t))&&t.ended)return 0===t.length&&L(this),null;var n,o=t.needReadable;return u("need readable",o),(0===t.length||t.length-e0?D(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&L(this)),null!==n&&this.emit("data",n),n},E.prototype._read=function(e){k(this,new w("_read()"))},E.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,u("pipe count=%d opts=%j",o.pipesCount,t);var s=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?c:m;function a(t,n){u("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,u("cleanup"),e.removeListener("close",p),e.removeListener("finish",g),e.removeListener("drain",l),e.removeListener("error",h),e.removeListener("unpipe",a),r.removeListener("end",c),r.removeListener("end",m),r.removeListener("data",d),f=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function c(){u("onend"),e.end()}o.endEmitted?n.nextTick(s):r.once("end",s),e.on("unpipe",a);var l=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,B(e))}}(r);e.on("drain",l);var f=!1;function d(t){u("ondata");var n=e.write(t);u("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==q(o.pipes,e))&&!f&&(u("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function h(t){u("onerror",t),m(),e.removeListener("error",h),0===i(e,"error")&&k(e,t)}function p(){e.removeListener("finish",g),m()}function g(){u("onfinish"),e.removeListener("close",p),m()}function m(){u("unpipe"),r.unpipe(e)}return r.on("data",d),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",h),e.once("close",p),e.once("finish",g),e.emit("pipe",r),o.flowing||(u("pipe resume"),r.resume()),e},E.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,u("on readable",o.length,o.reading),o.length?x(this):o.reading||n.nextTick(T,this))),r},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(e,t){var r=s.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(R,this),r},E.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(R,this),t},E.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(N,e,t))}(this,e)),e.paused=!1,this},E.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",(function(){if(u("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){(u("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))})),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(e,t,r){r(new g("_write()"))},E.prototype._writev=null,E.prototype.end=function(e,t,r){var o=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),o.corked&&(o.corked=1,this.uncork()),o.ending||function(e,t,r){t.ending=!0,I(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,o,r),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),E.prototype.destroy=f.destroy,E.prototype._undestroy=f.undestroy,E.prototype._destroy=function(e,t){t(e)}}).call(this,r(12),r(13))},function(e,t,r){"use strict";e.exports=l;var n=r(78).codes,o=n.ERR_METHOD_NOT_IMPLEMENTED,i=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=n.ERR_TRANSFORM_WITH_LENGTH_0,c=r(79);function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new i);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var o=this._readableState;o.reading=!1,(o.needReadable||o.length>8,s=255&o;i?r.push(i,s):r.push(s)}return r},n.zero2=o,n.toHex=i,n.encode=function(e,t){return"hex"===t?i(e):e}},function(e,t,r){"use strict";var n=t;n.base=r(123),n.short=r(509),n.mont=r(510),n.edwards=r(511)},function(e,t,r){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function o(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function i(e,t,r){if(i.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var s;"object"==typeof e?e.exports=i:t.BN=i,i.BN=i,i.wordSize=26;try{s=r(520).Buffer}catch(e){}function a(e,t,r){for(var o=0,i=Math.min(e.length,r),s=0,a=t;a=49&&u<=54?u-49+10:u>=17&&u<=22?u-17+10:u,s|=c}return n(!(240&s),"Invalid character in "+e),o}function c(e,t,r,o){for(var i=0,s=0,a=Math.min(e.length,r),c=t;c=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&s0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var o=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&o++,16===t?this._parseHex(e,o):this._parseBase(e,t,o),"-"===e[0]&&(this.negative=1),this._strip(),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var o=0;o=0;o-=3)s=e[o]|e[o-1]<<8|e[o-2]<<16,this.words[i]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);else if("le"===r)for(o=0,i=0;o>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);return this._strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=6)o=a(e,r,r+6),this.words[n]|=o<>>26-i&4194303,(i+=24)>=26&&(i-=26,n++);r+6!==t&&(o=a(e,t,r+6),this.words[n]|=o<>>26-i&4194303),this._strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,o=1;o<=67108863;o*=t)n++;n--,o=o/t|0;for(var i=e.length-r,s=i%n,a=Math.min(i,i-s)+r,u=0,l=r;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch(e){i.prototype.inspect=l}else i.prototype.inspect=l;function l(){return(this.red?""}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var o=0,i=0,s=0;s>>24-o&16777215)||s!==this.length-1?f[6-c.length]+c+r:c+r,(o+=2)>=26&&(o-=26,s--)}for(0!==i&&(r=i.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],l=h[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modrn(l).toString(e);r=(p=p.idivn(l)).isZero()?g+r:f[u-g.length]+g+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16,2)},s&&(i.prototype.toBuffer=function(e,t){return this.toArrayLike(s,e,t)}),i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function p(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var o=0|e.words[0],i=0|t.words[0],s=o*i,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var u=1;u>>26,f=67108863&c,d=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=d;h++){var p=u-h|0;l+=(s=(o=0|e.words[p])*(i=0|t.words[h])+f)/67108864|0,f=67108863&s}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r._strip()}i.prototype.toArrayLike=function(e,t,r){this._strip();var o=this.byteLength(),i=r||Math.max(1,o);n(o<=i,"byte array longer than desired length"),n(i>0,"Requested array length <= 0");var s=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,i);return this["_toArrayLike"+("le"===t?"LE":"BE")](s,o),s},i.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,o=0,i=0;o>8&255),r>16&255),6===i?(r>24&255),n=0,i=0):(n=s>>>24,i+=2)}if(r=0&&(e[r--]=s>>8&255),r>=0&&(e[r--]=s>>16&255),6===i?(r>=0&&(e[r--]=s>>24&255),n=0,i=0):(n=s>>>24,i+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;re.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var o=0;o0&&(this.words[o]=~this.words[o]&67108863>>26-r),this._strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,o=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(r=this,n=e):(r=e,n=this);for(var o=0,i=0;i>>26;for(;0!==o&&i>>26;if(this.length=r.length,0!==o)this.words[this.length]=o,this.length++;else if(r!==this)for(;ie.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,o=this.cmp(e);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(r=this,n=e):(r=e,n=this);for(var i=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==i&&s>26,this.words[s]=67108863&t;if(0===i&&s>>13,h=0|s[1],p=8191&h,g=h>>>13,m=0|s[2],y=8191&m,b=m>>>13,v=0|s[3],w=8191&v,_=v>>>13,k=0|s[4],O=8191&k,S=k>>>13,E=0|s[5],j=8191&E,P=E>>>13,A=0|s[6],x=8191&A,M=A>>>13,I=0|s[7],C=8191&I,R=I>>>13,T=0|s[8],N=8191&T,B=T>>>13,D=0|s[9],L=8191&D,U=D>>>13,q=0|a[0],H=8191&q,z=q>>>13,K=0|a[1],F=8191&K,$=K>>>13,V=0|a[2],J=8191&V,G=V>>>13,W=0|a[3],Q=8191&W,Z=W>>>13,Y=0|a[4],X=8191&Y,ee=Y>>>13,te=0|a[5],re=8191&te,ne=te>>>13,oe=0|a[6],ie=8191&oe,se=oe>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,le=0|a[8],fe=8191&le,de=le>>>13,he=0|a[9],pe=8191&he,ge=he>>>13;r.negative=e.negative^t.negative,r.length=19;var me=(u+(n=Math.imul(f,H))|0)+((8191&(o=(o=Math.imul(f,z))+Math.imul(d,H)|0))<<13)|0;u=((i=Math.imul(d,z))+(o>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(p,H),o=(o=Math.imul(p,z))+Math.imul(g,H)|0,i=Math.imul(g,z);var ye=(u+(n=n+Math.imul(f,F)|0)|0)+((8191&(o=(o=o+Math.imul(f,$)|0)+Math.imul(d,F)|0))<<13)|0;u=((i=i+Math.imul(d,$)|0)+(o>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(y,H),o=(o=Math.imul(y,z))+Math.imul(b,H)|0,i=Math.imul(b,z),n=n+Math.imul(p,F)|0,o=(o=o+Math.imul(p,$)|0)+Math.imul(g,F)|0,i=i+Math.imul(g,$)|0;var be=(u+(n=n+Math.imul(f,J)|0)|0)+((8191&(o=(o=o+Math.imul(f,G)|0)+Math.imul(d,J)|0))<<13)|0;u=((i=i+Math.imul(d,G)|0)+(o>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(w,H),o=(o=Math.imul(w,z))+Math.imul(_,H)|0,i=Math.imul(_,z),n=n+Math.imul(y,F)|0,o=(o=o+Math.imul(y,$)|0)+Math.imul(b,F)|0,i=i+Math.imul(b,$)|0,n=n+Math.imul(p,J)|0,o=(o=o+Math.imul(p,G)|0)+Math.imul(g,J)|0,i=i+Math.imul(g,G)|0;var ve=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(o=(o=o+Math.imul(f,Z)|0)+Math.imul(d,Q)|0))<<13)|0;u=((i=i+Math.imul(d,Z)|0)+(o>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(O,H),o=(o=Math.imul(O,z))+Math.imul(S,H)|0,i=Math.imul(S,z),n=n+Math.imul(w,F)|0,o=(o=o+Math.imul(w,$)|0)+Math.imul(_,F)|0,i=i+Math.imul(_,$)|0,n=n+Math.imul(y,J)|0,o=(o=o+Math.imul(y,G)|0)+Math.imul(b,J)|0,i=i+Math.imul(b,G)|0,n=n+Math.imul(p,Q)|0,o=(o=o+Math.imul(p,Z)|0)+Math.imul(g,Q)|0,i=i+Math.imul(g,Z)|0;var we=(u+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,ee)|0)+Math.imul(d,X)|0))<<13)|0;u=((i=i+Math.imul(d,ee)|0)+(o>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(j,H),o=(o=Math.imul(j,z))+Math.imul(P,H)|0,i=Math.imul(P,z),n=n+Math.imul(O,F)|0,o=(o=o+Math.imul(O,$)|0)+Math.imul(S,F)|0,i=i+Math.imul(S,$)|0,n=n+Math.imul(w,J)|0,o=(o=o+Math.imul(w,G)|0)+Math.imul(_,J)|0,i=i+Math.imul(_,G)|0,n=n+Math.imul(y,Q)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(b,Q)|0,i=i+Math.imul(b,Z)|0,n=n+Math.imul(p,X)|0,o=(o=o+Math.imul(p,ee)|0)+Math.imul(g,X)|0,i=i+Math.imul(g,ee)|0;var _e=(u+(n=n+Math.imul(f,re)|0)|0)+((8191&(o=(o=o+Math.imul(f,ne)|0)+Math.imul(d,re)|0))<<13)|0;u=((i=i+Math.imul(d,ne)|0)+(o>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(x,H),o=(o=Math.imul(x,z))+Math.imul(M,H)|0,i=Math.imul(M,z),n=n+Math.imul(j,F)|0,o=(o=o+Math.imul(j,$)|0)+Math.imul(P,F)|0,i=i+Math.imul(P,$)|0,n=n+Math.imul(O,J)|0,o=(o=o+Math.imul(O,G)|0)+Math.imul(S,J)|0,i=i+Math.imul(S,G)|0,n=n+Math.imul(w,Q)|0,o=(o=o+Math.imul(w,Z)|0)+Math.imul(_,Q)|0,i=i+Math.imul(_,Z)|0,n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,ee)|0)+Math.imul(b,X)|0,i=i+Math.imul(b,ee)|0,n=n+Math.imul(p,re)|0,o=(o=o+Math.imul(p,ne)|0)+Math.imul(g,re)|0,i=i+Math.imul(g,ne)|0;var ke=(u+(n=n+Math.imul(f,ie)|0)|0)+((8191&(o=(o=o+Math.imul(f,se)|0)+Math.imul(d,ie)|0))<<13)|0;u=((i=i+Math.imul(d,se)|0)+(o>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(C,H),o=(o=Math.imul(C,z))+Math.imul(R,H)|0,i=Math.imul(R,z),n=n+Math.imul(x,F)|0,o=(o=o+Math.imul(x,$)|0)+Math.imul(M,F)|0,i=i+Math.imul(M,$)|0,n=n+Math.imul(j,J)|0,o=(o=o+Math.imul(j,G)|0)+Math.imul(P,J)|0,i=i+Math.imul(P,G)|0,n=n+Math.imul(O,Q)|0,o=(o=o+Math.imul(O,Z)|0)+Math.imul(S,Q)|0,i=i+Math.imul(S,Z)|0,n=n+Math.imul(w,X)|0,o=(o=o+Math.imul(w,ee)|0)+Math.imul(_,X)|0,i=i+Math.imul(_,ee)|0,n=n+Math.imul(y,re)|0,o=(o=o+Math.imul(y,ne)|0)+Math.imul(b,re)|0,i=i+Math.imul(b,ne)|0,n=n+Math.imul(p,ie)|0,o=(o=o+Math.imul(p,se)|0)+Math.imul(g,ie)|0,i=i+Math.imul(g,se)|0;var Oe=(u+(n=n+Math.imul(f,ce)|0)|0)+((8191&(o=(o=o+Math.imul(f,ue)|0)+Math.imul(d,ce)|0))<<13)|0;u=((i=i+Math.imul(d,ue)|0)+(o>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(N,H),o=(o=Math.imul(N,z))+Math.imul(B,H)|0,i=Math.imul(B,z),n=n+Math.imul(C,F)|0,o=(o=o+Math.imul(C,$)|0)+Math.imul(R,F)|0,i=i+Math.imul(R,$)|0,n=n+Math.imul(x,J)|0,o=(o=o+Math.imul(x,G)|0)+Math.imul(M,J)|0,i=i+Math.imul(M,G)|0,n=n+Math.imul(j,Q)|0,o=(o=o+Math.imul(j,Z)|0)+Math.imul(P,Q)|0,i=i+Math.imul(P,Z)|0,n=n+Math.imul(O,X)|0,o=(o=o+Math.imul(O,ee)|0)+Math.imul(S,X)|0,i=i+Math.imul(S,ee)|0,n=n+Math.imul(w,re)|0,o=(o=o+Math.imul(w,ne)|0)+Math.imul(_,re)|0,i=i+Math.imul(_,ne)|0,n=n+Math.imul(y,ie)|0,o=(o=o+Math.imul(y,se)|0)+Math.imul(b,ie)|0,i=i+Math.imul(b,se)|0,n=n+Math.imul(p,ce)|0,o=(o=o+Math.imul(p,ue)|0)+Math.imul(g,ce)|0,i=i+Math.imul(g,ue)|0;var Se=(u+(n=n+Math.imul(f,fe)|0)|0)+((8191&(o=(o=o+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;u=((i=i+Math.imul(d,de)|0)+(o>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(L,H),o=(o=Math.imul(L,z))+Math.imul(U,H)|0,i=Math.imul(U,z),n=n+Math.imul(N,F)|0,o=(o=o+Math.imul(N,$)|0)+Math.imul(B,F)|0,i=i+Math.imul(B,$)|0,n=n+Math.imul(C,J)|0,o=(o=o+Math.imul(C,G)|0)+Math.imul(R,J)|0,i=i+Math.imul(R,G)|0,n=n+Math.imul(x,Q)|0,o=(o=o+Math.imul(x,Z)|0)+Math.imul(M,Q)|0,i=i+Math.imul(M,Z)|0,n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,ee)|0)+Math.imul(P,X)|0,i=i+Math.imul(P,ee)|0,n=n+Math.imul(O,re)|0,o=(o=o+Math.imul(O,ne)|0)+Math.imul(S,re)|0,i=i+Math.imul(S,ne)|0,n=n+Math.imul(w,ie)|0,o=(o=o+Math.imul(w,se)|0)+Math.imul(_,ie)|0,i=i+Math.imul(_,se)|0,n=n+Math.imul(y,ce)|0,o=(o=o+Math.imul(y,ue)|0)+Math.imul(b,ce)|0,i=i+Math.imul(b,ue)|0,n=n+Math.imul(p,fe)|0,o=(o=o+Math.imul(p,de)|0)+Math.imul(g,fe)|0,i=i+Math.imul(g,de)|0;var Ee=(u+(n=n+Math.imul(f,pe)|0)|0)+((8191&(o=(o=o+Math.imul(f,ge)|0)+Math.imul(d,pe)|0))<<13)|0;u=((i=i+Math.imul(d,ge)|0)+(o>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(L,F),o=(o=Math.imul(L,$))+Math.imul(U,F)|0,i=Math.imul(U,$),n=n+Math.imul(N,J)|0,o=(o=o+Math.imul(N,G)|0)+Math.imul(B,J)|0,i=i+Math.imul(B,G)|0,n=n+Math.imul(C,Q)|0,o=(o=o+Math.imul(C,Z)|0)+Math.imul(R,Q)|0,i=i+Math.imul(R,Z)|0,n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,ee)|0)+Math.imul(M,X)|0,i=i+Math.imul(M,ee)|0,n=n+Math.imul(j,re)|0,o=(o=o+Math.imul(j,ne)|0)+Math.imul(P,re)|0,i=i+Math.imul(P,ne)|0,n=n+Math.imul(O,ie)|0,o=(o=o+Math.imul(O,se)|0)+Math.imul(S,ie)|0,i=i+Math.imul(S,se)|0,n=n+Math.imul(w,ce)|0,o=(o=o+Math.imul(w,ue)|0)+Math.imul(_,ce)|0,i=i+Math.imul(_,ue)|0,n=n+Math.imul(y,fe)|0,o=(o=o+Math.imul(y,de)|0)+Math.imul(b,fe)|0,i=i+Math.imul(b,de)|0;var je=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(o=(o=o+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;u=((i=i+Math.imul(g,ge)|0)+(o>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(L,J),o=(o=Math.imul(L,G))+Math.imul(U,J)|0,i=Math.imul(U,G),n=n+Math.imul(N,Q)|0,o=(o=o+Math.imul(N,Z)|0)+Math.imul(B,Q)|0,i=i+Math.imul(B,Z)|0,n=n+Math.imul(C,X)|0,o=(o=o+Math.imul(C,ee)|0)+Math.imul(R,X)|0,i=i+Math.imul(R,ee)|0,n=n+Math.imul(x,re)|0,o=(o=o+Math.imul(x,ne)|0)+Math.imul(M,re)|0,i=i+Math.imul(M,ne)|0,n=n+Math.imul(j,ie)|0,o=(o=o+Math.imul(j,se)|0)+Math.imul(P,ie)|0,i=i+Math.imul(P,se)|0,n=n+Math.imul(O,ce)|0,o=(o=o+Math.imul(O,ue)|0)+Math.imul(S,ce)|0,i=i+Math.imul(S,ue)|0,n=n+Math.imul(w,fe)|0,o=(o=o+Math.imul(w,de)|0)+Math.imul(_,fe)|0,i=i+Math.imul(_,de)|0;var Pe=(u+(n=n+Math.imul(y,pe)|0)|0)+((8191&(o=(o=o+Math.imul(y,ge)|0)+Math.imul(b,pe)|0))<<13)|0;u=((i=i+Math.imul(b,ge)|0)+(o>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(L,Q),o=(o=Math.imul(L,Z))+Math.imul(U,Q)|0,i=Math.imul(U,Z),n=n+Math.imul(N,X)|0,o=(o=o+Math.imul(N,ee)|0)+Math.imul(B,X)|0,i=i+Math.imul(B,ee)|0,n=n+Math.imul(C,re)|0,o=(o=o+Math.imul(C,ne)|0)+Math.imul(R,re)|0,i=i+Math.imul(R,ne)|0,n=n+Math.imul(x,ie)|0,o=(o=o+Math.imul(x,se)|0)+Math.imul(M,ie)|0,i=i+Math.imul(M,se)|0,n=n+Math.imul(j,ce)|0,o=(o=o+Math.imul(j,ue)|0)+Math.imul(P,ce)|0,i=i+Math.imul(P,ue)|0,n=n+Math.imul(O,fe)|0,o=(o=o+Math.imul(O,de)|0)+Math.imul(S,fe)|0,i=i+Math.imul(S,de)|0;var Ae=(u+(n=n+Math.imul(w,pe)|0)|0)+((8191&(o=(o=o+Math.imul(w,ge)|0)+Math.imul(_,pe)|0))<<13)|0;u=((i=i+Math.imul(_,ge)|0)+(o>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(L,X),o=(o=Math.imul(L,ee))+Math.imul(U,X)|0,i=Math.imul(U,ee),n=n+Math.imul(N,re)|0,o=(o=o+Math.imul(N,ne)|0)+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,n=n+Math.imul(C,ie)|0,o=(o=o+Math.imul(C,se)|0)+Math.imul(R,ie)|0,i=i+Math.imul(R,se)|0,n=n+Math.imul(x,ce)|0,o=(o=o+Math.imul(x,ue)|0)+Math.imul(M,ce)|0,i=i+Math.imul(M,ue)|0,n=n+Math.imul(j,fe)|0,o=(o=o+Math.imul(j,de)|0)+Math.imul(P,fe)|0,i=i+Math.imul(P,de)|0;var xe=(u+(n=n+Math.imul(O,pe)|0)|0)+((8191&(o=(o=o+Math.imul(O,ge)|0)+Math.imul(S,pe)|0))<<13)|0;u=((i=i+Math.imul(S,ge)|0)+(o>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(L,re),o=(o=Math.imul(L,ne))+Math.imul(U,re)|0,i=Math.imul(U,ne),n=n+Math.imul(N,ie)|0,o=(o=o+Math.imul(N,se)|0)+Math.imul(B,ie)|0,i=i+Math.imul(B,se)|0,n=n+Math.imul(C,ce)|0,o=(o=o+Math.imul(C,ue)|0)+Math.imul(R,ce)|0,i=i+Math.imul(R,ue)|0,n=n+Math.imul(x,fe)|0,o=(o=o+Math.imul(x,de)|0)+Math.imul(M,fe)|0,i=i+Math.imul(M,de)|0;var Me=(u+(n=n+Math.imul(j,pe)|0)|0)+((8191&(o=(o=o+Math.imul(j,ge)|0)+Math.imul(P,pe)|0))<<13)|0;u=((i=i+Math.imul(P,ge)|0)+(o>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(L,ie),o=(o=Math.imul(L,se))+Math.imul(U,ie)|0,i=Math.imul(U,se),n=n+Math.imul(N,ce)|0,o=(o=o+Math.imul(N,ue)|0)+Math.imul(B,ce)|0,i=i+Math.imul(B,ue)|0,n=n+Math.imul(C,fe)|0,o=(o=o+Math.imul(C,de)|0)+Math.imul(R,fe)|0,i=i+Math.imul(R,de)|0;var Ie=(u+(n=n+Math.imul(x,pe)|0)|0)+((8191&(o=(o=o+Math.imul(x,ge)|0)+Math.imul(M,pe)|0))<<13)|0;u=((i=i+Math.imul(M,ge)|0)+(o>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(L,ce),o=(o=Math.imul(L,ue))+Math.imul(U,ce)|0,i=Math.imul(U,ue),n=n+Math.imul(N,fe)|0,o=(o=o+Math.imul(N,de)|0)+Math.imul(B,fe)|0,i=i+Math.imul(B,de)|0;var Ce=(u+(n=n+Math.imul(C,pe)|0)|0)+((8191&(o=(o=o+Math.imul(C,ge)|0)+Math.imul(R,pe)|0))<<13)|0;u=((i=i+Math.imul(R,ge)|0)+(o>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(L,fe),o=(o=Math.imul(L,de))+Math.imul(U,fe)|0,i=Math.imul(U,de);var Re=(u+(n=n+Math.imul(N,pe)|0)|0)+((8191&(o=(o=o+Math.imul(N,ge)|0)+Math.imul(B,pe)|0))<<13)|0;u=((i=i+Math.imul(B,ge)|0)+(o>>>13)|0)+(Re>>>26)|0,Re&=67108863;var Te=(u+(n=Math.imul(L,pe))|0)+((8191&(o=(o=Math.imul(L,ge))+Math.imul(U,pe)|0))<<13)|0;return u=((i=Math.imul(U,ge))+(o>>>13)|0)+(Te>>>26)|0,Te&=67108863,c[0]=me,c[1]=ye,c[2]=be,c[3]=ve,c[4]=we,c[5]=_e,c[6]=ke,c[7]=Oe,c[8]=Se,c[9]=Ee,c[10]=je,c[11]=Pe,c[12]=Ae,c[13]=xe,c[14]=Me,c[15]=Ie,c[16]=Ce,c[17]=Re,c[18]=Te,0!==u&&(c[19]=u,r.length++),r};function m(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,o=0,i=0;i>>26)|0)>>>26,s&=67108863}r.words[i]=a,n=s,s=o}return 0!==n?r.words[i]=n:r.length--,r._strip()}function y(e,t,r){return m(e,t,r)}function b(e,t){this.x=e,this.y=t}Math.imul||(g=p),i.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):r<63?p(this,e,t):r<1024?m(this,e,t):y(this,e,t)},b.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n>=1;return n},b.prototype.permute=function(e,t,r,n,o,i){for(var s=0;s>>=1)o++;return 1<>>=13,r[2*s+1]=8191&i,i>>>=13;for(s=2*t;s>=26,r+=i/67108864|0,r+=s>>>26,this.words[o]=67108863&s}return 0!==r&&(this.words[o]=r,this.length++),t?this.ineg():this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r>>o&1}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n=0);var t,r=e%26,o=(e-r)/26,i=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(t=0;t>>26-r}s&&(this.words[t]=s,this.length++)}if(0!==o){for(t=this.length-1;t>=0;t--)this.words[t+o]=this.words[t];for(t=0;t=0),o=t?(t-t%26)/26:0;var i=e%26,s=Math.min((e-i)/26,this.length),a=67108863^67108863>>>i<s)for(this.length-=s,u=0;u=0&&(0!==l||u>=o);u--){var f=0|this.words[u];this.words[u]=l<<26-i|f>>>i,l=f&a}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,o=1<=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var o=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[o+r]=67108863&i}for(;o>26,this.words[o+r]=67108863&i;if(0===a)return this._strip();for(n(-1===a),a=0,o=0;o>26,this.words[o]=67108863&i;return this.negative=1,this._strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),o=e,s=0|o.words[o.length-1];0!==(r=26-this._countBits(s))&&(o=o.ushln(r),n.iushln(r),s=0|o.words[o.length-1]);var a,c=n.length-o.length;if("mod"!==t){(a=new i(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u=0;f--){var d=67108864*(0|n.words[o.length+f])+(0|n.words[o.length+f-1]);for(d=Math.min(d/s|0,67108863),n._ishlnsubmul(o,d,f);0!==n.negative;)d--,n.negative=0,n._ishlnsubmul(o,1,f),n.isZero()||(n.negative^=1);a&&(a.words[f]=d)}return a&&a._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.iadd(e)),{div:o,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modrn(e.words[0]))}:this._wordDiv(e,t);var o,s,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),o=e.andln(1),i=r.cmp(n);return i<0||1===o&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,o=0,i=this.length-1;i>=0;i--)o=(r*o+(0|this.words[i]))%e;return t?-o:o},i.prototype.modn=function(e){return this.modrn(e)},i.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,o=this.length-1;o>=0;o--){var i=(0|this.words[o])+67108864*r;this.words[o]=i/e|0,r=i%e}return this._strip(),t?this.ineg():this},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),s=new i(0),a=new i(0),c=new i(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0==(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(l),s.isub(f)),o.iushrn(1),s.iushrn(1);for(var p=0,g=1;0==(r.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(l),c.isub(f)),a.iushrn(1),c.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a),s.isub(c)):(r.isub(t),a.isub(o),c.isub(s))}return{a:a,b:c,gcd:r.iushln(u)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o,s=new i(1),a=new i(0),c=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var f=0,d=1;0==(r.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(r.iushrn(f);f-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),s.isub(a)):(r.isub(t),a.isub(s))}return(o=0===t.cmpn(1)?s:a).cmpn(0)<0&&o.iadd(e),o},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var o=t.cmp(r);if(o<0){var i=t;t=r,r=i}else if(0===o||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,o=1<>>26,a&=67108863,this.words[s]=a}return 0!==i&&(this.words[s]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var o=0|this.words[0];t=o===e?0:oe.length)return 1;if(this.length=0;r--){var n=0|this.words[r],o=0|e.words[r];if(n!==o){no&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new E(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function O(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function j(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},o(_,w),_.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n>>22,o=i}o>>>=22,e.words[n-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r>>=26,e.words[r]=o,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(v[e])return v[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new k;else if("p192"===e)t=new O;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new S}return v[e]=t,t},E.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);n(!o.isZero());var a=new i(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,o),d=this.pow(e,o.addn(1).iushrn(1)),h=this.pow(e,o),p=s;0!==h.cmp(a);){for(var g=h,m=0;0!==g.cmp(a);m++)g=g.redSqr();n(m=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var f=u>>l&1;o!==r[0]&&(o=this.sqr(o)),0!==f||0!==s?(s<<=1,s|=f,(4===++a||0===n&&0===l)&&(o=this.mul(o,r[s]),a=0,s=0)):a=0}c=26}return o},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new j(e)},o(j,E),j.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},j.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},j.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),i=o;return o.cmp(this.m)>=0?i=o.isub(this.m):o.cmpn(0)<0&&(i=o.iadd(this.m)),i._forceRed(this)},j.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},j.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(71)(e))},function(e,t,r){"use strict";const n=t;n.bignum=r(6),n.define=r(522).define,n.base=r(525),n.constants=r(526),n.decoders=r(286),n.encoders=r(284)},function(e,t,r){"use strict";const n=t;n.der=r(285),n.pem=r(523)},function(e,t,r){"use strict";const n=r(4),o=r(165).Buffer,i=r(166),s=r(168);function a(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){i.call(this,"der",e)}function u(e){return e<10?"0"+e:e}e.exports=a,a.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},n(c,i),c.prototype._encodeComposite=function(e,t,r,n){const i=function(e,t,r,n){let o;"seqof"===e?e="seq":"setof"===e&&(e="set");if(s.tagByName.hasOwnProperty(e))o=s.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);o=e}if(o>=31)return n.error("Multi-octet tag encoding unsupported");t||(o|=32);return o|=s.tagClassByName[r||"universal"]<<6,o}(e,t,r,this.reporter);if(n.length<128){const e=o.alloc(2);return e[0]=i,e[1]=n.length,this._createEncoderBuffer([e,n])}let a=1;for(let e=n.length;e>=256;e>>=8)a++;const c=o.alloc(2+a);c[0]=i,c[1]=128|a;for(let e=1+a,t=n.length;t>0;e--,t>>=8)c[e]=255&t;return this._createEncoderBuffer([c,n])},c.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){const t=o.alloc(2*e.length);for(let r=0;r=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}let n=0;for(let t=0;t=128;r>>=7)n++}const i=o.alloc(n);let s=i.length-1;for(let t=e.length-1;t>=0;t--){let r=e[t];for(i[s--]=127&r;(r>>=7)>0;)i[s--]=128|127&r}return this._createEncoderBuffer(i)},c.prototype._encodeTime=function(e,t){let r;const n=new Date(e);return"gentime"===t?r=[u(n.getUTCFullYear()),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[u(n.getUTCFullYear()%100),u(n.getUTCMonth()+1),u(n.getUTCDate()),u(n.getUTCHours()),u(n.getUTCMinutes()),u(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!o.isBuffer(e)){const t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=o.from(t)}if(o.isBuffer(e)){let t=e.length;0===e.length&&t++;const r=o.alloc(t);return e.copy(r),0===e.length&&(r[0]=0),this._createEncoderBuffer(r)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let r=1;for(let t=e;t>=256;t>>=8)r++;const n=new Array(r);for(let t=n.length-1;t>=0;t--)n[t]=255&e,e>>=8;return 128&n[0]&&n.unshift(0),this._createEncoderBuffer(o.from(n))},c.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},c.prototype._skipDefault=function(e,t,r){const n=this._baseState;let o;if(null===n.default)return!1;const i=e.join();if(void 0===n.defaultBuffer&&(n.defaultBuffer=this._encodeValue(n.default,t,r).join()),i.length!==n.defaultBuffer.length)return!1;for(o=0;o>6],o=0==(32&r);if(31==(31&r)){let n=r;for(r=0;128==(128&n);){if(n=e.readUInt8(t),e.isError(n))return n;r<<=7,r|=127&n}}else r&=31;return{cls:n,primitive:o,tag:r,tagStr:a.tag[r]}}function f(e,t,r){let n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0==(128&n))return n;const o=127&n;if(o>4)return e.error("length octect is too long");n=0;for(let t=0;t>>16&65535|0,s=0;0!==r;){r-=s=r>2e3?2e3:r;do{i=i+(o=o+t[n++]|0)|0}while(--s);o%=65521,i%=65521}return o|i<<16|0}},function(e,t,r){"use strict";var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();e.exports=function(e,t,r,o){var i=n,s=o+r;e^=-1;for(var a=o;a>>8^i[255&(e^t[a])];return-1^e}},function(e,t,r){"use strict";var n=r(57),o=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(e){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){i=!1}for(var s=new n.Buf8(256),a=0;a<256;a++)s[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;function c(e,t){if(t<65534&&(e.subarray&&i||!e.subarray&&o))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",s=0;s>>6,t[s++]=128|63&r):r<65536?(t[s++]=224|r>>>12,t[s++]=128|r>>>6&63,t[s++]=128|63&r):(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63,t[s++]=128|r>>>6&63,t[s++]=128|63&r);return t},t.buf2binstring=function(e){return c(e,e.length)},t.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,o=t.length;r4)u[n++]=65533,r+=i-1;else{for(o&=2===i?31:3===i?15:7;i>1&&r1?u[n++]=65533:o<65536?u[n++]=o:(o-=65536,u[n++]=55296|o>>10&1023,u[n++]=56320|1023&o)}return c(u,n)},t.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}},function(e,t,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(e,t,r){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={};let o;t.wordlists=n,t._default=o;try{t._default=o=r(548),n.czech=o}catch(e){}try{t._default=o=r(549),n.chinese_simplified=o}catch(e){}try{t._default=o=r(550),n.chinese_traditional=o}catch(e){}try{t._default=o=r(551),n.korean=o}catch(e){}try{t._default=o=r(552),n.french=o}catch(e){}try{t._default=o=r(553),n.italian=o}catch(e){}try{t._default=o=r(554),n.spanish=o}catch(e){}try{t._default=o=r(555),n.japanese=o,n.JA=o}catch(e){}try{t._default=o=r(556),n.english=o,n.EN=o}catch(e){}},function(e,t,r){"use strict";var n=r(54),o=r(560);e.exports=o((function(e){var t=n("sha256").update(e).digest();return n("sha256").update(t).digest()}))},function(e,t,r){var n=r(170);function o(e){return e.name||e.toString().match(/function (.*?)\s*\(/)[1]}function i(e){return n.Nil(e)?"":o(e.constructor)}function s(e,t){Error.captureStackTrace&&Error.captureStackTrace(e,t)}function a(e){return n.Function(e)?e.toJSON?e.toJSON():o(e):n.Array(e)?"Array":e&&n.Object(e)?"Object":void 0!==e?e:""}function c(e,t,r){var o=function(e){return n.Function(e)?"":n.String(e)?JSON.stringify(e):e&&n.Object(e)?"":e}(t);return"Expected "+a(e)+", got"+(""!==r?" "+r:"")+(""!==o?" "+o:"")}function u(e,t,r){r=r||i(t),this.message=c(e,t,r),s(this,u),this.__type=e,this.__value=t,this.__valueTypeName=r}function l(e,t,r,n,o){e?(o=o||i(n),this.message=function(e,t,r,n,o){var i='" of type ';return"key"===t&&(i='" with key type '),c('property "'+a(r)+i+a(e),n,o)}(e,r,t,n,o)):this.message='Unexpected property "'+t+'"',s(this,u),this.__label=r,this.__property=t,this.__type=e,this.__value=n,this.__valueTypeName=o}u.prototype=Object.create(Error.prototype),u.prototype.constructor=u,l.prototype=Object.create(Error.prototype),l.prototype.constructor=u,e.exports={TfTypeError:u,TfPropertyTypeError:l,tfCustomError:function(e,t){return new u(e,{},t)},tfSubError:function(e,t,r){return e instanceof l?(t=t+"."+e.__property,e=new l(e.__type,t,e.__label,e.__value,e.__valueTypeName)):e instanceof u&&(e=new l(e.__type,t,r,e.__value,e.__valueTypeName)),s(e),e},tfJSON:a,getValueTypeName:i}},function(e,t,r){var n;e.exports=(n=r(9),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,s=t.algo,a=[],c=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,o=0;o<64;)t(n)&&(o<8&&(a[o]=r(e.pow(n,.5))),c[o]=r(e.pow(n,1/3)),o++),n++}();var u=[],l=s.SHA256=i.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],s=r[3],a=r[4],l=r[5],f=r[6],d=r[7],h=0;h<64;h++){if(h<16)u[h]=0|e[t+h];else{var p=u[h-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,m=u[h-2],y=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;u[h]=g+u[h-7]+y+u[h-16]}var b=n&o^n&i^o&i,v=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),w=d+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&l^~a&f)+c[h]+u[h];d=f,f=l,l=a,a=s+w|0,s=i,i=o,o=n,n=w+(v+b)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0,r[5]=r[5]+l|0,r[6]=r[6]+f|0,r[7]=r[7]+d|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=e.floor(n/4294967296),r[15+(o+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(l),t.HmacSHA256=i._createHmacHelper(l)}(Math),n.SHA256)},function(e,t,r){var n;e.exports=(n=r(9),r(125),function(){var e=n,t=e.lib.Hasher,r=e.x64,o=r.Word,i=r.WordArray,s=e.algo;function a(){return o.create.apply(o,arguments)}var c=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],u=[];!function(){for(var e=0;e<80;e++)u[e]=a()}();var l=s.SHA512=t.extend({_doReset:function(){this._hash=new i.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],s=r[3],a=r[4],l=r[5],f=r[6],d=r[7],h=n.high,p=n.low,g=o.high,m=o.low,y=i.high,b=i.low,v=s.high,w=s.low,_=a.high,k=a.low,O=l.high,S=l.low,E=f.high,j=f.low,P=d.high,A=d.low,x=h,M=p,I=g,C=m,R=y,T=b,N=v,B=w,D=_,L=k,U=O,q=S,H=E,z=j,K=P,F=A,$=0;$<80;$++){var V,J,G=u[$];if($<16)J=G.high=0|e[t+2*$],V=G.low=0|e[t+2*$+1];else{var W=u[$-15],Q=W.high,Z=W.low,Y=(Q>>>1|Z<<31)^(Q>>>8|Z<<24)^Q>>>7,X=(Z>>>1|Q<<31)^(Z>>>8|Q<<24)^(Z>>>7|Q<<25),ee=u[$-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,oe=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),ie=u[$-7],se=ie.high,ae=ie.low,ce=u[$-16],ue=ce.high,le=ce.low;J=(J=(J=Y+se+((V=X+ae)>>>0>>0?1:0))+ne+((V+=oe)>>>0>>0?1:0))+ue+((V+=le)>>>0>>0?1:0),G.high=J,G.low=V}var fe,de=D&U^~D&H,he=L&q^~L&z,pe=x&I^x&R^I&R,ge=M&C^M&T^C&T,me=(x>>>28|M<<4)^(x<<30|M>>>2)^(x<<25|M>>>7),ye=(M>>>28|x<<4)^(M<<30|x>>>2)^(M<<25|x>>>7),be=(D>>>14|L<<18)^(D>>>18|L<<14)^(D<<23|L>>>9),ve=(L>>>14|D<<18)^(L>>>18|D<<14)^(L<<23|D>>>9),we=c[$],_e=we.high,ke=we.low,Oe=K+be+((fe=F+ve)>>>0>>0?1:0),Se=ye+ge;K=H,F=z,H=U,z=q,U=D,q=L,D=N+(Oe=(Oe=(Oe=Oe+de+((fe+=he)>>>0>>0?1:0))+_e+((fe+=ke)>>>0>>0?1:0))+J+((fe+=V)>>>0>>0?1:0))+((L=B+fe|0)>>>0>>0?1:0)|0,N=R,B=T,R=I,T=C,I=x,C=M,x=Oe+(me+pe+(Se>>>0>>0?1:0))+((M=fe+Se|0)>>>0>>0?1:0)|0}p=n.low=p+M,n.high=h+x+(p>>>0>>0?1:0),m=o.low=m+C,o.high=g+I+(m>>>0>>0?1:0),b=i.low=b+T,i.high=y+R+(b>>>0>>0?1:0),w=s.low=w+B,s.high=v+N+(w>>>0>>0?1:0),k=a.low=k+L,a.high=_+D+(k>>>0>>0?1:0),S=l.low=S+q,l.high=O+U+(S>>>0>>0?1:0),j=f.low=j+z,f.high=E+H+(j>>>0>>0?1:0),A=d.low=A+F,d.high=P+K+(A>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(l),e.HmacSHA512=t._createHmacHelper(l)}(),n.SHA512)},function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(i)})),e.exports=c}).call(this,r(13))},function(e,t,r){"use strict";var n=r(28),o=r(599),i=r(601),s=r(303),a=r(602),c=r(605),u=r(606),l=r(307);e.exports=function(e){return new Promise((function(t,r){var f=e.data,d=e.headers;n.isFormData(f)&&delete d["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var p=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(p+":"+g)}var m=a(e.baseURL,e.url);if(h.open(e.method.toUpperCase(),s(m,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,i={data:e.responseType&&"text"!==e.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};o(t,r,i),h=null}},h.onabort=function(){h&&(r(l("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){r(l("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(l(t,e,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var y=(e.withCredentials||u(m))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;y&&(d[e.xsrfHeaderName]=y)}if("setRequestHeader"in h&&n.forEach(d,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete d[t]:h.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),e.responseType)try{h.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),r(e),h=null)})),f||(f=null),h.send(f)}))}},function(e,t,r){"use strict";var n=r(600);e.exports=function(e,t,r,o,i){var s=new Error(e);return n(s,t,r,o,i)}},function(e,t,r){"use strict";var n=r(28);e.exports=function(e,t){t=t||{};var r={},o=["url","method","data"],i=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function c(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function u(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(r[o]=c(void 0,e[o])):r[o]=c(e[o],t[o])}n.forEach(o,(function(e){n.isUndefined(t[e])||(r[e]=c(void 0,t[e]))})),n.forEach(i,u),n.forEach(s,(function(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(r[o]=c(void 0,e[o])):r[o]=c(void 0,t[o])})),n.forEach(a,(function(n){n in t?r[n]=c(e[n],t[n]):n in e&&(r[n]=c(void 0,e[n]))}));var l=o.concat(i).concat(s).concat(a),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===l.indexOf(e)}));return n.forEach(f,u),r}},function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAttribute=t.parseLogs=t.parseLog=t.parseEvent=t.parseAttribute=void 0;const n=r(100);function o(e){if(!n.isNonNullObject(e))throw new Error("Attribute must be a non-null object");const{key:t,value:r}=e;if("string"!=typeof t||!t)throw new Error("Attribute's key must be a non-empty string");if("string"!=typeof r&&void 0!==r)throw new Error("Attribute's value must be a string or unset");return{key:t,value:r||""}}function i(e){if(!n.isNonNullObject(e))throw new Error("Event must be a non-null object");const{type:t,attributes:r}=e;if("string"!=typeof t||""===t)throw new Error("Event type must be a non-empty string");if(!Array.isArray(r))throw new Error("Event's attributes must be an array");return{type:t,attributes:r.map(o)}}function s(e){if(!n.isNonNullObject(e))throw new Error("Log must be a non-null object");const{msg_index:t,log:r,events:o}=e;if("number"!=typeof t)throw new Error("Log's msg_index must be a number");if("string"!=typeof r)throw new Error("Log's log must be a string");if(!Array.isArray(o))throw new Error("Log's events must be an array");return{msg_index:t,log:r,events:o.map(i)}}t.parseAttribute=o,t.parseEvent=i,t.parseLog=s,t.parseLogs=function(e){if(!Array.isArray(e))throw new Error("Logs must be an array");return e.map(s)},t.findAttribute=function(e,t,r){var n;const o=e.find(()=>!0),i=null===(n=null==o?void 0:o.events.find(e=>e.type===t))||void 0===n?void 0:n.attributes.find(e=>e.key===r);if(!i)throw new Error(`Could not find attribute '${r}' in first event of type '${t}' in first log.`);return i}},function(e,t,r){!function(t){"use strict";for(var r=[null,0,{}],n=function(e,t){this.codepoint=e,this.feature=t},o={},i=[],s=0;s<=255;++s)i[s]=0;var a=[function(e,t,o){return t<60||13311>8&255]>10&&(o[t]=n),n},function(e,t,r){return r?e(t,r):new n(t,null)},function(e,t,r){var o;if(t<4352||4371<=t&&t<44032||55204=55296&&e<=56319},n.isLowSurrogate=function(e){return e>=56320&&e<=57343},n.prototype.prepFeature=function(){this.feature||(this.feature=n.fromCharCode(this.codepoint,!0).feature)},n.prototype.toString=function(){if(this.codepoint<65536)return String.fromCharCode(this.codepoint);var e=this.codepoint-65536;return String.fromCharCode(Math.floor(e/1024)+55296,e%1024+56320)},n.prototype.getDecomp=function(){return this.prepFeature(),this.feature[0]||null},n.prototype.isCompatibility=function(){return this.prepFeature(),!!this.feature[1]&&256&this.feature[1]},n.prototype.isExclude=function(){return this.prepFeature(),!!this.feature[1]&&512&this.feature[1]},n.prototype.getCanonicalClass=function(){return this.prepFeature(),this.feature[1]?255&this.feature[1]:0},n.prototype.getComposite=function(e){if(this.prepFeature(),!this.feature[2])return null;var t=this.feature[2][e.codepoint];return t?n.fromCharCode(t):null};var c=function(e){this.str=e,this.cursor=0};c.prototype.next=function(){if(this.str&&this.cursor0;--r){if(this.resBuf[r-1].getCanonicalClass()<=e)break}this.resBuf.splice(r,0,t)}while(0!==e);return this.resBuf.shift()};var f=function(e){this.it=e,this.procBuf=[],this.resBuf=[],this.lastClass=null};f.prototype.next=function(){for(;0===this.resBuf.length;){var e=this.it.next();if(!e){this.resBuf=this.procBuf,this.procBuf=[];break}if(0===this.procBuf.length)this.lastClass=e.getCanonicalClass(),this.procBuf.push(e);else{var t=this.procBuf[0].getComposite(e),r=e.getCanonicalClass();t&&(this.lastClass(new e).update(t).digest();let n=t;if(n.length>r&&(n=this.hash(n)),n.length92^e),this.iKeyPad=n.map(e=>54^e),this.messageHasher=new e,this.blockSize=r,this.update(this.iKeyPad)}update(e){return this.messageHasher.update(e),this}digest(){const e=this.messageHasher.digest();return this.hash(new Uint8Array([...this.oKeyPad,...e]))}}},function(e,t,r){"use strict";r.r(t),t.default={}},function(e,t,r){"use strict";function n(e){let t=0;for(const r of e){if(0!==r)break;t++}return e.slice(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedSecp256k1Signature=t.Secp256k1Signature=void 0;class o{constructor(e,t){if(e.length>32||0===e.length||0===e[0])throw new Error("Unsigned integer r must be encoded as unpadded big endian.");if(t.length>32||0===t.length||0===t[0])throw new Error("Unsigned integer s must be encoded as unpadded big endian.");this.data={r:e,s:t}}static fromFixedLength(e){if(64!==e.length)throw new Error(`Got invalid data length: ${e.length}. Expected 2x 32 bytes for the pair (r, s)`);return new o(n(e.slice(0,32)),n(e.slice(32,64)))}static fromDer(e){let t=0;if(48!==e[t++])throw new Error("Prefix 0x30 expected");const r=e[t++];if(e.length-t!==r)throw new Error("Data length mismatch detected");if(2!==e[t++])throw new Error("INTEGER tag expected");const i=e[t++];if(i>=128)throw new Error("Decoding length values above 127 not supported");const s=e.slice(t,t+i);t+=i;if(2!==e[t++])throw new Error("INTEGER tag expected");const a=e[t++];if(a>=128)throw new Error("Decoding length values above 127 not supported");const c=e.slice(t,t+a);return t+=a,new o(n(s),n(c))}r(e){if(void 0===e)return this.data.r;{const t=e-this.data.r.length;if(t<0)throw new Error("Length too small to hold parameter r");const r=new Uint8Array(t);return new Uint8Array([...r,...this.data.r])}}s(e){if(void 0===e)return this.data.s;{const t=e-this.data.s.length;if(t<0)throw new Error("Length too small to hold parameter s");const r=new Uint8Array(t);return new Uint8Array([...r,...this.data.s])}}toFixedLength(){return new Uint8Array([...this.r(32),...this.s(32)])}toDer(){const e=this.data.r[0]>=128?new Uint8Array([0,...this.data.r]):this.data.r,t=this.data.s[0]>=128?new Uint8Array([0,...this.data.s]):this.data.s,r=e.length,n=t.length,o=new Uint8Array([2,r,...e,2,n,...t]);return new Uint8Array([48,o.length,...o])}}t.Secp256k1Signature=o;class i extends o{constructor(e,t,r){if(super(e,t),!Number.isInteger(r))throw new Error("The recovery parameter must be an integer.");if(r<0||r>4)throw new Error("The recovery parameter must be one of 0, 1, 2, 3.");this.recovery=r}static fromFixedLength(e){if(65!==e.length)throw new Error(`Got invalid data length ${e.length}. Expected 32 + 32 + 1`);return new i(n(e.slice(0,32)),n(e.slice(32,64)),e[64])}toFixedLength(){return new Uint8Array([...this.r(32),...this.s(32),this.recovery])}}t.ExtendedSecp256k1Signature=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sha512=t.Sha512=t.sha256=t.Sha256=t.sha1=t.Sha1=void 0;const o=n(r(76));class i{constructor(e){this.blockSize=64,this.impl=o.default("sha1"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}t.Sha1=i,t.sha1=function(e){return new i(e).digest()};class s{constructor(e){this.blockSize=64,this.impl=o.default("sha256"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}t.Sha256=s,t.sha256=function(e){return new s(e).digest()};class a{constructor(e){this.blockSize=128,this.impl=o.default("sha512"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}t.Sha512=a,t.sha512=function(e){return new a(e).digest()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseCoins=t.coins=t.coin=void 0;const n=r(82);function o(e,t){return{amount:new n.Uint53(e).toString(),denom:t}}t.coin=o,t.coins=function(e,t){return[o(e,t)]},t.parseCoins=function(e){return e.replace(/\s/g,"").split(",").filter(Boolean).map(e=>{const t=e.match(/^([0-9]+)([a-zA-Z]+)/);if(!t)throw new Error("Got an invalid coin string");return{amount:n.Uint64.fromString(t[1]).toString(),denom:t[2]}})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CosmosClient=t.isSearchByTagsQuery=t.isSearchBySentFromOrToQuery=t.isSearchByHeightQuery=t.assertIsBroadcastTxSuccess=t.isBroadcastTxSuccess=t.isBroadcastTxFailure=void 0;const n=r(50),o=r(39),i=r(82),s=r(174),a=r(310);function c(e){return!!e.code}function u(e){return void 0!==e.height}function l(e){return void 0!==e.sentFromOrTo}function f(e){return void 0!==e.tags}t.isBroadcastTxFailure=c,t.isBroadcastTxSuccess=function(e){return!c(e)},t.assertIsBroadcastTxSuccess=function(e){if(c(e))throw new Error(`Error when broadcasting tx ${e.transactionHash} at height ${e.height}. Code: ${e.code}; Raw log: ${e.rawLog}`)},t.isSearchByHeightQuery=u,t.isSearchBySentFromOrToQuery=l,t.isSearchByTagsQuery=f;t.CosmosClient=class{constructor(e,t=s.BroadcastMode.Block){this.lcdClient=s.LcdClient.withExtensions({apiUrl:e,broadcastMode:t},s.setupAuthExtension)}async getChainId(){if(!this.chainId){const e=(await this.lcdClient.nodeInfo()).node_info.network;if(!e)throw new Error("Chain ID must not be empty");this.chainId=e}return this.chainId}async getHeight(){if(this.anyValidAddress){const{height:e}=await this.lcdClient.auth.account(this.anyValidAddress);return parseInt(e,10)}{const e=await this.lcdClient.blocksLatest();return parseInt(e.block.header.height,10)}}async getIdentifier(e){const t=await this.lcdClient.encodeTx(e),r=n.sha256(o.fromBase64(t.tx));return o.toHex(r).toUpperCase()}async getSequence(e){const t=await this.getAccount(e);if(!t)throw new Error("Account does not exist on chain. Send some tokens there before trying to query sequence.");return{accountNumber:t.accountNumber,sequence:t.sequence}}async getAccount(e){const t=(await this.lcdClient.auth.account(e)).result.value;return""===t.address?void 0:(this.anyValidAddress=t.address,{address:t.address,balance:t.coins,pubkey:s.normalizePubkey(t.public_key)||void 0,accountNumber:s.uint64ToNumber(t.account_number),sequence:s.uint64ToNumber(t.sequence)})}async getBlock(e){const t=void 0!==e?await this.lcdClient.blocks(e):await this.lcdClient.blocksLatest();return{id:t.block_id.hash,header:{version:t.block.header.version,time:t.block.header.time,height:parseInt(t.block.header.height,10),chainId:t.block.header.chain_id},txs:(t.block.data.txs||[]).map(o.fromBase64)}}async getTx(e){var t;return null!==(t=(await this.txsQuery("tx.hash="+e))[0])&&void 0!==t?t:null}async searchTx(e,t={}){const r=t.minHeight||0,n=t.maxHeight||Number.MAX_SAFE_INTEGER;if(nn?[]:await this.txsQuery("tx.height="+e.height);else if(l(e)){const t=o("message.module=bank&message.sender="+e.sentFromOrTo),r=o("message.module=bank&transfer.recipient="+e.sentFromOrTo),n=await this.txsQuery(t),s=await this.txsQuery(r),a=n.map(e=>e.hash);i=[...n,...s.filter(e=>!a.includes(e.hash))]}else{if(!f(e))throw new Error("Unknown query type");{const t=o(e.tags.map(e=>`${e.key}=${e.value}`).join("&"));i=await this.txsQuery(t)}}return i.filter(e=>e.height>=r&&e.height<=n)}async broadcastTx(e){const t=await this.lcdClient.broadcastTx(e);if(!t.txhash.match(/^([0-9A-F][0-9A-F])+$/))throw new Error("Received ill-formatted txhash. Must be non-empty upper-case hex");return void 0!==t.code?{height:i.Uint53.fromString(t.height).toNumber(),transactionHash:t.txhash,code:t.code,rawLog:t.raw_log||""}:{logs:t.logs?a.parseLogs(t.logs):[],rawLog:t.raw_log||"",transactionHash:t.txhash,data:t.data?o.fromHex(t.data):void 0}}async txsQuery(e){const t=await this.lcdClient.txsQuery(e+"&limit=100");if(parseInt(t.page_total,10)>1)throw new Error(`Found more results on the backend than we can process currently. Results: ${t.total_count}, supported: 100`);return t.txs.map(e=>({height:parseInt(e.height,10),hash:e.txhash,code:e.code||0,rawLog:e.raw_log,logs:a.parseLogs(e.logs||[]),tx:e.tx,timestamp:e.timestamp}))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BroadcastMode=void 0,function(e){e.Block="block",e.Sync="sync",e.Async="async"}(t.BroadcastMode||(t.BroadcastMode={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildFeeTable=t.GasPrice=void 0;const n=r(82),o=r(317);class i{constructor(e,t){this.amount=e,this.denom=t}static fromString(e){const t=e.match(/^(?.+?)(?[a-z]+)$/);if(!t)throw new Error("Invalid gas price string");const{amount:r,denom:o}=t.groups;if(o.length<3||o.length>127)throw new Error("Gas price denomination must be between 3 and 127 characters");const s=n.Decimal.fromUserInput(r,18);return new i(s,o)}}function s(e,{denom:t,amount:r}){const i=Math.ceil(r.multiply(new n.Uint53(e)).toFloatApproximation());return{amount:o.coins(i,t),gas:e.toString()}}t.GasPrice=i,t.buildFeeTable=function(e,t,r){return Object.entries(t).reduce((t,[n,o])=>Object.assign(Object.assign({},t),{[n]:s(r[n]||o,e)}),{})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeCosmoshubPath=void 0;const n=r(50);t.makeCosmoshubPath=function(e){return[n.Slip10RawIndex.hardened(44),n.Slip10RawIndex.hardened(118),n.Slip10RawIndex.hardened(0),n.Slip10RawIndex.normal(0),n.Slip10RawIndex.normal(e)]}},function(e,t,r){"use strict";function n(e){const{memo:t,msg:r,fee:n,signatures:o}=e;return"string"==typeof t&&Array.isArray(r)&&"object"==typeof n&&Array.isArray(o)}Object.defineProperty(t,"__esModule",{value:!0}),t.isWrappedStdTx=t.makeStdTx=t.isStdTx=void 0,t.isStdTx=n,t.makeStdTx=function(e,t){return{msg:e.msgs,fee:e.fee,memo:e.memo,signatures:Array.isArray(t)?t:[t]}},t.isWrappedStdTx=function(e){return"cosmos-sdk/StdTx"===e.type&&n(e.value)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decrypt=t.encrypt=t.supportedAlgorithms=t.executeKdf=t.cosmjsSalt=void 0;const n=r(50),o=r(39);t.cosmjsSalt=o.toAscii("The CosmJS salt."),t.executeKdf=async function(e,r){switch(r.algorithm){case"argon2id":{const o=r.params;if(!n.isArgon2idOptions(o))throw new Error("Invalid format of argon2id params");return n.Argon2id.execute(e,t.cosmjsSalt,o)}default:throw new Error("Unsupported KDF algorithm")}},t.supportedAlgorithms={xchacha20poly1305Ietf:"xchacha20poly1305-ietf"},t.encrypt=async function(e,r,o){switch(o.algorithm){case t.supportedAlgorithms.xchacha20poly1305Ietf:{const t=n.Random.getBytes(n.xchacha20NonceLength);return new Uint8Array([...t,...await n.Xchacha20poly1305Ietf.encrypt(e,r,t)])}default:throw new Error(`Unsupported encryption algorithm: '${o.algorithm}'`)}},t.decrypt=async function(e,r,o){switch(o.algorithm){case t.supportedAlgorithms.xchacha20poly1305Ietf:{const t=e.slice(0,n.xchacha20NonceLength);return n.Xchacha20poly1305Ietf.decrypt(e.slice(n.xchacha20NonceLength),r,t)}default:throw new Error(`Unsupported encryption algorithm: '${o.algorithm}'`)}}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(176),t),o(r(650),t),o(r(651),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageRegistry=void 0;t.MessageRegistry=class{constructor(){this.registeredMsgType=new Map}registerMessage(e){if(this.registeredMsgType.has(e.type()))throw new Error("Already registered type "+e.type());this.registeredMsgType.set(e.type(),e)}parseMessage(e){if(!e.type)throw new Error("Null type");const t=this.registeredMsgType.get(e.type);if(!t)throw new Error("Unregistered msg type "+e.type);return Object.setPrototypeOf(e.msg,t.prototype)}}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(656),t),o(r(657),t),o(r(658),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WEBPAGE_PORT=t.APP_PORT=t.BACKGROUND_PORT=void 0,t.BACKGROUND_PORT="background",t.APP_PORT="popup",t.WEBPAGE_PORT="webpage"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionGuards=void 0;class n{}t.ExtensionGuards=n,n.checkOriginIsValid=(e,t,r)=>{if(!r.url)throw new Error("url is empty");if(!t.origin)throw new Error("origin is empty");if(new URL(r.url).origin!==t.origin)throw new Error("Invalid origin");return Promise.resolve()},n.checkMessageIsInternal=(e,t,r)=>{if(!e.isInternalMsg&&!t.approveExternal(e,r))throw new Error("Permission rejected");return Promise.resolve()}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionEnv=void 0;const i=r(407),s=r(327),a=r(326),c=new(o(r(412)).default)({concurrency:1});class u{}t.ExtensionEnv=u,u.produceEnv=e=>{const t=u.checkIsInternalMessage(e,browser.runtime.id,browser.runtime.getURL("/")),r="interaction=true&interactionInternal="+t,o=(e,t,o)=>n(void 0,void 0,void 0,(function*(){e.startsWith("/")&&(e=e.slice(1)),(e=browser.runtime.getURL("/popup.html#/"+e)).includes("?")?e+="&"+r:e+="?"+r;const u=yield function(e,t="default"){return n(this,void 0,void 0,(function*(){return yield c.add(()=>i.openPopupWindow(e,t))}))}(e,null==o?void 0:o.channel),l=(yield browser.windows.get(u,{populate:!0})).tabs[0].id;return yield n(void 0,void 0,void 0,(function*(){if("complete"!==(yield browser.tabs.get(l)).status)return new Promise(e=>{browser.tabs.onUpdated.addListener((t,r)=>{l===t&&"complete"===r.status&&e()})})})),yield a.InExtensionMessageRequester.sendMessageToTab(l,s.APP_PORT,t)}));if(t){return{isInternalMsg:t,requestInteraction:(t,i,c)=>n(void 0,void 0,void 0,(function*(){if(null==c?void 0:c.forceOpenWindow)return yield o(t,i,c);t.startsWith("/")&&(t=t.slice(1)),(t=browser.runtime.getURL("/popup.html#/"+t)).includes("?")?t+="&"+r:t+="?"+r;const n=yield browser.runtime.getBackgroundPage(),u=browser.extension.getViews().filter(e=>e.location.href!==n.location.href),l=u.find(t=>t.location.href===e.url);return(null!=l?l:u[0]).location.href=t,yield(new a.InExtensionMessageRequester).sendMessage(s.APP_PORT,i)}))}}return{isInternalMsg:t,requestInteraction:o}},u.checkIsInternalMessage=(e,t,r)=>{if(!e.url)throw new Error("Empty sender url");const n=new URL(e.url);if(!n.origin||"null"===n.origin)throw new Error("Invalid sender url");const o=new URL(r);if(!o.origin||"null"===o.origin)throw new Error("Invalid browser url");return n.origin===o.origin&&e.id===t}},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s};Object.defineProperty(t,"__esModule",{value:!0}),t.PersistentMemoryService=void 0;const o=r(43);let i=class{constructor(){this.data={}}set(e){this.data=Object.assign(Object.assign({},this.data),e)}get(){return this.data}};i=n([o.singleton()],i),t.PersistentMemoryService=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="persistent-memory"},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChainsService=void 0;const c=r(43),u=r(52),l=r(333),f=r(334),d=r(83),h=r(128),p=r(11),g=a(r(342));let m=class{constructor(e,t,r,n){this.kvStore=e,this.embedChainInfos=t,this.chainUpdaterKeeper=r,this.interactionKeeper=n,this.onChainRemovedHandlers=[],this.getChainInfos=g.default.promise(()=>s(this,void 0,void 0,(function*(){var e;if(this.cachedChainInfos)return this.cachedChainInfos;const t=this.embedChainInfos.map(e=>Object.assign(Object.assign({},e),{embeded:!0})),r=new Map;for(const e of t)r.set(p.ChainIdHelper.parse(e.chainId).identifier,!0);const n=(null!==(e=yield this.kvStore.get("chain-infos"))&&void 0!==e?e:[]).filter(e=>!r.get(p.ChainIdHelper.parse(e.chainId).identifier)).map(e=>Object.assign(Object.assign({},e),{embeded:!1}));let o=t.concat(n);return o=yield Promise.all(o.map(e=>s(this,void 0,void 0,(function*(){const t=yield this.chainUpdaterKeeper.putUpdatedPropertyToChainInfo(e);return Object.assign(Object.assign({},t),{embeded:e.embeded})})))),this.cachedChainInfos=o,o})))}clearCachedChainInfos(){this.cachedChainInfos=void 0}getChainInfo(e){return s(this,void 0,void 0,(function*(){const t=(yield this.getChainInfos()).find(t=>p.ChainIdHelper.parse(t.chainId).identifier===p.ChainIdHelper.parse(e).identifier);if(!t)throw new Error("There is no chain info for "+e);return t}))}getChainCoinType(e){return s(this,void 0,void 0,(function*(){const t=yield this.getChainInfo(e);if(!t)throw new Error("There is no chain info for "+e);return t.bip44.coinType}))}hasChainInfo(e){return s(this,void 0,void 0,(function*(){return null!=(yield this.getChainInfos()).find(t=>p.ChainIdHelper.parse(t.chainId).identifier===p.ChainIdHelper.parse(e).identifier)}))}suggestChainInfo(e,t,r){return s(this,void 0,void 0,(function*(){t=yield l.ChainInfoSchema.validateAsync(t,{stripUnknown:!0}),yield this.interactionKeeper.waitApprove(e,"/suggest-chain",h.SuggestChainInfoMsg.type(),Object.assign(Object.assign({},t),{origin:r})),yield this.addChainInfo(t)}))}addChainInfo(e){var t;return s(this,void 0,void 0,(function*(){if(yield this.hasChainInfo(e.chainId))throw new Error("Same chain is already registered");const r=null!==(t=yield this.kvStore.get("chain-infos"))&&void 0!==t?t:[];r.push(e),yield this.kvStore.set("chain-infos",r),this.clearCachedChainInfos()}))}removeChainInfo(e){var t;return s(this,void 0,void 0,(function*(){if(!(yield this.hasChainInfo(e)))throw new Error("Chain is not registered");if((yield this.getChainInfo(e)).embeded)throw new Error("Can't remove the embedded chain");const r=(null!==(t=yield this.kvStore.get("chain-infos"))&&void 0!==t?t:[]).filter(t=>p.ChainIdHelper.parse(t.chainId).identifier!==p.ChainIdHelper.parse(e).identifier);yield this.kvStore.set("chain-infos",r),yield this.chainUpdaterKeeper.clearUpdatedProperty(e);for(const t of this.onChainRemovedHandlers)t(e,p.ChainIdHelper.parse(e).identifier);this.clearCachedChainInfos()}))}addChainRemovedHandler(e){this.onChainRemovedHandlers.push(e)}};m=n([c.singleton(),i(0,c.inject(u.TYPES.ChainsStore)),i(1,c.inject(u.TYPES.ChainsEmbedChainInfos)),i(2,c.inject(c.delay(()=>f.ChainUpdaterService))),i(3,c.inject(c.delay(()=>d.InteractionService))),o("design:paramtypes",[Object,Array,f.ChainUpdaterService,d.InteractionService])],m),t.ChainsService=m},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChainInfoSchema=t.SuggestingBIP44Schema=t.Bech32ConfigSchema=t.Secret20CurrencyShema=t.CW20CurrencyShema=t.CurrencySchema=void 0;const o=n(r(670));t.CurrencySchema=o.default.object({coinDenom:o.default.string().required(),coinMinimalDenom:o.default.string().required(),coinDecimals:o.default.number().integer().min(0).max(18).required(),coinGeckoId:o.default.string()}),t.CW20CurrencyShema=t.CurrencySchema.keys({type:o.default.string().equal("cw20").required(),contractAddress:o.default.string().required()}).custom(e=>e.coinMinimalDenom.startsWith(`${e.type}:${e.contractAddress}:`)?e:Object.assign(Object.assign({},e),{coinMinimalDenom:`${e.type}:${e.contractAddress}:`+e.coinMinimalDenom})),t.Secret20CurrencyShema=t.CurrencySchema.keys({type:o.default.string().equal("secret20").required(),contractAddress:o.default.string().required(),viewingKey:o.default.string().required()}).custom(e=>e.coinMinimalDenom.startsWith(`${e.type}:${e.contractAddress}:`)?e:Object.assign(Object.assign({},e),{coinMinimalDenom:`${e.type}:${e.contractAddress}:`+e.coinMinimalDenom})),t.Bech32ConfigSchema=o.default.object({bech32PrefixAccAddr:o.default.string().required(),bech32PrefixAccPub:o.default.string().required(),bech32PrefixValAddr:o.default.string().required(),bech32PrefixValPub:o.default.string().required(),bech32PrefixConsAddr:o.default.string().required(),bech32PrefixConsPub:o.default.string().required()}),t.SuggestingBIP44Schema=o.default.object({coinType:o.default.number().integer().min(0).required()}).unknown(!0),t.ChainInfoSchema=o.default.object({rpc:o.default.string().required().uri(),rest:o.default.string().required().uri(),chainId:o.default.string().required().min(1).max(30),chainName:o.default.string().required().min(1).max(30),stakeCurrency:t.CurrencySchema.required(),walletUrl:o.default.string().uri(),walletUrlForStaking:o.default.string().uri(),bip44:t.SuggestingBIP44Schema.required(),bech32Config:t.Bech32ConfigSchema.required(),currencies:o.default.array().min(1).items(t.CurrencySchema,t.CW20CurrencyShema,t.Secret20CurrencyShema).required(),feeCurrencies:o.default.array().min(1).items(t.CurrencySchema).required(),coinType:o.default.number().integer(),beta:o.default.boolean(),gasPriceStep:o.default.object({low:o.default.number().required(),average:o.default.number().required(),high:o.default.number().required()}),features:o.default.array().items(o.default.string().valid("stargate","cosmwasm","secretwasm","ibc-transfer")).unique().custom(e=>{if(e.indexOf("cosmwasm")>=0&&e.indexOf("secretwasm")>=0)throw new Error("cosmwasm and secretwasm are not compatible");return e})})},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(335),t),o(r(178),t)},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChainUpdaterService=void 0;const c=r(43),u=r(52),l=a(r(68)),f=r(11),d=r(58);let h=class{constructor(e,t){this.kvStore=e,this.chainsService=t}putUpdatedPropertyToChainInfo(e){var t,r;return s(this,void 0,void 0,(function*(){const n=yield this.getUpdatedChainProperty(e.chainId),o=f.ChainIdHelper.parse(e.chainId);if(f.ChainIdHelper.parse(n.chainId||e.chainId).versiond.ChainsService))),o("design:paramtypes",[Object,d.ChainsService])],h),t.ChainUpdaterService=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="chains"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="chain-updator"},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionService=void 0;const a=r(43),c=r(52),u=r(339);let l=class{constructor(e,t){this.eventMsgRequester=e,this.rng=t,this.waitingMap=new Map,this.resolverMap=new Map}dispatchEvent(e,t,r){return s(this,void 0,void 0,(function*(){if(!t)throw new Error("Type should not be empty");const n=new u.PushEventDataMsg({type:t,data:r});try{yield this.eventMsgRequester.sendMessage(e,n)}catch(t){console.log(`Failed to send the event to ${e}: ${t.message}`)}}))}waitApprove(e,t,r,n,o){return s(this,void 0,void 0,(function*(){if(!r)throw new Error("Type should not be empty");const i=yield this.addDataToMap(r,n),s=new u.PushInteractionDataMsg(i);return yield this.wait(s.data.id,()=>{e.requestInteraction(t,s,o)})}))}wait(e,t){return s(this,void 0,void 0,(function*(){if(this.resolverMap.has(e))throw new Error("Id is aleady in use");return new Promise((r,n)=>{this.resolverMap.set(e,{onApprove:r,onReject:n}),t()})}))}approve(e,t){this.resolverMap.has(e)&&(this.resolverMap.get(e).onApprove(t),this.resolverMap.delete(e))}reject(e){this.resolverMap.has(e)&&(this.resolverMap.get(e).onReject(new Error("Request rejected")),this.resolverMap.delete(e))}addDataToMap(e,t){return s(this,void 0,void 0,(function*(){const r=new Uint8Array(8),n=Array.from(yield this.rng(r)).map(e=>e.toString(16)).join(""),o={id:n,type:e,data:t};if(this.waitingMap.has(n))throw new Error("Id is aleady in use");return this.waitingMap.set(n,o),o}))}removeDataFromMap(e){this.waitingMap.delete(e)}};l=n([a.singleton(),i(0,a.inject(c.TYPES.EventMsgRequester)),i(1,a.inject(c.TYPES.RNG)),o("design:paramtypes",[Object,Function])],l),t.InteractionService=l},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(671),t),o(r(179),t),o(r(672),t),o(r(673),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="interaction-foreground"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="interaction"},function(e,t,r){"use strict";r.r(t);const n=(e,t,r={})=>{if(!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let n,o,i=[];return function(...s){return new Promise(a=>{const c=r.leading&&!o;clearTimeout(o),o=setTimeout(()=>{o=null;const t=r.leading?n:e.apply(this,s);for(a of i)a(t);i=[]},t),c?(n=e.apply(this,s),a(n)):i.push(a)})}};n.promise=e=>{let t;return async function(...r){if(t)return t;try{return t=e.apply(this,r),await t}finally{t=void 0}}},t.default=n},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LedgerService=void 0;const c=r(43),u=r(52),l=r(344),f=a(r(386)),d=r(18),h=r(83),p=r(2);let g=class{constructor(e,t){this.kvStore=e,this.interactionService=t}getPublicKey(e,t){return s(this,void 0,void 0,(function*(){return yield this.useLedger(e,(e,r)=>s(this,void 0,void 0,(function*(){try{return yield e.getPublicKey([44,118,t.account,t.change,t.addressIndex])}finally{r>0&&(yield this.interactionService.dispatchEvent(d.APP_PORT,"ledger-init",{event:"get-pubkey",success:!0}))}})))}))}sign(e,t,r,n){return s(this,void 0,void 0,(function*(){return yield this.useLedger(e,(e,o)=>s(this,void 0,void 0,(function*(){try{const i=yield e.getPublicKey([44,118,t.account,t.change,t.addressIndex]);if(p.Buffer.from(r).toString("hex")!==p.Buffer.from(i).toString("hex"))throw new Error("Unmatched public key");const s=yield e.sign([44,118,t.account,t.change,t.addressIndex],n);return o>0&&(yield this.interactionService.dispatchEvent(d.APP_PORT,"ledger-init",{event:"sign",success:!0})),s}catch(e){throw o>0&&(yield this.interactionService.dispatchEvent(d.APP_PORT,"ledger-init",{event:"sign",success:!1})),e}})))}))}useLedger(e,t){return s(this,void 0,void 0,(function*(){let r;try{return r=yield this.initLedger(e),yield t(r.ledger,r.retryCount)}finally{r&&(yield r.ledger.close())}}))}initLedger(e){return s(this,void 0,void 0,(function*(){this.previousInitAborter&&this.previousInitAborter(new Error("New ledger request occurred before the ledger was initialized"));const t=(()=>{let e;return{wait:()=>new Promise((t,r)=>{e=r}),abort:t=>{e&&e(t)}}})();this.previousInitAborter=t.abort;let r=0;for(;;){try{const e=yield l.Ledger.init(yield this.getWebHIDFlag());return this.previousInitAborter=void 0,{ledger:e,retryCount:r}}catch(r){console.log(r);const n=new AbortController;try{yield Promise.race([this.interactionService.waitApprove(e,"/ledger-grant","ledger-init",{event:"init-failed"},{forceOpenWindow:!0,channel:"ledger"}),(()=>s(this,void 0,void 0,(function*(){let e=!1;try{yield f.default(3e5,{signal:n.signal})}catch(t){if("AbortError"!==t.name)throw t;e=!0}if(!e)throw yield this.interactionService.dispatchEvent(d.APP_PORT,"ledger-init",{event:"init-aborted"}),new Error("Ledger init timeout")})))(),t.wait(),this.testLedgerGrantUIOpened()])}finally{n.abort()}}r++}}))}testLedgerGrantUIOpened(){return s(this,void 0,void 0,(function*(){for(yield f.default(1e3);;){const e=browser.extension.getViews();let t=!1;for(const r of e)if(r.location.href.includes(browser.runtime.getURL("popup.html#/ledger-grant"))){t=!0;break}if(!t)throw new Error("Ledger init aborted");yield f.default(1e3)}}))}getWebHIDFlag(){return s(this,void 0,void 0,(function*(){return!!(yield this.kvStore.get("webhid"))}))}setWebHIDFlag(e){return s(this,void 0,void 0,(function*(){yield this.kvStore.set("webhid",e)}))}};g=n([c.singleton(),i(0,c.inject(u.TYPES.LedgerStore)),i(1,c.inject(c.delay(()=>h.InteractionService))),o("design:paramtypes",[Object,h.InteractionService])],g),t.LedgerService=g},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Ledger=t.LedgerInitError=t.LedgerInitErrorOn=void 0;const i=r(679).default,s=o(r(685)),a=o(r(712)),c=r(398);var u;!function(e){e[e.Transport=0]="Transport",e[e.App=1]="App",e[e.Unknown=2]="Unknown"}(u=t.LedgerInitErrorOn||(t.LedgerInitErrorOn={}));class l extends Error{constructor(e,t){super(t),this.errorOn=e,Object.setPrototypeOf(this,l.prototype)}}t.LedgerInitError=l;class f{constructor(e){this.cosmosApp=e}static init(e=!1){return n(this,void 0,void 0,(function*(){let t;try{t=e?yield a.default.create():yield s.default.create()}catch(e){throw new l(u.Transport,e.message)}try{const e=new i(t),r=new f(e);if((yield r.getVersion()).deviceLocked)throw new Error("Device is on screen saver");return r}catch(e){if(t&&(yield t.close()),"Device is on screen saver"===e.message)throw new l(u.Transport,e.message);throw new l(u.App,e.message)}}))}getVersion(){return n(this,void 0,void 0,(function*(){if(!this.cosmosApp)throw new Error("Comsos App not initialized");const e=yield this.cosmosApp.getVersion();if("No errors"!==e.error_message)throw new Error(e.error_message);return{deviceLocked:e.device_locked,major:e.major,minor:e.minor,patch:e.patch,targetId:e.target_id,testMode:e.test_mode}}))}getPublicKey(e){return n(this,void 0,void 0,(function*(){if(!this.cosmosApp)throw new Error("Comsos App not initialized");const t=yield this.cosmosApp.publicKey(e);if("No errors"!==t.error_message)throw new Error(t.error_message);return t.compressed_pk}))}sign(e,t){return n(this,void 0,void 0,(function*(){if(!this.cosmosApp)throw new Error("Comsos App not initialized");const r=yield this.cosmosApp.sign(e,t);if("No errors"!==r.error_message)throw new Error(r.error_message);return c.signatureImport(r.signature)}))}close(){return n(this,void 0,void 0,(function*(){return yield this.cosmosApp.transport.close()}))}static isWebHIDSupported(){return n(this,void 0,void 0,(function*(){return yield a.default.isSupported()}))}}t.Ledger=f},function(e,t,r){"use strict";(function(e){var n=r(115);Object.defineProperty(t,"__esModule",{value:!0}),t.serializePathv1=function(t){if(null==t||t.length<3)throw new Error("Invalid path.");if(t.length>10)throw new Error("Invalid path. Length should be <= 10");var r=e.alloc(1+4*t.length);r.writeUInt8(t.length,0);for(var n=0;n2&&(o=e.slice(0,e.length-2)),{signature:o,return_code:r,error_message:n}}),s.processErrorResponse));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function c(t){if(65!==t.length)throw new Error("decompressed public key length should be 65 bytes");var r=t.slice(33,65),n=e.from([2+(1&r[r.length-1])]);return e.concat([n,t.slice(1,33)])}function u(){return(u=(0,i.default)(o.default.mark((function t(r,n){return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",r.transport.send(s.CLA,s.INS.INS_PUBLIC_KEY_SECP256K1,0,0,n,[s.ERROR_CODE.NoError]).then((function(t){var r=t.slice(-2),n=256*r[0]+r[1],o=e.from(t.slice(0,65));return{pk:o,compressed_pk:c(o),return_code:n,error_message:(0,s.errorCodeToString)(n)}}),s.processErrorResponse));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}}).call(this,r(2).Buffer)},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>0!==n(e,t,r)},function(e,t,r){const n=r(183),o=r(346),i=r(134),s=r(186),a=r(185),c=r(187);e.exports=(e,t,r,u)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,u);case"!=":return o(e,r,u);case">":return i(e,r,u);case">=":return s(e,r,u);case"<":return a(e,r,u);case"<=":return c(e,r,u);default:throw new TypeError("Invalid operator: "+t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="ledger"},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.KeyRingService=void 0;const a=r(43),c=r(52),u=r(190),l=r(11),f=r(58),d=r(350),h=r(18),p=r(83),g=r(102),m=r(114),y=r(719),b=r(11);let v=class{constructor(e,t,r,n,o,i,s){this.interactionService=r,this.chainsService=n,this.permissionService=o,this.rng=s,this.keyRing=new u.KeyRing(t,e,i,s)}restore(){return s(this,void 0,void 0,(function*(){return yield this.keyRing.restore(),{status:this.keyRing.status,type:this.keyRing.type,multiKeyStoreInfo:this.keyRing.getMultiKeyStoreInfo()}}))}enable(e){return s(this,void 0,void 0,(function*(){if(this.keyRing.status===u.KeyRingStatus.EMPTY)throw new Error("key doesn't exist");return this.keyRing.status===u.KeyRingStatus.NOTLOADED&&(yield this.keyRing.restore()),this.keyRing.status===u.KeyRingStatus.LOCKED?(yield this.interactionService.waitApprove(e,"/unlock","unlock",{}),this.keyRing.status):this.keyRing.status}))}get keyRingStatus(){return this.keyRing.status}deleteKeyRing(e,t){return s(this,void 0,void 0,(function*(){return{multiKeyStoreInfo:yield this.keyRing.deleteKeyRing(e,t),status:this.keyRing.status}}))}updateNameKeyRing(e,t){return s(this,void 0,void 0,(function*(){return{multiKeyStoreInfo:yield this.keyRing.updateNameKeyRing(e,t),status:this.keyRing.status}}))}showKeyRing(e,t){return s(this,void 0,void 0,(function*(){return yield this.keyRing.showKeyRing(e,t)}))}createMnemonicKey(e,t,r,n){return s(this,void 0,void 0,(function*(){return yield this.keyRing.createMnemonicKey(e,t,r,n),this.keyRing.status}))}createPrivateKey(e,t,r){return s(this,void 0,void 0,(function*(){return yield this.keyRing.createPrivateKey(e,t,r),this.keyRing.status}))}createLedgerKey(e,t,r,n){return s(this,void 0,void 0,(function*(){return yield this.keyRing.createLedgerKey(e,t,r,n),this.keyRing.status}))}lock(){return this.keyRing.lock(),this.keyRing.status}unlock(e){return s(this,void 0,void 0,(function*(){return yield this.keyRing.unlock(e),this.keyRing.status}))}getKey(e){return s(this,void 0,void 0,(function*(){return this.keyRing.getKey(e,yield this.chainsService.getChainCoinType(e))}))}getKeyStoreMeta(e){return this.keyRing.getKeyStoreMeta(e)}getKeyRingType(){return this.keyRing.type}requestSignAmino(e,t,r,n,o){return s(this,void 0,void 0,(function*(){const i=yield this.chainsService.getChainCoinType(t),s=yield this.keyRing.getKey(t,i),a=new l.Bech32Address(s.address).toBech32((yield this.chainsService.getChainInfo(t)).bech32Config.bech32PrefixAccAddr);if(r!==a)throw new Error("Signer mismatched");const c=yield this.interactionService.waitApprove(e,"/sign","request-sign",{chainId:t,mode:"amino",signDoc:n,signer:r,signOptions:o});try{const r=yield this.keyRing.sign(e,t,i,m.serializeSignDoc(c));return{signed:c,signature:m.encodeSecp256k1Signature(s.pubKey,r)}}finally{yield this.interactionService.dispatchEvent(h.APP_PORT,"request-sign-end",{})}}))}requestSignDirect(e,t,r,n,o){return s(this,void 0,void 0,(function*(){const i=yield this.chainsService.getChainCoinType(t),s=yield this.keyRing.getKey(t,i),a=new l.Bech32Address(s.address).toBech32((yield this.chainsService.getChainInfo(t)).bech32Config.bech32PrefixAccAddr);if(r!==a)throw new Error("Signer mismatched");const c=yield this.interactionService.waitApprove(e,"/sign","request-sign",{chainId:t,mode:"direct",signDocBytes:b.cosmos.tx.v1beta1.SignDoc.encode(n).finish(),signer:r,signOptions:o}),u=b.cosmos.tx.v1beta1.SignDoc.decode(c);try{const r=yield this.keyRing.sign(e,t,i,y.makeSignBytes(u));return{signed:u,signature:m.encodeSecp256k1Signature(s.pubKey,r)}}finally{yield this.interactionService.dispatchEvent(h.APP_PORT,"request-sign-end",{})}}))}sign(e,t,r){return s(this,void 0,void 0,(function*(){return this.keyRing.sign(e,t,yield this.chainsService.getChainCoinType(t),r)}))}addMnemonicKey(e,t,r){return s(this,void 0,void 0,(function*(){return this.keyRing.addMnemonicKey(e,t,r)}))}addPrivateKey(e,t){return s(this,void 0,void 0,(function*(){return this.keyRing.addPrivateKey(e,t)}))}addLedgerKey(e,t,r){return s(this,void 0,void 0,(function*(){return this.keyRing.addLedgerKey(e,t,r)}))}changeKeyStoreFromMultiKeyStore(e){return s(this,void 0,void 0,(function*(){try{return yield this.keyRing.changeKeyStoreFromMultiKeyStore(e)}finally{yield this.interactionService.dispatchEvent(h.WEBPAGE_PORT,"keystore-changed",{})}}))}getMultiKeyStoreInfo(){return this.keyRing.getMultiKeyStoreInfo()}isKeyStoreCoinTypeSet(e){return this.keyRing.isKeyStoreCoinTypeSet(e)}setKeyStoreCoinType(e,t){return s(this,void 0,void 0,(function*(){yield this.keyRing.setKeyStoreCoinType(e,t)}))}getKeyStoreBIP44Selectables(e,t){return s(this,void 0,void 0,(function*(){if(this.isKeyStoreCoinTypeSet(e))return[];const r=[],n=yield this.chainsService.getChainInfo(e);for(const e of t){const t=yield this.keyRing.getKeyFromCoinType(e.coinType),o=new l.Bech32Address(t.address).toBech32(n.bech32Config.bech32PrefixAccAddr);r.push({path:e,bech32Address:o})}return r}))}};v=n([a.singleton(),i(0,a.inject(c.TYPES.KeyRingStore)),i(1,a.inject(c.TYPES.ChainsEmbedChainInfos)),i(2,a.inject(a.delay(()=>p.InteractionService))),i(3,a.inject(a.delay(()=>f.ChainsService))),i(4,a.inject(a.delay(()=>g.PermissionService))),i(5,a.inject(d.LedgerService)),i(6,a.inject(c.TYPES.RNG)),o("design:paramtypes",[Object,Array,p.InteractionService,f.ChainsService,g.PermissionService,d.LedgerService,Function])],v),t.KeyRingService=v},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(343),t),o(r(189),t),o(r(344),t)},function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.PermissionService=void 0;const a=r(43),c=r(52),u=r(83),l=r(352),f=r(58),d=r(103),h=r(11);let p=class{constructor(e,t,r,n,o){this.kvStore=e,this.interactionService=t,this.chainsService=r,this.keyRingService=n,this.permissionMap={},this.privilegedOrigins=new Map,this.onChainRemoved=e=>{this.removeAllPermissions(e)};for(const e of o)this.privilegedOrigins.set(e,!0);this.restore(),this.chainsService.addChainRemovedHandler(this.onChainRemoved)}checkOrGrantBasicAccessPermission(e,t,r){return s(this,void 0,void 0,(function*(){yield this.keyRingService.enable(e),"string"==typeof t&&(t=[t]);const n=[];for(const e of t)this.hasPermisson(e,l.getBasicAccessPermissionType(),r)||n.push(e);n.length>0&&(yield this.grantBasicAccessPermission(e,n,[r])),yield this.checkBasicAccessPermission(e,t,r)}))}grantPermission(e,t,r,n,o){return s(this,void 0,void 0,(function*(){if(e.isInternalMsg)return;const i={chainIds:r,type:n,origins:o};yield this.interactionService.waitApprove(e,t,l.INTERACTION_TYPE_PERMISSION,i),yield this.addPermission(r,n,o)}))}grantBasicAccessPermission(e,t,r){return s(this,void 0,void 0,(function*(){for(const e of t)yield this.chainsService.getChainInfo(e);yield this.grantPermission(e,"/access",t,l.getBasicAccessPermissionType(),r)}))}checkPermission(e,t,r,n){if(!e.isInternalMsg&&!this.hasPermisson(t,r,n))throw new Error(n+" is not permitted")}checkBasicAccessPermission(e,t,r){return s(this,void 0,void 0,(function*(){for(const n of t)yield this.chainsService.getChainInfo(n),this.checkPermission(e,n,l.getBasicAccessPermissionType(),r)}))}hasPermisson(e,t,r){if(this.privilegedOrigins.get(r))return!0;const n=this.permissionMap[h.ChainIdHelper.parse(e).identifier];if(!n)return!1;const o=n[t];return!(!o||!o[r])}getPermissionOrigins(e,t){const r=[],n=this.permissionMap[h.ChainIdHelper.parse(e).identifier];if(!n)return[];const o=n[t];if(!o)return[];for(const e of Object.keys(o))o[e]&&r.push(e);return r}addPermission(e,t,r){return s(this,void 0,void 0,(function*(){for(const n of e){let e=this.permissionMap[h.ChainIdHelper.parse(n).identifier];e||(e={},this.permissionMap[h.ChainIdHelper.parse(n).identifier]=e);let o=e[t];o||(o={},e[t]=o);for(const e of r)o[e]=!0}yield this.save()}))}removePermission(e,t,r){return s(this,void 0,void 0,(function*(){const n=this.permissionMap[h.ChainIdHelper.parse(e).identifier];if(!n)return;const o=n[t];if(o){for(const e of r)delete o[e];yield this.save()}}))}removeAllPermissions(e){return s(this,void 0,void 0,(function*(){this.permissionMap[h.ChainIdHelper.parse(e).identifier]=void 0,yield this.save()}))}restore(){return s(this,void 0,void 0,(function*(){const e=yield this.kvStore.get("permissionMap");e&&(this.permissionMap=e)}))}save(){return s(this,void 0,void 0,(function*(){yield this.kvStore.set("permissionMap",this.permissionMap)}))}};p=n([a.singleton(),i(0,a.inject(c.TYPES.PermissionStore)),i(1,a.inject(a.delay(()=>u.InteractionService))),i(2,a.inject(f.ChainsService)),i(3,a.inject(a.delay(()=>d.KeyRingService))),i(4,a.inject(c.TYPES.PermissionServicePrivilegedOrigins)),o("design:paramtypes",[Object,u.InteractionService,f.ChainsService,d.KeyRingService,Array])],p),t.PermissionService=p},function(e,t,r){"use strict";function n(){return"basic-access"}Object.defineProperty(t,"__esModule",{value:!0}),t.isBasicAccessPermissionType=t.getBasicAccessPermissionType=t.INTERACTION_TYPE_PERMISSION=void 0,t.INTERACTION_TYPE_PERMISSION="permission",t.getBasicAccessPermissionType=n,t.isBasicAccessPermissionType=function(e){return"basic-access"===e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="keyring"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="permission"},function(e,t,r){"use strict";(function(e){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Fee=t.ModeInfo_Multi=t.ModeInfo_Single=t.ModeInfo=t.SignerInfo=t.AuthInfo=t.TxBody=t.SignDoc=t.TxRaw=t.Tx=t.protobufPackage=void 0;const o=n(r(113)),i=r(138),s=r(356),a=r(357),c=r(137),u=n(r(48));t.protobufPackage="cosmos.tx.v1beta1";const l={};t.Tx={encode(e,r=u.default.Writer.create()){void 0!==e.body&&void 0!==e.body&&t.TxBody.encode(e.body,r.uint32(10).fork()).ldelim(),void 0!==e.authInfo&&void 0!==e.authInfo&&t.AuthInfo.encode(e.authInfo,r.uint32(18).fork()).ldelim();for(const t of e.signatures)r.uint32(26).bytes(t);return r},decode(e,r){const n=e instanceof Uint8Array?new u.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const i=Object.assign({},l);for(i.signatures=[];n.pos>>3){case 1:i.body=t.TxBody.decode(n,n.uint32());break;case 2:i.authInfo=t.AuthInfo.decode(n,n.uint32());break;case 3:i.signatures.push(n.bytes());break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},l);if(r.signatures=[],void 0!==e.body&&null!==e.body?r.body=t.TxBody.fromJSON(e.body):r.body=void 0,void 0!==e.authInfo&&null!==e.authInfo?r.authInfo=t.AuthInfo.fromJSON(e.authInfo):r.authInfo=void 0,void 0!==e.signatures&&null!==e.signatures)for(const t of e.signatures)r.signatures.push(k(t));return r},fromPartial(e){const r=Object.assign({},l);if(r.signatures=[],void 0!==e.body&&null!==e.body?r.body=t.TxBody.fromPartial(e.body):r.body=void 0,void 0!==e.authInfo&&null!==e.authInfo?r.authInfo=t.AuthInfo.fromPartial(e.authInfo):r.authInfo=void 0,void 0!==e.signatures&&null!==e.signatures)for(const t of e.signatures)r.signatures.push(t);return r},toJSON(e){const r={};return void 0!==e.body&&(r.body=e.body?t.TxBody.toJSON(e.body):void 0),void 0!==e.authInfo&&(r.authInfo=e.authInfo?t.AuthInfo.toJSON(e.authInfo):void 0),e.signatures?r.signatures=e.signatures.map(e=>S(void 0!==e?e:new Uint8Array)):r.signatures=[],r}};const f={};t.TxRaw={encode(e,t=u.default.Writer.create()){t.uint32(10).bytes(e.bodyBytes),t.uint32(18).bytes(e.authInfoBytes);for(const r of e.signatures)t.uint32(26).bytes(r);return t},decode(e,t){const r=e instanceof Uint8Array?new u.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},f);for(o.signatures=[];r.pos>>3){case 1:o.bodyBytes=r.bytes();break;case 2:o.authInfoBytes=r.bytes();break;case 3:o.signatures.push(r.bytes());break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},f);if(t.signatures=[],void 0!==e.bodyBytes&&null!==e.bodyBytes&&(t.bodyBytes=k(e.bodyBytes)),void 0!==e.authInfoBytes&&null!==e.authInfoBytes&&(t.authInfoBytes=k(e.authInfoBytes)),void 0!==e.signatures&&null!==e.signatures)for(const r of e.signatures)t.signatures.push(k(r));return t},fromPartial(e){const t=Object.assign({},f);if(t.signatures=[],void 0!==e.bodyBytes&&null!==e.bodyBytes?t.bodyBytes=e.bodyBytes:t.bodyBytes=new Uint8Array,void 0!==e.authInfoBytes&&null!==e.authInfoBytes?t.authInfoBytes=e.authInfoBytes:t.authInfoBytes=new Uint8Array,void 0!==e.signatures&&null!==e.signatures)for(const r of e.signatures)t.signatures.push(r);return t},toJSON(e){const t={};return void 0!==e.bodyBytes&&(t.bodyBytes=S(void 0!==e.bodyBytes?e.bodyBytes:new Uint8Array)),void 0!==e.authInfoBytes&&(t.authInfoBytes=S(void 0!==e.authInfoBytes?e.authInfoBytes:new Uint8Array)),e.signatures?t.signatures=e.signatures.map(e=>S(void 0!==e?e:new Uint8Array)):t.signatures=[],t}};const d={chainId:"",accountNumber:o.default.UZERO};t.SignDoc={encode:(e,t=u.default.Writer.create())=>(t.uint32(10).bytes(e.bodyBytes),t.uint32(18).bytes(e.authInfoBytes),t.uint32(26).string(e.chainId),t.uint32(32).uint64(e.accountNumber),t),decode(e,t){const r=e instanceof Uint8Array?new u.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},d);for(;r.pos>>3){case 1:o.bodyBytes=r.bytes();break;case 2:o.authInfoBytes=r.bytes();break;case 3:o.chainId=r.string();break;case 4:o.accountNumber=r.uint64();break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},d);return void 0!==e.bodyBytes&&null!==e.bodyBytes&&(t.bodyBytes=k(e.bodyBytes)),void 0!==e.authInfoBytes&&null!==e.authInfoBytes&&(t.authInfoBytes=k(e.authInfoBytes)),void 0!==e.chainId&&null!==e.chainId?t.chainId=String(e.chainId):t.chainId="",void 0!==e.accountNumber&&null!==e.accountNumber?t.accountNumber=o.default.fromString(e.accountNumber):t.accountNumber=o.default.UZERO,t},fromPartial(e){const t=Object.assign({},d);return void 0!==e.bodyBytes&&null!==e.bodyBytes?t.bodyBytes=e.bodyBytes:t.bodyBytes=new Uint8Array,void 0!==e.authInfoBytes&&null!==e.authInfoBytes?t.authInfoBytes=e.authInfoBytes:t.authInfoBytes=new Uint8Array,void 0!==e.chainId&&null!==e.chainId?t.chainId=e.chainId:t.chainId="",void 0!==e.accountNumber&&null!==e.accountNumber?t.accountNumber=e.accountNumber:t.accountNumber=o.default.UZERO,t},toJSON(e){const t={};return void 0!==e.bodyBytes&&(t.bodyBytes=S(void 0!==e.bodyBytes?e.bodyBytes:new Uint8Array)),void 0!==e.authInfoBytes&&(t.authInfoBytes=S(void 0!==e.authInfoBytes?e.authInfoBytes:new Uint8Array)),void 0!==e.chainId&&(t.chainId=e.chainId),void 0!==e.accountNumber&&(t.accountNumber=(e.accountNumber||o.default.UZERO).toString()),t}};const h={memo:"",timeoutHeight:o.default.UZERO};t.TxBody={encode(e,t=u.default.Writer.create()){for(const r of e.messages)i.Any.encode(r,t.uint32(10).fork()).ldelim();t.uint32(18).string(e.memo),t.uint32(24).uint64(e.timeoutHeight);for(const r of e.extensionOptions)i.Any.encode(r,t.uint32(8186).fork()).ldelim();for(const r of e.nonCriticalExtensionOptions)i.Any.encode(r,t.uint32(16378).fork()).ldelim();return t},decode(e,t){const r=e instanceof Uint8Array?new u.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},h);for(o.messages=[],o.extensionOptions=[],o.nonCriticalExtensionOptions=[];r.pos>>3){case 1:o.messages.push(i.Any.decode(r,r.uint32()));break;case 2:o.memo=r.string();break;case 3:o.timeoutHeight=r.uint64();break;case 1023:o.extensionOptions.push(i.Any.decode(r,r.uint32()));break;case 2047:o.nonCriticalExtensionOptions.push(i.Any.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},h);if(t.messages=[],t.extensionOptions=[],t.nonCriticalExtensionOptions=[],void 0!==e.messages&&null!==e.messages)for(const r of e.messages)t.messages.push(i.Any.fromJSON(r));if(void 0!==e.memo&&null!==e.memo?t.memo=String(e.memo):t.memo="",void 0!==e.timeoutHeight&&null!==e.timeoutHeight?t.timeoutHeight=o.default.fromString(e.timeoutHeight):t.timeoutHeight=o.default.UZERO,void 0!==e.extensionOptions&&null!==e.extensionOptions)for(const r of e.extensionOptions)t.extensionOptions.push(i.Any.fromJSON(r));if(void 0!==e.nonCriticalExtensionOptions&&null!==e.nonCriticalExtensionOptions)for(const r of e.nonCriticalExtensionOptions)t.nonCriticalExtensionOptions.push(i.Any.fromJSON(r));return t},fromPartial(e){const t=Object.assign({},h);if(t.messages=[],t.extensionOptions=[],t.nonCriticalExtensionOptions=[],void 0!==e.messages&&null!==e.messages)for(const r of e.messages)t.messages.push(i.Any.fromPartial(r));if(void 0!==e.memo&&null!==e.memo?t.memo=e.memo:t.memo="",void 0!==e.timeoutHeight&&null!==e.timeoutHeight?t.timeoutHeight=e.timeoutHeight:t.timeoutHeight=o.default.UZERO,void 0!==e.extensionOptions&&null!==e.extensionOptions)for(const r of e.extensionOptions)t.extensionOptions.push(i.Any.fromPartial(r));if(void 0!==e.nonCriticalExtensionOptions&&null!==e.nonCriticalExtensionOptions)for(const r of e.nonCriticalExtensionOptions)t.nonCriticalExtensionOptions.push(i.Any.fromPartial(r));return t},toJSON(e){const t={};return e.messages?t.messages=e.messages.map(e=>e?i.Any.toJSON(e):void 0):t.messages=[],void 0!==e.memo&&(t.memo=e.memo),void 0!==e.timeoutHeight&&(t.timeoutHeight=(e.timeoutHeight||o.default.UZERO).toString()),e.extensionOptions?t.extensionOptions=e.extensionOptions.map(e=>e?i.Any.toJSON(e):void 0):t.extensionOptions=[],e.nonCriticalExtensionOptions?t.nonCriticalExtensionOptions=e.nonCriticalExtensionOptions.map(e=>e?i.Any.toJSON(e):void 0):t.nonCriticalExtensionOptions=[],t}};const p={};t.AuthInfo={encode(e,r=u.default.Writer.create()){for(const n of e.signerInfos)t.SignerInfo.encode(n,r.uint32(10).fork()).ldelim();return void 0!==e.fee&&void 0!==e.fee&&t.Fee.encode(e.fee,r.uint32(18).fork()).ldelim(),r},decode(e,r){const n=e instanceof Uint8Array?new u.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const i=Object.assign({},p);for(i.signerInfos=[];n.pos>>3){case 1:i.signerInfos.push(t.SignerInfo.decode(n,n.uint32()));break;case 2:i.fee=t.Fee.decode(n,n.uint32());break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},p);if(r.signerInfos=[],void 0!==e.signerInfos&&null!==e.signerInfos)for(const n of e.signerInfos)r.signerInfos.push(t.SignerInfo.fromJSON(n));return void 0!==e.fee&&null!==e.fee?r.fee=t.Fee.fromJSON(e.fee):r.fee=void 0,r},fromPartial(e){const r=Object.assign({},p);if(r.signerInfos=[],void 0!==e.signerInfos&&null!==e.signerInfos)for(const n of e.signerInfos)r.signerInfos.push(t.SignerInfo.fromPartial(n));return void 0!==e.fee&&null!==e.fee?r.fee=t.Fee.fromPartial(e.fee):r.fee=void 0,r},toJSON(e){const r={};return e.signerInfos?r.signerInfos=e.signerInfos.map(e=>e?t.SignerInfo.toJSON(e):void 0):r.signerInfos=[],void 0!==e.fee&&(r.fee=e.fee?t.Fee.toJSON(e.fee):void 0),r}};const g={sequence:o.default.UZERO};t.SignerInfo={encode:(e,r=u.default.Writer.create())=>(void 0!==e.publicKey&&void 0!==e.publicKey&&i.Any.encode(e.publicKey,r.uint32(10).fork()).ldelim(),void 0!==e.modeInfo&&void 0!==e.modeInfo&&t.ModeInfo.encode(e.modeInfo,r.uint32(18).fork()).ldelim(),r.uint32(24).uint64(e.sequence),r),decode(e,r){const n=e instanceof Uint8Array?new u.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const s=Object.assign({},g);for(;n.pos>>3){case 1:s.publicKey=i.Any.decode(n,n.uint32());break;case 2:s.modeInfo=t.ModeInfo.decode(n,n.uint32());break;case 3:s.sequence=n.uint64();break;default:n.skipType(7&e)}}return s},fromJSON(e){const r=Object.assign({},g);return void 0!==e.publicKey&&null!==e.publicKey?r.publicKey=i.Any.fromJSON(e.publicKey):r.publicKey=void 0,void 0!==e.modeInfo&&null!==e.modeInfo?r.modeInfo=t.ModeInfo.fromJSON(e.modeInfo):r.modeInfo=void 0,void 0!==e.sequence&&null!==e.sequence?r.sequence=o.default.fromString(e.sequence):r.sequence=o.default.UZERO,r},fromPartial(e){const r=Object.assign({},g);return void 0!==e.publicKey&&null!==e.publicKey?r.publicKey=i.Any.fromPartial(e.publicKey):r.publicKey=void 0,void 0!==e.modeInfo&&null!==e.modeInfo?r.modeInfo=t.ModeInfo.fromPartial(e.modeInfo):r.modeInfo=void 0,void 0!==e.sequence&&null!==e.sequence?r.sequence=e.sequence:r.sequence=o.default.UZERO,r},toJSON(e){const r={};return void 0!==e.publicKey&&(r.publicKey=e.publicKey?i.Any.toJSON(e.publicKey):void 0),void 0!==e.modeInfo&&(r.modeInfo=e.modeInfo?t.ModeInfo.toJSON(e.modeInfo):void 0),void 0!==e.sequence&&(r.sequence=(e.sequence||o.default.UZERO).toString()),r}};const m={};t.ModeInfo={encode:(e,r=u.default.Writer.create())=>(void 0!==e.single&&t.ModeInfo_Single.encode(e.single,r.uint32(10).fork()).ldelim(),void 0!==e.multi&&t.ModeInfo_Multi.encode(e.multi,r.uint32(18).fork()).ldelim(),r),decode(e,r){const n=e instanceof Uint8Array?new u.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const i=Object.assign({},m);for(;n.pos>>3){case 1:i.single=t.ModeInfo_Single.decode(n,n.uint32());break;case 2:i.multi=t.ModeInfo_Multi.decode(n,n.uint32());break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},m);return void 0!==e.single&&null!==e.single?r.single=t.ModeInfo_Single.fromJSON(e.single):r.single=void 0,void 0!==e.multi&&null!==e.multi?r.multi=t.ModeInfo_Multi.fromJSON(e.multi):r.multi=void 0,r},fromPartial(e){const r=Object.assign({},m);return void 0!==e.single&&null!==e.single?r.single=t.ModeInfo_Single.fromPartial(e.single):r.single=void 0,void 0!==e.multi&&null!==e.multi?r.multi=t.ModeInfo_Multi.fromPartial(e.multi):r.multi=void 0,r},toJSON(e){const r={};return void 0!==e.single&&(r.single=e.single?t.ModeInfo_Single.toJSON(e.single):void 0),void 0!==e.multi&&(r.multi=e.multi?t.ModeInfo_Multi.toJSON(e.multi):void 0),r}};const y={mode:0};t.ModeInfo_Single={encode:(e,t=u.default.Writer.create())=>(t.uint32(8).int32(e.mode),t),decode(e,t){const r=e instanceof Uint8Array?new u.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},y);for(;r.pos>>3){case 1:o.mode=r.int32();break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},y);return void 0!==e.mode&&null!==e.mode?t.mode=s.signModeFromJSON(e.mode):t.mode=0,t},fromPartial(e){const t=Object.assign({},y);return void 0!==e.mode&&null!==e.mode?t.mode=e.mode:t.mode=0,t},toJSON(e){const t={};return void 0!==e.mode&&(t.mode=s.signModeToJSON(e.mode)),t}};const b={};t.ModeInfo_Multi={encode(e,r=u.default.Writer.create()){void 0!==e.bitarray&&void 0!==e.bitarray&&a.CompactBitArray.encode(e.bitarray,r.uint32(10).fork()).ldelim();for(const n of e.modeInfos)t.ModeInfo.encode(n,r.uint32(18).fork()).ldelim();return r},decode(e,r){const n=e instanceof Uint8Array?new u.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const i=Object.assign({},b);for(i.modeInfos=[];n.pos>>3){case 1:i.bitarray=a.CompactBitArray.decode(n,n.uint32());break;case 2:i.modeInfos.push(t.ModeInfo.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},b);if(r.modeInfos=[],void 0!==e.bitarray&&null!==e.bitarray?r.bitarray=a.CompactBitArray.fromJSON(e.bitarray):r.bitarray=void 0,void 0!==e.modeInfos&&null!==e.modeInfos)for(const n of e.modeInfos)r.modeInfos.push(t.ModeInfo.fromJSON(n));return r},fromPartial(e){const r=Object.assign({},b);if(r.modeInfos=[],void 0!==e.bitarray&&null!==e.bitarray?r.bitarray=a.CompactBitArray.fromPartial(e.bitarray):r.bitarray=void 0,void 0!==e.modeInfos&&null!==e.modeInfos)for(const n of e.modeInfos)r.modeInfos.push(t.ModeInfo.fromPartial(n));return r},toJSON(e){const r={};return void 0!==e.bitarray&&(r.bitarray=e.bitarray?a.CompactBitArray.toJSON(e.bitarray):void 0),e.modeInfos?r.modeInfos=e.modeInfos.map(e=>e?t.ModeInfo.toJSON(e):void 0):r.modeInfos=[],r}};const v={gasLimit:o.default.UZERO,payer:"",granter:""};t.Fee={encode(e,t=u.default.Writer.create()){for(const r of e.amount)c.Coin.encode(r,t.uint32(10).fork()).ldelim();return t.uint32(16).uint64(e.gasLimit),t.uint32(26).string(e.payer),t.uint32(34).string(e.granter),t},decode(e,t){const r=e instanceof Uint8Array?new u.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},v);for(o.amount=[];r.pos>>3){case 1:o.amount.push(c.Coin.decode(r,r.uint32()));break;case 2:o.gasLimit=r.uint64();break;case 3:o.payer=r.string();break;case 4:o.granter=r.string();break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},v);if(t.amount=[],void 0!==e.amount&&null!==e.amount)for(const r of e.amount)t.amount.push(c.Coin.fromJSON(r));return void 0!==e.gasLimit&&null!==e.gasLimit?t.gasLimit=o.default.fromString(e.gasLimit):t.gasLimit=o.default.UZERO,void 0!==e.payer&&null!==e.payer?t.payer=String(e.payer):t.payer="",void 0!==e.granter&&null!==e.granter?t.granter=String(e.granter):t.granter="",t},fromPartial(e){const t=Object.assign({},v);if(t.amount=[],void 0!==e.amount&&null!==e.amount)for(const r of e.amount)t.amount.push(c.Coin.fromPartial(r));return void 0!==e.gasLimit&&null!==e.gasLimit?t.gasLimit=e.gasLimit:t.gasLimit=o.default.UZERO,void 0!==e.payer&&null!==e.payer?t.payer=e.payer:t.payer="",void 0!==e.granter&&null!==e.granter?t.granter=e.granter:t.granter="",t},toJSON(e){const t={};return e.amount?t.amount=e.amount.map(e=>e?c.Coin.toJSON(e):void 0):t.amount=[],void 0!==e.gasLimit&&(t.gasLimit=(e.gasLimit||o.default.UZERO).toString()),void 0!==e.payer&&(t.payer=e.payer),void 0!==e.granter&&(t.granter=e.granter),t}};var w=(()=>{if(void 0!==w)return w;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const _=w.atob||(e=>w.Buffer.from(e,"base64").toString("binary"));function k(e){const t=_(e),r=new Uint8Array(t.length);for(let e=0;ew.Buffer.from(e,"binary").toString("base64"));function S(e){const t=[];for(let r=0;r>>3){case 1:i.signatures.push(t.SignatureDescriptor.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},f);if(r.signatures=[],void 0!==e.signatures&&null!==e.signatures)for(const n of e.signatures)r.signatures.push(t.SignatureDescriptor.fromJSON(n));return r},fromPartial(e){const r=Object.assign({},f);if(r.signatures=[],void 0!==e.signatures&&null!==e.signatures)for(const n of e.signatures)r.signatures.push(t.SignatureDescriptor.fromPartial(n));return r},toJSON(e){const r={};return e.signatures?r.signatures=e.signatures.map(e=>e?t.SignatureDescriptor.toJSON(e):void 0):r.signatures=[],r}};const d={sequence:i.default.UZERO};t.SignatureDescriptor={encode:(e,r=a.default.Writer.create())=>(void 0!==e.publicKey&&void 0!==e.publicKey&&o.Any.encode(e.publicKey,r.uint32(10).fork()).ldelim(),void 0!==e.data&&void 0!==e.data&&t.SignatureDescriptor_Data.encode(e.data,r.uint32(18).fork()).ldelim(),r.uint32(24).uint64(e.sequence),r),decode(e,r){const n=e instanceof Uint8Array?new a.default.Reader(e):e;let i=void 0===r?n.len:n.pos+r;const s=Object.assign({},d);for(;n.pos>>3){case 1:s.publicKey=o.Any.decode(n,n.uint32());break;case 2:s.data=t.SignatureDescriptor_Data.decode(n,n.uint32());break;case 3:s.sequence=n.uint64();break;default:n.skipType(7&e)}}return s},fromJSON(e){const r=Object.assign({},d);return void 0!==e.publicKey&&null!==e.publicKey?r.publicKey=o.Any.fromPartial(e.publicKey):r.publicKey=void 0,void 0!==e.data&&null!==e.data?r.data=t.SignatureDescriptor_Data.fromJSON(e.data):r.data=void 0,void 0!==e.sequence&&null!==e.sequence?r.sequence=i.default.fromString(e.sequence):r.sequence=i.default.UZERO,r},fromPartial(e){const r=Object.assign({},d);return void 0!==e.publicKey&&null!==e.publicKey?r.publicKey=o.Any.fromPartial(e.publicKey):r.publicKey=void 0,void 0!==e.data&&null!==e.data?r.data=t.SignatureDescriptor_Data.fromPartial(e.data):r.data=void 0,void 0!==e.sequence&&null!==e.sequence?r.sequence=e.sequence:r.sequence=i.default.UZERO,r},toJSON(e){const r={};return void 0!==e.publicKey&&(r.publicKey=e.publicKey?o.Any.toJSON(e.publicKey):void 0),void 0!==e.data&&(r.data=e.data?t.SignatureDescriptor_Data.toJSON(e.data):void 0),void 0!==e.sequence&&(r.sequence=(e.sequence||i.default.UZERO).toString()),r}};const h={};t.SignatureDescriptor_Data={encode:(e,r=a.default.Writer.create())=>(void 0!==e.single&&t.SignatureDescriptor_Data_Single.encode(e.single,r.uint32(10).fork()).ldelim(),void 0!==e.multi&&t.SignatureDescriptor_Data_Multi.encode(e.multi,r.uint32(18).fork()).ldelim(),r),decode(e,r){const n=e instanceof Uint8Array?new a.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const i=Object.assign({},h);for(;n.pos>>3){case 1:i.single=t.SignatureDescriptor_Data_Single.decode(n,n.uint32());break;case 2:i.multi=t.SignatureDescriptor_Data_Multi.decode(n,n.uint32());break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},h);return void 0!==e.single&&null!==e.single?r.single=t.SignatureDescriptor_Data_Single.fromJSON(e.single):r.single=void 0,void 0!==e.multi&&null!==e.multi?r.multi=t.SignatureDescriptor_Data_Multi.fromJSON(e.multi):r.multi=void 0,r},fromPartial(e){const r=Object.assign({},h);return void 0!==e.single&&null!==e.single?r.single=t.SignatureDescriptor_Data_Single.fromPartial(e.single):r.single=void 0,void 0!==e.multi&&null!==e.multi?r.multi=t.SignatureDescriptor_Data_Multi.fromPartial(e.multi):r.multi=void 0,r},toJSON(e){const r={};return void 0!==e.single&&(r.single=e.single?t.SignatureDescriptor_Data_Single.toJSON(e.single):void 0),void 0!==e.multi&&(r.multi=e.multi?t.SignatureDescriptor_Data_Multi.toJSON(e.multi):void 0),r}};const p={mode:0};t.SignatureDescriptor_Data_Single={encode:(e,t=a.default.Writer.create())=>(t.uint32(8).int32(e.mode),t.uint32(18).bytes(e.signature),t),decode(e,t){const r=e instanceof Uint8Array?new a.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},p);for(;r.pos>>3){case 1:o.mode=r.int32();break;case 2:o.signature=r.bytes();break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},p);return void 0!==e.mode&&null!==e.mode?t.mode=u(e.mode):t.mode=0,void 0!==e.signature&&null!==e.signature&&(t.signature=function(e){const t=y(e),r=new Uint8Array(t.length);for(let e=0;e>>3){case 1:i.bitarray=s.CompactBitArray.decode(n,n.uint32());break;case 2:i.signatures.push(t.SignatureDescriptor_Data.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return i},fromJSON(e){const r=Object.assign({},g);if(r.signatures=[],void 0!==e.bitarray&&null!==e.bitarray?r.bitarray=s.CompactBitArray.fromJSON(e.bitarray):r.bitarray=void 0,void 0!==e.signatures&&null!==e.signatures)for(const n of e.signatures)r.signatures.push(t.SignatureDescriptor_Data.fromJSON(n));return r},fromPartial(e){const r=Object.assign({},g);if(r.signatures=[],void 0!==e.bitarray&&null!==e.bitarray?r.bitarray=s.CompactBitArray.fromPartial(e.bitarray):r.bitarray=void 0,void 0!==e.signatures&&null!==e.signatures)for(const n of e.signatures)r.signatures.push(t.SignatureDescriptor_Data.fromPartial(n));return r},toJSON(e){const r={};return void 0!==e.bitarray&&(r.bitarray=e.bitarray?s.CompactBitArray.toJSON(e.bitarray):void 0),e.signatures?r.signatures=e.signatures.map(e=>e?t.SignatureDescriptor_Data.toJSON(e):void 0):r.signatures=[],r}};var m=(()=>{if(void 0!==m)return m;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const y=m.atob||(e=>m.Buffer.from(e,"base64").toString("binary"));const b=m.btoa||(e=>m.Buffer.from(e,"binary").toString("base64"))}).call(this,r(12))},function(e,t,r){"use strict";(function(e){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompactBitArray=t.MultiSignature=t.protobufPackage=void 0;const o=n(r(48));t.protobufPackage="cosmos.crypto.multisig.v1beta1";const i={};t.MultiSignature={encode(e,t=o.default.Writer.create()){for(const r of e.signatures)t.uint32(10).bytes(r);return t},decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},i);for(s.signatures=[];r.pos>>3){case 1:s.signatures.push(r.bytes());break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},i);if(t.signatures=[],void 0!==e.signatures&&null!==e.signatures)for(const r of e.signatures)t.signatures.push(u(r));return t},fromPartial(e){const t=Object.assign({},i);if(t.signatures=[],void 0!==e.signatures&&null!==e.signatures)for(const r of e.signatures)t.signatures.push(r);return t},toJSON(e){const t={};return e.signatures?t.signatures=e.signatures.map(e=>f(void 0!==e?e:new Uint8Array)):t.signatures=[],t}};const s={extraBitsStored:0};t.CompactBitArray={encode:(e,t=o.default.Writer.create())=>(t.uint32(8).uint32(e.extraBitsStored),t.uint32(18).bytes(e.elems),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const i=Object.assign({},s);for(;r.pos>>3){case 1:i.extraBitsStored=r.uint32();break;case 2:i.elems=r.bytes();break;default:r.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},s);return void 0!==e.extraBitsStored&&null!==e.extraBitsStored?t.extraBitsStored=Number(e.extraBitsStored):t.extraBitsStored=0,void 0!==e.elems&&null!==e.elems&&(t.elems=u(e.elems)),t},fromPartial(e){const t=Object.assign({},s);return void 0!==e.extraBitsStored&&null!==e.extraBitsStored?t.extraBitsStored=e.extraBitsStored:t.extraBitsStored=0,void 0!==e.elems&&null!==e.elems?t.elems=e.elems:t.elems=new Uint8Array,t},toJSON(e){const t={};return void 0!==e.extraBitsStored&&(t.extraBitsStored=e.extraBitsStored),void 0!==e.elems&&(t.elems=f(void 0!==e.elems?e.elems:new Uint8Array)),t}};var a=(()=>{if(void 0!==a)return a;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const c=a.atob||(e=>a.Buffer.from(e,"base64").toString("binary"));function u(e){const t=c(e),r=new Uint8Array(t.length);for(let e=0;ea.Buffer.from(e,"binary").toString("base64"));function f(e){const t=[];for(let r=0;r=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},i=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SecretWasmService=void 0;const c=r(43),u=r(52),l=r(731),f=r(103),d=r(58),h=r(102),p=r(108),g=r(11),m=a(r(342)),y=r(2);let b=class{constructor(e,t,r,n){this.kvStore=e,this.chainsService=t,this.keyRingService=r,this.permissionService=n,this.debouncerMap=new Map,this.cacheEnigmaUtils=new Map,this.onChainRemoved=()=>{this.cacheEnigmaUtils=new Map},this.chainsService.addChainRemovedHandler(this.onChainRemoved)}getPubkey(e,t){return s(this,void 0,void 0,(function*(){const r=yield this.chainsService.getChainInfo(t);if("none"===(yield this.keyRingService.getKeyRingType()))throw new Error("Key ring is not initialized");const n=yield this.getSeed(e,r);return this.getEnigmaUtils(r,n).pubkey}))}getTxEncryptionKey(e,t,r){return s(this,void 0,void 0,(function*(){const n=yield this.chainsService.getChainInfo(t);if("none"===(yield this.keyRingService.getKeyRingType()))throw new Error("Key ring is not initialized");const o=yield this.getSeed(e,n);return this.getEnigmaUtils(n,o).getTxEncryptionKey(r)}))}encrypt(e,t,r,n){return s(this,void 0,void 0,(function*(){const o=yield this.chainsService.getChainInfo(t);if("none"===(yield this.keyRingService.getKeyRingType()))throw new Error("Key ring is not initialized");const i=yield this.getSeed(e,o),s=this.getEnigmaUtils(o,i);return yield s.encrypt(r,n)}))}decrypt(e,t,r,n){return s(this,void 0,void 0,(function*(){const o=yield this.chainsService.getChainInfo(t);if("none"===(yield this.keyRingService.getKeyRingType()))throw new Error("Key ring is not initialized");const i=yield this.getSeed(e,o),s=this.getEnigmaUtils(o,i);return yield s.decrypt(r,n)}))}getEnigmaUtils(e,t){const r=`${e.chainId}-${y.Buffer.from(t).toString("hex")}`;if(this.cacheEnigmaUtils.has(r))return this.cacheEnigmaUtils.get(r);const n=new l.EnigmaUtils(e.rest,t);return this.cacheEnigmaUtils.set(r,n),n}getSeed(e,t){return s(this,void 0,void 0,(function*(){const r=yield this.keyRingService.getKey(t.chainId),n=new g.Bech32Address(r.address).toBech32(t.bech32Config.bech32PrefixAccAddr),o=`${e.isInternalMsg}/${t.chainId}/${n}`;this.debouncerMap.has(o)||this.debouncerMap.set(o,m.default.promise(this.getSeedInner.bind(this)));const i=this.debouncerMap.get(o);return yield i(e,t,n)}))}getSeedInner(e,t,r){return s(this,void 0,void 0,(function*(){const n=`seed-${t.chainId}-${r}`,o=yield this.kvStore.get(n);if(o)return y.Buffer.from(o,"hex");const i=p.Hash.sha256(y.Buffer.from(yield this.keyRingService.sign(e,t.chainId,y.Buffer.from(JSON.stringify({account_number:0,chain_id:t.chainId,fee:[],memo:"Create Keplr Secret encryption key. Only approve requests by Keplr.",msgs:[],sequence:0})))));return yield this.kvStore.set(n,y.Buffer.from(i).toString("hex")),i}))}};b=n([c.singleton(),i(0,c.inject(u.TYPES.SecretWasmStore)),i(1,c.inject(d.ChainsService)),i(2,c.inject(c.delay(()=>f.KeyRingService))),i(3,c.inject(c.delay(()=>h.PermissionService))),o("design:paramtypes",[Object,d.ChainsService,f.KeyRingService,h.PermissionService])],b),t.SecretWasmService=b},function(e,t,r){"use strict";(function(e){var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(117)),i=r(361);class s{static toHex(e){let t="";for(const r of e)t+=("0"+r.toString(16)).slice(-2);return t}static fromHex(e){if(e.length%2!=0)throw new Error("hex string length must be a multiple of 2");const t=[];for(let r=0;r{const t=e.charCodeAt(0);if(t<32||t>126)throw new Error("Cannot encode character that is out of printable ASCII range: "+t);return t}))}static fromAscii(e){return(t=Array.from(e),t.map(e=>{if(e<32||e>126)throw new Error("Cannot decode character that is out of printable ASCII range: "+e);return String.fromCharCode(e)})).join("");var t}static toUtf8(t){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(t):new Uint8Array(e.from(t,"utf8"))}static fromUtf8(t){if("undefined"!=typeof TextDecoder)return new TextDecoder("utf-8",{fatal:!0}).decode(t);if(!s.isValidUtf8(t))throw new Error("Invalid UTF8 data");return e.from(t).toString("utf8")}static fromRfc3339(e){const t=/^(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(\.\d{1,9})?((?:[+-]\d{2}:\d{2})|Z)$/.exec(e);if(!t)throw new Error("Date string is not in RFC3339 format");const r=+t[1],n=+t[2],o=+t[3],s=+t[4],a=+t[5],c=+t[6],u=t[7]?Math.floor(1e3*+t[7]):0;let l,f,d;"Z"===t[8]?(l=1,f=0,d=0):(l="-"===t[8].substring(0,1)?-1:1,f=+t[8].substring(1,3),d=+t[8].substring(4,6));const h=l*(60*f+d)*60;return new i.ReadonlyDate(i.ReadonlyDate.UTC(r,n-1,o,s,a,c,u)-1e3*h)}static toRfc3339(e){function t(e,t=2){const r="00000"+e.toString();return r.substring(r.length-t)}return`${e.getUTCFullYear()}-${t(e.getUTCMonth()+1)}-${t(e.getUTCDate())}T${t(e.getUTCHours())}:${t(e.getUTCMinutes())}:${t(e.getUTCSeconds())}.${t(e.getUTCMilliseconds(),3)}Z`}static isValidUtf8(t){const r=e.from(e.from(t).toString("utf8"),"utf8");return 0===e.compare(e.from(t),r)}}t.Encoding=s}).call(this,r(2).Buffer)},function(e,t){e.exports={ReadonlyDate:Date}},function(e,t,r){"use strict";(function(e){function r(e){return"object"==typeof e&&null!==e}Object.defineProperty(t,"__esModule",{value:!0}),t.isNonNullObject=r,t.isUint8Array=function(t){return!!r(t)&&("[object Uint8Array]"===Object.prototype.toString.call(t)&&(void 0===e||void 0===e.isBuffer||!e.isBuffer(t)))}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(748);Object.defineProperty(t,"assert",{enumerable:!0,get:function(){return n.assert}});var o=r(749);Object.defineProperty(t,"sleep",{enumerable:!0,get:function(){return o.sleep}});var i=r(750);Object.defineProperty(t,"isNonNullObject",{enumerable:!0,get:function(){return i.isNonNullObject}}),Object.defineProperty(t,"isUint8Array",{enumerable:!0,get:function(){return i.isUint8Array}})},function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(69));class i{constructor(e){if(!i.mnemonicMatcher.test(e))throw new Error("Invalid mnemonic format");const t=e.split(" "),r=[12,15,18,21,24];if(-1===r.indexOf(t.length))throw new Error(`Invalid word count in mnemonic (allowed: ${r} got: ${t.length})`);for(const e of t)if(-1===i.wordlist.indexOf(e))throw new Error("Mnemonic contains invalid word");o.mnemonicToEntropy(e),this.data=e}toString(){return this.data}}t.EnglishMnemonic=i,i.wordlist=o.wordlists.english,i.mnemonicMatcher=/^[a-z]+( [a-z]+)*$/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Hmac=class{constructor(e,t){const r=(new e).blockSize;this.hash=t=>(new e).update(t).digest();let n=t;if(n.length>r&&(n=this.hash(n)),n.length92^e),this.iKeyPad=n.map(e=>54^e),this.messageHasher=new e,this.blockSize=r,this.update(this.iKeyPad)}update(e){return this.messageHasher.update(e),this}digest(){const e=this.messageHasher.digest();return this.hash(new Uint8Array([...this.oKeyPad,...e]))}}},function(e,t,r){"use strict";function n(e){let t=0;for(const r of e){if(0!==r)break;t++}return e.slice(t)}Object.defineProperty(t,"__esModule",{value:!0});class o{constructor(e,t){if(e.length>32||0===e.length||0===e[0])throw new Error("Unsigned integer r must be encoded as unpadded big endian.");if(t.length>32||0===t.length||0===t[0])throw new Error("Unsigned integer s must be encoded as unpadded big endian.");this.data={r:e,s:t}}static fromFixedLength(e){if(64!==e.length)throw new Error(`Got invalid data length: ${e.length}. Expected 2x 32 bytes for the pair (r, s)`);return new o(n(e.slice(0,32)),n(e.slice(32,64)))}static fromDer(e){let t=0;if(48!==e[t++])throw new Error("Prefix 0x30 expected");const r=e[t++];if(e.length-t!==r)throw new Error("Data length mismatch detected");if(2!==e[t++])throw new Error("INTEGER tag expected");const i=e[t++];if(i>=128)throw new Error("Decoding length values above 127 not supported");const s=e.slice(t,t+i);t+=i;if(2!==e[t++])throw new Error("INTEGER tag expected");const a=e[t++];if(a>=128)throw new Error("Decoding length values above 127 not supported");const c=e.slice(t,t+a);return t+=a,new o(n(s),n(c))}r(e){if(void 0===e)return this.data.r;{const t=e-this.data.r.length;if(t<0)throw new Error("Length too small to hold parameter r");const r=new Uint8Array(t);return new Uint8Array([...r,...this.data.r])}}s(e){if(void 0===e)return this.data.s;{const t=e-this.data.s.length;if(t<0)throw new Error("Length too small to hold parameter s");const r=new Uint8Array(t);return new Uint8Array([...r,...this.data.s])}}toDer(){const e=this.data.r[0]>=128?new Uint8Array([0,...this.data.r]):this.data.r,t=this.data.s[0]>=128?new Uint8Array([0,...this.data.s]):this.data.s,r=e.length,n=t.length,o=new Uint8Array([2,r,...e,2,n,...t]);return new Uint8Array([48,o.length,...o])}}t.Secp256k1Signature=o;class i extends o{constructor(e,t,r){if(super(e,t),!Number.isInteger(r))throw new Error("The recovery parameter must be an integer.");if(r<0||r>4)throw new Error("The recovery parameter must be one of 0, 1, 2, 3.");this.recovery=r}static fromFixedLength(e){if(65!==e.length)throw new Error(`Got invalid data length ${e.length}. Expected 32 + 32 + 1`);return new i(n(e.slice(0,32)),n(e.slice(32,64)),e[64])}toFixedLength(){return new Uint8Array([...this.r(32),...this.s(32),this.recovery])}}t.ExtendedSecp256k1Signature=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(76));t.Sha1=class{constructor(e){this.blockSize=64,this.impl=o.default("sha1"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}};t.Sha256=class{constructor(e){this.blockSize=64,this.impl=o.default("sha256"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}};t.Sha512=class{constructor(e){this.blockSize=128,this.impl=o.default("sha512"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(761),i=r(769),s=r(42),a=r(770),c=n(r(68)),u=r(772),l=new o.PolyfillCryptoProvider,f=Uint8Array.from([0,0,0,0,0,0,0,0,0,2,75,234,216,223,105,153,8,82,194,2,219,14,0,151,193,161,46,166,55,215,233,109]);class d{constructor(e,t){this.consensusIoPubKey=new Uint8Array,this.apiUrl=e,this.seed=t||d.GenerateNewSeed();const{privkey:r,pubkey:n}=d.GenerateNewKeyPairFromSeed(this.seed);this.privkey=r,this.pubkey=n}static GenerateNewKeyPair(){return d.GenerateNewKeyPairFromSeed(d.GenerateNewSeed())}static GenerateNewSeed(){return a(32,{type:"Uint8Array"})}static GenerateNewKeyPairFromSeed(e){const{private:t,public:r}=i.generateKeyPair(e);return{privkey:t,pubkey:r}}async getConsensusIoPubKey(){if(32===this.consensusIoPubKey.length)return this.consensusIoPubKey;const{data:{result:{ioExchPubkey:e}}}=await c.default.get(this.apiUrl+"/reg/consensus-io-exch-pubkey",{headers:{"Content-Type":"application/json"}});return this.consensusIoPubKey=s.Encoding.fromBase64(e),this.consensusIoPubKey}async getTxEncryptionKey(e){const t=await this.getConsensusIoPubKey(),r=i.sharedKey(this.privkey,t),{key:n}=await u.compute(Uint8Array.from([...r,...e]),"SHA-256",32,"",f);return n}async encrypt(e,t){const r=a(32,{type:"Uint8Array"}),n=await this.getTxEncryptionKey(r),i=await o.SIV.importKey(n,"AES-SIV",l),c=s.Encoding.toUtf8(e+JSON.stringify(t)),u=await i.seal(c,[new Uint8Array]);return Uint8Array.from([...r,...this.pubkey,...u])}async decrypt(e,t){if(0===e.length)return new Uint8Array;const r=await this.getTxEncryptionKey(t),n=await o.SIV.importKey(r,"AES-SIV",l);return await n.open(e,[new Uint8Array])}getPubkey(){return Promise.resolve(this.pubkey)}}t.default=d,e.exports=d},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(140),i=r(370);class s{static importKey(e,t,r=new o.WebCryptoProvider){return n(this,void 0,void 0,(function*(){return new s(yield i.SIV.importKey(e,t,r))}))}constructor(e){this._siv=e}seal(e,t,r=new Uint8Array(0)){return n(this,void 0,void 0,(function*(){return this._siv.seal(e,[r,t])}))}open(e,t,r=new Uint8Array(0)){return n(this,void 0,void 0,(function*(){return this._siv.open(e,[r,t])}))}clear(){return this._siv.clear(),this}}t.AEAD=s},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(199),i=r(200),s=r(201),a=r(198),c=r(106),u=r(371),l=r(372),f=r(140);t.MAX_ASSOCIATED_DATA=126;class d{static importKey(e,t,r=new f.WebCryptoProvider){return n(this,void 0,void 0,(function*(){if(32!==e.length&&64!==e.length)throw new Error("AES-SIV: key must be 32 or 64-bytes (got "+e.length);const n=e.subarray(0,e.length/2|0),o=e.subarray(e.length/2|0);let i;switch(t){case"AES-SIV":case"AES-CMAC-SIV":i=yield u.CMAC.importKey(r,n);break;case"AES-PMAC-SIV":i=yield l.PMAC.importKey(r,n);break;default:throw new a.NotImplementedError("Miscreant: algorithm not supported: "+t)}const s=yield r.importCTRKey(o);return new d(i,s)}))}constructor(e,t){this._mac=e,this._ctr=t,this._tmp1=new c.default,this._tmp2=new c.default}seal(e,r){return n(this,void 0,void 0,(function*(){if(r.length>t.MAX_ASSOCIATED_DATA)throw new Error("AES-SIV: too many associated data items");const n=c.default.SIZE+e.length,o=new Uint8Array(n),i=yield this._s2v(r,e);return o.set(i),h(i),o.set(yield this._ctr.encryptCtr(i,e),i.length),o}))}open(e,r){return n(this,void 0,void 0,(function*(){if(r.length>t.MAX_ASSOCIATED_DATA)throw new Error("AES-SIV: too many associated data items");if(e.length=c.default.SIZE){const e=t.length-c.default.SIZE;this._tmp1.data.set(t.subarray(e)),yield this._mac.update(t.subarray(0,e))}else this._tmp1.data.set(t),this._tmp1.data[t.length]=128,this._tmp2.dbl();return s.xor(this._tmp1.data,this._tmp2.data),yield this._mac.update(this._tmp1.data),this._mac.finish()}))}}function h(e){e[e.length-8]&=127,e[e.length-4]&=127}t.SIV=d},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(106),i=r(201);class s{constructor(e,t,r){this._cipher=e,this._subkey1=t,this._subkey2=r,this._bufferPos=0,this._finished=!1,this._buffer=new o.default}static importKey(e,t){return n(this,void 0,void 0,(function*(){const r=yield e.importBlockCipherKey(t),n=new o.default;yield r.encryptBlock(n),n.dbl();const i=n.clone();return i.dbl(),new s(r,n,i)}))}reset(){return this._buffer.clear(),this._bufferPos=0,this._finished=!1,this}clear(){this.reset(),this._subkey1.clear(),this._subkey2.clear()}update(e){return n(this,void 0,void 0,(function*(){const t=o.default.SIZE-this._bufferPos;let r=0,n=e.length;if(n>t){for(let r=0;ro.default.SIZE;){for(let t=0;t0;e--){const t=i.select(1&a.data[e-1],128,0);a.data[e]=a.data[e]>>>1|t}return a.data[0]>>>=1,a.data[0]^=i.select(u,128,0),a.data[o.default.SIZE-1]^=i.select(u,o.default.R>>>1,0),new c(r,s,a)}))}reset(){return this._buffer.clear(),this._bufferPos=0,this._counter=0,this._offset.clear(),this._tag.clear(),this._finished=!1,this}clear(){this.reset(),this._cipher.clear()}update(e){return n(this,void 0,void 0,(function*(){if(this._finished)throw new Error("pmac: already finished");const t=o.default.SIZE-this._bufferPos;let r=0,n=e.length;for(n>t&&(this._buffer.data.set(e.slice(0,t),this._bufferPos),r+=t,n-=t,yield this._processBuffer());n>o.default.SIZE;)this._buffer.data.set(e.slice(r,r+o.default.SIZE)),r+=o.default.SIZE,n-=o.default.SIZE,yield this._processBuffer();return n>0&&(this._buffer.data.set(e.slice(r,r+n),this._bufferPos),this._bufferPos+=n),this}))}finish(){return n(this,void 0,void 0,(function*(){if(this._finished)throw new Error("pmac: already finished");return this._bufferPos===o.default.SIZE?(a.xor(this._tag.data,this._buffer.data),a.xor(this._tag.data,this._LInv.data)):(a.xor(this._tag.data,this._buffer.data.slice(0,this._bufferPos)),this._tag.data[this._bufferPos]^=128),yield this._cipher.encryptBlock(this._tag),this._finished=!0,this._tag.clone().data}))}_processBuffer(){return n(this,void 0,void 0,(function*(){a.xor(this._offset.data,this._L[s.ctz(this._counter+1)].data),a.xor(this._buffer.data,this._offset.data),this._counter++,yield this._cipher.encryptBlock(this._buffer),a.xor(this._tag.data,this._buffer.data),this._bufferPos=0}))}}t.PMAC=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={hashes:{"SHA3-512":{nodeName:"sha3-512",hashSize:64},"SHA3-384":{nodeName:"sha3-384",hashSize:48},"SHA3-256":{nodeName:"sha3-256",hashSize:32},"SHA3-224":{nodeName:"sha3-224",hashSize:28},"SHA-256":{nodeName:"sha256",hashSize:32},"SHA-384":{nodeName:"sha384",hashSize:48},"SHA-512":{nodeName:"sha512",hashSize:64},"SHA-1":{nodeName:"sha1",hashSize:20},MD5:{nodeName:"md5",hashSize:16}}}},function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(779));t.compute=o.compute,t.default={compute:t.compute}},function(e,t){var r={utf8:{stringToBytes:function(e){return r.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(r.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r126||e[r]<32&&13!==e[r]&&10!==e[r]){t=!1;break}var n=null;if(t){n="";for(r=0;ro.Encoding.fromBase64(e))}}async searchTx(e,t={}){const r=t.minHeight||0,n=t.maxHeight||Number.MAX_SAFE_INTEGER;if(ne.hash);i=[...n,...s.filter(e=>!a.includes(e.hash))]}else{if(!function(e){return void 0!==e.tags}(e))throw new Error("Unknown query type");{const t=o(e.tags.map(e=>`${e.key}=${e.value}`).join("&"));i=await this.txsQuery(t)}}return i.filter(e=>e.height>=r&&e.height<=n)}async postTx(e){const t=await this.restClient.postTx(e);if(!t.txhash.match(/^([0-9A-F][0-9A-F])+$/))throw new Error("Received ill-formatted txhash. Must be non-empty upper-case hex");if(t.code)throw new Error(`Error when posting tx ${t.txhash}. Code: ${t.code}; Raw log: ${t.raw_log}`);return{logs:t.logs?i.parseLogs(t.logs):[],rawLog:t.raw_log||"",transactionHash:t.txhash,data:t.data||""}}async getCodes(){return(await this.restClient.listCodeInfo()).map(e=>(this.anyValidAddress=e.creator,{id:e.id,creator:e.creator,checksum:o.Encoding.toHex(o.Encoding.fromHex(e.data_hash)),source:e.source||void 0,builder:e.builder||void 0}))}async getCodeDetails(e){const t=this.codesCache.get(e);if(t)return t;const r=await this.restClient.getCode(e),n={id:r.id,creator:r.creator,checksum:o.Encoding.toHex(o.Encoding.fromHex(r.data_hash)),source:r.source||void 0,builder:r.builder||void 0,data:o.Encoding.fromBase64(r.data)};return this.codesCache.set(e,n),n}async getContracts(e){return(await this.restClient.listContractsByCodeId(e)).map(e=>({address:e.address,codeId:e.code_id,creator:e.creator,label:e.label}))}async getContract(e){const t=await this.restClient.getContractInfo(e);if(!t)throw new Error(`No contract found at address "${e}"`);return{address:t.address,codeId:t.code_id,creator:t.creator,label:t.label,initMsg:t.init_msg}}async queryContractSmart(e,t,r){try{return await this.restClient.queryContractSmart(e,t,r)}catch(t){throw t instanceof Error&&t.message.startsWith("not found: contract")?new Error(`No contract found at address "${e}"`):t}}async txsQuery(e){const t=await this.restClient.txsQuery(e+"&limit=100");if(parseInt(t.page_total,10)>1)throw new Error(`Found more results on the backend than we can process currently. Results: ${t.total_count}, supported: 100`);return t.txs.map(e=>({height:parseInt(e.height,10),hash:e.txhash,code:e.code||0,rawLog:e.raw_log,logs:i.parseLogs(e.logs||[]),tx:e.tx,timestamp:e.timestamp}))}getCodeHashByCodeId(e){return this.restClient.getCodeHashByCodeId(e)}getCodeHashByContractAddr(e){return this.restClient.getCodeHashByContractAddr(e)}async getNonceByTxId(e){const t=(await this.restClient.txById(e,!1)).tx.value.msg,r=[];for(const e of t){let t;t="wasm/MsgExecuteContract"===e.type?o.Encoding.fromBase64(e.value.msg).slice(0,32):"wasm/MsgInstantiateContract"===e.type?o.Encoding.fromBase64(e.value.init_msg).slice(0,32):null,r.push(t)}return r}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="secret-wasm"},function(e,t,r){"use strict";var n,o=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundTxService=void 0;const u=r(43),l=c(r(68)),f=r(58),d=r(102),h=r(236),p=r(2);let g=n=class{constructor(e,t){this.chainsService=e,this.permissionService=t}sendTx(e,t,r){return a(this,void 0,void 0,(function*(){const o=yield this.chainsService.getChainInfo(e),i=l.default.create(Object.assign({baseURL:o.rest},o.restConfig));browser.notifications.create({type:"basic",iconUrl:browser.runtime.getURL("assets/temp-icon.svg"),title:"Tx is pending...",message:"Wait a second"});const s={tx:t,mode:r};try{const e=yield i.post("/txs",s);if(null!=e.data.code&&0!==e.data.code)throw new Error(e.data.raw_log);const t=p.Buffer.from(e.data.txhash,"hex"),r=new h.TendermintTxTracer(o.rpc,"/websocket");return r.traceTx(t).then(e=>{r.close(),n.processTxResultNotification(e)}),t}catch(e){throw console.log(e),n.processTxErrorNotification(e),e}}))}static processTxResultNotification(e){var t;try{if("commit"===e.mode){if(void 0!==e.checkTx.code&&0!==e.checkTx.code)throw new Error(e.checkTx.log);if(void 0!==e.deliverTx.code&&0!==e.deliverTx.code)throw new Error(e.deliverTx.log)}else if(null!=e.code&&0!==e.code){const r=null!==(t=e.log)&&void 0!==t?t:e.raw_log;throw new Error(r)}browser.notifications.create({type:"basic",iconUrl:browser.runtime.getURL("assets/temp-icon.svg"),title:"Tx succeeds",message:"Congratulations!"})}catch(e){n.processTxErrorNotification(e)}}static processTxErrorNotification(e){console.log(e);let t=e.message;const r=/code:\s*(-?\d+),\s*message:\s*(.+),\sdata:\s(.+)/g.exec(e.message);r&&4===r.length&&(t=r[3]);try{const r=JSON.parse(e.message);(null==r?void 0:r.message)&&(t=r.message)}catch(e){}try{const r=JSON.parse(e.message);if(r&&r.length>0)for(const e of r)if(!e.success){const r=JSON.parse(e.log);if(null==r?void 0:r.message){t=r.message;break}}}catch(e){}browser.notifications.create({type:"basic",iconUrl:browser.runtime.getURL("assets/temp-icon.svg"),title:"Tx failed",message:t})}};g=n=o([u.singleton(),s(0,u.inject(u.delay(()=>f.ChainsService))),s(1,u.inject(u.delay(()=>d.PermissionService))),i("design:paramtypes",[f.ChainsService,d.PermissionService])],g),t.BackgroundTxService=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="background-tx"},function(e,t,r){"use strict";var n,o=this&&this.__decorate||function(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},s=this&&this.__param||function(e,t){return function(r,n){t(r,n,e)}},a=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.TokensService=void 0;const c=r(43),u=r(52),l=r(58),f=r(11),d=r(58),h=r(103),p=r(103),g=r(83),m=r(102),y=r(2),b=r(142),v=r(383);let w=n=class{constructor(e,t,r,n,o){this.kvStore=e,this.interactionService=t,this.permissionService=r,this.chainsService=n,this.keyRingService=o,this.onChainRemoved=e=>{this.clearTokens(e)},this.chainsService.addChainRemovedHandler(this.onChainRemoved)}suggestToken(e,t,r,n){return a(this,void 0,void 0,(function*(){const o=yield this.chainsService.getChainInfo(t);if((yield this.getTokens(t)).find(e=>"contractAddress"in e&&e.contractAddress===r))return;f.Bech32Address.validate(r,o.bech32Config.bech32PrefixAccAddr);const i={chainId:t,contractAddress:r,viewingKey:n},s=yield this.interactionService.waitApprove(e,"/setting/token/add",b.SuggestTokenMsg.type(),i);yield this.addToken(t,s)}))}addToken(e,t){return a(this,void 0,void 0,(function*(){const r=yield this.chainsService.getChainInfo(e);t=yield n.validateCurrency(r,t);const o=yield this.getTokens(e),i="type"in t&&"secret20"===t.type;let s=!1;for(const e of o)if(t.coinMinimalDenom===e.coinMinimalDenom){if(!i)return;s=!0}if(i){const r=yield this.getTokensFromChainAndAccount(e);if(s){const n=r.findIndex(e=>e.coinMinimalDenom===t.coinMinimalDenom);n>=0&&(r[n]=t,yield this.saveTokensToChainAndAccount(e,r))}else r.push(t),yield this.saveTokensToChainAndAccount(e,r)}else{const r=yield this.getTokensFromChain(e);r.push(t),yield this.saveTokensToChain(e,r)}}))}removeToken(e,t){return a(this,void 0,void 0,(function*(){const r=yield this.chainsService.getChainInfo(e);t=yield n.validateCurrency(r,t);const o=yield this.getTokens(e),i="type"in t&&"secret20"===t.type;let s=!1;for(const e of o)if(t.coinMinimalDenom===e.coinMinimalDenom){s=!0;break}if(s)if(i){const r=(yield this.getTokensFromChainAndAccount(e)).filter(e=>e.coinMinimalDenom!==t.coinMinimalDenom);yield this.saveTokensToChainAndAccount(e,r)}else{const r=(yield this.getTokensFromChain(e)).filter(e=>e.coinMinimalDenom!==t.coinMinimalDenom);yield this.saveTokensToChain(e,r)}}))}getTokens(e){var t,r;return a(this,void 0,void 0,(function*(){const n=f.ChainIdHelper.parse(e),o=null!==(t=yield this.kvStore.get(n.identifier))&&void 0!==t?t:[];let i=[];if(this.keyRingService.keyRingStatus===p.KeyRingStatus.UNLOCKED){const t=yield this.keyRingService.getKey(e);i=null!==(r=yield this.kvStore.get(`${n.identifier}-${y.Buffer.from(t.address).toString("hex")}`))&&void 0!==r?r:[]}return o.concat(i)}))}clearTokens(e){return a(this,void 0,void 0,(function*(){const t=f.ChainIdHelper.parse(e);yield this.kvStore.set(t.identifier,null);const r=yield this.getTokensToAccountReverse(e);for(const e of r)yield this.kvStore.set(`${t.identifier}-${e}`,null);yield this.setTokensToAccountReverse(e,[])}))}getTokensFromChain(e){var t;return a(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e);return null!==(t=yield this.kvStore.get(r.identifier))&&void 0!==t?t:[]}))}saveTokensToChain(e,t){return a(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e);yield this.kvStore.set(r.identifier,t)}))}getTokensFromChainAndAccount(e){var t;return a(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e),n=yield this.keyRingService.getKey(e);return null!==(t=yield this.kvStore.get(`${r.identifier}-${y.Buffer.from(n.address).toString("hex")}`))&&void 0!==t?t:[]}))}saveTokensToChainAndAccount(e,t){return a(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e),n=yield this.keyRingService.getKey(e),o=y.Buffer.from(n.address).toString("hex");yield this.kvStore.set(`${r.identifier}-${o}`,t),yield this.insertTokensToAccountReverse(e,o)}))}getTokensToAccountReverse(e){var t;return a(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e);return null!==(t=yield this.kvStore.get(r.identifier+"-addresses"))&&void 0!==t?t:[]}))}setTokensToAccountReverse(e,t){return a(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e);yield this.kvStore.set(r.identifier+"-addresses",t)}))}insertTokensToAccountReverse(e,t){return a(this,void 0,void 0,(function*(){const r=yield this.getTokensToAccountReverse(e);r.indexOf(t)<0&&(r.push(t),yield this.setTokensToAccountReverse(e,r))}))}getSecret20ViewingKey(e,t){return a(this,void 0,void 0,(function*(){const r=yield this.getTokens(e);for(const e of r)if("type"in e&&"secret20"===e.type&&e.contractAddress===t)return e.viewingKey;throw new Error("There is no matched secret20")}))}checkOrGrantSecret20ViewingKeyPermission(e,t,r,n){return a(this,void 0,void 0,(function*(){yield this.getSecret20ViewingKey(t,r);const o=v.getSecret20ViewingKeyPermissionType(r);this.permissionService.hasPermisson(t,o,n)||(yield this.permissionService.grantPermission(e,"/access/viewing-key",[t],o,[n])),this.permissionService.checkPermission(e,t,o,n)}))}static validateCurrency(e,t){return a(this,void 0,void 0,(function*(){if("type"in t)switch(t.type){case"cw20":t=yield n.validateCW20Currency(e,t);break;case"secret20":t=yield n.validateSecret20Currency(e,t);break;default:throw new Error("Unknown type of currency")}else t=yield l.CurrencySchema.validateAsync(t);return t}))}static validateCW20Currency(e,t){return a(this,void 0,void 0,(function*(){return t=yield l.CW20CurrencyShema.validateAsync(t),f.Bech32Address.validate(t.contractAddress,e.bech32Config.bech32PrefixAccAddr),t}))}static validateSecret20Currency(e,t){return a(this,void 0,void 0,(function*(){return t=yield l.Secret20CurrencyShema.validateAsync(t),f.Bech32Address.validate(t.contractAddress,e.bech32Config.bech32PrefixAccAddr),t}))}};w=n=o([c.singleton(),s(0,c.inject(u.TYPES.TokensStore)),s(1,c.inject(c.delay(()=>g.InteractionService))),s(2,c.inject(c.delay(()=>m.PermissionService))),s(3,c.inject(d.ChainsService)),s(4,c.inject(c.delay(()=>h.KeyRingService))),i("design:paramtypes",[Object,g.InteractionService,m.PermissionService,d.ChainsService,h.KeyRingService])],w),t.TokensService=w},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="tokens"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitSecret20ViewingKeyPermissionType=t.isSecret20ViewingKeyPermissionType=t.getSecret20ViewingKeyPermissionType=void 0,t.getSecret20ViewingKeyPermissionType=function(e){return"viewing-key/"+e},t.isSecret20ViewingKeyPermissionType=function(e){return e.startsWith("viewing-key/")},t.splitSecret20ViewingKeyPermissionType=function(e){return e.replace("viewing-key/","")}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.KeplrEnigmaUtils=void 0;t.KeplrEnigmaUtils=class{constructor(e,t){this.chainId=e,this.keplr=t}getPubkey(){return n(this,void 0,void 0,(function*(){return yield this.keplr.getEnigmaPubKey(this.chainId)}))}getTxEncryptionKey(e){return n(this,void 0,void 0,(function*(){return yield this.keplr.getEnigmaTxEncryptionKey(this.chainId,e)}))}encrypt(e,t){return n(this,void 0,void 0,(function*(){return yield this.keplr.enigmaEncrypt(this.chainId,e,t)}))}decrypt(e,t){return n(this,void 0,void 0,(function*(){return yield this.keplr.enigmaDecrypt(this.chainId,e,t)}))}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.CosmJSOfflineSigner=t.CosmJSOfflineSignerOnlyAmino=void 0;class o{constructor(e,t){this.chainId=e,this.keplr=t}getAccounts(){return n(this,void 0,void 0,(function*(){const e=yield this.keplr.getKey(this.chainId);return[{address:e.bech32Address,algo:"secp256k1",pubkey:e.pubKey}]}))}signAmino(e,t){return n(this,void 0,void 0,(function*(){if(this.chainId!==t.chain_id)throw new Error("Unmatched chain id with the offline signer");if((yield this.keplr.getKey(t.chain_id)).bech32Address!==e)throw new Error("Unknown signer address");return yield this.keplr.signAmino(this.chainId,e,t)}))}sign(e,t){return n(this,void 0,void 0,(function*(){return yield this.signAmino(e,t)}))}}t.CosmJSOfflineSignerOnlyAmino=o;t.CosmJSOfflineSigner=class extends o{constructor(e,t){super(e,t),this.chainId=e,this.keplr=t}signDirect(e,t){return n(this,void 0,void 0,(function*(){if(this.chainId!==t.chainId)throw new Error("Unmatched chain id with the offline signer");if((yield this.keplr.getKey(t.chainId)).bech32Address!==e)throw new Error("Unknown signer address");return yield this.keplr.signDirect(this.chainId,e,t)}))}}},function(e,t,r){"use strict";const n=()=>{const e=new Error("Delay aborted");return e.name="AbortError",e},o=({clearTimeout:e,setTimeout:t,willResolve:r})=>(o,{value:i,signal:s}={})=>{if(s&&s.aborted)return Promise.reject(n());let a,c,u;const l=e||clearTimeout,f=()=>{l(a),u(n())},d=new Promise((e,n)=>{c=()=>{s&&s.removeEventListener("abort",f),r?e(i):n(i)},u=n,a=(t||setTimeout)(c,o)});return s&&s.addEventListener("abort",f,{once:!0}),d.clear=()=>{l(a),a=null,c()},d},i=o({willResolve:!0});i.reject=o({willResolve:!1}),i.range=(e,t,r)=>i(((e,t)=>Math.floor(Math.random()*(t-e+1)+e))(e,t),r),i.createWithTimers=({clearTimeout:e,setTimeout:t})=>{const r=o({clearTimeout:e,setTimeout:t,willResolve:!0});return r.reject=o({clearTimeout:e,setTimeout:t,willResolve:!1}),r},e.exports=i,e.exports.default=i},,,,function(e,t,r){"use strict";var n=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===o}(e)}(e)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function s(e,t,r){return e.concat(t).map((function(e){return i(e,r)}))}function a(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function c(e,t){try{return t in e}catch(e){return!1}}function u(e,t,r){var n={};return r.isMergeableObject(e)&&a(e).forEach((function(t){n[t]=i(e[t],r)})),a(t).forEach((function(o){(function(e,t){return c(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(c(e,o)&&r.isMergeableObject(t[o])?n[o]=function(e,t){if(!t.customMerge)return l;var r=t.customMerge(e);return"function"==typeof r?r:l}(o,r)(e[o],t[o],r):n[o]=i(t[o],r))})),n}function l(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||s,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=i;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):u(e,t,r):i(t,r)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return l(e,r,t)}),{})};var f=l;e.exports=f},,,,,,function(e,t,r){"use strict";var n=r(7).Buffer;e.exports=function(e){if(e.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),r=0;r>>0,l=new Uint8Array(s);e[r];){var f=t[e.charCodeAt(r)];if(255===f)return;for(var d=0,h=s-1;(0!==f||d>>0,l[h]=f%256>>>0,f=f/256>>>0;if(0!==f)throw new Error("Non-zero carry");i=d,r++}if(" "!==e[r]){for(var p=s-i;p!==s&&0===l[p];)p++;var g=n.allocUnsafe(o+(s-p));g.fill(0,0,o);for(var m=o;p!==s;)g[m++]=l[p++];return g}}}return{encode:function(t){if((Array.isArray(t)||t instanceof Uint8Array)&&(t=n.from(t)),!n.isBuffer(t))throw new TypeError("Expected Buffer");if(0===t.length)return"";for(var r=0,o=0,i=0,s=t.length;i!==s&&0===t[i];)i++,r++;for(var u=(s-i)*l+1>>>0,f=new Uint8Array(u);i!==s;){for(var d=t[i],h=0,p=u-1;(0!==d||h>>0,f[p]=d%a>>>0,d=d/a>>>0;if(0!==d)throw new Error("Non-zero carry");o=h,i++}for(var g=u-o;g!==u&&0===f[g];)g++;for(var m=c.repeat(r);g{n(this,void 0,void 0,(function*(){const t=s[e];t&&(yield browser.windows.remove(t))}))})()},t.fitPopupWindow=function(){const e=window.outerWidth-window.innerWidth,t=window.outerHeight-window.innerHeight;browser.windows?browser.windows.getCurrent().then(r=>{null!=(null==r?void 0:r.id)&&browser.windows.update(r.id,{width:o+e,height:i+t})}):window.resizeTo(o+e,i+t)},t.disableScroll=function(){document.getElementsByTagName("html")[0].style.overflow="hidden"},t.enableScroll=function(){document.getElementsByTagName("html")[0].style.overflow=""}},function(e,t){(function(t){e.exports=t}).call(this,{})},,function(e,t,r){"use strict";(function(t){!function(r){function n(e){const t=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);let r=1779033703,n=3144134277,o=1013904242,i=2773480762,s=1359893119,a=2600822924,c=528734635,u=1541459225;const l=new Uint32Array(64);function f(e){let f=0,d=e.length;for(;d>=64;){let h,p,g,m,y,b=r,v=n,w=o,_=i,k=s,O=a,S=c,E=u;for(p=0;p<16;p++)g=f+4*p,l[p]=(255&e[g])<<24|(255&e[g+1])<<16|(255&e[g+2])<<8|255&e[g+3];for(p=16;p<64;p++)h=l[p-2],m=(h>>>17|h<<15)^(h>>>19|h<<13)^h>>>10,h=l[p-15],y=(h>>>7|h<<25)^(h>>>18|h<<14)^h>>>3,l[p]=(m+l[p-7]|0)+(y+l[p-16]|0)|0;for(p=0;p<64;p++)m=(((k>>>6|k<<26)^(k>>>11|k<<21)^(k>>>25|k<<7))+(k&O^~k&S)|0)+(E+(t[p]+l[p]|0)|0)|0,y=((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+(b&v^b&w^v&w)|0,E=S,S=O,O=k,k=_+m|0,_=w,w=v,v=b,b=m+y|0;r=r+b|0,n=n+v|0,o=o+w|0,i=i+_|0,s=s+k|0,a=a+O|0,c=c+S|0,u=u+E|0,f+=64,d-=64}}f(e);let d,h=e.length%64,p=e.length/536870912|0,g=e.length<<3,m=h<56?56:120,y=e.slice(e.length-h,e.length);for(y.push(128),d=h+1;d>>24&255),y.push(p>>>16&255),y.push(p>>>8&255),y.push(p>>>0&255),y.push(g>>>24&255),y.push(g>>>16&255),y.push(g>>>8&255),y.push(g>>>0&255),f(y),[r>>>24&255,r>>>16&255,r>>>8&255,r>>>0&255,n>>>24&255,n>>>16&255,n>>>8&255,n>>>0&255,o>>>24&255,o>>>16&255,o>>>8&255,o>>>0&255,i>>>24&255,i>>>16&255,i>>>8&255,i>>>0&255,s>>>24&255,s>>>16&255,s>>>8&255,s>>>0&255,a>>>24&255,a>>>16&255,a>>>8&255,a>>>0&255,c>>>24&255,c>>>16&255,c>>>8&255,c>>>0&255,u>>>24&255,u>>>16&255,u>>>8&255,u>>>0&255]}function o(e,t,r){e=e.length<=64?e:n(e);const o=64+t.length+4,i=new Array(o),s=new Array(64);let a,c=[];for(a=0;a<64;a++)i[a]=54;for(a=0;a=o-4;e--){if(i[e]++,i[e]<=255)return;i[e]=0}}for(;r>=32;)u(),c=c.concat(n(s.concat(n(i)))),r-=32;return r>0&&(u(),c=c.concat(n(s.concat(n(i))).slice(0,r))),c}function i(e,t,r,n,o){let i;for(u(e,16*(2*r-1),o,0,16),i=0;i<2*r;i++)c(e,16*i,o,16),a(o,n),u(o,0,e,t+16*i,16);for(i=0;i>>32-t}function a(e,t){u(e,0,t,0,16);for(let e=8;e>0;e-=2)t[4]^=s(t[0]+t[12],7),t[8]^=s(t[4]+t[0],9),t[12]^=s(t[8]+t[4],13),t[0]^=s(t[12]+t[8],18),t[9]^=s(t[5]+t[1],7),t[13]^=s(t[9]+t[5],9),t[1]^=s(t[13]+t[9],13),t[5]^=s(t[1]+t[13],18),t[14]^=s(t[10]+t[6],7),t[2]^=s(t[14]+t[10],9),t[6]^=s(t[2]+t[14],13),t[10]^=s(t[6]+t[2],18),t[3]^=s(t[15]+t[11],7),t[7]^=s(t[3]+t[15],9),t[11]^=s(t[7]+t[3],13),t[15]^=s(t[11]+t[7],18),t[1]^=s(t[0]+t[3],7),t[2]^=s(t[1]+t[0],9),t[3]^=s(t[2]+t[1],13),t[0]^=s(t[3]+t[2],18),t[6]^=s(t[5]+t[4],7),t[7]^=s(t[6]+t[5],9),t[4]^=s(t[7]+t[6],13),t[5]^=s(t[4]+t[7],18),t[11]^=s(t[10]+t[9],7),t[8]^=s(t[11]+t[10],9),t[9]^=s(t[8]+t[11],13),t[10]^=s(t[9]+t[8],18),t[12]^=s(t[15]+t[14],7),t[13]^=s(t[12]+t[15],9),t[14]^=s(t[13]+t[12],13),t[15]^=s(t[14]+t[13],18);for(let r=0;r<16;++r)e[r]+=t[r]}function c(e,t,r,n){for(let o=0;o=256)return!1}return!0}function f(e,t){if("number"!=typeof e||e%1)throw new Error("invalid "+t);return e}function d(e,r,n,s,a,d,h){if(n=f(n,"N"),s=f(s,"r"),a=f(a,"p"),d=f(d,"dkLen"),0===n||0!=(n&n-1))throw new Error("N must be power of 2");if(n>2147483647/128/s)throw new Error("N too large");if(s>2147483647/128/a)throw new Error("r too large");if(!l(e))throw new Error("password must be an array or buffer");if(e=Array.prototype.slice.call(e),!l(r))throw new Error("salt must be an array or buffer");r=Array.prototype.slice.call(r);let p=o(e,r,128*a*s);const g=new Uint32Array(32*a*s);for(let e=0;ex&&(t=x);for(let e=0;ex&&(t=x);for(let e=0;e>0&255),p.push(g[e]>>8&255),p.push(g[e]>>16&255),p.push(g[e]>>24&255);const r=o(e,p,d);return h&&h(null,1,r),r}h&&M(I)};if(!h)for(;;){const e=I();if(null!=e)return e}I()}const h={scrypt:function(e,t,r,n,o,i,s){return new Promise((function(a,c){let u=0;s&&s(0),d(e,t,r,n,o,i,(function(e,t,r){if(e)c(e);else if(r)s&&1!==u&&s(1),a(new Uint8Array(r));else if(s&&t!==u)return u=t,s(t)}))}))},syncScrypt:function(e,t,r,n,o,i){return new Uint8Array(d(e,t,r,n,o,i))}};e.exports=h}()}).call(this,r(223).setImmediate)},function(e,t,r){"use strict";var n={};(0,r(57).assign)(n,r(538),r(541),r(296)),e.exports=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(645),o=r(646),i=r(648),s=()=>{},a=new o.TimeoutError;t.default=class extends n{constructor(e){var t,r,n,o;if(super(),this._intervalCount=0,this._intervalEnd=0,this._pendingCount=0,this._resolveEmpty=s,this._resolveIdle=s,!("number"==typeof(e=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:i.default},e)).intervalCap&&e.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${null!==(r=null===(t=e.intervalCap)||void 0===t?void 0:t.toString())&&void 0!==r?r:""}\` (${typeof e.intervalCap})`);if(void 0===e.interval||!(Number.isFinite(e.interval)&&e.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${null!==(o=null===(n=e.interval)||void 0===n?void 0:n.toString())&&void 0!==o?o:""}\` (${typeof e.interval})`);this._carryoverConcurrencyCount=e.carryoverConcurrencyCount,this._isIntervalIgnored=e.intervalCap===1/0||0===e.interval,this._intervalCap=e.intervalCap,this._interval=e.interval,this._queue=new e.queueClass,this._queueClass=e.queueClass,this.concurrency=e.concurrency,this._timeout=e.timeout,this._throwOnTimeout=!0===e.throwOnTimeout,this._isPaused=!1===e.autoStart}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount{this._onResumeInterval()},t)),!0;this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0}return!1}_tryToStartAnother(){if(0===this._queue.size)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){const e=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){const t=this._queue.dequeue();return!!t&&(this.emit("active"),t(),e&&this._initializeIntervalIfNeeded(),!0)}}return!1}_initializeIntervalIfNeeded(){this._isIntervalIgnored||void 0!==this._intervalId||(this._intervalId=setInterval(()=>{this._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}_onInterval(){0===this._intervalCount&&0===this._pendingCount&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}_processQueue(){for(;this._tryToStartAnother(););}get concurrency(){return this._concurrency}set concurrency(e){if(!("number"==typeof e&&e>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`);this._concurrency=e,this._processQueue()}async add(e,t={}){return new Promise((r,n)=>{this._queue.enqueue(async()=>{this._pendingCount++,this._intervalCount++;try{const i=void 0===this._timeout&&void 0===t.timeout?e():o.default(Promise.resolve(e()),void 0===t.timeout?this._timeout:t.timeout,()=>{(void 0===t.throwOnTimeout?this._throwOnTimeout:t.throwOnTimeout)&&n(a)});r(await i)}catch(e){n(e)}this._next()},t),this._tryToStartAnother(),this.emit("add")})}async addAll(e,t){return Promise.all(e.map(async e=>this.add(e,t)))}start(){return this._isPaused?(this._isPaused=!1,this._processQueue(),this):this}pause(){this._isPaused=!0}clear(){this._queue=new this._queueClass}async onEmpty(){if(0!==this._queue.size)return new Promise(e=>{const t=this._resolveEmpty;this._resolveEmpty=()=>{t(),e()}})}async onIdle(){if(0!==this._pendingCount||0!==this._queue.size)return new Promise(e=>{const t=this._resolveIdle;this._resolveIdle=()=>{t(),e()}})}get size(){return this._queue.size}sizeBy(e){return this._queue.filter(e).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(e){this._timeout=e}}},,,function(e){e.exports=JSON.parse('{"manifest_version":2,"name":"Keplr","description":"Keplr is a browser extension wallet for the Inter blockchain ecosystem.","version":"0.8.13","applications":{"gecko":{"id":"keplr-extension@keplr.app","strict_min_version":"56.0"}},"icons":{"16":"assets/icon-16.png","48":"assets/icon-48.png","128":"assets/icon-128.png"},"browser_action":{"default_popup":"popup.html","default_title":"Keplr"},"background":{"scripts":["browser-polyfill.js","background.bundle.js"],"persistent":true},"permissions":["storage","notifications","identity"],"content_scripts":[{"matches":[""],"js":["browser-polyfill.js","contentScripts.bundle.js"],"run_at":"document_start","all_frames":true}],"web_accessible_resources":["injectedScript.bundle.js","assets/temp-icon.svg"]}')},,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CoinPretty=void 0;const n=r(221);class o{constructor(e,t){this._currency=e,this.amount=t,this._options={separator:" ",upperCase:!1,lowerCase:!1,hideDenom:!1},t instanceof n.IntPretty?this.intPretty=t:this.intPretty=new n.IntPretty(t),this.intPretty=this.intPretty.maxDecimals(e.coinDecimals).precision(e.coinDecimals)}get options(){return Object.assign(Object.assign({},this._options),this.intPretty.options)}get denom(){return this.currency.coinDenom}get currency(){return this._currency}setCurrency(e){const t=new o(e,this.amount);return t._options=Object.assign({},this._options),t.intPretty=this.intPretty.clone(),t}separator(e){const t=this.clone();return t._options.separator=e,t}upperCase(e){const t=this.clone();return t._options.upperCase=e,t._options.lowerCase=!e,t}lowerCase(e){const t=this.clone();return t._options.lowerCase=e,t._options.upperCase=!e,t}hideDenom(e){const t=this.clone();return t._options.hideDenom=e,t}precision(e){const t=this.clone();return t.intPretty=t.intPretty.precision(e),t}maxDecimals(e){const t=this.clone();return t.intPretty=t.intPretty.maxDecimals(e),t}trim(e){const t=this.clone();return t.intPretty=t.intPretty.trim(e),t}shrink(e){const t=this.clone();return t.intPretty=t.intPretty.shrink(e),t}locale(e){const t=this.clone();return t.intPretty=t.intPretty.locale(e),t}ready(e){const t=this.clone();return t.intPretty=t.intPretty.ready(e),t}get isReady(){return this.intPretty.isReady}add(e){const t=this.clone();return t.intPretty=t.intPretty.add(e.intPretty),t}toDec(){return this.intPretty.toDec()}toString(){let e=this.denom;this._options.upperCase&&(e=e.toUpperCase()),this._options.lowerCase&&(e=e.toLowerCase());let t=this._options.separator;return this._options.hideDenom&&(e="",t=""),`${this.intPretty.toString()}${t}${e}`}clone(){const e=new o(this._currency,this.amount);return e._options=Object.assign({},this._options),e.intPretty=this.intPretty.clone(),e}}t.CoinPretty=o},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseAccount=void 0;const o=r(23);class i{constructor(e,t,r,n){this.type=e,this.address=t,this.accountNumber=r,this.sequence=n}static fetchFromRest(e,t,r=!1){return n(this,void 0,void 0,(function*(){const n=yield e.get("auth/accounts/"+t);return i.fromAminoJSON(n.data,r?t:"")}))}static fromAminoJSON(e,t=""){"height"in e&&(e=e.result);const r=e.type;if(!r)throw new Error("Account's type is unknown: "+JSON.stringify(e));let n=e.value;const s=n.BaseVestingAccount||n.baseVestingAccount||n.base_vesting_account;s&&(n=s.BaseAccount||s.baseAccount||s.base_account);let a=n.address;if(!a){if(!t)throw new Error("Account's address is unknown: "+JSON.stringify(e));a=t}const c=n.account_number;if(null==c)throw new Error("Account's account number is unknown: "+JSON.stringify(e));const u=n.sequence;return new i(r,a,new o.Int(c),new o.Int(null!=u?u:"0"))}getType(){return this.type}getAddress(){return this.address}getAccountNumber(){return this.accountNumber}getSequence(){return this.sequence}}t.BaseAccount=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Bech32Address=void 0;const o=n(r(94));t.Bech32Address=class{constructor(e){this.address=e}static shortenAddress(e,t){if(t>=e.length)return e;const r=e.indexOf("1"),n=e.slice(0,r),o=e.slice(r+1);if(t-=n.length,t-=3,(t-=1)<=0)return"";const i=Math.floor(o.length/2);let s=o.slice(0,i),a=o.slice(i);for(;t0?s=s.slice(0,s.length-1):a=a.slice(1);return n+"1"+s+"..."+a}static validate(e,t){const{prefix:r}=o.default.decode(e);if(t&&t!==r)throw new Error(`Unexpected prefix (expected: ${t}, actual: ${r})`)}static defaultBech32Config(e,t="val",r="cons",n="pub",o="oper"){return{bech32PrefixAccAddr:e,bech32PrefixAccPub:e+n,bech32PrefixValAddr:e+t+o,bech32PrefixValPub:e+t+o+n,bech32PrefixConsAddr:e+t+r,bech32PrefixConsPub:e+t+r+n}}toBech32(e){const t=o.default.toWords(this.address);return o.default.encode(e,t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChainIdHelper=void 0;class n{static parse(e){const t=e.split(n.VersionFormatRegExp).filter(Boolean);return 2!==t.length?{identifier:e,version:0}:{identifier:t[0],version:parseInt(t[1])}}static hasChainVersion(e){return n.parse(e).identifier!==e}}t.ChainIdHelper=n,n.VersionFormatRegExp=/(.+)-([\d]+)/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WsReadyState=void 0,function(e){e[e.CONNECTING=0]="CONNECTING",e[e.OPEN=1]="OPEN",e[e.CLOSING=2]="CLOSING",e[e.CLOSED=3]="CLOSED",e[e.NONE=4]="NONE"}(t.WsReadyState||(t.WsReadyState={}))},function(e,t){ -/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ -t.read=function(e,t,r,n,o){var i,s,a=8*o-n-1,c=(1<>1,l=-7,f=r?o-1:0,d=r?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-l)-1,h>>=-l,l+=a;l>0;i=256*i+e[t+f],f+=d,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=n;l>0;s=256*s+e[t+f],f+=d,l-=8);if(0===i)i=1-u;else{if(i===c)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,n),i-=u}return(h?-1:1)*s*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var s,a,c,u=8*i-o-1,l=(1<>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,p=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+f>=1?d/c:d*Math.pow(2,1-f))*c>=2&&(s++,c/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(t*c-1)*Math.pow(2,o),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,o),s=0));o>=8;e[r+h]=255&a,h+=p,a/=256,o-=8);for(s=s<0;e[r+h]=255&s,h+=p,s/=256,u-=8);e[r+h-p]|=128*g}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(238),t),o(r(118),t),o(r(242),t),o(r(443),t)},function(e,t,r){"use strict";var n=t;function o(){n.util._configure(),n.Writer._configure(n.BufferWriter),n.Reader._configure(n.BufferReader)}n.build="minimal",n.Writer=r(239),n.BufferWriter=r(437),n.Reader=r(240),n.BufferReader=r(438),n.util=r(64),n.rpc=r(439),n.roots=r(441),n.configure=o,o()},function(e,t,r){"use strict";e.exports=function(e,t){var r=new Array(arguments.length-1),n=0,o=2,i=!0;for(;o1&&"="===e.charAt(t);)++r;return Math.ceil(3*e.length)/4-r};for(var o=new Array(64),i=new Array(123),s=0;s<64;)i[o[s]=s<26?s+65:s<52?s+71:s<62?s-4:s-59|43]=s++;n.encode=function(e,t,r){for(var n,i=null,s=[],a=0,c=0;t>2],n=(3&u)<<4,c=1;break;case 1:s[a++]=o[n|u>>4],n=(15&u)<<2,c=2;break;case 2:s[a++]=o[n|u>>6],s[a++]=o[63&u],c=0}a>8191&&((i||(i=[])).push(String.fromCharCode.apply(String,s)),a=0)}return c&&(s[a++]=o[n],s[a++]=61,1===c&&(s[a++]=61)),i?(a&&i.push(String.fromCharCode.apply(String,s.slice(0,a))),i.join("")):String.fromCharCode.apply(String,s.slice(0,a))};n.decode=function(e,t,r){for(var n,o=r,s=0,a=0;a1)break;if(void 0===(c=i[c]))throw Error("invalid encoding");switch(s){case 0:n=c,s=1;break;case 1:t[r++]=n<<2|(48&c)>>4,n=c,s=2;break;case 2:t[r++]=(15&n)<<4|(60&c)>>2,n=c,s=3;break;case 3:t[r++]=(3&n)<<6|c,s=0}}if(1===s)throw Error("invalid encoding");return r-o},n.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}},function(e,t,r){"use strict";function n(){this._listeners={}}e.exports=n,n.prototype.on=function(e,t,r){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:r||this}),this},n.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var r=this._listeners[e],n=0;n0?0:2147483648,r,n);else if(isNaN(t))e(2143289344,r,n);else if(t>34028234663852886e22)e((o<<31|2139095040)>>>0,r,n);else if(t<11754943508222875e-54)e((o<<31|Math.round(t/1401298464324817e-60))>>>0,r,n);else{var i=Math.floor(Math.log(t)/Math.LN2);e((o<<31|i+127<<23|8388607&Math.round(t*Math.pow(2,-i)*8388608))>>>0,r,n)}}function r(e,t,r){var n=e(t,r),o=2*(n>>31)+1,i=n>>>23&255,s=8388607&n;return 255===i?s?NaN:o*(1/0):0===i?1401298464324817e-60*o*s:o*Math.pow(2,i-150)*(s+8388608)}e.writeFloatLE=t.bind(null,o),e.writeFloatBE=t.bind(null,i),e.readFloatLE=r.bind(null,s),e.readFloatBE=r.bind(null,a)}(),"undefined"!=typeof Float64Array?function(){var t=new Float64Array([-0]),r=new Uint8Array(t.buffer),n=128===r[7];function o(e,n,o){t[0]=e,n[o]=r[0],n[o+1]=r[1],n[o+2]=r[2],n[o+3]=r[3],n[o+4]=r[4],n[o+5]=r[5],n[o+6]=r[6],n[o+7]=r[7]}function i(e,n,o){t[0]=e,n[o]=r[7],n[o+1]=r[6],n[o+2]=r[5],n[o+3]=r[4],n[o+4]=r[3],n[o+5]=r[2],n[o+6]=r[1],n[o+7]=r[0]}function s(e,n){return r[0]=e[n],r[1]=e[n+1],r[2]=e[n+2],r[3]=e[n+3],r[4]=e[n+4],r[5]=e[n+5],r[6]=e[n+6],r[7]=e[n+7],t[0]}function a(e,n){return r[7]=e[n],r[6]=e[n+1],r[5]=e[n+2],r[4]=e[n+3],r[3]=e[n+4],r[2]=e[n+5],r[1]=e[n+6],r[0]=e[n+7],t[0]}e.writeDoubleLE=n?o:i,e.writeDoubleBE=n?i:o,e.readDoubleLE=n?s:a,e.readDoubleBE=n?a:s}():function(){function t(e,t,r,n,o,i){var s=n<0?1:0;if(s&&(n=-n),0===n)e(0,o,i+t),e(1/n>0?0:2147483648,o,i+r);else if(isNaN(n))e(0,o,i+t),e(2146959360,o,i+r);else if(n>17976931348623157e292)e(0,o,i+t),e((s<<31|2146435072)>>>0,o,i+r);else{var a;if(n<22250738585072014e-324)e((a=n/5e-324)>>>0,o,i+t),e((s<<31|a/4294967296)>>>0,o,i+r);else{var c=Math.floor(Math.log(n)/Math.LN2);1024===c&&(c=1023),e(4503599627370496*(a=n*Math.pow(2,-c))>>>0,o,i+t),e((s<<31|c+1023<<20|1048576*a&1048575)>>>0,o,i+r)}}}function r(e,t,r,n,o){var i=e(n,o+t),s=e(n,o+r),a=2*(s>>31)+1,c=s>>>20&2047,u=4294967296*(1048575&s)+i;return 2047===c?u?NaN:a*(1/0):0===c?5e-324*a*u:a*Math.pow(2,c-1075)*(u+4503599627370496)}e.writeDoubleLE=t.bind(null,o,0,4),e.writeDoubleBE=t.bind(null,i,4,0),e.readDoubleLE=r.bind(null,s,0,4),e.readDoubleBE=r.bind(null,a,4,0)}(),e}function o(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}function i(e,t,r){t[r]=e>>>24,t[r+1]=e>>>16&255,t[r+2]=e>>>8&255,t[r+3]=255&e}function s(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function a(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=n(n)},function(module,exports,__webpack_require__){"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},function(e,t,r){"use strict";var n=t;n.length=function(e){for(var t=0,r=0,n=0;n191&&n<224?i[s++]=(31&n)<<6|63&e[t++]:n>239&&n<365?(n=((7&n)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,i[s++]=55296+(n>>10),i[s++]=56320+(1023&n)):i[s++]=(15&n)<<12|(63&e[t++])<<6|63&e[t++],s>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,i)),s=0);return o?(s&&o.push(String.fromCharCode.apply(String,i.slice(0,s))),o.join("")):String.fromCharCode.apply(String,i.slice(0,s))},n.write=function(e,t,r){for(var n,o,i=r,s=0;s>6|192,t[r++]=63&n|128):55296==(64512&n)&&56320==(64512&(o=e.charCodeAt(s+1)))?(n=65536+((1023&n)<<10)+(1023&o),++s,t[r++]=n>>18|240,t[r++]=n>>12&63|128,t[r++]=n>>6&63|128,t[r++]=63&n|128):(t[r++]=n>>12|224,t[r++]=n>>6&63|128,t[r++]=63&n|128);return r-i}},function(e,t,r){"use strict";e.exports=function(e,t,r){var n=r||8192,o=n>>>1,i=null,s=n;return function(r){if(r<1||r>o)return e(r);s+r>n&&(i=e(n),s=0);var a=t.call(i,s,s+=r);return 7&s&&(s=1+(7|s)),a}}},function(e,t,r){"use strict";e.exports=o;var n=r(64);function o(e,t){this.lo=e>>>0,this.hi=t>>>0}var i=o.zero=new o(0,0);i.toNumber=function(){return 0},i.zzEncode=i.zzDecode=function(){return this},i.length=function(){return 1};var s=o.zeroHash="\0\0\0\0\0\0\0\0";o.fromNumber=function(e){if(0===e)return i;var t=e<0;t&&(e=-e);var r=e>>>0,n=(e-r)/4294967296>>>0;return t&&(n=~n>>>0,r=~r>>>0,++r>4294967295&&(r=0,++n>4294967295&&(n=0))),new o(r,n)},o.from=function(e){if("number"==typeof e)return o.fromNumber(e);if(n.isString(e)){if(!n.Long)return o.fromNumber(parseInt(e,10));e=n.Long.fromString(e)}return e.low||e.high?new o(e.low>>>0,e.high>>>0):i},o.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=1+~this.lo>>>0,r=~this.hi>>>0;return t||(r=r+1>>>0),-(t+4294967296*r)}return this.lo+4294967296*this.hi},o.prototype.toLong=function(e){return n.Long?new n.Long(0|this.lo,0|this.hi,Boolean(e)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(e)}};var a=String.prototype.charCodeAt;o.fromHash=function(e){return e===s?i:new o((a.call(e,0)|a.call(e,1)<<8|a.call(e,2)<<16|a.call(e,3)<<24)>>>0,(a.call(e,4)|a.call(e,5)<<8|a.call(e,6)<<16|a.call(e,7)<<24)>>>0)},o.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},o.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},o.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},o.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,r=this.hi>>>24;return 0===r?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:r<128?9:10}},function(e,t,r){"use strict";e.exports=i;var n=r(239);(i.prototype=Object.create(n.prototype)).constructor=i;var o=r(64);function i(){n.call(this)}function s(e,t,r){e.length<40?o.utf8.write(e,t,r):t.utf8Write?t.utf8Write(e,r):t.write(e,r)}i._configure=function(){i.alloc=o._Buffer_allocUnsafe,i.writeBytesBuffer=o.Buffer&&o.Buffer.prototype instanceof Uint8Array&&"set"===o.Buffer.prototype.set.name?function(e,t,r){t.set(e,r)}:function(e,t,r){if(e.copy)e.copy(t,r,0,e.length);else for(var n=0;n>>0;return this.uint32(t),t&&this._push(i.writeBytesBuffer,t,e),this},i.prototype.string=function(e){var t=o.Buffer.byteLength(e);return this.uint32(t),t&&this._push(s,t,e),this},i._configure()},function(e,t,r){"use strict";e.exports=i;var n=r(240);(i.prototype=Object.create(n.prototype)).constructor=i;var o=r(64);function i(e){n.call(this,e)}i._configure=function(){o.Buffer&&(i.prototype._slice=o.Buffer.prototype.slice)},i.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+e,this.len))},i._configure()},function(e,t,r){"use strict";t.Service=r(440)},function(e,t,r){"use strict";e.exports=o;var n=r(64);function o(e,t,r){if("function"!=typeof e)throw TypeError("rpcImpl must be a function");n.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=Boolean(t),this.responseDelimited=Boolean(r)}(o.prototype=Object.create(n.EventEmitter.prototype)).constructor=o,o.prototype.rpcCall=function e(t,r,o,i,s){if(!i)throw TypeError("request must be specified");var a=this;if(!s)return n.asPromise(e,a,t,r,o,i);if(a.rpcImpl)try{return a.rpcImpl(t,r[a.requestDelimited?"encodeDelimited":"encode"](i).finish(),(function(e,r){if(e)return a.emit("error",e,t),s(e);if(null!==r){if(!(r instanceof o))try{r=o[a.responseDelimited?"decodeDelimited":"decode"](r)}catch(e){return a.emit("error",e,t),s(e)}return a.emit("data",r,t),s(null,r)}a.end(!0)}))}catch(e){return a.emit("error",e,t),void setTimeout((function(){s(e)}),0)}else setTimeout((function(){s(Error("already ended"))}),0)},o.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},function(e,t,r){"use strict";e.exports={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tendermint=t.ibc=t.google=t.cosmos=void 0;var n=r(48);const o=n.Reader,i=n.Writer,s=n.util,a={};t.cosmos=a.cosmos=(()=>{const e={};return e.auth=function(){const e={};return e.v1beta1=function(){const e={};return e.BaseAccount=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.address=e.string();break;case 2:n.pubKey=a.google.protobuf.Any.decode(e,e.uint32());break;case 3:n.accountNumber=e.uint64();break;case 4:n.sequence=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.auth.v1beta1.BaseAccount)return e;var t=new a.cosmos.auth.v1beta1.BaseAccount;if(null!=e.address&&(t.address=String(e.address)),null!=e.pubKey){if("object"!=typeof e.pubKey)throw TypeError(".cosmos.auth.v1beta1.BaseAccount.pubKey: object expected");t.pubKey=a.google.protobuf.Any.fromObject(e.pubKey)}return null!=e.accountNumber&&(s.Long?(t.accountNumber=s.Long.fromValue(e.accountNumber)).unsigned=!0:"string"==typeof e.accountNumber?t.accountNumber=parseInt(e.accountNumber,10):"number"==typeof e.accountNumber?t.accountNumber=e.accountNumber:"object"==typeof e.accountNumber&&(t.accountNumber=new s.LongBits(e.accountNumber.low>>>0,e.accountNumber.high>>>0).toNumber(!0))),null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.address="",r.pubKey=null,s.Long){var n=new s.Long(0,0,!0);r.accountNumber=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.accountNumber=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0}return null!=e.address&&e.hasOwnProperty("address")&&(r.address=e.address),null!=e.pubKey&&e.hasOwnProperty("pubKey")&&(r.pubKey=a.google.protobuf.Any.toObject(e.pubKey,t)),null!=e.accountNumber&&e.hasOwnProperty("accountNumber")&&("number"==typeof e.accountNumber?r.accountNumber=t.longs===String?String(e.accountNumber):e.accountNumber:r.accountNumber=t.longs===String?s.Long.prototype.toString.call(e.accountNumber):t.longs===Number?new s.LongBits(e.accountNumber.low>>>0,e.accountNumber.high>>>0).toNumber(!0):e.accountNumber),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ModuleAccount=function(){function e(e){if(this.permissions=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.baseAccount=a.cosmos.auth.v1beta1.BaseAccount.decode(e,e.uint32());break;case 2:n.name=e.string();break;case 3:n.permissions&&n.permissions.length||(n.permissions=[]),n.permissions.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.auth.v1beta1.ModuleAccount)return e;var t=new a.cosmos.auth.v1beta1.ModuleAccount;if(null!=e.baseAccount){if("object"!=typeof e.baseAccount)throw TypeError(".cosmos.auth.v1beta1.ModuleAccount.baseAccount: object expected");t.baseAccount=a.cosmos.auth.v1beta1.BaseAccount.fromObject(e.baseAccount)}if(null!=e.name&&(t.name=String(e.name)),e.permissions){if(!Array.isArray(e.permissions))throw TypeError(".cosmos.auth.v1beta1.ModuleAccount.permissions: array expected");t.permissions=[];for(var r=0;r>>3){case 1:n.maxMemoCharacters=e.uint64();break;case 2:n.txSigLimit=e.uint64();break;case 3:n.txSizeCostPerByte=e.uint64();break;case 4:n.sigVerifyCostEd25519=e.uint64();break;case 5:n.sigVerifyCostSecp256k1=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.auth.v1beta1.Params)return e;var t=new a.cosmos.auth.v1beta1.Params;return null!=e.maxMemoCharacters&&(s.Long?(t.maxMemoCharacters=s.Long.fromValue(e.maxMemoCharacters)).unsigned=!0:"string"==typeof e.maxMemoCharacters?t.maxMemoCharacters=parseInt(e.maxMemoCharacters,10):"number"==typeof e.maxMemoCharacters?t.maxMemoCharacters=e.maxMemoCharacters:"object"==typeof e.maxMemoCharacters&&(t.maxMemoCharacters=new s.LongBits(e.maxMemoCharacters.low>>>0,e.maxMemoCharacters.high>>>0).toNumber(!0))),null!=e.txSigLimit&&(s.Long?(t.txSigLimit=s.Long.fromValue(e.txSigLimit)).unsigned=!0:"string"==typeof e.txSigLimit?t.txSigLimit=parseInt(e.txSigLimit,10):"number"==typeof e.txSigLimit?t.txSigLimit=e.txSigLimit:"object"==typeof e.txSigLimit&&(t.txSigLimit=new s.LongBits(e.txSigLimit.low>>>0,e.txSigLimit.high>>>0).toNumber(!0))),null!=e.txSizeCostPerByte&&(s.Long?(t.txSizeCostPerByte=s.Long.fromValue(e.txSizeCostPerByte)).unsigned=!0:"string"==typeof e.txSizeCostPerByte?t.txSizeCostPerByte=parseInt(e.txSizeCostPerByte,10):"number"==typeof e.txSizeCostPerByte?t.txSizeCostPerByte=e.txSizeCostPerByte:"object"==typeof e.txSizeCostPerByte&&(t.txSizeCostPerByte=new s.LongBits(e.txSizeCostPerByte.low>>>0,e.txSizeCostPerByte.high>>>0).toNumber(!0))),null!=e.sigVerifyCostEd25519&&(s.Long?(t.sigVerifyCostEd25519=s.Long.fromValue(e.sigVerifyCostEd25519)).unsigned=!0:"string"==typeof e.sigVerifyCostEd25519?t.sigVerifyCostEd25519=parseInt(e.sigVerifyCostEd25519,10):"number"==typeof e.sigVerifyCostEd25519?t.sigVerifyCostEd25519=e.sigVerifyCostEd25519:"object"==typeof e.sigVerifyCostEd25519&&(t.sigVerifyCostEd25519=new s.LongBits(e.sigVerifyCostEd25519.low>>>0,e.sigVerifyCostEd25519.high>>>0).toNumber(!0))),null!=e.sigVerifyCostSecp256k1&&(s.Long?(t.sigVerifyCostSecp256k1=s.Long.fromValue(e.sigVerifyCostSecp256k1)).unsigned=!0:"string"==typeof e.sigVerifyCostSecp256k1?t.sigVerifyCostSecp256k1=parseInt(e.sigVerifyCostSecp256k1,10):"number"==typeof e.sigVerifyCostSecp256k1?t.sigVerifyCostSecp256k1=e.sigVerifyCostSecp256k1:"object"==typeof e.sigVerifyCostSecp256k1&&(t.sigVerifyCostSecp256k1=new s.LongBits(e.sigVerifyCostSecp256k1.low>>>0,e.sigVerifyCostSecp256k1.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.maxMemoCharacters=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.maxMemoCharacters=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.txSigLimit=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.txSigLimit=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.txSizeCostPerByte=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.txSizeCostPerByte=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.sigVerifyCostEd25519=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sigVerifyCostEd25519=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.sigVerifyCostSecp256k1=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sigVerifyCostSecp256k1=t.longs===String?"0":0}return null!=e.maxMemoCharacters&&e.hasOwnProperty("maxMemoCharacters")&&("number"==typeof e.maxMemoCharacters?r.maxMemoCharacters=t.longs===String?String(e.maxMemoCharacters):e.maxMemoCharacters:r.maxMemoCharacters=t.longs===String?s.Long.prototype.toString.call(e.maxMemoCharacters):t.longs===Number?new s.LongBits(e.maxMemoCharacters.low>>>0,e.maxMemoCharacters.high>>>0).toNumber(!0):e.maxMemoCharacters),null!=e.txSigLimit&&e.hasOwnProperty("txSigLimit")&&("number"==typeof e.txSigLimit?r.txSigLimit=t.longs===String?String(e.txSigLimit):e.txSigLimit:r.txSigLimit=t.longs===String?s.Long.prototype.toString.call(e.txSigLimit):t.longs===Number?new s.LongBits(e.txSigLimit.low>>>0,e.txSigLimit.high>>>0).toNumber(!0):e.txSigLimit),null!=e.txSizeCostPerByte&&e.hasOwnProperty("txSizeCostPerByte")&&("number"==typeof e.txSizeCostPerByte?r.txSizeCostPerByte=t.longs===String?String(e.txSizeCostPerByte):e.txSizeCostPerByte:r.txSizeCostPerByte=t.longs===String?s.Long.prototype.toString.call(e.txSizeCostPerByte):t.longs===Number?new s.LongBits(e.txSizeCostPerByte.low>>>0,e.txSizeCostPerByte.high>>>0).toNumber(!0):e.txSizeCostPerByte),null!=e.sigVerifyCostEd25519&&e.hasOwnProperty("sigVerifyCostEd25519")&&("number"==typeof e.sigVerifyCostEd25519?r.sigVerifyCostEd25519=t.longs===String?String(e.sigVerifyCostEd25519):e.sigVerifyCostEd25519:r.sigVerifyCostEd25519=t.longs===String?s.Long.prototype.toString.call(e.sigVerifyCostEd25519):t.longs===Number?new s.LongBits(e.sigVerifyCostEd25519.low>>>0,e.sigVerifyCostEd25519.high>>>0).toNumber(!0):e.sigVerifyCostEd25519),null!=e.sigVerifyCostSecp256k1&&e.hasOwnProperty("sigVerifyCostSecp256k1")&&("number"==typeof e.sigVerifyCostSecp256k1?r.sigVerifyCostSecp256k1=t.longs===String?String(e.sigVerifyCostSecp256k1):e.sigVerifyCostSecp256k1:r.sigVerifyCostSecp256k1=t.longs===String?s.Long.prototype.toString.call(e.sigVerifyCostSecp256k1):t.longs===Number?new s.LongBits(e.sigVerifyCostSecp256k1.low>>>0,e.sigVerifyCostSecp256k1.high>>>0).toNumber(!0):e.sigVerifyCostSecp256k1),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Query=function(){function e(e,t,r){n.rpc.Service.call(this,e,t,r)}return(e.prototype=Object.create(n.rpc.Service.prototype)).constructor=e,e.create=function(e,t,r){return new this(e,t,r)},Object.defineProperty(e.prototype.account=function e(t,r){return this.rpcCall(e,a.cosmos.auth.v1beta1.QueryAccountRequest,a.cosmos.auth.v1beta1.QueryAccountResponse,t,r)},"name",{value:"Account"}),Object.defineProperty(e.prototype.params=function e(t,r){return this.rpcCall(e,a.cosmos.auth.v1beta1.QueryParamsRequest,a.cosmos.auth.v1beta1.QueryParamsResponse,t,r)},"name",{value:"Params"}),e}(),e.QueryAccountRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.address=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.auth.v1beta1.QueryAccountRequest)return e;var t=new a.cosmos.auth.v1beta1.QueryAccountRequest;return null!=e.address&&(t.address=String(e.address)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.address=""),null!=e.address&&e.hasOwnProperty("address")&&(r.address=e.address),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryAccountResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.account=a.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.auth.v1beta1.QueryAccountResponse)return e;var t=new a.cosmos.auth.v1beta1.QueryAccountResponse;if(null!=e.account){if("object"!=typeof e.account)throw TypeError(".cosmos.auth.v1beta1.QueryAccountResponse.account: object expected");t.account=a.google.protobuf.Any.fromObject(e.account)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.account=null),null!=e.account&&e.hasOwnProperty("account")&&(r.account=a.google.protobuf.Any.toObject(e.account,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryParamsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.params=a.cosmos.auth.v1beta1.Params.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.auth.v1beta1.QueryParamsResponse)return e;var t=new a.cosmos.auth.v1beta1.QueryParamsResponse;if(null!=e.params){if("object"!=typeof e.params)throw TypeError(".cosmos.auth.v1beta1.QueryParamsResponse.params: object expected");t.params=a.cosmos.auth.v1beta1.Params.fromObject(e.params)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.params=null),null!=e.params&&e.hasOwnProperty("params")&&(r.params=a.cosmos.auth.v1beta1.Params.toObject(e.params,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.bank=function(){const e={};return e.v1beta1=function(){const e={};return e.Params=function(){function e(e){if(this.sendEnabled=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.sendEnabled&&n.sendEnabled.length||(n.sendEnabled=[]),n.sendEnabled.push(a.cosmos.bank.v1beta1.SendEnabled.decode(e,e.uint32()));break;case 2:n.defaultSendEnabled=e.bool();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.Params)return e;var t=new a.cosmos.bank.v1beta1.Params;if(e.sendEnabled){if(!Array.isArray(e.sendEnabled))throw TypeError(".cosmos.bank.v1beta1.Params.sendEnabled: array expected");t.sendEnabled=[];for(var r=0;r>>3){case 1:n.denom=e.string();break;case 2:n.enabled=e.bool();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.SendEnabled)return e;var t=new a.cosmos.bank.v1beta1.SendEnabled;return null!=e.denom&&(t.denom=String(e.denom)),null!=e.enabled&&(t.enabled=Boolean(e.enabled)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.denom="",r.enabled=!1),null!=e.denom&&e.hasOwnProperty("denom")&&(r.denom=e.denom),null!=e.enabled&&e.hasOwnProperty("enabled")&&(r.enabled=e.enabled),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Input=function(){function e(e){if(this.coins=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.address=e.string();break;case 2:n.coins&&n.coins.length||(n.coins=[]),n.coins.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.Input)return e;var t=new a.cosmos.bank.v1beta1.Input;if(null!=e.address&&(t.address=String(e.address)),e.coins){if(!Array.isArray(e.coins))throw TypeError(".cosmos.bank.v1beta1.Input.coins: array expected");t.coins=[];for(var r=0;r>>3){case 1:n.address=e.string();break;case 2:n.coins&&n.coins.length||(n.coins=[]),n.coins.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.Output)return e;var t=new a.cosmos.bank.v1beta1.Output;if(null!=e.address&&(t.address=String(e.address)),e.coins){if(!Array.isArray(e.coins))throw TypeError(".cosmos.bank.v1beta1.Output.coins: array expected");t.coins=[];for(var r=0;r>>3){case 1:n.total&&n.total.length||(n.total=[]),n.total.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.Supply)return e;var t=new a.cosmos.bank.v1beta1.Supply;if(e.total){if(!Array.isArray(e.total))throw TypeError(".cosmos.bank.v1beta1.Supply.total: array expected");t.total=[];for(var r=0;r>>3){case 1:n.denom=e.string();break;case 2:n.exponent=e.uint32();break;case 3:n.aliases&&n.aliases.length||(n.aliases=[]),n.aliases.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.DenomUnit)return e;var t=new a.cosmos.bank.v1beta1.DenomUnit;if(null!=e.denom&&(t.denom=String(e.denom)),null!=e.exponent&&(t.exponent=e.exponent>>>0),e.aliases){if(!Array.isArray(e.aliases))throw TypeError(".cosmos.bank.v1beta1.DenomUnit.aliases: array expected");t.aliases=[];for(var r=0;r>>3){case 1:n.description=e.string();break;case 2:n.denomUnits&&n.denomUnits.length||(n.denomUnits=[]),n.denomUnits.push(a.cosmos.bank.v1beta1.DenomUnit.decode(e,e.uint32()));break;case 3:n.base=e.string();break;case 4:n.display=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.Metadata)return e;var t=new a.cosmos.bank.v1beta1.Metadata;if(null!=e.description&&(t.description=String(e.description)),e.denomUnits){if(!Array.isArray(e.denomUnits))throw TypeError(".cosmos.bank.v1beta1.Metadata.denomUnits: array expected");t.denomUnits=[];for(var r=0;r>>3){case 1:n.address=e.string();break;case 2:n.denom=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QueryBalanceRequest)return e;var t=new a.cosmos.bank.v1beta1.QueryBalanceRequest;return null!=e.address&&(t.address=String(e.address)),null!=e.denom&&(t.denom=String(e.denom)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.address="",r.denom=""),null!=e.address&&e.hasOwnProperty("address")&&(r.address=e.address),null!=e.denom&&e.hasOwnProperty("denom")&&(r.denom=e.denom),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryBalanceResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.balance=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QueryBalanceResponse)return e;var t=new a.cosmos.bank.v1beta1.QueryBalanceResponse;if(null!=e.balance){if("object"!=typeof e.balance)throw TypeError(".cosmos.bank.v1beta1.QueryBalanceResponse.balance: object expected");t.balance=a.cosmos.base.v1beta1.Coin.fromObject(e.balance)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.balance=null),null!=e.balance&&e.hasOwnProperty("balance")&&(r.balance=a.cosmos.base.v1beta1.Coin.toObject(e.balance,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryAllBalancesRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.address=e.string();break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QueryAllBalancesRequest)return e;var t=new a.cosmos.bank.v1beta1.QueryAllBalancesRequest;if(null!=e.address&&(t.address=String(e.address)),null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".cosmos.bank.v1beta1.QueryAllBalancesRequest.pagination: object expected");t.pagination=a.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.address="",r.pagination=null),null!=e.address&&e.hasOwnProperty("address")&&(r.address=e.address),null!=e.pagination&&e.hasOwnProperty("pagination")&&(r.pagination=a.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryAllBalancesResponse=function(){function e(e){if(this.balances=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.balances&&n.balances.length||(n.balances=[]),n.balances.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QueryAllBalancesResponse)return e;var t=new a.cosmos.bank.v1beta1.QueryAllBalancesResponse;if(e.balances){if(!Array.isArray(e.balances))throw TypeError(".cosmos.bank.v1beta1.QueryAllBalancesResponse.balances: array expected");t.balances=[];for(var r=0;r>>3){case 1:n.supply&&n.supply.length||(n.supply=[]),n.supply.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QueryTotalSupplyResponse)return e;var t=new a.cosmos.bank.v1beta1.QueryTotalSupplyResponse;if(e.supply){if(!Array.isArray(e.supply))throw TypeError(".cosmos.bank.v1beta1.QueryTotalSupplyResponse.supply: array expected");t.supply=[];for(var r=0;r>>3){case 1:n.denom=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QuerySupplyOfRequest)return e;var t=new a.cosmos.bank.v1beta1.QuerySupplyOfRequest;return null!=e.denom&&(t.denom=String(e.denom)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.denom=""),null!=e.denom&&e.hasOwnProperty("denom")&&(r.denom=e.denom),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QuerySupplyOfResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.amount=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QuerySupplyOfResponse)return e;var t=new a.cosmos.bank.v1beta1.QuerySupplyOfResponse;if(null!=e.amount){if("object"!=typeof e.amount)throw TypeError(".cosmos.bank.v1beta1.QuerySupplyOfResponse.amount: object expected");t.amount=a.cosmos.base.v1beta1.Coin.fromObject(e.amount)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.amount=null),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=a.cosmos.base.v1beta1.Coin.toObject(e.amount,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryParamsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.params=a.cosmos.bank.v1beta1.Params.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.QueryParamsResponse)return e;var t=new a.cosmos.bank.v1beta1.QueryParamsResponse;if(null!=e.params){if("object"!=typeof e.params)throw TypeError(".cosmos.bank.v1beta1.QueryParamsResponse.params: object expected");t.params=a.cosmos.bank.v1beta1.Params.fromObject(e.params)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.params=null),null!=e.params&&e.hasOwnProperty("params")&&(r.params=a.cosmos.bank.v1beta1.Params.toObject(e.params,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Msg=function(){function e(e,t,r){n.rpc.Service.call(this,e,t,r)}return(e.prototype=Object.create(n.rpc.Service.prototype)).constructor=e,e.create=function(e,t,r){return new this(e,t,r)},Object.defineProperty(e.prototype.send=function e(t,r){return this.rpcCall(e,a.cosmos.bank.v1beta1.MsgSend,a.cosmos.bank.v1beta1.MsgSendResponse,t,r)},"name",{value:"Send"}),Object.defineProperty(e.prototype.multiSend=function e(t,r){return this.rpcCall(e,a.cosmos.bank.v1beta1.MsgMultiSend,a.cosmos.bank.v1beta1.MsgMultiSendResponse,t,r)},"name",{value:"MultiSend"}),e}(),e.MsgSend=function(){function e(e){if(this.amount=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.fromAddress=e.string();break;case 2:n.toAddress=e.string();break;case 3:n.amount&&n.amount.length||(n.amount=[]),n.amount.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.MsgSend)return e;var t=new a.cosmos.bank.v1beta1.MsgSend;if(null!=e.fromAddress&&(t.fromAddress=String(e.fromAddress)),null!=e.toAddress&&(t.toAddress=String(e.toAddress)),e.amount){if(!Array.isArray(e.amount))throw TypeError(".cosmos.bank.v1beta1.MsgSend.amount: array expected");t.amount=[];for(var r=0;r>>3){case 1:n.inputs&&n.inputs.length||(n.inputs=[]),n.inputs.push(a.cosmos.bank.v1beta1.Input.decode(e,e.uint32()));break;case 2:n.outputs&&n.outputs.length||(n.outputs=[]),n.outputs.push(a.cosmos.bank.v1beta1.Output.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.bank.v1beta1.MsgMultiSend)return e;var t=new a.cosmos.bank.v1beta1.MsgMultiSend;if(e.inputs){if(!Array.isArray(e.inputs))throw TypeError(".cosmos.bank.v1beta1.MsgMultiSend.inputs: array expected");t.inputs=[];for(var r=0;r>>3){case 1:n.key=e.bytes();break;case 2:n.offset=e.uint64();break;case 3:n.limit=e.uint64();break;case 4:n.countTotal=e.bool();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.base.query.v1beta1.PageRequest)return e;var t=new a.cosmos.base.query.v1beta1.PageRequest;return null!=e.key&&("string"==typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),null!=e.offset&&(s.Long?(t.offset=s.Long.fromValue(e.offset)).unsigned=!0:"string"==typeof e.offset?t.offset=parseInt(e.offset,10):"number"==typeof e.offset?t.offset=e.offset:"object"==typeof e.offset&&(t.offset=new s.LongBits(e.offset.low>>>0,e.offset.high>>>0).toNumber(!0))),null!=e.limit&&(s.Long?(t.limit=s.Long.fromValue(e.limit)).unsigned=!0:"string"==typeof e.limit?t.limit=parseInt(e.limit,10):"number"==typeof e.limit?t.limit=e.limit:"object"==typeof e.limit&&(t.limit=new s.LongBits(e.limit.low>>>0,e.limit.high>>>0).toNumber(!0))),null!=e.countTotal&&(t.countTotal=Boolean(e.countTotal)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key))),s.Long){var n=new s.Long(0,0,!0);r.offset=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.offset=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.limit=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.limit=t.longs===String?"0":0;r.countTotal=!1}return null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),null!=e.offset&&e.hasOwnProperty("offset")&&("number"==typeof e.offset?r.offset=t.longs===String?String(e.offset):e.offset:r.offset=t.longs===String?s.Long.prototype.toString.call(e.offset):t.longs===Number?new s.LongBits(e.offset.low>>>0,e.offset.high>>>0).toNumber(!0):e.offset),null!=e.limit&&e.hasOwnProperty("limit")&&("number"==typeof e.limit?r.limit=t.longs===String?String(e.limit):e.limit:r.limit=t.longs===String?s.Long.prototype.toString.call(e.limit):t.longs===Number?new s.LongBits(e.limit.low>>>0,e.limit.high>>>0).toNumber(!0):e.limit),null!=e.countTotal&&e.hasOwnProperty("countTotal")&&(r.countTotal=e.countTotal),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PageResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.nextKey=e.bytes();break;case 2:n.total=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.base.query.v1beta1.PageResponse)return e;var t=new a.cosmos.base.query.v1beta1.PageResponse;return null!=e.nextKey&&("string"==typeof e.nextKey?s.base64.decode(e.nextKey,t.nextKey=s.newBuffer(s.base64.length(e.nextKey)),0):e.nextKey.length&&(t.nextKey=e.nextKey)),null!=e.total&&(s.Long?(t.total=s.Long.fromValue(e.total)).unsigned=!0:"string"==typeof e.total?t.total=parseInt(e.total,10):"number"==typeof e.total?t.total=e.total:"object"==typeof e.total&&(t.total=new s.LongBits(e.total.low>>>0,e.total.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(t.bytes===String?r.nextKey="":(r.nextKey=[],t.bytes!==Array&&(r.nextKey=s.newBuffer(r.nextKey))),s.Long){var n=new s.Long(0,0,!0);r.total=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.total=t.longs===String?"0":0;return null!=e.nextKey&&e.hasOwnProperty("nextKey")&&(r.nextKey=t.bytes===String?s.base64.encode(e.nextKey,0,e.nextKey.length):t.bytes===Array?Array.prototype.slice.call(e.nextKey):e.nextKey),null!=e.total&&e.hasOwnProperty("total")&&("number"==typeof e.total?r.total=t.longs===String?String(e.total):e.total:r.total=t.longs===String?s.Long.prototype.toString.call(e.total):t.longs===Number?new s.LongBits(e.total.low>>>0,e.total.high>>>0).toNumber(!0):e.total),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.v1beta1=function(){const e={};return e.Coin=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.denom=e.string();break;case 2:n.amount=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.base.v1beta1.Coin)return e;var t=new a.cosmos.base.v1beta1.Coin;return null!=e.denom&&(t.denom=String(e.denom)),null!=e.amount&&(t.amount=String(e.amount)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.denom="",r.amount=""),null!=e.denom&&e.hasOwnProperty("denom")&&(r.denom=e.denom),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=e.amount),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DecCoin=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.denom=e.string();break;case 2:n.amount=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.base.v1beta1.DecCoin)return e;var t=new a.cosmos.base.v1beta1.DecCoin;return null!=e.denom&&(t.denom=String(e.denom)),null!=e.amount&&(t.amount=String(e.amount)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.denom="",r.amount=""),null!=e.denom&&e.hasOwnProperty("denom")&&(r.denom=e.denom),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=e.amount),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.IntProto=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.int=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.base.v1beta1.IntProto)return e;var t=new a.cosmos.base.v1beta1.IntProto;return null!=e.int&&(t.int=String(e.int)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.int=""),null!=e.int&&e.hasOwnProperty("int")&&(r.int=e.int),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DecProto=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.dec=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.base.v1beta1.DecProto)return e;var t=new a.cosmos.base.v1beta1.DecProto;return null!=e.dec&&(t.dec=String(e.dec)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.dec=""),null!=e.dec&&e.hasOwnProperty("dec")&&(r.dec=e.dec),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.crypto=function(){const e={};return e.multisig=function(){const e={};return e.v1beta1=function(){const e={};return e.MultiSignature=function(){function e(e){if(this.signatures=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(e.bytes());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.crypto.multisig.v1beta1.MultiSignature)return e;var t=new a.cosmos.crypto.multisig.v1beta1.MultiSignature;if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.crypto.multisig.v1beta1.MultiSignature.signatures: array expected");t.signatures=[];for(var r=0;r>>3){case 1:n.extraBitsStored=e.uint32();break;case 2:n.elems=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.crypto.multisig.v1beta1.CompactBitArray)return e;var t=new a.cosmos.crypto.multisig.v1beta1.CompactBitArray;return null!=e.extraBitsStored&&(t.extraBitsStored=e.extraBitsStored>>>0),null!=e.elems&&("string"==typeof e.elems?s.base64.decode(e.elems,t.elems=s.newBuffer(s.base64.length(e.elems)),0):e.elems.length&&(t.elems=e.elems)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.extraBitsStored=0,t.bytes===String?r.elems="":(r.elems=[],t.bytes!==Array&&(r.elems=s.newBuffer(r.elems)))),null!=e.extraBitsStored&&e.hasOwnProperty("extraBitsStored")&&(r.extraBitsStored=e.extraBitsStored),null!=e.elems&&e.hasOwnProperty("elems")&&(r.elems=t.bytes===String?s.base64.encode(e.elems,0,e.elems.length):t.bytes===Array?Array.prototype.slice.call(e.elems):e.elems),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.secp256k1=function(){const e={};return e.PubKey=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.key=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.crypto.secp256k1.PubKey)return e;var t=new a.cosmos.crypto.secp256k1.PubKey;return null!=e.key&&("string"==typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key)))),null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PrivKey=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.key=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.crypto.secp256k1.PrivKey)return e;var t=new a.cosmos.crypto.secp256k1.PrivKey;return null!=e.key&&("string"==typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key)))),null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.staking=function(){const e={};return e.v1beta1=function(){const e={};return e.HistoricalInfo=function(){function e(e){if(this.valset=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.header=a.tendermint.types.Header.decode(e,e.uint32());break;case 2:n.valset&&n.valset.length||(n.valset=[]),n.valset.push(a.cosmos.staking.v1beta1.Validator.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.HistoricalInfo)return e;var t=new a.cosmos.staking.v1beta1.HistoricalInfo;if(null!=e.header){if("object"!=typeof e.header)throw TypeError(".cosmos.staking.v1beta1.HistoricalInfo.header: object expected");t.header=a.tendermint.types.Header.fromObject(e.header)}if(e.valset){if(!Array.isArray(e.valset))throw TypeError(".cosmos.staking.v1beta1.HistoricalInfo.valset: array expected");t.valset=[];for(var r=0;r>>3){case 1:n.rate=e.string();break;case 2:n.maxRate=e.string();break;case 3:n.maxChangeRate=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.CommissionRates)return e;var t=new a.cosmos.staking.v1beta1.CommissionRates;return null!=e.rate&&(t.rate=String(e.rate)),null!=e.maxRate&&(t.maxRate=String(e.maxRate)),null!=e.maxChangeRate&&(t.maxChangeRate=String(e.maxChangeRate)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.rate="",r.maxRate="",r.maxChangeRate=""),null!=e.rate&&e.hasOwnProperty("rate")&&(r.rate=e.rate),null!=e.maxRate&&e.hasOwnProperty("maxRate")&&(r.maxRate=e.maxRate),null!=e.maxChangeRate&&e.hasOwnProperty("maxChangeRate")&&(r.maxChangeRate=e.maxChangeRate),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Commission=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.commissionRates=a.cosmos.staking.v1beta1.CommissionRates.decode(e,e.uint32());break;case 2:n.updateTime=a.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Commission)return e;var t=new a.cosmos.staking.v1beta1.Commission;if(null!=e.commissionRates){if("object"!=typeof e.commissionRates)throw TypeError(".cosmos.staking.v1beta1.Commission.commissionRates: object expected");t.commissionRates=a.cosmos.staking.v1beta1.CommissionRates.fromObject(e.commissionRates)}if(null!=e.updateTime){if("object"!=typeof e.updateTime)throw TypeError(".cosmos.staking.v1beta1.Commission.updateTime: object expected");t.updateTime=a.google.protobuf.Timestamp.fromObject(e.updateTime)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.commissionRates=null,r.updateTime=null),null!=e.commissionRates&&e.hasOwnProperty("commissionRates")&&(r.commissionRates=a.cosmos.staking.v1beta1.CommissionRates.toObject(e.commissionRates,t)),null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(r.updateTime=a.google.protobuf.Timestamp.toObject(e.updateTime,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Description=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.moniker=e.string();break;case 2:n.identity=e.string();break;case 3:n.website=e.string();break;case 4:n.securityContact=e.string();break;case 5:n.details=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Description)return e;var t=new a.cosmos.staking.v1beta1.Description;return null!=e.moniker&&(t.moniker=String(e.moniker)),null!=e.identity&&(t.identity=String(e.identity)),null!=e.website&&(t.website=String(e.website)),null!=e.securityContact&&(t.securityContact=String(e.securityContact)),null!=e.details&&(t.details=String(e.details)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.moniker="",r.identity="",r.website="",r.securityContact="",r.details=""),null!=e.moniker&&e.hasOwnProperty("moniker")&&(r.moniker=e.moniker),null!=e.identity&&e.hasOwnProperty("identity")&&(r.identity=e.identity),null!=e.website&&e.hasOwnProperty("website")&&(r.website=e.website),null!=e.securityContact&&e.hasOwnProperty("securityContact")&&(r.securityContact=e.securityContact),null!=e.details&&e.hasOwnProperty("details")&&(r.details=e.details),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Validator=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.operatorAddress=e.string();break;case 2:n.consensusPubkey=a.google.protobuf.Any.decode(e,e.uint32());break;case 3:n.jailed=e.bool();break;case 4:n.status=e.int32();break;case 5:n.tokens=e.string();break;case 6:n.delegatorShares=e.string();break;case 7:n.description=a.cosmos.staking.v1beta1.Description.decode(e,e.uint32());break;case 8:n.unbondingHeight=e.int64();break;case 9:n.unbondingTime=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 10:n.commission=a.cosmos.staking.v1beta1.Commission.decode(e,e.uint32());break;case 11:n.minSelfDelegation=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Validator)return e;var t=new a.cosmos.staking.v1beta1.Validator;if(null!=e.operatorAddress&&(t.operatorAddress=String(e.operatorAddress)),null!=e.consensusPubkey){if("object"!=typeof e.consensusPubkey)throw TypeError(".cosmos.staking.v1beta1.Validator.consensusPubkey: object expected");t.consensusPubkey=a.google.protobuf.Any.fromObject(e.consensusPubkey)}switch(null!=e.jailed&&(t.jailed=Boolean(e.jailed)),e.status){case"BOND_STATUS_UNSPECIFIED":case 0:t.status=0;break;case"BOND_STATUS_UNBONDED":case 1:t.status=1;break;case"BOND_STATUS_UNBONDING":case 2:t.status=2;break;case"BOND_STATUS_BONDED":case 3:t.status=3}if(null!=e.tokens&&(t.tokens=String(e.tokens)),null!=e.delegatorShares&&(t.delegatorShares=String(e.delegatorShares)),null!=e.description){if("object"!=typeof e.description)throw TypeError(".cosmos.staking.v1beta1.Validator.description: object expected");t.description=a.cosmos.staking.v1beta1.Description.fromObject(e.description)}if(null!=e.unbondingHeight&&(s.Long?(t.unbondingHeight=s.Long.fromValue(e.unbondingHeight)).unsigned=!1:"string"==typeof e.unbondingHeight?t.unbondingHeight=parseInt(e.unbondingHeight,10):"number"==typeof e.unbondingHeight?t.unbondingHeight=e.unbondingHeight:"object"==typeof e.unbondingHeight&&(t.unbondingHeight=new s.LongBits(e.unbondingHeight.low>>>0,e.unbondingHeight.high>>>0).toNumber())),null!=e.unbondingTime){if("object"!=typeof e.unbondingTime)throw TypeError(".cosmos.staking.v1beta1.Validator.unbondingTime: object expected");t.unbondingTime=a.google.protobuf.Timestamp.fromObject(e.unbondingTime)}if(null!=e.commission){if("object"!=typeof e.commission)throw TypeError(".cosmos.staking.v1beta1.Validator.commission: object expected");t.commission=a.cosmos.staking.v1beta1.Commission.fromObject(e.commission)}return null!=e.minSelfDelegation&&(t.minSelfDelegation=String(e.minSelfDelegation)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.operatorAddress="",r.consensusPubkey=null,r.jailed=!1,r.status=t.enums===String?"BOND_STATUS_UNSPECIFIED":0,r.tokens="",r.delegatorShares="",r.description=null,s.Long){var n=new s.Long(0,0,!1);r.unbondingHeight=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.unbondingHeight=t.longs===String?"0":0;r.unbondingTime=null,r.commission=null,r.minSelfDelegation=""}return null!=e.operatorAddress&&e.hasOwnProperty("operatorAddress")&&(r.operatorAddress=e.operatorAddress),null!=e.consensusPubkey&&e.hasOwnProperty("consensusPubkey")&&(r.consensusPubkey=a.google.protobuf.Any.toObject(e.consensusPubkey,t)),null!=e.jailed&&e.hasOwnProperty("jailed")&&(r.jailed=e.jailed),null!=e.status&&e.hasOwnProperty("status")&&(r.status=t.enums===String?a.cosmos.staking.v1beta1.BondStatus[e.status]:e.status),null!=e.tokens&&e.hasOwnProperty("tokens")&&(r.tokens=e.tokens),null!=e.delegatorShares&&e.hasOwnProperty("delegatorShares")&&(r.delegatorShares=e.delegatorShares),null!=e.description&&e.hasOwnProperty("description")&&(r.description=a.cosmos.staking.v1beta1.Description.toObject(e.description,t)),null!=e.unbondingHeight&&e.hasOwnProperty("unbondingHeight")&&("number"==typeof e.unbondingHeight?r.unbondingHeight=t.longs===String?String(e.unbondingHeight):e.unbondingHeight:r.unbondingHeight=t.longs===String?s.Long.prototype.toString.call(e.unbondingHeight):t.longs===Number?new s.LongBits(e.unbondingHeight.low>>>0,e.unbondingHeight.high>>>0).toNumber():e.unbondingHeight),null!=e.unbondingTime&&e.hasOwnProperty("unbondingTime")&&(r.unbondingTime=a.google.protobuf.Timestamp.toObject(e.unbondingTime,t)),null!=e.commission&&e.hasOwnProperty("commission")&&(r.commission=a.cosmos.staking.v1beta1.Commission.toObject(e.commission,t)),null!=e.minSelfDelegation&&e.hasOwnProperty("minSelfDelegation")&&(r.minSelfDelegation=e.minSelfDelegation),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BondStatus=function(){const e={},t=Object.create(e);return t[e[0]="BOND_STATUS_UNSPECIFIED"]=0,t[e[1]="BOND_STATUS_UNBONDED"]=1,t[e[2]="BOND_STATUS_UNBONDING"]=2,t[e[3]="BOND_STATUS_BONDED"]=3,t}(),e.ValAddresses=function(){function e(e){if(this.addresses=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.addresses&&n.addresses.length||(n.addresses=[]),n.addresses.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.ValAddresses)return e;var t=new a.cosmos.staking.v1beta1.ValAddresses;if(e.addresses){if(!Array.isArray(e.addresses))throw TypeError(".cosmos.staking.v1beta1.ValAddresses.addresses: array expected");t.addresses=[];for(var r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorAddress=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.DVPair)return e;var t=new a.cosmos.staking.v1beta1.DVPair;return null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegatorAddress="",r.validatorAddress=""),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=e.validatorAddress),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DVPairs=function(){function e(e){if(this.pairs=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.pairs&&n.pairs.length||(n.pairs=[]),n.pairs.push(a.cosmos.staking.v1beta1.DVPair.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.DVPairs)return e;var t=new a.cosmos.staking.v1beta1.DVPairs;if(e.pairs){if(!Array.isArray(e.pairs))throw TypeError(".cosmos.staking.v1beta1.DVPairs.pairs: array expected");t.pairs=[];for(var r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorSrcAddress=e.string();break;case 3:n.validatorDstAddress=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.DVVTriplet)return e;var t=new a.cosmos.staking.v1beta1.DVVTriplet;return null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorSrcAddress&&(t.validatorSrcAddress=String(e.validatorSrcAddress)),null!=e.validatorDstAddress&&(t.validatorDstAddress=String(e.validatorDstAddress)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegatorAddress="",r.validatorSrcAddress="",r.validatorDstAddress=""),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorSrcAddress&&e.hasOwnProperty("validatorSrcAddress")&&(r.validatorSrcAddress=e.validatorSrcAddress),null!=e.validatorDstAddress&&e.hasOwnProperty("validatorDstAddress")&&(r.validatorDstAddress=e.validatorDstAddress),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DVVTriplets=function(){function e(e){if(this.triplets=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.triplets&&n.triplets.length||(n.triplets=[]),n.triplets.push(a.cosmos.staking.v1beta1.DVVTriplet.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.DVVTriplets)return e;var t=new a.cosmos.staking.v1beta1.DVVTriplets;if(e.triplets){if(!Array.isArray(e.triplets))throw TypeError(".cosmos.staking.v1beta1.DVVTriplets.triplets: array expected");t.triplets=[];for(var r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorAddress=e.string();break;case 3:n.shares=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Delegation)return e;var t=new a.cosmos.staking.v1beta1.Delegation;return null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.shares&&(t.shares=String(e.shares)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegatorAddress="",r.validatorAddress="",r.shares=""),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=e.validatorAddress),null!=e.shares&&e.hasOwnProperty("shares")&&(r.shares=e.shares),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.UnbondingDelegation=function(){function e(e){if(this.entries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorAddress=e.string();break;case 3:n.entries&&n.entries.length||(n.entries=[]),n.entries.push(a.cosmos.staking.v1beta1.UnbondingDelegationEntry.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.UnbondingDelegation)return e;var t=new a.cosmos.staking.v1beta1.UnbondingDelegation;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),e.entries){if(!Array.isArray(e.entries))throw TypeError(".cosmos.staking.v1beta1.UnbondingDelegation.entries: array expected");t.entries=[];for(var r=0;r>>3){case 1:n.creationHeight=e.int64();break;case 2:n.completionTime=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 3:n.initialBalance=e.string();break;case 4:n.balance=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.UnbondingDelegationEntry)return e;var t=new a.cosmos.staking.v1beta1.UnbondingDelegationEntry;if(null!=e.creationHeight&&(s.Long?(t.creationHeight=s.Long.fromValue(e.creationHeight)).unsigned=!1:"string"==typeof e.creationHeight?t.creationHeight=parseInt(e.creationHeight,10):"number"==typeof e.creationHeight?t.creationHeight=e.creationHeight:"object"==typeof e.creationHeight&&(t.creationHeight=new s.LongBits(e.creationHeight.low>>>0,e.creationHeight.high>>>0).toNumber())),null!=e.completionTime){if("object"!=typeof e.completionTime)throw TypeError(".cosmos.staking.v1beta1.UnbondingDelegationEntry.completionTime: object expected");t.completionTime=a.google.protobuf.Timestamp.fromObject(e.completionTime)}return null!=e.initialBalance&&(t.initialBalance=String(e.initialBalance)),null!=e.balance&&(t.balance=String(e.balance)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!1);r.creationHeight=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.creationHeight=t.longs===String?"0":0;r.completionTime=null,r.initialBalance="",r.balance=""}return null!=e.creationHeight&&e.hasOwnProperty("creationHeight")&&("number"==typeof e.creationHeight?r.creationHeight=t.longs===String?String(e.creationHeight):e.creationHeight:r.creationHeight=t.longs===String?s.Long.prototype.toString.call(e.creationHeight):t.longs===Number?new s.LongBits(e.creationHeight.low>>>0,e.creationHeight.high>>>0).toNumber():e.creationHeight),null!=e.completionTime&&e.hasOwnProperty("completionTime")&&(r.completionTime=a.google.protobuf.Timestamp.toObject(e.completionTime,t)),null!=e.initialBalance&&e.hasOwnProperty("initialBalance")&&(r.initialBalance=e.initialBalance),null!=e.balance&&e.hasOwnProperty("balance")&&(r.balance=e.balance),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RedelegationEntry=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.creationHeight=e.int64();break;case 2:n.completionTime=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 3:n.initialBalance=e.string();break;case 4:n.sharesDst=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.RedelegationEntry)return e;var t=new a.cosmos.staking.v1beta1.RedelegationEntry;if(null!=e.creationHeight&&(s.Long?(t.creationHeight=s.Long.fromValue(e.creationHeight)).unsigned=!1:"string"==typeof e.creationHeight?t.creationHeight=parseInt(e.creationHeight,10):"number"==typeof e.creationHeight?t.creationHeight=e.creationHeight:"object"==typeof e.creationHeight&&(t.creationHeight=new s.LongBits(e.creationHeight.low>>>0,e.creationHeight.high>>>0).toNumber())),null!=e.completionTime){if("object"!=typeof e.completionTime)throw TypeError(".cosmos.staking.v1beta1.RedelegationEntry.completionTime: object expected");t.completionTime=a.google.protobuf.Timestamp.fromObject(e.completionTime)}return null!=e.initialBalance&&(t.initialBalance=String(e.initialBalance)),null!=e.sharesDst&&(t.sharesDst=String(e.sharesDst)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!1);r.creationHeight=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.creationHeight=t.longs===String?"0":0;r.completionTime=null,r.initialBalance="",r.sharesDst=""}return null!=e.creationHeight&&e.hasOwnProperty("creationHeight")&&("number"==typeof e.creationHeight?r.creationHeight=t.longs===String?String(e.creationHeight):e.creationHeight:r.creationHeight=t.longs===String?s.Long.prototype.toString.call(e.creationHeight):t.longs===Number?new s.LongBits(e.creationHeight.low>>>0,e.creationHeight.high>>>0).toNumber():e.creationHeight),null!=e.completionTime&&e.hasOwnProperty("completionTime")&&(r.completionTime=a.google.protobuf.Timestamp.toObject(e.completionTime,t)),null!=e.initialBalance&&e.hasOwnProperty("initialBalance")&&(r.initialBalance=e.initialBalance),null!=e.sharesDst&&e.hasOwnProperty("sharesDst")&&(r.sharesDst=e.sharesDst),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Redelegation=function(){function e(e){if(this.entries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorSrcAddress=e.string();break;case 3:n.validatorDstAddress=e.string();break;case 4:n.entries&&n.entries.length||(n.entries=[]),n.entries.push(a.cosmos.staking.v1beta1.RedelegationEntry.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Redelegation)return e;var t=new a.cosmos.staking.v1beta1.Redelegation;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorSrcAddress&&(t.validatorSrcAddress=String(e.validatorSrcAddress)),null!=e.validatorDstAddress&&(t.validatorDstAddress=String(e.validatorDstAddress)),e.entries){if(!Array.isArray(e.entries))throw TypeError(".cosmos.staking.v1beta1.Redelegation.entries: array expected");t.entries=[];for(var r=0;r>>3){case 1:n.unbondingTime=a.google.protobuf.Duration.decode(e,e.uint32());break;case 2:n.maxValidators=e.uint32();break;case 3:n.maxEntries=e.uint32();break;case 4:n.historicalEntries=e.uint32();break;case 5:n.bondDenom=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Params)return e;var t=new a.cosmos.staking.v1beta1.Params;if(null!=e.unbondingTime){if("object"!=typeof e.unbondingTime)throw TypeError(".cosmos.staking.v1beta1.Params.unbondingTime: object expected");t.unbondingTime=a.google.protobuf.Duration.fromObject(e.unbondingTime)}return null!=e.maxValidators&&(t.maxValidators=e.maxValidators>>>0),null!=e.maxEntries&&(t.maxEntries=e.maxEntries>>>0),null!=e.historicalEntries&&(t.historicalEntries=e.historicalEntries>>>0),null!=e.bondDenom&&(t.bondDenom=String(e.bondDenom)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.unbondingTime=null,r.maxValidators=0,r.maxEntries=0,r.historicalEntries=0,r.bondDenom=""),null!=e.unbondingTime&&e.hasOwnProperty("unbondingTime")&&(r.unbondingTime=a.google.protobuf.Duration.toObject(e.unbondingTime,t)),null!=e.maxValidators&&e.hasOwnProperty("maxValidators")&&(r.maxValidators=e.maxValidators),null!=e.maxEntries&&e.hasOwnProperty("maxEntries")&&(r.maxEntries=e.maxEntries),null!=e.historicalEntries&&e.hasOwnProperty("historicalEntries")&&(r.historicalEntries=e.historicalEntries),null!=e.bondDenom&&e.hasOwnProperty("bondDenom")&&(r.bondDenom=e.bondDenom),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DelegationResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.delegation=a.cosmos.staking.v1beta1.Delegation.decode(e,e.uint32());break;case 2:n.balance=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.DelegationResponse)return e;var t=new a.cosmos.staking.v1beta1.DelegationResponse;if(null!=e.delegation){if("object"!=typeof e.delegation)throw TypeError(".cosmos.staking.v1beta1.DelegationResponse.delegation: object expected");t.delegation=a.cosmos.staking.v1beta1.Delegation.fromObject(e.delegation)}if(null!=e.balance){if("object"!=typeof e.balance)throw TypeError(".cosmos.staking.v1beta1.DelegationResponse.balance: object expected");t.balance=a.cosmos.base.v1beta1.Coin.fromObject(e.balance)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegation=null,r.balance=null),null!=e.delegation&&e.hasOwnProperty("delegation")&&(r.delegation=a.cosmos.staking.v1beta1.Delegation.toObject(e.delegation,t)),null!=e.balance&&e.hasOwnProperty("balance")&&(r.balance=a.cosmos.base.v1beta1.Coin.toObject(e.balance,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RedelegationEntryResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.redelegationEntry=a.cosmos.staking.v1beta1.RedelegationEntry.decode(e,e.uint32());break;case 4:n.balance=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.RedelegationEntryResponse)return e;var t=new a.cosmos.staking.v1beta1.RedelegationEntryResponse;if(null!=e.redelegationEntry){if("object"!=typeof e.redelegationEntry)throw TypeError(".cosmos.staking.v1beta1.RedelegationEntryResponse.redelegationEntry: object expected");t.redelegationEntry=a.cosmos.staking.v1beta1.RedelegationEntry.fromObject(e.redelegationEntry)}return null!=e.balance&&(t.balance=String(e.balance)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.redelegationEntry=null,r.balance=""),null!=e.redelegationEntry&&e.hasOwnProperty("redelegationEntry")&&(r.redelegationEntry=a.cosmos.staking.v1beta1.RedelegationEntry.toObject(e.redelegationEntry,t)),null!=e.balance&&e.hasOwnProperty("balance")&&(r.balance=e.balance),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RedelegationResponse=function(){function e(e){if(this.entries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.redelegation=a.cosmos.staking.v1beta1.Redelegation.decode(e,e.uint32());break;case 2:n.entries&&n.entries.length||(n.entries=[]),n.entries.push(a.cosmos.staking.v1beta1.RedelegationEntryResponse.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.RedelegationResponse)return e;var t=new a.cosmos.staking.v1beta1.RedelegationResponse;if(null!=e.redelegation){if("object"!=typeof e.redelegation)throw TypeError(".cosmos.staking.v1beta1.RedelegationResponse.redelegation: object expected");t.redelegation=a.cosmos.staking.v1beta1.Redelegation.fromObject(e.redelegation)}if(e.entries){if(!Array.isArray(e.entries))throw TypeError(".cosmos.staking.v1beta1.RedelegationResponse.entries: array expected");t.entries=[];for(var r=0;r>>3){case 1:n.notBondedTokens=e.string();break;case 2:n.bondedTokens=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.Pool)return e;var t=new a.cosmos.staking.v1beta1.Pool;return null!=e.notBondedTokens&&(t.notBondedTokens=String(e.notBondedTokens)),null!=e.bondedTokens&&(t.bondedTokens=String(e.bondedTokens)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.notBondedTokens="",r.bondedTokens=""),null!=e.notBondedTokens&&e.hasOwnProperty("notBondedTokens")&&(r.notBondedTokens=e.notBondedTokens),null!=e.bondedTokens&&e.hasOwnProperty("bondedTokens")&&(r.bondedTokens=e.bondedTokens),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Msg=function(){function e(e,t,r){n.rpc.Service.call(this,e,t,r)}return(e.prototype=Object.create(n.rpc.Service.prototype)).constructor=e,e.create=function(e,t,r){return new this(e,t,r)},Object.defineProperty(e.prototype.createValidator=function e(t,r){return this.rpcCall(e,a.cosmos.staking.v1beta1.MsgCreateValidator,a.cosmos.staking.v1beta1.MsgCreateValidatorResponse,t,r)},"name",{value:"CreateValidator"}),Object.defineProperty(e.prototype.editValidator=function e(t,r){return this.rpcCall(e,a.cosmos.staking.v1beta1.MsgEditValidator,a.cosmos.staking.v1beta1.MsgEditValidatorResponse,t,r)},"name",{value:"EditValidator"}),Object.defineProperty(e.prototype.delegate=function e(t,r){return this.rpcCall(e,a.cosmos.staking.v1beta1.MsgDelegate,a.cosmos.staking.v1beta1.MsgDelegateResponse,t,r)},"name",{value:"Delegate"}),Object.defineProperty(e.prototype.beginRedelegate=function e(t,r){return this.rpcCall(e,a.cosmos.staking.v1beta1.MsgBeginRedelegate,a.cosmos.staking.v1beta1.MsgBeginRedelegateResponse,t,r)},"name",{value:"BeginRedelegate"}),Object.defineProperty(e.prototype.undelegate=function e(t,r){return this.rpcCall(e,a.cosmos.staking.v1beta1.MsgUndelegate,a.cosmos.staking.v1beta1.MsgUndelegateResponse,t,r)},"name",{value:"Undelegate"}),e}(),e.MsgCreateValidator=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.description=a.cosmos.staking.v1beta1.Description.decode(e,e.uint32());break;case 2:n.commission=a.cosmos.staking.v1beta1.CommissionRates.decode(e,e.uint32());break;case 3:n.minSelfDelegation=e.string();break;case 4:n.delegatorAddress=e.string();break;case 5:n.validatorAddress=e.string();break;case 6:n.pubkey=a.google.protobuf.Any.decode(e,e.uint32());break;case 7:n.value=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgCreateValidator)return e;var t=new a.cosmos.staking.v1beta1.MsgCreateValidator;if(null!=e.description){if("object"!=typeof e.description)throw TypeError(".cosmos.staking.v1beta1.MsgCreateValidator.description: object expected");t.description=a.cosmos.staking.v1beta1.Description.fromObject(e.description)}if(null!=e.commission){if("object"!=typeof e.commission)throw TypeError(".cosmos.staking.v1beta1.MsgCreateValidator.commission: object expected");t.commission=a.cosmos.staking.v1beta1.CommissionRates.fromObject(e.commission)}if(null!=e.minSelfDelegation&&(t.minSelfDelegation=String(e.minSelfDelegation)),null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.pubkey){if("object"!=typeof e.pubkey)throw TypeError(".cosmos.staking.v1beta1.MsgCreateValidator.pubkey: object expected");t.pubkey=a.google.protobuf.Any.fromObject(e.pubkey)}if(null!=e.value){if("object"!=typeof e.value)throw TypeError(".cosmos.staking.v1beta1.MsgCreateValidator.value: object expected");t.value=a.cosmos.base.v1beta1.Coin.fromObject(e.value)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.description=null,r.commission=null,r.minSelfDelegation="",r.delegatorAddress="",r.validatorAddress="",r.pubkey=null,r.value=null),null!=e.description&&e.hasOwnProperty("description")&&(r.description=a.cosmos.staking.v1beta1.Description.toObject(e.description,t)),null!=e.commission&&e.hasOwnProperty("commission")&&(r.commission=a.cosmos.staking.v1beta1.CommissionRates.toObject(e.commission,t)),null!=e.minSelfDelegation&&e.hasOwnProperty("minSelfDelegation")&&(r.minSelfDelegation=e.minSelfDelegation),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=e.validatorAddress),null!=e.pubkey&&e.hasOwnProperty("pubkey")&&(r.pubkey=a.google.protobuf.Any.toObject(e.pubkey,t)),null!=e.value&&e.hasOwnProperty("value")&&(r.value=a.cosmos.base.v1beta1.Coin.toObject(e.value,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgCreateValidatorResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.description=a.cosmos.staking.v1beta1.Description.decode(e,e.uint32());break;case 2:n.validatorAddress=e.string();break;case 3:n.commissionRate=e.string();break;case 4:n.minSelfDelegation=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgEditValidator)return e;var t=new a.cosmos.staking.v1beta1.MsgEditValidator;if(null!=e.description){if("object"!=typeof e.description)throw TypeError(".cosmos.staking.v1beta1.MsgEditValidator.description: object expected");t.description=a.cosmos.staking.v1beta1.Description.fromObject(e.description)}return null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.commissionRate&&(t.commissionRate=String(e.commissionRate)),null!=e.minSelfDelegation&&(t.minSelfDelegation=String(e.minSelfDelegation)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.description=null,r.validatorAddress="",r.commissionRate="",r.minSelfDelegation=""),null!=e.description&&e.hasOwnProperty("description")&&(r.description=a.cosmos.staking.v1beta1.Description.toObject(e.description,t)),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=e.validatorAddress),null!=e.commissionRate&&e.hasOwnProperty("commissionRate")&&(r.commissionRate=e.commissionRate),null!=e.minSelfDelegation&&e.hasOwnProperty("minSelfDelegation")&&(r.minSelfDelegation=e.minSelfDelegation),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgEditValidatorResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorAddress=e.string();break;case 3:n.amount=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgDelegate)return e;var t=new a.cosmos.staking.v1beta1.MsgDelegate;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.amount){if("object"!=typeof e.amount)throw TypeError(".cosmos.staking.v1beta1.MsgDelegate.amount: object expected");t.amount=a.cosmos.base.v1beta1.Coin.fromObject(e.amount)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegatorAddress="",r.validatorAddress="",r.amount=null),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=e.validatorAddress),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=a.cosmos.base.v1beta1.Coin.toObject(e.amount,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgDelegateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorSrcAddress=e.string();break;case 3:n.validatorDstAddress=e.string();break;case 4:n.amount=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgBeginRedelegate)return e;var t=new a.cosmos.staking.v1beta1.MsgBeginRedelegate;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorSrcAddress&&(t.validatorSrcAddress=String(e.validatorSrcAddress)),null!=e.validatorDstAddress&&(t.validatorDstAddress=String(e.validatorDstAddress)),null!=e.amount){if("object"!=typeof e.amount)throw TypeError(".cosmos.staking.v1beta1.MsgBeginRedelegate.amount: object expected");t.amount=a.cosmos.base.v1beta1.Coin.fromObject(e.amount)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegatorAddress="",r.validatorSrcAddress="",r.validatorDstAddress="",r.amount=null),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorSrcAddress&&e.hasOwnProperty("validatorSrcAddress")&&(r.validatorSrcAddress=e.validatorSrcAddress),null!=e.validatorDstAddress&&e.hasOwnProperty("validatorDstAddress")&&(r.validatorDstAddress=e.validatorDstAddress),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=a.cosmos.base.v1beta1.Coin.toObject(e.amount,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgBeginRedelegateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.completionTime=a.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgBeginRedelegateResponse)return e;var t=new a.cosmos.staking.v1beta1.MsgBeginRedelegateResponse;if(null!=e.completionTime){if("object"!=typeof e.completionTime)throw TypeError(".cosmos.staking.v1beta1.MsgBeginRedelegateResponse.completionTime: object expected");t.completionTime=a.google.protobuf.Timestamp.fromObject(e.completionTime)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.completionTime=null),null!=e.completionTime&&e.hasOwnProperty("completionTime")&&(r.completionTime=a.google.protobuf.Timestamp.toObject(e.completionTime,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgUndelegate=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.delegatorAddress=e.string();break;case 2:n.validatorAddress=e.string();break;case 3:n.amount=a.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgUndelegate)return e;var t=new a.cosmos.staking.v1beta1.MsgUndelegate;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.amount){if("object"!=typeof e.amount)throw TypeError(".cosmos.staking.v1beta1.MsgUndelegate.amount: object expected");t.amount=a.cosmos.base.v1beta1.Coin.fromObject(e.amount)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.delegatorAddress="",r.validatorAddress="",r.amount=null),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(r.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=e.validatorAddress),null!=e.amount&&e.hasOwnProperty("amount")&&(r.amount=a.cosmos.base.v1beta1.Coin.toObject(e.amount,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgUndelegateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.completionTime=a.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.staking.v1beta1.MsgUndelegateResponse)return e;var t=new a.cosmos.staking.v1beta1.MsgUndelegateResponse;if(null!=e.completionTime){if("object"!=typeof e.completionTime)throw TypeError(".cosmos.staking.v1beta1.MsgUndelegateResponse.completionTime: object expected");t.completionTime=a.google.protobuf.Timestamp.fromObject(e.completionTime)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.completionTime=null),null!=e.completionTime&&e.hasOwnProperty("completionTime")&&(r.completionTime=a.google.protobuf.Timestamp.toObject(e.completionTime,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.tx=function(){const e={};return e.signing=function(){const e={};return e.v1beta1=function(){const e={};return e.SignMode=function(){const e={},t=Object.create(e);return t[e[0]="SIGN_MODE_UNSPECIFIED"]=0,t[e[1]="SIGN_MODE_DIRECT"]=1,t[e[2]="SIGN_MODE_TEXTUAL"]=2,t[e[127]="SIGN_MODE_LEGACY_AMINO_JSON"]=127,t}(),e.SignatureDescriptors=function(){function e(e){if(this.signatures=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(a.cosmos.tx.signing.v1beta1.SignatureDescriptor.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.signing.v1beta1.SignatureDescriptors)return e;var t=new a.cosmos.tx.signing.v1beta1.SignatureDescriptors;if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptors.signatures: array expected");t.signatures=[];for(var r=0;r>>3){case 1:n.publicKey=a.google.protobuf.Any.decode(e,e.uint32());break;case 2:n.data=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.decode(e,e.uint32());break;case 3:n.sequence=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.signing.v1beta1.SignatureDescriptor)return e;var t=new a.cosmos.tx.signing.v1beta1.SignatureDescriptor;if(null!=e.publicKey){if("object"!=typeof e.publicKey)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.publicKey: object expected");t.publicKey=a.google.protobuf.Any.fromObject(e.publicKey)}if(null!=e.data){if("object"!=typeof e.data)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.data: object expected");t.data=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.fromObject(e.data)}return null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.publicKey=null,r.data=null,s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;return null!=e.publicKey&&e.hasOwnProperty("publicKey")&&(r.publicKey=a.google.protobuf.Any.toObject(e.publicKey,t)),null!=e.data&&e.hasOwnProperty("data")&&(r.data=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.toObject(e.data,t)),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.Data=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.single=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single.decode(e,e.uint32());break;case 2:n.multi=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data)return e;var t=new a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data;if(null!=e.single){if("object"!=typeof e.single)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.single: object expected");t.single=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single.fromObject(e.single)}if(null!=e.multi){if("object"!=typeof e.multi)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.multi: object expected");t.multi=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.fromObject(e.multi)}return t},e.toObject=function(e,t){t||(t={});var r={};return null!=e.single&&e.hasOwnProperty("single")&&(r.single=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single.toObject(e.single,t),t.oneofs&&(r.sum="single")),null!=e.multi&&e.hasOwnProperty("multi")&&(r.multi=a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.toObject(e.multi,t),t.oneofs&&(r.sum="multi")),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.Single=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.mode=e.int32();break;case 2:n.signature=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single)return e;var t=new a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single;switch(e.mode){case"SIGN_MODE_UNSPECIFIED":case 0:t.mode=0;break;case"SIGN_MODE_DIRECT":case 1:t.mode=1;break;case"SIGN_MODE_TEXTUAL":case 2:t.mode=2;break;case"SIGN_MODE_LEGACY_AMINO_JSON":case 127:t.mode=127}return null!=e.signature&&("string"==typeof e.signature?s.base64.decode(e.signature,t.signature=s.newBuffer(s.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.mode=t.enums===String?"SIGN_MODE_UNSPECIFIED":0,t.bytes===String?r.signature="":(r.signature=[],t.bytes!==Array&&(r.signature=s.newBuffer(r.signature)))),null!=e.mode&&e.hasOwnProperty("mode")&&(r.mode=t.enums===String?a.cosmos.tx.signing.v1beta1.SignMode[e.mode]:e.mode),null!=e.signature&&e.hasOwnProperty("signature")&&(r.signature=t.bytes===String?s.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Multi=function(){function e(e){if(this.signatures=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.bitarray=a.cosmos.crypto.multisig.v1beta1.CompactBitArray.decode(e,e.uint32());break;case 2:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi)return e;var t=new a.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi;if(null!=e.bitarray){if("object"!=typeof e.bitarray)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.bitarray: object expected");t.bitarray=a.cosmos.crypto.multisig.v1beta1.CompactBitArray.fromObject(e.bitarray)}if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.signatures: array expected");t.signatures=[];for(var r=0;r>>3){case 1:n.body=a.cosmos.tx.v1beta1.TxBody.decode(e,e.uint32());break;case 2:n.authInfo=a.cosmos.tx.v1beta1.AuthInfo.decode(e,e.uint32());break;case 3:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(e.bytes());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.Tx)return e;var t=new a.cosmos.tx.v1beta1.Tx;if(null!=e.body){if("object"!=typeof e.body)throw TypeError(".cosmos.tx.v1beta1.Tx.body: object expected");t.body=a.cosmos.tx.v1beta1.TxBody.fromObject(e.body)}if(null!=e.authInfo){if("object"!=typeof e.authInfo)throw TypeError(".cosmos.tx.v1beta1.Tx.authInfo: object expected");t.authInfo=a.cosmos.tx.v1beta1.AuthInfo.fromObject(e.authInfo)}if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.tx.v1beta1.Tx.signatures: array expected");t.signatures=[];for(var r=0;r>>3){case 1:n.bodyBytes=e.bytes();break;case 2:n.authInfoBytes=e.bytes();break;case 3:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(e.bytes());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.TxRaw)return e;var t=new a.cosmos.tx.v1beta1.TxRaw;if(null!=e.bodyBytes&&("string"==typeof e.bodyBytes?s.base64.decode(e.bodyBytes,t.bodyBytes=s.newBuffer(s.base64.length(e.bodyBytes)),0):e.bodyBytes.length&&(t.bodyBytes=e.bodyBytes)),null!=e.authInfoBytes&&("string"==typeof e.authInfoBytes?s.base64.decode(e.authInfoBytes,t.authInfoBytes=s.newBuffer(s.base64.length(e.authInfoBytes)),0):e.authInfoBytes.length&&(t.authInfoBytes=e.authInfoBytes)),e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.tx.v1beta1.TxRaw.signatures: array expected");t.signatures=[];for(var r=0;r>>3){case 1:n.bodyBytes=e.bytes();break;case 2:n.authInfoBytes=e.bytes();break;case 3:n.chainId=e.string();break;case 4:n.accountNumber=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.SignDoc)return e;var t=new a.cosmos.tx.v1beta1.SignDoc;return null!=e.bodyBytes&&("string"==typeof e.bodyBytes?s.base64.decode(e.bodyBytes,t.bodyBytes=s.newBuffer(s.base64.length(e.bodyBytes)),0):e.bodyBytes.length&&(t.bodyBytes=e.bodyBytes)),null!=e.authInfoBytes&&("string"==typeof e.authInfoBytes?s.base64.decode(e.authInfoBytes,t.authInfoBytes=s.newBuffer(s.base64.length(e.authInfoBytes)),0):e.authInfoBytes.length&&(t.authInfoBytes=e.authInfoBytes)),null!=e.chainId&&(t.chainId=String(e.chainId)),null!=e.accountNumber&&(s.Long?(t.accountNumber=s.Long.fromValue(e.accountNumber)).unsigned=!0:"string"==typeof e.accountNumber?t.accountNumber=parseInt(e.accountNumber,10):"number"==typeof e.accountNumber?t.accountNumber=e.accountNumber:"object"==typeof e.accountNumber&&(t.accountNumber=new s.LongBits(e.accountNumber.low>>>0,e.accountNumber.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(t.bytes===String?r.bodyBytes="":(r.bodyBytes=[],t.bytes!==Array&&(r.bodyBytes=s.newBuffer(r.bodyBytes))),t.bytes===String?r.authInfoBytes="":(r.authInfoBytes=[],t.bytes!==Array&&(r.authInfoBytes=s.newBuffer(r.authInfoBytes))),r.chainId="",s.Long){var n=new s.Long(0,0,!0);r.accountNumber=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.accountNumber=t.longs===String?"0":0;return null!=e.bodyBytes&&e.hasOwnProperty("bodyBytes")&&(r.bodyBytes=t.bytes===String?s.base64.encode(e.bodyBytes,0,e.bodyBytes.length):t.bytes===Array?Array.prototype.slice.call(e.bodyBytes):e.bodyBytes),null!=e.authInfoBytes&&e.hasOwnProperty("authInfoBytes")&&(r.authInfoBytes=t.bytes===String?s.base64.encode(e.authInfoBytes,0,e.authInfoBytes.length):t.bytes===Array?Array.prototype.slice.call(e.authInfoBytes):e.authInfoBytes),null!=e.chainId&&e.hasOwnProperty("chainId")&&(r.chainId=e.chainId),null!=e.accountNumber&&e.hasOwnProperty("accountNumber")&&("number"==typeof e.accountNumber?r.accountNumber=t.longs===String?String(e.accountNumber):e.accountNumber:r.accountNumber=t.longs===String?s.Long.prototype.toString.call(e.accountNumber):t.longs===Number?new s.LongBits(e.accountNumber.low>>>0,e.accountNumber.high>>>0).toNumber(!0):e.accountNumber),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.TxBody=function(){function e(e){if(this.messages=[],this.extensionOptions=[],this.nonCriticalExtensionOptions=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.messages&&n.messages.length||(n.messages=[]),n.messages.push(a.google.protobuf.Any.decode(e,e.uint32()));break;case 2:n.memo=e.string();break;case 3:n.timeoutHeight=e.uint64();break;case 1023:n.extensionOptions&&n.extensionOptions.length||(n.extensionOptions=[]),n.extensionOptions.push(a.google.protobuf.Any.decode(e,e.uint32()));break;case 2047:n.nonCriticalExtensionOptions&&n.nonCriticalExtensionOptions.length||(n.nonCriticalExtensionOptions=[]),n.nonCriticalExtensionOptions.push(a.google.protobuf.Any.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.TxBody)return e;var t=new a.cosmos.tx.v1beta1.TxBody;if(e.messages){if(!Array.isArray(e.messages))throw TypeError(".cosmos.tx.v1beta1.TxBody.messages: array expected");t.messages=[];for(var r=0;r>>0,e.timeoutHeight.high>>>0).toNumber(!0))),e.extensionOptions){if(!Array.isArray(e.extensionOptions))throw TypeError(".cosmos.tx.v1beta1.TxBody.extensionOptions: array expected");t.extensionOptions=[];for(r=0;r>>0,e.timeoutHeight.high>>>0).toNumber(!0):e.timeoutHeight),e.extensionOptions&&e.extensionOptions.length){r.extensionOptions=[];for(o=0;o>>3){case 1:n.signerInfos&&n.signerInfos.length||(n.signerInfos=[]),n.signerInfos.push(a.cosmos.tx.v1beta1.SignerInfo.decode(e,e.uint32()));break;case 2:n.fee=a.cosmos.tx.v1beta1.Fee.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.AuthInfo)return e;var t=new a.cosmos.tx.v1beta1.AuthInfo;if(e.signerInfos){if(!Array.isArray(e.signerInfos))throw TypeError(".cosmos.tx.v1beta1.AuthInfo.signerInfos: array expected");t.signerInfos=[];for(var r=0;r>>3){case 1:n.publicKey=a.google.protobuf.Any.decode(e,e.uint32());break;case 2:n.modeInfo=a.cosmos.tx.v1beta1.ModeInfo.decode(e,e.uint32());break;case 3:n.sequence=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.SignerInfo)return e;var t=new a.cosmos.tx.v1beta1.SignerInfo;if(null!=e.publicKey){if("object"!=typeof e.publicKey)throw TypeError(".cosmos.tx.v1beta1.SignerInfo.publicKey: object expected");t.publicKey=a.google.protobuf.Any.fromObject(e.publicKey)}if(null!=e.modeInfo){if("object"!=typeof e.modeInfo)throw TypeError(".cosmos.tx.v1beta1.SignerInfo.modeInfo: object expected");t.modeInfo=a.cosmos.tx.v1beta1.ModeInfo.fromObject(e.modeInfo)}return null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.publicKey=null,r.modeInfo=null,s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;return null!=e.publicKey&&e.hasOwnProperty("publicKey")&&(r.publicKey=a.google.protobuf.Any.toObject(e.publicKey,t)),null!=e.modeInfo&&e.hasOwnProperty("modeInfo")&&(r.modeInfo=a.cosmos.tx.v1beta1.ModeInfo.toObject(e.modeInfo,t)),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ModeInfo=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.single=a.cosmos.tx.v1beta1.ModeInfo.Single.decode(e,e.uint32());break;case 2:n.multi=a.cosmos.tx.v1beta1.ModeInfo.Multi.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.ModeInfo)return e;var t=new a.cosmos.tx.v1beta1.ModeInfo;if(null!=e.single){if("object"!=typeof e.single)throw TypeError(".cosmos.tx.v1beta1.ModeInfo.single: object expected");t.single=a.cosmos.tx.v1beta1.ModeInfo.Single.fromObject(e.single)}if(null!=e.multi){if("object"!=typeof e.multi)throw TypeError(".cosmos.tx.v1beta1.ModeInfo.multi: object expected");t.multi=a.cosmos.tx.v1beta1.ModeInfo.Multi.fromObject(e.multi)}return t},e.toObject=function(e,t){t||(t={});var r={};return null!=e.single&&e.hasOwnProperty("single")&&(r.single=a.cosmos.tx.v1beta1.ModeInfo.Single.toObject(e.single,t),t.oneofs&&(r.sum="single")),null!=e.multi&&e.hasOwnProperty("multi")&&(r.multi=a.cosmos.tx.v1beta1.ModeInfo.Multi.toObject(e.multi,t),t.oneofs&&(r.sum="multi")),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.Single=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.mode=e.int32();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.ModeInfo.Single)return e;var t=new a.cosmos.tx.v1beta1.ModeInfo.Single;switch(e.mode){case"SIGN_MODE_UNSPECIFIED":case 0:t.mode=0;break;case"SIGN_MODE_DIRECT":case 1:t.mode=1;break;case"SIGN_MODE_TEXTUAL":case 2:t.mode=2;break;case"SIGN_MODE_LEGACY_AMINO_JSON":case 127:t.mode=127}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.mode=t.enums===String?"SIGN_MODE_UNSPECIFIED":0),null!=e.mode&&e.hasOwnProperty("mode")&&(r.mode=t.enums===String?a.cosmos.tx.signing.v1beta1.SignMode[e.mode]:e.mode),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Multi=function(){function e(e){if(this.modeInfos=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.bitarray=a.cosmos.crypto.multisig.v1beta1.CompactBitArray.decode(e,e.uint32());break;case 2:n.modeInfos&&n.modeInfos.length||(n.modeInfos=[]),n.modeInfos.push(a.cosmos.tx.v1beta1.ModeInfo.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.ModeInfo.Multi)return e;var t=new a.cosmos.tx.v1beta1.ModeInfo.Multi;if(null!=e.bitarray){if("object"!=typeof e.bitarray)throw TypeError(".cosmos.tx.v1beta1.ModeInfo.Multi.bitarray: object expected");t.bitarray=a.cosmos.crypto.multisig.v1beta1.CompactBitArray.fromObject(e.bitarray)}if(e.modeInfos){if(!Array.isArray(e.modeInfos))throw TypeError(".cosmos.tx.v1beta1.ModeInfo.Multi.modeInfos: array expected");t.modeInfos=[];for(var r=0;r>>3){case 1:n.amount&&n.amount.length||(n.amount=[]),n.amount.push(a.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;case 2:n.gasLimit=e.uint64();break;case 3:n.payer=e.string();break;case 4:n.granter=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.cosmos.tx.v1beta1.Fee)return e;var t=new a.cosmos.tx.v1beta1.Fee;if(e.amount){if(!Array.isArray(e.amount))throw TypeError(".cosmos.tx.v1beta1.Fee.amount: array expected");t.amount=[];for(var r=0;r>>0,e.gasLimit.high>>>0).toNumber(!0))),null!=e.payer&&(t.payer=String(e.payer)),null!=e.granter&&(t.granter=String(e.granter)),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.amount=[]),t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.gasLimit=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.gasLimit=t.longs===String?"0":0;r.payer="",r.granter=""}if(e.amount&&e.amount.length){r.amount=[];for(var o=0;o>>0,e.gasLimit.high>>>0).toNumber(!0):e.gasLimit),null!=e.payer&&e.hasOwnProperty("payer")&&(r.payer=e.payer),null!=e.granter&&e.hasOwnProperty("granter")&&(r.granter=e.granter),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e})(),t.google=a.google=(()=>{const e={};return e.protobuf=function(){const e={};return e.Any=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.type_url=e.string();break;case 2:n.value=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.Any)return e;var t=new a.google.protobuf.Any;return null!=e.type_url&&(t.type_url=String(e.type_url)),null!=e.value&&("string"==typeof e.value?s.base64.decode(e.value,t.value=s.newBuffer(s.base64.length(e.value)),0):e.value.length&&(t.value=e.value)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.type_url="",t.bytes===String?r.value="":(r.value=[],t.bytes!==Array&&(r.value=s.newBuffer(r.value)))),null!=e.type_url&&e.hasOwnProperty("type_url")&&(r.type_url=e.type_url),null!=e.value&&e.hasOwnProperty("value")&&(r.value=t.bytes===String?s.base64.encode(e.value,0,e.value.length):t.bytes===Array?Array.prototype.slice.call(e.value):e.value),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.FileDescriptorSet=function(){function e(e){if(this.file=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.file&&n.file.length||(n.file=[]),n.file.push(a.google.protobuf.FileDescriptorProto.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.FileDescriptorSet)return e;var t=new a.google.protobuf.FileDescriptorSet;if(e.file){if(!Array.isArray(e.file))throw TypeError(".google.protobuf.FileDescriptorSet.file: array expected");t.file=[];for(var r=0;r>>3){case 1:n.name=e.string();break;case 2:n.package=e.string();break;case 3:n.dependency&&n.dependency.length||(n.dependency=[]),n.dependency.push(e.string());break;case 10:if(n.publicDependency&&n.publicDependency.length||(n.publicDependency=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>3){case 1:n.name=e.string();break;case 2:n.field&&n.field.length||(n.field=[]),n.field.push(a.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 6:n.extension&&n.extension.length||(n.extension=[]),n.extension.push(a.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 3:n.nestedType&&n.nestedType.length||(n.nestedType=[]),n.nestedType.push(a.google.protobuf.DescriptorProto.decode(e,e.uint32()));break;case 4:n.enumType&&n.enumType.length||(n.enumType=[]),n.enumType.push(a.google.protobuf.EnumDescriptorProto.decode(e,e.uint32()));break;case 5:n.extensionRange&&n.extensionRange.length||(n.extensionRange=[]),n.extensionRange.push(a.google.protobuf.DescriptorProto.ExtensionRange.decode(e,e.uint32()));break;case 8:n.oneofDecl&&n.oneofDecl.length||(n.oneofDecl=[]),n.oneofDecl.push(a.google.protobuf.OneofDescriptorProto.decode(e,e.uint32()));break;case 7:n.options=a.google.protobuf.MessageOptions.decode(e,e.uint32());break;case 9:n.reservedRange&&n.reservedRange.length||(n.reservedRange=[]),n.reservedRange.push(a.google.protobuf.DescriptorProto.ReservedRange.decode(e,e.uint32()));break;case 10:n.reservedName&&n.reservedName.length||(n.reservedName=[]),n.reservedName.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.DescriptorProto)return e;var t=new a.google.protobuf.DescriptorProto;if(null!=e.name&&(t.name=String(e.name)),e.field){if(!Array.isArray(e.field))throw TypeError(".google.protobuf.DescriptorProto.field: array expected");t.field=[];for(var r=0;r>>3){case 1:n.start=e.int32();break;case 2:n.end=e.int32();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.DescriptorProto.ExtensionRange)return e;var t=new a.google.protobuf.DescriptorProto.ExtensionRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.start=0,r.end=0),null!=e.start&&e.hasOwnProperty("start")&&(r.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(r.end=e.end),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReservedRange=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.start=e.int32();break;case 2:n.end=e.int32();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.DescriptorProto.ReservedRange)return e;var t=new a.google.protobuf.DescriptorProto.ReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.start=0,r.end=0),null!=e.start&&e.hasOwnProperty("start")&&(r.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(r.end=e.end),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e.FieldDescriptorProto=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 3:n.number=e.int32();break;case 4:n.label=e.int32();break;case 5:n.type=e.int32();break;case 6:n.typeName=e.string();break;case 2:n.extendee=e.string();break;case 7:n.defaultValue=e.string();break;case 9:n.oneofIndex=e.int32();break;case 10:n.jsonName=e.string();break;case 8:n.options=a.google.protobuf.FieldOptions.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.FieldDescriptorProto)return e;var t=new a.google.protobuf.FieldDescriptorProto;switch(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),e.label){case"LABEL_OPTIONAL":case 1:t.label=1;break;case"LABEL_REQUIRED":case 2:t.label=2;break;case"LABEL_REPEATED":case 3:t.label=3}switch(e.type){case"TYPE_DOUBLE":case 1:t.type=1;break;case"TYPE_FLOAT":case 2:t.type=2;break;case"TYPE_INT64":case 3:t.type=3;break;case"TYPE_UINT64":case 4:t.type=4;break;case"TYPE_INT32":case 5:t.type=5;break;case"TYPE_FIXED64":case 6:t.type=6;break;case"TYPE_FIXED32":case 7:t.type=7;break;case"TYPE_BOOL":case 8:t.type=8;break;case"TYPE_STRING":case 9:t.type=9;break;case"TYPE_GROUP":case 10:t.type=10;break;case"TYPE_MESSAGE":case 11:t.type=11;break;case"TYPE_BYTES":case 12:t.type=12;break;case"TYPE_UINT32":case 13:t.type=13;break;case"TYPE_ENUM":case 14:t.type=14;break;case"TYPE_SFIXED32":case 15:t.type=15;break;case"TYPE_SFIXED64":case 16:t.type=16;break;case"TYPE_SINT32":case 17:t.type=17;break;case"TYPE_SINT64":case 18:t.type=18}if(null!=e.typeName&&(t.typeName=String(e.typeName)),null!=e.extendee&&(t.extendee=String(e.extendee)),null!=e.defaultValue&&(t.defaultValue=String(e.defaultValue)),null!=e.oneofIndex&&(t.oneofIndex=0|e.oneofIndex),null!=e.jsonName&&(t.jsonName=String(e.jsonName)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");t.options=a.google.protobuf.FieldOptions.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.extendee="",r.number=0,r.label=t.enums===String?"LABEL_OPTIONAL":1,r.type=t.enums===String?"TYPE_DOUBLE":1,r.typeName="",r.defaultValue="",r.options=null,r.oneofIndex=0,r.jsonName=""),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.extendee&&e.hasOwnProperty("extendee")&&(r.extendee=e.extendee),null!=e.number&&e.hasOwnProperty("number")&&(r.number=e.number),null!=e.label&&e.hasOwnProperty("label")&&(r.label=t.enums===String?a.google.protobuf.FieldDescriptorProto.Label[e.label]:e.label),null!=e.type&&e.hasOwnProperty("type")&&(r.type=t.enums===String?a.google.protobuf.FieldDescriptorProto.Type[e.type]:e.type),null!=e.typeName&&e.hasOwnProperty("typeName")&&(r.typeName=e.typeName),null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&(r.defaultValue=e.defaultValue),null!=e.options&&e.hasOwnProperty("options")&&(r.options=a.google.protobuf.FieldOptions.toObject(e.options,t)),null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&(r.oneofIndex=e.oneofIndex),null!=e.jsonName&&e.hasOwnProperty("jsonName")&&(r.jsonName=e.jsonName),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.Type=function(){const e={},t=Object.create(e);return t[e[1]="TYPE_DOUBLE"]=1,t[e[2]="TYPE_FLOAT"]=2,t[e[3]="TYPE_INT64"]=3,t[e[4]="TYPE_UINT64"]=4,t[e[5]="TYPE_INT32"]=5,t[e[6]="TYPE_FIXED64"]=6,t[e[7]="TYPE_FIXED32"]=7,t[e[8]="TYPE_BOOL"]=8,t[e[9]="TYPE_STRING"]=9,t[e[10]="TYPE_GROUP"]=10,t[e[11]="TYPE_MESSAGE"]=11,t[e[12]="TYPE_BYTES"]=12,t[e[13]="TYPE_UINT32"]=13,t[e[14]="TYPE_ENUM"]=14,t[e[15]="TYPE_SFIXED32"]=15,t[e[16]="TYPE_SFIXED64"]=16,t[e[17]="TYPE_SINT32"]=17,t[e[18]="TYPE_SINT64"]=18,t}(),e.Label=function(){const e={},t=Object.create(e);return t[e[1]="LABEL_OPTIONAL"]=1,t[e[2]="LABEL_REQUIRED"]=2,t[e[3]="LABEL_REPEATED"]=3,t}(),e}(),e.OneofDescriptorProto=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.options=a.google.protobuf.OneofOptions.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.OneofDescriptorProto)return e;var t=new a.google.protobuf.OneofDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.OneofDescriptorProto.options: object expected");t.options=a.google.protobuf.OneofOptions.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.options=null),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.options&&e.hasOwnProperty("options")&&(r.options=a.google.protobuf.OneofOptions.toObject(e.options,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.EnumDescriptorProto=function(){function e(e){if(this.value=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.value&&n.value.length||(n.value=[]),n.value.push(a.google.protobuf.EnumValueDescriptorProto.decode(e,e.uint32()));break;case 3:n.options=a.google.protobuf.EnumOptions.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.EnumDescriptorProto)return e;var t=new a.google.protobuf.EnumDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),e.value){if(!Array.isArray(e.value))throw TypeError(".google.protobuf.EnumDescriptorProto.value: array expected");t.value=[];for(var r=0;r>>3){case 1:n.name=e.string();break;case 2:n.number=e.int32();break;case 3:n.options=a.google.protobuf.EnumValueOptions.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.EnumValueDescriptorProto)return e;var t=new a.google.protobuf.EnumValueDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.EnumValueDescriptorProto.options: object expected");t.options=a.google.protobuf.EnumValueOptions.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.number=0,r.options=null),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.number&&e.hasOwnProperty("number")&&(r.number=e.number),null!=e.options&&e.hasOwnProperty("options")&&(r.options=a.google.protobuf.EnumValueOptions.toObject(e.options,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ServiceDescriptorProto=function(){function e(e){if(this.method=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.method&&n.method.length||(n.method=[]),n.method.push(a.google.protobuf.MethodDescriptorProto.decode(e,e.uint32()));break;case 3:n.options=a.google.protobuf.ServiceOptions.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.ServiceDescriptorProto)return e;var t=new a.google.protobuf.ServiceDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),e.method){if(!Array.isArray(e.method))throw TypeError(".google.protobuf.ServiceDescriptorProto.method: array expected");t.method=[];for(var r=0;r>>3){case 1:n.name=e.string();break;case 2:n.inputType=e.string();break;case 3:n.outputType=e.string();break;case 4:n.options=a.google.protobuf.MethodOptions.decode(e,e.uint32());break;case 5:n.clientStreaming=e.bool();break;case 6:n.serverStreaming=e.bool();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.MethodDescriptorProto)return e;var t=new a.google.protobuf.MethodDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.inputType&&(t.inputType=String(e.inputType)),null!=e.outputType&&(t.outputType=String(e.outputType)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.MethodDescriptorProto.options: object expected");t.options=a.google.protobuf.MethodOptions.fromObject(e.options)}return null!=e.clientStreaming&&(t.clientStreaming=Boolean(e.clientStreaming)),null!=e.serverStreaming&&(t.serverStreaming=Boolean(e.serverStreaming)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.inputType="",r.outputType="",r.options=null,r.clientStreaming=!1,r.serverStreaming=!1),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.inputType&&e.hasOwnProperty("inputType")&&(r.inputType=e.inputType),null!=e.outputType&&e.hasOwnProperty("outputType")&&(r.outputType=e.outputType),null!=e.options&&e.hasOwnProperty("options")&&(r.options=a.google.protobuf.MethodOptions.toObject(e.options,t)),null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&(r.clientStreaming=e.clientStreaming),null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&(r.serverStreaming=e.serverStreaming),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.FileOptions=function(){function e(e){if(this.uninterpretedOption=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.javaPackage=e.string();break;case 8:n.javaOuterClassname=e.string();break;case 10:n.javaMultipleFiles=e.bool();break;case 20:n.javaGenerateEqualsAndHash=e.bool();break;case 27:n.javaStringCheckUtf8=e.bool();break;case 9:n.optimizeFor=e.int32();break;case 11:n.goPackage=e.string();break;case 16:n.ccGenericServices=e.bool();break;case 17:n.javaGenericServices=e.bool();break;case 18:n.pyGenericServices=e.bool();break;case 23:n.deprecated=e.bool();break;case 31:n.ccEnableArenas=e.bool();break;case 36:n.objcClassPrefix=e.string();break;case 37:n.csharpNamespace=e.string();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.FileOptions)return e;var t=new a.google.protobuf.FileOptions;switch(null!=e.javaPackage&&(t.javaPackage=String(e.javaPackage)),null!=e.javaOuterClassname&&(t.javaOuterClassname=String(e.javaOuterClassname)),null!=e.javaMultipleFiles&&(t.javaMultipleFiles=Boolean(e.javaMultipleFiles)),null!=e.javaGenerateEqualsAndHash&&(t.javaGenerateEqualsAndHash=Boolean(e.javaGenerateEqualsAndHash)),null!=e.javaStringCheckUtf8&&(t.javaStringCheckUtf8=Boolean(e.javaStringCheckUtf8)),e.optimizeFor){case"SPEED":case 1:t.optimizeFor=1;break;case"CODE_SIZE":case 2:t.optimizeFor=2;break;case"LITE_RUNTIME":case 3:t.optimizeFor=3}if(null!=e.goPackage&&(t.goPackage=String(e.goPackage)),null!=e.ccGenericServices&&(t.ccGenericServices=Boolean(e.ccGenericServices)),null!=e.javaGenericServices&&(t.javaGenericServices=Boolean(e.javaGenericServices)),null!=e.pyGenericServices&&(t.pyGenericServices=Boolean(e.pyGenericServices)),null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),null!=e.ccEnableArenas&&(t.ccEnableArenas=Boolean(e.ccEnableArenas)),null!=e.objcClassPrefix&&(t.objcClassPrefix=String(e.objcClassPrefix)),null!=e.csharpNamespace&&(t.csharpNamespace=String(e.csharpNamespace)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.FileOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 1:n.messageSetWireFormat=e.bool();break;case 2:n.noStandardDescriptorAccessor=e.bool();break;case 3:n.deprecated=e.bool();break;case 7:n.mapEntry=e.bool();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.MessageOptions)return e;var t=new a.google.protobuf.MessageOptions;if(null!=e.messageSetWireFormat&&(t.messageSetWireFormat=Boolean(e.messageSetWireFormat)),null!=e.noStandardDescriptorAccessor&&(t.noStandardDescriptorAccessor=Boolean(e.noStandardDescriptorAccessor)),null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),null!=e.mapEntry&&(t.mapEntry=Boolean(e.mapEntry)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.MessageOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 1:n.ctype=e.int32();break;case 2:n.packed=e.bool();break;case 6:n.jstype=e.int32();break;case 5:n.lazy=e.bool();break;case 3:n.deprecated=e.bool();break;case 10:n.weak=e.bool();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.FieldOptions)return e;var t=new a.google.protobuf.FieldOptions;switch(e.ctype){case"STRING":case 0:t.ctype=0;break;case"CORD":case 1:t.ctype=1;break;case"STRING_PIECE":case 2:t.ctype=2}switch(null!=e.packed&&(t.packed=Boolean(e.packed)),e.jstype){case"JS_NORMAL":case 0:t.jstype=0;break;case"JS_STRING":case 1:t.jstype=1;break;case"JS_NUMBER":case 2:t.jstype=2}if(null!=e.lazy&&(t.lazy=Boolean(e.lazy)),null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),null!=e.weak&&(t.weak=Boolean(e.weak)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.OneofOptions)return e;var t=new a.google.protobuf.OneofOptions;if(e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.OneofOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 2:n.allowAlias=e.bool();break;case 3:n.deprecated=e.bool();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.EnumOptions)return e;var t=new a.google.protobuf.EnumOptions;if(null!=e.allowAlias&&(t.allowAlias=Boolean(e.allowAlias)),null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.EnumOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 1:n.deprecated=e.bool();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.EnumValueOptions)return e;var t=new a.google.protobuf.EnumValueOptions;if(null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 33:n.deprecated=e.bool();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.ServiceOptions)return e;var t=new a.google.protobuf.ServiceOptions;if(null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.ServiceOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 33:n.deprecated=e.bool();break;case 999:n.uninterpretedOption&&n.uninterpretedOption.length||(n.uninterpretedOption=[]),n.uninterpretedOption.push(a.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 72295728:n[".google.api.http"]=a.google.api.HttpRule.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.MethodOptions)return e;var t=new a.google.protobuf.MethodOptions;if(null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.MethodOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var r=0;r>>3){case 2:n.name&&n.name.length||(n.name=[]),n.name.push(a.google.protobuf.UninterpretedOption.NamePart.decode(e,e.uint32()));break;case 3:n.identifierValue=e.string();break;case 4:n.positiveIntValue=e.uint64();break;case 5:n.negativeIntValue=e.int64();break;case 6:n.doubleValue=e.double();break;case 7:n.stringValue=e.bytes();break;case 8:n.aggregateValue=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.UninterpretedOption)return e;var t=new a.google.protobuf.UninterpretedOption;if(e.name){if(!Array.isArray(e.name))throw TypeError(".google.protobuf.UninterpretedOption.name: array expected");t.name=[];for(var r=0;r>>0,e.positiveIntValue.high>>>0).toNumber(!0))),null!=e.negativeIntValue&&(s.Long?(t.negativeIntValue=s.Long.fromValue(e.negativeIntValue)).unsigned=!1:"string"==typeof e.negativeIntValue?t.negativeIntValue=parseInt(e.negativeIntValue,10):"number"==typeof e.negativeIntValue?t.negativeIntValue=e.negativeIntValue:"object"==typeof e.negativeIntValue&&(t.negativeIntValue=new s.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber())),null!=e.doubleValue&&(t.doubleValue=Number(e.doubleValue)),null!=e.stringValue&&("string"==typeof e.stringValue?s.base64.decode(e.stringValue,t.stringValue=s.newBuffer(s.base64.length(e.stringValue)),0):e.stringValue.length&&(t.stringValue=e.stringValue)),null!=e.aggregateValue&&(t.aggregateValue=String(e.aggregateValue)),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.name=[]),t.defaults){if(r.identifierValue="",s.Long){var n=new s.Long(0,0,!0);r.positiveIntValue=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.positiveIntValue=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!1);r.negativeIntValue=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.negativeIntValue=t.longs===String?"0":0;r.doubleValue=0,t.bytes===String?r.stringValue="":(r.stringValue=[],t.bytes!==Array&&(r.stringValue=s.newBuffer(r.stringValue))),r.aggregateValue=""}if(e.name&&e.name.length){r.name=[];for(var o=0;o>>0,e.positiveIntValue.high>>>0).toNumber(!0):e.positiveIntValue),null!=e.negativeIntValue&&e.hasOwnProperty("negativeIntValue")&&("number"==typeof e.negativeIntValue?r.negativeIntValue=t.longs===String?String(e.negativeIntValue):e.negativeIntValue:r.negativeIntValue=t.longs===String?s.Long.prototype.toString.call(e.negativeIntValue):t.longs===Number?new s.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber():e.negativeIntValue),null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(r.doubleValue=t.json&&!isFinite(e.doubleValue)?String(e.doubleValue):e.doubleValue),null!=e.stringValue&&e.hasOwnProperty("stringValue")&&(r.stringValue=t.bytes===String?s.base64.encode(e.stringValue,0,e.stringValue.length):t.bytes===Array?Array.prototype.slice.call(e.stringValue):e.stringValue),null!=e.aggregateValue&&e.hasOwnProperty("aggregateValue")&&(r.aggregateValue=e.aggregateValue),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.NamePart=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.namePart=e.string();break;case 2:n.isExtension=e.bool();break;default:e.skipType(7&i)}}if(!n.hasOwnProperty("namePart"))throw s.ProtocolError("missing required 'namePart'",{instance:n});if(!n.hasOwnProperty("isExtension"))throw s.ProtocolError("missing required 'isExtension'",{instance:n});return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.UninterpretedOption.NamePart)return e;var t=new a.google.protobuf.UninterpretedOption.NamePart;return null!=e.namePart&&(t.namePart=String(e.namePart)),null!=e.isExtension&&(t.isExtension=Boolean(e.isExtension)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.namePart="",r.isExtension=!1),null!=e.namePart&&e.hasOwnProperty("namePart")&&(r.namePart=e.namePart),null!=e.isExtension&&e.hasOwnProperty("isExtension")&&(r.isExtension=e.isExtension),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e.SourceCodeInfo=function(){function e(e){if(this.location=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.location&&n.location.length||(n.location=[]),n.location.push(a.google.protobuf.SourceCodeInfo.Location.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.SourceCodeInfo)return e;var t=new a.google.protobuf.SourceCodeInfo;if(e.location){if(!Array.isArray(e.location))throw TypeError(".google.protobuf.SourceCodeInfo.location: array expected");t.location=[];for(var r=0;r>>3){case 1:if(n.path&&n.path.length||(n.path=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>3){case 1:n.annotation&&n.annotation.length||(n.annotation=[]),n.annotation.push(a.google.protobuf.GeneratedCodeInfo.Annotation.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.GeneratedCodeInfo)return e;var t=new a.google.protobuf.GeneratedCodeInfo;if(e.annotation){if(!Array.isArray(e.annotation))throw TypeError(".google.protobuf.GeneratedCodeInfo.annotation: array expected");t.annotation=[];for(var r=0;r>>3){case 1:if(n.path&&n.path.length||(n.path=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>3){case 1:n.seconds=e.int64();break;case 2:n.nanos=e.int32();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.Duration)return e;var t=new a.google.protobuf.Duration;return null!=e.seconds&&(s.Long?(t.seconds=s.Long.fromValue(e.seconds)).unsigned=!1:"string"==typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"==typeof e.seconds?t.seconds=e.seconds:"object"==typeof e.seconds&&(t.seconds=new s.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanos&&(t.nanos=0|e.nanos),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!1);r.seconds=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.seconds=t.longs===String?"0":0;r.nanos=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"==typeof e.seconds?r.seconds=t.longs===String?String(e.seconds):e.seconds:r.seconds=t.longs===String?s.Long.prototype.toString.call(e.seconds):t.longs===Number?new s.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanos&&e.hasOwnProperty("nanos")&&(r.nanos=e.nanos),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Timestamp=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.seconds=e.int64();break;case 2:n.nanos=e.int32();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.protobuf.Timestamp)return e;var t=new a.google.protobuf.Timestamp;return null!=e.seconds&&(s.Long?(t.seconds=s.Long.fromValue(e.seconds)).unsigned=!1:"string"==typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"==typeof e.seconds?t.seconds=e.seconds:"object"==typeof e.seconds&&(t.seconds=new s.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanos&&(t.nanos=0|e.nanos),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!1);r.seconds=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.seconds=t.longs===String?"0":0;r.nanos=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"==typeof e.seconds?r.seconds=t.longs===String?String(e.seconds):e.seconds:r.seconds=t.longs===String?s.Long.prototype.toString.call(e.seconds):t.longs===Number?new s.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanos&&e.hasOwnProperty("nanos")&&(r.nanos=e.nanos),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e.api=function(){const e={};return e.Http=function(){function e(e){if(this.rules=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.rules&&n.rules.length||(n.rules=[]),n.rules.push(a.google.api.HttpRule.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.api.Http)return e;var t=new a.google.api.Http;if(e.rules){if(!Array.isArray(e.rules))throw TypeError(".google.api.Http.rules: array expected");t.rules=[];for(var r=0;r>>3){case 2:n.get=e.string();break;case 3:n.put=e.string();break;case 4:n.post=e.string();break;case 5:n.delete=e.string();break;case 6:n.patch=e.string();break;case 8:n.custom=a.google.api.CustomHttpPattern.decode(e,e.uint32());break;case 1:n.selector=e.string();break;case 7:n.body=e.string();break;case 11:n.additionalBindings&&n.additionalBindings.length||(n.additionalBindings=[]),n.additionalBindings.push(a.google.api.HttpRule.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.api.HttpRule)return e;var t=new a.google.api.HttpRule;if(null!=e.get&&(t.get=String(e.get)),null!=e.put&&(t.put=String(e.put)),null!=e.post&&(t.post=String(e.post)),null!=e.delete&&(t.delete=String(e.delete)),null!=e.patch&&(t.patch=String(e.patch)),null!=e.custom){if("object"!=typeof e.custom)throw TypeError(".google.api.HttpRule.custom: object expected");t.custom=a.google.api.CustomHttpPattern.fromObject(e.custom)}if(null!=e.selector&&(t.selector=String(e.selector)),null!=e.body&&(t.body=String(e.body)),e.additionalBindings){if(!Array.isArray(e.additionalBindings))throw TypeError(".google.api.HttpRule.additionalBindings: array expected");t.additionalBindings=[];for(var r=0;r>>3){case 1:n.kind=e.string();break;case 2:n.path=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.google.api.CustomHttpPattern)return e;var t=new a.google.api.CustomHttpPattern;return null!=e.kind&&(t.kind=String(e.kind)),null!=e.path&&(t.path=String(e.path)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.kind="",r.path=""),null!=e.kind&&e.hasOwnProperty("kind")&&(r.kind=e.kind),null!=e.path&&e.hasOwnProperty("path")&&(r.path=e.path),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e})(),t.ibc=a.ibc=(()=>{const e={};return e.core=function(){const e={};return e.channel=function(){const e={};return e.v1=function(){const e={};return e.Channel=function(){function e(e){if(this.connectionHops=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.state=e.int32();break;case 2:n.ordering=e.int32();break;case 3:n.counterparty=a.ibc.core.channel.v1.Counterparty.decode(e,e.uint32());break;case 4:n.connectionHops&&n.connectionHops.length||(n.connectionHops=[]),n.connectionHops.push(e.string());break;case 5:n.version=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.Channel)return e;var t=new a.ibc.core.channel.v1.Channel;switch(e.state){case"STATE_UNINITIALIZED_UNSPECIFIED":case 0:t.state=0;break;case"STATE_INIT":case 1:t.state=1;break;case"STATE_TRYOPEN":case 2:t.state=2;break;case"STATE_OPEN":case 3:t.state=3;break;case"STATE_CLOSED":case 4:t.state=4}switch(e.ordering){case"ORDER_NONE_UNSPECIFIED":case 0:t.ordering=0;break;case"ORDER_UNORDERED":case 1:t.ordering=1;break;case"ORDER_ORDERED":case 2:t.ordering=2}if(null!=e.counterparty){if("object"!=typeof e.counterparty)throw TypeError(".ibc.core.channel.v1.Channel.counterparty: object expected");t.counterparty=a.ibc.core.channel.v1.Counterparty.fromObject(e.counterparty)}if(e.connectionHops){if(!Array.isArray(e.connectionHops))throw TypeError(".ibc.core.channel.v1.Channel.connectionHops: array expected");t.connectionHops=[];for(var r=0;r>>3){case 1:n.state=e.int32();break;case 2:n.ordering=e.int32();break;case 3:n.counterparty=a.ibc.core.channel.v1.Counterparty.decode(e,e.uint32());break;case 4:n.connectionHops&&n.connectionHops.length||(n.connectionHops=[]),n.connectionHops.push(e.string());break;case 5:n.version=e.string();break;case 6:n.portId=e.string();break;case 7:n.channelId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.IdentifiedChannel)return e;var t=new a.ibc.core.channel.v1.IdentifiedChannel;switch(e.state){case"STATE_UNINITIALIZED_UNSPECIFIED":case 0:t.state=0;break;case"STATE_INIT":case 1:t.state=1;break;case"STATE_TRYOPEN":case 2:t.state=2;break;case"STATE_OPEN":case 3:t.state=3;break;case"STATE_CLOSED":case 4:t.state=4}switch(e.ordering){case"ORDER_NONE_UNSPECIFIED":case 0:t.ordering=0;break;case"ORDER_UNORDERED":case 1:t.ordering=1;break;case"ORDER_ORDERED":case 2:t.ordering=2}if(null!=e.counterparty){if("object"!=typeof e.counterparty)throw TypeError(".ibc.core.channel.v1.IdentifiedChannel.counterparty: object expected");t.counterparty=a.ibc.core.channel.v1.Counterparty.fromObject(e.counterparty)}if(e.connectionHops){if(!Array.isArray(e.connectionHops))throw TypeError(".ibc.core.channel.v1.IdentifiedChannel.connectionHops: array expected");t.connectionHops=[];for(var r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.Counterparty)return e;var t=new a.ibc.core.channel.v1.Counterparty;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.portId="",r.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Packet=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.sequence=e.uint64();break;case 2:n.sourcePort=e.string();break;case 3:n.sourceChannel=e.string();break;case 4:n.destinationPort=e.string();break;case 5:n.destinationChannel=e.string();break;case 6:n.data=e.bytes();break;case 7:n.timeoutHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;case 8:n.timeoutTimestamp=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.Packet)return e;var t=new a.ibc.core.channel.v1.Packet;if(null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),null!=e.sourcePort&&(t.sourcePort=String(e.sourcePort)),null!=e.sourceChannel&&(t.sourceChannel=String(e.sourceChannel)),null!=e.destinationPort&&(t.destinationPort=String(e.destinationPort)),null!=e.destinationChannel&&(t.destinationChannel=String(e.destinationChannel)),null!=e.data&&("string"==typeof e.data?s.base64.decode(e.data,t.data=s.newBuffer(s.base64.length(e.data)),0):e.data.length&&(t.data=e.data)),null!=e.timeoutHeight){if("object"!=typeof e.timeoutHeight)throw TypeError(".ibc.core.channel.v1.Packet.timeoutHeight: object expected");t.timeoutHeight=a.ibc.core.client.v1.Height.fromObject(e.timeoutHeight)}return null!=e.timeoutTimestamp&&(s.Long?(t.timeoutTimestamp=s.Long.fromValue(e.timeoutTimestamp)).unsigned=!0:"string"==typeof e.timeoutTimestamp?t.timeoutTimestamp=parseInt(e.timeoutTimestamp,10):"number"==typeof e.timeoutTimestamp?t.timeoutTimestamp=e.timeoutTimestamp:"object"==typeof e.timeoutTimestamp&&(t.timeoutTimestamp=new s.LongBits(e.timeoutTimestamp.low>>>0,e.timeoutTimestamp.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;if(r.sourcePort="",r.sourceChannel="",r.destinationPort="",r.destinationChannel="",t.bytes===String?r.data="":(r.data=[],t.bytes!==Array&&(r.data=s.newBuffer(r.data))),r.timeoutHeight=null,s.Long){n=new s.Long(0,0,!0);r.timeoutTimestamp=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.timeoutTimestamp=t.longs===String?"0":0}return null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),null!=e.sourcePort&&e.hasOwnProperty("sourcePort")&&(r.sourcePort=e.sourcePort),null!=e.sourceChannel&&e.hasOwnProperty("sourceChannel")&&(r.sourceChannel=e.sourceChannel),null!=e.destinationPort&&e.hasOwnProperty("destinationPort")&&(r.destinationPort=e.destinationPort),null!=e.destinationChannel&&e.hasOwnProperty("destinationChannel")&&(r.destinationChannel=e.destinationChannel),null!=e.data&&e.hasOwnProperty("data")&&(r.data=t.bytes===String?s.base64.encode(e.data,0,e.data.length):t.bytes===Array?Array.prototype.slice.call(e.data):e.data),null!=e.timeoutHeight&&e.hasOwnProperty("timeoutHeight")&&(r.timeoutHeight=a.ibc.core.client.v1.Height.toObject(e.timeoutHeight,t)),null!=e.timeoutTimestamp&&e.hasOwnProperty("timeoutTimestamp")&&("number"==typeof e.timeoutTimestamp?r.timeoutTimestamp=t.longs===String?String(e.timeoutTimestamp):e.timeoutTimestamp:r.timeoutTimestamp=t.longs===String?s.Long.prototype.toString.call(e.timeoutTimestamp):t.longs===Number?new s.LongBits(e.timeoutTimestamp.low>>>0,e.timeoutTimestamp.high>>>0).toNumber(!0):e.timeoutTimestamp),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PacketState=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.sequence=e.uint64();break;case 4:n.data=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.PacketState)return e;var t=new a.ibc.core.channel.v1.PacketState;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),null!=e.data&&("string"==typeof e.data?s.base64.decode(e.data,t.data=s.newBuffer(s.base64.length(e.data)),0):e.data.length&&(t.data=e.data)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.portId="",r.channelId="",s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;t.bytes===String?r.data="":(r.data=[],t.bytes!==Array&&(r.data=s.newBuffer(r.data)))}return null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),null!=e.data&&e.hasOwnProperty("data")&&(r.data=t.bytes===String?s.base64.encode(e.data,0,e.data.length):t.bytes===Array?Array.prototype.slice.call(e.data):e.data),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Acknowledgement=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 21:n.result=e.bytes();break;case 22:n.error=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.Acknowledgement)return e;var t=new a.ibc.core.channel.v1.Acknowledgement;return null!=e.result&&("string"==typeof e.result?s.base64.decode(e.result,t.result=s.newBuffer(s.base64.length(e.result)),0):e.result.length&&(t.result=e.result)),null!=e.error&&(t.error=String(e.error)),t},e.toObject=function(e,t){t||(t={});var r={};return null!=e.result&&e.hasOwnProperty("result")&&(r.result=t.bytes===String?s.base64.encode(e.result,0,e.result.length):t.bytes===Array?Array.prototype.slice.call(e.result):e.result,t.oneofs&&(r.response="result")),null!=e.error&&e.hasOwnProperty("error")&&(r.error=e.error,t.oneofs&&(r.response="error")),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Query=function(){function e(e,t,r){n.rpc.Service.call(this,e,t,r)}return(e.prototype=Object.create(n.rpc.Service.prototype)).constructor=e,e.create=function(e,t,r){return new this(e,t,r)},Object.defineProperty(e.prototype.channel=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryChannelRequest,a.ibc.core.channel.v1.QueryChannelResponse,t,r)},"name",{value:"Channel"}),Object.defineProperty(e.prototype.channels=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryChannelsRequest,a.ibc.core.channel.v1.QueryChannelsResponse,t,r)},"name",{value:"Channels"}),Object.defineProperty(e.prototype.connectionChannels=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryConnectionChannelsRequest,a.ibc.core.channel.v1.QueryConnectionChannelsResponse,t,r)},"name",{value:"ConnectionChannels"}),Object.defineProperty(e.prototype.channelClientState=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryChannelClientStateRequest,a.ibc.core.channel.v1.QueryChannelClientStateResponse,t,r)},"name",{value:"ChannelClientState"}),Object.defineProperty(e.prototype.channelConsensusState=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryChannelConsensusStateRequest,a.ibc.core.channel.v1.QueryChannelConsensusStateResponse,t,r)},"name",{value:"ChannelConsensusState"}),Object.defineProperty(e.prototype.packetCommitment=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryPacketCommitmentRequest,a.ibc.core.channel.v1.QueryPacketCommitmentResponse,t,r)},"name",{value:"PacketCommitment"}),Object.defineProperty(e.prototype.packetCommitments=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryPacketCommitmentsRequest,a.ibc.core.channel.v1.QueryPacketCommitmentsResponse,t,r)},"name",{value:"PacketCommitments"}),Object.defineProperty(e.prototype.packetReceipt=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryPacketReceiptRequest,a.ibc.core.channel.v1.QueryPacketReceiptResponse,t,r)},"name",{value:"PacketReceipt"}),Object.defineProperty(e.prototype.packetAcknowledgement=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryPacketAcknowledgementRequest,a.ibc.core.channel.v1.QueryPacketAcknowledgementResponse,t,r)},"name",{value:"PacketAcknowledgement"}),Object.defineProperty(e.prototype.packetAcknowledgements=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest,a.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse,t,r)},"name",{value:"PacketAcknowledgements"}),Object.defineProperty(e.prototype.unreceivedPackets=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryUnreceivedPacketsRequest,a.ibc.core.channel.v1.QueryUnreceivedPacketsResponse,t,r)},"name",{value:"UnreceivedPackets"}),Object.defineProperty(e.prototype.unreceivedAcks=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryUnreceivedAcksRequest,a.ibc.core.channel.v1.QueryUnreceivedAcksResponse,t,r)},"name",{value:"UnreceivedAcks"}),Object.defineProperty(e.prototype.nextSequenceReceive=function e(t,r){return this.rpcCall(e,a.ibc.core.channel.v1.QueryNextSequenceReceiveRequest,a.ibc.core.channel.v1.QueryNextSequenceReceiveResponse,t,r)},"name",{value:"NextSequenceReceive"}),e}(),e.QueryChannelRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelRequest)return e;var t=new a.ibc.core.channel.v1.QueryChannelRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.portId="",r.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryChannelResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.channel=a.ibc.core.channel.v1.Channel.decode(e,e.uint32());break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelResponse)return e;var t=new a.ibc.core.channel.v1.QueryChannelResponse;if(null!=e.channel){if("object"!=typeof e.channel)throw TypeError(".ibc.core.channel.v1.QueryChannelResponse.channel: object expected");t.channel=a.ibc.core.channel.v1.Channel.fromObject(e.channel)}if(null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryChannelResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.channel=null,t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.channel&&e.hasOwnProperty("channel")&&(r.channel=a.ibc.core.channel.v1.Channel.toObject(e.channel,t)),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryChannelsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.pagination=a.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelsRequest)return e;var t=new a.ibc.core.channel.v1.QueryChannelsRequest;if(null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.channel.v1.QueryChannelsRequest.pagination: object expected");t.pagination=a.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.pagination=null),null!=e.pagination&&e.hasOwnProperty("pagination")&&(r.pagination=a.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryChannelsResponse=function(){function e(e){if(this.channels=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.channels&&n.channels.length||(n.channels=[]),n.channels.push(a.ibc.core.channel.v1.IdentifiedChannel.decode(e,e.uint32()));break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:n.height=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelsResponse)return e;var t=new a.ibc.core.channel.v1.QueryChannelsResponse;if(e.channels){if(!Array.isArray(e.channels))throw TypeError(".ibc.core.channel.v1.QueryChannelsResponse.channels: array expected");t.channels=[];for(var r=0;r>>3){case 1:n.connection=e.string();break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryConnectionChannelsRequest)return e;var t=new a.ibc.core.channel.v1.QueryConnectionChannelsRequest;if(null!=e.connection&&(t.connection=String(e.connection)),null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.channel.v1.QueryConnectionChannelsRequest.pagination: object expected");t.pagination=a.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.connection="",r.pagination=null),null!=e.connection&&e.hasOwnProperty("connection")&&(r.connection=e.connection),null!=e.pagination&&e.hasOwnProperty("pagination")&&(r.pagination=a.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionChannelsResponse=function(){function e(e){if(this.channels=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.channels&&n.channels.length||(n.channels=[]),n.channels.push(a.ibc.core.channel.v1.IdentifiedChannel.decode(e,e.uint32()));break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:n.height=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryConnectionChannelsResponse)return e;var t=new a.ibc.core.channel.v1.QueryConnectionChannelsResponse;if(e.channels){if(!Array.isArray(e.channels))throw TypeError(".ibc.core.channel.v1.QueryConnectionChannelsResponse.channels: array expected");t.channels=[];for(var r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelClientStateRequest)return e;var t=new a.ibc.core.channel.v1.QueryChannelClientStateRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.portId="",r.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryChannelClientStateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.identifiedClientState=a.ibc.core.client.v1.IdentifiedClientState.decode(e,e.uint32());break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelClientStateResponse)return e;var t=new a.ibc.core.channel.v1.QueryChannelClientStateResponse;if(null!=e.identifiedClientState){if("object"!=typeof e.identifiedClientState)throw TypeError(".ibc.core.channel.v1.QueryChannelClientStateResponse.identifiedClientState: object expected");t.identifiedClientState=a.ibc.core.client.v1.IdentifiedClientState.fromObject(e.identifiedClientState)}if(null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryChannelClientStateResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.identifiedClientState=null,t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.identifiedClientState&&e.hasOwnProperty("identifiedClientState")&&(r.identifiedClientState=a.ibc.core.client.v1.IdentifiedClientState.toObject(e.identifiedClientState,t)),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryChannelConsensusStateRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.versionNumber=e.uint64();break;case 4:n.versionHeight=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelConsensusStateRequest)return e;var t=new a.ibc.core.channel.v1.QueryChannelConsensusStateRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.versionNumber&&(s.Long?(t.versionNumber=s.Long.fromValue(e.versionNumber)).unsigned=!0:"string"==typeof e.versionNumber?t.versionNumber=parseInt(e.versionNumber,10):"number"==typeof e.versionNumber?t.versionNumber=e.versionNumber:"object"==typeof e.versionNumber&&(t.versionNumber=new s.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0))),null!=e.versionHeight&&(s.Long?(t.versionHeight=s.Long.fromValue(e.versionHeight)).unsigned=!0:"string"==typeof e.versionHeight?t.versionHeight=parseInt(e.versionHeight,10):"number"==typeof e.versionHeight?t.versionHeight=e.versionHeight:"object"==typeof e.versionHeight&&(t.versionHeight=new s.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.portId="",r.channelId="",s.Long){var n=new s.Long(0,0,!0);r.versionNumber=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.versionNumber=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.versionHeight=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.versionHeight=t.longs===String?"0":0}return null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.versionNumber&&e.hasOwnProperty("versionNumber")&&("number"==typeof e.versionNumber?r.versionNumber=t.longs===String?String(e.versionNumber):e.versionNumber:r.versionNumber=t.longs===String?s.Long.prototype.toString.call(e.versionNumber):t.longs===Number?new s.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0):e.versionNumber),null!=e.versionHeight&&e.hasOwnProperty("versionHeight")&&("number"==typeof e.versionHeight?r.versionHeight=t.longs===String?String(e.versionHeight):e.versionHeight:r.versionHeight=t.longs===String?s.Long.prototype.toString.call(e.versionHeight):t.longs===Number?new s.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0):e.versionHeight),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryChannelConsensusStateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.consensusState=a.google.protobuf.Any.decode(e,e.uint32());break;case 2:n.clientId=e.string();break;case 3:n.proof=e.bytes();break;case 4:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryChannelConsensusStateResponse)return e;var t=new a.ibc.core.channel.v1.QueryChannelConsensusStateResponse;if(null!=e.consensusState){if("object"!=typeof e.consensusState)throw TypeError(".ibc.core.channel.v1.QueryChannelConsensusStateResponse.consensusState: object expected");t.consensusState=a.google.protobuf.Any.fromObject(e.consensusState)}if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryChannelConsensusStateResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.consensusState=null,r.clientId="",t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.consensusState&&e.hasOwnProperty("consensusState")&&(r.consensusState=a.google.protobuf.Any.toObject(e.consensusState,t)),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketCommitmentRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.sequence=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketCommitmentRequest)return e;var t=new a.ibc.core.channel.v1.QueryPacketCommitmentRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.portId="",r.channelId="",s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;return null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketCommitmentResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.commitment=e.bytes();break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketCommitmentResponse)return e;var t=new a.ibc.core.channel.v1.QueryPacketCommitmentResponse;if(null!=e.commitment&&("string"==typeof e.commitment?s.base64.decode(e.commitment,t.commitment=s.newBuffer(s.base64.length(e.commitment)),0):e.commitment.length&&(t.commitment=e.commitment)),null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryPacketCommitmentResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.commitment="":(r.commitment=[],t.bytes!==Array&&(r.commitment=s.newBuffer(r.commitment))),t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.commitment&&e.hasOwnProperty("commitment")&&(r.commitment=t.bytes===String?s.base64.encode(e.commitment,0,e.commitment.length):t.bytes===Array?Array.prototype.slice.call(e.commitment):e.commitment),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketCommitmentsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.pagination=a.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketCommitmentsRequest)return e;var t=new a.ibc.core.channel.v1.QueryPacketCommitmentsRequest;if(null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.channel.v1.QueryPacketCommitmentsRequest.pagination: object expected");t.pagination=a.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.portId="",r.channelId="",r.pagination=null),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.pagination&&e.hasOwnProperty("pagination")&&(r.pagination=a.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketCommitmentsResponse=function(){function e(e){if(this.commitments=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.commitments&&n.commitments.length||(n.commitments=[]),n.commitments.push(a.ibc.core.channel.v1.PacketState.decode(e,e.uint32()));break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:n.height=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketCommitmentsResponse)return e;var t=new a.ibc.core.channel.v1.QueryPacketCommitmentsResponse;if(e.commitments){if(!Array.isArray(e.commitments))throw TypeError(".ibc.core.channel.v1.QueryPacketCommitmentsResponse.commitments: array expected");t.commitments=[];for(var r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.sequence=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketReceiptRequest)return e;var t=new a.ibc.core.channel.v1.QueryPacketReceiptRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.portId="",r.channelId="",s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;return null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketReceiptResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 2:n.received=e.bool();break;case 3:n.proof=e.bytes();break;case 4:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketReceiptResponse)return e;var t=new a.ibc.core.channel.v1.QueryPacketReceiptResponse;if(null!=e.received&&(t.received=Boolean(e.received)),null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryPacketReceiptResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.received=!1,t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.received&&e.hasOwnProperty("received")&&(r.received=e.received),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketAcknowledgementRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.sequence=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketAcknowledgementRequest)return e;var t=new a.ibc.core.channel.v1.QueryPacketAcknowledgementRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.sequence&&(s.Long?(t.sequence=s.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.portId="",r.channelId="",s.Long){var n=new s.Long(0,0,!0);r.sequence=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sequence=t.longs===String?"0":0;return null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?r.sequence=t.longs===String?String(e.sequence):e.sequence:r.sequence=t.longs===String?s.Long.prototype.toString.call(e.sequence):t.longs===Number?new s.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketAcknowledgementResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.acknowledgement=e.bytes();break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketAcknowledgementResponse)return e;var t=new a.ibc.core.channel.v1.QueryPacketAcknowledgementResponse;if(null!=e.acknowledgement&&("string"==typeof e.acknowledgement?s.base64.decode(e.acknowledgement,t.acknowledgement=s.newBuffer(s.base64.length(e.acknowledgement)),0):e.acknowledgement.length&&(t.acknowledgement=e.acknowledgement)),null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryPacketAcknowledgementResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.acknowledgement="":(r.acknowledgement=[],t.bytes!==Array&&(r.acknowledgement=s.newBuffer(r.acknowledgement))),t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.acknowledgement&&e.hasOwnProperty("acknowledgement")&&(r.acknowledgement=t.bytes===String?s.base64.encode(e.acknowledgement,0,e.acknowledgement.length):t.bytes===Array?Array.prototype.slice.call(e.acknowledgement):e.acknowledgement),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketAcknowledgementsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:n.pagination=a.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest)return e;var t=new a.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest;if(null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.channel.v1.QueryPacketAcknowledgementsRequest.pagination: object expected");t.pagination=a.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.portId="",r.channelId="",r.pagination=null),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),null!=e.pagination&&e.hasOwnProperty("pagination")&&(r.pagination=a.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryPacketAcknowledgementsResponse=function(){function e(e){if(this.acknowledgements=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.acknowledgements&&n.acknowledgements.length||(n.acknowledgements=[]),n.acknowledgements.push(a.ibc.core.channel.v1.PacketState.decode(e,e.uint32()));break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:n.height=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse)return e;var t=new a.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse;if(e.acknowledgements){if(!Array.isArray(e.acknowledgements))throw TypeError(".ibc.core.channel.v1.QueryPacketAcknowledgementsResponse.acknowledgements: array expected");t.acknowledgements=[];for(var r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:if(n.packetCommitmentSequences&&n.packetCommitmentSequences.length||(n.packetCommitmentSequences=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>0,e.packetCommitmentSequences[r].high>>>0).toNumber(!0))}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.packetCommitmentSequences=[]),t.defaults&&(r.portId="",r.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),e.packetCommitmentSequences&&e.packetCommitmentSequences.length){r.packetCommitmentSequences=[];for(var n=0;n>>0,e.packetCommitmentSequences[n].high>>>0).toNumber(!0):e.packetCommitmentSequences[n]}return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryUnreceivedPacketsResponse=function(){function e(e){if(this.sequences=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:if(n.sequences&&n.sequences.length||(n.sequences=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>0,e.sequences[r].high>>>0).toNumber(!0))}if(null!=e.height){if("object"!=typeof e.height)throw TypeError(".ibc.core.channel.v1.QueryUnreceivedPacketsResponse.height: object expected");t.height=a.ibc.core.client.v1.Height.fromObject(e.height)}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.sequences=[]),t.defaults&&(r.height=null),e.sequences&&e.sequences.length){r.sequences=[];for(var n=0;n>>0,e.sequences[n].high>>>0).toNumber(!0):e.sequences[n]}return null!=e.height&&e.hasOwnProperty("height")&&(r.height=a.ibc.core.client.v1.Height.toObject(e.height,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryUnreceivedAcksRequest=function(){function e(e){if(this.packetAckSequences=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;case 3:if(n.packetAckSequences&&n.packetAckSequences.length||(n.packetAckSequences=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>0,e.packetAckSequences[r].high>>>0).toNumber(!0))}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.packetAckSequences=[]),t.defaults&&(r.portId="",r.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),e.packetAckSequences&&e.packetAckSequences.length){r.packetAckSequences=[];for(var n=0;n>>0,e.packetAckSequences[n].high>>>0).toNumber(!0):e.packetAckSequences[n]}return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryUnreceivedAcksResponse=function(){function e(e){if(this.sequences=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:if(n.sequences&&n.sequences.length||(n.sequences=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>0,e.sequences[r].high>>>0).toNumber(!0))}if(null!=e.height){if("object"!=typeof e.height)throw TypeError(".ibc.core.channel.v1.QueryUnreceivedAcksResponse.height: object expected");t.height=a.ibc.core.client.v1.Height.fromObject(e.height)}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.sequences=[]),t.defaults&&(r.height=null),e.sequences&&e.sequences.length){r.sequences=[];for(var n=0;n>>0,e.sequences[n].high>>>0).toNumber(!0):e.sequences[n]}return null!=e.height&&e.hasOwnProperty("height")&&(r.height=a.ibc.core.client.v1.Height.toObject(e.height,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryNextSequenceReceiveRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.portId=e.string();break;case 2:n.channelId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryNextSequenceReceiveRequest)return e;var t=new a.ibc.core.channel.v1.QueryNextSequenceReceiveRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.portId="",r.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(r.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(r.channelId=e.channelId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryNextSequenceReceiveResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.nextSequenceReceive=e.uint64();break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.channel.v1.QueryNextSequenceReceiveResponse)return e;var t=new a.ibc.core.channel.v1.QueryNextSequenceReceiveResponse;if(null!=e.nextSequenceReceive&&(s.Long?(t.nextSequenceReceive=s.Long.fromValue(e.nextSequenceReceive)).unsigned=!0:"string"==typeof e.nextSequenceReceive?t.nextSequenceReceive=parseInt(e.nextSequenceReceive,10):"number"==typeof e.nextSequenceReceive?t.nextSequenceReceive=e.nextSequenceReceive:"object"==typeof e.nextSequenceReceive&&(t.nextSequenceReceive=new s.LongBits(e.nextSequenceReceive.low>>>0,e.nextSequenceReceive.high>>>0).toNumber(!0))),null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryNextSequenceReceiveResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.nextSequenceReceive=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.nextSequenceReceive=t.longs===String?"0":0;t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null}return null!=e.nextSequenceReceive&&e.hasOwnProperty("nextSequenceReceive")&&("number"==typeof e.nextSequenceReceive?r.nextSequenceReceive=t.longs===String?String(e.nextSequenceReceive):e.nextSequenceReceive:r.nextSequenceReceive=t.longs===String?s.Long.prototype.toString.call(e.nextSequenceReceive):t.longs===Number?new s.LongBits(e.nextSequenceReceive.low>>>0,e.nextSequenceReceive.high>>>0).toNumber(!0):e.nextSequenceReceive),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.client=function(){const e={};return e.v1=function(){const e={};return e.Msg=function(){function e(e,t,r){n.rpc.Service.call(this,e,t,r)}return(e.prototype=Object.create(n.rpc.Service.prototype)).constructor=e,e.create=function(e,t,r){return new this(e,t,r)},Object.defineProperty(e.prototype.createClient=function e(t,r){return this.rpcCall(e,a.ibc.core.client.v1.MsgCreateClient,a.ibc.core.client.v1.MsgCreateClientResponse,t,r)},"name",{value:"CreateClient"}),Object.defineProperty(e.prototype.updateClient=function e(t,r){return this.rpcCall(e,a.ibc.core.client.v1.MsgUpdateClient,a.ibc.core.client.v1.MsgUpdateClientResponse,t,r)},"name",{value:"UpdateClient"}),Object.defineProperty(e.prototype.upgradeClient=function e(t,r){return this.rpcCall(e,a.ibc.core.client.v1.MsgUpgradeClient,a.ibc.core.client.v1.MsgUpgradeClientResponse,t,r)},"name",{value:"UpgradeClient"}),Object.defineProperty(e.prototype.submitMisbehaviour=function e(t,r){return this.rpcCall(e,a.ibc.core.client.v1.MsgSubmitMisbehaviour,a.ibc.core.client.v1.MsgSubmitMisbehaviourResponse,t,r)},"name",{value:"SubmitMisbehaviour"}),e}(),e.MsgCreateClient=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.clientState=a.google.protobuf.Any.decode(e,e.uint32());break;case 3:n.consensusState=a.google.protobuf.Any.decode(e,e.uint32());break;case 4:n.signer=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.MsgCreateClient)return e;var t=new a.ibc.core.client.v1.MsgCreateClient;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.clientState){if("object"!=typeof e.clientState)throw TypeError(".ibc.core.client.v1.MsgCreateClient.clientState: object expected");t.clientState=a.google.protobuf.Any.fromObject(e.clientState)}if(null!=e.consensusState){if("object"!=typeof e.consensusState)throw TypeError(".ibc.core.client.v1.MsgCreateClient.consensusState: object expected");t.consensusState=a.google.protobuf.Any.fromObject(e.consensusState)}return null!=e.signer&&(t.signer=String(e.signer)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId="",r.clientState=null,r.consensusState=null,r.signer=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.clientState&&e.hasOwnProperty("clientState")&&(r.clientState=a.google.protobuf.Any.toObject(e.clientState,t)),null!=e.consensusState&&e.hasOwnProperty("consensusState")&&(r.consensusState=a.google.protobuf.Any.toObject(e.consensusState,t)),null!=e.signer&&e.hasOwnProperty("signer")&&(r.signer=e.signer),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgCreateClientResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.header=a.google.protobuf.Any.decode(e,e.uint32());break;case 3:n.signer=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.MsgUpdateClient)return e;var t=new a.ibc.core.client.v1.MsgUpdateClient;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.header){if("object"!=typeof e.header)throw TypeError(".ibc.core.client.v1.MsgUpdateClient.header: object expected");t.header=a.google.protobuf.Any.fromObject(e.header)}return null!=e.signer&&(t.signer=String(e.signer)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId="",r.header=null,r.signer=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.header&&e.hasOwnProperty("header")&&(r.header=a.google.protobuf.Any.toObject(e.header,t)),null!=e.signer&&e.hasOwnProperty("signer")&&(r.signer=e.signer),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgUpdateClientResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.clientState=a.google.protobuf.Any.decode(e,e.uint32());break;case 3:n.upgradeHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;case 4:n.proofUpgrade=e.bytes();break;case 5:n.signer=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.MsgUpgradeClient)return e;var t=new a.ibc.core.client.v1.MsgUpgradeClient;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.clientState){if("object"!=typeof e.clientState)throw TypeError(".ibc.core.client.v1.MsgUpgradeClient.clientState: object expected");t.clientState=a.google.protobuf.Any.fromObject(e.clientState)}if(null!=e.upgradeHeight){if("object"!=typeof e.upgradeHeight)throw TypeError(".ibc.core.client.v1.MsgUpgradeClient.upgradeHeight: object expected");t.upgradeHeight=a.ibc.core.client.v1.Height.fromObject(e.upgradeHeight)}return null!=e.proofUpgrade&&("string"==typeof e.proofUpgrade?s.base64.decode(e.proofUpgrade,t.proofUpgrade=s.newBuffer(s.base64.length(e.proofUpgrade)),0):e.proofUpgrade.length&&(t.proofUpgrade=e.proofUpgrade)),null!=e.signer&&(t.signer=String(e.signer)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId="",r.clientState=null,r.upgradeHeight=null,t.bytes===String?r.proofUpgrade="":(r.proofUpgrade=[],t.bytes!==Array&&(r.proofUpgrade=s.newBuffer(r.proofUpgrade))),r.signer=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.clientState&&e.hasOwnProperty("clientState")&&(r.clientState=a.google.protobuf.Any.toObject(e.clientState,t)),null!=e.upgradeHeight&&e.hasOwnProperty("upgradeHeight")&&(r.upgradeHeight=a.ibc.core.client.v1.Height.toObject(e.upgradeHeight,t)),null!=e.proofUpgrade&&e.hasOwnProperty("proofUpgrade")&&(r.proofUpgrade=t.bytes===String?s.base64.encode(e.proofUpgrade,0,e.proofUpgrade.length):t.bytes===Array?Array.prototype.slice.call(e.proofUpgrade):e.proofUpgrade),null!=e.signer&&e.hasOwnProperty("signer")&&(r.signer=e.signer),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgUpgradeClientResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.misbehaviour=a.google.protobuf.Any.decode(e,e.uint32());break;case 3:n.signer=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.MsgSubmitMisbehaviour)return e;var t=new a.ibc.core.client.v1.MsgSubmitMisbehaviour;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.misbehaviour){if("object"!=typeof e.misbehaviour)throw TypeError(".ibc.core.client.v1.MsgSubmitMisbehaviour.misbehaviour: object expected");t.misbehaviour=a.google.protobuf.Any.fromObject(e.misbehaviour)}return null!=e.signer&&(t.signer=String(e.signer)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId="",r.misbehaviour=null,r.signer=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.misbehaviour&&e.hasOwnProperty("misbehaviour")&&(r.misbehaviour=a.google.protobuf.Any.toObject(e.misbehaviour,t)),null!=e.signer&&e.hasOwnProperty("signer")&&(r.signer=e.signer),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MsgSubmitMisbehaviourResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.clientState=a.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.IdentifiedClientState)return e;var t=new a.ibc.core.client.v1.IdentifiedClientState;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.clientState){if("object"!=typeof e.clientState)throw TypeError(".ibc.core.client.v1.IdentifiedClientState.clientState: object expected");t.clientState=a.google.protobuf.Any.fromObject(e.clientState)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId="",r.clientState=null),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.clientState&&e.hasOwnProperty("clientState")&&(r.clientState=a.google.protobuf.Any.toObject(e.clientState,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ConsensusStateWithHeight=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.height=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;case 2:n.consensusState=a.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.ConsensusStateWithHeight)return e;var t=new a.ibc.core.client.v1.ConsensusStateWithHeight;if(null!=e.height){if("object"!=typeof e.height)throw TypeError(".ibc.core.client.v1.ConsensusStateWithHeight.height: object expected");t.height=a.ibc.core.client.v1.Height.fromObject(e.height)}if(null!=e.consensusState){if("object"!=typeof e.consensusState)throw TypeError(".ibc.core.client.v1.ConsensusStateWithHeight.consensusState: object expected");t.consensusState=a.google.protobuf.Any.fromObject(e.consensusState)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.height=null,r.consensusState=null),null!=e.height&&e.hasOwnProperty("height")&&(r.height=a.ibc.core.client.v1.Height.toObject(e.height,t)),null!=e.consensusState&&e.hasOwnProperty("consensusState")&&(r.consensusState=a.google.protobuf.Any.toObject(e.consensusState,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ClientConsensusStates=function(){function e(e){if(this.consensusStates=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.consensusStates&&n.consensusStates.length||(n.consensusStates=[]),n.consensusStates.push(a.ibc.core.client.v1.ConsensusStateWithHeight.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.ClientConsensusStates)return e;var t=new a.ibc.core.client.v1.ClientConsensusStates;if(null!=e.clientId&&(t.clientId=String(e.clientId)),e.consensusStates){if(!Array.isArray(e.consensusStates))throw TypeError(".ibc.core.client.v1.ClientConsensusStates.consensusStates: array expected");t.consensusStates=[];for(var r=0;r>>3){case 1:n.title=e.string();break;case 2:n.description=e.string();break;case 3:n.clientId=e.string();break;case 4:n.header=a.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.ClientUpdateProposal)return e;var t=new a.ibc.core.client.v1.ClientUpdateProposal;if(null!=e.title&&(t.title=String(e.title)),null!=e.description&&(t.description=String(e.description)),null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.header){if("object"!=typeof e.header)throw TypeError(".ibc.core.client.v1.ClientUpdateProposal.header: object expected");t.header=a.google.protobuf.Any.fromObject(e.header)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.title="",r.description="",r.clientId="",r.header=null),null!=e.title&&e.hasOwnProperty("title")&&(r.title=e.title),null!=e.description&&e.hasOwnProperty("description")&&(r.description=e.description),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.header&&e.hasOwnProperty("header")&&(r.header=a.google.protobuf.Any.toObject(e.header,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Height=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.versionNumber=e.uint64();break;case 2:n.versionHeight=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.client.v1.Height)return e;var t=new a.ibc.core.client.v1.Height;return null!=e.versionNumber&&(s.Long?(t.versionNumber=s.Long.fromValue(e.versionNumber)).unsigned=!0:"string"==typeof e.versionNumber?t.versionNumber=parseInt(e.versionNumber,10):"number"==typeof e.versionNumber?t.versionNumber=e.versionNumber:"object"==typeof e.versionNumber&&(t.versionNumber=new s.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0))),null!=e.versionHeight&&(s.Long?(t.versionHeight=s.Long.fromValue(e.versionHeight)).unsigned=!0:"string"==typeof e.versionHeight?t.versionHeight=parseInt(e.versionHeight,10):"number"==typeof e.versionHeight?t.versionHeight=e.versionHeight:"object"==typeof e.versionHeight&&(t.versionHeight=new s.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.versionNumber=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.versionNumber=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.versionHeight=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.versionHeight=t.longs===String?"0":0}return null!=e.versionNumber&&e.hasOwnProperty("versionNumber")&&("number"==typeof e.versionNumber?r.versionNumber=t.longs===String?String(e.versionNumber):e.versionNumber:r.versionNumber=t.longs===String?s.Long.prototype.toString.call(e.versionNumber):t.longs===Number?new s.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0):e.versionNumber),null!=e.versionHeight&&e.hasOwnProperty("versionHeight")&&("number"==typeof e.versionHeight?r.versionHeight=t.longs===String?String(e.versionHeight):e.versionHeight:r.versionHeight=t.longs===String?s.Long.prototype.toString.call(e.versionHeight):t.longs===Number?new s.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0):e.versionHeight),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.commitment=function(){const e={};return e.v1=function(){const e={};return e.MerkleRoot=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.hash=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.commitment.v1.MerkleRoot)return e;var t=new a.ibc.core.commitment.v1.MerkleRoot;return null!=e.hash&&("string"==typeof e.hash?s.base64.decode(e.hash,t.hash=s.newBuffer(s.base64.length(e.hash)),0):e.hash.length&&(t.hash=e.hash)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.hash="":(r.hash=[],t.bytes!==Array&&(r.hash=s.newBuffer(r.hash)))),null!=e.hash&&e.hasOwnProperty("hash")&&(r.hash=t.bytes===String?s.base64.encode(e.hash,0,e.hash.length):t.bytes===Array?Array.prototype.slice.call(e.hash):e.hash),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MerklePrefix=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyPrefix=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.commitment.v1.MerklePrefix)return e;var t=new a.ibc.core.commitment.v1.MerklePrefix;return null!=e.keyPrefix&&("string"==typeof e.keyPrefix?s.base64.decode(e.keyPrefix,t.keyPrefix=s.newBuffer(s.base64.length(e.keyPrefix)),0):e.keyPrefix.length&&(t.keyPrefix=e.keyPrefix)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.keyPrefix="":(r.keyPrefix=[],t.bytes!==Array&&(r.keyPrefix=s.newBuffer(r.keyPrefix)))),null!=e.keyPrefix&&e.hasOwnProperty("keyPrefix")&&(r.keyPrefix=t.bytes===String?s.base64.encode(e.keyPrefix,0,e.keyPrefix.length):t.bytes===Array?Array.prototype.slice.call(e.keyPrefix):e.keyPrefix),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MerklePath=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyPath=a.ibc.core.commitment.v1.KeyPath.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.commitment.v1.MerklePath)return e;var t=new a.ibc.core.commitment.v1.MerklePath;if(null!=e.keyPath){if("object"!=typeof e.keyPath)throw TypeError(".ibc.core.commitment.v1.MerklePath.keyPath: object expected");t.keyPath=a.ibc.core.commitment.v1.KeyPath.fromObject(e.keyPath)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyPath=null),null!=e.keyPath&&e.hasOwnProperty("keyPath")&&(r.keyPath=a.ibc.core.commitment.v1.KeyPath.toObject(e.keyPath,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MerkleProof=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.proof=a.tendermint.crypto.ProofOps.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.commitment.v1.MerkleProof)return e;var t=new a.ibc.core.commitment.v1.MerkleProof;if(null!=e.proof){if("object"!=typeof e.proof)throw TypeError(".ibc.core.commitment.v1.MerkleProof.proof: object expected");t.proof=a.tendermint.crypto.ProofOps.fromObject(e.proof)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.proof=null),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=a.tendermint.crypto.ProofOps.toObject(e.proof,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.KeyPath=function(){function e(e){if(this.keys=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keys&&n.keys.length||(n.keys=[]),n.keys.push(a.ibc.core.commitment.v1.Key.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.commitment.v1.KeyPath)return e;var t=new a.ibc.core.commitment.v1.KeyPath;if(e.keys){if(!Array.isArray(e.keys))throw TypeError(".ibc.core.commitment.v1.KeyPath.keys: array expected");t.keys=[];for(var r=0;r>>3){case 1:n.name=e.bytes();break;case 2:n.enc=e.int32();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.commitment.v1.Key)return e;var t=new a.ibc.core.commitment.v1.Key;switch(null!=e.name&&("string"==typeof e.name?s.base64.decode(e.name,t.name=s.newBuffer(s.base64.length(e.name)),0):e.name.length&&(t.name=e.name)),e.enc){case"KEY_ENCODING_URL_UNSPECIFIED":case 0:t.enc=0;break;case"KEY_ENCODING_HEX":case 1:t.enc=1}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.name="":(r.name=[],t.bytes!==Array&&(r.name=s.newBuffer(r.name))),r.enc=t.enums===String?"KEY_ENCODING_URL_UNSPECIFIED":0),null!=e.name&&e.hasOwnProperty("name")&&(r.name=t.bytes===String?s.base64.encode(e.name,0,e.name.length):t.bytes===Array?Array.prototype.slice.call(e.name):e.name),null!=e.enc&&e.hasOwnProperty("enc")&&(r.enc=t.enums===String?a.ibc.core.commitment.v1.KeyEncoding[e.enc]:e.enc),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.KeyEncoding=function(){const e={},t=Object.create(e);return t[e[0]="KEY_ENCODING_URL_UNSPECIFIED"]=0,t[e[1]="KEY_ENCODING_HEX"]=1,t}(),e}(),e}(),e.connection=function(){const e={};return e.v1=function(){const e={};return e.ConnectionEnd=function(){function e(e){if(this.versions=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.versions&&n.versions.length||(n.versions=[]),n.versions.push(a.ibc.core.connection.v1.Version.decode(e,e.uint32()));break;case 3:n.state=e.int32();break;case 4:n.counterparty=a.ibc.core.connection.v1.Counterparty.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.ConnectionEnd)return e;var t=new a.ibc.core.connection.v1.ConnectionEnd;if(null!=e.clientId&&(t.clientId=String(e.clientId)),e.versions){if(!Array.isArray(e.versions))throw TypeError(".ibc.core.connection.v1.ConnectionEnd.versions: array expected");t.versions=[];for(var r=0;r>>3){case 1:n.id=e.string();break;case 2:n.clientId=e.string();break;case 3:n.versions&&n.versions.length||(n.versions=[]),n.versions.push(a.ibc.core.connection.v1.Version.decode(e,e.uint32()));break;case 4:n.state=e.int32();break;case 5:n.counterparty=a.ibc.core.connection.v1.Counterparty.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.IdentifiedConnection)return e;var t=new a.ibc.core.connection.v1.IdentifiedConnection;if(null!=e.id&&(t.id=String(e.id)),null!=e.clientId&&(t.clientId=String(e.clientId)),e.versions){if(!Array.isArray(e.versions))throw TypeError(".ibc.core.connection.v1.IdentifiedConnection.versions: array expected");t.versions=[];for(var r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.connectionId=e.string();break;case 3:n.prefix=a.ibc.core.commitment.v1.MerklePrefix.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.Counterparty)return e;var t=new a.ibc.core.connection.v1.Counterparty;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.connectionId&&(t.connectionId=String(e.connectionId)),null!=e.prefix){if("object"!=typeof e.prefix)throw TypeError(".ibc.core.connection.v1.Counterparty.prefix: object expected");t.prefix=a.ibc.core.commitment.v1.MerklePrefix.fromObject(e.prefix)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId="",r.connectionId="",r.prefix=null),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.connectionId&&e.hasOwnProperty("connectionId")&&(r.connectionId=e.connectionId),null!=e.prefix&&e.hasOwnProperty("prefix")&&(r.prefix=a.ibc.core.commitment.v1.MerklePrefix.toObject(e.prefix,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ClientPaths=function(){function e(e){if(this.paths=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.paths&&n.paths.length||(n.paths=[]),n.paths.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.ClientPaths)return e;var t=new a.ibc.core.connection.v1.ClientPaths;if(e.paths){if(!Array.isArray(e.paths))throw TypeError(".ibc.core.connection.v1.ClientPaths.paths: array expected");t.paths=[];for(var r=0;r>>3){case 1:n.clientId=e.string();break;case 2:n.paths&&n.paths.length||(n.paths=[]),n.paths.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.ConnectionPaths)return e;var t=new a.ibc.core.connection.v1.ConnectionPaths;if(null!=e.clientId&&(t.clientId=String(e.clientId)),e.paths){if(!Array.isArray(e.paths))throw TypeError(".ibc.core.connection.v1.ConnectionPaths.paths: array expected");t.paths=[];for(var r=0;r>>3){case 1:n.identifier=e.string();break;case 2:n.features&&n.features.length||(n.features=[]),n.features.push(e.string());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.Version)return e;var t=new a.ibc.core.connection.v1.Version;if(null!=e.identifier&&(t.identifier=String(e.identifier)),e.features){if(!Array.isArray(e.features))throw TypeError(".ibc.core.connection.v1.Version.features: array expected");t.features=[];for(var r=0;r>>3){case 1:n.connectionId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionRequest)return e;var t=new a.ibc.core.connection.v1.QueryConnectionRequest;return null!=e.connectionId&&(t.connectionId=String(e.connectionId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.connectionId=""),null!=e.connectionId&&e.hasOwnProperty("connectionId")&&(r.connectionId=e.connectionId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.connection=a.ibc.core.connection.v1.ConnectionEnd.decode(e,e.uint32());break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionResponse)return e;var t=new a.ibc.core.connection.v1.QueryConnectionResponse;if(null!=e.connection){if("object"!=typeof e.connection)throw TypeError(".ibc.core.connection.v1.QueryConnectionResponse.connection: object expected");t.connection=a.ibc.core.connection.v1.ConnectionEnd.fromObject(e.connection)}if(null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.connection.v1.QueryConnectionResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.connection=null,t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.connection&&e.hasOwnProperty("connection")&&(r.connection=a.ibc.core.connection.v1.ConnectionEnd.toObject(e.connection,t)),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.pagination=a.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionsRequest)return e;var t=new a.ibc.core.connection.v1.QueryConnectionsRequest;if(null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.connection.v1.QueryConnectionsRequest.pagination: object expected");t.pagination=a.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.pagination=null),null!=e.pagination&&e.hasOwnProperty("pagination")&&(r.pagination=a.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionsResponse=function(){function e(e){if(this.connections=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.connections&&n.connections.length||(n.connections=[]),n.connections.push(a.ibc.core.connection.v1.IdentifiedConnection.decode(e,e.uint32()));break;case 2:n.pagination=a.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:n.height=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionsResponse)return e;var t=new a.ibc.core.connection.v1.QueryConnectionsResponse;if(e.connections){if(!Array.isArray(e.connections))throw TypeError(".ibc.core.connection.v1.QueryConnectionsResponse.connections: array expected");t.connections=[];for(var r=0;r>>3){case 1:n.clientId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryClientConnectionsRequest)return e;var t=new a.ibc.core.connection.v1.QueryClientConnectionsRequest;return null!=e.clientId&&(t.clientId=String(e.clientId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.clientId=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryClientConnectionsResponse=function(){function e(e){if(this.connectionPaths=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.connectionPaths&&n.connectionPaths.length||(n.connectionPaths=[]),n.connectionPaths.push(e.string());break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryClientConnectionsResponse)return e;var t=new a.ibc.core.connection.v1.QueryClientConnectionsResponse;if(e.connectionPaths){if(!Array.isArray(e.connectionPaths))throw TypeError(".ibc.core.connection.v1.QueryClientConnectionsResponse.connectionPaths: array expected");t.connectionPaths=[];for(var r=0;r>>3){case 1:n.connectionId=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionClientStateRequest)return e;var t=new a.ibc.core.connection.v1.QueryConnectionClientStateRequest;return null!=e.connectionId&&(t.connectionId=String(e.connectionId)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.connectionId=""),null!=e.connectionId&&e.hasOwnProperty("connectionId")&&(r.connectionId=e.connectionId),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionClientStateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.identifiedClientState=a.ibc.core.client.v1.IdentifiedClientState.decode(e,e.uint32());break;case 2:n.proof=e.bytes();break;case 3:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionClientStateResponse)return e;var t=new a.ibc.core.connection.v1.QueryConnectionClientStateResponse;if(null!=e.identifiedClientState){if("object"!=typeof e.identifiedClientState)throw TypeError(".ibc.core.connection.v1.QueryConnectionClientStateResponse.identifiedClientState: object expected");t.identifiedClientState=a.ibc.core.client.v1.IdentifiedClientState.fromObject(e.identifiedClientState)}if(null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.connection.v1.QueryConnectionClientStateResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.identifiedClientState=null,t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.identifiedClientState&&e.hasOwnProperty("identifiedClientState")&&(r.identifiedClientState=a.ibc.core.client.v1.IdentifiedClientState.toObject(e.identifiedClientState,t)),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionConsensusStateRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.connectionId=e.string();break;case 2:n.versionNumber=e.uint64();break;case 3:n.versionHeight=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionConsensusStateRequest)return e;var t=new a.ibc.core.connection.v1.QueryConnectionConsensusStateRequest;return null!=e.connectionId&&(t.connectionId=String(e.connectionId)),null!=e.versionNumber&&(s.Long?(t.versionNumber=s.Long.fromValue(e.versionNumber)).unsigned=!0:"string"==typeof e.versionNumber?t.versionNumber=parseInt(e.versionNumber,10):"number"==typeof e.versionNumber?t.versionNumber=e.versionNumber:"object"==typeof e.versionNumber&&(t.versionNumber=new s.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0))),null!=e.versionHeight&&(s.Long?(t.versionHeight=s.Long.fromValue(e.versionHeight)).unsigned=!0:"string"==typeof e.versionHeight?t.versionHeight=parseInt(e.versionHeight,10):"number"==typeof e.versionHeight?t.versionHeight=e.versionHeight:"object"==typeof e.versionHeight&&(t.versionHeight=new s.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.connectionId="",s.Long){var n=new s.Long(0,0,!0);r.versionNumber=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.versionNumber=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.versionHeight=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.versionHeight=t.longs===String?"0":0}return null!=e.connectionId&&e.hasOwnProperty("connectionId")&&(r.connectionId=e.connectionId),null!=e.versionNumber&&e.hasOwnProperty("versionNumber")&&("number"==typeof e.versionNumber?r.versionNumber=t.longs===String?String(e.versionNumber):e.versionNumber:r.versionNumber=t.longs===String?s.Long.prototype.toString.call(e.versionNumber):t.longs===Number?new s.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0):e.versionNumber),null!=e.versionHeight&&e.hasOwnProperty("versionHeight")&&("number"==typeof e.versionHeight?r.versionHeight=t.longs===String?String(e.versionHeight):e.versionHeight:r.versionHeight=t.longs===String?s.Long.prototype.toString.call(e.versionHeight):t.longs===Number?new s.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0):e.versionHeight),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryConnectionConsensusStateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.consensusState=a.google.protobuf.Any.decode(e,e.uint32());break;case 2:n.clientId=e.string();break;case 3:n.proof=e.bytes();break;case 4:n.proofHeight=a.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.ibc.core.connection.v1.QueryConnectionConsensusStateResponse)return e;var t=new a.ibc.core.connection.v1.QueryConnectionConsensusStateResponse;if(null!=e.consensusState){if("object"!=typeof e.consensusState)throw TypeError(".ibc.core.connection.v1.QueryConnectionConsensusStateResponse.consensusState: object expected");t.consensusState=a.google.protobuf.Any.fromObject(e.consensusState)}if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.proof&&("string"==typeof e.proof?s.base64.decode(e.proof,t.proof=s.newBuffer(s.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.connection.v1.QueryConnectionConsensusStateResponse.proofHeight: object expected");t.proofHeight=a.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.consensusState=null,r.clientId="",t.bytes===String?r.proof="":(r.proof=[],t.bytes!==Array&&(r.proof=s.newBuffer(r.proof))),r.proofHeight=null),null!=e.consensusState&&e.hasOwnProperty("consensusState")&&(r.consensusState=a.google.protobuf.Any.toObject(e.consensusState,t)),null!=e.clientId&&e.hasOwnProperty("clientId")&&(r.clientId=e.clientId),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=t.bytes===String?s.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(r.proofHeight=a.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e}(),e})(),t.tendermint=a.tendermint=(()=>{const e={};return e.crypto=function(){const e={};return e.PublicKey=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.ed25519=e.bytes();break;case 2:n.secp256k1=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.crypto.PublicKey)return e;var t=new a.tendermint.crypto.PublicKey;return null!=e.ed25519&&("string"==typeof e.ed25519?s.base64.decode(e.ed25519,t.ed25519=s.newBuffer(s.base64.length(e.ed25519)),0):e.ed25519.length&&(t.ed25519=e.ed25519)),null!=e.secp256k1&&("string"==typeof e.secp256k1?s.base64.decode(e.secp256k1,t.secp256k1=s.newBuffer(s.base64.length(e.secp256k1)),0):e.secp256k1.length&&(t.secp256k1=e.secp256k1)),t},e.toObject=function(e,t){t||(t={});var r={};return null!=e.ed25519&&e.hasOwnProperty("ed25519")&&(r.ed25519=t.bytes===String?s.base64.encode(e.ed25519,0,e.ed25519.length):t.bytes===Array?Array.prototype.slice.call(e.ed25519):e.ed25519,t.oneofs&&(r.sum="ed25519")),null!=e.secp256k1&&e.hasOwnProperty("secp256k1")&&(r.secp256k1=t.bytes===String?s.base64.encode(e.secp256k1,0,e.secp256k1.length):t.bytes===Array?Array.prototype.slice.call(e.secp256k1):e.secp256k1,t.oneofs&&(r.sum="secp256k1")),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Proof=function(){function e(e){if(this.aunts=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.total=e.int64();break;case 2:n.index=e.int64();break;case 3:n.leafHash=e.bytes();break;case 4:n.aunts&&n.aunts.length||(n.aunts=[]),n.aunts.push(e.bytes());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.crypto.Proof)return e;var t=new a.tendermint.crypto.Proof;if(null!=e.total&&(s.Long?(t.total=s.Long.fromValue(e.total)).unsigned=!1:"string"==typeof e.total?t.total=parseInt(e.total,10):"number"==typeof e.total?t.total=e.total:"object"==typeof e.total&&(t.total=new s.LongBits(e.total.low>>>0,e.total.high>>>0).toNumber())),null!=e.index&&(s.Long?(t.index=s.Long.fromValue(e.index)).unsigned=!1:"string"==typeof e.index?t.index=parseInt(e.index,10):"number"==typeof e.index?t.index=e.index:"object"==typeof e.index&&(t.index=new s.LongBits(e.index.low>>>0,e.index.high>>>0).toNumber())),null!=e.leafHash&&("string"==typeof e.leafHash?s.base64.decode(e.leafHash,t.leafHash=s.newBuffer(s.base64.length(e.leafHash)),0):e.leafHash.length&&(t.leafHash=e.leafHash)),e.aunts){if(!Array.isArray(e.aunts))throw TypeError(".tendermint.crypto.Proof.aunts: array expected");t.aunts=[];for(var r=0;r>>0,e.total.high>>>0).toNumber():e.total),null!=e.index&&e.hasOwnProperty("index")&&("number"==typeof e.index?r.index=t.longs===String?String(e.index):e.index:r.index=t.longs===String?s.Long.prototype.toString.call(e.index):t.longs===Number?new s.LongBits(e.index.low>>>0,e.index.high>>>0).toNumber():e.index),null!=e.leafHash&&e.hasOwnProperty("leafHash")&&(r.leafHash=t.bytes===String?s.base64.encode(e.leafHash,0,e.leafHash.length):t.bytes===Array?Array.prototype.slice.call(e.leafHash):e.leafHash),e.aunts&&e.aunts.length){r.aunts=[];for(var o=0;o>>3){case 1:n.key=e.bytes();break;case 2:n.proof=a.tendermint.crypto.Proof.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.crypto.ValueOp)return e;var t=new a.tendermint.crypto.ValueOp;if(null!=e.key&&("string"==typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),null!=e.proof){if("object"!=typeof e.proof)throw TypeError(".tendermint.crypto.ValueOp.proof: object expected");t.proof=a.tendermint.crypto.Proof.fromObject(e.proof)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key))),r.proof=null),null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=a.tendermint.crypto.Proof.toObject(e.proof,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DominoOp=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.key=e.string();break;case 2:n.input=e.string();break;case 3:n.output=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.crypto.DominoOp)return e;var t=new a.tendermint.crypto.DominoOp;return null!=e.key&&(t.key=String(e.key)),null!=e.input&&(t.input=String(e.input)),null!=e.output&&(t.output=String(e.output)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.key="",r.input="",r.output=""),null!=e.key&&e.hasOwnProperty("key")&&(r.key=e.key),null!=e.input&&e.hasOwnProperty("input")&&(r.input=e.input),null!=e.output&&e.hasOwnProperty("output")&&(r.output=e.output),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ProofOp=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.type=e.string();break;case 2:n.key=e.bytes();break;case 3:n.data=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.crypto.ProofOp)return e;var t=new a.tendermint.crypto.ProofOp;return null!=e.type&&(t.type=String(e.type)),null!=e.key&&("string"==typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),null!=e.data&&("string"==typeof e.data?s.base64.decode(e.data,t.data=s.newBuffer(s.base64.length(e.data)),0):e.data.length&&(t.data=e.data)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.type="",t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key))),t.bytes===String?r.data="":(r.data=[],t.bytes!==Array&&(r.data=s.newBuffer(r.data)))),null!=e.type&&e.hasOwnProperty("type")&&(r.type=e.type),null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),null!=e.data&&e.hasOwnProperty("data")&&(r.data=t.bytes===String?s.base64.encode(e.data,0,e.data.length):t.bytes===Array?Array.prototype.slice.call(e.data):e.data),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ProofOps=function(){function e(e){if(this.ops=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.ops&&n.ops.length||(n.ops=[]),n.ops.push(a.tendermint.crypto.ProofOp.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.crypto.ProofOps)return e;var t=new a.tendermint.crypto.ProofOps;if(e.ops){if(!Array.isArray(e.ops))throw TypeError(".tendermint.crypto.ProofOps.ops: array expected");t.ops=[];for(var r=0;r>>3){case 1:n.bits=e.int64();break;case 2:if(n.elems&&n.elems.length||(n.elems=[]),2==(7&i))for(var s=e.uint32()+e.pos;e.pos>>0,e.bits.high>>>0).toNumber())),e.elems){if(!Array.isArray(e.elems))throw TypeError(".tendermint.libs.bits.BitArray.elems: array expected");t.elems=[];for(var r=0;r>>0,e.elems[r].high>>>0).toNumber(!0))}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.elems=[]),t.defaults)if(s.Long){var n=new s.Long(0,0,!1);r.bits=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.bits=t.longs===String?"0":0;if(null!=e.bits&&e.hasOwnProperty("bits")&&("number"==typeof e.bits?r.bits=t.longs===String?String(e.bits):e.bits:r.bits=t.longs===String?s.Long.prototype.toString.call(e.bits):t.longs===Number?new s.LongBits(e.bits.low>>>0,e.bits.high>>>0).toNumber():e.bits),e.elems&&e.elems.length){r.elems=[];for(var o=0;o>>0,e.elems[o].high>>>0).toNumber(!0):e.elems[o]}return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.types=function(){const e={};return e.BlockIDFlag=function(){const e={},t=Object.create(e);return t[e[0]="BLOCK_ID_FLAG_UNKNOWN"]=0,t[e[1]="BLOCK_ID_FLAG_ABSENT"]=1,t[e[2]="BLOCK_ID_FLAG_COMMIT"]=2,t[e[3]="BLOCK_ID_FLAG_NIL"]=3,t}(),e.SignedMsgType=function(){const e={},t=Object.create(e);return t[e[0]="SIGNED_MSG_TYPE_UNKNOWN"]=0,t[e[1]="SIGNED_MSG_TYPE_PREVOTE"]=1,t[e[2]="SIGNED_MSG_TYPE_PRECOMMIT"]=2,t[e[32]="SIGNED_MSG_TYPE_PROPOSAL"]=32,t}(),e.PartSetHeader=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.total=e.uint32();break;case 2:n.hash=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.PartSetHeader)return e;var t=new a.tendermint.types.PartSetHeader;return null!=e.total&&(t.total=e.total>>>0),null!=e.hash&&("string"==typeof e.hash?s.base64.decode(e.hash,t.hash=s.newBuffer(s.base64.length(e.hash)),0):e.hash.length&&(t.hash=e.hash)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.total=0,t.bytes===String?r.hash="":(r.hash=[],t.bytes!==Array&&(r.hash=s.newBuffer(r.hash)))),null!=e.total&&e.hasOwnProperty("total")&&(r.total=e.total),null!=e.hash&&e.hasOwnProperty("hash")&&(r.hash=t.bytes===String?s.base64.encode(e.hash,0,e.hash.length):t.bytes===Array?Array.prototype.slice.call(e.hash):e.hash),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Part=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.index=e.uint32();break;case 2:n.bytes=e.bytes();break;case 3:n.proof=a.tendermint.crypto.Proof.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Part)return e;var t=new a.tendermint.types.Part;if(null!=e.index&&(t.index=e.index>>>0),null!=e.bytes&&("string"==typeof e.bytes?s.base64.decode(e.bytes,t.bytes=s.newBuffer(s.base64.length(e.bytes)),0):e.bytes.length&&(t.bytes=e.bytes)),null!=e.proof){if("object"!=typeof e.proof)throw TypeError(".tendermint.types.Part.proof: object expected");t.proof=a.tendermint.crypto.Proof.fromObject(e.proof)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.index=0,t.bytes===String?r.bytes="":(r.bytes=[],t.bytes!==Array&&(r.bytes=s.newBuffer(r.bytes))),r.proof=null),null!=e.index&&e.hasOwnProperty("index")&&(r.index=e.index),null!=e.bytes&&e.hasOwnProperty("bytes")&&(r.bytes=t.bytes===String?s.base64.encode(e.bytes,0,e.bytes.length):t.bytes===Array?Array.prototype.slice.call(e.bytes):e.bytes),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=a.tendermint.crypto.Proof.toObject(e.proof,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BlockID=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.hash=e.bytes();break;case 2:n.partSetHeader=a.tendermint.types.PartSetHeader.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.BlockID)return e;var t=new a.tendermint.types.BlockID;if(null!=e.hash&&("string"==typeof e.hash?s.base64.decode(e.hash,t.hash=s.newBuffer(s.base64.length(e.hash)),0):e.hash.length&&(t.hash=e.hash)),null!=e.partSetHeader){if("object"!=typeof e.partSetHeader)throw TypeError(".tendermint.types.BlockID.partSetHeader: object expected");t.partSetHeader=a.tendermint.types.PartSetHeader.fromObject(e.partSetHeader)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.hash="":(r.hash=[],t.bytes!==Array&&(r.hash=s.newBuffer(r.hash))),r.partSetHeader=null),null!=e.hash&&e.hasOwnProperty("hash")&&(r.hash=t.bytes===String?s.base64.encode(e.hash,0,e.hash.length):t.bytes===Array?Array.prototype.slice.call(e.hash):e.hash),null!=e.partSetHeader&&e.hasOwnProperty("partSetHeader")&&(r.partSetHeader=a.tendermint.types.PartSetHeader.toObject(e.partSetHeader,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Header=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.version=a.tendermint.version.Consensus.decode(e,e.uint32());break;case 2:n.chainId=e.string();break;case 3:n.height=e.int64();break;case 4:n.time=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 5:n.lastBlockId=a.tendermint.types.BlockID.decode(e,e.uint32());break;case 6:n.lastCommitHash=e.bytes();break;case 7:n.dataHash=e.bytes();break;case 8:n.validatorsHash=e.bytes();break;case 9:n.nextValidatorsHash=e.bytes();break;case 10:n.consensusHash=e.bytes();break;case 11:n.appHash=e.bytes();break;case 12:n.lastResultsHash=e.bytes();break;case 13:n.evidenceHash=e.bytes();break;case 14:n.proposerAddress=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Header)return e;var t=new a.tendermint.types.Header;if(null!=e.version){if("object"!=typeof e.version)throw TypeError(".tendermint.types.Header.version: object expected");t.version=a.tendermint.version.Consensus.fromObject(e.version)}if(null!=e.chainId&&(t.chainId=String(e.chainId)),null!=e.height&&(s.Long?(t.height=s.Long.fromValue(e.height)).unsigned=!1:"string"==typeof e.height?t.height=parseInt(e.height,10):"number"==typeof e.height?t.height=e.height:"object"==typeof e.height&&(t.height=new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber())),null!=e.time){if("object"!=typeof e.time)throw TypeError(".tendermint.types.Header.time: object expected");t.time=a.google.protobuf.Timestamp.fromObject(e.time)}if(null!=e.lastBlockId){if("object"!=typeof e.lastBlockId)throw TypeError(".tendermint.types.Header.lastBlockId: object expected");t.lastBlockId=a.tendermint.types.BlockID.fromObject(e.lastBlockId)}return null!=e.lastCommitHash&&("string"==typeof e.lastCommitHash?s.base64.decode(e.lastCommitHash,t.lastCommitHash=s.newBuffer(s.base64.length(e.lastCommitHash)),0):e.lastCommitHash.length&&(t.lastCommitHash=e.lastCommitHash)),null!=e.dataHash&&("string"==typeof e.dataHash?s.base64.decode(e.dataHash,t.dataHash=s.newBuffer(s.base64.length(e.dataHash)),0):e.dataHash.length&&(t.dataHash=e.dataHash)),null!=e.validatorsHash&&("string"==typeof e.validatorsHash?s.base64.decode(e.validatorsHash,t.validatorsHash=s.newBuffer(s.base64.length(e.validatorsHash)),0):e.validatorsHash.length&&(t.validatorsHash=e.validatorsHash)),null!=e.nextValidatorsHash&&("string"==typeof e.nextValidatorsHash?s.base64.decode(e.nextValidatorsHash,t.nextValidatorsHash=s.newBuffer(s.base64.length(e.nextValidatorsHash)),0):e.nextValidatorsHash.length&&(t.nextValidatorsHash=e.nextValidatorsHash)),null!=e.consensusHash&&("string"==typeof e.consensusHash?s.base64.decode(e.consensusHash,t.consensusHash=s.newBuffer(s.base64.length(e.consensusHash)),0):e.consensusHash.length&&(t.consensusHash=e.consensusHash)),null!=e.appHash&&("string"==typeof e.appHash?s.base64.decode(e.appHash,t.appHash=s.newBuffer(s.base64.length(e.appHash)),0):e.appHash.length&&(t.appHash=e.appHash)),null!=e.lastResultsHash&&("string"==typeof e.lastResultsHash?s.base64.decode(e.lastResultsHash,t.lastResultsHash=s.newBuffer(s.base64.length(e.lastResultsHash)),0):e.lastResultsHash.length&&(t.lastResultsHash=e.lastResultsHash)),null!=e.evidenceHash&&("string"==typeof e.evidenceHash?s.base64.decode(e.evidenceHash,t.evidenceHash=s.newBuffer(s.base64.length(e.evidenceHash)),0):e.evidenceHash.length&&(t.evidenceHash=e.evidenceHash)),null!=e.proposerAddress&&("string"==typeof e.proposerAddress?s.base64.decode(e.proposerAddress,t.proposerAddress=s.newBuffer(s.base64.length(e.proposerAddress)),0):e.proposerAddress.length&&(t.proposerAddress=e.proposerAddress)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.version=null,r.chainId="",s.Long){var n=new s.Long(0,0,!1);r.height=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.height=t.longs===String?"0":0;r.time=null,r.lastBlockId=null,t.bytes===String?r.lastCommitHash="":(r.lastCommitHash=[],t.bytes!==Array&&(r.lastCommitHash=s.newBuffer(r.lastCommitHash))),t.bytes===String?r.dataHash="":(r.dataHash=[],t.bytes!==Array&&(r.dataHash=s.newBuffer(r.dataHash))),t.bytes===String?r.validatorsHash="":(r.validatorsHash=[],t.bytes!==Array&&(r.validatorsHash=s.newBuffer(r.validatorsHash))),t.bytes===String?r.nextValidatorsHash="":(r.nextValidatorsHash=[],t.bytes!==Array&&(r.nextValidatorsHash=s.newBuffer(r.nextValidatorsHash))),t.bytes===String?r.consensusHash="":(r.consensusHash=[],t.bytes!==Array&&(r.consensusHash=s.newBuffer(r.consensusHash))),t.bytes===String?r.appHash="":(r.appHash=[],t.bytes!==Array&&(r.appHash=s.newBuffer(r.appHash))),t.bytes===String?r.lastResultsHash="":(r.lastResultsHash=[],t.bytes!==Array&&(r.lastResultsHash=s.newBuffer(r.lastResultsHash))),t.bytes===String?r.evidenceHash="":(r.evidenceHash=[],t.bytes!==Array&&(r.evidenceHash=s.newBuffer(r.evidenceHash))),t.bytes===String?r.proposerAddress="":(r.proposerAddress=[],t.bytes!==Array&&(r.proposerAddress=s.newBuffer(r.proposerAddress)))}return null!=e.version&&e.hasOwnProperty("version")&&(r.version=a.tendermint.version.Consensus.toObject(e.version,t)),null!=e.chainId&&e.hasOwnProperty("chainId")&&(r.chainId=e.chainId),null!=e.height&&e.hasOwnProperty("height")&&("number"==typeof e.height?r.height=t.longs===String?String(e.height):e.height:r.height=t.longs===String?s.Long.prototype.toString.call(e.height):t.longs===Number?new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber():e.height),null!=e.time&&e.hasOwnProperty("time")&&(r.time=a.google.protobuf.Timestamp.toObject(e.time,t)),null!=e.lastBlockId&&e.hasOwnProperty("lastBlockId")&&(r.lastBlockId=a.tendermint.types.BlockID.toObject(e.lastBlockId,t)),null!=e.lastCommitHash&&e.hasOwnProperty("lastCommitHash")&&(r.lastCommitHash=t.bytes===String?s.base64.encode(e.lastCommitHash,0,e.lastCommitHash.length):t.bytes===Array?Array.prototype.slice.call(e.lastCommitHash):e.lastCommitHash),null!=e.dataHash&&e.hasOwnProperty("dataHash")&&(r.dataHash=t.bytes===String?s.base64.encode(e.dataHash,0,e.dataHash.length):t.bytes===Array?Array.prototype.slice.call(e.dataHash):e.dataHash),null!=e.validatorsHash&&e.hasOwnProperty("validatorsHash")&&(r.validatorsHash=t.bytes===String?s.base64.encode(e.validatorsHash,0,e.validatorsHash.length):t.bytes===Array?Array.prototype.slice.call(e.validatorsHash):e.validatorsHash),null!=e.nextValidatorsHash&&e.hasOwnProperty("nextValidatorsHash")&&(r.nextValidatorsHash=t.bytes===String?s.base64.encode(e.nextValidatorsHash,0,e.nextValidatorsHash.length):t.bytes===Array?Array.prototype.slice.call(e.nextValidatorsHash):e.nextValidatorsHash),null!=e.consensusHash&&e.hasOwnProperty("consensusHash")&&(r.consensusHash=t.bytes===String?s.base64.encode(e.consensusHash,0,e.consensusHash.length):t.bytes===Array?Array.prototype.slice.call(e.consensusHash):e.consensusHash),null!=e.appHash&&e.hasOwnProperty("appHash")&&(r.appHash=t.bytes===String?s.base64.encode(e.appHash,0,e.appHash.length):t.bytes===Array?Array.prototype.slice.call(e.appHash):e.appHash),null!=e.lastResultsHash&&e.hasOwnProperty("lastResultsHash")&&(r.lastResultsHash=t.bytes===String?s.base64.encode(e.lastResultsHash,0,e.lastResultsHash.length):t.bytes===Array?Array.prototype.slice.call(e.lastResultsHash):e.lastResultsHash),null!=e.evidenceHash&&e.hasOwnProperty("evidenceHash")&&(r.evidenceHash=t.bytes===String?s.base64.encode(e.evidenceHash,0,e.evidenceHash.length):t.bytes===Array?Array.prototype.slice.call(e.evidenceHash):e.evidenceHash),null!=e.proposerAddress&&e.hasOwnProperty("proposerAddress")&&(r.proposerAddress=t.bytes===String?s.base64.encode(e.proposerAddress,0,e.proposerAddress.length):t.bytes===Array?Array.prototype.slice.call(e.proposerAddress):e.proposerAddress),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Data=function(){function e(e){if(this.txs=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.txs&&n.txs.length||(n.txs=[]),n.txs.push(e.bytes());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Data)return e;var t=new a.tendermint.types.Data;if(e.txs){if(!Array.isArray(e.txs))throw TypeError(".tendermint.types.Data.txs: array expected");t.txs=[];for(var r=0;r>>3){case 1:n.type=e.int32();break;case 2:n.height=e.int64();break;case 3:n.round=e.int32();break;case 4:n.blockId=a.tendermint.types.BlockID.decode(e,e.uint32());break;case 5:n.timestamp=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 6:n.validatorAddress=e.bytes();break;case 7:n.validatorIndex=e.int32();break;case 8:n.signature=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Vote)return e;var t=new a.tendermint.types.Vote;switch(e.type){case"SIGNED_MSG_TYPE_UNKNOWN":case 0:t.type=0;break;case"SIGNED_MSG_TYPE_PREVOTE":case 1:t.type=1;break;case"SIGNED_MSG_TYPE_PRECOMMIT":case 2:t.type=2;break;case"SIGNED_MSG_TYPE_PROPOSAL":case 32:t.type=32}if(null!=e.height&&(s.Long?(t.height=s.Long.fromValue(e.height)).unsigned=!1:"string"==typeof e.height?t.height=parseInt(e.height,10):"number"==typeof e.height?t.height=e.height:"object"==typeof e.height&&(t.height=new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber())),null!=e.round&&(t.round=0|e.round),null!=e.blockId){if("object"!=typeof e.blockId)throw TypeError(".tendermint.types.Vote.blockId: object expected");t.blockId=a.tendermint.types.BlockID.fromObject(e.blockId)}if(null!=e.timestamp){if("object"!=typeof e.timestamp)throw TypeError(".tendermint.types.Vote.timestamp: object expected");t.timestamp=a.google.protobuf.Timestamp.fromObject(e.timestamp)}return null!=e.validatorAddress&&("string"==typeof e.validatorAddress?s.base64.decode(e.validatorAddress,t.validatorAddress=s.newBuffer(s.base64.length(e.validatorAddress)),0):e.validatorAddress.length&&(t.validatorAddress=e.validatorAddress)),null!=e.validatorIndex&&(t.validatorIndex=0|e.validatorIndex),null!=e.signature&&("string"==typeof e.signature?s.base64.decode(e.signature,t.signature=s.newBuffer(s.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.type=t.enums===String?"SIGNED_MSG_TYPE_UNKNOWN":0,s.Long){var n=new s.Long(0,0,!1);r.height=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.height=t.longs===String?"0":0;r.round=0,r.blockId=null,r.timestamp=null,t.bytes===String?r.validatorAddress="":(r.validatorAddress=[],t.bytes!==Array&&(r.validatorAddress=s.newBuffer(r.validatorAddress))),r.validatorIndex=0,t.bytes===String?r.signature="":(r.signature=[],t.bytes!==Array&&(r.signature=s.newBuffer(r.signature)))}return null!=e.type&&e.hasOwnProperty("type")&&(r.type=t.enums===String?a.tendermint.types.SignedMsgType[e.type]:e.type),null!=e.height&&e.hasOwnProperty("height")&&("number"==typeof e.height?r.height=t.longs===String?String(e.height):e.height:r.height=t.longs===String?s.Long.prototype.toString.call(e.height):t.longs===Number?new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber():e.height),null!=e.round&&e.hasOwnProperty("round")&&(r.round=e.round),null!=e.blockId&&e.hasOwnProperty("blockId")&&(r.blockId=a.tendermint.types.BlockID.toObject(e.blockId,t)),null!=e.timestamp&&e.hasOwnProperty("timestamp")&&(r.timestamp=a.google.protobuf.Timestamp.toObject(e.timestamp,t)),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=t.bytes===String?s.base64.encode(e.validatorAddress,0,e.validatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.validatorAddress):e.validatorAddress),null!=e.validatorIndex&&e.hasOwnProperty("validatorIndex")&&(r.validatorIndex=e.validatorIndex),null!=e.signature&&e.hasOwnProperty("signature")&&(r.signature=t.bytes===String?s.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Commit=function(){function e(e){if(this.signatures=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.height=e.int64();break;case 2:n.round=e.int32();break;case 3:n.blockId=a.tendermint.types.BlockID.decode(e,e.uint32());break;case 4:n.signatures&&n.signatures.length||(n.signatures=[]),n.signatures.push(a.tendermint.types.CommitSig.decode(e,e.uint32()));break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Commit)return e;var t=new a.tendermint.types.Commit;if(null!=e.height&&(s.Long?(t.height=s.Long.fromValue(e.height)).unsigned=!1:"string"==typeof e.height?t.height=parseInt(e.height,10):"number"==typeof e.height?t.height=e.height:"object"==typeof e.height&&(t.height=new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber())),null!=e.round&&(t.round=0|e.round),null!=e.blockId){if("object"!=typeof e.blockId)throw TypeError(".tendermint.types.Commit.blockId: object expected");t.blockId=a.tendermint.types.BlockID.fromObject(e.blockId)}if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".tendermint.types.Commit.signatures: array expected");t.signatures=[];for(var r=0;r>>0,e.height.high>>>0).toNumber():e.height),null!=e.round&&e.hasOwnProperty("round")&&(r.round=e.round),null!=e.blockId&&e.hasOwnProperty("blockId")&&(r.blockId=a.tendermint.types.BlockID.toObject(e.blockId,t)),e.signatures&&e.signatures.length){r.signatures=[];for(var o=0;o>>3){case 1:n.blockIdFlag=e.int32();break;case 2:n.validatorAddress=e.bytes();break;case 3:n.timestamp=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 4:n.signature=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.CommitSig)return e;var t=new a.tendermint.types.CommitSig;switch(e.blockIdFlag){case"BLOCK_ID_FLAG_UNKNOWN":case 0:t.blockIdFlag=0;break;case"BLOCK_ID_FLAG_ABSENT":case 1:t.blockIdFlag=1;break;case"BLOCK_ID_FLAG_COMMIT":case 2:t.blockIdFlag=2;break;case"BLOCK_ID_FLAG_NIL":case 3:t.blockIdFlag=3}if(null!=e.validatorAddress&&("string"==typeof e.validatorAddress?s.base64.decode(e.validatorAddress,t.validatorAddress=s.newBuffer(s.base64.length(e.validatorAddress)),0):e.validatorAddress.length&&(t.validatorAddress=e.validatorAddress)),null!=e.timestamp){if("object"!=typeof e.timestamp)throw TypeError(".tendermint.types.CommitSig.timestamp: object expected");t.timestamp=a.google.protobuf.Timestamp.fromObject(e.timestamp)}return null!=e.signature&&("string"==typeof e.signature?s.base64.decode(e.signature,t.signature=s.newBuffer(s.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.blockIdFlag=t.enums===String?"BLOCK_ID_FLAG_UNKNOWN":0,t.bytes===String?r.validatorAddress="":(r.validatorAddress=[],t.bytes!==Array&&(r.validatorAddress=s.newBuffer(r.validatorAddress))),r.timestamp=null,t.bytes===String?r.signature="":(r.signature=[],t.bytes!==Array&&(r.signature=s.newBuffer(r.signature)))),null!=e.blockIdFlag&&e.hasOwnProperty("blockIdFlag")&&(r.blockIdFlag=t.enums===String?a.tendermint.types.BlockIDFlag[e.blockIdFlag]:e.blockIdFlag),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(r.validatorAddress=t.bytes===String?s.base64.encode(e.validatorAddress,0,e.validatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.validatorAddress):e.validatorAddress),null!=e.timestamp&&e.hasOwnProperty("timestamp")&&(r.timestamp=a.google.protobuf.Timestamp.toObject(e.timestamp,t)),null!=e.signature&&e.hasOwnProperty("signature")&&(r.signature=t.bytes===String?s.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Proposal=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.type=e.int32();break;case 2:n.height=e.int64();break;case 3:n.round=e.int32();break;case 4:n.polRound=e.int32();break;case 5:n.blockId=a.tendermint.types.BlockID.decode(e,e.uint32());break;case 6:n.timestamp=a.google.protobuf.Timestamp.decode(e,e.uint32());break;case 7:n.signature=e.bytes();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Proposal)return e;var t=new a.tendermint.types.Proposal;switch(e.type){case"SIGNED_MSG_TYPE_UNKNOWN":case 0:t.type=0;break;case"SIGNED_MSG_TYPE_PREVOTE":case 1:t.type=1;break;case"SIGNED_MSG_TYPE_PRECOMMIT":case 2:t.type=2;break;case"SIGNED_MSG_TYPE_PROPOSAL":case 32:t.type=32}if(null!=e.height&&(s.Long?(t.height=s.Long.fromValue(e.height)).unsigned=!1:"string"==typeof e.height?t.height=parseInt(e.height,10):"number"==typeof e.height?t.height=e.height:"object"==typeof e.height&&(t.height=new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber())),null!=e.round&&(t.round=0|e.round),null!=e.polRound&&(t.polRound=0|e.polRound),null!=e.blockId){if("object"!=typeof e.blockId)throw TypeError(".tendermint.types.Proposal.blockId: object expected");t.blockId=a.tendermint.types.BlockID.fromObject(e.blockId)}if(null!=e.timestamp){if("object"!=typeof e.timestamp)throw TypeError(".tendermint.types.Proposal.timestamp: object expected");t.timestamp=a.google.protobuf.Timestamp.fromObject(e.timestamp)}return null!=e.signature&&("string"==typeof e.signature?s.base64.decode(e.signature,t.signature=s.newBuffer(s.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.type=t.enums===String?"SIGNED_MSG_TYPE_UNKNOWN":0,s.Long){var n=new s.Long(0,0,!1);r.height=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.height=t.longs===String?"0":0;r.round=0,r.polRound=0,r.blockId=null,r.timestamp=null,t.bytes===String?r.signature="":(r.signature=[],t.bytes!==Array&&(r.signature=s.newBuffer(r.signature)))}return null!=e.type&&e.hasOwnProperty("type")&&(r.type=t.enums===String?a.tendermint.types.SignedMsgType[e.type]:e.type),null!=e.height&&e.hasOwnProperty("height")&&("number"==typeof e.height?r.height=t.longs===String?String(e.height):e.height:r.height=t.longs===String?s.Long.prototype.toString.call(e.height):t.longs===Number?new s.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber():e.height),null!=e.round&&e.hasOwnProperty("round")&&(r.round=e.round),null!=e.polRound&&e.hasOwnProperty("polRound")&&(r.polRound=e.polRound),null!=e.blockId&&e.hasOwnProperty("blockId")&&(r.blockId=a.tendermint.types.BlockID.toObject(e.blockId,t)),null!=e.timestamp&&e.hasOwnProperty("timestamp")&&(r.timestamp=a.google.protobuf.Timestamp.toObject(e.timestamp,t)),null!=e.signature&&e.hasOwnProperty("signature")&&(r.signature=t.bytes===String?s.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SignedHeader=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.header=a.tendermint.types.Header.decode(e,e.uint32());break;case 2:n.commit=a.tendermint.types.Commit.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.SignedHeader)return e;var t=new a.tendermint.types.SignedHeader;if(null!=e.header){if("object"!=typeof e.header)throw TypeError(".tendermint.types.SignedHeader.header: object expected");t.header=a.tendermint.types.Header.fromObject(e.header)}if(null!=e.commit){if("object"!=typeof e.commit)throw TypeError(".tendermint.types.SignedHeader.commit: object expected");t.commit=a.tendermint.types.Commit.fromObject(e.commit)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.header=null,r.commit=null),null!=e.header&&e.hasOwnProperty("header")&&(r.header=a.tendermint.types.Header.toObject(e.header,t)),null!=e.commit&&e.hasOwnProperty("commit")&&(r.commit=a.tendermint.types.Commit.toObject(e.commit,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.LightBlock=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.signedHeader=a.tendermint.types.SignedHeader.decode(e,e.uint32());break;case 2:n.validatorSet=a.tendermint.types.ValidatorSet.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.LightBlock)return e;var t=new a.tendermint.types.LightBlock;if(null!=e.signedHeader){if("object"!=typeof e.signedHeader)throw TypeError(".tendermint.types.LightBlock.signedHeader: object expected");t.signedHeader=a.tendermint.types.SignedHeader.fromObject(e.signedHeader)}if(null!=e.validatorSet){if("object"!=typeof e.validatorSet)throw TypeError(".tendermint.types.LightBlock.validatorSet: object expected");t.validatorSet=a.tendermint.types.ValidatorSet.fromObject(e.validatorSet)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.signedHeader=null,r.validatorSet=null),null!=e.signedHeader&&e.hasOwnProperty("signedHeader")&&(r.signedHeader=a.tendermint.types.SignedHeader.toObject(e.signedHeader,t)),null!=e.validatorSet&&e.hasOwnProperty("validatorSet")&&(r.validatorSet=a.tendermint.types.ValidatorSet.toObject(e.validatorSet,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BlockMeta=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.blockId=a.tendermint.types.BlockID.decode(e,e.uint32());break;case 2:n.blockSize=e.int64();break;case 3:n.header=a.tendermint.types.Header.decode(e,e.uint32());break;case 4:n.numTxs=e.int64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.BlockMeta)return e;var t=new a.tendermint.types.BlockMeta;if(null!=e.blockId){if("object"!=typeof e.blockId)throw TypeError(".tendermint.types.BlockMeta.blockId: object expected");t.blockId=a.tendermint.types.BlockID.fromObject(e.blockId)}if(null!=e.blockSize&&(s.Long?(t.blockSize=s.Long.fromValue(e.blockSize)).unsigned=!1:"string"==typeof e.blockSize?t.blockSize=parseInt(e.blockSize,10):"number"==typeof e.blockSize?t.blockSize=e.blockSize:"object"==typeof e.blockSize&&(t.blockSize=new s.LongBits(e.blockSize.low>>>0,e.blockSize.high>>>0).toNumber())),null!=e.header){if("object"!=typeof e.header)throw TypeError(".tendermint.types.BlockMeta.header: object expected");t.header=a.tendermint.types.Header.fromObject(e.header)}return null!=e.numTxs&&(s.Long?(t.numTxs=s.Long.fromValue(e.numTxs)).unsigned=!1:"string"==typeof e.numTxs?t.numTxs=parseInt(e.numTxs,10):"number"==typeof e.numTxs?t.numTxs=e.numTxs:"object"==typeof e.numTxs&&(t.numTxs=new s.LongBits(e.numTxs.low>>>0,e.numTxs.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.blockId=null,s.Long){var n=new s.Long(0,0,!1);r.blockSize=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.blockSize=t.longs===String?"0":0;if(r.header=null,s.Long){n=new s.Long(0,0,!1);r.numTxs=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.numTxs=t.longs===String?"0":0}return null!=e.blockId&&e.hasOwnProperty("blockId")&&(r.blockId=a.tendermint.types.BlockID.toObject(e.blockId,t)),null!=e.blockSize&&e.hasOwnProperty("blockSize")&&("number"==typeof e.blockSize?r.blockSize=t.longs===String?String(e.blockSize):e.blockSize:r.blockSize=t.longs===String?s.Long.prototype.toString.call(e.blockSize):t.longs===Number?new s.LongBits(e.blockSize.low>>>0,e.blockSize.high>>>0).toNumber():e.blockSize),null!=e.header&&e.hasOwnProperty("header")&&(r.header=a.tendermint.types.Header.toObject(e.header,t)),null!=e.numTxs&&e.hasOwnProperty("numTxs")&&("number"==typeof e.numTxs?r.numTxs=t.longs===String?String(e.numTxs):e.numTxs:r.numTxs=t.longs===String?s.Long.prototype.toString.call(e.numTxs):t.longs===Number?new s.LongBits(e.numTxs.low>>>0,e.numTxs.high>>>0).toNumber():e.numTxs),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.TxProof=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.rootHash=e.bytes();break;case 2:n.data=e.bytes();break;case 3:n.proof=a.tendermint.crypto.Proof.decode(e,e.uint32());break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.TxProof)return e;var t=new a.tendermint.types.TxProof;if(null!=e.rootHash&&("string"==typeof e.rootHash?s.base64.decode(e.rootHash,t.rootHash=s.newBuffer(s.base64.length(e.rootHash)),0):e.rootHash.length&&(t.rootHash=e.rootHash)),null!=e.data&&("string"==typeof e.data?s.base64.decode(e.data,t.data=s.newBuffer(s.base64.length(e.data)),0):e.data.length&&(t.data=e.data)),null!=e.proof){if("object"!=typeof e.proof)throw TypeError(".tendermint.types.TxProof.proof: object expected");t.proof=a.tendermint.crypto.Proof.fromObject(e.proof)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.rootHash="":(r.rootHash=[],t.bytes!==Array&&(r.rootHash=s.newBuffer(r.rootHash))),t.bytes===String?r.data="":(r.data=[],t.bytes!==Array&&(r.data=s.newBuffer(r.data))),r.proof=null),null!=e.rootHash&&e.hasOwnProperty("rootHash")&&(r.rootHash=t.bytes===String?s.base64.encode(e.rootHash,0,e.rootHash.length):t.bytes===Array?Array.prototype.slice.call(e.rootHash):e.rootHash),null!=e.data&&e.hasOwnProperty("data")&&(r.data=t.bytes===String?s.base64.encode(e.data,0,e.data.length):t.bytes===Array?Array.prototype.slice.call(e.data):e.data),null!=e.proof&&e.hasOwnProperty("proof")&&(r.proof=a.tendermint.crypto.Proof.toObject(e.proof,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ValidatorSet=function(){function e(e){if(this.validators=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.validators&&n.validators.length||(n.validators=[]),n.validators.push(a.tendermint.types.Validator.decode(e,e.uint32()));break;case 2:n.proposer=a.tendermint.types.Validator.decode(e,e.uint32());break;case 3:n.totalVotingPower=e.int64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.ValidatorSet)return e;var t=new a.tendermint.types.ValidatorSet;if(e.validators){if(!Array.isArray(e.validators))throw TypeError(".tendermint.types.ValidatorSet.validators: array expected");t.validators=[];for(var r=0;r>>0,e.totalVotingPower.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.validators=[]),t.defaults)if(r.proposer=null,s.Long){var n=new s.Long(0,0,!1);r.totalVotingPower=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.totalVotingPower=t.longs===String?"0":0;if(e.validators&&e.validators.length){r.validators=[];for(var o=0;o>>0,e.totalVotingPower.high>>>0).toNumber():e.totalVotingPower),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Validator=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.address=e.bytes();break;case 2:n.pubKey=a.tendermint.crypto.PublicKey.decode(e,e.uint32());break;case 3:n.votingPower=e.int64();break;case 4:n.proposerPriority=e.int64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.Validator)return e;var t=new a.tendermint.types.Validator;if(null!=e.address&&("string"==typeof e.address?s.base64.decode(e.address,t.address=s.newBuffer(s.base64.length(e.address)),0):e.address.length&&(t.address=e.address)),null!=e.pubKey){if("object"!=typeof e.pubKey)throw TypeError(".tendermint.types.Validator.pubKey: object expected");t.pubKey=a.tendermint.crypto.PublicKey.fromObject(e.pubKey)}return null!=e.votingPower&&(s.Long?(t.votingPower=s.Long.fromValue(e.votingPower)).unsigned=!1:"string"==typeof e.votingPower?t.votingPower=parseInt(e.votingPower,10):"number"==typeof e.votingPower?t.votingPower=e.votingPower:"object"==typeof e.votingPower&&(t.votingPower=new s.LongBits(e.votingPower.low>>>0,e.votingPower.high>>>0).toNumber())),null!=e.proposerPriority&&(s.Long?(t.proposerPriority=s.Long.fromValue(e.proposerPriority)).unsigned=!1:"string"==typeof e.proposerPriority?t.proposerPriority=parseInt(e.proposerPriority,10):"number"==typeof e.proposerPriority?t.proposerPriority=e.proposerPriority:"object"==typeof e.proposerPriority&&(t.proposerPriority=new s.LongBits(e.proposerPriority.low>>>0,e.proposerPriority.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(t.bytes===String?r.address="":(r.address=[],t.bytes!==Array&&(r.address=s.newBuffer(r.address))),r.pubKey=null,s.Long){var n=new s.Long(0,0,!1);r.votingPower=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.votingPower=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!1);r.proposerPriority=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.proposerPriority=t.longs===String?"0":0}return null!=e.address&&e.hasOwnProperty("address")&&(r.address=t.bytes===String?s.base64.encode(e.address,0,e.address.length):t.bytes===Array?Array.prototype.slice.call(e.address):e.address),null!=e.pubKey&&e.hasOwnProperty("pubKey")&&(r.pubKey=a.tendermint.crypto.PublicKey.toObject(e.pubKey,t)),null!=e.votingPower&&e.hasOwnProperty("votingPower")&&("number"==typeof e.votingPower?r.votingPower=t.longs===String?String(e.votingPower):e.votingPower:r.votingPower=t.longs===String?s.Long.prototype.toString.call(e.votingPower):t.longs===Number?new s.LongBits(e.votingPower.low>>>0,e.votingPower.high>>>0).toNumber():e.votingPower),null!=e.proposerPriority&&e.hasOwnProperty("proposerPriority")&&("number"==typeof e.proposerPriority?r.proposerPriority=t.longs===String?String(e.proposerPriority):e.proposerPriority:r.proposerPriority=t.longs===String?s.Long.prototype.toString.call(e.proposerPriority):t.longs===Number?new s.LongBits(e.proposerPriority.low>>>0,e.proposerPriority.high>>>0).toNumber():e.proposerPriority),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SimpleValidator=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.pubKey=a.tendermint.crypto.PublicKey.decode(e,e.uint32());break;case 2:n.votingPower=e.int64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.types.SimpleValidator)return e;var t=new a.tendermint.types.SimpleValidator;if(null!=e.pubKey){if("object"!=typeof e.pubKey)throw TypeError(".tendermint.types.SimpleValidator.pubKey: object expected");t.pubKey=a.tendermint.crypto.PublicKey.fromObject(e.pubKey)}return null!=e.votingPower&&(s.Long?(t.votingPower=s.Long.fromValue(e.votingPower)).unsigned=!1:"string"==typeof e.votingPower?t.votingPower=parseInt(e.votingPower,10):"number"==typeof e.votingPower?t.votingPower=e.votingPower:"object"==typeof e.votingPower&&(t.votingPower=new s.LongBits(e.votingPower.low>>>0,e.votingPower.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.pubKey=null,s.Long){var n=new s.Long(0,0,!1);r.votingPower=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.votingPower=t.longs===String?"0":0;return null!=e.pubKey&&e.hasOwnProperty("pubKey")&&(r.pubKey=a.tendermint.crypto.PublicKey.toObject(e.pubKey,t)),null!=e.votingPower&&e.hasOwnProperty("votingPower")&&("number"==typeof e.votingPower?r.votingPower=t.longs===String?String(e.votingPower):e.votingPower:r.votingPower=t.longs===String?s.Long.prototype.toString.call(e.votingPower):t.longs===Number?new s.LongBits(e.votingPower.low>>>0,e.votingPower.high>>>0).toNumber():e.votingPower),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e.version=function(){const e={};return e.App=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.protocol=e.uint64();break;case 2:n.software=e.string();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.version.App)return e;var t=new a.tendermint.version.App;return null!=e.protocol&&(s.Long?(t.protocol=s.Long.fromValue(e.protocol)).unsigned=!0:"string"==typeof e.protocol?t.protocol=parseInt(e.protocol,10):"number"==typeof e.protocol?t.protocol=e.protocol:"object"==typeof e.protocol&&(t.protocol=new s.LongBits(e.protocol.low>>>0,e.protocol.high>>>0).toNumber(!0))),null!=e.software&&(t.software=String(e.software)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.protocol=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.protocol=t.longs===String?"0":0;r.software=""}return null!=e.protocol&&e.hasOwnProperty("protocol")&&("number"==typeof e.protocol?r.protocol=t.longs===String?String(e.protocol):e.protocol:r.protocol=t.longs===String?s.Long.prototype.toString.call(e.protocol):t.longs===Number?new s.LongBits(e.protocol.low>>>0,e.protocol.high>>>0).toNumber(!0):e.protocol),null!=e.software&&e.hasOwnProperty("software")&&(r.software=e.software),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Consensus=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.block=e.uint64();break;case 2:n.app=e.uint64();break;default:e.skipType(7&i)}}return n},e.fromObject=function(e){if(e instanceof a.tendermint.version.Consensus)return e;var t=new a.tendermint.version.Consensus;return null!=e.block&&(s.Long?(t.block=s.Long.fromValue(e.block)).unsigned=!0:"string"==typeof e.block?t.block=parseInt(e.block,10):"number"==typeof e.block?t.block=e.block:"object"==typeof e.block&&(t.block=new s.LongBits(e.block.low>>>0,e.block.high>>>0).toNumber(!0))),null!=e.app&&(s.Long?(t.app=s.Long.fromValue(e.app)).unsigned=!0:"string"==typeof e.app?t.app=parseInt(e.app,10):"number"==typeof e.app?t.app=e.app:"object"==typeof e.app&&(t.app=new s.LongBits(e.app.low>>>0,e.app.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(s.Long){var n=new s.Long(0,0,!0);r.block=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.block=t.longs===String?"0":0;if(s.Long){n=new s.Long(0,0,!0);r.app=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.app=t.longs===String?"0":0}return null!=e.block&&e.hasOwnProperty("block")&&("number"==typeof e.block?r.block=t.longs===String?String(e.block):e.block:r.block=t.longs===String?s.Long.prototype.toString.call(e.block):t.longs===Number?new s.LongBits(e.block.low>>>0,e.block.high>>>0).toNumber(!0):e.block),null!=e.app&&e.hasOwnProperty("app")&&("number"==typeof e.app?r.app=t.longs===String?String(e.app):e.app:r.app=t.longs===String?s.Long.prototype.toString.call(e.app):t.longs===Number?new s.LongBits(e.app.low>>>0,e.app.high>>>0).toNumber(!0):e.app),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e})(),e.exports=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SignDocWrapper=void 0;const n=r(242),o=r(2);class i{constructor(e,t){this.mode=e,this.message=t}static fromAminoSignDoc(e){const t=new i("amino",new Uint8Array(0));return t._aminoSignDoc=e,t}static fromDirectSignDoc(e){const t=new i("direct",new Uint8Array(0));return t._protoSignDoc=new n.ProtoSignDocDecoder(e),t}clone(){return new i(this.mode,this.message)}get protoSignDoc(){return this._protoSignDoc||(this._protoSignDoc=n.ProtoSignDocDecoder.decode(this.message)),this._protoSignDoc}get aminoSignDoc(){return this._aminoSignDoc||(this._aminoSignDoc=JSON.parse(o.Buffer.from(this.message).toString())),this._aminoSignDoc}get chainId(){return"direct"===this.mode?this.protoSignDoc.chainId:this.aminoSignDoc.chain_id}get memo(){return"direct"===this.mode?this.protoSignDoc.txBody.memo:this.aminoSignDoc.memo}get fees(){var e,t;if("direct"===this.mode){const r=[];for(const n of null!==(t=null===(e=this.protoSignDoc.authInfo.fee)||void 0===e?void 0:e.amount)&&void 0!==t?t:[]){if(null==n.denom||null==n.amount)throw new Error("Invalid fee");r.push({denom:n.denom,amount:n.amount})}return r}return this.aminoSignDoc.fee.amount}get gas(){var e,t,r;return"direct"===this.mode?null!==(r=null===(t=null===(e=this.protoSignDoc.authInfo.fee)||void 0===e?void 0:e.gasLimit)||void 0===t?void 0:t.toNumber())&&void 0!==r?r:0:parseInt(this.aminoSignDoc.fee.gas)}}t.SignDocWrapper=i},,function(e,t){},function(e,t){},function(e,t,r){"use strict";var n=r(153).Buffer,o=r(448);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,o,i=n.allocUnsafe(e>>>0),s=this.head,a=0;s;)t=s.data,r=i,o=a,t.copy(r,o),a+=s.data.length,s=s.next;return i},e}(),o&&o.inspect&&o.inspect.custom&&(e.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,r){(function(e,t){!function(e,r){"use strict";if(!e.setImmediate){var n,o,i,s,a,c=1,u={},l=!1,f=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){p(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){p(e.data)},n=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,n=function(e){var t=f.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):n=function(e){setTimeout(p,0,e)}:(s="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&p(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(t){e.postMessage(s+t,"*")}),d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;rthis.blockSize&&(e=(new this.Hash).update(e).digest()),o(e.length<=this.blockSize);for(var t=e.length;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return s.alloc(0);for(var t,r,n,o=s.allocUnsafe(e>>>0),i=this.head,a=0;i;)t=i.data,r=o,n=a,s.prototype.copy.call(t,r,n),a+=i.data.length,i=i.next;return o}},{key:"consume",value:function(e,t){var r;return eo.length?o.length:e;if(i===o.length?n+=o:n+=o.slice(0,e),0==(e-=i)){i===o.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(i));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=s.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var o=r.data,i=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,i),0==(e-=i)){i===o.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=o.slice(i));break}++n}return this.length-=n,t}},{key:c,value:function(e,t){return a(this,function(e){for(var t=1;t0,(function(e){n||(n=e),e&&s.forEach(u),i||(s.forEach(u),o(n))}))}));return t.reduce(l)}},function(e,t,r){var n=r(4),o=r(77),i=r(7).Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function c(){this.init(),this._w=a,o.call(this,64,56)}function u(e){return e<<30|e>>>2}function l(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(c,o),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,o=0|this._b,i=0|this._c,a=0|this._d,c=0|this._e,f=0;f<16;++f)r[f]=e.readInt32BE(4*f);for(;f<80;++f)r[f]=r[f-3]^r[f-8]^r[f-14]^r[f-16];for(var d=0;d<80;++d){var h=~~(d/20),p=0|((t=n)<<5|t>>>27)+l(h,o,i,a)+c+r[d]+s[h];c=a,a=i,i=u(o),o=n,n=p}this._a=n+this._a|0,this._b=o+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=i.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},function(e,t,r){var n=r(4),o=r(77),i=r(7).Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function c(){this.init(),this._w=a,o.call(this,64,56)}function u(e){return e<<5|e>>>27}function l(e){return e<<30|e>>>2}function f(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(c,o),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,o=0|this._b,i=0|this._c,a=0|this._d,c=0|this._e,d=0;d<16;++d)r[d]=e.readInt32BE(4*d);for(;d<80;++d)r[d]=(t=r[d-3]^r[d-8]^r[d-14]^r[d-16])<<1|t>>>31;for(var h=0;h<80;++h){var p=~~(h/20),g=u(n)+f(p,o,i,a)+c+r[h]+s[p]|0;c=a,a=i,i=l(o),o=n,n=g}this._a=n+this._a|0,this._b=o+this._b|0,this._c=i+this._c|0,this._d=a+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=i.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},function(e,t,r){var n=r(4),o=r(257),i=r(77),s=r(7).Buffer,a=new Array(64);function c(){this.init(),this._w=a,i.call(this,64,56)}n(c,o),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=s.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=c},function(e,t,r){var n=r(4),o=r(258),i=r(77),s=r(7).Buffer,a=new Array(160);function c(){this.init(),this._w=a,i.call(this,128,112)}n(c,o),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var e=s.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},function(e,t,r){e.exports=r(154)},function(e,t,r){e.exports=r(65)},function(e,t,r){e.exports=r(148).Transform},function(e,t,r){e.exports=r(148).PassThrough},function(e,t,r){"use strict";var n=r(4),o=r(7).Buffer,i=r(56),s=o.alloc(128);function a(e,t){i.call(this,"digest"),"string"==typeof t&&(t=o.from(t)),this._alg=e,this._key=t,t.length>64?t=e(t):t.length<64&&(t=o.concat([t,s],64));for(var r=this._ipad=o.allocUnsafe(64),n=this._opad=o.allocUnsafe(64),a=0;a<64;a++)r[a]=54^t[a],n[a]=92^t[a];this._hash=[r]}n(a,i),a.prototype._update=function(e){this._hash.push(e)},a.prototype._final=function(){var e=this._alg(o.concat(this._hash));return this._alg(o.concat([this._opad,e]))},e.exports=a},function(e,t,r){e.exports=r(260)},function(e,t,r){(function(t,n){var o,i=r(7).Buffer,s=r(261),a=r(262),c=r(263),u=r(264),l=t.crypto&&t.crypto.subtle,f={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function h(e,t,r,n,o){return l.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return l.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:o}},e,n<<3)})).then((function(e){return i.from(e)}))}e.exports=function(e,r,p,g,m,y){"function"==typeof m&&(y=m,m=void 0);var b=f[(m=m||"sha1").toLowerCase()];if(!b||"function"!=typeof t.Promise)return n.nextTick((function(){var t;try{t=c(e,r,p,g,m)}catch(e){return y(e)}y(null,t)}));if(s(p,g),e=u(e,a,"Password"),r=u(r,a,"Salt"),"function"!=typeof y)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then((function(e){n.nextTick((function(){t(null,e)}))}),(function(e){n.nextTick((function(){t(e)}))}))}(function(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==d[e])return d[e];var r=h(o=o||i.alloc(8),o,10,128,e).then((function(){return!0})).catch((function(){return!1}));return d[e]=r,r}(b).then((function(t){return t?h(e,r,p,g,b):c(e,r,p,g,m)})),y)}}).call(this,r(12),r(13))},function(e,t,r){var n=r(478),o=r(159),i=r(160),s=r(491),a=r(122);function c(e,t,r){if(e=e.toLowerCase(),i[e])return o.createCipheriv(e,t,r);if(s[e])return new n({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function u(e,t,r){if(e=e.toLowerCase(),i[e])return o.createDecipheriv(e,t,r);if(s[e])return new n({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var r,n;if(e=e.toLowerCase(),i[e])r=i[e].key,n=i[e].iv;else{if(!s[e])throw new TypeError("invalid suite type");r=8*s[e].key,n=s[e].iv}var o=a(t,!1,r,n);return c(e,o.key,o.iv)},t.createCipheriv=t.Cipheriv=c,t.createDecipher=t.Decipher=function(e,t){var r,n;if(e=e.toLowerCase(),i[e])r=i[e].key,n=i[e].iv;else{if(!s[e])throw new TypeError("invalid suite type");r=8*s[e].key,n=s[e].iv}var o=a(t,!1,r,n);return u(e,o.key,o.iv)},t.createDecipheriv=t.Decipheriv=u,t.listCiphers=t.getCiphers=function(){return Object.keys(s).concat(o.getCiphers())}},function(e,t,r){var n=r(56),o=r(479),i=r(4),s=r(7).Buffer,a={"des-ede3-cbc":o.CBC.instantiate(o.EDE),"des-ede3":o.EDE,"des-ede-cbc":o.CBC.instantiate(o.EDE),"des-ede":o.EDE,"des-cbc":o.CBC.instantiate(o.DES),"des-ecb":o.DES};function c(e){n.call(this);var t,r=e.mode.toLowerCase(),o=a[r];t=e.decrypt?"decrypt":"encrypt";var i=e.key;s.isBuffer(i)||(i=s.from(i)),"des-ede"!==r&&"des-ede-cbc"!==r||(i=s.concat([i,i.slice(0,8)]));var c=e.iv;s.isBuffer(c)||(c=s.from(c)),this._des=o.create({key:i,iv:c,type:t})}a.des=a["des-cbc"],a.des3=a["des-ede3-cbc"],e.exports=c,i(c,n),c.prototype._update=function(e){return s.from(this._des.update(e))},c.prototype._final=function(){return s.from(this._des.final())}},function(e,t,r){"use strict";t.utils=r(265),t.Cipher=r(158),t.DES=r(266),t.CBC=r(480),t.EDE=r(481)},function(e,t,r){"use strict";var n=r(32),o=r(4),i={};function s(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},d.prototype.flush=function(){for(var e=16-this.cache.length,t=i.allocUnsafe(e),r=-1;++r>s%8,e._prev=i(e._prev,r?n:o);return a}function i(e,t){var r=e.length,o=-1,i=n.allocUnsafe(e.length);for(e=n.concat([e,n.from([t])]);++o>7;return i}t.encrypt=function(e,t,r){for(var i=t.length,s=n.allocUnsafe(i),a=-1;++a>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function s(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}s.prototype.ghash=function(e){for(var t=-1;++t0;t--)n[t]=n[t]>>>1|(1&n[t-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=i(o)},s.prototype.update=function(e){var t;for(this.cache=n.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},s.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,o],16)),this.ghash(i([0,e,0,t])),this.state},e.exports=s},function(e,t,r){var n=r(270),o=r(7).Buffer,i=r(160),s=r(271),a=r(56),c=r(121),u=r(122);function l(e,t,r){a.call(this),this._cache=new f,this._last=void 0,this._cipher=new c.AES(t),this._prev=o.from(r),this._mode=e,this._autopadding=!0}function f(){this.cache=o.allocUnsafe(0)}function d(e,t,r){var a=i[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=o.from(r)),"GCM"!==a.mode&&r.length!==a.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=o.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===a.type?new s(a.module,t,r,!0):"auth"===a.type?new n(a.module,t,r,!0):new l(a.module,t,r)}r(4)(l,a),l.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),n.push(r);return o.concat(n)},l.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var r=-1;for(;++r16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},f.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var r=i[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=u(t,!1,r.key,r.iv);return d(e,n.key,n.iv)},t.createDecipheriv=d},function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},function(e,t,r){(function(e){var n=r(272),o=r(494),i=r(495);var s={binary:!0,hex:!0,base64:!0};t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=function(t){var r=new e(o[t].prime,"hex"),n=new e(o[t].gen,"hex");return new i(r,n)},t.createDiffieHellman=t.DiffieHellman=function t(r,o,a,c){return e.isBuffer(o)||void 0===s[o]?t(r,"binary",o,a):(o=o||"binary",c=c||"binary",a=a||new e([2]),e.isBuffer(a)||(a=new e(a,c)),"number"==typeof r?new i(n(r,a),a,!0):(e.isBuffer(r)||(r=new e(r,o)),new i(r,a,!0)))}}).call(this,r(2).Buffer)},function(e,t){},function(e){e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},function(e,t,r){(function(t){var n=r(6),o=new(r(273)),i=new n(24),s=new n(11),a=new n(10),c=new n(3),u=new n(7),l=r(272),f=r(62);function d(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this._pub=new n(e),this}function h(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this._priv=new n(e),this}e.exports=g;var p={};function g(e,t,r){this.setGenerator(t),this.__prime=new n(e),this._prime=n.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=d,this.setPrivateKey=h):this._primeCode=8}function m(e,r){var n=new t(e.toArray());return r?n.toString(r):n}Object.defineProperty(g.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in p)return p[n];var f,d=0;if(e.isEven()||!l.simpleSieve||!l.fermatTest(e)||!o.test(e))return d+=1,d+="02"===r||"05"===r?8:4,p[n]=d,d;switch(o.test(e.shrn(1))||(d+=2),r){case"02":e.mod(i).cmp(s)&&(d+=8);break;case"05":(f=e.mod(a)).cmp(c)&&f.cmp(u)&&(d+=8);break;default:d+=4}return p[n]=d,d}(this.__prime,this.__gen)),this._primeCode}}),g.prototype.generateKeys=function(){return this._priv||(this._priv=new n(f(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},g.prototype.computeSecret=function(e){var r=(e=(e=new n(e)).toRed(this._prime)).redPow(this._priv).fromRed(),o=new t(r.toArray()),i=this.getPrime();if(o.length0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return s.alloc(0);for(var t,r,n,o=s.allocUnsafe(e>>>0),i=this.head,a=0;i;)t=i.data,r=o,n=a,s.prototype.copy.call(t,r,n),a+=i.data.length,i=i.next;return o}},{key:"consume",value:function(e,t){var r;return eo.length?o.length:e;if(i===o.length?n+=o:n+=o.slice(0,e),0==(e-=i)){i===o.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=o.slice(i));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=s.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var o=r.data,i=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,i),0==(e-=i)){i===o.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=o.slice(i));break}++n}return this.length-=n,t}},{key:c,value:function(e,t){return a(this,function(e){for(var t=1;t0,(function(e){n||(n=e),e&&s.forEach(u),i||(s.forEach(u),o(n))}))}));return t.reduce(l)}},function(e,t,r){var n=r(7).Buffer,o=r(120),i=r(163),s=r(45).ec,a=r(282),c=r(124),u=r(288);function l(e,t,r,i){if((e=n.from(e.toArray())).length0&&r.ishrn(n),r}function d(e,t,r){var i,s;do{for(i=n.alloc(0);8*i.length=49&&u<=54?u-49+10:u>=17&&u<=22?u-17+10:u,s|=c}return n(!(240&s),"Invalid character in "+e),o}function c(e,t,r,o){for(var i=0,s=0,a=Math.min(e.length,r),c=t;c=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&s0?e:t},i.min=function(e,t){return e.cmp(t)<0?e:t},i.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var o=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&o++,16===t?this._parseHex(e,o):this._parseBase(e,t,o),"-"===e[0]&&(this.negative=1),this._strip(),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},i.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var o=0;o=0;o-=3)s=e[o]|e[o-1]<<8|e[o-2]<<16,this.words[i]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);else if("le"===r)for(o=0,i=0;o>>26-a&67108863,(a+=24)>=26&&(a-=26,i++);return this._strip()},i.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=6)o=a(e,r,r+6),this.words[n]|=o<>>26-i&4194303,(i+=24)>=26&&(i-=26,n++);r+6!==t&&(o=a(e,t,r+6),this.words[n]|=o<>>26-i&4194303),this._strip()},i.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,o=1;o<=67108863;o*=t)n++;n--,o=o/t|0;for(var i=e.length-r,s=i%n,a=Math.min(i,i-s)+r,u=0,l=r;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch(e){i.prototype.inspect=l}else i.prototype.inspect=l;function l(){return(this.red?""}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var o=0,i=0,s=0;s>>24-o&16777215)||s!==this.length-1?f[6-c.length]+c+r:c+r,(o+=2)>=26&&(o-=26,s--)}for(0!==i&&(r=i.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],l=h[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var g=p.modrn(l).toString(e);r=(p=p.idivn(l)).isZero()?g+r:f[u-g.length]+g+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},i.prototype.toJSON=function(){return this.toString(16,2)},s&&(i.prototype.toBuffer=function(e,t){return this.toArrayLike(s,e,t)}),i.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function p(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var o=0|e.words[0],i=0|t.words[0],s=o*i,a=67108863&s,c=s/67108864|0;r.words[0]=a;for(var u=1;u>>26,f=67108863&c,d=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=d;h++){var p=u-h|0;l+=(s=(o=0|e.words[p])*(i=0|t.words[h])+f)/67108864|0,f=67108863&s}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r._strip()}i.prototype.toArrayLike=function(e,t,r){this._strip();var o=this.byteLength(),i=r||Math.max(1,o);n(o<=i,"byte array longer than desired length"),n(i>0,"Requested array length <= 0");var s=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,i);return this["_toArrayLike"+("le"===t?"LE":"BE")](s,o),s},i.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,o=0,i=0;o>8&255),r>16&255),6===i?(r>24&255),n=0,i=0):(n=s>>>24,i+=2)}if(r=0&&(e[r--]=s>>8&255),r>=0&&(e[r--]=s>>16&255),6===i?(r>=0&&(e[r--]=s>>24&255),n=0,i=0):(n=s>>>24,i+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?i.prototype._countBits=function(e){return 32-Math.clz32(e)}:i.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},i.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},i.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},i.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},i.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;re.length?this.clone().iand(e):e.clone().iand(this)},i.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},i.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},i.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},i.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var o=0;o0&&(this.words[o]=~this.words[o]&67108863>>26-r),this._strip()},i.prototype.notn=function(e){return this.clone().inotn(e)},i.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,o=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(r=this,n=e):(r=e,n=this);for(var o=0,i=0;i>>26;for(;0!==o&&i>>26;if(this.length=r.length,0!==o)this.words[this.length]=o,this.length++;else if(r!==this)for(;ie.length?this.clone().iadd(e):e.clone().iadd(this)},i.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,o=this.cmp(e);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(r=this,n=e):(r=e,n=this);for(var i=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==i&&s>26,this.words[s]=67108863&t;if(0===i&&s>>13,h=0|s[1],p=8191&h,g=h>>>13,m=0|s[2],y=8191&m,b=m>>>13,v=0|s[3],w=8191&v,_=v>>>13,k=0|s[4],O=8191&k,S=k>>>13,E=0|s[5],j=8191&E,P=E>>>13,A=0|s[6],x=8191&A,M=A>>>13,I=0|s[7],C=8191&I,R=I>>>13,T=0|s[8],N=8191&T,B=T>>>13,D=0|s[9],L=8191&D,U=D>>>13,q=0|a[0],H=8191&q,z=q>>>13,K=0|a[1],F=8191&K,$=K>>>13,V=0|a[2],J=8191&V,G=V>>>13,W=0|a[3],Q=8191&W,Z=W>>>13,Y=0|a[4],X=8191&Y,ee=Y>>>13,te=0|a[5],re=8191&te,ne=te>>>13,oe=0|a[6],ie=8191&oe,se=oe>>>13,ae=0|a[7],ce=8191&ae,ue=ae>>>13,le=0|a[8],fe=8191&le,de=le>>>13,he=0|a[9],pe=8191&he,ge=he>>>13;r.negative=e.negative^t.negative,r.length=19;var me=(u+(n=Math.imul(f,H))|0)+((8191&(o=(o=Math.imul(f,z))+Math.imul(d,H)|0))<<13)|0;u=((i=Math.imul(d,z))+(o>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(p,H),o=(o=Math.imul(p,z))+Math.imul(g,H)|0,i=Math.imul(g,z);var ye=(u+(n=n+Math.imul(f,F)|0)|0)+((8191&(o=(o=o+Math.imul(f,$)|0)+Math.imul(d,F)|0))<<13)|0;u=((i=i+Math.imul(d,$)|0)+(o>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(y,H),o=(o=Math.imul(y,z))+Math.imul(b,H)|0,i=Math.imul(b,z),n=n+Math.imul(p,F)|0,o=(o=o+Math.imul(p,$)|0)+Math.imul(g,F)|0,i=i+Math.imul(g,$)|0;var be=(u+(n=n+Math.imul(f,J)|0)|0)+((8191&(o=(o=o+Math.imul(f,G)|0)+Math.imul(d,J)|0))<<13)|0;u=((i=i+Math.imul(d,G)|0)+(o>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(w,H),o=(o=Math.imul(w,z))+Math.imul(_,H)|0,i=Math.imul(_,z),n=n+Math.imul(y,F)|0,o=(o=o+Math.imul(y,$)|0)+Math.imul(b,F)|0,i=i+Math.imul(b,$)|0,n=n+Math.imul(p,J)|0,o=(o=o+Math.imul(p,G)|0)+Math.imul(g,J)|0,i=i+Math.imul(g,G)|0;var ve=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(o=(o=o+Math.imul(f,Z)|0)+Math.imul(d,Q)|0))<<13)|0;u=((i=i+Math.imul(d,Z)|0)+(o>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(O,H),o=(o=Math.imul(O,z))+Math.imul(S,H)|0,i=Math.imul(S,z),n=n+Math.imul(w,F)|0,o=(o=o+Math.imul(w,$)|0)+Math.imul(_,F)|0,i=i+Math.imul(_,$)|0,n=n+Math.imul(y,J)|0,o=(o=o+Math.imul(y,G)|0)+Math.imul(b,J)|0,i=i+Math.imul(b,G)|0,n=n+Math.imul(p,Q)|0,o=(o=o+Math.imul(p,Z)|0)+Math.imul(g,Q)|0,i=i+Math.imul(g,Z)|0;var we=(u+(n=n+Math.imul(f,X)|0)|0)+((8191&(o=(o=o+Math.imul(f,ee)|0)+Math.imul(d,X)|0))<<13)|0;u=((i=i+Math.imul(d,ee)|0)+(o>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(j,H),o=(o=Math.imul(j,z))+Math.imul(P,H)|0,i=Math.imul(P,z),n=n+Math.imul(O,F)|0,o=(o=o+Math.imul(O,$)|0)+Math.imul(S,F)|0,i=i+Math.imul(S,$)|0,n=n+Math.imul(w,J)|0,o=(o=o+Math.imul(w,G)|0)+Math.imul(_,J)|0,i=i+Math.imul(_,G)|0,n=n+Math.imul(y,Q)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(b,Q)|0,i=i+Math.imul(b,Z)|0,n=n+Math.imul(p,X)|0,o=(o=o+Math.imul(p,ee)|0)+Math.imul(g,X)|0,i=i+Math.imul(g,ee)|0;var _e=(u+(n=n+Math.imul(f,re)|0)|0)+((8191&(o=(o=o+Math.imul(f,ne)|0)+Math.imul(d,re)|0))<<13)|0;u=((i=i+Math.imul(d,ne)|0)+(o>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(x,H),o=(o=Math.imul(x,z))+Math.imul(M,H)|0,i=Math.imul(M,z),n=n+Math.imul(j,F)|0,o=(o=o+Math.imul(j,$)|0)+Math.imul(P,F)|0,i=i+Math.imul(P,$)|0,n=n+Math.imul(O,J)|0,o=(o=o+Math.imul(O,G)|0)+Math.imul(S,J)|0,i=i+Math.imul(S,G)|0,n=n+Math.imul(w,Q)|0,o=(o=o+Math.imul(w,Z)|0)+Math.imul(_,Q)|0,i=i+Math.imul(_,Z)|0,n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,ee)|0)+Math.imul(b,X)|0,i=i+Math.imul(b,ee)|0,n=n+Math.imul(p,re)|0,o=(o=o+Math.imul(p,ne)|0)+Math.imul(g,re)|0,i=i+Math.imul(g,ne)|0;var ke=(u+(n=n+Math.imul(f,ie)|0)|0)+((8191&(o=(o=o+Math.imul(f,se)|0)+Math.imul(d,ie)|0))<<13)|0;u=((i=i+Math.imul(d,se)|0)+(o>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(C,H),o=(o=Math.imul(C,z))+Math.imul(R,H)|0,i=Math.imul(R,z),n=n+Math.imul(x,F)|0,o=(o=o+Math.imul(x,$)|0)+Math.imul(M,F)|0,i=i+Math.imul(M,$)|0,n=n+Math.imul(j,J)|0,o=(o=o+Math.imul(j,G)|0)+Math.imul(P,J)|0,i=i+Math.imul(P,G)|0,n=n+Math.imul(O,Q)|0,o=(o=o+Math.imul(O,Z)|0)+Math.imul(S,Q)|0,i=i+Math.imul(S,Z)|0,n=n+Math.imul(w,X)|0,o=(o=o+Math.imul(w,ee)|0)+Math.imul(_,X)|0,i=i+Math.imul(_,ee)|0,n=n+Math.imul(y,re)|0,o=(o=o+Math.imul(y,ne)|0)+Math.imul(b,re)|0,i=i+Math.imul(b,ne)|0,n=n+Math.imul(p,ie)|0,o=(o=o+Math.imul(p,se)|0)+Math.imul(g,ie)|0,i=i+Math.imul(g,se)|0;var Oe=(u+(n=n+Math.imul(f,ce)|0)|0)+((8191&(o=(o=o+Math.imul(f,ue)|0)+Math.imul(d,ce)|0))<<13)|0;u=((i=i+Math.imul(d,ue)|0)+(o>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(N,H),o=(o=Math.imul(N,z))+Math.imul(B,H)|0,i=Math.imul(B,z),n=n+Math.imul(C,F)|0,o=(o=o+Math.imul(C,$)|0)+Math.imul(R,F)|0,i=i+Math.imul(R,$)|0,n=n+Math.imul(x,J)|0,o=(o=o+Math.imul(x,G)|0)+Math.imul(M,J)|0,i=i+Math.imul(M,G)|0,n=n+Math.imul(j,Q)|0,o=(o=o+Math.imul(j,Z)|0)+Math.imul(P,Q)|0,i=i+Math.imul(P,Z)|0,n=n+Math.imul(O,X)|0,o=(o=o+Math.imul(O,ee)|0)+Math.imul(S,X)|0,i=i+Math.imul(S,ee)|0,n=n+Math.imul(w,re)|0,o=(o=o+Math.imul(w,ne)|0)+Math.imul(_,re)|0,i=i+Math.imul(_,ne)|0,n=n+Math.imul(y,ie)|0,o=(o=o+Math.imul(y,se)|0)+Math.imul(b,ie)|0,i=i+Math.imul(b,se)|0,n=n+Math.imul(p,ce)|0,o=(o=o+Math.imul(p,ue)|0)+Math.imul(g,ce)|0,i=i+Math.imul(g,ue)|0;var Se=(u+(n=n+Math.imul(f,fe)|0)|0)+((8191&(o=(o=o+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;u=((i=i+Math.imul(d,de)|0)+(o>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(L,H),o=(o=Math.imul(L,z))+Math.imul(U,H)|0,i=Math.imul(U,z),n=n+Math.imul(N,F)|0,o=(o=o+Math.imul(N,$)|0)+Math.imul(B,F)|0,i=i+Math.imul(B,$)|0,n=n+Math.imul(C,J)|0,o=(o=o+Math.imul(C,G)|0)+Math.imul(R,J)|0,i=i+Math.imul(R,G)|0,n=n+Math.imul(x,Q)|0,o=(o=o+Math.imul(x,Z)|0)+Math.imul(M,Q)|0,i=i+Math.imul(M,Z)|0,n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,ee)|0)+Math.imul(P,X)|0,i=i+Math.imul(P,ee)|0,n=n+Math.imul(O,re)|0,o=(o=o+Math.imul(O,ne)|0)+Math.imul(S,re)|0,i=i+Math.imul(S,ne)|0,n=n+Math.imul(w,ie)|0,o=(o=o+Math.imul(w,se)|0)+Math.imul(_,ie)|0,i=i+Math.imul(_,se)|0,n=n+Math.imul(y,ce)|0,o=(o=o+Math.imul(y,ue)|0)+Math.imul(b,ce)|0,i=i+Math.imul(b,ue)|0,n=n+Math.imul(p,fe)|0,o=(o=o+Math.imul(p,de)|0)+Math.imul(g,fe)|0,i=i+Math.imul(g,de)|0;var Ee=(u+(n=n+Math.imul(f,pe)|0)|0)+((8191&(o=(o=o+Math.imul(f,ge)|0)+Math.imul(d,pe)|0))<<13)|0;u=((i=i+Math.imul(d,ge)|0)+(o>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(L,F),o=(o=Math.imul(L,$))+Math.imul(U,F)|0,i=Math.imul(U,$),n=n+Math.imul(N,J)|0,o=(o=o+Math.imul(N,G)|0)+Math.imul(B,J)|0,i=i+Math.imul(B,G)|0,n=n+Math.imul(C,Q)|0,o=(o=o+Math.imul(C,Z)|0)+Math.imul(R,Q)|0,i=i+Math.imul(R,Z)|0,n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,ee)|0)+Math.imul(M,X)|0,i=i+Math.imul(M,ee)|0,n=n+Math.imul(j,re)|0,o=(o=o+Math.imul(j,ne)|0)+Math.imul(P,re)|0,i=i+Math.imul(P,ne)|0,n=n+Math.imul(O,ie)|0,o=(o=o+Math.imul(O,se)|0)+Math.imul(S,ie)|0,i=i+Math.imul(S,se)|0,n=n+Math.imul(w,ce)|0,o=(o=o+Math.imul(w,ue)|0)+Math.imul(_,ce)|0,i=i+Math.imul(_,ue)|0,n=n+Math.imul(y,fe)|0,o=(o=o+Math.imul(y,de)|0)+Math.imul(b,fe)|0,i=i+Math.imul(b,de)|0;var je=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(o=(o=o+Math.imul(p,ge)|0)+Math.imul(g,pe)|0))<<13)|0;u=((i=i+Math.imul(g,ge)|0)+(o>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(L,J),o=(o=Math.imul(L,G))+Math.imul(U,J)|0,i=Math.imul(U,G),n=n+Math.imul(N,Q)|0,o=(o=o+Math.imul(N,Z)|0)+Math.imul(B,Q)|0,i=i+Math.imul(B,Z)|0,n=n+Math.imul(C,X)|0,o=(o=o+Math.imul(C,ee)|0)+Math.imul(R,X)|0,i=i+Math.imul(R,ee)|0,n=n+Math.imul(x,re)|0,o=(o=o+Math.imul(x,ne)|0)+Math.imul(M,re)|0,i=i+Math.imul(M,ne)|0,n=n+Math.imul(j,ie)|0,o=(o=o+Math.imul(j,se)|0)+Math.imul(P,ie)|0,i=i+Math.imul(P,se)|0,n=n+Math.imul(O,ce)|0,o=(o=o+Math.imul(O,ue)|0)+Math.imul(S,ce)|0,i=i+Math.imul(S,ue)|0,n=n+Math.imul(w,fe)|0,o=(o=o+Math.imul(w,de)|0)+Math.imul(_,fe)|0,i=i+Math.imul(_,de)|0;var Pe=(u+(n=n+Math.imul(y,pe)|0)|0)+((8191&(o=(o=o+Math.imul(y,ge)|0)+Math.imul(b,pe)|0))<<13)|0;u=((i=i+Math.imul(b,ge)|0)+(o>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(L,Q),o=(o=Math.imul(L,Z))+Math.imul(U,Q)|0,i=Math.imul(U,Z),n=n+Math.imul(N,X)|0,o=(o=o+Math.imul(N,ee)|0)+Math.imul(B,X)|0,i=i+Math.imul(B,ee)|0,n=n+Math.imul(C,re)|0,o=(o=o+Math.imul(C,ne)|0)+Math.imul(R,re)|0,i=i+Math.imul(R,ne)|0,n=n+Math.imul(x,ie)|0,o=(o=o+Math.imul(x,se)|0)+Math.imul(M,ie)|0,i=i+Math.imul(M,se)|0,n=n+Math.imul(j,ce)|0,o=(o=o+Math.imul(j,ue)|0)+Math.imul(P,ce)|0,i=i+Math.imul(P,ue)|0,n=n+Math.imul(O,fe)|0,o=(o=o+Math.imul(O,de)|0)+Math.imul(S,fe)|0,i=i+Math.imul(S,de)|0;var Ae=(u+(n=n+Math.imul(w,pe)|0)|0)+((8191&(o=(o=o+Math.imul(w,ge)|0)+Math.imul(_,pe)|0))<<13)|0;u=((i=i+Math.imul(_,ge)|0)+(o>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(L,X),o=(o=Math.imul(L,ee))+Math.imul(U,X)|0,i=Math.imul(U,ee),n=n+Math.imul(N,re)|0,o=(o=o+Math.imul(N,ne)|0)+Math.imul(B,re)|0,i=i+Math.imul(B,ne)|0,n=n+Math.imul(C,ie)|0,o=(o=o+Math.imul(C,se)|0)+Math.imul(R,ie)|0,i=i+Math.imul(R,se)|0,n=n+Math.imul(x,ce)|0,o=(o=o+Math.imul(x,ue)|0)+Math.imul(M,ce)|0,i=i+Math.imul(M,ue)|0,n=n+Math.imul(j,fe)|0,o=(o=o+Math.imul(j,de)|0)+Math.imul(P,fe)|0,i=i+Math.imul(P,de)|0;var xe=(u+(n=n+Math.imul(O,pe)|0)|0)+((8191&(o=(o=o+Math.imul(O,ge)|0)+Math.imul(S,pe)|0))<<13)|0;u=((i=i+Math.imul(S,ge)|0)+(o>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(L,re),o=(o=Math.imul(L,ne))+Math.imul(U,re)|0,i=Math.imul(U,ne),n=n+Math.imul(N,ie)|0,o=(o=o+Math.imul(N,se)|0)+Math.imul(B,ie)|0,i=i+Math.imul(B,se)|0,n=n+Math.imul(C,ce)|0,o=(o=o+Math.imul(C,ue)|0)+Math.imul(R,ce)|0,i=i+Math.imul(R,ue)|0,n=n+Math.imul(x,fe)|0,o=(o=o+Math.imul(x,de)|0)+Math.imul(M,fe)|0,i=i+Math.imul(M,de)|0;var Me=(u+(n=n+Math.imul(j,pe)|0)|0)+((8191&(o=(o=o+Math.imul(j,ge)|0)+Math.imul(P,pe)|0))<<13)|0;u=((i=i+Math.imul(P,ge)|0)+(o>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(L,ie),o=(o=Math.imul(L,se))+Math.imul(U,ie)|0,i=Math.imul(U,se),n=n+Math.imul(N,ce)|0,o=(o=o+Math.imul(N,ue)|0)+Math.imul(B,ce)|0,i=i+Math.imul(B,ue)|0,n=n+Math.imul(C,fe)|0,o=(o=o+Math.imul(C,de)|0)+Math.imul(R,fe)|0,i=i+Math.imul(R,de)|0;var Ie=(u+(n=n+Math.imul(x,pe)|0)|0)+((8191&(o=(o=o+Math.imul(x,ge)|0)+Math.imul(M,pe)|0))<<13)|0;u=((i=i+Math.imul(M,ge)|0)+(o>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(L,ce),o=(o=Math.imul(L,ue))+Math.imul(U,ce)|0,i=Math.imul(U,ue),n=n+Math.imul(N,fe)|0,o=(o=o+Math.imul(N,de)|0)+Math.imul(B,fe)|0,i=i+Math.imul(B,de)|0;var Ce=(u+(n=n+Math.imul(C,pe)|0)|0)+((8191&(o=(o=o+Math.imul(C,ge)|0)+Math.imul(R,pe)|0))<<13)|0;u=((i=i+Math.imul(R,ge)|0)+(o>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(L,fe),o=(o=Math.imul(L,de))+Math.imul(U,fe)|0,i=Math.imul(U,de);var Re=(u+(n=n+Math.imul(N,pe)|0)|0)+((8191&(o=(o=o+Math.imul(N,ge)|0)+Math.imul(B,pe)|0))<<13)|0;u=((i=i+Math.imul(B,ge)|0)+(o>>>13)|0)+(Re>>>26)|0,Re&=67108863;var Te=(u+(n=Math.imul(L,pe))|0)+((8191&(o=(o=Math.imul(L,ge))+Math.imul(U,pe)|0))<<13)|0;return u=((i=Math.imul(U,ge))+(o>>>13)|0)+(Te>>>26)|0,Te&=67108863,c[0]=me,c[1]=ye,c[2]=be,c[3]=ve,c[4]=we,c[5]=_e,c[6]=ke,c[7]=Oe,c[8]=Se,c[9]=Ee,c[10]=je,c[11]=Pe,c[12]=Ae,c[13]=xe,c[14]=Me,c[15]=Ie,c[16]=Ce,c[17]=Re,c[18]=Te,0!==u&&(c[19]=u,r.length++),r};function m(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,o=0,i=0;i>>26)|0)>>>26,s&=67108863}r.words[i]=a,n=s,s=o}return 0!==n?r.words[i]=n:r.length--,r._strip()}function y(e,t,r){return m(e,t,r)}function b(e,t){this.x=e,this.y=t}Math.imul||(g=p),i.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):r<63?p(this,e,t):r<1024?m(this,e,t):y(this,e,t)},b.prototype.makeRBT=function(e){for(var t=new Array(e),r=i.prototype._countBits(e)-1,n=0;n>=1;return n},b.prototype.permute=function(e,t,r,n,o,i){for(var s=0;s>>=1)o++;return 1<>>=13,r[2*s+1]=8191&i,i>>>=13;for(s=2*t;s>=26,r+=i/67108864|0,r+=s>>>26,this.words[o]=67108863&s}return 0!==r&&(this.words[o]=r,this.length++),t?this.ineg():this},i.prototype.muln=function(e){return this.clone().imuln(e)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r>>o&1}return t}(e);if(0===t.length)return new i(1);for(var r=this,n=0;n=0);var t,r=e%26,o=(e-r)/26,i=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(t=0;t>>26-r}s&&(this.words[t]=s,this.length++)}if(0!==o){for(t=this.length-1;t>=0;t--)this.words[t+o]=this.words[t];for(t=0;t=0),o=t?(t-t%26)/26:0;var i=e%26,s=Math.min((e-i)/26,this.length),a=67108863^67108863>>>i<s)for(this.length-=s,u=0;u=0&&(0!==l||u>=o);u--){var f=0|this.words[u];this.words[u]=l<<26-i|f>>>i,l=f&a}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},i.prototype.shln=function(e){return this.clone().ishln(e)},i.prototype.ushln=function(e){return this.clone().iushln(e)},i.prototype.shrn=function(e){return this.clone().ishrn(e)},i.prototype.ushrn=function(e){return this.clone().iushrn(e)},i.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,o=1<=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var o=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},i.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[o+r]=67108863&i}for(;o>26,this.words[o+r]=67108863&i;if(0===a)return this._strip();for(n(-1===a),a=0,o=0;o>26,this.words[o]=67108863&i;return this.negative=1,this._strip()},i.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),o=e,s=0|o.words[o.length-1];0!==(r=26-this._countBits(s))&&(o=o.ushln(r),n.iushln(r),s=0|o.words[o.length-1]);var a,c=n.length-o.length;if("mod"!==t){(a=new i(null)).length=c+1,a.words=new Array(a.length);for(var u=0;u=0;f--){var d=67108864*(0|n.words[o.length+f])+(0|n.words[o.length+f-1]);for(d=Math.min(d/s|0,67108863),n._ishlnsubmul(o,d,f);0!==n.negative;)d--,n.negative=0,n._ishlnsubmul(o,1,f),n.isZero()||(n.negative^=1);a&&(a.words[f]=d)}return a&&a._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},i.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(o=a.div.neg()),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.iadd(e)),{div:o,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(o=a.div.neg()),{div:o,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),r&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new i(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new i(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new i(this.modrn(e.words[0]))}:this._wordDiv(e,t);var o,s,a},i.prototype.div=function(e){return this.divmod(e,"div",!1).div},i.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},i.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},i.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),o=e.andln(1),i=r.cmp(n);return i<0||1===o&&0===i?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},i.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,o=0,i=this.length-1;i>=0;i--)o=(r*o+(0|this.words[i]))%e;return t?-o:o},i.prototype.modn=function(e){return this.modrn(e)},i.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,o=this.length-1;o>=0;o--){var i=(0|this.words[o])+67108864*r;this.words[o]=i/e|0,r=i%e}return this._strip(),t?this.ineg():this},i.prototype.divn=function(e){return this.clone().idivn(e)},i.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o=new i(1),s=new i(0),a=new i(0),c=new i(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0==(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(l),s.isub(f)),o.iushrn(1),s.iushrn(1);for(var p=0,g=1;0==(r.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(a.isOdd()||c.isOdd())&&(a.iadd(l),c.isub(f)),a.iushrn(1),c.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a),s.isub(c)):(r.isub(t),a.isub(o),c.isub(s))}return{a:a,b:c,gcd:r.iushln(u)}},i.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var o,s=new i(1),a=new i(0),c=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0==(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var f=0,d=1;0==(r.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(r.iushrn(f);f-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),s.isub(a)):(r.isub(t),a.isub(s))}return(o=0===t.cmpn(1)?s:a).cmpn(0)<0&&o.iadd(e),o},i.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var o=t.cmp(r);if(o<0){var i=t;t=r,r=i}else if(0===o||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},i.prototype.invm=function(e){return this.egcd(e).a.umod(e)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(e){return this.words[0]&e},i.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,o=1<>>26,a&=67108863,this.words[s]=a}return 0!==i&&(this.words[s]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var o=0|this.words[0];t=o===e?0:oe.length)return 1;if(this.length=0;r--){var n=0|this.words[r],o=0|e.words[r];if(n!==o){no&&(t=1);break}}return t},i.prototype.gtn=function(e){return 1===this.cmpn(e)},i.prototype.gt=function(e){return 1===this.cmp(e)},i.prototype.gten=function(e){return this.cmpn(e)>=0},i.prototype.gte=function(e){return this.cmp(e)>=0},i.prototype.ltn=function(e){return-1===this.cmpn(e)},i.prototype.lt=function(e){return-1===this.cmp(e)},i.prototype.lten=function(e){return this.cmpn(e)<=0},i.prototype.lte=function(e){return this.cmp(e)<=0},i.prototype.eqn=function(e){return 0===this.cmpn(e)},i.prototype.eq=function(e){return 0===this.cmp(e)},i.red=function(e){return new E(e)},i.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(e){return this.red=e,this},i.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},i.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},i.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},i.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},i.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},i.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},i.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},i.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new i(t,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function O(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=i._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function j(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new i(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},o(_,w),_.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n>>22,o=i}o>>>=22,e.words[n-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r>>=26,e.words[r]=o,t=n}return 0!==t&&(e.words[e.length++]=t),e},i._prime=function(e){if(v[e])return v[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new k;else if("p192"===e)t=new O;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new S}return v[e]=t,t},E.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new i(1)).iushrn(2);return this.pow(e,r)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);n(!o.isZero());var a=new i(1).toRed(this),c=a.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,o),d=this.pow(e,o.addn(1).iushrn(1)),h=this.pow(e,o),p=s;0!==h.cmp(a);){for(var g=h,m=0;0!==g.cmp(a);m++)g=g.redSqr();n(m=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var f=u>>l&1;o!==r[0]&&(o=this.sqr(o)),0!==f||0!==s?(s<<=1,s|=f,(4===++a||0===n&&0===l)&&(o=this.mul(o,r[s]),a=0,s=0)):a=0}c=26}return o},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},i.mont=function(e){return new j(e)},o(j,E),j.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},j.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},j.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),i=o;return o.cmp(this.m)>=0?i=o.isub(this.m):o.cmpn(0)<0&&(i=o.iadd(this.m)),i._forceRed(this)},j.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new i(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=r.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):o.cmpn(0)<0&&(s=o.iadd(this.m)),s._forceRed(this)},j.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(71)(e))},function(e,t){},function(e){e.exports=JSON.parse('{"name":"elliptic","version":"6.5.3","description":"EC cryptography","main":"lib/elliptic.js","files":["lib"],"scripts":{"jscs":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","jshint":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","lint":"npm run jscs && npm run jshint","unit":"istanbul test _mocha --reporter=spec test/index.js","test":"npm run lint && npm run unit","version":"grunt dist && git add dist/"},"repository":{"type":"git","url":"git@github.com:indutny/elliptic"},"keywords":["EC","Elliptic","curve","Cryptography"],"author":"Fedor Indutny ","license":"MIT","bugs":{"url":"https://github.com/indutny/elliptic/issues"},"homepage":"https://github.com/indutny/elliptic","devDependencies":{"brfs":"^1.4.3","coveralls":"^3.0.8","grunt":"^1.0.4","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.2","jscs":"^3.0.7","jshint":"^2.10.3","mocha":"^6.2.2"},"dependencies":{"bn.js":"^4.4.0","brorand":"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0","inherits":"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"}}')},function(e,t,r){"use strict";var n=r(33),o=r(6),i=r(4),s=r(123),a=n.assert;function c(e){s.call(this,"short",e),this.a=new o(e.a,16).toRed(this.red),this.b=new o(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(e,t,r,n){s.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new o(t,16),this.y=new o(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function l(e,t,r,n){s.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new o(0)):(this.x=new o(t,16),this.y=new o(r,16),this.z=new o(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}i(c,s),e.exports=c,c.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new o(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new o(e.lambda,16);else{var i=this._getEndoRoots(this.n);0===this.g.mul(i[0]).x.cmp(this.g.x.redMul(t))?r=i[0]:(r=i[1],a(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:r,basis:e.basis?e.basis.map((function(e){return{a:new o(e.a,16),b:new o(e.b,16)}})):this._getEndoBasis(r)}}},c.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:o.mont(e),r=new o(2).toRed(t).redInvm(),n=r.redNeg(),i=new o(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(i).fromRed(),n.redSub(i).fromRed()]},c.prototype._getEndoBasis=function(e){for(var t,r,n,i,s,a,c,u,l,f=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=e,h=this.n.clone(),p=new o(1),g=new o(0),m=new o(0),y=new o(1),b=0;0!==d.cmpn(0);){var v=h.div(d);u=h.sub(v.mul(d)),l=m.sub(v.mul(p));var w=y.sub(v.mul(g));if(!n&&u.cmp(f)<0)t=c.neg(),r=p,n=u.neg(),i=l;else if(n&&2==++b)break;c=u,h=d,d=u,m=p,p=l,y=g,g=w}s=u.neg(),a=l;var _=n.sqr().add(i.sqr());return s.sqr().add(a.sqr()).cmp(_)>=0&&(s=t,a=r),n.negative&&(n=n.neg(),i=i.neg()),s.negative&&(s=s.neg(),a=a.neg()),[{a:n,b:i},{a:s,b:a}]},c.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],o=n.b.mul(e).divRound(this.n),i=r.b.neg().mul(e).divRound(this.n),s=o.mul(r.a),a=i.mul(n.a),c=o.mul(r.b),u=i.mul(n.b);return{k1:e.sub(s).sub(a),k2:c.add(u).neg()}},c.prototype.pointFromX=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var i=n.fromRed().isOdd();return(t&&!i||!t&&i)&&(n=n.redNeg()),this.point(e,n)},c.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),o=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(o).cmpn(0)},c.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,o=this._endoWnafT2,i=0;i":""},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},u.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),o=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),i=o.redSqr().redISub(this.x.redAdd(this.x)),s=o.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,s)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(e){return e=new o(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){var n=[this,t],o=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o):this.curve._wnafMulAdd(1,n,o,2)},u.prototype.jmulAdd=function(e,t,r){var n=[this,t],o=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o,!0):this.curve._wnafMulAdd(1,n,o,2,!0)},u.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},u.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(l,s.BasePoint),c.prototype.jpoint=function(e,t,r){return new l(this,e,t,r)},l.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),o=e.x.redMul(r),i=this.y.redMul(t.redMul(e.z)),s=e.y.redMul(r.redMul(this.z)),a=n.redSub(o),c=i.redSub(s);if(0===a.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),l=u.redMul(a),f=n.redMul(u),d=c.redSqr().redIAdd(l).redISub(f).redISub(f),h=c.redMul(f.redISub(d)).redISub(i.redMul(l)),p=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(d,h,p)},l.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),o=this.y,i=e.y.redMul(t).redMul(this.z),s=r.redSub(n),a=o.redSub(i);if(0===s.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),u=c.redMul(s),l=r.redMul(c),f=a.redSqr().redIAdd(u).redISub(l).redISub(l),d=a.redMul(l.redISub(f)).redISub(o.redMul(u)),h=this.z.redMul(s);return this.curve.jpoint(f,d,h)},l.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r=0)return!1;if(r.redIAdd(o),0===this.x.cmp(r))return!0}},l.prototype.inspect=function(){return this.isInfinity()?"":""},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(e,t,r){"use strict";var n=r(6),o=r(4),i=r(123),s=r(33);function a(e){i.call(this,"mont",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(e,t,r){i.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(t,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}o(a,i),e.exports=a,a.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},o(c,i.BasePoint),a.prototype.decodePoint=function(e,t){return this.point(s.toArray(e,t),1)},a.prototype.point=function(e,t){return new c(this,e,t)},a.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(e,t){return new c(e,t[0],t[1]||e.one)},c.prototype.inspect=function(){return this.isInfinity()?"":""},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),o=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,o)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),o=e.x.redAdd(e.z),i=e.x.redSub(e.z).redMul(r),s=o.redMul(n),a=t.z.redMul(i.redAdd(s).redSqr()),c=t.x.redMul(i.redISub(s).redSqr());return this.curve.point(a,c)},c.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),o=[];0!==t.cmpn(0);t.iushrn(1))o.push(t.andln(1));for(var i=o.length-1;i>=0;i--)0===o[i]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(e,t,r){"use strict";var n=r(33),o=r(6),i=r(4),s=r(123),a=n.assert;function c(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,s.call(this,"edwards",e),this.a=new o(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new o(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new o(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),a(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function u(e,t,r,n,i){s.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new o(t,16),this.y=new o(r,16),this.z=n?new o(n,16):this.curve.one,this.t=i&&new o(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}i(c,s),e.exports=c,c.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},c.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},c.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},c.prototype.pointFromX=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),i=this.one.redSub(this.c2.redMul(this.d).redMul(r)),s=n.redMul(i.redInvm()),a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");var c=a.fromRed().isOdd();return(t&&!c||!t&&c)&&(a=a.redNeg()),this.point(e,a)},c.prototype.pointFromY=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.c2),i=r.redMul(this.d).redMul(this.c2).redSub(this.a),s=n.redMul(i.redInvm());if(0===s.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var a=s.redSqrt();if(0!==a.redSqr().redSub(s).cmp(this.zero))throw new Error("invalid point");return a.fromRed().isOdd()!==t&&(a=a.redNeg()),this.point(a,e)},c.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),o=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(o)},i(u,s.BasePoint),c.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},c.prototype.point=function(e,t,r,n){return new u(this,e,t,r,n)},u.fromJSON=function(e,t){return new u(e,t[0],t[1],t[2])},u.prototype.inspect=function(){return this.isInfinity()?"":""},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),o=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),i=n.redAdd(t),s=i.redSub(r),a=n.redSub(t),c=o.redMul(s),u=i.redMul(a),l=o.redMul(a),f=s.redMul(i);return this.curve.point(c,u,f,l)},u.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),o=this.x.redSqr(),i=this.y.redSqr();if(this.curve.twisted){var s=(u=this.curve._mulA(o)).redAdd(i);if(this.zOne)e=n.redSub(o).redSub(i).redMul(s.redSub(this.curve.two)),t=s.redMul(u.redSub(i)),r=s.redSqr().redSub(s).redSub(s);else{var a=this.z.redSqr(),c=s.redSub(a).redISub(a);e=n.redSub(o).redISub(i).redMul(c),t=s.redMul(u.redSub(i)),r=s.redMul(c)}}else{var u=o.redAdd(i);a=this.curve._mulC(this.z).redSqr(),c=u.redSub(a).redSub(a);e=this.curve._mulC(n.redISub(u)).redMul(c),t=this.curve._mulC(u).redMul(o.redISub(i)),r=u.redMul(c)}return this.curve.point(e,t,r)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),o=this.z.redMul(e.z.redAdd(e.z)),i=r.redSub(t),s=o.redSub(n),a=o.redAdd(n),c=r.redAdd(t),u=i.redMul(s),l=a.redMul(c),f=i.redMul(c),d=s.redMul(a);return this.curve.point(u,l,d,f)},u.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),o=n.redSqr(),i=this.x.redMul(e.x),s=this.y.redMul(e.y),a=this.curve.d.redMul(i).redMul(s),c=o.redSub(a),u=o.redAdd(a),l=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(i).redISub(s),f=n.redMul(c).redMul(l);return this.curve.twisted?(t=n.redMul(u).redMul(s.redSub(this.curve._mulA(i))),r=c.redMul(u)):(t=n.redMul(u).redMul(s.redSub(i)),r=this.curve._mulC(c).redMul(u)),this.curve.point(f,t,r)},u.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},u.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},u.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},u.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},function(e,t,r){"use strict";var n=r(6),o=r(514),i=r(33),s=r(164),a=r(161),c=i.assert,u=r(515),l=r(516);function f(e){if(!(this instanceof f))return new f(e);"string"==typeof e&&(c(s.hasOwnProperty(e),"Unknown curve "+e),e=s[e]),e instanceof s.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=f,f.prototype.keyPair=function(e){return new u(this,e)},f.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},f.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},f.prototype.genKeyPair=function(e){e||(e={});for(var t=new o({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||a(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),i=this.n.sub(new n(2));;){var s=new n(t.generate(r));if(!(s.cmp(i)>0))return s.iaddn(1),this.keyFromPrivate(s)}},f.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},f.prototype.sign=function(e,t,r,i){"object"==typeof r&&(i=r,r=null),i||(i={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n(e,16));for(var s=this.n.byteLength(),a=t.getPrivate().toArray("be",s),c=e.toArray("be",s),u=new o({hash:this.hash,entropy:a,nonce:c,pers:i.pers,persEnc:i.persEnc||"utf8"}),f=this.n.sub(new n(1)),d=0;;d++){var h=i.k?i.k(d):new n(u.generate(this.n.byteLength()));if(!((h=this._truncateToN(h,!0)).cmpn(1)<=0||h.cmp(f)>=0)){var p=this.g.mul(h);if(!p.isInfinity()){var g=p.getX(),m=g.umod(this.n);if(0!==m.cmpn(0)){var y=h.invm(this.n).mul(m.mul(t.getPrivate()).iadd(e));if(0!==(y=y.umod(this.n)).cmpn(0)){var b=(p.getY().isOdd()?1:0)|(0!==g.cmp(m)?2:0);return i.canonical&&y.cmp(this.nh)>0&&(y=this.n.sub(y),b^=1),new l({r:m,s:y,recoveryParam:b})}}}}}},f.prototype.verify=function(e,t,r,o){e=this._truncateToN(new n(e,16)),r=this.keyFromPublic(r,o);var i=(t=new l(t,"hex")).r,s=t.s;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var a,c=s.invm(this.n),u=c.mul(e).umod(this.n),f=c.mul(i).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(u,r.getPublic(),f)).isInfinity()&&a.eqXToP(i):!(a=this.g.mulAdd(u,r.getPublic(),f)).isInfinity()&&0===a.getX().umod(this.n).cmp(i)},f.prototype.recoverPubKey=function(e,t,r,o){c((3&r)===r,"The recovery param is more than two bits"),t=new l(t,o);var i=this.n,s=new n(e),a=t.r,u=t.s,f=1&r,d=r>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");a=d?this.curve.pointFromX(a.add(this.curve.n),f):this.curve.pointFromX(a,f);var h=t.r.invm(i),p=i.sub(s).mul(h).umod(i),g=u.mul(h).umod(i);return this.g.mulAdd(p,a,g)},f.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new l(t,n)).recoveryParam)return t.recoveryParam;for(var o=0;o<4;o++){var i;try{i=this.recoverPubKey(e,t,o)}catch(e){continue}if(i.eq(r))return o}throw new Error("Unable to find valid recovery factor")}},function(e,t,r){"use strict";var n=r(70),o=r(280),i=r(32);function s(e){if(!(this instanceof s))return new s(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=o.toArray(e.entropy,e.entropyEnc||"hex"),r=o.toArray(e.nonce,e.nonceEnc||"hex"),n=o.toArray(e.pers,e.persEnc||"hex");i(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}e.exports=s,s.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var o=0;o=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},s.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=o.toArray(r,n||"hex"),this._update(r));for(var i=[];i.length"}},function(e,t,r){"use strict";var n=r(6),o=r(33),i=o.assert;function s(e,t){if(e instanceof s)return e;this._importDER(e,t)||(i(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function a(){this.place=0}function c(e,t){var r=e[t.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var o=0,i=0,s=t.place;i>>=0;return!(o<=127)&&(t.place=s,o)}function u(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}e.exports=s,s.prototype._importDER=function(e,t){e=o.toArray(e,t);var r=new a;if(48!==e[r.place++])return!1;var i=c(e,r);if(!1===i)return!1;if(i+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var s=c(e,r);if(!1===s)return!1;var u=e.slice(r.place,s+r.place);if(r.place+=s,2!==e[r.place++])return!1;var l=c(e,r);if(!1===l)return!1;if(e.length!==l+r.place)return!1;var f=e.slice(r.place,l+r.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new n(u),this.s=new n(f),this.recoveryParam=null,!0},s.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=u(t),r=u(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];l(n,t.length),(n=n.concat(t)).push(2),l(n,r.length);var i=n.concat(r),s=[48];return l(s,i.length),s=s.concat(i),o.encode(s,e)}},function(e,t,r){"use strict";var n=r(70),o=r(164),i=r(33),s=i.assert,a=i.parseBytes,c=r(518),u=r(519);function l(e){if(s("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof l))return new l(e);e=o[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}e.exports=l,l.prototype.sign=function(e,t){e=a(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),o=this.g.mul(n),i=this.encodePoint(o),s=this.hashInt(i,r.pubBytes(),e).mul(r.priv()),c=n.add(s).umod(this.curve.n);return this.makeSignature({R:o,S:c,Rencoded:i})},l.prototype.verify=function(e,t,r){e=a(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),o=this.hashInt(t.Rencoded(),n.pubBytes(),e),i=this.g.mul(t.S());return t.R().add(n.pub().mul(o)).eq(i)},l.prototype.hashInt=function(){for(var e=this.hash(),t=0;t=t)throw new Error("invalid sig")}e.exports=function(e,t,r,u,l){var f=s(r);if("ec"===f.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(e,t,r){var n=a[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var o=new i(n),s=r.data.subjectPrivateKey.data;return o.verify(t,e,s)}(e,t,f)}if("dsa"===f.type){if("dsa"!==u)throw new Error("wrong public key type");return function(e,t,r){var n=r.data.p,i=r.data.q,a=r.data.g,u=r.data.pub_key,l=s.signature.decode(e,"der"),f=l.s,d=l.r;c(f,i),c(d,i);var h=o.mont(n),p=f.invm(i);return 0===a.toRed(h).redPow(new o(t).mul(p).mod(i)).fromRed().mul(u.toRed(h).redPow(d.mul(p).mod(i)).fromRed()).mod(n).mod(i).cmp(d)}(e,t,f)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");t=n.concat([l,t]);for(var d=f.modulus.byteLength(),h=[1],p=0;t.length+h.length+2r-d-2)throw new Error("message too long");var h=f.alloc(r-n-d-2),p=r-l-1,g=o(l),m=a(f.concat([u,h,f.alloc(1,1),t],p),s(g,p)),y=a(g,s(m,l));return new c(f.concat([f.alloc(1),y,m],r))}(p,t);else if(1===d)h=function(e,t,r){var n,i=t.length,s=e.modulus.byteLength();if(i>s-11)throw new Error("message too long");n=r?f.alloc(s-i-3,255):function(e){var t,r=f.allocUnsafe(e),n=0,i=o(2*e),s=0;for(;n=0)throw new Error("data too long for modulus")}return r?l(h,p):u(h,p)}},function(e,t,r){var n=r(124),o=r(289),i=r(290),s=r(6),a=r(163),c=r(54),u=r(291),l=r(7).Buffer;e.exports=function(e,t,r){var f;f=e.padding?e.padding:r?1:4;var d,h=n(e),p=h.modulus.byteLength();if(t.length>p||new s(t).cmp(h.modulus)>=0)throw new Error("decryption error");d=r?u(new s(t),h):a(t,h);var g=l.alloc(p-d.length);if(d=l.concat([g,d],p),4===f)return function(e,t){var r=e.modulus.byteLength(),n=c("sha1").update(l.alloc(0)).digest(),s=n.length;if(0!==t[0])throw new Error("decryption error");var a=t.slice(1,s+1),u=t.slice(s+1),f=i(a,o(u,s)),d=i(u,o(f,r-s-1));if(function(e,t){e=l.from(e),t=l.from(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));var o=-1;for(;++o=t.length){i++;break}var s=t.slice(2,o-1);("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&i++;s.length<8&&i++;if(i)throw new Error("decryption error");return t.slice(o)}(0,d,r);if(3===f)return d;throw new Error("unknown padding")}},function(e,t,r){"use strict";(function(e,n){function o(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var i=r(7),s=r(62),a=i.Buffer,c=i.kMaxLength,u=e.crypto||e.msCrypto,l=Math.pow(2,32)-1;function f(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>l||e<0)throw new TypeError("offset must be a uint32");if(e>c||e>t)throw new RangeError("offset out of range")}function d(e,t,r){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>l||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>c)throw new RangeError("buffer too small")}function h(e,t,r,o){if(n.browser){var i=e.buffer,a=new Uint8Array(i,t,r);return u.getRandomValues(a),o?void n.nextTick((function(){o(null,e)})):e}if(!o)return s(r).copy(e,t),e;s(r,(function(r,n){if(r)return o(r);n.copy(e,t),o(null,e)}))}u&&u.getRandomValues||!n.browser?(t.randomFill=function(t,r,n,o){if(!(a.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof r)o=r,r=0,n=t.length;else if("function"==typeof n)o=n,n=t.length-r;else if("function"!=typeof o)throw new TypeError('"cb" argument must be a function');return f(r,t.length),d(n,r,t.length),h(t,r,n,o)},t.randomFillSync=function(t,r,n){void 0===r&&(r=0);if(!(a.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');f(r,t.length),void 0===n&&(n=t.length-r);return d(n,r,t.length),h(t,r,n)}):(t.randomFill=o,t.randomFillSync=o)}).call(this,r(12),r(13))},function(e,t){const r="Impossible case. Please create issue.",n="The tweak was out of range or the resulted private key is invalid",o="The tweak was out of range or equal to zero",i="Unknow error on context randomization",s="Private Key is invalid",a="Public Key could not be parsed",c="Public Key serialization error",u="The sum of the public keys is not valid",l="Signature could not be parsed",f="The nonce generation function failed, or the private key was invalid",d="Public key could not be recover",h="Scalar was invalid (zero or overflow)";function p(e,t){if(!e)throw new Error(t)}function g(e,t,r){if(p(t instanceof Uint8Array,`Expected ${e} to be an Uint8Array`),void 0!==r)if(Array.isArray(r)){const n=`Expected ${e} to be an Uint8Array with length [${r.join(", ")}]`;p(r.includes(t.length),n)}else{const n=`Expected ${e} to be an Uint8Array with length ${r}`;p(t.length===r,n)}}function m(e){p("Boolean"===b(e),"Expected compressed to be a Boolean")}function y(e=(e=>new Uint8Array(e)),t){return"function"==typeof e&&(e=e(t)),g("output",e,t),e}function b(e){return Object.prototype.toString.call(e).slice(8,-1)}e.exports=e=>({contextRandomize(t){switch(p(null===t||t instanceof Uint8Array,"Expected seed to be an Uint8Array or null"),null!==t&&g("seed",t,32),e.contextRandomize(t)){case 1:throw new Error(i)}},privateKeyVerify:t=>(g("private key",t,32),0===e.privateKeyVerify(t)),privateKeyNegate(t){switch(g("private key",t,32),e.privateKeyNegate(t)){case 0:return t;case 1:throw new Error(r)}},privateKeyTweakAdd(t,r){switch(g("private key",t,32),g("tweak",r,32),e.privateKeyTweakAdd(t,r)){case 0:return t;case 1:throw new Error(n)}},privateKeyTweakMul(t,r){switch(g("private key",t,32),g("tweak",r,32),e.privateKeyTweakMul(t,r)){case 0:return t;case 1:throw new Error(o)}},publicKeyVerify:t=>(g("public key",t,[33,65]),0===e.publicKeyVerify(t)),publicKeyCreate(t,r=!0,n){switch(g("private key",t,32),m(r),n=y(n,r?33:65),e.publicKeyCreate(n,t)){case 0:return n;case 1:throw new Error(s);case 2:throw new Error(c)}},publicKeyConvert(t,r=!0,n){switch(g("public key",t,[33,65]),m(r),n=y(n,r?33:65),e.publicKeyConvert(n,t)){case 0:return n;case 1:throw new Error(a);case 2:throw new Error(c)}},publicKeyNegate(t,n=!0,o){switch(g("public key",t,[33,65]),m(n),o=y(o,n?33:65),e.publicKeyNegate(o,t)){case 0:return o;case 1:throw new Error(a);case 2:throw new Error(r);case 3:throw new Error(c)}},publicKeyCombine(t,r=!0,n){p(Array.isArray(t),"Expected public keys to be an Array"),p(t.length>0,"Expected public keys array will have more than zero items");for(const e of t)g("public key",e,[33,65]);switch(m(r),n=y(n,r?33:65),e.publicKeyCombine(n,t)){case 0:return n;case 1:throw new Error(a);case 2:throw new Error(u);case 3:throw new Error(c)}},publicKeyTweakAdd(t,r,o=!0,i){switch(g("public key",t,[33,65]),g("tweak",r,32),m(o),i=y(i,o?33:65),e.publicKeyTweakAdd(i,t,r)){case 0:return i;case 1:throw new Error(a);case 2:throw new Error(n)}},publicKeyTweakMul(t,r,n=!0,i){switch(g("public key",t,[33,65]),g("tweak",r,32),m(n),i=y(i,n?33:65),e.publicKeyTweakMul(i,t,r)){case 0:return i;case 1:throw new Error(a);case 2:throw new Error(o)}},signatureNormalize(t){switch(g("signature",t,64),e.signatureNormalize(t)){case 0:return t;case 1:throw new Error(l)}},signatureExport(t,n){g("signature",t,64);const o={output:n=y(n,72),outputlen:72};switch(e.signatureExport(o,t)){case 0:return n.slice(0,o.outputlen);case 1:throw new Error(l);case 2:throw new Error(r)}},signatureImport(t,n){switch(g("signature",t),n=y(n,64),e.signatureImport(n,t)){case 0:return n;case 1:throw new Error(l);case 2:throw new Error(r)}},ecdsaSign(t,n,o={},i){g("message",t,32),g("private key",n,32),p("Object"===b(o),"Expected options to be an Object"),void 0!==o.data&&g("options.data",o.data),void 0!==o.noncefn&&p("Function"===b(o.noncefn),"Expected options.noncefn to be a Function");const s={signature:i=y(i,64),recid:null};switch(e.ecdsaSign(s,t,n,o.data,o.noncefn)){case 0:return s;case 1:throw new Error(f);case 2:throw new Error(r)}},ecdsaVerify(t,r,n){switch(g("signature",t,64),g("message",r,32),g("public key",n,[33,65]),e.ecdsaVerify(t,r,n)){case 0:return!0;case 3:return!1;case 1:throw new Error(l);case 2:throw new Error(a)}},ecdsaRecover(t,n,o,i=!0,s){switch(g("signature",t,64),p("Number"===b(n)&&n>=0&&n<=3,"Expected recovery id to be a Number within interval [0, 3]"),g("message",o,32),m(i),s=y(s,i?33:65),e.ecdsaRecover(s,t,n,o)){case 0:return s;case 1:throw new Error(l);case 2:throw new Error(d);case 3:throw new Error(r)}},ecdh(t,r,n={},o){switch(g("public key",t,[33,65]),g("private key",r,32),p("Object"===b(n),"Expected options to be an Object"),void 0!==n.data&&g("options.data",n.data),void 0!==n.hashfn?(p("Function"===b(n.hashfn),"Expected options.hashfn to be a Function"),void 0!==n.xbuf&&g("options.xbuf",n.xbuf,32),void 0!==n.ybuf&&g("options.ybuf",n.ybuf,32),g("output",o)):o=y(o,32),e.ecdh(o,t,r,n.data,n.hashfn,n.xbuf,n.ybuf)){case 0:return o;case 1:throw new Error(a);case 2:throw new Error(h)}}})},function(e,t,r){const n=new(0,r(45).ec)("secp256k1"),o=n.curve,i=o.n.constructor;function s(e){const t=e[0];switch(t){case 2:case 3:return 33!==e.length?null:function(e,t){let r=new i(t);if(r.cmp(o.p)>=0)return null;r=r.toRed(o.red);let s=r.redSqr().redIMul(r).redIAdd(o.b).redSqrt();return 3===e!==s.isOdd()&&(s=s.redNeg()),n.keyPair({pub:{x:r,y:s}})}(t,e.subarray(1,33));case 4:case 6:case 7:return 65!==e.length?null:function(e,t,r){let s=new i(t),a=new i(r);if(s.cmp(o.p)>=0||a.cmp(o.p)>=0)return null;if(s=s.toRed(o.red),a=a.toRed(o.red),(6===e||7===e)&&a.isOdd()!==(7===e))return null;const c=s.redSqr().redIMul(s);return a.redSqr().redISub(c.redIAdd(o.b)).isZero()?n.keyPair({pub:{x:s,y:a}}):null}(t,e.subarray(1,33),e.subarray(33,65));default:return null}}function a(e,t){const r=t.encode(null,33===e.length);for(let t=0;t0,privateKeyVerify(e){const t=new i(e);return t.cmp(o.n)<0&&!t.isZero()?0:1},privateKeyNegate(e){const t=new i(e),r=o.n.sub(t).umod(o.n).toArrayLike(Uint8Array,"be",32);return e.set(r),0},privateKeyTweakAdd(e,t){const r=new i(t);if(r.cmp(o.n)>=0)return 1;if(r.iadd(new i(e)),r.cmp(o.n)>=0&&r.isub(o.n),r.isZero())return 1;const n=r.toArrayLike(Uint8Array,"be",32);return e.set(n),0},privateKeyTweakMul(e,t){let r=new i(t);if(r.cmp(o.n)>=0||r.isZero())return 1;r.imul(new i(e)),r.cmp(o.n)>=0&&(r=r.umod(o.n));const n=r.toArrayLike(Uint8Array,"be",32);return e.set(n),0},publicKeyVerify:e=>null===s(e)?1:0,publicKeyCreate(e,t){const r=new i(t);if(r.cmp(o.n)>=0||r.isZero())return 1;return a(e,n.keyFromPrivate(t).getPublic()),0},publicKeyConvert(e,t){const r=s(t);if(null===r)return 1;return a(e,r.getPublic()),0},publicKeyNegate(e,t){const r=s(t);if(null===r)return 1;const n=r.getPublic();return n.y=n.y.redNeg(),a(e,n),0},publicKeyCombine(e,t){const r=new Array(t.length);for(let e=0;e=0)return 2;const c=n.getPublic().add(o.g.mul(r));return c.isInfinity()?2:(a(e,c),0)},publicKeyTweakMul(e,t,r){const n=s(t);if(null===n)return 1;if((r=new i(r)).cmp(o.n)>=0||r.isZero())return 2;return a(e,n.getPublic().mul(r)),0},signatureNormalize(e){const t=new i(e.subarray(0,32)),r=new i(e.subarray(32,64));return t.cmp(o.n)>=0||r.cmp(o.n)>=0?1:(1===r.cmp(n.nh)&&e.set(o.n.sub(r).toArrayLike(Uint8Array,"be",32),32),0)},signatureExport(e,t){const r=t.subarray(0,32),n=t.subarray(32,64);if(new i(r).cmp(o.n)>=0)return 1;if(new i(n).cmp(o.n)>=0)return 1;const{output:s}=e;let a=s.subarray(4,37);a[0]=0,a.set(r,1);let c=33,u=0;for(;c>1&&0===a[u]&&!(128&a[u+1]);--c,++u);if(a=a.subarray(u),128&a[0])return 1;if(c>1&&0===a[0]&&!(128&a[1]))return 1;let l=s.subarray(39,72);l[0]=0,l.set(n,1);let f=33,d=0;for(;f>1&&0===l[d]&&!(128&l[d+1]);--f,++d);return l=l.subarray(d),128&l[0]||f>1&&0===l[0]&&!(128&l[1])?1:(e.outputlen=6+c+f,s[0]=48,s[1]=e.outputlen-2,s[2]=2,s[3]=a.length,s.set(a,4),s[4+c]=2,s[5+c]=l.length,s.set(l,6+c),0)},signatureImport(e,t){if(t.length<8)return 1;if(t.length>72)return 1;if(48!==t[0])return 1;if(t[1]!==t.length-2)return 1;if(2!==t[2])return 1;const r=t[3];if(0===r)return 1;if(5+r>=t.length)return 1;if(2!==t[4+r])return 1;const n=t[5+r];if(0===n)return 1;if(6+r+n!==t.length)return 1;if(128&t[4])return 1;if(r>1&&0===t[4]&&!(128&t[5]))return 1;if(128&t[r+6])return 1;if(n>1&&0===t[r+6]&&!(128&t[r+7]))return 1;let s=t.subarray(4,4+r);if(33===s.length&&0===s[0]&&(s=s.subarray(1)),s.length>32)return 1;let a=t.subarray(6+r);if(33===a.length&&0===a[0]&&(a=a.slice(1)),a.length>32)throw new Error("S length is too long");let c=new i(s);c.cmp(o.n)>=0&&(c=new i(0));let u=new i(t.subarray(6+r));return u.cmp(o.n)>=0&&(u=new i(0)),e.set(c.toArrayLike(Uint8Array,"be",32),0),e.set(u.toArrayLike(Uint8Array,"be",32),32),0},ecdsaSign(e,t,r,s,a){if(a){const e=a;a=n=>{const o=e(t,r,null,s,n);if(!(o instanceof Uint8Array&&32===o.length))throw new Error("This is the way");return new i(o)}}const c=new i(r);if(c.cmp(o.n)>=0||c.isZero())return 1;let u;try{u=n.sign(t,r,{canonical:!0,k:a,pers:s})}catch(e){return 1}return e.signature.set(u.r.toArrayLike(Uint8Array,"be",32),0),e.signature.set(u.s.toArrayLike(Uint8Array,"be",32),32),e.recid=u.recoveryParam,0},ecdsaVerify(e,t,r){const a={r:e.subarray(0,32),s:e.subarray(32,64)},c=new i(a.r),u=new i(a.s);if(c.cmp(o.n)>=0||u.cmp(o.n)>=0)return 1;if(1===u.cmp(n.nh)||c.isZero()||u.isZero())return 3;const l=s(r);if(null===l)return 2;const f=l.getPublic();return n.verify(t,a,f)?0:3},ecdsaRecover(e,t,r,s){const c={r:t.slice(0,32),s:t.slice(32,64)},u=new i(c.r),l=new i(c.s);if(u.cmp(o.n)>=0||l.cmp(o.n)>=0)return 1;if(u.isZero()||l.isZero())return 2;let f;try{f=n.recoverPubKey(s,c,r)}catch(e){return 2}return a(e,f),0},ecdh(e,t,r,a,c,u,l){const f=s(t);if(null===f)return 1;const d=new i(r);if(d.cmp(o.n)>=0||d.isZero())return 2;const h=f.getPublic().mul(d);if(void 0===c){const t=h.encode(null,!0),r=n.hash().update(t).digest();for(let t=0;t<32;++t)e[t]=r[t]}else{u||(u=new Uint8Array(32));const t=h.getX().toArray("be",32);for(let e=0;e<32;++e)u[e]=t[e];l||(l=new Uint8Array(32));const r=h.getY().toArray("be",32);for(let e=0;e<32;++e)l[e]=r[e];const n=c(u,l,a);if(!(n instanceof Uint8Array&&n.length===e.length))return 2;e.set(n)}return 0}}},function(e,t,r){"use strict";var n=r(539),o=r(57),i=r(294),s=r(169),a=r(295),c=Object.prototype.toString;function u(e){if(!(this instanceof u))return new u(e);this.options=o.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==r)throw new Error(s[r]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var l;if(l="string"==typeof t.dictionary?i.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(r=n.deflateSetDictionary(this.strm,l)))throw new Error(s[r]);this._dict_set=!0}}function l(e,t){var r=new u(t);if(r.push(e,!0),r.err)throw r.msg||s[r.err];return r.result}u.prototype.push=function(e,t){var r,s,a=this.strm,u=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:!0===t?4:0,"string"==typeof e?a.input=i.string2buf(e):"[object ArrayBuffer]"===c.call(e)?a.input=new Uint8Array(e):a.input=e,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new o.Buf8(u),a.next_out=0,a.avail_out=u),1!==(r=n.deflate(a,s))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==a.avail_out&&(0!==a.avail_in||4!==s&&2!==s)||("string"===this.options.to?this.onData(i.buf2binstring(o.shrinkBuf(a.output,a.next_out))):this.onData(o.shrinkBuf(a.output,a.next_out)))}while((a.avail_in>0||0===a.avail_out)&&1!==r);return 4===s?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==s||(this.onEnd(0),a.avail_out=0,!0)},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Deflate=u,t.deflate=l,t.deflateRaw=function(e,t){return(t=t||{}).raw=!0,l(e,t)},t.gzip=function(e,t){return(t=t||{}).gzip=!0,l(e,t)}},function(e,t,r){"use strict";var n,o=r(57),i=r(540),s=r(292),a=r(293),c=r(169);function u(e,t){return e.msg=c[t],t}function l(e){return(e<<1)-(e>4?9:0)}function f(e){for(var t=e.length;--t>=0;)e[t]=0}function d(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(o.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function h(e,t){i._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,d(e.strm)}function p(e,t){e.pending_buf[e.pending++]=t}function g(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function m(e,t){var r,n,o=e.max_chain_length,i=e.strstart,s=e.prev_length,a=e.nice_match,c=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,u=e.window,l=e.w_mask,f=e.prev,d=e.strstart+258,h=u[i+s-1],p=u[i+s];e.prev_length>=e.good_match&&(o>>=2),a>e.lookahead&&(a=e.lookahead);do{if(u[(r=t)+s]===p&&u[r+s-1]===h&&u[r]===u[i]&&u[++r]===u[i+1]){i+=2,r++;do{}while(u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&is){if(e.match_start=t,s=n,n>=a)break;h=u[i+s-1],p=u[i+s]}}}while((t=f[t&l])>c&&0!=--o);return s<=e.lookahead?s:e.lookahead}function y(e){var t,r,n,i,c,u,l,f,d,h,p=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-262)){o.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=p?n-p:0}while(--r);t=r=p;do{n=e.prev[--t],e.prev[t]=n>=p?n-p:0}while(--r);i+=p}if(0===e.strm.avail_in)break;if(u=e.strm,l=e.window,f=e.strstart+e.lookahead,d=i,h=void 0,(h=u.avail_in)>d&&(h=d),r=0===h?0:(u.avail_in-=h,o.arraySet(l,u.input,u.next_in,h,f),1===u.state.wrap?u.adler=s(u.adler,l,h,f):2===u.state.wrap&&(u.adler=a(u.adler,l,h,f)),u.next_in+=h,u.total_in+=h,h),e.lookahead+=r,e.lookahead+e.insert>=3)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3)if(n=i._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){o=e.strstart+e.lookahead-3,n=i._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=o&&(e.ins_h=(e.ins_h<15&&(a=2,n-=16),i<1||i>9||8!==r||n<8||n>15||t<0||t>9||s<0||s>4)return u(e,-2);8===n&&(n=9);var c=new _;return e.state=c,c.strm=e,c.wrap=a,c.gzhead=null,c.w_bits=n,c.w_size=1<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(y(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,h(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-262&&(h(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(h(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(h(e,!1),e.strm.avail_out),1)})),new w(4,4,8,4,b),new w(4,5,16,8,b),new w(4,6,32,32,b),new w(4,4,16,16,v),new w(8,16,32,32,v),new w(8,16,128,128,v),new w(8,32,128,256,v),new w(32,128,258,1024,v),new w(32,258,258,4096,v)],t.deflateInit=function(e,t){return S(e,t,8,15,8,0)},t.deflateInit2=S,t.deflateReset=O,t.deflateResetKeep=k,t.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?-2:(e.state.gzhead=t,0):-2},t.deflate=function(e,t){var r,o,s,c;if(!e||!e.state||t>5||t<0)return e?u(e,-2):-2;if(o=e.state,!e.output||!e.input&&0!==e.avail_in||666===o.status&&4!==t)return u(e,0===e.avail_out?-5:-2);if(o.strm=e,r=o.last_flush,o.last_flush=t,42===o.status)if(2===o.wrap)e.adler=0,p(o,31),p(o,139),p(o,8),o.gzhead?(p(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),p(o,255&o.gzhead.time),p(o,o.gzhead.time>>8&255),p(o,o.gzhead.time>>16&255),p(o,o.gzhead.time>>24&255),p(o,9===o.level?2:o.strategy>=2||o.level<2?4:0),p(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(p(o,255&o.gzhead.extra.length),p(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(e.adler=a(e.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=69):(p(o,0),p(o,0),p(o,0),p(o,0),p(o,0),p(o,9===o.level?2:o.strategy>=2||o.level<2?4:0),p(o,3),o.status=113);else{var m=8+(o.w_bits-8<<4)<<8;m|=(o.strategy>=2||o.level<2?0:o.level<6?1:6===o.level?2:3)<<6,0!==o.strstart&&(m|=32),m+=31-m%31,o.status=113,g(o,m),0!==o.strstart&&(g(o,e.adler>>>16),g(o,65535&e.adler)),e.adler=1}if(69===o.status)if(o.gzhead.extra){for(s=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>s&&(e.adler=a(e.adler,o.pending_buf,o.pending-s,s)),d(e),s=o.pending,o.pending!==o.pending_buf_size));)p(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>s&&(e.adler=a(e.adler,o.pending_buf,o.pending-s,s)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=73)}else o.status=73;if(73===o.status)if(o.gzhead.name){s=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>s&&(e.adler=a(e.adler,o.pending_buf,o.pending-s,s)),d(e),s=o.pending,o.pending===o.pending_buf_size)){c=1;break}c=o.gzindexs&&(e.adler=a(e.adler,o.pending_buf,o.pending-s,s)),0===c&&(o.gzindex=0,o.status=91)}else o.status=91;if(91===o.status)if(o.gzhead.comment){s=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>s&&(e.adler=a(e.adler,o.pending_buf,o.pending-s,s)),d(e),s=o.pending,o.pending===o.pending_buf_size)){c=1;break}c=o.gzindexs&&(e.adler=a(e.adler,o.pending_buf,o.pending-s,s)),0===c&&(o.status=103)}else o.status=103;if(103===o.status&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&d(e),o.pending+2<=o.pending_buf_size&&(p(o,255&e.adler),p(o,e.adler>>8&255),e.adler=0,o.status=113)):o.status=113),0!==o.pending){if(d(e),0===e.avail_out)return o.last_flush=-1,0}else if(0===e.avail_in&&l(t)<=l(r)&&4!==t)return u(e,-5);if(666===o.status&&0!==e.avail_in)return u(e,-5);if(0!==e.avail_in||0!==o.lookahead||0!==t&&666!==o.status){var b=2===o.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(y(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(h(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(h(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(h(e,!1),0===e.strm.avail_out)?1:2}(o,t):3===o.strategy?function(e,t){for(var r,n,o,s,a=e.window;;){if(e.lookahead<=258){if(y(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(n=a[o=e.strstart-1])===a[++o]&&n===a[++o]&&n===a[++o]){s=e.strstart+258;do{}while(n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&oe.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=i._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(h(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(h(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(h(e,!1),0===e.strm.avail_out)?1:2}(o,t):n[o.level].func(o,t);if(3!==b&&4!==b||(o.status=666),1===b||3===b)return 0===e.avail_out&&(o.last_flush=-1),0;if(2===b&&(1===t?i._tr_align(o):5!==t&&(i._tr_stored_block(o,0,0,!1),3===t&&(f(o.head),0===o.lookahead&&(o.strstart=0,o.block_start=0,o.insert=0))),d(e),0===e.avail_out))return o.last_flush=-1,0}return 4!==t?0:o.wrap<=0?1:(2===o.wrap?(p(o,255&e.adler),p(o,e.adler>>8&255),p(o,e.adler>>16&255),p(o,e.adler>>24&255),p(o,255&e.total_in),p(o,e.total_in>>8&255),p(o,e.total_in>>16&255),p(o,e.total_in>>24&255)):(g(o,e.adler>>>16),g(o,65535&e.adler)),d(e),o.wrap>0&&(o.wrap=-o.wrap),0!==o.pending?0:1)},t.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?u(e,-2):(e.state=null,113===t?u(e,-3):0):-2},t.deflateSetDictionary=function(e,t){var r,n,i,a,c,u,l,d,h=t.length;if(!e||!e.state)return-2;if(2===(a=(r=e.state).wrap)||1===a&&42!==r.status||r.lookahead)return-2;for(1===a&&(e.adler=s(e.adler,t,h,0)),r.wrap=0,h>=r.w_size&&(0===a&&(f(r.head),r.strstart=0,r.block_start=0,r.insert=0),d=new o.Buf8(r.w_size),o.arraySet(d,t,h-r.w_size,r.w_size,0),t=d,h=r.w_size),c=e.avail_in,u=e.next_in,l=e.input,e.avail_in=h,e.next_in=0,e.input=t,y(r);r.lookahead>=3;){n=r.strstart,i=r.lookahead-2;do{r.ins_h=(r.ins_h<=0;)e[t]=0}var i=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],s=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],c=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],u=new Array(576);o(u);var l=new Array(60);o(l);var f=new Array(512);o(f);var d=new Array(256);o(d);var h=new Array(29);o(h);var p,g,m,y=new Array(30);function b(e,t,r,n,o){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=o,this.has_stree=e&&e.length}function v(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function w(e){return e<256?f[e]:f[256+(e>>>7)]}function _(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function k(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<>>=1,r<<=1}while(--t>0);return r>>>1}function E(e,t,r){var n,o,i=new Array(16),s=0;for(n=1;n<=15;n++)i[n]=s=s+r[n-1]<<1;for(o=0;o<=t;o++){var a=e[2*o+1];0!==a&&(e[2*o]=S(i[a]++,a))}}function j(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function P(e){e.bi_valid>8?_(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function A(e,t,r,n){var o=2*t,i=2*r;return e[o]>1;r>=1;r--)x(e,i,r);o=c;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],x(e,i,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,i[2*o]=i[2*r]+i[2*n],e.depth[o]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,i[2*r+1]=i[2*n+1]=o,e.heap[1]=o++,x(e,i,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,o,i,s,a,c=t.dyn_tree,u=t.max_code,l=t.stat_desc.static_tree,f=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,p=t.stat_desc.max_length,g=0;for(i=0;i<=15;i++)e.bl_count[i]=0;for(c[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)(i=c[2*c[2*(n=e.heap[r])+1]+1]+1)>p&&(i=p,g++),c[2*n+1]=i,n>u||(e.bl_count[i]++,s=0,n>=h&&(s=d[n-h]),a=c[2*n],e.opt_len+=a*(i+s),f&&(e.static_len+=a*(l[2*n+1]+s)));if(0!==g){do{for(i=p-1;0===e.bl_count[i];)i--;e.bl_count[i]--,e.bl_count[i+1]+=2,e.bl_count[p]--,g-=2}while(g>0);for(i=p;0!==i;i--)for(n=e.bl_count[i];0!==n;)(o=e.heap[--r])>u||(c[2*o+1]!==i&&(e.opt_len+=(i-c[2*o+1])*c[2*o],c[2*o+1]=i),n--)}}(e,t),E(i,u,e.bl_count)}function C(e,t,r){var n,o,i=-1,s=t[1],a=0,c=7,u=4;for(0===s&&(c=138,u=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)o=s,s=t[2*(n+1)+1],++a>=7;n<30;n++)for(y[n]=o<<7,e=0;e<1<0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),I(e,e.l_desc),I(e,e.d_desc),s=function(e){var t;for(C(e,e.dyn_ltree,e.l_desc.max_code),C(e,e.dyn_dtree,e.d_desc.max_code),I(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*c[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),o=e.opt_len+3+7>>>3,(i=e.static_len+3+7>>>3)<=o&&(o=i)):o=i=r+5,r+4<=o&&-1!==t?N(e,t,r,n):4===e.strategy||i===o?(k(e,2+(n?1:0),3),M(e,u,l)):(k(e,4+(n?1:0),3),function(e,t,r,n){var o;for(k(e,t-257,5),k(e,r-1,5),k(e,n-4,4),o=0;o>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(d[r]+256+1)]++,e.dyn_dtree[2*w(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){k(e,2,3),O(e,256,u),function(e){16===e.bi_valid?(_(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},function(e,t,r){"use strict";var n=r(542),o=r(57),i=r(294),s=r(296),a=r(169),c=r(295),u=r(545),l=Object.prototype.toString;function f(e){if(!(this instanceof f))return new f(e);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==s.Z_OK)throw new Error(a[r]);if(this.header=new u,n.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=i.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=n.inflateSetDictionary(this.strm,t.dictionary))!==s.Z_OK))throw new Error(a[r])}function d(e,t){var r=new f(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}f.prototype.push=function(e,t){var r,a,c,u,f,d=this.strm,h=this.options.chunkSize,p=this.options.dictionary,g=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof e?d.input=i.binstring2buf(e):"[object ArrayBuffer]"===l.call(e)?d.input=new Uint8Array(e):d.input=e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new o.Buf8(h),d.next_out=0,d.avail_out=h),(r=n.inflate(d,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===s.Z_BUF_ERROR&&!0===g&&(r=s.Z_OK,g=!1),r!==s.Z_STREAM_END&&r!==s.Z_OK)return this.onEnd(r),this.ended=!0,!1;d.next_out&&(0!==d.avail_out&&r!==s.Z_STREAM_END&&(0!==d.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(c=i.utf8border(d.output,d.next_out),u=d.next_out-c,f=i.buf2string(d.output,c),d.next_out=u,d.avail_out=h-u,u&&o.arraySet(d.output,d.output,c,u,0),this.onData(f)):this.onData(o.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(g=!0)}while((d.avail_in>0||0===d.avail_out)&&r!==s.Z_STREAM_END);return r===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),d.avail_out=0,!0)},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=f,t.inflate=d,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,d(e,t)},t.ungzip=d},function(e,t,r){"use strict";var n=r(57),o=r(292),i=r(293),s=r(543),a=r(544);function c(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function u(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function l(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(852),t.distcode=t.distdyn=new n.Buf32(592),t.sane=1,t.back=-1,0):-2}function f(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,l(e)):-2}function d(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,f(e))):-2}function h(e,t){var r,n;return e?(n=new u,e.state=n,n.window=null,0!==(r=d(e,t))&&(e.state=null),r):-2}var p,g,m=!0;function y(e){if(m){var t;for(p=new n.Buf32(512),g=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(1,e.lens,0,288,p,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(2,e.lens,0,32,g,0,e.work,{bits:5}),m=!1}e.lencode=p,e.lenbits=9,e.distcode=g,e.distbits=5}function b(e,t,r,o){var i,s=e.state;return null===s.window&&(s.wsize=1<=s.wsize?(n.arraySet(s.window,t,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((i=s.wsize-s.wnext)>o&&(i=o),n.arraySet(s.window,t,r-o,i,s.wnext),(o-=i)?(n.arraySet(s.window,t,r-o,o,0),s.wnext=o,s.whave=s.wsize):(s.wnext+=i,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=i(r.check,N,2,0),g=0,m=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&g)<<8)+(g>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&g)){e.msg="unknown compression method",r.mode=30;break}if(m-=4,M=8+(15&(g>>>=4)),0===r.wbits)r.wbits=M;else if(M>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(N[0]=255&g,N[1]=g>>>8&255,r.check=i(r.check,N,2,0)),g=0,m=0,r.mode=3;case 3:for(;m<32;){if(0===h)break e;h--,g+=u[f++]<>>8&255,N[2]=g>>>16&255,N[3]=g>>>24&255,r.check=i(r.check,N,4,0)),g=0,m=0,r.mode=4;case 4:for(;m<16;){if(0===h)break e;h--,g+=u[f++]<>8),512&r.flags&&(N[0]=255&g,N[1]=g>>>8&255,r.check=i(r.check,N,2,0)),g=0,m=0,r.mode=5;case 5:if(1024&r.flags){for(;m<16;){if(0===h)break e;h--,g+=u[f++]<>>8&255,r.check=i(r.check,N,2,0)),g=0,m=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((_=r.length)>h&&(_=h),_&&(r.head&&(M=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,u,f,_,M)),512&r.flags&&(r.check=i(r.check,u,_,f)),h-=_,f+=_,r.length-=_),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===h)break e;_=0;do{M=u[f+_++],r.head&&M&&r.length<65536&&(r.head.name+=String.fromCharCode(M))}while(M&&_>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;m<32;){if(0===h)break e;h--,g+=u[f++]<>>=7&m,m-=7&m,r.mode=27;break}for(;m<3;){if(0===h)break e;h--,g+=u[f++]<>>=1)){case 0:r.mode=14;break;case 1:if(y(r),r.mode=20,6===t){g>>>=2,m-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}g>>>=2,m-=2;break;case 14:for(g>>>=7&m,m-=7&m;m<32;){if(0===h)break e;h--,g+=u[f++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&g,g=0,m=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(_=r.length){if(_>h&&(_=h),_>p&&(_=p),0===_)break e;n.arraySet(l,u,f,_,d),h-=_,f+=_,p-=_,d+=_,r.length-=_;break}r.mode=12;break;case 17:for(;m<14;){if(0===h)break e;h--,g+=u[f++]<>>=5,m-=5,r.ndist=1+(31&g),g>>>=5,m-=5,r.ncode=4+(15&g),g>>>=4,m-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have>>=3,m-=3}for(;r.have<19;)r.lens[B[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},I=a(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,I){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,j=65535&T,!((S=T>>>24)<=m);){if(0===h)break e;h--,g+=u[f++]<>>=S,m-=S,r.lens[r.have++]=j;else{if(16===j){for(R=S+2;m>>=S,m-=S,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}M=r.lens[r.have-1],_=3+(3&g),g>>>=2,m-=2}else if(17===j){for(R=S+3;m>>=S)),g>>>=3,m-=3}else{for(R=S+7;m>>=S)),g>>>=7,m-=7}if(r.have+_>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;_--;)r.lens[r.have++]=M}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,C={bits:r.lenbits},I=a(1,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,I){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},I=a(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,I){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(h>=6&&p>=258){e.next_out=d,e.avail_out=p,e.next_in=f,e.avail_in=h,r.hold=g,r.bits=m,s(e,w),d=e.next_out,l=e.output,p=e.avail_out,f=e.next_in,u=e.input,h=e.avail_in,g=r.hold,m=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;E=(T=r.lencode[g&(1<>>16&255,j=65535&T,!((S=T>>>24)<=m);){if(0===h)break e;h--,g+=u[f++]<>P)])>>>16&255,j=65535&T,!(P+(S=T>>>24)<=m);){if(0===h)break e;h--,g+=u[f++]<>>=P,m-=P,r.back+=P}if(g>>>=S,m-=S,r.back+=S,r.length=j,0===E){r.mode=26;break}if(32&E){r.back=-1,r.mode=12;break}if(64&E){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&E,r.mode=22;case 22:if(r.extra){for(R=r.extra;m>>=r.extra,m-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;E=(T=r.distcode[g&(1<>>16&255,j=65535&T,!((S=T>>>24)<=m);){if(0===h)break e;h--,g+=u[f++]<>P)])>>>16&255,j=65535&T,!(P+(S=T>>>24)<=m);){if(0===h)break e;h--,g+=u[f++]<>>=P,m-=P,r.back+=P}if(g>>>=S,m-=S,r.back+=S,64&E){e.msg="invalid distance code",r.mode=30;break}r.offset=j,r.extra=15&E,r.mode=24;case 24:if(r.extra){for(R=r.extra;m>>=r.extra,m-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===p)break e;if(_=w-p,r.offset>_){if((_=r.offset-_)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}_>r.wnext?(_-=r.wnext,k=r.wsize-_):k=r.wnext-_,_>r.length&&(_=r.length),O=r.window}else O=l,k=d-r.offset,_=r.length;_>p&&(_=p),p-=_,r.length-=_;do{l[d++]=O[k++]}while(--_);0===r.length&&(r.mode=21);break;case 26:if(0===p)break e;l[d++]=r.length,p--,r.mode=21;break;case 27:if(r.wrap){for(;m<32;){if(0===h)break e;h--,g|=u[f++]<>>=w=v>>>24,p-=w,0===(w=v>>>16&255))j[i++]=65535&v;else{if(!(16&w)){if(0==(64&w)){v=g[(65535&v)+(h&(1<>>=w,p-=w),p<15&&(h+=E[n++]<>>=w=v>>>24,p-=w,!(16&(w=v>>>16&255))){if(0==(64&w)){v=m[(65535&v)+(h&(1<c){e.msg="invalid distance too far back",r.mode=30;break e}if(h>>>=w,p-=w,k>(w=i-s)){if((w=k-w)>l&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(O=0,S=d,0===f){if(O+=u-w,w<_){_-=w;do{j[i++]=d[O++]}while(--w);O=i-k,S=j}}else if(f2;)j[i++]=S[O++],j[i++]=S[O++],j[i++]=S[O++],_-=3;_&&(j[i++]=S[O++],_>1&&(j[i++]=S[O++]))}else{O=i-k;do{j[i++]=j[O++],j[i++]=j[O++],j[i++]=j[O++],_-=3}while(_>2);_&&(j[i++]=j[O++],_>1&&(j[i++]=j[O++]))}break}}break}}while(n>3,h&=(1<<(p-=_<<3))-1,e.next_in=n,e.next_out=i,e.avail_in=n=1&&0===N[j];j--);if(P>j&&(P=j),0===j)return u[l++]=20971520,u[l++]=20971520,d.bits=1,0;for(E=1;E0&&(0===e||1!==j))return-1;for(B[1]=0,O=1;O<15;O++)B[O+1]=B[O]+N[O];for(S=0;S852||2===e&&I>592)return 1;for(;;){v=O-x,f[S]b?(w=D[L+f[S]],_=R[T+f[S]]):(w=96,_=0),h=1<>x)+(p-=h)]=v<<24|w<<16|_|0}while(0!==p);for(h=1<>=1;if(0!==h?(C&=h-1,C+=h):C=0,S++,0==--N[O]){if(O===j)break;O=t[r+f[S]]}if(O>P&&(C&m)!==g){for(0===x&&(x=P),y+=E,M=1<<(A=O-x);A+x852||2===e&&I>592)return 1;u[g=C&m]=P<<24|A<<16|y-l|0}}return 0!==C&&(u[y+C]=O-x<<24|64<<16|0),d.bits=P,0}},function(e,t,r){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},,function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.Mnemonic=void 0;const o=r(69),i=r(557),s=r(2);class a{static generateWallet(e,t="m/44'/118'/0'/0/0",r="",o=256){return n(this,void 0,void 0,(function*(){const n=yield a.generateSeed(e,o);return{privKey:a.generateWalletFromMnemonic(n,t,r),mnemonic:n}}))}static validateMnemonic(e){o.validateMnemonic(e)}static generateSeed(e,t=128){return n(this,void 0,void 0,(function*(){if(t%32!=0)throw new TypeError("invalid entropy");let r=new Uint8Array(t/8);return r=yield e(r),o.entropyToMnemonic(s.Buffer.from(r).toString("hex"))}))}static generateWalletFromMnemonic(e,t="m/44'/118'/0'/0/0",r=""){const n=o.mnemonicToSeedSync(e,r),s=i.fromSeed(n).derivePath(t).privateKey;if(!s)throw new Error("null hd key");return s}}t.Mnemonic=a},function(e){e.exports=JSON.parse('["abdikace","abeceda","adresa","agrese","akce","aktovka","alej","alkohol","amputace","ananas","andulka","anekdota","anketa","antika","anulovat","archa","arogance","asfalt","asistent","aspirace","astma","astronom","atlas","atletika","atol","autobus","azyl","babka","bachor","bacil","baculka","badatel","bageta","bagr","bahno","bakterie","balada","baletka","balkon","balonek","balvan","balza","bambus","bankomat","barbar","baret","barman","baroko","barva","baterka","batoh","bavlna","bazalka","bazilika","bazuka","bedna","beran","beseda","bestie","beton","bezinka","bezmoc","beztak","bicykl","bidlo","biftek","bikiny","bilance","biograf","biolog","bitva","bizon","blahobyt","blatouch","blecha","bledule","blesk","blikat","blizna","blokovat","bloudit","blud","bobek","bobr","bodlina","bodnout","bohatost","bojkot","bojovat","bokorys","bolest","borec","borovice","bota","boubel","bouchat","bouda","boule","bourat","boxer","bradavka","brambora","branka","bratr","brepta","briketa","brko","brloh","bronz","broskev","brunetka","brusinka","brzda","brzy","bublina","bubnovat","buchta","buditel","budka","budova","bufet","bujarost","bukvice","buldok","bulva","bunda","bunkr","burza","butik","buvol","buzola","bydlet","bylina","bytovka","bzukot","capart","carevna","cedr","cedule","cejch","cejn","cela","celer","celkem","celnice","cenina","cennost","cenovka","centrum","cenzor","cestopis","cetka","chalupa","chapadlo","charita","chata","chechtat","chemie","chichot","chirurg","chlad","chleba","chlubit","chmel","chmura","chobot","chochol","chodba","cholera","chomout","chopit","choroba","chov","chrapot","chrlit","chrt","chrup","chtivost","chudina","chutnat","chvat","chvilka","chvost","chyba","chystat","chytit","cibule","cigareta","cihelna","cihla","cinkot","cirkus","cisterna","citace","citrus","cizinec","cizost","clona","cokoliv","couvat","ctitel","ctnost","cudnost","cuketa","cukr","cupot","cvaknout","cval","cvik","cvrkot","cyklista","daleko","dareba","datel","datum","dcera","debata","dechovka","decibel","deficit","deflace","dekl","dekret","demokrat","deprese","derby","deska","detektiv","dikobraz","diktovat","dioda","diplom","disk","displej","divadlo","divoch","dlaha","dlouho","dluhopis","dnes","dobro","dobytek","docent","dochutit","dodnes","dohled","dohoda","dohra","dojem","dojnice","doklad","dokola","doktor","dokument","dolar","doleva","dolina","doma","dominant","domluvit","domov","donutit","dopad","dopis","doplnit","doposud","doprovod","dopustit","dorazit","dorost","dort","dosah","doslov","dostatek","dosud","dosyta","dotaz","dotek","dotknout","doufat","doutnat","dovozce","dozadu","doznat","dozorce","drahota","drak","dramatik","dravec","draze","drdol","drobnost","drogerie","drozd","drsnost","drtit","drzost","duben","duchovno","dudek","duha","duhovka","dusit","dusno","dutost","dvojice","dvorec","dynamit","ekolog","ekonomie","elektron","elipsa","email","emise","emoce","empatie","epizoda","epocha","epopej","epos","esej","esence","eskorta","eskymo","etiketa","euforie","evoluce","exekuce","exkurze","expedice","exploze","export","extrakt","facka","fajfka","fakulta","fanatik","fantazie","farmacie","favorit","fazole","federace","fejeton","fenka","fialka","figurant","filozof","filtr","finance","finta","fixace","fjord","flanel","flirt","flotila","fond","fosfor","fotbal","fotka","foton","frakce","freska","fronta","fukar","funkce","fyzika","galeje","garant","genetika","geolog","gilotina","glazura","glejt","golem","golfista","gotika","graf","gramofon","granule","grep","gril","grog","groteska","guma","hadice","hadr","hala","halenka","hanba","hanopis","harfa","harpuna","havran","hebkost","hejkal","hejno","hejtman","hektar","helma","hematom","herec","herna","heslo","hezky","historik","hladovka","hlasivky","hlava","hledat","hlen","hlodavec","hloh","hloupost","hltat","hlubina","hluchota","hmat","hmota","hmyz","hnis","hnojivo","hnout","hoblina","hoboj","hoch","hodiny","hodlat","hodnota","hodovat","hojnost","hokej","holinka","holka","holub","homole","honitba","honorace","horal","horda","horizont","horko","horlivec","hormon","hornina","horoskop","horstvo","hospoda","hostina","hotovost","houba","houf","houpat","houska","hovor","hradba","hranice","hravost","hrazda","hrbolek","hrdina","hrdlo","hrdost","hrnek","hrobka","hromada","hrot","hrouda","hrozen","hrstka","hrubost","hryzat","hubenost","hubnout","hudba","hukot","humr","husita","hustota","hvozd","hybnost","hydrant","hygiena","hymna","hysterik","idylka","ihned","ikona","iluze","imunita","infekce","inflace","inkaso","inovace","inspekce","internet","invalida","investor","inzerce","ironie","jablko","jachta","jahoda","jakmile","jakost","jalovec","jantar","jarmark","jaro","jasan","jasno","jatka","javor","jazyk","jedinec","jedle","jednatel","jehlan","jekot","jelen","jelito","jemnost","jenom","jepice","jeseter","jevit","jezdec","jezero","jinak","jindy","jinoch","jiskra","jistota","jitrnice","jizva","jmenovat","jogurt","jurta","kabaret","kabel","kabinet","kachna","kadet","kadidlo","kahan","kajak","kajuta","kakao","kaktus","kalamita","kalhoty","kalibr","kalnost","kamera","kamkoliv","kamna","kanibal","kanoe","kantor","kapalina","kapela","kapitola","kapka","kaple","kapota","kapr","kapusta","kapybara","karamel","karotka","karton","kasa","katalog","katedra","kauce","kauza","kavalec","kazajka","kazeta","kazivost","kdekoliv","kdesi","kedluben","kemp","keramika","kino","klacek","kladivo","klam","klapot","klasika","klaun","klec","klenba","klepat","klesnout","klid","klima","klisna","klobouk","klokan","klopa","kloub","klubovna","klusat","kluzkost","kmen","kmitat","kmotr","kniha","knot","koalice","koberec","kobka","kobliha","kobyla","kocour","kohout","kojenec","kokos","koktejl","kolaps","koleda","kolize","kolo","komando","kometa","komik","komnata","komora","kompas","komunita","konat","koncept","kondice","konec","konfese","kongres","konina","konkurs","kontakt","konzerva","kopanec","kopie","kopnout","koprovka","korbel","korektor","kormidlo","koroptev","korpus","koruna","koryto","korzet","kosatec","kostka","kotel","kotleta","kotoul","koukat","koupelna","kousek","kouzlo","kovboj","koza","kozoroh","krabice","krach","krajina","kralovat","krasopis","kravata","kredit","krejcar","kresba","kreveta","kriket","kritik","krize","krkavec","krmelec","krmivo","krocan","krok","kronika","kropit","kroupa","krovka","krtek","kruhadlo","krupice","krutost","krvinka","krychle","krypta","krystal","kryt","kudlanka","kufr","kujnost","kukla","kulajda","kulich","kulka","kulomet","kultura","kuna","kupodivu","kurt","kurzor","kutil","kvalita","kvasinka","kvestor","kynolog","kyselina","kytara","kytice","kytka","kytovec","kyvadlo","labrador","lachtan","ladnost","laik","lakomec","lamela","lampa","lanovka","lasice","laso","lastura","latinka","lavina","lebka","leckdy","leden","lednice","ledovka","ledvina","legenda","legie","legrace","lehce","lehkost","lehnout","lektvar","lenochod","lentilka","lepenka","lepidlo","letadlo","letec","letmo","letokruh","levhart","levitace","levobok","libra","lichotka","lidojed","lidskost","lihovina","lijavec","lilek","limetka","linie","linka","linoleum","listopad","litina","litovat","lobista","lodivod","logika","logoped","lokalita","loket","lomcovat","lopata","lopuch","lord","losos","lotr","loudal","louh","louka","louskat","lovec","lstivost","lucerna","lucifer","lump","lusk","lustrace","lvice","lyra","lyrika","lysina","madam","madlo","magistr","mahagon","majetek","majitel","majorita","makak","makovice","makrela","malba","malina","malovat","malvice","maminka","mandle","manko","marnost","masakr","maskot","masopust","matice","matrika","maturita","mazanec","mazivo","mazlit","mazurka","mdloba","mechanik","meditace","medovina","melasa","meloun","mentolka","metla","metoda","metr","mezera","migrace","mihnout","mihule","mikina","mikrofon","milenec","milimetr","milost","mimika","mincovna","minibar","minomet","minulost","miska","mistr","mixovat","mladost","mlha","mlhovina","mlok","mlsat","mluvit","mnich","mnohem","mobil","mocnost","modelka","modlitba","mohyla","mokro","molekula","momentka","monarcha","monokl","monstrum","montovat","monzun","mosaz","moskyt","most","motivace","motorka","motyka","moucha","moudrost","mozaika","mozek","mozol","mramor","mravenec","mrkev","mrtvola","mrzet","mrzutost","mstitel","mudrc","muflon","mulat","mumie","munice","muset","mutace","muzeum","muzikant","myslivec","mzda","nabourat","nachytat","nadace","nadbytek","nadhoz","nadobro","nadpis","nahlas","nahnat","nahodile","nahradit","naivita","najednou","najisto","najmout","naklonit","nakonec","nakrmit","nalevo","namazat","namluvit","nanometr","naoko","naopak","naostro","napadat","napevno","naplnit","napnout","naposled","naprosto","narodit","naruby","narychlo","nasadit","nasekat","naslepo","nastat","natolik","navenek","navrch","navzdory","nazvat","nebe","nechat","necky","nedaleko","nedbat","neduh","negace","nehet","nehoda","nejen","nejprve","neklid","nelibost","nemilost","nemoc","neochota","neonka","nepokoj","nerost","nerv","nesmysl","nesoulad","netvor","neuron","nevina","nezvykle","nicota","nijak","nikam","nikdy","nikl","nikterak","nitro","nocleh","nohavice","nominace","nora","norek","nositel","nosnost","nouze","noviny","novota","nozdra","nuda","nudle","nuget","nutit","nutnost","nutrie","nymfa","obal","obarvit","obava","obdiv","obec","obehnat","obejmout","obezita","obhajoba","obilnice","objasnit","objekt","obklopit","oblast","oblek","obliba","obloha","obluda","obnos","obohatit","obojek","obout","obrazec","obrna","obruba","obrys","obsah","obsluha","obstarat","obuv","obvaz","obvinit","obvod","obvykle","obyvatel","obzor","ocas","ocel","ocenit","ochladit","ochota","ochrana","ocitnout","odboj","odbyt","odchod","odcizit","odebrat","odeslat","odevzdat","odezva","odhadce","odhodit","odjet","odjinud","odkaz","odkoupit","odliv","odluka","odmlka","odolnost","odpad","odpis","odplout","odpor","odpustit","odpykat","odrazka","odsoudit","odstup","odsun","odtok","odtud","odvaha","odveta","odvolat","odvracet","odznak","ofina","ofsajd","ohlas","ohnisko","ohrada","ohrozit","ohryzek","okap","okenice","oklika","okno","okouzlit","okovy","okrasa","okres","okrsek","okruh","okupant","okurka","okusit","olejnina","olizovat","omak","omeleta","omezit","omladina","omlouvat","omluva","omyl","onehdy","opakovat","opasek","operace","opice","opilost","opisovat","opora","opozice","opravdu","oproti","orbital","orchestr","orgie","orlice","orloj","ortel","osada","oschnout","osika","osivo","oslava","oslepit","oslnit","oslovit","osnova","osoba","osolit","ospalec","osten","ostraha","ostuda","ostych","osvojit","oteplit","otisk","otop","otrhat","otrlost","otrok","otruby","otvor","ovanout","ovar","oves","ovlivnit","ovoce","oxid","ozdoba","pachatel","pacient","padouch","pahorek","pakt","palanda","palec","palivo","paluba","pamflet","pamlsek","panenka","panika","panna","panovat","panstvo","pantofle","paprika","parketa","parodie","parta","paruka","paryba","paseka","pasivita","pastelka","patent","patrona","pavouk","pazneht","pazourek","pecka","pedagog","pejsek","peklo","peloton","penalta","pendrek","penze","periskop","pero","pestrost","petarda","petice","petrolej","pevnina","pexeso","pianista","piha","pijavice","pikle","piknik","pilina","pilnost","pilulka","pinzeta","pipeta","pisatel","pistole","pitevna","pivnice","pivovar","placenta","plakat","plamen","planeta","plastika","platit","plavidlo","plaz","plech","plemeno","plenta","ples","pletivo","plevel","plivat","plnit","plno","plocha","plodina","plomba","plout","pluk","plyn","pobavit","pobyt","pochod","pocit","poctivec","podat","podcenit","podepsat","podhled","podivit","podklad","podmanit","podnik","podoba","podpora","podraz","podstata","podvod","podzim","poezie","pohanka","pohnutka","pohovor","pohroma","pohyb","pointa","pojistka","pojmout","pokazit","pokles","pokoj","pokrok","pokuta","pokyn","poledne","polibek","polknout","poloha","polynom","pomalu","pominout","pomlka","pomoc","pomsta","pomyslet","ponechat","ponorka","ponurost","popadat","popel","popisek","poplach","poprosit","popsat","popud","poradce","porce","porod","porucha","poryv","posadit","posed","posila","poskok","poslanec","posoudit","pospolu","postava","posudek","posyp","potah","potkan","potlesk","potomek","potrava","potupa","potvora","poukaz","pouto","pouzdro","povaha","povidla","povlak","povoz","povrch","povstat","povyk","povzdech","pozdrav","pozemek","poznatek","pozor","pozvat","pracovat","prahory","praktika","prales","praotec","praporek","prase","pravda","princip","prkno","probudit","procento","prodej","profese","prohra","projekt","prolomit","promile","pronikat","propad","prorok","prosba","proton","proutek","provaz","prskavka","prsten","prudkost","prut","prvek","prvohory","psanec","psovod","pstruh","ptactvo","puberta","puch","pudl","pukavec","puklina","pukrle","pult","pumpa","punc","pupen","pusa","pusinka","pustina","putovat","putyka","pyramida","pysk","pytel","racek","rachot","radiace","radnice","radon","raft","ragby","raketa","rakovina","rameno","rampouch","rande","rarach","rarita","rasovna","rastr","ratolest","razance","razidlo","reagovat","reakce","recept","redaktor","referent","reflex","rejnok","reklama","rekord","rekrut","rektor","reputace","revize","revma","revolver","rezerva","riskovat","riziko","robotika","rodokmen","rohovka","rokle","rokoko","romaneto","ropovod","ropucha","rorejs","rosol","rostlina","rotmistr","rotoped","rotunda","roubenka","roucho","roup","roura","rovina","rovnice","rozbor","rozchod","rozdat","rozeznat","rozhodce","rozinka","rozjezd","rozkaz","rozloha","rozmar","rozpad","rozruch","rozsah","roztok","rozum","rozvod","rubrika","ruchadlo","rukavice","rukopis","ryba","rybolov","rychlost","rydlo","rypadlo","rytina","ryzost","sadista","sahat","sako","samec","samizdat","samota","sanitka","sardinka","sasanka","satelit","sazba","sazenice","sbor","schovat","sebranka","secese","sedadlo","sediment","sedlo","sehnat","sejmout","sekera","sekta","sekunda","sekvoje","semeno","seno","servis","sesadit","seshora","seskok","seslat","sestra","sesuv","sesypat","setba","setina","setkat","setnout","setrvat","sever","seznam","shoda","shrnout","sifon","silnice","sirka","sirotek","sirup","situace","skafandr","skalisko","skanzen","skaut","skeptik","skica","skladba","sklenice","sklo","skluz","skoba","skokan","skoro","skripta","skrz","skupina","skvost","skvrna","slabika","sladidlo","slanina","slast","slavnost","sledovat","slepec","sleva","slezina","slib","slina","sliznice","slon","sloupek","slovo","sluch","sluha","slunce","slupka","slza","smaragd","smetana","smilstvo","smlouva","smog","smrad","smrk","smrtka","smutek","smysl","snad","snaha","snob","sobota","socha","sodovka","sokol","sopka","sotva","souboj","soucit","soudce","souhlas","soulad","soumrak","souprava","soused","soutok","souviset","spalovna","spasitel","spis","splav","spodek","spojenec","spolu","sponzor","spornost","spousta","sprcha","spustit","sranda","sraz","srdce","srna","srnec","srovnat","srpen","srst","srub","stanice","starosta","statika","stavba","stehno","stezka","stodola","stolek","stopa","storno","stoupat","strach","stres","strhnout","strom","struna","studna","stupnice","stvol","styk","subjekt","subtropy","suchar","sudost","sukno","sundat","sunout","surikata","surovina","svah","svalstvo","svetr","svatba","svazek","svisle","svitek","svoboda","svodidlo","svorka","svrab","sykavka","sykot","synek","synovec","sypat","sypkost","syrovost","sysel","sytost","tabletka","tabule","tahoun","tajemno","tajfun","tajga","tajit","tajnost","taktika","tamhle","tampon","tancovat","tanec","tanker","tapeta","tavenina","tazatel","technika","tehdy","tekutina","telefon","temnota","tendence","tenista","tenor","teplota","tepna","teprve","terapie","termoska","textil","ticho","tiskopis","titulek","tkadlec","tkanina","tlapka","tleskat","tlukot","tlupa","tmel","toaleta","topinka","topol","torzo","touha","toulec","tradice","traktor","tramp","trasa","traverza","trefit","trest","trezor","trhavina","trhlina","trochu","trojice","troska","trouba","trpce","trpitel","trpkost","trubec","truchlit","truhlice","trus","trvat","tudy","tuhnout","tuhost","tundra","turista","turnaj","tuzemsko","tvaroh","tvorba","tvrdost","tvrz","tygr","tykev","ubohost","uboze","ubrat","ubrousek","ubrus","ubytovna","ucho","uctivost","udivit","uhradit","ujednat","ujistit","ujmout","ukazatel","uklidnit","uklonit","ukotvit","ukrojit","ulice","ulita","ulovit","umyvadlo","unavit","uniforma","uniknout","upadnout","uplatnit","uplynout","upoutat","upravit","uran","urazit","usednout","usilovat","usmrtit","usnadnit","usnout","usoudit","ustlat","ustrnout","utahovat","utkat","utlumit","utonout","utopenec","utrousit","uvalit","uvolnit","uvozovka","uzdravit","uzel","uzenina","uzlina","uznat","vagon","valcha","valoun","vana","vandal","vanilka","varan","varhany","varovat","vcelku","vchod","vdova","vedro","vegetace","vejce","velbloud","veletrh","velitel","velmoc","velryba","venkov","veranda","verze","veselka","veskrze","vesnice","vespodu","vesta","veterina","veverka","vibrace","vichr","videohra","vidina","vidle","vila","vinice","viset","vitalita","vize","vizitka","vjezd","vklad","vkus","vlajka","vlak","vlasec","vlevo","vlhkost","vliv","vlnovka","vloupat","vnucovat","vnuk","voda","vodivost","vodoznak","vodstvo","vojensky","vojna","vojsko","volant","volba","volit","volno","voskovka","vozidlo","vozovna","vpravo","vrabec","vracet","vrah","vrata","vrba","vrcholek","vrhat","vrstva","vrtule","vsadit","vstoupit","vstup","vtip","vybavit","vybrat","vychovat","vydat","vydra","vyfotit","vyhledat","vyhnout","vyhodit","vyhradit","vyhubit","vyjasnit","vyjet","vyjmout","vyklopit","vykonat","vylekat","vymazat","vymezit","vymizet","vymyslet","vynechat","vynikat","vynutit","vypadat","vyplatit","vypravit","vypustit","vyrazit","vyrovnat","vyrvat","vyslovit","vysoko","vystavit","vysunout","vysypat","vytasit","vytesat","vytratit","vyvinout","vyvolat","vyvrhel","vyzdobit","vyznat","vzadu","vzbudit","vzchopit","vzdor","vzduch","vzdychat","vzestup","vzhledem","vzkaz","vzlykat","vznik","vzorek","vzpoura","vztah","vztek","xylofon","zabrat","zabydlet","zachovat","zadarmo","zadusit","zafoukat","zahltit","zahodit","zahrada","zahynout","zajatec","zajet","zajistit","zaklepat","zakoupit","zalepit","zamezit","zamotat","zamyslet","zanechat","zanikat","zaplatit","zapojit","zapsat","zarazit","zastavit","zasunout","zatajit","zatemnit","zatknout","zaujmout","zavalit","zavelet","zavinit","zavolat","zavrtat","zazvonit","zbavit","zbrusu","zbudovat","zbytek","zdaleka","zdarma","zdatnost","zdivo","zdobit","zdroj","zdvih","zdymadlo","zelenina","zeman","zemina","zeptat","zezadu","zezdola","zhatit","zhltnout","zhluboka","zhotovit","zhruba","zima","zimnice","zjemnit","zklamat","zkoumat","zkratka","zkumavka","zlato","zlehka","zloba","zlom","zlost","zlozvyk","zmapovat","zmar","zmatek","zmije","zmizet","zmocnit","zmodrat","zmrzlina","zmutovat","znak","znalost","znamenat","znovu","zobrazit","zotavit","zoubek","zoufale","zplodit","zpomalit","zprava","zprostit","zprudka","zprvu","zrada","zranit","zrcadlo","zrnitost","zrno","zrovna","zrychlit","zrzavost","zticha","ztratit","zubovina","zubr","zvednout","zvenku","zvesela","zvon","zvrat","zvukovod","zvyk"]')},function(e){e.exports=JSON.parse('["的","一","是","在","不","了","有","和","人","这","中","大","为","上","个","国","我","以","要","他","时","来","用","们","生","到","作","地","于","出","å°±","分","对","成","会","可","主","发","å¹´","动","同","å·¥","也","能","下","过","子","说","产","种","面","而","方","后","多","定","行","å­¦","法","所","民","得","经","十","三","之","进","着","等","部","度","家","电","力","里","如","æ°´","化","高","自","二","理","èµ·","小","物","现","实","加","量","都","两","体","制","机","当","使","点","从","业","本","去","把","性","好","应","开","它","合","还","因","由","其","些","然","前","外","天","政","四","日","那","社","义","事","å¹³","å½¢","相","全","表","间","æ ·","与","关","各","重","新","线","内","数","æ­£","心","反","ä½ ","明","看","原","又","么","利","比","或","但","è´¨","气","第","向","道","命","æ­¤","变","条","只","没","结","解","问","意","建","月","公","无","ç³»","军","很","情","者","最","立","代","想","å·²","通","并","提","直","题","党","程","展","五","果","料","象","员","革","位","入","常","文","总","次","品","式","æ´»","设","及","管","特","件","长","求","老","头","基","资","è¾¹","流","è·¯","级","少","图","å±±","统","接","知","较","将","组","见","计","别","她","手","角","期","æ ¹","论","运","农","指","几","九","区","强","放","决","西","被","å¹²","做","必","战","先","回","则","ä»»","取","据","处","队","南","给","色","光","门","即","保","æ²»","北","造","百","规","热","领","七","æµ·","口","东","导","器","压","志","世","金","增","争","济","阶","æ²¹","思","术","极","交","受","联","什","认","六","共","权","收","证","改","清","美","再","采","转","更","单","风","切","打","白","教","速","花","带","安","场","身","车","例","真","务","具","万","每","目","至","è¾¾","èµ°","积","示","è®®","声","报","斗","完","ç±»","八","离","华","名","ç¡®","才","科","å¼ ","ä¿¡","马","节","话","ç±³","整","空","元","况","今","集","温","ä¼ ","土","许","æ­¥","群","广","石","è®°","需","段","研","界","拉","林","律","叫","且","究","观","越","织","装","å½±","算","低","持","音","众","书","布","复","容","儿","é¡»","际","商","非","验","连","断","æ·±","难","近","矿","千","周","委","ç´ ","技","备","半","办","青","省","列","ä¹ ","响","约","支","般","史","感","劳","便","团","往","酸","历","市","克","何","除","消","构","府","称","太","准","ç²¾","值","号","率","族","ç»´","划","选","标","写","存","候","毛","亲","å¿«","效","斯","院","查","江","型","眼","王","按","æ ¼","养","易","ç½®","æ´¾","层","片","始","却","专","状","育","厂","京","识","适","属","圆","包","火","住","调","满","县","局","照","参","红","细","引","听","该","铁","ä»·","严","首","底","液","官","å¾·","随","病","苏","失","尔","æ­»","讲","配","女","黄","推","显","谈","罪","神","艺","呢","席","含","企","望","密","批","营","项","防","举","球","英","æ°§","势","告","李","台","落","木","帮","è½®","ç ´","亚","师","围","注","远","字","材","排","供","æ²³","态","封","另","施","减","树","溶","怎","æ­¢","案","言","士","均","æ­¦","固","叶","é±¼","æ³¢","视","仅","è´¹","ç´§","爱","å·¦","ç« ","早","朝","害","ç»­","è½»","服","试","食","充","兵","源","判","护","司","足","某","练","å·®","致","板","田","降","黑","犯","负","击","范","继","兴","ä¼¼","余","坚","曲","输","ä¿®","故","城","夫","够","送","笔","船","占","右","è´¢","吃","富","春","职","觉","汉","画","功","å·´","跟","虽","杂","飞","检","吸","助","升","阳","互","初","创","抗","考","投","坏","策","古","径","换","未","跑","留","钢","曾","端","è´£","站","简","è¿°","钱","副","å°½","帝","射","草","冲","承","独","令","限","阿","宣","环","双","请","超","å¾®","让","控","州","良","è½´","找","否","纪","益","依","优","顶","础","è½½","倒","房","突","坐","粉","敌","略","客","袁","冷","胜","绝","析","块","剂","测","丝","协","诉","念","陈","仍","罗","盐","友","洋","错","苦","夜","刑","移","频","逐","靠","æ··","母","短","皮","终","聚","æ±½","村","云","哪","既","距","卫","停","烈","央","察","烧","迅","境","若","印","æ´²","刻","括","激","孔","搞","甚","室","待","æ ¸","æ ¡","散","ä¾µ","吧","甲","游","久","菜","味","旧","模","湖","è´§","损","预","阻","毫","普","稳","乙","妈","植","息","扩","银","语","挥","酒","守","拿","序","纸","医","缺","雨","吗","针","刘","啊","急","唱","误","è®­","愿","审","附","获","茶","鲜","ç²®","斤","å­©","脱","ç¡«","肥","善","龙","演","父","渐","血","欢","械","掌","歌","沙","刚","攻","谓","盾","讨","晚","粒","ä¹±","燃","矛","乎","杀","药","宁","鲁","è´µ","钟","煤","读","班","伯","香","介","è¿«","句","丰","培","握","兰","担","弦","蛋","沉","假","ç©¿","执","答","乐","谁","顺","烟","缩","征","脸","喜","松","脚","困","异","免","背","星","福","ä¹°","染","井","概","慢","怕","磁","倍","祖","皇","促","静","è¡¥","评","ç¿»","肉","è·µ","å°¼","è¡£","宽","扬","棉","希","伤","操","垂","秋","宜","æ°¢","套","督","振","架","亮","末","宪","庆","编","牛","触","映","雷","销","诗","座","居","抓","裂","胞","呼","娘","景","威","绿","晶","厚","盟","è¡¡","鸡","孙","延","危","胶","屋","乡","临","陆","顾","掉","呀","灯","岁","措","束","耐","剧","玉","èµµ","è·³","哥","å­£","课","凯","胡","额","款","绍","卷","齐","伟","蒸","殖","æ°¸","宗","苗","川","炉","岩","å¼±","零","杨","奏","沿","露","杆","探","滑","镇","饭","浓","航","怀","赶","库","夺","伊","灵","税","途","灭","赛","归","召","鼓","播","盘","裁","险","康","唯","录","菌","纯","借","糖","盖","横","符","私","努","堂","域","枪","润","幅","哈","竟","熟","虫","æ³½","脑","壤","碳","欧","遍","侧","寨","敢","å½»","虑","斜","薄","庭","纳","å¼¹","饲","伸","折","麦","湿","暗","荷","瓦","塞","床","筑","恶","户","访","塔","奇","透","梁","刀","旋","迹","卡","æ°¯","遇","份","毒","æ³¥","退","洗","摆","灰","彩","卖","耗","夏","择","忙","铜","献","硬","予","繁","圈","雪","函","亦","抽","篇","阵","阴","丁","å°º","追","堆","雄","迎","泛","爸","楼","避","谋","吨","野","猪","旗","ç´¯","偏","典","馆","ç´¢","秦","脂","æ½®","爷","豆","忽","托","惊","塑","遗","愈","朱","替","纤","粗","倾","尚","痛","楚","è°¢","奋","è´­","磨","君","æ± ","旁","碎","骨","监","捕","弟","暴","割","è´¯","殊","释","词","亡","壁","é¡¿","宝","午","尘","闻","揭","炮","残","冬","æ¡¥","妇","è­¦","综","招","吴","付","æµ®","遭","徐","您","摇","è°·","赞","ç®±","隔","订","男","吹","园","纷","唐","è´¥","宋","玻","å·¨","耕","坦","荣","闭","æ¹¾","键","凡","é©»","锅","救","恩","剥","凝","碱","齿","截","炼","麻","纺","禁","废","盛","版","缓","净","睛","昌","婚","涉","筒","嘴","插","岸","朗","庄","街","藏","姑","è´¸","腐","奴","啦","惯","乘","伙","恢","匀","纱","扎","辩","耳","彪","臣","亿","璃","抵","脉","秀","萨","俄","网","舞","店","喷","纵","寸","汗","挂","æ´ª","è´º","闪","柬","爆","烯","æ´¥","稻","墙","软","勇","像","滚","厘","蒙","芳","肯","坡","柱","荡","腿","仪","旅","å°¾","轧","冰","è´¡","登","黎","削","钻","勒","逃","障","æ°¨","郭","å³°","币","港","伏","轨","亩","毕","擦","莫","刺","浪","秘","援","æ ª","健","售","股","岛","甘","泡","睡","ç«¥","铸","汤","阀","休","汇","舍","牧","绕","炸","哲","磷","绩","朋","æ·¡","尖","启","陷","柴","呈","徒","颜","泪","稍","忘","æ³µ","蓝","拖","洞","授","镜","辛","壮","锋","è´«","虚","弯","摩","æ³°","å¹¼","å»·","尊","窗","纲","弄","隶","疑","氏","宫","姐","震","瑞","怪","å°¤","琴","循","描","膜","违","夹","腰","缘","珠","ç©·","森","枝","竹","沟","催","绳","忆","邦","剩","幸","浆","栏","拥","牙","è´®","礼","滤","钠","纹","ç½¢","拍","咱","喊","袖","埃","勤","罚","焦","潜","伍","墨","欲","缝","姓","刊","饱","仿","奖","铝","鬼","丽","è·¨","默","挖","链","扫","喝","袋","炭","污","幕","诸","弧","励","梅","奶","洁","灾","舟","鉴","苯","讼","抱","毁","懂","寒","智","埔","寄","届","跃","渡","挑","丹","艰","贝","碰","拔","爹","戴","码","梦","芽","熔","赤","渔","哭","敬","颗","奔","铅","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","仓","魏","锐","晓","æ°®","兼","隐","碍","赫","拨","å¿ ","肃","缸","牵","抢","博","å·§","壳","兄","杜","讯","诚","碧","祥","柯","页","å·¡","矩","悲","灌","龄","伦","票","寻","桂","铺","圣","恐","恰","郑","趣","抬","荒","腾","è´´","柔","æ»´","猛","阔","辆","妻","å¡«","撤","储","ç­¾","闹","扰","ç´«","砂","递","戏","吊","陶","伐","喂","疗","瓶","婆","抚","臂","摸","忍","虾","蜡","邻","胸","å·©","挤","偶","弃","槽","劲","ä¹³","邓","吉","仁","烂","砖","租","乌","舰","ä¼´","瓜","浅","丙","暂","燥","æ©¡","柳","è¿·","暖","牌","秧","胆","详","ç°§","踏","瓷","è°±","呆","宾","糊","洛","辉","愤","竞","隙","怒","粘","乃","绪","肩","籍","敏","涂","熙","皆","侦","悬","掘","享","纠","醒","狂","锁","淀","恨","牲","霸","爬","赏","逆","玩","陵","祝","秒","浙","貌","å½¹","å½¼","悉","鸭","趋","凤","晨","畜","辈","秩","卵","ç½²","梯","炎","滩","棋","驱","筛","峡","冒","啥","寿","译","浸","泉","帽","迟","硅","疆","è´·","漏","稿","冠","å«©","胁","芯","牢","叛","蚀","奥","鸣","å²­","羊","凭","串","塘","绘","酵","融","盆","锡","庙","ç­¹","冻","辅","摄","袭","筋","拒","僚","旱","钾","鸟","漆","沈","眉","疏","æ·»","棒","穗","硝","韩","逼","扭","侨","凉","挺","碗","æ ½","炒","杯","患","馏","劝","豪","è¾½","勃","鸿","旦","吏","拜","狗","埋","辊","掩","饮","搬","骂","辞","勾","扣","ä¼°","蒋","绒","雾","丈","朵","姆","拟","宇","辑","陕","雕","偿","蓄","崇","剪","倡","厅","咬","驶","薯","刷","斥","番","赋","奉","佛","浇","漫","曼","扇","钙","桃","扶","仔","返","俗","亏","腔","鞋","棱","覆","框","悄","叔","撞","骗","勘","旺","沸","å­¤","吐","孟","渠","屈","疾","妙","惜","ä»°","狠","胀","谐","抛","霉","桑","岗","嘛","è¡°","盗","渗","脏","赖","涌","甜","曹","阅","肌","哩","厉","烃","纬","毅","昨","伪","症","煮","叹","钉","搭","茎","笼","酷","偷","弓","锥","恒","杰","坑","é¼»","翼","纶","叙","狱","逮","罐","络","棚","抑","膨","蔬","寺","骤","穆","冶","枯","册","å°¸","凸","绅","坯","牺","焰","è½°","欣","晋","瘦","御","锭","锦","丧","旬","锻","垄","搜","扑","邀","亭","酯","迈","舒","脆","酶","闲","忧","酚","顽","ç¾½","涨","卸","仗","陪","辟","惩","杭","姚","肚","捉","飘","漂","昆","欺","吾","郎","烷","汁","呵","饰","萧","雅","邮","迁","燕","撒","姻","èµ´","å®´","烦","债","帐","斑","铃","旨","醇","董","饼","雏","姿","拌","傅","腹","妥","揉","è´¤","拆","æ­ª","葡","胺","丢","浩","å¾½","昂","垫","挡","览","è´ª","慰","ç¼´","汪","慌","冯","诺","姜","谊","凶","劣","诬","耀","昏","躺","盈","骑","乔","溪","丛","卢","抹","闷","咨","刮","驾","缆","悟","摘","铒","掷","颇","å¹»","柄","惠","惨","ä½³","仇","腊","窝","涤","剑","瞧","å ¡","æ³¼","葱","罩","霍","捞","胎","苍","滨","ä¿©","捅","湘","砍","霞","邵","萄","疯","æ·®","遂","熊","粪","烘","宿","æ¡£","戈","驳","嫂","裕","徙","ç®­","捐","肠","撑","晒","辨","殿","莲","摊","搅","酱","屏","疫","哀","蔡","å µ","沫","皱","畅","叠","阁","莱","敲","辖","钩","痕","坝","å··","饿","祸","丘","玄","溜","曰","逻","å½­","尝","卿","妨","艇","吞","韦","怨","矮","歇"]')},function(e){e.exports=JSON.parse('["的","一","是","在","不","了","有","和","人","這","中","大","為","上","個","國","我","以","要","他","時","來","用","們","生","到","作","地","於","出","å°±","分","對","成","會","可","主","發","å¹´","動","同","å·¥","也","能","下","過","子","說","產","種","面","而","方","後","多","定","行","å­¸","法","所","民","得","經","十","三","之","進","著","等","部","度","家","電","力","裡","如","æ°´","化","高","自","二","理","èµ·","小","物","現","實","加","量","都","兩","體","制","機","當","使","點","從","業","本","去","把","性","好","應","開","它","合","還","因","由","其","些","然","前","外","天","政","四","日","那","社","義","事","å¹³","å½¢","相","全","表","間","樣","與","關","各","重","新","線","內","數","æ­£","心","反","ä½ ","明","看","原","又","麼","利","比","或","但","質","æ°£","第","向","道","命","æ­¤","變","條","只","沒","結","解","問","意","建","月","公","無","ç³»","軍","很","情","者","最","立","代","想","å·²","通","並","提","直","題","黨","程","展","五","果","料","象","員","革","位","入","常","文","總","次","品","式","æ´»","設","及","管","特","件","長","求","老","é ­","基","資","邊","流","è·¯","級","少","圖","å±±","çµ±","接","知","較","將","組","見","計","別","她","手","角","期","æ ¹","論","運","è¾²","指","å¹¾","九","區","å¼·","放","決","西","被","å¹¹","做","必","戰","先","回","則","ä»»","取","據","處","隊","南","給","色","光","門","即","保","æ²»","北","造","百","規","熱","領","七","æµ·","口","東","導","器","壓","志","世","金","增","爭","濟","階","æ²¹","思","術","極","交","受","聯","什","認","六","共","權","收","證","改","清","美","再","採","轉","更","單","風","切","打","白","教","速","花","帶","安","å ´","身","車","例","真","務","具","萬","每","目","至","達","èµ°","積","示","è­°","聲","å ±","鬥","完","類","八","離","華","名","確","才","科","å¼µ","ä¿¡","馬","節","話","ç±³","整","空","元","況","今","集","溫","傳","土","許","æ­¥","群","廣","石","記","需","段","研","界","拉","林","律","叫","且","究","觀","越","織","裝","å½±","算","低","持","音","眾","書","布","复","容","兒","須","際","商","非","驗","連","斷","æ·±","難","近","礦","千","週","委","ç´ ","技","備","半","辦","青","省","列","習","響","約","支","般","史","感","勞","便","團","往","酸","æ­·","市","克","何","除","消","構","府","稱","太","準","ç²¾","值","號","率","族","維","劃","選","標","寫","存","候","毛","親","å¿«","效","斯","院","查","江","型","眼","王","按","æ ¼","養","易","ç½®","æ´¾","層","片","始","卻","專","狀","育","å» ","京","識","適","屬","圓","包","火","住","調","滿","縣","局","照","參","紅","ç´°","引","聽","該","鐵","價","嚴","首","底","液","官","å¾·","隨","病","蘇","失","爾","æ­»","講","配","女","黃","推","顯","談","罪","神","藝","呢","席","含","企","望","密","批","營","項","防","舉","球","英","æ°§","勢","告","李","台","落","木","幫","輪","ç ´","亞","師","圍","注","遠","字","材","排","供","æ²³","態","封","另","施","減","樹","溶","怎","æ­¢","案","言","士","均","æ­¦","固","葉","魚","æ³¢","視","僅","è²»","緊","愛","å·¦","ç« ","早","朝","害","續","輕","服","試","食","充","兵","源","判","è­·","司","足","某","ç·´","å·®","致","板","田","降","黑","犯","è² ","擊","范","ç¹¼","興","ä¼¼","餘","堅","曲","輸","ä¿®","故","城","夫","夠","送","筆","船","佔","右","財","吃","富","春","職","覺","æ¼¢","畫","功","å·´","跟","雖","雜","飛","檢","吸","助","昇","陽","互","初","創","抗","考","投","壞","策","古","徑","換","未","跑","留","鋼","曾","端","責","站","ç°¡","è¿°","錢","副","盡","帝","射","草","衝","承","獨","令","限","阿","宣","環","雙","請","超","å¾®","讓","控","州","良","軸","找","否","紀","益","依","優","頂","礎","載","倒","房","突","坐","粉","敵","略","客","袁","冷","勝","絕","析","塊","劑","測","çµ²","協","訴","念","陳","仍","羅","é¹½","友","洋","錯","苦","夜","刑","移","é »","逐","靠","æ··","母","短","皮","終","聚","æ±½","村","雲","哪","既","距","衛","停","烈","央","察","燒","迅","境","若","印","æ´²","刻","括","激","孔","搞","甚","室","待","æ ¸","æ ¡","散","ä¾µ","吧","甲","遊","久","菜","味","舊","模","湖","貨","損","預","阻","毫","普","ç©©","乙","媽","植","息","擴","銀","語","揮","酒","守","拿","序","紙","醫","缺","雨","嗎","針","劉","啊","急","唱","誤","訓","願","審","附","獲","茶","é®®","糧","斤","å­©","脫","ç¡«","肥","善","龍","演","父","漸","血","æ­¡","械","掌","歌","沙","剛","攻","謂","盾","討","晚","粒","亂","燃","矛","乎","殺","藥","寧","é­¯","è²´","鐘","煤","讀","班","伯","香","介","è¿«","句","豐","培","握","蘭","擔","弦","蛋","沉","假","ç©¿","執","答","樂","誰","順","煙","縮","å¾µ","臉","喜","松","腳","困","異","免","背","星","福","è²·","染","井","概","慢","怕","磁","倍","祖","皇","促","靜","補","評","ç¿»","肉","踐","å°¼","è¡£","寬","揚","棉","希","傷","操","垂","秋","宜","æ°«","套","督","振","架","亮","末","憲","慶","ç·¨","牛","觸","映","雷","銷","è©©","座","居","抓","裂","胞","呼","娘","景","威","綠","晶","厚","盟","è¡¡","雞","å­«","延","危","膠","屋","鄉","臨","陸","顧","掉","呀","燈","æ­²","措","束","耐","劇","玉","趙","è·³","哥","å­£","課","凱","胡","額","款","ç´¹","卷","齊","偉","蒸","殖","æ°¸","宗","苗","川","爐","岩","å¼±","零","楊","奏","沿","露","æ¡¿","探","滑","鎮","飯","濃","航","懷","趕","庫","奪","伊","靈","稅","途","滅","è³½","æ­¸","召","鼓","播","盤","裁","險","康","唯","錄","菌","純","借","糖","蓋","æ©«","符","私","努","堂","域","槍","潤","幅","哈","竟","熟","蟲","澤","腦","壤","碳","歐","遍","側","寨","敢","å¾¹","慮","斜","薄","庭","納","彈","飼","伸","折","麥","濕","暗","荷","瓦","塞","床","築","惡","戶","訪","塔","奇","透","梁","刀","旋","è·¡","卡","æ°¯","遇","份","毒","æ³¥","退","洗","擺","灰","彩","è³£","耗","夏","擇","忙","銅","獻","硬","予","繁","圈","雪","函","亦","抽","篇","陣","陰","丁","å°º","追","堆","雄","迎","泛","爸","樓","避","謀","噸","野","豬","旗","ç´¯","偏","典","館","ç´¢","秦","脂","æ½®","爺","豆","忽","托","驚","塑","遺","愈","朱","替","纖","粗","傾","尚","痛","楚","謝","奮","è³¼","磨","君","æ± ","旁","碎","骨","監","捕","弟","暴","割","貫","殊","釋","詞","亡","壁","頓","寶","午","塵","聞","揭","炮","殘","冬","橋","婦","è­¦","綜","招","吳","付","æµ®","遭","徐","您","搖","è°·","贊","ç®±","隔","訂","男","吹","園","紛","唐","敗","宋","玻","å·¨","耕","坦","榮","閉","灣","鍵","凡","駐","鍋","救","恩","剝","凝","é¹¼","齒","截","煉","麻","ç´¡","禁","廢","盛","版","ç·©","æ·¨","睛","昌","婚","涉","筒","嘴","插","岸","朗","莊","街","藏","姑","貿","腐","奴","啦","慣","乘","夥","恢","勻","紗","扎","辯","耳","彪","臣","億","璃","抵","脈","秀","薩","俄","網","舞","店","噴","縱","寸","汗","掛","æ´ª","賀","閃","柬","爆","烯","æ´¥","稻","牆","軟","勇","像","滾","厘","蒙","芳","肯","坡","柱","盪","腿","儀","旅","å°¾","軋","冰","è²¢","登","黎","削","鑽","勒","逃","障","æ°¨","郭","å³°","å¹£","港","伏","軌","畝","畢","擦","莫","刺","浪","秘","援","æ ª","健","售","股","島","甘","泡","睡","ç«¥","鑄","湯","閥","休","匯","舍","牧","繞","炸","哲","磷","績","朋","æ·¡","尖","啟","陷","柴","呈","徒","顏","淚","稍","忘","æ³µ","藍","拖","洞","授","鏡","辛","壯","鋒","貧","虛","彎","摩","æ³°","å¹¼","å»·","尊","窗","綱","弄","隸","疑","氏","å®®","姐","震","瑞","怪","å°¤","琴","循","描","膜","違","夾","腰","ç·£","珠","窮","森","枝","竹","溝","催","繩","憶","邦","剩","幸","漿","欄","擁","牙","貯","禮","濾","鈉","紋","ç½·","拍","咱","喊","袖","埃","勤","ç½°","焦","潛","伍","墨","欲","縫","姓","刊","飽","仿","獎","鋁","鬼","麗","è·¨","默","挖","鏈","掃","喝","袋","炭","污","幕","諸","弧","勵","梅","奶","潔","災","舟","鑑","苯","訟","抱","毀","懂","寒","智","埔","寄","屆","躍","渡","挑","丹","艱","貝","碰","拔","爹","戴","碼","夢","芽","熔","赤","漁","哭","敬","顆","奔","鉛","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","倉","魏","銳","曉","æ°®","兼","隱","礙","赫","撥","å¿ ","肅","缸","牽","搶","博","å·§","殼","兄","杜","訊","誠","碧","祥","柯","頁","å·¡","矩","悲","灌","齡","倫","票","尋","桂","鋪","聖","恐","恰","鄭","趣","抬","荒","騰","è²¼","柔","æ»´","猛","闊","輛","妻","å¡«","撤","儲","ç°½","鬧","擾","ç´«","砂","遞","戲","吊","陶","伐","餵","療","瓶","婆","撫","臂","摸","忍","蝦","蠟","鄰","胸","鞏","擠","偶","棄","槽","勁","ä¹³","鄧","吉","仁","爛","磚","租","烏","艦","ä¼´","瓜","æ·º","丙","暫","燥","æ©¡","柳","è¿·","暖","牌","秧","膽","詳","ç°§","踏","瓷","譜","呆","賓","糊","洛","輝","憤","競","隙","怒","粘","乃","緒","肩","籍","敏","塗","熙","皆","偵","懸","掘","享","ç³¾","醒","狂","鎖","淀","恨","牲","霸","爬","賞","逆","玩","陵","祝","秒","浙","貌","å½¹","å½¼","悉","é´¨","趨","é³³","晨","畜","輩","秩","卵","ç½²","梯","炎","灘","棋","驅","篩","å³½","冒","啥","壽","è­¯","浸","泉","帽","遲","矽","疆","貸","漏","稿","冠","å«©","脅","芯","牢","叛","蝕","奧","é³´","嶺","羊","憑","串","塘","繪","酵","融","盆","錫","廟","籌","凍","輔","攝","襲","筋","拒","僚","旱","鉀","é³¥","漆","沈","眉","疏","æ·»","棒","穗","硝","韓","逼","扭","僑","涼","挺","碗","æ ½","炒","杯","患","餾","勸","豪","遼","勃","é´»","旦","吏","拜","狗","埋","è¼¥","掩","飲","搬","ç½µ","è¾­","勾","扣","ä¼°","蔣","絨","霧","丈","朵","姆","擬","宇","輯","陝","雕","償","蓄","崇","剪","倡","廳","咬","駛","薯","刷","斥","番","賦","奉","佛","澆","漫","曼","扇","鈣","桃","扶","仔","返","俗","虧","腔","鞋","棱","覆","框","悄","叔","撞","騙","勘","旺","沸","å­¤","吐","孟","渠","屈","疾","妙","惜","ä»°","狠","脹","諧","拋","é»´","桑","崗","嘛","è¡°","盜","滲","臟","è³´","湧","甜","曹","閱","肌","哩","厲","烴","ç·¯","毅","昨","偽","症","煮","嘆","釘","搭","莖","ç± ","酷","偷","弓","錐","恆","傑","坑","é¼»","翼","綸","敘","獄","逮","罐","絡","棚","抑","膨","蔬","寺","驟","穆","冶","枯","冊","屍","凸","ç´³","坯","犧","焰","轟","欣","晉","瘦","禦","錠","錦","喪","旬","鍛","壟","搜","撲","邀","亭","酯","邁","舒","脆","酶","閒","憂","酚","頑","ç¾½","æ¼²","卸","仗","陪","闢","懲","杭","姚","肚","捉","飄","漂","昆","欺","吾","郎","烷","汁","呵","飾","蕭","雅","郵","遷","燕","撒","姻","èµ´","å®´","煩","債","帳","斑","鈴","旨","醇","董","餅","雛","姿","拌","傅","腹","妥","揉","è³¢","拆","æ­ª","葡","胺","丟","浩","å¾½","昂","墊","擋","覽","貪","慰","ç¹³","汪","慌","馮","諾","姜","誼","兇","劣","誣","耀","昏","躺","盈","騎","喬","溪","叢","盧","抹","悶","è«®","刮","駕","纜","悟","摘","鉺","擲","頗","å¹»","柄","惠","慘","ä½³","仇","臘","窩","滌","劍","瞧","å ¡","潑","蔥","罩","霍","撈","胎","蒼","濱","倆","捅","湘","砍","霞","邵","萄","瘋","æ·®","遂","熊","糞","烘","宿","檔","戈","駁","嫂","裕","徙","ç®­","捐","腸","撐","曬","辨","殿","蓮","攤","攪","醬","屏","疫","哀","蔡","å µ","沫","皺","暢","疊","閣","萊","敲","轄","鉤","痕","壩","å··","餓","禍","丘","玄","溜","曰","邏","å½­","嘗","卿","妨","艇","吞","韋","怨","矮","歇"]')},function(e){e.exports=JSON.parse('["가격","가끔","가난","가능","가득","가르침","가뭄","가방","가상","가슴","가운데","가을","가이드","가입","가장","가정","가족","가죽","각오","각자","간격","간부","간섭","간장","간접","간판","갈등","갈비","갈색","갈증","감각","감기","감소","감수성","감자","감정","갑자기","강남","강당","강도","강력히","강변","강북","강사","강수량","강아지","강원도","강의","강제","강조","같이","개구리","개나리","개방","개별","개선","개성","개인","객관적","거실","거액","거울","거짓","거품","걱정","건강","건물","건설","건조","건축","걸음","검사","검토","게시판","게임","겨울","견해","결과","결국","결론","결석","결승","결심","결정","결혼","경계","경고","경기","경력","경복궁","경비","경상도","경영","경우","경쟁","경제","경주","경찰","경치","경향","경험","계곡","계단","계란","계산","계속","계약","계절","계층","계획","고객","고구려","고궁","고급","고등학생","고무신","고민","고양이","고장","고전","고집","고춧가루","고통","고향","곡식","골목","골짜기","골프","공간","공개","공격","공군","공급","공기","공동","공무원","공부","공사","공식","공업","공연","공원","공장","공짜","공책","공통","공포","공항","공휴일","과목","과일","과장","과정","과학","관객","관계","관광","관념","관람","관련","관리","관습","관심","관점","관찰","광경","광고","광장","광주","괴로움","굉장히","교과서","교문","교복","교실","교양","교육","교장","교직","교통","교환","교훈","구경","구름","구멍","구별","구분","구석","구성","구속","구역","구입","구청","구체적","국가","국기","국내","국립","국물","국민","국수","국어","국왕","국적","국제","국회","군대","군사","군인","궁극적","권리","권위","권투","귀국","귀신","규정","규칙","균형","그날","그냥","그늘","그러나","그룹","그릇","그림","그제서야","그토록","극복","극히","근거","근교","근래","근로","근무","근본","근원","근육","근처","글씨","글자","금강산","금고","금년","금메달","금액","금연","금요일","금지","긍정적","기간","기관","기념","기능","기독교","기둥","기록","기름","기법","기본","기분","기쁨","기숙사","기술","기억","기업","기온","기운","기원","기적","기준","기침","기혼","기획","긴급","긴장","길이","김밥","김치","김포공항","깍두기","깜빡","깨달음","깨소금","껍질","꼭대기","꽃잎","나들이","나란히","나머지","나물","나침반","나흘","낙엽","난방","날개","날씨","날짜","남녀","남대문","남매","남산","남자","남편","남학생","낭비","낱말","내년","내용","내일","냄비","냄새","냇물","냉동","냉면","냉방","냉장고","넥타이","넷째","노동","노란색","노력","노인","녹음","녹차","녹화","논리","논문","논쟁","놀이","농구","농담","농민","농부","농업","농장","농촌","높이","눈동자","눈물","눈썹","뉴욕","느낌","늑대","능동적","능력","다방","다양성","다음","다이어트","다행","단계","단골","단독","단맛","단순","단어","단위","단점","단체","단추","단편","단풍","달걀","달러","달력","달리","닭고기","담당","담배","담요","담임","답변","답장","당근","당분간","당연히","당장","대규모","대낮","대단히","대답","대도시","대략","대량","대륙","대문","대부분","대신","대응","대장","대전","대접","대중","대책","대출","대충","대통령","대학","대한민국","대합실","대형","덩어리","데이트","도대체","도덕","도둑","도망","도서관","도심","도움","도입","도자기","도저히","도전","도중","도착","독감","독립","독서","독일","독창적","동화책","뒷모습","뒷산","딸아이","마누라","마늘","마당","마라톤","마련","마무리","마사지","마약","마요네즈","마을","마음","마이크","마중","마지막","마찬가지","마찰","마흔","막걸리","막내","막상","만남","만두","만세","만약","만일","만점","만족","만화","많이","말기","말씀","말투","맘대로","망원경","매년","매달","매력","매번","매스컴","매일","매장","맥주","먹이","먼저","먼지","멀리","메일","며느리","며칠","면담","멸치","명단","명령","명예","명의","명절","명칭","명함","모금","모니터","모델","모든","모범","모습","모양","모임","모조리","모집","모퉁이","목걸이","목록","목사","목소리","목숨","목적","목표","몰래","몸매","몸무게","몸살","몸속","몸짓","몸통","몹시","무관심","무궁화","무더위","무덤","무릎","무슨","무엇","무역","무용","무조건","무지개","무척","문구","문득","문법","문서","문제","문학","문화","물가","물건","물결","물고기","물론","물리학","물음","물질","물체","미국","미디어","미사일","미술","미역","미용실","미움","미인","미팅","미혼","민간","민족","민주","믿음","밀가루","밀리미터","밑바닥","바가지","바구니","바나나","바늘","바닥","바닷가","바람","바이러스","바탕","박물관","박사","박수","반대","반드시","반말","반발","반성","반응","반장","반죽","반지","반찬","받침","발가락","발걸음","발견","발달","발레","발목","발바닥","발생","발음","발자국","발전","발톱","발표","밤하늘","밥그릇","밥맛","밥상","밥솥","방금","방면","방문","방바닥","방법","방송","방식","방안","방울","방지","방학","방해","방향","배경","배꼽","배달","배드민턴","백두산","백색","백성","백인","백제","백화점","버릇","버섯","버튼","번개","번역","번지","번호","벌금","벌레","벌써","범위","범인","범죄","법률","법원","법적","법칙","베이징","벨트","변경","변동","변명","변신","변호사","변화","별도","별명","별일","병실","병아리","병원","보관","보너스","보라색","보람","보름","보상","보안","보자기","보장","보전","보존","보통","보편적","보험","복도","복사","복숭아","복습","볶음","본격적","본래","본부","본사","본성","본인","본질","볼펜","봉사","봉지","봉투","부근","부끄러움","부담","부동산","부문","부분","부산","부상","부엌","부인","부작용","부장","부정","부족","부지런히","부친","부탁","부품","부회장","북부","북한","분노","분량","분리","분명","분석","분야","분위기","분필","분홍색","불고기","불과","불교","불꽃","불만","불법","불빛","불안","불이익","불행","브랜드","비극","비난","비닐","비둘기","비디오","비로소","비만","비명","비밀","비바람","비빔밥","비상","비용","비율","비중","비타민","비판","빌딩","빗물","빗방울","빗줄기","빛깔","빨간색","빨래","빨리","사건","사계절","사나이","사냥","사람","사랑","사립","사모님","사물","사방","사상","사생활","사설","사슴","사실","사업","사용","사월","사장","사전","사진","사촌","사춘기","사탕","사투리","사흘","산길","산부인과","산업","산책","살림","살인","살짝","삼계탕","삼국","삼십","삼월","삼촌","상관","상금","상대","상류","상반기","상상","상식","상업","상인","상자","상점","상처","상추","상태","상표","상품","상황","새벽","색깔","색연필","생각","생명","생물","생방송","생산","생선","생신","생일","생활","서랍","서른","서명","서민","서비스","서양","서울","서적","서점","서쪽","서클","석사","석유","선거","선물","선배","선생","선수","선원","선장","선전","선택","선풍기","설거지","설날","설렁탕","설명","설문","설사","설악산","설치","설탕","섭씨","성공","성당","성명","성별","성인","성장","성적","성질","성함","세금","세미나","세상","세월","세종대왕","세탁","센터","센티미터","셋째","소규모","소극적","소금","소나기","소년","소득","소망","소문","소설","소속","소아과","소용","소원","소음","소중히","소지품","소질","소풍","소형","속담","속도","속옷","손가락","손길","손녀","손님","손등","손목","손뼉","손실","손질","손톱","손해","솔직히","솜씨","송아지","송이","송편","쇠고기","쇼핑","수건","수년","수단","수돗물","수동적","수면","수명","수박","수상","수석","수술","수시로","수업","수염","수영","수입","수준","수집","수출","수컷","수필","수학","수험생","수화기","숙녀","숙소","숙제","순간","순서","순수","순식간","순위","숟가락","술병","술집","숫자","스님","스물","스스로","스승","스웨터","스위치","스케이트","스튜디오","스트레스","스포츠","슬쩍","슬픔","습관","습기","승객","승리","승부","승용차","승진","시각","시간","시골","시금치","시나리오","시댁","시리즈","시멘트","시민","시부모","시선","시설","시스템","시아버지","시어머니","시월","시인","시일","시작","시장","시절","시점","시중","시즌","시집","시청","시합","시험","식구","식기","식당","식량","식료품","식물","식빵","식사","식생활","식초","식탁","식품","신고","신규","신념","신문","신발","신비","신사","신세","신용","신제품","신청","신체","신화","실감","실내","실력","실례","실망","실수","실습","실시","실장","실정","실질적","실천","실체","실컷","실태","실패","실험","실현","심리","심부름","심사","심장","심정","심판","쌍둥이","씨름","씨앗","아가씨","아나운서","아드님","아들","아쉬움","아스팔트","아시아","아울러","아저씨","아줌마","아직","아침","아파트","아프리카","아픔","아홉","아흔","악기","악몽","악수","안개","안경","안과","안내","안녕","안동","안방","안부","안주","알루미늄","알코올","암시","암컷","압력","앞날","앞문","애인","애정","액수","앨범","야간","야단","야옹","약간","약국","약속","약수","약점","약품","약혼녀","양념","양력","양말","양배추","양주","양파","어둠","어려움","어른","어젯밤","어쨌든","어쩌다가","어쩐지","언니","언덕","언론","언어","얼굴","얼른","얼음","얼핏","엄마","업무","업종","업체","엉덩이","엉망","엉터리","엊그제","에너지","에어컨","엔진","여건","여고생","여관","여군","여권","여대생","여덟","여동생","여든","여론","여름","여섯","여성","여왕","여인","여전히","여직원","여학생","여행","역사","역시","역할","연결","연구","연극","연기","연락","연설","연세","연속","연습","연애","연예인","연인","연장","연주","연출","연필","연합","연휴","열기","열매","열쇠","열심히","열정","열차","열흘","염려","엽서","영국","영남","영상","영양","영역","영웅","영원히","영하","영향","영혼","영화","옆구리","옆방","옆집","예감","예금","예방","예산","예상","예선","예술","예습","예식장","예약","예전","예절","예정","예컨대","옛날","오늘","오락","오랫동안","오렌지","오로지","오른발","오븐","오십","오염","오월","오전","오직","오징어","오페라","오피스텔","오히려","옥상","옥수수","온갖","온라인","온몸","온종일","온통","올가을","올림픽","올해","옷차림","와이셔츠","와인","완성","완전","왕비","왕자","왜냐하면","왠지","외갓집","외국","외로움","외삼촌","외출","외침","외할머니","왼발","왼손","왼쪽","요금","요일","요즘","요청","용기","용서","용어","우산","우선","우승","우연히","우정","우체국","우편","운동","운명","운반","운전","운행","울산","울음","움직임","웃어른","웃음","워낙","원고","원래","원서","원숭이","원인","원장","원피스","월급","월드컵","월세","월요일","웨이터","위반","위법","위성","위원","위험","위협","윗사람","유난히","유럽","유명","유물","유산","유적","유치원","유학","유행","유형","육군","육상","육십","육체","은행","음력","음료","음반","음성","음식","음악","음주","의견","의논","의문","의복","의식","의심","의외로","의욕","의원","의학","이것","이곳","이념","이놈","이달","이대로","이동","이렇게","이력서","이론적","이름","이민","이발소","이별","이불","이빨","이상","이성","이슬","이야기","이용","이웃","이월","이윽고","이익","이전","이중","이튿날","이틀","이혼","인간","인격","인공","인구","인근","인기","인도","인류","인물","인생","인쇄","인연","인원","인재","인종","인천","인체","인터넷","인하","인형","일곱","일기","일단","일대","일등","일반","일본","일부","일상","일생","일손","일요일","일월","일정","일종","일주일","일찍","일체","일치","일행","일회용","임금","임무","입대","입력","입맛","입사","입술","입시","입원","입장","입학","자가용","자격","자극","자동","자랑","자부심","자식","자신","자연","자원","자율","자전거","자정","자존심","자판","작가","작년","작성","작업","작용","작은딸","작품","잔디","잔뜩","잔치","잘못","잠깐","잠수함","잠시","잠옷","잠자리","잡지","장관","장군","장기간","장래","장례","장르","장마","장면","장모","장미","장비","장사","장소","장식","장애인","장인","장점","장차","장학금","재능","재빨리","재산","재생","재작년","재정","재채기","재판","재학","재활용","저것","저고리","저곳","저녁","저런","저렇게","저번","저울","저절로","저축","적극","적당히","적성","적용","적응","전개","전공","전기","전달","전라도","전망","전문","전반","전부","전세","전시","전용","전자","전쟁","전주","전철","전체","전통","전혀","전후","절대","절망","절반","절약","절차","점검","점수","점심","점원","점점","점차","접근","접시","접촉","젓가락","정거장","정도","정류장","정리","정말","정면","정문","정반대","정보","정부","정비","정상","정성","정오","정원","정장","정지","정치","정확히","제공","제과점","제대로","제목","제발","제법","제삿날","제안","제일","제작","제주도","제출","제품","제한","조각","조건","조금","조깅","조명","조미료","조상","조선","조용히","조절","조정","조직","존댓말","존재","졸업","졸음","종교","종로","종류","종소리","종업원","종종","종합","좌석","죄인","주관적","주름","주말","주머니","주먹","주문","주민","주방","주변","주식","주인","주일","주장","주전자","주택","준비","줄거리","줄기","줄무늬","중간","중계방송","중국","중년","중단","중독","중반","중부","중세","중소기업","중순","중앙","중요","중학교","즉석","즉시","즐거움","증가","증거","증권","증상","증세","지각","지갑","지경","지극히","지금","지급","지능","지름길","지리산","지방","지붕","지식","지역","지우개","지원","지적","지점","지진","지출","직선","직업","직원","직장","진급","진동","진로","진료","진리","진짜","진찰","진출","진통","진행","질문","질병","질서","짐작","집단","집안","집중","짜증","찌꺼기","차남","차라리","차량","차림","차별","차선","차츰","착각","찬물","찬성","참가","참기름","참새","참석","참여","참외","참조","찻잔","창가","창고","창구","창문","창밖","창작","창조","채널","채점","책가방","책방","책상","책임","챔피언","처벌","처음","천국","천둥","천장","천재","천천히","철도","철저히","철학","첫날","첫째","청년","청바지","청소","청춘","체계","체력","체온","체육","체중","체험","초등학생","초반","초밥","초상화","초순","초여름","초원","초저녁","초점","초청","초콜릿","촛불","총각","총리","총장","촬영","최근","최상","최선","최신","최악","최종","추석","추억","추진","추천","추측","축구","축소","축제","축하","출근","출발","출산","출신","출연","출입","출장","출판","충격","충고","충돌","충분히","충청도","취업","취직","취향","치약","친구","친척","칠십","칠월","칠판","침대","침묵","침실","칫솔","칭찬","카메라","카운터","칼국수","캐릭터","캠퍼스","캠페인","커튼","컨디션","컬러","컴퓨터","코끼리","코미디","콘서트","콜라","콤플렉스","콩나물","쾌감","쿠데타","크림","큰길","큰딸","큰소리","큰아들","큰어머니","큰일","큰절","클래식","클럽","킬로","타입","타자기","탁구","탁자","탄생","태권도","태양","태풍","택시","탤런트","터널","터미널","테니스","테스트","테이블","텔레비전","토론","토마토","토요일","통계","통과","통로","통신","통역","통일","통장","통제","통증","통합","통화","퇴근","퇴원","퇴직금","튀김","트럭","특급","특별","특성","특수","특징","특히","튼튼히","티셔츠","파란색","파일","파출소","판결","판단","판매","판사","팔십","팔월","팝송","패션","팩스","팩시밀리","팬티","퍼센트","페인트","편견","편의","편지","편히","평가","평균","평생","평소","평양","평일","평화","포스터","포인트","포장","포함","표면","표정","표준","표현","품목","품질","풍경","풍속","풍습","프랑스","프린터","플라스틱","피곤","피망","피아노","필름","필수","필요","필자","필통","핑계","하느님","하늘","하드웨어","하룻밤","하반기","하숙집","하순","하여튼","하지만","하천","하품","하필","학과","학교","학급","학기","학년","학력","학번","학부모","학비","학생","학술","학습","학용품","학원","학위","학자","학점","한계","한글","한꺼번에","한낮","한눈","한동안","한때","한라산","한마디","한문","한번","한복","한식","한여름","한쪽","할머니","할아버지","할인","함께","함부로","합격","합리적","항공","항구","항상","항의","해결","해군","해답","해당","해물","해석","해설","해수욕장","해안","핵심","핸드백","햄버거","햇볕","햇살","행동","행복","행사","행운","행위","향기","향상","향수","허락","허용","헬기","현관","현금","현대","현상","현실","현장","현재","현지","혈액","협력","형부","형사","형수","형식","형제","형태","형편","혜택","호기심","호남","호랑이","호박","호텔","호흡","혹시","홀로","홈페이지","홍보","홍수","홍차","화면","화분","화살","화요일","화장","화학","확보","확인","확장","확정","환갑","환경","환영","환율","환자","활기","활동","활발히","활용","활짝","회견","회관","회복","회색","회원","회장","회전","횟수","횡단보도","효율적","후반","후춧가루","훈련","훨씬","휴식","휴일","흉내","흐름","흑백","흑인","흔적","흔히","흥미","흥분","희곡","희망","희생","흰색","힘껏"]')},function(e){e.exports=JSON.parse('["abaisser","abandon","abdiquer","abeille","abolir","aborder","aboutir","aboyer","abrasif","abreuver","abriter","abroger","abrupt","absence","absolu","absurde","abusif","abyssal","académie","acajou","acarien","accabler","accepter","acclamer","accolade","accroche","accuser","acerbe","achat","acheter","aciduler","acier","acompte","acquérir","acronyme","acteur","actif","actuel","adepte","adéquat","adhésif","adjectif","adjuger","admettre","admirer","adopter","adorer","adoucir","adresse","adroit","adulte","adverbe","aérer","aéronef","affaire","affecter","affiche","affreux","affubler","agacer","agencer","agile","agiter","agrafer","agréable","agrume","aider","aiguille","ailier","aimable","aisance","ajouter","ajuster","alarmer","alchimie","alerte","algèbre","algue","aliéner","aliment","alléger","alliage","allouer","allumer","alourdir","alpaga","altesse","alvéole","amateur","ambigu","ambre","aménager","amertume","amidon","amiral","amorcer","amour","amovible","amphibie","ampleur","amusant","analyse","anaphore","anarchie","anatomie","ancien","anéantir","angle","angoisse","anguleux","animal","annexer","annonce","annuel","anodin","anomalie","anonyme","anormal","antenne","antidote","anxieux","apaiser","apéritif","aplanir","apologie","appareil","appeler","apporter","appuyer","aquarium","aqueduc","arbitre","arbuste","ardeur","ardoise","argent","arlequin","armature","armement","armoire","armure","arpenter","arracher","arriver","arroser","arsenic","artériel","article","aspect","asphalte","aspirer","assaut","asservir","assiette","associer","assurer","asticot","astre","astuce","atelier","atome","atrium","atroce","attaque","attentif","attirer","attraper","aubaine","auberge","audace","audible","augurer","aurore","automne","autruche","avaler","avancer","avarice","avenir","averse","aveugle","aviateur","avide","avion","aviser","avoine","avouer","avril","axial","axiome","badge","bafouer","bagage","baguette","baignade","balancer","balcon","baleine","balisage","bambin","bancaire","bandage","banlieue","bannière","banquier","barbier","baril","baron","barque","barrage","bassin","bastion","bataille","bateau","batterie","baudrier","bavarder","belette","bélier","belote","bénéfice","berceau","berger","berline","bermuda","besace","besogne","bétail","beurre","biberon","bicycle","bidule","bijou","bilan","bilingue","billard","binaire","biologie","biopsie","biotype","biscuit","bison","bistouri","bitume","bizarre","blafard","blague","blanchir","blessant","blinder","blond","bloquer","blouson","bobard","bobine","boire","boiser","bolide","bonbon","bondir","bonheur","bonifier","bonus","bordure","borne","botte","boucle","boueux","bougie","boulon","bouquin","bourse","boussole","boutique","boxeur","branche","brasier","brave","brebis","brèche","breuvage","bricoler","brigade","brillant","brioche","brique","brochure","broder","bronzer","brousse","broyeur","brume","brusque","brutal","bruyant","buffle","buisson","bulletin","bureau","burin","bustier","butiner","butoir","buvable","buvette","cabanon","cabine","cachette","cadeau","cadre","caféine","caillou","caisson","calculer","calepin","calibre","calmer","calomnie","calvaire","camarade","caméra","camion","campagne","canal","caneton","canon","cantine","canular","capable","caporal","caprice","capsule","capter","capuche","carabine","carbone","caresser","caribou","carnage","carotte","carreau","carton","cascade","casier","casque","cassure","causer","caution","cavalier","caverne","caviar","cédille","ceinture","céleste","cellule","cendrier","censurer","central","cercle","cérébral","cerise","cerner","cerveau","cesser","chagrin","chaise","chaleur","chambre","chance","chapitre","charbon","chasseur","chaton","chausson","chavirer","chemise","chenille","chéquier","chercher","cheval","chien","chiffre","chignon","chimère","chiot","chlorure","chocolat","choisir","chose","chouette","chrome","chute","cigare","cigogne","cimenter","cinéma","cintrer","circuler","cirer","cirque","citerne","citoyen","citron","civil","clairon","clameur","claquer","classe","clavier","client","cligner","climat","clivage","cloche","clonage","cloporte","cobalt","cobra","cocasse","cocotier","coder","codifier","coffre","cogner","cohésion","coiffer","coincer","colère","colibri","colline","colmater","colonel","combat","comédie","commande","compact","concert","conduire","confier","congeler","connoter","consonne","contact","convexe","copain","copie","corail","corbeau","cordage","corniche","corpus","correct","cortège","cosmique","costume","coton","coude","coupure","courage","couteau","couvrir","coyote","crabe","crainte","cravate","crayon","créature","créditer","crémeux","creuser","crevette","cribler","crier","cristal","critère","croire","croquer","crotale","crucial","cruel","crypter","cubique","cueillir","cuillère","cuisine","cuivre","culminer","cultiver","cumuler","cupide","curatif","curseur","cyanure","cycle","cylindre","cynique","daigner","damier","danger","danseur","dauphin","débattre","débiter","déborder","débrider","débutant","décaler","décembre","déchirer","décider","déclarer","décorer","décrire","décupler","dédale","déductif","déesse","défensif","défiler","défrayer","dégager","dégivrer","déglutir","dégrafer","déjeuner","délice","déloger","demander","demeurer","démolir","dénicher","dénouer","dentelle","dénuder","départ","dépenser","déphaser","déplacer","déposer","déranger","dérober","désastre","descente","désert","désigner","désobéir","dessiner","destrier","détacher","détester","détourer","détresse","devancer","devenir","deviner","devoir","diable","dialogue","diamant","dicter","différer","digérer","digital","digne","diluer","dimanche","diminuer","dioxyde","directif","diriger","discuter","disposer","dissiper","distance","divertir","diviser","docile","docteur","dogme","doigt","domaine","domicile","dompter","donateur","donjon","donner","dopamine","dortoir","dorure","dosage","doseur","dossier","dotation","douanier","double","douceur","douter","doyen","dragon","draper","dresser","dribbler","droiture","duperie","duplexe","durable","durcir","dynastie","éblouir","écarter","écharpe","échelle","éclairer","éclipse","éclore","écluse","école","économie","écorce","écouter","écraser","écrémer","écrivain","écrou","écume","écureuil","édifier","éduquer","effacer","effectif","effigie","effort","effrayer","effusion","égaliser","égarer","éjecter","élaborer","élargir","électron","élégant","éléphant","élève","éligible","élitisme","éloge","élucider","éluder","emballer","embellir","embryon","émeraude","émission","emmener","émotion","émouvoir","empereur","employer","emporter","emprise","émulsion","encadrer","enchère","enclave","encoche","endiguer","endosser","endroit","enduire","énergie","enfance","enfermer","enfouir","engager","engin","englober","énigme","enjamber","enjeu","enlever","ennemi","ennuyeux","enrichir","enrobage","enseigne","entasser","entendre","entier","entourer","entraver","énumérer","envahir","enviable","envoyer","enzyme","éolien","épaissir","épargne","épatant","épaule","épicerie","épidémie","épier","épilogue","épine","épisode","épitaphe","époque","épreuve","éprouver","épuisant","équerre","équipe","ériger","érosion","erreur","éruption","escalier","espadon","espèce","espiègle","espoir","esprit","esquiver","essayer","essence","essieu","essorer","estime","estomac","estrade","étagère","étaler","étanche","étatique","éteindre","étendoir","éternel","éthanol","éthique","ethnie","étirer","étoffer","étoile","étonnant","étourdir","étrange","étroit","étude","euphorie","évaluer","évasion","éventail","évidence","éviter","évolutif","évoquer","exact","exagérer","exaucer","exceller","excitant","exclusif","excuse","exécuter","exemple","exercer","exhaler","exhorter","exigence","exiler","exister","exotique","expédier","explorer","exposer","exprimer","exquis","extensif","extraire","exulter","fable","fabuleux","facette","facile","facture","faiblir","falaise","fameux","famille","farceur","farfelu","farine","farouche","fasciner","fatal","fatigue","faucon","fautif","faveur","favori","fébrile","féconder","fédérer","félin","femme","fémur","fendoir","féodal","fermer","féroce","ferveur","festival","feuille","feutre","février","fiasco","ficeler","fictif","fidèle","figure","filature","filetage","filière","filleul","filmer","filou","filtrer","financer","finir","fiole","firme","fissure","fixer","flairer","flamme","flasque","flatteur","fléau","flèche","fleur","flexion","flocon","flore","fluctuer","fluide","fluvial","folie","fonderie","fongible","fontaine","forcer","forgeron","formuler","fortune","fossile","foudre","fougère","fouiller","foulure","fourmi","fragile","fraise","franchir","frapper","frayeur","frégate","freiner","frelon","frémir","frénésie","frère","friable","friction","frisson","frivole","froid","fromage","frontal","frotter","fruit","fugitif","fuite","fureur","furieux","furtif","fusion","futur","gagner","galaxie","galerie","gambader","garantir","gardien","garnir","garrigue","gazelle","gazon","géant","gélatine","gélule","gendarme","général","génie","genou","gentil","géologie","géomètre","géranium","germe","gestuel","geyser","gibier","gicler","girafe","givre","glace","glaive","glisser","globe","gloire","glorieux","golfeur","gomme","gonfler","gorge","gorille","goudron","gouffre","goulot","goupille","gourmand","goutte","graduel","graffiti","graine","grand","grappin","gratuit","gravir","grenat","griffure","griller","grimper","grogner","gronder","grotte","groupe","gruger","grutier","gruyère","guépard","guerrier","guide","guimauve","guitare","gustatif","gymnaste","gyrostat","habitude","hachoir","halte","hameau","hangar","hanneton","haricot","harmonie","harpon","hasard","hélium","hématome","herbe","hérisson","hermine","héron","hésiter","heureux","hiberner","hibou","hilarant","histoire","hiver","homard","hommage","homogène","honneur","honorer","honteux","horde","horizon","horloge","hormone","horrible","houleux","housse","hublot","huileux","humain","humble","humide","humour","hurler","hydromel","hygiène","hymne","hypnose","idylle","ignorer","iguane","illicite","illusion","image","imbiber","imiter","immense","immobile","immuable","impact","impérial","implorer","imposer","imprimer","imputer","incarner","incendie","incident","incliner","incolore","indexer","indice","inductif","inédit","ineptie","inexact","infini","infliger","informer","infusion","ingérer","inhaler","inhiber","injecter","injure","innocent","inoculer","inonder","inscrire","insecte","insigne","insolite","inspirer","instinct","insulter","intact","intense","intime","intrigue","intuitif","inutile","invasion","inventer","inviter","invoquer","ironique","irradier","irréel","irriter","isoler","ivoire","ivresse","jaguar","jaillir","jambe","janvier","jardin","jauger","jaune","javelot","jetable","jeton","jeudi","jeunesse","joindre","joncher","jongler","joueur","jouissif","journal","jovial","joyau","joyeux","jubiler","jugement","junior","jupon","juriste","justice","juteux","juvénile","kayak","kimono","kiosque","label","labial","labourer","lacérer","lactose","lagune","laine","laisser","laitier","lambeau","lamelle","lampe","lanceur","langage","lanterne","lapin","largeur","larme","laurier","lavabo","lavoir","lecture","légal","léger","légume","lessive","lettre","levier","lexique","lézard","liasse","libérer","libre","licence","licorne","liège","lièvre","ligature","ligoter","ligue","limer","limite","limonade","limpide","linéaire","lingot","lionceau","liquide","lisière","lister","lithium","litige","littoral","livreur","logique","lointain","loisir","lombric","loterie","louer","lourd","loutre","louve","loyal","lubie","lucide","lucratif","lueur","lugubre","luisant","lumière","lunaire","lundi","luron","lutter","luxueux","machine","magasin","magenta","magique","maigre","maillon","maintien","mairie","maison","majorer","malaxer","maléfice","malheur","malice","mallette","mammouth","mandater","maniable","manquant","manteau","manuel","marathon","marbre","marchand","mardi","maritime","marqueur","marron","marteler","mascotte","massif","matériel","matière","matraque","maudire","maussade","mauve","maximal","méchant","méconnu","médaille","médecin","méditer","méduse","meilleur","mélange","mélodie","membre","mémoire","menacer","mener","menhir","mensonge","mentor","mercredi","mérite","merle","messager","mesure","métal","météore","méthode","métier","meuble","miauler","microbe","miette","mignon","migrer","milieu","million","mimique","mince","minéral","minimal","minorer","minute","miracle","miroiter","missile","mixte","mobile","moderne","moelleux","mondial","moniteur","monnaie","monotone","monstre","montagne","monument","moqueur","morceau","morsure","mortier","moteur","motif","mouche","moufle","moulin","mousson","mouton","mouvant","multiple","munition","muraille","murène","murmure","muscle","muséum","musicien","mutation","muter","mutuel","myriade","myrtille","mystère","mythique","nageur","nappe","narquois","narrer","natation","nation","nature","naufrage","nautique","navire","nébuleux","nectar","néfaste","négation","négliger","négocier","neige","nerveux","nettoyer","neurone","neutron","neveu","niche","nickel","nitrate","niveau","noble","nocif","nocturne","noirceur","noisette","nomade","nombreux","nommer","normatif","notable","notifier","notoire","nourrir","nouveau","novateur","novembre","novice","nuage","nuancer","nuire","nuisible","numéro","nuptial","nuque","nutritif","obéir","objectif","obliger","obscur","observer","obstacle","obtenir","obturer","occasion","occuper","océan","octobre","octroyer","octupler","oculaire","odeur","odorant","offenser","officier","offrir","ogive","oiseau","oisillon","olfactif","olivier","ombrage","omettre","onctueux","onduler","onéreux","onirique","opale","opaque","opérer","opinion","opportun","opprimer","opter","optique","orageux","orange","orbite","ordonner","oreille","organe","orgueil","orifice","ornement","orque","ortie","osciller","osmose","ossature","otarie","ouragan","ourson","outil","outrager","ouvrage","ovation","oxyde","oxygène","ozone","paisible","palace","palmarès","palourde","palper","panache","panda","pangolin","paniquer","panneau","panorama","pantalon","papaye","papier","papoter","papyrus","paradoxe","parcelle","paresse","parfumer","parler","parole","parrain","parsemer","partager","parure","parvenir","passion","pastèque","paternel","patience","patron","pavillon","pavoiser","payer","paysage","peigne","peintre","pelage","pélican","pelle","pelouse","peluche","pendule","pénétrer","pénible","pensif","pénurie","pépite","péplum","perdrix","perforer","période","permuter","perplexe","persil","perte","peser","pétale","petit","pétrir","peuple","pharaon","phobie","phoque","photon","phrase","physique","piano","pictural","pièce","pierre","pieuvre","pilote","pinceau","pipette","piquer","pirogue","piscine","piston","pivoter","pixel","pizza","placard","plafond","plaisir","planer","plaque","plastron","plateau","pleurer","plexus","pliage","plomb","plonger","pluie","plumage","pochette","poésie","poète","pointe","poirier","poisson","poivre","polaire","policier","pollen","polygone","pommade","pompier","ponctuel","pondérer","poney","portique","position","posséder","posture","potager","poteau","potion","pouce","poulain","poumon","pourpre","poussin","pouvoir","prairie","pratique","précieux","prédire","préfixe","prélude","prénom","présence","prétexte","prévoir","primitif","prince","prison","priver","problème","procéder","prodige","profond","progrès","proie","projeter","prologue","promener","propre","prospère","protéger","prouesse","proverbe","prudence","pruneau","psychose","public","puceron","puiser","pulpe","pulsar","punaise","punitif","pupitre","purifier","puzzle","pyramide","quasar","querelle","question","quiétude","quitter","quotient","racine","raconter","radieux","ragondin","raideur","raisin","ralentir","rallonge","ramasser","rapide","rasage","ratisser","ravager","ravin","rayonner","réactif","réagir","réaliser","réanimer","recevoir","réciter","réclamer","récolter","recruter","reculer","recycler","rédiger","redouter","refaire","réflexe","réformer","refrain","refuge","régalien","région","réglage","régulier","réitérer","rejeter","rejouer","relatif","relever","relief","remarque","remède","remise","remonter","remplir","remuer","renard","renfort","renifler","renoncer","rentrer","renvoi","replier","reporter","reprise","reptile","requin","réserve","résineux","résoudre","respect","rester","résultat","rétablir","retenir","réticule","retomber","retracer","réunion","réussir","revanche","revivre","révolte","révulsif","richesse","rideau","rieur","rigide","rigoler","rincer","riposter","risible","risque","rituel","rival","rivière","rocheux","romance","rompre","ronce","rondin","roseau","rosier","rotatif","rotor","rotule","rouge","rouille","rouleau","routine","royaume","ruban","rubis","ruche","ruelle","rugueux","ruiner","ruisseau","ruser","rustique","rythme","sabler","saboter","sabre","sacoche","safari","sagesse","saisir","salade","salive","salon","saluer","samedi","sanction","sanglier","sarcasme","sardine","saturer","saugrenu","saumon","sauter","sauvage","savant","savonner","scalpel","scandale","scélérat","scénario","sceptre","schéma","science","scinder","score","scrutin","sculpter","séance","sécable","sécher","secouer","sécréter","sédatif","séduire","seigneur","séjour","sélectif","semaine","sembler","semence","séminal","sénateur","sensible","sentence","séparer","séquence","serein","sergent","sérieux","serrure","sérum","service","sésame","sévir","sevrage","sextuple","sidéral","siècle","siéger","siffler","sigle","signal","silence","silicium","simple","sincère","sinistre","siphon","sirop","sismique","situer","skier","social","socle","sodium","soigneux","soldat","soleil","solitude","soluble","sombre","sommeil","somnoler","sonde","songeur","sonnette","sonore","sorcier","sortir","sosie","sottise","soucieux","soudure","souffle","soulever","soupape","source","soutirer","souvenir","spacieux","spatial","spécial","sphère","spiral","stable","station","sternum","stimulus","stipuler","strict","studieux","stupeur","styliste","sublime","substrat","subtil","subvenir","succès","sucre","suffixe","suggérer","suiveur","sulfate","superbe","supplier","surface","suricate","surmener","surprise","sursaut","survie","suspect","syllabe","symbole","symétrie","synapse","syntaxe","système","tabac","tablier","tactile","tailler","talent","talisman","talonner","tambour","tamiser","tangible","tapis","taquiner","tarder","tarif","tartine","tasse","tatami","tatouage","taupe","taureau","taxer","témoin","temporel","tenaille","tendre","teneur","tenir","tension","terminer","terne","terrible","tétine","texte","thème","théorie","thérapie","thorax","tibia","tiède","timide","tirelire","tiroir","tissu","titane","titre","tituber","toboggan","tolérant","tomate","tonique","tonneau","toponyme","torche","tordre","tornade","torpille","torrent","torse","tortue","totem","toucher","tournage","tousser","toxine","traction","trafic","tragique","trahir","train","trancher","travail","trèfle","tremper","trésor","treuil","triage","tribunal","tricoter","trilogie","triomphe","tripler","triturer","trivial","trombone","tronc","tropical","troupeau","tuile","tulipe","tumulte","tunnel","turbine","tuteur","tutoyer","tuyau","tympan","typhon","typique","tyran","ubuesque","ultime","ultrason","unanime","unifier","union","unique","unitaire","univers","uranium","urbain","urticant","usage","usine","usuel","usure","utile","utopie","vacarme","vaccin","vagabond","vague","vaillant","vaincre","vaisseau","valable","valise","vallon","valve","vampire","vanille","vapeur","varier","vaseux","vassal","vaste","vecteur","vedette","végétal","véhicule","veinard","véloce","vendredi","vénérer","venger","venimeux","ventouse","verdure","vérin","vernir","verrou","verser","vertu","veston","vétéran","vétuste","vexant","vexer","viaduc","viande","victoire","vidange","vidéo","vignette","vigueur","vilain","village","vinaigre","violon","vipère","virement","virtuose","virus","visage","viseur","vision","visqueux","visuel","vital","vitesse","viticole","vitrine","vivace","vivipare","vocation","voguer","voile","voisin","voiture","volaille","volcan","voltiger","volume","vorace","vortex","voter","vouloir","voyage","voyelle","wagon","xénon","yacht","zèbre","zénith","zeste","zoologie"]')},function(e){e.exports=JSON.parse('["abaco","abbaglio","abbinato","abete","abisso","abolire","abrasivo","abrogato","accadere","accenno","accusato","acetone","achille","acido","acqua","acre","acrilico","acrobata","acuto","adagio","addebito","addome","adeguato","aderire","adipe","adottare","adulare","affabile","affetto","affisso","affranto","aforisma","afoso","africano","agave","agente","agevole","aggancio","agire","agitare","agonismo","agricolo","agrumeto","aguzzo","alabarda","alato","albatro","alberato","albo","albume","alce","alcolico","alettone","alfa","algebra","aliante","alibi","alimento","allagato","allegro","allievo","allodola","allusivo","almeno","alogeno","alpaca","alpestre","altalena","alterno","alticcio","altrove","alunno","alveolo","alzare","amalgama","amanita","amarena","ambito","ambrato","ameba","america","ametista","amico","ammasso","ammenda","ammirare","ammonito","amore","ampio","ampliare","amuleto","anacardo","anagrafe","analista","anarchia","anatra","anca","ancella","ancora","andare","andrea","anello","angelo","angolare","angusto","anima","annegare","annidato","anno","annuncio","anonimo","anticipo","anzi","apatico","apertura","apode","apparire","appetito","appoggio","approdo","appunto","aprile","arabica","arachide","aragosta","araldica","arancio","aratura","arazzo","arbitro","archivio","ardito","arenile","argento","argine","arguto","aria","armonia","arnese","arredato","arringa","arrosto","arsenico","arso","artefice","arzillo","asciutto","ascolto","asepsi","asettico","asfalto","asino","asola","aspirato","aspro","assaggio","asse","assoluto","assurdo","asta","astenuto","astice","astratto","atavico","ateismo","atomico","atono","attesa","attivare","attorno","attrito","attuale","ausilio","austria","autista","autonomo","autunno","avanzato","avere","avvenire","avviso","avvolgere","azione","azoto","azzimo","azzurro","babele","baccano","bacino","baco","badessa","badilata","bagnato","baita","balcone","baldo","balena","ballata","balzano","bambino","bandire","baraonda","barbaro","barca","baritono","barlume","barocco","basilico","basso","batosta","battuto","baule","bava","bavosa","becco","beffa","belgio","belva","benda","benevole","benigno","benzina","bere","berlina","beta","bibita","bici","bidone","bifido","biga","bilancia","bimbo","binocolo","biologo","bipede","bipolare","birbante","birra","biscotto","bisesto","bisnonno","bisonte","bisturi","bizzarro","blando","blatta","bollito","bonifico","bordo","bosco","botanico","bottino","bozzolo","braccio","bradipo","brama","branca","bravura","bretella","brevetto","brezza","briglia","brillante","brindare","broccolo","brodo","bronzina","brullo","bruno","bubbone","buca","budino","buffone","buio","bulbo","buono","burlone","burrasca","bussola","busta","cadetto","caduco","calamaro","calcolo","calesse","calibro","calmo","caloria","cambusa","camerata","camicia","cammino","camola","campale","canapa","candela","cane","canino","canotto","cantina","capace","capello","capitolo","capogiro","cappero","capra","capsula","carapace","carcassa","cardo","carisma","carovana","carretto","cartolina","casaccio","cascata","caserma","caso","cassone","castello","casuale","catasta","catena","catrame","cauto","cavillo","cedibile","cedrata","cefalo","celebre","cellulare","cena","cenone","centesimo","ceramica","cercare","certo","cerume","cervello","cesoia","cespo","ceto","chela","chiaro","chicca","chiedere","chimera","china","chirurgo","chitarra","ciao","ciclismo","cifrare","cigno","cilindro","ciottolo","circa","cirrosi","citrico","cittadino","ciuffo","civetta","civile","classico","clinica","cloro","cocco","codardo","codice","coerente","cognome","collare","colmato","colore","colposo","coltivato","colza","coma","cometa","commando","comodo","computer","comune","conciso","condurre","conferma","congelare","coniuge","connesso","conoscere","consumo","continuo","convegno","coperto","copione","coppia","copricapo","corazza","cordata","coricato","cornice","corolla","corpo","corredo","corsia","cortese","cosmico","costante","cottura","covato","cratere","cravatta","creato","credere","cremoso","crescita","creta","criceto","crinale","crisi","critico","croce","cronaca","crostata","cruciale","crusca","cucire","cuculo","cugino","cullato","cupola","curatore","cursore","curvo","cuscino","custode","dado","daino","dalmata","damerino","daniela","dannoso","danzare","datato","davanti","davvero","debutto","decennio","deciso","declino","decollo","decreto","dedicato","definito","deforme","degno","delegare","delfino","delirio","delta","demenza","denotato","dentro","deposito","derapata","derivare","deroga","descritto","deserto","desiderio","desumere","detersivo","devoto","diametro","dicembre","diedro","difeso","diffuso","digerire","digitale","diluvio","dinamico","dinnanzi","dipinto","diploma","dipolo","diradare","dire","dirotto","dirupo","disagio","discreto","disfare","disgelo","disposto","distanza","disumano","dito","divano","divelto","dividere","divorato","doblone","docente","doganale","dogma","dolce","domato","domenica","dominare","dondolo","dono","dormire","dote","dottore","dovuto","dozzina","drago","druido","dubbio","dubitare","ducale","duna","duomo","duplice","duraturo","ebano","eccesso","ecco","eclissi","economia","edera","edicola","edile","editoria","educare","egemonia","egli","egoismo","egregio","elaborato","elargire","elegante","elencato","eletto","elevare","elfico","elica","elmo","elsa","eluso","emanato","emblema","emesso","emiro","emotivo","emozione","empirico","emulo","endemico","enduro","energia","enfasi","enoteca","entrare","enzima","epatite","epilogo","episodio","epocale","eppure","equatore","erario","erba","erboso","erede","eremita","erigere","ermetico","eroe","erosivo","errante","esagono","esame","esanime","esaudire","esca","esempio","esercito","esibito","esigente","esistere","esito","esofago","esortato","esoso","espanso","espresso","essenza","esso","esteso","estimare","estonia","estroso","esultare","etilico","etnico","etrusco","etto","euclideo","europa","evaso","evidenza","evitato","evoluto","evviva","fabbrica","faccenda","fachiro","falco","famiglia","fanale","fanfara","fango","fantasma","fare","farfalla","farinoso","farmaco","fascia","fastoso","fasullo","faticare","fato","favoloso","febbre","fecola","fede","fegato","felpa","feltro","femmina","fendere","fenomeno","fermento","ferro","fertile","fessura","festivo","fetta","feudo","fiaba","fiducia","fifa","figurato","filo","finanza","finestra","finire","fiore","fiscale","fisico","fiume","flacone","flamenco","flebo","flemma","florido","fluente","fluoro","fobico","focaccia","focoso","foderato","foglio","folata","folclore","folgore","fondente","fonetico","fonia","fontana","forbito","forchetta","foresta","formica","fornaio","foro","fortezza","forzare","fosfato","fosso","fracasso","frana","frassino","fratello","freccetta","frenata","fresco","frigo","frollino","fronde","frugale","frutta","fucilata","fucsia","fuggente","fulmine","fulvo","fumante","fumetto","fumoso","fune","funzione","fuoco","furbo","furgone","furore","fuso","futile","gabbiano","gaffe","galateo","gallina","galoppo","gambero","gamma","garanzia","garbo","garofano","garzone","gasdotto","gasolio","gastrico","gatto","gaudio","gazebo","gazzella","geco","gelatina","gelso","gemello","gemmato","gene","genitore","gennaio","genotipo","gergo","ghepardo","ghiaccio","ghisa","giallo","gilda","ginepro","giocare","gioiello","giorno","giove","girato","girone","gittata","giudizio","giurato","giusto","globulo","glutine","gnomo","gobba","golf","gomito","gommone","gonfio","gonna","governo","gracile","grado","grafico","grammo","grande","grattare","gravoso","grazia","greca","gregge","grifone","grigio","grinza","grotta","gruppo","guadagno","guaio","guanto","guardare","gufo","guidare","ibernato","icona","identico","idillio","idolo","idra","idrico","idrogeno","igiene","ignaro","ignorato","ilare","illeso","illogico","illudere","imballo","imbevuto","imbocco","imbuto","immane","immerso","immolato","impacco","impeto","impiego","importo","impronta","inalare","inarcare","inattivo","incanto","incendio","inchino","incisivo","incluso","incontro","incrocio","incubo","indagine","india","indole","inedito","infatti","infilare","inflitto","ingaggio","ingegno","inglese","ingordo","ingrosso","innesco","inodore","inoltrare","inondato","insano","insetto","insieme","insonnia","insulina","intasato","intero","intonaco","intuito","inumidire","invalido","invece","invito","iperbole","ipnotico","ipotesi","ippica","iride","irlanda","ironico","irrigato","irrorare","isolato","isotopo","isterico","istituto","istrice","italia","iterare","labbro","labirinto","lacca","lacerato","lacrima","lacuna","laddove","lago","lampo","lancetta","lanterna","lardoso","larga","laringe","lastra","latenza","latino","lattuga","lavagna","lavoro","legale","leggero","lembo","lentezza","lenza","leone","lepre","lesivo","lessato","lesto","letterale","leva","levigato","libero","lido","lievito","lilla","limatura","limitare","limpido","lineare","lingua","liquido","lira","lirica","lisca","lite","litigio","livrea","locanda","lode","logica","lombare","londra","longevo","loquace","lorenzo","loto","lotteria","luce","lucidato","lumaca","luminoso","lungo","lupo","luppolo","lusinga","lusso","lutto","macabro","macchina","macero","macinato","madama","magico","maglia","magnete","magro","maiolica","malafede","malgrado","malinteso","malsano","malto","malumore","mana","mancia","mandorla","mangiare","manifesto","mannaro","manovra","mansarda","mantide","manubrio","mappa","maratona","marcire","maretta","marmo","marsupio","maschera","massaia","mastino","materasso","matricola","mattone","maturo","mazurca","meandro","meccanico","mecenate","medesimo","meditare","mega","melassa","melis","melodia","meninge","meno","mensola","mercurio","merenda","merlo","meschino","mese","messere","mestolo","metallo","metodo","mettere","miagolare","mica","micelio","michele","microbo","midollo","miele","migliore","milano","milite","mimosa","minerale","mini","minore","mirino","mirtillo","miscela","missiva","misto","misurare","mitezza","mitigare","mitra","mittente","mnemonico","modello","modifica","modulo","mogano","mogio","mole","molosso","monastero","monco","mondina","monetario","monile","monotono","monsone","montato","monviso","mora","mordere","morsicato","mostro","motivato","motosega","motto","movenza","movimento","mozzo","mucca","mucosa","muffa","mughetto","mugnaio","mulatto","mulinello","multiplo","mummia","munto","muovere","murale","musa","muscolo","musica","mutevole","muto","nababbo","nafta","nanometro","narciso","narice","narrato","nascere","nastrare","naturale","nautica","naviglio","nebulosa","necrosi","negativo","negozio","nemmeno","neofita","neretto","nervo","nessuno","nettuno","neutrale","neve","nevrotico","nicchia","ninfa","nitido","nobile","nocivo","nodo","nome","nomina","nordico","normale","norvegese","nostrano","notare","notizia","notturno","novella","nucleo","nulla","numero","nuovo","nutrire","nuvola","nuziale","oasi","obbedire","obbligo","obelisco","oblio","obolo","obsoleto","occasione","occhio","occidente","occorrere","occultare","ocra","oculato","odierno","odorare","offerta","offrire","offuscato","oggetto","oggi","ognuno","olandese","olfatto","oliato","oliva","ologramma","oltre","omaggio","ombelico","ombra","omega","omissione","ondoso","onere","onice","onnivoro","onorevole","onta","operato","opinione","opposto","oracolo","orafo","ordine","orecchino","orefice","orfano","organico","origine","orizzonte","orma","ormeggio","ornativo","orologio","orrendo","orribile","ortensia","ortica","orzata","orzo","osare","oscurare","osmosi","ospedale","ospite","ossa","ossidare","ostacolo","oste","otite","otre","ottagono","ottimo","ottobre","ovale","ovest","ovino","oviparo","ovocito","ovunque","ovviare","ozio","pacchetto","pace","pacifico","padella","padrone","paese","paga","pagina","palazzina","palesare","pallido","palo","palude","pandoro","pannello","paolo","paonazzo","paprica","parabola","parcella","parere","pargolo","pari","parlato","parola","partire","parvenza","parziale","passivo","pasticca","patacca","patologia","pattume","pavone","peccato","pedalare","pedonale","peggio","peloso","penare","pendice","penisola","pennuto","penombra","pensare","pentola","pepe","pepita","perbene","percorso","perdonato","perforare","pergamena","periodo","permesso","perno","perplesso","persuaso","pertugio","pervaso","pesatore","pesista","peso","pestifero","petalo","pettine","petulante","pezzo","piacere","pianta","piattino","piccino","picozza","piega","pietra","piffero","pigiama","pigolio","pigro","pila","pilifero","pillola","pilota","pimpante","pineta","pinna","pinolo","pioggia","piombo","piramide","piretico","pirite","pirolisi","pitone","pizzico","placebo","planare","plasma","platano","plenario","pochezza","poderoso","podismo","poesia","poggiare","polenta","poligono","pollice","polmonite","polpetta","polso","poltrona","polvere","pomice","pomodoro","ponte","popoloso","porfido","poroso","porpora","porre","portata","posa","positivo","possesso","postulato","potassio","potere","pranzo","prassi","pratica","precluso","predica","prefisso","pregiato","prelievo","premere","prenotare","preparato","presenza","pretesto","prevalso","prima","principe","privato","problema","procura","produrre","profumo","progetto","prolunga","promessa","pronome","proposta","proroga","proteso","prova","prudente","prugna","prurito","psiche","pubblico","pudica","pugilato","pugno","pulce","pulito","pulsante","puntare","pupazzo","pupilla","puro","quadro","qualcosa","quasi","querela","quota","raccolto","raddoppio","radicale","radunato","raffica","ragazzo","ragione","ragno","ramarro","ramingo","ramo","randagio","rantolare","rapato","rapina","rappreso","rasatura","raschiato","rasente","rassegna","rastrello","rata","ravveduto","reale","recepire","recinto","recluta","recondito","recupero","reddito","redimere","regalato","registro","regola","regresso","relazione","remare","remoto","renna","replica","reprimere","reputare","resa","residente","responso","restauro","rete","retina","retorica","rettifica","revocato","riassunto","ribadire","ribelle","ribrezzo","ricarica","ricco","ricevere","riciclato","ricordo","ricreduto","ridicolo","ridurre","rifasare","riflesso","riforma","rifugio","rigare","rigettato","righello","rilassato","rilevato","rimanere","rimbalzo","rimedio","rimorchio","rinascita","rincaro","rinforzo","rinnovo","rinomato","rinsavito","rintocco","rinuncia","rinvenire","riparato","ripetuto","ripieno","riportare","ripresa","ripulire","risata","rischio","riserva","risibile","riso","rispetto","ristoro","risultato","risvolto","ritardo","ritegno","ritmico","ritrovo","riunione","riva","riverso","rivincita","rivolto","rizoma","roba","robotico","robusto","roccia","roco","rodaggio","rodere","roditore","rogito","rollio","romantico","rompere","ronzio","rosolare","rospo","rotante","rotondo","rotula","rovescio","rubizzo","rubrica","ruga","rullino","rumine","rumoroso","ruolo","rupe","russare","rustico","sabato","sabbiare","sabotato","sagoma","salasso","saldatura","salgemma","salivare","salmone","salone","saltare","saluto","salvo","sapere","sapido","saporito","saraceno","sarcasmo","sarto","sassoso","satellite","satira","satollo","saturno","savana","savio","saziato","sbadiglio","sbalzo","sbancato","sbarra","sbattere","sbavare","sbendare","sbirciare","sbloccato","sbocciato","sbrinare","sbruffone","sbuffare","scabroso","scadenza","scala","scambiare","scandalo","scapola","scarso","scatenare","scavato","scelto","scenico","scettro","scheda","schiena","sciarpa","scienza","scindere","scippo","sciroppo","scivolo","sclerare","scodella","scolpito","scomparto","sconforto","scoprire","scorta","scossone","scozzese","scriba","scrollare","scrutinio","scuderia","scultore","scuola","scuro","scusare","sdebitare","sdoganare","seccatura","secondo","sedano","seggiola","segnalato","segregato","seguito","selciato","selettivo","sella","selvaggio","semaforo","sembrare","seme","seminato","sempre","senso","sentire","sepolto","sequenza","serata","serbato","sereno","serio","serpente","serraglio","servire","sestina","setola","settimana","sfacelo","sfaldare","sfamato","sfarzoso","sfaticato","sfera","sfida","sfilato","sfinge","sfocato","sfoderare","sfogo","sfoltire","sforzato","sfratto","sfruttato","sfuggito","sfumare","sfuso","sgabello","sgarbato","sgonfiare","sgorbio","sgrassato","sguardo","sibilo","siccome","sierra","sigla","signore","silenzio","sillaba","simbolo","simpatico","simulato","sinfonia","singolo","sinistro","sino","sintesi","sinusoide","sipario","sisma","sistole","situato","slitta","slogatura","sloveno","smarrito","smemorato","smentito","smeraldo","smilzo","smontare","smottato","smussato","snellire","snervato","snodo","sobbalzo","sobrio","soccorso","sociale","sodale","soffitto","sogno","soldato","solenne","solido","sollazzo","solo","solubile","solvente","somatico","somma","sonda","sonetto","sonnifero","sopire","soppeso","sopra","sorgere","sorpasso","sorriso","sorso","sorteggio","sorvolato","sospiro","sosta","sottile","spada","spalla","spargere","spatola","spavento","spazzola","specie","spedire","spegnere","spelatura","speranza","spessore","spettrale","spezzato","spia","spigoloso","spillato","spinoso","spirale","splendido","sportivo","sposo","spranga","sprecare","spronato","spruzzo","spuntino","squillo","sradicare","srotolato","stabile","stacco","staffa","stagnare","stampato","stantio","starnuto","stasera","statuto","stelo","steppa","sterzo","stiletto","stima","stirpe","stivale","stizzoso","stonato","storico","strappo","stregato","stridulo","strozzare","strutto","stuccare","stufo","stupendo","subentro","succoso","sudore","suggerito","sugo","sultano","suonare","superbo","supporto","surgelato","surrogato","sussurro","sutura","svagare","svedese","sveglio","svelare","svenuto","svezia","sviluppo","svista","svizzera","svolta","svuotare","tabacco","tabulato","tacciare","taciturno","tale","talismano","tampone","tannino","tara","tardivo","targato","tariffa","tarpare","tartaruga","tasto","tattico","taverna","tavolata","tazza","teca","tecnico","telefono","temerario","tempo","temuto","tendone","tenero","tensione","tentacolo","teorema","terme","terrazzo","terzetto","tesi","tesserato","testato","tetro","tettoia","tifare","tigella","timbro","tinto","tipico","tipografo","tiraggio","tiro","titanio","titolo","titubante","tizio","tizzone","toccare","tollerare","tolto","tombola","tomo","tonfo","tonsilla","topazio","topologia","toppa","torba","tornare","torrone","tortora","toscano","tossire","tostatura","totano","trabocco","trachea","trafila","tragedia","tralcio","tramonto","transito","trapano","trarre","trasloco","trattato","trave","treccia","tremolio","trespolo","tributo","tricheco","trifoglio","trillo","trincea","trio","tristezza","triturato","trivella","tromba","trono","troppo","trottola","trovare","truccato","tubatura","tuffato","tulipano","tumulto","tunisia","turbare","turchino","tuta","tutela","ubicato","uccello","uccisore","udire","uditivo","uffa","ufficio","uguale","ulisse","ultimato","umano","umile","umorismo","uncinetto","ungere","ungherese","unicorno","unificato","unisono","unitario","unte","uovo","upupa","uragano","urgenza","urlo","usanza","usato","uscito","usignolo","usuraio","utensile","utilizzo","utopia","vacante","vaccinato","vagabondo","vagliato","valanga","valgo","valico","valletta","valoroso","valutare","valvola","vampata","vangare","vanitoso","vano","vantaggio","vanvera","vapore","varano","varcato","variante","vasca","vedetta","vedova","veduto","vegetale","veicolo","velcro","velina","velluto","veloce","venato","vendemmia","vento","verace","verbale","vergogna","verifica","vero","verruca","verticale","vescica","vessillo","vestale","veterano","vetrina","vetusto","viandante","vibrante","vicenda","vichingo","vicinanza","vidimare","vigilia","vigneto","vigore","vile","villano","vimini","vincitore","viola","vipera","virgola","virologo","virulento","viscoso","visione","vispo","vissuto","visura","vita","vitello","vittima","vivanda","vivido","viziare","voce","voga","volatile","volere","volpe","voragine","vulcano","zampogna","zanna","zappato","zattera","zavorra","zefiro","zelante","zelo","zenzero","zerbino","zibetto","zinco","zircone","zitto","zolla","zotico","zucchero","zufolo","zulu","zuppa"]')},function(e){e.exports=JSON.parse('["ábaco","abdomen","abeja","abierto","abogado","abono","aborto","abrazo","abrir","abuelo","abuso","acabar","academia","acceso","acción","aceite","acelga","acento","aceptar","ácido","aclarar","acné","acoger","acoso","activo","acto","actriz","actuar","acudir","acuerdo","acusar","adicto","admitir","adoptar","adorno","aduana","adulto","aéreo","afectar","afición","afinar","afirmar","ágil","agitar","agonía","agosto","agotar","agregar","agrio","agua","agudo","águila","aguja","ahogo","ahorro","aire","aislar","ajedrez","ajeno","ajuste","alacrán","alambre","alarma","alba","álbum","alcalde","aldea","alegre","alejar","alerta","aleta","alfiler","alga","algodón","aliado","aliento","alivio","alma","almeja","almíbar","altar","alteza","altivo","alto","altura","alumno","alzar","amable","amante","amapola","amargo","amasar","ámbar","ámbito","ameno","amigo","amistad","amor","amparo","amplio","ancho","anciano","ancla","andar","andén","anemia","ángulo","anillo","ánimo","anís","anotar","antena","antiguo","antojo","anual","anular","anuncio","añadir","añejo","año","apagar","aparato","apetito","apio","aplicar","apodo","aporte","apoyo","aprender","aprobar","apuesta","apuro","arado","araña","arar","árbitro","árbol","arbusto","archivo","arco","arder","ardilla","arduo","área","árido","aries","armonía","arnés","aroma","arpa","arpón","arreglo","arroz","arruga","arte","artista","asa","asado","asalto","ascenso","asegurar","aseo","asesor","asiento","asilo","asistir","asno","asombro","áspero","astilla","astro","astuto","asumir","asunto","atajo","ataque","atar","atento","ateo","ático","atleta","átomo","atraer","atroz","atún","audaz","audio","auge","aula","aumento","ausente","autor","aval","avance","avaro","ave","avellana","avena","avestruz","avión","aviso","ayer","ayuda","ayuno","azafrán","azar","azote","azúcar","azufre","azul","baba","babor","bache","bahía","baile","bajar","balanza","balcón","balde","bambú","banco","banda","baño","barba","barco","barniz","barro","báscula","bastón","basura","batalla","batería","batir","batuta","baúl","bazar","bebé","bebida","bello","besar","beso","bestia","bicho","bien","bingo","blanco","bloque","blusa","boa","bobina","bobo","boca","bocina","boda","bodega","boina","bola","bolero","bolsa","bomba","bondad","bonito","bono","bonsái","borde","borrar","bosque","bote","botín","bóveda","bozal","bravo","brazo","brecha","breve","brillo","brinco","brisa","broca","broma","bronce","brote","bruja","brusco","bruto","buceo","bucle","bueno","buey","bufanda","bufón","búho","buitre","bulto","burbuja","burla","burro","buscar","butaca","buzón","caballo","cabeza","cabina","cabra","cacao","cadáver","cadena","caer","café","caída","caimán","caja","cajón","cal","calamar","calcio","caldo","calidad","calle","calma","calor","calvo","cama","cambio","camello","camino","campo","cáncer","candil","canela","canguro","canica","canto","caña","cañón","caoba","caos","capaz","capitán","capote","captar","capucha","cara","carbón","cárcel","careta","carga","cariño","carne","carpeta","carro","carta","casa","casco","casero","caspa","castor","catorce","catre","caudal","causa","cazo","cebolla","ceder","cedro","celda","célebre","celoso","célula","cemento","ceniza","centro","cerca","cerdo","cereza","cero","cerrar","certeza","césped","cetro","chacal","chaleco","champú","chancla","chapa","charla","chico","chiste","chivo","choque","choza","chuleta","chupar","ciclón","ciego","cielo","cien","cierto","cifra","cigarro","cima","cinco","cine","cinta","ciprés","circo","ciruela","cisne","cita","ciudad","clamor","clan","claro","clase","clave","cliente","clima","clínica","cobre","cocción","cochino","cocina","coco","código","codo","cofre","coger","cohete","cojín","cojo","cola","colcha","colegio","colgar","colina","collar","colmo","columna","combate","comer","comida","cómodo","compra","conde","conejo","conga","conocer","consejo","contar","copa","copia","corazón","corbata","corcho","cordón","corona","correr","coser","cosmos","costa","cráneo","cráter","crear","crecer","creído","crema","cría","crimen","cripta","crisis","cromo","crónica","croqueta","crudo","cruz","cuadro","cuarto","cuatro","cubo","cubrir","cuchara","cuello","cuento","cuerda","cuesta","cueva","cuidar","culebra","culpa","culto","cumbre","cumplir","cuna","cuneta","cuota","cupón","cúpula","curar","curioso","curso","curva","cutis","dama","danza","dar","dardo","dátil","deber","débil","década","decir","dedo","defensa","definir","dejar","delfín","delgado","delito","demora","denso","dental","deporte","derecho","derrota","desayuno","deseo","desfile","desnudo","destino","desvío","detalle","detener","deuda","día","diablo","diadema","diamante","diana","diario","dibujo","dictar","diente","dieta","diez","difícil","digno","dilema","diluir","dinero","directo","dirigir","disco","diseño","disfraz","diva","divino","doble","doce","dolor","domingo","don","donar","dorado","dormir","dorso","dos","dosis","dragón","droga","ducha","duda","duelo","dueño","dulce","dúo","duque","durar","dureza","duro","ébano","ebrio","echar","eco","ecuador","edad","edición","edificio","editor","educar","efecto","eficaz","eje","ejemplo","elefante","elegir","elemento","elevar","elipse","élite","elixir","elogio","eludir","embudo","emitir","emoción","empate","empeño","empleo","empresa","enano","encargo","enchufe","encía","enemigo","enero","enfado","enfermo","engaño","enigma","enlace","enorme","enredo","ensayo","enseñar","entero","entrar","envase","envío","época","equipo","erizo","escala","escena","escolar","escribir","escudo","esencia","esfera","esfuerzo","espada","espejo","espía","esposa","espuma","esquí","estar","este","estilo","estufa","etapa","eterno","ética","etnia","evadir","evaluar","evento","evitar","exacto","examen","exceso","excusa","exento","exigir","exilio","existir","éxito","experto","explicar","exponer","extremo","fábrica","fábula","fachada","fácil","factor","faena","faja","falda","fallo","falso","faltar","fama","familia","famoso","faraón","farmacia","farol","farsa","fase","fatiga","fauna","favor","fax","febrero","fecha","feliz","feo","feria","feroz","fértil","fervor","festín","fiable","fianza","fiar","fibra","ficción","ficha","fideo","fiebre","fiel","fiera","fiesta","figura","fijar","fijo","fila","filete","filial","filtro","fin","finca","fingir","finito","firma","flaco","flauta","flecha","flor","flota","fluir","flujo","flúor","fobia","foca","fogata","fogón","folio","folleto","fondo","forma","forro","fortuna","forzar","fosa","foto","fracaso","frágil","franja","frase","fraude","freír","freno","fresa","frío","frito","fruta","fuego","fuente","fuerza","fuga","fumar","función","funda","furgón","furia","fusil","fútbol","futuro","gacela","gafas","gaita","gajo","gala","galería","gallo","gamba","ganar","gancho","ganga","ganso","garaje","garza","gasolina","gastar","gato","gavilán","gemelo","gemir","gen","género","genio","gente","geranio","gerente","germen","gesto","gigante","gimnasio","girar","giro","glaciar","globo","gloria","gol","golfo","goloso","golpe","goma","gordo","gorila","gorra","gota","goteo","gozar","grada","gráfico","grano","grasa","gratis","grave","grieta","grillo","gripe","gris","grito","grosor","grúa","grueso","grumo","grupo","guante","guapo","guardia","guerra","guía","guiño","guion","guiso","guitarra","gusano","gustar","haber","hábil","hablar","hacer","hacha","hada","hallar","hamaca","harina","haz","hazaña","hebilla","hebra","hecho","helado","helio","hembra","herir","hermano","héroe","hervir","hielo","hierro","hígado","higiene","hijo","himno","historia","hocico","hogar","hoguera","hoja","hombre","hongo","honor","honra","hora","hormiga","horno","hostil","hoyo","hueco","huelga","huerta","hueso","huevo","huida","huir","humano","húmedo","humilde","humo","hundir","huracán","hurto","icono","ideal","idioma","ídolo","iglesia","iglú","igual","ilegal","ilusión","imagen","imán","imitar","impar","imperio","imponer","impulso","incapaz","índice","inerte","infiel","informe","ingenio","inicio","inmenso","inmune","innato","insecto","instante","interés","íntimo","intuir","inútil","invierno","ira","iris","ironía","isla","islote","jabalí","jabón","jamón","jarabe","jardín","jarra","jaula","jazmín","jefe","jeringa","jinete","jornada","joroba","joven","joya","juerga","jueves","juez","jugador","jugo","juguete","juicio","junco","jungla","junio","juntar","júpiter","jurar","justo","juvenil","juzgar","kilo","koala","labio","lacio","lacra","lado","ladrón","lagarto","lágrima","laguna","laico","lamer","lámina","lámpara","lana","lancha","langosta","lanza","lápiz","largo","larva","lástima","lata","látex","latir","laurel","lavar","lazo","leal","lección","leche","lector","leer","legión","legumbre","lejano","lengua","lento","leña","león","leopardo","lesión","letal","letra","leve","leyenda","libertad","libro","licor","líder","lidiar","lienzo","liga","ligero","lima","límite","limón","limpio","lince","lindo","línea","lingote","lino","linterna","líquido","liso","lista","litera","litio","litro","llaga","llama","llanto","llave","llegar","llenar","llevar","llorar","llover","lluvia","lobo","loción","loco","locura","lógica","logro","lombriz","lomo","lonja","lote","lucha","lucir","lugar","lujo","luna","lunes","lupa","lustro","luto","luz","maceta","macho","madera","madre","maduro","maestro","mafia","magia","mago","maíz","maldad","maleta","malla","malo","mamá","mambo","mamut","manco","mando","manejar","manga","maniquí","manjar","mano","manso","manta","mañana","mapa","máquina","mar","marco","marea","marfil","margen","marido","mármol","marrón","martes","marzo","masa","máscara","masivo","matar","materia","matiz","matriz","máximo","mayor","mazorca","mecha","medalla","medio","médula","mejilla","mejor","melena","melón","memoria","menor","mensaje","mente","menú","mercado","merengue","mérito","mes","mesón","meta","meter","método","metro","mezcla","miedo","miel","miembro","miga","mil","milagro","militar","millón","mimo","mina","minero","mínimo","minuto","miope","mirar","misa","miseria","misil","mismo","mitad","mito","mochila","moción","moda","modelo","moho","mojar","molde","moler","molino","momento","momia","monarca","moneda","monja","monto","moño","morada","morder","moreno","morir","morro","morsa","mortal","mosca","mostrar","motivo","mover","móvil","mozo","mucho","mudar","mueble","muela","muerte","muestra","mugre","mujer","mula","muleta","multa","mundo","muñeca","mural","muro","músculo","museo","musgo","música","muslo","nácar","nación","nadar","naipe","naranja","nariz","narrar","nasal","natal","nativo","natural","náusea","naval","nave","navidad","necio","néctar","negar","negocio","negro","neón","nervio","neto","neutro","nevar","nevera","nicho","nido","niebla","nieto","niñez","niño","nítido","nivel","nobleza","noche","nómina","noria","norma","norte","nota","noticia","novato","novela","novio","nube","nuca","núcleo","nudillo","nudo","nuera","nueve","nuez","nulo","número","nutria","oasis","obeso","obispo","objeto","obra","obrero","observar","obtener","obvio","oca","ocaso","océano","ochenta","ocho","ocio","ocre","octavo","octubre","oculto","ocupar","ocurrir","odiar","odio","odisea","oeste","ofensa","oferta","oficio","ofrecer","ogro","oído","oír","ojo","ola","oleada","olfato","olivo","olla","olmo","olor","olvido","ombligo","onda","onza","opaco","opción","ópera","opinar","oponer","optar","óptica","opuesto","oración","orador","oral","órbita","orca","orden","oreja","órgano","orgía","orgullo","oriente","origen","orilla","oro","orquesta","oruga","osadía","oscuro","osezno","oso","ostra","otoño","otro","oveja","óvulo","óxido","oxígeno","oyente","ozono","pacto","padre","paella","página","pago","país","pájaro","palabra","palco","paleta","pálido","palma","paloma","palpar","pan","panal","pánico","pantera","pañuelo","papá","papel","papilla","paquete","parar","parcela","pared","parir","paro","párpado","parque","párrafo","parte","pasar","paseo","pasión","paso","pasta","pata","patio","patria","pausa","pauta","pavo","payaso","peatón","pecado","pecera","pecho","pedal","pedir","pegar","peine","pelar","peldaño","pelea","peligro","pellejo","pelo","peluca","pena","pensar","peñón","peón","peor","pepino","pequeño","pera","percha","perder","pereza","perfil","perico","perla","permiso","perro","persona","pesa","pesca","pésimo","pestaña","pétalo","petróleo","pez","pezuña","picar","pichón","pie","piedra","pierna","pieza","pijama","pilar","piloto","pimienta","pino","pintor","pinza","piña","piojo","pipa","pirata","pisar","piscina","piso","pista","pitón","pizca","placa","plan","plata","playa","plaza","pleito","pleno","plomo","pluma","plural","pobre","poco","poder","podio","poema","poesía","poeta","polen","policía","pollo","polvo","pomada","pomelo","pomo","pompa","poner","porción","portal","posada","poseer","posible","poste","potencia","potro","pozo","prado","precoz","pregunta","premio","prensa","preso","previo","primo","príncipe","prisión","privar","proa","probar","proceso","producto","proeza","profesor","programa","prole","promesa","pronto","propio","próximo","prueba","público","puchero","pudor","pueblo","puerta","puesto","pulga","pulir","pulmón","pulpo","pulso","puma","punto","puñal","puño","pupa","pupila","puré","quedar","queja","quemar","querer","queso","quieto","química","quince","quitar","rábano","rabia","rabo","ración","radical","raíz","rama","rampa","rancho","rango","rapaz","rápido","rapto","rasgo","raspa","rato","rayo","raza","razón","reacción","realidad","rebaño","rebote","recaer","receta","rechazo","recoger","recreo","recto","recurso","red","redondo","reducir","reflejo","reforma","refrán","refugio","regalo","regir","regla","regreso","rehén","reino","reír","reja","relato","relevo","relieve","relleno","reloj","remar","remedio","remo","rencor","rendir","renta","reparto","repetir","reposo","reptil","res","rescate","resina","respeto","resto","resumen","retiro","retorno","retrato","reunir","revés","revista","rey","rezar","rico","riego","rienda","riesgo","rifa","rígido","rigor","rincón","riñón","río","riqueza","risa","ritmo","rito","rizo","roble","roce","rociar","rodar","rodeo","rodilla","roer","rojizo","rojo","romero","romper","ron","ronco","ronda","ropa","ropero","rosa","rosca","rostro","rotar","rubí","rubor","rudo","rueda","rugir","ruido","ruina","ruleta","rulo","rumbo","rumor","ruptura","ruta","rutina","sábado","saber","sabio","sable","sacar","sagaz","sagrado","sala","saldo","salero","salir","salmón","salón","salsa","salto","salud","salvar","samba","sanción","sandía","sanear","sangre","sanidad","sano","santo","sapo","saque","sardina","sartén","sastre","satán","sauna","saxofón","sección","seco","secreto","secta","sed","seguir","seis","sello","selva","semana","semilla","senda","sensor","señal","señor","separar","sepia","sequía","ser","serie","sermón","servir","sesenta","sesión","seta","setenta","severo","sexo","sexto","sidra","siesta","siete","siglo","signo","sílaba","silbar","silencio","silla","símbolo","simio","sirena","sistema","sitio","situar","sobre","socio","sodio","sol","solapa","soldado","soledad","sólido","soltar","solución","sombra","sondeo","sonido","sonoro","sonrisa","sopa","soplar","soporte","sordo","sorpresa","sorteo","sostén","sótano","suave","subir","suceso","sudor","suegra","suelo","sueño","suerte","sufrir","sujeto","sultán","sumar","superar","suplir","suponer","supremo","sur","surco","sureño","surgir","susto","sutil","tabaco","tabique","tabla","tabú","taco","tacto","tajo","talar","talco","talento","talla","talón","tamaño","tambor","tango","tanque","tapa","tapete","tapia","tapón","taquilla","tarde","tarea","tarifa","tarjeta","tarot","tarro","tarta","tatuaje","tauro","taza","tazón","teatro","techo","tecla","técnica","tejado","tejer","tejido","tela","teléfono","tema","temor","templo","tenaz","tender","tener","tenis","tenso","teoría","terapia","terco","término","ternura","terror","tesis","tesoro","testigo","tetera","texto","tez","tibio","tiburón","tiempo","tienda","tierra","tieso","tigre","tijera","tilde","timbre","tímido","timo","tinta","tío","típico","tipo","tira","tirón","titán","títere","título","tiza","toalla","tobillo","tocar","tocino","todo","toga","toldo","tomar","tono","tonto","topar","tope","toque","tórax","torero","tormenta","torneo","toro","torpedo","torre","torso","tortuga","tos","tosco","toser","tóxico","trabajo","tractor","traer","tráfico","trago","traje","tramo","trance","trato","trauma","trazar","trébol","tregua","treinta","tren","trepar","tres","tribu","trigo","tripa","triste","triunfo","trofeo","trompa","tronco","tropa","trote","trozo","truco","trueno","trufa","tubería","tubo","tuerto","tumba","tumor","túnel","túnica","turbina","turismo","turno","tutor","ubicar","úlcera","umbral","unidad","unir","universo","uno","untar","uña","urbano","urbe","urgente","urna","usar","usuario","útil","utopía","uva","vaca","vacío","vacuna","vagar","vago","vaina","vajilla","vale","válido","valle","valor","válvula","vampiro","vara","variar","varón","vaso","vecino","vector","vehículo","veinte","vejez","vela","velero","veloz","vena","vencer","venda","veneno","vengar","venir","venta","venus","ver","verano","verbo","verde","vereda","verja","verso","verter","vía","viaje","vibrar","vicio","víctima","vida","vídeo","vidrio","viejo","viernes","vigor","vil","villa","vinagre","vino","viñedo","violín","viral","virgo","virtud","visor","víspera","vista","vitamina","viudo","vivaz","vivero","vivir","vivo","volcán","volumen","volver","voraz","votar","voto","voz","vuelo","vulgar","yacer","yate","yegua","yema","yerno","yeso","yodo","yoga","yogur","zafiro","zanja","zapato","zarza","zona","zorro","zumo","zurdo"]')},function(e){e.exports=JSON.parse('["あいこくしん","あいさつ","あいだ","あおぞら","あかちゃん","あきる","あけがた","あける","あこがれる","あさい","あさひ","あしあと","あじわう","あずかる","あずき","あそぶ","あたえる","あたためる","あたりまえ","あたる","あつい","あつかう","あっしゅく","あつまり","あつめる","あてな","あてはまる","あひる","あぶら","あぶる","あふれる","あまい","あまど","あまやかす","あまり","あみもの","あめりか","あやまる","あゆむ","あらいぐま","あらし","あらすじ","あらためる","あらゆる","あらわす","ありがとう","あわせる","あわてる","あんい","あんがい","あんこ","あんぜん","あんてい","あんない","あんまり","いいだす","いおん","いがい","いがく","いきおい","いきなり","いきもの","いきる","いくじ","いくぶん","いけばな","いけん","いこう","いこく","いこつ","いさましい","いさん","いしき","いじゅう","いじょう","いじわる","いずみ","いずれ","いせい","いせえび","いせかい","いせき","いぜん","いそうろう","いそがしい","いだい","いだく","いたずら","いたみ","いたりあ","いちおう","いちじ","いちど","いちば","いちぶ","いちりゅう","いつか","いっしゅん","いっせい","いっそう","いったん","いっち","いってい","いっぽう","いてざ","いてん","いどう","いとこ","いない","いなか","いねむり","いのち","いのる","いはつ","いばる","いはん","いびき","いひん","いふく","いへん","いほう","いみん","いもうと","いもたれ","いもり","いやがる","いやす","いよかん","いよく","いらい","いらすと","いりぐち","いりょう","いれい","いれもの","いれる","いろえんぴつ","いわい","いわう","いわかん","いわば","いわゆる","いんげんまめ","いんさつ","いんしょう","いんよう","うえき","うえる","うおざ","うがい","うかぶ","うかべる","うきわ","うくらいな","うくれれ","うけたまわる","うけつけ","うけとる","うけもつ","うける","うごかす","うごく","うこん","うさぎ","うしなう","うしろがみ","うすい","うすぎ","うすぐらい","うすめる","うせつ","うちあわせ","うちがわ","うちき","うちゅう","うっかり","うつくしい","うったえる","うつる","うどん","うなぎ","うなじ","うなずく","うなる","うねる","うのう","うぶげ","うぶごえ","うまれる","うめる","うもう","うやまう","うよく","うらがえす","うらぐち","うらない","うりあげ","うりきれ","うるさい","うれしい","うれゆき","うれる","うろこ","うわき","うわさ","うんこう","うんちん","うんてん","うんどう","えいえん","えいが","えいきょう","えいご","えいせい","えいぶん","えいよう","えいわ","えおり","えがお","えがく","えきたい","えくせる","えしゃく","えすて","えつらん","えのぐ","えほうまき","えほん","えまき","えもじ","えもの","えらい","えらぶ","えりあ","えんえん","えんかい","えんぎ","えんげき","えんしゅう","えんぜつ","えんそく","えんちょう","えんとつ","おいかける","おいこす","おいしい","おいつく","おうえん","おうさま","おうじ","おうせつ","おうたい","おうふく","おうべい","おうよう","おえる","おおい","おおう","おおどおり","おおや","おおよそ","おかえり","おかず","おがむ","おかわり","おぎなう","おきる","おくさま","おくじょう","おくりがな","おくる","おくれる","おこす","おこなう","おこる","おさえる","おさない","おさめる","おしいれ","おしえる","おじぎ","おじさん","おしゃれ","おそらく","おそわる","おたがい","おたく","おだやか","おちつく","おっと","おつり","おでかけ","おとしもの","おとなしい","おどり","おどろかす","おばさん","おまいり","おめでとう","おもいで","おもう","おもたい","おもちゃ","おやつ","おやゆび","およぼす","おらんだ","おろす","おんがく","おんけい","おんしゃ","おんせん","おんだん","おんちゅう","おんどけい","かあつ","かいが","がいき","がいけん","がいこう","かいさつ","かいしゃ","かいすいよく","かいぜん","かいぞうど","かいつう","かいてん","かいとう","かいふく","がいへき","かいほう","かいよう","がいらい","かいわ","かえる","かおり","かかえる","かがく","かがし","かがみ","かくご","かくとく","かざる","がぞう","かたい","かたち","がちょう","がっきゅう","がっこう","がっさん","がっしょう","かなざわし","かのう","がはく","かぶか","かほう","かほご","かまう","かまぼこ","かめれおん","かゆい","かようび","からい","かるい","かろう","かわく","かわら","がんか","かんけい","かんこう","かんしゃ","かんそう","かんたん","かんち","がんばる","きあい","きあつ","きいろ","ぎいん","きうい","きうん","きえる","きおう","きおく","きおち","きおん","きかい","きかく","きかんしゃ","ききて","きくばり","きくらげ","きけんせい","きこう","きこえる","きこく","きさい","きさく","きさま","きさらぎ","ぎじかがく","ぎしき","ぎじたいけん","ぎじにってい","ぎじゅつしゃ","きすう","きせい","きせき","きせつ","きそう","きぞく","きぞん","きたえる","きちょう","きつえん","ぎっちり","きつつき","きつね","きてい","きどう","きどく","きない","きなが","きなこ","きぬごし","きねん","きのう","きのした","きはく","きびしい","きひん","きふく","きぶん","きぼう","きほん","きまる","きみつ","きむずかしい","きめる","きもだめし","きもち","きもの","きゃく","きやく","ぎゅうにく","きよう","きょうりゅう","きらい","きらく","きりん","きれい","きれつ","きろく","ぎろん","きわめる","ぎんいろ","きんかくじ","きんじょ","きんようび","ぐあい","くいず","くうかん","くうき","くうぐん","くうこう","ぐうせい","くうそう","ぐうたら","くうふく","くうぼ","くかん","くきょう","くげん","ぐこう","くさい","くさき","くさばな","くさる","くしゃみ","くしょう","くすのき","くすりゆび","くせげ","くせん","ぐたいてき","くださる","くたびれる","くちこみ","くちさき","くつした","ぐっすり","くつろぐ","くとうてん","くどく","くなん","くねくね","くのう","くふう","くみあわせ","くみたてる","くめる","くやくしょ","くらす","くらべる","くるま","くれる","くろう","くわしい","ぐんかん","ぐんしょく","ぐんたい","ぐんて","けあな","けいかく","けいけん","けいこ","けいさつ","げいじゅつ","けいたい","げいのうじん","けいれき","けいろ","けおとす","けおりもの","げきか","げきげん","げきだん","げきちん","げきとつ","げきは","げきやく","げこう","げこくじょう","げざい","けさき","げざん","けしき","けしごむ","けしょう","げすと","けたば","けちゃっぷ","けちらす","けつあつ","けつい","けつえき","けっこん","けつじょ","けっせき","けってい","けつまつ","げつようび","げつれい","けつろん","げどく","けとばす","けとる","けなげ","けなす","けなみ","けぬき","げねつ","けねん","けはい","げひん","けぶかい","げぼく","けまり","けみかる","けむし","けむり","けもの","けらい","けろけろ","けわしい","けんい","けんえつ","けんお","けんか","げんき","けんげん","けんこう","けんさく","けんしゅう","けんすう","げんそう","けんちく","けんてい","けんとう","けんない","けんにん","げんぶつ","けんま","けんみん","けんめい","けんらん","けんり","こあくま","こいぬ","こいびと","ごうい","こうえん","こうおん","こうかん","ごうきゅう","ごうけい","こうこう","こうさい","こうじ","こうすい","ごうせい","こうそく","こうたい","こうちゃ","こうつう","こうてい","こうどう","こうない","こうはい","ごうほう","ごうまん","こうもく","こうりつ","こえる","こおり","ごかい","ごがつ","ごかん","こくご","こくさい","こくとう","こくない","こくはく","こぐま","こけい","こける","ここのか","こころ","こさめ","こしつ","こすう","こせい","こせき","こぜん","こそだて","こたい","こたえる","こたつ","こちょう","こっか","こつこつ","こつばん","こつぶ","こてい","こてん","ことがら","ことし","ことば","ことり","こなごな","こねこね","このまま","このみ","このよ","ごはん","こひつじ","こふう","こふん","こぼれる","ごまあぶら","こまかい","ごますり","こまつな","こまる","こむぎこ","こもじ","こもち","こもの","こもん","こやく","こやま","こゆう","こゆび","こよい","こよう","こりる","これくしょん","ころっけ","こわもて","こわれる","こんいん","こんかい","こんき","こんしゅう","こんすい","こんだて","こんとん","こんなん","こんびに","こんぽん","こんまけ","こんや","こんれい","こんわく","ざいえき","さいかい","さいきん","ざいげん","ざいこ","さいしょ","さいせい","ざいたく","ざいちゅう","さいてき","ざいりょう","さうな","さかいし","さがす","さかな","さかみち","さがる","さぎょう","さくし","さくひん","さくら","さこく","さこつ","さずかる","ざせき","さたん","さつえい","ざつおん","ざっか","ざつがく","さっきょく","ざっし","さつじん","ざっそう","さつたば","さつまいも","さてい","さといも","さとう","さとおや","さとし","さとる","さのう","さばく","さびしい","さべつ","さほう","さほど","さます","さみしい","さみだれ","さむけ","さめる","さやえんどう","さゆう","さよう","さよく","さらだ","ざるそば","さわやか","さわる","さんいん","さんか","さんきゃく","さんこう","さんさい","ざんしょ","さんすう","さんせい","さんそ","さんち","さんま","さんみ","さんらん","しあい","しあげ","しあさって","しあわせ","しいく","しいん","しうち","しえい","しおけ","しかい","しかく","じかん","しごと","しすう","じだい","したうけ","したぎ","したて","したみ","しちょう","しちりん","しっかり","しつじ","しつもん","してい","してき","してつ","じてん","じどう","しなぎれ","しなもの","しなん","しねま","しねん","しのぐ","しのぶ","しはい","しばかり","しはつ","しはらい","しはん","しひょう","しふく","じぶん","しへい","しほう","しほん","しまう","しまる","しみん","しむける","じむしょ","しめい","しめる","しもん","しゃいん","しゃうん","しゃおん","じゃがいも","しやくしょ","しゃくほう","しゃけん","しゃこ","しゃざい","しゃしん","しゃせん","しゃそう","しゃたい","しゃちょう","しゃっきん","じゃま","しゃりん","しゃれい","じゆう","じゅうしょ","しゅくはく","じゅしん","しゅっせき","しゅみ","しゅらば","じゅんばん","しょうかい","しょくたく","しょっけん","しょどう","しょもつ","しらせる","しらべる","しんか","しんこう","じんじゃ","しんせいじ","しんちく","しんりん","すあげ","すあし","すあな","ずあん","すいえい","すいか","すいとう","ずいぶん","すいようび","すうがく","すうじつ","すうせん","すおどり","すきま","すくう","すくない","すける","すごい","すこし","ずさん","すずしい","すすむ","すすめる","すっかり","ずっしり","ずっと","すてき","すてる","すねる","すのこ","すはだ","すばらしい","ずひょう","ずぶぬれ","すぶり","すふれ","すべて","すべる","ずほう","すぼん","すまい","すめし","すもう","すやき","すらすら","するめ","すれちがう","すろっと","すわる","すんぜん","すんぽう","せあぶら","せいかつ","せいげん","せいじ","せいよう","せおう","せかいかん","せきにん","せきむ","せきゆ","せきらんうん","せけん","せこう","せすじ","せたい","せたけ","せっかく","せっきゃく","ぜっく","せっけん","せっこつ","せっさたくま","せつぞく","せつだん","せつでん","せっぱん","せつび","せつぶん","せつめい","せつりつ","せなか","せのび","せはば","せびろ","せぼね","せまい","せまる","せめる","せもたれ","せりふ","ぜんあく","せんい","せんえい","せんか","せんきょ","せんく","せんげん","ぜんご","せんさい","せんしゅ","せんすい","せんせい","せんぞ","せんたく","せんちょう","せんてい","せんとう","せんぬき","せんねん","せんぱい","ぜんぶ","ぜんぽう","せんむ","せんめんじょ","せんもん","せんやく","せんゆう","せんよう","ぜんら","ぜんりゃく","せんれい","せんろ","そあく","そいとげる","そいね","そうがんきょう","そうき","そうご","そうしん","そうだん","そうなん","そうび","そうめん","そうり","そえもの","そえん","そがい","そげき","そこう","そこそこ","そざい","そしな","そせい","そせん","そそぐ","そだてる","そつう","そつえん","そっかん","そつぎょう","そっけつ","そっこう","そっせん","そっと","そとがわ","そとづら","そなえる","そなた","そふぼ","そぼく","そぼろ","そまつ","そまる","そむく","そむりえ","そめる","そもそも","そよかぜ","そらまめ","そろう","そんかい","そんけい","そんざい","そんしつ","そんぞく","そんちょう","ぞんび","ぞんぶん","そんみん","たあい","たいいん","たいうん","たいえき","たいおう","だいがく","たいき","たいぐう","たいけん","たいこ","たいざい","だいじょうぶ","だいすき","たいせつ","たいそう","だいたい","たいちょう","たいてい","だいどころ","たいない","たいねつ","たいのう","たいはん","だいひょう","たいふう","たいへん","たいほ","たいまつばな","たいみんぐ","たいむ","たいめん","たいやき","たいよう","たいら","たいりょく","たいる","たいわん","たうえ","たえる","たおす","たおる","たおれる","たかい","たかね","たきび","たくさん","たこく","たこやき","たさい","たしざん","だじゃれ","たすける","たずさわる","たそがれ","たたかう","たたく","ただしい","たたみ","たちばな","だっかい","だっきゃく","だっこ","だっしゅつ","だったい","たてる","たとえる","たなばた","たにん","たぬき","たのしみ","たはつ","たぶん","たべる","たぼう","たまご","たまる","だむる","ためいき","ためす","ためる","たもつ","たやすい","たよる","たらす","たりきほんがん","たりょう","たりる","たると","たれる","たれんと","たろっと","たわむれる","だんあつ","たんい","たんおん","たんか","たんき","たんけん","たんご","たんさん","たんじょうび","だんせい","たんそく","たんたい","だんち","たんてい","たんとう","だんな","たんにん","だんねつ","たんのう","たんぴん","だんぼう","たんまつ","たんめい","だんれつ","だんろ","だんわ","ちあい","ちあん","ちいき","ちいさい","ちえん","ちかい","ちから","ちきゅう","ちきん","ちけいず","ちけん","ちこく","ちさい","ちしき","ちしりょう","ちせい","ちそう","ちたい","ちたん","ちちおや","ちつじょ","ちてき","ちてん","ちぬき","ちぬり","ちのう","ちひょう","ちへいせん","ちほう","ちまた","ちみつ","ちみどろ","ちめいど","ちゃんこなべ","ちゅうい","ちゆりょく","ちょうし","ちょさくけん","ちらし","ちらみ","ちりがみ","ちりょう","ちるど","ちわわ","ちんたい","ちんもく","ついか","ついたち","つうか","つうじょう","つうはん","つうわ","つかう","つかれる","つくね","つくる","つけね","つける","つごう","つたえる","つづく","つつじ","つつむ","つとめる","つながる","つなみ","つねづね","つのる","つぶす","つまらない","つまる","つみき","つめたい","つもり","つもる","つよい","つるぼ","つるみく","つわもの","つわり","てあし","てあて","てあみ","ていおん","ていか","ていき","ていけい","ていこく","ていさつ","ていし","ていせい","ていたい","ていど","ていねい","ていひょう","ていへん","ていぼう","てうち","ておくれ","てきとう","てくび","でこぼこ","てさぎょう","てさげ","てすり","てそう","てちがい","てちょう","てつがく","てつづき","でっぱ","てつぼう","てつや","でぬかえ","てぬき","てぬぐい","てのひら","てはい","てぶくろ","てふだ","てほどき","てほん","てまえ","てまきずし","てみじか","てみやげ","てらす","てれび","てわけ","てわたし","でんあつ","てんいん","てんかい","てんき","てんぐ","てんけん","てんごく","てんさい","てんし","てんすう","でんち","てんてき","てんとう","てんない","てんぷら","てんぼうだい","てんめつ","てんらんかい","でんりょく","でんわ","どあい","といれ","どうかん","とうきゅう","どうぐ","とうし","とうむぎ","とおい","とおか","とおく","とおす","とおる","とかい","とかす","ときおり","ときどき","とくい","とくしゅう","とくてん","とくに","とくべつ","とけい","とける","とこや","とさか","としょかん","とそう","とたん","とちゅう","とっきゅう","とっくん","とつぜん","とつにゅう","とどける","ととのえる","とない","となえる","となり","とのさま","とばす","どぶがわ","とほう","とまる","とめる","ともだち","ともる","どようび","とらえる","とんかつ","どんぶり","ないかく","ないこう","ないしょ","ないす","ないせん","ないそう","なおす","ながい","なくす","なげる","なこうど","なさけ","なたでここ","なっとう","なつやすみ","ななおし","なにごと","なにもの","なにわ","なのか","なふだ","なまいき","なまえ","なまみ","なみだ","なめらか","なめる","なやむ","ならう","ならび","ならぶ","なれる","なわとび","なわばり","にあう","にいがた","にうけ","におい","にかい","にがて","にきび","にくしみ","にくまん","にげる","にさんかたんそ","にしき","にせもの","にちじょう","にちようび","にっか","にっき","にっけい","にっこう","にっさん","にっしょく","にっすう","にっせき","にってい","になう","にほん","にまめ","にもつ","にやり","にゅういん","にりんしゃ","にわとり","にんい","にんか","にんき","にんげん","にんしき","にんずう","にんそう","にんたい","にんち","にんてい","にんにく","にんぷ","にんまり","にんむ","にんめい","にんよう","ぬいくぎ","ぬかす","ぬぐいとる","ぬぐう","ぬくもり","ぬすむ","ぬまえび","ぬめり","ぬらす","ぬんちゃく","ねあげ","ねいき","ねいる","ねいろ","ねぐせ","ねくたい","ねくら","ねこぜ","ねこむ","ねさげ","ねすごす","ねそべる","ねだん","ねつい","ねっしん","ねつぞう","ねったいぎょ","ねぶそく","ねふだ","ねぼう","ねほりはほり","ねまき","ねまわし","ねみみ","ねむい","ねむたい","ねもと","ねらう","ねわざ","ねんいり","ねんおし","ねんかん","ねんきん","ねんぐ","ねんざ","ねんし","ねんちゃく","ねんど","ねんぴ","ねんぶつ","ねんまつ","ねんりょう","ねんれい","のいず","のおづま","のがす","のきなみ","のこぎり","のこす","のこる","のせる","のぞく","のぞむ","のたまう","のちほど","のっく","のばす","のはら","のべる","のぼる","のみもの","のやま","のらいぬ","のらねこ","のりもの","のりゆき","のれん","のんき","ばあい","はあく","ばあさん","ばいか","ばいく","はいけん","はいご","はいしん","はいすい","はいせん","はいそう","はいち","ばいばい","はいれつ","はえる","はおる","はかい","ばかり","はかる","はくしゅ","はけん","はこぶ","はさみ","はさん","はしご","ばしょ","はしる","はせる","ぱそこん","はそん","はたん","はちみつ","はつおん","はっかく","はづき","はっきり","はっくつ","はっけん","はっこう","はっさん","はっしん","はったつ","はっちゅう","はってん","はっぴょう","はっぽう","はなす","はなび","はにかむ","はぶらし","はみがき","はむかう","はめつ","はやい","はやし","はらう","はろうぃん","はわい","はんい","はんえい","はんおん","はんかく","はんきょう","ばんぐみ","はんこ","はんしゃ","はんすう","はんだん","ぱんち","ぱんつ","はんてい","はんとし","はんのう","はんぱ","はんぶん","はんぺん","はんぼうき","はんめい","はんらん","はんろん","ひいき","ひうん","ひえる","ひかく","ひかり","ひかる","ひかん","ひくい","ひけつ","ひこうき","ひこく","ひさい","ひさしぶり","ひさん","びじゅつかん","ひしょ","ひそか","ひそむ","ひたむき","ひだり","ひたる","ひつぎ","ひっこし","ひっし","ひつじゅひん","ひっす","ひつぜん","ぴったり","ぴっちり","ひつよう","ひてい","ひとごみ","ひなまつり","ひなん","ひねる","ひはん","ひびく","ひひょう","ひほう","ひまわり","ひまん","ひみつ","ひめい","ひめじし","ひやけ","ひやす","ひよう","びょうき","ひらがな","ひらく","ひりつ","ひりょう","ひるま","ひるやすみ","ひれい","ひろい","ひろう","ひろき","ひろゆき","ひんかく","ひんけつ","ひんこん","ひんしゅ","ひんそう","ぴんち","ひんぱん","びんぼう","ふあん","ふいうち","ふうけい","ふうせん","ぷうたろう","ふうとう","ふうふ","ふえる","ふおん","ふかい","ふきん","ふくざつ","ふくぶくろ","ふこう","ふさい","ふしぎ","ふじみ","ふすま","ふせい","ふせぐ","ふそく","ぶたにく","ふたん","ふちょう","ふつう","ふつか","ふっかつ","ふっき","ふっこく","ぶどう","ふとる","ふとん","ふのう","ふはい","ふひょう","ふへん","ふまん","ふみん","ふめつ","ふめん","ふよう","ふりこ","ふりる","ふるい","ふんいき","ぶんがく","ぶんぐ","ふんしつ","ぶんせき","ふんそう","ぶんぽう","へいあん","へいおん","へいがい","へいき","へいげん","へいこう","へいさ","へいしゃ","へいせつ","へいそ","へいたく","へいてん","へいねつ","へいわ","へきが","へこむ","べにいろ","べにしょうが","へらす","へんかん","べんきょう","べんごし","へんさい","へんたい","べんり","ほあん","ほいく","ぼうぎょ","ほうこく","ほうそう","ほうほう","ほうもん","ほうりつ","ほえる","ほおん","ほかん","ほきょう","ぼきん","ほくろ","ほけつ","ほけん","ほこう","ほこる","ほしい","ほしつ","ほしゅ","ほしょう","ほせい","ほそい","ほそく","ほたて","ほたる","ぽちぶくろ","ほっきょく","ほっさ","ほったん","ほとんど","ほめる","ほんい","ほんき","ほんけ","ほんしつ","ほんやく","まいにち","まかい","まかせる","まがる","まける","まこと","まさつ","まじめ","ますく","まぜる","まつり","まとめ","まなぶ","まぬけ","まねく","まほう","まもる","まゆげ","まよう","まろやか","まわす","まわり","まわる","まんが","まんきつ","まんぞく","まんなか","みいら","みうち","みえる","みがく","みかた","みかん","みけん","みこん","みじかい","みすい","みすえる","みせる","みっか","みつかる","みつける","みてい","みとめる","みなと","みなみかさい","みねらる","みのう","みのがす","みほん","みもと","みやげ","みらい","みりょく","みわく","みんか","みんぞく","むいか","むえき","むえん","むかい","むかう","むかえ","むかし","むぎちゃ","むける","むげん","むさぼる","むしあつい","むしば","むじゅん","むしろ","むすう","むすこ","むすぶ","むすめ","むせる","むせん","むちゅう","むなしい","むのう","むやみ","むよう","むらさき","むりょう","むろん","めいあん","めいうん","めいえん","めいかく","めいきょく","めいさい","めいし","めいそう","めいぶつ","めいれい","めいわく","めぐまれる","めざす","めした","めずらしい","めだつ","めまい","めやす","めんきょ","めんせき","めんどう","もうしあげる","もうどうけん","もえる","もくし","もくてき","もくようび","もちろん","もどる","もらう","もんく","もんだい","やおや","やける","やさい","やさしい","やすい","やすたろう","やすみ","やせる","やそう","やたい","やちん","やっと","やっぱり","やぶる","やめる","ややこしい","やよい","やわらかい","ゆうき","ゆうびんきょく","ゆうべ","ゆうめい","ゆけつ","ゆしゅつ","ゆせん","ゆそう","ゆたか","ゆちゃく","ゆでる","ゆにゅう","ゆびわ","ゆらい","ゆれる","ようい","ようか","ようきゅう","ようじ","ようす","ようちえん","よかぜ","よかん","よきん","よくせい","よくぼう","よけい","よごれる","よさん","よしゅう","よそう","よそく","よっか","よてい","よどがわく","よねつ","よやく","よゆう","よろこぶ","よろしい","らいう","らくがき","らくご","らくさつ","らくだ","らしんばん","らせん","らぞく","らたい","らっか","られつ","りえき","りかい","りきさく","りきせつ","りくぐん","りくつ","りけん","りこう","りせい","りそう","りそく","りてん","りねん","りゆう","りゅうがく","りよう","りょうり","りょかん","りょくちゃ","りょこう","りりく","りれき","りろん","りんご","るいけい","るいさい","るいじ","るいせき","るすばん","るりがわら","れいかん","れいぎ","れいせい","れいぞうこ","れいとう","れいぼう","れきし","れきだい","れんあい","れんけい","れんこん","れんさい","れんしゅう","れんぞく","れんらく","ろうか","ろうご","ろうじん","ろうそく","ろくが","ろこつ","ろじうら","ろしゅつ","ろせん","ろてん","ろめん","ろれつ","ろんぎ","ろんぱ","ろんぶん","ろんり","わかす","わかめ","わかやま","わかれる","わしつ","わじまし","わすれもの","わらう","われる"]')},function(e){e.exports=JSON.parse('["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"]')},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(558);t.fromSeed=n.fromSeed,t.fromBase58=n.fromBase58,t.fromPublicKey=n.fromPublicKey,t.fromPrivateKey=n.fromPrivateKey},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const n=r(559),o=r(298),i=r(562),s=r(564),a=r(566),c=s.BufferN(32),u=s.compile({wif:s.UInt8,bip32:{public:s.UInt32,private:s.UInt32}}),l={messagePrefix:"Bitcoin Signed Message:\n",bech32:"bc",bip32:{public:76067358,private:76066276},pubKeyHash:0,scriptHash:5,wif:128},f=Math.pow(2,31)-1;function d(e){return s.String(e)&&null!==e.match(/^(m\/)?(\d+'?\/)*\d+'?$/)}function h(e){return s.UInt32(e)&&e<=f}class p{constructor(e,t,r,n,o=0,i=0,a=0){this.__D=e,this.__Q=t,this.chainCode=r,this.network=n,this.__DEPTH=o,this.__INDEX=i,this.__PARENT_FINGERPRINT=a,s(u,n),this.lowR=!1}get depth(){return this.__DEPTH}get index(){return this.__INDEX}get parentFingerprint(){return this.__PARENT_FINGERPRINT}get publicKey(){return void 0===this.__Q&&(this.__Q=i.pointFromScalar(this.__D,!0)),this.__Q}get privateKey(){return this.__D}get identifier(){return n.hash160(this.publicKey)}get fingerprint(){return this.identifier.slice(0,4)}get compressed(){return!0}isNeutered(){return void 0===this.__D}neutered(){return y(this.publicKey,this.chainCode,this.network,this.depth,this.index,this.parentFingerprint)}toBase58(){const t=this.network,r=this.isNeutered()?t.bip32.public:t.bip32.private,n=e.allocUnsafe(78);return n.writeUInt32BE(r,0),n.writeUInt8(this.depth,4),n.writeUInt32BE(this.parentFingerprint,5),n.writeUInt32BE(this.index,9),this.chainCode.copy(n,13),this.isNeutered()?this.publicKey.copy(n,45):(n.writeUInt8(0,45),this.privateKey.copy(n,46)),o.encode(n)}toWIF(){if(!this.privateKey)throw new TypeError("Missing private key");return a.encode(this.network.wif,this.privateKey,!0)}derive(t){s(s.UInt32,t);const r=t>=2147483648,o=e.allocUnsafe(37);if(r){if(this.isNeutered())throw new TypeError("Missing private key for hardened child key");o[0]=0,this.privateKey.copy(o,1),o.writeUInt32BE(t,33)}else this.publicKey.copy(o,0),o.writeUInt32BE(t,33);const a=n.hmacSHA512(this.chainCode,o),c=a.slice(0,32),u=a.slice(32);if(!i.isPrivate(c))return this.derive(t+1);let l;if(this.isNeutered()){const e=i.pointAddScalar(this.publicKey,c,!0);if(null===e)return this.derive(t+1);l=y(e,u,this.network,this.depth+1,t,this.fingerprint.readUInt32BE(0))}else{const e=i.privateAdd(this.privateKey,c);if(null==e)return this.derive(t+1);l=m(e,u,this.network,this.depth+1,t,this.fingerprint.readUInt32BE(0))}return l}deriveHardened(e){return s(h,e),this.derive(e+2147483648)}derivePath(e){s(d,e);let t=e.split("/");if("m"===t[0]){if(this.parentFingerprint)throw new TypeError("Expected master, got child");t=t.slice(1)}return t.reduce((e,t)=>{let r;return"'"===t.slice(-1)?(r=parseInt(t.slice(0,-1),10),e.deriveHardened(r)):(r=parseInt(t,10),e.derive(r))},this)}sign(t,r){if(!this.privateKey)throw new Error("Missing private key");if(void 0===r&&(r=this.lowR),!1===r)return i.sign(t,this.privateKey);{let r=i.sign(t,this.privateKey);const n=e.alloc(32,0);let o=0;for(;r[0]>127;)o++,n.writeUIntLE(o,0,6),r=i.signWithEntropy(t,this.privateKey,n);return r}}verify(e,t){return i.verify(e,this.publicKey,t)}}function g(e,t,r){return m(e,t,r)}function m(e,t,r,n,o,a){if(s({privateKey:c,chainCode:c},{privateKey:e,chainCode:t}),r=r||l,!i.isPrivate(e))throw new TypeError("Private key not in range [1, n)");return new p(e,void 0,t,r,n,o,a)}function y(e,t,r,n,o,a){if(s({publicKey:s.BufferN(33),chainCode:c},{publicKey:e,chainCode:t}),r=r||l,!i.isPoint(e))throw new TypeError("Point is not on the curve");return new p(void 0,e,t,r,n,o,a)}t.fromBase58=function(e,t){const r=o.decode(e);if(78!==r.length)throw new TypeError("Invalid buffer length");t=t||l;const n=r.readUInt32BE(0);if(n!==t.bip32.private&&n!==t.bip32.public)throw new TypeError("Invalid network version");const i=r[4],s=r.readUInt32BE(5);if(0===i&&0!==s)throw new TypeError("Invalid parent fingerprint");const a=r.readUInt32BE(9);if(0===i&&0!==a)throw new TypeError("Invalid index");const c=r.slice(13,45);let u;if(n===t.bip32.private){if(0!==r.readUInt8(45))throw new TypeError("Invalid private key");u=m(r.slice(46,78),c,t,i,a,s)}else{u=y(r.slice(45,78),c,t,i,a,s)}return u},t.fromPrivateKey=g,t.fromPublicKey=function(e,t,r){return y(e,t,r)},t.fromSeed=function(t,r){if(s(s.Buffer,t),t.length<16)throw new TypeError("Seed should be at least 128 bits");if(t.length>64)throw new TypeError("Seed should be at most 512 bits");r=r||l;const o=n.hmacSHA512(e.from("Bitcoin seed","utf8"),t);return g(o.slice(0,32),o.slice(32),r)}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(54),o=r(120);t.hash160=function(e){const t=n("sha256").update(e).digest();try{return n("rmd160").update(t).digest()}catch(e){return n("ripemd160").update(t).digest()}},t.hmacSHA512=function(e,t){return o("sha512",e).update(t).digest()}},function(e,t,r){"use strict";var n=r(561),o=r(7).Buffer;e.exports=function(e){function t(t){var r=t.slice(0,-4),n=t.slice(-4),o=e(r);if(!(n[0]^o[0]|n[1]^o[1]|n[2]^o[2]|n[3]^o[3]))return r}return{encode:function(t){var r=e(t);return n.encode(o.concat([t,r],t.length+4))},decode:function(e){var r=t(n.decode(e));if(!r)throw new Error("Invalid checksum");return r},decodeUnsafe:function(e){var r=n.decodeUnsafe(e);if(r)return t(r)}}}},function(e,t,r){var n=r(396);e.exports=n("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")},function(e,t,r){(function(t){const n=r(6),o=new(0,r(45).ec)("secp256k1"),i=r(563),s=t.alloc(32,0),a=t.from("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141","hex"),c=t.from("fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f","hex"),u=o.curve.n,l=u.shrn(1),f=o.curve.g;function d(e){return t.isBuffer(e)&&32===e.length}function h(e){return!!d(e)&&e.compare(a)<0}function p(e){if(!t.isBuffer(e))return!1;if(e.length<33)return!1;const r=e[0],n=e.slice(1,33);if(0===n.compare(s))return!1;if(n.compare(c)>=0)return!1;if((2===r||3===r)&&33===e.length){try{w(e)}catch(e){return!1}return!0}const o=e.slice(33);return 0!==o.compare(s)&&(!(o.compare(c)>=0)&&(4===r&&65===e.length))}function g(e){return 4!==e[0]}function m(e){return!!d(e)&&(e.compare(s)>0&&e.compare(a)<0)}function y(e,t){return void 0===e&&void 0!==t?g(t):void 0===e||e}function b(e){return new n(e)}function v(e){return e.toArrayLike(t,"be",32)}function w(e){return o.curve.decodePoint(e)}function _(e,r){return t.from(e._encode(r))}function k(e,r,n){if(!d(e))throw new TypeError("Expected Hash");if(!m(r))throw new TypeError("Expected Private");if(void 0!==n&&!d(n))throw new TypeError("Expected Extra Data (32 bytes)");const o=b(r),s=b(e);let a,c;i(e,r,(function(e){const t=b(e),r=f.mul(t);return!r.isInfinity()&&(a=r.x.umod(u),0!==a.isZero()&&(c=t.invm(u).mul(s.add(o.mul(a))).umod(u),0!==c.isZero()))}),m,n),c.cmp(l)>0&&(c=u.sub(c));const h=t.allocUnsafe(64);return v(a).copy(h,0),v(c).copy(h,32),h}e.exports={isPoint:p,isPointCompressed:function(e){return!!p(e)&&g(e)},isPrivate:m,pointAdd:function(e,t,r){if(!p(e))throw new TypeError("Expected Point");if(!p(t))throw new TypeError("Expected Point");const n=w(e),o=w(t),i=n.add(o);return i.isInfinity()?null:_(i,y(r,e))},pointAddScalar:function(e,t,r){if(!p(e))throw new TypeError("Expected Point");if(!h(t))throw new TypeError("Expected Tweak");const n=y(r,e),o=w(e);if(0===t.compare(s))return _(o,n);const i=b(t),a=f.mul(i),c=o.add(a);return c.isInfinity()?null:_(c,n)},pointCompress:function(e,t){if(!p(e))throw new TypeError("Expected Point");const r=w(e);if(r.isInfinity())throw new TypeError("Expected Point");return _(r,y(t,e))},pointFromScalar:function(e,t){if(!m(e))throw new TypeError("Expected Private");const r=b(e),n=f.mul(r);return n.isInfinity()?null:_(n,y(t))},pointMultiply:function(e,t,r){if(!p(e))throw new TypeError("Expected Point");if(!h(t))throw new TypeError("Expected Tweak");const n=y(r,e),o=w(e),i=b(t),s=o.mul(i);return s.isInfinity()?null:_(s,n)},privateAdd:function(e,t){if(!m(e))throw new TypeError("Expected Private");if(!h(t))throw new TypeError("Expected Tweak");const r=b(e),n=b(t),o=v(r.add(n).umod(u));return m(o)?o:null},privateSub:function(e,t){if(!m(e))throw new TypeError("Expected Private");if(!h(t))throw new TypeError("Expected Tweak");const r=b(e),n=b(t),o=v(r.sub(n).umod(u));return m(o)?o:null},sign:function(e,t){return k(e,t)},signWithEntropy:function(e,t,r){return k(e,t,r)},verify:function(e,r,n,o){if(!d(e))throw new TypeError("Expected Hash");if(!p(r))throw new TypeError("Expected Point");if(!function(e){const r=e.slice(0,32),n=e.slice(32,64);return t.isBuffer(e)&&64===e.length&&r.compare(a)<0&&n.compare(a)<0}(n))throw new TypeError("Expected Signature");const i=w(r),s=b(n.slice(0,32)),c=b(n.slice(32,64));if(o&&c.cmp(l)>0)return!1;if(s.gtn(0)<=0)return!1;if(c.gtn(0)<=0)return!1;const h=b(e),g=c.invm(u),m=h.mul(g).umod(u),y=s.mul(g).umod(u),v=f.mulAdd(m,i,y);return!v.isInfinity()&&v.x.umod(u).eq(s)}}}).call(this,r(2).Buffer)},function(e,t,r){(function(t){const n=r(120),o=t.alloc(1,1),i=t.alloc(1,0);e.exports=function(e,r,s,a,c){let u=t.alloc(32,0),l=t.alloc(32,1);u=n("sha256",u).update(l).update(i).update(r).update(e).update(c||"").digest(),l=n("sha256",u).update(l).digest(),u=n("sha256",u).update(l).update(o).update(r).update(e).update(c||"").digest(),l=n("sha256",u).update(l).digest(),l=n("sha256",u).update(l).digest();let f=l;for(;!a(f)||!s(f);)u=n("sha256",u).update(l).update(i).digest(),l=n("sha256",u).update(l).digest(),l=n("sha256",u).update(l).digest(),f=l;return f}}).call(this,r(2).Buffer)},function(e,t,r){var n=r(299),o=r(170),i=n.tfJSON,s=n.TfTypeError,a=n.TfPropertyTypeError,c=n.tfSubError,u=n.getValueTypeName,l={arrayOf:function(e,t){function r(r,n){return!!o.Array(r)&&(!o.Nil(r)&&(!(void 0!==t.minLength&&r.lengtht.maxLength)&&((void 0===t.length||r.length===t.length)&&r.every((function(t,r){try{return d(e,t,n)}catch(e){throw c(e,r)}}))))))}return e=f(e),t=t||{},r.toJSON=function(){var r="["+i(e)+"]";return void 0!==t.length?r+="{"+t.length+"}":void 0===t.minLength&&void 0===t.maxLength||(r+="{"+(void 0===t.minLength?0:t.minLength)+","+(void 0===t.maxLength?1/0:t.maxLength)+"}"),r},r},maybe:function e(t){function r(r,n){return o.Nil(r)||t(r,n,e)}return t=f(t),r.toJSON=function(){return"?"+i(t)},r},map:function(e,t){function r(r,n){if(!o.Object(r))return!1;if(o.Nil(r))return!1;for(var i in r){try{t&&d(t,i,n)}catch(e){throw c(e,i,"key")}try{var s=r[i];d(e,s,n)}catch(e){throw c(e,i)}}return!0}return e=f(e),t&&(t=f(t)),r.toJSON=t?function(){return"{"+i(t)+": "+i(e)+"}"}:function(){return"{"+i(e)+"}"},r},object:function(e){var t={};for(var r in e)t[r]=f(e[r]);function n(e,r){if(!o.Object(e))return!1;if(o.Nil(e))return!1;var n;try{for(n in t){d(t[n],e[n],r)}}catch(e){throw c(e,n)}if(r)for(n in e)if(!t[n])throw new a(void 0,n);return!0}return n.toJSON=function(){return i(t)},n},anyOf:function(){var e=[].slice.call(arguments).map(f);function t(t,r){return e.some((function(e){try{return d(e,t,r)}catch(e){return!1}}))}return t.toJSON=function(){return e.map(i).join("|")},t},allOf:function(){var e=[].slice.call(arguments).map(f);function t(t,r){return e.every((function(e){try{return d(e,t,r)}catch(e){return!1}}))}return t.toJSON=function(){return e.map(i).join(" & ")},t},quacksLike:function(e){function t(t){return e===u(t)}return t.toJSON=function(){return e},t},tuple:function(){var e=[].slice.call(arguments).map(f);function t(t,r){return!o.Nil(t)&&(!o.Nil(t.length)&&((!r||t.length===e.length)&&e.every((function(e,n){try{return d(e,t[n],r)}catch(e){throw c(e,n)}}))))}return t.toJSON=function(){return"("+e.map(i).join(", ")+")"},t},value:function(e){function t(t){return t===e}return t.toJSON=function(){return e},t}};function f(e){if(o.String(e))return"?"===e[0]?l.maybe(e.slice(1)):o[e]||l.quacksLike(e);if(e&&o.Object(e)){if(o.Array(e)){if(1!==e.length)throw new TypeError("Expected compile() parameter of type Array of length 1");return l.arrayOf(e[0])}return l.object(e)}return o.Function(e)?e:l.value(e)}function d(e,t,r,n){if(o.Function(e)){if(e(t,r))return!0;throw new s(n||e,t)}return d(f(e),t,r)}for(var h in l.oneOf=l.anyOf,o)d[h]=o[h];for(h in l)d[h]=l[h];var p=r(565);for(h in p)d[h]=p[h];d.compile=f,d.TfTypeError=s,d.TfPropertyTypeError=a,e.exports=d},function(e,t,r){(function(t){var n=r(170),o=r(299);function i(e){return t.isBuffer(e)}function s(e){return"string"==typeof e&&/^([0-9a-f]{2})+$/i.test(e)}function a(e,t){var r=e.toJSON();function n(n){if(!e(n))return!1;if(n.length===t)return!0;throw o.tfCustomError(r+"(Length: "+t+")",r+"(Length: "+n.length+")")}return n.toJSON=function(){return r},n}var c=a.bind(null,n.Array),u=a.bind(null,i),l=a.bind(null,s),f=a.bind(null,n.String);var d=Math.pow(2,53)-1;var h={ArrayN:c,Buffer:i,BufferN:u,Finite:function(e){return"number"==typeof e&&isFinite(e)},Hex:s,HexN:l,Int8:function(e){return e<<24>>24===e},Int16:function(e){return e<<16>>16===e},Int32:function(e){return(0|e)===e},Int53:function(e){return"number"==typeof e&&e>=-d&&e<=d&&Math.floor(e)===e},Range:function(e,t,r){function o(n,o){return r(n,o)&&n>e&&n>>0===e},UInt53:function(e){return"number"==typeof e&&e>=0&&e<=d&&Math.floor(e)===e}};for(var p in h)h[p].toJSON=function(e){return e}.bind(null,p);e.exports=h}).call(this,r(2).Buffer)},function(e,t,r){(function(t){var n=r(298);function o(e,t){if(void 0!==t&&e[0]!==t)throw new Error("Invalid network version");if(33===e.length)return{version:e[0],privateKey:e.slice(1,33),compressed:!1};if(34!==e.length)throw new Error("Invalid WIF length");if(1!==e[33])throw new Error("Invalid compression flag");return{version:e[0],privateKey:e.slice(1,33),compressed:!0}}function i(e,r,n){var o=new t(n?34:33);return o.writeUInt8(e,0),r.copy(o,1),n&&(o[33]=1),o}e.exports={decode:function(e,t){return o(n.decode(e),t)},decodeRaw:o,encode:function(e,t,r){return"number"==typeof e?n.encode(i(e,t,r)):n.encode(i(e.version,e.privateKey,e.compressed))},encodeRaw:i}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PubKeySecp256k1=t.PrivKeySecp256k1=void 0;const o=n(r(45)),i=n(r(568)),s=r(2);t.PrivKeySecp256k1=class{constructor(e){this.privKey=e}toBytes(){return new Uint8Array(this.privKey)}getPubKey(){const e=new o.default.ec("secp256k1").keyFromPrivate(this.privKey);return new a(new Uint8Array(e.getPublic().encodeCompressed("array")))}sign(e){const t=new o.default.ec("secp256k1").keyFromPrivate(this.privKey),r=i.default.SHA256(i.default.lib.WordArray.create(e)).toString(),n=t.sign(s.Buffer.from(r,"hex"),{canonical:!0});return new Uint8Array(n.r.toArray("be",32).concat(n.s.toArray("be",32)))}};class a{constructor(e){this.pubKey=e}toBytes(){return new Uint8Array(this.pubKey)}getAddress(){let e=i.default.SHA256(i.default.lib.WordArray.create(this.pubKey)).toString();return e=i.default.RIPEMD160(i.default.enc.Hex.parse(e)).toString(),new Uint8Array(s.Buffer.from(e,"hex"))}}t.PubKeySecp256k1=a},function(e,t,r){var n;e.exports=(n=r(9),r(125),r(569),r(570),r(80),r(81),r(171),r(300),r(571),r(301),r(572),r(573),r(574),r(172),r(575),r(67),r(22),r(576),r(577),r(578),r(579),r(580),r(581),r(582),r(583),r(584),r(585),r(586),r(587),r(588),r(589),r(590),r(591),n)},function(e,t,r){var n;e.exports=(n=r(9),function(){if("function"==typeof ArrayBuffer){var e=n.lib.WordArray,t=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var r=e.byteLength,n=[],o=0;o>>2]|=e[o]<<24-o%4*8;t.call(this,n,r)}else t.apply(this,arguments)}).prototype=e}}(),n.lib.WordArray)},function(e,t,r){var n;e.exports=(n=r(9),function(){var e=n,t=e.lib.WordArray,r=e.enc;function o(e){return e<<8&4278255360|e>>>8&16711935}r.Utf16=r.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o>>2]>>>16-o%4*8&65535;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var r=e.length,n=[],o=0;o>>1]|=e.charCodeAt(o)<<16-o%2*16;return t.create(n,2*r)}},r.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i>>2]>>>16-i%4*8&65535);n.push(String.fromCharCode(s))}return n.join("")},parse:function(e){for(var r=e.length,n=[],i=0;i>>1]|=o(e.charCodeAt(i)<<16-i%2*16);return t.create(n,2*r)}}}(),n.enc.Utf16)},function(e,t,r){var n,o,i,s,a,c;e.exports=(c=r(9),r(300),o=(n=c).lib.WordArray,i=n.algo,s=i.SHA256,a=i.SHA224=s.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=4,e}}),n.SHA224=s._createHelper(a),n.HmacSHA224=s._createHmacHelper(a),c.SHA224)},function(e,t,r){var n,o,i,s,a,c,u,l;e.exports=(l=r(9),r(125),r(301),o=(n=l).x64,i=o.Word,s=o.WordArray,a=n.algo,c=a.SHA512,u=a.SHA384=c.extend({_doReset:function(){this._hash=new s.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var e=c._doFinalize.call(this);return e.sigBytes-=16,e}}),n.SHA384=c._createHelper(u),n.HmacSHA384=c._createHmacHelper(u),l.SHA384)},function(e,t,r){var n;e.exports=(n=r(9),r(125),function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,s=t.x64.Word,a=t.algo,c=[],u=[],l=[];!function(){for(var e=1,t=0,r=0;r<24;r++){c[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)u[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,i=0;i<24;i++){for(var a=0,f=0,d=0;d<7;d++){if(1&o){var h=(1<>>24)|4278255360&(i<<24|i>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),(A=r[o]).high^=s,A.low^=i}for(var a=0;a<24;a++){for(var d=0;d<5;d++){for(var h=0,p=0,g=0;g<5;g++)h^=(A=r[d+5*g]).high,p^=A.low;var m=f[d];m.high=h,m.low=p}for(d=0;d<5;d++){var y=f[(d+4)%5],b=f[(d+1)%5],v=b.high,w=b.low;for(h=y.high^(v<<1|w>>>31),p=y.low^(w<<1|v>>>31),g=0;g<5;g++)(A=r[d+5*g]).high^=h,A.low^=p}for(var _=1;_<25;_++){var k=(A=r[_]).high,O=A.low,S=c[_];S<32?(h=k<>>32-S,p=O<>>32-S):(h=O<>>64-S,p=k<>>64-S);var E=f[u[_]];E.high=h,E.low=p}var j=f[0],P=r[0];for(j.high=P.high,j.low=P.low,d=0;d<5;d++)for(g=0;g<5;g++){var A=r[_=d+5*g],x=f[_],M=f[(d+1)%5+5*g],I=f[(d+2)%5+5*g];A.high=x.high^~M.high&I.high,A.low=x.low^~M.low&I.low}A=r[0];var C=l[a];A.high^=C.high,A.low^=C.low}},_doFinalize:function(){var t=this._data,r=t.words,n=(this._nDataBytes,8*t.sigBytes),i=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(e.ceil((n+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*r.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,c=a/8,u=[],l=0;l>>24)|4278255360&(d<<24|d>>>8),h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8),u.push(h),u.push(d)}return new o.init(u,a)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});t.SHA3=i._createHelper(d),t.HmacSHA3=i._createHmacHelper(d)}(Math),n.SHA3)},function(e,t,r){var n;e.exports=(n=r(9), -/** @preserve - (c) 2012 by Cédric Mesnil. All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ -function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,s=t.algo,a=o.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=o.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),u=o.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=o.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),f=o.create([0,1518500249,1859775393,2400959708,2840853838]),d=o.create([1352829926,1548603684,1836072691,2053994217,0]),h=s.RIPEMD160=i.extend({_doReset:function(){this._hash=o.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,o=e[n];e[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,s,h,w,_,k,O,S,E,j,P,A=this._hash.words,x=f.words,M=d.words,I=a.words,C=c.words,R=u.words,T=l.words;for(k=i=A[0],O=s=A[1],S=h=A[2],E=w=A[3],j=_=A[4],r=0;r<80;r+=1)P=i+e[t+I[r]]|0,P+=r<16?p(s,h,w)+x[0]:r<32?g(s,h,w)+x[1]:r<48?m(s,h,w)+x[2]:r<64?y(s,h,w)+x[3]:b(s,h,w)+x[4],P=(P=v(P|=0,R[r]))+_|0,i=_,_=w,w=v(h,10),h=s,s=P,P=k+e[t+C[r]]|0,P+=r<16?b(O,S,E)+M[0]:r<32?y(O,S,E)+M[1]:r<48?m(O,S,E)+M[2]:r<64?g(O,S,E)+M[3]:p(O,S,E)+M[4],P=(P=v(P|=0,T[r]))+j|0,k=j,j=E,E=v(S,10),S=O,O=P;P=A[1]+h+E|0,A[1]=A[2]+w+j|0,A[2]=A[3]+_+k|0,A[3]=A[4]+i+O|0,A[4]=A[0]+s+S|0,A[0]=P},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,i=o.words,s=0;s<5;s++){var a=i[s];i[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return o},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,r){return e^t^r}function g(e,t,r){return e&t|~e&r}function m(e,t,r){return(e|~t)^r}function y(e,t,r){return e&r|t&~r}function b(e,t,r){return e^(t|~r)}function v(e,t){return e<>>32-t}t.RIPEMD160=i._createHelper(h),t.HmacRIPEMD160=i._createHmacHelper(h)}(Math),n.RIPEMD160)},function(e,t,r){var n,o,i,s,a,c,u,l,f;e.exports=(f=r(9),r(171),r(172),o=(n=f).lib,i=o.Base,s=o.WordArray,a=n.algo,c=a.SHA1,u=a.HMAC,l=a.PBKDF2=i.extend({cfg:i.extend({keySize:4,hasher:c,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=u.create(r.hasher,e),o=s.create(),i=s.create([1]),a=o.words,c=i.words,l=r.keySize,f=r.iterations;a.length>24&255)){var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}else e+=1<<24;return e}var r=e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,o=n.blockSize,i=this._iv,s=this._counter;i&&(s=this._counter=i.slice(0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(s);var a=s.slice(0);n.encryptBlock(a,0);for(var c=0;c>>2]|=o<<24-i%4*8,e.sigBytes+=o},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Ansix923)},function(e,t,r){var n;e.exports=(n=r(9),r(22),n.pad.Iso10126={pad:function(e,t){var r=4*t,o=r-e.sigBytes%r;e.concat(n.lib.WordArray.random(o-1)).concat(n.lib.WordArray.create([o<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Iso10126)},function(e,t,r){var n;e.exports=(n=r(9),r(22),n.pad.Iso97971={pad:function(e,t){e.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},n.pad.Iso97971)},function(e,t,r){var n;e.exports=(n=r(9),r(22),n.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){var t=e.words,r=e.sigBytes-1;for(r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},n.pad.ZeroPadding)},function(e,t,r){var n;e.exports=(n=r(9),r(22),n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding)},function(e,t,r){var n,o,i,s;e.exports=(s=r(9),r(22),o=(n=s).lib.CipherParams,i=n.enc.Hex,n.format.Hex={stringify:function(e){return e.ciphertext.toString(i)},parse:function(e){var t=i.parse(e);return o.create({ciphertext:t})}},s.format.Hex)},function(e,t,r){var n;e.exports=(n=r(9),r(80),r(81),r(67),r(22),function(){var e=n,t=e.lib.BlockCipher,r=e.algo,o=[],i=[],s=[],a=[],c=[],u=[],l=[],f=[],d=[],h=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var p=n^n<<1^n<<2^n<<3^n<<4;p=p>>>8^255&p^99,o[r]=p,i[p]=r;var g=e[r],m=e[g],y=e[m],b=257*e[p]^16843008*p;s[r]=b<<24|b>>>8,a[r]=b<<16|b>>>16,c[r]=b<<8|b>>>24,u[r]=b,b=16843009*y^65537*m^257*g^16843008*r,l[p]=b<<24|b>>>8,f[p]=b<<16|b>>>16,d[p]=b<<8|b>>>24,h[p]=b,r?(r=g^e[e[e[y^g]]],n^=e[e[n]]):r=n=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],g=r.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),i=this._keySchedule=[],s=0;s6&&s%r==4&&(u=o[u>>>24]<<24|o[u>>>16&255]<<16|o[u>>>8&255]<<8|o[255&u]):(u=o[(u=u<<8|u>>>24)>>>24]<<24|o[u>>>16&255]<<16|o[u>>>8&255]<<8|o[255&u],u^=p[s/r|0]<<24),i[s]=i[s-r]^u);for(var a=this._invKeySchedule=[],c=0;c>>24]]^f[o[u>>>16&255]]^d[o[u>>>8&255]]^h[o[255&u]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,a,c,u,o)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,l,f,d,h,i),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,o,i,s,a){for(var c=this._nRounds,u=e[t]^r[0],l=e[t+1]^r[1],f=e[t+2]^r[2],d=e[t+3]^r[3],h=4,p=1;p>>24]^o[l>>>16&255]^i[f>>>8&255]^s[255&d]^r[h++],m=n[l>>>24]^o[f>>>16&255]^i[d>>>8&255]^s[255&u]^r[h++],y=n[f>>>24]^o[d>>>16&255]^i[u>>>8&255]^s[255&l]^r[h++],b=n[d>>>24]^o[u>>>16&255]^i[l>>>8&255]^s[255&f]^r[h++];u=g,l=m,f=y,d=b}g=(a[u>>>24]<<24|a[l>>>16&255]<<16|a[f>>>8&255]<<8|a[255&d])^r[h++],m=(a[l>>>24]<<24|a[f>>>16&255]<<16|a[d>>>8&255]<<8|a[255&u])^r[h++],y=(a[f>>>24]<<24|a[d>>>16&255]<<16|a[u>>>8&255]<<8|a[255&l])^r[h++],b=(a[d>>>24]<<24|a[u>>>16&255]<<16|a[l>>>8&255]<<8|a[255&f])^r[h++],e[t]=g,e[t+1]=m,e[t+2]=y,e[t+3]=b},keySize:8});e.AES=t._createHelper(g)}(),n.AES)},function(e,t,r){var n;e.exports=(n=r(9),r(80),r(81),r(67),r(22),function(){var e=n,t=e.lib,r=t.WordArray,o=t.BlockCipher,i=e.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],u=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],l=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],f=i.DES=o.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=s[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var o=this._subKeys=[],i=0;i<16;i++){var u=o[i]=[],l=c[i];for(r=0;r<24;r++)u[r/6|0]|=t[(a[r]-1+l)%28]<<31-r%6,u[4+(r/6|0)]|=t[28+(a[r+24]-1+l)%28]<<31-r%6;for(u[0]=u[0]<<1|u[0]>>>31,r=1;r<7;r++)u[r]=u[r]>>>4*(r-1)+3;u[7]=u[7]<<5|u[7]>>>27}var f=this._invSubKeys=[];for(r=0;r<16;r++)f[r]=o[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],d.call(this,4,252645135),d.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),d.call(this,1,1431655765);for(var n=0;n<16;n++){for(var o=r[n],i=this._lBlock,s=this._rBlock,a=0,c=0;c<8;c++)a|=u[c][((s^o[c])&l[c])>>>0];this._lBlock=s,this._rBlock=i^a}var f=this._lBlock;this._lBlock=this._rBlock,this._rBlock=f,d.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<192.");var t=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),o=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=f.createEncryptor(r.create(t)),this._des2=f.createEncryptor(r.create(n)),this._des3=f.createEncryptor(r.create(o))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=o._createHelper(p)}(),n.TripleDES)},function(e,t,r){var n;e.exports=(n=r(9),r(80),r(81),r(67),r(22),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=r.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],o=0;o<256;o++)n[o]=o;o=0;for(var i=0;o<256;o++){var s=o%r,a=t[s>>>2]>>>24-s%4*8&255;i=(i+n[o]+a)%256;var c=n[o];n[o]=n[i],n[i]=c}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,r=this._j,n=0,o=0;o<4;o++){r=(r+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[r],e[r]=i,n|=e[(e[t]+e[r])%256]<<24-8*o}return this._i=t,this._j=r,n}e.RC4=t._createHelper(o);var s=r.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});e.RC4Drop=t._createHelper(s)}(),n.RC4)},function(e,t,r){var n;e.exports=(n=r(9),r(80),r(81),r(67),r(22),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=[],i=[],s=[],a=r.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=16711935&(e[r]<<8|e[r]>>>24)|4278255360&(e[r]<<24|e[r]>>>8);var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,r=0;r<4;r++)c.call(this);for(r=0;r<8;r++)o[r]^=n[r+4&7];if(t){var i=t.words,s=i[0],a=i[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),f=u>>>16|4294901760&l,d=l<<16|65535&u;for(o[0]^=u,o[1]^=f,o[2]^=l,o[3]^=d,o[4]^=u,o[5]^=f,o[6]^=l,o[7]^=d,r=0;r<4;r++)c.call(this)}},_doProcessBlock:function(e,t){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),e[t+n]^=o[n]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],o=65535&n,a=n>>>16,c=((o*o>>>17)+o*a>>>15)+a*a,u=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=c^u}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.Rabbit=t._createHelper(a)}(),n.Rabbit)},function(e,t,r){var n;e.exports=(n=r(9),r(80),r(81),r(67),r(22),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,o=[],i=[],s=[],a=r.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var o=0;o<4;o++)c.call(this);for(o=0;o<8;o++)n[o]^=r[o+4&7];if(t){var i=t.words,s=i[0],a=i[1],u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),f=u>>>16|4294901760&l,d=l<<16|65535&u;for(n[0]^=u,n[1]^=f,n[2]^=l,n[3]^=d,n[4]^=u,n[5]^=f,n[6]^=l,n[7]^=d,o=0;o<4;o++)c.call(this)}},_doProcessBlock:function(e,t){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),e[t+n]^=o[n]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,r=0;r<8;r++)i[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],o=65535&n,a=n>>>16,c=((o*o>>>17)+o*a>>>15)+a*a,u=((4294901760&n)*n|0)+((65535&n)*n|0);s[r]=c^u}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.RabbitLegacy=t._createHelper(a)}(),n.RabbitLegacy)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hash=void 0;const n=r(76);t.Hash=class{static sha256(e){return new Uint8Array((new n.sha256).update(e).digest())}static truncHashPortion(e,t=e.length,r=0){return e.substring(0,t)+"…"+e.substring(e.length-r,e.length)}}},function(e,t,r){"use strict";var n=r(28),o=r(302),i=r(594),s=r(308);function a(e){var t=new i(e),r=o(i.prototype.request,t);return n.extend(r,i.prototype,t),n.extend(r,t),r}var c=a(r(305));c.Axios=i,c.create=function(e){return a(s(c.defaults,e))},c.Cancel=r(309),c.CancelToken=r(607),c.isCancel=r(304),c.all=function(e){return Promise.all(e)},c.spread=r(608),c.isAxiosError=r(609),e.exports=c,e.exports.default=c},function(e,t,r){"use strict";var n=r(28),o=r(303),i=r(595),s=r(596),a=r(308);function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[s,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)r=r.then(t.shift(),t.shift());return r},c.prototype.getUri=function(e){return e=a(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,r){return this.request(a(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,r,n){return this.request(a(n||{},{method:e,url:t,data:r}))}})),e.exports=c},function(e,t,r){"use strict";var n=r(28);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,r){"use strict";var n=r(28),o=r(597),i=r(304),s=r(305);function a(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return a(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||s.adapter)(e).then((function(t){return a(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(a(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,r){"use strict";var n=r(28);e.exports=function(e,t,r){return n.forEach(r,(function(r){e=r(e,t)})),e}},function(e,t,r){"use strict";var n=r(28);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},function(e,t,r){"use strict";var n=r(307);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},function(e,t,r){"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,r){"use strict";var n=r(28);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,s){var a=[];a.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,r){"use strict";var n=r(603),o=r(604);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";var n=r(28),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,i,s={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(s[t]&&o.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([r]):s[t]?s[t]+", "+r:r}})),s):s}},function(e,t,r){"use strict";var n=r(28);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(309);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrayContentEquals=void 0,t.arrayContentEquals=function(e,t){if(e.length!==t.length)return!1;for(let r=0;rsetTimeout(t,e))}},function(e,t,r){"use strict";(function(e){function r(e){return"object"==typeof e&&null!==e}Object.defineProperty(t,"__esModule",{value:!0}),t.isUint8Array=t.isNonNullObject=void 0,t.isNonNullObject=r,t.isUint8Array=function(t){return!!r(t)&&("[object Uint8Array]"===Object.prototype.toString.call(t)&&(void 0===e||void 0===e.isBuffer||!e.isBuffer(t)))}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Bip39=void 0;const s=r(39),a=i(r(69)),c=r(97),u=i(r(311)),l=r(312);t.Bip39=class{static encode(e){if(-1===[16,20,24,28,32].indexOf(e.length))throw new Error("invalid input length");return new l.EnglishMnemonic(a.entropyToMnemonic(s.toHex(e)))}static decode(e){return s.fromHex(a.mnemonicToEntropy(e.toString()))}static async mnemonicToSeed(e,t){const r=s.toUtf8(u.nfkd(e.toString())),n="mnemonic"+(t?u.nfkd(t):""),o=s.toUtf8(n);return this.pbkdf2(r,o,2048,64,"sha512")}static async pbkdf2(e,t,r,n,o){return new Promise((i,s)=>{c.pbkdf2(e,t,r,n,o,(e,t)=>{e?s(e):i(new Uint8Array(t))})})}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromAscii=t.toAscii=void 0,t.toAscii=function(e){return Uint8Array.from(e.split("").map(e=>{const t=e.charCodeAt(0);if(t<32||t>126)throw new Error("Cannot encode character that is out of printable ASCII range: "+t);return t}))},t.fromAscii=function(e){return(t=Array.from(e),t.map(e=>{if(e<32||e>126)throw new Error("Cannot decode character that is out of printable ASCII range: "+e);return String.fromCharCode(e)})).join("");var t}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.fromBase64=t.toBase64=void 0;const s=i(r(117));t.toBase64=function(e){return s.fromByteArray(e)},t.fromBase64=function(e){if(!e.match(/^[a-zA-Z0-9+/]*={0,2}$/))throw new Error("Invalid base64 string format");return s.toByteArray(e)}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Bech32=void 0;const s=i(r(94));t.Bech32=class{static encode(e,t,r){return s.encode(e,s.toWords(t),r)}static decode(e,t=1/0){const r=s.decode(e,t);return{prefix:r.prefix,data:new Uint8Array(s.fromWords(r.words))}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromHex=t.toHex=void 0,t.toHex=function(e){let t="";for(const r of e)t+=("0"+r.toString(16)).slice(-2);return t},t.fromHex=function(e){if(e.length%2!=0)throw new Error("hex string length must be a multiple of 2");const t=[];for(let r=0;r32)throw new Error("Message hash length must not exceed 32 bytes");const r=c.keyFromPrivate(t),{r:n,s:o,recoveryParam:i}=r.sign(e,{canonical:!0});if("number"!=typeof i)throw new Error("Recovery param missing");return new a.ExtendedSecp256k1Signature(Uint8Array.from(n.toArray()),Uint8Array.from(o.toArray()),i)}static async verifySignature(e,t,r){if(0===t.length)throw new Error("Message hash must not be empty");if(t.length>32)throw new Error("Message hash length must not exceed 32 bytes");const n=c.keyFromPublic(r);try{return n.verify(t,e.toDer())}catch(e){return!1}}static recoverPubkey(e,t){const r={r:o.toHex(e.r()),s:o.toHex(e.s())},n=c.recoverPubKey(t,r,e.recovery),i=c.keyFromPublic(n);return o.fromHex(i.getPublic(!1,"hex"))}static compressPubkey(e){switch(e.length){case 33:return e;case 65:return Uint8Array.from(c.keyFromPublic(e).getPublic(!0,"array"));default:throw new Error("Invalid pubkey length")}}static trimRecoveryByte(e){switch(e.length){case 64:return e;case 65:return e.slice(0,64);default:throw new Error("Invalid signature length")}}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.stringToPath=t.pathToString=t.Slip10=t.Slip10RawIndex=t.slip10CurveFromString=t.Slip10Curve=void 0;const o=r(39),i=r(82),s=n(r(6)),a=n(r(45)),c=r(313),u=r(316);var l;!function(e){e.Secp256k1="Bitcoin seed",e.Ed25519="ed25519 seed"}(l=t.Slip10Curve||(t.Slip10Curve={})),t.slip10CurveFromString=function(e){switch(e){case l.Ed25519:return l.Ed25519;case l.Secp256k1:return l.Secp256k1;default:throw new Error(`Unknown curve string: '${e}'`)}};class f extends i.Uint32{static hardened(e){return new f(e+2**31)}static normal(e){return new f(e)}isHardened(){return this.data>=2**31}}t.Slip10RawIndex=f;const d=new a.default.ec("secp256k1");class h{static derivePath(e,t,r){let n=this.master(e,t);for(const t of r)n=this.child(e,n.privkey,n.chainCode,t);return n}static master(e,t){const r=new c.Hmac(u.Sha512,o.toAscii(e)).update(t).digest(),n=r.slice(0,32),i=r.slice(32,64);return e!==l.Ed25519&&(this.isZero(n)||this.isGteN(e,n))?this.master(e,r):{chainCode:i,privkey:n}}static child(e,t,r,n){let o;if(n.isHardened()){const e=new Uint8Array([0,...t,...n.toBytesBigEndian()]);o=new c.Hmac(u.Sha512,r).update(e).digest()}else{if(e===l.Ed25519)throw new Error("Normal keys are not allowed with ed25519");{const i=new Uint8Array([...h.serializedPoint(e,new s.default(t)),...n.toBytesBigEndian()]);o=new c.Hmac(u.Sha512,r).update(i).digest()}}return this.childImpl(e,t,r,n,o)}static serializedPoint(e,t){switch(e){case l.Secp256k1:return o.fromHex(d.g.mul(t).encodeCompressed("hex"));default:throw new Error("curve not supported")}}static childImpl(e,t,r,n,o){const i=o.slice(0,32),a=o.slice(32,64),f=a;if(e===l.Ed25519)return{chainCode:f,privkey:i};const d=this.n(e),h=new s.default(i).add(new s.default(t)).mod(d),p=Uint8Array.from(h.toArray("be",32));if(this.isGteN(e,i)||this.isZero(p)){const o=new c.Hmac(u.Sha512,r).update(new Uint8Array([1,...a,...n.toBytesBigEndian()])).digest();return this.childImpl(e,t,r,n,o)}return{chainCode:f,privkey:p}}static isZero(e){return e.every(e=>0===e)}static isGteN(e,t){return new s.default(t).gte(this.n(e))}static n(e){switch(e){case l.Secp256k1:return new s.default("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141",16);default:throw new Error("curve not supported")}}}t.Slip10=h,t.pathToString=function(e){return e.reduce((e,t)=>e+"/"+(t.isHardened()?t.toNumber()-2**31+"'":t.toString()),"m")},t.stringToPath=function(e){if(!e.startsWith("m"))throw new Error("Path string must start with 'm'");let t=e.slice(1);const r=new Array;for(;t;){const e=t.match(/^\/([0-9]+)('?)/);if(!e)throw new Error("Syntax error while reading path component");const[n,o,s]=e,a=i.Uint53.fromString(o).toNumber();if(a>=2**31)throw new Error("Component value too high. Must not exceed 2**31-1.");s?r.push(f.hardened(a)):r.push(f.normal(a)),t=t.slice(n.length)}return r}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Decimal=void 0;const o=n(r(6));class i{constructor(e,t){this.data={atomics:new o.default(e),fractionalDigits:t}}static fromUserInput(e,t){i.verifyFractionalDigits(t);const r=e.match(/[^0-9.]/);if(r)throw new Error("Invalid character at position "+(r.index+1));let n,o;if(-1===e.search(/\./))n=e,o="";else{const t=e.split(".");switch(t.length){case 0:case 1:throw new Error("Fewer than two elements in split result. This must not happen here.");case 2:if(!t[1])throw new Error("Fractional part missing");n=t[0],o=t[1].replace(/0+$/,"");break;default:throw new Error("More than one separator found")}}if(o.length>t)throw new Error("Got more fractional digits than supported");const s=`${n}${o.padEnd(t,"0")}`;return new i(s,t)}static fromAtomics(e,t){return i.verifyFractionalDigits(t),new i(e,t)}static verifyFractionalDigits(e){if(!Number.isInteger(e))throw new Error("Fractional digits is not an integer");if(e<0)throw new Error("Fractional digits must not be negative");if(e>100)throw new Error("Fractional digits must not exceed 100")}static compare(e,t){if(e.fractionalDigits!==t.fractionalDigits)throw new Error("Fractional digits do not match");return e.data.atomics.cmp(new o.default(t.atomics))}get atomics(){return this.data.atomics.toString()}get fractionalDigits(){return this.data.fractionalDigits}toString(){const e=new o.default(10).pow(new o.default(this.data.fractionalDigits)),t=this.data.atomics.div(e),r=this.data.atomics.mod(e);if(r.isZero())return t.toString();{const e=r.toString().padStart(this.data.fractionalDigits,"0").replace(/0+$/,"");return`${t.toString()}.${e}`}}toFloatApproximation(){const e=Number(this.toString());if(Number.isNaN(e))throw new Error("Conversion to number failed");return e}plus(e){if(this.fractionalDigits!==e.fractionalDigits)throw new Error("Fractional digits do not match");const t=this.data.atomics.add(new o.default(e.atomics));return new i(t.toString(),this.fractionalDigits)}minus(e){if(this.fractionalDigits!==e.fractionalDigits)throw new Error("Fractional digits do not match");const t=this.data.atomics.sub(new o.default(e.atomics));if(t.ltn(0))throw new Error("Difference must not be negative");return new i(t.toString(),this.fractionalDigits)}multiply(e){const t=this.data.atomics.mul(new o.default(e.toString()));return new i(t.toString(),this.fractionalDigits)}equals(e){return 0===i.compare(this,e)}isLessThan(e){return i.compare(this,e)<0}isLessThanOrEqual(e){return i.compare(this,e)<=0}isGreaterThan(e){return i.compare(this,e)>0}isGreaterThanOrEqual(e){return i.compare(this,e)>=0}}t.Decimal=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Uint64=t.Uint53=t.Int53=t.Uint32=void 0;const o=n(r(6)),i=new o.default("18446744073709551615",10,"be");class s{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(e<0||e>4294967295)throw new Error("Input not in uint32 range: "+e.toString());this.data=e}static fromBigEndianBytes(e){return s.fromBytes(e)}static fromBytes(e,t="be"){if(4!==e.length)throw new Error("Invalid input length. Expected 4 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);const r="be"===t?e:Array.from(e).reverse();return new s(r[0]*2**24+65536*r[1]+256*r[2]+r[3])}static fromString(e){if(!e.match(/^[0-9]+$/))throw new Error("Invalid string format");return new s(Number.parseInt(e,10))}toBytesBigEndian(){return new Uint8Array([255&Math.floor(this.data/2**24),255&Math.floor(this.data/65536),255&Math.floor(this.data/256),255&Math.floor(this.data/1)])}toBytesLittleEndian(){return new Uint8Array([255&Math.floor(this.data/1),255&Math.floor(this.data/256),255&Math.floor(this.data/65536),255&Math.floor(this.data/2**24)])}toNumber(){return this.data}toString(){return this.data.toString()}}t.Uint32=s;class a{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(eNumber.MAX_SAFE_INTEGER)throw new Error("Input not in int53 range: "+e.toString());this.data=e}static fromString(e){if(!e.match(/^-?[0-9]+$/))throw new Error("Invalid string format");return new a(Number.parseInt(e,10))}toNumber(){return this.data}toString(){return this.data.toString()}}t.Int53=a;class c{constructor(e){const t=new a(e);if(t.toNumber()<0)throw new Error("Input is negative");this.data=t}static fromString(e){const t=a.fromString(e);return new c(t.toNumber())}toNumber(){return this.data.toNumber()}toString(){return this.data.toString()}}t.Uint53=c;class u{constructor(e){if(e.isNeg())throw new Error("Input is negative");if(e.gt(i))throw new Error("Input exceeds uint64 range");this.data=e}static fromBytesBigEndian(e){return u.fromBytes(e)}static fromBytes(e,t="be"){if(8!==e.length)throw new Error("Invalid input length. Expected 8 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);const r="be"===t?Array.from(e):Array.from(e).reverse();return new u(new o.default(r))}static fromString(e){if(!e.match(/^[0-9]+$/))throw new Error("Invalid string format");return new u(new o.default(e,10,"be"))}static fromNumber(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");let t;try{t=new o.default(e)}catch(e){throw new Error("Input is not a safe integer")}return new u(t)}toBytesBigEndian(){return Uint8Array.from(this.data.toArray("be",8))}toBytesLittleEndian(){return Uint8Array.from(this.data.toArray("le",8))}toString(){return this.data.toString(10)}toNumber(){return this.data.toNumber()}}t.Uint64=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupAuthExtension=void 0,t.setupAuthExtension=function(e){return{auth:{account:async t=>{const r="/auth/accounts/"+t,n=await e.get(r);if("cosmos-sdk/Account"!==n.result.type)throw new Error("Unexpected response data format");return n}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupBankExtension=void 0,t.setupBankExtension=function(e){return{bank:{balances:async t=>{const r="/bank/balances/"+t;return e.get(r)}}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupDistributionExtension=void 0,t.setupDistributionExtension=function(e){return{distribution:{delegatorRewards:async t=>e.get(`/distribution/delegators/${t}/rewards`),delegatorReward:async(t,r)=>e.get(`/distribution/delegators/${t}/rewards/${r}`),withdrawAddress:async t=>e.get(`/distribution/delegators/${t}/withdraw_address`),validator:async t=>e.get("/distribution/validators/"+t),validatorRewards:async t=>e.get(`/distribution/validators/${t}/rewards`),validatorOutstandingRewards:async t=>e.get(`/distribution/validators/${t}/outstanding_rewards`),parameters:async()=>e.get("/distribution/parameters"),communityPool:async()=>e.get("/distribution/community_pool")}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupGovExtension=t.GovParametersType=void 0,function(e){e.Deposit="deposit",e.Tallying="tallying",e.Voting="voting"}(t.GovParametersType||(t.GovParametersType={})),t.setupGovExtension=function(e){return{gov:{parameters:async t=>e.get("/gov/parameters/"+t),proposals:async()=>e.get("/gov/proposals"),proposal:async t=>e.get("/gov/proposals/"+t),proposer:async t=>e.get(`/gov/proposals/${t}/proposer`),deposits:async t=>e.get(`/gov/proposals/${t}/deposits`),deposit:async(t,r)=>e.get(`/gov/proposals/${t}/deposits/${r}`),tally:async t=>e.get(`/gov/proposals/${t}/tally`),votes:async t=>e.get(`/gov/proposals/${t}/votes`),vote:async(t,r)=>e.get(`/gov/proposals/${t}/votes/${r}`)}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupMintExtension=void 0,t.setupMintExtension=function(e){return{mint:{parameters:async()=>e.get("/minting/parameters"),inflation:async()=>e.get("/minting/inflation"),annualProvisions:async()=>e.get("/minting/annual-provisions")}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupSlashingExtension=void 0,t.setupSlashingExtension=function(e){return{slashing:{signingInfos:async()=>e.get("/slashing/signing_infos"),parameters:async()=>e.get("/slashing/parameters")}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupStakingExtension=t.BondStatus=void 0,function(e){e[e.Unbonded=0]="Unbonded",e[e.Unbonding=1]="Unbonding",e[e.Bonded=2]="Bonded"}(t.BondStatus||(t.BondStatus={})),t.setupStakingExtension=function(e){return{staking:{delegatorDelegations:async t=>e.get(`/staking/delegators/${t}/delegations`),delegatorUnbondingDelegations:async t=>e.get(`/staking/delegators/${t}/unbonding_delegations`),delegatorTransactions:async t=>e.get(`/staking/delegators/${t}/txs`),delegatorValidators:async t=>e.get(`/staking/delegators/${t}/validators`),delegatorValidator:async(t,r)=>e.get(`/staking/delegators/${t}/validators/${r}`),delegation:async(t,r)=>e.get(`/staking/delegators/${t}/delegations/${r}`),unbondingDelegation:async(t,r)=>e.get(`/staking/delegators/${t}/unbonding_delegations/${r}`),redelegations:async()=>e.get("/staking/redelegations"),validators:async t=>e.get("/staking/validators",t),validator:async t=>e.get("/staking/validators/"+t),validatorDelegations:async t=>e.get(`/staking/validators/${t}/delegations`),validatorUnbondingDelegations:async t=>e.get(`/staking/validators/${t}/unbonding_delegations`),historicalInfo:async t=>e.get("/staking/historical_info/"+t),pool:async()=>e.get("/staking/pool"),parameters:async()=>e.get("/staking/parameters")}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupSupplyExtension=void 0,t.setupSupplyExtension=function(e){return{supply:{totalAll:async()=>e.get("/supply/total"),total:async t=>e.get("/supply/total/"+t)}}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LcdClient=t.normalizeLcdApiArray=void 0;const o=r(100),i=n(r(68)),s=r(319);function a(e){var t;if(null===(t=e.response)||void 0===t?void 0:t.data){let t;const r=e.response.data;throw t=r.error&&"string"==typeof r.error?r.error:"string"==typeof r?r:JSON.stringify(r),new Error(`${t} (HTTP ${e.response.status})`)}throw e}t.normalizeLcdApiArray=function(e){return e||[]};class c{constructor(e,t=s.BroadcastMode.Block){this.client=i.default.create({baseURL:e,headers:{post:{"Content-Type":"application/json"}}}),this.broadcastMode=t}static withExtensions(e,...t){const r=new c(e.apiUrl,e.broadcastMode),n=t.map(e=>e(r));for(const e of n){o.assert(o.isNonNullObject(e),"Extension must be a non-null object");for(const[t,n]of Object.entries(e)){o.assert(o.isNonNullObject(n),`Module must be a non-null object. Found type ${typeof n} for module "${t}".`);const e=r[t]||{};r[t]=Object.assign(Object.assign({},e),n)}}return r}async get(e,t){const{data:r}=await this.client.get(e,{params:t}).catch(a);if(null===r)throw new Error("Received null response from server");return r}async post(e,t){if(!o.isNonNullObject(t))throw new Error("Got unexpected type of params. Expected object.");const{data:r}=await this.client.post(e,t).catch(a);if(null===r)throw new Error("Received null response from server");return r}async blocksLatest(){const e=await this.get("/blocks/latest");if(!e.block)throw new Error("Unexpected response data format");return e}async blocks(e){const t=await this.get("/blocks/"+e);if(!t.block)throw new Error("Unexpected response data format");return t}async nodeInfo(){const e=await this.get("/node_info");if(!e.node_info)throw new Error("Unexpected response data format");return e}async txById(e){const t=await this.get("/txs/"+e);if(!t.tx)throw new Error("Unexpected response data format");return t}async txsQuery(e){const t=await this.get("/txs?"+e);if(!t.txs)throw new Error("Unexpected response data format");return t}async encodeTx(e){const t=await this.post("/txs/encode",e);if(!t.tx)throw new Error("Unexpected response data format");return t}async broadcastTx(e){const t={tx:e,mode:this.broadcastMode},r=await this.post("/txs",t);if(!r.txhash)throw new Error("Unexpected response data format");return r}}t.LcdClient=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePubkey=t.uint64ToString=t.uint64ToNumber=void 0;const n=r(82),o=r(175);t.uint64ToNumber=function(e){return("number"==typeof e?n.Uint64.fromNumber(e):n.Uint64.fromString(e)).toNumber()},t.uint64ToString=function(e){return("number"==typeof e?n.Uint64.fromNumber(e):n.Uint64.fromString(e)).toString()},t.normalizePubkey=function(e){return e?"string"==typeof e?o.decodeBech32Pubkey(e):e:null}},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.isMsgUndelegate=t.isMsgBeginRedelegate=t.isMsgDelegate=t.isMsgEditValidator=t.isMsgCreateValidator=t.isMsgUnjail=t.isMsgDeposit=t.isMsgVote=t.isMsgSubmitProposal=t.isMsgSubmitEvidence=t.isMsgFundCommunityPool=t.isMsgWithdrawValidatorCommission=t.isMsgWithdrawDelegatorReward=t.isMsgSetWithdrawAddress=t.isMsgVerifyInvariant=t.isMsgMultiSend=t.isMsgSend=void 0,t.isMsgSend=function(e){return"cosmos-sdk/MsgSend"===e.type},t.isMsgMultiSend=function(e){return"cosmos-sdk/MsgMultiSend"===e.type},t.isMsgVerifyInvariant=function(e){return"cosmos-sdk/MsgVerifyInvariant"===e.type},t.isMsgSetWithdrawAddress=function(e){return"cosmos-sdk/MsgModifyWithdrawAddress"===e.type},t.isMsgWithdrawDelegatorReward=function(e){return"cosmos-sdk/MsgWithdrawDelegationReward"===e.type},t.isMsgWithdrawValidatorCommission=function(e){return"cosmos-sdk/MsgWithdrawValidatorCommission"===e.type},t.isMsgFundCommunityPool=function(e){return"cosmos-sdk/MsgFundCommunityPool"===e.type},t.isMsgSubmitEvidence=function(e){return"cosmos-sdk/MsgSubmitEvidence"===e.type},t.isMsgSubmitProposal=function(e){return"cosmos-sdk/MsgSubmitProposal"===e.type},function(e){e[e.VoteOptionUnspecified=0]="VoteOptionUnspecified",e[e.VoteOptionYes=1]="VoteOptionYes",e[e.VoteOptionAbstain=2]="VoteOptionAbstain",e[e.VoteOptionNo=3]="VoteOptionNo",e[e.VoteOptionNoWithVeto=4]="VoteOptionNoWithVeto"}(n||(n={})),t.isMsgVote=function(e){return"cosmos-sdk/MsgVote"===e.type},t.isMsgDeposit=function(e){return"cosmos-sdk/MsgDeposit"===e.type},t.isMsgUnjail=function(e){return"cosmos-sdk/MsgUnjail"===e.type},t.isMsgCreateValidator=function(e){return"cosmos-sdk/MsgCreateValidator"===e.type},t.isMsgEditValidator=function(e){return"cosmos-sdk/MsgEditValidator"===e.type},t.isMsgDelegate=function(e){return"cosmos-sdk/MsgDelegate"===e.type},t.isMsgBeginRedelegate=function(e){return"cosmos-sdk/MsgBeginRedelegate"===e.type},t.isMsgUndelegate=function(e){return"cosmos-sdk/MsgUndelegate"===e.type}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findSequenceForSignedTx=void 0;const n=r(50),o=r(101),i=r(127);t.findSequenceForSignedTx=async function(e,t,r,s,a=0){const c=e.value.signatures.find(()=>!0);if(!c)throw new Error("Signature missing in tx");const{pubkey:u,signature:l}=i.decodeSignature(c),f=n.Secp256k1Signature.fromFixedLength(l);for(let i=a;i({hdPath:n.pathToString(e.hdPath),prefix:e.prefix}))},i=o.toUtf8(JSON.stringify(r)),s={algorithm:l.supportedAlgorithms.xchacha20poly1305Ietf},a=await l.encrypt(i,e,s),c={type:"secp256k1wallet-v1",kdf:t,encryption:s,data:o.toBase64(a)};return JSON.stringify(c)}}t.Secp256k1HdWallet=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Secp256k1Wallet=void 0;const n=r(50),o=r(173),i=r(101),s=r(127);class a{constructor(e,t,r){this.privkey=e,this.pubkey=t,this.prefix=r}static async fromKey(e,t="cosmos"){const r=(await n.Secp256k1.makeKeypair(e)).pubkey;return new a(e,n.Secp256k1.compressPubkey(r),t)}get address(){return o.rawSecp256k1PubkeyToAddress(this.pubkey,this.prefix)}async getAccounts(){return[{algo:"secp256k1",address:this.address,pubkey:this.pubkey}]}async signAmino(e,t){if(e!==this.address)throw new Error(`Address ${e} not found in wallet`);const r=new n.Sha256(i.serializeSignDoc(t)).digest(),o=await n.Secp256k1.createSignature(r,this.privkey),a=new Uint8Array([...o.r(32),...o.s(32)]);return{signed:t,signature:s.encodeSecp256k1Signature(this.pubkey,a)}}}t.Secp256k1Wallet=a},function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,o="~";function i(){}function s(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function a(e,t,r,n,i){if("function"!=typeof r)throw new TypeError("The listener must be a function");var a=new s(r,n||e,i),c=o?o+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],a]:e._events[c].push(a):(e._events[c]=a,e._eventsCount++),e}function c(e,t){0==--e._eventsCount?e._events=new i:delete e._events[t]}function u(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(o=!1)),u.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)n.call(e,t)&&r.push(o?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},u.prototype.listeners=function(e){var t=o?o+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,i=r.length,s=new Array(i);nnew Promise((i,s)=>{if("number"!=typeof t||t<0)throw new TypeError("Expected `milliseconds` to be a positive number");if(t===1/0)return void i(e);const a=setTimeout(()=>{if("function"==typeof r){try{i(r())}catch(e){s(e)}return}const n=r instanceof Error?r:new o("string"==typeof r?r:`Promise timed out after ${t} milliseconds`);"function"==typeof e.cancel&&e.cancel(),s(n)},t);n(e.then(i,s),()=>{clearTimeout(a)})});e.exports=i,e.exports.default=i,e.exports.TimeoutError=o},function(e,t,r){"use strict";e.exports=(e,t)=>(t=t||(()=>{}),e.then(e=>new Promise(e=>{e(t())}).then(()=>e),e=>new Promise(e=>{e(t())}).then(()=>{throw e})))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(649);t.default=class{constructor(){this._queue=[]}enqueue(e,t){const r={priority:(t=Object.assign({priority:0},t)).priority,run:e};if(this.size&&this._queue[this.size-1].priority>=t.priority)return void this._queue.push(r);const o=n.default(this._queue,r,(e,t)=>t.priority-e.priority);this._queue.splice(o,0,r)}dequeue(){const e=this._queue.shift();return null==e?void 0:e.run}filter(e){return this._queue.filter(t=>t.priority===e.priority).map(e=>e.run)}get size(){return this._queue.length}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){let n=0,o=e.length;for(;o>0;){const i=o/2|0;let s=n+i;r(e[s],t)<=0?(n=++s,o-=i+1):o=i}return n}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionRouter=void 0;const o=r(176);class i extends o.Router{constructor(){super(...arguments),this.onMessage=(e,t)=>{if(e.port===this.port)return this.onMessageHandler(e,t)}}listen(e){if(!e)throw new Error("Empty port");this.port=e,browser.runtime.onMessage.addListener(this.onMessage)}unlisten(){this.port="",browser.runtime.onMessage.removeListener(this.onMessage)}onMessageHandler(e,t){return n(this,void 0,void 0,(function*(){try{return{return:yield this.handleMessage(e,t)}}catch(t){return console.log(`Failed to process msg ${e.type}: ${(null==t?void 0:t.message)||(null==t?void 0:t.toString())}`),t?Promise.resolve({error:t.message||t.toString()}):Promise.resolve({error:"Unknown error, and error is null"})}}))}}t.ExtensionRouter=i},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.MockRouter=void 0;const o=r(176),i=r(51);class s extends o.Router{constructor(){super(...arguments),this.onMessage=e=>n(this,void 0,void 0,(function*(){const{message:t,sender:r}=e;if(t.port===this.port)try{const e=yield this.handleMessage(t,r);return void r.resolver({return:e})}catch(e){console.log(`Failed to process msg ${t.type}: ${(null==e?void 0:e.message)||(null==e?void 0:e.toString())}`),e?r.resolver({error:e.message||e.toString()}):r.resolver({error:"Unknown error, and error is null"})}}))}listen(e){if(!e)throw new Error("Empty port");this.port=e,s.eventEmitter.addListener("message",this.onMessage)}unlisten(){this.port="",s.eventEmitter.removeListener("message",this.onMessage)}}t.MockRouter=s,s.eventEmitter=new i.EventEmitter},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Message=void 0;t.Message=class{approveExternal(e,t){return!1}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.InExtensionMessageRequester=void 0;const o=r(107);t.InExtensionMessageRequester=class{sendMessage(e,t){return n(this,void 0,void 0,(function*(){t.validateBasic(),t.origin=window.location.origin;const r=o.JSONUint8Array.unwrap(yield browser.runtime.sendMessage({port:e,type:t.type(),msg:o.JSONUint8Array.wrap(t)}));if(!r)throw new Error("Null result");if(r.error)throw new Error(r.error);return r.return}))}static sendMessageToTab(e,t,r){return n(this,void 0,void 0,(function*(){r.validateBasic(),r.origin=window.location.origin;const n=o.JSONUint8Array.unwrap(yield browser.tabs.sendMessage(e,{port:t,type:r.type(),msg:o.JSONUint8Array.wrap(r)}));if(!n)throw new Error("Null result");if(n.error)throw new Error(n.error);return n.return}))}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ContentScriptMessageRequester=void 0;const o=r(107);t.ContentScriptMessageRequester=class{sendMessage(e,t){return n(this,void 0,void 0,(function*(){t.validateBasic(),t.origin=window.location.origin;const r=o.JSONUint8Array.wrap(t),n=yield browser.tabs.query({discarded:!1,status:"complete"});for(let o=0;o{i.MockRouter.eventEmitter.emit("message",{message:{port:e,type:t.type(),msg:o.JSONUint8Array.wrap(t)},sender:{id:this.id,url:this.url,resolver:r}})}));if(!r)throw new Error("Null result");if(r.error)throw new Error(r.error);return r.return}))}}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(328),t),o(r(660),t),o(r(661),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContentScriptGuards=void 0;class n{}t.ContentScriptGuards=n,n.checkMessageIsInternal=(e,t,r)=>{if(!e.isInternalMsg||t.approveExternal(e,r))throw new Error("Content script can't handle the message that is able to be sent from external");return Promise.resolve()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MockGuards=void 0;const n=r(328);class o{}t.MockGuards=o,o.checkOriginIsValid=n.ExtensionGuards.checkOriginIsValid,o.checkMessageIsInternal=n.ExtensionGuards.checkMessageIsInternal},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(329),t),o(r(663),t),o(r(664),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContentScriptEnv=void 0;class n{}t.ContentScriptEnv=n,n.produceEnv=e=>({isInternalMsg:e.id===browser.runtime.id,requestInteraction:()=>{throw new Error("ContentScriptEnv doesn't support `requestInteraction`")}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MockEnv=void 0;const n=r(329);t.MockEnv=class{constructor(e,t){this.id=e,this.url=t}envProducer(){return e=>({isInternalMsg:n.ExtensionEnv.checkIsInternalMessage(e,this.id,this.url),requestInteraction:()=>{throw new Error("TODO: Implement me")}})}}},function(e,t,r){(function(e,t){ -/*! ***************************************************************************** -Copyright (C) Microsoft. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ -var r;!function(r){!function(n){var o="object"==typeof t?t:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),i=s(r);function s(e,t){return function(r,n){"function"!=typeof e[r]&&Object.defineProperty(e,r,{configurable:!0,writable:!0,value:n}),t&&t(r,n)}}void 0===o.Reflect?o.Reflect=r:i=s(o.Reflect,i),function(t){var r=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,o=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",i=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",s="function"==typeof Object.create,a={__proto__:[]}instanceof Array,c=!s&&!a,u={create:s?function(){return R(Object.create(null))}:a?function(){return R({__proto__:null})}:function(){return R({})},has:c?function(e,t){return r.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return r.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},l=Object.getPrototypeOf(Function),f="object"==typeof e&&e.env&&"true"===e.env.REFLECT_METADATA_USE_MAP_POLYFILL,d=f||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function(){var e={},t=[],r=function(){function e(e,t,r){this._index=0,this._keys=e,this._values=t,this._selector=r}return e.prototype["@@iterator"]=function(){return this},e.prototype[i]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:r,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var r=this._find(e,!0);return this._values[r]=t,this},t.prototype.delete=function(t){var r=this._find(t,!1);if(r>=0){for(var n=this._keys.length,o=r+1;o=0;--r){var n=(0,e[r])(t);if(!_(n)&&!k(n)){if(!A(n))throw new TypeError;t=n}}return t}(e,t)}if(!j(e))throw new TypeError;if(!O(t))throw new TypeError;if(!O(n)&&!_(n)&&!k(n))throw new TypeError;return k(n)&&(n=void 0),function(e,t,r,n){for(var o=e.length-1;o>=0;--o){var i=(0,e[o])(t,r,n);if(!_(i)&&!k(i)){if(!O(i))throw new TypeError;n=i}}return n}(e,t,r=E(r),n)})),t("metadata",(function(e,t){return function(r,n){if(!O(r))throw new TypeError;if(!_(n)&&!function(e){switch(w(e)){case 3:case 4:return!0;default:return!1}}(n))throw new TypeError;b(e,t,r,n)}})),t("defineMetadata",(function(e,t,r,n){if(!O(r))throw new TypeError;return _(n)||(n=E(n)),b(e,t,r,n)})),t("hasMetadata",(function(e,t,r){if(!O(t))throw new TypeError;return _(r)||(r=E(r)),function e(t,r,n){if(m(t,r,n))return!0;var o=C(r);return!k(o)&&e(t,o,n)}(e,t,r)})),t("hasOwnMetadata",(function(e,t,r){if(!O(t))throw new TypeError;return _(r)||(r=E(r)),m(e,t,r)})),t("getMetadata",(function(e,t,r){if(!O(t))throw new TypeError;return _(r)||(r=E(r)),function e(t,r,n){if(m(t,r,n))return y(t,r,n);var o=C(r);return k(o)?void 0:e(t,o,n)}(e,t,r)})),t("getOwnMetadata",(function(e,t,r){if(!O(t))throw new TypeError;return _(r)||(r=E(r)),y(e,t,r)})),t("getMetadataKeys",(function(e,t){if(!O(e))throw new TypeError;return _(t)||(t=E(t)),function e(t,r){var n=v(t,r),o=C(t);if(null===o)return n;var i=e(o,r);if(i.length<=0)return n;if(n.length<=0)return i;for(var s=new h,a=[],c=0,u=n;c0)return!0;var o=p.get(t);return o.delete(r),o.size>0||p.delete(t),!0}))}(i)}()}(r||(r={}))}).call(this,r(13),r(12))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(330),t),o(r(667),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(177),o=r(331),i=r(668);t.init=function(e,t){e.registerMessage(n.SetPersistentMemoryMsg),e.registerMessage(n.GetPersistentMemoryMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const n=r(177);t.getHandler=e=>(t,r)=>{switch(r.constructor){case n.SetPersistentMemoryMsg:return o(e)(t,r);case n.GetPersistentMemoryMsg:return e.get();default:throw new Error("Unknown msg type")}};const o=e=>(t,r)=>(e.set(r.data),{success:!0})},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(332),t),o(r(676),t)},function(e,t,r){window,e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=11)}([function(e,t,r){"use strict";const n=r(12);e.exports=function(e,...t){if(!e){if(1===t.length&&t[0]instanceof Error)throw t[0];throw new n(t)}}},function(e,t,r){"use strict";const n=r(0),o=r(12),i=r(29);let s,a;const c={isoDate:/^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/};t.version=i.version,t.defaults={abortEarly:!0,allowUnknown:!1,artifacts:!1,cache:!0,context:null,convert:!0,dateFormat:"iso",errors:{escapeHtml:!1,label:"path",language:null,render:!0,stack:!1,wrap:{label:'"',array:"[]"}},externals:!0,messages:{},nonEnumerables:!1,noDefaults:!1,presence:"optional",skipFunctions:!1,stripUnknown:!1,warnings:!1},t.symbols={any:Symbol.for("@hapi/joi/schema"),arraySingle:Symbol("arraySingle"),deepDefault:Symbol("deepDefault"),errors:Symbol("errors"),literal:Symbol("literal"),override:Symbol("override"),parent:Symbol("parent"),prefs:Symbol("prefs"),ref:Symbol("ref"),template:Symbol("template"),values:Symbol("values")},t.assertOptions=function(e,t,r="Options"){n(e&&"object"==typeof e&&!Array.isArray(e),"Options must be of type object");const o=Object.keys(e).filter(e=>!t.includes(e));n(0===o.length,"".concat(r," contain unknown keys: ").concat(o))},t.checkPreferences=function(e){a=a||r(16);const t=a.preferences.validate(e);if(t.error)throw new o([t.error.details[0].message])},t.compare=function(e,t,r){switch(r){case"=":return e===t;case">":return e>t;case"<":return e=":return e>=t;case"<=":return e<=t}},t.default=function(e,t){return void 0===e?t:e},t.isIsoDate=function(e){return c.isoDate.test(e)},t.isNumber=function(e){return"number"==typeof e&&!isNaN(e)},t.isResolvable=function(e){return!!e&&(e[t.symbols.ref]||e[t.symbols.template])},t.isSchema=function(e,r={}){const o=e&&e[t.symbols.any];return!!o&&(n(r.legacy||o.version===t.version,"Cannot mix different versions of joi schemas"),!0)},t.isValues=function(e){return e[t.symbols.values]},t.limit=function(e){return Number.isSafeInteger(e)&&e>=0},t.preferences=function(e,n){s=s||r(9),e=e||{},n=n||{};const o=Object.assign({},e,n);return n.errors&&e.errors&&(o.errors=Object.assign({},e.errors,n.errors),o.errors.wrap=Object.assign({},e.errors.wrap,n.errors.wrap)),n.messages&&(o.messages=s.compile(n.messages,e.messages)),delete o[t.symbols.prefs],o},t.tryWithPath=function(e,t,r={}){try{return e()}catch(e){throw void 0!==e.path?e.path=t+"."+e.path:e.path=t,r.append&&(e.message="".concat(e.message," (").concat(e.path,")")),e}},t.validateArg=function(e,r,{assert:n,message:o}){if(t.isSchema(n)){const t=n.validate(e);if(!t.error)return;return t.error.message}if(!n(e))return r?"".concat(r," ").concat(o):o},t.verifyFlat=function(e,t){for(const r of e)n(!Array.isArray(r),"Method no longer accepts array arguments:",t)}},function(e,t,r){"use strict";const n=r(6),o=r(13),i=r(14),s={needsProtoHack:new Set([o.set,o.map,o.weakSet,o.weakMap])};e.exports=s.clone=function(e,t={},r=null){if("object"!=typeof e||null===e)return e;let n=s.clone,a=r;if(t.shallow){if(!0!==t.shallow)return s.cloneWithShallow(e,t);n=e=>e}else if(a){const t=a.get(e);if(t)return t}else a=new Map;const c=o.getInternalProto(e);if(c===o.buffer)return!1;if(c===o.date)return new Date(e.getTime());if(c===o.regex)return new RegExp(e);const u=s.base(e,c,t);if(u===e)return e;if(a&&a.set(e,u),c===o.set)for(const r of e)u.add(n(r,t,a));else if(c===o.map)for(const[r,o]of e)u.set(r,n(o,t,a));const l=i.keys(e,t);for(const r of l){if("__proto__"===r)continue;if(c===o.array&&"length"===r){u.length=e.length;continue}const i=Object.getOwnPropertyDescriptor(e,r);i?i.get||i.set?Object.defineProperty(u,r,i):i.enumerable?u[r]=n(e[r],t,a):Object.defineProperty(u,r,{enumerable:!1,writable:!0,configurable:!0,value:n(e[r],t,a)}):Object.defineProperty(u,r,{enumerable:!0,writable:!0,configurable:!0,value:n(e[r],t,a)})}return u},s.cloneWithShallow=function(e,t){const r=t.shallow;(t=Object.assign({},t)).shallow=!1;const o=new Map;for(const t of r){const r=n(e,t);"object"!=typeof r&&"function"!=typeof r||o.set(r,r)}return s.clone(e,t,o)},s.base=function(e,t,r){if(!1===r.prototype)return s.needsProtoHack.has(t)?new t.constructor:t===o.array?[]:{};const n=Object.getPrototypeOf(e);if(n&&n.isImmutable)return e;if(t===o.array){const e=[];return n!==t&&Object.setPrototypeOf(e,n),e}if(s.needsProtoHack.has(t)){const e=new n.constructor;return n!==t&&Object.setPrototypeOf(e,n),e}return Object.create(n)}},function(e,t,r){"use strict";const n=r(0),o=r(34),i=r(1),s=r(9);e.exports=o.extend({type:"any",flags:{only:{default:!1}},terms:{alterations:{init:null},examples:{init:null},externals:{init:null},metas:{init:[]},notes:{init:[]},shared:{init:null},tags:{init:[]},whens:{init:null}},rules:{custom:{method(e,t){return n("function"==typeof e,"Method must be a function"),n(void 0===t||t&&"string"==typeof t,"Description must be a non-empty string"),this.$_addRule({name:"custom",args:{method:e,description:t}})},validate(e,t,{method:r}){try{return r(e,t)}catch(e){return t.error("any.custom",{error:e})}},args:["method","description"],multi:!0},messages:{method(e){return this.prefs({messages:e})}},shared:{method(e){n(i.isSchema(e)&&e._flags.id,"Schema must be a schema with an id");const t=this.clone();return t.$_terms.shared=t.$_terms.shared||[],t.$_terms.shared.push(e),t.$_mutateRegister(e),t}},warning:{method(e,t){return n(e&&"string"==typeof e,"Invalid warning code"),this.$_addRule({name:"warning",args:{code:e,local:t},warn:!0})},validate:(e,t,{code:r,local:n})=>t.error(r,n),args:["code","local"],multi:!0}},modifiers:{keep(e,t=!0){e.keep=t},message(e,t){e.message=s.compile(t)},warn(e,t=!0){e.warn=t}},manifest:{build(e,t){for(const r in t){const n=t[r];if(["examples","externals","metas","notes","tags"].includes(r))for(const t of n)e=e[r.slice(0,-1)](t);else if("alterations"!==r)if("whens"!==r){if("shared"===r)for(const t of n)e=e.shared(t)}else for(const t of n){const{ref:r,is:n,not:o,then:i,otherwise:s,concat:a}=t;e=a?e.concat(a):r?e.when(r,{is:n,not:o,then:i,otherwise:s,switch:t.switch,break:t.break}):e.when(n,{then:i,otherwise:s,break:t.break})}else{const t={};for(const{target:e,adjuster:r}of n)t[e]=r;e=e.alter(t)}}return e}},messages:{"any.custom":"{{#label}} failed custom validation because {{#error.message}}","any.default":"{{#label}} threw an error when running default method","any.failover":"{{#label}} threw an error when running failover method","any.invalid":"{{#label}} contains an invalid value","any.only":'{{#label}} must be {if(#valids.length == 1, "", "one of ")}{{#valids}}',"any.ref":"{{#label}} {{#arg}} references {{:#ref}} which {{#reason}}","any.required":"{{#label}} is required","any.unknown":"{{#label}} is not allowed"}})},function(e,t,r){"use strict";const n=r(32),o=r(1),i=r(7);t.Report=class{constructor(e,r,n,o,i,s,a){if(this.code=e,this.flags=o,this.messages=i,this.path=s.path,this.prefs=a,this.state=s,this.value=r,this.message=null,this.template=null,this.local=n||{},this.local.label=t.label(this.flags,this.state,this.prefs,this.messages),void 0===this.value||this.local.hasOwnProperty("value")||(this.local.value=this.value),this.path.length){const e=this.path[this.path.length-1];"object"!=typeof e&&(this.local.key=e)}}_setTemplate(e){if(this.template=e,!this.flags.label&&0===this.path.length){const e=this._template(this.template,"root");e&&(this.local.label=e)}}toString(){if(this.message)return this.message;const e=this.code;if(!this.prefs.errors.render)return this.code;const t=this._template(this.template)||this._template(this.prefs.messages)||this._template(this.messages);return void 0===t?'Error code "'.concat(e,'" is not defined, your custom type is missing the correct messages definition'):(this.message=t.render(this.value,this.state,this.prefs,this.local,{errors:this.prefs.errors,messages:[this.prefs.messages,this.messages]}),this.prefs.errors.label||(this.message=this.message.replace(/^"" /,"").trim()),this.message)}_template(e,r){return t.template(this.value,e,r||this.code,this.state,this.prefs)}},t.path=function(e){let t="";for(const r of e)"object"!=typeof r&&("string"==typeof r?(t&&(t+="."),t+=r):t+="[".concat(r,"]"));return t},t.template=function(e,t,r,n,s){if(!t)return;if(i.isTemplate(t))return"root"!==r?t:null;let a=s.errors.language;return o.isResolvable(a)&&(a=a.resolve(e,n,s)),a&&t[a]&&void 0!==t[a][r]?t[a][r]:t[r]},t.label=function(e,r,n,o){if(e.label)return e.label;if(!n.errors.label)return"";let i=r.path;return"key"===n.errors.label&&r.path.length>1&&(i=r.path.slice(-1)),t.path(i)||t.template(null,n.messages,"root",r,n)||o&&t.template(null,o,"root",r,n)||"value"},t.process=function(e,r,n){if(!e)return null;const{override:o,message:i,details:s}=t.details(e);if(o)return o;if(n.errors.stack)return new t.ValidationError(i,s,r);const a=Error.stackTraceLimit;Error.stackTraceLimit=0;const c=new t.ValidationError(i,s,r);return Error.stackTraceLimit=a,c},t.details=function(e,t={}){let r=[];const n=[];for(const o of e){if(o instanceof Error){if(!1!==t.override)return{override:o};const e=o.toString();r.push(e),n.push({message:e,type:"override",context:{error:o}});continue}const e=o.toString();r.push(e),n.push({message:e,path:o.path.filter(e=>"object"!=typeof e),type:o.code,context:o.local})}return r.length>1&&(r=[...new Set(r)]),{message:r.join(". "),details:n}},t.ValidationError=class extends Error{constructor(e,t,r){super(e),this._original=r,this.details=t}static isError(e){return e instanceof t.ValidationError}},t.ValidationError.prototype.isJoi=!0,t.ValidationError.prototype.name="ValidationError",t.ValidationError.prototype.annotate=n.error},function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t=0&&this.refs.push({ancestor:t.ancestor-n,root:t.root});else t.isRef(e)&&"value"===e.type&&e.ancestor-n>=0&&this.refs.push({ancestor:e.ancestor-n,root:e.root}),l=l||r(7),l.isTemplate(e)&&this.register(e.refs(),n)}get length(){return this.refs.length}clone(){const e=new t.Manager;return e.refs=a(this.refs),e}reset(){this.refs=[]}roots(){return this.refs.filter(e=>!e.ancestor).map(e=>e.root)}}},function(e,t,r){"use strict";const n=r(0),o={};e.exports=function(e,t,r){if(!1===t||null==t)return e;"string"==typeof(r=r||{})&&(r={separator:r});const i=Array.isArray(t);n(!i||!r.separator,"Separator option no valid for array-based chain");const s=i?t:t.split(r.separator||".");let a=e;for(let e=0;e{const t=f.create(e,this._settings);return n.push(t),e=>t.resolve(...e)};try{var i=new c.Parser(e,{reference:o,functions:d.functions,constants:d.constants})}catch(t){throw t.message='Invalid template variable "'.concat(e,'" fails due to: ').concat(t.message),t}if(i.single){if("reference"===i.single.type){const e=n[0];return{ref:e,raw:t,refs:n,wrapped:r||"local"===e.type&&"label"===e.key}}return d.stringify(i.single.value)}return{formula:i,raw:t,refs:n}}toString(){return this.source}},d.Template.prototype[u.symbols.template]=!0,d.Template.prototype.isImmutable=!0,d.encode=function(e){return e.replace(/\\(\{+)/g,(e,t)=>d.opens.slice(0,t.length)).replace(/\\(\}+)/g,(e,t)=>d.closes.slice(0,t.length))},d.decode=function(e){return e.replace(/\u0000/g,"{").replace(/\u0001/g,"}")},d.split=function(e){const t=[];let r="";for(let n=0;n ").concat(n.toString()));e=t}if(!Array.isArray(e))return e.toString();let l="";for(const n of e)l=l+(l.length?", ":"")+d.stringify(n,t,r,i,s,a);return u?l:d.wrap(l,i.errors.wrap.array)},d.constants={true:!0,false:!1,null:null,second:1e3,minute:6e4,hour:36e5,day:864e5},d.functions={if:(e,t,r)=>e?t:r,msg(e){const[t,r,n,o,i]=this,s=i.messages;if(!s)return"";const a=l.template(t,s[0],e,r,n)||l.template(t,s[1],e,r,n);return a?a.render(t,r,n,o,i):""},number:e=>"number"==typeof e?e:"string"==typeof e?parseFloat(e):"boolean"==typeof e?e?1:0:e instanceof Date?e.getTime():null}},function(e,t,r){"use strict";const n=r(0),o=r(1),i=r(5),s={};t.schema=function(e,t,r={}){o.assertOptions(r,["appendPath","override"]);try{return s.schema(e,t,r)}catch(e){throw r.appendPath&&void 0!==e.path&&(e.message="".concat(e.message," (").concat(e.path,")")),e}},s.schema=function(e,t,r){n(void 0!==t,"Invalid undefined schema"),Array.isArray(t)&&(n(t.length,"Invalid empty array schema"),1===t.length&&(t=t[0]));const i=(t,...n)=>!1!==r.override?t.valid(e.override,...n):t.valid(...n);if(s.simple(t))return i(e,t);if("function"==typeof t)return e.custom(t);if(n("object"==typeof t,"Invalid schema content:",typeof t),o.isResolvable(t))return i(e,t);if(o.isSchema(t))return t;if(Array.isArray(t)){for(const r of t)if(!s.simple(r))return e.alternatives().try(...t);return i(e,...t)}return t instanceof RegExp?e.string().regex(t):t instanceof Date?i(e.date(),t):(n(Object.getPrototypeOf(t)===Object.getPrototypeOf({}),"Schema can only contain plain objects"),e.object().keys(t))},t.ref=function(e,t){return i.isRef(e)?e:i.create(e,t)},t.compile=function(e,r,i={}){o.assertOptions(i,["legacy"]);const a=r&&r[o.symbols.any];if(a)return n(i.legacy||a.version===o.version,"Cannot mix different versions of joi schemas:",a.version,o.version),r;if("object"!=typeof r||!i.legacy)return t.schema(e,r,{appendPath:!0});const c=s.walk(r);return c?c.compile(c.root,r):t.schema(e,r,{appendPath:!0})},s.walk=function(e){if("object"!=typeof e)return null;if(Array.isArray(e)){for(const t of e){const e=s.walk(t);if(e)return e}return null}const t=e[o.symbols.any];if(t)return{root:e[t.root],compile:t.compile};n(Object.getPrototypeOf(e)===Object.getPrototypeOf({}),"Schema can only contain plain objects");for(const t in e){const r=s.walk(e[t]);if(r)return r}return null},s.simple=function(e){return null===e||["boolean","string","number"].includes(typeof e)},t.when=function(e,r,a){if(void 0===a&&(n(r&&"object"==typeof r,"Missing options"),a=r,r=i.create(".")),Array.isArray(a)&&(a={switch:a}),o.assertOptions(a,["is","not","then","otherwise","switch","break"]),o.isSchema(r))return n(void 0===a.is,'"is" can not be used with a schema condition'),n(void 0===a.not,'"not" can not be used with a schema condition'),n(void 0===a.switch,'"switch" can not be used with a schema condition'),s.condition(e,{is:r,then:a.then,otherwise:a.otherwise,break:a.break});if(n(i.isRef(r)||"string"==typeof r,"Invalid condition:",r),n(void 0===a.not||void 0===a.is,'Cannot combine "is" with "not"'),void 0===a.switch){let c=a;void 0!==a.not&&(c={is:a.not,then:a.otherwise,otherwise:a.then,break:a.break});let u=void 0!==c.is?e.$_compile(c.is):e.$_root.invalid(null,!1,0,"").required();return n(void 0!==c.then||void 0!==c.otherwise,'options must have at least one of "then", "otherwise", or "switch"'),n(void 0===c.break||void 0===c.then||void 0===c.otherwise,"Cannot specify then, otherwise, and break all together"),void 0===a.is||i.isRef(a.is)||o.isSchema(a.is)||(u=u.required()),s.condition(e,{ref:t.ref(r),is:u,then:c.then,otherwise:c.otherwise,break:c.break})}n(Array.isArray(a.switch),'"switch" must be an array'),n(void 0===a.is,'Cannot combine "switch" with "is"'),n(void 0===a.not,'Cannot combine "switch" with "not"'),n(void 0===a.then,'Cannot combine "switch" with "then"');const c={ref:t.ref(r),switch:[],break:a.break};for(let t=0;t=0;--r)if(i[r].isSame(e,t))return!0;i.push(new o.SeenEntry(e,t));try{return!!o.isDeepEqualObj(a,e,t,r,i)}finally{i.pop()}},o.getSharedType=function(e,t,r){if(r)return Object.getPrototypeOf(e)!==Object.getPrototypeOf(t)?o.mismatched:n.getInternalProto(e);const i=n.getInternalProto(e);return i!==n.getInternalProto(t)?o.mismatched:i},o.valueOf=function(e){const t=e.valueOf;if(void 0===t)return e;try{return t.call(e)}catch(e){return e}},o.hasOwnEnumerableProperty=function(e,t){return Object.prototype.propertyIsEnumerable.call(e,t)},o.isSetSimpleEqual=function(e,t){for(const r of Set.prototype.values.call(e))if(!Set.prototype.has.call(t,r))return!1;return!0},o.isDeepEqualObj=function(e,t,r,i,s){const{isDeepEqual:a,valueOf:c,hasOwnEnumerableProperty:u}=o,{keys:l,getOwnPropertySymbols:f}=Object;if(e===n.array){if(!i.part){if(t.length!==r.length)return!1;for(let e=0;eg.assert(e,t,!1,r),build(e){return n("function"==typeof l.build,"Manifest functionality disabled"),l.build(this,e)},checkPreferences(e){s.checkPreferences(e)},compile(e,t){return a.compile(this,e,t)},defaults(e){n("function"==typeof e,"modifier must be a function");const t=Object.assign({},this);for(const r of t._types){const o=e(t[r]());n(s.isSchema(o),"modifier must return a valid schema object"),t[r]=function(...e){return g.generate(this,o,e)}}return t},expression:(...e)=>new d(...e),extend(...e){s.verifyFlat(e,"extend"),p=p||r(16),n(e.length,"You need to provide at least one extension"),this.assert(e,p.extensions);const t=Object.assign({},this);t._types=new Set(t._types);for(let r of e){"function"==typeof r&&(r=r(t)),this.assert(r,p.extension);const e=g.expandExtension(r,t);for(const r of e){n(void 0===t[r.type]||t._types.has(r.type),"Cannot override name",r.type);const e=r.base||this.any(),o=u.type(e,r);t._types.add(r.type),t[r.type]=function(...e){return g.generate(this,o,e)}}}return t},isError:c.ValidationError.isError,isExpression:d.isTemplate,isRef:f.isRef,isSchema:s.isSchema,in:(...e)=>f.in(...e),override:s.symbols.override,ref:(...e)=>f.create(...e),types(){const e={};for(const t of this._types)e[t]=this[t]();for(const t in g.aliases)e[t]=this[t]();return e}},g.assert=function(e,t,r,n){const i=n[0]instanceof Error||"string"==typeof n[0]?n[0]:null,a=i?n[1]:n[0],u=t.validate(e,s.preferences({errors:{stack:!0}},a||{}));let l=u.error;if(!l)return u.value;if(i instanceof Error)throw i;const f=r&&"function"==typeof l.annotate?l.annotate():l.message;throw l instanceof c.ValidationError==0&&(l=o(l)),l.message=i?"".concat(i," ").concat(f):f,l},g.generate=function(e,t,r){return n(e,"Must be invoked on a Joi instance."),t.$_root=e,t._definition.args&&r.length?t._definition.args(t,...r):t},g.expandExtension=function(e,t){if("string"==typeof e.type)return[e];const r=[];for(const n of t._types)if(e.type.test(n)){const o=Object.assign({},e);o.type=n,o.base=t[n](),r.push(o)}return r},e.exports=g.root()},function(e,t,r){"use strict";const n=r(28);e.exports=class extends Error{constructor(e){super(e.filter(e=>""!==e).map(e=>"string"==typeof e?e:e instanceof Error?e.message:n(e)).join(" ")||"Unknown error"),"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,t.assert)}}},function(e,t,r){"use strict";const n={};t=e.exports={array:Array.prototype,buffer:!1,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype},n.typeMap=new Map([["[object Error]",t.error],["[object Map]",t.map],["[object Promise]",t.promise],["[object Set]",t.set],["[object WeakMap]",t.weakMap],["[object WeakSet]",t.weakSet]]),t.getInternalProto=function(e){if(Array.isArray(e))return t.array;if(e instanceof Date)return t.date;if(e instanceof RegExp)return t.regex;if(e instanceof Error)return t.error;const r=Object.prototype.toString.call(e);return n.typeMap.get(r)||t.generic}},function(e,t,r){"use strict";t.keys=function(e,t={}){return!1!==t.symbols?Reflect.ownKeys(e):Object.getOwnPropertyNames(e)}},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(1),s={max:1e3,supported:new Set(["undefined","boolean","number","string"])};t.provider={provision:e=>new s.Cache(e)},s.Cache=class{constructor(e={}){i.assertOptions(e,["max"]),n(void 0===e.max||e.max&&e.max>0&&isFinite(e.max),"Invalid max cache size"),this._max=e.max||s.max,this._map=new Map,this._list=new s.List}get length(){return this._map.size}set(e,t){if(null!==e&&!s.supported.has(typeof e))return;let r=this._map.get(e);if(r)return r.value=t,void this._list.first(r);r=this._list.unshift({key:e,value:t}),this._map.set(e,r),this._compact()}get(e){const t=this._map.get(e);if(t)return this._list.first(t),o(t.value)}_compact(){if(this._map.size>this._max){const e=this._list.pop();this._map.delete(e.key)}}},s.List=class{constructor(){this.tail=null,this.head=null}unshift(e){return e.next=null,e.prev=this.head,this.head&&(this.head.next=e),this.head=e,this.tail||(this.tail=e),e}first(e){e!==this.head&&(this._remove(e),this.unshift(e))}pop(){return this._remove(this.tail)}_remove(e){const{next:t,prev:r}=e;return t.prev=r,r&&(r.next=t),e===this.tail&&(this.tail=t),e.prev=null,e.next=null,e}}},function(e,t,r){"use strict";const n=r(11),o={};o.wrap=n.string().min(1).max(2).allow(!1),t.preferences=n.object({allowUnknown:n.boolean(),abortEarly:n.boolean(),artifacts:n.boolean(),cache:n.boolean(),context:n.object(),convert:n.boolean(),dateFormat:n.valid("date","iso","string","time","utc"),debug:n.boolean(),errors:{escapeHtml:n.boolean(),label:n.valid("path","key",!1),language:[n.string(),n.object().ref()],render:n.boolean(),stack:n.boolean(),wrap:{label:o.wrap,array:o.wrap}},externals:n.boolean(),messages:n.object(),noDefaults:n.boolean(),nonEnumerables:n.boolean(),presence:n.valid("required","optional","forbidden"),skipFunctions:n.boolean(),stripUnknown:n.object({arrays:n.boolean(),objects:n.boolean()}).or("arrays","objects").allow(!0,!1),warnings:n.boolean()}).strict(),o.nameRx=/^[a-zA-Z0-9]\w*$/,o.rule=n.object({alias:n.array().items(n.string().pattern(o.nameRx)).single(),args:n.array().items(n.string(),n.object({name:n.string().pattern(o.nameRx).required(),ref:n.boolean(),assert:n.alternatives([n.function(),n.object().schema()]).conditional("ref",{is:!0,then:n.required()}),normalize:n.function(),message:n.string().when("assert",{is:n.function(),then:n.required()})})),convert:n.boolean(),manifest:n.boolean(),method:n.function().allow(!1),multi:n.boolean(),validate:n.function()}),t.extension=n.object({type:n.alternatives([n.string(),n.object().regex()]).required(),args:n.function(),cast:n.object().pattern(o.nameRx,n.object({from:n.function().maxArity(1).required(),to:n.function().minArity(1).maxArity(2).required()})),base:n.object().schema().when("type",{is:n.object().regex(),then:n.forbidden()}),coerce:[n.function().maxArity(3),n.object({method:n.function().maxArity(3).required(),from:n.array().items(n.string()).single()})],flags:n.object().pattern(o.nameRx,n.object({setter:n.string(),default:n.any()})),manifest:{build:n.function().arity(2)},messages:[n.object(),n.string()],modifiers:n.object().pattern(o.nameRx,n.function().minArity(1).maxArity(2)),overrides:n.object().pattern(o.nameRx,n.function()),prepare:n.function().maxArity(3),rebuild:n.function().arity(1),rules:n.object().pattern(o.nameRx,o.rule),terms:n.object().pattern(o.nameRx,n.object({init:n.array().allow(null).required(),manifest:n.object().pattern(/.+/,[n.valid("schema","single"),n.object({mapped:n.object({from:n.string().required(),to:n.string().required()}).required()})])})),validate:n.function().maxArity(3)}).strict(),t.extensions=n.array().items(n.object(),n.function().arity(1)).strict(),o.desc={buffer:n.object({buffer:n.string()}),func:n.object({function:n.function().required(),options:{literal:!0}}),override:n.object({override:!0}),ref:n.object({ref:n.object({type:n.valid("value","global","local"),path:n.array().required(),separator:n.string().length(1).allow(!1),ancestor:n.number().min(0).integer().allow("root"),map:n.array().items(n.array().length(2)).min(1),adjust:n.function(),iterables:n.boolean(),in:n.boolean(),render:n.boolean()}).required()}),regex:n.object({regex:n.string().min(3)}),special:n.object({special:n.valid("deep").required()}),template:n.object({template:n.string().required(),options:n.object()}),value:n.object({value:n.alternatives([n.object(),n.array()]).required()})},o.desc.entity=n.alternatives([n.array().items(n.link("...")),n.boolean(),n.function(),n.number(),n.string(),o.desc.buffer,o.desc.func,o.desc.ref,o.desc.regex,o.desc.special,o.desc.template,o.desc.value,n.link("/")]),o.desc.values=n.array().items(null,n.boolean(),n.function(),n.number().allow(1/0,-1/0),n.string().allow(""),n.symbol(),o.desc.buffer,o.desc.func,o.desc.override,o.desc.ref,o.desc.regex,o.desc.template,o.desc.value),o.desc.messages=n.object().pattern(/.+/,[n.string(),o.desc.template,n.object().pattern(/.+/,[n.string(),o.desc.template])]),t.description=n.object({type:n.string().required(),flags:n.object({cast:n.string(),default:n.any(),description:n.string(),empty:n.link("/"),failover:o.desc.entity,id:n.string(),label:n.string(),only:!0,presence:["optional","required","forbidden"],result:["raw","strip"],strip:n.boolean(),unit:n.string()}).unknown(),preferences:{allowUnknown:n.boolean(),abortEarly:n.boolean(),artifacts:n.boolean(),cache:n.boolean(),convert:n.boolean(),dateFormat:["date","iso","string","time","utc"],errors:{escapeHtml:n.boolean(),label:["path","key"],language:[n.string(),o.desc.ref],wrap:{label:o.wrap,array:o.wrap}},externals:n.boolean(),messages:o.desc.messages,noDefaults:n.boolean(),nonEnumerables:n.boolean(),presence:["required","optional","forbidden"],skipFunctions:n.boolean(),stripUnknown:n.object({arrays:n.boolean(),objects:n.boolean()}).or("arrays","objects").allow(!0,!1),warnings:n.boolean()},allow:o.desc.values,invalid:o.desc.values,rules:n.array().min(1).items({name:n.string().required(),args:n.object().min(1),keep:n.boolean(),message:[n.string(),o.desc.messages],warn:n.boolean()}),keys:n.object().pattern(/.*/,n.link("/")),link:o.desc.ref}).pattern(/^[a-z]\w*$/,n.any())},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(1),s=r(9),a={};t.type=function(e,t){const r=Object.getPrototypeOf(e),c=o(r),u=e._assign(Object.create(c)),l=Object.assign({},t);delete l.base,c._definition=l;const f=r._definition||{};l.messages=s.merge(f.messages,l.messages),l.properties=Object.assign({},f.properties,l.properties),u.type=l.type,l.flags=Object.assign({},f.flags,l.flags);const d=Object.assign({},f.terms);if(l.terms)for(const e in l.terms){const t=l.terms[e];n(void 0===u.$_terms[e],"Invalid term override for",l.type,e),u.$_terms[e]=t.init,d[e]=t}l.terms=d,l.args||(l.args=f.args),l.prepare=a.prepare(l.prepare,f.prepare),l.coerce&&("function"==typeof l.coerce&&(l.coerce={method:l.coerce}),l.coerce.from&&!Array.isArray(l.coerce.from)&&(l.coerce={method:l.coerce.method,from:[].concat(l.coerce.from)})),l.coerce=a.coerce(l.coerce,f.coerce),l.validate=a.validate(l.validate,f.validate);const h=Object.assign({},f.rules);if(l.rules)for(const e in l.rules){const t=l.rules[e];n("object"==typeof t,"Invalid rule definition for",l.type,e);let r=t.method;if(void 0===r&&(r=function(){return this.$_addRule(e)}),r&&(n(!c[e],"Rule conflict in",l.type,e),c[e]=r),n(!h[e],"Rule conflict in",l.type,e),h[e]=t,t.alias){const e=[].concat(t.alias);for(const r of e)c[r]=t.method}t.args&&(t.argsByName=new Map,t.args=t.args.map(e=>("string"==typeof e&&(e={name:e}),n(!t.argsByName.has(e.name),"Duplicated argument name",e.name),i.isSchema(e.assert)&&(e.assert=e.assert.strict().label(e.name)),t.argsByName.set(e.name,e),e)))}l.rules=h;const p=Object.assign({},f.modifiers);if(l.modifiers)for(const e in l.modifiers){n(!c[e],"Rule conflict in",l.type,e);const t=l.modifiers[e];n("function"==typeof t,"Invalid modifier definition for",l.type,e);const r=function(t){return this.rule({[e]:t})};c[e]=r,p[e]=t}if(l.modifiers=p,l.overrides){c._super=r,u.$_super={};for(const e in l.overrides)n(r[e],"Cannot override missing",e),l.overrides[e][i.symbols.parent]=r[e],u.$_super[e]=r[e].bind(u);Object.assign(c,l.overrides)}l.cast=Object.assign({},f.cast,l.cast);const g=Object.assign({},f.manifest,l.manifest);return g.build=a.build(l.manifest&&l.manifest.build,f.manifest&&f.manifest.build),l.manifest=g,l.rebuild=a.rebuild(l.rebuild,f.rebuild),u},a.build=function(e,t){return e&&t?function(r,n){return t(e(r,n),n)}:e||t},a.coerce=function(e,t){return e&&t?{from:e.from&&t.from?[...new Set([...e.from,...t.from])]:null,method(r,n){let o;if((!t.from||t.from.includes(typeof r))&&(o=t.method(r,n),o)){if(o.errors||void 0===o.value)return o;r=o.value}if(!e.from||e.from.includes(typeof r)){const t=e.method(r,n);if(t)return t}return o}}:e||t},a.prepare=function(e,t){return e&&t?function(r,n){const o=e(r,n);if(o){if(o.errors||void 0===o.value)return o;r=o.value}return t(r,n)||o}:e||t},a.rebuild=function(e,t){return e&&t?function(r){t(r),e(r)}:e||t},a.validate=function(e,t){return e&&t?function(r,n){const o=t(r,n);if(o){if(o.errors&&(!Array.isArray(o.errors)||o.errors.length))return o;r=o.value}return e(r,n)||o}:e||t}},function(e,t){},function(e,t){},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(14),s={};e.exports=s.merge=function(e,t,r){if(n(e&&"object"==typeof e,"Invalid target value: must be an object"),n(null==t||"object"==typeof t,"Invalid source value: must be null, undefined, or an object"),!t)return e;if(r=Object.assign({nullOverride:!0,mergeArrays:!0},r),Array.isArray(t)){n(Array.isArray(e),"Cannot merge array onto an object"),r.mergeArrays||(e.length=0);for(let n=0;ne.keys(t),validate(e,{schema:t,error:r,state:n,prefs:o}){if(!e||typeof e!==t.$_property("typeof")||Array.isArray(e))return{value:e,errors:r("object.base",{type:t.$_property("typeof")})};if(!(t.$_terms.renames||t.$_terms.dependencies||t.$_terms.keys||t.$_terms.patterns||t.$_terms.externals))return;e=h.clone(e,o);const i=[];if(t.$_terms.renames&&!h.rename(t,e,n,o,i))return{value:e,errors:i};if(!t.$_terms.keys&&!t.$_terms.patterns&&!t.$_terms.dependencies)return{value:e,errors:i};const s=new Set(Object.keys(e));if(t.$_terms.keys){const r=[e,...n.ancestors];for(const a of t.$_terms.keys){const t=a.key,c=e[t];s.delete(t);const u=n.localize([...n.path,t],r,a),l=a.schema.$_validate(c,u,o);if(l.errors){if(o.abortEarly)return{value:e,errors:l.errors};i.push(...l.errors)}else"strip"===a.schema._flags.result||void 0===l.value&&void 0!==c?delete e[t]:void 0!==l.value&&(e[t]=l.value)}}if(s.size||t._flags._hasPatternMatch){const r=h.unknown(t,e,s,i,n,o);if(r)return r}if(t.$_terms.dependencies)for(const r of t.$_terms.dependencies){if(r.key&&void 0===r.key.resolve(e,n,o,null,{shadow:!1}))continue;const s=h.dependencies[r.rel](t,r,e,n,o);if(s){const r=t.$_createError(s.code,e,s.context,n,o);if(o.abortEarly)return{value:e,errors:r};i.push(r)}}return{value:e,errors:i}},rules:{and:{method(...e){return c.verifyFlat(e,"and"),h.dependency(this,"and",null,e)}},append:{method(e){return null==e||0===Object.keys(e).length?this:this.keys(e)}},assert:{method(e,t,r){d.isTemplate(e)||(e=u.ref(e)),o(void 0===r||"string"==typeof r,"Message must be a string"),t=this.$_compile(t,{appendPath:!0});const n=this.$_addRule({name:"assert",args:{subject:e,schema:t,message:r}});return n.$_mutateRegister(e),n.$_mutateRegister(t),n},validate(e,{error:t,prefs:r,state:n},{subject:o,schema:i,message:s}){const a=o.resolve(e,n,r),c=f.isRef(o)?o.absolute(n):[];return i.$_match(a,n.localize(c,[e,...n.ancestors],i),r)?e:t("object.assert",{subject:o,message:s})},args:["subject","schema","message"],multi:!0},instance:{method(e,t){return o("function"==typeof e,"constructor must be a function"),t=t||e.name,this.$_addRule({name:"instance",args:{constructor:e,name:t}})},validate:(e,t,{constructor:r,name:n})=>e instanceof r?e:t.error("object.instance",{type:n,value:e}),args:["constructor","name"]},keys:{method(e){o(void 0===e||"object"==typeof e,"Object schema must be a valid object"),o(!c.isSchema(e),"Object schema cannot be a joi schema");const t=this.clone();if(e)if(Object.keys(e).length){t.$_terms.keys=t.$_terms.keys?t.$_terms.keys.filter(t=>!e.hasOwnProperty(t.key)):new h.Keys;for(const r in e)c.tryWithPath(()=>t.$_terms.keys.push({key:r,schema:this.$_compile(e[r])}),r)}else t.$_terms.keys=new h.Keys;else t.$_terms.keys=null;return t.$_mutateRebuild()}},length:{method(e){return this.$_addRule({name:"length",args:{limit:e},operator:"="})},validate:(e,t,{limit:r},{name:n,operator:o,args:i})=>c.compare(Object.keys(e).length,r,o)?e:t.error("object."+n,{limit:i.limit,value:e}),args:[{name:"limit",ref:!0,assert:c.limit,message:"must be a positive integer"}]},max:{method(e){return this.$_addRule({name:"max",method:"length",args:{limit:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"length",args:{limit:e},operator:">="})}},nand:{method(...e){return c.verifyFlat(e,"nand"),h.dependency(this,"nand",null,e)}},or:{method(...e){return c.verifyFlat(e,"or"),h.dependency(this,"or",null,e)}},oxor:{method(...e){return h.dependency(this,"oxor",null,e)}},pattern:{method(e,t,r={}){const n=e instanceof RegExp;n||(e=this.$_compile(e,{appendPath:!0})),o(void 0!==t,"Invalid rule"),c.assertOptions(r,["fallthrough","matches"]),n&&o(!e.flags.includes("g")&&!e.flags.includes("y"),"pattern should not use global or sticky mode"),t=this.$_compile(t,{appendPath:!0});const i=this.clone();i.$_terms.patterns=i.$_terms.patterns||[];const s={[n?"regex":"schema"]:e,rule:t};return r.matches&&(s.matches=this.$_compile(r.matches),"array"!==s.matches.type&&(s.matches=s.matches.$_root.array().items(s.matches)),i.$_mutateRegister(s.matches),i.$_setFlag("_hasPatternMatch",!0,{clone:!1})),r.fallthrough&&(s.fallthrough=!0),i.$_terms.patterns.push(s),i.$_mutateRegister(t),i}},ref:{method(){return this.$_addRule("ref")},validate:(e,t)=>f.isRef(e)?e:t.error("object.refType",{value:e})},regex:{method(){return this.$_addRule("regex")},validate:(e,t)=>e instanceof RegExp?e:t.error("object.regex",{value:e})},rename:{method(e,t,r={}){o("string"==typeof e||e instanceof RegExp,"Rename missing the from argument"),o("string"==typeof t||t instanceof d,"Invalid rename to argument"),o(t!==e,"Cannot rename key to same name:",e),c.assertOptions(r,["alias","ignoreUndefined","override","multiple"]);const i=this.clone();i.$_terms.renames=i.$_terms.renames||[];for(const t of i.$_terms.renames)o(t.from!==e,"Cannot rename the same key multiple times");return t instanceof d&&i.$_mutateRegister(t),i.$_terms.renames.push({from:e,to:t,options:n(h.renameDefaults,r)}),i}},schema:{method(e="any"){return this.$_addRule({name:"schema",args:{type:e}})},validate:(e,t,{type:r})=>!c.isSchema(e)||"any"!==r&&e.type!==r?t.error("object.schema",{type:r}):e},unknown:{method(e){return this.$_setFlag("unknown",!1!==e)}},with:{method(e,t,r={}){return h.dependency(this,"with",e,t,r)}},without:{method(e,t,r={}){return h.dependency(this,"without",e,t,r)}},xor:{method(...e){return c.verifyFlat(e,"xor"),h.dependency(this,"xor",null,e)}}},overrides:{default(e,t){return void 0===e&&(e=c.symbols.deepDefault),this.$_parent("default",e,t)}},rebuild(e){if(e.$_terms.keys){const t=new s.Sorter;for(const r of e.$_terms.keys)c.tryWithPath(()=>t.add(r,{after:r.schema.$_rootReferences(),group:r.key}),r.key);e.$_terms.keys=new h.Keys(...t.nodes)}},manifest:{build(e,t){if(t.keys&&(e=e.keys(t.keys)),t.dependencies)for(const{rel:r,key:n=null,peers:o,options:i}of t.dependencies)e=h.dependency(e,r,n,o,i);if(t.patterns)for(const{regex:r,schema:n,rule:o,fallthrough:i,matches:s}of t.patterns)e=e.pattern(r||n,o,{fallthrough:i,matches:s});if(t.renames)for(const{from:r,to:n,options:o}of t.renames)e=e.rename(r,n,o);return e}},messages:{"object.and":"{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}","object.assert":'{{#label}} is invalid because {if(#subject.key, `"` + #subject.key + `" failed to ` + (#message || "pass the assertion test"), #message || "the assertion failed")}',"object.base":"{{#label}} must be of type {{#type}}","object.instance":"{{#label}} must be an instance of {{:#type}}","object.length":'{{#label}} must have {{#limit}} key{if(#limit == 1, "", "s")}',"object.max":'{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, "", "s")}',"object.min":'{{#label}} must have at least {{#limit}} key{if(#limit == 1, "", "s")}',"object.missing":"{{#label}} must contain at least one of {{#peersWithLabels}}","object.nand":"{{:#mainWithLabel}} must not exist simultaneously with {{#peersWithLabels}}","object.oxor":"{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}","object.pattern.match":"{{#label}} keys failed to match pattern requirements","object.refType":"{{#label}} must be a Joi reference","object.regex":"{{#label}} must be a RegExp object","object.rename.multiple":"{{#label}} cannot rename {{:#from}} because multiple renames are disabled and another key was already renamed to {{:#to}}","object.rename.override":"{{#label}} cannot rename {{:#from}} because override is disabled and target {{:#to}} exists","object.schema":"{{#label}} must be a Joi schema of {{#type}} type","object.unknown":"{{#label}} is not allowed","object.with":"{{:#mainWithLabel}} missing required peer {{:#peerWithLabel}}","object.without":"{{:#mainWithLabel}} conflict with forbidden peer {{:#peerWithLabel}}","object.xor":"{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}"}}),h.clone=function(e,t){if("object"==typeof e){if(t.nonEnumerables)return i(e,{shallow:!0});const r=Object.create(Object.getPrototypeOf(e));return Object.assign(r,e),r}const r=function(...t){return e.apply(this,t)};return r.prototype=i(e.prototype),Object.defineProperty(r,"name",{value:e.name,writable:!1}),Object.defineProperty(r,"length",{value:e.length,writable:!1}),Object.assign(r,e),r},h.dependency=function(e,t,r,n,i){o(null===r||"string"==typeof r,t,"key must be a strings"),i||(i=n.length>1&&"object"==typeof n[n.length-1]?n.pop():{}),c.assertOptions(i,["separator"]),n=[].concat(n);const s=c.default(i.separator,"."),a=[];for(const e of n)o("string"==typeof e,t,"peers must be a string or a reference"),a.push(u.ref(e,{separator:s,ancestor:0,prefix:!1}));null!==r&&(r=u.ref(r,{separator:s,ancestor:0,prefix:!1}));const l=e.clone();return l.$_terms.dependencies=l.$_terms.dependencies||[],l.$_terms.dependencies.push(new h.Dependency(t,r,a,n)),l},h.dependencies={and(e,t,r,n,o){const i=[],s=[],a=t.peers.length;for(const e of t.peers)void 0===e.resolve(r,n,o,null,{shadow:!1})?i.push(e.key):s.push(e.key);if(i.length!==a&&s.length!==a)return{code:"object.and",context:{present:s,presentWithLabels:h.keysToLabels(e,s),missing:i,missingWithLabels:h.keysToLabels(e,i)}}},nand(e,t,r,n,o){const i=[];for(const e of t.peers)void 0!==e.resolve(r,n,o,null,{shadow:!1})&&i.push(e.key);if(i.length!==t.peers.length)return;const s=t.paths[0],a=t.paths.slice(1);return{code:"object.nand",context:{main:s,mainWithLabel:h.keysToLabels(e,s),peers:a,peersWithLabels:h.keysToLabels(e,a)}}},or(e,t,r,n,o){for(const e of t.peers)if(void 0!==e.resolve(r,n,o,null,{shadow:!1}))return;return{code:"object.missing",context:{peers:t.paths,peersWithLabels:h.keysToLabels(e,t.paths)}}},oxor(e,t,r,n,o){const i=[];for(const e of t.peers)void 0!==e.resolve(r,n,o,null,{shadow:!1})&&i.push(e.key);if(!i.length||1===i.length)return;const s={peers:t.paths,peersWithLabels:h.keysToLabels(e,t.paths)};return s.present=i,s.presentWithLabels=h.keysToLabels(e,i),{code:"object.oxor",context:s}},with(e,t,r,n,o){for(const i of t.peers)if(void 0===i.resolve(r,n,o,null,{shadow:!1}))return{code:"object.with",context:{main:t.key.key,mainWithLabel:h.keysToLabels(e,t.key.key),peer:i.key,peerWithLabel:h.keysToLabels(e,i.key)}}},without(e,t,r,n,o){for(const i of t.peers)if(void 0!==i.resolve(r,n,o,null,{shadow:!1}))return{code:"object.without",context:{main:t.key.key,mainWithLabel:h.keysToLabels(e,t.key.key),peer:i.key,peerWithLabel:h.keysToLabels(e,i.key)}}},xor(e,t,r,n,o){const i=[];for(const e of t.peers)void 0!==e.resolve(r,n,o,null,{shadow:!1})&&i.push(e.key);if(1===i.length)return;const s={peers:t.paths,peersWithLabels:h.keysToLabels(e,t.paths)};return 0===i.length?{code:"object.missing",context:s}:(s.present=i,s.presentWithLabels=h.keysToLabels(e,i),{code:"object.xor",context:s})}},h.keysToLabels=function(e,t){return Array.isArray(t)?t.map(t=>e.$_mapLabels(t)):e.$_mapLabels(t)},h.rename=function(e,t,r,n,o){const i={};for(const s of e.$_terms.renames){const a=[],c="string"!=typeof s.from;if(c)for(const e in t){if(void 0===t[e]&&s.options.ignoreUndefined)continue;if(e===s.to)continue;const r=s.from.exec(e);r&&a.push({from:e,to:s.to,match:r})}else!Object.prototype.hasOwnProperty.call(t,s.from)||void 0===t[s.from]&&s.options.ignoreUndefined||a.push(s);for(const u of a){const a=u.from;let l=u.to;if(l instanceof d&&(l=l.render(t,r,n,u.match)),a!==l){if(!s.options.multiple&&i[l]&&(o.push(e.$_createError("object.rename.multiple",t,{from:a,to:l,pattern:c},r,n)),n.abortEarly))return!1;if(Object.prototype.hasOwnProperty.call(t,l)&&!s.options.override&&!i[l]&&(o.push(e.$_createError("object.rename.override",t,{from:a,to:l,pattern:c},r,n)),n.abortEarly))return!1;void 0===t[a]?delete t[l]:t[l]=t[a],i[l]=!0,s.options.alias||delete t[a]}}}return!0},h.unknown=function(e,t,r,n,o,i){if(e.$_terms.patterns){let s=!1;const a=e.$_terms.patterns.map(e=>{if(e.matches)return s=!0,[]}),c=[t,...o.ancestors];for(const s of r){const u=t[s],l=[...o.path,s];for(let f=0;f256)return o.code("DOMAIN_TOO_LONG");if(i.nonAsciiRx.test(e)){if(!1===t.allowUnicode)return o.code("DOMAIN_INVALID_UNICODE_CHARS");e=e.normalize("NFC")}if(i.domainControlRx.test(e))return o.code("DOMAIN_INVALID_CHARS");e=i.punycode(e);const r=t.minDomainSegments||i.minDomainSegments,n=e.split(".");if(n.lengtht.maxDomainSegments)return o.code("DOMAIN_SEGMENTS_COUNT_MAX");const s=t.tlds;if(s){const e=n[n.length-1].toLowerCase();if(s.deny&&s.deny.has(e)||s.allow&&!s.allow.has(e))return o.code("DOMAIN_FORBIDDEN_TLDS")}for(let e=0;e63)return o.code("DOMAIN_LONG_SEGMENT");if(e=1,"scheme must have at least 1 scheme specified");const i=[];for(let e=0;e=256)return"&#"+e+";";const r=e.toString(16).padStart(2,"0");return"&#x".concat(r,";")},n.isSafe=function(e){return void 0!==n.safeCharCodes[e]},n.namedHtml={38:"&",60:"<",62:">",34:""",160:" ",162:"¢",163:"£",164:"¤",169:"©",174:"®"},n.safeCharCodes=function(){const e={};for(let t=32;t<123;++t)(t>=97||t>=65&&t<=90||t>=48&&t<=57||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()},function(e,t,r){"use strict";const n={operators:["!","^","*","/","%","+","-","<","<=",">",">=","==","!=","&&","||","??"],operatorCharacters:["!","^","*","/","%","+","-","<","=",">","&","|","?"],operatorsOrder:[["^"],["*","/","%"],["+","-"],["<","<=",">",">="],["==","!="],["&&"],["||","??"]],operatorsPrefix:["!","n"],literals:{'"':'"',"`":"`","'":"'","[":"]"},numberRx:/^(?:[0-9]*\.?[0-9]*){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol("formula"),settings:Symbol("settings")};t.Parser=class{constructor(e,t={}){if(!t[n.settings]&&t.constants)for(const e in t.constants){const r=t.constants[e];if(null!==r&&!["boolean","number","string"].includes(typeof r))throw new Error("Formula constant ".concat(e," contains invalid ").concat(typeof r," value type"))}this.settings=t[n.settings]?t:Object.assign({[n.settings]:!0,constants:{},functions:{}},t),this.single=null,this._parts=null,this._parse(e)}_parse(e){let r=[],o="",i=0,s=!1;const a=e=>{if(i)throw new Error("Formula missing closing parenthesis");const a=r.length?r[r.length-1]:null;if(s||o||e){if(a&&"reference"===a.type&&")"===e)return a.type="function",a.value=this._subFormula(o,a.value),void(o="");if(")"===e){const e=new t.Parser(o,this.settings);r.push({type:"segment",value:e})}else if(s){if("]"===s)return r.push({type:"reference",value:o}),void(o="");r.push({type:"literal",value:o})}else if(n.operatorCharacters.includes(o))a&&"operator"===a.type&&n.operators.includes(a.value+o)?a.value+=o:r.push({type:"operator",value:o});else if(o.match(n.numberRx))r.push({type:"constant",value:parseFloat(o)});else if(void 0!==this.settings.constants[o])r.push({type:"constant",value:this.settings.constants[o]});else{if(!o.match(n.tokenRx))throw new Error("Formula contains invalid token: ".concat(o));r.push({type:"reference",value:o})}o=""}};for(const t of e)s?t===s?(a(),s=!1):o+=t:i?"("===t?(o+=t,++i):")"===t?(--i,i?o+=t:a(t)):o+=t:t in n.literals?s=n.literals[t]:"("===t?(a(),++i):n.operatorCharacters.includes(t)?(a(),o=t,a()):" "!==t?o+=t:a();a(),r=r.map((e,t)=>"operator"!==e.type||"-"!==e.value||t&&"operator"!==r[t-1].type?e:{type:"operator",value:"n"});let c=!1;for(const e of r){if("operator"===e.type){if(n.operatorsPrefix.includes(e.value))continue;if(!c)throw new Error("Formula contains an operator in invalid position");if(!n.operators.includes(e.value))throw new Error("Formula contains an unknown operator ".concat(e.value))}else if(c)throw new Error("Formula missing expected operator");c=!c}if(!c)throw new Error("Formula contains invalid trailing operator");1===r.length&&["reference","literal","constant"].includes(r[0].type)&&(this.single={type:"reference"===r[0].type?"reference":"value",value:r[0].value}),this._parts=r.map(e=>{if("operator"===e.type)return n.operatorsPrefix.includes(e.value)?e:e.value;if("reference"!==e.type)return e.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(e.value))throw new Error("Formula contains invalid reference ".concat(e.value));return this.settings.reference?this.settings.reference(e.value):n.reference(e.value)})}_subFormula(e,r){const o=this.settings.functions[r];if("function"!=typeof o)throw new Error("Formula contains unknown function ".concat(r));let i=[];if(e){let t="",o=0,s=!1;const a=()=>{if(!t)throw new Error("Formula contains function ".concat(r," with invalid arguments ").concat(e));i.push(t),t=""};for(let r=0;rnew t.Parser(e,this.settings)),function(e){const t=[];for(const r of i)t.push(r.evaluate(e));return o.call(e,...t)}}evaluate(e){const t=this._parts.slice();for(let r=t.length-2;r>=0;--r){const o=t[r];if(o&&"operator"===o.type){const i=t[r+1];t.splice(r+1,1);const s=n.evaluate(i,e);t[r]=n.single(o.value,s)}}return n.operatorsOrder.forEach(r=>{for(let o=1;o":return t>r;case">=":return t>=r;case"==":return t===r;case"!=":return t!==r;case"&&":return t&&r;case"||":return t||r}return null},n.exists=function(e){return null!=e}},function(e,t){},function(e,t,r){"use strict";const n=r(0),o=r(3),i=r(1),s=r(8),a=r(4),c=r(5),u={};e.exports=o.extend({type:"alternatives",flags:{match:{default:"any"}},terms:{matches:{init:[],register:c.toSibling}},args:(e,...t)=>1===t.length&&Array.isArray(t[0])?e.try(...t[0]):e.try(...t),validate(e,t){const{schema:r,error:n,state:o,prefs:i}=t;if(r._flags.match){let t,s=0;for(let n=0;n"is"!==r.path[0]?t.label(e):void 0,ref:!1})}},rebuild(e){e.$_modify({each:t=>{i.isSchema(t)&&"array"===t.type&&e.$_setFlag("_arrayItems",!0,{clone:!1})}})},manifest:{build(e,t){if(t.matches)for(const r of t.matches){const{schema:t,ref:n,is:o,not:i,then:s,otherwise:a}=r;e=t?e.try(t):n?e.conditional(n,{is:o,then:s,not:i,otherwise:a,switch:r.switch}):e.conditional(o,{then:s,otherwise:a})}return e}},messages:{"alternatives.all":"{{#label}} does not match all of the required types","alternatives.any":"{{#label}} does not match any of the allowed types","alternatives.match":"{{#label}} does not match any of the allowed types","alternatives.one":"{{#label}} matches more than one allowed type","alternatives.types":"{{#label}} must be one of {{#types}}"}}),u.errors=function(e,{error:t,state:r}){if(!e.length)return{errors:t("alternatives.any")};if(1===e.length)return{errors:e[0].reports};const n=new Set,o=[];for(const{reports:i,schema:s}of e){if(i.length>1)return u.unmatched(e,t);const c=i[0];if(c instanceof a.Report==0)return u.unmatched(e,t);if(c.state.path.length!==r.path.length){o.push({type:s.type,report:c});continue}if("any.only"===c.code){for(const e of c.local.valids)n.add(e);continue}const[l,f]=c.code.split(".");"base"===f?n.add(l):o.push({type:s.type,report:c})}return o.length?1===o.length?{errors:o[0].report}:u.unmatched(e,t):{errors:t("alternatives.types",{types:[...n]})}},u.unmatched=function(e,t){const r=[];for(const t of e)r.push(...t.reports);return{errors:t("alternatives.match",a.details(r,{override:!1}))}}},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(10),s=r(20),a=r(15),c=r(1),u=r(8),l=r(4),f=r(17),d=r(18),h=r(9),p=r(35),g=r(5),m=r(19),y=r(36),b=r(21),v={Base:class{constructor(e){this.type=e,this.$_root=null,this._definition={},this._reset()}_reset(){this._ids=new p.Ids,this._preferences=null,this._refs=new g.Manager,this._cache=null,this._valids=null,this._invalids=null,this._flags={},this._rules=[],this._singleRules=new Map,this.$_terms={},this.$_temp={ruleset:null,whens:{}}}describe(){return n("function"==typeof d.describe,"Manifest functionality disabled"),d.describe(this)}allow(...e){return c.verifyFlat(e,"allow"),this._values(e,"_valids")}alter(e){n(e&&"object"==typeof e&&!Array.isArray(e),"Invalid targets argument"),n(!this._inRuleset(),"Cannot set alterations inside a ruleset");const t=this.clone();t.$_terms.alterations=t.$_terms.alterations||[];for(const r in e){const o=e[r];n("function"==typeof o,"Alteration adjuster for",r,"must be a function"),t.$_terms.alterations.push({target:r,adjuster:o})}return t.$_temp.ruleset=!1,t}artifact(e){return n(void 0!==e,"Artifact cannot be undefined"),n(!this._cache,"Cannot set an artifact with a rule cache"),this.$_setFlag("artifact",e)}cast(e){return n(!1===e||"string"==typeof e,"Invalid to value"),n(!1===e||this._definition.cast[e],"Type",this.type,"does not support casting to",e),this.$_setFlag("cast",!1===e?void 0:e)}default(e,t){return this._default("default",e,t)}description(e){return n(e&&"string"==typeof e,"Description must be a non-empty string"),this.$_setFlag("description",e)}empty(e){const t=this.clone();return void 0!==e&&(e=t.$_compile(e,{override:!1})),t.$_setFlag("empty",e,{clone:!1})}error(e){return n(e,"Missing error"),n(e instanceof Error||"function"==typeof e,"Must provide a valid Error object or a function"),this.$_setFlag("error",e)}example(e,t={}){return n(void 0!==e,"Missing example"),c.assertOptions(t,["override"]),this._inner("examples",e,{single:!0,override:t.override})}external(e,t){return"object"==typeof e&&(n(!t,"Cannot combine options with description"),t=e.description,e=e.method),n("function"==typeof e,"Method must be a function"),n(void 0===t||t&&"string"==typeof t,"Description must be a non-empty string"),this._inner("externals",{method:e,description:t},{single:!0})}failover(e,t){return this._default("failover",e,t)}forbidden(){return this.presence("forbidden")}id(e){return e?(n("string"==typeof e,"id must be a non-empty string"),n(/^[^\.]+$/.test(e),"id cannot contain period character"),this.$_setFlag("id",e)):this.$_setFlag("id",void 0)}invalid(...e){return this._values(e,"_invalids")}label(e){return n(e&&"string"==typeof e,"Label name must be a non-empty string"),this.$_setFlag("label",e)}meta(e){return n(void 0!==e,"Meta cannot be undefined"),this._inner("metas",e,{single:!0})}note(...e){n(e.length,"Missing notes");for(const t of e)n(t&&"string"==typeof t,"Notes must be non-empty strings");return this._inner("notes",e)}only(e=!0){return n("boolean"==typeof e,"Invalid mode:",e),this.$_setFlag("only",e)}optional(){return this.presence("optional")}prefs(e){n(e,"Missing preferences"),n(void 0===e.context,"Cannot override context"),n(void 0===e.externals,"Cannot override externals"),n(void 0===e.warnings,"Cannot override warnings"),n(void 0===e.debug,"Cannot override debug"),c.checkPreferences(e);const t=this.clone();return t._preferences=c.preferences(t._preferences,e),t}presence(e){return n(["optional","required","forbidden"].includes(e),"Unknown presence mode",e),this.$_setFlag("presence",e)}raw(e=!0){return this.$_setFlag("result",e?"raw":void 0)}result(e){return n(["raw","strip"].includes(e),"Unknown result mode",e),this.$_setFlag("result",e)}required(){return this.presence("required")}strict(e){const t=this.clone(),r=void 0!==e&&!e;return t._preferences=c.preferences(t._preferences,{convert:r}),t}strip(e=!0){return this.$_setFlag("result",e?"strip":void 0)}tag(...e){n(e.length,"Missing tags");for(const t of e)n(t&&"string"==typeof t,"Tags must be non-empty strings");return this._inner("tags",e)}unit(e){return n(e&&"string"==typeof e,"Unit name must be a non-empty string"),this.$_setFlag("unit",e)}valid(...e){c.verifyFlat(e,"valid");const t=this.allow(...e);return t.$_setFlag("only",!!t._valids,{clone:!1}),t}when(e,t){const r=this.clone();r.$_terms.whens||(r.$_terms.whens=[]);const o=u.when(r,e,t);if(!["any","link"].includes(r.type)){const e=o.is?[o]:o.switch;for(const t of e)n(!t.then||"any"===t.then.type||t.then.type===r.type,"Cannot combine",r.type,"with",t.then&&t.then.type),n(!t.otherwise||"any"===t.otherwise.type||t.otherwise.type===r.type,"Cannot combine",r.type,"with",t.otherwise&&t.otherwise.type)}return r.$_terms.whens.push(o),r.$_mutateRebuild()}cache(e){n(!this._inRuleset(),"Cannot set caching inside a ruleset"),n(!this._cache,"Cannot override schema cache"),n(void 0===this._flags.artifact,"Cannot cache a rule with an artifact");const t=this.clone();return t._cache=e||a.provider.provision(),t.$_temp.ruleset=!1,t}clone(){const e=Object.create(Object.getPrototypeOf(this));return this._assign(e)}concat(e){n(c.isSchema(e),"Invalid schema object"),n("any"===this.type||"any"===e.type||e.type===this.type,"Cannot merge type",this.type,"with another type:",e.type),n(!this._inRuleset(),"Cannot concatenate onto a schema with open ruleset"),n(!e._inRuleset(),"Cannot concatenate a schema with open ruleset");let t=this.clone();if("any"===this.type&&"any"!==e.type){const r=e.clone();for(const e of Object.keys(t))"type"!==e&&(r[e]=t[e]);t=r}t._ids.concat(e._ids),t._refs.register(e,g.toSibling),t._preferences=t._preferences?c.preferences(t._preferences,e._preferences):e._preferences,t._valids=b.merge(t._valids,e._valids,e._invalids),t._invalids=b.merge(t._invalids,e._invalids,e._valids);for(const r of e._singleRules.keys())t._singleRules.has(r)&&(t._rules=t._rules.filter(e=>e.keep||e.name!==r),t._singleRules.delete(r));for(const r of e._rules)e._definition.rules[r.method].multi||t._singleRules.set(r.name,r),t._rules.push(r);if(t._flags.empty&&e._flags.empty){t._flags.empty=t._flags.empty.concat(e._flags.empty);const r=Object.assign({},e._flags);delete r.empty,s(t._flags,r)}else if(e._flags.empty){t._flags.empty=e._flags.empty;const r=Object.assign({},e._flags);delete r.empty,s(t._flags,r)}else s(t._flags,e._flags);for(const r in e.$_terms){const n=e.$_terms[r];n?t.$_terms[r]?t.$_terms[r]=t.$_terms[r].concat(n):t.$_terms[r]=n.slice():t.$_terms[r]||(t.$_terms[r]=n)}return this.$_root._tracer&&this.$_root._tracer._combine(t,[this,e]),t.$_mutateRebuild()}extend(e){return n(!e.base,"Cannot extend type with another base"),f.type(this,e)}extract(e){return e=Array.isArray(e)?e:e.split("."),this._ids.reach(e)}fork(e,t){n(!this._inRuleset(),"Cannot fork inside a ruleset");let r=this;for(let n of[].concat(e))n=Array.isArray(n)?n:n.split("."),r=r._ids.fork(n,t,r);return r.$_temp.ruleset=!1,r}rule(e){const t=this._definition;c.assertOptions(e,Object.keys(t.modifiers)),n(!1!==this.$_temp.ruleset,"Cannot apply rules to empty ruleset or the last rule added does not support rule properties");const r=null===this.$_temp.ruleset?this._rules.length-1:this.$_temp.ruleset;n(r>=0&&rt.tailor(e),ref:!1}),t.$_temp.ruleset=!1,t.$_mutateRebuild()}tracer(){return m.location?m.location(this):this}validate(e,t){return y.entry(e,this,t)}validateAsync(e,t){return y.entryAsync(e,this,t)}$_addRule(e){"string"==typeof e&&(e={name:e}),n(e&&"object"==typeof e,"Invalid options"),n(e.name&&"string"==typeof e.name,"Invalid rule name");for(const t in e)n("_"!==t[0],"Cannot set private rule properties");const t=Object.assign({},e);t._resolve=[],t.method=t.method||t.name;const r=this._definition.rules[t.method],o=t.args;n(r,"Unknown rule",t.method);const i=this.clone();if(o){n(1===Object.keys(o).length||Object.keys(o).length===this._definition.rules[t.name].args.length,"Invalid rule definition for",this.type,t.name);for(const e in o){let s=o[e];if(void 0!==s){if(r.argsByName){const a=r.argsByName.get(e);if(a.ref&&c.isResolvable(s))t._resolve.push(e),i.$_mutateRegister(s);else if(a.normalize&&(s=a.normalize(s),o[e]=s),a.assert){const t=c.validateArg(s,e,a);n(!t,t,"or reference")}}o[e]=s}else delete o[e]}}return r.multi||(i._ruleRemove(t.name,{clone:!1}),i._singleRules.set(t.name,t)),!1===i.$_temp.ruleset&&(i.$_temp.ruleset=null),r.priority?i._rules.unshift(t):i._rules.push(t),i}$_compile(e,t){return u.schema(this.$_root,e,t)}$_createError(e,t,r,n,o,i={}){const s=!1!==i.flags?this._flags:{},a=i.messages?h.merge(this._definition.messages,i.messages):this._definition.messages;return new l.Report(e,t,r,s,a,n,o)}$_getFlag(e){return this._flags[e]}$_getRule(e){return this._singleRules.get(e)}$_mapLabels(e){return e=Array.isArray(e)?e:e.split("."),this._ids.labels(e)}$_match(e,t,r,n){(r=Object.assign({},r)).abortEarly=!0,r._externals=!1,t.snapshot();const o=!y.validate(e,this,t,r,n).errors;return t.restore(),o}$_modify(e){return c.assertOptions(e,["each","once","ref","schema"]),p.schema(this,e)||this}$_mutateRebuild(){return n(!this._inRuleset(),"Cannot add this rule inside a ruleset"),this._refs.reset(),this._ids.reset(),this.$_modify({each:(e,{source:t,name:r,path:n,key:o})=>{const i=this._definition[t][r]&&this._definition[t][r].register;!1!==i&&this.$_mutateRegister(e,{family:i,key:o})}}),this._definition.rebuild&&this._definition.rebuild(this),this.$_temp.ruleset=!1,this}$_mutateRegister(e,{family:t,key:r}={}){this._refs.register(e,t),this._ids.register(e,{key:r})}$_property(e){return this._definition.properties[e]}$_reach(e){return this._ids.reach(e)}$_rootReferences(){return this._refs.roots()}$_setFlag(e,t,r={}){n("_"===e[0]||!this._inRuleset(),"Cannot set flag inside a ruleset");const o=this._definition.flags[e]||{};if(i(t,o.default)&&(t=void 0),i(t,this._flags[e]))return this;const s=!1!==r.clone?this.clone():this;return void 0!==t?(s._flags[e]=t,s.$_mutateRegister(t)):delete s._flags[e],"_"!==e[0]&&(s.$_temp.ruleset=!1),s}$_parent(e,...t){return this[e][c.symbols.parent].call(this,...t)}$_validate(e,t,r){return y.validate(e,this,t,r)}_assign(e){e.type=this.type,e.$_root=this.$_root,e.$_temp=Object.assign({},this.$_temp),e.$_temp.whens={},e._ids=this._ids.clone(),e._preferences=this._preferences,e._valids=this._valids&&this._valids.clone(),e._invalids=this._invalids&&this._invalids.clone(),e._rules=this._rules.slice(),e._singleRules=o(this._singleRules,{shallow:!0}),e._refs=this._refs.clone(),e._flags=Object.assign({},this._flags),e._cache=null,e.$_terms={};for(const t in this.$_terms)e.$_terms[t]=this.$_terms[t]?this.$_terms[t].slice():null;e.$_super={};for(const t in this.$_super)e.$_super[t]=this._super[t].bind(e);return e}_bare(){const e=this.clone();e._reset();const t=e._definition.terms;for(const r in t){const n=t[r];e.$_terms[r]=n.init}return e.$_mutateRebuild()}_default(e,t,r={}){return c.assertOptions(r,"literal"),n(void 0!==t,"Missing",e,"value"),n("function"==typeof t||!r.literal,"Only function value supports literal option"),"function"==typeof t&&r.literal&&(t={[c.symbols.literal]:!0,literal:t}),this.$_setFlag(e,t)}_generate(e,t,r){if(!this.$_terms.whens)return{schema:this};const n=[],o=[];for(let i=0;iu)break}const i=o.join(", ");if(t.mainstay.tracer.debug(t,"rule","when",i),!i)return{schema:this};if(!t.mainstay.tracer.active&&this.$_temp.whens[i])return{schema:this.$_temp.whens[i],id:i};let s=this;this._definition.generate&&(s=this._definition.generate(this,e,t,r));for(const e of n)s=s.concat(e);return this.$_root._tracer&&this.$_root._tracer._combine(s,[this,...n]),this.$_temp.whens[i]=s,{schema:s,id:i}}_inner(e,t,r={}){n(!this._inRuleset(),"Cannot set ".concat(e," inside a ruleset"));const o=this.clone();return o.$_terms[e]&&!r.override||(o.$_terms[e]=[]),r.single?o.$_terms[e].push(t):o.$_terms[e].push(...t),o.$_temp.ruleset=!1,o}_inRuleset(){return null!==this.$_temp.ruleset&&!1!==this.$_temp.ruleset}_ruleRemove(e,t={}){if(!this._singleRules.has(e))return this;const r=!1!==t.clone?this.clone():this;r._singleRules.delete(e);const n=[];for(let t=0;t{if(r===(e._flags.id||t))return n},ref:!1});return o?o.$_mutateRebuild():e},t.schema=function(e,t){let r;for(const n in e._flags){if("_"===n[0])continue;const o=u.scan(e._flags[n],{source:"flags",name:n},t);void 0!==o&&(r=r||e.clone(),r._flags[n]=o)}for(let n=0;nt.$_createError(o,e,i,s||r,n),s={original:e,prefs:n,schema:t,state:r,error:i,errorsArray:l.errorsArray,warn:(e,t,n)=>r.mainstay.warnings.push(i(e,t,n)),message:(o,i)=>t.$_createError("custom",e,i,r,n,{messages:o})};r.mainstay.tracer.entry(t,r);const c=t._definition;if(c.prepare&&void 0!==e&&n.convert){const t=c.prepare(e,s);if(t){if(r.mainstay.tracer.value(r,"prepare",e,t.value),t.errors)return l.finalize(t.value,[].concat(t.errors),s);e=t.value}}if(c.coerce&&void 0!==e&&n.convert&&(!c.coerce.from||c.coerce.from.includes(typeof e))){const t=c.coerce.method(e,s);if(t){if(r.mainstay.tracer.value(r,"coerced",e,t.value),t.errors)return l.finalize(t.value,[].concat(t.errors),s);e=t.value}}const u=t._flags.empty;u&&u.$_match(l.trim(e,t),r.nest(u),a.defaults)&&(r.mainstay.tracer.value(r,"empty",e,void 0),e=void 0);const f=o.presence||t._flags.presence||(t._flags._endedSwitch?null:n.presence);if(void 0===e){if("forbidden"===f)return l.finalize(e,null,s);if("required"===f)return l.finalize(e,[t.$_createError("any.required",e,null,r,n)],s);if("optional"===f){if(t._flags.default!==a.symbols.deepDefault)return l.finalize(e,null,s);r.mainstay.tracer.value(r,"default",e,{}),e={}}}else if("forbidden"===f)return l.finalize(e,[t.$_createError("any.unknown",e,null,r,n)],s);const d=[];if(t._valids){const o=t._valids.get(e,r,n,t._flags.insensitive);if(o)return n.convert&&(r.mainstay.tracer.value(r,"valids",e,o.value),e=o.value),r.mainstay.tracer.filter(t,r,"valid",o),l.finalize(e,null,s);if(t._flags.only){const o=t.$_createError("any.only",e,{valids:t._valids.values({display:!0})},r,n);if(n.abortEarly)return l.finalize(e,[o],s);d.push(o)}}if(t._invalids){const o=t._invalids.get(e,r,n,t._flags.insensitive);if(o){r.mainstay.tracer.filter(t,r,"invalid",o);const i=t.$_createError("any.invalid",e,{invalids:t._invalids.values({display:!0})},r,n);if(n.abortEarly)return l.finalize(e,[i],s);d.push(i)}}if(c.validate){const t=c.validate(e,s);if(t&&(r.mainstay.tracer.value(r,"base",e,t.value),e=t.value,t.errors)){if(!Array.isArray(t.errors))return d.push(t.errors),l.finalize(e,d,s);if(t.errors.length)return d.push(...t.errors),l.finalize(e,d,s)}}return t._rules.length?l.rules(e,d,s):l.finalize(e,d,s)},l.rules=function(e,t,r){const{schema:n,state:o,prefs:i}=r;for(const s of n._rules){const c=n._definition.rules[s.method];if(c.convert&&i.convert){o.mainstay.tracer.log(n,o,"rule",s.name,"full");continue}let u,f=s.args;if(s._resolve.length){f=Object.assign({},f);for(const t of s._resolve){const r=c.argsByName.get(t),s=f[t].resolve(e,o,i),l=r.normalize?r.normalize(s):s,d=a.validateArg(l,null,r);if(d){u=n.$_createError("any.ref",s,{arg:t,ref:f[t],reason:d},o,i);break}f[t]=l}}u=u||c.validate(e,r,f,s);const d=l.rule(u,s);if(d.errors){if(o.mainstay.tracer.log(n,o,"rule",s.name,"error"),s.warn){o.mainstay.warnings.push(...d.errors);continue}if(i.abortEarly)return l.finalize(e,d.errors,r);t.push(...d.errors)}else o.mainstay.tracer.log(n,o,"rule",s.name,"pass"),o.mainstay.tracer.value(o,"rule",e,d.value,s.name),e=d.value}return l.finalize(e,t,r)},l.rule=function(e,t){return e instanceof c.Report?(l.error(e,t),{errors:[e],value:null}):Array.isArray(e)&&e[a.symbols.errors]?(e.forEach(e=>l.error(e,t)),{errors:e,value:null}):{errors:null,value:e}},l.error=function(e,t){return t.message&&e._setTemplate(t.message),e},l.finalize=function(e,t,r){t=t||[];const{schema:o,state:i,prefs:s}=r;if(t.length){const n=l.default("failover",void 0,t,r);void 0!==n&&(i.mainstay.tracer.value(i,"failover",e,n),e=n,t=[])}if(t.length&&o._flags.error)if("function"==typeof o._flags.error){t=o._flags.error(t),Array.isArray(t)||(t=[t]);for(const e of t)n(e instanceof Error||e instanceof c.Report,"error() must return an Error object")}else t=[o._flags.error];if(void 0===e){const n=l.default("default",e,t,r);i.mainstay.tracer.value(i,"default",e,n),e=n}if(o._flags.cast&&void 0!==e){const t=o._definition.cast[o._flags.cast];if(t.from(e)){const n=t.to(e,r);i.mainstay.tracer.value(i,"cast",e,n,o._flags.cast),e=n}}if(o.$_terms.externals&&s.externals&&!1!==s._externals)for(const{method:e}of o.$_terms.externals)i.mainstay.externals.push({method:e,path:i.path,label:c.label(o._flags,i,s)});const a={value:e,errors:t.length?t:null};return o._flags.result&&(a.value="strip"===o._flags.result?void 0:r.original,i.mainstay.tracer.value(i,o._flags.result,e,a.value),i.shadow(e,o._flags.result)),o._cache&&!1!==s.cache&&!o._refs.length&&o._cache.set(r.original,a),void 0===e||a.errors||void 0===o._flags.artifact||(i.mainstay.artifacts=i.mainstay.artifacts||new Map,i.mainstay.artifacts.has(o._flags.artifact)||i.mainstay.artifacts.set(o._flags.artifact,[]),i.mainstay.artifacts.get(o._flags.artifact).push(i.path)),a},l.prefs=function(e,t){const r=t===a.defaults;return r&&e._preferences[a.symbols.prefs]?e._preferences[a.symbols.prefs]:(t=a.preferences(t,e._preferences),r&&(e._preferences[a.symbols.prefs]=t),t)},l.default=function(e,t,r,n){const{schema:i,state:s,prefs:c}=n,u=i._flags[e];if(c.noDefaults||void 0===u)return t;if(s.mainstay.tracer.log(i,s,"rule",e,"full"),!u)return u;if("function"==typeof u){const a=u.length?[o(s.ancestors[0]),n]:[];try{return u(...a)}catch(t){return void r.push(i.$_createError("any.".concat(e),null,{error:t},s,c))}}return"object"!=typeof u?u:u[a.symbols.literal]?u.literal:a.isResolvable(u)?u.resolve(t,s,c):o(u)},l.trim=function(e,t){if("string"!=typeof e)return e;const r=t.$_getRule("trim");return r&&r.args.enabled?e.trim():e},l.ignore={active:!1,debug:i,entry:i,filter:i,log:i,resolve:i,value:i},l.errorsArray=function(){const e=[];return e[a.symbols.errors]=!0,e}},function(e,t,r){"use strict";e.exports=function(){}},function(e,t,r){"use strict";const n=r(2),o=r(6),i=r(1),s={value:Symbol("value")};e.exports=s.State=class{constructor(e,t,r){this.path=e,this.ancestors=t,this.mainstay=r.mainstay,this.schemas=r.schemas,this.debug=null}localize(e,t=null,r=null){const n=new s.State(e,t,this);return r&&n.schemas&&(n.schemas=[s.schemas(r),...n.schemas]),n}nest(e,t){const r=new s.State(this.path,this.ancestors,this);return r.schemas=r.schemas&&[s.schemas(e),...r.schemas],r.debug=t,r}shadow(e,t){this.mainstay.shadow=this.mainstay.shadow||new s.Shadow,this.mainstay.shadow.set(this.path,e,t)}snapshot(){this.mainstay.shadow&&(this._snapshot=n(this.mainstay.shadow.node(this.path)))}restore(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0)}},s.schemas=function(e){return i.isSchema(e)?{schema:e}:e},s.Shadow=class{constructor(){this._values=null}set(e,t,r){if(!e.length)return;if("strip"===r&&"number"==typeof e[e.length-1])return;this._values=this._values||new Map;let n=this._values;for(let t=0;tthis.$_compile(e[r]),r,{append:!0});t.$_terms.items.push(n)}return t.$_mutateRebuild()},validate(e,{schema:t,error:r,state:n,prefs:o,errorsArray:i}){const s=t.$_terms._requireds.slice(),c=t.$_terms.ordered.slice(),l=[...t.$_terms._inclusions,...s],f=!e[a.symbols.arraySingle];delete e[a.symbols.arraySingle];const d=i();let h=e.length;for(let i=0;i="})}},ordered:{method(...e){a.verifyFlat(e,"ordered");const t=this.$_addRule("items");for(let r=0;rthis.$_compile(e[r]),r,{append:!0});u.validateSingle(n,t),t.$_mutateRegister(n),t.$_terms.ordered.push(n)}return t.$_mutateRebuild()}},single:{method(e){const t=void 0===e||!!e;return n(!t||!this._flags._arrayItems,"Cannot specify single rule when array has array items"),this.$_setFlag("single",t)}},sort:{method(e={}){a.assertOptions(e,["by","order"]);const t={order:e.order||"ascending"};return e.by&&(t.by=c.ref(e.by,{ancestor:0}),n(!t.by.ancestor,"Cannot sort by ancestor")),this.$_addRule({name:"sort",args:{options:t}})},validate(e,{error:t,state:r,prefs:n,schema:o},{options:i}){const{value:s,errors:a}=u.sort(o,e,i,r,n);if(a)return a;for(let r=0;rnew Set(e)}},rebuild(e){e.$_terms._inclusions=[],e.$_terms._exclusions=[],e.$_terms._requireds=[];for(const t of e.$_terms.items)u.validateSingle(t,e),"required"===t._flags.presence?e.$_terms._requireds.push(t):"forbidden"===t._flags.presence?e.$_terms._exclusions.push(t):e.$_terms._inclusions.push(t);for(const t of e.$_terms.ordered)u.validateSingle(t,e)},manifest:{build:(e,t)=>(t.items&&(e=e.items(...t.items)),t.ordered&&(e=e.ordered(...t.ordered)),e)},messages:{"array.base":"{{#label}} must be an array","array.excludes":"{{#label}} contains an excluded value","array.hasKnown":"{{#label}} does not contain at least one required match for type {:#patternLabel}","array.hasUnknown":"{{#label}} does not contain at least one required match","array.includes":"{{#label}} does not match any of the allowed types","array.includesRequiredBoth":"{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)","array.includesRequiredKnowns":"{{#label}} does not contain {{#knownMisses}}","array.includesRequiredUnknowns":"{{#label}} does not contain {{#unknownMisses}} required value(s)","array.length":"{{#label}} must contain {{#limit}} items","array.max":"{{#label}} must contain less than or equal to {{#limit}} items","array.min":"{{#label}} must contain at least {{#limit}} items","array.orderedLength":"{{#label}} must contain at most {{#limit}} items","array.sort":"{{#label}} must be sorted in {#order} order by {{#by}}","array.sort.mismatching":"{{#label}} cannot be sorted due to mismatching types","array.sort.unsupported":"{{#label}} cannot be sorted due to unsupported type {#type}","array.sparse":"{{#label}} must not be a sparse array item","array.unique":"{{#label}} contains a duplicate value"}}),u.fillMissedErrors=function(e,t,r,n,o,i){const s=[];let a=0;for(const e of r){const t=e._flags.label;t?s.push(t):++a}s.length?a?t.push(e.$_createError("array.includesRequiredBoth",n,{knownMisses:s,unknownMisses:a},o,i)):t.push(e.$_createError("array.includesRequiredKnowns",n,{knownMisses:s},o,i)):t.push(e.$_createError("array.includesRequiredUnknowns",n,{unknownMisses:a},o,i))},u.fillOrderedErrors=function(e,t,r,n,o,i){const s=[];for(const e of r)"required"===e._flags.presence&&s.push(e);s.length&&u.fillMissedErrors(e,t,s,n,o,i)},u.fastSplice=function(e,t){let r=t;for(;r{let f=u.compare(c,l,s,a);if(null!==f)return f;if(r.by&&(c=r.by.resolve(c,n,o),l=r.by.resolve(l,n,o)),f=u.compare(c,l,s,a),null!==f)return f;const d=typeof c;if(d!==typeof l)throw e.$_createError("array.sort.mismatching",t,null,n,o);if("number"!==d&&"string"!==d)throw e.$_createError("array.sort.unsupported",t,{type:d},n,o);return"number"===d?(c-l)*i:ce?1:0},string:{from:a.isBool,to:(e,t)=>e?"true":"false"}},manifest:{build:(e,t)=>(t.truthy&&(e=e.truthy(...t.truthy)),t.falsy&&(e=e.falsy(...t.falsy)),e)},messages:{"boolean.base":"{{#label}} must be a boolean"}})},function(e,t,r){"use strict";const n=r(0),o=r(3),i=r(1),s=r(7),a={isDate:function(e){return e instanceof Date}};e.exports=o.extend({type:"date",coerce:{from:["number","string"],method:(e,{schema:t})=>({value:a.parse(e,t._flags.format)||e})},validate(e,{schema:t,error:r,prefs:n}){if(e instanceof Date&&!isNaN(e.getTime()))return;const o=t._flags.format;return n.convert&&o&&"string"==typeof e?{value:e,errors:r("date.format",{format:o})}:{value:e,errors:r("date.base")}},rules:{compare:{method:!1,validate(e,t,{date:r},{name:n,operator:o,args:s}){const a="now"===r?Date.now():r.getTime();return i.compare(e.getTime(),a,o)?e:t.error("date."+n,{limit:s.date,value:e})},args:[{name:"date",ref:!0,normalize:e=>"now"===e?e:a.parse(e),assert:e=>null!==e,message:"must have a valid date format"}]},format:{method(e){return n(["iso","javascript","unix"].includes(e),"Unknown date format",e),this.$_setFlag("format",e)}},greater:{method(e){return this.$_addRule({name:"greater",method:"compare",args:{date:e},operator:">"})}},iso:{method(){return this.format("iso")}},less:{method(e){return this.$_addRule({name:"less",method:"compare",args:{date:e},operator:"<"})}},max:{method(e){return this.$_addRule({name:"max",method:"compare",args:{date:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"compare",args:{date:e},operator:">="})}},timestamp:{method(e="javascript"){return n(["javascript","unix"].includes(e),'"type" must be one of "javascript, unix"'),this.format(e)}}},cast:{number:{from:a.isDate,to:(e,t)=>e.getTime()},string:{from:a.isDate,to:(e,{prefs:t})=>s.date(e,t)}},messages:{"date.base":"{{#label}} must be a valid date","date.format":'{{#label}} must be in {msg("date.format." + #format) || #format} format',"date.greater":"{{#label}} must be greater than {{:#limit}}","date.less":"{{#label}} must be less than {{:#limit}}","date.max":"{{#label}} must be less than or equal to {{:#limit}}","date.min":"{{#label}} must be greater than or equal to {{:#limit}}","date.format.iso":"ISO 8601 date","date.format.javascript":"timestamp or number of milliseconds","date.format.unix":"timestamp or number of seconds"}}),a.parse=function(e,t){if(e instanceof Date)return e;if("string"!=typeof e&&(isNaN(e)||!isFinite(e)))return null;if(/^\s*$/.test(e))return null;if("iso"===t)return i.isIsoDate(e)?a.date(e.toString()):null;const r=e;if("string"==typeof e&&/^[+-]?\d+(\.\d+)?$/.test(e)&&(e=parseFloat(e)),t){if("javascript"===t)return a.date(1*e);if("unix"===t)return a.date(1e3*e);if("string"==typeof r)return null}return a.date(e)},a.date=function(e){const t=new Date(e);return isNaN(t.getTime())?null:t}},function(e,t,r){"use strict";const n=r(0),o=r(22);e.exports=o.extend({type:"function",properties:{typeof:"function"},rules:{arity:{method(e){return n(Number.isSafeInteger(e)&&e>=0,"n must be a positive integer"),this.$_addRule({name:"arity",args:{n:e}})},validate:(e,t,{n:r})=>e.length===r?e:t.error("function.arity",{n:r})},class:{method(){return this.$_addRule("class")},validate:(e,t)=>/^\s*class\s/.test(e.toString())?e:t.error("function.class",{value:e})},minArity:{method(e){return n(Number.isSafeInteger(e)&&e>0,"n must be a strict positive integer"),this.$_addRule({name:"minArity",args:{n:e}})},validate:(e,t,{n:r})=>e.length>=r?e:t.error("function.minArity",{n:r})},maxArity:{method(e){return n(Number.isSafeInteger(e)&&e>=0,"n must be a positive integer"),this.$_addRule({name:"maxArity",args:{n:e}})},validate:(e,t,{n:r})=>e.length<=r?e:t.error("function.maxArity",{n:r})}},messages:{"function.arity":"{{#label}} must have an arity of {{#n}}","function.class":"{{#label}} must be a class","function.maxArity":"{{#label}} must have an arity lesser or equal to {{#n}}","function.minArity":"{{#label}} must have an arity greater or equal to {{#n}}"}})},function(e,t,r){"use strict";const n=r(0),o=r(2),i=r(20),s=r(6),a={};e.exports=function(e,t,r={}){if(n(e&&"object"==typeof e,"Invalid defaults value: must be an object"),n(!t||!0===t||"object"==typeof t,"Invalid source value: must be true, falsy or an object"),n("object"==typeof r,"Invalid options: must be an object"),!t)return null;if(r.shallow)return a.applyToDefaultsWithShallow(e,t,r);const s=o(e);if(!0===t)return s;const c=void 0!==r.nullOverride&&r.nullOverride;return i(s,t,{nullOverride:c,mergeArrays:!1})},a.applyToDefaultsWithShallow=function(e,t,r){const c=r.shallow;n(Array.isArray(c),"Invalid keys");const u=new Map,l=!0===t?null:new Set;for(let r of c){r=Array.isArray(r)?r:r.split(".");const n=s(e,r);n&&"object"==typeof n?u.set(n,l&&s(t,r)||n):l&&l.add(r)}const f=o(e,{},u);if(!l)return f;for(const e of l)a.reachCopy(f,t,e);return i(f,t,{mergeArrays:!1,nullOverride:!1})},a.reachCopy=function(e,t,r){for(const e of r){if(!(e in t))return;t=t[e]}const n=t;let o=e;for(let e=0;ee.sort===t.sort?0:e.sorte.ref(t),validate(e,{schema:t,state:r,prefs:o}){n(t.$_terms.link,"Uninitialized link schema");const i=c.generate(t,e,r,o),s=t.$_terms.link[0].ref;return i.$_validate(e,r.nest(i,"link:".concat(s.display,":").concat(i.type)),o)},generate:(e,t,r,n)=>c.generate(e,t,r,n),rules:{ref:{method(e){n(!this.$_terms.link,"Cannot reinitialize schema"),e=s.ref(e),n("value"===e.type||"local"===e.type,"Invalid reference type:",e.type),n("local"===e.type||"root"===e.ancestor||e.ancestor>0,"Link cannot reference itself");const t=this.clone();return t.$_terms.link=[{ref:e}],t}},relative:{method(e=!0){return this.$_setFlag("relative",e)}}},overrides:{concat(e){n(this.$_terms.link,"Uninitialized link schema"),n(i.isSchema(e),"Invalid schema object"),n("link"!==e.type,"Cannot merge type link with another link");const t=this.clone();return t.$_terms.whens||(t.$_terms.whens=[]),t.$_terms.whens.push({concat:e}),t.$_mutateRebuild()}},manifest:{build:(e,t)=>(n(t.link,"Invalid link description missing link"),e.ref(t.link))}}),c.generate=function(e,t,r,n){let o=r.mainstay.links.get(e);if(o)return o._generate(t,r,n).schema;const i=e.$_terms.link[0].ref,{perspective:s,path:a}=c.perspective(i,r);c.assert(s,"which is outside of schema boundaries",i,e,r,n);try{o=a.length?s.$_reach(a):s}catch(t){c.assert(!1,"to non-existing schema",i,e,r,n)}return c.assert("link"!==o.type,"which is another link",i,e,r,n),e._flags.relative||r.mainstay.links.set(e,o),o._generate(t,r,n).schema},c.perspective=function(e,t){if("local"===e.type){for(const{schema:r,key:n}of t.schemas){if((r._flags.id||n)===e.path[0])return{perspective:r,path:e.path.slice(1)};if(r.$_terms.shared)for(const t of r.$_terms.shared)if(t._flags.id===e.path[0])return{perspective:t,path:e.path.slice(1)}}return{perspective:null,path:null}}return"root"===e.ancestor?{perspective:t.schemas[t.schemas.length-1].schema,path:e.path}:{perspective:t.schemas[e.ancestor]&&t.schemas[e.ancestor].schema,path:e.path}},c.assert=function(e,t,r,o,i,s){e||n(!1,'"'.concat(a.label(o._flags,i,s),'" contains link reference "').concat(r.display,'" ').concat(t))}},function(e,t,r){"use strict";const n=r(0),o=r(3),i=r(1),s={numberRx:/^\s*[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:e([+-]?\d+))?\s*$/i,precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/};e.exports=o.extend({type:"number",flags:{unsafe:{default:!1}},coerce:{from:"string",method(e,{schema:t,error:r}){const n=e.match(s.numberRx);if(!n)return;e=e.trim();const o={value:parseFloat(e)};if(0===o.value&&(o.value=0),!t._flags.unsafe)if(e.match(/e/i)){if(s.normalizeExponent("".concat(o.value/Math.pow(10,n[1]),"e").concat(n[1]))!==s.normalizeExponent(e))return o.errors=r("number.unsafe"),o}else{const t=o.value.toString();if(t.match(/e/i))return o;if(t!==s.normalizeDecimal(e))return o.errors=r("number.unsafe"),o}return o}},validate(e,{schema:t,error:r,prefs:n}){if(e===1/0||e===-1/0)return{value:e,errors:r("number.infinity")};if(!i.isNumber(e))return{value:e,errors:r("number.base")};const o={value:e};if(n.convert){const e=t.$_getRule("precision");if(e){const t=Math.pow(10,e.args.limit);o.value=Math.round(o.value*t)/t}}return 0===o.value&&(o.value=0),!t._flags.unsafe&&(e>Number.MAX_SAFE_INTEGER||ei.compare(e,r,o)?e:t.error("number."+n,{limit:s.limit,value:e}),args:[{name:"limit",ref:!0,assert:i.isNumber,message:"must be a number"}]},greater:{method(e){return this.$_addRule({name:"greater",method:"compare",args:{limit:e},operator:">"})}},integer:{method(){return this.$_addRule("integer")},validate:(e,t)=>Math.trunc(e)-e==0?e:t.error("number.integer")},less:{method(e){return this.$_addRule({name:"less",method:"compare",args:{limit:e},operator:"<"})}},max:{method(e){return this.$_addRule({name:"max",method:"compare",args:{limit:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"compare",args:{limit:e},operator:">="})}},multiple:{method(e){return this.$_addRule({name:"multiple",args:{base:e}})},validate:(e,t,{base:r},n)=>e%r==0?e:t.error("number.multiple",{multiple:n.args.base,value:e}),args:[{name:"base",ref:!0,assert:e=>"number"==typeof e&&isFinite(e)&&e>0,message:"must be a positive number"}],multi:!0},negative:{method(){return this.sign("negative")}},port:{method(){return this.$_addRule("port")},validate:(e,t)=>Number.isSafeInteger(e)&&e>=0&&e<=65535?e:t.error("number.port")},positive:{method(){return this.sign("positive")}},precision:{method(e){return n(Number.isSafeInteger(e),"limit must be an integer"),this.$_addRule({name:"precision",args:{limit:e}})},validate(e,t,{limit:r}){const n=e.toString().match(s.precisionRx);return Math.max((n[1]?n[1].length:0)-(n[2]?parseInt(n[2],10):0),0)<=r?e:t.error("number.precision",{limit:r,value:e})},convert:!0},sign:{method(e){return n(["negative","positive"].includes(e),"Invalid sign",e),this.$_addRule({name:"sign",args:{sign:e}})},validate:(e,t,{sign:r})=>"negative"===r&&e<0||"positive"===r&&e>0?e:t.error("number.".concat(r))},unsafe:{method(e=!0){return n("boolean"==typeof e,"enabled must be a boolean"),this.$_setFlag("unsafe",e)}}},cast:{string:{from:e=>"number"==typeof e,to:(e,t)=>e.toString()}},messages:{"number.base":"{{#label}} must be a number","number.greater":"{{#label}} must be greater than {{#limit}}","number.infinity":"{{#label}} cannot be infinity","number.integer":"{{#label}} must be an integer","number.less":"{{#label}} must be less than {{#limit}}","number.max":"{{#label}} must be less than or equal to {{#limit}}","number.min":"{{#label}} must be greater than or equal to {{#limit}}","number.multiple":"{{#label}} must be a multiple of {{#multiple}}","number.negative":"{{#label}} must be a negative number","number.port":"{{#label}} must be a valid port","number.positive":"{{#label}} must be a positive number","number.precision":"{{#label}} must have no more than {{#limit}} decimal places","number.unsafe":"{{#label}} must be a safe number"}}),s.normalizeExponent=function(e){return e.replace(/E/,"e").replace(/\.(\d*[1-9])?0+e/,".$1e").replace(/\.e/,"e").replace(/e\+/,"e").replace(/^\+/,"").replace(/^(-?)0+([1-9])/,"$1$2")},s.normalizeDecimal=function(e){return(e=e.replace(/^\+/,"").replace(/\.0*$/,"").replace(/^(-?)\.([^\.]*)$/,"$10.$2").replace(/^(-?)0+([0-9])/,"$1$2")).includes(".")&&e.endsWith("0")&&(e=e.replace(/0+$/,"")),"-0"===e?"0":e}},function(e,t,r){"use strict";const n=r(22);e.exports=n.extend({type:"object",cast:{map:{from:e=>e&&"object"==typeof e,to:(e,t)=>new Map(Object.entries(e))}}})},function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t"string"!=typeof e?{value:e,errors:t("string.base")}:""===e?{value:e,errors:t("string.empty")}:void 0,rules:{alphanum:{method(){return this.$_addRule("alphanum")},validate:(e,t)=>/^[a-zA-Z0-9]+$/.test(e)?e:t.error("string.alphanum")},base64:{method(e={}){return p.assertOptions(e,["paddingRequired","urlSafe"]),e=o({urlSafe:!1,paddingRequired:!0},e),s("boolean"==typeof e.paddingRequired,"paddingRequired must be boolean"),s("boolean"==typeof e.urlSafe,"urlSafe must be boolean"),this.$_addRule({name:"base64",args:{options:e}})},validate:(e,t,{options:r})=>g.base64Regex[r.paddingRequired][r.urlSafe].test(e)?e:t.error("string.base64")},case:{method(e){return s(["lower","upper"].includes(e),"Invalid case:",e),this.$_addRule({name:"case",args:{direction:e}})},validate:(e,t,{direction:r})=>"lower"===r&&e===e.toLocaleLowerCase()||"upper"===r&&e===e.toLocaleUpperCase()?e:t.error("string.".concat(r,"case")),convert:!0},creditCard:{method(){return this.$_addRule("creditCard")},validate(e,t){let r=e.length,n=0,o=1;for(;r--;){const t=e.charAt(r)*o;n+=t-9*(t>9),o^=3}return n>0&&n%10==0?e:t.error("string.creditCard")}},dataUri:{method(e={}){return p.assertOptions(e,["paddingRequired"]),e=o({paddingRequired:!0},e),s("boolean"==typeof e.paddingRequired,"paddingRequired must be boolean"),this.$_addRule({name:"dataUri",args:{options:e}})},validate(e,t,{options:r}){const n=e.match(g.dataUriRegex);if(n){if(!n[2])return e;if("base64"!==n[2])return e;if(g.base64Regex[r.paddingRequired].false.test(n[3]))return e}return t.error("string.dataUri")}},domain:{method(e){e&&p.assertOptions(e,["allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const t=g.addressOptions(e);return this.$_addRule({name:"domain",args:{options:e},address:t})},validate:(e,t,r,{address:n})=>a.isValid(e,n)?e:t.error("string.domain")},email:{method(e={}){p.assertOptions(e,["allowUnicode","ignoreLength","maxDomainSegments","minDomainSegments","multiple","separator","tlds"]),s(void 0===e.multiple||"boolean"==typeof e.multiple,"multiple option must be an boolean");const t=g.addressOptions(e),r=new RegExp("\\s*[".concat(e.separator?l(e.separator):",","]\\s*"));return this.$_addRule({name:"email",args:{options:e},regex:r,address:t})},validate(e,t,{options:r},{regex:n,address:o}){const i=r.multiple?e.split(n):[e],s=[];for(const e of i)c.isValid(e,o)||s.push(e);return s.length?t.error("string.email",{value:e,invalids:s}):e}},guid:{alias:"uuid",method(e={}){p.assertOptions(e,["version","separator"]);let t="";if(e.version){const r=[].concat(e.version);s(r.length>=1,"version must have at least 1 valid version specified");const n=new Set;for(let e=0;eg.hexRegex.test(e)?r.byteAligned&&e.length%2!=0?t.error("string.hexAlign"):e:t.error("string.hex")},hostname:{method(){return this.$_addRule("hostname")},validate:(e,t)=>a.isValid(e,{minDomainSegments:1})||g.ipRegex.test(e)?e:t.error("string.hostname")},insensitive:{method(){return this.$_setFlag("insensitive",!0)}},ip:{method(e={}){p.assertOptions(e,["cidr","version"]);const{cidr:t,versions:r,regex:n}=u.regex(e),o=e.version?r:void 0;return this.$_addRule({name:"ip",args:{options:{cidr:t,version:o}},regex:n})},validate:(e,t,{options:r},{regex:n})=>n.test(e)?e:r.version?t.error("string.ipVersion",{value:e,cidr:r.cidr,version:r.version}):t.error("string.ip",{value:e,cidr:r.cidr})},isoDate:{method(){return this.$_addRule("isoDate")},validate:(e,{error:t})=>g.isoDate(e)?e:t("string.isoDate")},isoDuration:{method(){return this.$_addRule("isoDuration")},validate:(e,t)=>g.isoDurationRegex.test(e)?e:t.error("string.isoDuration")},length:{method(e,t){return g.length(this,"length",e,"=",t)},validate(e,t,{limit:r,encoding:n},{name:o,operator:i,args:s}){const a=!n&&e.length;return p.compare(a,r,i)?e:t.error("string."+o,{limit:s.limit,value:e,encoding:n})},args:[{name:"limit",ref:!0,assert:p.limit,message:"must be a positive integer"},"encoding"]},lowercase:{method(){return this.case("lower")}},max:{method(e,t){return g.length(this,"max",e,"<=",t)},args:["limit","encoding"]},min:{method(e,t){return g.length(this,"min",e,">=",t)},args:["limit","encoding"]},normalize:{method(e="NFC"){return s(g.normalizationForms.includes(e),"normalization form must be one of "+g.normalizationForms.join(", ")),this.$_addRule({name:"normalize",args:{form:e}})},validate:(e,{error:t},{form:r})=>e===e.normalize(r)?e:t("string.normalize",{value:e,form:r}),convert:!0},pattern:{alias:"regex",method(e,t={}){s(e instanceof RegExp,"regex must be a RegExp"),s(!e.flags.includes("g")&&!e.flags.includes("y"),"regex should not use global or sticky mode"),"string"==typeof t&&(t={name:t}),p.assertOptions(t,["invert","name"]);const r=["string.pattern",t.invert?".invert":"",t.name?".name":".base"].join("");return this.$_addRule({name:"pattern",args:{regex:e,options:t},errorCode:r})},validate:(e,t,{regex:r,options:n},{errorCode:o})=>r.test(e)^n.invert?e:t.error(o,{name:n.name,regex:r,value:e}),args:["regex","options"],multi:!0},replace:{method(e,t){"string"==typeof e&&(e=new RegExp(l(e),"g")),s(e instanceof RegExp,"pattern must be a RegExp"),s("string"==typeof t,"replacement must be a String");const r=this.clone();return r.$_terms.replacements||(r.$_terms.replacements=[]),r.$_terms.replacements.push({pattern:e,replacement:t}),r}},token:{method(){return this.$_addRule("token")},validate:(e,t)=>/^\w+$/.test(e)?e:t.error("string.token")},trim:{method(e=!0){return s("boolean"==typeof e,"enabled must be a boolean"),this.$_addRule({name:"trim",args:{enabled:e}})},validate:(e,t,{enabled:r})=>r&&e!==e.trim()?t.error("string.trim"):e,convert:!0},truncate:{method(e=!0){return s("boolean"==typeof e,"enabled must be a boolean"),this.$_setFlag("truncate",e)}},uppercase:{method(){return this.case("upper")}},uri:{method(e={}){p.assertOptions(e,["allowRelative","allowQuerySquareBrackets","domain","relativeOnly","scheme"]),e.domain&&p.assertOptions(e.domain,["allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const{regex:t,scheme:r}=d.regex(e),n=e.domain?g.addressOptions(e.domain):null;return this.$_addRule({name:"uri",args:{options:e},regex:t,domain:n,scheme:r})},validate(e,t,{options:r},{regex:n,domain:o,scheme:i}){if(["http:/","https:/"].includes(e))return t.error("string.uri");const s=n.exec(e);if(s){if(o){const e=s[1]||s[2];if(!a.isValid(e,o))return t.error("string.domain",{value:e})}return e}return r.relativeOnly?t.error("string.uriRelativeOnly"):r.scheme?t.error("string.uriCustomScheme",{scheme:i,value:e}):t.error("string.uri")}}},manifest:{build(e,t){if(t.replacements)for(const{pattern:r,replacement:n}of t.replacements)e=e.replace(r,n);return e}},messages:{"string.alphanum":"{{#label}} must only contain alpha-numeric characters","string.base":"{{#label}} must be a string","string.base64":"{{#label}} must be a valid base64 string","string.creditCard":"{{#label}} must be a credit card","string.dataUri":"{{#label}} must be a valid dataUri string","string.domain":"{{#label}} must contain a valid domain name","string.email":"{{#label}} must be a valid email","string.empty":"{{#label}} is not allowed to be empty","string.guid":"{{#label}} must be a valid GUID","string.hex":"{{#label}} must only contain hexadecimal characters","string.hexAlign":"{{#label}} hex decoded representation must be byte aligned","string.hostname":"{{#label}} must be a valid hostname","string.ip":"{{#label}} must be a valid ip address with a {{#cidr}} CIDR","string.ipVersion":"{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR","string.isoDate":"{{#label}} must be in iso format","string.isoDuration":"{{#label}} must be a valid ISO 8601 duration","string.length":"{{#label}} length must be {{#limit}} characters long","string.lowercase":"{{#label}} must only contain lowercase characters","string.max":"{{#label}} length must be less than or equal to {{#limit}} characters long","string.min":"{{#label}} length must be at least {{#limit}} characters long","string.normalize":"{{#label}} must be unicode normalized in the {{#form}} form","string.token":"{{#label}} must only contain alpha-numeric and underscore characters","string.pattern.base":"{{#label}} with value {:[.]} fails to match the required pattern: {{#regex}}","string.pattern.name":"{{#label}} with value {:[.]} fails to match the {{#name}} pattern","string.pattern.invert.base":"{{#label}} with value {:[.]} matches the inverted pattern: {{#regex}}","string.pattern.invert.name":"{{#label}} with value {:[.]} matches the inverted {{#name}} pattern","string.trim":"{{#label}} must not have leading or trailing whitespace","string.uri":"{{#label}} must be a valid uri","string.uriCustomScheme":"{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern","string.uriRelativeOnly":"{{#label}} must be a valid relative uri","string.uppercase":"{{#label}} must only contain uppercase characters"}}),g.addressOptions=function(e){if(!e)return e;if(s(void 0===e.minDomainSegments||Number.isSafeInteger(e.minDomainSegments)&&e.minDomainSegments>0,"minDomainSegments must be a positive integer"),s(void 0===e.maxDomainSegments||Number.isSafeInteger(e.maxDomainSegments)&&e.maxDomainSegments>0,"maxDomainSegments must be a positive integer"),!1===e.tlds)return e;if(!0===e.tlds||void 0===e.tlds)return s(g.tlds,"Built-in TLD list disabled"),Object.assign({},e,g.tlds);s("object"==typeof e.tlds,"tlds must be true, false, or an object");const t=e.tlds.deny;if(t)return Array.isArray(t)&&(e=Object.assign({},e,{tlds:{deny:new Set(t)}})),s(e.tlds.deny instanceof Set,"tlds.deny must be an array, Set, or boolean"),s(!e.tlds.allow,"Cannot specify both tlds.allow and tlds.deny lists"),g.validateTlds(e.tlds.deny,"tlds.deny"),e;const r=e.tlds.allow;return r?!0===r?(s(g.tlds,"Built-in TLD list disabled"),Object.assign({},e,g.tlds)):(Array.isArray(r)&&(e=Object.assign({},e,{tlds:{allow:new Set(r)}})),s(e.tlds.allow instanceof Set,"tlds.allow must be an array, Set, or boolean"),g.validateTlds(e.tlds.allow,"tlds.allow"),e):e},g.validateTlds=function(e,t){for(const r of e)s(a.isValid(r,{minDomainSegments:1,maxDomainSegments:1}),"".concat(t," must contain valid top level domain names"))},g.isoDate=function(e){if(!p.isIsoDate(e))return null;/.*T.*[+-]\d\d$/.test(e)&&(e+="00");const t=new Date(e);return isNaN(t.getTime())?null:t.toISOString()},g.length=function(e,t,r,n,o){return s(!o||!1,"Invalid encoding:",o),e.$_addRule({name:t,method:"length",args:{limit:r,encoding:o},operator:n})}},function(e,t,r){"use strict";const n=r(24),o=r(23),i=r(25),s={nonAsciiRx:/[^\x00-\x7f]/,encoder:new(n.TextEncoder||TextEncoder)};t.analyze=function(e,t){return s.email(e,t)},t.isValid=function(e,t){return!s.email(e,t)},s.email=function(e,t={}){if("string"!=typeof e)throw new Error("Invalid input: email must be a string");if(!e)return i.code("EMPTY_STRING");const r=!s.nonAsciiRx.test(e);if(!r){if(!1===t.allowUnicode)return i.code("FORBIDDEN_UNICODE");e=e.normalize("NFC")}const n=e.split("@");if(2!==n.length)return n.length>2?i.code("MULTIPLE_AT_CHAR"):i.code("MISSING_AT_CHAR");const[a,c]=n;if(!a)return i.code("EMPTY_LOCAL");if(!t.ignoreLength){if(e.length>254)return i.code("ADDRESS_TOO_LONG");if(s.encoder.encode(a).length>64)return i.code("LOCAL_TOO_LONG")}return s.local(a,r)||o.analyze(c,t)},s.local=function(e,t){const r=e.split(".");for(const e of r){if(!e.length)return i.code("EMPTY_LOCAL_SEGMENT");if(t){if(!s.atextRx.test(e))return i.code("INVALID_LOCAL_CHARS")}else for(const t of e){if(s.atextRx.test(t))continue;const e=s.binary(t);if(!s.atomRx.test(e))return i.code("INVALID_LOCAL_CHARS")}}},s.binary=function(e){return Array.from(s.encoder.encode(e)).map(e=>String.fromCharCode(e)).join("")},s.atextRx=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,s.atomRx=new RegExp(["(?:[\\xc2-\\xdf][\\x80-\\xbf])","(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})","(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})"].join("|"))},function(e,t,r){"use strict";const n=r(0),o=r(26);t.regex=function(e={}){n(void 0===e.cidr||"string"==typeof e.cidr,"options.cidr must be a string");const t=e.cidr?e.cidr.toLowerCase():"optional";n(["required","optional","forbidden"].includes(t),"options.cidr must be one of required, optional, forbidden"),n(void 0===e.version||"string"==typeof e.version||Array.isArray(e.version),"options.version must be a string or an array of string");let r=e.version||["ipv4","ipv6","ipvfuture"];Array.isArray(r)||(r=[r]),n(r.length>=1,"options.version must have at least 1 version specified");for(let e=0;e{if("forbidden"===t)return o.ip[e];const r="\\/".concat("ipv4"===e?o.ip.v4Cidr:o.ip.v6Cidr);return"required"===t?"".concat(o.ip[e]).concat(r):"".concat(o.ip[e],"(?:").concat(r,")?")}),s="(?:".concat(i.join("|"),")"),a=new RegExp("^".concat(s,"$"));return{cidr:t,versions:r,regex:a,raw:s}}},function(e,t){},function(e,t,r){"use strict";const n=r(0),o=r(3),i={};i.Map=class extends Map{slice(){return new i.Map(this)}},e.exports=o.extend({type:"symbol",terms:{map:{init:new i.Map}},coerce:{method(e,{schema:t,error:r}){const n=t.$_terms.map.get(e);return n&&(e=n),t._flags.only&&"symbol"!=typeof e?{value:e,errors:r("symbol.map",{map:t.$_terms.map})}:{value:e}}},validate(e,{error:t}){if("symbol"!=typeof e)return{value:e,errors:t("symbol.base")}},rules:{map:{method(e){e&&!e[Symbol.iterator]&&"object"==typeof e&&(e=Object.entries(e)),n(e&&e[Symbol.iterator],"Iterable must be an iterable or object");const t=this.clone(),r=[];for(const o of e){n(o&&o[Symbol.iterator],"Entry must be an iterable");const[e,i]=o;n("object"!=typeof e&&"function"!=typeof e&&"symbol"!=typeof e,"Key must not be of type object, function, or Symbol"),n("symbol"==typeof i,"Value must be a Symbol"),t.$_terms.map.set(e,i),r.push(i)}return t.valid(...r)}}},manifest:{build:(e,t)=>(t.map&&(e=e.map(t.map)),e)},messages:{"symbol.base":"{{#label}} must be a symbol","symbol.map":"{{#label}} must be one of {{#map}}"}})}])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionForegroundService=void 0;t.InteractionForegroundService=class{constructor(e){this.handler=e}pushData(e){this.handler.onInteractionDataReceived(e)}pushEvent(e){this.handler.onEventDataReceived(e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interactionForegroundInit=void 0;const n=r(179),o=r(340),i=r(674);t.interactionForegroundInit=function(e,t){e.registerMessage(n.PushInteractionDataMsg),e.registerMessage(n.PushEventDataMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const n=r(179);t.getHandler=e=>(t,r)=>{switch(r.constructor){case n.PushInteractionDataMsg:return o(e)(t,r);case n.PushEventDataMsg:return i(e)(t,r);default:throw new Error("Unknown msg type")}};const o=e=>(t,r)=>e.pushData(r.data),i=e=>(t,r)=>e.pushEvent(r.data)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(128),o=r(336),i=r(677);t.init=function(e,t){e.registerMessage(n.GetChainInfosMsg),e.registerMessage(n.SuggestChainInfoMsg),e.registerMessage(n.RemoveSuggestedChainInfoMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(128);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.GetChainInfosMsg:return i(e)(t,r);case o.SuggestChainInfoMsg:return s(e)(t,r);case o.RemoveSuggestedChainInfoMsg:return a(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>()=>n(void 0,void 0,void 0,(function*(){return{chainInfos:yield e.getChainInfos()}})),s=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){if(yield e.hasChainInfo(r.chainInfo.chainId))return;const n=r.chainInfo;n.beta=!0,yield e.suggestChainInfo(t,n,r.origin)})),a=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.removeChainInfo(r.chainId),yield e.getChainInfos()}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(343),t),o(r(713),t)},function(e,t,r){"use strict";(function(e){var n=r(115);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(129)),i=n(r(130)),s=n(r(681)),a=n(r(682)),c=n(r(72)),u=n(r(75)),l=n(r(94)),f=r(345),d=r(684),h=r(181),p=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.APP_KEY;if((0,s.default)(this,t),!e)throw new Error("Transport has not been defined");this.transport=e,e.decorateAppAPIMethods(this,["getVersion","sign","getAddressAndPubKey","appInfo","deviceInfo","getBech32FromPK"],r)}var r,n,p,g,m,y,b,v,w,_;return(0,a.default)(t,[{key:"serializePath",value:(_=(0,i.default)(o.default.mark((function e(t){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,h.getVersion)(this.transport);case 2:if(this.versionResponse=e.sent,this.versionResponse.return_code===h.ERROR_CODE.NoError){e.next=5;break}throw this.versionResponse;case 5:e.t0=this.versionResponse.major,e.next=1===e.t0?8:2===e.t0?9:10;break;case 8:return e.abrupt("return",(0,f.serializePathv1)(t));case 9:return e.abrupt("return",(0,d.serializePathv2)(t));case 10:return e.abrupt("return",{return_code:25600,error_message:"App Version is not supported"});case 11:case"end":return e.stop()}}),e,this)}))),function(e){return _.apply(this,arguments)})},{key:"signGetChunks",value:(w=(0,i.default)(o.default.mark((function t(r,n){var i,s,a,c,u;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.serializePath(r);case 2:for(i=t.sent,(s=[]).push(i),a=e.from(n),c=0;ca.length&&(u=a.length),s.push(a.slice(c,u));return t.abrupt("return",s);case 8:case"end":return t.stop()}}),t,this)}))),function(e,t){return w.apply(this,arguments)})},{key:"getVersion",value:(v=(0,i.default)(o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,h.getVersion)(this.transport);case 3:return this.versionResponse=e.sent,e.abrupt("return",this.versionResponse);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",(0,h.processErrorResponse)(e.t0));case 10:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(){return v.apply(this,arguments)})},{key:"appInfo",value:(b=(0,i.default)(o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.transport.send(176,1,0,0).then((function(e){var t=e.slice(-2),r=256*t[0]+t[1],n={},o="err",i="err",s=0,a=0;if(1!==e[0])n.error_message="response format ID not recognized",n.return_code=36865;else{var c=e[1];o=e.slice(2,2+c).toString("ascii");var u=2+c,l=e[u];u+=1,i=e.slice(u,u+l).toString("ascii"),s=e[u+=l],a=e[u+=1]}return{return_code:r,error_message:(0,h.errorCodeToString)(r),appName:o,appVersion:i,flagLen:s,flagsValue:a,flag_recovery:0!=(1&a),flag_signed_mcu_code:0!=(2&a),flag_onboarded:0!=(4&a),flag_pin_validated:0!=(128&a)}}),h.processErrorResponse));case 1:case"end":return e.stop()}}),e,this)}))),function(){return b.apply(this,arguments)})},{key:"deviceInfo",value:(y=(0,i.default)(o.default.mark((function t(){return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.transport.send(224,1,0,0,e.from([]),[h.ERROR_CODE.NoError,28160]).then((function(e){var t=e.slice(-2),r=256*t[0]+t[1];if(28160===r)return{return_code:r,error_message:"This command is only available in the Dashboard"};var n=e.slice(0,4).toString("hex"),o=4,i=e[o];o+=1;var s=e.slice(o,o+i).toString(),a=e[o+=i];o+=1;var c=e.slice(o,o+a).toString("hex"),u=e[o+=a];o+=1;var l=e.slice(o,o+u);0===l[u-1]&&(l=e.slice(o,o+u-1));var f=l.toString();return{return_code:r,error_message:(0,h.errorCodeToString)(r),targetId:n,seVersion:s,flag:c,mcuVersion:f}}),h.processErrorResponse));case 1:case"end":return t.stop()}}),t,this)}))),function(){return y.apply(this,arguments)})},{key:"publicKey",value:(m=(0,i.default)(o.default.mark((function r(n){var i,s;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,this.serializePath(n);case 3:i=r.sent,r.t0=this.versionResponse.major,r.next=1===r.t0?7:2===r.t0?8:10;break;case 7:return r.abrupt("return",(0,f.publicKeyv1)(this,i));case 8:return s=e.concat([t.serializeHRP("cosmos"),i]),r.abrupt("return",(0,d.publicKeyv2)(this,s));case 10:return r.abrupt("return",{return_code:25600,error_message:"App Version is not supported"});case 11:r.next=16;break;case 13:return r.prev=13,r.t1=r.catch(0),r.abrupt("return",(0,h.processErrorResponse)(r.t1));case 16:case"end":return r.stop()}}),r,this,[[0,13]])}))),function(e){return m.apply(this,arguments)})},{key:"getAddressAndPubKey",value:(g=(0,i.default)(o.default.mark((function r(n,i){var s=this;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.abrupt("return",this.serializePath(n).then((function(r){var n=e.concat([t.serializeHRP(i),r]);return s.transport.send(h.CLA,h.INS.GET_ADDR_SECP256K1,h.P1_VALUES.ONLY_RETRIEVE,0,n,[h.ERROR_CODE.NoError]).then((function(t){var r=t.slice(-2),n=256*r[0]+r[1],o=e.from(t.slice(0,33));return{bech32_address:e.from(t.slice(33,-2)).toString(),compressed_pk:o,return_code:n,error_message:(0,h.errorCodeToString)(n)}}),h.processErrorResponse)})).catch((function(e){return(0,h.processErrorResponse)(e)})));case 4:return r.prev=4,r.t0=r.catch(0),r.abrupt("return",(0,h.processErrorResponse)(r.t0));case 7:case"end":return r.stop()}}),r,this,[[0,4]])}))),function(e,t){return g.apply(this,arguments)})},{key:"showAddressAndPubKey",value:(p=(0,i.default)(o.default.mark((function r(n,i){var s=this;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.abrupt("return",this.serializePath(n).then((function(r){var n=e.concat([t.serializeHRP(i),r]);return s.transport.send(h.CLA,h.INS.GET_ADDR_SECP256K1,h.P1_VALUES.SHOW_ADDRESS_IN_DEVICE,0,n,[h.ERROR_CODE.NoError]).then((function(t){var r=t.slice(-2),n=256*r[0]+r[1],o=e.from(t.slice(0,33));return{bech32_address:e.from(t.slice(33,-2)).toString(),compressed_pk:o,return_code:n,error_message:(0,h.errorCodeToString)(n)}}),h.processErrorResponse)})).catch((function(e){return(0,h.processErrorResponse)(e)})));case 4:return r.prev=4,r.t0=r.catch(0),r.abrupt("return",(0,h.processErrorResponse)(r.t0));case 7:case"end":return r.stop()}}),r,this,[[0,4]])}))),function(e,t){return p.apply(this,arguments)})},{key:"signSendChunk",value:(n=(0,i.default)(o.default.mark((function e(t,r,n){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=this.versionResponse.major,e.next=1===e.t0?3:2===e.t0?4:5;break;case 3:return e.abrupt("return",(0,f.signSendChunkv1)(this,t,r,n));case 4:return e.abrupt("return",(0,d.signSendChunkv2)(this,t,r,n));case 5:return e.abrupt("return",{return_code:25600,error_message:"App Version is not supported"});case 6:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return n.apply(this,arguments)})},{key:"sign",value:(r=(0,i.default)(o.default.mark((function e(t,r){var n=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.signGetChunks(t,r).then((function(e){return n.signSendChunk(1,e.length,e[0],[h.ERROR_CODE.NoError]).then(function(){var t=(0,i.default)(o.default.mark((function t(r){var i,s;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i={return_code:r.return_code,error_message:r.error_message,signature:null},s=1;case 2:if(!(s83)throw new Error("Invalid HRP");var r=e.alloc(1+t.length);return r.writeUInt8(t.length,0),r.write(t,1),r}},{key:"getBech32FromPK",value:function(e,t){if(33!==t.length)throw new Error("expected compressed public key [31 bytes]");var r=c.default.createHash("sha256").update(t).digest(),n=(new u.default).update(r).digest();return l.default.encode(e,l.default.toWords(n))}}]),t}();t.default=p}).call(this,r(2).Buffer)},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",s=n.toStringTag||"@@toStringTag";function a(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(e){a=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),s=new O(n||[]);return i._invoke=function(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return E()}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var a=w(s,r);if(a){if(a===l)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=u(e,t,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}(e,r,s),i}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l={};function f(){}function d(){}function h(){}var p={};p[o]=function(){return this};var g=Object.getPrototypeOf,m=g&&g(g(S([])));m&&m!==t&&r.call(m,o)&&(p=m);var y=h.prototype=f.prototype=Object.create(p);function b(e){["next","throw","return"].forEach((function(t){a(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){var n;this._invoke=function(o,i){function s(){return new t((function(n,s){!function n(o,i,s,a){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,a)}),(function(e){n("throw",e,s,a)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,a)}))}a(c.arg)}(o,i,n,s)}))}return n=n?n.then(s,s):s()}}function w(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=u(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,l;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function S(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(a&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function r(e,t){for(var r=0;r{this._disconnectEmitted||(this._disconnectEmitted=!0,this.emit("disconnect",e))},this.exchange=t=>this.exchangeAtomicImpl(async()=>{const{channel:r,packetSize:n}=this;Object(a.a)("apdu","=> "+t.toString("hex"));const o=i()(r,n),s=o.makeBlocks(t);for(let e=0;e{if(e&&e.message&&e.message.includes("disconnected"))throw this._emitDisconnect(e),new c.DisconnectedDeviceDuringOperation(e.message);throw e}),this.device=t,this.interfaceNumber=r,this.deviceModel=Object(s.a)(t.productId)}static async request(){const e=await Object(u.d)();return l.open(e)}static async openConnected(){const e=await Object(u.b)();return 0===e.length?null:l.open(e[0])}static async open(e){await e.open(),null===e.configuration&&await e.selectConfiguration(1),await f(e);const t=e.configurations[0].interfaces.find(({alternates:e})=>e.some(e=>255===e.interfaceClass));if(!t)throw new c.TransportInterfaceNotAvailable("No WebUSB interface found for your Ledger device. Please upgrade firmware or contact techsupport.");const r=t.interfaceNumber;try{await e.claimInterface(r)}catch(t){throw await e.close(),new c.TransportInterfaceNotAvailable(t.message)}const n=new l(e,r),o=t=>{e===t.device&&(navigator.usb.removeEventListener("disconnect",o),n._emitDisconnect(new c.DisconnectedDevice))};return navigator.usb.addEventListener("disconnect",o),n}async close(){await this.exchangeBusyPromise,await this.device.releaseInterface(this.interfaceNumber),await f(this.device),await this.device.close()}setScrambleKey(){}}async function f(e){try{await e.reset()}catch(e){console.warn(e)}}l.isSupported=u.c,l.list=u.b,l.listen=e=>{let t=!1;return Object(u.a)().then(r=>{if(!t){const t=Object(s.a)(r.productId);e.next({type:"add",descriptor:r,deviceModel:t}),e.complete()}},t=>{window.DOMException&&t instanceof window.DOMException&&18===t.code?e.error(new c.TransportWebUSBGestureRequired(t.message)):e.error(new c.TransportOpenUserCancelled(t.message))}),{unsubscribe:function(){t=!0}}}}.call(this,r(2).Buffer)},function(e,t,r){const n=r(85);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},function(e,t,r){const n=r(85);e.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},function(e,t,r){const n=r(24);e.exports=(e,t,r,o)=>{"string"==typeof r&&(o=r,r=void 0);try{return new n(e,r).inc(t,o).version}catch(e){return null}}},function(e,t,r){const n=r(85),o=r(183);e.exports=(e,t)=>{if(o(e,t))return null;{const r=n(e),o=n(t),i=r.prerelease.length||o.prerelease.length,s=i?"pre":"",a=i?"prerelease":"";for(const e in r)if(("major"===e||"minor"===e||"patch"===e)&&r[e]!==o[e])return s+e;return a}}},function(e,t,r){const n=r(24);e.exports=(e,t)=>new n(e,t).major},function(e,t,r){const n=r(24);e.exports=(e,t)=>new n(e,t).minor},function(e,t,r){const n=r(24);e.exports=(e,t)=>new n(e,t).patch},function(e,t,r){const n=r(85);e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},function(e,t,r){const n=r(40);e.exports=(e,t,r)=>n(t,e,r)},function(e,t,r){const n=r(40);e.exports=(e,t)=>n(e,t,!0)},function(e,t,r){const n=r(184);e.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))},function(e,t,r){const n=r(184);e.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))},function(e,t,r){const n=r(24),o=r(85),{re:i,t:s}=r(84);e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let t;for(;(t=i[s.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&t.index+t[0].length===r.index+r[0].length||(r=t),i[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[s.COERCERTL].lastIndex=-1}else r=e.match(i[s.COERCE]);return null===r?null:o(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}},function(e,t,r){"use strict";const n=r(700),o=Symbol("max"),i=Symbol("length"),s=Symbol("lengthCalculator"),a=Symbol("allowStale"),c=Symbol("maxAge"),u=Symbol("dispose"),l=Symbol("noDisposeOnSet"),f=Symbol("lruList"),d=Symbol("cache"),h=Symbol("updateAgeOnGet"),p=()=>1;const g=(e,t,r)=>{const n=e[d].get(t);if(n){const t=n.value;if(m(e,t)){if(b(e,n),!e[a])return}else r&&(e[h]&&(n.value.now=Date.now()),e[f].unshiftNode(n));return t.value}},m=(e,t)=>{if(!t||!t.maxAge&&!e[c])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[c]&&r>e[c]},y=e=>{if(e[i]>e[o])for(let t=e[f].tail;e[i]>e[o]&&null!==t;){const r=t.prev;b(e,t),t=r}},b=(e,t)=>{if(t){const r=t.value;e[u]&&e[u](r.key,r.value),e[i]-=r.length,e[d].delete(r.key),e[f].removeNode(t)}};class v{constructor(e,t,r,n,o){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=o||0}}const w=(e,t,r,n)=>{let o=r.value;m(e,o)&&(b(e,r),e[a]||(o=void 0)),o&&t.call(n,o.value,o.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||p;if(this[s]="function"!=typeof t?p:t,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[c]=e.maxAge||0,this[u]=e.dispose,this[l]=e.noDisposeOnSet||!1,this[h]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,y(this)}get max(){return this[o]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[c]=e,y(this)}get maxAge(){return this[c]}set lengthCalculator(e){"function"!=typeof e&&(e=p),e!==this[s]&&(this[s]=e,this[i]=0,this[f].forEach(e=>{e.length=this[s](e.value,e.key),this[i]+=e.length})),y(this)}get lengthCalculator(){return this[s]}get length(){return this[i]}get itemCount(){return this[f].length}rforEach(e,t){t=t||this;for(let r=this[f].tail;null!==r;){const n=r.prev;w(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[f].head;null!==r;){const n=r.next;w(this,e,r,t),r=n}}keys(){return this[f].toArray().map(e=>e.key)}values(){return this[f].toArray().map(e=>e.value)}reset(){this[u]&&this[f]&&this[f].length&&this[f].forEach(e=>this[u](e.key,e.value)),this[d]=new Map,this[f]=new n,this[i]=0}dump(){return this[f].map(e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[f]}set(e,t,r){if((r=r||this[c])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const n=r?Date.now():0,a=this[s](t,e);if(this[d].has(e)){if(a>this[o])return b(this,this[d].get(e)),!1;const s=this[d].get(e).value;return this[u]&&(this[l]||this[u](e,s.value)),s.now=n,s.maxAge=r,s.value=t,this[i]+=a-s.length,s.length=a,this.get(e),y(this),!0}const h=new v(e,t,a,n,r);return h.length>this[o]?(this[u]&&this[u](e,t),!1):(this[i]+=h.length,this[f].unshift(h),this[d].set(e,this[f].head),y(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!m(this,t)}get(e){return g(this,e,!0)}peek(e){return g(this,e,!1)}pop(){const e=this[f].tail;return e?(b(this,e),e.value):null}del(e){b(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const n=e[r],o=n.e||0;if(0===o)this.set(n.k,n.v);else{const e=o-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[d].forEach((e,t)=>g(this,t,!1))}}},function(e,t,r){"use strict";function n(e){var t=this;if(t instanceof n||(t=new n),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var r=0,o=arguments.length;r1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var o=0;null!==n;o++)r=e(r,n.value,o),n=n.next;return r},n.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var o=this.length-1;null!==n;o--)r=e(r,n.value,o),n=n.prev;return r},n.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},n.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},n.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(tthis.length&&(t=this.length);for(var o=0,i=this.head;null!==i&&othis.length&&(t=this.length);for(var o=this.length,i=this.tail;null!==i&&o>t;o--)i=i.prev;for(;null!==i&&o>e;o--,i=i.prev)r.push(i.value);return r},n.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,i=this.head;null!==i&&nnew n(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},function(e,t,r){const n=r(24),o=r(41);e.exports=(e,t,r)=>{let i=null,s=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(i&&-1!==s.compare(e)||(i=e,s=new n(i,r)))}),i}},function(e,t,r){const n=r(24),o=r(41);e.exports=(e,t,r)=>{let i=null,s=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(i&&1!==s.compare(e)||(i=e,s=new n(i,r)))}),i}},function(e,t,r){const n=r(24),o=r(41),i=r(134);e.exports=(e,t)=>{e=new o(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":s&&!i(t,s)||(s=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}),!s||r&&!i(r,s)||(r=s)}return r&&e.test(r)?r:null}},function(e,t,r){const n=r(41);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},function(e,t,r){const n=r(188);e.exports=(e,t,r)=>n(e,t,">",r)},function(e,t,r){const n=r(188);e.exports=(e,t,r)=>n(e,t,"<",r)},function(e,t,r){const n=r(41);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t))},function(e,t,r){const n=r(136),o=r(40);e.exports=(e,t,r)=>{const i=[];let s=null,a=null;const c=e.sort((e,t)=>o(e,t,r));for(const e of c){n(e,t,r)?(a=e,s||(s=e)):(a&&i.push([s,a]),a=null,s=null)}s&&i.push([s,null]);const u=[];for(const[e,t]of i)e===t?u.push(e):t||e!==c[0]?t?e===c[0]?u.push("<="+t):u.push(`${e} - ${t}`):u.push(">="+e):u.push("*");const l=u.join(" || "),f="string"==typeof t.raw?t.raw:String(t);return l.length{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?[new o(">=0.0.0-0")]:[new o(">=0.0.0")]}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=[new o(">=0.0.0")]}const n=new Set;let c,f,d,h,p,g,m;for(const t of e)">"===t.operator||">="===t.operator?c=u(c,t,r):"<"===t.operator||"<="===t.operator?f=l(f,t,r):n.add(t.semver);if(n.size>1)return null;if(c&&f){if(d=a(c.semver,f.semver,r),d>0)return null;if(0===d&&(">="!==c.operator||"<="!==f.operator))return null}for(const e of n){if(c&&!s(e,String(c),r))return null;if(f&&!s(e,String(f),r))return null;for(const n of t)if(!s(e,String(n),r))return!1;return!0}let y=!(!f||r.includePrerelease||!f.semver.prerelease.length)&&f.semver,b=!(!c||r.includePrerelease||!c.semver.prerelease.length)&&c.semver;y&&1===y.prerelease.length&&"<"===f.operator&&0===y.prerelease[0]&&(y=!1);for(const e of t){if(m=m||">"===e.operator||">="===e.operator,g=g||"<"===e.operator||"<="===e.operator,c)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),">"===e.operator||">="===e.operator){if(h=u(c,e,r),h===e&&h!==c)return!1}else if(">="===c.operator&&!s(c.semver,String(e),r))return!1;if(f)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),"<"===e.operator||"<="===e.operator){if(p=l(f,e,r),p===e&&p!==f)return!1}else if("<="===f.operator&&!s(f.semver,String(e),r))return!1;if(!e.operator&&(f||c)&&0!==d)return!1}return!(c&&g&&!f&&0!==d)&&(!(f&&m&&!c&&0!==d)&&(!b&&!y))},u=(e,t,r)=>{if(!e)return t;const n=a(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},l=(e,t,r)=>{if(!e)return t;const n=a(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let o=!1;e:for(const n of e.set){for(const e of t.set){const t=c(n,e,r);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},function(e,t,r){"use strict";r.r(t),function(e,n){r.d(t,"default",(function(){return p}));var o=r(143),i=r(144),s=r.n(i),a=r(44),c=r(86),u=r(15);const l=[{vendorId:a.b}],f=()=>{const{hid:e}=navigator;if(!e)throw new u.TransportError("navigator.hid is not supported","HIDNotSupported");return e};async function d(){const e=await f().requestDevice({filters:l});return Array.isArray(e)?e:[e]}async function h(){return(await f().getDevices()).filter(e=>e.vendorId===a.b)}class p extends o.a{constructor(e){super(),this.device=void 0,this.deviceModel=void 0,this.channel=Math.floor(65535*Math.random()),this.packetSize=64,this.inputs=[],this.inputCallback=void 0,this.read=()=>this.inputs.length?Promise.resolve(this.inputs.shift()):new Promise(e=>{this.inputCallback=e}),this.onInputReport=e=>{const t=n.from(e.data.buffer);this.inputCallback?(this.inputCallback(t),this.inputCallback=null):this.inputs.push(t)},this._disconnectEmitted=!1,this._emitDisconnect=e=>{this._disconnectEmitted||(this._disconnectEmitted=!0,this.emit("disconnect",e))},this.exchange=e=>this.exchangeAtomicImpl(async()=>{const{channel:t,packetSize:r}=this;Object(c.a)("apdu","=> "+e.toString("hex"));const n=s()(t,r),o=n.makeBlocks(e);for(let e=0;e{if(e&&e.message&&e.message.includes("write"))throw this._emitDisconnect(e),new u.DisconnectedDeviceDuringOperation(e.message);throw e}),this.device=e,this.deviceModel=Object(a.a)(e.productId),e.addEventListener("inputreport",this.onInputReport)}static async request(){const[e]=await d();return p.open(e)}static async openConnected(){const e=await h();return 0===e.length?null:p.open(e[0])}static async open(e){await e.open();const t=new p(e),r=n=>{e===n.device&&(f().removeEventListener("disconnect",r),t._emitDisconnect(new u.DisconnectedDevice))};return f().addEventListener("disconnect",r),t}async close(){await this.exchangeBusyPromise,this.device.removeEventListener("inputreport",this.onInputReport),await this.device.close()}setScrambleKey(){}}p.isSupported=()=>Promise.resolve(!(!e.navigator||!e.navigator.hid)),p.list=h,p.listen=e=>{let t=!1;return async function(){const e=await h();return e.length>0?e[0]:(await d())[0]}().then(r=>{if(r){if(!t){const t=Object(a.a)(r.productId);e.next({type:"add",descriptor:r,deviceModel:t}),e.complete()}}else e.error(new u.TransportOpenUserCancelled("Access denied to use Ledger device"))},t=>{e.error(new u.TransportOpenUserCancelled(t.message))}),{unsubscribe:function(){t=!0}}}}.call(this,r(12),r(2).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(189),o=r(348),i=r(714);t.init=function(e,t){e.registerMessage(n.LedgerGetWebHIDFlagMsg),e.registerMessage(n.LedgerSetWebHIDFlagMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(189);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.LedgerGetWebHIDFlagMsg:return i(e)(t,r);case o.LedgerSetWebHIDFlagMsg:return s(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.getWebHIDFlag()})),s=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.setWebHIDFlag(r.flag)}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(349),t),o(r(728),t)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Crypto=void 0;const c=a(r(410)),u=i(r(717)),l=r(108),f=r(2);class d{static encrypt(e,t,r,n,o,i){return s(this,void 0,void 0,(function*(){let s=new Uint8Array(32);const a={salt:f.Buffer.from(yield e(s)).toString("hex"),dklen:32,n:131072,r:8,p:1},c=yield d.scrpyt(n,a),h=f.Buffer.from(r);s=new Uint8Array(16);const p=f.Buffer.from(yield e(s)),g=new u.Counter(0);g.setBytes(p);const m=new u.default.ModeOfOperation.ctr(c,g),y=f.Buffer.from(m.encrypt(h)),b=l.Hash.sha256(f.Buffer.concat([f.Buffer.from(c.slice(c.length/2)),y]));return{version:"1.2",type:t,coinTypeForChain:{},bip44HDPath:i,meta:o,crypto:{cipher:"aes-128-ctr",cipherparams:{iv:p.toString("hex")},ciphertext:y.toString("hex"),kdf:"scrypt",kdfparams:a,mac:f.Buffer.from(b).toString("hex")}}}))}static decrypt(e,t){return s(this,void 0,void 0,(function*(){const r=yield d.scrpyt(t,e.crypto.kdfparams),n=new u.Counter(0);n.setBytes(f.Buffer.from(e.crypto.cipherparams.iv,"hex"));const o=new u.default.ModeOfOperation.ctr(r,n),i=l.Hash.sha256(f.Buffer.concat([f.Buffer.from(r.slice(r.length/2)),f.Buffer.from(e.crypto.ciphertext,"hex")]));if(!f.Buffer.from(i).equals(f.Buffer.from(e.crypto.mac,"hex")))throw new Error("Unmatched mac");return f.Buffer.from(o.decrypt(f.Buffer.from(e.crypto.ciphertext,"hex")))}))}static scrpyt(e,t){return s(this,void 0,void 0,(function*(){const r=f.Buffer.from(e);return yield c.default.scrypt(r,f.Buffer.from(t.salt,"hex"),t.n,t.r,t.p,t.dklen)}))}}t.Crypto=d},function(e,t,r){ -/*! MIT License. Copyright 2015-2018 Richard Moore . See LICENSE.txt. */ -!function(t){"use strict";function r(e){return parseInt(e)===e}function n(e){if(!r(e.length))return!1;for(var t=0;t255)return!1;return!0}function o(e,t){if(e.buffer&&"Uint8Array"===e.name)return t&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!n(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(r(e.length)&&n(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function i(e){return new Uint8Array(e)}function s(e,t,r,n,o){null==n&&null==o||(e=e.slice?e.slice(n,o):Array.prototype.slice.call(e,n,o)),t.set(e,r)}var a,c={toBytes:function(e){var t=[],r=0;for(e=encodeURI(e);r191&&n<224?(t.push(String.fromCharCode((31&n)<<6|63&e[r+1])),r+=2):(t.push(String.fromCharCode((15&n)<<12|(63&e[r+1])<<6|63&e[r+2])),r+=3)}return t.join("")}},u=(a="0123456789abcdef",{toBytes:function(e){for(var t=[],r=0;r>4]+a[15&n])}return t.join("")}}),l={16:10,24:12,32:14},f=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],d=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],h=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],p=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],g=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],m=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],y=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],b=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],v=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],w=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],_=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],k=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],O=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],S=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],E=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function j(e){for(var t=[],r=0;r>2,this._Ke[r][t%4]=i[t],this._Kd[e-r][t%4]=i[t];for(var s,a=0,c=o;c>16&255]<<24^d[s>>8&255]<<16^d[255&s]<<8^d[s>>24&255]^f[a]<<24,a+=1,8!=o)for(t=1;t>8&255]<<8^d[s>>16&255]<<16^d[s>>24&255]<<24;for(t=o/2+1;t>2,h=c%4,this._Ke[u][h]=i[t],this._Kd[e-u][h]=i[t++],c++}for(var u=1;u>24&255]^O[s>>16&255]^S[s>>8&255]^E[255&s]},P.prototype.encrypt=function(e){if(16!=e.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var t=this._Ke.length-1,r=[0,0,0,0],n=j(e),o=0;o<4;o++)n[o]^=this._Ke[0][o];for(var s=1;s>24&255]^g[n[(o+1)%4]>>16&255]^m[n[(o+2)%4]>>8&255]^y[255&n[(o+3)%4]]^this._Ke[s][o];n=r.slice()}var a,c=i(16);for(o=0;o<4;o++)a=this._Ke[t][o],c[4*o]=255&(d[n[o]>>24&255]^a>>24),c[4*o+1]=255&(d[n[(o+1)%4]>>16&255]^a>>16),c[4*o+2]=255&(d[n[(o+2)%4]>>8&255]^a>>8),c[4*o+3]=255&(d[255&n[(o+3)%4]]^a);return c},P.prototype.decrypt=function(e){if(16!=e.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var t=this._Kd.length-1,r=[0,0,0,0],n=j(e),o=0;o<4;o++)n[o]^=this._Kd[0][o];for(var s=1;s>24&255]^v[n[(o+3)%4]>>16&255]^w[n[(o+2)%4]>>8&255]^_[255&n[(o+1)%4]]^this._Kd[s][o];n=r.slice()}var a,c=i(16);for(o=0;o<4;o++)a=this._Kd[t][o],c[4*o]=255&(h[n[o]>>24&255]^a>>24),c[4*o+1]=255&(h[n[(o+3)%4]>>16&255]^a>>16),c[4*o+2]=255&(h[n[(o+2)%4]>>8&255]^a>>8),c[4*o+3]=255&(h[255&n[(o+1)%4]]^a);return c};var A=function(e){if(!(this instanceof A))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new P(e)};A.prototype.encrypt=function(e){if((e=o(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=i(e.length),r=i(16),n=0;nNumber.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(var t=15;t>=0;--t)this._counter[t]=e%256,e=parseInt(e/256)},C.prototype.setBytes=function(e){if(16!=(e=o(e,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=e},C.prototype.increment=function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}};var R=function(e,t){if(!(this instanceof R))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",t instanceof C||(t=new C(t)),this._counter=t,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new P(e)};R.prototype.encrypt=function(e){for(var t=o(e,!0),r=0;r16)throw new Error("PKCS#7 padding byte out of range");for(var r=e.length-t,n=0;n{const t=this.encode(e);return s.Any.fromPartial({typeUrl:e.typeUrl,value:t})}),r=i.TxBody.fromPartial(Object.assign(Object.assign({},e),{messages:t}));return Uint8Array.from(i.TxBody.encode(r).finish())}decode({typeUrl:t,value:r}){if(t===a.cosmosTxBody)return this.decodeTxBody(r);const n=this.lookupTypeWithError(t).decode(r);return Object.entries(n).forEach(([t,r])=>{void 0!==e&&void 0!==e.isBuffer&&e.isBuffer(r)&&(n[t]=Uint8Array.from(r))}),n}decodeTxBody(e){const t=i.TxBody.decode(e);return Object.assign(Object.assign({},t),{messages:t.messages.map(({typeUrl:e,value:t})=>{if(!e)throw new Error("Missing type_url in Any");if(!t)throw new Error("Missing value in Any");return this.decode({typeUrl:e,value:t})})})}}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MsgClientImpl=t.MsgMultiSendResponse=t.MsgMultiSend=t.MsgSendResponse=t.MsgSend=t.protobufPackage=void 0;const o=r(137),i=r(722),s=n(r(48));t.protobufPackage="cosmos.bank.v1beta1";const a={fromAddress:"",toAddress:""};t.MsgSend={encode(e,t=s.default.Writer.create()){t.uint32(10).string(e.fromAddress),t.uint32(18).string(e.toAddress);for(const r of e.amount)o.Coin.encode(r,t.uint32(26).fork()).ldelim();return t},decode(e,t){const r=e instanceof Uint8Array?new s.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const i=Object.assign({},a);for(i.amount=[];r.pos>>3){case 1:i.fromAddress=r.string();break;case 2:i.toAddress=r.string();break;case 3:i.amount.push(o.Coin.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},a);if(t.amount=[],void 0!==e.fromAddress&&null!==e.fromAddress?t.fromAddress=String(e.fromAddress):t.fromAddress="",void 0!==e.toAddress&&null!==e.toAddress?t.toAddress=String(e.toAddress):t.toAddress="",void 0!==e.amount&&null!==e.amount)for(const r of e.amount)t.amount.push(o.Coin.fromJSON(r));return t},fromPartial(e){const t=Object.assign({},a);if(t.amount=[],void 0!==e.fromAddress&&null!==e.fromAddress?t.fromAddress=e.fromAddress:t.fromAddress="",void 0!==e.toAddress&&null!==e.toAddress?t.toAddress=e.toAddress:t.toAddress="",void 0!==e.amount&&null!==e.amount)for(const r of e.amount)t.amount.push(o.Coin.fromPartial(r));return t},toJSON(e){const t={};return void 0!==e.fromAddress&&(t.fromAddress=e.fromAddress),void 0!==e.toAddress&&(t.toAddress=e.toAddress),e.amount?t.amount=e.amount.map(e=>e?o.Coin.toJSON(e):void 0):t.amount=[],t}};const c={};t.MsgSendResponse={encode:(e,t=s.default.Writer.create())=>t,decode(e,t){const r=e instanceof Uint8Array?new s.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},c);for(;r.posObject.assign({},c),fromPartial:e=>Object.assign({},c),toJSON:e=>({})};const u={};t.MsgMultiSend={encode(e,t=s.default.Writer.create()){for(const r of e.inputs)i.Input.encode(r,t.uint32(10).fork()).ldelim();for(const r of e.outputs)i.Output.encode(r,t.uint32(18).fork()).ldelim();return t},decode(e,t){const r=e instanceof Uint8Array?new s.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},u);for(o.inputs=[],o.outputs=[];r.pos>>3){case 1:o.inputs.push(i.Input.decode(r,r.uint32()));break;case 2:o.outputs.push(i.Output.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},u);if(t.inputs=[],t.outputs=[],void 0!==e.inputs&&null!==e.inputs)for(const r of e.inputs)t.inputs.push(i.Input.fromJSON(r));if(void 0!==e.outputs&&null!==e.outputs)for(const r of e.outputs)t.outputs.push(i.Output.fromJSON(r));return t},fromPartial(e){const t=Object.assign({},u);if(t.inputs=[],t.outputs=[],void 0!==e.inputs&&null!==e.inputs)for(const r of e.inputs)t.inputs.push(i.Input.fromPartial(r));if(void 0!==e.outputs&&null!==e.outputs)for(const r of e.outputs)t.outputs.push(i.Output.fromPartial(r));return t},toJSON(e){const t={};return e.inputs?t.inputs=e.inputs.map(e=>e?i.Input.toJSON(e):void 0):t.inputs=[],e.outputs?t.outputs=e.outputs.map(e=>e?i.Output.toJSON(e):void 0):t.outputs=[],t}};const l={};t.MsgMultiSendResponse={encode:(e,t=s.default.Writer.create())=>t,decode(e,t){const r=e instanceof Uint8Array?new s.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},l);for(;r.posObject.assign({},l),fromPartial:e=>Object.assign({},l),toJSON:e=>({})};t.MsgClientImpl=class{constructor(e){this.rpc=e}Send(e){const r=t.MsgSend.encode(e).finish();return this.rpc.request("cosmos.bank.v1beta1.Msg","methodDesc.name",r).then(e=>t.MsgSendResponse.decode(new s.default.Reader(e)))}MultiSend(e){const r=t.MsgMultiSend.encode(e).finish();return this.rpc.request("cosmos.bank.v1beta1.Msg","methodDesc.name",r).then(e=>t.MsgMultiSendResponse.decode(new s.default.Reader(e)))}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=t.DenomUnit=t.Supply=t.Output=t.Input=t.SendEnabled=t.Params=t.protobufPackage=void 0;const o=r(137),i=n(r(48));t.protobufPackage="cosmos.bank.v1beta1";const s={defaultSendEnabled:!1};t.Params={encode(e,r=i.default.Writer.create()){for(const n of e.sendEnabled)t.SendEnabled.encode(n,r.uint32(10).fork()).ldelim();return r.uint32(16).bool(e.defaultSendEnabled),r},decode(e,r){const n=e instanceof Uint8Array?new i.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const a=Object.assign({},s);for(a.sendEnabled=[];n.pos>>3){case 1:a.sendEnabled.push(t.SendEnabled.decode(n,n.uint32()));break;case 2:a.defaultSendEnabled=n.bool();break;default:n.skipType(7&e)}}return a},fromJSON(e){const r=Object.assign({},s);if(r.sendEnabled=[],void 0!==e.sendEnabled&&null!==e.sendEnabled)for(const n of e.sendEnabled)r.sendEnabled.push(t.SendEnabled.fromJSON(n));return void 0!==e.defaultSendEnabled&&null!==e.defaultSendEnabled?r.defaultSendEnabled=Boolean(e.defaultSendEnabled):r.defaultSendEnabled=!1,r},fromPartial(e){const r=Object.assign({},s);if(r.sendEnabled=[],void 0!==e.sendEnabled&&null!==e.sendEnabled)for(const n of e.sendEnabled)r.sendEnabled.push(t.SendEnabled.fromPartial(n));return void 0!==e.defaultSendEnabled&&null!==e.defaultSendEnabled?r.defaultSendEnabled=e.defaultSendEnabled:r.defaultSendEnabled=!1,r},toJSON(e){const r={};return e.sendEnabled?r.sendEnabled=e.sendEnabled.map(e=>e?t.SendEnabled.toJSON(e):void 0):r.sendEnabled=[],void 0!==e.defaultSendEnabled&&(r.defaultSendEnabled=e.defaultSendEnabled),r}};const a={denom:"",enabled:!1};t.SendEnabled={encode:(e,t=i.default.Writer.create())=>(t.uint32(10).string(e.denom),t.uint32(16).bool(e.enabled),t),decode(e,t){const r=e instanceof Uint8Array?new i.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},a);for(;r.pos>>3){case 1:o.denom=r.string();break;case 2:o.enabled=r.bool();break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},a);return void 0!==e.denom&&null!==e.denom?t.denom=String(e.denom):t.denom="",void 0!==e.enabled&&null!==e.enabled?t.enabled=Boolean(e.enabled):t.enabled=!1,t},fromPartial(e){const t=Object.assign({},a);return void 0!==e.denom&&null!==e.denom?t.denom=e.denom:t.denom="",void 0!==e.enabled&&null!==e.enabled?t.enabled=e.enabled:t.enabled=!1,t},toJSON(e){const t={};return void 0!==e.denom&&(t.denom=e.denom),void 0!==e.enabled&&(t.enabled=e.enabled),t}};const c={address:""};t.Input={encode(e,t=i.default.Writer.create()){t.uint32(10).string(e.address);for(const r of e.coins)o.Coin.encode(r,t.uint32(18).fork()).ldelim();return t},decode(e,t){const r=e instanceof Uint8Array?new i.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},c);for(s.coins=[];r.pos>>3){case 1:s.address=r.string();break;case 2:s.coins.push(o.Coin.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},c);if(t.coins=[],void 0!==e.address&&null!==e.address?t.address=String(e.address):t.address="",void 0!==e.coins&&null!==e.coins)for(const r of e.coins)t.coins.push(o.Coin.fromJSON(r));return t},fromPartial(e){const t=Object.assign({},c);if(t.coins=[],void 0!==e.address&&null!==e.address?t.address=e.address:t.address="",void 0!==e.coins&&null!==e.coins)for(const r of e.coins)t.coins.push(o.Coin.fromPartial(r));return t},toJSON(e){const t={};return void 0!==e.address&&(t.address=e.address),e.coins?t.coins=e.coins.map(e=>e?o.Coin.toJSON(e):void 0):t.coins=[],t}};const u={address:""};t.Output={encode(e,t=i.default.Writer.create()){t.uint32(10).string(e.address);for(const r of e.coins)o.Coin.encode(r,t.uint32(18).fork()).ldelim();return t},decode(e,t){const r=e instanceof Uint8Array?new i.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},u);for(s.coins=[];r.pos>>3){case 1:s.address=r.string();break;case 2:s.coins.push(o.Coin.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},u);if(t.coins=[],void 0!==e.address&&null!==e.address?t.address=String(e.address):t.address="",void 0!==e.coins&&null!==e.coins)for(const r of e.coins)t.coins.push(o.Coin.fromJSON(r));return t},fromPartial(e){const t=Object.assign({},u);if(t.coins=[],void 0!==e.address&&null!==e.address?t.address=e.address:t.address="",void 0!==e.coins&&null!==e.coins)for(const r of e.coins)t.coins.push(o.Coin.fromPartial(r));return t},toJSON(e){const t={};return void 0!==e.address&&(t.address=e.address),e.coins?t.coins=e.coins.map(e=>e?o.Coin.toJSON(e):void 0):t.coins=[],t}};const l={};t.Supply={encode(e,t=i.default.Writer.create()){for(const r of e.total)o.Coin.encode(r,t.uint32(10).fork()).ldelim();return t},decode(e,t){const r=e instanceof Uint8Array?new i.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},l);for(s.total=[];r.pos>>3){case 1:s.total.push(o.Coin.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},l);if(t.total=[],void 0!==e.total&&null!==e.total)for(const r of e.total)t.total.push(o.Coin.fromJSON(r));return t},fromPartial(e){const t=Object.assign({},l);if(t.total=[],void 0!==e.total&&null!==e.total)for(const r of e.total)t.total.push(o.Coin.fromPartial(r));return t},toJSON(e){const t={};return e.total?t.total=e.total.map(e=>e?o.Coin.toJSON(e):void 0):t.total=[],t}};const f={denom:"",exponent:0,aliases:""};t.DenomUnit={encode(e,t=i.default.Writer.create()){t.uint32(10).string(e.denom),t.uint32(16).uint32(e.exponent);for(const r of e.aliases)t.uint32(26).string(r);return t},decode(e,t){const r=e instanceof Uint8Array?new i.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const o=Object.assign({},f);for(o.aliases=[];r.pos>>3){case 1:o.denom=r.string();break;case 2:o.exponent=r.uint32();break;case 3:o.aliases.push(r.string());break;default:r.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},f);if(t.aliases=[],void 0!==e.denom&&null!==e.denom?t.denom=String(e.denom):t.denom="",void 0!==e.exponent&&null!==e.exponent?t.exponent=Number(e.exponent):t.exponent=0,void 0!==e.aliases&&null!==e.aliases)for(const r of e.aliases)t.aliases.push(String(r));return t},fromPartial(e){const t=Object.assign({},f);if(t.aliases=[],void 0!==e.denom&&null!==e.denom?t.denom=e.denom:t.denom="",void 0!==e.exponent&&null!==e.exponent?t.exponent=e.exponent:t.exponent=0,void 0!==e.aliases&&null!==e.aliases)for(const r of e.aliases)t.aliases.push(r);return t},toJSON(e){const t={};return void 0!==e.denom&&(t.denom=e.denom),void 0!==e.exponent&&(t.exponent=e.exponent),e.aliases?t.aliases=e.aliases.map(e=>e):t.aliases=[],t}};const d={description:"",base:"",display:""};t.Metadata={encode(e,r=i.default.Writer.create()){r.uint32(10).string(e.description);for(const n of e.denomUnits)t.DenomUnit.encode(n,r.uint32(18).fork()).ldelim();return r.uint32(26).string(e.base),r.uint32(34).string(e.display),r},decode(e,r){const n=e instanceof Uint8Array?new i.default.Reader(e):e;let o=void 0===r?n.len:n.pos+r;const s=Object.assign({},d);for(s.denomUnits=[];n.pos>>3){case 1:s.description=n.string();break;case 2:s.denomUnits.push(t.DenomUnit.decode(n,n.uint32()));break;case 3:s.base=n.string();break;case 4:s.display=n.string();break;default:n.skipType(7&e)}}return s},fromJSON(e){const r=Object.assign({},d);if(r.denomUnits=[],void 0!==e.description&&null!==e.description?r.description=String(e.description):r.description="",void 0!==e.denomUnits&&null!==e.denomUnits)for(const n of e.denomUnits)r.denomUnits.push(t.DenomUnit.fromJSON(n));return void 0!==e.base&&null!==e.base?r.base=String(e.base):r.base="",void 0!==e.display&&null!==e.display?r.display=String(e.display):r.display="",r},fromPartial(e){const r=Object.assign({},d);if(r.denomUnits=[],void 0!==e.description&&null!==e.description?r.description=e.description:r.description="",void 0!==e.denomUnits&&null!==e.denomUnits)for(const n of e.denomUnits)r.denomUnits.push(t.DenomUnit.fromPartial(n));return void 0!==e.base&&null!==e.base?r.base=e.base:r.base="",void 0!==e.display&&null!==e.display?r.display=e.display:r.display="",r},toJSON(e){const r={};return void 0!==e.description&&(r.description=e.description),e.denomUnits?r.denomUnits=e.denomUnits.map(e=>e?t.DenomUnit.toJSON(e):void 0):r.denomUnits=[],void 0!==e.base&&(r.base=e.base),void 0!==e.display&&(r.display=e.display),r}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectSecp256k1HdWallet=void 0;const n=r(50),o=r(114),i=r(358),s=r(193);class a{constructor(e,t,r,n,o){this.secret=e,this.accounts=[{hdPath:t,prefix:o}],this.privkey=r,this.pubkey=n}static async fromMnemonic(e,t=i.makeCosmoshubPath(0),r="cosmos"){const o=new n.EnglishMnemonic(e),s=await n.Bip39.mnemonicToSeed(o),{privkey:c}=n.Slip10.derivePath(n.Slip10Curve.Secp256k1,s,t),u=(await n.Secp256k1.makeKeypair(c)).pubkey;return new a(o,t,c,n.Secp256k1.compressPubkey(u),r)}static async generate(e=12,t=i.makeCosmoshubPath(0),r="cosmos"){const o=4*Math.floor(11*e/33),s=n.Random.getBytes(o),c=n.Bip39.encode(s);return a.fromMnemonic(c.toString(),t,r)}get mnemonic(){return this.secret.toString()}get address(){return o.rawSecp256k1PubkeyToAddress(this.pubkey,this.accounts[0].prefix)}async getAccounts(){return[{algo:"secp256k1",address:this.address,pubkey:this.pubkey}]}async signDirect(e,t){const r=s.makeSignBytes(t);if(e!==this.address)throw new Error(`Address ${e} not found in wallet`);const i=n.sha256(r),a=await n.Secp256k1.createSignature(i,this.privkey),c=new Uint8Array([...a.r(32),...a.s(32)]);return{signed:t,signature:o.encodeSecp256k1Signature(this.pubkey,c)}}}t.DirectSecp256k1HdWallet=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectSecp256k1Wallet=void 0;const n=r(50),o=r(114),i=r(193);class s{constructor(e,t,r){this.privkey=e,this.pubkey=t,this.prefix=r}static async fromKey(e,t="cosmos"){const r=(await n.Secp256k1.makeKeypair(e)).pubkey;return new s(e,n.Secp256k1.compressPubkey(r),t)}get address(){return o.rawSecp256k1PubkeyToAddress(this.pubkey,this.prefix)}async getAccounts(){return[{algo:"secp256k1",address:this.address,pubkey:this.pubkey}]}async signDirect(e,t){const r=i.makeSignBytes(t);if(e!==this.address)throw new Error(`Address ${e} not found in wallet`);const s=n.sha256(r),a=await n.Secp256k1.createSignature(s,this.privkey),c=new Uint8Array([...a.r(32),...a.s(32)]);return{signed:t,signature:o.encodeSecp256k1Signature(this.pubkey,c)}}}t.DirectSecp256k1Wallet=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodePubkey=t.encodePubkey=void 0;const n=r(39),o=r(114),i=r(726),s=r(138);t.encodePubkey=function(e){switch(e.type){case"tendermint/PubKeySecp256k1":{const t=i.PubKey.fromPartial({key:n.fromBase64(e.value)});return s.Any.fromPartial({typeUrl:"/cosmos.crypto.secp256k1.PubKey",value:Uint8Array.from(i.PubKey.encode(t).finish())})}default:throw new Error(`Pubkey type ${e.type} not recognized`)}},t.decodePubkey=function(e){if(!e||!e.value)return null;switch(e.typeUrl){case"/cosmos.crypto.secp256k1.PubKey":{const{key:t}=i.PubKey.decode(e.value);return o.encodeSecp256k1Pubkey(t)}default:throw new Error(`Pubkey type_url ${e.typeUrl} not recognized`)}}},function(e,t,r){"use strict";(function(e){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PrivKey=t.PubKey=t.protobufPackage=void 0;const o=n(r(48));t.protobufPackage="cosmos.crypto.secp256k1";const i={};t.PubKey={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).bytes(e.key),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const s=Object.assign({},i);for(;r.pos>>3){case 1:s.key=r.bytes();break;default:r.skipType(7&e)}}return s},fromJSON(e){const t=Object.assign({},i);return void 0!==e.key&&null!==e.key&&(t.key=u(e.key)),t},fromPartial(e){const t=Object.assign({},i);return void 0!==e.key&&null!==e.key?t.key=e.key:t.key=new Uint8Array,t},toJSON(e){const t={};return void 0!==e.key&&(t.key=f(void 0!==e.key?e.key:new Uint8Array)),t}};const s={};t.PrivKey={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).bytes(e.key),t),decode(e,t){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let n=void 0===t?r.len:r.pos+t;const i=Object.assign({},s);for(;r.pos>>3){case 1:i.key=r.bytes();break;default:r.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},s);return void 0!==e.key&&null!==e.key&&(t.key=u(e.key)),t},fromPartial(e){const t=Object.assign({},s);return void 0!==e.key&&null!==e.key?t.key=e.key:t.key=new Uint8Array,t},toJSON(e){const t={};return void 0!==e.key&&(t.key=f(void 0!==e.key?e.key:new Uint8Array)),t}};var a=(()=>{if(void 0!==a)return a;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const c=a.atob||(e=>a.Buffer.from(e,"base64").toString("binary"));function u(e){const t=c(e),r=new Uint8Array(t.length);for(let e=0;ea.Buffer.from(e,"binary").toString("base64"));function f(e){const t=[];for(let r=0;r(t,r)=>{switch(r.constructor){case o.RestoreKeyRingMsg:return a(e)(t,r);case o.DeleteKeyRingMsg:return c(e)(t,r);case o.UpdateNameKeyRingMsg:return u(e)(t,r);case o.ShowKeyRingMsg:return l(e)(t,r);case o.CreateMnemonicKeyMsg:return f(e)(t,r);case o.AddMnemonicKeyMsg:return d(e)(t,r);case o.CreatePrivateKeyMsg:return h(e)(t,r);case o.AddPrivateKeyMsg:return p(e)(t,r);case o.CreateLedgerKeyMsg:return g(e)(t,r);case o.AddLedgerKeyMsg:return m(e)(t,r);case o.LockKeyRingMsg:return y(e)(t,r);case o.UnlockKeyRingMsg:return b(e)(t,r);case o.GetKeyMsg:return v(e)(t,r);case o.RequestSignAminoMsg:return w(e)(t,r);case o.RequestSignDirectMsg:return _(e)(t,r);case o.GetKeyRingTypeMsg:return k(e)(t,r);case o.GetMultiKeyStoreInfoMsg:return O(e)(t,r);case o.ChangeKeyRingMsg:return S(e)(t,r);case o.GetIsKeyStoreCoinTypeSetMsg:return E(e)(t,r);case o.SetKeyStoreCoinTypeMsg:return j(e)(t,r);default:throw new Error("Unknown msg type")}};const a=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.restore()})),c=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.deleteKeyRing(r.index,r.password)})),u=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.updateNameKeyRing(r.index,r.name)})),l=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.showKeyRing(r.index,r.password)})),f=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return{status:yield e.createMnemonicKey(r.mnemonic,r.password,r.meta,r.bip44HDPath)}})),d=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.addMnemonicKey(r.mnemonic,r.meta,r.bip44HDPath)})),h=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return{status:yield e.createPrivateKey(r.privateKey,r.password,r.meta)}})),p=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.addPrivateKey(r.privateKey,r.meta)})),g=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return{status:yield e.createLedgerKey(t,r.password,r.meta,r.bip44HDPath)}})),m=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.addLedgerKey(t,r.meta,r.bip44HDPath)})),y=e=>()=>({status:e.lock()}),b=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return{status:yield e.unlock(r.password)}})),v=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin);const n=yield e.getKey(r.chainId);return{name:e.getKeyStoreMeta("name"),algo:"secp256k1",pubKey:n.pubKey,address:n.address,bech32Address:new i.Bech32Address(n.address).toBech32((yield e.chainsService.getChainInfo(r.chainId)).bech32Config.bech32PrefixAccAddr),isNanoLedger:n.isNanoLedger}})),w=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.requestSignAmino(t,r.chainId,r.signer,r.signDoc,r.signOptions)})),_=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin);const n=s.cosmos.tx.v1beta1.SignDoc.decode(r.signDocBytes),o=yield e.requestSignDirect(t,r.chainId,r.signer,n,r.signOptions);return{signedBytes:s.cosmos.tx.v1beta1.SignDoc.encode(o.signed).finish(),signature:o.signature}})),k=e=>()=>e.getKeyRingType(),O=e=>()=>e.getMultiKeyStoreInfo(),S=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.changeKeyStoreFromMultiKeyStore(r.index)})),E=e=>(t,r)=>e.getKeyStoreBIP44Selectables(r.chainId,r.paths),j=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.setKeyStoreCoinType(r.chainId,r.coinType),e.keyRingStatus}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(359),t),o(r(803),t)},function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(r(194));t.logs=i;const s=n(r(104));t.types=s;var a=r(737);t.pubkeyToAddress=a.pubkeyToAddress;var c=r(760);t.unmarshalTx=c.unmarshalTx;var u=r(196);t.makeSignBytes=u.makeSignBytes,t.marshalTx=u.marshalTx;var l=r(197);t.BroadcastMode=l.BroadcastMode,t.RestClient=l.RestClient;var f=r(377);t.CosmWasmClient=f.CosmWasmClient;var d=r(799);t.makeCosmoshubPath=d.makeSecretNetworkPath,t.Secp256k1Pen=d.Secp256k1Pen;var h=r(203);t.decodeBech32Pubkey=h.decodeBech32Pubkey,t.encodeBech32Pubkey=h.encodeBech32Pubkey,t.encodeSecp256k1Pubkey=h.encodeSecp256k1Pubkey;var p=r(800);t.findSequenceForSignedTx=p.findSequenceForSignedTx;var g=r(204);t.encodeSecp256k1Signature=g.encodeSecp256k1Signature,t.decodeSignature=g.decodeSignature;var m=r(801);t.SigningCosmWasmClient=m.SigningCosmWasmClient;const y=o(r(368));t.EnigmaUtils=y.default},function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(94));t.Bech32=class{static encode(e,t){return o.encode(e,o.toWords(t))}static decode(e){const t=o.decode(e);return{prefix:t.prefix,data:new Uint8Array(o.fromWords(t.words))}}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6));class i{constructor(e,t){this.data={atomics:new o.default(e),fractionalDigits:t}}static fromUserInput(e,t){i.verifyFractionalDigits(t);const r=e.match(/[^0-9.]/);if(r)throw new Error("Invalid character at position "+(r.index+1));let n,o;if(-1===e.search(/\./))n=e,o="";else{const t=e.split(".");switch(t.length){case 0:case 1:throw new Error("Fewer than two elements in split result. This must not happen here.");case 2:if(!t[1])throw new Error("Fractional part missing");n=t[0],o=t[1].replace(/0+$/,"");break;default:throw new Error("More than one separator found")}}if(o.length>t)throw new Error("Got more fractional digits than supported");const s=`${n}${o.padEnd(t,"0")}`;return new i(s,t)}static fromAtomics(e,t){return i.verifyFractionalDigits(t),new i(e,t)}static verifyFractionalDigits(e){if(!Number.isInteger(e))throw new Error("Fractional digits is not an integer");if(e<0)throw new Error("Fractional digits must not be negative");if(e>100)throw new Error("Fractional digits must not exceed 100")}get atomics(){return this.data.atomics.toString()}get fractionalDigits(){return this.data.fractionalDigits}toString(){const e=new o.default(10).pow(new o.default(this.data.fractionalDigits)),t=this.data.atomics.div(e),r=this.data.atomics.mod(e);if(r.isZero())return t.toString();{const e=r.toString().padStart(this.data.fractionalDigits,"0").replace(/0+$/,"");return`${t.toString()}.${e}`}}toFloatApproximation(){const e=Number(this.toString());if(Number.isNaN(e))throw new Error("Conversion to number failed");return e}plus(e){if(this.fractionalDigits!==e.fractionalDigits)throw new Error("Fractional digits do not match");const t=this.data.atomics.add(new o.default(e.atomics));return new i(t.toString(),this.fractionalDigits)}}t.Decimal=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(6)),i=new o.default("18446744073709551615",10,"be");class s{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(e<0||e>4294967295)throw new Error("Input not in uint32 range: "+e.toString());this.data=e}static fromBigEndianBytes(e){if(4!==e.length)throw new Error("Invalid input length. Expected 4 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);return new s(e[0]*2**24+65536*e[1]+256*e[2]+e[3])}toBytesBigEndian(){return new Uint8Array([255&Math.floor(this.data/2**24),255&Math.floor(this.data/65536),255&Math.floor(this.data/256),255&Math.floor(this.data/1)])}toBytesLittleEndian(){return new Uint8Array([255&Math.floor(this.data/1),255&Math.floor(this.data/256),255&Math.floor(this.data/65536),255&Math.floor(this.data/2**24)])}toNumber(){return this.data}toString(){return this.data.toString()}}t.Uint32=s;class a{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(eNumber.MAX_SAFE_INTEGER)throw new Error("Input not in int53 range: "+e.toString());this.data=e}static fromString(e){if(!e.match(/^-?[0-9]+$/))throw new Error("Invalid string format");return new a(Number.parseInt(e,10))}toNumber(){return this.data}toString(){return this.data.toString()}}t.Int53=a;class c{constructor(e){const t=new a(e);if(t.toNumber()<0)throw new Error("Input is negative");this.data=t}static fromString(e){const t=a.fromString(e);return new c(t.toNumber())}toNumber(){return this.data.toNumber()}toString(){return this.data.toString()}}t.Uint53=c;class u{constructor(e){if(e.isNeg())throw new Error("Input is negative");if(e.gt(i))throw new Error("Input exceeds uint64 range");this.data=e}static fromBytesBigEndian(e){if(8!==e.length)throw new Error("Invalid input length. Expected 8 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);const t=[];for(let r=0;re[t]).every(n)}Object.defineProperty(t,"__esModule",{value:!0}),t.isJsonCompatibleValue=n,t.isJsonCompatibleArray=o,t.isJsonCompatibleDictionary=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(360),o=r(362),i="string:",s="bytes:";class a{static toJson(e){if("number"==typeof e||"boolean"==typeof e)return e;if(null===e)return null;if("string"==typeof e)return`${i}${e}`;if(o.isUint8Array(e))return`${s}${n.Encoding.toHex(e)}`;if(Array.isArray(e))return e.map(a.toJson);if("object"==typeof e&&null!==e&&"[object Object]"===Object.prototype.toString.call(e)){const t={};for(const r of Object.keys(e)){const n=e[r];void 0!==n&&(t[r]=a.toJson(n))}return t}throw new Error("Cannot encode type to JSON")}static fromJson(e){if("number"==typeof e||"boolean"==typeof e)return e;if(null===e)return null;if("string"==typeof e){if(e.startsWith(i))return e.slice(i.length);if(e.startsWith(s))return n.Encoding.fromHex(e.slice(s.length));throw new Error("Found string with unknown prefix")}if(Array.isArray(e))return e.map(a.fromJson);if("object"==typeof e&&null!==e&&"[object Object]"===Object.prototype.toString.call(e)){const t={};for(const r of Object.keys(e))t[r]=a.fromJson(e[r]);return t}throw new Error("Cannot decode type from JSON")}}t.TransactionEncoder=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(105),o=r(42),i=r(104),{fromBase64:s}=o.Encoding;function a(e,t){if(33!==e.length)throw new Error("Invalid Secp256k1 pubkey length (compressed): "+e.length);const r=new n.Sha256(e).digest(),i=new n.Ripemd160(r).digest();return o.Bech32.encode(t,i)}t.rawSecp256k1PubkeyToAddress=a,t.pubkeyToAddress=function(e,t){const r=s(e.value);switch(e.type){case i.pubkeyType.secp256k1:return a(r,t);case i.pubkeyType.ed25519:{if(32!==r.length)throw new Error("Invalid Ed25519 pubkey length: "+r.length);const e=new n.Sha256(r).digest();return o.Bech32.encode(t,e.slice(0,20))}case i.pubkeyType.sr25519:{if(32!==r.length)throw new Error("Invalid Sr25519 pubkey length: "+r.length);const e=new n.Sha256(r).digest();return o.Bech32.encode(t,e.slice(0,20))}default:throw new Error("Unrecognized public key algorithm")}}},function(e,t,r){"use strict";(function(e){var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const o=r(139),i=n(r(69)),s=r(97),a=n(r(311)),c=r(364);t.Bip39=class{static encode(e){if(-1===[16,20,24,28,32].indexOf(e.length))throw new Error("invalid input length");return new c.EnglishMnemonic(i.entropyToMnemonic(o.Encoding.toHex(e)))}static decode(e){return o.Encoding.fromHex(i.mnemonicToEntropy(e.toString()))}static async mnemonicToSeed(t,r){const n=e.from(a.nfkd(t.toString()),"utf8"),o="mnemonic"+(r?a.nfkd(r):""),i=e.from(o,"utf8");return this.pbkdf2(n,i,2048,64,"sha512")}static async pbkdf2(e,t,r,n,o){return new Promise((i,a)=>{s.pbkdf2(e,t,r,n,o,(e,t)=>{e?a(e):i(new Uint8Array(t))})})}}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(740);Object.defineProperty(t,"Decimal",{enumerable:!0,get:function(){return n.Decimal}});var o=r(741);Object.defineProperty(t,"Int53",{enumerable:!0,get:function(){return o.Int53}}),Object.defineProperty(t,"Uint32",{enumerable:!0,get:function(){return o.Uint32}}),Object.defineProperty(t,"Uint53",{enumerable:!0,get:function(){return o.Uint53}}),Object.defineProperty(t,"Uint64",{enumerable:!0,get:function(){return o.Uint64}})},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Decimal=void 0;const o=n(r(6));class i{constructor(e,t){this.data={atomics:new o.default(e),fractionalDigits:t}}static fromUserInput(e,t){i.verifyFractionalDigits(t);const r=e.match(/[^0-9.]/);if(r)throw new Error("Invalid character at position "+(r.index+1));let n,o;if(-1===e.search(/\./))n=e,o="";else{const t=e.split(".");switch(t.length){case 0:case 1:throw new Error("Fewer than two elements in split result. This must not happen here.");case 2:if(!t[1])throw new Error("Fractional part missing");n=t[0],o=t[1].replace(/0+$/,"");break;default:throw new Error("More than one separator found")}}if(o.length>t)throw new Error("Got more fractional digits than supported");const s=`${n}${o.padEnd(t,"0")}`;return new i(s,t)}static fromAtomics(e,t){return i.verifyFractionalDigits(t),new i(e,t)}static verifyFractionalDigits(e){if(!Number.isInteger(e))throw new Error("Fractional digits is not an integer");if(e<0)throw new Error("Fractional digits must not be negative");if(e>100)throw new Error("Fractional digits must not exceed 100")}static compare(e,t){if(e.fractionalDigits!==t.fractionalDigits)throw new Error("Fractional digits do not match");return e.data.atomics.cmp(new o.default(t.atomics))}get atomics(){return this.data.atomics.toString()}get fractionalDigits(){return this.data.fractionalDigits}toString(){const e=new o.default(10).pow(new o.default(this.data.fractionalDigits)),t=this.data.atomics.div(e),r=this.data.atomics.mod(e);if(r.isZero())return t.toString();{const e=r.toString().padStart(this.data.fractionalDigits,"0").replace(/0+$/,"");return`${t.toString()}.${e}`}}toFloatApproximation(){const e=Number(this.toString());if(Number.isNaN(e))throw new Error("Conversion to number failed");return e}plus(e){if(this.fractionalDigits!==e.fractionalDigits)throw new Error("Fractional digits do not match");const t=this.data.atomics.add(new o.default(e.atomics));return new i(t.toString(),this.fractionalDigits)}equals(e){return 0===i.compare(this,e)}isLessThan(e){return i.compare(this,e)<0}isLessThanOrEqual(e){return i.compare(this,e)<=0}isGreaterThan(e){return i.compare(this,e)>0}isGreaterThanOrEqual(e){return i.compare(this,e)>=0}}t.Decimal=i},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Uint64=t.Uint53=t.Int53=t.Uint32=void 0;const o=n(r(6)),i=new o.default("18446744073709551615",10,"be");class s{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(e<0||e>4294967295)throw new Error("Input not in uint32 range: "+e.toString());this.data=e}static fromBigEndianBytes(e){if(4!==e.length)throw new Error("Invalid input length. Expected 4 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);return new s(e[0]*2**24+65536*e[1]+256*e[2]+e[3])}toBytesBigEndian(){return new Uint8Array([255&Math.floor(this.data/2**24),255&Math.floor(this.data/65536),255&Math.floor(this.data/256),255&Math.floor(this.data/1)])}toBytesLittleEndian(){return new Uint8Array([255&Math.floor(this.data/1),255&Math.floor(this.data/256),255&Math.floor(this.data/65536),255&Math.floor(this.data/2**24)])}toNumber(){return this.data}toString(){return this.data.toString()}}t.Uint32=s;class a{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(eNumber.MAX_SAFE_INTEGER)throw new Error("Input not in int53 range: "+e.toString());this.data=e}static fromString(e){if(!e.match(/^-?[0-9]+$/))throw new Error("Invalid string format");return new a(Number.parseInt(e,10))}toNumber(){return this.data}toString(){return this.data.toString()}}t.Int53=a;class c{constructor(e){const t=new a(e);if(t.toNumber()<0)throw new Error("Input is negative");this.data=t}static fromString(e){const t=a.fromString(e);return new c(t.toNumber())}toNumber(){return this.data.toNumber()}toString(){return this.data.toString()}}t.Uint53=c;class u{constructor(e){if(e.isNeg())throw new Error("Input is negative");if(e.gt(i))throw new Error("Input exceeds uint64 range");this.data=e}static fromBytesBigEndian(e){if(8!==e.length)throw new Error("Invalid input length. Expected 8 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);const t=[];for(let r=0;r{const t=e.charCodeAt(0);if(t<32||t>126)throw new Error("Cannot encode character that is out of printable ASCII range: "+t);return t}))},t.fromAscii=function(e){return(t=Array.from(e),t.map(e=>{if(e<32||e>126)throw new Error("Cannot decode character that is out of printable ASCII range: "+e);return String.fromCharCode(e)})).join("");var t}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.fromBase64=t.toBase64=void 0;const s=i(r(117));t.toBase64=function(e){return s.fromByteArray(e)},t.fromBase64=function(e){if(!e.match(/^[a-zA-Z0-9+/]*={0,2}$/))throw new Error("Invalid base64 string format");return s.toByteArray(e)}},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Bech32=void 0;const s=i(r(94));t.Bech32=class{static encode(e,t){return s.encode(e,s.toWords(t))}static decode(e){const t=s.decode(e);return{prefix:t.prefix,data:new Uint8Array(s.fromWords(t.words))}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromHex=t.toHex=void 0,t.toHex=function(e){let t="";for(const r of e)t+=("0"+r.toString(16)).slice(-2);return t},t.fromHex=function(e){if(e.length%2!=0)throw new Error("hex string length must be a multiple of 2");const t=[];for(let r=0;rsetTimeout(t,e))}},function(e,t,r){"use strict";(function(e){function r(e){return"object"==typeof e&&null!==e}Object.defineProperty(t,"__esModule",{value:!0}),t.isUint8Array=t.isNonNullObject=void 0,t.isNonNullObject=r,t.isUint8Array=function(t){return!!r(t)&&("[object Uint8Array]"===Object.prototype.toString.call(t)&&(void 0===e||void 0===e.isBuffer||!e.isBuffer(t)))}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";function n(e){return!("string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e&&null!==e&&!o(e)&&!i(e))}function o(e){if(!Array.isArray(e))return!1;for(const t of e)if(!n(t))return!1;return!0}function i(e){if("object"!=typeof e||null===e)return!1;if("[object Object]"!==Object.prototype.toString.call(e))return!1;return Object.getOwnPropertyNames(e).map(t=>e[t]).every(n)}Object.defineProperty(t,"__esModule",{value:!0}),t.isJsonCompatibleValue=n,t.isJsonCompatibleArray=o,t.isJsonCompatibleDictionary=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(195),o=r(363),i="string:",s="bytes:";class a{static toJson(e){if("number"==typeof e||"boolean"==typeof e)return e;if(null===e)return null;if("string"==typeof e)return`${i}${e}`;if(o.isUint8Array(e))return`${s}${n.toHex(e)}`;if(Array.isArray(e))return e.map(a.toJson);if("object"==typeof e&&null!==e&&"[object Object]"===Object.prototype.toString.call(e)){const t={};for(const r of Object.keys(e)){const n=e[r];void 0!==n&&(t[r]=a.toJson(n))}return t}throw new Error("Cannot encode type to JSON")}static fromJson(e){if("number"==typeof e||"boolean"==typeof e)return e;if(null===e)return null;if("string"==typeof e){if(e.startsWith(i))return e.slice(i.length);if(e.startsWith(s))return n.fromHex(e.slice(s.length));throw new Error("Found string with unknown prefix")}if(Array.isArray(e))return e.map(a.fromJson);if("object"==typeof e&&null!==e&&"[object Object]"===Object.prototype.toString.call(e)){const t={};for(const r of Object.keys(e))t[r]=a.fromJson(e[r]);return t}throw new Error("Cannot decode type from JSON")}}t.TransactionEncoder=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(195);t.Encoding=class{static toHex(e){return n.toHex(e)}static fromHex(e){return n.fromHex(e)}static toBase64(e){return n.toBase64(e)}static fromBase64(e){return n.fromBase64(e)}static toAscii(e){return n.toAscii(e)}static fromAscii(e){return n.fromAscii(e)}static toUtf8(e){return n.toUtf8(e)}static fromUtf8(e){return n.fromUtf8(e)}static fromRfc3339(e){return n.fromRfc3339(e)}static toRfc3339(e){return n.toRfc3339(e)}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(222));t.Keccak256=class{constructor(e){this.blockSize=64,this.impl=o.default.keccak256.create(),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(314));t.Argon2id=class{static async execute(e,t,r){return await o.default.ready,o.default.crypto_pwhash(r.outputLength,e,t,r.opsLimit,1024*r.memLimitKib,o.default.crypto_pwhash_ALG_ARGON2ID13)}};class i{constructor(e,t){this.privkey=e,this.pubkey=t}static fromLibsodiumPrivkey(e){if(64!==e.length)throw new Error(`Unexpected key length ${e.length}. Must be 64.`);return new i(e.slice(0,32),e.slice(32,64))}toLibsodiumPrivkey(){return new Uint8Array([...this.privkey,...this.pubkey])}}t.Ed25519Keypair=i;t.Ed25519=class{static async makeKeypair(e){await o.default.ready;const t=o.default.crypto_sign_seed_keypair(e);return i.fromLibsodiumPrivkey(t.privateKey)}static async createSignature(e,t){return await o.default.ready,o.default.crypto_sign_detached(e,t.toLibsodiumPrivkey())}static async verifySignature(e,t,r){return await o.default.ready,o.default.crypto_sign_verify_detached(e,t,r)}};t.Xchacha20poly1305Ietf=class{static async encrypt(e,t,r){await o.default.ready;return o.default.crypto_aead_xchacha20poly1305_ietf_encrypt(e,null,null,r,t)}static async decrypt(e,t,r){await o.default.ready;return o.default.crypto_aead_xchacha20poly1305_ietf_decrypt(null,e,null,r,t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Random=class{static getBytes(e){try{const t="object"==typeof window?window:self,r=void 0!==t.crypto?t.crypto:t.msCrypto,n=new Uint8Array(e);return r.getRandomValues(n),n}catch(t){try{const t=r(72);return new Uint8Array([...t.randomBytes(e)])}catch(e){throw new Error("No secure random number generator found")}}}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(139),i=n(r(75)),{toHex:s}=o.Encoding;t.Ripemd160=class{constructor(e){this.blockSize=64,this.impl=new i.default,e&&this.update(e)}update(e){return this.impl.update(s(e),"hex"),this}digest(){return Uint8Array.from(this.impl.digest())}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(139),i=n(r(6)),s=n(r(45)),a=r(366),c=new s.default.ec("secp256k1"),u=new i.default("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141","hex");t.Secp256k1=class{static async makeKeypair(e){if(32!==e.length)throw new Error("input data is not a valid secp256k1 private key");const t=c.keyFromPrivate(e);if(!0!==t.validate().result)throw new Error("input data is not a valid secp256k1 private key");if(new i.default(e).gte(u))throw new Error("input data is not a valid secp256k1 private key");return{privkey:o.Encoding.fromHex(t.getPrivate("hex")),pubkey:o.Encoding.fromHex(t.getPublic().encode("hex"))}}static async createSignature(e,t){if(0===e.length)throw new Error("Message hash must not be empty");if(e.length>32)throw new Error("Message hash length must not exceed 32 bytes");const r=c.keyFromPrivate(t).sign(e,{canonical:!0});return new a.ExtendedSecp256k1Signature(Uint8Array.from(r.r.toArray()),Uint8Array.from(r.s.toArray()),r.recoveryParam)}static async verifySignature(e,t,r){if(0===t.length)throw new Error("Message hash must not be empty");if(t.length>32)throw new Error("Message hash length must not exceed 32 bytes");const n=c.keyFromPublic(r);try{return n.verify(t,e.toDer())}catch(e){return!1}}static recoverPubkey(e,t){const r={r:o.Encoding.toHex(e.r()),s:o.Encoding.toHex(e.s())},n=c.recoverPubKey(t,r,e.recovery),i=c.keyFromPublic(n);return o.Encoding.fromHex(i.getPublic(!1,"hex"))}static compressPubkey(e){switch(e.length){case 33:return e;case 65:return Uint8Array.from(c.keyFromPublic(e).pub.encodeCompressed());default:throw new Error("Invalid pubkey length")}}static trimRecoveryByte(e){switch(e.length){case 64:return e;case 65:return e.slice(0,64);default:throw new Error("Invalid signature length")}}}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(139),i=n(r(6)),s=n(r(45)),a=r(365),c=r(367);var u;!function(e){e.Secp256k1="Bitcoin seed",e.Ed25519="ed25519 seed"}(u=t.Slip10Curve||(t.Slip10Curve={})),t.slip10CurveFromString=function(e){switch(e){case u.Ed25519:return u.Ed25519;case u.Secp256k1:return u.Secp256k1;default:throw new Error(`Unknown curve string: '${e}'`)}};class l extends o.Uint32{static hardened(e){return new l(e+2**31)}static normal(e){return new l(e)}isHardened(){return this.data>=2**31}}t.Slip10RawIndex=l;const f=new s.default.ec("secp256k1");class d{static derivePath(e,t,r){let n=this.master(e,t);for(const t of r)n=this.child(e,n.privkey,n.chainCode,t);return n}static master(e,t){const r=new a.Hmac(c.Sha512,o.Encoding.toAscii(e)).update(t).digest(),n=r.slice(0,32),i=r.slice(32,64);return e!==u.Ed25519&&(this.isZero(n)||this.isGteN(e,n))?this.master(e,r):{chainCode:i,privkey:n}}static child(e,t,r,n){let o;if(n.isHardened()){const e=new Uint8Array([0,...t,...n.toBytesBigEndian()]);o=new a.Hmac(c.Sha512,r).update(e).digest()}else{if(e===u.Ed25519)throw new Error("Normal keys are not allowed with ed25519");{const s=new Uint8Array([...d.serializedPoint(e,new i.default(t)),...n.toBytesBigEndian()]);o=new a.Hmac(c.Sha512,r).update(s).digest()}}return this.childImpl(e,t,r,n,o)}static serializedPoint(e,t){switch(e){case u.Secp256k1:return o.Encoding.fromHex(f.g.mul(t).encodeCompressed("hex"));default:throw new Error("curve not supported")}}static childImpl(e,t,r,n,o){const s=o.slice(0,32),l=o.slice(32,64),f=l;if(e===u.Ed25519)return{chainCode:f,privkey:s};const d=this.n(e),h=new i.default(s).add(new i.default(t)).mod(d),p=Uint8Array.from(h.toArray("be",32));if(this.isGteN(e,s)||this.isZero(p)){const o=new a.Hmac(c.Sha512,r).update(new Uint8Array([1,...l,...n.toBytesBigEndian()])).digest();return this.childImpl(e,t,r,n,o)}return{chainCode:f,privkey:p}}static isZero(e){return e.every(e=>0===e)}static isGteN(e,t){return new i.default(t).gte(this.n(e))}static n(e){switch(e){case u.Secp256k1:return new i.default("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141",16);default:throw new Error("curve not supported")}}}t.Slip10=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(42),o=r(104);t.unmarshalTx=function(e){const t=JSON.parse(n.Encoding.fromUtf8(e));if(!o.isStdTx(t))throw new Error("Must be json encoded StdTx");return t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}(r(198));var n=r(369);t.AEAD=n.AEAD;var o=r(370);t.SIV=o.SIV;var i=r(765);t.StreamEncryptor=i.StreamEncryptor,t.StreamDecryptor=i.StreamDecryptor;var s=r(371);t.CMAC=s.CMAC;var a=r(372);t.PMAC=a.PMAC;var c=r(766);t.PolyfillCryptoProvider=c.PolyfillCryptoProvider;var u=r(140);t.WebCryptoProvider=u.WebCryptoProvider},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(106);class i{constructor(e,t){this._crypto=e,this._key=t,this._iv=new o.default,this._emptyPromise=Promise.resolve(this)}static importKey(e,t){return n(this,void 0,void 0,(function*(){if(16!==t.length&&32!==t.length)throw new Error(`Miscreant: invalid key length: ${t.length} (expected 16 or 32 bytes)`);const r=yield e.subtle.importKey("raw",t,"AES-CBC",!1,["encrypt"]);return new i(e,r)}))}clear(){return this}encryptBlock(e){return n(this,void 0,void 0,(function*(){const t={name:"AES-CBC",iv:this._iv.data},r=yield this._crypto.subtle.encrypt(t,this._key,e.data);return e.data.set(new Uint8Array(r,0,o.default.SIZE)),this._emptyPromise}))}}t.default=i},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});class o{constructor(e,t){this.key=e,this.crypto=t}static importKey(e,t){return n(this,void 0,void 0,(function*(){if(16!==t.length&&32!==t.length)throw new Error(`Miscreant: invalid key length: ${t.length} (expected 16 or 32 bytes)`);const r=yield e.subtle.importKey("raw",t,"AES-CTR",!1,["encrypt"]);return new o(r,e)}))}encryptCtr(e,t){return n(this,void 0,void 0,(function*(){const r=yield this.crypto.subtle.encrypt({name:"AES-CTR",counter:e,length:16},this.key,t);return new Uint8Array(r)}))}clear(){return this}}t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=new Uint8Array([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0]);t.ctz=function(e){return n[e]}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(369),i=r(140);t.NONCE_SIZE=8,t.LAST_BLOCK_FLAG=1,t.COUNTER_MAX=4294967295;class s{static importKey(e,t,r,a=new i.WebCryptoProvider){return n(this,void 0,void 0,(function*(){return new s(yield o.AEAD.importKey(e,r,a),t)}))}constructor(e,t){this._aead=e,this._nonce_encoder=new c(t)}seal(e,t=!1,r=new Uint8Array(0)){return n(this,void 0,void 0,(function*(){return this._aead.seal(e,this._nonce_encoder.next(t),r)}))}clear(){return this._aead.clear(),this}}t.StreamEncryptor=s;class a{static importKey(e,t,r,s=new i.WebCryptoProvider){return n(this,void 0,void 0,(function*(){return new a(yield o.AEAD.importKey(e,r,s),t)}))}constructor(e,t){this._aead=e,this._nonce_encoder=new c(t)}open(e,t=!1,r=new Uint8Array(0)){return n(this,void 0,void 0,(function*(){return this._aead.open(e,this._nonce_encoder.next(t),r)}))}clear(){return this._aead.clear(),this}}t.StreamDecryptor=a;class c{constructor(e){if(e.length!==t.NONCE_SIZE)throw new Error("STREAM: nonce must be 8-bits (got "+e.length);this.buffer=new ArrayBuffer(t.NONCE_SIZE+4+1),this.view=new DataView(this.buffer),this.array=new Uint8Array(this.buffer),this.array.set(e),this.counter=0,this.finished=!1}next(e){if(this.finished)throw new Error("STREAM: already finished");if(this.view.setInt32(8,this.counter,!1),e)this.view.setInt8(12,t.LAST_BLOCK_FLAG),this.finished=!0;else if(this.counter+=1,this.counter>t.COUNTER_MAX)throw new Error("STREAM counter overflowed");return this.array}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(767),i=r(768);t.PolyfillCryptoProvider=class{constructor(){}importBlockCipherKey(e){return n(this,void 0,void 0,(function*(){return new o.default(e)}))}importCTRKey(e){return n(this,void 0,void 0,(function*(){return new i.default(new o.default(e))}))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(200),o=new Uint8Array([1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47]),i=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]),s=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]);let a,c,u,l,f,d,h,p,g=!1;function m(e,t=0){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function y(e,t=new Uint8Array(4),r=0){return t[r+0]=e>>>24,t[r+1]=e>>>16,t[r+2]=e>>>8,t[r+3]=e>>>0,t}function b(e){return i[e>>>24&255]<<24|i[e>>>16&255]<<16|i[e>>>8&255]<<8|i[255&e]}t.default=class{constructor(e){if(g||function(){function e(e,t){let r=e,n=t,o=0;for(let e=1;e<256&&0!==n;e<<=1)0!=(n&e)&&(o^=r,n^=e),r<<=1,0!=(256&r)&&(r^=283);return o}const t=e=>e<<24|e>>>8;a=new Uint32Array(256),c=new Uint32Array(256),u=new Uint32Array(256),l=new Uint32Array(256);for(let r=0;r<256;r++){const n=i[r];let o=e(n,2)<<24|n<<16|n<<8|e(n,3);a[r]=o,o=t(o),c[r]=o,o=t(o),u[r]=o,o=t(o),l[r]=o,o=t(o)}f=new Uint32Array(256),d=new Uint32Array(256),h=new Uint32Array(256),p=new Uint32Array(256);for(let r=0;r<256;r++){const n=s[r];let o=e(n,14)<<24|e(n,9)<<16|e(n,13)<<8|e(n,11);f[r]=o,o=t(o),d[r]=o,o=t(o),h[r]=o,o=t(o),p[r]=o,o=t(o)}g=!0}(),16!==e.length&&32!==e.length)throw new Error(`Miscreant: invalid key length: ${e.length} (expected 16 or 32 bytes)`);this._encKey=function(e){const t=new Uint32Array(e.length+28),r=e.length/4|0,n=t.length;for(let n=0;n>>24)^o[e/r-1]<<24:r>6&&e%r==4&&(n=b(n)),t[e]=t[e-r]^n}var i;return t}(e),this._emptyPromise=Promise.resolve(this)}clear(){return this._encKey&&n.wipe(this._encKey),this}encryptBlock(e){const t=e.data,r=e.data;let n=m(t,0),o=m(t,4),s=m(t,8),f=m(t,12);n^=this._encKey[0],o^=this._encKey[1],s^=this._encKey[2],f^=this._encKey[3];let d=0,h=0,p=0,g=0;const b=this._encKey.length/4-2;let v=4;for(let e=0;e>>24&255]^c[o>>>16&255]^u[s>>>8&255]^l[255&f],h=this._encKey[v+1]^a[o>>>24&255]^c[s>>>16&255]^u[f>>>8&255]^l[255&n],p=this._encKey[v+2]^a[s>>>24&255]^c[f>>>16&255]^u[n>>>8&255]^l[255&o],g=this._encKey[v+3]^a[f>>>24&255]^c[n>>>16&255]^u[o>>>8&255]^l[255&s],v+=4,n=d,o=h,s=p,f=g;return n=i[d>>>24]<<24|i[h>>>16&255]<<16|i[p>>>8&255]<<8|i[255&g],o=i[h>>>24]<<24|i[p>>>16&255]<<16|i[g>>>8&255]<<8|i[255&d],s=i[p>>>24]<<24|i[g>>>16&255]<<16|i[d>>>8&255]<<8|i[255&h],f=i[g>>>24]<<24|i[d>>>16&255]<<16|i[h>>>8&255]<<8|i[255&p],n^=this._encKey[v+0],o^=this._encKey[v+1],s^=this._encKey[v+2],f^=this._encKey[v+3],y(n,r,0),y(o,r,4),y(s,r,8),y(f,r,12),this._emptyPromise}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):new r((function(t){t(e.value)})).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=r(106);function i(e){let t=1;for(let r=o.default.SIZE-1;r>=0;r--)t+=255&e.data[r]|0,e.data[r]=255&t,t>>>=8}t.default=class{constructor(e){this._cipher=e,this._counter=new o.default,this._buffer=new o.default}clear(){return this._buffer.clear(),this._counter.clear(),this._cipher.clear(),this}encryptCtr(e,t){return n(this,void 0,void 0,(function*(){if(e.length!==o.default.SIZE)throw new Error("CTR: iv length must be equal to cipher block size");this._counter.data.set(e);let r=o.default.SIZE;const n=new Uint8Array(t.length);for(let e=0;e>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=n>>24&255,e[t+5]=n>>16&255,e[t+6]=n>>8&255,e[t+7]=255&n}function p(e,t,r,n){return function(e,t,r,n,o){var i,s=0;for(i=0;i>>8)-1}(e,t,r,n,32)}function g(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function m(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function y(e,t,r){for(var n,o=~(r-1),i=0;i<16;i++)n=o&(e[i]^t[i]),e[i]^=n,t[i]^=n}function b(e,t){var r,n,i,s=o(),a=o();for(r=0;r<16;r++)a[r]=t[r];for(m(a),m(a),m(a),n=0;n<2;n++){for(s[0]=a[0]-65517,r=1;r<15;r++)s[r]=a[r]-65535-(s[r-1]>>16&1),s[r-1]&=65535;s[15]=a[15]-32767-(s[14]>>16&1),i=s[15]>>16&1,s[14]&=65535,y(a,s,1-i)}for(r=0;r<16;r++)e[2*r]=255&a[r],e[2*r+1]=a[r]>>8}function v(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return b(r,e),b(n,t),p(r,0,n,0)}function w(e){var t=new Uint8Array(32);return b(t,e),1&t[0]}function _(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function k(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function O(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function S(e,t,r){var n,o,i=0,s=0,a=0,c=0,u=0,l=0,f=0,d=0,h=0,p=0,g=0,m=0,y=0,b=0,v=0,w=0,_=0,k=0,O=0,S=0,E=0,j=0,P=0,A=0,x=0,M=0,I=0,C=0,R=0,T=0,N=0,B=r[0],D=r[1],L=r[2],U=r[3],q=r[4],H=r[5],z=r[6],K=r[7],F=r[8],$=r[9],V=r[10],J=r[11],G=r[12],W=r[13],Q=r[14],Z=r[15];i+=(n=t[0])*B,s+=n*D,a+=n*L,c+=n*U,u+=n*q,l+=n*H,f+=n*z,d+=n*K,h+=n*F,p+=n*$,g+=n*V,m+=n*J,y+=n*G,b+=n*W,v+=n*Q,w+=n*Z,s+=(n=t[1])*B,a+=n*D,c+=n*L,u+=n*U,l+=n*q,f+=n*H,d+=n*z,h+=n*K,p+=n*F,g+=n*$,m+=n*V,y+=n*J,b+=n*G,v+=n*W,w+=n*Q,_+=n*Z,a+=(n=t[2])*B,c+=n*D,u+=n*L,l+=n*U,f+=n*q,d+=n*H,h+=n*z,p+=n*K,g+=n*F,m+=n*$,y+=n*V,b+=n*J,v+=n*G,w+=n*W,_+=n*Q,k+=n*Z,c+=(n=t[3])*B,u+=n*D,l+=n*L,f+=n*U,d+=n*q,h+=n*H,p+=n*z,g+=n*K,m+=n*F,y+=n*$,b+=n*V,v+=n*J,w+=n*G,_+=n*W,k+=n*Q,O+=n*Z,u+=(n=t[4])*B,l+=n*D,f+=n*L,d+=n*U,h+=n*q,p+=n*H,g+=n*z,m+=n*K,y+=n*F,b+=n*$,v+=n*V,w+=n*J,_+=n*G,k+=n*W,O+=n*Q,S+=n*Z,l+=(n=t[5])*B,f+=n*D,d+=n*L,h+=n*U,p+=n*q,g+=n*H,m+=n*z,y+=n*K,b+=n*F,v+=n*$,w+=n*V,_+=n*J,k+=n*G,O+=n*W,S+=n*Q,E+=n*Z,f+=(n=t[6])*B,d+=n*D,h+=n*L,p+=n*U,g+=n*q,m+=n*H,y+=n*z,b+=n*K,v+=n*F,w+=n*$,_+=n*V,k+=n*J,O+=n*G,S+=n*W,E+=n*Q,j+=n*Z,d+=(n=t[7])*B,h+=n*D,p+=n*L,g+=n*U,m+=n*q,y+=n*H,b+=n*z,v+=n*K,w+=n*F,_+=n*$,k+=n*V,O+=n*J,S+=n*G,E+=n*W,j+=n*Q,P+=n*Z,h+=(n=t[8])*B,p+=n*D,g+=n*L,m+=n*U,y+=n*q,b+=n*H,v+=n*z,w+=n*K,_+=n*F,k+=n*$,O+=n*V,S+=n*J,E+=n*G,j+=n*W,P+=n*Q,A+=n*Z,p+=(n=t[9])*B,g+=n*D,m+=n*L,y+=n*U,b+=n*q,v+=n*H,w+=n*z,_+=n*K,k+=n*F,O+=n*$,S+=n*V,E+=n*J,j+=n*G,P+=n*W,A+=n*Q,x+=n*Z,g+=(n=t[10])*B,m+=n*D,y+=n*L,b+=n*U,v+=n*q,w+=n*H,_+=n*z,k+=n*K,O+=n*F,S+=n*$,E+=n*V,j+=n*J,P+=n*G,A+=n*W,x+=n*Q,M+=n*Z,m+=(n=t[11])*B,y+=n*D,b+=n*L,v+=n*U,w+=n*q,_+=n*H,k+=n*z,O+=n*K,S+=n*F,E+=n*$,j+=n*V,P+=n*J,A+=n*G,x+=n*W,M+=n*Q,I+=n*Z,y+=(n=t[12])*B,b+=n*D,v+=n*L,w+=n*U,_+=n*q,k+=n*H,O+=n*z,S+=n*K,E+=n*F,j+=n*$,P+=n*V,A+=n*J,x+=n*G,M+=n*W,I+=n*Q,C+=n*Z,b+=(n=t[13])*B,v+=n*D,w+=n*L,_+=n*U,k+=n*q,O+=n*H,S+=n*z,E+=n*K,j+=n*F,P+=n*$,A+=n*V,x+=n*J,M+=n*G,I+=n*W,C+=n*Q,R+=n*Z,v+=(n=t[14])*B,w+=n*D,_+=n*L,k+=n*U,O+=n*q,S+=n*H,E+=n*z,j+=n*K,P+=n*F,A+=n*$,x+=n*V,M+=n*J,I+=n*G,C+=n*W,R+=n*Q,T+=n*Z,w+=(n=t[15])*B,s+=38*(k+=n*L),a+=38*(O+=n*U),c+=38*(S+=n*q),u+=38*(E+=n*H),l+=38*(j+=n*z),f+=38*(P+=n*K),d+=38*(A+=n*F),h+=38*(x+=n*$),p+=38*(M+=n*V),g+=38*(I+=n*J),m+=38*(C+=n*G),y+=38*(R+=n*W),b+=38*(T+=n*Q),v+=38*(N+=n*Z),i=(n=(i+=38*(_+=n*D))+(o=1)+65535)-65536*(o=Math.floor(n/65536)),s=(n=s+o+65535)-65536*(o=Math.floor(n/65536)),a=(n=a+o+65535)-65536*(o=Math.floor(n/65536)),c=(n=c+o+65535)-65536*(o=Math.floor(n/65536)),u=(n=u+o+65535)-65536*(o=Math.floor(n/65536)),l=(n=l+o+65535)-65536*(o=Math.floor(n/65536)),f=(n=f+o+65535)-65536*(o=Math.floor(n/65536)),d=(n=d+o+65535)-65536*(o=Math.floor(n/65536)),h=(n=h+o+65535)-65536*(o=Math.floor(n/65536)),p=(n=p+o+65535)-65536*(o=Math.floor(n/65536)),g=(n=g+o+65535)-65536*(o=Math.floor(n/65536)),m=(n=m+o+65535)-65536*(o=Math.floor(n/65536)),y=(n=y+o+65535)-65536*(o=Math.floor(n/65536)),b=(n=b+o+65535)-65536*(o=Math.floor(n/65536)),v=(n=v+o+65535)-65536*(o=Math.floor(n/65536)),w=(n=w+o+65535)-65536*(o=Math.floor(n/65536)),i=(n=(i+=o-1+37*(o-1))+(o=1)+65535)-65536*(o=Math.floor(n/65536)),s=(n=s+o+65535)-65536*(o=Math.floor(n/65536)),a=(n=a+o+65535)-65536*(o=Math.floor(n/65536)),c=(n=c+o+65535)-65536*(o=Math.floor(n/65536)),u=(n=u+o+65535)-65536*(o=Math.floor(n/65536)),l=(n=l+o+65535)-65536*(o=Math.floor(n/65536)),f=(n=f+o+65535)-65536*(o=Math.floor(n/65536)),d=(n=d+o+65535)-65536*(o=Math.floor(n/65536)),h=(n=h+o+65535)-65536*(o=Math.floor(n/65536)),p=(n=p+o+65535)-65536*(o=Math.floor(n/65536)),g=(n=g+o+65535)-65536*(o=Math.floor(n/65536)),m=(n=m+o+65535)-65536*(o=Math.floor(n/65536)),y=(n=y+o+65535)-65536*(o=Math.floor(n/65536)),b=(n=b+o+65535)-65536*(o=Math.floor(n/65536)),v=(n=v+o+65535)-65536*(o=Math.floor(n/65536)),w=(n=w+o+65535)-65536*(o=Math.floor(n/65536)),i+=o-1+37*(o-1),e[0]=i,e[1]=s,e[2]=a,e[3]=c,e[4]=u,e[5]=l,e[6]=f,e[7]=d,e[8]=h,e[9]=p,e[10]=g,e[11]=m,e[12]=y,e[13]=b,e[14]=v,e[15]=w}function E(e,t){S(e,t,t)}function j(e,t){var r,n=o();for(r=0;r<16;r++)n[r]=t[r];for(r=253;r>=0;r--)E(n,n),2!==r&&4!==r&&S(n,n,t);for(r=0;r<16;r++)e[r]=n[r]}function P(e,t,r){var n,i,s=new Uint8Array(32),c=new Float64Array(80),u=o(),l=o(),f=o(),d=o(),h=o(),p=o();for(i=0;i<31;i++)s[i]=t[i];for(s[31]=127&t[31]|64,s[0]&=248,_(c,r),i=0;i<16;i++)l[i]=c[i],d[i]=u[i]=f[i]=0;for(u[0]=d[0]=1,i=254;i>=0;--i)y(u,l,n=s[i>>>3]>>>(7&i)&1),y(f,d,n),k(h,u,f),O(u,u,f),k(f,l,d),O(l,l,d),E(d,h),E(p,u),S(u,f,u),S(f,l,h),k(h,u,f),O(u,u,f),E(l,u),O(f,d,p),S(u,f,a),k(u,u,d),S(f,f,u),S(u,d,p),S(d,l,c),E(l,h),y(u,l,n),y(f,d,n);for(i=0;i<16;i++)c[i+16]=u[i],c[i+32]=f[i],c[i+48]=l[i],c[i+64]=d[i];var g=c.subarray(32),m=c.subarray(16);return j(g,g),S(m,m,g),b(e,m),0}var A=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function x(e,t,r,n){for(var o,i,s,a,c,u,l,f,d,h,p,g,m,y,b,v,w,_,k,O,S,E,j,P,x,M,I=new Int32Array(16),C=new Int32Array(16),R=e[0],T=e[1],N=e[2],B=e[3],D=e[4],L=e[5],U=e[6],q=e[7],H=t[0],z=t[1],K=t[2],F=t[3],$=t[4],V=t[5],J=t[6],G=t[7],W=0;n>=128;){for(k=0;k<16;k++)O=8*k+W,I[k]=r[O+0]<<24|r[O+1]<<16|r[O+2]<<8|r[O+3],C[k]=r[O+4]<<24|r[O+5]<<16|r[O+6]<<8|r[O+7];for(k=0;k<80;k++)if(o=R,i=T,s=N,a=B,c=D,u=L,l=U,q,d=H,h=z,p=K,g=F,m=$,y=V,b=J,G,j=65535&(E=G),P=E>>>16,x=65535&(S=q),M=S>>>16,j+=65535&(E=($>>>14|D<<18)^($>>>18|D<<14)^(D>>>9|$<<23)),P+=E>>>16,x+=65535&(S=(D>>>14|$<<18)^(D>>>18|$<<14)^($>>>9|D<<23)),M+=S>>>16,j+=65535&(E=$&V^~$&J),P+=E>>>16,x+=65535&(S=D&L^~D&U),M+=S>>>16,j+=65535&(E=A[2*k+1]),P+=E>>>16,x+=65535&(S=A[2*k]),M+=S>>>16,S=I[k%16],P+=(E=C[k%16])>>>16,x+=65535&S,M+=S>>>16,x+=(P+=(j+=65535&E)>>>16)>>>16,j=65535&(E=_=65535&j|P<<16),P=E>>>16,x=65535&(S=w=65535&x|(M+=x>>>16)<<16),M=S>>>16,j+=65535&(E=(H>>>28|R<<4)^(R>>>2|H<<30)^(R>>>7|H<<25)),P+=E>>>16,x+=65535&(S=(R>>>28|H<<4)^(H>>>2|R<<30)^(H>>>7|R<<25)),M+=S>>>16,P+=(E=H&z^H&K^z&K)>>>16,x+=65535&(S=R&T^R&N^T&N),M+=S>>>16,f=65535&(x+=(P+=(j+=65535&E)>>>16)>>>16)|(M+=x>>>16)<<16,v=65535&j|P<<16,j=65535&(E=g),P=E>>>16,x=65535&(S=a),M=S>>>16,P+=(E=_)>>>16,x+=65535&(S=w),M+=S>>>16,T=o,N=i,B=s,D=a=65535&(x+=(P+=(j+=65535&E)>>>16)>>>16)|(M+=x>>>16)<<16,L=c,U=u,q=l,R=f,z=d,K=h,F=p,$=g=65535&j|P<<16,V=m,J=y,G=b,H=v,k%16==15)for(O=0;O<16;O++)S=I[O],j=65535&(E=C[O]),P=E>>>16,x=65535&S,M=S>>>16,S=I[(O+9)%16],j+=65535&(E=C[(O+9)%16]),P+=E>>>16,x+=65535&S,M+=S>>>16,w=I[(O+1)%16],j+=65535&(E=((_=C[(O+1)%16])>>>1|w<<31)^(_>>>8|w<<24)^(_>>>7|w<<25)),P+=E>>>16,x+=65535&(S=(w>>>1|_<<31)^(w>>>8|_<<24)^w>>>7),M+=S>>>16,w=I[(O+14)%16],P+=(E=((_=C[(O+14)%16])>>>19|w<<13)^(w>>>29|_<<3)^(_>>>6|w<<26))>>>16,x+=65535&(S=(w>>>19|_<<13)^(_>>>29|w<<3)^w>>>6),M+=S>>>16,M+=(x+=(P+=(j+=65535&E)>>>16)>>>16)>>>16,I[O]=65535&x|M<<16,C[O]=65535&j|P<<16;j=65535&(E=H),P=E>>>16,x=65535&(S=R),M=S>>>16,S=e[0],P+=(E=t[0])>>>16,x+=65535&S,M+=S>>>16,M+=(x+=(P+=(j+=65535&E)>>>16)>>>16)>>>16,e[0]=R=65535&x|M<<16,t[0]=H=65535&j|P<<16,j=65535&(E=z),P=E>>>16,x=65535&(S=T),M=S>>>16,S=e[1],P+=(E=t[1])>>>16,x+=65535&S,M+=S>>>16,M+=(x+=(P+=(j+=65535&E)>>>16)>>>16)>>>16,e[1]=T=65535&x|M<<16,t[1]=z=65535&j|P<<16,j=65535&(E=K),P=E>>>16,x=65535&(S=N),M=S>>>16,S=e[2],P+=(E=t[2])>>>16,x+=65535&S,M+=S>>>16,M+=(x+=(P+=(j+=65535&E)>>>16)>>>16)>>>16,e[2]=N=65535&x|M<<16,t[2]=K=65535&j|P<<16,j=65535&(E=F),P=E>>>16,x=65535&(S=B),M=S>>>16,S=e[3],P+=(E=t[3])>>>16,x+=65535&S,M+=S>>>16,M+=(x+=(P+=(j+=65535&E)>>>16)>>>16)>>>16,e[3]=B=65535&x|M<<16,t[3]=F=65535&j|P<<16,j=65535&(E=$),P=E>>>16,x=65535&(S=D),M=S>>>16,S=e[4],P+=(E=t[4])>>>16,x+=65535&S,M+=S>>>16,M+=(x+=(P+=(j+=65535&E)>>>16)>>>16)>>>16,e[4]=D=65535&x|M<<16,t[4]=$=65535&j|P<<16,j=65535&(E=V),P=E>>>16,x=65535&(S=L),M=S>>>16,S=e[5],P+=(E=t[5])>>>16,x+=65535&S,M+=S>>>16,M+=(x+=(P+=(j+=65535&E)>>>16)>>>16)>>>16,e[5]=L=65535&x|M<<16,t[5]=V=65535&j|P<<16,j=65535&(E=J),P=E>>>16,x=65535&(S=U),M=S>>>16,S=e[6],P+=(E=t[6])>>>16,x+=65535&S,M+=S>>>16,M+=(x+=(P+=(j+=65535&E)>>>16)>>>16)>>>16,e[6]=U=65535&x|M<<16,t[6]=J=65535&j|P<<16,j=65535&(E=G),P=E>>>16,x=65535&(S=q),M=S>>>16,S=e[7],P+=(E=t[7])>>>16,x+=65535&S,M+=S>>>16,M+=(x+=(P+=(j+=65535&E)>>>16)>>>16)>>>16,e[7]=q=65535&x|M<<16,t[7]=G=65535&j|P<<16,W+=128,n-=128}return n}function M(e,t,r){var n,o=new Int32Array(8),i=new Int32Array(8),s=new Uint8Array(256),a=r;for(o[0]=1779033703,o[1]=3144134277,o[2]=1013904242,o[3]=2773480762,o[4]=1359893119,o[5]=2600822924,o[6]=528734635,o[7]=1541459225,i[0]=4089235720,i[1]=2227873595,i[2]=4271175723,i[3]=1595750129,i[4]=2917565137,i[5]=725511199,i[6]=4215389547,i[7]=327033209,x(o,i,t,r),r%=128,n=0;n=0;--o)C(e,t,n=r[o/8|0]>>(7&o)&1),I(t,e),I(e,e),C(e,t,n)}function N(e,t){var r=[o(),o(),o(),o()];g(r[0],l),g(r[1],f),g(r[2],s),S(r[3],l,f),T(e,r,t)}var B=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function D(e,t){var r,n,o,i;for(n=63;n>=32;--n){for(r=0,o=n-32,i=n-12;o>8,t[o]-=256*r;t[o]+=r,t[n]=0}for(r=0,o=0;o<32;o++)t[o]+=r-(t[31]>>4)*B[o],r=t[o]>>8,t[o]&=255;for(o=0;o<32;o++)t[o]-=r*B[o];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function L(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;D(e,r)}function U(e,t,r,n,i){for(var s=new Uint8Array(64),a=[o(),o(),o(),o()],c=0;c<32;c++)s[c]=n[c];s[0]&=248,s[31]&=127,s[31]|=64,N(a,s),R(s.subarray(32),a);var u,l=128&s[63];return u=i?function(e,t,r,n,i){var s,a,c=new Uint8Array(64),u=new Uint8Array(64),l=new Float64Array(64),f=[o(),o(),o(),o()];for(e[0]=254,s=1;s<32;s++)e[s]=255;for(s=0;s<32;s++)e[32+s]=n[s];for(s=0;s=0;r--)E(n,n),1!==r&&S(n,n,t);for(r=0;r<16;r++)e[r]=n[r]}(r,r),S(r,r,a),S(r,r,u),S(r,r,u),S(e[0],r,u),E(n,e[0]),S(n,n,u),v(n,a)&&S(e[0],e[0],d),E(n,e[0]),S(n,n,u),v(n,a)?-1:(w(e[0])===t[31]>>7&&O(e[0],i,e[0]),S(e[3],e[0],e[1]),0)}function H(e,t,r,n){var i=function(e){var t=new Uint8Array(32),r=o(),n=o(),i=o();return _(r,e),k(n,r,s),O(i,r,s),j(n,n),S(n,n,i),b(t,n),t}(n);return i[31]|=128&t[63],t[63]&=127,function(e,t,r,n){var i,s=new Uint8Array(32),a=new Uint8Array(64),c=[o(),o(),o(),o()],u=[o(),o(),o(),o()];if(-1,r<64)return-1;if(q(u,n))return-1;for(i=0;i=0},t.generateKeyPair=function(e){if(z(e),32!==e.length)throw new Error("wrong seed length");for(var t=new Uint8Array(32),r=new Uint8Array(32),o=0;o<32;o++)t[o]=e[o];return P(r,t,n),t[0]&=248,t[31]&=127,t[31]|=64,r[31]&=127,{public:r,private:t}},t.default={}},function(e,t,r){(function(n,o){var i;!function(s){"use strict";function a(e,t){if(t=t||{type:"Array"},void 0!==n&&"number"==typeof n.pid&&n.versions&&n.versions.node)return function(e,t){var n=r(771).randomBytes(e);switch(t.type){case"Array":return[].slice.call(n);case"Buffer":return n;case"Uint8Array":for(var o=new Uint8Array(e),i=0;i0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1] "+m.message,new Error("UnsupportedEnvironments: "+s);case 14:return[2,new Uint8Array(i)]}}))}))};var l=function(e,t,r){return n(void 0,void 0,void 0,(function(){var n,i,s,c,l,f,d,h;return o(this,(function(o){switch(o.label){case 0:return n=a.default.hashes[r].blockSize,i=a.default.hashes[r].hashSize,e.length>n?[4,u.default.compute(e,r)]:[3,2];case 1:e=o.sent(),o.label=2;case 2:return(s=new Uint8Array(n)).set(e),c=s.map((function(e){return 255&(54^e)})),l=s.map((function(e){return 255&(92^e)})),(f=new Uint8Array(n+t.length)).set(c),f.set(t,n),[4,u.default.compute(f,r)];case 3:return d=o.sent(),(h=new Uint8Array(n+i)).set(l),h.set(d,n),[2,u.default.compute(h,r)]}}))}))};t.verify=function(e,r,i,s){return void 0===s&&(s="SHA-256"),n(void 0,void 0,void 0,(function(){var n;return o(this,(function(o){switch(o.label){case 0:return[4,t.compute(e,r,s)];case 1:return n=o.sent(),[2,i.toString()===n.toString()]}}))}))};var f=function(e,t,r,n,o,i){return new Promise((function(s,a){var c=i.importKey(e,t,r,n,o);c.oncomplete=function(e){s(e.target.result)},c.onerror=function(){a("KeyImportingFailed")}}))},d=function(e,t,r,n){return new Promise((function(o,i){var s=n.sign({name:"HMAC",hash:{name:e}},t,r);s.oncomplete=function(e){o(new Uint8Array(e.target.result))},s.onerror=function(){i("ComputingHMACFailed")}}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={hashes:{"SHA3-512":{nodeName:"sha3-512",hashSize:64,blockSize:72},"SHA3-384":{nodeName:"sha3-384",hashSize:48,blockSize:104},"SHA3-256":{nodeName:"sha3-256",hashSize:32,blockSize:136},"SHA3-224":{nodeName:"sha3-224",hashSize:28,blockSize:144},"SHA-256":{nodeName:"sha256",hashSize:32,blockSize:64},"SHA-384":{nodeName:"sha384",hashSize:48,blockSize:128},"SHA-512":{nodeName:"sha512",hashSize:64,blockSize:128},"SHA-1":{nodeName:"sha1",hashSize:20,blockSize:64},MD5:{nodeName:"md5",hashSize:16,blockSize:64}}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,n=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1] "+e.message,new Error("UnsupportedEnvironment: "+i)}return[2,new Uint8Array(n)]}}))}))};var d=function(e,t,r){return new Promise((function(n,o){var i=r.digest(e,t);i.oncomplete=function(e){n(e.target.result)},i.onerror=function(e){o(e)}}))},h=function(e,t,r){var n=c.default.hashes[e].nodeName,o=r.createHash(n);return o.update(t),o.digest()},p=function(e,t){var n;if("MD5"===e)n=u.default(Array.from(t),{asBytes:!0});else if(["SHA3-512","SHA3-384","SHA3-256","SHA3-224"].indexOf(e)>=0){var o=8*c.default.hashes[e].hashSize,i=new l.SHA3(o),s=r(2).Buffer;i.update(s.from(t)),n=i.digest("binary")}else n=f.default[c.default.hashes[e].nodeName]().update(t).digest();return new Uint8Array(n)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={hashes:{"SHA3-512":{nodeName:"sha3-512",hashSize:64},"SHA3-384":{nodeName:"sha3-384",hashSize:48},"SHA3-256":{nodeName:"sha3-256",hashSize:32},"SHA3-224":{nodeName:"sha3-224",hashSize:28},"SHA-256":{nodeName:"sha256",hashSize:32},"SHA-384":{nodeName:"sha384",hashSize:48},"SHA-512":{nodeName:"sha512",hashSize:64},"SHA-1":{nodeName:"sha1",hashSize:20},MD5:{nodeName:"md5",hashSize:16}}}},function(e,t,r){var n,o,i,s,a;n=r(782),o=r(375).utf8,i=r(783),s=r(375).bin,(a=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?s.stringToBytes(e):o.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var r=n.bytesToWords(e),c=8*e.length,u=1732584193,l=-271733879,f=-1732584194,d=271733878,h=0;h>>24)|4278255360&(r[h]<<24|r[h]>>>8);r[c>>>5]|=128<>>9<<4)]=c;var p=a._ff,g=a._gg,m=a._hh,y=a._ii;for(h=0;h>>0,l=l+v>>>0,f=f+w>>>0,d=d+_>>>0}return n.endian([u,l,f,d])})._ff=function(e,t,r,n,o,i,s){var a=e+(t&r|~t&n)+(o>>>0)+s;return(a<>>32-i)+t},a._gg=function(e,t,r,n,o,i,s){var a=e+(t&n|r&~n)+(o>>>0)+s;return(a<>>32-i)+t},a._hh=function(e,t,r,n,o,i,s){var a=e+(t^r^n)+(o>>>0)+s;return(a<>>32-i)+t},a._ii=function(e,t,r,n,o,i,s){var a=e+(r^(t|~n))+(o>>>0)+s;return(a<>>32-i)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var r=n.wordsToBytes(a(e,t));return t&&t.asBytes?r:t&&t.asString?s.bytesToString(r):n.bytesToHex(r)}},function(e,t){var r,n;r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],r=0,n=0;r>>5]|=e[r]<<24-n%32;return t},wordsToBytes:function(e){for(var t=[],r=0;r<32*e.length;r+=8)t.push(e[r>>>5]>>>24-r%32&255);return t},bytesToHex:function(e){for(var t=[],r=0;r>>4).toString(16)),t.push((15&e[r]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],r=0;r>>6*(3-i)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],n=0,o=0;n>>6-2*o);return t}},e.exports=n},function(e,t){function r(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)} -/*! - * Determine if an object is a Buffer - * - * @author Feross Aboukhadijeh - * @license MIT - */ -e.exports=function(e){return null!=e&&(r(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&r(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SHAKE=t.SHA3Hash=t.SHA3=t.Keccak=void 0;var n,o=r(2),i=(n=r(785))&&n.__esModule?n:{default:n};var s=function(e){var t=e.allowedSizes,r=e.padding;return function e(){var n=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:512;if(!this||this.constructor!==e)return new e(s);if(t&&!t.includes(s))throw new Error("Unsupported hash length");var a=new i.default({capacity:s});return this.update=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"utf8";if(o.Buffer.isBuffer(e))return a.absorb(e),n;if("string"==typeof e)return n.update(o.Buffer.from(e,t));throw new TypeError("Not a string or buffer")},this.digest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"binary",t="string"==typeof e?{format:e}:e,n=a.squeeze({buffer:t.buffer,padding:t.padding||r});return t.format&&"binary"!==t.format?n.toString(t.format):n},this.reset=function(){return a.reset(),n},this}},a=s({allowedSizes:[224,256,384,512],padding:1});t.Keccak=a;var c=s({allowedSizes:[224,256,384,512],padding:6});t.SHA3=c;var u=s({allowedSizes:[128,256],padding:31});t.SHAKE=u;var l=a;t.SHA3Hash=l,c.SHA3Hash=l;var f=c;t.default=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=r(2),i=(n=r(786))&&n.__esModule?n:{default:n};var s=function(e,t){for(var r=0;r>>8,t[r+2]=e[n+1]>>>16,t[r+3]=e[n+1]>>>24,t[r+4]=e[n],t[r+5]=e[n]>>>8,t[r+6]=e[n]>>>16,t[r+7]=e[n]>>>24}return t},c=function(e){var t=this,r=e.capacity,n=e.padding,c=(0,i.default)(),u=r/8,l=200-r/4,f=0,d=new Uint32Array(50),h=o.Buffer.allocUnsafe(l);return this.absorb=function(e){for(var r=0;r=l&&(s(h,d),c(d),f=0);return t},this.squeeze=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={buffer:e.buffer||o.Buffer.allocUnsafe(u),padding:e.padding||n,queue:o.Buffer.allocUnsafe(h.length),state:new Uint32Array(d.length)};h.copy(t.queue);for(var r=0;r>>l,s[(u+1)%2]=c<>>l,(0,i.default)(s,0)(t,d),(0,i.default)(r,0)(s,0)}};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=[10,7,11,17,18,3,5,16,8,21,24,4,15,23,19,13,12,2,20,14,22,9,6,1];t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=[1,3,6,10,15,21,28,36,45,55,2,14,27,41,56,8,25,43,62,18,39,61,20,44];t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(202))&&n.__esModule?n:{default:n};var i=function(e){for(var t=e.A,r=e.C,n=e.D,i=e.W,s=0,a=0,c=0;c<5;c++){var u=2*c,l=2*(c+5),f=2*(c+10),d=2*(c+15),h=2*(c+20);r[u]=t[u]^t[l]^t[f]^t[d]^t[h],r[u+1]=t[u+1]^t[l+1]^t[f+1]^t[d+1]^t[h+1]}for(var p=0;p<5;p++){(0,o.default)(r,(p+1)%5)(i,0),s=i[0],a=i[1],i[0]=s<<1|a>>>31,i[1]=a<<1|s>>>31,n[2*p]=r[(p+4)%5*2]^i[0],n[2*p+1]=r[(p+4)%5*2+1]^i[1];for(var g=0;g<25;g+=5)t[2*(g+p)]^=n[2*p],t[2*(g+p)+1]^=n[2*p+1]}};t.default=i},function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o,i,s=n(r(376)),a=n(r(796));!function(e){e.encodeBase64=s.encodeBase64,e.decodeBase64=s.decodeBase64,e.encodeBase64Url=s.encodeBase64Url,e.decodeBase64Url=s.decodeBase64Url,e.arrayBufferToHexString=s.arrayBufferToHexString,e.hexStringToArrayBuffer=s.hexStringToArrayBuffer,e.stringToArrayBuffer=s.stringToArrayBuffer,e.arrayBufferToString=s.arrayBufferToString}(o=t.encoder||(t.encoder={})),function(e){e.binToPem=a.binToPem,e.pemToBin=a.pemToBin}(i=t.formatter||(t.formatter={})),t.default={encoder:o,formatter:i}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getEnvBtoa=function(){return"undefined"!=typeof window?window.btoa:r},t.getEnvAtob=function(){return"undefined"!=typeof window?window.atob:n};var r=function(t){if(void 0===e)throw new Error("UnsupportedEnvironment");return e.from(t.toString(),"binary").toString("base64")},n=function(t){if(void 0===e)throw new Error("UnsupportedEnvironment");return e.from(t,"base64").toString("binary")}}).call(this,r(2).Buffer)},function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(376)),i={public:"PUBLIC KEY",private:"PRIVATE KEY",encryptedPrivate:"ENCRYPTED PRIVATE KEY",certificate:"CERTIFICATE",certRequest:"CERTIFICATE REQUEST"};t.pemToBin=function(e){var t=a(e);return o.decodeBase64(t)},t.binToPem=function(e,t){var r=o.encodeBase64(e);return s(r,t)};var s=function(e,t){for(var r=i[t],n="-----BEGIN "+r+"-----\n";e.length>0;)n+=e.substring(0,64)+"\n",e=e.substring(64);return n=n+"-----END "+r+"-----"},a=function(e){var t=RegExp("^-----[s]*BEGIN[^-]*-----$","gm"),r=RegExp("^-----[s]*END[^-]*-----$","gm");try{var n=e.split(t)[1].split(r)[0];return n=n.replace(/\r?\n/g,"")}catch(e){throw new Error("Invalid format as PEM")}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,n=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]Math.pow(2,32)-1)throw new Error("TooLongKeyDataIndicated");u=new Uint8Array(s.default.hashes[i].hashSize*n),l=new Uint8Array(4),f=0,o.label=1;case 1:return f0;)e[r-1]+=t&&0===e[r]?1:0,t=t&&0===e[r],r--;return e}},function(e,t,r){"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,o,i;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(o=n;0!=o--;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(i=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(r,i[o]))return!1;for(o=n;0!=o--;){var s=i[o];if(!e(t[s],r[s]))return!1}return!0}return t!=t&&r!=r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(105),o=r(204);function i(e){return[n.Slip10RawIndex.hardened(44),n.Slip10RawIndex.hardened(529),n.Slip10RawIndex.hardened(0),n.Slip10RawIndex.normal(0),n.Slip10RawIndex.normal(e)]}t.makeSecretNetworkPath=i;class s{constructor(e,t){this.privkey=e,this.pubkey=t}static async fromMnemonic(e,t=i(0)){const r=await n.Bip39.mnemonicToSeed(new n.EnglishMnemonic(e)),{privkey:o}=n.Slip10.derivePath(n.Slip10Curve.Secp256k1,r,t),a=(await n.Secp256k1.makeKeypair(o)).pubkey;return new s(o,n.Secp256k1.compressPubkey(a))}async sign(e,t="sha256"){const r=function(e,t){switch(t){case null:return new Uint8Array([...e]);case"sha256":return new n.Sha256(e).digest();case"sha512":return new n.Sha512(e).digest();default:throw new Error("Unknown prehash type")}}(e,t),i=await n.Secp256k1.createSignature(r,this.privkey),s=new Uint8Array([...i.r(32),...i.s(32)]);return o.encodeSecp256k1Signature(this.pubkey,s)}}t.Secp256k1Pen=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(105),o=r(196),i=r(204);t.findSequenceForSignedTx=async function(e,t,r,s,a=0){const c=e.value.signatures.find(()=>!0);if(!c)throw new Error("Signature missing in tx");const{pubkey:u,signature:l}=i.decodeSignature(c),f=n.Secp256k1Signature.fromFixedLength(l);for(let i=a;ii.Encoding.fromBase64(e.value.msg).slice(0,32)),h=await this.restClient.decryptDataField(f.data,d);return{logs:await this.restClient.decryptLogs(f.logs,d),transactionHash:f.transactionHash,data:h}}async execute(e,t,r="",n,o=this.fees.exec,s){s?this.restClient.codeHashCache.set(e,s):s=await this.restClient.getCodeHashByContractAddr(e);const a={type:"wasm/MsgExecuteContract",value:{sender:this.senderAddress,contract:e,callback_code_hash:"",msg:i.Encoding.toBase64(await this.restClient.enigmautils.encrypt(s,t)),sent_funds:null!=n?n:[],callback_sig:null}},{accountNumber:c,sequence:u}=await this.getNonce(),l=await this.getChainId(),f=await this.signAdapter([a],o,l,r,c,u),d=i.Encoding.fromBase64(a.value.msg).slice(0,32);let h;try{h=await this.postTx(f)}catch(e){try{const t=/contract failed: encrypted: (.+?): failed to execute message; message index: 0/g.exec(e.message);if(null==t||2!=t.length)throw e;const r=t[1],n=i.Encoding.fromBase64(r),o=await this.restClient.enigmautils.decrypt(n,d);e.message=e.message.replace(r,i.Encoding.fromUtf8(o))}catch(t){throw new Error(`Failed to decrypt the following error message: ${e.message}. Decryption error of the error message: ${t.message}`)}throw e}const p=await this.restClient.decryptDataField(h.data,[d]);return{logs:await this.restClient.decryptLogs(h.logs,[d]),transactionHash:h.transactionHash,data:p}}async sendTokens(e,t,r="",n=this.fees.send){const o={type:"cosmos-sdk/MsgSend",value:{from_address:this.senderAddress,to_address:e,amount:t}},{accountNumber:i,sequence:s}=await this.getNonce(),a=await this.getChainId(),c=await this.signAdapter([o],n,a,r,i,s);return this.postTx(c)}}t.SigningCosmWasmClient=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=new RegExp("^[a-z0-9][a-z0-9._-]*[a-z0-9](/[a-z0-9][a-z0-9._-]*[a-z0-9])+:[a-zA-Z0-9_][a-zA-Z0-9_.-]{0,127}$");t.isValidBuilder=function(e){return!(e.length>128)&&!!e.match(n)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(205),o=r(378),i=r(804);t.init=function(e,t){e.registerMessage(n.GetPubkeyMsg),e.registerMessage(n.ReqeustEncryptMsg),e.registerMessage(n.RequestDecryptMsg),e.registerMessage(n.GetTxEncryptionKeyMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(205);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.GetPubkeyMsg:return i(e)(t,r);case o.ReqeustEncryptMsg:return s(e)(t,r);case o.RequestDecryptMsg:return a(e)(t,r);case o.GetTxEncryptionKeyMsg:return c(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.getPubkey(t,r.chainId)})),s=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.encrypt(t,r.chainId,r.contractCodeHash,r.msg)})),a=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.decrypt(t,r.chainId,r.cipherText,r.nonce)})),c=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.getTxEncryptionKey(t,r.chainId,r.nonce)}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(379),t),o(r(806),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(206),o=r(380),i=r(807);t.init=function(e,t){e.registerMessage(n.SendTxMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(206);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.SendTxMsg:return i(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.sendTx(r.chainId,r.tx,r.mode)}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(335),t),o(r(809),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(178),o=r(337),i=r(810);t.init=function(e,t){e.registerMessage(n.TryUpdateChainMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(178);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.TryUpdateChainMsg:return i(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.tryUpdateChain(r.chainId)}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(381),t),o(r(812),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(142),o=r(382),i=r(813);t.init=function(e,t){e.registerMessage(n.GetTokensMsg),e.registerMessage(n.SuggestTokenMsg),e.registerMessage(n.AddTokenMsg),e.registerMessage(n.RemoveTokenMsg),e.registerMessage(n.GetSecret20ViewingKey),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(142);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.GetTokensMsg:return i(e)(t,r);case o.SuggestTokenMsg:return s(e)(t,r);case o.AddTokenMsg:return a(e)(t,r);case o.RemoveTokenMsg:return c(e)(t,r);case o.GetSecret20ViewingKey:return u(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.getTokens(r.chainId)})),s=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.suggestToken(t,r.chainId,r.contractAddress,r.viewingKey)})),a=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.addToken(r.chainId,r.currency)})),c=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.removeToken(r.chainId,r.currency)})),u=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,r.chainId,r.origin),yield e.getSecret20ViewingKey(r.chainId,r.contractAddress)}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(338),t),o(r(815),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(180),o=r(341),i=r(816);t.init=function(e,t){e.registerMessage(n.ApproveInteractionMsg),e.registerMessage(n.RejectInteractionMsg),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const n=r(180);t.getHandler=e=>(t,r)=>{switch(r.constructor){case n.ApproveInteractionMsg:return o(e)(t,r);case n.RejectInteractionMsg:return i(e)(t,r);default:throw new Error("Unknown msg type")}};const o=e=>(t,r)=>e.approve(r.id,r.result),i=e=>(t,r)=>e.reject(r.id)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(351),t),o(r(818),t)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const n=r(192),o=r(354),i=r(819);t.init=function(e,t){e.registerMessage(n.EnableAccessMsg),e.registerMessage(n.GetPermissionOriginsMsg),e.registerMessage(n.RemovePermissionOrigin),e.addHandler(o.ROUTE,i.getHandler(t))}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const o=r(192);t.getHandler=e=>(t,r)=>{switch(r.constructor){case o.EnableAccessMsg:return i(e)(t,r);case o.GetPermissionOriginsMsg:return s(e)(t,r);case o.RemovePermissionOrigin:return a(e)(t,r);default:throw new Error("Unknown msg type")}};const i=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){return yield e.checkOrGrantBasicAccessPermission(t,r.chainIds,r.origin)})),s=e=>(t,r)=>e.getPermissionOrigins(r.chainId,r.permissionType),a=e=>(t,r)=>n(void 0,void 0,void 0,(function*(){yield e.removePermission(r.chainId,r.permissionType,[r.permissionOrigin])}))},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(330),t),o(r(177),t)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(359),t),o(r(205),t)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(379),t),o(r(206),t)},function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(381),t),o(r(142),t),o(r(383),t)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Keplr=void 0;const i=r(18),s=r(59),a=r(11),c=r(384),u=r(385),l=o(r(390));t.Keplr=class{constructor(e,t){this.version=e,this.requester=t,this.enigmaUtils=new Map,this.defaultOptions={}}enable(e){return n(this,void 0,void 0,(function*(){"string"==typeof e&&(e=[e]),yield this.requester.sendMessage(i.BACKGROUND_PORT,new s.EnableAccessMsg(e))}))}experimentalSuggestChain(e){return n(this,void 0,void 0,(function*(){const t=new s.SuggestChainInfoMsg(e);yield this.requester.sendMessage(i.BACKGROUND_PORT,t)}))}getKey(e){return n(this,void 0,void 0,(function*(){const t=new s.GetKeyMsg(e);return yield this.requester.sendMessage(i.BACKGROUND_PORT,t)}))}sendTx(e,t,r){return n(this,void 0,void 0,(function*(){const n=new s.SendTxMsg(e,t,r);return yield this.requester.sendMessage(i.BACKGROUND_PORT,n)}))}signAmino(e,t,r,o={}){var a;return n(this,void 0,void 0,(function*(){const n=new s.RequestSignAminoMsg(e,t,r,l.default(null!==(a=this.defaultOptions.sign)&&void 0!==a?a:{},o));return yield this.requester.sendMessage(i.BACKGROUND_PORT,n)}))}signDirect(e,t,r,o={}){var c;return n(this,void 0,void 0,(function*(){const n=new s.RequestSignDirectMsg(e,t,a.cosmos.tx.v1beta1.SignDoc.encode(r).finish(),l.default(null!==(c=this.defaultOptions.sign)&&void 0!==c?c:{},o)),u=yield this.requester.sendMessage(i.BACKGROUND_PORT,n);return{signed:a.cosmos.tx.v1beta1.SignDoc.decode(u.signedBytes),signature:u.signature}}))}getOfflineSigner(e){return new u.CosmJSOfflineSigner(e,this)}getOfflineSignerOnlyAmino(e){return new u.CosmJSOfflineSignerOnlyAmino(e,this)}getOfflineSignerAuto(e){return n(this,void 0,void 0,(function*(){return(yield this.getKey(e)).isNanoLedger?new u.CosmJSOfflineSignerOnlyAmino(e,this):new u.CosmJSOfflineSigner(e,this)}))}suggestToken(e,t,r){return n(this,void 0,void 0,(function*(){const n=new s.SuggestTokenMsg(e,t,r);yield this.requester.sendMessage(i.BACKGROUND_PORT,n)}))}getSecret20ViewingKey(e,t){return n(this,void 0,void 0,(function*(){const r=new s.GetSecret20ViewingKey(e,t);return yield this.requester.sendMessage(i.BACKGROUND_PORT,r)}))}getEnigmaPubKey(e){return n(this,void 0,void 0,(function*(){return yield this.requester.sendMessage(i.BACKGROUND_PORT,new s.GetPubkeyMsg(e))}))}getEnigmaTxEncryptionKey(e,t){return n(this,void 0,void 0,(function*(){return yield this.requester.sendMessage(i.BACKGROUND_PORT,new s.GetTxEncryptionKeyMsg(e,t))}))}enigmaEncrypt(e,t,r){return n(this,void 0,void 0,(function*(){return yield this.requester.sendMessage(i.BACKGROUND_PORT,new s.ReqeustEncryptMsg(e,t,r))}))}enigmaDecrypt(e,t,r){return n(this,void 0,void 0,(function*(){return t&&0!==t.length?yield this.requester.sendMessage(i.BACKGROUND_PORT,new s.RequestDecryptMsg(e,t,r)):new Uint8Array}))}getEnigmaUtils(e){if(this.enigmaUtils.has(e))return this.enigmaUtils.get(e);const t=new c.KeplrEnigmaUtils(e,this);return this.enigmaUtils.set(e,t),t}}},function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InjectedKeplr=void 0;const i=r(11),s=r(384),a=r(107),c=r(385),u=o(r(390));t.InjectedKeplr=class{constructor(e){this.version=e,this.enigmaUtils=new Map,this.defaultOptions={}}static startProxy(e){window.addEventListener("message",t=>n(this,void 0,void 0,(function*(){const r=t.data;if(r&&"proxy-request"===r.type)try{if(!r.id)throw new Error("Empty id");if("version"===r.method)throw new Error("Version is not function");if("defaultOptions"===r.method)throw new Error("DefaultOptions is not function");if(!e[r.method]||"function"!=typeof e[r.method])throw new Error("Invalid method: "+r.method);if("getOfflineSigner"===r.method)throw new Error("GetOfflineSigner method can't be proxy request");if("getOfflineSignerOnlyAmino"===r.method)throw new Error("GetOfflineSignerOnlyAmino method can't be proxy request");if("getOfflineSignerAuto"===r.method)throw new Error("GetOfflineSignerAuto method can't be proxy request");if("getEnigmaUtils"===r.method)throw new Error("GetEnigmaUtils method can't be proxy request");const t=yield e[r.method](...a.JSONUint8Array.unwrap(r.args)),n={type:"proxy-request-response",id:r.id,result:{return:a.JSONUint8Array.wrap(t)}};window.postMessage(n,window.location.origin)}catch(e){const t={type:"proxy-request-response",id:r.id,result:{error:e.message||e.toString()}};window.postMessage(t,window.location.origin)}})))}requestMethod(e,t){const r=new Uint8Array(8),n=Array.from(crypto.getRandomValues(r)).map(e=>e.toString(16)).join(""),o={type:"proxy-request",id:n,method:e,args:a.JSONUint8Array.wrap(t)};return new Promise((e,t)=>{const r=o=>{const i=o.data;if(!i||"proxy-request-response"!==i.type)return;if(i.id!==n)return;window.removeEventListener("message",r);const s=a.JSONUint8Array.unwrap(i.result);s?s.error?t(new Error(s.error)):e(s.return):t(new Error("Result is null"))};window.addEventListener("message",r),window.postMessage(o,window.location.origin)})}enable(e){return n(this,void 0,void 0,(function*(){yield this.requestMethod("enable",[e])}))}experimentalSuggestChain(e){return n(this,void 0,void 0,(function*(){yield this.requestMethod("experimentalSuggestChain",[e])}))}getKey(e){return n(this,void 0,void 0,(function*(){return yield this.requestMethod("getKey",[e])}))}sendTx(e,t,r){return n(this,void 0,void 0,(function*(){return yield this.requestMethod("sendTx",[e,t,r])}))}signAmino(e,t,r,o={}){var i;return n(this,void 0,void 0,(function*(){return yield this.requestMethod("signAmino",[e,t,r,u.default(null!==(i=this.defaultOptions.sign)&&void 0!==i?i:{},o)])}))}signDirect(e,t,r,o={}){var s;return n(this,void 0,void 0,(function*(){const n=yield this.requestMethod("signDirect",[e,t,r,u.default(null!==(s=this.defaultOptions.sign)&&void 0!==s?s:{},o)]),a=n.signed;return{signed:i.cosmos.tx.v1beta1.SignDoc.fromObject(a),signature:n.signature}}))}getOfflineSigner(e){return new c.CosmJSOfflineSigner(e,this)}getOfflineSignerOnlyAmino(e){return new c.CosmJSOfflineSignerOnlyAmino(e,this)}getOfflineSignerAuto(e){return n(this,void 0,void 0,(function*(){return(yield this.getKey(e)).isNanoLedger?new c.CosmJSOfflineSignerOnlyAmino(e,this):new c.CosmJSOfflineSigner(e,this)}))}suggestToken(e,t,r){return n(this,void 0,void 0,(function*(){return yield this.requestMethod("suggestToken",[e,t,r])}))}getSecret20ViewingKey(e,t){return n(this,void 0,void 0,(function*(){return yield this.requestMethod("getSecret20ViewingKey",[e,t])}))}getEnigmaPubKey(e){return n(this,void 0,void 0,(function*(){return yield this.requestMethod("getEnigmaPubKey",[e])}))}getEnigmaTxEncryptionKey(e,t){return n(this,void 0,void 0,(function*(){return yield this.requestMethod("getEnigmaTxEncryptionKey",[e,t])}))}enigmaEncrypt(e,t,r){return n(this,void 0,void 0,(function*(){return yield this.requestMethod("enigmaEncrypt",[e,t,r])}))}enigmaDecrypt(e,t,r){return n(this,void 0,void 0,(function*(){return yield this.requestMethod("enigmaDecrypt",[e,t,r])}))}getEnigmaUtils(e){if(this.enigmaUtils.has(e))return this.enigmaUtils.get(e);const t=new s.KeplrEnigmaUtils(e,this);return this.enigmaUtils.set(e,t),t}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){e.exports=r(1549)},,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(400);var o=r(415);const i=new n.InjectedKeplr(o.version);!function(e,t,r,n,o){window.keplr=e,window.getOfflineSigner=t,window.getOfflineSignerOnlyAmino=r,window.getOfflineSignerAuto=n,window.getEnigmaUtils=o}(i,e=>i.getOfflineSigner(e),e=>i.getOfflineSignerOnlyAmino(e),e=>i.getOfflineSignerAuto(e),e=>i.getEnigmaUtils(e))}]); \ No newline at end of file diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/manifest.json b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/manifest.json deleted file mode 100644 index f19c1815..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/manifest.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "applications": { - "gecko": { - "id": "keplr-extension@keplr.app", - "strict_min_version": "56.0" - } - }, - "background": { - "persistent": true, - "scripts": [ "browser-polyfill.js", "background.bundle.js" ] - }, - "browser_action": { - "default_popup": "popup.html", - "default_title": "Keplr" - }, - "content_scripts": [ { - "all_frames": true, - "js": [ "browser-polyfill.js", "contentScripts.bundle.js" ], - "matches": [ "\u003Call_urls>" ], - "run_at": "document_start" - } ], - "description": "Keplr is a browser extension wallet for the Inter blockchain ecosystem.", - "icons": { - "128": "assets/icon-128.png", - "16": "assets/icon-16.png", - "48": "assets/icon-48.png" - }, - "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuz6vgIeMLGDJFR/tbg5bAxV/7+4wtdM40Ephzun9QSFe1NGbfQwQjagKcJlE06ah7be5iwHUtZfAK1KY22hxIiBfHy5MBkV5iIRuz5achm6EJszyImv8rAB6jIY6aBjn0d2nwQLcAd8OBLR5ppRil7U3riFDGGcrSRuNwoTAfaWQA81AFjewynjmv4erFinFeM6CP209X8Ujz7oLjJeUbLym0lvkj/XHRr2LY7iKClZgipkP2f02252qKULdKzG6qevVE0S0o2N4Rbi6/PHDL+5WS9nBZMUO3jPKYllmzmcgwHdINYfPRHCZ4tpkR7pyQ910URVb/cBrASaGrcQWQwIDAQAB", - "manifest_version": 2, - "name": "Keplr", - "permissions": [ "storage", "notifications", "identity" ], - "update_url": "https://clients2.google.com/service/update2/crx", - "version": "0.8.13", - "web_accessible_resources": [ "injectedScript.bundle.js", "assets/temp-icon.svg" ] -} diff --git a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/popup.bundle.js b/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/popup.bundle.js deleted file mode 100644 index 3591f756..00000000 --- a/.config/google-chrome/Default/Extensions/dmkamcknogkgcdfhhbddcghachkejeap/0.8.13_0/popup.bundle.js +++ /dev/null @@ -1,361 +0,0 @@ -!function(e){function t(t){for(var n,i,o=t[0],a=t[1],s=0,l=[];s - * @license MIT - */ -var r=n(117),i=n(426),o=n(237);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return q(e).length;default:if(r)return F(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return M(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return T(this,t,n);case"latin1":case"binary":return A(this,t,n);case"base64":return O(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function b(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){var o,a=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(o=n;os&&(n=s-c),o=n;o>=0;o--){for(var f=!0,d=0;di&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function O(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function E(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+f<=n)switch(f){case 1:l<128&&(u=l);break;case 2:128==(192&(o=e[i+1]))&&(c=(31&l)<<6|63&o)>127&&(u=c);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(c=(15&l)<<12|(63&o)<<6|63&a)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(c=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(u=c)}null===u?(u=65533,f=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},c.prototype.compare=function(e,t,n,r,i){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),u=e.slice(t,n),f=0;fi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":return _(this,e,t,n);case"latin1":case"binary":return k(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function T(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function C(e,t,n,r,i,o){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function j(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function D(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function R(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(e,t,n,r,o){return o||R(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function B(e,t,n,r,o){return o||R(e,0,n,8),i.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},c.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},c.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||C(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):D(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);C(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);C(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):D(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||C(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return N(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return N(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return B(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return B(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function q(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function z(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(12))},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"g",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return u})); -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */ -var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function l(){for(var e=[],t=0;t1?t-1:0),r=1;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}var U=Symbol("mobx-stored-annotations");function F(e){return Object.assign((function(t,n){q(t,n,e)}),e)}function q(e,t,n){I(e,U)||_(e,U,D({},e[U])),function(e){return"override"===e.annotationType_}(n)||(e[U][t]=n)}var z=Symbol("mobx administration"),V=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=ze.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return yt(this)},t.reportChanged=function(){mt(),gt(this),bt()},t.toString=function(){return this.name_},e}(),H=x("Atom",V);function $(e,t,n){void 0===t&&(t=b),void 0===n&&(n=b);var r=new V(e);return t!==b&&Ut(r,t),n!==b&&Ft(r,n),r}var K={identity:function(e,t){return e===t},structural:function(e,t){return Er(e,t)},default:function(e,t){return Object.is(e,t)},shallow:function(e,t){return Er(e,t,1)}};function W(e,t,n){return ln(e)?e:Array.isArray(e)?xe.array(e,{name:n}):w(e)?xe.object(e,void 0,{name:n}):S(e)?xe.map(e,{name:n}):O(e)?xe.set(e,{name:n}):e}function G(e){return e}var J=F({annotationType_:"override",make_:function(e,t){0;0},extend_:function(e,t,n,i){r("'"+this.annotationType_+"' can only be used with 'makeObservable'")}});function Q(e,t){return{annotationType_:e,options_:t,make_:Y,extend_:Z}}function Y(e,t){for(var n,i,o,a=!1,u=e.target_,f=null!=(n=null==(i=this.options_)?void 0:i.bound)&&n;u&&u!==l;){var d=s(u,t);if(d){if(u===e.target_||f){var p=X(e,this,t,d);if(!e.defineProperty_(t,p))return;if(a=!0,f)break}if(u!==e.target_){if(Dt(d.value)){a=!0;break}var h=X(e,this,t,d,!1);c(u,t,h),a=!0}}u=Object.getPrototypeOf(u)}a?dr(e,this,t):(null==(o=e.target_[U])?void 0:o[t])||r(1,this.annotationType_,e.name_+"."+t.toString())}function Z(e,t,n,r){var i=X(e,this,t,n);return e.defineProperty_(t,i,r)}function X(e,t,n,r,i){var o,a,s,c,l,u;void 0===i&&(i=lt.safeDescriptors),u=r,t.annotationType_,u.value;var f,d=r.value;(null==(o=t.options_)?void 0:o.bound)&&(d=d.bind(null!=(f=e.proxy_)?f:e.target_));return{value:Ce(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),d,null!=(c=null==(l=t.options_)?void 0:l.autoAction)&&c),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function ee(e,t){return{annotationType_:e,options_:t,make_:te,extend_:ne}}function te(e,t){for(var n,i=!1,o=e.target_;o&&o!==l;){var a=s(o,t);if(a){if(o!==e.target_){if(tn(a.value)){i=!0;break}var u=re(e,this,t,a,!1);c(o,t,u)}else{var f=re(e,this,t,a);if(!e.defineProperty_(t,f))return}i=!0}o=Object.getPrototypeOf(o)}i?dr(e,this,t):(null==(n=e.target_[U])?void 0:n[t])||r(1,this.annotationType_,e.name_+"."+t.toString())}function ne(e,t,n,r){var i=re(e,this,t,n);return e.defineProperty_(t,i,r)}function re(e,t,n,r,i){var o;return void 0===i&&(i=lt.safeDescriptors),o=r,t.annotationType_,o.value,{value:Zt(r.value),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function ie(e,t){return{annotationType_:e,options_:t,make_:oe,extend_:ae}}function oe(e,t){for(var n,i=e.target_;i&&i!==l;){var o=s(i,t);if(o){if(se(e,this,t,o),!e.defineComputedProperty_(t,D({},this.options_,{get:o.get,set:o.set})))return;return void dr(e,this,t)}i=Object.getPrototypeOf(i)}(null==(n=e.target_[U])?void 0:n[t])||r(1,this.annotationType_,e.name_+"."+t.toString())}function ae(e,t,n,r){return se(e,this,t,n),e.defineComputedProperty_(t,D({},this.options_,{get:n.get,set:n.set}),r)}function se(e,t,n,r){t.annotationType_,r.get}function ce(e,t){return{annotationType_:e,options_:t,make_:le,extend_:ue}}function le(e,t){for(var n,i=e.target_;i&&i!==l;){var o=s(i,t);if(o){var a,c;if(fe(e,this,t,o),!e.defineObservableProperty_(t,o.value,null!=(a=null==(c=this.options_)?void 0:c.enhancer)?a:W))return;return void dr(e,this,t)}i=Object.getPrototypeOf(i)}(null==(n=e.target_[U])?void 0:n[t])||r(1,this.annotationType_,e.name_+"."+t.toString())}function ue(e,t,n,r){var i,o;return fe(e,this,t,n),e.defineObservableProperty_(t,n.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:W,r)}function fe(e,t,n,r){t.annotationType_}var de={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function pe(e){return e||de}Object.freeze(de);var he=ce("observable"),me=ce("observable.ref",{enhancer:G}),be=ce("observable.shallow",{enhancer:function(e,t,n){return null==e||fr(e)||Jn(e)||tr(e)||ir(e)?e:Array.isArray(e)?xe.array(e,{name:n,deep:!1}):w(e)?xe.object(e,void 0,{name:n,deep:!1}):S(e)?xe.map(e,{name:n,deep:!1}):O(e)?xe.set(e,{name:n,deep:!1}):void 0}}),ye=ce("observable.struct",{enhancer:function(e,t){return Er(e,t)?t:e}}),ge=F(he);function ve(e){return!0===e.deep?W:!1===e.deep?G:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:W;var t,n,r}function we(e,t,n){if(!g(t))return ln(e)?e:w(e)?xe.object(e,t,n):Array.isArray(e)?xe.array(e,t):S(e)?xe.map(e,t):O(e)?xe.set(e,t):"object"==typeof e&&null!==e?e:xe.box(e,t);q(e,t,he)}Object.assign(we,ge);var _e,ke,xe=a(we,{box:function(e,t){var n=pe(t);return new Fe(e,ve(n),n.name,!0,n.equals)},array:function(e,t){var n=pe(t);return(!1===lt.useProxies||!1===n.proxy?_r:Fn)(e,ve(n),n.name)},map:function(e,t){var n=pe(t);return new er(e,ve(n),n.name)},set:function(e,t){var n=pe(t);return new rr(e,ve(n),n.name)},object:function(e,t,n){return Vt(!1===lt.useProxies||!1===(null==n?void 0:n.proxy)?cr({},n):function(e,t){var n,r;return h(),e=cr(e,t),null!=(r=(n=e[z]).proxy_)?r:n.proxy_=new Proxy(e,An)}({},n),e,t)},ref:F(me),shallow:F(be),deep:ge,struct:F(ye)}),Se=ie("computed"),Oe=ie("computed.struct",{equals:K.structural}),Ee=function(e,t){if(g(t))return q(e,t,Se);if(w(e))return F(ie("computed",e));var n=w(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new He(n)};Object.assign(Ee,Se),Ee.struct=F(Oe);var Te,Ae=0,Me=1,Ie=null!=(_e=null==(ke=s((function(){}),"name"))?void 0:ke.configurable)&&_e,Pe={value:"action",configurable:!0,writable:!1,enumerable:!1};function Ce(e,t,n,r){function i(){return je(e,n,t,r||this,arguments)}return void 0===n&&(n=!1),i.isMobxAction=!0,Ie&&(Pe.value=e,Object.defineProperty(i,"name",Pe)),i}function je(e,t,n,r,i){var o=De(e,t,r,i);try{return n.apply(r,i)}catch(e){throw o.error_=e,e}finally{Re(o)}}function De(e,t,n,r){var i=lt.trackingDerivation,o=!t||!i;mt();var a=lt.allowStateChanges;o&&(et(),a=Be(!0));var s={runAsAction_:o,prevDerivation_:i,prevAllowStateChanges_:a,prevAllowStateReads_:nt(!0),notifySpy_:!1,startTime_:0,actionId_:Me++,parentActionId_:Ae};return Ae=s.actionId_,s}function Re(e){Ae!==e.actionId_&&r(30),Ae=e.parentActionId_,void 0!==e.error_&&(lt.suppressReactionErrors=!0),Le(e.prevAllowStateChanges_),rt(e.prevAllowStateReads_),bt(),e.runAsAction_&&tt(e.prevDerivation_),lt.suppressReactionErrors=!1}function Ne(e,t){var n=Be(e);try{return t()}finally{Le(n)}}function Be(e){var t=lt.allowStateChanges;return lt.allowStateChanges=e,t}function Le(e){lt.allowStateChanges=e}Te=Symbol.toPrimitive;var Ue,Fe=function(e){function t(t,n,r,i,o){var a;return void 0===r&&(r="ObservableValue"),void 0===i&&(i=!0),void 0===o&&(o=K.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=o,a.value_=n(t,void 0,r),a}R(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_;if((e=this.prepareNewValue_(e))!==lt.UNCHANGED){0,this.setNewValue_(e)}},n.prepareNewValue_=function(e){if(Qe(this),Mn(this)){var t=Pn(this,{object:this,type:Bn,newValue:e});if(!t)return lt.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?lt.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),Cn(this)&&Dn(this,{type:Bn,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return In(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:Bn,newValue:this.value_,oldValue:void 0}),jn(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return M(this.get())},n[Te]=function(){return this.valueOf()},t}(V),qe=x("ObservableValue",Fe);Ue=Symbol.toPrimitive;var ze,Ve,He=function(){function e(e){this.dependenciesState_=ze.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=ze.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Ke(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Ve.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||r(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Ce("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?K.structural:K.default),this.scope_=e.context,this.requiresReaction_=!!e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){if(e.lowestObserverState_!==ze.UP_TO_DATE_)return;e.lowestObserverState_=ze.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===ze.UP_TO_DATE_&&(e.dependenciesState_=ze.POSSIBLY_STALE_,e.onBecomeStale_())}))}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing_&&r(32,this.name_,this.derivation),0!==lt.inBatch||0!==this.observers_.size||this.keepAlive_){if(yt(this),Ge(this)){var e=lt.trackingContext;this.keepAlive_&&!e&&(lt.trackingContext=this),this.trackAndCompute()&&function(e){if(e.lowestObserverState_===ze.STALE_)return;e.lowestObserverState_=ze.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===ze.POSSIBLY_STALE_?t.dependenciesState_=ze.STALE_:t.dependenciesState_===ze.UP_TO_DATE_&&(e.lowestObserverState_=ze.UP_TO_DATE_)}))}(this),lt.trackingContext=e}}else Ge(this)&&(this.warnAboutUntrackedRead_(),mt(),this.value_=this.computeValue_(!1),bt());var t=this.value_;if(We(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter_&&r(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else r(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===ze.NOT_TRACKING_,n=this.computeValue_(!0);var r=t||We(e)||We(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing_=!0;var t,n=Be(!1);if(e)t=Ye(this,this.derivation,this.scope_);else if(!0===lt.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new Ke(e)}return Le(n),this.isComputing_=!1,t},t.suspend_=function(){this.keepAlive_||(Ze(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,i=void 0;return Rt((function(){var o=n.get();if(!r||t){var a=et();e({observableKind:"computed",debugObjectName:n.name_,type:Bn,object:n,newValue:o,oldValue:i}),tt(a)}r=!1,i=o}))},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return M(this.get())},t[Ue]=function(){return this.valueOf()},e}(),$e=x("ComputedValue",He);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(ze||(ze={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Ve||(Ve={}));var Ke=function(e){this.cause=void 0,this.cause=e};function We(e){return e instanceof Ke}function Ge(e){switch(e.dependenciesState_){case ze.UP_TO_DATE_:return!1;case ze.NOT_TRACKING_:case ze.STALE_:return!0;case ze.POSSIBLY_STALE_:for(var t=nt(!0),n=et(),r=e.observing_,i=r.length,o=0;or&&(r=s.dependenciesState_)}n.length=i,e.newObserving_=null,o=t.length;for(;o--;){var c=t[o];0===c.diffValue_&&pt(c,e),c.diffValue_=0}for(;i--;){var l=n[i];1===l.diffValue_&&(l.diffValue_=0,dt(l,e))}r!==ze.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),rt(r),i}function Ze(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)pt(t[n],e);e.dependenciesState_=ze.NOT_TRACKING_}function Xe(e){var t=et();try{return e()}finally{tt(t)}}function et(){var e=lt.trackingDerivation;return lt.trackingDerivation=null,e}function tt(e){lt.trackingDerivation=e}function nt(e){var t=lt.allowStateReads;return lt.allowStateReads=e,t}function rt(e){lt.allowStateReads=e}function it(e){if(e.dependenciesState_!==ze.UP_TO_DATE_){e.dependenciesState_=ze.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=ze.UP_TO_DATE_}}var ot=["mobxGuid","spyListeners","enforceActions","computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","allowStateReads","disableErrorBoundaries","runId","UNCHANGED","useProxies"],at=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},st=!0,ct=!1,lt=function(){var e=o();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(st=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new at).version&&(st=!1),st?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new at):(setTimeout((function(){ct||r(35)}),1),new at)}();function ut(){return lt}function ft(){var e=new at;for(var t in e)-1===ot.indexOf(t)&&(lt[t]=e[t]);lt.allowStateChanges=!lt.enforceActions}function dt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function pt(e,t){e.observers_.delete(t),0===e.observers_.size&&ht(e)}function ht(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,lt.pendingUnobservations.push(e))}function mt(){lt.inBatch++}function bt(){if(0==--lt.inBatch){kt();for(var e=lt.pendingUnobservations,t=0;t0&&ht(e),!1)}function gt(e){e.lowestObserverState_!==ze.STALE_&&(e.lowestObserverState_=ze.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===ze.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=ze.STALE_})))}var vt=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),void 0===r&&(r=!1),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=ze.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=Ve.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,lt.pendingReactions.push(this),kt())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){mt(),this.isScheduled_=!1;var e=lt.trackingContext;if(lt.trackingContext=this,Ge(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}lt.trackingContext=e,bt()}},t.track=function(e){if(!this.isDisposed_){mt();0,this.isRunning_=!0;var t=lt.trackingContext;lt.trackingContext=this;var n=Ye(this,e,void 0);lt.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&Ze(this),We(n)&&this.reportExceptionInDerivation_(n.cause),bt()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(lt.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";lt.suppressReactionErrors||console.error(n,e),lt.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(mt(),Ze(this),bt()))},t.getDisposer_=function(){var e=this.dispose.bind(this);return e[z]=this,e},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),_n(this,e)},e}();function wt(e){return lt.globalReactionErrorHandlers.push(e),function(){var t=lt.globalReactionErrorHandlers.indexOf(e);t>=0&<.globalReactionErrorHandlers.splice(t,1)}}var _t=function(e){return e()};function kt(){lt.inBatch>0||lt.isRunningReactions||_t(xt)}function xt(){lt.isRunningReactions=!0;for(var e=lt.pendingReactions,t=0;e.length>0;){100==++t&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r",t,e):y(n)?Ce(t,n,e):g(n)?q(t,n,e?At:Et):g(t)?F(Q(e?"autoAction":"action",{name:t,autoAction:e})):void 0}}var Pt=It(!1);Object.assign(Pt,Et);var Ct=It(!0);function jt(e){return je(e.name||"",!1,e,this,void 0)}function Dt(e){return y(e)&&!0===e.isMobxAction}function Rt(e,t){var n,r;void 0===t&&(t=f);var i,o=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(!t.scheduler&&!t.delay)i=new vt(o,(function(){this.track(c)}),t.onError,t.requiresObservable);else{var a=Bt(t),s=!1;i=new vt(o,(function(){s||(s=!0,a((function(){s=!1,i.isDisposed_||i.track(c)})))}),t.onError,t.requiresObservable)}function c(){e(i)}return i.schedule_(),i.getDisposer_()}Object.assign(Ct,At),Pt.bound=F(Tt),Ct.bound=F(Mt);var Nt=function(e){return e()};function Bt(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Nt}function Lt(e,t,n){var r;void 0===n&&(n=f);var i,o,a,s=null!=(r=n.name)?r:"Reaction",c=Pt(s,n.onError?(i=n.onError,o=t,function(){try{return o.apply(this,arguments)}catch(e){i.call(this,e)}}):t),l=!n.scheduler&&!n.delay,u=Bt(n),d=!0,p=!1,h=void 0,m=n.compareStructural?K.structural:n.equals||K.default,b=new vt(s,(function(){d||l?y():p||(p=!0,u(y))}),n.onError,n.requiresObservable);function y(){if(p=!1,!b.isDisposed_){var t=!1;b.track((function(){var n=Ne(!1,(function(){return e(b)}));t=d||!m(a,n),h=a,a=n})),(d&&n.fireImmediately||!d&&t)&&c(a,h,b),d=!1}}return b.schedule_(),b.getDisposer_()}function Ut(e,t,n){return qt("onBO",e,t,n)}function Ft(e,t,n){return qt("onBUO",e,t,n)}function qt(e,t,n,r){var i="function"==typeof r?kr(t,n):kr(t),o=y(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}function zt(e){!0===e.isolateGlobalState&&function(){if((lt.pendingReactions.length||lt.inBatch||lt.isRunningReactions)&&r(36),ct=!0,st){var e=o();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),lt=new at}}();var t,n,i=e.useProxies,a=e.enforceActions;if(void 0!==i&&(lt.useProxies="always"===i||"never"!==i&&"undefined"!=typeof Proxy),"ifavailable"===i&&(lt.verifyProxies=!0),void 0!==a){var s="always"===a?"always":"observed"===a;lt.enforceActions=s,lt.allowStateChanges=!0!==s&&"always"!==s}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in e&&(lt[t]=!!e[t])})),lt.allowStateReads=!lt.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,n=_t,_t=function(e){return t((function(){return n(e)}))})}function Vt(e,t,n,r){var i=P(t),o=cr(e,r)[z];mt();try{A(i).forEach((function(e){o.extend_(e,i[e],!n||(!(e in n)||n[e]))}))}finally{bt()}return e}function Ht(e,t){return $t(kr(e,t))}function $t(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map($t)),n}function Kt(e,t){return Wt(kr(e,t))}function Wt(e){var t={name:e.name_};return function(e){return e.observers_&&e.observers_.size>0}(e)&&(t.observers=Array.from(function(e){return e.observers_}(e)).map(Wt)),t}var Gt=0;function Jt(){this.message="FLOW_CANCELLED"}function Qt(e){return e instanceof Jt}Jt.prototype=Object.create(Error.prototype);var Yt=ee("flow"),Zt=Object.assign((function(e,t){if(g(t))return q(e,t,Yt);var n=e,r=n.name||"",i=function(){var e,t=this,i=arguments,o=++Gt,a=Pt(r+" - runid: "+o+" - init",n).apply(t,i),s=void 0,c=new Promise((function(t,n){var i=0;function c(e){var t;s=void 0;try{t=Pt(r+" - runid: "+o+" - yield "+i++,a.next).call(a,e)}catch(e){return n(e)}u(t)}function l(e){var t;s=void 0;try{t=Pt(r+" - runid: "+o+" - yield "+i++,a.throw).call(a,e)}catch(e){return n(e)}u(t)}function u(e){if(!y(null==e?void 0:e.then))return e.done?t(e.value):(s=Promise.resolve(e.value)).then(c,l);e.then(u,n)}e=n,c(void 0)}));return c.cancel=Pt(r+" - runid: "+o+" - cancel",(function(){try{s&&Xt(s);var t=a.return(void 0),n=Promise.resolve(t.value);n.then(b,b),Xt(n),e(new Jt)}catch(t){e(t)}})),c};return i.isMobXFlow=!0,i}),Yt);function Xt(e){y(e.cancel)&&e.cancel()}function en(e){return e}function tn(e){return!0===(null==e?void 0:e.isMobXFlow)}function nn(e,t,n){var r;return tr(e)||Jn(e)||qe(e)?r=xr(e):fr(e)&&(r=xr(e,t)),r.dehancer="function"==typeof t?t:n,function(){r.dehancer=void 0}}function rn(e,t,n){return y(n)?function(e,t,n){return xr(e,t).intercept_(n)}(e,t,n):function(e,t){return xr(e).intercept_(t)}(e,t)}function on(e,t){if(void 0!==t){if(!1===fr(e))return!1;if(!e[z].values_.has(t))return!1;var n=kr(e,t);return $e(n)}return $e(e)}function an(e){return on(e)}function sn(e,t){return on(e,t)}function cn(e,t){return!!e&&(void 0!==t?!!fr(e)&&e[z].values_.has(t):fr(e)||!!e[z]||H(e)||St(e)||$e(e))}function ln(e){return cn(e)}function un(e,t){return cn(e,t)}function fn(e){return fr(e)?e[z].keys_():tr(e)||ir(e)?Array.from(e.keys()):Jn(e)?e.map((function(e,t){return t})):void r(5)}function dn(e){return fr(e)?fn(e).map((function(t){return e[t]})):tr(e)?fn(e).map((function(t){return e.get(t)})):ir(e)?Array.from(e.values()):Jn(e)?e.slice():void r(6)}function pn(e){return fr(e)?fn(e).map((function(t){return[t,e[t]]})):tr(e)?fn(e).map((function(t){return[t,e.get(t)]})):ir(e)?Array.from(e.entries()):Jn(e)?e.map((function(e,t){return[t,e]})):void r(7)}function hn(e,t,n){if(2!==arguments.length||ir(e))fr(e)?e[z].set_(t,n):tr(e)?e.set(t,n):ir(e)?e.add(t):Jn(e)?("number"!=typeof t&&(t=parseInt(t,10)),t<0&&r("Invalid index: '"+t+"'"),mt(),t>=e.length&&(e.length=t+1),e[t]=n,bt()):r(8);else{mt();var i=t;try{for(var o in i)hn(e,o,i[o])}finally{bt()}}}function mn(e,t){fr(e)?e[z].delete_(t):tr(e)||ir(e)?e.delete(t):Jn(e)?("number"!=typeof t&&(t=parseInt(t,10)),e.splice(t,1)):r(9)}function bn(e,t){return fr(e)?e[z].has_(t):tr(e)||ir(e)?e.has(t):Jn(e)?t>=0&&t0}function In(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),m((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Pn(e,t){var n=et();try{for(var i=[].concat(e.interceptors_||[]),o=0,a=i.length;o0}function jn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),m((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Dn(e,t){var n=et(),r=e.changeListeners_;if(r){for(var i=0,o=(r=r.slice()).length;i0?e.map(this.dehancer):e},t.intercept_=function(e){return In(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),jn(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||e<0)&&r("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),i=0;i0&&wr(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1===arguments.length?i-e:null==t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=u),Mn(this)){var o=Pn(this,{object:this.proxy_,type:"splice",index:e,removedCount:t,added:n});if(!o)return u;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(i,a)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var i=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length=e+n.length-t;for(var a=0;a2?n-2:0),i=2;i-1&&(this.splice(n,1),!0)}};function zn(e,t){"function"==typeof Array.prototype[e]&&(qn[e]=t(e))}function Vn(e){return function(){var t=this[z];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function Hn(e){return function(t,n){var r=this,i=this[z];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e]((function(e,i){return t.call(n,e,i,r)}))}}function $n(e){return function(){var t=this,n=this[z];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}zn("concat",Vn),zn("flat",Vn),zn("includes",Vn),zn("indexOf",Vn),zn("join",Vn),zn("lastIndexOf",Vn),zn("slice",Vn),zn("toString",Vn),zn("toLocaleString",Vn),zn("every",Hn),zn("filter",Hn),zn("find",Hn),zn("findIndex",Hn),zn("flatMap",Hn),zn("forEach",Hn),zn("map",Hn),zn("some",Hn),zn("reduce",$n),zn("reduceRight",$n);var Kn,Wn,Gn=x("ObservableArrayAdministration",Un);function Jn(e){return v(e)&&Gn(e[z])}var Qn={},Yn="add";Kn=Symbol.iterator,Wn=Symbol.toStringTag;var Zn,Xn,er=function(){function e(e,t,n){void 0===t&&(t=W),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[z]=Qn,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,y(Map)||r(18),this.keysAtom_=$("ObservableMap.keys()"),this.data_=new Map,this.hasMap_=new Map,this.merge(e)}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!lt.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new Fe(this.has_(e),G,"ObservableMap.key?",!1);this.hasMap_.set(e,r),Ft(r,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(Mn(this)){var r=Pn(this,{type:n?Bn:Yn,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if((this.keysAtom_,Mn(this))&&!Pn(this,{type:"delete",object:this,name:e}))return!1;if(this.has_(e)){var n=Cn(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:"delete",object:this,oldValue:this.data_.get(e).value_,name:e}:null;return xn((function(){t.keysAtom_.reportChanged(),t.updateHasMapEntry_(e,!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&Dn(this,r),!0}return!1},t.updateHasMapEntry_=function(e,t){var n=this.hasMap_.get(e);n&&n.setNewValue_(t)},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==lt.UNCHANGED){var r=Cn(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:Bn,object:this,oldValue:n.value_,name:e,newValue:t}:null;0,n.setNewValue_(t),r&&Dn(this,i)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,xn((function(){var r=new Fe(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,r),t=r.value_,n.updateHasMapEntry_(e,!0),n.keysAtom_.reportChanged()}));var r=Cn(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:Yn,object:this,name:e,newValue:t}:null;r&&Dn(this,i)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return Ar({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return Ar({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},t[Kn]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=L(this);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];e.call(t,a,o,this)}},t.merge=function(e){var t=this;return tr(e)&&(e=new Map(e)),xn((function(){w(e)?T(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];return t.set(n,r)})):S(e)?(e.constructor!==Map&&r(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&r(20,e)})),this},t.clear=function(){var e=this;xn((function(){Xe((function(){for(var t,n=L(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.replace=function(e){var t=this;return xn((function(){for(var n,i=function(e){if(S(e)||tr(e))return e;if(Array.isArray(e))return new Map(e);if(w(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return r(21,e)}(e),o=new Map,a=!1,s=L(t.data_.keys());!(n=s()).done;){var c=n.value;if(!i.has(c))if(t.delete(c))a=!0;else{var l=t.data_.get(c);o.set(c,l)}}for(var u,f=L(i.entries());!(u=f()).done;){var d=u.value,p=d[0],h=d[1],m=t.data_.has(p);if(t.set(p,h),t.data_.has(p)){var b=t.data_.get(p);o.set(p,b),m||(a=!0)}}if(!a)if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var y=t.data_.keys(),g=o.keys(),v=y.next(),_=g.next();!v.done;){if(v.value!==_.value){t.keysAtom_.reportChanged();break}v=y.next(),_=g.next()}t.data_=o})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return jn(this,e)},t.intercept_=function(e){return In(this,e)},j(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Wn,get:function(){return"Map"}}]),e}(),tr=x("ObservableMap",er);var nr={};Zn=Symbol.iterator,Xn=Symbol.toStringTag;var rr=function(){function e(e,t,n){void 0===t&&(t=W),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[z]=nr,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,y(Set)||r(22),this.atom_=$(this.name_),this.enhancer_=function(e,r){return t(e,r,n)},e&&this.replace(e)}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;xn((function(){Xe((function(){for(var t,n=L(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=L(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if((this.atom_,Mn(this))&&!Pn(this,{type:Yn,object:this,newValue:e}))return this;if(!this.has(e)){xn((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n=Cn(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:Yn,object:this,newValue:e}:null;0,n&&Dn(this,r)}return this},t.delete=function(e){var t=this;if(Mn(this)&&!Pn(this,{type:"delete",object:this,oldValue:e}))return!1;if(this.has(e)){var n=Cn(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:"delete",object:this,oldValue:e}:null;return xn((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&Dn(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return Ar({next:function(){var r=e;return e+=1,rbr){for(var t=br;t=0&&r++}t=Tr(t),n=Tr(n);var c="[object Array]"===s;if(!c){if("object"!=typeof t||"object"!=typeof n)return!1;var l=t.constructor,u=n.constructor;if(l!==u&&!(y(l)&&l instanceof l&&y(u)&&u instanceof u)&&"constructor"in t&&"constructor"in n)return!1}if(0===r)return!1;r<0&&(r=-1);o=o||[];var f=(i=i||[]).length;for(;f--;)if(i[f]===t)return o[f]===n;if(i.push(t),o.push(n),c){if((f=t.length)!==n.length)return!1;for(;f--;)if(!e(t[f],n[f],r-1,i,o))return!1}else{var d,p=Object.keys(t);if(f=p.length,Object.keys(n).length!==f)return!1;for(;f--;)if(d=p[f],!I(n,d)||!e(t[d],n[d],r-1,i,o))return!1}return i.pop(),o.pop(),!0}(e,t,n)}function Tr(e){return Jn(e)?e.slice():S(e)||tr(e)||O(e)||ir(e)?Array.from(e.entries()):e}function Ar(e){return e[Symbol.iterator]=Mr,e}function Mr(){return this}function Ir(e,t,n){return e.get?Ee:!e.set&&(y(e.value)?(r=e.value,!(i=null==r?void 0:r.constructor)||"GeneratorFunction"!==i.name&&"GeneratorFunction"!==i.displayName?!Dt(e.value)&&(n?Ct.bound:Ct):!tn(e.value)&&Zt):t);var r,i}["Symbol","Map","Set","Symbol"].forEach((function(e){void 0===o()[e]&&r("MobX requires global '"+e+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:Ot,extras:{getDebugName:Sr},$mobx:z})}.call(this,n(12))},function(e,t,n){(function(e){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var a;"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a=n(445).Buffer}catch(e){}function s(e,t,n){for(var r=0,i=Math.min(e.length,n),o=t;o=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return r}function c(e,t,n,r){for(var i=0,o=Math.min(e.length,n),a=t;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)i=s(e,n,n+6),this.words[r]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==t&&(i=s(e,t,n+6),this.words[r]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],u=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,c=a/67108864|0;n.words[0]=s;for(var l=1;l>>26,f=67108863&c,d=Math.min(l,t.length-1),p=Math.max(0,l-e.length+1);p<=d;p++){var h=l-p|0;u+=(a=(i=0|e.words[h])*(o=0|t.words[p])+f)/67108864|0,f=67108863&a}n.words[l]=0|f,c=0|u}return 0!==c?n.words[l]=0|c:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?l[6-c.length]+c+n:c+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var d=u[e],p=f[e];n="";var h=this.clone();for(h.negative=0;!h.isZero();){var m=h.modn(p).toString(e);n=(h=h.idivn(p)).isZero()?m+n:l[d-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r(void 0!==a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===t,l=new e(o),u=this.clone();if(c){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),l[s]=a;for(;s=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,p=0|a[1],h=8191&p,m=p>>>13,b=0|a[2],y=8191&b,g=b>>>13,v=0|a[3],w=8191&v,_=v>>>13,k=0|a[4],x=8191&k,S=k>>>13,O=0|a[5],E=8191&O,T=O>>>13,A=0|a[6],M=8191&A,I=A>>>13,P=0|a[7],C=8191&P,j=P>>>13,D=0|a[8],R=8191&D,N=D>>>13,B=0|a[9],L=8191&B,U=B>>>13,F=0|s[0],q=8191&F,z=F>>>13,V=0|s[1],H=8191&V,$=V>>>13,K=0|s[2],W=8191&K,G=K>>>13,J=0|s[3],Q=8191&J,Y=J>>>13,Z=0|s[4],X=8191&Z,ee=Z>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ce=8191&se,le=se>>>13,ue=0|s[8],fe=8191&ue,de=ue>>>13,pe=0|s[9],he=8191&pe,me=pe>>>13;n.negative=e.negative^t.negative,n.length=19;var be=(l+(r=Math.imul(f,q))|0)+((8191&(i=(i=Math.imul(f,z))+Math.imul(d,q)|0))<<13)|0;l=((o=Math.imul(d,z))+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(h,q),i=(i=Math.imul(h,z))+Math.imul(m,q)|0,o=Math.imul(m,z);var ye=(l+(r=r+Math.imul(f,H)|0)|0)+((8191&(i=(i=i+Math.imul(f,$)|0)+Math.imul(d,H)|0))<<13)|0;l=((o=o+Math.imul(d,$)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(y,q),i=(i=Math.imul(y,z))+Math.imul(g,q)|0,o=Math.imul(g,z),r=r+Math.imul(h,H)|0,i=(i=i+Math.imul(h,$)|0)+Math.imul(m,H)|0,o=o+Math.imul(m,$)|0;var ge=(l+(r=r+Math.imul(f,W)|0)|0)+((8191&(i=(i=i+Math.imul(f,G)|0)+Math.imul(d,W)|0))<<13)|0;l=((o=o+Math.imul(d,G)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(w,q),i=(i=Math.imul(w,z))+Math.imul(_,q)|0,o=Math.imul(_,z),r=r+Math.imul(y,H)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(g,H)|0,o=o+Math.imul(g,$)|0,r=r+Math.imul(h,W)|0,i=(i=i+Math.imul(h,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0;var ve=(l+(r=r+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,Y)|0)+Math.imul(d,Q)|0))<<13)|0;l=((o=o+Math.imul(d,Y)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(x,q),i=(i=Math.imul(x,z))+Math.imul(S,q)|0,o=Math.imul(S,z),r=r+Math.imul(w,H)|0,i=(i=i+Math.imul(w,$)|0)+Math.imul(_,H)|0,o=o+Math.imul(_,$)|0,r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(g,W)|0,o=o+Math.imul(g,G)|0,r=r+Math.imul(h,Q)|0,i=(i=i+Math.imul(h,Y)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,Y)|0;var we=(l+(r=r+Math.imul(f,X)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,X)|0))<<13)|0;l=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(E,q),i=(i=Math.imul(E,z))+Math.imul(T,q)|0,o=Math.imul(T,z),r=r+Math.imul(x,H)|0,i=(i=i+Math.imul(x,$)|0)+Math.imul(S,H)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(w,W)|0,i=(i=i+Math.imul(w,G)|0)+Math.imul(_,W)|0,o=o+Math.imul(_,G)|0,r=r+Math.imul(y,Q)|0,i=(i=i+Math.imul(y,Y)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,Y)|0,r=r+Math.imul(h,X)|0,i=(i=i+Math.imul(h,ee)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,ee)|0;var _e=(l+(r=r+Math.imul(f,ne)|0)|0)+((8191&(i=(i=i+Math.imul(f,re)|0)+Math.imul(d,ne)|0))<<13)|0;l=((o=o+Math.imul(d,re)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(M,q),i=(i=Math.imul(M,z))+Math.imul(I,q)|0,o=Math.imul(I,z),r=r+Math.imul(E,H)|0,i=(i=i+Math.imul(E,$)|0)+Math.imul(T,H)|0,o=o+Math.imul(T,$)|0,r=r+Math.imul(x,W)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(_,Q)|0,o=o+Math.imul(_,Y)|0,r=r+Math.imul(y,X)|0,i=(i=i+Math.imul(y,ee)|0)+Math.imul(g,X)|0,o=o+Math.imul(g,ee)|0,r=r+Math.imul(h,ne)|0,i=(i=i+Math.imul(h,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0;var ke=(l+(r=r+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ae)|0)+Math.imul(d,oe)|0))<<13)|0;l=((o=o+Math.imul(d,ae)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(C,q),i=(i=Math.imul(C,z))+Math.imul(j,q)|0,o=Math.imul(j,z),r=r+Math.imul(M,H)|0,i=(i=i+Math.imul(M,$)|0)+Math.imul(I,H)|0,o=o+Math.imul(I,$)|0,r=r+Math.imul(E,W)|0,i=(i=i+Math.imul(E,G)|0)+Math.imul(T,W)|0,o=o+Math.imul(T,G)|0,r=r+Math.imul(x,Q)|0,i=(i=i+Math.imul(x,Y)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,Y)|0,r=r+Math.imul(w,X)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(y,ne)|0,i=(i=i+Math.imul(y,re)|0)+Math.imul(g,ne)|0,o=o+Math.imul(g,re)|0,r=r+Math.imul(h,oe)|0,i=(i=i+Math.imul(h,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var xe=(l+(r=r+Math.imul(f,ce)|0)|0)+((8191&(i=(i=i+Math.imul(f,le)|0)+Math.imul(d,ce)|0))<<13)|0;l=((o=o+Math.imul(d,le)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(R,q),i=(i=Math.imul(R,z))+Math.imul(N,q)|0,o=Math.imul(N,z),r=r+Math.imul(C,H)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(j,H)|0,o=o+Math.imul(j,$)|0,r=r+Math.imul(M,W)|0,i=(i=i+Math.imul(M,G)|0)+Math.imul(I,W)|0,o=o+Math.imul(I,G)|0,r=r+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,Y)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,Y)|0,r=r+Math.imul(x,X)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(w,ne)|0,i=(i=i+Math.imul(w,re)|0)+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(y,oe)|0,i=(i=i+Math.imul(y,ae)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,ae)|0,r=r+Math.imul(h,ce)|0,i=(i=i+Math.imul(h,le)|0)+Math.imul(m,ce)|0,o=o+Math.imul(m,le)|0;var Se=(l+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;l=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(L,q),i=(i=Math.imul(L,z))+Math.imul(U,q)|0,o=Math.imul(U,z),r=r+Math.imul(R,H)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(N,H)|0,o=o+Math.imul(N,$)|0,r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(j,W)|0,o=o+Math.imul(j,G)|0,r=r+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,Y)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,Y)|0,r=r+Math.imul(E,X)|0,i=(i=i+Math.imul(E,ee)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(x,ne)|0,i=(i=i+Math.imul(x,re)|0)+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,ae)|0)+Math.imul(_,oe)|0,o=o+Math.imul(_,ae)|0,r=r+Math.imul(y,ce)|0,i=(i=i+Math.imul(y,le)|0)+Math.imul(g,ce)|0,o=o+Math.imul(g,le)|0,r=r+Math.imul(h,fe)|0,i=(i=i+Math.imul(h,de)|0)+Math.imul(m,fe)|0,o=o+Math.imul(m,de)|0;var Oe=(l+(r=r+Math.imul(f,he)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(d,he)|0))<<13)|0;l=((o=o+Math.imul(d,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,$))+Math.imul(U,H)|0,o=Math.imul(U,$),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,Y)|0)+Math.imul(j,Q)|0,o=o+Math.imul(j,Y)|0,r=r+Math.imul(M,X)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(I,X)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(E,ne)|0,i=(i=i+Math.imul(E,re)|0)+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,ae)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,ae)|0,r=r+Math.imul(w,ce)|0,i=(i=i+Math.imul(w,le)|0)+Math.imul(_,ce)|0,o=o+Math.imul(_,le)|0,r=r+Math.imul(y,fe)|0,i=(i=i+Math.imul(y,de)|0)+Math.imul(g,fe)|0,o=o+Math.imul(g,de)|0;var Ee=(l+(r=r+Math.imul(h,he)|0)|0)+((8191&(i=(i=i+Math.imul(h,me)|0)+Math.imul(m,he)|0))<<13)|0;l=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(L,W),i=(i=Math.imul(L,G))+Math.imul(U,W)|0,o=Math.imul(U,G),r=r+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,Y)|0)+Math.imul(N,Q)|0,o=o+Math.imul(N,Y)|0,r=r+Math.imul(C,X)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(j,X)|0,o=o+Math.imul(j,ee)|0,r=r+Math.imul(M,ne)|0,i=(i=i+Math.imul(M,re)|0)+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(E,oe)|0,i=(i=i+Math.imul(E,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,r=r+Math.imul(x,ce)|0,i=(i=i+Math.imul(x,le)|0)+Math.imul(S,ce)|0,o=o+Math.imul(S,le)|0,r=r+Math.imul(w,fe)|0,i=(i=i+Math.imul(w,de)|0)+Math.imul(_,fe)|0,o=o+Math.imul(_,de)|0;var Te=(l+(r=r+Math.imul(y,he)|0)|0)+((8191&(i=(i=i+Math.imul(y,me)|0)+Math.imul(g,he)|0))<<13)|0;l=((o=o+Math.imul(g,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,Y))+Math.imul(U,Q)|0,o=Math.imul(U,Y),r=r+Math.imul(R,X)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(N,X)|0,o=o+Math.imul(N,ee)|0,r=r+Math.imul(C,ne)|0,i=(i=i+Math.imul(C,re)|0)+Math.imul(j,ne)|0,o=o+Math.imul(j,re)|0,r=r+Math.imul(M,oe)|0,i=(i=i+Math.imul(M,ae)|0)+Math.imul(I,oe)|0,o=o+Math.imul(I,ae)|0,r=r+Math.imul(E,ce)|0,i=(i=i+Math.imul(E,le)|0)+Math.imul(T,ce)|0,o=o+Math.imul(T,le)|0,r=r+Math.imul(x,fe)|0,i=(i=i+Math.imul(x,de)|0)+Math.imul(S,fe)|0,o=o+Math.imul(S,de)|0;var Ae=(l+(r=r+Math.imul(w,he)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(_,he)|0))<<13)|0;l=((o=o+Math.imul(_,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(L,X),i=(i=Math.imul(L,ee))+Math.imul(U,X)|0,o=Math.imul(U,ee),r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(N,ne)|0,o=o+Math.imul(N,re)|0,r=r+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(j,oe)|0,o=o+Math.imul(j,ae)|0,r=r+Math.imul(M,ce)|0,i=(i=i+Math.imul(M,le)|0)+Math.imul(I,ce)|0,o=o+Math.imul(I,le)|0,r=r+Math.imul(E,fe)|0,i=(i=i+Math.imul(E,de)|0)+Math.imul(T,fe)|0,o=o+Math.imul(T,de)|0;var Me=(l+(r=r+Math.imul(x,he)|0)|0)+((8191&(i=(i=i+Math.imul(x,me)|0)+Math.imul(S,he)|0))<<13)|0;l=((o=o+Math.imul(S,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(L,ne),i=(i=Math.imul(L,re))+Math.imul(U,ne)|0,o=Math.imul(U,re),r=r+Math.imul(R,oe)|0,i=(i=i+Math.imul(R,ae)|0)+Math.imul(N,oe)|0,o=o+Math.imul(N,ae)|0,r=r+Math.imul(C,ce)|0,i=(i=i+Math.imul(C,le)|0)+Math.imul(j,ce)|0,o=o+Math.imul(j,le)|0,r=r+Math.imul(M,fe)|0,i=(i=i+Math.imul(M,de)|0)+Math.imul(I,fe)|0,o=o+Math.imul(I,de)|0;var Ie=(l+(r=r+Math.imul(E,he)|0)|0)+((8191&(i=(i=i+Math.imul(E,me)|0)+Math.imul(T,he)|0))<<13)|0;l=((o=o+Math.imul(T,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(L,oe),i=(i=Math.imul(L,ae))+Math.imul(U,oe)|0,o=Math.imul(U,ae),r=r+Math.imul(R,ce)|0,i=(i=i+Math.imul(R,le)|0)+Math.imul(N,ce)|0,o=o+Math.imul(N,le)|0,r=r+Math.imul(C,fe)|0,i=(i=i+Math.imul(C,de)|0)+Math.imul(j,fe)|0,o=o+Math.imul(j,de)|0;var Pe=(l+(r=r+Math.imul(M,he)|0)|0)+((8191&(i=(i=i+Math.imul(M,me)|0)+Math.imul(I,he)|0))<<13)|0;l=((o=o+Math.imul(I,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(L,ce),i=(i=Math.imul(L,le))+Math.imul(U,ce)|0,o=Math.imul(U,le),r=r+Math.imul(R,fe)|0,i=(i=i+Math.imul(R,de)|0)+Math.imul(N,fe)|0,o=o+Math.imul(N,de)|0;var Ce=(l+(r=r+Math.imul(C,he)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(j,he)|0))<<13)|0;l=((o=o+Math.imul(j,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(L,fe),i=(i=Math.imul(L,de))+Math.imul(U,fe)|0,o=Math.imul(U,de);var je=(l+(r=r+Math.imul(R,he)|0)|0)+((8191&(i=(i=i+Math.imul(R,me)|0)+Math.imul(N,he)|0))<<13)|0;l=((o=o+Math.imul(N,me)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863;var De=(l+(r=Math.imul(L,he))|0)+((8191&(i=(i=Math.imul(L,me))+Math.imul(U,he)|0))<<13)|0;return l=((o=Math.imul(U,me))+(i>>>13)|0)+(De>>>26)|0,De&=67108863,c[0]=be,c[1]=ye,c[2]=ge,c[3]=ve,c[4]=we,c[5]=_e,c[6]=ke,c[7]=xe,c[8]=Se,c[9]=Oe,c[10]=Ee,c[11]=Te,c[12]=Ae,c[13]=Me,c[14]=Ie,c[15]=Pe,c[16]=Ce,c[17]=je,c[18]=De,0!==l&&(c[19]=l,n.length++),n};function h(e,t,n){return(new m).mulp(e,t,n)}function m(e,t){this.x=e,this.y=t}Math.imul||(p=d),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?p(this,e,t):n<63?d(this,e,t):n<1024?function(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,e,t):h(this,e,t)},m.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},m.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,l=0;l=0&&(0!==u||l>=i);l--){var f=0|this.words[l];this.words[l]=u<<26-o|f>>>o,u=f&s}return c&&0!==u&&(c.words[c.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,c=r.length-i.length;if("mod"!==t){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var l=0;l=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,f);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);s&&(s.words[f]=d)}return s&&s.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var u=n.clone(),f=t.clone();!t.isZero();){for(var d=0,p=1;0==(t.words[0]&p)&&d<26;++d,p<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var h=0,m=1;0==(n.words[0]&m)&&h<26;++h,m<<=1);if(h>0)for(n.iushrn(h);h-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(u),c.isub(f)),s.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(c)):(n.isub(t),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),c=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,u=1;0==(t.words[0]&u)&&l<26;++l,u<<=1);if(l>0)for(t.iushrn(l);l-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,d=1;0==(n.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(n.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new k(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function g(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function x(e){k.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},i(g,y),g.prototype.split=function(e,t){for(var n=Math.min(e.length,9),r=0;r>>22,i=o}i>>>=22,e.words[r-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},g.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new g;else if("p224"===e)t=new v;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new _}return b[e]=t,t},k.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},k.prototype._verify2=function(e,t){r(0==(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},k.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},k.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},k.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},k.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},k.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},k.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},k.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},k.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},k.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},k.prototype.isqr=function(e){return this.imul(e,e.clone())},k.prototype.sqr=function(e){return this.mul(e,e)},k.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),l=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,l).cmp(c);)u.redIAdd(c);for(var f=this.pow(u,i),d=this.pow(e,i.addn(1).iushrn(1)),p=this.pow(e,i),h=a;0!==p.cmp(s);){for(var m=p,b=0;0!==m.cmp(s);b++)m=m.redSqr();r(b=0;r--){for(var l=t.words[r],u=c-1;u>=0;u--){var f=l>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}c=26}return i},k.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},k.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new x(e)},i(x,k),x.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},x.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},x.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},x.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},x.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,n(71)(e))},function(e,t,n){ -/*! safe-buffer. MIT License. Feross Aboukhadijeh */ -var r=n(2),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){"use strict";n.d(t,"o",(function(){return a})),n.d(t,"h",(function(){return s})),n.d(t,"f",(function(){return c})),n.d(t,"l",(function(){return l})),n.d(t,"m",(function(){return u})),n.d(t,"n",(function(){return f})),n.d(t,"r",(function(){return p})),n.d(t,"a",(function(){return m})),n.d(t,"q",(function(){return b})),n.d(t,"p",(function(){return y})),n.d(t,"d",(function(){return g})),n.d(t,"c",(function(){return v})),n.d(t,"k",(function(){return w})),n.d(t,"b",(function(){return _})),n.d(t,"e",(function(){return k})),n.d(t,"j",(function(){return S})),n.d(t,"i",(function(){return T})),n.d(t,"g",(function(){return A}));var r,i=n(1),o=n.n(i);function a(e){document.body.style.paddingRight=e>0?e+"px":null}function s(){var e=window.getComputedStyle(document.body,null);return parseInt(e&&e.getPropertyValue("padding-right")||0,10)}function c(){var e=function(){var e=document.createElement("div");e.style.position="absolute",e.style.top="-9999px",e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}(),t=document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")[0],n=t?parseInt(t.style.paddingRight||0,10):0;document.body.clientWidth0;)o[n=r[i-=1]]=e[n];return o}var d={};function p(e){d[e]||("undefined"!=typeof console&&console.error(e),d[e]=!0)}var h="object"==typeof window&&window.Element||function(){};function m(e,t,n){if(!(e[t]instanceof h))return new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Expected prop to be an instance of Element. Validation failed.")}var b=o.a.oneOfType([o.a.string,o.a.func,m,o.a.shape({current:o.a.any})]),y=o.a.oneOfType([o.a.func,o.a.string,o.a.shape({$$typeof:o.a.symbol,render:o.a.func}),o.a.arrayOf(o.a.oneOfType([o.a.func,o.a.string,o.a.shape({$$typeof:o.a.symbol,render:o.a.func})]))]),g={Fade:150,Collapse:350,Modal:300,Carousel:600},v=["in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],w={esc:27,space:32,enter:13,tab:9,up:38,down:40,home:36,end:35,n:78,p:80},_=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],k=!("undefined"==typeof window||!window.document||!window.document.createElement);function x(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function S(e){var t=typeof e;return null!=e&&("object"===t||"function"===t)}function O(e){if(function(e){return!(!e||"object"!=typeof e)&&"current"in e}(e))return e.current;if(function(e){if(!S(e))return!1;var t=x(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object Proxy]"===t}(e))return e();if("string"==typeof e&&k){var t=document.querySelectorAll(e);if(t.length||(t=document.querySelectorAll("#"+e)),!t.length)throw new Error("The target '"+e+"' could not be identified in the dom, tip: check spelling");return t}return e}function E(e){return null!==e&&(Array.isArray(e)||k&&"number"==typeof e.length)}function T(e,t){var n=O(e);return t?E(n)?n:null===n?[]:[n]:E(n)?n[0]:n}var A=["a[href]","area[href]","input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","object","embed","[tabindex]:not(.modal)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])']},function(e,t,n){(function(t){var r;e.exports=(r=r||function(e,r){var i;if("undefined"!=typeof window&&window.crypto&&(i=window.crypto),!i&&"undefined"!=typeof window&&window.msCrypto&&(i=window.msCrypto),!i&&void 0!==t&&t.crypto&&(i=t.crypto),!i)try{i=n(72)}catch(e){}var o=function(){if(i){if("function"==typeof i.getRandomValues)try{return i.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof i.randomBytes)try{return i.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),s={},c=s.lib={},l=c.Base={extend:function(e){var t=a(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},u=c.WordArray=l.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(o=0;o>>2]=n[o>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new u.init(n,t/2)}},p=f.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new u.init(n,t)}},h=f.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return p.parse(unescape(encodeURIComponent(e)))}},m=c.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=h.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,i=r.words,o=r.sigBytes,a=this.blockSize,s=o/(4*a),c=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,l=e.min(4*c,o);if(c){for(var f=0;f1)for(var n=1;n0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},l=[];function u(e){return Object(r.getDependencyTree)(e)}var f="undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry;function d(e){return{reaction:e,mounted:!1,changedBeforeMount:!1,cleanAt:Date.now()+p}}var p=1e4;var h=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};var m=f?function(e){var t=new Map,n=1,r=new e((function(e){var n=t.get(e);n&&(n.reaction.dispose(),t.delete(e))}));return{addReactionToTrack:function(e,i,o){var a=n++;return r.register(o,a,e),e.current=d(i),e.current.finalizationRegistryCleanupToken=a,t.set(a,e.current),e.current},recordReactionAsCommitted:function(e){r.unregister(e),e.current&&e.current.finalizationRegistryCleanupToken&&t.delete(e.current.finalizationRegistryCleanupToken)},forceCleanupTimerToRunNowForTests:function(){},resetCleanupScheduleForTests:function(){}}}(f):function(){var e,t=new Set;function n(){void 0===e&&(e=setTimeout(r,1e4))}function r(){e=void 0;var r=Date.now();t.forEach((function(e){var n=e.current;n&&r>=n.cleanAt&&(n.reaction.dispose(),e.current=null,t.delete(e))})),t.size>0&&n()}return{addReactionToTrack:function(e,r,i){var o;return e.current=d(r),o=e,t.add(o),n(),e.current},recordReactionAsCommitted:function(e){t.delete(e)},forceCleanupTimerToRunNowForTests:function(){e&&(clearTimeout(e),r())},resetCleanupScheduleForTests:function(){var n,r;if(t.size>0){try{for(var i=h(t),o=i.next();!o.done;o=i.next()){var a=o.value,s=a.current;s&&(s.reaction.dispose(),a.current=null)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}t.clear()}e&&(clearTimeout(e),e=void 0)}}}(),b=m.addReactionToTrack,y=m.recordReactionAsCommitted,g=(m.resetCleanupScheduleForTests,m.forceCleanupTimerToRunNowForTests,!1);function v(){return g}var w=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};function _(e){return"observer"+e}var k=function(){};function x(e,t){if(void 0===t&&(t="observed"),v())return e();var n,a=w(o.a.useState(new k),1)[0],s=(n=c(Object(i.useState)(0),2)[1],Object(i.useCallback)((function(){n((function(e){return e+1}))}),l)),f=o.a.useRef(null);if(!f.current)var d=new r.Reaction(_(t),(function(){p.mounted?s():p.changedBeforeMount=!0})),p=b(f,d,a);var h,m,g=f.current.reaction;if(o.a.useDebugValue(g,u),o.a.useEffect((function(){return y(f),f.current?(f.current.mounted=!0,f.current.changedBeforeMount&&(f.current.changedBeforeMount=!1,s())):(f.current={reaction:new r.Reaction(_(t),(function(){s()})),mounted:!0,changedBeforeMount:!1,cleanAt:1/0},s()),function(){f.current.reaction.dispose(),f.current=null}}),[]),g.track((function(){try{h=e()}catch(e){m=e}})),m)throw m;return h}var S=function(){return(S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=256||n%1)return!1}return!0}function c(e,t){if(t||(t={}),"number"==typeof e){r.checkSafeUint53(e,"invalid arrayify value");const t=[];for(;e;)t.unshift(255&e),e=parseInt(String(e/256));return 0===t.length&&t.push(0),o(new Uint8Array(t))}if(t.allowMissingPrefix&&"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),i(e)&&(e=e.toHexString()),f(e)){let n=e.substring(2);n.length%2&&("left"===t.hexPad?n="0x0"+n.substring(2):"right"===t.hexPad?n+="0":r.throwArgumentError("hex data is odd-length","value",e));const i=[];for(let e=0;ec(e)),n=t.reduce((e,t)=>e+t.length,0),r=new Uint8Array(n);return t.reduce((e,t)=>(r.set(t,e),e+t.length),0),o(r)}function u(e){let t=c(e);if(0===t.length)return t;let n=0;for(;n>4]+"0123456789abcdef"[15&r]}return t}return r.throwArgumentError("invalid hexlify value","value",e)}function p(e){if("string"!=typeof e)e=d(e);else if(!f(e)||e.length%2)return null;return(e.length-2)/2}function h(e,t,n){return"string"!=typeof e?e=d(e):(!f(e)||e.length%2)&&r.throwArgumentError("invalid hexData","value",e),t=2+2*t,null!=n?"0x"+e.substring(t,2+2*n):"0x"+e.substring(t)}function m(e){let t="0x";return e.forEach(e=>{t+=d(e).substring(2)}),t}function b(e,t){for("string"!=typeof e?e=d(e):f(e)||r.throwArgumentError("invalid hex string","value",e),e.length>2*t+2&&r.throwArgumentError("value out of range","value",arguments[1]);e.length<2*t+2;)e="0x0"+e.substring(2);return e}function y(e){const t={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0};if(a(e)){const n=c(e);65!==n.length&&r.throwArgumentError("invalid signature string; must be 65 bytes","signature",e),t.r=d(n.slice(0,32)),t.s=d(n.slice(32,64)),t.v=n[64],t.v<27&&(0===t.v||1===t.v?t.v+=27:r.throwArgumentError("signature invalid v byte","signature",e)),t.recoveryParam=1-t.v%2,t.recoveryParam&&(n[32]|=128),t._vs=d(n.slice(32,64))}else{if(t.r=e.r,t.s=e.s,t.v=e.v,t.recoveryParam=e.recoveryParam,t._vs=e._vs,null!=t._vs){const n=function(e,t){(e=c(e)).length>t&&r.throwArgumentError("value out of range","value",arguments[0]);const n=new Uint8Array(t);return n.set(e,t-e.length),o(n)}(c(t._vs),32);t._vs=d(n);const i=n[0]>=128?1:0;null==t.recoveryParam?t.recoveryParam=i:t.recoveryParam!==i&&r.throwArgumentError("signature recoveryParam mismatch _vs","signature",e),n[0]&=127;const a=d(n);null==t.s?t.s=a:t.s!==a&&r.throwArgumentError("signature v mismatch _vs","signature",e)}null==t.recoveryParam?null==t.v?r.throwArgumentError("signature missing v and recoveryParam","signature",e):t.recoveryParam=1-t.v%2:null==t.v?t.v=27+t.recoveryParam:t.recoveryParam!==1-t.v%2&&r.throwArgumentError("signature recoveryParam mismatch v","signature",e),null!=t.r&&f(t.r)?t.r=b(t.r,32):r.throwArgumentError("signature missing or invalid r","signature",e),null!=t.s&&f(t.s)?t.s=b(t.s,32):r.throwArgumentError("signature missing or invalid s","signature",e);const n=c(t.s);n[0]>=128&&r.throwArgumentError("signature s out of range","signature",e),t.recoveryParam&&(n[0]|=128);const i=d(n);t._vs&&(f(t._vs)||r.throwArgumentError("signature invalid _vs","signature",e),t._vs=b(t._vs,32)),null==t._vs?t._vs=i:t._vs!==i&&r.throwArgumentError("signature _vs mismatch v and s","signature",e)}return t}},function(e,t,n){"use strict";n.d(t,"i",(function(){return a})),n.d(t,"h",(function(){return s})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"l",(function(){return u})),n.d(t,"j",(function(){return f})),n.d(t,"g",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return h})),n.d(t,"c",(function(){return m})),n.d(t,"f",(function(){return b})),n.d(t,"k",(function(){return y}));const r=new(n(36).a)("bytes/5.0.8");function i(e){return!!e.toHexString}function o(e){return e.slice||(e.slice=function(){const t=Array.prototype.slice.call(arguments);return o(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function a(e){return f(e)&&!(e.length%2)||s(e)}function s(e){if(null==e)return!1;if(e.constructor===Uint8Array)return!0;if("string"==typeof e)return!1;if(null==e.length)return!1;for(let t=0;t=256||n%1)return!1}return!0}function c(e,t){if(t||(t={}),"number"==typeof e){r.checkSafeUint53(e,"invalid arrayify value");const t=[];for(;e;)t.unshift(255&e),e=parseInt(String(e/256));return 0===t.length&&t.push(0),o(new Uint8Array(t))}if(t.allowMissingPrefix&&"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),i(e)&&(e=e.toHexString()),f(e)){let n=e.substring(2);n.length%2&&("left"===t.hexPad?n="0x0"+n.substring(2):"right"===t.hexPad?n+="0":r.throwArgumentError("hex data is odd-length","value",e));const i=[];for(let e=0;ec(e)),n=t.reduce((e,t)=>e+t.length,0),r=new Uint8Array(n);return t.reduce((e,t)=>(r.set(t,e),e+t.length),0),o(r)}function u(e){let t=c(e);if(0===t.length)return t;let n=0;for(;n>4]+"0123456789abcdef"[15&r]}return t}return r.throwArgumentError("invalid hexlify value","value",e)}function p(e){if("string"!=typeof e)e=d(e);else if(!f(e)||e.length%2)return null;return(e.length-2)/2}function h(e,t,n){return"string"!=typeof e?e=d(e):(!f(e)||e.length%2)&&r.throwArgumentError("invalid hexData","value",e),t=2+2*t,null!=n?"0x"+e.substring(t,2+2*n):"0x"+e.substring(t)}function m(e){let t="0x";return e.forEach(e=>{t+=d(e).substring(2)}),t}function b(e,t){for("string"!=typeof e?e=d(e):f(e)||r.throwArgumentError("invalid hex string","value",e),e.length>2*t+2&&r.throwArgumentError("value out of range","value",arguments[1]);e.length<2*t+2;)e="0x0"+e.substring(2);return e}function y(e){const t={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0};if(a(e)){const n=c(e);65!==n.length&&r.throwArgumentError("invalid signature string; must be 65 bytes","signature",e),t.r=d(n.slice(0,32)),t.s=d(n.slice(32,64)),t.v=n[64],t.v<27&&(0===t.v||1===t.v?t.v+=27:r.throwArgumentError("signature invalid v byte","signature",e)),t.recoveryParam=1-t.v%2,t.recoveryParam&&(n[32]|=128),t._vs=d(n.slice(32,64))}else{if(t.r=e.r,t.s=e.s,t.v=e.v,t.recoveryParam=e.recoveryParam,t._vs=e._vs,null!=t._vs){const n=function(e,t){(e=c(e)).length>t&&r.throwArgumentError("value out of range","value",arguments[0]);const n=new Uint8Array(t);return n.set(e,t-e.length),o(n)}(c(t._vs),32);t._vs=d(n);const i=n[0]>=128?1:0;null==t.recoveryParam?t.recoveryParam=i:t.recoveryParam!==i&&r.throwArgumentError("signature recoveryParam mismatch _vs","signature",e),n[0]&=127;const a=d(n);null==t.s?t.s=a:t.s!==a&&r.throwArgumentError("signature v mismatch _vs","signature",e)}null==t.recoveryParam?null==t.v?r.throwArgumentError("signature missing v and recoveryParam","signature",e):t.recoveryParam=1-t.v%2:null==t.v?t.v=27+t.recoveryParam:t.recoveryParam!==1-t.v%2&&r.throwArgumentError("signature recoveryParam mismatch v","signature",e),null!=t.r&&f(t.r)?t.r=b(t.r,32):r.throwArgumentError("signature missing or invalid r","signature",e),null!=t.s&&f(t.s)?t.s=b(t.s,32):r.throwArgumentError("signature missing or invalid s","signature",e);const n=c(t.s);n[0]>=128&&r.throwArgumentError("signature s out of range","signature",e),t.recoveryParam&&(n[0]|=128);const i=d(n);t._vs&&(f(t._vs)||r.throwArgumentError("signature invalid _vs","signature",e),t._vs=b(t._vs,32)),null==t._vs?t._vs=i:t._vs!==i&&r.throwArgumentError("signature _vs mismatch v and s","signature",e)}return t}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(324),t),i(n(652),t),i(n(653),t),i(n(654),t),i(n(655),t),i(n(326),t),i(n(327),t),i(n(325),t),i(n(659),t),i(n(662),t)},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};class f extends a.ChainStore{constructor(e,t){super(e.map(e=>Object.assign(Object.assign({},e),{embeded:!0}))),this.requester=t,this._isInitializing=!1,this.deferChainIdSelect="",this.selectedChainId=e[0].chainId,Object(o.makeObservable)(this),this.init()}get isInitializing(){return this._isInitializing}selectChain(e){this._isInitializing&&(this.deferChainIdSelect=e),this.selectedChainId=e}get current(){return this.hasChain(this.selectedChainId)?this.getChain(this.selectedChainId):this.chainInfos[0]}*saveLastViewChainId(){const e=new s.SetPersistentMemoryMsg({lastViewChainId:this.selectedChainId});yield this.requester.sendMessage(c.BACKGROUND_PORT,e)}*init(){this._isInitializing=!0,yield this.getChainInfosFromBackground();const e=new s.GetPersistentMemoryMsg,t=yield*Object(l.toGenerator)(this.requester.sendMessage(c.BACKGROUND_PORT,e));this.deferChainIdSelect||t&&t.lastViewChainId&&this.selectChain(t.lastViewChainId),this._isInitializing=!1,this.deferChainIdSelect&&(this.selectChain(this.deferChainIdSelect),this.deferChainIdSelect="")}*getChainInfosFromBackground(){const e=new s.GetChainInfosMsg,t=yield*Object(l.toGenerator)(this.requester.sendMessage(c.BACKGROUND_PORT,e));this.setChainInfos(t.chainInfos)}*removeChainInfo(e){const t=new s.RemoveSuggestedChainInfoMsg(e),n=yield*Object(l.toGenerator)(this.requester.sendMessage(c.BACKGROUND_PORT,t));this.setChainInfos(n)}*tryUpdateChain(e){const t=new s.TryUpdateChainMsg(e);yield this.requester.sendMessage(c.BACKGROUND_PORT,t),yield this.getChainInfosFromBackground()}}u([o.observable],f.prototype,"selectedChainId",void 0),u([o.observable],f.prototype,"_isInitializing",void 0),u([o.action],f.prototype,"selectChain",null),u([o.computed],f.prototype,"current",null),u([o.flow],f.prototype,"saveLastViewChainId",null),u([o.flow],f.prototype,"init",null),u([o.flow],f.prototype,"getChainInfosFromBackground",null),u([o.flow],f.prototype,"removeChainInfo",null),u([o.flow],f.prototype,"tryUpdateChain",null);var d=n(841),p=n(208);class h{constructor(){const e=new c.ExtensionRouter(c.ContentScriptEnv.produceEnv);e.addGuard(c.ContentScriptGuards.checkMessageIsInternal),this.interactionStore=new a.InteractionStore(e,new c.InExtensionMessageRequester),this.chainStore=new f(d.a,new c.InExtensionMessageRequester),this.keyRingStore=new a.KeyRingStore(this.chainStore,new c.InExtensionMessageRequester,this.interactionStore),this.ibcChannelStore=new a.IBCChannelStore(new l.ExtensionKVStore("store_ibc_channel")),this.permissionStore=new a.PermissionStore(this.interactionStore,new c.InExtensionMessageRequester),this.signInteractionStore=new a.SignInteractionStore(this.interactionStore),this.ledgerInitStore=new a.LedgerInitStore(this.interactionStore,new c.InExtensionMessageRequester),this.chainSuggestStore=new a.ChainSuggestStore(this.interactionStore),this.queriesStore=new a.QueriesStore(new l.ExtensionKVStore("store_queries"),this.chainStore),this.accountStore=new a.AccountStore(this.chainStore,this.queriesStore,{defaultOpts:{prefetching:!window.location.href.includes("#/unlock")},chainOpts:this.chainStore.chainInfos.map(e=>e.chainId.startsWith("shentu-")?{chainId:e.chainId,msgOpts:{send:{native:{type:"bank/MsgSend"}}}}:e.chainId.startsWith("akashnet-")||e.chainId.startsWith("sifchain")?{chainId:e.chainId,msgOpts:{send:{native:{gas:12e4}}}}:{chainId:e.chainId})}),this.priceStore=new a.CoinGeckoPriceStore(new l.ExtensionKVStore("store_prices"),p.d.reduce((e,t)=>(e[t.currency]=t,e),{})),this.tokensStore=new a.TokensStore(this.chainStore,new c.InExtensionMessageRequester,this.interactionStore),this.ibcCurrencyRegistrar=new a.IBCCurrencyRegsitrar(this.chainStore,this.accountStore,this.queriesStore),e.listen(c.APP_PORT)}}const m=i.a.createContext(null),b=({children:e})=>{const[t]=Object(r.useState)(()=>new h);return i.a.createElement(m.Provider,{value:t},e)},y=()=>{const e=i.a.useContext(m);if(!e)throw new Error("You have forgot to use StoreProvider");return e}},function(e,t,n){var r,i,o,a,s,c,l,u,f,d,p,h,m,b,y,g,v,w,_;e.exports=(r=n(9),n(67),void(r.lib.Cipher||(i=r,o=i.lib,a=o.Base,s=o.WordArray,c=o.BufferedBlockAlgorithm,l=i.enc,l.Utf8,u=l.Base64,f=i.algo.EvpKDF,d=o.Cipher=c.extend({cfg:a.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){c.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?_:v}return function(t){return{encrypt:function(n,r,i){return e(r).encrypt(t,n,r,i)},decrypt:function(n,r,i){return e(r).decrypt(t,n,r,i)}}}}()}),o.StreamCipher=d.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),p=i.mode={},h=o.BlockCipherMode=a.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),m=p.CBC=function(){var e=h.extend();function t(e,t,n){var r,i=this._iv;i?(r=i,this._iv=void 0):r=this._prevBlock;for(var o=0;o>>2];e.sigBytes-=t}},o.BlockCipher=d.extend({cfg:d.cfg.extend({mode:m,padding:b}),reset:function(){var e;d.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),y=o.CipherParams=a.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),g=(i.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?s.create([1398893684,1701076831]).concat(n).concat(t):t).toString(u)},parse:function(e){var t,n=u.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=s.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),y.create({ciphertext:n,salt:t})}},v=o.SerializableCipher=a.extend({cfg:a.extend({format:g}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=e.createEncryptor(n,r),o=i.finalize(t),a=i.cfg;return y.create({ciphertext:o,key:n,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),w=(i.kdf={}).OpenSSL={execute:function(e,t,n,r){r||(r=s.random(8));var i=f.create({keySize:t+n}).compute(e,r),o=s.create(i.words.slice(t),4*n);return i.sigBytes=4*t,y.create({key:i,iv:o,salt:r})}},_=o.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:w}),encrypt:function(e,t,n,r){var i=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize);r.iv=i.iv;var o=v.encrypt.call(this,e,t,i.key,r);return o.mixIn(i),o},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=r.kdf.execute(n,e.keySize,e.ivSize,t.salt);return r.iv=i.iv,v.decrypt.call(this,e,t,i.key,r)}}))))},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(221),t),i(n(421),t),i(n(235),t),i(n(116),t),i(n(112),t),i(n(234),t),i(n(149),t)},function(e,t,n){const r=n(132),{MAX_LENGTH:i,MAX_SAFE_INTEGER:o}=n(131),{re:a,t:s}=n(84),c=n(133),{compareIdentifiers:l}=n(182);class u{constructor(e,t){if(t=c(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>i)throw new TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?a[s.LOOSE]:a[s.FULL]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this}}e.exports=u},function(e,t,n){"use strict";(function(e){n.d(t,"e",(function(){return r})),n.d(t,"p",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"o",(function(){return c})),n.d(t,"q",(function(){return l})),n.d(t,"t",(function(){return u})),n.d(t,"i",(function(){return f})),n.d(t,"r",(function(){return d})),n.d(t,"s",(function(){return p})),n.d(t,"k",(function(){return h})),n.d(t,"m",(function(){return m})),n.d(t,"j",(function(){return b})),n.d(t,"l",(function(){return y})),n.d(t,"g",(function(){return g})),n.d(t,"f",(function(){return v})),n.d(t,"h",(function(){return w})),n.d(t,"n",(function(){return _})),n.d(t,"b",(function(){return k}));var r="1.12.0",i="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||Function("return this")()||{},o=Array.prototype,a=Object.prototype,s="undefined"!=typeof Symbol?Symbol.prototype:null,c=o.push,l=o.slice,u=a.toString,f=a.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,h=Array.isArray,m=Object.keys,b=Object.create,y=d&&ArrayBuffer.isView,g=isNaN,v=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),_=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],k=Math.pow(2,53)-1}).call(this,n(12))},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}n.d(t,"a",(function(){return r}))},function(e,t,n){(function(e){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var a;"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a=n(1400).Buffer}catch(e){}function s(e,t,n){for(var r=0,i=Math.min(e.length,n),o=t;o=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return r}function c(e,t,n,r){for(var i=0,o=Math.min(e.length,n),a=t;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)i=s(e,n,n+6),this.words[r]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==t&&(i=s(e,t,n+6),this.words[r]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],u=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,c=a/67108864|0;n.words[0]=s;for(var l=1;l>>26,f=67108863&c,d=Math.min(l,t.length-1),p=Math.max(0,l-e.length+1);p<=d;p++){var h=l-p|0;u+=(a=(i=0|e.words[h])*(o=0|t.words[p])+f)/67108864|0,f=67108863&a}n.words[l]=0|f,c=0|u}return 0!==c?n.words[l]=0|c:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?l[6-c.length]+c+n:c+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var d=u[e],p=f[e];n="";var h=this.clone();for(h.negative=0;!h.isZero();){var m=h.modn(p).toString(e);n=(h=h.idivn(p)).isZero()?m+n:l[d-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r(void 0!==a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===t,l=new e(o),u=this.clone();if(c){for(s=0;!u.isZero();s++)a=u.andln(255),u.iushrn(8),l[s]=a;for(;s=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,p=0|a[1],h=8191&p,m=p>>>13,b=0|a[2],y=8191&b,g=b>>>13,v=0|a[3],w=8191&v,_=v>>>13,k=0|a[4],x=8191&k,S=k>>>13,O=0|a[5],E=8191&O,T=O>>>13,A=0|a[6],M=8191&A,I=A>>>13,P=0|a[7],C=8191&P,j=P>>>13,D=0|a[8],R=8191&D,N=D>>>13,B=0|a[9],L=8191&B,U=B>>>13,F=0|s[0],q=8191&F,z=F>>>13,V=0|s[1],H=8191&V,$=V>>>13,K=0|s[2],W=8191&K,G=K>>>13,J=0|s[3],Q=8191&J,Y=J>>>13,Z=0|s[4],X=8191&Z,ee=Z>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ce=8191&se,le=se>>>13,ue=0|s[8],fe=8191&ue,de=ue>>>13,pe=0|s[9],he=8191&pe,me=pe>>>13;n.negative=e.negative^t.negative,n.length=19;var be=(l+(r=Math.imul(f,q))|0)+((8191&(i=(i=Math.imul(f,z))+Math.imul(d,q)|0))<<13)|0;l=((o=Math.imul(d,z))+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(h,q),i=(i=Math.imul(h,z))+Math.imul(m,q)|0,o=Math.imul(m,z);var ye=(l+(r=r+Math.imul(f,H)|0)|0)+((8191&(i=(i=i+Math.imul(f,$)|0)+Math.imul(d,H)|0))<<13)|0;l=((o=o+Math.imul(d,$)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(y,q),i=(i=Math.imul(y,z))+Math.imul(g,q)|0,o=Math.imul(g,z),r=r+Math.imul(h,H)|0,i=(i=i+Math.imul(h,$)|0)+Math.imul(m,H)|0,o=o+Math.imul(m,$)|0;var ge=(l+(r=r+Math.imul(f,W)|0)|0)+((8191&(i=(i=i+Math.imul(f,G)|0)+Math.imul(d,W)|0))<<13)|0;l=((o=o+Math.imul(d,G)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(w,q),i=(i=Math.imul(w,z))+Math.imul(_,q)|0,o=Math.imul(_,z),r=r+Math.imul(y,H)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(g,H)|0,o=o+Math.imul(g,$)|0,r=r+Math.imul(h,W)|0,i=(i=i+Math.imul(h,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0;var ve=(l+(r=r+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,Y)|0)+Math.imul(d,Q)|0))<<13)|0;l=((o=o+Math.imul(d,Y)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(x,q),i=(i=Math.imul(x,z))+Math.imul(S,q)|0,o=Math.imul(S,z),r=r+Math.imul(w,H)|0,i=(i=i+Math.imul(w,$)|0)+Math.imul(_,H)|0,o=o+Math.imul(_,$)|0,r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(g,W)|0,o=o+Math.imul(g,G)|0,r=r+Math.imul(h,Q)|0,i=(i=i+Math.imul(h,Y)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,Y)|0;var we=(l+(r=r+Math.imul(f,X)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,X)|0))<<13)|0;l=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(E,q),i=(i=Math.imul(E,z))+Math.imul(T,q)|0,o=Math.imul(T,z),r=r+Math.imul(x,H)|0,i=(i=i+Math.imul(x,$)|0)+Math.imul(S,H)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(w,W)|0,i=(i=i+Math.imul(w,G)|0)+Math.imul(_,W)|0,o=o+Math.imul(_,G)|0,r=r+Math.imul(y,Q)|0,i=(i=i+Math.imul(y,Y)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,Y)|0,r=r+Math.imul(h,X)|0,i=(i=i+Math.imul(h,ee)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,ee)|0;var _e=(l+(r=r+Math.imul(f,ne)|0)|0)+((8191&(i=(i=i+Math.imul(f,re)|0)+Math.imul(d,ne)|0))<<13)|0;l=((o=o+Math.imul(d,re)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(M,q),i=(i=Math.imul(M,z))+Math.imul(I,q)|0,o=Math.imul(I,z),r=r+Math.imul(E,H)|0,i=(i=i+Math.imul(E,$)|0)+Math.imul(T,H)|0,o=o+Math.imul(T,$)|0,r=r+Math.imul(x,W)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(_,Q)|0,o=o+Math.imul(_,Y)|0,r=r+Math.imul(y,X)|0,i=(i=i+Math.imul(y,ee)|0)+Math.imul(g,X)|0,o=o+Math.imul(g,ee)|0,r=r+Math.imul(h,ne)|0,i=(i=i+Math.imul(h,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0;var ke=(l+(r=r+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ae)|0)+Math.imul(d,oe)|0))<<13)|0;l=((o=o+Math.imul(d,ae)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(C,q),i=(i=Math.imul(C,z))+Math.imul(j,q)|0,o=Math.imul(j,z),r=r+Math.imul(M,H)|0,i=(i=i+Math.imul(M,$)|0)+Math.imul(I,H)|0,o=o+Math.imul(I,$)|0,r=r+Math.imul(E,W)|0,i=(i=i+Math.imul(E,G)|0)+Math.imul(T,W)|0,o=o+Math.imul(T,G)|0,r=r+Math.imul(x,Q)|0,i=(i=i+Math.imul(x,Y)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,Y)|0,r=r+Math.imul(w,X)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(y,ne)|0,i=(i=i+Math.imul(y,re)|0)+Math.imul(g,ne)|0,o=o+Math.imul(g,re)|0,r=r+Math.imul(h,oe)|0,i=(i=i+Math.imul(h,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var xe=(l+(r=r+Math.imul(f,ce)|0)|0)+((8191&(i=(i=i+Math.imul(f,le)|0)+Math.imul(d,ce)|0))<<13)|0;l=((o=o+Math.imul(d,le)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(R,q),i=(i=Math.imul(R,z))+Math.imul(N,q)|0,o=Math.imul(N,z),r=r+Math.imul(C,H)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(j,H)|0,o=o+Math.imul(j,$)|0,r=r+Math.imul(M,W)|0,i=(i=i+Math.imul(M,G)|0)+Math.imul(I,W)|0,o=o+Math.imul(I,G)|0,r=r+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,Y)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,Y)|0,r=r+Math.imul(x,X)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(w,ne)|0,i=(i=i+Math.imul(w,re)|0)+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(y,oe)|0,i=(i=i+Math.imul(y,ae)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,ae)|0,r=r+Math.imul(h,ce)|0,i=(i=i+Math.imul(h,le)|0)+Math.imul(m,ce)|0,o=o+Math.imul(m,le)|0;var Se=(l+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;l=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(L,q),i=(i=Math.imul(L,z))+Math.imul(U,q)|0,o=Math.imul(U,z),r=r+Math.imul(R,H)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(N,H)|0,o=o+Math.imul(N,$)|0,r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(j,W)|0,o=o+Math.imul(j,G)|0,r=r+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,Y)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,Y)|0,r=r+Math.imul(E,X)|0,i=(i=i+Math.imul(E,ee)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(x,ne)|0,i=(i=i+Math.imul(x,re)|0)+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,ae)|0)+Math.imul(_,oe)|0,o=o+Math.imul(_,ae)|0,r=r+Math.imul(y,ce)|0,i=(i=i+Math.imul(y,le)|0)+Math.imul(g,ce)|0,o=o+Math.imul(g,le)|0,r=r+Math.imul(h,fe)|0,i=(i=i+Math.imul(h,de)|0)+Math.imul(m,fe)|0,o=o+Math.imul(m,de)|0;var Oe=(l+(r=r+Math.imul(f,he)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(d,he)|0))<<13)|0;l=((o=o+Math.imul(d,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,$))+Math.imul(U,H)|0,o=Math.imul(U,$),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,Y)|0)+Math.imul(j,Q)|0,o=o+Math.imul(j,Y)|0,r=r+Math.imul(M,X)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(I,X)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(E,ne)|0,i=(i=i+Math.imul(E,re)|0)+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,ae)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,ae)|0,r=r+Math.imul(w,ce)|0,i=(i=i+Math.imul(w,le)|0)+Math.imul(_,ce)|0,o=o+Math.imul(_,le)|0,r=r+Math.imul(y,fe)|0,i=(i=i+Math.imul(y,de)|0)+Math.imul(g,fe)|0,o=o+Math.imul(g,de)|0;var Ee=(l+(r=r+Math.imul(h,he)|0)|0)+((8191&(i=(i=i+Math.imul(h,me)|0)+Math.imul(m,he)|0))<<13)|0;l=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(L,W),i=(i=Math.imul(L,G))+Math.imul(U,W)|0,o=Math.imul(U,G),r=r+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,Y)|0)+Math.imul(N,Q)|0,o=o+Math.imul(N,Y)|0,r=r+Math.imul(C,X)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(j,X)|0,o=o+Math.imul(j,ee)|0,r=r+Math.imul(M,ne)|0,i=(i=i+Math.imul(M,re)|0)+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(E,oe)|0,i=(i=i+Math.imul(E,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,r=r+Math.imul(x,ce)|0,i=(i=i+Math.imul(x,le)|0)+Math.imul(S,ce)|0,o=o+Math.imul(S,le)|0,r=r+Math.imul(w,fe)|0,i=(i=i+Math.imul(w,de)|0)+Math.imul(_,fe)|0,o=o+Math.imul(_,de)|0;var Te=(l+(r=r+Math.imul(y,he)|0)|0)+((8191&(i=(i=i+Math.imul(y,me)|0)+Math.imul(g,he)|0))<<13)|0;l=((o=o+Math.imul(g,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,Y))+Math.imul(U,Q)|0,o=Math.imul(U,Y),r=r+Math.imul(R,X)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(N,X)|0,o=o+Math.imul(N,ee)|0,r=r+Math.imul(C,ne)|0,i=(i=i+Math.imul(C,re)|0)+Math.imul(j,ne)|0,o=o+Math.imul(j,re)|0,r=r+Math.imul(M,oe)|0,i=(i=i+Math.imul(M,ae)|0)+Math.imul(I,oe)|0,o=o+Math.imul(I,ae)|0,r=r+Math.imul(E,ce)|0,i=(i=i+Math.imul(E,le)|0)+Math.imul(T,ce)|0,o=o+Math.imul(T,le)|0,r=r+Math.imul(x,fe)|0,i=(i=i+Math.imul(x,de)|0)+Math.imul(S,fe)|0,o=o+Math.imul(S,de)|0;var Ae=(l+(r=r+Math.imul(w,he)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(_,he)|0))<<13)|0;l=((o=o+Math.imul(_,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(L,X),i=(i=Math.imul(L,ee))+Math.imul(U,X)|0,o=Math.imul(U,ee),r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(N,ne)|0,o=o+Math.imul(N,re)|0,r=r+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(j,oe)|0,o=o+Math.imul(j,ae)|0,r=r+Math.imul(M,ce)|0,i=(i=i+Math.imul(M,le)|0)+Math.imul(I,ce)|0,o=o+Math.imul(I,le)|0,r=r+Math.imul(E,fe)|0,i=(i=i+Math.imul(E,de)|0)+Math.imul(T,fe)|0,o=o+Math.imul(T,de)|0;var Me=(l+(r=r+Math.imul(x,he)|0)|0)+((8191&(i=(i=i+Math.imul(x,me)|0)+Math.imul(S,he)|0))<<13)|0;l=((o=o+Math.imul(S,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(L,ne),i=(i=Math.imul(L,re))+Math.imul(U,ne)|0,o=Math.imul(U,re),r=r+Math.imul(R,oe)|0,i=(i=i+Math.imul(R,ae)|0)+Math.imul(N,oe)|0,o=o+Math.imul(N,ae)|0,r=r+Math.imul(C,ce)|0,i=(i=i+Math.imul(C,le)|0)+Math.imul(j,ce)|0,o=o+Math.imul(j,le)|0,r=r+Math.imul(M,fe)|0,i=(i=i+Math.imul(M,de)|0)+Math.imul(I,fe)|0,o=o+Math.imul(I,de)|0;var Ie=(l+(r=r+Math.imul(E,he)|0)|0)+((8191&(i=(i=i+Math.imul(E,me)|0)+Math.imul(T,he)|0))<<13)|0;l=((o=o+Math.imul(T,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(L,oe),i=(i=Math.imul(L,ae))+Math.imul(U,oe)|0,o=Math.imul(U,ae),r=r+Math.imul(R,ce)|0,i=(i=i+Math.imul(R,le)|0)+Math.imul(N,ce)|0,o=o+Math.imul(N,le)|0,r=r+Math.imul(C,fe)|0,i=(i=i+Math.imul(C,de)|0)+Math.imul(j,fe)|0,o=o+Math.imul(j,de)|0;var Pe=(l+(r=r+Math.imul(M,he)|0)|0)+((8191&(i=(i=i+Math.imul(M,me)|0)+Math.imul(I,he)|0))<<13)|0;l=((o=o+Math.imul(I,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(L,ce),i=(i=Math.imul(L,le))+Math.imul(U,ce)|0,o=Math.imul(U,le),r=r+Math.imul(R,fe)|0,i=(i=i+Math.imul(R,de)|0)+Math.imul(N,fe)|0,o=o+Math.imul(N,de)|0;var Ce=(l+(r=r+Math.imul(C,he)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(j,he)|0))<<13)|0;l=((o=o+Math.imul(j,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(L,fe),i=(i=Math.imul(L,de))+Math.imul(U,fe)|0,o=Math.imul(U,de);var je=(l+(r=r+Math.imul(R,he)|0)|0)+((8191&(i=(i=i+Math.imul(R,me)|0)+Math.imul(N,he)|0))<<13)|0;l=((o=o+Math.imul(N,me)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863;var De=(l+(r=Math.imul(L,he))|0)+((8191&(i=(i=Math.imul(L,me))+Math.imul(U,he)|0))<<13)|0;return l=((o=Math.imul(U,me))+(i>>>13)|0)+(De>>>26)|0,De&=67108863,c[0]=be,c[1]=ye,c[2]=ge,c[3]=ve,c[4]=we,c[5]=_e,c[6]=ke,c[7]=xe,c[8]=Se,c[9]=Oe,c[10]=Ee,c[11]=Te,c[12]=Ae,c[13]=Me,c[14]=Ie,c[15]=Pe,c[16]=Ce,c[17]=je,c[18]=De,0!==l&&(c[19]=l,n.length++),n};function h(e,t,n){return(new m).mulp(e,t,n)}function m(e,t){this.x=e,this.y=t}Math.imul||(p=d),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?p(this,e,t):n<63?d(this,e,t):n<1024?function(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,e,t):h(this,e,t)},m.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},m.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,l=0;l=0&&(0!==u||l>=i);l--){var f=0|this.words[l];this.words[l]=u<<26-o|f>>>o,u=f&s}return c&&0!==u&&(c.words[c.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,c=r.length-i.length;if("mod"!==t){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var l=0;l=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,f);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);s&&(s.words[f]=d)}return s&&s.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var u=n.clone(),f=t.clone();!t.isZero();){for(var d=0,p=1;0==(t.words[0]&p)&&d<26;++d,p<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var h=0,m=1;0==(n.words[0]&m)&&h<26;++h,m<<=1);if(h>0)for(n.iushrn(h);h-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(u),c.isub(f)),s.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(c)):(n.isub(t),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),c=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,u=1;0==(t.words[0]&u)&&l<26;++l,u<<=1);if(l>0)for(t.iushrn(l);l-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,d=1;0==(n.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(n.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new k(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function g(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function x(e){k.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},i(g,y),g.prototype.split=function(e,t){for(var n=Math.min(e.length,9),r=0;r>>22,i=o}i>>>=22,e.words[r-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},g.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new g;else if("p224"===e)t=new v;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new _}return b[e]=t,t},k.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},k.prototype._verify2=function(e,t){r(0==(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},k.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},k.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},k.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},k.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},k.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},k.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},k.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},k.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},k.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},k.prototype.isqr=function(e){return this.imul(e,e.clone())},k.prototype.sqr=function(e){return this.mul(e,e)},k.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),l=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,l).cmp(c);)u.redIAdd(c);for(var f=this.pow(u,i),d=this.pow(e,i.addn(1).iushrn(1)),p=this.pow(e,i),h=a;0!==p.cmp(s);){for(var m=p,b=0;0!==m.cmp(s);b++)m=m.redSqr();r(b=0;r--){for(var l=t.words[r],u=c-1;u>=0;u--){var f=l>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}c=26}return i},k.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},k.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new x(e)},i(x,k),x.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},x.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},x.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},x.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},x.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,n(71)(e))},function(e,t,n){"use strict";var r=n(302),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function l(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<"']/g;function l(e){return(""+e).replace(c,e=>s[e.charCodeAt(0)])}function u(e,t,n={}){return t.reduce((t,r)=>(r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t),{})}function f(e){Object(a.a)(e,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function d(e,t){return`[React Intl] ${e}${t?"\n"+t.stack:""}`}const p={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:function(e){0}};function h(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function m(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}){const t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames;return{getDateTimeFormat:Object(o.a)(Intl.DateTimeFormat,e.dateTime),getNumberFormat:Object(o.a)(Intl.NumberFormat,e.number),getMessageFormat:Object(o.a)(i.a,e.message),getRelativeTimeFormat:Object(o.a)(t,e.relativeTime),getPluralRules:Object(o.a)(Intl.PluralRules,e.pluralRules),getListFormat:Object(o.a)(n,e.list),getDisplayNames:Object(o.a)(r,e.displayNames)}}function b(e,t,n,r){const i=e&&e[t];let o;if(i&&(o=i[n]),o)return o;r(d(`No ${t} format named: ${n}`))}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=(a=r,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(c," */")),o=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(o).concat([i]).join("\n")}var a,s,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o(i>>1)-1?(i>>1)-c:c,o.isubn(s)):s=0,r[a]=s,o.iushrn(1)}return r},r.getJSF=function(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var r=0,i=0;e.cmpn(-r)>0||t.cmpn(-i)>0;){var o,a,s,c=e.andln(3)+r&3,l=t.andln(3)+i&3;if(3===c&&(c=-1),3===l&&(l=-1),0==(1&c))o=0;else o=3!==(s=e.andln(7)+r&7)&&5!==s||2!==l?c:-c;if(n[0].push(o),0==(1&l))a=0;else a=3!==(s=t.andln(7)+i&7)&&5!==s||2!==c?l:-l;n[1].push(a),2*r===o+1&&(r=1-r),2*i===a+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return n},r.cachedProperty=function(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(e){return"string"==typeof e?r.toArray(e,"hex"):e},r.intFromLE=function(e){return new i(e,"hex","le")}},function(e,t,n){"use strict";n.d(t,"e",(function(){return r.a})),n.d(t,"g",(function(){return p})),n.d(t,"a",(function(){return h.a})),n.d(t,"b",(function(){return m.a})),n.d(t,"d",(function(){return b.a})),n.d(t,"f",(function(){return y.a})),n.d(t,"c",(function(){return g.a}));var r=n(884),i=n(0),o=n.n(i),a=n(10),s=n.n(a),c=n(404),l=n(405),u=n(868),f=n(895),d=n(2);const p=Object(i.forwardRef)((e,t)=>{const{label:n,error:r}=e,a=Object.assign({},e);delete a.className,delete a.color,delete a.label,delete a.error,delete a.children;const[p]=Object(i.useState)(()=>{const e=new Uint8Array(4);return crypto.getRandomValues(e),"input-"+d.Buffer.from(e).toString("hex")});return o.a.createElement(c.a,null,n?o.a.createElement(l.a,{for:p,className:"form-control-label"},n):null,o.a.createElement(u.a,Object.assign({id:p,className:s()("form-control-alternative",e.className),type:"textarea",innerRef:t,invalid:null!=r},a)),r?o.a.createElement(f.a,null,r):null)});var h=n(996),m=n(1008),b=n(1009),y=n(1010),g=(n(886),n(887),n(1011))},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));let r=!1,i=!1;const o={debug:1,default:2,info:2,warning:3,error:4,off:5};let a=o.default,s=null;const c=function(){try{const e=[];if(["NFD","NFC","NFKD","NFKC"].forEach(t=>{try{if("test"!=="test".normalize(t))throw new Error("bad normalize")}catch(n){e.push(t)}}),e.length)throw new Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(e){return e.message}return null}();var l,u;!function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"}(l||(l={})),function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT"}(u||(u={}));class f{constructor(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}_log(e,t){const n=e.toLowerCase();null==o[n]&&this.throwArgumentError("invalid log level name","logLevel",e),a>o[n]||console.log.apply(console,t)}debug(...e){this._log(f.levels.DEBUG,e)}info(...e){this._log(f.levels.INFO,e)}warn(...e){this._log(f.levels.WARNING,e)}makeError(e,t,n){if(i)return this.makeError("censored error",t,{});t||(t=f.errors.UNKNOWN_ERROR),n||(n={});const r=[];Object.keys(n).forEach(e=>{try{r.push(e+"="+JSON.stringify(n[e]))}catch(t){r.push(e+"="+JSON.stringify(n[e].toString()))}}),r.push("code="+t),r.push("version="+this.version);const o=e;r.length&&(e+=" ("+r.join(", ")+")");const a=new Error(e);return a.reason=o,a.code=t,Object.keys(n).forEach((function(e){a[e]=n[e]})),a}throwError(e,t,n){throw this.makeError(e,t,n)}throwArgumentError(e,t,n){return this.throwError(e,f.errors.INVALID_ARGUMENT,{argument:t,value:n})}assert(e,t,n,r){e||this.throwError(t,n,r)}assertArgument(e,t,n,r){e||this.throwArgumentError(t,n,r)}checkNormalize(e){null==e&&(e="platform missing String.prototype.normalize"),c&&this.throwError("platform missing String.prototype.normalize",f.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:c})}checkSafeUint53(e,t){"number"==typeof e&&(null==t&&(t="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(t,f.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(t,f.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))}checkArgumentCount(e,t,n){n=n?": "+n:"",et&&this.throwError("too many arguments"+n,f.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:t})}checkNew(e,t){e!==Object&&null!=e||this.throwError("missing new",f.errors.MISSING_NEW,{name:t.name})}checkAbstract(e,t){e===t?this.throwError("cannot instantiate abstract class "+JSON.stringify(t.name)+" directly; use a sub-class",f.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):e!==Object&&null!=e||this.throwError("missing new",f.errors.MISSING_NEW,{name:t.name})}static globalLogger(){return s||(s=new f("logger/5.0.8")),s}static setCensorship(e,t){if(!e&&t&&this.globalLogger().throwError("cannot permanently disable censorship",f.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),r){if(!e)return;this.globalLogger().throwError("error censorship permanent",f.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}i=!!e,r=!!t}static setLogLevel(e){const t=o[e.toLowerCase()];null!=t?a=t:f.globalLogger().warn("invalid log level - "+e)}static from(e){return new f(e)}}f.errors=u,f.levels=l},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));let r=!1,i=!1;const o={debug:1,default:2,info:2,warning:3,error:4,off:5};let a=o.default,s=null;const c=function(){try{const e=[];if(["NFD","NFC","NFKD","NFKC"].forEach(t=>{try{if("test"!=="test".normalize(t))throw new Error("bad normalize")}catch(n){e.push(t)}}),e.length)throw new Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(e){return e.message}return null}();var l,u;!function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"}(l||(l={})),function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT"}(u||(u={}));class f{constructor(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}_log(e,t){const n=e.toLowerCase();null==o[n]&&this.throwArgumentError("invalid log level name","logLevel",e),a>o[n]||console.log.apply(console,t)}debug(...e){this._log(f.levels.DEBUG,e)}info(...e){this._log(f.levels.INFO,e)}warn(...e){this._log(f.levels.WARNING,e)}makeError(e,t,n){if(i)return this.makeError("censored error",t,{});t||(t=f.errors.UNKNOWN_ERROR),n||(n={});const r=[];Object.keys(n).forEach(e=>{try{r.push(e+"="+JSON.stringify(n[e]))}catch(t){r.push(e+"="+JSON.stringify(n[e].toString()))}}),r.push("code="+t),r.push("version="+this.version);const o=e;r.length&&(e+=" ("+r.join(", ")+")");const a=new Error(e);return a.reason=o,a.code=t,Object.keys(n).forEach((function(e){a[e]=n[e]})),a}throwError(e,t,n){throw this.makeError(e,t,n)}throwArgumentError(e,t,n){return this.throwError(e,f.errors.INVALID_ARGUMENT,{argument:t,value:n})}assert(e,t,n,r){e||this.throwError(t,n,r)}assertArgument(e,t,n,r){e||this.throwArgumentError(t,n,r)}checkNormalize(e){null==e&&(e="platform missing String.prototype.normalize"),c&&this.throwError("platform missing String.prototype.normalize",f.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:c})}checkSafeUint53(e,t){"number"==typeof e&&(null==t&&(t="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(t,f.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(t,f.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))}checkArgumentCount(e,t,n){n=n?": "+n:"",et&&this.throwError("too many arguments"+n,f.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:t})}checkNew(e,t){e!==Object&&null!=e||this.throwError("missing new",f.errors.MISSING_NEW,{name:t.name})}checkAbstract(e,t){e===t?this.throwError("cannot instantiate abstract class "+JSON.stringify(t.name)+" directly; use a sub-class",f.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):e!==Object&&null!=e||this.throwError("missing new",f.errors.MISSING_NEW,{name:t.name})}static globalLogger(){return s||(s=new f("logger/5.0.8")),s}static setCensorship(e,t){if(!e&&t&&this.globalLogger().throwError("cannot permanently disable censorship",f.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),r){if(!e)return;this.globalLogger().throwError("error censorship permanent",f.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}i=!!e,r=!!t}static setLogLevel(e){const t=o[e.toLowerCase()];null!=t?a=t:f.globalLogger().warn("invalid log level - "+e)}static from(e){return new f(e)}}f.errors=u,f.levels=l},function(e,t,n){"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;nnew r(e,n).compare(new r(t,n))},function(e,t,n){class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof a)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter(e=>!h(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&m(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,n=i.get(t);if(n)return n;const r=this.options.loose,o=r?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE];e=e.replace(o,T(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],f),s("comparator trim",e,l[u.COMPARATORTRIM]),e=(e=(e=e.replace(l[u.TILDETRIM],d)).replace(l[u.CARETTRIM],p)).split(/\s+/).join(" ");const c=r?l[u.COMPARATORLOOSE]:l[u.COMPARATOR],m=e.split(" ").map(e=>y(e,this.options)).join(" ").split(/\s+/).map(e=>E(e,this.options)).filter(this.options.loose?e=>!!e.match(c):()=>!0).map(e=>new a(e,this.options)),b=(m.length,new Map);for(const e of m){if(h(e))return[e];b.set(e.value,e)}b.size>1&&b.has("")&&b.delete("");const g=[...b.values()];return i.set(t,g),g}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some(n=>b(n,t)&&e.set.some(e=>b(e,t)&&n.every(n=>e.every(e=>n.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,m=e=>""===e.value,b=(e,t)=>{let n=!0;const r=e.slice();let i=r.pop();for(;n&&r.length;)n=r.every(e=>i.intersects(e,t)),i=r.pop();return n},y=(e,t)=>(s("comp",e,t),e=_(e,t),s("caret",e),e=v(e,t),s("tildes",e),e=x(e,t),s("xrange",e),e=O(e,t),s("stars",e),e),g=e=>!e||"x"===e.toLowerCase()||"*"===e,v=(e,t)=>e.trim().split(/\s+/).map(e=>w(e,t)).join(" "),w=(e,t)=>{const n=t.loose?l[u.TILDELOOSE]:l[u.TILDE];return e.replace(n,(t,n,r,i,o)=>{let a;return s("tilde",e,t,n,r,i,o),g(n)?a="":g(r)?a=`>=${n}.0.0 <${+n+1}.0.0-0`:g(i)?a=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(s("replaceTilde pr",o),a=`>=${n}.${r}.${i}-${o} <${n}.${+r+1}.0-0`):a=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,s("tilde return",a),a})},_=(e,t)=>e.trim().split(/\s+/).map(e=>k(e,t)).join(" "),k=(e,t)=>{s("caret",e,t);const n=t.loose?l[u.CARETLOOSE]:l[u.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,(t,n,i,o,a)=>{let c;return s("caret",e,t,n,i,o,a),g(n)?c="":g(i)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:g(o)?c="0"===n?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:a?(s("replaceCaret pr",a),c="0"===n?"0"===i?`>=${n}.${i}.${o}-${a} <${n}.${i}.${+o+1}-0`:`>=${n}.${i}.${o}-${a} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${o}-${a} <${+n+1}.0.0-0`):(s("no pr"),c="0"===n?"0"===i?`>=${n}.${i}.${o}${r} <${n}.${i}.${+o+1}-0`:`>=${n}.${i}.${o}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${o} <${+n+1}.0.0-0`),s("caret return",c),c})},x=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map(e=>S(e,t)).join(" ")),S=(e,t)=>{e=e.trim();const n=t.loose?l[u.XRANGELOOSE]:l[u.XRANGE];return e.replace(n,(n,r,i,o,a,c)=>{s("xRange",e,n,r,i,o,a,c);const l=g(i),u=l||g(o),f=u||g(a),d=f;return"="===r&&d&&(r=""),c=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(u&&(o=0),a=0,">"===r?(r=">=",u?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):"<="===r&&(r="<",u?i=+i+1:o=+o+1),"<"===r&&(c="-0"),n=`${r+i}.${o}.${a}${c}`):u?n=`>=${i}.0.0${c} <${+i+1}.0.0-0`:f&&(n=`>=${i}.${o}.0${c} <${i}.${+o+1}.0-0`),s("xRange return",n),n})},O=(e,t)=>(s("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),E=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),T=e=>(t,n,r,i,o,a,s,c,l,u,f,d,p)=>`${n=g(r)?"":g(i)?`>=${r}.0.0${e?"-0":""}`:g(o)?`>=${r}.${i}.0${e?"-0":""}`:a?">="+n:`>=${n}${e?"-0":""}`} ${c=g(l)?"":g(u)?`<${+l+1}.0.0-0`:g(f)?`<${l}.${+u+1}.0-0`:d?`<=${l}.${u}.${f}-${d}`:e?`<${l}.${u}.${+f+1}-0`:"<="+c}`.trim(),A=(e,t,n)=>{for(let n=0;n0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(732);t.Bech32=r.Bech32;var i=n(733);t.Decimal=i.Decimal;var o=n(360);t.Encoding=o.Encoding;var a=n(734);t.Int53=a.Int53,t.Uint32=a.Uint32,t.Uint53=a.Uint53,t.Uint64=a.Uint64;var s=n(735);t.isJsonCompatibleValue=s.isJsonCompatibleValue,t.isJsonCompatibleDictionary=s.isJsonCompatibleDictionary,t.isJsonCompatibleArray=s.isJsonCompatibleArray;var c=n(736);t.TransactionEncoder=c.TransactionEncoder;var l=n(362);t.isNonNullObject=l.isNonNullObject,t.isUint8Array=l.isUint8Array},function(e,t,n){"use strict";var r;n.r(t),n.d(t,"Lifecycle",(function(){return i})),n.d(t,"autoInjectable",(function(){return E})),n.d(t,"inject",(function(){return T})),n.d(t,"injectable",(function(){return A})),n.d(t,"registry",(function(){return M})),n.d(t,"singleton",(function(){return I})),n.d(t,"injectAll",(function(){return P})),n.d(t,"injectAllWithTransform",(function(){return C})),n.d(t,"injectWithTransform",(function(){return j})),n.d(t,"scoped",(function(){return D})),n.d(t,"instanceCachingFactory",(function(){return R})),n.d(t,"predicateAwareClassFactory",(function(){return N})),n.d(t,"isClassProvider",(function(){return c})),n.d(t,"isFactoryProvider",(function(){return l})),n.d(t,"isNormalToken",(function(){return d})),n.d(t,"isTokenProvider",(function(){return m})),n.d(t,"isValueProvider",(function(){return b})),n.d(t,"delay",(function(){return f})),n.d(t,"container",(function(){return O})),function(e){e[e.Transient=0]="Transient",e[e.Singleton=1]="Singleton",e[e.ResolutionScoped=2]="ResolutionScoped",e[e.ContainerScoped=3]="ContainerScoped"}(r||(r={}));var i=r,o=n(3);function a(e){var t=Reflect.getMetadata("design:paramtypes",e)||[],n=Reflect.getOwnMetadata("injectionTokens",e)||{};return Object.keys(n).forEach((function(e){t[+e]=n[e]})),t}function s(e,t){return function(n,r,i){var o=Reflect.getOwnMetadata("injectionTokens",n)||{};o[i]=t?{token:e,transform:t.transformToken,transformArgs:t.args||[]}:e,Reflect.defineMetadata("injectionTokens",o,n)}}function c(e){return!!e.useClass}function l(e){return!!e.useFactory}var u=function(){function e(e){this.wrap=e,this.reflectMethods=["get","getPrototypeOf","setPrototypeOf","getOwnPropertyDescriptor","defineProperty","has","set","deleteProperty","apply","construct"]}return e.prototype.createProxy=function(e){var t,n=this,r=!1;return new Proxy({},this.createHandler((function(){return r||(t=e(n.wrap()),r=!0),t})))},e.prototype.createHandler=function(e){var t={};return this.reflectMethods.forEach((function(n){t[n]=function(){for(var t=[],r=0;r0},e.prototype.clear=function(){this._registryMap.clear()},e.prototype.ensure=function(e){this._registryMap.has(e)||this._registryMap.set(e,[])},e}(),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t}(y),v=function(){this.scopedResolutions=new Map};function w(e,t,n){var r,i,a,s=Object(o.c)(e.toString().match(/constructor\(([\w, ]+)\)/)||[],2)[1],c=function(e,t){return null===e?"at position #"+t:'"'+e.split(",")[t].trim()+'" at position #'+t}(void 0===s?null:s,t);return r="Cannot inject the dependency "+c+' of "'+e.name+'" constructor. Reason:',i=n,void 0===a&&(a=" "),Object(o.e)([r],i.message.split("\n").map((function(e){return a+e}))).join("\n")}var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t}(y),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.b)(t,e),t}(y),x=function(){this.preResolution=new _,this.postResolution=new k},S=new Map,O=new(function(){function e(e){this.parent=e,this._registry=new g,this.interceptors=new x}return e.prototype.register=function(e,t,n){var r;if(void 0===n&&(n={lifecycle:i.Transient}),r=function(e){return c(e)||b(e)||m(e)||l(e)}(t)?t:{useClass:t},m(r))for(var a=[e],s=r;null!=s;){var u=s.useToken;if(a.includes(u))throw new Error("Token registration cycle detected! "+Object(o.e)(a,[u]).join(" -> "));a.push(u);var f=this._registry.get(u);s=f&&m(f.provider)?f.provider:null}if((n.lifecycle===i.Singleton||n.lifecycle==i.ContainerScoped||n.lifecycle==i.ResolutionScoped)&&(b(r)||l(r)))throw new Error('Cannot use lifecycle "'+i[n.lifecycle]+'" with ValueProviders or FactoryProviders');return this._registry.set(e,{provider:r,options:n}),this},e.prototype.registerType=function(e,t){return d(t)?this.register(e,{useToken:t}):this.register(e,{useClass:t})},e.prototype.registerInstance=function(e,t){return this.register(e,{useValue:t})},e.prototype.registerSingleton=function(e,t){if(d(e)){if(d(t))return this.register(e,{useToken:t},{lifecycle:i.Singleton});if(t)return this.register(e,{useClass:t},{lifecycle:i.Singleton});throw new Error('Cannot register a type name as a singleton without a "to" token')}var n=e;return t&&!d(t)&&(n=t),this.register(e,{useClass:n},{lifecycle:i.Singleton})},e.prototype.resolve=function(e,t){void 0===t&&(t=new v);var n=this.getRegistration(e);if(!n&&d(e))throw new Error('Attempted to resolve unregistered dependency token: "'+e.toString()+'"');if(this.executePreResolutionInterceptor(e,"Single"),n){var r=this.resolveRegistration(n,t);return this.executePostResolutionInterceptor(e,r,"Single"),r}if(function(e){return"function"==typeof e||e instanceof u}(e)){r=this.construct(e,t);return this.executePostResolutionInterceptor(e,r,"Single"),r}throw new Error("Attempted to construct an undefined constructor. Could mean a circular dependency problem. Try using `delay` function.")},e.prototype.executePreResolutionInterceptor=function(e,t){var n,r;if(this.interceptors.preResolution.has(e)){var i=[];try{for(var a=Object(o.g)(this.interceptors.preResolution.getAll(e)),s=a.next();!s.done;s=a.next()){var c=s.value;"Once"!=c.options.frequency&&i.push(c),c.callback(e,t)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}this.interceptors.preResolution.setAll(e,i)}},e.prototype.executePostResolutionInterceptor=function(e,t,n){var r,i;if(this.interceptors.postResolution.has(e)){var a=[];try{for(var s=Object(o.g)(this.interceptors.postResolution.getAll(e)),c=s.next();!c.done;c=s.next()){var l=c.value;"Once"!=l.options.frequency&&a.push(l),l.callback(e,t,n)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}this.interceptors.postResolution.setAll(e,a)}},e.prototype.resolveRegistration=function(e,t){if(e.options.lifecycle===i.ResolutionScoped&&t.scopedResolutions.has(e))return t.scopedResolutions.get(e);var n,r=e.options.lifecycle===i.Singleton,o=e.options.lifecycle===i.ContainerScoped,a=r||o;return n=b(e.provider)?e.provider.useValue:m(e.provider)?a?e.instance||(e.instance=this.resolve(e.provider.useToken,t)):this.resolve(e.provider.useToken,t):c(e.provider)?a?e.instance||(e.instance=this.construct(e.provider.useClass,t)):this.construct(e.provider.useClass,t):l(e.provider)?e.provider.useFactory(this):this.construct(e.provider,t),e.options.lifecycle===i.ResolutionScoped&&t.scopedResolutions.set(e,n),n},e.prototype.resolveAll=function(e,t){var n=this;void 0===t&&(t=new v);var r=this.getAllRegistrations(e);if(!r&&d(e))throw new Error('Attempted to resolve unregistered dependency token: "'+e.toString()+'"');if(this.executePreResolutionInterceptor(e,"All"),r){var i=r.map((function(e){return n.resolveRegistration(e,t)}));return this.executePostResolutionInterceptor(e,i,"All"),i}var o=[this.construct(e,t)];return this.executePostResolutionInterceptor(e,o,"All"),o},e.prototype.isRegistered=function(e,t){return void 0===t&&(t=!1),this._registry.has(e)||t&&(this.parent||!1)&&this.parent.isRegistered(e,!0)},e.prototype.reset=function(){this._registry.clear(),this.interceptors.preResolution.clear(),this.interceptors.postResolution.clear()},e.prototype.clearInstances=function(){var e,t;try{for(var n=Object(o.g)(this._registry.entries()),r=n.next();!r.done;r=n.next()){var i=Object(o.c)(r.value,2),a=i[0],s=i[1];this._registry.setAll(a,s.filter((function(e){return!b(e.provider)})).map((function(e){return e.instance=void 0,e})))}}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},e.prototype.createChildContainer=function(){var t,n,r=new e(this);try{for(var a=Object(o.g)(this._registry.entries()),s=a.next();!s.done;s=a.next()){var c=Object(o.c)(s.value,2),l=c[0],u=c[1];u.some((function(e){return e.options.lifecycle===i.ContainerScoped}))&&r._registry.setAll(l,u.map((function(e){return e.options.lifecycle===i.ContainerScoped?{provider:e.provider,options:e.options}:e})))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return r},e.prototype.beforeResolution=function(e,t,n){void 0===n&&(n={frequency:"Always"}),this.interceptors.preResolution.set(e,{callback:t,options:n})},e.prototype.afterResolution=function(e,t,n){void 0===n&&(n={frequency:"Always"}),this.interceptors.postResolution.set(e,{callback:t,options:n})},e.prototype.getRegistration=function(e){return this.isRegistered(e)?this._registry.get(e):this.parent?this.parent.getRegistration(e):null},e.prototype.getAllRegistrations=function(e){return this.isRegistered(e)?this._registry.getAll(e):this.parent?this.parent.getAllRegistrations(e):null},e.prototype.construct=function(e,t){var n=this;if(e instanceof u)return e.createProxy((function(e){return n.resolve(e,t)}));var r=S.get(e);if(!r||0===r.length){if(0===e.length)return new e;throw new Error('TypeInfo not known for "'+e.name+'"')}var i=r.map(this.resolveParams(t,e));return new(e.bind.apply(e,Object(o.e)([void 0],i)))},e.prototype.resolveParams=function(e,t){var n=this;return function(r,i){var a,s,c;try{return p(r)?h(r)?r.multiple?(a=n.resolve(r.transform)).transform.apply(a,Object(o.e)([n.resolveAll(r.token)],r.transformArgs)):(s=n.resolve(r.transform)).transform.apply(s,Object(o.e)([n.resolve(r.token,e)],r.transformArgs)):r.multiple?n.resolveAll(r.token):n.resolve(r.token,e):h(r)?(c=n.resolve(r.transform,e)).transform.apply(c,Object(o.e)([n.resolve(r.token,e)],r.transformArgs)):n.resolve(r,e)}catch(e){throw new Error(w(t,i,e))}}},e}());var E=function(){return function(e){var t=a(e);return function(n){function r(){for(var r=[],i=0;i4096},nanoS:{id:"nanoS",productName:"Ledger Nano S",productIdMM:16,legacyUsbProductId:1,usbOnly:!0,memorySize:327680,blockSize:4096,getBlockSize:e=>i.a.lt(i.a.coerce(e),"2.0.0")?4096:2048},nanoX:{id:"nanoX",productName:"Ledger Nano X",productIdMM:64,legacyUsbProductId:4,usbOnly:!1,memorySize:2097152,blockSize:4096,getBlockSize:e=>4096,bluetoothSpec:[{serviceUuid:"d973f2e0-b19e-11e2-9e96-0800200c9a66",notifyUuid:"d973f2e1-b19e-11e2-9e96-0800200c9a66",writeUuid:"d973f2e2-b19e-11e2-9e96-0800200c9a66"},{serviceUuid:"13d63400-2c97-0004-0000-4c6564676572",notifyUuid:"13d63400-2c97-0004-0001-4c6564676572",writeUuid:"13d63400-2c97-0004-0002-4c6564676572"}]}},a=Object.values(o),s=11415,c=e=>{const t=a.find(t=>t.legacyUsbProductId===e);if(t)return t;const n=e>>8;return a.find(e=>e.productIdMM===n)},l=[],u={};for(let e in o){const t=o[e],{bluetoothSpec:n}=t;if(n)for(let e=0;e=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i>6|192,n[r++]=63&a|128):o(e,i)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++i)),n[r++]=a>>18|240,n[r++]=a>>12&63|128,n[r++]=a>>6&63|128,n[r++]=63&a|128):(n[r++]=a>>12|224,n[r++]=a>>6&63|128,n[r++]=63&a|128)}else for(i=0;i>>0}return a},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},t.sum64=function(e,t,n,r){var i=e[t],o=r+e[t+1]>>>0,a=(o>>0,e[t+1]=o},t.sum64_hi=function(e,t,n,r){return(t+r>>>0>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,i,o,a,s){var c=0,l=t;return c+=(l=l+r>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(e,t,n,r,i,o,a,s){return t+r+o+s>>>0},t.sum64_5_hi=function(e,t,n,r,i,o,a,s,c,l){var u=0,f=t;return u+=(f=f+r>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(e,t,n,r,i,o,a,s,c,l){return t+r+o+s+l>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.slip10CurveFromString=t.Slip10RawIndex=t.Slip10Curve=t.Slip10=t.stringToPath=t.pathToString=t.sha512=t.Sha512=t.sha256=t.Sha256=t.sha1=t.Sha1=t.Secp256k1Signature=t.ExtendedSecp256k1Signature=t.Secp256k1=t.ripemd160=t.Ripemd160=t.Random=t.Ed25519Keypair=t.Ed25519=t.isArgon2idOptions=t.Argon2id=t.xchacha20NonceLength=t.Xchacha20poly1305Ietf=t.keccak256=t.Keccak256=t.Hmac=t.EnglishMnemonic=t.Bip39=void 0;var r=n(614);Object.defineProperty(t,"Bip39",{enumerable:!0,get:function(){return r.Bip39}});var i=n(312);Object.defineProperty(t,"EnglishMnemonic",{enumerable:!0,get:function(){return i.EnglishMnemonic}});var o=n(313);Object.defineProperty(t,"Hmac",{enumerable:!0,get:function(){return o.Hmac}});var a=n(621);Object.defineProperty(t,"Keccak256",{enumerable:!0,get:function(){return a.Keccak256}}),Object.defineProperty(t,"keccak256",{enumerable:!0,get:function(){return a.keccak256}});var s=n(622);Object.defineProperty(t,"Xchacha20poly1305Ietf",{enumerable:!0,get:function(){return s.Xchacha20poly1305Ietf}}),Object.defineProperty(t,"xchacha20NonceLength",{enumerable:!0,get:function(){return s.xchacha20NonceLength}}),Object.defineProperty(t,"Argon2id",{enumerable:!0,get:function(){return s.Argon2id}}),Object.defineProperty(t,"isArgon2idOptions",{enumerable:!0,get:function(){return s.isArgon2idOptions}}),Object.defineProperty(t,"Ed25519",{enumerable:!0,get:function(){return s.Ed25519}}),Object.defineProperty(t,"Ed25519Keypair",{enumerable:!0,get:function(){return s.Ed25519Keypair}});var c=n(623);Object.defineProperty(t,"Random",{enumerable:!0,get:function(){return c.Random}});var l=n(624);Object.defineProperty(t,"Ripemd160",{enumerable:!0,get:function(){return l.Ripemd160}}),Object.defineProperty(t,"ripemd160",{enumerable:!0,get:function(){return l.ripemd160}});var u=n(625);Object.defineProperty(t,"Secp256k1",{enumerable:!0,get:function(){return u.Secp256k1}});var f=n(315);Object.defineProperty(t,"ExtendedSecp256k1Signature",{enumerable:!0,get:function(){return f.ExtendedSecp256k1Signature}}),Object.defineProperty(t,"Secp256k1Signature",{enumerable:!0,get:function(){return f.Secp256k1Signature}});var d=n(316);Object.defineProperty(t,"Sha1",{enumerable:!0,get:function(){return d.Sha1}}),Object.defineProperty(t,"sha1",{enumerable:!0,get:function(){return d.sha1}}),Object.defineProperty(t,"Sha256",{enumerable:!0,get:function(){return d.Sha256}}),Object.defineProperty(t,"sha256",{enumerable:!0,get:function(){return d.sha256}}),Object.defineProperty(t,"Sha512",{enumerable:!0,get:function(){return d.Sha512}}),Object.defineProperty(t,"sha512",{enumerable:!0,get:function(){return d.sha512}});var p=n(626);Object.defineProperty(t,"pathToString",{enumerable:!0,get:function(){return p.pathToString}}),Object.defineProperty(t,"stringToPath",{enumerable:!0,get:function(){return p.stringToPath}}),Object.defineProperty(t,"Slip10",{enumerable:!0,get:function(){return p.Slip10}}),Object.defineProperty(t,"Slip10Curve",{enumerable:!0,get:function(){return p.Slip10Curve}}),Object.defineProperty(t,"Slip10RawIndex",{enumerable:!0,get:function(){return p.Slip10RawIndex}}),Object.defineProperty(t,"slip10CurveFromString",{enumerable:!0,get:function(){return p.slip10CurveFromString}})},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(n,r){function i(){void 0!==o&&e.removeListener("error",o),n([].slice.call(arguments))}var o;"error"!==t&&(o=function(n){e.removeListener(t,i),r(n)},e.once("error",o)),e.once(t,i)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var i,o,a,s;if(l(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=u(e))>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,s=c,console&&console.warn&&console.warn(s)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function h(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=i[e];if(void 0===c)return!1;if("function"==typeof c)o(c,this,t);else{var l=c.length,u=b(c,l);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TYPES=void 0,t.TYPES={ChainsStore:Symbol("ChainsStore"),ChainsEmbedChainInfos:Symbol("ChainsEmbededChainInfos"),InteractionStore:Symbol("InteractionStore"),KeyRingStore:Symbol("KeyRingStore"),LedgerStore:Symbol("LedgerStore"),PermissionStore:Symbol("PermissionStore"),PermissionServicePrivilegedOrigins:Symbol("PermissionServicePrivilegedOrigins"),PersistentMemoryStore:Symbol("PersistentMemoryStore"),SecretWasmStore:Symbol("SecretWasmStore"),TokensStore:Symbol("TokensStore"),TxStore:Symbol("TxStore"),UpdaterStore:Symbol("UpdaterStore"),EventMsgRequester:Symbol("EventMsgRequester"),RNG:Symbol("RandomNumberGenerator")}},function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(4),i=n(156),o=n(75),a=n(76),s=n(56);function c(e){s.call(this,"digest"),this._hash=e}r(c,s),c.prototype._update=function(e){this._hash.update(e)},c.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new i:"rmd160"===e||"ripemd160"===e?new o:new c(a(e))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return D}));var r=n(0),i=n.n(r),o=n(217),a=n(936),s=n.n(a);const c=i.a.createContext(null),l=c.Provider,u=()=>{const e=Object(r.useContext)(c);if(!e)throw new Error("You have forgot to use MenuProvider");return e},f={open:{x:0,transition:{type:"tween",ease:"easeOut",duration:.3}},closed:{x:"-100%",transition:{type:"tween",ease:"easeOut",duration:.15}}},d={open:{opacity:.3,transition:{type:"tween",ease:"easeOut",duration:.3}},closed:{opacity:0,transition:{type:"tween",ease:"easeOut",duration:.15}}},p=({isOpen:e,children:t})=>{const n=Object(r.useRef)(null),a=u(),c=Object(r.useCallback)(()=>{a.close()},[a]);return i.a.createElement(i.a.Fragment,null,i.a.createElement(o.a,null,e?i.a.createElement(o.b.div,{className:s.a.background,animate:e?"open":"closed",variants:d,exit:"closed",initial:{opacity:0},onClick:c}):null),i.a.createElement(o.b.nav,{className:s.a.menuNav,ref:n,animate:e?"open":"closed",variants:f,initial:{x:"-100%"}},t))},h=e=>i.a.createElement(o.b.path,Object.assign({fill:"transparent",strokeWidth:"2",stroke:"hsl(0, 0%, 18%)",strokeLinecap:"round"},e)),m=i.a.forwardRef((e,t)=>i.a.createElement(o.b.svg,{viewBox:"0 0 20 20",ref:t},i.a.createElement(h,{variants:{closed:{d:"M 3 4 L 17 4"},open:{d:"M 3 4 L 17 16"}},initial:{d:"M 3 4 L 17 4"}}),i.a.createElement(h,{d:"M 3 10 L 17 10",variants:{closed:{opacity:1},open:{opacity:0}},initial:{opacity:1},transition:{duration:.1}}),i.a.createElement(h,{variants:{closed:{d:"M 3 16 L 17 16"},open:{d:"M 3 16 L 17 4"}},initial:{d:"M 3 16 L 17 16"}})));var b=n(10),y=n.n(b);n(1339);class g extends i.a.Component{render(){const{fixed:e,left:t,right:n,children:r}=this.props;return i.a.createElement("div",{className:y()(["header",{fixed:e}])},i.a.createElement("div",{className:"header-menu-left"},t),i.a.createElement("div",{className:"header-section"},r),i.a.createElement("div",{className:"header-menu-right"},n))}}var v=n(14),w=n(21),_=n(419),k=n.n(_),x=n(839),S=n(892),O=n.n(S),E=n(150),T=n(869),A=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};const M=Object(v.a)(({chainInfo:e})=>{const{chainStore:t}=Object(w.b)(),n=Object(T.a)(),r=Object(E.b)();return i.a.createElement("div",{className:y()({[O.a.chainName]:!0,selected:e.chainId===t.current.chainId}),onClick:()=>{e.chainId!==t.current.chainId&&(t.selectChain(e.chainId),t.saveLastViewChainId())}},e.chainName,e.embeded||t.current.chainId===e.chainId?null:i.a.createElement("div",{className:O.a.removeBtn},i.a.createElement("i",{className:"fas fa-times-circle",onClick:i=>A(void 0,void 0,void 0,(function*(){i.preventDefault(),i.stopPropagation(),(yield r.confirm({paragraph:n.formatMessage({id:"chain.remove.confirm.paragraph"},{chainName:e.chainName})}))&&(yield t.removeChainInfo(e.chainId))}))})))}),I=Object(v.a)(()=>{const{chainStore:e}=Object(w.b)(),t=e.chainInfos.filter(e=>!e.beta),n=e.chainInfos.filter(e=>e.beta);return i.a.createElement("div",{className:O.a.chainListContainer},t.map(e=>i.a.createElement(M,{key:e.chainId,chainInfo:e})),n.length>0?i.a.createElement("div",{style:{display:"flex",alignItems:"center"}},i.a.createElement("hr",{className:"my-3",style:{flex:1,borderTop:"1px solid rgba(255, 255, 255)"}}),i.a.createElement("div",{style:{fontSize:"14px",color:"rgba(255, 255, 255)",margin:"0 8px"}},"Beta support"),i.a.createElement("hr",{className:"my-3",style:{flex:1,borderTop:"1px solid rgba(255, 255, 255)"}})):null,n.map(e=>i.a.createElement(M,{key:e.chainId,chainInfo:e})))}),P=Object(v.a)(({showChainName:e,canChangeChainInfo:t,alternativeTitle:n,menuRenderer:r,rightRenderer:a,isMenuOpen:s,onBackButton:c})=>{const{chainStore:l}=Object(w.b)(),f=u(),d=t&&l.chainInfos.length>1&&null==n;return i.a.createElement(g,{left:i.a.createElement("div",{className:k.a.menuContainer},r?i.a.createElement(i.a.Fragment,null,i.a.createElement(p,{isOpen:s},r),i.a.createElement(o.b.div,{className:k.a["menu-img"],style:{zIndex:901},animate:s?"open":"closed",onClick:f.toggle},i.a.createElement(m,null))):null,c?i.a.createElement("div",{className:k.a["menu-img"],onClick:()=>{c&&c()}},i.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},i.a.createElement("path",{fill:"transparent",strokeWidth:"2",stroke:"hsl(0, 0%, 18%)",strokeLinecap:"round",d:"M 6.5 10 L 13.5 3.5 M 6.5 10 L 13.5 16.5"}))):null),right:a},e||n?i.a.createElement(x.a,{trigger:d?"click":"static",tooltip:i.a.createElement(I,null)},i.a.createElement("div",{className:k.a.chainListContainer,style:{cursor:d?void 0:"default"}},i.a.createElement("div",{className:k.a.title},e?l.current.chainName:n),d?i.a.createElement("div",{className:k.a.titleIconContainer},i.a.createElement("svg",{className:k.a.titleIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},i.a.createElement("path",{d:"M256 294.1L383 167c9.4-9.4 24.6-9.4 33.9 0s9.3 24.6 0 34L273 345c-9.1 9.1-23.7 9.3-33.1.7L95 201.1c-4.7-4.7-7-10.9-7-17s2.3-12.3 7-17c9.4-9.4 24.6-9.4 33.9 0l127.1 127z"}))):null)):null)});var C=n(937),j=n.n(C);const D=e=>{const{children:t}=e,[n,o]=Object(r.useState)(!1),a={open:()=>{o(!0)},close:()=>{o(!1)},toggle:()=>{o(!n)}};return i.a.createElement(l,{value:a},i.a.createElement("div",{className:j.a.container,style:e.style},i.a.createElement(P,Object.assign({},e,{isMenuOpen:n})),i.a.createElement("div",{className:j.a.innerContainer},t)))}},function(e,t,n){var r=n(7).Buffer,i=n(397).Transform,o=n(66).StringDecoder;function a(e){i.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n(4)(a,i),a.prototype.update=function(e,t,n){"string"==typeof e&&(e=r.from(e,t));var i=this._update(e);return this.hashMode?this:(n&&(i=this._toString(i,n)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(e,t,n){var r;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){r=e}finally{n(r)}},a.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},a.prototype._finalOrDigest=function(e){var t=this.__final()||r.alloc(0);return e&&(t=this._toString(t,e,!0)),t},a.prototype._toString=function(e,t,n){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var r=this._decoder.write(e);return n&&(r+=this._decoder.end()),r},e.exports=a},function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)i(n,r)&&(e[r]=n[r])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var o={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var o=0;o{t[n]||i.throwArgumentError("invalid object key - "+n,"transaction:"+n,e)})}const c={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function l(e){if(function e(t){if(null==t||c[typeof t])return!0;if(Array.isArray(t)||"object"==typeof t){if(!Object.isFrozen(t))return!1;const n=Object.keys(t);for(let r=0;ru(e)));if("object"==typeof e){const t={};for(const n in e){const r=e[n];void 0!==r&&o(t,n,u(r))}return t}return i.throwArgumentError("Cannot deepCopy "+typeof e,"object",e)}function u(e){return l(e)}class f{constructor(e){for(const t in e)this[t]=u(e[t])}}},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return f}));var r=n(36);const i=new r.a("properties/5.0.6");function o(e,t,n){Object.defineProperty(e,t,{enumerable:!0,value:n,writable:!1})}function a(e,t){for(let n=0;n<32;n++){if(e[t])return e[t];if(!e.prototype||"object"!=typeof e.prototype)break;e=Object.getPrototypeOf(e.prototype).constructor}return null}function s(e,t){e&&"object"==typeof e||i.throwArgumentError("invalid object","object",e),Object.keys(e).forEach(n=>{t[n]||i.throwArgumentError("invalid object key - "+n,"transaction:"+n,e)})}const c={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function l(e){if(function e(t){if(null==t||c[typeof t])return!0;if(Array.isArray(t)||"object"==typeof t){if(!Object.isFrozen(t))return!1;const n=Object.keys(t);for(let r=0;ru(e)));if("object"==typeof e){const t={};for(const n in e){const r=e[n];void 0!==r&&o(t,n,u(r))}return t}return i.throwArgumentError("Cannot deepCopy "+typeof e,"object",e)}function u(e){return l(e)}class f{constructor(e){for(const t in e)this[t]=u(e[t])}}},function(e,t,n){"use strict";(function(t,r){var i=n(7).Buffer,o=t.crypto||t.msCrypto;o&&o.getRandomValues?e.exports=function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes");var n=i.allocUnsafe(e);if(e>0)if(e>65536)for(var a=0;a0)},r.Buffer=function(){try{var e=r.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),r._Buffer_from=null,r._Buffer_allocUnsafe=null,r.newBuffer=function(e){return"number"==typeof e?r.Buffer?r._Buffer_allocUnsafe(e):new r.Array(e):r.Buffer?r._Buffer_from(e):"undefined"==typeof Uint8Array?e:new Uint8Array(e)},r.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,r.Long=r.global.dcodeIO&&r.global.dcodeIO.Long||r.global.Long||r.inquire("long"),r.key2Re=/^true|false|0|1$/,r.key32Re=/^-?(?:0|[1-9][0-9]*)$/,r.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,r.longToHash=function(e){return e?r.LongBits.from(e).toHash():r.LongBits.zeroHash},r.longFromHash=function(e,t){var n=r.LongBits.fromHash(e);return r.Long?r.Long.fromBits(n.lo,n.hi,t):n.toNumber(Boolean(t))},r.merge=i,r.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},r.newError=o,r.ProtocolError=o("ProtocolError"),r.oneOfGetter=function(e){for(var t={},n=0;n-1;--n)if(1===t[e[n]]&&void 0!==this[e[n]]&&null!==this[e[n]])return e[n]}},r.oneOfSetter=function(e){return function(t){for(var n=0;n>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(e.lastNeed=i-1),i;if(--r=0)return i>0&&(e.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,n){var r,i,o,a,s,c,l,u;e.exports=(u=n(9),n(171),n(172),i=(r=u).lib,o=i.Base,a=i.WordArray,s=r.algo,c=s.MD5,l=s.EvpKDF=o.extend({cfg:o.extend({keySize:4,hasher:c,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n,r=this.cfg,i=r.hasher.create(),o=a.create(),s=o.words,c=r.keySize,l=r.iterations;s.lengthu(e.toString(2),"0",8)).join("")}function p(e){const t=8*e.length/32,n=r("sha256").update(e).digest();return d(Array.from(n)).slice(0,t)}function h(e){return"mnemonic"+(e||"")}function m(t,n){if(!(n=n||s))throw new Error(c);const r=l(t).split(" ");if(r.length%3!=0)throw new Error("Invalid mnemonic");const i=r.map(e=>{const t=n.indexOf(e);if(-1===t)throw new Error("Invalid mnemonic");return u(t.toString(2),"0",11)}).join(""),o=32*Math.floor(i.length/33),a=i.slice(0,o),d=i.slice(o),h=a.match(/(.{1,8})/g).map(f);if(h.length<16)throw new Error("Invalid entropy");if(h.length>32)throw new Error("Invalid entropy");if(h.length%4!=0)throw new Error("Invalid entropy");const m=e.from(h);if(p(m)!==d)throw new Error("Invalid mnemonic checksum");return m.toString("hex")}function b(t,n){if(e.isBuffer(t)||(t=e.from(t,"hex")),!(n=n||s))throw new Error(c);if(t.length<16)throw new TypeError("Invalid entropy");if(t.length>32)throw new TypeError("Invalid entropy");if(t.length%4!=0)throw new TypeError("Invalid entropy");const r=(d(Array.from(t))+p(t)).match(/(.{1,11})/g).map(e=>{const t=f(e);return n[t]});return"あいこくしん"===n[0]?r.join(" "):r.join(" ")}t.mnemonicToSeedSync=function(t,n){const r=e.from(l(t),"utf8"),o=e.from(h(l(n)),"utf8");return i.pbkdf2Sync(r,o,2048,64,"sha512")},t.mnemonicToSeed=function(t,n){return Promise.resolve().then(()=>function(e,t,n,r,o){return Promise.resolve().then(()=>new Promise((a,s)=>{i.pbkdf2(e,t,n,r,o,(e,t)=>e?s(e):a(t))}))}(e.from(l(t),"utf8"),e.from(h(l(n)),"utf8"),2048,64,"sha512"))},t.mnemonicToEntropy=m,t.entropyToMnemonic=b,t.generateMnemonic=function(e,t,n){if((e=e||128)%32!=0)throw new TypeError("Invalid entropy");return b((t=t||o)(e/8),n)},t.validateMnemonic=function(e,t){try{m(e,t)}catch(e){return!1}return!0},t.setDefaultWordlist=function(e){const t=a.wordlists[e];if(!t)throw new Error('Could not find wordlist for language "'+e+'"');s=t},t.getDefaultWordlist=function(){if(!s)throw new Error("No Default Wordlist set");return Object.keys(a.wordlists).filter(e=>"JA"!==e&&"EN"!==e&&a.wordlists[e].every((e,t)=>e===s[t]))[0]};var y=n(297);t.wordlists=y.wordlists}).call(this,n(2).Buffer)},function(e,t,n){var r=t;r.utils=n(49),r.common=n(96),r.sha=n(452),r.ripemd=n(456),r.hmac=n(457),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=n(62),t.createHash=t.Hash=n(54),t.createHmac=t.Hmac=n(120);var r=n(475),i=Object.keys(r),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);t.getHashes=function(){return o};var a=n(97);t.pbkdf2=a.pbkdf2,t.pbkdf2Sync=a.pbkdf2Sync;var s=n(477);t.Cipher=s.Cipher,t.createCipher=s.createCipher,t.Cipheriv=s.Cipheriv,t.createCipheriv=s.createCipheriv,t.Decipher=s.Decipher,t.createDecipher=s.createDecipher,t.Decipheriv=s.Decipheriv,t.createDecipheriv=s.createDecipheriv,t.getCiphers=s.getCiphers,t.listCiphers=s.listCiphers;var c=n(492);t.DiffieHellmanGroup=c.DiffieHellmanGroup,t.createDiffieHellmanGroup=c.createDiffieHellmanGroup,t.getDiffieHellman=c.getDiffieHellman,t.createDiffieHellman=c.createDiffieHellman,t.DiffieHellman=c.DiffieHellman;var l=n(496);t.createSign=l.createSign,t.Sign=l.Sign,t.createVerify=l.createVerify,t.Verify=l.Verify,t.createECDH=n(531);var u=n(532);t.publicEncrypt=u.publicEncrypt,t.privateEncrypt=u.privateEncrypt,t.publicDecrypt=u.publicDecrypt,t.privateDecrypt=u.privateDecrypt;var f=n(535);t.randomFill=f.randomFill,t.randomFillSync=f.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},function(e,t,n){"use strict";var r={};function i(e,t,n){n||(n=Error);var i=function(e){var n,r;function i(n,r,i){return e.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,i))||this}return r=e,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,i}(n);i.prototype.name=n.name,i.prototype.code=e,r[e]=i}function o(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}i("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,i,a,s;if("string"==typeof t&&(i="not ",t.substr(!a||a<0?0:+a,i.length)===i)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))s="The ".concat(e," ").concat(r," ").concat(o(t,"type"));else{var c=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(c," ").concat(r," ").concat(o(t,"type"))}return s+=". Received type ".concat(typeof n)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=r},function(e,t,n){"use strict";(function(t){var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=l;var i=n(251),o=n(255);n(4)(l,i);for(var a=r(o.prototype),s=0;s>>32-t}function m(e,t,n,r,i,o,a,s){return h(e+(t^n^r)+o+a|0,s)+i|0}function b(e,t,n,r,i,o,a,s){return h(e+(t&n|~t&r)+o+a|0,s)+i|0}function y(e,t,n,r,i,o,a,s){return h(e+((t|~n)^r)+o+a|0,s)+i|0}function g(e,t,n,r,i,o,a,s){return h(e+(t&r|n&~r)+o+a|0,s)+i|0}function v(e,t,n,r,i,o,a,s){return h(e+(t^(n|~r))+o+a|0,s)+i|0}i(p,o),p.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,p=0|this._e,w=0|this._a,_=0|this._b,k=0|this._c,x=0|this._d,S=0|this._e,O=0;O<80;O+=1){var E,T;O<16?(E=m(n,r,i,o,p,e[s[O]],f[0],l[O]),T=v(w,_,k,x,S,e[c[O]],d[0],u[O])):O<32?(E=b(n,r,i,o,p,e[s[O]],f[1],l[O]),T=g(w,_,k,x,S,e[c[O]],d[1],u[O])):O<48?(E=y(n,r,i,o,p,e[s[O]],f[2],l[O]),T=y(w,_,k,x,S,e[c[O]],d[2],u[O])):O<64?(E=g(n,r,i,o,p,e[s[O]],f[3],l[O]),T=b(w,_,k,x,S,e[c[O]],d[3],u[O])):(E=v(n,r,i,o,p,e[s[O]],f[4],l[O]),T=m(w,_,k,x,S,e[c[O]],d[4],u[O])),n=p,p=o,o=h(i,10),i=r,r=E,w=S,S=x,x=h(k,10),k=_,_=T}var A=this._b+i+x|0;this._b=this._c+o+S|0,this._c=this._d+p+w|0,this._d=this._e+n+_|0,this._e=this._a+r+k|0,this._a=A},p.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=r.alloc?r.alloc(20):new r(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=p},function(e,t,n){(t=e.exports=function(e){e=e.toLowerCase();var n=t[e];if(!n)throw new Error(e+" is not supported (we accept pull requests)");return new n}).sha=n(466),t.sha1=n(467),t.sha224=n(468),t.sha256=n(257),t.sha384=n(469),t.sha512=n(258)},function(e,t,n){var r=n(7).Buffer;function i(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=r.from(e,t));for(var n=this._block,i=this._blockSize,o=e.length,a=this._len,s=0;s=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},function(e,t,n){"use strict";var r={};function i(e,t,n){n||(n=Error);var i=function(e){var n,r;function i(n,r,i){return e.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,i))||this}return r=e,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,i}(n);i.prototype.name=n.name,i.prototype.code=e,r[e]=i}function o(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}i("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,i,a,s;if("string"==typeof t&&(i="not ",t.substr(!a||a<0?0:+a,i.length)===i)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))s="The ".concat(e," ").concat(r," ").concat(o(t,"type"));else{var c=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(c," ").concat(r," ").concat(o(t,"type"))}return s+=". Received type ".concat(typeof n)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=r},function(e,t,n){"use strict";(function(t){var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=l;var i=n(274),o=n(278);n(4)(l,i);for(var a=r(o.prototype),s=0;s>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s>>6*(3-s)&63));var c=r.charAt(64);if(c)for(;i.length%4;)i.push(c);return i.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var o=0;o>>6-a%4*2,l=s|c;r[o>>>2]|=l<<24-o%4*8,o++}return i.create(r,o)}(e,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},o.enc.Base64)},function(e,t,n){var r;e.exports=(r=n(9),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=a.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=e[t+0],c=e[t+1],p=e[t+2],h=e[t+3],m=e[t+4],b=e[t+5],y=e[t+6],g=e[t+7],v=e[t+8],w=e[t+9],_=e[t+10],k=e[t+11],x=e[t+12],S=e[t+13],O=e[t+14],E=e[t+15],T=o[0],A=o[1],M=o[2],I=o[3];T=l(T,A,M,I,a,7,s[0]),I=l(I,T,A,M,c,12,s[1]),M=l(M,I,T,A,p,17,s[2]),A=l(A,M,I,T,h,22,s[3]),T=l(T,A,M,I,m,7,s[4]),I=l(I,T,A,M,b,12,s[5]),M=l(M,I,T,A,y,17,s[6]),A=l(A,M,I,T,g,22,s[7]),T=l(T,A,M,I,v,7,s[8]),I=l(I,T,A,M,w,12,s[9]),M=l(M,I,T,A,_,17,s[10]),A=l(A,M,I,T,k,22,s[11]),T=l(T,A,M,I,x,7,s[12]),I=l(I,T,A,M,S,12,s[13]),M=l(M,I,T,A,O,17,s[14]),T=u(T,A=l(A,M,I,T,E,22,s[15]),M,I,c,5,s[16]),I=u(I,T,A,M,y,9,s[17]),M=u(M,I,T,A,k,14,s[18]),A=u(A,M,I,T,a,20,s[19]),T=u(T,A,M,I,b,5,s[20]),I=u(I,T,A,M,_,9,s[21]),M=u(M,I,T,A,E,14,s[22]),A=u(A,M,I,T,m,20,s[23]),T=u(T,A,M,I,w,5,s[24]),I=u(I,T,A,M,O,9,s[25]),M=u(M,I,T,A,h,14,s[26]),A=u(A,M,I,T,v,20,s[27]),T=u(T,A,M,I,S,5,s[28]),I=u(I,T,A,M,p,9,s[29]),M=u(M,I,T,A,g,14,s[30]),T=f(T,A=u(A,M,I,T,x,20,s[31]),M,I,b,4,s[32]),I=f(I,T,A,M,v,11,s[33]),M=f(M,I,T,A,k,16,s[34]),A=f(A,M,I,T,O,23,s[35]),T=f(T,A,M,I,c,4,s[36]),I=f(I,T,A,M,m,11,s[37]),M=f(M,I,T,A,g,16,s[38]),A=f(A,M,I,T,_,23,s[39]),T=f(T,A,M,I,S,4,s[40]),I=f(I,T,A,M,a,11,s[41]),M=f(M,I,T,A,h,16,s[42]),A=f(A,M,I,T,y,23,s[43]),T=f(T,A,M,I,w,4,s[44]),I=f(I,T,A,M,x,11,s[45]),M=f(M,I,T,A,E,16,s[46]),T=d(T,A=f(A,M,I,T,p,23,s[47]),M,I,a,6,s[48]),I=d(I,T,A,M,g,10,s[49]),M=d(M,I,T,A,O,15,s[50]),A=d(A,M,I,T,b,21,s[51]),T=d(T,A,M,I,x,6,s[52]),I=d(I,T,A,M,h,10,s[53]),M=d(M,I,T,A,_,15,s[54]),A=d(A,M,I,T,c,21,s[55]),T=d(T,A,M,I,v,6,s[56]),I=d(I,T,A,M,E,10,s[57]),M=d(M,I,T,A,y,15,s[58]),A=d(A,M,I,T,S,21,s[59]),T=d(T,A,M,I,m,6,s[60]),I=d(I,T,A,M,k,10,s[61]),M=d(M,I,T,A,p,15,s[62]),A=d(A,M,I,T,w,21,s[63]),o[0]=o[0]+T|0,o[1]=o[1]+A|0,o[2]=o[2]+M|0,o[3]=o[3]+I|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;n[i>>>5]|=128<<24-i%32;var o=e.floor(r/4294967296),a=r;n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,c=s.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+i+a;return(s<>>32-o)+t}function u(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+i+a;return(s<>>32-o)+t}function f(e,t,n,r,i,o,a){var s=e+(t^n^r)+i+a;return(s<>>32-o)+t}function d(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+i+a;return(s<>>32-o)+t}t.MD5=o._createHelper(c),t.HmacMD5=o._createHmacHelper(c)}(Math),r.MD5)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Uint64=t.Uint53=t.Uint32=t.Int53=t.Decimal=void 0;var r=n(627);Object.defineProperty(t,"Decimal",{enumerable:!0,get:function(){return r.Decimal}});var i=n(628);Object.defineProperty(t,"Int53",{enumerable:!0,get:function(){return i.Int53}}),Object.defineProperty(t,"Uint32",{enumerable:!0,get:function(){return i.Uint32}}),Object.defineProperty(t,"Uint53",{enumerable:!0,get:function(){return i.Uint53}}),Object.defineProperty(t,"Uint64",{enumerable:!0,get:function(){return i.Uint64}})},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(338),t),i(n(180),t),i(n(675),t),i(n(339),t)},function(e,t,n){const{MAX_SAFE_COMPONENT_LENGTH:r}=n(131),i=n(132),o=(t=e.exports={}).re=[],a=t.src=[],s=t.t={};let c=0;const l=(e,t,n)=>{const r=c++;i(r,t),s[e]=r,a[r]=t,o[r]=new RegExp(t,n?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${a[s.NUMERICIDENTIFIER]})\\.(${a[s.NUMERICIDENTIFIER]})\\.(${a[s.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${a[s.NUMERICIDENTIFIERLOOSE]})\\.(${a[s.NUMERICIDENTIFIERLOOSE]})\\.(${a[s.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${a[s.NUMERICIDENTIFIER]}|${a[s.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${a[s.NUMERICIDENTIFIERLOOSE]}|${a[s.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${a[s.PRERELEASEIDENTIFIER]}(?:\\.${a[s.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${a[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[s.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${a[s.BUILDIDENTIFIER]}(?:\\.${a[s.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${a[s.MAINVERSION]}${a[s.PRERELEASE]}?${a[s.BUILD]}?`),l("FULL",`^${a[s.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${a[s.MAINVERSIONLOOSE]}${a[s.PRERELEASELOOSE]}?${a[s.BUILD]}?`),l("LOOSE",`^${a[s.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",a[s.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),l("XRANGEIDENTIFIER",a[s.NUMERICIDENTIFIER]+"|x|X|\\*"),l("XRANGEPLAIN",`[v=\\s]*(${a[s.XRANGEIDENTIFIER]})(?:\\.(${a[s.XRANGEIDENTIFIER]})(?:\\.(${a[s.XRANGEIDENTIFIER]})(?:${a[s.PRERELEASE]})?${a[s.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${a[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[s.XRANGEIDENTIFIERLOOSE]})(?:${a[s.PRERELEASELOOSE]})?${a[s.BUILD]}?)?)?`),l("XRANGE",`^${a[s.GTLT]}\\s*${a[s.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${a[s.GTLT]}\\s*${a[s.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),l("COERCERTL",a[s.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${a[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",l("TILDE",`^${a[s.LONETILDE]}${a[s.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${a[s.LONETILDE]}${a[s.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${a[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",l("CARET",`^${a[s.LONECARET]}${a[s.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${a[s.LONECARET]}${a[s.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${a[s.GTLT]}\\s*(${a[s.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${a[s.GTLT]}\\s*(${a[s.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${a[s.GTLT]}\\s*(${a[s.LOOSEPLAIN]}|${a[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${a[s.XRANGEPLAIN]})\\s+-\\s+(${a[s.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${a[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[s.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0.0.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},function(e,t,n){const{MAX_LENGTH:r}=n(131),{re:i,t:o}=n(84),a=n(24),s=n(133);e.exports=(e,t)=>{if(t=s(t),e instanceof a)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?i[o.LOOSE]:i[o.FULL]).test(e))return null;try{return new a(e,t)}catch(e){return null}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));let r=0;const i=[],o=(e,t,n)=>{const o={type:e,id:String(++r),date:new Date};t&&(o.message=t),n&&(o.data=n),function(e){for(let t=0;t(i.push(e),()=>{const t=i.indexOf(e);-1!==t&&(i[t]=i[i.length-1],i.pop())});"undefined"!=typeof window&&(window.__ledgerLogsListen=a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(0),i=n.n(r),o=n(10),a=n.n(o),s=n(866),c=n.n(s);const l=e=>{const{title:t,paragraph:n,subParagraph:r,icons:o}=e,s=Object.assign({},e);return delete s.paragraph,delete s.subParagraph,delete s.icons,i.a.createElement("div",Object.assign({className:a()(c.a.container,{[c.a.withSubParagraph]:null!=r})},s),i.a.createElement("div",{className:c.a.innerContainer},i.a.createElement("h1",null,t),n?i.a.createElement("p",null,n):null,r?i.a.createElement("p",null,r):null),i.a.createElement("div",{style:{flex:1}}),o?o.map((e,t)=>i.a.createElement("div",{className:c.a.iconContainer,key:t.toString()},i.a.createElement("div",{style:{flex:1}}),e,i.a.createElement("div",{style:{flex:1}}))):null)}},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return c}));var r=n(44);const i=[{vendorId:r.b}];async function o(){return await navigator.usb.requestDevice({filters:i})}async function a(){return(await navigator.usb.getDevices()).filter(e=>e.vendorId===r.b)}async function s(){const e=await a();return e.length>0?e[0]:o()}const c=()=>Promise.resolve(!!navigator&&!!navigator.usb&&"function"==typeof navigator.usb.getDevices)},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ObservableChainQueryMap=t.ObservableChainQuery=void 0;const o=n(209),a=i(n(68)),s=n(5),c=n(209);class l extends o.ObservableQuery{constructor(e,t,n,r){const i=n.getChain(t);super(e,a.default.create(Object.assign({baseURL:i.rest},i.restConfig)),r),this._chainId=t,this.chainGetter=n}get instance(){const e=this.chainGetter.getChain(this.chainId);return a.default.create(Object.assign({baseURL:e.rest},e.restConfig))}get chainId(){return this._chainId}}r([s.override],l.prototype,"instance",null),t.ObservableChainQuery=l;class u extends c.HasMapStore{constructor(e,t,n,r){super(r),this.kvStore=e,this.chainId=t,this.chainGetter=n}}t.ObservableChainQueryMap=u},function(e,t,n){"use strict";(function(e){function r(e){return!(!e||"function"!=typeof e.then)}function i(e){return e||(e=0),new Promise((function(t){return setTimeout(t,e)}))}function o(e,t){return Math.floor(Math.random()*(t-e+1)+e)}function a(){return Math.random().toString(36).substring(2)}n.d(t,"b",(function(){return r})),n.d(t,"f",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return u}));var s=0,c=0;function l(){var e=(new Date).getTime();return e===s?1e3*e+ ++c:(s=e,c=0,1e3*e)}var u="[object process]"===Object.prototype.toString.call(void 0!==e?e:0)}).call(this,n(13))},function(e,t,n){"use strict";e.exports=n(1333)},function(e,t,n){var r=n(37),i=n(1336);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(982),t),i(n(209),t),i(n(1271),t),i(n(1273),t),i(n(1309),t),i(n(1310),t),i(n(1319),t)},function(e,t,n){"use strict";for(var r="qpzry9x8gf2tvdw0s3jn54khce6mua7l",i={},o=0;o>25;return(33554431&e)<<5^996825010&-(t>>0&1)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function c(e){for(var t=1,n=0;n126)return"Invalid prefix ("+e+")";t=s(t)^r>>5}for(t=s(t),n=0;nt)return"Exceeds length limit";var n=e.toLowerCase(),r=e.toUpperCase();if(e!==n&&e!==r)return"Mixed-case string "+e;var o=(e=n).lastIndexOf("1");if(-1===o)return"No separator character for "+e;if(0===o)return"Missing prefix for "+e;var a=e.slice(0,o),l=e.slice(o+1);if(l.length<6)return"Data too short";var u=c(a);if("string"==typeof u)return u;for(var f=[],d=0;d=l.length||f.push(h)}return 1!==u?"Invalid checksum for "+e:{prefix:a,words:f}}function u(e,t,n,r){for(var i=0,o=0,a=(1<=n;)o-=n,s.push(i>>o&a);if(r)o>0&&s.push(i<=t)return"Excess padding";if(i<n)throw new TypeError("Exceeds length limit");var i=c(e=e.toLowerCase());if("string"==typeof i)throw new Error(i);for(var o=e+"1",a=0;a>5!=0)throw new Error("Non 5-bit word");i=s(i)^l,o+=r.charAt(l)}for(a=0;a<6;++a)i=s(i);for(i^=1,a=0;a<6;++a){o+=r.charAt(i>>5*(5-a)&31)}return o},toWordsUnsafe:function(e){var t=u(e,8,5,!0);if(Array.isArray(t))return t},toWords:function(e){var t=u(e,8,5,!0);if(Array.isArray(t))return t;throw new Error(t)},fromWordsUnsafe:function(e){var t=u(e,5,8,!1);if(Array.isArray(t))return t},fromWords:function(e){var t=u(e,5,8,!1);if(Array.isArray(t))return t;throw new Error(t)}}},function(e,t,n){(function(e){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,n(2).Buffer)},function(e,t,n){"use strict";var r=n(49),i=n(32);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=o,o.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o{n[t]=o(e[t])}),n}function a(e){return JSON.stringify(o(e))}t.sortedJsonStringify=a,t.makeSignDoc=function(e,t,n,r,o,a){return{chain_id:n,account_number:i.Uint53.fromString(o.toString()).toString(),sequence:i.Uint53.fromString(a.toString()).toString(),fee:t,msgs:e,memo:r||""}},t.serializeSignDoc=function(e){return r.toUtf8(a(e))}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(351),t),i(n(352),t),i(n(192),t)},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(349),t),i(n(191),t),i(n(718),t),i(n(190),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(42),{fromBase64:i,fromHex:o}=r.Encoding;t.isStdTx=function(e){const{memo:t,msg:n,fee:r,signatures:i}=e;return"string"==typeof t&&Array.isArray(n)&&"object"==typeof r&&Array.isArray(i)},t.isMsgSend=function(e){return"cosmos-sdk/MsgSend"===e.type},t.isMsgStoreCode=function(e){return"wasm/MsgStoreCode"===e.type},t.isMsgInstantiateContract=function(e){return"wasm/MsgInstantiateContract"===e.type},t.isMsgExecuteContract=function(e){return"wasm/MsgExecuteContract"===e.type},t.extractContractMsg=function(e){return"wasm/MsgExecuteContract"===e.type?r.Encoding.fromBase64(e.value.msg):r.Encoding.fromBase64(e.value.init_msg)},t.pubkeyType={secp256k1:"tendermint/PubKeySecp256k1",ed25519:"tendermint/PubKeyEd25519",sr25519:"tendermint/PubKeySr25519"},t.pubkeyTypes=[t.pubkeyType.secp256k1,t.pubkeyType.ed25519,t.pubkeyType.sr25519],t.parseWasmData=function({key:e,val:t}){return{key:o(e),val:i(t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(738);t.Bip39=r.Bip39;var i=n(364);t.EnglishMnemonic=i.EnglishMnemonic;var o=n(365);t.Hmac=o.Hmac;var a=n(754);t.Keccak256=a.Keccak256;var s=n(755);t.Xchacha20poly1305Ietf=s.Xchacha20poly1305Ietf,t.Argon2id=s.Argon2id,t.Ed25519=s.Ed25519,t.Ed25519Keypair=s.Ed25519Keypair;var c=n(756);t.Random=c.Random;var l=n(757);t.Ripemd160=l.Ripemd160;var u=n(758);t.Secp256k1=u.Secp256k1;var f=n(366);t.ExtendedSecp256k1Signature=f.ExtendedSecp256k1Signature,t.Secp256k1Signature=f.Secp256k1Signature;var d=n(367);t.Sha1=d.Sha1,t.Sha256=d.Sha256,t.Sha512=d.Sha512;var p=n(759);t.Slip10=p.Slip10,t.Slip10Curve=p.Slip10Curve,t.Slip10RawIndex=p.Slip10RawIndex,t.slip10CurveFromString=p.slip10CurveFromString},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(199),i=n(200);class o{constructor(){this.data=new Uint8Array(o.SIZE)}clear(){i.wipe(this.data)}clone(){const e=new o;return e.copy(this),e}copy(e){this.data.set(e.data)}dbl(){let e=0;for(let t=o.SIZE-1;t>=0;t--){const n=this.data[t]>>>7&255;this.data[t]=this.data[t]<<1|e,e=n}this.data[o.SIZE-1]^=r.select(e,o.R,0),e=0}}o.SIZE=16,o.R=135,t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSONUint8Array=void 0;const r=n(2);class i{static parse(e){return JSON.parse(e,(e,t)=>t&&"string"==typeof t&&t.startsWith("__uint8array__")?new Uint8Array(r.Buffer.from(t.replace("__uint8array__",""),"hex")):t)}static stringify(e){return JSON.stringify(e,(e,t)=>t&&(t instanceof Uint8Array||"object"==typeof t&&"type"in t&&"data"in t&&"Buffer"===t.type&&Array.isArray(t.data))?"__uint8array__"+r.Buffer.from(t).toString("hex"):t)}static wrap(e){if(void 0!==e)return JSON.parse(i.stringify(e))}static unwrap(e){if(void 0!==e)return i.parse(JSON.stringify(e))}}t.JSONUint8Array=i},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(547),t),i(n(567),t),i(n(592),t)},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return w})),n.d(t,"a",(function(){return _}));var r=n(0),i=n.n(r),o=(n(1471),n(217)),a=n(1560);const s=({type:e,content:t,duration:n,canDelete:o,onDelete:s})=>(Object(r.useEffect)(()=>{const e=setTimeout(()=>{s()},1e3*n);return()=>clearTimeout(e)},[n,s]),i.a.createElement(a.a,{className:"default"===e?"alert-default":void 0,color:"default"!==e?e:void 0,fade:!1,toggle:o?s:void 0},i.a.createElement("span",{className:"alert-inner--text"},t))),c=({id:e,properties:t,initial:n,variants:r})=>{const a=w();return i.a.createElement(o.b.ul,{id:e,style:{listStyle:"none"}},i.a.createElement(o.a,null,t.map(e=>i.a.createElement(o.b.li,{initial:n,variants:r,animate:"visible",transition:{duration:e.transition.duration},exit:"hidden",key:e.id},i.a.createElement(s,Object.assign({},e,{onDelete:()=>{a.remove(e.id)}}))))))};var l=n(5),u=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};const f=i.a.createContext(null),d=({children:e})=>i.a.createElement(f.Provider,{value:new p},e);class p{constructor(){this.topLeftProperties=[],this.topCenterProperties=[],this.topRightProperties=[],Object(l.makeObservable)(this)}setTopLeftProperties(e){this.topLeftProperties=e}setTopCenterProperties(e){this.topCenterProperties=e}setTopRightProperties(e){this.topRightProperties=e}pushTopLeftProperty(e){this.topLeftProperties.push(e)}pushTopCenterProperty(e){this.topCenterProperties.push(e)}pushTopRightProperty(e){this.topRightProperties.push(e)}removeTopLeftProperty(e){const t=this.topLeftProperties.find(t=>t.id===e);t&&this.topLeftProperties.remove(t)}removeTopCenterProperty(e){const t=this.topCenterProperties.find(t=>t.id===e);t&&this.topCenterProperties.remove(t)}removeTopRightProperty(e){const t=this.topRightProperties.find(t=>t.id===e);t&&this.topRightProperties.remove(t)}}u([l.observable],p.prototype,"topLeftProperties",void 0),u([l.observable],p.prototype,"topCenterProperties",void 0),u([l.observable],p.prototype,"topRightProperties",void 0),u([l.action],p.prototype,"setTopLeftProperties",null),u([l.action],p.prototype,"setTopCenterProperties",null),u([l.action],p.prototype,"setTopRightProperties",null),u([l.action],p.prototype,"pushTopLeftProperty",null),u([l.action],p.prototype,"pushTopCenterProperty",null),u([l.action],p.prototype,"pushTopRightProperty",null),u([l.action],p.prototype,"removeTopLeftProperty",null),u([l.action],p.prototype,"removeTopCenterProperty",null),u([l.action],p.prototype,"removeTopRightProperty",null);var h=n(14),m=n(2);const b={visible:{x:["-100%","0%"],opacity:1},hidden:{x:["0%","-100%"],opacity:0}},y={visible:{y:["-100%","0%"],opacity:1},hidden:{y:["0%","-100%"],opacity:0}},g={visible:{x:["100%","0%"],opacity:1},hidden:{x:["0%","100%"],opacity:0}},v=i.a.createContext(void 0),w=()=>{const e=i.a.useContext(v);if(!e)throw new Error("You have forgot to use StoreProvider");return e},_=Object(h.a)(e=>{const{children:t}=e,n=(()=>{const e=i.a.useContext(f);if(!e)throw new Error("You have forgot to use StoreProvider");return e})();return i.a.createElement(v.Provider,{value:{push:e=>{if(!e.id){const t=new Uint8Array(8);crypto.getRandomValues(t),e.id=m.Buffer.from(t).toString("hex")}if("top-left"===e.placement)n.pushTopLeftProperty(e);else if("top-center"===e.placement)n.pushTopCenterProperty(e);else{if("top-right"!==e.placement)throw new Error("Invalid placement for notification");n.pushTopRightProperty(e)}return e.id},remove:e=>{n.removeTopLeftProperty(e),n.removeTopCenterProperty(e),n.removeTopRightProperty(e)}}},t,i.a.createElement(c,{id:"notification-top-left",properties:n.topLeftProperties.slice().reverse(),initial:{x:"-100%",opacity:0},variants:b}),i.a.createElement(c,{id:"notification-top-center",properties:n.topCenterProperties.slice().reverse(),initial:{y:"-100%",opacity:0},variants:y}),i.a.createElement(c,{id:"notification-top-right",properties:n.topRightProperties.slice().reverse(),initial:{x:"100%",opacity:0},variants:g}))})},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Dec=void 0;const i=r(n(233)),o=n(116);class a{constructor(e,t=0){if("string"==typeof e){if(0===e.length)throw new Error("empty string");if(!/^(-?\d+\.\d+)$|^(-?\d+)$/.test(e))throw new Error("invalid decimal: "+e);e.indexOf(".")>=0&&(t=e.length-e.indexOf(".")-1,e=e.replace(".","")),this.int=i.default(e)}else"number"==typeof e?this.int=i.default(e):e instanceof o.Int?this.int=i.default(e.toString()):this.int=i.default(e);this.int=this.int.multiply(a.calcPrecisionMultiplier(i.default(t)))}static calcPrecisionMultiplier(e){if(e.lt(i.default(0)))throw new Error("Invalid prec");if(e.gt(a.precision))throw new Error("Too much precision");if(a.precisionMultipliers[e.toString()])return a.precisionMultipliers[e.toString()];const t=a.precision.minus(e),n=i.default(10).pow(t);return a.precisionMultipliers[e.toString()]=n,n}isZero(){return this.int.eq(i.default(0))}isNegative(){return this.int.isNegative()}isPositive(){return this.int.isPositive()}equals(e){return this.int.eq(e.int)}gt(e){return this.int.gt(e.int)}gte(e){return this.int.geq(e.int)}lt(e){return this.int.lt(e.int)}lte(e){return this.int.leq(e.int)}neg(){return new a(this.int.negate(),a.precision.toJSNumber())}abs(){return new a(this.int.abs(),a.precision.toJSNumber())}add(e){return new a(this.int.add(e.int),a.precision.toJSNumber())}sub(e){return new a(this.int.subtract(e.int),a.precision.toJSNumber())}mul(e){return new a(this.mulRaw(e).chopPrecisionAndRound(),a.precision.toJSNumber())}mulTruncate(e){return new a(this.mulRaw(e).chopPrecisionAndTruncate(),a.precision.toJSNumber())}mulRaw(e){return new a(this.int.multiply(e.int),a.precision.toJSNumber())}quo(e){return new a(this.quoRaw(e).chopPrecisionAndRound(),a.precision.toJSNumber())}quoTruncate(e){return new a(this.quoRaw(e).chopPrecisionAndTruncate(),a.precision.toJSNumber())}quoRoundUp(e){return new a(this.quoRaw(e).chopPrecisionAndRoundUp(),a.precision.toJSNumber())}quoRaw(e){const t=a.calcPrecisionMultiplier(i.default(0)),n=this.int.multiply(t).multiply(t);return new a(n.divide(e.int),a.precision.toJSNumber())}isInteger(){const e=a.calcPrecisionMultiplier(i.default(0));return this.int.remainder(e).equals(i.default(0))}chopPrecisionAndRound(){if(this.isNegative()){return this.abs().chopPrecisionAndRound().negate()}const e=a.calcPrecisionMultiplier(i.default(0)),t=e.divide(i.default(2)),{quotient:n,remainder:r}=this.int.divmod(e);return r.equals(i.default(0))||r.lt(t)?n:r.gt(t)?n.add(i.default(1)):n.divide(i.default(2)).equals(i.default(0))?n:n.add(i.default(1))}chopPrecisionAndRoundUp(){if(this.isNegative()){return this.abs().chopPrecisionAndTruncate().negate()}const e=a.calcPrecisionMultiplier(i.default(0)),{quotient:t,remainder:n}=this.int.divmod(e);return n.equals(i.default(0))?t:t.add(i.default(1))}chopPrecisionAndTruncate(){const e=a.calcPrecisionMultiplier(i.default(0));return this.int.divide(e)}toString(e=a.precision.toJSNumber(),t=!1){const n=a.calcPrecisionMultiplier(i.default(0)),r=this.int.abs(),{quotient:o,remainder:s}=r.divmod(n);let c=s.toString(10);for(let e=0,t=c.length;e0?"."+c:""}`}round(){return new o.Int(this.chopPrecisionAndRound())}roundUp(){return new o.Int(this.chopPrecisionAndRoundUp())}truncate(){return new o.Int(this.chopPrecisionAndTruncate())}}t.Dec=a,a.precision=i.default(18),a.precisionMultipliers={}},function(e,t){e.exports=r;var n=null;try{n=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(e){}function r(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function i(e){return!0===(e&&e.__isLong__)}r.prototype.__isLong__,Object.defineProperty(r.prototype,"__isLong__",{value:!0}),r.isLong=i;var o={},a={};function s(e,t){var n,r,i;return t?(i=0<=(e>>>=0)&&e<256)&&(r=a[e])?r:(n=l(e,(0|e)<0?-1:0,!0),i&&(a[e]=n),n):(i=-128<=(e|=0)&&e<128)&&(r=o[e])?r:(n=l(e,e<0?-1:0,!1),i&&(o[e]=n),n)}function c(e,t){if(isNaN(e))return t?g:y;if(t){if(e<0)return g;if(e>=h)return x}else{if(e<=-m)return S;if(e+1>=m)return k}return e<0?c(-e,t).neg():l(e%p|0,e/p|0,t)}function l(e,t,n){return new r(e,t,n)}r.fromInt=s,r.fromNumber=c,r.fromBits=l;var u=Math.pow;function f(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return y;if("number"==typeof t?(n=t,t=!1):t=!!t,(n=n||10)<2||360)throw Error("interior hyphen");if(0===r)return f(e.substring(1),t,n).neg();for(var i=c(u(n,8)),o=y,a=0;a>>0:this.low},O.toNumber=function(){return this.unsigned?(this.high>>>0)*p+(this.low>>>0):this.high*p+(this.low>>>0)},O.toString=function(e){if((e=e||10)<2||36>>0).toString(e);if((o=s).isZero())return l+a;for(;l.length<6;)l="0"+l;a=""+l+a}},O.getHighBits=function(){return this.high},O.getHighBitsUnsigned=function(){return this.high>>>0},O.getLowBits=function(){return this.low},O.getLowBitsUnsigned=function(){return this.low>>>0},O.getNumBitsAbs=function(){if(this.isNegative())return this.eq(S)?64:this.neg().getNumBitsAbs();for(var e=0!=this.high?this.high:this.low,t=31;t>0&&0==(e&1<=0},O.isOdd=function(){return 1==(1&this.low)},O.isEven=function(){return 0==(1&this.low)},O.equals=function(e){return i(e)||(e=d(e)),(this.unsigned===e.unsigned||this.high>>>31!=1||e.high>>>31!=1)&&(this.high===e.high&&this.low===e.low)},O.eq=O.equals,O.notEquals=function(e){return!this.eq(e)},O.neq=O.notEquals,O.ne=O.notEquals,O.lessThan=function(e){return this.comp(e)<0},O.lt=O.lessThan,O.lessThanOrEqual=function(e){return this.comp(e)<=0},O.lte=O.lessThanOrEqual,O.le=O.lessThanOrEqual,O.greaterThan=function(e){return this.comp(e)>0},O.gt=O.greaterThan,O.greaterThanOrEqual=function(e){return this.comp(e)>=0},O.gte=O.greaterThanOrEqual,O.ge=O.greaterThanOrEqual,O.compare=function(e){if(i(e)||(e=d(e)),this.eq(e))return 0;var t=this.isNegative(),n=e.isNegative();return t&&!n?-1:!t&&n?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1},O.comp=O.compare,O.negate=function(){return!this.unsigned&&this.eq(S)?S:this.not().add(v)},O.neg=O.negate,O.add=function(e){i(e)||(e=d(e));var t=this.high>>>16,n=65535&this.high,r=this.low>>>16,o=65535&this.low,a=e.high>>>16,s=65535&e.high,c=e.low>>>16,u=0,f=0,p=0,h=0;return p+=(h+=o+(65535&e.low))>>>16,f+=(p+=r+c)>>>16,u+=(f+=n+s)>>>16,u+=t+a,l((p&=65535)<<16|(h&=65535),(u&=65535)<<16|(f&=65535),this.unsigned)},O.subtract=function(e){return i(e)||(e=d(e)),this.add(e.neg())},O.sub=O.subtract,O.multiply=function(e){if(this.isZero())return y;if(i(e)||(e=d(e)),n)return l(n.mul(this.low,this.high,e.low,e.high),n.get_high(),this.unsigned);if(e.isZero())return y;if(this.eq(S))return e.isOdd()?S:y;if(e.eq(S))return this.isOdd()?S:y;if(this.isNegative())return e.isNegative()?this.neg().mul(e.neg()):this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(b)&&e.lt(b))return c(this.toNumber()*e.toNumber(),this.unsigned);var t=this.high>>>16,r=65535&this.high,o=this.low>>>16,a=65535&this.low,s=e.high>>>16,u=65535&e.high,f=e.low>>>16,p=65535&e.low,h=0,m=0,g=0,v=0;return g+=(v+=a*p)>>>16,m+=(g+=o*p)>>>16,g&=65535,m+=(g+=a*f)>>>16,h+=(m+=r*p)>>>16,m&=65535,h+=(m+=o*f)>>>16,m&=65535,h+=(m+=a*u)>>>16,h+=t*p+r*f+o*u+a*s,l((g&=65535)<<16|(v&=65535),(h&=65535)<<16|(m&=65535),this.unsigned)},O.mul=O.multiply,O.divide=function(e){if(i(e)||(e=d(e)),e.isZero())throw Error("division by zero");var t,r,o;if(n)return this.unsigned||-2147483648!==this.high||-1!==e.low||-1!==e.high?l((this.unsigned?n.div_u:n.div_s)(this.low,this.high,e.low,e.high),n.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?g:y;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return g;if(e.gt(this.shru(1)))return w;o=g}else{if(this.eq(S))return e.eq(v)||e.eq(_)?S:e.eq(S)?v:(t=this.shr(1).div(e).shl(1)).eq(y)?e.isNegative()?v:_:(r=this.sub(e.mul(t)),o=t.add(r.div(e)));if(e.eq(S))return this.unsigned?g:y;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();o=y}for(r=this;r.gte(e);){t=Math.max(1,Math.floor(r.toNumber()/e.toNumber()));for(var a=Math.ceil(Math.log(t)/Math.LN2),s=a<=48?1:u(2,a-48),f=c(t),p=f.mul(e);p.isNegative()||p.gt(r);)p=(f=c(t-=s,this.unsigned)).mul(e);f.isZero()&&(f=v),o=o.add(f),r=r.sub(p)}return o},O.div=O.divide,O.modulo=function(e){return i(e)||(e=d(e)),n?l((this.unsigned?n.rem_u:n.rem_s)(this.low,this.high,e.low,e.high),n.get_high(),this.unsigned):this.sub(this.div(e).mul(e))},O.mod=O.modulo,O.rem=O.modulo,O.not=function(){return l(~this.low,~this.high,this.unsigned)},O.and=function(e){return i(e)||(e=d(e)),l(this.low&e.low,this.high&e.high,this.unsigned)},O.or=function(e){return i(e)||(e=d(e)),l(this.low|e.low,this.high|e.high,this.unsigned)},O.xor=function(e){return i(e)||(e=d(e)),l(this.low^e.low,this.high^e.high,this.unsigned)},O.shiftLeft=function(e){return i(e)&&(e=e.toInt()),0==(e&=63)?this:e<32?l(this.low<>>32-e,this.unsigned):l(0,this.low<>>e|this.high<<32-e,this.high>>e,this.unsigned):l(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},O.shr=O.shiftRight,O.shiftRightUnsigned=function(e){if(i(e)&&(e=e.toInt()),0===(e&=63))return this;var t=this.high;return e<32?l(this.low>>>e|t<<32-e,t>>>e,this.unsigned):l(32===e?t:t>>>e-32,0,this.unsigned)},O.shru=O.shiftRightUnsigned,O.shr_u=O.shiftRightUnsigned,O.toSigned=function(){return this.unsigned?l(this.low,this.high,!1):this},O.toUnsigned=function(){return this.unsigned?this:l(this.low,this.high,!0)},O.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},O.toBytesLE=function(){var e=this.high,t=this.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&e,e>>>8&255,e>>>16&255,e>>>24]},O.toBytesBE=function(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,255&e,t>>>24,t>>>16&255,t>>>8&255,255&t]},r.fromBytes=function(e,t,n){return n?r.fromBytesLE(e,t):r.fromBytesBE(e,t)},r.fromBytesLE=function(e,t){return new r(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)},r.fromBytesBE=function(e,t){return new r(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Secp256k1Wallet=t.Secp256k1HdWallet=t.extractKdfConfiguration=t.executeKdf=t.pubkeyType=t.makeStdTx=t.isWrappedStdTx=t.isStdTx=t.SigningCosmosClient=t.decodeSignature=t.encodeSecp256k1Signature=t.findSequenceForSignedTx=t.encodeSecp256k1Pubkey=t.encodeBech32Pubkey=t.encodeAminoPubkey=t.decodeBech32Pubkey=t.decodeAminoPubkey=t.makeCosmoshubPath=t.isMsgWithdrawValidatorCommission=t.isMsgWithdrawDelegatorReward=t.isMsgUndelegate=t.isMsgSetWithdrawAddress=t.isMsgSend=t.isMsgMultiSend=t.isMsgFundCommunityPool=t.isMsgEditValidator=t.isMsgDelegate=t.isMsgCreateValidator=t.isMsgBeginRedelegate=t.uint64ToString=t.uint64ToNumber=t.setupSupplyExtension=t.setupStakingExtension=t.setupSlashingExtension=t.setupMintExtension=t.setupGovExtension=t.setupDistributionExtension=t.setupBankExtension=t.setupAuthExtension=t.normalizePubkey=t.normalizeLcdApiArray=t.LcdClient=t.BroadcastMode=t.GasPrice=t.buildFeeTable=t.serializeSignDoc=t.makeSignDoc=t.isSearchByTagsQuery=t.isSearchBySentFromOrToQuery=t.isSearchByHeightQuery=t.isBroadcastTxSuccess=t.isBroadcastTxFailure=t.CosmosClient=t.assertIsBroadcastTxSuccess=t.parseCoins=t.coins=t.coin=t.rawSecp256k1PubkeyToAddress=t.pubkeyToAddress=t.logs=void 0;const a=o(n(310));t.logs=a;var s=n(173);Object.defineProperty(t,"pubkeyToAddress",{enumerable:!0,get:function(){return s.pubkeyToAddress}}),Object.defineProperty(t,"rawSecp256k1PubkeyToAddress",{enumerable:!0,get:function(){return s.rawSecp256k1PubkeyToAddress}});var c=n(317);Object.defineProperty(t,"coin",{enumerable:!0,get:function(){return c.coin}}),Object.defineProperty(t,"coins",{enumerable:!0,get:function(){return c.coins}}),Object.defineProperty(t,"parseCoins",{enumerable:!0,get:function(){return c.parseCoins}});var l=n(318);Object.defineProperty(t,"assertIsBroadcastTxSuccess",{enumerable:!0,get:function(){return l.assertIsBroadcastTxSuccess}}),Object.defineProperty(t,"CosmosClient",{enumerable:!0,get:function(){return l.CosmosClient}}),Object.defineProperty(t,"isBroadcastTxFailure",{enumerable:!0,get:function(){return l.isBroadcastTxFailure}}),Object.defineProperty(t,"isBroadcastTxSuccess",{enumerable:!0,get:function(){return l.isBroadcastTxSuccess}}),Object.defineProperty(t,"isSearchByHeightQuery",{enumerable:!0,get:function(){return l.isSearchByHeightQuery}}),Object.defineProperty(t,"isSearchBySentFromOrToQuery",{enumerable:!0,get:function(){return l.isSearchBySentFromOrToQuery}}),Object.defineProperty(t,"isSearchByTagsQuery",{enumerable:!0,get:function(){return l.isSearchByTagsQuery}});var u=n(101);Object.defineProperty(t,"makeSignDoc",{enumerable:!0,get:function(){return u.makeSignDoc}}),Object.defineProperty(t,"serializeSignDoc",{enumerable:!0,get:function(){return u.serializeSignDoc}});var f=n(320);Object.defineProperty(t,"buildFeeTable",{enumerable:!0,get:function(){return f.buildFeeTable}}),Object.defineProperty(t,"GasPrice",{enumerable:!0,get:function(){return f.GasPrice}});var d=n(174);Object.defineProperty(t,"BroadcastMode",{enumerable:!0,get:function(){return d.BroadcastMode}}),Object.defineProperty(t,"LcdClient",{enumerable:!0,get:function(){return d.LcdClient}}),Object.defineProperty(t,"normalizeLcdApiArray",{enumerable:!0,get:function(){return d.normalizeLcdApiArray}}),Object.defineProperty(t,"normalizePubkey",{enumerable:!0,get:function(){return d.normalizePubkey}}),Object.defineProperty(t,"setupAuthExtension",{enumerable:!0,get:function(){return d.setupAuthExtension}}),Object.defineProperty(t,"setupBankExtension",{enumerable:!0,get:function(){return d.setupBankExtension}}),Object.defineProperty(t,"setupDistributionExtension",{enumerable:!0,get:function(){return d.setupDistributionExtension}}),Object.defineProperty(t,"setupGovExtension",{enumerable:!0,get:function(){return d.setupGovExtension}}),Object.defineProperty(t,"setupMintExtension",{enumerable:!0,get:function(){return d.setupMintExtension}}),Object.defineProperty(t,"setupSlashingExtension",{enumerable:!0,get:function(){return d.setupSlashingExtension}}),Object.defineProperty(t,"setupStakingExtension",{enumerable:!0,get:function(){return d.setupStakingExtension}}),Object.defineProperty(t,"setupSupplyExtension",{enumerable:!0,get:function(){return d.setupSupplyExtension}}),Object.defineProperty(t,"uint64ToNumber",{enumerable:!0,get:function(){return d.uint64ToNumber}}),Object.defineProperty(t,"uint64ToString",{enumerable:!0,get:function(){return d.uint64ToString}});var p=n(639);Object.defineProperty(t,"isMsgBeginRedelegate",{enumerable:!0,get:function(){return p.isMsgBeginRedelegate}}),Object.defineProperty(t,"isMsgCreateValidator",{enumerable:!0,get:function(){return p.isMsgCreateValidator}}),Object.defineProperty(t,"isMsgDelegate",{enumerable:!0,get:function(){return p.isMsgDelegate}}),Object.defineProperty(t,"isMsgEditValidator",{enumerable:!0,get:function(){return p.isMsgEditValidator}}),Object.defineProperty(t,"isMsgFundCommunityPool",{enumerable:!0,get:function(){return p.isMsgFundCommunityPool}}),Object.defineProperty(t,"isMsgMultiSend",{enumerable:!0,get:function(){return p.isMsgMultiSend}}),Object.defineProperty(t,"isMsgSend",{enumerable:!0,get:function(){return p.isMsgSend}}),Object.defineProperty(t,"isMsgSetWithdrawAddress",{enumerable:!0,get:function(){return p.isMsgSetWithdrawAddress}}),Object.defineProperty(t,"isMsgUndelegate",{enumerable:!0,get:function(){return p.isMsgUndelegate}}),Object.defineProperty(t,"isMsgWithdrawDelegatorReward",{enumerable:!0,get:function(){return p.isMsgWithdrawDelegatorReward}}),Object.defineProperty(t,"isMsgWithdrawValidatorCommission",{enumerable:!0,get:function(){return p.isMsgWithdrawValidatorCommission}});var h=n(321);Object.defineProperty(t,"makeCosmoshubPath",{enumerable:!0,get:function(){return h.makeCosmoshubPath}});var m=n(175);Object.defineProperty(t,"decodeAminoPubkey",{enumerable:!0,get:function(){return m.decodeAminoPubkey}}),Object.defineProperty(t,"decodeBech32Pubkey",{enumerable:!0,get:function(){return m.decodeBech32Pubkey}}),Object.defineProperty(t,"encodeAminoPubkey",{enumerable:!0,get:function(){return m.encodeAminoPubkey}}),Object.defineProperty(t,"encodeBech32Pubkey",{enumerable:!0,get:function(){return m.encodeBech32Pubkey}}),Object.defineProperty(t,"encodeSecp256k1Pubkey",{enumerable:!0,get:function(){return m.encodeSecp256k1Pubkey}});var b=n(640);Object.defineProperty(t,"findSequenceForSignedTx",{enumerable:!0,get:function(){return b.findSequenceForSignedTx}});var y=n(127);Object.defineProperty(t,"encodeSecp256k1Signature",{enumerable:!0,get:function(){return y.encodeSecp256k1Signature}}),Object.defineProperty(t,"decodeSignature",{enumerable:!0,get:function(){return y.decodeSignature}});var g=n(641);Object.defineProperty(t,"SigningCosmosClient",{enumerable:!0,get:function(){return g.SigningCosmosClient}});var v=n(322);Object.defineProperty(t,"isStdTx",{enumerable:!0,get:function(){return v.isStdTx}}),Object.defineProperty(t,"isWrappedStdTx",{enumerable:!0,get:function(){return v.isWrappedStdTx}}),Object.defineProperty(t,"makeStdTx",{enumerable:!0,get:function(){return v.makeStdTx}});var w=n(126);Object.defineProperty(t,"pubkeyType",{enumerable:!0,get:function(){return w.pubkeyType}});var _=n(323);Object.defineProperty(t,"executeKdf",{enumerable:!0,get:function(){return _.executeKdf}});var k=n(643);Object.defineProperty(t,"extractKdfConfiguration",{enumerable:!0,get:function(){return k.extractKdfConfiguration}}),Object.defineProperty(t,"Secp256k1HdWallet",{enumerable:!0,get:function(){return k.Secp256k1HdWallet}});var x=n(644);Object.defineProperty(t,"Secp256k1Wallet",{enumerable:!0,get:function(){return x.Secp256k1Wallet}})},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Uint=t.Int=void 0;const i=r(n(233));class o{constructor(e,t,n,r){this.int="string"==typeof e?i.default(e,t,n,r):i.default(e)}toString(){return this.int.toString(10)}equals(e){return this.int.equals(e.int)}gt(e){return this.int.gt(e.int)}gte(e){return this.int.greaterOrEquals(e.int)}lt(e){return this.int.lt(e.int)}lte(e){return this.int.lesserOrEquals(e.int)}add(e){return new o(this.int.add(e.int))}sub(e){return new o(this.int.subtract(e.int))}mul(e){return new o(this.int.multiply(e.int))}div(e){return new o(this.int.divide(e.int))}mod(e){return new o(this.int.mod(e.int))}neg(){return new o(this.int.negate())}}t.Int=o;class a{constructor(e,t,n,r){if(this.uint="string"==typeof e?i.default(e,t,n,r):i.default(e),this.uint.isNegative())throw new TypeError("Uint should not be negative")}toString(){return this.uint.toString(10)}equals(e){return this.uint.equals(e.uint)}gt(e){return this.uint.gt(e.uint)}gte(e){return this.uint.greaterOrEquals(e.uint)}lt(e){return this.uint.lt(e.uint)}lte(e){return this.uint.lesserOrEquals(e.uint)}add(e){return new a(this.uint.add(e.uint))}sub(e){return new a(this.uint.subtract(e.uint))}mul(e){return new a(this.uint.multiply(e.uint))}div(e){return new a(this.uint.divide(e.uint))}mod(e){return new a(this.uint.mod(e.uint))}}t.Uint=a},function(e,t,n){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=l(e),a=r[0],s=r[1],c=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),u=0,f=s>0?a-4:a;for(n=0;n>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;as?s:a+16383));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var i,o,a=[],s=t;s>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const a=o(n(113)),s=o(n(48));s.default.util.Long=a.default,s.default.configure(),i(n(442),t)},function(e,t,n){"use strict";(function(t){void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,n,r,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,n)}));case 3:return t.nextTick((function(){e.call(null,n,r)}));case 4:return t.nextTick((function(){e.call(null,n,r,i)}));default:for(o=new Array(s-1),a=0;an)?t=("rmd160"===e?new c:l(e)).update(t).digest():t.length>>24]^u[h>>>16&255]^f[m>>>8&255]^d[255&b]^t[y++],a=l[h>>>24]^u[m>>>16&255]^f[b>>>8&255]^d[255&p]^t[y++],s=l[m>>>24]^u[b>>>16&255]^f[p>>>8&255]^d[255&h]^t[y++],c=l[b>>>24]^u[p>>>16&255]^f[h>>>8&255]^d[255&m]^t[y++],p=o,h=a,m=s,b=c;return o=(r[p>>>24]<<24|r[h>>>16&255]<<16|r[m>>>8&255]<<8|r[255&b])^t[y++],a=(r[h>>>24]<<24|r[m>>>16&255]<<16|r[b>>>8&255]<<8|r[255&p])^t[y++],s=(r[m>>>24]<<24|r[b>>>16&255]<<16|r[p>>>8&255]<<8|r[255&h])^t[y++],c=(r[b>>>24]<<24|r[p>>>16&255]<<16|r[h>>>8&255]<<8|r[255&m])^t[y++],[o>>>=0,a>>>=0,s>>>=0,c>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,c=0;c<256;++c){var l=s^s<<1^s<<2^s<<3^s<<4;l=l>>>8^255&l^99,n[a]=l,r[l]=a;var u=e[a],f=e[u],d=e[f],p=257*e[l]^16843008*l;i[0][a]=p<<24|p>>>8,i[1][a]=p<<16|p>>>16,i[2][a]=p<<8|p>>>24,i[3][a]=p,p=16843009*d^65537*f^257*u^16843008*a,o[0][l]=p<<24|p>>>8,o[1][l]=p<<16|p>>>16,o[2][l]=p<<8|p>>>24,o[3][l]=p,0===a?a=s=1:(a=u^e[e[e[d^u]]],s^=e[e[s]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function l(e){this._key=i(e),this._reset()}l.blockSize=16,l.keySize=32,l.prototype.blockSize=l.blockSize,l.prototype.keySize=l.keySize,l.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,r=4*(n+1),i=[],o=0;o>>24,a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a],a^=s[o/t|0]<<24):t>6&&o%t==4&&(a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a]),i[o]=i[o-t]^a}for(var l=[],u=0;u>>24]]^c.INV_SUB_MIX[1][c.SBOX[d>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[d>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&d]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=l},l.prototype.encryptBlockRaw=function(e){return a(e=i(e),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},l.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},l.prototype.decryptBlock=function(e){var t=(e=i(e))[1];e[1]=e[3],e[3]=t;var n=a(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},l.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},e.exports.AES=l},function(e,t,n){var r=n(7).Buffer,i=n(156);e.exports=function(e,t,n,o){if(r.isBuffer(e)||(e=r.from(e,"binary")),t&&(r.isBuffer(t)||(t=r.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=n/8,s=r.alloc(a),c=r.alloc(o||0),l=r.alloc(0);a>0||o>0;){var u=new i;u.update(l),u.update(e),t&&u.update(t),l=u.digest();var f=0;if(a>0){var d=s.length-a;f=Math.min(a,l.length),l.copy(s,d,0,f),a-=f}if(f0){var p=c.length-o,h=Math.min(o,l.length-f);l.copy(c,p,f,f+h),o-=h}}return l.fill(0),{key:s,iv:c}}},function(e,t,n){"use strict";var r=n(6),i=n(33),o=i.getNAF,a=i.getJSF,s=i.assert;function c(e,t){this.type=e,this.p=new r(t.p,16),this.red=t.prime?r.red(t.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=t.n&&new r(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function l(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){s(e.precomputed);var n=e._getDoubles(),r=o(t,1,this._bitLength),i=(1<=c;t--)l=(l<<1)+r[t];a.push(l)}for(var u=this.jpoint(null,null,null),f=this.jpoint(null,null,null),d=i;d>0;d--){for(c=0;c=0;l--){for(t=0;l>=0&&0===a[l];l--)t++;if(l>=0&&t++,c=c.dblp(t),l<0)break;var u=a[l];s(0!==u),c="affine"===e.type?u>0?c.mixedAdd(i[u-1>>1]):c.mixedAdd(i[-u-1>>1].neg()):u>0?c.add(i[u-1>>1]):c.add(i[-u-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,n,r,i){for(var s=this._wnafT1,c=this._wnafT2,l=this._wnafT3,u=0,f=0;f=1;f-=2){var p=f-1,h=f;if(1===s[p]&&1===s[h]){var m=[t[p],null,null,t[h]];0===t[p].y.cmp(t[h].y)?(m[1]=t[p].add(t[h]),m[2]=t[p].toJ().mixedAdd(t[h].neg())):0===t[p].y.cmp(t[h].y.redNeg())?(m[1]=t[p].toJ().mixedAdd(t[h]),m[2]=t[p].add(t[h].neg())):(m[1]=t[p].toJ().mixedAdd(t[h]),m[2]=t[p].toJ().mixedAdd(t[h].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],y=a(n[p],n[h]);u=Math.max(y[0].length,u),l[p]=new Array(u),l[h]=new Array(u);for(var g=0;g=0;f--){for(var x=0;f>=0;){var S=!0;for(g=0;g=0&&x++,_=_.dblp(x),f<0)break;for(g=0;g0?O=c[g][E-1>>1]:E<0&&(O=c[g][-E-1>>1].neg()),_="affine"===O.type?_.mixedAdd(O):_.add(O))}}for(f=0;f=Math.ceil((e.bitLength()+1)/t.step)},l.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;iconsole.error("SEMVER",...e):()=>{};e.exports=n}).call(this,n(13))},function(e,t){const n=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:n.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{}},function(e,t,n){const r=n(40);e.exports=(e,t,n)=>r(e,t,n)>0},function(e,t,n){const r=Symbol("SemVer ANY");class i{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof i){if(e.loose===!!t.loose)return e;e=e.value}l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?a[s.COMPARATORLOOSE]:a[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new f(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new f(this.value,t).test(e.semver);const n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),r=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=c(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=c(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||o&&a||s||l}}e.exports=i;const o=n(133),{re:a,t:s}=n(84),c=n(347),l=n(132),u=n(24),f=n(41)},function(e,t,n){const r=n(41);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DecProto=t.IntProto=t.DecCoin=t.Coin=t.protobufPackage=void 0;const i=r(n(48));t.protobufPackage="cosmos.base.v1beta1";const o={denom:"",amount:""};t.Coin={encode:(e,t=i.default.Writer.create())=>(t.uint32(10).string(e.denom),t.uint32(18).string(e.amount),t),decode(e,t){const n=e instanceof Uint8Array?new i.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const a=Object.assign({},o);for(;n.pos>>3){case 1:a.denom=n.string();break;case 2:a.amount=n.string();break;default:n.skipType(7&e)}}return a},fromJSON(e){const t=Object.assign({},o);return void 0!==e.denom&&null!==e.denom?t.denom=String(e.denom):t.denom="",void 0!==e.amount&&null!==e.amount?t.amount=String(e.amount):t.amount="",t},fromPartial(e){const t=Object.assign({},o);return void 0!==e.denom&&null!==e.denom?t.denom=e.denom:t.denom="",void 0!==e.amount&&null!==e.amount?t.amount=e.amount:t.amount="",t},toJSON(e){const t={};return void 0!==e.denom&&(t.denom=e.denom),void 0!==e.amount&&(t.amount=e.amount),t}};const a={denom:"",amount:""};t.DecCoin={encode:(e,t=i.default.Writer.create())=>(t.uint32(10).string(e.denom),t.uint32(18).string(e.amount),t),decode(e,t){const n=e instanceof Uint8Array?new i.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const o=Object.assign({},a);for(;n.pos>>3){case 1:o.denom=n.string();break;case 2:o.amount=n.string();break;default:n.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},a);return void 0!==e.denom&&null!==e.denom?t.denom=String(e.denom):t.denom="",void 0!==e.amount&&null!==e.amount?t.amount=String(e.amount):t.amount="",t},fromPartial(e){const t=Object.assign({},a);return void 0!==e.denom&&null!==e.denom?t.denom=e.denom:t.denom="",void 0!==e.amount&&null!==e.amount?t.amount=e.amount:t.amount="",t},toJSON(e){const t={};return void 0!==e.denom&&(t.denom=e.denom),void 0!==e.amount&&(t.amount=e.amount),t}};const s={int:""};t.IntProto={encode:(e,t=i.default.Writer.create())=>(t.uint32(10).string(e.int),t),decode(e,t){const n=e instanceof Uint8Array?new i.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const o=Object.assign({},s);for(;n.pos>>3){case 1:o.int=n.string();break;default:n.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},s);return void 0!==e.int&&null!==e.int?t.int=String(e.int):t.int="",t},fromPartial(e){const t=Object.assign({},s);return void 0!==e.int&&null!==e.int?t.int=e.int:t.int="",t},toJSON(e){const t={};return void 0!==e.int&&(t.int=e.int),t}};const c={dec:""};t.DecProto={encode:(e,t=i.default.Writer.create())=>(t.uint32(10).string(e.dec),t),decode(e,t){const n=e instanceof Uint8Array?new i.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const o=Object.assign({},c);for(;n.pos>>3){case 1:o.dec=n.string();break;default:n.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},c);return void 0!==e.dec&&null!==e.dec?t.dec=String(e.dec):t.dec="",t},fromPartial(e){const t=Object.assign({},c);return void 0!==e.dec&&null!==e.dec?t.dec=e.dec:t.dec="",t},toJSON(e){const t={};return void 0!==e.dec&&(t.dec=e.dec),t}}},function(e,t,n){"use strict";(function(e){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Any=t.protobufPackage=void 0;const i=r(n(48));t.protobufPackage="google.protobuf";const o={typeUrl:""};t.Any={encode:(e,t=i.default.Writer.create())=>(t.uint32(10).string(e.typeUrl),t.uint32(18).bytes(e.value),t),decode(e,t){const n=e instanceof Uint8Array?new i.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const a=Object.assign({},o);for(;n.pos>>3){case 1:a.typeUrl=n.string();break;case 2:a.value=n.bytes();break;default:n.skipType(7&e)}}return a},fromJSON(e){const t=Object.assign({},o);return void 0!==e.typeUrl&&null!==e.typeUrl?t.typeUrl=String(e.typeUrl):t.typeUrl="",void 0!==e.value&&null!==e.value&&(t.value=function(e){const t=s(e),n=new Uint8Array(t.length);for(let e=0;e{if(void 0!==a)return a;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const s=a.atob||(e=>a.Buffer.from(e,"base64").toString("binary"));const c=a.btoa||(e=>a.Buffer.from(e,"binary").toString("base64"))}).call(this,n(12))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(739);t.Int53=r.Int53,t.Uint32=r.Uint32,t.Uint53=r.Uint53,t.Uint64=r.Uint64,t.Decimal=r.Decimal;var i=n(195);t.fromHex=i.fromHex,t.toHex=i.toHex,t.fromAscii=i.fromAscii,t.toAscii=i.toAscii,t.fromBase64=i.fromBase64,t.toBase64=i.toBase64,t.fromRfc3339=i.fromRfc3339,t.toRfc3339=i.toRfc3339,t.fromUtf8=i.fromUtf8,t.toUtf8=i.toUtf8,t.Bech32=i.Bech32;var o=n(363);t.isNonNullObject=o.isNonNullObject,t.isUint8Array=o.isUint8Array;var a=n(751);t.isJsonCompatibleValue=a.isJsonCompatibleValue,t.isJsonCompatibleDictionary=a.isJsonCompatibleDictionary,t.isJsonCompatibleArray=a.isJsonCompatibleArray;var s=n(752);t.TransactionEncoder=s.TransactionEncoder;var c=n(753);t.Encoding=c.Encoding},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const i=n(198),o=n(762),a=n(763);t.WebCryptoProvider=class{constructor(e=window.crypto){this.crypto=e}importBlockCipherKey(e){return r(this,void 0,void 0,(function*(){return o.default.importKey(this.crypto,e)}))}importCTRKey(e){return r(this,void 0,void 0,(function*(){try{return yield a.default.importKey(this.crypto,e)}catch(e){throw e.message.includes("unsupported")?new i.NotImplementedError("WebCryptoProvider: AES-CTR unsupported. Use PolyfillCryptoProvider."):e}}))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return"undefined"!=typeof window?void 0:n(72)};t.getNodeCrypto=r;var i=function(){if("undefined"!=typeof window&&window.crypto)return window.crypto.subtle};t.getWebCrypto=i;var o=function(){if("undefined"!=typeof window){if(window.msCrypto)return window.msCrypto.subtle;if(window.crypto)return window.crypto.subtle}};t.getWebCryptoAll=o;var a=function(){if("undefined"!=typeof window){if(window.msCrypto)return window.msCrypto;if(window.crypto)return window.crypto}};t.getRootWebCryptoAll=a;var s=function(){if("undefined"!=typeof window&&window.msCrypto)return window.msCrypto.subtle};t.getMsCrypto=s;var c=function(){var e=i(),t=r(),n=s();return void 0!==t?{name:"nodeCrypto",crypto:t}:void 0!==e&&void 0===n?{name:"webCrypto",crypto:e}:void 0!==n?{name:"msCrypto",crypto:n}:{name:void 0}};t.getCrypto=c,t.default={getNodeCrypto:r,getWebCrypto:i,getMsCrypto:s,getWebCryptoAll:o,getRootWebCryptoAll:a,getCrypto:c}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetSecret20ViewingKey=t.RemoveTokenMsg=t.AddTokenMsg=t.SuggestTokenMsg=t.GetTokensMsg=void 0;const r=n(18),i=n(382);class o extends r.Message{constructor(e){super(),this.chainId=e}static type(){return"get-tokens"}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty")}route(){return i.ROUTE}type(){return o.type()}}t.GetTokensMsg=o;class a extends r.Message{constructor(e,t,n){super(),this.chainId=e,this.contractAddress=t,this.viewingKey=n}static type(){return"suggest-token"}approveExternal(){return!0}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty");if(!this.contractAddress)throw new Error("Contract address is empty")}route(){return i.ROUTE}type(){return a.type()}}t.SuggestTokenMsg=a;class s extends r.Message{constructor(e,t){super(),this.chainId=e,this.currency=t}static type(){return"add-token"}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty")}route(){return i.ROUTE}type(){return s.type()}}t.AddTokenMsg=s;class c extends r.Message{constructor(e,t){super(),this.chainId=e,this.currency=t}static type(){return"remove-token"}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty")}route(){return i.ROUTE}type(){return c.type()}}t.RemoveTokenMsg=c;class l extends r.Message{constructor(e,t){super(),this.chainId=e,this.contractAddress=t}static type(){return"get-secret20-viewing-key"}validateBasic(){if(!this.chainId)throw new Error("Chain id is empty");if(!this.contractAddress)throw new Error("Contract address is empty")}approveExternal(){return!0}route(){return i.ROUTE}type(){return l.type()}}t.GetSecret20ViewingKey=l},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(51),i=n.n(r),o=n(15);class a{constructor(){this.exchangeTimeout=3e4,this.unresponsiveTimeout=15e3,this.deviceModel=null,this._events=new i.a,this.send=async(t,n,r,i,a=e.alloc(0),s=[o.StatusCodes.OK])=>{if(a.length>=256)throw new o.TransportError("data.length exceed 256 bytes limit. Got: "+a.length,"DataLengthTooBig");const c=await this.exchange(e.concat([e.from([t,n,r,i]),e.from([a.length]),a])),l=c.readUInt16BE(c.length-2);if(!s.some(e=>e===l))throw new o.TransportStatusError(l);return c},this.exchangeBusyPromise=void 0,this.exchangeAtomicImpl=async e=>{if(this.exchangeBusyPromise)throw new o.TransportRaceCondition("An action was already pending on the Ledger device. Please deny or reconnect.");let t;const n=new Promise(e=>{t=e});this.exchangeBusyPromise=n;let r=!1;const i=setTimeout(()=>{r=!0,this.emit("unresponsive")},this.unresponsiveTimeout);try{const n=await e();return r&&this.emit("responsive"),n}finally{clearTimeout(i),t&&t(),this.exchangeBusyPromise=null}},this._appAPIlock=null}exchange(e){throw new Error("exchange not implemented")}setScrambleKey(e){}close(){return Promise.resolve()}on(e,t){this._events.on(e,t)}off(e,t){this._events.removeListener(e,t)}emit(e,...t){this._events.emit(e,...t)}setDebugMode(){console.warn("setDebugMode is deprecated. use @ledgerhq/logs instead. No logs are emitted in this anymore.")}setExchangeTimeout(e){this.exchangeTimeout=e}setExchangeUnresponsiveTimeout(e){this.unresponsiveTimeout=e}static create(e=3e3,t){return new Promise((n,r)=>{let i=!1;const a=this.listen({next:t=>{i=!0,a&&a.unsubscribe(),s&&clearTimeout(s),this.open(t.descriptor,e).then(n,r)},error:e=>{s&&clearTimeout(s),r(e)},complete:()=>{s&&clearTimeout(s),i||r(new o.TransportError(this.ErrorMessage_NoDeviceFound,"NoDeviceFound"))}}),s=t?setTimeout(()=>{a.unsubscribe(),r(new o.TransportError(this.ErrorMessage_ListenTimeout,"ListenTimeout"))},t):null})}decorateAppAPIMethods(e,t,n){for(let r of t)e[r]=this.decorateAppAPIMethod(r,e[r],e,n)}decorateAppAPIMethod(e,t,n,r){return async(...i)=>{const{_appAPIlock:a}=this;if(a)return Promise.reject(new o.TransportError("Ledger Device is busy (lock "+a+")","TransportLocked"));try{return this._appAPIlock=e,this.setScrambleKey(r),await t.apply(n,i)}finally{this._appAPIlock=null}}}}a.isSupported=void 0,a.list=void 0,a.listen=void 0,a.open=void 0,a.ErrorMessage_ListenTimeout="No Ledger device found (timeout)",a.ErrorMessage_NoDeviceFound="No Ledger device found"}).call(this,n(2).Buffer)},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(15);function i(t){const n=e.alloc(2);return n.writeUInt16BE(t,0),n}const o={data:e.alloc(0),dataLength:0,sequence:0};var a=(t,n)=>({makeBlocks(r){let o=e.concat([i(r.length),r]);const a=n-5,s=Math.ceil(o.length/a);o=e.concat([o,e.alloc(s*a-o.length+1).fill(0)]);const c=[];for(let n=0;ns&&(a=a.slice(0,s)),{data:a,dataLength:s,sequence:c}},getReducedResult(e){if(e&&e.dataLength===e.data.length)return e.data}});t.default=a}).call(this,n(2).Buffer)},function(e,t,n){"use strict";var r=n(1117),i=n(1118);e.exports={errors:r,formatters:i}},function(e,t,n){"use strict";var r=n(0);const i="onBlur",o="onChange",a="onSubmit",s="blur",c="change",l="input",u="max",f="min",d="maxLength",p="minLength",h="pattern",m="required",b="validate";var y=e=>void 0===e,g=e=>null===e||y(e),v=e=>Array.isArray(e);const w=e=>"object"==typeof e;var _=e=>!g(e)&&!v(e)&&w(e);const k=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,x=/^\w*$/,S=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,O=/\\(\\)?/g,E=/^(?:0|[1-9]\d*)$/;function T(e){return E.test(e)&&e>-1}function A(e,t,n){let r=-1;const i=function(e){return!v(e)&&(x.test(e)||!k.test(e))}(t)?[t]:(e=>{const t=[];return e.replace(S,(e,n,r,i)=>{t.push(r?i.replace(O,"$1"):n||e)}),t})(t),o=i.length,a=o-1;for(;++rObject.entries(e).reduce((e,[t,n])=>t.match(/\[.+\]/gi)||t.indexOf(".")>0?(A(e,t,n),e):Object.assign(Object.assign({},e),{[t]:n}),{}),I=(e,t)=>{e.removeEventListener&&(e.removeEventListener(l,t),e.removeEventListener(c,t),e.removeEventListener(s,t))},P=e=>"radio"===e,C=e=>"checkbox"===e;function j(e){return!e||e instanceof HTMLElement&&e.nodeType!==Node.DOCUMENT_NODE&&j(e.parentNode)}const D={isValid:!1,value:""};var R=e=>v(e)?e.reduce((e,{ref:{checked:t,value:n}})=>t?{isValid:!0,value:n}:e,D):D,N=e=>"select-multiple"===e,B=e=>""===e;const L={value:!1,isValid:!1},U={value:!0,isValid:!0};var F=e=>{if(v(e)){if(e.length>1){const t=e.filter(({ref:{checked:e}})=>e).map(({ref:{value:e}})=>e);return{value:t,isValid:!!t.length}}const{checked:t,value:n,attributes:r}=e[0].ref;return t?r&&!y(r.value)?y(n)||B(n)?U:{value:n,isValid:!0}:U:L}return L};function q(e,t){const{type:n,name:r,options:i,value:o,files:a}=t,s=e[r];return"file"===n?a:P(n)?s?R(s.options).value:"":N(n)?(e=>[...e].filter(({selected:e})=>e).map(({value:e})=>e))(i):C(n)?!!s&&F(s.options).value:o}var z=e=>Object.values(e).reduce((t,{ref:n,ref:{name:r}})=>Object.assign(Object.assign({},t),{[r]:q(e,n)}),{}),V=e=>_(e)&&!Object.keys(e).length,H=(e,t,n)=>_(e)&&e.type===t&&e.message===n;var $=e=>e instanceof RegExp,K=e=>{const t=_(e)&&!$(e);return{value:t?e.value:e,message:t?e.message:""}},W=e=>"string"==typeof e,G=(e,t,n)=>{e&&W(n)&&t.setCustomValidity(n)},J=e=>"function"==typeof e,Q=e=>"boolean"==typeof e;function Y(e,t,n,r="validate"){const i=W(e);if(i||Q(e)&&!e){const o=i?e:"",a={type:r,message:o,ref:t};return n(o),a}}var Z=(e,t,n,r,i)=>{if(!t)return{};const o=n[e];return Object.assign(Object.assign({},o),{types:Object.assign(Object.assign({},o&&o.types?o.types:{}),{[r]:i||!0})})},X=async(e,t,n,{ref:r,ref:{type:i,value:o,name:a,valueAsNumber:s,valueAsDate:c},options:l,required:y,maxLength:v,minLength:w,min:k,max:x,pattern:S,validate:O})=>{const E=e.current,T={},A=P(i),M=C(i),I=A||M,j=B(o),D=G.bind(null,t,r),N=Z.bind(null,a,n,T);if(y&&(!A&&!M&&(j||g(o))||Q(o)&&!o||M&&!F(l).isValid||A&&!R(l).isValid)){const e=W(y)?y:K(y).message;if(T[a]=Object.assign({type:m,message:e,ref:I?E[a].options[0].ref:r},N(m,e)),D(e),!n)return T}if(!g(k)||!g(x)){let e,t;const{value:l,message:d}=K(x),{value:p,message:h}=K(k);if("number"===i){const n=s||parseFloat(o);g(l)||(e=n>l),g(p)||(t=nnew Date(l)),W(p)&&(t=ne,u=w&&c{r.reduce(async(o,[s,c],l)=>{if(!V(await o)&&!n||!J(c))return i(o);let u;const f=Y(await c(e),t,D,s);return f?(u=Object.assign(Object.assign({},f),N(s,f.message)),n&&(T[a]=u)):u=o,r.length-1===l?i(u):u},{})});if(!V(i)&&(T[a]=Object.assign({ref:t},i),!n))return T}}return t&&r.setCustomValidity(""),T};const ee=(e,t)=>v(e.inner)?e.inner.reduce((e,{path:n,message:r,type:i})=>Object.assign(Object.assign({},e),e[n]&&t?{[n]:Z(n,t,e,i,r)}:{[n]:Object.assign({message:r,type:i},t?{types:{[i]:r||!0}}:{})}),{}):{[e.path]:{message:e.message,type:e.type}};async function te(e,t,n,r){try{return{values:await e.validate(r,t),errors:{}}}catch(e){return{values:{},errors:ee(e,n)}}}var ne=(e,t,n)=>{const r=t.split(/[,[\].]+?/).filter(Boolean).reduce((e,t)=>g(e)?e:e[t],e);return y(r)||r===e?n:r},re=(e,t,n)=>y(e[t])?ne(e,t,n):e[t];var ie=e=>g(e)||!w(e);const oe=(e,t)=>v(t)?t.map((t,n)=>{const r=`${e}[${n}]`;return ie(t)?r:oe(r,t)}):Object.entries(t).map(([t,n])=>{const r=`${e}.${t}`;return ie(n)?r:oe(r,n)});var ae=(e,t)=>function e(t){return t.reduce((t,n)=>t.concat(v(n)?e(n):n),[])}(oe(e,t)),se=(e,t,n,r)=>{let i;return V(e)?i=void 0:y(e[t])?(i=ne(M(e),t),y(i)||ae(t,i).forEach(e=>n.add(e))):(n.add(t),i=e[t]),y(i)?_(r)?re(r,t):r:i}; -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ -function ce(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i{const n=t;e[n];return ce(e,["symbol"==typeof n?n:n+""])};var ue=e=>({isOnSubmit:!e||e===a,isOnBlur:e===i,isOnChange:e===o});const{useRef:fe,useState:de,useCallback:pe,useEffect:he}=r;Object(r.createContext)(null);t.a=function({mode:e=a,reValidateMode:t=o,validationSchema:n,defaultValues:r={},nativeValidation:i=!1,submitFocusError:u=!0,validationSchemaOption:f={abortEarly:!1},validateCriteriaMode:d}={}){const p=fe({}),m="all"===d,b=fe({}),w=fe(new Set),k=fe(new Set),x=fe(new Set),S=fe(new Set),O=fe(new Set),E=fe(!0),T=fe({}),A=fe(r),D=fe(!1),R=fe(!1),B=fe(!1),L=fe(!1),U=fe(0),F=fe(!1),G=fe(),[,J]=de(),{isOnBlur:Q,isOnSubmit:Y}=fe(ue(e)).current,Z="undefined"==typeof window,ee="undefined"!=typeof document&&!Z&&!y(window.HTMLElement),ne=!Z&&"Proxy"in window,ie=fe({dirty:!ne,isSubmitted:Y,submitCount:!ne,touched:!ne,isSubmitting:!ne,isValid:!ne}),{isOnBlur:oe,isOnSubmit:ae}=fe(ue(t)).current,ce=fe(f);A.current=A.current?A.current:r;const me=e=>Object.assign(Object.assign({},b.current),e),be=pe(()=>{D.current||J({})},[]),ye=pe(X.bind(null,p,i,m),[]),ge=pe(te.bind(null,n,ce.current,m),[n]),ve=pe((e,t,r,i)=>{let o=r||function({errors:e,name:t,error:n,validFields:r,fieldsWithValidation:i}){const o=V(n),a=V(e),s=n[t],c=e[t];return!(o&&r.has(t)||c&&c.isManual)&&(!!(a!==o||!a&&!c||o&&i.has(t)&&!r.has(t))||s&&!H(c,s.type,s.message))}({errors:b.current,error:t,name:e,validFields:O.current,fieldsWithValidation:S.current});if(V(t)?((S.current.has(e)||n)&&(O.current.add(e),o=o||b.current[e]),b.current=le(b.current,e)):(O.current.delete(e),o=o||!b.current[e]),b.current=me(t),o&&!i)return be(),!0},[be,n]),we=pe((e,t)=>{const n=p.current[e];if(!n)return!1;const r=n.ref,{type:i}=r,o=n.options,a=ee&&r instanceof window.HTMLElement&&g(t)?"":t;return P(i)&&o?o.forEach(({ref:e})=>e.checked=e.value===a):N(i)?[...r.options].forEach(e=>e.selected=a.includes(e.value)):C(i)&&o?o.length>1?o.forEach(({ref:e})=>e.checked=a.includes(e.value)):o[0].ref.checked=!!a:r.value=a,i},[ee]),_e=e=>{if(!p.current[e])return!1;const t=T.current[e]!==q(p.current,p.current[e].ref),n=x.current.has(e)!==t;return t?x.current.add(e):x.current.delete(e),L.current=!!x.current.size,n&&ie.current.dirty},ke=pe((e,t)=>{if(we(e,t),_e(e)||!w.current.has(e)&&ie.current.touched)return!!w.current.add(e)},[we]),xe=pe(async({name:e,value:t},n,r)=>{const o=p.current[e];if(!o)return!1;y(t)||ke(e,t),n&&be();const a=await X(p,i,m,o);return ve(e,a,!1,r),V(a)},[i,be,ve,ke,m]),Se=pe(async(e,t)=>{const{errors:r}=await te(n,ce.current,m,M(z(p.current))),i=v(e),o=v(e)?e.map(({name:e})=>e):[e.name],a=o.filter(e=>!r[e]),s=E.current;if(E.current=V(r),i)b.current=((e,t)=>Object.entries(e).reduce((e,[n,r])=>t.some(e=>e===n)?e:Object.assign(Object.assign({},e),{[n]:r}),{}))(me(Object.entries(r).filter(([e])=>o.includes(e)).reduce((e,[t,n])=>Object.assign(Object.assign({},e),{[t]:n}),{})),a),be();else{const e=o[0];ve(e,r[e]?{[e]:r[e]}:{},t||s!==E.current)}return V(b.current)},[be,ve,m,n]),Oe=pe(async(e,t)=>{const r=e||Object.keys(p.current).map(e=>({name:e}));if(n)return Se(r,t);if(v(r)){const e=await Promise.all(r.map(async e=>await xe(e,!1,!0)));return be(),e.every(Boolean)}return await xe(r,t)},[Se,xe,be,n]),Ee=pe((e,t,n)=>{const r=ke(e,t)||R.current||k.current.has(e);if(n)return Oe({name:e},r);r&&be()},[be,ke,Oe]);G.current=G.current?G.current:async({type:e,target:t})=>{const r=t?t.name:"",o=p.current,a=b.current,c=o[r],l=a[r];let u;if(!c)return;const f=e===s,d=Y&&ae||Y&&!B.current||Q&&!f&&!l||oe&&!f&&l||ae&&l,h=_e(r);let y=R.current||k.current.has(r)||h;if(f&&!w.current.has(r)&&ie.current.touched&&(w.current.add(r),y=!0),d)return y&&be();if(n){const{errors:e}=await te(n,ce.current,m,M(z(o))),t=V(e);u=e[r]?{[r]:e[r]}:{},E.current!==t&&(y=!0),E.current=t}else u=await X(p,i,m,c);!ve(r,u)&&y&&be()};const Te=pe(()=>{const e=V(A.current)?z(p.current):A.current;ge(M(e)).then(({errors:e})=>{const t=E.current;E.current=V(e),t&&t!==E.current&&be()})},[be,ge]),Ae=pe(e=>{b.current=le(b.current,e),p.current=le(p.current,e),T.current=le(T.current,e),[w,x,S,O,k].forEach(t=>t.current.delete(e)),(ie.current.isValid||ie.current.touched)&&be(),n&&Te()},[be]),Me=pe((e,t)=>{e&&(y(G.current)||function(e,t,n,r){if(!n)return;const{ref:i,mutationWatcher:o}=n;if(!i.type||!e[i.name])return;const{name:a,type:s}=i,c=e[a];if((P(s)||C(s))&&c){const{options:n}=c;v(n)&&n.length?(n.forEach(({ref:e},i)=>{const o=n[i];if(o&&j(e)||r){const e=o.mutationWatcher;I(o,t),e&&e.disconnect(),n.splice(i,1)}}),n&&!n.length&&delete e[a]):delete e[a]}else(j(i)||r)&&(I(i,t),o&&o.disconnect(),delete e[a])}(p.current,G.current,e,t),Ae(e.ref.name))},[Ae]),Ie=({name:e,type:t,types:n,message:r,preventRender:i})=>{const o=b.current,a=p.current[e];H(o[e],t,r)||(o[e]={type:t,types:n,message:r,ref:a?a.ref:{},isManual:!0},i||be())};function Pe(e,t={}){if(!e.name)return console.warn("Missing name @",e);const{name:r,type:o,value:a}=e,u=Object.assign({ref:e},t),f=p.current,d=P(o)||C(o);let m=f[r];if(d?m&&v(m.options)&&m.options.find(({ref:e})=>a===e.value):m)return void(f[r]=Object.assign(Object.assign({},m),t));if(o){const n=function(e,t){const n=new MutationObserver(()=>{j(e)&&(n.disconnect(),t())});return n.observe(window.document,{childList:!0,subtree:!0}),n}(e,()=>Me(u));m=d?Object.assign({options:[...m&&m.options||[],{ref:e,mutationWatcher:n}],ref:{type:o,name:r}},t):Object.assign(Object.assign({},u),{mutationWatcher:n})}else m=u;if(f[r]=m,!V(A.current)){const e=re(A.current,r);y(e)||we(r,e)}if(n?Te():V(t)||(S.current.add(r),!Y&&ie.current.isValid&&ye(m).then(e=>{const t=E.current;V(e)?O.current.add(r):E.current=!1,t!==E.current&&be()})),T.current[r]||(T.current[r]=q(f,m.ref)),!o)return;const b=d&&m.options?m.options[m.options.length-1]:m;i&&t?function(e,t){Object.entries(t).forEach(([t,n])=>{const{value:r}=K(n);t===h&&$(r)?e[t]=r.source:e[t]=t===h||r})}(e,t):function({field:e,handleChange:t,isRadioOrCheckbox:n}){const{ref:r}=e;r.addEventListener&&(r.addEventListener(n?c:l,t),r.addEventListener(s,t))}({field:b,isRadioOrCheckbox:d,handleChange:G.current})}const Ce=pe(e=>async t=>{let r,i;t&&(t.preventDefault(),t.persist());const o=p.current;ie.current.isSubmitting&&(F.current=!0,be());try{if(n){i=z(o);const{errors:e,values:t}=await ge(M(i));b.current=e,r=e,i=t}else{const{errors:e,values:t}=await Object.values(o).reduce(async(e,t)=>{if(!t)return e;const n=await e,{ref:r,ref:{name:i}}=t;if(!o[i])return Promise.resolve(n);const a=await ye(t);return a[i]?(n.errors=Object.assign(Object.assign({},n.errors),a),O.current.delete(i),Promise.resolve(n)):(S.current.has(i)&&O.current.add(i),n.values[i]=q(o,r),Promise.resolve(n))},Promise.resolve({errors:{},values:{}}));r=e,i=t}V(r)?(b.current={},await e(M(i),t)):(u&&Object.keys(r).reduce((e,t)=>{const n=o[t];if(n&&e){if(n.ref.focus)return n.ref.focus(),!1;if(n.options)return n.options[0].ref.focus(),!1}return e},!0),b.current=r)}finally{B.current=!0,F.current=!1,U.current=U.current+1,be()}},[be,u,ye,ge,n]),je=pe(e=>{const t=Object.entries(p.current);for(const[,e]of t)if(e&&e.ref&&e.ref.closest)try{e.ref.closest("form").reset();break}catch(e){}b.current={},p.current={},O.current=new Set,S.current=new Set,T.current={},w.current=new Set,k.current=new Set,x.current=new Set,R.current=!1,B.current=!1,L.current=!1,E.current=!0,U.current=0,e&&(A.current=e),be()},[be]),De=pe(e=>{const t=z(p.current),n=V(t)?r:t;return e&&e.nest?M(n):n},[r]);he(()=>()=>{D.current=!0,p.current&&Object.values(p.current).forEach(e=>Me(e,!0))},[Me]),n||(E.current=O.current.size>=S.current.size&&V(b.current));const Re={dirty:L.current,isSubmitted:B.current,submitCount:U.current,touched:[...w.current],isSubmitting:F.current,isValid:Y?B.current&&V(b.current):V(p.current)||E.current};return{register:pe((function(e,t){if(!Z&&e)if(t&&W(t.name))Pe({name:t.name},t);else{if(!_(e)||!("name"in e))return t=>t&&Pe(t,e);Pe(e,t)}}),[T.current,A.current]),unregister:pe((function(e){V(p.current)||(v(e)?e:[e]).forEach(e=>Me(p.current[e],!0))}),[Me]),clearError:pe((function(e){y(e)?b.current={}:(v(e)?e:[e]).forEach(e=>b.current=le(b.current,e)),be()}),[]),setError:pe((function(e,t="",n){W(e)?Ie(Object.assign({name:e},_(t)?{types:t,type:""}:{type:t,message:n})):v(e)&&(e.forEach(e=>Ie(Object.assign(Object.assign({},e),{preventRender:!0}))),be())}),[]),handleSubmit:Ce,watch:function(e,t){const n=y(t)?y(r)?{}:r:t,i=z(p.current),o=k.current;return ne&&(ie.current.dirty=!0),W(e)?se(i,e,o,n):v(e)?e.reduce((e,t)=>{let r;return r=V(p.current)&&_(n)?re(n,t):se(i,t,o,n),Object.assign(Object.assign({},e),{[t]:r})},{}):(R.current=!0,!V(i)&&i||t||r)},reset:je,setValue:Ee,triggerValidation:Oe,getValues:De,errors:b.current,formState:ne?new Proxy(Re,{get:(e,t)=>t in e?(ie.current[t]=!0,e[t]):{}}):Re}}},function(e,t,n){(function(e,n){var r;!function(){var i="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this||{},o=i._,a=Array.prototype,s=Object.prototype,c="undefined"!=typeof Symbol?Symbol.prototype:null,l=a.push,u=a.slice,f=s.toString,d=s.hasOwnProperty,p=Array.isArray,h=Object.keys,m=Object.create,b=function(){},y=function(e){return e instanceof y?e:this instanceof y?void(this._wrapped=e):new y(e)};t.nodeType?i._=y:(!n.nodeType&&n.exports&&(t=n.exports=y),t._=y),y.VERSION="1.9.1";var g,v=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)}}return function(){return e.apply(t,arguments)}},w=function(e,t,n){return y.iteratee!==g?y.iteratee(e,t):null==e?y.identity:y.isFunction(e)?v(e,t,n):y.isObject(e)&&!y.isArray(e)?y.matcher(e):y.property(e)};y.iteratee=g=function(e,t){return w(e,t,1/0)};var _=function(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;i=0&&t<=E};y.each=y.forEach=function(e,t,n){var r,i;if(t=v(t,n),A(e))for(r=0,i=e.length;r0?0:a-1;for(i||(r=t[o?o[s]:s],s+=e);s>=0&&s=3;return t(e,v(n,i,4),r,o)}};y.reduce=y.foldl=y.inject=M(1),y.reduceRight=y.foldr=M(-1),y.find=y.detect=function(e,t,n){var r=(A(e)?y.findIndex:y.findKey)(e,t,n);if(void 0!==r&&-1!==r)return e[r]},y.filter=y.select=function(e,t,n){var r=[];return t=w(t,n),y.each(e,(function(e,n,i){t(e,n,i)&&r.push(e)})),r},y.reject=function(e,t,n){return y.filter(e,y.negate(w(t)),n)},y.every=y.all=function(e,t,n){t=w(t,n);for(var r=!A(e)&&y.keys(e),i=(r||e).length,o=0;o=0},y.invoke=_((function(e,t,n){var r,i;return y.isFunction(t)?i=t:y.isArray(t)&&(r=t.slice(0,-1),t=t[t.length-1]),y.map(e,(function(e){var o=i;if(!o){if(r&&r.length&&(e=O(e,r)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)}))})),y.pluck=function(e,t){return y.map(e,y.property(t))},y.where=function(e,t){return y.filter(e,y.matcher(t))},y.findWhere=function(e,t){return y.find(e,y.matcher(t))},y.max=function(e,t,n){var r,i,o=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,c=(e=A(e)?e:y.values(e)).length;so&&(o=r);else t=w(t,n),y.each(e,(function(e,n,r){((i=t(e,n,r))>a||i===-1/0&&o===-1/0)&&(o=e,a=i)}));return o},y.min=function(e,t,n){var r,i,o=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,c=(e=A(e)?e:y.values(e)).length;sr||void 0===n)return 1;if(n0?0:i-1;o>=0&&o0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return r[o=n(r,i)]===i?o:-1;if(i!=i)return(o=t(u.call(r,a,s),y.isNaN))>=0?o+a:-1;for(o=e>0?a:s-1;o>=0&&ot?(r&&(clearTimeout(r),r=null),s=l,a=e.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(c,u)),a};return l.cancel=function(){clearTimeout(r),s=0,r=i=o=null},l},y.debounce=function(e,t,n){var r,i,o=function(t,n){r=null,n&&(i=e.apply(t,n))},a=_((function(a){if(r&&clearTimeout(r),n){var s=!r;r=setTimeout(o,t),s&&(i=e.apply(this,a))}else r=y.delay(o,t,this,a);return i}));return a.cancel=function(){clearTimeout(r),r=null},a},y.wrap=function(e,t){return y.partial(t,e)},y.negate=function(e){return function(){return!e.apply(this,arguments)}},y.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},y.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},y.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},y.once=y.partial(y.before,2),y.restArguments=_;var N=!{toString:null}.propertyIsEnumerable("toString"),B=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],L=function(e,t){var n=B.length,r=e.constructor,i=y.isFunction(r)&&r.prototype||s,o="constructor";for(S(e,o)&&!y.contains(t,o)&&t.push(o);n--;)(o=B[n])in e&&e[o]!==i[o]&&!y.contains(t,o)&&t.push(o)};y.keys=function(e){if(!y.isObject(e))return[];if(h)return h(e);var t=[];for(var n in e)S(e,n)&&t.push(n);return N&&L(e,t),t},y.allKeys=function(e){if(!y.isObject(e))return[];var t=[];for(var n in e)t.push(n);return N&&L(e,t),t},y.values=function(e){for(var t=y.keys(e),n=t.length,r=Array(n),i=0;i1&&(r=v(r,t[1])),t=y.allKeys(e)):(r=z,t=C(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i1&&(n=t[1])):(t=y.map(C(t,!1,!1),String),r=function(e,n){return!y.contains(t,n)}),y.pick(e,r,n)})),y.defaults=U(y.allKeys,!0),y.create=function(e,t){var n=k(e);return t&&y.extendOwn(n,t),n},y.clone=function(e){return y.isObject(e)?y.isArray(e)?e.slice():y.extend({},e):e},y.tap=function(e,t){return t(e),e},y.isMatch=function(e,t){var n=y.keys(t),r=n.length;if(null==e)return!r;for(var i=Object(e),o=0;o":">",'"':""","'":"'","`":"`"},$=y.invert(H),K=function(e){var t=function(t){return e[t]},n="(?:"+y.keys(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(i,t):e}};y.escape=K(H),y.unescape=K($),y.result=function(e,t,n){y.isArray(t)||(t=[t]);var r=t.length;if(!r)return y.isFunction(n)?n.call(e):n;for(var i=0;i/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var G=/(.)^/,J={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Q=/\\|'|\r|\n|\u2028|\u2029/g,Y=function(e){return"\\"+J[e]};y.template=function(e,t,n){!t&&n&&(t=n),t=y.defaults({},t,y.templateSettings);var r,i=RegExp([(t.escape||G).source,(t.interpolate||G).source,(t.evaluate||G).source].join("|")+"|$","g"),o=0,a="__p+='";e.replace(i,(function(t,n,r,i,s){return a+=e.slice(o,s).replace(Q,Y),o=s+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":i&&(a+="';\n"+i+"\n__p+='"),t})),a+="';\n",t.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(t.variable||"obj","_",a)}catch(e){throw e.source=a,e}var s=function(e){return r.call(this,e,y)},c=t.variable||"obj";return s.source="function("+c+"){\n"+a+"}",s},y.chain=function(e){var t=y(e);return t._chain=!0,t};var Z=function(e,t){return e._chain?y(t).chain():t};y.mixin=function(e){return y.each(y.functions(e),(function(t){var n=y[t]=e[t];y.prototype[t]=function(){var e=[this._wrapped];return l.apply(e,arguments),Z(this,n.apply(y,e))}})),y},y.mixin(y),y.each(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=a[e];y.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],Z(this,n)}})),y.each(["concat","join","slice"],(function(e){var t=a[e];y.prototype[e]=function(){return Z(this,t.apply(this._wrapped,arguments))}})),y.prototype.value=function(){return this._wrapped},y.prototype.valueOf=y.prototype.toJSON=y.prototype.value,y.prototype.toString=function(){return String(this._wrapped)},void 0===(r=function(){return y}.apply(t,[]))||(n.exports=r)}()}).call(this,n(12),n(71)(e))},function(e,t,n){(t=e.exports=n(243)).Stream=t,t.Readable=t,t.Writable=n(154),t.Duplex=n(65),t.Transform=n(246),t.PassThrough=n(450)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DecUtils=void 0;const r=n(112);class i{static trim(e){let t="string"==typeof e?e:e.toString();if(t.indexOf(".")<0)return t;for(let e=t.length-1;e>=0&&"0"===t[e];e--)t=t.slice(0,e);return t.length>0&&"."===t[t.length-1]&&(t=t.slice(0,t.length-1)),t}static getPrecisionDec(e){if(i.precisions[e.toString()])return i.precisions[e.toString()];let t=new r.Dec(1);for(let n=0;ni.a.createElement("div",{className:u.a.dialog},i.a.createElement("div",{className:u.a.bodyContainer},e||null,t?i.a.createElement("h1",null,t):null,i.a.createElement("p",null,n)),i.a.createElement("div",{className:u.a.buttons},i.a.createElement(s.a,{type:"button",size:"sm",color:"default",outline:!0,onClick:Object(r.useCallback)(e=>{f&&f(),e.preventDefault()},[f])},a||i.a.createElement(c.a,{id:"confirm.no"})),i.a.createElement(s.a,{type:"button",size:"sm",color:"primary",onClick:Object(r.useCallback)(e=>{l&&l(),e.preventDefault()},[l])},o||i.a.createElement(c.a,{id:"confirm.yes"})))),d=Object(r.createContext)(void 0),p=({children:e})=>{const[t,n]=Object(r.useState)(!1),[s,c]=Object(r.useState)(null),l=Object(r.useCallback)(e=>(s&&s.reject(),new Promise(t=>{let r=!1;c(Object.assign({},e,{resolve:()=>{r||(r=!0,n(!1),t(!0))},reject:()=>{r||(r=!0,n(!1),t(!1))}})),n(!0)})),[s]),p=Object(r.useCallback)(()=>{c(null)},[]);return i.a.createElement(d.Provider,{value:Object(r.useMemo)(()=>({confirm:l}),[l])},i.a.createElement(o.a,{isOpen:t,centered:!0,className:u.a.modalDialog,onClosed:p},i.a.createElement(a.a,{className:u.a.modal},i.a.createElement(f,{img:null==s?void 0:s.img,title:null==s?void 0:s.title,paragraph:(null==s?void 0:s.paragraph)?s.paragraph:"Unexpected. Something is wrong.",yes:null==s?void 0:s.yes,no:null==s?void 0:s.no,onConfirm:null==s?void 0:s.resolve,onReject:null==s?void 0:s.reject}))),e)};function h(){const e=Object(r.useContext)(d);if(!e)throw new Error("You probably forgot to use ConfirmProvider");return e}},function(e,t,n){"use strict";var r=n(19),i=n(26),o=n(226),a=n(0),s=n.n(a),c=n(1),l=n.n(c),u=n(10),f=n.n(u),d=n(893),p=n(8);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t-1?r:o.nextTick;g.WritableState=y;var l=Object.create(n(95));l.inherits=n(4);var u={deprecate:n(155)},f=n(244),d=n(153).Buffer,p=i.Uint8Array||function(){};var h,m=n(245);function b(){}function y(e,t){s=s||n(65),e=e||{};var r=t instanceof s;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,l=e.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(l||0===l)?l:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(o.nextTick(i,r),o.nextTick(S,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),S(e,t))}(e,n,r,t,i);else{var a=k(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||_(e,n),r?c(w,e,n,a,i):w(e,n,a,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function g(e){if(s=s||n(65),!(h.call(g,this)||this instanceof s))return new g(e);this._writableState=new y(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),f.call(this)}function v(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function w(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),S(e,t)}function _(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var s=0,c=!0;n;)i[s]=n,n.isBuf||(c=!1),n=n.next,s+=1;i.allBuffers=c,v(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,u=n.encoding,f=n.callback;if(v(e,t,!1,t.objectMode?1:l.length,l,u,f),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function k(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function x(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),S(e,t)}))}function S(e,t){var n=k(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(x,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}l.inherits(g,f),y.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(y.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(e){return!!h.call(this,e)||this===g&&(e&&e._writableState instanceof y)}})):h=function(e){return e instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(e,t,n){var r,i=this._writableState,a=!1,s=!i.objectMode&&(r=e,d.isBuffer(r)||r instanceof p);return s&&!d.isBuffer(e)&&(e=function(e){return d.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=b),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),o.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),o.nextTick(r,a),i=!1),i}(this,i,e,n))&&(i.pendingcb++,a=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=d.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var c=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(g.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),g.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},g.prototype._writev=null,g.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,S(e,t),n&&(t.finished?o.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),g.prototype.destroy=m.destroy,g.prototype._undestroy=m.undestroy,g.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n(13),n(223).setImmediate,n(12))},function(e,t,n){(function(t){function n(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this,n(12))},function(e,t,n){"use strict";var r=n(4),i=n(250),o=n(7).Buffer,a=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(e,t){return e<>>32-t}function l(e,t,n,r,i,o,a){return c(e+(t&n|~t&r)+i+o|0,a)+t|0}function u(e,t,n,r,i,o,a){return c(e+(t&r|n&~r)+i+o|0,a)+t|0}function f(e,t,n,r,i,o,a){return c(e+(t^n^r)+i+o|0,a)+t|0}function d(e,t,n,r,i,o,a){return c(e+(n^(t|~r))+i+o|0,a)+t|0}r(s,i),s.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,i=this._c,o=this._d;n=l(n,r,i,o,e[0],3614090360,7),o=l(o,n,r,i,e[1],3905402710,12),i=l(i,o,n,r,e[2],606105819,17),r=l(r,i,o,n,e[3],3250441966,22),n=l(n,r,i,o,e[4],4118548399,7),o=l(o,n,r,i,e[5],1200080426,12),i=l(i,o,n,r,e[6],2821735955,17),r=l(r,i,o,n,e[7],4249261313,22),n=l(n,r,i,o,e[8],1770035416,7),o=l(o,n,r,i,e[9],2336552879,12),i=l(i,o,n,r,e[10],4294925233,17),r=l(r,i,o,n,e[11],2304563134,22),n=l(n,r,i,o,e[12],1804603682,7),o=l(o,n,r,i,e[13],4254626195,12),i=l(i,o,n,r,e[14],2792965006,17),n=u(n,r=l(r,i,o,n,e[15],1236535329,22),i,o,e[1],4129170786,5),o=u(o,n,r,i,e[6],3225465664,9),i=u(i,o,n,r,e[11],643717713,14),r=u(r,i,o,n,e[0],3921069994,20),n=u(n,r,i,o,e[5],3593408605,5),o=u(o,n,r,i,e[10],38016083,9),i=u(i,o,n,r,e[15],3634488961,14),r=u(r,i,o,n,e[4],3889429448,20),n=u(n,r,i,o,e[9],568446438,5),o=u(o,n,r,i,e[14],3275163606,9),i=u(i,o,n,r,e[3],4107603335,14),r=u(r,i,o,n,e[8],1163531501,20),n=u(n,r,i,o,e[13],2850285829,5),o=u(o,n,r,i,e[2],4243563512,9),i=u(i,o,n,r,e[7],1735328473,14),n=f(n,r=u(r,i,o,n,e[12],2368359562,20),i,o,e[5],4294588738,4),o=f(o,n,r,i,e[8],2272392833,11),i=f(i,o,n,r,e[11],1839030562,16),r=f(r,i,o,n,e[14],4259657740,23),n=f(n,r,i,o,e[1],2763975236,4),o=f(o,n,r,i,e[4],1272893353,11),i=f(i,o,n,r,e[7],4139469664,16),r=f(r,i,o,n,e[10],3200236656,23),n=f(n,r,i,o,e[13],681279174,4),o=f(o,n,r,i,e[0],3936430074,11),i=f(i,o,n,r,e[3],3572445317,16),r=f(r,i,o,n,e[6],76029189,23),n=f(n,r,i,o,e[9],3654602809,4),o=f(o,n,r,i,e[12],3873151461,11),i=f(i,o,n,r,e[15],530742520,16),n=d(n,r=f(r,i,o,n,e[2],3299628645,23),i,o,e[0],4096336452,6),o=d(o,n,r,i,e[7],1126891415,10),i=d(i,o,n,r,e[14],2878612391,15),r=d(r,i,o,n,e[5],4237533241,21),n=d(n,r,i,o,e[12],1700485571,6),o=d(o,n,r,i,e[3],2399980690,10),i=d(i,o,n,r,e[10],4293915773,15),r=d(r,i,o,n,e[1],2240044497,21),n=d(n,r,i,o,e[8],1873313359,6),o=d(o,n,r,i,e[15],4264355552,10),i=d(i,o,n,r,e[6],2734768916,15),r=d(r,i,o,n,e[13],1309151649,21),n=d(n,r,i,o,e[4],4149444226,6),o=d(o,n,r,i,e[11],3174756917,10),i=d(i,o,n,r,e[2],718787259,15),r=d(r,i,o,n,e[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=o.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=s},function(e,t,n){"use strict";var r=n(73).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,n,o){if("function"==typeof n)return e(t,null,n);n||(n={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i0;r--)t+=this._buffer(e,t),n+=this._flushBuffer(i,n);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,n;return e&&(t=this.update(e)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(n):n},i.prototype._pad=function(e,t){if(0===t)return!1;for(;t=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function a(e,n){var i=function(e){var t=o(e);return{blinder:t.toRed(r.mont(e.modulus)).redPow(new r(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(n),a=n.modulus.byteLength(),s=new r(e).mul(i.blinder).umod(n.modulus),c=s.toRed(r.mont(n.prime1)),l=s.toRed(r.mont(n.prime2)),u=n.coefficient,f=n.prime1,d=n.prime2,p=c.redPow(n.exponent1).fromRed(),h=l.redPow(n.exponent2).fromRed(),m=p.isub(h).imul(u).umod(f).imul(d);return h.iadd(m).imul(i.unblinder).umod(n.modulus).toArrayLike(t,"be",a)}a.getr=o,e.exports=a}).call(this,n(2).Buffer)},function(e,t,n){"use strict";var r,i=t,o=n(70),a=n(281),s=n(33).assert;function c(e){"short"===e.type?this.curve=new a.short(e):"edwards"===e.type?this.curve=new a.edwards(e):this.curve=new a.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function l(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var n=new c(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=c,l("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),l("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),l("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),l("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),l("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),l("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),l("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n(512)}catch(e){r=void 0}l("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},function(e,t,n){"use strict";(function(t){var r,i=n(2),o=i.Buffer,a={};for(r in i)i.hasOwnProperty(r)&&"SlowBuffer"!==r&&"Buffer"!==r&&(a[r]=i[r]);var s=a.Buffer={};for(r in o)o.hasOwnProperty(r)&&"allocUnsafe"!==r&&"allocUnsafeSlow"!==r&&(s[r]=o[r]);if(a.Buffer.prototype=o.prototype,s.from&&s.from!==Uint8Array.from||(s.from=function(e,t,n){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return o(e,t,n)}),s.alloc||(s.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=o(e);return t&&0!==t.length?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r}),!a.kStringMaxLength)try{a.kStringMaxLength=t.binding("buffer").kStringMaxLength}catch(e){}a.constants||(a.constants={MAX_LENGTH:a.kMaxLength},a.kStringMaxLength&&(a.constants.MAX_STRING_LENGTH=a.kStringMaxLength)),e.exports=a}).call(this,n(13))},function(e,t,n){"use strict";const r=n(167).Reporter,i=n(99).EncoderBuffer,o=n(99).DecoderBuffer,a=n(32),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function l(e,t,n){const r={};this._baseState=r,r.name=n,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}e.exports=l;const u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];l.prototype.clone=function(){const e=this._baseState,t={};u.forEach((function(n){t[n]=e[n]}));const n=new this.constructor(t.parent);return n._baseState=t,n},l.prototype._wrap=function(){const e=this._baseState;c.forEach((function(t){this[t]=function(){const n=new this.constructor(this);return e.children.push(n),n[t].apply(n,arguments)}}),this)},l.prototype._init=function(e){const t=this._baseState;a(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),a.equal(t.children.length,1,"Root node can have only one child")},l.prototype._useArgs=function(e){const t=this._baseState,n=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==n.length&&(a(null===t.children),t.children=n,n.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(a(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;const t={};return Object.keys(e).forEach((function(n){n==(0|n)&&(n|=0);const r=e[n];t[r]=n})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){l.prototype[e]=function(){const t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),s.forEach((function(e){l.prototype[e]=function(){const t=this._baseState,n=Array.prototype.slice.call(arguments);return a(null===t.tag),t.tag=e,this._useArgs(n),this}})),l.prototype.use=function(e){a(e);const t=this._baseState;return a(null===t.use),t.use=e,this},l.prototype.optional=function(){return this._baseState.optional=!0,this},l.prototype.def=function(e){const t=this._baseState;return a(null===t.default),t.default=e,t.optional=!0,this},l.prototype.explicit=function(e){const t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.explicit=e,this},l.prototype.implicit=function(e){const t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.implicit=e,this},l.prototype.obj=function(){const e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},l.prototype.key=function(e){const t=this._baseState;return a(null===t.key),t.key=e,this},l.prototype.any=function(){return this._baseState.any=!0,this},l.prototype.choice=function(e){const t=this._baseState;return a(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},l.prototype.contains=function(e){const t=this._baseState;return a(null===t.use),t.contains=e,this},l.prototype._decode=function(e,t){const n=this._baseState;if(null===n.parent)return e.wrapResult(n.children[0]._decode(e,t));let r,i=n.default,a=!0,s=null;if(null!==n.key&&(s=e.enterKey(n.key)),n.optional){let r=null;if(null!==n.explicit?r=n.explicit:null!==n.implicit?r=n.implicit:null!==n.tag&&(r=n.tag),null!==r||n.any){if(a=this._peekTag(e,r,n.any),e.isError(a))return a}else{const r=e.save();try{null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),a=!0}catch(e){a=!1}e.restore(r)}}if(n.obj&&a&&(r=e.enterObject()),a){if(null!==n.explicit){const t=this._decodeTag(e,n.explicit);if(e.isError(t))return t;e=t}const r=e.offset;if(null===n.use&&null===n.choice){let t;n.any&&(t=e.save());const r=this._decodeTag(e,null!==n.implicit?n.implicit:n.tag,n.any);if(e.isError(r))return r;n.any?i=e.raw(t):e=r}if(t&&t.track&&null!==n.tag&&t.track(e.path(),r,e.length,"tagged"),t&&t.track&&null!==n.tag&&t.track(e.path(),e.offset,e.length,"content"),n.any||(i=null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t)),e.isError(i))return i;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(e,t)})),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){const r=new o(i);i=this._getUse(n.contains,e._reporterState.obj)._decode(r,t)}}return n.obj&&a&&(i=e.leaveObject(r)),null===n.key||null===i&&!0!==a?null!==s&&e.exitKey(s):e.leaveKey(s,n.key,i),i},l.prototype._decodeGeneric=function(e,t,n){const r=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,r.args[0],n):/str$/.test(e)?this._decodeStr(t,e,n):"objid"===e&&r.args?this._decodeObjid(t,r.args[0],r.args[1],n):"objid"===e?this._decodeObjid(t,null,null,n):"gentime"===e||"utctime"===e?this._decodeTime(t,e,n):"null_"===e?this._decodeNull(t,n):"bool"===e?this._decodeBool(t,n):"objDesc"===e?this._decodeStr(t,e,n):"int"===e||"enum"===e?this._decodeInt(t,r.args&&r.args[0],n):null!==r.use?this._getUse(r.use,t._reporterState.obj)._decode(t,n):t.error("unknown tag: "+e)},l.prototype._getUse=function(e,t){const n=this._baseState;return n.useDecoder=this._use(e,t),a(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},l.prototype._decodeChoice=function(e,t){const n=this._baseState;let r=null,i=!1;return Object.keys(n.choice).some((function(o){const a=e.save(),s=n.choice[o];try{const n=s._decode(e,t);if(e.isError(n))return!1;r={type:o,value:n},i=!0}catch(t){return e.restore(a),!1}return!0}),this),i?r:e.error("Choice not matched")},l.prototype._createEncoderBuffer=function(e){return new i(e,this.reporter)},l.prototype._encode=function(e,t,n){const r=this._baseState;if(null!==r.default&&r.default===e)return;const i=this._encodeValue(e,t,n);return void 0===i||this._skipDefault(i,t,n)?void 0:i},l.prototype._encodeValue=function(e,t,n){const i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new r);let o=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i.default)return;e=i.default}let a=null,s=!1;if(i.any)o=this._createEncoderBuffer(e);else if(i.choice)o=this._encodeChoice(e,t);else if(i.contains)a=this._getUse(i.contains,n)._encode(e,t),s=!0;else if(i.children)a=i.children.map((function(n){if("null_"===n._baseState.tag)return n._encode(null,t,e);if(null===n._baseState.key)return t.error("Child should have a key");const r=t.enterKey(n._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");const i=n._encode(e[n._baseState.key],t,e);return t.leaveKey(r),i}),this).filter((function(e){return e})),a=this._createEncoderBuffer(a);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return t.error("Too many args for : "+i.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");const n=this.clone();n._baseState.implicit=null,a=this._createEncoderBuffer(e.map((function(n){const r=this._baseState;return this._getUse(r.args[0],e)._encode(n,t)}),n))}else null!==i.use?o=this._getUse(i.use,n)._encode(e,t):(a=this._encodePrimitive(i.tag,e),s=!0);if(!i.any&&null===i.choice){const e=null!==i.implicit?i.implicit:i.tag,n=null===i.implicit?"universal":"context";null===e?null===i.use&&t.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(e,s,n,a))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},l.prototype._encodeChoice=function(e,t){const n=this._baseState,r=n.choice[e.type];return r||a(!1,e.type+" not found in "+JSON.stringify(Object.keys(n.choice))),r._encode(e.value,t)},l.prototype._encodePrimitive=function(e,t){const n=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&n.args)return this._encodeObjid(t,n.reverseArgs[0],n.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,n.args&&n.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},l.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},l.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(e)}},function(e,t,n){"use strict";const r=n(4);function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function o(e,t){this.path=e,this.rethrow(t)}t.Reporter=i,i.prototype.isError=function(e){return e instanceof o},i.prototype.save=function(){const e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){const t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.exitKey=function(e){const t=this._reporterState;t.path=t.path.slice(0,e-1)},i.prototype.leaveKey=function(e,t,n){const r=this._reporterState;this.exitKey(e),null!==r.obj&&(r.obj[t]=n)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){const e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){const t=this._reporterState,n=t.obj;return t.obj=e,n},i.prototype.error=function(e){let t;const n=this._reporterState,r=e instanceof o;if(t=r?e:new o(n.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!n.options.partial)throw t;return r||n.errors.push(t),t},i.prototype.wrapResult=function(e){const t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},r(o,Error),o.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},function(e,t,n){"use strict";function r(e){const t={};return Object.keys(e).forEach((function(n){(0|n)==n&&(n|=0);const r=e[n];t[r]=n})),t}t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=r(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=r(t.tag)},function(e,t,n){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(e,t){var n={Array:function(e){return null!=e&&e.constructor===Array},Boolean:function(e){return"boolean"==typeof e},Function:function(e){return"function"==typeof e},Nil:function(e){return null==e},Number:function(e){return"number"==typeof e},Object:function(e){return"object"==typeof e},String:function(e){return"string"==typeof e},"":function(){return!0}};for(var r in n.Null=n.Nil,n)n[r].toJSON=function(e){return e}.bind(null,r);e.exports=n},function(e,t,n){var r,i,o,a,s,c,l,u;e.exports=(u=n(9),i=(r=u).lib,o=i.WordArray,a=i.Hasher,s=r.algo,c=[],l=s.SHA1=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],l=0;l<80;l++){if(l<16)c[l]=0|e[t+l];else{var u=c[l-3]^c[l-8]^c[l-14]^c[l-16];c[l]=u<<1|u>>>31}var f=(r<<5|r>>>27)+s+c[l];f+=l<20?1518500249+(i&o|~i&a):l<40?1859775393+(i^o^a):l<60?(i&o|i&a|o&a)-1894007588:(i^o^a)-899497514,s=a,a=o,o=i<<30|i>>>2,i=r,r=f}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),r.SHA1=a._createHelper(l),r.HmacSHA1=a._createHmacHelper(l),u.SHA1)},function(e,t,n){var r,i,o,a;e.exports=(r=n(9),o=(i=r).lib.Base,a=i.enc.Utf8,void(i.algo.HMAC=o.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=a.parse(t));var n=e.blockSize,r=4*n;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),o=this._iKey=t.clone(),s=i.words,c=o.words,l=0;l=9&&(r=(e[5]<<24)+(e[6]<<16)+(e[7]<<8)+(e[8]<<0)),{return_code:n,error_message:l(n),test_mode:0!==e[0],major:e[1],minor:e[2],patch:e[3],device_locked:1===e[4],target_id:r.toString(16)}}),u));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t){const n=/^[0-9]+$/,r=(e,t)=>{const r=n.test(e),i=n.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:er(t,e)}},function(e,t,n){const r=n(40);e.exports=(e,t,n)=>0===r(e,t,n)},function(e,t,n){const r=n(24);e.exports=(e,t,n)=>{const i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o)}},function(e,t,n){const r=n(40);e.exports=(e,t,n)=>r(e,t,n)<0},function(e,t,n){const r=n(40);e.exports=(e,t,n)=>r(e,t,n)>=0},function(e,t,n){const r=n(40);e.exports=(e,t,n)=>r(e,t,n)<=0},function(e,t,n){const r=n(24),i=n(135),{ANY:o}=i,a=n(41),s=n(136),c=n(134),l=n(185),u=n(187),f=n(186);e.exports=(e,t,n,d)=>{let p,h,m,b,y;switch(e=new r(e,d),t=new a(t,d),n){case">":p=c,h=u,m=l,b=">",y=">=";break;case"<":p=l,h=f,m=c,b="<",y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,d))return!1;for(let n=0;n{e.semver===o&&(e=new i(">=0.0.0")),a=a||e,s=s||e,p(e.semver,a.semver,d)?a=e:m(e.semver,s.semver,d)&&(s=e)}),a.operator===b||a.operator===y)return!1;if((!s.operator||s.operator===b)&&h(e,s.semver))return!1;if(s.operator===y&&m(e,s.semver))return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LedgerSetWebHIDFlagMsg=t.LedgerGetWebHIDFlagMsg=void 0;const r=n(18),i=n(348);class o extends r.Message{static type(){return"ledger-get-webhid-flag"}constructor(){super()}validateBasic(){}route(){return i.ROUTE}type(){return o.type()}}t.LedgerGetWebHIDFlagMsg=o;class a extends r.Message{constructor(e){super(),this.flag=e}static type(){return"ledger-set-webhid-flag"}validateBasic(){if(null==this.flag)throw new Error("Flag is null")}route(){return i.ROUTE}type(){return a.type()}}t.LedgerSetWebHIDFlagMsg=a},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.KeyRing=t.KeyRingStatus=void 0;const i=n(716),o=n(108),a=n(2),s=n(11);var c;!function(e){e[e.NOTLOADED=0]="NOTLOADED",e[e.EMPTY=1]="EMPTY",e[e.LOCKED=2]="LOCKED",e[e.UNLOCKED=3]="UNLOCKED"}(c=t.KeyRingStatus||(t.KeyRingStatus={}));class l{constructor(e,t,n,r){this.embedChainInfos=e,this.kvStore=t,this.ledgerKeeper=n,this.rng=r,this.cached=new Map,this.password="",this.loaded=!1,this.keyStore=null,this.multiKeyStore=[]}get type(){if(this.keyStore){const e=this.keyStore.type;if(null==e)return"mnemonic";if("mnemonic"!==e&&"privateKey"!==e&&"ledger"!==e)throw new Error("Invalid type of key store");return e}return"none"}isLocked(){return null==this.privateKey&&null==this.mnemonic&&null==this.ledgerPublicKey}get privateKey(){return this._privateKey}set privateKey(e){this._privateKey=e,this._mnemonic=void 0,this._ledgerPublicKey=void 0,this.cached=new Map}get mnemonic(){return this._mnemonic}set mnemonic(e){this._mnemonic=e,this._privateKey=void 0,this._ledgerPublicKey=void 0,this.cached=new Map}get ledgerPublicKey(){return this._ledgerPublicKey}set ledgerPublicKey(e){this._mnemonic=void 0,this._privateKey=void 0,this._ledgerPublicKey=e,this.cached=new Map}get status(){return this.loaded?this.keyStore?this.isLocked()?c.LOCKED:c.UNLOCKED:c.EMPTY:c.NOTLOADED}getKeyStoreCoinType(e){if(this.keyStore&&this.keyStore.coinTypeForChain)return this.keyStore.coinTypeForChain[s.ChainIdHelper.parse(e).identifier]}getKey(e,t){return this.loadKey(this.computeKeyStoreCoinType(e,t))}getKeyStoreMeta(e){var t;return this.keyStore&&null!=this.keyStore.meta&&null!==(t=this.keyStore.meta[e])&&void 0!==t?t:""}computeKeyStoreCoinType(e,t){var n;if(!this.keyStore)throw new Error("Key Store is empty");return this.keyStore.coinTypeForChain&&null!==(n=this.keyStore.coinTypeForChain[s.ChainIdHelper.parse(e).identifier])&&void 0!==n?n:t}getKeyFromCoinType(e){return this.loadKey(e)}createMnemonicKey(e,t,n,i){return r(this,void 0,void 0,(function*(){if(this.status!==c.EMPTY)throw new Error("Key ring is not loaded or not empty");this.mnemonic=e,this.keyStore=yield l.CreateMnemonicKeyStore(this.rng,e,t,yield this.assignKeyStoreIdMeta(n),i),this.password=t,this.multiKeyStore.push(this.keyStore),yield this.save()}))}createPrivateKey(e,t,n){return r(this,void 0,void 0,(function*(){if(this.status!==c.EMPTY)throw new Error("Key ring is not loaded or not empty");this.privateKey=e,this.keyStore=yield l.CreatePrivateKeyStore(this.rng,e,t,yield this.assignKeyStoreIdMeta(n)),this.password=t,this.multiKeyStore.push(this.keyStore),yield this.save()}))}createLedgerKey(e,t,n,i){return r(this,void 0,void 0,(function*(){if(this.status!==c.EMPTY)throw new Error("Key ring is not loaded or not empty");this.ledgerPublicKey=yield this.ledgerKeeper.getPublicKey(e,i);const r=yield l.CreateLedgerKeyStore(this.rng,this.ledgerPublicKey,t,yield this.assignKeyStoreIdMeta(n),i);this.password=t,this.keyStore=r,this.multiKeyStore.push(this.keyStore),yield this.save()}))}lock(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");this.mnemonic=void 0,this.privateKey=void 0,this.ledgerPublicKey=void 0,this.password=""}unlock(e){return r(this,void 0,void 0,(function*(){if(!this.keyStore||"none"===this.type)throw new Error("Key ring not initialized");if("mnemonic"===this.type)this.mnemonic=a.Buffer.from(yield i.Crypto.decrypt(this.keyStore,e)).toString();else if("privateKey"===this.type)this.privateKey=a.Buffer.from(a.Buffer.from(yield i.Crypto.decrypt(this.keyStore,e)).toString(),"hex");else{if("ledger"!==this.type)throw new Error("Unexpected type of keyring");this.ledgerPublicKey=a.Buffer.from(a.Buffer.from(yield i.Crypto.decrypt(this.keyStore,e)).toString(),"hex")}this.password=e}))}save(){return r(this,void 0,void 0,(function*(){yield this.kvStore.set("key-store",this.keyStore),yield this.kvStore.set("key-multi-store",this.multiKeyStore)}))}restore(){return r(this,void 0,void 0,(function*(){const e=yield this.kvStore.get("key-store");this.keyStore=e||null;const t=yield this.kvStore.get("key-multi-store");t?this.multiKeyStore=t:(e?(e.meta=yield this.assignKeyStoreIdMeta({}),this.multiKeyStore=[e]):this.multiKeyStore=[],yield this.save());let n=!1;this.keyStore&&("1"!==this.keyStore.version&&"1.1"!==this.keyStore.version||(n=!0,this.updateLegacyKeyStore(this.keyStore)));for(const e of this.multiKeyStore)"1"!==e.version&&"1.1"!==e.version||(n=!0,this.updateLegacyKeyStore(e));n&&(yield this.save()),this.loaded=!0}))}updateLegacyKeyStore(e){e.version="1.2";for(const t of this.embedChainInfos){const n=t.alternativeBIP44s&&t.alternativeBIP44s.length>0?t.alternativeBIP44s[0].coinType:t.bip44.coinType;e.coinTypeForChain=Object.assign(Object.assign({},e.coinTypeForChain),{[s.ChainIdHelper.parse(t.chainId).identifier]:n})}}isKeyStoreCoinTypeSet(e){if(!this.keyStore)throw new Error("Empty key store");return this.keyStore.coinTypeForChain&&void 0!==this.keyStore.coinTypeForChain[s.ChainIdHelper.parse(e).identifier]}setKeyStoreCoinType(e,t){return r(this,void 0,void 0,(function*(){if(!this.keyStore)throw new Error("Empty key store");if(this.keyStore.coinTypeForChain&&void 0!==this.keyStore.coinTypeForChain[s.ChainIdHelper.parse(e).identifier])throw new Error("Coin type already set");this.keyStore.coinTypeForChain=Object.assign(Object.assign({},this.keyStore.coinTypeForChain),{[s.ChainIdHelper.parse(e).identifier]:t});const n=this.multiKeyStore.find(e=>l.getKeyStoreId(e)===l.getKeyStoreId(this.keyStore));n&&(n.coinTypeForChain=Object.assign({},this.keyStore.coinTypeForChain)),yield this.save()}))}deleteKeyRing(e,t){return r(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");if(this.password!==t)throw new Error("Invalid password");const n=this.multiKeyStore[e];if(!n)throw new Error("Empty key store");const r=this.multiKeyStore.slice(0,e).concat(this.multiKeyStore.slice(e+1));return yield i.Crypto.decrypt(n,t),this.keyStore&&l.getKeyStoreId(n)===l.getKeyStoreId(this.keyStore)&&(r.length>0?(yield this.lock(),this.keyStore=r[0],yield this.unlock(t)):(this.keyStore=null,this.mnemonic=void 0,this.privateKey=void 0)),this.multiKeyStore=r,yield this.save(),this.getMultiKeyStoreInfo()}))}updateNameKeyRing(e,t){return r(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");const n=this.multiKeyStore[e];if(!n)throw new Error("Empty key store");return n.meta=Object.assign(Object.assign({},n.meta),{name:t}),this.keyStore&&l.getKeyStoreId(this.keyStore)===l.getKeyStoreId(n)&&(this.keyStore=n),yield this.save(),this.getMultiKeyStoreInfo()}))}loadKey(e){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");if(!this.keyStore)throw new Error("Key Store is empty");if("ledger"===this.keyStore.type){if(!this.ledgerPublicKey)throw new Error("Ledger public key not set");const e=new o.PubKeySecp256k1(this.ledgerPublicKey);return{algo:"secp256k1",pubKey:e.toBytes(),address:e.getAddress(),isNanoLedger:!0}}{const t=this.loadPrivKey(e).getPubKey();return{algo:"secp256k1",pubKey:t.toBytes(),address:t.getAddress(),isNanoLedger:!1}}}loadPrivKey(e){if(this.status!==c.UNLOCKED||"none"===this.type||!this.keyStore)throw new Error("Key ring is not unlocked");const t=l.getKeyStoreBIP44Path(this.keyStore);if("mnemonic"===this.type){const n=`m/44'/${e}'/${t.account}'/${t.change}/${t.addressIndex}`,r=this.cached.get(n);if(r)return new o.PrivKeySecp256k1(r);if(!this.mnemonic)throw new Error("Key store type is mnemonic and it is unlocked. But, mnemonic is not loaded unexpectedly");const i=o.Mnemonic.generateWalletFromMnemonic(this.mnemonic,n);return this.cached.set(n,i),new o.PrivKeySecp256k1(i)}if("privateKey"===this.type){if(!this.privateKey)throw new Error("Key store type is private key and it is unlocked. But, private key is not loaded unexpectedly");return new o.PrivKeySecp256k1(this.privateKey)}throw new Error("Unexpected type of keyring")}sign(e,t,n,i){return r(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");if(!this.keyStore)throw new Error("Key Store is empty");if("ledger"===this.keyStore.type){const t=this.ledgerPublicKey;if(!t)throw new Error("Ledger public key is not initialized");return yield this.ledgerKeeper.sign(e,l.getKeyStoreBIP44Path(this.keyStore),t,i)}{const e=this.computeKeyStoreCoinType(t,n);return this.loadPrivKey(e).sign(i)}}))}showKeyRing(e,t){return r(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED)throw new Error("Key ring is not unlocked");if(this.password!==t)throw new Error("Invalid password");const n=this.multiKeyStore[e];if(!n)throw new Error("Empty key store");return n.type,a.Buffer.from(yield i.Crypto.decrypt(n,t)).toString()}))}get canSetPath(){return"mnemonic"===this.type||"ledger"===this.type}addMnemonicKey(e,t,n){return r(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED||""==this.password)throw new Error("Key ring is locked or not initialized");const r=yield l.CreateMnemonicKeyStore(this.rng,e,this.password,yield this.assignKeyStoreIdMeta(t),n);return this.multiKeyStore.push(r),yield this.save(),this.getMultiKeyStoreInfo()}))}addPrivateKey(e,t){return r(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED||""==this.password)throw new Error("Key ring is locked or not initialized");const n=yield l.CreatePrivateKeyStore(this.rng,e,this.password,yield this.assignKeyStoreIdMeta(t));return this.multiKeyStore.push(n),yield this.save(),this.getMultiKeyStoreInfo()}))}addLedgerKey(e,t,n){return r(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED||""==this.password)throw new Error("Key ring is locked or not initialized");const r=yield this.ledgerKeeper.getPublicKey(e,n),i=yield l.CreateLedgerKeyStore(this.rng,r,this.password,yield this.assignKeyStoreIdMeta(t),n);return this.multiKeyStore.push(i),yield this.save(),this.getMultiKeyStoreInfo()}))}changeKeyStoreFromMultiKeyStore(e){return r(this,void 0,void 0,(function*(){if(this.status!==c.UNLOCKED||""==this.password)throw new Error("Key ring is locked or not initialized");const t=this.multiKeyStore[e];if(!t)throw new Error("Invalid keystore");return this.keyStore=t,yield this.unlock(this.password),yield this.save(),this.getMultiKeyStoreInfo()}))}getMultiKeyStoreInfo(){const e=[];for(const t of this.multiKeyStore)e.push({version:t.version,type:t.type,meta:t.meta,coinTypeForChain:t.coinTypeForChain,bip44HDPath:t.bip44HDPath,selected:!!this.keyStore&&l.getKeyStoreId(t)===l.getKeyStoreId(this.keyStore)});return e}static CreateMnemonicKeyStore(e,t,n,o,a){return r(this,void 0,void 0,(function*(){return yield i.Crypto.encrypt(e,"mnemonic",t,n,o,a)}))}static CreatePrivateKeyStore(e,t,n,o){return r(this,void 0,void 0,(function*(){return yield i.Crypto.encrypt(e,"privateKey",a.Buffer.from(t).toString("hex"),n,o)}))}static CreateLedgerKeyStore(e,t,n,o,s){return r(this,void 0,void 0,(function*(){return yield i.Crypto.encrypt(e,"ledger",a.Buffer.from(t).toString("hex"),n,o,s)}))}assignKeyStoreIdMeta(e){return r(this,void 0,void 0,(function*(){return Object.assign({},e,{__id__:(yield this.getIncrementalNumber()).toString()})}))}static getKeyStoreId(e){var t;const n=null===(t=e.meta)||void 0===t?void 0:t.__id__;if(!n)throw new Error("Key store's id is empty");return n}static getKeyStoreBIP44Path(e){return e.bip44HDPath?(l.validateBIP44Path(e.bip44HDPath),e.bip44HDPath):{account:0,change:0,addressIndex:0}}static validateBIP44Path(e){if(!Number.isInteger(e.account)||e.account<0)throw new Error("Invalid account in hd path");if(!Number.isInteger(e.change)||0!==e.change&&1!==e.change)throw new Error("Invalid change in hd path");if(!Number.isInteger(e.addressIndex)||e.addressIndex<0)throw new Error("Invalid address index in hd path")}getIncrementalNumber(){return r(this,void 0,void 0,(function*(){let e=yield this.kvStore.get("incrementalNumber");return void 0===e&&(e=0),e++,yield this.kvStore.set("incrementalNumber",e),e}))}}t.KeyRing=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SetKeyStoreCoinTypeMsg=t.GetIsKeyStoreCoinTypeSetMsg=t.ChangeKeyRingMsg=t.GetMultiKeyStoreInfoMsg=t.GetKeyRingTypeMsg=t.RequestSignDirectMsg=t.RequestSignAminoMsg=t.GetKeyMsg=t.UnlockKeyRingMsg=t.LockKeyRingMsg=t.AddLedgerKeyMsg=t.AddPrivateKeyMsg=t.CreateLedgerKeyMsg=t.CreatePrivateKeyMsg=t.AddMnemonicKeyMsg=t.CreateMnemonicKeyMsg=t.ShowKeyRingMsg=t.UpdateNameKeyRingMsg=t.DeleteKeyRingMsg=t.RestoreKeyRingMsg=void 0;const r=n(18),i=n(353),o=n(190),a=n(11),s=n(69),c=n(11);class l extends r.Message{static type(){return"restore-keyring"}constructor(){super()}validateBasic(){}route(){return i.ROUTE}type(){return l.type()}}t.RestoreKeyRingMsg=l;class u extends r.Message{constructor(e,t){super(),this.index=e,this.password=t}static type(){return"delete-keyring"}validateBasic(){if(!Number.isInteger(this.index))throw new Error("Invalid index");if(!this.password)throw new Error("password not set")}route(){return i.ROUTE}type(){return u.type()}}t.DeleteKeyRingMsg=u;class f extends r.Message{constructor(e,t){super(),this.index=e,this.name=t}static type(){return"update-name-keyring"}validateBasic(){if(!Number.isInteger(this.index))throw new Error("Invalid index");if(!this.name)throw new Error("name not set")}route(){return i.ROUTE}type(){return f.type()}}t.UpdateNameKeyRingMsg=f;class d extends r.Message{constructor(e,t){super(),this.index=e,this.password=t}static type(){return"show-keyring"}validateBasic(){if(!Number.isInteger(this.index))throw new Error("Invalid index");if(!this.password)throw new Error("password not set")}route(){return i.ROUTE}type(){return d.type()}}t.ShowKeyRingMsg=d;class p extends r.Message{constructor(e,t,n,r){super(),this.mnemonic=e,this.password=t,this.meta=n,this.bip44HDPath=r}static type(){return"create-mnemonic-key"}validateBasic(){if(!this.mnemonic)throw new Error("mnemonic not set");if(!this.password)throw new Error("password not set");try{s.mnemonicToEntropy(this.mnemonic)}catch(e){if("Invalid mnemonic checksum"!==e.message)throw e}o.KeyRing.validateBIP44Path(this.bip44HDPath)}route(){return i.ROUTE}type(){return p.type()}}t.CreateMnemonicKeyMsg=p;class h extends r.Message{constructor(e,t,n){super(),this.mnemonic=e,this.meta=t,this.bip44HDPath=n}static type(){return"add-mnemonic-key"}validateBasic(){if(!this.mnemonic)throw new Error("mnemonic not set");try{s.mnemonicToEntropy(this.mnemonic)}catch(e){if("Invalid mnemonic checksum"!==e.message)throw e}o.KeyRing.validateBIP44Path(this.bip44HDPath)}route(){return i.ROUTE}type(){return h.type()}}t.AddMnemonicKeyMsg=h;class m extends r.Message{constructor(e,t,n){super(),this.privateKey=e,this.password=t,this.meta=n}static type(){return"create-private-key"}validateBasic(){if(!this.privateKey||0===this.privateKey.length)throw new Error("private key not set");if(32!==this.privateKey.length)throw new Error("invalid length of private key");if(!this.password)throw new Error("password not set")}route(){return i.ROUTE}type(){return m.type()}}t.CreatePrivateKeyMsg=m;class b extends r.Message{constructor(e,t,n){super(),this.password=e,this.meta=t,this.bip44HDPath=n}static type(){return"create-ledger-key"}validateBasic(){if(!this.password)throw new Error("password not set");o.KeyRing.validateBIP44Path(this.bip44HDPath)}route(){return i.ROUTE}type(){return b.type()}}t.CreateLedgerKeyMsg=b;class y extends r.Message{constructor(e,t){super(),this.privateKey=e,this.meta=t}static type(){return"add-private-key"}validateBasic(){if(!this.privateKey||0===this.privateKey.length)throw new Error("private key not set");if(32!==this.privateKey.length)throw new Error("invalid length of private key")}route(){return i.ROUTE}type(){return y.type()}}t.AddPrivateKeyMsg=y;class g extends r.Message{constructor(e,t){super(),this.meta=e,this.bip44HDPath=t}static type(){return"add-ledger-key"}validateBasic(){o.KeyRing.validateBIP44Path(this.bip44HDPath)}route(){return i.ROUTE}type(){return g.type()}}t.AddLedgerKeyMsg=g;class v extends r.Message{static type(){return"lock-keyring"}constructor(){super()}validateBasic(){}route(){return i.ROUTE}type(){return v.type()}}t.LockKeyRingMsg=v;class w extends r.Message{constructor(e=""){super(),this.password=e}static type(){return"unlock-keyring"}validateBasic(){if(!this.password)throw new Error("password not set")}route(){return i.ROUTE}type(){return w.type()}}t.UnlockKeyRingMsg=w;class _ extends r.Message{constructor(e){super(),this.chainId=e}static type(){return"get-key"}validateBasic(){if(!this.chainId)throw new Error("chain id not set")}approveExternal(){return!0}route(){return i.ROUTE}type(){return _.type()}}t.GetKeyMsg=_;class k extends r.Message{constructor(e,t,n,r={}){super(),this.chainId=e,this.signer=t,this.signDoc=n,this.signOptions=r}static type(){return"request-sign-amino"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(!this.signer)throw new Error("signer not set");if(a.Bech32Address.validate(this.signer),this.signDoc.chain_id!==this.chainId)throw new Error("Chain id in the message is not matched with the requested chain id");if(!this.signOptions)throw new Error("Sign options are null")}approveExternal(){return!0}route(){return i.ROUTE}type(){return k.type()}}t.RequestSignAminoMsg=k;class x extends r.Message{constructor(e,t,n,r={}){super(),this.chainId=e,this.signer=t,this.signDocBytes=n,this.signOptions=r}static type(){return"request-sign-direct"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(!this.signer)throw new Error("signer not set");a.Bech32Address.validate(this.signer);if(c.cosmos.tx.v1beta1.SignDoc.decode(this.signDocBytes).chainId!==this.chainId)throw new Error("Chain id in the message is not matched with the requested chain id");if(!this.signOptions)throw new Error("Sign options are null")}approveExternal(){return!0}route(){return i.ROUTE}type(){return x.type()}}t.RequestSignDirectMsg=x;class S extends r.Message{static type(){return"get-keyring-type"}constructor(){super()}validateBasic(){}route(){return i.ROUTE}type(){return S.type()}}t.GetKeyRingTypeMsg=S;class O extends r.Message{static type(){return"get-multi-key-store-info"}constructor(){super()}validateBasic(){}route(){return i.ROUTE}type(){return O.type()}}t.GetMultiKeyStoreInfoMsg=O;class E extends r.Message{constructor(e){super(),this.index=e}static type(){return"change-keyring"}validateBasic(){if(this.index<0)throw new Error("Index is negative");if(!Number.isInteger(this.index))throw new Error("Invalid index")}route(){return i.ROUTE}type(){return E.type()}}t.ChangeKeyRingMsg=E;class T extends r.Message{constructor(e,t){super(),this.chainId=e,this.paths=t}static type(){return"get-is-keystore-coin-type-set"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(0===this.paths.length)throw new Error("empty bip44 path list")}route(){return i.ROUTE}type(){return T.type()}}t.GetIsKeyStoreCoinTypeSetMsg=T;class A extends r.Message{constructor(e,t){super(),this.chainId=e,this.coinType=t}static type(){return"set-keystore-coin-type"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(this.coinType<0)throw new Error("coin type can not be negative");if(!Number.isInteger(this.coinType))throw new Error("coin type should be integer")}route(){return i.ROUTE}type(){return A.type()}}t.SetKeyStoreCoinTypeMsg=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RemovePermissionOrigin=t.GetPermissionOriginsMsg=t.EnableAccessMsg=void 0;const r=n(18),i=n(354);class o extends r.Message{constructor(e){super(),this.chainIds=e}static type(){return"enable-access"}validateBasic(){if(!this.chainIds||0===this.chainIds.length)throw new Error("chain id not set")}route(){return i.ROUTE}approveExternal(){return!0}type(){return o.type()}}t.EnableAccessMsg=o;class a extends r.Message{constructor(e,t){super(),this.chainId=e,this.permissionType=t}static type(){return"get-permission-origins"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(!this.permissionType)throw new Error("empty permission type")}route(){return i.ROUTE}type(){return a.type()}}t.GetPermissionOriginsMsg=a;class s extends r.Message{constructor(e,t,n){super(),this.chainId=e,this.permissionType=t,this.permissionOrigin=n}static type(){return"remove-permission-origin"}validateBasic(){if(!this.chainId)throw new Error("chain id not set");if(!this.permissionType)throw new Error("empty permission type");if(!this.permissionOrigin)throw new Error("empty permission origin")}route(){return i.ROUTE}type(){return s.type()}}t.RemovePermissionOrigin=s},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.makeSignBytes=t.makeSignDoc=t.makeAuthInfoBytes=void 0;const i=r(n(113)),o=n(356),a=n(355);t.makeAuthInfoBytes=function(e,t,n,r,s=o.SignMode.SIGN_MODE_DIRECT){const c={signerInfos:e.map(e=>({publicKey:e,modeInfo:{single:{mode:s}},sequence:i.default.fromNumber(r)})),fee:{amount:[...t],gasLimit:i.default.fromNumber(n)}};return a.AuthInfo.encode(a.AuthInfo.fromPartial(c)).finish()},t.makeSignDoc=function(e,t,n,r){return{bodyBytes:e,authInfoBytes:t,chainId:n,accountNumber:i.default.fromNumber(r)}},t.makeSignBytes=function({accountNumber:e,authInfoBytes:t,bodyBytes:n,chainId:r}){const i=a.SignDoc.fromPartial({accountNumber:e,authInfoBytes:t,bodyBytes:n,chainId:r});return a.SignDoc.encode(i).finish()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(42);function i(e){if(!r.isNonNullObject(e))throw new Error("Attribute must be a non-null object");const{key:t,value:n}=e;if("string"!=typeof t||!t)throw new Error("Attribute's key must be a non-empty string");if("string"!=typeof n&&void 0!==n)throw new Error("Attribute's value must be a string or unset");return{key:t,value:n||""}}function o(e){if(!r.isNonNullObject(e))throw new Error("Event must be a non-null object");const{type:t,attributes:n}=e;if("string"!=typeof t||""===t)throw new Error("Event type must be a non-empty string");if(!Array.isArray(n))throw new Error("Event's attributes must be an array");return{type:t,attributes:n.map(i)}}function a(e){if(!r.isNonNullObject(e))throw new Error("Log must be a non-null object");const{msg_index:t,log:n,events:i}=e;if("number"!=typeof t)throw new Error("Log's msg_index must be a number");if("string"!=typeof n)throw new Error("Log's log must be a string");if(!Array.isArray(i))throw new Error("Log's events must be an array");return{msg_index:t,log:n,events:i.map(o)}}t.parseAttribute=i,t.parseEvent=o,t.parseLog=a,t.parseLogs=function(e){if(!Array.isArray(e))throw new Error("Logs must be an array");return e.map(a)},t.findAttribute=function(e,t,n){var r,i;const o=null===(i=null===(r=e.find(()=>!0))||void 0===r?void 0:r.events.find(e=>e.type===t))||void 0===i?void 0:i.attributes.find(e=>e.key===n);if(!o)throw new Error(`Could not find attribute '${n}' in first event of type '${t}' in first log.`);return o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(742);Object.defineProperty(t,"fromAscii",{enumerable:!0,get:function(){return r.fromAscii}}),Object.defineProperty(t,"toAscii",{enumerable:!0,get:function(){return r.toAscii}});var i=n(743);Object.defineProperty(t,"fromBase64",{enumerable:!0,get:function(){return i.fromBase64}}),Object.defineProperty(t,"toBase64",{enumerable:!0,get:function(){return i.toBase64}});var o=n(744);Object.defineProperty(t,"Bech32",{enumerable:!0,get:function(){return o.Bech32}});var a=n(745);Object.defineProperty(t,"fromHex",{enumerable:!0,get:function(){return a.fromHex}}),Object.defineProperty(t,"toHex",{enumerable:!0,get:function(){return a.toHex}});var s=n(746);Object.defineProperty(t,"fromRfc3339",{enumerable:!0,get:function(){return s.fromRfc3339}}),Object.defineProperty(t,"toRfc3339",{enumerable:!0,get:function(){return s.toRfc3339}});var c=n(747);Object.defineProperty(t,"fromUtf8",{enumerable:!0,get:function(){return c.fromUtf8}}),Object.defineProperty(t,"toUtf8",{enumerable:!0,get:function(){return c.toUtf8}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(42),{toUtf8:i}=r.Encoding;function o(e){if("object"!=typeof e||null===e)return e;if(Array.isArray(e))return e.map(o);return Object.keys(e).sort().reduce((t,n)=>Object.assign(Object.assign({},t),{[n]:o(e[n])}),{})}t.marshalTx=function(e){const t=JSON.stringify(e);return r.Encoding.toUtf8(t)},t.makeSignBytes=function(e,t,n,r,a,s){const c=o({account_number:a.toString(),chain_id:n,fee:t,memo:r,msgs:e,sequence:s.toString()});return i(JSON.stringify(c))}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(42),o=r(n(68)),a=r(n(368));function s(e){return e||[]}var c;function l(e){return void 0!==e.error}function u(e){if(l(e))throw new Error(e.error);return e.result}function f(e){var t;if(null===(t=e.response)||void 0===t?void 0:t.data){let t;const n=e.response.data;throw t=n.error&&"string"==typeof n.error?n.error:"string"==typeof n?n:JSON.stringify(n),new Error(`${t} (HTTP ${e.response.status})`)}throw e}!function(e){e.Block="block",e.Sync="sync",e.Async="async"}(c=t.BroadcastMode||(t.BroadcastMode={}));t.RestClient=class{constructor(e,t=c.Block,n){this.client=o.default.create({baseURL:e,headers:{post:{"Content-Type":"application/json"}}}),this.broadcastMode=t,this.enigmautils=new a.default(e,n),this.codeHashCache=new Map}async get(e){const{data:t}=await this.client.get(e).catch(f);if(null===t)throw new Error("Received null response from server");return t}async post(e,t){if(!i.isNonNullObject(t))throw new Error("Got unexpected type of params. Expected object.");const{data:n}=await this.client.post(e,t).catch(f);if(null===n)throw new Error("Received null response from server");return n}async authAccounts(e){const t="/auth/accounts/"+e,n=await this.get(t);if("cosmos-sdk/Account"!==n.result.type)throw new Error("Unexpected response data format");return n}async blocksLatest(){const e=await this.get("/blocks/latest");if(!e.block)throw new Error("Unexpected response data format");return e}async blocks(e){const t=await this.get("/blocks/"+e);if(!t.block)throw new Error("Unexpected response data format");return t}async nodeInfo(){const e=await this.get("/node_info");if(!e.node_info)throw new Error("Unexpected response data format");return e}async txById(e,t=!0){const n=await this.get("/txs/"+e);if(!n.tx)throw new Error("Unexpected response data format");return t?this.decryptTxsResponse(n):n}async txsQuery(e){const t=await this.get("/txs?"+e);if(!t.txs)throw new Error("Unexpected response data format");const n=t;for(let e=0;e>>8}Object.defineProperty(t,"__esModule",{value:!0}),t.select=function(e,t,n){return~(e-1)&t|e-1&n},t.compare=r,t.equal=function(e,t){return 0!==e.length&&0!==t.length&&0!==r(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wipe=function(e){for(let t=0;ti.a.createElement("svg",{style:e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:"48px",height:"48px"},i.a.createElement("path",{fill:"#FFC107",d:"M43.611,20.083H42V20H24v8h11.303c-1.649,4.657-6.08,8-11.303,8c-6.627,0-12-5.373-12-12c0-6.627,5.373-12,12-12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C12.955,4,4,12.955,4,24c0,11.045,8.955,20,20,20c11.045,0,20-8.955,20-20C44,22.659,43.862,21.35,43.611,20.083z"}),i.a.createElement("path",{fill:"#FF3D00",d:"M6.306,14.691l6.571,4.819C14.655,15.108,18.961,12,24,12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C16.318,4,9.656,8.337,6.306,14.691z"}),i.a.createElement("path",{fill:"#4CAF50",d:"M24,44c5.166,0,9.86-1.977,13.409-5.192l-6.19-5.238C29.211,35.091,26.715,36,24,36c-5.202,0-9.619-3.317-11.283-7.946l-6.522,5.025C9.505,39.556,16.227,44,24,44z"}),i.a.createElement("path",{fill:"#1976D2",d:"M43.611,20.083H42V20H24v8h11.303c-0.792,2.237-2.231,4.166-4.087,5.571c0.001-0.001,0.002-0.001,0.003-0.002l6.19,5.238C36.971,39.205,44,34,44,24C44,22.659,43.862,21.35,43.611,20.083z"}));var u=n(1045),f=n.n(u),d=n(14),p=n(146),h=n(92),m=n.n(h),b=n(34),y=n(889),g=n(1051),v=n.n(g),w=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};class _{constructor(e){this.typeOfLoginMap=new Map,this.torusSDK=new v.a(e)}addLoginType(e,t){this.typeOfLoginMap.set(e,t)}signIn(e,t){return w(this,void 0,void 0,(function*(){const n=this.typeOfLoginMap.get(e);if(!n)throw new Error("Invalid login type");const r=yield n.getUserInfo(),i=yield this.torusSDK.getTorusKey(t,r.verifierId,{verifier_id:r.verifierId},r.idToken||r.accessToken);return Object.assign(Object.assign({},i),{userInfo:Object.assign({verifier:t},r)})}))}}var k=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};class x{constructor(e){this.clientId=e}getUserInfo(){return k(this,void 0,void 0,(function*(){const e=Math.floor(1e4*Math.random()).toString(),t=encodeURIComponent(window.btoa(JSON.stringify({instanceId:e,redirectToOpener:!1}))),n=browser.identity.getRedirectURL(),r=new URL("https://accounts.google.com/o/oauth2/v2/auth");r.searchParams.append("response_type",x.RESPONSE_TYPE),r.searchParams.append("client_id",this.clientId),r.searchParams.append("state",t),r.searchParams.append("scope",x.SCOPE),r.searchParams.append("redirect_uri",n),r.searchParams.append("nonce",e),r.searchParams.append("prompt",x.PROMPT);const i=yield browser.identity.launchWebAuthFlow({url:r.href,interactive:!0}),o=new URL(i).hash,a=new URLSearchParams(o),s=a.get("id_token"),c=a.get("access_token"),l=yield fetch("https://www.googleapis.com/userinfo/v2/me",{mode:"cors",cache:"no-cache",method:"GET",headers:{Authorization:"Bearer "+c}});if(l.ok){const e=yield l.json(),{picture:t="",email:n="",name:r=""}=e;return{email:n,name:r,profileImage:t,verifierId:n.toLowerCase(),typeOfLogin:"google",accessToken:c,idToken:s}}throw l}))}}x.RESPONSE_TYPE="token id_token",x.SCOPE="profile email openid",x.PROMPT="consent select_account";var S=n(2),O=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};const E=Object(d.a)(({registerConfig:e})=>i.a.createElement(i.a.Fragment,null,i.a.createElement(o.a,{color:"primary",outline:!0,block:!0,onClick:t=>{t.preventDefault(),e.setType("torus-sign-in")},style:{display:"flex",justifyContent:"center",alignItems:"center"}},i.a.createElement(l,{style:{width:"16px",height:"16px",marginRight:"8px",transform:"translateY(-1px)"}}),i.a.createElement(s.a,{id:"torus.sign-in.google"})),i.a.createElement("div",{style:{marginTop:"8px",display:"flex",justifyContent:"center",alignItems:"center"}},i.a.createElement("a",{className:f.a.torus,href:"https://tor.us/",target:"_blank",rel:"noopener noreferrer"},"Powered by Torus")),i.a.createElement("hr",null))),T=Object(d.a)(({registerConfig:e})=>{const t=Object(c.a)(),{register:n,handleSubmit:r,getValues:l,errors:u}=Object(p.a)({defaultValues:{name:"",password:"",confirmPassword:""}});return i.a.createElement("div",null,i.a.createElement("div",{className:m.a.title},t.formatMessage({id:"torus.sign-in.google"})),i.a.createElement(a.a,{className:m.a.formContainer,onSubmit:r(t=>O(void 0,void 0,void 0,(function*(){try{const n=new _({baseUrl:browser.extension.getURL(""),network:"mainnet"});n.addLoginType("google",new x("413984222848-8r7u4ip9i6htppalo6jopu5qbktto6mi.apps.googleusercontent.com"));const r=yield n.signIn("google","chainapsis-google");yield e.createPrivateKey(t.name,S.Buffer.from(r.privateKey,"hex"),t.password)}catch(t){alert(t.message?t.message:t.toString()),e.clear()}})))},i.a.createElement(b.e,{label:t.formatMessage({id:"register.name"}),type:"text",name:"name",ref:n({required:t.formatMessage({id:"register.name.error.required"})}),error:u.name&&u.name.message}),"create"===e.mode?i.a.createElement(i.a.Fragment,null,i.a.createElement(b.e,{label:t.formatMessage({id:"register.create.input.password"}),type:"password",name:"password",ref:n({required:t.formatMessage({id:"register.create.input.password.error.required"}),validate:e=>{if(e.length<8)return t.formatMessage({id:"register.create.input.password.error.too-short"})}}),error:u.password&&u.password.message}),i.a.createElement(b.e,{label:t.formatMessage({id:"register.create.input.confirm-password"}),type:"password",name:"confirmPassword",ref:n({required:t.formatMessage({id:"register.create.input.confirm-password.error.required"}),validate:e=>{if(e!==l().password)return t.formatMessage({id:"register.create.input.confirm-password.error.unmatched"})}}),error:u.confirmPassword&&u.confirmPassword.message})):null,i.a.createElement(o.a,{color:"primary",type:"submit",block:!0,"data-loading":e.isLoading},i.a.createElement(s.a,{id:"register.create.button.next"}))),i.a.createElement(y.a,{onClick:()=>{e.clear()}}))});var A=n(1056),M=n(1057);const I="https://mainnet.infura.io/v3/eeb00e81cdb2410098d5a270eff9b341",P=[{currency:"usd",symbol:"$",maxDecimals:2,locale:"en-US"},{currency:"eur",symbol:"€",maxDecimals:2,locale:"de-DE"},{currency:"gbp",symbol:"£",maxDecimals:2,locale:"en-GB"},{currency:"cad",symbol:"CA$",maxDecimals:2,locale:"en-CA"},{currency:"aud",symbol:"AU$",maxDecimals:2,locale:"en-AU"},{currency:"rub",symbol:"₽",maxDecimals:0,locale:"ru"},{currency:"krw",symbol:"₩",maxDecimals:0,locale:"ko-KR"},{currency:"hkd",symbol:"HK$",maxDecimals:1,locale:"en-HK"},{currency:"cny",symbol:"¥",maxDecimals:1,locale:"zh-CN"},{currency:"jpy",symbol:"¥",maxDecimals:0,locale:"ja-JP"},{currency:"inr",symbol:"₹",maxDecimals:1,locale:"en-IN"}],C={default:"usd",ko:"krw"},j=[{type:"torus-sign-in",intro:E,page:T}],D={en:A,ko:M}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(983),t),i(n(1268),t),i(n(1269),t),i(n(1270),t)},function(e,t,n){"use strict";n.d(t,"b",(function(){return U})),n.d(t,"a",(function(){return F}));var r=n(0),i=n.n(r),o=n(838),a=n(30);const s=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function c({locale:e,formats:t,onError:n},r,i={}){const{format:o}=i,c=o&&Object(a.g)(t,"number",o,n)||{};return r(e,Object(a.f)(i,s,c))}function l(e,t,n,r={}){try{return c(e,t,r).format(n)}catch(t){e.onError(Object(a.b)("Error formatting number.",t))}return String(n)}function u(e,t,n,r={}){try{return c(e,t,r).formatToParts(n)}catch(t){e.onError(Object(a.b)("Error formatting number.",t))}return[]}const f=["numeric","style"];function d(e,t,n,r,i={}){r||(r="second");Intl.RelativeTimeFormat||e.onError(Object(a.b)('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n'));try{return function({locale:e,formats:t,onError:n},r,i={}){const{format:o}=i,s=!!o&&Object(a.g)(t,"relative",o,n)||{};return r(e,Object(a.f)(i,f,s))}(e,t,i).format(n,r)}catch(t){e.onError(Object(a.b)("Error formatting relative time.",t))}return String(n)}const p=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function h({locale:e,formats:t,onError:n,timeZone:r},i,o,s={}){const{format:c}=s,l=Object.assign(Object.assign({},r&&{timeZone:r}),c&&Object(a.g)(t,i,c,n));let u=Object(a.f)(s,p,l);return"time"!==i||u.hour||u.minute||u.second||(u=Object.assign(Object.assign({},u),{hour:"numeric",minute:"numeric"})),o(e,u)}function m(e,t,n,r={}){const i="string"==typeof n?new Date(n||0):n;try{return h(e,"date",t,r).format(i)}catch(t){e.onError(Object(a.b)("Error formatting date.",t))}return String(i)}function b(e,t,n,r={}){const i="string"==typeof n?new Date(n||0):n;try{return h(e,"time",t,r).format(i)}catch(t){e.onError(Object(a.b)("Error formatting time.",t))}return String(i)}function y(e,t,n,r={}){const i="string"==typeof n?new Date(n||0):n;try{return h(e,"date",t,r).formatToParts(i)}catch(t){e.onError(Object(a.b)("Error formatting date.",t))}return[]}function g(e,t,n,r={}){const i="string"==typeof n?new Date(n||0):n;try{return h(e,"time",t,r).formatToParts(i)}catch(t){e.onError(Object(a.b)("Error formatting time.",t))}return[]}const v=["localeMatcher","type"];function w({locale:e,onError:t},n,r,i={}){Intl.PluralRules||t(Object(a.b)('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n'));const o=Object(a.f)(i,v);try{return n(e,o).select(r)}catch(e){t(Object(a.b)("Error formatting plural.",e))}return"other"}var _=n(862),k=n(842),x=n.n(k);const S=["localeMatcher","type","style"],O=Date.now();function E({locale:e,onError:t},n,r,i={}){Intl.ListFormat||t(Object(a.b)('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n'));const o=Object(a.f)(i,S);try{const t={},i=r.map((e,n)=>{if("object"==typeof e){const r=function(e){return`${O}_${e}_${O}`}(n);return t[r]=e,r}return String(e)});if(!Object.keys(t).length)return n(e,o).format(i);return n(e,o).formatToParts(i).reduce((e,n)=>{const r=n.value;return t[r]?e.push(t[r]):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e},[])}catch(e){t(Object(a.b)("Error formatting list.",e))}return r}const T=["localeMatcher","style","type","fallback"];function A({locale:e,onError:t},n,r,i={}){Intl.DisplayNames||t(Object(a.b)('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n'));const o=Object(a.f)(i,T);try{return n(e,o).of(r)}catch(e){t(Object(a.b)("Error formatting display name.",e))}}const M=x.a||k;function I(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError}}function P(e,t){const n=Object(a.c)(t),r=Object.assign(Object.assign({},a.a),e),{locale:i,defaultLocale:o,onError:s}=r;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&s?s(Object(a.b)(`Missing locale data for locale: "${i}" in Intl.NumberFormat. Using default locale: "${o}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&s&&s(Object(a.b)(`Missing locale data for locale: "${i}" in Intl.DateTimeFormat. Using default locale: "${o}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(s&&s(Object(a.b)(`"locale" was not configured, using "${o}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),r.locale=r.defaultLocale||"en"),Object.assign(Object.assign({},r),{formatters:n,formatNumber:l.bind(null,r,n.getNumberFormat),formatNumberToParts:u.bind(null,r,n.getNumberFormat),formatRelativeTime:d.bind(null,r,n.getRelativeTimeFormat),formatDate:m.bind(null,r,n.getDateTimeFormat),formatDateToParts:y.bind(null,r,n.getDateTimeFormat),formatTime:b.bind(null,r,n.getDateTimeFormat),formatTimeToParts:g.bind(null,r,n.getDateTimeFormat),formatPlural:w.bind(null,r,n.getPluralRules),formatMessage:_.b.bind(null,r,n),formatHTMLMessage:_.a.bind(null,r,n),formatList:E.bind(null,r,n.getListFormat),formatDisplayName:A.bind(null,r,n.getDisplayNames)})}class C extends r.PureComponent{constructor(){super(...arguments),this.cache=Object(a.d)(),this.state={cache:this.cache,intl:P(I(this.props),this.cache),prevConfig:I(this.props)}}static getDerivedStateFromProps(e,{prevConfig:t,cache:n}){const r=I(e);return M(t,r)?null:{intl:P(r,n),prevConfig:r}}render(){return Object(a.h)(this.state.intl),r.createElement(o.b,{value:this.state.intl},this.props.children)}}C.displayName="IntlProvider",C.defaultProps=a.a;var j=n(933),D=n(1042);const R={en:j,ko:D};function N(e,t){return Object.assign({},j,R[t],e[t])}function B(e){const t=localStorage.getItem("language")||navigator.language.split(/[-_]/)[0];return R[t]||e[t]?t:"en"}const L=i.a.createContext(null),U=()=>{const e=i.a.useContext(L);if(!e)throw new Error("You have forgot to use language provider");return e},F=({additionalMessages:e,languageToFiatCurrency:t,children:n})=>{const[o,a]=Object(r.useState)(()=>B(e)),[s,c]=Object(r.useState)(null==localStorage.getItem("language")),[l,u]=Object(r.useState)(N(e,o));Object(r.useEffect)(()=>{document.body.setAttribute("data-lang",o)},[o]),Object(r.useEffect)(()=>{u(N(e,o))},[e,o]);const[f,d]=Object(r.useState)(localStorage.getItem("fiat-currency"));let p=f;if(null===p){const e=localStorage.getItem("fiat-currency");p=null!==e?e:t[o]||t.default}const h=null===f;return i.a.createElement(L.Provider,{value:{language:o,automatic:s,setLanguage:e=>{localStorage.setItem("language",e),a(e),c(!1)},clearLanguage:()=>{localStorage.removeItem("language"),a(B(e)),c(!0)},fiatCurrency:p,setFiatCurrency:e=>{null===e?localStorage.removeItem("fiat-currency"):localStorage.setItem("fiat-currency",e),d(e)},isFiatCurrencyAutomatic:h}},i.a.createElement(C,{locale:o,messages:l,key:`${o}${s?"-auto":""}`},n))}},function(e,t,n){var r=n(37),i=n(1377);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(37),i=n(1503);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(147),i=n(1119),o=n(957),a=n(1125),s=n(62),c=n(6),l=function(e,t){var n=[];return t.forEach((function(t){if("object"==typeof t.components){if("tuple"!==t.type.substring(0,5))throw new Error("components found but type is not tuple; report on GitHub");var i="",o=t.type.indexOf("[");o>=0&&(i=t.type.substring(o));var a=l(e,t.components);r.isArray(a)&&e?n.push("tuple("+a.join(",")+")"+i):e?n.push("("+a+")"):n.push("("+a.join(",")+")"+i)}else n.push(t.type)})),n},u=function(e){if(!o.isHexStrict(e))throw new Error("The parameter must be a valid HEX string.");var t="",n=0,r=e.length;for("0x"===e.substring(0,2)&&(n=2);n7?n+=e[r].toUpperCase():n+=e[r];return n},toHex:o.toHex,toBN:o.toBN,bytesToHex:o.bytesToHex,hexToBytes:o.hexToBytes,hexToNumberString:o.hexToNumberString,hexToNumber:o.hexToNumber,toDecimal:o.hexToNumber,numberToHex:o.numberToHex,fromDecimal:o.numberToHex,hexToUtf8:o.hexToUtf8,hexToString:o.hexToUtf8,toUtf8:o.hexToUtf8,stripHexPrefix:o.stripHexPrefix,utf8ToHex:o.utf8ToHex,stringToHex:o.utf8ToHex,fromUtf8:o.utf8ToHex,hexToAscii:u,toAscii:u,asciiToHex:f,fromAscii:f,unitMap:i.unitMap,toWei:function(e,t){if(t=d(t),!o.isBN(e)&&!r.isString(e))throw new Error("Please pass numbers as strings or BN objects to avoid precision errors.");return o.isBN(e)?i.toWei(e,t):i.toWei(e,t).toString(10)},fromWei:function(e,t){if(t=d(t),!o.isBN(e)&&!r.isString(e))throw new Error("Please pass numbers as strings or BN objects to avoid precision errors.");return o.isBN(e)?i.fromWei(e,t):i.fromWei(e,t).toString(10)},padLeft:o.leftPad,leftPad:o.leftPad,padRight:o.rightPad,rightPad:o.rightPad,toTwosComplement:o.toTwosComplement,isBloom:o.isBloom,isUserEthereumAddressInBloom:o.isUserEthereumAddressInBloom,isContractAddressInBloom:o.isContractAddressInBloom,isTopic:o.isTopic,isTopicInBloom:o.isTopicInBloom,isInBloom:o.isInBloom,compareBlockNumbers:function(e,t){if(e==t)return 0;if("genesis"!=e&&"earliest"!=e&&0!=e||"genesis"!=t&&"earliest"!=t&&0!=t){if("genesis"==e||"earliest"==e)return-1;if("genesis"==t||"earliest"==t)return 1;if("latest"==e)return"pending"==t?-1:1;if("latest"===t)return"pending"==e?1:-1;if("pending"==e)return 1;if("pending"==t)return-1;{let n=new c(e),r=new c(t);return n.lt(r)?-1:n.eq(r)?0:1}}return 0}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(1043),i=n.n(r),o=n(16);function a(e){return"0x"+i.a.keccak_256(Object(o.a)(e))}},function(e,t,n){var r=t;r.utils=n(392),r.common=n(859),r.sha=n(1419),r.ripemd=n(1423),r.hmac=n(1424),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(1054),i=n.n(r),o=n(17);function a(e){return"0x"+i.a.keccak_256(Object(o.a)(e))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return uo})),n.d(t,"b",(function(){return ao}));var r={};n.r(r),n.d(r,"reversed",(function(){return Q})),n.d(r,"mirrored",(function(){return Y})),n.d(r,"createReversedEasing",(function(){return Z})),n.d(r,"createMirroredEasing",(function(){return X})),n.d(r,"createExpoIn",(function(){return ee})),n.d(r,"createBackIn",(function(){return te})),n.d(r,"createAnticipateEasing",(function(){return ne})),n.d(r,"linear",(function(){return re})),n.d(r,"easeIn",(function(){return ie})),n.d(r,"easeOut",(function(){return oe})),n.d(r,"easeInOut",(function(){return ae})),n.d(r,"circIn",(function(){return se})),n.d(r,"circOut",(function(){return ce})),n.d(r,"circInOut",(function(){return le})),n.d(r,"backIn",(function(){return ue})),n.d(r,"backOut",(function(){return fe})),n.d(r,"backInOut",(function(){return de})),n.d(r,"anticipate",(function(){return pe})),n.d(r,"bounceOut",(function(){return he})),n.d(r,"bounceIn",(function(){return me})),n.d(r,"bounceInOut",(function(){return be})),n.d(r,"cubicBezier",(function(){return xe}));var i=n(3),o=n(0);var a=0,s="undefined"!=typeof window&&void 0!==window.requestAnimationFrame?function(e){return window.requestAnimationFrame(e)}:function(e){var t=Date.now(),n=Math.max(0,16.7-(t-a));a=t+n,setTimeout((function(){return e(a)}),n)},c=1/60*1e3,l=!0,u=!1,f=!1,d={delta:0,timestamp:0},p=["read","update","preRender","render","postRender"],h=function(e){return u=e},m=p.reduce((function(e,t){var n,r,i,o,a,s,c,l,u;return e[t]=(n=h,r=[],i=[],o=0,a=!1,s=0,c=new WeakSet,l=new WeakSet,u={cancel:function(e){var t=i.indexOf(e);c.add(e),-1!==t&&i.splice(t,1)},process:function(e){var t,f;if(a=!0,r=(t=[i,r])[0],(i=t[1]).length=0,o=r.length)for(s=0;s4?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),t+=t,n+=n,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:1}}}),W={test:function(e){return"string"==typeof e&&T.test(e)||U(e)||F(e)},parse:function(e){return H.test(e)?H.parse(e):$.test(e)?$.parse(e):K.test(e)?K.parse(e):e},transform:function(e){return U(e)?H.transform(e):F(e)?$.transform(e):e}},G=function(e){return"number"==typeof e?0:e},J={test:function(e){if("string"!=typeof e||!isNaN(e))return!1;var t=0,n=e.match(O),r=e.match(E);return n&&(t+=n.length),r&&(t+=r.length),t>0},parse:function(e){var t=e,n=[],r=t.match(E);r&&(t=t.replace(E,"${c}"),n.push.apply(n,r.map(W.parse)));var i=t.match(O);return i&&n.push.apply(n,i.map(A.parse)),n},createTransformer:function(e){var t=e,n=0,r=e.match(E),i=r?r.length:0;if(r)for(var o=0;o=.001?function(t,r){for(var i=0,o=0;i<8;++i){if(0===(o=_e(r,e,n)))return r;r-=(ke(r,e,n)-t)/o}return r}(t,o):0===a?o:function(t,r,i){var o,a,s=0;do{(o=ke(a=r+(i-r)/2,e,n)-t)>0?i=a:r=a}while(Math.abs(o)>1e-7&&++s<10);return a}(t,s,s+.1)};!function(){for(var t=0;t<11;++t)i[t]=ke(.1*t,e,n)}();return function(i){return e===t&&n===r?i:0===i?0:1===i?1:ke(o(i),t,r)}}var Se={x:0,y:0,z:0},Oe=function(e){return"number"==typeof e},Ee=function(e){return function(t,n,r){return void 0!==r?e(t,n,r):function(r){return e(t,n,r)}}},Te=Ee((function(e,t,n){return Math.min(Math.max(n,e),t)})),Ae=function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")},Me=function(e){return Ae(e)&&e.hasOwnProperty("z")},Ie=function(e,t){return Math.abs(e-t)},Pe=function(e,t){if(void 0===t&&(t=Se),Oe(e)&&Oe(t))return Ie(e,t);if(Ae(e)&&Ae(t)){var n=Ie(e.x,t.x),r=Ie(e.y,t.y),i=Me(e)&&Me(t)?Ie(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(i,2))}return 0},Ce=function(e,t,n){var r=t-e;return 0===r?1:(n-e)/r},je=function(e,t,n){return-n*e+n*t+e},De=function(){return(De=Object.assign||function(e){for(var t,n=1,r=arguments.length;np||i<-p;r(o?v+i:v),o||(y.update(w),n())}),!0);return{stop:function(){return y.update(w)}}}))}),{from:A.test,modifyTarget:function(e){return"function"==typeof e},velocity:A.test}),Qt=Wt((function(e){return void 0===e&&(e={}),Ut((function(t){var n=t.update,r=t.complete,i=e.velocity,o=void 0===i?0:i,a=e.from,s=void 0===a?0:a,c=e.to,l=void 0===c?0:c,u=e.stiffness,f=void 0===u?100:u,d=e.damping,p=void 0===d?10:d,h=e.mass,m=void 0===h?1:h,b=e.restSpeed,g=void 0===b?.01:b,v=e.restDelta,w=void 0===v?.01:v,_=o?-o/1e3:0,x=0,S=l-s,O=s,E=O,T=k.update((function(e){var t=e.delta;x+=t;var i=p/(2*Math.sqrt(f*m)),a=Math.sqrt(f/m)/1e3;if(E=O,i<1){var s=Math.exp(-i*a*x),c=a*Math.sqrt(1-i*i);O=l-s*((_+i*a*S)/c*Math.sin(c*x)+S*Math.cos(c*x))}else{s=Math.exp(-a*x);O=l-s*(S+(_+a*S)*x)}o=Je(O-E,t);var u=Math.abs(o)<=g,d=Math.abs(l-O)<=w;u&&d?(n(O=l),y.update(T),r()):n(O)}),!0);return{stop:function(){return y.update(T)}}}))}),{from:A.test,to:A.test,stiffness:A.test,damping:A.test,mass:A.test,velocity:A.test}),Yt=Wt((function(e){var t=e.from,n=void 0===t?0:t,r=e.velocity,o=void 0===r?0:r,a=e.min,s=e.max,c=e.power,l=void 0===c?.8:c,u=e.timeConstant,f=void 0===u?700:u,d=e.bounceStiffness,p=void 0===d?500:d,h=e.bounceDamping,m=void 0===h?10:h,b=e.restDelta,y=void 0===b?1:b,g=e.modifyTarget;return Ut((function(e){var t,r=e.update,c=e.complete,u=n,d=n,h=!1,b=function(e){return void 0!==a&&e<=a},v=function(e){return void 0!==s&&e>=s},w=function(e){return b(e)||v(e)},k=function(e){r(e),u=d,o=Je((d=e)-u,_().delta),t&&!h&&function(e,t){return b(e)&&t<0||v(e)&&t>0}(e,o)&&S({from:e,velocity:o})},x=function(e,n){t&&t.stop(),t=e.start({update:k,complete:function(){n?n():c()}})},S=function(e){h=!0,x(Qt(Object(i.a)({},e,{to:b(e.from)?a:s,stiffness:p,damping:m,restDelta:y})))};if(w(n))S({from:n,velocity:o});else if(0!==o){var O=Jt({from:n,velocity:o,timeConstant:f,power:l,restDelta:w(n)?20:y,modifyTarget:g});x(O,(function(){w(d)?S({from:d,velocity:o}):c()}))}else c();return{stop:function(){return t&&t.stop()}}}))}),{from:A.test,velocity:A.test,min:A.test,max:A.test,damping:A.test,stiffness:A.test,modifyTarget:function(e){return"function"==typeof e}}),Zt=Wt((function(e){var t=e.from,n=void 0===t?0:t,r=e.to,i=void 0===r?1:r,o=e.ease,a=void 0===o?re:o,s=e.reverseEase;return void 0!==s&&s&&(a=Z(a)),Ut((function(e){var t=e.update;return{seek:function(e){return t(e)}}})).pipe(a,(function(e){return je(n,i,e)}))}),{ease:function(e){return"function"==typeof e},from:A.test,to:A.test}),Xt=Te(0,1),en=function(e){return void 0===e&&(e={}),Ut((function(t){var n,r=t.update,i=t.complete,o=e.duration,a=void 0===o?300:o,s=e.ease,c=void 0===s?oe:s,l=e.flip,u=void 0===l?0:l,f=e.loop,d=void 0===f?0:f,p=e.yoyo,h=void 0===p?0:p,m=e.repeatDelay,b=void 0===m?0:m,g=e.from,v=void 0===g?0:g,w=e.to,_=void 0===w?1:w,x=e.elapsed,S=void 0===x?0:x,O=e.flipCount,E=void 0===O?0:O,T=e.yoyoCount,A=void 0===T?0:T,M=e.loopCount,I=void 0===M?0:M,P=Zt({from:v,to:_,ease:c}).start(r),C=0,j=!1,D=function(e){var t;void 0===e&&(e=!1),P=Zt({from:v=(t=[_,v])[0],to:_=t[1],ease:c,reverseEase:e}).start(r)},R=function(){C=Xt(Ce(0,a,S)),P.seek(C)},N=function(){j=!0,n=k.update((function(e){var t,r=e.delta;S+=r,R(),!(t=j&&S>a+b)||(!t||d||u||h)&&(S=S-a-b,d&&I=e[i]&&a[o].seek(1);for(var n=1;nt||n===i);n++);var s=Ce(e[n-1],e[n],t);a[n-1].seek(tn(s))}}(o,c,e)}))},rn=function(e,t,n){return Ut((function(r){var i=r.update,o=t.split(" ").map((function(t){return e.addEventListener(t,i,n),t}));return{stop:function(){return o.forEach((function(t){return e.removeEventListener(t,i,n)}))}}}))},on=function(){return{clientX:0,clientY:0,pageX:0,pageY:0,x:0,y:0}},an=function(e,t){return void 0===t&&(t={clientX:0,clientY:0,pageX:0,pageY:0,x:0,y:0}),t.clientX=t.x=e.clientX,t.clientY=t.y=e.clientY,t.pageX=e.pageX,t.pageY=e.pageY,t},sn=[on()];if("undefined"!=typeof document){rn(document,"touchstart touchmove",{passive:!0,capture:!0}).start((function(e){var t=e.touches;!0;var n=t.length;sn.length=0;for(var r=0;r=3;if(t||n){var o=e.point,a=_().timestamp;r.history.push(Object(i.a)(Object(i.a)({},o),{timestamp:a}));var s=r.handlers,c=s.onStart,l=s.onMove;t||(c&&c(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),l&&l(r.lastMoveEvent,e)}}},!(dr(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var a=Tr(mr(e),this.transformPagePoint),s=a.point,c=_().timestamp;this.history=[Object(i.a)(Object(i.a)({},s),{timestamp:c})];var l=t.onSessionStart;l&&l(e,Ar(a,this.history));var u=kr(window,"pointermove",(function(e,t){return r.handlePointerMove(e,t)})),f=kr(window,"pointerup",(function(e,t){return r.handlePointerUp(e,t)}));this.removeListeners=function(){u&&u(),f&&f()}}}return e.prototype.handlePointerMove=function(e,t){this.lastMoveEvent=e,this.lastMoveEventInfo=Tr(t,this.transformPagePoint),fr(e)&&0===e.buttons?this.handlePointerUp(e,t):k.update(this.updatePoint,!0)},e.prototype.handlePointerUp=function(e,t){this.end();var n=this.handlers.onEnd;if(n){var r=Ar(Tr(t,this.transformPagePoint),this.history);n&&n(e,r)}},e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),y.update(this.updatePoint),Or()},e}();function Tr(e,t){return t?{point:t(e.point)}:e}function Ar(e,t){var n=e.point;return{point:n,delta:br.subtract(n,Ir(t)),offset:br.subtract(n,Mr(t)),velocity:Pr(t,.1)}}function Mr(e){return e[0]}function Ir(e){return e[e.length-1]}function Pr(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,i=Ir(e);n>=0&&(r=e[n],!(i.timestamp-r.timestamp>$n(t)));)n--;if(!r)return{x:0,y:0};var o=(i.timestamp-r.timestamp)/1e3;if(0===o)return{x:0,y:0};var a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}var Cr=function(e,t){return!!t&&(e===t||Cr(e,t.parentElement))},jr=["whileHover","whileTap","whileDrag"],Dr=function(e){return jr.indexOf(e)+1};function Rr(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var Nr=Rr("dragHorizontal"),Br=Rr("dragVertical");function Lr(e){var t=!1;if("y"===e)t=Br();else if("x"===e)t=Nr();else{var n=Nr(),r=Br();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}var Ur=Dr("whileTap");var Fr=Dr("whileHover"),qr=function(e){return function(t,n){fr(t)&&e(t,n)}};function zr(e,t){!function(e,t){var n=e.onPan,r=e.onPanStart,i=e.onPanEnd,a=e.onPanSessionStart,s=n||r||i||a,c=Object(o.useRef)(null),l=Object(o.useContext)(cr).transformPagePoint,u={onSessionStart:a,onStart:r,onMove:n,onEnd:function(e,t){c.current=null,i&&i(e,t)}};Object(o.useEffect)((function(){null!==c.current&&c.current.updateHandlers(u)})),xr(t,"pointerdown",s&&function(e){c.current=new Er(e,u,{transformPagePoint:l})}),lr((function(){return c.current&&c.current.end()}))}(e,t),function(e,t){var n=e.onTap,r=e.onTapStart,i=e.onTapCancel,a=e.whileTap,s=e.controls,c=n||r||i||a,l=Object(o.useRef)(!1),u=Object(o.useRef)(null);function f(){u.current&&u.current(),u.current=null}a&&s&&s.setOverride(a,Ur);var d=Object(o.useRef)(null);d.current=function(e,r){var o=t.current;if(f(),l.current&&o){l.current=!1,s&&a&&s.clearOverride(Ur);var c=Lr(!0);c&&(c(),Cr(o,e.target)?n&&n(e,r):i&&i(e,r))}},xr(t,"pointerdown",c?function(e,n){f(),u.current=kr(window,"pointerup",(function(e,t){return d.current(e,t)})),t.current&&!l.current&&(l.current=!0,r&&r(e,n),s&&a&&s.startOverride(Ur))}:void 0),lr(f)}(e,t),function(e,t){var n=e.whileHover,r=e.onHoverStart,i=e.onHoverEnd,o=e.controls;n&&o&&o.setOverride(n,Fr),xr(t,"pointerenter",qr((function(e,t){r&&r(e,t),n&&o&&o.startOverride(Fr)}))),xr(t,"pointerleave",qr((function(e,t){i&&i(e,t),n&&o&&o.clearOverride(Fr)})))}(e,t)}var Vr=function(e){return function(t){return e(t),null}},Hr=["onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","whileTap","whileHover","onHoverStart","onHoverEnd"],$r={key:"gestures",shouldRender:function(e){return Hr.some((function(t){return e.hasOwnProperty(t)}))},Component:Vr((function(e){var t=e.innerRef;zr(Object(i.d)(e,["innerRef"]),t)}))},Kr=function(e){return"object"==typeof e&&e.hasOwnProperty("current")},Wr=function(e){return e},Gr=function(){function e(e){var t=e.ref,n=e.values,r=e.controls;this.isDragging=!1,this.currentDirection=null,this.constraints=!1,this.props={transformPagePoint:Wr},this.point={},this.origin={x:fn(0),y:fn(0)},this.openGlobalLock=null,this.panSession=null,this.prevConstraintsBox={width:0,height:0,x:0,y:0},this.ref=t,this.values=n,this.controls=r}return e.prototype.start=function(e,t){var n=this,r=(void 0===t?{}:t).snapToCursor;void 0!==r&&r&&this.snapToCursor(e);var i=this.props.transformPagePoint;this.panSession=new Er(e,{onSessionStart:function(){Sr=!0,Jr((function(e){var t=n.point[e];t&&t.stop()}))},onStart:function(e,t){if(n.constraintsNeedResolution){var r=n.props,i=r.dragConstraints,o=r.transformPagePoint;n.constraints=Xr(i,n.ref,n.point,o),n.applyConstraintsToPoint()}Jr((function(e){var t=n.point[e];t&&n.origin[e].set(t.get())}));var a=n.props,s=a.drag,c=a.dragPropagation;if(!s||c||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=Lr(s),n.openGlobalLock)){n.isDragging=!0,n.currentDirection=null;var l=n.props.onDragStart;l&&l(e,Qr(t,n.point))}},onMove:function(e,t){var r=n.props,i=r.dragPropagation,o=r.dragDirectionLock;if(i||n.openGlobalLock){var a=t.offset;if(o&&null===n.currentDirection){if(n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),null!==n.currentDirection){var s=n.props.onDirectionLock;s&&s(n.currentDirection)}}else{n.updatePoint("x",a),n.updatePoint("y",a);var c=n.props.onDrag;c&&c(e,Qr(t,n.point))}}},onEnd:function(e,t){n.stop(e,t)}},{transformPagePoint:i})},e.prototype.cancelDrag=function(){Or(),this.isDragging=!1,this.panSession&&this.panSession.end(),this.panSession=null,!this.props.dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null)},e.prototype.stop=function(e,t){var n;null===(n=this.panSession)||void 0===n||n.end(),this.panSession=null;var r=this.isDragging;if(this.cancelDrag(),r){var i=this.props,o=i.dragMomentum,a=i.dragElastic,s=i.onDragEnd;if(o||a){var c=t.velocity;this.animateDragEnd(c)}else this.recordBoxInfo(this.constraints);s&&s(e,Qr(t,this.point))}},e.prototype.recordBoxInfo=function(e){if(e){var t=e.right,n=e.left,r=e.bottom,i=e.top;this.prevConstraintsBox.width=(t||0)-(n||0),this.prevConstraintsBox.height=(r||0)-(i||0)}this.point.x&&(this.prevConstraintsBox.x=this.point.x.get()),this.point.y&&(this.prevConstraintsBox.y=this.point.y.get())},e.prototype.snapToCursor=function(e){var t=this,n=this.props.transformPagePoint,r=mr(e).point,i=ei(this.ref,n),o=i.width/2+i.left+window.scrollX,a=i.height/2+i.top+window.scrollY,s={x:r.x-o,y:r.y-a};Jr((function(e){var n=t.point[e];n&&t.origin[e].set(n.get())})),this.updatePoint("x",s),this.updatePoint("y",s)},e.prototype.setPoint=function(e,t){this.point[e]=t},e.prototype.updatePoint=function(e,t){var n=this.props,r=n.drag,i=n.dragElastic,o=this.point[e];if(Zr(e,r,this.currentDirection)&&o){var a=ni(e,this.origin[e].get()+t[e],this.constraints,i);o.set(a)}},e.prototype.updateProps=function(e){var t=this,n=e.drag,r=void 0!==n&&n,o=e.dragDirectionLock,a=void 0!==o&&o,s=e.dragPropagation,c=void 0!==s&&s,l=e.dragConstraints,u=void 0!==l&&l,f=e.dragElastic,d=void 0===f||f,p=e.dragMomentum,h=void 0===p||p,m=Object(i.d)(e,["drag","dragDirectionLock","dragPropagation","dragConstraints","dragElastic","dragMomentum"]);this.props=Object(i.a)({drag:r,dragDirectionLock:a,dragPropagation:c,dragConstraints:u,dragElastic:d,dragMomentum:h},m);var b=m._dragValueX,y=m._dragValueY,g=m.dragOriginX,v=m.dragOriginY;g&&(this.origin.x=g),v&&(this.origin.y=v),Jr((function(e){if(Zr(e,r,t.currentDirection)){var n="x"===e?b:y;t.setPoint(e,n||t.values.get(e,0))}})),this.constraintsNeedResolution=Kr(u),this.constraints=this.constraintsNeedResolution?this.constraints||!1:u},e.prototype.applyConstraintsToPoint=function(e){var t=this;return void 0===e&&(e=this.constraints),Jr((function(n){var r=t.point[n];r&&!r.isAnimating()&&ni(n,r,e,0)}))},e.prototype.animateDragEnd=function(e){var t=this,n=this.props,r=n.drag,o=n.dragMomentum,a=n.dragElastic,s=n.dragTransition,c=n._dragValueX,l=n._dragValueY,u=n._dragTransitionControls,f=Jr((function(n){var f;if(Zr(n,r,t.currentDirection)){var d=t.constraints?Yr(n,t.constraints):{},p=a?200:1e6,h=a?40:1e7,m=u||t.controls,b=Object(i.a)(Object(i.a)({type:"inertia",velocity:o?e[n]:0,bounceStiffness:p,bounceDamping:h,timeConstant:750,restDelta:1},s),d),y="x"===n?c:l;return y?Qn(n,y,0,b):m.start(((f={})[n]=0,f.transition=b,f))}}));return Promise.all(f).then((function(){t.recordBoxInfo(t.constraints),t.scalePoint();var e=t.props.onDragTransitionEnd;e&&e()}))},e.prototype.scalePoint=function(){var e=this,t=this.props,n=t.dragConstraints,r=t.transformPagePoint;if(Kr(n)){var i=ei(n,r),o=ei(this.ref,r),a=function(t,n){var r=e.point[t];if(r){if(r.isAnimating())return r.stop(),void e.recordBoxInfo();var a=e.prevConstraintsBox[n]?(i[n]-o[n])/e.prevConstraintsBox[n]:1;r.set(e.prevConstraintsBox[t]*a)}};a("x","width"),a("y","height")}},e.prototype.mount=function(e){var t=this,n=kr(e,"pointerdown",(function(e){var n=t.props,r=n.drag,i=n.dragListener;r&&(void 0===i||i)&&t.start(e)})),r=ur(window,"resize",(function(){return t.scalePoint()}));if(this.constraintsNeedResolution){var i=this.props,o=i.dragConstraints,a=i.transformPagePoint,s=Xr(o,this.ref,this.point,a);this.applyConstraintsToPoint(s),this.recordBoxInfo(s)}else!this.isDragging&&this.constraints&&this.applyConstraintsToPoint();return function(){n&&n(),r&&r(),t.cancelDrag()}},e}();function Jr(e){return[e("x"),e("y")]}function Qr(e,t){return Object(i.a)(Object(i.a)({},e),{point:{x:t.x?t.x.get():0,y:t.y?t.y.get():0}})}function Yr(e,t){var n=t.top,r=t.right,i=t.bottom,o=t.left;return"x"===e?{min:o,max:r}:{min:n,max:i}}function Zr(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}function Xr(e,t,n,r){null!==e.current&&t.current;var i=ei(e,r),o=ei(t,r),a=i.left-o.left+ti(n.x),s=i.top-o.top+ti(n.y);return{top:s,left:a,right:i.width-o.width+a,bottom:i.height-o.height+s}}function ei(e,t){var n=e.current.getBoundingClientRect(),r=t({x:n.left,y:n.top}),i=r.x,o=r.y,a=t({x:n.width,y:n.height});return{left:i,top:o,width:a.x,height:a.y}}function ti(e){return e?e.get():0}function ni(e,t,n,r){var i=t instanceof un?t.get():t;if(!n)return i;var o=Yr(e,n),a=o.min,s=o.max;return void 0!==a&&is&&(i=r?ri(s,i,r):Math.min(s,i)),t instanceof un&&t.set(i),i}function ri(e,t,n){return je(e,t,"number"==typeof n?n:.35)}var ii={key:"drag",shouldRender:function(e){return!!e.drag},Component:Vr((function(e){var t=e.innerRef,n=e.values,r=e.controls;return function(e,t,n,r){var a=e.dragControls,s=Object(o.useContext)(cr).transformPagePoint,c=dn((function(){return new Gr({ref:t,values:n,controls:r})}));c.updateProps(Object(i.a)(Object(i.a)({},e),{transformPagePoint:s})),Object(o.useEffect)((function(){return a&&a.subscribe(c)}),[c]),Object(o.useEffect)((function(){return c.mount(t.current)}),[])}(Object(i.d)(e,["innerRef","values","controls"]),t,n,r)}))};function oi(e){return"string"==typeof e&&e.startsWith("var(--")}var ai=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function si(e,t,n){void 0===n&&(n=1);var r=function(e){var t=ai.exec(e);return t?[t[1],t[2]]:[,]}(e),i=r[0],o=r[1];if(i){var a=window.getComputedStyle(t).getPropertyValue(i);return a||(oi(o)?si(o,t,n+1):o)}}var ci,li=new Set(["width","height","top","left","right","bottom","x","y"]),ui=function(e){return li.has(e)},fi=function(e,t){e.set(t,!1),e.set(t)},di=function(e){return e===A||e===D};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(ci||(ci={}));var pi=function(e,t){return parseFloat(e.split(", ")[t])},hi=function(e,t){return function(n,r){var i=r.transform;if("none"===i||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return pi(o[1],t);var a=i.match(/^matrix\((.+)\)$/);return a?pi(a[1],e):0}},mi=new Set(["x","y","z"]),bi=st.filter((function(e){return!mi.has(e)}));var yi={width:function(e){return e.width},height:function(e){return e.height},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.height,r=t.top;return parseFloat(r)+n},right:function(e,t){var n=e.width,r=t.left;return parseFloat(r)+n},x:hi(4,13),y:hi(5,14)},gi=function(e,t,n,r){void 0===r&&(r={}),n=Object(i.a)({},n),r=Object(i.a)({},r);var o=t.current,a=Rt(o),s=Object.keys(n).filter(ui),c=[],l=!1,u=s.reduce((function(t,i){var o=e.get(i);if(!o)return t;var s,u=o.get(),f=n[i],d=Dn(u);if(Mn(f))for(var p=f.length,h=null===f[0]?1:0;h=c.current;a&&e&&a()}},f=Object(o.useMemo)((function(){return l.current=0,function(){return c.current++,function(){return c.current--}}}),[r]);return Object(o.createElement)(Xn.Provider,{value:Object(i.a)(Object(i.a)({},u),{register:f})},t)};function lo(e){return e.key||""}var uo=function(e){var t=e.children,n=e.custom,r=e.initial,a=void 0===r||r,s=e.onExitComplete,c=e.exitBeforeEnter,l=_i(),u=Object(o.useContext)(Si)||l,f=Object(o.useRef)(!0),d=function(e){var t=[];return o.Children.forEach(e,(function(e){Object(o.isValidElement)(e)&&t.push(e)})),t}(t),p=Object(o.useRef)(d),h=Object(o.useRef)(new Map).current,m=Object(o.useRef)(new Set).current;if(function(e,t){e.forEach((function(e){var n=lo(e);t.set(n,e)}))}(d,h),f.current)return f.current=!1,Object(o.createElement)(o.Fragment,null,d.map((function(e){return Object(o.createElement)(co,{key:lo(e),isPresent:!0,initial:!!a&&void 0},e)})));for(var b=Object(i.f)(d),y=p.current.map(lo),g=d.map(lo),v=y.length,w=0;w>5,this.byteCount=this.blockCount<<2,this.outputBlocks=n>>5,this.extraBytes=(31&n)>>3;for(var r=0;r<50;++r)this.s[r]=0}function B(e,t,n){N.call(this,e,t,n)}N.prototype.update=function(e){if(this.finalized)throw new Error("finalize already called");var t,n=typeof e;if("string"!==n){if("object"!==n)throw new Error(a);if(null===e)throw new Error(a);if(d&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||d&&ArrayBuffer.isView(e)))throw new Error(a);t=!0}for(var r,i,o=this.blocks,s=this.byteCount,c=e.length,l=this.blockCount,u=0,f=this.s;u>2]|=e[u]<>2]|=i<>2]|=(192|i>>6)<>2]|=(128|63&i)<=57344?(o[r>>2]|=(224|i>>12)<>2]|=(128|i>>6&63)<>2]|=(128|63&i)<>2]|=(240|i>>18)<>2]|=(128|i>>12&63)<>2]|=(128|i>>6&63)<>2]|=(128|63&i)<=s){for(this.start=r-s,this.block=o[l],r=0;r>=8);n>0;)i.unshift(n),n=255&(e>>=8),++r;return t?i.push(r):i.unshift(r),this.update(i),i.length},N.prototype.encodeString=function(e){var t,n=typeof e;if("string"!==n){if("object"!==n)throw new Error(a);if(null===e)throw new Error(a);if(d&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||d&&ArrayBuffer.isView(e)))throw new Error(a);t=!0}var r=0,i=e.length;if(t)r=i;else for(var o=0;o=57344?r+=3:(s=65536+((1023&s)<<10|1023&e.charCodeAt(++o)),r+=4)}return r+=this.encode(8*r),this.update(e),r},N.prototype.bytepad=function(e,t){for(var n=this.encode(t),r=0;r>2]|=this.padding[3&t],this.lastByteIndex===this.byteCount)for(e[0]=e[n],t=1;t>4&15]+p[15&e]+p[e>>12&15]+p[e>>8&15]+p[e>>20&15]+p[e>>16&15]+p[e>>28&15]+p[e>>24&15];a%t==0&&(L(n),o=0)}return i&&(e=n[o],s+=p[e>>4&15]+p[15&e],i>1&&(s+=p[e>>12&15]+p[e>>8&15]),i>2&&(s+=p[e>>20&15]+p[e>>16&15])),s},N.prototype.arrayBuffer=function(){this.finalize();var e,t=this.blockCount,n=this.s,r=this.outputBlocks,i=this.extraBytes,o=0,a=0,s=this.outputBits>>3;e=i?new ArrayBuffer(r+1<<2):new ArrayBuffer(s);for(var c=new Uint32Array(e);a>8&255,c[e+2]=t>>16&255,c[e+3]=t>>24&255;s%n==0&&L(r)}return o&&(e=s<<2,t=r[a],c[e]=255&t,o>1&&(c[e+1]=t>>8&255),o>2&&(c[e+2]=t>>16&255)),c},B.prototype=new N,B.prototype.finalize=function(){return this.encode(this.outputBits,!0),N.prototype.finalize.call(this)};var L=function(e){var t,n,r,i,o,a,s,c,l,u,f,d,p,h,m,y,g,v,w,_,k,x,S,O,E,T,A,M,I,P,C,j,D,R,N,B,L,U,F,q,z,V,H,$,K,W,G,J,Q,Y,Z,X,ee,te,ne,re,ie,oe,ae,se,ce,le,ue;for(r=0;r<48;r+=2)i=e[0]^e[10]^e[20]^e[30]^e[40],o=e[1]^e[11]^e[21]^e[31]^e[41],a=e[2]^e[12]^e[22]^e[32]^e[42],s=e[3]^e[13]^e[23]^e[33]^e[43],c=e[4]^e[14]^e[24]^e[34]^e[44],l=e[5]^e[15]^e[25]^e[35]^e[45],u=e[6]^e[16]^e[26]^e[36]^e[46],f=e[7]^e[17]^e[27]^e[37]^e[47],t=(d=e[8]^e[18]^e[28]^e[38]^e[48])^(a<<1|s>>>31),n=(p=e[9]^e[19]^e[29]^e[39]^e[49])^(s<<1|a>>>31),e[0]^=t,e[1]^=n,e[10]^=t,e[11]^=n,e[20]^=t,e[21]^=n,e[30]^=t,e[31]^=n,e[40]^=t,e[41]^=n,t=i^(c<<1|l>>>31),n=o^(l<<1|c>>>31),e[2]^=t,e[3]^=n,e[12]^=t,e[13]^=n,e[22]^=t,e[23]^=n,e[32]^=t,e[33]^=n,e[42]^=t,e[43]^=n,t=a^(u<<1|f>>>31),n=s^(f<<1|u>>>31),e[4]^=t,e[5]^=n,e[14]^=t,e[15]^=n,e[24]^=t,e[25]^=n,e[34]^=t,e[35]^=n,e[44]^=t,e[45]^=n,t=c^(d<<1|p>>>31),n=l^(p<<1|d>>>31),e[6]^=t,e[7]^=n,e[16]^=t,e[17]^=n,e[26]^=t,e[27]^=n,e[36]^=t,e[37]^=n,e[46]^=t,e[47]^=n,t=u^(i<<1|o>>>31),n=f^(o<<1|i>>>31),e[8]^=t,e[9]^=n,e[18]^=t,e[19]^=n,e[28]^=t,e[29]^=n,e[38]^=t,e[39]^=n,e[48]^=t,e[49]^=n,h=e[0],m=e[1],W=e[11]<<4|e[10]>>>28,G=e[10]<<4|e[11]>>>28,M=e[20]<<3|e[21]>>>29,I=e[21]<<3|e[20]>>>29,se=e[31]<<9|e[30]>>>23,ce=e[30]<<9|e[31]>>>23,V=e[40]<<18|e[41]>>>14,H=e[41]<<18|e[40]>>>14,R=e[2]<<1|e[3]>>>31,N=e[3]<<1|e[2]>>>31,y=e[13]<<12|e[12]>>>20,g=e[12]<<12|e[13]>>>20,J=e[22]<<10|e[23]>>>22,Q=e[23]<<10|e[22]>>>22,P=e[33]<<13|e[32]>>>19,C=e[32]<<13|e[33]>>>19,le=e[42]<<2|e[43]>>>30,ue=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,ne=e[4]<<30|e[5]>>>2,B=e[14]<<6|e[15]>>>26,L=e[15]<<6|e[14]>>>26,v=e[25]<<11|e[24]>>>21,w=e[24]<<11|e[25]>>>21,Y=e[34]<<15|e[35]>>>17,Z=e[35]<<15|e[34]>>>17,j=e[45]<<29|e[44]>>>3,D=e[44]<<29|e[45]>>>3,O=e[6]<<28|e[7]>>>4,E=e[7]<<28|e[6]>>>4,re=e[17]<<23|e[16]>>>9,ie=e[16]<<23|e[17]>>>9,U=e[26]<<25|e[27]>>>7,F=e[27]<<25|e[26]>>>7,_=e[36]<<21|e[37]>>>11,k=e[37]<<21|e[36]>>>11,X=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,$=e[8]<<27|e[9]>>>5,K=e[9]<<27|e[8]>>>5,T=e[18]<<20|e[19]>>>12,A=e[19]<<20|e[18]>>>12,oe=e[29]<<7|e[28]>>>25,ae=e[28]<<7|e[29]>>>25,q=e[38]<<8|e[39]>>>24,z=e[39]<<8|e[38]>>>24,x=e[48]<<14|e[49]>>>18,S=e[49]<<14|e[48]>>>18,e[0]=h^~y&v,e[1]=m^~g&w,e[10]=O^~T&M,e[11]=E^~A&I,e[20]=R^~B&U,e[21]=N^~L&F,e[30]=$^~W&J,e[31]=K^~G&Q,e[40]=te^~re&oe,e[41]=ne^~ie&ae,e[2]=y^~v&_,e[3]=g^~w&k,e[12]=T^~M&P,e[13]=A^~I&C,e[22]=B^~U&q,e[23]=L^~F&z,e[32]=W^~J&Y,e[33]=G^~Q&Z,e[42]=re^~oe&se,e[43]=ie^~ae&ce,e[4]=v^~_&x,e[5]=w^~k&S,e[14]=M^~P&j,e[15]=I^~C&D,e[24]=U^~q&V,e[25]=F^~z&H,e[34]=J^~Y&X,e[35]=Q^~Z&ee,e[44]=oe^~se&le,e[45]=ae^~ce&ue,e[6]=_^~x&h,e[7]=k^~S&m,e[16]=P^~j&O,e[17]=C^~D&E,e[26]=q^~V&R,e[27]=z^~H&N,e[36]=Y^~X&$,e[37]=Z^~ee&K,e[46]=se^~le&te,e[47]=ce^~ue&ne,e[8]=x^~h&y,e[9]=S^~m&g,e[18]=j^~O&T,e[19]=D^~E&A,e[28]=V^~R&B,e[29]=H^~N&L,e[38]=X^~$&W,e[39]=ee^~K&G,e[48]=le^~te&re,e[49]=ue^~ne&ie,e[0]^=b[r],e[1]^=b[r+1]};if(u)e.exports=A;else{for(I=0;I=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(449),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(12))},function(e,t,n){"use strict";var r=t,i=n(27),o=n(824),a=n(1021);r.assert=o,r.toArray=a.toArray,r.zero2=a.zero2,r.toHex=a.toHex,r.encode=a.encode,r.getNAF=function(e,t,n){var r=new Array(Math.max(e.bitLength(),n)+1);r.fill(0);for(var i=1<(i>>1)-1?(i>>1)-c:c,o.isubn(s)):s=0,r[a]=s,o.iushrn(1)}return r},r.getJSF=function(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var r=0,i=0;e.cmpn(-r)>0||t.cmpn(-i)>0;){var o,a,s,c=e.andln(3)+r&3,l=t.andln(3)+i&3;if(3===c&&(c=-1),3===l&&(l=-1),0==(1&c))o=0;else o=3!==(s=e.andln(7)+r&7)&&5!==s||2!==l?c:-c;if(n[0].push(o),0==(1&l))a=0;else a=3!==(s=t.andln(7)+i&7)&&5!==s||2!==c?l:-l;n[1].push(a),2*r===o+1&&(r=1-r),2*i===a+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return n},r.cachedProperty=function(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(e){return"string"==typeof e?r.toArray(e,"hex"):e},r.intFromLE=function(e){return new i(e,"hex","le")}},function(e,t,n){"use strict";var r=n(1442),i=n(1443);e.exports={errors:r,formatters:i}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(37),i=n(1355);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(0),i=n.n(r),o=n(1050),a=n.n(o),s=n(10),c=n.n(s);const l=e=>{const{children:t}=e;return i.a.createElement("div",{className:c()(a.a.container,e.className),style:e.style},t)}},function(e,t,n){"use strict";var r=function(){for(var e=0,t=0,n=arguments.length;t=0;d--){var p=a[d];"."===p?o(a,d):".."===p?(o(a,d),f++):f&&(o(a,d),f--)}if(!l)for(;f--;f)a.unshift("..");!l||""===a[0]||a[0]&&i(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var c=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=s(t),i=s(n);return r!==t||i!==n?e(r,i):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},l=n(218);function u(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function d(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function m(e,t,n,i){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(o=Object(r.a)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),i?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=a(o.pathname,i.pathname)):o.pathname=i.pathname:o.pathname||(o.pathname="/"),o}function b(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&c(e.state,t.state)}function y(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=m(e,t,d(),w.location);u.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,f({action:"REPLACE",location:r}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=w.index+e;return t>=0&&t0?Math.floor(e):Math.ceil(e)}function b(e,n){var r,i,o=e.length,a=n.length,s=new Array(o),c=0,l=t;for(i=0;i=l?1:0,s[i]=r-c*l;for(;i0&&s.push(c),s}function y(e,t){return e.length>=t.length?b(e,t):b(t,e)}function g(e,n){var r,i,o=e.length,a=new Array(o),s=t;for(i=0;i0;)a[i++]=n%s,n=Math.floor(n/s);return a}function v(e,t){var n,r,i=e.length,o=t.length,a=new Array(i),s=0;for(n=0;n0;)a[i++]=c%s,c=Math.floor(c/s);return a}function x(e,t){for(var n=[];t-- >0;)n.push(0);return n.concat(e)}function S(e,n,r){return new s(e=0;--n)i=(o=1e7*i+e[n])-(r=m(o/t))*t,s[n]=0|r;return[s,0|i]}function T(e,n){var r,i=$(n);if(o)return[new l(e.value/i.value),new l(e.value%i.value)];var u,b=e.value,y=i.value;if(0===y)throw new Error("Cannot divide by zero");if(e.isSmall)return i.isSmall?[new c(m(b/y)),new c(b%y)]:[a[0],e];if(i.isSmall){if(1===y)return[e,a[0]];if(-1==y)return[e.negate(),a[0]];var g=Math.abs(y);if(g=0;i--){for(r=p-1,g[i+f]!==b&&(r=Math.floor((g[i+f]*p+g[i+f-1])/b)),o=0,a=0,c=v.length,s=0;sc&&(i=1e7*(i+1)),n=Math.ceil(i/o);do{if(A(a=k(t,n),u)<=0)break;n--}while(n);l.push(n),u=v(u,a)}return l.reverse(),[d(l),d(u)]}(b,y))[0];var x=e.sign!==i.sign,S=r[1],O=e.sign;return"number"==typeof u?(x&&(u=-u),u=new c(u)):u=new s(u,x),"number"==typeof S?(O&&(S=-S),S=new c(S)):S=new s(S,O),[u,S]}function A(e,t){if(e.length!==t.length)return e.length>t.length?1:-1;for(var n=e.length-1;n>=0;n--)if(e[n]!==t[n])return e[n]>t[n]?1:-1;return 0}function M(e){var t=e.abs();return!t.isUnit()&&(!!(t.equals(2)||t.equals(3)||t.equals(5))||!(t.isEven()||t.isDivisibleBy(3)||t.isDivisibleBy(5))&&(!!t.lesser(49)||void 0))}function I(e,t){for(var n,r,o,a=e.prev(),s=a,c=0;s.isEven();)s=s.divide(2),c++;e:for(r=0;r=0?r=v(e,t):(r=v(t,e),n=!n),"number"==typeof(r=d(r))?(n&&(r=-r),new c(r)):new s(r,n)}(n,r,this.sign)},s.prototype.minus=s.prototype.subtract,c.prototype.subtract=function(e){var t=$(e),n=this.value;if(n<0!==t.sign)return this.add(t.negate());var r=t.value;return t.isSmall?new c(n-r):w(r,Math.abs(n),n>=0)},c.prototype.minus=c.prototype.subtract,l.prototype.subtract=function(e){return new l(this.value-$(e).value)},l.prototype.minus=l.prototype.subtract,s.prototype.negate=function(){return new s(this.value,!this.sign)},c.prototype.negate=function(){var e=this.sign,t=new c(-this.value);return t.sign=!e,t},l.prototype.negate=function(){return new l(-this.value)},s.prototype.abs=function(){return new s(this.value,!1)},c.prototype.abs=function(){return new c(Math.abs(this.value))},l.prototype.abs=function(){return new l(this.value>=0?this.value:-this.value)},s.prototype.multiply=function(e){var n,r,i,o=$(e),c=this.value,l=o.value,u=this.sign!==o.sign;if(o.isSmall){if(0===l)return a[0];if(1===l)return this;if(-1===l)return this.negate();if((n=Math.abs(l))0?function e(t,n){var r=Math.max(t.length,n.length);if(r<=30)return _(t,n);r=Math.ceil(r/2);var i=t.slice(r),o=t.slice(0,r),a=n.slice(r),s=n.slice(0,r),c=e(o,s),l=e(i,a),u=e(y(o,i),y(s,a)),f=y(y(c,x(v(v(u,c),l),r)),x(l,2*r));return p(f),f}(c,l):_(c,l),u)},s.prototype.times=s.prototype.multiply,c.prototype._multiplyBySmall=function(e){return u(e.value*this.value)?new c(e.value*this.value):S(Math.abs(e.value),f(Math.abs(this.value)),this.sign!==e.sign)},s.prototype._multiplyBySmall=function(e){return 0===e.value?a[0]:1===e.value?this:-1===e.value?this.negate():S(Math.abs(e.value),this.value,this.sign!==e.sign)},c.prototype.multiply=function(e){return $(e)._multiplyBySmall(this)},c.prototype.times=c.prototype.multiply,l.prototype.multiply=function(e){return new l(this.value*$(e).value)},l.prototype.times=l.prototype.multiply,s.prototype.square=function(){return new s(O(this.value),!1)},c.prototype.square=function(){var e=this.value*this.value;return u(e)?new c(e):new s(O(f(Math.abs(this.value))),!1)},l.prototype.square=function(e){return new l(this.value*this.value)},s.prototype.divmod=function(e){var t=T(this,e);return{quotient:t[0],remainder:t[1]}},l.prototype.divmod=c.prototype.divmod=s.prototype.divmod,s.prototype.divide=function(e){return T(this,e)[0]},l.prototype.over=l.prototype.divide=function(e){return new l(this.value/$(e).value)},c.prototype.over=c.prototype.divide=s.prototype.over=s.prototype.divide,s.prototype.mod=function(e){return T(this,e)[1]},l.prototype.mod=l.prototype.remainder=function(e){return new l(this.value%$(e).value)},c.prototype.remainder=c.prototype.mod=s.prototype.remainder=s.prototype.mod,s.prototype.pow=function(e){var t,n,r,i=$(e),o=this.value,s=i.value;if(0===s)return a[1];if(0===o)return a[0];if(1===o)return a[1];if(-1===o)return i.isEven()?a[1]:a[-1];if(i.sign)return a[0];if(!i.isSmall)throw new Error("The exponent "+i.toString()+" is too large.");if(this.isSmall&&u(t=Math.pow(o,s)))return new c(m(t));for(n=this,r=a[1];!0&s&&(r=r.times(n),--s),0!==s;)s/=2,n=n.square();return r},c.prototype.pow=s.prototype.pow,l.prototype.pow=function(e){var t=$(e),n=this.value,r=t.value,i=BigInt(0),o=BigInt(1),s=BigInt(2);if(r===i)return a[1];if(n===i)return a[0];if(n===o)return a[1];if(n===BigInt(-1))return t.isEven()?a[1]:a[-1];if(t.isNegative())return new l(i);for(var c=this,u=a[1];(r&o)===o&&(u=u.times(c),--r),r!==i;)r/=s,c=c.square();return u},s.prototype.modPow=function(e,t){if(e=$(e),(t=$(t)).isZero())throw new Error("Cannot take modPow with modulus 0");var n=a[1],r=this.mod(t);for(e.isNegative()&&(e=e.multiply(a[-1]),r=r.modInv(t));e.isPositive();){if(r.isZero())return a[0];e.isOdd()&&(n=n.multiply(r).mod(t)),e=e.divide(2),r=r.square().mod(t)}return n},l.prototype.modPow=c.prototype.modPow=s.prototype.modPow,s.prototype.compareAbs=function(e){var t=$(e),n=this.value,r=t.value;return t.isSmall?1:A(n,r)},c.prototype.compareAbs=function(e){var t=$(e),n=Math.abs(this.value),r=t.value;return t.isSmall?n===(r=Math.abs(r))?0:n>r?1:-1:-1},l.prototype.compareAbs=function(e){var t=this.value,n=$(e).value;return(t=t>=0?t:-t)===(n=n>=0?n:-n)?0:t>n?1:-1},s.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=$(e),n=this.value,r=t.value;return this.sign!==t.sign?t.sign?1:-1:t.isSmall?this.sign?-1:1:A(n,r)*(this.sign?-1:1)},s.prototype.compareTo=s.prototype.compare,c.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=$(e),n=this.value,r=t.value;return t.isSmall?n==r?0:n>r?1:-1:n<0!==t.sign?n<0?-1:1:n<0?1:-1},c.prototype.compareTo=c.prototype.compare,l.prototype.compare=function(e){if(e===1/0)return-1;if(e===-1/0)return 1;var t=this.value,n=$(e).value;return t===n?0:t>n?1:-1},l.prototype.compareTo=l.prototype.compare,s.prototype.equals=function(e){return 0===this.compare(e)},l.prototype.eq=l.prototype.equals=c.prototype.eq=c.prototype.equals=s.prototype.eq=s.prototype.equals,s.prototype.notEquals=function(e){return 0!==this.compare(e)},l.prototype.neq=l.prototype.notEquals=c.prototype.neq=c.prototype.notEquals=s.prototype.neq=s.prototype.notEquals,s.prototype.greater=function(e){return this.compare(e)>0},l.prototype.gt=l.prototype.greater=c.prototype.gt=c.prototype.greater=s.prototype.gt=s.prototype.greater,s.prototype.lesser=function(e){return this.compare(e)<0},l.prototype.lt=l.prototype.lesser=c.prototype.lt=c.prototype.lesser=s.prototype.lt=s.prototype.lesser,s.prototype.greaterOrEquals=function(e){return this.compare(e)>=0},l.prototype.geq=l.prototype.greaterOrEquals=c.prototype.geq=c.prototype.greaterOrEquals=s.prototype.geq=s.prototype.greaterOrEquals,s.prototype.lesserOrEquals=function(e){return this.compare(e)<=0},l.prototype.leq=l.prototype.lesserOrEquals=c.prototype.leq=c.prototype.lesserOrEquals=s.prototype.leq=s.prototype.lesserOrEquals,s.prototype.isEven=function(){return 0==(1&this.value[0])},c.prototype.isEven=function(){return 0==(1&this.value)},l.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},s.prototype.isOdd=function(){return 1==(1&this.value[0])},c.prototype.isOdd=function(){return 1==(1&this.value)},l.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},s.prototype.isPositive=function(){return!this.sign},c.prototype.isPositive=function(){return this.value>0},l.prototype.isPositive=c.prototype.isPositive,s.prototype.isNegative=function(){return this.sign},c.prototype.isNegative=function(){return this.value<0},l.prototype.isNegative=c.prototype.isNegative,s.prototype.isUnit=function(){return!1},c.prototype.isUnit=function(){return 1===Math.abs(this.value)},l.prototype.isUnit=function(){return this.abs().value===BigInt(1)},s.prototype.isZero=function(){return!1},c.prototype.isZero=function(){return 0===this.value},l.prototype.isZero=function(){return this.value===BigInt(0)},s.prototype.isDivisibleBy=function(e){var t=$(e);return!t.isZero()&&(!!t.isUnit()||(0===t.compareAbs(2)?this.isEven():this.mod(t).isZero()))},l.prototype.isDivisibleBy=c.prototype.isDivisibleBy=s.prototype.isDivisibleBy,s.prototype.isPrime=function(e){var t=M(this);if(void 0!==t)return t;var n=this.abs(),r=n.bitLength();if(r<=64)return I(n,[2,3,5,7,11,13,17,19,23,29,31,37]);for(var o=Math.log(2)*r.toJSNumber(),a=Math.ceil(!0===e?2*Math.pow(o,2):o),s=[],c=0;c-n?new c(e-1):new s(r,!0)},l.prototype.prev=function(){return new l(this.value-BigInt(1))};for(var P=[1];2*P[P.length-1]<=t;)P.push(2*P[P.length-1]);var C=P.length,j=P[C-1];function D(e){return Math.abs(e)<=t}function R(e,t,n){t=$(t);for(var r=e.isNegative(),o=t.isNegative(),a=r?e.not():e,s=o?t.not():t,c=0,l=0,u=null,f=null,d=[];!a.isZero()||!s.isZero();)c=(u=T(a,j))[1].toJSNumber(),r&&(c=j-1-c),l=(f=T(s,j))[1].toJSNumber(),o&&(l=j-1-l),a=u[0],s=f[0],d.push(n(c,l));for(var p=0!==n(r?1:0,o?1:0)?i(-1):i(0),h=d.length-1;h>=0;h-=1)p=p.multiply(j).add(i(d[h]));return p}s.prototype.shiftLeft=function(e){var t=$(e).toJSNumber();if(!D(t))throw new Error(String(t)+" is too large for shifting.");if(t<0)return this.shiftRight(-t);var n=this;if(n.isZero())return n;for(;t>=C;)n=n.multiply(j),t-=C-1;return n.multiply(P[t])},l.prototype.shiftLeft=c.prototype.shiftLeft=s.prototype.shiftLeft,s.prototype.shiftRight=function(e){var t,n=$(e).toJSNumber();if(!D(n))throw new Error(String(n)+" is too large for shifting.");if(n<0)return this.shiftLeft(-n);for(var r=this;n>=C;){if(r.isZero()||r.isNegative()&&r.isUnit())return r;r=(t=T(r,j))[1].isNegative()?t[0].prev():t[0],n-=C-1}return(t=T(r,P[n]))[1].isNegative()?t[0].prev():t[0]},l.prototype.shiftRight=c.prototype.shiftRight=s.prototype.shiftRight,s.prototype.not=function(){return this.negate().prev()},l.prototype.not=c.prototype.not=s.prototype.not,s.prototype.and=function(e){return R(this,e,(function(e,t){return e&t}))},l.prototype.and=c.prototype.and=s.prototype.and,s.prototype.or=function(e){return R(this,e,(function(e,t){return e|t}))},l.prototype.or=c.prototype.or=s.prototype.or,s.prototype.xor=function(e){return R(this,e,(function(e,t){return e^t}))},l.prototype.xor=c.prototype.xor=s.prototype.xor;function N(e){var n=e.value,r="number"==typeof n?n|1<<30:"bigint"==typeof n?n|BigInt(1<<30):n[0]+n[1]*t|1073758208;return r&-r}function B(e,t){return e=$(e),t=$(t),e.greater(t)?e:t}function L(e,t){return e=$(e),t=$(t),e.lesser(t)?e:t}function U(e,t){if(e=$(e).abs(),t=$(t).abs(),e.equals(t))return e;if(e.isZero())return t;if(t.isZero())return e;for(var n,r,i=a[1];e.isEven()&&t.isEven();)n=L(N(e),N(t)),e=e.divide(n),t=t.divide(n),i=i.multiply(n);for(;e.isEven();)e=e.divide(N(e));do{for(;t.isEven();)t=t.divide(N(t));e.greater(t)&&(r=t,t=e,e=r),t=t.subtract(e)}while(!t.isZero());return i.isUnit()?e:e.multiply(i)}s.prototype.bitLength=function(){var e=this;return e.compareTo(i(0))<0&&(e=e.negate().subtract(i(1))),0===e.compareTo(i(0))?i(0):i(function e(t,n){if(n.compareTo(t)<=0){var r=e(t,n.square(n)),o=r.p,a=r.e,s=o.multiply(n);return s.compareTo(t)<=0?{p:s,e:2*a+1}:{p:o,e:2*a}}return{p:i(1),e:0}}(e,i(2)).e).add(i(1))},l.prototype.bitLength=c.prototype.bitLength=s.prototype.bitLength;var F=function(e,t,n,r){n=n||"0123456789abcdefghijklmnopqrstuvwxyz",e=String(e),r||(e=e.toLowerCase(),n=n.toLowerCase());var i,o=e.length,a=Math.abs(t),s={};for(i=0;i=a)){if("1"===u&&1===a)continue;throw new Error(u+" is not a valid digit in base "+t+".")}}t=$(t);var c=[],l="-"===e[0];for(i=l?1:0;i"!==e[i]&&i=0;r--)i=i.add(e[r].times(o)),o=o.times(t);return n?i.negate():i}function z(e,t){if((t=i(t)).isZero()){if(e.isZero())return{value:[0],isNegative:!1};throw new Error("Cannot convert nonzero numbers to base 0.")}if(t.equals(-1)){if(e.isZero())return{value:[0],isNegative:!1};if(e.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-e.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var n=Array.apply(null,Array(e.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return n.unshift([1]),{value:[].concat.apply([],n),isNegative:!1}}var r=!1;if(e.isNegative()&&t.isPositive()&&(r=!0,e=e.abs()),t.isUnit())return e.isZero()?{value:[0],isNegative:!1}:{value:Array.apply(null,Array(e.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:r};for(var o,a=[],s=e;s.isNegative()||s.compareAbs(t)>=0;){o=s.divmod(t),s=o.quotient;var c=o.remainder;c.isNegative()&&(c=t.minus(c).abs(),s=s.next()),a.push(c.toJSNumber())}return a.push(s.toJSNumber()),{value:a.reverse(),isNegative:r}}function V(e,t,n){var r=z(e,t);return(r.isNegative?"-":"")+r.value.map((function(e){return function(e,t){return e<(t=t||"0123456789abcdefghijklmnopqrstuvwxyz").length?t[e]:"<"+e+">"}(e,n)})).join("")}function H(e){if(u(+e)){var t=+e;if(t===m(t))return o?new l(BigInt(t)):new c(t);throw new Error("Invalid integer: "+e)}var n="-"===e[0];n&&(e=e.slice(1));var r=e.split(/e/i);if(r.length>2)throw new Error("Invalid integer: "+r.join("e"));if(2===r.length){var i=r[1];if("+"===i[0]&&(i=i.slice(1)),(i=+i)!==m(i)||!u(i))throw new Error("Invalid integer: "+i+" is not a valid exponent.");var a=r[0],f=a.indexOf(".");if(f>=0&&(i-=a.length-f-1,a=a.slice(0,f)+a.slice(f+1)),i<0)throw new Error("Cannot include negative exponent part for integers");e=a+=new Array(i+1).join("0")}if(!/^([0-9][0-9]*)$/.test(e))throw new Error("Invalid integer: "+e);if(o)return new l(BigInt(n?"-"+e:e));for(var d=[],h=e.length,b=h-7;h>0;)d.push(+e.slice(b,h)),(b-=7)<0&&(b=0),h-=7;return p(d),new s(d,n)}function $(e){return"number"==typeof e?function(e){if(o)return new l(BigInt(e));if(u(e)){if(e!==m(e))throw new Error(e+" is not an integer.");return new c(e)}return H(e.toString())}(e):"string"==typeof e?H(e):"bigint"==typeof e?new l(e):e}s.prototype.toArray=function(e){return z(this,e)},c.prototype.toArray=function(e){return z(this,e)},l.prototype.toArray=function(e){return z(this,e)},s.prototype.toString=function(e,t){if(void 0===e&&(e=10),10!==e)return V(this,e,t);for(var n,r=this.value,i=r.length,o=String(r[--i]);--i>=0;)n=String(r[i]),o+="0000000".slice(n.length)+n;return(this.sign?"-":"")+o},c.prototype.toString=function(e,t){return void 0===e&&(e=10),10!=e?V(this,e,t):String(this.value)},l.prototype.toString=c.prototype.toString,l.prototype.toJSON=s.prototype.toJSON=c.prototype.toJSON=function(){return this.toString()},s.prototype.valueOf=function(){return parseInt(this.toString(),10)},s.prototype.toJSNumber=s.prototype.valueOf,c.prototype.valueOf=function(){return this.value},c.prototype.toJSNumber=c.prototype.valueOf,l.prototype.valueOf=l.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};for(var K=0;K<1e3;K++)a[K]=$(K),K>0&&(a[-K]=$(-K));return a.one=a[1],a.zero=a[0],a.minusOne=a[-1],a.max=B,a.min=L,a.gcd=U,a.lcm=function(e,t){return e=$(e).abs(),t=$(t).abs(),e.divide(U(e,t)).multiply(t)},a.isInstance=function(e){return e instanceof s||e instanceof c||e instanceof l},a.randBetween=function(e,n,r){e=$(e),n=$(n);var i=r||Math.random,o=L(e,n),s=B(e,n).subtract(o).add(1);if(s.isSmall)return o.add(Math.floor(i()*s));for(var c=z(s,t).value,l=[],u=!0,f=0;fnew r.Coin(e.denom,e.amount))}static amountOf(e,t){const n=e.find(e=>e.denom===t);return n?n.amount:new i.Int(0)}static exclude(e,t){return e.filter(e=>0===t.indexOf(e.denom))}static concat(...e){if(0===e.length)return[];return e.slice().reduce((e,t)=>{const n=e.find(e=>e.denom===t.denom);if(n){const i=new r.Coin(n.denom,n.amount.add(t.amount));e.push(i)}else{const n=new r.Coin(t.denom,t.amount);e.push(n)}return e},[])}static getCoinFromDecimals(e,t,n){const i=e.find(e=>e.coinDenom===n);if(!i)throw new Error("Invalid currency");let a=new o.Dec(1);for(let e=0;ee.coinMinimalDenom===t.denom);n||(n={coinDecimals:0,coinDenom:t.denom,coinMinimalDenom:t.denom});let r=new o.Dec(1);for(let e=0;e0?".":"")+f}static coinToTrimmedString(e,t,n=" "){const r=new o.Dec(e.amount).quoTruncate(a.DecUtils.getPrecisionDec(t.coinDecimals));return`${a.DecUtils.trim(r)}${n}${t.coinDenom}`}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Coin=void 0;const r=n(116);class i{constructor(e,t){this.denom=e,this.amount=t instanceof r.Int?t:new r.Int(t)}static parse(e){const t=new RegExp("([0-9]+)[ ]*([a-zA-Z]+)").exec(e);if(!t||3!==t.length)throw new Error("Invalid coin str");const n=t[2],r=t[1];return new i(n,r)}toString(){return`${this.amount.toString()}${this.denom}`}}t.Coin=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TendermintTxTracer=void 0;const r=n(425),i=n(2);t.TendermintTxTracer=class{constructor(e,t,n={}){this.url=e,this.wsEndpoint=t,this.options=n,this.newBlockSubscribes=[],this.txSubscribes=new Map,this.pendingQueries=new Map,this.listeners={},this.onOpen=e=>{var t;this.newBlockSubscribes.length>0&&this.sendSubscribeBlockRpc();for(const[e,t]of this.txSubscribes)this.sendSubscribeTxRpc(e,t.hash);for(const[e,t]of this.pendingQueries)this.sendQueryRpc(e,t.method,t.params);for(const n of null!==(t=this.listeners.open)&&void 0!==t?t:[])n(e)},this.onMessage=e=>{var t,n,r,i,o;for(const n of null!==(t=this.listeners.message)&&void 0!==t?t:[])n(e);if(e.data)try{const t=JSON.parse(e.data);if((null==t?void 0:t.id)&&this.pendingQueries.has(t.id)&&(t.error?this.pendingQueries.get(t.id).rejector(new Error(t.error.data||t.error.message)):this.pendingQueries.get(t.id).resolver(t.result),this.pendingQueries.delete(t.id)),"tendermint/event/NewBlock"===(null===(r=null===(n=null==t?void 0:t.result)||void 0===n?void 0:n.data)||void 0===r?void 0:r.type))for(const e of this.newBlockSubscribes)e.handler(t.result.data.value);"tendermint/event/Tx"===(null===(o=null===(i=null==t?void 0:t.result)||void 0===i?void 0:i.data)||void 0===o?void 0:o.type)&&(null==t?void 0:t.id)&&this.txSubscribes.has(t.id)&&(t.error?this.txSubscribes.get(t.id).rejector(new Error(t.error.data||t.error.message)):this.txSubscribes.get(t.id).resolver(t.result.data.value.TxResult.result),this.txSubscribes.delete(t.id))}catch(e){console.log("Tendermint websocket jsonrpc response is not JSON: "+(e.message||e.toString()))}},this.onClose=e=>{var t;for(const n of null!==(t=this.listeners.close)&&void 0!==t?t:[])n(e)},this.ws=this.options.wsObject?new this.options.wsObject(this.getWsEndpoint()):new WebSocket(this.getWsEndpoint()),this.ws.onopen=this.onOpen,this.ws.onmessage=this.onMessage,this.ws.onclose=this.onClose}getWsEndpoint(){let e=this.url;if(e.startsWith("http")&&(e=e.replace("http","ws")),!e.endsWith(this.wsEndpoint)){const t=this.wsEndpoint.startsWith("/")?this.wsEndpoint:"/"+this.wsEndpoint;e=e.endsWith("/")?e+t.slice(1):e+t}return e}close(){this.ws.close()}get readyState(){switch(this.ws.readyState){case 0:return r.WsReadyState.CONNECTING;case 1:return r.WsReadyState.OPEN;case 2:return r.WsReadyState.CLOSING;case 3:return r.WsReadyState.CLOSED;default:return r.WsReadyState.NONE}}addEventListener(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)}subscribeBlock(e){this.newBlockSubscribes.push({handler:e}),1===this.newBlockSubscribes.length&&this.sendSubscribeBlockRpc()}sendSubscribeBlockRpc(){this.readyState===r.WsReadyState.OPEN&&this.ws.send(JSON.stringify({jsonrpc:"2.0",method:"subscribe",params:["tm.event='NewBlock'"],id:1}))}traceTx(e){return new Promise(t=>{this.queryTx(e).then(t).catch(()=>{}),this.subscribeTx(e).then(t)})}subscribeTx(e){const t=this.createRandomId();return new Promise((n,r)=>{this.txSubscribes.set(t,{hash:e,resolver:n,rejector:r}),this.sendSubscribeTxRpc(t,e)})}sendSubscribeTxRpc(e,t){this.readyState===r.WsReadyState.OPEN&&this.ws.send(JSON.stringify({jsonrpc:"2.0",method:"subscribe",params:[`tm.event='Tx' AND tx.hash='${i.Buffer.from(t).toString("hex").toUpperCase()}'`],id:e}))}queryTx(e){return this.query("tx",[i.Buffer.from(e).toString("base64"),!1])}query(e,t){const n=this.createRandomId();return new Promise((r,i)=>{this.pendingQueries.set(n,{method:e,params:t,resolver:r,rejector:i}),this.sendQueryRpc(n,e,t)})}sendQueryRpc(e,t,n){this.readyState===r.WsReadyState.OPEN&&this.ws.send(JSON.stringify({jsonrpc:"2.0",method:t,params:n,id:e}))}createRandomId(){return parseInt(Array.from({length:6}).map(()=>Math.floor(100*Math.random())).join(""))}}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProtoCodec=t.ProtoCodec=void 0;const o=n(118),a=n(118),s=n(241);i(n(241),t);class c{constructor(){this.typeUrlMap=new Map}unpackAny(e){const t=new o.google.protobuf.Any(e);return this.typeUrlMap.has(t.type_url)?this.typeUrlMap.get(t.type_url).decode(t.value):new s.UnknownMessage(t.type_url,t.value)}registerAny(e,t){this.typeUrlMap.set(e,t)}}t.ProtoCodec=c,t.defaultProtoCodec=new c,t.defaultProtoCodec.registerAny("/cosmos.bank.v1beta1.MsgSend",a.cosmos.bank.v1beta1.MsgSend),t.defaultProtoCodec.registerAny("/cosmos.staking.v1beta1.MsgDelegate",a.cosmos.staking.v1beta1.MsgDelegate),t.defaultProtoCodec.registerAny("/cosmos.staking.v1beta1.MsgUndelegate",a.cosmos.staking.v1beta1.MsgUndelegate),t.defaultProtoCodec.registerAny("/cosmos.staking.v1beta1.MsgBeginRedelegate",a.cosmos.staking.v1beta1.MsgBeginRedelegate)},function(e,t,n){"use strict";e.exports=f;var r,i=n(64),o=i.LongBits,a=i.base64,s=i.utf8;function c(e,t,n){this.fn=e,this.len=t,this.next=void 0,this.val=n}function l(){}function u(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function f(){this.len=0,this.head=new c(l,0,0),this.tail=this.head,this.states=null}var d=function(){return i.Buffer?function(){return(f.create=function(){return new r})()}:function(){return new f}};function p(e,t,n){t[n]=255&e}function h(e,t){this.len=e,this.next=void 0,this.val=t}function m(e,t,n){for(;e.hi;)t[n++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[n++]=127&e.lo|128,e.lo=e.lo>>>7;t[n++]=e.lo}function b(e,t,n){t[n]=255&e,t[n+1]=e>>>8&255,t[n+2]=e>>>16&255,t[n+3]=e>>>24}f.create=d(),f.alloc=function(e){return new i.Array(e)},i.Array!==Array&&(f.alloc=i.pool(f.alloc,i.Array.prototype.subarray)),f.prototype._push=function(e,t,n){return this.tail=this.tail.next=new c(e,t,n),this.len+=t,this},h.prototype=Object.create(c.prototype),h.prototype.fn=function(e,t,n){for(;e>127;)t[n++]=127&e|128,e>>>=7;t[n]=e},f.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new h((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},f.prototype.int32=function(e){return e<0?this._push(m,10,o.fromNumber(e)):this.uint32(e)},f.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},f.prototype.uint64=function(e){var t=o.from(e);return this._push(m,t.length(),t)},f.prototype.int64=f.prototype.uint64,f.prototype.sint64=function(e){var t=o.from(e).zzEncode();return this._push(m,t.length(),t)},f.prototype.bool=function(e){return this._push(p,1,e?1:0)},f.prototype.fixed32=function(e){return this._push(b,4,e>>>0)},f.prototype.sfixed32=f.prototype.fixed32,f.prototype.fixed64=function(e){var t=o.from(e);return this._push(b,4,t.lo)._push(b,4,t.hi)},f.prototype.sfixed64=f.prototype.fixed64,f.prototype.float=function(e){return this._push(i.float.writeFloatLE,4,e)},f.prototype.double=function(e){return this._push(i.float.writeDoubleLE,8,e)};var y=i.Array.prototype.set?function(e,t,n){t.set(e,n)}:function(e,t,n){for(var r=0;r>>0;if(!t)return this._push(p,1,0);if(i.isString(e)){var n=f.alloc(t=a.length(e));a.decode(e,n,0),e=n}return this.uint32(t)._push(y,t,e)},f.prototype.string=function(e){var t=s.length(e);return t?this.uint32(t)._push(s.write,t,e):this._push(p,1,0)},f.prototype.fork=function(){return this.states=new u(this),this.head=this.tail=new c(l,0,0),this.len=0,this},f.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new c(l,0,0),this.len=0),this},f.prototype.ldelim=function(){var e=this.head,t=this.tail,n=this.len;return this.reset().uint32(n),n&&(this.tail.next=e.next,this.tail=t,this.len+=n),this},f.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),n=0;e;)e.fn(e.val,t,n),n+=e.len,e=e.next;return t},f._configure=function(e){r=e,f.create=d(),r._configure()}},function(e,t,n){"use strict";e.exports=c;var r,i=n(64),o=i.LongBits,a=i.utf8;function s(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function c(e){this.buf=e,this.pos=0,this.len=e.length}var l,u="undefined"!=typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new c(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new c(e);throw Error("illegal buffer")},f=function(){return i.Buffer?function(e){return(c.create=function(e){return i.Buffer.isBuffer(e)?new r(e):u(e)})(e)}:u};function d(){var e=new o(0,0),t=0;if(!(this.len-this.pos>4)){for(;t<3;++t){if(this.pos>=this.len)throw s(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;if(t=0,this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw s(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function p(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function h(){if(this.pos+8>this.len)throw s(this,8);return new o(p(this.buf,this.pos+=4),p(this.buf,this.pos+=4))}c.create=f(),c.prototype._slice=i.Array.prototype.subarray||i.Array.prototype.slice,c.prototype.uint32=(l=4294967295,function(){if(l=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return l;if(l=(l|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return l;if(l=(l|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return l;if(l=(l|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return l;if(l=(l|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return l;if((this.pos+=5)>this.len)throw this.pos=this.len,s(this,10);return l}),c.prototype.int32=function(){return 0|this.uint32()},c.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},c.prototype.bool=function(){return 0!==this.uint32()},c.prototype.fixed32=function(){if(this.pos+4>this.len)throw s(this,4);return p(this.buf,this.pos+=4)},c.prototype.sfixed32=function(){if(this.pos+4>this.len)throw s(this,4);return 0|p(this.buf,this.pos+=4)},c.prototype.float=function(){if(this.pos+4>this.len)throw s(this,4);var e=i.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},c.prototype.double=function(){if(this.pos+8>this.len)throw s(this,4);var e=i.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},c.prototype.bytes=function(){var e=this.uint32(),t=this.pos,n=this.pos+e;if(n>this.len)throw s(this,e);return this.pos+=e,Array.isArray(this.buf)?this.buf.slice(t,n):t===n?new this.buf.constructor(0):this._slice.call(this.buf,t,n)},c.prototype.string=function(){var e=this.bytes();return a.read(e,0,e.length)},c.prototype.skip=function(e){if("number"==typeof e){if(this.pos+e>this.len)throw s(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw s(this)}while(128&this.buf[this.pos++]);return this},c.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(e=7&this.uint32());)this.skipType(e);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},c._configure=function(e){r=e,c.create=f(),r._configure();var t=i.Long?"toLong":"toNumber";i.merge(c.prototype,{int64:function(){return d.call(this)[t](!1)},uint64:function(){return d.call(this)[t](!0)},sint64:function(){return d.call(this).zzDecode()[t](!1)},fixed64:function(){return h.call(this)[t](!0)},sfixed64:function(){return h.call(this)[t](!1)}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnknownMessage=void 0;const r=n(2);t.UnknownMessage=class{constructor(e,t){this._typeUrl=e,this._value=t}get typeUrl(){return this._typeUrl}get value(){return this._value}toJSON(){return{type_url:this._typeUrl,value:r.Buffer.from(this._value).toString("base64")}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProtoSignDocDecoder=void 0;const r=n(118),i=n(238);class o{constructor(e,t=i.defaultProtoCodec){this.signDoc=e,this.protoCodec=t}static decode(e){return new o(r.cosmos.tx.v1beta1.SignDoc.decode(e))}get txBody(){return this._txBody||(this._txBody=r.cosmos.tx.v1beta1.TxBody.decode(this.signDoc.bodyBytes)),this._txBody}get txMsgs(){const e=[];for(const t of this.txBody.messages)e.push(this.protoCodec.unpackAny(t));return e}get authInfo(){return this._authInfo||(this._authInfo=r.cosmos.tx.v1beta1.AuthInfo.decode(this.signDoc.authInfoBytes)),this._authInfo}get chainId(){return this.signDoc.chainId}get accountNumber(){return this.signDoc.accountNumber.toString()}toBytes(){return r.cosmos.tx.v1beta1.SignDoc.encode(this.signDoc).finish()}toJSON(){return{txBody:Object.assign(Object.assign({},this.txBody.toJSON()),{messages:this.txMsgs.map(e=>e&&e.toJSON?e.toJSON():e)}),authInfo:this.authInfo.toJSON(),chainId:this.chainId,accountNumber:this.accountNumber}}}t.ProtoSignDocDecoder=o},function(e,t,n){"use strict";(function(t,r){var i=n(119);e.exports=v;var o,a=n(237);v.ReadableState=g;n(51).EventEmitter;var s=function(e,t){return e.listeners(t).length},c=n(244),l=n(153).Buffer,u=t.Uint8Array||function(){};var f=Object.create(n(95));f.inherits=n(4);var d=n(446),p=void 0;p=d&&d.debuglog?d.debuglog("stream"):function(){};var h,m=n(447),b=n(245);f.inherits(v,c);var y=["error","close","destroy","pause","resume"];function g(e,t){e=e||{};var r=t instanceof(o=o||n(65));this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,a=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(h||(h=n(66).StringDecoder),this.decoder=new h(e.encoding),this.encoding=e.encoding)}function v(e){if(o=o||n(65),!(this instanceof v))return new v(e);this._readableState=new g(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function w(e,t,n,r,i){var o,a=e._readableState;null===t?(a.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,x(e)}(e,a)):(i||(o=function(e,t){var n;r=t,l.isBuffer(r)||r instanceof u||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):_(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?_(e,a,t,!1):O(e,a)):_(e,a,t,!1))):r||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function x(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(S,e):S(e))}function S(e){p("emit readable"),e.emit("readable"),M(e)}function O(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(E,e,t))}function E(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;eo.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=l.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function P(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(C,t,e))}function C(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function j(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return p("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?P(this):x(this),null;if(0===(e=k(e,t))&&t.ended)return 0===t.length&&P(this),null;var r,i=t.needReadable;return p("need readable",i),(0===t.length||t.length-e0?I(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&P(this)),null!==r&&this.emit("data",r),r},v.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,p("pipe count=%d opts=%j",o.pipesCount,t);var c=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?u:v;function l(t,r){p("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,p("cleanup"),e.removeListener("close",y),e.removeListener("finish",g),e.removeListener("drain",f),e.removeListener("error",b),e.removeListener("unpipe",l),n.removeListener("end",u),n.removeListener("end",v),n.removeListener("data",m),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function u(){p("onend"),e.end()}o.endEmitted?i.nextTick(c):n.once("end",c),e.on("unpipe",l);var f=function(e){return function(){var t=e._readableState;p("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,M(e))}}(n);e.on("drain",f);var d=!1;var h=!1;function m(t){p("ondata"),h=!1,!1!==e.write(t)||h||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==j(o.pipes,e))&&!d&&(p("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,h=!0),n.pause())}function b(t){p("onerror",t),v(),e.removeListener("error",b),0===s(e,"error")&&e.emit("error",t)}function y(){e.removeListener("finish",g),v()}function g(){p("onfinish"),e.removeListener("close",y),v()}function v(){p("unpipe"),n.unpipe(e)}return n.on("data",m),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",b),e.once("close",y),e.once("finish",g),e.emit("pipe",n),o.flowing||(p("pipe resume"),n.resume()),e},v.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},function(e,t,n){"use strict";var r=n(49),i=n(96),o=n(247),a=n(32),s=r.sum32,c=r.sum32_4,l=r.sum32_5,u=o.ch32,f=o.maj32,d=o.s0_256,p=o.s1_256,h=o.g0_256,m=o.g1_256,b=i.BlockHash,y=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function g(){if(!(this instanceof g))return new g;b.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=y,this.W=new Array(64)}r.inherits(g,b),e.exports=g,g.blockSize=512,g.outSize=256,g.hmacStrength=192,g.padLength=64,g.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r=this._blockSize;){for(var o=this._blockOffset;o0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return t},o.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=o},function(e,t,n){"use strict";(function(t,r){var i;e.exports=O,O.ReadableState=S;n(51).EventEmitter;var o=function(e,t){return e.listeners(t).length},a=n(252),s=n(2).Buffer,c=t.Uint8Array||function(){};var l,u=n(459);l=u&&u.debuglog?u.debuglog("stream"):function(){};var f,d,p,h=n(460),m=n(253),b=n(254).getHighWaterMark,y=n(73).codes,g=y.ERR_INVALID_ARG_TYPE,v=y.ERR_STREAM_PUSH_AFTER_EOF,w=y.ERR_METHOD_NOT_IMPLEMENTED,_=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(4)(O,a);var k=m.errorOrDestroy,x=["error","close","destroy","pause","resume"];function S(e,t,r){i=i||n(74),e=e||{},"boolean"!=typeof r&&(r=t instanceof i),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=b(this,e,"readableHighWaterMark",r),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=n(66).StringDecoder),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function O(e){if(i=i||n(74),!(this instanceof O))return new O(e);var t=this instanceof i;this._readableState=new S(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function E(e,t,n,r,i){l("readableAddChunk",t);var o,a=e._readableState;if(null===t)a.reading=!1,function(e,t){if(l("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?M(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,I(e)))}(e,a);else if(i||(o=function(e,t){var n;r=t,s.isBuffer(r)||r instanceof c||"string"==typeof t||void 0===t||e.objectMode||(n=new g("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(a,t)),o)k(e,o);else if(a.objectMode||t&&t.length>0)if("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),r)a.endEmitted?k(e,new _):T(e,a,t,!0);else if(a.ended)k(e,new v);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?T(e,a,t,!1):P(e,a)):T(e,a,t,!1)}else r||(a.reading=!1,P(e,a));return!a.ended&&(a.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function M(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(I,e))}function I(e){var t=e._readableState;l("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,N(e)}function P(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(C,e,t))}function C(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function D(e){l("readable nexttick read 0"),e.read(0)}function R(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),N(e),t.flowing&&!t.reading&&e.read(0)}function N(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function B(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function L(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(U,t,e))}function U(e,t){if(l("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function F(e,t){for(var n=0,r=e.length;n=t.highWaterMark:t.length>0)||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?L(this):M(this),null;if(0===(e=A(e,t))&&t.ended)return 0===t.length&&L(this),null;var r,i=t.needReadable;return l("need readable",i),(0===t.length||t.length-e0?B(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&L(this)),null!==r&&this.emit("data",r),r},O.prototype._read=function(e){k(this,new w("_read()"))},O.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,l("pipe count=%d opts=%j",i.pipesCount,t);var a=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?c:b;function s(t,r){l("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,l("cleanup"),e.removeListener("close",h),e.removeListener("finish",m),e.removeListener("drain",u),e.removeListener("error",p),e.removeListener("unpipe",s),n.removeListener("end",c),n.removeListener("end",b),n.removeListener("data",d),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function c(){l("onend"),e.end()}i.endEmitted?r.nextTick(a):n.once("end",a),e.on("unpipe",s);var u=function(e){return function(){var t=e._readableState;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,N(e))}}(n);e.on("drain",u);var f=!1;function d(t){l("ondata");var r=e.write(t);l("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==F(i.pipes,e))&&!f&&(l("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function p(t){l("onerror",t),b(),e.removeListener("error",p),0===o(e,"error")&&k(e,t)}function h(){e.removeListener("finish",m),b()}function m(){l("onfinish"),e.removeListener("close",h),b()}function b(){l("unpipe"),n.unpipe(e)}return n.on("data",d),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",p),e.once("close",h),e.once("finish",m),e.emit("pipe",n),i.flowing||(l("pipe resume"),n.resume()),e},O.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,l("on readable",i.length,i.reading),i.length?M(this):i.reading||r.nextTick(D,this))),n},O.prototype.addListener=O.prototype.on,O.prototype.removeListener=function(e,t){var n=a.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(j,this),n},O.prototype.removeAllListeners=function(e){var t=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||r.nextTick(j,this),t},O.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(R,e,t))}(this,e)),e.paused=!1,this},O.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},O.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(l("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(l("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),O.prototype._write=function(e,t,n){n(new m("_write()"))},O.prototype._writev=null,O.prototype.end=function(e,t,n){var i=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,n){t.ending=!0,P(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,i,n),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),O.prototype.destroy=f.destroy,O.prototype._undestroy=f.undestroy,O.prototype._destroy=function(e,t){t(e)}}).call(this,n(12),n(13))},function(e,t,n){"use strict";e.exports=u;var r=n(73).codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,c=n(74);function l(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function d(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function p(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}r(c,i),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,h=0|this._f,m=0|this._g,b=0|this._h,y=0;y<16;++y)n[y]=e.readInt32BE(4*y);for(;y<64;++y)n[y]=0|(((t=n[y-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+n[y-7]+p(n[y-15])+n[y-16];for(var g=0;g<64;++g){var v=b+d(c)+l(c,h,m)+a[g]+n[g]|0,w=f(r)+u(r,i,o)|0;b=m,m=h,h=c,c=s+v|0,s=o,o=i,i=r,r=v+w|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0,this._f=h+this._f|0,this._g=m+this._g|0,this._h=b+this._h|0},c.prototype._hash=function(){var e=o.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=c},function(e,t,n){var r=n(4),i=n(77),o=n(7).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function c(){this.init(),this._w=s,i.call(this,128,112)}function l(e,t,n){return n^e&(t^n)}function u(e,t,n){return e&t|n&(e|t)}function f(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function d(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function b(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function y(e,t){return e>>>0>>0?1:0}r(c,i),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(e){for(var t=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,c=0|this._fh,g=0|this._gh,v=0|this._hh,w=0|this._al,_=0|this._bl,k=0|this._cl,x=0|this._dl,S=0|this._el,O=0|this._fl,E=0|this._gl,T=0|this._hl,A=0;A<32;A+=2)t[A]=e.readInt32BE(4*A),t[A+1]=e.readInt32BE(4*A+4);for(;A<160;A+=2){var M=t[A-30],I=t[A-30+1],P=p(M,I),C=h(I,M),j=m(M=t[A-4],I=t[A-4+1]),D=b(I,M),R=t[A-14],N=t[A-14+1],B=t[A-32],L=t[A-32+1],U=C+N|0,F=P+R+y(U,C)|0;F=(F=F+j+y(U=U+D|0,D)|0)+B+y(U=U+L|0,L)|0,t[A]=F,t[A+1]=U}for(var q=0;q<160;q+=2){F=t[q],U=t[q+1];var z=u(n,r,i),V=u(w,_,k),H=f(n,w),$=f(w,n),K=d(s,S),W=d(S,s),G=a[q],J=a[q+1],Q=l(s,c,g),Y=l(S,O,E),Z=T+W|0,X=v+K+y(Z,T)|0;X=(X=(X=X+Q+y(Z=Z+Y|0,Y)|0)+G+y(Z=Z+J|0,J)|0)+F+y(Z=Z+U|0,U)|0;var ee=$+V|0,te=H+z+y(ee,$)|0;v=g,T=E,g=c,E=O,c=s,O=S,s=o+X+y(S=x+Z|0,x)|0,o=i,x=k,i=r,k=_,r=n,_=w,n=X+te+y(w=Z+ee|0,Z)|0}this._al=this._al+w|0,this._bl=this._bl+_|0,this._cl=this._cl+k|0,this._dl=this._dl+x|0,this._el=this._el+S|0,this._fl=this._fl+O|0,this._gl=this._gl+E|0,this._hl=this._hl+T|0,this._ah=this._ah+n+y(this._al,w)|0,this._bh=this._bh+r+y(this._bl,_)|0,this._ch=this._ch+i+y(this._cl,k)|0,this._dh=this._dh+o+y(this._dl,x)|0,this._eh=this._eh+s+y(this._el,S)|0,this._fh=this._fh+c+y(this._fl,O)|0,this._gh=this._gh+g+y(this._gl,E)|0,this._hh=this._hh+v+y(this._hl,T)|0},c.prototype._hash=function(){var e=o.allocUnsafe(64);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=c},function(e,t,n){var r=n(156);e.exports=function(e){return(new r).update(e).digest()}},function(e){e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},function(e,t){var n=Math.pow(2,30)-1;e.exports=function(e,t){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>n||t!=t)throw new TypeError("Bad key length")}},function(e,t,n){(function(t){var n;if(t.browser)n="utf-8";else if(t.version){n=parseInt(t.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else n="utf-8";e.exports=n}).call(this,n(13))},function(e,t,n){var r=n(259),i=n(75),o=n(76),a=n(7).Buffer,s=n(261),c=n(262),l=n(264),u=a.alloc(128),f={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function d(e,t,n){var s=function(e){function t(t){return o(e).update(t).digest()}return"rmd160"===e||"ripemd160"===e?function(e){return(new i).update(e).digest()}:"md5"===e?r:t}(e),c="sha512"===e||"sha384"===e?128:64;t.length>c?t=s(t):t.length>>0},t.writeUInt32BE=function(e,t,n){e[0+n]=t>>>24,e[1+n]=t>>>16&255,e[2+n]=t>>>8&255,e[3+n]=255&t},t.ip=function(e,t,n,r){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1}n[r+0]=i>>>0,n[r+1]=o>>>0},t.rip=function(e,t,n,r){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=t>>>s+a&1,i<<=1,i|=e>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=t>>>s+a&1,o<<=1,o|=e>>>s+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},t.pc1=function(e,t,n,r){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},t.r28shl=function(e,t){return e<>>28-t};var r=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,n,i){for(var o=0,a=0,s=r.length>>>1,c=0;c>>r[c]&1;for(c=s;c>>r[c]&1;n[i+0]=o>>>0,n[i+1]=a>>>0},t.expand=function(e,t,n){var r=0,i=0;r=(1&e)<<5|e>>>27;for(var o=23;o>=15;o-=4)r<<=6,r|=e>>>o&63;for(o=11;o>=3;o-=4)i|=e>>>o&63,i<<=6;i|=(31&e)<<1|e>>>31,t[n+0]=r>>>0,t[n+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var n=0,r=0;r<4;r++){n<<=4,n|=i[64*r+(e>>>18-6*r&63)]}for(r=0;r<4;r++){n<<=4,n|=i[256+64*r+(t>>>18-6*r&63)]}return n>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,n=0;n>>o[n]&1;return t>>>0},t.padSplit=function(e,t,n){for(var r=e.toString(2);r.length>>1];n=o.r28shl(n,s),i=o.r28shl(i,s),o.pc2(n,i,e.keys,a)}},c.prototype._update=function(e,t,n,r){var i=this._desState,a=o.readUInt32BE(e,t),s=o.readUInt32BE(e,t+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(n,a,r),o.writeUInt32BE(n,s,r+4)},c.prototype._pad=function(e,t){for(var n=e.length-t,r=t;r>>0,a=d}o.rip(s,a,r,i)},c.prototype._decrypt=function(e,t,n,r,i){for(var a=n,s=t,c=e.keys.length-2;c>=0;c-=2){var l=e.keys[c],u=e.keys[c+1];o.expand(a,e.tmp,0),l^=e.tmp[0],u^=e.tmp[1];var f=o.substitute(l,u),d=a;a=(s^o.permute(f))>>>0,s=d}o.rip(a,s,r,i)}},function(e,t,n){var r=n(98),i=n(7).Buffer,o=n(268);function a(e){var t=e._cipher.encryptBlockRaw(e._prev);return o(e._prev),t}t.encrypt=function(e,t){var n=Math.ceil(t.length/16),o=e._cache.length;e._cache=i.concat([e._cache,i.allocUnsafe(16*n)]);for(var s=0;se;)n.ishrn(1);if(n.isEven()&&n.iadd(s),n.testn(1)||n.iadd(c),t.cmp(c)){if(!t.cmp(l))for(;n.mod(u).cmp(f);)n.iadd(p)}else for(;n.mod(o).cmp(d);)n.iadd(p);if(b(h=n.shrn(1))&&b(n)&&y(h)&&y(n)&&a.test(h)&&a.test(n))return n}}},function(e,t,n){var r=n(6),i=n(161);function o(e){this.rand=e||new i.Rand}e.exports=o,o.create=function(e){return new o(e)},o.prototype._randbelow=function(e){var t=e.bitLength(),n=Math.ceil(t/8);do{var i=new r(this.rand.generate(n))}while(i.cmp(e)>=0);return i},o.prototype._randrange=function(e,t){var n=t.sub(e);return e.add(this._randbelow(n))},o.prototype.test=function(e,t,n){var i=e.bitLength(),o=r.mont(e),a=new r(1).toRed(o);t||(t=Math.max(1,i/48|0));for(var s=e.subn(1),c=0;!s.testn(c);c++);for(var l=e.shrn(c),u=s.toRed(o);t>0;t--){var f=this._randrange(new r(2),s);n&&n(f);var d=f.toRed(o).redPow(l);if(0!==d.cmp(a)&&0!==d.cmp(u)){for(var p=1;p0;t--){var u=this._randrange(new r(2),a),f=e.gcd(u);if(0!==f.cmpn(1))return f;var d=u.toRed(i).redPow(c);if(0!==d.cmp(o)&&0!==d.cmp(l)){for(var p=1;p0)if("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),r)a.endEmitted?k(e,new _):T(e,a,t,!0);else if(a.ended)k(e,new v);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?T(e,a,t,!1):P(e,a)):T(e,a,t,!1)}else r||(a.reading=!1,P(e,a));return!a.ended&&(a.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function M(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(I,e))}function I(e){var t=e._readableState;l("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,N(e)}function P(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(C,e,t))}function C(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function D(e){l("readable nexttick read 0"),e.read(0)}function R(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),N(e),t.flowing&&!t.reading&&e.read(0)}function N(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function B(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function L(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(U,t,e))}function U(e,t){if(l("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function F(e,t){for(var n=0,r=e.length;n=t.highWaterMark:t.length>0)||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?L(this):M(this),null;if(0===(e=A(e,t))&&t.ended)return 0===t.length&&L(this),null;var r,i=t.needReadable;return l("need readable",i),(0===t.length||t.length-e0?B(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&L(this)),null!==r&&this.emit("data",r),r},O.prototype._read=function(e){k(this,new w("_read()"))},O.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,l("pipe count=%d opts=%j",i.pipesCount,t);var a=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?c:b;function s(t,r){l("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,l("cleanup"),e.removeListener("close",h),e.removeListener("finish",m),e.removeListener("drain",u),e.removeListener("error",p),e.removeListener("unpipe",s),n.removeListener("end",c),n.removeListener("end",b),n.removeListener("data",d),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function c(){l("onend"),e.end()}i.endEmitted?r.nextTick(a):n.once("end",a),e.on("unpipe",s);var u=function(e){return function(){var t=e._readableState;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,N(e))}}(n);e.on("drain",u);var f=!1;function d(t){l("ondata");var r=e.write(t);l("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==F(i.pipes,e))&&!f&&(l("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function p(t){l("onerror",t),b(),e.removeListener("error",p),0===o(e,"error")&&k(e,t)}function h(){e.removeListener("finish",m),b()}function m(){l("onfinish"),e.removeListener("close",h),b()}function b(){l("unpipe"),n.unpipe(e)}return n.on("data",d),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",p),e.once("close",h),e.once("finish",m),e.emit("pipe",n),i.flowing||(l("pipe resume"),n.resume()),e},O.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,l("on readable",i.length,i.reading),i.length?M(this):i.reading||r.nextTick(D,this))),n},O.prototype.addListener=O.prototype.on,O.prototype.removeListener=function(e,t){var n=a.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(j,this),n},O.prototype.removeAllListeners=function(e){var t=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||r.nextTick(j,this),t},O.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(R,e,t))}(this,e)),e.paused=!1,this},O.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},O.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(l("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(l("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o-1))throw new _(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),O.prototype._write=function(e,t,n){n(new m("_write()"))},O.prototype._writev=null,O.prototype.end=function(e,t,n){var i=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,n){t.ending=!0,P(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,i,n),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),O.prototype.destroy=f.destroy,O.prototype._undestroy=f.undestroy,O.prototype._destroy=function(e,t){t(e)}}).call(this,n(12),n(13))},function(e,t,n){"use strict";e.exports=u;var r=n(78).codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,c=n(79);function l(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length>8,a=255&i;o?n.push(o,a):n.push(a)}return n},r.zero2=i,r.toHex=o,r.encode=function(e,t){return"hex"===t?o(e):e}},function(e,t,n){"use strict";var r=t;r.base=n(123),r.short=n(509),r.mont=n(510),r.edwards=n(511)},function(e,t,n){(function(e){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var a;"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a=n(520).Buffer}catch(e){}function s(e,t,n){for(var i=0,o=Math.min(e.length,n),a=0,s=t;s=49&&l<=54?l-49+10:l>=17&&l<=22?l-17+10:l,a|=c}return r(!(240&a),"Invalid character in "+e),i}function c(e,t,n,i){for(var o=0,a=0,s=Math.min(e.length,n),c=t;c=49?l-49+10:l>=17?l-17+10:l,r(l>=0&&a0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this._strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)i=s(e,n,n+6),this.words[r]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==t&&(i=s(e,t,n+6),this.words[r]|=i<>>26-o&4194303),this._strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=u}catch(e){o.prototype.inspect=u}else o.prototype.inspect=u;function u(){return(this.red?""}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?f[6-c.length]+c+n:c+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=d[e],u=p[e];n="";var h=this.clone();for(h.negative=0;!h.isZero();){var m=h.modrn(u).toString(e);n=(h=h.idivn(u)).isZero()?m+n:f[l-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(a,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function h(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,c=a/67108864|0;n.words[0]=s;for(var l=1;l>>26,f=67108863&c,d=Math.min(l,t.length-1),p=Math.max(0,l-e.length+1);p<=d;p++){var h=l-p|0;u+=(a=(i=0|e.words[h])*(o=0|t.words[p])+f)/67108864|0,f=67108863&a}n.words[l]=0|f,c=0|u}return 0!==c?n.words[l]=0|c:n.length--,n._strip()}o.prototype.toArrayLike=function(e,t,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var a=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n=0&&(e[n--]=a>>8&255),n>=0&&(e[n--]=a>>16&255),6===o?(n>=0&&(e[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(e[n--]=r;n>=0;)e[n--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,p=0|a[1],h=8191&p,m=p>>>13,b=0|a[2],y=8191&b,g=b>>>13,v=0|a[3],w=8191&v,_=v>>>13,k=0|a[4],x=8191&k,S=k>>>13,O=0|a[5],E=8191&O,T=O>>>13,A=0|a[6],M=8191&A,I=A>>>13,P=0|a[7],C=8191&P,j=P>>>13,D=0|a[8],R=8191&D,N=D>>>13,B=0|a[9],L=8191&B,U=B>>>13,F=0|s[0],q=8191&F,z=F>>>13,V=0|s[1],H=8191&V,$=V>>>13,K=0|s[2],W=8191&K,G=K>>>13,J=0|s[3],Q=8191&J,Y=J>>>13,Z=0|s[4],X=8191&Z,ee=Z>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ce=8191&se,le=se>>>13,ue=0|s[8],fe=8191&ue,de=ue>>>13,pe=0|s[9],he=8191&pe,me=pe>>>13;n.negative=e.negative^t.negative,n.length=19;var be=(l+(r=Math.imul(f,q))|0)+((8191&(i=(i=Math.imul(f,z))+Math.imul(d,q)|0))<<13)|0;l=((o=Math.imul(d,z))+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(h,q),i=(i=Math.imul(h,z))+Math.imul(m,q)|0,o=Math.imul(m,z);var ye=(l+(r=r+Math.imul(f,H)|0)|0)+((8191&(i=(i=i+Math.imul(f,$)|0)+Math.imul(d,H)|0))<<13)|0;l=((o=o+Math.imul(d,$)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(y,q),i=(i=Math.imul(y,z))+Math.imul(g,q)|0,o=Math.imul(g,z),r=r+Math.imul(h,H)|0,i=(i=i+Math.imul(h,$)|0)+Math.imul(m,H)|0,o=o+Math.imul(m,$)|0;var ge=(l+(r=r+Math.imul(f,W)|0)|0)+((8191&(i=(i=i+Math.imul(f,G)|0)+Math.imul(d,W)|0))<<13)|0;l=((o=o+Math.imul(d,G)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(w,q),i=(i=Math.imul(w,z))+Math.imul(_,q)|0,o=Math.imul(_,z),r=r+Math.imul(y,H)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(g,H)|0,o=o+Math.imul(g,$)|0,r=r+Math.imul(h,W)|0,i=(i=i+Math.imul(h,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0;var ve=(l+(r=r+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,Y)|0)+Math.imul(d,Q)|0))<<13)|0;l=((o=o+Math.imul(d,Y)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(x,q),i=(i=Math.imul(x,z))+Math.imul(S,q)|0,o=Math.imul(S,z),r=r+Math.imul(w,H)|0,i=(i=i+Math.imul(w,$)|0)+Math.imul(_,H)|0,o=o+Math.imul(_,$)|0,r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(g,W)|0,o=o+Math.imul(g,G)|0,r=r+Math.imul(h,Q)|0,i=(i=i+Math.imul(h,Y)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,Y)|0;var we=(l+(r=r+Math.imul(f,X)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,X)|0))<<13)|0;l=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(E,q),i=(i=Math.imul(E,z))+Math.imul(T,q)|0,o=Math.imul(T,z),r=r+Math.imul(x,H)|0,i=(i=i+Math.imul(x,$)|0)+Math.imul(S,H)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(w,W)|0,i=(i=i+Math.imul(w,G)|0)+Math.imul(_,W)|0,o=o+Math.imul(_,G)|0,r=r+Math.imul(y,Q)|0,i=(i=i+Math.imul(y,Y)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,Y)|0,r=r+Math.imul(h,X)|0,i=(i=i+Math.imul(h,ee)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,ee)|0;var _e=(l+(r=r+Math.imul(f,ne)|0)|0)+((8191&(i=(i=i+Math.imul(f,re)|0)+Math.imul(d,ne)|0))<<13)|0;l=((o=o+Math.imul(d,re)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(M,q),i=(i=Math.imul(M,z))+Math.imul(I,q)|0,o=Math.imul(I,z),r=r+Math.imul(E,H)|0,i=(i=i+Math.imul(E,$)|0)+Math.imul(T,H)|0,o=o+Math.imul(T,$)|0,r=r+Math.imul(x,W)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(_,Q)|0,o=o+Math.imul(_,Y)|0,r=r+Math.imul(y,X)|0,i=(i=i+Math.imul(y,ee)|0)+Math.imul(g,X)|0,o=o+Math.imul(g,ee)|0,r=r+Math.imul(h,ne)|0,i=(i=i+Math.imul(h,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0;var ke=(l+(r=r+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ae)|0)+Math.imul(d,oe)|0))<<13)|0;l=((o=o+Math.imul(d,ae)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(C,q),i=(i=Math.imul(C,z))+Math.imul(j,q)|0,o=Math.imul(j,z),r=r+Math.imul(M,H)|0,i=(i=i+Math.imul(M,$)|0)+Math.imul(I,H)|0,o=o+Math.imul(I,$)|0,r=r+Math.imul(E,W)|0,i=(i=i+Math.imul(E,G)|0)+Math.imul(T,W)|0,o=o+Math.imul(T,G)|0,r=r+Math.imul(x,Q)|0,i=(i=i+Math.imul(x,Y)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,Y)|0,r=r+Math.imul(w,X)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(y,ne)|0,i=(i=i+Math.imul(y,re)|0)+Math.imul(g,ne)|0,o=o+Math.imul(g,re)|0,r=r+Math.imul(h,oe)|0,i=(i=i+Math.imul(h,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var xe=(l+(r=r+Math.imul(f,ce)|0)|0)+((8191&(i=(i=i+Math.imul(f,le)|0)+Math.imul(d,ce)|0))<<13)|0;l=((o=o+Math.imul(d,le)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(R,q),i=(i=Math.imul(R,z))+Math.imul(N,q)|0,o=Math.imul(N,z),r=r+Math.imul(C,H)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(j,H)|0,o=o+Math.imul(j,$)|0,r=r+Math.imul(M,W)|0,i=(i=i+Math.imul(M,G)|0)+Math.imul(I,W)|0,o=o+Math.imul(I,G)|0,r=r+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,Y)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,Y)|0,r=r+Math.imul(x,X)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(w,ne)|0,i=(i=i+Math.imul(w,re)|0)+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(y,oe)|0,i=(i=i+Math.imul(y,ae)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,ae)|0,r=r+Math.imul(h,ce)|0,i=(i=i+Math.imul(h,le)|0)+Math.imul(m,ce)|0,o=o+Math.imul(m,le)|0;var Se=(l+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;l=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(L,q),i=(i=Math.imul(L,z))+Math.imul(U,q)|0,o=Math.imul(U,z),r=r+Math.imul(R,H)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(N,H)|0,o=o+Math.imul(N,$)|0,r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(j,W)|0,o=o+Math.imul(j,G)|0,r=r+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,Y)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,Y)|0,r=r+Math.imul(E,X)|0,i=(i=i+Math.imul(E,ee)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(x,ne)|0,i=(i=i+Math.imul(x,re)|0)+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,ae)|0)+Math.imul(_,oe)|0,o=o+Math.imul(_,ae)|0,r=r+Math.imul(y,ce)|0,i=(i=i+Math.imul(y,le)|0)+Math.imul(g,ce)|0,o=o+Math.imul(g,le)|0,r=r+Math.imul(h,fe)|0,i=(i=i+Math.imul(h,de)|0)+Math.imul(m,fe)|0,o=o+Math.imul(m,de)|0;var Oe=(l+(r=r+Math.imul(f,he)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(d,he)|0))<<13)|0;l=((o=o+Math.imul(d,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,$))+Math.imul(U,H)|0,o=Math.imul(U,$),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,Y)|0)+Math.imul(j,Q)|0,o=o+Math.imul(j,Y)|0,r=r+Math.imul(M,X)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(I,X)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(E,ne)|0,i=(i=i+Math.imul(E,re)|0)+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,ae)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,ae)|0,r=r+Math.imul(w,ce)|0,i=(i=i+Math.imul(w,le)|0)+Math.imul(_,ce)|0,o=o+Math.imul(_,le)|0,r=r+Math.imul(y,fe)|0,i=(i=i+Math.imul(y,de)|0)+Math.imul(g,fe)|0,o=o+Math.imul(g,de)|0;var Ee=(l+(r=r+Math.imul(h,he)|0)|0)+((8191&(i=(i=i+Math.imul(h,me)|0)+Math.imul(m,he)|0))<<13)|0;l=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(L,W),i=(i=Math.imul(L,G))+Math.imul(U,W)|0,o=Math.imul(U,G),r=r+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,Y)|0)+Math.imul(N,Q)|0,o=o+Math.imul(N,Y)|0,r=r+Math.imul(C,X)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(j,X)|0,o=o+Math.imul(j,ee)|0,r=r+Math.imul(M,ne)|0,i=(i=i+Math.imul(M,re)|0)+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(E,oe)|0,i=(i=i+Math.imul(E,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,r=r+Math.imul(x,ce)|0,i=(i=i+Math.imul(x,le)|0)+Math.imul(S,ce)|0,o=o+Math.imul(S,le)|0,r=r+Math.imul(w,fe)|0,i=(i=i+Math.imul(w,de)|0)+Math.imul(_,fe)|0,o=o+Math.imul(_,de)|0;var Te=(l+(r=r+Math.imul(y,he)|0)|0)+((8191&(i=(i=i+Math.imul(y,me)|0)+Math.imul(g,he)|0))<<13)|0;l=((o=o+Math.imul(g,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,Y))+Math.imul(U,Q)|0,o=Math.imul(U,Y),r=r+Math.imul(R,X)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(N,X)|0,o=o+Math.imul(N,ee)|0,r=r+Math.imul(C,ne)|0,i=(i=i+Math.imul(C,re)|0)+Math.imul(j,ne)|0,o=o+Math.imul(j,re)|0,r=r+Math.imul(M,oe)|0,i=(i=i+Math.imul(M,ae)|0)+Math.imul(I,oe)|0,o=o+Math.imul(I,ae)|0,r=r+Math.imul(E,ce)|0,i=(i=i+Math.imul(E,le)|0)+Math.imul(T,ce)|0,o=o+Math.imul(T,le)|0,r=r+Math.imul(x,fe)|0,i=(i=i+Math.imul(x,de)|0)+Math.imul(S,fe)|0,o=o+Math.imul(S,de)|0;var Ae=(l+(r=r+Math.imul(w,he)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(_,he)|0))<<13)|0;l=((o=o+Math.imul(_,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(L,X),i=(i=Math.imul(L,ee))+Math.imul(U,X)|0,o=Math.imul(U,ee),r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(N,ne)|0,o=o+Math.imul(N,re)|0,r=r+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(j,oe)|0,o=o+Math.imul(j,ae)|0,r=r+Math.imul(M,ce)|0,i=(i=i+Math.imul(M,le)|0)+Math.imul(I,ce)|0,o=o+Math.imul(I,le)|0,r=r+Math.imul(E,fe)|0,i=(i=i+Math.imul(E,de)|0)+Math.imul(T,fe)|0,o=o+Math.imul(T,de)|0;var Me=(l+(r=r+Math.imul(x,he)|0)|0)+((8191&(i=(i=i+Math.imul(x,me)|0)+Math.imul(S,he)|0))<<13)|0;l=((o=o+Math.imul(S,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(L,ne),i=(i=Math.imul(L,re))+Math.imul(U,ne)|0,o=Math.imul(U,re),r=r+Math.imul(R,oe)|0,i=(i=i+Math.imul(R,ae)|0)+Math.imul(N,oe)|0,o=o+Math.imul(N,ae)|0,r=r+Math.imul(C,ce)|0,i=(i=i+Math.imul(C,le)|0)+Math.imul(j,ce)|0,o=o+Math.imul(j,le)|0,r=r+Math.imul(M,fe)|0,i=(i=i+Math.imul(M,de)|0)+Math.imul(I,fe)|0,o=o+Math.imul(I,de)|0;var Ie=(l+(r=r+Math.imul(E,he)|0)|0)+((8191&(i=(i=i+Math.imul(E,me)|0)+Math.imul(T,he)|0))<<13)|0;l=((o=o+Math.imul(T,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(L,oe),i=(i=Math.imul(L,ae))+Math.imul(U,oe)|0,o=Math.imul(U,ae),r=r+Math.imul(R,ce)|0,i=(i=i+Math.imul(R,le)|0)+Math.imul(N,ce)|0,o=o+Math.imul(N,le)|0,r=r+Math.imul(C,fe)|0,i=(i=i+Math.imul(C,de)|0)+Math.imul(j,fe)|0,o=o+Math.imul(j,de)|0;var Pe=(l+(r=r+Math.imul(M,he)|0)|0)+((8191&(i=(i=i+Math.imul(M,me)|0)+Math.imul(I,he)|0))<<13)|0;l=((o=o+Math.imul(I,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(L,ce),i=(i=Math.imul(L,le))+Math.imul(U,ce)|0,o=Math.imul(U,le),r=r+Math.imul(R,fe)|0,i=(i=i+Math.imul(R,de)|0)+Math.imul(N,fe)|0,o=o+Math.imul(N,de)|0;var Ce=(l+(r=r+Math.imul(C,he)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(j,he)|0))<<13)|0;l=((o=o+Math.imul(j,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(L,fe),i=(i=Math.imul(L,de))+Math.imul(U,fe)|0,o=Math.imul(U,de);var je=(l+(r=r+Math.imul(R,he)|0)|0)+((8191&(i=(i=i+Math.imul(R,me)|0)+Math.imul(N,he)|0))<<13)|0;l=((o=o+Math.imul(N,me)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863;var De=(l+(r=Math.imul(L,he))|0)+((8191&(i=(i=Math.imul(L,me))+Math.imul(U,he)|0))<<13)|0;return l=((o=Math.imul(U,me))+(i>>>13)|0)+(De>>>26)|0,De&=67108863,c[0]=be,c[1]=ye,c[2]=ge,c[3]=ve,c[4]=we,c[5]=_e,c[6]=ke,c[7]=xe,c[8]=Se,c[9]=Oe,c[10]=Ee,c[11]=Te,c[12]=Ae,c[13]=Me,c[14]=Ie,c[15]=Pe,c[16]=Ce,c[17]=je,c[18]=De,0!==l&&(c[19]=l,n.length++),n};function b(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function y(e,t,n){return b(e,t,n)}function g(e,t){this.x=e,this.y=t}Math.imul||(m=h),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?m(this,e,t):n<63?h(this,e,t):n<1024?b(this,e,t):y(this,e,t)},g.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},g.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a>=26,n+=o/67108864|0,n+=a>>>26,this.words[i]=67108863&a}return 0!==n&&(this.words[i]=n,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i&1}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,l=0;l=0&&(0!==u||l>=i);l--){var f=0|this.words[l];this.words[l]=u<<26-o|f>>>o,u=f&s}return c&&0!==u&&(c.words[c.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this._strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,c=r.length-i.length;if("mod"!==t){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var l=0;l=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,f);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);s&&(s.words[f]=d)}return s&&s._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%e;return t?-i:i},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/e|0,n=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var u=n.clone(),f=t.clone();!t.isZero();){for(var d=0,p=1;0==(t.words[0]&p)&&d<26;++d,p<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var h=0,m=1;0==(n.words[0]&m)&&h<26;++h,m<<=1);if(h>0)for(n.iushrn(h);h-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(u),c.isub(f)),s.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(c)):(n.isub(t),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),c=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,u=1;0==(t.words[0]&u)&&l<26;++l,u<<=1);if(l>0)for(t.iushrn(l);l-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,d=1;0==(n.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(n.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new O(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function O(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function E(e){O.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},i(_,w),_.prototype.split=function(e,t){for(var n=Math.min(e.length,9),r=0;r>>22,i=o}i>>>=22,e.words[r-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(v[e])return v[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new k;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new S}return v[e]=t,t},O.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},O.prototype._verify2=function(e,t){r(0==(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},O.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(l(e,e.umod(this.m)._forceRed(this)),e)},O.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},O.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},O.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},O.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},O.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},O.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},O.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},O.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},O.prototype.isqr=function(e){return this.imul(e,e.clone())},O.prototype.sqr=function(e){return this.mul(e,e)},O.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),l=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,l).cmp(c);)u.redIAdd(c);for(var f=this.pow(u,i),d=this.pow(e,i.addn(1).iushrn(1)),p=this.pow(e,i),h=a;0!==p.cmp(s);){for(var m=p,b=0;0!==m.cmp(s);b++)m=m.redSqr();r(b=0;r--){for(var l=t.words[r],u=c-1;u>=0;u--){var f=l>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}c=26}return i},O.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},O.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new E(e)},i(E,O),E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},E.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},E.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,n(71)(e))},function(e,t,n){"use strict";const r=t;r.bignum=n(6),r.define=n(522).define,r.base=n(525),r.constants=n(526),r.decoders=n(286),r.encoders=n(284)},function(e,t,n){"use strict";const r=t;r.der=n(285),r.pem=n(523)},function(e,t,n){"use strict";const r=n(4),i=n(165).Buffer,o=n(166),a=n(168);function s(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){o.call(this,"der",e)}function l(e){return e<10?"0"+e:e}e.exports=s,s.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},r(c,o),c.prototype._encodeComposite=function(e,t,n,r){const o=function(e,t,n,r){let i;"seqof"===e?e="seq":"setof"===e&&(e="set");if(a.tagByName.hasOwnProperty(e))i=a.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return r.error("Unknown tag: "+e);i=e}if(i>=31)return r.error("Multi-octet tag encoding unsupported");t||(i|=32);return i|=a.tagClassByName[n||"universal"]<<6,i}(e,t,n,this.reporter);if(r.length<128){const e=i.alloc(2);return e[0]=o,e[1]=r.length,this._createEncoderBuffer([e,r])}let s=1;for(let e=r.length;e>=256;e>>=8)s++;const c=i.alloc(2+s);c[0]=o,c[1]=128|s;for(let e=1+s,t=r.length;t>0;e--,t>>=8)c[e]=255&t;return this._createEncoderBuffer([c,r])},c.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){const t=i.alloc(2*e.length);for(let n=0;n=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}let r=0;for(let t=0;t=128;n>>=7)r++}const o=i.alloc(r);let a=o.length-1;for(let t=e.length-1;t>=0;t--){let n=e[t];for(o[a--]=127&n;(n>>=7)>0;)o[a--]=128|127&n}return this._createEncoderBuffer(o)},c.prototype._encodeTime=function(e,t){let n;const r=new Date(e);return"gentime"===t?n=[l(r.getUTCFullYear()),l(r.getUTCMonth()+1),l(r.getUTCDate()),l(r.getUTCHours()),l(r.getUTCMinutes()),l(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[l(r.getUTCFullYear()%100),l(r.getUTCMonth()+1),l(r.getUTCDate()),l(r.getUTCHours()),l(r.getUTCMinutes()),l(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!i.isBuffer(e)){const t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=i.from(t)}if(i.isBuffer(e)){let t=e.length;0===e.length&&t++;const n=i.alloc(t);return e.copy(n),0===e.length&&(n[0]=0),this._createEncoderBuffer(n)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let n=1;for(let t=e;t>=256;t>>=8)n++;const r=new Array(n);for(let t=r.length-1;t>=0;t--)r[t]=255&e,e>>=8;return 128&r[0]&&r.unshift(0),this._createEncoderBuffer(i.from(r))},c.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},c.prototype._skipDefault=function(e,t,n){const r=this._baseState;let i;if(null===r.default)return!1;const o=e.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r.default,t,n).join()),o.length!==r.defaultBuffer.length)return!1;for(i=0;i>6],i=0==(32&n);if(31==(31&n)){let r=n;for(n=0;128==(128&r);){if(r=e.readUInt8(t),e.isError(r))return r;n<<=7,n|=127&r}}else n&=31;return{cls:r,primitive:i,tag:n,tagStr:s.tag[n]}}function f(e,t,n){let r=e.readUInt8(n);if(e.isError(r))return r;if(!t&&128===r)return null;if(0==(128&r))return r;const i=127&r;if(i>4)return e.error("length octect is too long");r=0;for(let t=0;t>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{o=o+(i=i+t[r++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0}},function(e,t,n){"use strict";var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();e.exports=function(e,t,n,i){var o=r,a=i+n;e^=-1;for(var s=i;s>>8^o[255&(e^t[s])];return-1^e}},function(e,t,n){"use strict";var r=n(57),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var a=new r.Buf8(256),s=0;s<256;s++)a[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function c(e,t){if(t<65534&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",a=0;a>>6,t[a++]=128|63&n):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|63&n):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|63&n);return t},t.buf2binstring=function(e){return c(e,e.length)},t.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n4)l[r++]=65533,n+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&n1?l[r++]=65533:i<65536?l[r++]=i:(i-=65536,l[r++]=55296|i>>10&1023,l[r++]=56320|1023&i)}return c(l,r)},t.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0||0===n?t:n+a[e[n]]>t?n:t}},function(e,t,n){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(e,t,n){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={};let i;t.wordlists=r,t._default=i;try{t._default=i=n(548),r.czech=i}catch(e){}try{t._default=i=n(549),r.chinese_simplified=i}catch(e){}try{t._default=i=n(550),r.chinese_traditional=i}catch(e){}try{t._default=i=n(551),r.korean=i}catch(e){}try{t._default=i=n(552),r.french=i}catch(e){}try{t._default=i=n(553),r.italian=i}catch(e){}try{t._default=i=n(554),r.spanish=i}catch(e){}try{t._default=i=n(555),r.japanese=i,r.JA=i}catch(e){}try{t._default=i=n(556),r.english=i,r.EN=i}catch(e){}},function(e,t,n){"use strict";var r=n(54),i=n(560);e.exports=i((function(e){var t=r("sha256").update(e).digest();return r("sha256").update(t).digest()}))},function(e,t,n){var r=n(170);function i(e){return e.name||e.toString().match(/function (.*?)\s*\(/)[1]}function o(e){return r.Nil(e)?"":i(e.constructor)}function a(e,t){Error.captureStackTrace&&Error.captureStackTrace(e,t)}function s(e){return r.Function(e)?e.toJSON?e.toJSON():i(e):r.Array(e)?"Array":e&&r.Object(e)?"Object":void 0!==e?e:""}function c(e,t,n){var i=function(e){return r.Function(e)?"":r.String(e)?JSON.stringify(e):e&&r.Object(e)?"":e}(t);return"Expected "+s(e)+", got"+(""!==n?" "+n:"")+(""!==i?" "+i:"")}function l(e,t,n){n=n||o(t),this.message=c(e,t,n),a(this,l),this.__type=e,this.__value=t,this.__valueTypeName=n}function u(e,t,n,r,i){e?(i=i||o(r),this.message=function(e,t,n,r,i){var o='" of type ';return"key"===t&&(o='" with key type '),c('property "'+s(n)+o+s(e),r,i)}(e,n,t,r,i)):this.message='Unexpected property "'+t+'"',a(this,l),this.__label=n,this.__property=t,this.__type=e,this.__value=r,this.__valueTypeName=i}l.prototype=Object.create(Error.prototype),l.prototype.constructor=l,u.prototype=Object.create(Error.prototype),u.prototype.constructor=l,e.exports={TfTypeError:l,TfPropertyTypeError:u,tfCustomError:function(e,t){return new l(e,{},t)},tfSubError:function(e,t,n){return e instanceof u?(t=t+"."+e.__property,e=new u(e.__type,t,e.__label,e.__value,e.__valueTypeName)):e instanceof l&&(e=new u(e.__type,t,n,e.__value,e.__valueTypeName)),a(e),e},tfJSON:s,getValueTypeName:o}},function(e,t,n){var r;e.exports=(r=n(9),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.algo,s=[],c=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,i=0;i<64;)t(r)&&(i<8&&(s[i]=n(e.pow(r,.5))),c[i]=n(e.pow(r,1/3)),i++),r++}();var l=[],u=a.SHA256=o.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],u=n[5],f=n[6],d=n[7],p=0;p<64;p++){if(p<16)l[p]=0|e[t+p];else{var h=l[p-15],m=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,b=l[p-2],y=(b<<15|b>>>17)^(b<<13|b>>>19)^b>>>10;l[p]=m+l[p-7]+y+l[p-16]}var g=r&i^r&o^i&o,v=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),w=d+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&f)+c[p]+l[p];d=f,f=u,u=s,s=a+w|0,a=o,o=i,i=r,r=w+(v+g)|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+u|0,n[6]=n[6]+f|0,n[7]=n[7]+d|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=e.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=o._createHelper(u),t.HmacSHA256=o._createHmacHelper(u)}(Math),r.SHA256)},function(e,t,n){var r;e.exports=(r=n(9),n(125),function(){var e=r,t=e.lib.Hasher,n=e.x64,i=n.Word,o=n.WordArray,a=e.algo;function s(){return i.create.apply(i,arguments)}var c=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],l=[];!function(){for(var e=0;e<80;e++)l[e]=s()}();var u=a.SHA512=t.extend({_doReset:function(){this._hash=new o.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],u=n[5],f=n[6],d=n[7],p=r.high,h=r.low,m=i.high,b=i.low,y=o.high,g=o.low,v=a.high,w=a.low,_=s.high,k=s.low,x=u.high,S=u.low,O=f.high,E=f.low,T=d.high,A=d.low,M=p,I=h,P=m,C=b,j=y,D=g,R=v,N=w,B=_,L=k,U=x,F=S,q=O,z=E,V=T,H=A,$=0;$<80;$++){var K,W,G=l[$];if($<16)W=G.high=0|e[t+2*$],K=G.low=0|e[t+2*$+1];else{var J=l[$-15],Q=J.high,Y=J.low,Z=(Q>>>1|Y<<31)^(Q>>>8|Y<<24)^Q>>>7,X=(Y>>>1|Q<<31)^(Y>>>8|Q<<24)^(Y>>>7|Q<<25),ee=l[$-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,ie=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),oe=l[$-7],ae=oe.high,se=oe.low,ce=l[$-16],le=ce.high,ue=ce.low;W=(W=(W=Z+ae+((K=X+se)>>>0>>0?1:0))+re+((K+=ie)>>>0>>0?1:0))+le+((K+=ue)>>>0>>0?1:0),G.high=W,G.low=K}var fe,de=B&U^~B&q,pe=L&F^~L&z,he=M&P^M&j^P&j,me=I&C^I&D^C&D,be=(M>>>28|I<<4)^(M<<30|I>>>2)^(M<<25|I>>>7),ye=(I>>>28|M<<4)^(I<<30|M>>>2)^(I<<25|M>>>7),ge=(B>>>14|L<<18)^(B>>>18|L<<14)^(B<<23|L>>>9),ve=(L>>>14|B<<18)^(L>>>18|B<<14)^(L<<23|B>>>9),we=c[$],_e=we.high,ke=we.low,xe=V+ge+((fe=H+ve)>>>0>>0?1:0),Se=ye+me;V=q,H=z,q=U,z=F,U=B,F=L,B=R+(xe=(xe=(xe=xe+de+((fe+=pe)>>>0>>0?1:0))+_e+((fe+=ke)>>>0>>0?1:0))+W+((fe+=K)>>>0>>0?1:0))+((L=N+fe|0)>>>0>>0?1:0)|0,R=j,N=D,j=P,D=C,P=M,C=I,M=xe+(be+he+(Se>>>0>>0?1:0))+((I=fe+Se|0)>>>0>>0?1:0)|0}h=r.low=h+I,r.high=p+M+(h>>>0>>0?1:0),b=i.low=b+C,i.high=m+P+(b>>>0>>0?1:0),g=o.low=g+D,o.high=y+j+(g>>>0>>0?1:0),w=a.low=w+N,a.high=v+R+(w>>>0>>0?1:0),k=s.low=k+L,s.high=_+B+(k>>>0>>0?1:0),S=u.low=S+F,u.high=x+U+(S>>>0>>0?1:0),E=f.low=E+z,f.high=O+q+(E>>>0>>0?1:0),A=d.low=A+H,d.high=T+V+(A>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(u),e.HmacSHA512=t._createHmacHelper(u)}(),r.SHA512)},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(o)})),e.exports=c}).call(this,n(13))},function(e,t,n){"use strict";var r=n(28),i=n(599),o=n(601),a=n(303),s=n(602),c=n(605),l=n(606),u=n(307);e.exports=function(e){return new Promise((function(t,n){var f=e.data,d=e.headers;r.isFormData(f)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(h+":"+m)}var b=s(e.baseURL,e.url);if(p.open(e.method.toUpperCase(),a(b,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in p?c(p.getAllResponseHeaders()):null,o={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:r,config:e,request:p};i(t,n,o),p=null}},p.onabort=function(){p&&(n(u("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(u("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var y=(e.withCredentials||l(b))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;y&&(d[e.xsrfHeaderName]=y)}if("setRequestHeader"in p&&r.forEach(d,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete d[t]:p.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),e.responseType)try{p.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),n(e),p=null)})),f||(f=null),p.send(f)}))}},function(e,t,n){"use strict";var r=n(600);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},function(e,t,n){"use strict";var r=n(28);e.exports=function(e,t){t=t||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function l(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=c(void 0,e[i])):n[i]=c(e[i],t[i])}r.forEach(i,(function(e){r.isUndefined(t[e])||(n[e]=c(void 0,t[e]))})),r.forEach(o,l),r.forEach(a,(function(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=c(void 0,e[i])):n[i]=c(void 0,t[i])})),r.forEach(s,(function(r){r in t?n[r]=c(e[r],t[r]):r in e&&(n[r]=c(void 0,e[r]))}));var u=i.concat(o).concat(a).concat(s),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return r.forEach(f,l),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAttribute=t.parseLogs=t.parseLog=t.parseEvent=t.parseAttribute=void 0;const r=n(100);function i(e){if(!r.isNonNullObject(e))throw new Error("Attribute must be a non-null object");const{key:t,value:n}=e;if("string"!=typeof t||!t)throw new Error("Attribute's key must be a non-empty string");if("string"!=typeof n&&void 0!==n)throw new Error("Attribute's value must be a string or unset");return{key:t,value:n||""}}function o(e){if(!r.isNonNullObject(e))throw new Error("Event must be a non-null object");const{type:t,attributes:n}=e;if("string"!=typeof t||""===t)throw new Error("Event type must be a non-empty string");if(!Array.isArray(n))throw new Error("Event's attributes must be an array");return{type:t,attributes:n.map(i)}}function a(e){if(!r.isNonNullObject(e))throw new Error("Log must be a non-null object");const{msg_index:t,log:n,events:i}=e;if("number"!=typeof t)throw new Error("Log's msg_index must be a number");if("string"!=typeof n)throw new Error("Log's log must be a string");if(!Array.isArray(i))throw new Error("Log's events must be an array");return{msg_index:t,log:n,events:i.map(o)}}t.parseAttribute=i,t.parseEvent=o,t.parseLog=a,t.parseLogs=function(e){if(!Array.isArray(e))throw new Error("Logs must be an array");return e.map(a)},t.findAttribute=function(e,t,n){var r;const i=e.find(()=>!0),o=null===(r=null==i?void 0:i.events.find(e=>e.type===t))||void 0===r?void 0:r.attributes.find(e=>e.key===n);if(!o)throw new Error(`Could not find attribute '${n}' in first event of type '${t}' in first log.`);return o}},function(e,t,n){!function(t){"use strict";for(var n=[null,0,{}],r=function(e,t){this.codepoint=e,this.feature=t},i={},o=[],a=0;a<=255;++a)o[a]=0;var s=[function(e,t,i){return t<60||13311>8&255]>10&&(i[t]=r),r},function(e,t,n){return n?e(t,n):new r(t,null)},function(e,t,n){var i;if(t<4352||4371<=t&&t<44032||55204=55296&&e<=56319},r.isLowSurrogate=function(e){return e>=56320&&e<=57343},r.prototype.prepFeature=function(){this.feature||(this.feature=r.fromCharCode(this.codepoint,!0).feature)},r.prototype.toString=function(){if(this.codepoint<65536)return String.fromCharCode(this.codepoint);var e=this.codepoint-65536;return String.fromCharCode(Math.floor(e/1024)+55296,e%1024+56320)},r.prototype.getDecomp=function(){return this.prepFeature(),this.feature[0]||null},r.prototype.isCompatibility=function(){return this.prepFeature(),!!this.feature[1]&&256&this.feature[1]},r.prototype.isExclude=function(){return this.prepFeature(),!!this.feature[1]&&512&this.feature[1]},r.prototype.getCanonicalClass=function(){return this.prepFeature(),this.feature[1]?255&this.feature[1]:0},r.prototype.getComposite=function(e){if(this.prepFeature(),!this.feature[2])return null;var t=this.feature[2][e.codepoint];return t?r.fromCharCode(t):null};var c=function(e){this.str=e,this.cursor=0};c.prototype.next=function(){if(this.str&&this.cursor0;--n){if(this.resBuf[n-1].getCanonicalClass()<=e)break}this.resBuf.splice(n,0,t)}while(0!==e);return this.resBuf.shift()};var f=function(e){this.it=e,this.procBuf=[],this.resBuf=[],this.lastClass=null};f.prototype.next=function(){for(;0===this.resBuf.length;){var e=this.it.next();if(!e){this.resBuf=this.procBuf,this.procBuf=[];break}if(0===this.procBuf.length)this.lastClass=e.getCanonicalClass(),this.procBuf.push(e);else{var t=this.procBuf[0].getComposite(e),n=e.getCanonicalClass();t&&(this.lastClass(new e).update(t).digest();let r=t;if(r.length>n&&(r=this.hash(r)),r.length92^e),this.iKeyPad=r.map(e=>54^e),this.messageHasher=new e,this.blockSize=n,this.update(this.iKeyPad)}update(e){return this.messageHasher.update(e),this}digest(){const e=this.messageHasher.digest();return this.hash(new Uint8Array([...this.oKeyPad,...e]))}}},function(e,t,n){"use strict";n.r(t),t.default={}},function(e,t,n){"use strict";function r(e){let t=0;for(const n of e){if(0!==n)break;t++}return e.slice(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedSecp256k1Signature=t.Secp256k1Signature=void 0;class i{constructor(e,t){if(e.length>32||0===e.length||0===e[0])throw new Error("Unsigned integer r must be encoded as unpadded big endian.");if(t.length>32||0===t.length||0===t[0])throw new Error("Unsigned integer s must be encoded as unpadded big endian.");this.data={r:e,s:t}}static fromFixedLength(e){if(64!==e.length)throw new Error(`Got invalid data length: ${e.length}. Expected 2x 32 bytes for the pair (r, s)`);return new i(r(e.slice(0,32)),r(e.slice(32,64)))}static fromDer(e){let t=0;if(48!==e[t++])throw new Error("Prefix 0x30 expected");const n=e[t++];if(e.length-t!==n)throw new Error("Data length mismatch detected");if(2!==e[t++])throw new Error("INTEGER tag expected");const o=e[t++];if(o>=128)throw new Error("Decoding length values above 127 not supported");const a=e.slice(t,t+o);t+=o;if(2!==e[t++])throw new Error("INTEGER tag expected");const s=e[t++];if(s>=128)throw new Error("Decoding length values above 127 not supported");const c=e.slice(t,t+s);return t+=s,new i(r(a),r(c))}r(e){if(void 0===e)return this.data.r;{const t=e-this.data.r.length;if(t<0)throw new Error("Length too small to hold parameter r");const n=new Uint8Array(t);return new Uint8Array([...n,...this.data.r])}}s(e){if(void 0===e)return this.data.s;{const t=e-this.data.s.length;if(t<0)throw new Error("Length too small to hold parameter s");const n=new Uint8Array(t);return new Uint8Array([...n,...this.data.s])}}toFixedLength(){return new Uint8Array([...this.r(32),...this.s(32)])}toDer(){const e=this.data.r[0]>=128?new Uint8Array([0,...this.data.r]):this.data.r,t=this.data.s[0]>=128?new Uint8Array([0,...this.data.s]):this.data.s,n=e.length,r=t.length,i=new Uint8Array([2,n,...e,2,r,...t]);return new Uint8Array([48,i.length,...i])}}t.Secp256k1Signature=i;class o extends i{constructor(e,t,n){if(super(e,t),!Number.isInteger(n))throw new Error("The recovery parameter must be an integer.");if(n<0||n>4)throw new Error("The recovery parameter must be one of 0, 1, 2, 3.");this.recovery=n}static fromFixedLength(e){if(65!==e.length)throw new Error(`Got invalid data length ${e.length}. Expected 32 + 32 + 1`);return new o(r(e.slice(0,32)),r(e.slice(32,64)),e[64])}toFixedLength(){return new Uint8Array([...this.r(32),...this.s(32),this.recovery])}}t.ExtendedSecp256k1Signature=o},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sha512=t.Sha512=t.sha256=t.Sha256=t.sha1=t.Sha1=void 0;const i=r(n(76));class o{constructor(e){this.blockSize=64,this.impl=i.default("sha1"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}t.Sha1=o,t.sha1=function(e){return new o(e).digest()};class a{constructor(e){this.blockSize=64,this.impl=i.default("sha256"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}t.Sha256=a,t.sha256=function(e){return new a(e).digest()};class s{constructor(e){this.blockSize=128,this.impl=i.default("sha512"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}t.Sha512=s,t.sha512=function(e){return new s(e).digest()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseCoins=t.coins=t.coin=void 0;const r=n(82);function i(e,t){return{amount:new r.Uint53(e).toString(),denom:t}}t.coin=i,t.coins=function(e,t){return[i(e,t)]},t.parseCoins=function(e){return e.replace(/\s/g,"").split(",").filter(Boolean).map(e=>{const t=e.match(/^([0-9]+)([a-zA-Z]+)/);if(!t)throw new Error("Got an invalid coin string");return{amount:r.Uint64.fromString(t[1]).toString(),denom:t[2]}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CosmosClient=t.isSearchByTagsQuery=t.isSearchBySentFromOrToQuery=t.isSearchByHeightQuery=t.assertIsBroadcastTxSuccess=t.isBroadcastTxSuccess=t.isBroadcastTxFailure=void 0;const r=n(50),i=n(39),o=n(82),a=n(174),s=n(310);function c(e){return!!e.code}function l(e){return void 0!==e.height}function u(e){return void 0!==e.sentFromOrTo}function f(e){return void 0!==e.tags}t.isBroadcastTxFailure=c,t.isBroadcastTxSuccess=function(e){return!c(e)},t.assertIsBroadcastTxSuccess=function(e){if(c(e))throw new Error(`Error when broadcasting tx ${e.transactionHash} at height ${e.height}. Code: ${e.code}; Raw log: ${e.rawLog}`)},t.isSearchByHeightQuery=l,t.isSearchBySentFromOrToQuery=u,t.isSearchByTagsQuery=f;t.CosmosClient=class{constructor(e,t=a.BroadcastMode.Block){this.lcdClient=a.LcdClient.withExtensions({apiUrl:e,broadcastMode:t},a.setupAuthExtension)}async getChainId(){if(!this.chainId){const e=(await this.lcdClient.nodeInfo()).node_info.network;if(!e)throw new Error("Chain ID must not be empty");this.chainId=e}return this.chainId}async getHeight(){if(this.anyValidAddress){const{height:e}=await this.lcdClient.auth.account(this.anyValidAddress);return parseInt(e,10)}{const e=await this.lcdClient.blocksLatest();return parseInt(e.block.header.height,10)}}async getIdentifier(e){const t=await this.lcdClient.encodeTx(e),n=r.sha256(i.fromBase64(t.tx));return i.toHex(n).toUpperCase()}async getSequence(e){const t=await this.getAccount(e);if(!t)throw new Error("Account does not exist on chain. Send some tokens there before trying to query sequence.");return{accountNumber:t.accountNumber,sequence:t.sequence}}async getAccount(e){const t=(await this.lcdClient.auth.account(e)).result.value;return""===t.address?void 0:(this.anyValidAddress=t.address,{address:t.address,balance:t.coins,pubkey:a.normalizePubkey(t.public_key)||void 0,accountNumber:a.uint64ToNumber(t.account_number),sequence:a.uint64ToNumber(t.sequence)})}async getBlock(e){const t=void 0!==e?await this.lcdClient.blocks(e):await this.lcdClient.blocksLatest();return{id:t.block_id.hash,header:{version:t.block.header.version,time:t.block.header.time,height:parseInt(t.block.header.height,10),chainId:t.block.header.chain_id},txs:(t.block.data.txs||[]).map(i.fromBase64)}}async getTx(e){var t;return null!==(t=(await this.txsQuery("tx.hash="+e))[0])&&void 0!==t?t:null}async searchTx(e,t={}){const n=t.minHeight||0,r=t.maxHeight||Number.MAX_SAFE_INTEGER;if(rr?[]:await this.txsQuery("tx.height="+e.height);else if(u(e)){const t=i("message.module=bank&message.sender="+e.sentFromOrTo),n=i("message.module=bank&transfer.recipient="+e.sentFromOrTo),r=await this.txsQuery(t),a=await this.txsQuery(n),s=r.map(e=>e.hash);o=[...r,...a.filter(e=>!s.includes(e.hash))]}else{if(!f(e))throw new Error("Unknown query type");{const t=i(e.tags.map(e=>`${e.key}=${e.value}`).join("&"));o=await this.txsQuery(t)}}return o.filter(e=>e.height>=n&&e.height<=r)}async broadcastTx(e){const t=await this.lcdClient.broadcastTx(e);if(!t.txhash.match(/^([0-9A-F][0-9A-F])+$/))throw new Error("Received ill-formatted txhash. Must be non-empty upper-case hex");return void 0!==t.code?{height:o.Uint53.fromString(t.height).toNumber(),transactionHash:t.txhash,code:t.code,rawLog:t.raw_log||""}:{logs:t.logs?s.parseLogs(t.logs):[],rawLog:t.raw_log||"",transactionHash:t.txhash,data:t.data?i.fromHex(t.data):void 0}}async txsQuery(e){const t=await this.lcdClient.txsQuery(e+"&limit=100");if(parseInt(t.page_total,10)>1)throw new Error(`Found more results on the backend than we can process currently. Results: ${t.total_count}, supported: 100`);return t.txs.map(e=>({height:parseInt(e.height,10),hash:e.txhash,code:e.code||0,rawLog:e.raw_log,logs:s.parseLogs(e.logs||[]),tx:e.tx,timestamp:e.timestamp}))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BroadcastMode=void 0,function(e){e.Block="block",e.Sync="sync",e.Async="async"}(t.BroadcastMode||(t.BroadcastMode={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildFeeTable=t.GasPrice=void 0;const r=n(82),i=n(317);class o{constructor(e,t){this.amount=e,this.denom=t}static fromString(e){const t=e.match(/^(?.+?)(?[a-z]+)$/);if(!t)throw new Error("Invalid gas price string");const{amount:n,denom:i}=t.groups;if(i.length<3||i.length>127)throw new Error("Gas price denomination must be between 3 and 127 characters");const a=r.Decimal.fromUserInput(n,18);return new o(a,i)}}function a(e,{denom:t,amount:n}){const o=Math.ceil(n.multiply(new r.Uint53(e)).toFloatApproximation());return{amount:i.coins(o,t),gas:e.toString()}}t.GasPrice=o,t.buildFeeTable=function(e,t,n){return Object.entries(t).reduce((t,[r,i])=>Object.assign(Object.assign({},t),{[r]:a(n[r]||i,e)}),{})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeCosmoshubPath=void 0;const r=n(50);t.makeCosmoshubPath=function(e){return[r.Slip10RawIndex.hardened(44),r.Slip10RawIndex.hardened(118),r.Slip10RawIndex.hardened(0),r.Slip10RawIndex.normal(0),r.Slip10RawIndex.normal(e)]}},function(e,t,n){"use strict";function r(e){const{memo:t,msg:n,fee:r,signatures:i}=e;return"string"==typeof t&&Array.isArray(n)&&"object"==typeof r&&Array.isArray(i)}Object.defineProperty(t,"__esModule",{value:!0}),t.isWrappedStdTx=t.makeStdTx=t.isStdTx=void 0,t.isStdTx=r,t.makeStdTx=function(e,t){return{msg:e.msgs,fee:e.fee,memo:e.memo,signatures:Array.isArray(t)?t:[t]}},t.isWrappedStdTx=function(e){return"cosmos-sdk/StdTx"===e.type&&r(e.value)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decrypt=t.encrypt=t.supportedAlgorithms=t.executeKdf=t.cosmjsSalt=void 0;const r=n(50),i=n(39);t.cosmjsSalt=i.toAscii("The CosmJS salt."),t.executeKdf=async function(e,n){switch(n.algorithm){case"argon2id":{const i=n.params;if(!r.isArgon2idOptions(i))throw new Error("Invalid format of argon2id params");return r.Argon2id.execute(e,t.cosmjsSalt,i)}default:throw new Error("Unsupported KDF algorithm")}},t.supportedAlgorithms={xchacha20poly1305Ietf:"xchacha20poly1305-ietf"},t.encrypt=async function(e,n,i){switch(i.algorithm){case t.supportedAlgorithms.xchacha20poly1305Ietf:{const t=r.Random.getBytes(r.xchacha20NonceLength);return new Uint8Array([...t,...await r.Xchacha20poly1305Ietf.encrypt(e,n,t)])}default:throw new Error(`Unsupported encryption algorithm: '${i.algorithm}'`)}},t.decrypt=async function(e,n,i){switch(i.algorithm){case t.supportedAlgorithms.xchacha20poly1305Ietf:{const t=e.slice(0,r.xchacha20NonceLength);return r.Xchacha20poly1305Ietf.decrypt(e.slice(r.xchacha20NonceLength),n,t)}default:throw new Error(`Unsupported encryption algorithm: '${i.algorithm}'`)}}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(176),t),i(n(650),t),i(n(651),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageRegistry=void 0;t.MessageRegistry=class{constructor(){this.registeredMsgType=new Map}registerMessage(e){if(this.registeredMsgType.has(e.type()))throw new Error("Already registered type "+e.type());this.registeredMsgType.set(e.type(),e)}parseMessage(e){if(!e.type)throw new Error("Null type");const t=this.registeredMsgType.get(e.type);if(!t)throw new Error("Unregistered msg type "+e.type);return Object.setPrototypeOf(e.msg,t.prototype)}}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(656),t),i(n(657),t),i(n(658),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WEBPAGE_PORT=t.APP_PORT=t.BACKGROUND_PORT=void 0,t.BACKGROUND_PORT="background",t.APP_PORT="popup",t.WEBPAGE_PORT="webpage"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionGuards=void 0;class r{}t.ExtensionGuards=r,r.checkOriginIsValid=(e,t,n)=>{if(!n.url)throw new Error("url is empty");if(!t.origin)throw new Error("origin is empty");if(new URL(n.url).origin!==t.origin)throw new Error("Invalid origin");return Promise.resolve()},r.checkMessageIsInternal=(e,t,n)=>{if(!e.isInternalMsg&&!t.approveExternal(e,n))throw new Error("Permission rejected");return Promise.resolve()}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionEnv=void 0;const o=n(407),a=n(327),s=n(326),c=new(i(n(412)).default)({concurrency:1});class l{}t.ExtensionEnv=l,l.produceEnv=e=>{const t=l.checkIsInternalMessage(e,browser.runtime.id,browser.runtime.getURL("/")),n="interaction=true&interactionInternal="+t,i=(e,t,i)=>r(void 0,void 0,void 0,(function*(){e.startsWith("/")&&(e=e.slice(1)),(e=browser.runtime.getURL("/popup.html#/"+e)).includes("?")?e+="&"+n:e+="?"+n;const l=yield function(e,t="default"){return r(this,void 0,void 0,(function*(){return yield c.add(()=>o.openPopupWindow(e,t))}))}(e,null==i?void 0:i.channel),u=(yield browser.windows.get(l,{populate:!0})).tabs[0].id;return yield r(void 0,void 0,void 0,(function*(){if("complete"!==(yield browser.tabs.get(u)).status)return new Promise(e=>{browser.tabs.onUpdated.addListener((t,n)=>{u===t&&"complete"===n.status&&e()})})})),yield s.InExtensionMessageRequester.sendMessageToTab(u,a.APP_PORT,t)}));if(t){return{isInternalMsg:t,requestInteraction:(t,o,c)=>r(void 0,void 0,void 0,(function*(){if(null==c?void 0:c.forceOpenWindow)return yield i(t,o,c);t.startsWith("/")&&(t=t.slice(1)),(t=browser.runtime.getURL("/popup.html#/"+t)).includes("?")?t+="&"+n:t+="?"+n;const r=yield browser.runtime.getBackgroundPage(),l=browser.extension.getViews().filter(e=>e.location.href!==r.location.href),u=l.find(t=>t.location.href===e.url);return(null!=u?u:l[0]).location.href=t,yield(new s.InExtensionMessageRequester).sendMessage(a.APP_PORT,o)}))}}return{isInternalMsg:t,requestInteraction:i}},l.checkIsInternalMessage=(e,t,n)=>{if(!e.url)throw new Error("Empty sender url");const r=new URL(e.url);if(!r.origin||"null"===r.origin)throw new Error("Invalid sender url");const i=new URL(n);if(!i.origin||"null"===i.origin)throw new Error("Invalid browser url");return r.origin===i.origin&&e.id===t}},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.PersistentMemoryService=void 0;const i=n(43);let o=class{constructor(){this.data={}}set(e){this.data=Object.assign(Object.assign({},this.data),e)}get(){return this.data}};o=r([i.singleton()],o),t.PersistentMemoryService=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="persistent-memory"},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChainsService=void 0;const c=n(43),l=n(52),u=n(333),f=n(334),d=n(83),p=n(128),h=n(11),m=s(n(342));let b=class{constructor(e,t,n,r){this.kvStore=e,this.embedChainInfos=t,this.chainUpdaterKeeper=n,this.interactionKeeper=r,this.onChainRemovedHandlers=[],this.getChainInfos=m.default.promise(()=>a(this,void 0,void 0,(function*(){var e;if(this.cachedChainInfos)return this.cachedChainInfos;const t=this.embedChainInfos.map(e=>Object.assign(Object.assign({},e),{embeded:!0})),n=new Map;for(const e of t)n.set(h.ChainIdHelper.parse(e.chainId).identifier,!0);const r=(null!==(e=yield this.kvStore.get("chain-infos"))&&void 0!==e?e:[]).filter(e=>!n.get(h.ChainIdHelper.parse(e.chainId).identifier)).map(e=>Object.assign(Object.assign({},e),{embeded:!1}));let i=t.concat(r);return i=yield Promise.all(i.map(e=>a(this,void 0,void 0,(function*(){const t=yield this.chainUpdaterKeeper.putUpdatedPropertyToChainInfo(e);return Object.assign(Object.assign({},t),{embeded:e.embeded})})))),this.cachedChainInfos=i,i})))}clearCachedChainInfos(){this.cachedChainInfos=void 0}getChainInfo(e){return a(this,void 0,void 0,(function*(){const t=(yield this.getChainInfos()).find(t=>h.ChainIdHelper.parse(t.chainId).identifier===h.ChainIdHelper.parse(e).identifier);if(!t)throw new Error("There is no chain info for "+e);return t}))}getChainCoinType(e){return a(this,void 0,void 0,(function*(){const t=yield this.getChainInfo(e);if(!t)throw new Error("There is no chain info for "+e);return t.bip44.coinType}))}hasChainInfo(e){return a(this,void 0,void 0,(function*(){return null!=(yield this.getChainInfos()).find(t=>h.ChainIdHelper.parse(t.chainId).identifier===h.ChainIdHelper.parse(e).identifier)}))}suggestChainInfo(e,t,n){return a(this,void 0,void 0,(function*(){t=yield u.ChainInfoSchema.validateAsync(t,{stripUnknown:!0}),yield this.interactionKeeper.waitApprove(e,"/suggest-chain",p.SuggestChainInfoMsg.type(),Object.assign(Object.assign({},t),{origin:n})),yield this.addChainInfo(t)}))}addChainInfo(e){var t;return a(this,void 0,void 0,(function*(){if(yield this.hasChainInfo(e.chainId))throw new Error("Same chain is already registered");const n=null!==(t=yield this.kvStore.get("chain-infos"))&&void 0!==t?t:[];n.push(e),yield this.kvStore.set("chain-infos",n),this.clearCachedChainInfos()}))}removeChainInfo(e){var t;return a(this,void 0,void 0,(function*(){if(!(yield this.hasChainInfo(e)))throw new Error("Chain is not registered");if((yield this.getChainInfo(e)).embeded)throw new Error("Can't remove the embedded chain");const n=(null!==(t=yield this.kvStore.get("chain-infos"))&&void 0!==t?t:[]).filter(t=>h.ChainIdHelper.parse(t.chainId).identifier!==h.ChainIdHelper.parse(e).identifier);yield this.kvStore.set("chain-infos",n),yield this.chainUpdaterKeeper.clearUpdatedProperty(e);for(const t of this.onChainRemovedHandlers)t(e,h.ChainIdHelper.parse(e).identifier);this.clearCachedChainInfos()}))}addChainRemovedHandler(e){this.onChainRemovedHandlers.push(e)}};b=r([c.singleton(),o(0,c.inject(l.TYPES.ChainsStore)),o(1,c.inject(l.TYPES.ChainsEmbedChainInfos)),o(2,c.inject(c.delay(()=>f.ChainUpdaterService))),o(3,c.inject(c.delay(()=>d.InteractionService))),i("design:paramtypes",[Object,Array,f.ChainUpdaterService,d.InteractionService])],b),t.ChainsService=b},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChainInfoSchema=t.SuggestingBIP44Schema=t.Bech32ConfigSchema=t.Secret20CurrencyShema=t.CW20CurrencyShema=t.CurrencySchema=void 0;const i=r(n(670));t.CurrencySchema=i.default.object({coinDenom:i.default.string().required(),coinMinimalDenom:i.default.string().required(),coinDecimals:i.default.number().integer().min(0).max(18).required(),coinGeckoId:i.default.string()}),t.CW20CurrencyShema=t.CurrencySchema.keys({type:i.default.string().equal("cw20").required(),contractAddress:i.default.string().required()}).custom(e=>e.coinMinimalDenom.startsWith(`${e.type}:${e.contractAddress}:`)?e:Object.assign(Object.assign({},e),{coinMinimalDenom:`${e.type}:${e.contractAddress}:`+e.coinMinimalDenom})),t.Secret20CurrencyShema=t.CurrencySchema.keys({type:i.default.string().equal("secret20").required(),contractAddress:i.default.string().required(),viewingKey:i.default.string().required()}).custom(e=>e.coinMinimalDenom.startsWith(`${e.type}:${e.contractAddress}:`)?e:Object.assign(Object.assign({},e),{coinMinimalDenom:`${e.type}:${e.contractAddress}:`+e.coinMinimalDenom})),t.Bech32ConfigSchema=i.default.object({bech32PrefixAccAddr:i.default.string().required(),bech32PrefixAccPub:i.default.string().required(),bech32PrefixValAddr:i.default.string().required(),bech32PrefixValPub:i.default.string().required(),bech32PrefixConsAddr:i.default.string().required(),bech32PrefixConsPub:i.default.string().required()}),t.SuggestingBIP44Schema=i.default.object({coinType:i.default.number().integer().min(0).required()}).unknown(!0),t.ChainInfoSchema=i.default.object({rpc:i.default.string().required().uri(),rest:i.default.string().required().uri(),chainId:i.default.string().required().min(1).max(30),chainName:i.default.string().required().min(1).max(30),stakeCurrency:t.CurrencySchema.required(),walletUrl:i.default.string().uri(),walletUrlForStaking:i.default.string().uri(),bip44:t.SuggestingBIP44Schema.required(),bech32Config:t.Bech32ConfigSchema.required(),currencies:i.default.array().min(1).items(t.CurrencySchema,t.CW20CurrencyShema,t.Secret20CurrencyShema).required(),feeCurrencies:i.default.array().min(1).items(t.CurrencySchema).required(),coinType:i.default.number().integer(),beta:i.default.boolean(),gasPriceStep:i.default.object({low:i.default.number().required(),average:i.default.number().required(),high:i.default.number().required()}),features:i.default.array().items(i.default.string().valid("stargate","cosmwasm","secretwasm","ibc-transfer")).unique().custom(e=>{if(e.indexOf("cosmwasm")>=0&&e.indexOf("secretwasm")>=0)throw new Error("cosmwasm and secretwasm are not compatible");return e})})},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(335),t),i(n(178),t)},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChainUpdaterService=void 0;const c=n(43),l=n(52),u=s(n(68)),f=n(11),d=n(58);let p=class{constructor(e,t){this.kvStore=e,this.chainsService=t}putUpdatedPropertyToChainInfo(e){var t,n;return a(this,void 0,void 0,(function*(){const r=yield this.getUpdatedChainProperty(e.chainId),i=f.ChainIdHelper.parse(e.chainId);if(f.ChainIdHelper.parse(r.chainId||e.chainId).versiond.ChainsService))),i("design:paramtypes",[Object,d.ChainsService])],p),t.ChainUpdaterService=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="chains"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="chain-updator"},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionService=void 0;const s=n(43),c=n(52),l=n(339);let u=class{constructor(e,t){this.eventMsgRequester=e,this.rng=t,this.waitingMap=new Map,this.resolverMap=new Map}dispatchEvent(e,t,n){return a(this,void 0,void 0,(function*(){if(!t)throw new Error("Type should not be empty");const r=new l.PushEventDataMsg({type:t,data:n});try{yield this.eventMsgRequester.sendMessage(e,r)}catch(t){console.log(`Failed to send the event to ${e}: ${t.message}`)}}))}waitApprove(e,t,n,r,i){return a(this,void 0,void 0,(function*(){if(!n)throw new Error("Type should not be empty");const o=yield this.addDataToMap(n,r),a=new l.PushInteractionDataMsg(o);return yield this.wait(a.data.id,()=>{e.requestInteraction(t,a,i)})}))}wait(e,t){return a(this,void 0,void 0,(function*(){if(this.resolverMap.has(e))throw new Error("Id is aleady in use");return new Promise((n,r)=>{this.resolverMap.set(e,{onApprove:n,onReject:r}),t()})}))}approve(e,t){this.resolverMap.has(e)&&(this.resolverMap.get(e).onApprove(t),this.resolverMap.delete(e))}reject(e){this.resolverMap.has(e)&&(this.resolverMap.get(e).onReject(new Error("Request rejected")),this.resolverMap.delete(e))}addDataToMap(e,t){return a(this,void 0,void 0,(function*(){const n=new Uint8Array(8),r=Array.from(yield this.rng(n)).map(e=>e.toString(16)).join(""),i={id:r,type:e,data:t};if(this.waitingMap.has(r))throw new Error("Id is aleady in use");return this.waitingMap.set(r,i),i}))}removeDataFromMap(e){this.waitingMap.delete(e)}};u=r([s.singleton(),o(0,s.inject(c.TYPES.EventMsgRequester)),o(1,s.inject(c.TYPES.RNG)),i("design:paramtypes",[Object,Function])],u),t.InteractionService=u},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(671),t),i(n(179),t),i(n(672),t),i(n(673),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="interaction-foreground"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="interaction"},function(e,t,n){"use strict";n.r(t);const r=(e,t,n={})=>{if(!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,i,o=[];return function(...a){return new Promise(s=>{const c=n.leading&&!i;clearTimeout(i),i=setTimeout(()=>{i=null;const t=n.leading?r:e.apply(this,a);for(s of o)s(t);o=[]},t),c?(r=e.apply(this,a),s(r)):o.push(s)})}};r.promise=e=>{let t;return async function(...n){if(t)return t;try{return t=e.apply(this,n),await t}finally{t=void 0}}},t.default=r},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LedgerService=void 0;const c=n(43),l=n(52),u=n(344),f=s(n(386)),d=n(18),p=n(83),h=n(2);let m=class{constructor(e,t){this.kvStore=e,this.interactionService=t}getPublicKey(e,t){return a(this,void 0,void 0,(function*(){return yield this.useLedger(e,(e,n)=>a(this,void 0,void 0,(function*(){try{return yield e.getPublicKey([44,118,t.account,t.change,t.addressIndex])}finally{n>0&&(yield this.interactionService.dispatchEvent(d.APP_PORT,"ledger-init",{event:"get-pubkey",success:!0}))}})))}))}sign(e,t,n,r){return a(this,void 0,void 0,(function*(){return yield this.useLedger(e,(e,i)=>a(this,void 0,void 0,(function*(){try{const o=yield e.getPublicKey([44,118,t.account,t.change,t.addressIndex]);if(h.Buffer.from(n).toString("hex")!==h.Buffer.from(o).toString("hex"))throw new Error("Unmatched public key");const a=yield e.sign([44,118,t.account,t.change,t.addressIndex],r);return i>0&&(yield this.interactionService.dispatchEvent(d.APP_PORT,"ledger-init",{event:"sign",success:!0})),a}catch(e){throw i>0&&(yield this.interactionService.dispatchEvent(d.APP_PORT,"ledger-init",{event:"sign",success:!1})),e}})))}))}useLedger(e,t){return a(this,void 0,void 0,(function*(){let n;try{return n=yield this.initLedger(e),yield t(n.ledger,n.retryCount)}finally{n&&(yield n.ledger.close())}}))}initLedger(e){return a(this,void 0,void 0,(function*(){this.previousInitAborter&&this.previousInitAborter(new Error("New ledger request occurred before the ledger was initialized"));const t=(()=>{let e;return{wait:()=>new Promise((t,n)=>{e=n}),abort:t=>{e&&e(t)}}})();this.previousInitAborter=t.abort;let n=0;for(;;){try{const e=yield u.Ledger.init(yield this.getWebHIDFlag());return this.previousInitAborter=void 0,{ledger:e,retryCount:n}}catch(n){console.log(n);const r=new AbortController;try{yield Promise.race([this.interactionService.waitApprove(e,"/ledger-grant","ledger-init",{event:"init-failed"},{forceOpenWindow:!0,channel:"ledger"}),(()=>a(this,void 0,void 0,(function*(){let e=!1;try{yield f.default(3e5,{signal:r.signal})}catch(t){if("AbortError"!==t.name)throw t;e=!0}if(!e)throw yield this.interactionService.dispatchEvent(d.APP_PORT,"ledger-init",{event:"init-aborted"}),new Error("Ledger init timeout")})))(),t.wait(),this.testLedgerGrantUIOpened()])}finally{r.abort()}}n++}}))}testLedgerGrantUIOpened(){return a(this,void 0,void 0,(function*(){for(yield f.default(1e3);;){const e=browser.extension.getViews();let t=!1;for(const n of e)if(n.location.href.includes(browser.runtime.getURL("popup.html#/ledger-grant"))){t=!0;break}if(!t)throw new Error("Ledger init aborted");yield f.default(1e3)}}))}getWebHIDFlag(){return a(this,void 0,void 0,(function*(){return!!(yield this.kvStore.get("webhid"))}))}setWebHIDFlag(e){return a(this,void 0,void 0,(function*(){yield this.kvStore.set("webhid",e)}))}};m=r([c.singleton(),o(0,c.inject(l.TYPES.LedgerStore)),o(1,c.inject(c.delay(()=>p.InteractionService))),i("design:paramtypes",[Object,p.InteractionService])],m),t.LedgerService=m},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Ledger=t.LedgerInitError=t.LedgerInitErrorOn=void 0;const o=n(679).default,a=i(n(685)),s=i(n(712)),c=n(398);var l;!function(e){e[e.Transport=0]="Transport",e[e.App=1]="App",e[e.Unknown=2]="Unknown"}(l=t.LedgerInitErrorOn||(t.LedgerInitErrorOn={}));class u extends Error{constructor(e,t){super(t),this.errorOn=e,Object.setPrototypeOf(this,u.prototype)}}t.LedgerInitError=u;class f{constructor(e){this.cosmosApp=e}static init(e=!1){return r(this,void 0,void 0,(function*(){let t;try{t=e?yield s.default.create():yield a.default.create()}catch(e){throw new u(l.Transport,e.message)}try{const e=new o(t),n=new f(e);if((yield n.getVersion()).deviceLocked)throw new Error("Device is on screen saver");return n}catch(e){if(t&&(yield t.close()),"Device is on screen saver"===e.message)throw new u(l.Transport,e.message);throw new u(l.App,e.message)}}))}getVersion(){return r(this,void 0,void 0,(function*(){if(!this.cosmosApp)throw new Error("Comsos App not initialized");const e=yield this.cosmosApp.getVersion();if("No errors"!==e.error_message)throw new Error(e.error_message);return{deviceLocked:e.device_locked,major:e.major,minor:e.minor,patch:e.patch,targetId:e.target_id,testMode:e.test_mode}}))}getPublicKey(e){return r(this,void 0,void 0,(function*(){if(!this.cosmosApp)throw new Error("Comsos App not initialized");const t=yield this.cosmosApp.publicKey(e);if("No errors"!==t.error_message)throw new Error(t.error_message);return t.compressed_pk}))}sign(e,t){return r(this,void 0,void 0,(function*(){if(!this.cosmosApp)throw new Error("Comsos App not initialized");const n=yield this.cosmosApp.sign(e,t);if("No errors"!==n.error_message)throw new Error(n.error_message);return c.signatureImport(n.signature)}))}close(){return r(this,void 0,void 0,(function*(){return yield this.cosmosApp.transport.close()}))}static isWebHIDSupported(){return r(this,void 0,void 0,(function*(){return yield s.default.isSupported()}))}}t.Ledger=f},function(e,t,n){"use strict";(function(e){var r=n(115);Object.defineProperty(t,"__esModule",{value:!0}),t.serializePathv1=function(t){if(null==t||t.length<3)throw new Error("Invalid path.");if(t.length>10)throw new Error("Invalid path. Length should be <= 10");var n=e.alloc(1+4*t.length);n.writeUInt8(t.length,0);for(var r=0;r2&&(i=e.slice(0,e.length-2)),{signature:i,return_code:n,error_message:r}}),a.processErrorResponse));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function c(t){if(65!==t.length)throw new Error("decompressed public key length should be 65 bytes");var n=t.slice(33,65),r=e.from([2+(1&n[n.length-1])]);return e.concat([r,t.slice(1,33)])}function l(){return(l=(0,o.default)(i.default.mark((function t(n,r){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",n.transport.send(a.CLA,a.INS.INS_PUBLIC_KEY_SECP256K1,0,0,r,[a.ERROR_CODE.NoError]).then((function(t){var n=t.slice(-2),r=256*n[0]+n[1],i=e.from(t.slice(0,65));return{pk:i,compressed_pk:c(i),return_code:r,error_message:(0,a.errorCodeToString)(r)}}),a.processErrorResponse));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}}).call(this,n(2).Buffer)},function(e,t,n){const r=n(40);e.exports=(e,t,n)=>0!==r(e,t,n)},function(e,t,n){const r=n(183),i=n(346),o=n(134),a=n(186),s=n(185),c=n(187);e.exports=(e,t,n,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,l);case"!=":return i(e,n,l);case">":return o(e,n,l);case">=":return a(e,n,l);case"<":return s(e,n,l);case"<=":return c(e,n,l);default:throw new TypeError("Invalid operator: "+t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="ledger"},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.KeyRingService=void 0;const s=n(43),c=n(52),l=n(190),u=n(11),f=n(58),d=n(350),p=n(18),h=n(83),m=n(102),b=n(114),y=n(719),g=n(11);let v=class{constructor(e,t,n,r,i,o,a){this.interactionService=n,this.chainsService=r,this.permissionService=i,this.rng=a,this.keyRing=new l.KeyRing(t,e,o,a)}restore(){return a(this,void 0,void 0,(function*(){return yield this.keyRing.restore(),{status:this.keyRing.status,type:this.keyRing.type,multiKeyStoreInfo:this.keyRing.getMultiKeyStoreInfo()}}))}enable(e){return a(this,void 0,void 0,(function*(){if(this.keyRing.status===l.KeyRingStatus.EMPTY)throw new Error("key doesn't exist");return this.keyRing.status===l.KeyRingStatus.NOTLOADED&&(yield this.keyRing.restore()),this.keyRing.status===l.KeyRingStatus.LOCKED?(yield this.interactionService.waitApprove(e,"/unlock","unlock",{}),this.keyRing.status):this.keyRing.status}))}get keyRingStatus(){return this.keyRing.status}deleteKeyRing(e,t){return a(this,void 0,void 0,(function*(){return{multiKeyStoreInfo:yield this.keyRing.deleteKeyRing(e,t),status:this.keyRing.status}}))}updateNameKeyRing(e,t){return a(this,void 0,void 0,(function*(){return{multiKeyStoreInfo:yield this.keyRing.updateNameKeyRing(e,t),status:this.keyRing.status}}))}showKeyRing(e,t){return a(this,void 0,void 0,(function*(){return yield this.keyRing.showKeyRing(e,t)}))}createMnemonicKey(e,t,n,r){return a(this,void 0,void 0,(function*(){return yield this.keyRing.createMnemonicKey(e,t,n,r),this.keyRing.status}))}createPrivateKey(e,t,n){return a(this,void 0,void 0,(function*(){return yield this.keyRing.createPrivateKey(e,t,n),this.keyRing.status}))}createLedgerKey(e,t,n,r){return a(this,void 0,void 0,(function*(){return yield this.keyRing.createLedgerKey(e,t,n,r),this.keyRing.status}))}lock(){return this.keyRing.lock(),this.keyRing.status}unlock(e){return a(this,void 0,void 0,(function*(){return yield this.keyRing.unlock(e),this.keyRing.status}))}getKey(e){return a(this,void 0,void 0,(function*(){return this.keyRing.getKey(e,yield this.chainsService.getChainCoinType(e))}))}getKeyStoreMeta(e){return this.keyRing.getKeyStoreMeta(e)}getKeyRingType(){return this.keyRing.type}requestSignAmino(e,t,n,r,i){return a(this,void 0,void 0,(function*(){const o=yield this.chainsService.getChainCoinType(t),a=yield this.keyRing.getKey(t,o),s=new u.Bech32Address(a.address).toBech32((yield this.chainsService.getChainInfo(t)).bech32Config.bech32PrefixAccAddr);if(n!==s)throw new Error("Signer mismatched");const c=yield this.interactionService.waitApprove(e,"/sign","request-sign",{chainId:t,mode:"amino",signDoc:r,signer:n,signOptions:i});try{const n=yield this.keyRing.sign(e,t,o,b.serializeSignDoc(c));return{signed:c,signature:b.encodeSecp256k1Signature(a.pubKey,n)}}finally{yield this.interactionService.dispatchEvent(p.APP_PORT,"request-sign-end",{})}}))}requestSignDirect(e,t,n,r,i){return a(this,void 0,void 0,(function*(){const o=yield this.chainsService.getChainCoinType(t),a=yield this.keyRing.getKey(t,o),s=new u.Bech32Address(a.address).toBech32((yield this.chainsService.getChainInfo(t)).bech32Config.bech32PrefixAccAddr);if(n!==s)throw new Error("Signer mismatched");const c=yield this.interactionService.waitApprove(e,"/sign","request-sign",{chainId:t,mode:"direct",signDocBytes:g.cosmos.tx.v1beta1.SignDoc.encode(r).finish(),signer:n,signOptions:i}),l=g.cosmos.tx.v1beta1.SignDoc.decode(c);try{const n=yield this.keyRing.sign(e,t,o,y.makeSignBytes(l));return{signed:l,signature:b.encodeSecp256k1Signature(a.pubKey,n)}}finally{yield this.interactionService.dispatchEvent(p.APP_PORT,"request-sign-end",{})}}))}sign(e,t,n){return a(this,void 0,void 0,(function*(){return this.keyRing.sign(e,t,yield this.chainsService.getChainCoinType(t),n)}))}addMnemonicKey(e,t,n){return a(this,void 0,void 0,(function*(){return this.keyRing.addMnemonicKey(e,t,n)}))}addPrivateKey(e,t){return a(this,void 0,void 0,(function*(){return this.keyRing.addPrivateKey(e,t)}))}addLedgerKey(e,t,n){return a(this,void 0,void 0,(function*(){return this.keyRing.addLedgerKey(e,t,n)}))}changeKeyStoreFromMultiKeyStore(e){return a(this,void 0,void 0,(function*(){try{return yield this.keyRing.changeKeyStoreFromMultiKeyStore(e)}finally{yield this.interactionService.dispatchEvent(p.WEBPAGE_PORT,"keystore-changed",{})}}))}getMultiKeyStoreInfo(){return this.keyRing.getMultiKeyStoreInfo()}isKeyStoreCoinTypeSet(e){return this.keyRing.isKeyStoreCoinTypeSet(e)}setKeyStoreCoinType(e,t){return a(this,void 0,void 0,(function*(){yield this.keyRing.setKeyStoreCoinType(e,t)}))}getKeyStoreBIP44Selectables(e,t){return a(this,void 0,void 0,(function*(){if(this.isKeyStoreCoinTypeSet(e))return[];const n=[],r=yield this.chainsService.getChainInfo(e);for(const e of t){const t=yield this.keyRing.getKeyFromCoinType(e.coinType),i=new u.Bech32Address(t.address).toBech32(r.bech32Config.bech32PrefixAccAddr);n.push({path:e,bech32Address:i})}return n}))}};v=r([s.singleton(),o(0,s.inject(c.TYPES.KeyRingStore)),o(1,s.inject(c.TYPES.ChainsEmbedChainInfos)),o(2,s.inject(s.delay(()=>h.InteractionService))),o(3,s.inject(s.delay(()=>f.ChainsService))),o(4,s.inject(s.delay(()=>m.PermissionService))),o(5,s.inject(d.LedgerService)),o(6,s.inject(c.TYPES.RNG)),i("design:paramtypes",[Object,Array,h.InteractionService,f.ChainsService,m.PermissionService,d.LedgerService,Function])],v),t.KeyRingService=v},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(343),t),i(n(189),t),i(n(344),t)},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.PermissionService=void 0;const s=n(43),c=n(52),l=n(83),u=n(352),f=n(58),d=n(103),p=n(11);let h=class{constructor(e,t,n,r,i){this.kvStore=e,this.interactionService=t,this.chainsService=n,this.keyRingService=r,this.permissionMap={},this.privilegedOrigins=new Map,this.onChainRemoved=e=>{this.removeAllPermissions(e)};for(const e of i)this.privilegedOrigins.set(e,!0);this.restore(),this.chainsService.addChainRemovedHandler(this.onChainRemoved)}checkOrGrantBasicAccessPermission(e,t,n){return a(this,void 0,void 0,(function*(){yield this.keyRingService.enable(e),"string"==typeof t&&(t=[t]);const r=[];for(const e of t)this.hasPermisson(e,u.getBasicAccessPermissionType(),n)||r.push(e);r.length>0&&(yield this.grantBasicAccessPermission(e,r,[n])),yield this.checkBasicAccessPermission(e,t,n)}))}grantPermission(e,t,n,r,i){return a(this,void 0,void 0,(function*(){if(e.isInternalMsg)return;const o={chainIds:n,type:r,origins:i};yield this.interactionService.waitApprove(e,t,u.INTERACTION_TYPE_PERMISSION,o),yield this.addPermission(n,r,i)}))}grantBasicAccessPermission(e,t,n){return a(this,void 0,void 0,(function*(){for(const e of t)yield this.chainsService.getChainInfo(e);yield this.grantPermission(e,"/access",t,u.getBasicAccessPermissionType(),n)}))}checkPermission(e,t,n,r){if(!e.isInternalMsg&&!this.hasPermisson(t,n,r))throw new Error(r+" is not permitted")}checkBasicAccessPermission(e,t,n){return a(this,void 0,void 0,(function*(){for(const r of t)yield this.chainsService.getChainInfo(r),this.checkPermission(e,r,u.getBasicAccessPermissionType(),n)}))}hasPermisson(e,t,n){if(this.privilegedOrigins.get(n))return!0;const r=this.permissionMap[p.ChainIdHelper.parse(e).identifier];if(!r)return!1;const i=r[t];return!(!i||!i[n])}getPermissionOrigins(e,t){const n=[],r=this.permissionMap[p.ChainIdHelper.parse(e).identifier];if(!r)return[];const i=r[t];if(!i)return[];for(const e of Object.keys(i))i[e]&&n.push(e);return n}addPermission(e,t,n){return a(this,void 0,void 0,(function*(){for(const r of e){let e=this.permissionMap[p.ChainIdHelper.parse(r).identifier];e||(e={},this.permissionMap[p.ChainIdHelper.parse(r).identifier]=e);let i=e[t];i||(i={},e[t]=i);for(const e of n)i[e]=!0}yield this.save()}))}removePermission(e,t,n){return a(this,void 0,void 0,(function*(){const r=this.permissionMap[p.ChainIdHelper.parse(e).identifier];if(!r)return;const i=r[t];if(i){for(const e of n)delete i[e];yield this.save()}}))}removeAllPermissions(e){return a(this,void 0,void 0,(function*(){this.permissionMap[p.ChainIdHelper.parse(e).identifier]=void 0,yield this.save()}))}restore(){return a(this,void 0,void 0,(function*(){const e=yield this.kvStore.get("permissionMap");e&&(this.permissionMap=e)}))}save(){return a(this,void 0,void 0,(function*(){yield this.kvStore.set("permissionMap",this.permissionMap)}))}};h=r([s.singleton(),o(0,s.inject(c.TYPES.PermissionStore)),o(1,s.inject(s.delay(()=>l.InteractionService))),o(2,s.inject(f.ChainsService)),o(3,s.inject(s.delay(()=>d.KeyRingService))),o(4,s.inject(c.TYPES.PermissionServicePrivilegedOrigins)),i("design:paramtypes",[Object,l.InteractionService,f.ChainsService,d.KeyRingService,Array])],h),t.PermissionService=h},function(e,t,n){"use strict";function r(){return"basic-access"}Object.defineProperty(t,"__esModule",{value:!0}),t.isBasicAccessPermissionType=t.getBasicAccessPermissionType=t.INTERACTION_TYPE_PERMISSION=void 0,t.INTERACTION_TYPE_PERMISSION="permission",t.getBasicAccessPermissionType=r,t.isBasicAccessPermissionType=function(e){return"basic-access"===e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="keyring"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="permission"},function(e,t,n){"use strict";(function(e){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Fee=t.ModeInfo_Multi=t.ModeInfo_Single=t.ModeInfo=t.SignerInfo=t.AuthInfo=t.TxBody=t.SignDoc=t.TxRaw=t.Tx=t.protobufPackage=void 0;const i=r(n(113)),o=n(138),a=n(356),s=n(357),c=n(137),l=r(n(48));t.protobufPackage="cosmos.tx.v1beta1";const u={};t.Tx={encode(e,n=l.default.Writer.create()){void 0!==e.body&&void 0!==e.body&&t.TxBody.encode(e.body,n.uint32(10).fork()).ldelim(),void 0!==e.authInfo&&void 0!==e.authInfo&&t.AuthInfo.encode(e.authInfo,n.uint32(18).fork()).ldelim();for(const t of e.signatures)n.uint32(26).bytes(t);return n},decode(e,n){const r=e instanceof Uint8Array?new l.default.Reader(e):e;let i=void 0===n?r.len:r.pos+n;const o=Object.assign({},u);for(o.signatures=[];r.pos>>3){case 1:o.body=t.TxBody.decode(r,r.uint32());break;case 2:o.authInfo=t.AuthInfo.decode(r,r.uint32());break;case 3:o.signatures.push(r.bytes());break;default:r.skipType(7&e)}}return o},fromJSON(e){const n=Object.assign({},u);if(n.signatures=[],void 0!==e.body&&null!==e.body?n.body=t.TxBody.fromJSON(e.body):n.body=void 0,void 0!==e.authInfo&&null!==e.authInfo?n.authInfo=t.AuthInfo.fromJSON(e.authInfo):n.authInfo=void 0,void 0!==e.signatures&&null!==e.signatures)for(const t of e.signatures)n.signatures.push(k(t));return n},fromPartial(e){const n=Object.assign({},u);if(n.signatures=[],void 0!==e.body&&null!==e.body?n.body=t.TxBody.fromPartial(e.body):n.body=void 0,void 0!==e.authInfo&&null!==e.authInfo?n.authInfo=t.AuthInfo.fromPartial(e.authInfo):n.authInfo=void 0,void 0!==e.signatures&&null!==e.signatures)for(const t of e.signatures)n.signatures.push(t);return n},toJSON(e){const n={};return void 0!==e.body&&(n.body=e.body?t.TxBody.toJSON(e.body):void 0),void 0!==e.authInfo&&(n.authInfo=e.authInfo?t.AuthInfo.toJSON(e.authInfo):void 0),e.signatures?n.signatures=e.signatures.map(e=>S(void 0!==e?e:new Uint8Array)):n.signatures=[],n}};const f={};t.TxRaw={encode(e,t=l.default.Writer.create()){t.uint32(10).bytes(e.bodyBytes),t.uint32(18).bytes(e.authInfoBytes);for(const n of e.signatures)t.uint32(26).bytes(n);return t},decode(e,t){const n=e instanceof Uint8Array?new l.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const i=Object.assign({},f);for(i.signatures=[];n.pos>>3){case 1:i.bodyBytes=n.bytes();break;case 2:i.authInfoBytes=n.bytes();break;case 3:i.signatures.push(n.bytes());break;default:n.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},f);if(t.signatures=[],void 0!==e.bodyBytes&&null!==e.bodyBytes&&(t.bodyBytes=k(e.bodyBytes)),void 0!==e.authInfoBytes&&null!==e.authInfoBytes&&(t.authInfoBytes=k(e.authInfoBytes)),void 0!==e.signatures&&null!==e.signatures)for(const n of e.signatures)t.signatures.push(k(n));return t},fromPartial(e){const t=Object.assign({},f);if(t.signatures=[],void 0!==e.bodyBytes&&null!==e.bodyBytes?t.bodyBytes=e.bodyBytes:t.bodyBytes=new Uint8Array,void 0!==e.authInfoBytes&&null!==e.authInfoBytes?t.authInfoBytes=e.authInfoBytes:t.authInfoBytes=new Uint8Array,void 0!==e.signatures&&null!==e.signatures)for(const n of e.signatures)t.signatures.push(n);return t},toJSON(e){const t={};return void 0!==e.bodyBytes&&(t.bodyBytes=S(void 0!==e.bodyBytes?e.bodyBytes:new Uint8Array)),void 0!==e.authInfoBytes&&(t.authInfoBytes=S(void 0!==e.authInfoBytes?e.authInfoBytes:new Uint8Array)),e.signatures?t.signatures=e.signatures.map(e=>S(void 0!==e?e:new Uint8Array)):t.signatures=[],t}};const d={chainId:"",accountNumber:i.default.UZERO};t.SignDoc={encode:(e,t=l.default.Writer.create())=>(t.uint32(10).bytes(e.bodyBytes),t.uint32(18).bytes(e.authInfoBytes),t.uint32(26).string(e.chainId),t.uint32(32).uint64(e.accountNumber),t),decode(e,t){const n=e instanceof Uint8Array?new l.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const i=Object.assign({},d);for(;n.pos>>3){case 1:i.bodyBytes=n.bytes();break;case 2:i.authInfoBytes=n.bytes();break;case 3:i.chainId=n.string();break;case 4:i.accountNumber=n.uint64();break;default:n.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},d);return void 0!==e.bodyBytes&&null!==e.bodyBytes&&(t.bodyBytes=k(e.bodyBytes)),void 0!==e.authInfoBytes&&null!==e.authInfoBytes&&(t.authInfoBytes=k(e.authInfoBytes)),void 0!==e.chainId&&null!==e.chainId?t.chainId=String(e.chainId):t.chainId="",void 0!==e.accountNumber&&null!==e.accountNumber?t.accountNumber=i.default.fromString(e.accountNumber):t.accountNumber=i.default.UZERO,t},fromPartial(e){const t=Object.assign({},d);return void 0!==e.bodyBytes&&null!==e.bodyBytes?t.bodyBytes=e.bodyBytes:t.bodyBytes=new Uint8Array,void 0!==e.authInfoBytes&&null!==e.authInfoBytes?t.authInfoBytes=e.authInfoBytes:t.authInfoBytes=new Uint8Array,void 0!==e.chainId&&null!==e.chainId?t.chainId=e.chainId:t.chainId="",void 0!==e.accountNumber&&null!==e.accountNumber?t.accountNumber=e.accountNumber:t.accountNumber=i.default.UZERO,t},toJSON(e){const t={};return void 0!==e.bodyBytes&&(t.bodyBytes=S(void 0!==e.bodyBytes?e.bodyBytes:new Uint8Array)),void 0!==e.authInfoBytes&&(t.authInfoBytes=S(void 0!==e.authInfoBytes?e.authInfoBytes:new Uint8Array)),void 0!==e.chainId&&(t.chainId=e.chainId),void 0!==e.accountNumber&&(t.accountNumber=(e.accountNumber||i.default.UZERO).toString()),t}};const p={memo:"",timeoutHeight:i.default.UZERO};t.TxBody={encode(e,t=l.default.Writer.create()){for(const n of e.messages)o.Any.encode(n,t.uint32(10).fork()).ldelim();t.uint32(18).string(e.memo),t.uint32(24).uint64(e.timeoutHeight);for(const n of e.extensionOptions)o.Any.encode(n,t.uint32(8186).fork()).ldelim();for(const n of e.nonCriticalExtensionOptions)o.Any.encode(n,t.uint32(16378).fork()).ldelim();return t},decode(e,t){const n=e instanceof Uint8Array?new l.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const i=Object.assign({},p);for(i.messages=[],i.extensionOptions=[],i.nonCriticalExtensionOptions=[];n.pos>>3){case 1:i.messages.push(o.Any.decode(n,n.uint32()));break;case 2:i.memo=n.string();break;case 3:i.timeoutHeight=n.uint64();break;case 1023:i.extensionOptions.push(o.Any.decode(n,n.uint32()));break;case 2047:i.nonCriticalExtensionOptions.push(o.Any.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},p);if(t.messages=[],t.extensionOptions=[],t.nonCriticalExtensionOptions=[],void 0!==e.messages&&null!==e.messages)for(const n of e.messages)t.messages.push(o.Any.fromJSON(n));if(void 0!==e.memo&&null!==e.memo?t.memo=String(e.memo):t.memo="",void 0!==e.timeoutHeight&&null!==e.timeoutHeight?t.timeoutHeight=i.default.fromString(e.timeoutHeight):t.timeoutHeight=i.default.UZERO,void 0!==e.extensionOptions&&null!==e.extensionOptions)for(const n of e.extensionOptions)t.extensionOptions.push(o.Any.fromJSON(n));if(void 0!==e.nonCriticalExtensionOptions&&null!==e.nonCriticalExtensionOptions)for(const n of e.nonCriticalExtensionOptions)t.nonCriticalExtensionOptions.push(o.Any.fromJSON(n));return t},fromPartial(e){const t=Object.assign({},p);if(t.messages=[],t.extensionOptions=[],t.nonCriticalExtensionOptions=[],void 0!==e.messages&&null!==e.messages)for(const n of e.messages)t.messages.push(o.Any.fromPartial(n));if(void 0!==e.memo&&null!==e.memo?t.memo=e.memo:t.memo="",void 0!==e.timeoutHeight&&null!==e.timeoutHeight?t.timeoutHeight=e.timeoutHeight:t.timeoutHeight=i.default.UZERO,void 0!==e.extensionOptions&&null!==e.extensionOptions)for(const n of e.extensionOptions)t.extensionOptions.push(o.Any.fromPartial(n));if(void 0!==e.nonCriticalExtensionOptions&&null!==e.nonCriticalExtensionOptions)for(const n of e.nonCriticalExtensionOptions)t.nonCriticalExtensionOptions.push(o.Any.fromPartial(n));return t},toJSON(e){const t={};return e.messages?t.messages=e.messages.map(e=>e?o.Any.toJSON(e):void 0):t.messages=[],void 0!==e.memo&&(t.memo=e.memo),void 0!==e.timeoutHeight&&(t.timeoutHeight=(e.timeoutHeight||i.default.UZERO).toString()),e.extensionOptions?t.extensionOptions=e.extensionOptions.map(e=>e?o.Any.toJSON(e):void 0):t.extensionOptions=[],e.nonCriticalExtensionOptions?t.nonCriticalExtensionOptions=e.nonCriticalExtensionOptions.map(e=>e?o.Any.toJSON(e):void 0):t.nonCriticalExtensionOptions=[],t}};const h={};t.AuthInfo={encode(e,n=l.default.Writer.create()){for(const r of e.signerInfos)t.SignerInfo.encode(r,n.uint32(10).fork()).ldelim();return void 0!==e.fee&&void 0!==e.fee&&t.Fee.encode(e.fee,n.uint32(18).fork()).ldelim(),n},decode(e,n){const r=e instanceof Uint8Array?new l.default.Reader(e):e;let i=void 0===n?r.len:r.pos+n;const o=Object.assign({},h);for(o.signerInfos=[];r.pos>>3){case 1:o.signerInfos.push(t.SignerInfo.decode(r,r.uint32()));break;case 2:o.fee=t.Fee.decode(r,r.uint32());break;default:r.skipType(7&e)}}return o},fromJSON(e){const n=Object.assign({},h);if(n.signerInfos=[],void 0!==e.signerInfos&&null!==e.signerInfos)for(const r of e.signerInfos)n.signerInfos.push(t.SignerInfo.fromJSON(r));return void 0!==e.fee&&null!==e.fee?n.fee=t.Fee.fromJSON(e.fee):n.fee=void 0,n},fromPartial(e){const n=Object.assign({},h);if(n.signerInfos=[],void 0!==e.signerInfos&&null!==e.signerInfos)for(const r of e.signerInfos)n.signerInfos.push(t.SignerInfo.fromPartial(r));return void 0!==e.fee&&null!==e.fee?n.fee=t.Fee.fromPartial(e.fee):n.fee=void 0,n},toJSON(e){const n={};return e.signerInfos?n.signerInfos=e.signerInfos.map(e=>e?t.SignerInfo.toJSON(e):void 0):n.signerInfos=[],void 0!==e.fee&&(n.fee=e.fee?t.Fee.toJSON(e.fee):void 0),n}};const m={sequence:i.default.UZERO};t.SignerInfo={encode:(e,n=l.default.Writer.create())=>(void 0!==e.publicKey&&void 0!==e.publicKey&&o.Any.encode(e.publicKey,n.uint32(10).fork()).ldelim(),void 0!==e.modeInfo&&void 0!==e.modeInfo&&t.ModeInfo.encode(e.modeInfo,n.uint32(18).fork()).ldelim(),n.uint32(24).uint64(e.sequence),n),decode(e,n){const r=e instanceof Uint8Array?new l.default.Reader(e):e;let i=void 0===n?r.len:r.pos+n;const a=Object.assign({},m);for(;r.pos>>3){case 1:a.publicKey=o.Any.decode(r,r.uint32());break;case 2:a.modeInfo=t.ModeInfo.decode(r,r.uint32());break;case 3:a.sequence=r.uint64();break;default:r.skipType(7&e)}}return a},fromJSON(e){const n=Object.assign({},m);return void 0!==e.publicKey&&null!==e.publicKey?n.publicKey=o.Any.fromJSON(e.publicKey):n.publicKey=void 0,void 0!==e.modeInfo&&null!==e.modeInfo?n.modeInfo=t.ModeInfo.fromJSON(e.modeInfo):n.modeInfo=void 0,void 0!==e.sequence&&null!==e.sequence?n.sequence=i.default.fromString(e.sequence):n.sequence=i.default.UZERO,n},fromPartial(e){const n=Object.assign({},m);return void 0!==e.publicKey&&null!==e.publicKey?n.publicKey=o.Any.fromPartial(e.publicKey):n.publicKey=void 0,void 0!==e.modeInfo&&null!==e.modeInfo?n.modeInfo=t.ModeInfo.fromPartial(e.modeInfo):n.modeInfo=void 0,void 0!==e.sequence&&null!==e.sequence?n.sequence=e.sequence:n.sequence=i.default.UZERO,n},toJSON(e){const n={};return void 0!==e.publicKey&&(n.publicKey=e.publicKey?o.Any.toJSON(e.publicKey):void 0),void 0!==e.modeInfo&&(n.modeInfo=e.modeInfo?t.ModeInfo.toJSON(e.modeInfo):void 0),void 0!==e.sequence&&(n.sequence=(e.sequence||i.default.UZERO).toString()),n}};const b={};t.ModeInfo={encode:(e,n=l.default.Writer.create())=>(void 0!==e.single&&t.ModeInfo_Single.encode(e.single,n.uint32(10).fork()).ldelim(),void 0!==e.multi&&t.ModeInfo_Multi.encode(e.multi,n.uint32(18).fork()).ldelim(),n),decode(e,n){const r=e instanceof Uint8Array?new l.default.Reader(e):e;let i=void 0===n?r.len:r.pos+n;const o=Object.assign({},b);for(;r.pos>>3){case 1:o.single=t.ModeInfo_Single.decode(r,r.uint32());break;case 2:o.multi=t.ModeInfo_Multi.decode(r,r.uint32());break;default:r.skipType(7&e)}}return o},fromJSON(e){const n=Object.assign({},b);return void 0!==e.single&&null!==e.single?n.single=t.ModeInfo_Single.fromJSON(e.single):n.single=void 0,void 0!==e.multi&&null!==e.multi?n.multi=t.ModeInfo_Multi.fromJSON(e.multi):n.multi=void 0,n},fromPartial(e){const n=Object.assign({},b);return void 0!==e.single&&null!==e.single?n.single=t.ModeInfo_Single.fromPartial(e.single):n.single=void 0,void 0!==e.multi&&null!==e.multi?n.multi=t.ModeInfo_Multi.fromPartial(e.multi):n.multi=void 0,n},toJSON(e){const n={};return void 0!==e.single&&(n.single=e.single?t.ModeInfo_Single.toJSON(e.single):void 0),void 0!==e.multi&&(n.multi=e.multi?t.ModeInfo_Multi.toJSON(e.multi):void 0),n}};const y={mode:0};t.ModeInfo_Single={encode:(e,t=l.default.Writer.create())=>(t.uint32(8).int32(e.mode),t),decode(e,t){const n=e instanceof Uint8Array?new l.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const i=Object.assign({},y);for(;n.pos>>3){case 1:i.mode=n.int32();break;default:n.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},y);return void 0!==e.mode&&null!==e.mode?t.mode=a.signModeFromJSON(e.mode):t.mode=0,t},fromPartial(e){const t=Object.assign({},y);return void 0!==e.mode&&null!==e.mode?t.mode=e.mode:t.mode=0,t},toJSON(e){const t={};return void 0!==e.mode&&(t.mode=a.signModeToJSON(e.mode)),t}};const g={};t.ModeInfo_Multi={encode(e,n=l.default.Writer.create()){void 0!==e.bitarray&&void 0!==e.bitarray&&s.CompactBitArray.encode(e.bitarray,n.uint32(10).fork()).ldelim();for(const r of e.modeInfos)t.ModeInfo.encode(r,n.uint32(18).fork()).ldelim();return n},decode(e,n){const r=e instanceof Uint8Array?new l.default.Reader(e):e;let i=void 0===n?r.len:r.pos+n;const o=Object.assign({},g);for(o.modeInfos=[];r.pos>>3){case 1:o.bitarray=s.CompactBitArray.decode(r,r.uint32());break;case 2:o.modeInfos.push(t.ModeInfo.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return o},fromJSON(e){const n=Object.assign({},g);if(n.modeInfos=[],void 0!==e.bitarray&&null!==e.bitarray?n.bitarray=s.CompactBitArray.fromJSON(e.bitarray):n.bitarray=void 0,void 0!==e.modeInfos&&null!==e.modeInfos)for(const r of e.modeInfos)n.modeInfos.push(t.ModeInfo.fromJSON(r));return n},fromPartial(e){const n=Object.assign({},g);if(n.modeInfos=[],void 0!==e.bitarray&&null!==e.bitarray?n.bitarray=s.CompactBitArray.fromPartial(e.bitarray):n.bitarray=void 0,void 0!==e.modeInfos&&null!==e.modeInfos)for(const r of e.modeInfos)n.modeInfos.push(t.ModeInfo.fromPartial(r));return n},toJSON(e){const n={};return void 0!==e.bitarray&&(n.bitarray=e.bitarray?s.CompactBitArray.toJSON(e.bitarray):void 0),e.modeInfos?n.modeInfos=e.modeInfos.map(e=>e?t.ModeInfo.toJSON(e):void 0):n.modeInfos=[],n}};const v={gasLimit:i.default.UZERO,payer:"",granter:""};t.Fee={encode(e,t=l.default.Writer.create()){for(const n of e.amount)c.Coin.encode(n,t.uint32(10).fork()).ldelim();return t.uint32(16).uint64(e.gasLimit),t.uint32(26).string(e.payer),t.uint32(34).string(e.granter),t},decode(e,t){const n=e instanceof Uint8Array?new l.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const i=Object.assign({},v);for(i.amount=[];n.pos>>3){case 1:i.amount.push(c.Coin.decode(n,n.uint32()));break;case 2:i.gasLimit=n.uint64();break;case 3:i.payer=n.string();break;case 4:i.granter=n.string();break;default:n.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},v);if(t.amount=[],void 0!==e.amount&&null!==e.amount)for(const n of e.amount)t.amount.push(c.Coin.fromJSON(n));return void 0!==e.gasLimit&&null!==e.gasLimit?t.gasLimit=i.default.fromString(e.gasLimit):t.gasLimit=i.default.UZERO,void 0!==e.payer&&null!==e.payer?t.payer=String(e.payer):t.payer="",void 0!==e.granter&&null!==e.granter?t.granter=String(e.granter):t.granter="",t},fromPartial(e){const t=Object.assign({},v);if(t.amount=[],void 0!==e.amount&&null!==e.amount)for(const n of e.amount)t.amount.push(c.Coin.fromPartial(n));return void 0!==e.gasLimit&&null!==e.gasLimit?t.gasLimit=e.gasLimit:t.gasLimit=i.default.UZERO,void 0!==e.payer&&null!==e.payer?t.payer=e.payer:t.payer="",void 0!==e.granter&&null!==e.granter?t.granter=e.granter:t.granter="",t},toJSON(e){const t={};return e.amount?t.amount=e.amount.map(e=>e?c.Coin.toJSON(e):void 0):t.amount=[],void 0!==e.gasLimit&&(t.gasLimit=(e.gasLimit||i.default.UZERO).toString()),void 0!==e.payer&&(t.payer=e.payer),void 0!==e.granter&&(t.granter=e.granter),t}};var w=(()=>{if(void 0!==w)return w;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const _=w.atob||(e=>w.Buffer.from(e,"base64").toString("binary"));function k(e){const t=_(e),n=new Uint8Array(t.length);for(let e=0;ew.Buffer.from(e,"binary").toString("base64"));function S(e){const t=[];for(let n=0;n>>3){case 1:o.signatures.push(t.SignatureDescriptor.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return o},fromJSON(e){const n=Object.assign({},f);if(n.signatures=[],void 0!==e.signatures&&null!==e.signatures)for(const r of e.signatures)n.signatures.push(t.SignatureDescriptor.fromJSON(r));return n},fromPartial(e){const n=Object.assign({},f);if(n.signatures=[],void 0!==e.signatures&&null!==e.signatures)for(const r of e.signatures)n.signatures.push(t.SignatureDescriptor.fromPartial(r));return n},toJSON(e){const n={};return e.signatures?n.signatures=e.signatures.map(e=>e?t.SignatureDescriptor.toJSON(e):void 0):n.signatures=[],n}};const d={sequence:o.default.UZERO};t.SignatureDescriptor={encode:(e,n=s.default.Writer.create())=>(void 0!==e.publicKey&&void 0!==e.publicKey&&i.Any.encode(e.publicKey,n.uint32(10).fork()).ldelim(),void 0!==e.data&&void 0!==e.data&&t.SignatureDescriptor_Data.encode(e.data,n.uint32(18).fork()).ldelim(),n.uint32(24).uint64(e.sequence),n),decode(e,n){const r=e instanceof Uint8Array?new s.default.Reader(e):e;let o=void 0===n?r.len:r.pos+n;const a=Object.assign({},d);for(;r.pos>>3){case 1:a.publicKey=i.Any.decode(r,r.uint32());break;case 2:a.data=t.SignatureDescriptor_Data.decode(r,r.uint32());break;case 3:a.sequence=r.uint64();break;default:r.skipType(7&e)}}return a},fromJSON(e){const n=Object.assign({},d);return void 0!==e.publicKey&&null!==e.publicKey?n.publicKey=i.Any.fromPartial(e.publicKey):n.publicKey=void 0,void 0!==e.data&&null!==e.data?n.data=t.SignatureDescriptor_Data.fromJSON(e.data):n.data=void 0,void 0!==e.sequence&&null!==e.sequence?n.sequence=o.default.fromString(e.sequence):n.sequence=o.default.UZERO,n},fromPartial(e){const n=Object.assign({},d);return void 0!==e.publicKey&&null!==e.publicKey?n.publicKey=i.Any.fromPartial(e.publicKey):n.publicKey=void 0,void 0!==e.data&&null!==e.data?n.data=t.SignatureDescriptor_Data.fromPartial(e.data):n.data=void 0,void 0!==e.sequence&&null!==e.sequence?n.sequence=e.sequence:n.sequence=o.default.UZERO,n},toJSON(e){const n={};return void 0!==e.publicKey&&(n.publicKey=e.publicKey?i.Any.toJSON(e.publicKey):void 0),void 0!==e.data&&(n.data=e.data?t.SignatureDescriptor_Data.toJSON(e.data):void 0),void 0!==e.sequence&&(n.sequence=(e.sequence||o.default.UZERO).toString()),n}};const p={};t.SignatureDescriptor_Data={encode:(e,n=s.default.Writer.create())=>(void 0!==e.single&&t.SignatureDescriptor_Data_Single.encode(e.single,n.uint32(10).fork()).ldelim(),void 0!==e.multi&&t.SignatureDescriptor_Data_Multi.encode(e.multi,n.uint32(18).fork()).ldelim(),n),decode(e,n){const r=e instanceof Uint8Array?new s.default.Reader(e):e;let i=void 0===n?r.len:r.pos+n;const o=Object.assign({},p);for(;r.pos>>3){case 1:o.single=t.SignatureDescriptor_Data_Single.decode(r,r.uint32());break;case 2:o.multi=t.SignatureDescriptor_Data_Multi.decode(r,r.uint32());break;default:r.skipType(7&e)}}return o},fromJSON(e){const n=Object.assign({},p);return void 0!==e.single&&null!==e.single?n.single=t.SignatureDescriptor_Data_Single.fromJSON(e.single):n.single=void 0,void 0!==e.multi&&null!==e.multi?n.multi=t.SignatureDescriptor_Data_Multi.fromJSON(e.multi):n.multi=void 0,n},fromPartial(e){const n=Object.assign({},p);return void 0!==e.single&&null!==e.single?n.single=t.SignatureDescriptor_Data_Single.fromPartial(e.single):n.single=void 0,void 0!==e.multi&&null!==e.multi?n.multi=t.SignatureDescriptor_Data_Multi.fromPartial(e.multi):n.multi=void 0,n},toJSON(e){const n={};return void 0!==e.single&&(n.single=e.single?t.SignatureDescriptor_Data_Single.toJSON(e.single):void 0),void 0!==e.multi&&(n.multi=e.multi?t.SignatureDescriptor_Data_Multi.toJSON(e.multi):void 0),n}};const h={mode:0};t.SignatureDescriptor_Data_Single={encode:(e,t=s.default.Writer.create())=>(t.uint32(8).int32(e.mode),t.uint32(18).bytes(e.signature),t),decode(e,t){const n=e instanceof Uint8Array?new s.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const i=Object.assign({},h);for(;n.pos>>3){case 1:i.mode=n.int32();break;case 2:i.signature=n.bytes();break;default:n.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},h);return void 0!==e.mode&&null!==e.mode?t.mode=l(e.mode):t.mode=0,void 0!==e.signature&&null!==e.signature&&(t.signature=function(e){const t=y(e),n=new Uint8Array(t.length);for(let e=0;e>>3){case 1:o.bitarray=a.CompactBitArray.decode(r,r.uint32());break;case 2:o.signatures.push(t.SignatureDescriptor_Data.decode(r,r.uint32()));break;default:r.skipType(7&e)}}return o},fromJSON(e){const n=Object.assign({},m);if(n.signatures=[],void 0!==e.bitarray&&null!==e.bitarray?n.bitarray=a.CompactBitArray.fromJSON(e.bitarray):n.bitarray=void 0,void 0!==e.signatures&&null!==e.signatures)for(const r of e.signatures)n.signatures.push(t.SignatureDescriptor_Data.fromJSON(r));return n},fromPartial(e){const n=Object.assign({},m);if(n.signatures=[],void 0!==e.bitarray&&null!==e.bitarray?n.bitarray=a.CompactBitArray.fromPartial(e.bitarray):n.bitarray=void 0,void 0!==e.signatures&&null!==e.signatures)for(const r of e.signatures)n.signatures.push(t.SignatureDescriptor_Data.fromPartial(r));return n},toJSON(e){const n={};return void 0!==e.bitarray&&(n.bitarray=e.bitarray?a.CompactBitArray.toJSON(e.bitarray):void 0),e.signatures?n.signatures=e.signatures.map(e=>e?t.SignatureDescriptor_Data.toJSON(e):void 0):n.signatures=[],n}};var b=(()=>{if(void 0!==b)return b;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const y=b.atob||(e=>b.Buffer.from(e,"base64").toString("binary"));const g=b.btoa||(e=>b.Buffer.from(e,"binary").toString("base64"))}).call(this,n(12))},function(e,t,n){"use strict";(function(e){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompactBitArray=t.MultiSignature=t.protobufPackage=void 0;const i=r(n(48));t.protobufPackage="cosmos.crypto.multisig.v1beta1";const o={};t.MultiSignature={encode(e,t=i.default.Writer.create()){for(const n of e.signatures)t.uint32(10).bytes(n);return t},decode(e,t){const n=e instanceof Uint8Array?new i.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const a=Object.assign({},o);for(a.signatures=[];n.pos>>3){case 1:a.signatures.push(n.bytes());break;default:n.skipType(7&e)}}return a},fromJSON(e){const t=Object.assign({},o);if(t.signatures=[],void 0!==e.signatures&&null!==e.signatures)for(const n of e.signatures)t.signatures.push(l(n));return t},fromPartial(e){const t=Object.assign({},o);if(t.signatures=[],void 0!==e.signatures&&null!==e.signatures)for(const n of e.signatures)t.signatures.push(n);return t},toJSON(e){const t={};return e.signatures?t.signatures=e.signatures.map(e=>f(void 0!==e?e:new Uint8Array)):t.signatures=[],t}};const a={extraBitsStored:0};t.CompactBitArray={encode:(e,t=i.default.Writer.create())=>(t.uint32(8).uint32(e.extraBitsStored),t.uint32(18).bytes(e.elems),t),decode(e,t){const n=e instanceof Uint8Array?new i.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const o=Object.assign({},a);for(;n.pos>>3){case 1:o.extraBitsStored=n.uint32();break;case 2:o.elems=n.bytes();break;default:n.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},a);return void 0!==e.extraBitsStored&&null!==e.extraBitsStored?t.extraBitsStored=Number(e.extraBitsStored):t.extraBitsStored=0,void 0!==e.elems&&null!==e.elems&&(t.elems=l(e.elems)),t},fromPartial(e){const t=Object.assign({},a);return void 0!==e.extraBitsStored&&null!==e.extraBitsStored?t.extraBitsStored=e.extraBitsStored:t.extraBitsStored=0,void 0!==e.elems&&null!==e.elems?t.elems=e.elems:t.elems=new Uint8Array,t},toJSON(e){const t={};return void 0!==e.extraBitsStored&&(t.extraBitsStored=e.extraBitsStored),void 0!==e.elems&&(t.elems=f(void 0!==e.elems?e.elems:new Uint8Array)),t}};var s=(()=>{if(void 0!==s)return s;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const c=s.atob||(e=>s.Buffer.from(e,"base64").toString("binary"));function l(e){const t=c(e),n=new Uint8Array(t.length);for(let e=0;es.Buffer.from(e,"binary").toString("base64"));function f(e){const t=[];for(let n=0;n=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SecretWasmService=void 0;const c=n(43),l=n(52),u=n(731),f=n(103),d=n(58),p=n(102),h=n(108),m=n(11),b=s(n(342)),y=n(2);let g=class{constructor(e,t,n,r){this.kvStore=e,this.chainsService=t,this.keyRingService=n,this.permissionService=r,this.debouncerMap=new Map,this.cacheEnigmaUtils=new Map,this.onChainRemoved=()=>{this.cacheEnigmaUtils=new Map},this.chainsService.addChainRemovedHandler(this.onChainRemoved)}getPubkey(e,t){return a(this,void 0,void 0,(function*(){const n=yield this.chainsService.getChainInfo(t);if("none"===(yield this.keyRingService.getKeyRingType()))throw new Error("Key ring is not initialized");const r=yield this.getSeed(e,n);return this.getEnigmaUtils(n,r).pubkey}))}getTxEncryptionKey(e,t,n){return a(this,void 0,void 0,(function*(){const r=yield this.chainsService.getChainInfo(t);if("none"===(yield this.keyRingService.getKeyRingType()))throw new Error("Key ring is not initialized");const i=yield this.getSeed(e,r);return this.getEnigmaUtils(r,i).getTxEncryptionKey(n)}))}encrypt(e,t,n,r){return a(this,void 0,void 0,(function*(){const i=yield this.chainsService.getChainInfo(t);if("none"===(yield this.keyRingService.getKeyRingType()))throw new Error("Key ring is not initialized");const o=yield this.getSeed(e,i),a=this.getEnigmaUtils(i,o);return yield a.encrypt(n,r)}))}decrypt(e,t,n,r){return a(this,void 0,void 0,(function*(){const i=yield this.chainsService.getChainInfo(t);if("none"===(yield this.keyRingService.getKeyRingType()))throw new Error("Key ring is not initialized");const o=yield this.getSeed(e,i),a=this.getEnigmaUtils(i,o);return yield a.decrypt(n,r)}))}getEnigmaUtils(e,t){const n=`${e.chainId}-${y.Buffer.from(t).toString("hex")}`;if(this.cacheEnigmaUtils.has(n))return this.cacheEnigmaUtils.get(n);const r=new u.EnigmaUtils(e.rest,t);return this.cacheEnigmaUtils.set(n,r),r}getSeed(e,t){return a(this,void 0,void 0,(function*(){const n=yield this.keyRingService.getKey(t.chainId),r=new m.Bech32Address(n.address).toBech32(t.bech32Config.bech32PrefixAccAddr),i=`${e.isInternalMsg}/${t.chainId}/${r}`;this.debouncerMap.has(i)||this.debouncerMap.set(i,b.default.promise(this.getSeedInner.bind(this)));const o=this.debouncerMap.get(i);return yield o(e,t,r)}))}getSeedInner(e,t,n){return a(this,void 0,void 0,(function*(){const r=`seed-${t.chainId}-${n}`,i=yield this.kvStore.get(r);if(i)return y.Buffer.from(i,"hex");const o=h.Hash.sha256(y.Buffer.from(yield this.keyRingService.sign(e,t.chainId,y.Buffer.from(JSON.stringify({account_number:0,chain_id:t.chainId,fee:[],memo:"Create Keplr Secret encryption key. Only approve requests by Keplr.",msgs:[],sequence:0})))));return yield this.kvStore.set(r,y.Buffer.from(o).toString("hex")),o}))}};g=r([c.singleton(),o(0,c.inject(l.TYPES.SecretWasmStore)),o(1,c.inject(d.ChainsService)),o(2,c.inject(c.delay(()=>f.KeyRingService))),o(3,c.inject(c.delay(()=>p.PermissionService))),i("design:paramtypes",[Object,d.ChainsService,f.KeyRingService,p.PermissionService])],g),t.SecretWasmService=g},function(e,t,n){"use strict";(function(e){var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n(117)),o=n(361);class a{static toHex(e){let t="";for(const n of e)t+=("0"+n.toString(16)).slice(-2);return t}static fromHex(e){if(e.length%2!=0)throw new Error("hex string length must be a multiple of 2");const t=[];for(let n=0;n{const t=e.charCodeAt(0);if(t<32||t>126)throw new Error("Cannot encode character that is out of printable ASCII range: "+t);return t}))}static fromAscii(e){return(t=Array.from(e),t.map(e=>{if(e<32||e>126)throw new Error("Cannot decode character that is out of printable ASCII range: "+e);return String.fromCharCode(e)})).join("");var t}static toUtf8(t){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(t):new Uint8Array(e.from(t,"utf8"))}static fromUtf8(t){if("undefined"!=typeof TextDecoder)return new TextDecoder("utf-8",{fatal:!0}).decode(t);if(!a.isValidUtf8(t))throw new Error("Invalid UTF8 data");return e.from(t).toString("utf8")}static fromRfc3339(e){const t=/^(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(\.\d{1,9})?((?:[+-]\d{2}:\d{2})|Z)$/.exec(e);if(!t)throw new Error("Date string is not in RFC3339 format");const n=+t[1],r=+t[2],i=+t[3],a=+t[4],s=+t[5],c=+t[6],l=t[7]?Math.floor(1e3*+t[7]):0;let u,f,d;"Z"===t[8]?(u=1,f=0,d=0):(u="-"===t[8].substring(0,1)?-1:1,f=+t[8].substring(1,3),d=+t[8].substring(4,6));const p=u*(60*f+d)*60;return new o.ReadonlyDate(o.ReadonlyDate.UTC(n,r-1,i,a,s,c,l)-1e3*p)}static toRfc3339(e){function t(e,t=2){const n="00000"+e.toString();return n.substring(n.length-t)}return`${e.getUTCFullYear()}-${t(e.getUTCMonth()+1)}-${t(e.getUTCDate())}T${t(e.getUTCHours())}:${t(e.getUTCMinutes())}:${t(e.getUTCSeconds())}.${t(e.getUTCMilliseconds(),3)}Z`}static isValidUtf8(t){const n=e.from(e.from(t).toString("utf8"),"utf8");return 0===e.compare(e.from(t),n)}}t.Encoding=a}).call(this,n(2).Buffer)},function(e,t){e.exports={ReadonlyDate:Date}},function(e,t,n){"use strict";(function(e){function n(e){return"object"==typeof e&&null!==e}Object.defineProperty(t,"__esModule",{value:!0}),t.isNonNullObject=n,t.isUint8Array=function(t){return!!n(t)&&("[object Uint8Array]"===Object.prototype.toString.call(t)&&(void 0===e||void 0===e.isBuffer||!e.isBuffer(t)))}}).call(this,n(2).Buffer)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(748);Object.defineProperty(t,"assert",{enumerable:!0,get:function(){return r.assert}});var i=n(749);Object.defineProperty(t,"sleep",{enumerable:!0,get:function(){return i.sleep}});var o=n(750);Object.defineProperty(t,"isNonNullObject",{enumerable:!0,get:function(){return o.isNonNullObject}}),Object.defineProperty(t,"isUint8Array",{enumerable:!0,get:function(){return o.isUint8Array}})},function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n(69));class o{constructor(e){if(!o.mnemonicMatcher.test(e))throw new Error("Invalid mnemonic format");const t=e.split(" "),n=[12,15,18,21,24];if(-1===n.indexOf(t.length))throw new Error(`Invalid word count in mnemonic (allowed: ${n} got: ${t.length})`);for(const e of t)if(-1===o.wordlist.indexOf(e))throw new Error("Mnemonic contains invalid word");i.mnemonicToEntropy(e),this.data=e}toString(){return this.data}}t.EnglishMnemonic=o,o.wordlist=i.wordlists.english,o.mnemonicMatcher=/^[a-z]+( [a-z]+)*$/},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Hmac=class{constructor(e,t){const n=(new e).blockSize;this.hash=t=>(new e).update(t).digest();let r=t;if(r.length>n&&(r=this.hash(r)),r.length92^e),this.iKeyPad=r.map(e=>54^e),this.messageHasher=new e,this.blockSize=n,this.update(this.iKeyPad)}update(e){return this.messageHasher.update(e),this}digest(){const e=this.messageHasher.digest();return this.hash(new Uint8Array([...this.oKeyPad,...e]))}}},function(e,t,n){"use strict";function r(e){let t=0;for(const n of e){if(0!==n)break;t++}return e.slice(t)}Object.defineProperty(t,"__esModule",{value:!0});class i{constructor(e,t){if(e.length>32||0===e.length||0===e[0])throw new Error("Unsigned integer r must be encoded as unpadded big endian.");if(t.length>32||0===t.length||0===t[0])throw new Error("Unsigned integer s must be encoded as unpadded big endian.");this.data={r:e,s:t}}static fromFixedLength(e){if(64!==e.length)throw new Error(`Got invalid data length: ${e.length}. Expected 2x 32 bytes for the pair (r, s)`);return new i(r(e.slice(0,32)),r(e.slice(32,64)))}static fromDer(e){let t=0;if(48!==e[t++])throw new Error("Prefix 0x30 expected");const n=e[t++];if(e.length-t!==n)throw new Error("Data length mismatch detected");if(2!==e[t++])throw new Error("INTEGER tag expected");const o=e[t++];if(o>=128)throw new Error("Decoding length values above 127 not supported");const a=e.slice(t,t+o);t+=o;if(2!==e[t++])throw new Error("INTEGER tag expected");const s=e[t++];if(s>=128)throw new Error("Decoding length values above 127 not supported");const c=e.slice(t,t+s);return t+=s,new i(r(a),r(c))}r(e){if(void 0===e)return this.data.r;{const t=e-this.data.r.length;if(t<0)throw new Error("Length too small to hold parameter r");const n=new Uint8Array(t);return new Uint8Array([...n,...this.data.r])}}s(e){if(void 0===e)return this.data.s;{const t=e-this.data.s.length;if(t<0)throw new Error("Length too small to hold parameter s");const n=new Uint8Array(t);return new Uint8Array([...n,...this.data.s])}}toDer(){const e=this.data.r[0]>=128?new Uint8Array([0,...this.data.r]):this.data.r,t=this.data.s[0]>=128?new Uint8Array([0,...this.data.s]):this.data.s,n=e.length,r=t.length,i=new Uint8Array([2,n,...e,2,r,...t]);return new Uint8Array([48,i.length,...i])}}t.Secp256k1Signature=i;class o extends i{constructor(e,t,n){if(super(e,t),!Number.isInteger(n))throw new Error("The recovery parameter must be an integer.");if(n<0||n>4)throw new Error("The recovery parameter must be one of 0, 1, 2, 3.");this.recovery=n}static fromFixedLength(e){if(65!==e.length)throw new Error(`Got invalid data length ${e.length}. Expected 32 + 32 + 1`);return new o(r(e.slice(0,32)),r(e.slice(32,64)),e[64])}toFixedLength(){return new Uint8Array([...this.r(32),...this.s(32),this.recovery])}}t.ExtendedSecp256k1Signature=o},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n(76));t.Sha1=class{constructor(e){this.blockSize=64,this.impl=i.default("sha1"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}};t.Sha256=class{constructor(e){this.blockSize=64,this.impl=i.default("sha256"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}};t.Sha512=class{constructor(e){this.blockSize=128,this.impl=i.default("sha512"),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(761),o=n(769),a=n(42),s=n(770),c=r(n(68)),l=n(772),u=new i.PolyfillCryptoProvider,f=Uint8Array.from([0,0,0,0,0,0,0,0,0,2,75,234,216,223,105,153,8,82,194,2,219,14,0,151,193,161,46,166,55,215,233,109]);class d{constructor(e,t){this.consensusIoPubKey=new Uint8Array,this.apiUrl=e,this.seed=t||d.GenerateNewSeed();const{privkey:n,pubkey:r}=d.GenerateNewKeyPairFromSeed(this.seed);this.privkey=n,this.pubkey=r}static GenerateNewKeyPair(){return d.GenerateNewKeyPairFromSeed(d.GenerateNewSeed())}static GenerateNewSeed(){return s(32,{type:"Uint8Array"})}static GenerateNewKeyPairFromSeed(e){const{private:t,public:n}=o.generateKeyPair(e);return{privkey:t,pubkey:n}}async getConsensusIoPubKey(){if(32===this.consensusIoPubKey.length)return this.consensusIoPubKey;const{data:{result:{ioExchPubkey:e}}}=await c.default.get(this.apiUrl+"/reg/consensus-io-exch-pubkey",{headers:{"Content-Type":"application/json"}});return this.consensusIoPubKey=a.Encoding.fromBase64(e),this.consensusIoPubKey}async getTxEncryptionKey(e){const t=await this.getConsensusIoPubKey(),n=o.sharedKey(this.privkey,t),{key:r}=await l.compute(Uint8Array.from([...n,...e]),"SHA-256",32,"",f);return r}async encrypt(e,t){const n=s(32,{type:"Uint8Array"}),r=await this.getTxEncryptionKey(n),o=await i.SIV.importKey(r,"AES-SIV",u),c=a.Encoding.toUtf8(e+JSON.stringify(t)),l=await o.seal(c,[new Uint8Array]);return Uint8Array.from([...n,...this.pubkey,...l])}async decrypt(e,t){if(0===e.length)return new Uint8Array;const n=await this.getTxEncryptionKey(t),r=await i.SIV.importKey(n,"AES-SIV",u);return await r.open(e,[new Uint8Array])}getPubkey(){return Promise.resolve(this.pubkey)}}t.default=d,e.exports=d},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const i=n(140),o=n(370);class a{static importKey(e,t,n=new i.WebCryptoProvider){return r(this,void 0,void 0,(function*(){return new a(yield o.SIV.importKey(e,t,n))}))}constructor(e){this._siv=e}seal(e,t,n=new Uint8Array(0)){return r(this,void 0,void 0,(function*(){return this._siv.seal(e,[n,t])}))}open(e,t,n=new Uint8Array(0)){return r(this,void 0,void 0,(function*(){return this._siv.open(e,[n,t])}))}clear(){return this._siv.clear(),this}}t.AEAD=a},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const i=n(199),o=n(200),a=n(201),s=n(198),c=n(106),l=n(371),u=n(372),f=n(140);t.MAX_ASSOCIATED_DATA=126;class d{static importKey(e,t,n=new f.WebCryptoProvider){return r(this,void 0,void 0,(function*(){if(32!==e.length&&64!==e.length)throw new Error("AES-SIV: key must be 32 or 64-bytes (got "+e.length);const r=e.subarray(0,e.length/2|0),i=e.subarray(e.length/2|0);let o;switch(t){case"AES-SIV":case"AES-CMAC-SIV":o=yield l.CMAC.importKey(n,r);break;case"AES-PMAC-SIV":o=yield u.PMAC.importKey(n,r);break;default:throw new s.NotImplementedError("Miscreant: algorithm not supported: "+t)}const a=yield n.importCTRKey(i);return new d(o,a)}))}constructor(e,t){this._mac=e,this._ctr=t,this._tmp1=new c.default,this._tmp2=new c.default}seal(e,n){return r(this,void 0,void 0,(function*(){if(n.length>t.MAX_ASSOCIATED_DATA)throw new Error("AES-SIV: too many associated data items");const r=c.default.SIZE+e.length,i=new Uint8Array(r),o=yield this._s2v(n,e);return i.set(o),p(o),i.set(yield this._ctr.encryptCtr(o,e),o.length),i}))}open(e,n){return r(this,void 0,void 0,(function*(){if(n.length>t.MAX_ASSOCIATED_DATA)throw new Error("AES-SIV: too many associated data items");if(e.length=c.default.SIZE){const e=t.length-c.default.SIZE;this._tmp1.data.set(t.subarray(e)),yield this._mac.update(t.subarray(0,e))}else this._tmp1.data.set(t),this._tmp1.data[t.length]=128,this._tmp2.dbl();return a.xor(this._tmp1.data,this._tmp2.data),yield this._mac.update(this._tmp1.data),this._mac.finish()}))}}function p(e){e[e.length-8]&=127,e[e.length-4]&=127}t.SIV=d},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const i=n(106),o=n(201);class a{constructor(e,t,n){this._cipher=e,this._subkey1=t,this._subkey2=n,this._bufferPos=0,this._finished=!1,this._buffer=new i.default}static importKey(e,t){return r(this,void 0,void 0,(function*(){const n=yield e.importBlockCipherKey(t),r=new i.default;yield n.encryptBlock(r),r.dbl();const o=r.clone();return o.dbl(),new a(n,r,o)}))}reset(){return this._buffer.clear(),this._bufferPos=0,this._finished=!1,this}clear(){this.reset(),this._subkey1.clear(),this._subkey2.clear()}update(e){return r(this,void 0,void 0,(function*(){const t=i.default.SIZE-this._bufferPos;let n=0,r=e.length;if(r>t){for(let n=0;ni.default.SIZE;){for(let t=0;t0;e--){const t=o.select(1&s.data[e-1],128,0);s.data[e]=s.data[e]>>>1|t}return s.data[0]>>>=1,s.data[0]^=o.select(l,128,0),s.data[i.default.SIZE-1]^=o.select(l,i.default.R>>>1,0),new c(n,a,s)}))}reset(){return this._buffer.clear(),this._bufferPos=0,this._counter=0,this._offset.clear(),this._tag.clear(),this._finished=!1,this}clear(){this.reset(),this._cipher.clear()}update(e){return r(this,void 0,void 0,(function*(){if(this._finished)throw new Error("pmac: already finished");const t=i.default.SIZE-this._bufferPos;let n=0,r=e.length;for(r>t&&(this._buffer.data.set(e.slice(0,t),this._bufferPos),n+=t,r-=t,yield this._processBuffer());r>i.default.SIZE;)this._buffer.data.set(e.slice(n,n+i.default.SIZE)),n+=i.default.SIZE,r-=i.default.SIZE,yield this._processBuffer();return r>0&&(this._buffer.data.set(e.slice(n,n+r),this._bufferPos),this._bufferPos+=r),this}))}finish(){return r(this,void 0,void 0,(function*(){if(this._finished)throw new Error("pmac: already finished");return this._bufferPos===i.default.SIZE?(s.xor(this._tag.data,this._buffer.data),s.xor(this._tag.data,this._LInv.data)):(s.xor(this._tag.data,this._buffer.data.slice(0,this._bufferPos)),this._tag.data[this._bufferPos]^=128),yield this._cipher.encryptBlock(this._tag),this._finished=!0,this._tag.clone().data}))}_processBuffer(){return r(this,void 0,void 0,(function*(){s.xor(this._offset.data,this._L[a.ctz(this._counter+1)].data),s.xor(this._buffer.data,this._offset.data),this._counter++,yield this._cipher.encryptBlock(this._buffer),s.xor(this._tag.data,this._buffer.data),this._bufferPos=0}))}}t.PMAC=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={hashes:{"SHA3-512":{nodeName:"sha3-512",hashSize:64},"SHA3-384":{nodeName:"sha3-384",hashSize:48},"SHA3-256":{nodeName:"sha3-256",hashSize:32},"SHA3-224":{nodeName:"sha3-224",hashSize:28},"SHA-256":{nodeName:"sha256",hashSize:32},"SHA-384":{nodeName:"sha384",hashSize:48},"SHA-512":{nodeName:"sha512",hashSize:64},"SHA-1":{nodeName:"sha1",hashSize:20},MD5:{nodeName:"md5",hashSize:16}}}},function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(779));t.compute=i.compute,t.default={compute:t.compute}},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n126||e[n]<32&&13!==e[n]&&10!==e[n]){t=!1;break}var r=null;if(t){r="";for(n=0;ni.Encoding.fromBase64(e))}}async searchTx(e,t={}){const n=t.minHeight||0,r=t.maxHeight||Number.MAX_SAFE_INTEGER;if(re.hash);o=[...r,...a.filter(e=>!s.includes(e.hash))]}else{if(!function(e){return void 0!==e.tags}(e))throw new Error("Unknown query type");{const t=i(e.tags.map(e=>`${e.key}=${e.value}`).join("&"));o=await this.txsQuery(t)}}return o.filter(e=>e.height>=n&&e.height<=r)}async postTx(e){const t=await this.restClient.postTx(e);if(!t.txhash.match(/^([0-9A-F][0-9A-F])+$/))throw new Error("Received ill-formatted txhash. Must be non-empty upper-case hex");if(t.code)throw new Error(`Error when posting tx ${t.txhash}. Code: ${t.code}; Raw log: ${t.raw_log}`);return{logs:t.logs?o.parseLogs(t.logs):[],rawLog:t.raw_log||"",transactionHash:t.txhash,data:t.data||""}}async getCodes(){return(await this.restClient.listCodeInfo()).map(e=>(this.anyValidAddress=e.creator,{id:e.id,creator:e.creator,checksum:i.Encoding.toHex(i.Encoding.fromHex(e.data_hash)),source:e.source||void 0,builder:e.builder||void 0}))}async getCodeDetails(e){const t=this.codesCache.get(e);if(t)return t;const n=await this.restClient.getCode(e),r={id:n.id,creator:n.creator,checksum:i.Encoding.toHex(i.Encoding.fromHex(n.data_hash)),source:n.source||void 0,builder:n.builder||void 0,data:i.Encoding.fromBase64(n.data)};return this.codesCache.set(e,r),r}async getContracts(e){return(await this.restClient.listContractsByCodeId(e)).map(e=>({address:e.address,codeId:e.code_id,creator:e.creator,label:e.label}))}async getContract(e){const t=await this.restClient.getContractInfo(e);if(!t)throw new Error(`No contract found at address "${e}"`);return{address:t.address,codeId:t.code_id,creator:t.creator,label:t.label,initMsg:t.init_msg}}async queryContractSmart(e,t,n){try{return await this.restClient.queryContractSmart(e,t,n)}catch(t){throw t instanceof Error&&t.message.startsWith("not found: contract")?new Error(`No contract found at address "${e}"`):t}}async txsQuery(e){const t=await this.restClient.txsQuery(e+"&limit=100");if(parseInt(t.page_total,10)>1)throw new Error(`Found more results on the backend than we can process currently. Results: ${t.total_count}, supported: 100`);return t.txs.map(e=>({height:parseInt(e.height,10),hash:e.txhash,code:e.code||0,rawLog:e.raw_log,logs:o.parseLogs(e.logs||[]),tx:e.tx,timestamp:e.timestamp}))}getCodeHashByCodeId(e){return this.restClient.getCodeHashByCodeId(e)}getCodeHashByContractAddr(e){return this.restClient.getCodeHashByContractAddr(e)}async getNonceByTxId(e){const t=(await this.restClient.txById(e,!1)).tx.value.msg,n=[];for(const e of t){let t;t="wasm/MsgExecuteContract"===e.type?i.Encoding.fromBase64(e.value.msg).slice(0,32):"wasm/MsgInstantiateContract"===e.type?i.Encoding.fromBase64(e.value.init_msg).slice(0,32):null,n.push(t)}return n}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="secret-wasm"},function(e,t,n){"use strict";var r,i=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundTxService=void 0;const l=n(43),u=c(n(68)),f=n(58),d=n(102),p=n(236),h=n(2);let m=r=class{constructor(e,t){this.chainsService=e,this.permissionService=t}sendTx(e,t,n){return s(this,void 0,void 0,(function*(){const i=yield this.chainsService.getChainInfo(e),o=u.default.create(Object.assign({baseURL:i.rest},i.restConfig));browser.notifications.create({type:"basic",iconUrl:browser.runtime.getURL("assets/temp-icon.svg"),title:"Tx is pending...",message:"Wait a second"});const a={tx:t,mode:n};try{const e=yield o.post("/txs",a);if(null!=e.data.code&&0!==e.data.code)throw new Error(e.data.raw_log);const t=h.Buffer.from(e.data.txhash,"hex"),n=new p.TendermintTxTracer(i.rpc,"/websocket");return n.traceTx(t).then(e=>{n.close(),r.processTxResultNotification(e)}),t}catch(e){throw console.log(e),r.processTxErrorNotification(e),e}}))}static processTxResultNotification(e){var t;try{if("commit"===e.mode){if(void 0!==e.checkTx.code&&0!==e.checkTx.code)throw new Error(e.checkTx.log);if(void 0!==e.deliverTx.code&&0!==e.deliverTx.code)throw new Error(e.deliverTx.log)}else if(null!=e.code&&0!==e.code){const n=null!==(t=e.log)&&void 0!==t?t:e.raw_log;throw new Error(n)}browser.notifications.create({type:"basic",iconUrl:browser.runtime.getURL("assets/temp-icon.svg"),title:"Tx succeeds",message:"Congratulations!"})}catch(e){r.processTxErrorNotification(e)}}static processTxErrorNotification(e){console.log(e);let t=e.message;const n=/code:\s*(-?\d+),\s*message:\s*(.+),\sdata:\s(.+)/g.exec(e.message);n&&4===n.length&&(t=n[3]);try{const n=JSON.parse(e.message);(null==n?void 0:n.message)&&(t=n.message)}catch(e){}try{const n=JSON.parse(e.message);if(n&&n.length>0)for(const e of n)if(!e.success){const n=JSON.parse(e.log);if(null==n?void 0:n.message){t=n.message;break}}}catch(e){}browser.notifications.create({type:"basic",iconUrl:browser.runtime.getURL("assets/temp-icon.svg"),title:"Tx failed",message:t})}};m=r=i([l.singleton(),a(0,l.inject(l.delay(()=>f.ChainsService))),a(1,l.inject(l.delay(()=>d.PermissionService))),o("design:paramtypes",[f.ChainsService,d.PermissionService])],m),t.BackgroundTxService=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="background-tx"},function(e,t,n){"use strict";var r,i=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.TokensService=void 0;const c=n(43),l=n(52),u=n(58),f=n(11),d=n(58),p=n(103),h=n(103),m=n(83),b=n(102),y=n(2),g=n(142),v=n(383);let w=r=class{constructor(e,t,n,r,i){this.kvStore=e,this.interactionService=t,this.permissionService=n,this.chainsService=r,this.keyRingService=i,this.onChainRemoved=e=>{this.clearTokens(e)},this.chainsService.addChainRemovedHandler(this.onChainRemoved)}suggestToken(e,t,n,r){return s(this,void 0,void 0,(function*(){const i=yield this.chainsService.getChainInfo(t);if((yield this.getTokens(t)).find(e=>"contractAddress"in e&&e.contractAddress===n))return;f.Bech32Address.validate(n,i.bech32Config.bech32PrefixAccAddr);const o={chainId:t,contractAddress:n,viewingKey:r},a=yield this.interactionService.waitApprove(e,"/setting/token/add",g.SuggestTokenMsg.type(),o);yield this.addToken(t,a)}))}addToken(e,t){return s(this,void 0,void 0,(function*(){const n=yield this.chainsService.getChainInfo(e);t=yield r.validateCurrency(n,t);const i=yield this.getTokens(e),o="type"in t&&"secret20"===t.type;let a=!1;for(const e of i)if(t.coinMinimalDenom===e.coinMinimalDenom){if(!o)return;a=!0}if(o){const n=yield this.getTokensFromChainAndAccount(e);if(a){const r=n.findIndex(e=>e.coinMinimalDenom===t.coinMinimalDenom);r>=0&&(n[r]=t,yield this.saveTokensToChainAndAccount(e,n))}else n.push(t),yield this.saveTokensToChainAndAccount(e,n)}else{const n=yield this.getTokensFromChain(e);n.push(t),yield this.saveTokensToChain(e,n)}}))}removeToken(e,t){return s(this,void 0,void 0,(function*(){const n=yield this.chainsService.getChainInfo(e);t=yield r.validateCurrency(n,t);const i=yield this.getTokens(e),o="type"in t&&"secret20"===t.type;let a=!1;for(const e of i)if(t.coinMinimalDenom===e.coinMinimalDenom){a=!0;break}if(a)if(o){const n=(yield this.getTokensFromChainAndAccount(e)).filter(e=>e.coinMinimalDenom!==t.coinMinimalDenom);yield this.saveTokensToChainAndAccount(e,n)}else{const n=(yield this.getTokensFromChain(e)).filter(e=>e.coinMinimalDenom!==t.coinMinimalDenom);yield this.saveTokensToChain(e,n)}}))}getTokens(e){var t,n;return s(this,void 0,void 0,(function*(){const r=f.ChainIdHelper.parse(e),i=null!==(t=yield this.kvStore.get(r.identifier))&&void 0!==t?t:[];let o=[];if(this.keyRingService.keyRingStatus===h.KeyRingStatus.UNLOCKED){const t=yield this.keyRingService.getKey(e);o=null!==(n=yield this.kvStore.get(`${r.identifier}-${y.Buffer.from(t.address).toString("hex")}`))&&void 0!==n?n:[]}return i.concat(o)}))}clearTokens(e){return s(this,void 0,void 0,(function*(){const t=f.ChainIdHelper.parse(e);yield this.kvStore.set(t.identifier,null);const n=yield this.getTokensToAccountReverse(e);for(const e of n)yield this.kvStore.set(`${t.identifier}-${e}`,null);yield this.setTokensToAccountReverse(e,[])}))}getTokensFromChain(e){var t;return s(this,void 0,void 0,(function*(){const n=f.ChainIdHelper.parse(e);return null!==(t=yield this.kvStore.get(n.identifier))&&void 0!==t?t:[]}))}saveTokensToChain(e,t){return s(this,void 0,void 0,(function*(){const n=f.ChainIdHelper.parse(e);yield this.kvStore.set(n.identifier,t)}))}getTokensFromChainAndAccount(e){var t;return s(this,void 0,void 0,(function*(){const n=f.ChainIdHelper.parse(e),r=yield this.keyRingService.getKey(e);return null!==(t=yield this.kvStore.get(`${n.identifier}-${y.Buffer.from(r.address).toString("hex")}`))&&void 0!==t?t:[]}))}saveTokensToChainAndAccount(e,t){return s(this,void 0,void 0,(function*(){const n=f.ChainIdHelper.parse(e),r=yield this.keyRingService.getKey(e),i=y.Buffer.from(r.address).toString("hex");yield this.kvStore.set(`${n.identifier}-${i}`,t),yield this.insertTokensToAccountReverse(e,i)}))}getTokensToAccountReverse(e){var t;return s(this,void 0,void 0,(function*(){const n=f.ChainIdHelper.parse(e);return null!==(t=yield this.kvStore.get(n.identifier+"-addresses"))&&void 0!==t?t:[]}))}setTokensToAccountReverse(e,t){return s(this,void 0,void 0,(function*(){const n=f.ChainIdHelper.parse(e);yield this.kvStore.set(n.identifier+"-addresses",t)}))}insertTokensToAccountReverse(e,t){return s(this,void 0,void 0,(function*(){const n=yield this.getTokensToAccountReverse(e);n.indexOf(t)<0&&(n.push(t),yield this.setTokensToAccountReverse(e,n))}))}getSecret20ViewingKey(e,t){return s(this,void 0,void 0,(function*(){const n=yield this.getTokens(e);for(const e of n)if("type"in e&&"secret20"===e.type&&e.contractAddress===t)return e.viewingKey;throw new Error("There is no matched secret20")}))}checkOrGrantSecret20ViewingKeyPermission(e,t,n,r){return s(this,void 0,void 0,(function*(){yield this.getSecret20ViewingKey(t,n);const i=v.getSecret20ViewingKeyPermissionType(n);this.permissionService.hasPermisson(t,i,r)||(yield this.permissionService.grantPermission(e,"/access/viewing-key",[t],i,[r])),this.permissionService.checkPermission(e,t,i,r)}))}static validateCurrency(e,t){return s(this,void 0,void 0,(function*(){if("type"in t)switch(t.type){case"cw20":t=yield r.validateCW20Currency(e,t);break;case"secret20":t=yield r.validateSecret20Currency(e,t);break;default:throw new Error("Unknown type of currency")}else t=yield u.CurrencySchema.validateAsync(t);return t}))}static validateCW20Currency(e,t){return s(this,void 0,void 0,(function*(){return t=yield u.CW20CurrencyShema.validateAsync(t),f.Bech32Address.validate(t.contractAddress,e.bech32Config.bech32PrefixAccAddr),t}))}static validateSecret20Currency(e,t){return s(this,void 0,void 0,(function*(){return t=yield u.Secret20CurrencyShema.validateAsync(t),f.Bech32Address.validate(t.contractAddress,e.bech32Config.bech32PrefixAccAddr),t}))}};w=r=i([c.singleton(),a(0,c.inject(l.TYPES.TokensStore)),a(1,c.inject(c.delay(()=>m.InteractionService))),a(2,c.inject(c.delay(()=>b.PermissionService))),a(3,c.inject(d.ChainsService)),a(4,c.inject(c.delay(()=>p.KeyRingService))),o("design:paramtypes",[Object,m.InteractionService,b.PermissionService,d.ChainsService,p.KeyRingService])],w),t.TokensService=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROUTE=void 0,t.ROUTE="tokens"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitSecret20ViewingKeyPermissionType=t.isSecret20ViewingKeyPermissionType=t.getSecret20ViewingKeyPermissionType=void 0,t.getSecret20ViewingKeyPermissionType=function(e){return"viewing-key/"+e},t.isSecret20ViewingKeyPermissionType=function(e){return e.startsWith("viewing-key/")},t.splitSecret20ViewingKeyPermissionType=function(e){return e.replace("viewing-key/","")}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.KeplrEnigmaUtils=void 0;t.KeplrEnigmaUtils=class{constructor(e,t){this.chainId=e,this.keplr=t}getPubkey(){return r(this,void 0,void 0,(function*(){return yield this.keplr.getEnigmaPubKey(this.chainId)}))}getTxEncryptionKey(e){return r(this,void 0,void 0,(function*(){return yield this.keplr.getEnigmaTxEncryptionKey(this.chainId,e)}))}encrypt(e,t){return r(this,void 0,void 0,(function*(){return yield this.keplr.enigmaEncrypt(this.chainId,e,t)}))}decrypt(e,t){return r(this,void 0,void 0,(function*(){return yield this.keplr.enigmaDecrypt(this.chainId,e,t)}))}}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.CosmJSOfflineSigner=t.CosmJSOfflineSignerOnlyAmino=void 0;class i{constructor(e,t){this.chainId=e,this.keplr=t}getAccounts(){return r(this,void 0,void 0,(function*(){const e=yield this.keplr.getKey(this.chainId);return[{address:e.bech32Address,algo:"secp256k1",pubkey:e.pubKey}]}))}signAmino(e,t){return r(this,void 0,void 0,(function*(){if(this.chainId!==t.chain_id)throw new Error("Unmatched chain id with the offline signer");if((yield this.keplr.getKey(t.chain_id)).bech32Address!==e)throw new Error("Unknown signer address");return yield this.keplr.signAmino(this.chainId,e,t)}))}sign(e,t){return r(this,void 0,void 0,(function*(){return yield this.signAmino(e,t)}))}}t.CosmJSOfflineSignerOnlyAmino=i;t.CosmJSOfflineSigner=class extends i{constructor(e,t){super(e,t),this.chainId=e,this.keplr=t}signDirect(e,t){return r(this,void 0,void 0,(function*(){if(this.chainId!==t.chainId)throw new Error("Unmatched chain id with the offline signer");if((yield this.keplr.getKey(t.chainId)).bech32Address!==e)throw new Error("Unknown signer address");return yield this.keplr.signDirect(this.chainId,e,t)}))}}},function(e,t,n){"use strict";const r=()=>{const e=new Error("Delay aborted");return e.name="AbortError",e},i=({clearTimeout:e,setTimeout:t,willResolve:n})=>(i,{value:o,signal:a}={})=>{if(a&&a.aborted)return Promise.reject(r());let s,c,l;const u=e||clearTimeout,f=()=>{u(s),l(r())},d=new Promise((e,r)=>{c=()=>{a&&a.removeEventListener("abort",f),n?e(o):r(o)},l=r,s=(t||setTimeout)(c,i)});return a&&a.addEventListener("abort",f,{once:!0}),d.clear=()=>{u(s),s=null,c()},d},o=i({willResolve:!0});o.reject=i({willResolve:!1}),o.range=(e,t,n)=>o(((e,t)=>Math.floor(Math.random()*(t-e+1)+e))(e,t),n),o.createWithTimers=({clearTimeout:e,setTimeout:t})=>{const n=i({clearTimeout:e,setTimeout:t,willResolve:!0});return n.reject=i({clearTimeout:e,setTimeout:t,willResolve:!1}),n},e.exports=o,e.exports.default=o},function(e,t,n){var r=n(37),i=n(1515);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){"use strict";var r=n(0),i=n(838),o=n(862),a=n(30),s=n(842),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);iObject(o.b)(Object.assign(Object.assign({},a.a),{locale:"en"}),Object(a.c)(),e,t);class f extends r.Component{shouldComponentUpdate(e){const t=this.props,{values:n}=t,r=c(t,["values"]),{values:i}=e,o=c(e,["values"]);return!l(i,n)||!l(r,o)}render(){return r.createElement(i.a.Consumer,null,e=>{this.props.defaultMessage||Object(a.h)(e);const{formatMessage:t=u,textComponent:n=r.Fragment}=e||{},{id:i,description:o,defaultMessage:s,values:c,children:l,tagName:f=n}=this.props;let d=t({id:i,description:o,defaultMessage:s},c);return Array.isArray(d)||(d=[d]),"function"==typeof l?l(...d):f?r.createElement(f,null,...d):d})}}f.displayName="FormattedMessage",f.defaultProps={values:{}},t.a=f},function(e,t,n){"use strict";n.r(t),n.d(t,"FULFILLED",(function(){return d})),n.d(t,"IDENTITY",(function(){return o})),n.d(t,"NOOP",(function(){return i})),n.d(t,"ObservableGroupMap",(function(){return $})),n.d(t,"PENDING",(function(){return f})),n.d(t,"REJECTED",(function(){return p})),n.d(t,"ViewModel",(function(){return M})),n.d(t,"addHiddenProp",(function(){return c})),n.d(t,"chunkProcessor",(function(){return j})),n.d(t,"computedFn",(function(){return J})),n.d(t,"createTransformer",(function(){return U})),n.d(t,"createViewModel",(function(){return I})),n.d(t,"deepObserve",(function(){return z})),n.d(t,"expr",(function(){return N})),n.d(t,"fail",(function(){return a})),n.d(t,"fromPromise",(function(){return m})),n.d(t,"fromResource",(function(){return _})),n.d(t,"fromStream",(function(){return O})),n.d(t,"getAllMethodsAndProperties",(function(){return u})),n.d(t,"invariant",(function(){return s})),n.d(t,"isPromiseBasedObservable",(function(){return b})),n.d(t,"keepAlive",(function(){return P})),n.d(t,"lazyObservable",(function(){return w})),n.d(t,"moveItem",(function(){return g})),n.d(t,"now",(function(){return R})),n.d(t,"queueProcessor",(function(){return C})),n.d(t,"toStream",(function(){return x}));var r=n(5),i=function(){},o=function(e){return e};function a(e){throw new Error("[mobx-utils] "+e)}function s(e,t){void 0===t&&(t="Illegal state"),e||a(t)}function c(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}var l=function(e){return e&&e!==Object.prototype&&Object.getOwnPropertyNames(e).concat(l(Object.getPrototypeOf(e))||[])},u=function(e){return function(e){var t=l(e);return t.filter((function(e,n){return t.indexOf(e)===n}))}(e).filter((function(e){return"constructor"!==e&&!~e.indexOf("__")}))},f="pending",d="fulfilled",p="rejected";function h(e){switch(this.state){case f:return e.pending&&e.pending(this.value);case p:return e.rejected&&e.rejected(this.value);case d:return e.fulfilled?e.fulfilled(this.value):this.value}}function m(e,t){if(s(arguments.length<=2,"fromPromise expects up to two arguments"),s("function"==typeof e||"object"==typeof e&&e&&"function"==typeof e.then,"Please pass a promise or function to fromPromise"),!0===e.isPromiseBasedObservable)return e;"function"==typeof e&&(e=new Promise(e));var n=e;e.then(Object(r.action)("observableFromPromise-resolve",(function(e){n.value=e,n.state=d})),Object(r.action)("observableFromPromise-reject",(function(e){n.value=e,n.state=p}))),n.isPromiseBasedObservable=!0,n.case=h;var i=t&&t.state===d?t.value:void 0;return Object(r.extendObservable)(n,{value:i,state:f},{},{deep:!1}),n}function b(e){return e&&!0===e.isPromiseBasedObservable}!function(e){e.reject=Object(r.action)("fromPromise.reject",(function(t){var n=e(Promise.reject(t));return n.state=p,n.value=t,n})),e.resolve=Object(r.action)("fromPromise.resolve",(function(t){void 0===t&&(t=void 0);var n=e(Promise.resolve(t));return n.state=d,n.value=t,n}))}(m||(m={}));var y=function(){for(var e=0,t=0,n=arguments.length;t=n)throw new Error("[mobx.array] Index out of bounds: "+t+" is not smaller than "+n)}function w(e,t){void 0===t&&(t=void 0);var n=!1,i=r.observable.box(t,{deep:!1}),o=r.observable.box(!1),a=function(){return n||(n=!0,Object(r._allowStateChanges)(!0,(function(){o.set(!0)})),e((function(e){Object(r._allowStateChanges)(!0,(function(){i.set(e),o.set(!1)}))}))),i.get()},s=Object(r.action)("lazyObservable-reset",(function(){return n=!1,i.set(t),i.get()}));return{current:a,refresh:function(){return n?(n=!1,a()):i.get()},reset:function(){return s()},get pending(){return o.get()}}}function _(e,t,n){void 0===t&&(t=i),void 0===n&&(n=void 0);var o=!1,a=!1,c=n,l=function(){o&&(o=!1,t())},u=Object(r.createAtom)("ResourceBasedObservable",(function(){s(!o&&!a),o=!0,e((function(e){Object(r._allowStateChanges)(!0,(function(){c=e,u.reportChanged()}))}))}),l);return{current:function(){return s(!a,"subscribingObservable has already been disposed"),u.reportObserved()||o||console.warn("Called `get` of a subscribingObservable outside a reaction. Current value will be returned but no new subscription has started"),c},dispose:function(){a=!0,l()},isAlive:function(){return o}}}var k=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};function x(e,t){var n;void 0===t&&(t=!1);var i=Object(r.computed)(e);return(n={subscribe:function(e){return"function"==typeof e?{unsubscribe:Object(r.observe)(i,(function(t){var n=t.newValue;return e(n)}),t)}:e&&"object"==typeof e&&e.next?{unsubscribe:Object(r.observe)(i,(function(t){var n=t.newValue;return e.next(n)}),t)}:{unsubscribe:function(){}}}})["function"==typeof Symbol&&Symbol.observable||"@@observable"]=function(){return this},n}var S=function(){function e(e,t){var n=this;Object.defineProperty(this,"current",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"subscription",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object(r.makeObservable)(this),Object(r.runInAction)((function(){n.current=t,n.subscription=e.subscribe(n)}))}return Object.defineProperty(e.prototype,"dispose",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.subscription&&this.subscription.unsubscribe()}}),Object.defineProperty(e.prototype,"next",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.current=e}}),Object.defineProperty(e.prototype,"complete",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.dispose()}}),Object.defineProperty(e.prototype,"error",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.current=e,this.dispose()}}),k([r.observable.ref],e.prototype,"current",void 0),k([r.action.bound],e.prototype,"next",null),k([r.action.bound],e.prototype,"complete",null),k([r.action.bound],e.prototype,"error",null),e}();function O(e,t){return void 0===t&&(t=void 0),new S(e,t)}var E=function(){return(E=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},A=["model","reset","submit","isDirty","isPropertyDirty","resetProperty"],M=function(){function e(e){var t=this;Object.defineProperty(this,"model",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"localValues",{enumerable:!0,configurable:!0,writable:!0,value:r.observable.map({})}),Object.defineProperty(this,"localComputedValues",{enumerable:!0,configurable:!0,writable:!0,value:r.observable.map({})}),Object.defineProperty(this,"isPropertyDirty",{enumerable:!0,configurable:!0,writable:!0,value:function(e){return t.localValues.has(e)}}),Object(r.makeObservable)(this),s(Object(r.isObservableObject)(e),"createViewModel expects an observable object"),u(e).forEach((function(n){var i;if(n!==r.$mobx&&"__mobxDidRunLazyInitializers"!==n){if(s(-1===A.indexOf(n),"The propertyname "+n+" is reserved and cannot be used with viewModels"),Object(r.isComputedProp)(e,n)){var o=Object(r._getAdministration)(e,n),a=o.derivation.bind(t),c=null===(i=o.setter_)||void 0===i?void 0:i.bind(t);t.localComputedValues.set(n,Object(r.computed)(a,{set:c}))}var l=Object.getOwnPropertyDescriptor(e,n),u=l?{enumerable:l.enumerable}:{};Object.defineProperty(t,n,E(E({},u),{configurable:!0,get:function(){return Object(r.isComputedProp)(e,n)?t.localComputedValues.get(n).get():t.isPropertyDirty(n)?t.localValues.get(n):t.model[n]},set:Object(r.action)((function(i){Object(r.isComputedProp)(e,n)?t.localComputedValues.get(n).set(i):i!==t.model[n]?t.localValues.set(n,i):t.localValues.delete(n)}))}))}}))}return Object.defineProperty(e.prototype,"isDirty",{get:function(){return this.localValues.size>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"changedValues",{get:function(){return new Map(this.localValues)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"submit",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;Object(r.keys)(this.localValues).forEach((function(t){var n=e.localValues.get(t),i=e.model[t];Object(r.isObservableArray)(i)?i.replace(n):Object(r.isObservableMap)(i)?(i.clear(),i.merge(n)):Object(r.isComputed)(n)||(e.model[t]=n)})),this.localValues.clear()}}),Object.defineProperty(e.prototype,"reset",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.localValues.clear()}}),Object.defineProperty(e.prototype,"resetProperty",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.localValues.delete(e)}}),T([r.computed],e.prototype,"isDirty",null),T([r.computed],e.prototype,"changedValues",null),T([r.action.bound],e.prototype,"submit",null),T([r.action.bound],e.prototype,"reset",null),T([r.action.bound],e.prototype,"resetProperty",null),e}();function I(e){return new M(e)}function P(e,t){var n=Object(r.getAtom)(e,t);if(!n)throw new Error("No computed provided, please provide an object created with `computed(() => expr)` or an object + property name");return Object(r.observe)(n,(function(){}))}function C(e,t,n){if(void 0===n&&(n=0),!Object(r.isObservableArray)(e))throw new Error("Expected observable array as first argument");Object(r.isAction)(t)||(t=Object(r.action)("queueProcessor",t));var i=function(){var n=e.slice(0);Object(r.runInAction)((function(){return e.splice(0)})),n.forEach(t)};return n>0?Object(r.autorun)(i,{delay:n}):Object(r.autorun)(i)}function j(e,t,n,i){if(void 0===n&&(n=0),void 0===i&&(i=0),!Object(r.isObservableArray)(e))throw new Error("Expected observable array as first argument");Object(r.isAction)(t)||(t=Object(r.action)("chunkProcessor",t));var o=function(){for(var n=function(){var n=0===i?e.length:Math.min(e.length,i),o=e.slice(0,n);Object(r.runInAction)((function(){return e.splice(0,n)})),t(o)};e.length>0;)n()};return n>0?Object(r.autorun)(o,{delay:n}):Object(r.autorun)(o)}var D={};function R(e){return void 0===e&&(e=1e3),Object(r._isComputingDerivation)()?(D[e]||(D[e]="number"==typeof e?function(e){var t;return _((function(n){n(Date.now()),t=setInterval((function(){return n(Date.now())}),e)}),(function(){clearInterval(t)}),Date.now())}(e):t=_((function(e){e(Date.now()),function n(){window.requestAnimationFrame((function(){e(Date.now()),t.isAlive()&&n()}))}()}),(function(){}),Date.now())),D[e].current()):Date.now();var t}function N(e){return Object(r._isComputingDerivation)()||console.warn("'expr' should only be used inside other reactive functions."),Object(r.computed)(e).get()}var B=function(){return(B=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=e-1&&this.closest.has(this.args[e-1])}}),Object.defineProperty(e.prototype,"get",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(this.assertNotDisposed(),!this.exists())throw new Error("Entry doesn't exist");return this.closest.get(this.args[this.args.length-1])}}),Object.defineProperty(e.prototype,"set",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.assertNotDisposed();for(var t=this.args.length,n=this.closest,r=this.closestIdx;r0;r--)0===n[r].size&&n[r-1].delete(this.args[r-1]);this.isDisposed=!0}}),Object.defineProperty(e.prototype,"assertNotDisposed",{enumerable:!1,configurable:!0,writable:!0,value:function(){if(this.isDisposed)throw new Error("Concurrent modification exception")}}),e}(),W=function(){function e(){Object.defineProperty(this,"store",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"argsLength",{enumerable:!0,configurable:!0,writable:!0,value:-1}),Object.defineProperty(this,"last",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}return Object.defineProperty(e.prototype,"entry",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(-1===this.argsLength)this.argsLength=e.length;else if(this.argsLength!==e.length)throw new Error("DeepMap should be used with functions with a consistent length, expected: "+this.argsLength+", got: "+e.length);return this.last&&(this.last.isDisposed=!0),this.last=new K(this.store,e)}}),e}(),G=function(){return(G=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0&&t<=E};y.each=y.forEach=function(e,t,n){var r,i;if(t=v(t,n),A(e))for(r=0,i=e.length;r0?0:a-1;for(i||(r=t[o?o[s]:s],s+=e);s>=0&&s=3;return t(e,v(n,i,4),r,o)}};y.reduce=y.foldl=y.inject=M(1),y.reduceRight=y.foldr=M(-1),y.find=y.detect=function(e,t,n){var r=(A(e)?y.findIndex:y.findKey)(e,t,n);if(void 0!==r&&-1!==r)return e[r]},y.filter=y.select=function(e,t,n){var r=[];return t=w(t,n),y.each(e,(function(e,n,i){t(e,n,i)&&r.push(e)})),r},y.reject=function(e,t,n){return y.filter(e,y.negate(w(t)),n)},y.every=y.all=function(e,t,n){t=w(t,n);for(var r=!A(e)&&y.keys(e),i=(r||e).length,o=0;o=0},y.invoke=_((function(e,t,n){var r,i;return y.isFunction(t)?i=t:y.isArray(t)&&(r=t.slice(0,-1),t=t[t.length-1]),y.map(e,(function(e){var o=i;if(!o){if(r&&r.length&&(e=O(e,r)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)}))})),y.pluck=function(e,t){return y.map(e,y.property(t))},y.where=function(e,t){return y.filter(e,y.matcher(t))},y.findWhere=function(e,t){return y.find(e,y.matcher(t))},y.max=function(e,t,n){var r,i,o=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,c=(e=A(e)?e:y.values(e)).length;so&&(o=r);else t=w(t,n),y.each(e,(function(e,n,r){((i=t(e,n,r))>a||i===-1/0&&o===-1/0)&&(o=e,a=i)}));return o},y.min=function(e,t,n){var r,i,o=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,c=(e=A(e)?e:y.values(e)).length;sr||void 0===n)return 1;if(n0?0:i-1;o>=0&&o0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return r[o=n(r,i)]===i?o:-1;if(i!=i)return(o=t(u.call(r,a,s),y.isNaN))>=0?o+a:-1;for(o=e>0?a:s-1;o>=0&&ot?(r&&(clearTimeout(r),r=null),s=l,a=e.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(c,u)),a};return l.cancel=function(){clearTimeout(r),s=0,r=i=o=null},l},y.debounce=function(e,t,n){var r,i,o=function(t,n){r=null,n&&(i=e.apply(t,n))},a=_((function(a){if(r&&clearTimeout(r),n){var s=!r;r=setTimeout(o,t),s&&(i=e.apply(this,a))}else r=y.delay(o,t,this,a);return i}));return a.cancel=function(){clearTimeout(r),r=null},a},y.wrap=function(e,t){return y.partial(t,e)},y.negate=function(e){return function(){return!e.apply(this,arguments)}},y.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},y.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},y.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},y.once=y.partial(y.before,2),y.restArguments=_;var N=!{toString:null}.propertyIsEnumerable("toString"),B=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],L=function(e,t){var n=B.length,r=e.constructor,i=y.isFunction(r)&&r.prototype||s,o="constructor";for(S(e,o)&&!y.contains(t,o)&&t.push(o);n--;)(o=B[n])in e&&e[o]!==i[o]&&!y.contains(t,o)&&t.push(o)};y.keys=function(e){if(!y.isObject(e))return[];if(h)return h(e);var t=[];for(var n in e)S(e,n)&&t.push(n);return N&&L(e,t),t},y.allKeys=function(e){if(!y.isObject(e))return[];var t=[];for(var n in e)t.push(n);return N&&L(e,t),t},y.values=function(e){for(var t=y.keys(e),n=t.length,r=Array(n),i=0;i1&&(r=v(r,t[1])),t=y.allKeys(e)):(r=z,t=C(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i1&&(n=t[1])):(t=y.map(C(t,!1,!1),String),r=function(e,n){return!y.contains(t,n)}),y.pick(e,r,n)})),y.defaults=U(y.allKeys,!0),y.create=function(e,t){var n=k(e);return t&&y.extendOwn(n,t),n},y.clone=function(e){return y.isObject(e)?y.isArray(e)?e.slice():y.extend({},e):e},y.tap=function(e,t){return t(e),e},y.isMatch=function(e,t){var n=y.keys(t),r=n.length;if(null==e)return!r;for(var i=Object(e),o=0;o":">",'"':""","'":"'","`":"`"},$=y.invert(H),K=function(e){var t=function(t){return e[t]},n="(?:"+y.keys(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(i,t):e}};y.escape=K(H),y.unescape=K($),y.result=function(e,t,n){y.isArray(t)||(t=[t]);var r=t.length;if(!r)return y.isFunction(n)?n.call(e):n;for(var i=0;i/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var G=/(.)^/,J={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Q=/\\|'|\r|\n|\u2028|\u2029/g,Y=function(e){return"\\"+J[e]};y.template=function(e,t,n){!t&&n&&(t=n),t=y.defaults({},t,y.templateSettings);var r,i=RegExp([(t.escape||G).source,(t.interpolate||G).source,(t.evaluate||G).source].join("|")+"|$","g"),o=0,a="__p+='";e.replace(i,(function(t,n,r,i,s){return a+=e.slice(o,s).replace(Q,Y),o=s+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":i&&(a+="';\n"+i+"\n__p+='"),t})),a+="';\n",t.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(t.variable||"obj","_",a)}catch(e){throw e.source=a,e}var s=function(e){return r.call(this,e,y)},c=t.variable||"obj";return s.source="function("+c+"){\n"+a+"}",s},y.chain=function(e){var t=y(e);return t._chain=!0,t};var Z=function(e,t){return e._chain?y(t).chain():t};y.mixin=function(e){return y.each(y.functions(e),(function(t){var n=y[t]=e[t];y.prototype[t]=function(){var e=[this._wrapped];return l.apply(e,arguments),Z(this,n.apply(y,e))}})),y},y.mixin(y),y.each(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=a[e];y.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],Z(this,n)}})),y.each(["concat","join","slice"],(function(e){var t=a[e];y.prototype[e]=function(){return Z(this,t.apply(this._wrapped,arguments))}})),y.prototype.value=function(){return this._wrapped},y.prototype.valueOf=y.prototype.toJSON=y.prototype.value,y.prototype.toString=function(){return String(this._wrapped)},void 0===(r=function(){return y}.apply(t,[]))||(n.exports=r)}()}).call(this,n(12),n(71)(e))},function(e,t,n){"use strict";var r=n(824),i=n(882);function o(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i>6|192,n[r++]=63&a|128):o(e,i)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++i)),n[r++]=a>>18|240,n[r++]=a>>12&63|128,n[r++]=a>>6&63|128,n[r++]=63&a|128):(n[r++]=a>>12|224,n[r++]=a>>6&63|128,n[r++]=63&a|128)}else for(i=0;i>>0}return a},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},t.sum64=function(e,t,n,r){var i=e[t],o=r+e[t+1]>>>0,a=(o>>0,e[t+1]=o},t.sum64_hi=function(e,t,n,r){return(t+r>>>0>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,i,o,a,s){var c=0,l=t;return c+=(l=l+r>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(e,t,n,r,i,o,a,s){return t+r+o+s>>>0},t.sum64_5_hi=function(e,t,n,r,i,o,a,s,c,l){var u=0,f=t;return u+=(f=f+r>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(e,t,n,r,i,o,a,s,c,l){return t+r+o+s+l>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return u}));var r=n(0),i=n.n(r),o=n(947),a=n(941),s=n.n(a);const c=Object(r.createContext)(void 0),l=({children:e})=>{const[t,n]=Object(r.useState)([]),a=null!=t.find(e=>e.isLoading);return i.a.createElement(c.Provider,{value:{setIsLoading:(e,r)=>{const i=t.find(t=>t.type===e);if(i){if(i.isLoading===r)return;i.isLoading=r,n(t.concat())}else n(t.concat({type:e,isLoading:r}))}}},a?i.a.createElement(o.a,{modalClassName:s.a.modal,contentClassName:s.a.modalContentEmpty,isOpen:!0,centered:!0},i.a.createElement("i",{className:"fa fa-spinner fa-spin fa-2x fa-fw"})):null,e)};function u(){const e=Object(r.useContext)(c);if(!e)throw new Error("You probably forgot to use LoadingIndicatorProvider");return e}},function(e,t,n){var r=n(37),i=n(1506);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(37),i=n(1528);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){"use strict";var r=n(7).Buffer;e.exports=function(e){if(e.length>=255)throw new TypeError("Alphabet too long");for(var t=new Uint8Array(256),n=0;n>>0,u=new Uint8Array(a);e[n];){var f=t[e.charCodeAt(n)];if(255===f)return;for(var d=0,p=a-1;(0!==f||d>>0,u[p]=f%256>>>0,f=f/256>>>0;if(0!==f)throw new Error("Non-zero carry");o=d,n++}if(" "!==e[n]){for(var h=a-o;h!==a&&0===u[h];)h++;var m=r.allocUnsafe(i+(a-h));m.fill(0,0,i);for(var b=i;h!==a;)m[b++]=u[h++];return m}}}return{encode:function(t){if((Array.isArray(t)||t instanceof Uint8Array)&&(t=r.from(t)),!r.isBuffer(t))throw new TypeError("Expected Buffer");if(0===t.length)return"";for(var n=0,i=0,o=0,a=t.length;o!==a&&0===t[o];)o++,n++;for(var l=(a-o)*u+1>>>0,f=new Uint8Array(l);o!==a;){for(var d=t[o],p=0,h=l-1;(0!==d||p>>0,f[h]=d%s>>>0,d=d/s>>>0;if(0!==d)throw new Error("Non-zero carry");i=p,o++}for(var m=l-i;m!==l&&0===f[m];)m++;for(var b=c.repeat(n);m=0&&(i=t.type.substring(o));var a=l(e,t.components);r.isArray(a)&&e?n.push("tuple("+a.join(",")+")"+i):e?n.push("("+a+")"):n.push("("+a.join(",")+")"+i)}else n.push(t.type)})),n},u=function(e){if(!o.isHexStrict(e))throw new Error("The parameter must be a valid HEX string.");var t="",n=0,r=e.length;for("0x"===e.substring(0,2)&&(n=2);n7?n+=e[r].toUpperCase():n+=e[r];return n},toHex:o.toHex,toBN:o.toBN,bytesToHex:o.bytesToHex,hexToBytes:o.hexToBytes,hexToNumberString:o.hexToNumberString,hexToNumber:o.hexToNumber,toDecimal:o.hexToNumber,numberToHex:o.numberToHex,fromDecimal:o.numberToHex,hexToUtf8:o.hexToUtf8,hexToString:o.hexToUtf8,toUtf8:o.hexToUtf8,stripHexPrefix:o.stripHexPrefix,utf8ToHex:o.utf8ToHex,stringToHex:o.utf8ToHex,fromUtf8:o.utf8ToHex,hexToAscii:u,toAscii:u,asciiToHex:f,fromAscii:f,unitMap:i.unitMap,toWei:function(e,t){if(t=d(t),!o.isBN(e)&&!r.isString(e))throw new Error("Please pass numbers as strings or BN objects to avoid precision errors.");return o.isBN(e)?i.toWei(e,t):i.toWei(e,t).toString(10)},fromWei:function(e,t){if(t=d(t),!o.isBN(e)&&!r.isString(e))throw new Error("Please pass numbers as strings or BN objects to avoid precision errors.");return o.isBN(e)?i.fromWei(e,t):i.fromWei(e,t).toString(10)},padLeft:o.leftPad,leftPad:o.leftPad,padRight:o.rightPad,rightPad:o.rightPad,toTwosComplement:o.toTwosComplement,isBloom:o.isBloom,isUserEthereumAddressInBloom:o.isUserEthereumAddressInBloom,isContractAddressInBloom:o.isContractAddressInBloom,isTopic:o.isTopic,isTopicInBloom:o.isTopicInBloom,isInBloom:o.isInBloom,compareBlockNumbers:function(e,t){if(e==t)return 0;if("genesis"!=e&&"earliest"!=e&&0!=e||"genesis"!=t&&"earliest"!=t&&0!=t){if("genesis"==e||"earliest"==e)return-1;if("genesis"==t||"earliest"==t)return 1;if("latest"==e)return"pending"==t?-1:1;if("latest"===t)return"pending"==e?1:-1;if("pending"==e)return 1;if("pending"==t)return-1;{let n=new c(e),r=new c(t);return n.lt(r)?-1:n.eq(r)?0:1}}return 0}}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(860),t),i(n(385),t),i(n(384),t),i(n(861),t)},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=function(e){return Array.isArray(e)?e[0]:e},i=function(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{r(this,void 0,void 0,(function*(){const t=a[e];t&&(yield browser.windows.remove(t))}))})()},t.fitPopupWindow=function(){const e=window.outerWidth-window.innerWidth,t=window.outerHeight-window.innerHeight;browser.windows?browser.windows.getCurrent().then(n=>{null!=(null==n?void 0:n.id)&&browser.windows.update(n.id,{width:i+e,height:o+t})}):window.resizeTo(i+e,o+t)},t.disableScroll=function(){document.getElementsByTagName("html")[0].style.overflow="hidden"},t.enableScroll=function(){document.getElementsByTagName("html")[0].style.overflow=""}},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t,n){"use strict";var r=n(960),i=n(1130);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=v,t.resolve=function(e,t){return v(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?v(e,!1,!0).resolveObject(t):t},t.format=function(e){i.isString(e)&&(e=v(e));return e instanceof o?e.format():o.prototype.format.call(e)},t.Url=o;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),f=["%","/","?",";","#"].concat(u),d=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},b={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=n(883);function v(e,t,n){if(e&&i.isObject(e)&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o127?j+="x":j+=C[D];if(!j.match(p)){var N=I.slice(0,T),B=I.slice(T+1),L=C.match(h);L&&(N.push(L[1]),B.unshift(L[2])),B.length&&(v="/"+B.join(".")+v),this.hostname=N.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),M||(this.hostname=r.toASCII(this.hostname));var U=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+U,this.href+=this.host,M&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!m[k])for(T=0,P=u.length;T0)&&n.host.split("@"))&&(n.auth=M.shift(),n.host=n.hostname=M.shift());return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!x.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var O=x.slice(-1)[0],E=(n.host||e.host||x.length>1)&&("."===O||".."===O)||""===O,T=0,A=x.length;A>=0;A--)"."===(O=x[A])?x.splice(A,1):".."===O?(x.splice(A,1),T++):T&&(x.splice(A,1),T--);if(!_&&!k)for(;T--;T)x.unshift("..");!_||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),E&&"/"!==x.join("/").substr(-1)&&x.push("");var M,I=""===x[0]||x[0]&&"/"===x[0].charAt(0);S&&(n.hostname=n.host=I?"":x.length?x.shift():"",(M=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=M.shift(),n.host=n.hostname=M.shift()));return(_=_||n.host&&x.length)&&!I&&x.unshift(""),x.length?n.pathname=x.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){"use strict";(function(t){!function(n){function r(e){const t=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);let n=1779033703,r=3144134277,i=1013904242,o=2773480762,a=1359893119,s=2600822924,c=528734635,l=1541459225;const u=new Uint32Array(64);function f(e){let f=0,d=e.length;for(;d>=64;){let p,h,m,b,y,g=n,v=r,w=i,_=o,k=a,x=s,S=c,O=l;for(h=0;h<16;h++)m=f+4*h,u[h]=(255&e[m])<<24|(255&e[m+1])<<16|(255&e[m+2])<<8|255&e[m+3];for(h=16;h<64;h++)p=u[h-2],b=(p>>>17|p<<15)^(p>>>19|p<<13)^p>>>10,p=u[h-15],y=(p>>>7|p<<25)^(p>>>18|p<<14)^p>>>3,u[h]=(b+u[h-7]|0)+(y+u[h-16]|0)|0;for(h=0;h<64;h++)b=(((k>>>6|k<<26)^(k>>>11|k<<21)^(k>>>25|k<<7))+(k&x^~k&S)|0)+(O+(t[h]+u[h]|0)|0)|0,y=((g>>>2|g<<30)^(g>>>13|g<<19)^(g>>>22|g<<10))+(g&v^g&w^v&w)|0,O=S,S=x,x=k,k=_+b|0,_=w,w=v,v=g,g=b+y|0;n=n+g|0,r=r+v|0,i=i+w|0,o=o+_|0,a=a+k|0,s=s+x|0,c=c+S|0,l=l+O|0,f+=64,d-=64}}f(e);let d,p=e.length%64,h=e.length/536870912|0,m=e.length<<3,b=p<56?56:120,y=e.slice(e.length-p,e.length);for(y.push(128),d=p+1;d>>24&255),y.push(h>>>16&255),y.push(h>>>8&255),y.push(h>>>0&255),y.push(m>>>24&255),y.push(m>>>16&255),y.push(m>>>8&255),y.push(m>>>0&255),f(y),[n>>>24&255,n>>>16&255,n>>>8&255,n>>>0&255,r>>>24&255,r>>>16&255,r>>>8&255,r>>>0&255,i>>>24&255,i>>>16&255,i>>>8&255,i>>>0&255,o>>>24&255,o>>>16&255,o>>>8&255,o>>>0&255,a>>>24&255,a>>>16&255,a>>>8&255,a>>>0&255,s>>>24&255,s>>>16&255,s>>>8&255,s>>>0&255,c>>>24&255,c>>>16&255,c>>>8&255,c>>>0&255,l>>>24&255,l>>>16&255,l>>>8&255,l>>>0&255]}function i(e,t,n){e=e.length<=64?e:r(e);const i=64+t.length+4,o=new Array(i),a=new Array(64);let s,c=[];for(s=0;s<64;s++)o[s]=54;for(s=0;s=i-4;e--){if(o[e]++,o[e]<=255)return;o[e]=0}}for(;n>=32;)l(),c=c.concat(r(a.concat(r(o)))),n-=32;return n>0&&(l(),c=c.concat(r(a.concat(r(o))).slice(0,n))),c}function o(e,t,n,r,i){let o;for(l(e,16*(2*n-1),i,0,16),o=0;o<2*n;o++)c(e,16*o,i,16),s(i,r),l(i,0,e,t+16*o,16);for(o=0;o>>32-t}function s(e,t){l(e,0,t,0,16);for(let e=8;e>0;e-=2)t[4]^=a(t[0]+t[12],7),t[8]^=a(t[4]+t[0],9),t[12]^=a(t[8]+t[4],13),t[0]^=a(t[12]+t[8],18),t[9]^=a(t[5]+t[1],7),t[13]^=a(t[9]+t[5],9),t[1]^=a(t[13]+t[9],13),t[5]^=a(t[1]+t[13],18),t[14]^=a(t[10]+t[6],7),t[2]^=a(t[14]+t[10],9),t[6]^=a(t[2]+t[14],13),t[10]^=a(t[6]+t[2],18),t[3]^=a(t[15]+t[11],7),t[7]^=a(t[3]+t[15],9),t[11]^=a(t[7]+t[3],13),t[15]^=a(t[11]+t[7],18),t[1]^=a(t[0]+t[3],7),t[2]^=a(t[1]+t[0],9),t[3]^=a(t[2]+t[1],13),t[0]^=a(t[3]+t[2],18),t[6]^=a(t[5]+t[4],7),t[7]^=a(t[6]+t[5],9),t[4]^=a(t[7]+t[6],13),t[5]^=a(t[4]+t[7],18),t[11]^=a(t[10]+t[9],7),t[8]^=a(t[11]+t[10],9),t[9]^=a(t[8]+t[11],13),t[10]^=a(t[9]+t[8],18),t[12]^=a(t[15]+t[14],7),t[13]^=a(t[12]+t[15],9),t[14]^=a(t[13]+t[12],13),t[15]^=a(t[14]+t[13],18);for(let n=0;n<16;++n)e[n]+=t[n]}function c(e,t,n,r){for(let i=0;i=256)return!1}return!0}function f(e,t){if("number"!=typeof e||e%1)throw new Error("invalid "+t);return e}function d(e,n,r,a,s,d,p){if(r=f(r,"N"),a=f(a,"r"),s=f(s,"p"),d=f(d,"dkLen"),0===r||0!=(r&r-1))throw new Error("N must be power of 2");if(r>2147483647/128/a)throw new Error("N too large");if(a>2147483647/128/s)throw new Error("r too large");if(!u(e))throw new Error("password must be an array or buffer");if(e=Array.prototype.slice.call(e),!u(n))throw new Error("salt must be an array or buffer");n=Array.prototype.slice.call(n);let h=i(e,n,128*s*a);const m=new Uint32Array(32*s*a);for(let e=0;eM&&(t=M);for(let e=0;eM&&(t=M);for(let e=0;e>0&255),h.push(m[e]>>8&255),h.push(m[e]>>16&255),h.push(m[e]>>24&255);const n=i(e,h,d);return p&&p(null,1,n),n}p&&I(P)};if(!p)for(;;){const e=P();if(null!=e)return e}P()}const p={scrypt:function(e,t,n,r,i,o,a){return new Promise((function(s,c){let l=0;a&&a(0),d(e,t,n,r,i,o,(function(e,t,n){if(e)c(e);else if(n)a&&1!==l&&a(1),s(new Uint8Array(n));else if(a&&t!==l)return l=t,a(t)}))}))},syncScrypt:function(e,t,n,r,i,o){return new Uint8Array(d(e,t,n,r,i,o))}};e.exports=p}()}).call(this,n(223).setImmediate)},function(e,t,n){"use strict";var r={};(0,n(57).assign)(r,n(538),n(541),n(296)),e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(645),i=n(646),o=n(648),a=()=>{},s=new i.TimeoutError;t.default=class extends r{constructor(e){var t,n,r,i;if(super(),this._intervalCount=0,this._intervalEnd=0,this._pendingCount=0,this._resolveEmpty=a,this._resolveIdle=a,!("number"==typeof(e=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:o.default},e)).intervalCap&&e.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${null!==(n=null===(t=e.intervalCap)||void 0===t?void 0:t.toString())&&void 0!==n?n:""}\` (${typeof e.intervalCap})`);if(void 0===e.interval||!(Number.isFinite(e.interval)&&e.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${null!==(i=null===(r=e.interval)||void 0===r?void 0:r.toString())&&void 0!==i?i:""}\` (${typeof e.interval})`);this._carryoverConcurrencyCount=e.carryoverConcurrencyCount,this._isIntervalIgnored=e.intervalCap===1/0||0===e.interval,this._intervalCap=e.intervalCap,this._interval=e.interval,this._queue=new e.queueClass,this._queueClass=e.queueClass,this.concurrency=e.concurrency,this._timeout=e.timeout,this._throwOnTimeout=!0===e.throwOnTimeout,this._isPaused=!1===e.autoStart}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount{this._onResumeInterval()},t)),!0;this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0}return!1}_tryToStartAnother(){if(0===this._queue.size)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){const e=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){const t=this._queue.dequeue();return!!t&&(this.emit("active"),t(),e&&this._initializeIntervalIfNeeded(),!0)}}return!1}_initializeIntervalIfNeeded(){this._isIntervalIgnored||void 0!==this._intervalId||(this._intervalId=setInterval(()=>{this._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}_onInterval(){0===this._intervalCount&&0===this._pendingCount&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}_processQueue(){for(;this._tryToStartAnother(););}get concurrency(){return this._concurrency}set concurrency(e){if(!("number"==typeof e&&e>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`);this._concurrency=e,this._processQueue()}async add(e,t={}){return new Promise((n,r)=>{this._queue.enqueue(async()=>{this._pendingCount++,this._intervalCount++;try{const o=void 0===this._timeout&&void 0===t.timeout?e():i.default(Promise.resolve(e()),void 0===t.timeout?this._timeout:t.timeout,()=>{(void 0===t.throwOnTimeout?this._throwOnTimeout:t.throwOnTimeout)&&r(s)});n(await o)}catch(e){r(e)}this._next()},t),this._tryToStartAnother(),this.emit("add")})}async addAll(e,t){return Promise.all(e.map(async e=>this.add(e,t)))}start(){return this._isPaused?(this._isPaused=!1,this._processQueue(),this):this}pause(){this._isPaused=!0}clear(){this._queue=new this._queueClass}async onEmpty(){if(0!==this._queue.size)return new Promise(e=>{const t=this._resolveEmpty;this._resolveEmpty=()=>{t(),e()}})}async onIdle(){if(0!==this._pendingCount||0!==this._queue.size)return new Promise(e=>{const t=this._resolveIdle;this._resolveIdle=()=>{t(),e()}})}get size(){return this._queue.size}sizeBy(e){return this._queue.filter(e).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(e){this._timeout=e}}},function(e,t){e.exports="assets/temp-icon.svg"},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(1349)},function(e){e.exports=JSON.parse('{"manifest_version":2,"name":"Keplr","description":"Keplr is a browser extension wallet for the Inter blockchain ecosystem.","version":"0.8.13","applications":{"gecko":{"id":"keplr-extension@keplr.app","strict_min_version":"56.0"}},"icons":{"16":"assets/icon-16.png","48":"assets/icon-48.png","128":"assets/icon-128.png"},"browser_action":{"default_popup":"popup.html","default_title":"Keplr"},"background":{"scripts":["browser-polyfill.js","background.bundle.js"],"persistent":true},"permissions":["storage","notifications","identity"],"content_scripts":[{"matches":[""],"js":["browser-polyfill.js","contentScripts.bundle.js"],"run_at":"document_start","all_frames":true}],"web_accessible_resources":["injectedScript.bundle.js","assets/temp-icon.svg"]}')},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),i=n.n(r).a.createContext({})},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(16),i=n(850),o=n(214);n(830);const a=new(n(35).a)("address/5.0.8");function s(e){Object(r.j)(e,20)||a.throwArgumentError("invalid address","address",e);const t=(e=e.toLowerCase()).substring(2).split(""),n=new Uint8Array(40);for(let e=0;e<40;e++)n[e]=t[e].charCodeAt(0);const i=Object(r.a)(Object(o.a)(n));for(let e=0;e<40;e+=2)i[e>>1]>>4>=8&&(t[e]=t[e].toUpperCase()),(15&i[e>>1])>=8&&(t[e+1]=t[e+1].toUpperCase());return"0x"+t.join("")}const c={};for(let e=0;e<10;e++)c[String(e)]=String(e);for(let e=0;e<26;e++)c[String.fromCharCode(65+e)]=String(10+e);const l=Math.floor((u=9007199254740991,Math.log10?Math.log10(u):Math.log(u)/Math.LN10));var u;function f(e){let t=(e=(e=e.toUpperCase()).substring(4)+e.substring(0,2)+"00").split("").map(e=>c[e]).join("");for(;t.length>=l;){let e=t.substring(0,l);t=parseInt(e,10)%97+t.substring(e.length)}let n=String(98-parseInt(t,10)%97);for(;n.length<2;)n="0"+n;return n}function d(e){let t=null;if("string"!=typeof e&&a.throwArgumentError("invalid address","address",e),e.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==e.substring(0,2)&&(e="0x"+e),t=s(e),e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&t!==e&&a.throwArgumentError("bad address checksum","address",e);else if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(e.substring(2,4)!==f(e)&&a.throwArgumentError("bad icap checksum","address",e),t=Object(i.c)(e.substring(4));t.length<40;)t="0"+t;t=s("0x"+t)}else a.throwArgumentError("invalid address","address",e);return t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(17),i=n(851),o=n(216);n(831);const a=new(n(36).a)("address/5.0.8");function s(e){Object(r.j)(e,20)||a.throwArgumentError("invalid address","address",e);const t=(e=e.toLowerCase()).substring(2).split(""),n=new Uint8Array(40);for(let e=0;e<40;e++)n[e]=t[e].charCodeAt(0);const i=Object(r.a)(Object(o.a)(n));for(let e=0;e<40;e+=2)i[e>>1]>>4>=8&&(t[e]=t[e].toUpperCase()),(15&i[e>>1])>=8&&(t[e+1]=t[e+1].toUpperCase());return"0x"+t.join("")}const c={};for(let e=0;e<10;e++)c[String(e)]=String(e);for(let e=0;e<26;e++)c[String.fromCharCode(65+e)]=String(10+e);const l=Math.floor((u=9007199254740991,Math.log10?Math.log10(u):Math.log(u)/Math.LN10));var u;function f(e){let t=(e=(e=e.toUpperCase()).substring(4)+e.substring(0,2)+"00").split("").map(e=>c[e]).join("");for(;t.length>=l;){let e=t.substring(0,l);t=parseInt(e,10)%97+t.substring(e.length)}let n=String(98-parseInt(t,10)%97);for(;n.length<2;)n="0"+n;return n}function d(e){let t=null;if("string"!=typeof e&&a.throwArgumentError("invalid address","address",e),e.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==e.substring(0,2)&&(e="0x"+e),t=s(e),e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&t!==e&&a.throwArgumentError("bad address checksum","address",e);else if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(e.substring(2,4)!==f(e)&&a.throwArgumentError("bad icap checksum","address",e),t=Object(i.c)(e.substring(4));t.length<40;)t="0"+t;t=s("0x"+t)}else a.throwArgumentError("invalid address","address",e);return t}},function(e,t,n){var r=n(37),i=n(1341);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(37),i=n(1514);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CoinPretty=void 0;const r=n(221);class i{constructor(e,t){this._currency=e,this.amount=t,this._options={separator:" ",upperCase:!1,lowerCase:!1,hideDenom:!1},t instanceof r.IntPretty?this.intPretty=t:this.intPretty=new r.IntPretty(t),this.intPretty=this.intPretty.maxDecimals(e.coinDecimals).precision(e.coinDecimals)}get options(){return Object.assign(Object.assign({},this._options),this.intPretty.options)}get denom(){return this.currency.coinDenom}get currency(){return this._currency}setCurrency(e){const t=new i(e,this.amount);return t._options=Object.assign({},this._options),t.intPretty=this.intPretty.clone(),t}separator(e){const t=this.clone();return t._options.separator=e,t}upperCase(e){const t=this.clone();return t._options.upperCase=e,t._options.lowerCase=!e,t}lowerCase(e){const t=this.clone();return t._options.lowerCase=e,t._options.upperCase=!e,t}hideDenom(e){const t=this.clone();return t._options.hideDenom=e,t}precision(e){const t=this.clone();return t.intPretty=t.intPretty.precision(e),t}maxDecimals(e){const t=this.clone();return t.intPretty=t.intPretty.maxDecimals(e),t}trim(e){const t=this.clone();return t.intPretty=t.intPretty.trim(e),t}shrink(e){const t=this.clone();return t.intPretty=t.intPretty.shrink(e),t}locale(e){const t=this.clone();return t.intPretty=t.intPretty.locale(e),t}ready(e){const t=this.clone();return t.intPretty=t.intPretty.ready(e),t}get isReady(){return this.intPretty.isReady}add(e){const t=this.clone();return t.intPretty=t.intPretty.add(e.intPretty),t}toDec(){return this.intPretty.toDec()}toString(){let e=this.denom;this._options.upperCase&&(e=e.toUpperCase()),this._options.lowerCase&&(e=e.toLowerCase());let t=this._options.separator;return this._options.hideDenom&&(e="",t=""),`${this.intPretty.toString()}${t}${e}`}clone(){const e=new i(this._currency,this.amount);return e._options=Object.assign({},this._options),e.intPretty=this.intPretty.clone(),e}}t.CoinPretty=i},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseAccount=void 0;const i=n(23);class o{constructor(e,t,n,r){this.type=e,this.address=t,this.accountNumber=n,this.sequence=r}static fetchFromRest(e,t,n=!1){return r(this,void 0,void 0,(function*(){const r=yield e.get("auth/accounts/"+t);return o.fromAminoJSON(r.data,n?t:"")}))}static fromAminoJSON(e,t=""){"height"in e&&(e=e.result);const n=e.type;if(!n)throw new Error("Account's type is unknown: "+JSON.stringify(e));let r=e.value;const a=r.BaseVestingAccount||r.baseVestingAccount||r.base_vesting_account;a&&(r=a.BaseAccount||a.baseAccount||a.base_account);let s=r.address;if(!s){if(!t)throw new Error("Account's address is unknown: "+JSON.stringify(e));s=t}const c=r.account_number;if(null==c)throw new Error("Account's account number is unknown: "+JSON.stringify(e));const l=r.sequence;return new o(n,s,new i.Int(c),new i.Int(null!=l?l:"0"))}getType(){return this.type}getAddress(){return this.address}getAccountNumber(){return this.accountNumber}getSequence(){return this.sequence}}t.BaseAccount=o},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Bech32Address=void 0;const i=r(n(94));t.Bech32Address=class{constructor(e){this.address=e}static shortenAddress(e,t){if(t>=e.length)return e;const n=e.indexOf("1"),r=e.slice(0,n),i=e.slice(n+1);if(t-=r.length,t-=3,(t-=1)<=0)return"";const o=Math.floor(i.length/2);let a=i.slice(0,o),s=i.slice(o);for(;t0?a=a.slice(0,a.length-1):s=s.slice(1);return r+"1"+a+"..."+s}static validate(e,t){const{prefix:n}=i.default.decode(e);if(t&&t!==n)throw new Error(`Unexpected prefix (expected: ${t}, actual: ${n})`)}static defaultBech32Config(e,t="val",n="cons",r="pub",i="oper"){return{bech32PrefixAccAddr:e,bech32PrefixAccPub:e+r,bech32PrefixValAddr:e+t+i,bech32PrefixValPub:e+t+i+r,bech32PrefixConsAddr:e+t+n,bech32PrefixConsPub:e+t+n+r}}toBech32(e){const t=i.default.toWords(this.address);return i.default.encode(e,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChainIdHelper=void 0;class r{static parse(e){const t=e.split(r.VersionFormatRegExp).filter(Boolean);return 2!==t.length?{identifier:e,version:0}:{identifier:t[0],version:parseInt(t[1])}}static hasChainVersion(e){return r.parse(e).identifier!==e}}t.ChainIdHelper=r,r.VersionFormatRegExp=/(.+)-([\d]+)/},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WsReadyState=void 0,function(e){e[e.CONNECTING=0]="CONNECTING",e[e.OPEN=1]="OPEN",e[e.CLOSING=2]="CLOSING",e[e.CLOSED=3]="CLOSED",e[e.NONE=4]="NONE"}(t.WsReadyState||(t.WsReadyState={}))},function(e,t){ -/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ -t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,c=(1<>1,u=-7,f=n?i-1:0,d=n?-1:1,p=e[t+f];for(f+=d,o=p&(1<<-u)-1,p>>=-u,u+=s;u>0;o=256*o+e[t+f],f+=d,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+f],f+=d,u-=8);if(0===o)o=1-l;else{if(o===c)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=l}return(p?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,c,l=8*o-i-1,u=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+f>=1?d/c:d*Math.pow(2,1-f))*c>=2&&(a++,c/=2),a+f>=u?(s=0,a=u):a+f>=1?(s=(t*c-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=h,s/=256,i-=8);for(a=a<0;e[n+p]=255&a,p+=h,a/=256,l-=8);e[n+p-h]|=128*m}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(238),t),i(n(118),t),i(n(242),t),i(n(443),t)},function(e,t,n){"use strict";var r=t;function i(){r.util._configure(),r.Writer._configure(r.BufferWriter),r.Reader._configure(r.BufferReader)}r.build="minimal",r.Writer=n(239),r.BufferWriter=n(437),r.Reader=n(240),r.BufferReader=n(438),r.util=n(64),r.rpc=n(439),r.roots=n(441),r.configure=i,i()},function(e,t,n){"use strict";e.exports=function(e,t){var n=new Array(arguments.length-1),r=0,i=2,o=!0;for(;i1&&"="===e.charAt(t);)++n;return Math.ceil(3*e.length)/4-n};for(var i=new Array(64),o=new Array(123),a=0;a<64;)o[i[a]=a<26?a+65:a<52?a+71:a<62?a-4:a-59|43]=a++;r.encode=function(e,t,n){for(var r,o=null,a=[],s=0,c=0;t>2],r=(3&l)<<4,c=1;break;case 1:a[s++]=i[r|l>>4],r=(15&l)<<2,c=2;break;case 2:a[s++]=i[r|l>>6],a[s++]=i[63&l],c=0}s>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,a)),s=0)}return c&&(a[s++]=i[r],a[s++]=61,1===c&&(a[s++]=61)),o?(s&&o.push(String.fromCharCode.apply(String,a.slice(0,s))),o.join("")):String.fromCharCode.apply(String,a.slice(0,s))};r.decode=function(e,t,n){for(var r,i=n,a=0,s=0;s1)break;if(void 0===(c=o[c]))throw Error("invalid encoding");switch(a){case 0:r=c,a=1;break;case 1:t[n++]=r<<2|(48&c)>>4,r=c,a=2;break;case 2:t[n++]=(15&r)<<4|(60&c)>>2,r=c,a=3;break;case 3:t[n++]=(3&r)<<6|c,a=0}}if(1===a)throw Error("invalid encoding");return n-i},r.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}},function(e,t,n){"use strict";function r(){this._listeners={}}e.exports=r,r.prototype.on=function(e,t,n){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:n||this}),this},r.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var n=this._listeners[e],r=0;r0?0:2147483648,n,r);else if(isNaN(t))e(2143289344,n,r);else if(t>34028234663852886e22)e((i<<31|2139095040)>>>0,n,r);else if(t<11754943508222875e-54)e((i<<31|Math.round(t/1401298464324817e-60))>>>0,n,r);else{var o=Math.floor(Math.log(t)/Math.LN2);e((i<<31|o+127<<23|8388607&Math.round(t*Math.pow(2,-o)*8388608))>>>0,n,r)}}function n(e,t,n){var r=e(t,n),i=2*(r>>31)+1,o=r>>>23&255,a=8388607&r;return 255===o?a?NaN:i*(1/0):0===o?1401298464324817e-60*i*a:i*Math.pow(2,o-150)*(a+8388608)}e.writeFloatLE=t.bind(null,i),e.writeFloatBE=t.bind(null,o),e.readFloatLE=n.bind(null,a),e.readFloatBE=n.bind(null,s)}(),"undefined"!=typeof Float64Array?function(){var t=new Float64Array([-0]),n=new Uint8Array(t.buffer),r=128===n[7];function i(e,r,i){t[0]=e,r[i]=n[0],r[i+1]=n[1],r[i+2]=n[2],r[i+3]=n[3],r[i+4]=n[4],r[i+5]=n[5],r[i+6]=n[6],r[i+7]=n[7]}function o(e,r,i){t[0]=e,r[i]=n[7],r[i+1]=n[6],r[i+2]=n[5],r[i+3]=n[4],r[i+4]=n[3],r[i+5]=n[2],r[i+6]=n[1],r[i+7]=n[0]}function a(e,r){return n[0]=e[r],n[1]=e[r+1],n[2]=e[r+2],n[3]=e[r+3],n[4]=e[r+4],n[5]=e[r+5],n[6]=e[r+6],n[7]=e[r+7],t[0]}function s(e,r){return n[7]=e[r],n[6]=e[r+1],n[5]=e[r+2],n[4]=e[r+3],n[3]=e[r+4],n[2]=e[r+5],n[1]=e[r+6],n[0]=e[r+7],t[0]}e.writeDoubleLE=r?i:o,e.writeDoubleBE=r?o:i,e.readDoubleLE=r?a:s,e.readDoubleBE=r?s:a}():function(){function t(e,t,n,r,i,o){var a=r<0?1:0;if(a&&(r=-r),0===r)e(0,i,o+t),e(1/r>0?0:2147483648,i,o+n);else if(isNaN(r))e(0,i,o+t),e(2146959360,i,o+n);else if(r>17976931348623157e292)e(0,i,o+t),e((a<<31|2146435072)>>>0,i,o+n);else{var s;if(r<22250738585072014e-324)e((s=r/5e-324)>>>0,i,o+t),e((a<<31|s/4294967296)>>>0,i,o+n);else{var c=Math.floor(Math.log(r)/Math.LN2);1024===c&&(c=1023),e(4503599627370496*(s=r*Math.pow(2,-c))>>>0,i,o+t),e((a<<31|c+1023<<20|1048576*s&1048575)>>>0,i,o+n)}}}function n(e,t,n,r,i){var o=e(r,i+t),a=e(r,i+n),s=2*(a>>31)+1,c=a>>>20&2047,l=4294967296*(1048575&a)+o;return 2047===c?l?NaN:s*(1/0):0===c?5e-324*s*l:s*Math.pow(2,c-1075)*(l+4503599627370496)}e.writeDoubleLE=t.bind(null,i,0,4),e.writeDoubleBE=t.bind(null,o,4,0),e.readDoubleLE=n.bind(null,a,0,4),e.readDoubleBE=n.bind(null,s,4,0)}(),e}function i(e,t,n){t[n]=255&e,t[n+1]=e>>>8&255,t[n+2]=e>>>16&255,t[n+3]=e>>>24}function o(e,t,n){t[n]=e>>>24,t[n+1]=e>>>16&255,t[n+2]=e>>>8&255,t[n+3]=255&e}function a(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function s(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=r(r)},function(module,exports,__webpack_require__){"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},function(e,t,n){"use strict";var r=t;r.length=function(e){for(var t=0,n=0,r=0;r191&&r<224?o[a++]=(31&r)<<6|63&e[t++]:r>239&&r<365?(r=((7&r)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,o[a++]=55296+(r>>10),o[a++]=56320+(1023&r)):o[a++]=(15&r)<<12|(63&e[t++])<<6|63&e[t++],a>8191&&((i||(i=[])).push(String.fromCharCode.apply(String,o)),a=0);return i?(a&&i.push(String.fromCharCode.apply(String,o.slice(0,a))),i.join("")):String.fromCharCode.apply(String,o.slice(0,a))},r.write=function(e,t,n){for(var r,i,o=n,a=0;a>6|192,t[n++]=63&r|128):55296==(64512&r)&&56320==(64512&(i=e.charCodeAt(a+1)))?(r=65536+((1023&r)<<10)+(1023&i),++a,t[n++]=r>>18|240,t[n++]=r>>12&63|128,t[n++]=r>>6&63|128,t[n++]=63&r|128):(t[n++]=r>>12|224,t[n++]=r>>6&63|128,t[n++]=63&r|128);return n-o}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r=n||8192,i=r>>>1,o=null,a=r;return function(n){if(n<1||n>i)return e(n);a+n>r&&(o=e(r),a=0);var s=t.call(o,a,a+=n);return 7&a&&(a=1+(7|a)),s}}},function(e,t,n){"use strict";e.exports=i;var r=n(64);function i(e,t){this.lo=e>>>0,this.hi=t>>>0}var o=i.zero=new i(0,0);o.toNumber=function(){return 0},o.zzEncode=o.zzDecode=function(){return this},o.length=function(){return 1};var a=i.zeroHash="\0\0\0\0\0\0\0\0";i.fromNumber=function(e){if(0===e)return o;var t=e<0;t&&(e=-e);var n=e>>>0,r=(e-n)/4294967296>>>0;return t&&(r=~r>>>0,n=~n>>>0,++n>4294967295&&(n=0,++r>4294967295&&(r=0))),new i(n,r)},i.from=function(e){if("number"==typeof e)return i.fromNumber(e);if(r.isString(e)){if(!r.Long)return i.fromNumber(parseInt(e,10));e=r.Long.fromString(e)}return e.low||e.high?new i(e.low>>>0,e.high>>>0):o},i.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=1+~this.lo>>>0,n=~this.hi>>>0;return t||(n=n+1>>>0),-(t+4294967296*n)}return this.lo+4294967296*this.hi},i.prototype.toLong=function(e){return r.Long?new r.Long(0|this.lo,0|this.hi,Boolean(e)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(e)}};var s=String.prototype.charCodeAt;i.fromHash=function(e){return e===a?o:new i((s.call(e,0)|s.call(e,1)<<8|s.call(e,2)<<16|s.call(e,3)<<24)>>>0,(s.call(e,4)|s.call(e,5)<<8|s.call(e,6)<<16|s.call(e,7)<<24)>>>0)},i.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},i.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},i.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},i.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,n=this.hi>>>24;return 0===n?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:n<128?9:10}},function(e,t,n){"use strict";e.exports=o;var r=n(239);(o.prototype=Object.create(r.prototype)).constructor=o;var i=n(64);function o(){r.call(this)}function a(e,t,n){e.length<40?i.utf8.write(e,t,n):t.utf8Write?t.utf8Write(e,n):t.write(e,n)}o._configure=function(){o.alloc=i._Buffer_allocUnsafe,o.writeBytesBuffer=i.Buffer&&i.Buffer.prototype instanceof Uint8Array&&"set"===i.Buffer.prototype.set.name?function(e,t,n){t.set(e,n)}:function(e,t,n){if(e.copy)e.copy(t,n,0,e.length);else for(var r=0;r>>0;return this.uint32(t),t&&this._push(o.writeBytesBuffer,t,e),this},o.prototype.string=function(e){var t=i.Buffer.byteLength(e);return this.uint32(t),t&&this._push(a,t,e),this},o._configure()},function(e,t,n){"use strict";e.exports=o;var r=n(240);(o.prototype=Object.create(r.prototype)).constructor=o;var i=n(64);function o(e){r.call(this,e)}o._configure=function(){i.Buffer&&(o.prototype._slice=i.Buffer.prototype.slice)},o.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+e,this.len))},o._configure()},function(e,t,n){"use strict";t.Service=n(440)},function(e,t,n){"use strict";e.exports=i;var r=n(64);function i(e,t,n){if("function"!=typeof e)throw TypeError("rpcImpl must be a function");r.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=Boolean(t),this.responseDelimited=Boolean(n)}(i.prototype=Object.create(r.EventEmitter.prototype)).constructor=i,i.prototype.rpcCall=function e(t,n,i,o,a){if(!o)throw TypeError("request must be specified");var s=this;if(!a)return r.asPromise(e,s,t,n,i,o);if(s.rpcImpl)try{return s.rpcImpl(t,n[s.requestDelimited?"encodeDelimited":"encode"](o).finish(),(function(e,n){if(e)return s.emit("error",e,t),a(e);if(null!==n){if(!(n instanceof i))try{n=i[s.responseDelimited?"decodeDelimited":"decode"](n)}catch(e){return s.emit("error",e,t),a(e)}return s.emit("data",n,t),a(null,n)}s.end(!0)}))}catch(e){return s.emit("error",e,t),void setTimeout((function(){a(e)}),0)}else setTimeout((function(){a(Error("already ended"))}),0)},i.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tendermint=t.ibc=t.google=t.cosmos=void 0;var r=n(48);const i=r.Reader,o=r.Writer,a=r.util,s={};t.cosmos=s.cosmos=(()=>{const e={};return e.auth=function(){const e={};return e.v1beta1=function(){const e={};return e.BaseAccount=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.address=e.string();break;case 2:r.pubKey=s.google.protobuf.Any.decode(e,e.uint32());break;case 3:r.accountNumber=e.uint64();break;case 4:r.sequence=e.uint64();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.auth.v1beta1.BaseAccount)return e;var t=new s.cosmos.auth.v1beta1.BaseAccount;if(null!=e.address&&(t.address=String(e.address)),null!=e.pubKey){if("object"!=typeof e.pubKey)throw TypeError(".cosmos.auth.v1beta1.BaseAccount.pubKey: object expected");t.pubKey=s.google.protobuf.Any.fromObject(e.pubKey)}return null!=e.accountNumber&&(a.Long?(t.accountNumber=a.Long.fromValue(e.accountNumber)).unsigned=!0:"string"==typeof e.accountNumber?t.accountNumber=parseInt(e.accountNumber,10):"number"==typeof e.accountNumber?t.accountNumber=e.accountNumber:"object"==typeof e.accountNumber&&(t.accountNumber=new a.LongBits(e.accountNumber.low>>>0,e.accountNumber.high>>>0).toNumber(!0))),null!=e.sequence&&(a.Long?(t.sequence=a.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new a.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(n.address="",n.pubKey=null,a.Long){var r=new a.Long(0,0,!0);n.accountNumber=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.accountNumber=t.longs===String?"0":0;if(a.Long){r=new a.Long(0,0,!0);n.sequence=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.sequence=t.longs===String?"0":0}return null!=e.address&&e.hasOwnProperty("address")&&(n.address=e.address),null!=e.pubKey&&e.hasOwnProperty("pubKey")&&(n.pubKey=s.google.protobuf.Any.toObject(e.pubKey,t)),null!=e.accountNumber&&e.hasOwnProperty("accountNumber")&&("number"==typeof e.accountNumber?n.accountNumber=t.longs===String?String(e.accountNumber):e.accountNumber:n.accountNumber=t.longs===String?a.Long.prototype.toString.call(e.accountNumber):t.longs===Number?new a.LongBits(e.accountNumber.low>>>0,e.accountNumber.high>>>0).toNumber(!0):e.accountNumber),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?n.sequence=t.longs===String?String(e.sequence):e.sequence:n.sequence=t.longs===String?a.Long.prototype.toString.call(e.sequence):t.longs===Number?new a.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.ModuleAccount=function(){function e(e){if(this.permissions=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.baseAccount=s.cosmos.auth.v1beta1.BaseAccount.decode(e,e.uint32());break;case 2:r.name=e.string();break;case 3:r.permissions&&r.permissions.length||(r.permissions=[]),r.permissions.push(e.string());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.auth.v1beta1.ModuleAccount)return e;var t=new s.cosmos.auth.v1beta1.ModuleAccount;if(null!=e.baseAccount){if("object"!=typeof e.baseAccount)throw TypeError(".cosmos.auth.v1beta1.ModuleAccount.baseAccount: object expected");t.baseAccount=s.cosmos.auth.v1beta1.BaseAccount.fromObject(e.baseAccount)}if(null!=e.name&&(t.name=String(e.name)),e.permissions){if(!Array.isArray(e.permissions))throw TypeError(".cosmos.auth.v1beta1.ModuleAccount.permissions: array expected");t.permissions=[];for(var n=0;n>>3){case 1:r.maxMemoCharacters=e.uint64();break;case 2:r.txSigLimit=e.uint64();break;case 3:r.txSizeCostPerByte=e.uint64();break;case 4:r.sigVerifyCostEd25519=e.uint64();break;case 5:r.sigVerifyCostSecp256k1=e.uint64();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.auth.v1beta1.Params)return e;var t=new s.cosmos.auth.v1beta1.Params;return null!=e.maxMemoCharacters&&(a.Long?(t.maxMemoCharacters=a.Long.fromValue(e.maxMemoCharacters)).unsigned=!0:"string"==typeof e.maxMemoCharacters?t.maxMemoCharacters=parseInt(e.maxMemoCharacters,10):"number"==typeof e.maxMemoCharacters?t.maxMemoCharacters=e.maxMemoCharacters:"object"==typeof e.maxMemoCharacters&&(t.maxMemoCharacters=new a.LongBits(e.maxMemoCharacters.low>>>0,e.maxMemoCharacters.high>>>0).toNumber(!0))),null!=e.txSigLimit&&(a.Long?(t.txSigLimit=a.Long.fromValue(e.txSigLimit)).unsigned=!0:"string"==typeof e.txSigLimit?t.txSigLimit=parseInt(e.txSigLimit,10):"number"==typeof e.txSigLimit?t.txSigLimit=e.txSigLimit:"object"==typeof e.txSigLimit&&(t.txSigLimit=new a.LongBits(e.txSigLimit.low>>>0,e.txSigLimit.high>>>0).toNumber(!0))),null!=e.txSizeCostPerByte&&(a.Long?(t.txSizeCostPerByte=a.Long.fromValue(e.txSizeCostPerByte)).unsigned=!0:"string"==typeof e.txSizeCostPerByte?t.txSizeCostPerByte=parseInt(e.txSizeCostPerByte,10):"number"==typeof e.txSizeCostPerByte?t.txSizeCostPerByte=e.txSizeCostPerByte:"object"==typeof e.txSizeCostPerByte&&(t.txSizeCostPerByte=new a.LongBits(e.txSizeCostPerByte.low>>>0,e.txSizeCostPerByte.high>>>0).toNumber(!0))),null!=e.sigVerifyCostEd25519&&(a.Long?(t.sigVerifyCostEd25519=a.Long.fromValue(e.sigVerifyCostEd25519)).unsigned=!0:"string"==typeof e.sigVerifyCostEd25519?t.sigVerifyCostEd25519=parseInt(e.sigVerifyCostEd25519,10):"number"==typeof e.sigVerifyCostEd25519?t.sigVerifyCostEd25519=e.sigVerifyCostEd25519:"object"==typeof e.sigVerifyCostEd25519&&(t.sigVerifyCostEd25519=new a.LongBits(e.sigVerifyCostEd25519.low>>>0,e.sigVerifyCostEd25519.high>>>0).toNumber(!0))),null!=e.sigVerifyCostSecp256k1&&(a.Long?(t.sigVerifyCostSecp256k1=a.Long.fromValue(e.sigVerifyCostSecp256k1)).unsigned=!0:"string"==typeof e.sigVerifyCostSecp256k1?t.sigVerifyCostSecp256k1=parseInt(e.sigVerifyCostSecp256k1,10):"number"==typeof e.sigVerifyCostSecp256k1?t.sigVerifyCostSecp256k1=e.sigVerifyCostSecp256k1:"object"==typeof e.sigVerifyCostSecp256k1&&(t.sigVerifyCostSecp256k1=new a.LongBits(e.sigVerifyCostSecp256k1.low>>>0,e.sigVerifyCostSecp256k1.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(a.Long){var r=new a.Long(0,0,!0);n.maxMemoCharacters=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.maxMemoCharacters=t.longs===String?"0":0;if(a.Long){r=new a.Long(0,0,!0);n.txSigLimit=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.txSigLimit=t.longs===String?"0":0;if(a.Long){r=new a.Long(0,0,!0);n.txSizeCostPerByte=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.txSizeCostPerByte=t.longs===String?"0":0;if(a.Long){r=new a.Long(0,0,!0);n.sigVerifyCostEd25519=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.sigVerifyCostEd25519=t.longs===String?"0":0;if(a.Long){r=new a.Long(0,0,!0);n.sigVerifyCostSecp256k1=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.sigVerifyCostSecp256k1=t.longs===String?"0":0}return null!=e.maxMemoCharacters&&e.hasOwnProperty("maxMemoCharacters")&&("number"==typeof e.maxMemoCharacters?n.maxMemoCharacters=t.longs===String?String(e.maxMemoCharacters):e.maxMemoCharacters:n.maxMemoCharacters=t.longs===String?a.Long.prototype.toString.call(e.maxMemoCharacters):t.longs===Number?new a.LongBits(e.maxMemoCharacters.low>>>0,e.maxMemoCharacters.high>>>0).toNumber(!0):e.maxMemoCharacters),null!=e.txSigLimit&&e.hasOwnProperty("txSigLimit")&&("number"==typeof e.txSigLimit?n.txSigLimit=t.longs===String?String(e.txSigLimit):e.txSigLimit:n.txSigLimit=t.longs===String?a.Long.prototype.toString.call(e.txSigLimit):t.longs===Number?new a.LongBits(e.txSigLimit.low>>>0,e.txSigLimit.high>>>0).toNumber(!0):e.txSigLimit),null!=e.txSizeCostPerByte&&e.hasOwnProperty("txSizeCostPerByte")&&("number"==typeof e.txSizeCostPerByte?n.txSizeCostPerByte=t.longs===String?String(e.txSizeCostPerByte):e.txSizeCostPerByte:n.txSizeCostPerByte=t.longs===String?a.Long.prototype.toString.call(e.txSizeCostPerByte):t.longs===Number?new a.LongBits(e.txSizeCostPerByte.low>>>0,e.txSizeCostPerByte.high>>>0).toNumber(!0):e.txSizeCostPerByte),null!=e.sigVerifyCostEd25519&&e.hasOwnProperty("sigVerifyCostEd25519")&&("number"==typeof e.sigVerifyCostEd25519?n.sigVerifyCostEd25519=t.longs===String?String(e.sigVerifyCostEd25519):e.sigVerifyCostEd25519:n.sigVerifyCostEd25519=t.longs===String?a.Long.prototype.toString.call(e.sigVerifyCostEd25519):t.longs===Number?new a.LongBits(e.sigVerifyCostEd25519.low>>>0,e.sigVerifyCostEd25519.high>>>0).toNumber(!0):e.sigVerifyCostEd25519),null!=e.sigVerifyCostSecp256k1&&e.hasOwnProperty("sigVerifyCostSecp256k1")&&("number"==typeof e.sigVerifyCostSecp256k1?n.sigVerifyCostSecp256k1=t.longs===String?String(e.sigVerifyCostSecp256k1):e.sigVerifyCostSecp256k1:n.sigVerifyCostSecp256k1=t.longs===String?a.Long.prototype.toString.call(e.sigVerifyCostSecp256k1):t.longs===Number?new a.LongBits(e.sigVerifyCostSecp256k1.low>>>0,e.sigVerifyCostSecp256k1.high>>>0).toNumber(!0):e.sigVerifyCostSecp256k1),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Query=function(){function e(e,t,n){r.rpc.Service.call(this,e,t,n)}return(e.prototype=Object.create(r.rpc.Service.prototype)).constructor=e,e.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(e.prototype.account=function e(t,n){return this.rpcCall(e,s.cosmos.auth.v1beta1.QueryAccountRequest,s.cosmos.auth.v1beta1.QueryAccountResponse,t,n)},"name",{value:"Account"}),Object.defineProperty(e.prototype.params=function e(t,n){return this.rpcCall(e,s.cosmos.auth.v1beta1.QueryParamsRequest,s.cosmos.auth.v1beta1.QueryParamsResponse,t,n)},"name",{value:"Params"}),e}(),e.QueryAccountRequest=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.address=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.auth.v1beta1.QueryAccountRequest)return e;var t=new s.cosmos.auth.v1beta1.QueryAccountRequest;return null!=e.address&&(t.address=String(e.address)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.address=""),null!=e.address&&e.hasOwnProperty("address")&&(n.address=e.address),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryAccountResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.account=s.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.auth.v1beta1.QueryAccountResponse)return e;var t=new s.cosmos.auth.v1beta1.QueryAccountResponse;if(null!=e.account){if("object"!=typeof e.account)throw TypeError(".cosmos.auth.v1beta1.QueryAccountResponse.account: object expected");t.account=s.google.protobuf.Any.fromObject(e.account)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.account=null),null!=e.account&&e.hasOwnProperty("account")&&(n.account=s.google.protobuf.Any.toObject(e.account,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryParamsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.params=s.cosmos.auth.v1beta1.Params.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.auth.v1beta1.QueryParamsResponse)return e;var t=new s.cosmos.auth.v1beta1.QueryParamsResponse;if(null!=e.params){if("object"!=typeof e.params)throw TypeError(".cosmos.auth.v1beta1.QueryParamsResponse.params: object expected");t.params=s.cosmos.auth.v1beta1.Params.fromObject(e.params)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.params=null),null!=e.params&&e.hasOwnProperty("params")&&(n.params=s.cosmos.auth.v1beta1.Params.toObject(e.params,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e}(),e}(),e.bank=function(){const e={};return e.v1beta1=function(){const e={};return e.Params=function(){function e(e){if(this.sendEnabled=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.sendEnabled&&r.sendEnabled.length||(r.sendEnabled=[]),r.sendEnabled.push(s.cosmos.bank.v1beta1.SendEnabled.decode(e,e.uint32()));break;case 2:r.defaultSendEnabled=e.bool();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.bank.v1beta1.Params)return e;var t=new s.cosmos.bank.v1beta1.Params;if(e.sendEnabled){if(!Array.isArray(e.sendEnabled))throw TypeError(".cosmos.bank.v1beta1.Params.sendEnabled: array expected");t.sendEnabled=[];for(var n=0;n>>3){case 1:r.denom=e.string();break;case 2:r.enabled=e.bool();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.bank.v1beta1.SendEnabled)return e;var t=new s.cosmos.bank.v1beta1.SendEnabled;return null!=e.denom&&(t.denom=String(e.denom)),null!=e.enabled&&(t.enabled=Boolean(e.enabled)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.denom="",n.enabled=!1),null!=e.denom&&e.hasOwnProperty("denom")&&(n.denom=e.denom),null!=e.enabled&&e.hasOwnProperty("enabled")&&(n.enabled=e.enabled),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Input=function(){function e(e){if(this.coins=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.address=e.string();break;case 2:r.coins&&r.coins.length||(r.coins=[]),r.coins.push(s.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.bank.v1beta1.Input)return e;var t=new s.cosmos.bank.v1beta1.Input;if(null!=e.address&&(t.address=String(e.address)),e.coins){if(!Array.isArray(e.coins))throw TypeError(".cosmos.bank.v1beta1.Input.coins: array expected");t.coins=[];for(var n=0;n>>3){case 1:r.address=e.string();break;case 2:r.coins&&r.coins.length||(r.coins=[]),r.coins.push(s.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.bank.v1beta1.Output)return e;var t=new s.cosmos.bank.v1beta1.Output;if(null!=e.address&&(t.address=String(e.address)),e.coins){if(!Array.isArray(e.coins))throw TypeError(".cosmos.bank.v1beta1.Output.coins: array expected");t.coins=[];for(var n=0;n>>3){case 1:r.total&&r.total.length||(r.total=[]),r.total.push(s.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.bank.v1beta1.Supply)return e;var t=new s.cosmos.bank.v1beta1.Supply;if(e.total){if(!Array.isArray(e.total))throw TypeError(".cosmos.bank.v1beta1.Supply.total: array expected");t.total=[];for(var n=0;n>>3){case 1:r.denom=e.string();break;case 2:r.exponent=e.uint32();break;case 3:r.aliases&&r.aliases.length||(r.aliases=[]),r.aliases.push(e.string());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.bank.v1beta1.DenomUnit)return e;var t=new s.cosmos.bank.v1beta1.DenomUnit;if(null!=e.denom&&(t.denom=String(e.denom)),null!=e.exponent&&(t.exponent=e.exponent>>>0),e.aliases){if(!Array.isArray(e.aliases))throw TypeError(".cosmos.bank.v1beta1.DenomUnit.aliases: array expected");t.aliases=[];for(var n=0;n>>3){case 1:r.description=e.string();break;case 2:r.denomUnits&&r.denomUnits.length||(r.denomUnits=[]),r.denomUnits.push(s.cosmos.bank.v1beta1.DenomUnit.decode(e,e.uint32()));break;case 3:r.base=e.string();break;case 4:r.display=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.bank.v1beta1.Metadata)return e;var t=new s.cosmos.bank.v1beta1.Metadata;if(null!=e.description&&(t.description=String(e.description)),e.denomUnits){if(!Array.isArray(e.denomUnits))throw TypeError(".cosmos.bank.v1beta1.Metadata.denomUnits: array expected");t.denomUnits=[];for(var n=0;n>>3){case 1:r.address=e.string();break;case 2:r.denom=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.bank.v1beta1.QueryBalanceRequest)return e;var t=new s.cosmos.bank.v1beta1.QueryBalanceRequest;return null!=e.address&&(t.address=String(e.address)),null!=e.denom&&(t.denom=String(e.denom)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.address="",n.denom=""),null!=e.address&&e.hasOwnProperty("address")&&(n.address=e.address),null!=e.denom&&e.hasOwnProperty("denom")&&(n.denom=e.denom),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryBalanceResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.balance=s.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.bank.v1beta1.QueryBalanceResponse)return e;var t=new s.cosmos.bank.v1beta1.QueryBalanceResponse;if(null!=e.balance){if("object"!=typeof e.balance)throw TypeError(".cosmos.bank.v1beta1.QueryBalanceResponse.balance: object expected");t.balance=s.cosmos.base.v1beta1.Coin.fromObject(e.balance)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.balance=null),null!=e.balance&&e.hasOwnProperty("balance")&&(n.balance=s.cosmos.base.v1beta1.Coin.toObject(e.balance,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryAllBalancesRequest=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.address=e.string();break;case 2:r.pagination=s.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.bank.v1beta1.QueryAllBalancesRequest)return e;var t=new s.cosmos.bank.v1beta1.QueryAllBalancesRequest;if(null!=e.address&&(t.address=String(e.address)),null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".cosmos.bank.v1beta1.QueryAllBalancesRequest.pagination: object expected");t.pagination=s.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.address="",n.pagination=null),null!=e.address&&e.hasOwnProperty("address")&&(n.address=e.address),null!=e.pagination&&e.hasOwnProperty("pagination")&&(n.pagination=s.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryAllBalancesResponse=function(){function e(e){if(this.balances=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.balances&&r.balances.length||(r.balances=[]),r.balances.push(s.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;case 2:r.pagination=s.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.bank.v1beta1.QueryAllBalancesResponse)return e;var t=new s.cosmos.bank.v1beta1.QueryAllBalancesResponse;if(e.balances){if(!Array.isArray(e.balances))throw TypeError(".cosmos.bank.v1beta1.QueryAllBalancesResponse.balances: array expected");t.balances=[];for(var n=0;n>>3){case 1:r.supply&&r.supply.length||(r.supply=[]),r.supply.push(s.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.bank.v1beta1.QueryTotalSupplyResponse)return e;var t=new s.cosmos.bank.v1beta1.QueryTotalSupplyResponse;if(e.supply){if(!Array.isArray(e.supply))throw TypeError(".cosmos.bank.v1beta1.QueryTotalSupplyResponse.supply: array expected");t.supply=[];for(var n=0;n>>3){case 1:r.denom=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.bank.v1beta1.QuerySupplyOfRequest)return e;var t=new s.cosmos.bank.v1beta1.QuerySupplyOfRequest;return null!=e.denom&&(t.denom=String(e.denom)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.denom=""),null!=e.denom&&e.hasOwnProperty("denom")&&(n.denom=e.denom),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QuerySupplyOfResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.amount=s.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.bank.v1beta1.QuerySupplyOfResponse)return e;var t=new s.cosmos.bank.v1beta1.QuerySupplyOfResponse;if(null!=e.amount){if("object"!=typeof e.amount)throw TypeError(".cosmos.bank.v1beta1.QuerySupplyOfResponse.amount: object expected");t.amount=s.cosmos.base.v1beta1.Coin.fromObject(e.amount)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.amount=null),null!=e.amount&&e.hasOwnProperty("amount")&&(n.amount=s.cosmos.base.v1beta1.Coin.toObject(e.amount,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryParamsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.params=s.cosmos.bank.v1beta1.Params.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.bank.v1beta1.QueryParamsResponse)return e;var t=new s.cosmos.bank.v1beta1.QueryParamsResponse;if(null!=e.params){if("object"!=typeof e.params)throw TypeError(".cosmos.bank.v1beta1.QueryParamsResponse.params: object expected");t.params=s.cosmos.bank.v1beta1.Params.fromObject(e.params)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.params=null),null!=e.params&&e.hasOwnProperty("params")&&(n.params=s.cosmos.bank.v1beta1.Params.toObject(e.params,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Msg=function(){function e(e,t,n){r.rpc.Service.call(this,e,t,n)}return(e.prototype=Object.create(r.rpc.Service.prototype)).constructor=e,e.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(e.prototype.send=function e(t,n){return this.rpcCall(e,s.cosmos.bank.v1beta1.MsgSend,s.cosmos.bank.v1beta1.MsgSendResponse,t,n)},"name",{value:"Send"}),Object.defineProperty(e.prototype.multiSend=function e(t,n){return this.rpcCall(e,s.cosmos.bank.v1beta1.MsgMultiSend,s.cosmos.bank.v1beta1.MsgMultiSendResponse,t,n)},"name",{value:"MultiSend"}),e}(),e.MsgSend=function(){function e(e){if(this.amount=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.fromAddress=e.string();break;case 2:r.toAddress=e.string();break;case 3:r.amount&&r.amount.length||(r.amount=[]),r.amount.push(s.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.bank.v1beta1.MsgSend)return e;var t=new s.cosmos.bank.v1beta1.MsgSend;if(null!=e.fromAddress&&(t.fromAddress=String(e.fromAddress)),null!=e.toAddress&&(t.toAddress=String(e.toAddress)),e.amount){if(!Array.isArray(e.amount))throw TypeError(".cosmos.bank.v1beta1.MsgSend.amount: array expected");t.amount=[];for(var n=0;n>>3){case 1:r.inputs&&r.inputs.length||(r.inputs=[]),r.inputs.push(s.cosmos.bank.v1beta1.Input.decode(e,e.uint32()));break;case 2:r.outputs&&r.outputs.length||(r.outputs=[]),r.outputs.push(s.cosmos.bank.v1beta1.Output.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.bank.v1beta1.MsgMultiSend)return e;var t=new s.cosmos.bank.v1beta1.MsgMultiSend;if(e.inputs){if(!Array.isArray(e.inputs))throw TypeError(".cosmos.bank.v1beta1.MsgMultiSend.inputs: array expected");t.inputs=[];for(var n=0;n>>3){case 1:r.key=e.bytes();break;case 2:r.offset=e.uint64();break;case 3:r.limit=e.uint64();break;case 4:r.countTotal=e.bool();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.base.query.v1beta1.PageRequest)return e;var t=new s.cosmos.base.query.v1beta1.PageRequest;return null!=e.key&&("string"==typeof e.key?a.base64.decode(e.key,t.key=a.newBuffer(a.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),null!=e.offset&&(a.Long?(t.offset=a.Long.fromValue(e.offset)).unsigned=!0:"string"==typeof e.offset?t.offset=parseInt(e.offset,10):"number"==typeof e.offset?t.offset=e.offset:"object"==typeof e.offset&&(t.offset=new a.LongBits(e.offset.low>>>0,e.offset.high>>>0).toNumber(!0))),null!=e.limit&&(a.Long?(t.limit=a.Long.fromValue(e.limit)).unsigned=!0:"string"==typeof e.limit?t.limit=parseInt(e.limit,10):"number"==typeof e.limit?t.limit=e.limit:"object"==typeof e.limit&&(t.limit=new a.LongBits(e.limit.low>>>0,e.limit.high>>>0).toNumber(!0))),null!=e.countTotal&&(t.countTotal=Boolean(e.countTotal)),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(t.bytes===String?n.key="":(n.key=[],t.bytes!==Array&&(n.key=a.newBuffer(n.key))),a.Long){var r=new a.Long(0,0,!0);n.offset=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.offset=t.longs===String?"0":0;if(a.Long){r=new a.Long(0,0,!0);n.limit=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.limit=t.longs===String?"0":0;n.countTotal=!1}return null!=e.key&&e.hasOwnProperty("key")&&(n.key=t.bytes===String?a.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),null!=e.offset&&e.hasOwnProperty("offset")&&("number"==typeof e.offset?n.offset=t.longs===String?String(e.offset):e.offset:n.offset=t.longs===String?a.Long.prototype.toString.call(e.offset):t.longs===Number?new a.LongBits(e.offset.low>>>0,e.offset.high>>>0).toNumber(!0):e.offset),null!=e.limit&&e.hasOwnProperty("limit")&&("number"==typeof e.limit?n.limit=t.longs===String?String(e.limit):e.limit:n.limit=t.longs===String?a.Long.prototype.toString.call(e.limit):t.longs===Number?new a.LongBits(e.limit.low>>>0,e.limit.high>>>0).toNumber(!0):e.limit),null!=e.countTotal&&e.hasOwnProperty("countTotal")&&(n.countTotal=e.countTotal),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.PageResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.nextKey=e.bytes();break;case 2:r.total=e.uint64();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.base.query.v1beta1.PageResponse)return e;var t=new s.cosmos.base.query.v1beta1.PageResponse;return null!=e.nextKey&&("string"==typeof e.nextKey?a.base64.decode(e.nextKey,t.nextKey=a.newBuffer(a.base64.length(e.nextKey)),0):e.nextKey.length&&(t.nextKey=e.nextKey)),null!=e.total&&(a.Long?(t.total=a.Long.fromValue(e.total)).unsigned=!0:"string"==typeof e.total?t.total=parseInt(e.total,10):"number"==typeof e.total?t.total=e.total:"object"==typeof e.total&&(t.total=new a.LongBits(e.total.low>>>0,e.total.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(t.bytes===String?n.nextKey="":(n.nextKey=[],t.bytes!==Array&&(n.nextKey=a.newBuffer(n.nextKey))),a.Long){var r=new a.Long(0,0,!0);n.total=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.total=t.longs===String?"0":0;return null!=e.nextKey&&e.hasOwnProperty("nextKey")&&(n.nextKey=t.bytes===String?a.base64.encode(e.nextKey,0,e.nextKey.length):t.bytes===Array?Array.prototype.slice.call(e.nextKey):e.nextKey),null!=e.total&&e.hasOwnProperty("total")&&("number"==typeof e.total?n.total=t.longs===String?String(e.total):e.total:n.total=t.longs===String?a.Long.prototype.toString.call(e.total):t.longs===Number?new a.LongBits(e.total.low>>>0,e.total.high>>>0).toNumber(!0):e.total),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e}(),e}(),e.v1beta1=function(){const e={};return e.Coin=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.denom=e.string();break;case 2:r.amount=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.base.v1beta1.Coin)return e;var t=new s.cosmos.base.v1beta1.Coin;return null!=e.denom&&(t.denom=String(e.denom)),null!=e.amount&&(t.amount=String(e.amount)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.denom="",n.amount=""),null!=e.denom&&e.hasOwnProperty("denom")&&(n.denom=e.denom),null!=e.amount&&e.hasOwnProperty("amount")&&(n.amount=e.amount),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.DecCoin=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.denom=e.string();break;case 2:r.amount=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.base.v1beta1.DecCoin)return e;var t=new s.cosmos.base.v1beta1.DecCoin;return null!=e.denom&&(t.denom=String(e.denom)),null!=e.amount&&(t.amount=String(e.amount)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.denom="",n.amount=""),null!=e.denom&&e.hasOwnProperty("denom")&&(n.denom=e.denom),null!=e.amount&&e.hasOwnProperty("amount")&&(n.amount=e.amount),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.IntProto=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.int=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.base.v1beta1.IntProto)return e;var t=new s.cosmos.base.v1beta1.IntProto;return null!=e.int&&(t.int=String(e.int)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.int=""),null!=e.int&&e.hasOwnProperty("int")&&(n.int=e.int),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.DecProto=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.dec=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.base.v1beta1.DecProto)return e;var t=new s.cosmos.base.v1beta1.DecProto;return null!=e.dec&&(t.dec=String(e.dec)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.dec=""),null!=e.dec&&e.hasOwnProperty("dec")&&(n.dec=e.dec),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e}(),e}(),e.crypto=function(){const e={};return e.multisig=function(){const e={};return e.v1beta1=function(){const e={};return e.MultiSignature=function(){function e(e){if(this.signatures=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.signatures&&r.signatures.length||(r.signatures=[]),r.signatures.push(e.bytes());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.crypto.multisig.v1beta1.MultiSignature)return e;var t=new s.cosmos.crypto.multisig.v1beta1.MultiSignature;if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.crypto.multisig.v1beta1.MultiSignature.signatures: array expected");t.signatures=[];for(var n=0;n>>3){case 1:r.extraBitsStored=e.uint32();break;case 2:r.elems=e.bytes();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.crypto.multisig.v1beta1.CompactBitArray)return e;var t=new s.cosmos.crypto.multisig.v1beta1.CompactBitArray;return null!=e.extraBitsStored&&(t.extraBitsStored=e.extraBitsStored>>>0),null!=e.elems&&("string"==typeof e.elems?a.base64.decode(e.elems,t.elems=a.newBuffer(a.base64.length(e.elems)),0):e.elems.length&&(t.elems=e.elems)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.extraBitsStored=0,t.bytes===String?n.elems="":(n.elems=[],t.bytes!==Array&&(n.elems=a.newBuffer(n.elems)))),null!=e.extraBitsStored&&e.hasOwnProperty("extraBitsStored")&&(n.extraBitsStored=e.extraBitsStored),null!=e.elems&&e.hasOwnProperty("elems")&&(n.elems=t.bytes===String?a.base64.encode(e.elems,0,e.elems.length):t.bytes===Array?Array.prototype.slice.call(e.elems):e.elems),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e}(),e}(),e.secp256k1=function(){const e={};return e.PubKey=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.key=e.bytes();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.crypto.secp256k1.PubKey)return e;var t=new s.cosmos.crypto.secp256k1.PubKey;return null!=e.key&&("string"==typeof e.key?a.base64.decode(e.key,t.key=a.newBuffer(a.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.key="":(n.key=[],t.bytes!==Array&&(n.key=a.newBuffer(n.key)))),null!=e.key&&e.hasOwnProperty("key")&&(n.key=t.bytes===String?a.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.PrivKey=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.key=e.bytes();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.crypto.secp256k1.PrivKey)return e;var t=new s.cosmos.crypto.secp256k1.PrivKey;return null!=e.key&&("string"==typeof e.key?a.base64.decode(e.key,t.key=a.newBuffer(a.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.key="":(n.key=[],t.bytes!==Array&&(n.key=a.newBuffer(n.key)))),null!=e.key&&e.hasOwnProperty("key")&&(n.key=t.bytes===String?a.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e}(),e}(),e.staking=function(){const e={};return e.v1beta1=function(){const e={};return e.HistoricalInfo=function(){function e(e){if(this.valset=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.header=s.tendermint.types.Header.decode(e,e.uint32());break;case 2:r.valset&&r.valset.length||(r.valset=[]),r.valset.push(s.cosmos.staking.v1beta1.Validator.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.HistoricalInfo)return e;var t=new s.cosmos.staking.v1beta1.HistoricalInfo;if(null!=e.header){if("object"!=typeof e.header)throw TypeError(".cosmos.staking.v1beta1.HistoricalInfo.header: object expected");t.header=s.tendermint.types.Header.fromObject(e.header)}if(e.valset){if(!Array.isArray(e.valset))throw TypeError(".cosmos.staking.v1beta1.HistoricalInfo.valset: array expected");t.valset=[];for(var n=0;n>>3){case 1:r.rate=e.string();break;case 2:r.maxRate=e.string();break;case 3:r.maxChangeRate=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.CommissionRates)return e;var t=new s.cosmos.staking.v1beta1.CommissionRates;return null!=e.rate&&(t.rate=String(e.rate)),null!=e.maxRate&&(t.maxRate=String(e.maxRate)),null!=e.maxChangeRate&&(t.maxChangeRate=String(e.maxChangeRate)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.rate="",n.maxRate="",n.maxChangeRate=""),null!=e.rate&&e.hasOwnProperty("rate")&&(n.rate=e.rate),null!=e.maxRate&&e.hasOwnProperty("maxRate")&&(n.maxRate=e.maxRate),null!=e.maxChangeRate&&e.hasOwnProperty("maxChangeRate")&&(n.maxChangeRate=e.maxChangeRate),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Commission=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.commissionRates=s.cosmos.staking.v1beta1.CommissionRates.decode(e,e.uint32());break;case 2:r.updateTime=s.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.Commission)return e;var t=new s.cosmos.staking.v1beta1.Commission;if(null!=e.commissionRates){if("object"!=typeof e.commissionRates)throw TypeError(".cosmos.staking.v1beta1.Commission.commissionRates: object expected");t.commissionRates=s.cosmos.staking.v1beta1.CommissionRates.fromObject(e.commissionRates)}if(null!=e.updateTime){if("object"!=typeof e.updateTime)throw TypeError(".cosmos.staking.v1beta1.Commission.updateTime: object expected");t.updateTime=s.google.protobuf.Timestamp.fromObject(e.updateTime)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.commissionRates=null,n.updateTime=null),null!=e.commissionRates&&e.hasOwnProperty("commissionRates")&&(n.commissionRates=s.cosmos.staking.v1beta1.CommissionRates.toObject(e.commissionRates,t)),null!=e.updateTime&&e.hasOwnProperty("updateTime")&&(n.updateTime=s.google.protobuf.Timestamp.toObject(e.updateTime,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Description=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.moniker=e.string();break;case 2:r.identity=e.string();break;case 3:r.website=e.string();break;case 4:r.securityContact=e.string();break;case 5:r.details=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.Description)return e;var t=new s.cosmos.staking.v1beta1.Description;return null!=e.moniker&&(t.moniker=String(e.moniker)),null!=e.identity&&(t.identity=String(e.identity)),null!=e.website&&(t.website=String(e.website)),null!=e.securityContact&&(t.securityContact=String(e.securityContact)),null!=e.details&&(t.details=String(e.details)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.moniker="",n.identity="",n.website="",n.securityContact="",n.details=""),null!=e.moniker&&e.hasOwnProperty("moniker")&&(n.moniker=e.moniker),null!=e.identity&&e.hasOwnProperty("identity")&&(n.identity=e.identity),null!=e.website&&e.hasOwnProperty("website")&&(n.website=e.website),null!=e.securityContact&&e.hasOwnProperty("securityContact")&&(n.securityContact=e.securityContact),null!=e.details&&e.hasOwnProperty("details")&&(n.details=e.details),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Validator=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.operatorAddress=e.string();break;case 2:r.consensusPubkey=s.google.protobuf.Any.decode(e,e.uint32());break;case 3:r.jailed=e.bool();break;case 4:r.status=e.int32();break;case 5:r.tokens=e.string();break;case 6:r.delegatorShares=e.string();break;case 7:r.description=s.cosmos.staking.v1beta1.Description.decode(e,e.uint32());break;case 8:r.unbondingHeight=e.int64();break;case 9:r.unbondingTime=s.google.protobuf.Timestamp.decode(e,e.uint32());break;case 10:r.commission=s.cosmos.staking.v1beta1.Commission.decode(e,e.uint32());break;case 11:r.minSelfDelegation=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.Validator)return e;var t=new s.cosmos.staking.v1beta1.Validator;if(null!=e.operatorAddress&&(t.operatorAddress=String(e.operatorAddress)),null!=e.consensusPubkey){if("object"!=typeof e.consensusPubkey)throw TypeError(".cosmos.staking.v1beta1.Validator.consensusPubkey: object expected");t.consensusPubkey=s.google.protobuf.Any.fromObject(e.consensusPubkey)}switch(null!=e.jailed&&(t.jailed=Boolean(e.jailed)),e.status){case"BOND_STATUS_UNSPECIFIED":case 0:t.status=0;break;case"BOND_STATUS_UNBONDED":case 1:t.status=1;break;case"BOND_STATUS_UNBONDING":case 2:t.status=2;break;case"BOND_STATUS_BONDED":case 3:t.status=3}if(null!=e.tokens&&(t.tokens=String(e.tokens)),null!=e.delegatorShares&&(t.delegatorShares=String(e.delegatorShares)),null!=e.description){if("object"!=typeof e.description)throw TypeError(".cosmos.staking.v1beta1.Validator.description: object expected");t.description=s.cosmos.staking.v1beta1.Description.fromObject(e.description)}if(null!=e.unbondingHeight&&(a.Long?(t.unbondingHeight=a.Long.fromValue(e.unbondingHeight)).unsigned=!1:"string"==typeof e.unbondingHeight?t.unbondingHeight=parseInt(e.unbondingHeight,10):"number"==typeof e.unbondingHeight?t.unbondingHeight=e.unbondingHeight:"object"==typeof e.unbondingHeight&&(t.unbondingHeight=new a.LongBits(e.unbondingHeight.low>>>0,e.unbondingHeight.high>>>0).toNumber())),null!=e.unbondingTime){if("object"!=typeof e.unbondingTime)throw TypeError(".cosmos.staking.v1beta1.Validator.unbondingTime: object expected");t.unbondingTime=s.google.protobuf.Timestamp.fromObject(e.unbondingTime)}if(null!=e.commission){if("object"!=typeof e.commission)throw TypeError(".cosmos.staking.v1beta1.Validator.commission: object expected");t.commission=s.cosmos.staking.v1beta1.Commission.fromObject(e.commission)}return null!=e.minSelfDelegation&&(t.minSelfDelegation=String(e.minSelfDelegation)),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(n.operatorAddress="",n.consensusPubkey=null,n.jailed=!1,n.status=t.enums===String?"BOND_STATUS_UNSPECIFIED":0,n.tokens="",n.delegatorShares="",n.description=null,a.Long){var r=new a.Long(0,0,!1);n.unbondingHeight=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.unbondingHeight=t.longs===String?"0":0;n.unbondingTime=null,n.commission=null,n.minSelfDelegation=""}return null!=e.operatorAddress&&e.hasOwnProperty("operatorAddress")&&(n.operatorAddress=e.operatorAddress),null!=e.consensusPubkey&&e.hasOwnProperty("consensusPubkey")&&(n.consensusPubkey=s.google.protobuf.Any.toObject(e.consensusPubkey,t)),null!=e.jailed&&e.hasOwnProperty("jailed")&&(n.jailed=e.jailed),null!=e.status&&e.hasOwnProperty("status")&&(n.status=t.enums===String?s.cosmos.staking.v1beta1.BondStatus[e.status]:e.status),null!=e.tokens&&e.hasOwnProperty("tokens")&&(n.tokens=e.tokens),null!=e.delegatorShares&&e.hasOwnProperty("delegatorShares")&&(n.delegatorShares=e.delegatorShares),null!=e.description&&e.hasOwnProperty("description")&&(n.description=s.cosmos.staking.v1beta1.Description.toObject(e.description,t)),null!=e.unbondingHeight&&e.hasOwnProperty("unbondingHeight")&&("number"==typeof e.unbondingHeight?n.unbondingHeight=t.longs===String?String(e.unbondingHeight):e.unbondingHeight:n.unbondingHeight=t.longs===String?a.Long.prototype.toString.call(e.unbondingHeight):t.longs===Number?new a.LongBits(e.unbondingHeight.low>>>0,e.unbondingHeight.high>>>0).toNumber():e.unbondingHeight),null!=e.unbondingTime&&e.hasOwnProperty("unbondingTime")&&(n.unbondingTime=s.google.protobuf.Timestamp.toObject(e.unbondingTime,t)),null!=e.commission&&e.hasOwnProperty("commission")&&(n.commission=s.cosmos.staking.v1beta1.Commission.toObject(e.commission,t)),null!=e.minSelfDelegation&&e.hasOwnProperty("minSelfDelegation")&&(n.minSelfDelegation=e.minSelfDelegation),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.BondStatus=function(){const e={},t=Object.create(e);return t[e[0]="BOND_STATUS_UNSPECIFIED"]=0,t[e[1]="BOND_STATUS_UNBONDED"]=1,t[e[2]="BOND_STATUS_UNBONDING"]=2,t[e[3]="BOND_STATUS_BONDED"]=3,t}(),e.ValAddresses=function(){function e(e){if(this.addresses=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.addresses&&r.addresses.length||(r.addresses=[]),r.addresses.push(e.string());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.ValAddresses)return e;var t=new s.cosmos.staking.v1beta1.ValAddresses;if(e.addresses){if(!Array.isArray(e.addresses))throw TypeError(".cosmos.staking.v1beta1.ValAddresses.addresses: array expected");t.addresses=[];for(var n=0;n>>3){case 1:r.delegatorAddress=e.string();break;case 2:r.validatorAddress=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.DVPair)return e;var t=new s.cosmos.staking.v1beta1.DVPair;return null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.delegatorAddress="",n.validatorAddress=""),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(n.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(n.validatorAddress=e.validatorAddress),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.DVPairs=function(){function e(e){if(this.pairs=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.pairs&&r.pairs.length||(r.pairs=[]),r.pairs.push(s.cosmos.staking.v1beta1.DVPair.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.DVPairs)return e;var t=new s.cosmos.staking.v1beta1.DVPairs;if(e.pairs){if(!Array.isArray(e.pairs))throw TypeError(".cosmos.staking.v1beta1.DVPairs.pairs: array expected");t.pairs=[];for(var n=0;n>>3){case 1:r.delegatorAddress=e.string();break;case 2:r.validatorSrcAddress=e.string();break;case 3:r.validatorDstAddress=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.DVVTriplet)return e;var t=new s.cosmos.staking.v1beta1.DVVTriplet;return null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorSrcAddress&&(t.validatorSrcAddress=String(e.validatorSrcAddress)),null!=e.validatorDstAddress&&(t.validatorDstAddress=String(e.validatorDstAddress)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.delegatorAddress="",n.validatorSrcAddress="",n.validatorDstAddress=""),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(n.delegatorAddress=e.delegatorAddress),null!=e.validatorSrcAddress&&e.hasOwnProperty("validatorSrcAddress")&&(n.validatorSrcAddress=e.validatorSrcAddress),null!=e.validatorDstAddress&&e.hasOwnProperty("validatorDstAddress")&&(n.validatorDstAddress=e.validatorDstAddress),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.DVVTriplets=function(){function e(e){if(this.triplets=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.triplets&&r.triplets.length||(r.triplets=[]),r.triplets.push(s.cosmos.staking.v1beta1.DVVTriplet.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.DVVTriplets)return e;var t=new s.cosmos.staking.v1beta1.DVVTriplets;if(e.triplets){if(!Array.isArray(e.triplets))throw TypeError(".cosmos.staking.v1beta1.DVVTriplets.triplets: array expected");t.triplets=[];for(var n=0;n>>3){case 1:r.delegatorAddress=e.string();break;case 2:r.validatorAddress=e.string();break;case 3:r.shares=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.Delegation)return e;var t=new s.cosmos.staking.v1beta1.Delegation;return null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.shares&&(t.shares=String(e.shares)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.delegatorAddress="",n.validatorAddress="",n.shares=""),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(n.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(n.validatorAddress=e.validatorAddress),null!=e.shares&&e.hasOwnProperty("shares")&&(n.shares=e.shares),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.UnbondingDelegation=function(){function e(e){if(this.entries=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.delegatorAddress=e.string();break;case 2:r.validatorAddress=e.string();break;case 3:r.entries&&r.entries.length||(r.entries=[]),r.entries.push(s.cosmos.staking.v1beta1.UnbondingDelegationEntry.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.UnbondingDelegation)return e;var t=new s.cosmos.staking.v1beta1.UnbondingDelegation;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),e.entries){if(!Array.isArray(e.entries))throw TypeError(".cosmos.staking.v1beta1.UnbondingDelegation.entries: array expected");t.entries=[];for(var n=0;n>>3){case 1:r.creationHeight=e.int64();break;case 2:r.completionTime=s.google.protobuf.Timestamp.decode(e,e.uint32());break;case 3:r.initialBalance=e.string();break;case 4:r.balance=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.UnbondingDelegationEntry)return e;var t=new s.cosmos.staking.v1beta1.UnbondingDelegationEntry;if(null!=e.creationHeight&&(a.Long?(t.creationHeight=a.Long.fromValue(e.creationHeight)).unsigned=!1:"string"==typeof e.creationHeight?t.creationHeight=parseInt(e.creationHeight,10):"number"==typeof e.creationHeight?t.creationHeight=e.creationHeight:"object"==typeof e.creationHeight&&(t.creationHeight=new a.LongBits(e.creationHeight.low>>>0,e.creationHeight.high>>>0).toNumber())),null!=e.completionTime){if("object"!=typeof e.completionTime)throw TypeError(".cosmos.staking.v1beta1.UnbondingDelegationEntry.completionTime: object expected");t.completionTime=s.google.protobuf.Timestamp.fromObject(e.completionTime)}return null!=e.initialBalance&&(t.initialBalance=String(e.initialBalance)),null!=e.balance&&(t.balance=String(e.balance)),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(a.Long){var r=new a.Long(0,0,!1);n.creationHeight=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.creationHeight=t.longs===String?"0":0;n.completionTime=null,n.initialBalance="",n.balance=""}return null!=e.creationHeight&&e.hasOwnProperty("creationHeight")&&("number"==typeof e.creationHeight?n.creationHeight=t.longs===String?String(e.creationHeight):e.creationHeight:n.creationHeight=t.longs===String?a.Long.prototype.toString.call(e.creationHeight):t.longs===Number?new a.LongBits(e.creationHeight.low>>>0,e.creationHeight.high>>>0).toNumber():e.creationHeight),null!=e.completionTime&&e.hasOwnProperty("completionTime")&&(n.completionTime=s.google.protobuf.Timestamp.toObject(e.completionTime,t)),null!=e.initialBalance&&e.hasOwnProperty("initialBalance")&&(n.initialBalance=e.initialBalance),null!=e.balance&&e.hasOwnProperty("balance")&&(n.balance=e.balance),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.RedelegationEntry=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.creationHeight=e.int64();break;case 2:r.completionTime=s.google.protobuf.Timestamp.decode(e,e.uint32());break;case 3:r.initialBalance=e.string();break;case 4:r.sharesDst=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.RedelegationEntry)return e;var t=new s.cosmos.staking.v1beta1.RedelegationEntry;if(null!=e.creationHeight&&(a.Long?(t.creationHeight=a.Long.fromValue(e.creationHeight)).unsigned=!1:"string"==typeof e.creationHeight?t.creationHeight=parseInt(e.creationHeight,10):"number"==typeof e.creationHeight?t.creationHeight=e.creationHeight:"object"==typeof e.creationHeight&&(t.creationHeight=new a.LongBits(e.creationHeight.low>>>0,e.creationHeight.high>>>0).toNumber())),null!=e.completionTime){if("object"!=typeof e.completionTime)throw TypeError(".cosmos.staking.v1beta1.RedelegationEntry.completionTime: object expected");t.completionTime=s.google.protobuf.Timestamp.fromObject(e.completionTime)}return null!=e.initialBalance&&(t.initialBalance=String(e.initialBalance)),null!=e.sharesDst&&(t.sharesDst=String(e.sharesDst)),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(a.Long){var r=new a.Long(0,0,!1);n.creationHeight=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.creationHeight=t.longs===String?"0":0;n.completionTime=null,n.initialBalance="",n.sharesDst=""}return null!=e.creationHeight&&e.hasOwnProperty("creationHeight")&&("number"==typeof e.creationHeight?n.creationHeight=t.longs===String?String(e.creationHeight):e.creationHeight:n.creationHeight=t.longs===String?a.Long.prototype.toString.call(e.creationHeight):t.longs===Number?new a.LongBits(e.creationHeight.low>>>0,e.creationHeight.high>>>0).toNumber():e.creationHeight),null!=e.completionTime&&e.hasOwnProperty("completionTime")&&(n.completionTime=s.google.protobuf.Timestamp.toObject(e.completionTime,t)),null!=e.initialBalance&&e.hasOwnProperty("initialBalance")&&(n.initialBalance=e.initialBalance),null!=e.sharesDst&&e.hasOwnProperty("sharesDst")&&(n.sharesDst=e.sharesDst),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Redelegation=function(){function e(e){if(this.entries=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.delegatorAddress=e.string();break;case 2:r.validatorSrcAddress=e.string();break;case 3:r.validatorDstAddress=e.string();break;case 4:r.entries&&r.entries.length||(r.entries=[]),r.entries.push(s.cosmos.staking.v1beta1.RedelegationEntry.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.Redelegation)return e;var t=new s.cosmos.staking.v1beta1.Redelegation;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorSrcAddress&&(t.validatorSrcAddress=String(e.validatorSrcAddress)),null!=e.validatorDstAddress&&(t.validatorDstAddress=String(e.validatorDstAddress)),e.entries){if(!Array.isArray(e.entries))throw TypeError(".cosmos.staking.v1beta1.Redelegation.entries: array expected");t.entries=[];for(var n=0;n>>3){case 1:r.unbondingTime=s.google.protobuf.Duration.decode(e,e.uint32());break;case 2:r.maxValidators=e.uint32();break;case 3:r.maxEntries=e.uint32();break;case 4:r.historicalEntries=e.uint32();break;case 5:r.bondDenom=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.Params)return e;var t=new s.cosmos.staking.v1beta1.Params;if(null!=e.unbondingTime){if("object"!=typeof e.unbondingTime)throw TypeError(".cosmos.staking.v1beta1.Params.unbondingTime: object expected");t.unbondingTime=s.google.protobuf.Duration.fromObject(e.unbondingTime)}return null!=e.maxValidators&&(t.maxValidators=e.maxValidators>>>0),null!=e.maxEntries&&(t.maxEntries=e.maxEntries>>>0),null!=e.historicalEntries&&(t.historicalEntries=e.historicalEntries>>>0),null!=e.bondDenom&&(t.bondDenom=String(e.bondDenom)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.unbondingTime=null,n.maxValidators=0,n.maxEntries=0,n.historicalEntries=0,n.bondDenom=""),null!=e.unbondingTime&&e.hasOwnProperty("unbondingTime")&&(n.unbondingTime=s.google.protobuf.Duration.toObject(e.unbondingTime,t)),null!=e.maxValidators&&e.hasOwnProperty("maxValidators")&&(n.maxValidators=e.maxValidators),null!=e.maxEntries&&e.hasOwnProperty("maxEntries")&&(n.maxEntries=e.maxEntries),null!=e.historicalEntries&&e.hasOwnProperty("historicalEntries")&&(n.historicalEntries=e.historicalEntries),null!=e.bondDenom&&e.hasOwnProperty("bondDenom")&&(n.bondDenom=e.bondDenom),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.DelegationResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.delegation=s.cosmos.staking.v1beta1.Delegation.decode(e,e.uint32());break;case 2:r.balance=s.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.DelegationResponse)return e;var t=new s.cosmos.staking.v1beta1.DelegationResponse;if(null!=e.delegation){if("object"!=typeof e.delegation)throw TypeError(".cosmos.staking.v1beta1.DelegationResponse.delegation: object expected");t.delegation=s.cosmos.staking.v1beta1.Delegation.fromObject(e.delegation)}if(null!=e.balance){if("object"!=typeof e.balance)throw TypeError(".cosmos.staking.v1beta1.DelegationResponse.balance: object expected");t.balance=s.cosmos.base.v1beta1.Coin.fromObject(e.balance)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.delegation=null,n.balance=null),null!=e.delegation&&e.hasOwnProperty("delegation")&&(n.delegation=s.cosmos.staking.v1beta1.Delegation.toObject(e.delegation,t)),null!=e.balance&&e.hasOwnProperty("balance")&&(n.balance=s.cosmos.base.v1beta1.Coin.toObject(e.balance,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.RedelegationEntryResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.redelegationEntry=s.cosmos.staking.v1beta1.RedelegationEntry.decode(e,e.uint32());break;case 4:r.balance=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.RedelegationEntryResponse)return e;var t=new s.cosmos.staking.v1beta1.RedelegationEntryResponse;if(null!=e.redelegationEntry){if("object"!=typeof e.redelegationEntry)throw TypeError(".cosmos.staking.v1beta1.RedelegationEntryResponse.redelegationEntry: object expected");t.redelegationEntry=s.cosmos.staking.v1beta1.RedelegationEntry.fromObject(e.redelegationEntry)}return null!=e.balance&&(t.balance=String(e.balance)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.redelegationEntry=null,n.balance=""),null!=e.redelegationEntry&&e.hasOwnProperty("redelegationEntry")&&(n.redelegationEntry=s.cosmos.staking.v1beta1.RedelegationEntry.toObject(e.redelegationEntry,t)),null!=e.balance&&e.hasOwnProperty("balance")&&(n.balance=e.balance),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.RedelegationResponse=function(){function e(e){if(this.entries=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.redelegation=s.cosmos.staking.v1beta1.Redelegation.decode(e,e.uint32());break;case 2:r.entries&&r.entries.length||(r.entries=[]),r.entries.push(s.cosmos.staking.v1beta1.RedelegationEntryResponse.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.RedelegationResponse)return e;var t=new s.cosmos.staking.v1beta1.RedelegationResponse;if(null!=e.redelegation){if("object"!=typeof e.redelegation)throw TypeError(".cosmos.staking.v1beta1.RedelegationResponse.redelegation: object expected");t.redelegation=s.cosmos.staking.v1beta1.Redelegation.fromObject(e.redelegation)}if(e.entries){if(!Array.isArray(e.entries))throw TypeError(".cosmos.staking.v1beta1.RedelegationResponse.entries: array expected");t.entries=[];for(var n=0;n>>3){case 1:r.notBondedTokens=e.string();break;case 2:r.bondedTokens=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.Pool)return e;var t=new s.cosmos.staking.v1beta1.Pool;return null!=e.notBondedTokens&&(t.notBondedTokens=String(e.notBondedTokens)),null!=e.bondedTokens&&(t.bondedTokens=String(e.bondedTokens)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.notBondedTokens="",n.bondedTokens=""),null!=e.notBondedTokens&&e.hasOwnProperty("notBondedTokens")&&(n.notBondedTokens=e.notBondedTokens),null!=e.bondedTokens&&e.hasOwnProperty("bondedTokens")&&(n.bondedTokens=e.bondedTokens),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Msg=function(){function e(e,t,n){r.rpc.Service.call(this,e,t,n)}return(e.prototype=Object.create(r.rpc.Service.prototype)).constructor=e,e.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(e.prototype.createValidator=function e(t,n){return this.rpcCall(e,s.cosmos.staking.v1beta1.MsgCreateValidator,s.cosmos.staking.v1beta1.MsgCreateValidatorResponse,t,n)},"name",{value:"CreateValidator"}),Object.defineProperty(e.prototype.editValidator=function e(t,n){return this.rpcCall(e,s.cosmos.staking.v1beta1.MsgEditValidator,s.cosmos.staking.v1beta1.MsgEditValidatorResponse,t,n)},"name",{value:"EditValidator"}),Object.defineProperty(e.prototype.delegate=function e(t,n){return this.rpcCall(e,s.cosmos.staking.v1beta1.MsgDelegate,s.cosmos.staking.v1beta1.MsgDelegateResponse,t,n)},"name",{value:"Delegate"}),Object.defineProperty(e.prototype.beginRedelegate=function e(t,n){return this.rpcCall(e,s.cosmos.staking.v1beta1.MsgBeginRedelegate,s.cosmos.staking.v1beta1.MsgBeginRedelegateResponse,t,n)},"name",{value:"BeginRedelegate"}),Object.defineProperty(e.prototype.undelegate=function e(t,n){return this.rpcCall(e,s.cosmos.staking.v1beta1.MsgUndelegate,s.cosmos.staking.v1beta1.MsgUndelegateResponse,t,n)},"name",{value:"Undelegate"}),e}(),e.MsgCreateValidator=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.description=s.cosmos.staking.v1beta1.Description.decode(e,e.uint32());break;case 2:r.commission=s.cosmos.staking.v1beta1.CommissionRates.decode(e,e.uint32());break;case 3:r.minSelfDelegation=e.string();break;case 4:r.delegatorAddress=e.string();break;case 5:r.validatorAddress=e.string();break;case 6:r.pubkey=s.google.protobuf.Any.decode(e,e.uint32());break;case 7:r.value=s.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.MsgCreateValidator)return e;var t=new s.cosmos.staking.v1beta1.MsgCreateValidator;if(null!=e.description){if("object"!=typeof e.description)throw TypeError(".cosmos.staking.v1beta1.MsgCreateValidator.description: object expected");t.description=s.cosmos.staking.v1beta1.Description.fromObject(e.description)}if(null!=e.commission){if("object"!=typeof e.commission)throw TypeError(".cosmos.staking.v1beta1.MsgCreateValidator.commission: object expected");t.commission=s.cosmos.staking.v1beta1.CommissionRates.fromObject(e.commission)}if(null!=e.minSelfDelegation&&(t.minSelfDelegation=String(e.minSelfDelegation)),null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.pubkey){if("object"!=typeof e.pubkey)throw TypeError(".cosmos.staking.v1beta1.MsgCreateValidator.pubkey: object expected");t.pubkey=s.google.protobuf.Any.fromObject(e.pubkey)}if(null!=e.value){if("object"!=typeof e.value)throw TypeError(".cosmos.staking.v1beta1.MsgCreateValidator.value: object expected");t.value=s.cosmos.base.v1beta1.Coin.fromObject(e.value)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.description=null,n.commission=null,n.minSelfDelegation="",n.delegatorAddress="",n.validatorAddress="",n.pubkey=null,n.value=null),null!=e.description&&e.hasOwnProperty("description")&&(n.description=s.cosmos.staking.v1beta1.Description.toObject(e.description,t)),null!=e.commission&&e.hasOwnProperty("commission")&&(n.commission=s.cosmos.staking.v1beta1.CommissionRates.toObject(e.commission,t)),null!=e.minSelfDelegation&&e.hasOwnProperty("minSelfDelegation")&&(n.minSelfDelegation=e.minSelfDelegation),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(n.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(n.validatorAddress=e.validatorAddress),null!=e.pubkey&&e.hasOwnProperty("pubkey")&&(n.pubkey=s.google.protobuf.Any.toObject(e.pubkey,t)),null!=e.value&&e.hasOwnProperty("value")&&(n.value=s.cosmos.base.v1beta1.Coin.toObject(e.value,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.MsgCreateValidatorResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.description=s.cosmos.staking.v1beta1.Description.decode(e,e.uint32());break;case 2:r.validatorAddress=e.string();break;case 3:r.commissionRate=e.string();break;case 4:r.minSelfDelegation=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.MsgEditValidator)return e;var t=new s.cosmos.staking.v1beta1.MsgEditValidator;if(null!=e.description){if("object"!=typeof e.description)throw TypeError(".cosmos.staking.v1beta1.MsgEditValidator.description: object expected");t.description=s.cosmos.staking.v1beta1.Description.fromObject(e.description)}return null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.commissionRate&&(t.commissionRate=String(e.commissionRate)),null!=e.minSelfDelegation&&(t.minSelfDelegation=String(e.minSelfDelegation)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.description=null,n.validatorAddress="",n.commissionRate="",n.minSelfDelegation=""),null!=e.description&&e.hasOwnProperty("description")&&(n.description=s.cosmos.staking.v1beta1.Description.toObject(e.description,t)),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(n.validatorAddress=e.validatorAddress),null!=e.commissionRate&&e.hasOwnProperty("commissionRate")&&(n.commissionRate=e.commissionRate),null!=e.minSelfDelegation&&e.hasOwnProperty("minSelfDelegation")&&(n.minSelfDelegation=e.minSelfDelegation),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.MsgEditValidatorResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.delegatorAddress=e.string();break;case 2:r.validatorAddress=e.string();break;case 3:r.amount=s.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.MsgDelegate)return e;var t=new s.cosmos.staking.v1beta1.MsgDelegate;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.amount){if("object"!=typeof e.amount)throw TypeError(".cosmos.staking.v1beta1.MsgDelegate.amount: object expected");t.amount=s.cosmos.base.v1beta1.Coin.fromObject(e.amount)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.delegatorAddress="",n.validatorAddress="",n.amount=null),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(n.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(n.validatorAddress=e.validatorAddress),null!=e.amount&&e.hasOwnProperty("amount")&&(n.amount=s.cosmos.base.v1beta1.Coin.toObject(e.amount,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.MsgDelegateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.delegatorAddress=e.string();break;case 2:r.validatorSrcAddress=e.string();break;case 3:r.validatorDstAddress=e.string();break;case 4:r.amount=s.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.MsgBeginRedelegate)return e;var t=new s.cosmos.staking.v1beta1.MsgBeginRedelegate;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorSrcAddress&&(t.validatorSrcAddress=String(e.validatorSrcAddress)),null!=e.validatorDstAddress&&(t.validatorDstAddress=String(e.validatorDstAddress)),null!=e.amount){if("object"!=typeof e.amount)throw TypeError(".cosmos.staking.v1beta1.MsgBeginRedelegate.amount: object expected");t.amount=s.cosmos.base.v1beta1.Coin.fromObject(e.amount)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.delegatorAddress="",n.validatorSrcAddress="",n.validatorDstAddress="",n.amount=null),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(n.delegatorAddress=e.delegatorAddress),null!=e.validatorSrcAddress&&e.hasOwnProperty("validatorSrcAddress")&&(n.validatorSrcAddress=e.validatorSrcAddress),null!=e.validatorDstAddress&&e.hasOwnProperty("validatorDstAddress")&&(n.validatorDstAddress=e.validatorDstAddress),null!=e.amount&&e.hasOwnProperty("amount")&&(n.amount=s.cosmos.base.v1beta1.Coin.toObject(e.amount,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.MsgBeginRedelegateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.completionTime=s.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.MsgBeginRedelegateResponse)return e;var t=new s.cosmos.staking.v1beta1.MsgBeginRedelegateResponse;if(null!=e.completionTime){if("object"!=typeof e.completionTime)throw TypeError(".cosmos.staking.v1beta1.MsgBeginRedelegateResponse.completionTime: object expected");t.completionTime=s.google.protobuf.Timestamp.fromObject(e.completionTime)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.completionTime=null),null!=e.completionTime&&e.hasOwnProperty("completionTime")&&(n.completionTime=s.google.protobuf.Timestamp.toObject(e.completionTime,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.MsgUndelegate=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.delegatorAddress=e.string();break;case 2:r.validatorAddress=e.string();break;case 3:r.amount=s.cosmos.base.v1beta1.Coin.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.MsgUndelegate)return e;var t=new s.cosmos.staking.v1beta1.MsgUndelegate;if(null!=e.delegatorAddress&&(t.delegatorAddress=String(e.delegatorAddress)),null!=e.validatorAddress&&(t.validatorAddress=String(e.validatorAddress)),null!=e.amount){if("object"!=typeof e.amount)throw TypeError(".cosmos.staking.v1beta1.MsgUndelegate.amount: object expected");t.amount=s.cosmos.base.v1beta1.Coin.fromObject(e.amount)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.delegatorAddress="",n.validatorAddress="",n.amount=null),null!=e.delegatorAddress&&e.hasOwnProperty("delegatorAddress")&&(n.delegatorAddress=e.delegatorAddress),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(n.validatorAddress=e.validatorAddress),null!=e.amount&&e.hasOwnProperty("amount")&&(n.amount=s.cosmos.base.v1beta1.Coin.toObject(e.amount,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.MsgUndelegateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.completionTime=s.google.protobuf.Timestamp.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.staking.v1beta1.MsgUndelegateResponse)return e;var t=new s.cosmos.staking.v1beta1.MsgUndelegateResponse;if(null!=e.completionTime){if("object"!=typeof e.completionTime)throw TypeError(".cosmos.staking.v1beta1.MsgUndelegateResponse.completionTime: object expected");t.completionTime=s.google.protobuf.Timestamp.fromObject(e.completionTime)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.completionTime=null),null!=e.completionTime&&e.hasOwnProperty("completionTime")&&(n.completionTime=s.google.protobuf.Timestamp.toObject(e.completionTime,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e}(),e}(),e.tx=function(){const e={};return e.signing=function(){const e={};return e.v1beta1=function(){const e={};return e.SignMode=function(){const e={},t=Object.create(e);return t[e[0]="SIGN_MODE_UNSPECIFIED"]=0,t[e[1]="SIGN_MODE_DIRECT"]=1,t[e[2]="SIGN_MODE_TEXTUAL"]=2,t[e[127]="SIGN_MODE_LEGACY_AMINO_JSON"]=127,t}(),e.SignatureDescriptors=function(){function e(e){if(this.signatures=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.signatures&&r.signatures.length||(r.signatures=[]),r.signatures.push(s.cosmos.tx.signing.v1beta1.SignatureDescriptor.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.tx.signing.v1beta1.SignatureDescriptors)return e;var t=new s.cosmos.tx.signing.v1beta1.SignatureDescriptors;if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptors.signatures: array expected");t.signatures=[];for(var n=0;n>>3){case 1:r.publicKey=s.google.protobuf.Any.decode(e,e.uint32());break;case 2:r.data=s.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.decode(e,e.uint32());break;case 3:r.sequence=e.uint64();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.tx.signing.v1beta1.SignatureDescriptor)return e;var t=new s.cosmos.tx.signing.v1beta1.SignatureDescriptor;if(null!=e.publicKey){if("object"!=typeof e.publicKey)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.publicKey: object expected");t.publicKey=s.google.protobuf.Any.fromObject(e.publicKey)}if(null!=e.data){if("object"!=typeof e.data)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.data: object expected");t.data=s.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.fromObject(e.data)}return null!=e.sequence&&(a.Long?(t.sequence=a.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new a.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(n.publicKey=null,n.data=null,a.Long){var r=new a.Long(0,0,!0);n.sequence=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.sequence=t.longs===String?"0":0;return null!=e.publicKey&&e.hasOwnProperty("publicKey")&&(n.publicKey=s.google.protobuf.Any.toObject(e.publicKey,t)),null!=e.data&&e.hasOwnProperty("data")&&(n.data=s.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.toObject(e.data,t)),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?n.sequence=t.longs===String?String(e.sequence):e.sequence:n.sequence=t.longs===String?a.Long.prototype.toString.call(e.sequence):t.longs===Number?new a.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.Data=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.single=s.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single.decode(e,e.uint32());break;case 2:r.multi=s.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data)return e;var t=new s.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data;if(null!=e.single){if("object"!=typeof e.single)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.single: object expected");t.single=s.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single.fromObject(e.single)}if(null!=e.multi){if("object"!=typeof e.multi)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.multi: object expected");t.multi=s.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.fromObject(e.multi)}return t},e.toObject=function(e,t){t||(t={});var n={};return null!=e.single&&e.hasOwnProperty("single")&&(n.single=s.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single.toObject(e.single,t),t.oneofs&&(n.sum="single")),null!=e.multi&&e.hasOwnProperty("multi")&&(n.multi=s.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.toObject(e.multi,t),t.oneofs&&(n.sum="multi")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.Single=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.mode=e.int32();break;case 2:r.signature=e.bytes();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single)return e;var t=new s.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Single;switch(e.mode){case"SIGN_MODE_UNSPECIFIED":case 0:t.mode=0;break;case"SIGN_MODE_DIRECT":case 1:t.mode=1;break;case"SIGN_MODE_TEXTUAL":case 2:t.mode=2;break;case"SIGN_MODE_LEGACY_AMINO_JSON":case 127:t.mode=127}return null!=e.signature&&("string"==typeof e.signature?a.base64.decode(e.signature,t.signature=a.newBuffer(a.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.mode=t.enums===String?"SIGN_MODE_UNSPECIFIED":0,t.bytes===String?n.signature="":(n.signature=[],t.bytes!==Array&&(n.signature=a.newBuffer(n.signature)))),null!=e.mode&&e.hasOwnProperty("mode")&&(n.mode=t.enums===String?s.cosmos.tx.signing.v1beta1.SignMode[e.mode]:e.mode),null!=e.signature&&e.hasOwnProperty("signature")&&(n.signature=t.bytes===String?a.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Multi=function(){function e(e){if(this.signatures=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.bitarray=s.cosmos.crypto.multisig.v1beta1.CompactBitArray.decode(e,e.uint32());break;case 2:r.signatures&&r.signatures.length||(r.signatures=[]),r.signatures.push(s.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi)return e;var t=new s.cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi;if(null!=e.bitarray){if("object"!=typeof e.bitarray)throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.bitarray: object expected");t.bitarray=s.cosmos.crypto.multisig.v1beta1.CompactBitArray.fromObject(e.bitarray)}if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.tx.signing.v1beta1.SignatureDescriptor.Data.Multi.signatures: array expected");t.signatures=[];for(var n=0;n>>3){case 1:r.body=s.cosmos.tx.v1beta1.TxBody.decode(e,e.uint32());break;case 2:r.authInfo=s.cosmos.tx.v1beta1.AuthInfo.decode(e,e.uint32());break;case 3:r.signatures&&r.signatures.length||(r.signatures=[]),r.signatures.push(e.bytes());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.tx.v1beta1.Tx)return e;var t=new s.cosmos.tx.v1beta1.Tx;if(null!=e.body){if("object"!=typeof e.body)throw TypeError(".cosmos.tx.v1beta1.Tx.body: object expected");t.body=s.cosmos.tx.v1beta1.TxBody.fromObject(e.body)}if(null!=e.authInfo){if("object"!=typeof e.authInfo)throw TypeError(".cosmos.tx.v1beta1.Tx.authInfo: object expected");t.authInfo=s.cosmos.tx.v1beta1.AuthInfo.fromObject(e.authInfo)}if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.tx.v1beta1.Tx.signatures: array expected");t.signatures=[];for(var n=0;n>>3){case 1:r.bodyBytes=e.bytes();break;case 2:r.authInfoBytes=e.bytes();break;case 3:r.signatures&&r.signatures.length||(r.signatures=[]),r.signatures.push(e.bytes());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.tx.v1beta1.TxRaw)return e;var t=new s.cosmos.tx.v1beta1.TxRaw;if(null!=e.bodyBytes&&("string"==typeof e.bodyBytes?a.base64.decode(e.bodyBytes,t.bodyBytes=a.newBuffer(a.base64.length(e.bodyBytes)),0):e.bodyBytes.length&&(t.bodyBytes=e.bodyBytes)),null!=e.authInfoBytes&&("string"==typeof e.authInfoBytes?a.base64.decode(e.authInfoBytes,t.authInfoBytes=a.newBuffer(a.base64.length(e.authInfoBytes)),0):e.authInfoBytes.length&&(t.authInfoBytes=e.authInfoBytes)),e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".cosmos.tx.v1beta1.TxRaw.signatures: array expected");t.signatures=[];for(var n=0;n>>3){case 1:r.bodyBytes=e.bytes();break;case 2:r.authInfoBytes=e.bytes();break;case 3:r.chainId=e.string();break;case 4:r.accountNumber=e.uint64();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.tx.v1beta1.SignDoc)return e;var t=new s.cosmos.tx.v1beta1.SignDoc;return null!=e.bodyBytes&&("string"==typeof e.bodyBytes?a.base64.decode(e.bodyBytes,t.bodyBytes=a.newBuffer(a.base64.length(e.bodyBytes)),0):e.bodyBytes.length&&(t.bodyBytes=e.bodyBytes)),null!=e.authInfoBytes&&("string"==typeof e.authInfoBytes?a.base64.decode(e.authInfoBytes,t.authInfoBytes=a.newBuffer(a.base64.length(e.authInfoBytes)),0):e.authInfoBytes.length&&(t.authInfoBytes=e.authInfoBytes)),null!=e.chainId&&(t.chainId=String(e.chainId)),null!=e.accountNumber&&(a.Long?(t.accountNumber=a.Long.fromValue(e.accountNumber)).unsigned=!0:"string"==typeof e.accountNumber?t.accountNumber=parseInt(e.accountNumber,10):"number"==typeof e.accountNumber?t.accountNumber=e.accountNumber:"object"==typeof e.accountNumber&&(t.accountNumber=new a.LongBits(e.accountNumber.low>>>0,e.accountNumber.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(t.bytes===String?n.bodyBytes="":(n.bodyBytes=[],t.bytes!==Array&&(n.bodyBytes=a.newBuffer(n.bodyBytes))),t.bytes===String?n.authInfoBytes="":(n.authInfoBytes=[],t.bytes!==Array&&(n.authInfoBytes=a.newBuffer(n.authInfoBytes))),n.chainId="",a.Long){var r=new a.Long(0,0,!0);n.accountNumber=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.accountNumber=t.longs===String?"0":0;return null!=e.bodyBytes&&e.hasOwnProperty("bodyBytes")&&(n.bodyBytes=t.bytes===String?a.base64.encode(e.bodyBytes,0,e.bodyBytes.length):t.bytes===Array?Array.prototype.slice.call(e.bodyBytes):e.bodyBytes),null!=e.authInfoBytes&&e.hasOwnProperty("authInfoBytes")&&(n.authInfoBytes=t.bytes===String?a.base64.encode(e.authInfoBytes,0,e.authInfoBytes.length):t.bytes===Array?Array.prototype.slice.call(e.authInfoBytes):e.authInfoBytes),null!=e.chainId&&e.hasOwnProperty("chainId")&&(n.chainId=e.chainId),null!=e.accountNumber&&e.hasOwnProperty("accountNumber")&&("number"==typeof e.accountNumber?n.accountNumber=t.longs===String?String(e.accountNumber):e.accountNumber:n.accountNumber=t.longs===String?a.Long.prototype.toString.call(e.accountNumber):t.longs===Number?new a.LongBits(e.accountNumber.low>>>0,e.accountNumber.high>>>0).toNumber(!0):e.accountNumber),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.TxBody=function(){function e(e){if(this.messages=[],this.extensionOptions=[],this.nonCriticalExtensionOptions=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.messages&&r.messages.length||(r.messages=[]),r.messages.push(s.google.protobuf.Any.decode(e,e.uint32()));break;case 2:r.memo=e.string();break;case 3:r.timeoutHeight=e.uint64();break;case 1023:r.extensionOptions&&r.extensionOptions.length||(r.extensionOptions=[]),r.extensionOptions.push(s.google.protobuf.Any.decode(e,e.uint32()));break;case 2047:r.nonCriticalExtensionOptions&&r.nonCriticalExtensionOptions.length||(r.nonCriticalExtensionOptions=[]),r.nonCriticalExtensionOptions.push(s.google.protobuf.Any.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.tx.v1beta1.TxBody)return e;var t=new s.cosmos.tx.v1beta1.TxBody;if(e.messages){if(!Array.isArray(e.messages))throw TypeError(".cosmos.tx.v1beta1.TxBody.messages: array expected");t.messages=[];for(var n=0;n>>0,e.timeoutHeight.high>>>0).toNumber(!0))),e.extensionOptions){if(!Array.isArray(e.extensionOptions))throw TypeError(".cosmos.tx.v1beta1.TxBody.extensionOptions: array expected");t.extensionOptions=[];for(n=0;n>>0,e.timeoutHeight.high>>>0).toNumber(!0):e.timeoutHeight),e.extensionOptions&&e.extensionOptions.length){n.extensionOptions=[];for(i=0;i>>3){case 1:r.signerInfos&&r.signerInfos.length||(r.signerInfos=[]),r.signerInfos.push(s.cosmos.tx.v1beta1.SignerInfo.decode(e,e.uint32()));break;case 2:r.fee=s.cosmos.tx.v1beta1.Fee.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.tx.v1beta1.AuthInfo)return e;var t=new s.cosmos.tx.v1beta1.AuthInfo;if(e.signerInfos){if(!Array.isArray(e.signerInfos))throw TypeError(".cosmos.tx.v1beta1.AuthInfo.signerInfos: array expected");t.signerInfos=[];for(var n=0;n>>3){case 1:r.publicKey=s.google.protobuf.Any.decode(e,e.uint32());break;case 2:r.modeInfo=s.cosmos.tx.v1beta1.ModeInfo.decode(e,e.uint32());break;case 3:r.sequence=e.uint64();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.tx.v1beta1.SignerInfo)return e;var t=new s.cosmos.tx.v1beta1.SignerInfo;if(null!=e.publicKey){if("object"!=typeof e.publicKey)throw TypeError(".cosmos.tx.v1beta1.SignerInfo.publicKey: object expected");t.publicKey=s.google.protobuf.Any.fromObject(e.publicKey)}if(null!=e.modeInfo){if("object"!=typeof e.modeInfo)throw TypeError(".cosmos.tx.v1beta1.SignerInfo.modeInfo: object expected");t.modeInfo=s.cosmos.tx.v1beta1.ModeInfo.fromObject(e.modeInfo)}return null!=e.sequence&&(a.Long?(t.sequence=a.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new a.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(n.publicKey=null,n.modeInfo=null,a.Long){var r=new a.Long(0,0,!0);n.sequence=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.sequence=t.longs===String?"0":0;return null!=e.publicKey&&e.hasOwnProperty("publicKey")&&(n.publicKey=s.google.protobuf.Any.toObject(e.publicKey,t)),null!=e.modeInfo&&e.hasOwnProperty("modeInfo")&&(n.modeInfo=s.cosmos.tx.v1beta1.ModeInfo.toObject(e.modeInfo,t)),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?n.sequence=t.longs===String?String(e.sequence):e.sequence:n.sequence=t.longs===String?a.Long.prototype.toString.call(e.sequence):t.longs===Number?new a.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.ModeInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.single=s.cosmos.tx.v1beta1.ModeInfo.Single.decode(e,e.uint32());break;case 2:r.multi=s.cosmos.tx.v1beta1.ModeInfo.Multi.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.tx.v1beta1.ModeInfo)return e;var t=new s.cosmos.tx.v1beta1.ModeInfo;if(null!=e.single){if("object"!=typeof e.single)throw TypeError(".cosmos.tx.v1beta1.ModeInfo.single: object expected");t.single=s.cosmos.tx.v1beta1.ModeInfo.Single.fromObject(e.single)}if(null!=e.multi){if("object"!=typeof e.multi)throw TypeError(".cosmos.tx.v1beta1.ModeInfo.multi: object expected");t.multi=s.cosmos.tx.v1beta1.ModeInfo.Multi.fromObject(e.multi)}return t},e.toObject=function(e,t){t||(t={});var n={};return null!=e.single&&e.hasOwnProperty("single")&&(n.single=s.cosmos.tx.v1beta1.ModeInfo.Single.toObject(e.single,t),t.oneofs&&(n.sum="single")),null!=e.multi&&e.hasOwnProperty("multi")&&(n.multi=s.cosmos.tx.v1beta1.ModeInfo.Multi.toObject(e.multi,t),t.oneofs&&(n.sum="multi")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.Single=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.mode=e.int32();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.tx.v1beta1.ModeInfo.Single)return e;var t=new s.cosmos.tx.v1beta1.ModeInfo.Single;switch(e.mode){case"SIGN_MODE_UNSPECIFIED":case 0:t.mode=0;break;case"SIGN_MODE_DIRECT":case 1:t.mode=1;break;case"SIGN_MODE_TEXTUAL":case 2:t.mode=2;break;case"SIGN_MODE_LEGACY_AMINO_JSON":case 127:t.mode=127}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.mode=t.enums===String?"SIGN_MODE_UNSPECIFIED":0),null!=e.mode&&e.hasOwnProperty("mode")&&(n.mode=t.enums===String?s.cosmos.tx.signing.v1beta1.SignMode[e.mode]:e.mode),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Multi=function(){function e(e){if(this.modeInfos=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.bitarray=s.cosmos.crypto.multisig.v1beta1.CompactBitArray.decode(e,e.uint32());break;case 2:r.modeInfos&&r.modeInfos.length||(r.modeInfos=[]),r.modeInfos.push(s.cosmos.tx.v1beta1.ModeInfo.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.tx.v1beta1.ModeInfo.Multi)return e;var t=new s.cosmos.tx.v1beta1.ModeInfo.Multi;if(null!=e.bitarray){if("object"!=typeof e.bitarray)throw TypeError(".cosmos.tx.v1beta1.ModeInfo.Multi.bitarray: object expected");t.bitarray=s.cosmos.crypto.multisig.v1beta1.CompactBitArray.fromObject(e.bitarray)}if(e.modeInfos){if(!Array.isArray(e.modeInfos))throw TypeError(".cosmos.tx.v1beta1.ModeInfo.Multi.modeInfos: array expected");t.modeInfos=[];for(var n=0;n>>3){case 1:r.amount&&r.amount.length||(r.amount=[]),r.amount.push(s.cosmos.base.v1beta1.Coin.decode(e,e.uint32()));break;case 2:r.gasLimit=e.uint64();break;case 3:r.payer=e.string();break;case 4:r.granter=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.cosmos.tx.v1beta1.Fee)return e;var t=new s.cosmos.tx.v1beta1.Fee;if(e.amount){if(!Array.isArray(e.amount))throw TypeError(".cosmos.tx.v1beta1.Fee.amount: array expected");t.amount=[];for(var n=0;n>>0,e.gasLimit.high>>>0).toNumber(!0))),null!=e.payer&&(t.payer=String(e.payer)),null!=e.granter&&(t.granter=String(e.granter)),t},e.toObject=function(e,t){t||(t={});var n={};if((t.arrays||t.defaults)&&(n.amount=[]),t.defaults){if(a.Long){var r=new a.Long(0,0,!0);n.gasLimit=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.gasLimit=t.longs===String?"0":0;n.payer="",n.granter=""}if(e.amount&&e.amount.length){n.amount=[];for(var i=0;i>>0,e.gasLimit.high>>>0).toNumber(!0):e.gasLimit),null!=e.payer&&e.hasOwnProperty("payer")&&(n.payer=e.payer),null!=e.granter&&e.hasOwnProperty("granter")&&(n.granter=e.granter),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e}(),e}(),e})(),t.google=s.google=(()=>{const e={};return e.protobuf=function(){const e={};return e.Any=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.type_url=e.string();break;case 2:r.value=e.bytes();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.Any)return e;var t=new s.google.protobuf.Any;return null!=e.type_url&&(t.type_url=String(e.type_url)),null!=e.value&&("string"==typeof e.value?a.base64.decode(e.value,t.value=a.newBuffer(a.base64.length(e.value)),0):e.value.length&&(t.value=e.value)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type_url="",t.bytes===String?n.value="":(n.value=[],t.bytes!==Array&&(n.value=a.newBuffer(n.value)))),null!=e.type_url&&e.hasOwnProperty("type_url")&&(n.type_url=e.type_url),null!=e.value&&e.hasOwnProperty("value")&&(n.value=t.bytes===String?a.base64.encode(e.value,0,e.value.length):t.bytes===Array?Array.prototype.slice.call(e.value):e.value),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.FileDescriptorSet=function(){function e(e){if(this.file=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.file&&r.file.length||(r.file=[]),r.file.push(s.google.protobuf.FileDescriptorProto.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.FileDescriptorSet)return e;var t=new s.google.protobuf.FileDescriptorSet;if(e.file){if(!Array.isArray(e.file))throw TypeError(".google.protobuf.FileDescriptorSet.file: array expected");t.file=[];for(var n=0;n>>3){case 1:r.name=e.string();break;case 2:r.package=e.string();break;case 3:r.dependency&&r.dependency.length||(r.dependency=[]),r.dependency.push(e.string());break;case 10:if(r.publicDependency&&r.publicDependency.length||(r.publicDependency=[]),2==(7&o))for(var a=e.uint32()+e.pos;e.pos>>3){case 1:r.name=e.string();break;case 2:r.field&&r.field.length||(r.field=[]),r.field.push(s.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 6:r.extension&&r.extension.length||(r.extension=[]),r.extension.push(s.google.protobuf.FieldDescriptorProto.decode(e,e.uint32()));break;case 3:r.nestedType&&r.nestedType.length||(r.nestedType=[]),r.nestedType.push(s.google.protobuf.DescriptorProto.decode(e,e.uint32()));break;case 4:r.enumType&&r.enumType.length||(r.enumType=[]),r.enumType.push(s.google.protobuf.EnumDescriptorProto.decode(e,e.uint32()));break;case 5:r.extensionRange&&r.extensionRange.length||(r.extensionRange=[]),r.extensionRange.push(s.google.protobuf.DescriptorProto.ExtensionRange.decode(e,e.uint32()));break;case 8:r.oneofDecl&&r.oneofDecl.length||(r.oneofDecl=[]),r.oneofDecl.push(s.google.protobuf.OneofDescriptorProto.decode(e,e.uint32()));break;case 7:r.options=s.google.protobuf.MessageOptions.decode(e,e.uint32());break;case 9:r.reservedRange&&r.reservedRange.length||(r.reservedRange=[]),r.reservedRange.push(s.google.protobuf.DescriptorProto.ReservedRange.decode(e,e.uint32()));break;case 10:r.reservedName&&r.reservedName.length||(r.reservedName=[]),r.reservedName.push(e.string());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.DescriptorProto)return e;var t=new s.google.protobuf.DescriptorProto;if(null!=e.name&&(t.name=String(e.name)),e.field){if(!Array.isArray(e.field))throw TypeError(".google.protobuf.DescriptorProto.field: array expected");t.field=[];for(var n=0;n>>3){case 1:r.start=e.int32();break;case 2:r.end=e.int32();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.DescriptorProto.ExtensionRange)return e;var t=new s.google.protobuf.DescriptorProto.ExtensionRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.ReservedRange=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.start=e.int32();break;case 2:r.end=e.int32();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.DescriptorProto.ReservedRange)return e;var t=new s.google.protobuf.DescriptorProto.ReservedRange;return null!=e.start&&(t.start=0|e.start),null!=e.end&&(t.end=0|e.end),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.start=0,n.end=0),null!=e.start&&e.hasOwnProperty("start")&&(n.start=e.start),null!=e.end&&e.hasOwnProperty("end")&&(n.end=e.end),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e}(),e.FieldDescriptorProto=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.name=e.string();break;case 3:r.number=e.int32();break;case 4:r.label=e.int32();break;case 5:r.type=e.int32();break;case 6:r.typeName=e.string();break;case 2:r.extendee=e.string();break;case 7:r.defaultValue=e.string();break;case 9:r.oneofIndex=e.int32();break;case 10:r.jsonName=e.string();break;case 8:r.options=s.google.protobuf.FieldOptions.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.FieldDescriptorProto)return e;var t=new s.google.protobuf.FieldDescriptorProto;switch(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),e.label){case"LABEL_OPTIONAL":case 1:t.label=1;break;case"LABEL_REQUIRED":case 2:t.label=2;break;case"LABEL_REPEATED":case 3:t.label=3}switch(e.type){case"TYPE_DOUBLE":case 1:t.type=1;break;case"TYPE_FLOAT":case 2:t.type=2;break;case"TYPE_INT64":case 3:t.type=3;break;case"TYPE_UINT64":case 4:t.type=4;break;case"TYPE_INT32":case 5:t.type=5;break;case"TYPE_FIXED64":case 6:t.type=6;break;case"TYPE_FIXED32":case 7:t.type=7;break;case"TYPE_BOOL":case 8:t.type=8;break;case"TYPE_STRING":case 9:t.type=9;break;case"TYPE_GROUP":case 10:t.type=10;break;case"TYPE_MESSAGE":case 11:t.type=11;break;case"TYPE_BYTES":case 12:t.type=12;break;case"TYPE_UINT32":case 13:t.type=13;break;case"TYPE_ENUM":case 14:t.type=14;break;case"TYPE_SFIXED32":case 15:t.type=15;break;case"TYPE_SFIXED64":case 16:t.type=16;break;case"TYPE_SINT32":case 17:t.type=17;break;case"TYPE_SINT64":case 18:t.type=18}if(null!=e.typeName&&(t.typeName=String(e.typeName)),null!=e.extendee&&(t.extendee=String(e.extendee)),null!=e.defaultValue&&(t.defaultValue=String(e.defaultValue)),null!=e.oneofIndex&&(t.oneofIndex=0|e.oneofIndex),null!=e.jsonName&&(t.jsonName=String(e.jsonName)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected");t.options=s.google.protobuf.FieldOptions.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.extendee="",n.number=0,n.label=t.enums===String?"LABEL_OPTIONAL":1,n.type=t.enums===String?"TYPE_DOUBLE":1,n.typeName="",n.defaultValue="",n.options=null,n.oneofIndex=0,n.jsonName=""),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.extendee&&e.hasOwnProperty("extendee")&&(n.extendee=e.extendee),null!=e.number&&e.hasOwnProperty("number")&&(n.number=e.number),null!=e.label&&e.hasOwnProperty("label")&&(n.label=t.enums===String?s.google.protobuf.FieldDescriptorProto.Label[e.label]:e.label),null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?s.google.protobuf.FieldDescriptorProto.Type[e.type]:e.type),null!=e.typeName&&e.hasOwnProperty("typeName")&&(n.typeName=e.typeName),null!=e.defaultValue&&e.hasOwnProperty("defaultValue")&&(n.defaultValue=e.defaultValue),null!=e.options&&e.hasOwnProperty("options")&&(n.options=s.google.protobuf.FieldOptions.toObject(e.options,t)),null!=e.oneofIndex&&e.hasOwnProperty("oneofIndex")&&(n.oneofIndex=e.oneofIndex),null!=e.jsonName&&e.hasOwnProperty("jsonName")&&(n.jsonName=e.jsonName),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.Type=function(){const e={},t=Object.create(e);return t[e[1]="TYPE_DOUBLE"]=1,t[e[2]="TYPE_FLOAT"]=2,t[e[3]="TYPE_INT64"]=3,t[e[4]="TYPE_UINT64"]=4,t[e[5]="TYPE_INT32"]=5,t[e[6]="TYPE_FIXED64"]=6,t[e[7]="TYPE_FIXED32"]=7,t[e[8]="TYPE_BOOL"]=8,t[e[9]="TYPE_STRING"]=9,t[e[10]="TYPE_GROUP"]=10,t[e[11]="TYPE_MESSAGE"]=11,t[e[12]="TYPE_BYTES"]=12,t[e[13]="TYPE_UINT32"]=13,t[e[14]="TYPE_ENUM"]=14,t[e[15]="TYPE_SFIXED32"]=15,t[e[16]="TYPE_SFIXED64"]=16,t[e[17]="TYPE_SINT32"]=17,t[e[18]="TYPE_SINT64"]=18,t}(),e.Label=function(){const e={},t=Object.create(e);return t[e[1]="LABEL_OPTIONAL"]=1,t[e[2]="LABEL_REQUIRED"]=2,t[e[3]="LABEL_REPEATED"]=3,t}(),e}(),e.OneofDescriptorProto=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.name=e.string();break;case 2:r.options=s.google.protobuf.OneofOptions.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.OneofDescriptorProto)return e;var t=new s.google.protobuf.OneofDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.OneofDescriptorProto.options: object expected");t.options=s.google.protobuf.OneofOptions.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.options=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.options&&e.hasOwnProperty("options")&&(n.options=s.google.protobuf.OneofOptions.toObject(e.options,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.EnumDescriptorProto=function(){function e(e){if(this.value=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.name=e.string();break;case 2:r.value&&r.value.length||(r.value=[]),r.value.push(s.google.protobuf.EnumValueDescriptorProto.decode(e,e.uint32()));break;case 3:r.options=s.google.protobuf.EnumOptions.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.EnumDescriptorProto)return e;var t=new s.google.protobuf.EnumDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),e.value){if(!Array.isArray(e.value))throw TypeError(".google.protobuf.EnumDescriptorProto.value: array expected");t.value=[];for(var n=0;n>>3){case 1:r.name=e.string();break;case 2:r.number=e.int32();break;case 3:r.options=s.google.protobuf.EnumValueOptions.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.EnumValueDescriptorProto)return e;var t=new s.google.protobuf.EnumValueDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.number&&(t.number=0|e.number),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.EnumValueDescriptorProto.options: object expected");t.options=s.google.protobuf.EnumValueOptions.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.number=0,n.options=null),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.number&&e.hasOwnProperty("number")&&(n.number=e.number),null!=e.options&&e.hasOwnProperty("options")&&(n.options=s.google.protobuf.EnumValueOptions.toObject(e.options,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.ServiceDescriptorProto=function(){function e(e){if(this.method=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.name=e.string();break;case 2:r.method&&r.method.length||(r.method=[]),r.method.push(s.google.protobuf.MethodDescriptorProto.decode(e,e.uint32()));break;case 3:r.options=s.google.protobuf.ServiceOptions.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.ServiceDescriptorProto)return e;var t=new s.google.protobuf.ServiceDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),e.method){if(!Array.isArray(e.method))throw TypeError(".google.protobuf.ServiceDescriptorProto.method: array expected");t.method=[];for(var n=0;n>>3){case 1:r.name=e.string();break;case 2:r.inputType=e.string();break;case 3:r.outputType=e.string();break;case 4:r.options=s.google.protobuf.MethodOptions.decode(e,e.uint32());break;case 5:r.clientStreaming=e.bool();break;case 6:r.serverStreaming=e.bool();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.MethodDescriptorProto)return e;var t=new s.google.protobuf.MethodDescriptorProto;if(null!=e.name&&(t.name=String(e.name)),null!=e.inputType&&(t.inputType=String(e.inputType)),null!=e.outputType&&(t.outputType=String(e.outputType)),null!=e.options){if("object"!=typeof e.options)throw TypeError(".google.protobuf.MethodDescriptorProto.options: object expected");t.options=s.google.protobuf.MethodOptions.fromObject(e.options)}return null!=e.clientStreaming&&(t.clientStreaming=Boolean(e.clientStreaming)),null!=e.serverStreaming&&(t.serverStreaming=Boolean(e.serverStreaming)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.name="",n.inputType="",n.outputType="",n.options=null,n.clientStreaming=!1,n.serverStreaming=!1),null!=e.name&&e.hasOwnProperty("name")&&(n.name=e.name),null!=e.inputType&&e.hasOwnProperty("inputType")&&(n.inputType=e.inputType),null!=e.outputType&&e.hasOwnProperty("outputType")&&(n.outputType=e.outputType),null!=e.options&&e.hasOwnProperty("options")&&(n.options=s.google.protobuf.MethodOptions.toObject(e.options,t)),null!=e.clientStreaming&&e.hasOwnProperty("clientStreaming")&&(n.clientStreaming=e.clientStreaming),null!=e.serverStreaming&&e.hasOwnProperty("serverStreaming")&&(n.serverStreaming=e.serverStreaming),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.FileOptions=function(){function e(e){if(this.uninterpretedOption=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.javaPackage=e.string();break;case 8:r.javaOuterClassname=e.string();break;case 10:r.javaMultipleFiles=e.bool();break;case 20:r.javaGenerateEqualsAndHash=e.bool();break;case 27:r.javaStringCheckUtf8=e.bool();break;case 9:r.optimizeFor=e.int32();break;case 11:r.goPackage=e.string();break;case 16:r.ccGenericServices=e.bool();break;case 17:r.javaGenericServices=e.bool();break;case 18:r.pyGenericServices=e.bool();break;case 23:r.deprecated=e.bool();break;case 31:r.ccEnableArenas=e.bool();break;case 36:r.objcClassPrefix=e.string();break;case 37:r.csharpNamespace=e.string();break;case 999:r.uninterpretedOption&&r.uninterpretedOption.length||(r.uninterpretedOption=[]),r.uninterpretedOption.push(s.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.FileOptions)return e;var t=new s.google.protobuf.FileOptions;switch(null!=e.javaPackage&&(t.javaPackage=String(e.javaPackage)),null!=e.javaOuterClassname&&(t.javaOuterClassname=String(e.javaOuterClassname)),null!=e.javaMultipleFiles&&(t.javaMultipleFiles=Boolean(e.javaMultipleFiles)),null!=e.javaGenerateEqualsAndHash&&(t.javaGenerateEqualsAndHash=Boolean(e.javaGenerateEqualsAndHash)),null!=e.javaStringCheckUtf8&&(t.javaStringCheckUtf8=Boolean(e.javaStringCheckUtf8)),e.optimizeFor){case"SPEED":case 1:t.optimizeFor=1;break;case"CODE_SIZE":case 2:t.optimizeFor=2;break;case"LITE_RUNTIME":case 3:t.optimizeFor=3}if(null!=e.goPackage&&(t.goPackage=String(e.goPackage)),null!=e.ccGenericServices&&(t.ccGenericServices=Boolean(e.ccGenericServices)),null!=e.javaGenericServices&&(t.javaGenericServices=Boolean(e.javaGenericServices)),null!=e.pyGenericServices&&(t.pyGenericServices=Boolean(e.pyGenericServices)),null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),null!=e.ccEnableArenas&&(t.ccEnableArenas=Boolean(e.ccEnableArenas)),null!=e.objcClassPrefix&&(t.objcClassPrefix=String(e.objcClassPrefix)),null!=e.csharpNamespace&&(t.csharpNamespace=String(e.csharpNamespace)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.FileOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var n=0;n>>3){case 1:r.messageSetWireFormat=e.bool();break;case 2:r.noStandardDescriptorAccessor=e.bool();break;case 3:r.deprecated=e.bool();break;case 7:r.mapEntry=e.bool();break;case 999:r.uninterpretedOption&&r.uninterpretedOption.length||(r.uninterpretedOption=[]),r.uninterpretedOption.push(s.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.MessageOptions)return e;var t=new s.google.protobuf.MessageOptions;if(null!=e.messageSetWireFormat&&(t.messageSetWireFormat=Boolean(e.messageSetWireFormat)),null!=e.noStandardDescriptorAccessor&&(t.noStandardDescriptorAccessor=Boolean(e.noStandardDescriptorAccessor)),null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),null!=e.mapEntry&&(t.mapEntry=Boolean(e.mapEntry)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.MessageOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var n=0;n>>3){case 1:r.ctype=e.int32();break;case 2:r.packed=e.bool();break;case 6:r.jstype=e.int32();break;case 5:r.lazy=e.bool();break;case 3:r.deprecated=e.bool();break;case 10:r.weak=e.bool();break;case 999:r.uninterpretedOption&&r.uninterpretedOption.length||(r.uninterpretedOption=[]),r.uninterpretedOption.push(s.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.FieldOptions)return e;var t=new s.google.protobuf.FieldOptions;switch(e.ctype){case"STRING":case 0:t.ctype=0;break;case"CORD":case 1:t.ctype=1;break;case"STRING_PIECE":case 2:t.ctype=2}switch(null!=e.packed&&(t.packed=Boolean(e.packed)),e.jstype){case"JS_NORMAL":case 0:t.jstype=0;break;case"JS_STRING":case 1:t.jstype=1;break;case"JS_NUMBER":case 2:t.jstype=2}if(null!=e.lazy&&(t.lazy=Boolean(e.lazy)),null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),null!=e.weak&&(t.weak=Boolean(e.weak)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var n=0;n>>3){case 999:r.uninterpretedOption&&r.uninterpretedOption.length||(r.uninterpretedOption=[]),r.uninterpretedOption.push(s.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.OneofOptions)return e;var t=new s.google.protobuf.OneofOptions;if(e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.OneofOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var n=0;n>>3){case 2:r.allowAlias=e.bool();break;case 3:r.deprecated=e.bool();break;case 999:r.uninterpretedOption&&r.uninterpretedOption.length||(r.uninterpretedOption=[]),r.uninterpretedOption.push(s.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.EnumOptions)return e;var t=new s.google.protobuf.EnumOptions;if(null!=e.allowAlias&&(t.allowAlias=Boolean(e.allowAlias)),null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.EnumOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var n=0;n>>3){case 1:r.deprecated=e.bool();break;case 999:r.uninterpretedOption&&r.uninterpretedOption.length||(r.uninterpretedOption=[]),r.uninterpretedOption.push(s.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.EnumValueOptions)return e;var t=new s.google.protobuf.EnumValueOptions;if(null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var n=0;n>>3){case 33:r.deprecated=e.bool();break;case 999:r.uninterpretedOption&&r.uninterpretedOption.length||(r.uninterpretedOption=[]),r.uninterpretedOption.push(s.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.ServiceOptions)return e;var t=new s.google.protobuf.ServiceOptions;if(null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.ServiceOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var n=0;n>>3){case 33:r.deprecated=e.bool();break;case 999:r.uninterpretedOption&&r.uninterpretedOption.length||(r.uninterpretedOption=[]),r.uninterpretedOption.push(s.google.protobuf.UninterpretedOption.decode(e,e.uint32()));break;case 72295728:r[".google.api.http"]=s.google.api.HttpRule.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.MethodOptions)return e;var t=new s.google.protobuf.MethodOptions;if(null!=e.deprecated&&(t.deprecated=Boolean(e.deprecated)),e.uninterpretedOption){if(!Array.isArray(e.uninterpretedOption))throw TypeError(".google.protobuf.MethodOptions.uninterpretedOption: array expected");t.uninterpretedOption=[];for(var n=0;n>>3){case 2:r.name&&r.name.length||(r.name=[]),r.name.push(s.google.protobuf.UninterpretedOption.NamePart.decode(e,e.uint32()));break;case 3:r.identifierValue=e.string();break;case 4:r.positiveIntValue=e.uint64();break;case 5:r.negativeIntValue=e.int64();break;case 6:r.doubleValue=e.double();break;case 7:r.stringValue=e.bytes();break;case 8:r.aggregateValue=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.UninterpretedOption)return e;var t=new s.google.protobuf.UninterpretedOption;if(e.name){if(!Array.isArray(e.name))throw TypeError(".google.protobuf.UninterpretedOption.name: array expected");t.name=[];for(var n=0;n>>0,e.positiveIntValue.high>>>0).toNumber(!0))),null!=e.negativeIntValue&&(a.Long?(t.negativeIntValue=a.Long.fromValue(e.negativeIntValue)).unsigned=!1:"string"==typeof e.negativeIntValue?t.negativeIntValue=parseInt(e.negativeIntValue,10):"number"==typeof e.negativeIntValue?t.negativeIntValue=e.negativeIntValue:"object"==typeof e.negativeIntValue&&(t.negativeIntValue=new a.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber())),null!=e.doubleValue&&(t.doubleValue=Number(e.doubleValue)),null!=e.stringValue&&("string"==typeof e.stringValue?a.base64.decode(e.stringValue,t.stringValue=a.newBuffer(a.base64.length(e.stringValue)),0):e.stringValue.length&&(t.stringValue=e.stringValue)),null!=e.aggregateValue&&(t.aggregateValue=String(e.aggregateValue)),t},e.toObject=function(e,t){t||(t={});var n={};if((t.arrays||t.defaults)&&(n.name=[]),t.defaults){if(n.identifierValue="",a.Long){var r=new a.Long(0,0,!0);n.positiveIntValue=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.positiveIntValue=t.longs===String?"0":0;if(a.Long){r=new a.Long(0,0,!1);n.negativeIntValue=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.negativeIntValue=t.longs===String?"0":0;n.doubleValue=0,t.bytes===String?n.stringValue="":(n.stringValue=[],t.bytes!==Array&&(n.stringValue=a.newBuffer(n.stringValue))),n.aggregateValue=""}if(e.name&&e.name.length){n.name=[];for(var i=0;i>>0,e.positiveIntValue.high>>>0).toNumber(!0):e.positiveIntValue),null!=e.negativeIntValue&&e.hasOwnProperty("negativeIntValue")&&("number"==typeof e.negativeIntValue?n.negativeIntValue=t.longs===String?String(e.negativeIntValue):e.negativeIntValue:n.negativeIntValue=t.longs===String?a.Long.prototype.toString.call(e.negativeIntValue):t.longs===Number?new a.LongBits(e.negativeIntValue.low>>>0,e.negativeIntValue.high>>>0).toNumber():e.negativeIntValue),null!=e.doubleValue&&e.hasOwnProperty("doubleValue")&&(n.doubleValue=t.json&&!isFinite(e.doubleValue)?String(e.doubleValue):e.doubleValue),null!=e.stringValue&&e.hasOwnProperty("stringValue")&&(n.stringValue=t.bytes===String?a.base64.encode(e.stringValue,0,e.stringValue.length):t.bytes===Array?Array.prototype.slice.call(e.stringValue):e.stringValue),null!=e.aggregateValue&&e.hasOwnProperty("aggregateValue")&&(n.aggregateValue=e.aggregateValue),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e.NamePart=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.namePart=e.string();break;case 2:r.isExtension=e.bool();break;default:e.skipType(7&o)}}if(!r.hasOwnProperty("namePart"))throw a.ProtocolError("missing required 'namePart'",{instance:r});if(!r.hasOwnProperty("isExtension"))throw a.ProtocolError("missing required 'isExtension'",{instance:r});return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.UninterpretedOption.NamePart)return e;var t=new s.google.protobuf.UninterpretedOption.NamePart;return null!=e.namePart&&(t.namePart=String(e.namePart)),null!=e.isExtension&&(t.isExtension=Boolean(e.isExtension)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.namePart="",n.isExtension=!1),null!=e.namePart&&e.hasOwnProperty("namePart")&&(n.namePart=e.namePart),null!=e.isExtension&&e.hasOwnProperty("isExtension")&&(n.isExtension=e.isExtension),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e}(),e.SourceCodeInfo=function(){function e(e){if(this.location=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.location&&r.location.length||(r.location=[]),r.location.push(s.google.protobuf.SourceCodeInfo.Location.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.SourceCodeInfo)return e;var t=new s.google.protobuf.SourceCodeInfo;if(e.location){if(!Array.isArray(e.location))throw TypeError(".google.protobuf.SourceCodeInfo.location: array expected");t.location=[];for(var n=0;n>>3){case 1:if(r.path&&r.path.length||(r.path=[]),2==(7&o))for(var a=e.uint32()+e.pos;e.pos>>3){case 1:r.annotation&&r.annotation.length||(r.annotation=[]),r.annotation.push(s.google.protobuf.GeneratedCodeInfo.Annotation.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.GeneratedCodeInfo)return e;var t=new s.google.protobuf.GeneratedCodeInfo;if(e.annotation){if(!Array.isArray(e.annotation))throw TypeError(".google.protobuf.GeneratedCodeInfo.annotation: array expected");t.annotation=[];for(var n=0;n>>3){case 1:if(r.path&&r.path.length||(r.path=[]),2==(7&o))for(var a=e.uint32()+e.pos;e.pos>>3){case 1:r.seconds=e.int64();break;case 2:r.nanos=e.int32();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.Duration)return e;var t=new s.google.protobuf.Duration;return null!=e.seconds&&(a.Long?(t.seconds=a.Long.fromValue(e.seconds)).unsigned=!1:"string"==typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"==typeof e.seconds?t.seconds=e.seconds:"object"==typeof e.seconds&&(t.seconds=new a.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanos&&(t.nanos=0|e.nanos),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(a.Long){var r=new a.Long(0,0,!1);n.seconds=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.seconds=t.longs===String?"0":0;n.nanos=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"==typeof e.seconds?n.seconds=t.longs===String?String(e.seconds):e.seconds:n.seconds=t.longs===String?a.Long.prototype.toString.call(e.seconds):t.longs===Number?new a.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanos&&e.hasOwnProperty("nanos")&&(n.nanos=e.nanos),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Timestamp=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.seconds=e.int64();break;case 2:r.nanos=e.int32();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.protobuf.Timestamp)return e;var t=new s.google.protobuf.Timestamp;return null!=e.seconds&&(a.Long?(t.seconds=a.Long.fromValue(e.seconds)).unsigned=!1:"string"==typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"==typeof e.seconds?t.seconds=e.seconds:"object"==typeof e.seconds&&(t.seconds=new a.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanos&&(t.nanos=0|e.nanos),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(a.Long){var r=new a.Long(0,0,!1);n.seconds=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.seconds=t.longs===String?"0":0;n.nanos=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"==typeof e.seconds?n.seconds=t.longs===String?String(e.seconds):e.seconds:n.seconds=t.longs===String?a.Long.prototype.toString.call(e.seconds):t.longs===Number?new a.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanos&&e.hasOwnProperty("nanos")&&(n.nanos=e.nanos),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e}(),e.api=function(){const e={};return e.Http=function(){function e(e){if(this.rules=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.rules&&r.rules.length||(r.rules=[]),r.rules.push(s.google.api.HttpRule.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.api.Http)return e;var t=new s.google.api.Http;if(e.rules){if(!Array.isArray(e.rules))throw TypeError(".google.api.Http.rules: array expected");t.rules=[];for(var n=0;n>>3){case 2:r.get=e.string();break;case 3:r.put=e.string();break;case 4:r.post=e.string();break;case 5:r.delete=e.string();break;case 6:r.patch=e.string();break;case 8:r.custom=s.google.api.CustomHttpPattern.decode(e,e.uint32());break;case 1:r.selector=e.string();break;case 7:r.body=e.string();break;case 11:r.additionalBindings&&r.additionalBindings.length||(r.additionalBindings=[]),r.additionalBindings.push(s.google.api.HttpRule.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.api.HttpRule)return e;var t=new s.google.api.HttpRule;if(null!=e.get&&(t.get=String(e.get)),null!=e.put&&(t.put=String(e.put)),null!=e.post&&(t.post=String(e.post)),null!=e.delete&&(t.delete=String(e.delete)),null!=e.patch&&(t.patch=String(e.patch)),null!=e.custom){if("object"!=typeof e.custom)throw TypeError(".google.api.HttpRule.custom: object expected");t.custom=s.google.api.CustomHttpPattern.fromObject(e.custom)}if(null!=e.selector&&(t.selector=String(e.selector)),null!=e.body&&(t.body=String(e.body)),e.additionalBindings){if(!Array.isArray(e.additionalBindings))throw TypeError(".google.api.HttpRule.additionalBindings: array expected");t.additionalBindings=[];for(var n=0;n>>3){case 1:r.kind=e.string();break;case 2:r.path=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.google.api.CustomHttpPattern)return e;var t=new s.google.api.CustomHttpPattern;return null!=e.kind&&(t.kind=String(e.kind)),null!=e.path&&(t.path=String(e.path)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.kind="",n.path=""),null!=e.kind&&e.hasOwnProperty("kind")&&(n.kind=e.kind),null!=e.path&&e.hasOwnProperty("path")&&(n.path=e.path),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e}(),e})(),t.ibc=s.ibc=(()=>{const e={};return e.core=function(){const e={};return e.channel=function(){const e={};return e.v1=function(){const e={};return e.Channel=function(){function e(e){if(this.connectionHops=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.state=e.int32();break;case 2:r.ordering=e.int32();break;case 3:r.counterparty=s.ibc.core.channel.v1.Counterparty.decode(e,e.uint32());break;case 4:r.connectionHops&&r.connectionHops.length||(r.connectionHops=[]),r.connectionHops.push(e.string());break;case 5:r.version=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.Channel)return e;var t=new s.ibc.core.channel.v1.Channel;switch(e.state){case"STATE_UNINITIALIZED_UNSPECIFIED":case 0:t.state=0;break;case"STATE_INIT":case 1:t.state=1;break;case"STATE_TRYOPEN":case 2:t.state=2;break;case"STATE_OPEN":case 3:t.state=3;break;case"STATE_CLOSED":case 4:t.state=4}switch(e.ordering){case"ORDER_NONE_UNSPECIFIED":case 0:t.ordering=0;break;case"ORDER_UNORDERED":case 1:t.ordering=1;break;case"ORDER_ORDERED":case 2:t.ordering=2}if(null!=e.counterparty){if("object"!=typeof e.counterparty)throw TypeError(".ibc.core.channel.v1.Channel.counterparty: object expected");t.counterparty=s.ibc.core.channel.v1.Counterparty.fromObject(e.counterparty)}if(e.connectionHops){if(!Array.isArray(e.connectionHops))throw TypeError(".ibc.core.channel.v1.Channel.connectionHops: array expected");t.connectionHops=[];for(var n=0;n>>3){case 1:r.state=e.int32();break;case 2:r.ordering=e.int32();break;case 3:r.counterparty=s.ibc.core.channel.v1.Counterparty.decode(e,e.uint32());break;case 4:r.connectionHops&&r.connectionHops.length||(r.connectionHops=[]),r.connectionHops.push(e.string());break;case 5:r.version=e.string();break;case 6:r.portId=e.string();break;case 7:r.channelId=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.IdentifiedChannel)return e;var t=new s.ibc.core.channel.v1.IdentifiedChannel;switch(e.state){case"STATE_UNINITIALIZED_UNSPECIFIED":case 0:t.state=0;break;case"STATE_INIT":case 1:t.state=1;break;case"STATE_TRYOPEN":case 2:t.state=2;break;case"STATE_OPEN":case 3:t.state=3;break;case"STATE_CLOSED":case 4:t.state=4}switch(e.ordering){case"ORDER_NONE_UNSPECIFIED":case 0:t.ordering=0;break;case"ORDER_UNORDERED":case 1:t.ordering=1;break;case"ORDER_ORDERED":case 2:t.ordering=2}if(null!=e.counterparty){if("object"!=typeof e.counterparty)throw TypeError(".ibc.core.channel.v1.IdentifiedChannel.counterparty: object expected");t.counterparty=s.ibc.core.channel.v1.Counterparty.fromObject(e.counterparty)}if(e.connectionHops){if(!Array.isArray(e.connectionHops))throw TypeError(".ibc.core.channel.v1.IdentifiedChannel.connectionHops: array expected");t.connectionHops=[];for(var n=0;n>>3){case 1:r.portId=e.string();break;case 2:r.channelId=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.Counterparty)return e;var t=new s.ibc.core.channel.v1.Counterparty;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.portId="",n.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(n.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(n.channelId=e.channelId),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Packet=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.sequence=e.uint64();break;case 2:r.sourcePort=e.string();break;case 3:r.sourceChannel=e.string();break;case 4:r.destinationPort=e.string();break;case 5:r.destinationChannel=e.string();break;case 6:r.data=e.bytes();break;case 7:r.timeoutHeight=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;case 8:r.timeoutTimestamp=e.uint64();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.Packet)return e;var t=new s.ibc.core.channel.v1.Packet;if(null!=e.sequence&&(a.Long?(t.sequence=a.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new a.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),null!=e.sourcePort&&(t.sourcePort=String(e.sourcePort)),null!=e.sourceChannel&&(t.sourceChannel=String(e.sourceChannel)),null!=e.destinationPort&&(t.destinationPort=String(e.destinationPort)),null!=e.destinationChannel&&(t.destinationChannel=String(e.destinationChannel)),null!=e.data&&("string"==typeof e.data?a.base64.decode(e.data,t.data=a.newBuffer(a.base64.length(e.data)),0):e.data.length&&(t.data=e.data)),null!=e.timeoutHeight){if("object"!=typeof e.timeoutHeight)throw TypeError(".ibc.core.channel.v1.Packet.timeoutHeight: object expected");t.timeoutHeight=s.ibc.core.client.v1.Height.fromObject(e.timeoutHeight)}return null!=e.timeoutTimestamp&&(a.Long?(t.timeoutTimestamp=a.Long.fromValue(e.timeoutTimestamp)).unsigned=!0:"string"==typeof e.timeoutTimestamp?t.timeoutTimestamp=parseInt(e.timeoutTimestamp,10):"number"==typeof e.timeoutTimestamp?t.timeoutTimestamp=e.timeoutTimestamp:"object"==typeof e.timeoutTimestamp&&(t.timeoutTimestamp=new a.LongBits(e.timeoutTimestamp.low>>>0,e.timeoutTimestamp.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(a.Long){var r=new a.Long(0,0,!0);n.sequence=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.sequence=t.longs===String?"0":0;if(n.sourcePort="",n.sourceChannel="",n.destinationPort="",n.destinationChannel="",t.bytes===String?n.data="":(n.data=[],t.bytes!==Array&&(n.data=a.newBuffer(n.data))),n.timeoutHeight=null,a.Long){r=new a.Long(0,0,!0);n.timeoutTimestamp=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.timeoutTimestamp=t.longs===String?"0":0}return null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?n.sequence=t.longs===String?String(e.sequence):e.sequence:n.sequence=t.longs===String?a.Long.prototype.toString.call(e.sequence):t.longs===Number?new a.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),null!=e.sourcePort&&e.hasOwnProperty("sourcePort")&&(n.sourcePort=e.sourcePort),null!=e.sourceChannel&&e.hasOwnProperty("sourceChannel")&&(n.sourceChannel=e.sourceChannel),null!=e.destinationPort&&e.hasOwnProperty("destinationPort")&&(n.destinationPort=e.destinationPort),null!=e.destinationChannel&&e.hasOwnProperty("destinationChannel")&&(n.destinationChannel=e.destinationChannel),null!=e.data&&e.hasOwnProperty("data")&&(n.data=t.bytes===String?a.base64.encode(e.data,0,e.data.length):t.bytes===Array?Array.prototype.slice.call(e.data):e.data),null!=e.timeoutHeight&&e.hasOwnProperty("timeoutHeight")&&(n.timeoutHeight=s.ibc.core.client.v1.Height.toObject(e.timeoutHeight,t)),null!=e.timeoutTimestamp&&e.hasOwnProperty("timeoutTimestamp")&&("number"==typeof e.timeoutTimestamp?n.timeoutTimestamp=t.longs===String?String(e.timeoutTimestamp):e.timeoutTimestamp:n.timeoutTimestamp=t.longs===String?a.Long.prototype.toString.call(e.timeoutTimestamp):t.longs===Number?new a.LongBits(e.timeoutTimestamp.low>>>0,e.timeoutTimestamp.high>>>0).toNumber(!0):e.timeoutTimestamp),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.PacketState=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.portId=e.string();break;case 2:r.channelId=e.string();break;case 3:r.sequence=e.uint64();break;case 4:r.data=e.bytes();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.PacketState)return e;var t=new s.ibc.core.channel.v1.PacketState;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.sequence&&(a.Long?(t.sequence=a.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new a.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),null!=e.data&&("string"==typeof e.data?a.base64.decode(e.data,t.data=a.newBuffer(a.base64.length(e.data)),0):e.data.length&&(t.data=e.data)),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(n.portId="",n.channelId="",a.Long){var r=new a.Long(0,0,!0);n.sequence=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.sequence=t.longs===String?"0":0;t.bytes===String?n.data="":(n.data=[],t.bytes!==Array&&(n.data=a.newBuffer(n.data)))}return null!=e.portId&&e.hasOwnProperty("portId")&&(n.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(n.channelId=e.channelId),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?n.sequence=t.longs===String?String(e.sequence):e.sequence:n.sequence=t.longs===String?a.Long.prototype.toString.call(e.sequence):t.longs===Number?new a.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),null!=e.data&&e.hasOwnProperty("data")&&(n.data=t.bytes===String?a.base64.encode(e.data,0,e.data.length):t.bytes===Array?Array.prototype.slice.call(e.data):e.data),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Acknowledgement=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 21:r.result=e.bytes();break;case 22:r.error=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.Acknowledgement)return e;var t=new s.ibc.core.channel.v1.Acknowledgement;return null!=e.result&&("string"==typeof e.result?a.base64.decode(e.result,t.result=a.newBuffer(a.base64.length(e.result)),0):e.result.length&&(t.result=e.result)),null!=e.error&&(t.error=String(e.error)),t},e.toObject=function(e,t){t||(t={});var n={};return null!=e.result&&e.hasOwnProperty("result")&&(n.result=t.bytes===String?a.base64.encode(e.result,0,e.result.length):t.bytes===Array?Array.prototype.slice.call(e.result):e.result,t.oneofs&&(n.response="result")),null!=e.error&&e.hasOwnProperty("error")&&(n.error=e.error,t.oneofs&&(n.response="error")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Query=function(){function e(e,t,n){r.rpc.Service.call(this,e,t,n)}return(e.prototype=Object.create(r.rpc.Service.prototype)).constructor=e,e.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(e.prototype.channel=function e(t,n){return this.rpcCall(e,s.ibc.core.channel.v1.QueryChannelRequest,s.ibc.core.channel.v1.QueryChannelResponse,t,n)},"name",{value:"Channel"}),Object.defineProperty(e.prototype.channels=function e(t,n){return this.rpcCall(e,s.ibc.core.channel.v1.QueryChannelsRequest,s.ibc.core.channel.v1.QueryChannelsResponse,t,n)},"name",{value:"Channels"}),Object.defineProperty(e.prototype.connectionChannels=function e(t,n){return this.rpcCall(e,s.ibc.core.channel.v1.QueryConnectionChannelsRequest,s.ibc.core.channel.v1.QueryConnectionChannelsResponse,t,n)},"name",{value:"ConnectionChannels"}),Object.defineProperty(e.prototype.channelClientState=function e(t,n){return this.rpcCall(e,s.ibc.core.channel.v1.QueryChannelClientStateRequest,s.ibc.core.channel.v1.QueryChannelClientStateResponse,t,n)},"name",{value:"ChannelClientState"}),Object.defineProperty(e.prototype.channelConsensusState=function e(t,n){return this.rpcCall(e,s.ibc.core.channel.v1.QueryChannelConsensusStateRequest,s.ibc.core.channel.v1.QueryChannelConsensusStateResponse,t,n)},"name",{value:"ChannelConsensusState"}),Object.defineProperty(e.prototype.packetCommitment=function e(t,n){return this.rpcCall(e,s.ibc.core.channel.v1.QueryPacketCommitmentRequest,s.ibc.core.channel.v1.QueryPacketCommitmentResponse,t,n)},"name",{value:"PacketCommitment"}),Object.defineProperty(e.prototype.packetCommitments=function e(t,n){return this.rpcCall(e,s.ibc.core.channel.v1.QueryPacketCommitmentsRequest,s.ibc.core.channel.v1.QueryPacketCommitmentsResponse,t,n)},"name",{value:"PacketCommitments"}),Object.defineProperty(e.prototype.packetReceipt=function e(t,n){return this.rpcCall(e,s.ibc.core.channel.v1.QueryPacketReceiptRequest,s.ibc.core.channel.v1.QueryPacketReceiptResponse,t,n)},"name",{value:"PacketReceipt"}),Object.defineProperty(e.prototype.packetAcknowledgement=function e(t,n){return this.rpcCall(e,s.ibc.core.channel.v1.QueryPacketAcknowledgementRequest,s.ibc.core.channel.v1.QueryPacketAcknowledgementResponse,t,n)},"name",{value:"PacketAcknowledgement"}),Object.defineProperty(e.prototype.packetAcknowledgements=function e(t,n){return this.rpcCall(e,s.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest,s.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse,t,n)},"name",{value:"PacketAcknowledgements"}),Object.defineProperty(e.prototype.unreceivedPackets=function e(t,n){return this.rpcCall(e,s.ibc.core.channel.v1.QueryUnreceivedPacketsRequest,s.ibc.core.channel.v1.QueryUnreceivedPacketsResponse,t,n)},"name",{value:"UnreceivedPackets"}),Object.defineProperty(e.prototype.unreceivedAcks=function e(t,n){return this.rpcCall(e,s.ibc.core.channel.v1.QueryUnreceivedAcksRequest,s.ibc.core.channel.v1.QueryUnreceivedAcksResponse,t,n)},"name",{value:"UnreceivedAcks"}),Object.defineProperty(e.prototype.nextSequenceReceive=function e(t,n){return this.rpcCall(e,s.ibc.core.channel.v1.QueryNextSequenceReceiveRequest,s.ibc.core.channel.v1.QueryNextSequenceReceiveResponse,t,n)},"name",{value:"NextSequenceReceive"}),e}(),e.QueryChannelRequest=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.portId=e.string();break;case 2:r.channelId=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryChannelRequest)return e;var t=new s.ibc.core.channel.v1.QueryChannelRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.portId="",n.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(n.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(n.channelId=e.channelId),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryChannelResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.channel=s.ibc.core.channel.v1.Channel.decode(e,e.uint32());break;case 2:r.proof=e.bytes();break;case 3:r.proofHeight=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryChannelResponse)return e;var t=new s.ibc.core.channel.v1.QueryChannelResponse;if(null!=e.channel){if("object"!=typeof e.channel)throw TypeError(".ibc.core.channel.v1.QueryChannelResponse.channel: object expected");t.channel=s.ibc.core.channel.v1.Channel.fromObject(e.channel)}if(null!=e.proof&&("string"==typeof e.proof?a.base64.decode(e.proof,t.proof=a.newBuffer(a.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryChannelResponse.proofHeight: object expected");t.proofHeight=s.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.channel=null,t.bytes===String?n.proof="":(n.proof=[],t.bytes!==Array&&(n.proof=a.newBuffer(n.proof))),n.proofHeight=null),null!=e.channel&&e.hasOwnProperty("channel")&&(n.channel=s.ibc.core.channel.v1.Channel.toObject(e.channel,t)),null!=e.proof&&e.hasOwnProperty("proof")&&(n.proof=t.bytes===String?a.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(n.proofHeight=s.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryChannelsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.pagination=s.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryChannelsRequest)return e;var t=new s.ibc.core.channel.v1.QueryChannelsRequest;if(null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.channel.v1.QueryChannelsRequest.pagination: object expected");t.pagination=s.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.pagination=null),null!=e.pagination&&e.hasOwnProperty("pagination")&&(n.pagination=s.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryChannelsResponse=function(){function e(e){if(this.channels=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.channels&&r.channels.length||(r.channels=[]),r.channels.push(s.ibc.core.channel.v1.IdentifiedChannel.decode(e,e.uint32()));break;case 2:r.pagination=s.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:r.height=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryChannelsResponse)return e;var t=new s.ibc.core.channel.v1.QueryChannelsResponse;if(e.channels){if(!Array.isArray(e.channels))throw TypeError(".ibc.core.channel.v1.QueryChannelsResponse.channels: array expected");t.channels=[];for(var n=0;n>>3){case 1:r.connection=e.string();break;case 2:r.pagination=s.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryConnectionChannelsRequest)return e;var t=new s.ibc.core.channel.v1.QueryConnectionChannelsRequest;if(null!=e.connection&&(t.connection=String(e.connection)),null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.channel.v1.QueryConnectionChannelsRequest.pagination: object expected");t.pagination=s.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.connection="",n.pagination=null),null!=e.connection&&e.hasOwnProperty("connection")&&(n.connection=e.connection),null!=e.pagination&&e.hasOwnProperty("pagination")&&(n.pagination=s.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryConnectionChannelsResponse=function(){function e(e){if(this.channels=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.channels&&r.channels.length||(r.channels=[]),r.channels.push(s.ibc.core.channel.v1.IdentifiedChannel.decode(e,e.uint32()));break;case 2:r.pagination=s.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:r.height=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryConnectionChannelsResponse)return e;var t=new s.ibc.core.channel.v1.QueryConnectionChannelsResponse;if(e.channels){if(!Array.isArray(e.channels))throw TypeError(".ibc.core.channel.v1.QueryConnectionChannelsResponse.channels: array expected");t.channels=[];for(var n=0;n>>3){case 1:r.portId=e.string();break;case 2:r.channelId=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryChannelClientStateRequest)return e;var t=new s.ibc.core.channel.v1.QueryChannelClientStateRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.portId="",n.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(n.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(n.channelId=e.channelId),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryChannelClientStateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.identifiedClientState=s.ibc.core.client.v1.IdentifiedClientState.decode(e,e.uint32());break;case 2:r.proof=e.bytes();break;case 3:r.proofHeight=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryChannelClientStateResponse)return e;var t=new s.ibc.core.channel.v1.QueryChannelClientStateResponse;if(null!=e.identifiedClientState){if("object"!=typeof e.identifiedClientState)throw TypeError(".ibc.core.channel.v1.QueryChannelClientStateResponse.identifiedClientState: object expected");t.identifiedClientState=s.ibc.core.client.v1.IdentifiedClientState.fromObject(e.identifiedClientState)}if(null!=e.proof&&("string"==typeof e.proof?a.base64.decode(e.proof,t.proof=a.newBuffer(a.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryChannelClientStateResponse.proofHeight: object expected");t.proofHeight=s.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.identifiedClientState=null,t.bytes===String?n.proof="":(n.proof=[],t.bytes!==Array&&(n.proof=a.newBuffer(n.proof))),n.proofHeight=null),null!=e.identifiedClientState&&e.hasOwnProperty("identifiedClientState")&&(n.identifiedClientState=s.ibc.core.client.v1.IdentifiedClientState.toObject(e.identifiedClientState,t)),null!=e.proof&&e.hasOwnProperty("proof")&&(n.proof=t.bytes===String?a.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(n.proofHeight=s.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryChannelConsensusStateRequest=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.portId=e.string();break;case 2:r.channelId=e.string();break;case 3:r.versionNumber=e.uint64();break;case 4:r.versionHeight=e.uint64();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryChannelConsensusStateRequest)return e;var t=new s.ibc.core.channel.v1.QueryChannelConsensusStateRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.versionNumber&&(a.Long?(t.versionNumber=a.Long.fromValue(e.versionNumber)).unsigned=!0:"string"==typeof e.versionNumber?t.versionNumber=parseInt(e.versionNumber,10):"number"==typeof e.versionNumber?t.versionNumber=e.versionNumber:"object"==typeof e.versionNumber&&(t.versionNumber=new a.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0))),null!=e.versionHeight&&(a.Long?(t.versionHeight=a.Long.fromValue(e.versionHeight)).unsigned=!0:"string"==typeof e.versionHeight?t.versionHeight=parseInt(e.versionHeight,10):"number"==typeof e.versionHeight?t.versionHeight=e.versionHeight:"object"==typeof e.versionHeight&&(t.versionHeight=new a.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(n.portId="",n.channelId="",a.Long){var r=new a.Long(0,0,!0);n.versionNumber=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.versionNumber=t.longs===String?"0":0;if(a.Long){r=new a.Long(0,0,!0);n.versionHeight=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.versionHeight=t.longs===String?"0":0}return null!=e.portId&&e.hasOwnProperty("portId")&&(n.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(n.channelId=e.channelId),null!=e.versionNumber&&e.hasOwnProperty("versionNumber")&&("number"==typeof e.versionNumber?n.versionNumber=t.longs===String?String(e.versionNumber):e.versionNumber:n.versionNumber=t.longs===String?a.Long.prototype.toString.call(e.versionNumber):t.longs===Number?new a.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0):e.versionNumber),null!=e.versionHeight&&e.hasOwnProperty("versionHeight")&&("number"==typeof e.versionHeight?n.versionHeight=t.longs===String?String(e.versionHeight):e.versionHeight:n.versionHeight=t.longs===String?a.Long.prototype.toString.call(e.versionHeight):t.longs===Number?new a.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0):e.versionHeight),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryChannelConsensusStateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.consensusState=s.google.protobuf.Any.decode(e,e.uint32());break;case 2:r.clientId=e.string();break;case 3:r.proof=e.bytes();break;case 4:r.proofHeight=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryChannelConsensusStateResponse)return e;var t=new s.ibc.core.channel.v1.QueryChannelConsensusStateResponse;if(null!=e.consensusState){if("object"!=typeof e.consensusState)throw TypeError(".ibc.core.channel.v1.QueryChannelConsensusStateResponse.consensusState: object expected");t.consensusState=s.google.protobuf.Any.fromObject(e.consensusState)}if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.proof&&("string"==typeof e.proof?a.base64.decode(e.proof,t.proof=a.newBuffer(a.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryChannelConsensusStateResponse.proofHeight: object expected");t.proofHeight=s.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.consensusState=null,n.clientId="",t.bytes===String?n.proof="":(n.proof=[],t.bytes!==Array&&(n.proof=a.newBuffer(n.proof))),n.proofHeight=null),null!=e.consensusState&&e.hasOwnProperty("consensusState")&&(n.consensusState=s.google.protobuf.Any.toObject(e.consensusState,t)),null!=e.clientId&&e.hasOwnProperty("clientId")&&(n.clientId=e.clientId),null!=e.proof&&e.hasOwnProperty("proof")&&(n.proof=t.bytes===String?a.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(n.proofHeight=s.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryPacketCommitmentRequest=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.portId=e.string();break;case 2:r.channelId=e.string();break;case 3:r.sequence=e.uint64();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryPacketCommitmentRequest)return e;var t=new s.ibc.core.channel.v1.QueryPacketCommitmentRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.sequence&&(a.Long?(t.sequence=a.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new a.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(n.portId="",n.channelId="",a.Long){var r=new a.Long(0,0,!0);n.sequence=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.sequence=t.longs===String?"0":0;return null!=e.portId&&e.hasOwnProperty("portId")&&(n.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(n.channelId=e.channelId),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?n.sequence=t.longs===String?String(e.sequence):e.sequence:n.sequence=t.longs===String?a.Long.prototype.toString.call(e.sequence):t.longs===Number?new a.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryPacketCommitmentResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.commitment=e.bytes();break;case 2:r.proof=e.bytes();break;case 3:r.proofHeight=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryPacketCommitmentResponse)return e;var t=new s.ibc.core.channel.v1.QueryPacketCommitmentResponse;if(null!=e.commitment&&("string"==typeof e.commitment?a.base64.decode(e.commitment,t.commitment=a.newBuffer(a.base64.length(e.commitment)),0):e.commitment.length&&(t.commitment=e.commitment)),null!=e.proof&&("string"==typeof e.proof?a.base64.decode(e.proof,t.proof=a.newBuffer(a.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryPacketCommitmentResponse.proofHeight: object expected");t.proofHeight=s.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.commitment="":(n.commitment=[],t.bytes!==Array&&(n.commitment=a.newBuffer(n.commitment))),t.bytes===String?n.proof="":(n.proof=[],t.bytes!==Array&&(n.proof=a.newBuffer(n.proof))),n.proofHeight=null),null!=e.commitment&&e.hasOwnProperty("commitment")&&(n.commitment=t.bytes===String?a.base64.encode(e.commitment,0,e.commitment.length):t.bytes===Array?Array.prototype.slice.call(e.commitment):e.commitment),null!=e.proof&&e.hasOwnProperty("proof")&&(n.proof=t.bytes===String?a.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(n.proofHeight=s.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryPacketCommitmentsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.portId=e.string();break;case 2:r.channelId=e.string();break;case 3:r.pagination=s.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryPacketCommitmentsRequest)return e;var t=new s.ibc.core.channel.v1.QueryPacketCommitmentsRequest;if(null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.channel.v1.QueryPacketCommitmentsRequest.pagination: object expected");t.pagination=s.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.portId="",n.channelId="",n.pagination=null),null!=e.portId&&e.hasOwnProperty("portId")&&(n.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(n.channelId=e.channelId),null!=e.pagination&&e.hasOwnProperty("pagination")&&(n.pagination=s.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryPacketCommitmentsResponse=function(){function e(e){if(this.commitments=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.commitments&&r.commitments.length||(r.commitments=[]),r.commitments.push(s.ibc.core.channel.v1.PacketState.decode(e,e.uint32()));break;case 2:r.pagination=s.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:r.height=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryPacketCommitmentsResponse)return e;var t=new s.ibc.core.channel.v1.QueryPacketCommitmentsResponse;if(e.commitments){if(!Array.isArray(e.commitments))throw TypeError(".ibc.core.channel.v1.QueryPacketCommitmentsResponse.commitments: array expected");t.commitments=[];for(var n=0;n>>3){case 1:r.portId=e.string();break;case 2:r.channelId=e.string();break;case 3:r.sequence=e.uint64();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryPacketReceiptRequest)return e;var t=new s.ibc.core.channel.v1.QueryPacketReceiptRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.sequence&&(a.Long?(t.sequence=a.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new a.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(n.portId="",n.channelId="",a.Long){var r=new a.Long(0,0,!0);n.sequence=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.sequence=t.longs===String?"0":0;return null!=e.portId&&e.hasOwnProperty("portId")&&(n.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(n.channelId=e.channelId),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?n.sequence=t.longs===String?String(e.sequence):e.sequence:n.sequence=t.longs===String?a.Long.prototype.toString.call(e.sequence):t.longs===Number?new a.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryPacketReceiptResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 2:r.received=e.bool();break;case 3:r.proof=e.bytes();break;case 4:r.proofHeight=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryPacketReceiptResponse)return e;var t=new s.ibc.core.channel.v1.QueryPacketReceiptResponse;if(null!=e.received&&(t.received=Boolean(e.received)),null!=e.proof&&("string"==typeof e.proof?a.base64.decode(e.proof,t.proof=a.newBuffer(a.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryPacketReceiptResponse.proofHeight: object expected");t.proofHeight=s.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.received=!1,t.bytes===String?n.proof="":(n.proof=[],t.bytes!==Array&&(n.proof=a.newBuffer(n.proof))),n.proofHeight=null),null!=e.received&&e.hasOwnProperty("received")&&(n.received=e.received),null!=e.proof&&e.hasOwnProperty("proof")&&(n.proof=t.bytes===String?a.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(n.proofHeight=s.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryPacketAcknowledgementRequest=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.portId=e.string();break;case 2:r.channelId=e.string();break;case 3:r.sequence=e.uint64();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryPacketAcknowledgementRequest)return e;var t=new s.ibc.core.channel.v1.QueryPacketAcknowledgementRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.sequence&&(a.Long?(t.sequence=a.Long.fromValue(e.sequence)).unsigned=!0:"string"==typeof e.sequence?t.sequence=parseInt(e.sequence,10):"number"==typeof e.sequence?t.sequence=e.sequence:"object"==typeof e.sequence&&(t.sequence=new a.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(n.portId="",n.channelId="",a.Long){var r=new a.Long(0,0,!0);n.sequence=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.sequence=t.longs===String?"0":0;return null!=e.portId&&e.hasOwnProperty("portId")&&(n.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(n.channelId=e.channelId),null!=e.sequence&&e.hasOwnProperty("sequence")&&("number"==typeof e.sequence?n.sequence=t.longs===String?String(e.sequence):e.sequence:n.sequence=t.longs===String?a.Long.prototype.toString.call(e.sequence):t.longs===Number?new a.LongBits(e.sequence.low>>>0,e.sequence.high>>>0).toNumber(!0):e.sequence),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryPacketAcknowledgementResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.acknowledgement=e.bytes();break;case 2:r.proof=e.bytes();break;case 3:r.proofHeight=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryPacketAcknowledgementResponse)return e;var t=new s.ibc.core.channel.v1.QueryPacketAcknowledgementResponse;if(null!=e.acknowledgement&&("string"==typeof e.acknowledgement?a.base64.decode(e.acknowledgement,t.acknowledgement=a.newBuffer(a.base64.length(e.acknowledgement)),0):e.acknowledgement.length&&(t.acknowledgement=e.acknowledgement)),null!=e.proof&&("string"==typeof e.proof?a.base64.decode(e.proof,t.proof=a.newBuffer(a.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryPacketAcknowledgementResponse.proofHeight: object expected");t.proofHeight=s.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.acknowledgement="":(n.acknowledgement=[],t.bytes!==Array&&(n.acknowledgement=a.newBuffer(n.acknowledgement))),t.bytes===String?n.proof="":(n.proof=[],t.bytes!==Array&&(n.proof=a.newBuffer(n.proof))),n.proofHeight=null),null!=e.acknowledgement&&e.hasOwnProperty("acknowledgement")&&(n.acknowledgement=t.bytes===String?a.base64.encode(e.acknowledgement,0,e.acknowledgement.length):t.bytes===Array?Array.prototype.slice.call(e.acknowledgement):e.acknowledgement),null!=e.proof&&e.hasOwnProperty("proof")&&(n.proof=t.bytes===String?a.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(n.proofHeight=s.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryPacketAcknowledgementsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.portId=e.string();break;case 2:r.channelId=e.string();break;case 3:r.pagination=s.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest)return e;var t=new s.ibc.core.channel.v1.QueryPacketAcknowledgementsRequest;if(null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.channel.v1.QueryPacketAcknowledgementsRequest.pagination: object expected");t.pagination=s.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.portId="",n.channelId="",n.pagination=null),null!=e.portId&&e.hasOwnProperty("portId")&&(n.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(n.channelId=e.channelId),null!=e.pagination&&e.hasOwnProperty("pagination")&&(n.pagination=s.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryPacketAcknowledgementsResponse=function(){function e(e){if(this.acknowledgements=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.acknowledgements&&r.acknowledgements.length||(r.acknowledgements=[]),r.acknowledgements.push(s.ibc.core.channel.v1.PacketState.decode(e,e.uint32()));break;case 2:r.pagination=s.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:r.height=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse)return e;var t=new s.ibc.core.channel.v1.QueryPacketAcknowledgementsResponse;if(e.acknowledgements){if(!Array.isArray(e.acknowledgements))throw TypeError(".ibc.core.channel.v1.QueryPacketAcknowledgementsResponse.acknowledgements: array expected");t.acknowledgements=[];for(var n=0;n>>3){case 1:r.portId=e.string();break;case 2:r.channelId=e.string();break;case 3:if(r.packetCommitmentSequences&&r.packetCommitmentSequences.length||(r.packetCommitmentSequences=[]),2==(7&o))for(var a=e.uint32()+e.pos;e.pos>>0,e.packetCommitmentSequences[n].high>>>0).toNumber(!0))}return t},e.toObject=function(e,t){t||(t={});var n={};if((t.arrays||t.defaults)&&(n.packetCommitmentSequences=[]),t.defaults&&(n.portId="",n.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(n.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(n.channelId=e.channelId),e.packetCommitmentSequences&&e.packetCommitmentSequences.length){n.packetCommitmentSequences=[];for(var r=0;r>>0,e.packetCommitmentSequences[r].high>>>0).toNumber(!0):e.packetCommitmentSequences[r]}return n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryUnreceivedPacketsResponse=function(){function e(e){if(this.sequences=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:if(r.sequences&&r.sequences.length||(r.sequences=[]),2==(7&o))for(var a=e.uint32()+e.pos;e.pos>>0,e.sequences[n].high>>>0).toNumber(!0))}if(null!=e.height){if("object"!=typeof e.height)throw TypeError(".ibc.core.channel.v1.QueryUnreceivedPacketsResponse.height: object expected");t.height=s.ibc.core.client.v1.Height.fromObject(e.height)}return t},e.toObject=function(e,t){t||(t={});var n={};if((t.arrays||t.defaults)&&(n.sequences=[]),t.defaults&&(n.height=null),e.sequences&&e.sequences.length){n.sequences=[];for(var r=0;r>>0,e.sequences[r].high>>>0).toNumber(!0):e.sequences[r]}return null!=e.height&&e.hasOwnProperty("height")&&(n.height=s.ibc.core.client.v1.Height.toObject(e.height,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryUnreceivedAcksRequest=function(){function e(e){if(this.packetAckSequences=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.portId=e.string();break;case 2:r.channelId=e.string();break;case 3:if(r.packetAckSequences&&r.packetAckSequences.length||(r.packetAckSequences=[]),2==(7&o))for(var a=e.uint32()+e.pos;e.pos>>0,e.packetAckSequences[n].high>>>0).toNumber(!0))}return t},e.toObject=function(e,t){t||(t={});var n={};if((t.arrays||t.defaults)&&(n.packetAckSequences=[]),t.defaults&&(n.portId="",n.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(n.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(n.channelId=e.channelId),e.packetAckSequences&&e.packetAckSequences.length){n.packetAckSequences=[];for(var r=0;r>>0,e.packetAckSequences[r].high>>>0).toNumber(!0):e.packetAckSequences[r]}return n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryUnreceivedAcksResponse=function(){function e(e){if(this.sequences=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:if(r.sequences&&r.sequences.length||(r.sequences=[]),2==(7&o))for(var a=e.uint32()+e.pos;e.pos>>0,e.sequences[n].high>>>0).toNumber(!0))}if(null!=e.height){if("object"!=typeof e.height)throw TypeError(".ibc.core.channel.v1.QueryUnreceivedAcksResponse.height: object expected");t.height=s.ibc.core.client.v1.Height.fromObject(e.height)}return t},e.toObject=function(e,t){t||(t={});var n={};if((t.arrays||t.defaults)&&(n.sequences=[]),t.defaults&&(n.height=null),e.sequences&&e.sequences.length){n.sequences=[];for(var r=0;r>>0,e.sequences[r].high>>>0).toNumber(!0):e.sequences[r]}return null!=e.height&&e.hasOwnProperty("height")&&(n.height=s.ibc.core.client.v1.Height.toObject(e.height,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryNextSequenceReceiveRequest=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.portId=e.string();break;case 2:r.channelId=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryNextSequenceReceiveRequest)return e;var t=new s.ibc.core.channel.v1.QueryNextSequenceReceiveRequest;return null!=e.portId&&(t.portId=String(e.portId)),null!=e.channelId&&(t.channelId=String(e.channelId)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.portId="",n.channelId=""),null!=e.portId&&e.hasOwnProperty("portId")&&(n.portId=e.portId),null!=e.channelId&&e.hasOwnProperty("channelId")&&(n.channelId=e.channelId),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryNextSequenceReceiveResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.nextSequenceReceive=e.uint64();break;case 2:r.proof=e.bytes();break;case 3:r.proofHeight=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.channel.v1.QueryNextSequenceReceiveResponse)return e;var t=new s.ibc.core.channel.v1.QueryNextSequenceReceiveResponse;if(null!=e.nextSequenceReceive&&(a.Long?(t.nextSequenceReceive=a.Long.fromValue(e.nextSequenceReceive)).unsigned=!0:"string"==typeof e.nextSequenceReceive?t.nextSequenceReceive=parseInt(e.nextSequenceReceive,10):"number"==typeof e.nextSequenceReceive?t.nextSequenceReceive=e.nextSequenceReceive:"object"==typeof e.nextSequenceReceive&&(t.nextSequenceReceive=new a.LongBits(e.nextSequenceReceive.low>>>0,e.nextSequenceReceive.high>>>0).toNumber(!0))),null!=e.proof&&("string"==typeof e.proof?a.base64.decode(e.proof,t.proof=a.newBuffer(a.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.channel.v1.QueryNextSequenceReceiveResponse.proofHeight: object expected");t.proofHeight=s.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(a.Long){var r=new a.Long(0,0,!0);n.nextSequenceReceive=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.nextSequenceReceive=t.longs===String?"0":0;t.bytes===String?n.proof="":(n.proof=[],t.bytes!==Array&&(n.proof=a.newBuffer(n.proof))),n.proofHeight=null}return null!=e.nextSequenceReceive&&e.hasOwnProperty("nextSequenceReceive")&&("number"==typeof e.nextSequenceReceive?n.nextSequenceReceive=t.longs===String?String(e.nextSequenceReceive):e.nextSequenceReceive:n.nextSequenceReceive=t.longs===String?a.Long.prototype.toString.call(e.nextSequenceReceive):t.longs===Number?new a.LongBits(e.nextSequenceReceive.low>>>0,e.nextSequenceReceive.high>>>0).toNumber(!0):e.nextSequenceReceive),null!=e.proof&&e.hasOwnProperty("proof")&&(n.proof=t.bytes===String?a.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(n.proofHeight=s.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e}(),e}(),e.client=function(){const e={};return e.v1=function(){const e={};return e.Msg=function(){function e(e,t,n){r.rpc.Service.call(this,e,t,n)}return(e.prototype=Object.create(r.rpc.Service.prototype)).constructor=e,e.create=function(e,t,n){return new this(e,t,n)},Object.defineProperty(e.prototype.createClient=function e(t,n){return this.rpcCall(e,s.ibc.core.client.v1.MsgCreateClient,s.ibc.core.client.v1.MsgCreateClientResponse,t,n)},"name",{value:"CreateClient"}),Object.defineProperty(e.prototype.updateClient=function e(t,n){return this.rpcCall(e,s.ibc.core.client.v1.MsgUpdateClient,s.ibc.core.client.v1.MsgUpdateClientResponse,t,n)},"name",{value:"UpdateClient"}),Object.defineProperty(e.prototype.upgradeClient=function e(t,n){return this.rpcCall(e,s.ibc.core.client.v1.MsgUpgradeClient,s.ibc.core.client.v1.MsgUpgradeClientResponse,t,n)},"name",{value:"UpgradeClient"}),Object.defineProperty(e.prototype.submitMisbehaviour=function e(t,n){return this.rpcCall(e,s.ibc.core.client.v1.MsgSubmitMisbehaviour,s.ibc.core.client.v1.MsgSubmitMisbehaviourResponse,t,n)},"name",{value:"SubmitMisbehaviour"}),e}(),e.MsgCreateClient=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.clientId=e.string();break;case 2:r.clientState=s.google.protobuf.Any.decode(e,e.uint32());break;case 3:r.consensusState=s.google.protobuf.Any.decode(e,e.uint32());break;case 4:r.signer=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.client.v1.MsgCreateClient)return e;var t=new s.ibc.core.client.v1.MsgCreateClient;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.clientState){if("object"!=typeof e.clientState)throw TypeError(".ibc.core.client.v1.MsgCreateClient.clientState: object expected");t.clientState=s.google.protobuf.Any.fromObject(e.clientState)}if(null!=e.consensusState){if("object"!=typeof e.consensusState)throw TypeError(".ibc.core.client.v1.MsgCreateClient.consensusState: object expected");t.consensusState=s.google.protobuf.Any.fromObject(e.consensusState)}return null!=e.signer&&(t.signer=String(e.signer)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.clientId="",n.clientState=null,n.consensusState=null,n.signer=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(n.clientId=e.clientId),null!=e.clientState&&e.hasOwnProperty("clientState")&&(n.clientState=s.google.protobuf.Any.toObject(e.clientState,t)),null!=e.consensusState&&e.hasOwnProperty("consensusState")&&(n.consensusState=s.google.protobuf.Any.toObject(e.consensusState,t)),null!=e.signer&&e.hasOwnProperty("signer")&&(n.signer=e.signer),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.MsgCreateClientResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.clientId=e.string();break;case 2:r.header=s.google.protobuf.Any.decode(e,e.uint32());break;case 3:r.signer=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.client.v1.MsgUpdateClient)return e;var t=new s.ibc.core.client.v1.MsgUpdateClient;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.header){if("object"!=typeof e.header)throw TypeError(".ibc.core.client.v1.MsgUpdateClient.header: object expected");t.header=s.google.protobuf.Any.fromObject(e.header)}return null!=e.signer&&(t.signer=String(e.signer)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.clientId="",n.header=null,n.signer=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(n.clientId=e.clientId),null!=e.header&&e.hasOwnProperty("header")&&(n.header=s.google.protobuf.Any.toObject(e.header,t)),null!=e.signer&&e.hasOwnProperty("signer")&&(n.signer=e.signer),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.MsgUpdateClientResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.clientId=e.string();break;case 2:r.clientState=s.google.protobuf.Any.decode(e,e.uint32());break;case 3:r.upgradeHeight=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;case 4:r.proofUpgrade=e.bytes();break;case 5:r.signer=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.client.v1.MsgUpgradeClient)return e;var t=new s.ibc.core.client.v1.MsgUpgradeClient;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.clientState){if("object"!=typeof e.clientState)throw TypeError(".ibc.core.client.v1.MsgUpgradeClient.clientState: object expected");t.clientState=s.google.protobuf.Any.fromObject(e.clientState)}if(null!=e.upgradeHeight){if("object"!=typeof e.upgradeHeight)throw TypeError(".ibc.core.client.v1.MsgUpgradeClient.upgradeHeight: object expected");t.upgradeHeight=s.ibc.core.client.v1.Height.fromObject(e.upgradeHeight)}return null!=e.proofUpgrade&&("string"==typeof e.proofUpgrade?a.base64.decode(e.proofUpgrade,t.proofUpgrade=a.newBuffer(a.base64.length(e.proofUpgrade)),0):e.proofUpgrade.length&&(t.proofUpgrade=e.proofUpgrade)),null!=e.signer&&(t.signer=String(e.signer)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.clientId="",n.clientState=null,n.upgradeHeight=null,t.bytes===String?n.proofUpgrade="":(n.proofUpgrade=[],t.bytes!==Array&&(n.proofUpgrade=a.newBuffer(n.proofUpgrade))),n.signer=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(n.clientId=e.clientId),null!=e.clientState&&e.hasOwnProperty("clientState")&&(n.clientState=s.google.protobuf.Any.toObject(e.clientState,t)),null!=e.upgradeHeight&&e.hasOwnProperty("upgradeHeight")&&(n.upgradeHeight=s.ibc.core.client.v1.Height.toObject(e.upgradeHeight,t)),null!=e.proofUpgrade&&e.hasOwnProperty("proofUpgrade")&&(n.proofUpgrade=t.bytes===String?a.base64.encode(e.proofUpgrade,0,e.proofUpgrade.length):t.bytes===Array?Array.prototype.slice.call(e.proofUpgrade):e.proofUpgrade),null!=e.signer&&e.hasOwnProperty("signer")&&(n.signer=e.signer),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.MsgUpgradeClientResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.clientId=e.string();break;case 2:r.misbehaviour=s.google.protobuf.Any.decode(e,e.uint32());break;case 3:r.signer=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.client.v1.MsgSubmitMisbehaviour)return e;var t=new s.ibc.core.client.v1.MsgSubmitMisbehaviour;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.misbehaviour){if("object"!=typeof e.misbehaviour)throw TypeError(".ibc.core.client.v1.MsgSubmitMisbehaviour.misbehaviour: object expected");t.misbehaviour=s.google.protobuf.Any.fromObject(e.misbehaviour)}return null!=e.signer&&(t.signer=String(e.signer)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.clientId="",n.misbehaviour=null,n.signer=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(n.clientId=e.clientId),null!=e.misbehaviour&&e.hasOwnProperty("misbehaviour")&&(n.misbehaviour=s.google.protobuf.Any.toObject(e.misbehaviour,t)),null!=e.signer&&e.hasOwnProperty("signer")&&(n.signer=e.signer),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.MsgSubmitMisbehaviourResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.clientId=e.string();break;case 2:r.clientState=s.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.client.v1.IdentifiedClientState)return e;var t=new s.ibc.core.client.v1.IdentifiedClientState;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.clientState){if("object"!=typeof e.clientState)throw TypeError(".ibc.core.client.v1.IdentifiedClientState.clientState: object expected");t.clientState=s.google.protobuf.Any.fromObject(e.clientState)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.clientId="",n.clientState=null),null!=e.clientId&&e.hasOwnProperty("clientId")&&(n.clientId=e.clientId),null!=e.clientState&&e.hasOwnProperty("clientState")&&(n.clientState=s.google.protobuf.Any.toObject(e.clientState,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.ConsensusStateWithHeight=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.height=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;case 2:r.consensusState=s.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.client.v1.ConsensusStateWithHeight)return e;var t=new s.ibc.core.client.v1.ConsensusStateWithHeight;if(null!=e.height){if("object"!=typeof e.height)throw TypeError(".ibc.core.client.v1.ConsensusStateWithHeight.height: object expected");t.height=s.ibc.core.client.v1.Height.fromObject(e.height)}if(null!=e.consensusState){if("object"!=typeof e.consensusState)throw TypeError(".ibc.core.client.v1.ConsensusStateWithHeight.consensusState: object expected");t.consensusState=s.google.protobuf.Any.fromObject(e.consensusState)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.height=null,n.consensusState=null),null!=e.height&&e.hasOwnProperty("height")&&(n.height=s.ibc.core.client.v1.Height.toObject(e.height,t)),null!=e.consensusState&&e.hasOwnProperty("consensusState")&&(n.consensusState=s.google.protobuf.Any.toObject(e.consensusState,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.ClientConsensusStates=function(){function e(e){if(this.consensusStates=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.clientId=e.string();break;case 2:r.consensusStates&&r.consensusStates.length||(r.consensusStates=[]),r.consensusStates.push(s.ibc.core.client.v1.ConsensusStateWithHeight.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.client.v1.ClientConsensusStates)return e;var t=new s.ibc.core.client.v1.ClientConsensusStates;if(null!=e.clientId&&(t.clientId=String(e.clientId)),e.consensusStates){if(!Array.isArray(e.consensusStates))throw TypeError(".ibc.core.client.v1.ClientConsensusStates.consensusStates: array expected");t.consensusStates=[];for(var n=0;n>>3){case 1:r.title=e.string();break;case 2:r.description=e.string();break;case 3:r.clientId=e.string();break;case 4:r.header=s.google.protobuf.Any.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.client.v1.ClientUpdateProposal)return e;var t=new s.ibc.core.client.v1.ClientUpdateProposal;if(null!=e.title&&(t.title=String(e.title)),null!=e.description&&(t.description=String(e.description)),null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.header){if("object"!=typeof e.header)throw TypeError(".ibc.core.client.v1.ClientUpdateProposal.header: object expected");t.header=s.google.protobuf.Any.fromObject(e.header)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.title="",n.description="",n.clientId="",n.header=null),null!=e.title&&e.hasOwnProperty("title")&&(n.title=e.title),null!=e.description&&e.hasOwnProperty("description")&&(n.description=e.description),null!=e.clientId&&e.hasOwnProperty("clientId")&&(n.clientId=e.clientId),null!=e.header&&e.hasOwnProperty("header")&&(n.header=s.google.protobuf.Any.toObject(e.header,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Height=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.versionNumber=e.uint64();break;case 2:r.versionHeight=e.uint64();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.client.v1.Height)return e;var t=new s.ibc.core.client.v1.Height;return null!=e.versionNumber&&(a.Long?(t.versionNumber=a.Long.fromValue(e.versionNumber)).unsigned=!0:"string"==typeof e.versionNumber?t.versionNumber=parseInt(e.versionNumber,10):"number"==typeof e.versionNumber?t.versionNumber=e.versionNumber:"object"==typeof e.versionNumber&&(t.versionNumber=new a.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0))),null!=e.versionHeight&&(a.Long?(t.versionHeight=a.Long.fromValue(e.versionHeight)).unsigned=!0:"string"==typeof e.versionHeight?t.versionHeight=parseInt(e.versionHeight,10):"number"==typeof e.versionHeight?t.versionHeight=e.versionHeight:"object"==typeof e.versionHeight&&(t.versionHeight=new a.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(a.Long){var r=new a.Long(0,0,!0);n.versionNumber=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.versionNumber=t.longs===String?"0":0;if(a.Long){r=new a.Long(0,0,!0);n.versionHeight=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.versionHeight=t.longs===String?"0":0}return null!=e.versionNumber&&e.hasOwnProperty("versionNumber")&&("number"==typeof e.versionNumber?n.versionNumber=t.longs===String?String(e.versionNumber):e.versionNumber:n.versionNumber=t.longs===String?a.Long.prototype.toString.call(e.versionNumber):t.longs===Number?new a.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0):e.versionNumber),null!=e.versionHeight&&e.hasOwnProperty("versionHeight")&&("number"==typeof e.versionHeight?n.versionHeight=t.longs===String?String(e.versionHeight):e.versionHeight:n.versionHeight=t.longs===String?a.Long.prototype.toString.call(e.versionHeight):t.longs===Number?new a.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0):e.versionHeight),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e}(),e}(),e.commitment=function(){const e={};return e.v1=function(){const e={};return e.MerkleRoot=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.hash=e.bytes();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.commitment.v1.MerkleRoot)return e;var t=new s.ibc.core.commitment.v1.MerkleRoot;return null!=e.hash&&("string"==typeof e.hash?a.base64.decode(e.hash,t.hash=a.newBuffer(a.base64.length(e.hash)),0):e.hash.length&&(t.hash=e.hash)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.hash="":(n.hash=[],t.bytes!==Array&&(n.hash=a.newBuffer(n.hash)))),null!=e.hash&&e.hasOwnProperty("hash")&&(n.hash=t.bytes===String?a.base64.encode(e.hash,0,e.hash.length):t.bytes===Array?Array.prototype.slice.call(e.hash):e.hash),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.MerklePrefix=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.keyPrefix=e.bytes();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.commitment.v1.MerklePrefix)return e;var t=new s.ibc.core.commitment.v1.MerklePrefix;return null!=e.keyPrefix&&("string"==typeof e.keyPrefix?a.base64.decode(e.keyPrefix,t.keyPrefix=a.newBuffer(a.base64.length(e.keyPrefix)),0):e.keyPrefix.length&&(t.keyPrefix=e.keyPrefix)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.keyPrefix="":(n.keyPrefix=[],t.bytes!==Array&&(n.keyPrefix=a.newBuffer(n.keyPrefix)))),null!=e.keyPrefix&&e.hasOwnProperty("keyPrefix")&&(n.keyPrefix=t.bytes===String?a.base64.encode(e.keyPrefix,0,e.keyPrefix.length):t.bytes===Array?Array.prototype.slice.call(e.keyPrefix):e.keyPrefix),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.MerklePath=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.keyPath=s.ibc.core.commitment.v1.KeyPath.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.commitment.v1.MerklePath)return e;var t=new s.ibc.core.commitment.v1.MerklePath;if(null!=e.keyPath){if("object"!=typeof e.keyPath)throw TypeError(".ibc.core.commitment.v1.MerklePath.keyPath: object expected");t.keyPath=s.ibc.core.commitment.v1.KeyPath.fromObject(e.keyPath)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.keyPath=null),null!=e.keyPath&&e.hasOwnProperty("keyPath")&&(n.keyPath=s.ibc.core.commitment.v1.KeyPath.toObject(e.keyPath,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.MerkleProof=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.proof=s.tendermint.crypto.ProofOps.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.commitment.v1.MerkleProof)return e;var t=new s.ibc.core.commitment.v1.MerkleProof;if(null!=e.proof){if("object"!=typeof e.proof)throw TypeError(".ibc.core.commitment.v1.MerkleProof.proof: object expected");t.proof=s.tendermint.crypto.ProofOps.fromObject(e.proof)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.proof=null),null!=e.proof&&e.hasOwnProperty("proof")&&(n.proof=s.tendermint.crypto.ProofOps.toObject(e.proof,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.KeyPath=function(){function e(e){if(this.keys=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.keys&&r.keys.length||(r.keys=[]),r.keys.push(s.ibc.core.commitment.v1.Key.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.commitment.v1.KeyPath)return e;var t=new s.ibc.core.commitment.v1.KeyPath;if(e.keys){if(!Array.isArray(e.keys))throw TypeError(".ibc.core.commitment.v1.KeyPath.keys: array expected");t.keys=[];for(var n=0;n>>3){case 1:r.name=e.bytes();break;case 2:r.enc=e.int32();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.commitment.v1.Key)return e;var t=new s.ibc.core.commitment.v1.Key;switch(null!=e.name&&("string"==typeof e.name?a.base64.decode(e.name,t.name=a.newBuffer(a.base64.length(e.name)),0):e.name.length&&(t.name=e.name)),e.enc){case"KEY_ENCODING_URL_UNSPECIFIED":case 0:t.enc=0;break;case"KEY_ENCODING_HEX":case 1:t.enc=1}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.name="":(n.name=[],t.bytes!==Array&&(n.name=a.newBuffer(n.name))),n.enc=t.enums===String?"KEY_ENCODING_URL_UNSPECIFIED":0),null!=e.name&&e.hasOwnProperty("name")&&(n.name=t.bytes===String?a.base64.encode(e.name,0,e.name.length):t.bytes===Array?Array.prototype.slice.call(e.name):e.name),null!=e.enc&&e.hasOwnProperty("enc")&&(n.enc=t.enums===String?s.ibc.core.commitment.v1.KeyEncoding[e.enc]:e.enc),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.KeyEncoding=function(){const e={},t=Object.create(e);return t[e[0]="KEY_ENCODING_URL_UNSPECIFIED"]=0,t[e[1]="KEY_ENCODING_HEX"]=1,t}(),e}(),e}(),e.connection=function(){const e={};return e.v1=function(){const e={};return e.ConnectionEnd=function(){function e(e){if(this.versions=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.clientId=e.string();break;case 2:r.versions&&r.versions.length||(r.versions=[]),r.versions.push(s.ibc.core.connection.v1.Version.decode(e,e.uint32()));break;case 3:r.state=e.int32();break;case 4:r.counterparty=s.ibc.core.connection.v1.Counterparty.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.connection.v1.ConnectionEnd)return e;var t=new s.ibc.core.connection.v1.ConnectionEnd;if(null!=e.clientId&&(t.clientId=String(e.clientId)),e.versions){if(!Array.isArray(e.versions))throw TypeError(".ibc.core.connection.v1.ConnectionEnd.versions: array expected");t.versions=[];for(var n=0;n>>3){case 1:r.id=e.string();break;case 2:r.clientId=e.string();break;case 3:r.versions&&r.versions.length||(r.versions=[]),r.versions.push(s.ibc.core.connection.v1.Version.decode(e,e.uint32()));break;case 4:r.state=e.int32();break;case 5:r.counterparty=s.ibc.core.connection.v1.Counterparty.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.connection.v1.IdentifiedConnection)return e;var t=new s.ibc.core.connection.v1.IdentifiedConnection;if(null!=e.id&&(t.id=String(e.id)),null!=e.clientId&&(t.clientId=String(e.clientId)),e.versions){if(!Array.isArray(e.versions))throw TypeError(".ibc.core.connection.v1.IdentifiedConnection.versions: array expected");t.versions=[];for(var n=0;n>>3){case 1:r.clientId=e.string();break;case 2:r.connectionId=e.string();break;case 3:r.prefix=s.ibc.core.commitment.v1.MerklePrefix.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.connection.v1.Counterparty)return e;var t=new s.ibc.core.connection.v1.Counterparty;if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.connectionId&&(t.connectionId=String(e.connectionId)),null!=e.prefix){if("object"!=typeof e.prefix)throw TypeError(".ibc.core.connection.v1.Counterparty.prefix: object expected");t.prefix=s.ibc.core.commitment.v1.MerklePrefix.fromObject(e.prefix)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.clientId="",n.connectionId="",n.prefix=null),null!=e.clientId&&e.hasOwnProperty("clientId")&&(n.clientId=e.clientId),null!=e.connectionId&&e.hasOwnProperty("connectionId")&&(n.connectionId=e.connectionId),null!=e.prefix&&e.hasOwnProperty("prefix")&&(n.prefix=s.ibc.core.commitment.v1.MerklePrefix.toObject(e.prefix,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.ClientPaths=function(){function e(e){if(this.paths=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.paths&&r.paths.length||(r.paths=[]),r.paths.push(e.string());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.connection.v1.ClientPaths)return e;var t=new s.ibc.core.connection.v1.ClientPaths;if(e.paths){if(!Array.isArray(e.paths))throw TypeError(".ibc.core.connection.v1.ClientPaths.paths: array expected");t.paths=[];for(var n=0;n>>3){case 1:r.clientId=e.string();break;case 2:r.paths&&r.paths.length||(r.paths=[]),r.paths.push(e.string());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.connection.v1.ConnectionPaths)return e;var t=new s.ibc.core.connection.v1.ConnectionPaths;if(null!=e.clientId&&(t.clientId=String(e.clientId)),e.paths){if(!Array.isArray(e.paths))throw TypeError(".ibc.core.connection.v1.ConnectionPaths.paths: array expected");t.paths=[];for(var n=0;n>>3){case 1:r.identifier=e.string();break;case 2:r.features&&r.features.length||(r.features=[]),r.features.push(e.string());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.connection.v1.Version)return e;var t=new s.ibc.core.connection.v1.Version;if(null!=e.identifier&&(t.identifier=String(e.identifier)),e.features){if(!Array.isArray(e.features))throw TypeError(".ibc.core.connection.v1.Version.features: array expected");t.features=[];for(var n=0;n>>3){case 1:r.connectionId=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.connection.v1.QueryConnectionRequest)return e;var t=new s.ibc.core.connection.v1.QueryConnectionRequest;return null!=e.connectionId&&(t.connectionId=String(e.connectionId)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.connectionId=""),null!=e.connectionId&&e.hasOwnProperty("connectionId")&&(n.connectionId=e.connectionId),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryConnectionResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.connection=s.ibc.core.connection.v1.ConnectionEnd.decode(e,e.uint32());break;case 2:r.proof=e.bytes();break;case 3:r.proofHeight=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.connection.v1.QueryConnectionResponse)return e;var t=new s.ibc.core.connection.v1.QueryConnectionResponse;if(null!=e.connection){if("object"!=typeof e.connection)throw TypeError(".ibc.core.connection.v1.QueryConnectionResponse.connection: object expected");t.connection=s.ibc.core.connection.v1.ConnectionEnd.fromObject(e.connection)}if(null!=e.proof&&("string"==typeof e.proof?a.base64.decode(e.proof,t.proof=a.newBuffer(a.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.connection.v1.QueryConnectionResponse.proofHeight: object expected");t.proofHeight=s.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.connection=null,t.bytes===String?n.proof="":(n.proof=[],t.bytes!==Array&&(n.proof=a.newBuffer(n.proof))),n.proofHeight=null),null!=e.connection&&e.hasOwnProperty("connection")&&(n.connection=s.ibc.core.connection.v1.ConnectionEnd.toObject(e.connection,t)),null!=e.proof&&e.hasOwnProperty("proof")&&(n.proof=t.bytes===String?a.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(n.proofHeight=s.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryConnectionsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.pagination=s.cosmos.base.query.v1beta1.PageRequest.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.connection.v1.QueryConnectionsRequest)return e;var t=new s.ibc.core.connection.v1.QueryConnectionsRequest;if(null!=e.pagination){if("object"!=typeof e.pagination)throw TypeError(".ibc.core.connection.v1.QueryConnectionsRequest.pagination: object expected");t.pagination=s.cosmos.base.query.v1beta1.PageRequest.fromObject(e.pagination)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.pagination=null),null!=e.pagination&&e.hasOwnProperty("pagination")&&(n.pagination=s.cosmos.base.query.v1beta1.PageRequest.toObject(e.pagination,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryConnectionsResponse=function(){function e(e){if(this.connections=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.connections&&r.connections.length||(r.connections=[]),r.connections.push(s.ibc.core.connection.v1.IdentifiedConnection.decode(e,e.uint32()));break;case 2:r.pagination=s.cosmos.base.query.v1beta1.PageResponse.decode(e,e.uint32());break;case 3:r.height=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.connection.v1.QueryConnectionsResponse)return e;var t=new s.ibc.core.connection.v1.QueryConnectionsResponse;if(e.connections){if(!Array.isArray(e.connections))throw TypeError(".ibc.core.connection.v1.QueryConnectionsResponse.connections: array expected");t.connections=[];for(var n=0;n>>3){case 1:r.clientId=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.connection.v1.QueryClientConnectionsRequest)return e;var t=new s.ibc.core.connection.v1.QueryClientConnectionsRequest;return null!=e.clientId&&(t.clientId=String(e.clientId)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.clientId=""),null!=e.clientId&&e.hasOwnProperty("clientId")&&(n.clientId=e.clientId),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryClientConnectionsResponse=function(){function e(e){if(this.connectionPaths=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.connectionPaths&&r.connectionPaths.length||(r.connectionPaths=[]),r.connectionPaths.push(e.string());break;case 2:r.proof=e.bytes();break;case 3:r.proofHeight=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.connection.v1.QueryClientConnectionsResponse)return e;var t=new s.ibc.core.connection.v1.QueryClientConnectionsResponse;if(e.connectionPaths){if(!Array.isArray(e.connectionPaths))throw TypeError(".ibc.core.connection.v1.QueryClientConnectionsResponse.connectionPaths: array expected");t.connectionPaths=[];for(var n=0;n>>3){case 1:r.connectionId=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.connection.v1.QueryConnectionClientStateRequest)return e;var t=new s.ibc.core.connection.v1.QueryConnectionClientStateRequest;return null!=e.connectionId&&(t.connectionId=String(e.connectionId)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.connectionId=""),null!=e.connectionId&&e.hasOwnProperty("connectionId")&&(n.connectionId=e.connectionId),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryConnectionClientStateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.identifiedClientState=s.ibc.core.client.v1.IdentifiedClientState.decode(e,e.uint32());break;case 2:r.proof=e.bytes();break;case 3:r.proofHeight=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.connection.v1.QueryConnectionClientStateResponse)return e;var t=new s.ibc.core.connection.v1.QueryConnectionClientStateResponse;if(null!=e.identifiedClientState){if("object"!=typeof e.identifiedClientState)throw TypeError(".ibc.core.connection.v1.QueryConnectionClientStateResponse.identifiedClientState: object expected");t.identifiedClientState=s.ibc.core.client.v1.IdentifiedClientState.fromObject(e.identifiedClientState)}if(null!=e.proof&&("string"==typeof e.proof?a.base64.decode(e.proof,t.proof=a.newBuffer(a.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.connection.v1.QueryConnectionClientStateResponse.proofHeight: object expected");t.proofHeight=s.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.identifiedClientState=null,t.bytes===String?n.proof="":(n.proof=[],t.bytes!==Array&&(n.proof=a.newBuffer(n.proof))),n.proofHeight=null),null!=e.identifiedClientState&&e.hasOwnProperty("identifiedClientState")&&(n.identifiedClientState=s.ibc.core.client.v1.IdentifiedClientState.toObject(e.identifiedClientState,t)),null!=e.proof&&e.hasOwnProperty("proof")&&(n.proof=t.bytes===String?a.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(n.proofHeight=s.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryConnectionConsensusStateRequest=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.connectionId=e.string();break;case 2:r.versionNumber=e.uint64();break;case 3:r.versionHeight=e.uint64();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.connection.v1.QueryConnectionConsensusStateRequest)return e;var t=new s.ibc.core.connection.v1.QueryConnectionConsensusStateRequest;return null!=e.connectionId&&(t.connectionId=String(e.connectionId)),null!=e.versionNumber&&(a.Long?(t.versionNumber=a.Long.fromValue(e.versionNumber)).unsigned=!0:"string"==typeof e.versionNumber?t.versionNumber=parseInt(e.versionNumber,10):"number"==typeof e.versionNumber?t.versionNumber=e.versionNumber:"object"==typeof e.versionNumber&&(t.versionNumber=new a.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0))),null!=e.versionHeight&&(a.Long?(t.versionHeight=a.Long.fromValue(e.versionHeight)).unsigned=!0:"string"==typeof e.versionHeight?t.versionHeight=parseInt(e.versionHeight,10):"number"==typeof e.versionHeight?t.versionHeight=e.versionHeight:"object"==typeof e.versionHeight&&(t.versionHeight=new a.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(n.connectionId="",a.Long){var r=new a.Long(0,0,!0);n.versionNumber=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.versionNumber=t.longs===String?"0":0;if(a.Long){r=new a.Long(0,0,!0);n.versionHeight=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.versionHeight=t.longs===String?"0":0}return null!=e.connectionId&&e.hasOwnProperty("connectionId")&&(n.connectionId=e.connectionId),null!=e.versionNumber&&e.hasOwnProperty("versionNumber")&&("number"==typeof e.versionNumber?n.versionNumber=t.longs===String?String(e.versionNumber):e.versionNumber:n.versionNumber=t.longs===String?a.Long.prototype.toString.call(e.versionNumber):t.longs===Number?new a.LongBits(e.versionNumber.low>>>0,e.versionNumber.high>>>0).toNumber(!0):e.versionNumber),null!=e.versionHeight&&e.hasOwnProperty("versionHeight")&&("number"==typeof e.versionHeight?n.versionHeight=t.longs===String?String(e.versionHeight):e.versionHeight:n.versionHeight=t.longs===String?a.Long.prototype.toString.call(e.versionHeight):t.longs===Number?new a.LongBits(e.versionHeight.low>>>0,e.versionHeight.high>>>0).toNumber(!0):e.versionHeight),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.QueryConnectionConsensusStateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.consensusState=s.google.protobuf.Any.decode(e,e.uint32());break;case 2:r.clientId=e.string();break;case 3:r.proof=e.bytes();break;case 4:r.proofHeight=s.ibc.core.client.v1.Height.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.ibc.core.connection.v1.QueryConnectionConsensusStateResponse)return e;var t=new s.ibc.core.connection.v1.QueryConnectionConsensusStateResponse;if(null!=e.consensusState){if("object"!=typeof e.consensusState)throw TypeError(".ibc.core.connection.v1.QueryConnectionConsensusStateResponse.consensusState: object expected");t.consensusState=s.google.protobuf.Any.fromObject(e.consensusState)}if(null!=e.clientId&&(t.clientId=String(e.clientId)),null!=e.proof&&("string"==typeof e.proof?a.base64.decode(e.proof,t.proof=a.newBuffer(a.base64.length(e.proof)),0):e.proof.length&&(t.proof=e.proof)),null!=e.proofHeight){if("object"!=typeof e.proofHeight)throw TypeError(".ibc.core.connection.v1.QueryConnectionConsensusStateResponse.proofHeight: object expected");t.proofHeight=s.ibc.core.client.v1.Height.fromObject(e.proofHeight)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.consensusState=null,n.clientId="",t.bytes===String?n.proof="":(n.proof=[],t.bytes!==Array&&(n.proof=a.newBuffer(n.proof))),n.proofHeight=null),null!=e.consensusState&&e.hasOwnProperty("consensusState")&&(n.consensusState=s.google.protobuf.Any.toObject(e.consensusState,t)),null!=e.clientId&&e.hasOwnProperty("clientId")&&(n.clientId=e.clientId),null!=e.proof&&e.hasOwnProperty("proof")&&(n.proof=t.bytes===String?a.base64.encode(e.proof,0,e.proof.length):t.bytes===Array?Array.prototype.slice.call(e.proof):e.proof),null!=e.proofHeight&&e.hasOwnProperty("proofHeight")&&(n.proofHeight=s.ibc.core.client.v1.Height.toObject(e.proofHeight,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e}(),e}(),e}(),e})(),t.tendermint=s.tendermint=(()=>{const e={};return e.crypto=function(){const e={};return e.PublicKey=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.ed25519=e.bytes();break;case 2:r.secp256k1=e.bytes();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.crypto.PublicKey)return e;var t=new s.tendermint.crypto.PublicKey;return null!=e.ed25519&&("string"==typeof e.ed25519?a.base64.decode(e.ed25519,t.ed25519=a.newBuffer(a.base64.length(e.ed25519)),0):e.ed25519.length&&(t.ed25519=e.ed25519)),null!=e.secp256k1&&("string"==typeof e.secp256k1?a.base64.decode(e.secp256k1,t.secp256k1=a.newBuffer(a.base64.length(e.secp256k1)),0):e.secp256k1.length&&(t.secp256k1=e.secp256k1)),t},e.toObject=function(e,t){t||(t={});var n={};return null!=e.ed25519&&e.hasOwnProperty("ed25519")&&(n.ed25519=t.bytes===String?a.base64.encode(e.ed25519,0,e.ed25519.length):t.bytes===Array?Array.prototype.slice.call(e.ed25519):e.ed25519,t.oneofs&&(n.sum="ed25519")),null!=e.secp256k1&&e.hasOwnProperty("secp256k1")&&(n.secp256k1=t.bytes===String?a.base64.encode(e.secp256k1,0,e.secp256k1.length):t.bytes===Array?Array.prototype.slice.call(e.secp256k1):e.secp256k1,t.oneofs&&(n.sum="secp256k1")),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Proof=function(){function e(e){if(this.aunts=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.total=e.int64();break;case 2:r.index=e.int64();break;case 3:r.leafHash=e.bytes();break;case 4:r.aunts&&r.aunts.length||(r.aunts=[]),r.aunts.push(e.bytes());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.crypto.Proof)return e;var t=new s.tendermint.crypto.Proof;if(null!=e.total&&(a.Long?(t.total=a.Long.fromValue(e.total)).unsigned=!1:"string"==typeof e.total?t.total=parseInt(e.total,10):"number"==typeof e.total?t.total=e.total:"object"==typeof e.total&&(t.total=new a.LongBits(e.total.low>>>0,e.total.high>>>0).toNumber())),null!=e.index&&(a.Long?(t.index=a.Long.fromValue(e.index)).unsigned=!1:"string"==typeof e.index?t.index=parseInt(e.index,10):"number"==typeof e.index?t.index=e.index:"object"==typeof e.index&&(t.index=new a.LongBits(e.index.low>>>0,e.index.high>>>0).toNumber())),null!=e.leafHash&&("string"==typeof e.leafHash?a.base64.decode(e.leafHash,t.leafHash=a.newBuffer(a.base64.length(e.leafHash)),0):e.leafHash.length&&(t.leafHash=e.leafHash)),e.aunts){if(!Array.isArray(e.aunts))throw TypeError(".tendermint.crypto.Proof.aunts: array expected");t.aunts=[];for(var n=0;n>>0,e.total.high>>>0).toNumber():e.total),null!=e.index&&e.hasOwnProperty("index")&&("number"==typeof e.index?n.index=t.longs===String?String(e.index):e.index:n.index=t.longs===String?a.Long.prototype.toString.call(e.index):t.longs===Number?new a.LongBits(e.index.low>>>0,e.index.high>>>0).toNumber():e.index),null!=e.leafHash&&e.hasOwnProperty("leafHash")&&(n.leafHash=t.bytes===String?a.base64.encode(e.leafHash,0,e.leafHash.length):t.bytes===Array?Array.prototype.slice.call(e.leafHash):e.leafHash),e.aunts&&e.aunts.length){n.aunts=[];for(var i=0;i>>3){case 1:r.key=e.bytes();break;case 2:r.proof=s.tendermint.crypto.Proof.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.crypto.ValueOp)return e;var t=new s.tendermint.crypto.ValueOp;if(null!=e.key&&("string"==typeof e.key?a.base64.decode(e.key,t.key=a.newBuffer(a.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),null!=e.proof){if("object"!=typeof e.proof)throw TypeError(".tendermint.crypto.ValueOp.proof: object expected");t.proof=s.tendermint.crypto.Proof.fromObject(e.proof)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.key="":(n.key=[],t.bytes!==Array&&(n.key=a.newBuffer(n.key))),n.proof=null),null!=e.key&&e.hasOwnProperty("key")&&(n.key=t.bytes===String?a.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),null!=e.proof&&e.hasOwnProperty("proof")&&(n.proof=s.tendermint.crypto.Proof.toObject(e.proof,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.DominoOp=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.key=e.string();break;case 2:r.input=e.string();break;case 3:r.output=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.crypto.DominoOp)return e;var t=new s.tendermint.crypto.DominoOp;return null!=e.key&&(t.key=String(e.key)),null!=e.input&&(t.input=String(e.input)),null!=e.output&&(t.output=String(e.output)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.key="",n.input="",n.output=""),null!=e.key&&e.hasOwnProperty("key")&&(n.key=e.key),null!=e.input&&e.hasOwnProperty("input")&&(n.input=e.input),null!=e.output&&e.hasOwnProperty("output")&&(n.output=e.output),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.ProofOp=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.type=e.string();break;case 2:r.key=e.bytes();break;case 3:r.data=e.bytes();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.crypto.ProofOp)return e;var t=new s.tendermint.crypto.ProofOp;return null!=e.type&&(t.type=String(e.type)),null!=e.key&&("string"==typeof e.key?a.base64.decode(e.key,t.key=a.newBuffer(a.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),null!=e.data&&("string"==typeof e.data?a.base64.decode(e.data,t.data=a.newBuffer(a.base64.length(e.data)),0):e.data.length&&(t.data=e.data)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.type="",t.bytes===String?n.key="":(n.key=[],t.bytes!==Array&&(n.key=a.newBuffer(n.key))),t.bytes===String?n.data="":(n.data=[],t.bytes!==Array&&(n.data=a.newBuffer(n.data)))),null!=e.type&&e.hasOwnProperty("type")&&(n.type=e.type),null!=e.key&&e.hasOwnProperty("key")&&(n.key=t.bytes===String?a.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),null!=e.data&&e.hasOwnProperty("data")&&(n.data=t.bytes===String?a.base64.encode(e.data,0,e.data.length):t.bytes===Array?Array.prototype.slice.call(e.data):e.data),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.ProofOps=function(){function e(e){if(this.ops=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.ops&&r.ops.length||(r.ops=[]),r.ops.push(s.tendermint.crypto.ProofOp.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.crypto.ProofOps)return e;var t=new s.tendermint.crypto.ProofOps;if(e.ops){if(!Array.isArray(e.ops))throw TypeError(".tendermint.crypto.ProofOps.ops: array expected");t.ops=[];for(var n=0;n>>3){case 1:r.bits=e.int64();break;case 2:if(r.elems&&r.elems.length||(r.elems=[]),2==(7&o))for(var a=e.uint32()+e.pos;e.pos>>0,e.bits.high>>>0).toNumber())),e.elems){if(!Array.isArray(e.elems))throw TypeError(".tendermint.libs.bits.BitArray.elems: array expected");t.elems=[];for(var n=0;n>>0,e.elems[n].high>>>0).toNumber(!0))}return t},e.toObject=function(e,t){t||(t={});var n={};if((t.arrays||t.defaults)&&(n.elems=[]),t.defaults)if(a.Long){var r=new a.Long(0,0,!1);n.bits=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.bits=t.longs===String?"0":0;if(null!=e.bits&&e.hasOwnProperty("bits")&&("number"==typeof e.bits?n.bits=t.longs===String?String(e.bits):e.bits:n.bits=t.longs===String?a.Long.prototype.toString.call(e.bits):t.longs===Number?new a.LongBits(e.bits.low>>>0,e.bits.high>>>0).toNumber():e.bits),e.elems&&e.elems.length){n.elems=[];for(var i=0;i>>0,e.elems[i].high>>>0).toNumber(!0):e.elems[i]}return n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e}(),e}(),e.types=function(){const e={};return e.BlockIDFlag=function(){const e={},t=Object.create(e);return t[e[0]="BLOCK_ID_FLAG_UNKNOWN"]=0,t[e[1]="BLOCK_ID_FLAG_ABSENT"]=1,t[e[2]="BLOCK_ID_FLAG_COMMIT"]=2,t[e[3]="BLOCK_ID_FLAG_NIL"]=3,t}(),e.SignedMsgType=function(){const e={},t=Object.create(e);return t[e[0]="SIGNED_MSG_TYPE_UNKNOWN"]=0,t[e[1]="SIGNED_MSG_TYPE_PREVOTE"]=1,t[e[2]="SIGNED_MSG_TYPE_PRECOMMIT"]=2,t[e[32]="SIGNED_MSG_TYPE_PROPOSAL"]=32,t}(),e.PartSetHeader=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.total=e.uint32();break;case 2:r.hash=e.bytes();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.types.PartSetHeader)return e;var t=new s.tendermint.types.PartSetHeader;return null!=e.total&&(t.total=e.total>>>0),null!=e.hash&&("string"==typeof e.hash?a.base64.decode(e.hash,t.hash=a.newBuffer(a.base64.length(e.hash)),0):e.hash.length&&(t.hash=e.hash)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.total=0,t.bytes===String?n.hash="":(n.hash=[],t.bytes!==Array&&(n.hash=a.newBuffer(n.hash)))),null!=e.total&&e.hasOwnProperty("total")&&(n.total=e.total),null!=e.hash&&e.hasOwnProperty("hash")&&(n.hash=t.bytes===String?a.base64.encode(e.hash,0,e.hash.length):t.bytes===Array?Array.prototype.slice.call(e.hash):e.hash),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Part=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.index=e.uint32();break;case 2:r.bytes=e.bytes();break;case 3:r.proof=s.tendermint.crypto.Proof.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.types.Part)return e;var t=new s.tendermint.types.Part;if(null!=e.index&&(t.index=e.index>>>0),null!=e.bytes&&("string"==typeof e.bytes?a.base64.decode(e.bytes,t.bytes=a.newBuffer(a.base64.length(e.bytes)),0):e.bytes.length&&(t.bytes=e.bytes)),null!=e.proof){if("object"!=typeof e.proof)throw TypeError(".tendermint.types.Part.proof: object expected");t.proof=s.tendermint.crypto.Proof.fromObject(e.proof)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.index=0,t.bytes===String?n.bytes="":(n.bytes=[],t.bytes!==Array&&(n.bytes=a.newBuffer(n.bytes))),n.proof=null),null!=e.index&&e.hasOwnProperty("index")&&(n.index=e.index),null!=e.bytes&&e.hasOwnProperty("bytes")&&(n.bytes=t.bytes===String?a.base64.encode(e.bytes,0,e.bytes.length):t.bytes===Array?Array.prototype.slice.call(e.bytes):e.bytes),null!=e.proof&&e.hasOwnProperty("proof")&&(n.proof=s.tendermint.crypto.Proof.toObject(e.proof,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.BlockID=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.hash=e.bytes();break;case 2:r.partSetHeader=s.tendermint.types.PartSetHeader.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.types.BlockID)return e;var t=new s.tendermint.types.BlockID;if(null!=e.hash&&("string"==typeof e.hash?a.base64.decode(e.hash,t.hash=a.newBuffer(a.base64.length(e.hash)),0):e.hash.length&&(t.hash=e.hash)),null!=e.partSetHeader){if("object"!=typeof e.partSetHeader)throw TypeError(".tendermint.types.BlockID.partSetHeader: object expected");t.partSetHeader=s.tendermint.types.PartSetHeader.fromObject(e.partSetHeader)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.hash="":(n.hash=[],t.bytes!==Array&&(n.hash=a.newBuffer(n.hash))),n.partSetHeader=null),null!=e.hash&&e.hasOwnProperty("hash")&&(n.hash=t.bytes===String?a.base64.encode(e.hash,0,e.hash.length):t.bytes===Array?Array.prototype.slice.call(e.hash):e.hash),null!=e.partSetHeader&&e.hasOwnProperty("partSetHeader")&&(n.partSetHeader=s.tendermint.types.PartSetHeader.toObject(e.partSetHeader,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Header=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.version=s.tendermint.version.Consensus.decode(e,e.uint32());break;case 2:r.chainId=e.string();break;case 3:r.height=e.int64();break;case 4:r.time=s.google.protobuf.Timestamp.decode(e,e.uint32());break;case 5:r.lastBlockId=s.tendermint.types.BlockID.decode(e,e.uint32());break;case 6:r.lastCommitHash=e.bytes();break;case 7:r.dataHash=e.bytes();break;case 8:r.validatorsHash=e.bytes();break;case 9:r.nextValidatorsHash=e.bytes();break;case 10:r.consensusHash=e.bytes();break;case 11:r.appHash=e.bytes();break;case 12:r.lastResultsHash=e.bytes();break;case 13:r.evidenceHash=e.bytes();break;case 14:r.proposerAddress=e.bytes();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.types.Header)return e;var t=new s.tendermint.types.Header;if(null!=e.version){if("object"!=typeof e.version)throw TypeError(".tendermint.types.Header.version: object expected");t.version=s.tendermint.version.Consensus.fromObject(e.version)}if(null!=e.chainId&&(t.chainId=String(e.chainId)),null!=e.height&&(a.Long?(t.height=a.Long.fromValue(e.height)).unsigned=!1:"string"==typeof e.height?t.height=parseInt(e.height,10):"number"==typeof e.height?t.height=e.height:"object"==typeof e.height&&(t.height=new a.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber())),null!=e.time){if("object"!=typeof e.time)throw TypeError(".tendermint.types.Header.time: object expected");t.time=s.google.protobuf.Timestamp.fromObject(e.time)}if(null!=e.lastBlockId){if("object"!=typeof e.lastBlockId)throw TypeError(".tendermint.types.Header.lastBlockId: object expected");t.lastBlockId=s.tendermint.types.BlockID.fromObject(e.lastBlockId)}return null!=e.lastCommitHash&&("string"==typeof e.lastCommitHash?a.base64.decode(e.lastCommitHash,t.lastCommitHash=a.newBuffer(a.base64.length(e.lastCommitHash)),0):e.lastCommitHash.length&&(t.lastCommitHash=e.lastCommitHash)),null!=e.dataHash&&("string"==typeof e.dataHash?a.base64.decode(e.dataHash,t.dataHash=a.newBuffer(a.base64.length(e.dataHash)),0):e.dataHash.length&&(t.dataHash=e.dataHash)),null!=e.validatorsHash&&("string"==typeof e.validatorsHash?a.base64.decode(e.validatorsHash,t.validatorsHash=a.newBuffer(a.base64.length(e.validatorsHash)),0):e.validatorsHash.length&&(t.validatorsHash=e.validatorsHash)),null!=e.nextValidatorsHash&&("string"==typeof e.nextValidatorsHash?a.base64.decode(e.nextValidatorsHash,t.nextValidatorsHash=a.newBuffer(a.base64.length(e.nextValidatorsHash)),0):e.nextValidatorsHash.length&&(t.nextValidatorsHash=e.nextValidatorsHash)),null!=e.consensusHash&&("string"==typeof e.consensusHash?a.base64.decode(e.consensusHash,t.consensusHash=a.newBuffer(a.base64.length(e.consensusHash)),0):e.consensusHash.length&&(t.consensusHash=e.consensusHash)),null!=e.appHash&&("string"==typeof e.appHash?a.base64.decode(e.appHash,t.appHash=a.newBuffer(a.base64.length(e.appHash)),0):e.appHash.length&&(t.appHash=e.appHash)),null!=e.lastResultsHash&&("string"==typeof e.lastResultsHash?a.base64.decode(e.lastResultsHash,t.lastResultsHash=a.newBuffer(a.base64.length(e.lastResultsHash)),0):e.lastResultsHash.length&&(t.lastResultsHash=e.lastResultsHash)),null!=e.evidenceHash&&("string"==typeof e.evidenceHash?a.base64.decode(e.evidenceHash,t.evidenceHash=a.newBuffer(a.base64.length(e.evidenceHash)),0):e.evidenceHash.length&&(t.evidenceHash=e.evidenceHash)),null!=e.proposerAddress&&("string"==typeof e.proposerAddress?a.base64.decode(e.proposerAddress,t.proposerAddress=a.newBuffer(a.base64.length(e.proposerAddress)),0):e.proposerAddress.length&&(t.proposerAddress=e.proposerAddress)),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(n.version=null,n.chainId="",a.Long){var r=new a.Long(0,0,!1);n.height=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.height=t.longs===String?"0":0;n.time=null,n.lastBlockId=null,t.bytes===String?n.lastCommitHash="":(n.lastCommitHash=[],t.bytes!==Array&&(n.lastCommitHash=a.newBuffer(n.lastCommitHash))),t.bytes===String?n.dataHash="":(n.dataHash=[],t.bytes!==Array&&(n.dataHash=a.newBuffer(n.dataHash))),t.bytes===String?n.validatorsHash="":(n.validatorsHash=[],t.bytes!==Array&&(n.validatorsHash=a.newBuffer(n.validatorsHash))),t.bytes===String?n.nextValidatorsHash="":(n.nextValidatorsHash=[],t.bytes!==Array&&(n.nextValidatorsHash=a.newBuffer(n.nextValidatorsHash))),t.bytes===String?n.consensusHash="":(n.consensusHash=[],t.bytes!==Array&&(n.consensusHash=a.newBuffer(n.consensusHash))),t.bytes===String?n.appHash="":(n.appHash=[],t.bytes!==Array&&(n.appHash=a.newBuffer(n.appHash))),t.bytes===String?n.lastResultsHash="":(n.lastResultsHash=[],t.bytes!==Array&&(n.lastResultsHash=a.newBuffer(n.lastResultsHash))),t.bytes===String?n.evidenceHash="":(n.evidenceHash=[],t.bytes!==Array&&(n.evidenceHash=a.newBuffer(n.evidenceHash))),t.bytes===String?n.proposerAddress="":(n.proposerAddress=[],t.bytes!==Array&&(n.proposerAddress=a.newBuffer(n.proposerAddress)))}return null!=e.version&&e.hasOwnProperty("version")&&(n.version=s.tendermint.version.Consensus.toObject(e.version,t)),null!=e.chainId&&e.hasOwnProperty("chainId")&&(n.chainId=e.chainId),null!=e.height&&e.hasOwnProperty("height")&&("number"==typeof e.height?n.height=t.longs===String?String(e.height):e.height:n.height=t.longs===String?a.Long.prototype.toString.call(e.height):t.longs===Number?new a.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber():e.height),null!=e.time&&e.hasOwnProperty("time")&&(n.time=s.google.protobuf.Timestamp.toObject(e.time,t)),null!=e.lastBlockId&&e.hasOwnProperty("lastBlockId")&&(n.lastBlockId=s.tendermint.types.BlockID.toObject(e.lastBlockId,t)),null!=e.lastCommitHash&&e.hasOwnProperty("lastCommitHash")&&(n.lastCommitHash=t.bytes===String?a.base64.encode(e.lastCommitHash,0,e.lastCommitHash.length):t.bytes===Array?Array.prototype.slice.call(e.lastCommitHash):e.lastCommitHash),null!=e.dataHash&&e.hasOwnProperty("dataHash")&&(n.dataHash=t.bytes===String?a.base64.encode(e.dataHash,0,e.dataHash.length):t.bytes===Array?Array.prototype.slice.call(e.dataHash):e.dataHash),null!=e.validatorsHash&&e.hasOwnProperty("validatorsHash")&&(n.validatorsHash=t.bytes===String?a.base64.encode(e.validatorsHash,0,e.validatorsHash.length):t.bytes===Array?Array.prototype.slice.call(e.validatorsHash):e.validatorsHash),null!=e.nextValidatorsHash&&e.hasOwnProperty("nextValidatorsHash")&&(n.nextValidatorsHash=t.bytes===String?a.base64.encode(e.nextValidatorsHash,0,e.nextValidatorsHash.length):t.bytes===Array?Array.prototype.slice.call(e.nextValidatorsHash):e.nextValidatorsHash),null!=e.consensusHash&&e.hasOwnProperty("consensusHash")&&(n.consensusHash=t.bytes===String?a.base64.encode(e.consensusHash,0,e.consensusHash.length):t.bytes===Array?Array.prototype.slice.call(e.consensusHash):e.consensusHash),null!=e.appHash&&e.hasOwnProperty("appHash")&&(n.appHash=t.bytes===String?a.base64.encode(e.appHash,0,e.appHash.length):t.bytes===Array?Array.prototype.slice.call(e.appHash):e.appHash),null!=e.lastResultsHash&&e.hasOwnProperty("lastResultsHash")&&(n.lastResultsHash=t.bytes===String?a.base64.encode(e.lastResultsHash,0,e.lastResultsHash.length):t.bytes===Array?Array.prototype.slice.call(e.lastResultsHash):e.lastResultsHash),null!=e.evidenceHash&&e.hasOwnProperty("evidenceHash")&&(n.evidenceHash=t.bytes===String?a.base64.encode(e.evidenceHash,0,e.evidenceHash.length):t.bytes===Array?Array.prototype.slice.call(e.evidenceHash):e.evidenceHash),null!=e.proposerAddress&&e.hasOwnProperty("proposerAddress")&&(n.proposerAddress=t.bytes===String?a.base64.encode(e.proposerAddress,0,e.proposerAddress.length):t.bytes===Array?Array.prototype.slice.call(e.proposerAddress):e.proposerAddress),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Data=function(){function e(e){if(this.txs=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.txs&&r.txs.length||(r.txs=[]),r.txs.push(e.bytes());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.types.Data)return e;var t=new s.tendermint.types.Data;if(e.txs){if(!Array.isArray(e.txs))throw TypeError(".tendermint.types.Data.txs: array expected");t.txs=[];for(var n=0;n>>3){case 1:r.type=e.int32();break;case 2:r.height=e.int64();break;case 3:r.round=e.int32();break;case 4:r.blockId=s.tendermint.types.BlockID.decode(e,e.uint32());break;case 5:r.timestamp=s.google.protobuf.Timestamp.decode(e,e.uint32());break;case 6:r.validatorAddress=e.bytes();break;case 7:r.validatorIndex=e.int32();break;case 8:r.signature=e.bytes();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.types.Vote)return e;var t=new s.tendermint.types.Vote;switch(e.type){case"SIGNED_MSG_TYPE_UNKNOWN":case 0:t.type=0;break;case"SIGNED_MSG_TYPE_PREVOTE":case 1:t.type=1;break;case"SIGNED_MSG_TYPE_PRECOMMIT":case 2:t.type=2;break;case"SIGNED_MSG_TYPE_PROPOSAL":case 32:t.type=32}if(null!=e.height&&(a.Long?(t.height=a.Long.fromValue(e.height)).unsigned=!1:"string"==typeof e.height?t.height=parseInt(e.height,10):"number"==typeof e.height?t.height=e.height:"object"==typeof e.height&&(t.height=new a.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber())),null!=e.round&&(t.round=0|e.round),null!=e.blockId){if("object"!=typeof e.blockId)throw TypeError(".tendermint.types.Vote.blockId: object expected");t.blockId=s.tendermint.types.BlockID.fromObject(e.blockId)}if(null!=e.timestamp){if("object"!=typeof e.timestamp)throw TypeError(".tendermint.types.Vote.timestamp: object expected");t.timestamp=s.google.protobuf.Timestamp.fromObject(e.timestamp)}return null!=e.validatorAddress&&("string"==typeof e.validatorAddress?a.base64.decode(e.validatorAddress,t.validatorAddress=a.newBuffer(a.base64.length(e.validatorAddress)),0):e.validatorAddress.length&&(t.validatorAddress=e.validatorAddress)),null!=e.validatorIndex&&(t.validatorIndex=0|e.validatorIndex),null!=e.signature&&("string"==typeof e.signature?a.base64.decode(e.signature,t.signature=a.newBuffer(a.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(n.type=t.enums===String?"SIGNED_MSG_TYPE_UNKNOWN":0,a.Long){var r=new a.Long(0,0,!1);n.height=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.height=t.longs===String?"0":0;n.round=0,n.blockId=null,n.timestamp=null,t.bytes===String?n.validatorAddress="":(n.validatorAddress=[],t.bytes!==Array&&(n.validatorAddress=a.newBuffer(n.validatorAddress))),n.validatorIndex=0,t.bytes===String?n.signature="":(n.signature=[],t.bytes!==Array&&(n.signature=a.newBuffer(n.signature)))}return null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?s.tendermint.types.SignedMsgType[e.type]:e.type),null!=e.height&&e.hasOwnProperty("height")&&("number"==typeof e.height?n.height=t.longs===String?String(e.height):e.height:n.height=t.longs===String?a.Long.prototype.toString.call(e.height):t.longs===Number?new a.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber():e.height),null!=e.round&&e.hasOwnProperty("round")&&(n.round=e.round),null!=e.blockId&&e.hasOwnProperty("blockId")&&(n.blockId=s.tendermint.types.BlockID.toObject(e.blockId,t)),null!=e.timestamp&&e.hasOwnProperty("timestamp")&&(n.timestamp=s.google.protobuf.Timestamp.toObject(e.timestamp,t)),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(n.validatorAddress=t.bytes===String?a.base64.encode(e.validatorAddress,0,e.validatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.validatorAddress):e.validatorAddress),null!=e.validatorIndex&&e.hasOwnProperty("validatorIndex")&&(n.validatorIndex=e.validatorIndex),null!=e.signature&&e.hasOwnProperty("signature")&&(n.signature=t.bytes===String?a.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Commit=function(){function e(e){if(this.signatures=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.height=e.int64();break;case 2:r.round=e.int32();break;case 3:r.blockId=s.tendermint.types.BlockID.decode(e,e.uint32());break;case 4:r.signatures&&r.signatures.length||(r.signatures=[]),r.signatures.push(s.tendermint.types.CommitSig.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.types.Commit)return e;var t=new s.tendermint.types.Commit;if(null!=e.height&&(a.Long?(t.height=a.Long.fromValue(e.height)).unsigned=!1:"string"==typeof e.height?t.height=parseInt(e.height,10):"number"==typeof e.height?t.height=e.height:"object"==typeof e.height&&(t.height=new a.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber())),null!=e.round&&(t.round=0|e.round),null!=e.blockId){if("object"!=typeof e.blockId)throw TypeError(".tendermint.types.Commit.blockId: object expected");t.blockId=s.tendermint.types.BlockID.fromObject(e.blockId)}if(e.signatures){if(!Array.isArray(e.signatures))throw TypeError(".tendermint.types.Commit.signatures: array expected");t.signatures=[];for(var n=0;n>>0,e.height.high>>>0).toNumber():e.height),null!=e.round&&e.hasOwnProperty("round")&&(n.round=e.round),null!=e.blockId&&e.hasOwnProperty("blockId")&&(n.blockId=s.tendermint.types.BlockID.toObject(e.blockId,t)),e.signatures&&e.signatures.length){n.signatures=[];for(var i=0;i>>3){case 1:r.blockIdFlag=e.int32();break;case 2:r.validatorAddress=e.bytes();break;case 3:r.timestamp=s.google.protobuf.Timestamp.decode(e,e.uint32());break;case 4:r.signature=e.bytes();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.types.CommitSig)return e;var t=new s.tendermint.types.CommitSig;switch(e.blockIdFlag){case"BLOCK_ID_FLAG_UNKNOWN":case 0:t.blockIdFlag=0;break;case"BLOCK_ID_FLAG_ABSENT":case 1:t.blockIdFlag=1;break;case"BLOCK_ID_FLAG_COMMIT":case 2:t.blockIdFlag=2;break;case"BLOCK_ID_FLAG_NIL":case 3:t.blockIdFlag=3}if(null!=e.validatorAddress&&("string"==typeof e.validatorAddress?a.base64.decode(e.validatorAddress,t.validatorAddress=a.newBuffer(a.base64.length(e.validatorAddress)),0):e.validatorAddress.length&&(t.validatorAddress=e.validatorAddress)),null!=e.timestamp){if("object"!=typeof e.timestamp)throw TypeError(".tendermint.types.CommitSig.timestamp: object expected");t.timestamp=s.google.protobuf.Timestamp.fromObject(e.timestamp)}return null!=e.signature&&("string"==typeof e.signature?a.base64.decode(e.signature,t.signature=a.newBuffer(a.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.blockIdFlag=t.enums===String?"BLOCK_ID_FLAG_UNKNOWN":0,t.bytes===String?n.validatorAddress="":(n.validatorAddress=[],t.bytes!==Array&&(n.validatorAddress=a.newBuffer(n.validatorAddress))),n.timestamp=null,t.bytes===String?n.signature="":(n.signature=[],t.bytes!==Array&&(n.signature=a.newBuffer(n.signature)))),null!=e.blockIdFlag&&e.hasOwnProperty("blockIdFlag")&&(n.blockIdFlag=t.enums===String?s.tendermint.types.BlockIDFlag[e.blockIdFlag]:e.blockIdFlag),null!=e.validatorAddress&&e.hasOwnProperty("validatorAddress")&&(n.validatorAddress=t.bytes===String?a.base64.encode(e.validatorAddress,0,e.validatorAddress.length):t.bytes===Array?Array.prototype.slice.call(e.validatorAddress):e.validatorAddress),null!=e.timestamp&&e.hasOwnProperty("timestamp")&&(n.timestamp=s.google.protobuf.Timestamp.toObject(e.timestamp,t)),null!=e.signature&&e.hasOwnProperty("signature")&&(n.signature=t.bytes===String?a.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Proposal=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.type=e.int32();break;case 2:r.height=e.int64();break;case 3:r.round=e.int32();break;case 4:r.polRound=e.int32();break;case 5:r.blockId=s.tendermint.types.BlockID.decode(e,e.uint32());break;case 6:r.timestamp=s.google.protobuf.Timestamp.decode(e,e.uint32());break;case 7:r.signature=e.bytes();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.types.Proposal)return e;var t=new s.tendermint.types.Proposal;switch(e.type){case"SIGNED_MSG_TYPE_UNKNOWN":case 0:t.type=0;break;case"SIGNED_MSG_TYPE_PREVOTE":case 1:t.type=1;break;case"SIGNED_MSG_TYPE_PRECOMMIT":case 2:t.type=2;break;case"SIGNED_MSG_TYPE_PROPOSAL":case 32:t.type=32}if(null!=e.height&&(a.Long?(t.height=a.Long.fromValue(e.height)).unsigned=!1:"string"==typeof e.height?t.height=parseInt(e.height,10):"number"==typeof e.height?t.height=e.height:"object"==typeof e.height&&(t.height=new a.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber())),null!=e.round&&(t.round=0|e.round),null!=e.polRound&&(t.polRound=0|e.polRound),null!=e.blockId){if("object"!=typeof e.blockId)throw TypeError(".tendermint.types.Proposal.blockId: object expected");t.blockId=s.tendermint.types.BlockID.fromObject(e.blockId)}if(null!=e.timestamp){if("object"!=typeof e.timestamp)throw TypeError(".tendermint.types.Proposal.timestamp: object expected");t.timestamp=s.google.protobuf.Timestamp.fromObject(e.timestamp)}return null!=e.signature&&("string"==typeof e.signature?a.base64.decode(e.signature,t.signature=a.newBuffer(a.base64.length(e.signature)),0):e.signature.length&&(t.signature=e.signature)),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(n.type=t.enums===String?"SIGNED_MSG_TYPE_UNKNOWN":0,a.Long){var r=new a.Long(0,0,!1);n.height=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.height=t.longs===String?"0":0;n.round=0,n.polRound=0,n.blockId=null,n.timestamp=null,t.bytes===String?n.signature="":(n.signature=[],t.bytes!==Array&&(n.signature=a.newBuffer(n.signature)))}return null!=e.type&&e.hasOwnProperty("type")&&(n.type=t.enums===String?s.tendermint.types.SignedMsgType[e.type]:e.type),null!=e.height&&e.hasOwnProperty("height")&&("number"==typeof e.height?n.height=t.longs===String?String(e.height):e.height:n.height=t.longs===String?a.Long.prototype.toString.call(e.height):t.longs===Number?new a.LongBits(e.height.low>>>0,e.height.high>>>0).toNumber():e.height),null!=e.round&&e.hasOwnProperty("round")&&(n.round=e.round),null!=e.polRound&&e.hasOwnProperty("polRound")&&(n.polRound=e.polRound),null!=e.blockId&&e.hasOwnProperty("blockId")&&(n.blockId=s.tendermint.types.BlockID.toObject(e.blockId,t)),null!=e.timestamp&&e.hasOwnProperty("timestamp")&&(n.timestamp=s.google.protobuf.Timestamp.toObject(e.timestamp,t)),null!=e.signature&&e.hasOwnProperty("signature")&&(n.signature=t.bytes===String?a.base64.encode(e.signature,0,e.signature.length):t.bytes===Array?Array.prototype.slice.call(e.signature):e.signature),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.SignedHeader=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.header=s.tendermint.types.Header.decode(e,e.uint32());break;case 2:r.commit=s.tendermint.types.Commit.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.types.SignedHeader)return e;var t=new s.tendermint.types.SignedHeader;if(null!=e.header){if("object"!=typeof e.header)throw TypeError(".tendermint.types.SignedHeader.header: object expected");t.header=s.tendermint.types.Header.fromObject(e.header)}if(null!=e.commit){if("object"!=typeof e.commit)throw TypeError(".tendermint.types.SignedHeader.commit: object expected");t.commit=s.tendermint.types.Commit.fromObject(e.commit)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.header=null,n.commit=null),null!=e.header&&e.hasOwnProperty("header")&&(n.header=s.tendermint.types.Header.toObject(e.header,t)),null!=e.commit&&e.hasOwnProperty("commit")&&(n.commit=s.tendermint.types.Commit.toObject(e.commit,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.LightBlock=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.signedHeader=s.tendermint.types.SignedHeader.decode(e,e.uint32());break;case 2:r.validatorSet=s.tendermint.types.ValidatorSet.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.types.LightBlock)return e;var t=new s.tendermint.types.LightBlock;if(null!=e.signedHeader){if("object"!=typeof e.signedHeader)throw TypeError(".tendermint.types.LightBlock.signedHeader: object expected");t.signedHeader=s.tendermint.types.SignedHeader.fromObject(e.signedHeader)}if(null!=e.validatorSet){if("object"!=typeof e.validatorSet)throw TypeError(".tendermint.types.LightBlock.validatorSet: object expected");t.validatorSet=s.tendermint.types.ValidatorSet.fromObject(e.validatorSet)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(n.signedHeader=null,n.validatorSet=null),null!=e.signedHeader&&e.hasOwnProperty("signedHeader")&&(n.signedHeader=s.tendermint.types.SignedHeader.toObject(e.signedHeader,t)),null!=e.validatorSet&&e.hasOwnProperty("validatorSet")&&(n.validatorSet=s.tendermint.types.ValidatorSet.toObject(e.validatorSet,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.BlockMeta=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.blockId=s.tendermint.types.BlockID.decode(e,e.uint32());break;case 2:r.blockSize=e.int64();break;case 3:r.header=s.tendermint.types.Header.decode(e,e.uint32());break;case 4:r.numTxs=e.int64();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.types.BlockMeta)return e;var t=new s.tendermint.types.BlockMeta;if(null!=e.blockId){if("object"!=typeof e.blockId)throw TypeError(".tendermint.types.BlockMeta.blockId: object expected");t.blockId=s.tendermint.types.BlockID.fromObject(e.blockId)}if(null!=e.blockSize&&(a.Long?(t.blockSize=a.Long.fromValue(e.blockSize)).unsigned=!1:"string"==typeof e.blockSize?t.blockSize=parseInt(e.blockSize,10):"number"==typeof e.blockSize?t.blockSize=e.blockSize:"object"==typeof e.blockSize&&(t.blockSize=new a.LongBits(e.blockSize.low>>>0,e.blockSize.high>>>0).toNumber())),null!=e.header){if("object"!=typeof e.header)throw TypeError(".tendermint.types.BlockMeta.header: object expected");t.header=s.tendermint.types.Header.fromObject(e.header)}return null!=e.numTxs&&(a.Long?(t.numTxs=a.Long.fromValue(e.numTxs)).unsigned=!1:"string"==typeof e.numTxs?t.numTxs=parseInt(e.numTxs,10):"number"==typeof e.numTxs?t.numTxs=e.numTxs:"object"==typeof e.numTxs&&(t.numTxs=new a.LongBits(e.numTxs.low>>>0,e.numTxs.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(n.blockId=null,a.Long){var r=new a.Long(0,0,!1);n.blockSize=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.blockSize=t.longs===String?"0":0;if(n.header=null,a.Long){r=new a.Long(0,0,!1);n.numTxs=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.numTxs=t.longs===String?"0":0}return null!=e.blockId&&e.hasOwnProperty("blockId")&&(n.blockId=s.tendermint.types.BlockID.toObject(e.blockId,t)),null!=e.blockSize&&e.hasOwnProperty("blockSize")&&("number"==typeof e.blockSize?n.blockSize=t.longs===String?String(e.blockSize):e.blockSize:n.blockSize=t.longs===String?a.Long.prototype.toString.call(e.blockSize):t.longs===Number?new a.LongBits(e.blockSize.low>>>0,e.blockSize.high>>>0).toNumber():e.blockSize),null!=e.header&&e.hasOwnProperty("header")&&(n.header=s.tendermint.types.Header.toObject(e.header,t)),null!=e.numTxs&&e.hasOwnProperty("numTxs")&&("number"==typeof e.numTxs?n.numTxs=t.longs===String?String(e.numTxs):e.numTxs:n.numTxs=t.longs===String?a.Long.prototype.toString.call(e.numTxs):t.longs===Number?new a.LongBits(e.numTxs.low>>>0,e.numTxs.high>>>0).toNumber():e.numTxs),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.TxProof=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.rootHash=e.bytes();break;case 2:r.data=e.bytes();break;case 3:r.proof=s.tendermint.crypto.Proof.decode(e,e.uint32());break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.types.TxProof)return e;var t=new s.tendermint.types.TxProof;if(null!=e.rootHash&&("string"==typeof e.rootHash?a.base64.decode(e.rootHash,t.rootHash=a.newBuffer(a.base64.length(e.rootHash)),0):e.rootHash.length&&(t.rootHash=e.rootHash)),null!=e.data&&("string"==typeof e.data?a.base64.decode(e.data,t.data=a.newBuffer(a.base64.length(e.data)),0):e.data.length&&(t.data=e.data)),null!=e.proof){if("object"!=typeof e.proof)throw TypeError(".tendermint.types.TxProof.proof: object expected");t.proof=s.tendermint.crypto.Proof.fromObject(e.proof)}return t},e.toObject=function(e,t){t||(t={});var n={};return t.defaults&&(t.bytes===String?n.rootHash="":(n.rootHash=[],t.bytes!==Array&&(n.rootHash=a.newBuffer(n.rootHash))),t.bytes===String?n.data="":(n.data=[],t.bytes!==Array&&(n.data=a.newBuffer(n.data))),n.proof=null),null!=e.rootHash&&e.hasOwnProperty("rootHash")&&(n.rootHash=t.bytes===String?a.base64.encode(e.rootHash,0,e.rootHash.length):t.bytes===Array?Array.prototype.slice.call(e.rootHash):e.rootHash),null!=e.data&&e.hasOwnProperty("data")&&(n.data=t.bytes===String?a.base64.encode(e.data,0,e.data.length):t.bytes===Array?Array.prototype.slice.call(e.data):e.data),null!=e.proof&&e.hasOwnProperty("proof")&&(n.proof=s.tendermint.crypto.Proof.toObject(e.proof,t)),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.ValidatorSet=function(){function e(e){if(this.validators=[],e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.validators&&r.validators.length||(r.validators=[]),r.validators.push(s.tendermint.types.Validator.decode(e,e.uint32()));break;case 2:r.proposer=s.tendermint.types.Validator.decode(e,e.uint32());break;case 3:r.totalVotingPower=e.int64();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.types.ValidatorSet)return e;var t=new s.tendermint.types.ValidatorSet;if(e.validators){if(!Array.isArray(e.validators))throw TypeError(".tendermint.types.ValidatorSet.validators: array expected");t.validators=[];for(var n=0;n>>0,e.totalVotingPower.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var n={};if((t.arrays||t.defaults)&&(n.validators=[]),t.defaults)if(n.proposer=null,a.Long){var r=new a.Long(0,0,!1);n.totalVotingPower=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.totalVotingPower=t.longs===String?"0":0;if(e.validators&&e.validators.length){n.validators=[];for(var i=0;i>>0,e.totalVotingPower.high>>>0).toNumber():e.totalVotingPower),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Validator=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.address=e.bytes();break;case 2:r.pubKey=s.tendermint.crypto.PublicKey.decode(e,e.uint32());break;case 3:r.votingPower=e.int64();break;case 4:r.proposerPriority=e.int64();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.types.Validator)return e;var t=new s.tendermint.types.Validator;if(null!=e.address&&("string"==typeof e.address?a.base64.decode(e.address,t.address=a.newBuffer(a.base64.length(e.address)),0):e.address.length&&(t.address=e.address)),null!=e.pubKey){if("object"!=typeof e.pubKey)throw TypeError(".tendermint.types.Validator.pubKey: object expected");t.pubKey=s.tendermint.crypto.PublicKey.fromObject(e.pubKey)}return null!=e.votingPower&&(a.Long?(t.votingPower=a.Long.fromValue(e.votingPower)).unsigned=!1:"string"==typeof e.votingPower?t.votingPower=parseInt(e.votingPower,10):"number"==typeof e.votingPower?t.votingPower=e.votingPower:"object"==typeof e.votingPower&&(t.votingPower=new a.LongBits(e.votingPower.low>>>0,e.votingPower.high>>>0).toNumber())),null!=e.proposerPriority&&(a.Long?(t.proposerPriority=a.Long.fromValue(e.proposerPriority)).unsigned=!1:"string"==typeof e.proposerPriority?t.proposerPriority=parseInt(e.proposerPriority,10):"number"==typeof e.proposerPriority?t.proposerPriority=e.proposerPriority:"object"==typeof e.proposerPriority&&(t.proposerPriority=new a.LongBits(e.proposerPriority.low>>>0,e.proposerPriority.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(t.bytes===String?n.address="":(n.address=[],t.bytes!==Array&&(n.address=a.newBuffer(n.address))),n.pubKey=null,a.Long){var r=new a.Long(0,0,!1);n.votingPower=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.votingPower=t.longs===String?"0":0;if(a.Long){r=new a.Long(0,0,!1);n.proposerPriority=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.proposerPriority=t.longs===String?"0":0}return null!=e.address&&e.hasOwnProperty("address")&&(n.address=t.bytes===String?a.base64.encode(e.address,0,e.address.length):t.bytes===Array?Array.prototype.slice.call(e.address):e.address),null!=e.pubKey&&e.hasOwnProperty("pubKey")&&(n.pubKey=s.tendermint.crypto.PublicKey.toObject(e.pubKey,t)),null!=e.votingPower&&e.hasOwnProperty("votingPower")&&("number"==typeof e.votingPower?n.votingPower=t.longs===String?String(e.votingPower):e.votingPower:n.votingPower=t.longs===String?a.Long.prototype.toString.call(e.votingPower):t.longs===Number?new a.LongBits(e.votingPower.low>>>0,e.votingPower.high>>>0).toNumber():e.votingPower),null!=e.proposerPriority&&e.hasOwnProperty("proposerPriority")&&("number"==typeof e.proposerPriority?n.proposerPriority=t.longs===String?String(e.proposerPriority):e.proposerPriority:n.proposerPriority=t.longs===String?a.Long.prototype.toString.call(e.proposerPriority):t.longs===Number?new a.LongBits(e.proposerPriority.low>>>0,e.proposerPriority.high>>>0).toNumber():e.proposerPriority),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.SimpleValidator=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.pubKey=s.tendermint.crypto.PublicKey.decode(e,e.uint32());break;case 2:r.votingPower=e.int64();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.types.SimpleValidator)return e;var t=new s.tendermint.types.SimpleValidator;if(null!=e.pubKey){if("object"!=typeof e.pubKey)throw TypeError(".tendermint.types.SimpleValidator.pubKey: object expected");t.pubKey=s.tendermint.crypto.PublicKey.fromObject(e.pubKey)}return null!=e.votingPower&&(a.Long?(t.votingPower=a.Long.fromValue(e.votingPower)).unsigned=!1:"string"==typeof e.votingPower?t.votingPower=parseInt(e.votingPower,10):"number"==typeof e.votingPower?t.votingPower=e.votingPower:"object"==typeof e.votingPower&&(t.votingPower=new a.LongBits(e.votingPower.low>>>0,e.votingPower.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults)if(n.pubKey=null,a.Long){var r=new a.Long(0,0,!1);n.votingPower=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.votingPower=t.longs===String?"0":0;return null!=e.pubKey&&e.hasOwnProperty("pubKey")&&(n.pubKey=s.tendermint.crypto.PublicKey.toObject(e.pubKey,t)),null!=e.votingPower&&e.hasOwnProperty("votingPower")&&("number"==typeof e.votingPower?n.votingPower=t.longs===String?String(e.votingPower):e.votingPower:n.votingPower=t.longs===String?a.Long.prototype.toString.call(e.votingPower):t.longs===Number?new a.LongBits(e.votingPower.low>>>0,e.votingPower.high>>>0).toNumber():e.votingPower),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e}(),e.version=function(){const e={};return e.App=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.protocol=e.uint64();break;case 2:r.software=e.string();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.version.App)return e;var t=new s.tendermint.version.App;return null!=e.protocol&&(a.Long?(t.protocol=a.Long.fromValue(e.protocol)).unsigned=!0:"string"==typeof e.protocol?t.protocol=parseInt(e.protocol,10):"number"==typeof e.protocol?t.protocol=e.protocol:"object"==typeof e.protocol&&(t.protocol=new a.LongBits(e.protocol.low>>>0,e.protocol.high>>>0).toNumber(!0))),null!=e.software&&(t.software=String(e.software)),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(a.Long){var r=new a.Long(0,0,!0);n.protocol=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.protocol=t.longs===String?"0":0;n.software=""}return null!=e.protocol&&e.hasOwnProperty("protocol")&&("number"==typeof e.protocol?n.protocol=t.longs===String?String(e.protocol):e.protocol:n.protocol=t.longs===String?a.Long.prototype.toString.call(e.protocol):t.longs===Number?new a.LongBits(e.protocol.low>>>0,e.protocol.high>>>0).toNumber(!0):e.protocol),null!=e.software&&e.hasOwnProperty("software")&&(n.software=e.software),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e.Consensus=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n>>3){case 1:r.block=e.uint64();break;case 2:r.app=e.uint64();break;default:e.skipType(7&o)}}return r},e.fromObject=function(e){if(e instanceof s.tendermint.version.Consensus)return e;var t=new s.tendermint.version.Consensus;return null!=e.block&&(a.Long?(t.block=a.Long.fromValue(e.block)).unsigned=!0:"string"==typeof e.block?t.block=parseInt(e.block,10):"number"==typeof e.block?t.block=e.block:"object"==typeof e.block&&(t.block=new a.LongBits(e.block.low>>>0,e.block.high>>>0).toNumber(!0))),null!=e.app&&(a.Long?(t.app=a.Long.fromValue(e.app)).unsigned=!0:"string"==typeof e.app?t.app=parseInt(e.app,10):"number"==typeof e.app?t.app=e.app:"object"==typeof e.app&&(t.app=new a.LongBits(e.app.low>>>0,e.app.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var n={};if(t.defaults){if(a.Long){var r=new a.Long(0,0,!0);n.block=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.block=t.longs===String?"0":0;if(a.Long){r=new a.Long(0,0,!0);n.app=t.longs===String?r.toString():t.longs===Number?r.toNumber():r}else n.app=t.longs===String?"0":0}return null!=e.block&&e.hasOwnProperty("block")&&("number"==typeof e.block?n.block=t.longs===String?String(e.block):e.block:n.block=t.longs===String?a.Long.prototype.toString.call(e.block):t.longs===Number?new a.LongBits(e.block.low>>>0,e.block.high>>>0).toNumber(!0):e.block),null!=e.app&&e.hasOwnProperty("app")&&("number"==typeof e.app?n.app=t.longs===String?String(e.app):e.app:n.app=t.longs===String?a.Long.prototype.toString.call(e.app):t.longs===Number?new a.LongBits(e.app.low>>>0,e.app.high>>>0).toNumber(!0):e.app),n},e.prototype.toJSON=function(){return this.constructor.toObject(this,r.util.toJSONOptions)},e}(),e}(),e})(),e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SignDocWrapper=void 0;const r=n(242),i=n(2);class o{constructor(e,t){this.mode=e,this.message=t}static fromAminoSignDoc(e){const t=new o("amino",new Uint8Array(0));return t._aminoSignDoc=e,t}static fromDirectSignDoc(e){const t=new o("direct",new Uint8Array(0));return t._protoSignDoc=new r.ProtoSignDocDecoder(e),t}clone(){return new o(this.mode,this.message)}get protoSignDoc(){return this._protoSignDoc||(this._protoSignDoc=r.ProtoSignDocDecoder.decode(this.message)),this._protoSignDoc}get aminoSignDoc(){return this._aminoSignDoc||(this._aminoSignDoc=JSON.parse(i.Buffer.from(this.message).toString())),this._aminoSignDoc}get chainId(){return"direct"===this.mode?this.protoSignDoc.chainId:this.aminoSignDoc.chain_id}get memo(){return"direct"===this.mode?this.protoSignDoc.txBody.memo:this.aminoSignDoc.memo}get fees(){var e,t;if("direct"===this.mode){const n=[];for(const r of null!==(t=null===(e=this.protoSignDoc.authInfo.fee)||void 0===e?void 0:e.amount)&&void 0!==t?t:[]){if(null==r.denom||null==r.amount)throw new Error("Invalid fee");n.push({denom:r.denom,amount:r.amount})}return n}return this.aminoSignDoc.fee.amount}get gas(){var e,t,n;return"direct"===this.mode?null!==(n=null===(t=null===(e=this.protoSignDoc.authInfo.fee)||void 0===e?void 0:e.gasLimit)||void 0===t?void 0:t.toNumber())&&void 0!==n?n:0:parseInt(this.aminoSignDoc.fee.gas)}}t.SignDocWrapper=o},function(e,t,n){const r=n(1114),i=n(1147);e.exports={packageInit:(e,t)=>{if(t=Array.prototype.slice.call(t),!e)throw new Error('You need to instantiate using the "new" keyword.');Object.defineProperty(e,"currentProvider",{get:()=>e._provider,set:t=>e.setProvider(t),enumerable:!0,configurable:!0}),t[0]&&t[0]._requestManager?e._requestManager=t[0]._requestManager:e._requestManager=new r.Manager(t[0],t[1]),e.givenProvider=r.Manager.givenProvider,e.providers=r.Manager.providers,e._provider=e._requestManager.provider,e.setProvider||(e.setProvider=(t,n)=>(e._requestManager.setProvider(t,n),e._provider=e._requestManager.provider,!0)),e.setRequestManager=t=>{e._requestManager=t,e._provider=t.provider},e.BatchRequest=r.BatchManager.bind(null,e._requestManager),e.extend=i(e)},addProviders:e=>{e.givenProvider=r.Manager.givenProvider,e.providers=r.Manager.providers}}},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r=n(153).Buffer,i=n(448);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var t,n,i,o=r.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,n=o,i=s,t.copy(n,i),s+=a.data.length,a=a.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,o,a,s,c=1,l={},u=!1,f=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){o.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(i=f.documentElement,r=function(e){var t=f.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}),d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1?(e[n[0]]=e[n[0]]||{},e[n[0]][n[1]]=t):e[n[0]]=t},u.prototype.getCall=function(e){return r.isFunction(this.call)?this.call(e):this.call},u.prototype.extractCallback=function(e){if(r.isFunction(e[e.length-1]))return e.pop()},u.prototype.validateArgs=function(e){if(e.length!==this.params)throw i.InvalidNumberOfParams(e.length,this.params,this.name)},u.prototype.formatInput=function(e){var t=this;return this.inputFormatter?this.inputFormatter.map((function(n,r){return n?n.call(t,e[r]):e[r]})):e},u.prototype.formatOutput=function(e){var t=this;return r.isArray(e)?e.map((function(e){return t.outputFormatter&&e?t.outputFormatter(e):e})):this.outputFormatter&&e?this.outputFormatter(e):e},u.prototype.toPayload=function(e){var t=this.getCall(e),n=this.extractCallback(e),r=this.formatInput(e);this.validateArgs(r);var i={method:t,params:r,callback:n};return this.transformPayload&&(i=this.transformPayload(i)),i},u.prototype._confirmTransaction=function(e,t,n){var f=this,d=!1,p=!0,h=0,m=0,b=null,y=null,g=r.isObject(n.params[0])&&n.params[0].gas?n.params[0].gas:null,v=r.isObject(n.params[0])&&n.params[0].data&&n.params[0].from&&!n.params[0].to,w=v&&n.params[0].data.length>2,_=[new u({name:"getBlockByNumber",call:"eth_getBlockByNumber",params:2,inputFormatter:[o.inputBlockNumberFormatter,function(e){return!!e}],outputFormatter:o.outputBlockFormatter}),new u({name:"getTransactionReceipt",call:"eth_getTransactionReceipt",params:1,inputFormatter:[null],outputFormatter:o.outputTransactionReceiptFormatter}),new u({name:"getCode",call:"eth_getCode",params:2,inputFormatter:[o.inputAddressFormatter,o.inputDefaultBlockNumberFormatter]}),new u({name:"getTransactionByHash",call:"eth_getTransactionByHash",params:1,inputFormatter:[null],outputFormatter:o.outputTransactionFormatter}),new c({name:"subscribe",type:"eth",subscriptions:{newBlockHeaders:{subscriptionName:"newHeads",params:0,outputFormatter:o.outputBlockFormatter}}})],k={};r.each(_,(function(e){e.attachToObject(k),e.requestManager=f.requestManager}));var x=function(r,c,u,_,x){if(!u)return x||(x={unsubscribe:function(){clearInterval(b)}}),(r?s.resolve(r):k.getTransactionReceipt(t)).catch((function(t){x.unsubscribe(),d=!0,a._fireError({message:"Failed to check for transaction receipt:",data:t},e.eventEmitter,e.reject)})).then((async function(t){if(!t||!t.blockHash)throw new Error("Receipt missing or blockHash null");if(f.extraFormatters&&f.extraFormatters.receiptFormatter&&(t=f.extraFormatters.receiptFormatter(t)),e.eventEmitter.listeners("confirmation").length>0){var n;if(void 0===r||0!==m){var i=await k.getBlockByNumber("latest"),o=i?i.hash:null;c?y?(n=await k.getBlockByNumber(y.number+1))&&(y=n,e.eventEmitter.emit("confirmation",m,t,o)):(n=await k.getBlockByNumber(t.blockNumber),y=n,e.eventEmitter.emit("confirmation",m,t,o)):e.eventEmitter.emit("confirmation",m,t,o)}(c&&n||!c)&&m++,p=!1,m===f.transactionConfirmationBlocks+1&&(x.unsubscribe(),e.eventEmitter.removeAllListeners())}return t})).then((async function(t){if(v&&!d){if(!t.contractAddress)return p&&(x.unsubscribe(),d=!0),void a._fireError(i.NoContractAddressFoundError(t),e.eventEmitter,e.reject,null,t);var n;try{n=await k.getCode(t.contractAddress)}catch(e){}if(!n)return;!0===t.status&&w||n.length>2?(e.eventEmitter.emit("receipt",t),f.extraFormatters&&f.extraFormatters.contractDeployFormatter?e.resolve(f.extraFormatters.contractDeployFormatter(t)):e.resolve(t),p&&e.eventEmitter.removeAllListeners()):a._fireError(i.ContractCodeNotStoredError(t),e.eventEmitter,e.reject,null,t),p&&x.unsubscribe(),d=!0}return t})).then((async function(t){if(!v&&!d){if(t.outOfGas||g&&g===t.gasUsed||!0!==t.status&&"0x1"!==t.status&&void 0!==t.status)if(JSON.stringify(t,null,2),!1===t.status||"0x0"===t.status)try{var r=null;if(!f.handleRevert||"eth_sendTransaction"!==f.call&&"eth_sendRawTransaction"!==f.call)throw!1;var s=n.params[0];if("eth_sendRawTransaction"===f.call){var c=n.params[0],u=l.parse(c);s=o.inputTransactionFormatter({data:u.data,to:u.to,from:u.from,gas:u.gasLimit.toHexString(),gasPrice:u.gasPrice.toHexString(),value:u.value.toHexString()})}if(!(r=await f.getRevertReason(s,t.blockNumber)))throw!1;a._fireError(i.TransactionRevertInstructionError(r.reason,r.signature,t),e.eventEmitter,e.reject,null,t)}catch(n){a._fireError(i.TransactionRevertedWithoutReasonError(t),e.eventEmitter,e.reject,null,t)}else a._fireError(i.TransactionOutOfGasError(t),e.eventEmitter,e.reject,null,t);else e.eventEmitter.emit("receipt",t),e.resolve(t),p&&e.eventEmitter.removeAllListeners();p&&x.unsubscribe(),d=!0}})).catch((function(){h++,c?h-1>=f.transactionPollingTimeout&&(x.unsubscribe(),d=!0,a._fireError(i.TransactionError("Transaction was not mined within "+f.transactionPollingTimeout+" seconds, please make sure your transaction was properly sent. Be aware that it might still be mined!"),e.eventEmitter,e.reject)):h-1>=f.transactionBlockTimeout&&(x.unsubscribe(),d=!0,a._fireError(i.TransactionError("Transaction was not mined within "+f.transactionBlockTimeout+" blocks, please make sure your transaction was properly sent. Be aware that it might still be mined!"),e.eventEmitter,e.reject))}));x.unsubscribe(),d=!0,a._fireError({message:"Failed to subscribe to new newBlockHeaders to confirm the transaction receipts.",data:u},e.eventEmitter,e.reject)},S=function(e){const t=()=>{b=setInterval(x.bind(null,e,!0),1e3)};this.requestManager.provider.on?k.subscribe("newBlockHeaders",(function(n,r,i){n||!r?t():x(e,!1,n,0,i)})):t()}.bind(this);k.getTransactionReceipt(t).then((function(t){t&&t.blockHash?(e.eventEmitter.listeners("confirmation").length>0&&S(t),x(t,!1)):d||S()})).catch((function(){d||S()}))};var f=function(e,t){return r.isNumber(e)?t.wallet[e]:r.isObject(e)&&e.address&&e.privateKey?e:t.wallet[e.toLowerCase()]};u.prototype.buildCall=function(){var e=this,t="eth_sendTransaction"===e.call||"eth_sendRawTransaction"===e.call,n="eth_call"===e.call,o=function(){var o=s(!t),c=e.toPayload(Array.prototype.slice.call(arguments)),l=function(r,s){var l;if(e.handleRevert&&n&&e.abiCoder&&(!r&&e.isRevertReasonString(s)?l=s.substring(10):r&&r.data&&(l=r.data.substring(10)),l)){var u=e.abiCoder.decodeParameter("string","0x"+l);return void a._fireError(i.RevertInstructionError(u,"Error(String)"),o.eventEmitter,o.reject,c.callback,{reason:u,signature:"Error(String)"})}try{s=e.formatOutput(s)}catch(e){r=e}if(s instanceof Error&&(r=s),r)return r.error&&(r=r.error),a._fireError(r,o.eventEmitter,o.reject,c.callback);c.callback&&c.callback(null,s),t?(o.eventEmitter.emit("transactionHash",s),e._confirmTransaction(o,s,c)):r||o.resolve(s)},d=function(t){var n=r.extend({},c,{method:"eth_sendRawTransaction",params:[t.rawTransaction]});e.requestManager.send(n,l)},p=function(e,t){var n;if(t&&t.accounts&&t.accounts.wallet&&t.accounts.wallet.length)if("eth_sendTransaction"===e.method){var i=e.params[0];if((n=f(r.isObject(i)?i.from:null,t.accounts))&&n.privateKey){var a=r.omit(i,"from");return t.defaultChain&&!a.chain&&(a.chain=t.defaultChain),t.defaultHardfork&&!a.hardfork&&(a.hardfork=t.defaultHardfork),t.defaultCommon&&!a.common&&(a.common=t.defaultCommon),void t.accounts.signTransaction(a,n.privateKey).then(d).catch((function(e){if(r.isFunction(o.eventEmitter.listeners)&&o.eventEmitter.listeners("error").length){try{o.eventEmitter.emit("error",e)}catch(e){}o.eventEmitter.removeAllListeners(),o.eventEmitter.catch((function(){}))}o.reject(e)}))}}else if("eth_sign"===e.method){var s=e.params[1];if((n=f(e.params[0],t.accounts))&&n.privateKey){var c=t.accounts.sign(s,n.privateKey);return e.callback&&e.callback(null,c.signature),void o.resolve(c.signature)}}return t.requestManager.send(e,l)};if(t&&r.isObject(c.params[0])&&void 0===c.params[0].gasPrice){var h=new u({name:"getGasPrice",call:"eth_gasPrice",params:0}).createFunction(e.requestManager);h((function(n,r){r&&(c.params[0].gasPrice=r),t&&setTimeout(()=>{o.eventEmitter.emit("sending",c)},0),p(c,e)}))}else t&&setTimeout(()=>{o.eventEmitter.emit("sending",c)},0),p(c,e);return t&&setTimeout(()=>{o.eventEmitter.emit("sent",c)},0),o.eventEmitter};return o.method=e,o.request=this.request.bind(this),o},u.prototype.getRevertReason=function(e,t){var n=this;return new Promise((function(r,i){new u({name:"call",call:"eth_call",params:2,abiCoder:n.abiCoder,handleRevert:!0}).createFunction(n.requestManager)(e,a.numberToHex(t)).then((function(){r(!1)})).catch((function(e){e.reason?r({reason:e.reason,signature:e.signature}):i(e)}))}))},u.prototype.isRevertReasonString=function(e){return r.isString(e)&&(e.length-2)/2%32==4&&"0x08c379a0"===e.substring(0,10)},u.prototype.request=function(){var e=this.toPayload(Array.prototype.slice.call(arguments));return e.format=this.formatOutput.bind(this),e},e.exports=u},function(e,t,n){"use strict";t.sha1=n(453),t.sha224=n(454),t.sha256=n(248),t.sha384=n(455),t.sha512=n(249)},function(e,t,n){"use strict";var r=n(49),i=n(96),o=n(247),a=r.rotl32,s=r.sum32,c=r.sum32_5,l=o.ft_1,u=i.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(d,u),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;rthis.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t,n,r,i=a.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,n=i,r=s,a.prototype.copy.call(t,n,r),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var n;return ei.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:c,value:function(e,t){return s(this,function(e){for(var t=1;t0,(function(e){r||(r=e),e&&a.forEach(l),o||(a.forEach(l),i(r))}))}));return t.reduce(u)}},function(e,t,n){var r=n(4),i=n(77),o=n(7).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function l(e){return e<<30|e>>>2}function u(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,f=0;f<16;++f)n[f]=e.readInt32BE(4*f);for(;f<80;++f)n[f]=n[f-3]^n[f-8]^n[f-14]^n[f-16];for(var d=0;d<80;++d){var p=~~(d/20),h=0|((t=r)<<5|t>>>27)+u(p,i,o,s)+c+n[d]+a[p];c=s,s=o,o=l(i),i=r,r=h}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},function(e,t,n){var r=n(4),i=n(77),o=n(7).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function l(e){return e<<5|e>>>27}function u(e){return e<<30|e>>>2}function f(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,d=0;d<16;++d)n[d]=e.readInt32BE(4*d);for(;d<80;++d)n[d]=(t=n[d-3]^n[d-8]^n[d-14]^n[d-16])<<1|t>>>31;for(var p=0;p<80;++p){var h=~~(p/20),m=l(r)+f(h,i,o,s)+c+n[p]+a[h]|0;c=s,s=o,o=u(i),i=r,r=m}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},function(e,t,n){var r=n(4),i=n(257),o=n(77),a=n(7).Buffer,s=new Array(64);function c(){this.init(),this._w=s,o.call(this,64,56)}r(c,i),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=c},function(e,t,n){var r=n(4),i=n(258),o=n(77),a=n(7).Buffer,s=new Array(160);function c(){this.init(),this._w=s,o.call(this,128,112)}r(c,i),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},function(e,t,n){e.exports=n(154)},function(e,t,n){e.exports=n(65)},function(e,t,n){e.exports=n(148).Transform},function(e,t,n){e.exports=n(148).PassThrough},function(e,t,n){"use strict";var r=n(4),i=n(7).Buffer,o=n(56),a=i.alloc(128);function s(e,t){o.call(this,"digest"),"string"==typeof t&&(t=i.from(t)),this._alg=e,this._key=t,t.length>64?t=e(t):t.length<64&&(t=i.concat([t,a],64));for(var n=this._ipad=i.allocUnsafe(64),r=this._opad=i.allocUnsafe(64),s=0;s<64;s++)n[s]=54^t[s],r[s]=92^t[s];this._hash=[n]}r(s,o),s.prototype._update=function(e){this._hash.push(e)},s.prototype._final=function(){var e=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,e]))},e.exports=s},function(e,t,n){e.exports=n(260)},function(e,t,n){(function(t,r){var i,o=n(7).Buffer,a=n(261),s=n(262),c=n(263),l=n(264),u=t.crypto&&t.crypto.subtle,f={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function p(e,t,n,r,i){return u.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return u.deriveBits({name:"PBKDF2",salt:t,iterations:n,hash:{name:i}},e,r<<3)})).then((function(e){return o.from(e)}))}e.exports=function(e,n,h,m,b,y){"function"==typeof b&&(y=b,b=void 0);var g=f[(b=b||"sha1").toLowerCase()];if(!g||"function"!=typeof t.Promise)return r.nextTick((function(){var t;try{t=c(e,n,h,m,b)}catch(e){return y(e)}y(null,t)}));if(a(h,m),e=l(e,s,"Password"),n=l(n,s,"Salt"),"function"!=typeof y)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then((function(e){r.nextTick((function(){t(null,e)}))}),(function(e){r.nextTick((function(){t(e)}))}))}(function(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!u||!u.importKey||!u.deriveBits)return Promise.resolve(!1);if(void 0!==d[e])return d[e];var n=p(i=i||o.alloc(8),i,10,128,e).then((function(){return!0})).catch((function(){return!1}));return d[e]=n,n}(g).then((function(t){return t?p(e,n,h,m,g):c(e,n,h,m,b)})),y)}}).call(this,n(12),n(13))},function(e,t,n){var r=n(478),i=n(159),o=n(160),a=n(491),s=n(122);function c(e,t,n){if(e=e.toLowerCase(),o[e])return i.createCipheriv(e,t,n);if(a[e])return new r({key:t,iv:n,mode:e});throw new TypeError("invalid suite type")}function l(e,t,n){if(e=e.toLowerCase(),o[e])return i.createDecipheriv(e,t,n);if(a[e])return new r({key:t,iv:n,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var n,r;if(e=e.toLowerCase(),o[e])n=o[e].key,r=o[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");n=8*a[e].key,r=a[e].iv}var i=s(t,!1,n,r);return c(e,i.key,i.iv)},t.createCipheriv=t.Cipheriv=c,t.createDecipher=t.Decipher=function(e,t){var n,r;if(e=e.toLowerCase(),o[e])n=o[e].key,r=o[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");n=8*a[e].key,r=a[e].iv}var i=s(t,!1,n,r);return l(e,i.key,i.iv)},t.createDecipheriv=t.Decipheriv=l,t.listCiphers=t.getCiphers=function(){return Object.keys(a).concat(i.getCiphers())}},function(e,t,n){var r=n(56),i=n(479),o=n(4),a=n(7).Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function c(e){r.call(this);var t,n=e.mode.toLowerCase(),i=s[n];t=e.decrypt?"decrypt":"encrypt";var o=e.key;a.isBuffer(o)||(o=a.from(o)),"des-ede"!==n&&"des-ede-cbc"!==n||(o=a.concat([o,o.slice(0,8)]));var c=e.iv;a.isBuffer(c)||(c=a.from(c)),this._des=i.create({key:o,iv:c,type:t})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],e.exports=c,o(c,r),c.prototype._update=function(e){return a.from(this._des.update(e))},c.prototype._final=function(){return a.from(this._des.final())}},function(e,t,n){"use strict";t.utils=n(265),t.Cipher=n(158),t.DES=n(266),t.CBC=n(480),t.EDE=n(481)},function(e,t,n){"use strict";var r=n(32),i=n(4),o={};function a(e){r.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},d.prototype.flush=function(){for(var e=16-this.cache.length,t=o.allocUnsafe(e),n=-1;++n>a%8,e._prev=o(e._prev,n?r:i);return s}function o(e,t){var n=e.length,i=-1,o=r.allocUnsafe(e.length);for(e=r.concat([e,r.from([t])]);++i>7;return o}t.encrypt=function(e,t,n){for(var o=t.length,a=r.allocUnsafe(o),s=-1;++s>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function a(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}a.prototype.ghash=function(e){for(var t=-1;++t0;t--)r[t]=r[t]>>>1|(1&r[t-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=o(i)},a.prototype.update=function(e){var t;for(this.cache=r.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},a.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(o([0,e,0,t])),this.state},e.exports=a},function(e,t,n){var r=n(270),i=n(7).Buffer,o=n(160),a=n(271),s=n(56),c=n(121),l=n(122);function u(e,t,n){s.call(this),this._cache=new f,this._last=void 0,this._cipher=new c.AES(t),this._prev=i.from(n),this._mode=e,this._autopadding=!0}function f(){this.cache=i.allocUnsafe(0)}function d(e,t,n){var s=o[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof n&&(n=i.from(n)),"GCM"!==s.mode&&n.length!==s.iv)throw new TypeError("invalid iv length "+n.length);if("string"==typeof t&&(t=i.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===s.type?new a(s.module,t,n,!0):"auth"===s.type?new r(s.module,t,n,!0):new u(s.module,t,n)}n(4)(u,s),u.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,t),r.push(n);return i.concat(r)},u.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var n=-1;for(;++n16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},f.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var n=o[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=l(t,!1,n.key,n.iv);return d(e,r.key,r.iv)},t.createDecipheriv=d},function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},function(e,t,n){(function(e){var r=n(272),i=n(494),o=n(495);var a={binary:!0,hex:!0,base64:!0};t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=function(t){var n=new e(i[t].prime,"hex"),r=new e(i[t].gen,"hex");return new o(n,r)},t.createDiffieHellman=t.DiffieHellman=function t(n,i,s,c){return e.isBuffer(i)||void 0===a[i]?t(n,"binary",i,s):(i=i||"binary",c=c||"binary",s=s||new e([2]),e.isBuffer(s)||(s=new e(s,c)),"number"==typeof n?new o(r(n,s),s,!0):(e.isBuffer(n)||(n=new e(n,i)),new o(n,s,!0)))}}).call(this,n(2).Buffer)},function(e,t){},function(e){e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},function(e,t,n){(function(t){var r=n(6),i=new(n(273)),o=new r(24),a=new r(11),s=new r(10),c=new r(3),l=new r(7),u=n(272),f=n(62);function d(e,n){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),this._pub=new r(e),this}function p(e,n){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),this._priv=new r(e),this}e.exports=m;var h={};function m(e,t,n){this.setGenerator(t),this.__prime=new r(e),this._prime=r.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=d,this.setPrivateKey=p):this._primeCode=8}function b(e,n){var r=new t(e.toArray());return n?r.toString(n):r}Object.defineProperty(m.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var n=t.toString("hex"),r=[n,e.toString(16)].join("_");if(r in h)return h[r];var f,d=0;if(e.isEven()||!u.simpleSieve||!u.fermatTest(e)||!i.test(e))return d+=1,d+="02"===n||"05"===n?8:4,h[r]=d,d;switch(i.test(e.shrn(1))||(d+=2),n){case"02":e.mod(o).cmp(a)&&(d+=8);break;case"05":(f=e.mod(s)).cmp(c)&&f.cmp(l)&&(d+=8);break;default:d+=4}return h[r]=d,d}(this.__prime,this.__gen)),this._primeCode}}),m.prototype.generateKeys=function(){return this._priv||(this._priv=new r(f(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},m.prototype.computeSecret=function(e){var n=(e=(e=new r(e)).toRed(this._prime)).redPow(this._priv).fromRed(),i=new t(n.toArray()),o=this.getPrime();if(i.length0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t,n,r,i=a.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,n=i,r=s,a.prototype.copy.call(t,n,r),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var n;return ei.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:c,value:function(e,t){return s(this,function(e){for(var t=1;t0,(function(e){r||(r=e),e&&a.forEach(l),o||(a.forEach(l),i(r))}))}));return t.reduce(u)}},function(e,t,n){var r=n(7).Buffer,i=n(120),o=n(163),a=n(45).ec,s=n(282),c=n(124),l=n(288);function u(e,t,n,o){if((e=r.from(e.toArray())).length0&&n.ishrn(r),n}function d(e,t,n){var o,a;do{for(o=r.alloc(0);8*o.length=49&&l<=54?l-49+10:l>=17&&l<=22?l-17+10:l,a|=c}return r(!(240&a),"Invalid character in "+e),i}function c(e,t,n,i){for(var o=0,a=0,s=Math.min(e.length,n),c=t;c=49?l-49+10:l>=17?l-17+10:l,r(l>=0&&a0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this._strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)i=s(e,n,n+6),this.words[r]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==t&&(i=s(e,t,n+6),this.words[r]|=i<>>26-o&4194303),this._strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,u=n;u1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=u}catch(e){o.prototype.inspect=u}else o.prototype.inspect=u;function u(){return(this.red?""}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?f[6-c.length]+c+n:c+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=d[e],u=p[e];n="";var h=this.clone();for(h.negative=0;!h.isZero();){var m=h.modrn(u).toString(e);n=(h=h.idivn(u)).isZero()?m+n:f[l-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(a,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function h(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,c=a/67108864|0;n.words[0]=s;for(var l=1;l>>26,f=67108863&c,d=Math.min(l,t.length-1),p=Math.max(0,l-e.length+1);p<=d;p++){var h=l-p|0;u+=(a=(i=0|e.words[h])*(o=0|t.words[p])+f)/67108864|0,f=67108863&a}n.words[l]=0|f,c=0|u}return 0!==c?n.words[l]=0|c:n.length--,n._strip()}o.prototype.toArrayLike=function(e,t,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var a=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n=0&&(e[n--]=a>>8&255),n>=0&&(e[n--]=a>>16&255),6===o?(n>=0&&(e[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(e[n--]=r;n>=0;)e[n--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,p=0|a[1],h=8191&p,m=p>>>13,b=0|a[2],y=8191&b,g=b>>>13,v=0|a[3],w=8191&v,_=v>>>13,k=0|a[4],x=8191&k,S=k>>>13,O=0|a[5],E=8191&O,T=O>>>13,A=0|a[6],M=8191&A,I=A>>>13,P=0|a[7],C=8191&P,j=P>>>13,D=0|a[8],R=8191&D,N=D>>>13,B=0|a[9],L=8191&B,U=B>>>13,F=0|s[0],q=8191&F,z=F>>>13,V=0|s[1],H=8191&V,$=V>>>13,K=0|s[2],W=8191&K,G=K>>>13,J=0|s[3],Q=8191&J,Y=J>>>13,Z=0|s[4],X=8191&Z,ee=Z>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ce=8191&se,le=se>>>13,ue=0|s[8],fe=8191&ue,de=ue>>>13,pe=0|s[9],he=8191&pe,me=pe>>>13;n.negative=e.negative^t.negative,n.length=19;var be=(l+(r=Math.imul(f,q))|0)+((8191&(i=(i=Math.imul(f,z))+Math.imul(d,q)|0))<<13)|0;l=((o=Math.imul(d,z))+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(h,q),i=(i=Math.imul(h,z))+Math.imul(m,q)|0,o=Math.imul(m,z);var ye=(l+(r=r+Math.imul(f,H)|0)|0)+((8191&(i=(i=i+Math.imul(f,$)|0)+Math.imul(d,H)|0))<<13)|0;l=((o=o+Math.imul(d,$)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(y,q),i=(i=Math.imul(y,z))+Math.imul(g,q)|0,o=Math.imul(g,z),r=r+Math.imul(h,H)|0,i=(i=i+Math.imul(h,$)|0)+Math.imul(m,H)|0,o=o+Math.imul(m,$)|0;var ge=(l+(r=r+Math.imul(f,W)|0)|0)+((8191&(i=(i=i+Math.imul(f,G)|0)+Math.imul(d,W)|0))<<13)|0;l=((o=o+Math.imul(d,G)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(w,q),i=(i=Math.imul(w,z))+Math.imul(_,q)|0,o=Math.imul(_,z),r=r+Math.imul(y,H)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(g,H)|0,o=o+Math.imul(g,$)|0,r=r+Math.imul(h,W)|0,i=(i=i+Math.imul(h,G)|0)+Math.imul(m,W)|0,o=o+Math.imul(m,G)|0;var ve=(l+(r=r+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,Y)|0)+Math.imul(d,Q)|0))<<13)|0;l=((o=o+Math.imul(d,Y)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(x,q),i=(i=Math.imul(x,z))+Math.imul(S,q)|0,o=Math.imul(S,z),r=r+Math.imul(w,H)|0,i=(i=i+Math.imul(w,$)|0)+Math.imul(_,H)|0,o=o+Math.imul(_,$)|0,r=r+Math.imul(y,W)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(g,W)|0,o=o+Math.imul(g,G)|0,r=r+Math.imul(h,Q)|0,i=(i=i+Math.imul(h,Y)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,Y)|0;var we=(l+(r=r+Math.imul(f,X)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,X)|0))<<13)|0;l=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(E,q),i=(i=Math.imul(E,z))+Math.imul(T,q)|0,o=Math.imul(T,z),r=r+Math.imul(x,H)|0,i=(i=i+Math.imul(x,$)|0)+Math.imul(S,H)|0,o=o+Math.imul(S,$)|0,r=r+Math.imul(w,W)|0,i=(i=i+Math.imul(w,G)|0)+Math.imul(_,W)|0,o=o+Math.imul(_,G)|0,r=r+Math.imul(y,Q)|0,i=(i=i+Math.imul(y,Y)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,Y)|0,r=r+Math.imul(h,X)|0,i=(i=i+Math.imul(h,ee)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,ee)|0;var _e=(l+(r=r+Math.imul(f,ne)|0)|0)+((8191&(i=(i=i+Math.imul(f,re)|0)+Math.imul(d,ne)|0))<<13)|0;l=((o=o+Math.imul(d,re)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(M,q),i=(i=Math.imul(M,z))+Math.imul(I,q)|0,o=Math.imul(I,z),r=r+Math.imul(E,H)|0,i=(i=i+Math.imul(E,$)|0)+Math.imul(T,H)|0,o=o+Math.imul(T,$)|0,r=r+Math.imul(x,W)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(S,W)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(_,Q)|0,o=o+Math.imul(_,Y)|0,r=r+Math.imul(y,X)|0,i=(i=i+Math.imul(y,ee)|0)+Math.imul(g,X)|0,o=o+Math.imul(g,ee)|0,r=r+Math.imul(h,ne)|0,i=(i=i+Math.imul(h,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0;var ke=(l+(r=r+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,ae)|0)+Math.imul(d,oe)|0))<<13)|0;l=((o=o+Math.imul(d,ae)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(C,q),i=(i=Math.imul(C,z))+Math.imul(j,q)|0,o=Math.imul(j,z),r=r+Math.imul(M,H)|0,i=(i=i+Math.imul(M,$)|0)+Math.imul(I,H)|0,o=o+Math.imul(I,$)|0,r=r+Math.imul(E,W)|0,i=(i=i+Math.imul(E,G)|0)+Math.imul(T,W)|0,o=o+Math.imul(T,G)|0,r=r+Math.imul(x,Q)|0,i=(i=i+Math.imul(x,Y)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,Y)|0,r=r+Math.imul(w,X)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(y,ne)|0,i=(i=i+Math.imul(y,re)|0)+Math.imul(g,ne)|0,o=o+Math.imul(g,re)|0,r=r+Math.imul(h,oe)|0,i=(i=i+Math.imul(h,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var xe=(l+(r=r+Math.imul(f,ce)|0)|0)+((8191&(i=(i=i+Math.imul(f,le)|0)+Math.imul(d,ce)|0))<<13)|0;l=((o=o+Math.imul(d,le)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(R,q),i=(i=Math.imul(R,z))+Math.imul(N,q)|0,o=Math.imul(N,z),r=r+Math.imul(C,H)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(j,H)|0,o=o+Math.imul(j,$)|0,r=r+Math.imul(M,W)|0,i=(i=i+Math.imul(M,G)|0)+Math.imul(I,W)|0,o=o+Math.imul(I,G)|0,r=r+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,Y)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,Y)|0,r=r+Math.imul(x,X)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(w,ne)|0,i=(i=i+Math.imul(w,re)|0)+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(y,oe)|0,i=(i=i+Math.imul(y,ae)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,ae)|0,r=r+Math.imul(h,ce)|0,i=(i=i+Math.imul(h,le)|0)+Math.imul(m,ce)|0,o=o+Math.imul(m,le)|0;var Se=(l+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;l=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(L,q),i=(i=Math.imul(L,z))+Math.imul(U,q)|0,o=Math.imul(U,z),r=r+Math.imul(R,H)|0,i=(i=i+Math.imul(R,$)|0)+Math.imul(N,H)|0,o=o+Math.imul(N,$)|0,r=r+Math.imul(C,W)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(j,W)|0,o=o+Math.imul(j,G)|0,r=r+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,Y)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,Y)|0,r=r+Math.imul(E,X)|0,i=(i=i+Math.imul(E,ee)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,ee)|0,r=r+Math.imul(x,ne)|0,i=(i=i+Math.imul(x,re)|0)+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,ae)|0)+Math.imul(_,oe)|0,o=o+Math.imul(_,ae)|0,r=r+Math.imul(y,ce)|0,i=(i=i+Math.imul(y,le)|0)+Math.imul(g,ce)|0,o=o+Math.imul(g,le)|0,r=r+Math.imul(h,fe)|0,i=(i=i+Math.imul(h,de)|0)+Math.imul(m,fe)|0,o=o+Math.imul(m,de)|0;var Oe=(l+(r=r+Math.imul(f,he)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(d,he)|0))<<13)|0;l=((o=o+Math.imul(d,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(L,H),i=(i=Math.imul(L,$))+Math.imul(U,H)|0,o=Math.imul(U,$),r=r+Math.imul(R,W)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(N,W)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,Y)|0)+Math.imul(j,Q)|0,o=o+Math.imul(j,Y)|0,r=r+Math.imul(M,X)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(I,X)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(E,ne)|0,i=(i=i+Math.imul(E,re)|0)+Math.imul(T,ne)|0,o=o+Math.imul(T,re)|0,r=r+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,ae)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,ae)|0,r=r+Math.imul(w,ce)|0,i=(i=i+Math.imul(w,le)|0)+Math.imul(_,ce)|0,o=o+Math.imul(_,le)|0,r=r+Math.imul(y,fe)|0,i=(i=i+Math.imul(y,de)|0)+Math.imul(g,fe)|0,o=o+Math.imul(g,de)|0;var Ee=(l+(r=r+Math.imul(h,he)|0)|0)+((8191&(i=(i=i+Math.imul(h,me)|0)+Math.imul(m,he)|0))<<13)|0;l=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(L,W),i=(i=Math.imul(L,G))+Math.imul(U,W)|0,o=Math.imul(U,G),r=r+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,Y)|0)+Math.imul(N,Q)|0,o=o+Math.imul(N,Y)|0,r=r+Math.imul(C,X)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(j,X)|0,o=o+Math.imul(j,ee)|0,r=r+Math.imul(M,ne)|0,i=(i=i+Math.imul(M,re)|0)+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(E,oe)|0,i=(i=i+Math.imul(E,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,r=r+Math.imul(x,ce)|0,i=(i=i+Math.imul(x,le)|0)+Math.imul(S,ce)|0,o=o+Math.imul(S,le)|0,r=r+Math.imul(w,fe)|0,i=(i=i+Math.imul(w,de)|0)+Math.imul(_,fe)|0,o=o+Math.imul(_,de)|0;var Te=(l+(r=r+Math.imul(y,he)|0)|0)+((8191&(i=(i=i+Math.imul(y,me)|0)+Math.imul(g,he)|0))<<13)|0;l=((o=o+Math.imul(g,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,Y))+Math.imul(U,Q)|0,o=Math.imul(U,Y),r=r+Math.imul(R,X)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(N,X)|0,o=o+Math.imul(N,ee)|0,r=r+Math.imul(C,ne)|0,i=(i=i+Math.imul(C,re)|0)+Math.imul(j,ne)|0,o=o+Math.imul(j,re)|0,r=r+Math.imul(M,oe)|0,i=(i=i+Math.imul(M,ae)|0)+Math.imul(I,oe)|0,o=o+Math.imul(I,ae)|0,r=r+Math.imul(E,ce)|0,i=(i=i+Math.imul(E,le)|0)+Math.imul(T,ce)|0,o=o+Math.imul(T,le)|0,r=r+Math.imul(x,fe)|0,i=(i=i+Math.imul(x,de)|0)+Math.imul(S,fe)|0,o=o+Math.imul(S,de)|0;var Ae=(l+(r=r+Math.imul(w,he)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(_,he)|0))<<13)|0;l=((o=o+Math.imul(_,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(L,X),i=(i=Math.imul(L,ee))+Math.imul(U,X)|0,o=Math.imul(U,ee),r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(N,ne)|0,o=o+Math.imul(N,re)|0,r=r+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(j,oe)|0,o=o+Math.imul(j,ae)|0,r=r+Math.imul(M,ce)|0,i=(i=i+Math.imul(M,le)|0)+Math.imul(I,ce)|0,o=o+Math.imul(I,le)|0,r=r+Math.imul(E,fe)|0,i=(i=i+Math.imul(E,de)|0)+Math.imul(T,fe)|0,o=o+Math.imul(T,de)|0;var Me=(l+(r=r+Math.imul(x,he)|0)|0)+((8191&(i=(i=i+Math.imul(x,me)|0)+Math.imul(S,he)|0))<<13)|0;l=((o=o+Math.imul(S,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(L,ne),i=(i=Math.imul(L,re))+Math.imul(U,ne)|0,o=Math.imul(U,re),r=r+Math.imul(R,oe)|0,i=(i=i+Math.imul(R,ae)|0)+Math.imul(N,oe)|0,o=o+Math.imul(N,ae)|0,r=r+Math.imul(C,ce)|0,i=(i=i+Math.imul(C,le)|0)+Math.imul(j,ce)|0,o=o+Math.imul(j,le)|0,r=r+Math.imul(M,fe)|0,i=(i=i+Math.imul(M,de)|0)+Math.imul(I,fe)|0,o=o+Math.imul(I,de)|0;var Ie=(l+(r=r+Math.imul(E,he)|0)|0)+((8191&(i=(i=i+Math.imul(E,me)|0)+Math.imul(T,he)|0))<<13)|0;l=((o=o+Math.imul(T,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(L,oe),i=(i=Math.imul(L,ae))+Math.imul(U,oe)|0,o=Math.imul(U,ae),r=r+Math.imul(R,ce)|0,i=(i=i+Math.imul(R,le)|0)+Math.imul(N,ce)|0,o=o+Math.imul(N,le)|0,r=r+Math.imul(C,fe)|0,i=(i=i+Math.imul(C,de)|0)+Math.imul(j,fe)|0,o=o+Math.imul(j,de)|0;var Pe=(l+(r=r+Math.imul(M,he)|0)|0)+((8191&(i=(i=i+Math.imul(M,me)|0)+Math.imul(I,he)|0))<<13)|0;l=((o=o+Math.imul(I,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(L,ce),i=(i=Math.imul(L,le))+Math.imul(U,ce)|0,o=Math.imul(U,le),r=r+Math.imul(R,fe)|0,i=(i=i+Math.imul(R,de)|0)+Math.imul(N,fe)|0,o=o+Math.imul(N,de)|0;var Ce=(l+(r=r+Math.imul(C,he)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(j,he)|0))<<13)|0;l=((o=o+Math.imul(j,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(L,fe),i=(i=Math.imul(L,de))+Math.imul(U,fe)|0,o=Math.imul(U,de);var je=(l+(r=r+Math.imul(R,he)|0)|0)+((8191&(i=(i=i+Math.imul(R,me)|0)+Math.imul(N,he)|0))<<13)|0;l=((o=o+Math.imul(N,me)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863;var De=(l+(r=Math.imul(L,he))|0)+((8191&(i=(i=Math.imul(L,me))+Math.imul(U,he)|0))<<13)|0;return l=((o=Math.imul(U,me))+(i>>>13)|0)+(De>>>26)|0,De&=67108863,c[0]=be,c[1]=ye,c[2]=ge,c[3]=ve,c[4]=we,c[5]=_e,c[6]=ke,c[7]=xe,c[8]=Se,c[9]=Oe,c[10]=Ee,c[11]=Te,c[12]=Ae,c[13]=Me,c[14]=Ie,c[15]=Pe,c[16]=Ce,c[17]=je,c[18]=De,0!==l&&(c[19]=l,n.length++),n};function b(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function y(e,t,n){return b(e,t,n)}function g(e,t){this.x=e,this.y=t}Math.imul||(m=h),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?m(this,e,t):n<63?h(this,e,t):n<1024?b(this,e,t):y(this,e,t)},g.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},g.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a>=26,n+=o/67108864|0,n+=a>>>26,this.words[i]=67108863&a}return 0!==n&&(this.words[i]=n,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i&1}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,l=0;l=0&&(0!==u||l>=i);l--){var f=0|this.words[l];this.words[l]=u<<26-o|f>>>o,u=f&s}return c&&0!==u&&(c.words[c.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this._strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,c=r.length-i.length;if("mod"!==t){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var l=0;l=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,f);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);s&&(s.words[f]=d)}return s&&s._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%e;return t?-i:i},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/e|0,n=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var u=n.clone(),f=t.clone();!t.isZero();){for(var d=0,p=1;0==(t.words[0]&p)&&d<26;++d,p<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(u),a.isub(f)),i.iushrn(1),a.iushrn(1);for(var h=0,m=1;0==(n.words[0]&m)&&h<26;++h,m<<=1);if(h>0)for(n.iushrn(h);h-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(u),c.isub(f)),s.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(c)):(n.isub(t),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),c=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,u=1;0==(t.words[0]&u)&&l<26;++l,u<<=1);if(l>0)for(t.iushrn(l);l-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var f=0,d=1;0==(n.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(n.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new O(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function _(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function O(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function E(e){O.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},i(_,w),_.prototype.split=function(e,t){for(var n=Math.min(e.length,9),r=0;r>>22,i=o}i>>>=22,e.words[r-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},_.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(v[e])return v[e];var t;if("k256"===e)t=new _;else if("p224"===e)t=new k;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new S}return v[e]=t,t},O.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},O.prototype._verify2=function(e,t){r(0==(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},O.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(l(e,e.umod(this.m)._forceRed(this)),e)},O.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},O.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},O.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},O.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},O.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},O.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},O.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},O.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},O.prototype.isqr=function(e){return this.imul(e,e.clone())},O.prototype.sqr=function(e){return this.mul(e,e)},O.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),l=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new o(2*u*u).toRed(this);0!==this.pow(u,l).cmp(c);)u.redIAdd(c);for(var f=this.pow(u,i),d=this.pow(e,i.addn(1).iushrn(1)),p=this.pow(e,i),h=a;0!==p.cmp(s);){for(var m=p,b=0;0!==m.cmp(s);b++)m=m.redSqr();r(b=0;r--){for(var l=t.words[r],u=c-1;u>=0;u--){var f=l>>u&1;i!==n[0]&&(i=this.sqr(i)),0!==f||0!==a?(a<<=1,a|=f,(4===++s||0===r&&0===u)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}c=26}return i},O.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},O.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new E(e)},i(E,O),E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},E.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},E.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,n(71)(e))},function(e,t){},function(e){e.exports=JSON.parse('{"name":"elliptic","version":"6.5.3","description":"EC cryptography","main":"lib/elliptic.js","files":["lib"],"scripts":{"jscs":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","jshint":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","lint":"npm run jscs && npm run jshint","unit":"istanbul test _mocha --reporter=spec test/index.js","test":"npm run lint && npm run unit","version":"grunt dist && git add dist/"},"repository":{"type":"git","url":"git@github.com:indutny/elliptic"},"keywords":["EC","Elliptic","curve","Cryptography"],"author":"Fedor Indutny ","license":"MIT","bugs":{"url":"https://github.com/indutny/elliptic/issues"},"homepage":"https://github.com/indutny/elliptic","devDependencies":{"brfs":"^1.4.3","coveralls":"^3.0.8","grunt":"^1.0.4","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.2","jscs":"^3.0.7","jshint":"^2.10.3","mocha":"^6.2.2"},"dependencies":{"bn.js":"^4.4.0","brorand":"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0","inherits":"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"}}')},function(e,t,n){"use strict";var r=n(33),i=n(6),o=n(4),a=n(123),s=r.assert;function c(e){a.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function l(e,t,n,r){a.BasePoint.call(this,e,"affine"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function u(e,t,n,r){a.BasePoint.call(this,e,"jacobian"),null===t&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(c,a),e.exports=c,c.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,n;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);t=(t=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(e.lambda)n=new i(e.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(t))?n=o[0]:(n=o[1],s(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:n,basis:e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(n)}}},c.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),n=new i(2).toRed(t).redInvm(),r=n.redNeg(),o=new i(3).toRed(t).redNeg().redSqrt().redMul(n);return[r.redAdd(o).fromRed(),r.redSub(o).fromRed()]},c.prototype._getEndoBasis=function(e){for(var t,n,r,o,a,s,c,l,u,f=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=e,p=this.n.clone(),h=new i(1),m=new i(0),b=new i(0),y=new i(1),g=0;0!==d.cmpn(0);){var v=p.div(d);l=p.sub(v.mul(d)),u=b.sub(v.mul(h));var w=y.sub(v.mul(m));if(!r&&l.cmp(f)<0)t=c.neg(),n=h,r=l.neg(),o=u;else if(r&&2==++g)break;c=l,p=d,d=l,b=h,h=u,y=m,m=w}a=l.neg(),s=u;var _=r.sqr().add(o.sqr());return a.sqr().add(s.sqr()).cmp(_)>=0&&(a=t,s=n),r.negative&&(r=r.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:r,b:o},{a:a,b:s}]},c.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),o=n.b.neg().mul(e).divRound(this.n),a=i.mul(n.a),s=o.mul(r.a),c=i.mul(n.b),l=o.mul(r.b);return{k1:e.sub(a).sub(s),k2:c.add(l).neg()}},c.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(t&&!o||!t&&o)&&(r=r.redNeg()),this.point(e,r)},c.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},c.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},l.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},l.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},l.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},l.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},l.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(u,a.BasePoint),c.prototype.jpoint=function(e,t,n){return new u(this,e,t,n)},u.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},u.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},u.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),o=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(n.redMul(this.z)),s=r.redSub(i),c=o.redSub(a);if(0===s.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=s.redSqr(),u=l.redMul(s),f=r.redMul(l),d=c.redSqr().redIAdd(u).redISub(f).redISub(f),p=c.redMul(f.redISub(d)).redISub(o.redMul(u)),h=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(d,p,h)},u.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),a=n.redSub(r),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),l=c.redMul(a),u=n.redMul(c),f=s.redSqr().redIAdd(l).redISub(u).redISub(u),d=s.redMul(u.redISub(f)).redISub(i.redMul(l)),p=this.z.redMul(a);return this.curve.jpoint(f,d,p)},u.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,n=0;n=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},u.prototype.inspect=function(){return this.isInfinity()?"":""},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(e,t,n){"use strict";var r=n(6),i=n(4),o=n(123),a=n(33);function s(e){o.call(this,"mont",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(e,t,n){o.BasePoint.call(this,e,"projective"),null===t&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(t,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,o),e.exports=s,s.prototype.validate=function(e){var t=e.normalize().x,n=t.redSqr(),r=n.redMul(t).redAdd(n.redMul(this.a)).redAdd(t);return 0===r.redSqrt().redSqr().cmp(r)},i(c,o.BasePoint),s.prototype.decodePoint=function(e,t){return this.point(a.toArray(e,t),1)},s.prototype.point=function(e,t){return new c(this,e,t)},s.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(e,t){return new c(e,t[0],t[1]||e.one)},c.prototype.inspect=function(){return this.isInfinity()?"":""},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),n=e.redSub(t),r=e.redMul(t),i=n.redMul(t.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,i)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(e,t){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=e.x.redAdd(e.z),o=e.x.redSub(e.z).redMul(n),a=i.redMul(r),s=t.z.redMul(o.redAdd(a).redSqr()),c=t.x.redMul(o.redISub(a).redSqr());return this.curve.point(s,c)},c.prototype.mul=function(e){for(var t=e.clone(),n=this,r=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(e,t,n){"use strict";var r=n(33),i=n(6),o=n(4),a=n(123),s=r.assert;function c(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,a.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function l(e,t,n,r,o){a.BasePoint.call(this,e,"projective"),null===t&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(c,a),e.exports=c,c.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},c.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},c.prototype.jpoint=function(e,t,n,r){return this.point(e,t,n,r)},c.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),a=r.redMul(o.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var c=s.fromRed().isOdd();return(t&&!c||!t&&c)&&(s=s.redNeg()),this.point(e,s)},c.prototype.pointFromY=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),a=r.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},c.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),n=e.y.redSqr(),r=t.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(n)));return 0===r.cmp(i)},o(l,a.BasePoint),c.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},c.prototype.point=function(e,t,n,r){return new l(this,e,t,n,r)},l.fromJSON=function(e,t){return new l(e,t[0],t[1],t[2])},l.prototype.inspect=function(){return this.isInfinity()?"":""},l.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},l.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=r.redAdd(t),a=o.redSub(n),s=r.redSub(t),c=i.redMul(a),l=o.redMul(s),u=i.redMul(s),f=a.redMul(o);return this.curve.point(c,l,f,u)},l.prototype._projDbl=function(){var e,t,n,r=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),o=this.y.redSqr();if(this.curve.twisted){var a=(l=this.curve._mulA(i)).redAdd(o);if(this.zOne)e=r.redSub(i).redSub(o).redMul(a.redSub(this.curve.two)),t=a.redMul(l.redSub(o)),n=a.redSqr().redSub(a).redSub(a);else{var s=this.z.redSqr(),c=a.redSub(s).redISub(s);e=r.redSub(i).redISub(o).redMul(c),t=a.redMul(l.redSub(o)),n=a.redMul(c)}}else{var l=i.redAdd(o);s=this.curve._mulC(this.z).redSqr(),c=l.redSub(s).redSub(s);e=this.curve._mulC(r.redISub(l)).redMul(c),t=this.curve._mulC(l).redMul(i.redISub(o)),n=l.redMul(c)}return this.curve.point(e,t,n)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},l.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=n.redSub(t),a=i.redSub(r),s=i.redAdd(r),c=n.redAdd(t),l=o.redMul(a),u=s.redMul(c),f=o.redMul(c),d=a.redMul(s);return this.curve.point(l,u,d,f)},l.prototype._projAdd=function(e){var t,n,r=this.z.redMul(e.z),i=r.redSqr(),o=this.x.redMul(e.x),a=this.y.redMul(e.y),s=this.curve.d.redMul(o).redMul(a),c=i.redSub(s),l=i.redAdd(s),u=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(a),f=r.redMul(c).redMul(u);return this.curve.twisted?(t=r.redMul(l).redMul(a.redSub(this.curve._mulA(o))),n=c.redMul(l)):(t=r.redMul(l).redMul(a.redSub(o)),n=this.curve._mulC(c).redMul(l)),this.curve.point(f,t,n)},l.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},l.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},l.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!0)},l.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},l.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},l.prototype.getY=function(){return this.normalize(),this.y.fromRed()},l.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},l.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var n=e.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},l.prototype.toP=l.prototype.normalize,l.prototype.mixedAdd=l.prototype.add},function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},function(e,t,n){"use strict";var r=n(6),i=n(514),o=n(33),a=n(164),s=n(161),c=o.assert,l=n(515),u=n(516);function f(e){if(!(this instanceof f))return new f(e);"string"==typeof e&&(c(a.hasOwnProperty(e),"Unknown curve "+e),e=a[e]),e instanceof a.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=f,f.prototype.keyPair=function(e){return new l(this,e)},f.prototype.keyFromPrivate=function(e,t){return l.fromPrivate(this,e,t)},f.prototype.keyFromPublic=function(e,t){return l.fromPublic(this,e,t)},f.prototype.genKeyPair=function(e){e||(e={});for(var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),o=this.n.sub(new r(2));;){var a=new r(t.generate(n));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},f.prototype._truncateToN=function(e,t){var n=8*e.byteLength()-this.n.bitLength();return n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},f.prototype.sign=function(e,t,n,o){"object"==typeof n&&(o=n,n=null),o||(o={}),t=this.keyFromPrivate(t,n),e=this._truncateToN(new r(e,16));for(var a=this.n.byteLength(),s=t.getPrivate().toArray("be",a),c=e.toArray("be",a),l=new i({hash:this.hash,entropy:s,nonce:c,pers:o.pers,persEnc:o.persEnc||"utf8"}),f=this.n.sub(new r(1)),d=0;;d++){var p=o.k?o.k(d):new r(l.generate(this.n.byteLength()));if(!((p=this._truncateToN(p,!0)).cmpn(1)<=0||p.cmp(f)>=0)){var h=this.g.mul(p);if(!h.isInfinity()){var m=h.getX(),b=m.umod(this.n);if(0!==b.cmpn(0)){var y=p.invm(this.n).mul(b.mul(t.getPrivate()).iadd(e));if(0!==(y=y.umod(this.n)).cmpn(0)){var g=(h.getY().isOdd()?1:0)|(0!==m.cmp(b)?2:0);return o.canonical&&y.cmp(this.nh)>0&&(y=this.n.sub(y),g^=1),new u({r:b,s:y,recoveryParam:g})}}}}}},f.prototype.verify=function(e,t,n,i){e=this._truncateToN(new r(e,16)),n=this.keyFromPublic(n,i);var o=(t=new u(t,"hex")).r,a=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,c=a.invm(this.n),l=c.mul(e).umod(this.n),f=c.mul(o).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(l,n.getPublic(),f)).isInfinity()&&s.eqXToP(o):!(s=this.g.mulAdd(l,n.getPublic(),f)).isInfinity()&&0===s.getX().umod(this.n).cmp(o)},f.prototype.recoverPubKey=function(e,t,n,i){c((3&n)===n,"The recovery param is more than two bits"),t=new u(t,i);var o=this.n,a=new r(e),s=t.r,l=t.s,f=1&n,d=n>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");s=d?this.curve.pointFromX(s.add(this.curve.n),f):this.curve.pointFromX(s,f);var p=t.r.invm(o),h=o.sub(a).mul(p).umod(o),m=l.mul(p).umod(o);return this.g.mulAdd(h,s,m)},f.prototype.getKeyRecoveryParam=function(e,t,n,r){if(null!==(t=new u(t,r)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")}},function(e,t,n){"use strict";var r=n(70),i=n(280),o=n(32);function a(e){if(!(this instanceof a))return new a(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),n=i.toArray(e.nonce,e.nonceEnc||"hex"),r=i.toArray(e.pers,e.persEnc||"hex");o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,n,r)}e.exports=a,a.prototype._init=function(e,t,n){var r=e.concat(t).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(n||[])),this._reseed=1},a.prototype.generate=function(e,t,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(r=n,n=t,t=null),n&&(n=i.toArray(n,r||"hex"),this._update(n));for(var o=[];o.length"}},function(e,t,n){"use strict";var r=n(6),i=n(33),o=i.assert;function a(e,t){if(e instanceof a)return e;this._importDER(e,t)||(o(e.r&&e.s,"Signature without r or s"),this.r=new r(e.r,16),this.s=new r(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function s(){this.place=0}function c(e,t){var n=e[t.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,o=0,a=t.place;o>>=0;return!(i<=127)&&(t.place=a,i)}function l(e){for(var t=0,n=e.length-1;!e[t]&&!(128&e[t+1])&&t>>3);for(e.push(128|n);--n;)e.push(t>>>(n<<3)&255);e.push(t)}}e.exports=a,a.prototype._importDER=function(e,t){e=i.toArray(e,t);var n=new s;if(48!==e[n.place++])return!1;var o=c(e,n);if(!1===o)return!1;if(o+n.place!==e.length)return!1;if(2!==e[n.place++])return!1;var a=c(e,n);if(!1===a)return!1;var l=e.slice(n.place,a+n.place);if(n.place+=a,2!==e[n.place++])return!1;var u=c(e,n);if(!1===u)return!1;if(e.length!==u+n.place)return!1;var f=e.slice(n.place,u+n.place);if(0===l[0]){if(!(128&l[1]))return!1;l=l.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new r(l),this.s=new r(f),this.recoveryParam=null,!0},a.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=l(t),n=l(n);!(n[0]||128&n[1]);)n=n.slice(1);var r=[2];u(r,t.length),(r=r.concat(t)).push(2),u(r,n.length);var o=r.concat(n),a=[48];return u(a,o.length),a=a.concat(o),i.encode(a,e)}},function(e,t,n){"use strict";var r=n(70),i=n(164),o=n(33),a=o.assert,s=o.parseBytes,c=n(518),l=n(519);function u(e){if(a("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof u))return new u(e);e=i[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=r.sha512}e.exports=u,u.prototype.sign=function(e,t){e=s(e);var n=this.keyFromSecret(t),r=this.hashInt(n.messagePrefix(),e),i=this.g.mul(r),o=this.encodePoint(i),a=this.hashInt(o,n.pubBytes(),e).mul(n.priv()),c=r.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:c,Rencoded:o})},u.prototype.verify=function(e,t,n){e=s(e),t=this.makeSignature(t);var r=this.keyFromPublic(n),i=this.hashInt(t.Rencoded(),r.pubBytes(),e),o=this.g.mul(t.S());return t.R().add(r.pub().mul(i)).eq(o)},u.prototype.hashInt=function(){for(var e=this.hash(),t=0;t=t)throw new Error("invalid sig")}e.exports=function(e,t,n,l,u){var f=a(n);if("ec"===f.type){if("ecdsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");return function(e,t,n){var r=s[n.data.algorithm.curve.join(".")];if(!r)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));var i=new o(r),a=n.data.subjectPrivateKey.data;return i.verify(t,e,a)}(e,t,f)}if("dsa"===f.type){if("dsa"!==l)throw new Error("wrong public key type");return function(e,t,n){var r=n.data.p,o=n.data.q,s=n.data.g,l=n.data.pub_key,u=a.signature.decode(e,"der"),f=u.s,d=u.r;c(f,o),c(d,o);var p=i.mont(r),h=f.invm(o);return 0===s.toRed(p).redPow(new i(t).mul(h).mod(o)).fromRed().mul(l.toRed(p).redPow(d.mul(h).mod(o)).fromRed()).mod(r).mod(o).cmp(d)}(e,t,f)}if("rsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");t=r.concat([u,t]);for(var d=f.modulus.byteLength(),p=[1],h=0;t.length+p.length+2n-d-2)throw new Error("message too long");var p=f.alloc(n-r-d-2),h=n-u-1,m=i(u),b=s(f.concat([l,p,f.alloc(1,1),t],h),a(m,h)),y=s(m,a(b,u));return new c(f.concat([f.alloc(1),y,b],n))}(h,t);else if(1===d)p=function(e,t,n){var r,o=t.length,a=e.modulus.byteLength();if(o>a-11)throw new Error("message too long");r=n?f.alloc(a-o-3,255):function(e){var t,n=f.allocUnsafe(e),r=0,o=i(2*e),a=0;for(;r=0)throw new Error("data too long for modulus")}return n?u(p,h):l(p,h)}},function(e,t,n){var r=n(124),i=n(289),o=n(290),a=n(6),s=n(163),c=n(54),l=n(291),u=n(7).Buffer;e.exports=function(e,t,n){var f;f=e.padding?e.padding:n?1:4;var d,p=r(e),h=p.modulus.byteLength();if(t.length>h||new a(t).cmp(p.modulus)>=0)throw new Error("decryption error");d=n?l(new a(t),p):s(t,p);var m=u.alloc(h-d.length);if(d=u.concat([m,d],h),4===f)return function(e,t){var n=e.modulus.byteLength(),r=c("sha1").update(u.alloc(0)).digest(),a=r.length;if(0!==t[0])throw new Error("decryption error");var s=t.slice(1,a+1),l=t.slice(a+1),f=o(s,i(l,a)),d=o(l,i(f,n-a-1));if(function(e,t){e=u.from(e),t=u.from(t);var n=0,r=e.length;e.length!==t.length&&(n++,r=Math.min(e.length,t.length));var i=-1;for(;++i=t.length){o++;break}var a=t.slice(2,i-1);("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++;a.length<8&&o++;if(o)throw new Error("decryption error");return t.slice(i)}(0,d,n);if(3===f)return d;throw new Error("unknown padding")}},function(e,t,n){"use strict";(function(e,r){function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=n(7),a=n(62),s=o.Buffer,c=o.kMaxLength,l=e.crypto||e.msCrypto,u=Math.pow(2,32)-1;function f(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>u||e<0)throw new TypeError("offset must be a uint32");if(e>c||e>t)throw new RangeError("offset out of range")}function d(e,t,n){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>u||e<0)throw new TypeError("size must be a uint32");if(e+t>n||e>c)throw new RangeError("buffer too small")}function p(e,t,n,i){if(r.browser){var o=e.buffer,s=new Uint8Array(o,t,n);return l.getRandomValues(s),i?void r.nextTick((function(){i(null,e)})):e}if(!i)return a(n).copy(e,t),e;a(n,(function(n,r){if(n)return i(n);r.copy(e,t),i(null,e)}))}l&&l.getRandomValues||!r.browser?(t.randomFill=function(t,n,r,i){if(!(s.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof n)i=n,n=0,r=t.length;else if("function"==typeof r)i=r,r=t.length-n;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return f(n,t.length),d(r,n,t.length),p(t,n,r,i)},t.randomFillSync=function(t,n,r){void 0===n&&(n=0);if(!(s.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');f(n,t.length),void 0===r&&(r=t.length-n);return d(r,n,t.length),p(t,n,r)}):(t.randomFill=i,t.randomFillSync=i)}).call(this,n(12),n(13))},function(e,t){const n="Impossible case. Please create issue.",r="The tweak was out of range or the resulted private key is invalid",i="The tweak was out of range or equal to zero",o="Unknow error on context randomization",a="Private Key is invalid",s="Public Key could not be parsed",c="Public Key serialization error",l="The sum of the public keys is not valid",u="Signature could not be parsed",f="The nonce generation function failed, or the private key was invalid",d="Public key could not be recover",p="Scalar was invalid (zero or overflow)";function h(e,t){if(!e)throw new Error(t)}function m(e,t,n){if(h(t instanceof Uint8Array,`Expected ${e} to be an Uint8Array`),void 0!==n)if(Array.isArray(n)){const r=`Expected ${e} to be an Uint8Array with length [${n.join(", ")}]`;h(n.includes(t.length),r)}else{const r=`Expected ${e} to be an Uint8Array with length ${n}`;h(t.length===n,r)}}function b(e){h("Boolean"===g(e),"Expected compressed to be a Boolean")}function y(e=(e=>new Uint8Array(e)),t){return"function"==typeof e&&(e=e(t)),m("output",e,t),e}function g(e){return Object.prototype.toString.call(e).slice(8,-1)}e.exports=e=>({contextRandomize(t){switch(h(null===t||t instanceof Uint8Array,"Expected seed to be an Uint8Array or null"),null!==t&&m("seed",t,32),e.contextRandomize(t)){case 1:throw new Error(o)}},privateKeyVerify:t=>(m("private key",t,32),0===e.privateKeyVerify(t)),privateKeyNegate(t){switch(m("private key",t,32),e.privateKeyNegate(t)){case 0:return t;case 1:throw new Error(n)}},privateKeyTweakAdd(t,n){switch(m("private key",t,32),m("tweak",n,32),e.privateKeyTweakAdd(t,n)){case 0:return t;case 1:throw new Error(r)}},privateKeyTweakMul(t,n){switch(m("private key",t,32),m("tweak",n,32),e.privateKeyTweakMul(t,n)){case 0:return t;case 1:throw new Error(i)}},publicKeyVerify:t=>(m("public key",t,[33,65]),0===e.publicKeyVerify(t)),publicKeyCreate(t,n=!0,r){switch(m("private key",t,32),b(n),r=y(r,n?33:65),e.publicKeyCreate(r,t)){case 0:return r;case 1:throw new Error(a);case 2:throw new Error(c)}},publicKeyConvert(t,n=!0,r){switch(m("public key",t,[33,65]),b(n),r=y(r,n?33:65),e.publicKeyConvert(r,t)){case 0:return r;case 1:throw new Error(s);case 2:throw new Error(c)}},publicKeyNegate(t,r=!0,i){switch(m("public key",t,[33,65]),b(r),i=y(i,r?33:65),e.publicKeyNegate(i,t)){case 0:return i;case 1:throw new Error(s);case 2:throw new Error(n);case 3:throw new Error(c)}},publicKeyCombine(t,n=!0,r){h(Array.isArray(t),"Expected public keys to be an Array"),h(t.length>0,"Expected public keys array will have more than zero items");for(const e of t)m("public key",e,[33,65]);switch(b(n),r=y(r,n?33:65),e.publicKeyCombine(r,t)){case 0:return r;case 1:throw new Error(s);case 2:throw new Error(l);case 3:throw new Error(c)}},publicKeyTweakAdd(t,n,i=!0,o){switch(m("public key",t,[33,65]),m("tweak",n,32),b(i),o=y(o,i?33:65),e.publicKeyTweakAdd(o,t,n)){case 0:return o;case 1:throw new Error(s);case 2:throw new Error(r)}},publicKeyTweakMul(t,n,r=!0,o){switch(m("public key",t,[33,65]),m("tweak",n,32),b(r),o=y(o,r?33:65),e.publicKeyTweakMul(o,t,n)){case 0:return o;case 1:throw new Error(s);case 2:throw new Error(i)}},signatureNormalize(t){switch(m("signature",t,64),e.signatureNormalize(t)){case 0:return t;case 1:throw new Error(u)}},signatureExport(t,r){m("signature",t,64);const i={output:r=y(r,72),outputlen:72};switch(e.signatureExport(i,t)){case 0:return r.slice(0,i.outputlen);case 1:throw new Error(u);case 2:throw new Error(n)}},signatureImport(t,r){switch(m("signature",t),r=y(r,64),e.signatureImport(r,t)){case 0:return r;case 1:throw new Error(u);case 2:throw new Error(n)}},ecdsaSign(t,r,i={},o){m("message",t,32),m("private key",r,32),h("Object"===g(i),"Expected options to be an Object"),void 0!==i.data&&m("options.data",i.data),void 0!==i.noncefn&&h("Function"===g(i.noncefn),"Expected options.noncefn to be a Function");const a={signature:o=y(o,64),recid:null};switch(e.ecdsaSign(a,t,r,i.data,i.noncefn)){case 0:return a;case 1:throw new Error(f);case 2:throw new Error(n)}},ecdsaVerify(t,n,r){switch(m("signature",t,64),m("message",n,32),m("public key",r,[33,65]),e.ecdsaVerify(t,n,r)){case 0:return!0;case 3:return!1;case 1:throw new Error(u);case 2:throw new Error(s)}},ecdsaRecover(t,r,i,o=!0,a){switch(m("signature",t,64),h("Number"===g(r)&&r>=0&&r<=3,"Expected recovery id to be a Number within interval [0, 3]"),m("message",i,32),b(o),a=y(a,o?33:65),e.ecdsaRecover(a,t,r,i)){case 0:return a;case 1:throw new Error(u);case 2:throw new Error(d);case 3:throw new Error(n)}},ecdh(t,n,r={},i){switch(m("public key",t,[33,65]),m("private key",n,32),h("Object"===g(r),"Expected options to be an Object"),void 0!==r.data&&m("options.data",r.data),void 0!==r.hashfn?(h("Function"===g(r.hashfn),"Expected options.hashfn to be a Function"),void 0!==r.xbuf&&m("options.xbuf",r.xbuf,32),void 0!==r.ybuf&&m("options.ybuf",r.ybuf,32),m("output",i)):i=y(i,32),e.ecdh(i,t,n,r.data,r.hashfn,r.xbuf,r.ybuf)){case 0:return i;case 1:throw new Error(s);case 2:throw new Error(p)}}})},function(e,t,n){const r=new(0,n(45).ec)("secp256k1"),i=r.curve,o=i.n.constructor;function a(e){const t=e[0];switch(t){case 2:case 3:return 33!==e.length?null:function(e,t){let n=new o(t);if(n.cmp(i.p)>=0)return null;n=n.toRed(i.red);let a=n.redSqr().redIMul(n).redIAdd(i.b).redSqrt();return 3===e!==a.isOdd()&&(a=a.redNeg()),r.keyPair({pub:{x:n,y:a}})}(t,e.subarray(1,33));case 4:case 6:case 7:return 65!==e.length?null:function(e,t,n){let a=new o(t),s=new o(n);if(a.cmp(i.p)>=0||s.cmp(i.p)>=0)return null;if(a=a.toRed(i.red),s=s.toRed(i.red),(6===e||7===e)&&s.isOdd()!==(7===e))return null;const c=a.redSqr().redIMul(a);return s.redSqr().redISub(c.redIAdd(i.b)).isZero()?r.keyPair({pub:{x:a,y:s}}):null}(t,e.subarray(1,33),e.subarray(33,65));default:return null}}function s(e,t){const n=t.encode(null,33===e.length);for(let t=0;t0,privateKeyVerify(e){const t=new o(e);return t.cmp(i.n)<0&&!t.isZero()?0:1},privateKeyNegate(e){const t=new o(e),n=i.n.sub(t).umod(i.n).toArrayLike(Uint8Array,"be",32);return e.set(n),0},privateKeyTweakAdd(e,t){const n=new o(t);if(n.cmp(i.n)>=0)return 1;if(n.iadd(new o(e)),n.cmp(i.n)>=0&&n.isub(i.n),n.isZero())return 1;const r=n.toArrayLike(Uint8Array,"be",32);return e.set(r),0},privateKeyTweakMul(e,t){let n=new o(t);if(n.cmp(i.n)>=0||n.isZero())return 1;n.imul(new o(e)),n.cmp(i.n)>=0&&(n=n.umod(i.n));const r=n.toArrayLike(Uint8Array,"be",32);return e.set(r),0},publicKeyVerify:e=>null===a(e)?1:0,publicKeyCreate(e,t){const n=new o(t);if(n.cmp(i.n)>=0||n.isZero())return 1;return s(e,r.keyFromPrivate(t).getPublic()),0},publicKeyConvert(e,t){const n=a(t);if(null===n)return 1;return s(e,n.getPublic()),0},publicKeyNegate(e,t){const n=a(t);if(null===n)return 1;const r=n.getPublic();return r.y=r.y.redNeg(),s(e,r),0},publicKeyCombine(e,t){const n=new Array(t.length);for(let e=0;e=0)return 2;const c=r.getPublic().add(i.g.mul(n));return c.isInfinity()?2:(s(e,c),0)},publicKeyTweakMul(e,t,n){const r=a(t);if(null===r)return 1;if((n=new o(n)).cmp(i.n)>=0||n.isZero())return 2;return s(e,r.getPublic().mul(n)),0},signatureNormalize(e){const t=new o(e.subarray(0,32)),n=new o(e.subarray(32,64));return t.cmp(i.n)>=0||n.cmp(i.n)>=0?1:(1===n.cmp(r.nh)&&e.set(i.n.sub(n).toArrayLike(Uint8Array,"be",32),32),0)},signatureExport(e,t){const n=t.subarray(0,32),r=t.subarray(32,64);if(new o(n).cmp(i.n)>=0)return 1;if(new o(r).cmp(i.n)>=0)return 1;const{output:a}=e;let s=a.subarray(4,37);s[0]=0,s.set(n,1);let c=33,l=0;for(;c>1&&0===s[l]&&!(128&s[l+1]);--c,++l);if(s=s.subarray(l),128&s[0])return 1;if(c>1&&0===s[0]&&!(128&s[1]))return 1;let u=a.subarray(39,72);u[0]=0,u.set(r,1);let f=33,d=0;for(;f>1&&0===u[d]&&!(128&u[d+1]);--f,++d);return u=u.subarray(d),128&u[0]||f>1&&0===u[0]&&!(128&u[1])?1:(e.outputlen=6+c+f,a[0]=48,a[1]=e.outputlen-2,a[2]=2,a[3]=s.length,a.set(s,4),a[4+c]=2,a[5+c]=u.length,a.set(u,6+c),0)},signatureImport(e,t){if(t.length<8)return 1;if(t.length>72)return 1;if(48!==t[0])return 1;if(t[1]!==t.length-2)return 1;if(2!==t[2])return 1;const n=t[3];if(0===n)return 1;if(5+n>=t.length)return 1;if(2!==t[4+n])return 1;const r=t[5+n];if(0===r)return 1;if(6+n+r!==t.length)return 1;if(128&t[4])return 1;if(n>1&&0===t[4]&&!(128&t[5]))return 1;if(128&t[n+6])return 1;if(r>1&&0===t[n+6]&&!(128&t[n+7]))return 1;let a=t.subarray(4,4+n);if(33===a.length&&0===a[0]&&(a=a.subarray(1)),a.length>32)return 1;let s=t.subarray(6+n);if(33===s.length&&0===s[0]&&(s=s.slice(1)),s.length>32)throw new Error("S length is too long");let c=new o(a);c.cmp(i.n)>=0&&(c=new o(0));let l=new o(t.subarray(6+n));return l.cmp(i.n)>=0&&(l=new o(0)),e.set(c.toArrayLike(Uint8Array,"be",32),0),e.set(l.toArrayLike(Uint8Array,"be",32),32),0},ecdsaSign(e,t,n,a,s){if(s){const e=s;s=r=>{const i=e(t,n,null,a,r);if(!(i instanceof Uint8Array&&32===i.length))throw new Error("This is the way");return new o(i)}}const c=new o(n);if(c.cmp(i.n)>=0||c.isZero())return 1;let l;try{l=r.sign(t,n,{canonical:!0,k:s,pers:a})}catch(e){return 1}return e.signature.set(l.r.toArrayLike(Uint8Array,"be",32),0),e.signature.set(l.s.toArrayLike(Uint8Array,"be",32),32),e.recid=l.recoveryParam,0},ecdsaVerify(e,t,n){const s={r:e.subarray(0,32),s:e.subarray(32,64)},c=new o(s.r),l=new o(s.s);if(c.cmp(i.n)>=0||l.cmp(i.n)>=0)return 1;if(1===l.cmp(r.nh)||c.isZero()||l.isZero())return 3;const u=a(n);if(null===u)return 2;const f=u.getPublic();return r.verify(t,s,f)?0:3},ecdsaRecover(e,t,n,a){const c={r:t.slice(0,32),s:t.slice(32,64)},l=new o(c.r),u=new o(c.s);if(l.cmp(i.n)>=0||u.cmp(i.n)>=0)return 1;if(l.isZero()||u.isZero())return 2;let f;try{f=r.recoverPubKey(a,c,n)}catch(e){return 2}return s(e,f),0},ecdh(e,t,n,s,c,l,u){const f=a(t);if(null===f)return 1;const d=new o(n);if(d.cmp(i.n)>=0||d.isZero())return 2;const p=f.getPublic().mul(d);if(void 0===c){const t=p.encode(null,!0),n=r.hash().update(t).digest();for(let t=0;t<32;++t)e[t]=n[t]}else{l||(l=new Uint8Array(32));const t=p.getX().toArray("be",32);for(let e=0;e<32;++e)l[e]=t[e];u||(u=new Uint8Array(32));const n=p.getY().toArray("be",32);for(let e=0;e<32;++e)u[e]=n[e];const r=c(l,u,s);if(!(r instanceof Uint8Array&&r.length===e.length))return 2;e.set(r)}return 0}}},function(e,t,n){"use strict";var r=n(539),i=n(57),o=n(294),a=n(169),s=n(295),c=Object.prototype.toString;function l(e){if(!(this instanceof l))return new l(e);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw new Error(a[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var u;if(u="string"==typeof t.dictionary?o.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=r.deflateSetDictionary(this.strm,u)))throw new Error(a[n]);this._dict_set=!0}}function u(e,t){var n=new l(t);if(n.push(e,!0),n.err)throw n.msg||a[n.err];return n.result}l.prototype.push=function(e,t){var n,a,s=this.strm,l=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=o.string2buf(e):"[object ArrayBuffer]"===c.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(l),s.next_out=0,s.avail_out=l),1!==(n=r.deflate(s,a))&&0!==n)return this.onEnd(n),this.ended=!0,!1;0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==n);return 4===a?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==a||(this.onEnd(0),s.avail_out=0,!0)},l.prototype.onData=function(e){this.chunks.push(e)},l.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Deflate=l,t.deflate=u,t.deflateRaw=function(e,t){return(t=t||{}).raw=!0,u(e,t)},t.gzip=function(e,t){return(t=t||{}).gzip=!0,u(e,t)}},function(e,t,n){"use strict";var r,i=n(57),o=n(540),a=n(292),s=n(293),c=n(169);function l(e,t){return e.msg=c[t],t}function u(e){return(e<<1)-(e>4?9:0)}function f(e){for(var t=e.length;--t>=0;)e[t]=0}function d(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function p(e,t){o._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,d(e.strm)}function h(e,t){e.pending_buf[e.pending++]=t}function m(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function b(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,l=e.window,u=e.w_mask,f=e.prev,d=e.strstart+258,p=l[o+a-1],h=l[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(n=t)+a]===h&&l[n+a-1]===p&&l[n]===l[o]&&l[++n]===l[o+1]){o+=2,n++;do{}while(l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&oa){if(e.match_start=t,a=r,r>=s)break;p=l[o+a-1],h=l[o+a]}}}while((t=f[t&u])>c&&0!=--i);return a<=e.lookahead?a:e.lookahead}function y(e){var t,n,r,o,c,l,u,f,d,p,h=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=h+(h-262)){i.arraySet(e.window,e.window,h,h,0),e.match_start-=h,e.strstart-=h,e.block_start-=h,t=n=e.hash_size;do{r=e.head[--t],e.head[t]=r>=h?r-h:0}while(--n);t=n=h;do{r=e.prev[--t],e.prev[t]=r>=h?r-h:0}while(--n);o+=h}if(0===e.strm.avail_in)break;if(l=e.strm,u=e.window,f=e.strstart+e.lookahead,d=o,p=void 0,(p=l.avail_in)>d&&(p=d),n=0===p?0:(l.avail_in-=p,i.arraySet(u,l.input,l.next_in,p,f),1===l.state.wrap?l.adler=a(l.adler,u,p,f):2===l.state.wrap&&(l.adler=s(l.adler,u,p,f)),l.next_in+=p,l.total_in+=p,p),e.lookahead+=n,e.lookahead+e.insert>=3)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3)if(r=o._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<15&&(s=2,r-=16),o<1||o>9||8!==n||r<8||r>15||t<0||t>9||a<0||a>4)return l(e,-2);8===r&&(r=9);var c=new _;return e.state=c,c.strm=e,c.wrap=s,c.gzhead=null,c.w_bits=r,c.w_size=1<e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(y(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,p(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-262&&(p(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(p(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(p(e,!1),e.strm.avail_out),1)})),new w(4,4,8,4,g),new w(4,5,16,8,g),new w(4,6,32,32,g),new w(4,4,16,16,v),new w(8,16,32,32,v),new w(8,16,128,128,v),new w(8,32,128,256,v),new w(32,128,258,1024,v),new w(32,258,258,4096,v)],t.deflateInit=function(e,t){return S(e,t,8,15,8,0)},t.deflateInit2=S,t.deflateReset=x,t.deflateResetKeep=k,t.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?-2:(e.state.gzhead=t,0):-2},t.deflate=function(e,t){var n,i,a,c;if(!e||!e.state||t>5||t<0)return e?l(e,-2):-2;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&4!==t)return l(e,0===e.avail_out?-5:-2);if(i.strm=e,n=i.last_flush,i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,h(i,31),h(i,139),h(i,8),i.gzhead?(h(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),h(i,255&i.gzhead.time),h(i,i.gzhead.time>>8&255),h(i,i.gzhead.time>>16&255),h(i,i.gzhead.time>>24&255),h(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),h(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(h(i,255&i.gzhead.extra.length),h(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(h(i,0),h(i,0),h(i,0),h(i,0),h(i,0),h(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),h(i,3),i.status=113);else{var b=8+(i.w_bits-8<<4)<<8;b|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(b|=32),b+=31-b%31,i.status=113,m(i,b),0!==i.strstart&&(m(i,e.adler>>>16),m(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),d(e),a=i.pending,i.pending!==i.pending_buf_size));)h(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),d(e),a=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindexa&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===c&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),d(e),a=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindexa&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===c&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&d(e),i.pending+2<=i.pending_buf_size&&(h(i,255&e.adler),h(i,e.adler>>8&255),e.adler=0,i.status=113)):i.status=113),0!==i.pending){if(d(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&u(t)<=u(n)&&4!==t)return l(e,-5);if(666===i.status&&0!==e.avail_in)return l(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&666!==i.status){var g=2===i.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(y(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(p(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(p(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(p(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var n,r,i,a,s=e.window;;){if(e.lookahead<=258){if(y(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=s[i=e.strstart-1])===s[++i]&&r===s[++i]&&r===s[++i]){a=e.strstart+258;do{}while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&ie.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=o._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(p(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(p(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(p(e,!1),0===e.strm.avail_out)?1:2}(i,t):r[i.level].func(i,t);if(3!==g&&4!==g||(i.status=666),1===g||3===g)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===g&&(1===t?o._tr_align(i):5!==t&&(o._tr_stored_block(i,0,0,!1),3===t&&(f(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),d(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(h(i,255&e.adler),h(i,e.adler>>8&255),h(i,e.adler>>16&255),h(i,e.adler>>24&255),h(i,255&e.total_in),h(i,e.total_in>>8&255),h(i,e.total_in>>16&255),h(i,e.total_in>>24&255)):(m(i,e.adler>>>16),m(i,65535&e.adler)),d(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?0:1)},t.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&103!==t&&113!==t&&666!==t?l(e,-2):(e.state=null,113===t?l(e,-3):0):-2},t.deflateSetDictionary=function(e,t){var n,r,o,s,c,l,u,d,p=t.length;if(!e||!e.state)return-2;if(2===(s=(n=e.state).wrap)||1===s&&42!==n.status||n.lookahead)return-2;for(1===s&&(e.adler=a(e.adler,t,p,0)),n.wrap=0,p>=n.w_size&&(0===s&&(f(n.head),n.strstart=0,n.block_start=0,n.insert=0),d=new i.Buf8(n.w_size),i.arraySet(d,t,p-n.w_size,n.w_size,0),t=d,p=n.w_size),c=e.avail_in,l=e.next_in,u=e.input,e.avail_in=p,e.next_in=0,e.input=t,y(n);n.lookahead>=3;){r=n.strstart,o=n.lookahead-2;do{n.ins_h=(n.ins_h<=0;)e[t]=0}var o=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],a=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],c=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],l=new Array(576);i(l);var u=new Array(60);i(u);var f=new Array(512);i(f);var d=new Array(256);i(d);var p=new Array(29);i(p);var h,m,b,y=new Array(30);function g(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function v(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function w(e){return e<256?f[e]:f[256+(e>>>7)]}function _(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function k(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<>>=1,n<<=1}while(--t>0);return n>>>1}function O(e,t,n){var r,i,o=new Array(16),a=0;for(r=1;r<=15;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=S(o[s]++,s))}}function E(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function T(e){e.bi_valid>8?_(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function A(e,t,n,r){var i=2*t,o=2*n;return e[i]>1;n>=1;n--)M(e,o,n);i=c;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],M(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,M(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,a,s,c=t.dyn_tree,l=t.max_code,u=t.stat_desc.static_tree,f=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,h=t.stat_desc.max_length,m=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)(o=c[2*c[2*(r=e.heap[n])+1]+1]+1)>h&&(o=h,m++),c[2*r+1]=o,r>l||(e.bl_count[o]++,a=0,r>=p&&(a=d[r-p]),s=c[2*r],e.opt_len+=s*(o+a),f&&(e.static_len+=s*(u[2*r+1]+a)));if(0!==m){do{for(o=h-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[h]--,m-=2}while(m>0);for(o=h;0!==o;o--)for(r=e.bl_count[o];0!==r;)(i=e.heap[--n])>l||(c[2*i+1]!==o&&(e.opt_len+=(o-c[2*i+1])*c[2*i],c[2*i+1]=o),r--)}}(e,t),O(o,l,e.bl_count)}function C(e,t,n){var r,i,o=-1,a=t[1],s=0,c=7,l=4;for(0===a&&(c=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s>=7;r<30;r++)for(y[r]=i<<7,e=0;e<1<0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),P(e,e.l_desc),P(e,e.d_desc),a=function(e){var t;for(C(e,e.dyn_ltree,e.l_desc.max_code),C(e,e.dyn_dtree,e.d_desc.max_code),P(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*c[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&-1!==t?R(e,t,n,r):4===e.strategy||o===i?(k(e,2+(r?1:0),3),I(e,l,u)):(k(e,4+(r?1:0),3),function(e,t,n,r){var i;for(k(e,t-257,5),k(e,n-1,5),k(e,r-4,4),i=0;i>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(d[n]+256+1)]++,e.dyn_dtree[2*w(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){k(e,2,3),x(e,256,l),function(e){16===e.bi_valid?(_(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},function(e,t,n){"use strict";var r=n(542),i=n(57),o=n(294),a=n(296),s=n(169),c=n(295),l=n(545),u=Object.prototype.toString;function f(e){if(!(this instanceof f))return new f(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==a.Z_OK)throw new Error(s[n]);if(this.header=new l,r.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=o.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=r.inflateSetDictionary(this.strm,t.dictionary))!==a.Z_OK))throw new Error(s[n])}function d(e,t){var n=new f(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}f.prototype.push=function(e,t){var n,s,c,l,f,d=this.strm,p=this.options.chunkSize,h=this.options.dictionary,m=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof e?d.input=o.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?d.input=new Uint8Array(e):d.input=e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new i.Buf8(p),d.next_out=0,d.avail_out=p),(n=r.inflate(d,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&h&&(n=r.inflateSetDictionary(this.strm,h)),n===a.Z_BUF_ERROR&&!0===m&&(n=a.Z_OK,m=!1),n!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),this.ended=!0,!1;d.next_out&&(0!==d.avail_out&&n!==a.Z_STREAM_END&&(0!==d.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(c=o.utf8border(d.output,d.next_out),l=d.next_out-c,f=o.buf2string(d.output,c),d.next_out=l,d.avail_out=p-l,l&&i.arraySet(d.output,d.output,c,l,0),this.onData(f)):this.onData(i.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(m=!0)}while((d.avail_in>0||0===d.avail_out)&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),d.avail_out=0,!0)},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=f,t.inflate=d,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,d(e,t)},t.ungzip=d},function(e,t,n){"use strict";var r=n(57),i=n(292),o=n(293),a=n(543),s=n(544);function c(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function l(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function u(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(852),t.distcode=t.distdyn=new r.Buf32(592),t.sane=1,t.back=-1,0):-2}function f(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,u(e)):-2}function d(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,f(e))):-2}function p(e,t){var n,r;return e?(r=new l,e.state=r,r.window=null,0!==(n=d(e,t))&&(e.state=null),n):-2}var h,m,b=!0;function y(e){if(b){var t;for(h=new r.Buf32(512),m=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(1,e.lens,0,288,h,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(2,e.lens,0,32,m,0,e.work,{bits:5}),b=!1}e.lencode=h,e.lenbits=9,e.distcode=m,e.distbits=5}function g(e,t,n,i){var o,a=e.state;return null===a.window&&(a.wsize=1<=a.wsize?(r.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((o=a.wsize-a.wnext)>i&&(o=i),r.arraySet(a.window,t,n-i,o,a.wnext),(i-=o)?(r.arraySet(a.window,t,n-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave>>8&255,n.check=o(n.check,R,2,0),m=0,b=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&m)<<8)+(m>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&m)){e.msg="unknown compression method",n.mode=30;break}if(b-=4,I=8+(15&(m>>>=4)),0===n.wbits)n.wbits=I;else if(I>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<>8&1),512&n.flags&&(R[0]=255&m,R[1]=m>>>8&255,n.check=o(n.check,R,2,0)),m=0,b=0,n.mode=3;case 3:for(;b<32;){if(0===p)break e;p--,m+=l[f++]<>>8&255,R[2]=m>>>16&255,R[3]=m>>>24&255,n.check=o(n.check,R,4,0)),m=0,b=0,n.mode=4;case 4:for(;b<16;){if(0===p)break e;p--,m+=l[f++]<>8),512&n.flags&&(R[0]=255&m,R[1]=m>>>8&255,n.check=o(n.check,R,2,0)),m=0,b=0,n.mode=5;case 5:if(1024&n.flags){for(;b<16;){if(0===p)break e;p--,m+=l[f++]<>>8&255,n.check=o(n.check,R,2,0)),m=0,b=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((_=n.length)>p&&(_=p),_&&(n.head&&(I=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,l,f,_,I)),512&n.flags&&(n.check=o(n.check,l,_,f)),p-=_,f+=_,n.length-=_),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===p)break e;_=0;do{I=l[f+_++],n.head&&I&&n.length<65536&&(n.head.name+=String.fromCharCode(I))}while(I&&_>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;b<32;){if(0===p)break e;p--,m+=l[f++]<>>=7&b,b-=7&b,n.mode=27;break}for(;b<3;){if(0===p)break e;p--,m+=l[f++]<>>=1)){case 0:n.mode=14;break;case 1:if(y(n),n.mode=20,6===t){m>>>=2,b-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}m>>>=2,b-=2;break;case 14:for(m>>>=7&b,b-=7&b;b<32;){if(0===p)break e;p--,m+=l[f++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&m,m=0,b=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(_=n.length){if(_>p&&(_=p),_>h&&(_=h),0===_)break e;r.arraySet(u,l,f,_,d),p-=_,f+=_,h-=_,d+=_,n.length-=_;break}n.mode=12;break;case 17:for(;b<14;){if(0===p)break e;p--,m+=l[f++]<>>=5,b-=5,n.ndist=1+(31&m),m>>>=5,b-=5,n.ncode=4+(15&m),m>>>=4,b-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have>>=3,b-=3}for(;n.have<19;)n.lens[N[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,C={bits:n.lenbits},P=s(0,n.lens,0,19,n.lencode,0,n.work,C),n.lenbits=C.bits,P){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,E=65535&D,!((S=D>>>24)<=b);){if(0===p)break e;p--,m+=l[f++]<>>=S,b-=S,n.lens[n.have++]=E;else{if(16===E){for(j=S+2;b>>=S,b-=S,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}I=n.lens[n.have-1],_=3+(3&m),m>>>=2,b-=2}else if(17===E){for(j=S+3;b>>=S)),m>>>=3,b-=3}else{for(j=S+7;b>>=S)),m>>>=7,b-=7}if(n.have+_>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;_--;)n.lens[n.have++]=I}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,C={bits:n.lenbits},P=s(1,n.lens,0,n.nlen,n.lencode,0,n.work,C),n.lenbits=C.bits,P){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,C={bits:n.distbits},P=s(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,C),n.distbits=C.bits,P){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(p>=6&&h>=258){e.next_out=d,e.avail_out=h,e.next_in=f,e.avail_in=p,n.hold=m,n.bits=b,a(e,w),d=e.next_out,u=e.output,h=e.avail_out,f=e.next_in,l=e.input,p=e.avail_in,m=n.hold,b=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;O=(D=n.lencode[m&(1<>>16&255,E=65535&D,!((S=D>>>24)<=b);){if(0===p)break e;p--,m+=l[f++]<>T)])>>>16&255,E=65535&D,!(T+(S=D>>>24)<=b);){if(0===p)break e;p--,m+=l[f++]<>>=T,b-=T,n.back+=T}if(m>>>=S,b-=S,n.back+=S,n.length=E,0===O){n.mode=26;break}if(32&O){n.back=-1,n.mode=12;break}if(64&O){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&O,n.mode=22;case 22:if(n.extra){for(j=n.extra;b>>=n.extra,b-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;O=(D=n.distcode[m&(1<>>16&255,E=65535&D,!((S=D>>>24)<=b);){if(0===p)break e;p--,m+=l[f++]<>T)])>>>16&255,E=65535&D,!(T+(S=D>>>24)<=b);){if(0===p)break e;p--,m+=l[f++]<>>=T,b-=T,n.back+=T}if(m>>>=S,b-=S,n.back+=S,64&O){e.msg="invalid distance code",n.mode=30;break}n.offset=E,n.extra=15&O,n.mode=24;case 24:if(n.extra){for(j=n.extra;b>>=n.extra,b-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===h)break e;if(_=w-h,n.offset>_){if((_=n.offset-_)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}_>n.wnext?(_-=n.wnext,k=n.wsize-_):k=n.wnext-_,_>n.length&&(_=n.length),x=n.window}else x=u,k=d-n.offset,_=n.length;_>h&&(_=h),h-=_,n.length-=_;do{u[d++]=x[k++]}while(--_);0===n.length&&(n.mode=21);break;case 26:if(0===h)break e;u[d++]=n.length,h--,n.mode=21;break;case 27:if(n.wrap){for(;b<32;){if(0===p)break e;p--,m|=l[f++]<>>=w=v>>>24,h-=w,0===(w=v>>>16&255))E[o++]=65535&v;else{if(!(16&w)){if(0==(64&w)){v=m[(65535&v)+(p&(1<>>=w,h-=w),h<15&&(p+=O[r++]<>>=w=v>>>24,h-=w,!(16&(w=v>>>16&255))){if(0==(64&w)){v=b[(65535&v)+(p&(1<c){e.msg="invalid distance too far back",n.mode=30;break e}if(p>>>=w,h-=w,k>(w=o-a)){if((w=k-w)>u&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(x=0,S=d,0===f){if(x+=l-w,w<_){_-=w;do{E[o++]=d[x++]}while(--w);x=o-k,S=E}}else if(f2;)E[o++]=S[x++],E[o++]=S[x++],E[o++]=S[x++],_-=3;_&&(E[o++]=S[x++],_>1&&(E[o++]=S[x++]))}else{x=o-k;do{E[o++]=E[x++],E[o++]=E[x++],E[o++]=E[x++],_-=3}while(_>2);_&&(E[o++]=E[x++],_>1&&(E[o++]=E[x++]))}break}}break}}while(r>3,p&=(1<<(h-=_<<3))-1,e.next_in=r,e.next_out=o,e.avail_in=r=1&&0===R[E];E--);if(T>E&&(T=E),0===E)return l[u++]=20971520,l[u++]=20971520,d.bits=1,0;for(O=1;O0&&(0===e||1!==E))return-1;for(N[1]=0,x=1;x<15;x++)N[x+1]=N[x]+R[x];for(S=0;S852||2===e&&P>592)return 1;for(;;){v=x-M,f[S]g?(w=B[L+f[S]],_=j[D+f[S]]):(w=96,_=0),p=1<>M)+(h-=p)]=v<<24|w<<16|_|0}while(0!==h);for(p=1<>=1;if(0!==p?(C&=p-1,C+=p):C=0,S++,0==--R[x]){if(x===E)break;x=t[n+f[S]]}if(x>T&&(C&b)!==m){for(0===M&&(M=T),y+=O,I=1<<(A=x-M);A+M852||2===e&&P>592)return 1;l[m=C&b]=T<<24|A<<16|y-u|0}}return 0!==C&&(l[y+C]=x-M<<24|64<<16|0),d.bits=T,0}},function(e,t,n){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseKVStore=void 0;t.BaseKVStore=class{constructor(e,t){this.provider=e,this._prefix=t}get(e){return r(this,void 0,void 0,(function*(){const t=this.prefix()+"/"+e;return(yield this.provider.get())[t]}))}set(e,t){const n=this.prefix()+"/"+e;return this.provider.set({[n]:t})}prefix(){return this._prefix}}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.Mnemonic=void 0;const i=n(69),o=n(557),a=n(2);class s{static generateWallet(e,t="m/44'/118'/0'/0/0",n="",i=256){return r(this,void 0,void 0,(function*(){const r=yield s.generateSeed(e,i);return{privKey:s.generateWalletFromMnemonic(r,t,n),mnemonic:r}}))}static validateMnemonic(e){i.validateMnemonic(e)}static generateSeed(e,t=128){return r(this,void 0,void 0,(function*(){if(t%32!=0)throw new TypeError("invalid entropy");let n=new Uint8Array(t/8);return n=yield e(n),i.entropyToMnemonic(a.Buffer.from(n).toString("hex"))}))}static generateWalletFromMnemonic(e,t="m/44'/118'/0'/0/0",n=""){const r=i.mnemonicToSeedSync(e,n),a=o.fromSeed(r).derivePath(t).privateKey;if(!a)throw new Error("null hd key");return a}}t.Mnemonic=s},function(e){e.exports=JSON.parse('["abdikace","abeceda","adresa","agrese","akce","aktovka","alej","alkohol","amputace","ananas","andulka","anekdota","anketa","antika","anulovat","archa","arogance","asfalt","asistent","aspirace","astma","astronom","atlas","atletika","atol","autobus","azyl","babka","bachor","bacil","baculka","badatel","bageta","bagr","bahno","bakterie","balada","baletka","balkon","balonek","balvan","balza","bambus","bankomat","barbar","baret","barman","baroko","barva","baterka","batoh","bavlna","bazalka","bazilika","bazuka","bedna","beran","beseda","bestie","beton","bezinka","bezmoc","beztak","bicykl","bidlo","biftek","bikiny","bilance","biograf","biolog","bitva","bizon","blahobyt","blatouch","blecha","bledule","blesk","blikat","blizna","blokovat","bloudit","blud","bobek","bobr","bodlina","bodnout","bohatost","bojkot","bojovat","bokorys","bolest","borec","borovice","bota","boubel","bouchat","bouda","boule","bourat","boxer","bradavka","brambora","branka","bratr","brepta","briketa","brko","brloh","bronz","broskev","brunetka","brusinka","brzda","brzy","bublina","bubnovat","buchta","buditel","budka","budova","bufet","bujarost","bukvice","buldok","bulva","bunda","bunkr","burza","butik","buvol","buzola","bydlet","bylina","bytovka","bzukot","capart","carevna","cedr","cedule","cejch","cejn","cela","celer","celkem","celnice","cenina","cennost","cenovka","centrum","cenzor","cestopis","cetka","chalupa","chapadlo","charita","chata","chechtat","chemie","chichot","chirurg","chlad","chleba","chlubit","chmel","chmura","chobot","chochol","chodba","cholera","chomout","chopit","choroba","chov","chrapot","chrlit","chrt","chrup","chtivost","chudina","chutnat","chvat","chvilka","chvost","chyba","chystat","chytit","cibule","cigareta","cihelna","cihla","cinkot","cirkus","cisterna","citace","citrus","cizinec","cizost","clona","cokoliv","couvat","ctitel","ctnost","cudnost","cuketa","cukr","cupot","cvaknout","cval","cvik","cvrkot","cyklista","daleko","dareba","datel","datum","dcera","debata","dechovka","decibel","deficit","deflace","dekl","dekret","demokrat","deprese","derby","deska","detektiv","dikobraz","diktovat","dioda","diplom","disk","displej","divadlo","divoch","dlaha","dlouho","dluhopis","dnes","dobro","dobytek","docent","dochutit","dodnes","dohled","dohoda","dohra","dojem","dojnice","doklad","dokola","doktor","dokument","dolar","doleva","dolina","doma","dominant","domluvit","domov","donutit","dopad","dopis","doplnit","doposud","doprovod","dopustit","dorazit","dorost","dort","dosah","doslov","dostatek","dosud","dosyta","dotaz","dotek","dotknout","doufat","doutnat","dovozce","dozadu","doznat","dozorce","drahota","drak","dramatik","dravec","draze","drdol","drobnost","drogerie","drozd","drsnost","drtit","drzost","duben","duchovno","dudek","duha","duhovka","dusit","dusno","dutost","dvojice","dvorec","dynamit","ekolog","ekonomie","elektron","elipsa","email","emise","emoce","empatie","epizoda","epocha","epopej","epos","esej","esence","eskorta","eskymo","etiketa","euforie","evoluce","exekuce","exkurze","expedice","exploze","export","extrakt","facka","fajfka","fakulta","fanatik","fantazie","farmacie","favorit","fazole","federace","fejeton","fenka","fialka","figurant","filozof","filtr","finance","finta","fixace","fjord","flanel","flirt","flotila","fond","fosfor","fotbal","fotka","foton","frakce","freska","fronta","fukar","funkce","fyzika","galeje","garant","genetika","geolog","gilotina","glazura","glejt","golem","golfista","gotika","graf","gramofon","granule","grep","gril","grog","groteska","guma","hadice","hadr","hala","halenka","hanba","hanopis","harfa","harpuna","havran","hebkost","hejkal","hejno","hejtman","hektar","helma","hematom","herec","herna","heslo","hezky","historik","hladovka","hlasivky","hlava","hledat","hlen","hlodavec","hloh","hloupost","hltat","hlubina","hluchota","hmat","hmota","hmyz","hnis","hnojivo","hnout","hoblina","hoboj","hoch","hodiny","hodlat","hodnota","hodovat","hojnost","hokej","holinka","holka","holub","homole","honitba","honorace","horal","horda","horizont","horko","horlivec","hormon","hornina","horoskop","horstvo","hospoda","hostina","hotovost","houba","houf","houpat","houska","hovor","hradba","hranice","hravost","hrazda","hrbolek","hrdina","hrdlo","hrdost","hrnek","hrobka","hromada","hrot","hrouda","hrozen","hrstka","hrubost","hryzat","hubenost","hubnout","hudba","hukot","humr","husita","hustota","hvozd","hybnost","hydrant","hygiena","hymna","hysterik","idylka","ihned","ikona","iluze","imunita","infekce","inflace","inkaso","inovace","inspekce","internet","invalida","investor","inzerce","ironie","jablko","jachta","jahoda","jakmile","jakost","jalovec","jantar","jarmark","jaro","jasan","jasno","jatka","javor","jazyk","jedinec","jedle","jednatel","jehlan","jekot","jelen","jelito","jemnost","jenom","jepice","jeseter","jevit","jezdec","jezero","jinak","jindy","jinoch","jiskra","jistota","jitrnice","jizva","jmenovat","jogurt","jurta","kabaret","kabel","kabinet","kachna","kadet","kadidlo","kahan","kajak","kajuta","kakao","kaktus","kalamita","kalhoty","kalibr","kalnost","kamera","kamkoliv","kamna","kanibal","kanoe","kantor","kapalina","kapela","kapitola","kapka","kaple","kapota","kapr","kapusta","kapybara","karamel","karotka","karton","kasa","katalog","katedra","kauce","kauza","kavalec","kazajka","kazeta","kazivost","kdekoliv","kdesi","kedluben","kemp","keramika","kino","klacek","kladivo","klam","klapot","klasika","klaun","klec","klenba","klepat","klesnout","klid","klima","klisna","klobouk","klokan","klopa","kloub","klubovna","klusat","kluzkost","kmen","kmitat","kmotr","kniha","knot","koalice","koberec","kobka","kobliha","kobyla","kocour","kohout","kojenec","kokos","koktejl","kolaps","koleda","kolize","kolo","komando","kometa","komik","komnata","komora","kompas","komunita","konat","koncept","kondice","konec","konfese","kongres","konina","konkurs","kontakt","konzerva","kopanec","kopie","kopnout","koprovka","korbel","korektor","kormidlo","koroptev","korpus","koruna","koryto","korzet","kosatec","kostka","kotel","kotleta","kotoul","koukat","koupelna","kousek","kouzlo","kovboj","koza","kozoroh","krabice","krach","krajina","kralovat","krasopis","kravata","kredit","krejcar","kresba","kreveta","kriket","kritik","krize","krkavec","krmelec","krmivo","krocan","krok","kronika","kropit","kroupa","krovka","krtek","kruhadlo","krupice","krutost","krvinka","krychle","krypta","krystal","kryt","kudlanka","kufr","kujnost","kukla","kulajda","kulich","kulka","kulomet","kultura","kuna","kupodivu","kurt","kurzor","kutil","kvalita","kvasinka","kvestor","kynolog","kyselina","kytara","kytice","kytka","kytovec","kyvadlo","labrador","lachtan","ladnost","laik","lakomec","lamela","lampa","lanovka","lasice","laso","lastura","latinka","lavina","lebka","leckdy","leden","lednice","ledovka","ledvina","legenda","legie","legrace","lehce","lehkost","lehnout","lektvar","lenochod","lentilka","lepenka","lepidlo","letadlo","letec","letmo","letokruh","levhart","levitace","levobok","libra","lichotka","lidojed","lidskost","lihovina","lijavec","lilek","limetka","linie","linka","linoleum","listopad","litina","litovat","lobista","lodivod","logika","logoped","lokalita","loket","lomcovat","lopata","lopuch","lord","losos","lotr","loudal","louh","louka","louskat","lovec","lstivost","lucerna","lucifer","lump","lusk","lustrace","lvice","lyra","lyrika","lysina","madam","madlo","magistr","mahagon","majetek","majitel","majorita","makak","makovice","makrela","malba","malina","malovat","malvice","maminka","mandle","manko","marnost","masakr","maskot","masopust","matice","matrika","maturita","mazanec","mazivo","mazlit","mazurka","mdloba","mechanik","meditace","medovina","melasa","meloun","mentolka","metla","metoda","metr","mezera","migrace","mihnout","mihule","mikina","mikrofon","milenec","milimetr","milost","mimika","mincovna","minibar","minomet","minulost","miska","mistr","mixovat","mladost","mlha","mlhovina","mlok","mlsat","mluvit","mnich","mnohem","mobil","mocnost","modelka","modlitba","mohyla","mokro","molekula","momentka","monarcha","monokl","monstrum","montovat","monzun","mosaz","moskyt","most","motivace","motorka","motyka","moucha","moudrost","mozaika","mozek","mozol","mramor","mravenec","mrkev","mrtvola","mrzet","mrzutost","mstitel","mudrc","muflon","mulat","mumie","munice","muset","mutace","muzeum","muzikant","myslivec","mzda","nabourat","nachytat","nadace","nadbytek","nadhoz","nadobro","nadpis","nahlas","nahnat","nahodile","nahradit","naivita","najednou","najisto","najmout","naklonit","nakonec","nakrmit","nalevo","namazat","namluvit","nanometr","naoko","naopak","naostro","napadat","napevno","naplnit","napnout","naposled","naprosto","narodit","naruby","narychlo","nasadit","nasekat","naslepo","nastat","natolik","navenek","navrch","navzdory","nazvat","nebe","nechat","necky","nedaleko","nedbat","neduh","negace","nehet","nehoda","nejen","nejprve","neklid","nelibost","nemilost","nemoc","neochota","neonka","nepokoj","nerost","nerv","nesmysl","nesoulad","netvor","neuron","nevina","nezvykle","nicota","nijak","nikam","nikdy","nikl","nikterak","nitro","nocleh","nohavice","nominace","nora","norek","nositel","nosnost","nouze","noviny","novota","nozdra","nuda","nudle","nuget","nutit","nutnost","nutrie","nymfa","obal","obarvit","obava","obdiv","obec","obehnat","obejmout","obezita","obhajoba","obilnice","objasnit","objekt","obklopit","oblast","oblek","obliba","obloha","obluda","obnos","obohatit","obojek","obout","obrazec","obrna","obruba","obrys","obsah","obsluha","obstarat","obuv","obvaz","obvinit","obvod","obvykle","obyvatel","obzor","ocas","ocel","ocenit","ochladit","ochota","ochrana","ocitnout","odboj","odbyt","odchod","odcizit","odebrat","odeslat","odevzdat","odezva","odhadce","odhodit","odjet","odjinud","odkaz","odkoupit","odliv","odluka","odmlka","odolnost","odpad","odpis","odplout","odpor","odpustit","odpykat","odrazka","odsoudit","odstup","odsun","odtok","odtud","odvaha","odveta","odvolat","odvracet","odznak","ofina","ofsajd","ohlas","ohnisko","ohrada","ohrozit","ohryzek","okap","okenice","oklika","okno","okouzlit","okovy","okrasa","okres","okrsek","okruh","okupant","okurka","okusit","olejnina","olizovat","omak","omeleta","omezit","omladina","omlouvat","omluva","omyl","onehdy","opakovat","opasek","operace","opice","opilost","opisovat","opora","opozice","opravdu","oproti","orbital","orchestr","orgie","orlice","orloj","ortel","osada","oschnout","osika","osivo","oslava","oslepit","oslnit","oslovit","osnova","osoba","osolit","ospalec","osten","ostraha","ostuda","ostych","osvojit","oteplit","otisk","otop","otrhat","otrlost","otrok","otruby","otvor","ovanout","ovar","oves","ovlivnit","ovoce","oxid","ozdoba","pachatel","pacient","padouch","pahorek","pakt","palanda","palec","palivo","paluba","pamflet","pamlsek","panenka","panika","panna","panovat","panstvo","pantofle","paprika","parketa","parodie","parta","paruka","paryba","paseka","pasivita","pastelka","patent","patrona","pavouk","pazneht","pazourek","pecka","pedagog","pejsek","peklo","peloton","penalta","pendrek","penze","periskop","pero","pestrost","petarda","petice","petrolej","pevnina","pexeso","pianista","piha","pijavice","pikle","piknik","pilina","pilnost","pilulka","pinzeta","pipeta","pisatel","pistole","pitevna","pivnice","pivovar","placenta","plakat","plamen","planeta","plastika","platit","plavidlo","plaz","plech","plemeno","plenta","ples","pletivo","plevel","plivat","plnit","plno","plocha","plodina","plomba","plout","pluk","plyn","pobavit","pobyt","pochod","pocit","poctivec","podat","podcenit","podepsat","podhled","podivit","podklad","podmanit","podnik","podoba","podpora","podraz","podstata","podvod","podzim","poezie","pohanka","pohnutka","pohovor","pohroma","pohyb","pointa","pojistka","pojmout","pokazit","pokles","pokoj","pokrok","pokuta","pokyn","poledne","polibek","polknout","poloha","polynom","pomalu","pominout","pomlka","pomoc","pomsta","pomyslet","ponechat","ponorka","ponurost","popadat","popel","popisek","poplach","poprosit","popsat","popud","poradce","porce","porod","porucha","poryv","posadit","posed","posila","poskok","poslanec","posoudit","pospolu","postava","posudek","posyp","potah","potkan","potlesk","potomek","potrava","potupa","potvora","poukaz","pouto","pouzdro","povaha","povidla","povlak","povoz","povrch","povstat","povyk","povzdech","pozdrav","pozemek","poznatek","pozor","pozvat","pracovat","prahory","praktika","prales","praotec","praporek","prase","pravda","princip","prkno","probudit","procento","prodej","profese","prohra","projekt","prolomit","promile","pronikat","propad","prorok","prosba","proton","proutek","provaz","prskavka","prsten","prudkost","prut","prvek","prvohory","psanec","psovod","pstruh","ptactvo","puberta","puch","pudl","pukavec","puklina","pukrle","pult","pumpa","punc","pupen","pusa","pusinka","pustina","putovat","putyka","pyramida","pysk","pytel","racek","rachot","radiace","radnice","radon","raft","ragby","raketa","rakovina","rameno","rampouch","rande","rarach","rarita","rasovna","rastr","ratolest","razance","razidlo","reagovat","reakce","recept","redaktor","referent","reflex","rejnok","reklama","rekord","rekrut","rektor","reputace","revize","revma","revolver","rezerva","riskovat","riziko","robotika","rodokmen","rohovka","rokle","rokoko","romaneto","ropovod","ropucha","rorejs","rosol","rostlina","rotmistr","rotoped","rotunda","roubenka","roucho","roup","roura","rovina","rovnice","rozbor","rozchod","rozdat","rozeznat","rozhodce","rozinka","rozjezd","rozkaz","rozloha","rozmar","rozpad","rozruch","rozsah","roztok","rozum","rozvod","rubrika","ruchadlo","rukavice","rukopis","ryba","rybolov","rychlost","rydlo","rypadlo","rytina","ryzost","sadista","sahat","sako","samec","samizdat","samota","sanitka","sardinka","sasanka","satelit","sazba","sazenice","sbor","schovat","sebranka","secese","sedadlo","sediment","sedlo","sehnat","sejmout","sekera","sekta","sekunda","sekvoje","semeno","seno","servis","sesadit","seshora","seskok","seslat","sestra","sesuv","sesypat","setba","setina","setkat","setnout","setrvat","sever","seznam","shoda","shrnout","sifon","silnice","sirka","sirotek","sirup","situace","skafandr","skalisko","skanzen","skaut","skeptik","skica","skladba","sklenice","sklo","skluz","skoba","skokan","skoro","skripta","skrz","skupina","skvost","skvrna","slabika","sladidlo","slanina","slast","slavnost","sledovat","slepec","sleva","slezina","slib","slina","sliznice","slon","sloupek","slovo","sluch","sluha","slunce","slupka","slza","smaragd","smetana","smilstvo","smlouva","smog","smrad","smrk","smrtka","smutek","smysl","snad","snaha","snob","sobota","socha","sodovka","sokol","sopka","sotva","souboj","soucit","soudce","souhlas","soulad","soumrak","souprava","soused","soutok","souviset","spalovna","spasitel","spis","splav","spodek","spojenec","spolu","sponzor","spornost","spousta","sprcha","spustit","sranda","sraz","srdce","srna","srnec","srovnat","srpen","srst","srub","stanice","starosta","statika","stavba","stehno","stezka","stodola","stolek","stopa","storno","stoupat","strach","stres","strhnout","strom","struna","studna","stupnice","stvol","styk","subjekt","subtropy","suchar","sudost","sukno","sundat","sunout","surikata","surovina","svah","svalstvo","svetr","svatba","svazek","svisle","svitek","svoboda","svodidlo","svorka","svrab","sykavka","sykot","synek","synovec","sypat","sypkost","syrovost","sysel","sytost","tabletka","tabule","tahoun","tajemno","tajfun","tajga","tajit","tajnost","taktika","tamhle","tampon","tancovat","tanec","tanker","tapeta","tavenina","tazatel","technika","tehdy","tekutina","telefon","temnota","tendence","tenista","tenor","teplota","tepna","teprve","terapie","termoska","textil","ticho","tiskopis","titulek","tkadlec","tkanina","tlapka","tleskat","tlukot","tlupa","tmel","toaleta","topinka","topol","torzo","touha","toulec","tradice","traktor","tramp","trasa","traverza","trefit","trest","trezor","trhavina","trhlina","trochu","trojice","troska","trouba","trpce","trpitel","trpkost","trubec","truchlit","truhlice","trus","trvat","tudy","tuhnout","tuhost","tundra","turista","turnaj","tuzemsko","tvaroh","tvorba","tvrdost","tvrz","tygr","tykev","ubohost","uboze","ubrat","ubrousek","ubrus","ubytovna","ucho","uctivost","udivit","uhradit","ujednat","ujistit","ujmout","ukazatel","uklidnit","uklonit","ukotvit","ukrojit","ulice","ulita","ulovit","umyvadlo","unavit","uniforma","uniknout","upadnout","uplatnit","uplynout","upoutat","upravit","uran","urazit","usednout","usilovat","usmrtit","usnadnit","usnout","usoudit","ustlat","ustrnout","utahovat","utkat","utlumit","utonout","utopenec","utrousit","uvalit","uvolnit","uvozovka","uzdravit","uzel","uzenina","uzlina","uznat","vagon","valcha","valoun","vana","vandal","vanilka","varan","varhany","varovat","vcelku","vchod","vdova","vedro","vegetace","vejce","velbloud","veletrh","velitel","velmoc","velryba","venkov","veranda","verze","veselka","veskrze","vesnice","vespodu","vesta","veterina","veverka","vibrace","vichr","videohra","vidina","vidle","vila","vinice","viset","vitalita","vize","vizitka","vjezd","vklad","vkus","vlajka","vlak","vlasec","vlevo","vlhkost","vliv","vlnovka","vloupat","vnucovat","vnuk","voda","vodivost","vodoznak","vodstvo","vojensky","vojna","vojsko","volant","volba","volit","volno","voskovka","vozidlo","vozovna","vpravo","vrabec","vracet","vrah","vrata","vrba","vrcholek","vrhat","vrstva","vrtule","vsadit","vstoupit","vstup","vtip","vybavit","vybrat","vychovat","vydat","vydra","vyfotit","vyhledat","vyhnout","vyhodit","vyhradit","vyhubit","vyjasnit","vyjet","vyjmout","vyklopit","vykonat","vylekat","vymazat","vymezit","vymizet","vymyslet","vynechat","vynikat","vynutit","vypadat","vyplatit","vypravit","vypustit","vyrazit","vyrovnat","vyrvat","vyslovit","vysoko","vystavit","vysunout","vysypat","vytasit","vytesat","vytratit","vyvinout","vyvolat","vyvrhel","vyzdobit","vyznat","vzadu","vzbudit","vzchopit","vzdor","vzduch","vzdychat","vzestup","vzhledem","vzkaz","vzlykat","vznik","vzorek","vzpoura","vztah","vztek","xylofon","zabrat","zabydlet","zachovat","zadarmo","zadusit","zafoukat","zahltit","zahodit","zahrada","zahynout","zajatec","zajet","zajistit","zaklepat","zakoupit","zalepit","zamezit","zamotat","zamyslet","zanechat","zanikat","zaplatit","zapojit","zapsat","zarazit","zastavit","zasunout","zatajit","zatemnit","zatknout","zaujmout","zavalit","zavelet","zavinit","zavolat","zavrtat","zazvonit","zbavit","zbrusu","zbudovat","zbytek","zdaleka","zdarma","zdatnost","zdivo","zdobit","zdroj","zdvih","zdymadlo","zelenina","zeman","zemina","zeptat","zezadu","zezdola","zhatit","zhltnout","zhluboka","zhotovit","zhruba","zima","zimnice","zjemnit","zklamat","zkoumat","zkratka","zkumavka","zlato","zlehka","zloba","zlom","zlost","zlozvyk","zmapovat","zmar","zmatek","zmije","zmizet","zmocnit","zmodrat","zmrzlina","zmutovat","znak","znalost","znamenat","znovu","zobrazit","zotavit","zoubek","zoufale","zplodit","zpomalit","zprava","zprostit","zprudka","zprvu","zrada","zranit","zrcadlo","zrnitost","zrno","zrovna","zrychlit","zrzavost","zticha","ztratit","zubovina","zubr","zvednout","zvenku","zvesela","zvon","zvrat","zvukovod","zvyk"]')},function(e){e.exports=JSON.parse('["的","一","是","在","不","了","有","和","人","这","中","大","为","上","个","国","我","以","要","他","时","来","用","们","生","到","作","地","于","出","å°±","分","对","成","会","可","主","发","å¹´","动","同","å·¥","也","能","下","过","子","说","产","种","面","而","方","后","多","定","行","å­¦","法","所","民","得","经","十","三","之","进","着","等","部","度","家","电","力","里","如","æ°´","化","高","自","二","理","èµ·","小","物","现","实","加","量","都","两","体","制","机","当","使","点","从","业","本","去","把","性","好","应","开","它","合","还","因","由","其","些","然","前","外","天","政","四","日","那","社","义","事","å¹³","å½¢","相","全","表","间","æ ·","与","关","各","重","新","线","内","数","æ­£","心","反","ä½ ","明","看","原","又","么","利","比","或","但","è´¨","气","第","向","道","命","æ­¤","变","条","只","没","结","解","问","意","建","月","公","无","ç³»","军","很","情","者","最","立","代","想","å·²","通","并","提","直","题","党","程","展","五","果","料","象","员","革","位","入","常","文","总","次","品","式","æ´»","设","及","管","特","件","长","求","老","头","基","资","è¾¹","流","è·¯","级","少","图","å±±","统","接","知","较","将","组","见","计","别","她","手","角","期","æ ¹","论","运","农","指","几","九","区","强","放","决","西","被","å¹²","做","必","战","先","回","则","ä»»","取","据","处","队","南","给","色","光","门","即","保","æ²»","北","造","百","规","热","领","七","æµ·","口","东","导","器","压","志","世","金","增","争","济","阶","æ²¹","思","术","极","交","受","联","什","认","六","共","权","收","证","改","清","美","再","采","转","更","单","风","切","打","白","教","速","花","带","安","场","身","车","例","真","务","具","万","每","目","至","è¾¾","èµ°","积","示","è®®","声","报","斗","完","ç±»","八","离","华","名","ç¡®","才","科","å¼ ","ä¿¡","马","节","话","ç±³","整","空","元","况","今","集","温","ä¼ ","土","许","æ­¥","群","广","石","è®°","需","段","研","界","拉","林","律","叫","且","究","观","越","织","装","å½±","算","低","持","音","众","书","布","复","容","儿","é¡»","际","商","非","验","连","断","æ·±","难","近","矿","千","周","委","ç´ ","技","备","半","办","青","省","列","ä¹ ","响","约","支","般","史","感","劳","便","团","往","酸","历","市","克","何","除","消","构","府","称","太","准","ç²¾","值","号","率","族","ç»´","划","选","标","写","存","候","毛","亲","å¿«","效","斯","院","查","江","型","眼","王","按","æ ¼","养","易","ç½®","æ´¾","层","片","始","却","专","状","育","厂","京","识","适","属","圆","包","火","住","调","满","县","局","照","参","红","细","引","听","该","铁","ä»·","严","首","底","液","官","å¾·","随","病","苏","失","尔","æ­»","讲","配","女","黄","推","显","谈","罪","神","艺","呢","席","含","企","望","密","批","营","项","防","举","球","英","æ°§","势","告","李","台","落","木","帮","è½®","ç ´","亚","师","围","注","远","字","材","排","供","æ²³","态","封","另","施","减","树","溶","怎","æ­¢","案","言","士","均","æ­¦","固","叶","é±¼","æ³¢","视","仅","è´¹","ç´§","爱","å·¦","ç« ","早","朝","害","ç»­","è½»","服","试","食","充","兵","源","判","护","司","足","某","练","å·®","致","板","田","降","黑","犯","负","击","范","继","兴","ä¼¼","余","坚","曲","输","ä¿®","故","城","夫","够","送","笔","船","占","右","è´¢","吃","富","春","职","觉","汉","画","功","å·´","跟","虽","杂","飞","检","吸","助","升","阳","互","初","创","抗","考","投","坏","策","古","径","换","未","跑","留","钢","曾","端","è´£","站","简","è¿°","钱","副","å°½","帝","射","草","冲","承","独","令","限","阿","宣","环","双","请","超","å¾®","让","控","州","良","è½´","找","否","纪","益","依","优","顶","础","è½½","倒","房","突","坐","粉","敌","略","客","袁","冷","胜","绝","析","块","剂","测","丝","协","诉","念","陈","仍","罗","盐","友","洋","错","苦","夜","刑","移","频","逐","靠","æ··","母","短","皮","终","聚","æ±½","村","云","哪","既","距","卫","停","烈","央","察","烧","迅","境","若","印","æ´²","刻","括","激","孔","搞","甚","室","待","æ ¸","æ ¡","散","ä¾µ","吧","甲","游","久","菜","味","旧","模","湖","è´§","损","预","阻","毫","普","稳","乙","妈","植","息","扩","银","语","挥","酒","守","拿","序","纸","医","缺","雨","吗","针","刘","啊","急","唱","误","è®­","愿","审","附","获","茶","鲜","ç²®","斤","å­©","脱","ç¡«","肥","善","龙","演","父","渐","血","欢","械","掌","歌","沙","刚","攻","谓","盾","讨","晚","粒","ä¹±","燃","矛","乎","杀","药","宁","鲁","è´µ","钟","煤","读","班","伯","香","介","è¿«","句","丰","培","握","兰","担","弦","蛋","沉","假","ç©¿","执","答","乐","谁","顺","烟","缩","征","脸","喜","松","脚","困","异","免","背","星","福","ä¹°","染","井","概","慢","怕","磁","倍","祖","皇","促","静","è¡¥","评","ç¿»","肉","è·µ","å°¼","è¡£","宽","扬","棉","希","伤","操","垂","秋","宜","æ°¢","套","督","振","架","亮","末","宪","庆","编","牛","触","映","雷","销","诗","座","居","抓","裂","胞","呼","娘","景","威","绿","晶","厚","盟","è¡¡","鸡","孙","延","危","胶","屋","乡","临","陆","顾","掉","呀","灯","岁","措","束","耐","剧","玉","èµµ","è·³","哥","å­£","课","凯","胡","额","款","绍","卷","齐","伟","蒸","殖","æ°¸","宗","苗","川","炉","岩","å¼±","零","杨","奏","沿","露","杆","探","滑","镇","饭","浓","航","怀","赶","库","夺","伊","灵","税","途","灭","赛","归","召","鼓","播","盘","裁","险","康","唯","录","菌","纯","借","糖","盖","横","符","私","努","堂","域","枪","润","幅","哈","竟","熟","虫","æ³½","脑","壤","碳","欧","遍","侧","寨","敢","å½»","虑","斜","薄","庭","纳","å¼¹","饲","伸","折","麦","湿","暗","荷","瓦","塞","床","筑","恶","户","访","塔","奇","透","梁","刀","旋","迹","卡","æ°¯","遇","份","毒","æ³¥","退","洗","摆","灰","彩","卖","耗","夏","择","忙","铜","献","硬","予","繁","圈","雪","函","亦","抽","篇","阵","阴","丁","å°º","追","堆","雄","迎","泛","爸","楼","避","谋","吨","野","猪","旗","ç´¯","偏","典","馆","ç´¢","秦","脂","æ½®","爷","豆","忽","托","惊","塑","遗","愈","朱","替","纤","粗","倾","尚","痛","楚","è°¢","奋","è´­","磨","君","æ± ","旁","碎","骨","监","捕","弟","暴","割","è´¯","殊","释","词","亡","壁","é¡¿","宝","午","尘","闻","揭","炮","残","冬","æ¡¥","妇","è­¦","综","招","吴","付","æµ®","遭","徐","您","摇","è°·","赞","ç®±","隔","订","男","吹","园","纷","唐","è´¥","宋","玻","å·¨","耕","坦","荣","闭","æ¹¾","键","凡","é©»","锅","救","恩","剥","凝","碱","齿","截","炼","麻","纺","禁","废","盛","版","缓","净","睛","昌","婚","涉","筒","嘴","插","岸","朗","庄","街","藏","姑","è´¸","腐","奴","啦","惯","乘","伙","恢","匀","纱","扎","辩","耳","彪","臣","亿","璃","抵","脉","秀","萨","俄","网","舞","店","喷","纵","寸","汗","挂","æ´ª","è´º","闪","柬","爆","烯","æ´¥","稻","墙","软","勇","像","滚","厘","蒙","芳","肯","坡","柱","荡","腿","仪","旅","å°¾","轧","冰","è´¡","登","黎","削","钻","勒","逃","障","æ°¨","郭","å³°","币","港","伏","轨","亩","毕","擦","莫","刺","浪","秘","援","æ ª","健","售","股","岛","甘","泡","睡","ç«¥","铸","汤","阀","休","汇","舍","牧","绕","炸","哲","磷","绩","朋","æ·¡","尖","启","陷","柴","呈","徒","颜","泪","稍","忘","æ³µ","蓝","拖","洞","授","镜","辛","壮","锋","è´«","虚","弯","摩","æ³°","å¹¼","å»·","尊","窗","纲","弄","隶","疑","氏","宫","姐","震","瑞","怪","å°¤","琴","循","描","膜","违","夹","腰","缘","珠","ç©·","森","枝","竹","沟","催","绳","忆","邦","剩","幸","浆","栏","拥","牙","è´®","礼","滤","钠","纹","ç½¢","拍","咱","喊","袖","埃","勤","罚","焦","潜","伍","墨","欲","缝","姓","刊","饱","仿","奖","铝","鬼","丽","è·¨","默","挖","链","扫","喝","袋","炭","污","幕","诸","弧","励","梅","奶","洁","灾","舟","鉴","苯","讼","抱","毁","懂","寒","智","埔","寄","届","跃","渡","挑","丹","艰","贝","碰","拔","爹","戴","码","梦","芽","熔","赤","渔","哭","敬","颗","奔","铅","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","仓","魏","锐","晓","æ°®","兼","隐","碍","赫","拨","å¿ ","肃","缸","牵","抢","博","å·§","壳","兄","杜","讯","诚","碧","祥","柯","页","å·¡","矩","悲","灌","龄","伦","票","寻","桂","铺","圣","恐","恰","郑","趣","抬","荒","腾","è´´","柔","æ»´","猛","阔","辆","妻","å¡«","撤","储","ç­¾","闹","扰","ç´«","砂","递","戏","吊","陶","伐","喂","疗","瓶","婆","抚","臂","摸","忍","虾","蜡","邻","胸","å·©","挤","偶","弃","槽","劲","ä¹³","邓","吉","仁","烂","砖","租","乌","舰","ä¼´","瓜","浅","丙","暂","燥","æ©¡","柳","è¿·","暖","牌","秧","胆","详","ç°§","踏","瓷","è°±","呆","宾","糊","洛","辉","愤","竞","隙","怒","粘","乃","绪","肩","籍","敏","涂","熙","皆","侦","悬","掘","享","纠","醒","狂","锁","淀","恨","牲","霸","爬","赏","逆","玩","陵","祝","秒","浙","貌","å½¹","å½¼","悉","鸭","趋","凤","晨","畜","辈","秩","卵","ç½²","梯","炎","滩","棋","驱","筛","峡","冒","啥","寿","译","浸","泉","帽","迟","硅","疆","è´·","漏","稿","冠","å«©","胁","芯","牢","叛","蚀","奥","鸣","å²­","羊","凭","串","塘","绘","酵","融","盆","锡","庙","ç­¹","冻","辅","摄","袭","筋","拒","僚","旱","钾","鸟","漆","沈","眉","疏","æ·»","棒","穗","硝","韩","逼","扭","侨","凉","挺","碗","æ ½","炒","杯","患","馏","劝","豪","è¾½","勃","鸿","旦","吏","拜","狗","埋","辊","掩","饮","搬","骂","辞","勾","扣","ä¼°","蒋","绒","雾","丈","朵","姆","拟","宇","辑","陕","雕","偿","蓄","崇","剪","倡","厅","咬","驶","薯","刷","斥","番","赋","奉","佛","浇","漫","曼","扇","钙","桃","扶","仔","返","俗","亏","腔","鞋","棱","覆","框","悄","叔","撞","骗","勘","旺","沸","å­¤","吐","孟","渠","屈","疾","妙","惜","ä»°","狠","胀","谐","抛","霉","桑","岗","嘛","è¡°","盗","渗","脏","赖","涌","甜","曹","阅","肌","哩","厉","烃","纬","毅","昨","伪","症","煮","叹","钉","搭","茎","笼","酷","偷","弓","锥","恒","杰","坑","é¼»","翼","纶","叙","狱","逮","罐","络","棚","抑","膨","蔬","寺","骤","穆","冶","枯","册","å°¸","凸","绅","坯","牺","焰","è½°","欣","晋","瘦","御","锭","锦","丧","旬","锻","垄","搜","扑","邀","亭","酯","迈","舒","脆","酶","闲","忧","酚","顽","ç¾½","涨","卸","仗","陪","辟","惩","杭","姚","肚","捉","飘","漂","昆","欺","吾","郎","烷","汁","呵","饰","萧","雅","邮","迁","燕","撒","姻","èµ´","å®´","烦","债","帐","斑","铃","旨","醇","董","饼","雏","姿","拌","傅","腹","妥","揉","è´¤","拆","æ­ª","葡","胺","丢","浩","å¾½","昂","垫","挡","览","è´ª","慰","ç¼´","汪","慌","冯","诺","姜","谊","凶","劣","诬","耀","昏","躺","盈","骑","乔","溪","丛","卢","抹","闷","咨","刮","驾","缆","悟","摘","铒","掷","颇","å¹»","柄","惠","惨","ä½³","仇","腊","窝","涤","剑","瞧","å ¡","æ³¼","葱","罩","霍","捞","胎","苍","滨","ä¿©","捅","湘","砍","霞","邵","萄","疯","æ·®","遂","熊","粪","烘","宿","æ¡£","戈","驳","嫂","裕","徙","ç®­","捐","肠","撑","晒","辨","殿","莲","摊","搅","酱","屏","疫","哀","蔡","å µ","沫","皱","畅","叠","阁","莱","敲","辖","钩","痕","坝","å··","饿","祸","丘","玄","溜","曰","逻","å½­","尝","卿","妨","艇","吞","韦","怨","矮","歇"]')},function(e){e.exports=JSON.parse('["的","一","是","在","不","了","有","和","人","這","中","大","為","上","個","國","我","以","要","他","時","來","用","們","生","到","作","地","於","出","å°±","分","對","成","會","可","主","發","å¹´","動","同","å·¥","也","能","下","過","子","說","產","種","面","而","方","後","多","定","行","å­¸","法","所","民","得","經","十","三","之","進","著","等","部","度","家","電","力","裡","如","æ°´","化","高","自","二","理","èµ·","小","物","現","實","加","量","都","兩","體","制","機","當","使","點","從","業","本","去","把","性","好","應","開","它","合","還","因","由","其","些","然","前","外","天","政","四","日","那","社","義","事","å¹³","å½¢","相","全","表","間","樣","與","關","各","重","新","線","內","數","æ­£","心","反","ä½ ","明","看","原","又","麼","利","比","或","但","質","æ°£","第","向","道","命","æ­¤","變","條","只","沒","結","解","問","意","建","月","公","無","ç³»","軍","很","情","者","最","立","代","想","å·²","通","並","提","直","題","黨","程","展","五","果","料","象","員","革","位","入","常","文","總","次","品","式","æ´»","設","及","管","特","件","長","求","老","é ­","基","資","邊","流","è·¯","級","少","圖","å±±","çµ±","接","知","較","將","組","見","計","別","她","手","角","期","æ ¹","論","運","è¾²","指","å¹¾","九","區","å¼·","放","決","西","被","å¹¹","做","必","戰","先","回","則","ä»»","取","據","處","隊","南","給","色","光","門","即","保","æ²»","北","造","百","規","熱","領","七","æµ·","口","東","導","器","壓","志","世","金","增","爭","濟","階","æ²¹","思","術","極","交","受","聯","什","認","六","共","權","收","證","改","清","美","再","採","轉","更","單","風","切","打","白","教","速","花","帶","安","å ´","身","車","例","真","務","具","萬","每","目","至","達","èµ°","積","示","è­°","聲","å ±","鬥","完","類","八","離","華","名","確","才","科","å¼µ","ä¿¡","馬","節","話","ç±³","整","空","元","況","今","集","溫","傳","土","許","æ­¥","群","廣","石","記","需","段","研","界","拉","林","律","叫","且","究","觀","越","織","裝","å½±","算","低","持","音","眾","書","布","复","容","兒","須","際","商","非","驗","連","斷","æ·±","難","近","礦","千","週","委","ç´ ","技","備","半","辦","青","省","列","習","響","約","支","般","史","感","勞","便","團","往","酸","æ­·","市","克","何","除","消","構","府","稱","太","準","ç²¾","值","號","率","族","維","劃","選","標","寫","存","候","毛","親","å¿«","效","斯","院","查","江","型","眼","王","按","æ ¼","養","易","ç½®","æ´¾","層","片","始","卻","專","狀","育","å» ","京","識","適","屬","圓","包","火","住","調","滿","縣","局","照","參","紅","ç´°","引","聽","該","鐵","價","嚴","首","底","液","官","å¾·","隨","病","蘇","失","爾","æ­»","講","配","女","黃","推","顯","談","罪","神","藝","呢","席","含","企","望","密","批","營","項","防","舉","球","英","æ°§","勢","告","李","台","落","木","幫","輪","ç ´","亞","師","圍","注","遠","字","材","排","供","æ²³","態","封","另","施","減","樹","溶","怎","æ­¢","案","言","士","均","æ­¦","固","葉","魚","æ³¢","視","僅","è²»","緊","愛","å·¦","ç« ","早","朝","害","續","輕","服","試","食","充","兵","源","判","è­·","司","足","某","ç·´","å·®","致","板","田","降","黑","犯","è² ","擊","范","ç¹¼","興","ä¼¼","餘","堅","曲","輸","ä¿®","故","城","夫","夠","送","筆","船","佔","右","財","吃","富","春","職","覺","æ¼¢","畫","功","å·´","跟","雖","雜","飛","檢","吸","助","昇","陽","互","初","創","抗","考","投","壞","策","古","徑","換","未","跑","留","鋼","曾","端","責","站","ç°¡","è¿°","錢","副","盡","帝","射","草","衝","承","獨","令","限","阿","宣","環","雙","請","超","å¾®","讓","控","州","良","軸","找","否","紀","益","依","優","頂","礎","載","倒","房","突","坐","粉","敵","略","客","袁","冷","勝","絕","析","塊","劑","測","çµ²","協","訴","念","陳","仍","羅","é¹½","友","洋","錯","苦","夜","刑","移","é »","逐","靠","æ··","母","短","皮","終","聚","æ±½","村","雲","哪","既","距","衛","停","烈","央","察","燒","迅","境","若","印","æ´²","刻","括","激","孔","搞","甚","室","待","æ ¸","æ ¡","散","ä¾µ","吧","甲","遊","久","菜","味","舊","模","湖","貨","損","預","阻","毫","普","ç©©","乙","媽","植","息","擴","銀","語","揮","酒","守","拿","序","紙","醫","缺","雨","嗎","針","劉","啊","急","唱","誤","訓","願","審","附","獲","茶","é®®","糧","斤","å­©","脫","ç¡«","肥","善","龍","演","父","漸","血","æ­¡","械","掌","歌","沙","剛","攻","謂","盾","討","晚","粒","亂","燃","矛","乎","殺","藥","寧","é­¯","è²´","鐘","煤","讀","班","伯","香","介","è¿«","句","豐","培","握","蘭","擔","弦","蛋","沉","假","ç©¿","執","答","樂","誰","順","煙","縮","å¾µ","臉","喜","松","腳","困","異","免","背","星","福","è²·","染","井","概","慢","怕","磁","倍","祖","皇","促","靜","補","評","ç¿»","肉","踐","å°¼","è¡£","寬","揚","棉","希","傷","操","垂","秋","宜","æ°«","套","督","振","架","亮","末","憲","慶","ç·¨","牛","觸","映","雷","銷","è©©","座","居","抓","裂","胞","呼","娘","景","威","綠","晶","厚","盟","è¡¡","雞","å­«","延","危","膠","屋","鄉","臨","陸","顧","掉","呀","燈","æ­²","措","束","耐","劇","玉","趙","è·³","哥","å­£","課","凱","胡","額","款","ç´¹","卷","齊","偉","蒸","殖","æ°¸","宗","苗","川","爐","岩","å¼±","零","楊","奏","沿","露","æ¡¿","探","滑","鎮","飯","濃","航","懷","趕","庫","奪","伊","靈","稅","途","滅","è³½","æ­¸","召","鼓","播","盤","裁","險","康","唯","錄","菌","純","借","糖","蓋","æ©«","符","私","努","堂","域","槍","潤","幅","哈","竟","熟","蟲","澤","腦","壤","碳","歐","遍","側","寨","敢","å¾¹","慮","斜","薄","庭","納","彈","飼","伸","折","麥","濕","暗","荷","瓦","塞","床","築","惡","戶","訪","塔","奇","透","梁","刀","旋","è·¡","卡","æ°¯","遇","份","毒","æ³¥","退","洗","擺","灰","彩","è³£","耗","夏","擇","忙","銅","獻","硬","予","繁","圈","雪","函","亦","抽","篇","陣","陰","丁","å°º","追","堆","雄","迎","泛","爸","樓","避","謀","噸","野","豬","旗","ç´¯","偏","典","館","ç´¢","秦","脂","æ½®","爺","豆","忽","托","驚","塑","遺","愈","朱","替","纖","粗","傾","尚","痛","楚","謝","奮","è³¼","磨","君","æ± ","旁","碎","骨","監","捕","弟","暴","割","貫","殊","釋","詞","亡","壁","頓","寶","午","塵","聞","揭","炮","殘","冬","橋","婦","è­¦","綜","招","吳","付","æµ®","遭","徐","您","搖","è°·","贊","ç®±","隔","訂","男","吹","園","紛","唐","敗","宋","玻","å·¨","耕","坦","榮","閉","灣","鍵","凡","駐","鍋","救","恩","剝","凝","é¹¼","齒","截","煉","麻","ç´¡","禁","廢","盛","版","ç·©","æ·¨","睛","昌","婚","涉","筒","嘴","插","岸","朗","莊","街","藏","姑","貿","腐","奴","啦","慣","乘","夥","恢","勻","紗","扎","辯","耳","彪","臣","億","璃","抵","脈","秀","薩","俄","網","舞","店","噴","縱","寸","汗","掛","æ´ª","賀","閃","柬","爆","烯","æ´¥","稻","牆","軟","勇","像","滾","厘","蒙","芳","肯","坡","柱","盪","腿","儀","旅","å°¾","軋","冰","è²¢","登","黎","削","鑽","勒","逃","障","æ°¨","郭","å³°","å¹£","港","伏","軌","畝","畢","擦","莫","刺","浪","秘","援","æ ª","健","售","股","島","甘","泡","睡","ç«¥","鑄","湯","閥","休","匯","舍","牧","繞","炸","哲","磷","績","朋","æ·¡","尖","啟","陷","柴","呈","徒","顏","淚","稍","忘","æ³µ","藍","拖","洞","授","鏡","辛","壯","鋒","貧","虛","彎","摩","æ³°","å¹¼","å»·","尊","窗","綱","弄","隸","疑","氏","å®®","姐","震","瑞","怪","å°¤","琴","循","描","膜","違","夾","腰","ç·£","珠","窮","森","枝","竹","溝","催","繩","憶","邦","剩","幸","漿","欄","擁","牙","貯","禮","濾","鈉","紋","ç½·","拍","咱","喊","袖","埃","勤","ç½°","焦","潛","伍","墨","欲","縫","姓","刊","飽","仿","獎","鋁","鬼","麗","è·¨","默","挖","鏈","掃","喝","袋","炭","污","幕","諸","弧","勵","梅","奶","潔","災","舟","鑑","苯","訟","抱","毀","懂","寒","智","埔","寄","屆","躍","渡","挑","丹","艱","貝","碰","拔","爹","戴","碼","夢","芽","熔","赤","漁","哭","敬","顆","奔","鉛","仲","虎","稀","妹","乏","珍","申","桌","遵","允","隆","螺","倉","魏","銳","曉","æ°®","兼","隱","礙","赫","撥","å¿ ","肅","缸","牽","搶","博","å·§","殼","兄","杜","訊","誠","碧","祥","柯","頁","å·¡","矩","悲","灌","齡","倫","票","尋","桂","鋪","聖","恐","恰","鄭","趣","抬","荒","騰","è²¼","柔","æ»´","猛","闊","輛","妻","å¡«","撤","儲","ç°½","鬧","擾","ç´«","砂","遞","戲","吊","陶","伐","餵","療","瓶","婆","撫","臂","摸","忍","蝦","蠟","鄰","胸","鞏","擠","偶","棄","槽","勁","ä¹³","鄧","吉","仁","爛","磚","租","烏","艦","ä¼´","瓜","æ·º","丙","暫","燥","æ©¡","柳","è¿·","暖","牌","秧","膽","詳","ç°§","踏","瓷","譜","呆","賓","糊","洛","輝","憤","競","隙","怒","粘","乃","緒","肩","籍","敏","塗","熙","皆","偵","懸","掘","享","ç³¾","醒","狂","鎖","淀","恨","牲","霸","爬","賞","逆","玩","陵","祝","秒","浙","貌","å½¹","å½¼","悉","é´¨","趨","é³³","晨","畜","輩","秩","卵","ç½²","梯","炎","灘","棋","驅","篩","å³½","冒","啥","壽","è­¯","浸","泉","帽","遲","矽","疆","貸","漏","稿","冠","å«©","脅","芯","牢","叛","蝕","奧","é³´","嶺","羊","憑","串","塘","繪","酵","融","盆","錫","廟","籌","凍","輔","攝","襲","筋","拒","僚","旱","鉀","é³¥","漆","沈","眉","疏","æ·»","棒","穗","硝","韓","逼","扭","僑","涼","挺","碗","æ ½","炒","杯","患","餾","勸","豪","遼","勃","é´»","旦","吏","拜","狗","埋","è¼¥","掩","飲","搬","ç½µ","è¾­","勾","扣","ä¼°","蔣","絨","霧","丈","朵","姆","擬","宇","輯","陝","雕","償","蓄","崇","剪","倡","廳","咬","駛","薯","刷","斥","番","賦","奉","佛","澆","漫","曼","扇","鈣","桃","扶","仔","返","俗","虧","腔","鞋","棱","覆","框","悄","叔","撞","騙","勘","旺","沸","å­¤","吐","孟","渠","屈","疾","妙","惜","ä»°","狠","脹","諧","拋","é»´","桑","崗","嘛","è¡°","盜","滲","臟","è³´","湧","甜","曹","閱","肌","哩","厲","烴","ç·¯","毅","昨","偽","症","煮","嘆","釘","搭","莖","ç± ","酷","偷","弓","錐","恆","傑","坑","é¼»","翼","綸","敘","獄","逮","罐","絡","棚","抑","膨","蔬","寺","驟","穆","冶","枯","冊","屍","凸","ç´³","坯","犧","焰","轟","欣","晉","瘦","禦","錠","錦","喪","旬","鍛","壟","搜","撲","邀","亭","酯","邁","舒","脆","酶","閒","憂","酚","頑","ç¾½","æ¼²","卸","仗","陪","闢","懲","杭","姚","肚","捉","飄","漂","昆","欺","吾","郎","烷","汁","呵","飾","蕭","雅","郵","遷","燕","撒","姻","èµ´","å®´","煩","債","帳","斑","鈴","旨","醇","董","餅","雛","姿","拌","傅","腹","妥","揉","è³¢","拆","æ­ª","葡","胺","丟","浩","å¾½","昂","墊","擋","覽","貪","慰","ç¹³","汪","慌","馮","諾","姜","誼","兇","劣","誣","耀","昏","躺","盈","騎","喬","溪","叢","盧","抹","悶","è«®","刮","駕","纜","悟","摘","鉺","擲","頗","å¹»","柄","惠","慘","ä½³","仇","臘","窩","滌","劍","瞧","å ¡","潑","蔥","罩","霍","撈","胎","蒼","濱","倆","捅","湘","砍","霞","邵","萄","瘋","æ·®","遂","熊","糞","烘","宿","檔","戈","駁","嫂","裕","徙","ç®­","捐","腸","撐","曬","辨","殿","蓮","攤","攪","醬","屏","疫","哀","蔡","å µ","沫","皺","暢","疊","閣","萊","敲","轄","鉤","痕","壩","å··","餓","禍","丘","玄","溜","曰","邏","å½­","嘗","卿","妨","艇","吞","韋","怨","矮","歇"]')},function(e){e.exports=JSON.parse('["가격","가끔","가난","가능","가득","가르침","가뭄","가방","가상","가슴","가운데","가을","가이드","가입","가장","가정","가족","가죽","각오","각자","간격","간부","간섭","간장","간접","간판","갈등","갈비","갈색","갈증","감각","감기","감소","감수성","감자","감정","갑자기","강남","강당","강도","강력히","강변","강북","강사","강수량","강아지","강원도","강의","강제","강조","같이","개구리","개나리","개방","개별","개선","개성","개인","객관적","거실","거액","거울","거짓","거품","걱정","건강","건물","건설","건조","건축","걸음","검사","검토","게시판","게임","겨울","견해","결과","결국","결론","결석","결승","결심","결정","결혼","경계","경고","경기","경력","경복궁","경비","경상도","경영","경우","경쟁","경제","경주","경찰","경치","경향","경험","계곡","계단","계란","계산","계속","계약","계절","계층","계획","고객","고구려","고궁","고급","고등학생","고무신","고민","고양이","고장","고전","고집","고춧가루","고통","고향","곡식","골목","골짜기","골프","공간","공개","공격","공군","공급","공기","공동","공무원","공부","공사","공식","공업","공연","공원","공장","공짜","공책","공통","공포","공항","공휴일","과목","과일","과장","과정","과학","관객","관계","관광","관념","관람","관련","관리","관습","관심","관점","관찰","광경","광고","광장","광주","괴로움","굉장히","교과서","교문","교복","교실","교양","교육","교장","교직","교통","교환","교훈","구경","구름","구멍","구별","구분","구석","구성","구속","구역","구입","구청","구체적","국가","국기","국내","국립","국물","국민","국수","국어","국왕","국적","국제","국회","군대","군사","군인","궁극적","권리","권위","권투","귀국","귀신","규정","규칙","균형","그날","그냥","그늘","그러나","그룹","그릇","그림","그제서야","그토록","극복","극히","근거","근교","근래","근로","근무","근본","근원","근육","근처","글씨","글자","금강산","금고","금년","금메달","금액","금연","금요일","금지","긍정적","기간","기관","기념","기능","기독교","기둥","기록","기름","기법","기본","기분","기쁨","기숙사","기술","기억","기업","기온","기운","기원","기적","기준","기침","기혼","기획","긴급","긴장","길이","김밥","김치","김포공항","깍두기","깜빡","깨달음","깨소금","껍질","꼭대기","꽃잎","나들이","나란히","나머지","나물","나침반","나흘","낙엽","난방","날개","날씨","날짜","남녀","남대문","남매","남산","남자","남편","남학생","낭비","낱말","내년","내용","내일","냄비","냄새","냇물","냉동","냉면","냉방","냉장고","넥타이","넷째","노동","노란색","노력","노인","녹음","녹차","녹화","논리","논문","논쟁","놀이","농구","농담","농민","농부","농업","농장","농촌","높이","눈동자","눈물","눈썹","뉴욕","느낌","늑대","능동적","능력","다방","다양성","다음","다이어트","다행","단계","단골","단독","단맛","단순","단어","단위","단점","단체","단추","단편","단풍","달걀","달러","달력","달리","닭고기","담당","담배","담요","담임","답변","답장","당근","당분간","당연히","당장","대규모","대낮","대단히","대답","대도시","대략","대량","대륙","대문","대부분","대신","대응","대장","대전","대접","대중","대책","대출","대충","대통령","대학","대한민국","대합실","대형","덩어리","데이트","도대체","도덕","도둑","도망","도서관","도심","도움","도입","도자기","도저히","도전","도중","도착","독감","독립","독서","독일","독창적","동화책","뒷모습","뒷산","딸아이","마누라","마늘","마당","마라톤","마련","마무리","마사지","마약","마요네즈","마을","마음","마이크","마중","마지막","마찬가지","마찰","마흔","막걸리","막내","막상","만남","만두","만세","만약","만일","만점","만족","만화","많이","말기","말씀","말투","맘대로","망원경","매년","매달","매력","매번","매스컴","매일","매장","맥주","먹이","먼저","먼지","멀리","메일","며느리","며칠","면담","멸치","명단","명령","명예","명의","명절","명칭","명함","모금","모니터","모델","모든","모범","모습","모양","모임","모조리","모집","모퉁이","목걸이","목록","목사","목소리","목숨","목적","목표","몰래","몸매","몸무게","몸살","몸속","몸짓","몸통","몹시","무관심","무궁화","무더위","무덤","무릎","무슨","무엇","무역","무용","무조건","무지개","무척","문구","문득","문법","문서","문제","문학","문화","물가","물건","물결","물고기","물론","물리학","물음","물질","물체","미국","미디어","미사일","미술","미역","미용실","미움","미인","미팅","미혼","민간","민족","민주","믿음","밀가루","밀리미터","밑바닥","바가지","바구니","바나나","바늘","바닥","바닷가","바람","바이러스","바탕","박물관","박사","박수","반대","반드시","반말","반발","반성","반응","반장","반죽","반지","반찬","받침","발가락","발걸음","발견","발달","발레","발목","발바닥","발생","발음","발자국","발전","발톱","발표","밤하늘","밥그릇","밥맛","밥상","밥솥","방금","방면","방문","방바닥","방법","방송","방식","방안","방울","방지","방학","방해","방향","배경","배꼽","배달","배드민턴","백두산","백색","백성","백인","백제","백화점","버릇","버섯","버튼","번개","번역","번지","번호","벌금","벌레","벌써","범위","범인","범죄","법률","법원","법적","법칙","베이징","벨트","변경","변동","변명","변신","변호사","변화","별도","별명","별일","병실","병아리","병원","보관","보너스","보라색","보람","보름","보상","보안","보자기","보장","보전","보존","보통","보편적","보험","복도","복사","복숭아","복습","볶음","본격적","본래","본부","본사","본성","본인","본질","볼펜","봉사","봉지","봉투","부근","부끄러움","부담","부동산","부문","부분","부산","부상","부엌","부인","부작용","부장","부정","부족","부지런히","부친","부탁","부품","부회장","북부","북한","분노","분량","분리","분명","분석","분야","분위기","분필","분홍색","불고기","불과","불교","불꽃","불만","불법","불빛","불안","불이익","불행","브랜드","비극","비난","비닐","비둘기","비디오","비로소","비만","비명","비밀","비바람","비빔밥","비상","비용","비율","비중","비타민","비판","빌딩","빗물","빗방울","빗줄기","빛깔","빨간색","빨래","빨리","사건","사계절","사나이","사냥","사람","사랑","사립","사모님","사물","사방","사상","사생활","사설","사슴","사실","사업","사용","사월","사장","사전","사진","사촌","사춘기","사탕","사투리","사흘","산길","산부인과","산업","산책","살림","살인","살짝","삼계탕","삼국","삼십","삼월","삼촌","상관","상금","상대","상류","상반기","상상","상식","상업","상인","상자","상점","상처","상추","상태","상표","상품","상황","새벽","색깔","색연필","생각","생명","생물","생방송","생산","생선","생신","생일","생활","서랍","서른","서명","서민","서비스","서양","서울","서적","서점","서쪽","서클","석사","석유","선거","선물","선배","선생","선수","선원","선장","선전","선택","선풍기","설거지","설날","설렁탕","설명","설문","설사","설악산","설치","설탕","섭씨","성공","성당","성명","성별","성인","성장","성적","성질","성함","세금","세미나","세상","세월","세종대왕","세탁","센터","센티미터","셋째","소규모","소극적","소금","소나기","소년","소득","소망","소문","소설","소속","소아과","소용","소원","소음","소중히","소지품","소질","소풍","소형","속담","속도","속옷","손가락","손길","손녀","손님","손등","손목","손뼉","손실","손질","손톱","손해","솔직히","솜씨","송아지","송이","송편","쇠고기","쇼핑","수건","수년","수단","수돗물","수동적","수면","수명","수박","수상","수석","수술","수시로","수업","수염","수영","수입","수준","수집","수출","수컷","수필","수학","수험생","수화기","숙녀","숙소","숙제","순간","순서","순수","순식간","순위","숟가락","술병","술집","숫자","스님","스물","스스로","스승","스웨터","스위치","스케이트","스튜디오","스트레스","스포츠","슬쩍","슬픔","습관","습기","승객","승리","승부","승용차","승진","시각","시간","시골","시금치","시나리오","시댁","시리즈","시멘트","시민","시부모","시선","시설","시스템","시아버지","시어머니","시월","시인","시일","시작","시장","시절","시점","시중","시즌","시집","시청","시합","시험","식구","식기","식당","식량","식료품","식물","식빵","식사","식생활","식초","식탁","식품","신고","신규","신념","신문","신발","신비","신사","신세","신용","신제품","신청","신체","신화","실감","실내","실력","실례","실망","실수","실습","실시","실장","실정","실질적","실천","실체","실컷","실태","실패","실험","실현","심리","심부름","심사","심장","심정","심판","쌍둥이","씨름","씨앗","아가씨","아나운서","아드님","아들","아쉬움","아스팔트","아시아","아울러","아저씨","아줌마","아직","아침","아파트","아프리카","아픔","아홉","아흔","악기","악몽","악수","안개","안경","안과","안내","안녕","안동","안방","안부","안주","알루미늄","알코올","암시","암컷","압력","앞날","앞문","애인","애정","액수","앨범","야간","야단","야옹","약간","약국","약속","약수","약점","약품","약혼녀","양념","양력","양말","양배추","양주","양파","어둠","어려움","어른","어젯밤","어쨌든","어쩌다가","어쩐지","언니","언덕","언론","언어","얼굴","얼른","얼음","얼핏","엄마","업무","업종","업체","엉덩이","엉망","엉터리","엊그제","에너지","에어컨","엔진","여건","여고생","여관","여군","여권","여대생","여덟","여동생","여든","여론","여름","여섯","여성","여왕","여인","여전히","여직원","여학생","여행","역사","역시","역할","연결","연구","연극","연기","연락","연설","연세","연속","연습","연애","연예인","연인","연장","연주","연출","연필","연합","연휴","열기","열매","열쇠","열심히","열정","열차","열흘","염려","엽서","영국","영남","영상","영양","영역","영웅","영원히","영하","영향","영혼","영화","옆구리","옆방","옆집","예감","예금","예방","예산","예상","예선","예술","예습","예식장","예약","예전","예절","예정","예컨대","옛날","오늘","오락","오랫동안","오렌지","오로지","오른발","오븐","오십","오염","오월","오전","오직","오징어","오페라","오피스텔","오히려","옥상","옥수수","온갖","온라인","온몸","온종일","온통","올가을","올림픽","올해","옷차림","와이셔츠","와인","완성","완전","왕비","왕자","왜냐하면","왠지","외갓집","외국","외로움","외삼촌","외출","외침","외할머니","왼발","왼손","왼쪽","요금","요일","요즘","요청","용기","용서","용어","우산","우선","우승","우연히","우정","우체국","우편","운동","운명","운반","운전","운행","울산","울음","움직임","웃어른","웃음","워낙","원고","원래","원서","원숭이","원인","원장","원피스","월급","월드컵","월세","월요일","웨이터","위반","위법","위성","위원","위험","위협","윗사람","유난히","유럽","유명","유물","유산","유적","유치원","유학","유행","유형","육군","육상","육십","육체","은행","음력","음료","음반","음성","음식","음악","음주","의견","의논","의문","의복","의식","의심","의외로","의욕","의원","의학","이것","이곳","이념","이놈","이달","이대로","이동","이렇게","이력서","이론적","이름","이민","이발소","이별","이불","이빨","이상","이성","이슬","이야기","이용","이웃","이월","이윽고","이익","이전","이중","이튿날","이틀","이혼","인간","인격","인공","인구","인근","인기","인도","인류","인물","인생","인쇄","인연","인원","인재","인종","인천","인체","인터넷","인하","인형","일곱","일기","일단","일대","일등","일반","일본","일부","일상","일생","일손","일요일","일월","일정","일종","일주일","일찍","일체","일치","일행","일회용","임금","임무","입대","입력","입맛","입사","입술","입시","입원","입장","입학","자가용","자격","자극","자동","자랑","자부심","자식","자신","자연","자원","자율","자전거","자정","자존심","자판","작가","작년","작성","작업","작용","작은딸","작품","잔디","잔뜩","잔치","잘못","잠깐","잠수함","잠시","잠옷","잠자리","잡지","장관","장군","장기간","장래","장례","장르","장마","장면","장모","장미","장비","장사","장소","장식","장애인","장인","장점","장차","장학금","재능","재빨리","재산","재생","재작년","재정","재채기","재판","재학","재활용","저것","저고리","저곳","저녁","저런","저렇게","저번","저울","저절로","저축","적극","적당히","적성","적용","적응","전개","전공","전기","전달","전라도","전망","전문","전반","전부","전세","전시","전용","전자","전쟁","전주","전철","전체","전통","전혀","전후","절대","절망","절반","절약","절차","점검","점수","점심","점원","점점","점차","접근","접시","접촉","젓가락","정거장","정도","정류장","정리","정말","정면","정문","정반대","정보","정부","정비","정상","정성","정오","정원","정장","정지","정치","정확히","제공","제과점","제대로","제목","제발","제법","제삿날","제안","제일","제작","제주도","제출","제품","제한","조각","조건","조금","조깅","조명","조미료","조상","조선","조용히","조절","조정","조직","존댓말","존재","졸업","졸음","종교","종로","종류","종소리","종업원","종종","종합","좌석","죄인","주관적","주름","주말","주머니","주먹","주문","주민","주방","주변","주식","주인","주일","주장","주전자","주택","준비","줄거리","줄기","줄무늬","중간","중계방송","중국","중년","중단","중독","중반","중부","중세","중소기업","중순","중앙","중요","중학교","즉석","즉시","즐거움","증가","증거","증권","증상","증세","지각","지갑","지경","지극히","지금","지급","지능","지름길","지리산","지방","지붕","지식","지역","지우개","지원","지적","지점","지진","지출","직선","직업","직원","직장","진급","진동","진로","진료","진리","진짜","진찰","진출","진통","진행","질문","질병","질서","짐작","집단","집안","집중","짜증","찌꺼기","차남","차라리","차량","차림","차별","차선","차츰","착각","찬물","찬성","참가","참기름","참새","참석","참여","참외","참조","찻잔","창가","창고","창구","창문","창밖","창작","창조","채널","채점","책가방","책방","책상","책임","챔피언","처벌","처음","천국","천둥","천장","천재","천천히","철도","철저히","철학","첫날","첫째","청년","청바지","청소","청춘","체계","체력","체온","체육","체중","체험","초등학생","초반","초밥","초상화","초순","초여름","초원","초저녁","초점","초청","초콜릿","촛불","총각","총리","총장","촬영","최근","최상","최선","최신","최악","최종","추석","추억","추진","추천","추측","축구","축소","축제","축하","출근","출발","출산","출신","출연","출입","출장","출판","충격","충고","충돌","충분히","충청도","취업","취직","취향","치약","친구","친척","칠십","칠월","칠판","침대","침묵","침실","칫솔","칭찬","카메라","카운터","칼국수","캐릭터","캠퍼스","캠페인","커튼","컨디션","컬러","컴퓨터","코끼리","코미디","콘서트","콜라","콤플렉스","콩나물","쾌감","쿠데타","크림","큰길","큰딸","큰소리","큰아들","큰어머니","큰일","큰절","클래식","클럽","킬로","타입","타자기","탁구","탁자","탄생","태권도","태양","태풍","택시","탤런트","터널","터미널","테니스","테스트","테이블","텔레비전","토론","토마토","토요일","통계","통과","통로","통신","통역","통일","통장","통제","통증","통합","통화","퇴근","퇴원","퇴직금","튀김","트럭","특급","특별","특성","특수","특징","특히","튼튼히","티셔츠","파란색","파일","파출소","판결","판단","판매","판사","팔십","팔월","팝송","패션","팩스","팩시밀리","팬티","퍼센트","페인트","편견","편의","편지","편히","평가","평균","평생","평소","평양","평일","평화","포스터","포인트","포장","포함","표면","표정","표준","표현","품목","품질","풍경","풍속","풍습","프랑스","프린터","플라스틱","피곤","피망","피아노","필름","필수","필요","필자","필통","핑계","하느님","하늘","하드웨어","하룻밤","하반기","하숙집","하순","하여튼","하지만","하천","하품","하필","학과","학교","학급","학기","학년","학력","학번","학부모","학비","학생","학술","학습","학용품","학원","학위","학자","학점","한계","한글","한꺼번에","한낮","한눈","한동안","한때","한라산","한마디","한문","한번","한복","한식","한여름","한쪽","할머니","할아버지","할인","함께","함부로","합격","합리적","항공","항구","항상","항의","해결","해군","해답","해당","해물","해석","해설","해수욕장","해안","핵심","핸드백","햄버거","햇볕","햇살","행동","행복","행사","행운","행위","향기","향상","향수","허락","허용","헬기","현관","현금","현대","현상","현실","현장","현재","현지","혈액","협력","형부","형사","형수","형식","형제","형태","형편","혜택","호기심","호남","호랑이","호박","호텔","호흡","혹시","홀로","홈페이지","홍보","홍수","홍차","화면","화분","화살","화요일","화장","화학","확보","확인","확장","확정","환갑","환경","환영","환율","환자","활기","활동","활발히","활용","활짝","회견","회관","회복","회색","회원","회장","회전","횟수","횡단보도","효율적","후반","후춧가루","훈련","훨씬","휴식","휴일","흉내","흐름","흑백","흑인","흔적","흔히","흥미","흥분","희곡","희망","희생","흰색","힘껏"]')},function(e){e.exports=JSON.parse('["abaisser","abandon","abdiquer","abeille","abolir","aborder","aboutir","aboyer","abrasif","abreuver","abriter","abroger","abrupt","absence","absolu","absurde","abusif","abyssal","académie","acajou","acarien","accabler","accepter","acclamer","accolade","accroche","accuser","acerbe","achat","acheter","aciduler","acier","acompte","acquérir","acronyme","acteur","actif","actuel","adepte","adéquat","adhésif","adjectif","adjuger","admettre","admirer","adopter","adorer","adoucir","adresse","adroit","adulte","adverbe","aérer","aéronef","affaire","affecter","affiche","affreux","affubler","agacer","agencer","agile","agiter","agrafer","agréable","agrume","aider","aiguille","ailier","aimable","aisance","ajouter","ajuster","alarmer","alchimie","alerte","algèbre","algue","aliéner","aliment","alléger","alliage","allouer","allumer","alourdir","alpaga","altesse","alvéole","amateur","ambigu","ambre","aménager","amertume","amidon","amiral","amorcer","amour","amovible","amphibie","ampleur","amusant","analyse","anaphore","anarchie","anatomie","ancien","anéantir","angle","angoisse","anguleux","animal","annexer","annonce","annuel","anodin","anomalie","anonyme","anormal","antenne","antidote","anxieux","apaiser","apéritif","aplanir","apologie","appareil","appeler","apporter","appuyer","aquarium","aqueduc","arbitre","arbuste","ardeur","ardoise","argent","arlequin","armature","armement","armoire","armure","arpenter","arracher","arriver","arroser","arsenic","artériel","article","aspect","asphalte","aspirer","assaut","asservir","assiette","associer","assurer","asticot","astre","astuce","atelier","atome","atrium","atroce","attaque","attentif","attirer","attraper","aubaine","auberge","audace","audible","augurer","aurore","automne","autruche","avaler","avancer","avarice","avenir","averse","aveugle","aviateur","avide","avion","aviser","avoine","avouer","avril","axial","axiome","badge","bafouer","bagage","baguette","baignade","balancer","balcon","baleine","balisage","bambin","bancaire","bandage","banlieue","bannière","banquier","barbier","baril","baron","barque","barrage","bassin","bastion","bataille","bateau","batterie","baudrier","bavarder","belette","bélier","belote","bénéfice","berceau","berger","berline","bermuda","besace","besogne","bétail","beurre","biberon","bicycle","bidule","bijou","bilan","bilingue","billard","binaire","biologie","biopsie","biotype","biscuit","bison","bistouri","bitume","bizarre","blafard","blague","blanchir","blessant","blinder","blond","bloquer","blouson","bobard","bobine","boire","boiser","bolide","bonbon","bondir","bonheur","bonifier","bonus","bordure","borne","botte","boucle","boueux","bougie","boulon","bouquin","bourse","boussole","boutique","boxeur","branche","brasier","brave","brebis","brèche","breuvage","bricoler","brigade","brillant","brioche","brique","brochure","broder","bronzer","brousse","broyeur","brume","brusque","brutal","bruyant","buffle","buisson","bulletin","bureau","burin","bustier","butiner","butoir","buvable","buvette","cabanon","cabine","cachette","cadeau","cadre","caféine","caillou","caisson","calculer","calepin","calibre","calmer","calomnie","calvaire","camarade","caméra","camion","campagne","canal","caneton","canon","cantine","canular","capable","caporal","caprice","capsule","capter","capuche","carabine","carbone","caresser","caribou","carnage","carotte","carreau","carton","cascade","casier","casque","cassure","causer","caution","cavalier","caverne","caviar","cédille","ceinture","céleste","cellule","cendrier","censurer","central","cercle","cérébral","cerise","cerner","cerveau","cesser","chagrin","chaise","chaleur","chambre","chance","chapitre","charbon","chasseur","chaton","chausson","chavirer","chemise","chenille","chéquier","chercher","cheval","chien","chiffre","chignon","chimère","chiot","chlorure","chocolat","choisir","chose","chouette","chrome","chute","cigare","cigogne","cimenter","cinéma","cintrer","circuler","cirer","cirque","citerne","citoyen","citron","civil","clairon","clameur","claquer","classe","clavier","client","cligner","climat","clivage","cloche","clonage","cloporte","cobalt","cobra","cocasse","cocotier","coder","codifier","coffre","cogner","cohésion","coiffer","coincer","colère","colibri","colline","colmater","colonel","combat","comédie","commande","compact","concert","conduire","confier","congeler","connoter","consonne","contact","convexe","copain","copie","corail","corbeau","cordage","corniche","corpus","correct","cortège","cosmique","costume","coton","coude","coupure","courage","couteau","couvrir","coyote","crabe","crainte","cravate","crayon","créature","créditer","crémeux","creuser","crevette","cribler","crier","cristal","critère","croire","croquer","crotale","crucial","cruel","crypter","cubique","cueillir","cuillère","cuisine","cuivre","culminer","cultiver","cumuler","cupide","curatif","curseur","cyanure","cycle","cylindre","cynique","daigner","damier","danger","danseur","dauphin","débattre","débiter","déborder","débrider","débutant","décaler","décembre","déchirer","décider","déclarer","décorer","décrire","décupler","dédale","déductif","déesse","défensif","défiler","défrayer","dégager","dégivrer","déglutir","dégrafer","déjeuner","délice","déloger","demander","demeurer","démolir","dénicher","dénouer","dentelle","dénuder","départ","dépenser","déphaser","déplacer","déposer","déranger","dérober","désastre","descente","désert","désigner","désobéir","dessiner","destrier","détacher","détester","détourer","détresse","devancer","devenir","deviner","devoir","diable","dialogue","diamant","dicter","différer","digérer","digital","digne","diluer","dimanche","diminuer","dioxyde","directif","diriger","discuter","disposer","dissiper","distance","divertir","diviser","docile","docteur","dogme","doigt","domaine","domicile","dompter","donateur","donjon","donner","dopamine","dortoir","dorure","dosage","doseur","dossier","dotation","douanier","double","douceur","douter","doyen","dragon","draper","dresser","dribbler","droiture","duperie","duplexe","durable","durcir","dynastie","éblouir","écarter","écharpe","échelle","éclairer","éclipse","éclore","écluse","école","économie","écorce","écouter","écraser","écrémer","écrivain","écrou","écume","écureuil","édifier","éduquer","effacer","effectif","effigie","effort","effrayer","effusion","égaliser","égarer","éjecter","élaborer","élargir","électron","élégant","éléphant","élève","éligible","élitisme","éloge","élucider","éluder","emballer","embellir","embryon","émeraude","émission","emmener","émotion","émouvoir","empereur","employer","emporter","emprise","émulsion","encadrer","enchère","enclave","encoche","endiguer","endosser","endroit","enduire","énergie","enfance","enfermer","enfouir","engager","engin","englober","énigme","enjamber","enjeu","enlever","ennemi","ennuyeux","enrichir","enrobage","enseigne","entasser","entendre","entier","entourer","entraver","énumérer","envahir","enviable","envoyer","enzyme","éolien","épaissir","épargne","épatant","épaule","épicerie","épidémie","épier","épilogue","épine","épisode","épitaphe","époque","épreuve","éprouver","épuisant","équerre","équipe","ériger","érosion","erreur","éruption","escalier","espadon","espèce","espiègle","espoir","esprit","esquiver","essayer","essence","essieu","essorer","estime","estomac","estrade","étagère","étaler","étanche","étatique","éteindre","étendoir","éternel","éthanol","éthique","ethnie","étirer","étoffer","étoile","étonnant","étourdir","étrange","étroit","étude","euphorie","évaluer","évasion","éventail","évidence","éviter","évolutif","évoquer","exact","exagérer","exaucer","exceller","excitant","exclusif","excuse","exécuter","exemple","exercer","exhaler","exhorter","exigence","exiler","exister","exotique","expédier","explorer","exposer","exprimer","exquis","extensif","extraire","exulter","fable","fabuleux","facette","facile","facture","faiblir","falaise","fameux","famille","farceur","farfelu","farine","farouche","fasciner","fatal","fatigue","faucon","fautif","faveur","favori","fébrile","féconder","fédérer","félin","femme","fémur","fendoir","féodal","fermer","féroce","ferveur","festival","feuille","feutre","février","fiasco","ficeler","fictif","fidèle","figure","filature","filetage","filière","filleul","filmer","filou","filtrer","financer","finir","fiole","firme","fissure","fixer","flairer","flamme","flasque","flatteur","fléau","flèche","fleur","flexion","flocon","flore","fluctuer","fluide","fluvial","folie","fonderie","fongible","fontaine","forcer","forgeron","formuler","fortune","fossile","foudre","fougère","fouiller","foulure","fourmi","fragile","fraise","franchir","frapper","frayeur","frégate","freiner","frelon","frémir","frénésie","frère","friable","friction","frisson","frivole","froid","fromage","frontal","frotter","fruit","fugitif","fuite","fureur","furieux","furtif","fusion","futur","gagner","galaxie","galerie","gambader","garantir","gardien","garnir","garrigue","gazelle","gazon","géant","gélatine","gélule","gendarme","général","génie","genou","gentil","géologie","géomètre","géranium","germe","gestuel","geyser","gibier","gicler","girafe","givre","glace","glaive","glisser","globe","gloire","glorieux","golfeur","gomme","gonfler","gorge","gorille","goudron","gouffre","goulot","goupille","gourmand","goutte","graduel","graffiti","graine","grand","grappin","gratuit","gravir","grenat","griffure","griller","grimper","grogner","gronder","grotte","groupe","gruger","grutier","gruyère","guépard","guerrier","guide","guimauve","guitare","gustatif","gymnaste","gyrostat","habitude","hachoir","halte","hameau","hangar","hanneton","haricot","harmonie","harpon","hasard","hélium","hématome","herbe","hérisson","hermine","héron","hésiter","heureux","hiberner","hibou","hilarant","histoire","hiver","homard","hommage","homogène","honneur","honorer","honteux","horde","horizon","horloge","hormone","horrible","houleux","housse","hublot","huileux","humain","humble","humide","humour","hurler","hydromel","hygiène","hymne","hypnose","idylle","ignorer","iguane","illicite","illusion","image","imbiber","imiter","immense","immobile","immuable","impact","impérial","implorer","imposer","imprimer","imputer","incarner","incendie","incident","incliner","incolore","indexer","indice","inductif","inédit","ineptie","inexact","infini","infliger","informer","infusion","ingérer","inhaler","inhiber","injecter","injure","innocent","inoculer","inonder","inscrire","insecte","insigne","insolite","inspirer","instinct","insulter","intact","intense","intime","intrigue","intuitif","inutile","invasion","inventer","inviter","invoquer","ironique","irradier","irréel","irriter","isoler","ivoire","ivresse","jaguar","jaillir","jambe","janvier","jardin","jauger","jaune","javelot","jetable","jeton","jeudi","jeunesse","joindre","joncher","jongler","joueur","jouissif","journal","jovial","joyau","joyeux","jubiler","jugement","junior","jupon","juriste","justice","juteux","juvénile","kayak","kimono","kiosque","label","labial","labourer","lacérer","lactose","lagune","laine","laisser","laitier","lambeau","lamelle","lampe","lanceur","langage","lanterne","lapin","largeur","larme","laurier","lavabo","lavoir","lecture","légal","léger","légume","lessive","lettre","levier","lexique","lézard","liasse","libérer","libre","licence","licorne","liège","lièvre","ligature","ligoter","ligue","limer","limite","limonade","limpide","linéaire","lingot","lionceau","liquide","lisière","lister","lithium","litige","littoral","livreur","logique","lointain","loisir","lombric","loterie","louer","lourd","loutre","louve","loyal","lubie","lucide","lucratif","lueur","lugubre","luisant","lumière","lunaire","lundi","luron","lutter","luxueux","machine","magasin","magenta","magique","maigre","maillon","maintien","mairie","maison","majorer","malaxer","maléfice","malheur","malice","mallette","mammouth","mandater","maniable","manquant","manteau","manuel","marathon","marbre","marchand","mardi","maritime","marqueur","marron","marteler","mascotte","massif","matériel","matière","matraque","maudire","maussade","mauve","maximal","méchant","méconnu","médaille","médecin","méditer","méduse","meilleur","mélange","mélodie","membre","mémoire","menacer","mener","menhir","mensonge","mentor","mercredi","mérite","merle","messager","mesure","métal","météore","méthode","métier","meuble","miauler","microbe","miette","mignon","migrer","milieu","million","mimique","mince","minéral","minimal","minorer","minute","miracle","miroiter","missile","mixte","mobile","moderne","moelleux","mondial","moniteur","monnaie","monotone","monstre","montagne","monument","moqueur","morceau","morsure","mortier","moteur","motif","mouche","moufle","moulin","mousson","mouton","mouvant","multiple","munition","muraille","murène","murmure","muscle","muséum","musicien","mutation","muter","mutuel","myriade","myrtille","mystère","mythique","nageur","nappe","narquois","narrer","natation","nation","nature","naufrage","nautique","navire","nébuleux","nectar","néfaste","négation","négliger","négocier","neige","nerveux","nettoyer","neurone","neutron","neveu","niche","nickel","nitrate","niveau","noble","nocif","nocturne","noirceur","noisette","nomade","nombreux","nommer","normatif","notable","notifier","notoire","nourrir","nouveau","novateur","novembre","novice","nuage","nuancer","nuire","nuisible","numéro","nuptial","nuque","nutritif","obéir","objectif","obliger","obscur","observer","obstacle","obtenir","obturer","occasion","occuper","océan","octobre","octroyer","octupler","oculaire","odeur","odorant","offenser","officier","offrir","ogive","oiseau","oisillon","olfactif","olivier","ombrage","omettre","onctueux","onduler","onéreux","onirique","opale","opaque","opérer","opinion","opportun","opprimer","opter","optique","orageux","orange","orbite","ordonner","oreille","organe","orgueil","orifice","ornement","orque","ortie","osciller","osmose","ossature","otarie","ouragan","ourson","outil","outrager","ouvrage","ovation","oxyde","oxygène","ozone","paisible","palace","palmarès","palourde","palper","panache","panda","pangolin","paniquer","panneau","panorama","pantalon","papaye","papier","papoter","papyrus","paradoxe","parcelle","paresse","parfumer","parler","parole","parrain","parsemer","partager","parure","parvenir","passion","pastèque","paternel","patience","patron","pavillon","pavoiser","payer","paysage","peigne","peintre","pelage","pélican","pelle","pelouse","peluche","pendule","pénétrer","pénible","pensif","pénurie","pépite","péplum","perdrix","perforer","période","permuter","perplexe","persil","perte","peser","pétale","petit","pétrir","peuple","pharaon","phobie","phoque","photon","phrase","physique","piano","pictural","pièce","pierre","pieuvre","pilote","pinceau","pipette","piquer","pirogue","piscine","piston","pivoter","pixel","pizza","placard","plafond","plaisir","planer","plaque","plastron","plateau","pleurer","plexus","pliage","plomb","plonger","pluie","plumage","pochette","poésie","poète","pointe","poirier","poisson","poivre","polaire","policier","pollen","polygone","pommade","pompier","ponctuel","pondérer","poney","portique","position","posséder","posture","potager","poteau","potion","pouce","poulain","poumon","pourpre","poussin","pouvoir","prairie","pratique","précieux","prédire","préfixe","prélude","prénom","présence","prétexte","prévoir","primitif","prince","prison","priver","problème","procéder","prodige","profond","progrès","proie","projeter","prologue","promener","propre","prospère","protéger","prouesse","proverbe","prudence","pruneau","psychose","public","puceron","puiser","pulpe","pulsar","punaise","punitif","pupitre","purifier","puzzle","pyramide","quasar","querelle","question","quiétude","quitter","quotient","racine","raconter","radieux","ragondin","raideur","raisin","ralentir","rallonge","ramasser","rapide","rasage","ratisser","ravager","ravin","rayonner","réactif","réagir","réaliser","réanimer","recevoir","réciter","réclamer","récolter","recruter","reculer","recycler","rédiger","redouter","refaire","réflexe","réformer","refrain","refuge","régalien","région","réglage","régulier","réitérer","rejeter","rejouer","relatif","relever","relief","remarque","remède","remise","remonter","remplir","remuer","renard","renfort","renifler","renoncer","rentrer","renvoi","replier","reporter","reprise","reptile","requin","réserve","résineux","résoudre","respect","rester","résultat","rétablir","retenir","réticule","retomber","retracer","réunion","réussir","revanche","revivre","révolte","révulsif","richesse","rideau","rieur","rigide","rigoler","rincer","riposter","risible","risque","rituel","rival","rivière","rocheux","romance","rompre","ronce","rondin","roseau","rosier","rotatif","rotor","rotule","rouge","rouille","rouleau","routine","royaume","ruban","rubis","ruche","ruelle","rugueux","ruiner","ruisseau","ruser","rustique","rythme","sabler","saboter","sabre","sacoche","safari","sagesse","saisir","salade","salive","salon","saluer","samedi","sanction","sanglier","sarcasme","sardine","saturer","saugrenu","saumon","sauter","sauvage","savant","savonner","scalpel","scandale","scélérat","scénario","sceptre","schéma","science","scinder","score","scrutin","sculpter","séance","sécable","sécher","secouer","sécréter","sédatif","séduire","seigneur","séjour","sélectif","semaine","sembler","semence","séminal","sénateur","sensible","sentence","séparer","séquence","serein","sergent","sérieux","serrure","sérum","service","sésame","sévir","sevrage","sextuple","sidéral","siècle","siéger","siffler","sigle","signal","silence","silicium","simple","sincère","sinistre","siphon","sirop","sismique","situer","skier","social","socle","sodium","soigneux","soldat","soleil","solitude","soluble","sombre","sommeil","somnoler","sonde","songeur","sonnette","sonore","sorcier","sortir","sosie","sottise","soucieux","soudure","souffle","soulever","soupape","source","soutirer","souvenir","spacieux","spatial","spécial","sphère","spiral","stable","station","sternum","stimulus","stipuler","strict","studieux","stupeur","styliste","sublime","substrat","subtil","subvenir","succès","sucre","suffixe","suggérer","suiveur","sulfate","superbe","supplier","surface","suricate","surmener","surprise","sursaut","survie","suspect","syllabe","symbole","symétrie","synapse","syntaxe","système","tabac","tablier","tactile","tailler","talent","talisman","talonner","tambour","tamiser","tangible","tapis","taquiner","tarder","tarif","tartine","tasse","tatami","tatouage","taupe","taureau","taxer","témoin","temporel","tenaille","tendre","teneur","tenir","tension","terminer","terne","terrible","tétine","texte","thème","théorie","thérapie","thorax","tibia","tiède","timide","tirelire","tiroir","tissu","titane","titre","tituber","toboggan","tolérant","tomate","tonique","tonneau","toponyme","torche","tordre","tornade","torpille","torrent","torse","tortue","totem","toucher","tournage","tousser","toxine","traction","trafic","tragique","trahir","train","trancher","travail","trèfle","tremper","trésor","treuil","triage","tribunal","tricoter","trilogie","triomphe","tripler","triturer","trivial","trombone","tronc","tropical","troupeau","tuile","tulipe","tumulte","tunnel","turbine","tuteur","tutoyer","tuyau","tympan","typhon","typique","tyran","ubuesque","ultime","ultrason","unanime","unifier","union","unique","unitaire","univers","uranium","urbain","urticant","usage","usine","usuel","usure","utile","utopie","vacarme","vaccin","vagabond","vague","vaillant","vaincre","vaisseau","valable","valise","vallon","valve","vampire","vanille","vapeur","varier","vaseux","vassal","vaste","vecteur","vedette","végétal","véhicule","veinard","véloce","vendredi","vénérer","venger","venimeux","ventouse","verdure","vérin","vernir","verrou","verser","vertu","veston","vétéran","vétuste","vexant","vexer","viaduc","viande","victoire","vidange","vidéo","vignette","vigueur","vilain","village","vinaigre","violon","vipère","virement","virtuose","virus","visage","viseur","vision","visqueux","visuel","vital","vitesse","viticole","vitrine","vivace","vivipare","vocation","voguer","voile","voisin","voiture","volaille","volcan","voltiger","volume","vorace","vortex","voter","vouloir","voyage","voyelle","wagon","xénon","yacht","zèbre","zénith","zeste","zoologie"]')},function(e){e.exports=JSON.parse('["abaco","abbaglio","abbinato","abete","abisso","abolire","abrasivo","abrogato","accadere","accenno","accusato","acetone","achille","acido","acqua","acre","acrilico","acrobata","acuto","adagio","addebito","addome","adeguato","aderire","adipe","adottare","adulare","affabile","affetto","affisso","affranto","aforisma","afoso","africano","agave","agente","agevole","aggancio","agire","agitare","agonismo","agricolo","agrumeto","aguzzo","alabarda","alato","albatro","alberato","albo","albume","alce","alcolico","alettone","alfa","algebra","aliante","alibi","alimento","allagato","allegro","allievo","allodola","allusivo","almeno","alogeno","alpaca","alpestre","altalena","alterno","alticcio","altrove","alunno","alveolo","alzare","amalgama","amanita","amarena","ambito","ambrato","ameba","america","ametista","amico","ammasso","ammenda","ammirare","ammonito","amore","ampio","ampliare","amuleto","anacardo","anagrafe","analista","anarchia","anatra","anca","ancella","ancora","andare","andrea","anello","angelo","angolare","angusto","anima","annegare","annidato","anno","annuncio","anonimo","anticipo","anzi","apatico","apertura","apode","apparire","appetito","appoggio","approdo","appunto","aprile","arabica","arachide","aragosta","araldica","arancio","aratura","arazzo","arbitro","archivio","ardito","arenile","argento","argine","arguto","aria","armonia","arnese","arredato","arringa","arrosto","arsenico","arso","artefice","arzillo","asciutto","ascolto","asepsi","asettico","asfalto","asino","asola","aspirato","aspro","assaggio","asse","assoluto","assurdo","asta","astenuto","astice","astratto","atavico","ateismo","atomico","atono","attesa","attivare","attorno","attrito","attuale","ausilio","austria","autista","autonomo","autunno","avanzato","avere","avvenire","avviso","avvolgere","azione","azoto","azzimo","azzurro","babele","baccano","bacino","baco","badessa","badilata","bagnato","baita","balcone","baldo","balena","ballata","balzano","bambino","bandire","baraonda","barbaro","barca","baritono","barlume","barocco","basilico","basso","batosta","battuto","baule","bava","bavosa","becco","beffa","belgio","belva","benda","benevole","benigno","benzina","bere","berlina","beta","bibita","bici","bidone","bifido","biga","bilancia","bimbo","binocolo","biologo","bipede","bipolare","birbante","birra","biscotto","bisesto","bisnonno","bisonte","bisturi","bizzarro","blando","blatta","bollito","bonifico","bordo","bosco","botanico","bottino","bozzolo","braccio","bradipo","brama","branca","bravura","bretella","brevetto","brezza","briglia","brillante","brindare","broccolo","brodo","bronzina","brullo","bruno","bubbone","buca","budino","buffone","buio","bulbo","buono","burlone","burrasca","bussola","busta","cadetto","caduco","calamaro","calcolo","calesse","calibro","calmo","caloria","cambusa","camerata","camicia","cammino","camola","campale","canapa","candela","cane","canino","canotto","cantina","capace","capello","capitolo","capogiro","cappero","capra","capsula","carapace","carcassa","cardo","carisma","carovana","carretto","cartolina","casaccio","cascata","caserma","caso","cassone","castello","casuale","catasta","catena","catrame","cauto","cavillo","cedibile","cedrata","cefalo","celebre","cellulare","cena","cenone","centesimo","ceramica","cercare","certo","cerume","cervello","cesoia","cespo","ceto","chela","chiaro","chicca","chiedere","chimera","china","chirurgo","chitarra","ciao","ciclismo","cifrare","cigno","cilindro","ciottolo","circa","cirrosi","citrico","cittadino","ciuffo","civetta","civile","classico","clinica","cloro","cocco","codardo","codice","coerente","cognome","collare","colmato","colore","colposo","coltivato","colza","coma","cometa","commando","comodo","computer","comune","conciso","condurre","conferma","congelare","coniuge","connesso","conoscere","consumo","continuo","convegno","coperto","copione","coppia","copricapo","corazza","cordata","coricato","cornice","corolla","corpo","corredo","corsia","cortese","cosmico","costante","cottura","covato","cratere","cravatta","creato","credere","cremoso","crescita","creta","criceto","crinale","crisi","critico","croce","cronaca","crostata","cruciale","crusca","cucire","cuculo","cugino","cullato","cupola","curatore","cursore","curvo","cuscino","custode","dado","daino","dalmata","damerino","daniela","dannoso","danzare","datato","davanti","davvero","debutto","decennio","deciso","declino","decollo","decreto","dedicato","definito","deforme","degno","delegare","delfino","delirio","delta","demenza","denotato","dentro","deposito","derapata","derivare","deroga","descritto","deserto","desiderio","desumere","detersivo","devoto","diametro","dicembre","diedro","difeso","diffuso","digerire","digitale","diluvio","dinamico","dinnanzi","dipinto","diploma","dipolo","diradare","dire","dirotto","dirupo","disagio","discreto","disfare","disgelo","disposto","distanza","disumano","dito","divano","divelto","dividere","divorato","doblone","docente","doganale","dogma","dolce","domato","domenica","dominare","dondolo","dono","dormire","dote","dottore","dovuto","dozzina","drago","druido","dubbio","dubitare","ducale","duna","duomo","duplice","duraturo","ebano","eccesso","ecco","eclissi","economia","edera","edicola","edile","editoria","educare","egemonia","egli","egoismo","egregio","elaborato","elargire","elegante","elencato","eletto","elevare","elfico","elica","elmo","elsa","eluso","emanato","emblema","emesso","emiro","emotivo","emozione","empirico","emulo","endemico","enduro","energia","enfasi","enoteca","entrare","enzima","epatite","epilogo","episodio","epocale","eppure","equatore","erario","erba","erboso","erede","eremita","erigere","ermetico","eroe","erosivo","errante","esagono","esame","esanime","esaudire","esca","esempio","esercito","esibito","esigente","esistere","esito","esofago","esortato","esoso","espanso","espresso","essenza","esso","esteso","estimare","estonia","estroso","esultare","etilico","etnico","etrusco","etto","euclideo","europa","evaso","evidenza","evitato","evoluto","evviva","fabbrica","faccenda","fachiro","falco","famiglia","fanale","fanfara","fango","fantasma","fare","farfalla","farinoso","farmaco","fascia","fastoso","fasullo","faticare","fato","favoloso","febbre","fecola","fede","fegato","felpa","feltro","femmina","fendere","fenomeno","fermento","ferro","fertile","fessura","festivo","fetta","feudo","fiaba","fiducia","fifa","figurato","filo","finanza","finestra","finire","fiore","fiscale","fisico","fiume","flacone","flamenco","flebo","flemma","florido","fluente","fluoro","fobico","focaccia","focoso","foderato","foglio","folata","folclore","folgore","fondente","fonetico","fonia","fontana","forbito","forchetta","foresta","formica","fornaio","foro","fortezza","forzare","fosfato","fosso","fracasso","frana","frassino","fratello","freccetta","frenata","fresco","frigo","frollino","fronde","frugale","frutta","fucilata","fucsia","fuggente","fulmine","fulvo","fumante","fumetto","fumoso","fune","funzione","fuoco","furbo","furgone","furore","fuso","futile","gabbiano","gaffe","galateo","gallina","galoppo","gambero","gamma","garanzia","garbo","garofano","garzone","gasdotto","gasolio","gastrico","gatto","gaudio","gazebo","gazzella","geco","gelatina","gelso","gemello","gemmato","gene","genitore","gennaio","genotipo","gergo","ghepardo","ghiaccio","ghisa","giallo","gilda","ginepro","giocare","gioiello","giorno","giove","girato","girone","gittata","giudizio","giurato","giusto","globulo","glutine","gnomo","gobba","golf","gomito","gommone","gonfio","gonna","governo","gracile","grado","grafico","grammo","grande","grattare","gravoso","grazia","greca","gregge","grifone","grigio","grinza","grotta","gruppo","guadagno","guaio","guanto","guardare","gufo","guidare","ibernato","icona","identico","idillio","idolo","idra","idrico","idrogeno","igiene","ignaro","ignorato","ilare","illeso","illogico","illudere","imballo","imbevuto","imbocco","imbuto","immane","immerso","immolato","impacco","impeto","impiego","importo","impronta","inalare","inarcare","inattivo","incanto","incendio","inchino","incisivo","incluso","incontro","incrocio","incubo","indagine","india","indole","inedito","infatti","infilare","inflitto","ingaggio","ingegno","inglese","ingordo","ingrosso","innesco","inodore","inoltrare","inondato","insano","insetto","insieme","insonnia","insulina","intasato","intero","intonaco","intuito","inumidire","invalido","invece","invito","iperbole","ipnotico","ipotesi","ippica","iride","irlanda","ironico","irrigato","irrorare","isolato","isotopo","isterico","istituto","istrice","italia","iterare","labbro","labirinto","lacca","lacerato","lacrima","lacuna","laddove","lago","lampo","lancetta","lanterna","lardoso","larga","laringe","lastra","latenza","latino","lattuga","lavagna","lavoro","legale","leggero","lembo","lentezza","lenza","leone","lepre","lesivo","lessato","lesto","letterale","leva","levigato","libero","lido","lievito","lilla","limatura","limitare","limpido","lineare","lingua","liquido","lira","lirica","lisca","lite","litigio","livrea","locanda","lode","logica","lombare","londra","longevo","loquace","lorenzo","loto","lotteria","luce","lucidato","lumaca","luminoso","lungo","lupo","luppolo","lusinga","lusso","lutto","macabro","macchina","macero","macinato","madama","magico","maglia","magnete","magro","maiolica","malafede","malgrado","malinteso","malsano","malto","malumore","mana","mancia","mandorla","mangiare","manifesto","mannaro","manovra","mansarda","mantide","manubrio","mappa","maratona","marcire","maretta","marmo","marsupio","maschera","massaia","mastino","materasso","matricola","mattone","maturo","mazurca","meandro","meccanico","mecenate","medesimo","meditare","mega","melassa","melis","melodia","meninge","meno","mensola","mercurio","merenda","merlo","meschino","mese","messere","mestolo","metallo","metodo","mettere","miagolare","mica","micelio","michele","microbo","midollo","miele","migliore","milano","milite","mimosa","minerale","mini","minore","mirino","mirtillo","miscela","missiva","misto","misurare","mitezza","mitigare","mitra","mittente","mnemonico","modello","modifica","modulo","mogano","mogio","mole","molosso","monastero","monco","mondina","monetario","monile","monotono","monsone","montato","monviso","mora","mordere","morsicato","mostro","motivato","motosega","motto","movenza","movimento","mozzo","mucca","mucosa","muffa","mughetto","mugnaio","mulatto","mulinello","multiplo","mummia","munto","muovere","murale","musa","muscolo","musica","mutevole","muto","nababbo","nafta","nanometro","narciso","narice","narrato","nascere","nastrare","naturale","nautica","naviglio","nebulosa","necrosi","negativo","negozio","nemmeno","neofita","neretto","nervo","nessuno","nettuno","neutrale","neve","nevrotico","nicchia","ninfa","nitido","nobile","nocivo","nodo","nome","nomina","nordico","normale","norvegese","nostrano","notare","notizia","notturno","novella","nucleo","nulla","numero","nuovo","nutrire","nuvola","nuziale","oasi","obbedire","obbligo","obelisco","oblio","obolo","obsoleto","occasione","occhio","occidente","occorrere","occultare","ocra","oculato","odierno","odorare","offerta","offrire","offuscato","oggetto","oggi","ognuno","olandese","olfatto","oliato","oliva","ologramma","oltre","omaggio","ombelico","ombra","omega","omissione","ondoso","onere","onice","onnivoro","onorevole","onta","operato","opinione","opposto","oracolo","orafo","ordine","orecchino","orefice","orfano","organico","origine","orizzonte","orma","ormeggio","ornativo","orologio","orrendo","orribile","ortensia","ortica","orzata","orzo","osare","oscurare","osmosi","ospedale","ospite","ossa","ossidare","ostacolo","oste","otite","otre","ottagono","ottimo","ottobre","ovale","ovest","ovino","oviparo","ovocito","ovunque","ovviare","ozio","pacchetto","pace","pacifico","padella","padrone","paese","paga","pagina","palazzina","palesare","pallido","palo","palude","pandoro","pannello","paolo","paonazzo","paprica","parabola","parcella","parere","pargolo","pari","parlato","parola","partire","parvenza","parziale","passivo","pasticca","patacca","patologia","pattume","pavone","peccato","pedalare","pedonale","peggio","peloso","penare","pendice","penisola","pennuto","penombra","pensare","pentola","pepe","pepita","perbene","percorso","perdonato","perforare","pergamena","periodo","permesso","perno","perplesso","persuaso","pertugio","pervaso","pesatore","pesista","peso","pestifero","petalo","pettine","petulante","pezzo","piacere","pianta","piattino","piccino","picozza","piega","pietra","piffero","pigiama","pigolio","pigro","pila","pilifero","pillola","pilota","pimpante","pineta","pinna","pinolo","pioggia","piombo","piramide","piretico","pirite","pirolisi","pitone","pizzico","placebo","planare","plasma","platano","plenario","pochezza","poderoso","podismo","poesia","poggiare","polenta","poligono","pollice","polmonite","polpetta","polso","poltrona","polvere","pomice","pomodoro","ponte","popoloso","porfido","poroso","porpora","porre","portata","posa","positivo","possesso","postulato","potassio","potere","pranzo","prassi","pratica","precluso","predica","prefisso","pregiato","prelievo","premere","prenotare","preparato","presenza","pretesto","prevalso","prima","principe","privato","problema","procura","produrre","profumo","progetto","prolunga","promessa","pronome","proposta","proroga","proteso","prova","prudente","prugna","prurito","psiche","pubblico","pudica","pugilato","pugno","pulce","pulito","pulsante","puntare","pupazzo","pupilla","puro","quadro","qualcosa","quasi","querela","quota","raccolto","raddoppio","radicale","radunato","raffica","ragazzo","ragione","ragno","ramarro","ramingo","ramo","randagio","rantolare","rapato","rapina","rappreso","rasatura","raschiato","rasente","rassegna","rastrello","rata","ravveduto","reale","recepire","recinto","recluta","recondito","recupero","reddito","redimere","regalato","registro","regola","regresso","relazione","remare","remoto","renna","replica","reprimere","reputare","resa","residente","responso","restauro","rete","retina","retorica","rettifica","revocato","riassunto","ribadire","ribelle","ribrezzo","ricarica","ricco","ricevere","riciclato","ricordo","ricreduto","ridicolo","ridurre","rifasare","riflesso","riforma","rifugio","rigare","rigettato","righello","rilassato","rilevato","rimanere","rimbalzo","rimedio","rimorchio","rinascita","rincaro","rinforzo","rinnovo","rinomato","rinsavito","rintocco","rinuncia","rinvenire","riparato","ripetuto","ripieno","riportare","ripresa","ripulire","risata","rischio","riserva","risibile","riso","rispetto","ristoro","risultato","risvolto","ritardo","ritegno","ritmico","ritrovo","riunione","riva","riverso","rivincita","rivolto","rizoma","roba","robotico","robusto","roccia","roco","rodaggio","rodere","roditore","rogito","rollio","romantico","rompere","ronzio","rosolare","rospo","rotante","rotondo","rotula","rovescio","rubizzo","rubrica","ruga","rullino","rumine","rumoroso","ruolo","rupe","russare","rustico","sabato","sabbiare","sabotato","sagoma","salasso","saldatura","salgemma","salivare","salmone","salone","saltare","saluto","salvo","sapere","sapido","saporito","saraceno","sarcasmo","sarto","sassoso","satellite","satira","satollo","saturno","savana","savio","saziato","sbadiglio","sbalzo","sbancato","sbarra","sbattere","sbavare","sbendare","sbirciare","sbloccato","sbocciato","sbrinare","sbruffone","sbuffare","scabroso","scadenza","scala","scambiare","scandalo","scapola","scarso","scatenare","scavato","scelto","scenico","scettro","scheda","schiena","sciarpa","scienza","scindere","scippo","sciroppo","scivolo","sclerare","scodella","scolpito","scomparto","sconforto","scoprire","scorta","scossone","scozzese","scriba","scrollare","scrutinio","scuderia","scultore","scuola","scuro","scusare","sdebitare","sdoganare","seccatura","secondo","sedano","seggiola","segnalato","segregato","seguito","selciato","selettivo","sella","selvaggio","semaforo","sembrare","seme","seminato","sempre","senso","sentire","sepolto","sequenza","serata","serbato","sereno","serio","serpente","serraglio","servire","sestina","setola","settimana","sfacelo","sfaldare","sfamato","sfarzoso","sfaticato","sfera","sfida","sfilato","sfinge","sfocato","sfoderare","sfogo","sfoltire","sforzato","sfratto","sfruttato","sfuggito","sfumare","sfuso","sgabello","sgarbato","sgonfiare","sgorbio","sgrassato","sguardo","sibilo","siccome","sierra","sigla","signore","silenzio","sillaba","simbolo","simpatico","simulato","sinfonia","singolo","sinistro","sino","sintesi","sinusoide","sipario","sisma","sistole","situato","slitta","slogatura","sloveno","smarrito","smemorato","smentito","smeraldo","smilzo","smontare","smottato","smussato","snellire","snervato","snodo","sobbalzo","sobrio","soccorso","sociale","sodale","soffitto","sogno","soldato","solenne","solido","sollazzo","solo","solubile","solvente","somatico","somma","sonda","sonetto","sonnifero","sopire","soppeso","sopra","sorgere","sorpasso","sorriso","sorso","sorteggio","sorvolato","sospiro","sosta","sottile","spada","spalla","spargere","spatola","spavento","spazzola","specie","spedire","spegnere","spelatura","speranza","spessore","spettrale","spezzato","spia","spigoloso","spillato","spinoso","spirale","splendido","sportivo","sposo","spranga","sprecare","spronato","spruzzo","spuntino","squillo","sradicare","srotolato","stabile","stacco","staffa","stagnare","stampato","stantio","starnuto","stasera","statuto","stelo","steppa","sterzo","stiletto","stima","stirpe","stivale","stizzoso","stonato","storico","strappo","stregato","stridulo","strozzare","strutto","stuccare","stufo","stupendo","subentro","succoso","sudore","suggerito","sugo","sultano","suonare","superbo","supporto","surgelato","surrogato","sussurro","sutura","svagare","svedese","sveglio","svelare","svenuto","svezia","sviluppo","svista","svizzera","svolta","svuotare","tabacco","tabulato","tacciare","taciturno","tale","talismano","tampone","tannino","tara","tardivo","targato","tariffa","tarpare","tartaruga","tasto","tattico","taverna","tavolata","tazza","teca","tecnico","telefono","temerario","tempo","temuto","tendone","tenero","tensione","tentacolo","teorema","terme","terrazzo","terzetto","tesi","tesserato","testato","tetro","tettoia","tifare","tigella","timbro","tinto","tipico","tipografo","tiraggio","tiro","titanio","titolo","titubante","tizio","tizzone","toccare","tollerare","tolto","tombola","tomo","tonfo","tonsilla","topazio","topologia","toppa","torba","tornare","torrone","tortora","toscano","tossire","tostatura","totano","trabocco","trachea","trafila","tragedia","tralcio","tramonto","transito","trapano","trarre","trasloco","trattato","trave","treccia","tremolio","trespolo","tributo","tricheco","trifoglio","trillo","trincea","trio","tristezza","triturato","trivella","tromba","trono","troppo","trottola","trovare","truccato","tubatura","tuffato","tulipano","tumulto","tunisia","turbare","turchino","tuta","tutela","ubicato","uccello","uccisore","udire","uditivo","uffa","ufficio","uguale","ulisse","ultimato","umano","umile","umorismo","uncinetto","ungere","ungherese","unicorno","unificato","unisono","unitario","unte","uovo","upupa","uragano","urgenza","urlo","usanza","usato","uscito","usignolo","usuraio","utensile","utilizzo","utopia","vacante","vaccinato","vagabondo","vagliato","valanga","valgo","valico","valletta","valoroso","valutare","valvola","vampata","vangare","vanitoso","vano","vantaggio","vanvera","vapore","varano","varcato","variante","vasca","vedetta","vedova","veduto","vegetale","veicolo","velcro","velina","velluto","veloce","venato","vendemmia","vento","verace","verbale","vergogna","verifica","vero","verruca","verticale","vescica","vessillo","vestale","veterano","vetrina","vetusto","viandante","vibrante","vicenda","vichingo","vicinanza","vidimare","vigilia","vigneto","vigore","vile","villano","vimini","vincitore","viola","vipera","virgola","virologo","virulento","viscoso","visione","vispo","vissuto","visura","vita","vitello","vittima","vivanda","vivido","viziare","voce","voga","volatile","volere","volpe","voragine","vulcano","zampogna","zanna","zappato","zattera","zavorra","zefiro","zelante","zelo","zenzero","zerbino","zibetto","zinco","zircone","zitto","zolla","zotico","zucchero","zufolo","zulu","zuppa"]')},function(e){e.exports=JSON.parse('["ábaco","abdomen","abeja","abierto","abogado","abono","aborto","abrazo","abrir","abuelo","abuso","acabar","academia","acceso","acción","aceite","acelga","acento","aceptar","ácido","aclarar","acné","acoger","acoso","activo","acto","actriz","actuar","acudir","acuerdo","acusar","adicto","admitir","adoptar","adorno","aduana","adulto","aéreo","afectar","afición","afinar","afirmar","ágil","agitar","agonía","agosto","agotar","agregar","agrio","agua","agudo","águila","aguja","ahogo","ahorro","aire","aislar","ajedrez","ajeno","ajuste","alacrán","alambre","alarma","alba","álbum","alcalde","aldea","alegre","alejar","alerta","aleta","alfiler","alga","algodón","aliado","aliento","alivio","alma","almeja","almíbar","altar","alteza","altivo","alto","altura","alumno","alzar","amable","amante","amapola","amargo","amasar","ámbar","ámbito","ameno","amigo","amistad","amor","amparo","amplio","ancho","anciano","ancla","andar","andén","anemia","ángulo","anillo","ánimo","anís","anotar","antena","antiguo","antojo","anual","anular","anuncio","añadir","añejo","año","apagar","aparato","apetito","apio","aplicar","apodo","aporte","apoyo","aprender","aprobar","apuesta","apuro","arado","araña","arar","árbitro","árbol","arbusto","archivo","arco","arder","ardilla","arduo","área","árido","aries","armonía","arnés","aroma","arpa","arpón","arreglo","arroz","arruga","arte","artista","asa","asado","asalto","ascenso","asegurar","aseo","asesor","asiento","asilo","asistir","asno","asombro","áspero","astilla","astro","astuto","asumir","asunto","atajo","ataque","atar","atento","ateo","ático","atleta","átomo","atraer","atroz","atún","audaz","audio","auge","aula","aumento","ausente","autor","aval","avance","avaro","ave","avellana","avena","avestruz","avión","aviso","ayer","ayuda","ayuno","azafrán","azar","azote","azúcar","azufre","azul","baba","babor","bache","bahía","baile","bajar","balanza","balcón","balde","bambú","banco","banda","baño","barba","barco","barniz","barro","báscula","bastón","basura","batalla","batería","batir","batuta","baúl","bazar","bebé","bebida","bello","besar","beso","bestia","bicho","bien","bingo","blanco","bloque","blusa","boa","bobina","bobo","boca","bocina","boda","bodega","boina","bola","bolero","bolsa","bomba","bondad","bonito","bono","bonsái","borde","borrar","bosque","bote","botín","bóveda","bozal","bravo","brazo","brecha","breve","brillo","brinco","brisa","broca","broma","bronce","brote","bruja","brusco","bruto","buceo","bucle","bueno","buey","bufanda","bufón","búho","buitre","bulto","burbuja","burla","burro","buscar","butaca","buzón","caballo","cabeza","cabina","cabra","cacao","cadáver","cadena","caer","café","caída","caimán","caja","cajón","cal","calamar","calcio","caldo","calidad","calle","calma","calor","calvo","cama","cambio","camello","camino","campo","cáncer","candil","canela","canguro","canica","canto","caña","cañón","caoba","caos","capaz","capitán","capote","captar","capucha","cara","carbón","cárcel","careta","carga","cariño","carne","carpeta","carro","carta","casa","casco","casero","caspa","castor","catorce","catre","caudal","causa","cazo","cebolla","ceder","cedro","celda","célebre","celoso","célula","cemento","ceniza","centro","cerca","cerdo","cereza","cero","cerrar","certeza","césped","cetro","chacal","chaleco","champú","chancla","chapa","charla","chico","chiste","chivo","choque","choza","chuleta","chupar","ciclón","ciego","cielo","cien","cierto","cifra","cigarro","cima","cinco","cine","cinta","ciprés","circo","ciruela","cisne","cita","ciudad","clamor","clan","claro","clase","clave","cliente","clima","clínica","cobre","cocción","cochino","cocina","coco","código","codo","cofre","coger","cohete","cojín","cojo","cola","colcha","colegio","colgar","colina","collar","colmo","columna","combate","comer","comida","cómodo","compra","conde","conejo","conga","conocer","consejo","contar","copa","copia","corazón","corbata","corcho","cordón","corona","correr","coser","cosmos","costa","cráneo","cráter","crear","crecer","creído","crema","cría","crimen","cripta","crisis","cromo","crónica","croqueta","crudo","cruz","cuadro","cuarto","cuatro","cubo","cubrir","cuchara","cuello","cuento","cuerda","cuesta","cueva","cuidar","culebra","culpa","culto","cumbre","cumplir","cuna","cuneta","cuota","cupón","cúpula","curar","curioso","curso","curva","cutis","dama","danza","dar","dardo","dátil","deber","débil","década","decir","dedo","defensa","definir","dejar","delfín","delgado","delito","demora","denso","dental","deporte","derecho","derrota","desayuno","deseo","desfile","desnudo","destino","desvío","detalle","detener","deuda","día","diablo","diadema","diamante","diana","diario","dibujo","dictar","diente","dieta","diez","difícil","digno","dilema","diluir","dinero","directo","dirigir","disco","diseño","disfraz","diva","divino","doble","doce","dolor","domingo","don","donar","dorado","dormir","dorso","dos","dosis","dragón","droga","ducha","duda","duelo","dueño","dulce","dúo","duque","durar","dureza","duro","ébano","ebrio","echar","eco","ecuador","edad","edición","edificio","editor","educar","efecto","eficaz","eje","ejemplo","elefante","elegir","elemento","elevar","elipse","élite","elixir","elogio","eludir","embudo","emitir","emoción","empate","empeño","empleo","empresa","enano","encargo","enchufe","encía","enemigo","enero","enfado","enfermo","engaño","enigma","enlace","enorme","enredo","ensayo","enseñar","entero","entrar","envase","envío","época","equipo","erizo","escala","escena","escolar","escribir","escudo","esencia","esfera","esfuerzo","espada","espejo","espía","esposa","espuma","esquí","estar","este","estilo","estufa","etapa","eterno","ética","etnia","evadir","evaluar","evento","evitar","exacto","examen","exceso","excusa","exento","exigir","exilio","existir","éxito","experto","explicar","exponer","extremo","fábrica","fábula","fachada","fácil","factor","faena","faja","falda","fallo","falso","faltar","fama","familia","famoso","faraón","farmacia","farol","farsa","fase","fatiga","fauna","favor","fax","febrero","fecha","feliz","feo","feria","feroz","fértil","fervor","festín","fiable","fianza","fiar","fibra","ficción","ficha","fideo","fiebre","fiel","fiera","fiesta","figura","fijar","fijo","fila","filete","filial","filtro","fin","finca","fingir","finito","firma","flaco","flauta","flecha","flor","flota","fluir","flujo","flúor","fobia","foca","fogata","fogón","folio","folleto","fondo","forma","forro","fortuna","forzar","fosa","foto","fracaso","frágil","franja","frase","fraude","freír","freno","fresa","frío","frito","fruta","fuego","fuente","fuerza","fuga","fumar","función","funda","furgón","furia","fusil","fútbol","futuro","gacela","gafas","gaita","gajo","gala","galería","gallo","gamba","ganar","gancho","ganga","ganso","garaje","garza","gasolina","gastar","gato","gavilán","gemelo","gemir","gen","género","genio","gente","geranio","gerente","germen","gesto","gigante","gimnasio","girar","giro","glaciar","globo","gloria","gol","golfo","goloso","golpe","goma","gordo","gorila","gorra","gota","goteo","gozar","grada","gráfico","grano","grasa","gratis","grave","grieta","grillo","gripe","gris","grito","grosor","grúa","grueso","grumo","grupo","guante","guapo","guardia","guerra","guía","guiño","guion","guiso","guitarra","gusano","gustar","haber","hábil","hablar","hacer","hacha","hada","hallar","hamaca","harina","haz","hazaña","hebilla","hebra","hecho","helado","helio","hembra","herir","hermano","héroe","hervir","hielo","hierro","hígado","higiene","hijo","himno","historia","hocico","hogar","hoguera","hoja","hombre","hongo","honor","honra","hora","hormiga","horno","hostil","hoyo","hueco","huelga","huerta","hueso","huevo","huida","huir","humano","húmedo","humilde","humo","hundir","huracán","hurto","icono","ideal","idioma","ídolo","iglesia","iglú","igual","ilegal","ilusión","imagen","imán","imitar","impar","imperio","imponer","impulso","incapaz","índice","inerte","infiel","informe","ingenio","inicio","inmenso","inmune","innato","insecto","instante","interés","íntimo","intuir","inútil","invierno","ira","iris","ironía","isla","islote","jabalí","jabón","jamón","jarabe","jardín","jarra","jaula","jazmín","jefe","jeringa","jinete","jornada","joroba","joven","joya","juerga","jueves","juez","jugador","jugo","juguete","juicio","junco","jungla","junio","juntar","júpiter","jurar","justo","juvenil","juzgar","kilo","koala","labio","lacio","lacra","lado","ladrón","lagarto","lágrima","laguna","laico","lamer","lámina","lámpara","lana","lancha","langosta","lanza","lápiz","largo","larva","lástima","lata","látex","latir","laurel","lavar","lazo","leal","lección","leche","lector","leer","legión","legumbre","lejano","lengua","lento","leña","león","leopardo","lesión","letal","letra","leve","leyenda","libertad","libro","licor","líder","lidiar","lienzo","liga","ligero","lima","límite","limón","limpio","lince","lindo","línea","lingote","lino","linterna","líquido","liso","lista","litera","litio","litro","llaga","llama","llanto","llave","llegar","llenar","llevar","llorar","llover","lluvia","lobo","loción","loco","locura","lógica","logro","lombriz","lomo","lonja","lote","lucha","lucir","lugar","lujo","luna","lunes","lupa","lustro","luto","luz","maceta","macho","madera","madre","maduro","maestro","mafia","magia","mago","maíz","maldad","maleta","malla","malo","mamá","mambo","mamut","manco","mando","manejar","manga","maniquí","manjar","mano","manso","manta","mañana","mapa","máquina","mar","marco","marea","marfil","margen","marido","mármol","marrón","martes","marzo","masa","máscara","masivo","matar","materia","matiz","matriz","máximo","mayor","mazorca","mecha","medalla","medio","médula","mejilla","mejor","melena","melón","memoria","menor","mensaje","mente","menú","mercado","merengue","mérito","mes","mesón","meta","meter","método","metro","mezcla","miedo","miel","miembro","miga","mil","milagro","militar","millón","mimo","mina","minero","mínimo","minuto","miope","mirar","misa","miseria","misil","mismo","mitad","mito","mochila","moción","moda","modelo","moho","mojar","molde","moler","molino","momento","momia","monarca","moneda","monja","monto","moño","morada","morder","moreno","morir","morro","morsa","mortal","mosca","mostrar","motivo","mover","móvil","mozo","mucho","mudar","mueble","muela","muerte","muestra","mugre","mujer","mula","muleta","multa","mundo","muñeca","mural","muro","músculo","museo","musgo","música","muslo","nácar","nación","nadar","naipe","naranja","nariz","narrar","nasal","natal","nativo","natural","náusea","naval","nave","navidad","necio","néctar","negar","negocio","negro","neón","nervio","neto","neutro","nevar","nevera","nicho","nido","niebla","nieto","niñez","niño","nítido","nivel","nobleza","noche","nómina","noria","norma","norte","nota","noticia","novato","novela","novio","nube","nuca","núcleo","nudillo","nudo","nuera","nueve","nuez","nulo","número","nutria","oasis","obeso","obispo","objeto","obra","obrero","observar","obtener","obvio","oca","ocaso","océano","ochenta","ocho","ocio","ocre","octavo","octubre","oculto","ocupar","ocurrir","odiar","odio","odisea","oeste","ofensa","oferta","oficio","ofrecer","ogro","oído","oír","ojo","ola","oleada","olfato","olivo","olla","olmo","olor","olvido","ombligo","onda","onza","opaco","opción","ópera","opinar","oponer","optar","óptica","opuesto","oración","orador","oral","órbita","orca","orden","oreja","órgano","orgía","orgullo","oriente","origen","orilla","oro","orquesta","oruga","osadía","oscuro","osezno","oso","ostra","otoño","otro","oveja","óvulo","óxido","oxígeno","oyente","ozono","pacto","padre","paella","página","pago","país","pájaro","palabra","palco","paleta","pálido","palma","paloma","palpar","pan","panal","pánico","pantera","pañuelo","papá","papel","papilla","paquete","parar","parcela","pared","parir","paro","párpado","parque","párrafo","parte","pasar","paseo","pasión","paso","pasta","pata","patio","patria","pausa","pauta","pavo","payaso","peatón","pecado","pecera","pecho","pedal","pedir","pegar","peine","pelar","peldaño","pelea","peligro","pellejo","pelo","peluca","pena","pensar","peñón","peón","peor","pepino","pequeño","pera","percha","perder","pereza","perfil","perico","perla","permiso","perro","persona","pesa","pesca","pésimo","pestaña","pétalo","petróleo","pez","pezuña","picar","pichón","pie","piedra","pierna","pieza","pijama","pilar","piloto","pimienta","pino","pintor","pinza","piña","piojo","pipa","pirata","pisar","piscina","piso","pista","pitón","pizca","placa","plan","plata","playa","plaza","pleito","pleno","plomo","pluma","plural","pobre","poco","poder","podio","poema","poesía","poeta","polen","policía","pollo","polvo","pomada","pomelo","pomo","pompa","poner","porción","portal","posada","poseer","posible","poste","potencia","potro","pozo","prado","precoz","pregunta","premio","prensa","preso","previo","primo","príncipe","prisión","privar","proa","probar","proceso","producto","proeza","profesor","programa","prole","promesa","pronto","propio","próximo","prueba","público","puchero","pudor","pueblo","puerta","puesto","pulga","pulir","pulmón","pulpo","pulso","puma","punto","puñal","puño","pupa","pupila","puré","quedar","queja","quemar","querer","queso","quieto","química","quince","quitar","rábano","rabia","rabo","ración","radical","raíz","rama","rampa","rancho","rango","rapaz","rápido","rapto","rasgo","raspa","rato","rayo","raza","razón","reacción","realidad","rebaño","rebote","recaer","receta","rechazo","recoger","recreo","recto","recurso","red","redondo","reducir","reflejo","reforma","refrán","refugio","regalo","regir","regla","regreso","rehén","reino","reír","reja","relato","relevo","relieve","relleno","reloj","remar","remedio","remo","rencor","rendir","renta","reparto","repetir","reposo","reptil","res","rescate","resina","respeto","resto","resumen","retiro","retorno","retrato","reunir","revés","revista","rey","rezar","rico","riego","rienda","riesgo","rifa","rígido","rigor","rincón","riñón","río","riqueza","risa","ritmo","rito","rizo","roble","roce","rociar","rodar","rodeo","rodilla","roer","rojizo","rojo","romero","romper","ron","ronco","ronda","ropa","ropero","rosa","rosca","rostro","rotar","rubí","rubor","rudo","rueda","rugir","ruido","ruina","ruleta","rulo","rumbo","rumor","ruptura","ruta","rutina","sábado","saber","sabio","sable","sacar","sagaz","sagrado","sala","saldo","salero","salir","salmón","salón","salsa","salto","salud","salvar","samba","sanción","sandía","sanear","sangre","sanidad","sano","santo","sapo","saque","sardina","sartén","sastre","satán","sauna","saxofón","sección","seco","secreto","secta","sed","seguir","seis","sello","selva","semana","semilla","senda","sensor","señal","señor","separar","sepia","sequía","ser","serie","sermón","servir","sesenta","sesión","seta","setenta","severo","sexo","sexto","sidra","siesta","siete","siglo","signo","sílaba","silbar","silencio","silla","símbolo","simio","sirena","sistema","sitio","situar","sobre","socio","sodio","sol","solapa","soldado","soledad","sólido","soltar","solución","sombra","sondeo","sonido","sonoro","sonrisa","sopa","soplar","soporte","sordo","sorpresa","sorteo","sostén","sótano","suave","subir","suceso","sudor","suegra","suelo","sueño","suerte","sufrir","sujeto","sultán","sumar","superar","suplir","suponer","supremo","sur","surco","sureño","surgir","susto","sutil","tabaco","tabique","tabla","tabú","taco","tacto","tajo","talar","talco","talento","talla","talón","tamaño","tambor","tango","tanque","tapa","tapete","tapia","tapón","taquilla","tarde","tarea","tarifa","tarjeta","tarot","tarro","tarta","tatuaje","tauro","taza","tazón","teatro","techo","tecla","técnica","tejado","tejer","tejido","tela","teléfono","tema","temor","templo","tenaz","tender","tener","tenis","tenso","teoría","terapia","terco","término","ternura","terror","tesis","tesoro","testigo","tetera","texto","tez","tibio","tiburón","tiempo","tienda","tierra","tieso","tigre","tijera","tilde","timbre","tímido","timo","tinta","tío","típico","tipo","tira","tirón","titán","títere","título","tiza","toalla","tobillo","tocar","tocino","todo","toga","toldo","tomar","tono","tonto","topar","tope","toque","tórax","torero","tormenta","torneo","toro","torpedo","torre","torso","tortuga","tos","tosco","toser","tóxico","trabajo","tractor","traer","tráfico","trago","traje","tramo","trance","trato","trauma","trazar","trébol","tregua","treinta","tren","trepar","tres","tribu","trigo","tripa","triste","triunfo","trofeo","trompa","tronco","tropa","trote","trozo","truco","trueno","trufa","tubería","tubo","tuerto","tumba","tumor","túnel","túnica","turbina","turismo","turno","tutor","ubicar","úlcera","umbral","unidad","unir","universo","uno","untar","uña","urbano","urbe","urgente","urna","usar","usuario","útil","utopía","uva","vaca","vacío","vacuna","vagar","vago","vaina","vajilla","vale","válido","valle","valor","válvula","vampiro","vara","variar","varón","vaso","vecino","vector","vehículo","veinte","vejez","vela","velero","veloz","vena","vencer","venda","veneno","vengar","venir","venta","venus","ver","verano","verbo","verde","vereda","verja","verso","verter","vía","viaje","vibrar","vicio","víctima","vida","vídeo","vidrio","viejo","viernes","vigor","vil","villa","vinagre","vino","viñedo","violín","viral","virgo","virtud","visor","víspera","vista","vitamina","viudo","vivaz","vivero","vivir","vivo","volcán","volumen","volver","voraz","votar","voto","voz","vuelo","vulgar","yacer","yate","yegua","yema","yerno","yeso","yodo","yoga","yogur","zafiro","zanja","zapato","zarza","zona","zorro","zumo","zurdo"]')},function(e){e.exports=JSON.parse('["あいこくしん","あいさつ","あいだ","あおぞら","あかちゃん","あきる","あけがた","あける","あこがれる","あさい","あさひ","あしあと","あじわう","あずかる","あずき","あそぶ","あたえる","あたためる","あたりまえ","あたる","あつい","あつかう","あっしゅく","あつまり","あつめる","あてな","あてはまる","あひる","あぶら","あぶる","あふれる","あまい","あまど","あまやかす","あまり","あみもの","あめりか","あやまる","あゆむ","あらいぐま","あらし","あらすじ","あらためる","あらゆる","あらわす","ありがとう","あわせる","あわてる","あんい","あんがい","あんこ","あんぜん","あんてい","あんない","あんまり","いいだす","いおん","いがい","いがく","いきおい","いきなり","いきもの","いきる","いくじ","いくぶん","いけばな","いけん","いこう","いこく","いこつ","いさましい","いさん","いしき","いじゅう","いじょう","いじわる","いずみ","いずれ","いせい","いせえび","いせかい","いせき","いぜん","いそうろう","いそがしい","いだい","いだく","いたずら","いたみ","いたりあ","いちおう","いちじ","いちど","いちば","いちぶ","いちりゅう","いつか","いっしゅん","いっせい","いっそう","いったん","いっち","いってい","いっぽう","いてざ","いてん","いどう","いとこ","いない","いなか","いねむり","いのち","いのる","いはつ","いばる","いはん","いびき","いひん","いふく","いへん","いほう","いみん","いもうと","いもたれ","いもり","いやがる","いやす","いよかん","いよく","いらい","いらすと","いりぐち","いりょう","いれい","いれもの","いれる","いろえんぴつ","いわい","いわう","いわかん","いわば","いわゆる","いんげんまめ","いんさつ","いんしょう","いんよう","うえき","うえる","うおざ","うがい","うかぶ","うかべる","うきわ","うくらいな","うくれれ","うけたまわる","うけつけ","うけとる","うけもつ","うける","うごかす","うごく","うこん","うさぎ","うしなう","うしろがみ","うすい","うすぎ","うすぐらい","うすめる","うせつ","うちあわせ","うちがわ","うちき","うちゅう","うっかり","うつくしい","うったえる","うつる","うどん","うなぎ","うなじ","うなずく","うなる","うねる","うのう","うぶげ","うぶごえ","うまれる","うめる","うもう","うやまう","うよく","うらがえす","うらぐち","うらない","うりあげ","うりきれ","うるさい","うれしい","うれゆき","うれる","うろこ","うわき","うわさ","うんこう","うんちん","うんてん","うんどう","えいえん","えいが","えいきょう","えいご","えいせい","えいぶん","えいよう","えいわ","えおり","えがお","えがく","えきたい","えくせる","えしゃく","えすて","えつらん","えのぐ","えほうまき","えほん","えまき","えもじ","えもの","えらい","えらぶ","えりあ","えんえん","えんかい","えんぎ","えんげき","えんしゅう","えんぜつ","えんそく","えんちょう","えんとつ","おいかける","おいこす","おいしい","おいつく","おうえん","おうさま","おうじ","おうせつ","おうたい","おうふく","おうべい","おうよう","おえる","おおい","おおう","おおどおり","おおや","おおよそ","おかえり","おかず","おがむ","おかわり","おぎなう","おきる","おくさま","おくじょう","おくりがな","おくる","おくれる","おこす","おこなう","おこる","おさえる","おさない","おさめる","おしいれ","おしえる","おじぎ","おじさん","おしゃれ","おそらく","おそわる","おたがい","おたく","おだやか","おちつく","おっと","おつり","おでかけ","おとしもの","おとなしい","おどり","おどろかす","おばさん","おまいり","おめでとう","おもいで","おもう","おもたい","おもちゃ","おやつ","おやゆび","およぼす","おらんだ","おろす","おんがく","おんけい","おんしゃ","おんせん","おんだん","おんちゅう","おんどけい","かあつ","かいが","がいき","がいけん","がいこう","かいさつ","かいしゃ","かいすいよく","かいぜん","かいぞうど","かいつう","かいてん","かいとう","かいふく","がいへき","かいほう","かいよう","がいらい","かいわ","かえる","かおり","かかえる","かがく","かがし","かがみ","かくご","かくとく","かざる","がぞう","かたい","かたち","がちょう","がっきゅう","がっこう","がっさん","がっしょう","かなざわし","かのう","がはく","かぶか","かほう","かほご","かまう","かまぼこ","かめれおん","かゆい","かようび","からい","かるい","かろう","かわく","かわら","がんか","かんけい","かんこう","かんしゃ","かんそう","かんたん","かんち","がんばる","きあい","きあつ","きいろ","ぎいん","きうい","きうん","きえる","きおう","きおく","きおち","きおん","きかい","きかく","きかんしゃ","ききて","きくばり","きくらげ","きけんせい","きこう","きこえる","きこく","きさい","きさく","きさま","きさらぎ","ぎじかがく","ぎしき","ぎじたいけん","ぎじにってい","ぎじゅつしゃ","きすう","きせい","きせき","きせつ","きそう","きぞく","きぞん","きたえる","きちょう","きつえん","ぎっちり","きつつき","きつね","きてい","きどう","きどく","きない","きなが","きなこ","きぬごし","きねん","きのう","きのした","きはく","きびしい","きひん","きふく","きぶん","きぼう","きほん","きまる","きみつ","きむずかしい","きめる","きもだめし","きもち","きもの","きゃく","きやく","ぎゅうにく","きよう","きょうりゅう","きらい","きらく","きりん","きれい","きれつ","きろく","ぎろん","きわめる","ぎんいろ","きんかくじ","きんじょ","きんようび","ぐあい","くいず","くうかん","くうき","くうぐん","くうこう","ぐうせい","くうそう","ぐうたら","くうふく","くうぼ","くかん","くきょう","くげん","ぐこう","くさい","くさき","くさばな","くさる","くしゃみ","くしょう","くすのき","くすりゆび","くせげ","くせん","ぐたいてき","くださる","くたびれる","くちこみ","くちさき","くつした","ぐっすり","くつろぐ","くとうてん","くどく","くなん","くねくね","くのう","くふう","くみあわせ","くみたてる","くめる","くやくしょ","くらす","くらべる","くるま","くれる","くろう","くわしい","ぐんかん","ぐんしょく","ぐんたい","ぐんて","けあな","けいかく","けいけん","けいこ","けいさつ","げいじゅつ","けいたい","げいのうじん","けいれき","けいろ","けおとす","けおりもの","げきか","げきげん","げきだん","げきちん","げきとつ","げきは","げきやく","げこう","げこくじょう","げざい","けさき","げざん","けしき","けしごむ","けしょう","げすと","けたば","けちゃっぷ","けちらす","けつあつ","けつい","けつえき","けっこん","けつじょ","けっせき","けってい","けつまつ","げつようび","げつれい","けつろん","げどく","けとばす","けとる","けなげ","けなす","けなみ","けぬき","げねつ","けねん","けはい","げひん","けぶかい","げぼく","けまり","けみかる","けむし","けむり","けもの","けらい","けろけろ","けわしい","けんい","けんえつ","けんお","けんか","げんき","けんげん","けんこう","けんさく","けんしゅう","けんすう","げんそう","けんちく","けんてい","けんとう","けんない","けんにん","げんぶつ","けんま","けんみん","けんめい","けんらん","けんり","こあくま","こいぬ","こいびと","ごうい","こうえん","こうおん","こうかん","ごうきゅう","ごうけい","こうこう","こうさい","こうじ","こうすい","ごうせい","こうそく","こうたい","こうちゃ","こうつう","こうてい","こうどう","こうない","こうはい","ごうほう","ごうまん","こうもく","こうりつ","こえる","こおり","ごかい","ごがつ","ごかん","こくご","こくさい","こくとう","こくない","こくはく","こぐま","こけい","こける","ここのか","こころ","こさめ","こしつ","こすう","こせい","こせき","こぜん","こそだて","こたい","こたえる","こたつ","こちょう","こっか","こつこつ","こつばん","こつぶ","こてい","こてん","ことがら","ことし","ことば","ことり","こなごな","こねこね","このまま","このみ","このよ","ごはん","こひつじ","こふう","こふん","こぼれる","ごまあぶら","こまかい","ごますり","こまつな","こまる","こむぎこ","こもじ","こもち","こもの","こもん","こやく","こやま","こゆう","こゆび","こよい","こよう","こりる","これくしょん","ころっけ","こわもて","こわれる","こんいん","こんかい","こんき","こんしゅう","こんすい","こんだて","こんとん","こんなん","こんびに","こんぽん","こんまけ","こんや","こんれい","こんわく","ざいえき","さいかい","さいきん","ざいげん","ざいこ","さいしょ","さいせい","ざいたく","ざいちゅう","さいてき","ざいりょう","さうな","さかいし","さがす","さかな","さかみち","さがる","さぎょう","さくし","さくひん","さくら","さこく","さこつ","さずかる","ざせき","さたん","さつえい","ざつおん","ざっか","ざつがく","さっきょく","ざっし","さつじん","ざっそう","さつたば","さつまいも","さてい","さといも","さとう","さとおや","さとし","さとる","さのう","さばく","さびしい","さべつ","さほう","さほど","さます","さみしい","さみだれ","さむけ","さめる","さやえんどう","さゆう","さよう","さよく","さらだ","ざるそば","さわやか","さわる","さんいん","さんか","さんきゃく","さんこう","さんさい","ざんしょ","さんすう","さんせい","さんそ","さんち","さんま","さんみ","さんらん","しあい","しあげ","しあさって","しあわせ","しいく","しいん","しうち","しえい","しおけ","しかい","しかく","じかん","しごと","しすう","じだい","したうけ","したぎ","したて","したみ","しちょう","しちりん","しっかり","しつじ","しつもん","してい","してき","してつ","じてん","じどう","しなぎれ","しなもの","しなん","しねま","しねん","しのぐ","しのぶ","しはい","しばかり","しはつ","しはらい","しはん","しひょう","しふく","じぶん","しへい","しほう","しほん","しまう","しまる","しみん","しむける","じむしょ","しめい","しめる","しもん","しゃいん","しゃうん","しゃおん","じゃがいも","しやくしょ","しゃくほう","しゃけん","しゃこ","しゃざい","しゃしん","しゃせん","しゃそう","しゃたい","しゃちょう","しゃっきん","じゃま","しゃりん","しゃれい","じゆう","じゅうしょ","しゅくはく","じゅしん","しゅっせき","しゅみ","しゅらば","じゅんばん","しょうかい","しょくたく","しょっけん","しょどう","しょもつ","しらせる","しらべる","しんか","しんこう","じんじゃ","しんせいじ","しんちく","しんりん","すあげ","すあし","すあな","ずあん","すいえい","すいか","すいとう","ずいぶん","すいようび","すうがく","すうじつ","すうせん","すおどり","すきま","すくう","すくない","すける","すごい","すこし","ずさん","すずしい","すすむ","すすめる","すっかり","ずっしり","ずっと","すてき","すてる","すねる","すのこ","すはだ","すばらしい","ずひょう","ずぶぬれ","すぶり","すふれ","すべて","すべる","ずほう","すぼん","すまい","すめし","すもう","すやき","すらすら","するめ","すれちがう","すろっと","すわる","すんぜん","すんぽう","せあぶら","せいかつ","せいげん","せいじ","せいよう","せおう","せかいかん","せきにん","せきむ","せきゆ","せきらんうん","せけん","せこう","せすじ","せたい","せたけ","せっかく","せっきゃく","ぜっく","せっけん","せっこつ","せっさたくま","せつぞく","せつだん","せつでん","せっぱん","せつび","せつぶん","せつめい","せつりつ","せなか","せのび","せはば","せびろ","せぼね","せまい","せまる","せめる","せもたれ","せりふ","ぜんあく","せんい","せんえい","せんか","せんきょ","せんく","せんげん","ぜんご","せんさい","せんしゅ","せんすい","せんせい","せんぞ","せんたく","せんちょう","せんてい","せんとう","せんぬき","せんねん","せんぱい","ぜんぶ","ぜんぽう","せんむ","せんめんじょ","せんもん","せんやく","せんゆう","せんよう","ぜんら","ぜんりゃく","せんれい","せんろ","そあく","そいとげる","そいね","そうがんきょう","そうき","そうご","そうしん","そうだん","そうなん","そうび","そうめん","そうり","そえもの","そえん","そがい","そげき","そこう","そこそこ","そざい","そしな","そせい","そせん","そそぐ","そだてる","そつう","そつえん","そっかん","そつぎょう","そっけつ","そっこう","そっせん","そっと","そとがわ","そとづら","そなえる","そなた","そふぼ","そぼく","そぼろ","そまつ","そまる","そむく","そむりえ","そめる","そもそも","そよかぜ","そらまめ","そろう","そんかい","そんけい","そんざい","そんしつ","そんぞく","そんちょう","ぞんび","ぞんぶん","そんみん","たあい","たいいん","たいうん","たいえき","たいおう","だいがく","たいき","たいぐう","たいけん","たいこ","たいざい","だいじょうぶ","だいすき","たいせつ","たいそう","だいたい","たいちょう","たいてい","だいどころ","たいない","たいねつ","たいのう","たいはん","だいひょう","たいふう","たいへん","たいほ","たいまつばな","たいみんぐ","たいむ","たいめん","たいやき","たいよう","たいら","たいりょく","たいる","たいわん","たうえ","たえる","たおす","たおる","たおれる","たかい","たかね","たきび","たくさん","たこく","たこやき","たさい","たしざん","だじゃれ","たすける","たずさわる","たそがれ","たたかう","たたく","ただしい","たたみ","たちばな","だっかい","だっきゃく","だっこ","だっしゅつ","だったい","たてる","たとえる","たなばた","たにん","たぬき","たのしみ","たはつ","たぶん","たべる","たぼう","たまご","たまる","だむる","ためいき","ためす","ためる","たもつ","たやすい","たよる","たらす","たりきほんがん","たりょう","たりる","たると","たれる","たれんと","たろっと","たわむれる","だんあつ","たんい","たんおん","たんか","たんき","たんけん","たんご","たんさん","たんじょうび","だんせい","たんそく","たんたい","だんち","たんてい","たんとう","だんな","たんにん","だんねつ","たんのう","たんぴん","だんぼう","たんまつ","たんめい","だんれつ","だんろ","だんわ","ちあい","ちあん","ちいき","ちいさい","ちえん","ちかい","ちから","ちきゅう","ちきん","ちけいず","ちけん","ちこく","ちさい","ちしき","ちしりょう","ちせい","ちそう","ちたい","ちたん","ちちおや","ちつじょ","ちてき","ちてん","ちぬき","ちぬり","ちのう","ちひょう","ちへいせん","ちほう","ちまた","ちみつ","ちみどろ","ちめいど","ちゃんこなべ","ちゅうい","ちゆりょく","ちょうし","ちょさくけん","ちらし","ちらみ","ちりがみ","ちりょう","ちるど","ちわわ","ちんたい","ちんもく","ついか","ついたち","つうか","つうじょう","つうはん","つうわ","つかう","つかれる","つくね","つくる","つけね","つける","つごう","つたえる","つづく","つつじ","つつむ","つとめる","つながる","つなみ","つねづね","つのる","つぶす","つまらない","つまる","つみき","つめたい","つもり","つもる","つよい","つるぼ","つるみく","つわもの","つわり","てあし","てあて","てあみ","ていおん","ていか","ていき","ていけい","ていこく","ていさつ","ていし","ていせい","ていたい","ていど","ていねい","ていひょう","ていへん","ていぼう","てうち","ておくれ","てきとう","てくび","でこぼこ","てさぎょう","てさげ","てすり","てそう","てちがい","てちょう","てつがく","てつづき","でっぱ","てつぼう","てつや","でぬかえ","てぬき","てぬぐい","てのひら","てはい","てぶくろ","てふだ","てほどき","てほん","てまえ","てまきずし","てみじか","てみやげ","てらす","てれび","てわけ","てわたし","でんあつ","てんいん","てんかい","てんき","てんぐ","てんけん","てんごく","てんさい","てんし","てんすう","でんち","てんてき","てんとう","てんない","てんぷら","てんぼうだい","てんめつ","てんらんかい","でんりょく","でんわ","どあい","といれ","どうかん","とうきゅう","どうぐ","とうし","とうむぎ","とおい","とおか","とおく","とおす","とおる","とかい","とかす","ときおり","ときどき","とくい","とくしゅう","とくてん","とくに","とくべつ","とけい","とける","とこや","とさか","としょかん","とそう","とたん","とちゅう","とっきゅう","とっくん","とつぜん","とつにゅう","とどける","ととのえる","とない","となえる","となり","とのさま","とばす","どぶがわ","とほう","とまる","とめる","ともだち","ともる","どようび","とらえる","とんかつ","どんぶり","ないかく","ないこう","ないしょ","ないす","ないせん","ないそう","なおす","ながい","なくす","なげる","なこうど","なさけ","なたでここ","なっとう","なつやすみ","ななおし","なにごと","なにもの","なにわ","なのか","なふだ","なまいき","なまえ","なまみ","なみだ","なめらか","なめる","なやむ","ならう","ならび","ならぶ","なれる","なわとび","なわばり","にあう","にいがた","にうけ","におい","にかい","にがて","にきび","にくしみ","にくまん","にげる","にさんかたんそ","にしき","にせもの","にちじょう","にちようび","にっか","にっき","にっけい","にっこう","にっさん","にっしょく","にっすう","にっせき","にってい","になう","にほん","にまめ","にもつ","にやり","にゅういん","にりんしゃ","にわとり","にんい","にんか","にんき","にんげん","にんしき","にんずう","にんそう","にんたい","にんち","にんてい","にんにく","にんぷ","にんまり","にんむ","にんめい","にんよう","ぬいくぎ","ぬかす","ぬぐいとる","ぬぐう","ぬくもり","ぬすむ","ぬまえび","ぬめり","ぬらす","ぬんちゃく","ねあげ","ねいき","ねいる","ねいろ","ねぐせ","ねくたい","ねくら","ねこぜ","ねこむ","ねさげ","ねすごす","ねそべる","ねだん","ねつい","ねっしん","ねつぞう","ねったいぎょ","ねぶそく","ねふだ","ねぼう","ねほりはほり","ねまき","ねまわし","ねみみ","ねむい","ねむたい","ねもと","ねらう","ねわざ","ねんいり","ねんおし","ねんかん","ねんきん","ねんぐ","ねんざ","ねんし","ねんちゃく","ねんど","ねんぴ","ねんぶつ","ねんまつ","ねんりょう","ねんれい","のいず","のおづま","のがす","のきなみ","のこぎり","のこす","のこる","のせる","のぞく","のぞむ","のたまう","のちほど","のっく","のばす","のはら","のべる","のぼる","のみもの","のやま","のらいぬ","のらねこ","のりもの","のりゆき","のれん","のんき","ばあい","はあく","ばあさん","ばいか","ばいく","はいけん","はいご","はいしん","はいすい","はいせん","はいそう","はいち","ばいばい","はいれつ","はえる","はおる","はかい","ばかり","はかる","はくしゅ","はけん","はこぶ","はさみ","はさん","はしご","ばしょ","はしる","はせる","ぱそこん","はそん","はたん","はちみつ","はつおん","はっかく","はづき","はっきり","はっくつ","はっけん","はっこう","はっさん","はっしん","はったつ","はっちゅう","はってん","はっぴょう","はっぽう","はなす","はなび","はにかむ","はぶらし","はみがき","はむかう","はめつ","はやい","はやし","はらう","はろうぃん","はわい","はんい","はんえい","はんおん","はんかく","はんきょう","ばんぐみ","はんこ","はんしゃ","はんすう","はんだん","ぱんち","ぱんつ","はんてい","はんとし","はんのう","はんぱ","はんぶん","はんぺん","はんぼうき","はんめい","はんらん","はんろん","ひいき","ひうん","ひえる","ひかく","ひかり","ひかる","ひかん","ひくい","ひけつ","ひこうき","ひこく","ひさい","ひさしぶり","ひさん","びじゅつかん","ひしょ","ひそか","ひそむ","ひたむき","ひだり","ひたる","ひつぎ","ひっこし","ひっし","ひつじゅひん","ひっす","ひつぜん","ぴったり","ぴっちり","ひつよう","ひてい","ひとごみ","ひなまつり","ひなん","ひねる","ひはん","ひびく","ひひょう","ひほう","ひまわり","ひまん","ひみつ","ひめい","ひめじし","ひやけ","ひやす","ひよう","びょうき","ひらがな","ひらく","ひりつ","ひりょう","ひるま","ひるやすみ","ひれい","ひろい","ひろう","ひろき","ひろゆき","ひんかく","ひんけつ","ひんこん","ひんしゅ","ひんそう","ぴんち","ひんぱん","びんぼう","ふあん","ふいうち","ふうけい","ふうせん","ぷうたろう","ふうとう","ふうふ","ふえる","ふおん","ふかい","ふきん","ふくざつ","ふくぶくろ","ふこう","ふさい","ふしぎ","ふじみ","ふすま","ふせい","ふせぐ","ふそく","ぶたにく","ふたん","ふちょう","ふつう","ふつか","ふっかつ","ふっき","ふっこく","ぶどう","ふとる","ふとん","ふのう","ふはい","ふひょう","ふへん","ふまん","ふみん","ふめつ","ふめん","ふよう","ふりこ","ふりる","ふるい","ふんいき","ぶんがく","ぶんぐ","ふんしつ","ぶんせき","ふんそう","ぶんぽう","へいあん","へいおん","へいがい","へいき","へいげん","へいこう","へいさ","へいしゃ","へいせつ","へいそ","へいたく","へいてん","へいねつ","へいわ","へきが","へこむ","べにいろ","べにしょうが","へらす","へんかん","べんきょう","べんごし","へんさい","へんたい","べんり","ほあん","ほいく","ぼうぎょ","ほうこく","ほうそう","ほうほう","ほうもん","ほうりつ","ほえる","ほおん","ほかん","ほきょう","ぼきん","ほくろ","ほけつ","ほけん","ほこう","ほこる","ほしい","ほしつ","ほしゅ","ほしょう","ほせい","ほそい","ほそく","ほたて","ほたる","ぽちぶくろ","ほっきょく","ほっさ","ほったん","ほとんど","ほめる","ほんい","ほんき","ほんけ","ほんしつ","ほんやく","まいにち","まかい","まかせる","まがる","まける","まこと","まさつ","まじめ","ますく","まぜる","まつり","まとめ","まなぶ","まぬけ","まねく","まほう","まもる","まゆげ","まよう","まろやか","まわす","まわり","まわる","まんが","まんきつ","まんぞく","まんなか","みいら","みうち","みえる","みがく","みかた","みかん","みけん","みこん","みじかい","みすい","みすえる","みせる","みっか","みつかる","みつける","みてい","みとめる","みなと","みなみかさい","みねらる","みのう","みのがす","みほん","みもと","みやげ","みらい","みりょく","みわく","みんか","みんぞく","むいか","むえき","むえん","むかい","むかう","むかえ","むかし","むぎちゃ","むける","むげん","むさぼる","むしあつい","むしば","むじゅん","むしろ","むすう","むすこ","むすぶ","むすめ","むせる","むせん","むちゅう","むなしい","むのう","むやみ","むよう","むらさき","むりょう","むろん","めいあん","めいうん","めいえん","めいかく","めいきょく","めいさい","めいし","めいそう","めいぶつ","めいれい","めいわく","めぐまれる","めざす","めした","めずらしい","めだつ","めまい","めやす","めんきょ","めんせき","めんどう","もうしあげる","もうどうけん","もえる","もくし","もくてき","もくようび","もちろん","もどる","もらう","もんく","もんだい","やおや","やける","やさい","やさしい","やすい","やすたろう","やすみ","やせる","やそう","やたい","やちん","やっと","やっぱり","やぶる","やめる","ややこしい","やよい","やわらかい","ゆうき","ゆうびんきょく","ゆうべ","ゆうめい","ゆけつ","ゆしゅつ","ゆせん","ゆそう","ゆたか","ゆちゃく","ゆでる","ゆにゅう","ゆびわ","ゆらい","ゆれる","ようい","ようか","ようきゅう","ようじ","ようす","ようちえん","よかぜ","よかん","よきん","よくせい","よくぼう","よけい","よごれる","よさん","よしゅう","よそう","よそく","よっか","よてい","よどがわく","よねつ","よやく","よゆう","よろこぶ","よろしい","らいう","らくがき","らくご","らくさつ","らくだ","らしんばん","らせん","らぞく","らたい","らっか","られつ","りえき","りかい","りきさく","りきせつ","りくぐん","りくつ","りけん","りこう","りせい","りそう","りそく","りてん","りねん","りゆう","りゅうがく","りよう","りょうり","りょかん","りょくちゃ","りょこう","りりく","りれき","りろん","りんご","るいけい","るいさい","るいじ","るいせき","るすばん","るりがわら","れいかん","れいぎ","れいせい","れいぞうこ","れいとう","れいぼう","れきし","れきだい","れんあい","れんけい","れんこん","れんさい","れんしゅう","れんぞく","れんらく","ろうか","ろうご","ろうじん","ろうそく","ろくが","ろこつ","ろじうら","ろしゅつ","ろせん","ろてん","ろめん","ろれつ","ろんぎ","ろんぱ","ろんぶん","ろんり","わかす","わかめ","わかやま","わかれる","わしつ","わじまし","わすれもの","わらう","われる"]')},function(e){e.exports=JSON.parse('["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","attend","attitude","attract","auction","audit","august","aunt","author","auto","autumn","average","avocado","avoid","awake","aware","away","awesome","awful","awkward","axis","baby","bachelor","bacon","badge","bag","balance","balcony","ball","bamboo","banana","banner","bar","barely","bargain","barrel","base","basic","basket","battle","beach","bean","beauty","because","become","beef","before","begin","behave","behind","believe","below","belt","bench","benefit","best","betray","better","between","beyond","bicycle","bid","bike","bind","biology","bird","birth","bitter","black","blade","blame","blanket","blast","bleak","bless","blind","blood","blossom","blouse","blue","blur","blush","board","boat","body","boil","bomb","bone","bonus","book","boost","border","boring","borrow","boss","bottom","bounce","box","boy","bracket","brain","brand","brass","brave","bread","breeze","brick","bridge","brief","bright","bring","brisk","broccoli","broken","bronze","broom","brother","brown","brush","bubble","buddy","budget","buffalo","build","bulb","bulk","bullet","bundle","bunker","burden","burger","burst","bus","business","busy","butter","buyer","buzz","cabbage","cabin","cable","cactus","cage","cake","call","calm","camera","camp","can","canal","cancel","candy","cannon","canoe","canvas","canyon","capable","capital","captain","car","carbon","card","cargo","carpet","carry","cart","case","cash","casino","castle","casual","cat","catalog","catch","category","cattle","caught","cause","caution","cave","ceiling","celery","cement","census","century","cereal","certain","chair","chalk","champion","change","chaos","chapter","charge","chase","chat","cheap","check","cheese","chef","cherry","chest","chicken","chief","child","chimney","choice","choose","chronic","chuckle","chunk","churn","cigar","cinnamon","circle","citizen","city","civil","claim","clap","clarify","claw","clay","clean","clerk","clever","click","client","cliff","climb","clinic","clip","clock","clog","close","cloth","cloud","clown","club","clump","cluster","clutch","coach","coast","coconut","code","coffee","coil","coin","collect","color","column","combine","come","comfort","comic","common","company","concert","conduct","confirm","congress","connect","consider","control","convince","cook","cool","copper","copy","coral","core","corn","correct","cost","cotton","couch","country","couple","course","cousin","cover","coyote","crack","cradle","craft","cram","crane","crash","crater","crawl","crazy","cream","credit","creek","crew","cricket","crime","crisp","critic","crop","cross","crouch","crowd","crucial","cruel","cruise","crumble","crunch","crush","cry","crystal","cube","culture","cup","cupboard","curious","current","curtain","curve","cushion","custom","cute","cycle","dad","damage","damp","dance","danger","daring","dash","daughter","dawn","day","deal","debate","debris","decade","december","decide","decline","decorate","decrease","deer","defense","define","defy","degree","delay","deliver","demand","demise","denial","dentist","deny","depart","depend","deposit","depth","deputy","derive","describe","desert","design","desk","despair","destroy","detail","detect","develop","device","devote","diagram","dial","diamond","diary","dice","diesel","diet","differ","digital","dignity","dilemma","dinner","dinosaur","direct","dirt","disagree","discover","disease","dish","dismiss","disorder","display","distance","divert","divide","divorce","dizzy","doctor","document","dog","doll","dolphin","domain","donate","donkey","donor","door","dose","double","dove","draft","dragon","drama","drastic","draw","dream","dress","drift","drill","drink","drip","drive","drop","drum","dry","duck","dumb","dune","during","dust","dutch","duty","dwarf","dynamic","eager","eagle","early","earn","earth","easily","east","easy","echo","ecology","economy","edge","edit","educate","effort","egg","eight","either","elbow","elder","electric","elegant","element","elephant","elevator","elite","else","embark","embody","embrace","emerge","emotion","employ","empower","empty","enable","enact","end","endless","endorse","enemy","energy","enforce","engage","engine","enhance","enjoy","enlist","enough","enrich","enroll","ensure","enter","entire","entry","envelope","episode","equal","equip","era","erase","erode","erosion","error","erupt","escape","essay","essence","estate","eternal","ethics","evidence","evil","evoke","evolve","exact","example","excess","exchange","excite","exclude","excuse","execute","exercise","exhaust","exhibit","exile","exist","exit","exotic","expand","expect","expire","explain","expose","express","extend","extra","eye","eyebrow","fabric","face","faculty","fade","faint","faith","fall","false","fame","family","famous","fan","fancy","fantasy","farm","fashion","fat","fatal","father","fatigue","fault","favorite","feature","february","federal","fee","feed","feel","female","fence","festival","fetch","fever","few","fiber","fiction","field","figure","file","film","filter","final","find","fine","finger","finish","fire","firm","first","fiscal","fish","fit","fitness","fix","flag","flame","flash","flat","flavor","flee","flight","flip","float","flock","floor","flower","fluid","flush","fly","foam","focus","fog","foil","fold","follow","food","foot","force","forest","forget","fork","fortune","forum","forward","fossil","foster","found","fox","fragile","frame","frequent","fresh","friend","fringe","frog","front","frost","frown","frozen","fruit","fuel","fun","funny","furnace","fury","future","gadget","gain","galaxy","gallery","game","gap","garage","garbage","garden","garlic","garment","gas","gasp","gate","gather","gauge","gaze","general","genius","genre","gentle","genuine","gesture","ghost","giant","gift","giggle","ginger","giraffe","girl","give","glad","glance","glare","glass","glide","glimpse","globe","gloom","glory","glove","glow","glue","goat","goddess","gold","good","goose","gorilla","gospel","gossip","govern","gown","grab","grace","grain","grant","grape","grass","gravity","great","green","grid","grief","grit","grocery","group","grow","grunt","guard","guess","guide","guilt","guitar","gun","gym","habit","hair","half","hammer","hamster","hand","happy","harbor","hard","harsh","harvest","hat","have","hawk","hazard","head","health","heart","heavy","hedgehog","height","hello","helmet","help","hen","hero","hidden","high","hill","hint","hip","hire","history","hobby","hockey","hold","hole","holiday","hollow","home","honey","hood","hope","horn","horror","horse","hospital","host","hotel","hour","hover","hub","huge","human","humble","humor","hundred","hungry","hunt","hurdle","hurry","hurt","husband","hybrid","ice","icon","idea","identify","idle","ignore","ill","illegal","illness","image","imitate","immense","immune","impact","impose","improve","impulse","inch","include","income","increase","index","indicate","indoor","industry","infant","inflict","inform","inhale","inherit","initial","inject","injury","inmate","inner","innocent","input","inquiry","insane","insect","inside","inspire","install","intact","interest","into","invest","invite","involve","iron","island","isolate","issue","item","ivory","jacket","jaguar","jar","jazz","jealous","jeans","jelly","jewel","job","join","joke","journey","joy","judge","juice","jump","jungle","junior","junk","just","kangaroo","keen","keep","ketchup","key","kick","kid","kidney","kind","kingdom","kiss","kit","kitchen","kite","kitten","kiwi","knee","knife","knock","know","lab","label","labor","ladder","lady","lake","lamp","language","laptop","large","later","latin","laugh","laundry","lava","law","lawn","lawsuit","layer","lazy","leader","leaf","learn","leave","lecture","left","leg","legal","legend","leisure","lemon","lend","length","lens","leopard","lesson","letter","level","liar","liberty","library","license","life","lift","light","like","limb","limit","link","lion","liquid","list","little","live","lizard","load","loan","lobster","local","lock","logic","lonely","long","loop","lottery","loud","lounge","love","loyal","lucky","luggage","lumber","lunar","lunch","luxury","lyrics","machine","mad","magic","magnet","maid","mail","main","major","make","mammal","man","manage","mandate","mango","mansion","manual","maple","marble","march","margin","marine","market","marriage","mask","mass","master","match","material","math","matrix","matter","maximum","maze","meadow","mean","measure","meat","mechanic","medal","media","melody","melt","member","memory","mention","menu","mercy","merge","merit","merry","mesh","message","metal","method","middle","midnight","milk","million","mimic","mind","minimum","minor","minute","miracle","mirror","misery","miss","mistake","mix","mixed","mixture","mobile","model","modify","mom","moment","monitor","monkey","monster","month","moon","moral","more","morning","mosquito","mother","motion","motor","mountain","mouse","move","movie","much","muffin","mule","multiply","muscle","museum","mushroom","music","must","mutual","myself","mystery","myth","naive","name","napkin","narrow","nasty","nation","nature","near","neck","need","negative","neglect","neither","nephew","nerve","nest","net","network","neutral","never","news","next","nice","night","noble","noise","nominee","noodle","normal","north","nose","notable","note","nothing","notice","novel","now","nuclear","number","nurse","nut","oak","obey","object","oblige","obscure","observe","obtain","obvious","occur","ocean","october","odor","off","offer","office","often","oil","okay","old","olive","olympic","omit","once","one","onion","online","only","open","opera","opinion","oppose","option","orange","orbit","orchard","order","ordinary","organ","orient","original","orphan","ostrich","other","outdoor","outer","output","outside","oval","oven","over","own","owner","oxygen","oyster","ozone","pact","paddle","page","pair","palace","palm","panda","panel","panic","panther","paper","parade","parent","park","parrot","party","pass","patch","path","patient","patrol","pattern","pause","pave","payment","peace","peanut","pear","peasant","pelican","pen","penalty","pencil","people","pepper","perfect","permit","person","pet","phone","photo","phrase","physical","piano","picnic","picture","piece","pig","pigeon","pill","pilot","pink","pioneer","pipe","pistol","pitch","pizza","place","planet","plastic","plate","play","please","pledge","pluck","plug","plunge","poem","poet","point","polar","pole","police","pond","pony","pool","popular","portion","position","possible","post","potato","pottery","poverty","powder","power","practice","praise","predict","prefer","prepare","present","pretty","prevent","price","pride","primary","print","priority","prison","private","prize","problem","process","produce","profit","program","project","promote","proof","property","prosper","protect","proud","provide","public","pudding","pull","pulp","pulse","pumpkin","punch","pupil","puppy","purchase","purity","purpose","purse","push","put","puzzle","pyramid","quality","quantum","quarter","question","quick","quit","quiz","quote","rabbit","raccoon","race","rack","radar","radio","rail","rain","raise","rally","ramp","ranch","random","range","rapid","rare","rate","rather","raven","raw","razor","ready","real","reason","rebel","rebuild","recall","receive","recipe","record","recycle","reduce","reflect","reform","refuse","region","regret","regular","reject","relax","release","relief","rely","remain","remember","remind","remove","render","renew","rent","reopen","repair","repeat","replace","report","require","rescue","resemble","resist","resource","response","result","retire","retreat","return","reunion","reveal","review","reward","rhythm","rib","ribbon","rice","rich","ride","ridge","rifle","right","rigid","ring","riot","ripple","risk","ritual","rival","river","road","roast","robot","robust","rocket","romance","roof","rookie","room","rose","rotate","rough","round","route","royal","rubber","rude","rug","rule","run","runway","rural","sad","saddle","sadness","safe","sail","salad","salmon","salon","salt","salute","same","sample","sand","satisfy","satoshi","sauce","sausage","save","say","scale","scan","scare","scatter","scene","scheme","school","science","scissors","scorpion","scout","scrap","screen","script","scrub","sea","search","season","seat","second","secret","section","security","seed","seek","segment","select","sell","seminar","senior","sense","sentence","series","service","session","settle","setup","seven","shadow","shaft","shallow","share","shed","shell","sheriff","shield","shift","shine","ship","shiver","shock","shoe","shoot","shop","short","shoulder","shove","shrimp","shrug","shuffle","shy","sibling","sick","side","siege","sight","sign","silent","silk","silly","silver","similar","simple","since","sing","siren","sister","situate","six","size","skate","sketch","ski","skill","skin","skirt","skull","slab","slam","sleep","slender","slice","slide","slight","slim","slogan","slot","slow","slush","small","smart","smile","smoke","smooth","snack","snake","snap","sniff","snow","soap","soccer","social","sock","soda","soft","solar","soldier","solid","solution","solve","someone","song","soon","sorry","sort","soul","sound","soup","source","south","space","spare","spatial","spawn","speak","special","speed","spell","spend","sphere","spice","spider","spike","spin","spirit","split","spoil","sponsor","spoon","sport","spot","spray","spread","spring","spy","square","squeeze","squirrel","stable","stadium","staff","stage","stairs","stamp","stand","start","state","stay","steak","steel","stem","step","stereo","stick","still","sting","stock","stomach","stone","stool","story","stove","strategy","street","strike","strong","struggle","student","stuff","stumble","style","subject","submit","subway","success","such","sudden","suffer","sugar","suggest","suit","summer","sun","sunny","sunset","super","supply","supreme","sure","surface","surge","surprise","surround","survey","suspect","sustain","swallow","swamp","swap","swarm","swear","sweet","swift","swim","swing","switch","sword","symbol","symptom","syrup","system","table","tackle","tag","tail","talent","talk","tank","tape","target","task","taste","tattoo","taxi","teach","team","tell","ten","tenant","tennis","tent","term","test","text","thank","that","theme","then","theory","there","they","thing","this","thought","three","thrive","throw","thumb","thunder","ticket","tide","tiger","tilt","timber","time","tiny","tip","tired","tissue","title","toast","tobacco","today","toddler","toe","together","toilet","token","tomato","tomorrow","tone","tongue","tonight","tool","tooth","top","topic","topple","torch","tornado","tortoise","toss","total","tourist","toward","tower","town","toy","track","trade","traffic","tragic","train","transfer","trap","trash","travel","tray","treat","tree","trend","trial","tribe","trick","trigger","trim","trip","trophy","trouble","truck","true","truly","trumpet","trust","truth","try","tube","tuition","tumble","tuna","tunnel","turkey","turn","turtle","twelve","twenty","twice","twin","twist","two","type","typical","ugly","umbrella","unable","unaware","uncle","uncover","under","undo","unfair","unfold","unhappy","uniform","unique","unit","universe","unknown","unlock","until","unusual","unveil","update","upgrade","uphold","upon","upper","upset","urban","urge","usage","use","used","useful","useless","usual","utility","vacant","vacuum","vague","valid","valley","valve","van","vanish","vapor","various","vast","vault","vehicle","velvet","vendor","venture","venue","verb","verify","version","very","vessel","veteran","viable","vibrant","vicious","victory","video","view","village","vintage","violin","virtual","virus","visa","visit","visual","vital","vivid","vocal","voice","void","volcano","volume","vote","voyage","wage","wagon","wait","walk","wall","walnut","want","warfare","warm","warrior","wash","wasp","waste","water","wave","way","wealth","weapon","wear","weasel","weather","web","wedding","weekend","weird","welcome","west","wet","whale","what","wheat","wheel","when","where","whip","whisper","wide","width","wife","wild","will","win","window","wine","wing","wink","winner","winter","wire","wisdom","wise","wish","witness","wolf","woman","wonder","wood","wool","word","work","world","worry","worth","wrap","wreck","wrestle","wrist","write","wrong","yard","year","yellow","you","young","youth","zebra","zero","zone","zoo"]')},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(558);t.fromSeed=r.fromSeed,t.fromBase58=r.fromBase58,t.fromPublicKey=r.fromPublicKey,t.fromPrivateKey=r.fromPrivateKey},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});const r=n(559),i=n(298),o=n(562),a=n(564),s=n(566),c=a.BufferN(32),l=a.compile({wif:a.UInt8,bip32:{public:a.UInt32,private:a.UInt32}}),u={messagePrefix:"Bitcoin Signed Message:\n",bech32:"bc",bip32:{public:76067358,private:76066276},pubKeyHash:0,scriptHash:5,wif:128},f=Math.pow(2,31)-1;function d(e){return a.String(e)&&null!==e.match(/^(m\/)?(\d+'?\/)*\d+'?$/)}function p(e){return a.UInt32(e)&&e<=f}class h{constructor(e,t,n,r,i=0,o=0,s=0){this.__D=e,this.__Q=t,this.chainCode=n,this.network=r,this.__DEPTH=i,this.__INDEX=o,this.__PARENT_FINGERPRINT=s,a(l,r),this.lowR=!1}get depth(){return this.__DEPTH}get index(){return this.__INDEX}get parentFingerprint(){return this.__PARENT_FINGERPRINT}get publicKey(){return void 0===this.__Q&&(this.__Q=o.pointFromScalar(this.__D,!0)),this.__Q}get privateKey(){return this.__D}get identifier(){return r.hash160(this.publicKey)}get fingerprint(){return this.identifier.slice(0,4)}get compressed(){return!0}isNeutered(){return void 0===this.__D}neutered(){return y(this.publicKey,this.chainCode,this.network,this.depth,this.index,this.parentFingerprint)}toBase58(){const t=this.network,n=this.isNeutered()?t.bip32.public:t.bip32.private,r=e.allocUnsafe(78);return r.writeUInt32BE(n,0),r.writeUInt8(this.depth,4),r.writeUInt32BE(this.parentFingerprint,5),r.writeUInt32BE(this.index,9),this.chainCode.copy(r,13),this.isNeutered()?this.publicKey.copy(r,45):(r.writeUInt8(0,45),this.privateKey.copy(r,46)),i.encode(r)}toWIF(){if(!this.privateKey)throw new TypeError("Missing private key");return s.encode(this.network.wif,this.privateKey,!0)}derive(t){a(a.UInt32,t);const n=t>=2147483648,i=e.allocUnsafe(37);if(n){if(this.isNeutered())throw new TypeError("Missing private key for hardened child key");i[0]=0,this.privateKey.copy(i,1),i.writeUInt32BE(t,33)}else this.publicKey.copy(i,0),i.writeUInt32BE(t,33);const s=r.hmacSHA512(this.chainCode,i),c=s.slice(0,32),l=s.slice(32);if(!o.isPrivate(c))return this.derive(t+1);let u;if(this.isNeutered()){const e=o.pointAddScalar(this.publicKey,c,!0);if(null===e)return this.derive(t+1);u=y(e,l,this.network,this.depth+1,t,this.fingerprint.readUInt32BE(0))}else{const e=o.privateAdd(this.privateKey,c);if(null==e)return this.derive(t+1);u=b(e,l,this.network,this.depth+1,t,this.fingerprint.readUInt32BE(0))}return u}deriveHardened(e){return a(p,e),this.derive(e+2147483648)}derivePath(e){a(d,e);let t=e.split("/");if("m"===t[0]){if(this.parentFingerprint)throw new TypeError("Expected master, got child");t=t.slice(1)}return t.reduce((e,t)=>{let n;return"'"===t.slice(-1)?(n=parseInt(t.slice(0,-1),10),e.deriveHardened(n)):(n=parseInt(t,10),e.derive(n))},this)}sign(t,n){if(!this.privateKey)throw new Error("Missing private key");if(void 0===n&&(n=this.lowR),!1===n)return o.sign(t,this.privateKey);{let n=o.sign(t,this.privateKey);const r=e.alloc(32,0);let i=0;for(;n[0]>127;)i++,r.writeUIntLE(i,0,6),n=o.signWithEntropy(t,this.privateKey,r);return n}}verify(e,t){return o.verify(e,this.publicKey,t)}}function m(e,t,n){return b(e,t,n)}function b(e,t,n,r,i,s){if(a({privateKey:c,chainCode:c},{privateKey:e,chainCode:t}),n=n||u,!o.isPrivate(e))throw new TypeError("Private key not in range [1, n)");return new h(e,void 0,t,n,r,i,s)}function y(e,t,n,r,i,s){if(a({publicKey:a.BufferN(33),chainCode:c},{publicKey:e,chainCode:t}),n=n||u,!o.isPoint(e))throw new TypeError("Point is not on the curve");return new h(void 0,e,t,n,r,i,s)}t.fromBase58=function(e,t){const n=i.decode(e);if(78!==n.length)throw new TypeError("Invalid buffer length");t=t||u;const r=n.readUInt32BE(0);if(r!==t.bip32.private&&r!==t.bip32.public)throw new TypeError("Invalid network version");const o=n[4],a=n.readUInt32BE(5);if(0===o&&0!==a)throw new TypeError("Invalid parent fingerprint");const s=n.readUInt32BE(9);if(0===o&&0!==s)throw new TypeError("Invalid index");const c=n.slice(13,45);let l;if(r===t.bip32.private){if(0!==n.readUInt8(45))throw new TypeError("Invalid private key");l=b(n.slice(46,78),c,t,o,s,a)}else{l=y(n.slice(45,78),c,t,o,s,a)}return l},t.fromPrivateKey=m,t.fromPublicKey=function(e,t,n){return y(e,t,n)},t.fromSeed=function(t,n){if(a(a.Buffer,t),t.length<16)throw new TypeError("Seed should be at least 128 bits");if(t.length>64)throw new TypeError("Seed should be at most 512 bits");n=n||u;const i=r.hmacSHA512(e.from("Bitcoin seed","utf8"),t);return m(i.slice(0,32),i.slice(32),n)}}).call(this,n(2).Buffer)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(54),i=n(120);t.hash160=function(e){const t=r("sha256").update(e).digest();try{return r("rmd160").update(t).digest()}catch(e){return r("ripemd160").update(t).digest()}},t.hmacSHA512=function(e,t){return i("sha512",e).update(t).digest()}},function(e,t,n){"use strict";var r=n(561),i=n(7).Buffer;e.exports=function(e){function t(t){var n=t.slice(0,-4),r=t.slice(-4),i=e(n);if(!(r[0]^i[0]|r[1]^i[1]|r[2]^i[2]|r[3]^i[3]))return n}return{encode:function(t){var n=e(t);return r.encode(i.concat([t,n],t.length+4))},decode:function(e){var n=t(r.decode(e));if(!n)throw new Error("Invalid checksum");return n},decodeUnsafe:function(e){var n=r.decodeUnsafe(e);if(n)return t(n)}}}},function(e,t,n){var r=n(396);e.exports=r("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz")},function(e,t,n){(function(t){const r=n(6),i=new(0,n(45).ec)("secp256k1"),o=n(563),a=t.alloc(32,0),s=t.from("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141","hex"),c=t.from("fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f","hex"),l=i.curve.n,u=l.shrn(1),f=i.curve.g;function d(e){return t.isBuffer(e)&&32===e.length}function p(e){return!!d(e)&&e.compare(s)<0}function h(e){if(!t.isBuffer(e))return!1;if(e.length<33)return!1;const n=e[0],r=e.slice(1,33);if(0===r.compare(a))return!1;if(r.compare(c)>=0)return!1;if((2===n||3===n)&&33===e.length){try{w(e)}catch(e){return!1}return!0}const i=e.slice(33);return 0!==i.compare(a)&&(!(i.compare(c)>=0)&&(4===n&&65===e.length))}function m(e){return 4!==e[0]}function b(e){return!!d(e)&&(e.compare(a)>0&&e.compare(s)<0)}function y(e,t){return void 0===e&&void 0!==t?m(t):void 0===e||e}function g(e){return new r(e)}function v(e){return e.toArrayLike(t,"be",32)}function w(e){return i.curve.decodePoint(e)}function _(e,n){return t.from(e._encode(n))}function k(e,n,r){if(!d(e))throw new TypeError("Expected Hash");if(!b(n))throw new TypeError("Expected Private");if(void 0!==r&&!d(r))throw new TypeError("Expected Extra Data (32 bytes)");const i=g(n),a=g(e);let s,c;o(e,n,(function(e){const t=g(e),n=f.mul(t);return!n.isInfinity()&&(s=n.x.umod(l),0!==s.isZero()&&(c=t.invm(l).mul(a.add(i.mul(s))).umod(l),0!==c.isZero()))}),b,r),c.cmp(u)>0&&(c=l.sub(c));const p=t.allocUnsafe(64);return v(s).copy(p,0),v(c).copy(p,32),p}e.exports={isPoint:h,isPointCompressed:function(e){return!!h(e)&&m(e)},isPrivate:b,pointAdd:function(e,t,n){if(!h(e))throw new TypeError("Expected Point");if(!h(t))throw new TypeError("Expected Point");const r=w(e),i=w(t),o=r.add(i);return o.isInfinity()?null:_(o,y(n,e))},pointAddScalar:function(e,t,n){if(!h(e))throw new TypeError("Expected Point");if(!p(t))throw new TypeError("Expected Tweak");const r=y(n,e),i=w(e);if(0===t.compare(a))return _(i,r);const o=g(t),s=f.mul(o),c=i.add(s);return c.isInfinity()?null:_(c,r)},pointCompress:function(e,t){if(!h(e))throw new TypeError("Expected Point");const n=w(e);if(n.isInfinity())throw new TypeError("Expected Point");return _(n,y(t,e))},pointFromScalar:function(e,t){if(!b(e))throw new TypeError("Expected Private");const n=g(e),r=f.mul(n);return r.isInfinity()?null:_(r,y(t))},pointMultiply:function(e,t,n){if(!h(e))throw new TypeError("Expected Point");if(!p(t))throw new TypeError("Expected Tweak");const r=y(n,e),i=w(e),o=g(t),a=i.mul(o);return a.isInfinity()?null:_(a,r)},privateAdd:function(e,t){if(!b(e))throw new TypeError("Expected Private");if(!p(t))throw new TypeError("Expected Tweak");const n=g(e),r=g(t),i=v(n.add(r).umod(l));return b(i)?i:null},privateSub:function(e,t){if(!b(e))throw new TypeError("Expected Private");if(!p(t))throw new TypeError("Expected Tweak");const n=g(e),r=g(t),i=v(n.sub(r).umod(l));return b(i)?i:null},sign:function(e,t){return k(e,t)},signWithEntropy:function(e,t,n){return k(e,t,n)},verify:function(e,n,r,i){if(!d(e))throw new TypeError("Expected Hash");if(!h(n))throw new TypeError("Expected Point");if(!function(e){const n=e.slice(0,32),r=e.slice(32,64);return t.isBuffer(e)&&64===e.length&&n.compare(s)<0&&r.compare(s)<0}(r))throw new TypeError("Expected Signature");const o=w(n),a=g(r.slice(0,32)),c=g(r.slice(32,64));if(i&&c.cmp(u)>0)return!1;if(a.gtn(0)<=0)return!1;if(c.gtn(0)<=0)return!1;const p=g(e),m=c.invm(l),b=p.mul(m).umod(l),y=a.mul(m).umod(l),v=f.mulAdd(b,o,y);return!v.isInfinity()&&v.x.umod(l).eq(a)}}}).call(this,n(2).Buffer)},function(e,t,n){(function(t){const r=n(120),i=t.alloc(1,1),o=t.alloc(1,0);e.exports=function(e,n,a,s,c){let l=t.alloc(32,0),u=t.alloc(32,1);l=r("sha256",l).update(u).update(o).update(n).update(e).update(c||"").digest(),u=r("sha256",l).update(u).digest(),l=r("sha256",l).update(u).update(i).update(n).update(e).update(c||"").digest(),u=r("sha256",l).update(u).digest(),u=r("sha256",l).update(u).digest();let f=u;for(;!s(f)||!a(f);)l=r("sha256",l).update(u).update(o).digest(),u=r("sha256",l).update(u).digest(),u=r("sha256",l).update(u).digest(),f=u;return f}}).call(this,n(2).Buffer)},function(e,t,n){var r=n(299),i=n(170),o=r.tfJSON,a=r.TfTypeError,s=r.TfPropertyTypeError,c=r.tfSubError,l=r.getValueTypeName,u={arrayOf:function(e,t){function n(n,r){return!!i.Array(n)&&(!i.Nil(n)&&(!(void 0!==t.minLength&&n.lengtht.maxLength)&&((void 0===t.length||n.length===t.length)&&n.every((function(t,n){try{return d(e,t,r)}catch(e){throw c(e,n)}}))))))}return e=f(e),t=t||{},n.toJSON=function(){var n="["+o(e)+"]";return void 0!==t.length?n+="{"+t.length+"}":void 0===t.minLength&&void 0===t.maxLength||(n+="{"+(void 0===t.minLength?0:t.minLength)+","+(void 0===t.maxLength?1/0:t.maxLength)+"}"),n},n},maybe:function e(t){function n(n,r){return i.Nil(n)||t(n,r,e)}return t=f(t),n.toJSON=function(){return"?"+o(t)},n},map:function(e,t){function n(n,r){if(!i.Object(n))return!1;if(i.Nil(n))return!1;for(var o in n){try{t&&d(t,o,r)}catch(e){throw c(e,o,"key")}try{var a=n[o];d(e,a,r)}catch(e){throw c(e,o)}}return!0}return e=f(e),t&&(t=f(t)),n.toJSON=t?function(){return"{"+o(t)+": "+o(e)+"}"}:function(){return"{"+o(e)+"}"},n},object:function(e){var t={};for(var n in e)t[n]=f(e[n]);function r(e,n){if(!i.Object(e))return!1;if(i.Nil(e))return!1;var r;try{for(r in t){d(t[r],e[r],n)}}catch(e){throw c(e,r)}if(n)for(r in e)if(!t[r])throw new s(void 0,r);return!0}return r.toJSON=function(){return o(t)},r},anyOf:function(){var e=[].slice.call(arguments).map(f);function t(t,n){return e.some((function(e){try{return d(e,t,n)}catch(e){return!1}}))}return t.toJSON=function(){return e.map(o).join("|")},t},allOf:function(){var e=[].slice.call(arguments).map(f);function t(t,n){return e.every((function(e){try{return d(e,t,n)}catch(e){return!1}}))}return t.toJSON=function(){return e.map(o).join(" & ")},t},quacksLike:function(e){function t(t){return e===l(t)}return t.toJSON=function(){return e},t},tuple:function(){var e=[].slice.call(arguments).map(f);function t(t,n){return!i.Nil(t)&&(!i.Nil(t.length)&&((!n||t.length===e.length)&&e.every((function(e,r){try{return d(e,t[r],n)}catch(e){throw c(e,r)}}))))}return t.toJSON=function(){return"("+e.map(o).join(", ")+")"},t},value:function(e){function t(t){return t===e}return t.toJSON=function(){return e},t}};function f(e){if(i.String(e))return"?"===e[0]?u.maybe(e.slice(1)):i[e]||u.quacksLike(e);if(e&&i.Object(e)){if(i.Array(e)){if(1!==e.length)throw new TypeError("Expected compile() parameter of type Array of length 1");return u.arrayOf(e[0])}return u.object(e)}return i.Function(e)?e:u.value(e)}function d(e,t,n,r){if(i.Function(e)){if(e(t,n))return!0;throw new a(r||e,t)}return d(f(e),t,n)}for(var p in u.oneOf=u.anyOf,i)d[p]=i[p];for(p in u)d[p]=u[p];var h=n(565);for(p in h)d[p]=h[p];d.compile=f,d.TfTypeError=a,d.TfPropertyTypeError=s,e.exports=d},function(e,t,n){(function(t){var r=n(170),i=n(299);function o(e){return t.isBuffer(e)}function a(e){return"string"==typeof e&&/^([0-9a-f]{2})+$/i.test(e)}function s(e,t){var n=e.toJSON();function r(r){if(!e(r))return!1;if(r.length===t)return!0;throw i.tfCustomError(n+"(Length: "+t+")",n+"(Length: "+r.length+")")}return r.toJSON=function(){return n},r}var c=s.bind(null,r.Array),l=s.bind(null,o),u=s.bind(null,a),f=s.bind(null,r.String);var d=Math.pow(2,53)-1;var p={ArrayN:c,Buffer:o,BufferN:l,Finite:function(e){return"number"==typeof e&&isFinite(e)},Hex:a,HexN:u,Int8:function(e){return e<<24>>24===e},Int16:function(e){return e<<16>>16===e},Int32:function(e){return(0|e)===e},Int53:function(e){return"number"==typeof e&&e>=-d&&e<=d&&Math.floor(e)===e},Range:function(e,t,n){function i(r,i){return n(r,i)&&r>e&&r>>0===e},UInt53:function(e){return"number"==typeof e&&e>=0&&e<=d&&Math.floor(e)===e}};for(var h in p)p[h].toJSON=function(e){return e}.bind(null,h);e.exports=p}).call(this,n(2).Buffer)},function(e,t,n){(function(t){var r=n(298);function i(e,t){if(void 0!==t&&e[0]!==t)throw new Error("Invalid network version");if(33===e.length)return{version:e[0],privateKey:e.slice(1,33),compressed:!1};if(34!==e.length)throw new Error("Invalid WIF length");if(1!==e[33])throw new Error("Invalid compression flag");return{version:e[0],privateKey:e.slice(1,33),compressed:!0}}function o(e,n,r){var i=new t(r?34:33);return i.writeUInt8(e,0),n.copy(i,1),r&&(i[33]=1),i}e.exports={decode:function(e,t){return i(r.decode(e),t)},decodeRaw:i,encode:function(e,t,n){return"number"==typeof e?r.encode(o(e,t,n)):r.encode(o(e.version,e.privateKey,e.compressed))},encodeRaw:o}}).call(this,n(2).Buffer)},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PubKeySecp256k1=t.PrivKeySecp256k1=void 0;const i=r(n(45)),o=r(n(568)),a=n(2);t.PrivKeySecp256k1=class{constructor(e){this.privKey=e}toBytes(){return new Uint8Array(this.privKey)}getPubKey(){const e=new i.default.ec("secp256k1").keyFromPrivate(this.privKey);return new s(new Uint8Array(e.getPublic().encodeCompressed("array")))}sign(e){const t=new i.default.ec("secp256k1").keyFromPrivate(this.privKey),n=o.default.SHA256(o.default.lib.WordArray.create(e)).toString(),r=t.sign(a.Buffer.from(n,"hex"),{canonical:!0});return new Uint8Array(r.r.toArray("be",32).concat(r.s.toArray("be",32)))}};class s{constructor(e){this.pubKey=e}toBytes(){return new Uint8Array(this.pubKey)}getAddress(){let e=o.default.SHA256(o.default.lib.WordArray.create(this.pubKey)).toString();return e=o.default.RIPEMD160(o.default.enc.Hex.parse(e)).toString(),new Uint8Array(a.Buffer.from(e,"hex"))}}t.PubKeySecp256k1=s},function(e,t,n){var r;e.exports=(r=n(9),n(125),n(569),n(570),n(80),n(81),n(171),n(300),n(571),n(301),n(572),n(573),n(574),n(172),n(575),n(67),n(22),n(576),n(577),n(578),n(579),n(580),n(581),n(582),n(583),n(584),n(585),n(586),n(587),n(588),n(589),n(590),n(591),r)},function(e,t,n){var r;e.exports=(r=n(9),function(){if("function"==typeof ArrayBuffer){var e=r.lib.WordArray,t=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var n=e.byteLength,r=[],i=0;i>>2]|=e[i]<<24-i%4*8;t.call(this,r,n)}else t.apply(this,arguments)}).prototype=e}}(),r.lib.WordArray)},function(e,t,n){var r;e.exports=(r=n(9),function(){var e=r,t=e.lib.WordArray,n=e.enc;function i(e){return e<<8&4278255360|e>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>16-i%4*8&65535;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var n=e.length,r=[],i=0;i>>1]|=e.charCodeAt(i)<<16-i%2*16;return t.create(r,2*n)}},n.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o>>2]>>>16-o%4*8&65535);r.push(String.fromCharCode(a))}return r.join("")},parse:function(e){for(var n=e.length,r=[],o=0;o>>1]|=i(e.charCodeAt(o)<<16-o%2*16);return t.create(r,2*n)}}}(),r.enc.Utf16)},function(e,t,n){var r,i,o,a,s,c;e.exports=(c=n(9),n(300),i=(r=c).lib.WordArray,o=r.algo,a=o.SHA256,s=o.SHA224=a.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=4,e}}),r.SHA224=a._createHelper(s),r.HmacSHA224=a._createHmacHelper(s),c.SHA224)},function(e,t,n){var r,i,o,a,s,c,l,u;e.exports=(u=n(9),n(125),n(301),i=(r=u).x64,o=i.Word,a=i.WordArray,s=r.algo,c=s.SHA512,l=s.SHA384=c.extend({_doReset:function(){this._hash=new a.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var e=c._doFinalize.call(this);return e.sigBytes-=16,e}}),r.SHA384=c._createHelper(l),r.HmacSHA384=c._createHmacHelper(l),u.SHA384)},function(e,t,n){var r;e.exports=(r=n(9),n(125),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.x64.Word,s=t.algo,c=[],l=[],u=[];!function(){for(var e=1,t=0,n=0;n<24;n++){c[e+5*t]=(n+1)*(n+2)/2%64;var r=(2*e+3*t)%5;e=t%5,t=r}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,o=0;o<24;o++){for(var s=0,f=0,d=0;d<7;d++){if(1&i){var p=(1<>>24)|4278255360&(o<<24|o>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),(A=n[i]).high^=a,A.low^=o}for(var s=0;s<24;s++){for(var d=0;d<5;d++){for(var p=0,h=0,m=0;m<5;m++)p^=(A=n[d+5*m]).high,h^=A.low;var b=f[d];b.high=p,b.low=h}for(d=0;d<5;d++){var y=f[(d+4)%5],g=f[(d+1)%5],v=g.high,w=g.low;for(p=y.high^(v<<1|w>>>31),h=y.low^(w<<1|v>>>31),m=0;m<5;m++)(A=n[d+5*m]).high^=p,A.low^=h}for(var _=1;_<25;_++){var k=(A=n[_]).high,x=A.low,S=c[_];S<32?(p=k<>>32-S,h=x<>>32-S):(p=x<>>64-S,h=k<>>64-S);var O=f[l[_]];O.high=p,O.low=h}var E=f[0],T=n[0];for(E.high=T.high,E.low=T.low,d=0;d<5;d++)for(m=0;m<5;m++){var A=n[_=d+5*m],M=f[_],I=f[(d+1)%5+5*m],P=f[(d+2)%5+5*m];A.high=M.high^~I.high&P.high,A.low=M.low^~I.low&P.low}A=n[0];var C=u[s];A.high^=C.high,A.low^=C.low}},_doFinalize:function(){var t=this._data,n=t.words,r=(this._nDataBytes,8*t.sigBytes),o=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(e.ceil((r+1)/o)*o>>>5)-1]|=128,t.sigBytes=4*n.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,c=s/8,l=[],u=0;u>>24)|4278255360&(d<<24|d>>>8),p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),l.push(p),l.push(d)}return new i.init(l,s)},clone:function(){for(var e=o.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});t.SHA3=o._createHelper(d),t.HmacSHA3=o._createHmacHelper(d)}(Math),r.SHA3)},function(e,t,n){var r;e.exports=(r=n(9), -/** @preserve - (c) 2012 by Cédric Mesnil. All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ -function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.algo,s=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),l=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),f=i.create([0,1518500249,1859775393,2400959708,2840853838]),d=i.create([1352829926,1548603684,1836072691,2053994217,0]),p=a.RIPEMD160=o.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o,a,p,w,_,k,x,S,O,E,T,A=this._hash.words,M=f.words,I=d.words,P=s.words,C=c.words,j=l.words,D=u.words;for(k=o=A[0],x=a=A[1],S=p=A[2],O=w=A[3],E=_=A[4],n=0;n<80;n+=1)T=o+e[t+P[n]]|0,T+=n<16?h(a,p,w)+M[0]:n<32?m(a,p,w)+M[1]:n<48?b(a,p,w)+M[2]:n<64?y(a,p,w)+M[3]:g(a,p,w)+M[4],T=(T=v(T|=0,j[n]))+_|0,o=_,_=w,w=v(p,10),p=a,a=T,T=k+e[t+C[n]]|0,T+=n<16?g(x,S,O)+I[0]:n<32?y(x,S,O)+I[1]:n<48?b(x,S,O)+I[2]:n<64?m(x,S,O)+I[3]:h(x,S,O)+I[4],T=(T=v(T|=0,D[n]))+E|0,k=E,E=O,O=v(S,10),S=x,x=T;T=A[1]+p+O|0,A[1]=A[2]+w+E|0,A[2]=A[3]+_+k|0,A[3]=A[4]+o+x|0,A[4]=A[0]+a+S|0,A[0]=T},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,o=i.words,a=0;a<5;a++){var s=o[a];o[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return i},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function h(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function b(e,t,n){return(e|~t)^n}function y(e,t,n){return e&n|t&~n}function g(e,t,n){return e^(t|~n)}function v(e,t){return e<>>32-t}t.RIPEMD160=o._createHelper(p),t.HmacRIPEMD160=o._createHmacHelper(p)}(Math),r.RIPEMD160)},function(e,t,n){var r,i,o,a,s,c,l,u,f;e.exports=(f=n(9),n(171),n(172),i=(r=f).lib,o=i.Base,a=i.WordArray,s=r.algo,c=s.SHA1,l=s.HMAC,u=s.PBKDF2=o.extend({cfg:o.extend({keySize:4,hasher:c,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,r=l.create(n.hasher,e),i=a.create(),o=a.create([1]),s=i.words,c=o.words,u=n.keySize,f=n.iterations;s.length>24&255)){var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}var n=e.Encryptor=e.extend({processBlock:function(e,n){var r=this._cipher,i=r.blockSize,o=this._iv,a=this._counter;o&&(a=this._counter=o.slice(0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(a);var s=a.slice(0);r.encryptBlock(s,0);for(var c=0;c>>2]|=i<<24-o%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},r.pad.Ansix923)},function(e,t,n){var r;e.exports=(r=n(9),n(22),r.pad.Iso10126={pad:function(e,t){var n=4*t,i=n-e.sigBytes%n;e.concat(r.lib.WordArray.random(i-1)).concat(r.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},r.pad.Iso10126)},function(e,t,n){var r;e.exports=(r=n(9),n(22),r.pad.Iso97971={pad:function(e,t){e.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(e,t)},unpad:function(e){r.pad.ZeroPadding.unpad(e),e.sigBytes--}},r.pad.Iso97971)},function(e,t,n){var r;e.exports=(r=n(9),n(22),r.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},r.pad.ZeroPadding)},function(e,t,n){var r;e.exports=(r=n(9),n(22),r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding)},function(e,t,n){var r,i,o,a;e.exports=(a=n(9),n(22),i=(r=a).lib.CipherParams,o=r.enc.Hex,r.format.Hex={stringify:function(e){return e.ciphertext.toString(o)},parse:function(e){var t=o.parse(e);return i.create({ciphertext:t})}},a.format.Hex)},function(e,t,n){var r;e.exports=(r=n(9),n(80),n(81),n(67),n(22),function(){var e=r,t=e.lib.BlockCipher,n=e.algo,i=[],o=[],a=[],s=[],c=[],l=[],u=[],f=[],d=[],p=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var h=r^r<<1^r<<2^r<<3^r<<4;h=h>>>8^255&h^99,i[n]=h,o[h]=n;var m=e[n],b=e[m],y=e[b],g=257*e[h]^16843008*h;a[n]=g<<24|g>>>8,s[n]=g<<16|g>>>16,c[n]=g<<8|g>>>24,l[n]=g,g=16843009*y^65537*b^257*m^16843008*n,u[h]=g<<24|g>>>8,f[h]=g<<16|g>>>16,d[h]=g<<8|g>>>24,p[h]=g,n?(n=m^e[e[e[y^m]]],r^=e[e[r]]):n=r=1}}();var h=[0,1,2,4,8,16,32,64,128,27,54],m=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=4*((this._nRounds=n+6)+1),o=this._keySchedule=[],a=0;a6&&a%n==4&&(l=i[l>>>24]<<24|i[l>>>16&255]<<16|i[l>>>8&255]<<8|i[255&l]):(l=i[(l=l<<8|l>>>24)>>>24]<<24|i[l>>>16&255]<<16|i[l>>>8&255]<<8|i[255&l],l^=h[a/n|0]<<24),o[a]=o[a-n]^l);for(var s=this._invKeySchedule=[],c=0;c>>24]]^f[i[l>>>16&255]]^d[i[l>>>8&255]]^p[i[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,s,c,l,i)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,u,f,d,p,o),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,i,o,a,s){for(var c=this._nRounds,l=e[t]^n[0],u=e[t+1]^n[1],f=e[t+2]^n[2],d=e[t+3]^n[3],p=4,h=1;h>>24]^i[u>>>16&255]^o[f>>>8&255]^a[255&d]^n[p++],b=r[u>>>24]^i[f>>>16&255]^o[d>>>8&255]^a[255&l]^n[p++],y=r[f>>>24]^i[d>>>16&255]^o[l>>>8&255]^a[255&u]^n[p++],g=r[d>>>24]^i[l>>>16&255]^o[u>>>8&255]^a[255&f]^n[p++];l=m,u=b,f=y,d=g}m=(s[l>>>24]<<24|s[u>>>16&255]<<16|s[f>>>8&255]<<8|s[255&d])^n[p++],b=(s[u>>>24]<<24|s[f>>>16&255]<<16|s[d>>>8&255]<<8|s[255&l])^n[p++],y=(s[f>>>24]<<24|s[d>>>16&255]<<16|s[l>>>8&255]<<8|s[255&u])^n[p++],g=(s[d>>>24]<<24|s[l>>>16&255]<<16|s[u>>>8&255]<<8|s[255&f])^n[p++],e[t]=m,e[t+1]=b,e[t+2]=y,e[t+3]=g},keySize:8});e.AES=t._createHelper(m)}(),r.AES)},function(e,t,n){var r;e.exports=(r=n(9),n(80),n(81),n(67),n(22),function(){var e=r,t=e.lib,n=t.WordArray,i=t.BlockCipher,o=e.algo,a=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],f=o.DES=i.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var r=a[n]-1;t[n]=e[r>>>5]>>>31-r%32&1}for(var i=this._subKeys=[],o=0;o<16;o++){var l=i[o]=[],u=c[o];for(n=0;n<24;n++)l[n/6|0]|=t[(s[n]-1+u)%28]<<31-n%6,l[4+(n/6|0)]|=t[28+(s[n+24]-1+u)%28]<<31-n%6;for(l[0]=l[0]<<1|l[0]>>>31,n=1;n<7;n++)l[n]=l[n]>>>4*(n-1)+3;l[7]=l[7]<<5|l[7]>>>27}var f=this._invSubKeys=[];for(n=0;n<16;n++)f[n]=i[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],d.call(this,4,252645135),d.call(this,16,65535),p.call(this,2,858993459),p.call(this,8,16711935),d.call(this,1,1431655765);for(var r=0;r<16;r++){for(var i=n[r],o=this._lBlock,a=this._rBlock,s=0,c=0;c<8;c++)s|=l[c][((a^i[c])&u[c])>>>0];this._lBlock=a,this._rBlock=o^s}var f=this._lBlock;this._lBlock=this._rBlock,this._rBlock=f,d.call(this,1,1431655765),p.call(this,8,16711935),p.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function d(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<192.");var t=e.slice(0,2),r=e.length<4?e.slice(0,2):e.slice(2,4),i=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=f.createEncryptor(n.create(t)),this._des2=f.createEncryptor(n.create(r)),this._des3=f.createEncryptor(n.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=i._createHelper(h)}(),r.TripleDES)},function(e,t,n){var r;e.exports=(r=n(9),n(80),n(81),n(67),n(22),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,i=n.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],i=0;i<256;i++)r[i]=i;i=0;for(var o=0;i<256;i++){var a=i%n,s=t[a>>>2]>>>24-a%4*8&255;o=(o+r[i]+s)%256;var c=r[i];r[i]=r[o],r[o]=c}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=o.call(this)},keySize:8,ivSize:0});function o(){for(var e=this._S,t=this._i,n=this._j,r=0,i=0;i<4;i++){n=(n+e[t=(t+1)%256])%256;var o=e[t];e[t]=e[n],e[n]=o,r|=e[(e[t]+e[n])%256]<<24-8*i}return this._i=t,this._j=n,r}e.RC4=t._createHelper(i);var a=n.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)o.call(this)}});e.RC4Drop=t._createHelper(a)}(),r.RC4)},function(e,t,n){var r;e.exports=(r=n(9),n(80),n(81),n(67),n(22),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,i=[],o=[],a=[],s=n.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)c.call(this);for(n=0;n<8;n++)i[n]^=r[n+4&7];if(t){var o=t.words,a=o[0],s=o[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),f=l>>>16|4294901760&u,d=u<<16|65535&l;for(i[0]^=l,i[1]^=f,i[2]^=u,i[3]^=d,i[4]^=l,i[5]^=f,i[6]^=u,i[7]^=d,n=0;n<4;n++)c.call(this)}},_doProcessBlock:function(e,t){var n=this._X;c.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),e[t+r]^=i[r]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,n=0;n<8;n++)o[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,s=r>>>16,c=((i*i>>>17)+i*s>>>15)+s*s,l=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=c^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=t._createHelper(s)}(),r.Rabbit)},function(e,t,n){var r;e.exports=(r=n(9),n(80),n(81),n(67),n(22),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,i=[],o=[],a=[],s=n.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)c.call(this);for(i=0;i<8;i++)r[i]^=n[i+4&7];if(t){var o=t.words,a=o[0],s=o[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),f=l>>>16|4294901760&u,d=u<<16|65535&l;for(r[0]^=l,r[1]^=f,r[2]^=u,r[3]^=d,r[4]^=l,r[5]^=f,r[6]^=u,r[7]^=d,i=0;i<4;i++)c.call(this)}},_doProcessBlock:function(e,t){var n=this._X;c.call(this),i[0]=n[0]^n[5]>>>16^n[3]<<16,i[1]=n[2]^n[7]>>>16^n[5]<<16,i[2]=n[4]^n[1]>>>16^n[7]<<16,i[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)i[r]=16711935&(i[r]<<8|i[r]>>>24)|4278255360&(i[r]<<24|i[r]>>>8),e[t+r]^=i[r]},blockSize:4,ivSize:2});function c(){for(var e=this._X,t=this._C,n=0;n<8;n++)o[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,s=r>>>16,c=((i*i>>>17)+i*s>>>15)+s*s,l=((4294901760&r)*r|0)+((65535&r)*r|0);a[n]=c^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=t._createHelper(s)}(),r.RabbitLegacy)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hash=void 0;const r=n(76);t.Hash=class{static sha256(e){return new Uint8Array((new r.sha256).update(e).digest())}static truncHashPortion(e,t=e.length,n=0){return e.substring(0,t)+"…"+e.substring(e.length-n,e.length)}}},function(e,t,n){"use strict";var r=n(28),i=n(302),o=n(594),a=n(308);function s(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var c=s(n(305));c.Axios=o,c.create=function(e){return s(a(c.defaults,e))},c.Cancel=n(309),c.CancelToken=n(607),c.isCancel=n(304),c.all=function(e){return Promise.all(e)},c.spread=n(608),c.isAxiosError=n(609),e.exports=c,e.exports.default=c},function(e,t,n){"use strict";var r=n(28),i=n(303),o=n(595),a=n(596),s=n(308);function c(e){this.defaults=e,this.interceptors={request:new o,response:new o}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},c.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=c},function(e,t,n){"use strict";var r=n(28);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},function(e,t,n){"use strict";var r=n(28),i=n(597),o=n(304),a=n(305);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(s(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var r=n(28);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t,n){"use strict";var r=n(28);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},function(e,t,n){"use strict";var r=n(307);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(28);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(603),i=n(604);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(28),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},function(e,t,n){"use strict";var r=n(28);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(309);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrayContentEquals=void 0,t.arrayContentEquals=function(e,t){if(e.length!==t.length)return!1;for(let n=0;nsetTimeout(t,e))}},function(e,t,n){"use strict";(function(e){function n(e){return"object"==typeof e&&null!==e}Object.defineProperty(t,"__esModule",{value:!0}),t.isUint8Array=t.isNonNullObject=void 0,t.isNonNullObject=n,t.isUint8Array=function(t){return!!n(t)&&("[object Uint8Array]"===Object.prototype.toString.call(t)&&(void 0===e||void 0===e.isBuffer||!e.isBuffer(t)))}}).call(this,n(2).Buffer)},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Bip39=void 0;const a=n(39),s=o(n(69)),c=n(97),l=o(n(311)),u=n(312);t.Bip39=class{static encode(e){if(-1===[16,20,24,28,32].indexOf(e.length))throw new Error("invalid input length");return new u.EnglishMnemonic(s.entropyToMnemonic(a.toHex(e)))}static decode(e){return a.fromHex(s.mnemonicToEntropy(e.toString()))}static async mnemonicToSeed(e,t){const n=a.toUtf8(l.nfkd(e.toString())),r="mnemonic"+(t?l.nfkd(t):""),i=a.toUtf8(r);return this.pbkdf2(n,i,2048,64,"sha512")}static async pbkdf2(e,t,n,r,i){return new Promise((o,a)=>{c.pbkdf2(e,t,n,r,i,(e,t)=>{e?a(e):o(new Uint8Array(t))})})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromAscii=t.toAscii=void 0,t.toAscii=function(e){return Uint8Array.from(e.split("").map(e=>{const t=e.charCodeAt(0);if(t<32||t>126)throw new Error("Cannot encode character that is out of printable ASCII range: "+t);return t}))},t.fromAscii=function(e){return(t=Array.from(e),t.map(e=>{if(e<32||e>126)throw new Error("Cannot decode character that is out of printable ASCII range: "+e);return String.fromCharCode(e)})).join("");var t}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.fromBase64=t.toBase64=void 0;const a=o(n(117));t.toBase64=function(e){return a.fromByteArray(e)},t.fromBase64=function(e){if(!e.match(/^[a-zA-Z0-9+/]*={0,2}$/))throw new Error("Invalid base64 string format");return a.toByteArray(e)}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Bech32=void 0;const a=o(n(94));t.Bech32=class{static encode(e,t,n){return a.encode(e,a.toWords(t),n)}static decode(e,t=1/0){const n=a.decode(e,t);return{prefix:n.prefix,data:new Uint8Array(a.fromWords(n.words))}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromHex=t.toHex=void 0,t.toHex=function(e){let t="";for(const n of e)t+=("0"+n.toString(16)).slice(-2);return t},t.fromHex=function(e){if(e.length%2!=0)throw new Error("hex string length must be a multiple of 2");const t=[];for(let n=0;n32)throw new Error("Message hash length must not exceed 32 bytes");const n=c.keyFromPrivate(t),{r:r,s:i,recoveryParam:o}=n.sign(e,{canonical:!0});if("number"!=typeof o)throw new Error("Recovery param missing");return new s.ExtendedSecp256k1Signature(Uint8Array.from(r.toArray()),Uint8Array.from(i.toArray()),o)}static async verifySignature(e,t,n){if(0===t.length)throw new Error("Message hash must not be empty");if(t.length>32)throw new Error("Message hash length must not exceed 32 bytes");const r=c.keyFromPublic(n);try{return r.verify(t,e.toDer())}catch(e){return!1}}static recoverPubkey(e,t){const n={r:i.toHex(e.r()),s:i.toHex(e.s())},r=c.recoverPubKey(t,n,e.recovery),o=c.keyFromPublic(r);return i.fromHex(o.getPublic(!1,"hex"))}static compressPubkey(e){switch(e.length){case 33:return e;case 65:return Uint8Array.from(c.keyFromPublic(e).getPublic(!0,"array"));default:throw new Error("Invalid pubkey length")}}static trimRecoveryByte(e){switch(e.length){case 64:return e;case 65:return e.slice(0,64);default:throw new Error("Invalid signature length")}}}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.stringToPath=t.pathToString=t.Slip10=t.Slip10RawIndex=t.slip10CurveFromString=t.Slip10Curve=void 0;const i=n(39),o=n(82),a=r(n(6)),s=r(n(45)),c=n(313),l=n(316);var u;!function(e){e.Secp256k1="Bitcoin seed",e.Ed25519="ed25519 seed"}(u=t.Slip10Curve||(t.Slip10Curve={})),t.slip10CurveFromString=function(e){switch(e){case u.Ed25519:return u.Ed25519;case u.Secp256k1:return u.Secp256k1;default:throw new Error(`Unknown curve string: '${e}'`)}};class f extends o.Uint32{static hardened(e){return new f(e+2**31)}static normal(e){return new f(e)}isHardened(){return this.data>=2**31}}t.Slip10RawIndex=f;const d=new s.default.ec("secp256k1");class p{static derivePath(e,t,n){let r=this.master(e,t);for(const t of n)r=this.child(e,r.privkey,r.chainCode,t);return r}static master(e,t){const n=new c.Hmac(l.Sha512,i.toAscii(e)).update(t).digest(),r=n.slice(0,32),o=n.slice(32,64);return e!==u.Ed25519&&(this.isZero(r)||this.isGteN(e,r))?this.master(e,n):{chainCode:o,privkey:r}}static child(e,t,n,r){let i;if(r.isHardened()){const e=new Uint8Array([0,...t,...r.toBytesBigEndian()]);i=new c.Hmac(l.Sha512,n).update(e).digest()}else{if(e===u.Ed25519)throw new Error("Normal keys are not allowed with ed25519");{const o=new Uint8Array([...p.serializedPoint(e,new a.default(t)),...r.toBytesBigEndian()]);i=new c.Hmac(l.Sha512,n).update(o).digest()}}return this.childImpl(e,t,n,r,i)}static serializedPoint(e,t){switch(e){case u.Secp256k1:return i.fromHex(d.g.mul(t).encodeCompressed("hex"));default:throw new Error("curve not supported")}}static childImpl(e,t,n,r,i){const o=i.slice(0,32),s=i.slice(32,64),f=s;if(e===u.Ed25519)return{chainCode:f,privkey:o};const d=this.n(e),p=new a.default(o).add(new a.default(t)).mod(d),h=Uint8Array.from(p.toArray("be",32));if(this.isGteN(e,o)||this.isZero(h)){const i=new c.Hmac(l.Sha512,n).update(new Uint8Array([1,...s,...r.toBytesBigEndian()])).digest();return this.childImpl(e,t,n,r,i)}return{chainCode:f,privkey:h}}static isZero(e){return e.every(e=>0===e)}static isGteN(e,t){return new a.default(t).gte(this.n(e))}static n(e){switch(e){case u.Secp256k1:return new a.default("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141",16);default:throw new Error("curve not supported")}}}t.Slip10=p,t.pathToString=function(e){return e.reduce((e,t)=>e+"/"+(t.isHardened()?t.toNumber()-2**31+"'":t.toString()),"m")},t.stringToPath=function(e){if(!e.startsWith("m"))throw new Error("Path string must start with 'm'");let t=e.slice(1);const n=new Array;for(;t;){const e=t.match(/^\/([0-9]+)('?)/);if(!e)throw new Error("Syntax error while reading path component");const[r,i,a]=e,s=o.Uint53.fromString(i).toNumber();if(s>=2**31)throw new Error("Component value too high. Must not exceed 2**31-1.");a?n.push(f.hardened(s)):n.push(f.normal(s)),t=t.slice(r.length)}return n}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Decimal=void 0;const i=r(n(6));class o{constructor(e,t){this.data={atomics:new i.default(e),fractionalDigits:t}}static fromUserInput(e,t){o.verifyFractionalDigits(t);const n=e.match(/[^0-9.]/);if(n)throw new Error("Invalid character at position "+(n.index+1));let r,i;if(-1===e.search(/\./))r=e,i="";else{const t=e.split(".");switch(t.length){case 0:case 1:throw new Error("Fewer than two elements in split result. This must not happen here.");case 2:if(!t[1])throw new Error("Fractional part missing");r=t[0],i=t[1].replace(/0+$/,"");break;default:throw new Error("More than one separator found")}}if(i.length>t)throw new Error("Got more fractional digits than supported");const a=`${r}${i.padEnd(t,"0")}`;return new o(a,t)}static fromAtomics(e,t){return o.verifyFractionalDigits(t),new o(e,t)}static verifyFractionalDigits(e){if(!Number.isInteger(e))throw new Error("Fractional digits is not an integer");if(e<0)throw new Error("Fractional digits must not be negative");if(e>100)throw new Error("Fractional digits must not exceed 100")}static compare(e,t){if(e.fractionalDigits!==t.fractionalDigits)throw new Error("Fractional digits do not match");return e.data.atomics.cmp(new i.default(t.atomics))}get atomics(){return this.data.atomics.toString()}get fractionalDigits(){return this.data.fractionalDigits}toString(){const e=new i.default(10).pow(new i.default(this.data.fractionalDigits)),t=this.data.atomics.div(e),n=this.data.atomics.mod(e);if(n.isZero())return t.toString();{const e=n.toString().padStart(this.data.fractionalDigits,"0").replace(/0+$/,"");return`${t.toString()}.${e}`}}toFloatApproximation(){const e=Number(this.toString());if(Number.isNaN(e))throw new Error("Conversion to number failed");return e}plus(e){if(this.fractionalDigits!==e.fractionalDigits)throw new Error("Fractional digits do not match");const t=this.data.atomics.add(new i.default(e.atomics));return new o(t.toString(),this.fractionalDigits)}minus(e){if(this.fractionalDigits!==e.fractionalDigits)throw new Error("Fractional digits do not match");const t=this.data.atomics.sub(new i.default(e.atomics));if(t.ltn(0))throw new Error("Difference must not be negative");return new o(t.toString(),this.fractionalDigits)}multiply(e){const t=this.data.atomics.mul(new i.default(e.toString()));return new o(t.toString(),this.fractionalDigits)}equals(e){return 0===o.compare(this,e)}isLessThan(e){return o.compare(this,e)<0}isLessThanOrEqual(e){return o.compare(this,e)<=0}isGreaterThan(e){return o.compare(this,e)>0}isGreaterThanOrEqual(e){return o.compare(this,e)>=0}}t.Decimal=o},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Uint64=t.Uint53=t.Int53=t.Uint32=void 0;const i=r(n(6)),o=new i.default("18446744073709551615",10,"be");class a{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(e<0||e>4294967295)throw new Error("Input not in uint32 range: "+e.toString());this.data=e}static fromBigEndianBytes(e){return a.fromBytes(e)}static fromBytes(e,t="be"){if(4!==e.length)throw new Error("Invalid input length. Expected 4 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);const n="be"===t?e:Array.from(e).reverse();return new a(n[0]*2**24+65536*n[1]+256*n[2]+n[3])}static fromString(e){if(!e.match(/^[0-9]+$/))throw new Error("Invalid string format");return new a(Number.parseInt(e,10))}toBytesBigEndian(){return new Uint8Array([255&Math.floor(this.data/2**24),255&Math.floor(this.data/65536),255&Math.floor(this.data/256),255&Math.floor(this.data/1)])}toBytesLittleEndian(){return new Uint8Array([255&Math.floor(this.data/1),255&Math.floor(this.data/256),255&Math.floor(this.data/65536),255&Math.floor(this.data/2**24)])}toNumber(){return this.data}toString(){return this.data.toString()}}t.Uint32=a;class s{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(eNumber.MAX_SAFE_INTEGER)throw new Error("Input not in int53 range: "+e.toString());this.data=e}static fromString(e){if(!e.match(/^-?[0-9]+$/))throw new Error("Invalid string format");return new s(Number.parseInt(e,10))}toNumber(){return this.data}toString(){return this.data.toString()}}t.Int53=s;class c{constructor(e){const t=new s(e);if(t.toNumber()<0)throw new Error("Input is negative");this.data=t}static fromString(e){const t=s.fromString(e);return new c(t.toNumber())}toNumber(){return this.data.toNumber()}toString(){return this.data.toString()}}t.Uint53=c;class l{constructor(e){if(e.isNeg())throw new Error("Input is negative");if(e.gt(o))throw new Error("Input exceeds uint64 range");this.data=e}static fromBytesBigEndian(e){return l.fromBytes(e)}static fromBytes(e,t="be"){if(8!==e.length)throw new Error("Invalid input length. Expected 8 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);const n="be"===t?Array.from(e):Array.from(e).reverse();return new l(new i.default(n))}static fromString(e){if(!e.match(/^[0-9]+$/))throw new Error("Invalid string format");return new l(new i.default(e,10,"be"))}static fromNumber(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");let t;try{t=new i.default(e)}catch(e){throw new Error("Input is not a safe integer")}return new l(t)}toBytesBigEndian(){return Uint8Array.from(this.data.toArray("be",8))}toBytesLittleEndian(){return Uint8Array.from(this.data.toArray("le",8))}toString(){return this.data.toString(10)}toNumber(){return this.data.toNumber()}}t.Uint64=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupAuthExtension=void 0,t.setupAuthExtension=function(e){return{auth:{account:async t=>{const n="/auth/accounts/"+t,r=await e.get(n);if("cosmos-sdk/Account"!==r.result.type)throw new Error("Unexpected response data format");return r}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupBankExtension=void 0,t.setupBankExtension=function(e){return{bank:{balances:async t=>{const n="/bank/balances/"+t;return e.get(n)}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupDistributionExtension=void 0,t.setupDistributionExtension=function(e){return{distribution:{delegatorRewards:async t=>e.get(`/distribution/delegators/${t}/rewards`),delegatorReward:async(t,n)=>e.get(`/distribution/delegators/${t}/rewards/${n}`),withdrawAddress:async t=>e.get(`/distribution/delegators/${t}/withdraw_address`),validator:async t=>e.get("/distribution/validators/"+t),validatorRewards:async t=>e.get(`/distribution/validators/${t}/rewards`),validatorOutstandingRewards:async t=>e.get(`/distribution/validators/${t}/outstanding_rewards`),parameters:async()=>e.get("/distribution/parameters"),communityPool:async()=>e.get("/distribution/community_pool")}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupGovExtension=t.GovParametersType=void 0,function(e){e.Deposit="deposit",e.Tallying="tallying",e.Voting="voting"}(t.GovParametersType||(t.GovParametersType={})),t.setupGovExtension=function(e){return{gov:{parameters:async t=>e.get("/gov/parameters/"+t),proposals:async()=>e.get("/gov/proposals"),proposal:async t=>e.get("/gov/proposals/"+t),proposer:async t=>e.get(`/gov/proposals/${t}/proposer`),deposits:async t=>e.get(`/gov/proposals/${t}/deposits`),deposit:async(t,n)=>e.get(`/gov/proposals/${t}/deposits/${n}`),tally:async t=>e.get(`/gov/proposals/${t}/tally`),votes:async t=>e.get(`/gov/proposals/${t}/votes`),vote:async(t,n)=>e.get(`/gov/proposals/${t}/votes/${n}`)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupMintExtension=void 0,t.setupMintExtension=function(e){return{mint:{parameters:async()=>e.get("/minting/parameters"),inflation:async()=>e.get("/minting/inflation"),annualProvisions:async()=>e.get("/minting/annual-provisions")}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupSlashingExtension=void 0,t.setupSlashingExtension=function(e){return{slashing:{signingInfos:async()=>e.get("/slashing/signing_infos"),parameters:async()=>e.get("/slashing/parameters")}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupStakingExtension=t.BondStatus=void 0,function(e){e[e.Unbonded=0]="Unbonded",e[e.Unbonding=1]="Unbonding",e[e.Bonded=2]="Bonded"}(t.BondStatus||(t.BondStatus={})),t.setupStakingExtension=function(e){return{staking:{delegatorDelegations:async t=>e.get(`/staking/delegators/${t}/delegations`),delegatorUnbondingDelegations:async t=>e.get(`/staking/delegators/${t}/unbonding_delegations`),delegatorTransactions:async t=>e.get(`/staking/delegators/${t}/txs`),delegatorValidators:async t=>e.get(`/staking/delegators/${t}/validators`),delegatorValidator:async(t,n)=>e.get(`/staking/delegators/${t}/validators/${n}`),delegation:async(t,n)=>e.get(`/staking/delegators/${t}/delegations/${n}`),unbondingDelegation:async(t,n)=>e.get(`/staking/delegators/${t}/unbonding_delegations/${n}`),redelegations:async()=>e.get("/staking/redelegations"),validators:async t=>e.get("/staking/validators",t),validator:async t=>e.get("/staking/validators/"+t),validatorDelegations:async t=>e.get(`/staking/validators/${t}/delegations`),validatorUnbondingDelegations:async t=>e.get(`/staking/validators/${t}/unbonding_delegations`),historicalInfo:async t=>e.get("/staking/historical_info/"+t),pool:async()=>e.get("/staking/pool"),parameters:async()=>e.get("/staking/parameters")}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setupSupplyExtension=void 0,t.setupSupplyExtension=function(e){return{supply:{totalAll:async()=>e.get("/supply/total"),total:async t=>e.get("/supply/total/"+t)}}}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.LcdClient=t.normalizeLcdApiArray=void 0;const i=n(100),o=r(n(68)),a=n(319);function s(e){var t;if(null===(t=e.response)||void 0===t?void 0:t.data){let t;const n=e.response.data;throw t=n.error&&"string"==typeof n.error?n.error:"string"==typeof n?n:JSON.stringify(n),new Error(`${t} (HTTP ${e.response.status})`)}throw e}t.normalizeLcdApiArray=function(e){return e||[]};class c{constructor(e,t=a.BroadcastMode.Block){this.client=o.default.create({baseURL:e,headers:{post:{"Content-Type":"application/json"}}}),this.broadcastMode=t}static withExtensions(e,...t){const n=new c(e.apiUrl,e.broadcastMode),r=t.map(e=>e(n));for(const e of r){i.assert(i.isNonNullObject(e),"Extension must be a non-null object");for(const[t,r]of Object.entries(e)){i.assert(i.isNonNullObject(r),`Module must be a non-null object. Found type ${typeof r} for module "${t}".`);const e=n[t]||{};n[t]=Object.assign(Object.assign({},e),r)}}return n}async get(e,t){const{data:n}=await this.client.get(e,{params:t}).catch(s);if(null===n)throw new Error("Received null response from server");return n}async post(e,t){if(!i.isNonNullObject(t))throw new Error("Got unexpected type of params. Expected object.");const{data:n}=await this.client.post(e,t).catch(s);if(null===n)throw new Error("Received null response from server");return n}async blocksLatest(){const e=await this.get("/blocks/latest");if(!e.block)throw new Error("Unexpected response data format");return e}async blocks(e){const t=await this.get("/blocks/"+e);if(!t.block)throw new Error("Unexpected response data format");return t}async nodeInfo(){const e=await this.get("/node_info");if(!e.node_info)throw new Error("Unexpected response data format");return e}async txById(e){const t=await this.get("/txs/"+e);if(!t.tx)throw new Error("Unexpected response data format");return t}async txsQuery(e){const t=await this.get("/txs?"+e);if(!t.txs)throw new Error("Unexpected response data format");return t}async encodeTx(e){const t=await this.post("/txs/encode",e);if(!t.tx)throw new Error("Unexpected response data format");return t}async broadcastTx(e){const t={tx:e,mode:this.broadcastMode},n=await this.post("/txs",t);if(!n.txhash)throw new Error("Unexpected response data format");return n}}t.LcdClient=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePubkey=t.uint64ToString=t.uint64ToNumber=void 0;const r=n(82),i=n(175);t.uint64ToNumber=function(e){return("number"==typeof e?r.Uint64.fromNumber(e):r.Uint64.fromString(e)).toNumber()},t.uint64ToString=function(e){return("number"==typeof e?r.Uint64.fromNumber(e):r.Uint64.fromString(e)).toString()},t.normalizePubkey=function(e){return e?"string"==typeof e?i.decodeBech32Pubkey(e):e:null}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.isMsgUndelegate=t.isMsgBeginRedelegate=t.isMsgDelegate=t.isMsgEditValidator=t.isMsgCreateValidator=t.isMsgUnjail=t.isMsgDeposit=t.isMsgVote=t.isMsgSubmitProposal=t.isMsgSubmitEvidence=t.isMsgFundCommunityPool=t.isMsgWithdrawValidatorCommission=t.isMsgWithdrawDelegatorReward=t.isMsgSetWithdrawAddress=t.isMsgVerifyInvariant=t.isMsgMultiSend=t.isMsgSend=void 0,t.isMsgSend=function(e){return"cosmos-sdk/MsgSend"===e.type},t.isMsgMultiSend=function(e){return"cosmos-sdk/MsgMultiSend"===e.type},t.isMsgVerifyInvariant=function(e){return"cosmos-sdk/MsgVerifyInvariant"===e.type},t.isMsgSetWithdrawAddress=function(e){return"cosmos-sdk/MsgModifyWithdrawAddress"===e.type},t.isMsgWithdrawDelegatorReward=function(e){return"cosmos-sdk/MsgWithdrawDelegationReward"===e.type},t.isMsgWithdrawValidatorCommission=function(e){return"cosmos-sdk/MsgWithdrawValidatorCommission"===e.type},t.isMsgFundCommunityPool=function(e){return"cosmos-sdk/MsgFundCommunityPool"===e.type},t.isMsgSubmitEvidence=function(e){return"cosmos-sdk/MsgSubmitEvidence"===e.type},t.isMsgSubmitProposal=function(e){return"cosmos-sdk/MsgSubmitProposal"===e.type},function(e){e[e.VoteOptionUnspecified=0]="VoteOptionUnspecified",e[e.VoteOptionYes=1]="VoteOptionYes",e[e.VoteOptionAbstain=2]="VoteOptionAbstain",e[e.VoteOptionNo=3]="VoteOptionNo",e[e.VoteOptionNoWithVeto=4]="VoteOptionNoWithVeto"}(r||(r={})),t.isMsgVote=function(e){return"cosmos-sdk/MsgVote"===e.type},t.isMsgDeposit=function(e){return"cosmos-sdk/MsgDeposit"===e.type},t.isMsgUnjail=function(e){return"cosmos-sdk/MsgUnjail"===e.type},t.isMsgCreateValidator=function(e){return"cosmos-sdk/MsgCreateValidator"===e.type},t.isMsgEditValidator=function(e){return"cosmos-sdk/MsgEditValidator"===e.type},t.isMsgDelegate=function(e){return"cosmos-sdk/MsgDelegate"===e.type},t.isMsgBeginRedelegate=function(e){return"cosmos-sdk/MsgBeginRedelegate"===e.type},t.isMsgUndelegate=function(e){return"cosmos-sdk/MsgUndelegate"===e.type}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findSequenceForSignedTx=void 0;const r=n(50),i=n(101),o=n(127);t.findSequenceForSignedTx=async function(e,t,n,a,s=0){const c=e.value.signatures.find(()=>!0);if(!c)throw new Error("Signature missing in tx");const{pubkey:l,signature:u}=o.decodeSignature(c),f=r.Secp256k1Signature.fromFixedLength(u);for(let o=s;o({hdPath:r.pathToString(e.hdPath),prefix:e.prefix}))},o=i.toUtf8(JSON.stringify(n)),a={algorithm:u.supportedAlgorithms.xchacha20poly1305Ietf},s=await u.encrypt(o,e,a),c={type:"secp256k1wallet-v1",kdf:t,encryption:a,data:i.toBase64(s)};return JSON.stringify(c)}}t.Secp256k1HdWallet=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Secp256k1Wallet=void 0;const r=n(50),i=n(173),o=n(101),a=n(127);class s{constructor(e,t,n){this.privkey=e,this.pubkey=t,this.prefix=n}static async fromKey(e,t="cosmos"){const n=(await r.Secp256k1.makeKeypair(e)).pubkey;return new s(e,r.Secp256k1.compressPubkey(n),t)}get address(){return i.rawSecp256k1PubkeyToAddress(this.pubkey,this.prefix)}async getAccounts(){return[{algo:"secp256k1",address:this.address,pubkey:this.pubkey}]}async signAmino(e,t){if(e!==this.address)throw new Error(`Address ${e} not found in wallet`);const n=new r.Sha256(o.serializeSignDoc(t)).digest(),i=await r.Secp256k1.createSignature(n,this.privkey),s=new Uint8Array([...i.r(32),...i.s(32)]);return{signed:t,signature:a.encodeSecp256k1Signature(this.pubkey,s)}}}t.Secp256k1Wallet=s},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,n,r,o){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new a(n,r||e,o),c=i?i+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function c(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function l(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),l.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},l.prototype.listeners=function(e){var t=i?i+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,a=new Array(o);rnew Promise((o,a)=>{if("number"!=typeof t||t<0)throw new TypeError("Expected `milliseconds` to be a positive number");if(t===1/0)return void o(e);const s=setTimeout(()=>{if("function"==typeof n){try{o(n())}catch(e){a(e)}return}const r=n instanceof Error?n:new i("string"==typeof n?n:`Promise timed out after ${t} milliseconds`);"function"==typeof e.cancel&&e.cancel(),a(r)},t);r(e.then(o,a),()=>{clearTimeout(s)})});e.exports=o,e.exports.default=o,e.exports.TimeoutError=i},function(e,t,n){"use strict";e.exports=(e,t)=>(t=t||(()=>{}),e.then(e=>new Promise(e=>{e(t())}).then(()=>e),e=>new Promise(e=>{e(t())}).then(()=>{throw e})))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(649);t.default=class{constructor(){this._queue=[]}enqueue(e,t){const n={priority:(t=Object.assign({priority:0},t)).priority,run:e};if(this.size&&this._queue[this.size-1].priority>=t.priority)return void this._queue.push(n);const i=r.default(this._queue,n,(e,t)=>t.priority-e.priority);this._queue.splice(i,0,n)}dequeue(){const e=this._queue.shift();return null==e?void 0:e.run}filter(e){return this._queue.filter(t=>t.priority===e.priority).map(e=>e.run)}get size(){return this._queue.length}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){let r=0,i=e.length;for(;i>0;){const o=i/2|0;let a=r+o;n(e[a],t)<=0?(r=++a,i-=o+1):i=o}return r}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionRouter=void 0;const i=n(176);class o extends i.Router{constructor(){super(...arguments),this.onMessage=(e,t)=>{if(e.port===this.port)return this.onMessageHandler(e,t)}}listen(e){if(!e)throw new Error("Empty port");this.port=e,browser.runtime.onMessage.addListener(this.onMessage)}unlisten(){this.port="",browser.runtime.onMessage.removeListener(this.onMessage)}onMessageHandler(e,t){return r(this,void 0,void 0,(function*(){try{return{return:yield this.handleMessage(e,t)}}catch(t){return console.log(`Failed to process msg ${e.type}: ${(null==t?void 0:t.message)||(null==t?void 0:t.toString())}`),t?Promise.resolve({error:t.message||t.toString()}):Promise.resolve({error:"Unknown error, and error is null"})}}))}}t.ExtensionRouter=o},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.MockRouter=void 0;const i=n(176),o=n(51);class a extends i.Router{constructor(){super(...arguments),this.onMessage=e=>r(this,void 0,void 0,(function*(){const{message:t,sender:n}=e;if(t.port===this.port)try{const e=yield this.handleMessage(t,n);return void n.resolver({return:e})}catch(e){console.log(`Failed to process msg ${t.type}: ${(null==e?void 0:e.message)||(null==e?void 0:e.toString())}`),e?n.resolver({error:e.message||e.toString()}):n.resolver({error:"Unknown error, and error is null"})}}))}listen(e){if(!e)throw new Error("Empty port");this.port=e,a.eventEmitter.addListener("message",this.onMessage)}unlisten(){this.port="",a.eventEmitter.removeListener("message",this.onMessage)}}t.MockRouter=a,a.eventEmitter=new o.EventEmitter},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Message=void 0;t.Message=class{approveExternal(e,t){return!1}}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.InExtensionMessageRequester=void 0;const i=n(107);t.InExtensionMessageRequester=class{sendMessage(e,t){return r(this,void 0,void 0,(function*(){t.validateBasic(),t.origin=window.location.origin;const n=i.JSONUint8Array.unwrap(yield browser.runtime.sendMessage({port:e,type:t.type(),msg:i.JSONUint8Array.wrap(t)}));if(!n)throw new Error("Null result");if(n.error)throw new Error(n.error);return n.return}))}static sendMessageToTab(e,t,n){return r(this,void 0,void 0,(function*(){n.validateBasic(),n.origin=window.location.origin;const r=i.JSONUint8Array.unwrap(yield browser.tabs.sendMessage(e,{port:t,type:n.type(),msg:i.JSONUint8Array.wrap(n)}));if(!r)throw new Error("Null result");if(r.error)throw new Error(r.error);return r.return}))}}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ContentScriptMessageRequester=void 0;const i=n(107);t.ContentScriptMessageRequester=class{sendMessage(e,t){return r(this,void 0,void 0,(function*(){t.validateBasic(),t.origin=window.location.origin;const n=i.JSONUint8Array.wrap(t),r=yield browser.tabs.query({discarded:!1,status:"complete"});for(let i=0;i{o.MockRouter.eventEmitter.emit("message",{message:{port:e,type:t.type(),msg:i.JSONUint8Array.wrap(t)},sender:{id:this.id,url:this.url,resolver:n}})}));if(!n)throw new Error("Null result");if(n.error)throw new Error(n.error);return n.return}))}}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(328),t),i(n(660),t),i(n(661),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContentScriptGuards=void 0;class r{}t.ContentScriptGuards=r,r.checkMessageIsInternal=(e,t,n)=>{if(!e.isInternalMsg||t.approveExternal(e,n))throw new Error("Content script can't handle the message that is able to be sent from external");return Promise.resolve()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MockGuards=void 0;const r=n(328);class i{}t.MockGuards=i,i.checkOriginIsValid=r.ExtensionGuards.checkOriginIsValid,i.checkMessageIsInternal=r.ExtensionGuards.checkMessageIsInternal},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(329),t),i(n(663),t),i(n(664),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContentScriptEnv=void 0;class r{}t.ContentScriptEnv=r,r.produceEnv=e=>({isInternalMsg:e.id===browser.runtime.id,requestInteraction:()=>{throw new Error("ContentScriptEnv doesn't support `requestInteraction`")}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MockEnv=void 0;const r=n(329);t.MockEnv=class{constructor(e,t){this.id=e,this.url=t}envProducer(){return e=>({isInternalMsg:r.ExtensionEnv.checkIsInternalMessage(e,this.id,this.url),requestInteraction:()=>{throw new Error("TODO: Implement me")}})}}},function(e,t,n){(function(e,t){ -/*! ***************************************************************************** -Copyright (C) Microsoft. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ -var n;!function(n){!function(r){var i="object"==typeof t?t:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),o=a(n);function a(e,t){return function(n,r){"function"!=typeof e[n]&&Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0===i.Reflect?i.Reflect=n:o=a(i.Reflect,o),function(t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",o=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",a="function"==typeof Object.create,s={__proto__:[]}instanceof Array,c=!a&&!s,l={create:a?function(){return j(Object.create(null))}:s?function(){return j({__proto__:null})}:function(){return j({})},has:c?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:c?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},u=Object.getPrototypeOf(Function),f="object"==typeof e&&e.env&&"true"===e.env.REFLECT_METADATA_USE_MAP_POLYFILL,d=f||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[o]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i=0;--n){var r=(0,e[n])(t);if(!_(r)&&!k(r)){if(!A(r))throw new TypeError;t=r}}return t}(e,t)}if(!E(e))throw new TypeError;if(!x(t))throw new TypeError;if(!x(r)&&!_(r)&&!k(r))throw new TypeError;return k(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var o=(0,e[i])(t,n,r);if(!_(o)&&!k(o)){if(!x(o))throw new TypeError;r=o}}return r}(e,t,n=O(n),r)})),t("metadata",(function(e,t){return function(n,r){if(!x(n))throw new TypeError;if(!_(r)&&!function(e){switch(w(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;g(e,t,n,r)}})),t("defineMetadata",(function(e,t,n,r){if(!x(n))throw new TypeError;return _(r)||(r=O(r)),g(e,t,n,r)})),t("hasMetadata",(function(e,t,n){if(!x(t))throw new TypeError;return _(n)||(n=O(n)),function e(t,n,r){if(b(t,n,r))return!0;var i=C(n);return!k(i)&&e(t,i,r)}(e,t,n)})),t("hasOwnMetadata",(function(e,t,n){if(!x(t))throw new TypeError;return _(n)||(n=O(n)),b(e,t,n)})),t("getMetadata",(function(e,t,n){if(!x(t))throw new TypeError;return _(n)||(n=O(n)),function e(t,n,r){if(b(t,n,r))return y(t,n,r);var i=C(n);return k(i)?void 0:e(t,i,r)}(e,t,n)})),t("getOwnMetadata",(function(e,t,n){if(!x(t))throw new TypeError;return _(n)||(n=O(n)),y(e,t,n)})),t("getMetadataKeys",(function(e,t){if(!x(e))throw new TypeError;return _(t)||(t=O(t)),function e(t,n){var r=v(t,n),i=C(t);if(null===i)return r;var o=e(i,n);if(o.length<=0)return r;if(r.length<=0)return o;for(var a=new p,s=[],c=0,l=r;c0)return!0;var i=h.get(t);return i.delete(n),i.size>0||h.delete(t),!0}))}(o)}()}(n||(n={}))}).call(this,n(13),n(12))},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(330),t),i(n(667),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const r=n(177),i=n(331),o=n(668);t.init=function(e,t){e.registerMessage(r.SetPersistentMemoryMsg),e.registerMessage(r.GetPersistentMemoryMsg),e.addHandler(i.ROUTE,o.getHandler(t))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const r=n(177);t.getHandler=e=>(t,n)=>{switch(n.constructor){case r.SetPersistentMemoryMsg:return i(e)(t,n);case r.GetPersistentMemoryMsg:return e.get();default:throw new Error("Unknown msg type")}};const i=e=>(t,n)=>(e.set(n.data),{success:!0})},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(332),t),i(n(676),t)},function(e,t,n){window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=11)}([function(e,t,n){"use strict";const r=n(12);e.exports=function(e,...t){if(!e){if(1===t.length&&t[0]instanceof Error)throw t[0];throw new r(t)}}},function(e,t,n){"use strict";const r=n(0),i=n(12),o=n(29);let a,s;const c={isoDate:/^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/};t.version=o.version,t.defaults={abortEarly:!0,allowUnknown:!1,artifacts:!1,cache:!0,context:null,convert:!0,dateFormat:"iso",errors:{escapeHtml:!1,label:"path",language:null,render:!0,stack:!1,wrap:{label:'"',array:"[]"}},externals:!0,messages:{},nonEnumerables:!1,noDefaults:!1,presence:"optional",skipFunctions:!1,stripUnknown:!1,warnings:!1},t.symbols={any:Symbol.for("@hapi/joi/schema"),arraySingle:Symbol("arraySingle"),deepDefault:Symbol("deepDefault"),errors:Symbol("errors"),literal:Symbol("literal"),override:Symbol("override"),parent:Symbol("parent"),prefs:Symbol("prefs"),ref:Symbol("ref"),template:Symbol("template"),values:Symbol("values")},t.assertOptions=function(e,t,n="Options"){r(e&&"object"==typeof e&&!Array.isArray(e),"Options must be of type object");const i=Object.keys(e).filter(e=>!t.includes(e));r(0===i.length,"".concat(n," contain unknown keys: ").concat(i))},t.checkPreferences=function(e){s=s||n(16);const t=s.preferences.validate(e);if(t.error)throw new i([t.error.details[0].message])},t.compare=function(e,t,n){switch(n){case"=":return e===t;case">":return e>t;case"<":return e=":return e>=t;case"<=":return e<=t}},t.default=function(e,t){return void 0===e?t:e},t.isIsoDate=function(e){return c.isoDate.test(e)},t.isNumber=function(e){return"number"==typeof e&&!isNaN(e)},t.isResolvable=function(e){return!!e&&(e[t.symbols.ref]||e[t.symbols.template])},t.isSchema=function(e,n={}){const i=e&&e[t.symbols.any];return!!i&&(r(n.legacy||i.version===t.version,"Cannot mix different versions of joi schemas"),!0)},t.isValues=function(e){return e[t.symbols.values]},t.limit=function(e){return Number.isSafeInteger(e)&&e>=0},t.preferences=function(e,r){a=a||n(9),e=e||{},r=r||{};const i=Object.assign({},e,r);return r.errors&&e.errors&&(i.errors=Object.assign({},e.errors,r.errors),i.errors.wrap=Object.assign({},e.errors.wrap,r.errors.wrap)),r.messages&&(i.messages=a.compile(r.messages,e.messages)),delete i[t.symbols.prefs],i},t.tryWithPath=function(e,t,n={}){try{return e()}catch(e){throw void 0!==e.path?e.path=t+"."+e.path:e.path=t,n.append&&(e.message="".concat(e.message," (").concat(e.path,")")),e}},t.validateArg=function(e,n,{assert:r,message:i}){if(t.isSchema(r)){const t=r.validate(e);if(!t.error)return;return t.error.message}if(!r(e))return n?"".concat(n," ").concat(i):i},t.verifyFlat=function(e,t){for(const n of e)r(!Array.isArray(n),"Method no longer accepts array arguments:",t)}},function(e,t,n){"use strict";const r=n(6),i=n(13),o=n(14),a={needsProtoHack:new Set([i.set,i.map,i.weakSet,i.weakMap])};e.exports=a.clone=function(e,t={},n=null){if("object"!=typeof e||null===e)return e;let r=a.clone,s=n;if(t.shallow){if(!0!==t.shallow)return a.cloneWithShallow(e,t);r=e=>e}else if(s){const t=s.get(e);if(t)return t}else s=new Map;const c=i.getInternalProto(e);if(c===i.buffer)return!1;if(c===i.date)return new Date(e.getTime());if(c===i.regex)return new RegExp(e);const l=a.base(e,c,t);if(l===e)return e;if(s&&s.set(e,l),c===i.set)for(const n of e)l.add(r(n,t,s));else if(c===i.map)for(const[n,i]of e)l.set(n,r(i,t,s));const u=o.keys(e,t);for(const n of u){if("__proto__"===n)continue;if(c===i.array&&"length"===n){l.length=e.length;continue}const o=Object.getOwnPropertyDescriptor(e,n);o?o.get||o.set?Object.defineProperty(l,n,o):o.enumerable?l[n]=r(e[n],t,s):Object.defineProperty(l,n,{enumerable:!1,writable:!0,configurable:!0,value:r(e[n],t,s)}):Object.defineProperty(l,n,{enumerable:!0,writable:!0,configurable:!0,value:r(e[n],t,s)})}return l},a.cloneWithShallow=function(e,t){const n=t.shallow;(t=Object.assign({},t)).shallow=!1;const i=new Map;for(const t of n){const n=r(e,t);"object"!=typeof n&&"function"!=typeof n||i.set(n,n)}return a.clone(e,t,i)},a.base=function(e,t,n){if(!1===n.prototype)return a.needsProtoHack.has(t)?new t.constructor:t===i.array?[]:{};const r=Object.getPrototypeOf(e);if(r&&r.isImmutable)return e;if(t===i.array){const e=[];return r!==t&&Object.setPrototypeOf(e,r),e}if(a.needsProtoHack.has(t)){const e=new r.constructor;return r!==t&&Object.setPrototypeOf(e,r),e}return Object.create(r)}},function(e,t,n){"use strict";const r=n(0),i=n(34),o=n(1),a=n(9);e.exports=i.extend({type:"any",flags:{only:{default:!1}},terms:{alterations:{init:null},examples:{init:null},externals:{init:null},metas:{init:[]},notes:{init:[]},shared:{init:null},tags:{init:[]},whens:{init:null}},rules:{custom:{method(e,t){return r("function"==typeof e,"Method must be a function"),r(void 0===t||t&&"string"==typeof t,"Description must be a non-empty string"),this.$_addRule({name:"custom",args:{method:e,description:t}})},validate(e,t,{method:n}){try{return n(e,t)}catch(e){return t.error("any.custom",{error:e})}},args:["method","description"],multi:!0},messages:{method(e){return this.prefs({messages:e})}},shared:{method(e){r(o.isSchema(e)&&e._flags.id,"Schema must be a schema with an id");const t=this.clone();return t.$_terms.shared=t.$_terms.shared||[],t.$_terms.shared.push(e),t.$_mutateRegister(e),t}},warning:{method(e,t){return r(e&&"string"==typeof e,"Invalid warning code"),this.$_addRule({name:"warning",args:{code:e,local:t},warn:!0})},validate:(e,t,{code:n,local:r})=>t.error(n,r),args:["code","local"],multi:!0}},modifiers:{keep(e,t=!0){e.keep=t},message(e,t){e.message=a.compile(t)},warn(e,t=!0){e.warn=t}},manifest:{build(e,t){for(const n in t){const r=t[n];if(["examples","externals","metas","notes","tags"].includes(n))for(const t of r)e=e[n.slice(0,-1)](t);else if("alterations"!==n)if("whens"!==n){if("shared"===n)for(const t of r)e=e.shared(t)}else for(const t of r){const{ref:n,is:r,not:i,then:o,otherwise:a,concat:s}=t;e=s?e.concat(s):n?e.when(n,{is:r,not:i,then:o,otherwise:a,switch:t.switch,break:t.break}):e.when(r,{then:o,otherwise:a,break:t.break})}else{const t={};for(const{target:e,adjuster:n}of r)t[e]=n;e=e.alter(t)}}return e}},messages:{"any.custom":"{{#label}} failed custom validation because {{#error.message}}","any.default":"{{#label}} threw an error when running default method","any.failover":"{{#label}} threw an error when running failover method","any.invalid":"{{#label}} contains an invalid value","any.only":'{{#label}} must be {if(#valids.length == 1, "", "one of ")}{{#valids}}',"any.ref":"{{#label}} {{#arg}} references {{:#ref}} which {{#reason}}","any.required":"{{#label}} is required","any.unknown":"{{#label}} is not allowed"}})},function(e,t,n){"use strict";const r=n(32),i=n(1),o=n(7);t.Report=class{constructor(e,n,r,i,o,a,s){if(this.code=e,this.flags=i,this.messages=o,this.path=a.path,this.prefs=s,this.state=a,this.value=n,this.message=null,this.template=null,this.local=r||{},this.local.label=t.label(this.flags,this.state,this.prefs,this.messages),void 0===this.value||this.local.hasOwnProperty("value")||(this.local.value=this.value),this.path.length){const e=this.path[this.path.length-1];"object"!=typeof e&&(this.local.key=e)}}_setTemplate(e){if(this.template=e,!this.flags.label&&0===this.path.length){const e=this._template(this.template,"root");e&&(this.local.label=e)}}toString(){if(this.message)return this.message;const e=this.code;if(!this.prefs.errors.render)return this.code;const t=this._template(this.template)||this._template(this.prefs.messages)||this._template(this.messages);return void 0===t?'Error code "'.concat(e,'" is not defined, your custom type is missing the correct messages definition'):(this.message=t.render(this.value,this.state,this.prefs,this.local,{errors:this.prefs.errors,messages:[this.prefs.messages,this.messages]}),this.prefs.errors.label||(this.message=this.message.replace(/^"" /,"").trim()),this.message)}_template(e,n){return t.template(this.value,e,n||this.code,this.state,this.prefs)}},t.path=function(e){let t="";for(const n of e)"object"!=typeof n&&("string"==typeof n?(t&&(t+="."),t+=n):t+="[".concat(n,"]"));return t},t.template=function(e,t,n,r,a){if(!t)return;if(o.isTemplate(t))return"root"!==n?t:null;let s=a.errors.language;return i.isResolvable(s)&&(s=s.resolve(e,r,a)),s&&t[s]&&void 0!==t[s][n]?t[s][n]:t[n]},t.label=function(e,n,r,i){if(e.label)return e.label;if(!r.errors.label)return"";let o=n.path;return"key"===r.errors.label&&n.path.length>1&&(o=n.path.slice(-1)),t.path(o)||t.template(null,r.messages,"root",n,r)||i&&t.template(null,i,"root",n,r)||"value"},t.process=function(e,n,r){if(!e)return null;const{override:i,message:o,details:a}=t.details(e);if(i)return i;if(r.errors.stack)return new t.ValidationError(o,a,n);const s=Error.stackTraceLimit;Error.stackTraceLimit=0;const c=new t.ValidationError(o,a,n);return Error.stackTraceLimit=s,c},t.details=function(e,t={}){let n=[];const r=[];for(const i of e){if(i instanceof Error){if(!1!==t.override)return{override:i};const e=i.toString();n.push(e),r.push({message:e,type:"override",context:{error:i}});continue}const e=i.toString();n.push(e),r.push({message:e,path:i.path.filter(e=>"object"!=typeof e),type:i.code,context:i.local})}return n.length>1&&(n=[...new Set(n)]),{message:n.join(". "),details:r}},t.ValidationError=class extends Error{constructor(e,t,n){super(e),this._original=n,this.details=t}static isError(e){return e instanceof t.ValidationError}},t.ValidationError.prototype.isJoi=!0,t.ValidationError.prototype.name="ValidationError",t.ValidationError.prototype.annotate=r.error},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0&&this.refs.push({ancestor:t.ancestor-r,root:t.root});else t.isRef(e)&&"value"===e.type&&e.ancestor-r>=0&&this.refs.push({ancestor:e.ancestor-r,root:e.root}),u=u||n(7),u.isTemplate(e)&&this.register(e.refs(),r)}get length(){return this.refs.length}clone(){const e=new t.Manager;return e.refs=s(this.refs),e}reset(){this.refs=[]}roots(){return this.refs.filter(e=>!e.ancestor).map(e=>e.root)}}},function(e,t,n){"use strict";const r=n(0),i={};e.exports=function(e,t,n){if(!1===t||null==t)return e;"string"==typeof(n=n||{})&&(n={separator:n});const o=Array.isArray(t);r(!o||!n.separator,"Separator option no valid for array-based chain");const a=o?t:t.split(n.separator||".");let s=e;for(let e=0;e{const t=f.create(e,this._settings);return r.push(t),e=>t.resolve(...e)};try{var o=new c.Parser(e,{reference:i,functions:d.functions,constants:d.constants})}catch(t){throw t.message='Invalid template variable "'.concat(e,'" fails due to: ').concat(t.message),t}if(o.single){if("reference"===o.single.type){const e=r[0];return{ref:e,raw:t,refs:r,wrapped:n||"local"===e.type&&"label"===e.key}}return d.stringify(o.single.value)}return{formula:o,raw:t,refs:r}}toString(){return this.source}},d.Template.prototype[l.symbols.template]=!0,d.Template.prototype.isImmutable=!0,d.encode=function(e){return e.replace(/\\(\{+)/g,(e,t)=>d.opens.slice(0,t.length)).replace(/\\(\}+)/g,(e,t)=>d.closes.slice(0,t.length))},d.decode=function(e){return e.replace(/\u0000/g,"{").replace(/\u0001/g,"}")},d.split=function(e){const t=[];let n="";for(let r=0;r ").concat(r.toString()));e=t}if(!Array.isArray(e))return e.toString();let u="";for(const r of e)u=u+(u.length?", ":"")+d.stringify(r,t,n,o,a,s);return l?u:d.wrap(u,o.errors.wrap.array)},d.constants={true:!0,false:!1,null:null,second:1e3,minute:6e4,hour:36e5,day:864e5},d.functions={if:(e,t,n)=>e?t:n,msg(e){const[t,n,r,i,o]=this,a=o.messages;if(!a)return"";const s=u.template(t,a[0],e,n,r)||u.template(t,a[1],e,n,r);return s?s.render(t,n,r,i,o):""},number:e=>"number"==typeof e?e:"string"==typeof e?parseFloat(e):"boolean"==typeof e?e?1:0:e instanceof Date?e.getTime():null}},function(e,t,n){"use strict";const r=n(0),i=n(1),o=n(5),a={};t.schema=function(e,t,n={}){i.assertOptions(n,["appendPath","override"]);try{return a.schema(e,t,n)}catch(e){throw n.appendPath&&void 0!==e.path&&(e.message="".concat(e.message," (").concat(e.path,")")),e}},a.schema=function(e,t,n){r(void 0!==t,"Invalid undefined schema"),Array.isArray(t)&&(r(t.length,"Invalid empty array schema"),1===t.length&&(t=t[0]));const o=(t,...r)=>!1!==n.override?t.valid(e.override,...r):t.valid(...r);if(a.simple(t))return o(e,t);if("function"==typeof t)return e.custom(t);if(r("object"==typeof t,"Invalid schema content:",typeof t),i.isResolvable(t))return o(e,t);if(i.isSchema(t))return t;if(Array.isArray(t)){for(const n of t)if(!a.simple(n))return e.alternatives().try(...t);return o(e,...t)}return t instanceof RegExp?e.string().regex(t):t instanceof Date?o(e.date(),t):(r(Object.getPrototypeOf(t)===Object.getPrototypeOf({}),"Schema can only contain plain objects"),e.object().keys(t))},t.ref=function(e,t){return o.isRef(e)?e:o.create(e,t)},t.compile=function(e,n,o={}){i.assertOptions(o,["legacy"]);const s=n&&n[i.symbols.any];if(s)return r(o.legacy||s.version===i.version,"Cannot mix different versions of joi schemas:",s.version,i.version),n;if("object"!=typeof n||!o.legacy)return t.schema(e,n,{appendPath:!0});const c=a.walk(n);return c?c.compile(c.root,n):t.schema(e,n,{appendPath:!0})},a.walk=function(e){if("object"!=typeof e)return null;if(Array.isArray(e)){for(const t of e){const e=a.walk(t);if(e)return e}return null}const t=e[i.symbols.any];if(t)return{root:e[t.root],compile:t.compile};r(Object.getPrototypeOf(e)===Object.getPrototypeOf({}),"Schema can only contain plain objects");for(const t in e){const n=a.walk(e[t]);if(n)return n}return null},a.simple=function(e){return null===e||["boolean","string","number"].includes(typeof e)},t.when=function(e,n,s){if(void 0===s&&(r(n&&"object"==typeof n,"Missing options"),s=n,n=o.create(".")),Array.isArray(s)&&(s={switch:s}),i.assertOptions(s,["is","not","then","otherwise","switch","break"]),i.isSchema(n))return r(void 0===s.is,'"is" can not be used with a schema condition'),r(void 0===s.not,'"not" can not be used with a schema condition'),r(void 0===s.switch,'"switch" can not be used with a schema condition'),a.condition(e,{is:n,then:s.then,otherwise:s.otherwise,break:s.break});if(r(o.isRef(n)||"string"==typeof n,"Invalid condition:",n),r(void 0===s.not||void 0===s.is,'Cannot combine "is" with "not"'),void 0===s.switch){let c=s;void 0!==s.not&&(c={is:s.not,then:s.otherwise,otherwise:s.then,break:s.break});let l=void 0!==c.is?e.$_compile(c.is):e.$_root.invalid(null,!1,0,"").required();return r(void 0!==c.then||void 0!==c.otherwise,'options must have at least one of "then", "otherwise", or "switch"'),r(void 0===c.break||void 0===c.then||void 0===c.otherwise,"Cannot specify then, otherwise, and break all together"),void 0===s.is||o.isRef(s.is)||i.isSchema(s.is)||(l=l.required()),a.condition(e,{ref:t.ref(n),is:l,then:c.then,otherwise:c.otherwise,break:c.break})}r(Array.isArray(s.switch),'"switch" must be an array'),r(void 0===s.is,'Cannot combine "switch" with "is"'),r(void 0===s.not,'Cannot combine "switch" with "not"'),r(void 0===s.then,'Cannot combine "switch" with "then"');const c={ref:t.ref(n),switch:[],break:s.break};for(let t=0;t=0;--n)if(o[n].isSame(e,t))return!0;o.push(new i.SeenEntry(e,t));try{return!!i.isDeepEqualObj(s,e,t,n,o)}finally{o.pop()}},i.getSharedType=function(e,t,n){if(n)return Object.getPrototypeOf(e)!==Object.getPrototypeOf(t)?i.mismatched:r.getInternalProto(e);const o=r.getInternalProto(e);return o!==r.getInternalProto(t)?i.mismatched:o},i.valueOf=function(e){const t=e.valueOf;if(void 0===t)return e;try{return t.call(e)}catch(e){return e}},i.hasOwnEnumerableProperty=function(e,t){return Object.prototype.propertyIsEnumerable.call(e,t)},i.isSetSimpleEqual=function(e,t){for(const n of Set.prototype.values.call(e))if(!Set.prototype.has.call(t,n))return!1;return!0},i.isDeepEqualObj=function(e,t,n,o,a){const{isDeepEqual:s,valueOf:c,hasOwnEnumerableProperty:l}=i,{keys:u,getOwnPropertySymbols:f}=Object;if(e===r.array){if(!o.part){if(t.length!==n.length)return!1;for(let e=0;em.assert(e,t,!1,n),build(e){return r("function"==typeof u.build,"Manifest functionality disabled"),u.build(this,e)},checkPreferences(e){a.checkPreferences(e)},compile(e,t){return s.compile(this,e,t)},defaults(e){r("function"==typeof e,"modifier must be a function");const t=Object.assign({},this);for(const n of t._types){const i=e(t[n]());r(a.isSchema(i),"modifier must return a valid schema object"),t[n]=function(...e){return m.generate(this,i,e)}}return t},expression:(...e)=>new d(...e),extend(...e){a.verifyFlat(e,"extend"),h=h||n(16),r(e.length,"You need to provide at least one extension"),this.assert(e,h.extensions);const t=Object.assign({},this);t._types=new Set(t._types);for(let n of e){"function"==typeof n&&(n=n(t)),this.assert(n,h.extension);const e=m.expandExtension(n,t);for(const n of e){r(void 0===t[n.type]||t._types.has(n.type),"Cannot override name",n.type);const e=n.base||this.any(),i=l.type(e,n);t._types.add(n.type),t[n.type]=function(...e){return m.generate(this,i,e)}}}return t},isError:c.ValidationError.isError,isExpression:d.isTemplate,isRef:f.isRef,isSchema:a.isSchema,in:(...e)=>f.in(...e),override:a.symbols.override,ref:(...e)=>f.create(...e),types(){const e={};for(const t of this._types)e[t]=this[t]();for(const t in m.aliases)e[t]=this[t]();return e}},m.assert=function(e,t,n,r){const o=r[0]instanceof Error||"string"==typeof r[0]?r[0]:null,s=o?r[1]:r[0],l=t.validate(e,a.preferences({errors:{stack:!0}},s||{}));let u=l.error;if(!u)return l.value;if(o instanceof Error)throw o;const f=n&&"function"==typeof u.annotate?u.annotate():u.message;throw u instanceof c.ValidationError==0&&(u=i(u)),u.message=o?"".concat(o," ").concat(f):f,u},m.generate=function(e,t,n){return r(e,"Must be invoked on a Joi instance."),t.$_root=e,t._definition.args&&n.length?t._definition.args(t,...n):t},m.expandExtension=function(e,t){if("string"==typeof e.type)return[e];const n=[];for(const r of t._types)if(e.type.test(r)){const i=Object.assign({},e);i.type=r,i.base=t[r](),n.push(i)}return n},e.exports=m.root()},function(e,t,n){"use strict";const r=n(28);e.exports=class extends Error{constructor(e){super(e.filter(e=>""!==e).map(e=>"string"==typeof e?e:e instanceof Error?e.message:r(e)).join(" ")||"Unknown error"),"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,t.assert)}}},function(e,t,n){"use strict";const r={};t=e.exports={array:Array.prototype,buffer:!1,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype},r.typeMap=new Map([["[object Error]",t.error],["[object Map]",t.map],["[object Promise]",t.promise],["[object Set]",t.set],["[object WeakMap]",t.weakMap],["[object WeakSet]",t.weakSet]]),t.getInternalProto=function(e){if(Array.isArray(e))return t.array;if(e instanceof Date)return t.date;if(e instanceof RegExp)return t.regex;if(e instanceof Error)return t.error;const n=Object.prototype.toString.call(e);return r.typeMap.get(n)||t.generic}},function(e,t,n){"use strict";t.keys=function(e,t={}){return!1!==t.symbols?Reflect.ownKeys(e):Object.getOwnPropertyNames(e)}},function(e,t,n){"use strict";const r=n(0),i=n(2),o=n(1),a={max:1e3,supported:new Set(["undefined","boolean","number","string"])};t.provider={provision:e=>new a.Cache(e)},a.Cache=class{constructor(e={}){o.assertOptions(e,["max"]),r(void 0===e.max||e.max&&e.max>0&&isFinite(e.max),"Invalid max cache size"),this._max=e.max||a.max,this._map=new Map,this._list=new a.List}get length(){return this._map.size}set(e,t){if(null!==e&&!a.supported.has(typeof e))return;let n=this._map.get(e);if(n)return n.value=t,void this._list.first(n);n=this._list.unshift({key:e,value:t}),this._map.set(e,n),this._compact()}get(e){const t=this._map.get(e);if(t)return this._list.first(t),i(t.value)}_compact(){if(this._map.size>this._max){const e=this._list.pop();this._map.delete(e.key)}}},a.List=class{constructor(){this.tail=null,this.head=null}unshift(e){return e.next=null,e.prev=this.head,this.head&&(this.head.next=e),this.head=e,this.tail||(this.tail=e),e}first(e){e!==this.head&&(this._remove(e),this.unshift(e))}pop(){return this._remove(this.tail)}_remove(e){const{next:t,prev:n}=e;return t.prev=n,n&&(n.next=t),e===this.tail&&(this.tail=t),e.prev=null,e.next=null,e}}},function(e,t,n){"use strict";const r=n(11),i={};i.wrap=r.string().min(1).max(2).allow(!1),t.preferences=r.object({allowUnknown:r.boolean(),abortEarly:r.boolean(),artifacts:r.boolean(),cache:r.boolean(),context:r.object(),convert:r.boolean(),dateFormat:r.valid("date","iso","string","time","utc"),debug:r.boolean(),errors:{escapeHtml:r.boolean(),label:r.valid("path","key",!1),language:[r.string(),r.object().ref()],render:r.boolean(),stack:r.boolean(),wrap:{label:i.wrap,array:i.wrap}},externals:r.boolean(),messages:r.object(),noDefaults:r.boolean(),nonEnumerables:r.boolean(),presence:r.valid("required","optional","forbidden"),skipFunctions:r.boolean(),stripUnknown:r.object({arrays:r.boolean(),objects:r.boolean()}).or("arrays","objects").allow(!0,!1),warnings:r.boolean()}).strict(),i.nameRx=/^[a-zA-Z0-9]\w*$/,i.rule=r.object({alias:r.array().items(r.string().pattern(i.nameRx)).single(),args:r.array().items(r.string(),r.object({name:r.string().pattern(i.nameRx).required(),ref:r.boolean(),assert:r.alternatives([r.function(),r.object().schema()]).conditional("ref",{is:!0,then:r.required()}),normalize:r.function(),message:r.string().when("assert",{is:r.function(),then:r.required()})})),convert:r.boolean(),manifest:r.boolean(),method:r.function().allow(!1),multi:r.boolean(),validate:r.function()}),t.extension=r.object({type:r.alternatives([r.string(),r.object().regex()]).required(),args:r.function(),cast:r.object().pattern(i.nameRx,r.object({from:r.function().maxArity(1).required(),to:r.function().minArity(1).maxArity(2).required()})),base:r.object().schema().when("type",{is:r.object().regex(),then:r.forbidden()}),coerce:[r.function().maxArity(3),r.object({method:r.function().maxArity(3).required(),from:r.array().items(r.string()).single()})],flags:r.object().pattern(i.nameRx,r.object({setter:r.string(),default:r.any()})),manifest:{build:r.function().arity(2)},messages:[r.object(),r.string()],modifiers:r.object().pattern(i.nameRx,r.function().minArity(1).maxArity(2)),overrides:r.object().pattern(i.nameRx,r.function()),prepare:r.function().maxArity(3),rebuild:r.function().arity(1),rules:r.object().pattern(i.nameRx,i.rule),terms:r.object().pattern(i.nameRx,r.object({init:r.array().allow(null).required(),manifest:r.object().pattern(/.+/,[r.valid("schema","single"),r.object({mapped:r.object({from:r.string().required(),to:r.string().required()}).required()})])})),validate:r.function().maxArity(3)}).strict(),t.extensions=r.array().items(r.object(),r.function().arity(1)).strict(),i.desc={buffer:r.object({buffer:r.string()}),func:r.object({function:r.function().required(),options:{literal:!0}}),override:r.object({override:!0}),ref:r.object({ref:r.object({type:r.valid("value","global","local"),path:r.array().required(),separator:r.string().length(1).allow(!1),ancestor:r.number().min(0).integer().allow("root"),map:r.array().items(r.array().length(2)).min(1),adjust:r.function(),iterables:r.boolean(),in:r.boolean(),render:r.boolean()}).required()}),regex:r.object({regex:r.string().min(3)}),special:r.object({special:r.valid("deep").required()}),template:r.object({template:r.string().required(),options:r.object()}),value:r.object({value:r.alternatives([r.object(),r.array()]).required()})},i.desc.entity=r.alternatives([r.array().items(r.link("...")),r.boolean(),r.function(),r.number(),r.string(),i.desc.buffer,i.desc.func,i.desc.ref,i.desc.regex,i.desc.special,i.desc.template,i.desc.value,r.link("/")]),i.desc.values=r.array().items(null,r.boolean(),r.function(),r.number().allow(1/0,-1/0),r.string().allow(""),r.symbol(),i.desc.buffer,i.desc.func,i.desc.override,i.desc.ref,i.desc.regex,i.desc.template,i.desc.value),i.desc.messages=r.object().pattern(/.+/,[r.string(),i.desc.template,r.object().pattern(/.+/,[r.string(),i.desc.template])]),t.description=r.object({type:r.string().required(),flags:r.object({cast:r.string(),default:r.any(),description:r.string(),empty:r.link("/"),failover:i.desc.entity,id:r.string(),label:r.string(),only:!0,presence:["optional","required","forbidden"],result:["raw","strip"],strip:r.boolean(),unit:r.string()}).unknown(),preferences:{allowUnknown:r.boolean(),abortEarly:r.boolean(),artifacts:r.boolean(),cache:r.boolean(),convert:r.boolean(),dateFormat:["date","iso","string","time","utc"],errors:{escapeHtml:r.boolean(),label:["path","key"],language:[r.string(),i.desc.ref],wrap:{label:i.wrap,array:i.wrap}},externals:r.boolean(),messages:i.desc.messages,noDefaults:r.boolean(),nonEnumerables:r.boolean(),presence:["required","optional","forbidden"],skipFunctions:r.boolean(),stripUnknown:r.object({arrays:r.boolean(),objects:r.boolean()}).or("arrays","objects").allow(!0,!1),warnings:r.boolean()},allow:i.desc.values,invalid:i.desc.values,rules:r.array().min(1).items({name:r.string().required(),args:r.object().min(1),keep:r.boolean(),message:[r.string(),i.desc.messages],warn:r.boolean()}),keys:r.object().pattern(/.*/,r.link("/")),link:i.desc.ref}).pattern(/^[a-z]\w*$/,r.any())},function(e,t,n){"use strict";const r=n(0),i=n(2),o=n(1),a=n(9),s={};t.type=function(e,t){const n=Object.getPrototypeOf(e),c=i(n),l=e._assign(Object.create(c)),u=Object.assign({},t);delete u.base,c._definition=u;const f=n._definition||{};u.messages=a.merge(f.messages,u.messages),u.properties=Object.assign({},f.properties,u.properties),l.type=u.type,u.flags=Object.assign({},f.flags,u.flags);const d=Object.assign({},f.terms);if(u.terms)for(const e in u.terms){const t=u.terms[e];r(void 0===l.$_terms[e],"Invalid term override for",u.type,e),l.$_terms[e]=t.init,d[e]=t}u.terms=d,u.args||(u.args=f.args),u.prepare=s.prepare(u.prepare,f.prepare),u.coerce&&("function"==typeof u.coerce&&(u.coerce={method:u.coerce}),u.coerce.from&&!Array.isArray(u.coerce.from)&&(u.coerce={method:u.coerce.method,from:[].concat(u.coerce.from)})),u.coerce=s.coerce(u.coerce,f.coerce),u.validate=s.validate(u.validate,f.validate);const p=Object.assign({},f.rules);if(u.rules)for(const e in u.rules){const t=u.rules[e];r("object"==typeof t,"Invalid rule definition for",u.type,e);let n=t.method;if(void 0===n&&(n=function(){return this.$_addRule(e)}),n&&(r(!c[e],"Rule conflict in",u.type,e),c[e]=n),r(!p[e],"Rule conflict in",u.type,e),p[e]=t,t.alias){const e=[].concat(t.alias);for(const n of e)c[n]=t.method}t.args&&(t.argsByName=new Map,t.args=t.args.map(e=>("string"==typeof e&&(e={name:e}),r(!t.argsByName.has(e.name),"Duplicated argument name",e.name),o.isSchema(e.assert)&&(e.assert=e.assert.strict().label(e.name)),t.argsByName.set(e.name,e),e)))}u.rules=p;const h=Object.assign({},f.modifiers);if(u.modifiers)for(const e in u.modifiers){r(!c[e],"Rule conflict in",u.type,e);const t=u.modifiers[e];r("function"==typeof t,"Invalid modifier definition for",u.type,e);const n=function(t){return this.rule({[e]:t})};c[e]=n,h[e]=t}if(u.modifiers=h,u.overrides){c._super=n,l.$_super={};for(const e in u.overrides)r(n[e],"Cannot override missing",e),u.overrides[e][o.symbols.parent]=n[e],l.$_super[e]=n[e].bind(l);Object.assign(c,u.overrides)}u.cast=Object.assign({},f.cast,u.cast);const m=Object.assign({},f.manifest,u.manifest);return m.build=s.build(u.manifest&&u.manifest.build,f.manifest&&f.manifest.build),u.manifest=m,u.rebuild=s.rebuild(u.rebuild,f.rebuild),l},s.build=function(e,t){return e&&t?function(n,r){return t(e(n,r),r)}:e||t},s.coerce=function(e,t){return e&&t?{from:e.from&&t.from?[...new Set([...e.from,...t.from])]:null,method(n,r){let i;if((!t.from||t.from.includes(typeof n))&&(i=t.method(n,r),i)){if(i.errors||void 0===i.value)return i;n=i.value}if(!e.from||e.from.includes(typeof n)){const t=e.method(n,r);if(t)return t}return i}}:e||t},s.prepare=function(e,t){return e&&t?function(n,r){const i=e(n,r);if(i){if(i.errors||void 0===i.value)return i;n=i.value}return t(n,r)||i}:e||t},s.rebuild=function(e,t){return e&&t?function(n){t(n),e(n)}:e||t},s.validate=function(e,t){return e&&t?function(n,r){const i=t(n,r);if(i){if(i.errors&&(!Array.isArray(i.errors)||i.errors.length))return i;n=i.value}return e(n,r)||i}:e||t}},function(e,t){},function(e,t){},function(e,t,n){"use strict";const r=n(0),i=n(2),o=n(14),a={};e.exports=a.merge=function(e,t,n){if(r(e&&"object"==typeof e,"Invalid target value: must be an object"),r(null==t||"object"==typeof t,"Invalid source value: must be null, undefined, or an object"),!t)return e;if(n=Object.assign({nullOverride:!0,mergeArrays:!0},n),Array.isArray(t)){r(Array.isArray(e),"Cannot merge array onto an object"),n.mergeArrays||(e.length=0);for(let r=0;re.keys(t),validate(e,{schema:t,error:n,state:r,prefs:i}){if(!e||typeof e!==t.$_property("typeof")||Array.isArray(e))return{value:e,errors:n("object.base",{type:t.$_property("typeof")})};if(!(t.$_terms.renames||t.$_terms.dependencies||t.$_terms.keys||t.$_terms.patterns||t.$_terms.externals))return;e=p.clone(e,i);const o=[];if(t.$_terms.renames&&!p.rename(t,e,r,i,o))return{value:e,errors:o};if(!t.$_terms.keys&&!t.$_terms.patterns&&!t.$_terms.dependencies)return{value:e,errors:o};const a=new Set(Object.keys(e));if(t.$_terms.keys){const n=[e,...r.ancestors];for(const s of t.$_terms.keys){const t=s.key,c=e[t];a.delete(t);const l=r.localize([...r.path,t],n,s),u=s.schema.$_validate(c,l,i);if(u.errors){if(i.abortEarly)return{value:e,errors:u.errors};o.push(...u.errors)}else"strip"===s.schema._flags.result||void 0===u.value&&void 0!==c?delete e[t]:void 0!==u.value&&(e[t]=u.value)}}if(a.size||t._flags._hasPatternMatch){const n=p.unknown(t,e,a,o,r,i);if(n)return n}if(t.$_terms.dependencies)for(const n of t.$_terms.dependencies){if(n.key&&void 0===n.key.resolve(e,r,i,null,{shadow:!1}))continue;const a=p.dependencies[n.rel](t,n,e,r,i);if(a){const n=t.$_createError(a.code,e,a.context,r,i);if(i.abortEarly)return{value:e,errors:n};o.push(n)}}return{value:e,errors:o}},rules:{and:{method(...e){return c.verifyFlat(e,"and"),p.dependency(this,"and",null,e)}},append:{method(e){return null==e||0===Object.keys(e).length?this:this.keys(e)}},assert:{method(e,t,n){d.isTemplate(e)||(e=l.ref(e)),i(void 0===n||"string"==typeof n,"Message must be a string"),t=this.$_compile(t,{appendPath:!0});const r=this.$_addRule({name:"assert",args:{subject:e,schema:t,message:n}});return r.$_mutateRegister(e),r.$_mutateRegister(t),r},validate(e,{error:t,prefs:n,state:r},{subject:i,schema:o,message:a}){const s=i.resolve(e,r,n),c=f.isRef(i)?i.absolute(r):[];return o.$_match(s,r.localize(c,[e,...r.ancestors],o),n)?e:t("object.assert",{subject:i,message:a})},args:["subject","schema","message"],multi:!0},instance:{method(e,t){return i("function"==typeof e,"constructor must be a function"),t=t||e.name,this.$_addRule({name:"instance",args:{constructor:e,name:t}})},validate:(e,t,{constructor:n,name:r})=>e instanceof n?e:t.error("object.instance",{type:r,value:e}),args:["constructor","name"]},keys:{method(e){i(void 0===e||"object"==typeof e,"Object schema must be a valid object"),i(!c.isSchema(e),"Object schema cannot be a joi schema");const t=this.clone();if(e)if(Object.keys(e).length){t.$_terms.keys=t.$_terms.keys?t.$_terms.keys.filter(t=>!e.hasOwnProperty(t.key)):new p.Keys;for(const n in e)c.tryWithPath(()=>t.$_terms.keys.push({key:n,schema:this.$_compile(e[n])}),n)}else t.$_terms.keys=new p.Keys;else t.$_terms.keys=null;return t.$_mutateRebuild()}},length:{method(e){return this.$_addRule({name:"length",args:{limit:e},operator:"="})},validate:(e,t,{limit:n},{name:r,operator:i,args:o})=>c.compare(Object.keys(e).length,n,i)?e:t.error("object."+r,{limit:o.limit,value:e}),args:[{name:"limit",ref:!0,assert:c.limit,message:"must be a positive integer"}]},max:{method(e){return this.$_addRule({name:"max",method:"length",args:{limit:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"length",args:{limit:e},operator:">="})}},nand:{method(...e){return c.verifyFlat(e,"nand"),p.dependency(this,"nand",null,e)}},or:{method(...e){return c.verifyFlat(e,"or"),p.dependency(this,"or",null,e)}},oxor:{method(...e){return p.dependency(this,"oxor",null,e)}},pattern:{method(e,t,n={}){const r=e instanceof RegExp;r||(e=this.$_compile(e,{appendPath:!0})),i(void 0!==t,"Invalid rule"),c.assertOptions(n,["fallthrough","matches"]),r&&i(!e.flags.includes("g")&&!e.flags.includes("y"),"pattern should not use global or sticky mode"),t=this.$_compile(t,{appendPath:!0});const o=this.clone();o.$_terms.patterns=o.$_terms.patterns||[];const a={[r?"regex":"schema"]:e,rule:t};return n.matches&&(a.matches=this.$_compile(n.matches),"array"!==a.matches.type&&(a.matches=a.matches.$_root.array().items(a.matches)),o.$_mutateRegister(a.matches),o.$_setFlag("_hasPatternMatch",!0,{clone:!1})),n.fallthrough&&(a.fallthrough=!0),o.$_terms.patterns.push(a),o.$_mutateRegister(t),o}},ref:{method(){return this.$_addRule("ref")},validate:(e,t)=>f.isRef(e)?e:t.error("object.refType",{value:e})},regex:{method(){return this.$_addRule("regex")},validate:(e,t)=>e instanceof RegExp?e:t.error("object.regex",{value:e})},rename:{method(e,t,n={}){i("string"==typeof e||e instanceof RegExp,"Rename missing the from argument"),i("string"==typeof t||t instanceof d,"Invalid rename to argument"),i(t!==e,"Cannot rename key to same name:",e),c.assertOptions(n,["alias","ignoreUndefined","override","multiple"]);const o=this.clone();o.$_terms.renames=o.$_terms.renames||[];for(const t of o.$_terms.renames)i(t.from!==e,"Cannot rename the same key multiple times");return t instanceof d&&o.$_mutateRegister(t),o.$_terms.renames.push({from:e,to:t,options:r(p.renameDefaults,n)}),o}},schema:{method(e="any"){return this.$_addRule({name:"schema",args:{type:e}})},validate:(e,t,{type:n})=>!c.isSchema(e)||"any"!==n&&e.type!==n?t.error("object.schema",{type:n}):e},unknown:{method(e){return this.$_setFlag("unknown",!1!==e)}},with:{method(e,t,n={}){return p.dependency(this,"with",e,t,n)}},without:{method(e,t,n={}){return p.dependency(this,"without",e,t,n)}},xor:{method(...e){return c.verifyFlat(e,"xor"),p.dependency(this,"xor",null,e)}}},overrides:{default(e,t){return void 0===e&&(e=c.symbols.deepDefault),this.$_parent("default",e,t)}},rebuild(e){if(e.$_terms.keys){const t=new a.Sorter;for(const n of e.$_terms.keys)c.tryWithPath(()=>t.add(n,{after:n.schema.$_rootReferences(),group:n.key}),n.key);e.$_terms.keys=new p.Keys(...t.nodes)}},manifest:{build(e,t){if(t.keys&&(e=e.keys(t.keys)),t.dependencies)for(const{rel:n,key:r=null,peers:i,options:o}of t.dependencies)e=p.dependency(e,n,r,i,o);if(t.patterns)for(const{regex:n,schema:r,rule:i,fallthrough:o,matches:a}of t.patterns)e=e.pattern(n||r,i,{fallthrough:o,matches:a});if(t.renames)for(const{from:n,to:r,options:i}of t.renames)e=e.rename(n,r,i);return e}},messages:{"object.and":"{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}","object.assert":'{{#label}} is invalid because {if(#subject.key, `"` + #subject.key + `" failed to ` + (#message || "pass the assertion test"), #message || "the assertion failed")}',"object.base":"{{#label}} must be of type {{#type}}","object.instance":"{{#label}} must be an instance of {{:#type}}","object.length":'{{#label}} must have {{#limit}} key{if(#limit == 1, "", "s")}',"object.max":'{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, "", "s")}',"object.min":'{{#label}} must have at least {{#limit}} key{if(#limit == 1, "", "s")}',"object.missing":"{{#label}} must contain at least one of {{#peersWithLabels}}","object.nand":"{{:#mainWithLabel}} must not exist simultaneously with {{#peersWithLabels}}","object.oxor":"{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}","object.pattern.match":"{{#label}} keys failed to match pattern requirements","object.refType":"{{#label}} must be a Joi reference","object.regex":"{{#label}} must be a RegExp object","object.rename.multiple":"{{#label}} cannot rename {{:#from}} because multiple renames are disabled and another key was already renamed to {{:#to}}","object.rename.override":"{{#label}} cannot rename {{:#from}} because override is disabled and target {{:#to}} exists","object.schema":"{{#label}} must be a Joi schema of {{#type}} type","object.unknown":"{{#label}} is not allowed","object.with":"{{:#mainWithLabel}} missing required peer {{:#peerWithLabel}}","object.without":"{{:#mainWithLabel}} conflict with forbidden peer {{:#peerWithLabel}}","object.xor":"{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}"}}),p.clone=function(e,t){if("object"==typeof e){if(t.nonEnumerables)return o(e,{shallow:!0});const n=Object.create(Object.getPrototypeOf(e));return Object.assign(n,e),n}const n=function(...t){return e.apply(this,t)};return n.prototype=o(e.prototype),Object.defineProperty(n,"name",{value:e.name,writable:!1}),Object.defineProperty(n,"length",{value:e.length,writable:!1}),Object.assign(n,e),n},p.dependency=function(e,t,n,r,o){i(null===n||"string"==typeof n,t,"key must be a strings"),o||(o=r.length>1&&"object"==typeof r[r.length-1]?r.pop():{}),c.assertOptions(o,["separator"]),r=[].concat(r);const a=c.default(o.separator,"."),s=[];for(const e of r)i("string"==typeof e,t,"peers must be a string or a reference"),s.push(l.ref(e,{separator:a,ancestor:0,prefix:!1}));null!==n&&(n=l.ref(n,{separator:a,ancestor:0,prefix:!1}));const u=e.clone();return u.$_terms.dependencies=u.$_terms.dependencies||[],u.$_terms.dependencies.push(new p.Dependency(t,n,s,r)),u},p.dependencies={and(e,t,n,r,i){const o=[],a=[],s=t.peers.length;for(const e of t.peers)void 0===e.resolve(n,r,i,null,{shadow:!1})?o.push(e.key):a.push(e.key);if(o.length!==s&&a.length!==s)return{code:"object.and",context:{present:a,presentWithLabels:p.keysToLabels(e,a),missing:o,missingWithLabels:p.keysToLabels(e,o)}}},nand(e,t,n,r,i){const o=[];for(const e of t.peers)void 0!==e.resolve(n,r,i,null,{shadow:!1})&&o.push(e.key);if(o.length!==t.peers.length)return;const a=t.paths[0],s=t.paths.slice(1);return{code:"object.nand",context:{main:a,mainWithLabel:p.keysToLabels(e,a),peers:s,peersWithLabels:p.keysToLabels(e,s)}}},or(e,t,n,r,i){for(const e of t.peers)if(void 0!==e.resolve(n,r,i,null,{shadow:!1}))return;return{code:"object.missing",context:{peers:t.paths,peersWithLabels:p.keysToLabels(e,t.paths)}}},oxor(e,t,n,r,i){const o=[];for(const e of t.peers)void 0!==e.resolve(n,r,i,null,{shadow:!1})&&o.push(e.key);if(!o.length||1===o.length)return;const a={peers:t.paths,peersWithLabels:p.keysToLabels(e,t.paths)};return a.present=o,a.presentWithLabels=p.keysToLabels(e,o),{code:"object.oxor",context:a}},with(e,t,n,r,i){for(const o of t.peers)if(void 0===o.resolve(n,r,i,null,{shadow:!1}))return{code:"object.with",context:{main:t.key.key,mainWithLabel:p.keysToLabels(e,t.key.key),peer:o.key,peerWithLabel:p.keysToLabels(e,o.key)}}},without(e,t,n,r,i){for(const o of t.peers)if(void 0!==o.resolve(n,r,i,null,{shadow:!1}))return{code:"object.without",context:{main:t.key.key,mainWithLabel:p.keysToLabels(e,t.key.key),peer:o.key,peerWithLabel:p.keysToLabels(e,o.key)}}},xor(e,t,n,r,i){const o=[];for(const e of t.peers)void 0!==e.resolve(n,r,i,null,{shadow:!1})&&o.push(e.key);if(1===o.length)return;const a={peers:t.paths,peersWithLabels:p.keysToLabels(e,t.paths)};return 0===o.length?{code:"object.missing",context:a}:(a.present=o,a.presentWithLabels=p.keysToLabels(e,o),{code:"object.xor",context:a})}},p.keysToLabels=function(e,t){return Array.isArray(t)?t.map(t=>e.$_mapLabels(t)):e.$_mapLabels(t)},p.rename=function(e,t,n,r,i){const o={};for(const a of e.$_terms.renames){const s=[],c="string"!=typeof a.from;if(c)for(const e in t){if(void 0===t[e]&&a.options.ignoreUndefined)continue;if(e===a.to)continue;const n=a.from.exec(e);n&&s.push({from:e,to:a.to,match:n})}else!Object.prototype.hasOwnProperty.call(t,a.from)||void 0===t[a.from]&&a.options.ignoreUndefined||s.push(a);for(const l of s){const s=l.from;let u=l.to;if(u instanceof d&&(u=u.render(t,n,r,l.match)),s!==u){if(!a.options.multiple&&o[u]&&(i.push(e.$_createError("object.rename.multiple",t,{from:s,to:u,pattern:c},n,r)),r.abortEarly))return!1;if(Object.prototype.hasOwnProperty.call(t,u)&&!a.options.override&&!o[u]&&(i.push(e.$_createError("object.rename.override",t,{from:s,to:u,pattern:c},n,r)),r.abortEarly))return!1;void 0===t[s]?delete t[u]:t[u]=t[s],o[u]=!0,a.options.alias||delete t[s]}}}return!0},p.unknown=function(e,t,n,r,i,o){if(e.$_terms.patterns){let a=!1;const s=e.$_terms.patterns.map(e=>{if(e.matches)return a=!0,[]}),c=[t,...i.ancestors];for(const a of n){const l=t[a],u=[...i.path,a];for(let f=0;f256)return i.code("DOMAIN_TOO_LONG");if(o.nonAsciiRx.test(e)){if(!1===t.allowUnicode)return i.code("DOMAIN_INVALID_UNICODE_CHARS");e=e.normalize("NFC")}if(o.domainControlRx.test(e))return i.code("DOMAIN_INVALID_CHARS");e=o.punycode(e);const n=t.minDomainSegments||o.minDomainSegments,r=e.split(".");if(r.lengtht.maxDomainSegments)return i.code("DOMAIN_SEGMENTS_COUNT_MAX");const a=t.tlds;if(a){const e=r[r.length-1].toLowerCase();if(a.deny&&a.deny.has(e)||a.allow&&!a.allow.has(e))return i.code("DOMAIN_FORBIDDEN_TLDS")}for(let e=0;e63)return i.code("DOMAIN_LONG_SEGMENT");if(e=1,"scheme must have at least 1 scheme specified");const o=[];for(let e=0;e=256)return"&#"+e+";";const n=e.toString(16).padStart(2,"0");return"&#x".concat(n,";")},r.isSafe=function(e){return void 0!==r.safeCharCodes[e]},r.namedHtml={38:"&",60:"<",62:">",34:""",160:" ",162:"¢",163:"£",164:"¤",169:"©",174:"®"},r.safeCharCodes=function(){const e={};for(let t=32;t<123;++t)(t>=97||t>=65&&t<=90||t>=48&&t<=57||32===t||46===t||44===t||45===t||58===t||95===t)&&(e[t]=null);return e}()},function(e,t,n){"use strict";const r={operators:["!","^","*","/","%","+","-","<","<=",">",">=","==","!=","&&","||","??"],operatorCharacters:["!","^","*","/","%","+","-","<","=",">","&","|","?"],operatorsOrder:[["^"],["*","/","%"],["+","-"],["<","<=",">",">="],["==","!="],["&&"],["||","??"]],operatorsPrefix:["!","n"],literals:{'"':'"',"`":"`","'":"'","[":"]"},numberRx:/^(?:[0-9]*\.?[0-9]*){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol("formula"),settings:Symbol("settings")};t.Parser=class{constructor(e,t={}){if(!t[r.settings]&&t.constants)for(const e in t.constants){const n=t.constants[e];if(null!==n&&!["boolean","number","string"].includes(typeof n))throw new Error("Formula constant ".concat(e," contains invalid ").concat(typeof n," value type"))}this.settings=t[r.settings]?t:Object.assign({[r.settings]:!0,constants:{},functions:{}},t),this.single=null,this._parts=null,this._parse(e)}_parse(e){let n=[],i="",o=0,a=!1;const s=e=>{if(o)throw new Error("Formula missing closing parenthesis");const s=n.length?n[n.length-1]:null;if(a||i||e){if(s&&"reference"===s.type&&")"===e)return s.type="function",s.value=this._subFormula(i,s.value),void(i="");if(")"===e){const e=new t.Parser(i,this.settings);n.push({type:"segment",value:e})}else if(a){if("]"===a)return n.push({type:"reference",value:i}),void(i="");n.push({type:"literal",value:i})}else if(r.operatorCharacters.includes(i))s&&"operator"===s.type&&r.operators.includes(s.value+i)?s.value+=i:n.push({type:"operator",value:i});else if(i.match(r.numberRx))n.push({type:"constant",value:parseFloat(i)});else if(void 0!==this.settings.constants[i])n.push({type:"constant",value:this.settings.constants[i]});else{if(!i.match(r.tokenRx))throw new Error("Formula contains invalid token: ".concat(i));n.push({type:"reference",value:i})}i=""}};for(const t of e)a?t===a?(s(),a=!1):i+=t:o?"("===t?(i+=t,++o):")"===t?(--o,o?i+=t:s(t)):i+=t:t in r.literals?a=r.literals[t]:"("===t?(s(),++o):r.operatorCharacters.includes(t)?(s(),i=t,s()):" "!==t?i+=t:s();s(),n=n.map((e,t)=>"operator"!==e.type||"-"!==e.value||t&&"operator"!==n[t-1].type?e:{type:"operator",value:"n"});let c=!1;for(const e of n){if("operator"===e.type){if(r.operatorsPrefix.includes(e.value))continue;if(!c)throw new Error("Formula contains an operator in invalid position");if(!r.operators.includes(e.value))throw new Error("Formula contains an unknown operator ".concat(e.value))}else if(c)throw new Error("Formula missing expected operator");c=!c}if(!c)throw new Error("Formula contains invalid trailing operator");1===n.length&&["reference","literal","constant"].includes(n[0].type)&&(this.single={type:"reference"===n[0].type?"reference":"value",value:n[0].value}),this._parts=n.map(e=>{if("operator"===e.type)return r.operatorsPrefix.includes(e.value)?e:e.value;if("reference"!==e.type)return e.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(e.value))throw new Error("Formula contains invalid reference ".concat(e.value));return this.settings.reference?this.settings.reference(e.value):r.reference(e.value)})}_subFormula(e,n){const i=this.settings.functions[n];if("function"!=typeof i)throw new Error("Formula contains unknown function ".concat(n));let o=[];if(e){let t="",i=0,a=!1;const s=()=>{if(!t)throw new Error("Formula contains function ".concat(n," with invalid arguments ").concat(e));o.push(t),t=""};for(let n=0;nnew t.Parser(e,this.settings)),function(e){const t=[];for(const n of o)t.push(n.evaluate(e));return i.call(e,...t)}}evaluate(e){const t=this._parts.slice();for(let n=t.length-2;n>=0;--n){const i=t[n];if(i&&"operator"===i.type){const o=t[n+1];t.splice(n+1,1);const a=r.evaluate(o,e);t[n]=r.single(i.value,a)}}return r.operatorsOrder.forEach(n=>{for(let i=1;i":return t>n;case">=":return t>=n;case"==":return t===n;case"!=":return t!==n;case"&&":return t&&n;case"||":return t||n}return null},r.exists=function(e){return null!=e}},function(e,t){},function(e,t,n){"use strict";const r=n(0),i=n(3),o=n(1),a=n(8),s=n(4),c=n(5),l={};e.exports=i.extend({type:"alternatives",flags:{match:{default:"any"}},terms:{matches:{init:[],register:c.toSibling}},args:(e,...t)=>1===t.length&&Array.isArray(t[0])?e.try(...t[0]):e.try(...t),validate(e,t){const{schema:n,error:r,state:i,prefs:o}=t;if(n._flags.match){let t,a=0;for(let r=0;r"is"!==n.path[0]?t.label(e):void 0,ref:!1})}},rebuild(e){e.$_modify({each:t=>{o.isSchema(t)&&"array"===t.type&&e.$_setFlag("_arrayItems",!0,{clone:!1})}})},manifest:{build(e,t){if(t.matches)for(const n of t.matches){const{schema:t,ref:r,is:i,not:o,then:a,otherwise:s}=n;e=t?e.try(t):r?e.conditional(r,{is:i,then:a,not:o,otherwise:s,switch:n.switch}):e.conditional(i,{then:a,otherwise:s})}return e}},messages:{"alternatives.all":"{{#label}} does not match all of the required types","alternatives.any":"{{#label}} does not match any of the allowed types","alternatives.match":"{{#label}} does not match any of the allowed types","alternatives.one":"{{#label}} matches more than one allowed type","alternatives.types":"{{#label}} must be one of {{#types}}"}}),l.errors=function(e,{error:t,state:n}){if(!e.length)return{errors:t("alternatives.any")};if(1===e.length)return{errors:e[0].reports};const r=new Set,i=[];for(const{reports:o,schema:a}of e){if(o.length>1)return l.unmatched(e,t);const c=o[0];if(c instanceof s.Report==0)return l.unmatched(e,t);if(c.state.path.length!==n.path.length){i.push({type:a.type,report:c});continue}if("any.only"===c.code){for(const e of c.local.valids)r.add(e);continue}const[u,f]=c.code.split(".");"base"===f?r.add(u):i.push({type:a.type,report:c})}return i.length?1===i.length?{errors:i[0].report}:l.unmatched(e,t):{errors:t("alternatives.types",{types:[...r]})}},l.unmatched=function(e,t){const n=[];for(const t of e)n.push(...t.reports);return{errors:t("alternatives.match",s.details(n,{override:!1}))}}},function(e,t,n){"use strict";const r=n(0),i=n(2),o=n(10),a=n(20),s=n(15),c=n(1),l=n(8),u=n(4),f=n(17),d=n(18),p=n(9),h=n(35),m=n(5),b=n(19),y=n(36),g=n(21),v={Base:class{constructor(e){this.type=e,this.$_root=null,this._definition={},this._reset()}_reset(){this._ids=new h.Ids,this._preferences=null,this._refs=new m.Manager,this._cache=null,this._valids=null,this._invalids=null,this._flags={},this._rules=[],this._singleRules=new Map,this.$_terms={},this.$_temp={ruleset:null,whens:{}}}describe(){return r("function"==typeof d.describe,"Manifest functionality disabled"),d.describe(this)}allow(...e){return c.verifyFlat(e,"allow"),this._values(e,"_valids")}alter(e){r(e&&"object"==typeof e&&!Array.isArray(e),"Invalid targets argument"),r(!this._inRuleset(),"Cannot set alterations inside a ruleset");const t=this.clone();t.$_terms.alterations=t.$_terms.alterations||[];for(const n in e){const i=e[n];r("function"==typeof i,"Alteration adjuster for",n,"must be a function"),t.$_terms.alterations.push({target:n,adjuster:i})}return t.$_temp.ruleset=!1,t}artifact(e){return r(void 0!==e,"Artifact cannot be undefined"),r(!this._cache,"Cannot set an artifact with a rule cache"),this.$_setFlag("artifact",e)}cast(e){return r(!1===e||"string"==typeof e,"Invalid to value"),r(!1===e||this._definition.cast[e],"Type",this.type,"does not support casting to",e),this.$_setFlag("cast",!1===e?void 0:e)}default(e,t){return this._default("default",e,t)}description(e){return r(e&&"string"==typeof e,"Description must be a non-empty string"),this.$_setFlag("description",e)}empty(e){const t=this.clone();return void 0!==e&&(e=t.$_compile(e,{override:!1})),t.$_setFlag("empty",e,{clone:!1})}error(e){return r(e,"Missing error"),r(e instanceof Error||"function"==typeof e,"Must provide a valid Error object or a function"),this.$_setFlag("error",e)}example(e,t={}){return r(void 0!==e,"Missing example"),c.assertOptions(t,["override"]),this._inner("examples",e,{single:!0,override:t.override})}external(e,t){return"object"==typeof e&&(r(!t,"Cannot combine options with description"),t=e.description,e=e.method),r("function"==typeof e,"Method must be a function"),r(void 0===t||t&&"string"==typeof t,"Description must be a non-empty string"),this._inner("externals",{method:e,description:t},{single:!0})}failover(e,t){return this._default("failover",e,t)}forbidden(){return this.presence("forbidden")}id(e){return e?(r("string"==typeof e,"id must be a non-empty string"),r(/^[^\.]+$/.test(e),"id cannot contain period character"),this.$_setFlag("id",e)):this.$_setFlag("id",void 0)}invalid(...e){return this._values(e,"_invalids")}label(e){return r(e&&"string"==typeof e,"Label name must be a non-empty string"),this.$_setFlag("label",e)}meta(e){return r(void 0!==e,"Meta cannot be undefined"),this._inner("metas",e,{single:!0})}note(...e){r(e.length,"Missing notes");for(const t of e)r(t&&"string"==typeof t,"Notes must be non-empty strings");return this._inner("notes",e)}only(e=!0){return r("boolean"==typeof e,"Invalid mode:",e),this.$_setFlag("only",e)}optional(){return this.presence("optional")}prefs(e){r(e,"Missing preferences"),r(void 0===e.context,"Cannot override context"),r(void 0===e.externals,"Cannot override externals"),r(void 0===e.warnings,"Cannot override warnings"),r(void 0===e.debug,"Cannot override debug"),c.checkPreferences(e);const t=this.clone();return t._preferences=c.preferences(t._preferences,e),t}presence(e){return r(["optional","required","forbidden"].includes(e),"Unknown presence mode",e),this.$_setFlag("presence",e)}raw(e=!0){return this.$_setFlag("result",e?"raw":void 0)}result(e){return r(["raw","strip"].includes(e),"Unknown result mode",e),this.$_setFlag("result",e)}required(){return this.presence("required")}strict(e){const t=this.clone(),n=void 0!==e&&!e;return t._preferences=c.preferences(t._preferences,{convert:n}),t}strip(e=!0){return this.$_setFlag("result",e?"strip":void 0)}tag(...e){r(e.length,"Missing tags");for(const t of e)r(t&&"string"==typeof t,"Tags must be non-empty strings");return this._inner("tags",e)}unit(e){return r(e&&"string"==typeof e,"Unit name must be a non-empty string"),this.$_setFlag("unit",e)}valid(...e){c.verifyFlat(e,"valid");const t=this.allow(...e);return t.$_setFlag("only",!!t._valids,{clone:!1}),t}when(e,t){const n=this.clone();n.$_terms.whens||(n.$_terms.whens=[]);const i=l.when(n,e,t);if(!["any","link"].includes(n.type)){const e=i.is?[i]:i.switch;for(const t of e)r(!t.then||"any"===t.then.type||t.then.type===n.type,"Cannot combine",n.type,"with",t.then&&t.then.type),r(!t.otherwise||"any"===t.otherwise.type||t.otherwise.type===n.type,"Cannot combine",n.type,"with",t.otherwise&&t.otherwise.type)}return n.$_terms.whens.push(i),n.$_mutateRebuild()}cache(e){r(!this._inRuleset(),"Cannot set caching inside a ruleset"),r(!this._cache,"Cannot override schema cache"),r(void 0===this._flags.artifact,"Cannot cache a rule with an artifact");const t=this.clone();return t._cache=e||s.provider.provision(),t.$_temp.ruleset=!1,t}clone(){const e=Object.create(Object.getPrototypeOf(this));return this._assign(e)}concat(e){r(c.isSchema(e),"Invalid schema object"),r("any"===this.type||"any"===e.type||e.type===this.type,"Cannot merge type",this.type,"with another type:",e.type),r(!this._inRuleset(),"Cannot concatenate onto a schema with open ruleset"),r(!e._inRuleset(),"Cannot concatenate a schema with open ruleset");let t=this.clone();if("any"===this.type&&"any"!==e.type){const n=e.clone();for(const e of Object.keys(t))"type"!==e&&(n[e]=t[e]);t=n}t._ids.concat(e._ids),t._refs.register(e,m.toSibling),t._preferences=t._preferences?c.preferences(t._preferences,e._preferences):e._preferences,t._valids=g.merge(t._valids,e._valids,e._invalids),t._invalids=g.merge(t._invalids,e._invalids,e._valids);for(const n of e._singleRules.keys())t._singleRules.has(n)&&(t._rules=t._rules.filter(e=>e.keep||e.name!==n),t._singleRules.delete(n));for(const n of e._rules)e._definition.rules[n.method].multi||t._singleRules.set(n.name,n),t._rules.push(n);if(t._flags.empty&&e._flags.empty){t._flags.empty=t._flags.empty.concat(e._flags.empty);const n=Object.assign({},e._flags);delete n.empty,a(t._flags,n)}else if(e._flags.empty){t._flags.empty=e._flags.empty;const n=Object.assign({},e._flags);delete n.empty,a(t._flags,n)}else a(t._flags,e._flags);for(const n in e.$_terms){const r=e.$_terms[n];r?t.$_terms[n]?t.$_terms[n]=t.$_terms[n].concat(r):t.$_terms[n]=r.slice():t.$_terms[n]||(t.$_terms[n]=r)}return this.$_root._tracer&&this.$_root._tracer._combine(t,[this,e]),t.$_mutateRebuild()}extend(e){return r(!e.base,"Cannot extend type with another base"),f.type(this,e)}extract(e){return e=Array.isArray(e)?e:e.split("."),this._ids.reach(e)}fork(e,t){r(!this._inRuleset(),"Cannot fork inside a ruleset");let n=this;for(let r of[].concat(e))r=Array.isArray(r)?r:r.split("."),n=n._ids.fork(r,t,n);return n.$_temp.ruleset=!1,n}rule(e){const t=this._definition;c.assertOptions(e,Object.keys(t.modifiers)),r(!1!==this.$_temp.ruleset,"Cannot apply rules to empty ruleset or the last rule added does not support rule properties");const n=null===this.$_temp.ruleset?this._rules.length-1:this.$_temp.ruleset;r(n>=0&&nt.tailor(e),ref:!1}),t.$_temp.ruleset=!1,t.$_mutateRebuild()}tracer(){return b.location?b.location(this):this}validate(e,t){return y.entry(e,this,t)}validateAsync(e,t){return y.entryAsync(e,this,t)}$_addRule(e){"string"==typeof e&&(e={name:e}),r(e&&"object"==typeof e,"Invalid options"),r(e.name&&"string"==typeof e.name,"Invalid rule name");for(const t in e)r("_"!==t[0],"Cannot set private rule properties");const t=Object.assign({},e);t._resolve=[],t.method=t.method||t.name;const n=this._definition.rules[t.method],i=t.args;r(n,"Unknown rule",t.method);const o=this.clone();if(i){r(1===Object.keys(i).length||Object.keys(i).length===this._definition.rules[t.name].args.length,"Invalid rule definition for",this.type,t.name);for(const e in i){let a=i[e];if(void 0!==a){if(n.argsByName){const s=n.argsByName.get(e);if(s.ref&&c.isResolvable(a))t._resolve.push(e),o.$_mutateRegister(a);else if(s.normalize&&(a=s.normalize(a),i[e]=a),s.assert){const t=c.validateArg(a,e,s);r(!t,t,"or reference")}}i[e]=a}else delete i[e]}}return n.multi||(o._ruleRemove(t.name,{clone:!1}),o._singleRules.set(t.name,t)),!1===o.$_temp.ruleset&&(o.$_temp.ruleset=null),n.priority?o._rules.unshift(t):o._rules.push(t),o}$_compile(e,t){return l.schema(this.$_root,e,t)}$_createError(e,t,n,r,i,o={}){const a=!1!==o.flags?this._flags:{},s=o.messages?p.merge(this._definition.messages,o.messages):this._definition.messages;return new u.Report(e,t,n,a,s,r,i)}$_getFlag(e){return this._flags[e]}$_getRule(e){return this._singleRules.get(e)}$_mapLabels(e){return e=Array.isArray(e)?e:e.split("."),this._ids.labels(e)}$_match(e,t,n,r){(n=Object.assign({},n)).abortEarly=!0,n._externals=!1,t.snapshot();const i=!y.validate(e,this,t,n,r).errors;return t.restore(),i}$_modify(e){return c.assertOptions(e,["each","once","ref","schema"]),h.schema(this,e)||this}$_mutateRebuild(){return r(!this._inRuleset(),"Cannot add this rule inside a ruleset"),this._refs.reset(),this._ids.reset(),this.$_modify({each:(e,{source:t,name:n,path:r,key:i})=>{const o=this._definition[t][n]&&this._definition[t][n].register;!1!==o&&this.$_mutateRegister(e,{family:o,key:i})}}),this._definition.rebuild&&this._definition.rebuild(this),this.$_temp.ruleset=!1,this}$_mutateRegister(e,{family:t,key:n}={}){this._refs.register(e,t),this._ids.register(e,{key:n})}$_property(e){return this._definition.properties[e]}$_reach(e){return this._ids.reach(e)}$_rootReferences(){return this._refs.roots()}$_setFlag(e,t,n={}){r("_"===e[0]||!this._inRuleset(),"Cannot set flag inside a ruleset");const i=this._definition.flags[e]||{};if(o(t,i.default)&&(t=void 0),o(t,this._flags[e]))return this;const a=!1!==n.clone?this.clone():this;return void 0!==t?(a._flags[e]=t,a.$_mutateRegister(t)):delete a._flags[e],"_"!==e[0]&&(a.$_temp.ruleset=!1),a}$_parent(e,...t){return this[e][c.symbols.parent].call(this,...t)}$_validate(e,t,n){return y.validate(e,this,t,n)}_assign(e){e.type=this.type,e.$_root=this.$_root,e.$_temp=Object.assign({},this.$_temp),e.$_temp.whens={},e._ids=this._ids.clone(),e._preferences=this._preferences,e._valids=this._valids&&this._valids.clone(),e._invalids=this._invalids&&this._invalids.clone(),e._rules=this._rules.slice(),e._singleRules=i(this._singleRules,{shallow:!0}),e._refs=this._refs.clone(),e._flags=Object.assign({},this._flags),e._cache=null,e.$_terms={};for(const t in this.$_terms)e.$_terms[t]=this.$_terms[t]?this.$_terms[t].slice():null;e.$_super={};for(const t in this.$_super)e.$_super[t]=this._super[t].bind(e);return e}_bare(){const e=this.clone();e._reset();const t=e._definition.terms;for(const n in t){const r=t[n];e.$_terms[n]=r.init}return e.$_mutateRebuild()}_default(e,t,n={}){return c.assertOptions(n,"literal"),r(void 0!==t,"Missing",e,"value"),r("function"==typeof t||!n.literal,"Only function value supports literal option"),"function"==typeof t&&n.literal&&(t={[c.symbols.literal]:!0,literal:t}),this.$_setFlag(e,t)}_generate(e,t,n){if(!this.$_terms.whens)return{schema:this};const r=[],i=[];for(let o=0;ol)break}const o=i.join(", ");if(t.mainstay.tracer.debug(t,"rule","when",o),!o)return{schema:this};if(!t.mainstay.tracer.active&&this.$_temp.whens[o])return{schema:this.$_temp.whens[o],id:o};let a=this;this._definition.generate&&(a=this._definition.generate(this,e,t,n));for(const e of r)a=a.concat(e);return this.$_root._tracer&&this.$_root._tracer._combine(a,[this,...r]),this.$_temp.whens[o]=a,{schema:a,id:o}}_inner(e,t,n={}){r(!this._inRuleset(),"Cannot set ".concat(e," inside a ruleset"));const i=this.clone();return i.$_terms[e]&&!n.override||(i.$_terms[e]=[]),n.single?i.$_terms[e].push(t):i.$_terms[e].push(...t),i.$_temp.ruleset=!1,i}_inRuleset(){return null!==this.$_temp.ruleset&&!1!==this.$_temp.ruleset}_ruleRemove(e,t={}){if(!this._singleRules.has(e))return this;const n=!1!==t.clone?this.clone():this;n._singleRules.delete(e);const r=[];for(let t=0;t{if(n===(e._flags.id||t))return r},ref:!1});return i?i.$_mutateRebuild():e},t.schema=function(e,t){let n;for(const r in e._flags){if("_"===r[0])continue;const i=l.scan(e._flags[r],{source:"flags",name:r},t);void 0!==i&&(n=n||e.clone(),n._flags[r]=i)}for(let r=0;rt.$_createError(i,e,o,a||n,r),a={original:e,prefs:r,schema:t,state:n,error:o,errorsArray:u.errorsArray,warn:(e,t,r)=>n.mainstay.warnings.push(o(e,t,r)),message:(i,o)=>t.$_createError("custom",e,o,n,r,{messages:i})};n.mainstay.tracer.entry(t,n);const c=t._definition;if(c.prepare&&void 0!==e&&r.convert){const t=c.prepare(e,a);if(t){if(n.mainstay.tracer.value(n,"prepare",e,t.value),t.errors)return u.finalize(t.value,[].concat(t.errors),a);e=t.value}}if(c.coerce&&void 0!==e&&r.convert&&(!c.coerce.from||c.coerce.from.includes(typeof e))){const t=c.coerce.method(e,a);if(t){if(n.mainstay.tracer.value(n,"coerced",e,t.value),t.errors)return u.finalize(t.value,[].concat(t.errors),a);e=t.value}}const l=t._flags.empty;l&&l.$_match(u.trim(e,t),n.nest(l),s.defaults)&&(n.mainstay.tracer.value(n,"empty",e,void 0),e=void 0);const f=i.presence||t._flags.presence||(t._flags._endedSwitch?null:r.presence);if(void 0===e){if("forbidden"===f)return u.finalize(e,null,a);if("required"===f)return u.finalize(e,[t.$_createError("any.required",e,null,n,r)],a);if("optional"===f){if(t._flags.default!==s.symbols.deepDefault)return u.finalize(e,null,a);n.mainstay.tracer.value(n,"default",e,{}),e={}}}else if("forbidden"===f)return u.finalize(e,[t.$_createError("any.unknown",e,null,n,r)],a);const d=[];if(t._valids){const i=t._valids.get(e,n,r,t._flags.insensitive);if(i)return r.convert&&(n.mainstay.tracer.value(n,"valids",e,i.value),e=i.value),n.mainstay.tracer.filter(t,n,"valid",i),u.finalize(e,null,a);if(t._flags.only){const i=t.$_createError("any.only",e,{valids:t._valids.values({display:!0})},n,r);if(r.abortEarly)return u.finalize(e,[i],a);d.push(i)}}if(t._invalids){const i=t._invalids.get(e,n,r,t._flags.insensitive);if(i){n.mainstay.tracer.filter(t,n,"invalid",i);const o=t.$_createError("any.invalid",e,{invalids:t._invalids.values({display:!0})},n,r);if(r.abortEarly)return u.finalize(e,[o],a);d.push(o)}}if(c.validate){const t=c.validate(e,a);if(t&&(n.mainstay.tracer.value(n,"base",e,t.value),e=t.value,t.errors)){if(!Array.isArray(t.errors))return d.push(t.errors),u.finalize(e,d,a);if(t.errors.length)return d.push(...t.errors),u.finalize(e,d,a)}}return t._rules.length?u.rules(e,d,a):u.finalize(e,d,a)},u.rules=function(e,t,n){const{schema:r,state:i,prefs:o}=n;for(const a of r._rules){const c=r._definition.rules[a.method];if(c.convert&&o.convert){i.mainstay.tracer.log(r,i,"rule",a.name,"full");continue}let l,f=a.args;if(a._resolve.length){f=Object.assign({},f);for(const t of a._resolve){const n=c.argsByName.get(t),a=f[t].resolve(e,i,o),u=n.normalize?n.normalize(a):a,d=s.validateArg(u,null,n);if(d){l=r.$_createError("any.ref",a,{arg:t,ref:f[t],reason:d},i,o);break}f[t]=u}}l=l||c.validate(e,n,f,a);const d=u.rule(l,a);if(d.errors){if(i.mainstay.tracer.log(r,i,"rule",a.name,"error"),a.warn){i.mainstay.warnings.push(...d.errors);continue}if(o.abortEarly)return u.finalize(e,d.errors,n);t.push(...d.errors)}else i.mainstay.tracer.log(r,i,"rule",a.name,"pass"),i.mainstay.tracer.value(i,"rule",e,d.value,a.name),e=d.value}return u.finalize(e,t,n)},u.rule=function(e,t){return e instanceof c.Report?(u.error(e,t),{errors:[e],value:null}):Array.isArray(e)&&e[s.symbols.errors]?(e.forEach(e=>u.error(e,t)),{errors:e,value:null}):{errors:null,value:e}},u.error=function(e,t){return t.message&&e._setTemplate(t.message),e},u.finalize=function(e,t,n){t=t||[];const{schema:i,state:o,prefs:a}=n;if(t.length){const r=u.default("failover",void 0,t,n);void 0!==r&&(o.mainstay.tracer.value(o,"failover",e,r),e=r,t=[])}if(t.length&&i._flags.error)if("function"==typeof i._flags.error){t=i._flags.error(t),Array.isArray(t)||(t=[t]);for(const e of t)r(e instanceof Error||e instanceof c.Report,"error() must return an Error object")}else t=[i._flags.error];if(void 0===e){const r=u.default("default",e,t,n);o.mainstay.tracer.value(o,"default",e,r),e=r}if(i._flags.cast&&void 0!==e){const t=i._definition.cast[i._flags.cast];if(t.from(e)){const r=t.to(e,n);o.mainstay.tracer.value(o,"cast",e,r,i._flags.cast),e=r}}if(i.$_terms.externals&&a.externals&&!1!==a._externals)for(const{method:e}of i.$_terms.externals)o.mainstay.externals.push({method:e,path:o.path,label:c.label(i._flags,o,a)});const s={value:e,errors:t.length?t:null};return i._flags.result&&(s.value="strip"===i._flags.result?void 0:n.original,o.mainstay.tracer.value(o,i._flags.result,e,s.value),o.shadow(e,i._flags.result)),i._cache&&!1!==a.cache&&!i._refs.length&&i._cache.set(n.original,s),void 0===e||s.errors||void 0===i._flags.artifact||(o.mainstay.artifacts=o.mainstay.artifacts||new Map,o.mainstay.artifacts.has(i._flags.artifact)||o.mainstay.artifacts.set(i._flags.artifact,[]),o.mainstay.artifacts.get(i._flags.artifact).push(o.path)),s},u.prefs=function(e,t){const n=t===s.defaults;return n&&e._preferences[s.symbols.prefs]?e._preferences[s.symbols.prefs]:(t=s.preferences(t,e._preferences),n&&(e._preferences[s.symbols.prefs]=t),t)},u.default=function(e,t,n,r){const{schema:o,state:a,prefs:c}=r,l=o._flags[e];if(c.noDefaults||void 0===l)return t;if(a.mainstay.tracer.log(o,a,"rule",e,"full"),!l)return l;if("function"==typeof l){const s=l.length?[i(a.ancestors[0]),r]:[];try{return l(...s)}catch(t){return void n.push(o.$_createError("any.".concat(e),null,{error:t},a,c))}}return"object"!=typeof l?l:l[s.symbols.literal]?l.literal:s.isResolvable(l)?l.resolve(t,a,c):i(l)},u.trim=function(e,t){if("string"!=typeof e)return e;const n=t.$_getRule("trim");return n&&n.args.enabled?e.trim():e},u.ignore={active:!1,debug:o,entry:o,filter:o,log:o,resolve:o,value:o},u.errorsArray=function(){const e=[];return e[s.symbols.errors]=!0,e}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";const r=n(2),i=n(6),o=n(1),a={value:Symbol("value")};e.exports=a.State=class{constructor(e,t,n){this.path=e,this.ancestors=t,this.mainstay=n.mainstay,this.schemas=n.schemas,this.debug=null}localize(e,t=null,n=null){const r=new a.State(e,t,this);return n&&r.schemas&&(r.schemas=[a.schemas(n),...r.schemas]),r}nest(e,t){const n=new a.State(this.path,this.ancestors,this);return n.schemas=n.schemas&&[a.schemas(e),...n.schemas],n.debug=t,n}shadow(e,t){this.mainstay.shadow=this.mainstay.shadow||new a.Shadow,this.mainstay.shadow.set(this.path,e,t)}snapshot(){this.mainstay.shadow&&(this._snapshot=r(this.mainstay.shadow.node(this.path)))}restore(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0)}},a.schemas=function(e){return o.isSchema(e)?{schema:e}:e},a.Shadow=class{constructor(){this._values=null}set(e,t,n){if(!e.length)return;if("strip"===n&&"number"==typeof e[e.length-1])return;this._values=this._values||new Map;let r=this._values;for(let t=0;tthis.$_compile(e[n]),n,{append:!0});t.$_terms.items.push(r)}return t.$_mutateRebuild()},validate(e,{schema:t,error:n,state:r,prefs:i,errorsArray:o}){const a=t.$_terms._requireds.slice(),c=t.$_terms.ordered.slice(),u=[...t.$_terms._inclusions,...a],f=!e[s.symbols.arraySingle];delete e[s.symbols.arraySingle];const d=o();let p=e.length;for(let o=0;o="})}},ordered:{method(...e){s.verifyFlat(e,"ordered");const t=this.$_addRule("items");for(let n=0;nthis.$_compile(e[n]),n,{append:!0});l.validateSingle(r,t),t.$_mutateRegister(r),t.$_terms.ordered.push(r)}return t.$_mutateRebuild()}},single:{method(e){const t=void 0===e||!!e;return r(!t||!this._flags._arrayItems,"Cannot specify single rule when array has array items"),this.$_setFlag("single",t)}},sort:{method(e={}){s.assertOptions(e,["by","order"]);const t={order:e.order||"ascending"};return e.by&&(t.by=c.ref(e.by,{ancestor:0}),r(!t.by.ancestor,"Cannot sort by ancestor")),this.$_addRule({name:"sort",args:{options:t}})},validate(e,{error:t,state:n,prefs:r,schema:i},{options:o}){const{value:a,errors:s}=l.sort(i,e,o,n,r);if(s)return s;for(let n=0;nnew Set(e)}},rebuild(e){e.$_terms._inclusions=[],e.$_terms._exclusions=[],e.$_terms._requireds=[];for(const t of e.$_terms.items)l.validateSingle(t,e),"required"===t._flags.presence?e.$_terms._requireds.push(t):"forbidden"===t._flags.presence?e.$_terms._exclusions.push(t):e.$_terms._inclusions.push(t);for(const t of e.$_terms.ordered)l.validateSingle(t,e)},manifest:{build:(e,t)=>(t.items&&(e=e.items(...t.items)),t.ordered&&(e=e.ordered(...t.ordered)),e)},messages:{"array.base":"{{#label}} must be an array","array.excludes":"{{#label}} contains an excluded value","array.hasKnown":"{{#label}} does not contain at least one required match for type {:#patternLabel}","array.hasUnknown":"{{#label}} does not contain at least one required match","array.includes":"{{#label}} does not match any of the allowed types","array.includesRequiredBoth":"{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)","array.includesRequiredKnowns":"{{#label}} does not contain {{#knownMisses}}","array.includesRequiredUnknowns":"{{#label}} does not contain {{#unknownMisses}} required value(s)","array.length":"{{#label}} must contain {{#limit}} items","array.max":"{{#label}} must contain less than or equal to {{#limit}} items","array.min":"{{#label}} must contain at least {{#limit}} items","array.orderedLength":"{{#label}} must contain at most {{#limit}} items","array.sort":"{{#label}} must be sorted in {#order} order by {{#by}}","array.sort.mismatching":"{{#label}} cannot be sorted due to mismatching types","array.sort.unsupported":"{{#label}} cannot be sorted due to unsupported type {#type}","array.sparse":"{{#label}} must not be a sparse array item","array.unique":"{{#label}} contains a duplicate value"}}),l.fillMissedErrors=function(e,t,n,r,i,o){const a=[];let s=0;for(const e of n){const t=e._flags.label;t?a.push(t):++s}a.length?s?t.push(e.$_createError("array.includesRequiredBoth",r,{knownMisses:a,unknownMisses:s},i,o)):t.push(e.$_createError("array.includesRequiredKnowns",r,{knownMisses:a},i,o)):t.push(e.$_createError("array.includesRequiredUnknowns",r,{unknownMisses:s},i,o))},l.fillOrderedErrors=function(e,t,n,r,i,o){const a=[];for(const e of n)"required"===e._flags.presence&&a.push(e);a.length&&l.fillMissedErrors(e,t,a,r,i,o)},l.fastSplice=function(e,t){let n=t;for(;n{let f=l.compare(c,u,a,s);if(null!==f)return f;if(n.by&&(c=n.by.resolve(c,r,i),u=n.by.resolve(u,r,i)),f=l.compare(c,u,a,s),null!==f)return f;const d=typeof c;if(d!==typeof u)throw e.$_createError("array.sort.mismatching",t,null,r,i);if("number"!==d&&"string"!==d)throw e.$_createError("array.sort.unsupported",t,{type:d},r,i);return"number"===d?(c-u)*o:ce?1:0},string:{from:s.isBool,to:(e,t)=>e?"true":"false"}},manifest:{build:(e,t)=>(t.truthy&&(e=e.truthy(...t.truthy)),t.falsy&&(e=e.falsy(...t.falsy)),e)},messages:{"boolean.base":"{{#label}} must be a boolean"}})},function(e,t,n){"use strict";const r=n(0),i=n(3),o=n(1),a=n(7),s={isDate:function(e){return e instanceof Date}};e.exports=i.extend({type:"date",coerce:{from:["number","string"],method:(e,{schema:t})=>({value:s.parse(e,t._flags.format)||e})},validate(e,{schema:t,error:n,prefs:r}){if(e instanceof Date&&!isNaN(e.getTime()))return;const i=t._flags.format;return r.convert&&i&&"string"==typeof e?{value:e,errors:n("date.format",{format:i})}:{value:e,errors:n("date.base")}},rules:{compare:{method:!1,validate(e,t,{date:n},{name:r,operator:i,args:a}){const s="now"===n?Date.now():n.getTime();return o.compare(e.getTime(),s,i)?e:t.error("date."+r,{limit:a.date,value:e})},args:[{name:"date",ref:!0,normalize:e=>"now"===e?e:s.parse(e),assert:e=>null!==e,message:"must have a valid date format"}]},format:{method(e){return r(["iso","javascript","unix"].includes(e),"Unknown date format",e),this.$_setFlag("format",e)}},greater:{method(e){return this.$_addRule({name:"greater",method:"compare",args:{date:e},operator:">"})}},iso:{method(){return this.format("iso")}},less:{method(e){return this.$_addRule({name:"less",method:"compare",args:{date:e},operator:"<"})}},max:{method(e){return this.$_addRule({name:"max",method:"compare",args:{date:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"compare",args:{date:e},operator:">="})}},timestamp:{method(e="javascript"){return r(["javascript","unix"].includes(e),'"type" must be one of "javascript, unix"'),this.format(e)}}},cast:{number:{from:s.isDate,to:(e,t)=>e.getTime()},string:{from:s.isDate,to:(e,{prefs:t})=>a.date(e,t)}},messages:{"date.base":"{{#label}} must be a valid date","date.format":'{{#label}} must be in {msg("date.format." + #format) || #format} format',"date.greater":"{{#label}} must be greater than {{:#limit}}","date.less":"{{#label}} must be less than {{:#limit}}","date.max":"{{#label}} must be less than or equal to {{:#limit}}","date.min":"{{#label}} must be greater than or equal to {{:#limit}}","date.format.iso":"ISO 8601 date","date.format.javascript":"timestamp or number of milliseconds","date.format.unix":"timestamp or number of seconds"}}),s.parse=function(e,t){if(e instanceof Date)return e;if("string"!=typeof e&&(isNaN(e)||!isFinite(e)))return null;if(/^\s*$/.test(e))return null;if("iso"===t)return o.isIsoDate(e)?s.date(e.toString()):null;const n=e;if("string"==typeof e&&/^[+-]?\d+(\.\d+)?$/.test(e)&&(e=parseFloat(e)),t){if("javascript"===t)return s.date(1*e);if("unix"===t)return s.date(1e3*e);if("string"==typeof n)return null}return s.date(e)},s.date=function(e){const t=new Date(e);return isNaN(t.getTime())?null:t}},function(e,t,n){"use strict";const r=n(0),i=n(22);e.exports=i.extend({type:"function",properties:{typeof:"function"},rules:{arity:{method(e){return r(Number.isSafeInteger(e)&&e>=0,"n must be a positive integer"),this.$_addRule({name:"arity",args:{n:e}})},validate:(e,t,{n:n})=>e.length===n?e:t.error("function.arity",{n:n})},class:{method(){return this.$_addRule("class")},validate:(e,t)=>/^\s*class\s/.test(e.toString())?e:t.error("function.class",{value:e})},minArity:{method(e){return r(Number.isSafeInteger(e)&&e>0,"n must be a strict positive integer"),this.$_addRule({name:"minArity",args:{n:e}})},validate:(e,t,{n:n})=>e.length>=n?e:t.error("function.minArity",{n:n})},maxArity:{method(e){return r(Number.isSafeInteger(e)&&e>=0,"n must be a positive integer"),this.$_addRule({name:"maxArity",args:{n:e}})},validate:(e,t,{n:n})=>e.length<=n?e:t.error("function.maxArity",{n:n})}},messages:{"function.arity":"{{#label}} must have an arity of {{#n}}","function.class":"{{#label}} must be a class","function.maxArity":"{{#label}} must have an arity lesser or equal to {{#n}}","function.minArity":"{{#label}} must have an arity greater or equal to {{#n}}"}})},function(e,t,n){"use strict";const r=n(0),i=n(2),o=n(20),a=n(6),s={};e.exports=function(e,t,n={}){if(r(e&&"object"==typeof e,"Invalid defaults value: must be an object"),r(!t||!0===t||"object"==typeof t,"Invalid source value: must be true, falsy or an object"),r("object"==typeof n,"Invalid options: must be an object"),!t)return null;if(n.shallow)return s.applyToDefaultsWithShallow(e,t,n);const a=i(e);if(!0===t)return a;const c=void 0!==n.nullOverride&&n.nullOverride;return o(a,t,{nullOverride:c,mergeArrays:!1})},s.applyToDefaultsWithShallow=function(e,t,n){const c=n.shallow;r(Array.isArray(c),"Invalid keys");const l=new Map,u=!0===t?null:new Set;for(let n of c){n=Array.isArray(n)?n:n.split(".");const r=a(e,n);r&&"object"==typeof r?l.set(r,u&&a(t,n)||r):u&&u.add(n)}const f=i(e,{},l);if(!u)return f;for(const e of u)s.reachCopy(f,t,e);return o(f,t,{mergeArrays:!1,nullOverride:!1})},s.reachCopy=function(e,t,n){for(const e of n){if(!(e in t))return;t=t[e]}const r=t;let i=e;for(let e=0;ee.sort===t.sort?0:e.sorte.ref(t),validate(e,{schema:t,state:n,prefs:i}){r(t.$_terms.link,"Uninitialized link schema");const o=c.generate(t,e,n,i),a=t.$_terms.link[0].ref;return o.$_validate(e,n.nest(o,"link:".concat(a.display,":").concat(o.type)),i)},generate:(e,t,n,r)=>c.generate(e,t,n,r),rules:{ref:{method(e){r(!this.$_terms.link,"Cannot reinitialize schema"),e=a.ref(e),r("value"===e.type||"local"===e.type,"Invalid reference type:",e.type),r("local"===e.type||"root"===e.ancestor||e.ancestor>0,"Link cannot reference itself");const t=this.clone();return t.$_terms.link=[{ref:e}],t}},relative:{method(e=!0){return this.$_setFlag("relative",e)}}},overrides:{concat(e){r(this.$_terms.link,"Uninitialized link schema"),r(o.isSchema(e),"Invalid schema object"),r("link"!==e.type,"Cannot merge type link with another link");const t=this.clone();return t.$_terms.whens||(t.$_terms.whens=[]),t.$_terms.whens.push({concat:e}),t.$_mutateRebuild()}},manifest:{build:(e,t)=>(r(t.link,"Invalid link description missing link"),e.ref(t.link))}}),c.generate=function(e,t,n,r){let i=n.mainstay.links.get(e);if(i)return i._generate(t,n,r).schema;const o=e.$_terms.link[0].ref,{perspective:a,path:s}=c.perspective(o,n);c.assert(a,"which is outside of schema boundaries",o,e,n,r);try{i=s.length?a.$_reach(s):a}catch(t){c.assert(!1,"to non-existing schema",o,e,n,r)}return c.assert("link"!==i.type,"which is another link",o,e,n,r),e._flags.relative||n.mainstay.links.set(e,i),i._generate(t,n,r).schema},c.perspective=function(e,t){if("local"===e.type){for(const{schema:n,key:r}of t.schemas){if((n._flags.id||r)===e.path[0])return{perspective:n,path:e.path.slice(1)};if(n.$_terms.shared)for(const t of n.$_terms.shared)if(t._flags.id===e.path[0])return{perspective:t,path:e.path.slice(1)}}return{perspective:null,path:null}}return"root"===e.ancestor?{perspective:t.schemas[t.schemas.length-1].schema,path:e.path}:{perspective:t.schemas[e.ancestor]&&t.schemas[e.ancestor].schema,path:e.path}},c.assert=function(e,t,n,i,o,a){e||r(!1,'"'.concat(s.label(i._flags,o,a),'" contains link reference "').concat(n.display,'" ').concat(t))}},function(e,t,n){"use strict";const r=n(0),i=n(3),o=n(1),a={numberRx:/^\s*[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:e([+-]?\d+))?\s*$/i,precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/};e.exports=i.extend({type:"number",flags:{unsafe:{default:!1}},coerce:{from:"string",method(e,{schema:t,error:n}){const r=e.match(a.numberRx);if(!r)return;e=e.trim();const i={value:parseFloat(e)};if(0===i.value&&(i.value=0),!t._flags.unsafe)if(e.match(/e/i)){if(a.normalizeExponent("".concat(i.value/Math.pow(10,r[1]),"e").concat(r[1]))!==a.normalizeExponent(e))return i.errors=n("number.unsafe"),i}else{const t=i.value.toString();if(t.match(/e/i))return i;if(t!==a.normalizeDecimal(e))return i.errors=n("number.unsafe"),i}return i}},validate(e,{schema:t,error:n,prefs:r}){if(e===1/0||e===-1/0)return{value:e,errors:n("number.infinity")};if(!o.isNumber(e))return{value:e,errors:n("number.base")};const i={value:e};if(r.convert){const e=t.$_getRule("precision");if(e){const t=Math.pow(10,e.args.limit);i.value=Math.round(i.value*t)/t}}return 0===i.value&&(i.value=0),!t._flags.unsafe&&(e>Number.MAX_SAFE_INTEGER||eo.compare(e,n,i)?e:t.error("number."+r,{limit:a.limit,value:e}),args:[{name:"limit",ref:!0,assert:o.isNumber,message:"must be a number"}]},greater:{method(e){return this.$_addRule({name:"greater",method:"compare",args:{limit:e},operator:">"})}},integer:{method(){return this.$_addRule("integer")},validate:(e,t)=>Math.trunc(e)-e==0?e:t.error("number.integer")},less:{method(e){return this.$_addRule({name:"less",method:"compare",args:{limit:e},operator:"<"})}},max:{method(e){return this.$_addRule({name:"max",method:"compare",args:{limit:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"compare",args:{limit:e},operator:">="})}},multiple:{method(e){return this.$_addRule({name:"multiple",args:{base:e}})},validate:(e,t,{base:n},r)=>e%n==0?e:t.error("number.multiple",{multiple:r.args.base,value:e}),args:[{name:"base",ref:!0,assert:e=>"number"==typeof e&&isFinite(e)&&e>0,message:"must be a positive number"}],multi:!0},negative:{method(){return this.sign("negative")}},port:{method(){return this.$_addRule("port")},validate:(e,t)=>Number.isSafeInteger(e)&&e>=0&&e<=65535?e:t.error("number.port")},positive:{method(){return this.sign("positive")}},precision:{method(e){return r(Number.isSafeInteger(e),"limit must be an integer"),this.$_addRule({name:"precision",args:{limit:e}})},validate(e,t,{limit:n}){const r=e.toString().match(a.precisionRx);return Math.max((r[1]?r[1].length:0)-(r[2]?parseInt(r[2],10):0),0)<=n?e:t.error("number.precision",{limit:n,value:e})},convert:!0},sign:{method(e){return r(["negative","positive"].includes(e),"Invalid sign",e),this.$_addRule({name:"sign",args:{sign:e}})},validate:(e,t,{sign:n})=>"negative"===n&&e<0||"positive"===n&&e>0?e:t.error("number.".concat(n))},unsafe:{method(e=!0){return r("boolean"==typeof e,"enabled must be a boolean"),this.$_setFlag("unsafe",e)}}},cast:{string:{from:e=>"number"==typeof e,to:(e,t)=>e.toString()}},messages:{"number.base":"{{#label}} must be a number","number.greater":"{{#label}} must be greater than {{#limit}}","number.infinity":"{{#label}} cannot be infinity","number.integer":"{{#label}} must be an integer","number.less":"{{#label}} must be less than {{#limit}}","number.max":"{{#label}} must be less than or equal to {{#limit}}","number.min":"{{#label}} must be greater than or equal to {{#limit}}","number.multiple":"{{#label}} must be a multiple of {{#multiple}}","number.negative":"{{#label}} must be a negative number","number.port":"{{#label}} must be a valid port","number.positive":"{{#label}} must be a positive number","number.precision":"{{#label}} must have no more than {{#limit}} decimal places","number.unsafe":"{{#label}} must be a safe number"}}),a.normalizeExponent=function(e){return e.replace(/E/,"e").replace(/\.(\d*[1-9])?0+e/,".$1e").replace(/\.e/,"e").replace(/e\+/,"e").replace(/^\+/,"").replace(/^(-?)0+([1-9])/,"$1$2")},a.normalizeDecimal=function(e){return(e=e.replace(/^\+/,"").replace(/\.0*$/,"").replace(/^(-?)\.([^\.]*)$/,"$10.$2").replace(/^(-?)0+([0-9])/,"$1$2")).includes(".")&&e.endsWith("0")&&(e=e.replace(/0+$/,"")),"-0"===e?"0":e}},function(e,t,n){"use strict";const r=n(22);e.exports=r.extend({type:"object",cast:{map:{from:e=>e&&"object"==typeof e,to:(e,t)=>new Map(Object.entries(e))}}})},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t"string"!=typeof e?{value:e,errors:t("string.base")}:""===e?{value:e,errors:t("string.empty")}:void 0,rules:{alphanum:{method(){return this.$_addRule("alphanum")},validate:(e,t)=>/^[a-zA-Z0-9]+$/.test(e)?e:t.error("string.alphanum")},base64:{method(e={}){return h.assertOptions(e,["paddingRequired","urlSafe"]),e=i({urlSafe:!1,paddingRequired:!0},e),a("boolean"==typeof e.paddingRequired,"paddingRequired must be boolean"),a("boolean"==typeof e.urlSafe,"urlSafe must be boolean"),this.$_addRule({name:"base64",args:{options:e}})},validate:(e,t,{options:n})=>m.base64Regex[n.paddingRequired][n.urlSafe].test(e)?e:t.error("string.base64")},case:{method(e){return a(["lower","upper"].includes(e),"Invalid case:",e),this.$_addRule({name:"case",args:{direction:e}})},validate:(e,t,{direction:n})=>"lower"===n&&e===e.toLocaleLowerCase()||"upper"===n&&e===e.toLocaleUpperCase()?e:t.error("string.".concat(n,"case")),convert:!0},creditCard:{method(){return this.$_addRule("creditCard")},validate(e,t){let n=e.length,r=0,i=1;for(;n--;){const t=e.charAt(n)*i;r+=t-9*(t>9),i^=3}return r>0&&r%10==0?e:t.error("string.creditCard")}},dataUri:{method(e={}){return h.assertOptions(e,["paddingRequired"]),e=i({paddingRequired:!0},e),a("boolean"==typeof e.paddingRequired,"paddingRequired must be boolean"),this.$_addRule({name:"dataUri",args:{options:e}})},validate(e,t,{options:n}){const r=e.match(m.dataUriRegex);if(r){if(!r[2])return e;if("base64"!==r[2])return e;if(m.base64Regex[n.paddingRequired].false.test(r[3]))return e}return t.error("string.dataUri")}},domain:{method(e){e&&h.assertOptions(e,["allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const t=m.addressOptions(e);return this.$_addRule({name:"domain",args:{options:e},address:t})},validate:(e,t,n,{address:r})=>s.isValid(e,r)?e:t.error("string.domain")},email:{method(e={}){h.assertOptions(e,["allowUnicode","ignoreLength","maxDomainSegments","minDomainSegments","multiple","separator","tlds"]),a(void 0===e.multiple||"boolean"==typeof e.multiple,"multiple option must be an boolean");const t=m.addressOptions(e),n=new RegExp("\\s*[".concat(e.separator?u(e.separator):",","]\\s*"));return this.$_addRule({name:"email",args:{options:e},regex:n,address:t})},validate(e,t,{options:n},{regex:r,address:i}){const o=n.multiple?e.split(r):[e],a=[];for(const e of o)c.isValid(e,i)||a.push(e);return a.length?t.error("string.email",{value:e,invalids:a}):e}},guid:{alias:"uuid",method(e={}){h.assertOptions(e,["version","separator"]);let t="";if(e.version){const n=[].concat(e.version);a(n.length>=1,"version must have at least 1 valid version specified");const r=new Set;for(let e=0;em.hexRegex.test(e)?n.byteAligned&&e.length%2!=0?t.error("string.hexAlign"):e:t.error("string.hex")},hostname:{method(){return this.$_addRule("hostname")},validate:(e,t)=>s.isValid(e,{minDomainSegments:1})||m.ipRegex.test(e)?e:t.error("string.hostname")},insensitive:{method(){return this.$_setFlag("insensitive",!0)}},ip:{method(e={}){h.assertOptions(e,["cidr","version"]);const{cidr:t,versions:n,regex:r}=l.regex(e),i=e.version?n:void 0;return this.$_addRule({name:"ip",args:{options:{cidr:t,version:i}},regex:r})},validate:(e,t,{options:n},{regex:r})=>r.test(e)?e:n.version?t.error("string.ipVersion",{value:e,cidr:n.cidr,version:n.version}):t.error("string.ip",{value:e,cidr:n.cidr})},isoDate:{method(){return this.$_addRule("isoDate")},validate:(e,{error:t})=>m.isoDate(e)?e:t("string.isoDate")},isoDuration:{method(){return this.$_addRule("isoDuration")},validate:(e,t)=>m.isoDurationRegex.test(e)?e:t.error("string.isoDuration")},length:{method(e,t){return m.length(this,"length",e,"=",t)},validate(e,t,{limit:n,encoding:r},{name:i,operator:o,args:a}){const s=!r&&e.length;return h.compare(s,n,o)?e:t.error("string."+i,{limit:a.limit,value:e,encoding:r})},args:[{name:"limit",ref:!0,assert:h.limit,message:"must be a positive integer"},"encoding"]},lowercase:{method(){return this.case("lower")}},max:{method(e,t){return m.length(this,"max",e,"<=",t)},args:["limit","encoding"]},min:{method(e,t){return m.length(this,"min",e,">=",t)},args:["limit","encoding"]},normalize:{method(e="NFC"){return a(m.normalizationForms.includes(e),"normalization form must be one of "+m.normalizationForms.join(", ")),this.$_addRule({name:"normalize",args:{form:e}})},validate:(e,{error:t},{form:n})=>e===e.normalize(n)?e:t("string.normalize",{value:e,form:n}),convert:!0},pattern:{alias:"regex",method(e,t={}){a(e instanceof RegExp,"regex must be a RegExp"),a(!e.flags.includes("g")&&!e.flags.includes("y"),"regex should not use global or sticky mode"),"string"==typeof t&&(t={name:t}),h.assertOptions(t,["invert","name"]);const n=["string.pattern",t.invert?".invert":"",t.name?".name":".base"].join("");return this.$_addRule({name:"pattern",args:{regex:e,options:t},errorCode:n})},validate:(e,t,{regex:n,options:r},{errorCode:i})=>n.test(e)^r.invert?e:t.error(i,{name:r.name,regex:n,value:e}),args:["regex","options"],multi:!0},replace:{method(e,t){"string"==typeof e&&(e=new RegExp(u(e),"g")),a(e instanceof RegExp,"pattern must be a RegExp"),a("string"==typeof t,"replacement must be a String");const n=this.clone();return n.$_terms.replacements||(n.$_terms.replacements=[]),n.$_terms.replacements.push({pattern:e,replacement:t}),n}},token:{method(){return this.$_addRule("token")},validate:(e,t)=>/^\w+$/.test(e)?e:t.error("string.token")},trim:{method(e=!0){return a("boolean"==typeof e,"enabled must be a boolean"),this.$_addRule({name:"trim",args:{enabled:e}})},validate:(e,t,{enabled:n})=>n&&e!==e.trim()?t.error("string.trim"):e,convert:!0},truncate:{method(e=!0){return a("boolean"==typeof e,"enabled must be a boolean"),this.$_setFlag("truncate",e)}},uppercase:{method(){return this.case("upper")}},uri:{method(e={}){h.assertOptions(e,["allowRelative","allowQuerySquareBrackets","domain","relativeOnly","scheme"]),e.domain&&h.assertOptions(e.domain,["allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const{regex:t,scheme:n}=d.regex(e),r=e.domain?m.addressOptions(e.domain):null;return this.$_addRule({name:"uri",args:{options:e},regex:t,domain:r,scheme:n})},validate(e,t,{options:n},{regex:r,domain:i,scheme:o}){if(["http:/","https:/"].includes(e))return t.error("string.uri");const a=r.exec(e);if(a){if(i){const e=a[1]||a[2];if(!s.isValid(e,i))return t.error("string.domain",{value:e})}return e}return n.relativeOnly?t.error("string.uriRelativeOnly"):n.scheme?t.error("string.uriCustomScheme",{scheme:o,value:e}):t.error("string.uri")}}},manifest:{build(e,t){if(t.replacements)for(const{pattern:n,replacement:r}of t.replacements)e=e.replace(n,r);return e}},messages:{"string.alphanum":"{{#label}} must only contain alpha-numeric characters","string.base":"{{#label}} must be a string","string.base64":"{{#label}} must be a valid base64 string","string.creditCard":"{{#label}} must be a credit card","string.dataUri":"{{#label}} must be a valid dataUri string","string.domain":"{{#label}} must contain a valid domain name","string.email":"{{#label}} must be a valid email","string.empty":"{{#label}} is not allowed to be empty","string.guid":"{{#label}} must be a valid GUID","string.hex":"{{#label}} must only contain hexadecimal characters","string.hexAlign":"{{#label}} hex decoded representation must be byte aligned","string.hostname":"{{#label}} must be a valid hostname","string.ip":"{{#label}} must be a valid ip address with a {{#cidr}} CIDR","string.ipVersion":"{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR","string.isoDate":"{{#label}} must be in iso format","string.isoDuration":"{{#label}} must be a valid ISO 8601 duration","string.length":"{{#label}} length must be {{#limit}} characters long","string.lowercase":"{{#label}} must only contain lowercase characters","string.max":"{{#label}} length must be less than or equal to {{#limit}} characters long","string.min":"{{#label}} length must be at least {{#limit}} characters long","string.normalize":"{{#label}} must be unicode normalized in the {{#form}} form","string.token":"{{#label}} must only contain alpha-numeric and underscore characters","string.pattern.base":"{{#label}} with value {:[.]} fails to match the required pattern: {{#regex}}","string.pattern.name":"{{#label}} with value {:[.]} fails to match the {{#name}} pattern","string.pattern.invert.base":"{{#label}} with value {:[.]} matches the inverted pattern: {{#regex}}","string.pattern.invert.name":"{{#label}} with value {:[.]} matches the inverted {{#name}} pattern","string.trim":"{{#label}} must not have leading or trailing whitespace","string.uri":"{{#label}} must be a valid uri","string.uriCustomScheme":"{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern","string.uriRelativeOnly":"{{#label}} must be a valid relative uri","string.uppercase":"{{#label}} must only contain uppercase characters"}}),m.addressOptions=function(e){if(!e)return e;if(a(void 0===e.minDomainSegments||Number.isSafeInteger(e.minDomainSegments)&&e.minDomainSegments>0,"minDomainSegments must be a positive integer"),a(void 0===e.maxDomainSegments||Number.isSafeInteger(e.maxDomainSegments)&&e.maxDomainSegments>0,"maxDomainSegments must be a positive integer"),!1===e.tlds)return e;if(!0===e.tlds||void 0===e.tlds)return a(m.tlds,"Built-in TLD list disabled"),Object.assign({},e,m.tlds);a("object"==typeof e.tlds,"tlds must be true, false, or an object");const t=e.tlds.deny;if(t)return Array.isArray(t)&&(e=Object.assign({},e,{tlds:{deny:new Set(t)}})),a(e.tlds.deny instanceof Set,"tlds.deny must be an array, Set, or boolean"),a(!e.tlds.allow,"Cannot specify both tlds.allow and tlds.deny lists"),m.validateTlds(e.tlds.deny,"tlds.deny"),e;const n=e.tlds.allow;return n?!0===n?(a(m.tlds,"Built-in TLD list disabled"),Object.assign({},e,m.tlds)):(Array.isArray(n)&&(e=Object.assign({},e,{tlds:{allow:new Set(n)}})),a(e.tlds.allow instanceof Set,"tlds.allow must be an array, Set, or boolean"),m.validateTlds(e.tlds.allow,"tlds.allow"),e):e},m.validateTlds=function(e,t){for(const n of e)a(s.isValid(n,{minDomainSegments:1,maxDomainSegments:1}),"".concat(t," must contain valid top level domain names"))},m.isoDate=function(e){if(!h.isIsoDate(e))return null;/.*T.*[+-]\d\d$/.test(e)&&(e+="00");const t=new Date(e);return isNaN(t.getTime())?null:t.toISOString()},m.length=function(e,t,n,r,i){return a(!i||!1,"Invalid encoding:",i),e.$_addRule({name:t,method:"length",args:{limit:n,encoding:i},operator:r})}},function(e,t,n){"use strict";const r=n(24),i=n(23),o=n(25),a={nonAsciiRx:/[^\x00-\x7f]/,encoder:new(r.TextEncoder||TextEncoder)};t.analyze=function(e,t){return a.email(e,t)},t.isValid=function(e,t){return!a.email(e,t)},a.email=function(e,t={}){if("string"!=typeof e)throw new Error("Invalid input: email must be a string");if(!e)return o.code("EMPTY_STRING");const n=!a.nonAsciiRx.test(e);if(!n){if(!1===t.allowUnicode)return o.code("FORBIDDEN_UNICODE");e=e.normalize("NFC")}const r=e.split("@");if(2!==r.length)return r.length>2?o.code("MULTIPLE_AT_CHAR"):o.code("MISSING_AT_CHAR");const[s,c]=r;if(!s)return o.code("EMPTY_LOCAL");if(!t.ignoreLength){if(e.length>254)return o.code("ADDRESS_TOO_LONG");if(a.encoder.encode(s).length>64)return o.code("LOCAL_TOO_LONG")}return a.local(s,n)||i.analyze(c,t)},a.local=function(e,t){const n=e.split(".");for(const e of n){if(!e.length)return o.code("EMPTY_LOCAL_SEGMENT");if(t){if(!a.atextRx.test(e))return o.code("INVALID_LOCAL_CHARS")}else for(const t of e){if(a.atextRx.test(t))continue;const e=a.binary(t);if(!a.atomRx.test(e))return o.code("INVALID_LOCAL_CHARS")}}},a.binary=function(e){return Array.from(a.encoder.encode(e)).map(e=>String.fromCharCode(e)).join("")},a.atextRx=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,a.atomRx=new RegExp(["(?:[\\xc2-\\xdf][\\x80-\\xbf])","(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})","(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})"].join("|"))},function(e,t,n){"use strict";const r=n(0),i=n(26);t.regex=function(e={}){r(void 0===e.cidr||"string"==typeof e.cidr,"options.cidr must be a string");const t=e.cidr?e.cidr.toLowerCase():"optional";r(["required","optional","forbidden"].includes(t),"options.cidr must be one of required, optional, forbidden"),r(void 0===e.version||"string"==typeof e.version||Array.isArray(e.version),"options.version must be a string or an array of string");let n=e.version||["ipv4","ipv6","ipvfuture"];Array.isArray(n)||(n=[n]),r(n.length>=1,"options.version must have at least 1 version specified");for(let e=0;e{if("forbidden"===t)return i.ip[e];const n="\\/".concat("ipv4"===e?i.ip.v4Cidr:i.ip.v6Cidr);return"required"===t?"".concat(i.ip[e]).concat(n):"".concat(i.ip[e],"(?:").concat(n,")?")}),a="(?:".concat(o.join("|"),")"),s=new RegExp("^".concat(a,"$"));return{cidr:t,versions:n,regex:s,raw:a}}},function(e,t){},function(e,t,n){"use strict";const r=n(0),i=n(3),o={};o.Map=class extends Map{slice(){return new o.Map(this)}},e.exports=i.extend({type:"symbol",terms:{map:{init:new o.Map}},coerce:{method(e,{schema:t,error:n}){const r=t.$_terms.map.get(e);return r&&(e=r),t._flags.only&&"symbol"!=typeof e?{value:e,errors:n("symbol.map",{map:t.$_terms.map})}:{value:e}}},validate(e,{error:t}){if("symbol"!=typeof e)return{value:e,errors:t("symbol.base")}},rules:{map:{method(e){e&&!e[Symbol.iterator]&&"object"==typeof e&&(e=Object.entries(e)),r(e&&e[Symbol.iterator],"Iterable must be an iterable or object");const t=this.clone(),n=[];for(const i of e){r(i&&i[Symbol.iterator],"Entry must be an iterable");const[e,o]=i;r("object"!=typeof e&&"function"!=typeof e&&"symbol"!=typeof e,"Key must not be of type object, function, or Symbol"),r("symbol"==typeof o,"Value must be a Symbol"),t.$_terms.map.set(e,o),n.push(o)}return t.valid(...n)}}},manifest:{build:(e,t)=>(t.map&&(e=e.map(t.map)),e)},messages:{"symbol.base":"{{#label}} must be a symbol","symbol.map":"{{#label}} must be one of {{#map}}"}})}])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InteractionForegroundService=void 0;t.InteractionForegroundService=class{constructor(e){this.handler=e}pushData(e){this.handler.onInteractionDataReceived(e)}pushEvent(e){this.handler.onEventDataReceived(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interactionForegroundInit=void 0;const r=n(179),i=n(340),o=n(674);t.interactionForegroundInit=function(e,t){e.registerMessage(r.PushInteractionDataMsg),e.registerMessage(r.PushEventDataMsg),e.addHandler(i.ROUTE,o.getHandler(t))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const r=n(179);t.getHandler=e=>(t,n)=>{switch(n.constructor){case r.PushInteractionDataMsg:return i(e)(t,n);case r.PushEventDataMsg:return o(e)(t,n);default:throw new Error("Unknown msg type")}};const i=e=>(t,n)=>e.pushData(n.data),o=e=>(t,n)=>e.pushEvent(n.data)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const r=n(128),i=n(336),o=n(677);t.init=function(e,t){e.registerMessage(r.GetChainInfosMsg),e.registerMessage(r.SuggestChainInfoMsg),e.registerMessage(r.RemoveSuggestedChainInfoMsg),e.addHandler(i.ROUTE,o.getHandler(t))}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const i=n(128);t.getHandler=e=>(t,n)=>{switch(n.constructor){case i.GetChainInfosMsg:return o(e)(t,n);case i.SuggestChainInfoMsg:return a(e)(t,n);case i.RemoveSuggestedChainInfoMsg:return s(e)(t,n);default:throw new Error("Unknown msg type")}};const o=e=>()=>r(void 0,void 0,void 0,(function*(){return{chainInfos:yield e.getChainInfos()}})),a=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){if(yield e.hasChainInfo(n.chainInfo.chainId))return;const r=n.chainInfo;r.beta=!0,yield e.suggestChainInfo(t,r,n.origin)})),s=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.removeChainInfo(n.chainId),yield e.getChainInfos()}))},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(343),t),i(n(713),t)},function(e,t,n){"use strict";(function(e){var r=n(115);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(129)),o=r(n(130)),a=r(n(681)),s=r(n(682)),c=r(n(72)),l=r(n(75)),u=r(n(94)),f=n(345),d=n(684),p=n(181),h=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.APP_KEY;if((0,a.default)(this,t),!e)throw new Error("Transport has not been defined");this.transport=e,e.decorateAppAPIMethods(this,["getVersion","sign","getAddressAndPubKey","appInfo","deviceInfo","getBech32FromPK"],n)}var n,r,h,m,b,y,g,v,w,_;return(0,s.default)(t,[{key:"serializePath",value:(_=(0,o.default)(i.default.mark((function e(t){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,p.getVersion)(this.transport);case 2:if(this.versionResponse=e.sent,this.versionResponse.return_code===p.ERROR_CODE.NoError){e.next=5;break}throw this.versionResponse;case 5:e.t0=this.versionResponse.major,e.next=1===e.t0?8:2===e.t0?9:10;break;case 8:return e.abrupt("return",(0,f.serializePathv1)(t));case 9:return e.abrupt("return",(0,d.serializePathv2)(t));case 10:return e.abrupt("return",{return_code:25600,error_message:"App Version is not supported"});case 11:case"end":return e.stop()}}),e,this)}))),function(e){return _.apply(this,arguments)})},{key:"signGetChunks",value:(w=(0,o.default)(i.default.mark((function t(n,r){var o,a,s,c,l;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.serializePath(n);case 2:for(o=t.sent,(a=[]).push(o),s=e.from(r),c=0;cs.length&&(l=s.length),a.push(s.slice(c,l));return t.abrupt("return",a);case 8:case"end":return t.stop()}}),t,this)}))),function(e,t){return w.apply(this,arguments)})},{key:"getVersion",value:(v=(0,o.default)(i.default.mark((function e(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,p.getVersion)(this.transport);case 3:return this.versionResponse=e.sent,e.abrupt("return",this.versionResponse);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",(0,p.processErrorResponse)(e.t0));case 10:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(){return v.apply(this,arguments)})},{key:"appInfo",value:(g=(0,o.default)(i.default.mark((function e(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.transport.send(176,1,0,0).then((function(e){var t=e.slice(-2),n=256*t[0]+t[1],r={},i="err",o="err",a=0,s=0;if(1!==e[0])r.error_message="response format ID not recognized",r.return_code=36865;else{var c=e[1];i=e.slice(2,2+c).toString("ascii");var l=2+c,u=e[l];l+=1,o=e.slice(l,l+u).toString("ascii"),a=e[l+=u],s=e[l+=1]}return{return_code:n,error_message:(0,p.errorCodeToString)(n),appName:i,appVersion:o,flagLen:a,flagsValue:s,flag_recovery:0!=(1&s),flag_signed_mcu_code:0!=(2&s),flag_onboarded:0!=(4&s),flag_pin_validated:0!=(128&s)}}),p.processErrorResponse));case 1:case"end":return e.stop()}}),e,this)}))),function(){return g.apply(this,arguments)})},{key:"deviceInfo",value:(y=(0,o.default)(i.default.mark((function t(){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.transport.send(224,1,0,0,e.from([]),[p.ERROR_CODE.NoError,28160]).then((function(e){var t=e.slice(-2),n=256*t[0]+t[1];if(28160===n)return{return_code:n,error_message:"This command is only available in the Dashboard"};var r=e.slice(0,4).toString("hex"),i=4,o=e[i];i+=1;var a=e.slice(i,i+o).toString(),s=e[i+=o];i+=1;var c=e.slice(i,i+s).toString("hex"),l=e[i+=s];i+=1;var u=e.slice(i,i+l);0===u[l-1]&&(u=e.slice(i,i+l-1));var f=u.toString();return{return_code:n,error_message:(0,p.errorCodeToString)(n),targetId:r,seVersion:a,flag:c,mcuVersion:f}}),p.processErrorResponse));case 1:case"end":return t.stop()}}),t,this)}))),function(){return y.apply(this,arguments)})},{key:"publicKey",value:(b=(0,o.default)(i.default.mark((function n(r){var o,a;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,this.serializePath(r);case 3:o=n.sent,n.t0=this.versionResponse.major,n.next=1===n.t0?7:2===n.t0?8:10;break;case 7:return n.abrupt("return",(0,f.publicKeyv1)(this,o));case 8:return a=e.concat([t.serializeHRP("cosmos"),o]),n.abrupt("return",(0,d.publicKeyv2)(this,a));case 10:return n.abrupt("return",{return_code:25600,error_message:"App Version is not supported"});case 11:n.next=16;break;case 13:return n.prev=13,n.t1=n.catch(0),n.abrupt("return",(0,p.processErrorResponse)(n.t1));case 16:case"end":return n.stop()}}),n,this,[[0,13]])}))),function(e){return b.apply(this,arguments)})},{key:"getAddressAndPubKey",value:(m=(0,o.default)(i.default.mark((function n(r,o){var a=this;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.abrupt("return",this.serializePath(r).then((function(n){var r=e.concat([t.serializeHRP(o),n]);return a.transport.send(p.CLA,p.INS.GET_ADDR_SECP256K1,p.P1_VALUES.ONLY_RETRIEVE,0,r,[p.ERROR_CODE.NoError]).then((function(t){var n=t.slice(-2),r=256*n[0]+n[1],i=e.from(t.slice(0,33));return{bech32_address:e.from(t.slice(33,-2)).toString(),compressed_pk:i,return_code:r,error_message:(0,p.errorCodeToString)(r)}}),p.processErrorResponse)})).catch((function(e){return(0,p.processErrorResponse)(e)})));case 4:return n.prev=4,n.t0=n.catch(0),n.abrupt("return",(0,p.processErrorResponse)(n.t0));case 7:case"end":return n.stop()}}),n,this,[[0,4]])}))),function(e,t){return m.apply(this,arguments)})},{key:"showAddressAndPubKey",value:(h=(0,o.default)(i.default.mark((function n(r,o){var a=this;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.abrupt("return",this.serializePath(r).then((function(n){var r=e.concat([t.serializeHRP(o),n]);return a.transport.send(p.CLA,p.INS.GET_ADDR_SECP256K1,p.P1_VALUES.SHOW_ADDRESS_IN_DEVICE,0,r,[p.ERROR_CODE.NoError]).then((function(t){var n=t.slice(-2),r=256*n[0]+n[1],i=e.from(t.slice(0,33));return{bech32_address:e.from(t.slice(33,-2)).toString(),compressed_pk:i,return_code:r,error_message:(0,p.errorCodeToString)(r)}}),p.processErrorResponse)})).catch((function(e){return(0,p.processErrorResponse)(e)})));case 4:return n.prev=4,n.t0=n.catch(0),n.abrupt("return",(0,p.processErrorResponse)(n.t0));case 7:case"end":return n.stop()}}),n,this,[[0,4]])}))),function(e,t){return h.apply(this,arguments)})},{key:"signSendChunk",value:(r=(0,o.default)(i.default.mark((function e(t,n,r){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=this.versionResponse.major,e.next=1===e.t0?3:2===e.t0?4:5;break;case 3:return e.abrupt("return",(0,f.signSendChunkv1)(this,t,n,r));case 4:return e.abrupt("return",(0,d.signSendChunkv2)(this,t,n,r));case 5:return e.abrupt("return",{return_code:25600,error_message:"App Version is not supported"});case 6:case"end":return e.stop()}}),e,this)}))),function(e,t,n){return r.apply(this,arguments)})},{key:"sign",value:(n=(0,o.default)(i.default.mark((function e(t,n){var r=this;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.signGetChunks(t,n).then((function(e){return r.signSendChunk(1,e.length,e[0],[p.ERROR_CODE.NoError]).then(function(){var t=(0,o.default)(i.default.mark((function t(n){var o,a;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:o={return_code:n.return_code,error_message:n.error_message,signature:null},a=1;case 2:if(!(a83)throw new Error("Invalid HRP");var n=e.alloc(1+t.length);return n.writeUInt8(t.length,0),n.write(t,1),n}},{key:"getBech32FromPK",value:function(e,t){if(33!==t.length)throw new Error("expected compressed public key [31 bytes]");var n=c.default.createHash("sha256").update(t).digest(),r=(new l.default).update(n).digest();return u.default.encode(e,u.default.toWords(r))}}]),t}();t.default=h}).call(this,n(2).Buffer)},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof f?t:f,o=Object.create(i.prototype),a=new x(r||[]);return o._invoke=function(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===u)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=l(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===u)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(e,n,a),o}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var u={};function f(){}function d(){}function p(){}var h={};h[i]=function(){return this};var m=Object.getPrototypeOf,b=m&&m(m(S([])));b&&b!==t&&n.call(b,i)&&(h=b);var y=p.prototype=f.prototype=Object.create(h);function g(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){var r;this._invoke=function(i,o){function a(){return new t((function(r,a){!function r(i,o,a,s){var c=l(e[i],e,o);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}(i,o,r,a)}))}return r=r?r.then(a,a):a()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function S(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(s&&c){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;k(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n{this._disconnectEmitted||(this._disconnectEmitted=!0,this.emit("disconnect",e))},this.exchange=t=>this.exchangeAtomicImpl(async()=>{const{channel:n,packetSize:r}=this;Object(s.a)("apdu","=> "+t.toString("hex"));const i=o()(n,r),a=i.makeBlocks(t);for(let e=0;e{if(e&&e.message&&e.message.includes("disconnected"))throw this._emitDisconnect(e),new c.DisconnectedDeviceDuringOperation(e.message);throw e}),this.device=t,this.interfaceNumber=n,this.deviceModel=Object(a.a)(t.productId)}static async request(){const e=await Object(l.d)();return u.open(e)}static async openConnected(){const e=await Object(l.b)();return 0===e.length?null:u.open(e[0])}static async open(e){await e.open(),null===e.configuration&&await e.selectConfiguration(1),await f(e);const t=e.configurations[0].interfaces.find(({alternates:e})=>e.some(e=>255===e.interfaceClass));if(!t)throw new c.TransportInterfaceNotAvailable("No WebUSB interface found for your Ledger device. Please upgrade firmware or contact techsupport.");const n=t.interfaceNumber;try{await e.claimInterface(n)}catch(t){throw await e.close(),new c.TransportInterfaceNotAvailable(t.message)}const r=new u(e,n),i=t=>{e===t.device&&(navigator.usb.removeEventListener("disconnect",i),r._emitDisconnect(new c.DisconnectedDevice))};return navigator.usb.addEventListener("disconnect",i),r}async close(){await this.exchangeBusyPromise,await this.device.releaseInterface(this.interfaceNumber),await f(this.device),await this.device.close()}setScrambleKey(){}}async function f(e){try{await e.reset()}catch(e){console.warn(e)}}u.isSupported=l.c,u.list=l.b,u.listen=e=>{let t=!1;return Object(l.a)().then(n=>{if(!t){const t=Object(a.a)(n.productId);e.next({type:"add",descriptor:n,deviceModel:t}),e.complete()}},t=>{window.DOMException&&t instanceof window.DOMException&&18===t.code?e.error(new c.TransportWebUSBGestureRequired(t.message)):e.error(new c.TransportOpenUserCancelled(t.message))}),{unsubscribe:function(){t=!0}}}}.call(this,n(2).Buffer)},function(e,t,n){const r=n(85);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},function(e,t,n){const r=n(85);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},function(e,t,n){const r=n(24);e.exports=(e,t,n,i)=>{"string"==typeof n&&(i=n,n=void 0);try{return new r(e,n).inc(t,i).version}catch(e){return null}}},function(e,t,n){const r=n(85),i=n(183);e.exports=(e,t)=>{if(i(e,t))return null;{const n=r(e),i=r(t),o=n.prerelease.length||i.prerelease.length,a=o?"pre":"",s=o?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==i[e])return a+e;return s}}},function(e,t,n){const r=n(24);e.exports=(e,t)=>new r(e,t).major},function(e,t,n){const r=n(24);e.exports=(e,t)=>new r(e,t).minor},function(e,t,n){const r=n(24);e.exports=(e,t)=>new r(e,t).patch},function(e,t,n){const r=n(85);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},function(e,t,n){const r=n(40);e.exports=(e,t,n)=>r(t,e,n)},function(e,t,n){const r=n(40);e.exports=(e,t)=>r(e,t,!0)},function(e,t,n){const r=n(184);e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t))},function(e,t,n){const r=n(184);e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t))},function(e,t,n){const r=n(24),i=n(85),{re:o,t:a}=n(84);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=o[a.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),o[a.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[a.COERCERTL].lastIndex=-1}else n=e.match(o[a.COERCE]);return null===n?null:i(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},function(e,t,n){"use strict";const r=n(700),i=Symbol("max"),o=Symbol("length"),a=Symbol("lengthCalculator"),s=Symbol("allowStale"),c=Symbol("maxAge"),l=Symbol("dispose"),u=Symbol("noDisposeOnSet"),f=Symbol("lruList"),d=Symbol("cache"),p=Symbol("updateAgeOnGet"),h=()=>1;const m=(e,t,n)=>{const r=e[d].get(t);if(r){const t=r.value;if(b(e,t)){if(g(e,r),!e[s])return}else n&&(e[p]&&(r.value.now=Date.now()),e[f].unshiftNode(r));return t.value}},b=(e,t)=>{if(!t||!t.maxAge&&!e[c])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[c]&&n>e[c]},y=e=>{if(e[o]>e[i])for(let t=e[f].tail;e[o]>e[i]&&null!==t;){const n=t.prev;g(e,t),t=n}},g=(e,t)=>{if(t){const n=t.value;e[l]&&e[l](n.key,n.value),e[o]-=n.length,e[d].delete(n.key),e[f].removeNode(t)}};class v{constructor(e,t,n,r,i){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=i||0}}const w=(e,t,n,r)=>{let i=n.value;b(e,i)&&(g(e,n),e[s]||(i=void 0)),i&&t.call(r,i.value,i.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[i]=e.max||1/0;const t=e.length||h;if(this[a]="function"!=typeof t?h:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[c]=e.maxAge||0,this[l]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[p]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[i]=e||1/0,y(this)}get max(){return this[i]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[c]=e,y(this)}get maxAge(){return this[c]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[a]&&(this[a]=e,this[o]=0,this[f].forEach(e=>{e.length=this[a](e.value,e.key),this[o]+=e.length})),y(this)}get lengthCalculator(){return this[a]}get length(){return this[o]}get itemCount(){return this[f].length}rforEach(e,t){t=t||this;for(let n=this[f].tail;null!==n;){const r=n.prev;w(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[f].head;null!==n;){const r=n.next;w(this,e,n,t),n=r}}keys(){return this[f].toArray().map(e=>e.key)}values(){return this[f].toArray().map(e=>e.value)}reset(){this[l]&&this[f]&&this[f].length&&this[f].forEach(e=>this[l](e.key,e.value)),this[d]=new Map,this[f]=new r,this[o]=0}dump(){return this[f].map(e=>!b(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[f]}set(e,t,n){if((n=n||this[c])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,s=this[a](t,e);if(this[d].has(e)){if(s>this[i])return g(this,this[d].get(e)),!1;const a=this[d].get(e).value;return this[l]&&(this[u]||this[l](e,a.value)),a.now=r,a.maxAge=n,a.value=t,this[o]+=s-a.length,a.length=s,this.get(e),y(this),!0}const p=new v(e,t,s,r,n);return p.length>this[i]?(this[l]&&this[l](e,t),!1):(this[o]+=p.length,this[f].unshift(p),this[d].set(e,this[f].head),y(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!b(this,t)}get(e){return m(this,e,!0)}peek(e){return m(this,e,!1)}pop(){const e=this[f].tail;return e?(g(this,e),e.value):null}del(e){g(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{const e=i-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[d].forEach((e,t)=>m(this,t,!1))}}},function(e,t,n){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,i=arguments.length;n1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(tthis.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&ithis.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,o=this.head;null!==o&&rnew r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},function(e,t,n){const r=n(24),i=n(41);e.exports=(e,t,n)=>{let o=null,a=null,s=null;try{s=new i(t,n)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(o&&-1!==a.compare(e)||(o=e,a=new r(o,n)))}),o}},function(e,t,n){const r=n(24),i=n(41);e.exports=(e,t,n)=>{let o=null,a=null,s=null;try{s=new i(t,n)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(o&&1!==a.compare(e)||(o=e,a=new r(o,n)))}),o}},function(e,t,n){const r=n(24),i=n(41),o=n(134);e.exports=(e,t)=>{e=new i(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":a&&!o(t,a)||(a=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}),!a||n&&!o(n,a)||(n=a)}return n&&e.test(n)?n:null}},function(e,t,n){const r=n(41);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},function(e,t,n){const r=n(188);e.exports=(e,t,n)=>r(e,t,">",n)},function(e,t,n){const r=n(188);e.exports=(e,t,n)=>r(e,t,"<",n)},function(e,t,n){const r=n(41);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))},function(e,t,n){const r=n(136),i=n(40);e.exports=(e,t,n)=>{const o=[];let a=null,s=null;const c=e.sort((e,t)=>i(e,t,n));for(const e of c){r(e,t,n)?(s=e,a||(a=e)):(s&&o.push([a,s]),s=null,a=null)}a&&o.push([a,null]);const l=[];for(const[e,t]of o)e===t?l.push(e):t||e!==c[0]?t?e===c[0]?l.push("<="+t):l.push(`${e} - ${t}`):l.push(">="+e):l.push("*");const u=l.join(" || "),f="string"==typeof t.raw?t.raw:String(t);return u.length{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=n.includePrerelease?[new i(">=0.0.0-0")]:[new i(">=0.0.0")]}if(1===t.length&&t[0].semver===o){if(n.includePrerelease)return!0;t=[new i(">=0.0.0")]}const r=new Set;let c,f,d,p,h,m,b;for(const t of e)">"===t.operator||">="===t.operator?c=l(c,t,n):"<"===t.operator||"<="===t.operator?f=u(f,t,n):r.add(t.semver);if(r.size>1)return null;if(c&&f){if(d=s(c.semver,f.semver,n),d>0)return null;if(0===d&&(">="!==c.operator||"<="!==f.operator))return null}for(const e of r){if(c&&!a(e,String(c),n))return null;if(f&&!a(e,String(f),n))return null;for(const r of t)if(!a(e,String(r),n))return!1;return!0}let y=!(!f||n.includePrerelease||!f.semver.prerelease.length)&&f.semver,g=!(!c||n.includePrerelease||!c.semver.prerelease.length)&&c.semver;y&&1===y.prerelease.length&&"<"===f.operator&&0===y.prerelease[0]&&(y=!1);for(const e of t){if(b=b||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,c)if(g&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch&&(g=!1),">"===e.operator||">="===e.operator){if(p=l(c,e,n),p===e&&p!==c)return!1}else if(">="===c.operator&&!a(c.semver,String(e),n))return!1;if(f)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),"<"===e.operator||"<="===e.operator){if(h=u(f,e,n),h===e&&h!==f)return!1}else if("<="===f.operator&&!a(f.semver,String(e),n))return!1;if(!e.operator&&(f||c)&&0!==d)return!1}return!(c&&m&&!f&&0!==d)&&(!(f&&b&&!c&&0!==d)&&(!g&&!y))},l=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},u=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let i=!1;e:for(const r of e.set){for(const e of t.set){const t=c(r,e,n);if(i=i||null!==t,t)continue e}if(i)return!1}return!0}},function(e,t,n){"use strict";n.r(t),function(e,r){n.d(t,"default",(function(){return h}));var i=n(143),o=n(144),a=n.n(o),s=n(44),c=n(86),l=n(15);const u=[{vendorId:s.b}],f=()=>{const{hid:e}=navigator;if(!e)throw new l.TransportError("navigator.hid is not supported","HIDNotSupported");return e};async function d(){const e=await f().requestDevice({filters:u});return Array.isArray(e)?e:[e]}async function p(){return(await f().getDevices()).filter(e=>e.vendorId===s.b)}class h extends i.a{constructor(e){super(),this.device=void 0,this.deviceModel=void 0,this.channel=Math.floor(65535*Math.random()),this.packetSize=64,this.inputs=[],this.inputCallback=void 0,this.read=()=>this.inputs.length?Promise.resolve(this.inputs.shift()):new Promise(e=>{this.inputCallback=e}),this.onInputReport=e=>{const t=r.from(e.data.buffer);this.inputCallback?(this.inputCallback(t),this.inputCallback=null):this.inputs.push(t)},this._disconnectEmitted=!1,this._emitDisconnect=e=>{this._disconnectEmitted||(this._disconnectEmitted=!0,this.emit("disconnect",e))},this.exchange=e=>this.exchangeAtomicImpl(async()=>{const{channel:t,packetSize:n}=this;Object(c.a)("apdu","=> "+e.toString("hex"));const r=a()(t,n),i=r.makeBlocks(e);for(let e=0;e{if(e&&e.message&&e.message.includes("write"))throw this._emitDisconnect(e),new l.DisconnectedDeviceDuringOperation(e.message);throw e}),this.device=e,this.deviceModel=Object(s.a)(e.productId),e.addEventListener("inputreport",this.onInputReport)}static async request(){const[e]=await d();return h.open(e)}static async openConnected(){const e=await p();return 0===e.length?null:h.open(e[0])}static async open(e){await e.open();const t=new h(e),n=r=>{e===r.device&&(f().removeEventListener("disconnect",n),t._emitDisconnect(new l.DisconnectedDevice))};return f().addEventListener("disconnect",n),t}async close(){await this.exchangeBusyPromise,this.device.removeEventListener("inputreport",this.onInputReport),await this.device.close()}setScrambleKey(){}}h.isSupported=()=>Promise.resolve(!(!e.navigator||!e.navigator.hid)),h.list=p,h.listen=e=>{let t=!1;return async function(){const e=await p();return e.length>0?e[0]:(await d())[0]}().then(n=>{if(n){if(!t){const t=Object(s.a)(n.productId);e.next({type:"add",descriptor:n,deviceModel:t}),e.complete()}}else e.error(new l.TransportOpenUserCancelled("Access denied to use Ledger device"))},t=>{e.error(new l.TransportOpenUserCancelled(t.message))}),{unsubscribe:function(){t=!0}}}}.call(this,n(12),n(2).Buffer)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const r=n(189),i=n(348),o=n(714);t.init=function(e,t){e.registerMessage(r.LedgerGetWebHIDFlagMsg),e.registerMessage(r.LedgerSetWebHIDFlagMsg),e.addHandler(i.ROUTE,o.getHandler(t))}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const i=n(189);t.getHandler=e=>(t,n)=>{switch(n.constructor){case i.LedgerGetWebHIDFlagMsg:return o(e)(t,n);case i.LedgerSetWebHIDFlagMsg:return a(e)(t,n);default:throw new Error("Unknown msg type")}};const o=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.getWebHIDFlag()})),a=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.setWebHIDFlag(n.flag)}))},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(349),t),i(n(728),t)},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Crypto=void 0;const c=s(n(410)),l=o(n(717)),u=n(108),f=n(2);class d{static encrypt(e,t,n,r,i,o){return a(this,void 0,void 0,(function*(){let a=new Uint8Array(32);const s={salt:f.Buffer.from(yield e(a)).toString("hex"),dklen:32,n:131072,r:8,p:1},c=yield d.scrpyt(r,s),p=f.Buffer.from(n);a=new Uint8Array(16);const h=f.Buffer.from(yield e(a)),m=new l.Counter(0);m.setBytes(h);const b=new l.default.ModeOfOperation.ctr(c,m),y=f.Buffer.from(b.encrypt(p)),g=u.Hash.sha256(f.Buffer.concat([f.Buffer.from(c.slice(c.length/2)),y]));return{version:"1.2",type:t,coinTypeForChain:{},bip44HDPath:o,meta:i,crypto:{cipher:"aes-128-ctr",cipherparams:{iv:h.toString("hex")},ciphertext:y.toString("hex"),kdf:"scrypt",kdfparams:s,mac:f.Buffer.from(g).toString("hex")}}}))}static decrypt(e,t){return a(this,void 0,void 0,(function*(){const n=yield d.scrpyt(t,e.crypto.kdfparams),r=new l.Counter(0);r.setBytes(f.Buffer.from(e.crypto.cipherparams.iv,"hex"));const i=new l.default.ModeOfOperation.ctr(n,r),o=u.Hash.sha256(f.Buffer.concat([f.Buffer.from(n.slice(n.length/2)),f.Buffer.from(e.crypto.ciphertext,"hex")]));if(!f.Buffer.from(o).equals(f.Buffer.from(e.crypto.mac,"hex")))throw new Error("Unmatched mac");return f.Buffer.from(i.decrypt(f.Buffer.from(e.crypto.ciphertext,"hex")))}))}static scrpyt(e,t){return a(this,void 0,void 0,(function*(){const n=f.Buffer.from(e);return yield c.default.scrypt(n,f.Buffer.from(t.salt,"hex"),t.n,t.r,t.p,t.dklen)}))}}t.Crypto=d},function(e,t,n){ -/*! MIT License. Copyright 2015-2018 Richard Moore . See LICENSE.txt. */ -!function(t){"use strict";function n(e){return parseInt(e)===e}function r(e){if(!n(e.length))return!1;for(var t=0;t255)return!1;return!0}function i(e,t){if(e.buffer&&"Uint8Array"===e.name)return t&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!r(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(n(e.length)&&r(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function o(e){return new Uint8Array(e)}function a(e,t,n,r,i){null==r&&null==i||(e=e.slice?e.slice(r,i):Array.prototype.slice.call(e,r,i)),t.set(e,n)}var s,c={toBytes:function(e){var t=[],n=0;for(e=encodeURI(e);n191&&r<224?(t.push(String.fromCharCode((31&r)<<6|63&e[n+1])),n+=2):(t.push(String.fromCharCode((15&r)<<12|(63&e[n+1])<<6|63&e[n+2])),n+=3)}return t.join("")}},l=(s="0123456789abcdef",{toBytes:function(e){for(var t=[],n=0;n>4]+s[15&r])}return t.join("")}}),u={16:10,24:12,32:14},f=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],d=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],p=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],h=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],m=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],b=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],y=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],g=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],v=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],w=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],_=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],k=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],x=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],S=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],O=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function E(e){for(var t=[],n=0;n>2,this._Ke[n][t%4]=o[t],this._Kd[e-n][t%4]=o[t];for(var a,s=0,c=i;c>16&255]<<24^d[a>>8&255]<<16^d[255&a]<<8^d[a>>24&255]^f[s]<<24,s+=1,8!=i)for(t=1;t>8&255]<<8^d[a>>16&255]<<16^d[a>>24&255]<<24;for(t=i/2+1;t>2,p=c%4,this._Ke[l][p]=o[t],this._Kd[e-l][p]=o[t++],c++}for(var l=1;l>24&255]^x[a>>16&255]^S[a>>8&255]^O[255&a]},T.prototype.encrypt=function(e){if(16!=e.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var t=this._Ke.length-1,n=[0,0,0,0],r=E(e),i=0;i<4;i++)r[i]^=this._Ke[0][i];for(var a=1;a>24&255]^m[r[(i+1)%4]>>16&255]^b[r[(i+2)%4]>>8&255]^y[255&r[(i+3)%4]]^this._Ke[a][i];r=n.slice()}var s,c=o(16);for(i=0;i<4;i++)s=this._Ke[t][i],c[4*i]=255&(d[r[i]>>24&255]^s>>24),c[4*i+1]=255&(d[r[(i+1)%4]>>16&255]^s>>16),c[4*i+2]=255&(d[r[(i+2)%4]>>8&255]^s>>8),c[4*i+3]=255&(d[255&r[(i+3)%4]]^s);return c},T.prototype.decrypt=function(e){if(16!=e.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var t=this._Kd.length-1,n=[0,0,0,0],r=E(e),i=0;i<4;i++)r[i]^=this._Kd[0][i];for(var a=1;a>24&255]^v[r[(i+3)%4]>>16&255]^w[r[(i+2)%4]>>8&255]^_[255&r[(i+1)%4]]^this._Kd[a][i];r=n.slice()}var s,c=o(16);for(i=0;i<4;i++)s=this._Kd[t][i],c[4*i]=255&(p[r[i]>>24&255]^s>>24),c[4*i+1]=255&(p[r[(i+3)%4]>>16&255]^s>>16),c[4*i+2]=255&(p[r[(i+2)%4]>>8&255]^s>>8),c[4*i+3]=255&(p[255&r[(i+1)%4]]^s);return c};var A=function(e){if(!(this instanceof A))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new T(e)};A.prototype.encrypt=function(e){if((e=i(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=o(e.length),n=o(16),r=0;rNumber.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(var t=15;t>=0;--t)this._counter[t]=e%256,e=parseInt(e/256)},C.prototype.setBytes=function(e){if(16!=(e=i(e,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=e},C.prototype.increment=function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}};var j=function(e,t){if(!(this instanceof j))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",t instanceof C||(t=new C(t)),this._counter=t,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new T(e)};j.prototype.encrypt=function(e){for(var t=i(e,!0),n=0;n16)throw new Error("PKCS#7 padding byte out of range");for(var n=e.length-t,r=0;r{const t=this.encode(e);return a.Any.fromPartial({typeUrl:e.typeUrl,value:t})}),n=o.TxBody.fromPartial(Object.assign(Object.assign({},e),{messages:t}));return Uint8Array.from(o.TxBody.encode(n).finish())}decode({typeUrl:t,value:n}){if(t===s.cosmosTxBody)return this.decodeTxBody(n);const r=this.lookupTypeWithError(t).decode(n);return Object.entries(r).forEach(([t,n])=>{void 0!==e&&void 0!==e.isBuffer&&e.isBuffer(n)&&(r[t]=Uint8Array.from(n))}),r}decodeTxBody(e){const t=o.TxBody.decode(e);return Object.assign(Object.assign({},t),{messages:t.messages.map(({typeUrl:e,value:t})=>{if(!e)throw new Error("Missing type_url in Any");if(!t)throw new Error("Missing value in Any");return this.decode({typeUrl:e,value:t})})})}}}).call(this,n(2).Buffer)},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MsgClientImpl=t.MsgMultiSendResponse=t.MsgMultiSend=t.MsgSendResponse=t.MsgSend=t.protobufPackage=void 0;const i=n(137),o=n(722),a=r(n(48));t.protobufPackage="cosmos.bank.v1beta1";const s={fromAddress:"",toAddress:""};t.MsgSend={encode(e,t=a.default.Writer.create()){t.uint32(10).string(e.fromAddress),t.uint32(18).string(e.toAddress);for(const n of e.amount)i.Coin.encode(n,t.uint32(26).fork()).ldelim();return t},decode(e,t){const n=e instanceof Uint8Array?new a.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const o=Object.assign({},s);for(o.amount=[];n.pos>>3){case 1:o.fromAddress=n.string();break;case 2:o.toAddress=n.string();break;case 3:o.amount.push(i.Coin.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},s);if(t.amount=[],void 0!==e.fromAddress&&null!==e.fromAddress?t.fromAddress=String(e.fromAddress):t.fromAddress="",void 0!==e.toAddress&&null!==e.toAddress?t.toAddress=String(e.toAddress):t.toAddress="",void 0!==e.amount&&null!==e.amount)for(const n of e.amount)t.amount.push(i.Coin.fromJSON(n));return t},fromPartial(e){const t=Object.assign({},s);if(t.amount=[],void 0!==e.fromAddress&&null!==e.fromAddress?t.fromAddress=e.fromAddress:t.fromAddress="",void 0!==e.toAddress&&null!==e.toAddress?t.toAddress=e.toAddress:t.toAddress="",void 0!==e.amount&&null!==e.amount)for(const n of e.amount)t.amount.push(i.Coin.fromPartial(n));return t},toJSON(e){const t={};return void 0!==e.fromAddress&&(t.fromAddress=e.fromAddress),void 0!==e.toAddress&&(t.toAddress=e.toAddress),e.amount?t.amount=e.amount.map(e=>e?i.Coin.toJSON(e):void 0):t.amount=[],t}};const c={};t.MsgSendResponse={encode:(e,t=a.default.Writer.create())=>t,decode(e,t){const n=e instanceof Uint8Array?new a.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const i=Object.assign({},c);for(;n.posObject.assign({},c),fromPartial:e=>Object.assign({},c),toJSON:e=>({})};const l={};t.MsgMultiSend={encode(e,t=a.default.Writer.create()){for(const n of e.inputs)o.Input.encode(n,t.uint32(10).fork()).ldelim();for(const n of e.outputs)o.Output.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof Uint8Array?new a.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const i=Object.assign({},l);for(i.inputs=[],i.outputs=[];n.pos>>3){case 1:i.inputs.push(o.Input.decode(n,n.uint32()));break;case 2:i.outputs.push(o.Output.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},l);if(t.inputs=[],t.outputs=[],void 0!==e.inputs&&null!==e.inputs)for(const n of e.inputs)t.inputs.push(o.Input.fromJSON(n));if(void 0!==e.outputs&&null!==e.outputs)for(const n of e.outputs)t.outputs.push(o.Output.fromJSON(n));return t},fromPartial(e){const t=Object.assign({},l);if(t.inputs=[],t.outputs=[],void 0!==e.inputs&&null!==e.inputs)for(const n of e.inputs)t.inputs.push(o.Input.fromPartial(n));if(void 0!==e.outputs&&null!==e.outputs)for(const n of e.outputs)t.outputs.push(o.Output.fromPartial(n));return t},toJSON(e){const t={};return e.inputs?t.inputs=e.inputs.map(e=>e?o.Input.toJSON(e):void 0):t.inputs=[],e.outputs?t.outputs=e.outputs.map(e=>e?o.Output.toJSON(e):void 0):t.outputs=[],t}};const u={};t.MsgMultiSendResponse={encode:(e,t=a.default.Writer.create())=>t,decode(e,t){const n=e instanceof Uint8Array?new a.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const i=Object.assign({},u);for(;n.posObject.assign({},u),fromPartial:e=>Object.assign({},u),toJSON:e=>({})};t.MsgClientImpl=class{constructor(e){this.rpc=e}Send(e){const n=t.MsgSend.encode(e).finish();return this.rpc.request("cosmos.bank.v1beta1.Msg","methodDesc.name",n).then(e=>t.MsgSendResponse.decode(new a.default.Reader(e)))}MultiSend(e){const n=t.MsgMultiSend.encode(e).finish();return this.rpc.request("cosmos.bank.v1beta1.Msg","methodDesc.name",n).then(e=>t.MsgMultiSendResponse.decode(new a.default.Reader(e)))}}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=t.DenomUnit=t.Supply=t.Output=t.Input=t.SendEnabled=t.Params=t.protobufPackage=void 0;const i=n(137),o=r(n(48));t.protobufPackage="cosmos.bank.v1beta1";const a={defaultSendEnabled:!1};t.Params={encode(e,n=o.default.Writer.create()){for(const r of e.sendEnabled)t.SendEnabled.encode(r,n.uint32(10).fork()).ldelim();return n.uint32(16).bool(e.defaultSendEnabled),n},decode(e,n){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let i=void 0===n?r.len:r.pos+n;const s=Object.assign({},a);for(s.sendEnabled=[];r.pos>>3){case 1:s.sendEnabled.push(t.SendEnabled.decode(r,r.uint32()));break;case 2:s.defaultSendEnabled=r.bool();break;default:r.skipType(7&e)}}return s},fromJSON(e){const n=Object.assign({},a);if(n.sendEnabled=[],void 0!==e.sendEnabled&&null!==e.sendEnabled)for(const r of e.sendEnabled)n.sendEnabled.push(t.SendEnabled.fromJSON(r));return void 0!==e.defaultSendEnabled&&null!==e.defaultSendEnabled?n.defaultSendEnabled=Boolean(e.defaultSendEnabled):n.defaultSendEnabled=!1,n},fromPartial(e){const n=Object.assign({},a);if(n.sendEnabled=[],void 0!==e.sendEnabled&&null!==e.sendEnabled)for(const r of e.sendEnabled)n.sendEnabled.push(t.SendEnabled.fromPartial(r));return void 0!==e.defaultSendEnabled&&null!==e.defaultSendEnabled?n.defaultSendEnabled=e.defaultSendEnabled:n.defaultSendEnabled=!1,n},toJSON(e){const n={};return e.sendEnabled?n.sendEnabled=e.sendEnabled.map(e=>e?t.SendEnabled.toJSON(e):void 0):n.sendEnabled=[],void 0!==e.defaultSendEnabled&&(n.defaultSendEnabled=e.defaultSendEnabled),n}};const s={denom:"",enabled:!1};t.SendEnabled={encode:(e,t=o.default.Writer.create())=>(t.uint32(10).string(e.denom),t.uint32(16).bool(e.enabled),t),decode(e,t){const n=e instanceof Uint8Array?new o.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const i=Object.assign({},s);for(;n.pos>>3){case 1:i.denom=n.string();break;case 2:i.enabled=n.bool();break;default:n.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},s);return void 0!==e.denom&&null!==e.denom?t.denom=String(e.denom):t.denom="",void 0!==e.enabled&&null!==e.enabled?t.enabled=Boolean(e.enabled):t.enabled=!1,t},fromPartial(e){const t=Object.assign({},s);return void 0!==e.denom&&null!==e.denom?t.denom=e.denom:t.denom="",void 0!==e.enabled&&null!==e.enabled?t.enabled=e.enabled:t.enabled=!1,t},toJSON(e){const t={};return void 0!==e.denom&&(t.denom=e.denom),void 0!==e.enabled&&(t.enabled=e.enabled),t}};const c={address:""};t.Input={encode(e,t=o.default.Writer.create()){t.uint32(10).string(e.address);for(const n of e.coins)i.Coin.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof Uint8Array?new o.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const a=Object.assign({},c);for(a.coins=[];n.pos>>3){case 1:a.address=n.string();break;case 2:a.coins.push(i.Coin.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return a},fromJSON(e){const t=Object.assign({},c);if(t.coins=[],void 0!==e.address&&null!==e.address?t.address=String(e.address):t.address="",void 0!==e.coins&&null!==e.coins)for(const n of e.coins)t.coins.push(i.Coin.fromJSON(n));return t},fromPartial(e){const t=Object.assign({},c);if(t.coins=[],void 0!==e.address&&null!==e.address?t.address=e.address:t.address="",void 0!==e.coins&&null!==e.coins)for(const n of e.coins)t.coins.push(i.Coin.fromPartial(n));return t},toJSON(e){const t={};return void 0!==e.address&&(t.address=e.address),e.coins?t.coins=e.coins.map(e=>e?i.Coin.toJSON(e):void 0):t.coins=[],t}};const l={address:""};t.Output={encode(e,t=o.default.Writer.create()){t.uint32(10).string(e.address);for(const n of e.coins)i.Coin.encode(n,t.uint32(18).fork()).ldelim();return t},decode(e,t){const n=e instanceof Uint8Array?new o.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const a=Object.assign({},l);for(a.coins=[];n.pos>>3){case 1:a.address=n.string();break;case 2:a.coins.push(i.Coin.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return a},fromJSON(e){const t=Object.assign({},l);if(t.coins=[],void 0!==e.address&&null!==e.address?t.address=String(e.address):t.address="",void 0!==e.coins&&null!==e.coins)for(const n of e.coins)t.coins.push(i.Coin.fromJSON(n));return t},fromPartial(e){const t=Object.assign({},l);if(t.coins=[],void 0!==e.address&&null!==e.address?t.address=e.address:t.address="",void 0!==e.coins&&null!==e.coins)for(const n of e.coins)t.coins.push(i.Coin.fromPartial(n));return t},toJSON(e){const t={};return void 0!==e.address&&(t.address=e.address),e.coins?t.coins=e.coins.map(e=>e?i.Coin.toJSON(e):void 0):t.coins=[],t}};const u={};t.Supply={encode(e,t=o.default.Writer.create()){for(const n of e.total)i.Coin.encode(n,t.uint32(10).fork()).ldelim();return t},decode(e,t){const n=e instanceof Uint8Array?new o.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const a=Object.assign({},u);for(a.total=[];n.pos>>3){case 1:a.total.push(i.Coin.decode(n,n.uint32()));break;default:n.skipType(7&e)}}return a},fromJSON(e){const t=Object.assign({},u);if(t.total=[],void 0!==e.total&&null!==e.total)for(const n of e.total)t.total.push(i.Coin.fromJSON(n));return t},fromPartial(e){const t=Object.assign({},u);if(t.total=[],void 0!==e.total&&null!==e.total)for(const n of e.total)t.total.push(i.Coin.fromPartial(n));return t},toJSON(e){const t={};return e.total?t.total=e.total.map(e=>e?i.Coin.toJSON(e):void 0):t.total=[],t}};const f={denom:"",exponent:0,aliases:""};t.DenomUnit={encode(e,t=o.default.Writer.create()){t.uint32(10).string(e.denom),t.uint32(16).uint32(e.exponent);for(const n of e.aliases)t.uint32(26).string(n);return t},decode(e,t){const n=e instanceof Uint8Array?new o.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const i=Object.assign({},f);for(i.aliases=[];n.pos>>3){case 1:i.denom=n.string();break;case 2:i.exponent=n.uint32();break;case 3:i.aliases.push(n.string());break;default:n.skipType(7&e)}}return i},fromJSON(e){const t=Object.assign({},f);if(t.aliases=[],void 0!==e.denom&&null!==e.denom?t.denom=String(e.denom):t.denom="",void 0!==e.exponent&&null!==e.exponent?t.exponent=Number(e.exponent):t.exponent=0,void 0!==e.aliases&&null!==e.aliases)for(const n of e.aliases)t.aliases.push(String(n));return t},fromPartial(e){const t=Object.assign({},f);if(t.aliases=[],void 0!==e.denom&&null!==e.denom?t.denom=e.denom:t.denom="",void 0!==e.exponent&&null!==e.exponent?t.exponent=e.exponent:t.exponent=0,void 0!==e.aliases&&null!==e.aliases)for(const n of e.aliases)t.aliases.push(n);return t},toJSON(e){const t={};return void 0!==e.denom&&(t.denom=e.denom),void 0!==e.exponent&&(t.exponent=e.exponent),e.aliases?t.aliases=e.aliases.map(e=>e):t.aliases=[],t}};const d={description:"",base:"",display:""};t.Metadata={encode(e,n=o.default.Writer.create()){n.uint32(10).string(e.description);for(const r of e.denomUnits)t.DenomUnit.encode(r,n.uint32(18).fork()).ldelim();return n.uint32(26).string(e.base),n.uint32(34).string(e.display),n},decode(e,n){const r=e instanceof Uint8Array?new o.default.Reader(e):e;let i=void 0===n?r.len:r.pos+n;const a=Object.assign({},d);for(a.denomUnits=[];r.pos>>3){case 1:a.description=r.string();break;case 2:a.denomUnits.push(t.DenomUnit.decode(r,r.uint32()));break;case 3:a.base=r.string();break;case 4:a.display=r.string();break;default:r.skipType(7&e)}}return a},fromJSON(e){const n=Object.assign({},d);if(n.denomUnits=[],void 0!==e.description&&null!==e.description?n.description=String(e.description):n.description="",void 0!==e.denomUnits&&null!==e.denomUnits)for(const r of e.denomUnits)n.denomUnits.push(t.DenomUnit.fromJSON(r));return void 0!==e.base&&null!==e.base?n.base=String(e.base):n.base="",void 0!==e.display&&null!==e.display?n.display=String(e.display):n.display="",n},fromPartial(e){const n=Object.assign({},d);if(n.denomUnits=[],void 0!==e.description&&null!==e.description?n.description=e.description:n.description="",void 0!==e.denomUnits&&null!==e.denomUnits)for(const r of e.denomUnits)n.denomUnits.push(t.DenomUnit.fromPartial(r));return void 0!==e.base&&null!==e.base?n.base=e.base:n.base="",void 0!==e.display&&null!==e.display?n.display=e.display:n.display="",n},toJSON(e){const n={};return void 0!==e.description&&(n.description=e.description),e.denomUnits?n.denomUnits=e.denomUnits.map(e=>e?t.DenomUnit.toJSON(e):void 0):n.denomUnits=[],void 0!==e.base&&(n.base=e.base),void 0!==e.display&&(n.display=e.display),n}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectSecp256k1HdWallet=void 0;const r=n(50),i=n(114),o=n(358),a=n(193);class s{constructor(e,t,n,r,i){this.secret=e,this.accounts=[{hdPath:t,prefix:i}],this.privkey=n,this.pubkey=r}static async fromMnemonic(e,t=o.makeCosmoshubPath(0),n="cosmos"){const i=new r.EnglishMnemonic(e),a=await r.Bip39.mnemonicToSeed(i),{privkey:c}=r.Slip10.derivePath(r.Slip10Curve.Secp256k1,a,t),l=(await r.Secp256k1.makeKeypair(c)).pubkey;return new s(i,t,c,r.Secp256k1.compressPubkey(l),n)}static async generate(e=12,t=o.makeCosmoshubPath(0),n="cosmos"){const i=4*Math.floor(11*e/33),a=r.Random.getBytes(i),c=r.Bip39.encode(a);return s.fromMnemonic(c.toString(),t,n)}get mnemonic(){return this.secret.toString()}get address(){return i.rawSecp256k1PubkeyToAddress(this.pubkey,this.accounts[0].prefix)}async getAccounts(){return[{algo:"secp256k1",address:this.address,pubkey:this.pubkey}]}async signDirect(e,t){const n=a.makeSignBytes(t);if(e!==this.address)throw new Error(`Address ${e} not found in wallet`);const o=r.sha256(n),s=await r.Secp256k1.createSignature(o,this.privkey),c=new Uint8Array([...s.r(32),...s.s(32)]);return{signed:t,signature:i.encodeSecp256k1Signature(this.pubkey,c)}}}t.DirectSecp256k1HdWallet=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectSecp256k1Wallet=void 0;const r=n(50),i=n(114),o=n(193);class a{constructor(e,t,n){this.privkey=e,this.pubkey=t,this.prefix=n}static async fromKey(e,t="cosmos"){const n=(await r.Secp256k1.makeKeypair(e)).pubkey;return new a(e,r.Secp256k1.compressPubkey(n),t)}get address(){return i.rawSecp256k1PubkeyToAddress(this.pubkey,this.prefix)}async getAccounts(){return[{algo:"secp256k1",address:this.address,pubkey:this.pubkey}]}async signDirect(e,t){const n=o.makeSignBytes(t);if(e!==this.address)throw new Error(`Address ${e} not found in wallet`);const a=r.sha256(n),s=await r.Secp256k1.createSignature(a,this.privkey),c=new Uint8Array([...s.r(32),...s.s(32)]);return{signed:t,signature:i.encodeSecp256k1Signature(this.pubkey,c)}}}t.DirectSecp256k1Wallet=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodePubkey=t.encodePubkey=void 0;const r=n(39),i=n(114),o=n(726),a=n(138);t.encodePubkey=function(e){switch(e.type){case"tendermint/PubKeySecp256k1":{const t=o.PubKey.fromPartial({key:r.fromBase64(e.value)});return a.Any.fromPartial({typeUrl:"/cosmos.crypto.secp256k1.PubKey",value:Uint8Array.from(o.PubKey.encode(t).finish())})}default:throw new Error(`Pubkey type ${e.type} not recognized`)}},t.decodePubkey=function(e){if(!e||!e.value)return null;switch(e.typeUrl){case"/cosmos.crypto.secp256k1.PubKey":{const{key:t}=o.PubKey.decode(e.value);return i.encodeSecp256k1Pubkey(t)}default:throw new Error(`Pubkey type_url ${e.typeUrl} not recognized`)}}},function(e,t,n){"use strict";(function(e){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PrivKey=t.PubKey=t.protobufPackage=void 0;const i=r(n(48));t.protobufPackage="cosmos.crypto.secp256k1";const o={};t.PubKey={encode:(e,t=i.default.Writer.create())=>(t.uint32(10).bytes(e.key),t),decode(e,t){const n=e instanceof Uint8Array?new i.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const a=Object.assign({},o);for(;n.pos>>3){case 1:a.key=n.bytes();break;default:n.skipType(7&e)}}return a},fromJSON(e){const t=Object.assign({},o);return void 0!==e.key&&null!==e.key&&(t.key=l(e.key)),t},fromPartial(e){const t=Object.assign({},o);return void 0!==e.key&&null!==e.key?t.key=e.key:t.key=new Uint8Array,t},toJSON(e){const t={};return void 0!==e.key&&(t.key=f(void 0!==e.key?e.key:new Uint8Array)),t}};const a={};t.PrivKey={encode:(e,t=i.default.Writer.create())=>(t.uint32(10).bytes(e.key),t),decode(e,t){const n=e instanceof Uint8Array?new i.default.Reader(e):e;let r=void 0===t?n.len:n.pos+t;const o=Object.assign({},a);for(;n.pos>>3){case 1:o.key=n.bytes();break;default:n.skipType(7&e)}}return o},fromJSON(e){const t=Object.assign({},a);return void 0!==e.key&&null!==e.key&&(t.key=l(e.key)),t},fromPartial(e){const t=Object.assign({},a);return void 0!==e.key&&null!==e.key?t.key=e.key:t.key=new Uint8Array,t},toJSON(e){const t={};return void 0!==e.key&&(t.key=f(void 0!==e.key?e.key:new Uint8Array)),t}};var s=(()=>{if(void 0!==s)return s;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("Unable to locate global object")})();const c=s.atob||(e=>s.Buffer.from(e,"base64").toString("binary"));function l(e){const t=c(e),n=new Uint8Array(t.length);for(let e=0;es.Buffer.from(e,"binary").toString("base64"));function f(e){const t=[];for(let n=0;n(t,n)=>{switch(n.constructor){case i.RestoreKeyRingMsg:return s(e)(t,n);case i.DeleteKeyRingMsg:return c(e)(t,n);case i.UpdateNameKeyRingMsg:return l(e)(t,n);case i.ShowKeyRingMsg:return u(e)(t,n);case i.CreateMnemonicKeyMsg:return f(e)(t,n);case i.AddMnemonicKeyMsg:return d(e)(t,n);case i.CreatePrivateKeyMsg:return p(e)(t,n);case i.AddPrivateKeyMsg:return h(e)(t,n);case i.CreateLedgerKeyMsg:return m(e)(t,n);case i.AddLedgerKeyMsg:return b(e)(t,n);case i.LockKeyRingMsg:return y(e)(t,n);case i.UnlockKeyRingMsg:return g(e)(t,n);case i.GetKeyMsg:return v(e)(t,n);case i.RequestSignAminoMsg:return w(e)(t,n);case i.RequestSignDirectMsg:return _(e)(t,n);case i.GetKeyRingTypeMsg:return k(e)(t,n);case i.GetMultiKeyStoreInfoMsg:return x(e)(t,n);case i.ChangeKeyRingMsg:return S(e)(t,n);case i.GetIsKeyStoreCoinTypeSetMsg:return O(e)(t,n);case i.SetKeyStoreCoinTypeMsg:return E(e)(t,n);default:throw new Error("Unknown msg type")}};const s=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.restore()})),c=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.deleteKeyRing(n.index,n.password)})),l=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.updateNameKeyRing(n.index,n.name)})),u=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.showKeyRing(n.index,n.password)})),f=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return{status:yield e.createMnemonicKey(n.mnemonic,n.password,n.meta,n.bip44HDPath)}})),d=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.addMnemonicKey(n.mnemonic,n.meta,n.bip44HDPath)})),p=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return{status:yield e.createPrivateKey(n.privateKey,n.password,n.meta)}})),h=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.addPrivateKey(n.privateKey,n.meta)})),m=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return{status:yield e.createLedgerKey(t,n.password,n.meta,n.bip44HDPath)}})),b=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.addLedgerKey(t,n.meta,n.bip44HDPath)})),y=e=>()=>({status:e.lock()}),g=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return{status:yield e.unlock(n.password)}})),v=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){yield e.permissionService.checkOrGrantBasicAccessPermission(t,n.chainId,n.origin);const r=yield e.getKey(n.chainId);return{name:e.getKeyStoreMeta("name"),algo:"secp256k1",pubKey:r.pubKey,address:r.address,bech32Address:new o.Bech32Address(r.address).toBech32((yield e.chainsService.getChainInfo(n.chainId)).bech32Config.bech32PrefixAccAddr),isNanoLedger:r.isNanoLedger}})),w=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,n.chainId,n.origin),yield e.requestSignAmino(t,n.chainId,n.signer,n.signDoc,n.signOptions)})),_=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){yield e.permissionService.checkOrGrantBasicAccessPermission(t,n.chainId,n.origin);const r=a.cosmos.tx.v1beta1.SignDoc.decode(n.signDocBytes),i=yield e.requestSignDirect(t,n.chainId,n.signer,r,n.signOptions);return{signedBytes:a.cosmos.tx.v1beta1.SignDoc.encode(i.signed).finish(),signature:i.signature}})),k=e=>()=>e.getKeyRingType(),x=e=>()=>e.getMultiKeyStoreInfo(),S=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.changeKeyStoreFromMultiKeyStore(n.index)})),O=e=>(t,n)=>e.getKeyStoreBIP44Selectables(n.chainId,n.paths),E=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.setKeyStoreCoinType(n.chainId,n.coinType),e.keyRingStatus}))},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(359),t),i(n(803),t)},function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(194));t.logs=o;const a=r(n(104));t.types=a;var s=n(737);t.pubkeyToAddress=s.pubkeyToAddress;var c=n(760);t.unmarshalTx=c.unmarshalTx;var l=n(196);t.makeSignBytes=l.makeSignBytes,t.marshalTx=l.marshalTx;var u=n(197);t.BroadcastMode=u.BroadcastMode,t.RestClient=u.RestClient;var f=n(377);t.CosmWasmClient=f.CosmWasmClient;var d=n(799);t.makeCosmoshubPath=d.makeSecretNetworkPath,t.Secp256k1Pen=d.Secp256k1Pen;var p=n(203);t.decodeBech32Pubkey=p.decodeBech32Pubkey,t.encodeBech32Pubkey=p.encodeBech32Pubkey,t.encodeSecp256k1Pubkey=p.encodeSecp256k1Pubkey;var h=n(800);t.findSequenceForSignedTx=h.findSequenceForSignedTx;var m=n(204);t.encodeSecp256k1Signature=m.encodeSecp256k1Signature,t.decodeSignature=m.decodeSignature;var b=n(801);t.SigningCosmWasmClient=b.SigningCosmWasmClient;const y=i(n(368));t.EnigmaUtils=y.default},function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n(94));t.Bech32=class{static encode(e,t){return i.encode(e,i.toWords(t))}static decode(e){const t=i.decode(e);return{prefix:t.prefix,data:new Uint8Array(i.fromWords(t.words))}}}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n(6));class o{constructor(e,t){this.data={atomics:new i.default(e),fractionalDigits:t}}static fromUserInput(e,t){o.verifyFractionalDigits(t);const n=e.match(/[^0-9.]/);if(n)throw new Error("Invalid character at position "+(n.index+1));let r,i;if(-1===e.search(/\./))r=e,i="";else{const t=e.split(".");switch(t.length){case 0:case 1:throw new Error("Fewer than two elements in split result. This must not happen here.");case 2:if(!t[1])throw new Error("Fractional part missing");r=t[0],i=t[1].replace(/0+$/,"");break;default:throw new Error("More than one separator found")}}if(i.length>t)throw new Error("Got more fractional digits than supported");const a=`${r}${i.padEnd(t,"0")}`;return new o(a,t)}static fromAtomics(e,t){return o.verifyFractionalDigits(t),new o(e,t)}static verifyFractionalDigits(e){if(!Number.isInteger(e))throw new Error("Fractional digits is not an integer");if(e<0)throw new Error("Fractional digits must not be negative");if(e>100)throw new Error("Fractional digits must not exceed 100")}get atomics(){return this.data.atomics.toString()}get fractionalDigits(){return this.data.fractionalDigits}toString(){const e=new i.default(10).pow(new i.default(this.data.fractionalDigits)),t=this.data.atomics.div(e),n=this.data.atomics.mod(e);if(n.isZero())return t.toString();{const e=n.toString().padStart(this.data.fractionalDigits,"0").replace(/0+$/,"");return`${t.toString()}.${e}`}}toFloatApproximation(){const e=Number(this.toString());if(Number.isNaN(e))throw new Error("Conversion to number failed");return e}plus(e){if(this.fractionalDigits!==e.fractionalDigits)throw new Error("Fractional digits do not match");const t=this.data.atomics.add(new i.default(e.atomics));return new o(t.toString(),this.fractionalDigits)}}t.Decimal=o},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n(6)),o=new i.default("18446744073709551615",10,"be");class a{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(e<0||e>4294967295)throw new Error("Input not in uint32 range: "+e.toString());this.data=e}static fromBigEndianBytes(e){if(4!==e.length)throw new Error("Invalid input length. Expected 4 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);return new a(e[0]*2**24+65536*e[1]+256*e[2]+e[3])}toBytesBigEndian(){return new Uint8Array([255&Math.floor(this.data/2**24),255&Math.floor(this.data/65536),255&Math.floor(this.data/256),255&Math.floor(this.data/1)])}toBytesLittleEndian(){return new Uint8Array([255&Math.floor(this.data/1),255&Math.floor(this.data/256),255&Math.floor(this.data/65536),255&Math.floor(this.data/2**24)])}toNumber(){return this.data}toString(){return this.data.toString()}}t.Uint32=a;class s{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(eNumber.MAX_SAFE_INTEGER)throw new Error("Input not in int53 range: "+e.toString());this.data=e}static fromString(e){if(!e.match(/^-?[0-9]+$/))throw new Error("Invalid string format");return new s(Number.parseInt(e,10))}toNumber(){return this.data}toString(){return this.data.toString()}}t.Int53=s;class c{constructor(e){const t=new s(e);if(t.toNumber()<0)throw new Error("Input is negative");this.data=t}static fromString(e){const t=s.fromString(e);return new c(t.toNumber())}toNumber(){return this.data.toNumber()}toString(){return this.data.toString()}}t.Uint53=c;class l{constructor(e){if(e.isNeg())throw new Error("Input is negative");if(e.gt(o))throw new Error("Input exceeds uint64 range");this.data=e}static fromBytesBigEndian(e){if(8!==e.length)throw new Error("Invalid input length. Expected 8 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);const t=[];for(let n=0;ne[t]).every(r)}Object.defineProperty(t,"__esModule",{value:!0}),t.isJsonCompatibleValue=r,t.isJsonCompatibleArray=i,t.isJsonCompatibleDictionary=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(360),i=n(362),o="string:",a="bytes:";class s{static toJson(e){if("number"==typeof e||"boolean"==typeof e)return e;if(null===e)return null;if("string"==typeof e)return`${o}${e}`;if(i.isUint8Array(e))return`${a}${r.Encoding.toHex(e)}`;if(Array.isArray(e))return e.map(s.toJson);if("object"==typeof e&&null!==e&&"[object Object]"===Object.prototype.toString.call(e)){const t={};for(const n of Object.keys(e)){const r=e[n];void 0!==r&&(t[n]=s.toJson(r))}return t}throw new Error("Cannot encode type to JSON")}static fromJson(e){if("number"==typeof e||"boolean"==typeof e)return e;if(null===e)return null;if("string"==typeof e){if(e.startsWith(o))return e.slice(o.length);if(e.startsWith(a))return r.Encoding.fromHex(e.slice(a.length));throw new Error("Found string with unknown prefix")}if(Array.isArray(e))return e.map(s.fromJson);if("object"==typeof e&&null!==e&&"[object Object]"===Object.prototype.toString.call(e)){const t={};for(const n of Object.keys(e))t[n]=s.fromJson(e[n]);return t}throw new Error("Cannot decode type from JSON")}}t.TransactionEncoder=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(105),i=n(42),o=n(104),{fromBase64:a}=i.Encoding;function s(e,t){if(33!==e.length)throw new Error("Invalid Secp256k1 pubkey length (compressed): "+e.length);const n=new r.Sha256(e).digest(),o=new r.Ripemd160(n).digest();return i.Bech32.encode(t,o)}t.rawSecp256k1PubkeyToAddress=s,t.pubkeyToAddress=function(e,t){const n=a(e.value);switch(e.type){case o.pubkeyType.secp256k1:return s(n,t);case o.pubkeyType.ed25519:{if(32!==n.length)throw new Error("Invalid Ed25519 pubkey length: "+n.length);const e=new r.Sha256(n).digest();return i.Bech32.encode(t,e.slice(0,20))}case o.pubkeyType.sr25519:{if(32!==n.length)throw new Error("Invalid Sr25519 pubkey length: "+n.length);const e=new r.Sha256(n).digest();return i.Bech32.encode(t,e.slice(0,20))}default:throw new Error("Unrecognized public key algorithm")}}},function(e,t,n){"use strict";(function(e){var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const i=n(139),o=r(n(69)),a=n(97),s=r(n(311)),c=n(364);t.Bip39=class{static encode(e){if(-1===[16,20,24,28,32].indexOf(e.length))throw new Error("invalid input length");return new c.EnglishMnemonic(o.entropyToMnemonic(i.Encoding.toHex(e)))}static decode(e){return i.Encoding.fromHex(o.mnemonicToEntropy(e.toString()))}static async mnemonicToSeed(t,n){const r=e.from(s.nfkd(t.toString()),"utf8"),i="mnemonic"+(n?s.nfkd(n):""),o=e.from(i,"utf8");return this.pbkdf2(r,o,2048,64,"sha512")}static async pbkdf2(e,t,n,r,i){return new Promise((o,s)=>{a.pbkdf2(e,t,n,r,i,(e,t)=>{e?s(e):o(new Uint8Array(t))})})}}}).call(this,n(2).Buffer)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(740);Object.defineProperty(t,"Decimal",{enumerable:!0,get:function(){return r.Decimal}});var i=n(741);Object.defineProperty(t,"Int53",{enumerable:!0,get:function(){return i.Int53}}),Object.defineProperty(t,"Uint32",{enumerable:!0,get:function(){return i.Uint32}}),Object.defineProperty(t,"Uint53",{enumerable:!0,get:function(){return i.Uint53}}),Object.defineProperty(t,"Uint64",{enumerable:!0,get:function(){return i.Uint64}})},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Decimal=void 0;const i=r(n(6));class o{constructor(e,t){this.data={atomics:new i.default(e),fractionalDigits:t}}static fromUserInput(e,t){o.verifyFractionalDigits(t);const n=e.match(/[^0-9.]/);if(n)throw new Error("Invalid character at position "+(n.index+1));let r,i;if(-1===e.search(/\./))r=e,i="";else{const t=e.split(".");switch(t.length){case 0:case 1:throw new Error("Fewer than two elements in split result. This must not happen here.");case 2:if(!t[1])throw new Error("Fractional part missing");r=t[0],i=t[1].replace(/0+$/,"");break;default:throw new Error("More than one separator found")}}if(i.length>t)throw new Error("Got more fractional digits than supported");const a=`${r}${i.padEnd(t,"0")}`;return new o(a,t)}static fromAtomics(e,t){return o.verifyFractionalDigits(t),new o(e,t)}static verifyFractionalDigits(e){if(!Number.isInteger(e))throw new Error("Fractional digits is not an integer");if(e<0)throw new Error("Fractional digits must not be negative");if(e>100)throw new Error("Fractional digits must not exceed 100")}static compare(e,t){if(e.fractionalDigits!==t.fractionalDigits)throw new Error("Fractional digits do not match");return e.data.atomics.cmp(new i.default(t.atomics))}get atomics(){return this.data.atomics.toString()}get fractionalDigits(){return this.data.fractionalDigits}toString(){const e=new i.default(10).pow(new i.default(this.data.fractionalDigits)),t=this.data.atomics.div(e),n=this.data.atomics.mod(e);if(n.isZero())return t.toString();{const e=n.toString().padStart(this.data.fractionalDigits,"0").replace(/0+$/,"");return`${t.toString()}.${e}`}}toFloatApproximation(){const e=Number(this.toString());if(Number.isNaN(e))throw new Error("Conversion to number failed");return e}plus(e){if(this.fractionalDigits!==e.fractionalDigits)throw new Error("Fractional digits do not match");const t=this.data.atomics.add(new i.default(e.atomics));return new o(t.toString(),this.fractionalDigits)}equals(e){return 0===o.compare(this,e)}isLessThan(e){return o.compare(this,e)<0}isLessThanOrEqual(e){return o.compare(this,e)<=0}isGreaterThan(e){return o.compare(this,e)>0}isGreaterThanOrEqual(e){return o.compare(this,e)>=0}}t.Decimal=o},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Uint64=t.Uint53=t.Int53=t.Uint32=void 0;const i=r(n(6)),o=new i.default("18446744073709551615",10,"be");class a{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(e<0||e>4294967295)throw new Error("Input not in uint32 range: "+e.toString());this.data=e}static fromBigEndianBytes(e){if(4!==e.length)throw new Error("Invalid input length. Expected 4 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);return new a(e[0]*2**24+65536*e[1]+256*e[2]+e[3])}toBytesBigEndian(){return new Uint8Array([255&Math.floor(this.data/2**24),255&Math.floor(this.data/65536),255&Math.floor(this.data/256),255&Math.floor(this.data/1)])}toBytesLittleEndian(){return new Uint8Array([255&Math.floor(this.data/1),255&Math.floor(this.data/256),255&Math.floor(this.data/65536),255&Math.floor(this.data/2**24)])}toNumber(){return this.data}toString(){return this.data.toString()}}t.Uint32=a;class s{constructor(e){if(Number.isNaN(e))throw new Error("Input is not a number");if(!Number.isInteger(e))throw new Error("Input is not an integer");if(eNumber.MAX_SAFE_INTEGER)throw new Error("Input not in int53 range: "+e.toString());this.data=e}static fromString(e){if(!e.match(/^-?[0-9]+$/))throw new Error("Invalid string format");return new s(Number.parseInt(e,10))}toNumber(){return this.data}toString(){return this.data.toString()}}t.Int53=s;class c{constructor(e){const t=new s(e);if(t.toNumber()<0)throw new Error("Input is negative");this.data=t}static fromString(e){const t=s.fromString(e);return new c(t.toNumber())}toNumber(){return this.data.toNumber()}toString(){return this.data.toString()}}t.Uint53=c;class l{constructor(e){if(e.isNeg())throw new Error("Input is negative");if(e.gt(o))throw new Error("Input exceeds uint64 range");this.data=e}static fromBytesBigEndian(e){if(8!==e.length)throw new Error("Invalid input length. Expected 8 bytes.");for(let t=0;t255||e[t]<0)throw new Error("Invalid value in byte. Found: "+e[t]);const t=[];for(let n=0;n{const t=e.charCodeAt(0);if(t<32||t>126)throw new Error("Cannot encode character that is out of printable ASCII range: "+t);return t}))},t.fromAscii=function(e){return(t=Array.from(e),t.map(e=>{if(e<32||e>126)throw new Error("Cannot decode character that is out of printable ASCII range: "+e);return String.fromCharCode(e)})).join("");var t}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.fromBase64=t.toBase64=void 0;const a=o(n(117));t.toBase64=function(e){return a.fromByteArray(e)},t.fromBase64=function(e){if(!e.match(/^[a-zA-Z0-9+/]*={0,2}$/))throw new Error("Invalid base64 string format");return a.toByteArray(e)}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Bech32=void 0;const a=o(n(94));t.Bech32=class{static encode(e,t){return a.encode(e,a.toWords(t))}static decode(e){const t=a.decode(e);return{prefix:t.prefix,data:new Uint8Array(a.fromWords(t.words))}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromHex=t.toHex=void 0,t.toHex=function(e){let t="";for(const n of e)t+=("0"+n.toString(16)).slice(-2);return t},t.fromHex=function(e){if(e.length%2!=0)throw new Error("hex string length must be a multiple of 2");const t=[];for(let n=0;nsetTimeout(t,e))}},function(e,t,n){"use strict";(function(e){function n(e){return"object"==typeof e&&null!==e}Object.defineProperty(t,"__esModule",{value:!0}),t.isUint8Array=t.isNonNullObject=void 0,t.isNonNullObject=n,t.isUint8Array=function(t){return!!n(t)&&("[object Uint8Array]"===Object.prototype.toString.call(t)&&(void 0===e||void 0===e.isBuffer||!e.isBuffer(t)))}}).call(this,n(2).Buffer)},function(e,t,n){"use strict";function r(e){return!("string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e&&null!==e&&!i(e)&&!o(e))}function i(e){if(!Array.isArray(e))return!1;for(const t of e)if(!r(t))return!1;return!0}function o(e){if("object"!=typeof e||null===e)return!1;if("[object Object]"!==Object.prototype.toString.call(e))return!1;return Object.getOwnPropertyNames(e).map(t=>e[t]).every(r)}Object.defineProperty(t,"__esModule",{value:!0}),t.isJsonCompatibleValue=r,t.isJsonCompatibleArray=i,t.isJsonCompatibleDictionary=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(195),i=n(363),o="string:",a="bytes:";class s{static toJson(e){if("number"==typeof e||"boolean"==typeof e)return e;if(null===e)return null;if("string"==typeof e)return`${o}${e}`;if(i.isUint8Array(e))return`${a}${r.toHex(e)}`;if(Array.isArray(e))return e.map(s.toJson);if("object"==typeof e&&null!==e&&"[object Object]"===Object.prototype.toString.call(e)){const t={};for(const n of Object.keys(e)){const r=e[n];void 0!==r&&(t[n]=s.toJson(r))}return t}throw new Error("Cannot encode type to JSON")}static fromJson(e){if("number"==typeof e||"boolean"==typeof e)return e;if(null===e)return null;if("string"==typeof e){if(e.startsWith(o))return e.slice(o.length);if(e.startsWith(a))return r.fromHex(e.slice(a.length));throw new Error("Found string with unknown prefix")}if(Array.isArray(e))return e.map(s.fromJson);if("object"==typeof e&&null!==e&&"[object Object]"===Object.prototype.toString.call(e)){const t={};for(const n of Object.keys(e))t[n]=s.fromJson(e[n]);return t}throw new Error("Cannot decode type from JSON")}}t.TransactionEncoder=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(195);t.Encoding=class{static toHex(e){return r.toHex(e)}static fromHex(e){return r.fromHex(e)}static toBase64(e){return r.toBase64(e)}static fromBase64(e){return r.fromBase64(e)}static toAscii(e){return r.toAscii(e)}static fromAscii(e){return r.fromAscii(e)}static toUtf8(e){return r.toUtf8(e)}static fromUtf8(e){return r.fromUtf8(e)}static fromRfc3339(e){return r.fromRfc3339(e)}static toRfc3339(e){return r.toRfc3339(e)}}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n(222));t.Keccak256=class{constructor(e){this.blockSize=64,this.impl=i.default.keccak256.create(),e&&this.update(e)}update(e){return this.impl.update(e),this}digest(){return new Uint8Array(this.impl.digest())}}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n(314));t.Argon2id=class{static async execute(e,t,n){return await i.default.ready,i.default.crypto_pwhash(n.outputLength,e,t,n.opsLimit,1024*n.memLimitKib,i.default.crypto_pwhash_ALG_ARGON2ID13)}};class o{constructor(e,t){this.privkey=e,this.pubkey=t}static fromLibsodiumPrivkey(e){if(64!==e.length)throw new Error(`Unexpected key length ${e.length}. Must be 64.`);return new o(e.slice(0,32),e.slice(32,64))}toLibsodiumPrivkey(){return new Uint8Array([...this.privkey,...this.pubkey])}}t.Ed25519Keypair=o;t.Ed25519=class{static async makeKeypair(e){await i.default.ready;const t=i.default.crypto_sign_seed_keypair(e);return o.fromLibsodiumPrivkey(t.privateKey)}static async createSignature(e,t){return await i.default.ready,i.default.crypto_sign_detached(e,t.toLibsodiumPrivkey())}static async verifySignature(e,t,n){return await i.default.ready,i.default.crypto_sign_verify_detached(e,t,n)}};t.Xchacha20poly1305Ietf=class{static async encrypt(e,t,n){await i.default.ready;return i.default.crypto_aead_xchacha20poly1305_ietf_encrypt(e,null,null,n,t)}static async decrypt(e,t,n){await i.default.ready;return i.default.crypto_aead_xchacha20poly1305_ietf_decrypt(null,e,null,n,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Random=class{static getBytes(e){try{const t="object"==typeof window?window:self,n=void 0!==t.crypto?t.crypto:t.msCrypto,r=new Uint8Array(e);return n.getRandomValues(r),r}catch(t){try{const t=n(72);return new Uint8Array([...t.randomBytes(e)])}catch(e){throw new Error("No secure random number generator found")}}}}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(139),o=r(n(75)),{toHex:a}=i.Encoding;t.Ripemd160=class{constructor(e){this.blockSize=64,this.impl=new o.default,e&&this.update(e)}update(e){return this.impl.update(a(e),"hex"),this}digest(){return Uint8Array.from(this.impl.digest())}}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(139),o=r(n(6)),a=r(n(45)),s=n(366),c=new a.default.ec("secp256k1"),l=new o.default("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141","hex");t.Secp256k1=class{static async makeKeypair(e){if(32!==e.length)throw new Error("input data is not a valid secp256k1 private key");const t=c.keyFromPrivate(e);if(!0!==t.validate().result)throw new Error("input data is not a valid secp256k1 private key");if(new o.default(e).gte(l))throw new Error("input data is not a valid secp256k1 private key");return{privkey:i.Encoding.fromHex(t.getPrivate("hex")),pubkey:i.Encoding.fromHex(t.getPublic().encode("hex"))}}static async createSignature(e,t){if(0===e.length)throw new Error("Message hash must not be empty");if(e.length>32)throw new Error("Message hash length must not exceed 32 bytes");const n=c.keyFromPrivate(t).sign(e,{canonical:!0});return new s.ExtendedSecp256k1Signature(Uint8Array.from(n.r.toArray()),Uint8Array.from(n.s.toArray()),n.recoveryParam)}static async verifySignature(e,t,n){if(0===t.length)throw new Error("Message hash must not be empty");if(t.length>32)throw new Error("Message hash length must not exceed 32 bytes");const r=c.keyFromPublic(n);try{return r.verify(t,e.toDer())}catch(e){return!1}}static recoverPubkey(e,t){const n={r:i.Encoding.toHex(e.r()),s:i.Encoding.toHex(e.s())},r=c.recoverPubKey(t,n,e.recovery),o=c.keyFromPublic(r);return i.Encoding.fromHex(o.getPublic(!1,"hex"))}static compressPubkey(e){switch(e.length){case 33:return e;case 65:return Uint8Array.from(c.keyFromPublic(e).pub.encodeCompressed());default:throw new Error("Invalid pubkey length")}}static trimRecoveryByte(e){switch(e.length){case 64:return e;case 65:return e.slice(0,64);default:throw new Error("Invalid signature length")}}}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(139),o=r(n(6)),a=r(n(45)),s=n(365),c=n(367);var l;!function(e){e.Secp256k1="Bitcoin seed",e.Ed25519="ed25519 seed"}(l=t.Slip10Curve||(t.Slip10Curve={})),t.slip10CurveFromString=function(e){switch(e){case l.Ed25519:return l.Ed25519;case l.Secp256k1:return l.Secp256k1;default:throw new Error(`Unknown curve string: '${e}'`)}};class u extends i.Uint32{static hardened(e){return new u(e+2**31)}static normal(e){return new u(e)}isHardened(){return this.data>=2**31}}t.Slip10RawIndex=u;const f=new a.default.ec("secp256k1");class d{static derivePath(e,t,n){let r=this.master(e,t);for(const t of n)r=this.child(e,r.privkey,r.chainCode,t);return r}static master(e,t){const n=new s.Hmac(c.Sha512,i.Encoding.toAscii(e)).update(t).digest(),r=n.slice(0,32),o=n.slice(32,64);return e!==l.Ed25519&&(this.isZero(r)||this.isGteN(e,r))?this.master(e,n):{chainCode:o,privkey:r}}static child(e,t,n,r){let i;if(r.isHardened()){const e=new Uint8Array([0,...t,...r.toBytesBigEndian()]);i=new s.Hmac(c.Sha512,n).update(e).digest()}else{if(e===l.Ed25519)throw new Error("Normal keys are not allowed with ed25519");{const a=new Uint8Array([...d.serializedPoint(e,new o.default(t)),...r.toBytesBigEndian()]);i=new s.Hmac(c.Sha512,n).update(a).digest()}}return this.childImpl(e,t,n,r,i)}static serializedPoint(e,t){switch(e){case l.Secp256k1:return i.Encoding.fromHex(f.g.mul(t).encodeCompressed("hex"));default:throw new Error("curve not supported")}}static childImpl(e,t,n,r,i){const a=i.slice(0,32),u=i.slice(32,64),f=u;if(e===l.Ed25519)return{chainCode:f,privkey:a};const d=this.n(e),p=new o.default(a).add(new o.default(t)).mod(d),h=Uint8Array.from(p.toArray("be",32));if(this.isGteN(e,a)||this.isZero(h)){const i=new s.Hmac(c.Sha512,n).update(new Uint8Array([1,...u,...r.toBytesBigEndian()])).digest();return this.childImpl(e,t,n,r,i)}return{chainCode:f,privkey:h}}static isZero(e){return e.every(e=>0===e)}static isGteN(e,t){return new o.default(t).gte(this.n(e))}static n(e){switch(e){case l.Secp256k1:return new o.default("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141",16);default:throw new Error("curve not supported")}}}t.Slip10=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(42),i=n(104);t.unmarshalTx=function(e){const t=JSON.parse(r.Encoding.fromUtf8(e));if(!i.isStdTx(t))throw new Error("Must be json encoded StdTx");return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(198));var r=n(369);t.AEAD=r.AEAD;var i=n(370);t.SIV=i.SIV;var o=n(765);t.StreamEncryptor=o.StreamEncryptor,t.StreamDecryptor=o.StreamDecryptor;var a=n(371);t.CMAC=a.CMAC;var s=n(372);t.PMAC=s.PMAC;var c=n(766);t.PolyfillCryptoProvider=c.PolyfillCryptoProvider;var l=n(140);t.WebCryptoProvider=l.WebCryptoProvider},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const i=n(106);class o{constructor(e,t){this._crypto=e,this._key=t,this._iv=new i.default,this._emptyPromise=Promise.resolve(this)}static importKey(e,t){return r(this,void 0,void 0,(function*(){if(16!==t.length&&32!==t.length)throw new Error(`Miscreant: invalid key length: ${t.length} (expected 16 or 32 bytes)`);const n=yield e.subtle.importKey("raw",t,"AES-CBC",!1,["encrypt"]);return new o(e,n)}))}clear(){return this}encryptBlock(e){return r(this,void 0,void 0,(function*(){const t={name:"AES-CBC",iv:this._iv.data},n=yield this._crypto.subtle.encrypt(t,this._key,e.data);return e.data.set(new Uint8Array(n,0,i.default.SIZE)),this._emptyPromise}))}}t.default=o},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});class i{constructor(e,t){this.key=e,this.crypto=t}static importKey(e,t){return r(this,void 0,void 0,(function*(){if(16!==t.length&&32!==t.length)throw new Error(`Miscreant: invalid key length: ${t.length} (expected 16 or 32 bytes)`);const n=yield e.subtle.importKey("raw",t,"AES-CTR",!1,["encrypt"]);return new i(n,e)}))}encryptCtr(e,t){return r(this,void 0,void 0,(function*(){const n=yield this.crypto.subtle.encrypt({name:"AES-CTR",counter:e,length:16},this.key,t);return new Uint8Array(n)}))}clear(){return this}}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=new Uint8Array([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0]);t.ctz=function(e){return r[e]}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const i=n(369),o=n(140);t.NONCE_SIZE=8,t.LAST_BLOCK_FLAG=1,t.COUNTER_MAX=4294967295;class a{static importKey(e,t,n,s=new o.WebCryptoProvider){return r(this,void 0,void 0,(function*(){return new a(yield i.AEAD.importKey(e,n,s),t)}))}constructor(e,t){this._aead=e,this._nonce_encoder=new c(t)}seal(e,t=!1,n=new Uint8Array(0)){return r(this,void 0,void 0,(function*(){return this._aead.seal(e,this._nonce_encoder.next(t),n)}))}clear(){return this._aead.clear(),this}}t.StreamEncryptor=a;class s{static importKey(e,t,n,a=new o.WebCryptoProvider){return r(this,void 0,void 0,(function*(){return new s(yield i.AEAD.importKey(e,n,a),t)}))}constructor(e,t){this._aead=e,this._nonce_encoder=new c(t)}open(e,t=!1,n=new Uint8Array(0)){return r(this,void 0,void 0,(function*(){return this._aead.open(e,this._nonce_encoder.next(t),n)}))}clear(){return this._aead.clear(),this}}t.StreamDecryptor=s;class c{constructor(e){if(e.length!==t.NONCE_SIZE)throw new Error("STREAM: nonce must be 8-bits (got "+e.length);this.buffer=new ArrayBuffer(t.NONCE_SIZE+4+1),this.view=new DataView(this.buffer),this.array=new Uint8Array(this.buffer),this.array.set(e),this.counter=0,this.finished=!1}next(e){if(this.finished)throw new Error("STREAM: already finished");if(this.view.setInt32(8,this.counter,!1),e)this.view.setInt8(12,t.LAST_BLOCK_FLAG),this.finished=!0;else if(this.counter+=1,this.counter>t.COUNTER_MAX)throw new Error("STREAM counter overflowed");return this.array}}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const i=n(767),o=n(768);t.PolyfillCryptoProvider=class{constructor(){}importBlockCipherKey(e){return r(this,void 0,void 0,(function*(){return new i.default(e)}))}importCTRKey(e){return r(this,void 0,void 0,(function*(){return new o.default(new i.default(e))}))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(200),i=new Uint8Array([1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47]),o=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]),a=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]);let s,c,l,u,f,d,p,h,m=!1;function b(e,t=0){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function y(e,t=new Uint8Array(4),n=0){return t[n+0]=e>>>24,t[n+1]=e>>>16,t[n+2]=e>>>8,t[n+3]=e>>>0,t}function g(e){return o[e>>>24&255]<<24|o[e>>>16&255]<<16|o[e>>>8&255]<<8|o[255&e]}t.default=class{constructor(e){if(m||function(){function e(e,t){let n=e,r=t,i=0;for(let e=1;e<256&&0!==r;e<<=1)0!=(r&e)&&(i^=n,r^=e),n<<=1,0!=(256&n)&&(n^=283);return i}const t=e=>e<<24|e>>>8;s=new Uint32Array(256),c=new Uint32Array(256),l=new Uint32Array(256),u=new Uint32Array(256);for(let n=0;n<256;n++){const r=o[n];let i=e(r,2)<<24|r<<16|r<<8|e(r,3);s[n]=i,i=t(i),c[n]=i,i=t(i),l[n]=i,i=t(i),u[n]=i,i=t(i)}f=new Uint32Array(256),d=new Uint32Array(256),p=new Uint32Array(256),h=new Uint32Array(256);for(let n=0;n<256;n++){const r=a[n];let i=e(r,14)<<24|e(r,9)<<16|e(r,13)<<8|e(r,11);f[n]=i,i=t(i),d[n]=i,i=t(i),p[n]=i,i=t(i),h[n]=i,i=t(i)}m=!0}(),16!==e.length&&32!==e.length)throw new Error(`Miscreant: invalid key length: ${e.length} (expected 16 or 32 bytes)`);this._encKey=function(e){const t=new Uint32Array(e.length+28),n=e.length/4|0,r=t.length;for(let r=0;r>>24)^i[e/n-1]<<24:n>6&&e%n==4&&(r=g(r)),t[e]=t[e-n]^r}var o;return t}(e),this._emptyPromise=Promise.resolve(this)}clear(){return this._encKey&&r.wipe(this._encKey),this}encryptBlock(e){const t=e.data,n=e.data;let r=b(t,0),i=b(t,4),a=b(t,8),f=b(t,12);r^=this._encKey[0],i^=this._encKey[1],a^=this._encKey[2],f^=this._encKey[3];let d=0,p=0,h=0,m=0;const g=this._encKey.length/4-2;let v=4;for(let e=0;e>>24&255]^c[i>>>16&255]^l[a>>>8&255]^u[255&f],p=this._encKey[v+1]^s[i>>>24&255]^c[a>>>16&255]^l[f>>>8&255]^u[255&r],h=this._encKey[v+2]^s[a>>>24&255]^c[f>>>16&255]^l[r>>>8&255]^u[255&i],m=this._encKey[v+3]^s[f>>>24&255]^c[r>>>16&255]^l[i>>>8&255]^u[255&a],v+=4,r=d,i=p,a=h,f=m;return r=o[d>>>24]<<24|o[p>>>16&255]<<16|o[h>>>8&255]<<8|o[255&m],i=o[p>>>24]<<24|o[h>>>16&255]<<16|o[m>>>8&255]<<8|o[255&d],a=o[h>>>24]<<24|o[m>>>16&255]<<16|o[d>>>8&255]<<8|o[255&p],f=o[m>>>24]<<24|o[d>>>16&255]<<16|o[p>>>8&255]<<8|o[255&h],r^=this._encKey[v+0],i^=this._encKey[v+1],a^=this._encKey[v+2],f^=this._encKey[v+3],y(r,n,0),y(i,n,4),y(a,n,8),y(f,n,12),this._emptyPromise}}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){e.done?i(e.value):new n((function(t){t(e.value)})).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const i=n(106);function o(e){let t=1;for(let n=i.default.SIZE-1;n>=0;n--)t+=255&e.data[n]|0,e.data[n]=255&t,t>>>=8}t.default=class{constructor(e){this._cipher=e,this._counter=new i.default,this._buffer=new i.default}clear(){return this._buffer.clear(),this._counter.clear(),this._cipher.clear(),this}encryptCtr(e,t){return r(this,void 0,void 0,(function*(){if(e.length!==i.default.SIZE)throw new Error("CTR: iv length must be equal to cipher block size");this._counter.data.set(e);let n=i.default.SIZE;const r=new Uint8Array(t.length);for(let e=0;e>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n,e[t+4]=r>>24&255,e[t+5]=r>>16&255,e[t+6]=r>>8&255,e[t+7]=255&r}function h(e,t,n,r){return function(e,t,n,r,i){var o,a=0;for(o=0;o>>8)-1}(e,t,n,r,32)}function m(e,t){var n;for(n=0;n<16;n++)e[n]=0|t[n]}function b(e){var t,n,r=1;for(t=0;t<16;t++)n=e[t]+r+65535,r=Math.floor(n/65536),e[t]=n-65536*r;e[0]+=r-1+37*(r-1)}function y(e,t,n){for(var r,i=~(n-1),o=0;o<16;o++)r=i&(e[o]^t[o]),e[o]^=r,t[o]^=r}function g(e,t){var n,r,o,a=i(),s=i();for(n=0;n<16;n++)s[n]=t[n];for(b(s),b(s),b(s),r=0;r<2;r++){for(a[0]=s[0]-65517,n=1;n<15;n++)a[n]=s[n]-65535-(a[n-1]>>16&1),a[n-1]&=65535;a[15]=s[15]-32767-(a[14]>>16&1),o=a[15]>>16&1,a[14]&=65535,y(s,a,1-o)}for(n=0;n<16;n++)e[2*n]=255&s[n],e[2*n+1]=s[n]>>8}function v(e,t){var n=new Uint8Array(32),r=new Uint8Array(32);return g(n,e),g(r,t),h(n,0,r,0)}function w(e){var t=new Uint8Array(32);return g(t,e),1&t[0]}function _(e,t){var n;for(n=0;n<16;n++)e[n]=t[2*n]+(t[2*n+1]<<8);e[15]&=32767}function k(e,t,n){for(var r=0;r<16;r++)e[r]=t[r]+n[r]}function x(e,t,n){for(var r=0;r<16;r++)e[r]=t[r]-n[r]}function S(e,t,n){var r,i,o=0,a=0,s=0,c=0,l=0,u=0,f=0,d=0,p=0,h=0,m=0,b=0,y=0,g=0,v=0,w=0,_=0,k=0,x=0,S=0,O=0,E=0,T=0,A=0,M=0,I=0,P=0,C=0,j=0,D=0,R=0,N=n[0],B=n[1],L=n[2],U=n[3],F=n[4],q=n[5],z=n[6],V=n[7],H=n[8],$=n[9],K=n[10],W=n[11],G=n[12],J=n[13],Q=n[14],Y=n[15];o+=(r=t[0])*N,a+=r*B,s+=r*L,c+=r*U,l+=r*F,u+=r*q,f+=r*z,d+=r*V,p+=r*H,h+=r*$,m+=r*K,b+=r*W,y+=r*G,g+=r*J,v+=r*Q,w+=r*Y,a+=(r=t[1])*N,s+=r*B,c+=r*L,l+=r*U,u+=r*F,f+=r*q,d+=r*z,p+=r*V,h+=r*H,m+=r*$,b+=r*K,y+=r*W,g+=r*G,v+=r*J,w+=r*Q,_+=r*Y,s+=(r=t[2])*N,c+=r*B,l+=r*L,u+=r*U,f+=r*F,d+=r*q,p+=r*z,h+=r*V,m+=r*H,b+=r*$,y+=r*K,g+=r*W,v+=r*G,w+=r*J,_+=r*Q,k+=r*Y,c+=(r=t[3])*N,l+=r*B,u+=r*L,f+=r*U,d+=r*F,p+=r*q,h+=r*z,m+=r*V,b+=r*H,y+=r*$,g+=r*K,v+=r*W,w+=r*G,_+=r*J,k+=r*Q,x+=r*Y,l+=(r=t[4])*N,u+=r*B,f+=r*L,d+=r*U,p+=r*F,h+=r*q,m+=r*z,b+=r*V,y+=r*H,g+=r*$,v+=r*K,w+=r*W,_+=r*G,k+=r*J,x+=r*Q,S+=r*Y,u+=(r=t[5])*N,f+=r*B,d+=r*L,p+=r*U,h+=r*F,m+=r*q,b+=r*z,y+=r*V,g+=r*H,v+=r*$,w+=r*K,_+=r*W,k+=r*G,x+=r*J,S+=r*Q,O+=r*Y,f+=(r=t[6])*N,d+=r*B,p+=r*L,h+=r*U,m+=r*F,b+=r*q,y+=r*z,g+=r*V,v+=r*H,w+=r*$,_+=r*K,k+=r*W,x+=r*G,S+=r*J,O+=r*Q,E+=r*Y,d+=(r=t[7])*N,p+=r*B,h+=r*L,m+=r*U,b+=r*F,y+=r*q,g+=r*z,v+=r*V,w+=r*H,_+=r*$,k+=r*K,x+=r*W,S+=r*G,O+=r*J,E+=r*Q,T+=r*Y,p+=(r=t[8])*N,h+=r*B,m+=r*L,b+=r*U,y+=r*F,g+=r*q,v+=r*z,w+=r*V,_+=r*H,k+=r*$,x+=r*K,S+=r*W,O+=r*G,E+=r*J,T+=r*Q,A+=r*Y,h+=(r=t[9])*N,m+=r*B,b+=r*L,y+=r*U,g+=r*F,v+=r*q,w+=r*z,_+=r*V,k+=r*H,x+=r*$,S+=r*K,O+=r*W,E+=r*G,T+=r*J,A+=r*Q,M+=r*Y,m+=(r=t[10])*N,b+=r*B,y+=r*L,g+=r*U,v+=r*F,w+=r*q,_+=r*z,k+=r*V,x+=r*H,S+=r*$,O+=r*K,E+=r*W,T+=r*G,A+=r*J,M+=r*Q,I+=r*Y,b+=(r=t[11])*N,y+=r*B,g+=r*L,v+=r*U,w+=r*F,_+=r*q,k+=r*z,x+=r*V,S+=r*H,O+=r*$,E+=r*K,T+=r*W,A+=r*G,M+=r*J,I+=r*Q,P+=r*Y,y+=(r=t[12])*N,g+=r*B,v+=r*L,w+=r*U,_+=r*F,k+=r*q,x+=r*z,S+=r*V,O+=r*H,E+=r*$,T+=r*K,A+=r*W,M+=r*G,I+=r*J,P+=r*Q,C+=r*Y,g+=(r=t[13])*N,v+=r*B,w+=r*L,_+=r*U,k+=r*F,x+=r*q,S+=r*z,O+=r*V,E+=r*H,T+=r*$,A+=r*K,M+=r*W,I+=r*G,P+=r*J,C+=r*Q,j+=r*Y,v+=(r=t[14])*N,w+=r*B,_+=r*L,k+=r*U,x+=r*F,S+=r*q,O+=r*z,E+=r*V,T+=r*H,A+=r*$,M+=r*K,I+=r*W,P+=r*G,C+=r*J,j+=r*Q,D+=r*Y,w+=(r=t[15])*N,a+=38*(k+=r*L),s+=38*(x+=r*U),c+=38*(S+=r*F),l+=38*(O+=r*q),u+=38*(E+=r*z),f+=38*(T+=r*V),d+=38*(A+=r*H),p+=38*(M+=r*$),h+=38*(I+=r*K),m+=38*(P+=r*W),b+=38*(C+=r*G),y+=38*(j+=r*J),g+=38*(D+=r*Q),v+=38*(R+=r*Y),o=(r=(o+=38*(_+=r*B))+(i=1)+65535)-65536*(i=Math.floor(r/65536)),a=(r=a+i+65535)-65536*(i=Math.floor(r/65536)),s=(r=s+i+65535)-65536*(i=Math.floor(r/65536)),c=(r=c+i+65535)-65536*(i=Math.floor(r/65536)),l=(r=l+i+65535)-65536*(i=Math.floor(r/65536)),u=(r=u+i+65535)-65536*(i=Math.floor(r/65536)),f=(r=f+i+65535)-65536*(i=Math.floor(r/65536)),d=(r=d+i+65535)-65536*(i=Math.floor(r/65536)),p=(r=p+i+65535)-65536*(i=Math.floor(r/65536)),h=(r=h+i+65535)-65536*(i=Math.floor(r/65536)),m=(r=m+i+65535)-65536*(i=Math.floor(r/65536)),b=(r=b+i+65535)-65536*(i=Math.floor(r/65536)),y=(r=y+i+65535)-65536*(i=Math.floor(r/65536)),g=(r=g+i+65535)-65536*(i=Math.floor(r/65536)),v=(r=v+i+65535)-65536*(i=Math.floor(r/65536)),w=(r=w+i+65535)-65536*(i=Math.floor(r/65536)),o=(r=(o+=i-1+37*(i-1))+(i=1)+65535)-65536*(i=Math.floor(r/65536)),a=(r=a+i+65535)-65536*(i=Math.floor(r/65536)),s=(r=s+i+65535)-65536*(i=Math.floor(r/65536)),c=(r=c+i+65535)-65536*(i=Math.floor(r/65536)),l=(r=l+i+65535)-65536*(i=Math.floor(r/65536)),u=(r=u+i+65535)-65536*(i=Math.floor(r/65536)),f=(r=f+i+65535)-65536*(i=Math.floor(r/65536)),d=(r=d+i+65535)-65536*(i=Math.floor(r/65536)),p=(r=p+i+65535)-65536*(i=Math.floor(r/65536)),h=(r=h+i+65535)-65536*(i=Math.floor(r/65536)),m=(r=m+i+65535)-65536*(i=Math.floor(r/65536)),b=(r=b+i+65535)-65536*(i=Math.floor(r/65536)),y=(r=y+i+65535)-65536*(i=Math.floor(r/65536)),g=(r=g+i+65535)-65536*(i=Math.floor(r/65536)),v=(r=v+i+65535)-65536*(i=Math.floor(r/65536)),w=(r=w+i+65535)-65536*(i=Math.floor(r/65536)),o+=i-1+37*(i-1),e[0]=o,e[1]=a,e[2]=s,e[3]=c,e[4]=l,e[5]=u,e[6]=f,e[7]=d,e[8]=p,e[9]=h,e[10]=m,e[11]=b,e[12]=y,e[13]=g,e[14]=v,e[15]=w}function O(e,t){S(e,t,t)}function E(e,t){var n,r=i();for(n=0;n<16;n++)r[n]=t[n];for(n=253;n>=0;n--)O(r,r),2!==n&&4!==n&&S(r,r,t);for(n=0;n<16;n++)e[n]=r[n]}function T(e,t,n){var r,o,a=new Uint8Array(32),c=new Float64Array(80),l=i(),u=i(),f=i(),d=i(),p=i(),h=i();for(o=0;o<31;o++)a[o]=t[o];for(a[31]=127&t[31]|64,a[0]&=248,_(c,n),o=0;o<16;o++)u[o]=c[o],d[o]=l[o]=f[o]=0;for(l[0]=d[0]=1,o=254;o>=0;--o)y(l,u,r=a[o>>>3]>>>(7&o)&1),y(f,d,r),k(p,l,f),x(l,l,f),k(f,u,d),x(u,u,d),O(d,p),O(h,l),S(l,f,l),S(f,u,p),k(p,l,f),x(l,l,f),O(u,l),x(f,d,h),S(l,f,s),k(l,l,d),S(f,f,l),S(l,d,h),S(d,u,c),O(u,p),y(l,u,r),y(f,d,r);for(o=0;o<16;o++)c[o+16]=l[o],c[o+32]=f[o],c[o+48]=u[o],c[o+64]=d[o];var m=c.subarray(32),b=c.subarray(16);return E(m,m),S(b,b,m),g(e,b),0}var A=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function M(e,t,n,r){for(var i,o,a,s,c,l,u,f,d,p,h,m,b,y,g,v,w,_,k,x,S,O,E,T,M,I,P=new Int32Array(16),C=new Int32Array(16),j=e[0],D=e[1],R=e[2],N=e[3],B=e[4],L=e[5],U=e[6],F=e[7],q=t[0],z=t[1],V=t[2],H=t[3],$=t[4],K=t[5],W=t[6],G=t[7],J=0;r>=128;){for(k=0;k<16;k++)x=8*k+J,P[k]=n[x+0]<<24|n[x+1]<<16|n[x+2]<<8|n[x+3],C[k]=n[x+4]<<24|n[x+5]<<16|n[x+6]<<8|n[x+7];for(k=0;k<80;k++)if(i=j,o=D,a=R,s=N,c=B,l=L,u=U,F,d=q,p=z,h=V,m=H,b=$,y=K,g=W,G,E=65535&(O=G),T=O>>>16,M=65535&(S=F),I=S>>>16,E+=65535&(O=($>>>14|B<<18)^($>>>18|B<<14)^(B>>>9|$<<23)),T+=O>>>16,M+=65535&(S=(B>>>14|$<<18)^(B>>>18|$<<14)^($>>>9|B<<23)),I+=S>>>16,E+=65535&(O=$&K^~$&W),T+=O>>>16,M+=65535&(S=B&L^~B&U),I+=S>>>16,E+=65535&(O=A[2*k+1]),T+=O>>>16,M+=65535&(S=A[2*k]),I+=S>>>16,S=P[k%16],T+=(O=C[k%16])>>>16,M+=65535&S,I+=S>>>16,M+=(T+=(E+=65535&O)>>>16)>>>16,E=65535&(O=_=65535&E|T<<16),T=O>>>16,M=65535&(S=w=65535&M|(I+=M>>>16)<<16),I=S>>>16,E+=65535&(O=(q>>>28|j<<4)^(j>>>2|q<<30)^(j>>>7|q<<25)),T+=O>>>16,M+=65535&(S=(j>>>28|q<<4)^(q>>>2|j<<30)^(q>>>7|j<<25)),I+=S>>>16,T+=(O=q&z^q&V^z&V)>>>16,M+=65535&(S=j&D^j&R^D&R),I+=S>>>16,f=65535&(M+=(T+=(E+=65535&O)>>>16)>>>16)|(I+=M>>>16)<<16,v=65535&E|T<<16,E=65535&(O=m),T=O>>>16,M=65535&(S=s),I=S>>>16,T+=(O=_)>>>16,M+=65535&(S=w),I+=S>>>16,D=i,R=o,N=a,B=s=65535&(M+=(T+=(E+=65535&O)>>>16)>>>16)|(I+=M>>>16)<<16,L=c,U=l,F=u,j=f,z=d,V=p,H=h,$=m=65535&E|T<<16,K=b,W=y,G=g,q=v,k%16==15)for(x=0;x<16;x++)S=P[x],E=65535&(O=C[x]),T=O>>>16,M=65535&S,I=S>>>16,S=P[(x+9)%16],E+=65535&(O=C[(x+9)%16]),T+=O>>>16,M+=65535&S,I+=S>>>16,w=P[(x+1)%16],E+=65535&(O=((_=C[(x+1)%16])>>>1|w<<31)^(_>>>8|w<<24)^(_>>>7|w<<25)),T+=O>>>16,M+=65535&(S=(w>>>1|_<<31)^(w>>>8|_<<24)^w>>>7),I+=S>>>16,w=P[(x+14)%16],T+=(O=((_=C[(x+14)%16])>>>19|w<<13)^(w>>>29|_<<3)^(_>>>6|w<<26))>>>16,M+=65535&(S=(w>>>19|_<<13)^(_>>>29|w<<3)^w>>>6),I+=S>>>16,I+=(M+=(T+=(E+=65535&O)>>>16)>>>16)>>>16,P[x]=65535&M|I<<16,C[x]=65535&E|T<<16;E=65535&(O=q),T=O>>>16,M=65535&(S=j),I=S>>>16,S=e[0],T+=(O=t[0])>>>16,M+=65535&S,I+=S>>>16,I+=(M+=(T+=(E+=65535&O)>>>16)>>>16)>>>16,e[0]=j=65535&M|I<<16,t[0]=q=65535&E|T<<16,E=65535&(O=z),T=O>>>16,M=65535&(S=D),I=S>>>16,S=e[1],T+=(O=t[1])>>>16,M+=65535&S,I+=S>>>16,I+=(M+=(T+=(E+=65535&O)>>>16)>>>16)>>>16,e[1]=D=65535&M|I<<16,t[1]=z=65535&E|T<<16,E=65535&(O=V),T=O>>>16,M=65535&(S=R),I=S>>>16,S=e[2],T+=(O=t[2])>>>16,M+=65535&S,I+=S>>>16,I+=(M+=(T+=(E+=65535&O)>>>16)>>>16)>>>16,e[2]=R=65535&M|I<<16,t[2]=V=65535&E|T<<16,E=65535&(O=H),T=O>>>16,M=65535&(S=N),I=S>>>16,S=e[3],T+=(O=t[3])>>>16,M+=65535&S,I+=S>>>16,I+=(M+=(T+=(E+=65535&O)>>>16)>>>16)>>>16,e[3]=N=65535&M|I<<16,t[3]=H=65535&E|T<<16,E=65535&(O=$),T=O>>>16,M=65535&(S=B),I=S>>>16,S=e[4],T+=(O=t[4])>>>16,M+=65535&S,I+=S>>>16,I+=(M+=(T+=(E+=65535&O)>>>16)>>>16)>>>16,e[4]=B=65535&M|I<<16,t[4]=$=65535&E|T<<16,E=65535&(O=K),T=O>>>16,M=65535&(S=L),I=S>>>16,S=e[5],T+=(O=t[5])>>>16,M+=65535&S,I+=S>>>16,I+=(M+=(T+=(E+=65535&O)>>>16)>>>16)>>>16,e[5]=L=65535&M|I<<16,t[5]=K=65535&E|T<<16,E=65535&(O=W),T=O>>>16,M=65535&(S=U),I=S>>>16,S=e[6],T+=(O=t[6])>>>16,M+=65535&S,I+=S>>>16,I+=(M+=(T+=(E+=65535&O)>>>16)>>>16)>>>16,e[6]=U=65535&M|I<<16,t[6]=W=65535&E|T<<16,E=65535&(O=G),T=O>>>16,M=65535&(S=F),I=S>>>16,S=e[7],T+=(O=t[7])>>>16,M+=65535&S,I+=S>>>16,I+=(M+=(T+=(E+=65535&O)>>>16)>>>16)>>>16,e[7]=F=65535&M|I<<16,t[7]=G=65535&E|T<<16,J+=128,r-=128}return r}function I(e,t,n){var r,i=new Int32Array(8),o=new Int32Array(8),a=new Uint8Array(256),s=n;for(i[0]=1779033703,i[1]=3144134277,i[2]=1013904242,i[3]=2773480762,i[4]=1359893119,i[5]=2600822924,i[6]=528734635,i[7]=1541459225,o[0]=4089235720,o[1]=2227873595,o[2]=4271175723,o[3]=1595750129,o[4]=2917565137,o[5]=725511199,o[6]=4215389547,o[7]=327033209,M(i,o,t,n),n%=128,r=0;r=0;--i)C(e,t,r=n[i/8|0]>>(7&i)&1),P(t,e),P(e,e),C(e,t,r)}function R(e,t){var n=[i(),i(),i(),i()];m(n[0],u),m(n[1],f),m(n[2],a),S(n[3],u,f),D(e,n,t)}var N=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function B(e,t){var n,r,i,o;for(r=63;r>=32;--r){for(n=0,i=r-32,o=r-12;i>8,t[i]-=256*n;t[i]+=n,t[r]=0}for(n=0,i=0;i<32;i++)t[i]+=n-(t[31]>>4)*N[i],n=t[i]>>8,t[i]&=255;for(i=0;i<32;i++)t[i]-=n*N[i];for(r=0;r<32;r++)t[r+1]+=t[r]>>8,e[r]=255&t[r]}function L(e){var t,n=new Float64Array(64);for(t=0;t<64;t++)n[t]=e[t];for(t=0;t<64;t++)e[t]=0;B(e,n)}function U(e,t,n,r,o){for(var a=new Uint8Array(64),s=[i(),i(),i(),i()],c=0;c<32;c++)a[c]=r[c];a[0]&=248,a[31]&=127,a[31]|=64,R(s,a),j(a.subarray(32),s);var l,u=128&a[63];return l=o?function(e,t,n,r,o){var a,s,c=new Uint8Array(64),l=new Uint8Array(64),u=new Float64Array(64),f=[i(),i(),i(),i()];for(e[0]=254,a=1;a<32;a++)e[a]=255;for(a=0;a<32;a++)e[32+a]=r[a];for(a=0;a=0;n--)O(r,r),1!==n&&S(r,r,t);for(n=0;n<16;n++)e[n]=r[n]}(n,n),S(n,n,s),S(n,n,l),S(n,n,l),S(e[0],n,l),O(r,e[0]),S(r,r,l),v(r,s)&&S(e[0],e[0],d),O(r,e[0]),S(r,r,l),v(r,s)?-1:(w(e[0])===t[31]>>7&&x(e[0],o,e[0]),S(e[3],e[0],e[1]),0)}function q(e,t,n,r){var o=function(e){var t=new Uint8Array(32),n=i(),r=i(),o=i();return _(n,e),k(r,n,a),x(o,n,a),E(r,r),S(r,r,o),g(t,r),t}(r);return o[31]|=128&t[63],t[63]&=127,function(e,t,n,r){var o,a=new Uint8Array(32),s=new Uint8Array(64),c=[i(),i(),i(),i()],l=[i(),i(),i(),i()];if(-1,n<64)return-1;if(F(l,r))return-1;for(o=0;o=0},t.generateKeyPair=function(e){if(z(e),32!==e.length)throw new Error("wrong seed length");for(var t=new Uint8Array(32),n=new Uint8Array(32),i=0;i<32;i++)t[i]=e[i];return T(n,t,r),t[0]&=248,t[31]&=127,t[31]|=64,n[31]&=127,{public:n,private:t}},t.default={}},function(e,t,n){(function(r,i){var o;!function(a){"use strict";function s(e,t){if(t=t||{type:"Array"},void 0!==r&&"number"==typeof r.pid&&r.versions&&r.versions.node)return function(e,t){var r=n(771).randomBytes(e);switch(t.type){case"Array":return[].slice.call(r);case"Buffer":return r;case"Uint8Array":for(var i=new Uint8Array(e),o=0;o0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1] "+b.message,new Error("UnsupportedEnvironments: "+a);case 14:return[2,new Uint8Array(o)]}}))}))};var u=function(e,t,n){return r(void 0,void 0,void 0,(function(){var r,o,a,c,u,f,d,p;return i(this,(function(i){switch(i.label){case 0:return r=s.default.hashes[n].blockSize,o=s.default.hashes[n].hashSize,e.length>r?[4,l.default.compute(e,n)]:[3,2];case 1:e=i.sent(),i.label=2;case 2:return(a=new Uint8Array(r)).set(e),c=a.map((function(e){return 255&(54^e)})),u=a.map((function(e){return 255&(92^e)})),(f=new Uint8Array(r+t.length)).set(c),f.set(t,r),[4,l.default.compute(f,n)];case 3:return d=i.sent(),(p=new Uint8Array(r+o)).set(u),p.set(d,r),[2,l.default.compute(p,n)]}}))}))};t.verify=function(e,n,o,a){return void 0===a&&(a="SHA-256"),r(void 0,void 0,void 0,(function(){var r;return i(this,(function(i){switch(i.label){case 0:return[4,t.compute(e,n,a)];case 1:return r=i.sent(),[2,o.toString()===r.toString()]}}))}))};var f=function(e,t,n,r,i,o){return new Promise((function(a,s){var c=o.importKey(e,t,n,r,i);c.oncomplete=function(e){a(e.target.result)},c.onerror=function(){s("KeyImportingFailed")}}))},d=function(e,t,n,r){return new Promise((function(i,o){var a=r.sign({name:"HMAC",hash:{name:e}},t,n);a.oncomplete=function(e){i(new Uint8Array(e.target.result))},a.onerror=function(){o("ComputingHMACFailed")}}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={hashes:{"SHA3-512":{nodeName:"sha3-512",hashSize:64,blockSize:72},"SHA3-384":{nodeName:"sha3-384",hashSize:48,blockSize:104},"SHA3-256":{nodeName:"sha3-256",hashSize:32,blockSize:136},"SHA3-224":{nodeName:"sha3-224",hashSize:28,blockSize:144},"SHA-256":{nodeName:"sha256",hashSize:32,blockSize:64},"SHA-384":{nodeName:"sha384",hashSize:48,blockSize:128},"SHA-512":{nodeName:"sha512",hashSize:64,blockSize:128},"SHA-1":{nodeName:"sha1",hashSize:20,blockSize:64},MD5:{nodeName:"md5",hashSize:16,blockSize:64}}}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1] "+e.message,new Error("UnsupportedEnvironment: "+o)}return[2,new Uint8Array(r)]}}))}))};var d=function(e,t,n){return new Promise((function(r,i){var o=n.digest(e,t);o.oncomplete=function(e){r(e.target.result)},o.onerror=function(e){i(e)}}))},p=function(e,t,n){var r=c.default.hashes[e].nodeName,i=n.createHash(r);return i.update(t),i.digest()},h=function(e,t){var r;if("MD5"===e)r=l.default(Array.from(t),{asBytes:!0});else if(["SHA3-512","SHA3-384","SHA3-256","SHA3-224"].indexOf(e)>=0){var i=8*c.default.hashes[e].hashSize,o=new u.SHA3(i),a=n(2).Buffer;o.update(a.from(t)),r=o.digest("binary")}else r=f.default[c.default.hashes[e].nodeName]().update(t).digest();return new Uint8Array(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={hashes:{"SHA3-512":{nodeName:"sha3-512",hashSize:64},"SHA3-384":{nodeName:"sha3-384",hashSize:48},"SHA3-256":{nodeName:"sha3-256",hashSize:32},"SHA3-224":{nodeName:"sha3-224",hashSize:28},"SHA-256":{nodeName:"sha256",hashSize:32},"SHA-384":{nodeName:"sha384",hashSize:48},"SHA-512":{nodeName:"sha512",hashSize:64},"SHA-1":{nodeName:"sha1",hashSize:20},MD5:{nodeName:"md5",hashSize:16}}}},function(e,t,n){var r,i,o,a,s;r=n(782),i=n(375).utf8,o=n(783),a=n(375).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):i.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var n=r.bytesToWords(e),c=8*e.length,l=1732584193,u=-271733879,f=-1732584194,d=271733878,p=0;p>>24)|4278255360&(n[p]<<24|n[p]>>>8);n[c>>>5]|=128<>>9<<4)]=c;var h=s._ff,m=s._gg,b=s._hh,y=s._ii;for(p=0;p>>0,u=u+v>>>0,f=f+w>>>0,d=d+_>>>0}return r.endian([l,u,f,d])})._ff=function(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+(i>>>0)+a;return(s<>>32-o)+t},s._gg=function(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+(i>>>0)+a;return(s<>>32-o)+t},s._hh=function(e,t,n,r,i,o,a){var s=e+(t^n^r)+(i>>>0)+a;return(s<>>32-o)+t},s._ii=function(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+(i>>>0)+a;return(s<>>32-o)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):r.bytesToHex(n)}},function(e,t){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n>>6*(3-o)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,i=0;r>>6-2*i);return t}},e.exports=r},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)} -/*! - * Determine if an object is a Buffer - * - * @author Feross Aboukhadijeh - * @license MIT - */ -e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SHAKE=t.SHA3Hash=t.SHA3=t.Keccak=void 0;var r,i=n(2),o=(r=n(785))&&r.__esModule?r:{default:r};var a=function(e){var t=e.allowedSizes,n=e.padding;return function e(){var r=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:512;if(!this||this.constructor!==e)return new e(a);if(t&&!t.includes(a))throw new Error("Unsupported hash length");var s=new o.default({capacity:a});return this.update=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"utf8";if(i.Buffer.isBuffer(e))return s.absorb(e),r;if("string"==typeof e)return r.update(i.Buffer.from(e,t));throw new TypeError("Not a string or buffer")},this.digest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"binary",t="string"==typeof e?{format:e}:e,r=s.squeeze({buffer:t.buffer,padding:t.padding||n});return t.format&&"binary"!==t.format?r.toString(t.format):r},this.reset=function(){return s.reset(),r},this}},s=a({allowedSizes:[224,256,384,512],padding:1});t.Keccak=s;var c=a({allowedSizes:[224,256,384,512],padding:6});t.SHA3=c;var l=a({allowedSizes:[128,256],padding:31});t.SHAKE=l;var u=s;t.SHA3Hash=u,c.SHA3Hash=u;var f=c;t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n(2),o=(r=n(786))&&r.__esModule?r:{default:r};var a=function(e,t){for(var n=0;n>>8,t[n+2]=e[r+1]>>>16,t[n+3]=e[r+1]>>>24,t[n+4]=e[r],t[n+5]=e[r]>>>8,t[n+6]=e[r]>>>16,t[n+7]=e[r]>>>24}return t},c=function(e){var t=this,n=e.capacity,r=e.padding,c=(0,o.default)(),l=n/8,u=200-n/4,f=0,d=new Uint32Array(50),p=i.Buffer.allocUnsafe(u);return this.absorb=function(e){for(var n=0;n=u&&(a(p,d),c(d),f=0);return t},this.squeeze=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={buffer:e.buffer||i.Buffer.allocUnsafe(l),padding:e.padding||r,queue:i.Buffer.allocUnsafe(p.length),state:new Uint32Array(d.length)};p.copy(t.queue);for(var n=0;n>>u,a[(l+1)%2]=c<>>u,(0,o.default)(a,0)(t,d),(0,o.default)(n,0)(a,0)}};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=[10,7,11,17,18,3,5,16,8,21,24,4,15,23,19,13,12,2,20,14,22,9,6,1];t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=[1,3,6,10,15,21,28,36,45,55,2,14,27,41,56,8,25,43,62,18,39,61,20,44];t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(202))&&r.__esModule?r:{default:r};var o=function(e){for(var t=e.A,n=e.C,r=e.D,o=e.W,a=0,s=0,c=0;c<5;c++){var l=2*c,u=2*(c+5),f=2*(c+10),d=2*(c+15),p=2*(c+20);n[l]=t[l]^t[u]^t[f]^t[d]^t[p],n[l+1]=t[l+1]^t[u+1]^t[f+1]^t[d+1]^t[p+1]}for(var h=0;h<5;h++){(0,i.default)(n,(h+1)%5)(o,0),a=o[0],s=o[1],o[0]=a<<1|s>>>31,o[1]=s<<1|a>>>31,r[2*h]=n[(h+4)%5*2]^o[0],r[2*h+1]=n[(h+4)%5*2+1]^o[1];for(var m=0;m<25;m+=5)t[2*(m+h)]^=r[2*h],t[2*(m+h)+1]^=r[2*h+1]}};t.default=o},function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var i,o,a=r(n(376)),s=r(n(796));!function(e){e.encodeBase64=a.encodeBase64,e.decodeBase64=a.decodeBase64,e.encodeBase64Url=a.encodeBase64Url,e.decodeBase64Url=a.decodeBase64Url,e.arrayBufferToHexString=a.arrayBufferToHexString,e.hexStringToArrayBuffer=a.hexStringToArrayBuffer,e.stringToArrayBuffer=a.stringToArrayBuffer,e.arrayBufferToString=a.arrayBufferToString}(i=t.encoder||(t.encoder={})),function(e){e.binToPem=s.binToPem,e.pemToBin=s.pemToBin}(o=t.formatter||(t.formatter={})),t.default={encoder:i,formatter:o}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getEnvBtoa=function(){return"undefined"!=typeof window?window.btoa:n},t.getEnvAtob=function(){return"undefined"!=typeof window?window.atob:r};var n=function(t){if(void 0===e)throw new Error("UnsupportedEnvironment");return e.from(t.toString(),"binary").toString("base64")},r=function(t){if(void 0===e)throw new Error("UnsupportedEnvironment");return e.from(t,"base64").toString("binary")}}).call(this,n(2).Buffer)},function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(376)),o={public:"PUBLIC KEY",private:"PRIVATE KEY",encryptedPrivate:"ENCRYPTED PRIVATE KEY",certificate:"CERTIFICATE",certRequest:"CERTIFICATE REQUEST"};t.pemToBin=function(e){var t=s(e);return i.decodeBase64(t)},t.binToPem=function(e,t){var n=i.encodeBase64(e);return a(n,t)};var a=function(e,t){for(var n=o[t],r="-----BEGIN "+n+"-----\n";e.length>0;)r+=e.substring(0,64)+"\n",e=e.substring(64);return r=r+"-----END "+n+"-----"},s=function(e){var t=RegExp("^-----[s]*BEGIN[^-]*-----$","gm"),n=RegExp("^-----[s]*END[^-]*-----$","gm");try{var r=e.split(t)[1].split(n)[0];return r=r.replace(/\r?\n/g,"")}catch(e){throw new Error("Invalid format as PEM")}}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]Math.pow(2,32)-1)throw new Error("TooLongKeyDataIndicated");l=new Uint8Array(a.default.hashes[o].hashSize*r),u=new Uint8Array(4),f=0,i.label=1;case 1:return f0;)e[n-1]+=t&&0===e[n]?1:0,t=t&&0===e[n],n--;return e}},function(e,t,n){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(105),i=n(204);function o(e){return[r.Slip10RawIndex.hardened(44),r.Slip10RawIndex.hardened(529),r.Slip10RawIndex.hardened(0),r.Slip10RawIndex.normal(0),r.Slip10RawIndex.normal(e)]}t.makeSecretNetworkPath=o;class a{constructor(e,t){this.privkey=e,this.pubkey=t}static async fromMnemonic(e,t=o(0)){const n=await r.Bip39.mnemonicToSeed(new r.EnglishMnemonic(e)),{privkey:i}=r.Slip10.derivePath(r.Slip10Curve.Secp256k1,n,t),s=(await r.Secp256k1.makeKeypair(i)).pubkey;return new a(i,r.Secp256k1.compressPubkey(s))}async sign(e,t="sha256"){const n=function(e,t){switch(t){case null:return new Uint8Array([...e]);case"sha256":return new r.Sha256(e).digest();case"sha512":return new r.Sha512(e).digest();default:throw new Error("Unknown prehash type")}}(e,t),o=await r.Secp256k1.createSignature(n,this.privkey),a=new Uint8Array([...o.r(32),...o.s(32)]);return i.encodeSecp256k1Signature(this.pubkey,a)}}t.Secp256k1Pen=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(105),i=n(196),o=n(204);t.findSequenceForSignedTx=async function(e,t,n,a,s=0){const c=e.value.signatures.find(()=>!0);if(!c)throw new Error("Signature missing in tx");const{pubkey:l,signature:u}=o.decodeSignature(c),f=r.Secp256k1Signature.fromFixedLength(u);for(let o=s;oo.Encoding.fromBase64(e.value.msg).slice(0,32)),p=await this.restClient.decryptDataField(f.data,d);return{logs:await this.restClient.decryptLogs(f.logs,d),transactionHash:f.transactionHash,data:p}}async execute(e,t,n="",r,i=this.fees.exec,a){a?this.restClient.codeHashCache.set(e,a):a=await this.restClient.getCodeHashByContractAddr(e);const s={type:"wasm/MsgExecuteContract",value:{sender:this.senderAddress,contract:e,callback_code_hash:"",msg:o.Encoding.toBase64(await this.restClient.enigmautils.encrypt(a,t)),sent_funds:null!=r?r:[],callback_sig:null}},{accountNumber:c,sequence:l}=await this.getNonce(),u=await this.getChainId(),f=await this.signAdapter([s],i,u,n,c,l),d=o.Encoding.fromBase64(s.value.msg).slice(0,32);let p;try{p=await this.postTx(f)}catch(e){try{const t=/contract failed: encrypted: (.+?): failed to execute message; message index: 0/g.exec(e.message);if(null==t||2!=t.length)throw e;const n=t[1],r=o.Encoding.fromBase64(n),i=await this.restClient.enigmautils.decrypt(r,d);e.message=e.message.replace(n,o.Encoding.fromUtf8(i))}catch(t){throw new Error(`Failed to decrypt the following error message: ${e.message}. Decryption error of the error message: ${t.message}`)}throw e}const h=await this.restClient.decryptDataField(p.data,[d]);return{logs:await this.restClient.decryptLogs(p.logs,[d]),transactionHash:p.transactionHash,data:h}}async sendTokens(e,t,n="",r=this.fees.send){const i={type:"cosmos-sdk/MsgSend",value:{from_address:this.senderAddress,to_address:e,amount:t}},{accountNumber:o,sequence:a}=await this.getNonce(),s=await this.getChainId(),c=await this.signAdapter([i],r,s,n,o,a);return this.postTx(c)}}t.SigningCosmWasmClient=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=new RegExp("^[a-z0-9][a-z0-9._-]*[a-z0-9](/[a-z0-9][a-z0-9._-]*[a-z0-9])+:[a-zA-Z0-9_][a-zA-Z0-9_.-]{0,127}$");t.isValidBuilder=function(e){return!(e.length>128)&&!!e.match(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const r=n(205),i=n(378),o=n(804);t.init=function(e,t){e.registerMessage(r.GetPubkeyMsg),e.registerMessage(r.ReqeustEncryptMsg),e.registerMessage(r.RequestDecryptMsg),e.registerMessage(r.GetTxEncryptionKeyMsg),e.addHandler(i.ROUTE,o.getHandler(t))}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const i=n(205);t.getHandler=e=>(t,n)=>{switch(n.constructor){case i.GetPubkeyMsg:return o(e)(t,n);case i.ReqeustEncryptMsg:return a(e)(t,n);case i.RequestDecryptMsg:return s(e)(t,n);case i.GetTxEncryptionKeyMsg:return c(e)(t,n);default:throw new Error("Unknown msg type")}};const o=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,n.chainId,n.origin),yield e.getPubkey(t,n.chainId)})),a=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,n.chainId,n.origin),yield e.encrypt(t,n.chainId,n.contractCodeHash,n.msg)})),s=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,n.chainId,n.origin),yield e.decrypt(t,n.chainId,n.cipherText,n.nonce)})),c=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,n.chainId,n.origin),yield e.getTxEncryptionKey(t,n.chainId,n.nonce)}))},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(379),t),i(n(806),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const r=n(206),i=n(380),o=n(807);t.init=function(e,t){e.registerMessage(r.SendTxMsg),e.addHandler(i.ROUTE,o.getHandler(t))}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const i=n(206);t.getHandler=e=>(t,n)=>{switch(n.constructor){case i.SendTxMsg:return o(e)(t,n);default:throw new Error("Unknown msg type")}};const o=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,n.chainId,n.origin),yield e.sendTx(n.chainId,n.tx,n.mode)}))},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(335),t),i(n(809),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const r=n(178),i=n(337),o=n(810);t.init=function(e,t){e.registerMessage(r.TryUpdateChainMsg),e.addHandler(i.ROUTE,o.getHandler(t))}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const i=n(178);t.getHandler=e=>(t,n)=>{switch(n.constructor){case i.TryUpdateChainMsg:return o(e)(t,n);default:throw new Error("Unknown msg type")}};const o=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){yield e.tryUpdateChain(n.chainId)}))},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(381),t),i(n(812),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const r=n(142),i=n(382),o=n(813);t.init=function(e,t){e.registerMessage(r.GetTokensMsg),e.registerMessage(r.SuggestTokenMsg),e.registerMessage(r.AddTokenMsg),e.registerMessage(r.RemoveTokenMsg),e.registerMessage(r.GetSecret20ViewingKey),e.addHandler(i.ROUTE,o.getHandler(t))}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const i=n(142);t.getHandler=e=>(t,n)=>{switch(n.constructor){case i.GetTokensMsg:return o(e)(t,n);case i.SuggestTokenMsg:return a(e)(t,n);case i.AddTokenMsg:return s(e)(t,n);case i.RemoveTokenMsg:return c(e)(t,n);case i.GetSecret20ViewingKey:return l(e)(t,n);default:throw new Error("Unknown msg type")}};const o=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.getTokens(n.chainId)})),a=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){yield e.permissionService.checkOrGrantBasicAccessPermission(t,n.chainId,n.origin),yield e.suggestToken(t,n.chainId,n.contractAddress,n.viewingKey)})),s=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){yield e.addToken(n.chainId,n.currency)})),c=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){yield e.removeToken(n.chainId,n.currency)})),l=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.permissionService.checkOrGrantBasicAccessPermission(t,n.chainId,n.origin),yield e.getSecret20ViewingKey(n.chainId,n.contractAddress)}))},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(338),t),i(n(815),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const r=n(180),i=n(341),o=n(816);t.init=function(e,t){e.registerMessage(r.ApproveInteractionMsg),e.registerMessage(r.RejectInteractionMsg),e.addHandler(i.ROUTE,o.getHandler(t))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const r=n(180);t.getHandler=e=>(t,n)=>{switch(n.constructor){case r.ApproveInteractionMsg:return i(e)(t,n);case r.RejectInteractionMsg:return o(e)(t,n);default:throw new Error("Unknown msg type")}};const i=e=>(t,n)=>e.approve(n.id,n.result),o=e=>(t,n)=>e.reject(n.id)},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(351),t),i(n(818),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=void 0;const r=n(192),i=n(354),o=n(819);t.init=function(e,t){e.registerMessage(r.EnableAccessMsg),e.registerMessage(r.GetPermissionOriginsMsg),e.registerMessage(r.RemovePermissionOrigin),e.addHandler(i.ROUTE,o.getHandler(t))}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.getHandler=void 0;const i=n(192);t.getHandler=e=>(t,n)=>{switch(n.constructor){case i.EnableAccessMsg:return o(e)(t,n);case i.GetPermissionOriginsMsg:return a(e)(t,n);case i.RemovePermissionOrigin:return s(e)(t,n);default:throw new Error("Unknown msg type")}};const o=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){return yield e.checkOrGrantBasicAccessPermission(t,n.chainIds,n.origin)})),a=e=>(t,n)=>e.getPermissionOrigins(n.chainId,n.permissionType),s=e=>(t,n)=>r(void 0,void 0,void 0,(function*(){yield e.removePermission(n.chainId,n.permissionType,[n.permissionOrigin])}))},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(330),t),i(n(177),t)},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(359),t),i(n(205),t)},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(379),t),i(n(206),t)},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(381),t),i(n(142),t),i(n(383),t)},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},function(e,t){var n,r=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return r[e]},t.getBCHDigit=function(e){for(var t=0;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');n=e},t.isKanjiModeEnabled=function(){return void 0!==n},t.toSJIS=function(e){return n(e)}},function(e,t,n){var r=n(1036),i=n(1037);t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!r.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return i.testNumeric(e)?t.NUMERIC:i.testAlphanumeric(e)?t.ALPHANUMERIC:i.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(e){return n}}},function(e,t,n){var r=n(37),i=n(1344);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t>=8;return t}function s(e,t,n){let r=0;for(let i=0;it+1+r&&o.throwError("child data too short",i.a.errors.BUFFER_OVERRUN,{})}return{consumed:1+r,result:a}}function u(e,t){if(0===e.length&&o.throwError("data too short",i.a.errors.BUFFER_OVERRUN,{}),e[t]>=248){const n=e[t]-247;t+1+n>e.length&&o.throwError("data short segment too short",i.a.errors.BUFFER_OVERRUN,{});const r=s(e,t+1,n);return t+1+n+r>e.length&&o.throwError("data long segment too short",i.a.errors.BUFFER_OVERRUN,{}),l(e,t,t+1+n,n+r)}if(e[t]>=192){const n=e[t]-192;return t+1+n>e.length&&o.throwError("data array too short",i.a.errors.BUFFER_OVERRUN,{}),l(e,t,t+1,n)}if(e[t]>=184){const n=e[t]-183;t+1+n>e.length&&o.throwError("data array too short",i.a.errors.BUFFER_OVERRUN,{});const a=s(e,t+1,n);t+1+n+a>e.length&&o.throwError("data array too short",i.a.errors.BUFFER_OVERRUN,{});return{consumed:1+n+a,result:Object(r.g)(e.slice(t+1+n,t+1+n+a))}}if(e[t]>=128){const n=e[t]-128;t+1+n>e.length&&o.throwError("data too short",i.a.errors.BUFFER_OVERRUN,{});return{consumed:1+n,result:Object(r.g)(e.slice(t+1,t+1+n))}}return{consumed:1,result:Object(r.g)(e[t])}}function f(e){const t=Object(r.a)(e),n=u(t,0);return n.consumed!==t.length&&o.throwArgumentError("invalid rlp data","data",e),n.result}},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return f}));var r=n(17),i=n(36);const o=new i.a("rlp/5.0.6");function a(e){const t=[];for(;e;)t.unshift(255&e),e>>=8;return t}function s(e,t,n){let r=0;for(let i=0;it+1+r&&o.throwError("child data too short",i.a.errors.BUFFER_OVERRUN,{})}return{consumed:1+r,result:a}}function u(e,t){if(0===e.length&&o.throwError("data too short",i.a.errors.BUFFER_OVERRUN,{}),e[t]>=248){const n=e[t]-247;t+1+n>e.length&&o.throwError("data short segment too short",i.a.errors.BUFFER_OVERRUN,{});const r=s(e,t+1,n);return t+1+n+r>e.length&&o.throwError("data long segment too short",i.a.errors.BUFFER_OVERRUN,{}),l(e,t,t+1+n,n+r)}if(e[t]>=192){const n=e[t]-192;return t+1+n>e.length&&o.throwError("data array too short",i.a.errors.BUFFER_OVERRUN,{}),l(e,t,t+1,n)}if(e[t]>=184){const n=e[t]-183;t+1+n>e.length&&o.throwError("data array too short",i.a.errors.BUFFER_OVERRUN,{});const a=s(e,t+1,n);t+1+n+a>e.length&&o.throwError("data array too short",i.a.errors.BUFFER_OVERRUN,{});return{consumed:1+n+a,result:Object(r.g)(e.slice(t+1+n,t+1+n+a))}}if(e[t]>=128){const n=e[t]-128;t+1+n>e.length&&o.throwError("data too short",i.a.errors.BUFFER_OVERRUN,{});return{consumed:1+n,result:Object(r.g)(e.slice(t+1,t+1+n))}}return{consumed:1,result:Object(r.g)(e[t])}}function f(e){const t=Object(r.a)(e),n=u(t,0);return n.consumed!==t.length&&o.throwArgumentError("invalid rlp data","data",e),n.result}},function(e,t,n){var r=n(37),i=n(1375);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},,,function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(870),t),i(n(952),t),i(n(1109),t),i(n(1110),t),i(n(900),t),i(n(1111),t),i(n(981),t),i(n(1264),t),i(n(1265),t)},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.TxChainSetter=void 0;const i=n(5);class o{constructor(e,t){this.chainGetter=e,this._chainId=t,i.makeObservable(this)}get chainInfo(){return this.chainGetter.getChain(this.chainId)}get chainId(){return this._chainId}setChain(e){this._chainId=e}}r([i.observable],o.prototype,"_chainId",void 0),r([i.computed],o.prototype,"chainInfo",null),r([i.action],o.prototype,"setChain",null),t.TxChainSetter=o},function(e,t,n){"use strict";var r=n(929);o.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}();var i=o.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function o(e,t,n){return o.TYPED_ARRAY_SUPPORT||this instanceof o?"number"==typeof e?c(this,e):function(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer)return function(e,t,n,r){if(n<0||t.byteLength=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function s(e,t){var n;return o.TYPED_ARRAY_SUPPORT?(n=new Uint8Array(t)).__proto__=o.prototype:(null===(n=e)&&(n=new o(t)),n.length=t),n}function c(e,t){var n=s(e,t<0?0:0|a(t));if(!o.TYPED_ARRAY_SUPPORT)for(var r=0;r55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function f(e){return o.isBuffer(e)?e.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)?e.byteLength:("string"!=typeof e&&(e=""+e),0===e.length?0:u(e).length)}o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),o.prototype.write=function(e,t,n){void 0===t||void 0===n&&"string"==typeof t?(n=this.length,t=0):isFinite(t)&&(t|=0,isFinite(n)?n|=0:n=void 0);var r=this.length-t;if((void 0===n||n>r)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(e,t,n,r){return function(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}(u(t,e.length-n),e,n,r)}(this,e,t,n)},o.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(a<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i{"click"===this.props.trigger&&this.state.show&&this.ref&&this.ref.current&&!this.ref.current.contains(e.target)&&this.setState({show:!1})},this.toggle=()=>{this.setState({show:!this.state.show})},this.onClick=()=>{"click"===this.props.trigger&&(this.setState({show:!this.state.show}),this.bodyClicked&&(this.bodyClicked=!1))},this.onMouseEnter=()=>{"hover"===this.props.trigger&&(this.hover=!0,this.setState({show:!0}))},this.onMouseLeave=()=>{"hover"===this.props.trigger&&(this.hover=!1,setTimeout(()=>{this.hover||this.setState({show:!1})},150))}}componentDidMount(){const e=this.tooltipRef.current,t=this.componentRef.current;if(e&&t){let{options:n}=this.props;n||(n={}),n.modifiers||(n.modifiers={},n.modifiers.arrow={enabled:!0}),this.popper=new o.a(t,e,n)}document.addEventListener("click",this.handleClickOutside)}componentDidUpdate(){this.popper&&this.popper.update()}componentWillUnmount(){this.popper&&this.popper.destroy(),document.removeEventListener("click",this.handleClickOutside)}render(){const{theme:e,tooltip:t,trigger:n,children:r}=this.props,o="static"===this.props.trigger?this.props.show:this.state.show;return i.a.createElement("div",{ref:this.ref,className:s()({[l.a.bright]:"bright"===e,show:o}),onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onClick:this.onClick},"click"===n&&o&&i.a.createElement("div",{style:{position:"fixed",width:"100%",height:"100%",top:0,left:0}}),i.a.createElement("div",{ref:this.tooltipRef,className:"popper",style:{visibility:o?"visible":"hidden",opacity:o?1:0}},i.a.createElement("div",{"x-arrow":""}),t),i.a.createElement("div",{ref:this.componentRef},r))}}u.defaultProps={theme:"dark"}},function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n(11);const i=[{rpc:"https://rpc-cosmoshub.keplr.app",rpcConfig:void 0,rest:"https://lcd-cosmoshub.keplr.app",restConfig:void 0,chainId:"cosmoshub-4",chainName:"Cosmos",stakeCurrency:{coinDenom:"ATOM",coinMinimalDenom:"uatom",coinDecimals:6,coinGeckoId:"cosmos"},walletUrl:"https://wallet.keplr.app/#/cosmoshub/stake",walletUrlForStaking:"https://wallet.keplr.app/#/cosmoshub/stake",bip44:{coinType:118},bech32Config:r.Bech32Address.defaultBech32Config("cosmos"),currencies:[{coinDenom:"ATOM",coinMinimalDenom:"uatom",coinDecimals:6,coinGeckoId:"cosmos"}],feeCurrencies:[{coinDenom:"ATOM",coinMinimalDenom:"uatom",coinDecimals:6,coinGeckoId:"cosmos"}],coinType:118,features:["stargate","ibc-transfer"]},{rpc:"https://rpc-osmosis.keplr.app",rpcConfig:void 0,rest:"https://lcd-osmosis.keplr.app",restConfig:void 0,chainId:"osmosis-1",chainName:"Osmosis",stakeCurrency:{coinDenom:"OSMO",coinMinimalDenom:"uosmo",coinDecimals:6,coinGeckoId:"osmosis"},walletUrl:"https://app.osmosis.zone",walletUrlForStaking:"https://wallet.keplr.app/#/osmosis/stake",bip44:{coinType:118},bech32Config:r.Bech32Address.defaultBech32Config("osmo"),currencies:[{coinDenom:"OSMO",coinMinimalDenom:"uosmo",coinDecimals:6,coinGeckoId:"osmosis"},{coinDenom:"ION",coinMinimalDenom:"uion",coinDecimals:6,coinGeckoId:"ion"}],feeCurrencies:[{coinDenom:"OSMO",coinMinimalDenom:"uosmo",coinDecimals:6,coinGeckoId:"osmosis"}],gasPriceStep:{low:0,average:.025,high:.035},features:["stargate","ibc-transfer"]},{rpc:"https://rpc-secret.keplr.app",rpcConfig:void 0,rest:"https://lcd-secret.keplr.app",restConfig:void 0,chainId:"secret-2",chainName:"Secret Network",stakeCurrency:{coinDenom:"SCRT",coinMinimalDenom:"uscrt",coinDecimals:6,coinGeckoId:"secret"},walletUrl:"https://wallet.keplr.app/#/secret/stake",walletUrlForStaking:"https://wallet.keplr.app/#/secret/stake",bip44:{coinType:529},alternativeBIP44s:[{coinType:118}],bech32Config:r.Bech32Address.defaultBech32Config("secret"),currencies:[{coinDenom:"SCRT",coinMinimalDenom:"uscrt",coinDecimals:6,coinGeckoId:"secret"}],feeCurrencies:[{coinDenom:"SCRT",coinMinimalDenom:"uscrt",coinDecimals:6,coinGeckoId:"secret"}],coinType:529,gasPriceStep:{low:.1,average:.25,high:.3},features:["secretwasm"]},{rpc:"https://rpc-akash.keplr.app",rpcConfig:void 0,rest:"https://lcd-akash.keplr.app",restConfig:void 0,chainId:"akashnet-2",chainName:"Akash",stakeCurrency:{coinDenom:"AKT",coinMinimalDenom:"uakt",coinDecimals:6,coinGeckoId:"akash-network"},walletUrl:"https://wallet.keplr.app/#/akashnet/stake",walletUrlForStaking:"https://wallet.keplr.app/#/akashnet/stake",bip44:{coinType:118},bech32Config:r.Bech32Address.defaultBech32Config("akash"),currencies:[{coinDenom:"AKT",coinMinimalDenom:"uakt",coinDecimals:6,coinGeckoId:"akash-network"}],feeCurrencies:[{coinDenom:"AKT",coinMinimalDenom:"uakt",coinDecimals:6,coinGeckoId:"akash-network"}],features:["stargate","ibc-transfer"]},{rpc:"https://rpc-crypto-org.keplr.app",rpcConfig:void 0,rest:"https://lcd-crypto-org.keplr.app",restConfig:void 0,chainId:"crypto-org-chain-mainnet-1",chainName:"Crypto.org",stakeCurrency:{coinDenom:"CRO",coinMinimalDenom:"basecro",coinDecimals:8,coinGeckoId:"crypto-com-chain"},walletUrl:"https://wallet.keplr.app/#/crypto-org/stake",walletUrlForStaking:"https://wallet.keplr.app/#/crypto-org/stake",bip44:{coinType:394},bech32Config:r.Bech32Address.defaultBech32Config("cro"),currencies:[{coinDenom:"CRO",coinMinimalDenom:"basecro",coinDecimals:8,coinGeckoId:"crypto-com-chain"}],feeCurrencies:[{coinDenom:"CRO",coinMinimalDenom:"basecro",coinDecimals:8,coinGeckoId:"crypto-com-chain"}],gasPriceStep:{low:.025,average:.03,high:.04},features:["stargate","ibc-transfer"]},{rpc:"https://rpc-iov.keplr.app",rpcConfig:void 0,rest:"https://lcd-iov.keplr.app",restConfig:void 0,chainId:"iov-mainnet-ibc",chainName:"Starname",stakeCurrency:{coinDenom:"IOV",coinMinimalDenom:"uiov",coinDecimals:6,coinGeckoId:"starname"},walletUrl:"https://wallet.keplr.app/#/iov-mainnet/stake",walletUrlForStaking:"https://wallet.keplr.app/#/iov-mainnet/stake",bip44:{coinType:234},bech32Config:r.Bech32Address.defaultBech32Config("star"),currencies:[{coinDenom:"IOV",coinMinimalDenom:"uiov",coinDecimals:6,coinGeckoId:"starname"}],feeCurrencies:[{coinDenom:"IOV",coinMinimalDenom:"uiov",coinDecimals:6,coinGeckoId:"starname"}],gasPriceStep:{low:1,average:2,high:3},features:["stargate","ibc-transfer"]},{rpc:"https://rpc-sifchain.keplr.app",rpcConfig:void 0,rest:"https://lcd-sifchain.keplr.app",restConfig:void 0,chainId:"sifchain-1",chainName:"Sifchain",stakeCurrency:{coinDenom:"ROWAN",coinMinimalDenom:"rowan",coinDecimals:18,coinGeckoId:"sifchain"},walletUrl:"https://wallet.keplr.app/#/sifchain/stake",walletUrlForStaking:"https://wallet.keplr.app/#/sifchain/stake",bip44:{coinType:118},bech32Config:r.Bech32Address.defaultBech32Config("sif"),currencies:[{coinDenom:"ROWAN",coinMinimalDenom:"rowan",coinDecimals:18,coinGeckoId:"sifchain"},{coinDenom:"Tether USDT",coinMinimalDenom:"cusdt",coinDecimals:6},{coinDenom:"Ethereum",coinMinimalDenom:"ceth",coinDecimals:18},{coinDenom:"Basic Attention Token",coinMinimalDenom:"cbat",coinDecimals:18},{coinDenom:"Aragon",coinMinimalDenom:"cant",coinDecimals:18},{coinDenom:"Bancor Network Token",coinMinimalDenom:"cbnt",coinDecimals:18},{coinDenom:"0x",coinMinimalDenom:"czrx",coinDecimals:18},{coinDenom:"Chainlink",coinMinimalDenom:"clink",coinDecimals:18},{coinDenom:"Decentraland",coinMinimalDenom:"cmana",coinDecimals:18},{coinDenom:"Loopring",coinMinimalDenom:"clrc",coinDecimals:18},{coinDenom:"Enjin Coin",coinMinimalDenom:"cenj",coinDecimals:18},{coinDenom:"Synthetix Network Token",coinMinimalDenom:"csnx",coinDecimals:18},{coinDenom:"TrueUSD",coinMinimalDenom:"ctusd",coinDecimals:18},{coinDenom:"Ocean Protocol",coinMinimalDenom:"cocean",coinDecimals:18},{coinDenom:"Fantom",coinMinimalDenom:"cftm",coinDecimals:18},{coinDenom:"sUSD",coinMinimalDenom:"csusd",coinDecimals:18},{coinDenom:"USD Coin",coinMinimalDenom:"cusdc",coinDecimals:6},{coinDenom:"Crypto com Coin",coinMinimalDenom:"ccro",coinDecimals:8},{coinDenom:"Wrapped Bitcoin",coinMinimalDenom:"cwbtc",coinDecimals:8},{coinDenom:"Swipe",coinMinimalDenom:"csxp",coinDecimals:18},{coinDenom:"Band Protocol",coinMinimalDenom:"cband",coinDecimals:18},{coinDenom:"Dai Stablecoin",coinMinimalDenom:"cdai",coinDecimals:18},{coinDenom:"Compound",coinMinimalDenom:"ccomp",coinDecimals:18},{coinDenom:"UMA",coinMinimalDenom:"cuma",coinDecimals:18},{coinDenom:"Balancer",coinMinimalDenom:"cbal",coinDecimals:18},{coinDenom:"Yearn finance",coinMinimalDenom:"cyfi",coinDecimals:18},{coinDenom:"Serum",coinMinimalDenom:"csrm",coinDecimals:6},{coinDenom:"Cream",coinMinimalDenom:"ccream",coinDecimals:18},{coinDenom:"SAND",coinMinimalDenom:"csand",coinDecimals:18},{coinDenom:"Sushi",coinMinimalDenom:"csushi",coinDecimals:18},{coinDenom:"Empty Set Dollar",coinMinimalDenom:"cesd",coinDecimals:18},{coinDenom:"Uniswap",coinMinimalDenom:"cuni",coinDecimals:18},{coinDenom:"Aave",coinMinimalDenom:"caave",coinDecimals:18},{coinDenom:"BarnBridge",coinMinimalDenom:"cbond",coinDecimals:18},{coinDenom:"Wrapped Filecoin",coinMinimalDenom:"cwfil",coinDecimals:18},{coinDenom:"The Graph",coinMinimalDenom:"cgrt",coinDecimals:18},{coinDenom:"Tokenlon",coinMinimalDenom:"clon",coinDecimals:18},{coinDenom:"1inch",coinMinimalDenom:"c1inch",coinDecimals:18},{coinDenom:"THORChain ERC20",coinMinimalDenom:"crune",coinDecimals:18},{coinDenom:"Secret ERC20",coinMinimalDenom:"cwscrt",coinDecimals:6},{coinDenom:"IoTeX",coinMinimalDenom:"ciotx",coinDecimals:18},{coinDenom:"Reef Finance",coinMinimalDenom:"creef",coinDecimals:18},{coinDenom:"COCOS BCX",coinMinimalDenom:"ccocos",coinDecimals:18},{coinDenom:"Keep Network",coinMinimalDenom:"ckeep",coinDecimals:18},{coinDenom:"Origin Protocol",coinMinimalDenom:"cogn",coinDecimals:18},{coinDenom:"ODAOfi",coinMinimalDenom:"cdaofi",coinDecimals:18},{coinDenom:"Linear",coinMinimalDenom:"clina",coinDecimals:18},{coinDenom:"12Ships",coinMinimalDenom:"ctshp",coinDecimals:18},{coinDenom:"B.20",coinMinimalDenom:"cb20",coinDecimals:18},{coinDenom:"Akropolis",coinMinimalDenom:"cakro",coinDecimals:18},{coinDenom:"Rio Fuel Token",coinMinimalDenom:"crfuel",coinDecimals:18},{coinDenom:"Rally",coinMinimalDenom:"crly",coinDecimals:18},{coinDenom:"Convergence",coinMinimalDenom:"cconv",coinDecimals:18},{coinDenom:"Render Token",coinMinimalDenom:"crndr",coinDecimals:18},{coinDenom:"PAID Network",coinMinimalDenom:"cpaid",coinDecimals:18},{coinDenom:"Tidal",coinMinimalDenom:"ctidal",coinDecimals:18}],feeCurrencies:[{coinDenom:"ROWAN",coinMinimalDenom:"rowan",coinDecimals:18,coinGeckoId:"sifchain"}],gasPriceStep:{low:5e11,average:1e12,high:2e12},features:["stargate"]},{rpc:"https://rpc-certik.keplr.app",rpcConfig:void 0,rest:"https://lcd-certik.keplr.app",restConfig:void 0,chainId:"shentu-1",chainName:"Certik",stakeCurrency:{coinDenom:"CTK",coinMinimalDenom:"uctk",coinDecimals:6,coinGeckoId:"certik"},walletUrl:"https://wallet.keplr.app/#/shentu/stake",walletUrlForStaking:"https://wallet.keplr.app/#/shentu/stake",bip44:{coinType:118},bech32Config:r.Bech32Address.defaultBech32Config("certik"),currencies:[{coinDenom:"CTK",coinMinimalDenom:"uctk",coinDecimals:6,coinGeckoId:"certik"}],feeCurrencies:[{coinDenom:"CTK",coinMinimalDenom:"uctk",coinDecimals:6,coinGeckoId:"certik"}]},{rpc:"https://rpc-iris.keplr.app",rpcConfig:void 0,rest:"https://lcd-iris.keplr.app",restConfig:void 0,chainId:"irishub-1",chainName:"IRISnet",stakeCurrency:{coinDenom:"IRIS",coinMinimalDenom:"uiris",coinDecimals:6,coinGeckoId:"iris-network"},walletUrl:"https://wallet.keplr.app/#/irishub/stake",walletUrlForStaking:"https://wallet.keplr.app/#/irishub/stake",bip44:{coinType:118},alternativeBIP44s:[{coinType:566}],bech32Config:r.Bech32Address.defaultBech32Config("iaa"),currencies:[{coinDenom:"IRIS",coinMinimalDenom:"uiris",coinDecimals:6,coinGeckoId:"iris-network"}],feeCurrencies:[{coinDenom:"IRIS",coinMinimalDenom:"uiris",coinDecimals:6,coinGeckoId:"iris-network"}],gasPriceStep:{low:.2,average:.3,high:.4},features:["stargate","ibc-transfer"]},{rpc:"https://rpc-regen.keplr.app",rpcConfig:void 0,rest:"https://lcd-regen.keplr.app",restConfig:void 0,chainId:"regen-1",chainName:"Regen",stakeCurrency:{coinDenom:"REGEN",coinMinimalDenom:"uregen",coinDecimals:6},walletUrl:"https://wallet.keplr.app/#/regen/stake",walletUrlForStaking:"https://wallet.keplr.app/#/regen/stake",bip44:{coinType:118},bech32Config:r.Bech32Address.defaultBech32Config("regen"),currencies:[{coinDenom:"REGEN",coinMinimalDenom:"uregen",coinDecimals:6}],feeCurrencies:[{coinDenom:"REGEN",coinMinimalDenom:"uregen",coinDecimals:6}],gasPriceStep:{low:0,average:.025,high:.04},features:["stargate"]},{rpc:"https://rpc-persistence.keplr.app",rpcConfig:void 0,rest:"https://lcd-persistence.keplr.app",restConfig:void 0,chainId:"core-1",chainName:"Persistence",stakeCurrency:{coinDenom:"XPRT",coinMinimalDenom:"uxprt",coinDecimals:6,coinGeckoId:"persistence"},walletUrl:"https://wallet.keplr.app/#/core/stake",walletUrlForStaking:"https://wallet.keplr.app/#/core/stake",bip44:{coinType:750},bech32Config:r.Bech32Address.defaultBech32Config("persistence"),currencies:[{coinDenom:"XPRT",coinMinimalDenom:"uxprt",coinDecimals:6,coinGeckoId:"persistence"}],feeCurrencies:[{coinDenom:"XPRT",coinMinimalDenom:"uxprt",coinDecimals:6,coinGeckoId:"persistence"}],features:["stargate","ibc-transfer"]},{rpc:"https://rpc-sentinel.keplr.app",rpcConfig:void 0,rest:"https://lcd-sentinel.keplr.app",restConfig:void 0,chainId:"sentinelhub-2",chainName:"Sentinel",stakeCurrency:{coinDenom:"DVPN",coinMinimalDenom:"udvpn",coinDecimals:6,coinGeckoId:"sentinel"},walletUrl:"https://wallet.keplr.app/#/sentinel/stake",walletUrlForStaking:"https://wallet.keplr.app/#/sentinel/stake",bip44:{coinType:118},bech32Config:r.Bech32Address.defaultBech32Config("sent"),currencies:[{coinDenom:"DVPN",coinMinimalDenom:"udvpn",coinDecimals:6,coinGeckoId:"sentinel"}],feeCurrencies:[{coinDenom:"DVPN",coinMinimalDenom:"udvpn",coinDecimals:6,coinGeckoId:"sentinel"}],gasPriceStep:{low:.1,average:.25,high:.4},features:["stargate","ibc-transfer"]},{rpc:"https://rpc-kava.keplr.app",rpcConfig:void 0,rest:"https://lcd-kava.keplr.app",restConfig:void 0,chainId:"kava-7",chainName:"Kava",stakeCurrency:{coinDenom:"KAVA",coinMinimalDenom:"ukava",coinDecimals:6,coinGeckoId:"kava"},walletUrl:"https://wallet.keplr.app/#/kava/stake",walletUrlForStaking:"https://wallet.keplr.app/#/kava/stake",bip44:{coinType:459},alternativeBIP44s:[{coinType:118}],bech32Config:r.Bech32Address.defaultBech32Config("kava"),currencies:[{coinDenom:"KAVA",coinMinimalDenom:"ukava",coinDecimals:6,coinGeckoId:"kava"}],feeCurrencies:[{coinDenom:"KAVA",coinMinimalDenom:"ukava",coinDecimals:6,coinGeckoId:"kava"}],coinType:459},{rpc:"https://rpc-cyber.keplr.app",rpcConfig:void 0,rest:"https://lcd-cyber.keplr.app",restConfig:void 0,chainId:"euler-6",chainName:"Cyber",stakeCurrency:{coinDenom:"EUL",coinMinimalDenom:"eul",coinDecimals:0},walletUrl:"https://wallet.keplr.app/#/euler/stake",walletUrlForStaking:"https://wallet.keplr.app/#/euler/stake",bip44:{coinType:118},bech32Config:r.Bech32Address.defaultBech32Config("cyber"),currencies:[{coinDenom:"EUL",coinMinimalDenom:"eul",coinDecimals:0}],feeCurrencies:[],beta:!0},{rpc:"https://rpc-straightedge.keplr.app",rpcConfig:void 0,rest:"https://lcd-straightedge.keplr.app",restConfig:void 0,chainId:"straightedge-2",chainName:"Straightedge",stakeCurrency:{coinDenom:"STR",coinMinimalDenom:"astr",coinDecimals:18},walletUrl:"https://wallet.keplr.app/#/straightedge/stake",walletUrlForStaking:"https://wallet.keplr.app/#/straightedge/stake",bip44:{coinType:118},bech32Config:r.Bech32Address.defaultBech32Config("str"),currencies:[{coinDenom:"STR",coinMinimalDenom:"astr",coinDecimals:18}],feeCurrencies:[{coinDenom:"STR",coinMinimalDenom:"astr",coinDecimals:18}],coinType:551,gasPriceStep:{low:.01*Math.pow(10,12),average:.025*Math.pow(10,12),high:.04*Math.pow(10,12)},beta:!0}],o=["https://wallet.keplr.app"]},function(e,t,n){"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(var o=0;o-1&&!this.props.autohide&&(this._hideTimeout&&this.clearHideTimeout(),this.state.isOpen&&!this.props.isOpen&&this.toggle())},n.onMouseLeaveTooltipContent=function(e){this.props.trigger.indexOf("hover")>-1&&!this.props.autohide&&(this._showTimeout&&this.clearShowTimeout(),e.persist(),this._hideTimeout=setTimeout(this.hide.bind(this,e),this.getDelay("hide")))},n.onEscKeyDown=function(e){"Escape"===e.key&&this.hide(e)},n.getRef=function(e){var t=this.props.innerRef;t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),this._popover=e},n.getDelay=function(e){var t=this.props.delay;return"object"==typeof t?isNaN(t[e])?E[e]:t[e]:t},n.getCurrentTarget=function(e){if(!e)return null;var t=this._targets.indexOf(e);return t>=0?this._targets[t]:this.getCurrentTarget(e.parentElement)},n.show=function(e){if(!this.props.isOpen){if(this.clearShowTimeout(),this.currentTargetElement=e?e.currentTarget||this.getCurrentTarget(e.target):null,e&&e.composedPath&&"function"==typeof e.composedPath){var t=e.composedPath();this.currentTargetElement=t&&t[0]||this.currentTargetElement}this.toggle(e)}},n.showWithDelay=function(e){this._hideTimeout&&this.clearHideTimeout(),this._showTimeout=setTimeout(this.show.bind(this,e),this.getDelay("show"))},n.hide=function(e){this.props.isOpen&&(this.clearHideTimeout(),this.currentTargetElement=null,this.toggle(e))},n.hideWithDelay=function(e){this._showTimeout&&this.clearShowTimeout(),this._hideTimeout=setTimeout(this.hide.bind(this,e),this.getDelay("hide"))},n.clearShowTimeout=function(){clearTimeout(this._showTimeout),this._showTimeout=void 0},n.clearHideTimeout=function(){clearTimeout(this._hideTimeout),this._hideTimeout=void 0},n.handleDocumentClick=function(e){var t=this.props.trigger.split(" ");t.indexOf("legacy")>-1&&(this.props.isOpen||M(e.target,this._targets))?(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen&&!A(e.target,this._popover)?this.hideWithDelay(e):this.props.isOpen||this.showWithDelay(e)):t.indexOf("click")>-1&&M(e.target,this._targets)&&(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen?this.hideWithDelay(e):this.showWithDelay(e))},n.addEventOnTargets=function(e,t,n){this._targets.forEach((function(r){r.addEventListener(e,t,n)}))},n.removeEventOnTargets=function(e,t,n){this._targets.forEach((function(r){r.removeEventListener(e,t,n)}))},n.addTargetEvents=function(){if(this.props.trigger){var e=this.props.trigger.split(" ");-1===e.indexOf("manual")&&((e.indexOf("click")>-1||e.indexOf("legacy")>-1)&&document.addEventListener("click",this.handleDocumentClick,!0),this._targets&&this._targets.length&&(e.indexOf("hover")>-1&&(this.addEventOnTargets("mouseover",this.showWithDelay,!0),this.addEventOnTargets("mouseout",this.hideWithDelay,!0)),e.indexOf("focus")>-1&&(this.addEventOnTargets("focusin",this.show,!0),this.addEventOnTargets("focusout",this.hide,!0)),this.addEventOnTargets("keydown",this.onEscKeyDown,!0)))}},n.removeTargetEvents=function(){this._targets&&(this.removeEventOnTargets("mouseover",this.showWithDelay,!0),this.removeEventOnTargets("mouseout",this.hideWithDelay,!0),this.removeEventOnTargets("keydown",this.onEscKeyDown,!0),this.removeEventOnTargets("focusin",this.show,!0),this.removeEventOnTargets("focusout",this.hide,!0)),document.removeEventListener("click",this.handleDocumentClick,!0)},n.updateTarget=function(){var e=Object(y.i)(this.props.target,!0);e!==this._targets&&(this.removeTargetEvents(),this._targets=e?Array.from(e):[],this.currentTargetElement=this.currentTargetElement||this._targets[0],this.addTargetEvents())},n.toggle=function(e){return this.props.disabled||!this._isMounted?e&&e.preventDefault():this.props.toggle(e)},n.render=function(){var e=this;this.props.isOpen&&this.updateTarget();var t=this.props,n=t.className,i=t.cssModule,o=t.innerClassName,a=t.isOpen,c=t.hideArrow,l=t.boundariesElement,u=t.placement,f=t.placementPrefix,d=t.arrowClassName,p=t.popperClassName,h=t.container,m=t.modifiers,b=t.positionFixed,g=t.offset,v=t.fade,w=t.flip,_=t.children,k=Object(y.m)(this.props,Object.keys(O)),x=Object(y.l)(p,i),E=Object(y.l)(o,i);return s.a.createElement(S,{className:n,target:this.currentTargetElement||this._targets[0],isOpen:a,hideArrow:c,boundariesElement:l,placement:u,placementPrefix:f,arrowClassName:d,popperClassName:x,container:h,modifiers:m,positionFixed:b,offset:g,cssModule:i,fade:v,flip:w},(function(t){var n=t.scheduleUpdate;return s.a.createElement("div",Object(r.a)({},k,{ref:e.getRef,className:E,role:"tooltip",onMouseOver:e.onMouseOverTooltipContent,onMouseLeave:e.onMouseLeaveTooltipContent,onKeyDown:e.onEscKeyDown}),"function"==typeof _?_({scheduleUpdate:n}):_)}))},t}(s.a.Component);I.propTypes=O,I.defaultProps=T;t.a=I},function(e,t,n){var r=n(37),i=n(1356);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(37),i=n(1376);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(37),i=n(1468);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(37),i=n(1473);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(37),i=n(1507);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(37),i=n(1511);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return y}));var r=n(6),i=n.n(r),o=n(16),a=n(35);var s=i.a.BN;const c=new a.a("bignumber/5.0.12"),l={};let u=!1;class f{constructor(e,t){c.checkNew(new.target,f),e!==l&&c.throwError("cannot call constructor directly; use BigNumber.from",a.a.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=t,this._isBigNumber=!0,Object.freeze(this)}fromTwos(e){return p(h(this).fromTwos(e))}toTwos(e){return p(h(this).toTwos(e))}abs(){return"-"===this._hex[0]?f.from(this._hex.substring(1)):this}add(e){return p(h(this).add(h(e)))}sub(e){return p(h(this).sub(h(e)))}div(e){return f.from(e).isZero()&&m("division by zero","div"),p(h(this).div(h(e)))}mul(e){return p(h(this).mul(h(e)))}mod(e){const t=h(e);return t.isNeg()&&m("cannot modulo negative values","mod"),p(h(this).umod(t))}pow(e){const t=h(e);return t.isNeg()&&m("cannot raise to negative values","pow"),p(h(this).pow(t))}and(e){const t=h(e);return(this.isNegative()||t.isNeg())&&m("cannot 'and' negative values","and"),p(h(this).and(t))}or(e){const t=h(e);return(this.isNegative()||t.isNeg())&&m("cannot 'or' negative values","or"),p(h(this).or(t))}xor(e){const t=h(e);return(this.isNegative()||t.isNeg())&&m("cannot 'xor' negative values","xor"),p(h(this).xor(t))}mask(e){return(this.isNegative()||e<0)&&m("cannot mask negative values","mask"),p(h(this).maskn(e))}shl(e){return(this.isNegative()||e<0)&&m("cannot shift negative values","shl"),p(h(this).shln(e))}shr(e){return(this.isNegative()||e<0)&&m("cannot shift negative values","shr"),p(h(this).shrn(e))}eq(e){return h(this).eq(h(e))}lt(e){return h(this).lt(h(e))}lte(e){return h(this).lte(h(e))}gt(e){return h(this).gt(h(e))}gte(e){return h(this).gte(h(e))}isNegative(){return"-"===this._hex[0]}isZero(){return h(this).isZero()}toNumber(){try{return h(this).toNumber()}catch(e){m("overflow","toNumber",this.toString())}return null}toString(){return arguments.length>0&&(10===arguments[0]?u||(u=!0,c.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?c.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",a.a.errors.UNEXPECTED_ARGUMENT,{}):c.throwError("BigNumber.toString does not accept parameters",a.a.errors.UNEXPECTED_ARGUMENT,{})),h(this).toString(10)}toHexString(){return this._hex}toJSON(e){return{type:"BigNumber",hex:this.toHexString()}}static from(e){if(e instanceof f)return e;if("string"==typeof e)return e.match(/^-?0x[0-9a-f]+$/i)?new f(l,d(e)):e.match(/^-?[0-9]+$/)?new f(l,d(new s(e))):c.throwArgumentError("invalid BigNumber string","value",e);if("number"==typeof e)return e%1&&m("underflow","BigNumber.from",e),(e>=9007199254740991||e<=-9007199254740991)&&m("overflow","BigNumber.from",e),f.from(String(e));const t=e;if("bigint"==typeof t)return f.from(t.toString());if(Object(o.h)(t))return f.from(Object(o.g)(t));if(t)if(t.toHexString){const e=t.toHexString();if("string"==typeof e)return f.from(e)}else{let e=t._hex;if(null==e&&"BigNumber"===t.type&&(e=t.hex),"string"==typeof e&&(Object(o.j)(e)||"-"===e[0]&&Object(o.j)(e.substring(1))))return f.from(e)}return c.throwArgumentError("invalid BigNumber value","value",e)}static isBigNumber(e){return!(!e||!e._isBigNumber)}}function d(e){if("string"!=typeof e)return d(e.toString(16));if("-"===e[0])return"-"===(e=e.substring(1))[0]&&c.throwArgumentError("invalid hex","value",e),"0x00"===(e=d(e))?e:"-"+e;if("0x"!==e.substring(0,2)&&(e="0x"+e),"0x"===e)return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&"0x00"===e.substring(0,4);)e="0x"+e.substring(4);return e}function p(e){return f.from(d(e))}function h(e){const t=f.from(e).toHexString();return"-"===t[0]?new s("-"+t.substring(3),16):new s(t.substring(2),16)}function m(e,t,n){const r={fault:e,operation:t};return null!=n&&(r.value=n),c.throwError(e,a.a.errors.NUMERIC_FAULT,r)}function b(e){return new s(e,36).toString(16)}function y(e){return new s(e,16).toString(36)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return y}));var r=n(27),i=n.n(r),o=n(17),a=n(36);var s=i.a.BN;const c=new a.a("bignumber/5.0.12"),l={};let u=!1;class f{constructor(e,t){c.checkNew(new.target,f),e!==l&&c.throwError("cannot call constructor directly; use BigNumber.from",a.a.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=t,this._isBigNumber=!0,Object.freeze(this)}fromTwos(e){return p(h(this).fromTwos(e))}toTwos(e){return p(h(this).toTwos(e))}abs(){return"-"===this._hex[0]?f.from(this._hex.substring(1)):this}add(e){return p(h(this).add(h(e)))}sub(e){return p(h(this).sub(h(e)))}div(e){return f.from(e).isZero()&&m("division by zero","div"),p(h(this).div(h(e)))}mul(e){return p(h(this).mul(h(e)))}mod(e){const t=h(e);return t.isNeg()&&m("cannot modulo negative values","mod"),p(h(this).umod(t))}pow(e){const t=h(e);return t.isNeg()&&m("cannot raise to negative values","pow"),p(h(this).pow(t))}and(e){const t=h(e);return(this.isNegative()||t.isNeg())&&m("cannot 'and' negative values","and"),p(h(this).and(t))}or(e){const t=h(e);return(this.isNegative()||t.isNeg())&&m("cannot 'or' negative values","or"),p(h(this).or(t))}xor(e){const t=h(e);return(this.isNegative()||t.isNeg())&&m("cannot 'xor' negative values","xor"),p(h(this).xor(t))}mask(e){return(this.isNegative()||e<0)&&m("cannot mask negative values","mask"),p(h(this).maskn(e))}shl(e){return(this.isNegative()||e<0)&&m("cannot shift negative values","shl"),p(h(this).shln(e))}shr(e){return(this.isNegative()||e<0)&&m("cannot shift negative values","shr"),p(h(this).shrn(e))}eq(e){return h(this).eq(h(e))}lt(e){return h(this).lt(h(e))}lte(e){return h(this).lte(h(e))}gt(e){return h(this).gt(h(e))}gte(e){return h(this).gte(h(e))}isNegative(){return"-"===this._hex[0]}isZero(){return h(this).isZero()}toNumber(){try{return h(this).toNumber()}catch(e){m("overflow","toNumber",this.toString())}return null}toString(){return arguments.length>0&&(10===arguments[0]?u||(u=!0,c.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?c.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",a.a.errors.UNEXPECTED_ARGUMENT,{}):c.throwError("BigNumber.toString does not accept parameters",a.a.errors.UNEXPECTED_ARGUMENT,{})),h(this).toString(10)}toHexString(){return this._hex}toJSON(e){return{type:"BigNumber",hex:this.toHexString()}}static from(e){if(e instanceof f)return e;if("string"==typeof e)return e.match(/^-?0x[0-9a-f]+$/i)?new f(l,d(e)):e.match(/^-?[0-9]+$/)?new f(l,d(new s(e))):c.throwArgumentError("invalid BigNumber string","value",e);if("number"==typeof e)return e%1&&m("underflow","BigNumber.from",e),(e>=9007199254740991||e<=-9007199254740991)&&m("overflow","BigNumber.from",e),f.from(String(e));const t=e;if("bigint"==typeof t)return f.from(t.toString());if(Object(o.h)(t))return f.from(Object(o.g)(t));if(t)if(t.toHexString){const e=t.toHexString();if("string"==typeof e)return f.from(e)}else{let e=t._hex;if(null==e&&"BigNumber"===t.type&&(e=t.hex),"string"==typeof e&&(Object(o.j)(e)||"-"===e[0]&&Object(o.j)(e.substring(1))))return f.from(e)}return c.throwArgumentError("invalid BigNumber value","value",e)}static isBigNumber(e){return!(!e||!e._isBigNumber)}}function d(e){if("string"!=typeof e)return d(e.toString(16));if("-"===e[0])return"-"===(e=e.substring(1))[0]&&c.throwArgumentError("invalid hex","value",e),"0x00"===(e=d(e))?e:"-"+e;if("0x"!==e.substring(0,2)&&(e="0x"+e),"0x"===e)return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&"0x00"===e.substring(0,4);)e="0x"+e.substring(4);return e}function p(e){return f.from(d(e))}function h(e){const t=f.from(e).toHexString();return"-"===t[0]?new s("-"+t.substring(3),16):new s(t.substring(2),16)}function m(e,t,n){const r={fault:e,operation:t};return null!=n&&(r.value=n),c.throwError(e,a.a.errors.NUMERIC_FAULT,r)}function b(e){return new s(e,36).toString(16)}function y(e){return new s(e,16).toString(36)}},function(e,t,n){(function(e){var r=n(1138),i=n(962),o=n(963),a=n(1140),s=n(409),c=t;c.request=function(t,n){t="string"==typeof t?s.parse(t):o(t);var i=-1===e.location.protocol.search(/^https?:$/)?"http:":"",a=t.protocol||i,c=t.hostname||t.host,l=t.port,u=t.path||"/";c&&-1!==c.indexOf(":")&&(c="["+c+"]"),t.url=(c?a+"//"+c:"")+(l?":"+l:"")+u,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var f=new r(t);return n&&f.on("response",n),f},c.get=function(e,t){var n=c.request(e,t);return n.end(),n},c.ClientRequest=r,c.IncomingMessage=i.IncomingMessage,c.Agent=function(){},c.Agent.defaultMaxSockets=4,c.globalAgent=new c.Agent,c.STATUS_CODES=a,c.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,n(12))},function(e,t,n){e.exports={encode:n(1162),decode:n(1163),encodingLength:n(1164)}},function(e){e.exports=JSON.parse('{"identity":0,"ip4":4,"tcp":6,"sha1":17,"sha2-256":18,"sha2-512":19,"sha3-512":20,"sha3-384":21,"sha3-256":22,"sha3-224":23,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,"blake3":30,"dccp":33,"murmur3-128":34,"murmur3-32":35,"ip6":41,"ip6zone":42,"path":47,"multicodec":48,"multihash":49,"multiaddr":50,"multibase":51,"dns":53,"dns4":54,"dns6":55,"dnsaddr":56,"protobuf":80,"cbor":81,"raw":85,"dbl-sha2-256":86,"rlp":96,"bencode":99,"dag-pb":112,"dag-cbor":113,"libp2p-key":114,"git-raw":120,"torrent-info":123,"torrent-file":124,"leofcoin-block":129,"leofcoin-tx":130,"leofcoin-pr":131,"sctp":132,"dag-jose":133,"dag-cose":134,"eth-block":144,"eth-block-list":145,"eth-tx-trie":146,"eth-tx":147,"eth-tx-receipt-trie":148,"eth-tx-receipt":149,"eth-state-trie":150,"eth-account-snapshot":151,"eth-storage-trie":152,"bitcoin-block":176,"bitcoin-tx":177,"bitcoin-witness-commitment":178,"zcash-block":192,"zcash-tx":193,"stellar-block":208,"stellar-tx":209,"md4":212,"md5":213,"bmt":214,"decred-block":224,"decred-tx":225,"ipld-ns":226,"ipfs-ns":227,"swarm-ns":228,"ipns-ns":229,"zeronet":230,"secp256k1-pub":231,"bls12_381-g1-pub":234,"bls12_381-g2-pub":235,"x25519-pub":236,"ed25519-pub":237,"dash-block":240,"dash-tx":241,"swarm-manifest":250,"swarm-feed":251,"udp":273,"p2p-webrtc-star":275,"p2p-webrtc-direct":276,"p2p-stardust":277,"p2p-circuit":290,"dag-json":297,"udt":301,"utp":302,"unix":400,"p2p":421,"ipfs":421,"https":443,"onion":444,"onion3":445,"garlic64":446,"garlic32":447,"tls":448,"quic":460,"ws":477,"wss":478,"p2p-websocket-star":479,"http":480,"json":512,"messagepack":513,"libp2p-peer-record":769,"sha2-256-trunc254-padded":4114,"ripemd-128":4178,"ripemd-160":4179,"ripemd-256":4180,"ripemd-320":4181,"x11":4352,"sm3-256":21325,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"skein256-8":45825,"skein256-16":45826,"skein256-24":45827,"skein256-32":45828,"skein256-40":45829,"skein256-48":45830,"skein256-56":45831,"skein256-64":45832,"skein256-72":45833,"skein256-80":45834,"skein256-88":45835,"skein256-96":45836,"skein256-104":45837,"skein256-112":45838,"skein256-120":45839,"skein256-128":45840,"skein256-136":45841,"skein256-144":45842,"skein256-152":45843,"skein256-160":45844,"skein256-168":45845,"skein256-176":45846,"skein256-184":45847,"skein256-192":45848,"skein256-200":45849,"skein256-208":45850,"skein256-216":45851,"skein256-224":45852,"skein256-232":45853,"skein256-240":45854,"skein256-248":45855,"skein256-256":45856,"skein512-8":45857,"skein512-16":45858,"skein512-24":45859,"skein512-32":45860,"skein512-40":45861,"skein512-48":45862,"skein512-56":45863,"skein512-64":45864,"skein512-72":45865,"skein512-80":45866,"skein512-88":45867,"skein512-96":45868,"skein512-104":45869,"skein512-112":45870,"skein512-120":45871,"skein512-128":45872,"skein512-136":45873,"skein512-144":45874,"skein512-152":45875,"skein512-160":45876,"skein512-168":45877,"skein512-176":45878,"skein512-184":45879,"skein512-192":45880,"skein512-200":45881,"skein512-208":45882,"skein512-216":45883,"skein512-224":45884,"skein512-232":45885,"skein512-240":45886,"skein512-248":45887,"skein512-256":45888,"skein512-264":45889,"skein512-272":45890,"skein512-280":45891,"skein512-288":45892,"skein512-296":45893,"skein512-304":45894,"skein512-312":45895,"skein512-320":45896,"skein512-328":45897,"skein512-336":45898,"skein512-344":45899,"skein512-352":45900,"skein512-360":45901,"skein512-368":45902,"skein512-376":45903,"skein512-384":45904,"skein512-392":45905,"skein512-400":45906,"skein512-408":45907,"skein512-416":45908,"skein512-424":45909,"skein512-432":45910,"skein512-440":45911,"skein512-448":45912,"skein512-456":45913,"skein512-464":45914,"skein512-472":45915,"skein512-480":45916,"skein512-488":45917,"skein512-496":45918,"skein512-504":45919,"skein512-512":45920,"skein1024-8":45921,"skein1024-16":45922,"skein1024-24":45923,"skein1024-32":45924,"skein1024-40":45925,"skein1024-48":45926,"skein1024-56":45927,"skein1024-64":45928,"skein1024-72":45929,"skein1024-80":45930,"skein1024-88":45931,"skein1024-96":45932,"skein1024-104":45933,"skein1024-112":45934,"skein1024-120":45935,"skein1024-128":45936,"skein1024-136":45937,"skein1024-144":45938,"skein1024-152":45939,"skein1024-160":45940,"skein1024-168":45941,"skein1024-176":45942,"skein1024-184":45943,"skein1024-192":45944,"skein1024-200":45945,"skein1024-208":45946,"skein1024-216":45947,"skein1024-224":45948,"skein1024-232":45949,"skein1024-240":45950,"skein1024-248":45951,"skein1024-256":45952,"skein1024-264":45953,"skein1024-272":45954,"skein1024-280":45955,"skein1024-288":45956,"skein1024-296":45957,"skein1024-304":45958,"skein1024-312":45959,"skein1024-320":45960,"skein1024-328":45961,"skein1024-336":45962,"skein1024-344":45963,"skein1024-352":45964,"skein1024-360":45965,"skein1024-368":45966,"skein1024-376":45967,"skein1024-384":45968,"skein1024-392":45969,"skein1024-400":45970,"skein1024-408":45971,"skein1024-416":45972,"skein1024-424":45973,"skein1024-432":45974,"skein1024-440":45975,"skein1024-448":45976,"skein1024-456":45977,"skein1024-464":45978,"skein1024-472":45979,"skein1024-480":45980,"skein1024-488":45981,"skein1024-496":45982,"skein1024-504":45983,"skein1024-512":45984,"skein1024-520":45985,"skein1024-528":45986,"skein1024-536":45987,"skein1024-544":45988,"skein1024-552":45989,"skein1024-560":45990,"skein1024-568":45991,"skein1024-576":45992,"skein1024-584":45993,"skein1024-592":45994,"skein1024-600":45995,"skein1024-608":45996,"skein1024-616":45997,"skein1024-624":45998,"skein1024-632":45999,"skein1024-640":46000,"skein1024-648":46001,"skein1024-656":46002,"skein1024-664":46003,"skein1024-672":46004,"skein1024-680":46005,"skein1024-688":46006,"skein1024-696":46007,"skein1024-704":46008,"skein1024-712":46009,"skein1024-720":46010,"skein1024-728":46011,"skein1024-736":46012,"skein1024-744":46013,"skein1024-752":46014,"skein1024-760":46015,"skein1024-768":46016,"skein1024-776":46017,"skein1024-784":46018,"skein1024-792":46019,"skein1024-800":46020,"skein1024-808":46021,"skein1024-816":46022,"skein1024-824":46023,"skein1024-832":46024,"skein1024-840":46025,"skein1024-848":46026,"skein1024-856":46027,"skein1024-864":46028,"skein1024-872":46029,"skein1024-880":46030,"skein1024-888":46031,"skein1024-896":46032,"skein1024-904":46033,"skein1024-912":46034,"skein1024-920":46035,"skein1024-928":46036,"skein1024-936":46037,"skein1024-944":46038,"skein1024-952":46039,"skein1024-960":46040,"skein1024-968":46041,"skein1024-976":46042,"skein1024-984":46043,"skein1024-992":46044,"skein1024-1000":46045,"skein1024-1008":46046,"skein1024-1016":46047,"skein1024-1024":46048,"poseidon-bls12_381-a2-fc1":46081,"poseidon-bls12_381-a2-fc1-sc":46082,"zeroxcert-imprint-256":52753,"fil-commitment-unsealed":61697,"fil-commitment-sealed":61698,"holochain-adr-v0":8417572,"holochain-adr-v1":8483108,"holochain-key-v0":9728292,"holochain-key-v1":9793828,"holochain-sig-v0":10645796,"holochain-sig-v1":10711332}')},function(e,t,n){"use strict";(function(t){var r=n(956),i=n(955);function o(e){var t=e;if("string"!=typeof t)throw new Error("[ethjs-util] while padding to even, value must be string, is currently "+typeof t+", while padToEven.");return t.length%2&&(t="0"+t),t}function a(e){return"0x"+e.toString(16)}e.exports={arrayContainsArray:function(e,t,n){if(!0!==Array.isArray(e))throw new Error("[ethjs-util] method arrayContainsArray requires input 'superset' to be an array got type '"+typeof e+"'");if(!0!==Array.isArray(t))throw new Error("[ethjs-util] method arrayContainsArray requires input 'subset' to be an array got type '"+typeof t+"'");return t[Boolean(n)?"some":"every"]((function(t){return e.indexOf(t)>=0}))},intToBuffer:function(e){var n=a(e);return new t(o(n.slice(2)),"hex")},getBinarySize:function(e){if("string"!=typeof e)throw new Error("[ethjs-util] while getting binary size, method getBinarySize requires input 'str' to be type String, got '"+typeof e+"'.");return t.byteLength(e,"utf8")},isHexPrefixed:r,stripHexPrefix:i,padToEven:o,intToHex:a,fromAscii:function(e){for(var t="",n=0;n0&&"0"===t.toString();)t=(e=e.slice(1))[0];return e},t.stripZeros=t.unpad,t.toBuffer=function(t){if(!e.isBuffer(t))if(Array.isArray(t))t=e.from(t);else if("string"==typeof t){if(!r.isHexString(t))throw new Error("Cannot convert string to buffer. toBuffer only supports 0x-prefixed hex strings and this string was given: "+t);t=e.from(r.padToEven(r.stripHexPrefix(t)),"hex")}else if("number"==typeof t)t=r.intToBuffer(t);else if(null==t)t=e.allocUnsafe(0);else if(i.isBN(t))t=t.toArrayLike(e);else{if(!t.toArray)throw new Error("invalid type");t=e.from(t.toArray())}return t},t.bufferToInt=function(e){return new i(t.toBuffer(e)).toNumber()},t.bufferToHex=function(e){return"0x"+(e=t.toBuffer(e)).toString("hex")},t.fromSigned=function(e){return new i(e).fromTwos(256)},t.toUnsigned=function(t){return e.from(t.toTwos(256).toArray())},t.addHexPrefix=function(e){return"string"!=typeof e||r.isHexPrefixed(e)?e:"0x"+e},t.baToJSON=function(n){if(e.isBuffer(n))return"0x"+n.toString("hex");if(n instanceof Array){for(var r=[],i=0;i2?arguments[2]:{},o=r(t);i&&(o=a.call(o,Object.getOwnPropertySymbols(t)));for(var s=0;s=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;or(this,void 0,void 0,(function*(){const n=t.data;if(n&&"proxy-request"===n.type)try{if(!n.id)throw new Error("Empty id");if("version"===n.method)throw new Error("Version is not function");if("defaultOptions"===n.method)throw new Error("DefaultOptions is not function");if(!e[n.method]||"function"!=typeof e[n.method])throw new Error("Invalid method: "+n.method);if("getOfflineSigner"===n.method)throw new Error("GetOfflineSigner method can't be proxy request");if("getOfflineSignerOnlyAmino"===n.method)throw new Error("GetOfflineSignerOnlyAmino method can't be proxy request");if("getOfflineSignerAuto"===n.method)throw new Error("GetOfflineSignerAuto method can't be proxy request");if("getEnigmaUtils"===n.method)throw new Error("GetEnigmaUtils method can't be proxy request");const t=yield e[n.method](...s.JSONUint8Array.unwrap(n.args)),r={type:"proxy-request-response",id:n.id,result:{return:s.JSONUint8Array.wrap(t)}};window.postMessage(r,window.location.origin)}catch(e){const t={type:"proxy-request-response",id:n.id,result:{error:e.message||e.toString()}};window.postMessage(t,window.location.origin)}})))}requestMethod(e,t){const n=new Uint8Array(8),r=Array.from(crypto.getRandomValues(n)).map(e=>e.toString(16)).join(""),i={type:"proxy-request",id:r,method:e,args:s.JSONUint8Array.wrap(t)};return new Promise((e,t)=>{const n=i=>{const o=i.data;if(!o||"proxy-request-response"!==o.type)return;if(o.id!==r)return;window.removeEventListener("message",n);const a=s.JSONUint8Array.unwrap(o.result);a?a.error?t(new Error(a.error)):e(a.return):t(new Error("Result is null"))};window.addEventListener("message",n),window.postMessage(i,window.location.origin)})}enable(e){return r(this,void 0,void 0,(function*(){yield this.requestMethod("enable",[e])}))}experimentalSuggestChain(e){return r(this,void 0,void 0,(function*(){yield this.requestMethod("experimentalSuggestChain",[e])}))}getKey(e){return r(this,void 0,void 0,(function*(){return yield this.requestMethod("getKey",[e])}))}sendTx(e,t,n){return r(this,void 0,void 0,(function*(){return yield this.requestMethod("sendTx",[e,t,n])}))}signAmino(e,t,n,i={}){var o;return r(this,void 0,void 0,(function*(){return yield this.requestMethod("signAmino",[e,t,n,l.default(null!==(o=this.defaultOptions.sign)&&void 0!==o?o:{},i)])}))}signDirect(e,t,n,i={}){var a;return r(this,void 0,void 0,(function*(){const r=yield this.requestMethod("signDirect",[e,t,n,l.default(null!==(a=this.defaultOptions.sign)&&void 0!==a?a:{},i)]),s=r.signed;return{signed:o.cosmos.tx.v1beta1.SignDoc.fromObject(s),signature:r.signature}}))}getOfflineSigner(e){return new c.CosmJSOfflineSigner(e,this)}getOfflineSignerOnlyAmino(e){return new c.CosmJSOfflineSignerOnlyAmino(e,this)}getOfflineSignerAuto(e){return r(this,void 0,void 0,(function*(){return(yield this.getKey(e)).isNanoLedger?new c.CosmJSOfflineSignerOnlyAmino(e,this):new c.CosmJSOfflineSigner(e,this)}))}suggestToken(e,t,n){return r(this,void 0,void 0,(function*(){return yield this.requestMethod("suggestToken",[e,t,n])}))}getSecret20ViewingKey(e,t){return r(this,void 0,void 0,(function*(){return yield this.requestMethod("getSecret20ViewingKey",[e,t])}))}getEnigmaPubKey(e){return r(this,void 0,void 0,(function*(){return yield this.requestMethod("getEnigmaPubKey",[e])}))}getEnigmaTxEncryptionKey(e,t){return r(this,void 0,void 0,(function*(){return yield this.requestMethod("getEnigmaTxEncryptionKey",[e,t])}))}enigmaEncrypt(e,t,n){return r(this,void 0,void 0,(function*(){return yield this.requestMethod("enigmaEncrypt",[e,t,n])}))}enigmaDecrypt(e,t,n){return r(this,void 0,void 0,(function*(){return yield this.requestMethod("enigmaDecrypt",[e,t,n])}))}getEnigmaUtils(e){if(this.enigmaUtils.has(e))return this.enigmaUtils.get(e);const t=new a.KeplrEnigmaUtils(e,this);return this.enigmaUtils.set(e,t),t}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return f}));var r=n(0),i=n(1068),o=n(30),a=n(890);function s(e,t){return Object.keys(e).reduce((n,r)=>(n[r]=Object.assign({timeZone:t},e[r]),n),{})}function c(e,t){return Object.keys(Object.assign(Object.assign({},e),t)).reduce((n,r)=>(n[r]=Object.assign(Object.assign({},e[r]||{}),t[r]||{}),n),{})}function l(e,t){if(!t)return e;const n=a.a.formats;return Object.assign(Object.assign(Object.assign({},n),e),{date:c(s(n.date,t),s(e.date||{},t)),time:c(s(n.time,t),s(e.time||{},t))})}function u({locale:e,formats:t,messages:n,defaultLocale:a,defaultFormats:s,onError:c,timeZone:u},f,d={id:""},p={}){const{id:h,defaultMessage:m}=d;Object(i.a)(!!h,"[React Intl] An `id` must be provided to format a message.");const b=n&&n[String(h)];t=l(t,u),s=l(s,u);let y=[];if(b)try{y=f.getMessageFormat(b,e,t,{formatters:f}).formatHTMLMessage(p)}catch(t){c(Object(o.b)(`Error formatting message: "${h}" for locale: "${e}"`+(m?", using default message as fallback.":""),t))}else(!m||e&&e.toLowerCase()!==a.toLowerCase())&&c(Object(o.b)(`Missing message: "${h}" for locale: "${e}"`+(m?", using default message as fallback.":"")));if(!y.length&&m)try{y=f.getMessageFormat(m,a,s).formatHTMLMessage(p)}catch(e){c(Object(o.b)(`Error formatting the default message for: "${h}"`,e))}return y.length?1===y.length&&"string"==typeof y[0]?y[0]||m||String(h):(g=y,r.createElement(r.Fragment,null,...g)):(c(Object(o.b)(`Cannot format message: "${h}", using message ${b||m?"source":"id"} as fallback.`)),"string"==typeof b?b||m||String(h):m||String(h));var g}function f(e,t,n={id:""},r={}){return u(e,t,n,Object.keys(r).reduce((e,t)=>{const n=r[t];return e[t]="string"==typeof n?Object(o.e)(n):n,e},{}))}},function(e,t,n){"use strict";var r=n(950),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=u(n);f&&(a=a.concat(f(n)));for(var s=c(t),m=c(n),b=0;b=0)return 1;return 0}();var i=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),r))}};function o(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function c(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?e:c(s(e))}function l(e){return e&&e.referenceNode?e.referenceNode:e}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function d(e){return 11===e?u:10===e?f:u||f}function p(e){if(!e)return document.documentElement;for(var t=d(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a,s,c=o.commonAncestorContainer;if(e!==c&&t!==c||r.contains(i))return"BODY"===(s=(a=c).nodeName)||"HTML"!==s&&p(a.firstElementChild)!==a?p(c):c;var l=h(e);return l.host?m(l.host,t):m(e,h(t).host)}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var i=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||i;return o[n]}return e[n]}function y(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=b(t,"top"),i=b(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=i*o,e.right+=i*o,e}function g(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function v(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],d(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function w(e){var t=e.body,n=e.documentElement,r=d(10)&&getComputedStyle(n);return{height:v("Height",t,n,r),width:v("Width",t,n,r)}}var _=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},k=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=d(10),i="HTML"===t.nodeName,o=E(e),s=E(t),l=c(e),u=a(t),f=parseFloat(u.borderTopWidth),p=parseFloat(u.borderLeftWidth);n&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=O({top:o.top-s.top-f,left:o.left-s.left-p,width:o.width,height:o.height});if(h.marginTop=0,h.marginLeft=0,!r&&i){var m=parseFloat(u.marginTop),b=parseFloat(u.marginLeft);h.top-=f-m,h.bottom-=f-m,h.left-=p-b,h.right-=p-b,h.marginTop=m,h.marginLeft=b}return(r&&!n?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(h=y(h,t)),h}function A(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=T(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:b(n),s=t?0:b(n,"left"),c={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o};return O(c)}function M(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===a(e,"position"))return!0;var n=s(e);return!!n&&M(n)}function I(e){if(!e||!e.parentElement||d())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function P(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?I(e):m(e,l(t));if("viewport"===r)o=A(a,i);else{var u=void 0;"scrollParent"===r?"BODY"===(u=c(s(t))).nodeName&&(u=e.ownerDocument.documentElement):u="window"===r?e.ownerDocument.documentElement:r;var f=T(u,a,i);if("HTML"!==u.nodeName||M(a))o=f;else{var d=w(e.ownerDocument),p=d.height,h=d.width;o.top+=f.top-f.marginTop,o.bottom=p+f.top,o.left+=f.left-f.marginLeft,o.right=h+f.left}}var b="number"==typeof(n=n||0);return o.left+=b?n:n.left||0,o.top+=b?n:n.top||0,o.right-=b?n:n.right||0,o.bottom-=b?n:n.bottom||0,o}function C(e){return e.width*e.height}function j(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=P(n,r,o,i),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},c=Object.keys(s).map((function(e){return S({key:e},s[e],{area:C(s[e])})})).sort((function(e,t){return t.area-e.area})),l=c.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=l.length>0?l[0].key:c[0].key,f=e.split("-")[1];return u+(f?"-"+f:"")}function D(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=r?I(t):m(t,l(n));return T(n,i,r)}function R(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function N(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function B(e,t,n){n=n.split("-")[0];var r=R(e),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",c=o?"height":"width",l=o?"width":"height";return i[a]=t[a]+t[c]/2-r[c]/2,i[s]=n===s?t[s]-r[l]:t[N(s)],i}function L(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function U(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=L(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&o(n)&&(t.offsets.popper=O(t.offsets.popper),t.offsets.reference=O(t.offsets.reference),t=n(t,e))})),t}function F(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=D(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=j(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=B(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=U(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function q(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function z(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=X.indexOf(e),r=X.slice(n+1).concat(X.slice(0,n));return t?r.reverse():r}var te="flip",ne="clockwise",re="counterclockwise";function ie(e,t,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(L(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,l=-1!==s?[a.slice(0,s).concat([a[s].split(c)[0]]),[a[s].split(c)[1]].concat(a.slice(s+1))]:[a];return(l=l.map((function(e,r){var i=(1===r?!o:o)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return O(s)[t]/100*o}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o}return o}(e,i,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){G(n)&&(i[t]+=n*("-"===e[r-1]?-1:1))}))})),i}var oe={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),c=s?"left":"top",l=s?"width":"height",u={start:x({},c,o[c]),end:x({},c,o[c]+o[l]-a[l])};e.offsets.popper=S({},a,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,i=e.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],c=void 0;return c=G(+n)?[+n,0]:ie(n,o,a,s),"left"===s?(o.top+=c[0],o.left-=c[1]):"right"===s?(o.top+=c[0],o.left+=c[1]):"top"===s?(o.left+=c[0],o.top-=c[1]):"bottom"===s&&(o.left+=c[0],o.top+=c[1]),e.popper=o,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||p(e.instance.popper);e.instance.reference===n&&(n=p(n));var r=z("transform"),i=e.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var c=P(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=o,i.left=a,i[r]=s,t.boundaries=c;var l=t.priority,u=e.offsets.popper,f={primary:function(e){var n=u[e];return u[e]c[e]&&!t.escapeWithReference&&(r=Math.min(u[n],c[e]-("right"===e?u.width:u.height))),x({},n,r)}};return l.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=S({},u,f[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",c=a?"left":"top",l=a?"width":"height";return n[s]o(r[s])&&(e.offsets.popper[c]=o(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Y(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],o=e.offsets,s=o.popper,c=o.reference,l=-1!==["left","right"].indexOf(i),u=l?"height":"width",f=l?"Top":"Left",d=f.toLowerCase(),p=l?"left":"top",h=l?"bottom":"right",m=R(r)[u];c[h]-ms[h]&&(e.offsets.popper[d]+=c[d]+m-s[h]),e.offsets.popper=O(e.offsets.popper);var b=c[d]+c[u]/2-m/2,y=a(e.instance.popper),g=parseFloat(y["margin"+f]),v=parseFloat(y["border"+f+"Width"]),w=b-e.offsets.popper[d]-g-v;return w=Math.max(Math.min(s[u]-m,w),0),e.arrowElement=r,e.offsets.arrow=(x(n={},d,Math.round(w)),x(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(q(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=P(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],i=N(r),o=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case te:a=[r,i];break;case ne:a=ee(r);break;case re:a=ee(r,!0);break;default:a=t.behavior}return a.forEach((function(s,c){if(r!==s||a.length===c+1)return e;r=e.placement.split("-")[0],i=N(r);var l=e.offsets.popper,u=e.offsets.reference,f=Math.floor,d="left"===r&&f(l.right)>f(u.left)||"right"===r&&f(l.left)f(u.top)||"bottom"===r&&f(l.top)f(n.right),m=f(l.top)f(n.bottom),y="left"===r&&p||"right"===r&&h||"top"===r&&m||"bottom"===r&&b,g=-1!==["top","bottom"].indexOf(r),v=!!t.flipVariations&&(g&&"start"===o&&p||g&&"end"===o&&h||!g&&"start"===o&&m||!g&&"end"===o&&b),w=!!t.flipVariationsByContent&&(g&&"start"===o&&h||g&&"end"===o&&p||!g&&"start"===o&&b||!g&&"end"===o&&m),_=v||w;(d||y||_)&&(e.flipped=!0,(d||y)&&(r=a[c+1]),_&&(o=function(e){return"end"===e?"start":"start"===e?"end":e}(o)),e.placement=r+(o?"-"+o:""),e.offsets.popper=S({},e.offsets.popper,B(e.instance.popper,e.offsets.reference,e.placement)),e=U(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),e.placement=N(t),e.offsets.popper=O(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Y(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=L(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};_(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=i(this.update.bind(this)),this.options=S({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},e.Defaults.modifiers,a.modifiers)).forEach((function(t){r.options.modifiers[t]=S({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return S({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&o(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return k(e,[{key:"update",value:function(){return F.call(this)}},{key:"destroy",value:function(){return V.call(this)}},{key:"enableEventListeners",value:function(){return K.call(this)}},{key:"disableEventListeners",value:function(){return W.call(this)}}]),e}();ae.Utils=("undefined"!=typeof window?window:e).PopperUtils,ae.placements=Z,ae.Defaults=oe,t.a=ae}).call(this,n(12))},function(e,t,n){var r=n(37),i=n(1378);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(37),i=n(1357);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(37),i=n(1470);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){"use strict";var r=n(19),i=n(26),o=n(29),a=n(53),s=n(0),c=n.n(s),l=n(1),u=n.n(l),f=n(10),d=n.n(f),p=n(8),h={children:u.a.node,type:u.a.string,size:u.a.oneOfType([u.a.number,u.a.string]),bsSize:u.a.string,valid:u.a.bool,invalid:u.a.bool,tag:p.p,innerRef:u.a.oneOfType([u.a.object,u.a.func,u.a.string]),plaintext:u.a.bool,addon:u.a.bool,className:u.a.string,cssModule:u.a.object},m=function(e){function t(t){var n;return(n=e.call(this,t)||this).getRef=n.getRef.bind(Object(o.a)(n)),n.focus=n.focus.bind(Object(o.a)(n)),n}Object(a.a)(t,e);var n=t.prototype;return n.getRef=function(e){this.props.innerRef&&this.props.innerRef(e),this.ref=e},n.focus=function(){this.ref&&this.ref.focus()},n.render=function(){var e=this.props,t=e.className,n=e.cssModule,o=e.type,a=e.bsSize,s=e.valid,l=e.invalid,u=e.tag,f=e.addon,h=e.plaintext,m=e.innerRef,b=Object(i.a)(e,["className","cssModule","type","bsSize","valid","invalid","tag","addon","plaintext","innerRef"]),y=["radio","checkbox"].indexOf(o)>-1,g=new RegExp("\\D","g"),v=u||("select"===o||"textarea"===o?o:"input"),w="form-control";h?(w+="-plaintext",v=u||"input"):"file"===o?w+="-file":"range"===o?w+="-range":y&&(w=f?null:"form-check-input"),b.size&&g.test(b.size)&&(Object(p.r)('Please use the prop "bsSize" instead of the "size" to bootstrap\'s input sizing.'),a=b.size,delete b.size);var _=Object(p.l)(d()(t,l&&"is-invalid",s&&"is-valid",!!a&&"form-control-"+a,w),n);return("input"===v||u&&"function"==typeof u)&&(b.type=o),b.children&&!h&&"select"!==o&&"string"==typeof v&&"select"!==v&&(Object(p.r)('Input with a type of "'+o+'" cannot have children. Please use "value"/"defaultValue" instead.'),delete b.children),c.a.createElement(v,Object(r.a)({},b,{ref:m,className:_,"aria-invalid":l}))},t}(c.a.Component);m.propTypes=h,m.defaultProps={type:"text"},t.a=m},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=n(838),o=n(30);function a(){const e=Object(r.useContext)(i.a);return Object(o.h)(e),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InsufficientFeeError=t.NotLoadedFeeError=t.InsufficientAmountError=t.NagativeAmountError=t.ZeroAmountError=t.InvalidNumberAmountError=t.EmptyAmountError=t.ENSFailedToFetchError=t.ENSIsFetchingError=t.ENSNotSupportedError=t.InvalidBech32Error=t.EmptyAddressError=void 0;class r extends Error{constructor(e){super(e),Object.setPrototypeOf(this,r.prototype)}}t.EmptyAddressError=r;class i extends Error{constructor(e){super(e),Object.setPrototypeOf(this,i.prototype)}}t.InvalidBech32Error=i;class o extends Error{constructor(e){super(e),Object.setPrototypeOf(this,o.prototype)}}t.ENSNotSupportedError=o;class a extends Error{constructor(e){super(e),Object.setPrototypeOf(this,a.prototype)}}t.ENSIsFetchingError=a;class s extends Error{constructor(e){super(e),Object.setPrototypeOf(this,s.prototype)}}t.ENSFailedToFetchError=s;class c extends Error{constructor(e){super(e),Object.setPrototypeOf(this,c.prototype)}}t.EmptyAmountError=c;class l extends Error{constructor(e){super(e),Object.setPrototypeOf(this,l.prototype)}}t.InvalidNumberAmountError=l;class u extends Error{constructor(e){super(e),Object.setPrototypeOf(this,u.prototype)}}t.ZeroAmountError=u;class f extends Error{constructor(e){super(e),Object.setPrototypeOf(this,f.prototype)}}t.NagativeAmountError=f;class d extends Error{constructor(e){super(e),Object.setPrototypeOf(this,d.prototype)}}t.InsufficientAmountError=d;class p extends Error{constructor(e){super(e),Object.setPrototypeOf(this,p.prototype)}}t.NotLoadedFeeError=p;class h extends Error{constructor(e){super(e),Object.setPrototypeOf(this,h.prototype)}}t.InsufficientFeeError=h},function(e,t,n){var r=n(852),i=n(409),o=e.exports;for(var a in r)r.hasOwnProperty(a)&&(o[a]=r[a]);function s(e){if("string"==typeof e&&(e=i.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}o.request=function(e,t){return e=s(e),r.request.call(this,e,t)},o.get=function(e,t){return e=s(e),r.get.call(this,e,t)}},function(e,t,n){"use strict";var r=n(903),i=function(e){var t,n,i=new Promise((function(){t=arguments[0],n=arguments[1]}));if(e)return{resolve:t,reject:n,eventEmitter:i};var o=new r;return i._events=o._events,i.emit=o.emit,i.on=o.on,i.once=o.once,i.off=o.off,i.listeners=o.listeners,i.addListener=o.addListener,i.removeListener=o.removeListener,i.removeAllListeners=o.removeAllListeners,{resolve:t,reject:n,eventEmitter:i}};i.resolve=function(e){var t=i(!0);return t.resolve(e),t.eventEmitter},e.exports=i},function(e,t,n){"use strict";var r=n(1148),i=function(e){this.name=e.name,this.type=e.type,this.subscriptions=e.subscriptions||{},this.requestManager=null};i.prototype.setRequestManager=function(e){this.requestManager=e},i.prototype.attachToObject=function(e){var t=this.buildCall(),n=this.name.split(".");n.length>1?(e[n[0]]=e[n[0]]||{},e[n[0]][n[1]]=t):e[n[0]]=t},i.prototype.buildCall=function(){var e=this;return function(){e.subscriptions[arguments[0]]||console.warn("Subscription "+JSON.stringify(arguments[0])+" doesn't exist. Subscribing anyway.");var t=new r({subscription:e.subscriptions[arguments[0]]||{},requestManager:e.requestManager,type:e.type});return t.subscribe.apply(t,arguments)}},e.exports={subscriptions:i,subscription:r}},function(e,t,n){"use strict";var r=n(444),i=n(451),o=n(213),a=function(){var e=this;r.packageInit(this,arguments),[new i({name:"getId",call:"net_version",params:0,outputFormatter:parseInt}),new i({name:"isListening",call:"net_listening",params:0}),new i({name:"getPeerCount",call:"net_peerCount",params:0,outputFormatter:o.hexToNumber})].forEach((function(t){t.attachToObject(e),t.setRequestManager(e._requestManager)}))};r.addProviders(a),e.exports=a},function(e,t,n){(function(e){var r=n(1153).keccak_256,i=n(1154);function o(e){return e?i.toUnicode(e,{useStd3ASCII:!0,transitional:!1}):e}t.hash=function(t){for(var n="",i=0;i<32;i++)n+="00";if(name=o(t),name){var a=name.split(".");for(i=a.length-1;i>=0;i--){var s=r(a[i]);n=r(new e(n+s,"hex"))}}return"0x"+n},t.normalize=o}).call(this,n(2).Buffer)},function(e){e.exports=JSON.parse('{"identity":0,"ip4":4,"tcp":6,"sha1":17,"sha2-256":18,"sha2-512":19,"sha3-512":20,"sha3-384":21,"sha3-256":22,"sha3-224":23,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,"dccp":33,"murmur3-128":34,"murmur3-32":35,"ip6":41,"ip6zone":42,"path":47,"multicodec":48,"multihash":49,"multiaddr":50,"multibase":51,"dns":53,"dns4":54,"dns6":55,"dnsaddr":56,"protobuf":80,"cbor":81,"raw":85,"dbl-sha2-256":86,"rlp":96,"bencode":99,"dag-pb":112,"dag-cbor":113,"libp2p-key":114,"git-raw":120,"torrent-info":123,"torrent-file":124,"leofcoin-block":129,"leofcoin-tx":130,"leofcoin-pr":131,"sctp":132,"eth-block":144,"eth-block-list":145,"eth-tx-trie":146,"eth-tx":147,"eth-tx-receipt-trie":148,"eth-tx-receipt":149,"eth-state-trie":150,"eth-account-snapshot":151,"eth-storage-trie":152,"bitcoin-block":176,"bitcoin-tx":177,"zcash-block":192,"zcash-tx":193,"stellar-block":208,"stellar-tx":209,"md4":212,"md5":213,"bmt":214,"decred-block":224,"decred-tx":225,"ipld-ns":226,"ipfs-ns":227,"swarm-ns":228,"ipns-ns":229,"zeronet":230,"ed25519-pub":237,"dash-block":240,"dash-tx":241,"swarm-manifest":250,"swarm-feed":251,"udp":273,"p2p-webrtc-star":275,"p2p-webrtc-direct":276,"p2p-stardust":277,"p2p-circuit":290,"dag-json":297,"udt":301,"utp":302,"unix":400,"p2p":421,"ipfs":421,"https":443,"onion":444,"onion3":445,"garlic64":446,"garlic32":447,"tls":448,"quic":460,"ws":477,"wss":478,"p2p-websocket-star":479,"http":480,"json":512,"messagepack":513,"x11":4352,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"skein256-8":45825,"skein256-16":45826,"skein256-24":45827,"skein256-32":45828,"skein256-40":45829,"skein256-48":45830,"skein256-56":45831,"skein256-64":45832,"skein256-72":45833,"skein256-80":45834,"skein256-88":45835,"skein256-96":45836,"skein256-104":45837,"skein256-112":45838,"skein256-120":45839,"skein256-128":45840,"skein256-136":45841,"skein256-144":45842,"skein256-152":45843,"skein256-160":45844,"skein256-168":45845,"skein256-176":45846,"skein256-184":45847,"skein256-192":45848,"skein256-200":45849,"skein256-208":45850,"skein256-216":45851,"skein256-224":45852,"skein256-232":45853,"skein256-240":45854,"skein256-248":45855,"skein256-256":45856,"skein512-8":45857,"skein512-16":45858,"skein512-24":45859,"skein512-32":45860,"skein512-40":45861,"skein512-48":45862,"skein512-56":45863,"skein512-64":45864,"skein512-72":45865,"skein512-80":45866,"skein512-88":45867,"skein512-96":45868,"skein512-104":45869,"skein512-112":45870,"skein512-120":45871,"skein512-128":45872,"skein512-136":45873,"skein512-144":45874,"skein512-152":45875,"skein512-160":45876,"skein512-168":45877,"skein512-176":45878,"skein512-184":45879,"skein512-192":45880,"skein512-200":45881,"skein512-208":45882,"skein512-216":45883,"skein512-224":45884,"skein512-232":45885,"skein512-240":45886,"skein512-248":45887,"skein512-256":45888,"skein512-264":45889,"skein512-272":45890,"skein512-280":45891,"skein512-288":45892,"skein512-296":45893,"skein512-304":45894,"skein512-312":45895,"skein512-320":45896,"skein512-328":45897,"skein512-336":45898,"skein512-344":45899,"skein512-352":45900,"skein512-360":45901,"skein512-368":45902,"skein512-376":45903,"skein512-384":45904,"skein512-392":45905,"skein512-400":45906,"skein512-408":45907,"skein512-416":45908,"skein512-424":45909,"skein512-432":45910,"skein512-440":45911,"skein512-448":45912,"skein512-456":45913,"skein512-464":45914,"skein512-472":45915,"skein512-480":45916,"skein512-488":45917,"skein512-496":45918,"skein512-504":45919,"skein512-512":45920,"skein1024-8":45921,"skein1024-16":45922,"skein1024-24":45923,"skein1024-32":45924,"skein1024-40":45925,"skein1024-48":45926,"skein1024-56":45927,"skein1024-64":45928,"skein1024-72":45929,"skein1024-80":45930,"skein1024-88":45931,"skein1024-96":45932,"skein1024-104":45933,"skein1024-112":45934,"skein1024-120":45935,"skein1024-128":45936,"skein1024-136":45937,"skein1024-144":45938,"skein1024-152":45939,"skein1024-160":45940,"skein1024-168":45941,"skein1024-176":45942,"skein1024-184":45943,"skein1024-192":45944,"skein1024-200":45945,"skein1024-208":45946,"skein1024-216":45947,"skein1024-224":45948,"skein1024-232":45949,"skein1024-240":45950,"skein1024-248":45951,"skein1024-256":45952,"skein1024-264":45953,"skein1024-272":45954,"skein1024-280":45955,"skein1024-288":45956,"skein1024-296":45957,"skein1024-304":45958,"skein1024-312":45959,"skein1024-320":45960,"skein1024-328":45961,"skein1024-336":45962,"skein1024-344":45963,"skein1024-352":45964,"skein1024-360":45965,"skein1024-368":45966,"skein1024-376":45967,"skein1024-384":45968,"skein1024-392":45969,"skein1024-400":45970,"skein1024-408":45971,"skein1024-416":45972,"skein1024-424":45973,"skein1024-432":45974,"skein1024-440":45975,"skein1024-448":45976,"skein1024-456":45977,"skein1024-464":45978,"skein1024-472":45979,"skein1024-480":45980,"skein1024-488":45981,"skein1024-496":45982,"skein1024-504":45983,"skein1024-512":45984,"skein1024-520":45985,"skein1024-528":45986,"skein1024-536":45987,"skein1024-544":45988,"skein1024-552":45989,"skein1024-560":45990,"skein1024-568":45991,"skein1024-576":45992,"skein1024-584":45993,"skein1024-592":45994,"skein1024-600":45995,"skein1024-608":45996,"skein1024-616":45997,"skein1024-624":45998,"skein1024-632":45999,"skein1024-640":46000,"skein1024-648":46001,"skein1024-656":46002,"skein1024-664":46003,"skein1024-672":46004,"skein1024-680":46005,"skein1024-688":46006,"skein1024-696":46007,"skein1024-704":46008,"skein1024-712":46009,"skein1024-720":46010,"skein1024-728":46011,"skein1024-736":46012,"skein1024-744":46013,"skein1024-752":46014,"skein1024-760":46015,"skein1024-768":46016,"skein1024-776":46017,"skein1024-784":46018,"skein1024-792":46019,"skein1024-800":46020,"skein1024-808":46021,"skein1024-816":46022,"skein1024-824":46023,"skein1024-832":46024,"skein1024-840":46025,"skein1024-848":46026,"skein1024-856":46027,"skein1024-864":46028,"skein1024-872":46029,"skein1024-880":46030,"skein1024-888":46031,"skein1024-896":46032,"skein1024-904":46033,"skein1024-912":46034,"skein1024-920":46035,"skein1024-928":46036,"skein1024-936":46037,"skein1024-944":46038,"skein1024-952":46039,"skein1024-960":46040,"skein1024-968":46041,"skein1024-976":46042,"skein1024-984":46043,"skein1024-992":46044,"skein1024-1000":46045,"skein1024-1008":46046,"skein1024-1016":46047,"skein1024-1024":46048,"holochain-adr-v0":8417572,"holochain-adr-v1":8483108,"holochain-key-v0":9728292,"holochain-key-v1":9793828,"holochain-sig-v0":10645796,"holochain-sig-v1":10711332}')},function(e,t){e.exports="assets/logo-temp.png"},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){e.exports=n(1381)},function(e,t){function n(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,c,"next",e)}function c(e){n(a,i,o,s,c,"throw",e)}s(void 0)}))}}},function(e,t,n){"use strict";var r=n(27),i=n(224),o=i.getNAF,a=i.getJSF,s=i.assert;function c(e,t){this.type=e,this.p=new r(t.p,16),this.red=t.prime?r.red(t.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=t.n&&new r(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function l(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){s(e.precomputed);var n=e._getDoubles(),r=o(t,1,this._bitLength),i=(1<=c;t--)l=(l<<1)+r[t];a.push(l)}for(var u=this.jpoint(null,null,null),f=this.jpoint(null,null,null),d=i;d>0;d--){for(c=0;c=0;l--){for(t=0;l>=0&&0===a[l];l--)t++;if(l>=0&&t++,c=c.dblp(t),l<0)break;var u=a[l];s(0!==u),c="affine"===e.type?u>0?c.mixedAdd(i[u-1>>1]):c.mixedAdd(i[-u-1>>1].neg()):u>0?c.add(i[u-1>>1]):c.add(i[-u-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,n,r,i){for(var s=this._wnafT1,c=this._wnafT2,l=this._wnafT3,u=0,f=0;f=1;f-=2){var p=f-1,h=f;if(1===s[p]&&1===s[h]){var m=[t[p],null,null,t[h]];0===t[p].y.cmp(t[h].y)?(m[1]=t[p].add(t[h]),m[2]=t[p].toJ().mixedAdd(t[h].neg())):0===t[p].y.cmp(t[h].y.redNeg())?(m[1]=t[p].toJ().mixedAdd(t[h]),m[2]=t[p].add(t[h].neg())):(m[1]=t[p].toJ().mixedAdd(t[h]),m[2]=t[p].toJ().mixedAdd(t[h].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],y=a(n[p],n[h]);u=Math.max(y[0].length,u),l[p]=new Array(u),l[h]=new Array(u);for(var g=0;g=0;f--){for(var x=0;f>=0;){var S=!0;for(g=0;g=0&&x++,_=_.dblp(x),f<0)break;for(g=0;g0?O=c[g][E-1>>1]:E<0&&(O=c[g][-E-1>>1].neg()),_="affine"===O.type?_.mixedAdd(O):_.add(O))}}for(f=0;f=Math.ceil((e.bitLength()+1)/t.step)},l.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i{const{type:n,label:o,text:p,error:b,append:y}=e,g=Object.assign({},e);delete g.className,delete g.type,delete g.color,delete g.label,delete g.text,delete g.error,delete g.children,delete g.append;const[v]=Object(r.useState)(()=>{const e=new Uint8Array(4);return crypto.getRandomValues(e),"input-"+m.Buffer.from(e).toString("hex")});return i.a.createElement(s.a,null,o?i.a.createElement(c.a,{for:v,className:"form-control-label"},o):null,i.a.createElement(l.a,null,i.a.createElement(u.a,Object.assign({id:v,className:a()("form-control-alternative",e.className,h.a.input),type:n,innerRef:t},g)),y),b?i.a.createElement(f.a,{style:{display:"block"}},b):p?i.a.createElement(d.a,null,p):null)})},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l}));var r=n(0),i=n.n(r),o=n(404),a=n(405),s=n(868),c=n(14);const l=Object(c.a)(({gasConfig:t,label:n,className:c})=>{const[l]=Object(r.useState)(()=>{const t=new Uint8Array(4);return crypto.getRandomValues(t),"input-"+e.from(t).toString("hex")});return i.a.createElement(o.a,{className:c},n?i.a.createElement(a.a,{for:l,className:"form-control-label"},n):null,i.a.createElement(s.a,{id:l,className:"form-control-alternative",type:"number",step:1,min:0,value:t.gas,onChange:e=>{const n=parseInt(e.target.value);!isNaN(n)&&n>0&&t.setGas(n),e.preventDefault()},autoComplete:"off"}))})}).call(this,n(2).Buffer)},function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n(0),i=n.n(r),o=n(14),a=n(21),s=n(947),c=n(1070),l=n(1553),u=n(404),f=n(405),d=n(948),p=n(949),h=n(946),m=n(897),b=n(402),y=n(865),g=n.n(y),v=n(884),w=n(869),_=n(388),k=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};const x=Object(o.a)(({isOpen:e,closeModal:t,toggle:n})=>{const o=Object(w.a)(),{chainStore:y,queriesStore:x,ibcChannelStore:S}=Object(a.b)(),[O,E]=Object(r.useState)(!1),[T,A]=Object(r.useState)(""),[M,I]=Object(r.useState)(""),[P,C]=Object(r.useState)(!1),[j,D]=Object(r.useState)("");return i.a.createElement(s.a,{isOpen:e,toggle:n,centered:!0},i.a.createElement(c.a,null,i.a.createElement(l.a,null,i.a.createElement("h1",null,"Add IBC channel"),i.a.createElement(u.a,null,i.a.createElement(f.a,{for:"chain-dropdown",className:"form-control-label"},i.a.createElement(_.a,{id:"component.ibc.channel-registrar.chain-selector.label"})),i.a.createElement(d.a,{id:"chain-dropdown",className:g.a.chainSelector,isOpen:O,toggle:()=>E(e=>!e)},i.a.createElement(p.a,{caret:!0},T?y.getChain(T).chainName:i.a.createElement(_.a,{id:"component.ibc.channel-registrar.chain-selector.placeholder"})),i.a.createElement(h.a,null,y.chainInfos.map(e=>{var t;if(y.current.chainId!==e.chainId&&(null!==(t=e.features)&&void 0!==t?t:[]).includes("ibc-transfer"))return i.a.createElement(m.a,{key:e.chainId,onClick:t=>{t.preventDefault(),A(e.chainId),D("")}},e.chainName)})))),i.a.createElement(v.a,{type:"text",label:o.formatMessage({id:"component.ibc.channel-registrar.chain-selector.add.channel.label"}),placeholder:o.formatMessage({id:"component.ibc.channel-registrar.chain-selector.add.channel.placeholder"}),onChange:e=>{e.preventDefault(),I(e.target.value),D("")},error:j}),i.a.createElement(b.a,{type:"submit",block:!0,color:"primary",disabled:""===T||""===M||""!==j,"data-loading":P,onClick:e=>k(void 0,void 0,void 0,(function*(){e.preventDefault(),C(!0);const n=x.get(y.current.chainId),r=yield n.getQueryIBCCChannel().getTransferChannel(M).waitFreshResponse(),i=yield n.getQueryIBCClientState().getClientStateOnTransferPort(M).waitFreshResponse();let o="";r&&i||(o="Failed to fetch the channel"),r&&"STATE_OPEN"!==r.data.channel.state&&(o="Channel is not on OPEN STATE"),i&&i.data.identified_client_state.client_state.chain_id!==T&&(o="Client is not for "+T),C(!1),D(o),r&&i&&""===o&&(yield S.get(y.current.chainId).addChannel({portId:"transfer",channelId:M,counterpartyChainId:T}),yield S.get(T).addChannel({portId:r.data.channel.counterparty.port_id,channelId:r.data.channel.counterparty.channel_id,counterpartyChainId:y.current.chainId}),t())}))},i.a.createElement(_.a,{id:"component.ibc.channel-registrar.chain-selector.add.channel.button"})))))})},function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return p})),n.d(t,"c",(function(){return h}));var r=n(109),i=n.n(r),o=n(840),a=n.n(o),s=n(110),c=n.n(s),l=n(0),u=n(938),f=n.n(u),d=f()(),p=f()(),h=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};!function(e){e[e.WORDS12=0]="WORDS12",e[e.WORDS24=1]="WORDS24"}(r||(r={}));class y{constructor(e){this.registerConfig=e,this._mode="generate",this._numWords=r.WORDS12,this._mnemonic="",this._name="",this._password="",Object(h.makeObservable)(this),this.setNumWords(this.numWords)}get mode(){return this._mode}setMode(e){this._mode=e}get numWords(){return this._numWords}*setNumWords(e){this._numWords=e,e===r.WORDS12?this._mnemonic=yield*Object(m.toGenerator)(this.registerConfig.generateMnemonic(128)):e===r.WORDS24&&(this._mnemonic=yield*Object(m.toGenerator)(this.registerConfig.generateMnemonic(256)))}get mnemonic(){return this._mnemonic}setMnemonic(e){this._mnemonic=e}get name(){return this._name}setName(e){this._name=e}get password(){return this._password}setPassword(e){this._password=e}}b([h.observable],y.prototype,"_mode",void 0),b([h.observable],y.prototype,"_numWords",void 0),b([h.observable],y.prototype,"_mnemonic",void 0),b([h.observable],y.prototype,"_name",void 0),b([h.observable],y.prototype,"_password",void 0),b([h.action],y.prototype,"setMode",null),b([h.flow],y.prototype,"setNumWords",null),b([h.action],y.prototype,"setMnemonic",null),b([h.action],y.prototype,"setName",null),b([h.action],y.prototype,"setPassword",null);var g=n(869),v=n(146),w=n(404),_=n(405),k=n(868),x=n(150),S=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},O=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};class E{constructor(e){this._account=0,this._change=0,this._index=0,this._coinType=e,Object(h.makeObservable)(this)}get coinType(){return this._coinType}get account(){return this._account}get change(){return this._change}get index(){return this._index}get bip44HDPath(){return{account:this.account,change:this.change,addressIndex:this.index}}setCoinType(e){this._coinType=e}setAccount(e){this._account=e}setChange(e){this._change=e}setIndex(e){this._index=e}}S([h.observable],E.prototype,"_coinType",void 0),S([h.observable],E.prototype,"_account",void 0),S([h.observable],E.prototype,"_change",void 0),S([h.observable],E.prototype,"_index",void 0),S([h.computed],E.prototype,"bip44HDPath",null),S([h.action],E.prototype,"setCoinType",null),S([h.action],E.prototype,"setAccount",null),S([h.action],E.prototype,"setChange",null),S([h.action],E.prototype,"setIndex",null);const T=e=>{const[t]=Object(i.useState)(()=>new E(e));return t},A=Object(s.a)(({bip44Option:e})=>{const t=Object(g.a)(),n=Object(x.b)(),[r,a]=Object(i.useState)(0!==e.account||0!==e.change||0!==e.index);return o.a.createElement(o.a.Fragment,null,o.a.createElement(u.a,{type:"button",color:"link",onClick:i=>{i.preventDefault(),O(void 0,void 0,void 0,(function*(){r?(yield n.confirm({paragraph:t.formatMessage({id:"register.bip44.confirm.clear"})}))&&(a(!1),e.setAccount(0),e.setChange(0),e.setIndex(0)):a(!0)}))}},o.a.createElement(f.a,{id:"register.bip44.button.advanced"})),r?o.a.createElement(w.a,null,o.a.createElement(_.a,{target:"bip44-path",className:"form-control-label"},o.a.createElement(f.a,{id:"register.bip44.input.hd-path"})),o.a.createElement("div",{id:"bip44-path",style:{display:"flex",alignItems:"baseline"}},o.a.createElement("div",null,`m/44'/${null!=e.coinType?e.coinType:"···"}'/`),o.a.createElement(k.a,{type:"number",className:"form-control-alternative",style:{width:"100px",textAlign:"right"},value:e.account.toString(),onChange:t=>{t.preventDefault();let n=t.target.value;if(n){if("0"!==n)for(let e=0;e=0&&e.setAccount(t)}else e.setAccount(0)}}),o.a.createElement("div",null,"'/"),o.a.createElement(k.a,{type:"number",className:"form-control-alternative",style:{width:"100px",textAlign:"right"},value:e.change.toString(),onChange:t=>{t.preventDefault();let n=t.target.value;if(n){if("0"!==n)for(let e=0;e{t.preventDefault();let n=t.target.value;if(n){if("0"!==n)for(let e=0;e=0&&e.setIndex(t)}else e.setIndex(0)}}))):null)});var M=n(1560),I=n(1552),P=n(1553),C=n(34),j=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};const D=n(69),R=Object(s.a)(({registerConfig:e})=>o.a.createElement(u.a,{color:"primary",outline:!0,block:!0,onClick:t=>{t.preventDefault(),e.setType("new-mnemonic")}},o.a.createElement(f.a,{id:"register.intro.button.new-account.title"}))),N=Object(s.a)(({registerConfig:e})=>{const t=(e=>{const[t]=Object(i.useState)(()=>new y(e));return t})(e),n=T();return o.a.createElement(o.a.Fragment,null,"generate"===t.mode?o.a.createElement(B,{registerConfig:e,newMnemonicConfig:t,bip44Option:n}):null,"verify"===t.mode?o.a.createElement(L,{registerConfig:e,newMnemonicConfig:t,bip44Option:n}):null)}),B=Object(s.a)(({registerConfig:e,newMnemonicConfig:t,bip44Option:n})=>{const i=Object(g.a)(),{register:a,handleSubmit:s,getValues:c,errors:d}=Object(v.a)({defaultValues:{name:t.name,words:t.mnemonic,password:"",confirmPassword:""}});return o.a.createElement("div",null,o.a.createElement(M.a,{color:"warning"},o.a.createElement("h3",{style:{color:"white"}},o.a.createElement(f.a,{id:"register.create.warning.keep-your-mnemonic.header"})),o.a.createElement("ul",null,o.a.createElement("li",null,o.a.createElement(f.a,{id:"register.create.warning.keep-your-mnemonic.paragraph1"})),o.a.createElement("li",null,o.a.createElement(f.a,{id:"register.create.warning.keep-your-mnemonic.paragraph2"})))),o.a.createElement("div",{className:l.a.title},i.formatMessage({id:"register.create.title"}),o.a.createElement("div",{style:{float:"right"}},o.a.createElement(I.a,{size:"sm",style:{marginBottom:"4px"}},o.a.createElement(u.a,{type:"button",color:"primary",outline:t.numWords!==r.WORDS12,onClick:()=>{t.setNumWords(r.WORDS12)}},o.a.createElement(f.a,{id:"register.create.toggle.word12"})),o.a.createElement(u.a,{type:"button",color:"primary",outline:t.numWords!==r.WORDS24,onClick:()=>{t.setNumWords(r.WORDS24)}},o.a.createElement(f.a,{id:"register.create.toggle.word24"}))))),o.a.createElement(P.a,{className:l.a.formContainer,onSubmit:s(e=>j(void 0,void 0,void 0,(function*(){t.setName(e.name),t.setPassword(e.password),t.setMode("verify")})))},o.a.createElement(C.g,{className:l.a.mnemonic,placeholder:i.formatMessage({id:"register.create.textarea.mnemonic.place-holder"}),name:"words",rows:t.numWords===r.WORDS24?5:3,readOnly:!0,value:t.mnemonic,ref:a({required:"Mnemonic is required",validate:e=>e.split(" ").length<8?i.formatMessage({id:"register.create.textarea.mnemonic.error.too-short"}):D.validateMnemonic(e)?void 0:i.formatMessage({id:"register.create.textarea.mnemonic.error.invalid"})}),error:d.words&&d.words.message}),o.a.createElement(C.e,{label:i.formatMessage({id:"register.name"}),type:"text",name:"name",ref:a({required:i.formatMessage({id:"register.name.error.required"})}),error:d.name&&d.name.message}),"create"===e.mode?o.a.createElement(o.a.Fragment,null,o.a.createElement(C.e,{label:i.formatMessage({id:"register.create.input.password"}),type:"password",name:"password",ref:a({required:i.formatMessage({id:"register.create.input.password.error.required"}),validate:e=>{if(e.length<8)return i.formatMessage({id:"register.create.input.password.error.too-short"})}}),error:d.password&&d.password.message}),o.a.createElement(C.e,{label:i.formatMessage({id:"register.create.input.confirm-password"}),type:"password",name:"confirmPassword",ref:a({required:i.formatMessage({id:"register.create.input.confirm-password.error.required"}),validate:e=>{if(e!==c().password)return i.formatMessage({id:"register.create.input.confirm-password.error.unmatched"})}}),error:d.confirmPassword&&d.confirmPassword.message})):null,o.a.createElement(A,{bip44Option:n}),o.a.createElement(u.a,{color:"primary",type:"submit",block:!0},o.a.createElement(f.a,{id:"register.create.button.next"}))),o.a.createElement(ee,{onClick:()=>{e.clear()}}))}),L=Object(s.a)(({registerConfig:e,newMnemonicConfig:t,bip44Option:n})=>{const r=Object(i.useMemo)(()=>{const e=t.mnemonic.split(" ");for(let t=0;t{const e=t.mnemonic.split(" ");for(let t=0;te>t?1:-1),s(e),d([])},[t.mnemonic]),o.a.createElement("div",null,o.a.createElement("div",{style:{minHeight:"153px"}},o.a.createElement("div",{className:l.a.buttons},c.map((e,t)=>o.a.createElement(u.a,{key:e+t.toString(),onClick:()=>{const e=c[t];d(c.slice(0,t).concat(c.slice(t+1))),a.push(e),s(a.slice())}},e)))),o.a.createElement("hr",null),o.a.createElement("div",{style:{minHeight:"153px"}},o.a.createElement("div",{className:l.a.buttons},a.map((e,t)=>o.a.createElement(u.a,{key:e+t.toString(),onClick:()=>{const e=a[t];s(a.slice(0,t).concat(a.slice(t+1))),c.push(e),d(c.slice())}},e)))),o.a.createElement(u.a,{color:"primary",type:"submit",disabled:c.join(" ")!==r.join(" "),block:!0,style:{marginTop:"30px"},onClick:r=>j(void 0,void 0,void 0,(function*(){r.preventDefault();try{yield e.createMnemonic(t.name,t.mnemonic,t.password,n.bip44HDPath)}catch(t){alert(t.message?t.message:t.toString()),e.clear()}})),"data-loading":e.isLoading},o.a.createElement(f.a,{id:"register.verify.button.register"})),o.a.createElement(ee,{onClick:()=>{t.setMode("generate")}}))});var U=n(2),F=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};const q=n(69);function z(e){return!!e.startsWith("0x")||64===e.length}function V(e){return(e=e.trim()).split(/\s+/).map(e=>e.trim()).filter(e=>e.trim().length>0).join(" ")}const H=Object(s.a)(({registerConfig:e})=>o.a.createElement(u.a,{color:"primary",outline:!0,block:!0,onClick:t=>{t.preventDefault(),e.setType("recover-mnemonic")}},o.a.createElement(f.a,{id:"register.intro.button.import-account.title"}))),$=Object(s.a)(({registerConfig:e})=>{const t=Object(g.a)(),n=T(),{register:r,handleSubmit:i,getValues:a,errors:s}=Object(v.a)({defaultValues:{name:"",words:"",password:"",confirmPassword:""}});return o.a.createElement(o.a.Fragment,null,o.a.createElement("div",null,o.a.createElement("div",{className:l.a.title},t.formatMessage({id:"register.recover.title"})),o.a.createElement(P.a,{className:l.a.formContainer,onSubmit:i(t=>F(void 0,void 0,void 0,(function*(){try{if(z(t.words)){const n=U.Buffer.from(t.words.trim().replace("0x",""),"hex");yield e.createPrivateKey(t.name,n,t.password)}else yield e.createMnemonic(t.name,V(t.words),t.password,n.bip44HDPath)}catch(t){alert(t.message?t.message:t.toString()),e.clear()}})))},o.a.createElement(C.g,{className:l.a.mnemonic,placeholder:t.formatMessage({id:"register.create.textarea.mnemonic.place-holder"}),name:"words",rows:3,ref:r({required:"Mnemonic is required",validate:e=>{if(z(e)){if(64!==(e=e.replace("0x","")).length)return t.formatMessage({id:"register.import.textarea.private-key.error.invalid-length"});try{if(U.Buffer.from(e,"hex").toString("hex").toLowerCase()!==e.toLowerCase())return t.formatMessage({id:"register.import.textarea.private-key.error.invalid"})}catch(e){return t.formatMessage({id:"register.import.textarea.private-key.error.invalid"})}}else{if((e=V(e)).split(" ").length<8)return t.formatMessage({id:"register.create.textarea.mnemonic.error.too-short"});if(!q.validateMnemonic(e))return t.formatMessage({id:"register.create.textarea.mnemonic.error.invalid"})}}}),error:s.words&&s.words.message}),o.a.createElement(C.e,{label:t.formatMessage({id:"register.name"}),type:"text",name:"name",ref:r({required:t.formatMessage({id:"register.name.error.required"})}),error:s.name&&s.name.message}),"create"===e.mode?o.a.createElement(o.a.Fragment,null,o.a.createElement(C.e,{label:t.formatMessage({id:"register.create.input.password"}),type:"password",name:"password",ref:r({required:t.formatMessage({id:"register.create.input.password.error.required"}),validate:e=>{if(e.length<8)return t.formatMessage({id:"register.create.input.password.error.too-short"})}}),error:s.password&&s.password.message}),o.a.createElement(C.e,{label:t.formatMessage({id:"register.create.input.confirm-password"}),type:"password",name:"confirmPassword",ref:r({required:t.formatMessage({id:"register.create.input.confirm-password.error.required"}),validate:e=>{if(e!==a().password)return t.formatMessage({id:"register.create.input.confirm-password.error.unmatched"})}}),error:s.confirmPassword&&s.confirmPassword.message})):null,o.a.createElement(A,{bip44Option:n}),o.a.createElement(u.a,{color:"primary",type:"submit",block:!0,"data-loading":e.isLoading},o.a.createElement(f.a,{id:"register.create.button.next"}))),o.a.createElement(ee,{onClick:()=>{e.clear()}})))});var K=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};const W=Object(s.a)(({registerConfig:e})=>o.a.createElement(u.a,{color:"primary",outline:!0,block:!0,onClick:t=>{t.preventDefault(),e.setType("import-ledger")}},o.a.createElement(f.a,{id:"register.ledger.title"}))),G=Object(s.a)(({registerConfig:e})=>{const t=Object(g.a)(),n=T(118),{register:r,handleSubmit:i,getValues:a,errors:s}=Object(v.a)({defaultValues:{name:"",password:"",confirmPassword:""}});return o.a.createElement("div",null,o.a.createElement("div",{className:l.a.title},t.formatMessage({id:"register.name"})),o.a.createElement(P.a,{className:l.a.formContainer,onSubmit:i(t=>K(void 0,void 0,void 0,(function*(){try{yield e.createLedger(t.name,t.password,n.bip44HDPath)}catch(t){alert(t.message?t.message:t.toString()),e.clear()}})))},o.a.createElement(C.e,{label:t.formatMessage({id:"register.name"}),type:"text",name:"name",ref:r({required:t.formatMessage({id:"register.name.error.required"})}),error:s.name&&s.name.message}),"create"===e.mode?o.a.createElement(o.a.Fragment,null,o.a.createElement(C.e,{label:t.formatMessage({id:"register.create.input.password"}),type:"password",name:"password",ref:r({required:t.formatMessage({id:"register.create.input.password.error.required"}),validate:e=>{if(e.length<8)return t.formatMessage({id:"register.create.input.password.error.too-short"})}}),error:s.password&&s.password.message}),o.a.createElement(C.e,{label:t.formatMessage({id:"register.create.input.confirm-password"}),type:"password",name:"confirmPassword",ref:r({required:t.formatMessage({id:"register.create.input.confirm-password.error.required"}),validate:e=>{if(e!==a().password)return t.formatMessage({id:"register.create.input.confirm-password.error.unmatched"})}}),error:s.confirmPassword&&s.confirmPassword.message})):null,o.a.createElement(A,{bip44Option:n}),o.a.createElement(u.a,{color:"primary",type:"submit",block:!0,"data-loading":e.isLoading},o.a.createElement(f.a,{id:"register.create.button.next"}))),o.a.createElement(ee,{onClick:()=>{e.clear()}}))});var J=n(939),Q=n.n(J);const Y=()=>{const e=Object(g.a)();return o.a.createElement("div",{style:{paddingTop:"20px"}},o.a.createElement("div",{className:Q.a.title},e.formatMessage({id:"register.welcome.title"})),o.a.createElement("div",{className:Q.a.content},e.formatMessage({id:"register.welcome.content"})),o.a.createElement(u.a,{color:"primary",type:"submit",onClick:()=>{"undefined"!=typeof browser?browser.tabs.getCurrent().then(e=>{e.id?browser.tabs.remove(e.id):window.close()}):window.close()},block:!0,style:{marginTop:"60px"}},e.formatMessage({id:"register.welcome.button.done"})))};var Z,X=n(208);!function(e){e[e.WORDS12=0]="WORDS12",e[e.WORDS24=1]="WORDS24"}(Z||(Z={}));const ee=({onClick:e})=>o.a.createElement("div",{className:l.a.backButton},o.a.createElement(u.a,{color:"link",onClick:e},o.a.createElement("i",{className:"fas fa-angle-left",style:{marginRight:"8px"}}),o.a.createElement(f.a,{id:"register.button.back"}))),te=Object(s.a)(()=>{Object(i.useEffect)(()=>(document.body.setAttribute("data-centered","true"),()=>{document.body.removeAttribute("data-centered")}),[]);const{keyRingStore:e}=Object(p.b)(),t=Object(d.useRegisterConfig)(e,[...null!==X.a&&void 0!==X.a?X.a:[],{type:"new-mnemonic",intro:R,page:N},{type:"recover-mnemonic",intro:H,page:$},{type:"import-ledger",intro:W,page:G}]);return o.a.createElement(a.a,{className:l.a.container,style:{height:"100%",backgroundColor:"white",padding:0}},o.a.createElement("div",{className:l.a.logoContainer},o.a.createElement("img",{className:l.a.icon,src:n(413),alt:"logo"}),o.a.createElement("div",{className:l.a.logoInnerContainer},o.a.createElement("img",{className:l.a.logo,src:n(877),alt:"logo"}),o.a.createElement("div",{className:l.a.paragraph},"Wallet for the Interchain"))),t.render(),t.isFinalized?o.a.createElement(Y,null):null,t.isIntro?o.a.createElement("div",{className:l.a.subContent},o.a.createElement(f.a,{id:"register.intro.sub-content",values:{br:o.a.createElement("br",null)}})):null)})},function(e,t,n){"use strict";var r;function i(e){return e.type===r.literal}function o(e){return e.type===r.argument}function a(e){return e.type===r.number}function s(e){return e.type===r.date}function c(e){return e.type===r.time}function l(e){return e.type===r.select}function u(e){return e.type===r.plural}function f(e){return e.type===r.pound}function d(e){return!(!e||"object"!=typeof e||0!==e.type)}function p(e){return!(!e||"object"!=typeof e||1!==e.type)}!function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound"}(r||(r={}));var h,m=(h=function(e,t){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),b=function(){return(b=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0){for(t=1,n=1;t1&&"}"===e)},Y=me("\n",!1),Z=ye("argNameOrNumber"),X=ye("argNumber"),ee=me("0",!1),te=/^[1-9]/,ne=be([["1","9"]],!1,!1),re=/^[0-9]/,ie=be([["0","9"]],!1,!1),oe=ye("argName"),ae=0,se=0,ce=[{line:1,column:1}],le=0,ue=[],fe=0;if(void 0!==t.startRule){if(!(t.startRule in o))throw new Error("Can't start parsing from rule \""+t.startRule+'".');a=o[t.startRule]}function de(){return e.substring(se,ae)}function pe(){return ve(se,ae)}function he(e,t){throw function(e,t){return new y(e,[],"",t)}(e,t=void 0!==t?t:ve(se,ae))}function me(e,t){return{type:"literal",text:e,ignoreCase:t}}function be(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function ye(e){return{type:"other",description:e}}function ge(t){var n,r=ce[t];if(r)return r;for(n=t-1;!ce[n];)n--;for(r={line:(r=ce[n]).line,column:r.column};nle&&(le=ae,ue=[]),ue.push(e))}function _e(e,t,n){return new y(y.buildMessage(e,t),e,t,n)}function ke(){return xe()}function xe(){var e,t;for(e=[],t=Se();t!==i;)e.push(t),t=Se();return e}function Se(){var t;return(t=function(){var e,t;e=ae,(t=Oe())!==i&&(se=e,n=t,t=b({type:r.literal,value:n},$e()));var n;return e=t}())===i&&(t=function(){var t,n,o,a;fe++,t=ae,123===e.charCodeAt(ae)?(n="{",ae++):(n=i,0===fe&&we(l));n!==i&&Re()!==i&&(o=Fe())!==i&&Re()!==i?(125===e.charCodeAt(ae)?(a="}",ae++):(a=i,0===fe&&we(u)),a!==i?(se=t,s=o,n=b({type:r.argument,value:s},$e()),t=n):(ae=t,t=i)):(ae=t,t=i);var s;fe--,t===i&&(n=i,0===fe&&we(c));return t}())===i&&(t=function(){var t;(t=function(){var t,n,r,o,a,s,c,f,d;t=ae,123===e.charCodeAt(ae)?(n="{",ae++):(n=i,0===fe&&we(l));n!==i&&Re()!==i&&(r=Fe())!==i&&Re()!==i?(44===e.charCodeAt(ae)?(o=",",ae++):(o=i,0===fe&&we(k)),o!==i&&Re()!==i?("number"===e.substr(ae,6)?(a="number",ae+=6):(a=i,0===fe&&we(x)),a!==i&&Re()!==i?(s=ae,44===e.charCodeAt(ae)?(c=",",ae++):(c=i,0===fe&&we(k)),c!==i&&(f=Re())!==i&&(d=function(){var t,n,r;t=ae,"::"===e.substr(ae,2)?(n="::",ae+=2):(n=i,0===fe&&we(w));n!==i&&(r=function(){var e,t,n;if(e=ae,t=[],(n=Ae())!==i)for(;n!==i;)t.push(n),n=Ae();else t=i;t!==i&&(se=e,t=b({type:0,tokens:t},$e()));return e=t}())!==i?(se=t,t=n=r):(ae=t,t=i);t===i&&(t=ae,se=ae,Ve.push("numberArgStyle"),(n=(n=!0)?void 0:i)!==i&&(r=Oe())!==i?(se=t,n=_(r),t=n):(ae=t,t=i));return t}())!==i?s=c=[c,f,d]:(ae=s,s=i),s===i&&(s=null),s!==i&&(c=Re())!==i?(125===e.charCodeAt(ae)?(f="}",ae++):(f=i,0===fe&&we(u)),f!==i?(se=t,n=S(r,a,s),t=n):(ae=t,t=i)):(ae=t,t=i)):(ae=t,t=i)):(ae=t,t=i)):(ae=t,t=i);return t}())===i&&(t=function(){var t,n,r,o,a,s,c,f,d;t=ae,123===e.charCodeAt(ae)?(n="{",ae++):(n=i,0===fe&&we(l));n!==i&&Re()!==i&&(r=Fe())!==i&&Re()!==i?(44===e.charCodeAt(ae)?(o=",",ae++):(o=i,0===fe&&we(k)),o!==i&&Re()!==i?("date"===e.substr(ae,4)?(a="date",ae+=4):(a=i,0===fe&&we(C)),a===i&&("time"===e.substr(ae,4)?(a="time",ae+=4):(a=i,0===fe&&we(j))),a!==i&&Re()!==i?(s=ae,44===e.charCodeAt(ae)?(c=",",ae++):(c=i,0===fe&&we(k)),c!==i&&(f=Re())!==i&&(d=function(){var t,n,r;t=ae,"::"===e.substr(ae,2)?(n="::",ae+=2):(n=i,0===fe&&we(w));n!==i&&(r=function(){var t,n,r,o;t=ae,n=ae,r=[],(o=Me())===i&&(o=Ie());if(o!==i)for(;o!==i;)r.push(o),(o=Me())===i&&(o=Ie());else r=i;n=r!==i?e.substring(n,ae):r;n!==i&&(se=t,n=b({type:1,pattern:n},$e()));return t=n}())!==i?(se=t,t=n=r):(ae=t,t=i);t===i&&(t=ae,se=ae,Ve.push("dateOrTimeArgStyle"),(n=(n=!0)?void 0:i)!==i&&(r=Oe())!==i?(se=t,n=_(r),t=n):(ae=t,t=i));return t}())!==i?s=c=[c,f,d]:(ae=s,s=i),s===i&&(s=null),s!==i&&(c=Re())!==i?(125===e.charCodeAt(ae)?(f="}",ae++):(f=i,0===fe&&we(u)),f!==i?(se=t,n=S(r,a,s),t=n):(ae=t,t=i)):(ae=t,t=i)):(ae=t,t=i)):(ae=t,t=i)):(ae=t,t=i);return t}());return t}())===i&&(t=function(){var t,n,o,a,s,c,f,d,p,h,m;t=ae,123===e.charCodeAt(ae)?(n="{",ae++):(n=i,0===fe&&we(l));if(n!==i)if(Re()!==i)if((o=Fe())!==i)if(Re()!==i)if(44===e.charCodeAt(ae)?(a=",",ae++):(a=i,0===fe&&we(k)),a!==i)if(Re()!==i)if("plural"===e.substr(ae,6)?(s="plural",ae+=6):(s=i,0===fe&&we(D)),s===i&&("selectordinal"===e.substr(ae,13)?(s="selectordinal",ae+=13):(s=i,0===fe&&we(R))),s!==i)if(Re()!==i)if(44===e.charCodeAt(ae)?(c=",",ae++):(c=i,0===fe&&we(k)),c!==i)if(Re()!==i)if(f=ae,"offset:"===e.substr(ae,7)?(d="offset:",ae+=7):(d=i,0===fe&&we(N)),d!==i&&(p=Re())!==i&&(h=Ne())!==i?f=d=[d,p,h]:(ae=f,f=i),f===i&&(f=null),f!==i)if((d=Re())!==i){if(p=[],(h=Ce())!==i)for(;h!==i;)p.push(h),h=Ce();else p=i;p!==i&&(h=Re())!==i?(125===e.charCodeAt(ae)?(m="}",ae++):(m=i,0===fe&&we(u)),m!==i?(se=t,n=function(e,t,n,i){return b({type:r.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:n?n[2]:0,options:i.reduce((function(e,t){var n=t.id,r=t.value,i=t.location;return n in e&&he('Duplicate option "'+n+'" in plural element: "'+de()+'"',pe()),e[n]={value:r,location:i},e}),{})},$e())}(o,s,f,p),t=n):(ae=t,t=i)):(ae=t,t=i)}else ae=t,t=i;else ae=t,t=i;else ae=t,t=i;else ae=t,t=i;else ae=t,t=i;else ae=t,t=i;else ae=t,t=i;else ae=t,t=i;else ae=t,t=i;else ae=t,t=i;else ae=t,t=i;else ae=t,t=i;return t}())===i&&(t=function(){var t,n,o,a,s,c,f,d,p;t=ae,123===e.charCodeAt(ae)?(n="{",ae++):(n=i,0===fe&&we(l));if(n!==i)if(Re()!==i)if((o=Fe())!==i)if(Re()!==i)if(44===e.charCodeAt(ae)?(a=",",ae++):(a=i,0===fe&&we(k)),a!==i)if(Re()!==i)if("select"===e.substr(ae,6)?(s="select",ae+=6):(s=i,0===fe&&we(B)),s!==i)if(Re()!==i)if(44===e.charCodeAt(ae)?(c=",",ae++):(c=i,0===fe&&we(k)),c!==i)if(Re()!==i){if(f=[],(d=Pe())!==i)for(;d!==i;)f.push(d),d=Pe();else f=i;f!==i&&(d=Re())!==i?(125===e.charCodeAt(ae)?(p="}",ae++):(p=i,0===fe&&we(u)),p!==i?(se=t,n=function(e,t){return b({type:r.select,value:e,options:t.reduce((function(e,t){var n=t.id,r=t.value,i=t.location;return n in e&&he('Duplicate option "'+n+'" in select element: "'+de()+'"',pe()),e[n]={value:r,location:i},e}),{})},$e())}(o,f),t=n):(ae=t,t=i)):(ae=t,t=i)}else ae=t,t=i;else ae=t,t=i;else ae=t,t=i;else ae=t,t=i;else ae=t,t=i;else ae=t,t=i;else ae=t,t=i;else ae=t,t=i;else ae=t,t=i;else ae=t,t=i;return t}())===i&&(t=function(){var t,n;t=ae,35===e.charCodeAt(ae)?(n="#",ae++):(n=i,0===fe&&we(s));n!==i&&(se=t,n=b({type:r.pound},$e()));return t=n}()),t}function Oe(){var e,t,n;if(e=ae,t=[],(n=Be())===i&&(n=Le())===i&&(n=Ue()),n!==i)for(;n!==i;)t.push(n),(n=Be())===i&&(n=Le())===i&&(n=Ue());else t=i;return t!==i&&(se=e,t=t.join("")),e=t}function Ee(){var t,n,r,o,a;if(fe++,t=ae,n=[],r=ae,o=ae,fe++,(a=je())===i&&(d.test(e.charAt(ae))?(a=e.charAt(ae),ae++):(a=i,0===fe&&we(p))),fe--,a===i?o=void 0:(ae=o,o=i),o!==i?(e.length>ae?(a=e.charAt(ae),ae++):(a=i,0===fe&&we(h)),a!==i?r=o=[o,a]:(ae=r,r=i)):(ae=r,r=i),r!==i)for(;r!==i;)n.push(r),r=ae,o=ae,fe++,(a=je())===i&&(d.test(e.charAt(ae))?(a=e.charAt(ae),ae++):(a=i,0===fe&&we(p))),fe--,a===i?o=void 0:(ae=o,o=i),o!==i?(e.length>ae?(a=e.charAt(ae),ae++):(a=i,0===fe&&we(h)),a!==i?r=o=[o,a]:(ae=r,r=i)):(ae=r,r=i);else n=i;return t=n!==i?e.substring(t,ae):n,fe--,t===i&&(n=i,0===fe&&we(f)),t}function Te(){var t,n,r;return fe++,t=ae,47===e.charCodeAt(ae)?(n="/",ae++):(n=i,0===fe&&we(g)),n!==i&&(r=Ee())!==i?(se=t,t=n=r):(ae=t,t=i),fe--,t===i&&(n=i,0===fe&&we(m)),t}function Ae(){var e,t,n,r;if(fe++,e=ae,Re()!==i)if((t=Ee())!==i){for(n=[],r=Te();r!==i;)n.push(r),r=Te();n!==i?(se=e,e=function(e,t){return{stem:e,options:t}}(t,n)):(ae=e,e=i)}else ae=e,e=i;else ae=e,e=i;return fe--,e===i&&(i,0===fe&&we(v)),e}function Me(){var t,n,r,o;if(t=ae,39===e.charCodeAt(ae)?(n="'",ae++):(n=i,0===fe&&we(O)),n!==i){if(r=[],(o=Be())===i&&(E.test(e.charAt(ae))?(o=e.charAt(ae),ae++):(o=i,0===fe&&we(T))),o!==i)for(;o!==i;)r.push(o),(o=Be())===i&&(E.test(e.charAt(ae))?(o=e.charAt(ae),ae++):(o=i,0===fe&&we(T)));else r=i;r!==i?(39===e.charCodeAt(ae)?(o="'",ae++):(o=i,0===fe&&we(O)),o!==i?t=n=[n,r,o]:(ae=t,t=i)):(ae=t,t=i)}else ae=t,t=i;if(t===i)if(t=[],(n=Be())===i&&(A.test(e.charAt(ae))?(n=e.charAt(ae),ae++):(n=i,0===fe&&we(M))),n!==i)for(;n!==i;)t.push(n),(n=Be())===i&&(A.test(e.charAt(ae))?(n=e.charAt(ae),ae++):(n=i,0===fe&&we(M)));else t=i;return t}function Ie(){var t,n;if(t=[],I.test(e.charAt(ae))?(n=e.charAt(ae),ae++):(n=i,0===fe&&we(P)),n!==i)for(;n!==i;)t.push(n),I.test(e.charAt(ae))?(n=e.charAt(ae),ae++):(n=i,0===fe&&we(P));else t=i;return t}function Pe(){var t,n,r,o,a,s,c;return t=ae,Re()!==i&&(n=ze())!==i&&Re()!==i?(123===e.charCodeAt(ae)?(r="{",ae++):(r=i,0===fe&&we(l)),r!==i?(se=ae,Ve.push("select"),(!0?void 0:i)!==i&&(o=xe())!==i?(125===e.charCodeAt(ae)?(a="}",ae++):(a=i,0===fe&&we(u)),a!==i?(se=t,s=n,c=o,Ve.pop(),t=b({id:s,value:c},$e())):(ae=t,t=i)):(ae=t,t=i)):(ae=t,t=i)):(ae=t,t=i),t}function Ce(){var t,n,r,o,a,s,c;return t=ae,Re()!==i&&(n=function(){var t,n,r,o;return t=ae,n=ae,61===e.charCodeAt(ae)?(r="=",ae++):(r=i,0===fe&&we(L)),r!==i&&(o=Ne())!==i?n=r=[r,o]:(ae=n,n=i),(t=n!==i?e.substring(t,ae):n)===i&&(t=ze()),t}())!==i&&Re()!==i?(123===e.charCodeAt(ae)?(r="{",ae++):(r=i,0===fe&&we(l)),r!==i?(se=ae,Ve.push("plural"),(!0?void 0:i)!==i&&(o=xe())!==i?(125===e.charCodeAt(ae)?(a="}",ae++):(a=i,0===fe&&we(u)),a!==i?(se=t,s=n,c=o,Ve.pop(),t=b({id:s,value:c},$e())):(ae=t,t=i)):(ae=t,t=i)):(ae=t,t=i)):(ae=t,t=i),t}function je(){var t;return fe++,F.test(e.charAt(ae))?(t=e.charAt(ae),ae++):(t=i,0===fe&&we(q)),fe--,t===i&&(i,0===fe&&we(U)),t}function De(){var t;return fe++,V.test(e.charAt(ae))?(t=e.charAt(ae),ae++):(t=i,0===fe&&we(H)),fe--,t===i&&(i,0===fe&&we(z)),t}function Re(){var t,n,r;for(fe++,t=ae,n=[],r=je();r!==i;)n.push(r),r=je();return t=n!==i?e.substring(t,ae):n,fe--,t===i&&(n=i,0===fe&&we($)),t}function Ne(){var t,n,r,o,a;return fe++,t=ae,45===e.charCodeAt(ae)?(n="-",ae++):(n=i,0===fe&&we(W)),n===i&&(n=null),n!==i&&(r=qe())!==i?(se=t,o=n,t=n=(a=r)?o?-a:a:0):(ae=t,t=i),fe--,t===i&&(n=i,0===fe&&we(K)),t}function Be(){var t,n;return fe++,t=ae,"''"===e.substr(ae,2)?(n="''",ae+=2):(n=i,0===fe&&we(J)),n!==i&&(se=t,n="'"),fe--,(t=n)===i&&(n=i,0===fe&&we(G)),t}function Le(){var t,n,r,o,a,s;if(t=ae,39===e.charCodeAt(ae)?(n="'",ae++):(n=i,0===fe&&we(O)),n!==i)if((r=function(){var t,n,r,o;t=ae,n=ae,e.length>ae?(r=e.charAt(ae),ae++):(r=i,0===fe&&we(h));r!==i?(se=ae,(o=(o="{"===(a=r)||"}"===a||He()&&"#"===a)?void 0:i)!==i?n=r=[r,o]:(ae=n,n=i)):(ae=n,n=i);var a;t=n!==i?e.substring(t,ae):n;return t}())!==i){for(o=ae,a=[],"''"===e.substr(ae,2)?(s="''",ae+=2):(s=i,0===fe&&we(J)),s===i&&(E.test(e.charAt(ae))?(s=e.charAt(ae),ae++):(s=i,0===fe&&we(T)));s!==i;)a.push(s),"''"===e.substr(ae,2)?(s="''",ae+=2):(s=i,0===fe&&we(J)),s===i&&(E.test(e.charAt(ae))?(s=e.charAt(ae),ae++):(s=i,0===fe&&we(T)));(o=a!==i?e.substring(o,ae):a)!==i?(39===e.charCodeAt(ae)?(a="'",ae++):(a=i,0===fe&&we(O)),a===i&&(a=null),a!==i?(se=t,t=n=r+o.replace("''","'")):(ae=t,t=i)):(ae=t,t=i)}else ae=t,t=i;else ae=t,t=i;return t}function Ue(){var t,n,r,o;return t=ae,n=ae,e.length>ae?(r=e.charAt(ae),ae++):(r=i,0===fe&&we(h)),r!==i?(se=ae,(o=(o=Q(r))?void 0:i)!==i?n=r=[r,o]:(ae=n,n=i)):(ae=n,n=i),n===i&&(10===e.charCodeAt(ae)?(n="\n",ae++):(n=i,0===fe&&we(Y))),t=n!==i?e.substring(t,ae):n}function Fe(){var t,n;return fe++,t=ae,(n=qe())===i&&(n=ze()),t=n!==i?e.substring(t,ae):n,fe--,t===i&&(n=i,0===fe&&we(Z)),t}function qe(){var t,n,r,o,a;if(fe++,t=ae,48===e.charCodeAt(ae)?(n="0",ae++):(n=i,0===fe&&we(ee)),n!==i&&(se=t,n=0),(t=n)===i){if(t=ae,n=ae,te.test(e.charAt(ae))?(r=e.charAt(ae),ae++):(r=i,0===fe&&we(ne)),r!==i){for(o=[],re.test(e.charAt(ae))?(a=e.charAt(ae),ae++):(a=i,0===fe&&we(ie));a!==i;)o.push(a),re.test(e.charAt(ae))?(a=e.charAt(ae),ae++):(a=i,0===fe&&we(ie));o!==i?n=r=[r,o]:(ae=n,n=i)}else ae=n,n=i;n!==i&&(se=t,n=parseInt(n.join(""),10)),t=n}return fe--,t===i&&(n=i,0===fe&&we(X)),t}function ze(){var t,n,r,o,a;if(fe++,t=ae,n=[],r=ae,o=ae,fe++,(a=je())===i&&(a=De()),fe--,a===i?o=void 0:(ae=o,o=i),o!==i?(e.length>ae?(a=e.charAt(ae),ae++):(a=i,0===fe&&we(h)),a!==i?r=o=[o,a]:(ae=r,r=i)):(ae=r,r=i),r!==i)for(;r!==i;)n.push(r),r=ae,o=ae,fe++,(a=je())===i&&(a=De()),fe--,a===i?o=void 0:(ae=o,o=i),o!==i?(e.length>ae?(a=e.charAt(ae),ae++):(a=i,0===fe&&we(h)),a!==i?r=o=[o,a]:(ae=r,r=i)):(ae=r,r=i);else n=i;return t=n!==i?e.substring(t,ae):n,fe--,t===i&&(n=i,0===fe&&we(oe)),t}var Ve=["root"];function He(){return"plural"===Ve[Ve.length-1]}function $e(){return t&&t.captureLocation?{location:pe()}:{}}if((n=a())!==i&&ae===e.length)return n;throw n!==i&&ae1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(E,(function(e,n,r){return"."===e?t.maximumFractionDigits=0:"+"===r?t.minimumFractionDigits=r.length:"#"===n[0]?t.maximumFractionDigits=n.length:(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length+("string"==typeof r?r.length:0)),""})),i.options.length&&(t=x(x({},t),A(i.options[0])))}else if(T.test(i.stem))t=x(x({},t),A(i.stem));else{var o=M(i.stem);o&&(t=x(x({},t),o))}}return t}var C,j=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),D=function(){for(var e=0,t=0,n=arguments.length;t(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,q=Date.now()+"@@",z=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function V(e,t,n,r,i,o){var a=N(e,t,n,r,i,void 0,o),s={},c=a.reduce((function(e,t){if(0===t.type)return e+t.value;var n=Date.now()+"_"+ ++L;return s[n]=t.value,e+"@@"+n+"@@"}),"");if(!F.test(c))return U(c,s);if(!i)throw new R("Message has placeholders but no values was given");if("undefined"==typeof DOMParser)throw new R("Cannot format XML message without DOMParser");C||(C=new DOMParser);var l=C.parseFromString(''+c+"","text/html").getElementById(q);if(!l)throw new R("Malformed HTML message "+c);var u=Object.keys(i).filter((function(e){return!!l.getElementsByTagName(e).length}));if(!u.length)return U(c,s);var f=u.filter((function(e){return e!==e.toLowerCase()}));if(f.length)throw new R("HTML tag must be lowercased but the following tags are not: "+f.join(", "));return Array.prototype.slice.call(l.childNodes).reduce((function(e,t){return e.concat(function e(t,n,r){var i=t.tagName,o=t.outerHTML,a=t.textContent,s=t.childNodes;if(!i)return U(a||"",n);i=i.toLowerCase();var c=~z.indexOf(i),l=r[i];if(l&&c)throw new R(i+" is a self-closing tag and can not be used, please use another tag name.");if(!s.length)return[o];var u=Array.prototype.slice.call(s).reduce((function(t,i){return t.concat(e(i,n,r))}),[]);return l?"function"==typeof l?[l.apply(void 0,u)]:[l]:D(["<"+i+">"],u,[""])}(t,s,i))}),[])}var H=function(){return(H=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const u=Object(s.a)(),[f,d]=Object(r.useState)("");return Object(r.useEffect)(()=>{if(l>=0){const e=o.addressBookDatas[l];d(e.name),t.setRawRecipient(e.address),n.setMemo(e.memo)}},[o.addressBookDatas,l,n,t]),i.a.createElement(a.a,{showChainName:!1,canChangeChainInfo:!1,alternativeTitle:l>=0?u.formatMessage({id:"setting.address-book.edit-address.title"}):u.formatMessage({id:"setting.address-book.add-address.title"}),onBackButton:()=>{t.setRawRecipient(""),n.setMemo(""),e()}},i.a.createElement("form",{style:{display:"flex",flexDirection:"column",height:"100%"}},i.a.createElement(x.e,{type:"text",label:u.formatMessage({id:"setting.address-book.name"}),autoComplete:"off",value:f,onChange:e=>{d(e.target.value)}}),i.a.createElement(x.a,{recipientConfig:t,label:u.formatMessage({id:"setting.address-book.address"}),disableAddressBook:!0}),i.a.createElement(x.f,{memoConfig:n,label:u.formatMessage({id:"setting.address-book.memo"})}),i.a.createElement("div",{style:{flex:1}}),i.a.createElement(g.a,{type:"submit",color:"primary",disabled:!f||null!=t.getError()||null!=n.getError(),onClick:r=>S(void 0,void 0,void 0,(function*(){if(r.preventDefault(),r.stopPropagation(),!t.recipient)throw new Error("Invalid address");l<0?yield o.addAddressBook({name:f,address:t.recipient,memo:n.memo}):yield o.editAddressBookAt(l,{name:f,address:t.recipient,memo:n.memo}),t.setRawRecipient(""),n.setMemo(""),e()}))},i.a.createElement(c.a,{id:"setting.address-book.button.save"}))))});var E=n(63),T=n(11),A=n(150),M=n(46),I=n(208),P=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};const C=Object(o.a)(({onBackButton:e,hideChainDropdown:t,selectHandler:o,ibcChannelConfig:u})=>{const v=Object(s.a)(),x=Object(l.useHistory)(),{chainStore:S}=Object(_.b)(),C=S.current,[j,D]=Object(r.useState)((null==u?void 0:u.channel)?u.channel.counterpartyChainId:C.chainId),R=Object(M.useRecipientConfig)(S,j,I.c),N=Object(M.useMemoConfig)(S,j),B=Object(M.useAddressBookConfig)(new E.ExtensionKVStore("address-book"),S,j,o||{setRecipient:()=>{},setMemo:()=>{}}),[L,U]=Object(r.useState)(!1),[F,q]=Object(r.useState)(!1),[z,V]=Object(r.useState)(-1),H=Object(A.b)();return i.a.createElement(a.a,{showChainName:!1,canChangeChainInfo:!1,alternativeTitle:v.formatMessage({id:"main.menu.address-book"}),onBackButton:e||(()=>{x.goBack()})},i.a.createElement(d.a,{isOpen:F,backdrop:!1,className:w.a.fullModal,wrapClassName:w.a.fullModal,contentClassName:w.a.fullModal},i.a.createElement(p.a,{className:w.a.fullModal},i.a.createElement(O,{closeModal:()=>{q(!1),V(-1)},recipientConfig:R,memoConfig:N,addressBookConfig:B,index:z}))),i.a.createElement("div",{className:f.a.container},i.a.createElement("div",{className:w.a.innerTopContainer},t?null:i.a.createElement(h.a,{isOpen:L,toggle:()=>U(!L)},i.a.createElement(m.a,{caret:!0,style:{boxShadow:"none"}},S.getChain(j).chainName),i.a.createElement(b.a,null,S.chainInfos.map(e=>i.a.createElement(y.a,{key:e.chainId,onClick:()=>{D(e.chainId)}},e.chainName)))),i.a.createElement("div",{style:{flex:1}}),i.a.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center"}},i.a.createElement(g.a,{color:"primary",size:"sm",onClick:e=>{e.preventDefault(),e.stopPropagation(),q(!0)}},i.a.createElement("i",{className:"fas fa-plus",style:{marginRight:"4px",fontSize:"8px"}}),i.a.createElement(c.a,{id:"setting.address-book.button.add"})))),i.a.createElement("div",{style:{flex:"1 1 0",overflowY:"auto"}},B.addressBookDatas.map((t,r)=>{return i.a.createElement(k.a,{key:r.toString(),title:t.name,paragraph:0===t.address.indexOf(S.getChain(j).bech32Config.bech32PrefixAccAddr)?T.Bech32Address.shortenAddress(t.address,34):t.address,subParagraph:t.memo,icons:(a=r,[i.a.createElement("i",{key:"edit",className:"fas fa-pen",style:{cursor:"pointer"},onClick:e=>{e.preventDefault(),e.stopPropagation(),q(!0),V(a)}}),i.a.createElement("i",{key:"remove",className:"fas fa-trash",style:{cursor:"pointer"},onClick:e=>P(void 0,void 0,void 0,(function*(){e.preventDefault(),e.stopPropagation(),(yield H.confirm({img:i.a.createElement("img",{src:n(1358),style:{height:"80px"}}),title:v.formatMessage({id:"setting.address-book.confirm.delete-address.title"}),paragraph:v.formatMessage({id:"setting.address-book.confirm.delete-address.paragraph"})}))&&(q(!1),V(-1),yield B.removeAddressBook(a))}))})]),"data-index":r,onClick:t=>{t.preventDefault(),t.stopPropagation(),B.selectAddressAt(r),e&&e()},style:{cursor:o?void 0:"auto"}});var a}))))})},function(e,t,n){var r=n(37),i=n(1343);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){"use strict";var r=s(n(1345)),i=s(n(1352)),o=s(n(999)),a=s(n(997));function s(e){return e&&e.__esModule?e:{default:e}}e.exports={Transition:a.default,TransitionGroup:o.default,ReplaceTransition:i.default,CSSTransition:r.default}},function(e,t,n){var r=n(37),i=n(1527);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){"use strict";var r=n(19),i=n(26),o=n(0),a=n.n(o),s=n(1),c=n.n(s),l=n(10),u=n.n(l),f=n(8),d={children:c.a.node,tag:f.p,className:c.a.string,cssModule:c.a.object,valid:c.a.bool,tooltip:c.a.bool},p={tag:"div",valid:void 0},h=function(e){var t=e.className,n=e.cssModule,o=e.valid,s=e.tooltip,c=e.tag,l=Object(i.a)(e,["className","cssModule","valid","tooltip","tag"]),d=s?"tooltip":"feedback",p=Object(f.l)(u()(t,o?"valid-"+d:"invalid-"+d),n);return a.a.createElement(c,Object(r.a)({},l,{className:p}))};h.propTypes=d,h.defaultProps=p,t.a=h},function(e,t,n){"use strict";var r=n(19),i=n(26),o=n(0),a=n.n(o),s=n(1),c=n.n(s),l=n(10),u=n.n(l),f=n(8),d={children:c.a.node,inline:c.a.bool,tag:f.p,color:c.a.string,className:c.a.string,cssModule:c.a.object},p=function(e){var t=e.className,n=e.cssModule,o=e.inline,s=e.color,c=e.tag,l=Object(i.a)(e,["className","cssModule","inline","color","tag"]),d=Object(f.l)(u()(t,!o&&"form-text",!!s&&"text-"+s),n);return a.a.createElement(c,Object(r.a)({},l,{className:d}))};p.propTypes=d,p.defaultProps={tag:"small",color:"muted"},t.a=p},function(e,t,n){"use strict";var r=n(19),i=n(26),o=n(29),a=n(53),s=n(0),c=n.n(s),l=n(1),u=n.n(l),f=n(10),d=n.n(f),p=n(416),h=n(8),m={children:u.a.node,active:u.a.bool,disabled:u.a.bool,divider:u.a.bool,tag:h.p,header:u.a.bool,onClick:u.a.func,className:u.a.string,cssModule:u.a.object,toggle:u.a.bool,text:u.a.bool},b=function(e){function t(t){var n;return(n=e.call(this,t)||this).onClick=n.onClick.bind(Object(o.a)(n)),n.getTabIndex=n.getTabIndex.bind(Object(o.a)(n)),n}Object(a.a)(t,e);var n=t.prototype;return n.onClick=function(e){var t=this.props,n=t.disabled,r=t.header,i=t.divider,o=t.text;n||r||i||o?e.preventDefault():(this.props.onClick&&this.props.onClick(e),this.props.toggle&&this.context.toggle(e))},n.getTabIndex=function(){var e=this.props,t=e.disabled,n=e.header,r=e.divider,i=e.text;return t||n||r||i?"-1":"0"},n.render=function(){var e=this.getTabIndex(),t=e>-1?"menuitem":void 0,n=Object(h.m)(this.props,["toggle"]),o=n.className,a=n.cssModule,s=n.divider,l=n.tag,u=n.header,f=n.active,p=n.text,m=Object(i.a)(n,["className","cssModule","divider","tag","header","active","text"]),b=Object(h.l)(d()(o,{disabled:m.disabled,"dropdown-item":!s&&!u&&!p,active:f,"dropdown-header":u,"dropdown-divider":s,"dropdown-item-text":p}),a);return"button"===l&&(u?l="h6":s?l="div":m.href?l="a":p&&(l="span")),c.a.createElement(l,Object(r.a)({type:"button"===l&&(m.onClick||this.props.toggle)?"button":void 0},m,{tabIndex:e,role:t,className:b,onClick:this.onClick}))},t}(c.a.Component);b.propTypes=m,b.defaultProps={tag:"button",toggle:!0},b.contextType=p.a,t.a=b},,,function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.useGasConfig=t.GasConfig=void 0;const i=n(836),o=n(5),a=n(0);class s extends i.TxChainSetter{constructor(e,t,n=0){super(e,t),this._gas=n,o.makeObservable(this)}get gas(){return this._gas}setGas(e){this._gas=Math.floor(e)}getError(){if(this.gas<=0)return new Error("Gas should be greater than 0")}}r([o.observable],s.prototype,"_gas",void 0),r([o.action],s.prototype,"setGas",null),t.GasConfig=s;t.useGasConfig=(e,t,n=0)=>{const[r]=a.useState(()=>new s(e,t,n));return r.setChain(t),r}},function(e,t,n){(function(e){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),c=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),h(n)?r.showHidden=n:n&&t._extend(r,n),g(r.showHidden)&&(r.showHidden=!1),g(r.depth)&&(r.depth=2),g(r.colors)&&(r.colors=!1),g(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=c),u(r,e,r.depth)}function c(e,t){var n=s.styles[t];return n?"["+s.colors[n][0]+"m"+e+"["+s.colors[n][1]+"m":e}function l(e,t){return e}function u(e,n,r){if(e.customInspect&&n&&x(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return y(i)||(i=u(e,i,r)),i}var o=function(e,t){if(g(t))return e.stylize("undefined","undefined");if(y(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(b(t))return e.stylize(""+t,"number");if(h(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,n);if(o)return o;var a=Object.keys(n),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),k(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(n);if(0===a.length){if(x(n)){var c=n.name?": "+n.name:"";return e.stylize("[Function"+c+"]","special")}if(v(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(_(n))return e.stylize(Date.prototype.toString.call(n),"date");if(k(n))return f(n)}var l,w="",S=!1,O=["{","}"];(p(n)&&(S=!0,O=["[","]"]),x(n))&&(w=" [Function"+(n.name?": "+n.name:"")+"]");return v(n)&&(w=" "+RegExp.prototype.toString.call(n)),_(n)&&(w=" "+Date.prototype.toUTCString.call(n)),k(n)&&(w=" "+f(n)),0!==a.length||S&&0!=n.length?r<0?v(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=S?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,w,O)):O[0]+w+O[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,n,r,i,o){var a,s,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(s=e.stylize("[Setter]","special")),A(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(c.value)<0?(s=m(n)?u(e,c.value,null):u(e,c.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),g(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function p(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function m(e){return null===e}function b(e){return"number"==typeof e}function y(e){return"string"==typeof e}function g(e){return void 0===e}function v(e){return w(e)&&"[object RegExp]"===S(e)}function w(e){return"object"==typeof e&&null!==e}function _(e){return w(e)&&"[object Date]"===S(e)}function k(e){return w(e)&&("[object Error]"===S(e)||e instanceof Error)}function x(e){return"function"==typeof e}function S(e){return Object.prototype.toString.call(e)}function O(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(g(o)&&(o=e.env.NODE_DEBUG||""),n=n.toUpperCase(),!a[n])if(new RegExp("\\b"+n+"\\b","i").test(o)){var r=e.pid;a[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,r,e)}}else a[n]=function(){};return a[n]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=p,t.isBoolean=h,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=b,t.isString=y,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=g,t.isRegExp=v,t.isObject=w,t.isDate=_,t.isError=k,t.isFunction=x,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(1115);var E=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(){var e=new Date,t=[O(e.getHours()),O(e.getMinutes()),O(e.getSeconds())].join(":");return[e.getDate(),E[e.getMonth()],t].join(" ")}function A(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",T(),t.format.apply(t,arguments))},t.inherits=n(1116),t._extend=function(e,t){if(!t||!w(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var M="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function I(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(M&&e[M]){var t;if("function"!=typeof(t=e[M]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,M,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o{var t,n,r,i,a,s,c,l,u,f,d,p,h,m,b,y,g,v,w,_,k,x,S,O,E,T,A,M,I,P,C,j,D,R,N,B,L,U,F,q,z,V,H,$,K,W,G,J,Q,Y,Z,X,ee,te,ne,re,ie,oe,ae,se,ce,le,ue;for(r=0;r<48;r+=2)i=e[0]^e[10]^e[20]^e[30]^e[40],a=e[1]^e[11]^e[21]^e[31]^e[41],s=e[2]^e[12]^e[22]^e[32]^e[42],c=e[3]^e[13]^e[23]^e[33]^e[43],l=e[4]^e[14]^e[24]^e[34]^e[44],u=e[5]^e[15]^e[25]^e[35]^e[45],f=e[6]^e[16]^e[26]^e[36]^e[46],d=e[7]^e[17]^e[27]^e[37]^e[47],t=(p=e[8]^e[18]^e[28]^e[38]^e[48])^(s<<1|c>>>31),n=(h=e[9]^e[19]^e[29]^e[39]^e[49])^(c<<1|s>>>31),e[0]^=t,e[1]^=n,e[10]^=t,e[11]^=n,e[20]^=t,e[21]^=n,e[30]^=t,e[31]^=n,e[40]^=t,e[41]^=n,t=i^(l<<1|u>>>31),n=a^(u<<1|l>>>31),e[2]^=t,e[3]^=n,e[12]^=t,e[13]^=n,e[22]^=t,e[23]^=n,e[32]^=t,e[33]^=n,e[42]^=t,e[43]^=n,t=s^(f<<1|d>>>31),n=c^(d<<1|f>>>31),e[4]^=t,e[5]^=n,e[14]^=t,e[15]^=n,e[24]^=t,e[25]^=n,e[34]^=t,e[35]^=n,e[44]^=t,e[45]^=n,t=l^(p<<1|h>>>31),n=u^(h<<1|p>>>31),e[6]^=t,e[7]^=n,e[16]^=t,e[17]^=n,e[26]^=t,e[27]^=n,e[36]^=t,e[37]^=n,e[46]^=t,e[47]^=n,t=f^(i<<1|a>>>31),n=d^(a<<1|i>>>31),e[8]^=t,e[9]^=n,e[18]^=t,e[19]^=n,e[28]^=t,e[29]^=n,e[38]^=t,e[39]^=n,e[48]^=t,e[49]^=n,m=e[0],b=e[1],W=e[11]<<4|e[10]>>>28,G=e[10]<<4|e[11]>>>28,M=e[20]<<3|e[21]>>>29,I=e[21]<<3|e[20]>>>29,se=e[31]<<9|e[30]>>>23,ce=e[30]<<9|e[31]>>>23,V=e[40]<<18|e[41]>>>14,H=e[41]<<18|e[40]>>>14,R=e[2]<<1|e[3]>>>31,N=e[3]<<1|e[2]>>>31,y=e[13]<<12|e[12]>>>20,g=e[12]<<12|e[13]>>>20,J=e[22]<<10|e[23]>>>22,Q=e[23]<<10|e[22]>>>22,P=e[33]<<13|e[32]>>>19,C=e[32]<<13|e[33]>>>19,le=e[42]<<2|e[43]>>>30,ue=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,ne=e[4]<<30|e[5]>>>2,B=e[14]<<6|e[15]>>>26,L=e[15]<<6|e[14]>>>26,v=e[25]<<11|e[24]>>>21,w=e[24]<<11|e[25]>>>21,Y=e[34]<<15|e[35]>>>17,Z=e[35]<<15|e[34]>>>17,j=e[45]<<29|e[44]>>>3,D=e[44]<<29|e[45]>>>3,O=e[6]<<28|e[7]>>>4,E=e[7]<<28|e[6]>>>4,re=e[17]<<23|e[16]>>>9,ie=e[16]<<23|e[17]>>>9,U=e[26]<<25|e[27]>>>7,F=e[27]<<25|e[26]>>>7,_=e[36]<<21|e[37]>>>11,k=e[37]<<21|e[36]>>>11,X=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,$=e[8]<<27|e[9]>>>5,K=e[9]<<27|e[8]>>>5,T=e[18]<<20|e[19]>>>12,A=e[19]<<20|e[18]>>>12,oe=e[29]<<7|e[28]>>>25,ae=e[28]<<7|e[29]>>>25,q=e[38]<<8|e[39]>>>24,z=e[39]<<8|e[38]>>>24,x=e[48]<<14|e[49]>>>18,S=e[49]<<14|e[48]>>>18,e[0]=m^~y&v,e[1]=b^~g&w,e[10]=O^~T&M,e[11]=E^~A&I,e[20]=R^~B&U,e[21]=N^~L&F,e[30]=$^~W&J,e[31]=K^~G&Q,e[40]=te^~re&oe,e[41]=ne^~ie&ae,e[2]=y^~v&_,e[3]=g^~w&k,e[12]=T^~M&P,e[13]=A^~I&C,e[22]=B^~U&q,e[23]=L^~F&z,e[32]=W^~J&Y,e[33]=G^~Q&Z,e[42]=re^~oe&se,e[43]=ie^~ae&ce,e[4]=v^~_&x,e[5]=w^~k&S,e[14]=M^~P&j,e[15]=I^~C&D,e[24]=U^~q&V,e[25]=F^~z&H,e[34]=J^~Y&X,e[35]=Q^~Z&ee,e[44]=oe^~se&le,e[45]=ae^~ce&ue,e[6]=_^~x&m,e[7]=k^~S&b,e[16]=P^~j&O,e[17]=C^~D&E,e[26]=q^~V&R,e[27]=z^~H&N,e[36]=Y^~X&$,e[37]=Z^~ee&K,e[46]=se^~le&te,e[47]=ce^~ue&ne,e[8]=x^~m&y,e[9]=S^~b&g,e[18]=j^~O&T,e[19]=D^~E&A,e[28]=V^~R&B,e[29]=H^~N&L,e[38]=X^~$&W,e[39]=ee^~K&G,e[48]=le^~te&re,e[49]=ue^~ne&ie,e[0]^=o[r],e[1]^=o[r+1]},s=e=>t=>{var o;if("0x"===t.slice(0,2)){o=[];for(var s=2,c=t.length;s{for(var o,s=t.length,c=e.blocks,l=e.blockCount<<2,u=e.blockCount,f=e.outputBlocks,d=e.s,p=0;p>2]|=t[p]<>2]|=o<>2]|=(192|o>>6)<>2]|=(128|63&o)<=57344?(c[b>>2]|=(224|o>>12)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<>2]|=(240|o>>18)<>2]|=(128|o>>12&63)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<=l){for(e.start=b-l,e.block=c[u],b=0;b>2]|=r[3&b],e.lastByteIndex===l)for(c[0]=c[u],b=1;b>4&15]+n[15&h]+n[h>>12&15]+n[h>>8&15]+n[h>>20&15]+n[h>>16&15]+n[h>>28&15]+n[h>>24&15];y%u==0&&(a(d),b=0)}return"0x"+m})((e=>{return{blocks:[],reset:!0,block:0,start:0,blockCount:1600-(e<<1)>>5,outputBlocks:e>>5,s:(t=[0,0,0,0,0,0,0,0,0,0],[].concat(t,t,t,t,t))};var t})(e),o)};e.exports={keccak256:s(256),keccak512:s(512),keccak256s:s(256),keccak512s:s(512)}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i="~";function o(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,n,r,o){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new a(n,r||e,o),c=i?i+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function c(e,t){0==--e._eventsCount?e._events=new o:delete e._events[t]}function l(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),l.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},l.prototype.listeners=function(e){var t=i?i+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,a=new Array(o);r 2 bytes.");const n=o.decode(e);if(!t.isValidCode(n))throw new Error("multihash unknown function code: 0x"+n.toString(16));e=e.slice(o.decode.bytes);const i=o.decode(e);if(i<0)throw new Error("multihash invalid length: "+i);if((e=e.slice(o.decode.bytes)).length!==i)throw new Error("multihash length inconsistent: 0x"+e.toString("hex"));return{code:n,name:a.codes[n],length:i,digest:e}},t.encode=function(e,n,i){if(!e||void 0===n)throw new Error("multihash encode requires at least two args: digest, code");const a=t.coerceCode(n);if(!r.isBuffer(e))throw new Error("digest should be a Buffer");if(null==i&&(i=e.length),i&&e.length!==i)throw new Error("digest length should be equal to specified length.");return r.concat([r.from(o.encode(a)),r.from(o.encode(i)),e])},t.coerceCode=function(e){let n=e;if("string"==typeof e){if(void 0===a.names[e])throw new Error("Unrecognized hash function named: "+e);n=a.names[e]}if("number"!=typeof n)throw new Error("Hash function code should be a number. Got: "+n);if(void 0===a.codes[n]&&!t.isAppCode(n))throw new Error("Unrecognized function code: "+n);return n},t.isAppCode=function(e){return e>0&&e<16},t.isValidCode=function(e){return!!t.isAppCode(e)||!!a.codes[e]},t.validate=s,t.prefix=function(e){return s(e),e.slice(0,2)}},function(e,t,n){n(1193);const r=(e,t)=>parseInt(e.slice(2*t+2,2*t+4),16),i=e=>(e.length-2)/2,o=(e,t)=>t.length===2*e+2?t:o(e,"0x0"+t.slice(2)),a=(e,t)=>t.length===2*e+2?t:a(e,t+"0"),s=e=>{let t=[];for(let n=2,r=e.length;n{let t="0x";for(let n=0,r=e.length;n{let t;t="undefined"!=typeof window&&window.crypto&&window.crypto.getRandomValues?window.crypto.getRandomValues(new Uint8Array(e)):n(72).randomBytes(e);let r="0x";for(let n=0;ne.concat(t.slice(2)),flatten:e=>"0x"+e.reduce((e,t)=>e+t.slice(2),""),slice:(e,t,n)=>"0x"+n.slice(2*e+2,2*t+2),reverse:e=>{let t="0x";for(let n=0,r=i(e);n{let t="0x";for(let n=0;n{let t="";for(let n=2;n{const t=e=>{const t=e.toString(16);return t.length<2?"0"+t:t};let n="0x";for(let r=0;r!=e.length;r++){let i=e.charCodeAt(r);if(i<128)n+=t(i);else{if(i<2048)n+=t(i>>6|192);else{if(i>55295&&i<56320){if(++r==e.length)return null;let o=e.charCodeAt(r);if(o<56320||o>57343)return null;i=65536+((1023&i)<<10)+(1023&o),n+=t(i>>18|240),n+=t(i>>12&63|128)}else n+=t(i>>12|224);n+=t(i>>6&63|128)}n+=t(63&i|128)}}return n},toString:e=>{let t="",n=0,o=i(e);for(;n127){if(i>191&&i<224){if(n>=o)return null;i=(31&i)<<6|63&r(e,n)}else if(i>223&&i<240){if(n+1>=o)return null;i=(15&i)<<12|(63&r(e,n))<<6|63&r(e,++n)}else{if(!(i>239&&i<248))return null;if(n+2>=o)return null;i=(7&i)<<18|(63&r(e,n))<<12|(63&r(e,++n))<<6|63&r(e,++n)}++n}if(i<=65535)t+=String.fromCharCode(i);else{if(!(i<=1114111))return null;i-=65536,t+=String.fromCharCode(i>>10|55296),t+=String.fromCharCode(1023&i|56320)}}return t},fromNumber:e=>{let t=e.toString(16);return t.length%2==0?"0x"+t:"0x0"+t},toNumber:e=>parseInt(e.slice(2),16),fromNat:e=>"0x0"===e?"0x":e.length%2==0?e:"0x0"+e.slice(2),toNat:e=>"0"===e[2]?"0x"+e.slice(3):e,fromArray:c,toArray:s,fromUint8Array:e=>c([].slice.call(e,0)),toUint8Array:e=>new Uint8Array(s(e))}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.ecdhUnsafe=t.ecdh=t.recover=t.verify=t.sign=t.signatureImportLax=t.signatureImport=t.signatureExport=t.signatureNormalize=t.publicKeyCombine=t.publicKeyTweakMul=t.publicKeyTweakAdd=t.publicKeyVerify=t.publicKeyConvert=t.publicKeyCreate=t.privateKeyTweakMul=t.privateKeyTweakAdd=t.privateKeyModInverse=t.privateKeyNegate=t.privateKeyImport=t.privateKeyExport=t.privateKeyVerify=void 0;var r=n(1199),i=n(1201),o=n(1202);t.privateKeyVerify=function(e){return 32===e.length&&r.privateKeyVerify(Uint8Array.from(e))},t.privateKeyExport=function(e,t){if(32!==e.length)throw new RangeError("private key length is invalid");var n=i.privateKeyExport(e,t);return o.privateKeyExport(e,n,t)},t.privateKeyImport=function(e){if(null!==(e=o.privateKeyImport(e))&&32===e.length&&t.privateKeyVerify(e))return e;throw new Error("couldn't import from DER format")},t.privateKeyNegate=function(t){return e.from(r.privateKeyNegate(Uint8Array.from(t)))},t.privateKeyModInverse=function(t){if(32!==t.length)throw new Error("private key length is invalid");return e.from(i.privateKeyModInverse(Uint8Array.from(t)))},t.privateKeyTweakAdd=function(t,n){return e.from(r.privateKeyTweakAdd(Uint8Array.from(t),n))},t.privateKeyTweakMul=function(t,n){return e.from(r.privateKeyTweakMul(Uint8Array.from(t),Uint8Array.from(n)))},t.publicKeyCreate=function(t,n){return e.from(r.publicKeyCreate(Uint8Array.from(t),n))},t.publicKeyConvert=function(t,n){return e.from(r.publicKeyConvert(Uint8Array.from(t),n))},t.publicKeyVerify=function(e){return(33===e.length||65===e.length)&&r.publicKeyVerify(Uint8Array.from(e))},t.publicKeyTweakAdd=function(t,n,i){return e.from(r.publicKeyTweakAdd(Uint8Array.from(t),Uint8Array.from(n),i))},t.publicKeyTweakMul=function(t,n,i){return e.from(r.publicKeyTweakMul(Uint8Array.from(t),Uint8Array.from(n),i))},t.publicKeyCombine=function(t,n){var i=[];return t.forEach((function(e){i.push(Uint8Array.from(e))})),e.from(r.publicKeyCombine(i,n))},t.signatureNormalize=function(t){return e.from(r.signatureNormalize(Uint8Array.from(t)))},t.signatureExport=function(t){return e.from(r.signatureExport(Uint8Array.from(t)))},t.signatureImport=function(t){return e.from(r.signatureImport(Uint8Array.from(t)))},t.signatureImportLax=function(e){if(0===e.length)throw new RangeError("signature length is invalid");var t=o.signatureImportLax(e);if(null===t)throw new Error("couldn't parse DER signature");return i.signatureImport(t)},t.sign=function(t,n,i){if(null===i)throw new TypeError("options should be an Object");var o=void 0;if(i){if(o={},null===i.data)throw new TypeError("options.data should be a Buffer");if(i.data){if(32!=i.data.length)throw new RangeError("options.data length is invalid");o.data=new Uint8Array(i.data)}if(null===i.noncefn)throw new TypeError("options.noncefn should be a Function");i.noncefn&&(o.noncefn=function(t,n,r,o,a){var s=null!=r?e.from(r):null,c=null!=o?e.from(o):null,l=e.from("");return i.noncefn&&(l=i.noncefn(e.from(t),e.from(n),s,c,a)),new Uint8Array(l)})}var a=r.ecdsaSign(Uint8Array.from(t),Uint8Array.from(n),o);return{signature:e.from(a.signature),recovery:a.recid}},t.verify=function(e,t,n){return r.ecdsaVerify(Uint8Array.from(t),Uint8Array.from(e),n)},t.recover=function(t,n,i,o){return e.from(r.ecdsaRecover(Uint8Array.from(n),i,Uint8Array.from(t),o))},t.ecdh=function(t,n){return e.from(r.ecdh(Uint8Array.from(t),Uint8Array.from(n),{}))},t.ecdhUnsafe=function(t,n,r){if(33!==t.length&&65!==t.length)throw new RangeError("public key length is invalid");if(32!==n.length)throw new RangeError("private key length is invalid");return e.from(i.ecdhUnsafe(Uint8Array.from(t),Uint8Array.from(n),r))}}).call(this,n(2).Buffer)},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getLength=t.decode=t.encode=void 0;var r=n(6);function i(e,t){if("00"===e.slice(0,2))throw new Error("invalid RLP: extra zeros");return parseInt(e,t)}function o(t,n){if(t<56)return e.from([t+n]);var r=s(t),i=s(n+55+r.length/2);return e.from(i+r,"hex")}function a(e){return"0x"===e.slice(0,2)}function s(e){if(e<0)throw new Error("Invalid integer as argument, must be unsigned!");var t=e.toString(16);return t.length%2?"0"+t:t}function c(t){if(!e.isBuffer(t)){if("string"==typeof t)return a(t)?e.from((i="string"!=typeof(o=t)?o:a(o)?o.slice(2):o).length%2?"0"+i:i,"hex"):e.from(t);if("number"==typeof t||"bigint"==typeof t)return t?(n=s(t),e.from(n,"hex")):e.from([]);if(null==t)return e.from([]);if(t instanceof Uint8Array)return e.from(t);if(r.isBN(t))return e.from(t.toArray());throw new Error("invalid type")}var n,i,o;return t}t.encode=function t(n){if(Array.isArray(n)){for(var r=[],i=0;in.length)throw new Error("invalid rlp: total length is larger than the data");if(0===(s=n.slice(o,f)).length)throw new Error("invalid rlp, List has a invalid length");for(;s.length;)c=t(s),l.push(c.data),s=c.remainder;return{data:l,remainder:n.slice(f)}}(c(t));if(n)return r;if(0!==r.remainder.length)throw new Error("invalid remainder");return r.data},t.getLength=function(t){if(!t||0===t.length)return e.from([]);var n=c(t),r=n[0];if(r<=127)return n.length;if(r<=183)return r-127;if(r<=191)return r-182;if(r<=247)return r-191;var o=r-246;return o+i(n.slice(1,o).toString("hex"),16)}}).call(this,n(2).Buffer)},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.rlphash=t.ripemd160=t.sha256=t.keccak256=t.keccak=void 0;var r=n(1205),i=r.keccak224,o=r.keccak384,a=r.keccak256,s=r.keccak512,c=n(54),l=n(855),u=n(908),f=n(856);t.keccak=function(t,n){switch(void 0===n&&(n=256),t="string"!=typeof t||l.isHexString(t)?f.toBuffer(t):e.from(t,"utf8"),n||(n=256),n){case 224:return i(t);case 256:return a(t);case 384:return o(t);case 512:return s(t);default:throw new Error("Invald algorithm: keccak"+n)}},t.keccak256=function(e){return t.keccak(e)},t.sha256=function(e){return e=f.toBuffer(e),c("sha256").update(e).digest()},t.ripemd160=function(e,t){e=f.toBuffer(e);var n=c("rmd160").update(e).digest();return!0===t?f.setLength(n,32):n},t.rlphash=function(e){return t.keccak(u.encode(e))}}).call(this,n(2).Buffer)},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(911),t),i(n(912),t),i(n(546),t),i(n(913),t),i(n(914),t),i(n(915),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtensionKVStore=void 0;const r=n(546),i={get:"undefined"!=typeof browser?browser.storage.local.get:void 0,set:"undefined"!=typeof browser?browser.storage.local.set:void 0};class o extends r.BaseKVStore{constructor(e){super(i,e)}}t.ExtensionKVStore=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MemoryKVStore=void 0;const r=n(546);class i{constructor(){this.store={}}get(){return Promise.resolve(this.store)}set(e){return this.store=Object.assign(Object.assign({},this.store),e),Promise.resolve()}}class o extends r.BaseKVStore{constructor(e){super(new i,e)}}t.MemoryKVStore=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LocalKVStore=void 0;t.LocalKVStore=class{constructor(e){this._prefix=e}get(e){const t=this.prefix()+"/"+e,n=localStorage.getItem(t);return null===n?Promise.resolve(void 0):Promise.resolve(JSON.parse(n))}set(e,t){const n=this.prefix()+"/"+e;return null===t?Promise.resolve(localStorage.removeItem(n)):Promise.resolve(localStorage.setItem(n,JSON.stringify(t)))}prefix(){return this._prefix}}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.IndexedDBKVStore=void 0;t.IndexedDBKVStore=class{constructor(e){this._prefix=e}get(e){return r(this,void 0,void 0,(function*(){const t=(yield this.getDB()).transaction([this.prefix()],"readonly").objectStore(this.prefix());return new Promise((n,r)=>{const i=t.get(e);i.onerror=e=>{e.stopPropagation(),r(e.target)},i.onsuccess=()=>{i.result?n(i.result.data):n(void 0)}})}))}set(e,t){return r(this,void 0,void 0,(function*(){if(null===t){const t=(yield this.getDB()).transaction([this.prefix()],"readwrite").objectStore(this.prefix());return new Promise((n,r)=>{const i=t.delete(e);i.onerror=e=>{e.stopPropagation(),r(e.target)},i.onsuccess=()=>{n()}})}{const n=(yield this.getDB()).transaction([this.prefix()],"readwrite").objectStore(this.prefix());return new Promise((r,i)=>{const o=n.put({key:e,data:t});o.onerror=e=>{e.stopPropagation(),i(e.target)},o.onsuccess=()=>{r()}})}}))}prefix(){return this._prefix}getDB(){return r(this,void 0,void 0,(function*(){return this.cachedDB?this.cachedDB:new Promise((e,t)=>{const n=window.indexedDB.open(this.prefix());n.onerror=e=>{e.stopPropagation(),t(e.target)},n.onupgradeneeded=e=>{e.target.result.createObjectStore(this.prefix(),{keyPath:"key"})},n.onsuccess=()=>{this.cachedDB=n.result,e(n.result)}})}))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DenomHelper=void 0;t.DenomHelper=class{constructor(e){this._denom=e;const t=this.denom.split(/(\w+):(\w+):(.+)/).filter(Boolean);if(1!==t.length&&3!==t.length)throw new Error("Invalid denom: "+this.denom);this._type=3===t.length?t[0]:"",this._contractAddress=3===t.length?t[1]:""}get denom(){return this._denom}get type(){return this._type||"native"}get contractAddress(){return this._contractAddress}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toGenerator=void 0,t.toGenerator=function*(e){return yield e}},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.useAmountConfig=t.AmountConfig=void 0;const i=n(836),o=n(5),a=n(870),s=n(23),c=n(0);class l extends i.TxChainSetter{constructor(e,t,n,r){super(e,t),this._sendCurrency=void 0,this._sender=n,this.queryBalances=r,this._amount="",o.makeObservable(this)}setQueryBalances(e){this.queryBalances=e}setSender(e){this._sender=e}setSendCurrency(e){this._sendCurrency=e}setAmount(e){e.startsWith(".")&&(e="0"+e),this._amount=e}get sender(){return this._sender}get amount(){return this._amount}getAmountPrimitive(){const e=this.amount,t=this.sendCurrency;return e?{denom:t.coinMinimalDenom,amount:new s.Dec(e).mul(s.DecUtils.getPrecisionDec(t.coinDecimals)).truncate().toString()}:{denom:t.coinMinimalDenom,amount:"0"}}get sendCurrency(){const e=this.chainInfo;if(this._sendCurrency){if(e.currencies.find(e=>e.coinMinimalDenom===this._sendCurrency.coinMinimalDenom))return this._sendCurrency}if(0===e.currencies.length)throw new Error("Chain doesn't have the sendable currency informations");return e.currencies[0]}get sendableCurrencies(){return this.chainInfo.currencies}getError(){const e=this.sendCurrency;if(!e)return new Error("Currency to send not set");if(""===this.amount)return new a.EmptyAmountError("Amount is empty");if(Number.isNaN(parseFloat(this.amount)))return new a.InvalidNumberAmountError("Invalid form of number");const t=new s.Dec(this.amount);if(t.equals(new s.Dec(0)))return new a.ZeroAmountError("Amount is zero");if(new s.Dec(this.amount).lt(new s.Dec(0)))return new a.NagativeAmountError("Amount is nagative");const n=this.queryBalances.getQueryBech32Address(this.sender).balances.find(t=>t.currency.coinMinimalDenom===e.coinMinimalDenom);if(!n)return new a.InsufficientAmountError("Insufficient amount");{const e=n.balance.toDec();if(t.gt(e))return new a.InsufficientAmountError("Insufficient amount")}}}r([o.observable.ref],l.prototype,"queryBalances",void 0),r([o.observable],l.prototype,"_sender",void 0),r([o.observable.ref],l.prototype,"_sendCurrency",void 0),r([o.observable],l.prototype,"_amount",void 0),r([o.action],l.prototype,"setQueryBalances",null),r([o.action],l.prototype,"setSender",null),r([o.action],l.prototype,"setSendCurrency",null),r([o.action],l.prototype,"setAmount",null),r([o.computed],l.prototype,"sendCurrency",null),t.AmountConfig=l;t.useAmountConfig=(e,t,n,r)=>{const[i]=c.useState(()=>new l(e,t,n,r));return i.setChain(t),i.setQueryBalances(r),i.setSender(n),i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BondStatus=void 0,function(e){e.Unbonded="Unbonded",e.Unbonding="Unbonding",e.Bonded="Bonded"}(t.BondStatus||(t.BondStatus={}))},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.ObservableQueryBalances=t.ObservableQueryBalancesInner=t.ObservableQueryBalanceInner=void 0;const i=n(89),o=n(5),a=n(209);class s extends i.ObservableChainQuery{constructor(e,t,n,r,i){super(e,t,n,r),this.denomHelper=i,o.makeObservable(this)}get currency(){const e=this.denomHelper.denom,t=this.chainGetter.getChain(this.chainId).currencies.find(t=>t.coinMinimalDenom===e);if(!t)throw new Error("Unknown currency: "+e);return t}}r([o.computed],s.prototype,"currency",null),t.ObservableQueryBalanceInner=s;class c{constructor(e,t,n,r,i){this.kvStore=e,this.chainId=t,this.chainGetter=n,this.balanceRegistries=r,this.balanceMap=new Map,o.makeObservable(this),this.bech32Address=i}fetch(){this.balanceMap.forEach(e=>e.fetch())}getBalanceInner(e){let t=e.coinMinimalDenom;return"type"in e&&"secret20"===e.type&&(t=e.coinMinimalDenom+"/"+e.viewingKey),this.balanceMap.has(t)||o.runInAction(()=>{let n;for(const t of this.balanceRegistries)if(n=t.getBalanceInner(this.chainId,this.chainGetter,this.bech32Address,e.coinMinimalDenom),n)break;if(!n)throw new Error("Failed to get and parse the balance for "+t);this.balanceMap.set(t,n)}),this.balanceMap.get(t)}get stakable(){const e=this.chainGetter.getChain(this.chainId);return this.getBalanceInner(e.stakeCurrency)}get balances(){const e=this.chainGetter.getChain(this.chainId),t=[];for(let n=0;nt.coinMinimalDenom!==e.stakeCurrency.coinMinimalDenom),n=[];for(let e=0;enew c(this.kvStore,this.chainId,this.chainGetter,this.balanceRegistries,e)),this.kvStore=e,this.chainId=t,this.chainGetter=n,this.balanceRegistries=[]}addBalanceRegistry(e){this.balanceRegistries.push(e)}getQueryBech32Address(e){return this.get(e)}}t.ObservableQueryBalances=l},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function i(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function o(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var c=e.displayName||e.name,l="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+l+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=i),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=o;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",(function(){return a})),r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";(function(t){var r=t.Symbol,i=n(1364);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&i())))}}).call(this,n(12))},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n=0&&e.bit<4},t.from=function(e,n){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(e){return n}}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(1078)},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(1112),t)},function(e){e.exports=JSON.parse('{"main.account.chart.total-balance":"Total Balance","main.account.chart.available-balance":"Available","main.account.chart.staked-balance":"Staked","main.account.button.deposit":"Deposit","main.account.button.send":"Send","main.account.tooltip.no-asset":"No token in your account. Deposit some tokens to send.","main.modal.select-account.title":"Select your account","main.modal.select-account.button.select":"Select Account","main.modal.select-account.label.address":"Address","main.modal.select-account.label.balance":"Balance","main.modal.select-account.label.sequence":"Previous Txs","main.stake.message.pending-staking-reward":"Pending Staking Reward","main.stake.message.stake":"Stake","main.stake.message.earning":"Earn up to {apr}% per year","main.stake.button.claim-rewards":"Claim","main.stake.button.stake":"Stake","main.stake.tooltip.no-asset":"No token in your account. Deposit some tokens to stake.","main.ibc.transfer.title":"IBC Transfer","main.ibc.transfer.paragraph":"Send tokens over IBC","main.ibc.transfer.button":"Transfer","main.address.copied":"Address copied!","main.menu.settings":"Settings","main.menu.address-book":"Address Book","main.menu.token-list":"Token List","main.menu.sign-out":"Sign out","main.menu.footer.github":"Check it out on GitHub","main.update-chain.confirm.paragraph":"Chain information has changed. Verify that a chain upgrade has taken place.","main.update-chain.confirm.yes":"Proceed","main.update-chain.confirm.no":"Ignore","setting.language":"Language","setting.language.automatic":"Automatic (Browser default)","setting.language.automatic-with-language":"Automatic ({language})","setting.language.en":"English","setting.language.ko":"한국어","setting.fiat":"Currency","setting.fiat.automatic":"Automatic","setting.fiat.automatic-with-fiat":"Automatic ({fiat})","setting.connections":"Manage Connections","setting.connections.paragraph":"Manage websites connected to your wallet","setting.connections.confirm.delete-connection.title":"Disable Connection","setting.connections.confirm.delete-connection.paragraph":"Are you sure you want to disable this connection?","setting.address-book.button.add":"Add New","setting.address-book.add-address.title":"Add Address","setting.address-book.edit-address.title":"Edit Address","setting.address-book.name":"Name","setting.address-book.address":"Address","setting.address-book.address.error.invalid":"Invalid address","setting.address-book.memo":"Default Memo (Optional)","setting.address-book.confirm.delete-address.title":"Delete Address","setting.address-book.confirm.delete-address.paragraph":"Are you sure you want to delete this address?","setting.address-book.button.save":"Save","setting.credit":"Special thanks","setting.keyring":"Select Account","setting.keyring.button.add":"Add Account","setting.keyring.unnamed-account":"Keplr Account","setting.keyring.selected-account":"(Selected)","setting.keyring.change.password":"Reset Password","setting.keyring.change.name":"Change Account Name","setting.keyring.change.previous-name":"Previous account name","setting.keyring.change.input.name":"New account name","setting.keyring.change.input.name.error.required":"Account name is required","setting.keyring.change.input.name.error.invalid":"Account name is invalid","setting.keyring.change.name.button.save":"Save","setting.export":"View Mnemonic Seed","setting.export.private-key":"View Private Key","setting.export.warning":"Please input your password to proceed","setting.export.input.password":"Password","setting.export.input.password.error.required":"Password is required","setting.export.input.password.error.invalid":"Invalid password","setting.export.button.confirm":"Confirm","setting.clear":"Delete Account","setting.clear.alert":"Make sure you’ve backed up your mnemonic seed before proceeding.","setting.clear.button.back-up":"Back-up account","setting.clear.warning":"By deleting your account, you will no longer have access to your account on Keplr.","setting.clear.input.password":"Password","setting.clear.input.password.error.required":"Password is required","setting.clear.input.password.error.invalid":"Invalid password","setting.clear.button.confirm":"Confirm","setting.token.add":"Add Token","setting.token.add.contract-address":"Contract Address","setting.token.add.name":"Name","setting.token.add.symbol":"Symbol","setting.token.add.decimals":"Decimals","setting.token.add.button.submit":"Submit","setting.token.add.secret20.checkbox.import-viewing-key":"(Advanced) Import my own viewing key","setting.token.add.secret20.checkbox.use-suggested-viewing-key":"Use webpage suggested viewing key","setting.token.add.secret20.viewing-key":"Viewing Key","setting.token.manage.confirm.remove-token":"Are you sure you’d like to disable this token? You wil not be able to see your balance or transfer until you register a viewing key.","setting.token.manage.notification.viewing-key.copy":"Viewing key copied!","register.name":"Account name","register.name.error.required":"Account name is required","register.button.back":"Back","register.bip44.button.advanced":"Advanced","register.bip44.input.hd-path":"HD Derivation Path","register.bip44.confirm.clear":"Closing this toggle will reset the HD Path. Are you sure you want to proceed?","register.intro.button.new-account.title":"Create new account","register.intro.button.new-account.content":"Create a new wallet using a new seed","register.intro.button.import-account.title":"Import existing account","register.intro.button.import-account.content":"Use a 12/24 word seed to import an existing wallet","register.intro.sub-content":"All sensitive information is stored only on your device.{br}This process does not require an internet connection.","register.recover.title":"Input your seed","register.create.title":"Mnemonic Seed","register.create.toggle.word12":"12 words","register.create.toggle.word24":"24 words","register.create.input.password":"New Password (minimum 8 characters)","register.create.input.password.error.required":"Password is required","register.create.input.password.error.too-short":"Too short password","register.create.input.confirm-password":"Confirm password","register.create.input.confirm-password.error.required":"Confirm password is required","register.create.input.confirm-password.error.unmatched":"Password should match","register.create.textarea.mnemonic.place-holder":"Type your mnemonic / private key","register.create.textarea.mnemonic.error.invalid":"Invalid mnemonic","register.create.textarea.mnemonic.error.too-short":"Too short mnemonic","register.create.warning.keep-your-mnemonic.header":"Backup your mnemonic seed securely.","register.create.warning.keep-your-mnemonic.paragraph1":"Anyone with your mnemonic seed can take your assets.","register.create.warning.keep-your-mnemonic.paragraph2":"Lost mnemonic seed can\'t be recovered.","register.import.textarea.private-key.error.invalid":"Invalid private key","register.import.textarea.private-key.error.invalid-length":"Invalid length of private key","register.create.button.next":"Next","register.ledger.title":"Import ledger","register.verify.button.register":"Register","register.welcome.title":"You’re all set!","register.welcome.content":"Open the extension and sign in to begin your interchain journey.","register.welcome.button.done":"Done","chain.suggested.title":"Chain Add Request","chain.suggested.paragraph":"{host} would like to add blockchain {chainId} to Keplr.","chain.suggested.waring.experiment.title":"Experimental Feature","chain.suggested.waring.experiment.paragraph":"For the brave-hearted cosmonauts","chain.suggested.button.approve":"Approve","chain.suggested.button.reject":"Reject","chain.remove.confirm.paragraph":"Are you sure to remove the {chainName}?","access.title":"Requesting Connection","access.paragraph":"{host} is requesting to connect to your Keplr account on {chainId}.","access.permission.title":"By approving this request, the website will:","access.permission.account":"Know your wallet address","access.permission.tx-request":"Be able to request signatures for txs","access.permission.secret":"Be able to encrypt/decrypt your messages","access.button.approve":"Approve","access.button.reject":"Reject","access.viewing-key.title":"Requesting Viewing Key","access.viewing-key.paragraph":"{host} is requesting to get your token\'s viewing key on {contractAddress}.","access.viewing-key.permission.title":"By approving this request, the website will:","access.viewing-key.permission.secret":"Be able to know your balance of the token","access.viewing-key.button.approve":"Approve","access.viewing-key.button.reject":"Reject","lock.input.password":"Password","lock.input.password.error.required":"Empty password","lock.input.password.error.invalid":"Invalid password","lock.button.unlock":"Unlock","send.input.recipient":"Recipient","send.input.recipient.error.invalid":"Invalid address","send.input.recipient.error.ens-invalid-name":"Invalid ENS name format","send.input.recipient.error.ens-not-found":"ENS name not found","sned.input.recipient.error.ens-unknown-error":"Failed to get address from ENS","send.input.recipient.error.ens-not-supported":"ENS not supported for this chain","send.input.amount":"Amount","send.input.amount.error.insufficient":"Insufficient asset","send.input.memo":"Memo (Optional)","send.input.fee":"Fee","send.input.fee.error.required":"Fee is required","send.input.gas":"Gas","send.input-button.balance":"Balance","send.button.send":"Send","ibc.transfer.next":"Next","ibc.transfer.submit":"Submit","fee.input.gas":"Gas","fee.input.memo":"Memo (Optional)","fee.input.fee":"Fee","fee.button.set":"Set Fee","sign.tab.details":"Details","sign.tab.data":"Data","sign.list.messages.label":"Messages","sign.info.fee":"Fee","sign.info.memo":"Memo","sign.info.warning.empty-memo":"(Empty memo)","sign.info.fee.override":"Override fee","sign.info.gas":"Gas","sign.button.approve":"Approve","sign.button.reject":"Reject","sign.button.confirm-ledger":"Waiting for Ledger to confirm","sign.list.message.cosmos-sdk/MsgSend.title":"Send","sign.list.message.cosmos-sdk/MsgSend.content":"{recipient} will receive {amount}","sign.list.message.cosmos-sdk/MsgTransfer.title":"IBC Transfer","sign.list.message.cosmos-sdk/MsgTransfer.content":"Send {amount} to {receiver} on {channel}","sign.list.message.cosmos-sdk/MsgDelegate.title":"Delegate","sign.list.message.cosmos-sdk/MsgDelegate.content":"Delegate {amount} to {validator}","sign.list.message.cosmos-sdk/MsgUndelegate.title":"Undelegate","sign.list.message.cosmos-sdk/MsgUndelegate.content":"Undelegate {amount} from {validator}{br}Asset will be liquid after unbonding period","sign.list.message.cosmos-sdk/MsgBeginRedelegate.title":"Redelegate","sign.list.message.cosmos-sdk/MsgBeginRedelegate.content":"Redelegate {amount} from {fromValidator} to {toValidator}","sign.list.message.cosmos-sdk/MsgWithdrawDelegatorReward.title":"Claim Staking Reward","sign.list.message.cosmos-sdk/MsgWithdrawDelegatorReward.content":"Claim pending staking reward from {validator}","sign.list.message.cosmos-sdk/MsgVote.title":"Vote","sign.list.message.cosmos-sdk/MsgVote.content":"Vote {option} on Proposal {id}","sign.list.message.wasm.button.details":"Details","sign.list.message.wasm.button.close":"Close","sign.list.message.wasm/MsgInstantiateContract.title":"Instantiate Wasm Contract","sign.list.message.wasm/MsgInstantiateContract.content":"Instantiate code ID {codeId} contract with {admin} admin account and {label} label by funding {funds}","sign.list.message.wasm/MsgExecuteContract.title":"Execute Wasm Contract","sign.list.message.wasm/MsgExecuteContract.content":"Execute contract {address} by sending {sent}","sign.list.message.wasm/MsgExecuteContract.content.badge.secret-wasm":"Encrypted","sign.list.message.wasm/MsgExecuteContract.content.warning.secret-wasm.failed-decryption":"Failed to decrypt Secret message. This may be due to Keplr viewing key not matching the transaction viewing key.","sign.list.message.cyber/Link.title":"Cyberlink","sign.list.message.cyber/Link.content":"{address} create link {br}{link}","ledger.step1":"Step 1","ledger.step1.paragraph":"Connect and unlock your Ledger.","ledger.step2":"Step 2","ledger.step2.paragraph":"Open the Cosmos app on your Ledger device.","ledger.option.webhid.checkbox":"Use alternative USB connection method(HID)","ledger.option.webhid.warning":"Please copy and paste the following link {link} on your browser and enable ‘experimental web platform features’","ledger.option.webhid.link.copied":"Link copied!","ledger.button.next":"Next","ledger.confirm.waiting.paragraph":"Waiting for confirmation on Ledger device","ledger.confirm.success":"Success","ledger.confirm.success.paragraph":"This page will automatically close in 3 seconds","ledger.confirm.rejected":"Rejected by Ledger","ledger.confirm.rejected.paragraph":"This page will automatically close in 3 seconds","fee-buttons.select.low":"Low","fee-buttons.select.average":"Average","fee-buttons.select.high":"High","input.recipient.error.invalid-bech32":"Invalid address","input.recipient.error.ens-not-supported":"ENS not supported for this chain","input.recipient.error.ens-failed-to-fetch":"Failed to get address from ENS","input.amount.error.invalid-number":"Invalid number","input.amount.error.is-zero":"Amount should not be zero","input.amount.error.is-negative":"Amount should be positive","input.amount.error.insufficient":"Insufficient asset","input.fee.error.insufficient":"Insufficient available balance for transaction fee","input.fee.toggle.set-gas":"Set Gas","input.fee.toggle.set-gas.close":"Close","confirm.yes":"Yes","confirm.no":"No","component.form.coin-input.token.label":"Token","component.ibc.channel-registrar.chain-selector.label":"Destination Chain","component.ibc.channel-registrar.chain-selector.placeholder":"Select Chain","component.ibc.channel-registrar.chain-selector.button.add":"New IBC Transfer Channel","component.ibc.channel-registrar.chain-selector.add.channel.label":"Channel ID","component.ibc.channel-registrar.chain-selector.add.channel.placeholder":"Destination Chain Channel ID","component.ibc.channel-registrar.chain-selector.add.channel.button":"Save"}')},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),o=n(53),a=n(1),s=n.n(a),c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:{};function l(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var u=i.a.createContext||function(e,t){var n,i,a,u="__create-react-context-"+((c[a="__global_unique_id__"]=(c[a]||0)+1)+"__"),f=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=l(t.props.value),t}Object(o.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[u]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,i=e.value;((o=r)===(a=i)?0!==o||1/o==1/a:o!=o&&a!=a)?n=0:(n="function"==typeof t?t(r,i):1073741823,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,a},r.render=function(){return this.props.children},n}(r.Component);f.childContextTypes=((n={})[u]=s.a.object.isRequired,n);var d=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(o.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},r.componentDidMount=function(){this.context[u]&&this.context[u].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},r.componentWillUnmount=function(){this.context[u]&&this.context[u].off(this.onUpdate)},r.getValue=function(){return this.context[u]?this.context[u].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return d.contextTypes=((i={})[u]=s.a.object,i),{Provider:f,Consumer:d}};t.a=u}).call(this,n(12))},function(e,t,n){var r=n(1106);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=d;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,a=0,s="",u=t&&t.delimiter||"/";null!=(n=i.exec(e));){var f=n[0],d=n[1],p=n.index;if(s+=e.slice(a,p),a=p+f.length,d)s+=d[1];else{var h=e[a],m=n[2],b=n[3],y=n[4],g=n[5],v=n[6],w=n[7];s&&(r.push(s),s="");var _=null!=m&&null!=h&&h!==m,k="+"===v||"*"===v,x="?"===v||"*"===v,S=n[2]||u,O=y||g;r.push({name:b||o++,prefix:m||"",delimiter:S,optional:x,repeat:k,partial:_,asterisk:!!w,pattern:O?l(O):w?".*":"[^"+c(S)+"]+?"})}}return a0&&(e.preventDefault(),e.stopPropagation(),n[0].focus())}},n.onOpened=function(e,t){this.props.onOpened(),(this.props.modalTransition.onEntered||k)(e,t)},n.onClosed=function(e){var t=this.props.unmountOnClose;this.props.onClosed(),(this.props.modalTransition.onExited||k)(e),t&&this.destroy(),this.close(),this._isMounted&&this.setState({isOpen:!1})},n.setFocus=function(){this._dialog&&this._dialog.parentNode&&"function"==typeof this._dialog.parentNode.focus&&this._dialog.parentNode.focus()},n.getFocusableChildren=function(){return this._element.querySelectorAll(m.g.join(", "))},n.getFocusedChild=function(){var e,t=this.getFocusableChildren();try{e=document.activeElement}catch(n){e=t[0]}return e},n.handleBackdropClick=function(e){if(e.target===this._mouseDownElement){e.stopPropagation();var t=this._dialog?this._dialog.parentNode:null;if(t&&e.target===t&&"static"===this.props.backdrop&&this.handleStaticBackdropAnimation(),!this.props.isOpen||!0!==this.props.backdrop)return;t&&e.target===t&&this.props.toggle&&this.props.toggle(e)}},n.handleTab=function(e){if(9===e.which&&!(this.modalIndex=48&&e.which<=90)&&e.preventDefault(),!this.props.disabled&&(r&&([m.k.space,m.k.enter,m.k.up,m.k.down].indexOf(e.which)>-1?(this.props.isOpen||this.toggle(e),setTimeout((function(){return t.getMenuItems()[0].focus()}))):this.props.isOpen&&i?(e.preventDefault(),this.getMenuItems()[0].focus()):this.props.isOpen&&e.which===m.k.esc&&this.toggle(e)),this.props.isOpen&&"menuitem"===e.target.getAttribute("role"))))if([m.k.tab,m.k.esc].indexOf(e.which)>-1)this.toggle(e),this.getMenuCtrl().focus();else if([m.k.space,m.k.enter].indexOf(e.which)>-1)e.target.click(),this.getMenuCtrl().focus();else if([m.k.down,m.k.up].indexOf(e.which)>-1||[m.k.n,m.k.p].indexOf(e.which)>-1&&e.ctrlKey){var o=this.getMenuItems(),a=o.indexOf(e.target);m.k.up===e.which||m.k.p===e.which&&e.ctrlKey?a=0!==a?a-1:o.length-1:(m.k.down===e.which||m.k.n===e.which&&e.ctrlKey)&&(a=a===o.length-1?0:a+1),o[a].focus()}else if(m.k.end===e.which){var s=this.getMenuItems();s[s.length-1].focus()}else if(m.k.home===e.which){this.getMenuItems()[0].focus()}else if(e.which>=48&&e.which<=90)for(var c=this.getMenuItems(),l=String.fromCharCode(e.which).toLowerCase(),u=0;u7&&e[n].toUpperCase()!==e[n]||parseInt(t[n],16)<=7&&e[n].toLowerCase()!==e[n])return!1;return!0},h=function(e){var t="";e=(e=(e=(e=(e=a.encode(e)).replace(/^(?:\u0000)*/,"")).split("").reverse().join("")).replace(/^(?:\u0000)*/,"")).split("").reverse().join("");for(var n=0;n>>4).toString(16)),t.push((15&e[n]).toString(16));return"0x"+t.join("")},isHex:g,isHexStrict:y,stripHexPrefix:function(e){return 0!==e&&g(e)?e.replace(/^(-)?0x/i,"$1"):e},leftPad:function(e,t,n){var r=/^0x/i.test(e)||"number"==typeof e,i=t-(e=e.toString(16).replace(/^0x/i,"")).length+1>=0?t-e.length+1:0;return(r?"0x":"")+new Array(i).join(n||"0")+e},rightPad:function(e,t,n){var r=/^0x/i.test(e)||"number"==typeof e,i=t-(e=e.toString(16).replace(/^0x/i,"")).length+1>=0?t-e.length+1:0;return(r?"0x":"")+e+new Array(i).join(n||"0")},toTwosComplement:function(e){return"0x"+f(e).toTwos(256).toString(16,64)},sha3:w,sha3Raw:function(e){return null===(e=w(e))?v:e}}}).call(this,n(2).Buffer)},function(e,t,n){"use strict";var r=n(213),i=n(6),o=function(e){var t="A".charCodeAt(0),n="Z".charCodeAt(0);return(e=(e=e.toUpperCase()).substr(4)+e.substr(0,4)).split("").map((function(e){var r=e.charCodeAt(0);return r>=t&&r<=n?r-t+10:e})).join("")},a=function(e){for(var t,n=e;n.length>2;)t=n.slice(0,9),n=parseInt(t,10)%97+n.slice(t.length);return parseInt(n,10)%97},s=function(e){this._iban=e};s.toAddress=function(e){if(!(e=new s(e)).isDirect())throw new Error("IBAN is indirect and can't be converted");return e.toAddress()},s.toIban=function(e){return s.fromAddress(e).toString()},s.fromAddress=function(e){if(!r.isAddress(e))throw new Error("Provided address is not a valid address: "+e);e=e.replace("0x","").replace("0X","");var t=function(e,t){for(var n=e;n.length<2*t;)n="0"+n;return n}(new i(e,16).toString(36),15);return s.fromBban(t.toUpperCase())},s.fromBban=function(e){var t=("0"+(98-a(o("XE00"+e)))).slice(-2);return new s("XE"+t+e)},s.createIndirect=function(e){return s.fromBban("ETH"+e.institution+e.identifier)},s.isValid=function(e){return new s(e).isValid()},s.prototype.isValid=function(){return/^XE[0-9]{2}(ETH[0-9A-Z]{13}|[0-9A-Z]{30,31})$/.test(this._iban)&&1===a(o(this._iban))},s.prototype.isDirect=function(){return 34===this._iban.length||35===this._iban.length},s.prototype.isIndirect=function(){return 20===this._iban.length},s.prototype.checksum=function(){return this._iban.substr(2,2)},s.prototype.institution=function(){return this.isIndirect()?this._iban.substr(7,4):""},s.prototype.client=function(){return this.isIndirect()?this._iban.substr(11):""},s.prototype.toAddress=function(){if(this.isDirect()){var e=this._iban.substr(4),t=new i(e,36);return r.toChecksumAddress(t.toString(16,20))}return""},s.prototype.toString=function(){return this._iban},e.exports=s},function(e,t,n){"use strict";var r={messageId:0,toPayload:function(e,t){if(!e)throw new Error('JSONRPC method should be specified for params: "'+JSON.stringify(t)+'"!');return r.messageId++,{jsonrpc:"2.0",id:r.messageId,method:e,params:t||[]}},isValidResponse:function(e){return Array.isArray(e)?e.every(t):t(e);function t(e){return!(!e||e.error||"2.0"!==e.jsonrpc||"number"!=typeof e.id&&"string"!=typeof e.id||void 0===e.result)}},toBatchPayload:function(e){return e.map((function(e){return r.toPayload(e.method,e.params)}))}};e.exports=r},function(e,t,n){(function(e,r){var i;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(o){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof r&&r;a.global!==a&&a.window!==a&&a.self;var s,c=2147483647,l=/^xn--/,u=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,h=String.fromCharCode;function m(e){throw new RangeError(d[e])}function b(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function y(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+b((e=e.replace(f,".")).split("."),t).join(".")}function g(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function w(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function _(e,t,n){var r=0;for(e=n?p(e/700):e>>1,e+=p(e/t);e>455;r+=36)e=p(e/35);return p(r+36*e/(e+38))}function k(e){var t,n,r,i,o,a,s,l,u,f,d,h=[],b=e.length,y=0,g=128,w=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r=128&&m("not-basic"),h.push(e.charCodeAt(r));for(i=n>0?n+1:0;i=b&&m("invalid-input"),((l=(d=e.charCodeAt(i++))-48<10?d-22:d-65<26?d-65:d-97<26?d-97:36)>=36||l>p((c-y)/a))&&m("overflow"),y+=l*a,!(l<(u=s<=w?1:s>=w+26?26:s-w));s+=36)a>p(c/(f=36-u))&&m("overflow"),a*=f;w=_(y-o,t=h.length+1,0==o),p(y/t)>c-g&&m("overflow"),g+=p(y/t),y%=t,h.splice(y++,0,g)}return v(h)}function x(e){var t,n,r,i,o,a,s,l,u,f,d,b,y,v,k,x=[];for(b=(e=g(e)).length,t=128,n=0,o=72,a=0;a=t&&dp((c-n)/(y=r+1))&&m("overflow"),n+=(s-t)*y,t=s,a=0;ac&&m("overflow"),d==t){for(l=n,u=36;!(l<(f=u<=o?1:u>=o+26?26:u-o));u+=36)k=l-f,v=36-f,x.push(h(w(f+k%v,0))),l=p(k/v);x.push(h(w(l,0))),o=_(n,y,r==i),n=0,++r}++n,++t}return x.join("")}s={version:"1.4.1",ucs2:{decode:g,encode:v},decode:k,encode:x,toASCII:function(e){return y(e,(function(e){return u.test(e)?"xn--"+x(e):e}))},toUnicode:function(e){return y(e,(function(e){return l.test(e)?k(e.slice(4).toLowerCase()):e}))}},void 0===(i=function(){return s}.call(t,n,t,e))||(e.exports=i)}()}).call(this,n(71)(e),n(12))},function(e,t,n){(function(e){t.fetch=s(e.fetch)&&s(e.ReadableStream),t.writableStream=s(e.WritableStream),t.abortController=s(e.AbortController),t.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),t.blobConstructor=!0}catch(e){}var n;function r(){if(void 0!==n)return n;if(e.XMLHttpRequest){n=new e.XMLHttpRequest;try{n.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(e){n=null}}else n=null;return n}function i(e){var t=r();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}var o=void 0!==e.ArrayBuffer,a=o&&s(e.ArrayBuffer.prototype.slice);function s(e){return"function"==typeof e}t.arraybuffer=t.fetch||o&&i("arraybuffer"),t.msstream=!t.fetch&&a&&i("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&o&&i("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!r()&&s(r().overrideMimeType),t.vbArray=s(e.VBArray),n=null}).call(this,n(12))},function(e,t,n){(function(e,r,i){var o=n(961),a=n(4),s=n(148),c=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},l=t.IncomingMessage=function(t,n,a,c){var l=this;if(s.Readable.call(l),l._mode=a,l.headers={},l.rawHeaders=[],l.trailers={},l.rawTrailers=[],l.on("end",(function(){e.nextTick((function(){l.emit("close")}))})),"fetch"===a){if(l._fetchResponse=n,l.url=n.url,l.statusCode=n.status,l.statusMessage=n.statusText,n.headers.forEach((function(e,t){l.headers[t.toLowerCase()]=e,l.rawHeaders.push(t,e)})),o.writableStream){var u=new WritableStream({write:function(e){return new Promise((function(t,n){l._destroyed?n():l.push(new r(e))?t():l._resumeFetch=t}))},close:function(){i.clearTimeout(c),l._destroyed||l.push(null)},abort:function(e){l._destroyed||l.emit("error",e)}});try{return void n.body.pipeTo(u).catch((function(e){i.clearTimeout(c),l._destroyed||l.emit("error",e)}))}catch(e){}}var f=n.body.getReader();!function e(){f.read().then((function(t){if(!l._destroyed){if(t.done)return i.clearTimeout(c),void l.push(null);l.push(new r(t.value)),e()}})).catch((function(e){i.clearTimeout(c),l._destroyed||l.emit("error",e)}))}()}else{if(l._xhr=t,l._pos=0,l.url=t.responseURL,l.statusCode=t.status,l.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEach((function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var n=t[1].toLowerCase();"set-cookie"===n?(void 0===l.headers[n]&&(l.headers[n]=[]),l.headers[n].push(t[2])):void 0!==l.headers[n]?l.headers[n]+=", "+t[2]:l.headers[n]=t[2],l.rawHeaders.push(t[1],t[2])}})),l._charset="x-user-defined",!o.overrideMimeType){var d=l.rawHeaders["mime-type"];if(d){var p=d.match(/;\s*charset=([^;])(;|$)/);p&&(l._charset=p[1].toLowerCase())}l._charset||(l._charset="utf-8")}}};a(l,s.Readable),l.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},l.prototype._onXHRProgress=function(){var e=this,t=e._xhr,n=null;switch(e._mode){case"text:vbarray":if(t.readyState!==c.DONE)break;try{n=new i.VBArray(t.responseBody).toArray()}catch(e){}if(null!==n){e.push(new r(n));break}case"text":try{n=t.responseText}catch(t){e._mode="text:vbarray";break}if(n.length>e._pos){var o=n.substr(e._pos);if("x-user-defined"===e._charset){for(var a=new r(o.length),s=0;se._pos&&(e.push(new r(new Uint8Array(l.result.slice(e._pos)))),e._pos=l.result.byteLength)},l.onload=function(){e.push(null)},l.readAsArrayBuffer(n)}e._xhr.readyState===c.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,n(13),n(2).Buffer,n(12))},function(e,t){e.exports=function(){for(var e={},t=0;te.indexed?n++:null),n>0&&e.topics.length!==n+1&&(t={anonymous:!0,inputs:[]})}var r=t.anonymous?e.topics:e.topics.slice(1);return n.returnValues=f.decodeLog(t.inputs,e.data,r),delete n.returnValues.__length__,n.event=t.name,n.signature=t.anonymous||!e.topics[0]?null:e.topics[0],n.raw={data:n.data,topics:n.topics},delete n.data,delete n.topics,n},d.prototype._encodeMethodABI=function(){var e=this._method.signature,t=this.arguments||[],n=!1,i=this._parent.options.jsonInterface.filter((function(t){return"constructor"===e&&t.type===e||(t.signature===e||t.signature===e.replace("0x","")||t.name===e)&&"function"===t.type})).map((function(e){var i=r.isArray(e.inputs)?e.inputs.length:0;if(i!==t.length)throw new Error("The number of arguments is not matching the methods required number. You need to pass "+i+" arguments.");return"function"===e.type&&(n=e.signature),r.isArray(e.inputs)?e.inputs:[]})).map((function(e){return f.encodeParameters(e,t).replace("0x","")}))[0]||"";if("constructor"===e){if(!this._deployData)throw new Error("The contract has no contract data option set. This is necessary to append the constructor parameters.");return this._deployData.startsWith("0x")||(this._deployData="0x"+this._deployData),this._deployData+i}var o=n?n+i:i;if(!o)throw new Error("Couldn't find a matching contract method named \""+this._method.name+'".');return o},d.prototype._decodeMethodReturn=function(e,t){if(!t)return null;t=t.length>=2?t.slice(2):t;var n=f.decodeParameters(e,t);return 1===n.__length__?n[0]:(delete n.__length__,n)},d.prototype.deploy=function(e,t){if((e=e||{}).arguments=e.arguments||[],!(e=this._getOrSetDefaultOptions(e)).data){if("function"==typeof t)return t(l.ContractMissingDeployDataError());throw l.ContractMissingDeployDataError()}var n=r.find(this.options.jsonInterface,(function(e){return"constructor"===e.type}))||{};return n.signature="constructor",this._createTxObject.apply({method:n,parent:this,deployData:e.data,_ethAccounts:this.constructor._ethAccounts},e.arguments)},d.prototype._generateEventOptions=function(){var e=Array.prototype.slice.call(arguments),t=this._getCallback(e),n=r.isObject(e[e.length-1])?e.pop():{},i=r.isString(e[0])?e[0]:"allevents",o="allevents"===i.toLowerCase()?{name:"ALLEVENTS",jsonInterface:this.options.jsonInterface}:this.options.jsonInterface.find((function(e){return"event"===e.type&&(e.name===i||e.signature==="0x"+i.replace("0x",""))}));if(!o)throw l.ContractEventDoesNotExistError(i);if(!a.isAddress(this.options.address))throw l.ContractNoAddressDefinedError();return{params:this._encodeEventABI(o,n),event:o,callback:t}},d.prototype.clone=function(){return new this.constructor(this.options.jsonInterface,this.options.address,this.options)},d.prototype.once=function(e,t,n){var i=Array.prototype.slice.call(arguments);if(!(n=this._getCallback(i)))throw l.ContractOnceRequiresCallbackError();t&&delete t.fromBlock,this._on(e,t,(function(e,t,i){i.unsubscribe(),r.isFunction(n)&&n(e,t,i)}))},d.prototype._on=function(){var e=this._generateEventOptions.apply(this,arguments);e.params&&e.params.toBlock&&(delete e.params.toBlock,console.warn("Invalid option: toBlock. Use getPastEvents for specific range.")),this._checkListener("newListener",e.event.name),this._checkListener("removeListener",e.event.name);var t=new s({subscription:{params:1,inputFormatter:[c.inputLogFormatter],outputFormatter:this._decodeEventABI.bind(e.event),subscriptionHandler:function(e){e.removed?this.emit("changed",e):this.emit("data",e),r.isFunction(this.callback)&&this.callback(null,e,this)}},type:"eth",requestManager:this._requestManager});return t.subscribe("logs",e.params,e.callback||function(){}),t},d.prototype.getPastEvents=function(){var e=this._generateEventOptions.apply(this,arguments),t=new o({name:"getPastLogs",call:"eth_getLogs",params:1,inputFormatter:[c.inputLogFormatter],outputFormatter:this._decodeEventABI.bind(e.event)});t.setRequestManager(this._requestManager);var n=t.buildCall();return t=null,n(e.params,e.callback)},d.prototype._createTxObject=function(){var e=Array.prototype.slice.call(arguments),t={};if("function"===this.method.type&&(t.call=this.parent._executeMethod.bind(t,"call"),t.call.request=this.parent._executeMethod.bind(t,"call",!0)),t.send=this.parent._executeMethod.bind(t,"send"),t.send.request=this.parent._executeMethod.bind(t,"send",!0),t.encodeABI=this.parent._encodeMethodABI.bind(t),t.estimateGas=this.parent._executeMethod.bind(t,"estimate"),e&&this.method.inputs&&e.length!==this.method.inputs.length){if(this.nextMethod)return this.nextMethod.apply(null,e);throw l.InvalidNumberOfParams(e.length,this.method.inputs.length,this.method.name)}return t.arguments=e||[],t._method=this.method,t._parent=this.parent,t._ethAccounts=this.parent.constructor._ethAccounts||this._ethAccounts,this.deployData&&(t._deployData=this.deployData),t},d.prototype._processExecuteArguments=function(e,t){var n={};if(n.type=e.shift(),n.callback=this._parent._getCallback(e),"call"===n.type&&!0!==e[e.length-1]&&(r.isString(e[e.length-1])||isFinite(e[e.length-1]))&&(n.defaultBlock=e.pop()),n.options=r.isObject(e[e.length-1])?e.pop():{},n.generateRequest=!0===e[e.length-1]&&e.pop(),n.options=this._parent._getOrSetDefaultOptions(n.options),n.options.data=this.encodeABI(),!this._deployData&&!a.isAddress(this._parent.options.address))throw l.ContractNoAddressDefinedError();return this._deployData||(n.options.to=this._parent.options.address),n.options.data?n:a._fireError(new Error("Couldn't find a matching contract method, or the number of parameters is wrong."),t.eventEmitter,t.reject,n.callback)},d.prototype._executeMethod=function(){var e=this,t=this._parent._processExecuteArguments.call(this,Array.prototype.slice.call(arguments),n),n=u("send"!==t.type),i=e.constructor._ethAccounts||e._ethAccounts;if(t.generateRequest){var s={params:[c.inputCallFormatter.call(this._parent,t.options)],callback:t.callback};return"call"===t.type?(s.params.push(c.inputDefaultBlockNumberFormatter.call(this._parent,t.defaultBlock)),s.method="eth_call",s.format=this._parent._decodeMethodReturn.bind(null,this._method.outputs)):s.method="eth_sendTransaction",s}switch(t.type){case"estimate":var d=new o({name:"estimateGas",call:"eth_estimateGas",params:1,inputFormatter:[c.inputCallFormatter],outputFormatter:a.hexToNumber,requestManager:e._parent._requestManager,accounts:i,defaultAccount:e._parent.defaultAccount,defaultBlock:e._parent.defaultBlock}).createFunction();return d(t.options,t.callback);case"call":var p=new o({name:"call",call:"eth_call",params:2,inputFormatter:[c.inputCallFormatter,c.inputDefaultBlockNumberFormatter],outputFormatter:function(t){return e._parent._decodeMethodReturn(e._method.outputs,t)},requestManager:e._parent._requestManager,accounts:i,defaultAccount:e._parent.defaultAccount,defaultBlock:e._parent.defaultBlock,handleRevert:e._parent.handleRevert,abiCoder:f}).createFunction();return p(t.options,t.defaultBlock,t.callback);case"send":if(!a.isAddress(t.options.from))return a._fireError(l.ContractNoFromAddressDefinedError(),n.eventEmitter,n.reject,t.callback);if(r.isBoolean(this._method.payable)&&!this._method.payable&&t.options.value&&t.options.value>0)return a._fireError(new Error("Can not send value to non-payable contract method or constructor"),n.eventEmitter,n.reject,t.callback);var h={receiptFormatter:function(t){if(r.isArray(t.logs)){var n=r.map(t.logs,(function(t){return e._parent._decodeEventABI.call({name:"ALLEVENTS",jsonInterface:e._parent.options.jsonInterface},t)}));t.events={};var i=0;n.forEach((function(e){e.event?t.events[e.event]?Array.isArray(t.events[e.event])?t.events[e.event].push(e):t.events[e.event]=[t.events[e.event],e]:t.events[e.event]=e:(t.events[i]=e,i++)})),delete t.logs}return t},contractDeployFormatter:function(t){var n=e._parent.clone();return n.options.address=t.contractAddress,n}},m=new o({name:"sendTransaction",call:"eth_sendTransaction",params:1,inputFormatter:[c.inputTransactionFormatter],requestManager:e._parent._requestManager,accounts:e.constructor._ethAccounts||e._ethAccounts,defaultAccount:e._parent.defaultAccount,defaultBlock:e._parent.defaultBlock,transactionBlockTimeout:e._parent.transactionBlockTimeout,transactionConfirmationBlocks:e._parent.transactionConfirmationBlocks,transactionPollingTimeout:e._parent.transactionPollingTimeout,defaultCommon:e._parent.defaultCommon,defaultChain:e._parent.defaultChain,defaultHardfork:e._parent.defaultHardfork,handleRevert:e._parent.handleRevert,extraFormatters:h,abiCoder:f}).createFunction();return m(t.options,t.callback);default:throw new Error('Method "'+t.type+'" not implemented.')}},e.exports=d},function(e,t,n){var r=n(2).Buffer,i=n(147),o=n(213),a=n(1040).AbiCoder,s=n(1040).ParamType,c=new a((function(e,t){return!e.match(/^u?int/)||i.isArray(t)||i.isObject(t)&&"BN"===t.constructor.name?t:t.toString()}));function l(){}var u=function(){};u.prototype.encodeFunctionSignature=function(e){return i.isObject(e)&&(e=o._jsonInterfaceMethodToString(e)),o.sha3(e).slice(0,10)},u.prototype.encodeEventSignature=function(e){return i.isObject(e)&&(e=o._jsonInterfaceMethodToString(e)),o.sha3(e)},u.prototype.encodeParameter=function(e,t){return this.encodeParameters([e],[t])},u.prototype.encodeParameters=function(e,t){var n=this;return e=n.mapTypes(e),t=t.map((function(t,r){let i=e[r];if("object"==typeof i&&i.type&&(i=i.type),t=n.formatParam(i,t),"string"==typeof i&&i.includes("tuple")){const e=c._getCoder(s.from(i)),r=(e,t)=>{if("array"===e.name)return t.map(t=>r(c._getCoder(s.from(e.type.replace("[]",""))),t));e.coders.forEach((e,i)=>{"tuple"===e.name?r(e,t[i]):t[i]=n.formatParam(e.name,t[i])})};r(e,t)}return t})),c.encode(e,t)},u.prototype.mapTypes=function(e){var t=this,n=[];return e.forEach((function(e){if("object"==typeof e&&"function"===e.type&&(e.type="bytes24"),t.isSimplifiedStructFormat(e)){var r=Object.keys(e)[0];n.push(Object.assign(t.mapStructNameAndType(r),{components:t.mapStructToCoderFormat(e[r])}))}else n.push(e)})),n},u.prototype.isSimplifiedStructFormat=function(e){return"object"==typeof e&&void 0===e.components&&void 0===e.name},u.prototype.mapStructNameAndType=function(e){var t="tuple";return e.indexOf("[]")>-1&&(t="tuple[]",e=e.slice(0,-2)),{type:t,name:e}},u.prototype.mapStructToCoderFormat=function(e){var t=this,n=[];return Object.keys(e).forEach((function(r){"object"!=typeof e[r]?n.push({name:r,type:e[r]}):n.push(Object.assign(t.mapStructNameAndType(r),{components:t.mapStructToCoderFormat(e[r])}))})),n},u.prototype.formatParam=function(e,t){const n=new RegExp(/^bytes([0-9]*)$/),i=new RegExp(/^bytes([0-9]*)\[\]$/),a=new RegExp(/^(u?int)([0-9]*)$/),s=new RegExp(/^(u?int)([0-9]*)\[\]$/);if(o.isBN(t)||o.isBigNumber(t))return t.toString(10);if(e.match(i)||e.match(s))return t.map(t=>this.formatParam(e.replace("[]",""),t));let c=e.match(a);if(c){let e=parseInt(c[2]||"256");e/80&&(!t||"0x"===t||"0X"===t))throw new Error("Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced.");var r=c.decode(this.mapTypes(e),"0x"+t.replace(/0x/i,""),n),o=new l;return o.__length__=0,e.forEach((function(e,t){var n=r[o.__length__];n="0x"===n?null:n,o[t]=n,i.isObject(e)&&e.name&&(o[e.name]=n),o.__length__++})),o},u.prototype.decodeLog=function(e,t,n){var r=this;n=i.isArray(n)?n:[n],t=t||"";var o=[],a=[],s=0;e.forEach((function(e,t){e.indexed?(a[t]=["bool","int","uint","address","fixed","ufixed"].find((function(t){return-1!==e.type.indexOf(t)}))?r.decodeParameter(e.type,n[s]):n[s],s++):o[t]=e}));var c=t,u=c?this.decodeParametersWith(o,c,!0):[],f=new l;return f.__length__=0,e.forEach((function(e,t){f[t]="string"===e.type?"":null,void 0!==u[t]&&(f[t]=u[t]),void 0!==a[t]&&(f[t]=a[t]),e.name&&(f[e.name]=f[t]),f.__length__++})),f};var f=new u;e.exports=f},function(e,t,n){"use strict";(function(t){const r=n(853);function i(e){return parseInt(e.toString("hex"),16)}function o(e){let n=e.toString(16);return n.length%2==1&&(n="0"+n),t.from(n,"hex")}e.exports={numberToBuffer:o,bufferToNumber:i,varintBufferEncode:function(e){return t.from(r.encode(i(e)))},varintBufferDecode:function(e){return o(r.decode(e))},varintEncode:function(e){return t.from(r.encode(e))}}}).call(this,n(2).Buffer)},function(e,t,n){"use strict";const{Buffer:r}=n(2),i=n(905),o=n(1177),a=n(1183),s=n(854),c=n(1188),l=n(1189);class u{constructor(e,t,n,s){if(f.isCID(e)){const t=e;return this.version=t.version,this.codec=t.codec,this.multihash=r.from(t.multihash),void(this.multibaseName=t.multibaseName||(0===t.version?"base58btc":"base32"))}if("string"==typeof e){const t=o.isEncoded(e);if(t){const n=o.decode(e);this.version=parseInt(n.slice(0,1).toString("hex"),16),this.codec=a.getCodec(n.slice(1)),this.multihash=a.rmPrefix(n.slice(1)),this.multibaseName=t}else this.version=0,this.codec="dag-pb",this.multihash=i.fromB58String(e),this.multibaseName="base58btc";return u.validateCID(this),void Object.defineProperty(this,"string",{value:e})}if(r.isBuffer(e)){const t=e.slice(0,1),n=parseInt(t.toString("hex"),16);if(1===n){const t=e;this.version=n,this.codec=a.getCodec(t.slice(1)),this.multihash=a.rmPrefix(t.slice(1)),this.multibaseName="base32"}else this.version=0,this.codec="dag-pb",this.multihash=e,this.multibaseName="base58btc";u.validateCID(this)}else this.version=e,this.codec=t,this.multihash=n,this.multibaseName=s||(0===e?"base58btc":"base32"),u.validateCID(this)}get buffer(){let e=this._buffer;if(!e){if(0===this.version)e=this.multihash;else{if(1!==this.version)throw new Error("unsupported version");e=r.concat([r.from("01","hex"),a.getCodeVarint(this.codec),this.multihash])}Object.defineProperty(this,"_buffer",{value:e})}return e}get prefix(){return r.concat([r.from("0"+this.version,"hex"),a.getCodeVarint(this.codec),i.prefix(this.multihash)])}toV0(){if("dag-pb"!==this.codec)throw new Error("Cannot convert a non dag-pb CID to CIDv0");const{name:e,length:t}=i.decode(this.multihash);if("sha2-256"!==e)throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");if(32!==t)throw new Error("Cannot convert non 32 byte multihash CID to CIDv0");return new f(0,this.codec,this.multihash)}toV1(){return new f(1,this.codec,this.multihash)}toBaseEncodedString(e=this.multibaseName){if(this.string&&e===this.multibaseName)return this.string;let t=null;if(0===this.version){if("base58btc"!==e)throw new Error("not supported with CIDv0, to support different bases, please migrate the instance do CIDv1, you can do that through cid.toV1()");t=i.toB58String(this.multihash)}else{if(1!==this.version)throw new Error("unsupported version");t=o.encode(e,this.buffer).toString()}return e===this.multibaseName&&Object.defineProperty(this,"string",{value:t}),t}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}toString(e){return this.toBaseEncodedString(e)}toJSON(){return{codec:this.codec,version:this.version,hash:this.multihash}}equals(e){return this.codec===e.codec&&this.version===e.version&&this.multihash.equals(e.multihash)}static validateCID(e){const t=c.checkCIDComponents(e);if(t)throw new Error(t)}}const f=l(u,{className:"CID",symbolName:"@ipld/js-cid/CID"});f.codecs=s,e.exports=f},function(e,t,n){"use strict";const r=n(853),{Buffer:i}=n(2);function o(e){return parseInt(e.toString("hex"),16)}function a(e){let t=e.toString(16);return t.length%2==1&&(t="0"+t),i.from(t,"hex")}e.exports={numberToBuffer:a,bufferToNumber:o,varintBufferEncode:function(e){return i.from(r.encode(o(e)))},varintBufferDecode:function(e){return a(r.decode(e))},varintEncode:function(e){return i.from(r.encode(e))}}},function(e,t,n){"use strict";var r=n(444),i=n(451),o=n(213),a=n(874),s=n(145).formatters,c=function(){var e=this;r.packageInit(this,arguments),this.net=new a(this);var t=null,n="latest";Object.defineProperty(this,"defaultAccount",{get:function(){return t},set:function(e){return e&&(t=o.toChecksumAddress(s.inputAddressFormatter(e))),c.forEach((function(e){e.defaultAccount=t})),e},enumerable:!0}),Object.defineProperty(this,"defaultBlock",{get:function(){return n},set:function(e){return n=e,c.forEach((function(e){e.defaultBlock=n})),e},enumerable:!0});var c=[new i({name:"getAccounts",call:"personal_listAccounts",params:0,outputFormatter:o.toChecksumAddress}),new i({name:"newAccount",call:"personal_newAccount",params:1,inputFormatter:[null],outputFormatter:o.toChecksumAddress}),new i({name:"unlockAccount",call:"personal_unlockAccount",params:3,inputFormatter:[s.inputAddressFormatter,null,null]}),new i({name:"lockAccount",call:"personal_lockAccount",params:1,inputFormatter:[s.inputAddressFormatter]}),new i({name:"importRawKey",call:"personal_importRawKey",params:2}),new i({name:"sendTransaction",call:"personal_sendTransaction",params:2,inputFormatter:[s.inputTransactionFormatter,null]}),new i({name:"signTransaction",call:"personal_signTransaction",params:2,inputFormatter:[s.inputTransactionFormatter,null]}),new i({name:"sign",call:"personal_sign",params:3,inputFormatter:[s.inputSignFormatter,s.inputAddressFormatter,null]}),new i({name:"ecRecover",call:"personal_ecRecover",params:2,inputFormatter:[s.inputSignFormatter,null]})];c.forEach((function(t){t.attachToObject(e),t.setRequestManager(e._requestManager),t.defaultBlock=e.defaultBlock,t.defaultAccount=e.defaultAccount}))};r.addProviders(c),e.exports=c},function(e,t){e.exports={encode:e=>{const t=e=>{return(t=e.toString(16)).length%2==0?t:"0"+t;var t},n=(e,n)=>e<56?t(n+e):t(n+t(e).length/2+55)+t(e),r=e=>{if("string"==typeof e){const t=e.slice(2);return(2!=t.length||t>="80"?n(t.length/2,128):"")+t}{const t=e.map(r).join("");return n(t.length/2,192)+t}};return"0x"+r(e)},decode:e=>{let t=2;const n=()=>{if(t>=e.length)throw"";const n=e.slice(t,t+2);return n<"80"?(t+=2,"0x"+n):n<"c0"?i():o()},r=()=>{const n=parseInt(e.slice(t,t+=2),16)%64;return n<56?n:parseInt(e.slice(t,t+=2*(n-55)),16)},i=()=>{const n=r();return"0x"+e.slice(t,t+=2*n)},o=()=>{const e=2*r()+t;let i=[];for(;t>>((3&t)<<3)&255;return i}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,i=n;return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]]].join("")}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=2*this.getChainId()+35&&this._common.gteHardfork("spuriousDragon");this._senderPubKey=i.ecrecover(e,t,this.r,this.s,n?this.getChainId():void 0)}catch(e){return!1}return!!this._senderPubKey},e.prototype.sign=function(e){this.v=new a.Buffer([]),this.s=new a.Buffer([]),this.r=new a.Buffer([]);var t=this.hash(!1),n=i.ecsign(t,e);this._implementsEIP155()&&(n.v+=2*this.getChainId()+8),Object.assign(this,n)},e.prototype.getDataFee=function(){for(var e=this.raw[5],t=new i.BN(0),n=0;n0&&t.push(["gas limit is too low. Need at least "+this.getBaseFee()]),!1===e?0===t.length:t.join(" ")},e.prototype.serialize=function(){return i.rlp.encode(this.raw)},e.prototype.toJSON=function(e){return void 0===e&&(e=!1),{}},e.prototype._validateV=function(e){if(void 0!==e&&0!==e.length&&this._common.gteHardfork("spuriousDragon")){var t=i.bufferToInt(e);if(27!==t&&28!==t)if(!(t===2*this.getChainId()+35||t===2*this.getChainId()+36))throw new Error("Incompatible EIP155-based V "+t+" and chain id "+this.getChainId()+". See the second parameter of the Transaction constructor to set the chain id.")}},e.prototype._isSigned=function(){return this.v.length>0&&this.r.length>0&&this.s.length>0},e.prototype._overrideVSetterWithValidation=function(){var e=this,t=Object.getOwnPropertyDescriptor(this,"v");Object.defineProperty(this,"v",r({},t,{set:function(n){void 0!==n&&e._validateV(i.toBuffer(n)),t.set(n)}}))},e.prototype._implementsEIP155=function(){var e=this._common.gteHardfork("spuriousDragon");if(!this._isSigned())return e;var t=i.bufferToInt(this.v);return(t===2*this.getChainId()+35||t===2*this.getChainId()+36)&&e},e}();t.default=c},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.secp256k1=t.rlp=t.BN=void 0;var o=n(907);t.secp256k1=o;var a=n(855),s=n(6);t.BN=s;var c=n(908);t.rlp=c,Object.assign(t,a),i(n(1203),t),i(n(1204),t),i(n(909),t),i(n(1213),t),i(n(856),t),i(n(1214),t)},function(e,t,n){"use strict";(function(t){var r=n(406); -/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */function i(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i=0;l--)if(u[l]!==f[l])return!1;for(l=u.length-1;l>=0;l--)if(s=u[l],!v(e[s],t[s],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function w(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function _(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function k(e,t,n,r){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),i=function(e){var t;try{e()}catch(e){t=e}return t}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&y(i,n,"Missing expected exception"+r);var o="string"==typeof r,s=!e&&i&&!n;if((!e&&a.isError(i)&&o&&_(i,n)||s)&&y(i,n,"Got unwanted exception"+r),e&&i&&n&&!_(i,n)||!e&&i)throw i}d.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return m(b(e.actual),128)+" "+e.operator+" "+m(b(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||y;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=h(t),o=r.indexOf("\n"+i);if(o>=0){var a=r.indexOf("\n",o+1);r=r.substring(a+1)}this.stack=r}}},a.inherits(d.AssertionError,Error),d.fail=y,d.ok=g,d.equal=function(e,t,n){e!=t&&y(e,t,n,"==",d.equal)},d.notEqual=function(e,t,n){e==t&&y(e,t,n,"!=",d.notEqual)},d.deepEqual=function(e,t,n){v(e,t,!1)||y(e,t,n,"deepEqual",d.deepEqual)},d.deepStrictEqual=function(e,t,n){v(e,t,!0)||y(e,t,n,"deepStrictEqual",d.deepStrictEqual)},d.notDeepEqual=function(e,t,n){v(e,t,!1)&&y(e,t,n,"notDeepEqual",d.notDeepEqual)},d.notDeepStrictEqual=function e(t,n,r){v(t,n,!0)&&y(t,n,r,"notDeepStrictEqual",e)},d.strictEqual=function(e,t,n){e!==t&&y(e,t,n,"===",d.strictEqual)},d.notStrictEqual=function(e,t,n){e===t&&y(e,t,n,"!==",d.notStrictEqual)},d.throws=function(e,t,n){k(!0,e,t,n)},d.doesNotThrow=function(e,t,n){k(!1,e,t,n)},d.ifError=function(e){if(e)throw e},d.strict=r((function e(t,n){t||y(t,!0,n,"==",e)}),d,{equal:d.strictEqual,deepEqual:d.deepStrictEqual,notEqual:d.notStrictEqual,notDeepEqual:d.notDeepStrictEqual}),d.strict.strict=d.strict;var x=Object.keys||function(e){var t=[];for(var n in e)s.call(e,n)&&t.push(n);return t}}).call(this,n(12))},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0))return!0;for(var t=0,n=this._supportedHardforks;t=i},e.prototype.activeOnBlock=function(e,t){return this.hardforkIsActiveOnBlock(null,e,t)},e.prototype.hardforkGteHardfork=function(e,t,n){var r=void 0!==(n=void 0!==n?n:{}).onlyActive&&n.onlyActive;e=this._chooseHardfork(e,n.onlySupported);for(var i=-1,o=-1,a=0,s=0,c=r?this.activeHardforks(null,n):this.hardforks();s=o},e.prototype.gteHardfork=function(e,t){return this.hardforkGteHardfork(null,e,t)},e.prototype.hardforkIsActiveOnChain=function(e,t){var n=void 0!==(t=void 0!==t?t:{}).onlySupported&&t.onlySupported;e=this._chooseHardfork(e,n);for(var r=0,i=this.hardforks();r0)return n[n.length-1].name;throw new Error("No (supported) active hardfork found")},e.prototype.hardforkBlock=function(e){return e=this._chooseHardfork(e,!1),this._getHardfork(e).block},e.prototype.isHardforkBlock=function(e,t){return t=this._chooseHardfork(t,!1),this.hardforkBlock(t)===e},e.prototype.consensus=function(e){return e=this._chooseHardfork(e),this._getHardfork(e).consensus},e.prototype.finality=function(e){return e=this._chooseHardfork(e),this._getHardfork(e).finality},e.prototype.genesis=function(){return this._chainParams.genesis},e.prototype.hardforks=function(){return this._chainParams.hardforks},e.prototype.bootstrapNodes=function(){return this._chainParams.bootstrapNodes},e.prototype.hardfork=function(){return this._hardfork},e.prototype.chainId=function(){return this._chainParams.chainId},e.prototype.chainName=function(){return i.chains.names[this.chainId()]||this._chainParams.name},e.prototype.networkId=function(){return this._chainParams.networkId},e}();t.default=a},function(e,t,n){"use strict";var r=new RegExp("%[a-f0-9]{2}","gi"),i=new RegExp("(%[a-f0-9]{2})+","gi");function o(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function a(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(r),n=1;n>6|192);else{if(i>55295&&i<56320){if(++r==e.length)return null;var o=e.charCodeAt(r);if(o<56320||o>57343)return null;n+=t((i=65536+((1023&i)<<10)+(1023&o))>>18|240),n+=t(i>>12&63|128)}else n+=t(i>>12|224);n+=t(i>>6&63|128)}n+=t(63&i|128)}}return n},toString:function(e){for(var t="",n=0,o=i(e);n127){if(a>191&&a<224){if(n>=o)return null;a=(31&a)<<6|63&r(e,n)}else if(a>223&&a<240){if(n+1>=o)return null;a=(15&a)<<12|(63&r(e,n))<<6|63&r(e,++n)}else{if(!(a>239&&a<248))return null;if(n+2>=o)return null;a=(7&a)<<18|(63&r(e,n))<<12|(63&r(e,++n))<<6|63&r(e,++n)}++n}if(a<=65535)t+=String.fromCharCode(a);else{if(!(a<=1114111))return null;a-=65536,t+=String.fromCharCode(a>>10|55296),t+=String.fromCharCode(1023&a|56320)}}return t},fromNumber:function(e){var t=e.toString(16);return t.length%2==0?"0x"+t:"0x0"+t},toNumber:function(e){return parseInt(e.slice(2),16)},fromNat:function(e){return"0x0"===e?"0x":e.length%2==0?e:"0x0"+e.slice(2)},toNat:function(e){return"0"===e[2]?"0x"+e.slice(3):e},fromArray:a,toArray:o,fromUint8Array:function(e){return a([].slice.call(e,0))},toUint8Array:function(e){return new Uint8Array(o(e))}}},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.useSendGasConfig=t.SendGasConfig=void 0;const i=n(900),o=n(63),a=n(0),s=n(5);class c extends i.GasConfig{constructor(e,t,n,r){super(e,t),this.amountConfig=n,this.sendMsgOpts=r,s.makeObservable(this)}setSendMsgOpts(e){this.sendMsgOpts=e}get gas(){if(this._gas<=0&&this.amountConfig.sendCurrency){switch(new o.DenomHelper(this.amountConfig.sendCurrency.coinMinimalDenom).type){case"cw20":return this.sendMsgOpts.cw20.gas;case"secret20":return this.sendMsgOpts.secret20.gas;default:return this.sendMsgOpts.native.gas}}return this._gas}}r([s.observable.ref],c.prototype,"sendMsgOpts",void 0),r([s.action],c.prototype,"setSendMsgOpts",null),t.SendGasConfig=c;t.useSendGasConfig=(e,t,n,r)=>{const[i]=a.useState(()=>new c(e,t,n,r));return i.setChain(t),i.setSendMsgOpts(r),i}},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AccountStore=t.AccountStoreInner=t.WalletStatus=void 0;const a=n(209),s=n(63),c=n(5),l=n(11),u=o(n(68)),f=n(114),d=n(23),p=n(919),h=n(2),m=o(n(390));var b;!function(e){e.Loading="Loading",e.Loaded="Loaded",e.NotExist="NotExist"}(b=t.WalletStatus||(t.WalletStatus={}));class y{constructor(e,t,n,r){this.chainGetter=e,this.chainId=t,this.queriesStore=n,this.opts=r,this._walletVersion=void 0,this._walletStatus=b.Loading,this._name="",this._bech32Address="",this._isSendingMsg=!1,this.broadcastMode="sync",c.makeObservable(this),this.pubKey=new Uint8Array,this.init()}get msgOpts(){return this.opts.msgOpts}enable(e,t){return i(this,void 0,void 0,(function*(){const n=this.chainGetter.getChain(t);this.opts.suggestChain&&(yield e.experimentalSuggestChain(n)),yield e.enable(t)}))}*init(){if(this.walletStatus===b.NotExist)return;window.addEventListener("keplr_keystorechange",()=>this.init(),{once:!0}),this._walletStatus=b.Loading;const e=yield*s.toGenerator(g.getKeplr());if(!e)return void(this._walletStatus=b.NotExist);this._walletVersion=e.version,yield this.enable(e,this.chainId);const t=yield*s.toGenerator(e.getKey(this.chainId));this._bech32Address=t.bech32Address,this._name=t.name,this.pubKey=t.pubKey,this._walletStatus=b.Loaded}get walletVersion(){return this._walletVersion}get isReadyToSendMsgs(){return this.walletStatus===b.Loaded&&""!==this.bech32Address}sendMsgs(e,t,n,r="",o={},a){return i(this,void 0,void 0,(function*(){let i,s;c.runInAction(()=>{this._isSendingMsg=e});try{const e=yield this.broadcastMsgs(t,n,r,this.broadcastMode,o);i=e.txHash,s=e.signDoc}catch(e){throw c.runInAction(()=>{this._isSendingMsg=!1}),e}const u=new l.TendermintTxTracer(this.chainGetter.getChain(this.chainId).rpc,"/websocket");u.traceTx(i).then(e=>{u.close(),c.runInAction(()=>{this._isSendingMsg=!1});for(const e of s.fee.amount){const t=this.queries.getQueryBalances().getQueryBech32Address(this.bech32Address).balances.find(t=>t.currency.coinMinimalDenom===e.denom);t&&t.fetch()}a&&a(e)})}))}sendToken(e,t,n,r="",o,a={},c){return i(this,void 0,void 0,(function*(){const i=new s.DenomHelper(t.coinMinimalDenom),l=(()=>{let n=new d.Dec(e);return n=n.mul(d.DecUtils.getPrecisionDec(t.coinDecimals)),n.truncate().toString()})();switch(i.type){case"native":return void(yield this.sendMsgs("send",[{type:this.opts.msgOpts.send.native.type,value:{from_address:this.bech32Address,to_address:n,amount:[{denom:t.coinMinimalDenom,amount:l}]}}],o,r,a,e=>{if(null==e.code||0===e.code){const e=this.queries.getQueryBalances().getQueryBech32Address(this.bech32Address).balances.find(e=>e.currency.coinMinimalDenom===t.coinMinimalDenom);e&&e.fetch()}c&&c(e)}));case"secret20":if(!("type"in t)||"secret20"!==t.type)throw new Error("Currency is not secret20");return void(yield this.sendExecuteSecretContractMsg("send",t.contractAddress,{transfer:{recipient:n,amount:l}},[],o,r,a,e=>{if(null==e.code||0===e.code){const e=this.queries.getQueryBalances().getQueryBech32Address(this.bech32Address).balances.find(e=>e.currency.coinMinimalDenom===t.coinMinimalDenom);e&&e.fetch()}c&&c(e)}));default:throw new Error(`Unsupported type of currency (${i.type})`)}}))}sendIBCTransferMsg(e,t,n,r,o="",a,u={},f){return i(this,void 0,void 0,(function*(){if("native"!==new s.DenomHelper(n.coinMinimalDenom).type)throw new Error("Only native token can be sent via IBC");const i=(()=>{let e=new d.Dec(t);return e=e.mul(d.DecUtils.getPrecisionDec(n.coinDecimals)),e.truncate().toString()})(),p=this.queriesStore.get(e.counterpartyChainId).getQueryBlock().getBlock("latest");if(c.runInAction(()=>{this._isSendingMsg="ibcTransfer"}),yield p.waitFreshResponse(),p.height.equals(new d.Int("0")))throw new Error("Failed to fetch the latest block of "+e.counterpartyChainId);const h={type:this.opts.msgOpts.ibcTransfer.type,value:{source_port:e.portId,source_channel:e.channelId,token:{denom:n.coinMinimalDenom,amount:i},sender:this.bech32Address,receiver:r,timeout_height:{revision_number:l.ChainIdHelper.parse(e.counterpartyChainId).version.toString(),revision_height:p.height.add(new d.Int("150")).toString()}}};"0"===h.value.timeout_height.revision_number&&delete h.value.timeout_height.revision_number,yield this.sendMsgs("ibcTransfer",[h],a,o,u,e=>{if(null==e.code||0===e.code){const e=this.queries.getQueryBalances().getQueryBech32Address(this.bech32Address).balances.find(e=>e.currency.coinMinimalDenom===n.coinMinimalDenom);e&&e.fetch()}f&&f(e)})}))}sendDelegateMsg(e,t,n="",r,o={},a){return i(this,void 0,void 0,(function*(){const i=this.chainGetter.getChain(this.chainId).stakeCurrency;let s=new d.Dec(e);s=s.mulTruncate(d.DecUtils.getPrecisionDec(i.coinDecimals));const c={type:this.opts.msgOpts.delegate.type,value:{delegator_address:this.bech32Address,validator_address:t,amount:{denom:i.coinMinimalDenom,amount:s.truncate().toString()}}};yield this.sendMsgs("delegate",[c],null!=r?r:{amount:[],gas:this.opts.msgOpts.delegate.gas.toString()},n,o,e=>{null!=e.code&&0!==e.code||(this.queries.getQueryValidators().getQueryStatus(p.BondStatus.Bonded).fetch(),this.queries.getQueryDelegations().getQueryBech32Address(this.bech32Address).fetch(),this.queries.getQueryRewards().getQueryBech32Address(this.bech32Address).fetch()),a&&a(e)})}))}sendUndelegateMsg(e,t,n="",r,o={},a){return i(this,void 0,void 0,(function*(){const i=this.chainGetter.getChain(this.chainId).stakeCurrency;let s=new d.Dec(e);s=s.mulTruncate(d.DecUtils.getPrecisionDec(i.coinDecimals));const c={type:this.opts.msgOpts.undelegate.type,value:{delegator_address:this.bech32Address,validator_address:t,amount:{denom:i.coinMinimalDenom,amount:s.truncate().toString()}}};yield this.sendMsgs("undelegate",[c],null!=r?r:{amount:[],gas:this.opts.msgOpts.delegate.gas.toString()},n,o,e=>{null!=e.code&&0!==e.code||(this.queries.getQueryValidators().getQueryStatus(p.BondStatus.Bonded).fetch(),this.queries.getQueryDelegations().getQueryBech32Address(this.bech32Address).fetch(),this.queries.getQueryUnbondingDelegations().getQueryBech32Address(this.bech32Address).fetch(),this.queries.getQueryRewards().getQueryBech32Address(this.bech32Address).fetch()),a&&a(e)})}))}sendBeginRedelegateMsg(e,t,n,r="",o,a={},s){return i(this,void 0,void 0,(function*(){const i=this.chainGetter.getChain(this.chainId).stakeCurrency;let c=new d.Dec(e);c=c.mulTruncate(d.DecUtils.getPrecisionDec(i.coinDecimals));const l={type:this.opts.msgOpts.redelegate.type,value:{delegator_address:this.bech32Address,validator_src_address:t,validator_dst_address:n,amount:{denom:i.coinMinimalDenom,amount:c.truncate().toString()}}};yield this.sendMsgs("redelegate",[l],null!=o?o:{amount:[],gas:this.opts.msgOpts.delegate.gas.toString()},r,a,e=>{null!=e.code&&0!==e.code||(this.queries.getQueryValidators().getQueryStatus(p.BondStatus.Bonded).fetch(),this.queries.getQueryDelegations().getQueryBech32Address(this.bech32Address).fetch(),this.queries.getQueryRewards().getQueryBech32Address(this.bech32Address).fetch()),s&&s(e)})}))}sendWithdrawDelegationRewardMsgs(e,t="",n={},r){return i(this,void 0,void 0,(function*(){const i=e.map(e=>({type:this.opts.msgOpts.withdrawRewards.type,value:{delegator_address:this.bech32Address,validator_address:e}}));yield this.sendMsgs("withdrawRewards",i,{amount:[],gas:(this.opts.msgOpts.withdrawRewards.gas*e.length).toString()},t,n,e=>{null!=e.code&&0!==e.code||this.queries.getQueryRewards().getQueryBech32Address(this.bech32Address).fetch(),r&&r(e)})}))}sendGovVoteMsg(e,t,n="",r={},o){return i(this,void 0,void 0,(function*(){const i=(()=>{var e;if(!(null===(e=this.chainGetter.getChain(this.chainId).features)||void 0===e?void 0:e.includes("stargate")))return t;switch(t){case"Yes":return 1;case"Abstain":return 2;case"No":return 3;case"NoWithVeto":return 4}})(),a={type:this.opts.msgOpts.govVote.type,value:{option:i,proposal_id:e,voter:this.bech32Address}};yield this.sendMsgs("govVote",[a],{amount:[],gas:this.opts.msgOpts.govVote.gas.toString()},n,r,t=>{if(null==t.code||0===t.code){const t=this.queries.getQueryGovernance().proposals.find(t=>t.id===e);t&&t.fetch()}o&&o(t)})}))}createSecret20ViewingKey(e,t="",n={},r){return i(this,void 0,void 0,(function*(){const o=new Uint8Array(15);crypto.getRandomValues(o);const a=h.Buffer.from(o).toString("hex"),s=yield this.sendExecuteSecretContractMsg("createSecret20ViewingKey",e,{create_viewing_key:{entropy:a}},[],{amount:[],gas:this.opts.msgOpts.createSecret20ViewingKey.gas.toString()},t,n,e=>i(this,void 0,void 0,(function*(){let t="";if(e&&"data"in e&&e.data){const n=h.Buffer.from(e.data,"base64"),r=yield g.getKeplr();if(!r)throw new Error("Can't get the Keplr API");const i=r.getEnigmaUtils(this.chainId),o=s.slice(0,32),a=h.Buffer.from(h.Buffer.from(yield i.decrypt(n,o)).toString(),"base64").toString();t=JSON.parse(a).create_viewing_key.key}r&&r(e,t)})))}))}sendExecuteSecretContractMsg(e="executeSecretWasm",t,n,r,o,a="",s={},l){return i(this,void 0,void 0,(function*(){const u=yield(()=>i(this,void 0,void 0,(function*(){c.runInAction(()=>{this._isSendingMsg=e});try{return yield this.encryptSecretContractMsg(t,n)}finally{c.runInAction(()=>{this._isSendingMsg=!1})}})))(),f={type:this.opts.msgOpts.executeSecretWasm.type,value:{sender:this.bech32Address,contract:t,callback_code_hash:"",msg:h.Buffer.from(u).toString("base64"),sent_funds:r,callback_sig:null}};return yield this.sendMsgs(e,[f],o,a,s,l),u}))}encryptSecretContractMsg(e,t){return i(this,void 0,void 0,(function*(){const n=yield this.queries.getQuerySecretContractCodeHash().getQueryContract(e).waitResponse();if(!n)throw new Error(`Can't get the code hash of the contract (${e})`);const r=n.data.result,i=yield g.getKeplr();if(!i)throw new Error("Can't get the Keplr API");const o=i.getEnigmaUtils(this.chainId);return yield o.encrypt(r,t)}))}broadcastMsgs(e,t,n="",r="async",o={}){return i(this,void 0,void 0,(function*(){if(this.walletStatus!==b.Loaded)throw new Error("Wallet is not loaded: "+this.walletStatus);if(0===e.length)throw new Error("There is no msg to send");const i=yield l.BaseAccount.fetchFromRest(this.instance,this.bech32Address,!0),a=yield g.getKeplr(),s=f.makeSignDoc(e,t,this.chainId,n,i.getAccountNumber().toString(),i.getSequence().toString()),c=yield a.signAmino(this.chainId,this.bech32Address,s,o),u=f.makeStdTx(c.signed,c.signature);return{txHash:yield a.sendTx(this.chainId,u,r),signDoc:c.signed}}))}get instance(){const e=this.chainGetter.getChain(this.chainId);return u.default.create(Object.assign({baseURL:e.rest},e.restConfig))}get walletStatus(){return this._walletStatus}get name(){return this._name}get bech32Address(){return this._bech32Address}get isSendingMsg(){return this._isSendingMsg}get queries(){return this.queriesStore.get(this.chainId)}}y.defaultOpts={prefetching:!1,suggestChain:!1,msgOpts:{send:{native:{type:"cosmos-sdk/MsgSend",gas:8e4},cw20:{gas:25e4},secret20:{gas:25e4}},ibcTransfer:{type:"cosmos-sdk/MsgTransfer",gas:12e4},delegate:{type:"cosmos-sdk/MsgDelegate",gas:25e4},undelegate:{type:"cosmos-sdk/MsgUndelegate",gas:25e4},redelegate:{type:"cosmos-sdk/MsgBeginRedelegate",gas:25e4},withdrawRewards:{type:"cosmos-sdk/MsgWithdrawDelegationReward",gas:14e4},govVote:{type:"cosmos-sdk/MsgVote",gas:25e4},createSecret20ViewingKey:{gas:15e4},executeSecretWasm:{type:"wasm/MsgExecuteContract"}}},r([c.observable],y.prototype,"_walletVersion",void 0),r([c.observable],y.prototype,"_walletStatus",void 0),r([c.observable],y.prototype,"_name",void 0),r([c.observable],y.prototype,"_bech32Address",void 0),r([c.observable],y.prototype,"_isSendingMsg",void 0),r([c.flow],y.prototype,"init",null),r([c.computed],y.prototype,"isReadyToSendMsgs",null),t.AccountStoreInner=y;class g extends a.HasMapStore{constructor(e,t,n={}){var r,i;super(e=>{var t,n;return new y(this.chainGetter,e,this.queriesStore,m.default(y.defaultOpts,null!==(n=null===(t=this.opts.chainOpts)||void 0===t?void 0:t.find(t=>t.chainId===e))&&void 0!==n?n:{}))}),this.chainGetter=e,this.queriesStore=t,this.opts=n;const o=m.default(y.defaultOpts,null!==(r=this.opts.defaultOpts)&&void 0!==r?r:{});for(const e of null!==(i=this.opts.chainOpts)&&void 0!==i?i:[])(e.prefetching||o.prefetching)&&this.getAccount(e.chainId)}getAccount(e){return this.get(e)}hasAccount(e){return this.has(e)}static getKeplr(){return i(this,void 0,void 0,(function*(){return window.keplr||"complete"===document.readyState?window.keplr:new Promise(e=>{const t=n=>{n.target&&"complete"===n.target.readyState&&(e(window.keplr),document.removeEventListener("readystatechange",t))};document.addEventListener("readystatechange",t)})}))}}t.AccountStore=g},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.HasMapStore=void 0;const i=n(5);class o{constructor(e){this.creater=e,this.map=new Map,i.makeObservable(this)}get(e){if(!this.map.has(e)){const t=this.creater(e);i.runInAction(()=>{this.map.set(e,t)})}return this.map.get(e)}has(e){return this.map.has(e)}}r([i.observable.shallow],o.prototype,"map",void 0),t.HasMapStore=o},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SecretWasm=void 0,o(n(1275),t),o(n(1276),t),o(n(986),t),t.SecretWasm=a(n(1277))},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ObservableSecretContractChainQuery=void 0;const a=n(89),s=n(63),c=n(5),l=n(982),u=o(n(68)),f=n(2);class d extends a.ObservableChainQuery{constructor(e,t,n,r,i,o){super(e,t,n,""),this.contractAddress=r,this.obj=i,this.querySecretContractCodeHash=o,this.keplr=void 0,this._isIniting=!1,c.makeObservable(this),this.initKeplr();const a=c.autorun(()=>{this.keplr&&this.contractCodeHash&&(this.init(),a())})}setObj(e){this.obj=e,this.init()}get isFetching(){return this.querySecretContractCodeHash.getQueryContract(this.contractAddress).isFetching||null==this.keplr||this._isIniting||super.isFetching}canFetch(){return!!this.querySecretContractCodeHash.getQueryContract(this.contractAddress).response&&(0!==this.contractAddress.length&&null!=this.nonce)}*initKeplr(){this.keplr=yield*s.toGenerator(l.AccountStore.getKeplr())}*init(){if(this._isIniting=!0,this.keplr&&this.contractCodeHash){const e=this.keplr.getEnigmaUtils(this.chainId),t=yield*s.toGenerator(e.encrypt(this.contractCodeHash,this.obj));this.nonce=t.slice(0,32);const n=f.Buffer.from(f.Buffer.from(t).toString("base64")).toString("hex");this.setUrl(`/wasm/contract/${this.contractAddress}/query/${n}?encoding=hex`)}this._isIniting=!1}fetchResponse(e){const t=Object.create(null,{fetchResponse:{get:()=>super.fetchResponse}});var n,r;return i(this,void 0,void 0,(function*(){let i;try{i=yield t.fetchResponse.call(this,e)}catch(e){if(!u.default.isCancel(e)&&(null===(r=null===(n=e.response)||void 0===n?void 0:n.data)||void 0===r?void 0:r.error)){const t=e.response.data.error,n=/query contract failed: encrypted: (.+)/g.exec(t);if(null!=n&&2===n.length){const e=n[1],t=f.Buffer.from(e,"base64");if(this.keplr&&this.nonce){const e=yield this.keplr.getEnigmaUtils(this.chainId).decrypt(t,this.nonce),n=f.Buffer.from(e).toString();throw new Error(n)}}}throw e}const o=i.data;if(!this.keplr)throw new Error("Keplr API not initialized");if(!this.nonce)throw new Error("Nonce is unknown");if(!o)throw new Error("Failed to get the response from the contract");const a=yield this.keplr.getEnigmaUtils(this.chainId).decrypt(f.Buffer.from(o.result.smart,"base64"),this.nonce),s=f.Buffer.from(f.Buffer.from(a).toString(),"base64").toString();return{data:JSON.parse(s),status:i.status,staled:!1,timestamp:Date.now()}}))}getCacheKey(){return`${this.instance.name}-${this.instance.defaults.baseURL}${this.instance.getUri({url:`/wasm/contract/${this.contractAddress}/query/${JSON.stringify(this.obj)}?encoding=json`})}`}get contractCodeHash(){const e=this.querySecretContractCodeHash.getQueryContract(this.contractAddress);if(e.response)return e.response.data.result}}r([c.observable.ref],d.prototype,"keplr",void 0),r([c.observable],d.prototype,"_isIniting",void 0),r([c.flow],d.prototype,"initKeplr",null),r([c.flow],d.prototype,"init",null),r([c.computed],d.prototype,"contractCodeHash",null),t.ObservableSecretContractChainQuery=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WrongViewingKeyError=void 0;class r extends Error{constructor(e){super(e),Object.setPrototypeOf(this,r.prototype)}}t.WrongViewingKeyError=r},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.IBC=t.Account=t.Supply=t.Staking=t.Governance=void 0,o(n(1278),t),o(n(1281),t),o(n(1288),t),o(n(1292),t),o(n(1293),t),o(n(1297),t),t.Governance=a(n(990)),t.Staking=a(n(919)),t.Supply=a(n(1298)),t.Account=a(n(1299)),t.IBC=a(n(1300))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ObservableQueryGovParamDeposit=t.ObservableQueryGovParamVoting=t.ObservableQueryGovParamTally=void 0;const r=n(89);class i extends r.ObservableChainQuery{constructor(e,t,n){super(e,t,n,"/gov/parameters/tallying")}}t.ObservableQueryGovParamTally=i;class o extends r.ObservableChainQuery{constructor(e,t,n){super(e,t,n,"/gov/parameters/voting")}}t.ObservableQueryGovParamVoting=o;class a extends r.ObservableChainQuery{constructor(e,t,n){super(e,t,n,"/gov/parameters/deposit")}}t.ObservableQueryGovParamDeposit=a},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.ObservableQueryProposal=void 0;const i=n(89),o=n(990),a=n(5),s=n(23);class c extends i.ObservableChainQuery{constructor(e,t,n,r,i){super(e,t,n,`/gov/proposals/${r.id}/tally`),this._raw=r,this.governance=i,a.makeObservable(this)}canFetch(){return this.proposalStatus===o.ProposalStatus.VOTING_PERIOD}get raw(){return this._raw}get proposalStatus(){if("proposal_status"in this.raw)switch(this.raw.proposal_status){case"DepositPeriod":return o.ProposalStatus.DEPOSIT_PERIOD;case"VotingPeriod":return o.ProposalStatus.VOTING_PERIOD;case"Passed":return o.ProposalStatus.PASSED;case"Rejected":return o.ProposalStatus.REJECTED;case"Failed":return o.ProposalStatus.FAILED;default:return o.ProposalStatus.UNSPECIFIED}switch(this.raw.status){case 1:return o.ProposalStatus.DEPOSIT_PERIOD;case 2:return o.ProposalStatus.VOTING_PERIOD;case 3:return o.ProposalStatus.PASSED;case 4:return o.ProposalStatus.REJECTED;case 5:return o.ProposalStatus.FAILED;default:return o.ProposalStatus.UNSPECIFIED}}get id(){return this.raw.id}get title(){return this.raw.content.value.title}get description(){return this.raw.content.value.description}get turnout(){const e=this.governance.getQueryPool();if(!e.response)return new s.IntPretty(new s.Dec(0)).ready(!1);const t=this.chainGetter.getChain(this.chainId).stakeCurrency,n=new s.Dec(e.response.data.result.bonded_tokens).quoTruncate(s.DecUtils.getPrecisionDec(t.coinDecimals)),r=this.tally,i=r.yes.add(r.no).add(r.abstain).add(r.noWithVeto);return new s.IntPretty(i.toDec().quoTruncate(n).mulTruncate(s.DecUtils.getPrecisionDec(2))).ready(r.yes.isReady)}get tally(){const e=this.chainGetter.getChain(this.chainId).stakeCurrency;return this.proposalStatus!==o.ProposalStatus.VOTING_PERIOD?{yes:new s.IntPretty(new s.Int(this.raw.final_tally_result.yes)).precision(e.coinDecimals).maxDecimals(e.coinDecimals),no:new s.IntPretty(new s.Int(this.raw.final_tally_result.no)).precision(e.coinDecimals).maxDecimals(e.coinDecimals),abstain:new s.IntPretty(new s.Int(this.raw.final_tally_result.abstain)).precision(e.coinDecimals).maxDecimals(e.coinDecimals),noWithVeto:new s.IntPretty(new s.Int(this.raw.final_tally_result.no_with_veto)).precision(e.coinDecimals).maxDecimals(e.coinDecimals)}:this.response?{yes:new s.IntPretty(new s.Int(this.response.data.result.yes)).precision(e.coinDecimals).maxDecimals(e.coinDecimals),no:new s.IntPretty(new s.Int(this.response.data.result.no)).precision(e.coinDecimals).maxDecimals(e.coinDecimals),abstain:new s.IntPretty(new s.Int(this.response.data.result.abstain)).precision(e.coinDecimals).maxDecimals(e.coinDecimals),noWithVeto:new s.IntPretty(new s.Int(this.response.data.result.no_with_veto)).precision(e.coinDecimals).maxDecimals(e.coinDecimals)}:{yes:new s.IntPretty(new s.Int(0)).ready(!1).precision(e.coinDecimals).maxDecimals(e.coinDecimals),no:new s.IntPretty(new s.Int(0)).ready(!1).precision(e.coinDecimals).maxDecimals(e.coinDecimals),abstain:new s.IntPretty(new s.Int(0)).ready(!1).precision(e.coinDecimals).maxDecimals(e.coinDecimals),noWithVeto:new s.IntPretty(new s.Int(0)).ready(!1).precision(e.coinDecimals).maxDecimals(e.coinDecimals)}}get total(){const e=this.tally,t=e.yes.add(e.no).add(e.abstain).add(e.noWithVeto),n=this.chainGetter.getChain(this.chainId).stakeCurrency;return new s.CoinPretty(n,t)}get tallyRatio(){const e=this.tally,t=e.yes.add(e.no).add(e.abstain).add(e.noWithVeto);return t.toDec().equals(new s.Dec(0))?{yes:new s.IntPretty(new s.Int(0)).ready(!1),no:new s.IntPretty(new s.Int(0)).ready(!1),abstain:new s.IntPretty(new s.Int(0)).ready(!1),noWithVeto:new s.IntPretty(new s.Int(0)).ready(!1)}:{yes:new s.IntPretty(e.yes.toDec().quoTruncate(t.toDec()).mulTruncate(s.DecUtils.getPrecisionDec(2))).ready(e.yes.isReady),no:new s.IntPretty(e.no.toDec().quoTruncate(t.toDec()).mulTruncate(s.DecUtils.getPrecisionDec(2))).ready(e.no.isReady),abstain:new s.IntPretty(e.abstain.toDec().quoTruncate(t.toDec()).mulTruncate(s.DecUtils.getPrecisionDec(2))).ready(e.abstain.isReady),noWithVeto:new s.IntPretty(e.noWithVeto.toDec().quoTruncate(t.toDec()).mulTruncate(s.DecUtils.getPrecisionDec(2))).ready(e.noWithVeto.isReady)}}}r([a.computed],c.prototype,"turnout",null),r([a.computed],c.prototype,"tally",null),r([a.computed],c.prototype,"total",null),r([a.computed],c.prototype,"tallyRatio",null),t.ObservableQueryProposal=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProposalStatus=void 0,function(e){e[e.UNSPECIFIED=0]="UNSPECIFIED",e[e.DEPOSIT_PERIOD=1]="DEPOSIT_PERIOD",e[e.VOTING_PERIOD=2]="VOTING_PERIOD",e[e.PASSED=3]="PASSED",e[e.REJECTED=4]="REJECTED",e[e.FAILED=5]="FAILED"}(t.ProposalStatus||(t.ProposalStatus={}))},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.useIBCAmountConfig=t.IBCAmountConfig=void 0;const i=n(918),o=n(5),a=n(63),s=n(0);class c extends i.AmountConfig{constructor(e,t,n,r){super(e,t,n,r),o.makeObservable(this)}get sendableCurrencies(){return super.sendableCurrencies.filter(e=>"native"===new a.DenomHelper(e.coinMinimalDenom).type)}}r([o.computed],c.prototype,"sendableCurrencies",null),t.IBCAmountConfig=c;t.useIBCAmountConfig=(e,t,n,r)=>{const[i]=s.useState(()=>new c(e,t,n,r));return i.setChain(t),i.setQueryBalances(r),i.setSender(n),i}},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.useIBCChannelConfig=t.IBCChannelConfig=void 0;const i=n(5),o=n(993),a=n(0);class s{constructor(){this._channel=void 0,i.makeObservable(this)}get channel(){return this._channel}getError(){if(!this._channel)return new o.ChannelNotSetError("Channel not set")}setChannel(e){this._channel=e}}r([i.observable.ref],s.prototype,"_channel",void 0),r([i.action],s.prototype,"setChannel",null),t.IBCChannelConfig=s;t.useIBCChannelConfig=()=>{const[e]=a.useState(()=>new s);return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChannelNotSetError=void 0;class r extends Error{constructor(e){super(e),Object.setPrototypeOf(this,r.prototype)}}t.ChannelNotSetError=r},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};Object.defineProperty(t,"__esModule",{value:!0}),t.useIBCTransferGasConfig=t.IBCTransferGasConfig=void 0;const i=n(835),o=n(5),a=n(0);class s extends i.GasConfig{constructor(e,t,n){super(e,t,n.gas),this.msgOpts=n,o.makeObservable(this)}setMsgOpts(e){this.msgOpts=e}get gas(){return this._gas<=0?this.msgOpts.gas:this._gas}}r([o.observable.ref],s.prototype,"msgOpts",void 0),r([o.action],s.prototype,"setMsgOpts",null),t.IBCTransferGasConfig=s;t.useIBCTransferGasConfig=(e,t,n)=>{const[r]=a.useState(()=>new s(e,t,n));return r.setChain(t),r.setMsgOpts(n),r}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(1328)},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return x}));var r=n(0),i=n.n(r),o=n(947),a=n(1070),s=n(404),c=n(405),l=n(1069),u=n(868),f=n(402),d=n(896),p=n(895),h=n(891),m=n(832),b=n.n(m),y=n(10),g=n.n(y),v=n(46),w=n(14),_=n(869),k=n(932);const x=Object(w.a)(({recipientConfig:t,memoConfig:n,ibcChannelConfig:m,className:y,label:w,disableAddressBook:x,disabled:S=!1})=>{const O=Object(_.a)(),[E,T]=Object(r.useState)(!1),[A]=Object(r.useState)(()=>{const t=new Uint8Array(4);return crypto.getRandomValues(t),"input-"+e.from(t).toString("hex")}),M=k.ObservableEnsFetcher.isValidENS(t.rawRecipient),I=t.getError(),P=Object(r.useMemo)(()=>{if(I)switch(I.constructor){case v.EmptyAddressError:return;case v.InvalidBech32Error:return O.formatMessage({id:"input.recipient.error.invalid-bech32"});case v.ENSNotSupportedError:return O.formatMessage({id:"input.recipient.error.ens-not-supported"});case v.ENSFailedToFetchError:return O.formatMessage({id:"input.recipient.error.ens-failed-to-fetch"});case v.ENSIsFetchingError:return;default:return O.formatMessage({id:"input.recipient.error.unknown"})}},[O,I]),C=I instanceof v.ENSIsFetchingError,j={setRecipient:e=>{t.setRawRecipient(e)},setMemo:e=>{n&&n.setMemo(e)}};return i.a.createElement(i.a.Fragment,null,i.a.createElement(o.a,{isOpen:E,backdrop:!1,className:b.a.fullModal,wrapClassName:b.a.fullModal,contentClassName:b.a.fullModal},i.a.createElement(a.a,{className:b.a.fullModal},i.a.createElement(h.a,{onBackButton:()=>T(!1),hideChainDropdown:!0,selectHandler:j,ibcChannelConfig:m}))),i.a.createElement(s.a,{className:y},w?i.a.createElement(c.a,{for:A,className:"form-control-label"},w):null,i.a.createElement(l.a,null,i.a.createElement(u.a,{id:A,className:g()("form-control-alternative",b.a.input),value:t.rawRecipient,onChange:e=>{t.setRawRecipient(e.target.value),e.preventDefault()},autoComplete:"off",disabled:S}),!x&&n?i.a.createElement(f.a,{className:b.a.addressBookButton,color:"primary",type:"button",outline:!0,onClick:()=>T(!0),disabled:S},i.a.createElement("i",{className:"fas fa-address-book"})):null),C?i.a.createElement(d.a,null,i.a.createElement("i",{className:"fa fa-spinner fa-spin fa-fw"})):null,C||!M||I?null:i.a.createElement(d.a,null,t.recipient),null!=P?i.a.createElement(p.a,{style:{display:"block"}},P):null))})}).call(this,n(2).Buffer)},function(e,t,n){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(1)),i=s(n(0)),o=s(n(414)),a=n(921);n(998);function s(e){return e&&e.__esModule?e:{default:e}}t.UNMOUNTED="unmounted";t.EXITED="exited";t.ENTERING="entering";t.ENTERED="entered";t.EXITING="exiting";var c=function(e){var t,n;function r(t,n){var r;r=e.call(this,t,n)||this;var i,o=n.transitionGroup,a=o&&!o.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(i="exited",r.appearStatus="entering"):i="entered":i=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:i},r.nextCallback=null,r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=r.prototype;return a.getChildContext=function(){return{transitionGroup:null}},r.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null},a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},a.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=o.default.findDOMNode(this);"entering"===t?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},a.performEnter=function(e,t){var n=this,r=this.props.enter,i=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,o=this.getTimeouts(),a=i?o.appear:o.enter;t||r?(this.props.onEnter(e,i),this.safeSetState({status:"entering"},(function(){n.props.onEntering(e,i),n.onTransitionEnd(e,a,(function(){n.safeSetState({status:"entered"},(function(){n.props.onEntered(e,i)}))}))}))):this.safeSetState({status:"entered"},(function(){n.props.onEntered(e)}))},a.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();n?(this.props.onExit(e),this.safeSetState({status:"exiting"},(function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,(function(){t.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},a.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},a.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;e&&!r?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},a.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,r=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return n(e,r);var o=i.default.Children.only(n);return i.default.cloneElement(o,r)},r}(i.default.Component);function l(){}c.contextTypes={transitionGroup:r.object},c.childContextTypes={transitionGroup:function(){}},c.propTypes={},c.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:l,onEntering:l,onEntered:l,onExit:l,onExiting:l,onExited:l},c.UNMOUNTED=0,c.EXITED=1,c.ENTERING=2,c.ENTERED=3,c.EXITING=4;var u=(0,a.polyfill)(c);t.default=u},function(e,t,n){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0;var r;(r=n(1))&&r.__esModule;t.timeoutsShape=null;t.classNamesShape=null},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=s(n(1)),i=s(n(0)),o=n(921),a=n(1353);function s(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,["component","childFactory"]),o=u(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?o:i.default.createElement(t,r,o)},r}(i.default.Component);f.childContextTypes={transitionGroup:r.default.object.isRequired},f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};var d=(0,o.polyfill)(f);t.default=d,e.exports=t.default},function(e,t,n){"use strict";var r=Array.prototype.slice,i=n(1001),o=Object.keys,a=o?function(e){return o(e)}:n(1361),s=Object.keys;a.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return i(e)?s(r.call(e)):s(e)}):Object.keys=a;return Object.keys||a},e.exports=a},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t=r.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t,n){"use strict";var r=SyntaxError,i=Function,o=TypeError,a=function(e){try{return Function('"use strict"; return ('+e+").constructor;")()}catch(e){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(e){s=null}var c=function(){throw new o},l=s?function(){try{return c}catch(e){try{return s(arguments,"callee").get}catch(e){return c}}}():c,u=n(922)(),f=Object.getPrototypeOf||function(e){return e.__proto__},d=a("async function* () {}"),p=d?d.prototype:void 0,h=p?p.prototype:void 0,m="undefined"==typeof Uint8Array?void 0:f(Uint8Array),b={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":u?f([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":a("async function () {}"),"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":h?f(h):void 0,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":a("function* () {}"),"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?f(f([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&u?f((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&u?f((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?f(""[Symbol.iterator]()):void 0,"%Symbol%":u?Symbol:void 0,"%SyntaxError%":r,"%ThrowTypeError%":l,"%TypedArray%":m,"%TypeError%":o,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=n(857),v=n(1366),w=g.call(Function.call,Array.prototype.concat),_=g.call(Function.apply,Array.prototype.splice),k=g.call(Function.call,String.prototype.replace),x=g.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,E=function(e){var t=x(e,0,1),n=x(e,-1);if("%"===t&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new r("invalid intrinsic syntax, expected opening `%`");var i=[];return k(e,S,(function(e,t,n,r){i[i.length]=n?k(r,O,"$1"):t||e})),i},T=function(e,t){var n,i=e;if(v(y,i)&&(i="%"+(n=y[i])[0]+"%"),v(b,i)){var a=b[i];if(void 0===a&&!t)throw new o("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:a}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new o('"allowMissing" argument must be a boolean');var n=E(e),i=n.length>0?n[0]:"",a=T("%"+i+"%",t),c=a.name,l=a.value,u=!1,f=a.alias;f&&(i=f[0],_(n,w([0,1],f)));for(var d=1,p=!0;d=n.length){var g=s(l,h);l=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:l[h]}else p=v(l,h),l=l[h];p&&!u&&(b[c]=l)}}return l}},function(e,t,n){"use strict";var r=n(857),i=n(1002),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),c=i("%Object.defineProperty%",!0);if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(){return s(r,a,arguments)};var l=function(){return s(r,o,arguments)};c?c(e.exports,"apply",{value:l}):e.exports.apply=l},function(e,t,n){"use strict";var r=function(e){return e!=e};e.exports=function(e,t){return 0===e&&0===t?1/e==1/t:e===t||!(!r(e)||!r(t))}},function(e,t,n){"use strict";var r=n(1004);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},function(e,t,n){"use strict";var r=Object,i=TypeError;e.exports=function(){if(null!=this&&this!==r(this))throw new i("RegExp.prototype.flags getter called on non-object");var e="";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.sticky&&(e+="y"),e}},function(e,t,n){"use strict";var r=n(1006),i=n(858).supportsDescriptors,o=Object.getOwnPropertyDescriptor,a=TypeError;e.exports=function(){if(!i)throw new a("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");if("gim"===/a/gim.flags){var e=o(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof/a/.dotAll)return e.get}return r}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return x}));var r=n(0),i=n.n(r),o=n(10),a=n.n(o),s=n(845),c=n.n(s),l=n(404),u=n(405),f=n(948),d=n(949),p=n(946),h=n(897),m=n(868),b=n(895),y=n(14),g=n(46),v=n(23),w=n(869),_=n(388),k=n(21);const x=Object(y.a)(({amountConfig:t,feeConfig:n,className:o,label:s,disableAllBalance:y})=>{var x,S,O,E;const T=Object(w.a)(),{queriesStore:A}=Object(k.b)(),M=A.get(t.chainId).getQueryBalances().getQueryBech32Address(t.sender).balances.find(e=>t.sendCurrency.coinMinimalDenom===e.currency.coinMinimalDenom),I=M?M.balance:new v.CoinPretty(t.sendCurrency,new v.Int(0)),[P,C]=Object(r.useState)(!1),j=n.fee;Object(r.useEffect)(()=>{if(P){const e=I.currency.coinMinimalDenom===(null==j?void 0:j.currency.coinMinimalDenom)?new v.CoinPretty(I.currency,I.toDec().sub(j.toDec()).mul(v.DecUtils.getPrecisionDec(I.currency.coinDecimals)).truncate()):I;t.setAmount(e.trim(!0).locale(!1).hideDenom(!0).toString())}},[I,j,P,t]);const[D]=Object(r.useState)(()=>{const t=new Uint8Array(4);return crypto.getRandomValues(t),e.from(t).toString("hex")}),R=t.getError(),N=Object(r.useMemo)(()=>{if(R)switch(R.constructor){case g.EmptyAmountError:return;case g.InvalidNumberAmountError:return T.formatMessage({id:"input.amount.error.invalid-number"});case g.ZeroAmountError:return T.formatMessage({id:"input.amount.error.is-zero"});case g.NagativeAmountError:return T.formatMessage({id:"input.amount.error.is-negative"});case g.InsufficientAmountError:return T.formatMessage({id:"input.amount.error.insufficient"});default:return T.formatMessage({id:"input.amount.error.unknown"})}},[T,R]),[B,L]=Object(r.useState)(!1);return i.a.createElement(i.a.Fragment,null,i.a.createElement(l.a,{className:o},i.a.createElement(u.a,{for:"selector-"+D,className:"form-control-label",style:{width:"100%"}},i.a.createElement(_.a,{id:"component.form.coin-input.token.label"})),i.a.createElement(f.a,{id:"selector-"+D,className:a()(c.a.tokenSelector,{disabled:P}),isOpen:B,toggle:()=>L(e=>!e),disabled:P},i.a.createElement(d.a,{caret:!0},t.sendCurrency.coinDenom),i.a.createElement(p.a,null,t.sendableCurrencies.map(e=>i.a.createElement(h.a,{key:e.coinMinimalDenom,active:e.coinMinimalDenom===t.sendCurrency.coinMinimalDenom,onClick:n=>{n.preventDefault(),t.setSendCurrency(e)}},e.coinDenom))))),i.a.createElement(l.a,{className:o},s?i.a.createElement(u.a,{for:"input-"+D,className:"form-control-label",style:{width:"100%"}},s,y?null:i.a.createElement("div",{className:a()(c.a.balance,c.a.clickable,{[c.a.clicked]:P}),onClick:()=>C(e=>!e)},"Balance: "+I.trim(!0).maxDecimals(6).toString())):null,i.a.createElement(m.a,{className:a()("form-control-alternative",c.a.input),id:"input-"+D,type:"number",value:t.amount,onChange:e=>{e.preventDefault(),t.setAmount(e.target.value)},step:new v.Dec(1).quo(v.DecUtils.getPrecisionDec(null!==(S=null===(x=t.sendCurrency)||void 0===x?void 0:x.coinDecimals)&&void 0!==S?S:0)).toString(null!==(E=null===(O=t.sendCurrency)||void 0===O?void 0:O.coinDecimals)&&void 0!==E?E:0),min:0,disabled:P,autoComplete:"off"}),null!=N?i.a.createElement(b.a,{style:{display:"block"}},N):null))})}).call(this,n(2).Buffer)},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return x}));var r=n(0),i=n.n(r),o=n(211),a=n.n(o),s=n(404),c=n(405),l=n(1552),u=n(402),f=n(896),d=n(895),p=n(10),h=n.n(p),m=n(14),b=n(46),y=n(210),g=n(869),v=n(886),w=n(5),_=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};class k{constructor(){this._isGasInputOpen=!1,Object(w.makeObservable)(this)}get isGasInputOpen(){return this._isGasInputOpen}setIsGasInputOpen(e){this._isGasInputOpen=e}}_([w.observable],k.prototype,"_isGasInputOpen",void 0),_([w.action],k.prototype,"setIsGasInputOpen",null);const x=Object(m.a)(({feeConfig:e,gasConfig:t,priceStore:n,label:o,feeSelectLabels:a={low:"Low",average:"Average",high:"High"},gasLabel:s})=>{const[c]=Object(r.useState)(()=>new k);return i.a.createElement(i.a.Fragment,null,e.feeCurrency?i.a.createElement(S,{feeConfig:e,priceStore:n,label:o,feeSelectLabels:a,feeButtonState:c}):null,c.isGasInputOpen||!e.feeCurrency?i.a.createElement(v.a,{label:s,gasConfig:t}):null)}),S=Object(m.a)(({feeConfig:t,priceStore:n,label:o,feeSelectLabels:p={low:"Low",average:"Average",high:"High"},feeButtonState:m})=>{Object(r.useEffect)(()=>{t.feeCurrency&&!t.fee&&t.setFeeType("average")},[t,t.feeCurrency,t.fee]);const v=Object(g.a)(),[w]=Object(r.useState)(()=>{const t=new Uint8Array(4);return crypto.getRandomValues(t),"input-"+e.from(t).toString("hex")}),_=Object(y.b)();if(!t.feeCurrency)return i.a.createElement(i.a.Fragment,null);const k=_.fiatCurrency,x=t.getFeeTypePretty("low"),S=n.calculatePrice(k,x),O=t.getFeeTypePretty("average"),E=n.calculatePrice(k,O),T=t.getFeeTypePretty("high"),A=n.calculatePrice(k,T);let M=!1;const I=t.getError(),P=(()=>{if(I)switch(I.constructor){case b.InsufficientFeeError:return v.formatMessage({id:"input.fee.error.insufficient"});case b.NotLoadedFeeError:return void(M=!0);default:return v.formatMessage({id:"input.fee.error.unknown"})}})();return i.a.createElement(s.a,{style:{position:"relative"}},o?i.a.createElement(c.a,{for:w,className:"form-control-label"},o):null,i.a.createElement(l.a,{id:w,className:a.a.buttons},i.a.createElement(u.a,{type:"button",className:a.a.button,color:"low"===t.feeType?"primary":void 0,onClick:e=>{t.setFeeType("low"),e.preventDefault()}},i.a.createElement("div",{className:a.a.title},p.low),S?i.a.createElement("div",{className:h()(a.a.fiat,{"text-muted":"low"!==t.feeType})},S.toString()):null,i.a.createElement("div",{className:h()(a.a.coin,{"text-muted":"low"!==t.feeType})},x.trim(!0).toString())),i.a.createElement(u.a,{type:"button",className:a.a.button,color:"average"===t.feeType?"primary":void 0,onClick:e=>{t.setFeeType("average"),e.preventDefault()}},i.a.createElement("div",{className:a.a.title},p.average),E?i.a.createElement("div",{className:h()(a.a.fiat,{"text-muted":"average"!==t.feeType})},E.toString()):null,i.a.createElement("div",{className:h()(a.a.coin,{"text-muted":"average"!==t.feeType})},t.getFeeTypePretty("average").trim(!0).toString())),i.a.createElement(u.a,{type:"button",className:a.a.button,color:"high"===t.feeType?"primary":void 0,onClick:e=>{t.setFeeType("high"),e.preventDefault()}},i.a.createElement("div",{className:a.a.title},p.high),A?i.a.createElement("div",{className:h()(a.a.fiat,{"text-muted":"high"!==t.feeType})},A.toString()):null,i.a.createElement("div",{className:h()(a.a.coin,{"text-muted":"high"!==t.feeType})},t.getFeeTypePretty("high").trim(!0).toString()))),M?i.a.createElement(f.a,null,i.a.createElement("i",{className:"fa fa-spinner fa-spin fa-fw"})):null,null!=P?i.a.createElement(d.a,{style:{display:"block"}},P):null,i.a.createElement("div",{style:{position:"absolute",right:0}},i.a.createElement(u.a,{size:"sm",color:"link",onClick:e=>{e.preventDefault(),m.setIsGasInputOpen(!m.isGasInputOpen)}},m.isGasInputOpen?v.formatMessage({id:"input.fee.toggle.set-gas.close"}):v.formatMessage({id:"input.fee.toggle.set-gas"}))))})}).call(this,n(2).Buffer)},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l}));var r=n(0),i=n.n(r),o=n(404),a=n(405),s=n(868),c=n(14);const l=Object(c.a)(({memoConfig:t,label:n,className:c,rows:l,disabled:u=!1})=>{const[f]=Object(r.useState)(()=>{const t=new Uint8Array(4);return crypto.getRandomValues(t),"input-"+e.from(t).toString("hex")});return i.a.createElement(o.a,{className:c},n?i.a.createElement(a.a,{for:f,className:"form-control-label"},n):null,i.a.createElement(s.a,{id:f,className:"form-control-alternative",type:"textarea",rows:l||2,style:{resize:"none"},value:t.memo,onChange:e=>{t.setMemo(e.target.value),e.preventDefault()},autoComplete:"off",disabled:u}))})}).call(this,n(2).Buffer)},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y}));var r=n(0),i=n.n(r),o=n(404),a=n(405),s=n(948),c=n(949),l=n(946),u=n(897),f=n(865),d=n.n(f),p=n(887),h=n(14),m=n(21),b=n(388);const y=Object(h.a)(({ibcChannelConfig:t})=>{const{chainStore:n,ibcChannelStore:f}=Object(m.b)(),h=f.get(n.current.chainId),[y,g]=Object(r.useState)(!1),[v,w]=Object(r.useState)(!1),[_]=Object(r.useState)(()=>{const t=new Uint8Array(4);return crypto.getRandomValues(t),"destination-"+e.from(t).toString("hex")});return i.a.createElement(i.a.Fragment,null,i.a.createElement(p.a,{isOpen:v,closeModal:()=>w(!1),toggle:()=>w(e=>!e)}),i.a.createElement(o.a,null,i.a.createElement(a.a,{for:_,className:"form-control-label"},i.a.createElement(b.a,{id:"component.ibc.channel-registrar.chain-selector.label"})),i.a.createElement(s.a,{id:_,className:d.a.chainSelector,isOpen:y,toggle:()=>g(e=>!e)},i.a.createElement(c.a,{caret:!0},t.channel?n.getChain(t.channel.counterpartyChainId).chainName:i.a.createElement(b.a,{id:"component.ibc.channel-registrar.chain-selector.placeholder"})),i.a.createElement(l.a,null,h.getTransferChannels().map(e=>{if(!n.hasChain(e.counterpartyChainId))return;const r=n.getChain(e.counterpartyChainId);return r?i.a.createElement(u.a,{key:r.chainId,onClick:n=>{n.preventDefault(),t.setChannel(e)}},r.chainName,i.a.createElement("div",{className:d.a.channel},e.channelId)):void 0}),i.a.createElement(u.a,{onClick:e=>{e.preventDefault(),w(!0)}},i.a.createElement("i",{className:"fas fa-plus-circle my-1 mr-1"})," ",i.a.createElement(b.a,{id:"component.ibc.channel-registrar.chain-selector.button.add"}))))))})}).call(this,n(2).Buffer)},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===i}(e)}(e)};var i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,n){return e.concat(t).map((function(e){return o(e,n)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function c(e,t){try{return t in e}catch(e){return!1}}function l(e,t,n){var r={};return n.isMergeableObject(e)&&s(e).forEach((function(t){r[t]=o(e[t],n)})),s(t).forEach((function(i){(function(e,t){return c(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(c(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return u;var n=t.customMerge(e);return"function"==typeof n?n:u}(i,n)(e[i],t[i],n):r[i]=o(t[i],n))})),r}function u(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||r,n.cloneUnlessOtherwiseSpecified=o;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):l(e,t,n):o(t,n)}u.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return u(e,n,t)}),{})};var f=u;e.exports=f},function(e,t,n){var r=n(1016);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==f[1]?f[1]:{},r=f.length>2&&void 0!==f[2]?f[2]:{},o={mode:"cors",cache:"no-cache",headers:{}},r.useAPIKey&&(o.headers=d(d({},o.headers),{},(s={},a()(s,m,k()),a()(s,b,v()),s))),c=u.a.all([o,n,{method:"GET"}]),e.next=7,fetch(t,c);case 7:if(!(l=e.sent).ok){e.next=10;break}return e.abrupt("return",l.json());case 10:throw l;case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o={mode:"cors",cache:"no-cache",headers:{"Content-Type":"application/json; charset=utf-8"},body:i.isUrlEncodedData?n:JSON.stringify(n)};i.useAPIKey&&(o.headers=d(d({},o.headers),{},(t={},a()(t,m,k()),a()(t,b,v()),t)));var s=u.a.all([o,r,{method:"POST"}]);return x(i.timeout||3e4,fetch(e,s).then((function(e){if(e.ok)return e.json();throw e})))},E=function(){var e=c()(i.a.mark((function e(t){var n,r,o,s,c,l,f,p=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=p.length>1&&void 0!==p[1]?p[1]:{},r=p.length>2&&void 0!==p[2]?p[2]:{},o=p.length>3&&void 0!==p[3]?p[3]:{},s={mode:"cors",cache:"no-cache",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(n)},o.useAPIKey&&(s.headers=d(d({},s.headers),{},(c={},a()(c,m,k()),a()(c,b,v()),c))),l=u.a.all([s,r,{method:"PATCH"}]),e.next=8,fetch(t,l);case 8:if(!(f=e.sent).ok){e.next=11;break}return e.abrupt("return",f.json());case 11:throw f;case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),T=function(){var e=c()(i.a.mark((function e(t){var n,r,o,s,c,l,f=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f.length>1&&void 0!==f[1]&&f[1],n=f.length>2&&void 0!==f[2]?f[2]:{},r=f.length>3&&void 0!==f[3]?f[3]:{},o={mode:"cors",cache:"no-cache",headers:{"Content-Type":"application/json; charset=utf-8"}},r.useAPIKey&&(o.headers=d(d({},o.headers),{},(s={},a()(s,m,k()),a()(s,b,v()),s))),c=u.a.all([o,n,{method:"DELETE"}]),e.next=8,fetch(t,c);case 8:if(!(l=e.sent).ok){e.next=11;break}return e.abrupt("return",l.json());case 11:throw l;case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),A=function(e,t){return{jsonrpc:"2.0",method:e,id:10,params:t}},M=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3e4;return Promise.race([S(e,t),new Promise((function(e,t){setTimeout((function(){t(new Error("timed out"))}),n)}))])}}])},function(e,t,n){var r=n(1397),i=n(1398);e.exports=function(e){if("string"==typeof e||"number"==typeof e){var t=new r(1),n=String(e).toLowerCase().trim(),o="0x"===n.substr(0,2)||"-0x"===n.substr(0,3),a=i(n);if("-"===a.substr(0,1)&&(a=i(a.slice(1)),t=new r(-1,10)),!(a=""===a?"0":a).match(/^-?[0-9]+$/)&&a.match(/^[0-9A-Fa-f]+$/)||a.match(/^[a-fA-F]+$/)||!0===o&&a.match(/^[0-9A-Fa-f]+$/))return new r(a,16).mul(t);if((a.match(/^-?[0-9]+$/)||""===a)&&!1===o)return new r(a,10).mul(t)}else if("object"==typeof e&&e.toString&&!e.pop&&!e.push&&e.toString(10).match(/^-?[0-9]+$/)&&(e.mul||e.dividedToIntegerBy))return new r(e.toString(10),10);throw new Error("[number-to-bn] while converting number "+JSON.stringify(e)+" to BN.js instance, error: invalid number value. Value must be an integer, hex string, BN or BigNumber instance. Note, decimals are not supported.")}},function(e,t,n){(function(t){var r=n(391),i=n(27),o=n(1018),a=n(1401),s=n(1402),c=n(1403),l=function(e){return i.isBN(e)},u=function(e){return e&&e.constructor&&"BigNumber"===e.constructor.name},f=function(e){try{return o.apply(null,arguments)}catch(t){throw new Error(t+' Given value: "'+e+'"')}},d=function(e){return!!/^(0x)?[0-9a-f]{40}$/i.test(e)&&(!(!/^(0x|0X)?[0-9a-f]{40}$/.test(e)&&!/^(0x|0X)?[0-9A-F]{40}$/.test(e))||p(e))},p=function(e){e=e.replace(/^0x/i,"");for(var t=w(e.toLowerCase()).replace(/^0x/i,""),n=0;n<40;n++)if(parseInt(t[n],16)>7&&e[n].toUpperCase()!==e[n]||parseInt(t[n],16)<=7&&e[n].toLowerCase()!==e[n])return!1;return!0},h=function(e){var t="";e=(e=(e=(e=(e=a.encode(e)).replace(/^(?:\u0000)*/,"")).split("").reverse().join("")).replace(/^(?:\u0000)*/,"")).split("").reverse().join("");for(var n=0;n>>4).toString(16)),t.push((15&e[n]).toString(16));return"0x"+t.join("")},isHex:g,isHexStrict:y,stripHexPrefix:function(e){return 0!==e&&g(e)?e.replace(/^(-)?0x/i,"$1"):e},leftPad:function(e,t,n){var r=/^0x/i.test(e)||"number"==typeof e,i=t-(e=e.toString(16).replace(/^0x/i,"")).length+1>=0?t-e.length+1:0;return(r?"0x":"")+new Array(i).join(n||"0")+e},rightPad:function(e,t,n){var r=/^0x/i.test(e)||"number"==typeof e,i=t-(e=e.toString(16).replace(/^0x/i,"")).length+1>=0?t-e.length+1:0;return(r?"0x":"")+e+new Array(i).join(n||"0")},toTwosComplement:function(e){return"0x"+f(e).toTwos(256).toString(16,64)},sha3:w,sha3Raw:function(e){return null===(e=w(e))?v:e}}}).call(this,n(2).Buffer)},function(e,t,n){"use strict";var r=t;r.version=n(1414).version,r.utils=n(224),r.rand=n(1022),r.curve=n(1023),r.curves=n(925),r.ec=n(1426),r.eddsa=n(1430)},function(e,t,n){"use strict";var r=t;function i(e){return 1===e.length?"0"+e:e}function o(e){for(var t="",n=0;n>8,a=255&i;o?n.push(o,a):n.push(a)}return n},r.zero2=i,r.toHex=o,r.encode=function(e,t){return"hex"===t?o(e):e}},function(e,t,n){var r;function i(e){this.rand=e}if(e.exports=function(e){return r||(r=new i(null)),r.generate(e)},e.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),n=0;n>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},function(e,t,n){"use strict";var r=n(392),i=n(859),o=n(1024),a=n(824),s=r.sum32,c=r.sum32_4,l=r.sum32_5,u=o.ch32,f=o.maj32,d=o.s0_256,p=o.s1_256,h=o.g0_256,m=o.g1_256,b=i.BlockHash,y=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function g(){if(!(this instanceof g))return new g;b.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=y,this.W=new Array(64)}r.inherits(g,b),e.exports=g,g.blockSize=512,g.outSize=256,g.hmacStrength=192,g.padLength=64,g.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r=0&&t<=o.levels.SILENT))throw"log.setLevel() called with invalid level: "+t;if(i=t,!1!==r&&function(e){var t=(n[e]||"silent").toUpperCase();if("undefined"!=typeof window&&s){try{return void(window.localStorage[s]=t)}catch(e){}try{window.document.cookie=encodeURIComponent(s)+"="+t+";"}catch(e){}}}(t),a.call(o,t,e),"undefined"==typeof console&&t1?(e[n[0]]=e[n[0]]||{},e[n[0]][n[1]]=t):e[n[0]]=t},u.prototype.getCall=function(e){return r.isFunction(this.call)?this.call(e):this.call},u.prototype.extractCallback=function(e){if(r.isFunction(e[e.length-1]))return e.pop()},u.prototype.validateArgs=function(e){if(e.length!==this.params)throw i.InvalidNumberOfParams(e.length,this.params,this.name)},u.prototype.formatInput=function(e){var t=this;return this.inputFormatter?this.inputFormatter.map((function(n,r){return n?n.call(t,e[r]):e[r]})):e},u.prototype.formatOutput=function(e){var t=this;return r.isArray(e)?e.map((function(e){return t.outputFormatter&&e?t.outputFormatter(e):e})):this.outputFormatter&&e?this.outputFormatter(e):e},u.prototype.toPayload=function(e){var t=this.getCall(e),n=this.extractCallback(e),r=this.formatInput(e);this.validateArgs(r);var i={method:t,params:r,callback:n};return this.transformPayload&&(i=this.transformPayload(i)),i},u.prototype._confirmTransaction=function(e,t,n){var f=this,d=!1,p=!0,h=0,m=0,b=null,y=null,g=r.isObject(n.params[0])&&n.params[0].gas?n.params[0].gas:null,v=r.isObject(n.params[0])&&n.params[0].data&&n.params[0].from&&!n.params[0].to,w=v&&n.params[0].data.length>2,_=[new u({name:"getBlockByNumber",call:"eth_getBlockByNumber",params:2,inputFormatter:[o.inputBlockNumberFormatter,function(e){return!!e}],outputFormatter:o.outputBlockFormatter}),new u({name:"getTransactionReceipt",call:"eth_getTransactionReceipt",params:1,inputFormatter:[null],outputFormatter:o.outputTransactionReceiptFormatter}),new u({name:"getCode",call:"eth_getCode",params:2,inputFormatter:[o.inputAddressFormatter,o.inputDefaultBlockNumberFormatter]}),new u({name:"getTransactionByHash",call:"eth_getTransactionByHash",params:1,inputFormatter:[null],outputFormatter:o.outputTransactionFormatter}),new c({name:"subscribe",type:"eth",subscriptions:{newBlockHeaders:{subscriptionName:"newHeads",params:0,outputFormatter:o.outputBlockFormatter}}})],k={};r.each(_,(function(e){e.attachToObject(k),e.requestManager=f.requestManager}));var x=function(r,c,u,_,x){if(!u)return x||(x={unsubscribe:function(){clearInterval(b)}}),(r?s.resolve(r):k.getTransactionReceipt(t)).catch((function(t){x.unsubscribe(),d=!0,a._fireError({message:"Failed to check for transaction receipt:",data:t},e.eventEmitter,e.reject)})).then((async function(t){if(!t||!t.blockHash)throw new Error("Receipt missing or blockHash null");if(f.extraFormatters&&f.extraFormatters.receiptFormatter&&(t=f.extraFormatters.receiptFormatter(t)),e.eventEmitter.listeners("confirmation").length>0){var n;if(void 0===r||0!==m){var i=await k.getBlockByNumber("latest"),o=i?i.hash:null;c?y?(n=await k.getBlockByNumber(y.number+1))&&(y=n,e.eventEmitter.emit("confirmation",m,t,o)):(n=await k.getBlockByNumber(t.blockNumber),y=n,e.eventEmitter.emit("confirmation",m,t,o)):e.eventEmitter.emit("confirmation",m,t,o)}(c&&n||!c)&&m++,p=!1,m===f.transactionConfirmationBlocks+1&&(x.unsubscribe(),e.eventEmitter.removeAllListeners())}return t})).then((async function(t){if(v&&!d){if(!t.contractAddress)return p&&(x.unsubscribe(),d=!0),void a._fireError(i.NoContractAddressFoundError(t),e.eventEmitter,e.reject,null,t);var n;try{n=await k.getCode(t.contractAddress)}catch(e){}if(!n)return;!0===t.status&&w||n.length>2?(e.eventEmitter.emit("receipt",t),f.extraFormatters&&f.extraFormatters.contractDeployFormatter?e.resolve(f.extraFormatters.contractDeployFormatter(t)):e.resolve(t),p&&e.eventEmitter.removeAllListeners()):a._fireError(i.ContractCodeNotStoredError(t),e.eventEmitter,e.reject,null,t),p&&x.unsubscribe(),d=!0}return t})).then((async function(t){if(!v&&!d){if(t.outOfGas||g&&g===t.gasUsed||!0!==t.status&&"0x1"!==t.status&&void 0!==t.status)if(JSON.stringify(t,null,2),!1===t.status||"0x0"===t.status)try{var r=null;if(!f.handleRevert||"eth_sendTransaction"!==f.call&&"eth_sendRawTransaction"!==f.call)throw!1;var s=n.params[0];if("eth_sendRawTransaction"===f.call){var c=n.params[0],u=l.parse(c);s=o.inputTransactionFormatter({data:u.data,to:u.to,from:u.from,gas:u.gasLimit.toHexString(),gasPrice:u.gasPrice.toHexString(),value:u.value.toHexString()})}if(!(r=await f.getRevertReason(s,t.blockNumber)))throw!1;a._fireError(i.TransactionRevertInstructionError(r.reason,r.signature,t),e.eventEmitter,e.reject,null,t)}catch(n){a._fireError(i.TransactionRevertedWithoutReasonError(t),e.eventEmitter,e.reject,null,t)}else a._fireError(i.TransactionOutOfGasError(t),e.eventEmitter,e.reject,null,t);else e.eventEmitter.emit("receipt",t),e.resolve(t),p&&e.eventEmitter.removeAllListeners();p&&x.unsubscribe(),d=!0}})).catch((function(){h++,c?h-1>=f.transactionPollingTimeout&&(x.unsubscribe(),d=!0,a._fireError(i.TransactionError("Transaction was not mined within "+f.transactionPollingTimeout+" seconds, please make sure your transaction was properly sent. Be aware that it might still be mined!"),e.eventEmitter,e.reject)):h-1>=f.transactionBlockTimeout&&(x.unsubscribe(),d=!0,a._fireError(i.TransactionError("Transaction was not mined within "+f.transactionBlockTimeout+" blocks, please make sure your transaction was properly sent. Be aware that it might still be mined!"),e.eventEmitter,e.reject))}));x.unsubscribe(),d=!0,a._fireError({message:"Failed to subscribe to new newBlockHeaders to confirm the transaction receipts.",data:u},e.eventEmitter,e.reject)},S=function(e){const t=()=>{b=setInterval(x.bind(null,e,!0),1e3)};this.requestManager.provider.on?k.subscribe("newBlockHeaders",(function(n,r,i){n||!r?t():x(e,!1,n,0,i)})):t()}.bind(this);k.getTransactionReceipt(t).then((function(t){t&&t.blockHash?(e.eventEmitter.listeners("confirmation").length>0&&S(t),x(t,!1)):d||S()})).catch((function(){d||S()}))};var f=function(e,t){return r.isNumber(e)?t.wallet[e]:r.isObject(e)&&e.address&&e.privateKey?e:t.wallet[e.toLowerCase()]};u.prototype.buildCall=function(){var e=this,t="eth_sendTransaction"===e.call||"eth_sendRawTransaction"===e.call,n="eth_call"===e.call,o=function(){var o=s(!t),c=e.toPayload(Array.prototype.slice.call(arguments)),l=function(r,s){var l;if(e.handleRevert&&n&&e.abiCoder&&(!r&&e.isRevertReasonString(s)?l=s.substring(10):r&&r.data&&(l=r.data.substring(10)),l)){var u=e.abiCoder.decodeParameter("string","0x"+l);return void a._fireError(i.RevertInstructionError(u,"Error(String)"),o.eventEmitter,o.reject,c.callback,{reason:u,signature:"Error(String)"})}try{s=e.formatOutput(s)}catch(e){r=e}if(s instanceof Error&&(r=s),r)return r.error&&(r=r.error),a._fireError(r,o.eventEmitter,o.reject,c.callback);c.callback&&c.callback(null,s),t?(o.eventEmitter.emit("transactionHash",s),e._confirmTransaction(o,s,c)):r||o.resolve(s)},d=function(t){var n=r.extend({},c,{method:"eth_sendRawTransaction",params:[t.rawTransaction]});e.requestManager.send(n,l)},p=function(e,t){var n;if(t&&t.accounts&&t.accounts.wallet&&t.accounts.wallet.length)if("eth_sendTransaction"===e.method){var i=e.params[0];if((n=f(r.isObject(i)?i.from:null,t.accounts))&&n.privateKey){var a=r.omit(i,"from");return t.defaultChain&&!a.chain&&(a.chain=t.defaultChain),t.defaultHardfork&&!a.hardfork&&(a.hardfork=t.defaultHardfork),t.defaultCommon&&!a.common&&(a.common=t.defaultCommon),void t.accounts.signTransaction(a,n.privateKey).then(d).catch((function(e){if(r.isFunction(o.eventEmitter.listeners)&&o.eventEmitter.listeners("error").length){try{o.eventEmitter.emit("error",e)}catch(e){}o.eventEmitter.removeAllListeners(),o.eventEmitter.catch((function(){}))}o.reject(e)}))}}else if("eth_sign"===e.method){var s=e.params[1];if((n=f(e.params[0],t.accounts))&&n.privateKey){var c=t.accounts.sign(s,n.privateKey);return e.callback&&e.callback(null,c.signature),void o.resolve(c.signature)}}return t.requestManager.send(e,l)};if(t&&r.isObject(c.params[0])&&void 0===c.params[0].gasPrice){var h=new u({name:"getGasPrice",call:"eth_gasPrice",params:0}).createFunction(e.requestManager);h((function(n,r){r&&(c.params[0].gasPrice=r),t&&setTimeout(()=>{o.eventEmitter.emit("sending",c)},0),p(c,e)}))}else t&&setTimeout(()=>{o.eventEmitter.emit("sending",c)},0),p(c,e);return t&&setTimeout(()=>{o.eventEmitter.emit("sent",c)},0),o.eventEmitter};return o.method=e,o.request=this.request.bind(this),o},u.prototype.getRevertReason=function(e,t){var n=this;return new Promise((function(r,i){new u({name:"call",call:"eth_call",params:2,abiCoder:n.abiCoder,handleRevert:!0}).createFunction(n.requestManager)(e,a.numberToHex(t)).then((function(){r(!1)})).catch((function(e){e.reason?r({reason:e.reason,signature:e.signature}):i(e)}))}))},u.prototype.isRevertReasonString=function(e){return r.isString(e)&&(e.length-2)/2%32==4&&"0x08c379a0"===e.substring(0,10)},u.prototype.request=function(){var e=this.toPayload(Array.prototype.slice.call(arguments));return e.format=this.formatOutput.bind(this),e},e.exports=u},function(e,t,n){"use strict";var r=n(926),i=function(e){var t,n,i=new Promise((function(){t=arguments[0],n=arguments[1]}));if(e)return{resolve:t,reject:n,eventEmitter:i};var o=new r;return i._events=o._events,i.emit=o.emit,i.on=o.on,i.once=o.once,i.off=o.off,i.listeners=o.listeners,i.addListener=o.addListener,i.removeListener=o.removeListener,i.removeAllListeners=o.removeAllListeners,{resolve:t,reject:n,eventEmitter:i}};i.resolve=function(e){var t=i(!0);return t.resolve(e),t.eventEmitter},e.exports=i},function(e,t,n){"use strict";var r=n(1463),i=function(e){this.name=e.name,this.type=e.type,this.subscriptions=e.subscriptions||{},this.requestManager=null};i.prototype.setRequestManager=function(e){this.requestManager=e},i.prototype.attachToObject=function(e){var t=this.buildCall(),n=this.name.split(".");n.length>1?(e[n[0]]=e[n[0]]||{},e[n[0]][n[1]]=t):e[n[0]]=t},i.prototype.buildCall=function(){var e=this;return function(){e.subscriptions[arguments[0]]||console.warn("Subscription "+JSON.stringify(arguments[0])+" doesn't exist. Subscribing anyway.");var t=new r({subscription:e.subscriptions[arguments[0]]||{},requestManager:e.requestManager,type:e.type});return t.subscribe.apply(t,arguments)}},e.exports={subscriptions:i,subscription:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return[].slice.call(e.querySelectorAll("*"),0).filter(a)}; -/*! - * Adapted from jQuery UI core - * - * http://jqueryui.com - * - * Copyright 2014 jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - * - * http://api.jqueryui.com/category/ui-core/ - */ -var r=/input|select|textarea|button|object/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;var n=window.getComputedStyle(e);return t?"visible"!==n.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0:"none"==n.getPropertyValue("display")}function o(e,t){var n=e.nodeName.toLowerCase();return(r.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e;t&&t!==document.body;){if(i(t))return!1;t=t.parentNode}return!0}(e)}function a(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&o(e,!n)}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertNodeList=c,t.setElement=function(e){var t=e;if("string"==typeof t&&a.canUseDOM){var n=document.querySelectorAll(t);c(n,t),t="length"in n?n[0]:n}return s=t||s},t.validateElement=l,t.hide=function(e){l(e)&&(e||s).setAttribute("aria-hidden","true")},t.show=function(e){l(e)&&(e||s).removeAttribute("aria-hidden")},t.documentNotReadyOrSSRTesting=function(){s=null},t.resetForTesting=function(){s=null};var r,i=n(885),o=(r=i)&&r.__esModule?r:{default:r},a=n(928);var s=null;function c(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function l(e){return!(!e&&!s)||((0,o.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),!1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=new function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]};t.default=r,e.exports=t.default},function(e,t,n){var r=n(930),i=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],o=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case r.L:return i[4*(e-1)+0];case r.M:return i[4*(e-1)+1];case r.Q:return i[4*(e-1)+2];case r.H:return i[4*(e-1)+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case r.L:return o[4*(e-1)+0];case r.M:return o[4*(e-1)+1];case r.Q:return o[4*(e-1)+2];case r.H:return o[4*(e-1)+3];default:return}}},function(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},function(e,t){var n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",r="(?:(?![A-Z0-9 $%*+\\-./:]|"+(n=n.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";t.KANJI=new RegExp(n,"g"),t.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=new RegExp(r,"g"),t.NUMERIC=new RegExp("[0-9]+","g"),t.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var i=new RegExp("^"+n+"$"),o=new RegExp("^[0-9]+$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return i.test(e)},t.testNumeric=function(e){return o.test(e)},t.testAlphanumeric=function(e){return a.test(e)}},function(e,t){function n(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");var t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");var n=parseInt(t.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:255&n,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});var t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,r=e.width&&e.width>=21?e.width:void 0,i=e.scale||4;return{width:r,scale:r?4:i,margin:t,color:{dark:n(e.color.dark||"#000000ff"),light:n(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,n){var r=t.getScale(e,n);return Math.floor((e+2*n.margin)*r)},t.qrToImageData=function(e,n,r){for(var i=n.modules.size,o=n.modules.data,a=t.getScale(i,r),s=Math.floor((i+2*r.margin)*a),c=r.margin*a,l=[r.color.light,r.color.dark],u=0;u=c&&f>=c&&u=0||"tuple"===e)&&l[t])return!0;return(c[t]||"payable"===t)&&a.throwArgumentError("invalid modifier","name",t),!1}function f(e,t){for(let n in t)Object(i.c)(e,n,t[n])}const d=Object.freeze({sighash:"sighash",minimal:"minimal",full:"full",json:"json"}),p=new RegExp(/^(.*)\[([0-9]*)\]$/);class h{constructor(e,t){e!==s&&a.throwError("use fromString",o.a.errors.UNSUPPORTED_OPERATION,{operation:"new ParamType()"}),f(this,t);let n=this.type.match(p);f(this,n?{arrayLength:parseInt(n[2]||"-1"),arrayChildren:h.fromObject({type:n[1],components:this.components}),baseType:"array"}:{arrayLength:null,arrayChildren:null,baseType:null!=this.components?"tuple":this.type}),this._isParamType=!0,Object.freeze(this)}format(e){if(e||(e=d.sighash),d[e]||a.throwArgumentError("invalid format type","format",e),e===d.json){let t={type:"tuple"===this.baseType?"tuple":this.type,name:this.name||void 0};return"boolean"==typeof this.indexed&&(t.indexed=this.indexed),this.components&&(t.components=this.components.map(t=>JSON.parse(t.format(e)))),JSON.stringify(t)}let t="";return"array"===this.baseType?(t+=this.arrayChildren.format(e),t+="["+(this.arrayLength<0?"":String(this.arrayLength))+"]"):"tuple"===this.baseType?(e!==d.sighash&&(t+=this.type),t+="("+this.components.map(t=>t.format(e)).join(e===d.full?", ":",")+")"):t+=this.type,e!==d.sighash&&(!0===this.indexed&&(t+=" indexed"),e===d.full&&this.name&&(t+=" "+this.name)),t}static from(e,t){return"string"==typeof e?h.fromString(e,t):h.fromObject(e)}static fromObject(e){return h.isParamType(e)?e:new h(s,{name:e.name||null,type:x(e.type),indexed:null==e.indexed?null:!!e.indexed,components:e.components?e.components.map(h.fromObject):null})}static fromString(e,t){return function(e){return h.fromObject({name:e.name,type:e.type,indexed:e.indexed,components:e.components})}(function(e,t){let n=e;function r(t){a.throwArgumentError("unexpected character at position "+t,"param",e)}function i(e){let n={type:"",name:"",parent:e,state:{allowType:!0}};return t&&(n.indexed=!1),n}e=e.replace(/\s/g," ");let o={type:"",name:"",state:{allowType:!0}},s=o;for(let n=0;nh.fromString(e,t))}class b{constructor(e,t){e!==s&&a.throwError("use a static from method",o.a.errors.UNSUPPORTED_OPERATION,{operation:"new Fragment()"}),f(this,t),this._isFragment=!0,Object.freeze(this)}static from(e){return b.isFragment(e)?e:"string"==typeof e?b.fromString(e):b.fromObject(e)}static fromObject(e){if(b.isFragment(e))return e;switch(e.type){case"function":return k.fromObject(e);case"event":return y.fromObject(e);case"constructor":return _.fromObject(e);case"fallback":case"receive":return null}return a.throwArgumentError("invalid fragment object","value",e)}static fromString(e){return"event"===(e=(e=(e=e.replace(/\s/g," ")).replace(/\(/g," (").replace(/\)/g,") ").replace(/\s+/g," ")).trim()).split(" ")[0]?y.fromString(e.substring(5).trim()):"function"===e.split(" ")[0]?k.fromString(e.substring(8).trim()):"constructor"===e.split("(")[0].trim()?_.fromString(e.trim()):a.throwArgumentError("unsupported fragment","value",e)}static isFragment(e){return!(!e||!e._isFragment)}}class y extends b{format(e){if(e||(e=d.sighash),d[e]||a.throwArgumentError("invalid format type","format",e),e===d.json)return JSON.stringify({type:"event",anonymous:this.anonymous,name:this.name,inputs:this.inputs.map(t=>JSON.parse(t.format(e)))});let t="";return e!==d.sighash&&(t+="event "),t+=this.name+"("+this.inputs.map(t=>t.format(e)).join(e===d.full?", ":",")+") ",e!==d.sighash&&this.anonymous&&(t+="anonymous "),t.trim()}static from(e){return"string"==typeof e?y.fromString(e):y.fromObject(e)}static fromObject(e){if(y.isEventFragment(e))return e;"event"!==e.type&&a.throwArgumentError("invalid event object","value",e);const t={name:O(e.name),anonymous:e.anonymous,inputs:e.inputs?e.inputs.map(h.fromObject):[],type:"event"};return new y(s,t)}static fromString(e){let t=e.match(E);t||a.throwArgumentError("invalid event string","value",e);let n=!1;return t[3].split(" ").forEach(e=>{switch(e.trim()){case"anonymous":n=!0;break;case"":break;default:a.warn("unknown modifier: "+e)}}),y.fromObject({name:t[1].trim(),anonymous:n,inputs:m(t[2],!0),type:"event"})}static isEventFragment(e){return e&&e._isFragment&&"event"===e.type}}function g(e,t){t.gas=null;let n=e.split("@");return 1!==n.length?(n.length>2&&a.throwArgumentError("invalid human-readable ABI signature","value",e),n[1].match(/^[0-9]+$/)||a.throwArgumentError("invalid human-readable ABI signature gas","value",e),t.gas=r.a.from(n[1]),n[0]):e}function v(e,t){t.constant=!1,t.payable=!1,t.stateMutability="nonpayable",e.split(" ").forEach(e=>{switch(e.trim()){case"constant":t.constant=!0;break;case"payable":t.payable=!0,t.stateMutability="payable";break;case"nonpayable":t.payable=!1,t.stateMutability="nonpayable";break;case"pure":t.constant=!0,t.stateMutability="pure";break;case"view":t.constant=!0,t.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+e)}})}function w(e){let t={constant:!1,payable:!0,stateMutability:"payable"};return null!=e.stateMutability?(t.stateMutability=e.stateMutability,t.constant="view"===t.stateMutability||"pure"===t.stateMutability,null!=e.constant&&!!e.constant!==t.constant&&a.throwArgumentError("cannot have constant function with mutability "+t.stateMutability,"value",e),t.payable="payable"===t.stateMutability,null!=e.payable&&!!e.payable!==t.payable&&a.throwArgumentError("cannot have payable function with mutability "+t.stateMutability,"value",e)):null!=e.payable?(t.payable=!!e.payable,null!=e.constant||t.payable||"constructor"===e.type||a.throwArgumentError("unable to determine stateMutability","value",e),t.constant=!!e.constant,t.constant?t.stateMutability="view":t.stateMutability=t.payable?"payable":"nonpayable",t.payable&&t.constant&&a.throwArgumentError("cannot have constant payable function","value",e)):null!=e.constant?(t.constant=!!e.constant,t.payable=!t.constant,t.stateMutability=t.constant?"view":"payable"):"constructor"!==e.type&&a.throwArgumentError("unable to determine stateMutability","value",e),t}class _ extends b{format(e){if(e||(e=d.sighash),d[e]||a.throwArgumentError("invalid format type","format",e),e===d.json)return JSON.stringify({type:"constructor",stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payble:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map(t=>JSON.parse(t.format(e)))});e===d.sighash&&a.throwError("cannot format a constructor for sighash",o.a.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});let t="constructor("+this.inputs.map(t=>t.format(e)).join(e===d.full?", ":",")+") ";return this.stateMutability&&"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "),t.trim()}static from(e){return"string"==typeof e?_.fromString(e):_.fromObject(e)}static fromObject(e){if(_.isConstructorFragment(e))return e;"constructor"!==e.type&&a.throwArgumentError("invalid constructor object","value",e);let t=w(e);t.constant&&a.throwArgumentError("constructor cannot be constant","value",e);const n={name:null,type:e.type,inputs:e.inputs?e.inputs.map(h.fromObject):[],payable:t.payable,stateMutability:t.stateMutability,gas:e.gas?r.a.from(e.gas):null};return new _(s,n)}static fromString(e){let t={type:"constructor"},n=(e=g(e,t)).match(E);return n&&"constructor"===n[1].trim()||a.throwArgumentError("invalid constructor string","value",e),t.inputs=m(n[2].trim(),!1),v(n[3].trim(),t),_.fromObject(t)}static isConstructorFragment(e){return e&&e._isFragment&&"constructor"===e.type}}class k extends _{format(e){if(e||(e=d.sighash),d[e]||a.throwArgumentError("invalid format type","format",e),e===d.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payble:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map(t=>JSON.parse(t.format(e))),ouputs:this.outputs.map(t=>JSON.parse(t.format(e)))});let t="";return e!==d.sighash&&(t+="function "),t+=this.name+"("+this.inputs.map(t=>t.format(e)).join(e===d.full?", ":",")+") ",e!==d.sighash&&(this.stateMutability?"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "):this.constant&&(t+="view "),this.outputs&&this.outputs.length&&(t+="returns ("+this.outputs.map(t=>t.format(e)).join(", ")+") "),null!=this.gas&&(t+="@"+this.gas.toString()+" ")),t.trim()}static from(e){return"string"==typeof e?k.fromString(e):k.fromObject(e)}static fromObject(e){if(k.isFunctionFragment(e))return e;"function"!==e.type&&a.throwArgumentError("invalid function object","value",e);let t=w(e);const n={type:e.type,name:O(e.name),constant:t.constant,inputs:e.inputs?e.inputs.map(h.fromObject):[],outputs:e.outputs?e.outputs.map(h.fromObject):[],payable:t.payable,stateMutability:t.stateMutability,gas:e.gas?r.a.from(e.gas):null};return new k(s,n)}static fromString(e){let t={type:"function"},n=(e=g(e,t)).split(" returns ");n.length>2&&a.throwArgumentError("invalid function string","value",e);let r=n[0].match(E);if(r||a.throwArgumentError("invalid function signature","value",e),t.name=r[1].trim(),t.name&&O(t.name),t.inputs=m(r[2],!1),v(r[3].trim(),t),n.length>1){let r=n[1].match(E);""==r[1].trim()&&""==r[3].trim()||a.throwArgumentError("unexpected tokens","value",e),t.outputs=m(r[2],!1)}else t.outputs=[];return k.fromObject(t)}static isFunctionFragment(e){return e&&e._isFragment&&"function"===e.type}}function x(e){return e.match(/^uint($|[^1-9])/)?e="uint256"+e.substring(4):e.match(/^int($|[^1-9])/)&&(e="int256"+e.substring(3)),e}const S=new RegExp("^[A-Za-z_][A-Za-z0-9_]*$");function O(e){return e&&e.match(S)||a.throwArgumentError(`invalid identifier "${e}"`,"value",e),e}const E=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$");var T=n(16);const A=new o.a("abi/5.0.7");function M(e){const t=[],n=function(e,r){if(Array.isArray(r))for(let i in r){const o=e.slice();o.push(i);try{n(o,r[i])}catch(e){t.push({path:o,error:e})}}};return n([],e),t}class I{constructor(e,t,n,r){this.name=e,this.type=t,this.localName=n,this.dynamic=r}_throwError(e,t){A.throwArgumentError(e,this.localName,t)}}class P{constructor(e){Object(i.c)(this,"wordSize",e||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(e)}get data(){return Object(T.c)(this._data)}get length(){return this._dataLength}_writeData(e){return this._data.push(e),this._dataLength+=e.length,e.length}appendWriter(e){return this._writeData(Object(T.b)(e._data))}writeBytes(e){let t=Object(T.a)(e);const n=t.length%this.wordSize;return n&&(t=Object(T.b)([t,this._padding.slice(n)])),this._writeData(t)}_getValue(e){let t=Object(T.a)(r.a.from(e));return t.length>this.wordSize&&A.throwError("value out-of-bounds",o.a.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:t.length}),t.length%this.wordSize&&(t=Object(T.b)([this._padding.slice(t.length%this.wordSize),t])),t}writeValue(e){return this._writeData(this._getValue(e))}writeUpdatableValue(){const e=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,t=>{this._data[e]=this._getValue(t)}}}class C{constructor(e,t,n,r){Object(i.c)(this,"_data",Object(T.a)(e)),Object(i.c)(this,"wordSize",t||32),Object(i.c)(this,"_coerceFunc",n),Object(i.c)(this,"allowLoose",r),this._offset=0}get data(){return Object(T.g)(this._data)}get consumed(){return this._offset}static coerce(e,t){let n=e.match("^u?int([0-9]+)$");return n&&parseInt(n[1])<=48&&(t=t.toNumber()),t}coerce(e,t){return this._coerceFunc?this._coerceFunc(e,t):C.coerce(e,t)}_peekBytes(e,t,n){let r=Math.ceil(t/this.wordSize)*this.wordSize;return this._offset+r>this._data.length&&(this.allowLoose&&n&&this._offset+t<=this._data.length?r=t:A.throwError("data out-of-bounds",o.a.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+r})),this._data.slice(this._offset,this._offset+r)}subReader(e){return new C(this._data.slice(this._offset+e),this.wordSize,this._coerceFunc,this.allowLoose)}readBytes(e,t){let n=this._peekBytes(0,e,!!t);return this._offset+=n.length,n.slice(0,e)}readValue(){return r.a.from(this.readBytes(this.wordSize))}}var j=n(417);class D extends I{constructor(e){super("address","address",e,!1)}encode(e,t){try{Object(j.a)(t)}catch(e){this._throwError(e.message,t)}return e.writeValue(t)}decode(e){return Object(j.a)(Object(T.f)(e.readValue().toHexString(),20))}}class R extends I{constructor(e){super(e.name,e.type,void 0,e.dynamic),this.coder=e}encode(e,t){return this.coder.encode(e,t)}decode(e){return this.coder.decode(e)}}const N=new o.a("abi/5.0.7");function B(e,t,n){let r=null;if(Array.isArray(n))r=n;else if(n&&"object"==typeof n){let e={};r=t.map(t=>{const r=t.localName;return r||N.throwError("cannot encode object for signature with missing names",o.a.errors.INVALID_ARGUMENT,{argument:"values",coder:t,value:n}),e[r]&&N.throwError("cannot encode object for signature with duplicate names",o.a.errors.INVALID_ARGUMENT,{argument:"values",coder:t,value:n}),e[r]=!0,n[r]})}else N.throwArgumentError("invalid tuple value","tuple",n);t.length!==r.length&&N.throwArgumentError("types/value length mismatch","tuple",n);let i=new P(e.wordSize),a=new P(e.wordSize),s=[];t.forEach((e,t)=>{let n=r[t];if(e.dynamic){let t=a.length;e.encode(a,n);let r=i.writeUpdatableValue();s.push(e=>{r(e+t)})}else e.encode(i,n)}),s.forEach(e=>{e(i.length)});let c=e.appendWriter(i);return c+=e.appendWriter(a),c}function L(e,t){let n=[],r=e.subReader(0);t.forEach(t=>{let i=null;if(t.dynamic){let n=e.readValue(),a=r.subReader(n.toNumber());try{i=t.decode(a)}catch(e){if(e.code===o.a.errors.BUFFER_OVERRUN)throw e;i=e,i.baseType=t.name,i.name=t.localName,i.type=t.type}}else try{i=t.decode(e)}catch(e){if(e.code===o.a.errors.BUFFER_OVERRUN)throw e;i=e,i.baseType=t.name,i.name=t.localName,i.type=t.type}null!=i&&n.push(i)});const i=t.reduce((e,t)=>{const n=t.localName;return n&&(e[n]||(e[n]=0),e[n]++),e},{});t.forEach((e,t)=>{let r=e.localName;if(!r||1!==i[r])return;if("length"===r&&(r="_length"),null!=n[r])return;const o=n[t];o instanceof Error?Object.defineProperty(n,r,{get:()=>{throw o}}):n[r]=o});for(let e=0;e{throw t}})}return Object.freeze(n)}class U extends I{constructor(e,t,n){super("array",e.type+"["+(t>=0?t:"")+"]",n,-1===t||e.dynamic),this.coder=e,this.length=t}encode(e,t){Array.isArray(t)||this._throwError("expected array value",t);let n=this.length;-1===n&&(n=t.length,e.writeValue(t.length)),N.checkArgumentCount(t.length,n,"coder array"+(this.localName?" "+this.localName:""));let r=[];for(let e=0;e>6==2;r++)e++;return e}return e===J.OVERRUN?n.length-t-1:0}!function(e){e.current="",e.NFC="NFC",e.NFD="NFD",e.NFKC="NFKC",e.NFKD="NFKD"}(G||(G={})),function(e){e.UNEXPECTED_CONTINUE="unexpected continuation byte",e.BAD_PREFIX="bad codepoint prefix",e.OVERRUN="string overrun",e.MISSING_CONTINUE="missing continuation byte",e.OUT_OF_RANGE="out of UTF-8 range",e.UTF16_SURROGATE="UTF-16 surrogate",e.OVERLONG="overlong representation"}(J||(J={}));const Y=Object.freeze({error:function(e,t,n,r,i){return W.throwArgumentError(`invalid codepoint at offset ${t}; ${e}`,"bytes",n)},ignore:Q,replace:function(e,t,n,r,i){return e===J.OVERLONG?(r.push(i),0):(r.push(65533),Q(e,t,n))}});function Z(e,t){null==t&&(t=Y.error),e=Object(T.a)(e);const n=[];let r=0;for(;r>7==0){n.push(i);continue}let o=null,a=null;if(192==(224&i))o=1,a=127;else if(224==(240&i))o=2,a=2047;else{if(240!=(248&i)){r+=t(128==(192&i)?J.UNEXPECTED_CONTINUE:J.BAD_PREFIX,r-1,e,n);continue}o=3,a=65535}if(r-1+o>=e.length){r+=t(J.OVERRUN,r-1,e,n);continue}let s=i&(1<<8-o-1)-1;for(let i=0;i1114111?r+=t(J.OUT_OF_RANGE,r-1-o,e,n,s):s>=55296&&s<=57343?r+=t(J.UTF16_SURROGATE,r-1-o,e,n,s):s<=a?r+=t(J.OVERLONG,r-1-o,e,n,s):n.push(s))}return n}function X(e,t=G.current){t!=G.current&&(W.checkNormalize(),e=e.normalize(t));let n=[];for(let t=0;t>6|192),n.push(63&r|128);else if(55296==(64512&r)){t++;const i=e.charCodeAt(t);if(t>=e.length||56320!=(64512&i))throw new Error("invalid utf-8 string");const o=65536+((1023&r)<<10)+(1023&i);n.push(o>>18|240),n.push(o>>12&63|128),n.push(o>>6&63|128),n.push(63&o|128)}else n.push(r>>12|224),n.push(r>>6&63|128),n.push(63&r|128)}return Object(T.a)(n)}function ee(e,t){return Z(e,t).map(e=>e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10&1023),56320+(1023&e)))).join("")}class te extends q{constructor(e){super("string",e)}encode(e,t){return super.encode(e,X(t))}decode(e){return ee(super.decode(e))}}class ne extends I{constructor(e,t){let n=!1;const r=[];e.forEach(e=>{e.dynamic&&(n=!0),r.push(e.type)});super("tuple","tuple("+r.join(",")+")",t,n),this.coders=e}encode(e,t){return B(e,this.coders,t)}decode(e){return e.coerce(this.name,L(e,this.coders))}}const re=new o.a("abi/5.0.7"),ie=new RegExp(/^bytes([0-9]*)$/),oe=new RegExp(/^(u?int)([0-9]*)$/);class ae{constructor(e){re.checkNew(new.target,ae),Object(i.c)(this,"coerceFunc",e||null)}_getCoder(e){switch(e.baseType){case"address":return new D(e.name);case"bool":return new F(e.name);case"string":return new te(e.name);case"bytes":return new z(e.name);case"array":return new U(this._getCoder(e.arrayChildren),e.arrayLength,e.name);case"tuple":return new ne((e.components||[]).map(e=>this._getCoder(e)),e.name);case"":return new H(e.name)}let t=e.type.match(oe);if(t){let n=parseInt(t[2]||"256");return(0===n||n>256||n%8!=0)&&re.throwArgumentError("invalid "+t[1]+" bit length","param",e),new K(n/8,"int"===t[1],e.name)}if(t=e.type.match(ie),t){let n=parseInt(t[1]);return(0===n||n>32)&&re.throwArgumentError("invalid bytes length","param",e),new V(n,e.name)}return re.throwArgumentError("invalid type","type",e.type)}_getWordSize(){return 32}_getReader(e,t){return new C(e,this._getWordSize(),this.coerceFunc,t)}_getWriter(){return new P(this._getWordSize())}encode(e,t){e.length!==t.length&&re.throwError("types/values length mismatch",o.a.errors.INVALID_ARGUMENT,{count:{types:e.length,values:t.length},value:{types:e,values:t}});const n=e.map(e=>this._getCoder(h.from(e))),r=new ne(n,"_"),i=this._getWriter();return r.encode(i,t),i.data}decode(e,t,n){const r=e.map(e=>this._getCoder(h.from(e)));return new ne(r,"_").decode(this._getReader(Object(T.a)(t),n))}}const se=new ae;var ce=n(214);function le(e){return Object(ce.a)(X(e))}const ue=new o.a("abi/5.0.7");class fe extends i.a{}class de extends i.a{}class pe extends i.a{static isIndexed(e){return!(!e||!e._isIndexed)}}function he(e,t){const n=new Error("deferred error during ABI decoding triggered accessing "+e);return n.error=t,n}class me{constructor(e){ue.checkNew(new.target,me);let t=[];t="string"==typeof e?JSON.parse(e):e,Object(i.c)(this,"fragments",t.map(e=>b.from(e)).filter(e=>null!=e)),Object(i.c)(this,"_abiCoder",Object(i.d)(new.target,"getAbiCoder")()),Object(i.c)(this,"functions",{}),Object(i.c)(this,"errors",{}),Object(i.c)(this,"events",{}),Object(i.c)(this,"structs",{}),this.fragments.forEach(e=>{let t=null;switch(e.type){case"constructor":return this.deploy?void ue.warn("duplicate definition - constructor"):void Object(i.c)(this,"deploy",e);case"function":t=this.functions;break;case"event":t=this.events;break;default:return}let n=e.format();t[n]?ue.warn("duplicate definition - "+n):t[n]=e}),this.deploy||Object(i.c)(this,"deploy",_.from({payable:!1,type:"constructor"})),Object(i.c)(this,"_isInterface",!0)}format(e){e||(e=d.full),e===d.sighash&&ue.throwArgumentError("interface does not support formatting sighash","format",e);const t=this.fragments.map(t=>t.format(e));return e===d.json?JSON.stringify(t.map(e=>JSON.parse(e))):t}static getAbiCoder(){return se}static getAddress(e){return Object(j.a)(e)}static getSighash(e){return Object(T.e)(le(e.format()),0,4)}static getEventTopic(e){return le(e.format())}getFunction(e){if(Object(T.j)(e)){for(const t in this.functions)if(e===this.getSighash(t))return this.functions[t];ue.throwArgumentError("no matching function","sighash",e)}if(-1===e.indexOf("(")){const t=e.trim(),n=Object.keys(this.functions).filter(e=>e.split("(")[0]===t);return 0===n.length?ue.throwArgumentError("no matching function","name",t):n.length>1&&ue.throwArgumentError("multiple matching functions","name",t),this.functions[n[0]]}const t=this.functions[k.fromString(e).format()];return t||ue.throwArgumentError("no matching function","signature",e),t}getEvent(e){if(Object(T.j)(e)){const t=e.toLowerCase();for(const e in this.events)if(t===this.getEventTopic(e))return this.events[e];ue.throwArgumentError("no matching event","topichash",t)}if(-1===e.indexOf("(")){const t=e.trim(),n=Object.keys(this.events).filter(e=>e.split("(")[0]===t);return 0===n.length?ue.throwArgumentError("no matching event","name",t):n.length>1&&ue.throwArgumentError("multiple matching events","name",t),this.events[n[0]]}const t=this.events[y.fromString(e).format()];return t||ue.throwArgumentError("no matching event","signature",e),t}getSighash(e){return"string"==typeof e&&(e=this.getFunction(e)),Object(i.d)(this.constructor,"getSighash")(e)}getEventTopic(e){return"string"==typeof e&&(e=this.getEvent(e)),Object(i.d)(this.constructor,"getEventTopic")(e)}_decodeParams(e,t){return this._abiCoder.decode(e,t)}_encodeParams(e,t){return this._abiCoder.encode(e,t)}encodeDeploy(e){return this._encodeParams(this.deploy.inputs,e||[])}decodeFunctionData(e,t){"string"==typeof e&&(e=this.getFunction(e));const n=Object(T.a)(t);return Object(T.g)(n.slice(0,4))!==this.getSighash(e)&&ue.throwArgumentError(`data signature does not match function ${e.name}.`,"data",Object(T.g)(n)),this._decodeParams(e.inputs,n.slice(4))}encodeFunctionData(e,t){return"string"==typeof e&&(e=this.getFunction(e)),Object(T.g)(Object(T.b)([this.getSighash(e),this._encodeParams(e.inputs,t||[])]))}decodeFunctionResult(e,t){"string"==typeof e&&(e=this.getFunction(e));let n=Object(T.a)(t),r=null,i=null;switch(n.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(e.outputs,n)}catch(e){}break;case 4:"0x08c379a0"===Object(T.g)(n.slice(0,4))&&(i="Error(string)",r=this._abiCoder.decode(["string"],n.slice(4))[0])}return ue.throwError("call revert exception",o.a.errors.CALL_EXCEPTION,{method:e.format(),errorSignature:i,errorArgs:[r],reason:r})}encodeFunctionResult(e,t){return"string"==typeof e&&(e=this.getFunction(e)),Object(T.g)(this._abiCoder.encode(e.outputs,t||[]))}encodeFilterTopics(e,t){"string"==typeof e&&(e=this.getEvent(e)),t.length>e.inputs.length&&ue.throwError("too many arguments for "+e.format(),o.a.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:t});let n=[];e.anonymous||n.push(this.getEventTopic(e));const r=(e,t)=>"string"===e.type?le(t):"bytes"===e.type?Object(ce.a)(Object(T.g)(t)):("address"===e.type&&this._abiCoder.encode(["address"],[t]),Object(T.f)(Object(T.g)(t),32));for(t.forEach((t,i)=>{let o=e.inputs[i];o.indexed?null==t?n.push(null):"array"===o.baseType||"tuple"===o.baseType?ue.throwArgumentError("filtering with tuples or arrays not supported","contract."+o.name,t):Array.isArray(t)?n.push(t.map(e=>r(o,e))):n.push(r(o,t)):null!=t&&ue.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+o.name,t)});n.length&&null===n[n.length-1];)n.pop();return n}encodeEventLog(e,t){"string"==typeof e&&(e=this.getEvent(e));const n=[],r=[],i=[];return e.anonymous||n.push(this.getEventTopic(e)),t.length!==e.inputs.length&&ue.throwArgumentError("event arguments/values mismatch","values",t),e.inputs.forEach((e,o)=>{const a=t[o];if(e.indexed)if("string"===e.type)n.push(le(a));else if("bytes"===e.type)n.push(Object(ce.a)(a));else{if("tuple"===e.baseType||"array"===e.baseType)throw new Error("not implemented");n.push(this._abiCoder.encode([e.type],[a]))}else r.push(e),i.push(a)}),{data:this._abiCoder.encode(r,i),topics:n}}decodeEventLog(e,t,n){if("string"==typeof e&&(e=this.getEvent(e)),null!=n&&!e.anonymous){let t=this.getEventTopic(e);Object(T.j)(n[0],32)&&n[0].toLowerCase()===t||ue.throwError("fragment/topic mismatch",o.a.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:t,value:n[0]}),n=n.slice(1)}let r=[],i=[],a=[];e.inputs.forEach((e,t)=>{e.indexed?"string"===e.type||"bytes"===e.type||"tuple"===e.baseType||"array"===e.baseType?(r.push(h.fromObject({type:"bytes32",name:e.name})),a.push(!0)):(r.push(e),a.push(!1)):(i.push(e),a.push(!1))});let s=null!=n?this._abiCoder.decode(r,Object(T.b)(n)):null,c=this._abiCoder.decode(i,t,!0),l=[],u=0,f=0;e.inputs.forEach((e,t)=>{if(e.indexed)if(null==s)l[t]=new pe({_isIndexed:!0,hash:null});else if(a[t])l[t]=new pe({_isIndexed:!0,hash:s[f++]});else try{l[t]=s[f++]}catch(e){l[t]=e}else try{l[t]=c[u++]}catch(e){l[t]=e}if(e.name&&null==l[e.name]){const n=l[t];n instanceof Error?Object.defineProperty(l,e.name,{get:()=>{throw he("property "+JSON.stringify(e.name),n)}}):l[e.name]=n}});for(let e=0;e{throw he("index "+e,t)}})}return Object.freeze(l)}parseTransaction(e){let t=this.getFunction(e.data.substring(0,10).toLowerCase());return t?new de({args:this._abiCoder.decode(t.inputs,"0x"+e.data.substring(10)),functionFragment:t,name:t.name,signature:t.format(),sighash:this.getSighash(t),value:r.a.from(e.value||"0")}):null}parseLog(e){let t=this.getEvent(e.topics[0]);return!t||t.anonymous?null:new fe({eventFragment:t,name:t.name,signature:t.format(),topic:this.getEventTopic(t),args:this.decodeEventLog(t,e.data,e.topics)})}static isInterface(e){return!(!e||!e._isInterface)}}},function(e,t,n){"use strict";n.r(t),n.d(t,"ConstructorFragment",(function(){return _})),n.d(t,"EventFragment",(function(){return y})),n.d(t,"Fragment",(function(){return b})),n.d(t,"FunctionFragment",(function(){return k})),n.d(t,"ParamType",(function(){return h})),n.d(t,"FormatTypes",(function(){return d})),n.d(t,"AbiCoder",(function(){return ae})),n.d(t,"defaultAbiCoder",(function(){return se})),n.d(t,"Interface",(function(){return me})),n.d(t,"Indexed",(function(){return pe})),n.d(t,"checkResultErrors",(function(){return M})),n.d(t,"LogDescription",(function(){return fe})),n.d(t,"TransactionDescription",(function(){return de}));var r=n(851),i=n(61),o=n(36);const a=new o.a("abi/5.0.7"),s={};let c={calldata:!0,memory:!0,storage:!0},l={calldata:!0,memory:!0};function u(e,t){if("bytes"===e||"string"===e){if(c[t])return!0}else if("address"===e){if("payable"===t)return!0}else if((e.indexOf("[")>=0||"tuple"===e)&&l[t])return!0;return(c[t]||"payable"===t)&&a.throwArgumentError("invalid modifier","name",t),!1}function f(e,t){for(let n in t)Object(i.c)(e,n,t[n])}const d=Object.freeze({sighash:"sighash",minimal:"minimal",full:"full",json:"json"}),p=new RegExp(/^(.*)\[([0-9]*)\]$/);class h{constructor(e,t){e!==s&&a.throwError("use fromString",o.a.errors.UNSUPPORTED_OPERATION,{operation:"new ParamType()"}),f(this,t);let n=this.type.match(p);f(this,n?{arrayLength:parseInt(n[2]||"-1"),arrayChildren:h.fromObject({type:n[1],components:this.components}),baseType:"array"}:{arrayLength:null,arrayChildren:null,baseType:null!=this.components?"tuple":this.type}),this._isParamType=!0,Object.freeze(this)}format(e){if(e||(e=d.sighash),d[e]||a.throwArgumentError("invalid format type","format",e),e===d.json){let t={type:"tuple"===this.baseType?"tuple":this.type,name:this.name||void 0};return"boolean"==typeof this.indexed&&(t.indexed=this.indexed),this.components&&(t.components=this.components.map(t=>JSON.parse(t.format(e)))),JSON.stringify(t)}let t="";return"array"===this.baseType?(t+=this.arrayChildren.format(e),t+="["+(this.arrayLength<0?"":String(this.arrayLength))+"]"):"tuple"===this.baseType?(e!==d.sighash&&(t+=this.type),t+="("+this.components.map(t=>t.format(e)).join(e===d.full?", ":",")+")"):t+=this.type,e!==d.sighash&&(!0===this.indexed&&(t+=" indexed"),e===d.full&&this.name&&(t+=" "+this.name)),t}static from(e,t){return"string"==typeof e?h.fromString(e,t):h.fromObject(e)}static fromObject(e){return h.isParamType(e)?e:new h(s,{name:e.name||null,type:x(e.type),indexed:null==e.indexed?null:!!e.indexed,components:e.components?e.components.map(h.fromObject):null})}static fromString(e,t){return function(e){return h.fromObject({name:e.name,type:e.type,indexed:e.indexed,components:e.components})}(function(e,t){let n=e;function r(t){a.throwArgumentError("unexpected character at position "+t,"param",e)}function i(e){let n={type:"",name:"",parent:e,state:{allowType:!0}};return t&&(n.indexed=!1),n}e=e.replace(/\s/g," ");let o={type:"",name:"",state:{allowType:!0}},s=o;for(let n=0;nh.fromString(e,t))}class b{constructor(e,t){e!==s&&a.throwError("use a static from method",o.a.errors.UNSUPPORTED_OPERATION,{operation:"new Fragment()"}),f(this,t),this._isFragment=!0,Object.freeze(this)}static from(e){return b.isFragment(e)?e:"string"==typeof e?b.fromString(e):b.fromObject(e)}static fromObject(e){if(b.isFragment(e))return e;switch(e.type){case"function":return k.fromObject(e);case"event":return y.fromObject(e);case"constructor":return _.fromObject(e);case"fallback":case"receive":return null}return a.throwArgumentError("invalid fragment object","value",e)}static fromString(e){return"event"===(e=(e=(e=e.replace(/\s/g," ")).replace(/\(/g," (").replace(/\)/g,") ").replace(/\s+/g," ")).trim()).split(" ")[0]?y.fromString(e.substring(5).trim()):"function"===e.split(" ")[0]?k.fromString(e.substring(8).trim()):"constructor"===e.split("(")[0].trim()?_.fromString(e.trim()):a.throwArgumentError("unsupported fragment","value",e)}static isFragment(e){return!(!e||!e._isFragment)}}class y extends b{format(e){if(e||(e=d.sighash),d[e]||a.throwArgumentError("invalid format type","format",e),e===d.json)return JSON.stringify({type:"event",anonymous:this.anonymous,name:this.name,inputs:this.inputs.map(t=>JSON.parse(t.format(e)))});let t="";return e!==d.sighash&&(t+="event "),t+=this.name+"("+this.inputs.map(t=>t.format(e)).join(e===d.full?", ":",")+") ",e!==d.sighash&&this.anonymous&&(t+="anonymous "),t.trim()}static from(e){return"string"==typeof e?y.fromString(e):y.fromObject(e)}static fromObject(e){if(y.isEventFragment(e))return e;"event"!==e.type&&a.throwArgumentError("invalid event object","value",e);const t={name:O(e.name),anonymous:e.anonymous,inputs:e.inputs?e.inputs.map(h.fromObject):[],type:"event"};return new y(s,t)}static fromString(e){let t=e.match(E);t||a.throwArgumentError("invalid event string","value",e);let n=!1;return t[3].split(" ").forEach(e=>{switch(e.trim()){case"anonymous":n=!0;break;case"":break;default:a.warn("unknown modifier: "+e)}}),y.fromObject({name:t[1].trim(),anonymous:n,inputs:m(t[2],!0),type:"event"})}static isEventFragment(e){return e&&e._isFragment&&"event"===e.type}}function g(e,t){t.gas=null;let n=e.split("@");return 1!==n.length?(n.length>2&&a.throwArgumentError("invalid human-readable ABI signature","value",e),n[1].match(/^[0-9]+$/)||a.throwArgumentError("invalid human-readable ABI signature gas","value",e),t.gas=r.a.from(n[1]),n[0]):e}function v(e,t){t.constant=!1,t.payable=!1,t.stateMutability="nonpayable",e.split(" ").forEach(e=>{switch(e.trim()){case"constant":t.constant=!0;break;case"payable":t.payable=!0,t.stateMutability="payable";break;case"nonpayable":t.payable=!1,t.stateMutability="nonpayable";break;case"pure":t.constant=!0,t.stateMutability="pure";break;case"view":t.constant=!0,t.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+e)}})}function w(e){let t={constant:!1,payable:!0,stateMutability:"payable"};return null!=e.stateMutability?(t.stateMutability=e.stateMutability,t.constant="view"===t.stateMutability||"pure"===t.stateMutability,null!=e.constant&&!!e.constant!==t.constant&&a.throwArgumentError("cannot have constant function with mutability "+t.stateMutability,"value",e),t.payable="payable"===t.stateMutability,null!=e.payable&&!!e.payable!==t.payable&&a.throwArgumentError("cannot have payable function with mutability "+t.stateMutability,"value",e)):null!=e.payable?(t.payable=!!e.payable,null!=e.constant||t.payable||"constructor"===e.type||a.throwArgumentError("unable to determine stateMutability","value",e),t.constant=!!e.constant,t.constant?t.stateMutability="view":t.stateMutability=t.payable?"payable":"nonpayable",t.payable&&t.constant&&a.throwArgumentError("cannot have constant payable function","value",e)):null!=e.constant?(t.constant=!!e.constant,t.payable=!t.constant,t.stateMutability=t.constant?"view":"payable"):"constructor"!==e.type&&a.throwArgumentError("unable to determine stateMutability","value",e),t}class _ extends b{format(e){if(e||(e=d.sighash),d[e]||a.throwArgumentError("invalid format type","format",e),e===d.json)return JSON.stringify({type:"constructor",stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payble:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map(t=>JSON.parse(t.format(e)))});e===d.sighash&&a.throwError("cannot format a constructor for sighash",o.a.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});let t="constructor("+this.inputs.map(t=>t.format(e)).join(e===d.full?", ":",")+") ";return this.stateMutability&&"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "),t.trim()}static from(e){return"string"==typeof e?_.fromString(e):_.fromObject(e)}static fromObject(e){if(_.isConstructorFragment(e))return e;"constructor"!==e.type&&a.throwArgumentError("invalid constructor object","value",e);let t=w(e);t.constant&&a.throwArgumentError("constructor cannot be constant","value",e);const n={name:null,type:e.type,inputs:e.inputs?e.inputs.map(h.fromObject):[],payable:t.payable,stateMutability:t.stateMutability,gas:e.gas?r.a.from(e.gas):null};return new _(s,n)}static fromString(e){let t={type:"constructor"},n=(e=g(e,t)).match(E);return n&&"constructor"===n[1].trim()||a.throwArgumentError("invalid constructor string","value",e),t.inputs=m(n[2].trim(),!1),v(n[3].trim(),t),_.fromObject(t)}static isConstructorFragment(e){return e&&e._isFragment&&"constructor"===e.type}}class k extends _{format(e){if(e||(e=d.sighash),d[e]||a.throwArgumentError("invalid format type","format",e),e===d.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payble:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map(t=>JSON.parse(t.format(e))),ouputs:this.outputs.map(t=>JSON.parse(t.format(e)))});let t="";return e!==d.sighash&&(t+="function "),t+=this.name+"("+this.inputs.map(t=>t.format(e)).join(e===d.full?", ":",")+") ",e!==d.sighash&&(this.stateMutability?"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "):this.constant&&(t+="view "),this.outputs&&this.outputs.length&&(t+="returns ("+this.outputs.map(t=>t.format(e)).join(", ")+") "),null!=this.gas&&(t+="@"+this.gas.toString()+" ")),t.trim()}static from(e){return"string"==typeof e?k.fromString(e):k.fromObject(e)}static fromObject(e){if(k.isFunctionFragment(e))return e;"function"!==e.type&&a.throwArgumentError("invalid function object","value",e);let t=w(e);const n={type:e.type,name:O(e.name),constant:t.constant,inputs:e.inputs?e.inputs.map(h.fromObject):[],outputs:e.outputs?e.outputs.map(h.fromObject):[],payable:t.payable,stateMutability:t.stateMutability,gas:e.gas?r.a.from(e.gas):null};return new k(s,n)}static fromString(e){let t={type:"function"},n=(e=g(e,t)).split(" returns ");n.length>2&&a.throwArgumentError("invalid function string","value",e);let r=n[0].match(E);if(r||a.throwArgumentError("invalid function signature","value",e),t.name=r[1].trim(),t.name&&O(t.name),t.inputs=m(r[2],!1),v(r[3].trim(),t),n.length>1){let r=n[1].match(E);""==r[1].trim()&&""==r[3].trim()||a.throwArgumentError("unexpected tokens","value",e),t.outputs=m(r[2],!1)}else t.outputs=[];return k.fromObject(t)}static isFunctionFragment(e){return e&&e._isFragment&&"function"===e.type}}function x(e){return e.match(/^uint($|[^1-9])/)?e="uint256"+e.substring(4):e.match(/^int($|[^1-9])/)&&(e="int256"+e.substring(3)),e}const S=new RegExp("^[A-Za-z_][A-Za-z0-9_]*$");function O(e){return e&&e.match(S)||a.throwArgumentError(`invalid identifier "${e}"`,"value",e),e}const E=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$");var T=n(17);const A=new o.a("abi/5.0.7");function M(e){const t=[],n=function(e,r){if(Array.isArray(r))for(let i in r){const o=e.slice();o.push(i);try{n(o,r[i])}catch(e){t.push({path:o,error:e})}}};return n([],e),t}class I{constructor(e,t,n,r){this.name=e,this.type=t,this.localName=n,this.dynamic=r}_throwError(e,t){A.throwArgumentError(e,this.localName,t)}}class P{constructor(e){Object(i.c)(this,"wordSize",e||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(e)}get data(){return Object(T.c)(this._data)}get length(){return this._dataLength}_writeData(e){return this._data.push(e),this._dataLength+=e.length,e.length}appendWriter(e){return this._writeData(Object(T.b)(e._data))}writeBytes(e){let t=Object(T.a)(e);const n=t.length%this.wordSize;return n&&(t=Object(T.b)([t,this._padding.slice(n)])),this._writeData(t)}_getValue(e){let t=Object(T.a)(r.a.from(e));return t.length>this.wordSize&&A.throwError("value out-of-bounds",o.a.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:t.length}),t.length%this.wordSize&&(t=Object(T.b)([this._padding.slice(t.length%this.wordSize),t])),t}writeValue(e){return this._writeData(this._getValue(e))}writeUpdatableValue(){const e=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,t=>{this._data[e]=this._getValue(t)}}}class C{constructor(e,t,n,r){Object(i.c)(this,"_data",Object(T.a)(e)),Object(i.c)(this,"wordSize",t||32),Object(i.c)(this,"_coerceFunc",n),Object(i.c)(this,"allowLoose",r),this._offset=0}get data(){return Object(T.g)(this._data)}get consumed(){return this._offset}static coerce(e,t){let n=e.match("^u?int([0-9]+)$");return n&&parseInt(n[1])<=48&&(t=t.toNumber()),t}coerce(e,t){return this._coerceFunc?this._coerceFunc(e,t):C.coerce(e,t)}_peekBytes(e,t,n){let r=Math.ceil(t/this.wordSize)*this.wordSize;return this._offset+r>this._data.length&&(this.allowLoose&&n&&this._offset+t<=this._data.length?r=t:A.throwError("data out-of-bounds",o.a.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+r})),this._data.slice(this._offset,this._offset+r)}subReader(e){return new C(this._data.slice(this._offset+e),this.wordSize,this._coerceFunc,this.allowLoose)}readBytes(e,t){let n=this._peekBytes(0,e,!!t);return this._offset+=n.length,n.slice(0,e)}readValue(){return r.a.from(this.readBytes(this.wordSize))}}var j=n(418);class D extends I{constructor(e){super("address","address",e,!1)}encode(e,t){try{Object(j.a)(t)}catch(e){this._throwError(e.message,t)}return e.writeValue(t)}decode(e){return Object(j.a)(Object(T.f)(e.readValue().toHexString(),20))}}class R extends I{constructor(e){super(e.name,e.type,void 0,e.dynamic),this.coder=e}encode(e,t){return this.coder.encode(e,t)}decode(e){return this.coder.decode(e)}}const N=new o.a("abi/5.0.7");function B(e,t,n){let r=null;if(Array.isArray(n))r=n;else if(n&&"object"==typeof n){let e={};r=t.map(t=>{const r=t.localName;return r||N.throwError("cannot encode object for signature with missing names",o.a.errors.INVALID_ARGUMENT,{argument:"values",coder:t,value:n}),e[r]&&N.throwError("cannot encode object for signature with duplicate names",o.a.errors.INVALID_ARGUMENT,{argument:"values",coder:t,value:n}),e[r]=!0,n[r]})}else N.throwArgumentError("invalid tuple value","tuple",n);t.length!==r.length&&N.throwArgumentError("types/value length mismatch","tuple",n);let i=new P(e.wordSize),a=new P(e.wordSize),s=[];t.forEach((e,t)=>{let n=r[t];if(e.dynamic){let t=a.length;e.encode(a,n);let r=i.writeUpdatableValue();s.push(e=>{r(e+t)})}else e.encode(i,n)}),s.forEach(e=>{e(i.length)});let c=e.appendWriter(i);return c+=e.appendWriter(a),c}function L(e,t){let n=[],r=e.subReader(0);t.forEach(t=>{let i=null;if(t.dynamic){let n=e.readValue(),a=r.subReader(n.toNumber());try{i=t.decode(a)}catch(e){if(e.code===o.a.errors.BUFFER_OVERRUN)throw e;i=e,i.baseType=t.name,i.name=t.localName,i.type=t.type}}else try{i=t.decode(e)}catch(e){if(e.code===o.a.errors.BUFFER_OVERRUN)throw e;i=e,i.baseType=t.name,i.name=t.localName,i.type=t.type}null!=i&&n.push(i)});const i=t.reduce((e,t)=>{const n=t.localName;return n&&(e[n]||(e[n]=0),e[n]++),e},{});t.forEach((e,t)=>{let r=e.localName;if(!r||1!==i[r])return;if("length"===r&&(r="_length"),null!=n[r])return;const o=n[t];o instanceof Error?Object.defineProperty(n,r,{get:()=>{throw o}}):n[r]=o});for(let e=0;e{throw t}})}return Object.freeze(n)}class U extends I{constructor(e,t,n){super("array",e.type+"["+(t>=0?t:"")+"]",n,-1===t||e.dynamic),this.coder=e,this.length=t}encode(e,t){Array.isArray(t)||this._throwError("expected array value",t);let n=this.length;-1===n&&(n=t.length,e.writeValue(t.length)),N.checkArgumentCount(t.length,n,"coder array"+(this.localName?" "+this.localName:""));let r=[];for(let e=0;e>6==2;r++)e++;return e}return e===J.OVERRUN?n.length-t-1:0}!function(e){e.current="",e.NFC="NFC",e.NFD="NFD",e.NFKC="NFKC",e.NFKD="NFKD"}(G||(G={})),function(e){e.UNEXPECTED_CONTINUE="unexpected continuation byte",e.BAD_PREFIX="bad codepoint prefix",e.OVERRUN="string overrun",e.MISSING_CONTINUE="missing continuation byte",e.OUT_OF_RANGE="out of UTF-8 range",e.UTF16_SURROGATE="UTF-16 surrogate",e.OVERLONG="overlong representation"}(J||(J={}));const Y=Object.freeze({error:function(e,t,n,r,i){return W.throwArgumentError(`invalid codepoint at offset ${t}; ${e}`,"bytes",n)},ignore:Q,replace:function(e,t,n,r,i){return e===J.OVERLONG?(r.push(i),0):(r.push(65533),Q(e,t,n))}});function Z(e,t){null==t&&(t=Y.error),e=Object(T.a)(e);const n=[];let r=0;for(;r>7==0){n.push(i);continue}let o=null,a=null;if(192==(224&i))o=1,a=127;else if(224==(240&i))o=2,a=2047;else{if(240!=(248&i)){r+=t(128==(192&i)?J.UNEXPECTED_CONTINUE:J.BAD_PREFIX,r-1,e,n);continue}o=3,a=65535}if(r-1+o>=e.length){r+=t(J.OVERRUN,r-1,e,n);continue}let s=i&(1<<8-o-1)-1;for(let i=0;i1114111?r+=t(J.OUT_OF_RANGE,r-1-o,e,n,s):s>=55296&&s<=57343?r+=t(J.UTF16_SURROGATE,r-1-o,e,n,s):s<=a?r+=t(J.OVERLONG,r-1-o,e,n,s):n.push(s))}return n}function X(e,t=G.current){t!=G.current&&(W.checkNormalize(),e=e.normalize(t));let n=[];for(let t=0;t>6|192),n.push(63&r|128);else if(55296==(64512&r)){t++;const i=e.charCodeAt(t);if(t>=e.length||56320!=(64512&i))throw new Error("invalid utf-8 string");const o=65536+((1023&r)<<10)+(1023&i);n.push(o>>18|240),n.push(o>>12&63|128),n.push(o>>6&63|128),n.push(63&o|128)}else n.push(r>>12|224),n.push(r>>6&63|128),n.push(63&r|128)}return Object(T.a)(n)}function ee(e,t){return Z(e,t).map(e=>e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10&1023),56320+(1023&e)))).join("")}class te extends q{constructor(e){super("string",e)}encode(e,t){return super.encode(e,X(t))}decode(e){return ee(super.decode(e))}}class ne extends I{constructor(e,t){let n=!1;const r=[];e.forEach(e=>{e.dynamic&&(n=!0),r.push(e.type)});super("tuple","tuple("+r.join(",")+")",t,n),this.coders=e}encode(e,t){return B(e,this.coders,t)}decode(e){return e.coerce(this.name,L(e,this.coders))}}const re=new o.a("abi/5.0.7"),ie=new RegExp(/^bytes([0-9]*)$/),oe=new RegExp(/^(u?int)([0-9]*)$/);class ae{constructor(e){re.checkNew(new.target,ae),Object(i.c)(this,"coerceFunc",e||null)}_getCoder(e){switch(e.baseType){case"address":return new D(e.name);case"bool":return new F(e.name);case"string":return new te(e.name);case"bytes":return new z(e.name);case"array":return new U(this._getCoder(e.arrayChildren),e.arrayLength,e.name);case"tuple":return new ne((e.components||[]).map(e=>this._getCoder(e)),e.name);case"":return new H(e.name)}let t=e.type.match(oe);if(t){let n=parseInt(t[2]||"256");return(0===n||n>256||n%8!=0)&&re.throwArgumentError("invalid "+t[1]+" bit length","param",e),new K(n/8,"int"===t[1],e.name)}if(t=e.type.match(ie),t){let n=parseInt(t[1]);return(0===n||n>32)&&re.throwArgumentError("invalid bytes length","param",e),new V(n,e.name)}return re.throwArgumentError("invalid type","type",e.type)}_getWordSize(){return 32}_getReader(e,t){return new C(e,this._getWordSize(),this.coerceFunc,t)}_getWriter(){return new P(this._getWordSize())}encode(e,t){e.length!==t.length&&re.throwError("types/values length mismatch",o.a.errors.INVALID_ARGUMENT,{count:{types:e.length,values:t.length},value:{types:e,values:t}});const n=e.map(e=>this._getCoder(h.from(e))),r=new ne(n,"_"),i=this._getWriter();return r.encode(i,t),i.data}decode(e,t,n){const r=e.map(e=>this._getCoder(h.from(e)));return new ne(r,"_").decode(this._getReader(Object(T.a)(t),n))}}const se=new ae;var ce=n(216);function le(e){return Object(ce.a)(X(e))}const ue=new o.a("abi/5.0.7");class fe extends i.a{}class de extends i.a{}class pe extends i.a{static isIndexed(e){return!(!e||!e._isIndexed)}}function he(e,t){const n=new Error("deferred error during ABI decoding triggered accessing "+e);return n.error=t,n}class me{constructor(e){ue.checkNew(new.target,me);let t=[];t="string"==typeof e?JSON.parse(e):e,Object(i.c)(this,"fragments",t.map(e=>b.from(e)).filter(e=>null!=e)),Object(i.c)(this,"_abiCoder",Object(i.d)(new.target,"getAbiCoder")()),Object(i.c)(this,"functions",{}),Object(i.c)(this,"errors",{}),Object(i.c)(this,"events",{}),Object(i.c)(this,"structs",{}),this.fragments.forEach(e=>{let t=null;switch(e.type){case"constructor":return this.deploy?void ue.warn("duplicate definition - constructor"):void Object(i.c)(this,"deploy",e);case"function":t=this.functions;break;case"event":t=this.events;break;default:return}let n=e.format();t[n]?ue.warn("duplicate definition - "+n):t[n]=e}),this.deploy||Object(i.c)(this,"deploy",_.from({payable:!1,type:"constructor"})),Object(i.c)(this,"_isInterface",!0)}format(e){e||(e=d.full),e===d.sighash&&ue.throwArgumentError("interface does not support formatting sighash","format",e);const t=this.fragments.map(t=>t.format(e));return e===d.json?JSON.stringify(t.map(e=>JSON.parse(e))):t}static getAbiCoder(){return se}static getAddress(e){return Object(j.a)(e)}static getSighash(e){return Object(T.e)(le(e.format()),0,4)}static getEventTopic(e){return le(e.format())}getFunction(e){if(Object(T.j)(e)){for(const t in this.functions)if(e===this.getSighash(t))return this.functions[t];ue.throwArgumentError("no matching function","sighash",e)}if(-1===e.indexOf("(")){const t=e.trim(),n=Object.keys(this.functions).filter(e=>e.split("(")[0]===t);return 0===n.length?ue.throwArgumentError("no matching function","name",t):n.length>1&&ue.throwArgumentError("multiple matching functions","name",t),this.functions[n[0]]}const t=this.functions[k.fromString(e).format()];return t||ue.throwArgumentError("no matching function","signature",e),t}getEvent(e){if(Object(T.j)(e)){const t=e.toLowerCase();for(const e in this.events)if(t===this.getEventTopic(e))return this.events[e];ue.throwArgumentError("no matching event","topichash",t)}if(-1===e.indexOf("(")){const t=e.trim(),n=Object.keys(this.events).filter(e=>e.split("(")[0]===t);return 0===n.length?ue.throwArgumentError("no matching event","name",t):n.length>1&&ue.throwArgumentError("multiple matching events","name",t),this.events[n[0]]}const t=this.events[y.fromString(e).format()];return t||ue.throwArgumentError("no matching event","signature",e),t}getSighash(e){return"string"==typeof e&&(e=this.getFunction(e)),Object(i.d)(this.constructor,"getSighash")(e)}getEventTopic(e){return"string"==typeof e&&(e=this.getEvent(e)),Object(i.d)(this.constructor,"getEventTopic")(e)}_decodeParams(e,t){return this._abiCoder.decode(e,t)}_encodeParams(e,t){return this._abiCoder.encode(e,t)}encodeDeploy(e){return this._encodeParams(this.deploy.inputs,e||[])}decodeFunctionData(e,t){"string"==typeof e&&(e=this.getFunction(e));const n=Object(T.a)(t);return Object(T.g)(n.slice(0,4))!==this.getSighash(e)&&ue.throwArgumentError(`data signature does not match function ${e.name}.`,"data",Object(T.g)(n)),this._decodeParams(e.inputs,n.slice(4))}encodeFunctionData(e,t){return"string"==typeof e&&(e=this.getFunction(e)),Object(T.g)(Object(T.b)([this.getSighash(e),this._encodeParams(e.inputs,t||[])]))}decodeFunctionResult(e,t){"string"==typeof e&&(e=this.getFunction(e));let n=Object(T.a)(t),r=null,i=null;switch(n.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(e.outputs,n)}catch(e){}break;case 4:"0x08c379a0"===Object(T.g)(n.slice(0,4))&&(i="Error(string)",r=this._abiCoder.decode(["string"],n.slice(4))[0])}return ue.throwError("call revert exception",o.a.errors.CALL_EXCEPTION,{method:e.format(),errorSignature:i,errorArgs:[r],reason:r})}encodeFunctionResult(e,t){return"string"==typeof e&&(e=this.getFunction(e)),Object(T.g)(this._abiCoder.encode(e.outputs,t||[]))}encodeFilterTopics(e,t){"string"==typeof e&&(e=this.getEvent(e)),t.length>e.inputs.length&&ue.throwError("too many arguments for "+e.format(),o.a.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:t});let n=[];e.anonymous||n.push(this.getEventTopic(e));const r=(e,t)=>"string"===e.type?le(t):"bytes"===e.type?Object(ce.a)(Object(T.g)(t)):("address"===e.type&&this._abiCoder.encode(["address"],[t]),Object(T.f)(Object(T.g)(t),32));for(t.forEach((t,i)=>{let o=e.inputs[i];o.indexed?null==t?n.push(null):"array"===o.baseType||"tuple"===o.baseType?ue.throwArgumentError("filtering with tuples or arrays not supported","contract."+o.name,t):Array.isArray(t)?n.push(t.map(e=>r(o,e))):n.push(r(o,t)):null!=t&&ue.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+o.name,t)});n.length&&null===n[n.length-1];)n.pop();return n}encodeEventLog(e,t){"string"==typeof e&&(e=this.getEvent(e));const n=[],r=[],i=[];return e.anonymous||n.push(this.getEventTopic(e)),t.length!==e.inputs.length&&ue.throwArgumentError("event arguments/values mismatch","values",t),e.inputs.forEach((e,o)=>{const a=t[o];if(e.indexed)if("string"===e.type)n.push(le(a));else if("bytes"===e.type)n.push(Object(ce.a)(a));else{if("tuple"===e.baseType||"array"===e.baseType)throw new Error("not implemented");n.push(this._abiCoder.encode([e.type],[a]))}else r.push(e),i.push(a)}),{data:this._abiCoder.encode(r,i),topics:n}}decodeEventLog(e,t,n){if("string"==typeof e&&(e=this.getEvent(e)),null!=n&&!e.anonymous){let t=this.getEventTopic(e);Object(T.j)(n[0],32)&&n[0].toLowerCase()===t||ue.throwError("fragment/topic mismatch",o.a.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:t,value:n[0]}),n=n.slice(1)}let r=[],i=[],a=[];e.inputs.forEach((e,t)=>{e.indexed?"string"===e.type||"bytes"===e.type||"tuple"===e.baseType||"array"===e.baseType?(r.push(h.fromObject({type:"bytes32",name:e.name})),a.push(!0)):(r.push(e),a.push(!1)):(i.push(e),a.push(!1))});let s=null!=n?this._abiCoder.decode(r,Object(T.b)(n)):null,c=this._abiCoder.decode(i,t,!0),l=[],u=0,f=0;e.inputs.forEach((e,t)=>{if(e.indexed)if(null==s)l[t]=new pe({_isIndexed:!0,hash:null});else if(a[t])l[t]=new pe({_isIndexed:!0,hash:s[f++]});else try{l[t]=s[f++]}catch(e){l[t]=e}else try{l[t]=c[u++]}catch(e){l[t]=e}if(e.name&&null==l[e.name]){const n=l[t];n instanceof Error?Object.defineProperty(l,e.name,{get:()=>{throw he("property "+JSON.stringify(e.name),n)}}):l[e.name]=n}});for(let e=0;e{throw he("index "+e,t)}})}return Object.freeze(l)}parseTransaction(e){let t=this.getFunction(e.data.substring(0,10).toLowerCase());return t?new de({args:this._abiCoder.decode(t.inputs,"0x"+e.data.substring(10)),functionFragment:t,name:t.name,signature:t.format(),sighash:this.getSighash(t),value:r.a.from(e.value||"0")}):null}parseLog(e){let t=this.getEvent(e.topics[0]);return!t||t.anonymous?null:new fe({eventFragment:t,name:t.name,signature:t.format(),topic:this.getEventTopic(t),args:this.decodeEventLog(t,e.data,e.topics)})}static isInterface(e){return!(!e||!e._isInterface)}}},function(e){e.exports=JSON.parse('{"main.account.chart.total-balance":"총 자산","main.account.chart.available-balance":"전송 가능한 자산","main.account.chart.staked-balance":"스테이킹된 자산","main.account.button.deposit":"입금","main.account.button.send":"보내기","main.account.tooltip.no-asset":"계정에 자산이 없습니다. 자산을 입금해주세요.","main.modal.select-account.title":"계정을 선택하세요","main.modal.select-account.button.select":"계정 선택","main.modal.select-account.label.address":"주소","main.modal.select-account.label.balance":"잔고","main.modal.select-account.label.sequence":"보낸 트랜잭션","main.stake.message.pending-staking-reward":"스테이킹 보상","main.stake.message.stake":"스테이킹","main.stake.message.earning":"연간 {apr}%의 이자를 받으세요","main.stake.button.claim-rewards":"보상 받기","main.stake.button.stake":"스테이킹","main.stake.tooltip.no-asset":"계정에 자산이 없습니다. 자산을 입금해주세요.","main.ibc.transfer.title":"IBC 전송","main.ibc.transfer.paragraph":"토큰을 IBC를 통해 전송하세요","main.ibc.transfer.button":"전송","main.address.copied":"주소가 복사되었습니다","main.menu.settings":"설정","main.menu.address-book":"주소록","main.menu.token-list":"토큰 목록","main.menu.sign-out":"로그아웃","main.menu.footer.github":"깃허브를 확인하세요","main.update-chain.confirm.paragraph":"체인의 정보가 변했습니다. 체인이 업데이트되었는지 확인하세요.","main.update-chain.confirm.yes":"진행","main.update-chain.confirm.no":"무시","setting.language":"언어","setting.language.automatic":"자동 (브라우저 언어)","setting.language.automatic-with-language":"자동 ({language})","setting.fiat":"통화","setting.fiat.automatic":"자동","setting.fiat.automatic-with-fiat":"자동 ({fiat})","setting.connections":"연결 관리","setting.connections.paragraph":"지갑에 연결을 허용한 웹사이트를 관리합니다","setting.connections.confirm.delete-connection.title":"연결 삭제","setting.connections.confirm.delete-connection.paragraph":"이 연결을 삭제하시겠습니까?","setting.address-book.button.add":"주소 추가","setting.address-book.add-address.title":"주소 추가","setting.address-book.edit-address.title":"주소 편집","setting.address-book.name":"이름","setting.address-book.address":"주소","setting.address-book.address.error.invalid":"잘못된 주소입니다","setting.address-book.memo":"기본 메모 (선택사항)","setting.address-book.confirm.delete-address.title":"주소 삭제","setting.address-book.confirm.delete-address.paragraph":"이 주소를 삭제하시겠습니까?","setting.address-book.button.save":"저장","setting.credit":"도움을 주신 분들","setting.keyring":"계정 선택","setting.keyring.button.add":"계정 추가","setting.keyring.unnamed-account":"케플러 계정","setting.keyring.selected-account":"(선택됨)","setting.keyring.change.password":"비밀번호 재설정","setting.keyring.change.name":"계정 이름 변경","setting.keyring.change.previous-name":"이전 계정 이름","setting.keyring.change.input.name":"새로운 계정 이름","setting.keyring.change.input.name.error.required":"계정 이름을 입력하세요","setting.keyring.change.input.name.error.invalid":"계정 이름이 유효하지 않습니다","setting.keyring.change.name.button.save":"저장","setting.export":"니모닉 시드 보기","setting.export.private-key":"개인키 보기","setting.export.warning":"진행하려면 패스워드를 입력하세요","setting.export.input.password":"비밀번호","setting.export.input.password.error.required":"비밀번호를 입력하세요","setting.export.input.password.error.invalid":"잘못된 비밀번호입니다","setting.export.button.confirm":"확인","setting.clear":"계정 삭제","setting.clear.alert":"계정을 삭제하기 전에 니모닉 시드를 가지고 있는지 확인하세요","setting.clear.button.back-up":"니모닉 시드 보기","setting.clear.warning":"계정을 삭제하면 케플러에서 계정에 접근할 수 없습니다","setting.clear.input.password":"비밀번호","setting.clear.input.password.error.required":"비밀번호를 입력하세요","setting.clear.input.password.error.invalid":"잘못된 비밀번호입니다","setting.clear.button.confirm":"확인","setting.token.add":"토큰 추가","setting.token.add.contract-address":"컨트랙트 주소","setting.token.add.name":"이름","setting.token.add.symbol":"심볼","setting.token.add.decimals":"소수점 자릿수","setting.token.add.button.submit":"등록","setting.token.add.secret20.checkbox.import-viewing-key":"(고급) 뷰잉키를 이미 가지고 계십니까?","setting.token.add.secret20.checkbox.use-suggested-viewing-key":"웹페이지가 제안한 뷰잉키를 사용하시겠습니까?","setting.token.add.secret20.viewing-key":"뷰잉 키","setting.token.manage.confirm.remove-token":"토큰을 비활성화 하시겠습니까? 다시 등록할 때까지 잔고를 보거나 토큰을 전송할 수 없습니다.","setting.token.manage.notification.viewing-key.copy":"뷰잉키가 복사되었습니다","register.name":"계정 이름","register.name.error.required":"계정 이름을 입력하세요","register.button.back":"뒤로","register.bip44.button.advanced":"고급","register.bip44.input.hd-path":"BIP44 HD 경로","register.bip44.confirm.clear":"고급 옵션을 닫으면 HD 경로가 초기화됩니다. 계속 진행하시겠습니까?","register.intro.button.new-account.title":"계정 생성","register.intro.button.new-account.content":"새로운 니모닉 시드로 계정을 생성하세요","register.intro.button.import-account.title":"기존 계정 불러오기","register.intro.button.import-account.content":"12/24 니모닉 단어를 사용하여 계정 불러오기","register.intro.sub-content":"모든 정보는 기기에 저장됩니다.{br}이 과정은 인터넷 접속을 필요로하지 않습니다.","register.recover.title":"시드를 입력하세요","register.create.title":"니모닉 단어","register.create.toggle.word12":"12 단어","register.create.toggle.word24":"24 단어","register.create.input.password":"새로운 비밀번호 (최소 8자리 이상)","register.create.input.password.error.required":"비밀번호를 입력하세요","register.create.input.password.error.too-short":"비밀번호가 너무 짧습니다","register.create.input.confirm-password":"비밀번호 확인","register.create.input.confirm-password.error.required":"비밀번호를 입력하세요","register.create.input.confirm-password.error.unmatched":"비밀번호가 일치하지 않습니다","register.create.textarea.mnemonic.place-holder":"니모닉 단어 또는 개인키를 입력하세요","register.create.textarea.mnemonic.error.invalid":"잘못된 니모닉 단어입니다","register.create.textarea.mnemonic.error.too-short":"니모닉 단어가 너무 적습니다","register.create.warning.keep-your-mnemonic.header":"니모닉 단어를 안전하게 보관하세요","register.create.warning.keep-your-mnemonic.paragraph1":"다른 사람이 니모닉 단어를 알게되면 자산을 뺏길 수 있습니다","register.create.warning.keep-your-mnemonic.paragraph2":"니모닉 단어를 잃어버리면 계정을 복구할 수 없습니다","register.import.textarea.private-key.error.invalid":"잘못된 개인키 입니다","register.import.textarea.private-key.error.invalid-length":"잘못된 길이의 개인키 입니다","register.create.button.next":"다음","register.ledger.title":"렛저 계정 불러오기","register.verify.button.register":"등록","register.welcome.title":"준비 완료!","register.welcome.content":"확장 프로그램을 열고 로그인하여 인터체인 여행을 시작하세요.","register.welcome.button.done":"완료","chain.suggested.title":"체인 추가 요청","chain.suggested.paragraph":"{host}가 {chainId} 블록체인을 케플러에 추가하길 원합니다.","chain.suggested.waring.experiment.title":"실험적 기능","chain.suggested.waring.experiment.paragraph":"용감한 우주 여행자를 위한 기능입니다","chain.suggested.button.approve":"허락","chain.suggested.button.reject":"거부","chain.remove.confirm.paragraph":"{chainName}를 삭제하시겠습니까?","access.title":"접근 요청","access.paragraph":"{host}가 {chainId}에 접근을 요청합니다.","access.permission.title":"이 웹사이트는 다음과 같은 권한을 가질 수 있습니다","access.permission.account":"계정의 주소를 알 수 있습니다","access.permission.tx-request":"트랜잭션 서명을 요청할 수 있습니다","access.permission.secret":"메세지를 암호화/복호화할 수 있습니다","access.button.approve":"허락","access.button.reject":"거부","lock.input.password":"비밀번호","lock.input.password.error.required":"비밀번호를 입력하세요","lock.input.password.error.invalid":"잘못된 비밀번호입니다","lock.button.unlock":"잠금 해제","send.input.recipient":"받는 주소","send.input.recipient.error.invalid":"잘못된 주소입니다","send.input.recipient.error.ens-invalid-name":"잘못된 ENS 이름 형식입니다","send.input.recipient.error.ens-not-found":"ENS 이름을 찾을 수 없습니다","sned.input.recipient.error.ens-unknown-error":"ENS로부터 주소를 받는데 실패했습니다","send.input.recipient.error.ens-not-supported":"이 체인에는 ENS가 지원되지 않습니다","send.input.amount":"수량","send.input.amount.error.insufficient":"자산이 부족합니다","send.input.memo":"메모 (선택사항)","send.input.fee":"수수료","send.input.fee.error.required":"수수료를 입력하세요","send.input.gas":"가스","send.input-button.balance":"잔고","send.button.send":"보내기","ibc.transfer.next":"다음","ibc.transfer.submit":"보내기","fee.input.gas":"가스","fee.input.memo":"메모 (선택사항)","fee.input.fee":"수수료","fee.button.set":"수수료 설정","sign.tab.details":"자세히","sign.tab.data":"데이터","sign.list.messages.label":"메세지","sign.info.fee":"수수료","sign.info.memo":"메모","sign.info.warning.empty-memo":"(빈 메모)","sign.info.fee.override":"수수료 변경","sign.info.gas":"가스","sign.button.approve":"허락","sign.button.reject":"거부","sign.button.confirm-ledger":"렛저를 확인하세요","sign.list.message.cosmos-sdk/MsgSend.title":"보내기","sign.list.message.cosmos-sdk/MsgSend.content":"{recipient}가 {amount}를 받을 것입니다","sign.list.message.cosmos-sdk/MsgTransfer.title":"IBC 전송","sign.list.message.cosmos-sdk/MsgTransfer.content":"채널 {channel}의 {receiver}가 {amount}를 받을 것입니다","sign.list.message.cosmos-sdk/MsgDelegate.title":"위임","sign.list.message.cosmos-sdk/MsgDelegate.content":"{validator}에게 {amount}를 위임합니다","sign.list.message.cosmos-sdk/MsgUndelegate.title":"위임 해제","sign.list.message.cosmos-sdk/MsgUndelegate.content":"{validator}로부터 {amount}를 위임해제합니다{br}자산은 언본딩 기간 이후 지급됩니다","sign.list.message.cosmos-sdk/MsgBeginRedelegate.title":"재위임","sign.list.message.cosmos-sdk/MsgBeginRedelegate.content":"{fromValidator}로부터 {toValidator}에게 {amount}를 재위임합니다","sign.list.message.cosmos-sdk/MsgWithdrawDelegatorReward.title":"스테이킹 보상 요청","sign.list.message.cosmos-sdk/MsgWithdrawDelegatorReward.content":"{validator}에게 위임된 스테이킹 보상을 요청합니다","sign.list.message.cosmos-sdk/MsgVote.title":"투표","sign.list.message.cosmos-sdk/MsgVote.content":"제안 {id}에 {option}를 투표합니다","sign.list.message.wasm.button.details":"자세히","sign.list.message.wasm.button.close":"닫기","sign.list.message.wasm/MsgInstantiateContract.title":"Wasm 컨트랙트 활성화","sign.list.message.wasm/MsgInstantiateContract.content":"{funds}를 전송하여 {admin}을 관리자 계정으로 가지는 {label} 라벨의 Code ID {codeId} 컨트랙트를 활성화합니다","sign.list.message.wasm/MsgExecuteContract.title":"Wasm 컨트랙트 실행 요청","sign.list.message.wasm/MsgExecuteContract.content":"{sent}를 전송하며 {address} 컨트랙트를 실행합니다","sign.list.message.wasm/MsgExecuteContract.content.badge.secret-wasm":"암호화됨","sign.list.message.wasm/MsgExecuteContract.content.warning.secret-wasm.failed-decryption":"메세지를 복호화하지 못 했습니다. 케플러를 통하지 않고 암호화되었을 수 있습니다.","sign.list.message.cyber/Link.title":"Cyberlink","sign.list.message.cyber/Link.content":"{address}가 링크{link}를 생성합니다","ledger.step1":"1 단계","ledger.step1.paragraph":"렛저를 연결하고 잠금을 해제하세요","ledger.step2":"2 단계","ledger.step2.paragraph":"렛저에서 Cosmos 앱을 실행하세요","ledger.option.webhid.checkbox":"WebUSB 대신 WebHID를 사용합니다","ledger.option.webhid.warning":"이 링크 {link}를 복사하고 브라우저 주소 줄에 붙여넣으세요. 그리고 ‘experimental web platform features’ 플래그를 활성화하세요.","ledger.option.webhid.link.copied":"링크가 복사되었습니다","ledger.button.next":"다음","ledger.confirm.waiting.paragraph":"렛저 디바이스에서의 확인을 기다리는 중...","ledger.confirm.success":"성공","ledger.confirm.success.paragraph":"이 페이지는 3초 후 자동으로 닫힙니다","ledger.confirm.rejected":"거부됨","ledger.confirm.rejected.paragraph":"이 페이지는 3초 후 자동으로 닫힙니다","fee-buttons.select.low":"느림","fee-buttons.select.average":"평균","fee-buttons.select.high":"빠름","input.recipient.error.invalid-bech32":"잘못된 주소입니다","input.recipient.error.ens-not-supported":"이 체인에는 ENS가 지원되지 않습니다","input.recipient.error.ens-failed-to-fetch":"ENS로부터 주소를 받는데 실패했습니다","input.amount.error.invalid-number":"잘못된 숫자입니","input.amount.error.is-zero":"0이 아니여야 합니다","input.amount.error.is-negative":"양수여야 합니다","input.amount.error.insufficient":"자산이 부족합니다","input.fee.error.insufficient":"수수료를 낼 충분한 잔고가 없습니다","input.fee.toggle.set-gas":"가스 설정","input.fee.toggle.set-gas.close":"닫기","confirm.yes":"예","confirm.no":"아니요","component.form.coin-input.token.label":"토큰","component.ibc.channel-registrar.chain-selector.label":"도착 체인","component.ibc.channel-registrar.chain-selector.placeholder":"체인을 선택하세요","component.ibc.channel-registrar.chain-selector.button.add":"IBC 전송 채널 추가","component.ibc.channel-registrar.chain-selector.add.channel.label":"채널 ID","component.ibc.channel-registrar.chain-selector.add.channel.placeholder":"채널 ID를 입력하세요","component.ibc.channel-registrar.chain-selector.add.channel.button":"저장"}')},function(e,t,n){(function(t,n){ -/** - * [js-sha3]{@link https://github.com/emn178/js-sha3} - * - * @version 0.5.7 - * @author Chen, Yi-Cyuan [emn178@gmail.com] - * @copyright Chen, Yi-Cyuan 2015-2016 - * @license MIT - */ -!function(){"use strict";var r="object"==typeof window?window:{};!r.JS_SHA3_NO_NODE_JS&&"object"==typeof t&&t.versions&&t.versions.node&&(r=n);for(var i=!r.JS_SHA3_NO_COMMON_JS&&"object"==typeof e&&e.exports,o="0123456789abcdef".split(""),a=[0,8,16,24],s=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],c=[224,256,384,512],l=["hex","buffer","arrayBuffer","array"],u=function(e,t,n){return function(r){return new _(e,t,e).update(r)[n]()}},f=function(e,t,n){return function(r,i){return new _(e,t,i).update(r)[n]()}},d=function(e,t){var n=u(e,t,"hex");n.create=function(){return new _(e,t,e)},n.update=function(e){return n.create().update(e)};for(var r=0;r>5,this.byteCount=this.blockCount<<2,this.outputBlocks=n>>5,this.extraBytes=(31&n)>>3;for(var r=0;r<50;++r)this.s[r]=0}_.prototype.update=function(e){var t="string"!=typeof e;t&&e.constructor===ArrayBuffer&&(e=new Uint8Array(e));for(var n,r,i=e.length,o=this.blocks,s=this.byteCount,c=this.blockCount,l=0,u=this.s;l>2]|=e[l]<>2]|=r<>2]|=(192|r>>6)<>2]|=(128|63&r)<=57344?(o[n>>2]|=(224|r>>12)<>2]|=(128|r>>6&63)<>2]|=(128|63&r)<>2]|=(240|r>>18)<>2]|=(128|r>>12&63)<>2]|=(128|r>>6&63)<>2]|=(128|63&r)<=s){for(this.start=n-s,this.block=o[c],n=0;n>2]|=this.padding[3&t],this.lastByteIndex===this.byteCount)for(e[0]=e[n],t=1;t>4&15]+o[15&e]+o[e>>12&15]+o[e>>8&15]+o[e>>20&15]+o[e>>16&15]+o[e>>28&15]+o[e>>24&15];s%t==0&&(k(n),a=0)}return i&&(e=n[a],i>0&&(c+=o[e>>4&15]+o[15&e]),i>1&&(c+=o[e>>12&15]+o[e>>8&15]),i>2&&(c+=o[e>>20&15]+o[e>>16&15])),c},_.prototype.arrayBuffer=function(){this.finalize();var e,t=this.blockCount,n=this.s,r=this.outputBlocks,i=this.extraBytes,o=0,a=0,s=this.outputBits>>3;e=i?new ArrayBuffer(r+1<<2):new ArrayBuffer(s);for(var c=new Uint32Array(e);a>8&255,c[e+2]=t>>16&255,c[e+3]=t>>24&255;s%n==0&&k(r)}return o&&(e=s<<2,t=r[a],o>0&&(c[e]=255&t),o>1&&(c[e+1]=t>>8&255),o>2&&(c[e+2]=t>>16&255)),c};var k=function(e){var t,n,r,i,o,a,c,l,u,f,d,p,h,m,b,y,g,v,w,_,k,x,S,O,E,T,A,M,I,P,C,j,D,R,N,B,L,U,F,q,z,V,H,$,K,W,G,J,Q,Y,Z,X,ee,te,ne,re,ie,oe,ae,se,ce,le,ue;for(r=0;r<48;r+=2)i=e[0]^e[10]^e[20]^e[30]^e[40],o=e[1]^e[11]^e[21]^e[31]^e[41],a=e[2]^e[12]^e[22]^e[32]^e[42],c=e[3]^e[13]^e[23]^e[33]^e[43],l=e[4]^e[14]^e[24]^e[34]^e[44],u=e[5]^e[15]^e[25]^e[35]^e[45],f=e[6]^e[16]^e[26]^e[36]^e[46],d=e[7]^e[17]^e[27]^e[37]^e[47],t=(p=e[8]^e[18]^e[28]^e[38]^e[48])^(a<<1|c>>>31),n=(h=e[9]^e[19]^e[29]^e[39]^e[49])^(c<<1|a>>>31),e[0]^=t,e[1]^=n,e[10]^=t,e[11]^=n,e[20]^=t,e[21]^=n,e[30]^=t,e[31]^=n,e[40]^=t,e[41]^=n,t=i^(l<<1|u>>>31),n=o^(u<<1|l>>>31),e[2]^=t,e[3]^=n,e[12]^=t,e[13]^=n,e[22]^=t,e[23]^=n,e[32]^=t,e[33]^=n,e[42]^=t,e[43]^=n,t=a^(f<<1|d>>>31),n=c^(d<<1|f>>>31),e[4]^=t,e[5]^=n,e[14]^=t,e[15]^=n,e[24]^=t,e[25]^=n,e[34]^=t,e[35]^=n,e[44]^=t,e[45]^=n,t=l^(p<<1|h>>>31),n=u^(h<<1|p>>>31),e[6]^=t,e[7]^=n,e[16]^=t,e[17]^=n,e[26]^=t,e[27]^=n,e[36]^=t,e[37]^=n,e[46]^=t,e[47]^=n,t=f^(i<<1|o>>>31),n=d^(o<<1|i>>>31),e[8]^=t,e[9]^=n,e[18]^=t,e[19]^=n,e[28]^=t,e[29]^=n,e[38]^=t,e[39]^=n,e[48]^=t,e[49]^=n,m=e[0],b=e[1],W=e[11]<<4|e[10]>>>28,G=e[10]<<4|e[11]>>>28,M=e[20]<<3|e[21]>>>29,I=e[21]<<3|e[20]>>>29,se=e[31]<<9|e[30]>>>23,ce=e[30]<<9|e[31]>>>23,V=e[40]<<18|e[41]>>>14,H=e[41]<<18|e[40]>>>14,R=e[2]<<1|e[3]>>>31,N=e[3]<<1|e[2]>>>31,y=e[13]<<12|e[12]>>>20,g=e[12]<<12|e[13]>>>20,J=e[22]<<10|e[23]>>>22,Q=e[23]<<10|e[22]>>>22,P=e[33]<<13|e[32]>>>19,C=e[32]<<13|e[33]>>>19,le=e[42]<<2|e[43]>>>30,ue=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,ne=e[4]<<30|e[5]>>>2,B=e[14]<<6|e[15]>>>26,L=e[15]<<6|e[14]>>>26,v=e[25]<<11|e[24]>>>21,w=e[24]<<11|e[25]>>>21,Y=e[34]<<15|e[35]>>>17,Z=e[35]<<15|e[34]>>>17,j=e[45]<<29|e[44]>>>3,D=e[44]<<29|e[45]>>>3,O=e[6]<<28|e[7]>>>4,E=e[7]<<28|e[6]>>>4,re=e[17]<<23|e[16]>>>9,ie=e[16]<<23|e[17]>>>9,U=e[26]<<25|e[27]>>>7,F=e[27]<<25|e[26]>>>7,_=e[36]<<21|e[37]>>>11,k=e[37]<<21|e[36]>>>11,X=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,$=e[8]<<27|e[9]>>>5,K=e[9]<<27|e[8]>>>5,T=e[18]<<20|e[19]>>>12,A=e[19]<<20|e[18]>>>12,oe=e[29]<<7|e[28]>>>25,ae=e[28]<<7|e[29]>>>25,q=e[38]<<8|e[39]>>>24,z=e[39]<<8|e[38]>>>24,x=e[48]<<14|e[49]>>>18,S=e[49]<<14|e[48]>>>18,e[0]=m^~y&v,e[1]=b^~g&w,e[10]=O^~T&M,e[11]=E^~A&I,e[20]=R^~B&U,e[21]=N^~L&F,e[30]=$^~W&J,e[31]=K^~G&Q,e[40]=te^~re&oe,e[41]=ne^~ie&ae,e[2]=y^~v&_,e[3]=g^~w&k,e[12]=T^~M&P,e[13]=A^~I&C,e[22]=B^~U&q,e[23]=L^~F&z,e[32]=W^~J&Y,e[33]=G^~Q&Z,e[42]=re^~oe&se,e[43]=ie^~ae&ce,e[4]=v^~_&x,e[5]=w^~k&S,e[14]=M^~P&j,e[15]=I^~C&D,e[24]=U^~q&V,e[25]=F^~z&H,e[34]=J^~Y&X,e[35]=Q^~Z&ee,e[44]=oe^~se&le,e[45]=ae^~ce&ue,e[6]=_^~x&m,e[7]=k^~S&b,e[16]=P^~j&O,e[17]=C^~D&E,e[26]=q^~V&R,e[27]=z^~H&N,e[36]=Y^~X&$,e[37]=Z^~ee&K,e[46]=se^~le&te,e[47]=ce^~ue&ne,e[8]=x^~m&y,e[9]=S^~b&g,e[18]=j^~O&T,e[19]=D^~E&A,e[28]=V^~R&B,e[29]=H^~N&L,e[38]=X^~$&W,e[39]=ee^~K&G,e[48]=le^~te&re,e[49]=ue^~ne&ie,e[0]^=s[r],e[1]^=s[r+1]};if(i)e.exports=h;else for(b=0;b>8,a=255&i;o?n.push(o,a):n.push(a)}return n},n.zero2=r,n.toHex=i,n.encode=function(e,t){return"hex"===t?i(e):e}})),f=s((function(e,t){var n=t;n.assert=c,n.toArray=u.toArray,n.zero2=u.zero2,n.toHex=u.toHex,n.encode=u.encode,n.getNAF=function(e,t,n){var r=new Array(Math.max(e.bitLength(),n)+1);r.fill(0);for(var i=1<(i>>1)-1?(i>>1)-c:c,o.isubn(s)):s=0,r[a]=s,o.iushrn(1)}return r},n.getJSF=function(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var r=0,i=0;e.cmpn(-r)>0||t.cmpn(-i)>0;){var o,a,s,c=e.andln(3)+r&3,l=t.andln(3)+i&3;if(3===c&&(c=-1),3===l&&(l=-1),0==(1&c))o=0;else o=3!==(s=e.andln(7)+r&7)&&5!==s||2!==l?c:-c;if(n[0].push(o),0==(1&l))a=0;else a=3!==(s=t.andln(7)+i&7)&&5!==s||2!==c?l:-l;n[1].push(a),2*r===o+1&&(r=1-r),2*i===a+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return n},n.cachedProperty=function(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new i.a(e,"hex","le")}})),d=f.getNAF,p=f.getJSF,h=f.assert;function m(e,t){this.type=e,this.p=new i.a(t.p,16),this.red=t.prime?i.a.red(t.prime):i.a.mont(this.p),this.zero=new i.a(0).toRed(this.red),this.one=new i.a(1).toRed(this.red),this.two=new i.a(2).toRed(this.red),this.n=t.n&&new i.a(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var b=m;function y(e,t){this.curve=e,this.type=t,this.precomputed=null}m.prototype.point=function(){throw new Error("Not implemented")},m.prototype.validate=function(){throw new Error("Not implemented")},m.prototype._fixedNafMul=function(e,t){h(e.precomputed);var n=e._getDoubles(),r=d(t,1,this._bitLength),i=(1<=a;t--)s=(s<<1)+r[t];o.push(s)}for(var c=this.jpoint(null,null,null),l=this.jpoint(null,null,null),u=i;u>0;u--){for(a=0;a=0;s--){for(t=0;s>=0&&0===o[s];s--)t++;if(s>=0&&t++,a=a.dblp(t),s<0)break;var c=o[s];h(0!==c),a="affine"===e.type?c>0?a.mixedAdd(i[c-1>>1]):a.mixedAdd(i[-c-1>>1].neg()):c>0?a.add(i[c-1>>1]):a.add(i[-c-1>>1].neg())}return"affine"===e.type?a.toP():a},m.prototype._wnafMulAdd=function(e,t,n,r,i){for(var o=this._wnafT1,a=this._wnafT2,s=this._wnafT3,c=0,l=0;l=1;l-=2){var f=l-1,h=l;if(1===o[f]&&1===o[h]){var m=[t[f],null,null,t[h]];0===t[f].y.cmp(t[h].y)?(m[1]=t[f].add(t[h]),m[2]=t[f].toJ().mixedAdd(t[h].neg())):0===t[f].y.cmp(t[h].y.redNeg())?(m[1]=t[f].toJ().mixedAdd(t[h]),m[2]=t[f].add(t[h].neg())):(m[1]=t[f].toJ().mixedAdd(t[h]),m[2]=t[f].toJ().mixedAdd(t[h].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],y=p(n[f],n[h]);c=Math.max(y[0].length,c),s[f]=new Array(c),s[h]=new Array(c);for(var g=0;g=0;l--){for(var x=0;l>=0;){var S=!0;for(g=0;g=0&&x++,_=_.dblp(x),l<0)break;for(g=0;g0?O=a[g][E-1>>1]:E<0&&(O=a[g][-E-1>>1].neg()),_="affine"===O.type?_.mixedAdd(O):_.add(O))}}for(l=0;l=Math.ceil((e.bitLength()+1)/t.step)},y.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i=0&&(a=t,s=n),r.negative&&(r=r.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:r,b:o},{a:a,b:s}]},w.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),o=n.b.neg().mul(e).divRound(this.n),a=i.mul(n.a),s=o.mul(r.a),c=i.mul(n.b),l=o.mul(r.b);return{k1:e.sub(a).sub(s),k2:c.add(l).neg()}},w.prototype.pointFromX=function(e,t){(e=new i.a(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(t&&!o||!t&&o)&&(r=r.redNeg()),this.point(e,r)},w.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},w.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},k.prototype.isInfinity=function(){return this.inf},k.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},k.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},k.prototype.getX=function(){return this.x.fromRed()},k.prototype.getY=function(){return this.y.fromRed()},k.prototype.mul=function(e){return e=new i.a(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},k.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},k.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},k.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},k.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},k.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},g(x,b.BasePoint),w.prototype.jpoint=function(e,t,n){return new x(this,e,t,n)},x.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},x.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},x.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),o=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(n.redMul(this.z)),s=r.redSub(i),c=o.redSub(a);if(0===s.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=s.redSqr(),u=l.redMul(s),f=r.redMul(l),d=c.redSqr().redIAdd(u).redISub(f).redISub(f),p=c.redMul(f.redISub(d)).redISub(o.redMul(u)),h=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(d,p,h)},x.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),a=n.redSub(r),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),l=c.redMul(a),u=n.redMul(c),f=s.redSqr().redIAdd(l).redISub(u).redISub(u),d=s.redMul(u.redISub(f)).redISub(i.redMul(l)),p=this.z.redMul(a);return this.curve.jpoint(f,d,p)},x.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,n=0;n=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},x.prototype.inspect=function(){return this.isInfinity()?"":""},x.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var S=s((function(e,t){var n=t;n.base=b,n.short=_,n.mont=null,n.edwards=null})),O=s((function(e,t){var n,r=t,i=f.assert;function o(e){"short"===e.type?this.curve=new S.short(e):"edwards"===e.type?this.curve=new S.edwards(e):this.curve=new S.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function s(e,t){Object.defineProperty(r,e,{configurable:!0,enumerable:!0,get:function(){var n=new o(t);return Object.defineProperty(r,e,{configurable:!0,enumerable:!0,value:n}),n}})}r.PresetCurve=o,s("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:a.a.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),s("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:a.a.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),s("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:a.a.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),s("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:a.a.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),s("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:a.a.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),s("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.a.sha256,gRed:!1,g:["9"]}),s("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.a.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=null.crash()}catch(e){n=void 0}s("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:a.a.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})}));function E(e){if(!(this instanceof E))return new E(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=u.toArray(e.entropy,e.entropyEnc||"hex"),n=u.toArray(e.nonce,e.nonceEnc||"hex"),r=u.toArray(e.pers,e.persEnc||"hex");c(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,n,r)}var T=E;E.prototype._init=function(e,t,n){var r=e.concat(t).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(n||[])),this._reseed=1},E.prototype.generate=function(e,t,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(r=n,n=t,t=null),n&&(n=u.toArray(n,r||"hex"),this._update(n));for(var i=[];i.length"};var P=f.assert;function C(e,t){if(e instanceof C)return e;this._importDER(e,t)||(P(e.r&&e.s,"Signature without r or s"),this.r=new i.a(e.r,16),this.s=new i.a(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var j=C;function D(){this.place=0}function R(e,t){var n=e[t.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,o=0,a=t.place;o>>=0;return!(i<=127)&&(t.place=a,i)}function N(e){for(var t=0,n=e.length-1;!e[t]&&!(128&e[t+1])&&t>>3);for(e.push(128|n);--n;)e.push(t>>>(n<<3)&255);e.push(t)}}C.prototype._importDER=function(e,t){e=f.toArray(e,t);var n=new D;if(48!==e[n.place++])return!1;var r=R(e,n);if(!1===r)return!1;if(r+n.place!==e.length)return!1;if(2!==e[n.place++])return!1;var o=R(e,n);if(!1===o)return!1;var a=e.slice(n.place,o+n.place);if(n.place+=o,2!==e[n.place++])return!1;var s=R(e,n);if(!1===s)return!1;if(e.length!==s+n.place)return!1;var c=e.slice(n.place,s+n.place);if(0===a[0]){if(!(128&a[1]))return!1;a=a.slice(1)}if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}return this.r=new i.a(a),this.s=new i.a(c),this.recoveryParam=null,!0},C.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=N(t),n=N(n);!(n[0]||128&n[1]);)n=n.slice(1);var r=[2];B(r,t.length),(r=r.concat(t)).push(2),B(r,n.length);var i=r.concat(n),o=[48];return B(o,i.length),o=o.concat(i),f.encode(o,e)};var L=function(){throw new Error("unsupported")},U=f.assert;function F(e){if(!(this instanceof F))return new F(e);"string"==typeof e&&(U(O.hasOwnProperty(e),"Unknown curve "+e),e=O[e]),e instanceof O.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var q=F;F.prototype.keyPair=function(e){return new I(this,e)},F.prototype.keyFromPrivate=function(e,t){return I.fromPrivate(this,e,t)},F.prototype.keyFromPublic=function(e,t){return I.fromPublic(this,e,t)},F.prototype.genKeyPair=function(e){e||(e={});for(var t=new T({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||L(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),r=this.n.sub(new i.a(2));;){var o=new i.a(t.generate(n));if(!(o.cmp(r)>0))return o.iaddn(1),this.keyFromPrivate(o)}},F.prototype._truncateToN=function(e,t){var n=8*e.byteLength()-this.n.bitLength();return n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},F.prototype.sign=function(e,t,n,r){"object"==typeof n&&(r=n,n=null),r||(r={}),t=this.keyFromPrivate(t,n),e=this._truncateToN(new i.a(e,16));for(var o=this.n.byteLength(),a=t.getPrivate().toArray("be",o),s=e.toArray("be",o),c=new T({hash:this.hash,entropy:a,nonce:s,pers:r.pers,persEnc:r.persEnc||"utf8"}),l=this.n.sub(new i.a(1)),u=0;;u++){var f=r.k?r.k(u):new i.a(c.generate(this.n.byteLength()));if(!((f=this._truncateToN(f,!0)).cmpn(1)<=0||f.cmp(l)>=0)){var d=this.g.mul(f);if(!d.isInfinity()){var p=d.getX(),h=p.umod(this.n);if(0!==h.cmpn(0)){var m=f.invm(this.n).mul(h.mul(t.getPrivate()).iadd(e));if(0!==(m=m.umod(this.n)).cmpn(0)){var b=(d.getY().isOdd()?1:0)|(0!==p.cmp(h)?2:0);return r.canonical&&m.cmp(this.nh)>0&&(m=this.n.sub(m),b^=1),new j({r:h,s:m,recoveryParam:b})}}}}}},F.prototype.verify=function(e,t,n,r){e=this._truncateToN(new i.a(e,16)),n=this.keyFromPublic(n,r);var o=(t=new j(t,"hex")).r,a=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,c=a.invm(this.n),l=c.mul(e).umod(this.n),u=c.mul(o).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(l,n.getPublic(),u)).isInfinity()&&s.eqXToP(o):!(s=this.g.mulAdd(l,n.getPublic(),u)).isInfinity()&&0===s.getX().umod(this.n).cmp(o)},F.prototype.recoverPubKey=function(e,t,n,r){U((3&n)===n,"The recovery param is more than two bits"),t=new j(t,r);var o=this.n,a=new i.a(e),s=t.r,c=t.s,l=1&n,u=n>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&u)throw new Error("Unable to find sencond key candinate");s=u?this.curve.pointFromX(s.add(this.curve.n),l):this.curve.pointFromX(s,l);var f=t.r.invm(o),d=o.sub(a).mul(f).umod(o),p=c.mul(f).umod(o);return this.g.mulAdd(d,s,p)},F.prototype.getKeyRecoveryParam=function(e,t,n,r){if(null!==(t=new j(t,r)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")};var z=s((function(e,t){var n=t;n.version="6.5.3",n.utils=f,n.rand=function(){throw new Error("unsupported")},n.curve=S,n.curves=O,n.ec=q,n.eddsa=null})).ec}).call(this,n(12))},function(e,t,n){var r=n(37),i=n(1335);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(37),i=n(1337);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(37),i=n(1342);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}},function(e,t,n){var r=n(1e3),i=n(1362),o=n(1367),a=n(1369),s=n(1370),c=n(1374),l=Date.prototype.getTime;function u(e,t,n){var p=n||{};return!!(p.strict?o(e,t):e===t)||(!e||!t||"object"!=typeof e&&"object"!=typeof t?p.strict?o(e,t):e==t:function(e,t,n){var o,p;if(typeof e!=typeof t)return!1;if(f(e)||f(t))return!1;if(e.prototype!==t.prototype)return!1;if(i(e)!==i(t))return!1;var h=a(e),m=a(t);if(h!==m)return!1;if(h||m)return e.source===t.source&&s(e)===s(t);if(c(e)&&c(t))return l.call(e)===l.call(t);var b=d(e),y=d(t);if(b!==y)return!1;if(b||y){if(e.length!==t.length)return!1;for(o=0;o=0;o--)if(g[o]!=v[o])return!1;for(o=g.length-1;o>=0;o--)if(p=g[o],!u(e[p],t[p],n))return!1;return!0}(e,t,p))}function f(e){return null==e}function d(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&!(e.length>0&&"number"!=typeof e[0]))}e.exports=u},function(e,t,n){var r=n(37),i=n(1379);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=24)}([function(e,t){e.exports=n(878)},function(e,t){e.exports=n(879)},function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return u}));var r,i=n(0),o=n.n(i),a={TESTNET:"testnet",MAINNET:"mainnet"},s={ROPSTEN:"ropsten",MAINNET:"mainnet"},c={GOOGLE:"google",FACEBOOK:"facebook",REDDIT:"reddit",DISCORD:"discord",TWITCH:"twitch",APPLE:"apple",GITHUB:"github",LINKEDIN:"linkedin",TWITTER:"twitter",WEIBO:"weibo",LINE:"line",EMAIL_PASSWORD:"email_password",PASSWORDLESS:"passwordless",JWT:"jwt"},l={SINGLE_VERIFIER_ID:"single_id_verifier"},u=(r={},o()(r,a.MAINNET,"0x638646503746d5456209e33a2ff5e3226d698bea"),o()(r,a.TESTNET,"0x4023d2a0D330bF11426B12C6144Cfb96B7fa6183"),r)},function(e,t){e.exports=n(1012)},function(e,t){e.exports=n(880)},function(e,t){e.exports=n(1382)},function(e,t){e.exports=n(923)},function(e,t){e.exports=n(924)},function(e,t){e.exports=n(1383)},function(e,t){e.exports=n(1385)},function(e,t){e.exports=n(1014)},function(e,t){e.exports=n(1386)},function(e,t){e.exports=n(1017)},function(e,t){e.exports=n(1545)},function(e,t){e.exports=n(1391)},function(e,t){e.exports=n(1392)},function(e,t){e.exports=n(399)},function(e,t){},function(e,t){e.exports=n(1438)},function(e,t){e.exports=n(1465)},function(e,t){e.exports=n(1027)},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(n,r){function i(){void 0!==o&&e.removeListener("error",o),n([].slice.call(arguments))}var o;"error"!==t&&(o=function(n){e.removeListener(t,i),r(n)},e.once("error",o)),e.once(t,i)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var i,o,a,s;if(l(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=u(e))>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,s=c,console&&console.warn&&console.warn(s)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function h(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=i[e];if(void 0===c)return!1;if("function"==typeof c)o(c,this,t);else{var l=c.length,u=b(c,l);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t){e.exports=n(1466)},function(e,t,n){"use strict";var r,i=n(11),o=n.n(i),a=n(1),s=n.n(a),c=n(4),l=n.n(c),u=n(6),f=n.n(u),d=n(7),p=n.n(d),h=n(0),m=n.n(h),b=n(18),y=n.n(b),g=n(15),v=n.n(g),w=n(16),_=n(2),k=n(3),x=n.n(k),S=n(8),O=n.n(S),E=n(9),T=n.n(E),A=n(5),M=n.n(A),I=n(10),P=n.n(I),C=n(12),j=n(19),D=n.n(j),R=n(13),N=n(20),B=n.n(N).a.getLogger("torus-direct-web-sdk");var L=(r={},m()(r,_.d.APPLE,"apple"),m()(r,_.d.GITHUB,"github"),m()(r,_.d.LINKEDIN,"linkedin"),m()(r,_.d.TWITTER,"twitter"),m()(r,_.d.WEIBO,"weibo"),m()(r,_.d.LINE,"line"),m()(r,_.d.EMAIL_PASSWORD,"Username-Password-Authentication"),m()(r,_.d.PASSWORDLESS,"email"),r),U=function(e){return e.href.endsWith("/")?e.href:"".concat(e.href,"/")},F={webWorkerSupport:!1};function q(e,t){return t?e:e.toLowerCase()}var z=function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=e.name,o=e.sub;if(n)return q(e[n],r);switch(t){case _.d.PASSWORDLESS:case _.d.EMAIL_PASSWORD:return q(i,r);case _.d.WEIBO:case _.d.GITHUB:case _.d.TWITTER:case _.d.APPLE:case _.d.LINKEDIN:case _.d.LINE:case _.d.JWT:return q(o,r);default:throw new Error("Invalid login type")}},V=function(e,t){var n=e.split("&").reduce((function(e,t){var n=t.split("="),r=o()(n,2),i=r[0],a=r[1];return e[i]=a,e}),{});B.info(n,t);var r={},i="";return t.preopenInstanceId||(Object.keys(n).length>0&&n.state?(r=JSON.parse(atob(decodeURIComponent(decodeURIComponent(n.state))))||{},i=n.error_description||n.error||i):Object.keys(t).length>0&&t.state&&(r=JSON.parse(atob(decodeURIComponent(decodeURIComponent(t.state))))||{},t.error&&(i=t.error))),{error:i,instanceParameters:r,hashParameters:n}};function H(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=M()(e);if(t){var i=M()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return T()(this,n)}}var $=function(e){O()(n,e);var t=H(n);function n(e){var r,i=e.url,o=e.target,a=e.features;return f()(this,n),r=t.call(this),m()(x()(r),"url",void 0),m()(x()(r),"target",void 0),m()(x()(r),"features",void 0),m()(x()(r),"window",void 0),m()(x()(r),"windowTimer",void 0),m()(x()(r),"iClosedWindow",void 0),r.url=i,r.target=o||"_blank",r.features=a||"directories=0,titlebar=0,toolbar=0,status=0,location=0,menubar=0,height=700,width=1200",r.window=void 0,r.windowTimer=void 0,r.iClosedWindow=!1,r._setupTimer(),r}return p()(n,[{key:"_setupTimer",value:function(){var e=this;this.windowTimer=Number(setInterval((function(){e.window&&e.window.closed&&(clearInterval(e.windowTimer),e.iClosedWindow||e.emit("close"),e.iClosedWindow=!1,e.window=void 0),void 0===e.window&&clearInterval(e.windowTimer)}),500))}},{key:"open",value:function(){return this.window=window.open(this.url.href,this.target,this.features),Promise.resolve()}},{key:"close",value:function(){this.iClosedWindow=!0,this.window&&this.window.close()}}]),n}(n(21).EventEmitter),K=function(){function e(t,n,r,i,o,a){f()(this,e),this.clientId=t,this.verifier=n,this.redirect_uri=r,this.typeOfLogin=i,this.redirectToOpener=o,this.jwtParams=a,m()(this,"nonce",D()()),m()(this,"finalURL",void 0)}return p()(e,[{key:"handleLoginWindow",value:function(){var e=this;return new Promise((function(t,n){var r,i=function(){var i=l()(s.a.mark((function i(o){var a,c,l,u,f,d,p;return s.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(i.prev=0,a=o.error,c=o.data,u=(l=c||{}).instanceParams.verifier,f=l.hashParams,d=f.access_token,p=f.id_token,!a){i.next=7;break}return B.error(o),n(new Error("Error: ".concat(a,". Info: ").concat(JSON.stringify(o.data||{})))),i.abrupt("return");case 7:if(!o.data||u!==e.verifier){i.next=13;break}if(B.info(o.data),e.redirectToOpener||!r){i.next=12;break}return i.next=12,r.postMessage({success:!0});case 12:t({accessToken:d,idToken:p||""});case 13:i.next=19;break;case 15:i.prev=15,i.t0=i.catch(0),B.error(i.t0),n(i.t0);case 19:case"end":return i.stop()}}),i,null,[[0,15]])})));return function(e){return i.apply(this,arguments)}}(),o=new $({url:e.finalURL});if(e.redirectToOpener){var a=function(){var t=l()(s.a.mark((function t(n){var r;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n.data){t.next=2;break}return t.abrupt("return");case 2:if((r=n.data).channel==="redirect_channel_".concat(e.nonce)){t.next=5;break}return t.abrupt("return");case 5:window.removeEventListener("message",a),i(r),o.close();case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();window.addEventListener("message",a)}else(r=new R.BroadcastChannel("redirect_channel_".concat(e.nonce),F)).addEventListener("message",function(){var e=l()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i(t);case 2:r.close(),o.close();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());o.open(),o.once("close",(function(){r&&r.close(),n(new Error("user closed popup"))}))}))}},{key:"state",get:function(){return encodeURIComponent(window.btoa(JSON.stringify({instanceId:this.nonce,verifier:this.verifier,redirectToOpener:this.redirectToOpener||!1})))}}]),e}();function W(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=M()(e);if(t){var i=M()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return T()(this,n)}}var G=function(e){O()(r,e);var t,n=W(r);function r(e,t,i,o,a,s){var c;return f()(this,r),(c=n.call(this,e,t,i,o,a,s)).clientId=e,c.verifier=t,c.redirect_uri=i,c.typeOfLogin=o,c.redirectToOpener=a,c.jwtParams=s,m()(x()(c),"RESPONSE_TYPE","token"),m()(x()(c),"SCOPE","identify email"),c.setFinalUrl(),c}return p()(r,[{key:"setFinalUrl",value:function(){var e=new URL("https://discordapp.com/api/oauth2/authorize"),t=JSON.parse(JSON.stringify(this.jwtParams||{})),n=P()({state:this.state,response_type:this.RESPONSE_TYPE,client_id:this.clientId,redirect_uri:this.redirect_uri,scope:this.SCOPE},t);Object.keys(n).forEach((function(t){n[t]&&e.searchParams.append(t,n[t])})),this.finalURL=e}},{key:"getUserInfo",value:(t=l()(s.a.mark((function e(t){var n,r,i,o,a,c,l,u,f,d,p;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.accessToken,e.next=3,Object(C.get)("https://discordapp.com/api/users/@me",{headers:{Authorization:"Bearer ".concat(n)}});case 3:return r=e.sent,i=r.id,o=r.avatar,a=r.email,c=void 0===a?"":a,l=r.username,u=void 0===l?"":l,f=r.discriminator,d=void 0===f?"":f,p=null===o?"https://cdn.discordapp.com/embed/avatars/".concat(Number(d)%5,".png"):"https://cdn.discordapp.com/avatars/".concat(i,"/").concat(o,".png?size=2048"),e.abrupt("return",{profileImage:p,name:"".concat(u,"#").concat(d),email:c,verifierId:i,verifier:this.verifier,typeOfLogin:this.typeOfLogin});case 7:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),r}(K);function J(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=M()(e);if(t){var i=M()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return T()(this,n)}}var Q=function(e){O()(r,e);var t,n=J(r);function r(e,t,i,o,a,s){var c;return f()(this,r),(c=n.call(this,e,t,i,o,a,s)).clientId=e,c.verifier=t,c.redirect_uri=i,c.typeOfLogin=o,c.redirectToOpener=a,c.jwtParams=s,m()(x()(c),"RESPONSE_TYPE","token"),m()(x()(c),"SCOPE","public_profile email"),c.setFinalUrl(),c}return p()(r,[{key:"setFinalUrl",value:function(){var e=new URL("https://www.facebook.com/v6.0/dialog/oauth"),t=JSON.parse(JSON.stringify(this.jwtParams||{})),n=P()({state:this.state,response_type:this.RESPONSE_TYPE,client_id:this.clientId,redirect_uri:this.redirect_uri,scope:this.SCOPE},t);Object.keys(n).forEach((function(t){n[t]&&e.searchParams.append(t,n[t])})),this.finalURL=e}},{key:"getUserInfo",value:(t=l()(s.a.mark((function e(t){var n,r,i,o,a,c,l,u;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.accessToken,e.next=3,Object(C.get)("https://graph.facebook.com/me?fields=name,email,picture.type(large)",{headers:{Authorization:"Bearer ".concat(n)}});case 3:return r=e.sent,i=r.name,o=void 0===i?"":i,a=r.id,c=r.picture,l=r.email,u=void 0===l?"":l,e.abrupt("return",{email:u,name:o,profileImage:c.data.url||"",verifier:this.verifier,verifierId:a,typeOfLogin:this.typeOfLogin});case 6:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),r}(K);function Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=M()(e);if(t){var i=M()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return T()(this,n)}}var Z=function(e){O()(r,e);var t,n=Y(r);function r(e,t,i,o,a,s){var c;return f()(this,r),(c=n.call(this,e,t,i,o,a,s)).clientId=e,c.verifier=t,c.redirect_uri=i,c.typeOfLogin=o,c.redirectToOpener=a,c.jwtParams=s,m()(x()(c),"RESPONSE_TYPE","token id_token"),m()(x()(c),"SCOPE","profile email openid"),m()(x()(c),"PROMPT","consent select_account"),c.setFinalUrl(),c}return p()(r,[{key:"setFinalUrl",value:function(){var e=new URL("https://accounts.google.com/o/oauth2/v2/auth"),t=JSON.parse(JSON.stringify(this.jwtParams||{})),n=P()({state:this.state,response_type:this.RESPONSE_TYPE,client_id:this.clientId,prompt:this.PROMPT,redirect_uri:this.redirect_uri,scope:this.SCOPE,nonce:this.nonce},t);Object.keys(n).forEach((function(t){n[t]&&e.searchParams.append(t,n[t])})),this.finalURL=e}},{key:"getUserInfo",value:(t=l()(s.a.mark((function e(t){var n,r,i,o,a,c,l,u;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.accessToken,e.next=3,Object(C.get)("https://www.googleapis.com/userinfo/v2/me",{headers:{Authorization:"Bearer ".concat(n)}});case 3:return r=e.sent,i=r.picture,o=void 0===i?"":i,a=r.email,c=void 0===a?"":a,l=r.name,u=void 0===l?"":l,e.abrupt("return",{email:c,name:u,profileImage:o,verifier:this.verifier,verifierId:c.toLowerCase(),typeOfLogin:this.typeOfLogin});case 6:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),r}(K),X=n(14),ee=n.n(X);function te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=M()(e);if(t){var i=M()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return T()(this,n)}}var ne=function(e){O()(r,e);var t,n=te(r);function r(e,t,i,o,a,s){var c;return f()(this,r),(c=n.call(this,e,t,i,o,a,s)).clientId=e,c.verifier=t,c.redirect_uri=i,c.typeOfLogin=o,c.redirectToOpener=a,c.jwtParams=s,m()(x()(c),"SCOPE","openid profile email"),m()(x()(c),"RESPONSE_TYPE","token id_token"),m()(x()(c),"PROMPT","login"),c.setFinalUrl(),c}return p()(r,[{key:"setFinalUrl",value:function(){var e=this.jwtParams.domain,t=new URL(e);t.pathname="/authorize";var n=JSON.parse(JSON.stringify(this.jwtParams));delete n.domain;var r=P()({state:this.state,response_type:this.RESPONSE_TYPE,client_id:this.clientId,prompt:this.PROMPT,redirect_uri:this.redirect_uri,scope:this.SCOPE,connection:L[this.typeOfLogin],nonce:this.nonce},n);Object.keys(r).forEach((function(e){r[e]&&t.searchParams.append(e,r[e])})),this.finalURL=t}},{key:"getUserInfo",value:(t=l()(s.a.mark((function e(t){var n,r,i,o,a,c,l,u,f,d,p,h,m,b,y;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.idToken,r=t.accessToken,i=this.jwtParams,o=i.domain,a=i.verifierIdField,c=i.isVerifierIdCaseSensitive,e.prev=2,l=new URL(o),e.next=6,Object(C.get)("".concat(U(l),"userinfo"),{headers:{Authorization:"Bearer ".concat(r)}});case 6:return u=e.sent,f=u.picture,d=u.name,p=u.email,e.abrupt("return",{email:p,name:d,profileImage:f,verifierId:z(u,this.typeOfLogin,a,c),verifier:this.verifier,typeOfLogin:this.typeOfLogin});case 11:return e.prev=11,e.t0=e.catch(2),B.error(e.t0),h=ee()(n),m=h.name,b=h.email,y=h.picture,e.abrupt("return",{profileImage:y,name:m,email:b,verifierId:z(h,this.typeOfLogin,a,c),verifier:this.verifier,typeOfLogin:this.typeOfLogin});case 17:case"end":return e.stop()}}),e,this,[[2,11]])}))),function(e){return t.apply(this,arguments)})}]),r}(K);function re(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=M()(e);if(t){var i=M()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return T()(this,n)}}var ie=function(e){O()(r,e);var t,n=re(r);function r(e,t,i,o,a,s){var c;return f()(this,r),(c=n.call(this,e,t,i,o,a,s)).clientId=e,c.verifier=t,c.redirect_uri=i,c.typeOfLogin=o,c.redirectToOpener=a,c.jwtParams=s,m()(x()(c),"SCOPE","openid profile email"),m()(x()(c),"RESPONSE_TYPE","token id_token"),m()(x()(c),"PROMPT","login"),c.setFinalUrl(),c}return p()(r,[{key:"setFinalUrl",value:function(){var e=this.jwtParams.domain,t=new URL(e);t.pathname="/passwordless/start",this.finalURL=t}},{key:"getUserInfo",value:(t=l()(s.a.mark((function e(t){var n,r,i,o,a,c,l,u,f,d,p,h,m,b,y;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.idToken,r=t.accessToken,i=this.jwtParams,o=i.domain,a=i.verifierIdField,c=i.isVerifierIdCaseSensitive,e.prev=2,l=new URL(o),e.next=6,Object(C.get)("".concat(U(l),"userinfo"),{headers:{Authorization:"Bearer ".concat(r)}});case 6:return u=e.sent,f=u.picture,d=u.name,p=u.email,e.abrupt("return",{email:p,name:d,profileImage:f,verifierId:z(u,this.typeOfLogin,a,c),verifier:this.verifier,typeOfLogin:this.typeOfLogin});case 11:return e.prev=11,e.t0=e.catch(2),B.error(e.t0),h=ee()(n),m=h.name,b=h.email,y=h.picture,e.abrupt("return",{profileImage:y,name:m,email:b,verifierId:z(h,this.typeOfLogin,a,c),verifier:this.verifier,typeOfLogin:this.typeOfLogin});case 17:case"end":return e.stop()}}),e,this,[[2,11]])}))),function(e){return t.apply(this,arguments)})},{key:"handleLoginWindow",value:function(){var e=this;return new Promise((function(t,n){if(e.redirectToOpener)n(new Error("Cannot use redirect to opener for passwordless"));else{var r=function(r){try{var i=r.error,o=r.data||{},a=o.instanceParams.verifier,s=o.hashParams,c=s.access_token,l=s.id_token;if(i)return B.error(r.error),void n(new Error(i));r.data&&a===e.verifier&&(B.info(r.data),t({accessToken:c,idToken:l||""}))}catch(i){B.error(i),n(i)}},i=new R.BroadcastChannel("redirect_channel_".concat(e.nonce),F);i.addEventListener("message",function(){var e=l()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r(t),i.close();case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());try{var o=e.jwtParams,a=o.connection,c=void 0===a?"email":a,u=o.login_hint,f=P()({client_id:e.clientId,connection:c,email:"email"===c?u:void 0,phone_number:"sms"===c?u:void 0,send:"link",authParams:{scope:e.SCOPE,state:e.state,response_type:e.RESPONSE_TYPE,redirect_uri:e.redirect_uri,nonce:e.nonce,prompt:e.PROMPT}},{authParams:e.jwtParams});Object(C.post)(e.finalURL.href,JSON.parse(JSON.stringify(f))).then((function(e){B.info("posted",e)})).catch((function(e){B.error(e),n(e)}))}catch(e){B.error(e),n(e)}}}))}}]),r}(K);function oe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=M()(e);if(t){var i=M()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return T()(this,n)}}var ae=function(e){O()(r,e);var t,n=oe(r);function r(e,t,i,o,a,s){var c;return f()(this,r),(c=n.call(this,e,t,i,o,a,s)).clientId=e,c.verifier=t,c.redirect_uri=i,c.typeOfLogin=o,c.redirectToOpener=a,c.jwtParams=s,m()(x()(c),"RESPONSE_TYPE","token"),m()(x()(c),"SCOPE","identity"),c.setFinalUrl(),c}return p()(r,[{key:"setFinalUrl",value:function(){var e=new URL("https://www.reddit.com/api/v1/authorize".concat(window.innerWidth<600?".compact":"")),t=JSON.parse(JSON.stringify(this.jwtParams||{})),n=P()({state:this.state,response_type:this.RESPONSE_TYPE,client_id:this.clientId,redirect_uri:this.redirect_uri,scope:this.SCOPE},t);Object.keys(n).forEach((function(t){n[t]&&e.searchParams.append(t,n[t])})),this.finalURL=e}},{key:"getUserInfo",value:(t=l()(s.a.mark((function e(t){var n,r,i,o,a,c;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.accessToken,e.next=3,Object(C.get)("https://oauth.reddit.com/api/v1/me",{headers:{Authorization:"Bearer ".concat(n)}});case 3:return r=e.sent,i=r.icon_img,o=void 0===i?"":i,a=r.name,c=void 0===a?"":a,e.abrupt("return",{email:"",name:c,profileImage:o.split("?").length>0?o.split("?")[0]:o,verifier:this.verifier,verifierId:c.toLowerCase(),typeOfLogin:this.typeOfLogin});case 6:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),r}(K);function se(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=M()(e);if(t){var i=M()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return T()(this,n)}}var ce=function(e){O()(r,e);var t,n=se(r);function r(e,t,i,o,a,s){var c;return f()(this,r),(c=n.call(this,e,t,i,o,a,s)).clientId=e,c.verifier=t,c.redirect_uri=i,c.typeOfLogin=o,c.redirectToOpener=a,c.jwtParams=s,m()(x()(c),"RESPONSE_TYPE","token"),m()(x()(c),"SCOPE","user:read:email"),c.setFinalUrl(),c}return p()(r,[{key:"setFinalUrl",value:function(){var e=new URL("https://id.twitch.tv/oauth2/authorize"),t=JSON.parse(JSON.stringify(this.jwtParams||{})),n=P()({state:this.state,response_type:this.RESPONSE_TYPE,client_id:this.clientId,redirect_uri:this.redirect_uri,scope:this.SCOPE,force_verify:!0},t);Object.keys(n).forEach((function(t){n[t]&&e.searchParams.append(t,n[t])})),this.finalURL=e}},{key:"getUserInfo",value:(t=l()(s.a.mark((function e(t){var n,r,i,a,c,l,u,f,d,p,h,m;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.accessToken,e.next=3,Object(C.get)("https://api.twitch.tv/helix/users",{headers:{Authorization:"Bearer ".concat(n),"Client-ID":this.clientId}});case 3:return r=e.sent,i=r.data||[],a=o()(i,1),c=a[0],l=c.profile_image_url,u=void 0===l?"":l,f=c.display_name,d=void 0===f?"":f,p=c.email,h=void 0===p?"":p,m=c.id,e.abrupt("return",{profileImage:u,name:d,email:h,verifierId:m,verifier:this.verifier,typeOfLogin:this.typeOfLogin});case 6:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),r}(K),le=function(e){var t=e.clientId,n=e.redirect_uri,r=e.typeOfLogin,i=e.verifier,o=e.jwtParams,a=e.redirectToOpener;if(!i||!r||!t)throw new Error("Invalid params");var s=o||{},c=s.domain,l=s.login_hint;switch(r){case _.d.GOOGLE:return new Z(t,i,n,r,a,o);case _.d.FACEBOOK:return new Q(t,i,n,r,a,o);case _.d.TWITCH:return new ce(t,i,n,r,a,o);case _.d.REDDIT:return new ae(t,i,n,r,a,o);case _.d.DISCORD:return new G(t,i,n,r,a,o);case _.d.PASSWORDLESS:if(!c||!l)throw new Error("Invalid params");return new ie(t,i,n,r,a,o);case _.d.APPLE:case _.d.GITHUB:case _.d.LINKEDIN:case _.d.TWITTER:case _.d.WEIBO:case _.d.LINE:case _.d.EMAIL_PASSWORD:case _.d.JWT:if(!c)throw new Error("Invalid params");return new ne(t,i,n,r,a,o);default:throw new Error("Invalid login type")}},ue=n(22),fe=function(e){return new Promise((function(t,n){var r="".concat(e,"sw.js");"serviceWorker"in navigator?Object(ue.register)(r,{ready:function(){B.info("App is being served from cache by a service worker.\n For more details, visit https://goo.gl/AFskqB"),t(void 0)},registered:function(){B.info("Service worker has been registered."),t(void 0)},cached:function(){B.info("Content has been cached for offline use."),t(void 0)},updatefound:function(){B.info("New content is downloading.")},updated:function(){B.info("New content is available; please refresh.")},offline:function(){B.info("No internet connection found. App is running in offline mode."),n(new Error("App is offline"))},error:function(e){B.error("Error during service worker registration:",e),n(e)}}):n(new Error("Service workers are not supported"))}))};function de(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return pe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pe(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==r[0]?r[0]:{},void 0!==(n=t.skipSw)&&n){e.next=23;break}return e.next=4,fetch("".concat(this.config.baseUrl,"sw.js"),{cache:"reload"});case 4:if(!e.sent.ok){e.next=20;break}return e.prev=6,e.next=9,fe(this.config.baseUrl);case 9:return this.isInitialized=!0,e.abrupt("return");case 13:return e.prev=13,e.t0=e.catch(6),B.error(e.t0),e.next=18,this.handleRedirectCheck();case 18:e.next=21;break;case 20:throw new Error("Service worker is not being served. Please serve it");case 21:e.next=25;break;case 23:return e.next=25,this.handleRedirectCheck();case 25:case"end":return e.stop()}}),e,this,[[6,13]])}))),function(){return c.apply(this,arguments)})},{key:"handleRedirectCheck",value:(a=l()(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(this.config.redirect_uri,{cache:"reload"});case 2:if(!e.sent.ok){e.next=6;break}return this.isInitialized=!0,e.abrupt("return");case 6:throw new Error("Please serve redirect.html present in serviceworker folder of this package on ".concat(this.config.redirect_uri));case 7:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"triggerLogin",value:(i=l()(s.a.mark((function e(t){var n,r,i,o,a,c,l,u,f,d,p,h,m,b,y;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.verifier,r=t.typeOfLogin,i=t.clientId,o=t.jwtParams,a=t.hash,c=t.queryParameters,B.info("Verifier: ",n),this.isInitialized){e.next=4;break}throw new Error("Not initialized yet");case 4:if(l=le({typeOfLogin:r,clientId:i,verifier:n,redirect_uri:this.config.redirect_uri,redirectToOpener:this.config.redirectToOpener,jwtParams:o}),!a||!c){e.next=13;break}if(f=V(a,c),d=f.error,p=f.hashParameters,!d){e.next=9;break}throw new Error(d);case 9:h=p.access_token,m=p.id_token,u={accessToken:h,idToken:m},e.next=16;break;case 13:return e.next=15,l.handleLoginWindow();case 15:u=e.sent;case 16:return e.next=18,l.getUserInfo(u);case 18:return b=e.sent,e.next=21,this.getTorusKey(n,b.verifierId,{verifier_id:b.verifierId},u.idToken||u.accessToken);case 21:return y=e.sent,e.abrupt("return",me(me({},y),{},{userInfo:me(me({},b),u)}));case 23:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"triggerAggregateLogin",value:(r=l()(s.a.mark((function e(t){var n,r,i,o,a,c,l,u,f,d,p,h,m,b,y,g,v,k,x,S,O,E,T,A,M,I,P,C,j,D,R,N;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.aggregateVerifierType,r=t.verifierIdentifier,i=t.subVerifierDetailsArray,this.isInitialized){e.next=3;break}throw new Error("Not initialized yet");case 3:if(n&&r&&Array.isArray(i)){e.next=5;break}throw new Error("Invalid params");case 5:if(n!==_.a.SINGLE_VERIFIER_ID||1===i.length){e.next=7;break}throw new Error("Single id verifier can only have one sub verifier");case 7:o=[],a=[],c=de(i),e.prev=10,c.s();case 12:if((l=c.n()).done){e.next=32;break}if(u=l.value,f=u.clientId,d=u.typeOfLogin,p=u.verifier,h=u.jwtParams,m=u.hash,b=u.queryParameters,y=le({typeOfLogin:d,clientId:f,verifier:p,redirect_uri:this.config.redirect_uri,redirectToOpener:this.config.redirectToOpener,jwtParams:h}),g=void 0,!m||!b){e.next=25;break}if(v=V(m,b),k=v.error,x=v.hashParameters,!k){e.next=21;break}throw new Error(k);case 21:S=x.access_token,O=x.id_token,g={accessToken:S,idToken:O},e.next=28;break;case 25:return e.next=27,y.handleLoginWindow();case 27:g=e.sent;case 28:o.push(y.getUserInfo(g)),a.push(g);case 30:e.next=12;break;case 32:e.next=37;break;case 34:e.prev=34,e.t0=e.catch(10),c.e(e.t0);case 37:return e.prev=37,c.f(),e.finish(37);case 40:return e.next=42,Promise.all(o);case 42:for(E=e.sent,T={verify_params:[],sub_verifier_ids:[],verifier_id:""},A=[],M="",I=0;I>5,this.byteCount=this.blockCount<<2,this.outputBlocks=n>>5,this.extraBytes=(31&n)>>3;for(var r=0;r<50;++r)this.s[r]=0}_.prototype.update=function(e){var t="string"!=typeof e;t&&e.constructor===ArrayBuffer&&(e=new Uint8Array(e));for(var n,r,i=e.length,o=this.blocks,s=this.byteCount,c=this.blockCount,l=0,u=this.s;l>2]|=e[l]<>2]|=r<>2]|=(192|r>>6)<>2]|=(128|63&r)<=57344?(o[n>>2]|=(224|r>>12)<>2]|=(128|r>>6&63)<>2]|=(128|63&r)<>2]|=(240|r>>18)<>2]|=(128|r>>12&63)<>2]|=(128|r>>6&63)<>2]|=(128|63&r)<=s){for(this.start=n-s,this.block=o[c],n=0;n>2]|=this.padding[3&t],this.lastByteIndex===this.byteCount)for(e[0]=e[n],t=1;t>4&15]+o[15&e]+o[e>>12&15]+o[e>>8&15]+o[e>>20&15]+o[e>>16&15]+o[e>>28&15]+o[e>>24&15];s%t==0&&(k(n),a=0)}return i&&(e=n[a],i>0&&(c+=o[e>>4&15]+o[15&e]),i>1&&(c+=o[e>>12&15]+o[e>>8&15]),i>2&&(c+=o[e>>20&15]+o[e>>16&15])),c},_.prototype.arrayBuffer=function(){this.finalize();var e,t=this.blockCount,n=this.s,r=this.outputBlocks,i=this.extraBytes,o=0,a=0,s=this.outputBits>>3;e=i?new ArrayBuffer(r+1<<2):new ArrayBuffer(s);for(var c=new Uint32Array(e);a>8&255,c[e+2]=t>>16&255,c[e+3]=t>>24&255;s%n==0&&k(r)}return o&&(e=s<<2,t=r[a],o>0&&(c[e]=255&t),o>1&&(c[e+1]=t>>8&255),o>2&&(c[e+2]=t>>16&255)),c};var k=function(e){var t,n,r,i,o,a,c,l,u,f,d,p,h,m,b,y,g,v,w,_,k,x,S,O,E,T,A,M,I,P,C,j,D,R,N,B,L,U,F,q,z,V,H,$,K,W,G,J,Q,Y,Z,X,ee,te,ne,re,ie,oe,ae,se,ce,le,ue;for(r=0;r<48;r+=2)i=e[0]^e[10]^e[20]^e[30]^e[40],o=e[1]^e[11]^e[21]^e[31]^e[41],a=e[2]^e[12]^e[22]^e[32]^e[42],c=e[3]^e[13]^e[23]^e[33]^e[43],l=e[4]^e[14]^e[24]^e[34]^e[44],u=e[5]^e[15]^e[25]^e[35]^e[45],f=e[6]^e[16]^e[26]^e[36]^e[46],d=e[7]^e[17]^e[27]^e[37]^e[47],t=(p=e[8]^e[18]^e[28]^e[38]^e[48])^(a<<1|c>>>31),n=(h=e[9]^e[19]^e[29]^e[39]^e[49])^(c<<1|a>>>31),e[0]^=t,e[1]^=n,e[10]^=t,e[11]^=n,e[20]^=t,e[21]^=n,e[30]^=t,e[31]^=n,e[40]^=t,e[41]^=n,t=i^(l<<1|u>>>31),n=o^(u<<1|l>>>31),e[2]^=t,e[3]^=n,e[12]^=t,e[13]^=n,e[22]^=t,e[23]^=n,e[32]^=t,e[33]^=n,e[42]^=t,e[43]^=n,t=a^(f<<1|d>>>31),n=c^(d<<1|f>>>31),e[4]^=t,e[5]^=n,e[14]^=t,e[15]^=n,e[24]^=t,e[25]^=n,e[34]^=t,e[35]^=n,e[44]^=t,e[45]^=n,t=l^(p<<1|h>>>31),n=u^(h<<1|p>>>31),e[6]^=t,e[7]^=n,e[16]^=t,e[17]^=n,e[26]^=t,e[27]^=n,e[36]^=t,e[37]^=n,e[46]^=t,e[47]^=n,t=f^(i<<1|o>>>31),n=d^(o<<1|i>>>31),e[8]^=t,e[9]^=n,e[18]^=t,e[19]^=n,e[28]^=t,e[29]^=n,e[38]^=t,e[39]^=n,e[48]^=t,e[49]^=n,m=e[0],b=e[1],W=e[11]<<4|e[10]>>>28,G=e[10]<<4|e[11]>>>28,M=e[20]<<3|e[21]>>>29,I=e[21]<<3|e[20]>>>29,se=e[31]<<9|e[30]>>>23,ce=e[30]<<9|e[31]>>>23,V=e[40]<<18|e[41]>>>14,H=e[41]<<18|e[40]>>>14,R=e[2]<<1|e[3]>>>31,N=e[3]<<1|e[2]>>>31,y=e[13]<<12|e[12]>>>20,g=e[12]<<12|e[13]>>>20,J=e[22]<<10|e[23]>>>22,Q=e[23]<<10|e[22]>>>22,P=e[33]<<13|e[32]>>>19,C=e[32]<<13|e[33]>>>19,le=e[42]<<2|e[43]>>>30,ue=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,ne=e[4]<<30|e[5]>>>2,B=e[14]<<6|e[15]>>>26,L=e[15]<<6|e[14]>>>26,v=e[25]<<11|e[24]>>>21,w=e[24]<<11|e[25]>>>21,Y=e[34]<<15|e[35]>>>17,Z=e[35]<<15|e[34]>>>17,j=e[45]<<29|e[44]>>>3,D=e[44]<<29|e[45]>>>3,O=e[6]<<28|e[7]>>>4,E=e[7]<<28|e[6]>>>4,re=e[17]<<23|e[16]>>>9,ie=e[16]<<23|e[17]>>>9,U=e[26]<<25|e[27]>>>7,F=e[27]<<25|e[26]>>>7,_=e[36]<<21|e[37]>>>11,k=e[37]<<21|e[36]>>>11,X=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,$=e[8]<<27|e[9]>>>5,K=e[9]<<27|e[8]>>>5,T=e[18]<<20|e[19]>>>12,A=e[19]<<20|e[18]>>>12,oe=e[29]<<7|e[28]>>>25,ae=e[28]<<7|e[29]>>>25,q=e[38]<<8|e[39]>>>24,z=e[39]<<8|e[38]>>>24,x=e[48]<<14|e[49]>>>18,S=e[49]<<14|e[48]>>>18,e[0]=m^~y&v,e[1]=b^~g&w,e[10]=O^~T&M,e[11]=E^~A&I,e[20]=R^~B&U,e[21]=N^~L&F,e[30]=$^~W&J,e[31]=K^~G&Q,e[40]=te^~re&oe,e[41]=ne^~ie&ae,e[2]=y^~v&_,e[3]=g^~w&k,e[12]=T^~M&P,e[13]=A^~I&C,e[22]=B^~U&q,e[23]=L^~F&z,e[32]=W^~J&Y,e[33]=G^~Q&Z,e[42]=re^~oe&se,e[43]=ie^~ae&ce,e[4]=v^~_&x,e[5]=w^~k&S,e[14]=M^~P&j,e[15]=I^~C&D,e[24]=U^~q&V,e[25]=F^~z&H,e[34]=J^~Y&X,e[35]=Q^~Z&ee,e[44]=oe^~se&le,e[45]=ae^~ce&ue,e[6]=_^~x&m,e[7]=k^~S&b,e[16]=P^~j&O,e[17]=C^~D&E,e[26]=q^~V&R,e[27]=z^~H&N,e[36]=Y^~X&$,e[37]=Z^~ee&K,e[46]=se^~le&te,e[47]=ce^~ue&ne,e[8]=x^~m&y,e[9]=S^~b&g,e[18]=j^~O&T,e[19]=D^~E&A,e[28]=V^~R&B,e[29]=H^~N&L,e[38]=X^~$&W,e[39]=ee^~K&G,e[48]=le^~te&re,e[49]=ue^~ne&ie,e[0]^=s[r],e[1]^=s[r+1]};if(i)e.exports=h;else for(b=0;b>8,a=255&i;o?n.push(o,a):n.push(a)}return n},n.zero2=r,n.toHex=i,n.encode=function(e,t){return"hex"===t?i(e):e}})),f=s((function(e,t){var n=t;n.assert=c,n.toArray=u.toArray,n.zero2=u.zero2,n.toHex=u.toHex,n.encode=u.encode,n.getNAF=function(e,t,n){var r=new Array(Math.max(e.bitLength(),n)+1);r.fill(0);for(var i=1<(i>>1)-1?(i>>1)-c:c,o.isubn(s)):s=0,r[a]=s,o.iushrn(1)}return r},n.getJSF=function(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var r=0,i=0;e.cmpn(-r)>0||t.cmpn(-i)>0;){var o,a,s,c=e.andln(3)+r&3,l=t.andln(3)+i&3;if(3===c&&(c=-1),3===l&&(l=-1),0==(1&c))o=0;else o=3!==(s=e.andln(7)+r&7)&&5!==s||2!==l?c:-c;if(n[0].push(o),0==(1&l))a=0;else a=3!==(s=t.andln(7)+i&7)&&5!==s||2!==c?l:-l;n[1].push(a),2*r===o+1&&(r=1-r),2*i===a+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return n},n.cachedProperty=function(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new i.a(e,"hex","le")}})),d=f.getNAF,p=f.getJSF,h=f.assert;function m(e,t){this.type=e,this.p=new i.a(t.p,16),this.red=t.prime?i.a.red(t.prime):i.a.mont(this.p),this.zero=new i.a(0).toRed(this.red),this.one=new i.a(1).toRed(this.red),this.two=new i.a(2).toRed(this.red),this.n=t.n&&new i.a(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var b=m;function y(e,t){this.curve=e,this.type=t,this.precomputed=null}m.prototype.point=function(){throw new Error("Not implemented")},m.prototype.validate=function(){throw new Error("Not implemented")},m.prototype._fixedNafMul=function(e,t){h(e.precomputed);var n=e._getDoubles(),r=d(t,1,this._bitLength),i=(1<=a;t--)s=(s<<1)+r[t];o.push(s)}for(var c=this.jpoint(null,null,null),l=this.jpoint(null,null,null),u=i;u>0;u--){for(a=0;a=0;s--){for(t=0;s>=0&&0===o[s];s--)t++;if(s>=0&&t++,a=a.dblp(t),s<0)break;var c=o[s];h(0!==c),a="affine"===e.type?c>0?a.mixedAdd(i[c-1>>1]):a.mixedAdd(i[-c-1>>1].neg()):c>0?a.add(i[c-1>>1]):a.add(i[-c-1>>1].neg())}return"affine"===e.type?a.toP():a},m.prototype._wnafMulAdd=function(e,t,n,r,i){for(var o=this._wnafT1,a=this._wnafT2,s=this._wnafT3,c=0,l=0;l=1;l-=2){var f=l-1,h=l;if(1===o[f]&&1===o[h]){var m=[t[f],null,null,t[h]];0===t[f].y.cmp(t[h].y)?(m[1]=t[f].add(t[h]),m[2]=t[f].toJ().mixedAdd(t[h].neg())):0===t[f].y.cmp(t[h].y.redNeg())?(m[1]=t[f].toJ().mixedAdd(t[h]),m[2]=t[f].add(t[h].neg())):(m[1]=t[f].toJ().mixedAdd(t[h]),m[2]=t[f].toJ().mixedAdd(t[h].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],y=p(n[f],n[h]);c=Math.max(y[0].length,c),s[f]=new Array(c),s[h]=new Array(c);for(var g=0;g=0;l--){for(var x=0;l>=0;){var S=!0;for(g=0;g=0&&x++,_=_.dblp(x),l<0)break;for(g=0;g0?O=a[g][E-1>>1]:E<0&&(O=a[g][-E-1>>1].neg()),_="affine"===O.type?_.mixedAdd(O):_.add(O))}}for(l=0;l=Math.ceil((e.bitLength()+1)/t.step)},y.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i=0&&(a=t,s=n),r.negative&&(r=r.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:r,b:o},{a:a,b:s}]},w.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),o=n.b.neg().mul(e).divRound(this.n),a=i.mul(n.a),s=o.mul(r.a),c=i.mul(n.b),l=o.mul(r.b);return{k1:e.sub(a).sub(s),k2:c.add(l).neg()}},w.prototype.pointFromX=function(e,t){(e=new i.a(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(t&&!o||!t&&o)&&(r=r.redNeg()),this.point(e,r)},w.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},w.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},k.prototype.isInfinity=function(){return this.inf},k.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},k.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},k.prototype.getX=function(){return this.x.fromRed()},k.prototype.getY=function(){return this.y.fromRed()},k.prototype.mul=function(e){return e=new i.a(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},k.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},k.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},k.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},k.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},k.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},g(x,b.BasePoint),w.prototype.jpoint=function(e,t,n){return new x(this,e,t,n)},x.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},x.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},x.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),o=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(n.redMul(this.z)),s=r.redSub(i),c=o.redSub(a);if(0===s.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=s.redSqr(),u=l.redMul(s),f=r.redMul(l),d=c.redSqr().redIAdd(u).redISub(f).redISub(f),p=c.redMul(f.redISub(d)).redISub(o.redMul(u)),h=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(d,p,h)},x.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),a=n.redSub(r),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),l=c.redMul(a),u=n.redMul(c),f=s.redSqr().redIAdd(l).redISub(u).redISub(u),d=s.redMul(u.redISub(f)).redISub(i.redMul(l)),p=this.z.redMul(a);return this.curve.jpoint(f,d,p)},x.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,n=0;n=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},x.prototype.inspect=function(){return this.isInfinity()?"":""},x.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var S=s((function(e,t){var n=t;n.base=b,n.short=_,n.mont=null,n.edwards=null})),O=s((function(e,t){var n,r=t,i=f.assert;function o(e){"short"===e.type?this.curve=new S.short(e):"edwards"===e.type?this.curve=new S.edwards(e):this.curve=new S.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function s(e,t){Object.defineProperty(r,e,{configurable:!0,enumerable:!0,get:function(){var n=new o(t);return Object.defineProperty(r,e,{configurable:!0,enumerable:!0,value:n}),n}})}r.PresetCurve=o,s("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:a.a.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),s("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:a.a.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),s("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:a.a.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),s("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:a.a.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),s("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:a.a.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),s("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.a.sha256,gRed:!1,g:["9"]}),s("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.a.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=null.crash()}catch(e){n=void 0}s("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:a.a.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})}));function E(e){if(!(this instanceof E))return new E(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=u.toArray(e.entropy,e.entropyEnc||"hex"),n=u.toArray(e.nonce,e.nonceEnc||"hex"),r=u.toArray(e.pers,e.persEnc||"hex");c(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,n,r)}var T=E;E.prototype._init=function(e,t,n){var r=e.concat(t).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(n||[])),this._reseed=1},E.prototype.generate=function(e,t,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(r=n,n=t,t=null),n&&(n=u.toArray(n,r||"hex"),this._update(n));for(var i=[];i.length"};var P=f.assert;function C(e,t){if(e instanceof C)return e;this._importDER(e,t)||(P(e.r&&e.s,"Signature without r or s"),this.r=new i.a(e.r,16),this.s=new i.a(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var j=C;function D(){this.place=0}function R(e,t){var n=e[t.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,o=0,a=t.place;o>>=0;return!(i<=127)&&(t.place=a,i)}function N(e){for(var t=0,n=e.length-1;!e[t]&&!(128&e[t+1])&&t>>3);for(e.push(128|n);--n;)e.push(t>>>(n<<3)&255);e.push(t)}}C.prototype._importDER=function(e,t){e=f.toArray(e,t);var n=new D;if(48!==e[n.place++])return!1;var r=R(e,n);if(!1===r)return!1;if(r+n.place!==e.length)return!1;if(2!==e[n.place++])return!1;var o=R(e,n);if(!1===o)return!1;var a=e.slice(n.place,o+n.place);if(n.place+=o,2!==e[n.place++])return!1;var s=R(e,n);if(!1===s)return!1;if(e.length!==s+n.place)return!1;var c=e.slice(n.place,s+n.place);if(0===a[0]){if(!(128&a[1]))return!1;a=a.slice(1)}if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}return this.r=new i.a(a),this.s=new i.a(c),this.recoveryParam=null,!0},C.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=N(t),n=N(n);!(n[0]||128&n[1]);)n=n.slice(1);var r=[2];B(r,t.length),(r=r.concat(t)).push(2),B(r,n.length);var i=r.concat(n),o=[48];return B(o,i.length),o=o.concat(i),f.encode(o,e)};var L=function(){throw new Error("unsupported")},U=f.assert;function F(e){if(!(this instanceof F))return new F(e);"string"==typeof e&&(U(O.hasOwnProperty(e),"Unknown curve "+e),e=O[e]),e instanceof O.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var q=F;F.prototype.keyPair=function(e){return new I(this,e)},F.prototype.keyFromPrivate=function(e,t){return I.fromPrivate(this,e,t)},F.prototype.keyFromPublic=function(e,t){return I.fromPublic(this,e,t)},F.prototype.genKeyPair=function(e){e||(e={});for(var t=new T({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||L(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),r=this.n.sub(new i.a(2));;){var o=new i.a(t.generate(n));if(!(o.cmp(r)>0))return o.iaddn(1),this.keyFromPrivate(o)}},F.prototype._truncateToN=function(e,t){var n=8*e.byteLength()-this.n.bitLength();return n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},F.prototype.sign=function(e,t,n,r){"object"==typeof n&&(r=n,n=null),r||(r={}),t=this.keyFromPrivate(t,n),e=this._truncateToN(new i.a(e,16));for(var o=this.n.byteLength(),a=t.getPrivate().toArray("be",o),s=e.toArray("be",o),c=new T({hash:this.hash,entropy:a,nonce:s,pers:r.pers,persEnc:r.persEnc||"utf8"}),l=this.n.sub(new i.a(1)),u=0;;u++){var f=r.k?r.k(u):new i.a(c.generate(this.n.byteLength()));if(!((f=this._truncateToN(f,!0)).cmpn(1)<=0||f.cmp(l)>=0)){var d=this.g.mul(f);if(!d.isInfinity()){var p=d.getX(),h=p.umod(this.n);if(0!==h.cmpn(0)){var m=f.invm(this.n).mul(h.mul(t.getPrivate()).iadd(e));if(0!==(m=m.umod(this.n)).cmpn(0)){var b=(d.getY().isOdd()?1:0)|(0!==p.cmp(h)?2:0);return r.canonical&&m.cmp(this.nh)>0&&(m=this.n.sub(m),b^=1),new j({r:h,s:m,recoveryParam:b})}}}}}},F.prototype.verify=function(e,t,n,r){e=this._truncateToN(new i.a(e,16)),n=this.keyFromPublic(n,r);var o=(t=new j(t,"hex")).r,a=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,c=a.invm(this.n),l=c.mul(e).umod(this.n),u=c.mul(o).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(l,n.getPublic(),u)).isInfinity()&&s.eqXToP(o):!(s=this.g.mulAdd(l,n.getPublic(),u)).isInfinity()&&0===s.getX().umod(this.n).cmp(o)},F.prototype.recoverPubKey=function(e,t,n,r){U((3&n)===n,"The recovery param is more than two bits"),t=new j(t,r);var o=this.n,a=new i.a(e),s=t.r,c=t.s,l=1&n,u=n>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&u)throw new Error("Unable to find sencond key candinate");s=u?this.curve.pointFromX(s.add(this.curve.n),l):this.curve.pointFromX(s,l);var f=t.r.invm(o),d=o.sub(a).mul(f).umod(o),p=c.mul(f).umod(o);return this.g.mulAdd(d,s,p)},F.prototype.getKeyRecoveryParam=function(e,t,n,r){if(null!==(t=new j(t,r)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")};var z=s((function(e,t){var n=t;n.version="6.5.3",n.utils=f,n.rand=function(){throw new Error("unsupported")},n.curve=S,n.curves=O,n.ec=q,n.eddsa=null})).ec}).call(this,n(12))},function(e){e.exports=JSON.parse('{"torus.sign-in.google":"Sign in with Google","torus.sign-in.modal.title":"Set Password","torus.sign-in.modal.paragraph":"This will be the password you will be using to sign in to Keplr wallet.","torus.sign-in.modal.input.password":"New Password (minimum 8 characters)","torus.sign-in.modal.input.password.error.required":"Password is required","torus.sign-in.modal.input.password.error.too-short":"Too short password","torus.sign-in.modal.input.confirm-password":"Confirm password","torus.sign-in.modal.input.confirm-password.error.required":"Confirm password is required","torus.sign-in.modal.input.confirm-password.error.unmatched":"Password should match","torus.sign-in.modal.button.confirm":"Confirm"}')},function(e){e.exports=JSON.parse('{"torus.sign-in.google":"Google 계정으로 로그인","torus.sign-in.modal.title":"비밀번호 설정","torus.sign-in.modal.paragraph":"케플러 잠금을 해제할 때 사용할 비밀번호를 설정하세요","torus.sign-in.modal.input.password":"새로운 비밀번호 (최소 8자리 이상)","torus.sign-in.modal.input.password.error.required":"비밀번호를 입력하세요","torus.sign-in.modal.input.password.error.too-short":"비밀번호가 너무 짧습니다","torus.sign-in.modal.input.confirm-password":"비밀번호 확인","torus.sign-in.modal.input.confirm-password.error.required":"비밀번호를 입력하세요","torus.sign-in.modal.input.confirm-password.error.unmatched":"비밀번호가 일치하지 않습니다","torus.sign-in.modal.button.confirm":"확인"}')},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return _}));var r=n(0),i=n.n(r),o=n(231),a=n.n(o),s=n(14),c=n(21),l=n(20),u=n(108),f=n(10),d=n.n(f),p=n(1554),h=n(93),m=n(111),b=n(393),y=n(63),g=n(23),v=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};const w=Object(s.a)(({onClick:t,balance:n})=>{const{chainStore:o,accountStore:s,tokensStore:f}=Object(c.b)(),[y]=Object(r.useState)(["#5e72e4","#11cdef","#2dce89","#fb6340"]),g=n.currency.coinDenom.toUpperCase(),w=n.currency.coinMinimalDenom;let _=n.balance.trim(!0).shrink(!0);const k=Object(r.useMemo)(()=>{const t=u.Hash.sha256(e.from(w));return t.length>0?y[t[0]%y.length]:y[0]},[y,w]),x=n.error,S=e.from(u.Hash.sha256(e.from(w))).toString("hex").replace(/\d+/g,"").slice(0,20),O=Object(l.useHistory)(),E=Object(m.c)(),T=Object(b.b)(),A=s.getAccount(o.current.chainId);return"originCurrency"in _.currency&&_.currency.originCurrency&&(_=_.setCurrency(_.currency.originCurrency)),i.a.createElement("div",{className:a.a.tokenContainer,onClick:e=>{e.preventDefault(),t()}},i.a.createElement("div",{className:a.a.icon},i.a.createElement("div",{style:{width:"100%",height:"100%",borderRadius:"100000px",backgroundColor:k,display:"flex",justifyContent:"center",alignItems:"center",color:"#FFFFFF",fontSize:"16px"}},g.length>0?g[0]:"?")),i.a.createElement("div",{className:a.a.innerContainer},i.a.createElement("div",{className:a.a.content},i.a.createElement("div",{className:a.a.name},g),i.a.createElement("div",{className:a.a.amount},_.maxDecimals(6).toString(),n.isFetching?i.a.createElement("i",{className:"fas fa-spinner fa-spin ml-1"}):null)),i.a.createElement("div",{style:{flex:1}}),x?i.a.createElement("div",{className:d()(a.a.rightIcon,"mr-2")},i.a.createElement("i",{className:"fas fa-exclamation-circle text-danger",id:S}),i.a.createElement(p.a,{target:S},x.message)):null,(null==x?void 0:x.data)&&x.data instanceof h.WrongViewingKeyError?i.a.createElement("div",{className:d()(a.a.rightIcon,"mr-2"),onClick:e=>v(void 0,void 0,void 0,(function*(){if(e.preventDefault(),e.stopPropagation(),"type"in n.currency&&"secret20"===n.currency.type){const e=yield v(void 0,void 0,void 0,(function*(){if("type"in n.currency&&"secret20"===n.currency.type){const e=n.currency.contractAddress;return new Promise(t=>{A.createSecret20ViewingKey(e,"",{},(e,n)=>{T.setIsLoading("create-veiwing-key",!1),t(n)}).then(()=>{T.setIsLoading("create-veiwing-key",!0)})})}}));if(!e)return void E.push({placement:"top-center",type:"danger",duration:2,content:"Failed to create the viewing key",canDelete:!0,transition:{duration:.25}});const t=f.getTokensOf(o.current.chainId);yield t.addToken(Object.assign(Object.assign({},n.currency),{viewingKey:e})),O.push({pathname:"/"})}}))},"createSecret20ViewingKey"===A.isSendingMsg?i.a.createElement("i",{className:"fa fa-spinner fa-spin fa-fw"}):i.a.createElement("i",{className:"fas fa-wrench"})):null,i.a.createElement("div",{className:a.a.rightIcon},i.a.createElement("i",{className:"fas fa-angle-right"}))))}),_=Object(s.a)(()=>{const{chainStore:e,accountStore:t,queriesStore:n}=Object(c.b)(),r=t.getAccount(e.current.chainId),o=n.get(e.current.chainId).getQueryBalances().getQueryBech32Address(r.bech32Address).unstakables.filter(e=>"native"!==new y.DenomHelper(e.currency.coinMinimalDenom).type||e.balance.toDec().gt(new g.Dec("0"))),s=Object(l.useHistory)();return i.a.createElement("div",{className:a.a.tokensContainer},i.a.createElement("h1",{className:a.a.title},"Tokens"),o.map((e,t)=>i.a.createElement(w,{key:t.toString(),balance:e,onClick:()=>{s.push({pathname:"/send",search:"?defaultDenom="+e.currency.coinMinimalDenom})}})))})}).call(this,n(2).Buffer)},function(e,t,n){var r=n(37),i=n(1509);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return v}));var r=n(0),i=n.n(r),o=n(55),a=n(14),s=n(21),c=n(20),l=n(402),u=n(1555),f=n(1556),d=n(943),p=n.n(d),h=n(393),m=n(87),b=n(869),y=n(388),g=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};const v=Object(a.a)(()=>{const e=Object(b.a)(),{keyRingStore:t}=Object(s.b)(),n=Object(c.useHistory)(),r=Object(h.b)();return i.a.createElement(o.a,{showChainName:!1,canChangeChainInfo:!1,alternativeTitle:e.formatMessage({id:"setting.keyring"}),onBackButton:()=>{n.goBack()}},i.a.createElement("div",{className:p.a.container},i.a.createElement("div",{className:p.a.innerTopContainer},i.a.createElement("div",{style:{flex:1}}),i.a.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center"}},i.a.createElement(l.a,{color:"primary",size:"sm",onClick:e=>{e.preventDefault(),browser.tabs.create({url:"/popup.html#/register"})}},i.a.createElement("i",{className:"fas fa-plus",style:{marginRight:"4px",fontSize:"8px"}}),i.a.createElement(y.a,{id:"setting.keyring.button.add"})))),t.multiKeyStoreInfo.map((o,a)=>{var s,c;const l=o.bip44HDPath?o.bip44HDPath:{account:0,change:0,addressIndex:0};return i.a.createElement(m.a,{key:a.toString(),title:`${(null===(s=o.meta)||void 0===s?void 0:s.name)?o.meta.name:e.formatMessage({id:"setting.keyring.unnamed-account"})} ${o.selected?e.formatMessage({id:"setting.keyring.selected-account"}):""}`,paragraph:"ledger"===o.type?`Ledger - m/44'/118'/${l.account}'${0!==l.change||0!==l.addressIndex?`/${l.change}/${l.addressIndex}`:""}`:(null===(c=o.meta)||void 0===c?void 0:c.email)?o.meta.email:void 0,onClick:o.selected?void 0:e=>g(void 0,void 0,void 0,(function*(){e.preventDefault(),r.setIsLoading("keyring",!0);try{yield t.changeKeyRing(a),r.setIsLoading("keyring",!1),n.push("/")}catch(e){console.log("Failed to change keyring: "+e.message),r.setIsLoading("keyring",!1)}})),style:o.selected?{cursor:"default"}:void 0,icons:[i.a.createElement(w,{key:"tools",index:a,keyStore:o})]})})))}),w=({index:t,keyStore:n})=>{const[o,a]=Object(r.useState)(!1),s=Object(c.useHistory)(),[l]=Object(r.useState)(()=>{const t=new Uint8Array(4);return crypto.getRandomValues(t),"tools-"+e.from(t).toString("hex")});return i.a.createElement(i.a.Fragment,null,i.a.createElement(u.a,{target:l,isOpen:o,toggle:()=>a(e=>!e),placement:"bottom"},i.a.createElement(f.a,{onClick:e=>{e.preventDefault(),e.stopPropagation(),s.push("")}},"mnemonic"===n.type||"privateKey"===n.type?i.a.createElement("div",{style:{cursor:"pointer"},onClick:e=>{e.preventDefault(),e.stopPropagation(),s.push(`/setting/export/${t}?type=${n.type}`)}},i.a.createElement(y.a,{id:"mnemonic"===n.type?"setting.export":"setting.export.private-key"})):null,i.a.createElement("div",{style:{cursor:"pointer"},onClick:e=>{e.preventDefault(),e.stopPropagation(),s.push("/setting/keyring/change/name/"+t)}},i.a.createElement(y.a,{id:"setting.keyring.change.name"})),i.a.createElement("div",{style:{cursor:"pointer"},onClick:e=>{e.preventDefault(),e.stopPropagation(),s.push("/setting/clear/"+t)}},i.a.createElement(y.a,{id:"setting.clear"})))),i.a.createElement("div",{style:{display:"flex",alignItems:"center",height:"100%",padding:"0 8px",cursor:"pointer"},onClick:e=>{e.preventDefault(),e.stopPropagation(),a(!0)}},i.a.createElement("i",{id:l,className:"fas fa-ellipsis-h"})))}}).call(this,n(2).Buffer)},function(e,t,n){var r=n(37),i=n(1517);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(37),i=n(1518);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(37),i=n(1519);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(37),i=n(1520);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){"use strict";const r=n(1525),i=n(979),o=n(1526);function a(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function s(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function c(e,t){return t.decode?i(e):e}function l(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function u(e){const t=(e=l(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function f(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function d(e,t){a((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const i="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!i&&c(n,e).includes(e.arrayFormatSeparator);n=o?c(n,e):n;const a=i||o?n.split(e.arrayFormatSeparator).map(t=>c(t,e)):null===n?n:c(n,e);r[t]=a};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const i of e.split("&")){let[e,a]=o(t.decode?i.replace(/\+/g," "):i,"=");a=void 0===a?null:["comma","separator"].includes(t.arrayFormat)?a:c(a,t),n(c(e,t),a,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=f(n[e],t);else r[e]=f(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((e,t)=>Number(e)-Number(t)).map(e=>t[e]):t}(n):e[t]=n,e},Object.create(null))}t.extract=u,t.parse=d,t.stringify=(e,t)=>{if(!e)return"";a((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[s(t,e),"[",i,"]"].join("")]:[...n,[s(t,e),"[",s(i,e),"]=",s(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[s(t,e),"[]"].join("")]:[...n,[s(t,e),"[]=",s(r,e)].join("")];case"comma":case"separator":return t=>(n,r)=>null==r||0===r.length?n:0===n.length?[[s(t,e),"=",s(r,e)].join("")]:[[n,s(r,e)].join(e.arrayFormatSeparator)];default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,s(t,e)]:[...n,[s(t,e),"=",s(r,e)].join("")]}}(t),i={};for(const t of Object.keys(e))n(t)||(i[t]=e[t]);const o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map(n=>{const i=e[n];return void 0===i?"":null===i?s(n,t):Array.isArray(i)?i.reduce(r(n),[]).join("&"):s(n,t)+"="+s(i,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:d(u(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:c(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0},n);const r=l(e.url).split("?")[0]||"",i=t.extract(e.url),o=t.parse(i,{sort:!1}),a=Object.assign(o,e.query);let c=t.stringify(a,n);c&&(c="?"+c);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u="#"+s(e.fragmentIdentifier,n)),`${r}${c}${u}`}},function(e,t,n){var r=n(37),i=n(1534);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(37),i=n(1535);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){"use strict";function r(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(19),i=n(26),o=n(0),a=n.n(o),s=n(1),c=n.n(s),l=n(10),u=n.n(l),f=n(8),d={tag:f.p,size:c.a.string,className:c.a.string,cssModule:c.a.object},p=function(e){var t=e.className,n=e.cssModule,o=e.tag,s=e.size,c=Object(i.a)(e,["className","cssModule","tag","size"]),l=Object(f.l)(u()(t,"input-group",s?"input-group-"+s:null),n);return a.a.createElement(o,Object(r.a)({},c,{className:l}))};p.propTypes=d,p.defaultProps={tag:"div"},t.a=p},function(e,t,n){"use strict";var r=n(19),i=n(26),o=n(0),a=n.n(o),s=n(1),c=n.n(s),l=n(10),u=n.n(l),f=n(8),d={tag:f.p,className:c.a.string,cssModule:c.a.object},p=function(e){var t=e.className,n=e.cssModule,o=e.tag,s=Object(i.a)(e,["className","cssModule","tag"]),c=Object(f.l)(u()(t,"modal-body"),n);return a.a.createElement(o,Object(r.a)({},s,{className:c}))};p.propTypes=d,p.defaultProps={tag:"div"},t.a=p},,,,,,function(e,t,n){e.exports=n(1544)},function(e,t,n){"use strict"; -/** @license React v16.14.0 - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var r=n(406),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,c=i?Symbol.for("react.strict_mode"):60108,l=i?Symbol.for("react.profiler"):60114,u=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,d=i?Symbol.for("react.forward_ref"):60112,p=i?Symbol.for("react.suspense"):60113,h=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116,b="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nI.length&&I.push(e)}function j(e,t,n){return null==e?0:function e(t,n,r,i){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case o:case a:c=!0}}if(c)return r(i,t,""===n?"."+D(t,0):n),1;if(c=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l