diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index 26289af9d..6f501c450 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -20,12 +20,14 @@
"moment": "^2.29.2",
"react": "^16.13.1",
"react-contenteditable": "^3.3.4",
+ "react-copy-to-clipboard": "^5.1.0",
"react-dom": "^16.13.1",
"react-redux": "^7.2.1",
"react-responsive": "^8.1.0",
"react-router-dom": "^5.2.0",
"react-scripts": "^5.0.0",
"react-select": "^5.2.2",
+ "react-tooltip": "^4.2.21",
"sass": "^1.49.7",
"serve": "^13.0.2",
"socket.io-client": "^2.3.0"
@@ -6258,6 +6260,14 @@
"resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
"integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
},
+ "node_modules/copy-to-clipboard": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz",
+ "integrity": "sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw==",
+ "dependencies": {
+ "toggle-selection": "^1.0.6"
+ }
+ },
"node_modules/core-js": {
"version": "3.21.1",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.21.1.tgz",
@@ -15635,6 +15645,18 @@
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
"integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk="
},
+ "node_modules/react-copy-to-clipboard": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/react-copy-to-clipboard/-/react-copy-to-clipboard-5.1.0.tgz",
+ "integrity": "sha512-k61RsNgAayIJNoy9yDsYzDe/yAZAzEbEgcz3DZMhF686LEyukcE1hzurxe85JandPUG+yTfGVFzuEw3xt8WP/A==",
+ "dependencies": {
+ "copy-to-clipboard": "^3.3.1",
+ "prop-types": "^15.8.1"
+ },
+ "peerDependencies": {
+ "react": "^15.3.0 || 16 || 17 || 18"
+ }
+ },
"node_modules/react-dev-utils": {
"version": "12.0.0",
"resolved": "https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-12.0.0.tgz",
@@ -16006,6 +16028,30 @@
"react-dom": ">=16.6.0"
}
},
+ "node_modules/react-tooltip": {
+ "version": "4.2.21",
+ "resolved": "https://registry.npmjs.org/react-tooltip/-/react-tooltip-4.2.21.tgz",
+ "integrity": "sha512-zSLprMymBDowknr0KVDiJ05IjZn9mQhhg4PRsqln0OZtURAJ1snt1xi5daZfagsh6vfsziZrc9pErPTDY1ACig==",
+ "dependencies": {
+ "prop-types": "^15.7.2",
+ "uuid": "^7.0.3"
+ },
+ "engines": {
+ "npm": ">=6.13"
+ },
+ "peerDependencies": {
+ "react": ">=16.0.0",
+ "react-dom": ">=16.0.0"
+ }
+ },
+ "node_modules/react-tooltip/node_modules/uuid": {
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-7.0.3.tgz",
+ "integrity": "sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg==",
+ "bin": {
+ "uuid": "dist/bin/uuid"
+ }
+ },
"node_modules/readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
@@ -17802,6 +17848,11 @@
"node": ">=8.0"
}
},
+ "node_modules/toggle-selection": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz",
+ "integrity": "sha1-bkWxJj8gF/oKzH2J14sVuL932jI="
+ },
"node_modules/toidentifier": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
@@ -23616,6 +23667,14 @@
"resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
"integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
},
+ "copy-to-clipboard": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz",
+ "integrity": "sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw==",
+ "requires": {
+ "toggle-selection": "^1.0.6"
+ }
+ },
"core-js": {
"version": "3.21.1",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.21.1.tgz",
@@ -30390,6 +30449,15 @@
}
}
},
+ "react-copy-to-clipboard": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/react-copy-to-clipboard/-/react-copy-to-clipboard-5.1.0.tgz",
+ "integrity": "sha512-k61RsNgAayIJNoy9yDsYzDe/yAZAzEbEgcz3DZMhF686LEyukcE1hzurxe85JandPUG+yTfGVFzuEw3xt8WP/A==",
+ "requires": {
+ "copy-to-clipboard": "^3.3.1",
+ "prop-types": "^15.8.1"
+ }
+ },
"react-dev-utils": {
"version": "12.0.0",
"resolved": "https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-12.0.0.tgz",
@@ -30667,6 +30735,22 @@
}
}
},
+ "react-tooltip": {
+ "version": "4.2.21",
+ "resolved": "https://registry.npmjs.org/react-tooltip/-/react-tooltip-4.2.21.tgz",
+ "integrity": "sha512-zSLprMymBDowknr0KVDiJ05IjZn9mQhhg4PRsqln0OZtURAJ1snt1xi5daZfagsh6vfsziZrc9pErPTDY1ACig==",
+ "requires": {
+ "prop-types": "^15.7.2",
+ "uuid": "^7.0.3"
+ },
+ "dependencies": {
+ "uuid": {
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-7.0.3.tgz",
+ "integrity": "sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg=="
+ }
+ }
+ },
"readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
@@ -32035,6 +32119,11 @@
"is-number": "^7.0.0"
}
},
+ "toggle-selection": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz",
+ "integrity": "sha1-bkWxJj8gF/oKzH2J14sVuL932jI="
+ },
"toidentifier": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
diff --git a/frontend/package.json b/frontend/package.json
index 660fe73e6..6648c11f3 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -15,12 +15,14 @@
"moment": "^2.29.2",
"react": "^16.13.1",
"react-contenteditable": "^3.3.4",
+ "react-copy-to-clipboard": "^5.1.0",
"react-dom": "^16.13.1",
"react-redux": "^7.2.1",
"react-responsive": "^8.1.0",
"react-router-dom": "^5.2.0",
"react-scripts": "^5.0.0",
"react-select": "^5.2.2",
+ "react-tooltip": "^4.2.21",
"sass": "^1.49.7",
"serve": "^13.0.2",
"socket.io-client": "^2.3.0"
diff --git a/frontend/src/Icons.js b/frontend/src/Icons.js
index 462c7a4e0..0b60317e9 100644
--- a/frontend/src/Icons.js
+++ b/frontend/src/Icons.js
@@ -168,3 +168,10 @@ export const ICON_SEND = (props) => {
export const ICON_QUESTION = (props) => {
return
}
+
+export const ICON_CLIPBOARD = (props) => {
+ return
+}
diff --git a/frontend/src/components/Peers/index.js b/frontend/src/components/Peers/index.js
index fe3ecdc4c..8cae2c954 100644
--- a/frontend/src/components/Peers/index.js
+++ b/frontend/src/components/Peers/index.js
@@ -1,11 +1,13 @@
import React, { useEffect, useState, useContext } from 'react'
import './style.scss'
import { withRouter, Link } from 'react-router-dom'
-import { ICON_SEARCH, ICON_ARROWBACK, ICON_CLOSE } from '../../Icons'
+import { ICON_SEARCH, ICON_ARROWBACK, ICON_CLOSE, ICON_CLIPBOARD } from '../../Icons'
import { getProfileImageSrcString } from '../../squeakimages/images';
import Loader from '../Loader'
import SqueakCard from '../SqueakCard'
import PeerCard from '../../features/peers/PeerCard'
+import { CopyToClipboard } from 'react-copy-to-clipboard';
+import ReactTooltip from "react-tooltip";
import { Form, Input, Select, Checkbox, Relevant, Debug, TextArea, Option } from 'informed';
@@ -114,10 +116,43 @@ const Peers = (props) => {
-
-
+
+
+
);
diff --git a/frontend/src/components/Peers/style.scss b/frontend/src/components/Peers/style.scss
index 9f4d0c58c..2bde2dffe 100644
--- a/frontend/src/components/Peers/style.scss
+++ b/frontend/src/components/Peers/style.scss
@@ -69,3 +69,16 @@
}
}
}
+
+
+.float-container {
+ display: flex; /* ADDED */
+ align-items: center; /* ADDED */
+ width: 100%;
+}
+
+.float-child {
+ position: relative;
+ float: left;
+ width: 730px;
+}
diff --git a/frontend/yarn.lock b/frontend/yarn.lock
index 964cd3cf8..4a42b802c 100644
--- a/frontend/yarn.lock
+++ b/frontend/yarn.lock
@@ -3308,6 +3308,13 @@
"resolved" "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz"
"version" "0.4.2"
+"copy-to-clipboard@^3.3.1":
+ "integrity" "sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw=="
+ "resolved" "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz"
+ "version" "3.3.1"
+ dependencies:
+ "toggle-selection" "^1.0.6"
+
"core-js-compat@^3.20.2", "core-js-compat@^3.21.0":
"integrity" "sha512-gbgX5AUvMb8gwxC7FLVWYT7Kkgu/y7+h/h1X43yJkNqhlK2fuYyQimqvKGNZFAY6CKii/GFKJ2cp/1/42TN36g=="
"resolved" "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.21.1.tgz"
@@ -7620,6 +7627,14 @@
"fast-deep-equal" "^2.0.1"
"prop-types" "^15.7.1"
+"react-copy-to-clipboard@^5.1.0":
+ "integrity" "sha512-k61RsNgAayIJNoy9yDsYzDe/yAZAzEbEgcz3DZMhF686LEyukcE1hzurxe85JandPUG+yTfGVFzuEw3xt8WP/A=="
+ "resolved" "https://registry.npmjs.org/react-copy-to-clipboard/-/react-copy-to-clipboard-5.1.0.tgz"
+ "version" "5.1.0"
+ dependencies:
+ "copy-to-clipboard" "^3.3.1"
+ "prop-types" "^15.8.1"
+
"react-dev-utils@^12.0.0":
"integrity" "sha512-xBQkitdxozPxt1YZ9O1097EJiVpwHr9FoAuEVURCKV0Av8NBERovJauzP7bo1ThvuhZ4shsQ1AJiu4vQpoT1AQ=="
"resolved" "https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-12.0.0.tgz"
@@ -7650,7 +7665,7 @@
"strip-ansi" "^6.0.1"
"text-table" "^0.2.0"
-"react-dom@*", "react-dom@^16.13.1", "react-dom@^16.8.0 || ^17.0.0", "react-dom@>=16.6.0":
+"react-dom@*", "react-dom@^16.13.1", "react-dom@^16.8.0 || ^17.0.0", "react-dom@>=16.0.0", "react-dom@>=16.6.0":
"integrity" "sha512-81PIMmVLnCNLO/fFOQxdQkvEq/+Hfpv24XNJfpyZhTRfO0QcmQIF/PgCa1zCOj2w1hrn12MFLyaJ/G0+Mxtfag=="
"resolved" "https://registry.npmjs.org/react-dom/-/react-dom-16.13.1.tgz"
"version" "16.13.1"
@@ -7798,6 +7813,14 @@
"prop-types" "^15.6.0"
"react-transition-group" "^4.3.0"
+"react-tooltip@^4.2.21":
+ "integrity" "sha512-zSLprMymBDowknr0KVDiJ05IjZn9mQhhg4PRsqln0OZtURAJ1snt1xi5daZfagsh6vfsziZrc9pErPTDY1ACig=="
+ "resolved" "https://registry.npmjs.org/react-tooltip/-/react-tooltip-4.2.21.tgz"
+ "version" "4.2.21"
+ dependencies:
+ "prop-types" "^15.7.2"
+ "uuid" "^7.0.3"
+
"react-transition-group@^4.3.0":
"integrity" "sha512-/RNYfRAMlZwDSr6z4zNKV6xu53/e2BuaBbGhbyYIXTrmgu/bGHzmqOs7mJSJBHy9Ud+ApHx3QjrkKSp1pxvlFg=="
"resolved" "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.2.tgz"
@@ -7808,7 +7831,7 @@
"loose-envify" "^1.4.0"
"prop-types" "^15.6.2"
-"react@*", "react@^0.14.0 || ^15.0.0 || ^16.0.0", "react@^16.13.1", "react@^16.8.0", "react@^16.8.0 || ^17.0.0", "react@^16.8.3", "react@^16.9.0 || ^17.0.0 || ^18", "react@>= 16", "react@>=15", "react@>=16.3", "react@>=16.6.0", "react@>=16.8.0":
+"react@*", "react@^0.14.0 || ^15.0.0 || ^16.0.0", "react@^15.3.0 || 16 || 17 || 18", "react@^16.13.1", "react@^16.8.0", "react@^16.8.0 || ^17.0.0", "react@^16.8.3", "react@^16.9.0 || ^17.0.0 || ^18", "react@>= 16", "react@>=15", "react@>=16.0.0", "react@>=16.3", "react@>=16.6.0", "react@>=16.8.0":
"integrity" "sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w=="
"resolved" "https://registry.npmjs.org/react/-/react-16.13.1.tgz"
"version" "16.13.1"
@@ -8949,6 +8972,11 @@
dependencies:
"is-number" "^7.0.0"
+"toggle-selection@^1.0.6":
+ "integrity" "sha1-bkWxJj8gF/oKzH2J14sVuL932jI="
+ "resolved" "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz"
+ "version" "1.0.6"
+
"toidentifier@1.0.1":
"integrity" "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA=="
"resolved" "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz"
@@ -9173,6 +9201,11 @@
"resolved" "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz"
"version" "1.0.1"
+"uuid@^7.0.3":
+ "integrity" "sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg=="
+ "resolved" "https://registry.npmjs.org/uuid/-/uuid-7.0.3.tgz"
+ "version" "7.0.3"
+
"uuid@^8.3.2":
"integrity" "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg=="
"resolved" "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz"
diff --git a/squeaknode/admin/webapp/static/build/asset-manifest.json b/squeaknode/admin/webapp/static/build/asset-manifest.json
index e453e1423..de3ff783f 100644
--- a/squeaknode/admin/webapp/static/build/asset-manifest.json
+++ b/squeaknode/admin/webapp/static/build/asset-manifest.json
@@ -1,7 +1,7 @@
{
"files": {
- "main.css": "/static/css/main.991912f7.css",
- "main.js": "/static/js/main.734a1632.js",
+ "main.css": "/static/css/main.fe6c5463.css",
+ "main.js": "/static/js/main.f6f1567b.js",
"static/css/306.7f7715a0.chunk.css": "/static/css/306.7f7715a0.chunk.css",
"static/js/306.90b2a66c.chunk.js": "/static/js/306.90b2a66c.chunk.js",
"static/css/900.5027b0a1.chunk.css": "/static/css/900.5027b0a1.chunk.css",
@@ -10,8 +10,8 @@
"static/js/841.9f23f674.chunk.js": "/static/js/841.9f23f674.chunk.js",
"static/media/icon.svg": "/static/media/icon.982210ec9275956e4d3cc77fa90167fd.svg",
"index.html": "/index.html",
- "main.991912f7.css.map": "/static/css/main.991912f7.css.map",
- "main.734a1632.js.map": "/static/js/main.734a1632.js.map",
+ "main.fe6c5463.css.map": "/static/css/main.fe6c5463.css.map",
+ "main.f6f1567b.js.map": "/static/js/main.f6f1567b.js.map",
"306.7f7715a0.chunk.css.map": "/static/css/306.7f7715a0.chunk.css.map",
"306.90b2a66c.chunk.js.map": "/static/js/306.90b2a66c.chunk.js.map",
"900.5027b0a1.chunk.css.map": "/static/css/900.5027b0a1.chunk.css.map",
@@ -20,7 +20,7 @@
"841.9f23f674.chunk.js.map": "/static/js/841.9f23f674.chunk.js.map"
},
"entrypoints": [
- "static/css/main.991912f7.css",
- "static/js/main.734a1632.js"
+ "static/css/main.fe6c5463.css",
+ "static/js/main.f6f1567b.js"
]
}
\ No newline at end of file
diff --git a/squeaknode/admin/webapp/static/build/index.html b/squeaknode/admin/webapp/static/build/index.html
index f5f82d512..38b5297d3 100644
--- a/squeaknode/admin/webapp/static/build/index.html
+++ b/squeaknode/admin/webapp/static/build/index.html
@@ -1 +1 @@
-
Squeaknode
\ No newline at end of file
+
Squeaknode
\ No newline at end of file
diff --git a/squeaknode/admin/webapp/static/build/static/css/main.991912f7.css.map b/squeaknode/admin/webapp/static/build/static/css/main.991912f7.css.map
deleted file mode 100644
index f8ec814ce..000000000
--- a/squeaknode/admin/webapp/static/build/static/css/main.991912f7.css.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"static/css/main.991912f7.css","mappings":"AAAA,KAKE,kCAAmC,CACnC,iCAAkC,CAJlC,mIAEY,CAHZ,QAQF,CAEA,yCACE,KACE,wBACF,CACF,CAEA,KACE,uEAEF,CAEA,EACE,qBAAsB,CAGtB,gCAAoC,CAFpC,QAAS,CACT,SAAU,CAGV,qBACF,CACA,EAEE,aAAc,CADd,oBAEF,CChCA,WACI,aACA,mBACA,uBAGJ,QACI,aAIA,eAHA,yBAEA,SADA,iBAEA,CAGJ,MAEI,aACA,8BAFA,WAEA,CAGF,gBACI,gBACA,iBAGJ,UACI,WAGJ,eAII,YAFA,kBACA,kBAFA,WAGA,CAGN,YAUI,gCAFA,YAHA,OAIA,cAPA,eAIA,MACA,WAJA,WAOA,CAGJ,eAOI,sBADA,mBAHA,aAOA,SARA,gBAGA,gBAJA,iBAYA,gBALA,eACA,QAGA,sEARA,WAOA,UAEA,CAGJ,cAMI,gCALA,YAMA,iBAFA,eAGA,WANA,SAMA,CAIJ,+BARI,mBADA,YAeA,CANJ,iBAEI,2BACA,gBAGA,gBADA,cACA,CAGJ,sBAEI,mBAGA,6BACA,qBAGA,eARA,aAOA,YALA,uBACA,2BAGA,UAEA,CAGJ,4BACI,qCAGJ,0BACI,aACA,cAGJ,aAEI,eADA,gBAEA,WAGJ,oBAMI,mBADA,aAEA,yBANA,iBACA,gBACA,eACA,UAGA,CAGJ,gBAOI,mBAGA,yBACA,6BACA,qBAHA,WAKA,eATA,aAGA,gBAFA,uBAOA,iBAXA,gBAEA,eADA,0BAWA,CAGJ,sBACI,yBAGJ,YACI,aACA,sBACA,YAIJ,cAMI,gCADA,6BAFA,aADA,aAEA,uBAHA,iBAMA,kBAGJ,kBAKI,cAFA,gBAFA,eAGA,iBAEA,YAJA,UAIA,CAGJ,kBAMI,mBADA,aAFA,YAIA,uBANA,kBAGA,MAFA,UAKA,CAGJ,wBASI,sDAEA,eAHA,cAEA,aANA,gBAEA,yBADA,UAMA,CAIJ,8CARI,eAJA,cADA,iBADA,YAoBA,CANJ,sBAGI,UADA,iBAIA,CAGJ,cAEI,YACA,mBAFA,iBAEA,CAGJ,mBAWI,mBAHA,sBALA,sBACA,kBAKA,aARA,aASA,uBALA,iBACA,iBAJA,YAKA,SAIA,CAGJ,gBAKI,sBACA,kBAFA,SAEA,CAGJ,oCANI,kBAFA,YACA,UAaA,CANJ,oBAII,cADA,iBAEA,UACA,CAGJ,oBAMI,mBADA,aAFA,YAIA,uBANA,kBAGA,MAFA,UAKA,CAGJ,0BASI,sDAEA,eAHA,cAEA,aANA,gBAEA,yBADA,UAMA,CAIJ,kDARI,eAJA,cADA,iBADA,YAoBA,CANJ,wBAGI,UADA,iBAIA,CAGJ,WACI,WAQJ,8BACI,yBACA,eAGJ,iBAEI,mBADA,iBACA,CAGJ,oBAEI,yBADA,+BACA,CACA,0BACI,cACA,cACA,mBAEJ,0BAGI,eADA,aAEA,qBAHA,UAGA,CAQR,sBAEI,aACA,kBAFA,qBAEA,CAGJ,wBACI,gBAEA,kBADA,eACA,CACA,4BACI,iBAGR,mBAMI,6BACA,kBAGA,YATA,aACA,sBACA,8BAMA,mBADA,gBAJA,gBACA,uBAKA,CAGJ,iBAGI,cADA,eADA,eAGA,kBAGJ,qBAGI,gBAFA,aACA,oBACA,CAGJ,2BACI,aAGJ,mBACI,aACA,8BACA,aAIJ,kBAGI,mBADA,aADA,eAEA,CAGJ,sBAGI,eADA,YAEA,cACA,kBAJA,UAIA,CACA,4BAeI,sDACA,eAFA,cAFA,eATA,YAQA,SAEA,aATA,gBAKA,yBARA,kBAgBA,2BAPA,QARA,WAGA,SAYA,CAGR,4BAEI,qCADA,iBACA,CAGJ,iBAUI,mBANA,yBAEA,6BACA,qBAIA,WAHA,aAIA,gBAHA,uBARA,iBACA,gBACA,kBAWA,WATA,cAUA,4BAGJ,mBACI,eACA,UACA,yBACI,uCAIR,sBAGI,yBACA,WAFA,YADA,eAGA,CAGJ,uBAAuB,oBAAvB,CAEA,oCACI,0BAEA,cADA,mBACA,CAKF,mCACI,WAGF,mBACI,qBAGN,qBACE,cAGF,qBAEI,mBAGA,YAJA,gBAEA,iBAGA,iBAFA,UAEA,CAGJ,iBACI,kBAGJ,cAME,mBAMA,gCACA,kBAXA,WAcA,eANA,aAIA,eAHA,YAJA,uBAJA,SAKA,iBASA,qBAhBA,kBAGA,SACA,UAYA,CAGF,8BALE,gBANA,iBAoBA,CATF,gBAEE,+BAMA,cAHA,eAJA,gBAQA,kBAFA,gBAJA,UAMA,CAOJ,eAEI,MAIJ,mBAGI,mBADA,aADA,gBAEA,CAIJ,qBAWI,eAMJ,0CACI,eACI,sBAEJ,MACI,aAIR,0CACI,eACI,aAEJ,MACI,YAKN,yCACI,YACI,aAEJ,kBACI,qBAEJ,yBACI,yBAEJ,gBACI,WAEJ,aACI,wBAIR,yCAEE,KAEI,kBADA,0BAEA,WAGJ,aACI,oCAEJ,qBACI,sBAGJ,WACI,sBAGJ,QAGI,SACA,YACA,OAAM,CAJN,uCAIA,CAGJ,uBANI,WAOA,CAGJ,WAEI,YADA,qBACA,CAGJ,KAGI,4BAFA,mBACA,WACA,CAGJ,aAEI,cAEA,YACA,gBAFA,oBAFA,oBAIA,CAGJ,aAII,qBAHA,sBACA,6BACA,aAEA,6BAEA,6BADA,QACA,CAEA,uBACI,UAYJ,+GACI,aAIR,YACI,uBAGJ,mBAEI,sBAGA,aAFA,mBACA,gBAHA,kBAIA,CAGJ,WACI,wBCxpBR,gBACE,kBACF,CAEA,2FAYE,wBAAyB,CAFzB,4BAA6B,CAJ7B,kBAAmB,CADnB,aAAc,CAId,eAAgB,CANhB,kBAAmB,CACnB,eAAgB,CAOhB,eAAgB,CAHhB,iBAAkB,CADlB,UAMF,CAEA,aACE,aACF,CAEA,mBACE,cACF,CAEA,iBAEE,uBAAwB,CAExB,eAAgB,CAEhB,6PAA0e,CAE1e,sCAA8C,CAC9C,2BAA4B,CAF5B,oBAGF,CAEA,eASE,yBAA2B,CAL3B,OAMF,CAEA,6BALE,kCAAmC,CACnC,mCAAoC,CAPpC,UAAW,CAKX,QAAS,CAJT,iBAAkB,CAClB,UAAW,CAEX,OAiBF,CAVA,cASE,0BAA2B,CAL3B,OAMF,CAEA,gBAIE,aAAc,CADd,kBAEF,CAIA,oBACE,YACF,CAEA,gBACE,wBAAiC,CACjC,oBACF,CAEA,6GAGE,qBAAyB,CACzB,UACF,CAEA,uBACE,2QAEF,CC3FA,gBAEI,UAAW,CACX,aAAc,CAFd,iBAGJ,CAEA,YACI,SAAY,CACZ,+BAA+B,CAE/B,QAAS,CADT,iBAAkB,CAElB,OAAQ,CACR,qCAA8B,CAA9B,6BACJ,CCdA,WAEI,kBADA,WACA,CAGJ,eACI,kBACA,YAGJ,KAKI,qBAEA,+BAJA,eAFA,KAMA,CAGJ,kBANI,aAEA,sBAJA,WAgBA,CARJ,aACI,gBAKA,kBADA,mBADA,WAIA,CAEJ,aACI,aACA,sBACA,eAEJ,cAKI,mBAFA,kBAFA,cAIA,CAMJ,wBATI,eAEA,YAUA,CAHJ,UACI,aAEA,CAEI,gCACI,mCACA,iDAIZ,gBAGI,mBAIA,qBALA,aAGA,uBACA,eAFA,aAKA,wBADA,+CACA,CARA,iCAYA,eACA,kBADA,aAZA,CAiBA,gBACI,aAEJ,sBACI,cACA,gBAKR,UACI,eACA,gBACA,iBACA,kBAEJ,YAII,aADA,kBADA,gBADA,UAGA,CAIJ,iBAeI,mBAbA,yBASA,6BAKA,qBAbA,sCASA,eACA,aACA,uBANA,gBADA,kBAHA,mBAKA,kBACA,mBAJA,wBADA,gDAJA,SAeA,CAGJ,0CACI,iBAAiB,UAAjB,CACA,YAAY,sBAAZ,EAEJ,gBACI,WAWA,iBAVA,eACA,gBAGA,eAFA,yBACA,iBAOA,CALA,qBAEI,mBADA,aAEA,uBAIR,UACI,aAEJ,0CACI,iBACI,eAGA,eADA,UADA,UAEA,CAEJ,UACI,aAEJ,UACI,eAGR,yBAGI,UAFA,eACA,kBADA,aAEA,CAGJ,sBAQI,YAFA,YAHA,OAIA,cANA,eAGA,MACA,WAHA,UAMA,CAGJ,oBAGI,YAFA,kBACA,UACA,CAGJ,mBAOI,sBADA,mBAQA,2EACA,aACA,sBAbA,gBADA,eADA,iBAIA,gBAQA,gBALA,kBAJA,YAOA,YAKA,CAGJ,yCACI,mBAEI,cAIR,gBAII,mBAHA,gCAMA,eAJA,aAEA,8BAHA,aAIA,yBACA,CACA,sBACI,yBAEJ,qBAEI,mBADA,YACA,CAKR,oBACI,WAGJ,WACI,aAIJ,0CACI,UACI,aAKJ,wBACI,YC7OR,eAGI,mBAFA,gBACA,cACA,CAGJ,mBAGI,cAFA,YACA,aACA,CAGJ,cAEI,eAEA,gBADA,mBAFA,gBAIA,kBAGJ,YACI,WAQJ,gCACI,yBACA,eAGJ,kBACI,kBAGJ,qBAEI,yBADA,+BACA,CACA,2BACI,cACA,mBAEJ,2BAGI,eADA,aAEA,qBAHA,UAGA,CAIR,gBAKI,mBAKA,yBAKA,6BANA,qBAGA,WATA,aAUA,gBATA,uBAGA,YALA,gBASA,WAGA,aANA,eAFA,2BALA,uBAcA,CAmBJ,aAEI,UADA,iBACA,CCzFJ,gBAGI,mBAFA,gBACA,cACA,CAGJ,oBAGI,cAFA,YACA,aACA,CAGJ,eAEI,eAEA,gBADA,mBAFA,gBAIA,kBAGJ,aACI,WAQJ,kCACI,yBACA,eAGJ,mBACI,kBAGJ,sBAEI,yBADA,+BACA,CACA,4BACI,cACA,mBAEJ,4BAGI,eADA,aAEA,qBAHA,UAGA,CAIR,iBAKI,mBAKA,yBAKA,6BANA,qBAGA,WATA,aAaA,eAHA,gBATA,uBAGA,YALA,gBASA,WAGA,aANA,eAFA,2BALA,uBAeA,CAGJ,eAGI,cADA,eADA,gBAGA,kBACA,qBAEI,eADA,yBACA,CAIR,eAEI,eADA,SACA,CCrFJ,gBAEI,+BAGA,aACA,sBAFA,YAHA,gBAEA,UAGA,CAGJ,uBAQI,mBAJA,sBAFA,gCACA,8BAMA,eAFA,aAGA,YAKA,cADA,iBAHA,gBACA,kBACA,mBAZA,wCAKA,MAUA,WAXA,SAWA,CAGJ,qBAII,uBADA,uBADA,gBADA,cAGA,CAGJ,qBAUI,mBAJA,6BACA,qBACA,aALA,YAMA,uBARA,iBAGA,2BAFA,WAGA,4BAKA,CAGJ,yBAEI,aADA,YACA,CAGJ,uBAEI,eADA,eACA,CAGJ,qBAEI,gCADA,cACA,CAQJ,uBAII,mBADA,aADA,mBADA,eAGA,CAGJ,iBACI,gBACA,kBACA,qBACI,iBAIR,kBACI,aACA,sBACA,uBAGJ,kBAGI,eAFA,eACA,eACA,CACA,wBACI,0BAIR,iBAGI,cAFA,iBACA,eACA,CAGJ,gBAEI,eACA,mBAFA,gBAGA,sBAGJ,gBAIE,yBADA,mBADA,mBADA,iBAGA,CAGF,aAGI,cADA,eADA,aAEA,CAGJ,cAII,gCADA,6BAFA,aACA,gBAEA,CACA,kBAEI,eADA,YACA,CACA,wBACI,0BAKZ,SAGI,eAFA,gBACA,gBACA,CAGJ,UACI,cAEA,eADA,iBACA,CAGJ,qBACI,aACA,6BAIJ,iBAKI,mBADA,aAEA,uBALA,gBAEA,cADA,UAIA,CAGJ,eAGI,aAFA,cACA,YACA,CAIJ,wBAII,gCACA,eAFA,aAFA,oBACA,0BAGA,CACA,8BACI,yBAgBR,WAQI,eAIJ,kBACI,qCACA,6CAEJ,qBACI,oCACA,gDAEJ,kBAEI,oCACA,6CAEJ,kBACI,qCACA,6CAEJ,mBACI,oCACA,0CAGJ,eAKI,aAHA,mBADA,aAEA,eACA,aACA,CAQJ,oBACI,cAEJ,iBACI,cAMJ,sBAEI,iBADA,eACA,CAEA,0BAEI,wBACA,4BAOA,sBATA,mBAQA,SAJA,YAEA,OACA,QAFA,MAFA,UAMA,CAIR,sBASI,mBAJA,yBACA,qBAFA,eAGA,aACA,uBAEA,gBATA,gBACA,iBASA,iBACA,kBATA,0BASA,CACA,2BAGI,cADA,gBADA,kBAGA,WAEJ,4BACI,qCClSR,qBACI,gCAIA,eAHA,aAIA,kBAHA,2BACA,4BAEA,CACA,2BACI,yBAIR,sBAGI,aAFA,gBAGA,sBAFA,iBAEA,CAKA,kBAEI,kBACA,eAFA,iBAQA,uBAKJ,wBACE,+BACA,uBAIN,sBAGI,6BADA,2BACA,CAGJ,gBACI,yBAGJ,qBAEI,aACA,8BAFA,iBAEA,CAUA,gDACI,0BAIR,kBACI,gBAGJ,sBAEI,cADA,eACA,CAGJ,iBAEI,cADA,aACA,CAGJ,kBACI,cAQJ,qBAEI,yBACA,mBAFA,eAEA,CAMJ,iBAII,mBAHA,eACA,cACA,gBACA,CAEA,qBAEI,mBAEA,YAHA,gBAAgB,CAIhB,iBAFA,UAEA,CAIR,sBAMI,mBAFA,aACA,8BAEA,mBANA,iBACA,eACA,eAIA,CAGJ,kBAGI,mBACA,cAHA,aACA,0BAEA,CAEI,oCAEI,qCADA,8EAEA,+DAEJ,uCACI,oCACA,kEAEJ,oCAEI,oCACA,+DAEJ,oCACI,qCACA,+DAEJ,qCACI,oCACA,gEAKZ,kBACI,cAEJ,qBACI,cAEJ,kBACI,cAGJ,WAGI,mBAEA,kBAJA,aACA,uBAEA,cAEA,2BACA,6BAGJ,eAEI,eADA,aACA,CAGJ,iBAEI,eADA,eACA,CAMJ,uBACI,aACA,kBAIJ,uBAGI,cAFA,iBACA,gBACA,CAGJ,kBACI,cACA,kDAGJ,eACI,gBAWJ,iBACI,kBAGJ,oBACI,aACA,yBACA,kBAGJ,wBAGI,aADA,eADA,UAEA,CAGJ,iBACI,cACA,eACA,kBACA,uBACI,0BAIR,qBAGI,yBAEA,YAEA,uBALA,SAKA,CAGJ,cACI,cACA,eACA,kBACA,oBACI,0BAIR,6BAIE,yBADA,mBADA,mBADA,iBAGA,CC7JF,wBAGI,aACA,sBAIF,oBAEI,kBACA,eAFA,iBAQA,uBAKF,0BACE,+BACA,uBCnCN,gBACI,gCAGA,aAFA,kBACA,cACA,CACA,sBACI,yBAuBR,eACI,gBAkBJ,iFAJI,cACA,aAMA,CAHJ,cAGI,gBAoKJ,yBAQI,mBAJA,sBAFA,gCACA,8BAMA,eAFA,aAGA,YAKA,cADA,iBAHA,gBACA,kBACA,mBAZA,wCAKA,MAUA,WAXA,SAWA,CAGJ,yBACI,aACA,sBAGJ,sBAEI,eADA,eACA,CCnVJ,sBAQI,mBAJA,sBAFA,gCACA,8BAMA,eAFA,aAGA,YAKA,cADA,iBAHA,gBACA,kBACA,mBAZA,wCAKA,MAUA,WAXA,SAWA,CAGJ,sBACI,aACA,sBAGJ,mBAEI,eADA,eACA,CAIJ,iBASI,mBAJA,yBACA,qBAFA,eAGA,aACA,uBAPA,gBACA,eAQA,iBACA,kBARA,0BAQA,CACA,uBACI,qCAIR,sBAGI,cADA,gBADA,kBAGA,WAGJ,gBACI,yBACA,0CAGJ,sBACI,mCACA,6BACA,2BACI,WACA,6CACA,kCACI,kBCnEZ,cACI,aAEA,sBADA,uBAEA,wCACA,QAGJ,oBAEI,yBAGA,yBAGA,+BACA,gCAHA,4BACA,6BAHA,mBADA,gBAFA,UAQA,CAGJ,kBAII,mBADA,aAEA,eACA,gBAGJ,mCARI,gCACA,iBAWA,CAJJ,iBAGI,eACA,2BACA,uBACI,iCAEJ,iCAEI,cADA,cACA,CAEJ,kCAEI,cADA,eAEA,gBACA,gBAEJ,kCAEI,cADA,eAEA,gBAIR,WAKI,cAFA,eACA,eAHA,aACA,0BAGA,CAMJ,oBACI,eACA,aAoBJ,kBAEI,wBACA,0BAGJ,sBACI,wBACA,yBACA,CChGJ,cAEI,+BAIA,aACA,sBANA,gBAOA,kBALA,UAKA,CAGJ,qBAQI,mBAJA,sBAFA,gCACA,8BAMA,eAFA,aAGA,YAKA,cADA,iBAHA,gBACA,kBACA,mBAZA,wCAKA,MAUA,WAXA,SAWA,CAGJ,aAGI,cADA,eADA,gBAGA,mBAGJ,MACI,cCtCJ,iBAEI,+BAIA,sBACA,kBAIJ,iCANI,aAJA,gBAEA,UAsBA,CAdJ,gBAOI,mBAJA,sBADA,8BAMA,YAKA,cAJA,gBACA,kBACA,mBAVA,wCAIA,MADA,SAUA,CAGJ,eACI,gCAGJ,wBACI,yBACA,6BACA,qBAGA,gBACA,WAIJ,6CANI,mBADA,YASA,CAGJ,yBAGI,aADA,eAEA,kBAHA,UAGA,CAGJ,sBACI,WAGJ,4BACI,yBACA,eAIA,cADA,eAEA,aAJA,iBACA,UAGA,CAGJ,kBAII,mBACA,gCAHA,aACA,6BAFA,eAIA,CAGJ,kBAUI,oCADA,qBAAqB,CAHrB,cAFA,eACA,gBAJA,aAEA,kBAIA,eALA,WAMA,4BAEA,CACA,wBACI,qCACA,cAIR,WACI,gCACA,cAGJ,sBACI,gCAGA,eACA,aAHA,kBACA,cAEA,CACA,4BACI,yBAIR,wBACI,gBACA,kBACA,4BACI,iBAIR,qBAGI,WAGJ,uCALI,aACA,qBAMA,CAGJ,kBACI,gBAGJ,sBACI,cACA,cAGJ,iBACI,eAGJ,kBAGI,mBAFA,aACA,mBAEA,8BAGJ,iBASI,mBAJA,yBACA,qBAFA,eAGA,aACA,uBAPA,gBACA,eAQA,iBACA,kBARA,0BAQA,CACA,uBACI,qCAIR,sBAGI,cADA,gBADA,kBAGA,WAKJ,uBACI,gCAGA,eACA,aACA,sBAJA,kBACA,cAGA,CACA,6BACI,yBAIR,sBACI,cACA,eACA,2BACI,cAIR,uBAEI,eADA,gBAGA,mBADA,eACA,CAGJ,qBAEI,cADA,cACA,CAGJ,eAKI,cAHA,eADA,gBAGA,gBADA,iBAEA,CACA,mBACI,mBAKR,iBACI,yBACA,2CAGJ,uBACI,mCACA,6BACA,4BACI,WACA,8CACA,mCACI,mBAKZ,qBAII,uBADA,uBADA,gBADA,cAGA,CAGJ,sBAUI,mBAJA,6BACA,qBAIA,eAHA,aALA,YAMA,uBARA,iBAGA,2BAFA,WAGA,4BAMA,CAEJ,0BAEI,aADA,YACA,CAEJ,4BACI,qCAGJ,0BACI,uBAGJ,kBAGI,mBAFA,aACA,yBAEA,kBAGJ,wBASI,mBAJA,yBACA,qBAFA,eAGA,aACA,uBAEA,gBATA,gBACA,iBASA,iBACA,kBATA,0BASA,CACA,6BAGI,cADA,gBADA,kBAGA,WAEJ,8BACI,qCCvSR,eAII,SAIA,eAFA,kBAJA,UAGA,4DAIA,2BANA,YAIA,YAEA,CAGJ,eACI,yBAGA,yBAKA,oBAHA,sGAJA,WAKA,oBAAoB,CAJpB,gBAKA,gBACA","sources":["index.css","App.scss","informed-style.css","components/Loader/style.css","components/Nav/style.scss","components/Login/style.scss","components/Signup/style.scss","components/Squeak/style.scss","components/SqueakCard/style.scss","components/Profiles/style.scss","components/Payments/style.scss","components/Peers/style.scss","components/Feed/style.scss","components/Search/style.scss","components/Twitter/style.scss","components/Alerts/style.scss"],"sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n /* for scroll bar shift effect when hidding */\n \n}\n\n@media only screen and (min-width: 450px) {\n body{\n width: calc(100vw - 17px);\n }\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n\n* {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n font-family: 'Assistant', sans-serif;\n /* scroll-behavior: smooth; */\n word-break: break-word;\n}\na{\n text-decoration: none;\n color: inherit;\n}\n\n\n/* *{\n background-color: #1a1919 !important;\n fill: aliceblue;\n color: aliceblue !important;\n} */","\r\n.body-wrap{\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n}\r\n\r\n.header{\r\n display: flex;\r\n justify-content: flex-end;\r\n position: relative;\r\n order: -1;\r\n flex-wrap: wrap;\r\n}\r\n\r\n.main{\r\n width: 990px;\r\n display: flex;\r\n justify-content: space-between;\r\n}\r\n\r\n .middle-section{\r\n max-width: 600px;\r\n min-height: 100vh;\r\n }\r\n\r\n .ms-width{\r\n width: 100%;\r\n }\r\n\r\n .right-section{\r\n width: 350px;\r\n margin-right: 10px;\r\n min-height: 1000px;\r\n height: 100%;\r\n }\r\n\r\n.modal-edit{\r\n // display: none;\r\n position: fixed;\r\n z-index: 250;\r\n // padding-top: 100px;\r\n left: 0;\r\n top: 0;\r\n width: 100%;\r\n height: 100%;\r\n overflow: auto;\r\n background-color: rgba(0,0,0,0.4);\r\n}\r\n\r\n.modal-content{\r\n min-height: 400px;\r\n max-height: 90vh;\r\n height: 650px;\r\n width: 100%;\r\n max-width: 600px;\r\n border-radius: 14px;\r\n background-color: #fff;\r\n position: fixed;\r\n top: 50%;\r\n left: 50%;\r\n z-index: 50;\r\n transform: translate(-50%, -50%);\r\n overflow: hidden;\r\n}\r\n\r\n.modal-header{\r\n height: 53px;\r\n z-index: 3;\r\n display: flex;\r\n align-items: center;\r\n padding: 0 15px;\r\n border-bottom: 1px solid rgb(204, 214, 221);\r\n max-width: 1000px;\r\n width: 100%;\r\n\r\n}\r\n\r\n.modal-closeIcon{\r\n display: flex;\r\n justify-content: flex-start;\r\n margin-left: 4px;\r\n align-items: center;\r\n min-width: 59px;\r\n min-height: 30px;\r\n}\r\n\r\n.modal-closeIcon-wrap{\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n transition: 0.2s ease-in-out;\r\n border: 1px solid rgba(0,0,0,0);\r\n border-radius: 9999px;\r\n width: 39px;\r\n height: 39px;\r\n cursor: pointer;\r\n}\r\n\r\n.modal-closeIcon-wrap:hover{\r\n background-color: rgba(29,161,242,0.1);\r\n}\r\n\r\n.modal-closeIcon-wrap svg{\r\n fill: rgb(29, 161, 242);\r\n height: 22.5px;\r\n}\r\n\r\n.modal-title{\r\n font-weight: bold;\r\n font-size: 19px;\r\n width: 100%;\r\n}\r\n\r\n.save-modal-wrapper{\r\n margin-right: 8px;\r\n min-height: 39px;\r\n min-width: 66px;\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-end;\r\n}\r\n\r\n.save-modal-btn{\r\n // width: 48px;\r\n min-height: 30px;\r\n transition: 0.2s ease-in-out;\r\n padding: 0 16px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n font-weight: bold;\r\n color: #fff;\r\n background-color: rgb(29,161,242);\r\n border: 1px solid rgba(0,0,0,0);\r\n border-radius: 9999px;\r\n line-height: 20px;\r\n cursor: pointer;\r\n}\r\n\r\n.save-modal-btn:hover{\r\n background-color: rgb(26, 145, 218);\r\n}\r\n\r\n.modal-body{\r\n display: flex;\r\n flex-direction: column;\r\n height: 100%;\r\n\r\n}\r\n\r\n.modal-banner{\r\n max-height: 200px;\r\n height: 200px;\r\n display: flex;\r\n justify-content: center;\r\n border: 2px solid rgba(0, 0, 0, 0);\r\n background-color: rgba(0, 0, 0, 0.3);\r\n position: relative;\r\n}\r\n\r\n.modal-banner img{\r\n max-width: 100%;\r\n width: 100%;\r\n max-height: 100%;\r\n object-fit: cover;\r\n display: block;\r\n opacity: 0.75;\r\n}\r\n\r\n.modal-banner div{\r\n position: absolute;\r\n width: 100%;\r\n height: 100%;\r\n top: 0;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.modal-banner div input{\r\n width: 22.5px;\r\n min-width: 22.5px;\r\n height: 22.5px;\r\n overflow: hidden;\r\n z-index: 20;\r\n padding: 10px 0 10px 30px;\r\n cursor: pointer;\r\n color: inherit;\r\n background-color: initial;\r\n outline: none;\r\n border: initial;\r\n}\r\n\r\n\r\n.modal-banner div svg{\r\n cursor: pointer;\r\n position: absolute;\r\n fill: #fff;\r\n width: 22.5px;\r\n min-width: 22.5px;\r\n height: 22.5px;\r\n}\r\n\r\n.modal-scroll{\r\n overflow-y: scroll;\r\n height: 100%;\r\n margin-bottom: 55px;\r\n}\r\n\r\n.modal-profile-pic{\r\n height: 120px;\r\n width: 120px;\r\n border: 4px solid #fff;\r\n border-radius: 50%;\r\n margin-left: 16px;\r\n margin-top: -48px;\r\n z-index: 5;\r\n background-color: #fff;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n.modal-back-pic{\r\n height: 100%;\r\n width: 100%;\r\n border-radius: 50%;\r\n z-index: 5;\r\n background-color: rgba(0, 0, 0, 1);\r\n position: relative;\r\n}\r\n\r\n.modal-back-pic img{\r\n width: 100%;\r\n height: 100%;\r\n object-fit: cover;\r\n display: block;\r\n opacity: 0.6;\r\n border-radius: 50%;\r\n}\r\n\r\n.modal-back-pic div{\r\n position: absolute;\r\n width: 100%;\r\n height: 100%;\r\n top: 0;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.modal-back-pic div input{\r\n width: 22.5px;\r\n min-width: 22.5px;\r\n height: 22.5px;\r\n overflow: hidden;\r\n z-index: 20;\r\n padding: 10px 0 10px 30px;\r\n cursor: pointer;\r\n color: inherit;\r\n background-color: initial;\r\n outline: none;\r\n border: initial;\r\n}\r\n\r\n\r\n.modal-back-pic div svg{\r\n cursor: pointer;\r\n position: absolute;\r\n fill: #fff;\r\n width: 22.5px;\r\n min-width: 22.5px;\r\n height: 22.5px;\r\n}\r\n\r\n.edit-form{\r\n width: 100%;\r\n}\r\n\r\n.edit-input{\r\n background-color: inherit;\r\n border: inherit;\r\n}\r\n\r\n.edit-input:focus{\r\n background-color: inherit;\r\n border: inherit;\r\n}\r\n\r\n.edit-input-wrap{\r\n padding: 10px 15px;\r\n margin-bottom: 15px;\r\n}\r\n\r\n.edit-input-content{\r\n border-bottom: 1px solid rgb(64, 67, 70);\r\n background-color: rgb(245, 248, 250);\r\n label{\r\n color: rgb(101, 119, 134);\r\n display: block;\r\n padding: 5px 10px 0 10px;\r\n }\r\n input{\r\n width: 100%;\r\n outline: none;\r\n font-size: 19px;\r\n padding: 2px 10px 5px 10px;\r\n }\r\n}\r\n\r\n\r\n//////from home\r\n\r\n\r\n.Squeak-input-wrapper{\r\n padding: 10px 15px 5px 15px;\r\n display: flex;\r\n margin-bottom: 2px;\r\n}\r\n\r\n.Squeak-profile-wrapper{\r\n flex-basis: 49px;\r\n padding-top: 5px;\r\n margin-right: 10px;\r\n img{\r\n object-fit: cover;\r\n }\r\n}\r\n.Squeak-input-side{\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: space-between;\r\n position: static;\r\n width: calc(100% - 49px);\r\n border: 2px solid rgba(0, 0, 0, 0);\r\n border-radius: 5px;\r\n padding-top: 5px;\r\n line-height: 1.3125;\r\n cursor: text;\r\n}\r\n\r\n.inner-input-box{\r\n padding: 10px 0;\r\n font-size: 19px;\r\n color: #9197a3;\r\n position: relative;\r\n}\r\n\r\n.inner-input-box div{\r\n outline: none;\r\n white-space: pre-wrap;\r\n max-width: 506px;\r\n}\r\n\r\n.inner-input-box div:focus{\r\n outline: none;\r\n}\r\n\r\n.inner-input-links{\r\n display: flex;\r\n justify-content: space-between;\r\n margin: 0 2px;\r\n\r\n}\r\n\r\n.input-links-side{\r\n margin-top: 10px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.input-attach-wrapper{\r\n width: 39px;\r\n height: 39px;\r\n cursor: pointer;\r\n padding: 8.3px;\r\n position: relative;\r\n input{\r\n position: absolute;\r\n width: 0.3px;\r\n height: 0.3px;\r\n overflow: hidden;\r\n z-index: 4;\r\n padding-top: 21px;\r\n padding-bottom: 15px;\r\n padding-right: 0px;\r\n padding-left: 32px;\r\n top: 2px;\r\n left: 3px;\r\n cursor: pointer;\r\n outline: none;\r\n color: inherit;\r\n background-color: initial;\r\n border: initial;\r\n text-align: start !important;\r\n }\r\n}\r\n.input-attach-wrapper:hover{\r\n border-radius: 50%;\r\n background-color: rgba(29, 161, 242,0.1);\r\n}\r\n\r\n.squeak-btn-side{\r\n margin-left: 10px;\r\n min-height: 39px;\r\n min-width: calc(62.79px);\r\n background-color: rgb(29, 161, 242);\r\n padding: 0 1em;\r\n border: 1px solid rgba(0, 0, 0, 0);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n color: #fff;\r\n font-weight: 700;\r\n // cursor: pointer;\r\n opacity: 0.5;\r\n transition: 0.15s ease-in-out;\r\n}\r\n\r\n.squeak-btn-active{\r\n cursor: pointer;\r\n opacity: 1;\r\n &:hover{\r\n background-color: rgba(11, 137, 216, 0.876);\r\n }\r\n}\r\n\r\n.Squeak-input-divider{\r\n min-height: 10px;\r\n height: 10px;\r\n background-color: rgb(230, 236, 240);\r\n content: '';\r\n}\r\n\r\n[contenteditable=true]{display: inline-block;}\r\n\r\n[contenteditable=true]:empty:before{\r\n content: attr(placeholder);\r\n pointer-events: none;\r\n display: block; /* For Firefox */\r\n }\r\n\r\n /* */\r\n\r\n [contenteditable=true]:empty:focus{\r\n opacity: 0.7;\r\n }\r\n\r\n .card-content-info{\r\n word-wrap: break-word;\r\n }\r\n\r\n .squeak-input-active{\r\n color: rgb(20, 23, 26);\r\n }\r\n\r\n .squeak-upload-image{\r\n margin-top: 10px;\r\n border-radius: 14px;\r\n max-height: 253px;\r\n width: 100%;\r\n height: 100%;\r\n object-fit: cover;\r\n }\r\n\r\n .inner-image-box{\r\n position: relative;\r\n }\r\n\r\n .cancel-image{\r\n position: absolute;\r\n color: white;\r\n left: 9px;\r\n top: 18px;\r\n width: 33px;\r\n align-items: center;\r\n justify-content: center;\r\n line-height: 23px;\r\n text-align: center;\r\n display: flex;\r\n height: 33px;\r\n background-color: rgba(0, 0, 0, 0.5);\r\n border-radius: 50%;\r\n font-size: 22px;\r\n font-weight: bold;\r\n cursor: pointer;\r\n padding-bottom: 3.5px;\r\n }\r\n\r\n .workInProgress{\r\n max-width: 600px;\r\n border-right: 1px solid rgb(230, 236, 240);\r\n width: 100%;\r\n font-weight: bold;\r\n font-size: 17px;\r\n text-align: center;\r\n padding-top: 20%;\r\n color: #657786;\r\n min-height: 2000px;\r\n }\r\n\r\n// .dark-mode{\r\n// background-color: #1a1919 !important;\r\n// }\r\n\r\n.alert-wrapper{\r\n position: fixed;\r\n top: 0;\r\n\r\n}\r\n\r\n.squeak-btn-holder{\r\n margin-left: 10px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n\r\n.header-back-wrapper{\r\n margin-left: -5px;\r\n width: 39px;\r\n height: 39px;\r\n transition: 0.2s ease-in-out;\r\n will-change: background-color;\r\n border: 1px solid rgba(0, 0, 0, 0);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n cursor: pointer;\r\n}\r\n\r\n\r\n\r\n\r\n@media only screen and (max-width: 1196px) {\r\n .right-section{\r\n width: 290px !important;\r\n }\r\n .main{\r\n width: 920px;\r\n }\r\n }\r\n\r\n@media only screen and (max-width: 1005px) {\r\n .right-section{\r\n display: none;\r\n }\r\n .main{\r\n width: 100%;\r\n }\r\n //flex grow\r\n }\r\n\r\n @media only screen and (max-width: 888px){\r\n .chat-right{\r\n display: none;\r\n }\r\n .messages-wrapper{\r\n width: 100% !important;\r\n }\r\n .messages-header-wrapper{\r\n max-width: 100% !important;\r\n }\r\n .middle-section{\r\n width: 100%;\r\n }\r\n .chat-height{\r\n height: 100vh !important;\r\n }\r\n }\r\n\r\n @media only screen and (max-width: 450px){\r\n\r\n body{\r\n overflow-y: auto !important;\r\n overflow-x: hidden;\r\n width: 100%;\r\n }\r\n\r\n .chat-height {\r\n height: calc(100vh - 46px) !important;\r\n }\r\n .chat-bottom-wrapper{\r\n bottom: 50px !important;\r\n }\r\n\r\n .body-wrap{\r\n flex-direction: column;\r\n }\r\n\r\n .header{\r\n position: sticky;\r\n width: 100vw;\r\n bottom: 0;\r\n height: 53px;\r\n order: 1;\r\n }\r\n\r\n .Nav-component{\r\n width: 100vw;\r\n }\r\n\r\n .Nav-width{\r\n width: 100vw !important;\r\n height: 53px;\r\n }\r\n\r\n .Nav{\r\n top: auto !important;\r\n width: 100vw;\r\n position: relative !important;\r\n }\r\n\r\n .Nav-Content{\r\n width: 100% !important;\r\n display: block;\r\n padding: 0 !important;\r\n height: auto;\r\n overflow: hidden;\r\n }\r\n\r\n .Nav-wrapper{\r\n background-color: #fff;\r\n border-top: 2px solid rgb(245, 248, 250);\r\n display: flex;\r\n align-content: center;\r\n flex-direction: row !important;\r\n margin: 0;\r\n justify-content: space-evenly;\r\n\r\n .Nav-link{\r\n padding: 0;\r\n }\r\n\r\n a:nth-child(1){\r\n display: none;\r\n }\r\n a:nth-child(4){\r\n display: none;\r\n }\r\n a:nth-child(6){\r\n display: none;\r\n }\r\n a:nth-child(9){\r\n display: none;\r\n }\r\n }\r\n\r\n .Nav-squeak{\r\n display: none !important;\r\n }\r\n\r\n .more-menu-content{\r\n top: auto !important;\r\n bottom: 46px !important;\r\n left: 47% !important;\r\n overflow: hidden;\r\n height: 154px;\r\n }\r\n\r\n .more-item{\r\n display: flex !important;\r\n }\r\n}\r\n","\n.informed-input {\n margin-bottom: 1rem;\n}\n\n.informed-input:not([type='checkbox']):not([type='radio']),\n.informed-textarea,\n.informed-select {\n margin-bottom: 1rem;\n margin-top: 1rem;\n display: block;\n border-radius: 20px;\n width: 100%;\n padding: 10px 20px;\n font-weight: 500;\n border: 1px solid transparent;\n max-width: 400px;\n background-color: #f4f4f4;\n}\n\n.radio-label {\n display: block;\n}\n\n.informed-textarea {\n max-width: 100%;\n}\n\n.informed-select {\n /* needed */\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n /* SVG background image */\n background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Ctitle%3Edown-arrow%3C%2Ftitle%3E%3Cg%20fill%3D%22%23000000%22%3E%3Cpath%20d%3D%22M10.293%2C3.293%2C6%2C7.586%2C1.707%2C3.293A1%2C1%2C0%2C0%2C0%2C.293%2C4.707l5%2C5a1%2C1%2C0%2C0%2C0%2C1.414%2C0l5-5a1%2C1%2C0%2C1%2C0-1.414-1.414Z%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E');\n background-size: 0.6em;\n background-position: calc(100% - 1.3em) center;\n background-repeat: no-repeat;\n}\n\n.select:before {\n content: '';\n position: absolute;\n right: 10px;\n top: 8px;\n width: 0;\n height: 0;\n border-left: 10px solid transparent;\n border-right: 10px solid transparent;\n border-top: 10px solid #f00;\n}\n\n.select:after {\n content: '';\n position: absolute;\n right: 10px;\n top: 3px;\n width: 0;\n height: 0;\n border-left: 10px solid transparent;\n border-right: 10px solid transparent;\n border-top: 10px solid #333;\n}\n\n.informed-label {\n /* text-align: left; */\n /* margin-left: 1rem; */\n margin-bottom: 1rem;\n display: block;\n}\n\n\n\n.informed-container {\n padding: 4rem;\n}\n\n.informed-black {\n background-color: rgb(13, 16, 17);\n color: white !important;\n}\n\n.informed-black input:not([type='checkbox']):not([type='radio']),\n.informed-black select,\n.informed-black textarea {\n background-color: #222222;\n color: white;\n}\n\n.informed-black select {\n background-image: url(\"data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Ctitle%3Edown-arrow%3C/title%3E%3Cg fill='%23000000'%3E%3Cpath d='M10.293,3.293,6,7.586,1.707,3.293A1,1,0,0,0,.293,4.707l5,5a1,1,0,0,0,1.414,0l5-5a1,1,0,1,0-1.414-1.414Z' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");\n /* filter: invert(1); */\n}\n","\r\n.loader-wrapper{\r\n position: relative;\r\n height: 50%;\r\n margin: 50px 0;\r\n}\r\n\r\n.loader_svg{\r\n fill: yellow;\r\n enable-background:new 0 0 50 50;\r\n position: absolute;\r\n left: 50%;\r\n top: 15%;\r\n transform: translate(-50%,50%);\r\n}\r\n",".Nav-width{\r\n width: 275px;\r\n position: relative;\r\n}\r\n\r\n.Nav-component{\r\n position: relative;\r\n z-index: 200;\r\n}\r\n\r\n.Nav{\r\n top: 0;\r\n height: 100%;\r\n position: fixed;\r\n display: flex;\r\n align-items: flex-end;\r\n flex-direction: column;\r\n border-right: 1px solid rgb(230, 236, 240);\r\n}\r\n\r\n.Nav-Content{\r\n overflow-y: auto;\r\n display: flex;\r\n flex-direction: column;\r\n width: 275px;\r\n padding-right: 20px;\r\n padding-left: 20px;\r\n // justify-content: space-between;\r\n height: 100%;\r\n}\r\n.Nav-wrapper{\r\n display: flex;\r\n flex-direction: column;\r\n margin-top: 5px;\r\n}\r\n.logo-wrapper{\r\n min-width: 30px;\r\n cursor: pointer;\r\n margin-top: 11.5px;\r\n display: flex;\r\n margin-bottom: 15px;\r\n // align-items: center;\r\n // justify-content: center;\r\n}\r\n\r\n\r\n.Nav-link{\r\n padding: 7px 0;\r\n display: flex;\r\n cursor: pointer;\r\n &:hover{\r\n .Nav-item-hover{\r\n background-color: rgba(29, 29, 29, 0.1);\r\n svg{fill: rgb(29, 29, 29)}\r\n }\r\n }\r\n}\r\n.Nav-item-hover{\r\n svg{fill: rgb(16, 17, 17)}\r\n display: flex;\r\n align-items: center;\r\n padding: 10px;\r\n justify-content: center;\r\n max-width: 100%;\r\n border-radius: 9999px;\r\n transition-property: background-color, box-shadow;\r\n transition-duration: 0.2s;\r\n}\r\n\r\n.Nav-item-hover svg{\r\n width: 26.25px; height:26.25px;\r\n min-width: 26.25px;\r\n}\r\n\r\n.active-Nav{\r\n svg{\r\n fill: rgb(29, 29, 29);\r\n }\r\n .Nav-item{\r\n color: rgb(29, 29, 29);\r\n font-weight: 700;\r\n }\r\n}\r\n\r\n\r\n.Nav-item{\r\n font-size: 21px;\r\n font-weight: 500;\r\n margin-left: 20px;\r\n margin-right: 20px;\r\n}\r\n.Nav-squeak{\r\n width: 100%;\r\n margin-top: 15px;\r\n margin-bottom: 5px;\r\n display: flex;\r\n\r\n}\r\n\r\n.Nav-squeak-link{\r\n width: 90%;\r\n background-color: rgb(29, 161, 242);\r\n box-shadow: rgba(0, 0, 0, 0.08) 0px 8px 28px;\r\n outline-style: none;\r\n transition-property: background-color, box-shadow;\r\n transition-duration: 0.2s;\r\n min-width: 78.89px;\r\n min-height: 49px;\r\n padding-left: 30px;\r\n padding-right: 30px;\r\n border: 1px solid rgba(0, 0, 0, 0);\r\n cursor: pointer;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n border-radius: 9999px;\r\n}\r\n\r\n@media only screen and (max-width: 1286px) {\r\n .Nav-squeak-link{ width: 100%; }\r\n .Nav-squeak{justify-content: center;}\r\n}\r\n.Nav-squeak-btn{\r\n color: #fff;\r\n font-size: 15px;\r\n font-weight: bold;\r\n overflow-wrap: break-word;\r\n text-align: center;\r\n max-width: 100%;\r\n span{\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n }\r\n content: 'Squeak';\r\n}\r\n.btn-show{\r\n display: none;\r\n}\r\n@media only screen and (max-width: 1282px) {\r\n .Nav-squeak-link{\r\n max-width: 49px;\r\n width: 49px;\r\n padding: 0;\r\n min-width: 49px;\r\n }\r\n .btn-hide{\r\n display: none;\r\n }\r\n .btn-show{\r\n display: block;\r\n }\r\n }\r\n.Nav-squeak-btn span svg{\r\n width: 22.25px; height:22.25px;\r\n min-width: 22.25px;\r\n fill: #fff;\r\n}\r\n\r\n.more-menu-background{\r\n position: fixed;\r\n z-index: 20;\r\n left: 0;\r\n top: 0;\r\n width: 100%;\r\n height: 100%;\r\n overflow: auto;\r\n cursor: auto;\r\n}\r\n\r\n.more-modal-wrapper{\r\n position: relative;\r\n width: 100%;\r\n height: 100%;\r\n}\r\n\r\n.more-menu-content{\r\n min-height: 100px;\r\n max-width: 40vw;\r\n max-height: 50vh;\r\n width: 190px;\r\n min-width: 190px;\r\n border-radius: 14px;\r\n background-color: #fff;\r\n position: absolute;\r\n // top: 46.5%;\r\n // left: 26%;\r\n z-index: 1000;\r\n // transform: translate(-50%, -50%);\r\n overflow: hidden;\r\n box-shadow: rgba(101, 119, 134, 0.2) 0px 0px 15px, rgba(101, 119, 134, 0.15) 0px 0px 3px 1px;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n@media only screen and (min-width: 451px){\r\n .more-menu-content{\r\n\r\n height: 104px;\r\n }\r\n}\r\n\r\n.more-menu-item{\r\n border-bottom: 1px solid rgb(245, 248, 250);\r\n padding: 15px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n transition: 0.2 ease-in-out;\r\n cursor: pointer;\r\n &:hover{\r\n background-color: rgb(245, 248, 250);\r\n }\r\n span{\r\n display: flex;\r\n align-items: center;\r\n }\r\n\r\n}\r\n\r\n.more-menu-item svg{\r\n width: 16px;\r\n}\r\n\r\n.more-item{\r\n display: none;\r\n}\r\n\r\n\r\n@media only screen and (max-width: 1282px) {\r\n .Nav-item{\r\n display: none;\r\n }\r\n .Nav-width{\r\n width: 88px;\r\n }\r\n .Nav-Content{\r\n width: 88px;\r\n }\r\n }\r\n",".login-wrapper{\r\n max-width: 600px;\r\n padding: 0 15px;\r\n margin: 20px auto 0 auto;\r\n}\r\n\r\n.login-wrapper svg{\r\n height: 39px;\r\n margin: 0 auto;\r\n display: block;\r\n}\r\n\r\n.login-header{\r\n margin-top: 30px;\r\n font-size: 23px;\r\n margin-bottom: 10px;\r\n font-weight: bold;\r\n text-align: center;\r\n}\r\n\r\n.login-form{\r\n width: 100%;\r\n}\r\n\r\n.login-input{\r\n background-color: inherit;\r\n border: inherit;\r\n}\r\n\r\n.login-input:focus{\r\n background-color: inherit;\r\n border: inherit;\r\n}\r\n\r\n.login-input-wrap{\r\n padding: 10px 15px;\r\n}\r\n\r\n.login-input-content{\r\n border-bottom: 2px solid rgb(64, 67, 70);\r\n background-color: #e3e3e4;\r\n label{\r\n display: block;\r\n padding: 5px 10px 0 10px;\r\n }\r\n input{\r\n width: 100%;\r\n outline: none;\r\n font-size: 19px;\r\n padding: 2px 10px 5px 10px;\r\n }\r\n}\r\n\r\n.login-btn-wrap{\r\n width: calc(100% - 20px);\r\n min-height: 49px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n transition: 0.2s ease-in-out;\r\n margin: 10px;\r\n padding: 0 30px;\r\n border-radius: 9999px;\r\n background-color: rgb(29, 161, 242);\r\n opacity: 0.5;\r\n color: #fff;\r\n font-weight: bold;\r\n outline: none;\r\n border: 1px solid rgba(0,0,0,0);\r\n}\r\n\r\n.signup-option{\r\n margin-top: 20px;\r\n font-size: 15px;\r\n color: rgb(29, 161, 242);\r\n text-align: center;\r\n &:hover{\r\n text-decoration: underline;\r\n cursor: pointer;\r\n }\r\n}\r\n\r\n.button-active{\r\n opacity: 1;\r\n cursor: pointer;\r\n}\r\n\r\n.login-error{\r\n text-align: center;\r\n color: red;\r\n}",".signup-wrapper{\r\n max-width: 600px;\r\n padding: 0 15px;\r\n margin: 20px auto 0 auto;\r\n}\r\n\r\n.signup-wrapper svg{\r\n height: 39px;\r\n margin: 0 auto;\r\n display: block;\r\n}\r\n\r\n.signup-header{\r\n margin-top: 30px;\r\n font-size: 23px;\r\n margin-bottom: 10px;\r\n font-weight: bold;\r\n text-align: center;\r\n}\r\n\r\n.signup-form{\r\n width: 100%;\r\n}\r\n\r\n.signup-input{\r\n background-color: inherit;\r\n border: inherit;\r\n}\r\n\r\n.signup-input:focus{\r\n background-color: inherit;\r\n border: inherit;\r\n}\r\n\r\n.signup-input-wrap{\r\n padding: 10px 15px;\r\n}\r\n\r\n.signup-input-content{\r\n border-bottom: 2px solid rgb(64, 67, 70);\r\n background-color: #e3e3e4;\r\n label{\r\n display: block;\r\n padding: 5px 10px 0 10px;\r\n }\r\n input{\r\n width: 100%;\r\n outline: none;\r\n font-size: 19px;\r\n padding: 2px 10px 5px 10px;\r\n }\r\n}\r\n\r\n.signup-btn-wrap{\r\n width: calc(100% - 20px);\r\n min-height: 49px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n transition: 0.2s ease-in-out;\r\n margin: 10px;\r\n padding: 0 30px;\r\n border-radius: 9999px;\r\n background-color: rgb(29, 161, 242);\r\n opacity: 0.5;\r\n color: #fff;\r\n font-weight: bold;\r\n outline: none;\r\n border: 1px solid rgba(0,0,0,0);\r\n font-size: 16px;\r\n}\r\n\r\n.signup-option{\r\n margin-top: 20px;\r\n font-size: 15px;\r\n color: rgb(29, 161, 242);\r\n text-align: center;\r\n &:hover{\r\n text-decoration: underline;\r\n cursor: pointer;\r\n }\r\n}\r\n\r\n.button-active{\r\n opacity: 1;\r\n cursor: pointer;\r\n}",".squeak-wrapper{\r\n max-width: 600px;\r\n border-right: 1px solid rgb(230, 236, 240);\r\n width: 100%;\r\n height: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.squeak-header-wrapper{\r\n position: sticky;\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n border-left: 1px solid rgb(230, 236, 240);\r\n background-color: #fff;\r\n z-index: 3;\r\n top: 0px;\r\n display: flex;\r\n align-items: center;\r\n cursor: pointer;\r\n height: 53px;\r\n min-height: 53px;\r\n padding-left: 15px;\r\n padding-right: 15px;\r\n max-width: 1000px;\r\n margin: 0 auto;\r\n width: 100%;\r\n}\r\n\r\n.profile-header-back{\r\n min-width: 55px;\r\n min-height: 30px;\r\n justify-content: center;\r\n align-items: flex-start;\r\n}\r\n\r\n.header-back-wrapper{\r\n margin-left: -5px;\r\n width: 39px;\r\n height: 39px;\r\n transition: 0.2s ease-in-out;\r\n will-change: background-color;\r\n border: 1px solid rgba(0, 0, 0, 0);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n.header-back-wrapper svg{\r\n height: 1.5em;\r\n fill: rgb(29,161,242);\r\n}\r\n\r\n.squeak-header-content{\r\n font-weight: 800;\r\n font-size: 19px;\r\n}\r\n\r\n.squeak-body-wrapper{\r\n padding: 0 15px;\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n // overflow: hidden; causing squeak page info to cuttoff\r\n}\r\n\r\n.missing-squeak{\r\n background-color: rgb(211,211,211);\r\n}\r\n\r\n.squeak-header-content{\r\n margin-top: 10px;\r\n margin-bottom: 10px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.squeak-user-pic{\r\n flex-basis: 49px;\r\n margin-right: 10px;\r\n img{\r\n object-fit: cover;\r\n }\r\n}\r\n\r\n.squeak-user-wrap{\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center\r\n}\r\n\r\n.squeak-user-name{\r\n font-size: 16px;\r\n font-weight: bold;\r\n cursor: pointer;\r\n &:hover{\r\n text-decoration: underline;\r\n }\r\n}\r\n\r\n.squeak-username{\r\n font-size: 15.5px;\r\n font-weight: 400;\r\n color: rgb(101, 119, 134);\r\n}\r\n\r\n.squeak-content{\r\n margin-top: 10px;\r\n font-size: 23px;\r\n margin-bottom: 10px;\r\n word-break: break-word;\r\n}\r\n\r\n.locked-content{\r\n text-align: center;\r\n border-style: solid;\r\n border-radius: 25px;\r\n background-color: rgb(211,211,211);\r\n}\r\n\r\n.squeak-date{\r\n margin: 15px 0;\r\n font-size: 15px;\r\n color: rgb(101, 119, 134);\r\n}\r\n\r\n.squeak-stats{\r\n display: flex;\r\n padding: 15px 5px;\r\n border-top: 1px solid rgb(230, 236, 240);\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n div{\r\n display: flex;\r\n cursor: pointer;\r\n &:hover{\r\n text-decoration: underline;\r\n }\r\n }\r\n}\r\n\r\n.int-num{\r\n font-weight: bold;\r\n margin-right: 5px;\r\n cursor: pointer;\r\n}\r\n\r\n.int-text{\r\n color: rgb(101, 119, 134);\r\n margin-right: 20px;\r\n cursor: pointer;\r\n}\r\n\r\n.squeak-interactions{\r\n display: flex;\r\n justify-content: space-evenly;\r\n\r\n}\r\n\r\n.squeak-int-icon{\r\n min-height: 49px;\r\n width: 100%;\r\n padding: 0 5px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.card-icon svg{\r\n height: 22.5px;\r\n width: 22.5px;\r\n fill: rgb(101, 119, 134);\r\n}\r\n//////////////////////@exten\r\n\r\n.squeak-replies-wrapper{\r\n padding: 10px 15px 0 15px;\r\n transition: 0.2s ease-in-out;\r\n display: flex;\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n cursor: pointer;\r\n &:hover{\r\n background-color: rgb(245, 248, 250);\r\n }\r\n}\r\n\r\n\r\n.reply-squeak-username{\r\n font-size: 15.5px;\r\n margin-right: 5px;\r\n color: rgb(101, 119, 134);\r\n}\r\n\r\n.main-squeak-user{\r\n color: rgb(27, 149, 224);\r\n &:hover{ text-decoration: underline;}\r\n}\r\n\r\n.card-icon{\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n padding: 7.4px;\r\n border-radius: 50%;\r\n transition: 0.2s ease-in-out;\r\n will-change: background-color;\r\n cursor: pointer;\r\n}\r\n\r\n\r\n.reply-icon:hover{\r\n background-color: rgba(29, 161, 242,0.1);\r\n svg{ fill: rgb(29, 161, 242) !important; }\r\n}\r\n.resqueak-icon:hover{\r\n background-color: rgba(23, 191, 99,0.1);\r\n svg{ fill: rgb(23, 191, 99) !important; }\r\n}\r\n.heart-icon:hover{\r\n\r\n background-color: rgba(224, 36, 94,0.1);\r\n svg{ fill: rgb(224, 36, 94) !important; }\r\n}\r\n.share-icon:hover{\r\n background-color: rgba(29, 161, 242,0.1);\r\n svg{ fill: rgb(29, 161, 242) !important; }\r\n}\r\n.delete-icon:hover{\r\n background-color: rgba(212, 11, 11, 0.1);\r\n svg{ fill: red !important; }\r\n}\r\n\r\n.reply-int svg{\r\n display: flex;\r\n align-items: center;\r\n height: 18.75px;\r\n width: 18.75px;\r\n fill: rgb(101, 119, 134);\r\n}\r\n\r\n.card-icon-value{\r\n margin-left: 3px;\r\n font-size: 13px;\r\n}\r\n\r\n.resqueak-int:hover{\r\n color: rgb(23, 191, 99);\r\n}\r\n.heart-int:hover{\r\n color: rgb(224, 36, 94);\r\n}\r\n\r\n\r\n\r\n////////////@extend\r\n.squeak-image-wrapper{\r\n overflow: hidden;\r\n max-height: 730px;\r\n\r\n div{\r\n border-radius: 14px;\r\n background-position: center center;\r\n background-repeat: no-repeat;\r\n width: 100%;\r\n height: 100%;\r\n top: 0px;\r\n left: 0px;\r\n right: 0px;\r\n bottom: 0px;\r\n background-size: cover;\r\n }\r\n}\r\n\r\n.squeak-unlock-button{\r\n min-height: 39px;\r\n min-width: 98.8px;\r\n transition: 0.2s ease-in-out;\r\n cursor: pointer;\r\n border: 1px solid rgb(29, 161, 242);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n margin-left: 7px;\r\n padding-left: 1em;\r\n padding-right: 1em;\r\n span{\r\n text-align: center;\r\n font-weight: 800;\r\n color: rgb(29, 161, 242);\r\n width: 100%\r\n }\r\n &:hover{\r\n background-color: rgba(29, 161, 242,0.1);\r\n }\r\n}\r\n",".Squeak-card-wrapper{\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n display: flex;\r\n transition: 0.2s ease-in-out;\r\n will-change: background-color;\r\n cursor: pointer;\r\n padding: 10px 15px;\r\n &:hover{\r\n background-color: rgb(245,248,250);\r\n }\r\n}\r\n\r\n.card-userPic-wrapper{\r\n flex-basis: 49px;\r\n margin-right: 10px;\r\n display: flex;\r\n flex-direction: column;\r\n\r\n}\r\n\r\n.card-userPic{\r\n img{\r\n object-fit: cover;\r\n border-radius: 50%;\r\n min-width: 49px;\r\n\r\n -webkit-transition: all 1s ease;\r\n -moz-transition: all 1s ease;\r\n -o-transition: all 1s ease;\r\n -ms-transition: all 1s ease;\r\n transition: all 1s ease;\r\n }\r\n}\r\n\r\n.card-userPic:hover{\r\n img{\r\n -webkit-filter: brightness(70%);\r\n filter: brightness(70%);\r\n }\r\n}\r\n\r\n.card-content-wrapper{\r\n // overflow: hidden; removed it caused hover icons to cuttoff\r\n max-width: calc(100% - 60px);\r\n flex-basis: calc(100% - 49px);\r\n}\r\n\r\n.missing-squeak{\r\n background-color: rgb(211,211,211);\r\n}\r\n\r\n.card-content-header{\r\n margin-bottom: 2px;\r\n display: flex;\r\n justify-content: space-between;\r\n}\r\n\r\n\r\n.card-header-user:hover{\r\n text-decoration: underline;\r\n}\r\n\r\n\r\n.card-header-date{\r\n &:hover{\r\n text-decoration: underline;\r\n }\r\n}\r\n\r\n.card-header-user{\r\n font-weight: bold;\r\n}\r\n\r\n.card-header-username{\r\n margin-left: 5px;\r\n color: rgb(101, 119, 134)\r\n}\r\n\r\n.card-header-dot{\r\n padding: 0 5px;\r\n color: rgb(101, 119, 134)\r\n}\r\n\r\n.card-header-date{\r\n color: rgb(101, 119, 134)\r\n\r\n}\r\n\r\n.card-header-more{\r\n\r\n}\r\n\r\n.card-content-images{\r\n margin-top: 10px;\r\n border: 1px solid rgb(204, 214, 221);\r\n border-radius: 14px;\r\n // display: flex;\r\n // flex-direction: column;\r\n\r\n}\r\n\r\n.card-image-link{\r\n cursor: pointer;\r\n display: block;\r\n max-height: 253px;\r\n border-radius: 14px;\r\n\r\n img{\r\n max-height:253px;\r\n border-radius: 14px;\r\n width: 100%;\r\n height: 100%;\r\n object-fit: cover;\r\n }\r\n}\r\n\r\n.card-buttons-wrapper{\r\n margin-left: -5px;\r\n margin-top: 5px;\r\n max-width: 425px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n margin-bottom: -5px;\r\n}\r\n\r\n.card-button-wrap{\r\n display: flex;\r\n justify-content: flex-start;\r\n align-items: center;\r\n color: rgb(134, 120, 101);\r\n &:hover{\r\n .reply-icon{\r\n .card-button-wrap{color: rgb(212, 11, 11) !important}\r\n background-color: rgba(29, 161, 242,0.1);\r\n svg{ fill: rgb(29, 161, 242) !important; }\r\n }\r\n .resqueak-icon{\r\n background-color: rgba(23, 191, 99,0.1);\r\n svg{ fill: rgb(23, 191, 99) !important; }\r\n }\r\n .heart-icon{\r\n\r\n background-color: rgba(224, 36, 94,0.1);\r\n svg{ fill: rgb(224, 36, 94) !important; }\r\n }\r\n .share-icon{\r\n background-color: rgba(29, 161, 242,0.1);\r\n svg{ fill: rgb(29, 161, 242) !important; }\r\n }\r\n .delete-icon{\r\n background-color: rgba(212, 11, 11, 0.1);\r\n svg{ fill: rgb(212, 11, 11) !important; }\r\n }\r\n }\r\n}\r\n\r\n.reply-wrap:hover{\r\n color: rgb(29, 161, 242);\r\n}\r\n.resqueak-wrap:hover{\r\n color: rgb(23, 191, 99);\r\n}\r\n.heart-wrap:hover{\r\n color: rgb(224, 36, 94);\r\n}\r\n\r\n.card-icon{\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n padding: 7.4px;\r\n border-radius: 50%;\r\n transition: 0.2s ease-in-out;\r\n will-change: background-color;\r\n}\r\n\r\n.card-icon svg{\r\n width: 18.75px;\r\n height: 18.75px;\r\n}\r\n\r\n.card-icon-value{\r\n margin-left: 3px;\r\n font-size: 13px;\r\n\r\n}\r\n\r\n\r\n/////////reply modal\r\n.reply-content-wrapper{\r\n display: flex;\r\n padding: 10px 15px;\r\n}\r\n\r\n\r\n.reply-squeak-username{\r\n font-size: 15.5px;\r\n margin-right: 5px;\r\n color: rgb(101, 119, 134);\r\n}\r\n\r\n.main-squeak-user{\r\n color: rgb(27, 149, 224);\r\n &:hover{ text-decoration: underline;}\r\n}\r\n\r\n.reply-to-user{\r\n margin-top: 15px;\r\n}\r\n\r\n// .reply-thread{\r\n// border-right: 2px solid #ccd6dd;\r\n// text-align: center;\r\n// height: 100%;\r\n// width: 100%;\r\n// }\r\n\r\n\r\n.replyTo-wrapper{\r\n margin-bottom: 2px;\r\n}\r\n\r\n.user-resqueak-icon{\r\n display: flex;\r\n justify-content: flex-end;\r\n margin-bottom: 5px;\r\n}\r\n\r\n.user-resqueak-icon svg{\r\n width: 13px;\r\n height: 18.75px;\r\n fill: rgb(101, 119, 134);\r\n}\r\n\r\n.user-resqueaked{\r\n color: rgb(101, 119, 134);\r\n font-size: 13px;\r\n margin-bottom: 5px;\r\n &:hover{\r\n text-decoration: underline;\r\n }\r\n}\r\n\r\n.squeak-reply-thread{\r\n margin-top: 2px;\r\n width: 2px;\r\n background-color: rgb(204, 214, 221);\r\n margin: 0 auto;\r\n height: 100%;\r\n margin-top: -5px;\r\n margin-bottom: -20px;\r\n}\r\n\r\n.user-replied{\r\n color: rgb(101, 119, 134);\r\n font-size: 13px;\r\n margin-bottom: 5px;\r\n &:hover{\r\n text-decoration: underline;\r\n }\r\n}\r\n\r\n.card-content-locked-content{\r\n text-align: center;\r\n border-style: solid;\r\n border-radius: 25px;\r\n background-color: rgb(211,211,211);\r\n}\r\n",".explore-wrapper{\r\n max-width: 600px;\r\n border-right: 1px solid rgb(230, 236, 240);\r\n width: 100%;\r\n // height: 100vh;\r\n display: flex;\r\n flex-direction: column;\r\n min-height: 2000px;\r\n}\r\n\r\n\r\n.explore-header{\r\n position: sticky;\r\n border-left: 1px solid rgb(230, 236, 240);\r\n background-color: #fff;\r\n z-index: 8;\r\n top: 0px;\r\n display: flex;\r\n align-items: center;\r\n height: 53px;\r\n min-height: 53px;\r\n padding-left: 15px;\r\n padding-right: 15px;\r\n max-width: 600px;\r\n margin: 0 auto;\r\n width: 100%;\r\n}\r\n\r\n.header-border{\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n}\r\n\r\n.explore-search-wrapper{\r\n background-color: rgb(230, 236, 240);\r\n border: 1px solid transparent;\r\n border-radius: 9999px;\r\n display: flex;\r\n align-items: center;\r\n min-height: 38px;\r\n width: 100%;\r\n\r\n}\r\n\r\n.explore-search-icon{\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.explore-search-icon svg{\r\n width: 40px;\r\n height: 18.75px;\r\n fill: rgb(101, 119, 134);\r\n padding-left: 10px;\r\n}\r\n\r\n.explore-search-input{\r\n width: 100%;\r\n}\r\n\r\n.explore-search-input input{\r\n background-color: inherit;\r\n border: inherit;\r\n padding: 6px 10px;\r\n width: 100%;\r\n font-size: 15px;\r\n color: rgb(101, 119, 134);\r\n outline: none;\r\n}\r\n\r\n.explore-nav-menu{\r\n margin-top: 10px;\r\n display: flex;\r\n justify-content: space-around;\r\n align-items: center;\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n}\r\n\r\n.explore-nav-item{\r\n padding: 15px;\r\n width: 100%;\r\n text-align: center;\r\n cursor: pointer;\r\n font-weight: bold;\r\n color: rgb(101, 119, 134);\r\n transition: 0.2s;\r\n will-change: background-color;\r\n box-sizing:border-box;\r\n border-bottom: 2px solid transparent;\r\n &:hover{\r\n background-color: rgba(29, 161, 242, 0.1);\r\n color: rgb(29, 161, 242);\r\n }\r\n}\r\n\r\n.activeTab{\r\n border-bottom: 2px solid rgb(29, 161, 242);\r\n color: rgb(29, 161, 242);\r\n}\r\n\r\n.search-result-wapper{\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n padding: 10px 15px;\r\n transition: 0.2s;\r\n cursor: pointer;\r\n display: flex;\r\n &:hover{\r\n background-color: rgb(245,248,250);\r\n }\r\n}\r\n\r\n.search-userPic-wrapper{\r\n flex-basis: 49px;\r\n margin-right: 10px;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.search-userPic{\r\n img{\r\n object-fit: cover;\r\n border-radius: 50%;\r\n min-width: 49px;\r\n\r\n -webkit-transition: all 1s ease;\r\n -moz-transition: all 1s ease;\r\n -o-transition: all 1s ease;\r\n -ms-transition: all 1s ease;\r\n transition: all 1s ease;\r\n }\r\n}\r\n\r\n.search-userPic:hover{\r\n img{\r\n -webkit-filter: brightness(70%);\r\n filter: brightness(70%);\r\n }\r\n}\r\n\r\n.search-user-details{\r\n display: flex;\r\n flex-direction: column;\r\n width: 100%;\r\n}\r\n\r\n.search-user-info{\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.search-user-name{\r\n font-weight: bold;\r\n}\r\n\r\n.search-user-username{\r\n color: rgb(101, 119, 134);\r\n line-height: 1;\r\n}\r\n\r\n.search-user-bio{\r\n margin-top: 7px;\r\n}\r\n\r\n.search-user-warp{\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n\r\n.follow-btn-wrap{\r\n min-height: 30px;\r\n min-width: 70px;\r\n transition: 0.2s ease-in-out;\r\n cursor: pointer;\r\n border: 1px solid #1da1f2;\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n padding-left: 1em;\r\n padding-right: 1em;\r\n &:hover{\r\n background-color: rgba(29, 161, 242, 0.1);\r\n }\r\n}\r\n\r\n.follow-btn-wrap span{\r\n text-align: center;\r\n font-weight: 800;\r\n color: #1da1f2;\r\n width: 100%;\r\n}\r\n\r\n\r\n\r\n.trending-card-wrapper{\r\n border-bottom: 1px solid rgb(245,248,250);\r\n padding: 10px 15px;\r\n transition: 0.2s;\r\n cursor: pointer;\r\n display: flex;\r\n flex-direction: column;\r\n &:hover{\r\n background-color: rgb(245, 248, 250);\r\n }\r\n}\r\n\r\n.trending-card-header{\r\n color: rgb(101, 119, 134);\r\n font-size: 14px;\r\n span{\r\n padding: 0 3px;\r\n }\r\n}\r\n\r\n.trending-card-content{\r\n font-weight: bold;\r\n font-size: 19px;\r\n padding-top: 2px;\r\n padding-bottom: 2px;\r\n}\r\n\r\n.trending-card-count{\r\n font-size: 15px;\r\n color: rgb(101, 119, 134);\r\n}\r\n\r\n.try-searching{\r\n font-weight: bold;\r\n font-size: 17px;\r\n text-align: center;\r\n margin-top: 40px;\r\n color: #657786;\r\n div{\r\n margin-bottom: 15px;\r\n }\r\n}\r\n\r\n\r\n.unfollow-switch{\r\n background-color: rgb(29, 161, 242);\r\n span{color: #fff !important;}\r\n}\r\n\r\n.unfollow-switch:hover{\r\n background-color: rgb(202,32,85) !important;\r\n border: 1px solid transparent;\r\n span{\r\n color: #fff;\r\n span{display: none;}\r\n &:before{\r\n content: 'Unfollow';\r\n }\r\n }\r\n}\r\n\r\n.explore-header-back{\r\n min-width: 55px;\r\n min-height: 30px;\r\n justify-content: center;\r\n align-items: flex-start;\r\n}\r\n\r\n.explore-back-wrapper{\r\n margin-left: -5px;\r\n width: 39px;\r\n height: 39px;\r\n transition: 0.2s ease-in-out;\r\n will-change: background-color;\r\n border: 1px solid rgba(0, 0, 0, 0);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n cursor: pointer;\r\n}\r\n.explore-back-wrapper svg{\r\n height: 1.5em;\r\n fill: rgb(29,161,242);\r\n}\r\n.explore-back-wrapper:hover{\r\n background-color: rgba(29,161,242,0.1);\r\n}\r\n\r\n.profiles-details-wrapper{\r\n padding: 10px 15px 15px 15px;\r\n}\r\n\r\n.profiles-options{\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\r\n position: relative;\r\n}\r\n\r\n.profiles-create-button{\r\n min-height: 39px;\r\n min-width: 98.8px;\r\n transition: 0.2s ease-in-out;\r\n cursor: pointer;\r\n border: 1px solid rgb(29, 161, 242);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n margin-left: 7px;\r\n padding-left: 1em;\r\n padding-right: 1em;\r\n span{\r\n text-align: center;\r\n font-weight: 800;\r\n color: rgb(29, 161, 242);\r\n width: 100%\r\n }\r\n &:hover{\r\n background-color: rgba(29, 161, 242,0.1);\r\n }\r\n}\r\n",".explore-wrapper{\r\n max-width: 600px;\r\n border-right: 1px solid rgb(230, 236, 240);\r\n width: 100%;\r\n // height: 100vh;\r\n display: flex;\r\n flex-direction: column;\r\n min-height: 2000px;\r\n}\r\n\r\n\r\n.explore-header{\r\n position: sticky;\r\n border-left: 1px solid rgb(230, 236, 240);\r\n background-color: #fff;\r\n z-index: 8;\r\n top: 0px;\r\n display: flex;\r\n align-items: center;\r\n height: 53px;\r\n min-height: 53px;\r\n padding-left: 15px;\r\n padding-right: 15px;\r\n max-width: 600px;\r\n margin: 0 auto;\r\n width: 100%;\r\n}\r\n\r\n.header-border{\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n}\r\n\r\n.explore-search-wrapper{\r\n background-color: rgb(230, 236, 240);\r\n border: 1px solid transparent;\r\n border-radius: 9999px;\r\n display: flex;\r\n align-items: center;\r\n min-height: 38px;\r\n width: 100%;\r\n\r\n}\r\n\r\n.explore-search-icon{\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.explore-search-icon svg{\r\n width: 40px;\r\n height: 18.75px;\r\n fill: rgb(101, 119, 134);\r\n padding-left: 10px;\r\n}\r\n\r\n.explore-search-input{\r\n width: 100%;\r\n}\r\n\r\n.explore-search-input input{\r\n background-color: inherit;\r\n border: inherit;\r\n padding: 6px 10px;\r\n width: 100%;\r\n font-size: 15px;\r\n color: rgb(101, 119, 134);\r\n outline: none;\r\n}\r\n\r\n.explore-nav-menu{\r\n margin-top: 10px;\r\n display: flex;\r\n justify-content: space-around;\r\n align-items: center;\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n}\r\n\r\n.explore-nav-item{\r\n padding: 15px;\r\n width: 100%;\r\n text-align: center;\r\n cursor: pointer;\r\n font-weight: bold;\r\n color: rgb(101, 119, 134);\r\n transition: 0.2s;\r\n will-change: background-color;\r\n box-sizing:border-box;\r\n border-bottom: 2px solid transparent;\r\n &:hover{\r\n background-color: rgba(29, 161, 242, 0.1);\r\n color: rgb(29, 161, 242);\r\n }\r\n}\r\n\r\n.activeTab{\r\n border-bottom: 2px solid rgb(29, 161, 242);\r\n color: rgb(29, 161, 242);\r\n}\r\n\r\n.payment-wapper{\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n padding: 10px 15px;\r\n transition: 0.2s;\r\n display: flex;\r\n &:hover{\r\n background-color: rgb(245,248,250);\r\n }\r\n}\r\n\r\n.search-userPic-wrapper{\r\n flex-basis: 49px;\r\n margin-right: 10px;\r\n img{\r\n object-fit: cover;\r\n }\r\n}\r\n\r\n.search-user-details{\r\n display: flex;\r\n flex-direction: column;\r\n width: 100%;\r\n}\r\n\r\n.search-user-info{\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.payment-price{\r\n font-weight: bold;\r\n}\r\n\r\n.payment-squeak-hash{\r\n color: rgb(101, 119, 134);\r\n line-height: 1;\r\n}\r\n\r\n.payment-peer-address{\r\n color: rgb(101, 119, 134);\r\n line-height: 1;\r\n}\r\n\r\n.payment-lightning-node{\r\n color: rgb(101, 119, 134);\r\n line-height: 1;\r\n}\r\n\r\n.payment-time{\r\n color: rgb(101, 119, 134);\r\n line-height: 1;\r\n font-weight: bold;\r\n}\r\n\r\n.search-user-bio{\r\n margin-top: 7px;\r\n}\r\n\r\n.search-user-warp{\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n\r\n.follow-btn-wrap{\r\n min-height: 30px;\r\n min-width: 70px;\r\n transition: 0.2s ease-in-out;\r\n cursor: pointer;\r\n border: 1px solid #1da1f2;\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n padding-left: 1em;\r\n padding-right: 1em;\r\n &:hover{\r\n background-color: rgba(29, 161, 242, 0.1);\r\n }\r\n}\r\n\r\n.follow-btn-wrap span{\r\n text-align: center;\r\n font-weight: 800;\r\n color: #1da1f2;\r\n width: 100%;\r\n}\r\n\r\n\r\n\r\n.trending-card-wrapper{\r\n border-bottom: 1px solid rgb(245,248,250);\r\n padding: 10px 15px;\r\n transition: 0.2s;\r\n cursor: pointer;\r\n display: flex;\r\n flex-direction: column;\r\n &:hover{\r\n background-color: rgb(245, 248, 250);\r\n }\r\n}\r\n\r\n.trending-card-header{\r\n color: rgb(101, 119, 134);\r\n font-size: 14px;\r\n span{\r\n padding: 0 3px;\r\n }\r\n}\r\n\r\n.trending-card-content{\r\n font-weight: bold;\r\n font-size: 19px;\r\n padding-top: 2px;\r\n padding-bottom: 2px;\r\n}\r\n\r\n.trending-card-count{\r\n font-size: 15px;\r\n color: rgb(101, 119, 134);\r\n}\r\n\r\n.try-searching{\r\n font-weight: bold;\r\n font-size: 17px;\r\n text-align: center;\r\n margin-top: 40px;\r\n color: #657786;\r\n div{\r\n margin-bottom: 15px;\r\n }\r\n}\r\n\r\n\r\n.unfollow-switch{\r\n background-color: rgb(29, 161, 242);\r\n span{color: #fff !important;}\r\n}\r\n\r\n.unfollow-switch:hover{\r\n background-color: rgb(202,32,85) !important;\r\n border: 1px solid transparent;\r\n span{\r\n color: #fff;\r\n span{display: none;}\r\n &:before{\r\n content: 'Unfollow';\r\n }\r\n }\r\n}\r\n\r\n.explore-header-back{\r\n min-width: 55px;\r\n min-height: 30px;\r\n justify-content: center;\r\n align-items: flex-start;\r\n}\r\n\r\n.explore-back-wrapper{\r\n margin-left: -5px;\r\n width: 39px;\r\n height: 39px;\r\n transition: 0.2s ease-in-out;\r\n will-change: background-color;\r\n border: 1px solid rgba(0, 0, 0, 0);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n cursor: pointer;\r\n}\r\n.explore-back-wrapper svg{\r\n height: 1.5em;\r\n fill: rgb(29,161,242);\r\n}\r\n.explore-back-wrapper:hover{\r\n background-color: rgba(29,161,242,0.1);\r\n}\r\n\r\n.profiles-details-wrapper{\r\n padding: 10px 15px 15px 15px;\r\n}\r\n\r\n.profiles-options{\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\r\n position: relative;\r\n}\r\n\r\n.profiles-create-button{\r\n min-height: 39px;\r\n min-width: 98.8px;\r\n transition: 0.2s ease-in-out;\r\n cursor: pointer;\r\n border: 1px solid rgb(29, 161, 242);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n margin-left: 7px;\r\n padding-left: 1em;\r\n padding-right: 1em;\r\n span{\r\n text-align: center;\r\n font-weight: 800;\r\n color: rgb(29, 161, 242);\r\n width: 100%\r\n }\r\n &:hover{\r\n background-color: rgba(29, 161, 242,0.1);\r\n }\r\n}\r\n\r\n.payments-header-wrapper{\r\n position: sticky;\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n border-left: 1px solid rgb(230, 236, 240);\r\n background-color: #fff;\r\n z-index: 8;\r\n top: 0px;\r\n display: flex;\r\n align-items: center;\r\n cursor: pointer;\r\n height: 53px;\r\n min-height: 53px;\r\n padding-left: 15px;\r\n padding-right: 15px;\r\n max-width: 1000px;\r\n margin: 0 auto;\r\n width: 100%;\r\n}\r\n\r\n.payments-header-content{\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.payments-header-name{\r\n font-weight: 800;\r\n font-size: 19px;\r\n}\r\n","\n.peers-header-wrapper{\n position: sticky;\n border-bottom: 1px solid rgb(230, 236, 240);\n border-left: 1px solid rgb(230, 236, 240);\n background-color: #fff;\n z-index: 8;\n top: 0px;\n display: flex;\n align-items: center;\n cursor: pointer;\n height: 53px;\n min-height: 53px;\n padding-left: 15px;\n padding-right: 15px;\n max-width: 1000px;\n margin: 0 auto;\n width: 100%;\n}\n\n.peers-header-content{\n display: flex;\n flex-direction: column;\n}\n\n.peers-header-name{\n font-weight: 800;\n font-size: 19px;\n}\n\n\n.enable-btn-wrap{\n min-height: 30px;\n min-width: 70px;\n transition: 0.2s ease-in-out;\n cursor: pointer;\n border: 1px solid #1da1f2;\n border-radius: 9999px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding-left: 1em;\n padding-right: 1em;\n &:hover{\n background-color: rgba(29, 161, 242, 0.1);\n }\n}\n\n.enable-btn-wrap span{\n text-align: center;\n font-weight: 800;\n color: #1da1f2;\n width: 100%;\n}\n\n.disable-switch{\n background-color: rgb(29, 161, 242);\n span{color: #fff !important;}\n}\n\n.disable-switch:hover{\n background-color: rgb(202,32,85) !important;\n border: 1px solid transparent;\n span{\n color: #fff;\n span{display: none;}\n &:before{\n content: 'Disable';\n }\n }\n}\n",".feed-wrapper{\r\n display: flex;\r\n justify-content: center;\r\n flex-direction: column;\r\n position: sticky;\r\n top: 5px;\r\n}\r\n\r\n.feed-trending-card{\r\n width: 100%;\r\n background-color: rgb(245, 248, 250);\r\n margin-top: 10px;\r\n margin-bottom: 15px;\r\n border: 1px solid rgb(245, 248, 250);\r\n border-top-left-radius: 14px;\r\n border-top-right-radius: 14px;\r\n border-bottom-left-radius: 14px;\r\n border-bottom-right-radius: 14px;\r\n}\r\n\r\n.feed-card-header{\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n padding: 10px 15px;\r\n display: flex;\r\n align-items: center;\r\n font-size: 19px;\r\n font-weight: bold;\r\n}\r\n\r\n.feed-card-trend{\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n padding: 10px 15px;\r\n cursor: pointer;\r\n transition: 0.2s ease-in-out;\r\n &:hover{\r\n background-color: rgba(0, 0, 0, 0.03);\r\n }\r\n div:nth-child(1){\r\n font-size: 13px;\r\n color: rgb(101, 119, 134);\r\n }\r\n div:nth-child(2){\r\n font-size: 15px;\r\n color: rgb(20, 23, 26);\r\n font-weight: bold;\r\n padding-top: 2px;\r\n }\r\n div:nth-child(3){\r\n font-size: 15px;\r\n color: rgb(101, 119, 134);\r\n padding-top: 2px;\r\n }\r\n}\r\n\r\n.feed-more{\r\n padding: 15px;\r\n transition: 0.2s ease-in-out;\r\n cursor: pointer;\r\n font-size: 15px;\r\n color: rgb(29,161,242);\r\n}\r\n\r\n\r\n////@extend\r\n\r\n.sugg-result-wapper{\r\n cursor: pointer;\r\n display: flex;\r\n \r\n}\r\n\r\n.search-userPic-wrapper{\r\n flex-basis: 49px;\r\n margin-right: 10px; \r\n}\r\n\r\n.search-user-details{\r\n display: flex;\r\n flex-direction: column;\r\n width: 100%;\r\n}\r\n\r\n.search-user-info{\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.search-user-name{\r\n font-weight: bold;\r\n color: rgb(20, 23, 26) !important;\r\n font-weight: 600 !important;\r\n}\r\n\r\n.search-user-username{\r\n color: #657786 !important;\r\n font-weight: 400 !important;\r\n line-height: 1;\r\n}\r\n\r\n.search-user-bio{\r\n margin-top: 7px;\r\n}\r\n\r\n.search-user-warp{\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n\r\n.follow-btn-wrap{\r\n min-height: 30px;\r\n min-width: 70px;\r\n transition: 0.2s ease-in-out;\r\n cursor: pointer;\r\n border: 1px solid #1da1f2;\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n padding-left: 1em;\r\n padding-right: 1em;\r\n &:hover{\r\n background-color: rgba(29, 161, 242, 0.1);\r\n }\r\n}\r\n\r\n.follow-btn-wrap span{\r\n text-align: center;\r\n font-weight: 800;\r\n color: #1da1f2;\r\n width: 100%;\r\n}",".Home-wrapper{\r\n max-width: 600px;\r\n border-right: 1px solid rgb(230, 236, 240);\r\n width: 100%;\r\n //but doesnt show when there are less elements\r\n // height: 100vh;\r\n display: flex;\r\n flex-direction: column;\r\n min-height: 2000px;\r\n}\r\n\r\n.Home-header-wrapper{\r\n position: sticky;\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n border-left: 1px solid rgb(230, 236, 240);\r\n background-color: rgb(255, 255, 255);\r\n z-index: 3;\r\n top: 0px;\r\n display: flex;\r\n align-items: center;\r\n cursor: pointer;\r\n height: 53px;\r\n min-height: 53px;\r\n padding-left: 15px;\r\n padding-right: 15px;\r\n max-width: 1000px;\r\n margin: 0 auto;\r\n width: 100%;\r\n}\r\n\r\n.Home-header{\r\n font-weight: 800;\r\n font-size: 19px;\r\n color: rgb(20, 23, 26);\r\n line-height: 1.3125;\r\n}\r\n\r\n.blue{\r\n color: rgb(29, 161, 242);\r\n}",".explore-wrapper{\r\n max-width: 600px;\r\n border-right: 1px solid rgb(230, 236, 240);\r\n width: 100%;\r\n // height: 100vh;\r\n display: flex;\r\n flex-direction: column;\r\n min-height: 2000px;\r\n}\r\n\r\n\r\n.explore-header{\r\n position: sticky;\r\n border-left: 1px solid rgb(230, 236, 240);\r\n background-color: #fff;\r\n z-index: 8;\r\n top: 0px;\r\n display: flex;\r\n align-items: center;\r\n height: 53px;\r\n min-height: 53px;\r\n padding-left: 15px;\r\n padding-right: 15px;\r\n max-width: 600px;\r\n margin: 0 auto;\r\n width: 100%;\r\n}\r\n\r\n.header-border{\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n}\r\n\r\n.explore-search-wrapper{\r\n background-color: rgb(230, 236, 240);\r\n border: 1px solid transparent;\r\n border-radius: 9999px;\r\n display: flex;\r\n align-items: center;\r\n min-height: 38px;\r\n width: 100%;\r\n\r\n}\r\n\r\n.explore-search-icon{\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.explore-search-icon svg{\r\n width: 40px;\r\n height: 18.75px;\r\n fill: rgb(101, 119, 134);\r\n padding-left: 10px;\r\n}\r\n\r\n.explore-search-input{\r\n width: 100%;\r\n}\r\n\r\n.explore-search-input input{\r\n background-color: inherit;\r\n border: inherit;\r\n padding: 6px 10px;\r\n width: 100%;\r\n font-size: 15px;\r\n color: rgb(101, 119, 134);\r\n outline: none;\r\n}\r\n\r\n.explore-nav-menu{\r\n margin-top: 10px;\r\n display: flex;\r\n justify-content: space-around;\r\n align-items: center;\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n}\r\n\r\n.explore-nav-item{\r\n padding: 15px;\r\n width: 100%;\r\n text-align: center;\r\n cursor: pointer;\r\n font-weight: bold;\r\n color: rgb(101, 119, 134);\r\n transition: 0.2s;\r\n will-change: background-color;\r\n box-sizing:border-box;\r\n border-bottom: 2px solid transparent;\r\n &:hover{\r\n background-color: rgba(29, 161, 242, 0.1);\r\n color: rgb(29, 161, 242);\r\n }\r\n}\r\n\r\n.activeTab{\r\n border-bottom: 2px solid rgb(29, 161, 242);\r\n color: rgb(29, 161, 242);\r\n}\r\n\r\n.search-result-wapper{\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n padding: 10px 15px;\r\n transition: 0.2s;\r\n cursor: pointer;\r\n display: flex;\r\n &:hover{\r\n background-color: rgb(245,248,250);\r\n }\r\n}\r\n\r\n.search-userPic-wrapper{\r\n flex-basis: 49px;\r\n margin-right: 10px;\r\n img{\r\n object-fit: cover;\r\n }\r\n}\r\n\r\n.search-user-details{\r\n display: flex;\r\n flex-direction: column;\r\n width: 100%;\r\n}\r\n\r\n.search-user-info{\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.search-user-name{\r\n font-weight: bold;\r\n}\r\n\r\n.search-user-username{\r\n color: rgb(101, 119, 134);\r\n line-height: 1;\r\n}\r\n\r\n.search-user-bio{\r\n margin-top: 7px;\r\n}\r\n\r\n.search-user-warp{\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n\r\n.follow-btn-wrap{\r\n min-height: 30px;\r\n min-width: 70px;\r\n transition: 0.2s ease-in-out;\r\n cursor: pointer;\r\n border: 1px solid #1da1f2;\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n padding-left: 1em;\r\n padding-right: 1em;\r\n &:hover{\r\n background-color: rgba(29, 161, 242, 0.1);\r\n }\r\n}\r\n\r\n.follow-btn-wrap span{\r\n text-align: center;\r\n font-weight: 800;\r\n color: #1da1f2;\r\n width: 100%;\r\n}\r\n\r\n\r\n\r\n.trending-card-wrapper{\r\n border-bottom: 1px solid rgb(245,248,250);\r\n padding: 10px 15px;\r\n transition: 0.2s;\r\n cursor: pointer;\r\n display: flex;\r\n flex-direction: column;\r\n &:hover{\r\n background-color: rgb(245, 248, 250);\r\n }\r\n}\r\n\r\n.trending-card-header{\r\n color: rgb(101, 119, 134);\r\n font-size: 14px;\r\n span{\r\n padding: 0 3px;\r\n }\r\n}\r\n\r\n.trending-card-content{\r\n font-weight: bold;\r\n font-size: 19px;\r\n padding-top: 2px;\r\n padding-bottom: 2px;\r\n}\r\n\r\n.trending-card-count{\r\n font-size: 15px;\r\n color: rgb(101, 119, 134);\r\n}\r\n\r\n.try-searching{\r\n font-weight: bold;\r\n font-size: 17px;\r\n text-align: center;\r\n margin-top: 40px;\r\n color: #657786;\r\n div{\r\n margin-bottom: 15px;\r\n }\r\n}\r\n\r\n\r\n.unfollow-switch{\r\n background-color: rgb(29, 161, 242);\r\n span{color: #fff !important;}\r\n}\r\n\r\n.unfollow-switch:hover{\r\n background-color: rgb(202,32,85) !important;\r\n border: 1px solid transparent;\r\n span{\r\n color: #fff;\r\n span{display: none;}\r\n &:before{\r\n content: 'Unfollow';\r\n }\r\n }\r\n}\r\n\r\n.explore-header-back{\r\n min-width: 55px;\r\n min-height: 30px;\r\n justify-content: center;\r\n align-items: flex-start;\r\n}\r\n\r\n.explore-back-wrapper{\r\n margin-left: -5px;\r\n width: 39px;\r\n height: 39px;\r\n transition: 0.2s ease-in-out;\r\n will-change: background-color;\r\n border: 1px solid rgba(0, 0, 0, 0);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n cursor: pointer;\r\n}\r\n.explore-back-wrapper svg{\r\n height: 1.5em;\r\n fill: rgb(29,161,242);\r\n}\r\n.explore-back-wrapper:hover{\r\n background-color: rgba(29,161,242,0.1);\r\n}\r\n\r\n.profiles-details-wrapper{\r\n padding: 10px 15px 15px 15px;\r\n}\r\n\r\n.profiles-options{\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\r\n position: relative;\r\n}\r\n\r\n.profiles-create-button{\r\n min-height: 39px;\r\n min-width: 98.8px;\r\n transition: 0.2s ease-in-out;\r\n cursor: pointer;\r\n border: 1px solid rgb(29, 161, 242);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n margin-left: 7px;\r\n padding-left: 1em;\r\n padding-right: 1em;\r\n span{\r\n text-align: center;\r\n font-weight: 800;\r\n color: rgb(29, 161, 242);\r\n width: 100%\r\n }\r\n &:hover{\r\n background-color: rgba(29, 161, 242,0.1);\r\n }\r\n}\r\n",".alert-wrapper{\r\n position: fixed;\r\n top: 100px;\r\n width: 150px;\r\n left: 50%;\r\n transform: translate(-50%, 0);\r\n text-align: center;\r\n z-index: 1000;\r\n position: fixed;\r\n transition: top 0.4s ease-in;\r\n}\r\n\r\n.alert-content{\r\n background-color: #1da1f2;\r\n color: #fff;\r\n font-weight: 600;\r\n border: 1px solid #e6ecf0;\r\n -webkit-box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\r\n box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\r\n display:inline-block;\r\n padding: 8px 14px;\r\n border-radius: 200px;\r\n}"],"names":[],"sourceRoot":""}
\ No newline at end of file
diff --git a/squeaknode/admin/webapp/static/build/static/css/main.991912f7.css b/squeaknode/admin/webapp/static/build/static/css/main.fe6c5463.css
similarity index 79%
rename from squeaknode/admin/webapp/static/build/static/css/main.991912f7.css
rename to squeaknode/admin/webapp/static/build/static/css/main.fe6c5463.css
index df40db5e8..62bb2bca5 100644
--- a/squeaknode/admin/webapp/static/build/static/css/main.991912f7.css
+++ b/squeaknode/admin/webapp/static/build/static/css/main.fe6c5463.css
@@ -1,2 +1,2 @@
-body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}@media only screen and (min-width:450px){body{width:calc(100vw - 17px)}}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{box-sizing:border-box;font-family:Assistant,sans-serif;margin:0;padding:0;word-break:break-word}a{color:inherit;text-decoration:none}.body-wrap{display:flex;flex-direction:row;justify-content:center}.header{display:flex;flex-wrap:wrap;justify-content:flex-end;order:-1;position:relative}.main{display:flex;justify-content:space-between;width:990px}.middle-section{max-width:600px;min-height:100vh}.ms-width{width:100%}.right-section{height:100%;margin-right:10px;min-height:1000px;width:350px}.modal-edit{background-color:rgba(0,0,0,.4);height:100%;left:0;overflow:auto;position:fixed;top:0;width:100%;z-index:250}.modal-content{background-color:#fff;border-radius:14px;height:650px;left:50%;max-height:90vh;max-width:600px;min-height:400px;overflow:hidden;position:fixed;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:100%;z-index:50}.modal-header{border-bottom:1px solid #ccd6dd;height:53px;max-width:1000px;padding:0 15px;width:100%;z-index:3}.modal-closeIcon,.modal-header{align-items:center;display:flex}.modal-closeIcon{justify-content:flex-start;margin-left:4px;min-height:30px;min-width:59px}.modal-closeIcon-wrap{align-items:center;border:1px solid transparent;border-radius:9999px;cursor:pointer;display:flex;height:39px;justify-content:center;transition:.2s ease-in-out;width:39px}.modal-closeIcon-wrap:hover{background-color:rgba(29,161,242,.1)}.modal-closeIcon-wrap svg{fill:#1da1f2;height:22.5px}.modal-title{font-size:19px;font-weight:700;width:100%}.save-modal-wrapper{align-items:center;display:flex;justify-content:flex-end;margin-right:8px;min-height:39px;min-width:66px;width:100%}.save-modal-btn{align-items:center;background-color:#1da1f2;border:1px solid transparent;border-radius:9999px;color:#fff;cursor:pointer;display:flex;font-weight:700;justify-content:center;line-height:20px;min-height:30px;padding:0 16px;transition:.2s ease-in-out}.save-modal-btn:hover{background-color:#1a91da}.modal-body{display:flex;flex-direction:column;height:100%}.modal-banner{background-color:rgba(0,0,0,.3);border:2px solid transparent;display:flex;height:200px;justify-content:center;max-height:200px;position:relative}.modal-banner img{display:block;max-height:100%;max-width:100%;object-fit:cover;opacity:.75;width:100%}.modal-banner div{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;top:0;width:100%}.modal-banner div input{background-color:transparent;background-color:initial;border:initial;color:inherit;outline:none;overflow:hidden;padding:10px 0 10px 30px;z-index:20}.modal-banner div input,.modal-banner div svg{cursor:pointer;height:22.5px;min-width:22.5px;width:22.5px}.modal-banner div svg{fill:#fff;position:absolute}.modal-scroll{height:100%;margin-bottom:55px;overflow-y:scroll}.modal-profile-pic{align-items:center;background-color:#fff;border:4px solid #fff;border-radius:50%;display:flex;height:120px;justify-content:center;margin-left:16px;margin-top:-48px;width:120px;z-index:5}.modal-back-pic{background-color:#000;position:relative;z-index:5}.modal-back-pic,.modal-back-pic img{border-radius:50%;height:100%;width:100%}.modal-back-pic img{display:block;object-fit:cover;opacity:.6}.modal-back-pic div{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;top:0;width:100%}.modal-back-pic div input{background-color:transparent;background-color:initial;border:initial;color:inherit;outline:none;overflow:hidden;padding:10px 0 10px 30px;z-index:20}.modal-back-pic div input,.modal-back-pic div svg{cursor:pointer;height:22.5px;min-width:22.5px;width:22.5px}.modal-back-pic div svg{fill:#fff;position:absolute}.edit-form{width:100%}.edit-input,.edit-input:focus{background-color:inherit;border:inherit}.edit-input-wrap{margin-bottom:15px;padding:10px 15px}.edit-input-content{background-color:#f5f8fa;border-bottom:1px solid #404346}.edit-input-content label{color:#657786;display:block;padding:5px 10px 0}.edit-input-content input{font-size:19px;outline:none;padding:2px 10px 5px;width:100%}.Squeak-input-wrapper{display:flex;margin-bottom:2px;padding:10px 15px 5px}.Squeak-profile-wrapper{flex-basis:49px;margin-right:10px;padding-top:5px}.Squeak-profile-wrapper img{object-fit:cover}.Squeak-input-side{border:2px solid transparent;border-radius:5px;cursor:text;display:flex;flex-direction:column;justify-content:space-between;line-height:1.3125;padding-top:5px;position:static;width:calc(100% - 49px)}.inner-input-box{color:#9197a3;font-size:19px;padding:10px 0;position:relative}.inner-input-box div{max-width:506px;outline:none;white-space:pre-wrap}.inner-input-box div:focus{outline:none}.inner-input-links{display:flex;justify-content:space-between;margin:0 2px}.input-links-side{align-items:center;display:flex;margin-top:10px}.input-attach-wrapper{cursor:pointer;height:39px;padding:8.3px;position:relative;width:39px}.input-attach-wrapper input{background-color:transparent;background-color:initial;border:initial;color:inherit;cursor:pointer;height:.3px;left:3px;outline:none;overflow:hidden;padding:21px 0 15px 32px;position:absolute;text-align:start!important;top:2px;width:.3px;z-index:4}.input-attach-wrapper:hover{background-color:rgba(29,161,242,.1);border-radius:50%}.squeak-btn-side{align-items:center;background-color:#1da1f2;border:1px solid transparent;border-radius:9999px;color:#fff;display:flex;font-weight:700;justify-content:center;margin-left:10px;min-height:39px;min-width:62.79px;opacity:.5;padding:0 1em;transition:.15s ease-in-out}.squeak-btn-active{cursor:pointer;opacity:1}.squeak-btn-active:hover{background-color:rgba(11,137,216,.876)}.Squeak-input-divider{background-color:#e6ecf0;content:"";height:10px;min-height:10px}[contenteditable=true]{display:inline-block}[contenteditable=true]:empty:before{content:attr(placeholder);display:block;pointer-events:none}[contenteditable=true]:empty:focus{opacity:.7}.card-content-info{word-wrap:break-word}.squeak-input-active{color:#14171a}.squeak-upload-image{border-radius:14px;height:100%;margin-top:10px;max-height:253px;object-fit:cover;width:100%}.inner-image-box{position:relative}.cancel-image{align-items:center;background-color:rgba(0,0,0,.5);border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:22px;height:33px;justify-content:center;left:9px;line-height:23px;padding-bottom:3.5px;position:absolute;top:18px;width:33px}.cancel-image,.workInProgress{font-weight:700;text-align:center}.workInProgress{border-right:1px solid #e6ecf0;color:#657786;font-size:17px;max-width:600px;min-height:2000px;padding-top:20%;width:100%}.alert-wrapper{top:0}.squeak-btn-holder{align-items:center;display:flex;margin-left:10px}.header-back-wrapper{cursor:pointer}@media only screen and (max-width:1196px){.right-section{width:290px!important}.main{width:920px}}@media only screen and (max-width:1005px){.right-section{display:none}.main{width:100%}}@media only screen and (max-width:888px){.chat-right{display:none}.messages-wrapper{width:100%!important}.messages-header-wrapper{max-width:100%!important}.middle-section{width:100%}.chat-height{height:100vh!important}}@media only screen and (max-width:450px){body{overflow-x:hidden;overflow-y:auto!important;width:100%}.chat-height{height:calc(100vh - 46px)!important}.chat-bottom-wrapper{bottom:50px!important}.body-wrap{flex-direction:column}.header{bottom:0;height:53px;order:1;position:-webkit-sticky;position:sticky}.Nav-component,.header{width:100vw}.Nav-width{height:53px;width:100vw!important}.Nav{position:relative!important;top:auto!important;width:100vw}.Nav-Content{display:block;height:auto;overflow:hidden;padding:0!important;width:100%!important}.Nav-wrapper{align-content:center;background-color:#fff;border-top:2px solid #f5f8fa;display:flex;flex-direction:row!important;justify-content:space-evenly;margin:0}.Nav-wrapper .Nav-link{padding:0}.Nav-wrapper a:first-child,.Nav-wrapper a:nth-child(4),.Nav-wrapper a:nth-child(6),.Nav-wrapper a:nth-child(9){display:none}.Nav-squeak{display:none!important}.more-menu-content{bottom:46px!important;height:154px;left:47%!important;overflow:hidden;top:auto!important}.more-item{display:flex!important}}.informed-input{margin-bottom:1rem}.informed-input:not([type=checkbox]):not([type=radio]),.informed-select,.informed-textarea{background-color:#f4f4f4;border:1px solid transparent;border-radius:20px;display:block;font-weight:500;margin-bottom:1rem;margin-top:1rem;max-width:400px;padding:10px 20px;width:100%}.radio-label{display:block}.informed-textarea{max-width:100%}.informed-select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M10.293 3.293 6 7.586 1.707 3.293A1 1 0 0 0 .293 4.707l5 5a1 1 0 0 0 1.414 0l5-5a1 1 0 1 0-1.414-1.414Z'/%3E%3C/svg%3E");background-position:calc(100% - 1.3em);background-repeat:no-repeat;background-size:.6em}.select:before{border-top:10px solid red;top:8px}.select:after,.select:before{border-left:10px solid transparent;border-right:10px solid transparent;content:"";height:0;position:absolute;right:10px;width:0}.select:after{border-top:10px solid #333;top:3px}.informed-label{display:block;margin-bottom:1rem}.informed-container{padding:4rem}.informed-black{background-color:#0d1011;color:#fff!important}.informed-black input:not([type=checkbox]):not([type=radio]),.informed-black select,.informed-black textarea{background-color:#222;color:#fff}.informed-black select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M10.293 3.293 6 7.586 1.707 3.293A1 1 0 0 0 .293 4.707l5 5a1 1 0 0 0 1.414 0l5-5a1 1 0 1 0-1.414-1.414Z' fill='%23FFF'/%3E%3C/svg%3E")}.loader-wrapper{height:50%;margin:50px 0;position:relative}.loader_svg{fill:#ff0;enable-background:new 0 0 50 50;left:50%;position:absolute;top:15%;-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%)}.Nav-width{position:relative;width:275px}.Nav-component{position:relative;z-index:200}.Nav{align-items:flex-end;border-right:1px solid #e6ecf0;position:fixed;top:0}.Nav,.Nav-Content{display:flex;flex-direction:column;height:100%}.Nav-Content{overflow-y:auto;padding-left:20px;padding-right:20px;width:275px}.Nav-wrapper{display:flex;flex-direction:column;margin-top:5px}.logo-wrapper{margin-bottom:15px;margin-top:11.5px;min-width:30px}.Nav-link,.logo-wrapper{cursor:pointer;display:flex}.Nav-link{padding:7px 0}.Nav-link:hover .Nav-item-hover{background-color:rgba(29,29,29,.1)}.Nav-link:hover .Nav-item-hover svg{fill:#1d1d1d}.Nav-item-hover{align-items:center;border-radius:9999px;display:flex;justify-content:center;max-width:100%;padding:10px;transition-duration:.2s;transition-property:background-color,box-shadow}.Nav-item-hover svg{fill:#101111;height:26.25px;min-width:26.25px;width:26.25px}.active-Nav svg{fill:#1d1d1d}.active-Nav .Nav-item{color:#1d1d1d;font-weight:700}.Nav-item{font-size:21px;font-weight:500;margin-left:20px;margin-right:20px}.Nav-squeak{display:flex;margin-bottom:5px;margin-top:15px;width:100%}.Nav-squeak-link{align-items:center;background-color:#1da1f2;border:1px solid transparent;border-radius:9999px;box-shadow:0 8px 28px rgba(0,0,0,.08);cursor:pointer;display:flex;justify-content:center;min-height:49px;min-width:78.89px;outline-style:none;padding-left:30px;padding-right:30px;transition-duration:.2s;transition-property:background-color,box-shadow;width:90%}@media only screen and (max-width:1286px){.Nav-squeak-link{width:100%}.Nav-squeak{justify-content:center}}.Nav-squeak-btn{color:#fff;content:"Squeak";font-size:15px;font-weight:700;max-width:100%;overflow-wrap:break-word;text-align:center}.Nav-squeak-btn span{align-items:center;display:flex;justify-content:center}.btn-show{display:none}@media only screen and (max-width:1282px){.Nav-squeak-link{max-width:49px;min-width:49px;padding:0;width:49px}.btn-hide{display:none}.btn-show{display:block}}.Nav-squeak-btn span svg{fill:#fff;height:22.25px;min-width:22.25px;width:22.25px}.more-menu-background{cursor:auto;height:100%;left:0;overflow:auto;position:fixed;top:0;width:100%;z-index:20}.more-modal-wrapper{height:100%;position:relative;width:100%}.more-menu-content{background-color:#fff;border-radius:14px;box-shadow:0 0 15px rgba(101,119,134,.2),0 0 3px 1px rgba(101,119,134,.15);display:flex;flex-direction:column;max-height:50vh;max-width:40vw;min-height:100px;min-width:190px;overflow:hidden;position:absolute;width:190px;z-index:1000}@media only screen and (min-width:451px){.more-menu-content{height:104px}}.more-menu-item{align-items:center;border-bottom:1px solid #f5f8fa;cursor:pointer;display:flex;justify-content:space-between;padding:15px;transition:.2 ease-in-out}.more-menu-item:hover{background-color:#f5f8fa}.more-menu-item span{align-items:center;display:flex}.more-menu-item svg{width:16px}.more-item{display:none}@media only screen and (max-width:1282px){.Nav-item{display:none}.Nav-Content,.Nav-width{width:88px}}.login-wrapper{margin:20px auto 0;max-width:600px;padding:0 15px}.login-wrapper svg{display:block;height:39px;margin:0 auto}.login-header{font-size:23px;font-weight:700;margin-bottom:10px;margin-top:30px;text-align:center}.login-form{width:100%}.login-input,.login-input:focus{background-color:inherit;border:inherit}.login-input-wrap{padding:10px 15px}.login-input-content{background-color:#e3e3e4;border-bottom:2px solid #404346}.login-input-content label{display:block;padding:5px 10px 0}.login-input-content input{font-size:19px;outline:none;padding:2px 10px 5px;width:100%}.login-btn-wrap{align-items:center;background-color:#1da1f2;border:1px solid transparent;border-radius:9999px;color:#fff;display:flex;font-weight:700;justify-content:center;margin:10px;min-height:49px;opacity:.5;outline:none;padding:0 30px;transition:.2s ease-in-out;width:calc(100% - 20px)}.login-error{color:red;text-align:center}.signup-wrapper{margin:20px auto 0;max-width:600px;padding:0 15px}.signup-wrapper svg{display:block;height:39px;margin:0 auto}.signup-header{font-size:23px;font-weight:700;margin-bottom:10px;margin-top:30px;text-align:center}.signup-form{width:100%}.signup-input,.signup-input:focus{background-color:inherit;border:inherit}.signup-input-wrap{padding:10px 15px}.signup-input-content{background-color:#e3e3e4;border-bottom:2px solid #404346}.signup-input-content label{display:block;padding:5px 10px 0}.signup-input-content input{font-size:19px;outline:none;padding:2px 10px 5px;width:100%}.signup-btn-wrap{align-items:center;background-color:#1da1f2;border:1px solid transparent;border-radius:9999px;color:#fff;display:flex;font-size:16px;font-weight:700;justify-content:center;margin:10px;min-height:49px;opacity:.5;outline:none;padding:0 30px;transition:.2s ease-in-out;width:calc(100% - 20px)}.signup-option{color:#1da1f2;font-size:15px;margin-top:20px;text-align:center}.signup-option:hover{cursor:pointer;text-decoration:underline}.button-active{cursor:pointer;opacity:1}.squeak-wrapper{border-right:1px solid #e6ecf0;display:flex;flex-direction:column;height:100%;max-width:600px;width:100%}.squeak-header-wrapper{align-items:center;background-color:#fff;border-bottom:1px solid #e6ecf0;border-left:1px solid #e6ecf0;cursor:pointer;display:flex;height:53px;margin:0 auto;max-width:1000px;min-height:53px;padding-left:15px;padding-right:15px;position:-webkit-sticky;position:sticky;top:0;width:100%;z-index:3}.profile-header-back{align-items:flex-start;justify-content:center;min-height:30px;min-width:55px}.header-back-wrapper{align-items:center;border:1px solid transparent;border-radius:9999px;display:flex;height:39px;justify-content:center;margin-left:-5px;transition:.2s ease-in-out;width:39px;will-change:background-color}.header-back-wrapper svg{fill:#1da1f2;height:1.5em}.squeak-header-content{font-size:19px;font-weight:800}.squeak-body-wrapper{border-bottom:1px solid #e6ecf0;padding:0 15px}.squeak-header-content{align-items:center;display:flex;margin-bottom:10px;margin-top:10px}.squeak-user-pic{flex-basis:49px;margin-right:10px}.squeak-user-pic img{object-fit:cover}.squeak-user-wrap{display:flex;flex-direction:column;justify-content:center}.squeak-user-name{cursor:pointer;font-size:16px;font-weight:700}.squeak-user-name:hover{text-decoration:underline}.squeak-username{color:#657786;font-size:15.5px;font-weight:400}.squeak-content{font-size:23px;margin-bottom:10px;margin-top:10px;word-break:break-word}.locked-content{background-color:#d3d3d3;border-radius:25px;border-style:solid;text-align:center}.squeak-date{color:#657786;font-size:15px;margin:15px 0}.squeak-stats{border-bottom:1px solid #e6ecf0;border-top:1px solid #e6ecf0;display:flex;padding:15px 5px}.squeak-stats div{cursor:pointer;display:flex}.squeak-stats div:hover{text-decoration:underline}.int-num{cursor:pointer;font-weight:700;margin-right:5px}.int-text{color:#657786;cursor:pointer;margin-right:20px}.squeak-interactions{display:flex;justify-content:space-evenly}.squeak-int-icon{align-items:center;display:flex;justify-content:center;min-height:49px;padding:0 5px;width:100%}.card-icon svg{fill:#657786;height:22.5px;width:22.5px}.squeak-replies-wrapper{border-bottom:1px solid #e6ecf0;cursor:pointer;display:flex;padding:10px 15px 0;transition:.2s ease-in-out}.squeak-replies-wrapper:hover{background-color:#f5f8fa}.card-icon{cursor:pointer}.reply-icon:hover{background-color:rgba(29,161,242,.1)}.reply-icon:hover svg{fill:#1da1f2!important}.resqueak-icon:hover{background-color:rgba(23,191,99,.1)}.resqueak-icon:hover svg{fill:#17bf63!important}.heart-icon:hover{background-color:rgba(224,36,94,.1)}.heart-icon:hover svg{fill:#e0245e!important}.share-icon:hover{background-color:rgba(29,161,242,.1)}.share-icon:hover svg{fill:#1da1f2!important}.delete-icon:hover{background-color:rgba(212,11,11,.1)}.delete-icon:hover svg{fill:red!important}.reply-int svg{fill:#657786;align-items:center;display:flex;height:18.75px;width:18.75px}.resqueak-int:hover{color:#17bf63}.heart-int:hover{color:#e0245e}.squeak-image-wrapper{max-height:730px;overflow:hidden}.squeak-image-wrapper div{background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:14px;bottom:0;height:100%;left:0;right:0;top:0;width:100%}.squeak-unlock-button{align-items:center;border:1px solid #1da1f2;border-radius:9999px;cursor:pointer;display:flex;justify-content:center;margin-left:7px;min-height:39px;min-width:98.8px;padding-left:1em;padding-right:1em;transition:.2s ease-in-out}.squeak-unlock-button span{color:#1da1f2;font-weight:800;text-align:center;width:100%}.squeak-unlock-button:hover{background-color:rgba(29,161,242,.1)}.Squeak-card-wrapper{border-bottom:1px solid #e6ecf0;cursor:pointer;display:flex;padding:10px 15px;transition:.2s ease-in-out;will-change:background-color}.Squeak-card-wrapper:hover{background-color:#f5f8fa}.card-userPic-wrapper{display:flex;flex-basis:49px;flex-direction:column;margin-right:10px}.card-userPic img{border-radius:50%;min-width:49px;object-fit:cover;transition:all 1s ease}.card-userPic:hover img{-webkit-filter:brightness(70%);filter:brightness(70%)}.card-content-wrapper{flex-basis:calc(100% - 49px);max-width:calc(100% - 60px)}.missing-squeak{background-color:#d3d3d3}.card-content-header{display:flex;justify-content:space-between;margin-bottom:2px}.card-header-date:hover,.card-header-user:hover{text-decoration:underline}.card-header-user{font-weight:700}.card-header-username{color:#657786;margin-left:5px}.card-header-dot{color:#657786;padding:0 5px}.card-header-date{color:#657786}.card-content-images{border:1px solid #ccd6dd;border-radius:14px;margin-top:10px}.card-image-link{border-radius:14px;cursor:pointer;display:block;max-height:253px}.card-image-link img{border-radius:14px;height:100%;max-height:253px;object-fit:cover;width:100%}.card-buttons-wrapper{align-items:center;display:flex;justify-content:space-between;margin-bottom:-5px;margin-left:-5px;margin-top:5px;max-width:425px}.card-button-wrap{align-items:center;color:#867865;display:flex;justify-content:flex-start}.card-button-wrap:hover .reply-icon{background-color:rgba(29,161,242,.1)}.card-button-wrap:hover .reply-icon .card-button-wrap{color:#d40b0b!important}.card-button-wrap:hover .reply-icon svg{fill:#1da1f2!important}.card-button-wrap:hover .resqueak-icon{background-color:rgba(23,191,99,.1)}.card-button-wrap:hover .resqueak-icon svg{fill:#17bf63!important}.card-button-wrap:hover .heart-icon{background-color:rgba(224,36,94,.1)}.card-button-wrap:hover .heart-icon svg{fill:#e0245e!important}.card-button-wrap:hover .share-icon{background-color:rgba(29,161,242,.1)}.card-button-wrap:hover .share-icon svg{fill:#1da1f2!important}.card-button-wrap:hover .delete-icon{background-color:rgba(212,11,11,.1)}.card-button-wrap:hover .delete-icon svg{fill:#d40b0b!important}.reply-wrap:hover{color:#1da1f2}.resqueak-wrap:hover{color:#17bf63}.heart-wrap:hover{color:#e0245e}.card-icon{align-items:center;border-radius:50%;display:flex;justify-content:center;padding:7.4px;transition:.2s ease-in-out;will-change:background-color}.card-icon svg{height:18.75px;width:18.75px}.card-icon-value{font-size:13px;margin-left:3px}.reply-content-wrapper{display:flex;padding:10px 15px}.reply-squeak-username{color:#657786;font-size:15.5px;margin-right:5px}.main-squeak-user{color:#1b95e0}.main-squeak-user:hover{text-decoration:underline}.reply-to-user{margin-top:15px}.replyTo-wrapper{margin-bottom:2px}.user-resqueak-icon{display:flex;justify-content:flex-end;margin-bottom:5px}.user-resqueak-icon svg{fill:#657786;height:18.75px;width:13px}.user-resqueaked{color:#657786;font-size:13px;margin-bottom:5px}.user-resqueaked:hover{text-decoration:underline}.squeak-reply-thread{background-color:#ccd6dd;height:100%;margin:-5px auto -20px;width:2px}.user-replied{color:#657786;font-size:13px;margin-bottom:5px}.user-replied:hover{text-decoration:underline}.card-content-locked-content{background-color:#d3d3d3;border-radius:25px;border-style:solid;text-align:center}.search-userPic-wrapper{display:flex;flex-direction:column}.search-userPic img{border-radius:50%;min-width:49px;object-fit:cover;transition:all 1s ease}.search-userPic:hover img{-webkit-filter:brightness(70%);filter:brightness(70%)}.payment-wapper{border-bottom:1px solid #e6ecf0;display:flex;padding:10px 15px;transition:.2s}.payment-wapper:hover{background-color:#f5f8fa}.payment-price{font-weight:700}.payment-lightning-node,.payment-peer-address,.payment-squeak-hash,.payment-time{color:#657786;line-height:1}.payment-time{font-weight:700}.payments-header-wrapper{align-items:center;background-color:#fff;border-bottom:1px solid #e6ecf0;border-left:1px solid #e6ecf0;cursor:pointer;display:flex;height:53px;margin:0 auto;max-width:1000px;min-height:53px;padding-left:15px;padding-right:15px;position:-webkit-sticky;position:sticky;top:0;width:100%;z-index:8}.payments-header-content{display:flex;flex-direction:column}.payments-header-name{font-size:19px;font-weight:800}.peers-header-wrapper{align-items:center;background-color:#fff;border-bottom:1px solid #e6ecf0;border-left:1px solid #e6ecf0;cursor:pointer;display:flex;height:53px;margin:0 auto;max-width:1000px;min-height:53px;padding-left:15px;padding-right:15px;position:-webkit-sticky;position:sticky;top:0;width:100%;z-index:8}.peers-header-content{display:flex;flex-direction:column}.peers-header-name{font-size:19px;font-weight:800}.enable-btn-wrap{align-items:center;border:1px solid #1da1f2;border-radius:9999px;cursor:pointer;display:flex;justify-content:center;min-height:30px;min-width:70px;padding-left:1em;padding-right:1em;transition:.2s ease-in-out}.enable-btn-wrap:hover{background-color:rgba(29,161,242,.1)}.enable-btn-wrap span{color:#1da1f2;font-weight:800;text-align:center;width:100%}.disable-switch{background-color:#1da1f2}.disable-switch span{color:#fff!important}.disable-switch:hover{background-color:#ca2055!important;border:1px solid transparent}.disable-switch:hover span{color:#fff}.disable-switch:hover span span{display:none}.disable-switch:hover span:before{content:"Disable"}.feed-wrapper{display:flex;flex-direction:column;justify-content:center;position:-webkit-sticky;position:sticky;top:5px}.feed-trending-card{background-color:#f5f8fa;border:1px solid #f5f8fa;border-bottom-left-radius:14px;border-bottom-right-radius:14px;border-top-left-radius:14px;border-top-right-radius:14px;margin-bottom:15px;margin-top:10px;width:100%}.feed-card-header{align-items:center;display:flex;font-size:19px;font-weight:700}.feed-card-header,.feed-card-trend{border-bottom:1px solid #e6ecf0;padding:10px 15px}.feed-card-trend{cursor:pointer;transition:.2s ease-in-out}.feed-card-trend:hover{background-color:rgba(0,0,0,.03)}.feed-card-trend div:first-child{color:#657786;font-size:13px}.feed-card-trend div:nth-child(2){color:#14171a;font-size:15px;font-weight:700;padding-top:2px}.feed-card-trend div:nth-child(3){color:#657786;font-size:15px;padding-top:2px}.feed-more{color:#1da1f2;cursor:pointer;font-size:15px;padding:15px;transition:.2s ease-in-out}.sugg-result-wapper{cursor:pointer;display:flex}.search-user-name{color:#14171a!important;font-weight:600!important}.search-user-username{color:#657786!important;font-weight:400!important}.Home-wrapper{border-right:1px solid #e6ecf0;display:flex;flex-direction:column;max-width:600px;min-height:2000px;width:100%}.Home-header-wrapper{align-items:center;background-color:#fff;border-bottom:1px solid #e6ecf0;border-left:1px solid #e6ecf0;cursor:pointer;display:flex;height:53px;margin:0 auto;max-width:1000px;min-height:53px;padding-left:15px;padding-right:15px;position:-webkit-sticky;position:sticky;top:0;width:100%;z-index:3}.Home-header{color:#14171a;font-size:19px;font-weight:800;line-height:1.3125}.blue{color:#1da1f2}.explore-wrapper{border-right:1px solid #e6ecf0;flex-direction:column;min-height:2000px}.explore-header,.explore-wrapper{display:flex;max-width:600px;width:100%}.explore-header{align-items:center;background-color:#fff;border-left:1px solid #e6ecf0;height:53px;margin:0 auto;min-height:53px;padding-left:15px;padding-right:15px;position:-webkit-sticky;position:sticky;top:0;z-index:8}.header-border{border-bottom:1px solid #e6ecf0}.explore-search-wrapper{background-color:#e6ecf0;border:1px solid transparent;border-radius:9999px;min-height:38px;width:100%}.explore-search-icon,.explore-search-wrapper{align-items:center;display:flex}.explore-search-icon svg{fill:#657786;height:18.75px;padding-left:10px;width:40px}.explore-search-input{width:100%}.explore-search-input input{background-color:inherit;border:inherit;color:#657786;font-size:15px;outline:none;padding:6px 10px;width:100%}.explore-nav-menu{align-items:center;border-bottom:1px solid #e6ecf0;display:flex;justify-content:space-around;margin-top:10px}.explore-nav-item{border-bottom:2px solid transparent;box-sizing:border-box;color:#657786;cursor:pointer;font-weight:700;padding:15px;text-align:center;transition:.2s;width:100%;will-change:background-color}.explore-nav-item:hover{background-color:rgba(29,161,242,.1);color:#1da1f2}.activeTab{border-bottom:2px solid #1da1f2;color:#1da1f2}.search-result-wapper{border-bottom:1px solid #e6ecf0;cursor:pointer;display:flex;padding:10px 15px;transition:.2s}.search-result-wapper:hover{background-color:#f5f8fa}.search-userPic-wrapper{flex-basis:49px;margin-right:10px}.search-userPic-wrapper img{object-fit:cover}.search-user-details{width:100%}.search-user-details,.search-user-info{display:flex;flex-direction:column}.search-user-name{font-weight:700}.search-user-username{color:#657786;line-height:1}.search-user-bio{margin-top:7px}.search-user-warp{align-items:center;display:flex;flex-direction:row;justify-content:space-between}.follow-btn-wrap{align-items:center;border:1px solid #1da1f2;border-radius:9999px;cursor:pointer;display:flex;justify-content:center;min-height:30px;min-width:70px;padding-left:1em;padding-right:1em;transition:.2s ease-in-out}.follow-btn-wrap:hover{background-color:rgba(29,161,242,.1)}.follow-btn-wrap span{color:#1da1f2;font-weight:800;text-align:center;width:100%}.trending-card-wrapper{border-bottom:1px solid #f5f8fa;cursor:pointer;display:flex;flex-direction:column;padding:10px 15px;transition:.2s}.trending-card-wrapper:hover{background-color:#f5f8fa}.trending-card-header{color:#657786;font-size:14px}.trending-card-header span{padding:0 3px}.trending-card-content{font-size:19px;font-weight:700;padding-bottom:2px;padding-top:2px}.trending-card-count{color:#657786;font-size:15px}.try-searching{color:#657786;font-size:17px;font-weight:700;margin-top:40px;text-align:center}.try-searching div{margin-bottom:15px}.unfollow-switch{background-color:#1da1f2}.unfollow-switch span{color:#fff!important}.unfollow-switch:hover{background-color:#ca2055!important;border:1px solid transparent}.unfollow-switch:hover span{color:#fff}.unfollow-switch:hover span span{display:none}.unfollow-switch:hover span:before{content:"Unfollow"}.explore-header-back{align-items:flex-start;justify-content:center;min-height:30px;min-width:55px}.explore-back-wrapper{align-items:center;border:1px solid transparent;border-radius:9999px;cursor:pointer;display:flex;height:39px;justify-content:center;margin-left:-5px;transition:.2s ease-in-out;width:39px;will-change:background-color}.explore-back-wrapper svg{fill:#1da1f2;height:1.5em}.explore-back-wrapper:hover{background-color:rgba(29,161,242,.1)}.profiles-details-wrapper{padding:10px 15px 15px}.profiles-options{align-items:center;display:flex;justify-content:flex-end;position:relative}.profiles-create-button{align-items:center;border:1px solid #1da1f2;border-radius:9999px;cursor:pointer;display:flex;justify-content:center;margin-left:7px;min-height:39px;min-width:98.8px;padding-left:1em;padding-right:1em;transition:.2s ease-in-out}.profiles-create-button span{color:#1da1f2;font-weight:800;text-align:center;width:100%}.profiles-create-button:hover{background-color:rgba(29,161,242,.1)}.alert-wrapper{left:50%;position:fixed;text-align:center;top:100px;-webkit-transform:translate(-50%);transform:translate(-50%);transition:top .4s ease-in;width:150px;z-index:1000}.alert-content{background-color:#1da1f2;border:1px solid #e6ecf0;border-radius:200px;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05);color:#fff;display:inline-block;font-weight:600;padding:8px 14px}
-/*# sourceMappingURL=main.991912f7.css.map*/
\ No newline at end of file
+body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}@media only screen and (min-width:450px){body{width:calc(100vw - 17px)}}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{box-sizing:border-box;font-family:Assistant,sans-serif;margin:0;padding:0;word-break:break-word}a{color:inherit;text-decoration:none}.body-wrap{display:flex;flex-direction:row;justify-content:center}.header{display:flex;flex-wrap:wrap;justify-content:flex-end;order:-1;position:relative}.main{display:flex;justify-content:space-between;width:990px}.middle-section{max-width:600px;min-height:100vh}.ms-width{width:100%}.right-section{height:100%;margin-right:10px;min-height:1000px;width:350px}.modal-edit{background-color:rgba(0,0,0,.4);height:100%;left:0;overflow:auto;position:fixed;top:0;width:100%;z-index:250}.modal-content{background-color:#fff;border-radius:14px;height:650px;left:50%;max-height:90vh;max-width:600px;min-height:400px;overflow:hidden;position:fixed;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:100%;z-index:50}.modal-header{border-bottom:1px solid #ccd6dd;height:53px;max-width:1000px;padding:0 15px;width:100%;z-index:3}.modal-closeIcon,.modal-header{align-items:center;display:flex}.modal-closeIcon{justify-content:flex-start;margin-left:4px;min-height:30px;min-width:59px}.modal-closeIcon-wrap{align-items:center;border:1px solid transparent;border-radius:9999px;cursor:pointer;display:flex;height:39px;justify-content:center;transition:.2s ease-in-out;width:39px}.modal-closeIcon-wrap:hover{background-color:rgba(29,161,242,.1)}.modal-closeIcon-wrap svg{fill:#1da1f2;height:22.5px}.modal-title{font-size:19px;font-weight:700;width:100%}.save-modal-wrapper{align-items:center;display:flex;justify-content:flex-end;margin-right:8px;min-height:39px;min-width:66px;width:100%}.save-modal-btn{align-items:center;background-color:#1da1f2;border:1px solid transparent;border-radius:9999px;color:#fff;cursor:pointer;display:flex;font-weight:700;justify-content:center;line-height:20px;min-height:30px;padding:0 16px;transition:.2s ease-in-out}.save-modal-btn:hover{background-color:#1a91da}.modal-body{display:flex;flex-direction:column;height:100%}.modal-banner{background-color:rgba(0,0,0,.3);border:2px solid transparent;display:flex;height:200px;justify-content:center;max-height:200px;position:relative}.modal-banner img{display:block;max-height:100%;max-width:100%;object-fit:cover;opacity:.75;width:100%}.modal-banner div{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;top:0;width:100%}.modal-banner div input{background-color:transparent;background-color:initial;border:initial;color:inherit;outline:none;overflow:hidden;padding:10px 0 10px 30px;z-index:20}.modal-banner div input,.modal-banner div svg{cursor:pointer;height:22.5px;min-width:22.5px;width:22.5px}.modal-banner div svg{fill:#fff;position:absolute}.modal-scroll{height:100%;margin-bottom:55px;overflow-y:scroll}.modal-profile-pic{align-items:center;background-color:#fff;border:4px solid #fff;border-radius:50%;display:flex;height:120px;justify-content:center;margin-left:16px;margin-top:-48px;width:120px;z-index:5}.modal-back-pic{background-color:#000;position:relative;z-index:5}.modal-back-pic,.modal-back-pic img{border-radius:50%;height:100%;width:100%}.modal-back-pic img{display:block;object-fit:cover;opacity:.6}.modal-back-pic div{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;top:0;width:100%}.modal-back-pic div input{background-color:transparent;background-color:initial;border:initial;color:inherit;outline:none;overflow:hidden;padding:10px 0 10px 30px;z-index:20}.modal-back-pic div input,.modal-back-pic div svg{cursor:pointer;height:22.5px;min-width:22.5px;width:22.5px}.modal-back-pic div svg{fill:#fff;position:absolute}.edit-form{width:100%}.edit-input,.edit-input:focus{background-color:inherit;border:inherit}.edit-input-wrap{margin-bottom:15px;padding:10px 15px}.edit-input-content{background-color:#f5f8fa;border-bottom:1px solid #404346}.edit-input-content label{color:#657786;display:block;padding:5px 10px 0}.edit-input-content input{font-size:19px;outline:none;padding:2px 10px 5px;width:100%}.Squeak-input-wrapper{display:flex;margin-bottom:2px;padding:10px 15px 5px}.Squeak-profile-wrapper{flex-basis:49px;margin-right:10px;padding-top:5px}.Squeak-profile-wrapper img{object-fit:cover}.Squeak-input-side{border:2px solid transparent;border-radius:5px;cursor:text;display:flex;flex-direction:column;justify-content:space-between;line-height:1.3125;padding-top:5px;position:static;width:calc(100% - 49px)}.inner-input-box{color:#9197a3;font-size:19px;padding:10px 0;position:relative}.inner-input-box div{max-width:506px;outline:none;white-space:pre-wrap}.inner-input-box div:focus{outline:none}.inner-input-links{display:flex;justify-content:space-between;margin:0 2px}.input-links-side{align-items:center;display:flex;margin-top:10px}.input-attach-wrapper{cursor:pointer;height:39px;padding:8.3px;position:relative;width:39px}.input-attach-wrapper input{background-color:transparent;background-color:initial;border:initial;color:inherit;cursor:pointer;height:.3px;left:3px;outline:none;overflow:hidden;padding:21px 0 15px 32px;position:absolute;text-align:start!important;top:2px;width:.3px;z-index:4}.input-attach-wrapper:hover{background-color:rgba(29,161,242,.1);border-radius:50%}.squeak-btn-side{align-items:center;background-color:#1da1f2;border:1px solid transparent;border-radius:9999px;color:#fff;display:flex;font-weight:700;justify-content:center;margin-left:10px;min-height:39px;min-width:62.79px;opacity:.5;padding:0 1em;transition:.15s ease-in-out}.squeak-btn-active{cursor:pointer;opacity:1}.squeak-btn-active:hover{background-color:rgba(11,137,216,.876)}.Squeak-input-divider{background-color:#e6ecf0;content:"";height:10px;min-height:10px}[contenteditable=true]{display:inline-block}[contenteditable=true]:empty:before{content:attr(placeholder);display:block;pointer-events:none}[contenteditable=true]:empty:focus{opacity:.7}.card-content-info{word-wrap:break-word}.squeak-input-active{color:#14171a}.squeak-upload-image{border-radius:14px;height:100%;margin-top:10px;max-height:253px;object-fit:cover;width:100%}.inner-image-box{position:relative}.cancel-image{align-items:center;background-color:rgba(0,0,0,.5);border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:22px;height:33px;justify-content:center;left:9px;line-height:23px;padding-bottom:3.5px;position:absolute;top:18px;width:33px}.cancel-image,.workInProgress{font-weight:700;text-align:center}.workInProgress{border-right:1px solid #e6ecf0;color:#657786;font-size:17px;max-width:600px;min-height:2000px;padding-top:20%;width:100%}.alert-wrapper{top:0}.squeak-btn-holder{align-items:center;display:flex;margin-left:10px}.header-back-wrapper{cursor:pointer}@media only screen and (max-width:1196px){.right-section{width:290px!important}.main{width:920px}}@media only screen and (max-width:1005px){.right-section{display:none}.main{width:100%}}@media only screen and (max-width:888px){.chat-right{display:none}.messages-wrapper{width:100%!important}.messages-header-wrapper{max-width:100%!important}.middle-section{width:100%}.chat-height{height:100vh!important}}@media only screen and (max-width:450px){body{overflow-x:hidden;overflow-y:auto!important;width:100%}.chat-height{height:calc(100vh - 46px)!important}.chat-bottom-wrapper{bottom:50px!important}.body-wrap{flex-direction:column}.header{bottom:0;height:53px;order:1;position:-webkit-sticky;position:sticky}.Nav-component,.header{width:100vw}.Nav-width{height:53px;width:100vw!important}.Nav{position:relative!important;top:auto!important;width:100vw}.Nav-Content{display:block;height:auto;overflow:hidden;padding:0!important;width:100%!important}.Nav-wrapper{align-content:center;background-color:#fff;border-top:2px solid #f5f8fa;display:flex;flex-direction:row!important;justify-content:space-evenly;margin:0}.Nav-wrapper .Nav-link{padding:0}.Nav-wrapper a:first-child,.Nav-wrapper a:nth-child(4),.Nav-wrapper a:nth-child(6),.Nav-wrapper a:nth-child(9){display:none}.Nav-squeak{display:none!important}.more-menu-content{bottom:46px!important;height:154px;left:47%!important;overflow:hidden;top:auto!important}.more-item{display:flex!important}}.informed-input{margin-bottom:1rem}.informed-input:not([type=checkbox]):not([type=radio]),.informed-select,.informed-textarea{background-color:#f4f4f4;border:1px solid transparent;border-radius:20px;display:block;font-weight:500;margin-bottom:1rem;margin-top:1rem;max-width:400px;padding:10px 20px;width:100%}.radio-label{display:block}.informed-textarea{max-width:100%}.informed-select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M10.293 3.293 6 7.586 1.707 3.293A1 1 0 0 0 .293 4.707l5 5a1 1 0 0 0 1.414 0l5-5a1 1 0 1 0-1.414-1.414Z'/%3E%3C/svg%3E");background-position:calc(100% - 1.3em);background-repeat:no-repeat;background-size:.6em}.select:before{border-top:10px solid red;top:8px}.select:after,.select:before{border-left:10px solid transparent;border-right:10px solid transparent;content:"";height:0;position:absolute;right:10px;width:0}.select:after{border-top:10px solid #333;top:3px}.informed-label{display:block;margin-bottom:1rem}.informed-container{padding:4rem}.informed-black{background-color:#0d1011;color:#fff!important}.informed-black input:not([type=checkbox]):not([type=radio]),.informed-black select,.informed-black textarea{background-color:#222;color:#fff}.informed-black select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M10.293 3.293 6 7.586 1.707 3.293A1 1 0 0 0 .293 4.707l5 5a1 1 0 0 0 1.414 0l5-5a1 1 0 1 0-1.414-1.414Z' fill='%23FFF'/%3E%3C/svg%3E")}.loader-wrapper{height:50%;margin:50px 0;position:relative}.loader_svg{fill:#ff0;enable-background:new 0 0 50 50;left:50%;position:absolute;top:15%;-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%)}.Nav-width{position:relative;width:275px}.Nav-component{position:relative;z-index:200}.Nav{align-items:flex-end;border-right:1px solid #e6ecf0;position:fixed;top:0}.Nav,.Nav-Content{display:flex;flex-direction:column;height:100%}.Nav-Content{overflow-y:auto;padding-left:20px;padding-right:20px;width:275px}.Nav-wrapper{display:flex;flex-direction:column;margin-top:5px}.logo-wrapper{margin-bottom:15px;margin-top:11.5px;min-width:30px}.Nav-link,.logo-wrapper{cursor:pointer;display:flex}.Nav-link{padding:7px 0}.Nav-link:hover .Nav-item-hover{background-color:rgba(29,29,29,.1)}.Nav-link:hover .Nav-item-hover svg{fill:#1d1d1d}.Nav-item-hover{align-items:center;border-radius:9999px;display:flex;justify-content:center;max-width:100%;padding:10px;transition-duration:.2s;transition-property:background-color,box-shadow}.Nav-item-hover svg{fill:#101111;height:26.25px;min-width:26.25px;width:26.25px}.active-Nav svg{fill:#1d1d1d}.active-Nav .Nav-item{color:#1d1d1d;font-weight:700}.Nav-item{font-size:21px;font-weight:500;margin-left:20px;margin-right:20px}.Nav-squeak{display:flex;margin-bottom:5px;margin-top:15px;width:100%}.Nav-squeak-link{align-items:center;background-color:#1da1f2;border:1px solid transparent;border-radius:9999px;box-shadow:0 8px 28px rgba(0,0,0,.08);cursor:pointer;display:flex;justify-content:center;min-height:49px;min-width:78.89px;outline-style:none;padding-left:30px;padding-right:30px;transition-duration:.2s;transition-property:background-color,box-shadow;width:90%}@media only screen and (max-width:1286px){.Nav-squeak-link{width:100%}.Nav-squeak{justify-content:center}}.Nav-squeak-btn{color:#fff;content:"Squeak";font-size:15px;font-weight:700;max-width:100%;overflow-wrap:break-word;text-align:center}.Nav-squeak-btn span{align-items:center;display:flex;justify-content:center}.btn-show{display:none}@media only screen and (max-width:1282px){.Nav-squeak-link{max-width:49px;min-width:49px;padding:0;width:49px}.btn-hide{display:none}.btn-show{display:block}}.Nav-squeak-btn span svg{fill:#fff;height:22.25px;min-width:22.25px;width:22.25px}.more-menu-background{cursor:auto;height:100%;left:0;overflow:auto;position:fixed;top:0;width:100%;z-index:20}.more-modal-wrapper{height:100%;position:relative;width:100%}.more-menu-content{background-color:#fff;border-radius:14px;box-shadow:0 0 15px rgba(101,119,134,.2),0 0 3px 1px rgba(101,119,134,.15);display:flex;flex-direction:column;max-height:50vh;max-width:40vw;min-height:100px;min-width:190px;overflow:hidden;position:absolute;width:190px;z-index:1000}@media only screen and (min-width:451px){.more-menu-content{height:104px}}.more-menu-item{align-items:center;border-bottom:1px solid #f5f8fa;cursor:pointer;display:flex;justify-content:space-between;padding:15px;transition:.2 ease-in-out}.more-menu-item:hover{background-color:#f5f8fa}.more-menu-item span{align-items:center;display:flex}.more-menu-item svg{width:16px}.more-item{display:none}@media only screen and (max-width:1282px){.Nav-item{display:none}.Nav-Content,.Nav-width{width:88px}}.login-wrapper{margin:20px auto 0;max-width:600px;padding:0 15px}.login-wrapper svg{display:block;height:39px;margin:0 auto}.login-header{font-size:23px;font-weight:700;margin-bottom:10px;margin-top:30px;text-align:center}.login-form{width:100%}.login-input,.login-input:focus{background-color:inherit;border:inherit}.login-input-wrap{padding:10px 15px}.login-input-content{background-color:#e3e3e4;border-bottom:2px solid #404346}.login-input-content label{display:block;padding:5px 10px 0}.login-input-content input{font-size:19px;outline:none;padding:2px 10px 5px;width:100%}.login-btn-wrap{align-items:center;background-color:#1da1f2;border:1px solid transparent;border-radius:9999px;color:#fff;display:flex;font-weight:700;justify-content:center;margin:10px;min-height:49px;opacity:.5;outline:none;padding:0 30px;transition:.2s ease-in-out;width:calc(100% - 20px)}.login-error{color:red;text-align:center}.signup-wrapper{margin:20px auto 0;max-width:600px;padding:0 15px}.signup-wrapper svg{display:block;height:39px;margin:0 auto}.signup-header{font-size:23px;font-weight:700;margin-bottom:10px;margin-top:30px;text-align:center}.signup-form{width:100%}.signup-input,.signup-input:focus{background-color:inherit;border:inherit}.signup-input-wrap{padding:10px 15px}.signup-input-content{background-color:#e3e3e4;border-bottom:2px solid #404346}.signup-input-content label{display:block;padding:5px 10px 0}.signup-input-content input{font-size:19px;outline:none;padding:2px 10px 5px;width:100%}.signup-btn-wrap{align-items:center;background-color:#1da1f2;border:1px solid transparent;border-radius:9999px;color:#fff;display:flex;font-size:16px;font-weight:700;justify-content:center;margin:10px;min-height:49px;opacity:.5;outline:none;padding:0 30px;transition:.2s ease-in-out;width:calc(100% - 20px)}.signup-option{color:#1da1f2;font-size:15px;margin-top:20px;text-align:center}.signup-option:hover{cursor:pointer;text-decoration:underline}.button-active{cursor:pointer;opacity:1}.squeak-wrapper{border-right:1px solid #e6ecf0;display:flex;flex-direction:column;height:100%;max-width:600px;width:100%}.squeak-header-wrapper{align-items:center;background-color:#fff;border-bottom:1px solid #e6ecf0;border-left:1px solid #e6ecf0;cursor:pointer;display:flex;height:53px;margin:0 auto;max-width:1000px;min-height:53px;padding-left:15px;padding-right:15px;position:-webkit-sticky;position:sticky;top:0;width:100%;z-index:3}.profile-header-back{align-items:flex-start;justify-content:center;min-height:30px;min-width:55px}.header-back-wrapper{align-items:center;border:1px solid transparent;border-radius:9999px;display:flex;height:39px;justify-content:center;margin-left:-5px;transition:.2s ease-in-out;width:39px;will-change:background-color}.header-back-wrapper svg{fill:#1da1f2;height:1.5em}.squeak-header-content{font-size:19px;font-weight:800}.squeak-body-wrapper{border-bottom:1px solid #e6ecf0;padding:0 15px}.squeak-header-content{align-items:center;display:flex;margin-bottom:10px;margin-top:10px}.squeak-user-pic{flex-basis:49px;margin-right:10px}.squeak-user-pic img{object-fit:cover}.squeak-user-wrap{display:flex;flex-direction:column;justify-content:center}.squeak-user-name{cursor:pointer;font-size:16px;font-weight:700}.squeak-user-name:hover{text-decoration:underline}.squeak-username{color:#657786;font-size:15.5px;font-weight:400}.squeak-content{font-size:23px;margin-bottom:10px;margin-top:10px;word-break:break-word}.locked-content{background-color:#d3d3d3;border-radius:25px;border-style:solid;text-align:center}.squeak-date{color:#657786;font-size:15px;margin:15px 0}.squeak-stats{border-bottom:1px solid #e6ecf0;border-top:1px solid #e6ecf0;display:flex;padding:15px 5px}.squeak-stats div{cursor:pointer;display:flex}.squeak-stats div:hover{text-decoration:underline}.int-num{cursor:pointer;font-weight:700;margin-right:5px}.int-text{color:#657786;cursor:pointer;margin-right:20px}.squeak-interactions{display:flex;justify-content:space-evenly}.squeak-int-icon{align-items:center;display:flex;justify-content:center;min-height:49px;padding:0 5px;width:100%}.card-icon svg{fill:#657786;height:22.5px;width:22.5px}.squeak-replies-wrapper{border-bottom:1px solid #e6ecf0;cursor:pointer;display:flex;padding:10px 15px 0;transition:.2s ease-in-out}.squeak-replies-wrapper:hover{background-color:#f5f8fa}.card-icon{cursor:pointer}.reply-icon:hover{background-color:rgba(29,161,242,.1)}.reply-icon:hover svg{fill:#1da1f2!important}.resqueak-icon:hover{background-color:rgba(23,191,99,.1)}.resqueak-icon:hover svg{fill:#17bf63!important}.heart-icon:hover{background-color:rgba(224,36,94,.1)}.heart-icon:hover svg{fill:#e0245e!important}.share-icon:hover{background-color:rgba(29,161,242,.1)}.share-icon:hover svg{fill:#1da1f2!important}.delete-icon:hover{background-color:rgba(212,11,11,.1)}.delete-icon:hover svg{fill:red!important}.reply-int svg{fill:#657786;align-items:center;display:flex;height:18.75px;width:18.75px}.resqueak-int:hover{color:#17bf63}.heart-int:hover{color:#e0245e}.squeak-image-wrapper{max-height:730px;overflow:hidden}.squeak-image-wrapper div{background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:14px;bottom:0;height:100%;left:0;right:0;top:0;width:100%}.squeak-unlock-button{align-items:center;border:1px solid #1da1f2;border-radius:9999px;cursor:pointer;display:flex;justify-content:center;margin-left:7px;min-height:39px;min-width:98.8px;padding-left:1em;padding-right:1em;transition:.2s ease-in-out}.squeak-unlock-button span{color:#1da1f2;font-weight:800;text-align:center;width:100%}.squeak-unlock-button:hover{background-color:rgba(29,161,242,.1)}.Squeak-card-wrapper{border-bottom:1px solid #e6ecf0;cursor:pointer;display:flex;padding:10px 15px;transition:.2s ease-in-out;will-change:background-color}.Squeak-card-wrapper:hover{background-color:#f5f8fa}.card-userPic-wrapper{display:flex;flex-basis:49px;flex-direction:column;margin-right:10px}.card-userPic img{border-radius:50%;min-width:49px;object-fit:cover;transition:all 1s ease}.card-userPic:hover img{-webkit-filter:brightness(70%);filter:brightness(70%)}.card-content-wrapper{flex-basis:calc(100% - 49px);max-width:calc(100% - 60px)}.missing-squeak{background-color:#d3d3d3}.card-content-header{display:flex;justify-content:space-between;margin-bottom:2px}.card-header-date:hover,.card-header-user:hover{text-decoration:underline}.card-header-user{font-weight:700}.card-header-username{color:#657786;margin-left:5px}.card-header-dot{color:#657786;padding:0 5px}.card-header-date{color:#657786}.card-content-images{border:1px solid #ccd6dd;border-radius:14px;margin-top:10px}.card-image-link{border-radius:14px;cursor:pointer;display:block;max-height:253px}.card-image-link img{border-radius:14px;height:100%;max-height:253px;object-fit:cover;width:100%}.card-buttons-wrapper{align-items:center;display:flex;justify-content:space-between;margin-bottom:-5px;margin-left:-5px;margin-top:5px;max-width:425px}.card-button-wrap{align-items:center;color:#867865;display:flex;justify-content:flex-start}.card-button-wrap:hover .reply-icon{background-color:rgba(29,161,242,.1)}.card-button-wrap:hover .reply-icon .card-button-wrap{color:#d40b0b!important}.card-button-wrap:hover .reply-icon svg{fill:#1da1f2!important}.card-button-wrap:hover .resqueak-icon{background-color:rgba(23,191,99,.1)}.card-button-wrap:hover .resqueak-icon svg{fill:#17bf63!important}.card-button-wrap:hover .heart-icon{background-color:rgba(224,36,94,.1)}.card-button-wrap:hover .heart-icon svg{fill:#e0245e!important}.card-button-wrap:hover .share-icon{background-color:rgba(29,161,242,.1)}.card-button-wrap:hover .share-icon svg{fill:#1da1f2!important}.card-button-wrap:hover .delete-icon{background-color:rgba(212,11,11,.1)}.card-button-wrap:hover .delete-icon svg{fill:#d40b0b!important}.reply-wrap:hover{color:#1da1f2}.resqueak-wrap:hover{color:#17bf63}.heart-wrap:hover{color:#e0245e}.card-icon{align-items:center;border-radius:50%;display:flex;justify-content:center;padding:7.4px;transition:.2s ease-in-out;will-change:background-color}.card-icon svg{height:18.75px;width:18.75px}.card-icon-value{font-size:13px;margin-left:3px}.reply-content-wrapper{display:flex;padding:10px 15px}.reply-squeak-username{color:#657786;font-size:15.5px;margin-right:5px}.main-squeak-user{color:#1b95e0}.main-squeak-user:hover{text-decoration:underline}.reply-to-user{margin-top:15px}.replyTo-wrapper{margin-bottom:2px}.user-resqueak-icon{display:flex;justify-content:flex-end;margin-bottom:5px}.user-resqueak-icon svg{fill:#657786;height:18.75px;width:13px}.user-resqueaked{color:#657786;font-size:13px;margin-bottom:5px}.user-resqueaked:hover{text-decoration:underline}.squeak-reply-thread{background-color:#ccd6dd;height:100%;margin:-5px auto -20px;width:2px}.user-replied{color:#657786;font-size:13px;margin-bottom:5px}.user-replied:hover{text-decoration:underline}.card-content-locked-content{background-color:#d3d3d3;border-radius:25px;border-style:solid;text-align:center}.search-userPic-wrapper{display:flex;flex-direction:column}.search-userPic img{border-radius:50%;min-width:49px;object-fit:cover;transition:all 1s ease}.search-userPic:hover img{-webkit-filter:brightness(70%);filter:brightness(70%)}.payment-wapper{border-bottom:1px solid #e6ecf0;display:flex;padding:10px 15px;transition:.2s}.payment-wapper:hover{background-color:#f5f8fa}.payment-price{font-weight:700}.payment-lightning-node,.payment-peer-address,.payment-squeak-hash,.payment-time{color:#657786;line-height:1}.payment-time{font-weight:700}.payments-header-wrapper{align-items:center;background-color:#fff;border-bottom:1px solid #e6ecf0;border-left:1px solid #e6ecf0;cursor:pointer;display:flex;height:53px;margin:0 auto;max-width:1000px;min-height:53px;padding-left:15px;padding-right:15px;position:-webkit-sticky;position:sticky;top:0;width:100%;z-index:8}.payments-header-content{display:flex;flex-direction:column}.payments-header-name{font-size:19px;font-weight:800}.peers-header-wrapper{align-items:center;background-color:#fff;border-bottom:1px solid #e6ecf0;border-left:1px solid #e6ecf0;cursor:pointer;display:flex;height:53px;margin:0 auto;max-width:1000px;min-height:53px;padding-left:15px;padding-right:15px;position:-webkit-sticky;position:sticky;top:0;width:100%;z-index:8}.peers-header-content{display:flex;flex-direction:column}.peers-header-name{font-size:19px;font-weight:800}.enable-btn-wrap{align-items:center;border:1px solid #1da1f2;border-radius:9999px;cursor:pointer;display:flex;justify-content:center;min-height:30px;min-width:70px;padding-left:1em;padding-right:1em;transition:.2s ease-in-out}.enable-btn-wrap:hover{background-color:rgba(29,161,242,.1)}.enable-btn-wrap span{color:#1da1f2;font-weight:800;text-align:center;width:100%}.disable-switch{background-color:#1da1f2}.disable-switch span{color:#fff!important}.disable-switch:hover{background-color:#ca2055!important;border:1px solid transparent}.disable-switch:hover span{color:#fff}.disable-switch:hover span span{display:none}.disable-switch:hover span:before{content:"Disable"}.float-container{align-items:center;display:flex;width:100%}.float-child{float:left;position:relative;width:730px}.feed-wrapper{display:flex;flex-direction:column;justify-content:center;position:-webkit-sticky;position:sticky;top:5px}.feed-trending-card{background-color:#f5f8fa;border:1px solid #f5f8fa;border-bottom-left-radius:14px;border-bottom-right-radius:14px;border-top-left-radius:14px;border-top-right-radius:14px;margin-bottom:15px;margin-top:10px;width:100%}.feed-card-header{align-items:center;display:flex;font-size:19px;font-weight:700}.feed-card-header,.feed-card-trend{border-bottom:1px solid #e6ecf0;padding:10px 15px}.feed-card-trend{cursor:pointer;transition:.2s ease-in-out}.feed-card-trend:hover{background-color:rgba(0,0,0,.03)}.feed-card-trend div:first-child{color:#657786;font-size:13px}.feed-card-trend div:nth-child(2){color:#14171a;font-size:15px;font-weight:700;padding-top:2px}.feed-card-trend div:nth-child(3){color:#657786;font-size:15px;padding-top:2px}.feed-more{color:#1da1f2;cursor:pointer;font-size:15px;padding:15px;transition:.2s ease-in-out}.sugg-result-wapper{cursor:pointer;display:flex}.search-user-name{color:#14171a!important;font-weight:600!important}.search-user-username{color:#657786!important;font-weight:400!important}.Home-wrapper{border-right:1px solid #e6ecf0;display:flex;flex-direction:column;max-width:600px;min-height:2000px;width:100%}.Home-header-wrapper{align-items:center;background-color:#fff;border-bottom:1px solid #e6ecf0;border-left:1px solid #e6ecf0;cursor:pointer;display:flex;height:53px;margin:0 auto;max-width:1000px;min-height:53px;padding-left:15px;padding-right:15px;position:-webkit-sticky;position:sticky;top:0;width:100%;z-index:3}.Home-header{color:#14171a;font-size:19px;font-weight:800;line-height:1.3125}.blue{color:#1da1f2}.explore-wrapper{border-right:1px solid #e6ecf0;flex-direction:column;min-height:2000px}.explore-header,.explore-wrapper{display:flex;max-width:600px;width:100%}.explore-header{align-items:center;background-color:#fff;border-left:1px solid #e6ecf0;height:53px;margin:0 auto;min-height:53px;padding-left:15px;padding-right:15px;position:-webkit-sticky;position:sticky;top:0;z-index:8}.header-border{border-bottom:1px solid #e6ecf0}.explore-search-wrapper{background-color:#e6ecf0;border:1px solid transparent;border-radius:9999px;min-height:38px;width:100%}.explore-search-icon,.explore-search-wrapper{align-items:center;display:flex}.explore-search-icon svg{fill:#657786;height:18.75px;padding-left:10px;width:40px}.explore-search-input{width:100%}.explore-search-input input{background-color:inherit;border:inherit;color:#657786;font-size:15px;outline:none;padding:6px 10px;width:100%}.explore-nav-menu{align-items:center;border-bottom:1px solid #e6ecf0;display:flex;justify-content:space-around;margin-top:10px}.explore-nav-item{border-bottom:2px solid transparent;box-sizing:border-box;color:#657786;cursor:pointer;font-weight:700;padding:15px;text-align:center;transition:.2s;width:100%;will-change:background-color}.explore-nav-item:hover{background-color:rgba(29,161,242,.1);color:#1da1f2}.activeTab{border-bottom:2px solid #1da1f2;color:#1da1f2}.search-result-wapper{border-bottom:1px solid #e6ecf0;cursor:pointer;display:flex;padding:10px 15px;transition:.2s}.search-result-wapper:hover{background-color:#f5f8fa}.search-userPic-wrapper{flex-basis:49px;margin-right:10px}.search-userPic-wrapper img{object-fit:cover}.search-user-details{width:100%}.search-user-details,.search-user-info{display:flex;flex-direction:column}.search-user-name{font-weight:700}.search-user-username{color:#657786;line-height:1}.search-user-bio{margin-top:7px}.search-user-warp{align-items:center;display:flex;flex-direction:row;justify-content:space-between}.follow-btn-wrap{align-items:center;border:1px solid #1da1f2;border-radius:9999px;cursor:pointer;display:flex;justify-content:center;min-height:30px;min-width:70px;padding-left:1em;padding-right:1em;transition:.2s ease-in-out}.follow-btn-wrap:hover{background-color:rgba(29,161,242,.1)}.follow-btn-wrap span{color:#1da1f2;font-weight:800;text-align:center;width:100%}.trending-card-wrapper{border-bottom:1px solid #f5f8fa;cursor:pointer;display:flex;flex-direction:column;padding:10px 15px;transition:.2s}.trending-card-wrapper:hover{background-color:#f5f8fa}.trending-card-header{color:#657786;font-size:14px}.trending-card-header span{padding:0 3px}.trending-card-content{font-size:19px;font-weight:700;padding-bottom:2px;padding-top:2px}.trending-card-count{color:#657786;font-size:15px}.try-searching{color:#657786;font-size:17px;font-weight:700;margin-top:40px;text-align:center}.try-searching div{margin-bottom:15px}.unfollow-switch{background-color:#1da1f2}.unfollow-switch span{color:#fff!important}.unfollow-switch:hover{background-color:#ca2055!important;border:1px solid transparent}.unfollow-switch:hover span{color:#fff}.unfollow-switch:hover span span{display:none}.unfollow-switch:hover span:before{content:"Unfollow"}.explore-header-back{align-items:flex-start;justify-content:center;min-height:30px;min-width:55px}.explore-back-wrapper{align-items:center;border:1px solid transparent;border-radius:9999px;cursor:pointer;display:flex;height:39px;justify-content:center;margin-left:-5px;transition:.2s ease-in-out;width:39px;will-change:background-color}.explore-back-wrapper svg{fill:#1da1f2;height:1.5em}.explore-back-wrapper:hover{background-color:rgba(29,161,242,.1)}.profiles-details-wrapper{padding:10px 15px 15px}.profiles-options{align-items:center;display:flex;justify-content:flex-end;position:relative}.profiles-create-button{align-items:center;border:1px solid #1da1f2;border-radius:9999px;cursor:pointer;display:flex;justify-content:center;margin-left:7px;min-height:39px;min-width:98.8px;padding-left:1em;padding-right:1em;transition:.2s ease-in-out}.profiles-create-button span{color:#1da1f2;font-weight:800;text-align:center;width:100%}.profiles-create-button:hover{background-color:rgba(29,161,242,.1)}.alert-wrapper{left:50%;position:fixed;text-align:center;top:100px;-webkit-transform:translate(-50%);transform:translate(-50%);transition:top .4s ease-in;width:150px;z-index:1000}.alert-content{background-color:#1da1f2;border:1px solid #e6ecf0;border-radius:200px;box-shadow:0 3px 6px -4px rgba(0,0,0,.12),0 6px 16px 0 rgba(0,0,0,.08),0 9px 28px 8px rgba(0,0,0,.05);color:#fff;display:inline-block;font-weight:600;padding:8px 14px}
+/*# sourceMappingURL=main.fe6c5463.css.map*/
\ No newline at end of file
diff --git a/squeaknode/admin/webapp/static/build/static/css/main.fe6c5463.css.map b/squeaknode/admin/webapp/static/build/static/css/main.fe6c5463.css.map
new file mode 100644
index 000000000..df7a06f42
--- /dev/null
+++ b/squeaknode/admin/webapp/static/build/static/css/main.fe6c5463.css.map
@@ -0,0 +1 @@
+{"version":3,"file":"static/css/main.fe6c5463.css","mappings":"AAAA,KAKE,kCAAmC,CACnC,iCAAkC,CAJlC,mIAEY,CAHZ,QAQF,CAEA,yCACE,KACE,wBACF,CACF,CAEA,KACE,uEAEF,CAEA,EACE,qBAAsB,CAGtB,gCAAoC,CAFpC,QAAS,CACT,SAAU,CAGV,qBACF,CACA,EAEE,aAAc,CADd,oBAEF,CChCA,WACI,aACA,mBACA,uBAGJ,QACI,aAIA,eAHA,yBAEA,SADA,iBAEA,CAGJ,MAEI,aACA,8BAFA,WAEA,CAGF,gBACI,gBACA,iBAGJ,UACI,WAGJ,eAII,YAFA,kBACA,kBAFA,WAGA,CAGN,YAUI,gCAFA,YAHA,OAIA,cAPA,eAIA,MACA,WAJA,WAOA,CAGJ,eAOI,sBADA,mBAHA,aAOA,SARA,gBAGA,gBAJA,iBAYA,gBALA,eACA,QAGA,sEARA,WAOA,UAEA,CAGJ,cAMI,gCALA,YAMA,iBAFA,eAGA,WANA,SAMA,CAIJ,+BARI,mBADA,YAeA,CANJ,iBAEI,2BACA,gBAGA,gBADA,cACA,CAGJ,sBAEI,mBAGA,6BACA,qBAGA,eARA,aAOA,YALA,uBACA,2BAGA,UAEA,CAGJ,4BACI,qCAGJ,0BACI,aACA,cAGJ,aAEI,eADA,gBAEA,WAGJ,oBAMI,mBADA,aAEA,yBANA,iBACA,gBACA,eACA,UAGA,CAGJ,gBAOI,mBAGA,yBACA,6BACA,qBAHA,WAKA,eATA,aAGA,gBAFA,uBAOA,iBAXA,gBAEA,eADA,0BAWA,CAGJ,sBACI,yBAGJ,YACI,aACA,sBACA,YAIJ,cAMI,gCADA,6BAFA,aADA,aAEA,uBAHA,iBAMA,kBAGJ,kBAKI,cAFA,gBAFA,eAGA,iBAEA,YAJA,UAIA,CAGJ,kBAMI,mBADA,aAFA,YAIA,uBANA,kBAGA,MAFA,UAKA,CAGJ,wBASI,sDAEA,eAHA,cAEA,aANA,gBAEA,yBADA,UAMA,CAIJ,8CARI,eAJA,cADA,iBADA,YAoBA,CANJ,sBAGI,UADA,iBAIA,CAGJ,cAEI,YACA,mBAFA,iBAEA,CAGJ,mBAWI,mBAHA,sBALA,sBACA,kBAKA,aARA,aASA,uBALA,iBACA,iBAJA,YAKA,SAIA,CAGJ,gBAKI,sBACA,kBAFA,SAEA,CAGJ,oCANI,kBAFA,YACA,UAaA,CANJ,oBAII,cADA,iBAEA,UACA,CAGJ,oBAMI,mBADA,aAFA,YAIA,uBANA,kBAGA,MAFA,UAKA,CAGJ,0BASI,sDAEA,eAHA,cAEA,aANA,gBAEA,yBADA,UAMA,CAIJ,kDARI,eAJA,cADA,iBADA,YAoBA,CANJ,wBAGI,UADA,iBAIA,CAGJ,WACI,WAQJ,8BACI,yBACA,eAGJ,iBAEI,mBADA,iBACA,CAGJ,oBAEI,yBADA,+BACA,CACA,0BACI,cACA,cACA,mBAEJ,0BAGI,eADA,aAEA,qBAHA,UAGA,CAQR,sBAEI,aACA,kBAFA,qBAEA,CAGJ,wBACI,gBAEA,kBADA,eACA,CACA,4BACI,iBAGR,mBAMI,6BACA,kBAGA,YATA,aACA,sBACA,8BAMA,mBADA,gBAJA,gBACA,uBAKA,CAGJ,iBAGI,cADA,eADA,eAGA,kBAGJ,qBAGI,gBAFA,aACA,oBACA,CAGJ,2BACI,aAGJ,mBACI,aACA,8BACA,aAIJ,kBAGI,mBADA,aADA,eAEA,CAGJ,sBAGI,eADA,YAEA,cACA,kBAJA,UAIA,CACA,4BAeI,sDACA,eAFA,cAFA,eATA,YAQA,SAEA,aATA,gBAKA,yBARA,kBAgBA,2BAPA,QARA,WAGA,SAYA,CAGR,4BAEI,qCADA,iBACA,CAGJ,iBAUI,mBANA,yBAEA,6BACA,qBAIA,WAHA,aAIA,gBAHA,uBARA,iBACA,gBACA,kBAWA,WATA,cAUA,4BAGJ,mBACI,eACA,UACA,yBACI,uCAIR,sBAGI,yBACA,WAFA,YADA,eAGA,CAGJ,uBAAuB,oBAAvB,CAEA,oCACI,0BAEA,cADA,mBACA,CAKF,mCACI,WAGF,mBACI,qBAGN,qBACE,cAGF,qBAEI,mBAGA,YAJA,gBAEA,iBAGA,iBAFA,UAEA,CAGJ,iBACI,kBAGJ,cAME,mBAMA,gCACA,kBAXA,WAcA,eANA,aAIA,eAHA,YAJA,uBAJA,SAKA,iBASA,qBAhBA,kBAGA,SACA,UAYA,CAGF,8BALE,gBANA,iBAoBA,CATF,gBAEE,+BAMA,cAHA,eAJA,gBAQA,kBAFA,gBAJA,UAMA,CAOJ,eAEI,MAIJ,mBAGI,mBADA,aADA,gBAEA,CAIJ,qBAWI,eAMJ,0CACI,eACI,sBAEJ,MACI,aAIR,0CACI,eACI,aAEJ,MACI,YAKN,yCACI,YACI,aAEJ,kBACI,qBAEJ,yBACI,yBAEJ,gBACI,WAEJ,aACI,wBAIR,yCAEE,KAEI,kBADA,0BAEA,WAGJ,aACI,oCAEJ,qBACI,sBAGJ,WACI,sBAGJ,QAGI,SACA,YACA,OAAM,CAJN,uCAIA,CAGJ,uBANI,WAOA,CAGJ,WAEI,YADA,qBACA,CAGJ,KAGI,4BAFA,mBACA,WACA,CAGJ,aAEI,cAEA,YACA,gBAFA,oBAFA,oBAIA,CAGJ,aAII,qBAHA,sBACA,6BACA,aAEA,6BAEA,6BADA,QACA,CAEA,uBACI,UAYJ,+GACI,aAIR,YACI,uBAGJ,mBAEI,sBAGA,aAFA,mBACA,gBAHA,kBAIA,CAGJ,WACI,wBCxpBR,gBACE,kBACF,CAEA,2FAYE,wBAAyB,CAFzB,4BAA6B,CAJ7B,kBAAmB,CADnB,aAAc,CAId,eAAgB,CANhB,kBAAmB,CACnB,eAAgB,CAOhB,eAAgB,CAHhB,iBAAkB,CADlB,UAMF,CAEA,aACE,aACF,CAEA,mBACE,cACF,CAEA,iBAEE,uBAAwB,CAExB,eAAgB,CAEhB,6PAA0e,CAE1e,sCAA8C,CAC9C,2BAA4B,CAF5B,oBAGF,CAEA,eASE,yBAA2B,CAL3B,OAMF,CAEA,6BALE,kCAAmC,CACnC,mCAAoC,CAPpC,UAAW,CAKX,QAAS,CAJT,iBAAkB,CAClB,UAAW,CAEX,OAiBF,CAVA,cASE,0BAA2B,CAL3B,OAMF,CAEA,gBAIE,aAAc,CADd,kBAEF,CAIA,oBACE,YACF,CAEA,gBACE,wBAAiC,CACjC,oBACF,CAEA,6GAGE,qBAAyB,CACzB,UACF,CAEA,uBACE,2QAEF,CC3FA,gBAEI,UAAW,CACX,aAAc,CAFd,iBAGJ,CAEA,YACI,SAAY,CACZ,+BAA+B,CAE/B,QAAS,CADT,iBAAkB,CAElB,OAAQ,CACR,qCAA8B,CAA9B,6BACJ,CCdA,WAEI,kBADA,WACA,CAGJ,eACI,kBACA,YAGJ,KAKI,qBAEA,+BAJA,eAFA,KAMA,CAGJ,kBANI,aAEA,sBAJA,WAgBA,CARJ,aACI,gBAKA,kBADA,mBADA,WAIA,CAEJ,aACI,aACA,sBACA,eAEJ,cAKI,mBAFA,kBAFA,cAIA,CAMJ,wBATI,eAEA,YAUA,CAHJ,UACI,aAEA,CAEI,gCACI,mCACA,iDAIZ,gBAGI,mBAIA,qBALA,aAGA,uBACA,eAFA,aAKA,wBADA,+CACA,CARA,iCAYA,eACA,kBADA,aAZA,CAiBA,gBACI,aAEJ,sBACI,cACA,gBAKR,UACI,eACA,gBACA,iBACA,kBAEJ,YAII,aADA,kBADA,gBADA,UAGA,CAIJ,iBAeI,mBAbA,yBASA,6BAKA,qBAbA,sCASA,eACA,aACA,uBANA,gBADA,kBAHA,mBAKA,kBACA,mBAJA,wBADA,gDAJA,SAeA,CAGJ,0CACI,iBAAiB,UAAjB,CACA,YAAY,sBAAZ,EAEJ,gBACI,WAWA,iBAVA,eACA,gBAGA,eAFA,yBACA,iBAOA,CALA,qBAEI,mBADA,aAEA,uBAIR,UACI,aAEJ,0CACI,iBACI,eAGA,eADA,UADA,UAEA,CAEJ,UACI,aAEJ,UACI,eAGR,yBAGI,UAFA,eACA,kBADA,aAEA,CAGJ,sBAQI,YAFA,YAHA,OAIA,cANA,eAGA,MACA,WAHA,UAMA,CAGJ,oBAGI,YAFA,kBACA,UACA,CAGJ,mBAOI,sBADA,mBAQA,2EACA,aACA,sBAbA,gBADA,eADA,iBAIA,gBAQA,gBALA,kBAJA,YAOA,YAKA,CAGJ,yCACI,mBAEI,cAIR,gBAII,mBAHA,gCAMA,eAJA,aAEA,8BAHA,aAIA,yBACA,CACA,sBACI,yBAEJ,qBAEI,mBADA,YACA,CAKR,oBACI,WAGJ,WACI,aAIJ,0CACI,UACI,aAKJ,wBACI,YC7OR,eAGI,mBAFA,gBACA,cACA,CAGJ,mBAGI,cAFA,YACA,aACA,CAGJ,cAEI,eAEA,gBADA,mBAFA,gBAIA,kBAGJ,YACI,WAQJ,gCACI,yBACA,eAGJ,kBACI,kBAGJ,qBAEI,yBADA,+BACA,CACA,2BACI,cACA,mBAEJ,2BAGI,eADA,aAEA,qBAHA,UAGA,CAIR,gBAKI,mBAKA,yBAKA,6BANA,qBAGA,WATA,aAUA,gBATA,uBAGA,YALA,gBASA,WAGA,aANA,eAFA,2BALA,uBAcA,CAmBJ,aAEI,UADA,iBACA,CCzFJ,gBAGI,mBAFA,gBACA,cACA,CAGJ,oBAGI,cAFA,YACA,aACA,CAGJ,eAEI,eAEA,gBADA,mBAFA,gBAIA,kBAGJ,aACI,WAQJ,kCACI,yBACA,eAGJ,mBACI,kBAGJ,sBAEI,yBADA,+BACA,CACA,4BACI,cACA,mBAEJ,4BAGI,eADA,aAEA,qBAHA,UAGA,CAIR,iBAKI,mBAKA,yBAKA,6BANA,qBAGA,WATA,aAaA,eAHA,gBATA,uBAGA,YALA,gBASA,WAGA,aANA,eAFA,2BALA,uBAeA,CAGJ,eAGI,cADA,eADA,gBAGA,kBACA,qBAEI,eADA,yBACA,CAIR,eAEI,eADA,SACA,CCrFJ,gBAEI,+BAGA,aACA,sBAFA,YAHA,gBAEA,UAGA,CAGJ,uBAQI,mBAJA,sBAFA,gCACA,8BAMA,eAFA,aAGA,YAKA,cADA,iBAHA,gBACA,kBACA,mBAZA,wCAKA,MAUA,WAXA,SAWA,CAGJ,qBAII,uBADA,uBADA,gBADA,cAGA,CAGJ,qBAUI,mBAJA,6BACA,qBACA,aALA,YAMA,uBARA,iBAGA,2BAFA,WAGA,4BAKA,CAGJ,yBAEI,aADA,YACA,CAGJ,uBAEI,eADA,eACA,CAGJ,qBAEI,gCADA,cACA,CAQJ,uBAII,mBADA,aADA,mBADA,eAGA,CAGJ,iBACI,gBACA,kBACA,qBACI,iBAIR,kBACI,aACA,sBACA,uBAGJ,kBAGI,eAFA,eACA,eACA,CACA,wBACI,0BAIR,iBAGI,cAFA,iBACA,eACA,CAGJ,gBAEI,eACA,mBAFA,gBAGA,sBAGJ,gBAIE,yBADA,mBADA,mBADA,iBAGA,CAGF,aAGI,cADA,eADA,aAEA,CAGJ,cAII,gCADA,6BAFA,aACA,gBAEA,CACA,kBAEI,eADA,YACA,CACA,wBACI,0BAKZ,SAGI,eAFA,gBACA,gBACA,CAGJ,UACI,cAEA,eADA,iBACA,CAGJ,qBACI,aACA,6BAIJ,iBAKI,mBADA,aAEA,uBALA,gBAEA,cADA,UAIA,CAGJ,eAGI,aAFA,cACA,YACA,CAIJ,wBAII,gCACA,eAFA,aAFA,oBACA,0BAGA,CACA,8BACI,yBAgBR,WAQI,eAIJ,kBACI,qCACA,6CAEJ,qBACI,oCACA,gDAEJ,kBAEI,oCACA,6CAEJ,kBACI,qCACA,6CAEJ,mBACI,oCACA,0CAGJ,eAKI,aAHA,mBADA,aAEA,eACA,aACA,CAQJ,oBACI,cAEJ,iBACI,cAMJ,sBAEI,iBADA,eACA,CAEA,0BAEI,wBACA,4BAOA,sBATA,mBAQA,SAJA,YAEA,OACA,QAFA,MAFA,UAMA,CAIR,sBASI,mBAJA,yBACA,qBAFA,eAGA,aACA,uBAEA,gBATA,gBACA,iBASA,iBACA,kBATA,0BASA,CACA,2BAGI,cADA,gBADA,kBAGA,WAEJ,4BACI,qCClSR,qBACI,gCAIA,eAHA,aAIA,kBAHA,2BACA,4BAEA,CACA,2BACI,yBAIR,sBAGI,aAFA,gBAGA,sBAFA,iBAEA,CAKA,kBAEI,kBACA,eAFA,iBAQA,uBAKJ,wBACE,+BACA,uBAIN,sBAGI,6BADA,2BACA,CAGJ,gBACI,yBAGJ,qBAEI,aACA,8BAFA,iBAEA,CAUA,gDACI,0BAIR,kBACI,gBAGJ,sBAEI,cADA,eACA,CAGJ,iBAEI,cADA,aACA,CAGJ,kBACI,cAQJ,qBAEI,yBACA,mBAFA,eAEA,CAMJ,iBAII,mBAHA,eACA,cACA,gBACA,CAEA,qBAEI,mBAEA,YAHA,gBAAgB,CAIhB,iBAFA,UAEA,CAIR,sBAMI,mBAFA,aACA,8BAEA,mBANA,iBACA,eACA,eAIA,CAGJ,kBAGI,mBACA,cAHA,aACA,0BAEA,CAEI,oCAEI,qCADA,8EAEA,+DAEJ,uCACI,oCACA,kEAEJ,oCAEI,oCACA,+DAEJ,oCACI,qCACA,+DAEJ,qCACI,oCACA,gEAKZ,kBACI,cAEJ,qBACI,cAEJ,kBACI,cAGJ,WAGI,mBAEA,kBAJA,aACA,uBAEA,cAEA,2BACA,6BAGJ,eAEI,eADA,aACA,CAGJ,iBAEI,eADA,eACA,CAMJ,uBACI,aACA,kBAIJ,uBAGI,cAFA,iBACA,gBACA,CAGJ,kBACI,cACA,kDAGJ,eACI,gBAWJ,iBACI,kBAGJ,oBACI,aACA,yBACA,kBAGJ,wBAGI,aADA,eADA,UAEA,CAGJ,iBACI,cACA,eACA,kBACA,uBACI,0BAIR,qBAGI,yBAEA,YAEA,uBALA,SAKA,CAGJ,cACI,cACA,eACA,kBACA,oBACI,0BAIR,6BAIE,yBADA,mBADA,mBADA,iBAGA,CC7JF,wBAGI,aACA,sBAIF,oBAEI,kBACA,eAFA,iBAQA,uBAKF,0BACE,+BACA,uBCnCN,gBACI,gCAGA,aAFA,kBACA,cACA,CACA,sBACI,yBAuBR,eACI,gBAkBJ,iFAJI,cACA,aAMA,CAHJ,cAGI,gBAoKJ,yBAQI,mBAJA,sBAFA,gCACA,8BAMA,eAFA,aAGA,YAKA,cADA,iBAHA,gBACA,kBACA,mBAZA,wCAKA,MAUA,WAXA,SAWA,CAGJ,yBACI,aACA,sBAGJ,sBAEI,eADA,eACA,CCnVJ,sBAQI,mBAJA,sBAFA,gCACA,8BAMA,eAFA,aAGA,YAKA,cADA,iBAHA,gBACA,kBACA,mBAZA,wCAKA,MAUA,WAXA,SAWA,CAGJ,sBACI,aACA,sBAGJ,mBAEI,eADA,eACA,CAIJ,iBASI,mBAJA,yBACA,qBAFA,eAGA,aACA,uBAPA,gBACA,eAQA,iBACA,kBARA,0BAQA,CACA,uBACI,qCAIR,sBAGI,cADA,gBADA,kBAGA,WAGJ,gBACI,yBACA,0CAGJ,sBACI,mCACA,6BACA,2BACI,WACA,6CACA,kCACI,kBAMZ,iBAEE,mBADA,aAEA,WAGF,aAEE,WADA,kBAEA,YClFF,cACI,aAEA,sBADA,uBAEA,wCACA,QAGJ,oBAEI,yBAGA,yBAGA,+BACA,gCAHA,4BACA,6BAHA,mBADA,gBAFA,UAQA,CAGJ,kBAII,mBADA,aAEA,eACA,gBAGJ,mCARI,gCACA,iBAWA,CAJJ,iBAGI,eACA,2BACA,uBACI,iCAEJ,iCAEI,cADA,cACA,CAEJ,kCAEI,cADA,eAEA,gBACA,gBAEJ,kCAEI,cADA,eAEA,gBAIR,WAKI,cAFA,eACA,eAHA,aACA,0BAGA,CAMJ,oBACI,eACA,aAoBJ,kBAEI,wBACA,0BAGJ,sBACI,wBACA,yBACA,CChGJ,cAEI,+BAIA,aACA,sBANA,gBAOA,kBALA,UAKA,CAGJ,qBAQI,mBAJA,sBAFA,gCACA,8BAMA,eAFA,aAGA,YAKA,cADA,iBAHA,gBACA,kBACA,mBAZA,wCAKA,MAUA,WAXA,SAWA,CAGJ,aAGI,cADA,eADA,gBAGA,mBAGJ,MACI,cCtCJ,iBAEI,+BAIA,sBACA,kBAIJ,iCANI,aAJA,gBAEA,UAsBA,CAdJ,gBAOI,mBAJA,sBADA,8BAMA,YAKA,cAJA,gBACA,kBACA,mBAVA,wCAIA,MADA,SAUA,CAGJ,eACI,gCAGJ,wBACI,yBACA,6BACA,qBAGA,gBACA,WAIJ,6CANI,mBADA,YASA,CAGJ,yBAGI,aADA,eAEA,kBAHA,UAGA,CAGJ,sBACI,WAGJ,4BACI,yBACA,eAIA,cADA,eAEA,aAJA,iBACA,UAGA,CAGJ,kBAII,mBACA,gCAHA,aACA,6BAFA,eAIA,CAGJ,kBAUI,oCADA,qBAAqB,CAHrB,cAFA,eACA,gBAJA,aAEA,kBAIA,eALA,WAMA,4BAEA,CACA,wBACI,qCACA,cAIR,WACI,gCACA,cAGJ,sBACI,gCAGA,eACA,aAHA,kBACA,cAEA,CACA,4BACI,yBAIR,wBACI,gBACA,kBACA,4BACI,iBAIR,qBAGI,WAGJ,uCALI,aACA,qBAMA,CAGJ,kBACI,gBAGJ,sBACI,cACA,cAGJ,iBACI,eAGJ,kBAGI,mBAFA,aACA,mBAEA,8BAGJ,iBASI,mBAJA,yBACA,qBAFA,eAGA,aACA,uBAPA,gBACA,eAQA,iBACA,kBARA,0BAQA,CACA,uBACI,qCAIR,sBAGI,cADA,gBADA,kBAGA,WAKJ,uBACI,gCAGA,eACA,aACA,sBAJA,kBACA,cAGA,CACA,6BACI,yBAIR,sBACI,cACA,eACA,2BACI,cAIR,uBAEI,eADA,gBAGA,mBADA,eACA,CAGJ,qBAEI,cADA,cACA,CAGJ,eAKI,cAHA,eADA,gBAGA,gBADA,iBAEA,CACA,mBACI,mBAKR,iBACI,yBACA,2CAGJ,uBACI,mCACA,6BACA,4BACI,WACA,8CACA,mCACI,mBAKZ,qBAII,uBADA,uBADA,gBADA,cAGA,CAGJ,sBAUI,mBAJA,6BACA,qBAIA,eAHA,aALA,YAMA,uBARA,iBAGA,2BAFA,WAGA,4BAMA,CAEJ,0BAEI,aADA,YACA,CAEJ,4BACI,qCAGJ,0BACI,uBAGJ,kBAGI,mBAFA,aACA,yBAEA,kBAGJ,wBASI,mBAJA,yBACA,qBAFA,eAGA,aACA,uBAEA,gBATA,gBACA,iBASA,iBACA,kBATA,0BASA,CACA,6BAGI,cADA,gBADA,kBAGA,WAEJ,8BACI,qCCvSR,eAII,SAIA,eAFA,kBAJA,UAGA,4DAIA,2BANA,YAIA,YAEA,CAGJ,eACI,yBAGA,yBAKA,oBAHA,sGAJA,WAKA,oBAAoB,CAJpB,gBAKA,gBACA","sources":["index.css","App.scss","informed-style.css","components/Loader/style.css","components/Nav/style.scss","components/Login/style.scss","components/Signup/style.scss","components/Squeak/style.scss","components/SqueakCard/style.scss","components/Profiles/style.scss","components/Payments/style.scss","components/Peers/style.scss","components/Feed/style.scss","components/Search/style.scss","components/Twitter/style.scss","components/Alerts/style.scss"],"sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n /* for scroll bar shift effect when hidding */\n \n}\n\n@media only screen and (min-width: 450px) {\n body{\n width: calc(100vw - 17px);\n }\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n\n* {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n font-family: 'Assistant', sans-serif;\n /* scroll-behavior: smooth; */\n word-break: break-word;\n}\na{\n text-decoration: none;\n color: inherit;\n}\n\n\n/* *{\n background-color: #1a1919 !important;\n fill: aliceblue;\n color: aliceblue !important;\n} */","\r\n.body-wrap{\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n}\r\n\r\n.header{\r\n display: flex;\r\n justify-content: flex-end;\r\n position: relative;\r\n order: -1;\r\n flex-wrap: wrap;\r\n}\r\n\r\n.main{\r\n width: 990px;\r\n display: flex;\r\n justify-content: space-between;\r\n}\r\n\r\n .middle-section{\r\n max-width: 600px;\r\n min-height: 100vh;\r\n }\r\n\r\n .ms-width{\r\n width: 100%;\r\n }\r\n\r\n .right-section{\r\n width: 350px;\r\n margin-right: 10px;\r\n min-height: 1000px;\r\n height: 100%;\r\n }\r\n\r\n.modal-edit{\r\n // display: none;\r\n position: fixed;\r\n z-index: 250;\r\n // padding-top: 100px;\r\n left: 0;\r\n top: 0;\r\n width: 100%;\r\n height: 100%;\r\n overflow: auto;\r\n background-color: rgba(0,0,0,0.4);\r\n}\r\n\r\n.modal-content{\r\n min-height: 400px;\r\n max-height: 90vh;\r\n height: 650px;\r\n width: 100%;\r\n max-width: 600px;\r\n border-radius: 14px;\r\n background-color: #fff;\r\n position: fixed;\r\n top: 50%;\r\n left: 50%;\r\n z-index: 50;\r\n transform: translate(-50%, -50%);\r\n overflow: hidden;\r\n}\r\n\r\n.modal-header{\r\n height: 53px;\r\n z-index: 3;\r\n display: flex;\r\n align-items: center;\r\n padding: 0 15px;\r\n border-bottom: 1px solid rgb(204, 214, 221);\r\n max-width: 1000px;\r\n width: 100%;\r\n\r\n}\r\n\r\n.modal-closeIcon{\r\n display: flex;\r\n justify-content: flex-start;\r\n margin-left: 4px;\r\n align-items: center;\r\n min-width: 59px;\r\n min-height: 30px;\r\n}\r\n\r\n.modal-closeIcon-wrap{\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n transition: 0.2s ease-in-out;\r\n border: 1px solid rgba(0,0,0,0);\r\n border-radius: 9999px;\r\n width: 39px;\r\n height: 39px;\r\n cursor: pointer;\r\n}\r\n\r\n.modal-closeIcon-wrap:hover{\r\n background-color: rgba(29,161,242,0.1);\r\n}\r\n\r\n.modal-closeIcon-wrap svg{\r\n fill: rgb(29, 161, 242);\r\n height: 22.5px;\r\n}\r\n\r\n.modal-title{\r\n font-weight: bold;\r\n font-size: 19px;\r\n width: 100%;\r\n}\r\n\r\n.save-modal-wrapper{\r\n margin-right: 8px;\r\n min-height: 39px;\r\n min-width: 66px;\r\n width: 100%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: flex-end;\r\n}\r\n\r\n.save-modal-btn{\r\n // width: 48px;\r\n min-height: 30px;\r\n transition: 0.2s ease-in-out;\r\n padding: 0 16px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n font-weight: bold;\r\n color: #fff;\r\n background-color: rgb(29,161,242);\r\n border: 1px solid rgba(0,0,0,0);\r\n border-radius: 9999px;\r\n line-height: 20px;\r\n cursor: pointer;\r\n}\r\n\r\n.save-modal-btn:hover{\r\n background-color: rgb(26, 145, 218);\r\n}\r\n\r\n.modal-body{\r\n display: flex;\r\n flex-direction: column;\r\n height: 100%;\r\n\r\n}\r\n\r\n.modal-banner{\r\n max-height: 200px;\r\n height: 200px;\r\n display: flex;\r\n justify-content: center;\r\n border: 2px solid rgba(0, 0, 0, 0);\r\n background-color: rgba(0, 0, 0, 0.3);\r\n position: relative;\r\n}\r\n\r\n.modal-banner img{\r\n max-width: 100%;\r\n width: 100%;\r\n max-height: 100%;\r\n object-fit: cover;\r\n display: block;\r\n opacity: 0.75;\r\n}\r\n\r\n.modal-banner div{\r\n position: absolute;\r\n width: 100%;\r\n height: 100%;\r\n top: 0;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.modal-banner div input{\r\n width: 22.5px;\r\n min-width: 22.5px;\r\n height: 22.5px;\r\n overflow: hidden;\r\n z-index: 20;\r\n padding: 10px 0 10px 30px;\r\n cursor: pointer;\r\n color: inherit;\r\n background-color: initial;\r\n outline: none;\r\n border: initial;\r\n}\r\n\r\n\r\n.modal-banner div svg{\r\n cursor: pointer;\r\n position: absolute;\r\n fill: #fff;\r\n width: 22.5px;\r\n min-width: 22.5px;\r\n height: 22.5px;\r\n}\r\n\r\n.modal-scroll{\r\n overflow-y: scroll;\r\n height: 100%;\r\n margin-bottom: 55px;\r\n}\r\n\r\n.modal-profile-pic{\r\n height: 120px;\r\n width: 120px;\r\n border: 4px solid #fff;\r\n border-radius: 50%;\r\n margin-left: 16px;\r\n margin-top: -48px;\r\n z-index: 5;\r\n background-color: #fff;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n.modal-back-pic{\r\n height: 100%;\r\n width: 100%;\r\n border-radius: 50%;\r\n z-index: 5;\r\n background-color: rgba(0, 0, 0, 1);\r\n position: relative;\r\n}\r\n\r\n.modal-back-pic img{\r\n width: 100%;\r\n height: 100%;\r\n object-fit: cover;\r\n display: block;\r\n opacity: 0.6;\r\n border-radius: 50%;\r\n}\r\n\r\n.modal-back-pic div{\r\n position: absolute;\r\n width: 100%;\r\n height: 100%;\r\n top: 0;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.modal-back-pic div input{\r\n width: 22.5px;\r\n min-width: 22.5px;\r\n height: 22.5px;\r\n overflow: hidden;\r\n z-index: 20;\r\n padding: 10px 0 10px 30px;\r\n cursor: pointer;\r\n color: inherit;\r\n background-color: initial;\r\n outline: none;\r\n border: initial;\r\n}\r\n\r\n\r\n.modal-back-pic div svg{\r\n cursor: pointer;\r\n position: absolute;\r\n fill: #fff;\r\n width: 22.5px;\r\n min-width: 22.5px;\r\n height: 22.5px;\r\n}\r\n\r\n.edit-form{\r\n width: 100%;\r\n}\r\n\r\n.edit-input{\r\n background-color: inherit;\r\n border: inherit;\r\n}\r\n\r\n.edit-input:focus{\r\n background-color: inherit;\r\n border: inherit;\r\n}\r\n\r\n.edit-input-wrap{\r\n padding: 10px 15px;\r\n margin-bottom: 15px;\r\n}\r\n\r\n.edit-input-content{\r\n border-bottom: 1px solid rgb(64, 67, 70);\r\n background-color: rgb(245, 248, 250);\r\n label{\r\n color: rgb(101, 119, 134);\r\n display: block;\r\n padding: 5px 10px 0 10px;\r\n }\r\n input{\r\n width: 100%;\r\n outline: none;\r\n font-size: 19px;\r\n padding: 2px 10px 5px 10px;\r\n }\r\n}\r\n\r\n\r\n//////from home\r\n\r\n\r\n.Squeak-input-wrapper{\r\n padding: 10px 15px 5px 15px;\r\n display: flex;\r\n margin-bottom: 2px;\r\n}\r\n\r\n.Squeak-profile-wrapper{\r\n flex-basis: 49px;\r\n padding-top: 5px;\r\n margin-right: 10px;\r\n img{\r\n object-fit: cover;\r\n }\r\n}\r\n.Squeak-input-side{\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: space-between;\r\n position: static;\r\n width: calc(100% - 49px);\r\n border: 2px solid rgba(0, 0, 0, 0);\r\n border-radius: 5px;\r\n padding-top: 5px;\r\n line-height: 1.3125;\r\n cursor: text;\r\n}\r\n\r\n.inner-input-box{\r\n padding: 10px 0;\r\n font-size: 19px;\r\n color: #9197a3;\r\n position: relative;\r\n}\r\n\r\n.inner-input-box div{\r\n outline: none;\r\n white-space: pre-wrap;\r\n max-width: 506px;\r\n}\r\n\r\n.inner-input-box div:focus{\r\n outline: none;\r\n}\r\n\r\n.inner-input-links{\r\n display: flex;\r\n justify-content: space-between;\r\n margin: 0 2px;\r\n\r\n}\r\n\r\n.input-links-side{\r\n margin-top: 10px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.input-attach-wrapper{\r\n width: 39px;\r\n height: 39px;\r\n cursor: pointer;\r\n padding: 8.3px;\r\n position: relative;\r\n input{\r\n position: absolute;\r\n width: 0.3px;\r\n height: 0.3px;\r\n overflow: hidden;\r\n z-index: 4;\r\n padding-top: 21px;\r\n padding-bottom: 15px;\r\n padding-right: 0px;\r\n padding-left: 32px;\r\n top: 2px;\r\n left: 3px;\r\n cursor: pointer;\r\n outline: none;\r\n color: inherit;\r\n background-color: initial;\r\n border: initial;\r\n text-align: start !important;\r\n }\r\n}\r\n.input-attach-wrapper:hover{\r\n border-radius: 50%;\r\n background-color: rgba(29, 161, 242,0.1);\r\n}\r\n\r\n.squeak-btn-side{\r\n margin-left: 10px;\r\n min-height: 39px;\r\n min-width: calc(62.79px);\r\n background-color: rgb(29, 161, 242);\r\n padding: 0 1em;\r\n border: 1px solid rgba(0, 0, 0, 0);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n color: #fff;\r\n font-weight: 700;\r\n // cursor: pointer;\r\n opacity: 0.5;\r\n transition: 0.15s ease-in-out;\r\n}\r\n\r\n.squeak-btn-active{\r\n cursor: pointer;\r\n opacity: 1;\r\n &:hover{\r\n background-color: rgba(11, 137, 216, 0.876);\r\n }\r\n}\r\n\r\n.Squeak-input-divider{\r\n min-height: 10px;\r\n height: 10px;\r\n background-color: rgb(230, 236, 240);\r\n content: '';\r\n}\r\n\r\n[contenteditable=true]{display: inline-block;}\r\n\r\n[contenteditable=true]:empty:before{\r\n content: attr(placeholder);\r\n pointer-events: none;\r\n display: block; /* For Firefox */\r\n }\r\n\r\n /* */\r\n\r\n [contenteditable=true]:empty:focus{\r\n opacity: 0.7;\r\n }\r\n\r\n .card-content-info{\r\n word-wrap: break-word;\r\n }\r\n\r\n .squeak-input-active{\r\n color: rgb(20, 23, 26);\r\n }\r\n\r\n .squeak-upload-image{\r\n margin-top: 10px;\r\n border-radius: 14px;\r\n max-height: 253px;\r\n width: 100%;\r\n height: 100%;\r\n object-fit: cover;\r\n }\r\n\r\n .inner-image-box{\r\n position: relative;\r\n }\r\n\r\n .cancel-image{\r\n position: absolute;\r\n color: white;\r\n left: 9px;\r\n top: 18px;\r\n width: 33px;\r\n align-items: center;\r\n justify-content: center;\r\n line-height: 23px;\r\n text-align: center;\r\n display: flex;\r\n height: 33px;\r\n background-color: rgba(0, 0, 0, 0.5);\r\n border-radius: 50%;\r\n font-size: 22px;\r\n font-weight: bold;\r\n cursor: pointer;\r\n padding-bottom: 3.5px;\r\n }\r\n\r\n .workInProgress{\r\n max-width: 600px;\r\n border-right: 1px solid rgb(230, 236, 240);\r\n width: 100%;\r\n font-weight: bold;\r\n font-size: 17px;\r\n text-align: center;\r\n padding-top: 20%;\r\n color: #657786;\r\n min-height: 2000px;\r\n }\r\n\r\n// .dark-mode{\r\n// background-color: #1a1919 !important;\r\n// }\r\n\r\n.alert-wrapper{\r\n position: fixed;\r\n top: 0;\r\n\r\n}\r\n\r\n.squeak-btn-holder{\r\n margin-left: 10px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n\r\n.header-back-wrapper{\r\n margin-left: -5px;\r\n width: 39px;\r\n height: 39px;\r\n transition: 0.2s ease-in-out;\r\n will-change: background-color;\r\n border: 1px solid rgba(0, 0, 0, 0);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n cursor: pointer;\r\n}\r\n\r\n\r\n\r\n\r\n@media only screen and (max-width: 1196px) {\r\n .right-section{\r\n width: 290px !important;\r\n }\r\n .main{\r\n width: 920px;\r\n }\r\n }\r\n\r\n@media only screen and (max-width: 1005px) {\r\n .right-section{\r\n display: none;\r\n }\r\n .main{\r\n width: 100%;\r\n }\r\n //flex grow\r\n }\r\n\r\n @media only screen and (max-width: 888px){\r\n .chat-right{\r\n display: none;\r\n }\r\n .messages-wrapper{\r\n width: 100% !important;\r\n }\r\n .messages-header-wrapper{\r\n max-width: 100% !important;\r\n }\r\n .middle-section{\r\n width: 100%;\r\n }\r\n .chat-height{\r\n height: 100vh !important;\r\n }\r\n }\r\n\r\n @media only screen and (max-width: 450px){\r\n\r\n body{\r\n overflow-y: auto !important;\r\n overflow-x: hidden;\r\n width: 100%;\r\n }\r\n\r\n .chat-height {\r\n height: calc(100vh - 46px) !important;\r\n }\r\n .chat-bottom-wrapper{\r\n bottom: 50px !important;\r\n }\r\n\r\n .body-wrap{\r\n flex-direction: column;\r\n }\r\n\r\n .header{\r\n position: sticky;\r\n width: 100vw;\r\n bottom: 0;\r\n height: 53px;\r\n order: 1;\r\n }\r\n\r\n .Nav-component{\r\n width: 100vw;\r\n }\r\n\r\n .Nav-width{\r\n width: 100vw !important;\r\n height: 53px;\r\n }\r\n\r\n .Nav{\r\n top: auto !important;\r\n width: 100vw;\r\n position: relative !important;\r\n }\r\n\r\n .Nav-Content{\r\n width: 100% !important;\r\n display: block;\r\n padding: 0 !important;\r\n height: auto;\r\n overflow: hidden;\r\n }\r\n\r\n .Nav-wrapper{\r\n background-color: #fff;\r\n border-top: 2px solid rgb(245, 248, 250);\r\n display: flex;\r\n align-content: center;\r\n flex-direction: row !important;\r\n margin: 0;\r\n justify-content: space-evenly;\r\n\r\n .Nav-link{\r\n padding: 0;\r\n }\r\n\r\n a:nth-child(1){\r\n display: none;\r\n }\r\n a:nth-child(4){\r\n display: none;\r\n }\r\n a:nth-child(6){\r\n display: none;\r\n }\r\n a:nth-child(9){\r\n display: none;\r\n }\r\n }\r\n\r\n .Nav-squeak{\r\n display: none !important;\r\n }\r\n\r\n .more-menu-content{\r\n top: auto !important;\r\n bottom: 46px !important;\r\n left: 47% !important;\r\n overflow: hidden;\r\n height: 154px;\r\n }\r\n\r\n .more-item{\r\n display: flex !important;\r\n }\r\n}\r\n","\n.informed-input {\n margin-bottom: 1rem;\n}\n\n.informed-input:not([type='checkbox']):not([type='radio']),\n.informed-textarea,\n.informed-select {\n margin-bottom: 1rem;\n margin-top: 1rem;\n display: block;\n border-radius: 20px;\n width: 100%;\n padding: 10px 20px;\n font-weight: 500;\n border: 1px solid transparent;\n max-width: 400px;\n background-color: #f4f4f4;\n}\n\n.radio-label {\n display: block;\n}\n\n.informed-textarea {\n max-width: 100%;\n}\n\n.informed-select {\n /* needed */\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n /* SVG background image */\n background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Ctitle%3Edown-arrow%3C%2Ftitle%3E%3Cg%20fill%3D%22%23000000%22%3E%3Cpath%20d%3D%22M10.293%2C3.293%2C6%2C7.586%2C1.707%2C3.293A1%2C1%2C0%2C0%2C0%2C.293%2C4.707l5%2C5a1%2C1%2C0%2C0%2C0%2C1.414%2C0l5-5a1%2C1%2C0%2C1%2C0-1.414-1.414Z%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E');\n background-size: 0.6em;\n background-position: calc(100% - 1.3em) center;\n background-repeat: no-repeat;\n}\n\n.select:before {\n content: '';\n position: absolute;\n right: 10px;\n top: 8px;\n width: 0;\n height: 0;\n border-left: 10px solid transparent;\n border-right: 10px solid transparent;\n border-top: 10px solid #f00;\n}\n\n.select:after {\n content: '';\n position: absolute;\n right: 10px;\n top: 3px;\n width: 0;\n height: 0;\n border-left: 10px solid transparent;\n border-right: 10px solid transparent;\n border-top: 10px solid #333;\n}\n\n.informed-label {\n /* text-align: left; */\n /* margin-left: 1rem; */\n margin-bottom: 1rem;\n display: block;\n}\n\n\n\n.informed-container {\n padding: 4rem;\n}\n\n.informed-black {\n background-color: rgb(13, 16, 17);\n color: white !important;\n}\n\n.informed-black input:not([type='checkbox']):not([type='radio']),\n.informed-black select,\n.informed-black textarea {\n background-color: #222222;\n color: white;\n}\n\n.informed-black select {\n background-image: url(\"data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Ctitle%3Edown-arrow%3C/title%3E%3Cg fill='%23000000'%3E%3Cpath d='M10.293,3.293,6,7.586,1.707,3.293A1,1,0,0,0,.293,4.707l5,5a1,1,0,0,0,1.414,0l5-5a1,1,0,1,0-1.414-1.414Z' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");\n /* filter: invert(1); */\n}\n","\r\n.loader-wrapper{\r\n position: relative;\r\n height: 50%;\r\n margin: 50px 0;\r\n}\r\n\r\n.loader_svg{\r\n fill: yellow;\r\n enable-background:new 0 0 50 50;\r\n position: absolute;\r\n left: 50%;\r\n top: 15%;\r\n transform: translate(-50%,50%);\r\n}\r\n",".Nav-width{\r\n width: 275px;\r\n position: relative;\r\n}\r\n\r\n.Nav-component{\r\n position: relative;\r\n z-index: 200;\r\n}\r\n\r\n.Nav{\r\n top: 0;\r\n height: 100%;\r\n position: fixed;\r\n display: flex;\r\n align-items: flex-end;\r\n flex-direction: column;\r\n border-right: 1px solid rgb(230, 236, 240);\r\n}\r\n\r\n.Nav-Content{\r\n overflow-y: auto;\r\n display: flex;\r\n flex-direction: column;\r\n width: 275px;\r\n padding-right: 20px;\r\n padding-left: 20px;\r\n // justify-content: space-between;\r\n height: 100%;\r\n}\r\n.Nav-wrapper{\r\n display: flex;\r\n flex-direction: column;\r\n margin-top: 5px;\r\n}\r\n.logo-wrapper{\r\n min-width: 30px;\r\n cursor: pointer;\r\n margin-top: 11.5px;\r\n display: flex;\r\n margin-bottom: 15px;\r\n // align-items: center;\r\n // justify-content: center;\r\n}\r\n\r\n\r\n.Nav-link{\r\n padding: 7px 0;\r\n display: flex;\r\n cursor: pointer;\r\n &:hover{\r\n .Nav-item-hover{\r\n background-color: rgba(29, 29, 29, 0.1);\r\n svg{fill: rgb(29, 29, 29)}\r\n }\r\n }\r\n}\r\n.Nav-item-hover{\r\n svg{fill: rgb(16, 17, 17)}\r\n display: flex;\r\n align-items: center;\r\n padding: 10px;\r\n justify-content: center;\r\n max-width: 100%;\r\n border-radius: 9999px;\r\n transition-property: background-color, box-shadow;\r\n transition-duration: 0.2s;\r\n}\r\n\r\n.Nav-item-hover svg{\r\n width: 26.25px; height:26.25px;\r\n min-width: 26.25px;\r\n}\r\n\r\n.active-Nav{\r\n svg{\r\n fill: rgb(29, 29, 29);\r\n }\r\n .Nav-item{\r\n color: rgb(29, 29, 29);\r\n font-weight: 700;\r\n }\r\n}\r\n\r\n\r\n.Nav-item{\r\n font-size: 21px;\r\n font-weight: 500;\r\n margin-left: 20px;\r\n margin-right: 20px;\r\n}\r\n.Nav-squeak{\r\n width: 100%;\r\n margin-top: 15px;\r\n margin-bottom: 5px;\r\n display: flex;\r\n\r\n}\r\n\r\n.Nav-squeak-link{\r\n width: 90%;\r\n background-color: rgb(29, 161, 242);\r\n box-shadow: rgba(0, 0, 0, 0.08) 0px 8px 28px;\r\n outline-style: none;\r\n transition-property: background-color, box-shadow;\r\n transition-duration: 0.2s;\r\n min-width: 78.89px;\r\n min-height: 49px;\r\n padding-left: 30px;\r\n padding-right: 30px;\r\n border: 1px solid rgba(0, 0, 0, 0);\r\n cursor: pointer;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n border-radius: 9999px;\r\n}\r\n\r\n@media only screen and (max-width: 1286px) {\r\n .Nav-squeak-link{ width: 100%; }\r\n .Nav-squeak{justify-content: center;}\r\n}\r\n.Nav-squeak-btn{\r\n color: #fff;\r\n font-size: 15px;\r\n font-weight: bold;\r\n overflow-wrap: break-word;\r\n text-align: center;\r\n max-width: 100%;\r\n span{\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n }\r\n content: 'Squeak';\r\n}\r\n.btn-show{\r\n display: none;\r\n}\r\n@media only screen and (max-width: 1282px) {\r\n .Nav-squeak-link{\r\n max-width: 49px;\r\n width: 49px;\r\n padding: 0;\r\n min-width: 49px;\r\n }\r\n .btn-hide{\r\n display: none;\r\n }\r\n .btn-show{\r\n display: block;\r\n }\r\n }\r\n.Nav-squeak-btn span svg{\r\n width: 22.25px; height:22.25px;\r\n min-width: 22.25px;\r\n fill: #fff;\r\n}\r\n\r\n.more-menu-background{\r\n position: fixed;\r\n z-index: 20;\r\n left: 0;\r\n top: 0;\r\n width: 100%;\r\n height: 100%;\r\n overflow: auto;\r\n cursor: auto;\r\n}\r\n\r\n.more-modal-wrapper{\r\n position: relative;\r\n width: 100%;\r\n height: 100%;\r\n}\r\n\r\n.more-menu-content{\r\n min-height: 100px;\r\n max-width: 40vw;\r\n max-height: 50vh;\r\n width: 190px;\r\n min-width: 190px;\r\n border-radius: 14px;\r\n background-color: #fff;\r\n position: absolute;\r\n // top: 46.5%;\r\n // left: 26%;\r\n z-index: 1000;\r\n // transform: translate(-50%, -50%);\r\n overflow: hidden;\r\n box-shadow: rgba(101, 119, 134, 0.2) 0px 0px 15px, rgba(101, 119, 134, 0.15) 0px 0px 3px 1px;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n@media only screen and (min-width: 451px){\r\n .more-menu-content{\r\n\r\n height: 104px;\r\n }\r\n}\r\n\r\n.more-menu-item{\r\n border-bottom: 1px solid rgb(245, 248, 250);\r\n padding: 15px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n transition: 0.2 ease-in-out;\r\n cursor: pointer;\r\n &:hover{\r\n background-color: rgb(245, 248, 250);\r\n }\r\n span{\r\n display: flex;\r\n align-items: center;\r\n }\r\n\r\n}\r\n\r\n.more-menu-item svg{\r\n width: 16px;\r\n}\r\n\r\n.more-item{\r\n display: none;\r\n}\r\n\r\n\r\n@media only screen and (max-width: 1282px) {\r\n .Nav-item{\r\n display: none;\r\n }\r\n .Nav-width{\r\n width: 88px;\r\n }\r\n .Nav-Content{\r\n width: 88px;\r\n }\r\n }\r\n",".login-wrapper{\r\n max-width: 600px;\r\n padding: 0 15px;\r\n margin: 20px auto 0 auto;\r\n}\r\n\r\n.login-wrapper svg{\r\n height: 39px;\r\n margin: 0 auto;\r\n display: block;\r\n}\r\n\r\n.login-header{\r\n margin-top: 30px;\r\n font-size: 23px;\r\n margin-bottom: 10px;\r\n font-weight: bold;\r\n text-align: center;\r\n}\r\n\r\n.login-form{\r\n width: 100%;\r\n}\r\n\r\n.login-input{\r\n background-color: inherit;\r\n border: inherit;\r\n}\r\n\r\n.login-input:focus{\r\n background-color: inherit;\r\n border: inherit;\r\n}\r\n\r\n.login-input-wrap{\r\n padding: 10px 15px;\r\n}\r\n\r\n.login-input-content{\r\n border-bottom: 2px solid rgb(64, 67, 70);\r\n background-color: #e3e3e4;\r\n label{\r\n display: block;\r\n padding: 5px 10px 0 10px;\r\n }\r\n input{\r\n width: 100%;\r\n outline: none;\r\n font-size: 19px;\r\n padding: 2px 10px 5px 10px;\r\n }\r\n}\r\n\r\n.login-btn-wrap{\r\n width: calc(100% - 20px);\r\n min-height: 49px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n transition: 0.2s ease-in-out;\r\n margin: 10px;\r\n padding: 0 30px;\r\n border-radius: 9999px;\r\n background-color: rgb(29, 161, 242);\r\n opacity: 0.5;\r\n color: #fff;\r\n font-weight: bold;\r\n outline: none;\r\n border: 1px solid rgba(0,0,0,0);\r\n}\r\n\r\n.signup-option{\r\n margin-top: 20px;\r\n font-size: 15px;\r\n color: rgb(29, 161, 242);\r\n text-align: center;\r\n &:hover{\r\n text-decoration: underline;\r\n cursor: pointer;\r\n }\r\n}\r\n\r\n.button-active{\r\n opacity: 1;\r\n cursor: pointer;\r\n}\r\n\r\n.login-error{\r\n text-align: center;\r\n color: red;\r\n}",".signup-wrapper{\r\n max-width: 600px;\r\n padding: 0 15px;\r\n margin: 20px auto 0 auto;\r\n}\r\n\r\n.signup-wrapper svg{\r\n height: 39px;\r\n margin: 0 auto;\r\n display: block;\r\n}\r\n\r\n.signup-header{\r\n margin-top: 30px;\r\n font-size: 23px;\r\n margin-bottom: 10px;\r\n font-weight: bold;\r\n text-align: center;\r\n}\r\n\r\n.signup-form{\r\n width: 100%;\r\n}\r\n\r\n.signup-input{\r\n background-color: inherit;\r\n border: inherit;\r\n}\r\n\r\n.signup-input:focus{\r\n background-color: inherit;\r\n border: inherit;\r\n}\r\n\r\n.signup-input-wrap{\r\n padding: 10px 15px;\r\n}\r\n\r\n.signup-input-content{\r\n border-bottom: 2px solid rgb(64, 67, 70);\r\n background-color: #e3e3e4;\r\n label{\r\n display: block;\r\n padding: 5px 10px 0 10px;\r\n }\r\n input{\r\n width: 100%;\r\n outline: none;\r\n font-size: 19px;\r\n padding: 2px 10px 5px 10px;\r\n }\r\n}\r\n\r\n.signup-btn-wrap{\r\n width: calc(100% - 20px);\r\n min-height: 49px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n transition: 0.2s ease-in-out;\r\n margin: 10px;\r\n padding: 0 30px;\r\n border-radius: 9999px;\r\n background-color: rgb(29, 161, 242);\r\n opacity: 0.5;\r\n color: #fff;\r\n font-weight: bold;\r\n outline: none;\r\n border: 1px solid rgba(0,0,0,0);\r\n font-size: 16px;\r\n}\r\n\r\n.signup-option{\r\n margin-top: 20px;\r\n font-size: 15px;\r\n color: rgb(29, 161, 242);\r\n text-align: center;\r\n &:hover{\r\n text-decoration: underline;\r\n cursor: pointer;\r\n }\r\n}\r\n\r\n.button-active{\r\n opacity: 1;\r\n cursor: pointer;\r\n}",".squeak-wrapper{\r\n max-width: 600px;\r\n border-right: 1px solid rgb(230, 236, 240);\r\n width: 100%;\r\n height: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.squeak-header-wrapper{\r\n position: sticky;\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n border-left: 1px solid rgb(230, 236, 240);\r\n background-color: #fff;\r\n z-index: 3;\r\n top: 0px;\r\n display: flex;\r\n align-items: center;\r\n cursor: pointer;\r\n height: 53px;\r\n min-height: 53px;\r\n padding-left: 15px;\r\n padding-right: 15px;\r\n max-width: 1000px;\r\n margin: 0 auto;\r\n width: 100%;\r\n}\r\n\r\n.profile-header-back{\r\n min-width: 55px;\r\n min-height: 30px;\r\n justify-content: center;\r\n align-items: flex-start;\r\n}\r\n\r\n.header-back-wrapper{\r\n margin-left: -5px;\r\n width: 39px;\r\n height: 39px;\r\n transition: 0.2s ease-in-out;\r\n will-change: background-color;\r\n border: 1px solid rgba(0, 0, 0, 0);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n.header-back-wrapper svg{\r\n height: 1.5em;\r\n fill: rgb(29,161,242);\r\n}\r\n\r\n.squeak-header-content{\r\n font-weight: 800;\r\n font-size: 19px;\r\n}\r\n\r\n.squeak-body-wrapper{\r\n padding: 0 15px;\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n // overflow: hidden; causing squeak page info to cuttoff\r\n}\r\n\r\n.missing-squeak{\r\n background-color: rgb(211,211,211);\r\n}\r\n\r\n.squeak-header-content{\r\n margin-top: 10px;\r\n margin-bottom: 10px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.squeak-user-pic{\r\n flex-basis: 49px;\r\n margin-right: 10px;\r\n img{\r\n object-fit: cover;\r\n }\r\n}\r\n\r\n.squeak-user-wrap{\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center\r\n}\r\n\r\n.squeak-user-name{\r\n font-size: 16px;\r\n font-weight: bold;\r\n cursor: pointer;\r\n &:hover{\r\n text-decoration: underline;\r\n }\r\n}\r\n\r\n.squeak-username{\r\n font-size: 15.5px;\r\n font-weight: 400;\r\n color: rgb(101, 119, 134);\r\n}\r\n\r\n.squeak-content{\r\n margin-top: 10px;\r\n font-size: 23px;\r\n margin-bottom: 10px;\r\n word-break: break-word;\r\n}\r\n\r\n.locked-content{\r\n text-align: center;\r\n border-style: solid;\r\n border-radius: 25px;\r\n background-color: rgb(211,211,211);\r\n}\r\n\r\n.squeak-date{\r\n margin: 15px 0;\r\n font-size: 15px;\r\n color: rgb(101, 119, 134);\r\n}\r\n\r\n.squeak-stats{\r\n display: flex;\r\n padding: 15px 5px;\r\n border-top: 1px solid rgb(230, 236, 240);\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n div{\r\n display: flex;\r\n cursor: pointer;\r\n &:hover{\r\n text-decoration: underline;\r\n }\r\n }\r\n}\r\n\r\n.int-num{\r\n font-weight: bold;\r\n margin-right: 5px;\r\n cursor: pointer;\r\n}\r\n\r\n.int-text{\r\n color: rgb(101, 119, 134);\r\n margin-right: 20px;\r\n cursor: pointer;\r\n}\r\n\r\n.squeak-interactions{\r\n display: flex;\r\n justify-content: space-evenly;\r\n\r\n}\r\n\r\n.squeak-int-icon{\r\n min-height: 49px;\r\n width: 100%;\r\n padding: 0 5px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.card-icon svg{\r\n height: 22.5px;\r\n width: 22.5px;\r\n fill: rgb(101, 119, 134);\r\n}\r\n//////////////////////@exten\r\n\r\n.squeak-replies-wrapper{\r\n padding: 10px 15px 0 15px;\r\n transition: 0.2s ease-in-out;\r\n display: flex;\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n cursor: pointer;\r\n &:hover{\r\n background-color: rgb(245, 248, 250);\r\n }\r\n}\r\n\r\n\r\n.reply-squeak-username{\r\n font-size: 15.5px;\r\n margin-right: 5px;\r\n color: rgb(101, 119, 134);\r\n}\r\n\r\n.main-squeak-user{\r\n color: rgb(27, 149, 224);\r\n &:hover{ text-decoration: underline;}\r\n}\r\n\r\n.card-icon{\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n padding: 7.4px;\r\n border-radius: 50%;\r\n transition: 0.2s ease-in-out;\r\n will-change: background-color;\r\n cursor: pointer;\r\n}\r\n\r\n\r\n.reply-icon:hover{\r\n background-color: rgba(29, 161, 242,0.1);\r\n svg{ fill: rgb(29, 161, 242) !important; }\r\n}\r\n.resqueak-icon:hover{\r\n background-color: rgba(23, 191, 99,0.1);\r\n svg{ fill: rgb(23, 191, 99) !important; }\r\n}\r\n.heart-icon:hover{\r\n\r\n background-color: rgba(224, 36, 94,0.1);\r\n svg{ fill: rgb(224, 36, 94) !important; }\r\n}\r\n.share-icon:hover{\r\n background-color: rgba(29, 161, 242,0.1);\r\n svg{ fill: rgb(29, 161, 242) !important; }\r\n}\r\n.delete-icon:hover{\r\n background-color: rgba(212, 11, 11, 0.1);\r\n svg{ fill: red !important; }\r\n}\r\n\r\n.reply-int svg{\r\n display: flex;\r\n align-items: center;\r\n height: 18.75px;\r\n width: 18.75px;\r\n fill: rgb(101, 119, 134);\r\n}\r\n\r\n.card-icon-value{\r\n margin-left: 3px;\r\n font-size: 13px;\r\n}\r\n\r\n.resqueak-int:hover{\r\n color: rgb(23, 191, 99);\r\n}\r\n.heart-int:hover{\r\n color: rgb(224, 36, 94);\r\n}\r\n\r\n\r\n\r\n////////////@extend\r\n.squeak-image-wrapper{\r\n overflow: hidden;\r\n max-height: 730px;\r\n\r\n div{\r\n border-radius: 14px;\r\n background-position: center center;\r\n background-repeat: no-repeat;\r\n width: 100%;\r\n height: 100%;\r\n top: 0px;\r\n left: 0px;\r\n right: 0px;\r\n bottom: 0px;\r\n background-size: cover;\r\n }\r\n}\r\n\r\n.squeak-unlock-button{\r\n min-height: 39px;\r\n min-width: 98.8px;\r\n transition: 0.2s ease-in-out;\r\n cursor: pointer;\r\n border: 1px solid rgb(29, 161, 242);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n margin-left: 7px;\r\n padding-left: 1em;\r\n padding-right: 1em;\r\n span{\r\n text-align: center;\r\n font-weight: 800;\r\n color: rgb(29, 161, 242);\r\n width: 100%\r\n }\r\n &:hover{\r\n background-color: rgba(29, 161, 242,0.1);\r\n }\r\n}\r\n",".Squeak-card-wrapper{\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n display: flex;\r\n transition: 0.2s ease-in-out;\r\n will-change: background-color;\r\n cursor: pointer;\r\n padding: 10px 15px;\r\n &:hover{\r\n background-color: rgb(245,248,250);\r\n }\r\n}\r\n\r\n.card-userPic-wrapper{\r\n flex-basis: 49px;\r\n margin-right: 10px;\r\n display: flex;\r\n flex-direction: column;\r\n\r\n}\r\n\r\n.card-userPic{\r\n img{\r\n object-fit: cover;\r\n border-radius: 50%;\r\n min-width: 49px;\r\n\r\n -webkit-transition: all 1s ease;\r\n -moz-transition: all 1s ease;\r\n -o-transition: all 1s ease;\r\n -ms-transition: all 1s ease;\r\n transition: all 1s ease;\r\n }\r\n}\r\n\r\n.card-userPic:hover{\r\n img{\r\n -webkit-filter: brightness(70%);\r\n filter: brightness(70%);\r\n }\r\n}\r\n\r\n.card-content-wrapper{\r\n // overflow: hidden; removed it caused hover icons to cuttoff\r\n max-width: calc(100% - 60px);\r\n flex-basis: calc(100% - 49px);\r\n}\r\n\r\n.missing-squeak{\r\n background-color: rgb(211,211,211);\r\n}\r\n\r\n.card-content-header{\r\n margin-bottom: 2px;\r\n display: flex;\r\n justify-content: space-between;\r\n}\r\n\r\n\r\n.card-header-user:hover{\r\n text-decoration: underline;\r\n}\r\n\r\n\r\n.card-header-date{\r\n &:hover{\r\n text-decoration: underline;\r\n }\r\n}\r\n\r\n.card-header-user{\r\n font-weight: bold;\r\n}\r\n\r\n.card-header-username{\r\n margin-left: 5px;\r\n color: rgb(101, 119, 134)\r\n}\r\n\r\n.card-header-dot{\r\n padding: 0 5px;\r\n color: rgb(101, 119, 134)\r\n}\r\n\r\n.card-header-date{\r\n color: rgb(101, 119, 134)\r\n\r\n}\r\n\r\n.card-header-more{\r\n\r\n}\r\n\r\n.card-content-images{\r\n margin-top: 10px;\r\n border: 1px solid rgb(204, 214, 221);\r\n border-radius: 14px;\r\n // display: flex;\r\n // flex-direction: column;\r\n\r\n}\r\n\r\n.card-image-link{\r\n cursor: pointer;\r\n display: block;\r\n max-height: 253px;\r\n border-radius: 14px;\r\n\r\n img{\r\n max-height:253px;\r\n border-radius: 14px;\r\n width: 100%;\r\n height: 100%;\r\n object-fit: cover;\r\n }\r\n}\r\n\r\n.card-buttons-wrapper{\r\n margin-left: -5px;\r\n margin-top: 5px;\r\n max-width: 425px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n margin-bottom: -5px;\r\n}\r\n\r\n.card-button-wrap{\r\n display: flex;\r\n justify-content: flex-start;\r\n align-items: center;\r\n color: rgb(134, 120, 101);\r\n &:hover{\r\n .reply-icon{\r\n .card-button-wrap{color: rgb(212, 11, 11) !important}\r\n background-color: rgba(29, 161, 242,0.1);\r\n svg{ fill: rgb(29, 161, 242) !important; }\r\n }\r\n .resqueak-icon{\r\n background-color: rgba(23, 191, 99,0.1);\r\n svg{ fill: rgb(23, 191, 99) !important; }\r\n }\r\n .heart-icon{\r\n\r\n background-color: rgba(224, 36, 94,0.1);\r\n svg{ fill: rgb(224, 36, 94) !important; }\r\n }\r\n .share-icon{\r\n background-color: rgba(29, 161, 242,0.1);\r\n svg{ fill: rgb(29, 161, 242) !important; }\r\n }\r\n .delete-icon{\r\n background-color: rgba(212, 11, 11, 0.1);\r\n svg{ fill: rgb(212, 11, 11) !important; }\r\n }\r\n }\r\n}\r\n\r\n.reply-wrap:hover{\r\n color: rgb(29, 161, 242);\r\n}\r\n.resqueak-wrap:hover{\r\n color: rgb(23, 191, 99);\r\n}\r\n.heart-wrap:hover{\r\n color: rgb(224, 36, 94);\r\n}\r\n\r\n.card-icon{\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n padding: 7.4px;\r\n border-radius: 50%;\r\n transition: 0.2s ease-in-out;\r\n will-change: background-color;\r\n}\r\n\r\n.card-icon svg{\r\n width: 18.75px;\r\n height: 18.75px;\r\n}\r\n\r\n.card-icon-value{\r\n margin-left: 3px;\r\n font-size: 13px;\r\n\r\n}\r\n\r\n\r\n/////////reply modal\r\n.reply-content-wrapper{\r\n display: flex;\r\n padding: 10px 15px;\r\n}\r\n\r\n\r\n.reply-squeak-username{\r\n font-size: 15.5px;\r\n margin-right: 5px;\r\n color: rgb(101, 119, 134);\r\n}\r\n\r\n.main-squeak-user{\r\n color: rgb(27, 149, 224);\r\n &:hover{ text-decoration: underline;}\r\n}\r\n\r\n.reply-to-user{\r\n margin-top: 15px;\r\n}\r\n\r\n// .reply-thread{\r\n// border-right: 2px solid #ccd6dd;\r\n// text-align: center;\r\n// height: 100%;\r\n// width: 100%;\r\n// }\r\n\r\n\r\n.replyTo-wrapper{\r\n margin-bottom: 2px;\r\n}\r\n\r\n.user-resqueak-icon{\r\n display: flex;\r\n justify-content: flex-end;\r\n margin-bottom: 5px;\r\n}\r\n\r\n.user-resqueak-icon svg{\r\n width: 13px;\r\n height: 18.75px;\r\n fill: rgb(101, 119, 134);\r\n}\r\n\r\n.user-resqueaked{\r\n color: rgb(101, 119, 134);\r\n font-size: 13px;\r\n margin-bottom: 5px;\r\n &:hover{\r\n text-decoration: underline;\r\n }\r\n}\r\n\r\n.squeak-reply-thread{\r\n margin-top: 2px;\r\n width: 2px;\r\n background-color: rgb(204, 214, 221);\r\n margin: 0 auto;\r\n height: 100%;\r\n margin-top: -5px;\r\n margin-bottom: -20px;\r\n}\r\n\r\n.user-replied{\r\n color: rgb(101, 119, 134);\r\n font-size: 13px;\r\n margin-bottom: 5px;\r\n &:hover{\r\n text-decoration: underline;\r\n }\r\n}\r\n\r\n.card-content-locked-content{\r\n text-align: center;\r\n border-style: solid;\r\n border-radius: 25px;\r\n background-color: rgb(211,211,211);\r\n}\r\n",".explore-wrapper{\r\n max-width: 600px;\r\n border-right: 1px solid rgb(230, 236, 240);\r\n width: 100%;\r\n // height: 100vh;\r\n display: flex;\r\n flex-direction: column;\r\n min-height: 2000px;\r\n}\r\n\r\n\r\n.explore-header{\r\n position: sticky;\r\n border-left: 1px solid rgb(230, 236, 240);\r\n background-color: #fff;\r\n z-index: 8;\r\n top: 0px;\r\n display: flex;\r\n align-items: center;\r\n height: 53px;\r\n min-height: 53px;\r\n padding-left: 15px;\r\n padding-right: 15px;\r\n max-width: 600px;\r\n margin: 0 auto;\r\n width: 100%;\r\n}\r\n\r\n.header-border{\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n}\r\n\r\n.explore-search-wrapper{\r\n background-color: rgb(230, 236, 240);\r\n border: 1px solid transparent;\r\n border-radius: 9999px;\r\n display: flex;\r\n align-items: center;\r\n min-height: 38px;\r\n width: 100%;\r\n\r\n}\r\n\r\n.explore-search-icon{\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.explore-search-icon svg{\r\n width: 40px;\r\n height: 18.75px;\r\n fill: rgb(101, 119, 134);\r\n padding-left: 10px;\r\n}\r\n\r\n.explore-search-input{\r\n width: 100%;\r\n}\r\n\r\n.explore-search-input input{\r\n background-color: inherit;\r\n border: inherit;\r\n padding: 6px 10px;\r\n width: 100%;\r\n font-size: 15px;\r\n color: rgb(101, 119, 134);\r\n outline: none;\r\n}\r\n\r\n.explore-nav-menu{\r\n margin-top: 10px;\r\n display: flex;\r\n justify-content: space-around;\r\n align-items: center;\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n}\r\n\r\n.explore-nav-item{\r\n padding: 15px;\r\n width: 100%;\r\n text-align: center;\r\n cursor: pointer;\r\n font-weight: bold;\r\n color: rgb(101, 119, 134);\r\n transition: 0.2s;\r\n will-change: background-color;\r\n box-sizing:border-box;\r\n border-bottom: 2px solid transparent;\r\n &:hover{\r\n background-color: rgba(29, 161, 242, 0.1);\r\n color: rgb(29, 161, 242);\r\n }\r\n}\r\n\r\n.activeTab{\r\n border-bottom: 2px solid rgb(29, 161, 242);\r\n color: rgb(29, 161, 242);\r\n}\r\n\r\n.search-result-wapper{\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n padding: 10px 15px;\r\n transition: 0.2s;\r\n cursor: pointer;\r\n display: flex;\r\n &:hover{\r\n background-color: rgb(245,248,250);\r\n }\r\n}\r\n\r\n.search-userPic-wrapper{\r\n flex-basis: 49px;\r\n margin-right: 10px;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.search-userPic{\r\n img{\r\n object-fit: cover;\r\n border-radius: 50%;\r\n min-width: 49px;\r\n\r\n -webkit-transition: all 1s ease;\r\n -moz-transition: all 1s ease;\r\n -o-transition: all 1s ease;\r\n -ms-transition: all 1s ease;\r\n transition: all 1s ease;\r\n }\r\n}\r\n\r\n.search-userPic:hover{\r\n img{\r\n -webkit-filter: brightness(70%);\r\n filter: brightness(70%);\r\n }\r\n}\r\n\r\n.search-user-details{\r\n display: flex;\r\n flex-direction: column;\r\n width: 100%;\r\n}\r\n\r\n.search-user-info{\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.search-user-name{\r\n font-weight: bold;\r\n}\r\n\r\n.search-user-username{\r\n color: rgb(101, 119, 134);\r\n line-height: 1;\r\n}\r\n\r\n.search-user-bio{\r\n margin-top: 7px;\r\n}\r\n\r\n.search-user-warp{\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n\r\n.follow-btn-wrap{\r\n min-height: 30px;\r\n min-width: 70px;\r\n transition: 0.2s ease-in-out;\r\n cursor: pointer;\r\n border: 1px solid #1da1f2;\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n padding-left: 1em;\r\n padding-right: 1em;\r\n &:hover{\r\n background-color: rgba(29, 161, 242, 0.1);\r\n }\r\n}\r\n\r\n.follow-btn-wrap span{\r\n text-align: center;\r\n font-weight: 800;\r\n color: #1da1f2;\r\n width: 100%;\r\n}\r\n\r\n\r\n\r\n.trending-card-wrapper{\r\n border-bottom: 1px solid rgb(245,248,250);\r\n padding: 10px 15px;\r\n transition: 0.2s;\r\n cursor: pointer;\r\n display: flex;\r\n flex-direction: column;\r\n &:hover{\r\n background-color: rgb(245, 248, 250);\r\n }\r\n}\r\n\r\n.trending-card-header{\r\n color: rgb(101, 119, 134);\r\n font-size: 14px;\r\n span{\r\n padding: 0 3px;\r\n }\r\n}\r\n\r\n.trending-card-content{\r\n font-weight: bold;\r\n font-size: 19px;\r\n padding-top: 2px;\r\n padding-bottom: 2px;\r\n}\r\n\r\n.trending-card-count{\r\n font-size: 15px;\r\n color: rgb(101, 119, 134);\r\n}\r\n\r\n.try-searching{\r\n font-weight: bold;\r\n font-size: 17px;\r\n text-align: center;\r\n margin-top: 40px;\r\n color: #657786;\r\n div{\r\n margin-bottom: 15px;\r\n }\r\n}\r\n\r\n\r\n.unfollow-switch{\r\n background-color: rgb(29, 161, 242);\r\n span{color: #fff !important;}\r\n}\r\n\r\n.unfollow-switch:hover{\r\n background-color: rgb(202,32,85) !important;\r\n border: 1px solid transparent;\r\n span{\r\n color: #fff;\r\n span{display: none;}\r\n &:before{\r\n content: 'Unfollow';\r\n }\r\n }\r\n}\r\n\r\n.explore-header-back{\r\n min-width: 55px;\r\n min-height: 30px;\r\n justify-content: center;\r\n align-items: flex-start;\r\n}\r\n\r\n.explore-back-wrapper{\r\n margin-left: -5px;\r\n width: 39px;\r\n height: 39px;\r\n transition: 0.2s ease-in-out;\r\n will-change: background-color;\r\n border: 1px solid rgba(0, 0, 0, 0);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n cursor: pointer;\r\n}\r\n.explore-back-wrapper svg{\r\n height: 1.5em;\r\n fill: rgb(29,161,242);\r\n}\r\n.explore-back-wrapper:hover{\r\n background-color: rgba(29,161,242,0.1);\r\n}\r\n\r\n.profiles-details-wrapper{\r\n padding: 10px 15px 15px 15px;\r\n}\r\n\r\n.profiles-options{\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\r\n position: relative;\r\n}\r\n\r\n.profiles-create-button{\r\n min-height: 39px;\r\n min-width: 98.8px;\r\n transition: 0.2s ease-in-out;\r\n cursor: pointer;\r\n border: 1px solid rgb(29, 161, 242);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n margin-left: 7px;\r\n padding-left: 1em;\r\n padding-right: 1em;\r\n span{\r\n text-align: center;\r\n font-weight: 800;\r\n color: rgb(29, 161, 242);\r\n width: 100%\r\n }\r\n &:hover{\r\n background-color: rgba(29, 161, 242,0.1);\r\n }\r\n}\r\n",".explore-wrapper{\r\n max-width: 600px;\r\n border-right: 1px solid rgb(230, 236, 240);\r\n width: 100%;\r\n // height: 100vh;\r\n display: flex;\r\n flex-direction: column;\r\n min-height: 2000px;\r\n}\r\n\r\n\r\n.explore-header{\r\n position: sticky;\r\n border-left: 1px solid rgb(230, 236, 240);\r\n background-color: #fff;\r\n z-index: 8;\r\n top: 0px;\r\n display: flex;\r\n align-items: center;\r\n height: 53px;\r\n min-height: 53px;\r\n padding-left: 15px;\r\n padding-right: 15px;\r\n max-width: 600px;\r\n margin: 0 auto;\r\n width: 100%;\r\n}\r\n\r\n.header-border{\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n}\r\n\r\n.explore-search-wrapper{\r\n background-color: rgb(230, 236, 240);\r\n border: 1px solid transparent;\r\n border-radius: 9999px;\r\n display: flex;\r\n align-items: center;\r\n min-height: 38px;\r\n width: 100%;\r\n\r\n}\r\n\r\n.explore-search-icon{\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.explore-search-icon svg{\r\n width: 40px;\r\n height: 18.75px;\r\n fill: rgb(101, 119, 134);\r\n padding-left: 10px;\r\n}\r\n\r\n.explore-search-input{\r\n width: 100%;\r\n}\r\n\r\n.explore-search-input input{\r\n background-color: inherit;\r\n border: inherit;\r\n padding: 6px 10px;\r\n width: 100%;\r\n font-size: 15px;\r\n color: rgb(101, 119, 134);\r\n outline: none;\r\n}\r\n\r\n.explore-nav-menu{\r\n margin-top: 10px;\r\n display: flex;\r\n justify-content: space-around;\r\n align-items: center;\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n}\r\n\r\n.explore-nav-item{\r\n padding: 15px;\r\n width: 100%;\r\n text-align: center;\r\n cursor: pointer;\r\n font-weight: bold;\r\n color: rgb(101, 119, 134);\r\n transition: 0.2s;\r\n will-change: background-color;\r\n box-sizing:border-box;\r\n border-bottom: 2px solid transparent;\r\n &:hover{\r\n background-color: rgba(29, 161, 242, 0.1);\r\n color: rgb(29, 161, 242);\r\n }\r\n}\r\n\r\n.activeTab{\r\n border-bottom: 2px solid rgb(29, 161, 242);\r\n color: rgb(29, 161, 242);\r\n}\r\n\r\n.payment-wapper{\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n padding: 10px 15px;\r\n transition: 0.2s;\r\n display: flex;\r\n &:hover{\r\n background-color: rgb(245,248,250);\r\n }\r\n}\r\n\r\n.search-userPic-wrapper{\r\n flex-basis: 49px;\r\n margin-right: 10px;\r\n img{\r\n object-fit: cover;\r\n }\r\n}\r\n\r\n.search-user-details{\r\n display: flex;\r\n flex-direction: column;\r\n width: 100%;\r\n}\r\n\r\n.search-user-info{\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.payment-price{\r\n font-weight: bold;\r\n}\r\n\r\n.payment-squeak-hash{\r\n color: rgb(101, 119, 134);\r\n line-height: 1;\r\n}\r\n\r\n.payment-peer-address{\r\n color: rgb(101, 119, 134);\r\n line-height: 1;\r\n}\r\n\r\n.payment-lightning-node{\r\n color: rgb(101, 119, 134);\r\n line-height: 1;\r\n}\r\n\r\n.payment-time{\r\n color: rgb(101, 119, 134);\r\n line-height: 1;\r\n font-weight: bold;\r\n}\r\n\r\n.search-user-bio{\r\n margin-top: 7px;\r\n}\r\n\r\n.search-user-warp{\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n\r\n.follow-btn-wrap{\r\n min-height: 30px;\r\n min-width: 70px;\r\n transition: 0.2s ease-in-out;\r\n cursor: pointer;\r\n border: 1px solid #1da1f2;\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n padding-left: 1em;\r\n padding-right: 1em;\r\n &:hover{\r\n background-color: rgba(29, 161, 242, 0.1);\r\n }\r\n}\r\n\r\n.follow-btn-wrap span{\r\n text-align: center;\r\n font-weight: 800;\r\n color: #1da1f2;\r\n width: 100%;\r\n}\r\n\r\n\r\n\r\n.trending-card-wrapper{\r\n border-bottom: 1px solid rgb(245,248,250);\r\n padding: 10px 15px;\r\n transition: 0.2s;\r\n cursor: pointer;\r\n display: flex;\r\n flex-direction: column;\r\n &:hover{\r\n background-color: rgb(245, 248, 250);\r\n }\r\n}\r\n\r\n.trending-card-header{\r\n color: rgb(101, 119, 134);\r\n font-size: 14px;\r\n span{\r\n padding: 0 3px;\r\n }\r\n}\r\n\r\n.trending-card-content{\r\n font-weight: bold;\r\n font-size: 19px;\r\n padding-top: 2px;\r\n padding-bottom: 2px;\r\n}\r\n\r\n.trending-card-count{\r\n font-size: 15px;\r\n color: rgb(101, 119, 134);\r\n}\r\n\r\n.try-searching{\r\n font-weight: bold;\r\n font-size: 17px;\r\n text-align: center;\r\n margin-top: 40px;\r\n color: #657786;\r\n div{\r\n margin-bottom: 15px;\r\n }\r\n}\r\n\r\n\r\n.unfollow-switch{\r\n background-color: rgb(29, 161, 242);\r\n span{color: #fff !important;}\r\n}\r\n\r\n.unfollow-switch:hover{\r\n background-color: rgb(202,32,85) !important;\r\n border: 1px solid transparent;\r\n span{\r\n color: #fff;\r\n span{display: none;}\r\n &:before{\r\n content: 'Unfollow';\r\n }\r\n }\r\n}\r\n\r\n.explore-header-back{\r\n min-width: 55px;\r\n min-height: 30px;\r\n justify-content: center;\r\n align-items: flex-start;\r\n}\r\n\r\n.explore-back-wrapper{\r\n margin-left: -5px;\r\n width: 39px;\r\n height: 39px;\r\n transition: 0.2s ease-in-out;\r\n will-change: background-color;\r\n border: 1px solid rgba(0, 0, 0, 0);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n cursor: pointer;\r\n}\r\n.explore-back-wrapper svg{\r\n height: 1.5em;\r\n fill: rgb(29,161,242);\r\n}\r\n.explore-back-wrapper:hover{\r\n background-color: rgba(29,161,242,0.1);\r\n}\r\n\r\n.profiles-details-wrapper{\r\n padding: 10px 15px 15px 15px;\r\n}\r\n\r\n.profiles-options{\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\r\n position: relative;\r\n}\r\n\r\n.profiles-create-button{\r\n min-height: 39px;\r\n min-width: 98.8px;\r\n transition: 0.2s ease-in-out;\r\n cursor: pointer;\r\n border: 1px solid rgb(29, 161, 242);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n margin-left: 7px;\r\n padding-left: 1em;\r\n padding-right: 1em;\r\n span{\r\n text-align: center;\r\n font-weight: 800;\r\n color: rgb(29, 161, 242);\r\n width: 100%\r\n }\r\n &:hover{\r\n background-color: rgba(29, 161, 242,0.1);\r\n }\r\n}\r\n\r\n.payments-header-wrapper{\r\n position: sticky;\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n border-left: 1px solid rgb(230, 236, 240);\r\n background-color: #fff;\r\n z-index: 8;\r\n top: 0px;\r\n display: flex;\r\n align-items: center;\r\n cursor: pointer;\r\n height: 53px;\r\n min-height: 53px;\r\n padding-left: 15px;\r\n padding-right: 15px;\r\n max-width: 1000px;\r\n margin: 0 auto;\r\n width: 100%;\r\n}\r\n\r\n.payments-header-content{\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.payments-header-name{\r\n font-weight: 800;\r\n font-size: 19px;\r\n}\r\n","\n.peers-header-wrapper{\n position: sticky;\n border-bottom: 1px solid rgb(230, 236, 240);\n border-left: 1px solid rgb(230, 236, 240);\n background-color: #fff;\n z-index: 8;\n top: 0px;\n display: flex;\n align-items: center;\n cursor: pointer;\n height: 53px;\n min-height: 53px;\n padding-left: 15px;\n padding-right: 15px;\n max-width: 1000px;\n margin: 0 auto;\n width: 100%;\n}\n\n.peers-header-content{\n display: flex;\n flex-direction: column;\n}\n\n.peers-header-name{\n font-weight: 800;\n font-size: 19px;\n}\n\n\n.enable-btn-wrap{\n min-height: 30px;\n min-width: 70px;\n transition: 0.2s ease-in-out;\n cursor: pointer;\n border: 1px solid #1da1f2;\n border-radius: 9999px;\n display: flex;\n justify-content: center;\n align-items: center;\n padding-left: 1em;\n padding-right: 1em;\n &:hover{\n background-color: rgba(29, 161, 242, 0.1);\n }\n}\n\n.enable-btn-wrap span{\n text-align: center;\n font-weight: 800;\n color: #1da1f2;\n width: 100%;\n}\n\n.disable-switch{\n background-color: rgb(29, 161, 242);\n span{color: #fff !important;}\n}\n\n.disable-switch:hover{\n background-color: rgb(202,32,85) !important;\n border: 1px solid transparent;\n span{\n color: #fff;\n span{display: none;}\n &:before{\n content: 'Disable';\n }\n }\n}\n\n\n.float-container {\n display: flex; /* ADDED */\n align-items: center; /* ADDED */\n width: 100%;\n}\n\n.float-child {\n position: relative;\n float: left;\n width: 730px;\n}\n",".feed-wrapper{\r\n display: flex;\r\n justify-content: center;\r\n flex-direction: column;\r\n position: sticky;\r\n top: 5px;\r\n}\r\n\r\n.feed-trending-card{\r\n width: 100%;\r\n background-color: rgb(245, 248, 250);\r\n margin-top: 10px;\r\n margin-bottom: 15px;\r\n border: 1px solid rgb(245, 248, 250);\r\n border-top-left-radius: 14px;\r\n border-top-right-radius: 14px;\r\n border-bottom-left-radius: 14px;\r\n border-bottom-right-radius: 14px;\r\n}\r\n\r\n.feed-card-header{\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n padding: 10px 15px;\r\n display: flex;\r\n align-items: center;\r\n font-size: 19px;\r\n font-weight: bold;\r\n}\r\n\r\n.feed-card-trend{\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n padding: 10px 15px;\r\n cursor: pointer;\r\n transition: 0.2s ease-in-out;\r\n &:hover{\r\n background-color: rgba(0, 0, 0, 0.03);\r\n }\r\n div:nth-child(1){\r\n font-size: 13px;\r\n color: rgb(101, 119, 134);\r\n }\r\n div:nth-child(2){\r\n font-size: 15px;\r\n color: rgb(20, 23, 26);\r\n font-weight: bold;\r\n padding-top: 2px;\r\n }\r\n div:nth-child(3){\r\n font-size: 15px;\r\n color: rgb(101, 119, 134);\r\n padding-top: 2px;\r\n }\r\n}\r\n\r\n.feed-more{\r\n padding: 15px;\r\n transition: 0.2s ease-in-out;\r\n cursor: pointer;\r\n font-size: 15px;\r\n color: rgb(29,161,242);\r\n}\r\n\r\n\r\n////@extend\r\n\r\n.sugg-result-wapper{\r\n cursor: pointer;\r\n display: flex;\r\n \r\n}\r\n\r\n.search-userPic-wrapper{\r\n flex-basis: 49px;\r\n margin-right: 10px; \r\n}\r\n\r\n.search-user-details{\r\n display: flex;\r\n flex-direction: column;\r\n width: 100%;\r\n}\r\n\r\n.search-user-info{\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.search-user-name{\r\n font-weight: bold;\r\n color: rgb(20, 23, 26) !important;\r\n font-weight: 600 !important;\r\n}\r\n\r\n.search-user-username{\r\n color: #657786 !important;\r\n font-weight: 400 !important;\r\n line-height: 1;\r\n}\r\n\r\n.search-user-bio{\r\n margin-top: 7px;\r\n}\r\n\r\n.search-user-warp{\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n\r\n.follow-btn-wrap{\r\n min-height: 30px;\r\n min-width: 70px;\r\n transition: 0.2s ease-in-out;\r\n cursor: pointer;\r\n border: 1px solid #1da1f2;\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n padding-left: 1em;\r\n padding-right: 1em;\r\n &:hover{\r\n background-color: rgba(29, 161, 242, 0.1);\r\n }\r\n}\r\n\r\n.follow-btn-wrap span{\r\n text-align: center;\r\n font-weight: 800;\r\n color: #1da1f2;\r\n width: 100%;\r\n}",".Home-wrapper{\r\n max-width: 600px;\r\n border-right: 1px solid rgb(230, 236, 240);\r\n width: 100%;\r\n //but doesnt show when there are less elements\r\n // height: 100vh;\r\n display: flex;\r\n flex-direction: column;\r\n min-height: 2000px;\r\n}\r\n\r\n.Home-header-wrapper{\r\n position: sticky;\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n border-left: 1px solid rgb(230, 236, 240);\r\n background-color: rgb(255, 255, 255);\r\n z-index: 3;\r\n top: 0px;\r\n display: flex;\r\n align-items: center;\r\n cursor: pointer;\r\n height: 53px;\r\n min-height: 53px;\r\n padding-left: 15px;\r\n padding-right: 15px;\r\n max-width: 1000px;\r\n margin: 0 auto;\r\n width: 100%;\r\n}\r\n\r\n.Home-header{\r\n font-weight: 800;\r\n font-size: 19px;\r\n color: rgb(20, 23, 26);\r\n line-height: 1.3125;\r\n}\r\n\r\n.blue{\r\n color: rgb(29, 161, 242);\r\n}",".explore-wrapper{\r\n max-width: 600px;\r\n border-right: 1px solid rgb(230, 236, 240);\r\n width: 100%;\r\n // height: 100vh;\r\n display: flex;\r\n flex-direction: column;\r\n min-height: 2000px;\r\n}\r\n\r\n\r\n.explore-header{\r\n position: sticky;\r\n border-left: 1px solid rgb(230, 236, 240);\r\n background-color: #fff;\r\n z-index: 8;\r\n top: 0px;\r\n display: flex;\r\n align-items: center;\r\n height: 53px;\r\n min-height: 53px;\r\n padding-left: 15px;\r\n padding-right: 15px;\r\n max-width: 600px;\r\n margin: 0 auto;\r\n width: 100%;\r\n}\r\n\r\n.header-border{\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n}\r\n\r\n.explore-search-wrapper{\r\n background-color: rgb(230, 236, 240);\r\n border: 1px solid transparent;\r\n border-radius: 9999px;\r\n display: flex;\r\n align-items: center;\r\n min-height: 38px;\r\n width: 100%;\r\n\r\n}\r\n\r\n.explore-search-icon{\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.explore-search-icon svg{\r\n width: 40px;\r\n height: 18.75px;\r\n fill: rgb(101, 119, 134);\r\n padding-left: 10px;\r\n}\r\n\r\n.explore-search-input{\r\n width: 100%;\r\n}\r\n\r\n.explore-search-input input{\r\n background-color: inherit;\r\n border: inherit;\r\n padding: 6px 10px;\r\n width: 100%;\r\n font-size: 15px;\r\n color: rgb(101, 119, 134);\r\n outline: none;\r\n}\r\n\r\n.explore-nav-menu{\r\n margin-top: 10px;\r\n display: flex;\r\n justify-content: space-around;\r\n align-items: center;\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n}\r\n\r\n.explore-nav-item{\r\n padding: 15px;\r\n width: 100%;\r\n text-align: center;\r\n cursor: pointer;\r\n font-weight: bold;\r\n color: rgb(101, 119, 134);\r\n transition: 0.2s;\r\n will-change: background-color;\r\n box-sizing:border-box;\r\n border-bottom: 2px solid transparent;\r\n &:hover{\r\n background-color: rgba(29, 161, 242, 0.1);\r\n color: rgb(29, 161, 242);\r\n }\r\n}\r\n\r\n.activeTab{\r\n border-bottom: 2px solid rgb(29, 161, 242);\r\n color: rgb(29, 161, 242);\r\n}\r\n\r\n.search-result-wapper{\r\n border-bottom: 1px solid rgb(230, 236, 240);\r\n padding: 10px 15px;\r\n transition: 0.2s;\r\n cursor: pointer;\r\n display: flex;\r\n &:hover{\r\n background-color: rgb(245,248,250);\r\n }\r\n}\r\n\r\n.search-userPic-wrapper{\r\n flex-basis: 49px;\r\n margin-right: 10px;\r\n img{\r\n object-fit: cover;\r\n }\r\n}\r\n\r\n.search-user-details{\r\n display: flex;\r\n flex-direction: column;\r\n width: 100%;\r\n}\r\n\r\n.search-user-info{\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.search-user-name{\r\n font-weight: bold;\r\n}\r\n\r\n.search-user-username{\r\n color: rgb(101, 119, 134);\r\n line-height: 1;\r\n}\r\n\r\n.search-user-bio{\r\n margin-top: 7px;\r\n}\r\n\r\n.search-user-warp{\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n\r\n.follow-btn-wrap{\r\n min-height: 30px;\r\n min-width: 70px;\r\n transition: 0.2s ease-in-out;\r\n cursor: pointer;\r\n border: 1px solid #1da1f2;\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n padding-left: 1em;\r\n padding-right: 1em;\r\n &:hover{\r\n background-color: rgba(29, 161, 242, 0.1);\r\n }\r\n}\r\n\r\n.follow-btn-wrap span{\r\n text-align: center;\r\n font-weight: 800;\r\n color: #1da1f2;\r\n width: 100%;\r\n}\r\n\r\n\r\n\r\n.trending-card-wrapper{\r\n border-bottom: 1px solid rgb(245,248,250);\r\n padding: 10px 15px;\r\n transition: 0.2s;\r\n cursor: pointer;\r\n display: flex;\r\n flex-direction: column;\r\n &:hover{\r\n background-color: rgb(245, 248, 250);\r\n }\r\n}\r\n\r\n.trending-card-header{\r\n color: rgb(101, 119, 134);\r\n font-size: 14px;\r\n span{\r\n padding: 0 3px;\r\n }\r\n}\r\n\r\n.trending-card-content{\r\n font-weight: bold;\r\n font-size: 19px;\r\n padding-top: 2px;\r\n padding-bottom: 2px;\r\n}\r\n\r\n.trending-card-count{\r\n font-size: 15px;\r\n color: rgb(101, 119, 134);\r\n}\r\n\r\n.try-searching{\r\n font-weight: bold;\r\n font-size: 17px;\r\n text-align: center;\r\n margin-top: 40px;\r\n color: #657786;\r\n div{\r\n margin-bottom: 15px;\r\n }\r\n}\r\n\r\n\r\n.unfollow-switch{\r\n background-color: rgb(29, 161, 242);\r\n span{color: #fff !important;}\r\n}\r\n\r\n.unfollow-switch:hover{\r\n background-color: rgb(202,32,85) !important;\r\n border: 1px solid transparent;\r\n span{\r\n color: #fff;\r\n span{display: none;}\r\n &:before{\r\n content: 'Unfollow';\r\n }\r\n }\r\n}\r\n\r\n.explore-header-back{\r\n min-width: 55px;\r\n min-height: 30px;\r\n justify-content: center;\r\n align-items: flex-start;\r\n}\r\n\r\n.explore-back-wrapper{\r\n margin-left: -5px;\r\n width: 39px;\r\n height: 39px;\r\n transition: 0.2s ease-in-out;\r\n will-change: background-color;\r\n border: 1px solid rgba(0, 0, 0, 0);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n cursor: pointer;\r\n}\r\n.explore-back-wrapper svg{\r\n height: 1.5em;\r\n fill: rgb(29,161,242);\r\n}\r\n.explore-back-wrapper:hover{\r\n background-color: rgba(29,161,242,0.1);\r\n}\r\n\r\n.profiles-details-wrapper{\r\n padding: 10px 15px 15px 15px;\r\n}\r\n\r\n.profiles-options{\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\r\n position: relative;\r\n}\r\n\r\n.profiles-create-button{\r\n min-height: 39px;\r\n min-width: 98.8px;\r\n transition: 0.2s ease-in-out;\r\n cursor: pointer;\r\n border: 1px solid rgb(29, 161, 242);\r\n border-radius: 9999px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n margin-left: 7px;\r\n padding-left: 1em;\r\n padding-right: 1em;\r\n span{\r\n text-align: center;\r\n font-weight: 800;\r\n color: rgb(29, 161, 242);\r\n width: 100%\r\n }\r\n &:hover{\r\n background-color: rgba(29, 161, 242,0.1);\r\n }\r\n}\r\n",".alert-wrapper{\r\n position: fixed;\r\n top: 100px;\r\n width: 150px;\r\n left: 50%;\r\n transform: translate(-50%, 0);\r\n text-align: center;\r\n z-index: 1000;\r\n position: fixed;\r\n transition: top 0.4s ease-in;\r\n}\r\n\r\n.alert-content{\r\n background-color: #1da1f2;\r\n color: #fff;\r\n font-weight: 600;\r\n border: 1px solid #e6ecf0;\r\n -webkit-box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\r\n box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\r\n display:inline-block;\r\n padding: 8px 14px;\r\n border-radius: 200px;\r\n}"],"names":[],"sourceRoot":""}
\ No newline at end of file
diff --git a/squeaknode/admin/webapp/static/build/static/js/main.734a1632.js b/squeaknode/admin/webapp/static/build/static/js/main.734a1632.js
deleted file mode 100644
index 59b05653e..000000000
--- a/squeaknode/admin/webapp/static/build/static/js/main.734a1632.js
+++ /dev/null
@@ -1,3 +0,0 @@
-/*! For license information please see main.734a1632.js.LICENSE.txt */
-(function(){var __webpack_modules__={7757:function(e,t,r){e.exports=r(9727)},8619:function(e,t,r){"use strict";r.d(t,{CH:function(){return o},DP:function(){return m},H4:function(){return f},Ry:function(){return g},TK:function(){return y},UH:function(){return a},Wz:function(){return S},Y0:function(){return p},_T:function(){return b},ag:function(){return d},cU:function(){return M},cn:function(){return F},cr:function(){return C},dc:function(){return s},ep:function(){return u},g3:function(){return i},gq:function(){return w},lB:function(){return l},nJ:function(){return h},nS:function(){return k},nT:function(){return v},nl:function(){return R},oI:function(){return c},oY:function(){return E},q3:function(){return P},r1:function(){return q},sV:function(){return B},t4:function(){return T}});var n=r(2791),o=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M23.643 4.937c-.835.37-1.732.62-2.675.733.962-.576 1.7-1.49 2.048-2.578-.9.534-1.897.922-2.958 1.13-.85-.904-2.06-1.47-3.4-1.47-2.572 0-4.658 2.086-4.658 4.66 0 .364.042.718.12 1.06-3.873-.195-7.304-2.05-9.602-4.868-.4.69-.63 1.49-.63 2.342 0 1.616.823 3.043 2.072 3.878-.764-.025-1.482-.234-2.11-.583v.06c0 2.257 1.605 4.14 3.737 4.568-.392.106-.803.162-1.227.162-.3 0-.593-.028-.877-.082.593 1.85 2.313 3.198 4.352 3.234-1.595 1.25-3.604 1.995-5.786 1.995-.376 0-.747-.022-1.112-.065 2.062 1.323 4.51 2.093 7.14 2.093 8.57 0 13.255-7.098 13.255-13.254 0-.2-.005-.402-.014-.602.91-.658 1.7-1.477 2.323-2.41z"})))},a=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M22.46 7.57L12.357 2.115c-.223-.12-.49-.12-.713 0L1.543 7.57c-.364.197-.5.652-.303 1.017.135.25.394.393.66.393.12 0 .243-.03.356-.09l.815-.44L4.7 19.963c.214 1.215 1.308 2.062 2.658 2.062h9.282c1.352 0 2.445-.848 2.663-2.087l1.626-11.49.818.442c.364.193.82.06 1.017-.304.196-.363.06-.818-.304-1.016zm-4.638 12.133c-.107.606-.703.822-1.18.822H7.36c-.48 0-1.075-.216-1.178-.798L4.48 7.69 12 3.628l7.522 4.06-1.7 12.015z"}),n.createElement("path",{d:"M8.22 12.184c0 2.084 1.695 3.78 3.78 3.78s3.78-1.696 3.78-3.78-1.695-3.78-3.78-3.78-3.78 1.696-3.78 3.78zm6.06 0c0 1.258-1.022 2.28-2.28 2.28s-2.28-1.022-2.28-2.28 1.022-2.28 2.28-2.28 2.28 1.022 2.28 2.28z"})))},i=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M22.58 7.35L12.475 1.897c-.297-.16-.654-.16-.95 0L1.425 7.35c-.486.264-.667.87-.405 1.356.18.335.525.525.88.525.16 0 .324-.038.475-.12l.734-.396 1.59 11.25c.216 1.214 1.31 2.062 2.66 2.062h9.282c1.35 0 2.444-.848 2.662-2.088l1.588-11.225.737.398c.485.263 1.092.082 1.354-.404.263-.486.08-1.093-.404-1.355zM12 15.435c-1.795 0-3.25-1.455-3.25-3.25s1.455-3.25 3.25-3.25 3.25 1.455 3.25 3.25-1.455 3.25-3.25 3.25z"})))},s=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M21 7.337h-3.93l.372-4.272c.036-.412-.27-.775-.682-.812-.417-.03-.776.27-.812.683l-.383 4.4h-6.32l.37-4.27c.037-.413-.27-.776-.68-.813-.42-.03-.777.27-.813.683l-.382 4.4H3.782c-.414 0-.75.337-.75.75s.336.75.75.75H7.61l-.55 6.327H3c-.414 0-.75.336-.75.75s.336.75.75.75h3.93l-.372 4.272c-.036.412.27.775.682.812l.066.003c.385 0 .712-.295.746-.686l.383-4.4h6.32l-.37 4.27c-.036.413.27.776.682.813l.066.003c.385 0 .712-.295.746-.686l.382-4.4h3.957c.413 0 .75-.337.75-.75s-.337-.75-.75-.75H16.39l.55-6.327H21c.414 0 .75-.336.75-.75s-.336-.75-.75-.75zm-6.115 7.826h-6.32l.55-6.326h6.32l-.55 6.326z"})))},l=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M21.697 16.468c-.02-.016-2.14-1.64-2.103-6.03.02-2.532-.812-4.782-2.347-6.335C15.872 2.71 14.01 1.94 12.005 1.93h-.013c-2.004.01-3.866.78-5.242 2.174-1.534 1.553-2.368 3.802-2.346 6.334.037 4.33-2.02 5.967-2.102 6.03-.26.193-.366.53-.265.838.102.308.39.515.712.515h4.92c.102 2.31 1.997 4.16 4.33 4.16s4.226-1.85 4.327-4.16h4.922c.322 0 .61-.206.71-.514.103-.307-.003-.645-.263-.838zM12 20.478c-1.505 0-2.73-1.177-2.828-2.658h5.656c-.1 1.48-1.323 2.66-2.828 2.66zM4.38 16.32c.74-1.132 1.548-3.028 1.524-5.896-.018-2.16.644-3.982 1.913-5.267C8.91 4.05 10.397 3.437 12 3.43c1.603.008 3.087.62 4.18 1.728 1.27 1.285 1.933 3.106 1.915 5.267-.024 2.868.785 4.765 1.525 5.896H4.38z"})))},u=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M21.697 16.468c-.02-.016-2.14-1.64-2.103-6.03.02-2.533-.812-4.782-2.347-6.334-1.375-1.393-3.237-2.164-5.242-2.172h-.013c-2.004.008-3.866.78-5.242 2.172-1.534 1.553-2.367 3.802-2.346 6.333.037 4.332-2.02 5.967-2.102 6.03-.26.194-.366.53-.265.838s.39.515.713.515h4.494c.1 2.544 2.188 4.587 4.756 4.587s4.655-2.043 4.756-4.587h4.494c.324 0 .61-.208.712-.515s-.005-.644-.265-.837zM12 20.408c-1.466 0-2.657-1.147-2.756-2.588h5.512c-.1 1.44-1.29 2.587-2.756 2.587z"})))},p=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M19.75 22H4.25C3.01 22 2 20.99 2 19.75V4.25C2 3.01 3.01 2 4.25 2h15.5C20.99 2 22 3.01 22 4.25v15.5c0 1.24-1.01 2.25-2.25 2.25zM4.25 3.5c-.414 0-.75.337-.75.75v15.5c0 .413.336.75.75.75h15.5c.414 0 .75-.337.75-.75V4.25c0-.413-.336-.75-.75-.75H4.25z"}),n.createElement("path",{d:"M17 8.64H7c-.414 0-.75-.337-.75-.75s.336-.75.75-.75h10c.414 0 .75.335.75.75s-.336.75-.75.75zm0 4.11H7c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h10c.414 0 .75.336.75.75s-.336.75-.75.75zm-5 4.11H7c-.414 0-.75-.335-.75-.75s.336-.75.75-.75h5c.414 0 .75.337.75.75s-.336.75-.75.75z"})))},c=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M19.75 2H4.25C3.013 2 2 3.013 2 4.25v15.5C2 20.987 3.013 22 4.25 22h15.5c1.237 0 2.25-1.013 2.25-2.25V4.25C22 3.013 20.987 2 19.75 2zM11 16.75H7c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h4c.414 0 .75.336.75.75s-.336.75-.75.75zm6-4H7c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h10c.414 0 .75.336.75.75s-.336.75-.75.75zm0-4H7c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h10c.414 0 .75.336.75.75s-.336.75-.75.75z"})))},d=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M12 11.816c1.355 0 2.872-.15 3.84-1.256.814-.93 1.078-2.368.806-4.392-.38-2.825-2.117-4.512-4.646-4.512S7.734 3.343 7.354 6.17c-.272 2.022-.008 3.46.806 4.39.968 1.107 2.485 1.256 3.84 1.256zM8.84 6.368c.162-1.2.787-3.212 3.16-3.212s2.998 2.013 3.16 3.212c.207 1.55.057 2.627-.45 3.205-.455.52-1.266.743-2.71.743s-2.255-.223-2.71-.743c-.507-.578-.657-1.656-.45-3.205zm11.44 12.868c-.877-3.526-4.282-5.99-8.28-5.99s-7.403 2.464-8.28 5.99c-.172.692-.028 1.4.395 1.94.408.52 1.04.82 1.733.82h12.304c.693 0 1.325-.3 1.733-.82.424-.54.567-1.247.394-1.94zm-1.576 1.016c-.126.16-.316.246-.552.246H5.848c-.235 0-.426-.085-.552-.246-.137-.174-.18-.412-.12-.654.71-2.855 3.517-4.85 6.824-4.85s6.114 1.994 6.824 4.85c.06.242.017.48-.12.654z"})))},g=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M12.225 12.165c-1.356 0-2.872-.15-3.84-1.256-.814-.93-1.077-2.368-.805-4.392.38-2.826 2.116-4.513 4.646-4.513s4.267 1.687 4.646 4.513c.272 2.024.008 3.46-.806 4.392-.97 1.106-2.485 1.255-3.84 1.255zm5.849 9.85H6.376c-.663 0-1.25-.28-1.65-.786-.422-.534-.576-1.27-.41-1.968.834-3.53 4.086-5.997 7.908-5.997s7.074 2.466 7.91 5.997c.164.698.01 1.434-.412 1.967-.4.505-.985.785-1.648.785z"})))},f=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 16 16"},n.createElement("g",null,n.createElement("path",{d:"M13.5 3a.5.5 0 0 1 .5.5V11H2V3.5a.5.5 0 0 1 .5-.5h11zm-11-1A1.5 1.5 0 0 0 1 3.5V12h14V3.5A1.5 1.5 0 0 0 13.5 2h-11zM0 12.5h16a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5z"})))},y=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 16 16"},n.createElement("g",null,n.createElement("path",{d:"M2.5 2A1.5 1.5 0 0 0 1 3.5V12h14V3.5A1.5 1.5 0 0 0 13.5 2h-11zM0 12.5h16a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5z"})))},h=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 16 16"},n.createElement("g",null,n.createElement("path",{d:"M5.026 15c6.038 0 9.341-5.003 9.341-9.334 0-.14 0-.282-.006-.422A6.685 6.685 0 0 0 16 3.542a6.658 6.658 0 0 1-1.889.518 3.301 3.301 0 0 0 1.447-1.817 6.533 6.533 0 0 1-2.087.793A3.286 3.286 0 0 0 7.875 6.03a9.325 9.325 0 0 1-6.767-3.429 3.289 3.289 0 0 0 1.018 4.382A3.323 3.323 0 0 1 .64 6.575v.045a3.288 3.288 0 0 0 2.632 3.218 3.203 3.203 0 0 1-.865.115 3.23 3.23 0 0 1-.614-.057 3.283 3.283 0 0 0 3.067 2.277A6.588 6.588 0 0 1 .78 13.58a6.32 6.32 0 0 1-.78-.045A9.344 9.344 0 0 0 5.026 15z"})))},m=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z"})))},R=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M16.5 10.25c-.965 0-1.75.787-1.75 1.75s.784 1.75 1.75 1.75c.964 0 1.75-.786 1.75-1.75s-.786-1.75-1.75-1.75zm0 2.5c-.414 0-.75-.336-.75-.75 0-.413.337-.75.75-.75s.75.336.75.75c0 .413-.336.75-.75.75zm-4.5-2.5c-.966 0-1.75.787-1.75 1.75s.785 1.75 1.75 1.75 1.75-.786 1.75-1.75-.784-1.75-1.75-1.75zm0 2.5c-.414 0-.75-.336-.75-.75 0-.413.337-.75.75-.75s.75.336.75.75c0 .413-.336.75-.75.75zm-4.5-2.5c-.965 0-1.75.787-1.75 1.75s.785 1.75 1.75 1.75c.964 0 1.75-.786 1.75-1.75s-.787-1.75-1.75-1.75zm0 2.5c-.414 0-.75-.336-.75-.75 0-.413.337-.75.75-.75s.75.336.75.75c0 .413-.336.75-.75.75z"}),n.createElement("path",{d:"M12 22.75C6.072 22.75 1.25 17.928 1.25 12S6.072 1.25 12 1.25 22.75 6.072 22.75 12 17.928 22.75 12 22.75zm0-20C6.9 2.75 2.75 6.9 2.75 12S6.9 21.25 12 21.25s9.25-4.15 9.25-9.25S17.1 2.75 12 2.75z"})))},k=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M14.046 2.242l-4.148-.01h-.002c-4.374 0-7.8 3.427-7.8 7.802 0 4.098 3.186 7.206 7.465 7.37v3.828c0 .108.044.286.12.403.142.225.384.347.632.347.138 0 .277-.038.402-.118.264-.168 6.473-4.14 8.088-5.506 1.902-1.61 3.04-3.97 3.043-6.312v-.017c-.006-4.367-3.43-7.787-7.8-7.788zm3.787 12.972c-1.134.96-4.862 3.405-6.772 4.643V16.67c0-.414-.335-.75-.75-.75h-.396c-3.66 0-6.318-2.476-6.318-5.886 0-3.534 2.768-6.302 6.3-6.302l4.147.01h.002c3.532 0 6.3 2.766 6.302 6.296-.003 1.91-.942 3.844-2.514 5.176z"})))},b=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M23.77 15.67c-.292-.293-.767-.293-1.06 0l-2.22 2.22V7.65c0-2.068-1.683-3.75-3.75-3.75h-5.85c-.414 0-.75.336-.75.75s.336.75.75.75h5.85c1.24 0 2.25 1.01 2.25 2.25v10.24l-2.22-2.22c-.293-.293-.768-.293-1.06 0s-.294.768 0 1.06l3.5 3.5c.145.147.337.22.53.22s.383-.072.53-.22l3.5-3.5c.294-.292.294-.767 0-1.06zm-10.66 3.28H7.26c-1.24 0-2.25-1.01-2.25-2.25V6.46l2.22 2.22c.148.147.34.22.532.22s.384-.073.53-.22c.293-.293.293-.768 0-1.06l-3.5-3.5c-.293-.294-.768-.294-1.06 0l-3.5 3.5c-.294.292-.294.767 0 1.06s.767.293 1.06 0l2.22-2.22V16.7c0 2.068 1.683 3.75 3.75 3.75h5.85c.414 0 .75-.336.75-.75s-.337-.75-.75-.75z"})))},S=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M12 21.638h-.014C9.403 21.59 1.95 14.856 1.95 8.478c0-3.064 2.525-5.754 5.403-5.754 2.29 0 3.83 1.58 4.646 2.73.814-1.148 2.354-2.73 4.645-2.73 2.88 0 5.404 2.69 5.404 5.755 0 6.376-7.454 13.11-10.037 13.157H12zM7.354 4.225c-2.08 0-3.903 1.988-3.903 4.255 0 5.74 7.034 11.596 8.55 11.658 1.518-.062 8.55-5.917 8.55-11.658 0-2.267-1.823-4.255-3.903-4.255-2.528 0-3.94 2.936-3.952 2.965-.23.562-1.156.562-1.387 0-.014-.03-1.425-2.965-3.954-2.965z"})))},v=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M12 21.638h-.014C9.403 21.59 1.95 14.856 1.95 8.478c0-3.064 2.525-5.754 5.403-5.754 2.29 0 3.83 1.58 4.646 2.73.814-1.148 2.354-2.73 4.645-2.73 2.88 0 5.404 2.69 5.404 5.755 0 6.376-7.454 13.11-10.037 13.157H12z"})))},q=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M20 11H7.414l4.293-4.293c.39-.39.39-1.023 0-1.414s-1.023-.39-1.414 0l-6 6c-.39.39-.39 1.023 0 1.414l6 6c.195.195.45.293.707.293s.512-.098.707-.293c.39-.39.39-1.023 0-1.414L7.414 13H20c.553 0 1-.447 1-1s-.447-1-1-1z"})))},P=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M13.414 12l5.793-5.793c.39-.39.39-1.023 0-1.414s-1.023-.39-1.414 0L12 10.586 6.207 4.793c-.39-.39-1.023-.39-1.414 0s-.39 1.023 0 1.414L10.586 12l-5.793 5.793c-.39.39-.39 1.023 0 1.414.195.195.45.293.707.293s.512-.098.707-.293L12 13.414l5.793 5.793c.195.195.45.293.707.293s.512-.098.707-.293c.39-.39.39-1.023 0-1.414L13.414 12z"})))},M=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M20.746 5.236h-3.75V4.25c0-1.24-1.01-2.25-2.25-2.25h-5.5c-1.24 0-2.25 1.01-2.25 2.25v.986h-3.75c-.414 0-.75.336-.75.75s.336.75.75.75h.368l1.583 13.262c.216 1.193 1.31 2.027 2.658 2.027h8.282c1.35 0 2.442-.834 2.664-2.072l1.577-13.217h.368c.414 0 .75-.336.75-.75s-.335-.75-.75-.75zM8.496 4.25c0-.413.337-.75.75-.75h5.5c.413 0 .75.337.75.75v.986h-7V4.25zm8.822 15.48c-.1.55-.664.795-1.18.795H7.854c-.517 0-1.083-.246-1.175-.75L5.126 6.735h13.74L17.32 19.732z"}),n.createElement("path",{d:"M10 17.75c.414 0 .75-.336.75-.75v-7c0-.414-.336-.75-.75-.75s-.75.336-.75.75v7c0 .414.336.75.75.75zm4 0c.414 0 .75-.336.75-.75v-7c0-.414-.336-.75-.75-.75s-.75.336-.75.75v7c0 .414.336.75.75.75z"})))},F=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M19.708 22H4.292C3.028 22 2 20.972 2 19.708V7.375C2 6.11 3.028 5.083 4.292 5.083h2.146C7.633 3.17 9.722 2 12 2c2.277 0 4.367 1.17 5.562 3.083h2.146C20.972 5.083 22 6.11 22 7.375v12.333C22 20.972 20.972 22 19.708 22zM4.292 6.583c-.437 0-.792.355-.792.792v12.333c0 .437.355.792.792.792h15.416c.437 0 .792-.355.792-.792V7.375c0-.437-.355-.792-.792-.792h-2.45c-.317.05-.632-.095-.782-.382-.88-1.665-2.594-2.7-4.476-2.7-1.883 0-3.598 1.035-4.476 2.702-.16.302-.502.46-.833.38H4.293z"}),n.createElement("path",{d:"M12 8.167c-2.68 0-4.86 2.18-4.86 4.86s2.18 4.86 4.86 4.86 4.86-2.18 4.86-4.86-2.18-4.86-4.86-4.86zm2 5.583h-1.25V15c0 .414-.336.75-.75.75s-.75-.336-.75-.75v-1.25H10c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h1.25V11c0-.414.336-.75.75-.75s.75.336.75.75v1.25H14c.414 0 .75.336.75.75s-.336.75-.75.75z"})))},E=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M21.53 20.47l-3.66-3.66C19.195 15.24 20 13.214 20 11c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9c2.215 0 4.24-.804 5.808-2.13l3.66 3.66c.147.146.34.22.53.22s.385-.073.53-.22c.295-.293.295-.767.002-1.06zM3.5 11c0-4.135 3.365-7.5 7.5-7.5s7.5 3.365 7.5 7.5-3.365 7.5-7.5 7.5-7.5-3.365-7.5-7.5z"})))},C=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 24 24"},n.createElement("g",null,n.createElement("path",{d:"M8.8 7.2H5.6V3.9c0-.4-.3-.8-.8-.8s-.7.4-.7.8v3.3H.8c-.4 0-.8.3-.8.8s.3.8.8.8h3.3v3.3c0 .4.3.8.8.8s.8-.3.8-.8V8.7H9c.4 0 .8-.3.8-.8s-.5-.7-1-.7zm15-4.9v-.1h-.1c-.1 0-9.2 1.2-14.4 11.7-3.8 7.6-3.6 9.9-3.3 9.9.3.1 3.4-6.5 6.7-9.2 5.2-1.1 6.6-3.6 6.6-3.6s-1.5.2-2.1.2c-.8 0-1.4-.2-1.7-.3 1.3-1.2 2.4-1.5 3.5-1.7.9-.2 1.8-.4 3-1.2 2.2-1.6 1.9-5.5 1.8-5.7z"})))},B=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 512 512"},n.createElement("g",null,n.createElement("path",{fill:"currentColor",d:"M502.42 240.5l-94.7-47.3 33.5-100.4c4.5-13.6-8.4-26.5-21.9-21.9l-100.4 33.5-47.41-94.8a17.31 17.31 0 0 0-31 0l-47.3 94.7L92.7 70.8c-13.6-4.5-26.5 8.4-21.9 21.9l33.5 100.4-94.7 47.4a17.31 17.31 0 0 0 0 31l94.7 47.3-33.5 100.5c-4.5 13.6 8.4 26.5 21.9 21.9l100.41-33.5 47.3 94.7a17.31 17.31 0 0 0 31 0l47.31-94.7 100.4 33.5c13.6 4.5 26.5-8.4 21.9-21.9l-33.5-100.4 94.7-47.3a17.33 17.33 0 0 0 .2-31.1zm-155.9 106c-49.91 49.9-131.11 49.9-181 0a128.13 128.13 0 0 1 0-181c49.9-49.9 131.1-49.9 181 0a128.13 128.13 0 0 1 0 181z"}),n.createElement("path",{fill:"currentColor",d:"M352 256a96 96 0 1 1-96-96 96.15 96.15 0 0 1 96 96z"})))},w=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 512 512"},n.createElement("g",null,n.createElement("path",{fill:"currentColor",d:"M320 32L304 0l-16 32-32 16 32 16 16 32 16-32 32-16zm138.7 149.3L432 128l-26.7 53.3L352 208l53.3 26.7L432 288l26.7-53.3L512 208z"}),n.createElement("path",{fill:"currentColor",d:"M332.2 426.4c8.1-1.6 13.9 8 8.6 14.5a191.18 191.18 0 0 1-149 71.1C85.8 512 0 426 0 320c0-120 108.7-210.6 227-188.8 8.2 1.6 10.1 12.6 2.8 16.7a150.3 150.3 0 0 0-76.1 130.8c0 94 85.4 165.4 178.5 147.7z"})))},T=function(e){return n.createElement("svg",{style:e.styles,viewBox:"0 0 16 16"},n.createElement("g",null,n.createElement("path",{"fill-rule":"evenodd",d:"M4.475 5.458c-.284 0-.514-.237-.47-.517C4.28 3.24 5.576 2 7.825 2c2.25 0 3.767 1.36 3.767 3.215 0 1.344-.665 2.288-1.79 2.973-1.1.659-1.414 1.118-1.414 2.01v.03a.5.5 0 0 1-.5.5h-.77a.5.5 0 0 1-.5-.495l-.003-.2c-.043-1.221.477-2.001 1.645-2.712 1.03-.632 1.397-1.135 1.397-2.028 0-.979-.758-1.698-1.926-1.698-1.009 0-1.71.529-1.938 1.402-.066.254-.278.461-.54.461h-.777ZM7.496 14c.622 0 1.095-.474 1.095-1.09 0-.618-.473-1.092-1.095-1.092-.606 0-1.087.474-1.087 1.091S6.89 14 7.496 14Z"})))}},3965:function(e,t,r){"use strict";r.d(t,{$x:function(){return A},Ai:function(){return z},Be:function(){return q},Bs:function(){return x},CU:function(){return X},FG:function(){return B},G1:function(){return F},GA:function(){return Z},GD:function(){return Q},GM:function(){return ge},H6:function(){return E},HR:function(){return L},Hp:function(){return v},Hy:function(){return c},MB:function(){return ce},MD:function(){return Y},No:function(){return W},Of:function(){return S},Rd:function(){return ee},S9:function(){return pe},Un:function(){return I},VA:function(){return O},Vu:function(){return U},WN:function(){return ue},XD:function(){return y},Y1:function(){return se},Y9:function(){return b},Yb:function(){return g},ZB:function(){return oe},_m:function(){return ae},bc:function(){return h},c3:function(){return G},cG:function(){return D},ch:function(){return k},d5:function(){return J},eY:function(){return $},fm:function(){return m},he:function(){return j},jF:function(){return re},ji:function(){return ne},kS:function(){return p},ks:function(){return f},lm:function(){return T},nm:function(){return d},np:function(){return ie},p2:function(){return _},pk:function(){return C},sd:function(){return de},sl:function(){return H},sq:function(){return te},t_:function(){return M},tf:function(){return le},uS:function(){return P},uh:function(){return R},vo:function(){return w},w7:function(){return N},wQ:function(){return V},xp:function(){return K}});var n=r(5861),o=r(7757),a=r.n(o),i=(r(4185),r(6509));r(4569);console.log("The value of REACT_APP_DEV_MODE_ENABLED is:",Boolean({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_DEV_MODE_ENABLED));console.log("The value of REACT_APP_SERVER_PORT is:",{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SERVER_PORT);var s={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SERVER_PORT||window.location.port,l="".concat(window.location.protocol,"//").concat(window.location.hostname,":").concat(s),u=function(){var e=(0,n.Z)(a().mark((function e(t){var r,n,o,i,s,u,p;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.url,n=t.req,o=t.deser,e.prev=1,i=n.serializeBinary(),e.next=5,fetch(l+r,{method:"post",body:i});case 5:if((s=e.sent).ok){e.next=8;break}throw s;case 8:return e.next=10,s.arrayBuffer();case 10:return u=e.sent,p=o(u),e.abrupt("return",p);case 15:return e.prev=15,e.t0=e.catch(1),e.next=19,e.t0.text();case 19:throw e.sent;case 21:case"end":return e.stop()}}),e,null,[[1,15]])})));return function(t){return e.apply(this,arguments)}}(),p=function(){var e=(0,n.Z)(a().mark((function e(){var t,r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("".concat(l,"/logout"),{method:"get"});case 2:return t=e.sent,console.log("Got logout response"),e.next=6,t.arrayBuffer();case 6:return r=e.sent,console.log("Got buf"),e.abrupt("return",r);case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),c=function(){console.log("Calling getNetwork");var e=new i.GetNetworkRequest,t=i.GetNetworkReply.deserializeBinary;return u({url:"/getnetwork",req:e,deser:t})},d=function(e,t){console.log("Calling getTimelineSqueaks");var r=new i.GetTimelineSqueakDisplaysRequest;r.setLimit(e),t&&r.setLastEntry(t);var n=i.GetTimelineSqueakDisplaysReply.deserializeBinary;return u({url:"/gettimelinesqueakdisplays",req:r,deser:n})},g=function(e){console.log("Calling getSqueak");var t=new i.GetSqueakDisplayRequest;t.setSqueakHash(e);var r=i.GetSqueakDisplayReply.deserializeBinary;return u({url:"/getsqueakdisplay",req:t,deser:r})},f=function(e){console.log("Calling getAncestorSqueaks");var t=new i.GetAncestorSqueakDisplaysRequest;t.setSqueakHash(e);var r=i.GetAncestorSqueakDisplaysReply.deserializeBinary;return u({url:"/getancestorsqueakdisplays",req:t,deser:r})},y=function(e,t,r){console.log("Calling getAncestorSqueaks");var n=new i.GetReplySqueakDisplaysRequest;n.setSqueakHash(e),n.setLimit(t),r&&n.setLastEntry(r);var o=i.GetReplySqueakDisplaysReply.deserializeBinary;return u({url:"/getreplysqueakdisplays",req:n,deser:o})},h=function(e,t,r){console.log("Calling getProfileSqueaks");var n=new i.GetPubKeySqueakDisplaysRequest;n.setPubkey(e),n.setLimit(t),r&&n.setLastEntry(r);var o=i.GetPubKeySqueakDisplaysReply.deserializeBinary;return u({url:"/getpubkeysqueakdisplays",req:n,deser:o})},m=function(e){console.log("Calling likeSqueak");var t=new i.LikeSqueakRequest;t.setSqueakHash(e);var r=i.LikeSqueakReply.deserializeBinary;return u({url:"/likesqueak",req:t,deser:r})},R=function(e){console.log("Calling unlikeSqueak");var t=new i.UnlikeSqueakRequest;t.setSqueakHash(e);var r=i.UnlikeSqueakReply.deserializeBinary;return u({url:"/unlikesqueak",req:t,deser:r})},k=function(e){console.log("Calling deleteSqueak");var t=new i.DeleteSqueakRequest;t.setSqueakHash(e);var r=i.DeleteSqueakReply.deserializeBinary;return u({url:"/deletesqueak",req:t,deser:r})},b=function(e,t,r,n,o){console.log("Calling makeSqueak");var a=new i.MakeSqueakRequest;a.setProfileId(e),a.setContent(t),a.setReplyto(r),a.setHasRecipient(n),a.setRecipientProfileId(o);var s=i.MakeSqueakReply.deserializeBinary;return u({url:"/makesqueakrequest",req:a,deser:s})},S=function(e,t,r){console.log("Calling makeResqueak");var n=new i.MakeResqueakRequest;n.setProfileId(e),n.setResqueakedHash(t),n.setReplyto(r);var o=i.MakeResqueakReply.deserializeBinary;return u({url:"/makeresqueak",req:n,deser:o})},v=function(){console.log("Calling getSigningProfiles");var e=new i.GetSigningProfilesRequest,t=i.GetSigningProfilesReply.deserializeBinary;return u({url:"/getsigningprofiles",req:e,deser:t})},q=function(){console.log("Calling getContactProfiles");var e=new i.GetContactProfilesRequest,t=i.GetContactProfilesReply.deserializeBinary;return u({url:"/getcontactprofiles",req:e,deser:t})},P=function(){console.log("Calling getPaymentSummary");var e=new i.GetPaymentSummaryRequest,t=i.GetPaymentSummaryReply.deserializeBinary;return u({url:"/getpaymentsummary",req:e,deser:t})},M=function(e){console.log("Calling getPaymentSummaryForSqueak");var t=new i.GetPaymentSummaryForSqueakRequest;t.setSqueakHash(e);var r=i.GetPaymentSummaryForSqueakReply.deserializeBinary;return u({url:"/getpaymentsummaryforsqueak",req:t,deser:r})},F=function(e){console.log("Calling getPaymentSummaryForPubkey");var t=new i.GetPaymentSummaryForPubkeyRequest;t.setPubkey(e);var r=i.GetPaymentSummaryForPubkeyReply.deserializeBinary;return u({url:"/getpaymentsummaryforpubkey",req:t,deser:r})},E=function(e,t,r){console.log("Calling getPaymentSummaryForPeer");var n=new i.GetPaymentSummaryForPeerRequest,o=new i.PeerAddress;o.setNetwork(e),o.setHost(t),o.setPort(r),n.setPeerAddress(o);var a=i.GetPaymentSummaryForPeerReply.deserializeBinary;return u({url:"/getpaymentsummaryforpeer",req:n,deser:a})},C=function(e,t){console.log("Calling getSentPayments");var r=new i.GetSentPaymentsRequest;r.setLimit(e),t&&r.setLastSentPayment(t);var n=i.GetSentPaymentsReply.deserializeBinary;return u({url:"/getsentpayments",req:r,deser:n})},B=function(e,t,r){console.log("Calling getSentPaymentsForSqueak");var n=new i.GetSentPaymentsForSqueakRequest;n.setSqueakHash(e),n.setLimit(t),r&&n.setLastSentPayment(r);var o=i.GetSentPaymentsForSqueakReply.deserializeBinary;return u({url:"/getsentpaymentsforsqueak",req:n,deser:o})},w=function(e,t,r){console.log("Calling getSentPaymentsForPubkey");var n=new i.GetSentPaymentsForPubkeyRequest;n.setPubkey(e),n.setLimit(t),r&&n.setLastSentPayment(r);var o=i.GetSentPaymentsForPubkeyReply.deserializeBinary;return u({url:"/getsentpaymentsforpubkey",req:n,deser:o})},T=function(e,t,r,n,o){console.log("Calling getSentPaymentsForPubkey");var a=new i.GetSentPaymentsForPeerRequest,s=new i.PeerAddress;s.setNetwork(e),s.setHost(t),s.setPort(r),a.setPeerAddress(s),a.setLimit(n),o&&a.setLastSentPayment(o);var l=i.GetSentPaymentsForPeerReply.deserializeBinary;return u({url:"/getsentpaymentsforpeer",req:a,deser:l})},O=function(e,t){console.log("Calling getReceivedPayments");var r=new i.GetReceivedPaymentsRequest;r.setLimit(e),t&&r.setLastReceivedPayment(t);var n=i.GetReceivedPaymentsReply.deserializeBinary;return u({url:"/getreceivedpayments",req:r,deser:n})},_=function(e,t,r){console.log("Calling getReceivedPaymentsForSqueak");var n=new i.GetReceivedPaymentsForSqueakRequest;n.setSqueakHash(e),n.setLimit(t),r&&n.setLastReceivedPayment(r);var o=i.GetReceivedPaymentsForSqueakReply.deserializeBinary;return u({url:"/getreceivedpaymentsforsqueak",req:n,deser:o})},D=function(e,t,r){console.log("Calling getReceivedPaymentsForPubkey");var n=new i.GetReceivedPaymentsForPubkeyRequest;n.setPubkey(e),n.setLimit(t),r&&n.setLastReceivedPayment(r);var o=i.GetReceivedPaymentsForPubkeyReply.deserializeBinary;return u({url:"/getreceivedpaymentsforpubkey",req:n,deser:o})},A=function(e,t,r,n,o){console.log("Calling getReceivedPaymentsForPeer");var a=new i.GetReceivedPaymentsForPeerRequest,s=new i.PeerAddress;s.setNetwork(e),s.setHost(t),s.setPort(r),a.setPeerAddress(s),a.setLimit(n),o&&a.setLastReceivedPayment(o);var l=i.GetReceivedPaymentsForPeerReply.deserializeBinary;return u({url:"/getreceivedpaymentsforpeer",req:a,deser:l})},I=function(e,t,r){console.log("Calling getSearchSqueaks");var n=new i.GetSearchSqueakDisplaysRequest;n.setSearchText(e),n.setLimit(t),r&&n.setLastEntry(r);var o=i.GetSearchSqueakDisplaysReply.deserializeBinary;return u({url:"/getsearchsqueakdisplays",req:n,deser:o})},N=function(e){console.log("Calling createSigningProfile");var t=new i.CreateSigningProfileRequest;t.setProfileName(e);var r=i.CreateSigningProfileReply.deserializeBinary;return u({url:"/createsigningprofile",req:t,deser:r})},W=function(e,t){console.log("Calling importSigningProfile");var r=new i.ImportSigningProfileRequest;r.setProfileName(e),r.setPrivateKey(t);var n=i.ImportSigningProfileReply.deserializeBinary;return u({url:"/importsigningprofile",req:r,deser:n})},L=function(e,t){console.log("Calling createContactProfile");var r=new i.CreateContactProfileRequest;r.setProfileName(e),r.setPubkey(t);var n=i.CreateContactProfileReply.deserializeBinary;return u({url:"/createcontactprofile",req:r,deser:n})},z=function(e){console.log("Calling getProfile");var t=new i.GetSqueakProfileRequest;t.setProfileId(e);var r=i.GetSqueakProfileReply.deserializeBinary;return u({url:"/getsqueakprofile",req:t,deser:r})},x=function(e){console.log("Calling getProfileByPubkey");var t=new i.GetSqueakProfileByPubKeyRequest;t.setPubkey(e);var r=i.GetSqueakProfileByPubKeyReply.deserializeBinary;return u({url:"/getsqueakprofilebypubkey",req:t,deser:r})},G=function(e,t){console.log("Calling setProfileFollowing");var r=new i.SetSqueakProfileFollowingRequest;r.setProfileId(e),r.setFollowing(t);var n=i.SetSqueakProfileFollowingReply.deserializeBinary;return u({url:"/setsqueakprofilefollowing",req:r,deser:n})},j=function(e){console.log("Calling deleteProfile");var t=new i.DeleteSqueakProfileRequest;t.setProfileId(e);var r=i.DeleteSqueakProfileReply.deserializeBinary;return u({url:"/deleteprofile",req:t,deser:r})},U=function(e,t){console.log("Calling renameProfile");var r=new i.RenameSqueakProfileRequest;r.setProfileId(e),r.setProfileName(t);var n=i.RenameSqueakProfileReply.deserializeBinary;return u({url:"/renamesqueakprofile",req:r,deser:n})},H=function(e,t){console.log("Calling changeProfileImage");var r=new i.SetSqueakProfileImageRequest;r.setProfileId(e),r.setProfileImage(t);var n=i.SetSqueakProfileImageReply.deserializeBinary;return u({url:"/setsqueakprofileimage",req:r,deser:n})},V=function(e,t){console.log("Calling clearProfileImage");var r=new i.ClearSqueakProfileImageRequest;r.setProfileId(e);var n=i.ClearSqueakProfileImageReply.deserializeBinary;return u({url:"/clearsqueakprofileimage",req:r,deser:n})},K=function(e){console.log("Calling getProfilePrivateKey");var t=new i.GetSqueakProfilePrivateKeyRequest;t.setProfileId(e);var r=i.GetSqueakProfilePrivateKeyReply.deserializeBinary;return u({url:"/getsqueakprofileprivatekey",req:t,deser:r})},$=function(e,t,r){console.log("Calling getPeer");var n=new i.GetPeerByAddressRequest,o=new i.PeerAddress;o.setNetwork(e),o.setHost(t),o.setPort(r),n.setPeerAddress(o);var a=i.GetPeerByAddressReply.deserializeBinary;return u({url:"/getpeerbyaddress",req:n,deser:a})},Y=function(){console.log("Calling getConnectedPeers");var e=new i.GetConnectedPeersRequest,t=i.GetConnectedPeersReply.deserializeBinary;return u({url:"/getconnectedpeers",req:e,deser:t})},Z=function(){console.log("Calling getSavedPeers");var e=new i.GetPeersRequest,t=i.GetPeersReply.deserializeBinary;return u({url:"/getpeers",req:e,deser:t})},J=function(e,t,r){console.log("Calling connectPeer");var n=new i.ConnectPeerRequest,o=new i.PeerAddress;o.setNetwork(e),o.setHost(t),o.setPort(r),n.setPeerAddress(o);var a=i.ConnectPeerReply.deserializeBinary;return u({url:"/connectpeer",req:n,deser:a})},Q=function(e,t,r){console.log("Calling disconnectPeer");var n=new i.DisconnectPeerRequest,o=new i.PeerAddress;o.setNetwork(e),o.setHost(t),o.setPort(r),n.setPeerAddress(o);var a=i.DisconnectPeerReply.deserializeBinary;return u({url:"/disconnectpeer",req:n,deser:a})},X=function(){console.log("Calling getExternalAddress");var e=new i.GetExternalAddressRequest,t=i.GetExternalAddressReply.deserializeBinary;return u({url:"/getexternaladdress",req:e,deser:t})},ee=function(e,t,r,n){console.log("Calling savePeer");var o=new i.CreatePeerRequest,a=new i.PeerAddress;a.setNetwork(t),a.setHost(r),a.setPort(n),o.setPeerName(e),o.setPeerAddress(a);var s=i.CreatePeerReply.deserializeBinary;return u({url:"/createpeer",req:o,deser:s})},te=function(e){console.log("Calling savePeer");var t=new i.DeletePeerRequest;t.setPeerId(e);var r=i.DeletePeerReply.deserializeBinary;return u({url:"/deletepeer",req:t,deser:r})},re=function(e){console.log("Calling enableAutoconnectPeer");var t=new i.SetPeerAutoconnectRequest;t.setPeerId(e),t.setAutoconnect(!0);var r=i.SetPeerAutoconnectReply.deserializeBinary;return u({url:"/setpeerautoconnect",req:t,deser:r})},ne=function(e){console.log("Calling disableAutoconnectPeer");var t=new i.SetPeerAutoconnectRequest;t.setPeerId(e),t.setAutoconnect(!1);var r=i.SetPeerAutoconnectReply.deserializeBinary;return u({url:"/setpeerautoconnect",req:t,deser:r})},oe=function(e){console.log("Calling getSqueakOffers");var t=new i.GetBuyOffersRequest;t.setSqueakHash(e);var r=i.GetBuyOffersReply.deserializeBinary;return u({url:"/getbuyoffers",req:t,deser:r})},ae=function(e){console.log("Calling buySqueak");var t=new i.PayOfferRequest;t.setOfferId(e);var r=i.PayOfferReply.deserializeBinary;return u({url:"/payoffer",req:t,deser:r})},ie=function(){console.log("Calling getSellPrice");var e=new i.GetSellPriceRequest,t=i.GetSellPriceReply.deserializeBinary;return u({url:"/getsellprice",req:e,deser:t})},se=function(e){console.log("Calling updateSellPrice");var t=new i.SetSellPriceRequest;t.setPriceMsat(e);var r=i.SetSellPriceReply.deserializeBinary;return u({url:"/setsellprice",req:t,deser:r})},le=function(){console.log("Calling clearSellPrice");var e=new i.ClearSellPriceRequest,t=i.ClearSellPriceReply.deserializeBinary;return u({url:"/clearsellprice",req:e,deser:t})},ue=function(e){console.log("Calling downloadSqueak");var t=new i.DownloadSqueakRequest;t.setSqueakHash(e);var r=i.DownloadSqueakReply.deserializeBinary;return u({url:"/downloadsqueak",req:t,deser:r})},pe=function(e){console.log("Calling downloadSqueakSecretKey");var t=new i.DownloadSqueakSecretKeyRequest;t.setSqueakHash(e);var r=i.DownloadSqueakSecretKeyReply.deserializeBinary;return u({url:"/downloadsqueaksecretkey",req:t,deser:r})},ce=function(){console.log("Calling getTwitterAccounts");var e=new i.GetTwitterAccountsRequest,t=i.GetTwitterAccountsReply.deserializeBinary;return u({url:"/gettwitteraccounts",req:e,deser:t})},de=function(e,t,r){console.log("Calling createTwitterAccount");var n=new i.AddTwitterAccountRequest;n.setHandle(e),n.setProfileId(t),n.setBearerToken(r);var o=i.AddTwitterAccountReply.deserializeBinary;return u({url:"/addtwitteraccount",req:n,deser:o})},ge=function(e){console.log("Calling deleteTwitterAccount");var t=new i.DeleteTwitterAccountRequest;t.setTwitterAccountId(e);var r=i.DeleteTwitterAccountReply.deserializeBinary;return u({url:"/deletetwitteraccount",req:t,deser:r})}},8608:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(2791),o=function(){return n.createElement("div",{className:"loader-wrapper"},n.createElement("svg",{className:"loader_svg",version:"1.1",id:"loader-1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"40px",height:"40px",viewBox:"0 0 50 50",xmlSpace:"preserve"},n.createElement("path",{fill:"#1da1f2",d:"M25.251,6.461c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615V6.461z"},n.createElement("animateTransform",{attributeType:"xml",attributeName:"transform",type:"rotate",from:"0 25 25",to:"360 25 25",dur:"0.6s",repeatCount:"indefinite"}))))}},6238:function(e,t,r){"use strict";r.d(t,{Z:function(){return R}});var n=r(885),o=r(2791),a=r(6789),i=r(2426),s=r.n(i),l=r(3652),u=r(1523),p=r(9271),c=r(8619),d=(r(4569),r(2989)),g=r(3943),f=r(6387),y=r(8688),h=(r(6059),r(6515)),m=o.memo((function e(t){var r=(0,o.useState)(!1),i=(0,n.Z)(r,2),p=i[0],m=i[1],R=(0,o.useState)(!1),k=(0,n.Z)(R,2),b=k[0],S=k[1],v=(0,o.useState)(!1),q=(0,n.Z)(v,2),P=q[0],M=q[1],F=(0,o.useState)(!1),E=(0,n.Z)(F,2),C=E[0],B=E[1],w=(0,o.useState)(!1),T=(0,n.Z)(w,2),O=(T[0],T[1]),_=(0,o.useState)(!1),D=(0,n.Z)(_,2),A=D[0],I=D[1],N=(0,a.I0)(),W=function(e,t){e&&(e.preventDefault(),e.stopPropagation()),I(!A),O("parent"===t),setTimeout((function(){m(!p)}),20)},L=function(e,t){e&&(e.preventDefault(),e.stopPropagation()),I(!A),O("parent"===t),setTimeout((function(){S(!b)}),20)},z=function(e,t){e&&(e.preventDefault(),e.stopPropagation()),I(!A),O("parent"===t),setTimeout((function(){M(!P)}),20)},x=function(e,t){e&&(e.preventDefault(),e.stopPropagation()),I(!A),O("parent"===t),setTimeout((function(){B(!C)}),20)},G=function(e){e.preventDefault(),e.stopPropagation()},j=(0,o.useRef)(!0);(0,o.useEffect)((function(){j.current?j.current=!1:document.getElementsByTagName("body")[0].style.cssText=A&&"overflow-y: hidden; margin-right: 17px"}),[A]),(0,o.useEffect)((function(){return function(){return document.getElementsByTagName("body")[0].style.cssText=""}}),[]),(0,o.useEffect)((function(){j.current?j.current=!1:document.getElementById("replyBox")&&document.getElementById("replyBox").focus()}),[p]);s().updateLocale("en",{relativeTime:{future:"in %s",past:"%s ago",s:"few seconds ago",ss:"%ss",m:"1m",mm:"%dm",h:"1h",hh:"%dh",d:"a day",dd:"%dd",M:"a month",MM:"%dM",y:"a year",yy:"%dY"}});var U,H=t.user;return o.createElement("div",null,o.createElement(u.rU,{onClick:function(e){e.stopPropagation()},to:"/app/squeak/".concat(t.id),key:t.id,className:t.squeak?"Squeak-card-wrapper":"Squeak-card-wrapper missing-squeak"},t.squeak?o.createElement(o.Fragment,null,o.createElement("div",{className:"card-userPic-wrapper"},o.createElement(u.rU,{onClick:function(e){e.stopPropagation()},to:"/app/profile/".concat(t.squeak.getAuthorPubkey())},o.createElement("div",{className:"card-userPic"},o.createElement("img",{alt:"",width:"100%",height:"49px",src:H?"".concat((0,l.d)(H)):null}))),t.hasReply?o.createElement("div",{className:"squeak-reply-thread"}):null),o.createElement("div",{className:"card-content-wrapper"},o.createElement("div",{className:"card-content-header"},o.createElement("div",{className:"card-header-detail"},o.createElement("span",{className:"card-header-user"},o.createElement(u.rU,{onClick:function(e){e.stopPropagation()},to:"/app/profile/".concat(t.squeak.getAuthorPubkey())},H?H.getProfileName():"Unknown Author")),o.createElement("span",{className:"card-header-username"},o.createElement(u.rU,{onClick:function(e){e.stopPropagation()},to:"/app/profile/".concat(t.squeak.getAuthorPubkey())},"@"+t.squeak.getAuthorPubkey())),o.createElement("span",{className:"card-header-dot"},"\xb7"),o.createElement("span",{className:"card-header-date"},s()(1e3*t.squeak.getBlockTime()).fromNow(!0))),o.createElement("div",{className:"card-header-more"})),t.squeak.getIsResqueak()?function(t){var r=t.getResqueakedHash(),n=t.getResqueakedSqueak(),a=n&&n.getAuthor();return o.createElement(e,{squeak:n,key:r,id:r,user:a,replies:[],hasReply:!1})}(t.squeak):(U=t.squeak).getContentStr()?o.createElement("div",{className:"card-content-info"},U.getContentStr()):o.createElement("div",{onClick:function(e){e.preventDefault(),N((0,h.K)(t.id)),x()},className:"card-content-info card-content-locked-content"},o.createElement(c.DP,{styles:{width:"36px",height:"36px",padding:"5px"}}),o.createElement("div",null,"Locked content")),o.createElement("div",{className:"card-buttons-wrapper"},o.createElement("div",{onClick:function(e){return W(e)},className:"card-button-wrap reply-wrap"},o.createElement("div",{className:"card-icon reply-icon"},o.createElement(c.nS,{styles:{fill:"rgb(101, 119, 134)"}})),o.createElement("div",{className:"card-icon-value"},t.squeak.getNumReplies())),o.createElement("div",{onClick:function(e){return L(e)},className:"card-button-wrap resqueak-wrap"},o.createElement("div",{className:"card-icon resqueak-icon"},o.createElement(c._T,{styles:{fill:"rgb(101, 119, 134)"}})),o.createElement("div",{className:"card-icon-value"},t.squeak.getNumResqueaks())),o.createElement("div",{onClick:function(e){e.preventDefault(),t.squeak.getLikedTimeMs()?function(e,t){e&&(e.preventDefault(),e.stopPropagation()),console.log("Clicked unlike with id",t),N((0,h.$h)(t))}(e,t.squeak.getSqueakHash()):function(e,t){e&&(e.preventDefault(),e.stopPropagation()),console.log("Clicked like with id",t),N((0,h.qx)(t))}(e,t.squeak.getSqueakHash())},className:"card-button-wrap heart-wrap"},o.createElement("div",{className:"card-icon heart-icon"},t.squeak.getLikedTimeMs()?o.createElement(c.nT,{styles:{fill:"rgb(224, 36, 94)"}}):o.createElement(c.Wz,{styles:{fill:"rgb(101, 119, 134)"}}))),o.createElement("div",{onClick:function(e){return z(e)},className:"card-button-wrap"},o.createElement("div",{className:"card-icon share-icon"},o.createElement(c.cU,{styles:{fill:"rgb(101, 119, 134)"}})))))):o.createElement(o.Fragment,null,o.createElement("div",{className:"card-userPic-wrapper"},o.createElement("img",{alt:"",style:{borderRadius:"50%",minWidth:"49px"},width:"100%",height:"49px",src:null}),t.hasReply?o.createElement("div",{className:"squeak-reply-thread"}):null),o.createElement("div",{className:"card-content-wrapper"},o.createElement("div",{className:"card-content-info"},"Missing Squeak")))),t.squeak?o.createElement("div",{onClick:function(e){return W(e)},style:{display:p?"block":"none"},className:"modal-edit"},p?o.createElement("div",{style:{minHeight:"350px",height:"initial"},onClick:function(e){return G(e)},className:"modal-content"},o.createElement("div",{className:"modal-header"},o.createElement("div",{className:"modal-closeIcon"},o.createElement("div",{onClick:function(e){return W(e)},className:"modal-closeIcon-wrap"},o.createElement(c.q3,null))),o.createElement("p",{className:"modal-title"},"Reply")),o.createElement("div",{style:{marginTop:"5px"},className:"modal-body"},o.createElement(d.Z,{replyToSqueak:t.squeak,submittedCallback:W}))):null):null,t.squeak?o.createElement("div",{onClick:function(e){return L(e)},style:{display:b?"block":"none"},className:"modal-edit"},b?o.createElement("div",{style:{minHeight:"350px",height:"initial"},onClick:function(e){return G(e)},className:"modal-content"},o.createElement("div",{className:"modal-header"},o.createElement("div",{className:"modal-closeIcon"},o.createElement("div",{onClick:function(e){return L(e)},className:"modal-closeIcon-wrap"},o.createElement(c.q3,null))),o.createElement("p",{className:"modal-title"},"Resqueak")),o.createElement("div",{style:{marginTop:"5px"},className:"modal-body"},o.createElement(g.Z,{resqueakedSqueak:t.squeak,submittedCallback:L}))):null):null,t.squeak?o.createElement("div",{onClick:function(e){return z(e)},style:{display:P?"block":"none"},className:"modal-edit"},P?o.createElement("div",{style:{minHeight:"350px",height:"initial"},onClick:function(e){return G(e)},className:"modal-content"},o.createElement("div",{className:"modal-header"},o.createElement("div",{className:"modal-closeIcon"},o.createElement("div",{onClick:function(e){return z(e)},className:"modal-closeIcon-wrap"},o.createElement(c.q3,null))),o.createElement("p",{className:"modal-title"},"Delete Squeak")),o.createElement("div",{style:{marginTop:"5px"},className:"modal-body"},o.createElement(f.Z,{squeakHash:t.id,submittedCallback:z}))):null):null,t.squeak?o.createElement("div",{onClick:function(e){return x(e)},style:{display:C?"block":"none"},className:"modal-edit"},C?o.createElement("div",{style:{minHeight:"350px",height:"initial"},onClick:function(e){return G(e)},className:"modal-content"},o.createElement("div",{className:"modal-header"},o.createElement("div",{className:"modal-closeIcon"},o.createElement("div",{onClick:function(e){return x(e)},className:"modal-closeIcon-wrap"},o.createElement(c.q3,null))),o.createElement("p",{className:"modal-title"},"Buy Squeak")),o.createElement("div",{style:{marginTop:"5px"},className:"modal-body"},o.createElement(y.Z,{squeak:t.squeak,submittedCallback:x}))):null):null)})),R=(0,p.EN)(m)},7663:function(e,t,r){"use strict";r.d(t,{wt:function(){return l}});var n=r(5861),o=r(7757),a=r.n(o),i=r(8785),s=r(3965),l=(0,i.hg)("account/setLogout",(0,n.Z)(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Logging out"),e.next=3,(0,s.kS)();case 3:return console.log("Logged out"),e.abrupt("return",null);case 5:case"end":return e.stop()}}),e)})))),u=(0,i.oM)({name:"account",initialState:{userName:null},reducers:{},extraReducers:function(e){e.addCase(l.pending,(function(e,t){console.log("Logging out in reducer...")})).addCase(l.fulfilled,(function(e,t){console.log(t),window.location.replace("/")}))}});t.ZP=u.reducer},6619:function(e,t,r){"use strict";r.d(t,{Fp:function(){return l},Mj:function(){return p}});var n=r(5861),o=r(7757),a=r.n(o),i=r(8785),s=r(3965),l=(0,i.hg)("externalAddress/fetchExternalAddress",(0,n.Z)(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Fetching external address"),e.next=3,(0,s.CU)();case 3:return t=e.sent,console.log(t),e.abrupt("return",t.getPeerAddress());case 6:case"end":return e.stop()}}),e)})))),u=(0,i.oM)({name:"externalAddress",initialState:{externalAddress:null},reducers:{},extraReducers:function(e){e.addCase(l.fulfilled,(function(e,t){console.log(t);var r=t.payload;e.externalAddress=r}))}});t.ZP=u.reducer;var p=function(e){return e.externalAddress.externalAddress}},9781:function(e,t,r){"use strict";r.d(t,{Rv:function(){return l},oM:function(){return p}});var n=r(5861),o=r(7757),a=r.n(o),i=r(8785),s=r(3965),l=(0,i.hg)("network/fetchNetwork",(0,n.Z)(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Fetching network"),e.next=3,(0,s.Hy)();case 3:return t=e.sent,console.log(t),e.abrupt("return",t.getNetwork());case 6:case"end":return e.stop()}}),e)})))),u=(0,i.oM)({name:"network",initialState:{network:null},reducers:{},extraReducers:function(e){e.addCase(l.fulfilled,(function(e,t){console.log(t);var r=t.payload;e.network=r}))}});t.ZP=u.reducer;var p=function(e){return e.network.network}},1674:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(2791),o=r(6789),a=r(9271),i=r(2426),s=r.n(i),l=r(1523),u=(r(6238),r(8608)),p=(0,a.EN)((function(e){var t=e.receivedPayment;return n.createElement("div",{key:t.getPaymentHash(),className:"payment-wapper"},n.createElement("div",{className:"search-user-details"},n.createElement("div",{className:"search-user-warp"},n.createElement("div",{className:"search-user-info"},n.createElement("div",{className:"payment-price"},t.getPriceMsat()/1e3," sats"),n.createElement("div",{className:"payment-squeak-hash"},n.createElement("b",null,"Squeak Hash"),":\xa0",n.createElement(l.rU,{style:{color:"blue",fontWeight:"bold"},to:"/app/squeak/".concat(t.getSqueakHash())},t.getSqueakHash())),n.createElement("div",{className:"payment-peer-address"},n.createElement("b",null,"Peer"),":\xa0",t.getPeerAddress().getHost(),":",t.getPeerAddress().getPort()),n.createElement("div",{className:"payment-time"},s()(t.getTimeMs()).format("h:mm A \xb7 MMM D, YYYY"))))))})),c=r(6682),d=(0,a.EN)((function(e){var t=(0,o.v9)(c.qq),r=(0,o.v9)(c.Sn),a=(0,o.v9)(c.hx),i=(0,o.I0)();(0,n.useEffect)((function(){window.scrollTo(0,0),console.log("fetchReceivedPayments"),i((0,c.a)()),i((0,c.fD)({squeakHash:e.squeakHash,pubkey:e.pubkey,network:e.network,host:e.host,port:e.port,limit:10,lastReceivedPayment:null}))}),[e.squeakHash]);var s=t.map((function(e){return n.createElement(p,{receivedPayment:e})}));return n.createElement(n.Fragment,null,s,"loading"===r?n.createElement("div",{className:"todo-list"},n.createElement(u.Z,null)):n.createElement("div",{onClick:function(){i((0,c.fD)({squeakHash:e.squeakHash,pubkey:e.pubkey,network:e.network,host:e.host,port:e.port,limit:10,lastReceivedPayment:a}))},className:"squeak-btn-side squeak-btn-active"},"LOAD MORE"))}))},6617:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(2791),o=r(6789),a=r(9271),i=r(2426),s=r.n(i),l=r(1523),u=(r(6238),r(8608)),p=(0,a.EN)((function(e){var t=e.sentPayment,r=((0,o.I0)(),t.getPeerAddress()),a="/app/peer/".concat(r.getNetwork(),"/").concat(r.getHost(),"/").concat(r.getPort());return n.createElement("div",{key:t.getPaymentHash(),className:"payment-wapper"},n.createElement("div",{className:"search-user-details"},n.createElement("div",{className:"search-user-warp"},n.createElement("div",{className:"search-user-info"},n.createElement("div",{className:"payment-price"},t.getPriceMsat()/1e3," sats"),n.createElement("div",{className:"payment-squeak-hash"},n.createElement("b",null,"Squeak Hash"),":\xa0",n.createElement(l.rU,{style:{color:"blue",fontWeight:"bold"},to:"/app/squeak/".concat(t.getSqueakHash())},t.getSqueakHash())),n.createElement("div",{className:"payment-peer-address"},n.createElement("b",null,"Peer"),":\xa0",n.createElement(l.rU,{to:a,style:{color:"blue",fontWeight:"bold"}},t.getPeerAddress().getHost(),":",t.getPeerAddress().getPort())),n.createElement("div",{className:"payment-lightning-node"},n.createElement("b",null,"Lightning Node"),":\xa0",n.createElement("a",{href:"https://amboss.space/node/".concat(t.getNodePubkey()),target:"_blank",rel:"noopener noreferrer",style:{color:"blue",fontWeight:"bold"}},t.getNodePubkey())),n.createElement("div",{className:"payment-time"},s()(t.getTimeMs()).format("h:mm A \xb7 MMM D, YYYY"))))))})),c=r(6682),d=(0,a.EN)((function(e){var t=(0,o.v9)(c.aZ),r=(0,o.v9)(c.Jj),a=(0,o.v9)(c.$k),i=(0,o.I0)();(0,n.useEffect)((function(){window.scrollTo(0,0),console.log("fetchSentPayments"),i((0,c.Rd)()),i((0,c.ps)({squeakHash:e.squeakHash,pubkey:e.pubkey,network:e.network,host:e.host,port:e.port,limit:10,lastSentPayment:null}))}),[e.squeakHash]);var s=t.map((function(e){return n.createElement(p,{sentPayment:e})}));return n.createElement(n.Fragment,null,s,"loading"===r?n.createElement("div",{className:"todo-list"},n.createElement(u.Z,null)):n.createElement("div",{onClick:function(){i((0,c.ps)({squeakHash:e.squeakHash,pubkey:e.pubkey,network:e.network,host:e.host,port:e.port,limit:10,lastSentPayment:a}))},className:"squeak-btn-side squeak-btn-active"},"LOAD MORE"))}))},6682:function(e,t,r){"use strict";r.d(t,{$k:function(){return b},BK:function(){return M},Jj:function(){return S},LX:function(){return f},Rd:function(){return m},Sn:function(){return P},Zb:function(){return g},Zu:function(){return d},a:function(){return R},aZ:function(){return k},au:function(){return c},fD:function(){return p},gL:function(){return C},hx:function(){return q},oW:function(){return E},ps:function(){return u},qq:function(){return v},zn:function(){return F}});var n=r(5861),o=r(7757),a=r.n(o),i=r(8785),s=r(6916),l=r(3965),u=(0,i.hg)("payments/fetchSentPayments",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.squeakHash){e.next=6;break}return e.next=3,(0,l.FG)(t.squeakHash,t.limit,t.lastSentPayment);case 3:e.t0=e.sent,e.next=23;break;case 6:if(!t.pubkey){e.next=12;break}return e.next=9,(0,l.vo)(t.pubkey,t.limit,t.lastSentPayment);case 9:e.t1=e.sent,e.next=22;break;case 12:if(!(t.network&&t.host&&t.port)){e.next=18;break}return e.next=15,(0,l.lm)(t.network,t.host,t.port,t.limit,t.lastSentPayment);case 15:e.t2=e.sent,e.next=21;break;case 18:return e.next=20,(0,l.pk)(t.limit,t.lastSentPayment);case 20:e.t2=e.sent;case 21:e.t1=e.t2;case 22:e.t0=e.t1;case 23:return r=e.t0,e.abrupt("return",r.getSentPaymentsList());case 25:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),p=(0,i.hg)("payments/fetchReceivedPayments",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.squeakHash){e.next=6;break}return e.next=3,(0,l.p2)(t.squeakHash,t.limit,t.lastReceivedPayment);case 3:e.t0=e.sent,e.next=23;break;case 6:if(!t.pubkey){e.next=12;break}return e.next=9,(0,l.cG)(t.pubkey,t.limit,t.lastReceivedPayment);case 9:e.t1=e.sent,e.next=22;break;case 12:if(!(t.network&&t.host&&t.port)){e.next=18;break}return e.next=15,(0,l.$x)(t.network,t.host,t.port,t.limit,t.lastReceivedPayment);case 15:e.t2=e.sent,e.next=21;break;case 18:return e.next=20,(0,l.VA)(t.limit,t.lastReceivedPayment);case 20:e.t2=e.sent;case 21:e.t1=e.t2;case 22:e.t0=e.t1;case 23:return r=e.t0,e.abrupt("return",r.getReceivedPaymentsList());case 25:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),c=(0,i.hg)("payments/fetchPaymentSummary",(0,n.Z)(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Fetching paymentSummary"),e.next=3,(0,l.uS)();case 3:return t=e.sent,e.abrupt("return",t.getPaymentSummary());case 5:case"end":return e.stop()}}),e)})))),d=(0,i.hg)("payments/fetchPaymentSummaryForSqueak",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Fetching paymentSummary for squeak:",t.squeakHash),e.next=3,(0,l.t_)(t.squeakHash);case 3:return r=e.sent,e.abrupt("return",r.getPaymentSummary());case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),g=(0,i.hg)("payments/fetchPaymentSummaryForPubkey",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Fetching paymentSummary for pubkey:",t.pubkey),e.next=3,(0,l.G1)(t.pubkey);case 3:return r=e.sent,e.abrupt("return",r.getPaymentSummary());case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),f=(0,i.hg)("payments/fetchPaymentSummaryForPeer",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Fetching paymentSummary for peer:",t.network,t.host,t.port),e.next=3,(0,l.H6)(t.network,t.host,t.port);case 3:return r=e.sent,e.abrupt("return",r.getPaymentSummary());case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),y=(0,i.oM)({name:"sentPayments",initialState:{sentPaymentsStatus:"idle",sentPayments:[],receivedPaymentsStatus:"idle",receivedPayments:[],paymentSummary:null,paymentSummaryForSqueak:null,paymentSummaryForPubkey:null,paymentSummaryForPeer:null},reducers:{clearSentPayments:function(e,t){e.sentPaymentsStatus="idle",e.sentPayments=[]},clearReceivedPayments:function(e,t){e.receivedPaymentsStatus="idle",e.receivedPayments=[]}},extraReducers:function(e){e.addCase(u.pending,(function(e,t){e.sentPaymentsStatus="loading"})).addCase(u.fulfilled,(function(e,t){var r=t.payload;e.sentPayments=e.sentPayments.concat(r),e.sentPaymentsStatus="idle"})).addCase(p.pending,(function(e,t){e.receivedPaymentsStatus="loading"})).addCase(p.fulfilled,(function(e,t){var r=t.payload;e.receivedPayments=e.receivedPayments.concat(r),e.receivedPaymentsStatus="idle"})).addCase(c.fulfilled,(function(e,t){var r=t.payload;e.paymentSummary=r})).addCase(d.fulfilled,(function(e,t){var r=t.payload;e.paymentSummaryForSqueak=r})).addCase(g.fulfilled,(function(e,t){var r=t.payload;e.paymentSummaryForPubkey=r})).addCase(f.fulfilled,(function(e,t){var r=t.payload;e.paymentSummaryForPeer=r}))}}),h=y.actions,m=h.clearSentPayments,R=h.clearReceivedPayments;t.ZP=y.reducer;var k=function(e){return e.payments.sentPayments},b=(0,s.P1)(k,(function(e){return e.length>0&&e[e.length-1]})),S=function(e){return e.payments.sentPaymentsStatus},v=function(e){return e.payments.receivedPayments},q=(0,s.P1)(v,(function(e){return e.length>0&&e[e.length-1]})),P=function(e){return e.payments.receivedPaymentsStatus},M=function(e){return e.payments.paymentSummary},F=function(e){return e.payments.paymentSummaryForSqueak},E=function(e){return e.payments.paymentSummaryForPubkey},C=function(e){return e.payments.paymentSummaryForPeer}},9435:function(e,t,r){"use strict";r.d(t,{BS:function(){return u},CB:function(){return h},Jl:function(){return c},NQ:function(){return b},cV:function(){return S},c_:function(){return m},lh:function(){return f},y$:function(){return y}});var n=r(5861),o=r(7757),a=r.n(o),i=r(8785),s=r(6916),l=r(3965),u=(0,i.hg)("peers/fetchPeer",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n,o,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Fetching peer"),r=t.network,n=t.host,o=t.port,e.next=6,(0,l.eY)(r,n,o);case 6:return i=e.sent,console.log(i),e.abrupt("return",i.getSqueakPeer());case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),p=(0,i.hg)("peers/fetchConnectedPeers",(0,n.Z)(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Fetching connected peers"),e.next=3,(0,l.MD)();case 3:return t=e.sent,console.log(t),e.abrupt("return",t.getConnectedPeersList());case 6:case"end":return e.stop()}}),e)})))),c=(0,i.hg)("peers/fetchSavedPeers",(0,n.Z)(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Fetching saved peers"),e.next=3,(0,l.GA)();case 3:return t=e.sent,console.log(t),e.abrupt("return",t.getSqueakPeersList());case 6:case"end":return e.stop()}}),e)})))),d=(0,i.hg)("peers/setConnectPeer",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n,o,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Connecting peer"),r=t.network,n=t.host,o=t.port,e.next=6,(0,l.d5)(r,n,o);case 6:return e.next=8,(0,l.MD)();case 8:return i=e.sent,e.abrupt("return",i.getConnectedPeersList());case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),g=(0,i.hg)("peers/setDisconnectPeer",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n,o,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Disconnecting peer"),r=t.network,n=t.host,o=t.port,e.next=6,(0,l.GD)(r,n,o);case 6:return e.next=8,(0,l.MD)();case 8:return i=e.sent,e.abrupt("return",i.getConnectedPeersList());case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),f=(0,i.hg)("peers/setSavePeer",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n,o,i,s;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Saving peer"),r=t.name,n=t.network,o=t.host,i=t.port,e.next=7,(0,l.Rd)(r,n,o,i);case 7:return e.next=9,(0,l.GA)();case 9:return s=e.sent,e.abrupt("return",s.getSqueakPeersList());case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),y=(0,i.hg)("peers/setDeletePeer",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Deleting peer"),r=t.peerId,e.next=4,(0,l.sq)(r);case 4:return e.next=6,(0,l.GA)();case 6:return n=e.sent,e.abrupt("return",n.getSqueakPeersList());case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),h=(0,i.hg)("peers/setPeerAutoconnectEnabled",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Setting peer autoconnect enabled"),r=t.peerId,e.next=4,(0,l.jF)(r);case 4:return e.next=6,(0,l.GA)();case 6:return n=e.sent,e.abrupt("return",n.getSqueakPeersList());case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),m=(0,i.hg)("peers/setPeerAutoconnectDisabled",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Setting peer autoconnect disabled"),r=t.peerId,e.next=4,(0,l.ji)(r);case 4:return e.next=6,(0,l.GA)();case 6:return n=e.sent,e.abrupt("return",n.getSqueakPeersList());case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),R=(0,i.oM)({name:"peers",initialState:{currentPeerStatus:"idle",currentPeer:null,connectedPeersStatus:"idle",connectedPeers:[],savedPeersStatus:"idle",savedPeers:[],connectPeerStatus:"idle",disconnectPeerStatus:"idle",savePeerStatus:"idle",deletePeerStatus:"idle"},reducers:{clearAll:function(e,t){console.log("Clear current peer and status."),e.currentPeerStatus="idle",e.currentPeer=null},clearSavedPeers:function(e,t){e.savedPeersStatus="idle",e.savedPeers=[]}},extraReducers:function(e){e.addCase(u.pending,(function(e,t){e.currentPeerStatus="loading"})).addCase(u.fulfilled,(function(e,t){var r=t.payload;e.currentPeer=r,e.currentPeerStatus="idle"})).addCase(p.pending,(function(e,t){e.connectedPeersStatus="loading"})).addCase(p.fulfilled,(function(e,t){var r=t.payload;e.connectedPeers=r,e.connectedPeersStatus="idle"})).addCase(c.pending,(function(e,t){e.savedPeersStatus="loading"})).addCase(c.fulfilled,(function(e,t){var r=t.payload;e.savedPeers=r,e.savedPeersStatus="idle"})).addCase(d.pending,(function(e,t){console.log(t),e.connectPeerStatus="loading"})).addCase(d.fulfilled,(function(e,t){console.log(t);var r=t.payload;e.connectedPeers=r,e.connectPeerStatus="idle"})).addCase(g.pending,(function(e,t){console.log(t),e.disconnectPeerStatus="loading"})).addCase(g.fulfilled,(function(e,t){console.log(t);var r=t.payload;e.connectedPeers=r,e.disconnectPeerStatus="idle"})).addCase(f.pending,(function(e,t){console.log(t),e.savePeerStatus="loading"})).addCase(f.fulfilled,(function(e,t){console.log(t);var r=t.payload,n=t.meta.arg,o=r.find((function(e){return e.getPeerAddress().getNetwork()===n.network&&e.getPeerAddress().getHost()===n.host&&e.getPeerAddress().getPort()==n.port}));e.currentPeer=o,e.savedPeers=r,e.savePeerStatus="idle"})).addCase(y.pending,(function(e,t){console.log(t),e.deletePeerStatus="loading"})).addCase(y.fulfilled,(function(e,t){console.log(t);var r=t.payload;e.currentPeer=null,e.savedPeers=r,e.deletePeerStatus="idle"})).addCase(h.fulfilled,(function(e,t){console.log(t);var r=t.payload,n=t.meta.arg.peerId,o=r.find((function(e){return e.getPeerId()===n}));e.currentPeer=o,e.savedPeers=r})).addCase(m.fulfilled,(function(e,t){console.log(t);var r=t.payload,n=t.meta.arg.peerId,o=r.find((function(e){return e.getPeerId()===n}));e.currentPeer=o,e.savedPeers=r}))}}),k=R.actions;k.clearAll,k.clearSavedPeers;t.ZP=R.reducer;var b=function(e){return e.peers.currentPeer},S=function(e){return e.peers.savedPeers};(0,s.P1)([function(e){return e.peers.connectedPeers},function(e,t){return t}],(function(e,t){return e.find((function(e){return e.getPeerAddress().getNetwork()===t.network&&e.getPeerAddress().getHost()===t.host&&e.getPeerAddress().getPort()==t.port}))}))},9899:function(e,t,r){"use strict";r.d(t,{E9:function(){return u},F0:function(){return b},In:function(){return l},Ji:function(){return C},KA:function(){return F},Kb:function(){return p},MR:function(){return B},P2:function(){return h},RM:function(){return M},V4:function(){return f},W$:function(){return g},X5:function(){return E},X8:function(){return w},XM:function(){return c},XT:function(){return k},ZR:function(){return d},gj:function(){return P},iK:function(){return y},um:function(){return R},vs:function(){return m}});var n=r(5861),o=r(7757),a=r.n(o),i=r(8785),s=r(3965),l=(0,i.hg)("profile/fetchProfile",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Fetching profile"),e.next=3,(0,s.Bs)(t);case 3:return r=e.sent,console.log(r),e.abrupt("return",r.getSqueakProfile());case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),u=(0,i.hg)("profile/setFollowProfile",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Following profile"),e.next=3,(0,s.c3)(t,!0);case 3:return e.next=5,(0,s.Ai)(t);case 5:return r=e.sent,e.abrupt("return",r.getSqueakProfile());case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),p=(0,i.hg)("profile/setUnfollowProfile",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Unfollowing profile"),e.next=3,(0,s.c3)(t,!1);case 3:return e.next=5,(0,s.Ai)(t);case 5:return r=e.sent,e.abrupt("return",r.getSqueakProfile());case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),c=(0,i.hg)("profile/setDeleteProfile",function(){var e=(0,n.Z)(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Deleting profile"),e.next=3,(0,s.he)(t.profileId);case 3:return e.abrupt("return",null);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),d=(0,i.hg)("profile/setRenameProfile",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n,o;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Renaming profile"),r=t.profileId,n=t.profileName,e.next=5,(0,s.Vu)(r,n);case 5:return e.next=7,(0,s.Ai)(r);case 7:return o=e.sent,e.abrupt("return",o.getSqueakProfile());case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),g=(0,i.hg)("profile/setProfileImage",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n,o;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Changing image for profile"),r=t.profileId,n=t.imageBase64,e.next=5,(0,s.sl)(r,n);case 5:return e.next=7,(0,s.Ai)(r);case 7:return o=e.sent,e.abrupt("return",o.getSqueakProfile());case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),f=(0,i.hg)("profile/setClearProfileImage",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Clearing image for profile"),r=t.profileId,e.next=4,(0,s.wQ)(r);case 4:return e.next=6,(0,s.Ai)(r);case 6:return n=e.sent,e.abrupt("return",n.getSqueakProfile());case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),y=(0,i.hg)("profiles/fetchSigningProfiles",(0,n.Z)(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.Hp)();case 2:return t=e.sent,e.abrupt("return",t.getSqueakProfilesList());case 4:case"end":return e.stop()}}),e)})))),h=(0,i.hg)("profiles/fetchContactProfiles",(0,n.Z)(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.Be)();case 2:return t=e.sent,e.abrupt("return",t.getSqueakProfilesList());case 4:case"end":return e.stop()}}),e)})))),m=(0,i.hg)("profiles/createContactProfile",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n,o,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Creating contact profile"),r=t.profileName,n=t.pubkey,e.next=5,(0,s.HR)(r,n);case 5:return o=e.sent,console.log(o),e.next=9,(0,s.Ai)(o.getProfileId());case 9:return i=e.sent,console.log(i),e.abrupt("return",i.getSqueakProfile().getPubkey());case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),R=(0,i.hg)("profiles/createSigningProfile",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n,o;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Creating signing profile"),r=t.profileName,e.next=4,(0,s.w7)(r);case 4:return n=e.sent,console.log(n),e.next=8,(0,s.Ai)(n.getProfileId());case 8:return o=e.sent,console.log(o),e.abrupt("return",o.getSqueakProfile().getPubkey());case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),k=(0,i.hg)("profiles/importSigningProfile",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n,o,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Importing signing profile"),r=t.profileName,n=t.privateKey,e.next=5,(0,s.No)(r,n);case 5:return o=e.sent,console.log(o),e.next=9,(0,s.Ai)(o.getProfileId());case 9:return i=e.sent,console.log(i),e.abrupt("return",i.getSqueakProfile().getPubkey());case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),b=(0,i.hg)("profiles/getProfilePrivateKey",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Exporting profile private key"),r=t.profileId,e.next=4,(0,s.xp)(r);case 4:return n=e.sent,console.log(n),e.abrupt("return",n.getPrivateKey());case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),S=function(e,t){var r=e.findIndex((function(e){return e.getPubkey()===t.getPubkey()}));-1!=r&&(e[r]=t)},v=(0,i.oM)({name:"profiles",initialState:{currentProfileStatus:"idle",currentProfile:null,signingProfilesStatus:"idle",signingProfiles:[],contactProfilesStatus:"idle",contactProfiles:[],createContactProfileStatus:"idle",createSigningProfileStatus:"idle",importSigningProfileStatus:"idle",exportPrivateKeyStatus:"idle"},reducers:{clearAll:function(e,t){console.log("Clear profile and other data."),e.currentProfileStatus="idle",e.currentProfile=null},clearSigningProfiles:function(e,t){e.signingProfilesStatus="idle",e.signingProfiles=[]},clearContactProfiles:function(e,t){e.contactProfilesStatus="idle",e.contactProfiles=[]}},extraReducers:function(e){e.addCase(l.pending,(function(e,t){e.currentProfileStatus="loading"})).addCase(l.fulfilled,(function(e,t){console.log(t);var r=t.payload;e.currentProfile=r,e.currentProfileStatus="idle"})).addCase(u.fulfilled,(function(e,t){console.log(t);var r=t.payload;e.currentProfile&&e.currentProfile.getPubkey()===r.getPubkey()&&(e.currentProfile=r),S(e.signingProfiles,r),S(e.contactProfiles,r)})).addCase(p.fulfilled,(function(e,t){console.log(t);var r=t.payload;e.currentProfile&&e.currentProfile.getPubkey()===r.getPubkey()&&(e.currentProfile=r),S(e.signingProfiles,r),S(e.contactProfiles,r)})).addCase(d.fulfilled,(function(e,t){console.log(t);var r=t.payload;e.currentProfile&&e.currentProfile.getPubkey()===r.getPubkey()&&(e.currentProfile=r),S(e.signingProfiles,r),S(e.contactProfiles,r)})).addCase(g.fulfilled,(function(e,t){console.log(t);var r=t.payload;e.currentProfile&&e.currentProfile.getPubkey()===r.getPubkey()&&(e.currentProfile=r),S(e.signingProfiles,r),S(e.contactProfiles,r)})).addCase(f.fulfilled,(function(e,t){console.log(t);var r=t.payload;e.currentProfile&&e.currentProfile.getPubkey()===r.getPubkey()&&(e.currentProfile=r),S(e.signingProfiles,r),S(e.contactProfiles,r)})).addCase(c.fulfilled,(function(e,t){console.log(t);var r=t.meta.arg.profileId;console.log(r),e.currentProfile&&e.currentProfile.getProfileId()===r&&(e.currentProfile=null)})).addCase(y.pending,(function(e,t){e.signingProfilesStatus="loading"})).addCase(y.fulfilled,(function(e,t){var r=t.payload;e.signingProfiles=r,e.signingProfilesStatus="idle"})).addCase(h.pending,(function(e,t){e.contactProfilesStatus="loading"})).addCase(h.fulfilled,(function(e,t){var r=t.payload;e.contactProfiles=r,e.contactProfilesStatus="idle"})).addCase(m.pending,(function(e,t){console.log("setCreateContactProfile pending"),e.createContactProfileStatus="loading"})).addCase(m.fulfilled,(function(e,t){console.log("setCreateContactProfile fulfilled"),console.log(t);t.payload;e.createContactProfileStatus="idle",console.log("Go to new profile")})).addCase(R.pending,(function(e,t){console.log("setCreateSigningProfile pending"),e.createSigningProfileStatus="loading"})).addCase(R.fulfilled,(function(e,t){console.log("setCreateSigningProfile fulfilled"),console.log(t);t.payload;e.createSigningProfileStatus="idle",console.log("Go to new profile")})).addCase(k.pending,(function(e,t){console.log("setImportSigningProfile pending"),e.importSigningProfileStatus="loading"})).addCase(k.fulfilled,(function(e,t){console.log("setImportSigningProfile fulfilled"),console.log(t);t.payload;e.importSigningProfileStatus="idle",console.log("Go to new profile")})).addCase(b.pending,(function(e,t){console.log("getProfilePrivateKey pending"),e.exportPrivateKeyStatus="loading"})).addCase(b.fulfilled,(function(e,t){console.log("getProfilePrivateKey fulfilled"),console.log(t),e.exportPrivateKeyStatus="idle"}))}}),q=v.actions,P=(q.clearAll,q.clearSigningProfiles),M=q.clearContactProfiles;t.ZP=v.reducer;var F=function(e){return e.profiles.currentProfile},E=function(e){return e.profiles.signingProfiles},C=function(e){return e.profiles.signingProfilesStatus},B=function(e){return e.profiles.contactProfiles},w=function(e){return e.profiles.contactProfilesStatus}},1950:function(e,t,r){"use strict";r.d(t,{Fo:function(){return l},Uy:function(){return u},eU:function(){return d},z1:function(){return p}});var n=r(5861),o=r(7757),a=r.n(o),i=r(8785),s=r(3965),l=(0,i.hg)("sellPrice/fetchSellPrice",(0,n.Z)(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Fetching sellPrice"),e.next=3,(0,s.np)();case 3:return t=e.sent,console.log(t),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)})))),u=(0,i.hg)("sellPrice/setSellPrice",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Updating sellPrice"),e.next=3,(0,s.Y1)(t);case 3:return e.next=5,(0,s.np)();case 5:return r=e.sent,console.log(r),e.abrupt("return",r);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),p=(0,i.hg)("sellPrice/setClearSellPrice",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Clearing sellPrice"),e.next=3,(0,s.tf)();case 3:return e.next=5,(0,s.np)();case 5:return r=e.sent,console.log(r),e.abrupt("return",r);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),c=(0,i.oM)({name:"sellPrice",initialState:{sellPriceInfo:null},reducers:{},extraReducers:function(e){e.addCase(l.fulfilled,(function(e,t){console.log(t);var r=t.payload;e.sellPriceInfo=r})).addCase(u.fulfilled,(function(e,t){console.log(t);var r=t.payload;e.sellPriceInfo=r})).addCase(p.fulfilled,(function(e,t){console.log(t);var r=t.payload;e.sellPriceInfo=r}))}});t.ZP=c.reducer;var d=function(e){return e.sellPrice.sellPriceInfo}},8688:function(e,t,r){"use strict";r.d(t,{Z:function(){return tn}});var n=r(885),o=r(2791),a=r(9271),i=r(8785),s=(r(2426),r(6059),r(8608)),l=r(6440),u=r(7462);var p=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t
0?m(E,--M):0,q--,10===F&&(q=1,v--),F}function T(){return F=M2||A(F)>3?"":" "}function z(e,t){for(;--t&&T()&&!(F<48||F>102||F>57&&F<65||F>70&&F<97););return D(e,_()+(t<6&&32==O()&&32==T()))}function x(e){for(;T();)switch(F){case e:return M;case 34:case 39:34!==e&&39!==e&&x(F);break;case 40:41===e&&x(e);break;case 92:T()}return M}function G(e,t){for(;T()&&e+F!==57&&(e+F!==84||47!==O()););return"/*"+D(t,M-1)+"*"+d(47===e?e:T())}function j(e){for(;!A(O());)T();return D(e,M)}var U="-ms-",H="-moz-",V="-webkit-",K="comm",$="rule",Y="decl",Z="@keyframes";function J(e,t){for(var r="",n=b(e),o=0;o6)switch(m(e,t+1)){case 109:if(45!==m(e,t+4))break;case 102:return y(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+H+(108==m(e,t+3)?"$3":"$2-$3"))+e;case 115:return~h(e,"stretch")?X(y(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==m(e,t+1))break;case 6444:switch(m(e,k(e)-3-(~h(e,"!important")&&10))){case 107:return y(e,":",":"+V)+e;case 101:return y(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+V+(45===m(e,14)?"inline-":"")+"box$3$1"+V+"$2$3$1"+U+"$2box$3")+e}break;case 5936:switch(m(e,t+11)){case 114:return V+e+U+y(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return V+e+U+y(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return V+e+U+y(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return V+e+U+e+e}return e}function ee(e){return N(te("",null,null,null,[""],e=I(e),0,[0],e))}function te(e,t,r,n,o,a,i,s,l){for(var u=0,p=0,c=i,g=0,f=0,m=0,R=1,b=1,v=1,q=0,P="",M=o,F=a,E=n,C=P;b;)switch(m=q,q=T()){case 40:if(108!=m&&58==C.charCodeAt(c-1)){-1!=h(C+=y(W(q),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:C+=W(q);break;case 9:case 10:case 13:case 32:C+=L(m);break;case 92:C+=z(_()-1,7);continue;case 47:switch(O()){case 42:case 47:S(ne(G(T(),_()),t,r),l);break;default:C+="/"}break;case 123*R:s[u++]=k(C)*v;case 125*R:case 59:case 0:switch(q){case 0:case 125:b=0;case 59+p:f>0&&k(C)-c&&S(f>32?oe(C+";",n,r,c-1):oe(y(C," ","")+";",n,r,c-2),l);break;case 59:C+=";";default:if(S(E=re(C,t,r,u,p,o,s,P,M=[],F=[],c),a),123===q)if(0===p)te(C,t,E,E,M,a,c,s,F);else switch(g){case 100:case 109:case 115:te(e,E,E,n&&S(re(e,E,E,0,0,o,s,P,o,M=[],c),F),o,F,c,s,n?M:F);break;default:te(C,E,E,E,[""],F,0,s,F)}}u=p=f=0,R=v=1,P=C="",c=i;break;case 58:c=1+k(C),f=m;default:if(R<1)if(123==q)--R;else if(125==q&&0==R++&&125==w())continue;switch(C+=d(q),q*R){case 38:v=p>0?1:(C+="\f",-1);break;case 44:s[u++]=(k(C)-1)*v,v=1;break;case 64:45===O()&&(C+=W(T())),g=O(),p=c=k(P=C+=j(_())),q++;break;case 45:45===m&&2==k(C)&&(R=0)}}return a}function re(e,t,r,n,o,a,i,s,l,u,p){for(var d=o-1,g=0===o?a:[""],h=b(g),m=0,k=0,S=0;m0?g[v]+" "+q:y(q,/&\f/g,g[v])))&&(l[S++]=P);return C(e,t,r,0===o?$:s,l,u,p)}function ne(e,t,r){return C(e,t,r,K,d(F),R(e,2,-2),0)}function oe(e,t,r,n){return C(e,t,r,Y,R(e,0,n),R(e,n+1,-1),n)}var ae=function(e,t,r){for(var n=0,o=0;n=o,o=O(),38===n&&12===o&&(t[r]=1),!A(o);)T();return D(e,M)},ie=function(e,t){return N(function(e,t){var r=-1,n=44;do{switch(A(n)){case 0:38===n&&12===O()&&(t[r]=1),e[r]+=ae(M-1,t,r);break;case 2:e[r]+=W(n);break;case 4:if(44===n){e[++r]=58===O()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=d(n)}}while(n=T());return e}(I(e),t))},se=new WeakMap,le=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||se.get(r))&&!n){se.set(e,!0);for(var o=[],a=ie(t,o),i=r.props,s=0,l=0;s-1&&!e.return)switch(e.type){case Y:e.return=X(e.value,e.length);break;case Z:return J([B(e,{value:y(e.value,"@","@"+V)})],n);case $:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return J([B(e,{props:[y(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return J([B(e,{props:[y(t,/:(plac\w+)/,":-webkit-input-$1")]}),B(e,{props:[y(t,/:(plac\w+)/,":-moz-$1")]}),B(e,{props:[y(t,/:(plac\w+)/,U+"input-$1")]})],n)}return""}))}}],ce=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n=e.stylisPlugins||pe;var o,a,i={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)},ye={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var he=/[A-Z]|^ms/g,me=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Re=function(e){return 45===e.charCodeAt(1)},ke=function(e){return null!=e&&"boolean"!==typeof e},be=function(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}((function(e){return Re(e)?e:e.replace(he,"-$&").toLowerCase()})),Se=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(me,(function(e,t,r){return qe={name:t,styles:r,next:qe},t}))}return 1===ye[e]||Re(e)||"number"!==typeof t||0===t?t:t+"px"};function ve(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return qe={name:r.name,styles:r.styles,next:qe},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)qe={name:n.name,styles:n.styles,next:qe},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function je(e){return je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},je(e)}function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e,t){for(var r=0;r-1}function pt(e){return ut(e)?window.pageYOffset:e.scrollTop}function ct(e,t){ut(e)?window.scrollTo(0,t):e.scrollTop=t}function dt(e,t,r,n){return r*((e=e/n-1)*e*e+1)+t}function gt(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ot,o=pt(e),a=t-o,i=10,s=0;function l(){var t=dt(s+=i,o,a,r);ct(e,t),s=g)return{placement:"bottom",maxHeight:t};if(q>=g&&!i)return a&>(l,P,F),{placement:"bottom",maxHeight:t};if(!i&&q>=n||i&&S>=n)return a&>(l,P,F),{placement:"bottom",maxHeight:i?S-R:q-R};if("auto"===o||i){var E=t,C=i?b:v;return C>=n&&(E=Math.min(C-R-s.controlHeight,t)),{placement:"top",maxHeight:E}}if("bottom"===o)return a&&ct(l,P),{placement:"bottom",maxHeight:t};break;case"top":if(b>=g)return{placement:"top",maxHeight:t};if(v>=g&&!i)return a&>(l,M,F),{placement:"top",maxHeight:t};if(!i&&v>=n||i&&b>=n){var B=t;return(!i&&v>=n||i&&b>=n)&&(B=i?b-k:v-k),a&>(l,M,F),{placement:"top",maxHeight:B}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}var vt=function(e){return"auto"===e?"bottom":e},qt=(0,o.createContext)({getPortalPlacement:null}),Pt=function(e){$e(r,e);var t=rt(r);function r(){var e;Ue(this,r);for(var n=arguments.length,o=new Array(n),a=0;a1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(n,a?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,r=e.focused,n=e.options,o=e.label,a=void 0===o?"":o,i=e.selectValue,s=e.isDisabled,l=e.isSelected,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&i)return"value ".concat(a," focused, ").concat(u(i,r),".");if("menu"===t){var p=s?" disabled":"",c="".concat(l?"selected":"focused").concat(p);return"option ".concat(a," ").concat(c,", ").concat(u(n,r),".")}return""},onFilter:function(e){var t=e.inputValue,r=e.resultsMessage;return"".concat(r).concat(t?" for search term "+t:"",".")}},lr=function(e){var t=e.ariaSelection,r=e.focusedOption,n=e.focusedValue,a=e.focusableOptions,i=e.isFocused,s=e.selectValue,l=e.selectProps,u=e.id,p=l.ariaLiveMessages,c=l.getOptionLabel,d=l.inputValue,g=l.isMulti,f=l.isOptionDisabled,y=l.isSearchable,h=l.menuIsOpen,m=l.options,R=l.screenReaderStatus,k=l.tabSelectsValue,b=l["aria-label"],S=l["aria-live"],v=(0,o.useMemo)((function(){return Xe(Xe({},sr),p||{})}),[p]),q=(0,o.useMemo)((function(){var e,r="";if(t&&v.onChange){var n=t.option,o=t.options,a=t.removedValue,i=t.removedValues,l=t.value,u=a||n||(e=l,Array.isArray(e)?null:e),p=u?c(u):"",d=o||i||void 0,g=d?d.map(c):[],y=Xe({isDisabled:u&&f(u,s),label:p,labels:g},t);r=v.onChange(y)}return r}),[t,v,f,s,c]),P=(0,o.useMemo)((function(){var e="",t=r||n,o=!!(r&&s&&s.includes(r));if(t&&v.onFocus){var a={focused:t,label:c(t),isDisabled:f(t,s),isSelected:o,options:m,context:t===r?"menu":"value",selectValue:s};e=v.onFocus(a)}return e}),[r,n,c,f,v,m,s]),M=(0,o.useMemo)((function(){var e="";if(h&&m.length&&v.onFilter){var t=R({count:a.length});e=v.onFilter({inputValue:d,resultsMessage:t})}return e}),[a,d,h,v,m,R]),F=(0,o.useMemo)((function(){var e="";if(v.guidance){var t=n?"value":h?"menu":"input";e=v.guidance({"aria-label":b,context:t,isDisabled:r&&f(r,s),isMulti:g,isSearchable:y,tabSelectsValue:k})}return e}),[b,r,n,g,f,y,h,v,s,k]),E="".concat(P," ").concat(M," ").concat(F),C=Ae(o.Fragment,null,Ae("span",{id:"aria-selection"},q),Ae("span",{id:"aria-context"},E)),B="initial-input-focus"===(null===t||void 0===t?void 0:t.action);return Ae(o.Fragment,null,Ae(ir,{id:u},B&&C),Ae(ir,{"aria-live":S,"aria-atomic":"false","aria-relevant":"additions text"},i&&!B&&C))},ur=[{base:"A",letters:"A\u24b6\uff21\xc0\xc1\xc2\u1ea6\u1ea4\u1eaa\u1ea8\xc3\u0100\u0102\u1eb0\u1eae\u1eb4\u1eb2\u0226\u01e0\xc4\u01de\u1ea2\xc5\u01fa\u01cd\u0200\u0202\u1ea0\u1eac\u1eb6\u1e00\u0104\u023a\u2c6f"},{base:"AA",letters:"\ua732"},{base:"AE",letters:"\xc6\u01fc\u01e2"},{base:"AO",letters:"\ua734"},{base:"AU",letters:"\ua736"},{base:"AV",letters:"\ua738\ua73a"},{base:"AY",letters:"\ua73c"},{base:"B",letters:"B\u24b7\uff22\u1e02\u1e04\u1e06\u0243\u0182\u0181"},{base:"C",letters:"C\u24b8\uff23\u0106\u0108\u010a\u010c\xc7\u1e08\u0187\u023b\ua73e"},{base:"D",letters:"D\u24b9\uff24\u1e0a\u010e\u1e0c\u1e10\u1e12\u1e0e\u0110\u018b\u018a\u0189\ua779"},{base:"DZ",letters:"\u01f1\u01c4"},{base:"Dz",letters:"\u01f2\u01c5"},{base:"E",letters:"E\u24ba\uff25\xc8\xc9\xca\u1ec0\u1ebe\u1ec4\u1ec2\u1ebc\u0112\u1e14\u1e16\u0114\u0116\xcb\u1eba\u011a\u0204\u0206\u1eb8\u1ec6\u0228\u1e1c\u0118\u1e18\u1e1a\u0190\u018e"},{base:"F",letters:"F\u24bb\uff26\u1e1e\u0191\ua77b"},{base:"G",letters:"G\u24bc\uff27\u01f4\u011c\u1e20\u011e\u0120\u01e6\u0122\u01e4\u0193\ua7a0\ua77d\ua77e"},{base:"H",letters:"H\u24bd\uff28\u0124\u1e22\u1e26\u021e\u1e24\u1e28\u1e2a\u0126\u2c67\u2c75\ua78d"},{base:"I",letters:"I\u24be\uff29\xcc\xcd\xce\u0128\u012a\u012c\u0130\xcf\u1e2e\u1ec8\u01cf\u0208\u020a\u1eca\u012e\u1e2c\u0197"},{base:"J",letters:"J\u24bf\uff2a\u0134\u0248"},{base:"K",letters:"K\u24c0\uff2b\u1e30\u01e8\u1e32\u0136\u1e34\u0198\u2c69\ua740\ua742\ua744\ua7a2"},{base:"L",letters:"L\u24c1\uff2c\u013f\u0139\u013d\u1e36\u1e38\u013b\u1e3c\u1e3a\u0141\u023d\u2c62\u2c60\ua748\ua746\ua780"},{base:"LJ",letters:"\u01c7"},{base:"Lj",letters:"\u01c8"},{base:"M",letters:"M\u24c2\uff2d\u1e3e\u1e40\u1e42\u2c6e\u019c"},{base:"N",letters:"N\u24c3\uff2e\u01f8\u0143\xd1\u1e44\u0147\u1e46\u0145\u1e4a\u1e48\u0220\u019d\ua790\ua7a4"},{base:"NJ",letters:"\u01ca"},{base:"Nj",letters:"\u01cb"},{base:"O",letters:"O\u24c4\uff2f\xd2\xd3\xd4\u1ed2\u1ed0\u1ed6\u1ed4\xd5\u1e4c\u022c\u1e4e\u014c\u1e50\u1e52\u014e\u022e\u0230\xd6\u022a\u1ece\u0150\u01d1\u020c\u020e\u01a0\u1edc\u1eda\u1ee0\u1ede\u1ee2\u1ecc\u1ed8\u01ea\u01ec\xd8\u01fe\u0186\u019f\ua74a\ua74c"},{base:"OI",letters:"\u01a2"},{base:"OO",letters:"\ua74e"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24c5\uff30\u1e54\u1e56\u01a4\u2c63\ua750\ua752\ua754"},{base:"Q",letters:"Q\u24c6\uff31\ua756\ua758\u024a"},{base:"R",letters:"R\u24c7\uff32\u0154\u1e58\u0158\u0210\u0212\u1e5a\u1e5c\u0156\u1e5e\u024c\u2c64\ua75a\ua7a6\ua782"},{base:"S",letters:"S\u24c8\uff33\u1e9e\u015a\u1e64\u015c\u1e60\u0160\u1e66\u1e62\u1e68\u0218\u015e\u2c7e\ua7a8\ua784"},{base:"T",letters:"T\u24c9\uff34\u1e6a\u0164\u1e6c\u021a\u0162\u1e70\u1e6e\u0166\u01ac\u01ae\u023e\ua786"},{base:"TZ",letters:"\ua728"},{base:"U",letters:"U\u24ca\uff35\xd9\xda\xdb\u0168\u1e78\u016a\u1e7a\u016c\xdc\u01db\u01d7\u01d5\u01d9\u1ee6\u016e\u0170\u01d3\u0214\u0216\u01af\u1eea\u1ee8\u1eee\u1eec\u1ef0\u1ee4\u1e72\u0172\u1e76\u1e74\u0244"},{base:"V",letters:"V\u24cb\uff36\u1e7c\u1e7e\u01b2\ua75e\u0245"},{base:"VY",letters:"\ua760"},{base:"W",letters:"W\u24cc\uff37\u1e80\u1e82\u0174\u1e86\u1e84\u1e88\u2c72"},{base:"X",letters:"X\u24cd\uff38\u1e8a\u1e8c"},{base:"Y",letters:"Y\u24ce\uff39\u1ef2\xdd\u0176\u1ef8\u0232\u1e8e\u0178\u1ef6\u1ef4\u01b3\u024e\u1efe"},{base:"Z",letters:"Z\u24cf\uff3a\u0179\u1e90\u017b\u017d\u1e92\u1e94\u01b5\u0224\u2c7f\u2c6b\ua762"},{base:"a",letters:"a\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250"},{base:"aa",letters:"\ua733"},{base:"ae",letters:"\xe6\u01fd\u01e3"},{base:"ao",letters:"\ua735"},{base:"au",letters:"\ua737"},{base:"av",letters:"\ua739\ua73b"},{base:"ay",letters:"\ua73d"},{base:"b",letters:"b\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253"},{base:"c",letters:"c\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184"},{base:"d",letters:"d\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a"},{base:"dz",letters:"\u01f3\u01c6"},{base:"e",letters:"e\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd"},{base:"f",letters:"f\u24d5\uff46\u1e1f\u0192\ua77c"},{base:"g",letters:"g\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f"},{base:"h",letters:"h\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131"},{base:"j",letters:"j\u24d9\uff4a\u0135\u01f0\u0249"},{base:"k",letters:"k\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3"},{base:"l",letters:"l\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747"},{base:"lj",letters:"\u01c9"},{base:"m",letters:"m\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f"},{base:"n",letters:"n\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5"},{base:"nj",letters:"\u01cc"},{base:"o",letters:"o\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\ua74b\ua74d\u0275"},{base:"oi",letters:"\u01a3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\ua74f"},{base:"p",letters:"p\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755"},{base:"q",letters:"q\u24e0\uff51\u024b\ua757\ua759"},{base:"r",letters:"r\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783"},{base:"s",letters:"s\u24e2\uff53\xdf\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b"},{base:"t",letters:"t\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787"},{base:"tz",letters:"\ua729"},{base:"u",letters:"u\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289"},{base:"v",letters:"v\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c"},{base:"vy",letters:"\ua761"},{base:"w",letters:"w\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73"},{base:"x",letters:"x\u24e7\uff58\u1e8b\u1e8d"},{base:"y",letters:"y\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff"},{base:"z",letters:"z\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763"}],pr=new RegExp("["+ur.map((function(e){return e.letters})).join("")+"]","g"),cr={},dr=0;dr0,y=c-d-u,h=!1;y>t&&s.current&&(n&&n(e),s.current=!1),f&&l.current&&(i&&i(e),l.current=!1),f&&t>y?(r&&!s.current&&r(e),g.scrollTop=c,h=!0,s.current=!0):!f&&-t>u&&(a&&!l.current&&a(e),g.scrollTop=0,h=!0,l.current=!0),h&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[r,n,a,i]),d=(0,o.useCallback)((function(e){c(e,e.deltaY)}),[c]),g=(0,o.useCallback)((function(e){u.current=e.changedTouches[0].clientY}),[]),f=(0,o.useCallback)((function(e){var t=u.current-e.changedTouches[0].clientY;c(e,t)}),[c]),y=(0,o.useCallback)((function(e){if(e){var t=!!Rt&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",g,t),e.addEventListener("touchmove",f,t)}}),[f,g,d]),h=(0,o.useCallback)((function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",g,!1),e.removeEventListener("touchmove",f,!1))}),[f,g,d]);return(0,o.useEffect)((function(){if(t){var e=p.current;return y(e),function(){h(e)}}}),[t,y,h]),function(e){p.current=e}}({isEnabled:void 0===n||n,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,r=e.accountForScrollbars,n=void 0===r||r,a=(0,o.useRef)({}),i=(0,o.useRef)(null),s=(0,o.useCallback)((function(e){if(Er){var t=document.body,r=t&&t.style;if(n&&Sr.forEach((function(e){var t=r&&r[e];a.current[e]=t})),n&&Cr<1){var o=parseInt(a.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,s=window.innerWidth-i+o||0;Object.keys(vr).forEach((function(e){var t=vr[e];r&&(r[e]=t)})),r&&(r.paddingRight="".concat(s,"px"))}t&&Fr()&&(t.addEventListener("touchmove",qr,Br),e&&(e.addEventListener("touchstart",Mr,Br),e.addEventListener("touchmove",Pr,Br))),Cr+=1}}),[n]),l=(0,o.useCallback)((function(e){if(Er){var t=document.body,r=t&&t.style;Cr=Math.max(Cr-1,0),n&&Cr<1&&Sr.forEach((function(e){var t=a.current[e];r&&(r[e]=t)})),t&&Fr()&&(t.removeEventListener("touchmove",qr,Br),e&&(e.removeEventListener("touchstart",Mr,Br),e.removeEventListener("touchmove",Pr,Br)))}}),[n]);return(0,o.useEffect)((function(){if(t){var e=i.current;return s(e),function(){l(e)}}}),[t,s,l]),function(e){i.current=e}}({isEnabled:r});return Ae(o.Fragment,null,r&&Ae("div",{onClick:wr,css:Tr}),t((function(e){a(e),i(e)})))}var _r={clearIndicator:xt,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e){var t=e.isDisabled,r=e.isFocused,n=e.theme,o=n.colors,a=n.borderRadius,i=n.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:r?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:r?o.primary:o.neutral30}}},dropdownIndicator:zt,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,r=e.theme,n=r.spacing.baseUnit,o=r.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:2*n,marginTop:2*n,width:1}},input:function(e){var t=e.isDisabled,r=e.value,n=e.theme,o=n.spacing,a=n.colors;return Xe({margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,visibility:t?"hidden":"visible",color:a.neutral80,transform:r?"translateZ(0)":""},$t)},loadingIndicator:function(e){var t=e.isFocused,r=e.size,n=e.theme,o=n.colors,a=n.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*a,transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"}},loadingMessage:Et,menu:function(e){var t,r=e.placement,n=e.theme,o=n.borderRadius,a=n.spacing,i=n.colors;return t={label:"menu"},(0,Ye.Z)(t,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),(0,Ye.Z)(t,"backgroundColor",i.neutral0),(0,Ye.Z)(t,"borderRadius",o),(0,Ye.Z)(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),(0,Ye.Z)(t,"marginBottom",a.menuGutter),(0,Ye.Z)(t,"marginTop",a.menuGutter),(0,Ye.Z)(t,"position","absolute"),(0,Ye.Z)(t,"width","100%"),(0,Ye.Z)(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,r=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:r,paddingTop:r,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,r=e.offset,n=e.position;return{left:t.left,position:n,top:r,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,r=t.spacing,n=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:n/2,display:"flex",margin:r.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,r=t.borderRadius,n=t.colors,o=e.cropWithEllipsis;return{borderRadius:r/2,color:n.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,r=t.spacing,n=t.borderRadius,o=t.colors;return{alignItems:"center",borderRadius:n/2,backgroundColor:e.isFocused?o.dangerLight:void 0,display:"flex",paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},noOptionsMessage:Ft,option:function(e){var t=e.isDisabled,r=e.isFocused,n=e.isSelected,o=e.theme,a=o.spacing,i=o.colors;return{label:"option",backgroundColor:n?i.primary:r?i.primary25:"transparent",color:t?i.neutral20:n?i.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:t?void 0:n?i.primary:i.primary50}}},placeholder:function(e){var t=e.theme,r=t.spacing;return{label:"placeholder",color:t.colors.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2}},singleValue:function(e){var t=e.isDisabled,r=e.theme,n=r.spacing,o=r.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},valueContainer:function(e){var t=e.theme.spacing,r=e.isMulti,n=e.hasValue,o=e.selectProps.controlShouldRenderValue;return{alignItems:"center",display:r&&n&&o?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var Dr,Ar={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Ir={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ft(),captureMenuScroll:!ft(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var r=Xe({ignoreCase:!0,ignoreAccents:!0,stringify:Rr,trim:!0,matchFrom:"any"},Dr),n=r.ignoreCase,o=r.ignoreAccents,a=r.stringify,i=r.trim,s=r.matchFrom,l=i?mr(t):t,u=i?mr(a(e)):a(e);return n&&(l=l.toLowerCase(),u=u.toLowerCase()),o&&(l=hr(l),u=yr(u)),"start"===s?u.substr(0,l.length)===l:u.indexOf(l)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0};function Nr(e,t,r,n){return{type:"option",data:t,isDisabled:jr(e,t,r),isSelected:Ur(e,t,r),label:xr(e,t),value:Gr(e,t),index:n}}function Wr(e,t){return e.options.map((function(r,n){if("options"in r){var o=r.options.map((function(r,n){return Nr(e,r,t,n)})).filter((function(t){return zr(e,t)}));return o.length>0?{type:"group",data:r,options:o,index:n}:void 0}var a=Nr(e,r,t,n);return zr(e,a)?a:void 0})).filter(kt)}function Lr(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,tr(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function zr(e,t){var r=e.inputValue,n=void 0===r?"":r,o=t.data,a=t.isSelected,i=t.label,s=t.value;return(!Vr(e)||!a)&&Hr(e,{label:i,value:s,data:o},n)}var xr=function(e,t){return e.getOptionLabel(t)},Gr=function(e,t){return e.getOptionValue(t)};function jr(e,t,r){return"function"===typeof e.isOptionDisabled&&e.isOptionDisabled(t,r)}function Ur(e,t,r){if(r.indexOf(t)>-1)return!0;if("function"===typeof e.isOptionSelected)return e.isOptionSelected(t,r);var n=Gr(e,t);return r.some((function(t){return Gr(e,t)===n}))}function Hr(e,t,r){return!e.filterOption||e.filterOption(t,r)}var Vr=function(e){var t=e.hideSelectedOptions,r=e.isMulti;return void 0===t?r:t},Kr=1,$r=function(e){$e(r,e);var t=rt(r);function r(e){var n;return Ue(this,r),(n=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},n.blockOptionHover=!1,n.isComposing=!1,n.commonProps=void 0,n.initialTouchX=0,n.initialTouchY=0,n.instancePrefix="",n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.controlRef=null,n.getControlRef=function(e){n.controlRef=e},n.focusedOptionRef=null,n.getFocusedOptionRef=function(e){n.focusedOptionRef=e},n.menuListRef=null,n.getMenuListRef=function(e){n.menuListRef=e},n.inputRef=null,n.getInputRef=function(e){n.inputRef=e},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(e,t){var r=n.props,o=r.onChange,a=r.name;t.name=a,n.ariaOnChange(e,t),o(e,t)},n.setValue=function(e,t,r){var o=n.props,a=o.closeMenuOnSelect,i=o.isMulti,s=o.inputValue;n.onInputChange("",{action:"set-value",prevInputValue:s}),a&&(n.setState({inputIsHiddenAfterUpdate:!i}),n.onMenuClose()),n.setState({clearFocusValueOnUpdate:!0}),n.onChange(e,{action:t,option:r})},n.selectOption=function(e){var t=n.props,r=t.blurInputOnSelect,o=t.isMulti,a=t.name,i=n.state.selectValue,s=o&&n.isOptionSelected(e,i),l=n.isOptionDisabled(e,i);if(s){var u=n.getOptionValue(e);n.setValue(i.filter((function(e){return n.getOptionValue(e)!==u})),"deselect-option",e)}else{if(l)return void n.ariaOnChange(e,{action:"select-option",option:e,name:a});o?n.setValue([].concat(tr(i),[e]),"select-option",e):n.setValue(e,"select-option")}r&&n.blurInput()},n.removeValue=function(e){var t=n.props.isMulti,r=n.state.selectValue,o=n.getOptionValue(e),a=r.filter((function(e){return n.getOptionValue(e)!==o})),i=bt(t,a,a[0]||null);n.onChange(i,{action:"remove-value",removedValue:e}),n.focusInput()},n.clearValue=function(){var e=n.state.selectValue;n.onChange(bt(n.props.isMulti,[],null),{action:"clear",removedValues:e})},n.popValue=function(){var e=n.props.isMulti,t=n.state.selectValue,r=t[t.length-1],o=t.slice(0,t.length-1),a=bt(e,o,o[0]||null);n.onChange(a,{action:"pop-value",removedValue:r})},n.getValue=function(){return n.state.selectValue},n.cx=function(){for(var e=arguments.length,t=new Array(e),r=0;r5||a>5}},n.onTouchEnd=function(e){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(e.target)&&n.menuListRef&&!n.menuListRef.contains(e.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(e){n.userIsDragging||n.onControlMouseDown(e)},n.onClearIndicatorTouchEnd=function(e){n.userIsDragging||n.onClearIndicatorMouseDown(e)},n.onDropdownIndicatorTouchEnd=function(e){n.userIsDragging||n.onDropdownIndicatorMouseDown(e)},n.handleInputChange=function(e){var t=n.props.inputValue,r=e.currentTarget.value;n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange(r,{action:"input-change",prevInputValue:t}),n.props.menuIsOpen||n.onMenuOpen()},n.onInputFocus=function(e){n.props.onFocus&&n.props.onFocus(e),n.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(e){var t=n.props.inputValue;n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(e),n.onInputChange("",{action:"input-blur",prevInputValue:t}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))},n.onOptionHover=function(e){n.blockOptionHover||n.state.focusedOption===e||n.setState({focusedOption:e})},n.shouldHideSelectedOptions=function(){return Vr(n.props)},n.onKeyDown=function(e){var t=n.props,r=t.isMulti,o=t.backspaceRemovesValue,a=t.escapeClearsValue,i=t.inputValue,s=t.isClearable,l=t.isDisabled,u=t.menuIsOpen,p=t.onKeyDown,c=t.tabSelectsValue,d=t.openMenuOnFocus,g=n.state,f=g.focusedOption,y=g.focusedValue,h=g.selectValue;if(!l&&("function"!==typeof p||(p(e),!e.defaultPrevented))){switch(n.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||i)return;n.focusValue("previous");break;case"ArrowRight":if(!r||i)return;n.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(y)n.removeValue(y);else{if(!o)return;r?n.popValue():s&&n.clearValue()}break;case"Tab":if(n.isComposing)return;if(e.shiftKey||!u||!c||!f||d&&n.isOptionSelected(f,h))return;n.selectOption(f);break;case"Enter":if(229===e.keyCode)break;if(u){if(!f)return;if(n.isComposing)return;n.selectOption(f);break}return;case"Escape":u?(n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange("",{action:"menu-close",prevInputValue:i}),n.onMenuClose()):s&&a&&n.clearValue();break;case" ":if(i)return;if(!u){n.openMenu("first");break}if(!f)return;n.selectOption(f);break;case"ArrowUp":u?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":u?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!u)return;n.focusOption("pageup");break;case"PageDown":if(!u)return;n.focusOption("pagedown");break;case"Home":if(!u)return;n.focusOption("first");break;case"End":if(!u)return;n.focusOption("last");break;default:return}e.preventDefault()}},n.instancePrefix="react-select-"+(n.props.instanceId||++Kr),n.state.selectValue=st(e.value),n}return Ve(r,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isDisabled,n=t.menuIsOpen,o=this.state.isFocused;(o&&!r&&e.isDisabled||o&&n&&!e.menuIsOpen)&&this.focusInput(),o&&r&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(!function(e,t){var r=e.getBoundingClientRect(),n=t.getBoundingClientRect(),o=t.offsetHeight/3;n.bottom+o>r.bottom?ct(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):n.top-o-1&&(i=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:a[i]},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,r=t.selectValue,n=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=r.indexOf(n);n||(o=-1);var a=r.length-1,i=-1;if(r.length){switch(e){case"previous":i=0===o?0:-1===o?a:o-1;break;case"next":o>-1&&o0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,r=this.state.focusedOption,n=this.getFocusableOptions();if(n.length){var o=0,a=n.indexOf(r);r||(a=-1),"up"===e?o=a>0?a-1:n.length-1:"down"===e?o=(a+1)%n.length:"pageup"===e?(o=a-t)<0&&(o=0):"pagedown"===e?(o=a+t)>n.length-1&&(o=n.length-1):"last"===e&&(o=n.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:n[o],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"===typeof this.props.theme?this.props.theme(Ar):Xe(Xe({},Ar),this.props.theme):Ar}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,r=this.getStyles,n=this.getValue,o=this.selectOption,a=this.setValue,i=this.props,s=i.isMulti,l=i.isRtl,u=i.options;return{clearValue:e,cx:t,getStyles:r,getValue:n,hasValue:this.hasValue(),isMulti:s,isRtl:l,options:u,selectOption:o,selectProps:i,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,r=e.isMulti;return void 0===t?r:t}},{key:"isOptionDisabled",value:function(e,t){return jr(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Ur(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Hr(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"===typeof this.props.formatOptionLabel){var r=this.props.inputValue,n=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:r,selectValue:n})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,r=e.isSearchable,n=e.inputId,a=e.inputValue,i=e.tabIndex,s=e.form,l=e.menuIsOpen,p=this.getComponents().Input,c=this.state,d=c.inputIsHidden,g=c.ariaSelection,f=this.commonProps,y=n||this.getElementId("input"),h=Xe(Xe({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox"),"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],role:"combobox"},!r&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null===g||void 0===g?void 0:g.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return r?o.createElement(p,(0,u.Z)({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:y,innerRef:this.getInputRef,isDisabled:t,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:s,type:"text",value:a},h)):o.createElement(br,(0,u.Z)({id:y,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ot,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:s,value:""},h))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),r=t.MultiValue,n=t.MultiValueContainer,a=t.MultiValueLabel,i=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,p=this.commonProps,c=this.props,d=c.controlShouldRenderValue,g=c.isDisabled,f=c.isMulti,y=c.inputValue,h=c.placeholder,m=this.state,R=m.selectValue,k=m.focusedValue,b=m.isFocused;if(!this.hasValue()||!d)return y?null:o.createElement(l,(0,u.Z)({},p,{key:"placeholder",isDisabled:g,isFocused:b,innerProps:{id:this.getElementId("placeholder")}}),h);if(f)return R.map((function(t,s){var l=t===k,c="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return o.createElement(r,(0,u.Z)({},p,{components:{Container:n,Label:a,Remove:i},isFocused:l,isDisabled:g,key:c,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(y)return null;var S=R[0];return o.createElement(s,(0,u.Z)({},p,{data:S,isDisabled:g}),this.formatOptionLabel(S,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,r=this.props,n=r.isDisabled,a=r.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||n||!this.hasValue()||a)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return o.createElement(e,(0,u.Z)({},t,{innerProps:s,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,r=this.props,n=r.isDisabled,a=r.isLoading,i=this.state.isFocused;if(!e||!a)return null;return o.createElement(e,(0,u.Z)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:n,isFocused:i}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,r=e.IndicatorSeparator;if(!t||!r)return null;var n=this.commonProps,a=this.props.isDisabled,i=this.state.isFocused;return o.createElement(r,(0,u.Z)({},n,{isDisabled:a,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,r=this.props.isDisabled,n=this.state.isFocused,a={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return o.createElement(e,(0,u.Z)({},t,{innerProps:a,isDisabled:r,isFocused:n}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),r=t.Group,n=t.GroupHeading,a=t.Menu,i=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,p=t.NoOptionsMessage,c=t.Option,d=this.commonProps,g=this.state.focusedOption,f=this.props,y=f.captureMenuScroll,h=f.inputValue,m=f.isLoading,R=f.loadingMessage,k=f.minMenuHeight,b=f.maxMenuHeight,S=f.menuIsOpen,v=f.menuPlacement,q=f.menuPosition,P=f.menuPortalTarget,M=f.menuShouldBlockScroll,F=f.menuShouldScrollIntoView,E=f.noOptionsMessage,C=f.onMenuScrollToTop,B=f.onMenuScrollToBottom;if(!S)return null;var w,T=function(t,r){var n=t.type,a=t.data,i=t.isDisabled,s=t.isSelected,l=t.label,p=t.value,f=g===a,y=i?void 0:function(){return e.onOptionHover(a)},h=i?void 0:function(){return e.selectOption(a)},m="".concat(e.getElementId("option"),"-").concat(r),R={id:m,onClick:h,onMouseMove:y,onMouseOver:y,tabIndex:-1};return o.createElement(c,(0,u.Z)({},d,{innerProps:R,data:a,isDisabled:i,isSelected:s,key:m,label:l,type:n,value:p,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())w=this.getCategorizedOptions().map((function(t){if("group"===t.type){var a=t.data,i=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),p="".concat(l,"-heading");return o.createElement(r,(0,u.Z)({},d,{key:l,data:a,options:i,Heading:n,headingProps:{id:p,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return T(e,"".concat(s,"-").concat(e.index))})))}if("option"===t.type)return T(t,"".concat(t.index))}));else if(m){var O=R({inputValue:h});if(null===O)return null;w=o.createElement(l,d,O)}else{var _=E({inputValue:h});if(null===_)return null;w=o.createElement(p,d,_)}var D={minMenuHeight:k,maxMenuHeight:b,menuPlacement:v,menuPosition:q,menuShouldScrollIntoView:F},A=o.createElement(Pt,(0,u.Z)({},d,D),(function(t){var r=t.ref,n=t.placerProps,s=n.placement,l=n.maxHeight;return o.createElement(a,(0,u.Z)({},d,D,{innerRef:r,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove,id:e.getElementId("listbox")},isLoading:m,placement:s}),o.createElement(Or,{captureEnabled:y,onTopArrive:C,onBottomArrive:B,lockEnabled:M},(function(t){return o.createElement(i,(0,u.Z)({},d,{innerRef:function(r){e.getMenuListRef(r),t(r)},isLoading:m,maxHeight:l,focusedOption:g}),w)})))}));return P||"fixed"===q?o.createElement(s,(0,u.Z)({},d,{appendTo:P,controlElement:this.controlRef,menuPlacement:v,menuPosition:q}),A):A}},{key:"renderFormField",value:function(){var e=this,t=this.props,r=t.delimiter,n=t.isDisabled,a=t.isMulti,i=t.name,s=this.state.selectValue;if(i&&!n){if(a){if(r){var l=s.map((function(t){return e.getOptionValue(t)})).join(r);return o.createElement("input",{name:i,type:"hidden",value:l})}var u=s.length>0?s.map((function(t,r){return o.createElement("input",{key:"i-".concat(r),name:i,type:"hidden",value:e.getOptionValue(t)})})):o.createElement("input",{name:i,type:"hidden"});return o.createElement("div",null,u)}var p=s[0]?this.getOptionValue(s[0]):"";return o.createElement("input",{name:i,type:"hidden",value:p})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,r=t.ariaSelection,n=t.focusedOption,a=t.focusedValue,i=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return o.createElement(lr,(0,u.Z)({},e,{id:this.getElementId("live-region"),ariaSelection:r,focusedOption:n,focusedValue:a,isFocused:i,selectValue:s,focusableOptions:l}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,r=e.IndicatorsContainer,n=e.SelectContainer,a=e.ValueContainer,i=this.props,s=i.className,l=i.id,p=i.isDisabled,c=i.menuIsOpen,d=this.state.isFocused,g=this.commonProps=this.getCommonProps();return o.createElement(n,(0,u.Z)({},g,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:d}),this.renderLiveRegion(),o.createElement(t,(0,u.Z)({},g,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:d,menuIsOpen:c}),o.createElement(a,(0,u.Z)({},g,{isDisabled:p}),this.renderPlaceholderOrValue(),this.renderInput()),o.createElement(r,(0,u.Z)({},g,{isDisabled:p}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=t.prevProps,n=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,a=t.ariaSelection,i=t.isFocused,s=t.prevWasFocused,l=e.options,u=e.value,p=e.menuIsOpen,c=e.inputValue,d=e.isMulti,g=st(u),f={};if(r&&(u!==r.value||l!==r.options||p!==r.menuIsOpen||c!==r.inputValue)){var y=p?function(e,t){return Lr(Wr(e,t))}(e,g):[],h=n?function(e,t){var r=e.focusedValue,n=e.selectValue.indexOf(r);if(n>-1){if(t.indexOf(r)>-1)return r;if(n-1?r:t[0]}(t,y);f={selectValue:g,focusedOption:m,focusedValue:h,clearFocusValueOnUpdate:!1}}var R=null!=o&&e!==r?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},k=a,b=i&&s;return i&&!b&&(k={value:bt(d,g,g[0]||null),options:g,action:"initial-input-focus"},b=!s),"initial-input-focus"===(null===a||void 0===a?void 0:a.action)&&(k=null),Xe(Xe(Xe({},f),R),{},{prevProps:e,ariaSelection:k,prevWasFocused:b})}}]),r}(o.Component);$r.defaultProps=Ir;var Yr=(0,o.forwardRef)((function(e,t){var r=function(e){var t=e.defaultInputValue,r=void 0===t?"":t,a=e.defaultMenuIsOpen,i=void 0!==a&&a,s=e.defaultValue,l=void 0===s?null:s,u=e.inputValue,p=e.menuIsOpen,c=e.onChange,d=e.onInputChange,g=e.onMenuClose,f=e.onMenuOpen,y=e.value,h=Ge(e,Qt),m=(0,o.useState)(void 0!==u?u:r),R=(0,n.Z)(m,2),k=R[0],b=R[1],S=(0,o.useState)(void 0!==p?p:i),v=(0,n.Z)(S,2),q=v[0],P=v[1],M=(0,o.useState)(void 0!==y?y:l),F=(0,n.Z)(M,2),E=F[0],C=F[1],B=(0,o.useCallback)((function(e,t){"function"===typeof c&&c(e,t),C(e)}),[c]),w=(0,o.useCallback)((function(e,t){var r;"function"===typeof d&&(r=d(e,t)),b(void 0!==r?r:e)}),[d]),T=(0,o.useCallback)((function(){"function"===typeof f&&f(),P(!0)}),[f]),O=(0,o.useCallback)((function(){"function"===typeof g&&g(),P(!1)}),[g]),_=void 0!==u?u:k,D=void 0!==p?p:q,A=void 0!==y?y:E;return Xe(Xe({},h),{},{inputValue:_,menuIsOpen:D,onChange:B,onInputChange:w,onMenuClose:O,onMenuOpen:T,value:A})}(e);return o.createElement($r,(0,u.Z)({ref:t},r))})),Zr=(o.Component,Yr),Jr=r(6789),Qr=r(6515),Xr=r(6682),en=r(9899),tn=(0,a.EN)((function(e){var t=e.squeak,r=t.getSqueakHash(),a=t.getAuthorPubkey();console.log(e.squeak);(0,Jr.v9)(en.X5),(0,Jr.v9)(Qr.sH);var u,p=(0,Jr.v9)(Qr.iL),c=(0,Jr.v9)(Qr.xc),d=(0,Jr.I0)(),g=(0,o.useState)(null),f=(0,n.Z)(g,2),y=f[0],h=f[1],m=function(e){var t=e.values;console.log(t),console.log("downloadOffers"),d((0,Qr.fb)(r))},R=function(){var e=(0,l.XQ)();return o.createElement("button",{type:"submit",className:"squeak-btn-side squeak-btn-active",onClick:e.submitForm},"Re-download Offers")},k=function(){return o.createElement(l.l0,{onSubmit:m,className:"Squeak-input-side"},o.createElement("div",{className:"inner-input-links"},o.createElement("div",{className:"input-links-side"}),o.createElement("div",{className:"squeak-btn-holder"},"idle"===c?o.createElement(R,null):o.createElement(s.Z,null))))};return o.createElement(o.Fragment,null,o.createElement("div",{className:"Squeak-input-side"},o.createElement("div",{className:"edit-input-wrap"},o.createElement(k,null),p.length," offers",o.createElement("div",{className:"inner-input-box"},o.createElement(Zr,{options:(u=p,console.log("optionsFromOffers"),console.log(u),u.map((function(e){return{value:e,label:"".concat(e.getPriceMsat()/1e3," sats (").concat(e.getPeerAddress().getHost(),":").concat(e.getPeerAddress().getPort(),")")}}))),onChange:function(e){h(e.value)}})),y&&o.createElement(o.Fragment,null,o.createElement("div",{className:"inner-input-box"},o.createElement("b",null,"Price"),": ",y.getPriceMsat()/1e3," sats"),o.createElement("div",{className:"inner-input-box"},o.createElement("b",null,"Peer"),": ",y.getPeerAddress().getHost(),":",y.getPeerAddress().getPort()),o.createElement("div",{className:"inner-input-box"},o.createElement("b",null,"Lightning Node"),":\xa0",o.createElement("a",{href:"https://amboss.space/node/".concat(y.getNodePubkey()),target:"_blank",rel:"noopener noreferrer",style:{color:"blue",fontWeight:"bold"},onClick:function(){window.open("https://amboss.space/node/".concat(y.getNodePubkey()),"_blank","noreferrer")}},y.getNodePubkey(),"@",y.getNodeHost(),":",y.getNodePort()))),o.createElement("div",{className:"inner-input-links"},o.createElement("div",{className:"input-links-side"}),o.createElement("div",{className:"squeak-btn-holder"},o.createElement("div",{onClick:function(t){var n=y&&y.getOfferId();if(n){var o={offerId:n,squeakHash:r};console.log("Buy clicked."),d((0,Qr.CK)(o)).then(i.SI).then((function(){d((0,Xr.Rd)()),d((0,Xr.au)()),d((0,Xr.Zu)({squeakHash:r})),d((0,Xr.Zb)({pubkey:a}))})).catch((function(e){alert(e.message)})),e.submittedCallback&&e.submittedCallback()}},className:y?"squeak-btn-side squeak-btn-active":"squeak-btn-side"},"Buy"))))))}))},6387:function(e,t,r){"use strict";var n=r(2791),o=r(9271),a=(r(2426),r(6059),r(8608),r(6440)),i=r(6789),s=r(6515);t.Z=(0,o.EN)((function(e){var t=(0,i.I0)(),r=function(){console.log("deleteSqueak"),t((0,s.ji)(e.squeakHash)),e.submittedCallback&&e.submittedCallback()},o=(e.replyToSqueak&&e.replyToSqueak.getAuthor(),function(){var e=(0,a.XQ)();return n.createElement("button",{type:"submit",className:"squeak-btn-side squeak-btn-active",onClick:e.submitForm},"Delete")}),l=function(){return n.createElement(a.l0,{onSubmit:r,className:"Squeak-input-side"},n.createElement("div",{className:"inner-input-links"},n.createElement("div",{className:"input-links-side"}),n.createElement("div",{className:"squeak-btn-holder"},n.createElement("div",{style:{fontSize:"13px",color:null}}),n.createElement(o,null))))};return n.createElement(n.Fragment,null,n.createElement("div",{className:"Squeak-input-wrapper"},n.createElement(l,null)))}))},3943:function(e,t,r){"use strict";var n=r(2791),o=r(9271),a=r(8785),i=r(2426),s=r.n(i),l=(r(6059),r(1523)),u=r(3652),p=(r(8608),r(6440)),c=r(6789),d=r(6515),g=r(9899);t.Z=(0,o.EN)((function(e){var t=(0,c.v9)(g.X5),r=((0,c.v9)(d.qW),(0,c.I0)());(0,n.useEffect)((function(){r((0,g.iK)())}),[]);var o=function(t){var n=t.values;if(console.log(n),console.log(n.signingProfileId),n.signingProfileId)if(e.resqueakedSqueak){var o={signingProfile:n.signingProfileId,resqueakedHash:e.resqueakedSqueak.getSqueakHash(),replyTo:e.replyToSqueak?e.replyToSqueak.getSqueakHash():null};console.log("makeResqueak"),r((0,d.Xj)(o)).then(a.SI).then((function(t){e.history.push("/app/squeak/".concat(t))})).catch((function(e){alert(e.message)})),e.submittedCallback&&e.submittedCallback()}else alert("Resqueaked squeak cannot be empty.");else alert("Signing Profile must be selected.")},i=e.resqueakedSqueak&&e.resqueakedSqueak.getAuthor(),f=function(){var e=(0,p.XQ)();return n.createElement("button",{type:"submit",className:"squeak-btn-side squeak-btn-active",onClick:e.submitForm},"Resqueak")},y=function(){return n.createElement(p.l0,{onSubmit:o,className:"Squeak-input-side"},n.createElement(p.Ph,{class:"informed-select",name:"signingProfileId",initialValue:""},n.createElement(p.Wx,{value:"",disabled:!0},"Select Signing Profile..."),t.map((function(e){return n.createElement("option",{value:e.getProfileId()},e.getProfileName())}))),n.createElement("div",{className:"inner-input-links"},n.createElement("div",{className:"input-links-side"}),n.createElement("div",{className:"squeak-btn-holder"},n.createElement(f,null))))};return n.createElement(n.Fragment,null,e.resqueakedSqueak?n.createElement("div",{className:"reply-content-wrapper"},n.createElement("div",{className:"card-userPic-wrapper"},n.createElement(l.rU,{onClick:function(e){return e.stopPropagation()},to:"/app/profile/".concat(e.resqueakedSqueak.getAuthorPubkey())},n.createElement("img",{alt:"",style:{borderRadius:"50%",minWidth:"49px"},width:"100%",height:"49px",src:i?"".concat((0,u.d)(e.resqueakedSqueak.getAuthor())):null}))),n.createElement("div",{className:"card-content-wrapper"},n.createElement("div",{className:"card-content-header"},n.createElement("div",{className:"card-header-detail"},n.createElement("span",{className:"card-header-user"},n.createElement(l.rU,{onClick:function(e){return e.stopPropagation()},to:"/app/profile/".concat(e.resqueakedSqueak.getAuthorPubkey())},i?i.getProfileName():"Unknown Author")),n.createElement("span",{className:"card-header-username"},n.createElement(l.rU,{onClick:function(e){return e.stopPropagation()},to:"/app/profile/".concat(e.resqueakedSqueak.getAuthorPubkey())},"@"+e.resqueakedSqueak.getAuthorPubkey())),n.createElement("span",{className:"card-header-dot"},"\xb7"),n.createElement("span",{className:"card-header-date"},s()(1e3*e.resqueakedSqueak.getBlockTime()).fromNow()))),n.createElement("div",{className:"card-content-info"},e.resqueakedSqueak.getContentStr()),n.createElement("div",{className:"reply-to-user"},n.createElement("span",{className:"reply-squeak-username"},"Replying to"),n.createElement("span",{className:"main-squeak-user"},"@",e.resqueakedSqueak.getAuthorPubkey())))):null,n.createElement("div",{className:"Squeak-input-wrapper"},n.createElement(y,null)))}))},2989:function(e,t,r){"use strict";var n=r(4942),o=r(2791),a=r(9271),i=r(8785),s=r(2426),l=r.n(s),u=(r(6059),r(1523)),p=r(3652),c=(r(8608),r(6440)),d=r(6789),g=r(6515),f=r(9899);t.Z=(0,a.EN)((function(e){var t=(0,d.v9)(f.X5),r=((0,d.v9)(g.qW),(0,d.I0)());(0,o.useEffect)((function(){r((0,f.iK)())}),[]);var a=function(t){var n=t.values;if(console.log(n),console.log(n.signingProfileId),console.log(n.content),n.signingProfileId)if(n.content){var o={signingProfile:n.signingProfileId,description:n.content,replyTo:e.replyToSqueak?e.replyToSqueak.getSqueakHash():null,hasRecipient:null,recipientProfileId:-1};console.log("makeSqueak"),r((0,g.Hn)(o)).then(i.SI).then((function(t){e.history.push("/app/squeak/".concat(t))})).catch((function(e){alert(e.message)})),e.submittedCallback&&e.submittedCallback()}else alert("Content cannot be empty.");else alert("Signing Profile must be selected.")},s=e.replyToSqueak&&e.replyToSqueak.getAuthor(),y=function(e){if(e&&e.length>280)return"Content must be less than 280 characters"},h=function(){var e=(0,c.XQ)();return o.createElement("button",{type:"submit",className:"squeak-btn-side squeak-btn-active",onClick:e.submitForm},"Squeak")},m=function(){var e;return o.createElement(c.l0,{onSubmit:a,className:"Squeak-input-side"},o.createElement(c.Ph,{class:"informed-select",name:"signingProfileId",initialValue:""},o.createElement(c.Wx,{value:"",disabled:!0},"Select Signing Profile..."),t.map((function(e){return o.createElement("option",{value:e.getProfileId()},e.getProfileName())}))),o.createElement(c.Kx,(e={class:"informed-input"},(0,n.Z)(e,"class","informed-textarea"),(0,n.Z)(e,"name","content"),(0,n.Z)(e,"validate",y),(0,n.Z)(e,"placeholder","What's happening..."),e)),o.createElement("div",{className:"inner-input-links"},o.createElement("div",{className:"input-links-side"}),o.createElement("div",{className:"squeak-btn-holder"},o.createElement(c.Uw,null,(function(e){return o.createElement("div",{style:{fontSize:"13px",color:e.values.content&&e.values.content.length>280?"red":null}},e.values.content&&e.values.content.length>0&&e.values.content.length+"/280")})),o.createElement(h,null))))};return o.createElement(o.Fragment,null,e.replyToSqueak?o.createElement("div",{className:"reply-content-wrapper"},o.createElement("div",{className:"card-userPic-wrapper"},o.createElement(u.rU,{onClick:function(e){return e.stopPropagation()},to:"/app/profile/".concat(e.replyToSqueak.getAuthorPubkey())},o.createElement("img",{alt:"",style:{borderRadius:"50%",minWidth:"49px"},width:"100%",height:"49px",src:s?"".concat((0,p.d)(e.replyToSqueak.getAuthor())):null}))),o.createElement("div",{className:"card-content-wrapper"},o.createElement("div",{className:"card-content-header"},o.createElement("div",{className:"card-header-detail"},o.createElement("span",{className:"card-header-user"},o.createElement(u.rU,{onClick:function(e){return e.stopPropagation()},to:"/app/profile/".concat(e.replyToSqueak.getAuthorPubkey())},s?s.getProfileName():"Unknown Author")),o.createElement("span",{className:"card-header-username"},o.createElement(u.rU,{onClick:function(e){return e.stopPropagation()},to:"/app/profile/".concat(e.replyToSqueak.getAuthorPubkey())},"@"+e.replyToSqueak.getAuthorPubkey())),o.createElement("span",{className:"card-header-dot"},"\xb7"),o.createElement("span",{className:"card-header-date"},l()(1e3*e.replyToSqueak.getBlockTime()).fromNow()))),o.createElement("div",{className:"card-content-info"},e.replyToSqueak.getContentStr()),o.createElement("div",{className:"reply-to-user"},o.createElement("span",{className:"reply-squeak-username"},"Replying to"),o.createElement("span",{className:"main-squeak-user"},"@",e.replyToSqueak.getAuthorPubkey())))):null,o.createElement("div",{className:"Squeak-input-wrapper"},o.createElement(m,null)))}))},6515:function(e,t,r){"use strict";r.d(t,{$Y:function(){return g},$h:function(){return c},$l:function(){return u},AQ:function(){return w},C0:function(){return j},CK:function(){return S},Hn:function(){return R},Ht:function(){return H},Il:function(){return f},JI:function(){return V},Jc:function(){return G},K:function(){return b},MI:function(){return N},Rm:function(){return I},V1:function(){return _},XW:function(){return A},Xj:function(){return k},b5:function(){return z},bV:function(){return v},fb:function(){return q},g:function(){return Z},iJ:function(){return O},iL:function(){return $},ji:function(){return d},ke:function(){return x},kg:function(){return W},kh:function(){return y},lq:function(){return B},n2:function(){return m},on:function(){return h},pO:function(){return U},qW:function(){return K},qx:function(){return p},sD:function(){return D},sH:function(){return Y},u8:function(){return T},xc:function(){return J},y1:function(){return L}});var n=r(5861),o=r(7757),a=r.n(o),i=r(8785),s=r(6916),l=r(3965),u=(0,i.hg)("squeaks/fetchSqueak",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Fetching squeak"),e.next=3,(0,l.Yb)(t);case 3:return r=e.sent,e.abrupt("return",r.getSqueakDisplayEntry());case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),p=(0,i.hg)("squeaks/setLikeSqueak",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Liking squeak"),e.next=3,(0,l.fm)(t);case 3:return e.next=5,(0,l.Yb)(t);case 5:return r=e.sent,e.abrupt("return",r.getSqueakDisplayEntry());case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),c=(0,i.hg)("squeaks/setUnlikeSqueak",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Unliking squeak"),e.next=3,(0,l.uh)(t);case 3:return e.next=5,(0,l.Yb)(t);case 5:return r=e.sent,e.abrupt("return",r.getSqueakDisplayEntry());case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),d=(0,i.hg)("squeaks/setDeleteSqueak",function(){var e=(0,n.Z)(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Deleting squeak"),e.next=3,(0,l.ch)(t);case 3:return e.abrupt("return",null);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),g=(0,i.hg)("squeaks/fetchAncestorSqueaks",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Fetching ancestor squeaks"),e.next=3,(0,l.ks)(t);case 3:return r=e.sent,e.abrupt("return",r.getSqueakDisplayEntriesList());case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),f=(0,i.hg)("squeaks/fetchReplySqueaks",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Fetching reply squeaks"),console.log(t.squeakHash),console.log(t.limit),console.log(t.lastSqueak),e.next=6,(0,l.XD)(t.squeakHash,t.limit,t.lastSqueak);case 6:return r=e.sent,e.abrupt("return",r.getSqueakDisplayEntriesList());case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),y=(0,i.hg)("squeaks/fetchTimeline",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,l.nm)(t.limit,t.lastSqueak);case 2:return r=e.sent,e.abrupt("return",r.getSqueakDisplayEntriesList());case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),h=(0,i.hg)("searchs/fetchSearch",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,l.Un)(t.searchText,t.limit,t.lastSqueak);case 2:return r=e.sent,e.abrupt("return",r.getSqueakDisplayEntriesList());case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),m=(0,i.hg)("squeaks/fetchProfileSqueaks",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Fetching profile squeaks"),console.log(t.profilePubkey),console.log(t.limit),console.log(t.lastSqueak),e.next=6,(0,l.bc)(t.profilePubkey,t.limit,t.lastSqueak);case 6:return r=e.sent,e.abrupt("return",r.getSqueakDisplayEntriesList());case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),R=(0,i.hg)("squeaks/makeSqueak",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n,o,i,s,u;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Making squeak"),r=t.signingProfile,n=t.description,o=t.replyTo,i=t.hasRecipient,s=t.recipientProfileId,e.next=8,(0,l.Y9)(r,n,o,i,s);case 8:return u=e.sent,e.abrupt("return",u.getSqueakHash());case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),k=(0,i.hg)("squeaks/setMakeResqueak",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n,o,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Making resqueak"),r=t.signingProfile,n=t.resqueakedHash,o=t.replyTo,e.next=6,(0,l.Of)(r,n,o);case 6:return i=e.sent,e.abrupt("return",i.getSqueakHash());case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),b=(0,i.hg)("squeaks/fetchSqueakOffers",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Fetching squeak offers"),e.next=3,(0,l.ZB)(t);case 3:return r=e.sent,console.log(r),e.abrupt("return",r.getOffersList());case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),S=(0,i.hg)("squeaks/setBuySqueak",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n,o;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Buying squeak"),r=t.offerId,n=t.squeakHash,e.next=5,(0,l._m)(r);case 5:return e.next=7,(0,l.Yb)(n);case 7:return o=e.sent,e.abrupt("return",o.getSqueakDisplayEntry());case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),v=(0,i.hg)("squeaks/setDownloadSqueak",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Downloading squeak"),e.next=3,(0,l.WN)(t);case 3:return e.next=5,(0,l.Yb)(t);case 5:return r=e.sent,e.abrupt("return",r.getSqueakDisplayEntry());case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),q=(0,i.hg)("squeaks/setDownloadSqueakOffers",function(){var e=(0,n.Z)(a().mark((function e(t){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Downloading squeak offers"),e.next=3,(0,l.S9)(t);case 3:return e.next=5,(0,l.ZB)(t);case 5:return r=e.sent,e.abrupt("return",r.getOffersList());case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),P=function(e,t){var r=e.currentSqueak;r&&r.getSqueakHash()===t.getSqueakHash()&&(e.currentSqueak=t);var n=r&&r.getResqueakedSqueak();if(n&&n.getSqueakHash()===t.getSqueakHash()){var o=r.clone();o.setResqueakedSqueak(t),e.currentSqueak=o}},M=function(e,t){var r=e.findIndex((function(e){return e.getSqueakHash()===t.getSqueakHash()}));-1!=r&&(e[r]=t);for(var n=0;n0&&e[e.length-1]})),x=function(e){return e.squeaks.searchSqueaks},G=function(e){return e.squeaks.searchSqueaksStatus},j=(0,s.P1)(x,(function(e){return e.length>0&&e[e.length-1]})),U=function(e){return e.squeaks.profileSqueaks},H=function(e){return e.squeaks.profileSqueaksStatus},V=(0,s.P1)(U,(function(e){return e.length>0&&e[e.length-1]})),K=function(e){return e.squeaks.makeSqueakStatus},$=function(e){return e.squeaks.squeakOffers},Y=function(e){return e.squeaks.buySqueakStatus},Z=function(e){return e.squeaks.downloadSqueakStatus},J=function(e){return e.squeaks.downloadSqueakOffersStatus}},3532:function(e,t,r){"use strict";r.d(t,{Pg:function(){return u},Q_:function(){return g},R_:function(){return p},lF:function(){return l},ru:function(){return f},wt:function(){return d}});var n=r(5861),o=r(7757),a=r.n(o),i=r(8785),s=r(3965),l=(0,i.hg)("twitterAccounts/setDeleteTwitterAccount",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Deleting twitter account"),r=t.twitterAccountId,e.next=4,(0,s.GM)(r);case 4:return e.next=6,(0,s.MB)();case 6:return n=e.sent,console.log(n),e.abrupt("return",n.getTwitterAccountsList());case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),u=(0,i.hg)("twitterAccounts/fetchTwitterAccounts",(0,n.Z)(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.MB)();case 2:return t=e.sent,console.log(t),e.abrupt("return",t.getTwitterAccountsList());case 5:case"end":return e.stop()}}),e)})))),p=(0,i.hg)("twitterAccounts/setCreateTwitterAccount",function(){var e=(0,n.Z)(a().mark((function e(t){var r,n,o,i,l;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("Creating twitter account"),r=t.twitterHandle,n=t.profileId,o=t.bearerToken,e.next=6,(0,s.sd)(r,n,o);case 6:return i=e.sent,console.log(i),e.next=10,(0,s.MB)();case 10:return l=e.sent,console.log(l),e.abrupt("return",l.getTwitterAccountsList());case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),c=(0,i.oM)({name:"twitterAccounts",initialState:{twitterAccountsStatus:"idle",twitterAccounts:[],createTwitterAccountStatus:"idle"},reducers:{clearTwitterAccounts:function(e,t){e.createTwitterAccountStatus="idle",e.twitterAccounts=[]}},extraReducers:function(e){e.addCase(u.pending,(function(e,t){e.twitterAccountsStatus="loading"})).addCase(u.fulfilled,(function(e,t){var r=t.payload;e.twitterAccounts=r,e.twitterAccountsStatus="idle"})).addCase(p.pending,(function(e,t){console.log("setCreateTwitterAccount pending"),e.createTwitterAccountStatus="loading"})).addCase(p.fulfilled,(function(e,t){console.log("setCreateTwitterAccount fulfilled"),console.log(t);var r=t.payload;e.twitterAccounts=r,e.twitterAccountsStatus="idle",e.createTwitterAccountStatus="idle"})).addCase(l.fulfilled,(function(e,t){console.log(t);var r=t.payload;e.twitterAccounts=r,e.twitterAccountsStatus="idle"}))}}),d=c.actions.clearTwitterAccounts;t.ZP=c.reducer;var g=function(e){return e.twitterAccounts.twitterAccountsStatus},f=function(e){return e.twitterAccounts.twitterAccounts}},4185:function(e,t,r){var n=r(9393),o=n,a=Function("return this")();o.exportSymbol("proto.lnrpc.AMP",null,a),o.exportSymbol("proto.lnrpc.AMPRecord",null,a),o.exportSymbol("proto.lnrpc.AbandonChannelRequest",null,a),o.exportSymbol("proto.lnrpc.AbandonChannelResponse",null,a),o.exportSymbol("proto.lnrpc.AddInvoiceResponse",null,a),o.exportSymbol("proto.lnrpc.AddressType",null,a),o.exportSymbol("proto.lnrpc.Amount",null,a),o.exportSymbol("proto.lnrpc.BakeMacaroonRequest",null,a),o.exportSymbol("proto.lnrpc.BakeMacaroonResponse",null,a),o.exportSymbol("proto.lnrpc.BatchOpenChannel",null,a),o.exportSymbol("proto.lnrpc.BatchOpenChannelRequest",null,a),o.exportSymbol("proto.lnrpc.BatchOpenChannelResponse",null,a),o.exportSymbol("proto.lnrpc.Chain",null,a),o.exportSymbol("proto.lnrpc.ChanBackupExportRequest",null,a),o.exportSymbol("proto.lnrpc.ChanBackupSnapshot",null,a),o.exportSymbol("proto.lnrpc.ChanInfoRequest",null,a),o.exportSymbol("proto.lnrpc.ChanPointShim",null,a),o.exportSymbol("proto.lnrpc.Channel",null,a),o.exportSymbol("proto.lnrpc.ChannelAcceptRequest",null,a),o.exportSymbol("proto.lnrpc.ChannelAcceptResponse",null,a),o.exportSymbol("proto.lnrpc.ChannelBackup",null,a),o.exportSymbol("proto.lnrpc.ChannelBackupSubscription",null,a),o.exportSymbol("proto.lnrpc.ChannelBackups",null,a),o.exportSymbol("proto.lnrpc.ChannelBalanceRequest",null,a),o.exportSymbol("proto.lnrpc.ChannelBalanceResponse",null,a),o.exportSymbol("proto.lnrpc.ChannelCloseSummary",null,a),o.exportSymbol("proto.lnrpc.ChannelCloseSummary.ClosureType",null,a),o.exportSymbol("proto.lnrpc.ChannelCloseUpdate",null,a),o.exportSymbol("proto.lnrpc.ChannelConstraints",null,a),o.exportSymbol("proto.lnrpc.ChannelEdge",null,a),o.exportSymbol("proto.lnrpc.ChannelEdgeUpdate",null,a),o.exportSymbol("proto.lnrpc.ChannelEventSubscription",null,a),o.exportSymbol("proto.lnrpc.ChannelEventUpdate",null,a),o.exportSymbol("proto.lnrpc.ChannelEventUpdate.UpdateType",null,a),o.exportSymbol("proto.lnrpc.ChannelFeeReport",null,a),o.exportSymbol("proto.lnrpc.ChannelGraph",null,a),o.exportSymbol("proto.lnrpc.ChannelGraphRequest",null,a),o.exportSymbol("proto.lnrpc.ChannelOpenUpdate",null,a),o.exportSymbol("proto.lnrpc.ChannelPoint",null,a),o.exportSymbol("proto.lnrpc.ChannelUpdate",null,a),o.exportSymbol("proto.lnrpc.CheckMacPermRequest",null,a),o.exportSymbol("proto.lnrpc.CheckMacPermResponse",null,a),o.exportSymbol("proto.lnrpc.CloseChannelRequest",null,a),o.exportSymbol("proto.lnrpc.CloseStatusUpdate",null,a),o.exportSymbol("proto.lnrpc.ClosedChannelUpdate",null,a),o.exportSymbol("proto.lnrpc.ClosedChannelsRequest",null,a),o.exportSymbol("proto.lnrpc.ClosedChannelsResponse",null,a),o.exportSymbol("proto.lnrpc.CommitmentType",null,a),o.exportSymbol("proto.lnrpc.ConfirmationUpdate",null,a),o.exportSymbol("proto.lnrpc.ConnectPeerRequest",null,a),o.exportSymbol("proto.lnrpc.ConnectPeerResponse",null,a),o.exportSymbol("proto.lnrpc.DebugLevelRequest",null,a),o.exportSymbol("proto.lnrpc.DebugLevelResponse",null,a),o.exportSymbol("proto.lnrpc.DeleteAllPaymentsRequest",null,a),o.exportSymbol("proto.lnrpc.DeleteAllPaymentsResponse",null,a),o.exportSymbol("proto.lnrpc.DeleteMacaroonIDRequest",null,a),o.exportSymbol("proto.lnrpc.DeleteMacaroonIDResponse",null,a),o.exportSymbol("proto.lnrpc.DeletePaymentRequest",null,a),o.exportSymbol("proto.lnrpc.DeletePaymentResponse",null,a),o.exportSymbol("proto.lnrpc.DisconnectPeerRequest",null,a),o.exportSymbol("proto.lnrpc.DisconnectPeerResponse",null,a),o.exportSymbol("proto.lnrpc.EdgeLocator",null,a),o.exportSymbol("proto.lnrpc.EstimateFeeRequest",null,a),o.exportSymbol("proto.lnrpc.EstimateFeeResponse",null,a),o.exportSymbol("proto.lnrpc.ExportChannelBackupRequest",null,a),o.exportSymbol("proto.lnrpc.FailedUpdate",null,a),o.exportSymbol("proto.lnrpc.Failure",null,a),o.exportSymbol("proto.lnrpc.Failure.FailureCode",null,a),o.exportSymbol("proto.lnrpc.Feature",null,a),o.exportSymbol("proto.lnrpc.FeatureBit",null,a),o.exportSymbol("proto.lnrpc.FeeLimit",null,a),o.exportSymbol("proto.lnrpc.FeeReportRequest",null,a),o.exportSymbol("proto.lnrpc.FeeReportResponse",null,a),o.exportSymbol("proto.lnrpc.FloatMetric",null,a),o.exportSymbol("proto.lnrpc.ForwardingEvent",null,a),o.exportSymbol("proto.lnrpc.ForwardingHistoryRequest",null,a),o.exportSymbol("proto.lnrpc.ForwardingHistoryResponse",null,a),o.exportSymbol("proto.lnrpc.FundingPsbtFinalize",null,a),o.exportSymbol("proto.lnrpc.FundingPsbtVerify",null,a),o.exportSymbol("proto.lnrpc.FundingShim",null,a),o.exportSymbol("proto.lnrpc.FundingShimCancel",null,a),o.exportSymbol("proto.lnrpc.FundingStateStepResp",null,a),o.exportSymbol("proto.lnrpc.FundingTransitionMsg",null,a),o.exportSymbol("proto.lnrpc.GetInfoRequest",null,a),o.exportSymbol("proto.lnrpc.GetInfoResponse",null,a),o.exportSymbol("proto.lnrpc.GetRecoveryInfoRequest",null,a),o.exportSymbol("proto.lnrpc.GetRecoveryInfoResponse",null,a),o.exportSymbol("proto.lnrpc.GetTransactionsRequest",null,a),o.exportSymbol("proto.lnrpc.GraphTopologySubscription",null,a),o.exportSymbol("proto.lnrpc.GraphTopologyUpdate",null,a),o.exportSymbol("proto.lnrpc.HTLC",null,a),o.exportSymbol("proto.lnrpc.HTLCAttempt",null,a),o.exportSymbol("proto.lnrpc.HTLCAttempt.HTLCStatus",null,a),o.exportSymbol("proto.lnrpc.Hop",null,a),o.exportSymbol("proto.lnrpc.HopHint",null,a),o.exportSymbol("proto.lnrpc.Initiator",null,a),o.exportSymbol("proto.lnrpc.InterceptFeedback",null,a),o.exportSymbol("proto.lnrpc.Invoice",null,a),o.exportSymbol("proto.lnrpc.Invoice.InvoiceState",null,a),o.exportSymbol("proto.lnrpc.InvoiceHTLC",null,a),o.exportSymbol("proto.lnrpc.InvoiceHTLCState",null,a),o.exportSymbol("proto.lnrpc.InvoiceSubscription",null,a),o.exportSymbol("proto.lnrpc.KeyDescriptor",null,a),o.exportSymbol("proto.lnrpc.KeyLocator",null,a),o.exportSymbol("proto.lnrpc.LightningAddress",null,a),o.exportSymbol("proto.lnrpc.LightningNode",null,a),o.exportSymbol("proto.lnrpc.ListChannelsRequest",null,a),o.exportSymbol("proto.lnrpc.ListChannelsResponse",null,a),o.exportSymbol("proto.lnrpc.ListInvoiceRequest",null,a),o.exportSymbol("proto.lnrpc.ListInvoiceResponse",null,a),o.exportSymbol("proto.lnrpc.ListMacaroonIDsRequest",null,a),o.exportSymbol("proto.lnrpc.ListMacaroonIDsResponse",null,a),o.exportSymbol("proto.lnrpc.ListPaymentsRequest",null,a),o.exportSymbol("proto.lnrpc.ListPaymentsResponse",null,a),o.exportSymbol("proto.lnrpc.ListPeersRequest",null,a),o.exportSymbol("proto.lnrpc.ListPeersResponse",null,a),o.exportSymbol("proto.lnrpc.ListPermissionsRequest",null,a),o.exportSymbol("proto.lnrpc.ListPermissionsResponse",null,a),o.exportSymbol("proto.lnrpc.ListUnspentRequest",null,a),o.exportSymbol("proto.lnrpc.ListUnspentResponse",null,a),o.exportSymbol("proto.lnrpc.MPPRecord",null,a),o.exportSymbol("proto.lnrpc.MacaroonId",null,a),o.exportSymbol("proto.lnrpc.MacaroonPermission",null,a),o.exportSymbol("proto.lnrpc.MacaroonPermissionList",null,a),o.exportSymbol("proto.lnrpc.MiddlewareRegistration",null,a),o.exportSymbol("proto.lnrpc.MultiChanBackup",null,a),o.exportSymbol("proto.lnrpc.NetworkInfo",null,a),o.exportSymbol("proto.lnrpc.NetworkInfoRequest",null,a),o.exportSymbol("proto.lnrpc.NewAddressRequest",null,a),o.exportSymbol("proto.lnrpc.NewAddressResponse",null,a),o.exportSymbol("proto.lnrpc.NodeAddress",null,a),o.exportSymbol("proto.lnrpc.NodeInfo",null,a),o.exportSymbol("proto.lnrpc.NodeInfoRequest",null,a),o.exportSymbol("proto.lnrpc.NodeMetricType",null,a),o.exportSymbol("proto.lnrpc.NodeMetricsRequest",null,a),o.exportSymbol("proto.lnrpc.NodeMetricsResponse",null,a),o.exportSymbol("proto.lnrpc.NodePair",null,a),o.exportSymbol("proto.lnrpc.NodeUpdate",null,a),o.exportSymbol("proto.lnrpc.Op",null,a),o.exportSymbol("proto.lnrpc.OpenChannelRequest",null,a),o.exportSymbol("proto.lnrpc.OpenStatusUpdate",null,a),o.exportSymbol("proto.lnrpc.OutPoint",null,a),o.exportSymbol("proto.lnrpc.PayReq",null,a),o.exportSymbol("proto.lnrpc.PayReqString",null,a),o.exportSymbol("proto.lnrpc.Payment",null,a),o.exportSymbol("proto.lnrpc.Payment.PaymentStatus",null,a),o.exportSymbol("proto.lnrpc.PaymentFailureReason",null,a),o.exportSymbol("proto.lnrpc.PaymentHash",null,a),o.exportSymbol("proto.lnrpc.Peer",null,a),o.exportSymbol("proto.lnrpc.Peer.SyncType",null,a),o.exportSymbol("proto.lnrpc.PeerEvent",null,a),o.exportSymbol("proto.lnrpc.PeerEvent.EventType",null,a),o.exportSymbol("proto.lnrpc.PeerEventSubscription",null,a),o.exportSymbol("proto.lnrpc.PendingChannelsRequest",null,a),o.exportSymbol("proto.lnrpc.PendingChannelsResponse",null,a),o.exportSymbol("proto.lnrpc.PendingChannelsResponse.ClosedChannel",null,a),o.exportSymbol("proto.lnrpc.PendingChannelsResponse.Commitments",null,a),o.exportSymbol("proto.lnrpc.PendingChannelsResponse.ForceClosedChannel",null,a),o.exportSymbol("proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState",null,a),o.exportSymbol("proto.lnrpc.PendingChannelsResponse.PendingChannel",null,a),o.exportSymbol("proto.lnrpc.PendingChannelsResponse.PendingOpenChannel",null,a),o.exportSymbol("proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel",null,a),o.exportSymbol("proto.lnrpc.PendingHTLC",null,a),o.exportSymbol("proto.lnrpc.PendingUpdate",null,a),o.exportSymbol("proto.lnrpc.PolicyUpdateRequest",null,a),o.exportSymbol("proto.lnrpc.PolicyUpdateResponse",null,a),o.exportSymbol("proto.lnrpc.PsbtShim",null,a),o.exportSymbol("proto.lnrpc.QueryRoutesRequest",null,a),o.exportSymbol("proto.lnrpc.QueryRoutesResponse",null,a),o.exportSymbol("proto.lnrpc.RPCMessage",null,a),o.exportSymbol("proto.lnrpc.RPCMiddlewareRequest",null,a),o.exportSymbol("proto.lnrpc.RPCMiddlewareResponse",null,a),o.exportSymbol("proto.lnrpc.ReadyForPsbtFunding",null,a),o.exportSymbol("proto.lnrpc.Resolution",null,a),o.exportSymbol("proto.lnrpc.ResolutionOutcome",null,a),o.exportSymbol("proto.lnrpc.ResolutionType",null,a),o.exportSymbol("proto.lnrpc.RestoreBackupResponse",null,a),o.exportSymbol("proto.lnrpc.RestoreChanBackupRequest",null,a),o.exportSymbol("proto.lnrpc.Route",null,a),o.exportSymbol("proto.lnrpc.RouteHint",null,a),o.exportSymbol("proto.lnrpc.RoutingPolicy",null,a),o.exportSymbol("proto.lnrpc.SendCoinsRequest",null,a),o.exportSymbol("proto.lnrpc.SendCoinsResponse",null,a),o.exportSymbol("proto.lnrpc.SendManyRequest",null,a),o.exportSymbol("proto.lnrpc.SendManyResponse",null,a),o.exportSymbol("proto.lnrpc.SendRequest",null,a),o.exportSymbol("proto.lnrpc.SendResponse",null,a),o.exportSymbol("proto.lnrpc.SendToRouteRequest",null,a),o.exportSymbol("proto.lnrpc.SignMessageRequest",null,a),o.exportSymbol("proto.lnrpc.SignMessageResponse",null,a),o.exportSymbol("proto.lnrpc.StopRequest",null,a),o.exportSymbol("proto.lnrpc.StopResponse",null,a),o.exportSymbol("proto.lnrpc.StreamAuth",null,a),o.exportSymbol("proto.lnrpc.TimestampedError",null,a),o.exportSymbol("proto.lnrpc.Transaction",null,a),o.exportSymbol("proto.lnrpc.TransactionDetails",null,a),o.exportSymbol("proto.lnrpc.UpdateFailure",null,a),o.exportSymbol("proto.lnrpc.Utxo",null,a),o.exportSymbol("proto.lnrpc.VerifyChanBackupResponse",null,a),o.exportSymbol("proto.lnrpc.VerifyMessageRequest",null,a),o.exportSymbol("proto.lnrpc.VerifyMessageResponse",null,a),o.exportSymbol("proto.lnrpc.WalletAccountBalance",null,a),o.exportSymbol("proto.lnrpc.WalletBalanceRequest",null,a),o.exportSymbol("proto.lnrpc.WalletBalanceResponse",null,a),proto.lnrpc.Utxo=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.Utxo,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.Utxo.displayName="proto.lnrpc.Utxo"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.Utxo.prototype.toObject=function(e){return proto.lnrpc.Utxo.toObject(e,this)},proto.lnrpc.Utxo.toObject=function(e,t){var r,o={addressType:n.Message.getFieldWithDefault(t,1,0),address:n.Message.getFieldWithDefault(t,2,""),amountSat:n.Message.getFieldWithDefault(t,3,0),pkScript:n.Message.getFieldWithDefault(t,4,""),outpoint:(r=t.getOutpoint())&&proto.lnrpc.OutPoint.toObject(e,r),confirmations:n.Message.getFieldWithDefault(t,6,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.Utxo.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.Utxo;return proto.lnrpc.Utxo.deserializeBinaryFromReader(r,t)},proto.lnrpc.Utxo.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readEnum();e.setAddressType(r);break;case 2:r=t.readString();e.setAddress(r);break;case 3:r=t.readInt64();e.setAmountSat(r);break;case 4:r=t.readString();e.setPkScript(r);break;case 5:r=new proto.lnrpc.OutPoint;t.readMessage(r,proto.lnrpc.OutPoint.deserializeBinaryFromReader),e.setOutpoint(r);break;case 6:r=t.readInt64();e.setConfirmations(r);break;default:t.skipField()}}return e},proto.lnrpc.Utxo.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.Utxo.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.Utxo.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getAddressType())&&t.writeEnum(1,r),(r=e.getAddress()).length>0&&t.writeString(2,r),0!==(r=e.getAmountSat())&&t.writeInt64(3,r),(r=e.getPkScript()).length>0&&t.writeString(4,r),null!=(r=e.getOutpoint())&&t.writeMessage(5,r,proto.lnrpc.OutPoint.serializeBinaryToWriter),0!==(r=e.getConfirmations())&&t.writeInt64(6,r)},proto.lnrpc.Utxo.prototype.getAddressType=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.Utxo.prototype.setAddressType=function(e){n.Message.setField(this,1,e)},proto.lnrpc.Utxo.prototype.getAddress=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.Utxo.prototype.setAddress=function(e){n.Message.setField(this,2,e)},proto.lnrpc.Utxo.prototype.getAmountSat=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.Utxo.prototype.setAmountSat=function(e){n.Message.setField(this,3,e)},proto.lnrpc.Utxo.prototype.getPkScript=function(){return n.Message.getFieldWithDefault(this,4,"")},proto.lnrpc.Utxo.prototype.setPkScript=function(e){n.Message.setField(this,4,e)},proto.lnrpc.Utxo.prototype.getOutpoint=function(){return n.Message.getWrapperField(this,proto.lnrpc.OutPoint,5)},proto.lnrpc.Utxo.prototype.setOutpoint=function(e){n.Message.setWrapperField(this,5,e)},proto.lnrpc.Utxo.prototype.clearOutpoint=function(){this.setOutpoint(void 0)},proto.lnrpc.Utxo.prototype.hasOutpoint=function(){return null!=n.Message.getField(this,5)},proto.lnrpc.Utxo.prototype.getConfirmations=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.Utxo.prototype.setConfirmations=function(e){n.Message.setField(this,6,e)},proto.lnrpc.Transaction=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.Transaction.repeatedFields_,null)},o.inherits(proto.lnrpc.Transaction,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.Transaction.displayName="proto.lnrpc.Transaction"),proto.lnrpc.Transaction.repeatedFields_=[8],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.Transaction.prototype.toObject=function(e){return proto.lnrpc.Transaction.toObject(e,this)},proto.lnrpc.Transaction.toObject=function(e,t){var r={txHash:n.Message.getFieldWithDefault(t,1,""),amount:n.Message.getFieldWithDefault(t,2,0),numConfirmations:n.Message.getFieldWithDefault(t,3,0),blockHash:n.Message.getFieldWithDefault(t,4,""),blockHeight:n.Message.getFieldWithDefault(t,5,0),timeStamp:n.Message.getFieldWithDefault(t,6,0),totalFees:n.Message.getFieldWithDefault(t,7,0),destAddressesList:n.Message.getRepeatedField(t,8),rawTxHex:n.Message.getFieldWithDefault(t,9,""),label:n.Message.getFieldWithDefault(t,10,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.Transaction.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.Transaction;return proto.lnrpc.Transaction.deserializeBinaryFromReader(r,t)},proto.lnrpc.Transaction.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setTxHash(r);break;case 2:r=t.readInt64();e.setAmount(r);break;case 3:r=t.readInt32();e.setNumConfirmations(r);break;case 4:r=t.readString();e.setBlockHash(r);break;case 5:r=t.readInt32();e.setBlockHeight(r);break;case 6:r=t.readInt64();e.setTimeStamp(r);break;case 7:r=t.readInt64();e.setTotalFees(r);break;case 8:r=t.readString();e.addDestAddresses(r);break;case 9:r=t.readString();e.setRawTxHex(r);break;case 10:r=t.readString();e.setLabel(r);break;default:t.skipField()}}return e},proto.lnrpc.Transaction.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.Transaction.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.Transaction.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getTxHash()).length>0&&t.writeString(1,r),0!==(r=e.getAmount())&&t.writeInt64(2,r),0!==(r=e.getNumConfirmations())&&t.writeInt32(3,r),(r=e.getBlockHash()).length>0&&t.writeString(4,r),0!==(r=e.getBlockHeight())&&t.writeInt32(5,r),0!==(r=e.getTimeStamp())&&t.writeInt64(6,r),0!==(r=e.getTotalFees())&&t.writeInt64(7,r),(r=e.getDestAddressesList()).length>0&&t.writeRepeatedString(8,r),(r=e.getRawTxHex()).length>0&&t.writeString(9,r),(r=e.getLabel()).length>0&&t.writeString(10,r)},proto.lnrpc.Transaction.prototype.getTxHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.Transaction.prototype.setTxHash=function(e){n.Message.setField(this,1,e)},proto.lnrpc.Transaction.prototype.getAmount=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.Transaction.prototype.setAmount=function(e){n.Message.setField(this,2,e)},proto.lnrpc.Transaction.prototype.getNumConfirmations=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.Transaction.prototype.setNumConfirmations=function(e){n.Message.setField(this,3,e)},proto.lnrpc.Transaction.prototype.getBlockHash=function(){return n.Message.getFieldWithDefault(this,4,"")},proto.lnrpc.Transaction.prototype.setBlockHash=function(e){n.Message.setField(this,4,e)},proto.lnrpc.Transaction.prototype.getBlockHeight=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.Transaction.prototype.setBlockHeight=function(e){n.Message.setField(this,5,e)},proto.lnrpc.Transaction.prototype.getTimeStamp=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.Transaction.prototype.setTimeStamp=function(e){n.Message.setField(this,6,e)},proto.lnrpc.Transaction.prototype.getTotalFees=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.Transaction.prototype.setTotalFees=function(e){n.Message.setField(this,7,e)},proto.lnrpc.Transaction.prototype.getDestAddressesList=function(){return n.Message.getRepeatedField(this,8)},proto.lnrpc.Transaction.prototype.setDestAddressesList=function(e){n.Message.setField(this,8,e||[])},proto.lnrpc.Transaction.prototype.addDestAddresses=function(e,t){n.Message.addToRepeatedField(this,8,e,t)},proto.lnrpc.Transaction.prototype.clearDestAddressesList=function(){this.setDestAddressesList([])},proto.lnrpc.Transaction.prototype.getRawTxHex=function(){return n.Message.getFieldWithDefault(this,9,"")},proto.lnrpc.Transaction.prototype.setRawTxHex=function(e){n.Message.setField(this,9,e)},proto.lnrpc.Transaction.prototype.getLabel=function(){return n.Message.getFieldWithDefault(this,10,"")},proto.lnrpc.Transaction.prototype.setLabel=function(e){n.Message.setField(this,10,e)},proto.lnrpc.GetTransactionsRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.GetTransactionsRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.GetTransactionsRequest.displayName="proto.lnrpc.GetTransactionsRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.GetTransactionsRequest.prototype.toObject=function(e){return proto.lnrpc.GetTransactionsRequest.toObject(e,this)},proto.lnrpc.GetTransactionsRequest.toObject=function(e,t){var r={startHeight:n.Message.getFieldWithDefault(t,1,0),endHeight:n.Message.getFieldWithDefault(t,2,0),account:n.Message.getFieldWithDefault(t,3,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.GetTransactionsRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.GetTransactionsRequest;return proto.lnrpc.GetTransactionsRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.GetTransactionsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setStartHeight(r);break;case 2:r=t.readInt32();e.setEndHeight(r);break;case 3:r=t.readString();e.setAccount(r);break;default:t.skipField()}}return e},proto.lnrpc.GetTransactionsRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.GetTransactionsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.GetTransactionsRequest.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getStartHeight())&&t.writeInt32(1,r),0!==(r=e.getEndHeight())&&t.writeInt32(2,r),(r=e.getAccount()).length>0&&t.writeString(3,r)},proto.lnrpc.GetTransactionsRequest.prototype.getStartHeight=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.GetTransactionsRequest.prototype.setStartHeight=function(e){n.Message.setField(this,1,e)},proto.lnrpc.GetTransactionsRequest.prototype.getEndHeight=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.GetTransactionsRequest.prototype.setEndHeight=function(e){n.Message.setField(this,2,e)},proto.lnrpc.GetTransactionsRequest.prototype.getAccount=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.GetTransactionsRequest.prototype.setAccount=function(e){n.Message.setField(this,3,e)},proto.lnrpc.TransactionDetails=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.TransactionDetails.repeatedFields_,null)},o.inherits(proto.lnrpc.TransactionDetails,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.TransactionDetails.displayName="proto.lnrpc.TransactionDetails"),proto.lnrpc.TransactionDetails.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.TransactionDetails.prototype.toObject=function(e){return proto.lnrpc.TransactionDetails.toObject(e,this)},proto.lnrpc.TransactionDetails.toObject=function(e,t){var r={transactionsList:n.Message.toObjectList(t.getTransactionsList(),proto.lnrpc.Transaction.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.TransactionDetails.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.TransactionDetails;return proto.lnrpc.TransactionDetails.deserializeBinaryFromReader(r,t)},proto.lnrpc.TransactionDetails.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.lnrpc.Transaction;t.readMessage(r,proto.lnrpc.Transaction.deserializeBinaryFromReader),e.addTransactions(r)}else t.skipField()}return e},proto.lnrpc.TransactionDetails.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.TransactionDetails.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.TransactionDetails.serializeBinaryToWriter=function(e,t){var r;(r=e.getTransactionsList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.Transaction.serializeBinaryToWriter)},proto.lnrpc.TransactionDetails.prototype.getTransactionsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.Transaction,1)},proto.lnrpc.TransactionDetails.prototype.setTransactionsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.TransactionDetails.prototype.addTransactions=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.Transaction,t)},proto.lnrpc.TransactionDetails.prototype.clearTransactionsList=function(){this.setTransactionsList([])},proto.lnrpc.FeeLimit=function(e){n.Message.initialize(this,e,0,-1,null,proto.lnrpc.FeeLimit.oneofGroups_)},o.inherits(proto.lnrpc.FeeLimit,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.FeeLimit.displayName="proto.lnrpc.FeeLimit"),proto.lnrpc.FeeLimit.oneofGroups_=[[1,3,2]],proto.lnrpc.FeeLimit.LimitCase={LIMIT_NOT_SET:0,FIXED:1,FIXED_MSAT:3,PERCENT:2},proto.lnrpc.FeeLimit.prototype.getLimitCase=function(){return n.Message.computeOneofCase(this,proto.lnrpc.FeeLimit.oneofGroups_[0])},n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.FeeLimit.prototype.toObject=function(e){return proto.lnrpc.FeeLimit.toObject(e,this)},proto.lnrpc.FeeLimit.toObject=function(e,t){var r={fixed:n.Message.getFieldWithDefault(t,1,0),fixedMsat:n.Message.getFieldWithDefault(t,3,0),percent:n.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.FeeLimit.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.FeeLimit;return proto.lnrpc.FeeLimit.deserializeBinaryFromReader(r,t)},proto.lnrpc.FeeLimit.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt64();e.setFixed(r);break;case 3:r=t.readInt64();e.setFixedMsat(r);break;case 2:r=t.readInt64();e.setPercent(r);break;default:t.skipField()}}return e},proto.lnrpc.FeeLimit.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.FeeLimit.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.FeeLimit.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=n.Message.getField(e,1))&&t.writeInt64(1,r),null!=(r=n.Message.getField(e,3))&&t.writeInt64(3,r),null!=(r=n.Message.getField(e,2))&&t.writeInt64(2,r)},proto.lnrpc.FeeLimit.prototype.getFixed=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.FeeLimit.prototype.setFixed=function(e){n.Message.setOneofField(this,1,proto.lnrpc.FeeLimit.oneofGroups_[0],e)},proto.lnrpc.FeeLimit.prototype.clearFixed=function(){n.Message.setOneofField(this,1,proto.lnrpc.FeeLimit.oneofGroups_[0],void 0)},proto.lnrpc.FeeLimit.prototype.hasFixed=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.FeeLimit.prototype.getFixedMsat=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.FeeLimit.prototype.setFixedMsat=function(e){n.Message.setOneofField(this,3,proto.lnrpc.FeeLimit.oneofGroups_[0],e)},proto.lnrpc.FeeLimit.prototype.clearFixedMsat=function(){n.Message.setOneofField(this,3,proto.lnrpc.FeeLimit.oneofGroups_[0],void 0)},proto.lnrpc.FeeLimit.prototype.hasFixedMsat=function(){return null!=n.Message.getField(this,3)},proto.lnrpc.FeeLimit.prototype.getPercent=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.FeeLimit.prototype.setPercent=function(e){n.Message.setOneofField(this,2,proto.lnrpc.FeeLimit.oneofGroups_[0],e)},proto.lnrpc.FeeLimit.prototype.clearPercent=function(){n.Message.setOneofField(this,2,proto.lnrpc.FeeLimit.oneofGroups_[0],void 0)},proto.lnrpc.FeeLimit.prototype.hasPercent=function(){return null!=n.Message.getField(this,2)},proto.lnrpc.SendRequest=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.SendRequest.repeatedFields_,null)},o.inherits(proto.lnrpc.SendRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.SendRequest.displayName="proto.lnrpc.SendRequest"),proto.lnrpc.SendRequest.repeatedFields_=[15],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.SendRequest.prototype.toObject=function(e){return proto.lnrpc.SendRequest.toObject(e,this)},proto.lnrpc.SendRequest.toObject=function(e,t){var r,o={dest:t.getDest_asB64(),destString:n.Message.getFieldWithDefault(t,2,""),amt:n.Message.getFieldWithDefault(t,3,0),amtMsat:n.Message.getFieldWithDefault(t,12,0),paymentHash:t.getPaymentHash_asB64(),paymentHashString:n.Message.getFieldWithDefault(t,5,""),paymentRequest:n.Message.getFieldWithDefault(t,6,""),finalCltvDelta:n.Message.getFieldWithDefault(t,7,0),feeLimit:(r=t.getFeeLimit())&&proto.lnrpc.FeeLimit.toObject(e,r),outgoingChanId:n.Message.getFieldWithDefault(t,9,"0"),lastHopPubkey:t.getLastHopPubkey_asB64(),cltvLimit:n.Message.getFieldWithDefault(t,10,0),destCustomRecordsMap:(r=t.getDestCustomRecordsMap())?r.toObject(e,void 0):[],allowSelfPayment:n.Message.getFieldWithDefault(t,14,!1),destFeaturesList:n.Message.getRepeatedField(t,15),paymentAddr:t.getPaymentAddr_asB64()};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.SendRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.SendRequest;return proto.lnrpc.SendRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.SendRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setDest(r);break;case 2:r=t.readString();e.setDestString(r);break;case 3:r=t.readInt64();e.setAmt(r);break;case 12:r=t.readInt64();e.setAmtMsat(r);break;case 4:r=t.readBytes();e.setPaymentHash(r);break;case 5:r=t.readString();e.setPaymentHashString(r);break;case 6:r=t.readString();e.setPaymentRequest(r);break;case 7:r=t.readInt32();e.setFinalCltvDelta(r);break;case 8:r=new proto.lnrpc.FeeLimit;t.readMessage(r,proto.lnrpc.FeeLimit.deserializeBinaryFromReader),e.setFeeLimit(r);break;case 9:r=t.readUint64String();e.setOutgoingChanId(r);break;case 13:r=t.readBytes();e.setLastHopPubkey(r);break;case 10:r=t.readUint32();e.setCltvLimit(r);break;case 11:r=e.getDestCustomRecordsMap();t.readMessage(r,(function(e,t){n.Map.deserializeBinary(e,t,n.BinaryReader.prototype.readUint64,n.BinaryReader.prototype.readBytes)}));break;case 14:r=t.readBool();e.setAllowSelfPayment(r);break;case 15:r=t.readPackedEnum();e.setDestFeaturesList(r);break;case 16:r=t.readBytes();e.setPaymentAddr(r);break;default:t.skipField()}}return e},proto.lnrpc.SendRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.SendRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.SendRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getDest_asU8()).length>0&&t.writeBytes(1,r),(r=e.getDestString()).length>0&&t.writeString(2,r),0!==(r=e.getAmt())&&t.writeInt64(3,r),0!==(r=e.getAmtMsat())&&t.writeInt64(12,r),(r=e.getPaymentHash_asU8()).length>0&&t.writeBytes(4,r),(r=e.getPaymentHashString()).length>0&&t.writeString(5,r),(r=e.getPaymentRequest()).length>0&&t.writeString(6,r),0!==(r=e.getFinalCltvDelta())&&t.writeInt32(7,r),null!=(r=e.getFeeLimit())&&t.writeMessage(8,r,proto.lnrpc.FeeLimit.serializeBinaryToWriter),r=e.getOutgoingChanId(),0!==parseInt(r,10)&&t.writeUint64String(9,r),(r=e.getLastHopPubkey_asU8()).length>0&&t.writeBytes(13,r),0!==(r=e.getCltvLimit())&&t.writeUint32(10,r),(r=e.getDestCustomRecordsMap(!0))&&r.getLength()>0&&r.serializeBinary(11,t,n.BinaryWriter.prototype.writeUint64,n.BinaryWriter.prototype.writeBytes),(r=e.getAllowSelfPayment())&&t.writeBool(14,r),(r=e.getDestFeaturesList()).length>0&&t.writePackedEnum(15,r),(r=e.getPaymentAddr_asU8()).length>0&&t.writeBytes(16,r)},proto.lnrpc.SendRequest.prototype.getDest=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.SendRequest.prototype.getDest_asB64=function(){return n.Message.bytesAsB64(this.getDest())},proto.lnrpc.SendRequest.prototype.getDest_asU8=function(){return n.Message.bytesAsU8(this.getDest())},proto.lnrpc.SendRequest.prototype.setDest=function(e){n.Message.setField(this,1,e)},proto.lnrpc.SendRequest.prototype.getDestString=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.SendRequest.prototype.setDestString=function(e){n.Message.setField(this,2,e)},proto.lnrpc.SendRequest.prototype.getAmt=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.SendRequest.prototype.setAmt=function(e){n.Message.setField(this,3,e)},proto.lnrpc.SendRequest.prototype.getAmtMsat=function(){return n.Message.getFieldWithDefault(this,12,0)},proto.lnrpc.SendRequest.prototype.setAmtMsat=function(e){n.Message.setField(this,12,e)},proto.lnrpc.SendRequest.prototype.getPaymentHash=function(){return n.Message.getFieldWithDefault(this,4,"")},proto.lnrpc.SendRequest.prototype.getPaymentHash_asB64=function(){return n.Message.bytesAsB64(this.getPaymentHash())},proto.lnrpc.SendRequest.prototype.getPaymentHash_asU8=function(){return n.Message.bytesAsU8(this.getPaymentHash())},proto.lnrpc.SendRequest.prototype.setPaymentHash=function(e){n.Message.setField(this,4,e)},proto.lnrpc.SendRequest.prototype.getPaymentHashString=function(){return n.Message.getFieldWithDefault(this,5,"")},proto.lnrpc.SendRequest.prototype.setPaymentHashString=function(e){n.Message.setField(this,5,e)},proto.lnrpc.SendRequest.prototype.getPaymentRequest=function(){return n.Message.getFieldWithDefault(this,6,"")},proto.lnrpc.SendRequest.prototype.setPaymentRequest=function(e){n.Message.setField(this,6,e)},proto.lnrpc.SendRequest.prototype.getFinalCltvDelta=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.SendRequest.prototype.setFinalCltvDelta=function(e){n.Message.setField(this,7,e)},proto.lnrpc.SendRequest.prototype.getFeeLimit=function(){return n.Message.getWrapperField(this,proto.lnrpc.FeeLimit,8)},proto.lnrpc.SendRequest.prototype.setFeeLimit=function(e){n.Message.setWrapperField(this,8,e)},proto.lnrpc.SendRequest.prototype.clearFeeLimit=function(){this.setFeeLimit(void 0)},proto.lnrpc.SendRequest.prototype.hasFeeLimit=function(){return null!=n.Message.getField(this,8)},proto.lnrpc.SendRequest.prototype.getOutgoingChanId=function(){return n.Message.getFieldWithDefault(this,9,"0")},proto.lnrpc.SendRequest.prototype.setOutgoingChanId=function(e){n.Message.setField(this,9,e)},proto.lnrpc.SendRequest.prototype.getLastHopPubkey=function(){return n.Message.getFieldWithDefault(this,13,"")},proto.lnrpc.SendRequest.prototype.getLastHopPubkey_asB64=function(){return n.Message.bytesAsB64(this.getLastHopPubkey())},proto.lnrpc.SendRequest.prototype.getLastHopPubkey_asU8=function(){return n.Message.bytesAsU8(this.getLastHopPubkey())},proto.lnrpc.SendRequest.prototype.setLastHopPubkey=function(e){n.Message.setField(this,13,e)},proto.lnrpc.SendRequest.prototype.getCltvLimit=function(){return n.Message.getFieldWithDefault(this,10,0)},proto.lnrpc.SendRequest.prototype.setCltvLimit=function(e){n.Message.setField(this,10,e)},proto.lnrpc.SendRequest.prototype.getDestCustomRecordsMap=function(e){return n.Message.getMapField(this,11,e,null)},proto.lnrpc.SendRequest.prototype.clearDestCustomRecordsMap=function(){this.getDestCustomRecordsMap().clear()},proto.lnrpc.SendRequest.prototype.getAllowSelfPayment=function(){return n.Message.getFieldWithDefault(this,14,!1)},proto.lnrpc.SendRequest.prototype.setAllowSelfPayment=function(e){n.Message.setField(this,14,e)},proto.lnrpc.SendRequest.prototype.getDestFeaturesList=function(){return n.Message.getRepeatedField(this,15)},proto.lnrpc.SendRequest.prototype.setDestFeaturesList=function(e){n.Message.setField(this,15,e||[])},proto.lnrpc.SendRequest.prototype.addDestFeatures=function(e,t){n.Message.addToRepeatedField(this,15,e,t)},proto.lnrpc.SendRequest.prototype.clearDestFeaturesList=function(){this.setDestFeaturesList([])},proto.lnrpc.SendRequest.prototype.getPaymentAddr=function(){return n.Message.getFieldWithDefault(this,16,"")},proto.lnrpc.SendRequest.prototype.getPaymentAddr_asB64=function(){return n.Message.bytesAsB64(this.getPaymentAddr())},proto.lnrpc.SendRequest.prototype.getPaymentAddr_asU8=function(){return n.Message.bytesAsU8(this.getPaymentAddr())},proto.lnrpc.SendRequest.prototype.setPaymentAddr=function(e){n.Message.setField(this,16,e)},proto.lnrpc.SendResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.SendResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.SendResponse.displayName="proto.lnrpc.SendResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.SendResponse.prototype.toObject=function(e){return proto.lnrpc.SendResponse.toObject(e,this)},proto.lnrpc.SendResponse.toObject=function(e,t){var r,o={paymentError:n.Message.getFieldWithDefault(t,1,""),paymentPreimage:t.getPaymentPreimage_asB64(),paymentRoute:(r=t.getPaymentRoute())&&proto.lnrpc.Route.toObject(e,r),paymentHash:t.getPaymentHash_asB64()};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.SendResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.SendResponse;return proto.lnrpc.SendResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.SendResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setPaymentError(r);break;case 2:r=t.readBytes();e.setPaymentPreimage(r);break;case 3:r=new proto.lnrpc.Route;t.readMessage(r,proto.lnrpc.Route.deserializeBinaryFromReader),e.setPaymentRoute(r);break;case 4:r=t.readBytes();e.setPaymentHash(r);break;default:t.skipField()}}return e},proto.lnrpc.SendResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.SendResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.SendResponse.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPaymentError()).length>0&&t.writeString(1,r),(r=e.getPaymentPreimage_asU8()).length>0&&t.writeBytes(2,r),null!=(r=e.getPaymentRoute())&&t.writeMessage(3,r,proto.lnrpc.Route.serializeBinaryToWriter),(r=e.getPaymentHash_asU8()).length>0&&t.writeBytes(4,r)},proto.lnrpc.SendResponse.prototype.getPaymentError=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.SendResponse.prototype.setPaymentError=function(e){n.Message.setField(this,1,e)},proto.lnrpc.SendResponse.prototype.getPaymentPreimage=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.SendResponse.prototype.getPaymentPreimage_asB64=function(){return n.Message.bytesAsB64(this.getPaymentPreimage())},proto.lnrpc.SendResponse.prototype.getPaymentPreimage_asU8=function(){return n.Message.bytesAsU8(this.getPaymentPreimage())},proto.lnrpc.SendResponse.prototype.setPaymentPreimage=function(e){n.Message.setField(this,2,e)},proto.lnrpc.SendResponse.prototype.getPaymentRoute=function(){return n.Message.getWrapperField(this,proto.lnrpc.Route,3)},proto.lnrpc.SendResponse.prototype.setPaymentRoute=function(e){n.Message.setWrapperField(this,3,e)},proto.lnrpc.SendResponse.prototype.clearPaymentRoute=function(){this.setPaymentRoute(void 0)},proto.lnrpc.SendResponse.prototype.hasPaymentRoute=function(){return null!=n.Message.getField(this,3)},proto.lnrpc.SendResponse.prototype.getPaymentHash=function(){return n.Message.getFieldWithDefault(this,4,"")},proto.lnrpc.SendResponse.prototype.getPaymentHash_asB64=function(){return n.Message.bytesAsB64(this.getPaymentHash())},proto.lnrpc.SendResponse.prototype.getPaymentHash_asU8=function(){return n.Message.bytesAsU8(this.getPaymentHash())},proto.lnrpc.SendResponse.prototype.setPaymentHash=function(e){n.Message.setField(this,4,e)},proto.lnrpc.SendToRouteRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.SendToRouteRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.SendToRouteRequest.displayName="proto.lnrpc.SendToRouteRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.SendToRouteRequest.prototype.toObject=function(e){return proto.lnrpc.SendToRouteRequest.toObject(e,this)},proto.lnrpc.SendToRouteRequest.toObject=function(e,t){var r,o={paymentHash:t.getPaymentHash_asB64(),paymentHashString:n.Message.getFieldWithDefault(t,2,""),route:(r=t.getRoute())&&proto.lnrpc.Route.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.SendToRouteRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.SendToRouteRequest;return proto.lnrpc.SendToRouteRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.SendToRouteRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setPaymentHash(r);break;case 2:r=t.readString();e.setPaymentHashString(r);break;case 4:r=new proto.lnrpc.Route;t.readMessage(r,proto.lnrpc.Route.deserializeBinaryFromReader),e.setRoute(r);break;default:t.skipField()}}return e},proto.lnrpc.SendToRouteRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.SendToRouteRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.SendToRouteRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPaymentHash_asU8()).length>0&&t.writeBytes(1,r),(r=e.getPaymentHashString()).length>0&&t.writeString(2,r),null!=(r=e.getRoute())&&t.writeMessage(4,r,proto.lnrpc.Route.serializeBinaryToWriter)},proto.lnrpc.SendToRouteRequest.prototype.getPaymentHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.SendToRouteRequest.prototype.getPaymentHash_asB64=function(){return n.Message.bytesAsB64(this.getPaymentHash())},proto.lnrpc.SendToRouteRequest.prototype.getPaymentHash_asU8=function(){return n.Message.bytesAsU8(this.getPaymentHash())},proto.lnrpc.SendToRouteRequest.prototype.setPaymentHash=function(e){n.Message.setField(this,1,e)},proto.lnrpc.SendToRouteRequest.prototype.getPaymentHashString=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.SendToRouteRequest.prototype.setPaymentHashString=function(e){n.Message.setField(this,2,e)},proto.lnrpc.SendToRouteRequest.prototype.getRoute=function(){return n.Message.getWrapperField(this,proto.lnrpc.Route,4)},proto.lnrpc.SendToRouteRequest.prototype.setRoute=function(e){n.Message.setWrapperField(this,4,e)},proto.lnrpc.SendToRouteRequest.prototype.clearRoute=function(){this.setRoute(void 0)},proto.lnrpc.SendToRouteRequest.prototype.hasRoute=function(){return null!=n.Message.getField(this,4)},proto.lnrpc.ChannelAcceptRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChannelAcceptRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelAcceptRequest.displayName="proto.lnrpc.ChannelAcceptRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelAcceptRequest.prototype.toObject=function(e){return proto.lnrpc.ChannelAcceptRequest.toObject(e,this)},proto.lnrpc.ChannelAcceptRequest.toObject=function(e,t){var r={nodePubkey:t.getNodePubkey_asB64(),chainHash:t.getChainHash_asB64(),pendingChanId:t.getPendingChanId_asB64(),fundingAmt:n.Message.getFieldWithDefault(t,4,0),pushAmt:n.Message.getFieldWithDefault(t,5,0),dustLimit:n.Message.getFieldWithDefault(t,6,0),maxValueInFlight:n.Message.getFieldWithDefault(t,7,0),channelReserve:n.Message.getFieldWithDefault(t,8,0),minHtlc:n.Message.getFieldWithDefault(t,9,0),feePerKw:n.Message.getFieldWithDefault(t,10,0),csvDelay:n.Message.getFieldWithDefault(t,11,0),maxAcceptedHtlcs:n.Message.getFieldWithDefault(t,12,0),channelFlags:n.Message.getFieldWithDefault(t,13,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ChannelAcceptRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelAcceptRequest;return proto.lnrpc.ChannelAcceptRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelAcceptRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setNodePubkey(r);break;case 2:r=t.readBytes();e.setChainHash(r);break;case 3:r=t.readBytes();e.setPendingChanId(r);break;case 4:r=t.readUint64();e.setFundingAmt(r);break;case 5:r=t.readUint64();e.setPushAmt(r);break;case 6:r=t.readUint64();e.setDustLimit(r);break;case 7:r=t.readUint64();e.setMaxValueInFlight(r);break;case 8:r=t.readUint64();e.setChannelReserve(r);break;case 9:r=t.readUint64();e.setMinHtlc(r);break;case 10:r=t.readUint64();e.setFeePerKw(r);break;case 11:r=t.readUint32();e.setCsvDelay(r);break;case 12:r=t.readUint32();e.setMaxAcceptedHtlcs(r);break;case 13:r=t.readUint32();e.setChannelFlags(r);break;default:t.skipField()}}return e},proto.lnrpc.ChannelAcceptRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelAcceptRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelAcceptRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getNodePubkey_asU8()).length>0&&t.writeBytes(1,r),(r=e.getChainHash_asU8()).length>0&&t.writeBytes(2,r),(r=e.getPendingChanId_asU8()).length>0&&t.writeBytes(3,r),0!==(r=e.getFundingAmt())&&t.writeUint64(4,r),0!==(r=e.getPushAmt())&&t.writeUint64(5,r),0!==(r=e.getDustLimit())&&t.writeUint64(6,r),0!==(r=e.getMaxValueInFlight())&&t.writeUint64(7,r),0!==(r=e.getChannelReserve())&&t.writeUint64(8,r),0!==(r=e.getMinHtlc())&&t.writeUint64(9,r),0!==(r=e.getFeePerKw())&&t.writeUint64(10,r),0!==(r=e.getCsvDelay())&&t.writeUint32(11,r),0!==(r=e.getMaxAcceptedHtlcs())&&t.writeUint32(12,r),0!==(r=e.getChannelFlags())&&t.writeUint32(13,r)},proto.lnrpc.ChannelAcceptRequest.prototype.getNodePubkey=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.ChannelAcceptRequest.prototype.getNodePubkey_asB64=function(){return n.Message.bytesAsB64(this.getNodePubkey())},proto.lnrpc.ChannelAcceptRequest.prototype.getNodePubkey_asU8=function(){return n.Message.bytesAsU8(this.getNodePubkey())},proto.lnrpc.ChannelAcceptRequest.prototype.setNodePubkey=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ChannelAcceptRequest.prototype.getChainHash=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.ChannelAcceptRequest.prototype.getChainHash_asB64=function(){return n.Message.bytesAsB64(this.getChainHash())},proto.lnrpc.ChannelAcceptRequest.prototype.getChainHash_asU8=function(){return n.Message.bytesAsU8(this.getChainHash())},proto.lnrpc.ChannelAcceptRequest.prototype.setChainHash=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ChannelAcceptRequest.prototype.getPendingChanId=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.ChannelAcceptRequest.prototype.getPendingChanId_asB64=function(){return n.Message.bytesAsB64(this.getPendingChanId())},proto.lnrpc.ChannelAcceptRequest.prototype.getPendingChanId_asU8=function(){return n.Message.bytesAsU8(this.getPendingChanId())},proto.lnrpc.ChannelAcceptRequest.prototype.setPendingChanId=function(e){n.Message.setField(this,3,e)},proto.lnrpc.ChannelAcceptRequest.prototype.getFundingAmt=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.ChannelAcceptRequest.prototype.setFundingAmt=function(e){n.Message.setField(this,4,e)},proto.lnrpc.ChannelAcceptRequest.prototype.getPushAmt=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.ChannelAcceptRequest.prototype.setPushAmt=function(e){n.Message.setField(this,5,e)},proto.lnrpc.ChannelAcceptRequest.prototype.getDustLimit=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.ChannelAcceptRequest.prototype.setDustLimit=function(e){n.Message.setField(this,6,e)},proto.lnrpc.ChannelAcceptRequest.prototype.getMaxValueInFlight=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.ChannelAcceptRequest.prototype.setMaxValueInFlight=function(e){n.Message.setField(this,7,e)},proto.lnrpc.ChannelAcceptRequest.prototype.getChannelReserve=function(){return n.Message.getFieldWithDefault(this,8,0)},proto.lnrpc.ChannelAcceptRequest.prototype.setChannelReserve=function(e){n.Message.setField(this,8,e)},proto.lnrpc.ChannelAcceptRequest.prototype.getMinHtlc=function(){return n.Message.getFieldWithDefault(this,9,0)},proto.lnrpc.ChannelAcceptRequest.prototype.setMinHtlc=function(e){n.Message.setField(this,9,e)},proto.lnrpc.ChannelAcceptRequest.prototype.getFeePerKw=function(){return n.Message.getFieldWithDefault(this,10,0)},proto.lnrpc.ChannelAcceptRequest.prototype.setFeePerKw=function(e){n.Message.setField(this,10,e)},proto.lnrpc.ChannelAcceptRequest.prototype.getCsvDelay=function(){return n.Message.getFieldWithDefault(this,11,0)},proto.lnrpc.ChannelAcceptRequest.prototype.setCsvDelay=function(e){n.Message.setField(this,11,e)},proto.lnrpc.ChannelAcceptRequest.prototype.getMaxAcceptedHtlcs=function(){return n.Message.getFieldWithDefault(this,12,0)},proto.lnrpc.ChannelAcceptRequest.prototype.setMaxAcceptedHtlcs=function(e){n.Message.setField(this,12,e)},proto.lnrpc.ChannelAcceptRequest.prototype.getChannelFlags=function(){return n.Message.getFieldWithDefault(this,13,0)},proto.lnrpc.ChannelAcceptRequest.prototype.setChannelFlags=function(e){n.Message.setField(this,13,e)},proto.lnrpc.ChannelAcceptResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChannelAcceptResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelAcceptResponse.displayName="proto.lnrpc.ChannelAcceptResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelAcceptResponse.prototype.toObject=function(e){return proto.lnrpc.ChannelAcceptResponse.toObject(e,this)},proto.lnrpc.ChannelAcceptResponse.toObject=function(e,t){var r={accept:n.Message.getFieldWithDefault(t,1,!1),pendingChanId:t.getPendingChanId_asB64(),error:n.Message.getFieldWithDefault(t,3,""),upfrontShutdown:n.Message.getFieldWithDefault(t,4,""),csvDelay:n.Message.getFieldWithDefault(t,5,0),reserveSat:n.Message.getFieldWithDefault(t,6,0),inFlightMaxMsat:n.Message.getFieldWithDefault(t,7,0),maxHtlcCount:n.Message.getFieldWithDefault(t,8,0),minHtlcIn:n.Message.getFieldWithDefault(t,9,0),minAcceptDepth:n.Message.getFieldWithDefault(t,10,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ChannelAcceptResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelAcceptResponse;return proto.lnrpc.ChannelAcceptResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelAcceptResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBool();e.setAccept(r);break;case 2:r=t.readBytes();e.setPendingChanId(r);break;case 3:r=t.readString();e.setError(r);break;case 4:r=t.readString();e.setUpfrontShutdown(r);break;case 5:r=t.readUint32();e.setCsvDelay(r);break;case 6:r=t.readUint64();e.setReserveSat(r);break;case 7:r=t.readUint64();e.setInFlightMaxMsat(r);break;case 8:r=t.readUint32();e.setMaxHtlcCount(r);break;case 9:r=t.readUint64();e.setMinHtlcIn(r);break;case 10:r=t.readUint32();e.setMinAcceptDepth(r);break;default:t.skipField()}}return e},proto.lnrpc.ChannelAcceptResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelAcceptResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelAcceptResponse.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getAccept())&&t.writeBool(1,r),(r=e.getPendingChanId_asU8()).length>0&&t.writeBytes(2,r),(r=e.getError()).length>0&&t.writeString(3,r),(r=e.getUpfrontShutdown()).length>0&&t.writeString(4,r),0!==(r=e.getCsvDelay())&&t.writeUint32(5,r),0!==(r=e.getReserveSat())&&t.writeUint64(6,r),0!==(r=e.getInFlightMaxMsat())&&t.writeUint64(7,r),0!==(r=e.getMaxHtlcCount())&&t.writeUint32(8,r),0!==(r=e.getMinHtlcIn())&&t.writeUint64(9,r),0!==(r=e.getMinAcceptDepth())&&t.writeUint32(10,r)},proto.lnrpc.ChannelAcceptResponse.prototype.getAccept=function(){return n.Message.getFieldWithDefault(this,1,!1)},proto.lnrpc.ChannelAcceptResponse.prototype.setAccept=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ChannelAcceptResponse.prototype.getPendingChanId=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.ChannelAcceptResponse.prototype.getPendingChanId_asB64=function(){return n.Message.bytesAsB64(this.getPendingChanId())},proto.lnrpc.ChannelAcceptResponse.prototype.getPendingChanId_asU8=function(){return n.Message.bytesAsU8(this.getPendingChanId())},proto.lnrpc.ChannelAcceptResponse.prototype.setPendingChanId=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ChannelAcceptResponse.prototype.getError=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.ChannelAcceptResponse.prototype.setError=function(e){n.Message.setField(this,3,e)},proto.lnrpc.ChannelAcceptResponse.prototype.getUpfrontShutdown=function(){return n.Message.getFieldWithDefault(this,4,"")},proto.lnrpc.ChannelAcceptResponse.prototype.setUpfrontShutdown=function(e){n.Message.setField(this,4,e)},proto.lnrpc.ChannelAcceptResponse.prototype.getCsvDelay=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.ChannelAcceptResponse.prototype.setCsvDelay=function(e){n.Message.setField(this,5,e)},proto.lnrpc.ChannelAcceptResponse.prototype.getReserveSat=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.ChannelAcceptResponse.prototype.setReserveSat=function(e){n.Message.setField(this,6,e)},proto.lnrpc.ChannelAcceptResponse.prototype.getInFlightMaxMsat=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.ChannelAcceptResponse.prototype.setInFlightMaxMsat=function(e){n.Message.setField(this,7,e)},proto.lnrpc.ChannelAcceptResponse.prototype.getMaxHtlcCount=function(){return n.Message.getFieldWithDefault(this,8,0)},proto.lnrpc.ChannelAcceptResponse.prototype.setMaxHtlcCount=function(e){n.Message.setField(this,8,e)},proto.lnrpc.ChannelAcceptResponse.prototype.getMinHtlcIn=function(){return n.Message.getFieldWithDefault(this,9,0)},proto.lnrpc.ChannelAcceptResponse.prototype.setMinHtlcIn=function(e){n.Message.setField(this,9,e)},proto.lnrpc.ChannelAcceptResponse.prototype.getMinAcceptDepth=function(){return n.Message.getFieldWithDefault(this,10,0)},proto.lnrpc.ChannelAcceptResponse.prototype.setMinAcceptDepth=function(e){n.Message.setField(this,10,e)},proto.lnrpc.ChannelPoint=function(e){n.Message.initialize(this,e,0,-1,null,proto.lnrpc.ChannelPoint.oneofGroups_)},o.inherits(proto.lnrpc.ChannelPoint,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelPoint.displayName="proto.lnrpc.ChannelPoint"),proto.lnrpc.ChannelPoint.oneofGroups_=[[1,2]],proto.lnrpc.ChannelPoint.FundingTxidCase={FUNDING_TXID_NOT_SET:0,FUNDING_TXID_BYTES:1,FUNDING_TXID_STR:2},proto.lnrpc.ChannelPoint.prototype.getFundingTxidCase=function(){return n.Message.computeOneofCase(this,proto.lnrpc.ChannelPoint.oneofGroups_[0])},n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelPoint.prototype.toObject=function(e){return proto.lnrpc.ChannelPoint.toObject(e,this)},proto.lnrpc.ChannelPoint.toObject=function(e,t){var r={fundingTxidBytes:t.getFundingTxidBytes_asB64(),fundingTxidStr:n.Message.getFieldWithDefault(t,2,""),outputIndex:n.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ChannelPoint.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelPoint;return proto.lnrpc.ChannelPoint.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelPoint.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setFundingTxidBytes(r);break;case 2:r=t.readString();e.setFundingTxidStr(r);break;case 3:r=t.readUint32();e.setOutputIndex(r);break;default:t.skipField()}}return e},proto.lnrpc.ChannelPoint.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelPoint.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelPoint.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=n.Message.getField(e,1))&&t.writeBytes(1,r),null!=(r=n.Message.getField(e,2))&&t.writeString(2,r),0!==(r=e.getOutputIndex())&&t.writeUint32(3,r)},proto.lnrpc.ChannelPoint.prototype.getFundingTxidBytes=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.ChannelPoint.prototype.getFundingTxidBytes_asB64=function(){return n.Message.bytesAsB64(this.getFundingTxidBytes())},proto.lnrpc.ChannelPoint.prototype.getFundingTxidBytes_asU8=function(){return n.Message.bytesAsU8(this.getFundingTxidBytes())},proto.lnrpc.ChannelPoint.prototype.setFundingTxidBytes=function(e){n.Message.setOneofField(this,1,proto.lnrpc.ChannelPoint.oneofGroups_[0],e)},proto.lnrpc.ChannelPoint.prototype.clearFundingTxidBytes=function(){n.Message.setOneofField(this,1,proto.lnrpc.ChannelPoint.oneofGroups_[0],void 0)},proto.lnrpc.ChannelPoint.prototype.hasFundingTxidBytes=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.ChannelPoint.prototype.getFundingTxidStr=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.ChannelPoint.prototype.setFundingTxidStr=function(e){n.Message.setOneofField(this,2,proto.lnrpc.ChannelPoint.oneofGroups_[0],e)},proto.lnrpc.ChannelPoint.prototype.clearFundingTxidStr=function(){n.Message.setOneofField(this,2,proto.lnrpc.ChannelPoint.oneofGroups_[0],void 0)},proto.lnrpc.ChannelPoint.prototype.hasFundingTxidStr=function(){return null!=n.Message.getField(this,2)},proto.lnrpc.ChannelPoint.prototype.getOutputIndex=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.ChannelPoint.prototype.setOutputIndex=function(e){n.Message.setField(this,3,e)},proto.lnrpc.OutPoint=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.OutPoint,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.OutPoint.displayName="proto.lnrpc.OutPoint"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.OutPoint.prototype.toObject=function(e){return proto.lnrpc.OutPoint.toObject(e,this)},proto.lnrpc.OutPoint.toObject=function(e,t){var r={txidBytes:t.getTxidBytes_asB64(),txidStr:n.Message.getFieldWithDefault(t,2,""),outputIndex:n.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.OutPoint.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.OutPoint;return proto.lnrpc.OutPoint.deserializeBinaryFromReader(r,t)},proto.lnrpc.OutPoint.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setTxidBytes(r);break;case 2:r=t.readString();e.setTxidStr(r);break;case 3:r=t.readUint32();e.setOutputIndex(r);break;default:t.skipField()}}return e},proto.lnrpc.OutPoint.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.OutPoint.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.OutPoint.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getTxidBytes_asU8()).length>0&&t.writeBytes(1,r),(r=e.getTxidStr()).length>0&&t.writeString(2,r),0!==(r=e.getOutputIndex())&&t.writeUint32(3,r)},proto.lnrpc.OutPoint.prototype.getTxidBytes=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.OutPoint.prototype.getTxidBytes_asB64=function(){return n.Message.bytesAsB64(this.getTxidBytes())},proto.lnrpc.OutPoint.prototype.getTxidBytes_asU8=function(){return n.Message.bytesAsU8(this.getTxidBytes())},proto.lnrpc.OutPoint.prototype.setTxidBytes=function(e){n.Message.setField(this,1,e)},proto.lnrpc.OutPoint.prototype.getTxidStr=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.OutPoint.prototype.setTxidStr=function(e){n.Message.setField(this,2,e)},proto.lnrpc.OutPoint.prototype.getOutputIndex=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.OutPoint.prototype.setOutputIndex=function(e){n.Message.setField(this,3,e)},proto.lnrpc.LightningAddress=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.LightningAddress,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.LightningAddress.displayName="proto.lnrpc.LightningAddress"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.LightningAddress.prototype.toObject=function(e){return proto.lnrpc.LightningAddress.toObject(e,this)},proto.lnrpc.LightningAddress.toObject=function(e,t){var r={pubkey:n.Message.getFieldWithDefault(t,1,""),host:n.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.LightningAddress.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.LightningAddress;return proto.lnrpc.LightningAddress.deserializeBinaryFromReader(r,t)},proto.lnrpc.LightningAddress.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setPubkey(r);break;case 2:r=t.readString();e.setHost(r);break;default:t.skipField()}}return e},proto.lnrpc.LightningAddress.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.LightningAddress.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.LightningAddress.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPubkey()).length>0&&t.writeString(1,r),(r=e.getHost()).length>0&&t.writeString(2,r)},proto.lnrpc.LightningAddress.prototype.getPubkey=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.LightningAddress.prototype.setPubkey=function(e){n.Message.setField(this,1,e)},proto.lnrpc.LightningAddress.prototype.getHost=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.LightningAddress.prototype.setHost=function(e){n.Message.setField(this,2,e)},proto.lnrpc.EstimateFeeRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.EstimateFeeRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.EstimateFeeRequest.displayName="proto.lnrpc.EstimateFeeRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.EstimateFeeRequest.prototype.toObject=function(e){return proto.lnrpc.EstimateFeeRequest.toObject(e,this)},proto.lnrpc.EstimateFeeRequest.toObject=function(e,t){var r,o={addrtoamountMap:(r=t.getAddrtoamountMap())?r.toObject(e,void 0):[],targetConf:n.Message.getFieldWithDefault(t,2,0),minConfs:n.Message.getFieldWithDefault(t,3,0),spendUnconfirmed:n.Message.getFieldWithDefault(t,4,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.EstimateFeeRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.EstimateFeeRequest;return proto.lnrpc.EstimateFeeRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.EstimateFeeRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=e.getAddrtoamountMap();t.readMessage(r,(function(e,t){n.Map.deserializeBinary(e,t,n.BinaryReader.prototype.readString,n.BinaryReader.prototype.readInt64)}));break;case 2:r=t.readInt32();e.setTargetConf(r);break;case 3:r=t.readInt32();e.setMinConfs(r);break;case 4:r=t.readBool();e.setSpendUnconfirmed(r);break;default:t.skipField()}}return e},proto.lnrpc.EstimateFeeRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.EstimateFeeRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.EstimateFeeRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getAddrtoamountMap(!0))&&r.getLength()>0&&r.serializeBinary(1,t,n.BinaryWriter.prototype.writeString,n.BinaryWriter.prototype.writeInt64),0!==(r=e.getTargetConf())&&t.writeInt32(2,r),0!==(r=e.getMinConfs())&&t.writeInt32(3,r),(r=e.getSpendUnconfirmed())&&t.writeBool(4,r)},proto.lnrpc.EstimateFeeRequest.prototype.getAddrtoamountMap=function(e){return n.Message.getMapField(this,1,e,null)},proto.lnrpc.EstimateFeeRequest.prototype.clearAddrtoamountMap=function(){this.getAddrtoamountMap().clear()},proto.lnrpc.EstimateFeeRequest.prototype.getTargetConf=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.EstimateFeeRequest.prototype.setTargetConf=function(e){n.Message.setField(this,2,e)},proto.lnrpc.EstimateFeeRequest.prototype.getMinConfs=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.EstimateFeeRequest.prototype.setMinConfs=function(e){n.Message.setField(this,3,e)},proto.lnrpc.EstimateFeeRequest.prototype.getSpendUnconfirmed=function(){return n.Message.getFieldWithDefault(this,4,!1)},proto.lnrpc.EstimateFeeRequest.prototype.setSpendUnconfirmed=function(e){n.Message.setField(this,4,e)},proto.lnrpc.EstimateFeeResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.EstimateFeeResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.EstimateFeeResponse.displayName="proto.lnrpc.EstimateFeeResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.EstimateFeeResponse.prototype.toObject=function(e){return proto.lnrpc.EstimateFeeResponse.toObject(e,this)},proto.lnrpc.EstimateFeeResponse.toObject=function(e,t){var r={feeSat:n.Message.getFieldWithDefault(t,1,0),feerateSatPerByte:n.Message.getFieldWithDefault(t,2,0),satPerVbyte:n.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.EstimateFeeResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.EstimateFeeResponse;return proto.lnrpc.EstimateFeeResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.EstimateFeeResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt64();e.setFeeSat(r);break;case 2:r=t.readInt64();e.setFeerateSatPerByte(r);break;case 3:r=t.readUint64();e.setSatPerVbyte(r);break;default:t.skipField()}}return e},proto.lnrpc.EstimateFeeResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.EstimateFeeResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.EstimateFeeResponse.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getFeeSat())&&t.writeInt64(1,r),0!==(r=e.getFeerateSatPerByte())&&t.writeInt64(2,r),0!==(r=e.getSatPerVbyte())&&t.writeUint64(3,r)},proto.lnrpc.EstimateFeeResponse.prototype.getFeeSat=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.EstimateFeeResponse.prototype.setFeeSat=function(e){n.Message.setField(this,1,e)},proto.lnrpc.EstimateFeeResponse.prototype.getFeerateSatPerByte=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.EstimateFeeResponse.prototype.setFeerateSatPerByte=function(e){n.Message.setField(this,2,e)},proto.lnrpc.EstimateFeeResponse.prototype.getSatPerVbyte=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.EstimateFeeResponse.prototype.setSatPerVbyte=function(e){n.Message.setField(this,3,e)},proto.lnrpc.SendManyRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.SendManyRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.SendManyRequest.displayName="proto.lnrpc.SendManyRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.SendManyRequest.prototype.toObject=function(e){return proto.lnrpc.SendManyRequest.toObject(e,this)},proto.lnrpc.SendManyRequest.toObject=function(e,t){var r,o={addrtoamountMap:(r=t.getAddrtoamountMap())?r.toObject(e,void 0):[],targetConf:n.Message.getFieldWithDefault(t,3,0),satPerVbyte:n.Message.getFieldWithDefault(t,4,0),satPerByte:n.Message.getFieldWithDefault(t,5,0),label:n.Message.getFieldWithDefault(t,6,""),minConfs:n.Message.getFieldWithDefault(t,7,0),spendUnconfirmed:n.Message.getFieldWithDefault(t,8,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.SendManyRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.SendManyRequest;return proto.lnrpc.SendManyRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.SendManyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=e.getAddrtoamountMap();t.readMessage(r,(function(e,t){n.Map.deserializeBinary(e,t,n.BinaryReader.prototype.readString,n.BinaryReader.prototype.readInt64)}));break;case 3:r=t.readInt32();e.setTargetConf(r);break;case 4:r=t.readUint64();e.setSatPerVbyte(r);break;case 5:r=t.readInt64();e.setSatPerByte(r);break;case 6:r=t.readString();e.setLabel(r);break;case 7:r=t.readInt32();e.setMinConfs(r);break;case 8:r=t.readBool();e.setSpendUnconfirmed(r);break;default:t.skipField()}}return e},proto.lnrpc.SendManyRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.SendManyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.SendManyRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getAddrtoamountMap(!0))&&r.getLength()>0&&r.serializeBinary(1,t,n.BinaryWriter.prototype.writeString,n.BinaryWriter.prototype.writeInt64),0!==(r=e.getTargetConf())&&t.writeInt32(3,r),0!==(r=e.getSatPerVbyte())&&t.writeUint64(4,r),0!==(r=e.getSatPerByte())&&t.writeInt64(5,r),(r=e.getLabel()).length>0&&t.writeString(6,r),0!==(r=e.getMinConfs())&&t.writeInt32(7,r),(r=e.getSpendUnconfirmed())&&t.writeBool(8,r)},proto.lnrpc.SendManyRequest.prototype.getAddrtoamountMap=function(e){return n.Message.getMapField(this,1,e,null)},proto.lnrpc.SendManyRequest.prototype.clearAddrtoamountMap=function(){this.getAddrtoamountMap().clear()},proto.lnrpc.SendManyRequest.prototype.getTargetConf=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.SendManyRequest.prototype.setTargetConf=function(e){n.Message.setField(this,3,e)},proto.lnrpc.SendManyRequest.prototype.getSatPerVbyte=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.SendManyRequest.prototype.setSatPerVbyte=function(e){n.Message.setField(this,4,e)},proto.lnrpc.SendManyRequest.prototype.getSatPerByte=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.SendManyRequest.prototype.setSatPerByte=function(e){n.Message.setField(this,5,e)},proto.lnrpc.SendManyRequest.prototype.getLabel=function(){return n.Message.getFieldWithDefault(this,6,"")},proto.lnrpc.SendManyRequest.prototype.setLabel=function(e){n.Message.setField(this,6,e)},proto.lnrpc.SendManyRequest.prototype.getMinConfs=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.SendManyRequest.prototype.setMinConfs=function(e){n.Message.setField(this,7,e)},proto.lnrpc.SendManyRequest.prototype.getSpendUnconfirmed=function(){return n.Message.getFieldWithDefault(this,8,!1)},proto.lnrpc.SendManyRequest.prototype.setSpendUnconfirmed=function(e){n.Message.setField(this,8,e)},proto.lnrpc.SendManyResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.SendManyResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.SendManyResponse.displayName="proto.lnrpc.SendManyResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.SendManyResponse.prototype.toObject=function(e){return proto.lnrpc.SendManyResponse.toObject(e,this)},proto.lnrpc.SendManyResponse.toObject=function(e,t){var r={txid:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.SendManyResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.SendManyResponse;return proto.lnrpc.SendManyResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.SendManyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setTxid(r)}else t.skipField()}return e},proto.lnrpc.SendManyResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.SendManyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.SendManyResponse.serializeBinaryToWriter=function(e,t){var r;(r=e.getTxid()).length>0&&t.writeString(1,r)},proto.lnrpc.SendManyResponse.prototype.getTxid=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.SendManyResponse.prototype.setTxid=function(e){n.Message.setField(this,1,e)},proto.lnrpc.SendCoinsRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.SendCoinsRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.SendCoinsRequest.displayName="proto.lnrpc.SendCoinsRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.SendCoinsRequest.prototype.toObject=function(e){return proto.lnrpc.SendCoinsRequest.toObject(e,this)},proto.lnrpc.SendCoinsRequest.toObject=function(e,t){var r={addr:n.Message.getFieldWithDefault(t,1,""),amount:n.Message.getFieldWithDefault(t,2,0),targetConf:n.Message.getFieldWithDefault(t,3,0),satPerVbyte:n.Message.getFieldWithDefault(t,4,0),satPerByte:n.Message.getFieldWithDefault(t,5,0),sendAll:n.Message.getFieldWithDefault(t,6,!1),label:n.Message.getFieldWithDefault(t,7,""),minConfs:n.Message.getFieldWithDefault(t,8,0),spendUnconfirmed:n.Message.getFieldWithDefault(t,9,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.SendCoinsRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.SendCoinsRequest;return proto.lnrpc.SendCoinsRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.SendCoinsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setAddr(r);break;case 2:r=t.readInt64();e.setAmount(r);break;case 3:r=t.readInt32();e.setTargetConf(r);break;case 4:r=t.readUint64();e.setSatPerVbyte(r);break;case 5:r=t.readInt64();e.setSatPerByte(r);break;case 6:r=t.readBool();e.setSendAll(r);break;case 7:r=t.readString();e.setLabel(r);break;case 8:r=t.readInt32();e.setMinConfs(r);break;case 9:r=t.readBool();e.setSpendUnconfirmed(r);break;default:t.skipField()}}return e},proto.lnrpc.SendCoinsRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.SendCoinsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.SendCoinsRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getAddr()).length>0&&t.writeString(1,r),0!==(r=e.getAmount())&&t.writeInt64(2,r),0!==(r=e.getTargetConf())&&t.writeInt32(3,r),0!==(r=e.getSatPerVbyte())&&t.writeUint64(4,r),0!==(r=e.getSatPerByte())&&t.writeInt64(5,r),(r=e.getSendAll())&&t.writeBool(6,r),(r=e.getLabel()).length>0&&t.writeString(7,r),0!==(r=e.getMinConfs())&&t.writeInt32(8,r),(r=e.getSpendUnconfirmed())&&t.writeBool(9,r)},proto.lnrpc.SendCoinsRequest.prototype.getAddr=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.SendCoinsRequest.prototype.setAddr=function(e){n.Message.setField(this,1,e)},proto.lnrpc.SendCoinsRequest.prototype.getAmount=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.SendCoinsRequest.prototype.setAmount=function(e){n.Message.setField(this,2,e)},proto.lnrpc.SendCoinsRequest.prototype.getTargetConf=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.SendCoinsRequest.prototype.setTargetConf=function(e){n.Message.setField(this,3,e)},proto.lnrpc.SendCoinsRequest.prototype.getSatPerVbyte=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.SendCoinsRequest.prototype.setSatPerVbyte=function(e){n.Message.setField(this,4,e)},proto.lnrpc.SendCoinsRequest.prototype.getSatPerByte=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.SendCoinsRequest.prototype.setSatPerByte=function(e){n.Message.setField(this,5,e)},proto.lnrpc.SendCoinsRequest.prototype.getSendAll=function(){return n.Message.getFieldWithDefault(this,6,!1)},proto.lnrpc.SendCoinsRequest.prototype.setSendAll=function(e){n.Message.setField(this,6,e)},proto.lnrpc.SendCoinsRequest.prototype.getLabel=function(){return n.Message.getFieldWithDefault(this,7,"")},proto.lnrpc.SendCoinsRequest.prototype.setLabel=function(e){n.Message.setField(this,7,e)},proto.lnrpc.SendCoinsRequest.prototype.getMinConfs=function(){return n.Message.getFieldWithDefault(this,8,0)},proto.lnrpc.SendCoinsRequest.prototype.setMinConfs=function(e){n.Message.setField(this,8,e)},proto.lnrpc.SendCoinsRequest.prototype.getSpendUnconfirmed=function(){return n.Message.getFieldWithDefault(this,9,!1)},proto.lnrpc.SendCoinsRequest.prototype.setSpendUnconfirmed=function(e){n.Message.setField(this,9,e)},proto.lnrpc.SendCoinsResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.SendCoinsResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.SendCoinsResponse.displayName="proto.lnrpc.SendCoinsResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.SendCoinsResponse.prototype.toObject=function(e){return proto.lnrpc.SendCoinsResponse.toObject(e,this)},proto.lnrpc.SendCoinsResponse.toObject=function(e,t){var r={txid:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.SendCoinsResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.SendCoinsResponse;return proto.lnrpc.SendCoinsResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.SendCoinsResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setTxid(r)}else t.skipField()}return e},proto.lnrpc.SendCoinsResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.SendCoinsResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.SendCoinsResponse.serializeBinaryToWriter=function(e,t){var r;(r=e.getTxid()).length>0&&t.writeString(1,r)},proto.lnrpc.SendCoinsResponse.prototype.getTxid=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.SendCoinsResponse.prototype.setTxid=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ListUnspentRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ListUnspentRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ListUnspentRequest.displayName="proto.lnrpc.ListUnspentRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ListUnspentRequest.prototype.toObject=function(e){return proto.lnrpc.ListUnspentRequest.toObject(e,this)},proto.lnrpc.ListUnspentRequest.toObject=function(e,t){var r={minConfs:n.Message.getFieldWithDefault(t,1,0),maxConfs:n.Message.getFieldWithDefault(t,2,0),account:n.Message.getFieldWithDefault(t,3,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ListUnspentRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ListUnspentRequest;return proto.lnrpc.ListUnspentRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.ListUnspentRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setMinConfs(r);break;case 2:r=t.readInt32();e.setMaxConfs(r);break;case 3:r=t.readString();e.setAccount(r);break;default:t.skipField()}}return e},proto.lnrpc.ListUnspentRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ListUnspentRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ListUnspentRequest.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getMinConfs())&&t.writeInt32(1,r),0!==(r=e.getMaxConfs())&&t.writeInt32(2,r),(r=e.getAccount()).length>0&&t.writeString(3,r)},proto.lnrpc.ListUnspentRequest.prototype.getMinConfs=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.ListUnspentRequest.prototype.setMinConfs=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ListUnspentRequest.prototype.getMaxConfs=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.ListUnspentRequest.prototype.setMaxConfs=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ListUnspentRequest.prototype.getAccount=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.ListUnspentRequest.prototype.setAccount=function(e){n.Message.setField(this,3,e)},proto.lnrpc.ListUnspentResponse=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.ListUnspentResponse.repeatedFields_,null)},o.inherits(proto.lnrpc.ListUnspentResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ListUnspentResponse.displayName="proto.lnrpc.ListUnspentResponse"),proto.lnrpc.ListUnspentResponse.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ListUnspentResponse.prototype.toObject=function(e){return proto.lnrpc.ListUnspentResponse.toObject(e,this)},proto.lnrpc.ListUnspentResponse.toObject=function(e,t){var r={utxosList:n.Message.toObjectList(t.getUtxosList(),proto.lnrpc.Utxo.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ListUnspentResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ListUnspentResponse;return proto.lnrpc.ListUnspentResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.ListUnspentResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.lnrpc.Utxo;t.readMessage(r,proto.lnrpc.Utxo.deserializeBinaryFromReader),e.addUtxos(r)}else t.skipField()}return e},proto.lnrpc.ListUnspentResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ListUnspentResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ListUnspentResponse.serializeBinaryToWriter=function(e,t){var r;(r=e.getUtxosList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.Utxo.serializeBinaryToWriter)},proto.lnrpc.ListUnspentResponse.prototype.getUtxosList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.Utxo,1)},proto.lnrpc.ListUnspentResponse.prototype.setUtxosList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.ListUnspentResponse.prototype.addUtxos=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.Utxo,t)},proto.lnrpc.ListUnspentResponse.prototype.clearUtxosList=function(){this.setUtxosList([])},proto.lnrpc.NewAddressRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.NewAddressRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.NewAddressRequest.displayName="proto.lnrpc.NewAddressRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.NewAddressRequest.prototype.toObject=function(e){return proto.lnrpc.NewAddressRequest.toObject(e,this)},proto.lnrpc.NewAddressRequest.toObject=function(e,t){var r={type:n.Message.getFieldWithDefault(t,1,0),account:n.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.NewAddressRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.NewAddressRequest;return proto.lnrpc.NewAddressRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.NewAddressRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readEnum();e.setType(r);break;case 2:r=t.readString();e.setAccount(r);break;default:t.skipField()}}return e},proto.lnrpc.NewAddressRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.NewAddressRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.NewAddressRequest.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getType())&&t.writeEnum(1,r),(r=e.getAccount()).length>0&&t.writeString(2,r)},proto.lnrpc.NewAddressRequest.prototype.getType=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.NewAddressRequest.prototype.setType=function(e){n.Message.setField(this,1,e)},proto.lnrpc.NewAddressRequest.prototype.getAccount=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.NewAddressRequest.prototype.setAccount=function(e){n.Message.setField(this,2,e)},proto.lnrpc.NewAddressResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.NewAddressResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.NewAddressResponse.displayName="proto.lnrpc.NewAddressResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.NewAddressResponse.prototype.toObject=function(e){return proto.lnrpc.NewAddressResponse.toObject(e,this)},proto.lnrpc.NewAddressResponse.toObject=function(e,t){var r={address:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.NewAddressResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.NewAddressResponse;return proto.lnrpc.NewAddressResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.NewAddressResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setAddress(r)}else t.skipField()}return e},proto.lnrpc.NewAddressResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.NewAddressResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.NewAddressResponse.serializeBinaryToWriter=function(e,t){var r;(r=e.getAddress()).length>0&&t.writeString(1,r)},proto.lnrpc.NewAddressResponse.prototype.getAddress=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.NewAddressResponse.prototype.setAddress=function(e){n.Message.setField(this,1,e)},proto.lnrpc.SignMessageRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.SignMessageRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.SignMessageRequest.displayName="proto.lnrpc.SignMessageRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.SignMessageRequest.prototype.toObject=function(e){return proto.lnrpc.SignMessageRequest.toObject(e,this)},proto.lnrpc.SignMessageRequest.toObject=function(e,t){var r={msg:t.getMsg_asB64(),singleHash:n.Message.getFieldWithDefault(t,2,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.SignMessageRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.SignMessageRequest;return proto.lnrpc.SignMessageRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.SignMessageRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setMsg(r);break;case 2:r=t.readBool();e.setSingleHash(r);break;default:t.skipField()}}return e},proto.lnrpc.SignMessageRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.SignMessageRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.SignMessageRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getMsg_asU8()).length>0&&t.writeBytes(1,r),(r=e.getSingleHash())&&t.writeBool(2,r)},proto.lnrpc.SignMessageRequest.prototype.getMsg=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.SignMessageRequest.prototype.getMsg_asB64=function(){return n.Message.bytesAsB64(this.getMsg())},proto.lnrpc.SignMessageRequest.prototype.getMsg_asU8=function(){return n.Message.bytesAsU8(this.getMsg())},proto.lnrpc.SignMessageRequest.prototype.setMsg=function(e){n.Message.setField(this,1,e)},proto.lnrpc.SignMessageRequest.prototype.getSingleHash=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.lnrpc.SignMessageRequest.prototype.setSingleHash=function(e){n.Message.setField(this,2,e)},proto.lnrpc.SignMessageResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.SignMessageResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.SignMessageResponse.displayName="proto.lnrpc.SignMessageResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.SignMessageResponse.prototype.toObject=function(e){return proto.lnrpc.SignMessageResponse.toObject(e,this)},proto.lnrpc.SignMessageResponse.toObject=function(e,t){var r={signature:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.SignMessageResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.SignMessageResponse;return proto.lnrpc.SignMessageResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.SignMessageResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSignature(r)}else t.skipField()}return e},proto.lnrpc.SignMessageResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.SignMessageResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.SignMessageResponse.serializeBinaryToWriter=function(e,t){var r;(r=e.getSignature()).length>0&&t.writeString(1,r)},proto.lnrpc.SignMessageResponse.prototype.getSignature=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.SignMessageResponse.prototype.setSignature=function(e){n.Message.setField(this,1,e)},proto.lnrpc.VerifyMessageRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.VerifyMessageRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.VerifyMessageRequest.displayName="proto.lnrpc.VerifyMessageRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.VerifyMessageRequest.prototype.toObject=function(e){return proto.lnrpc.VerifyMessageRequest.toObject(e,this)},proto.lnrpc.VerifyMessageRequest.toObject=function(e,t){var r={msg:t.getMsg_asB64(),signature:n.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.VerifyMessageRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.VerifyMessageRequest;return proto.lnrpc.VerifyMessageRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.VerifyMessageRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setMsg(r);break;case 2:r=t.readString();e.setSignature(r);break;default:t.skipField()}}return e},proto.lnrpc.VerifyMessageRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.VerifyMessageRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.VerifyMessageRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getMsg_asU8()).length>0&&t.writeBytes(1,r),(r=e.getSignature()).length>0&&t.writeString(2,r)},proto.lnrpc.VerifyMessageRequest.prototype.getMsg=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.VerifyMessageRequest.prototype.getMsg_asB64=function(){return n.Message.bytesAsB64(this.getMsg())},proto.lnrpc.VerifyMessageRequest.prototype.getMsg_asU8=function(){return n.Message.bytesAsU8(this.getMsg())},proto.lnrpc.VerifyMessageRequest.prototype.setMsg=function(e){n.Message.setField(this,1,e)},proto.lnrpc.VerifyMessageRequest.prototype.getSignature=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.VerifyMessageRequest.prototype.setSignature=function(e){n.Message.setField(this,2,e)},proto.lnrpc.VerifyMessageResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.VerifyMessageResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.VerifyMessageResponse.displayName="proto.lnrpc.VerifyMessageResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.VerifyMessageResponse.prototype.toObject=function(e){return proto.lnrpc.VerifyMessageResponse.toObject(e,this)},proto.lnrpc.VerifyMessageResponse.toObject=function(e,t){var r={valid:n.Message.getFieldWithDefault(t,1,!1),pubkey:n.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.VerifyMessageResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.VerifyMessageResponse;return proto.lnrpc.VerifyMessageResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.VerifyMessageResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBool();e.setValid(r);break;case 2:r=t.readString();e.setPubkey(r);break;default:t.skipField()}}return e},proto.lnrpc.VerifyMessageResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.VerifyMessageResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.VerifyMessageResponse.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getValid())&&t.writeBool(1,r),(r=e.getPubkey()).length>0&&t.writeString(2,r)},proto.lnrpc.VerifyMessageResponse.prototype.getValid=function(){return n.Message.getFieldWithDefault(this,1,!1)},proto.lnrpc.VerifyMessageResponse.prototype.setValid=function(e){n.Message.setField(this,1,e)},proto.lnrpc.VerifyMessageResponse.prototype.getPubkey=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.VerifyMessageResponse.prototype.setPubkey=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ConnectPeerRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ConnectPeerRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ConnectPeerRequest.displayName="proto.lnrpc.ConnectPeerRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ConnectPeerRequest.prototype.toObject=function(e){return proto.lnrpc.ConnectPeerRequest.toObject(e,this)},proto.lnrpc.ConnectPeerRequest.toObject=function(e,t){var r,o={addr:(r=t.getAddr())&&proto.lnrpc.LightningAddress.toObject(e,r),perm:n.Message.getFieldWithDefault(t,2,!1),timeout:n.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.ConnectPeerRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ConnectPeerRequest;return proto.lnrpc.ConnectPeerRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.ConnectPeerRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.LightningAddress;t.readMessage(r,proto.lnrpc.LightningAddress.deserializeBinaryFromReader),e.setAddr(r);break;case 2:r=t.readBool();e.setPerm(r);break;case 3:r=t.readUint64();e.setTimeout(r);break;default:t.skipField()}}return e},proto.lnrpc.ConnectPeerRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ConnectPeerRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ConnectPeerRequest.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getAddr())&&t.writeMessage(1,r,proto.lnrpc.LightningAddress.serializeBinaryToWriter),(r=e.getPerm())&&t.writeBool(2,r),0!==(r=e.getTimeout())&&t.writeUint64(3,r)},proto.lnrpc.ConnectPeerRequest.prototype.getAddr=function(){return n.Message.getWrapperField(this,proto.lnrpc.LightningAddress,1)},proto.lnrpc.ConnectPeerRequest.prototype.setAddr=function(e){n.Message.setWrapperField(this,1,e)},proto.lnrpc.ConnectPeerRequest.prototype.clearAddr=function(){this.setAddr(void 0)},proto.lnrpc.ConnectPeerRequest.prototype.hasAddr=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.ConnectPeerRequest.prototype.getPerm=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.lnrpc.ConnectPeerRequest.prototype.setPerm=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ConnectPeerRequest.prototype.getTimeout=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.ConnectPeerRequest.prototype.setTimeout=function(e){n.Message.setField(this,3,e)},proto.lnrpc.ConnectPeerResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ConnectPeerResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ConnectPeerResponse.displayName="proto.lnrpc.ConnectPeerResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ConnectPeerResponse.prototype.toObject=function(e){return proto.lnrpc.ConnectPeerResponse.toObject(e,this)},proto.lnrpc.ConnectPeerResponse.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ConnectPeerResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ConnectPeerResponse;return proto.lnrpc.ConnectPeerResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.ConnectPeerResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.ConnectPeerResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ConnectPeerResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ConnectPeerResponse.serializeBinaryToWriter=function(e,t){},proto.lnrpc.DisconnectPeerRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.DisconnectPeerRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.DisconnectPeerRequest.displayName="proto.lnrpc.DisconnectPeerRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.DisconnectPeerRequest.prototype.toObject=function(e){return proto.lnrpc.DisconnectPeerRequest.toObject(e,this)},proto.lnrpc.DisconnectPeerRequest.toObject=function(e,t){var r={pubKey:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.DisconnectPeerRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.DisconnectPeerRequest;return proto.lnrpc.DisconnectPeerRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.DisconnectPeerRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setPubKey(r)}else t.skipField()}return e},proto.lnrpc.DisconnectPeerRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.DisconnectPeerRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.DisconnectPeerRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getPubKey()).length>0&&t.writeString(1,r)},proto.lnrpc.DisconnectPeerRequest.prototype.getPubKey=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.DisconnectPeerRequest.prototype.setPubKey=function(e){n.Message.setField(this,1,e)},proto.lnrpc.DisconnectPeerResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.DisconnectPeerResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.DisconnectPeerResponse.displayName="proto.lnrpc.DisconnectPeerResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.DisconnectPeerResponse.prototype.toObject=function(e){return proto.lnrpc.DisconnectPeerResponse.toObject(e,this)},proto.lnrpc.DisconnectPeerResponse.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.DisconnectPeerResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.DisconnectPeerResponse;return proto.lnrpc.DisconnectPeerResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.DisconnectPeerResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.DisconnectPeerResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.DisconnectPeerResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.DisconnectPeerResponse.serializeBinaryToWriter=function(e,t){},proto.lnrpc.HTLC=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.HTLC,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.HTLC.displayName="proto.lnrpc.HTLC"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.HTLC.prototype.toObject=function(e){return proto.lnrpc.HTLC.toObject(e,this)},proto.lnrpc.HTLC.toObject=function(e,t){var r={incoming:n.Message.getFieldWithDefault(t,1,!1),amount:n.Message.getFieldWithDefault(t,2,0),hashLock:t.getHashLock_asB64(),expirationHeight:n.Message.getFieldWithDefault(t,4,0),htlcIndex:n.Message.getFieldWithDefault(t,5,0),forwardingChannel:n.Message.getFieldWithDefault(t,6,0),forwardingHtlcIndex:n.Message.getFieldWithDefault(t,7,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.HTLC.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.HTLC;return proto.lnrpc.HTLC.deserializeBinaryFromReader(r,t)},proto.lnrpc.HTLC.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBool();e.setIncoming(r);break;case 2:r=t.readInt64();e.setAmount(r);break;case 3:r=t.readBytes();e.setHashLock(r);break;case 4:r=t.readUint32();e.setExpirationHeight(r);break;case 5:r=t.readUint64();e.setHtlcIndex(r);break;case 6:r=t.readUint64();e.setForwardingChannel(r);break;case 7:r=t.readUint64();e.setForwardingHtlcIndex(r);break;default:t.skipField()}}return e},proto.lnrpc.HTLC.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.HTLC.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.HTLC.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getIncoming())&&t.writeBool(1,r),0!==(r=e.getAmount())&&t.writeInt64(2,r),(r=e.getHashLock_asU8()).length>0&&t.writeBytes(3,r),0!==(r=e.getExpirationHeight())&&t.writeUint32(4,r),0!==(r=e.getHtlcIndex())&&t.writeUint64(5,r),0!==(r=e.getForwardingChannel())&&t.writeUint64(6,r),0!==(r=e.getForwardingHtlcIndex())&&t.writeUint64(7,r)},proto.lnrpc.HTLC.prototype.getIncoming=function(){return n.Message.getFieldWithDefault(this,1,!1)},proto.lnrpc.HTLC.prototype.setIncoming=function(e){n.Message.setField(this,1,e)},proto.lnrpc.HTLC.prototype.getAmount=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.HTLC.prototype.setAmount=function(e){n.Message.setField(this,2,e)},proto.lnrpc.HTLC.prototype.getHashLock=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.HTLC.prototype.getHashLock_asB64=function(){return n.Message.bytesAsB64(this.getHashLock())},proto.lnrpc.HTLC.prototype.getHashLock_asU8=function(){return n.Message.bytesAsU8(this.getHashLock())},proto.lnrpc.HTLC.prototype.setHashLock=function(e){n.Message.setField(this,3,e)},proto.lnrpc.HTLC.prototype.getExpirationHeight=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.HTLC.prototype.setExpirationHeight=function(e){n.Message.setField(this,4,e)},proto.lnrpc.HTLC.prototype.getHtlcIndex=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.HTLC.prototype.setHtlcIndex=function(e){n.Message.setField(this,5,e)},proto.lnrpc.HTLC.prototype.getForwardingChannel=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.HTLC.prototype.setForwardingChannel=function(e){n.Message.setField(this,6,e)},proto.lnrpc.HTLC.prototype.getForwardingHtlcIndex=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.HTLC.prototype.setForwardingHtlcIndex=function(e){n.Message.setField(this,7,e)},proto.lnrpc.ChannelConstraints=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChannelConstraints,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelConstraints.displayName="proto.lnrpc.ChannelConstraints"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelConstraints.prototype.toObject=function(e){return proto.lnrpc.ChannelConstraints.toObject(e,this)},proto.lnrpc.ChannelConstraints.toObject=function(e,t){var r={csvDelay:n.Message.getFieldWithDefault(t,1,0),chanReserveSat:n.Message.getFieldWithDefault(t,2,0),dustLimitSat:n.Message.getFieldWithDefault(t,3,0),maxPendingAmtMsat:n.Message.getFieldWithDefault(t,4,0),minHtlcMsat:n.Message.getFieldWithDefault(t,5,0),maxAcceptedHtlcs:n.Message.getFieldWithDefault(t,6,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ChannelConstraints.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelConstraints;return proto.lnrpc.ChannelConstraints.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelConstraints.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint32();e.setCsvDelay(r);break;case 2:r=t.readUint64();e.setChanReserveSat(r);break;case 3:r=t.readUint64();e.setDustLimitSat(r);break;case 4:r=t.readUint64();e.setMaxPendingAmtMsat(r);break;case 5:r=t.readUint64();e.setMinHtlcMsat(r);break;case 6:r=t.readUint32();e.setMaxAcceptedHtlcs(r);break;default:t.skipField()}}return e},proto.lnrpc.ChannelConstraints.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelConstraints.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelConstraints.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getCsvDelay())&&t.writeUint32(1,r),0!==(r=e.getChanReserveSat())&&t.writeUint64(2,r),0!==(r=e.getDustLimitSat())&&t.writeUint64(3,r),0!==(r=e.getMaxPendingAmtMsat())&&t.writeUint64(4,r),0!==(r=e.getMinHtlcMsat())&&t.writeUint64(5,r),0!==(r=e.getMaxAcceptedHtlcs())&&t.writeUint32(6,r)},proto.lnrpc.ChannelConstraints.prototype.getCsvDelay=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.ChannelConstraints.prototype.setCsvDelay=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ChannelConstraints.prototype.getChanReserveSat=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.ChannelConstraints.prototype.setChanReserveSat=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ChannelConstraints.prototype.getDustLimitSat=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.ChannelConstraints.prototype.setDustLimitSat=function(e){n.Message.setField(this,3,e)},proto.lnrpc.ChannelConstraints.prototype.getMaxPendingAmtMsat=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.ChannelConstraints.prototype.setMaxPendingAmtMsat=function(e){n.Message.setField(this,4,e)};proto.lnrpc.ChannelConstraints.prototype.getMinHtlcMsat=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.ChannelConstraints.prototype.setMinHtlcMsat=function(e){n.Message.setField(this,5,e)},proto.lnrpc.ChannelConstraints.prototype.getMaxAcceptedHtlcs=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.ChannelConstraints.prototype.setMaxAcceptedHtlcs=function(e){n.Message.setField(this,6,e)},proto.lnrpc.Channel=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.Channel.repeatedFields_,null)},o.inherits(proto.lnrpc.Channel,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.Channel.displayName="proto.lnrpc.Channel"),proto.lnrpc.Channel.repeatedFields_=[15],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.Channel.prototype.toObject=function(e){return proto.lnrpc.Channel.toObject(e,this)},proto.lnrpc.Channel.toObject=function(e,t){var r,o={active:n.Message.getFieldWithDefault(t,1,!1),remotePubkey:n.Message.getFieldWithDefault(t,2,""),channelPoint:n.Message.getFieldWithDefault(t,3,""),chanId:n.Message.getFieldWithDefault(t,4,"0"),capacity:n.Message.getFieldWithDefault(t,5,0),localBalance:n.Message.getFieldWithDefault(t,6,0),remoteBalance:n.Message.getFieldWithDefault(t,7,0),commitFee:n.Message.getFieldWithDefault(t,8,0),commitWeight:n.Message.getFieldWithDefault(t,9,0),feePerKw:n.Message.getFieldWithDefault(t,10,0),unsettledBalance:n.Message.getFieldWithDefault(t,11,0),totalSatoshisSent:n.Message.getFieldWithDefault(t,12,0),totalSatoshisReceived:n.Message.getFieldWithDefault(t,13,0),numUpdates:n.Message.getFieldWithDefault(t,14,0),pendingHtlcsList:n.Message.toObjectList(t.getPendingHtlcsList(),proto.lnrpc.HTLC.toObject,e),csvDelay:n.Message.getFieldWithDefault(t,16,0),pb_private:n.Message.getFieldWithDefault(t,17,!1),initiator:n.Message.getFieldWithDefault(t,18,!1),chanStatusFlags:n.Message.getFieldWithDefault(t,19,""),localChanReserveSat:n.Message.getFieldWithDefault(t,20,0),remoteChanReserveSat:n.Message.getFieldWithDefault(t,21,0),staticRemoteKey:n.Message.getFieldWithDefault(t,22,!1),commitmentType:n.Message.getFieldWithDefault(t,26,0),lifetime:n.Message.getFieldWithDefault(t,23,0),uptime:n.Message.getFieldWithDefault(t,24,0),closeAddress:n.Message.getFieldWithDefault(t,25,""),pushAmountSat:n.Message.getFieldWithDefault(t,27,0),thawHeight:n.Message.getFieldWithDefault(t,28,0),localConstraints:(r=t.getLocalConstraints())&&proto.lnrpc.ChannelConstraints.toObject(e,r),remoteConstraints:(r=t.getRemoteConstraints())&&proto.lnrpc.ChannelConstraints.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.Channel.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.Channel;return proto.lnrpc.Channel.deserializeBinaryFromReader(r,t)},proto.lnrpc.Channel.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBool();e.setActive(r);break;case 2:r=t.readString();e.setRemotePubkey(r);break;case 3:r=t.readString();e.setChannelPoint(r);break;case 4:r=t.readUint64String();e.setChanId(r);break;case 5:r=t.readInt64();e.setCapacity(r);break;case 6:r=t.readInt64();e.setLocalBalance(r);break;case 7:r=t.readInt64();e.setRemoteBalance(r);break;case 8:r=t.readInt64();e.setCommitFee(r);break;case 9:r=t.readInt64();e.setCommitWeight(r);break;case 10:r=t.readInt64();e.setFeePerKw(r);break;case 11:r=t.readInt64();e.setUnsettledBalance(r);break;case 12:r=t.readInt64();e.setTotalSatoshisSent(r);break;case 13:r=t.readInt64();e.setTotalSatoshisReceived(r);break;case 14:r=t.readUint64();e.setNumUpdates(r);break;case 15:r=new proto.lnrpc.HTLC;t.readMessage(r,proto.lnrpc.HTLC.deserializeBinaryFromReader),e.addPendingHtlcs(r);break;case 16:r=t.readUint32();e.setCsvDelay(r);break;case 17:r=t.readBool();e.setPrivate(r);break;case 18:r=t.readBool();e.setInitiator(r);break;case 19:r=t.readString();e.setChanStatusFlags(r);break;case 20:r=t.readInt64();e.setLocalChanReserveSat(r);break;case 21:r=t.readInt64();e.setRemoteChanReserveSat(r);break;case 22:r=t.readBool();e.setStaticRemoteKey(r);break;case 26:r=t.readEnum();e.setCommitmentType(r);break;case 23:r=t.readInt64();e.setLifetime(r);break;case 24:r=t.readInt64();e.setUptime(r);break;case 25:r=t.readString();e.setCloseAddress(r);break;case 27:r=t.readUint64();e.setPushAmountSat(r);break;case 28:r=t.readUint32();e.setThawHeight(r);break;case 29:r=new proto.lnrpc.ChannelConstraints;t.readMessage(r,proto.lnrpc.ChannelConstraints.deserializeBinaryFromReader),e.setLocalConstraints(r);break;case 30:r=new proto.lnrpc.ChannelConstraints;t.readMessage(r,proto.lnrpc.ChannelConstraints.deserializeBinaryFromReader),e.setRemoteConstraints(r);break;default:t.skipField()}}return e},proto.lnrpc.Channel.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.Channel.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.Channel.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getActive())&&t.writeBool(1,r),(r=e.getRemotePubkey()).length>0&&t.writeString(2,r),(r=e.getChannelPoint()).length>0&&t.writeString(3,r),r=e.getChanId(),0!==parseInt(r,10)&&t.writeUint64String(4,r),0!==(r=e.getCapacity())&&t.writeInt64(5,r),0!==(r=e.getLocalBalance())&&t.writeInt64(6,r),0!==(r=e.getRemoteBalance())&&t.writeInt64(7,r),0!==(r=e.getCommitFee())&&t.writeInt64(8,r),0!==(r=e.getCommitWeight())&&t.writeInt64(9,r),0!==(r=e.getFeePerKw())&&t.writeInt64(10,r),0!==(r=e.getUnsettledBalance())&&t.writeInt64(11,r),0!==(r=e.getTotalSatoshisSent())&&t.writeInt64(12,r),0!==(r=e.getTotalSatoshisReceived())&&t.writeInt64(13,r),0!==(r=e.getNumUpdates())&&t.writeUint64(14,r),(r=e.getPendingHtlcsList()).length>0&&t.writeRepeatedMessage(15,r,proto.lnrpc.HTLC.serializeBinaryToWriter),0!==(r=e.getCsvDelay())&&t.writeUint32(16,r),(r=e.getPrivate())&&t.writeBool(17,r),(r=e.getInitiator())&&t.writeBool(18,r),(r=e.getChanStatusFlags()).length>0&&t.writeString(19,r),0!==(r=e.getLocalChanReserveSat())&&t.writeInt64(20,r),0!==(r=e.getRemoteChanReserveSat())&&t.writeInt64(21,r),(r=e.getStaticRemoteKey())&&t.writeBool(22,r),0!==(r=e.getCommitmentType())&&t.writeEnum(26,r),0!==(r=e.getLifetime())&&t.writeInt64(23,r),0!==(r=e.getUptime())&&t.writeInt64(24,r),(r=e.getCloseAddress()).length>0&&t.writeString(25,r),0!==(r=e.getPushAmountSat())&&t.writeUint64(27,r),0!==(r=e.getThawHeight())&&t.writeUint32(28,r),null!=(r=e.getLocalConstraints())&&t.writeMessage(29,r,proto.lnrpc.ChannelConstraints.serializeBinaryToWriter),null!=(r=e.getRemoteConstraints())&&t.writeMessage(30,r,proto.lnrpc.ChannelConstraints.serializeBinaryToWriter)},proto.lnrpc.Channel.prototype.getActive=function(){return n.Message.getFieldWithDefault(this,1,!1)},proto.lnrpc.Channel.prototype.setActive=function(e){n.Message.setField(this,1,e)},proto.lnrpc.Channel.prototype.getRemotePubkey=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.Channel.prototype.setRemotePubkey=function(e){n.Message.setField(this,2,e)},proto.lnrpc.Channel.prototype.getChannelPoint=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.Channel.prototype.setChannelPoint=function(e){n.Message.setField(this,3,e)},proto.lnrpc.Channel.prototype.getChanId=function(){return n.Message.getFieldWithDefault(this,4,"0")},proto.lnrpc.Channel.prototype.setChanId=function(e){n.Message.setField(this,4,e)},proto.lnrpc.Channel.prototype.getCapacity=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.Channel.prototype.setCapacity=function(e){n.Message.setField(this,5,e)},proto.lnrpc.Channel.prototype.getLocalBalance=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.Channel.prototype.setLocalBalance=function(e){n.Message.setField(this,6,e)},proto.lnrpc.Channel.prototype.getRemoteBalance=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.Channel.prototype.setRemoteBalance=function(e){n.Message.setField(this,7,e)},proto.lnrpc.Channel.prototype.getCommitFee=function(){return n.Message.getFieldWithDefault(this,8,0)},proto.lnrpc.Channel.prototype.setCommitFee=function(e){n.Message.setField(this,8,e)},proto.lnrpc.Channel.prototype.getCommitWeight=function(){return n.Message.getFieldWithDefault(this,9,0)},proto.lnrpc.Channel.prototype.setCommitWeight=function(e){n.Message.setField(this,9,e)},proto.lnrpc.Channel.prototype.getFeePerKw=function(){return n.Message.getFieldWithDefault(this,10,0)},proto.lnrpc.Channel.prototype.setFeePerKw=function(e){n.Message.setField(this,10,e)},proto.lnrpc.Channel.prototype.getUnsettledBalance=function(){return n.Message.getFieldWithDefault(this,11,0)},proto.lnrpc.Channel.prototype.setUnsettledBalance=function(e){n.Message.setField(this,11,e)},proto.lnrpc.Channel.prototype.getTotalSatoshisSent=function(){return n.Message.getFieldWithDefault(this,12,0)},proto.lnrpc.Channel.prototype.setTotalSatoshisSent=function(e){n.Message.setField(this,12,e)},proto.lnrpc.Channel.prototype.getTotalSatoshisReceived=function(){return n.Message.getFieldWithDefault(this,13,0)},proto.lnrpc.Channel.prototype.setTotalSatoshisReceived=function(e){n.Message.setField(this,13,e)},proto.lnrpc.Channel.prototype.getNumUpdates=function(){return n.Message.getFieldWithDefault(this,14,0)},proto.lnrpc.Channel.prototype.setNumUpdates=function(e){n.Message.setField(this,14,e)},proto.lnrpc.Channel.prototype.getPendingHtlcsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.HTLC,15)},proto.lnrpc.Channel.prototype.setPendingHtlcsList=function(e){n.Message.setRepeatedWrapperField(this,15,e)},proto.lnrpc.Channel.prototype.addPendingHtlcs=function(e,t){return n.Message.addToRepeatedWrapperField(this,15,e,proto.lnrpc.HTLC,t)},proto.lnrpc.Channel.prototype.clearPendingHtlcsList=function(){this.setPendingHtlcsList([])},proto.lnrpc.Channel.prototype.getCsvDelay=function(){return n.Message.getFieldWithDefault(this,16,0)},proto.lnrpc.Channel.prototype.setCsvDelay=function(e){n.Message.setField(this,16,e)},proto.lnrpc.Channel.prototype.getPrivate=function(){return n.Message.getFieldWithDefault(this,17,!1)},proto.lnrpc.Channel.prototype.setPrivate=function(e){n.Message.setField(this,17,e)},proto.lnrpc.Channel.prototype.getInitiator=function(){return n.Message.getFieldWithDefault(this,18,!1)},proto.lnrpc.Channel.prototype.setInitiator=function(e){n.Message.setField(this,18,e)},proto.lnrpc.Channel.prototype.getChanStatusFlags=function(){return n.Message.getFieldWithDefault(this,19,"")},proto.lnrpc.Channel.prototype.setChanStatusFlags=function(e){n.Message.setField(this,19,e)},proto.lnrpc.Channel.prototype.getLocalChanReserveSat=function(){return n.Message.getFieldWithDefault(this,20,0)},proto.lnrpc.Channel.prototype.setLocalChanReserveSat=function(e){n.Message.setField(this,20,e)},proto.lnrpc.Channel.prototype.getRemoteChanReserveSat=function(){return n.Message.getFieldWithDefault(this,21,0)},proto.lnrpc.Channel.prototype.setRemoteChanReserveSat=function(e){n.Message.setField(this,21,e)},proto.lnrpc.Channel.prototype.getStaticRemoteKey=function(){return n.Message.getFieldWithDefault(this,22,!1)},proto.lnrpc.Channel.prototype.setStaticRemoteKey=function(e){n.Message.setField(this,22,e)},proto.lnrpc.Channel.prototype.getCommitmentType=function(){return n.Message.getFieldWithDefault(this,26,0)},proto.lnrpc.Channel.prototype.setCommitmentType=function(e){n.Message.setField(this,26,e)},proto.lnrpc.Channel.prototype.getLifetime=function(){return n.Message.getFieldWithDefault(this,23,0)},proto.lnrpc.Channel.prototype.setLifetime=function(e){n.Message.setField(this,23,e)},proto.lnrpc.Channel.prototype.getUptime=function(){return n.Message.getFieldWithDefault(this,24,0)},proto.lnrpc.Channel.prototype.setUptime=function(e){n.Message.setField(this,24,e)},proto.lnrpc.Channel.prototype.getCloseAddress=function(){return n.Message.getFieldWithDefault(this,25,"")},proto.lnrpc.Channel.prototype.setCloseAddress=function(e){n.Message.setField(this,25,e)},proto.lnrpc.Channel.prototype.getPushAmountSat=function(){return n.Message.getFieldWithDefault(this,27,0)},proto.lnrpc.Channel.prototype.setPushAmountSat=function(e){n.Message.setField(this,27,e)},proto.lnrpc.Channel.prototype.getThawHeight=function(){return n.Message.getFieldWithDefault(this,28,0)},proto.lnrpc.Channel.prototype.setThawHeight=function(e){n.Message.setField(this,28,e)},proto.lnrpc.Channel.prototype.getLocalConstraints=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelConstraints,29)},proto.lnrpc.Channel.prototype.setLocalConstraints=function(e){n.Message.setWrapperField(this,29,e)},proto.lnrpc.Channel.prototype.clearLocalConstraints=function(){this.setLocalConstraints(void 0)},proto.lnrpc.Channel.prototype.hasLocalConstraints=function(){return null!=n.Message.getField(this,29)},proto.lnrpc.Channel.prototype.getRemoteConstraints=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelConstraints,30)},proto.lnrpc.Channel.prototype.setRemoteConstraints=function(e){n.Message.setWrapperField(this,30,e)},proto.lnrpc.Channel.prototype.clearRemoteConstraints=function(){this.setRemoteConstraints(void 0)},proto.lnrpc.Channel.prototype.hasRemoteConstraints=function(){return null!=n.Message.getField(this,30)},proto.lnrpc.ListChannelsRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ListChannelsRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ListChannelsRequest.displayName="proto.lnrpc.ListChannelsRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ListChannelsRequest.prototype.toObject=function(e){return proto.lnrpc.ListChannelsRequest.toObject(e,this)},proto.lnrpc.ListChannelsRequest.toObject=function(e,t){var r={activeOnly:n.Message.getFieldWithDefault(t,1,!1),inactiveOnly:n.Message.getFieldWithDefault(t,2,!1),publicOnly:n.Message.getFieldWithDefault(t,3,!1),privateOnly:n.Message.getFieldWithDefault(t,4,!1),peer:t.getPeer_asB64()};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ListChannelsRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ListChannelsRequest;return proto.lnrpc.ListChannelsRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.ListChannelsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBool();e.setActiveOnly(r);break;case 2:r=t.readBool();e.setInactiveOnly(r);break;case 3:r=t.readBool();e.setPublicOnly(r);break;case 4:r=t.readBool();e.setPrivateOnly(r);break;case 5:r=t.readBytes();e.setPeer(r);break;default:t.skipField()}}return e},proto.lnrpc.ListChannelsRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ListChannelsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ListChannelsRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getActiveOnly())&&t.writeBool(1,r),(r=e.getInactiveOnly())&&t.writeBool(2,r),(r=e.getPublicOnly())&&t.writeBool(3,r),(r=e.getPrivateOnly())&&t.writeBool(4,r),(r=e.getPeer_asU8()).length>0&&t.writeBytes(5,r)},proto.lnrpc.ListChannelsRequest.prototype.getActiveOnly=function(){return n.Message.getFieldWithDefault(this,1,!1)},proto.lnrpc.ListChannelsRequest.prototype.setActiveOnly=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ListChannelsRequest.prototype.getInactiveOnly=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.lnrpc.ListChannelsRequest.prototype.setInactiveOnly=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ListChannelsRequest.prototype.getPublicOnly=function(){return n.Message.getFieldWithDefault(this,3,!1)},proto.lnrpc.ListChannelsRequest.prototype.setPublicOnly=function(e){n.Message.setField(this,3,e)},proto.lnrpc.ListChannelsRequest.prototype.getPrivateOnly=function(){return n.Message.getFieldWithDefault(this,4,!1)},proto.lnrpc.ListChannelsRequest.prototype.setPrivateOnly=function(e){n.Message.setField(this,4,e)},proto.lnrpc.ListChannelsRequest.prototype.getPeer=function(){return n.Message.getFieldWithDefault(this,5,"")},proto.lnrpc.ListChannelsRequest.prototype.getPeer_asB64=function(){return n.Message.bytesAsB64(this.getPeer())},proto.lnrpc.ListChannelsRequest.prototype.getPeer_asU8=function(){return n.Message.bytesAsU8(this.getPeer())},proto.lnrpc.ListChannelsRequest.prototype.setPeer=function(e){n.Message.setField(this,5,e)},proto.lnrpc.ListChannelsResponse=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.ListChannelsResponse.repeatedFields_,null)},o.inherits(proto.lnrpc.ListChannelsResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ListChannelsResponse.displayName="proto.lnrpc.ListChannelsResponse"),proto.lnrpc.ListChannelsResponse.repeatedFields_=[11],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ListChannelsResponse.prototype.toObject=function(e){return proto.lnrpc.ListChannelsResponse.toObject(e,this)},proto.lnrpc.ListChannelsResponse.toObject=function(e,t){var r={channelsList:n.Message.toObjectList(t.getChannelsList(),proto.lnrpc.Channel.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ListChannelsResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ListChannelsResponse;return proto.lnrpc.ListChannelsResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.ListChannelsResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(11===t.getFieldNumber()){var r=new proto.lnrpc.Channel;t.readMessage(r,proto.lnrpc.Channel.deserializeBinaryFromReader),e.addChannels(r)}else t.skipField()}return e},proto.lnrpc.ListChannelsResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ListChannelsResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ListChannelsResponse.serializeBinaryToWriter=function(e,t){var r;(r=e.getChannelsList()).length>0&&t.writeRepeatedMessage(11,r,proto.lnrpc.Channel.serializeBinaryToWriter)},proto.lnrpc.ListChannelsResponse.prototype.getChannelsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.Channel,11)},proto.lnrpc.ListChannelsResponse.prototype.setChannelsList=function(e){n.Message.setRepeatedWrapperField(this,11,e)},proto.lnrpc.ListChannelsResponse.prototype.addChannels=function(e,t){return n.Message.addToRepeatedWrapperField(this,11,e,proto.lnrpc.Channel,t)},proto.lnrpc.ListChannelsResponse.prototype.clearChannelsList=function(){this.setChannelsList([])},proto.lnrpc.ChannelCloseSummary=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.ChannelCloseSummary.repeatedFields_,null)},o.inherits(proto.lnrpc.ChannelCloseSummary,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelCloseSummary.displayName="proto.lnrpc.ChannelCloseSummary"),proto.lnrpc.ChannelCloseSummary.repeatedFields_=[13],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelCloseSummary.prototype.toObject=function(e){return proto.lnrpc.ChannelCloseSummary.toObject(e,this)},proto.lnrpc.ChannelCloseSummary.toObject=function(e,t){var r={channelPoint:n.Message.getFieldWithDefault(t,1,""),chanId:n.Message.getFieldWithDefault(t,2,"0"),chainHash:n.Message.getFieldWithDefault(t,3,""),closingTxHash:n.Message.getFieldWithDefault(t,4,""),remotePubkey:n.Message.getFieldWithDefault(t,5,""),capacity:n.Message.getFieldWithDefault(t,6,0),closeHeight:n.Message.getFieldWithDefault(t,7,0),settledBalance:n.Message.getFieldWithDefault(t,8,0),timeLockedBalance:n.Message.getFieldWithDefault(t,9,0),closeType:n.Message.getFieldWithDefault(t,10,0),openInitiator:n.Message.getFieldWithDefault(t,11,0),closeInitiator:n.Message.getFieldWithDefault(t,12,0),resolutionsList:n.Message.toObjectList(t.getResolutionsList(),proto.lnrpc.Resolution.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ChannelCloseSummary.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelCloseSummary;return proto.lnrpc.ChannelCloseSummary.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelCloseSummary.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setChannelPoint(r);break;case 2:r=t.readUint64String();e.setChanId(r);break;case 3:r=t.readString();e.setChainHash(r);break;case 4:r=t.readString();e.setClosingTxHash(r);break;case 5:r=t.readString();e.setRemotePubkey(r);break;case 6:r=t.readInt64();e.setCapacity(r);break;case 7:r=t.readUint32();e.setCloseHeight(r);break;case 8:r=t.readInt64();e.setSettledBalance(r);break;case 9:r=t.readInt64();e.setTimeLockedBalance(r);break;case 10:r=t.readEnum();e.setCloseType(r);break;case 11:r=t.readEnum();e.setOpenInitiator(r);break;case 12:r=t.readEnum();e.setCloseInitiator(r);break;case 13:r=new proto.lnrpc.Resolution;t.readMessage(r,proto.lnrpc.Resolution.deserializeBinaryFromReader),e.addResolutions(r);break;default:t.skipField()}}return e},proto.lnrpc.ChannelCloseSummary.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelCloseSummary.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelCloseSummary.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getChannelPoint()).length>0&&t.writeString(1,r),r=e.getChanId(),0!==parseInt(r,10)&&t.writeUint64String(2,r),(r=e.getChainHash()).length>0&&t.writeString(3,r),(r=e.getClosingTxHash()).length>0&&t.writeString(4,r),(r=e.getRemotePubkey()).length>0&&t.writeString(5,r),0!==(r=e.getCapacity())&&t.writeInt64(6,r),0!==(r=e.getCloseHeight())&&t.writeUint32(7,r),0!==(r=e.getSettledBalance())&&t.writeInt64(8,r),0!==(r=e.getTimeLockedBalance())&&t.writeInt64(9,r),0!==(r=e.getCloseType())&&t.writeEnum(10,r),0!==(r=e.getOpenInitiator())&&t.writeEnum(11,r),0!==(r=e.getCloseInitiator())&&t.writeEnum(12,r),(r=e.getResolutionsList()).length>0&&t.writeRepeatedMessage(13,r,proto.lnrpc.Resolution.serializeBinaryToWriter)},proto.lnrpc.ChannelCloseSummary.ClosureType={COOPERATIVE_CLOSE:0,LOCAL_FORCE_CLOSE:1,REMOTE_FORCE_CLOSE:2,BREACH_CLOSE:3,FUNDING_CANCELED:4,ABANDONED:5},proto.lnrpc.ChannelCloseSummary.prototype.getChannelPoint=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.ChannelCloseSummary.prototype.setChannelPoint=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ChannelCloseSummary.prototype.getChanId=function(){return n.Message.getFieldWithDefault(this,2,"0")},proto.lnrpc.ChannelCloseSummary.prototype.setChanId=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ChannelCloseSummary.prototype.getChainHash=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.ChannelCloseSummary.prototype.setChainHash=function(e){n.Message.setField(this,3,e)},proto.lnrpc.ChannelCloseSummary.prototype.getClosingTxHash=function(){return n.Message.getFieldWithDefault(this,4,"")},proto.lnrpc.ChannelCloseSummary.prototype.setClosingTxHash=function(e){n.Message.setField(this,4,e)},proto.lnrpc.ChannelCloseSummary.prototype.getRemotePubkey=function(){return n.Message.getFieldWithDefault(this,5,"")},proto.lnrpc.ChannelCloseSummary.prototype.setRemotePubkey=function(e){n.Message.setField(this,5,e)},proto.lnrpc.ChannelCloseSummary.prototype.getCapacity=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.ChannelCloseSummary.prototype.setCapacity=function(e){n.Message.setField(this,6,e)},proto.lnrpc.ChannelCloseSummary.prototype.getCloseHeight=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.ChannelCloseSummary.prototype.setCloseHeight=function(e){n.Message.setField(this,7,e)},proto.lnrpc.ChannelCloseSummary.prototype.getSettledBalance=function(){return n.Message.getFieldWithDefault(this,8,0)},proto.lnrpc.ChannelCloseSummary.prototype.setSettledBalance=function(e){n.Message.setField(this,8,e)},proto.lnrpc.ChannelCloseSummary.prototype.getTimeLockedBalance=function(){return n.Message.getFieldWithDefault(this,9,0)},proto.lnrpc.ChannelCloseSummary.prototype.setTimeLockedBalance=function(e){n.Message.setField(this,9,e)},proto.lnrpc.ChannelCloseSummary.prototype.getCloseType=function(){return n.Message.getFieldWithDefault(this,10,0)},proto.lnrpc.ChannelCloseSummary.prototype.setCloseType=function(e){n.Message.setField(this,10,e)},proto.lnrpc.ChannelCloseSummary.prototype.getOpenInitiator=function(){return n.Message.getFieldWithDefault(this,11,0)},proto.lnrpc.ChannelCloseSummary.prototype.setOpenInitiator=function(e){n.Message.setField(this,11,e)},proto.lnrpc.ChannelCloseSummary.prototype.getCloseInitiator=function(){return n.Message.getFieldWithDefault(this,12,0)},proto.lnrpc.ChannelCloseSummary.prototype.setCloseInitiator=function(e){n.Message.setField(this,12,e)},proto.lnrpc.ChannelCloseSummary.prototype.getResolutionsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.Resolution,13)},proto.lnrpc.ChannelCloseSummary.prototype.setResolutionsList=function(e){n.Message.setRepeatedWrapperField(this,13,e)},proto.lnrpc.ChannelCloseSummary.prototype.addResolutions=function(e,t){return n.Message.addToRepeatedWrapperField(this,13,e,proto.lnrpc.Resolution,t)},proto.lnrpc.ChannelCloseSummary.prototype.clearResolutionsList=function(){this.setResolutionsList([])},proto.lnrpc.Resolution=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.Resolution,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.Resolution.displayName="proto.lnrpc.Resolution"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.Resolution.prototype.toObject=function(e){return proto.lnrpc.Resolution.toObject(e,this)},proto.lnrpc.Resolution.toObject=function(e,t){var r,o={resolutionType:n.Message.getFieldWithDefault(t,1,0),outcome:n.Message.getFieldWithDefault(t,2,0),outpoint:(r=t.getOutpoint())&&proto.lnrpc.OutPoint.toObject(e,r),amountSat:n.Message.getFieldWithDefault(t,4,0),sweepTxid:n.Message.getFieldWithDefault(t,5,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.Resolution.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.Resolution;return proto.lnrpc.Resolution.deserializeBinaryFromReader(r,t)},proto.lnrpc.Resolution.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readEnum();e.setResolutionType(r);break;case 2:r=t.readEnum();e.setOutcome(r);break;case 3:r=new proto.lnrpc.OutPoint;t.readMessage(r,proto.lnrpc.OutPoint.deserializeBinaryFromReader),e.setOutpoint(r);break;case 4:r=t.readUint64();e.setAmountSat(r);break;case 5:r=t.readString();e.setSweepTxid(r);break;default:t.skipField()}}return e},proto.lnrpc.Resolution.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.Resolution.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.Resolution.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getResolutionType())&&t.writeEnum(1,r),0!==(r=e.getOutcome())&&t.writeEnum(2,r),null!=(r=e.getOutpoint())&&t.writeMessage(3,r,proto.lnrpc.OutPoint.serializeBinaryToWriter),0!==(r=e.getAmountSat())&&t.writeUint64(4,r),(r=e.getSweepTxid()).length>0&&t.writeString(5,r)},proto.lnrpc.Resolution.prototype.getResolutionType=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.Resolution.prototype.setResolutionType=function(e){n.Message.setField(this,1,e)},proto.lnrpc.Resolution.prototype.getOutcome=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.Resolution.prototype.setOutcome=function(e){n.Message.setField(this,2,e)},proto.lnrpc.Resolution.prototype.getOutpoint=function(){return n.Message.getWrapperField(this,proto.lnrpc.OutPoint,3)},proto.lnrpc.Resolution.prototype.setOutpoint=function(e){n.Message.setWrapperField(this,3,e)},proto.lnrpc.Resolution.prototype.clearOutpoint=function(){this.setOutpoint(void 0)},proto.lnrpc.Resolution.prototype.hasOutpoint=function(){return null!=n.Message.getField(this,3)},proto.lnrpc.Resolution.prototype.getAmountSat=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.Resolution.prototype.setAmountSat=function(e){n.Message.setField(this,4,e)},proto.lnrpc.Resolution.prototype.getSweepTxid=function(){return n.Message.getFieldWithDefault(this,5,"")},proto.lnrpc.Resolution.prototype.setSweepTxid=function(e){n.Message.setField(this,5,e)},proto.lnrpc.ClosedChannelsRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ClosedChannelsRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ClosedChannelsRequest.displayName="proto.lnrpc.ClosedChannelsRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ClosedChannelsRequest.prototype.toObject=function(e){return proto.lnrpc.ClosedChannelsRequest.toObject(e,this)},proto.lnrpc.ClosedChannelsRequest.toObject=function(e,t){var r={cooperative:n.Message.getFieldWithDefault(t,1,!1),localForce:n.Message.getFieldWithDefault(t,2,!1),remoteForce:n.Message.getFieldWithDefault(t,3,!1),breach:n.Message.getFieldWithDefault(t,4,!1),fundingCanceled:n.Message.getFieldWithDefault(t,5,!1),abandoned:n.Message.getFieldWithDefault(t,6,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ClosedChannelsRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ClosedChannelsRequest;return proto.lnrpc.ClosedChannelsRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.ClosedChannelsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBool();e.setCooperative(r);break;case 2:r=t.readBool();e.setLocalForce(r);break;case 3:r=t.readBool();e.setRemoteForce(r);break;case 4:r=t.readBool();e.setBreach(r);break;case 5:r=t.readBool();e.setFundingCanceled(r);break;case 6:r=t.readBool();e.setAbandoned(r);break;default:t.skipField()}}return e},proto.lnrpc.ClosedChannelsRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ClosedChannelsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ClosedChannelsRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getCooperative())&&t.writeBool(1,r),(r=e.getLocalForce())&&t.writeBool(2,r),(r=e.getRemoteForce())&&t.writeBool(3,r),(r=e.getBreach())&&t.writeBool(4,r),(r=e.getFundingCanceled())&&t.writeBool(5,r),(r=e.getAbandoned())&&t.writeBool(6,r)},proto.lnrpc.ClosedChannelsRequest.prototype.getCooperative=function(){return n.Message.getFieldWithDefault(this,1,!1)},proto.lnrpc.ClosedChannelsRequest.prototype.setCooperative=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ClosedChannelsRequest.prototype.getLocalForce=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.lnrpc.ClosedChannelsRequest.prototype.setLocalForce=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ClosedChannelsRequest.prototype.getRemoteForce=function(){return n.Message.getFieldWithDefault(this,3,!1)},proto.lnrpc.ClosedChannelsRequest.prototype.setRemoteForce=function(e){n.Message.setField(this,3,e)},proto.lnrpc.ClosedChannelsRequest.prototype.getBreach=function(){return n.Message.getFieldWithDefault(this,4,!1)},proto.lnrpc.ClosedChannelsRequest.prototype.setBreach=function(e){n.Message.setField(this,4,e)},proto.lnrpc.ClosedChannelsRequest.prototype.getFundingCanceled=function(){return n.Message.getFieldWithDefault(this,5,!1)},proto.lnrpc.ClosedChannelsRequest.prototype.setFundingCanceled=function(e){n.Message.setField(this,5,e)},proto.lnrpc.ClosedChannelsRequest.prototype.getAbandoned=function(){return n.Message.getFieldWithDefault(this,6,!1)},proto.lnrpc.ClosedChannelsRequest.prototype.setAbandoned=function(e){n.Message.setField(this,6,e)},proto.lnrpc.ClosedChannelsResponse=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.ClosedChannelsResponse.repeatedFields_,null)},o.inherits(proto.lnrpc.ClosedChannelsResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ClosedChannelsResponse.displayName="proto.lnrpc.ClosedChannelsResponse"),proto.lnrpc.ClosedChannelsResponse.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ClosedChannelsResponse.prototype.toObject=function(e){return proto.lnrpc.ClosedChannelsResponse.toObject(e,this)},proto.lnrpc.ClosedChannelsResponse.toObject=function(e,t){var r={channelsList:n.Message.toObjectList(t.getChannelsList(),proto.lnrpc.ChannelCloseSummary.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ClosedChannelsResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ClosedChannelsResponse;return proto.lnrpc.ClosedChannelsResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.ClosedChannelsResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.lnrpc.ChannelCloseSummary;t.readMessage(r,proto.lnrpc.ChannelCloseSummary.deserializeBinaryFromReader),e.addChannels(r)}else t.skipField()}return e},proto.lnrpc.ClosedChannelsResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ClosedChannelsResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ClosedChannelsResponse.serializeBinaryToWriter=function(e,t){var r;(r=e.getChannelsList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.ChannelCloseSummary.serializeBinaryToWriter)},proto.lnrpc.ClosedChannelsResponse.prototype.getChannelsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.ChannelCloseSummary,1)},proto.lnrpc.ClosedChannelsResponse.prototype.setChannelsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.ClosedChannelsResponse.prototype.addChannels=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.ChannelCloseSummary,t)},proto.lnrpc.ClosedChannelsResponse.prototype.clearChannelsList=function(){this.setChannelsList([])},proto.lnrpc.Peer=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.Peer.repeatedFields_,null)},o.inherits(proto.lnrpc.Peer,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.Peer.displayName="proto.lnrpc.Peer"),proto.lnrpc.Peer.repeatedFields_=[12],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.Peer.prototype.toObject=function(e){return proto.lnrpc.Peer.toObject(e,this)},proto.lnrpc.Peer.toObject=function(e,t){var r,o={pubKey:n.Message.getFieldWithDefault(t,1,""),address:n.Message.getFieldWithDefault(t,3,""),bytesSent:n.Message.getFieldWithDefault(t,4,0),bytesRecv:n.Message.getFieldWithDefault(t,5,0),satSent:n.Message.getFieldWithDefault(t,6,0),satRecv:n.Message.getFieldWithDefault(t,7,0),inbound:n.Message.getFieldWithDefault(t,8,!1),pingTime:n.Message.getFieldWithDefault(t,9,0),syncType:n.Message.getFieldWithDefault(t,10,0),featuresMap:(r=t.getFeaturesMap())?r.toObject(e,proto.lnrpc.Feature.toObject):[],errorsList:n.Message.toObjectList(t.getErrorsList(),proto.lnrpc.TimestampedError.toObject,e),flapCount:n.Message.getFieldWithDefault(t,13,0),lastFlapNs:n.Message.getFieldWithDefault(t,14,0),lastPingPayload:t.getLastPingPayload_asB64()};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.Peer.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.Peer;return proto.lnrpc.Peer.deserializeBinaryFromReader(r,t)},proto.lnrpc.Peer.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setPubKey(r);break;case 3:r=t.readString();e.setAddress(r);break;case 4:r=t.readUint64();e.setBytesSent(r);break;case 5:r=t.readUint64();e.setBytesRecv(r);break;case 6:r=t.readInt64();e.setSatSent(r);break;case 7:r=t.readInt64();e.setSatRecv(r);break;case 8:r=t.readBool();e.setInbound(r);break;case 9:r=t.readInt64();e.setPingTime(r);break;case 10:r=t.readEnum();e.setSyncType(r);break;case 11:r=e.getFeaturesMap();t.readMessage(r,(function(e,t){n.Map.deserializeBinary(e,t,n.BinaryReader.prototype.readUint32,n.BinaryReader.prototype.readMessage,proto.lnrpc.Feature.deserializeBinaryFromReader)}));break;case 12:r=new proto.lnrpc.TimestampedError;t.readMessage(r,proto.lnrpc.TimestampedError.deserializeBinaryFromReader),e.addErrors(r);break;case 13:r=t.readInt32();e.setFlapCount(r);break;case 14:r=t.readInt64();e.setLastFlapNs(r);break;case 15:r=t.readBytes();e.setLastPingPayload(r);break;default:t.skipField()}}return e},proto.lnrpc.Peer.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.Peer.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.Peer.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPubKey()).length>0&&t.writeString(1,r),(r=e.getAddress()).length>0&&t.writeString(3,r),0!==(r=e.getBytesSent())&&t.writeUint64(4,r),0!==(r=e.getBytesRecv())&&t.writeUint64(5,r),0!==(r=e.getSatSent())&&t.writeInt64(6,r),0!==(r=e.getSatRecv())&&t.writeInt64(7,r),(r=e.getInbound())&&t.writeBool(8,r),0!==(r=e.getPingTime())&&t.writeInt64(9,r),0!==(r=e.getSyncType())&&t.writeEnum(10,r),(r=e.getFeaturesMap(!0))&&r.getLength()>0&&r.serializeBinary(11,t,n.BinaryWriter.prototype.writeUint32,n.BinaryWriter.prototype.writeMessage,proto.lnrpc.Feature.serializeBinaryToWriter),(r=e.getErrorsList()).length>0&&t.writeRepeatedMessage(12,r,proto.lnrpc.TimestampedError.serializeBinaryToWriter),0!==(r=e.getFlapCount())&&t.writeInt32(13,r),0!==(r=e.getLastFlapNs())&&t.writeInt64(14,r),(r=e.getLastPingPayload_asU8()).length>0&&t.writeBytes(15,r)},proto.lnrpc.Peer.SyncType={UNKNOWN_SYNC:0,ACTIVE_SYNC:1,PASSIVE_SYNC:2,PINNED_SYNC:3},proto.lnrpc.Peer.prototype.getPubKey=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.Peer.prototype.setPubKey=function(e){n.Message.setField(this,1,e)},proto.lnrpc.Peer.prototype.getAddress=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.Peer.prototype.setAddress=function(e){n.Message.setField(this,3,e)},proto.lnrpc.Peer.prototype.getBytesSent=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.Peer.prototype.setBytesSent=function(e){n.Message.setField(this,4,e)},proto.lnrpc.Peer.prototype.getBytesRecv=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.Peer.prototype.setBytesRecv=function(e){n.Message.setField(this,5,e)},proto.lnrpc.Peer.prototype.getSatSent=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.Peer.prototype.setSatSent=function(e){n.Message.setField(this,6,e)},proto.lnrpc.Peer.prototype.getSatRecv=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.Peer.prototype.setSatRecv=function(e){n.Message.setField(this,7,e)},proto.lnrpc.Peer.prototype.getInbound=function(){return n.Message.getFieldWithDefault(this,8,!1)},proto.lnrpc.Peer.prototype.setInbound=function(e){n.Message.setField(this,8,e)},proto.lnrpc.Peer.prototype.getPingTime=function(){return n.Message.getFieldWithDefault(this,9,0)},proto.lnrpc.Peer.prototype.setPingTime=function(e){n.Message.setField(this,9,e)},proto.lnrpc.Peer.prototype.getSyncType=function(){return n.Message.getFieldWithDefault(this,10,0)},proto.lnrpc.Peer.prototype.setSyncType=function(e){n.Message.setField(this,10,e)},proto.lnrpc.Peer.prototype.getFeaturesMap=function(e){return n.Message.getMapField(this,11,e,proto.lnrpc.Feature)},proto.lnrpc.Peer.prototype.clearFeaturesMap=function(){this.getFeaturesMap().clear()},proto.lnrpc.Peer.prototype.getErrorsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.TimestampedError,12)},proto.lnrpc.Peer.prototype.setErrorsList=function(e){n.Message.setRepeatedWrapperField(this,12,e)},proto.lnrpc.Peer.prototype.addErrors=function(e,t){return n.Message.addToRepeatedWrapperField(this,12,e,proto.lnrpc.TimestampedError,t)},proto.lnrpc.Peer.prototype.clearErrorsList=function(){this.setErrorsList([])},proto.lnrpc.Peer.prototype.getFlapCount=function(){return n.Message.getFieldWithDefault(this,13,0)},proto.lnrpc.Peer.prototype.setFlapCount=function(e){n.Message.setField(this,13,e)},proto.lnrpc.Peer.prototype.getLastFlapNs=function(){return n.Message.getFieldWithDefault(this,14,0)},proto.lnrpc.Peer.prototype.setLastFlapNs=function(e){n.Message.setField(this,14,e)},proto.lnrpc.Peer.prototype.getLastPingPayload=function(){return n.Message.getFieldWithDefault(this,15,"")},proto.lnrpc.Peer.prototype.getLastPingPayload_asB64=function(){return n.Message.bytesAsB64(this.getLastPingPayload())},proto.lnrpc.Peer.prototype.getLastPingPayload_asU8=function(){return n.Message.bytesAsU8(this.getLastPingPayload())},proto.lnrpc.Peer.prototype.setLastPingPayload=function(e){n.Message.setField(this,15,e)},proto.lnrpc.TimestampedError=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.TimestampedError,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.TimestampedError.displayName="proto.lnrpc.TimestampedError"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.TimestampedError.prototype.toObject=function(e){return proto.lnrpc.TimestampedError.toObject(e,this)},proto.lnrpc.TimestampedError.toObject=function(e,t){var r={timestamp:n.Message.getFieldWithDefault(t,1,0),error:n.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.TimestampedError.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.TimestampedError;return proto.lnrpc.TimestampedError.deserializeBinaryFromReader(r,t)},proto.lnrpc.TimestampedError.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint64();e.setTimestamp(r);break;case 2:r=t.readString();e.setError(r);break;default:t.skipField()}}return e},proto.lnrpc.TimestampedError.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.TimestampedError.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.TimestampedError.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getTimestamp())&&t.writeUint64(1,r),(r=e.getError()).length>0&&t.writeString(2,r)},proto.lnrpc.TimestampedError.prototype.getTimestamp=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.TimestampedError.prototype.setTimestamp=function(e){n.Message.setField(this,1,e)},proto.lnrpc.TimestampedError.prototype.getError=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.TimestampedError.prototype.setError=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ListPeersRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ListPeersRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ListPeersRequest.displayName="proto.lnrpc.ListPeersRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ListPeersRequest.prototype.toObject=function(e){return proto.lnrpc.ListPeersRequest.toObject(e,this)},proto.lnrpc.ListPeersRequest.toObject=function(e,t){var r={latestError:n.Message.getFieldWithDefault(t,1,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ListPeersRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ListPeersRequest;return proto.lnrpc.ListPeersRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.ListPeersRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readBool();e.setLatestError(r)}else t.skipField()}return e},proto.lnrpc.ListPeersRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ListPeersRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ListPeersRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getLatestError())&&t.writeBool(1,r)},proto.lnrpc.ListPeersRequest.prototype.getLatestError=function(){return n.Message.getFieldWithDefault(this,1,!1)},proto.lnrpc.ListPeersRequest.prototype.setLatestError=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ListPeersResponse=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.ListPeersResponse.repeatedFields_,null)},o.inherits(proto.lnrpc.ListPeersResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ListPeersResponse.displayName="proto.lnrpc.ListPeersResponse"),proto.lnrpc.ListPeersResponse.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ListPeersResponse.prototype.toObject=function(e){return proto.lnrpc.ListPeersResponse.toObject(e,this)},proto.lnrpc.ListPeersResponse.toObject=function(e,t){var r={peersList:n.Message.toObjectList(t.getPeersList(),proto.lnrpc.Peer.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ListPeersResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ListPeersResponse;return proto.lnrpc.ListPeersResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.ListPeersResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.lnrpc.Peer;t.readMessage(r,proto.lnrpc.Peer.deserializeBinaryFromReader),e.addPeers(r)}else t.skipField()}return e},proto.lnrpc.ListPeersResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ListPeersResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ListPeersResponse.serializeBinaryToWriter=function(e,t){var r;(r=e.getPeersList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.Peer.serializeBinaryToWriter)},proto.lnrpc.ListPeersResponse.prototype.getPeersList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.Peer,1)},proto.lnrpc.ListPeersResponse.prototype.setPeersList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.ListPeersResponse.prototype.addPeers=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.Peer,t)},proto.lnrpc.ListPeersResponse.prototype.clearPeersList=function(){this.setPeersList([])},proto.lnrpc.PeerEventSubscription=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.PeerEventSubscription,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.PeerEventSubscription.displayName="proto.lnrpc.PeerEventSubscription"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.PeerEventSubscription.prototype.toObject=function(e){return proto.lnrpc.PeerEventSubscription.toObject(e,this)},proto.lnrpc.PeerEventSubscription.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.PeerEventSubscription.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.PeerEventSubscription;return proto.lnrpc.PeerEventSubscription.deserializeBinaryFromReader(r,t)},proto.lnrpc.PeerEventSubscription.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.PeerEventSubscription.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.PeerEventSubscription.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.PeerEventSubscription.serializeBinaryToWriter=function(e,t){},proto.lnrpc.PeerEvent=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.PeerEvent,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.PeerEvent.displayName="proto.lnrpc.PeerEvent"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.PeerEvent.prototype.toObject=function(e){return proto.lnrpc.PeerEvent.toObject(e,this)},proto.lnrpc.PeerEvent.toObject=function(e,t){var r={pubKey:n.Message.getFieldWithDefault(t,1,""),type:n.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.PeerEvent.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.PeerEvent;return proto.lnrpc.PeerEvent.deserializeBinaryFromReader(r,t)},proto.lnrpc.PeerEvent.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setPubKey(r);break;case 2:r=t.readEnum();e.setType(r);break;default:t.skipField()}}return e},proto.lnrpc.PeerEvent.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.PeerEvent.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.PeerEvent.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPubKey()).length>0&&t.writeString(1,r),0!==(r=e.getType())&&t.writeEnum(2,r)},proto.lnrpc.PeerEvent.EventType={PEER_ONLINE:0,PEER_OFFLINE:1},proto.lnrpc.PeerEvent.prototype.getPubKey=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.PeerEvent.prototype.setPubKey=function(e){n.Message.setField(this,1,e)},proto.lnrpc.PeerEvent.prototype.getType=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.PeerEvent.prototype.setType=function(e){n.Message.setField(this,2,e)},proto.lnrpc.GetInfoRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.GetInfoRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.GetInfoRequest.displayName="proto.lnrpc.GetInfoRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.GetInfoRequest.prototype.toObject=function(e){return proto.lnrpc.GetInfoRequest.toObject(e,this)},proto.lnrpc.GetInfoRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.GetInfoRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.GetInfoRequest;return proto.lnrpc.GetInfoRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.GetInfoRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.GetInfoRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.GetInfoRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.GetInfoRequest.serializeBinaryToWriter=function(e,t){},proto.lnrpc.GetInfoResponse=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.GetInfoResponse.repeatedFields_,null)},o.inherits(proto.lnrpc.GetInfoResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.GetInfoResponse.displayName="proto.lnrpc.GetInfoResponse"),proto.lnrpc.GetInfoResponse.repeatedFields_=[16,12],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.GetInfoResponse.prototype.toObject=function(e){return proto.lnrpc.GetInfoResponse.toObject(e,this)},proto.lnrpc.GetInfoResponse.toObject=function(e,t){var r,o={version:n.Message.getFieldWithDefault(t,14,""),commitHash:n.Message.getFieldWithDefault(t,20,""),identityPubkey:n.Message.getFieldWithDefault(t,1,""),alias:n.Message.getFieldWithDefault(t,2,""),color:n.Message.getFieldWithDefault(t,17,""),numPendingChannels:n.Message.getFieldWithDefault(t,3,0),numActiveChannels:n.Message.getFieldWithDefault(t,4,0),numInactiveChannels:n.Message.getFieldWithDefault(t,15,0),numPeers:n.Message.getFieldWithDefault(t,5,0),blockHeight:n.Message.getFieldWithDefault(t,6,0),blockHash:n.Message.getFieldWithDefault(t,8,""),bestHeaderTimestamp:n.Message.getFieldWithDefault(t,13,0),syncedToChain:n.Message.getFieldWithDefault(t,9,!1),syncedToGraph:n.Message.getFieldWithDefault(t,18,!1),testnet:n.Message.getFieldWithDefault(t,10,!1),chainsList:n.Message.toObjectList(t.getChainsList(),proto.lnrpc.Chain.toObject,e),urisList:n.Message.getRepeatedField(t,12),featuresMap:(r=t.getFeaturesMap())?r.toObject(e,proto.lnrpc.Feature.toObject):[]};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.GetInfoResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.GetInfoResponse;return proto.lnrpc.GetInfoResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.GetInfoResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 14:var r=t.readString();e.setVersion(r);break;case 20:r=t.readString();e.setCommitHash(r);break;case 1:r=t.readString();e.setIdentityPubkey(r);break;case 2:r=t.readString();e.setAlias(r);break;case 17:r=t.readString();e.setColor(r);break;case 3:r=t.readUint32();e.setNumPendingChannels(r);break;case 4:r=t.readUint32();e.setNumActiveChannels(r);break;case 15:r=t.readUint32();e.setNumInactiveChannels(r);break;case 5:r=t.readUint32();e.setNumPeers(r);break;case 6:r=t.readUint32();e.setBlockHeight(r);break;case 8:r=t.readString();e.setBlockHash(r);break;case 13:r=t.readInt64();e.setBestHeaderTimestamp(r);break;case 9:r=t.readBool();e.setSyncedToChain(r);break;case 18:r=t.readBool();e.setSyncedToGraph(r);break;case 10:r=t.readBool();e.setTestnet(r);break;case 16:r=new proto.lnrpc.Chain;t.readMessage(r,proto.lnrpc.Chain.deserializeBinaryFromReader),e.addChains(r);break;case 12:r=t.readString();e.addUris(r);break;case 19:r=e.getFeaturesMap();t.readMessage(r,(function(e,t){n.Map.deserializeBinary(e,t,n.BinaryReader.prototype.readUint32,n.BinaryReader.prototype.readMessage,proto.lnrpc.Feature.deserializeBinaryFromReader)}));break;default:t.skipField()}}return e},proto.lnrpc.GetInfoResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.GetInfoResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.GetInfoResponse.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getVersion()).length>0&&t.writeString(14,r),(r=e.getCommitHash()).length>0&&t.writeString(20,r),(r=e.getIdentityPubkey()).length>0&&t.writeString(1,r),(r=e.getAlias()).length>0&&t.writeString(2,r),(r=e.getColor()).length>0&&t.writeString(17,r),0!==(r=e.getNumPendingChannels())&&t.writeUint32(3,r),0!==(r=e.getNumActiveChannels())&&t.writeUint32(4,r),0!==(r=e.getNumInactiveChannels())&&t.writeUint32(15,r),0!==(r=e.getNumPeers())&&t.writeUint32(5,r),0!==(r=e.getBlockHeight())&&t.writeUint32(6,r),(r=e.getBlockHash()).length>0&&t.writeString(8,r),0!==(r=e.getBestHeaderTimestamp())&&t.writeInt64(13,r),(r=e.getSyncedToChain())&&t.writeBool(9,r),(r=e.getSyncedToGraph())&&t.writeBool(18,r),(r=e.getTestnet())&&t.writeBool(10,r),(r=e.getChainsList()).length>0&&t.writeRepeatedMessage(16,r,proto.lnrpc.Chain.serializeBinaryToWriter),(r=e.getUrisList()).length>0&&t.writeRepeatedString(12,r),(r=e.getFeaturesMap(!0))&&r.getLength()>0&&r.serializeBinary(19,t,n.BinaryWriter.prototype.writeUint32,n.BinaryWriter.prototype.writeMessage,proto.lnrpc.Feature.serializeBinaryToWriter)},proto.lnrpc.GetInfoResponse.prototype.getVersion=function(){return n.Message.getFieldWithDefault(this,14,"")},proto.lnrpc.GetInfoResponse.prototype.setVersion=function(e){n.Message.setField(this,14,e)},proto.lnrpc.GetInfoResponse.prototype.getCommitHash=function(){return n.Message.getFieldWithDefault(this,20,"")},proto.lnrpc.GetInfoResponse.prototype.setCommitHash=function(e){n.Message.setField(this,20,e)},proto.lnrpc.GetInfoResponse.prototype.getIdentityPubkey=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.GetInfoResponse.prototype.setIdentityPubkey=function(e){n.Message.setField(this,1,e)},proto.lnrpc.GetInfoResponse.prototype.getAlias=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.GetInfoResponse.prototype.setAlias=function(e){n.Message.setField(this,2,e)},proto.lnrpc.GetInfoResponse.prototype.getColor=function(){return n.Message.getFieldWithDefault(this,17,"")},proto.lnrpc.GetInfoResponse.prototype.setColor=function(e){n.Message.setField(this,17,e)},proto.lnrpc.GetInfoResponse.prototype.getNumPendingChannels=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.GetInfoResponse.prototype.setNumPendingChannels=function(e){n.Message.setField(this,3,e)},proto.lnrpc.GetInfoResponse.prototype.getNumActiveChannels=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.GetInfoResponse.prototype.setNumActiveChannels=function(e){n.Message.setField(this,4,e)},proto.lnrpc.GetInfoResponse.prototype.getNumInactiveChannels=function(){return n.Message.getFieldWithDefault(this,15,0)},proto.lnrpc.GetInfoResponse.prototype.setNumInactiveChannels=function(e){n.Message.setField(this,15,e)},proto.lnrpc.GetInfoResponse.prototype.getNumPeers=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.GetInfoResponse.prototype.setNumPeers=function(e){n.Message.setField(this,5,e)},proto.lnrpc.GetInfoResponse.prototype.getBlockHeight=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.GetInfoResponse.prototype.setBlockHeight=function(e){n.Message.setField(this,6,e)},proto.lnrpc.GetInfoResponse.prototype.getBlockHash=function(){return n.Message.getFieldWithDefault(this,8,"")},proto.lnrpc.GetInfoResponse.prototype.setBlockHash=function(e){n.Message.setField(this,8,e)},proto.lnrpc.GetInfoResponse.prototype.getBestHeaderTimestamp=function(){return n.Message.getFieldWithDefault(this,13,0)},proto.lnrpc.GetInfoResponse.prototype.setBestHeaderTimestamp=function(e){n.Message.setField(this,13,e)},proto.lnrpc.GetInfoResponse.prototype.getSyncedToChain=function(){return n.Message.getFieldWithDefault(this,9,!1)},proto.lnrpc.GetInfoResponse.prototype.setSyncedToChain=function(e){n.Message.setField(this,9,e)},proto.lnrpc.GetInfoResponse.prototype.getSyncedToGraph=function(){return n.Message.getFieldWithDefault(this,18,!1)},proto.lnrpc.GetInfoResponse.prototype.setSyncedToGraph=function(e){n.Message.setField(this,18,e)},proto.lnrpc.GetInfoResponse.prototype.getTestnet=function(){return n.Message.getFieldWithDefault(this,10,!1)},proto.lnrpc.GetInfoResponse.prototype.setTestnet=function(e){n.Message.setField(this,10,e)},proto.lnrpc.GetInfoResponse.prototype.getChainsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.Chain,16)},proto.lnrpc.GetInfoResponse.prototype.setChainsList=function(e){n.Message.setRepeatedWrapperField(this,16,e)},proto.lnrpc.GetInfoResponse.prototype.addChains=function(e,t){return n.Message.addToRepeatedWrapperField(this,16,e,proto.lnrpc.Chain,t)},proto.lnrpc.GetInfoResponse.prototype.clearChainsList=function(){this.setChainsList([])},proto.lnrpc.GetInfoResponse.prototype.getUrisList=function(){return n.Message.getRepeatedField(this,12)},proto.lnrpc.GetInfoResponse.prototype.setUrisList=function(e){n.Message.setField(this,12,e||[])},proto.lnrpc.GetInfoResponse.prototype.addUris=function(e,t){n.Message.addToRepeatedField(this,12,e,t)},proto.lnrpc.GetInfoResponse.prototype.clearUrisList=function(){this.setUrisList([])},proto.lnrpc.GetInfoResponse.prototype.getFeaturesMap=function(e){return n.Message.getMapField(this,19,e,proto.lnrpc.Feature)},proto.lnrpc.GetInfoResponse.prototype.clearFeaturesMap=function(){this.getFeaturesMap().clear()},proto.lnrpc.GetRecoveryInfoRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.GetRecoveryInfoRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.GetRecoveryInfoRequest.displayName="proto.lnrpc.GetRecoveryInfoRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.GetRecoveryInfoRequest.prototype.toObject=function(e){return proto.lnrpc.GetRecoveryInfoRequest.toObject(e,this)},proto.lnrpc.GetRecoveryInfoRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.GetRecoveryInfoRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.GetRecoveryInfoRequest;return proto.lnrpc.GetRecoveryInfoRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.GetRecoveryInfoRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.GetRecoveryInfoRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.GetRecoveryInfoRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.GetRecoveryInfoRequest.serializeBinaryToWriter=function(e,t){},proto.lnrpc.GetRecoveryInfoResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.GetRecoveryInfoResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.GetRecoveryInfoResponse.displayName="proto.lnrpc.GetRecoveryInfoResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.GetRecoveryInfoResponse.prototype.toObject=function(e){return proto.lnrpc.GetRecoveryInfoResponse.toObject(e,this)},proto.lnrpc.GetRecoveryInfoResponse.toObject=function(e,t){var r={recoveryMode:n.Message.getFieldWithDefault(t,1,!1),recoveryFinished:n.Message.getFieldWithDefault(t,2,!1),progress:+n.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.GetRecoveryInfoResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.GetRecoveryInfoResponse;return proto.lnrpc.GetRecoveryInfoResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.GetRecoveryInfoResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBool();e.setRecoveryMode(r);break;case 2:r=t.readBool();e.setRecoveryFinished(r);break;case 3:r=t.readDouble();e.setProgress(r);break;default:t.skipField()}}return e},proto.lnrpc.GetRecoveryInfoResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.GetRecoveryInfoResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.GetRecoveryInfoResponse.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getRecoveryMode())&&t.writeBool(1,r),(r=e.getRecoveryFinished())&&t.writeBool(2,r),0!==(r=e.getProgress())&&t.writeDouble(3,r)},proto.lnrpc.GetRecoveryInfoResponse.prototype.getRecoveryMode=function(){return n.Message.getFieldWithDefault(this,1,!1)},proto.lnrpc.GetRecoveryInfoResponse.prototype.setRecoveryMode=function(e){n.Message.setField(this,1,e)},proto.lnrpc.GetRecoveryInfoResponse.prototype.getRecoveryFinished=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.lnrpc.GetRecoveryInfoResponse.prototype.setRecoveryFinished=function(e){n.Message.setField(this,2,e)},proto.lnrpc.GetRecoveryInfoResponse.prototype.getProgress=function(){return+n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.GetRecoveryInfoResponse.prototype.setProgress=function(e){n.Message.setField(this,3,e)},proto.lnrpc.Chain=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.Chain,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.Chain.displayName="proto.lnrpc.Chain"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.Chain.prototype.toObject=function(e){return proto.lnrpc.Chain.toObject(e,this)},proto.lnrpc.Chain.toObject=function(e,t){var r={chain:n.Message.getFieldWithDefault(t,1,""),network:n.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.Chain.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.Chain;return proto.lnrpc.Chain.deserializeBinaryFromReader(r,t)},proto.lnrpc.Chain.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setChain(r);break;case 2:r=t.readString();e.setNetwork(r);break;default:t.skipField()}}return e},proto.lnrpc.Chain.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.Chain.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.Chain.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getChain()).length>0&&t.writeString(1,r),(r=e.getNetwork()).length>0&&t.writeString(2,r)},proto.lnrpc.Chain.prototype.getChain=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.Chain.prototype.setChain=function(e){n.Message.setField(this,1,e)},proto.lnrpc.Chain.prototype.getNetwork=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.Chain.prototype.setNetwork=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ConfirmationUpdate=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ConfirmationUpdate,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ConfirmationUpdate.displayName="proto.lnrpc.ConfirmationUpdate"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ConfirmationUpdate.prototype.toObject=function(e){return proto.lnrpc.ConfirmationUpdate.toObject(e,this)},proto.lnrpc.ConfirmationUpdate.toObject=function(e,t){var r={blockSha:t.getBlockSha_asB64(),blockHeight:n.Message.getFieldWithDefault(t,2,0),numConfsLeft:n.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ConfirmationUpdate.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ConfirmationUpdate;return proto.lnrpc.ConfirmationUpdate.deserializeBinaryFromReader(r,t)},proto.lnrpc.ConfirmationUpdate.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setBlockSha(r);break;case 2:r=t.readInt32();e.setBlockHeight(r);break;case 3:r=t.readUint32();e.setNumConfsLeft(r);break;default:t.skipField()}}return e},proto.lnrpc.ConfirmationUpdate.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ConfirmationUpdate.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ConfirmationUpdate.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getBlockSha_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getBlockHeight())&&t.writeInt32(2,r),0!==(r=e.getNumConfsLeft())&&t.writeUint32(3,r)},proto.lnrpc.ConfirmationUpdate.prototype.getBlockSha=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.ConfirmationUpdate.prototype.getBlockSha_asB64=function(){return n.Message.bytesAsB64(this.getBlockSha())},proto.lnrpc.ConfirmationUpdate.prototype.getBlockSha_asU8=function(){return n.Message.bytesAsU8(this.getBlockSha())},proto.lnrpc.ConfirmationUpdate.prototype.setBlockSha=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ConfirmationUpdate.prototype.getBlockHeight=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.ConfirmationUpdate.prototype.setBlockHeight=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ConfirmationUpdate.prototype.getNumConfsLeft=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.ConfirmationUpdate.prototype.setNumConfsLeft=function(e){n.Message.setField(this,3,e)},proto.lnrpc.ChannelOpenUpdate=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChannelOpenUpdate,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelOpenUpdate.displayName="proto.lnrpc.ChannelOpenUpdate"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelOpenUpdate.prototype.toObject=function(e){return proto.lnrpc.ChannelOpenUpdate.toObject(e,this)},proto.lnrpc.ChannelOpenUpdate.toObject=function(e,t){var r,n={channelPoint:(r=t.getChannelPoint())&&proto.lnrpc.ChannelPoint.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.lnrpc.ChannelOpenUpdate.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelOpenUpdate;return proto.lnrpc.ChannelOpenUpdate.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelOpenUpdate.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.lnrpc.ChannelPoint;t.readMessage(r,proto.lnrpc.ChannelPoint.deserializeBinaryFromReader),e.setChannelPoint(r)}else t.skipField()}return e},proto.lnrpc.ChannelOpenUpdate.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelOpenUpdate.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelOpenUpdate.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getChannelPoint())&&t.writeMessage(1,r,proto.lnrpc.ChannelPoint.serializeBinaryToWriter)},proto.lnrpc.ChannelOpenUpdate.prototype.getChannelPoint=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelPoint,1)},proto.lnrpc.ChannelOpenUpdate.prototype.setChannelPoint=function(e){n.Message.setWrapperField(this,1,e)},proto.lnrpc.ChannelOpenUpdate.prototype.clearChannelPoint=function(){this.setChannelPoint(void 0)},proto.lnrpc.ChannelOpenUpdate.prototype.hasChannelPoint=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.ChannelCloseUpdate=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChannelCloseUpdate,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelCloseUpdate.displayName="proto.lnrpc.ChannelCloseUpdate"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelCloseUpdate.prototype.toObject=function(e){return proto.lnrpc.ChannelCloseUpdate.toObject(e,this)},proto.lnrpc.ChannelCloseUpdate.toObject=function(e,t){var r={closingTxid:t.getClosingTxid_asB64(),success:n.Message.getFieldWithDefault(t,2,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ChannelCloseUpdate.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelCloseUpdate;return proto.lnrpc.ChannelCloseUpdate.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelCloseUpdate.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setClosingTxid(r);break;case 2:r=t.readBool();e.setSuccess(r);break;default:t.skipField()}}return e},proto.lnrpc.ChannelCloseUpdate.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelCloseUpdate.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelCloseUpdate.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getClosingTxid_asU8()).length>0&&t.writeBytes(1,r),(r=e.getSuccess())&&t.writeBool(2,r)},proto.lnrpc.ChannelCloseUpdate.prototype.getClosingTxid=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.ChannelCloseUpdate.prototype.getClosingTxid_asB64=function(){return n.Message.bytesAsB64(this.getClosingTxid())},proto.lnrpc.ChannelCloseUpdate.prototype.getClosingTxid_asU8=function(){return n.Message.bytesAsU8(this.getClosingTxid())},proto.lnrpc.ChannelCloseUpdate.prototype.setClosingTxid=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ChannelCloseUpdate.prototype.getSuccess=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.lnrpc.ChannelCloseUpdate.prototype.setSuccess=function(e){n.Message.setField(this,2,e)},proto.lnrpc.CloseChannelRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.CloseChannelRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.CloseChannelRequest.displayName="proto.lnrpc.CloseChannelRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.CloseChannelRequest.prototype.toObject=function(e){return proto.lnrpc.CloseChannelRequest.toObject(e,this)},proto.lnrpc.CloseChannelRequest.toObject=function(e,t){var r,o={channelPoint:(r=t.getChannelPoint())&&proto.lnrpc.ChannelPoint.toObject(e,r),force:n.Message.getFieldWithDefault(t,2,!1),targetConf:n.Message.getFieldWithDefault(t,3,0),satPerByte:n.Message.getFieldWithDefault(t,4,0),deliveryAddress:n.Message.getFieldWithDefault(t,5,""),satPerVbyte:n.Message.getFieldWithDefault(t,6,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.CloseChannelRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.CloseChannelRequest;return proto.lnrpc.CloseChannelRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.CloseChannelRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.ChannelPoint;t.readMessage(r,proto.lnrpc.ChannelPoint.deserializeBinaryFromReader),e.setChannelPoint(r);break;case 2:r=t.readBool();e.setForce(r);break;case 3:r=t.readInt32();e.setTargetConf(r);break;case 4:r=t.readInt64();e.setSatPerByte(r);break;case 5:r=t.readString();e.setDeliveryAddress(r);break;case 6:r=t.readUint64();e.setSatPerVbyte(r);break;default:t.skipField()}}return e},proto.lnrpc.CloseChannelRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.CloseChannelRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.CloseChannelRequest.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getChannelPoint())&&t.writeMessage(1,r,proto.lnrpc.ChannelPoint.serializeBinaryToWriter),(r=e.getForce())&&t.writeBool(2,r),0!==(r=e.getTargetConf())&&t.writeInt32(3,r),0!==(r=e.getSatPerByte())&&t.writeInt64(4,r),(r=e.getDeliveryAddress()).length>0&&t.writeString(5,r),0!==(r=e.getSatPerVbyte())&&t.writeUint64(6,r)},proto.lnrpc.CloseChannelRequest.prototype.getChannelPoint=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelPoint,1)},proto.lnrpc.CloseChannelRequest.prototype.setChannelPoint=function(e){n.Message.setWrapperField(this,1,e)},proto.lnrpc.CloseChannelRequest.prototype.clearChannelPoint=function(){this.setChannelPoint(void 0)},proto.lnrpc.CloseChannelRequest.prototype.hasChannelPoint=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.CloseChannelRequest.prototype.getForce=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.lnrpc.CloseChannelRequest.prototype.setForce=function(e){n.Message.setField(this,2,e)},proto.lnrpc.CloseChannelRequest.prototype.getTargetConf=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.CloseChannelRequest.prototype.setTargetConf=function(e){n.Message.setField(this,3,e)},proto.lnrpc.CloseChannelRequest.prototype.getSatPerByte=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.CloseChannelRequest.prototype.setSatPerByte=function(e){n.Message.setField(this,4,e)},proto.lnrpc.CloseChannelRequest.prototype.getDeliveryAddress=function(){return n.Message.getFieldWithDefault(this,5,"")},proto.lnrpc.CloseChannelRequest.prototype.setDeliveryAddress=function(e){n.Message.setField(this,5,e)},proto.lnrpc.CloseChannelRequest.prototype.getSatPerVbyte=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.CloseChannelRequest.prototype.setSatPerVbyte=function(e){n.Message.setField(this,6,e)},proto.lnrpc.CloseStatusUpdate=function(e){n.Message.initialize(this,e,0,-1,null,proto.lnrpc.CloseStatusUpdate.oneofGroups_)},o.inherits(proto.lnrpc.CloseStatusUpdate,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.CloseStatusUpdate.displayName="proto.lnrpc.CloseStatusUpdate"),proto.lnrpc.CloseStatusUpdate.oneofGroups_=[[1,3]],proto.lnrpc.CloseStatusUpdate.UpdateCase={UPDATE_NOT_SET:0,CLOSE_PENDING:1,CHAN_CLOSE:3},proto.lnrpc.CloseStatusUpdate.prototype.getUpdateCase=function(){return n.Message.computeOneofCase(this,proto.lnrpc.CloseStatusUpdate.oneofGroups_[0])},n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.CloseStatusUpdate.prototype.toObject=function(e){return proto.lnrpc.CloseStatusUpdate.toObject(e,this)},proto.lnrpc.CloseStatusUpdate.toObject=function(e,t){var r,n={closePending:(r=t.getClosePending())&&proto.lnrpc.PendingUpdate.toObject(e,r),chanClose:(r=t.getChanClose())&&proto.lnrpc.ChannelCloseUpdate.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.lnrpc.CloseStatusUpdate.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.CloseStatusUpdate;return proto.lnrpc.CloseStatusUpdate.deserializeBinaryFromReader(r,t)},proto.lnrpc.CloseStatusUpdate.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.PendingUpdate;t.readMessage(r,proto.lnrpc.PendingUpdate.deserializeBinaryFromReader),e.setClosePending(r);break;case 3:r=new proto.lnrpc.ChannelCloseUpdate;t.readMessage(r,proto.lnrpc.ChannelCloseUpdate.deserializeBinaryFromReader),e.setChanClose(r);break;default:t.skipField()}}return e},proto.lnrpc.CloseStatusUpdate.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.CloseStatusUpdate.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.CloseStatusUpdate.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getClosePending())&&t.writeMessage(1,r,proto.lnrpc.PendingUpdate.serializeBinaryToWriter),null!=(r=e.getChanClose())&&t.writeMessage(3,r,proto.lnrpc.ChannelCloseUpdate.serializeBinaryToWriter)},proto.lnrpc.CloseStatusUpdate.prototype.getClosePending=function(){return n.Message.getWrapperField(this,proto.lnrpc.PendingUpdate,1)},proto.lnrpc.CloseStatusUpdate.prototype.setClosePending=function(e){n.Message.setOneofWrapperField(this,1,proto.lnrpc.CloseStatusUpdate.oneofGroups_[0],e)},proto.lnrpc.CloseStatusUpdate.prototype.clearClosePending=function(){this.setClosePending(void 0)},proto.lnrpc.CloseStatusUpdate.prototype.hasClosePending=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.CloseStatusUpdate.prototype.getChanClose=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelCloseUpdate,3)},proto.lnrpc.CloseStatusUpdate.prototype.setChanClose=function(e){n.Message.setOneofWrapperField(this,3,proto.lnrpc.CloseStatusUpdate.oneofGroups_[0],e)},proto.lnrpc.CloseStatusUpdate.prototype.clearChanClose=function(){this.setChanClose(void 0)},proto.lnrpc.CloseStatusUpdate.prototype.hasChanClose=function(){return null!=n.Message.getField(this,3)},proto.lnrpc.PendingUpdate=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.PendingUpdate,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.PendingUpdate.displayName="proto.lnrpc.PendingUpdate"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.PendingUpdate.prototype.toObject=function(e){return proto.lnrpc.PendingUpdate.toObject(e,this)},proto.lnrpc.PendingUpdate.toObject=function(e,t){var r={txid:t.getTxid_asB64(),outputIndex:n.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.PendingUpdate.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.PendingUpdate;return proto.lnrpc.PendingUpdate.deserializeBinaryFromReader(r,t)},proto.lnrpc.PendingUpdate.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setTxid(r);break;case 2:r=t.readUint32();e.setOutputIndex(r);break;default:t.skipField()}}return e},proto.lnrpc.PendingUpdate.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.PendingUpdate.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.PendingUpdate.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getTxid_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getOutputIndex())&&t.writeUint32(2,r)},proto.lnrpc.PendingUpdate.prototype.getTxid=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.PendingUpdate.prototype.getTxid_asB64=function(){return n.Message.bytesAsB64(this.getTxid())},proto.lnrpc.PendingUpdate.prototype.getTxid_asU8=function(){return n.Message.bytesAsU8(this.getTxid())},proto.lnrpc.PendingUpdate.prototype.setTxid=function(e){n.Message.setField(this,1,e)},proto.lnrpc.PendingUpdate.prototype.getOutputIndex=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.PendingUpdate.prototype.setOutputIndex=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ReadyForPsbtFunding=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ReadyForPsbtFunding,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ReadyForPsbtFunding.displayName="proto.lnrpc.ReadyForPsbtFunding"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ReadyForPsbtFunding.prototype.toObject=function(e){return proto.lnrpc.ReadyForPsbtFunding.toObject(e,this)},proto.lnrpc.ReadyForPsbtFunding.toObject=function(e,t){var r={fundingAddress:n.Message.getFieldWithDefault(t,1,""),fundingAmount:n.Message.getFieldWithDefault(t,2,0),psbt:t.getPsbt_asB64()};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ReadyForPsbtFunding.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ReadyForPsbtFunding;return proto.lnrpc.ReadyForPsbtFunding.deserializeBinaryFromReader(r,t)},proto.lnrpc.ReadyForPsbtFunding.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setFundingAddress(r);break;case 2:r=t.readInt64();e.setFundingAmount(r);break;case 3:r=t.readBytes();e.setPsbt(r);break;default:t.skipField()}}return e},proto.lnrpc.ReadyForPsbtFunding.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ReadyForPsbtFunding.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ReadyForPsbtFunding.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getFundingAddress()).length>0&&t.writeString(1,r),0!==(r=e.getFundingAmount())&&t.writeInt64(2,r),(r=e.getPsbt_asU8()).length>0&&t.writeBytes(3,r)},proto.lnrpc.ReadyForPsbtFunding.prototype.getFundingAddress=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.ReadyForPsbtFunding.prototype.setFundingAddress=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ReadyForPsbtFunding.prototype.getFundingAmount=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.ReadyForPsbtFunding.prototype.setFundingAmount=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ReadyForPsbtFunding.prototype.getPsbt=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.ReadyForPsbtFunding.prototype.getPsbt_asB64=function(){return n.Message.bytesAsB64(this.getPsbt())},proto.lnrpc.ReadyForPsbtFunding.prototype.getPsbt_asU8=function(){return n.Message.bytesAsU8(this.getPsbt())},proto.lnrpc.ReadyForPsbtFunding.prototype.setPsbt=function(e){n.Message.setField(this,3,e)},proto.lnrpc.BatchOpenChannelRequest=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.BatchOpenChannelRequest.repeatedFields_,null)},o.inherits(proto.lnrpc.BatchOpenChannelRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.BatchOpenChannelRequest.displayName="proto.lnrpc.BatchOpenChannelRequest"),proto.lnrpc.BatchOpenChannelRequest.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.BatchOpenChannelRequest.prototype.toObject=function(e){return proto.lnrpc.BatchOpenChannelRequest.toObject(e,this)},proto.lnrpc.BatchOpenChannelRequest.toObject=function(e,t){var r={channelsList:n.Message.toObjectList(t.getChannelsList(),proto.lnrpc.BatchOpenChannel.toObject,e),targetConf:n.Message.getFieldWithDefault(t,2,0),satPerVbyte:n.Message.getFieldWithDefault(t,3,0),minConfs:n.Message.getFieldWithDefault(t,4,0),spendUnconfirmed:n.Message.getFieldWithDefault(t,5,!1),label:n.Message.getFieldWithDefault(t,6,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.BatchOpenChannelRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.BatchOpenChannelRequest;return proto.lnrpc.BatchOpenChannelRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.BatchOpenChannelRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.BatchOpenChannel;t.readMessage(r,proto.lnrpc.BatchOpenChannel.deserializeBinaryFromReader),e.addChannels(r);break;case 2:r=t.readInt32();e.setTargetConf(r);break;case 3:r=t.readInt64();e.setSatPerVbyte(r);break;case 4:r=t.readInt32();e.setMinConfs(r);break;case 5:r=t.readBool();e.setSpendUnconfirmed(r);break;case 6:r=t.readString();e.setLabel(r);break;default:t.skipField()}}return e},proto.lnrpc.BatchOpenChannelRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.BatchOpenChannelRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.BatchOpenChannelRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getChannelsList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.BatchOpenChannel.serializeBinaryToWriter),0!==(r=e.getTargetConf())&&t.writeInt32(2,r),0!==(r=e.getSatPerVbyte())&&t.writeInt64(3,r),0!==(r=e.getMinConfs())&&t.writeInt32(4,r),(r=e.getSpendUnconfirmed())&&t.writeBool(5,r),(r=e.getLabel()).length>0&&t.writeString(6,r)},proto.lnrpc.BatchOpenChannelRequest.prototype.getChannelsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.BatchOpenChannel,1)},proto.lnrpc.BatchOpenChannelRequest.prototype.setChannelsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.BatchOpenChannelRequest.prototype.addChannels=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.BatchOpenChannel,t)},proto.lnrpc.BatchOpenChannelRequest.prototype.clearChannelsList=function(){this.setChannelsList([])},proto.lnrpc.BatchOpenChannelRequest.prototype.getTargetConf=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.BatchOpenChannelRequest.prototype.setTargetConf=function(e){n.Message.setField(this,2,e)},proto.lnrpc.BatchOpenChannelRequest.prototype.getSatPerVbyte=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.BatchOpenChannelRequest.prototype.setSatPerVbyte=function(e){n.Message.setField(this,3,e)},proto.lnrpc.BatchOpenChannelRequest.prototype.getMinConfs=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.BatchOpenChannelRequest.prototype.setMinConfs=function(e){n.Message.setField(this,4,e)},proto.lnrpc.BatchOpenChannelRequest.prototype.getSpendUnconfirmed=function(){return n.Message.getFieldWithDefault(this,5,!1)},proto.lnrpc.BatchOpenChannelRequest.prototype.setSpendUnconfirmed=function(e){n.Message.setField(this,5,e)},proto.lnrpc.BatchOpenChannelRequest.prototype.getLabel=function(){return n.Message.getFieldWithDefault(this,6,"")},proto.lnrpc.BatchOpenChannelRequest.prototype.setLabel=function(e){n.Message.setField(this,6,e)},proto.lnrpc.BatchOpenChannel=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.BatchOpenChannel,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.BatchOpenChannel.displayName="proto.lnrpc.BatchOpenChannel"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.BatchOpenChannel.prototype.toObject=function(e){return proto.lnrpc.BatchOpenChannel.toObject(e,this)},proto.lnrpc.BatchOpenChannel.toObject=function(e,t){var r={nodePubkey:t.getNodePubkey_asB64(),localFundingAmount:n.Message.getFieldWithDefault(t,2,0),pushSat:n.Message.getFieldWithDefault(t,3,0),pb_private:n.Message.getFieldWithDefault(t,4,!1),minHtlcMsat:n.Message.getFieldWithDefault(t,5,0),remoteCsvDelay:n.Message.getFieldWithDefault(t,6,0),closeAddress:n.Message.getFieldWithDefault(t,7,""),pendingChanId:t.getPendingChanId_asB64(),commitmentType:n.Message.getFieldWithDefault(t,9,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.BatchOpenChannel.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.BatchOpenChannel;return proto.lnrpc.BatchOpenChannel.deserializeBinaryFromReader(r,t)},proto.lnrpc.BatchOpenChannel.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setNodePubkey(r);break;case 2:r=t.readInt64();e.setLocalFundingAmount(r);break;case 3:r=t.readInt64();e.setPushSat(r);break;case 4:r=t.readBool();e.setPrivate(r);break;case 5:r=t.readInt64();e.setMinHtlcMsat(r);break;case 6:r=t.readUint32();e.setRemoteCsvDelay(r);break;case 7:r=t.readString();e.setCloseAddress(r);break;case 8:r=t.readBytes();e.setPendingChanId(r);break;case 9:r=t.readEnum();e.setCommitmentType(r);break;default:t.skipField()}}return e},proto.lnrpc.BatchOpenChannel.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.BatchOpenChannel.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.BatchOpenChannel.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getNodePubkey_asU8()).length>0&&t.writeBytes(1,r),0!==(r=e.getLocalFundingAmount())&&t.writeInt64(2,r),0!==(r=e.getPushSat())&&t.writeInt64(3,r),(r=e.getPrivate())&&t.writeBool(4,r),0!==(r=e.getMinHtlcMsat())&&t.writeInt64(5,r),0!==(r=e.getRemoteCsvDelay())&&t.writeUint32(6,r),(r=e.getCloseAddress()).length>0&&t.writeString(7,r),(r=e.getPendingChanId_asU8()).length>0&&t.writeBytes(8,r),0!==(r=e.getCommitmentType())&&t.writeEnum(9,r)},proto.lnrpc.BatchOpenChannel.prototype.getNodePubkey=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.BatchOpenChannel.prototype.getNodePubkey_asB64=function(){return n.Message.bytesAsB64(this.getNodePubkey())},proto.lnrpc.BatchOpenChannel.prototype.getNodePubkey_asU8=function(){return n.Message.bytesAsU8(this.getNodePubkey())},proto.lnrpc.BatchOpenChannel.prototype.setNodePubkey=function(e){n.Message.setField(this,1,e)},proto.lnrpc.BatchOpenChannel.prototype.getLocalFundingAmount=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.BatchOpenChannel.prototype.setLocalFundingAmount=function(e){n.Message.setField(this,2,e)},proto.lnrpc.BatchOpenChannel.prototype.getPushSat=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.BatchOpenChannel.prototype.setPushSat=function(e){n.Message.setField(this,3,e)},proto.lnrpc.BatchOpenChannel.prototype.getPrivate=function(){return n.Message.getFieldWithDefault(this,4,!1)},proto.lnrpc.BatchOpenChannel.prototype.setPrivate=function(e){n.Message.setField(this,4,e)},proto.lnrpc.BatchOpenChannel.prototype.getMinHtlcMsat=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.BatchOpenChannel.prototype.setMinHtlcMsat=function(e){n.Message.setField(this,5,e)},proto.lnrpc.BatchOpenChannel.prototype.getRemoteCsvDelay=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.BatchOpenChannel.prototype.setRemoteCsvDelay=function(e){n.Message.setField(this,6,e)},proto.lnrpc.BatchOpenChannel.prototype.getCloseAddress=function(){return n.Message.getFieldWithDefault(this,7,"")},proto.lnrpc.BatchOpenChannel.prototype.setCloseAddress=function(e){n.Message.setField(this,7,e)},proto.lnrpc.BatchOpenChannel.prototype.getPendingChanId=function(){return n.Message.getFieldWithDefault(this,8,"")},proto.lnrpc.BatchOpenChannel.prototype.getPendingChanId_asB64=function(){return n.Message.bytesAsB64(this.getPendingChanId())},proto.lnrpc.BatchOpenChannel.prototype.getPendingChanId_asU8=function(){return n.Message.bytesAsU8(this.getPendingChanId())},proto.lnrpc.BatchOpenChannel.prototype.setPendingChanId=function(e){n.Message.setField(this,8,e)},proto.lnrpc.BatchOpenChannel.prototype.getCommitmentType=function(){return n.Message.getFieldWithDefault(this,9,0)},proto.lnrpc.BatchOpenChannel.prototype.setCommitmentType=function(e){n.Message.setField(this,9,e)},proto.lnrpc.BatchOpenChannelResponse=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.BatchOpenChannelResponse.repeatedFields_,null)},o.inherits(proto.lnrpc.BatchOpenChannelResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.BatchOpenChannelResponse.displayName="proto.lnrpc.BatchOpenChannelResponse"),proto.lnrpc.BatchOpenChannelResponse.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.BatchOpenChannelResponse.prototype.toObject=function(e){return proto.lnrpc.BatchOpenChannelResponse.toObject(e,this)},proto.lnrpc.BatchOpenChannelResponse.toObject=function(e,t){var r={pendingChannelsList:n.Message.toObjectList(t.getPendingChannelsList(),proto.lnrpc.PendingUpdate.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.BatchOpenChannelResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.BatchOpenChannelResponse;return proto.lnrpc.BatchOpenChannelResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.BatchOpenChannelResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.lnrpc.PendingUpdate;t.readMessage(r,proto.lnrpc.PendingUpdate.deserializeBinaryFromReader),e.addPendingChannels(r)}else t.skipField()}return e},proto.lnrpc.BatchOpenChannelResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.BatchOpenChannelResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.BatchOpenChannelResponse.serializeBinaryToWriter=function(e,t){var r;(r=e.getPendingChannelsList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.PendingUpdate.serializeBinaryToWriter)},proto.lnrpc.BatchOpenChannelResponse.prototype.getPendingChannelsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.PendingUpdate,1)},proto.lnrpc.BatchOpenChannelResponse.prototype.setPendingChannelsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.BatchOpenChannelResponse.prototype.addPendingChannels=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.PendingUpdate,t)},proto.lnrpc.BatchOpenChannelResponse.prototype.clearPendingChannelsList=function(){this.setPendingChannelsList([])},proto.lnrpc.OpenChannelRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.OpenChannelRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.OpenChannelRequest.displayName="proto.lnrpc.OpenChannelRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.OpenChannelRequest.prototype.toObject=function(e){return proto.lnrpc.OpenChannelRequest.toObject(e,this)},proto.lnrpc.OpenChannelRequest.toObject=function(e,t){var r,o={satPerVbyte:n.Message.getFieldWithDefault(t,1,0),nodePubkey:t.getNodePubkey_asB64(),nodePubkeyString:n.Message.getFieldWithDefault(t,3,""),localFundingAmount:n.Message.getFieldWithDefault(t,4,0),pushSat:n.Message.getFieldWithDefault(t,5,0),targetConf:n.Message.getFieldWithDefault(t,6,0),satPerByte:n.Message.getFieldWithDefault(t,7,0),pb_private:n.Message.getFieldWithDefault(t,8,!1),minHtlcMsat:n.Message.getFieldWithDefault(t,9,0),remoteCsvDelay:n.Message.getFieldWithDefault(t,10,0),minConfs:n.Message.getFieldWithDefault(t,11,0),spendUnconfirmed:n.Message.getFieldWithDefault(t,12,!1),closeAddress:n.Message.getFieldWithDefault(t,13,""),fundingShim:(r=t.getFundingShim())&&proto.lnrpc.FundingShim.toObject(e,r),remoteMaxValueInFlightMsat:n.Message.getFieldWithDefault(t,15,0),remoteMaxHtlcs:n.Message.getFieldWithDefault(t,16,0),maxLocalCsv:n.Message.getFieldWithDefault(t,17,0),commitmentType:n.Message.getFieldWithDefault(t,18,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.OpenChannelRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.OpenChannelRequest;return proto.lnrpc.OpenChannelRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.OpenChannelRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint64();e.setSatPerVbyte(r);break;case 2:r=t.readBytes();e.setNodePubkey(r);break;case 3:r=t.readString();e.setNodePubkeyString(r);break;case 4:r=t.readInt64();e.setLocalFundingAmount(r);break;case 5:r=t.readInt64();e.setPushSat(r);break;case 6:r=t.readInt32();e.setTargetConf(r);break;case 7:r=t.readInt64();e.setSatPerByte(r);break;case 8:r=t.readBool();e.setPrivate(r);break;case 9:r=t.readInt64();e.setMinHtlcMsat(r);break;case 10:r=t.readUint32();e.setRemoteCsvDelay(r);break;case 11:r=t.readInt32();e.setMinConfs(r);break;case 12:r=t.readBool();e.setSpendUnconfirmed(r);break;case 13:r=t.readString();e.setCloseAddress(r);break;case 14:r=new proto.lnrpc.FundingShim;t.readMessage(r,proto.lnrpc.FundingShim.deserializeBinaryFromReader),e.setFundingShim(r);break;case 15:r=t.readUint64();e.setRemoteMaxValueInFlightMsat(r);break;case 16:r=t.readUint32();e.setRemoteMaxHtlcs(r);break;case 17:r=t.readUint32();e.setMaxLocalCsv(r);break;case 18:r=t.readEnum();e.setCommitmentType(r);break;default:t.skipField()}}return e},proto.lnrpc.OpenChannelRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.OpenChannelRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.OpenChannelRequest.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getSatPerVbyte())&&t.writeUint64(1,r),(r=e.getNodePubkey_asU8()).length>0&&t.writeBytes(2,r),(r=e.getNodePubkeyString()).length>0&&t.writeString(3,r),0!==(r=e.getLocalFundingAmount())&&t.writeInt64(4,r),0!==(r=e.getPushSat())&&t.writeInt64(5,r),0!==(r=e.getTargetConf())&&t.writeInt32(6,r),0!==(r=e.getSatPerByte())&&t.writeInt64(7,r),(r=e.getPrivate())&&t.writeBool(8,r),0!==(r=e.getMinHtlcMsat())&&t.writeInt64(9,r),0!==(r=e.getRemoteCsvDelay())&&t.writeUint32(10,r),0!==(r=e.getMinConfs())&&t.writeInt32(11,r),(r=e.getSpendUnconfirmed())&&t.writeBool(12,r),(r=e.getCloseAddress()).length>0&&t.writeString(13,r),null!=(r=e.getFundingShim())&&t.writeMessage(14,r,proto.lnrpc.FundingShim.serializeBinaryToWriter),0!==(r=e.getRemoteMaxValueInFlightMsat())&&t.writeUint64(15,r),0!==(r=e.getRemoteMaxHtlcs())&&t.writeUint32(16,r),0!==(r=e.getMaxLocalCsv())&&t.writeUint32(17,r),0!==(r=e.getCommitmentType())&&t.writeEnum(18,r)},proto.lnrpc.OpenChannelRequest.prototype.getSatPerVbyte=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.OpenChannelRequest.prototype.setSatPerVbyte=function(e){n.Message.setField(this,1,e)},proto.lnrpc.OpenChannelRequest.prototype.getNodePubkey=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.OpenChannelRequest.prototype.getNodePubkey_asB64=function(){return n.Message.bytesAsB64(this.getNodePubkey())},proto.lnrpc.OpenChannelRequest.prototype.getNodePubkey_asU8=function(){return n.Message.bytesAsU8(this.getNodePubkey())},proto.lnrpc.OpenChannelRequest.prototype.setNodePubkey=function(e){n.Message.setField(this,2,e)},proto.lnrpc.OpenChannelRequest.prototype.getNodePubkeyString=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.OpenChannelRequest.prototype.setNodePubkeyString=function(e){n.Message.setField(this,3,e)},proto.lnrpc.OpenChannelRequest.prototype.getLocalFundingAmount=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.OpenChannelRequest.prototype.setLocalFundingAmount=function(e){n.Message.setField(this,4,e)},proto.lnrpc.OpenChannelRequest.prototype.getPushSat=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.OpenChannelRequest.prototype.setPushSat=function(e){n.Message.setField(this,5,e)},proto.lnrpc.OpenChannelRequest.prototype.getTargetConf=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.OpenChannelRequest.prototype.setTargetConf=function(e){n.Message.setField(this,6,e)},proto.lnrpc.OpenChannelRequest.prototype.getSatPerByte=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.OpenChannelRequest.prototype.setSatPerByte=function(e){n.Message.setField(this,7,e)},proto.lnrpc.OpenChannelRequest.prototype.getPrivate=function(){return n.Message.getFieldWithDefault(this,8,!1)},proto.lnrpc.OpenChannelRequest.prototype.setPrivate=function(e){n.Message.setField(this,8,e)},proto.lnrpc.OpenChannelRequest.prototype.getMinHtlcMsat=function(){return n.Message.getFieldWithDefault(this,9,0)},proto.lnrpc.OpenChannelRequest.prototype.setMinHtlcMsat=function(e){n.Message.setField(this,9,e)},proto.lnrpc.OpenChannelRequest.prototype.getRemoteCsvDelay=function(){return n.Message.getFieldWithDefault(this,10,0)},proto.lnrpc.OpenChannelRequest.prototype.setRemoteCsvDelay=function(e){n.Message.setField(this,10,e)},proto.lnrpc.OpenChannelRequest.prototype.getMinConfs=function(){return n.Message.getFieldWithDefault(this,11,0)},proto.lnrpc.OpenChannelRequest.prototype.setMinConfs=function(e){n.Message.setField(this,11,e)},proto.lnrpc.OpenChannelRequest.prototype.getSpendUnconfirmed=function(){return n.Message.getFieldWithDefault(this,12,!1)},proto.lnrpc.OpenChannelRequest.prototype.setSpendUnconfirmed=function(e){n.Message.setField(this,12,e)},proto.lnrpc.OpenChannelRequest.prototype.getCloseAddress=function(){return n.Message.getFieldWithDefault(this,13,"")},proto.lnrpc.OpenChannelRequest.prototype.setCloseAddress=function(e){n.Message.setField(this,13,e)},proto.lnrpc.OpenChannelRequest.prototype.getFundingShim=function(){return n.Message.getWrapperField(this,proto.lnrpc.FundingShim,14)},proto.lnrpc.OpenChannelRequest.prototype.setFundingShim=function(e){n.Message.setWrapperField(this,14,e)},proto.lnrpc.OpenChannelRequest.prototype.clearFundingShim=function(){this.setFundingShim(void 0)},proto.lnrpc.OpenChannelRequest.prototype.hasFundingShim=function(){return null!=n.Message.getField(this,14)},proto.lnrpc.OpenChannelRequest.prototype.getRemoteMaxValueInFlightMsat=function(){return n.Message.getFieldWithDefault(this,15,0)},proto.lnrpc.OpenChannelRequest.prototype.setRemoteMaxValueInFlightMsat=function(e){n.Message.setField(this,15,e)},proto.lnrpc.OpenChannelRequest.prototype.getRemoteMaxHtlcs=function(){return n.Message.getFieldWithDefault(this,16,0)},proto.lnrpc.OpenChannelRequest.prototype.setRemoteMaxHtlcs=function(e){n.Message.setField(this,16,e)},proto.lnrpc.OpenChannelRequest.prototype.getMaxLocalCsv=function(){return n.Message.getFieldWithDefault(this,17,0)},proto.lnrpc.OpenChannelRequest.prototype.setMaxLocalCsv=function(e){n.Message.setField(this,17,e)},proto.lnrpc.OpenChannelRequest.prototype.getCommitmentType=function(){return n.Message.getFieldWithDefault(this,18,0)},proto.lnrpc.OpenChannelRequest.prototype.setCommitmentType=function(e){n.Message.setField(this,18,e)},proto.lnrpc.OpenStatusUpdate=function(e){n.Message.initialize(this,e,0,-1,null,proto.lnrpc.OpenStatusUpdate.oneofGroups_)},o.inherits(proto.lnrpc.OpenStatusUpdate,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.OpenStatusUpdate.displayName="proto.lnrpc.OpenStatusUpdate"),proto.lnrpc.OpenStatusUpdate.oneofGroups_=[[1,3,5]],proto.lnrpc.OpenStatusUpdate.UpdateCase={UPDATE_NOT_SET:0,CHAN_PENDING:1,CHAN_OPEN:3,PSBT_FUND:5},proto.lnrpc.OpenStatusUpdate.prototype.getUpdateCase=function(){return n.Message.computeOneofCase(this,proto.lnrpc.OpenStatusUpdate.oneofGroups_[0])},n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.OpenStatusUpdate.prototype.toObject=function(e){return proto.lnrpc.OpenStatusUpdate.toObject(e,this)},proto.lnrpc.OpenStatusUpdate.toObject=function(e,t){var r,n={chanPending:(r=t.getChanPending())&&proto.lnrpc.PendingUpdate.toObject(e,r),chanOpen:(r=t.getChanOpen())&&proto.lnrpc.ChannelOpenUpdate.toObject(e,r),psbtFund:(r=t.getPsbtFund())&&proto.lnrpc.ReadyForPsbtFunding.toObject(e,r),pendingChanId:t.getPendingChanId_asB64()};return e&&(n.$jspbMessageInstance=t),n}),proto.lnrpc.OpenStatusUpdate.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.OpenStatusUpdate;return proto.lnrpc.OpenStatusUpdate.deserializeBinaryFromReader(r,t)},proto.lnrpc.OpenStatusUpdate.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.PendingUpdate;t.readMessage(r,proto.lnrpc.PendingUpdate.deserializeBinaryFromReader),e.setChanPending(r);break;case 3:r=new proto.lnrpc.ChannelOpenUpdate;t.readMessage(r,proto.lnrpc.ChannelOpenUpdate.deserializeBinaryFromReader),e.setChanOpen(r);break;case 5:r=new proto.lnrpc.ReadyForPsbtFunding;t.readMessage(r,proto.lnrpc.ReadyForPsbtFunding.deserializeBinaryFromReader),e.setPsbtFund(r);break;case 4:r=t.readBytes();e.setPendingChanId(r);break;default:t.skipField()}}return e},proto.lnrpc.OpenStatusUpdate.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.OpenStatusUpdate.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.OpenStatusUpdate.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getChanPending())&&t.writeMessage(1,r,proto.lnrpc.PendingUpdate.serializeBinaryToWriter),null!=(r=e.getChanOpen())&&t.writeMessage(3,r,proto.lnrpc.ChannelOpenUpdate.serializeBinaryToWriter),null!=(r=e.getPsbtFund())&&t.writeMessage(5,r,proto.lnrpc.ReadyForPsbtFunding.serializeBinaryToWriter),(r=e.getPendingChanId_asU8()).length>0&&t.writeBytes(4,r)},proto.lnrpc.OpenStatusUpdate.prototype.getChanPending=function(){return n.Message.getWrapperField(this,proto.lnrpc.PendingUpdate,1)},proto.lnrpc.OpenStatusUpdate.prototype.setChanPending=function(e){n.Message.setOneofWrapperField(this,1,proto.lnrpc.OpenStatusUpdate.oneofGroups_[0],e)},proto.lnrpc.OpenStatusUpdate.prototype.clearChanPending=function(){this.setChanPending(void 0)},proto.lnrpc.OpenStatusUpdate.prototype.hasChanPending=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.OpenStatusUpdate.prototype.getChanOpen=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelOpenUpdate,3)},proto.lnrpc.OpenStatusUpdate.prototype.setChanOpen=function(e){n.Message.setOneofWrapperField(this,3,proto.lnrpc.OpenStatusUpdate.oneofGroups_[0],e)},proto.lnrpc.OpenStatusUpdate.prototype.clearChanOpen=function(){this.setChanOpen(void 0)},proto.lnrpc.OpenStatusUpdate.prototype.hasChanOpen=function(){return null!=n.Message.getField(this,3)},proto.lnrpc.OpenStatusUpdate.prototype.getPsbtFund=function(){return n.Message.getWrapperField(this,proto.lnrpc.ReadyForPsbtFunding,5)},proto.lnrpc.OpenStatusUpdate.prototype.setPsbtFund=function(e){n.Message.setOneofWrapperField(this,5,proto.lnrpc.OpenStatusUpdate.oneofGroups_[0],e)},proto.lnrpc.OpenStatusUpdate.prototype.clearPsbtFund=function(){this.setPsbtFund(void 0)},proto.lnrpc.OpenStatusUpdate.prototype.hasPsbtFund=function(){return null!=n.Message.getField(this,5)},proto.lnrpc.OpenStatusUpdate.prototype.getPendingChanId=function(){return n.Message.getFieldWithDefault(this,4,"")},proto.lnrpc.OpenStatusUpdate.prototype.getPendingChanId_asB64=function(){return n.Message.bytesAsB64(this.getPendingChanId())},proto.lnrpc.OpenStatusUpdate.prototype.getPendingChanId_asU8=function(){return n.Message.bytesAsU8(this.getPendingChanId())},proto.lnrpc.OpenStatusUpdate.prototype.setPendingChanId=function(e){n.Message.setField(this,4,e)},proto.lnrpc.KeyLocator=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.KeyLocator,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.KeyLocator.displayName="proto.lnrpc.KeyLocator"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.KeyLocator.prototype.toObject=function(e){return proto.lnrpc.KeyLocator.toObject(e,this)},proto.lnrpc.KeyLocator.toObject=function(e,t){var r={keyFamily:n.Message.getFieldWithDefault(t,1,0),keyIndex:n.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.KeyLocator.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.KeyLocator;return proto.lnrpc.KeyLocator.deserializeBinaryFromReader(r,t)},proto.lnrpc.KeyLocator.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setKeyFamily(r);break;case 2:r=t.readInt32();e.setKeyIndex(r);break;default:t.skipField()}}return e},proto.lnrpc.KeyLocator.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.KeyLocator.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.KeyLocator.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getKeyFamily())&&t.writeInt32(1,r),0!==(r=e.getKeyIndex())&&t.writeInt32(2,r)},proto.lnrpc.KeyLocator.prototype.getKeyFamily=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.KeyLocator.prototype.setKeyFamily=function(e){n.Message.setField(this,1,e)},proto.lnrpc.KeyLocator.prototype.getKeyIndex=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.KeyLocator.prototype.setKeyIndex=function(e){n.Message.setField(this,2,e)},proto.lnrpc.KeyDescriptor=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.KeyDescriptor,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.KeyDescriptor.displayName="proto.lnrpc.KeyDescriptor"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.KeyDescriptor.prototype.toObject=function(e){return proto.lnrpc.KeyDescriptor.toObject(e,this)},proto.lnrpc.KeyDescriptor.toObject=function(e,t){var r,n={rawKeyBytes:t.getRawKeyBytes_asB64(),keyLoc:(r=t.getKeyLoc())&&proto.lnrpc.KeyLocator.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.lnrpc.KeyDescriptor.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.KeyDescriptor;return proto.lnrpc.KeyDescriptor.deserializeBinaryFromReader(r,t)},proto.lnrpc.KeyDescriptor.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setRawKeyBytes(r);break;case 2:r=new proto.lnrpc.KeyLocator;t.readMessage(r,proto.lnrpc.KeyLocator.deserializeBinaryFromReader),e.setKeyLoc(r);break;default:t.skipField()}}return e},proto.lnrpc.KeyDescriptor.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.KeyDescriptor.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.KeyDescriptor.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getRawKeyBytes_asU8()).length>0&&t.writeBytes(1,r),null!=(r=e.getKeyLoc())&&t.writeMessage(2,r,proto.lnrpc.KeyLocator.serializeBinaryToWriter)},proto.lnrpc.KeyDescriptor.prototype.getRawKeyBytes=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.KeyDescriptor.prototype.getRawKeyBytes_asB64=function(){return n.Message.bytesAsB64(this.getRawKeyBytes())},proto.lnrpc.KeyDescriptor.prototype.getRawKeyBytes_asU8=function(){return n.Message.bytesAsU8(this.getRawKeyBytes())},proto.lnrpc.KeyDescriptor.prototype.setRawKeyBytes=function(e){n.Message.setField(this,1,e)},proto.lnrpc.KeyDescriptor.prototype.getKeyLoc=function(){return n.Message.getWrapperField(this,proto.lnrpc.KeyLocator,2)},proto.lnrpc.KeyDescriptor.prototype.setKeyLoc=function(e){n.Message.setWrapperField(this,2,e)},proto.lnrpc.KeyDescriptor.prototype.clearKeyLoc=function(){this.setKeyLoc(void 0)},proto.lnrpc.KeyDescriptor.prototype.hasKeyLoc=function(){return null!=n.Message.getField(this,2)},proto.lnrpc.ChanPointShim=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChanPointShim,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChanPointShim.displayName="proto.lnrpc.ChanPointShim"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChanPointShim.prototype.toObject=function(e){return proto.lnrpc.ChanPointShim.toObject(e,this)},proto.lnrpc.ChanPointShim.toObject=function(e,t){var r,o={amt:n.Message.getFieldWithDefault(t,1,0),chanPoint:(r=t.getChanPoint())&&proto.lnrpc.ChannelPoint.toObject(e,r),localKey:(r=t.getLocalKey())&&proto.lnrpc.KeyDescriptor.toObject(e,r),remoteKey:t.getRemoteKey_asB64(),pendingChanId:t.getPendingChanId_asB64(),thawHeight:n.Message.getFieldWithDefault(t,6,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.ChanPointShim.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChanPointShim;return proto.lnrpc.ChanPointShim.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChanPointShim.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt64();e.setAmt(r);break;case 2:r=new proto.lnrpc.ChannelPoint;t.readMessage(r,proto.lnrpc.ChannelPoint.deserializeBinaryFromReader),e.setChanPoint(r);break;case 3:r=new proto.lnrpc.KeyDescriptor;t.readMessage(r,proto.lnrpc.KeyDescriptor.deserializeBinaryFromReader),e.setLocalKey(r);break;case 4:r=t.readBytes();e.setRemoteKey(r);break;case 5:r=t.readBytes();e.setPendingChanId(r);break;case 6:r=t.readUint32();e.setThawHeight(r);break;default:t.skipField()}}return e},proto.lnrpc.ChanPointShim.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChanPointShim.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChanPointShim.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getAmt())&&t.writeInt64(1,r),null!=(r=e.getChanPoint())&&t.writeMessage(2,r,proto.lnrpc.ChannelPoint.serializeBinaryToWriter),null!=(r=e.getLocalKey())&&t.writeMessage(3,r,proto.lnrpc.KeyDescriptor.serializeBinaryToWriter),(r=e.getRemoteKey_asU8()).length>0&&t.writeBytes(4,r),(r=e.getPendingChanId_asU8()).length>0&&t.writeBytes(5,r),0!==(r=e.getThawHeight())&&t.writeUint32(6,r)},proto.lnrpc.ChanPointShim.prototype.getAmt=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.ChanPointShim.prototype.setAmt=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ChanPointShim.prototype.getChanPoint=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelPoint,2)},proto.lnrpc.ChanPointShim.prototype.setChanPoint=function(e){n.Message.setWrapperField(this,2,e)},proto.lnrpc.ChanPointShim.prototype.clearChanPoint=function(){this.setChanPoint(void 0)},proto.lnrpc.ChanPointShim.prototype.hasChanPoint=function(){return null!=n.Message.getField(this,2)},proto.lnrpc.ChanPointShim.prototype.getLocalKey=function(){return n.Message.getWrapperField(this,proto.lnrpc.KeyDescriptor,3)},proto.lnrpc.ChanPointShim.prototype.setLocalKey=function(e){n.Message.setWrapperField(this,3,e)},proto.lnrpc.ChanPointShim.prototype.clearLocalKey=function(){this.setLocalKey(void 0)},proto.lnrpc.ChanPointShim.prototype.hasLocalKey=function(){return null!=n.Message.getField(this,3)},proto.lnrpc.ChanPointShim.prototype.getRemoteKey=function(){return n.Message.getFieldWithDefault(this,4,"")},proto.lnrpc.ChanPointShim.prototype.getRemoteKey_asB64=function(){return n.Message.bytesAsB64(this.getRemoteKey())},proto.lnrpc.ChanPointShim.prototype.getRemoteKey_asU8=function(){return n.Message.bytesAsU8(this.getRemoteKey())},proto.lnrpc.ChanPointShim.prototype.setRemoteKey=function(e){n.Message.setField(this,4,e)},proto.lnrpc.ChanPointShim.prototype.getPendingChanId=function(){return n.Message.getFieldWithDefault(this,5,"")},proto.lnrpc.ChanPointShim.prototype.getPendingChanId_asB64=function(){return n.Message.bytesAsB64(this.getPendingChanId())},proto.lnrpc.ChanPointShim.prototype.getPendingChanId_asU8=function(){return n.Message.bytesAsU8(this.getPendingChanId())},proto.lnrpc.ChanPointShim.prototype.setPendingChanId=function(e){n.Message.setField(this,5,e)},proto.lnrpc.ChanPointShim.prototype.getThawHeight=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.ChanPointShim.prototype.setThawHeight=function(e){n.Message.setField(this,6,e)},proto.lnrpc.PsbtShim=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.PsbtShim,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.PsbtShim.displayName="proto.lnrpc.PsbtShim"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.PsbtShim.prototype.toObject=function(e){return proto.lnrpc.PsbtShim.toObject(e,this)},proto.lnrpc.PsbtShim.toObject=function(e,t){var r={pendingChanId:t.getPendingChanId_asB64(),basePsbt:t.getBasePsbt_asB64(),noPublish:n.Message.getFieldWithDefault(t,3,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.PsbtShim.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.PsbtShim;return proto.lnrpc.PsbtShim.deserializeBinaryFromReader(r,t)},proto.lnrpc.PsbtShim.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setPendingChanId(r);break;case 2:r=t.readBytes();e.setBasePsbt(r);break;case 3:r=t.readBool();e.setNoPublish(r);break;default:t.skipField()}}return e},proto.lnrpc.PsbtShim.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.PsbtShim.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.PsbtShim.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPendingChanId_asU8()).length>0&&t.writeBytes(1,r),(r=e.getBasePsbt_asU8()).length>0&&t.writeBytes(2,r),(r=e.getNoPublish())&&t.writeBool(3,r)},proto.lnrpc.PsbtShim.prototype.getPendingChanId=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.PsbtShim.prototype.getPendingChanId_asB64=function(){return n.Message.bytesAsB64(this.getPendingChanId())},proto.lnrpc.PsbtShim.prototype.getPendingChanId_asU8=function(){return n.Message.bytesAsU8(this.getPendingChanId())},proto.lnrpc.PsbtShim.prototype.setPendingChanId=function(e){n.Message.setField(this,1,e)},proto.lnrpc.PsbtShim.prototype.getBasePsbt=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.PsbtShim.prototype.getBasePsbt_asB64=function(){return n.Message.bytesAsB64(this.getBasePsbt())},proto.lnrpc.PsbtShim.prototype.getBasePsbt_asU8=function(){return n.Message.bytesAsU8(this.getBasePsbt())},proto.lnrpc.PsbtShim.prototype.setBasePsbt=function(e){n.Message.setField(this,2,e)},proto.lnrpc.PsbtShim.prototype.getNoPublish=function(){return n.Message.getFieldWithDefault(this,3,!1)},proto.lnrpc.PsbtShim.prototype.setNoPublish=function(e){n.Message.setField(this,3,e)},proto.lnrpc.FundingShim=function(e){n.Message.initialize(this,e,0,-1,null,proto.lnrpc.FundingShim.oneofGroups_)},o.inherits(proto.lnrpc.FundingShim,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.FundingShim.displayName="proto.lnrpc.FundingShim"),proto.lnrpc.FundingShim.oneofGroups_=[[1,2]],proto.lnrpc.FundingShim.ShimCase={SHIM_NOT_SET:0,CHAN_POINT_SHIM:1,PSBT_SHIM:2},proto.lnrpc.FundingShim.prototype.getShimCase=function(){return n.Message.computeOneofCase(this,proto.lnrpc.FundingShim.oneofGroups_[0])},n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.FundingShim.prototype.toObject=function(e){return proto.lnrpc.FundingShim.toObject(e,this)},proto.lnrpc.FundingShim.toObject=function(e,t){var r,n={chanPointShim:(r=t.getChanPointShim())&&proto.lnrpc.ChanPointShim.toObject(e,r),psbtShim:(r=t.getPsbtShim())&&proto.lnrpc.PsbtShim.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.lnrpc.FundingShim.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.FundingShim;return proto.lnrpc.FundingShim.deserializeBinaryFromReader(r,t)},proto.lnrpc.FundingShim.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.ChanPointShim;t.readMessage(r,proto.lnrpc.ChanPointShim.deserializeBinaryFromReader),e.setChanPointShim(r);break;case 2:r=new proto.lnrpc.PsbtShim;t.readMessage(r,proto.lnrpc.PsbtShim.deserializeBinaryFromReader),e.setPsbtShim(r);break;default:t.skipField()}}return e},proto.lnrpc.FundingShim.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.FundingShim.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.FundingShim.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getChanPointShim())&&t.writeMessage(1,r,proto.lnrpc.ChanPointShim.serializeBinaryToWriter),null!=(r=e.getPsbtShim())&&t.writeMessage(2,r,proto.lnrpc.PsbtShim.serializeBinaryToWriter)},proto.lnrpc.FundingShim.prototype.getChanPointShim=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChanPointShim,1)},proto.lnrpc.FundingShim.prototype.setChanPointShim=function(e){n.Message.setOneofWrapperField(this,1,proto.lnrpc.FundingShim.oneofGroups_[0],e)},proto.lnrpc.FundingShim.prototype.clearChanPointShim=function(){this.setChanPointShim(void 0)},proto.lnrpc.FundingShim.prototype.hasChanPointShim=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.FundingShim.prototype.getPsbtShim=function(){return n.Message.getWrapperField(this,proto.lnrpc.PsbtShim,2)},proto.lnrpc.FundingShim.prototype.setPsbtShim=function(e){n.Message.setOneofWrapperField(this,2,proto.lnrpc.FundingShim.oneofGroups_[0],e)},proto.lnrpc.FundingShim.prototype.clearPsbtShim=function(){this.setPsbtShim(void 0)},proto.lnrpc.FundingShim.prototype.hasPsbtShim=function(){return null!=n.Message.getField(this,2)},proto.lnrpc.FundingShimCancel=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.FundingShimCancel,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.FundingShimCancel.displayName="proto.lnrpc.FundingShimCancel"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.FundingShimCancel.prototype.toObject=function(e){return proto.lnrpc.FundingShimCancel.toObject(e,this)},proto.lnrpc.FundingShimCancel.toObject=function(e,t){var r={pendingChanId:t.getPendingChanId_asB64()};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.FundingShimCancel.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.FundingShimCancel;return proto.lnrpc.FundingShimCancel.deserializeBinaryFromReader(r,t)},proto.lnrpc.FundingShimCancel.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readBytes();e.setPendingChanId(r)}else t.skipField()}return e},proto.lnrpc.FundingShimCancel.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.FundingShimCancel.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.FundingShimCancel.serializeBinaryToWriter=function(e,t){var r;(r=e.getPendingChanId_asU8()).length>0&&t.writeBytes(1,r)},proto.lnrpc.FundingShimCancel.prototype.getPendingChanId=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.FundingShimCancel.prototype.getPendingChanId_asB64=function(){return n.Message.bytesAsB64(this.getPendingChanId())},proto.lnrpc.FundingShimCancel.prototype.getPendingChanId_asU8=function(){return n.Message.bytesAsU8(this.getPendingChanId())},proto.lnrpc.FundingShimCancel.prototype.setPendingChanId=function(e){n.Message.setField(this,1,e)},proto.lnrpc.FundingPsbtVerify=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.FundingPsbtVerify,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.FundingPsbtVerify.displayName="proto.lnrpc.FundingPsbtVerify"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.FundingPsbtVerify.prototype.toObject=function(e){return proto.lnrpc.FundingPsbtVerify.toObject(e,this)},proto.lnrpc.FundingPsbtVerify.toObject=function(e,t){var r={fundedPsbt:t.getFundedPsbt_asB64(),pendingChanId:t.getPendingChanId_asB64(),skipFinalize:n.Message.getFieldWithDefault(t,3,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.FundingPsbtVerify.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.FundingPsbtVerify;return proto.lnrpc.FundingPsbtVerify.deserializeBinaryFromReader(r,t)},proto.lnrpc.FundingPsbtVerify.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setFundedPsbt(r);break;case 2:r=t.readBytes();e.setPendingChanId(r);break;case 3:r=t.readBool();e.setSkipFinalize(r);break;default:t.skipField()}}return e},proto.lnrpc.FundingPsbtVerify.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.FundingPsbtVerify.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.FundingPsbtVerify.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getFundedPsbt_asU8()).length>0&&t.writeBytes(1,r),(r=e.getPendingChanId_asU8()).length>0&&t.writeBytes(2,r),(r=e.getSkipFinalize())&&t.writeBool(3,r)},proto.lnrpc.FundingPsbtVerify.prototype.getFundedPsbt=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.FundingPsbtVerify.prototype.getFundedPsbt_asB64=function(){return n.Message.bytesAsB64(this.getFundedPsbt())},proto.lnrpc.FundingPsbtVerify.prototype.getFundedPsbt_asU8=function(){return n.Message.bytesAsU8(this.getFundedPsbt())},proto.lnrpc.FundingPsbtVerify.prototype.setFundedPsbt=function(e){n.Message.setField(this,1,e)},proto.lnrpc.FundingPsbtVerify.prototype.getPendingChanId=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.FundingPsbtVerify.prototype.getPendingChanId_asB64=function(){return n.Message.bytesAsB64(this.getPendingChanId())},proto.lnrpc.FundingPsbtVerify.prototype.getPendingChanId_asU8=function(){return n.Message.bytesAsU8(this.getPendingChanId())},proto.lnrpc.FundingPsbtVerify.prototype.setPendingChanId=function(e){n.Message.setField(this,2,e)},proto.lnrpc.FundingPsbtVerify.prototype.getSkipFinalize=function(){return n.Message.getFieldWithDefault(this,3,!1)},proto.lnrpc.FundingPsbtVerify.prototype.setSkipFinalize=function(e){n.Message.setField(this,3,e)},proto.lnrpc.FundingPsbtFinalize=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.FundingPsbtFinalize,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.FundingPsbtFinalize.displayName="proto.lnrpc.FundingPsbtFinalize"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.FundingPsbtFinalize.prototype.toObject=function(e){return proto.lnrpc.FundingPsbtFinalize.toObject(e,this)},proto.lnrpc.FundingPsbtFinalize.toObject=function(e,t){var r={signedPsbt:t.getSignedPsbt_asB64(),pendingChanId:t.getPendingChanId_asB64(),finalRawTx:t.getFinalRawTx_asB64()};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.FundingPsbtFinalize.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.FundingPsbtFinalize;return proto.lnrpc.FundingPsbtFinalize.deserializeBinaryFromReader(r,t)},proto.lnrpc.FundingPsbtFinalize.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setSignedPsbt(r);break;case 2:r=t.readBytes();e.setPendingChanId(r);break;case 3:r=t.readBytes();e.setFinalRawTx(r);break;default:t.skipField()}}return e},proto.lnrpc.FundingPsbtFinalize.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.FundingPsbtFinalize.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.FundingPsbtFinalize.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getSignedPsbt_asU8()).length>0&&t.writeBytes(1,r),(r=e.getPendingChanId_asU8()).length>0&&t.writeBytes(2,r),(r=e.getFinalRawTx_asU8()).length>0&&t.writeBytes(3,r)},proto.lnrpc.FundingPsbtFinalize.prototype.getSignedPsbt=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.FundingPsbtFinalize.prototype.getSignedPsbt_asB64=function(){return n.Message.bytesAsB64(this.getSignedPsbt())},proto.lnrpc.FundingPsbtFinalize.prototype.getSignedPsbt_asU8=function(){return n.Message.bytesAsU8(this.getSignedPsbt())},proto.lnrpc.FundingPsbtFinalize.prototype.setSignedPsbt=function(e){n.Message.setField(this,1,e)},proto.lnrpc.FundingPsbtFinalize.prototype.getPendingChanId=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.FundingPsbtFinalize.prototype.getPendingChanId_asB64=function(){return n.Message.bytesAsB64(this.getPendingChanId())},proto.lnrpc.FundingPsbtFinalize.prototype.getPendingChanId_asU8=function(){return n.Message.bytesAsU8(this.getPendingChanId())},proto.lnrpc.FundingPsbtFinalize.prototype.setPendingChanId=function(e){n.Message.setField(this,2,e)},proto.lnrpc.FundingPsbtFinalize.prototype.getFinalRawTx=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.FundingPsbtFinalize.prototype.getFinalRawTx_asB64=function(){return n.Message.bytesAsB64(this.getFinalRawTx())},proto.lnrpc.FundingPsbtFinalize.prototype.getFinalRawTx_asU8=function(){return n.Message.bytesAsU8(this.getFinalRawTx())},proto.lnrpc.FundingPsbtFinalize.prototype.setFinalRawTx=function(e){n.Message.setField(this,3,e)},proto.lnrpc.FundingTransitionMsg=function(e){n.Message.initialize(this,e,0,-1,null,proto.lnrpc.FundingTransitionMsg.oneofGroups_)},o.inherits(proto.lnrpc.FundingTransitionMsg,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.FundingTransitionMsg.displayName="proto.lnrpc.FundingTransitionMsg"),proto.lnrpc.FundingTransitionMsg.oneofGroups_=[[1,2,3,4]],proto.lnrpc.FundingTransitionMsg.TriggerCase={TRIGGER_NOT_SET:0,SHIM_REGISTER:1,SHIM_CANCEL:2,PSBT_VERIFY:3,PSBT_FINALIZE:4},proto.lnrpc.FundingTransitionMsg.prototype.getTriggerCase=function(){return n.Message.computeOneofCase(this,proto.lnrpc.FundingTransitionMsg.oneofGroups_[0])},n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.FundingTransitionMsg.prototype.toObject=function(e){return proto.lnrpc.FundingTransitionMsg.toObject(e,this)},proto.lnrpc.FundingTransitionMsg.toObject=function(e,t){var r,n={shimRegister:(r=t.getShimRegister())&&proto.lnrpc.FundingShim.toObject(e,r),shimCancel:(r=t.getShimCancel())&&proto.lnrpc.FundingShimCancel.toObject(e,r),psbtVerify:(r=t.getPsbtVerify())&&proto.lnrpc.FundingPsbtVerify.toObject(e,r),psbtFinalize:(r=t.getPsbtFinalize())&&proto.lnrpc.FundingPsbtFinalize.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.lnrpc.FundingTransitionMsg.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.FundingTransitionMsg;return proto.lnrpc.FundingTransitionMsg.deserializeBinaryFromReader(r,t)},proto.lnrpc.FundingTransitionMsg.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.FundingShim;t.readMessage(r,proto.lnrpc.FundingShim.deserializeBinaryFromReader),e.setShimRegister(r);break;case 2:r=new proto.lnrpc.FundingShimCancel;t.readMessage(r,proto.lnrpc.FundingShimCancel.deserializeBinaryFromReader),e.setShimCancel(r);break;case 3:r=new proto.lnrpc.FundingPsbtVerify;t.readMessage(r,proto.lnrpc.FundingPsbtVerify.deserializeBinaryFromReader),e.setPsbtVerify(r);break;case 4:r=new proto.lnrpc.FundingPsbtFinalize;t.readMessage(r,proto.lnrpc.FundingPsbtFinalize.deserializeBinaryFromReader),e.setPsbtFinalize(r);break;default:t.skipField()}}return e},proto.lnrpc.FundingTransitionMsg.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.FundingTransitionMsg.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.FundingTransitionMsg.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getShimRegister())&&t.writeMessage(1,r,proto.lnrpc.FundingShim.serializeBinaryToWriter),null!=(r=e.getShimCancel())&&t.writeMessage(2,r,proto.lnrpc.FundingShimCancel.serializeBinaryToWriter),null!=(r=e.getPsbtVerify())&&t.writeMessage(3,r,proto.lnrpc.FundingPsbtVerify.serializeBinaryToWriter),null!=(r=e.getPsbtFinalize())&&t.writeMessage(4,r,proto.lnrpc.FundingPsbtFinalize.serializeBinaryToWriter)};proto.lnrpc.FundingTransitionMsg.prototype.getShimRegister=function(){return n.Message.getWrapperField(this,proto.lnrpc.FundingShim,1)},proto.lnrpc.FundingTransitionMsg.prototype.setShimRegister=function(e){n.Message.setOneofWrapperField(this,1,proto.lnrpc.FundingTransitionMsg.oneofGroups_[0],e)},proto.lnrpc.FundingTransitionMsg.prototype.clearShimRegister=function(){this.setShimRegister(void 0)},proto.lnrpc.FundingTransitionMsg.prototype.hasShimRegister=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.FundingTransitionMsg.prototype.getShimCancel=function(){return n.Message.getWrapperField(this,proto.lnrpc.FundingShimCancel,2)},proto.lnrpc.FundingTransitionMsg.prototype.setShimCancel=function(e){n.Message.setOneofWrapperField(this,2,proto.lnrpc.FundingTransitionMsg.oneofGroups_[0],e)},proto.lnrpc.FundingTransitionMsg.prototype.clearShimCancel=function(){this.setShimCancel(void 0)},proto.lnrpc.FundingTransitionMsg.prototype.hasShimCancel=function(){return null!=n.Message.getField(this,2)},proto.lnrpc.FundingTransitionMsg.prototype.getPsbtVerify=function(){return n.Message.getWrapperField(this,proto.lnrpc.FundingPsbtVerify,3)},proto.lnrpc.FundingTransitionMsg.prototype.setPsbtVerify=function(e){n.Message.setOneofWrapperField(this,3,proto.lnrpc.FundingTransitionMsg.oneofGroups_[0],e)},proto.lnrpc.FundingTransitionMsg.prototype.clearPsbtVerify=function(){this.setPsbtVerify(void 0)},proto.lnrpc.FundingTransitionMsg.prototype.hasPsbtVerify=function(){return null!=n.Message.getField(this,3)},proto.lnrpc.FundingTransitionMsg.prototype.getPsbtFinalize=function(){return n.Message.getWrapperField(this,proto.lnrpc.FundingPsbtFinalize,4)},proto.lnrpc.FundingTransitionMsg.prototype.setPsbtFinalize=function(e){n.Message.setOneofWrapperField(this,4,proto.lnrpc.FundingTransitionMsg.oneofGroups_[0],e)},proto.lnrpc.FundingTransitionMsg.prototype.clearPsbtFinalize=function(){this.setPsbtFinalize(void 0)},proto.lnrpc.FundingTransitionMsg.prototype.hasPsbtFinalize=function(){return null!=n.Message.getField(this,4)},proto.lnrpc.FundingStateStepResp=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.FundingStateStepResp,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.FundingStateStepResp.displayName="proto.lnrpc.FundingStateStepResp"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.FundingStateStepResp.prototype.toObject=function(e){return proto.lnrpc.FundingStateStepResp.toObject(e,this)},proto.lnrpc.FundingStateStepResp.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.FundingStateStepResp.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.FundingStateStepResp;return proto.lnrpc.FundingStateStepResp.deserializeBinaryFromReader(r,t)},proto.lnrpc.FundingStateStepResp.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.FundingStateStepResp.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.FundingStateStepResp.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.FundingStateStepResp.serializeBinaryToWriter=function(e,t){},proto.lnrpc.PendingHTLC=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.PendingHTLC,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.PendingHTLC.displayName="proto.lnrpc.PendingHTLC"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.PendingHTLC.prototype.toObject=function(e){return proto.lnrpc.PendingHTLC.toObject(e,this)},proto.lnrpc.PendingHTLC.toObject=function(e,t){var r={incoming:n.Message.getFieldWithDefault(t,1,!1),amount:n.Message.getFieldWithDefault(t,2,0),outpoint:n.Message.getFieldWithDefault(t,3,""),maturityHeight:n.Message.getFieldWithDefault(t,4,0),blocksTilMaturity:n.Message.getFieldWithDefault(t,5,0),stage:n.Message.getFieldWithDefault(t,6,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.PendingHTLC.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.PendingHTLC;return proto.lnrpc.PendingHTLC.deserializeBinaryFromReader(r,t)},proto.lnrpc.PendingHTLC.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBool();e.setIncoming(r);break;case 2:r=t.readInt64();e.setAmount(r);break;case 3:r=t.readString();e.setOutpoint(r);break;case 4:r=t.readUint32();e.setMaturityHeight(r);break;case 5:r=t.readInt32();e.setBlocksTilMaturity(r);break;case 6:r=t.readUint32();e.setStage(r);break;default:t.skipField()}}return e},proto.lnrpc.PendingHTLC.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.PendingHTLC.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.PendingHTLC.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getIncoming())&&t.writeBool(1,r),0!==(r=e.getAmount())&&t.writeInt64(2,r),(r=e.getOutpoint()).length>0&&t.writeString(3,r),0!==(r=e.getMaturityHeight())&&t.writeUint32(4,r),0!==(r=e.getBlocksTilMaturity())&&t.writeInt32(5,r),0!==(r=e.getStage())&&t.writeUint32(6,r)},proto.lnrpc.PendingHTLC.prototype.getIncoming=function(){return n.Message.getFieldWithDefault(this,1,!1)},proto.lnrpc.PendingHTLC.prototype.setIncoming=function(e){n.Message.setField(this,1,e)},proto.lnrpc.PendingHTLC.prototype.getAmount=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.PendingHTLC.prototype.setAmount=function(e){n.Message.setField(this,2,e)},proto.lnrpc.PendingHTLC.prototype.getOutpoint=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.PendingHTLC.prototype.setOutpoint=function(e){n.Message.setField(this,3,e)},proto.lnrpc.PendingHTLC.prototype.getMaturityHeight=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.PendingHTLC.prototype.setMaturityHeight=function(e){n.Message.setField(this,4,e)},proto.lnrpc.PendingHTLC.prototype.getBlocksTilMaturity=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.PendingHTLC.prototype.setBlocksTilMaturity=function(e){n.Message.setField(this,5,e)},proto.lnrpc.PendingHTLC.prototype.getStage=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.PendingHTLC.prototype.setStage=function(e){n.Message.setField(this,6,e)},proto.lnrpc.PendingChannelsRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.PendingChannelsRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.PendingChannelsRequest.displayName="proto.lnrpc.PendingChannelsRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.PendingChannelsRequest.prototype.toObject=function(e){return proto.lnrpc.PendingChannelsRequest.toObject(e,this)},proto.lnrpc.PendingChannelsRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.PendingChannelsRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.PendingChannelsRequest;return proto.lnrpc.PendingChannelsRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.PendingChannelsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.PendingChannelsRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.PendingChannelsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.PendingChannelsRequest.serializeBinaryToWriter=function(e,t){},proto.lnrpc.PendingChannelsResponse=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.PendingChannelsResponse.repeatedFields_,null)},o.inherits(proto.lnrpc.PendingChannelsResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.PendingChannelsResponse.displayName="proto.lnrpc.PendingChannelsResponse"),proto.lnrpc.PendingChannelsResponse.repeatedFields_=[2,3,4,5],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.PendingChannelsResponse.prototype.toObject=function(e){return proto.lnrpc.PendingChannelsResponse.toObject(e,this)},proto.lnrpc.PendingChannelsResponse.toObject=function(e,t){var r={totalLimboBalance:n.Message.getFieldWithDefault(t,1,0),pendingOpenChannelsList:n.Message.toObjectList(t.getPendingOpenChannelsList(),proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.toObject,e),pendingClosingChannelsList:n.Message.toObjectList(t.getPendingClosingChannelsList(),proto.lnrpc.PendingChannelsResponse.ClosedChannel.toObject,e),pendingForceClosingChannelsList:n.Message.toObjectList(t.getPendingForceClosingChannelsList(),proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.toObject,e),waitingCloseChannelsList:n.Message.toObjectList(t.getWaitingCloseChannelsList(),proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.PendingChannelsResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.PendingChannelsResponse;return proto.lnrpc.PendingChannelsResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.PendingChannelsResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt64();e.setTotalLimboBalance(r);break;case 2:r=new proto.lnrpc.PendingChannelsResponse.PendingOpenChannel;t.readMessage(r,proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.deserializeBinaryFromReader),e.addPendingOpenChannels(r);break;case 3:r=new proto.lnrpc.PendingChannelsResponse.ClosedChannel;t.readMessage(r,proto.lnrpc.PendingChannelsResponse.ClosedChannel.deserializeBinaryFromReader),e.addPendingClosingChannels(r);break;case 4:r=new proto.lnrpc.PendingChannelsResponse.ForceClosedChannel;t.readMessage(r,proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.deserializeBinaryFromReader),e.addPendingForceClosingChannels(r);break;case 5:r=new proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel;t.readMessage(r,proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.deserializeBinaryFromReader),e.addWaitingCloseChannels(r);break;default:t.skipField()}}return e},proto.lnrpc.PendingChannelsResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.PendingChannelsResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.PendingChannelsResponse.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getTotalLimboBalance())&&t.writeInt64(1,r),(r=e.getPendingOpenChannelsList()).length>0&&t.writeRepeatedMessage(2,r,proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.serializeBinaryToWriter),(r=e.getPendingClosingChannelsList()).length>0&&t.writeRepeatedMessage(3,r,proto.lnrpc.PendingChannelsResponse.ClosedChannel.serializeBinaryToWriter),(r=e.getPendingForceClosingChannelsList()).length>0&&t.writeRepeatedMessage(4,r,proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.serializeBinaryToWriter),(r=e.getWaitingCloseChannelsList()).length>0&&t.writeRepeatedMessage(5,r,proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.serializeBinaryToWriter)},proto.lnrpc.PendingChannelsResponse.PendingChannel=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.PendingChannelsResponse.PendingChannel,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.PendingChannelsResponse.PendingChannel.displayName="proto.lnrpc.PendingChannelsResponse.PendingChannel"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.toObject=function(e){return proto.lnrpc.PendingChannelsResponse.PendingChannel.toObject(e,this)},proto.lnrpc.PendingChannelsResponse.PendingChannel.toObject=function(e,t){var r={remoteNodePub:n.Message.getFieldWithDefault(t,1,""),channelPoint:n.Message.getFieldWithDefault(t,2,""),capacity:n.Message.getFieldWithDefault(t,3,0),localBalance:n.Message.getFieldWithDefault(t,4,0),remoteBalance:n.Message.getFieldWithDefault(t,5,0),localChanReserveSat:n.Message.getFieldWithDefault(t,6,0),remoteChanReserveSat:n.Message.getFieldWithDefault(t,7,0),initiator:n.Message.getFieldWithDefault(t,8,0),commitmentType:n.Message.getFieldWithDefault(t,9,0),numForwardingPackages:n.Message.getFieldWithDefault(t,10,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.PendingChannelsResponse.PendingChannel.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.PendingChannelsResponse.PendingChannel;return proto.lnrpc.PendingChannelsResponse.PendingChannel.deserializeBinaryFromReader(r,t)},proto.lnrpc.PendingChannelsResponse.PendingChannel.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setRemoteNodePub(r);break;case 2:r=t.readString();e.setChannelPoint(r);break;case 3:r=t.readInt64();e.setCapacity(r);break;case 4:r=t.readInt64();e.setLocalBalance(r);break;case 5:r=t.readInt64();e.setRemoteBalance(r);break;case 6:r=t.readInt64();e.setLocalChanReserveSat(r);break;case 7:r=t.readInt64();e.setRemoteChanReserveSat(r);break;case 8:r=t.readEnum();e.setInitiator(r);break;case 9:r=t.readEnum();e.setCommitmentType(r);break;case 10:r=t.readInt64();e.setNumForwardingPackages(r);break;default:t.skipField()}}return e},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.PendingChannelsResponse.PendingChannel.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.PendingChannelsResponse.PendingChannel.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getRemoteNodePub()).length>0&&t.writeString(1,r),(r=e.getChannelPoint()).length>0&&t.writeString(2,r),0!==(r=e.getCapacity())&&t.writeInt64(3,r),0!==(r=e.getLocalBalance())&&t.writeInt64(4,r),0!==(r=e.getRemoteBalance())&&t.writeInt64(5,r),0!==(r=e.getLocalChanReserveSat())&&t.writeInt64(6,r),0!==(r=e.getRemoteChanReserveSat())&&t.writeInt64(7,r),0!==(r=e.getInitiator())&&t.writeEnum(8,r),0!==(r=e.getCommitmentType())&&t.writeEnum(9,r),0!==(r=e.getNumForwardingPackages())&&t.writeInt64(10,r)},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.getRemoteNodePub=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.setRemoteNodePub=function(e){n.Message.setField(this,1,e)},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.getChannelPoint=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.setChannelPoint=function(e){n.Message.setField(this,2,e)},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.getCapacity=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.setCapacity=function(e){n.Message.setField(this,3,e)},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.getLocalBalance=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.setLocalBalance=function(e){n.Message.setField(this,4,e)},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.getRemoteBalance=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.setRemoteBalance=function(e){n.Message.setField(this,5,e)},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.getLocalChanReserveSat=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.setLocalChanReserveSat=function(e){n.Message.setField(this,6,e)},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.getRemoteChanReserveSat=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.setRemoteChanReserveSat=function(e){n.Message.setField(this,7,e)},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.getInitiator=function(){return n.Message.getFieldWithDefault(this,8,0)},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.setInitiator=function(e){n.Message.setField(this,8,e)},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.getCommitmentType=function(){return n.Message.getFieldWithDefault(this,9,0)},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.setCommitmentType=function(e){n.Message.setField(this,9,e)},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.getNumForwardingPackages=function(){return n.Message.getFieldWithDefault(this,10,0)},proto.lnrpc.PendingChannelsResponse.PendingChannel.prototype.setNumForwardingPackages=function(e){n.Message.setField(this,10,e)},proto.lnrpc.PendingChannelsResponse.PendingOpenChannel=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.PendingChannelsResponse.PendingOpenChannel,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.displayName="proto.lnrpc.PendingChannelsResponse.PendingOpenChannel"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.prototype.toObject=function(e){return proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.toObject(e,this)},proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.toObject=function(e,t){var r,o={channel:(r=t.getChannel())&&proto.lnrpc.PendingChannelsResponse.PendingChannel.toObject(e,r),confirmationHeight:n.Message.getFieldWithDefault(t,2,0),commitFee:n.Message.getFieldWithDefault(t,4,0),commitWeight:n.Message.getFieldWithDefault(t,5,0),feePerKw:n.Message.getFieldWithDefault(t,6,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.PendingChannelsResponse.PendingOpenChannel;return proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.deserializeBinaryFromReader(r,t)},proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.PendingChannelsResponse.PendingChannel;t.readMessage(r,proto.lnrpc.PendingChannelsResponse.PendingChannel.deserializeBinaryFromReader),e.setChannel(r);break;case 2:r=t.readUint32();e.setConfirmationHeight(r);break;case 4:r=t.readInt64();e.setCommitFee(r);break;case 5:r=t.readInt64();e.setCommitWeight(r);break;case 6:r=t.readInt64();e.setFeePerKw(r);break;default:t.skipField()}}return e},proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getChannel())&&t.writeMessage(1,r,proto.lnrpc.PendingChannelsResponse.PendingChannel.serializeBinaryToWriter),0!==(r=e.getConfirmationHeight())&&t.writeUint32(2,r),0!==(r=e.getCommitFee())&&t.writeInt64(4,r),0!==(r=e.getCommitWeight())&&t.writeInt64(5,r),0!==(r=e.getFeePerKw())&&t.writeInt64(6,r)},proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.prototype.getChannel=function(){return n.Message.getWrapperField(this,proto.lnrpc.PendingChannelsResponse.PendingChannel,1)},proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.prototype.setChannel=function(e){n.Message.setWrapperField(this,1,e)},proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.prototype.clearChannel=function(){this.setChannel(void 0)},proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.prototype.hasChannel=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.prototype.getConfirmationHeight=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.prototype.setConfirmationHeight=function(e){n.Message.setField(this,2,e)},proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.prototype.getCommitFee=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.prototype.setCommitFee=function(e){n.Message.setField(this,4,e)},proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.prototype.getCommitWeight=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.prototype.setCommitWeight=function(e){n.Message.setField(this,5,e)},proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.prototype.getFeePerKw=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.PendingChannelsResponse.PendingOpenChannel.prototype.setFeePerKw=function(e){n.Message.setField(this,6,e)},proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.displayName="proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.prototype.toObject=function(e){return proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.toObject(e,this)},proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.toObject=function(e,t){var r,o={channel:(r=t.getChannel())&&proto.lnrpc.PendingChannelsResponse.PendingChannel.toObject(e,r),limboBalance:n.Message.getFieldWithDefault(t,2,0),commitments:(r=t.getCommitments())&&proto.lnrpc.PendingChannelsResponse.Commitments.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel;return proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.deserializeBinaryFromReader(r,t)},proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.PendingChannelsResponse.PendingChannel;t.readMessage(r,proto.lnrpc.PendingChannelsResponse.PendingChannel.deserializeBinaryFromReader),e.setChannel(r);break;case 2:r=t.readInt64();e.setLimboBalance(r);break;case 3:r=new proto.lnrpc.PendingChannelsResponse.Commitments;t.readMessage(r,proto.lnrpc.PendingChannelsResponse.Commitments.deserializeBinaryFromReader),e.setCommitments(r);break;default:t.skipField()}}return e},proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getChannel())&&t.writeMessage(1,r,proto.lnrpc.PendingChannelsResponse.PendingChannel.serializeBinaryToWriter),0!==(r=e.getLimboBalance())&&t.writeInt64(2,r),null!=(r=e.getCommitments())&&t.writeMessage(3,r,proto.lnrpc.PendingChannelsResponse.Commitments.serializeBinaryToWriter)},proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.prototype.getChannel=function(){return n.Message.getWrapperField(this,proto.lnrpc.PendingChannelsResponse.PendingChannel,1)},proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.prototype.setChannel=function(e){n.Message.setWrapperField(this,1,e)},proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.prototype.clearChannel=function(){this.setChannel(void 0)},proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.prototype.hasChannel=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.prototype.getLimboBalance=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.prototype.setLimboBalance=function(e){n.Message.setField(this,2,e)},proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.prototype.getCommitments=function(){return n.Message.getWrapperField(this,proto.lnrpc.PendingChannelsResponse.Commitments,3)},proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.prototype.setCommitments=function(e){n.Message.setWrapperField(this,3,e)},proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.prototype.clearCommitments=function(){this.setCommitments(void 0)},proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel.prototype.hasCommitments=function(){return null!=n.Message.getField(this,3)},proto.lnrpc.PendingChannelsResponse.Commitments=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.PendingChannelsResponse.Commitments,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.PendingChannelsResponse.Commitments.displayName="proto.lnrpc.PendingChannelsResponse.Commitments"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.PendingChannelsResponse.Commitments.prototype.toObject=function(e){return proto.lnrpc.PendingChannelsResponse.Commitments.toObject(e,this)},proto.lnrpc.PendingChannelsResponse.Commitments.toObject=function(e,t){var r={localTxid:n.Message.getFieldWithDefault(t,1,""),remoteTxid:n.Message.getFieldWithDefault(t,2,""),remotePendingTxid:n.Message.getFieldWithDefault(t,3,""),localCommitFeeSat:n.Message.getFieldWithDefault(t,4,0),remoteCommitFeeSat:n.Message.getFieldWithDefault(t,5,0),remotePendingCommitFeeSat:n.Message.getFieldWithDefault(t,6,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.PendingChannelsResponse.Commitments.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.PendingChannelsResponse.Commitments;return proto.lnrpc.PendingChannelsResponse.Commitments.deserializeBinaryFromReader(r,t)},proto.lnrpc.PendingChannelsResponse.Commitments.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setLocalTxid(r);break;case 2:r=t.readString();e.setRemoteTxid(r);break;case 3:r=t.readString();e.setRemotePendingTxid(r);break;case 4:r=t.readUint64();e.setLocalCommitFeeSat(r);break;case 5:r=t.readUint64();e.setRemoteCommitFeeSat(r);break;case 6:r=t.readUint64();e.setRemotePendingCommitFeeSat(r);break;default:t.skipField()}}return e},proto.lnrpc.PendingChannelsResponse.Commitments.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.PendingChannelsResponse.Commitments.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.PendingChannelsResponse.Commitments.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getLocalTxid()).length>0&&t.writeString(1,r),(r=e.getRemoteTxid()).length>0&&t.writeString(2,r),(r=e.getRemotePendingTxid()).length>0&&t.writeString(3,r),0!==(r=e.getLocalCommitFeeSat())&&t.writeUint64(4,r),0!==(r=e.getRemoteCommitFeeSat())&&t.writeUint64(5,r),0!==(r=e.getRemotePendingCommitFeeSat())&&t.writeUint64(6,r)},proto.lnrpc.PendingChannelsResponse.Commitments.prototype.getLocalTxid=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.PendingChannelsResponse.Commitments.prototype.setLocalTxid=function(e){n.Message.setField(this,1,e)},proto.lnrpc.PendingChannelsResponse.Commitments.prototype.getRemoteTxid=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.PendingChannelsResponse.Commitments.prototype.setRemoteTxid=function(e){n.Message.setField(this,2,e)},proto.lnrpc.PendingChannelsResponse.Commitments.prototype.getRemotePendingTxid=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.PendingChannelsResponse.Commitments.prototype.setRemotePendingTxid=function(e){n.Message.setField(this,3,e)},proto.lnrpc.PendingChannelsResponse.Commitments.prototype.getLocalCommitFeeSat=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.PendingChannelsResponse.Commitments.prototype.setLocalCommitFeeSat=function(e){n.Message.setField(this,4,e)},proto.lnrpc.PendingChannelsResponse.Commitments.prototype.getRemoteCommitFeeSat=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.PendingChannelsResponse.Commitments.prototype.setRemoteCommitFeeSat=function(e){n.Message.setField(this,5,e)},proto.lnrpc.PendingChannelsResponse.Commitments.prototype.getRemotePendingCommitFeeSat=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.PendingChannelsResponse.Commitments.prototype.setRemotePendingCommitFeeSat=function(e){n.Message.setField(this,6,e)},proto.lnrpc.PendingChannelsResponse.ClosedChannel=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.PendingChannelsResponse.ClosedChannel,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.PendingChannelsResponse.ClosedChannel.displayName="proto.lnrpc.PendingChannelsResponse.ClosedChannel"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.PendingChannelsResponse.ClosedChannel.prototype.toObject=function(e){return proto.lnrpc.PendingChannelsResponse.ClosedChannel.toObject(e,this)},proto.lnrpc.PendingChannelsResponse.ClosedChannel.toObject=function(e,t){var r,o={channel:(r=t.getChannel())&&proto.lnrpc.PendingChannelsResponse.PendingChannel.toObject(e,r),closingTxid:n.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.PendingChannelsResponse.ClosedChannel.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.PendingChannelsResponse.ClosedChannel;return proto.lnrpc.PendingChannelsResponse.ClosedChannel.deserializeBinaryFromReader(r,t)},proto.lnrpc.PendingChannelsResponse.ClosedChannel.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.PendingChannelsResponse.PendingChannel;t.readMessage(r,proto.lnrpc.PendingChannelsResponse.PendingChannel.deserializeBinaryFromReader),e.setChannel(r);break;case 2:r=t.readString();e.setClosingTxid(r);break;default:t.skipField()}}return e},proto.lnrpc.PendingChannelsResponse.ClosedChannel.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.PendingChannelsResponse.ClosedChannel.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.PendingChannelsResponse.ClosedChannel.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getChannel())&&t.writeMessage(1,r,proto.lnrpc.PendingChannelsResponse.PendingChannel.serializeBinaryToWriter),(r=e.getClosingTxid()).length>0&&t.writeString(2,r)},proto.lnrpc.PendingChannelsResponse.ClosedChannel.prototype.getChannel=function(){return n.Message.getWrapperField(this,proto.lnrpc.PendingChannelsResponse.PendingChannel,1)},proto.lnrpc.PendingChannelsResponse.ClosedChannel.prototype.setChannel=function(e){n.Message.setWrapperField(this,1,e)},proto.lnrpc.PendingChannelsResponse.ClosedChannel.prototype.clearChannel=function(){this.setChannel(void 0)},proto.lnrpc.PendingChannelsResponse.ClosedChannel.prototype.hasChannel=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.PendingChannelsResponse.ClosedChannel.prototype.getClosingTxid=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.PendingChannelsResponse.ClosedChannel.prototype.setClosingTxid=function(e){n.Message.setField(this,2,e)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.repeatedFields_,null)},o.inherits(proto.lnrpc.PendingChannelsResponse.ForceClosedChannel,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.displayName="proto.lnrpc.PendingChannelsResponse.ForceClosedChannel"),proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.repeatedFields_=[8],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.toObject=function(e){return proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.toObject(e,this)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.toObject=function(e,t){var r,o={channel:(r=t.getChannel())&&proto.lnrpc.PendingChannelsResponse.PendingChannel.toObject(e,r),closingTxid:n.Message.getFieldWithDefault(t,2,""),limboBalance:n.Message.getFieldWithDefault(t,3,0),maturityHeight:n.Message.getFieldWithDefault(t,4,0),blocksTilMaturity:n.Message.getFieldWithDefault(t,5,0),recoveredBalance:n.Message.getFieldWithDefault(t,6,0),pendingHtlcsList:n.Message.toObjectList(t.getPendingHtlcsList(),proto.lnrpc.PendingHTLC.toObject,e),anchor:n.Message.getFieldWithDefault(t,9,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.PendingChannelsResponse.ForceClosedChannel;return proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.deserializeBinaryFromReader(r,t)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.PendingChannelsResponse.PendingChannel;t.readMessage(r,proto.lnrpc.PendingChannelsResponse.PendingChannel.deserializeBinaryFromReader),e.setChannel(r);break;case 2:r=t.readString();e.setClosingTxid(r);break;case 3:r=t.readInt64();e.setLimboBalance(r);break;case 4:r=t.readUint32();e.setMaturityHeight(r);break;case 5:r=t.readInt32();e.setBlocksTilMaturity(r);break;case 6:r=t.readInt64();e.setRecoveredBalance(r);break;case 8:r=new proto.lnrpc.PendingHTLC;t.readMessage(r,proto.lnrpc.PendingHTLC.deserializeBinaryFromReader),e.addPendingHtlcs(r);break;case 9:r=t.readEnum();e.setAnchor(r);break;default:t.skipField()}}return e},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getChannel())&&t.writeMessage(1,r,proto.lnrpc.PendingChannelsResponse.PendingChannel.serializeBinaryToWriter),(r=e.getClosingTxid()).length>0&&t.writeString(2,r),0!==(r=e.getLimboBalance())&&t.writeInt64(3,r),0!==(r=e.getMaturityHeight())&&t.writeUint32(4,r),0!==(r=e.getBlocksTilMaturity())&&t.writeInt32(5,r),0!==(r=e.getRecoveredBalance())&&t.writeInt64(6,r),(r=e.getPendingHtlcsList()).length>0&&t.writeRepeatedMessage(8,r,proto.lnrpc.PendingHTLC.serializeBinaryToWriter),0!==(r=e.getAnchor())&&t.writeEnum(9,r)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState={LIMBO:0,RECOVERED:1,LOST:2},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.getChannel=function(){return n.Message.getWrapperField(this,proto.lnrpc.PendingChannelsResponse.PendingChannel,1)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.setChannel=function(e){n.Message.setWrapperField(this,1,e)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.clearChannel=function(){this.setChannel(void 0)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.hasChannel=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.getClosingTxid=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.setClosingTxid=function(e){n.Message.setField(this,2,e)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.getLimboBalance=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.setLimboBalance=function(e){n.Message.setField(this,3,e)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.getMaturityHeight=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.setMaturityHeight=function(e){n.Message.setField(this,4,e)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.getBlocksTilMaturity=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.setBlocksTilMaturity=function(e){n.Message.setField(this,5,e)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.getRecoveredBalance=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.setRecoveredBalance=function(e){n.Message.setField(this,6,e)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.getPendingHtlcsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.PendingHTLC,8)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.setPendingHtlcsList=function(e){n.Message.setRepeatedWrapperField(this,8,e)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.addPendingHtlcs=function(e,t){return n.Message.addToRepeatedWrapperField(this,8,e,proto.lnrpc.PendingHTLC,t)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.clearPendingHtlcsList=function(){this.setPendingHtlcsList([])},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.getAnchor=function(){return n.Message.getFieldWithDefault(this,9,0)},proto.lnrpc.PendingChannelsResponse.ForceClosedChannel.prototype.setAnchor=function(e){n.Message.setField(this,9,e)},proto.lnrpc.PendingChannelsResponse.prototype.getTotalLimboBalance=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.PendingChannelsResponse.prototype.setTotalLimboBalance=function(e){n.Message.setField(this,1,e)},proto.lnrpc.PendingChannelsResponse.prototype.getPendingOpenChannelsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.PendingChannelsResponse.PendingOpenChannel,2)},proto.lnrpc.PendingChannelsResponse.prototype.setPendingOpenChannelsList=function(e){n.Message.setRepeatedWrapperField(this,2,e)},proto.lnrpc.PendingChannelsResponse.prototype.addPendingOpenChannels=function(e,t){return n.Message.addToRepeatedWrapperField(this,2,e,proto.lnrpc.PendingChannelsResponse.PendingOpenChannel,t)},proto.lnrpc.PendingChannelsResponse.prototype.clearPendingOpenChannelsList=function(){this.setPendingOpenChannelsList([])},proto.lnrpc.PendingChannelsResponse.prototype.getPendingClosingChannelsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.PendingChannelsResponse.ClosedChannel,3)},proto.lnrpc.PendingChannelsResponse.prototype.setPendingClosingChannelsList=function(e){n.Message.setRepeatedWrapperField(this,3,e)},proto.lnrpc.PendingChannelsResponse.prototype.addPendingClosingChannels=function(e,t){return n.Message.addToRepeatedWrapperField(this,3,e,proto.lnrpc.PendingChannelsResponse.ClosedChannel,t)},proto.lnrpc.PendingChannelsResponse.prototype.clearPendingClosingChannelsList=function(){this.setPendingClosingChannelsList([])},proto.lnrpc.PendingChannelsResponse.prototype.getPendingForceClosingChannelsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.PendingChannelsResponse.ForceClosedChannel,4)},proto.lnrpc.PendingChannelsResponse.prototype.setPendingForceClosingChannelsList=function(e){n.Message.setRepeatedWrapperField(this,4,e)},proto.lnrpc.PendingChannelsResponse.prototype.addPendingForceClosingChannels=function(e,t){return n.Message.addToRepeatedWrapperField(this,4,e,proto.lnrpc.PendingChannelsResponse.ForceClosedChannel,t)},proto.lnrpc.PendingChannelsResponse.prototype.clearPendingForceClosingChannelsList=function(){this.setPendingForceClosingChannelsList([])},proto.lnrpc.PendingChannelsResponse.prototype.getWaitingCloseChannelsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel,5)},proto.lnrpc.PendingChannelsResponse.prototype.setWaitingCloseChannelsList=function(e){n.Message.setRepeatedWrapperField(this,5,e)},proto.lnrpc.PendingChannelsResponse.prototype.addWaitingCloseChannels=function(e,t){return n.Message.addToRepeatedWrapperField(this,5,e,proto.lnrpc.PendingChannelsResponse.WaitingCloseChannel,t)},proto.lnrpc.PendingChannelsResponse.prototype.clearWaitingCloseChannelsList=function(){this.setWaitingCloseChannelsList([])},proto.lnrpc.ChannelEventSubscription=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChannelEventSubscription,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelEventSubscription.displayName="proto.lnrpc.ChannelEventSubscription"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelEventSubscription.prototype.toObject=function(e){return proto.lnrpc.ChannelEventSubscription.toObject(e,this)},proto.lnrpc.ChannelEventSubscription.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ChannelEventSubscription.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelEventSubscription;return proto.lnrpc.ChannelEventSubscription.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelEventSubscription.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.ChannelEventSubscription.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelEventSubscription.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelEventSubscription.serializeBinaryToWriter=function(e,t){},proto.lnrpc.ChannelEventUpdate=function(e){n.Message.initialize(this,e,0,-1,null,proto.lnrpc.ChannelEventUpdate.oneofGroups_)},o.inherits(proto.lnrpc.ChannelEventUpdate,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelEventUpdate.displayName="proto.lnrpc.ChannelEventUpdate"),proto.lnrpc.ChannelEventUpdate.oneofGroups_=[[1,2,3,4,6,7]],proto.lnrpc.ChannelEventUpdate.ChannelCase={CHANNEL_NOT_SET:0,OPEN_CHANNEL:1,CLOSED_CHANNEL:2,ACTIVE_CHANNEL:3,INACTIVE_CHANNEL:4,PENDING_OPEN_CHANNEL:6,FULLY_RESOLVED_CHANNEL:7},proto.lnrpc.ChannelEventUpdate.prototype.getChannelCase=function(){return n.Message.computeOneofCase(this,proto.lnrpc.ChannelEventUpdate.oneofGroups_[0])},n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelEventUpdate.prototype.toObject=function(e){return proto.lnrpc.ChannelEventUpdate.toObject(e,this)},proto.lnrpc.ChannelEventUpdate.toObject=function(e,t){var r,o={openChannel:(r=t.getOpenChannel())&&proto.lnrpc.Channel.toObject(e,r),closedChannel:(r=t.getClosedChannel())&&proto.lnrpc.ChannelCloseSummary.toObject(e,r),activeChannel:(r=t.getActiveChannel())&&proto.lnrpc.ChannelPoint.toObject(e,r),inactiveChannel:(r=t.getInactiveChannel())&&proto.lnrpc.ChannelPoint.toObject(e,r),pendingOpenChannel:(r=t.getPendingOpenChannel())&&proto.lnrpc.PendingUpdate.toObject(e,r),fullyResolvedChannel:(r=t.getFullyResolvedChannel())&&proto.lnrpc.ChannelPoint.toObject(e,r),type:n.Message.getFieldWithDefault(t,5,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.ChannelEventUpdate.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelEventUpdate;return proto.lnrpc.ChannelEventUpdate.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelEventUpdate.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.Channel;t.readMessage(r,proto.lnrpc.Channel.deserializeBinaryFromReader),e.setOpenChannel(r);break;case 2:r=new proto.lnrpc.ChannelCloseSummary;t.readMessage(r,proto.lnrpc.ChannelCloseSummary.deserializeBinaryFromReader),e.setClosedChannel(r);break;case 3:r=new proto.lnrpc.ChannelPoint;t.readMessage(r,proto.lnrpc.ChannelPoint.deserializeBinaryFromReader),e.setActiveChannel(r);break;case 4:r=new proto.lnrpc.ChannelPoint;t.readMessage(r,proto.lnrpc.ChannelPoint.deserializeBinaryFromReader),e.setInactiveChannel(r);break;case 6:r=new proto.lnrpc.PendingUpdate;t.readMessage(r,proto.lnrpc.PendingUpdate.deserializeBinaryFromReader),e.setPendingOpenChannel(r);break;case 7:r=new proto.lnrpc.ChannelPoint;t.readMessage(r,proto.lnrpc.ChannelPoint.deserializeBinaryFromReader),e.setFullyResolvedChannel(r);break;case 5:r=t.readEnum();e.setType(r);break;default:t.skipField()}}return e},proto.lnrpc.ChannelEventUpdate.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelEventUpdate.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelEventUpdate.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getOpenChannel())&&t.writeMessage(1,r,proto.lnrpc.Channel.serializeBinaryToWriter),null!=(r=e.getClosedChannel())&&t.writeMessage(2,r,proto.lnrpc.ChannelCloseSummary.serializeBinaryToWriter),null!=(r=e.getActiveChannel())&&t.writeMessage(3,r,proto.lnrpc.ChannelPoint.serializeBinaryToWriter),null!=(r=e.getInactiveChannel())&&t.writeMessage(4,r,proto.lnrpc.ChannelPoint.serializeBinaryToWriter),null!=(r=e.getPendingOpenChannel())&&t.writeMessage(6,r,proto.lnrpc.PendingUpdate.serializeBinaryToWriter),null!=(r=e.getFullyResolvedChannel())&&t.writeMessage(7,r,proto.lnrpc.ChannelPoint.serializeBinaryToWriter),0!==(r=e.getType())&&t.writeEnum(5,r)},proto.lnrpc.ChannelEventUpdate.UpdateType={OPEN_CHANNEL:0,CLOSED_CHANNEL:1,ACTIVE_CHANNEL:2,INACTIVE_CHANNEL:3,PENDING_OPEN_CHANNEL:4,FULLY_RESOLVED_CHANNEL:5},proto.lnrpc.ChannelEventUpdate.prototype.getOpenChannel=function(){return n.Message.getWrapperField(this,proto.lnrpc.Channel,1)},proto.lnrpc.ChannelEventUpdate.prototype.setOpenChannel=function(e){n.Message.setOneofWrapperField(this,1,proto.lnrpc.ChannelEventUpdate.oneofGroups_[0],e)},proto.lnrpc.ChannelEventUpdate.prototype.clearOpenChannel=function(){this.setOpenChannel(void 0)},proto.lnrpc.ChannelEventUpdate.prototype.hasOpenChannel=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.ChannelEventUpdate.prototype.getClosedChannel=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelCloseSummary,2)},proto.lnrpc.ChannelEventUpdate.prototype.setClosedChannel=function(e){n.Message.setOneofWrapperField(this,2,proto.lnrpc.ChannelEventUpdate.oneofGroups_[0],e)},proto.lnrpc.ChannelEventUpdate.prototype.clearClosedChannel=function(){this.setClosedChannel(void 0)},proto.lnrpc.ChannelEventUpdate.prototype.hasClosedChannel=function(){return null!=n.Message.getField(this,2)},proto.lnrpc.ChannelEventUpdate.prototype.getActiveChannel=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelPoint,3)},proto.lnrpc.ChannelEventUpdate.prototype.setActiveChannel=function(e){n.Message.setOneofWrapperField(this,3,proto.lnrpc.ChannelEventUpdate.oneofGroups_[0],e)},proto.lnrpc.ChannelEventUpdate.prototype.clearActiveChannel=function(){this.setActiveChannel(void 0)},proto.lnrpc.ChannelEventUpdate.prototype.hasActiveChannel=function(){return null!=n.Message.getField(this,3)},proto.lnrpc.ChannelEventUpdate.prototype.getInactiveChannel=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelPoint,4)},proto.lnrpc.ChannelEventUpdate.prototype.setInactiveChannel=function(e){n.Message.setOneofWrapperField(this,4,proto.lnrpc.ChannelEventUpdate.oneofGroups_[0],e)},proto.lnrpc.ChannelEventUpdate.prototype.clearInactiveChannel=function(){this.setInactiveChannel(void 0)},proto.lnrpc.ChannelEventUpdate.prototype.hasInactiveChannel=function(){return null!=n.Message.getField(this,4)},proto.lnrpc.ChannelEventUpdate.prototype.getPendingOpenChannel=function(){return n.Message.getWrapperField(this,proto.lnrpc.PendingUpdate,6)},proto.lnrpc.ChannelEventUpdate.prototype.setPendingOpenChannel=function(e){n.Message.setOneofWrapperField(this,6,proto.lnrpc.ChannelEventUpdate.oneofGroups_[0],e)},proto.lnrpc.ChannelEventUpdate.prototype.clearPendingOpenChannel=function(){this.setPendingOpenChannel(void 0)},proto.lnrpc.ChannelEventUpdate.prototype.hasPendingOpenChannel=function(){return null!=n.Message.getField(this,6)},proto.lnrpc.ChannelEventUpdate.prototype.getFullyResolvedChannel=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelPoint,7)},proto.lnrpc.ChannelEventUpdate.prototype.setFullyResolvedChannel=function(e){n.Message.setOneofWrapperField(this,7,proto.lnrpc.ChannelEventUpdate.oneofGroups_[0],e)},proto.lnrpc.ChannelEventUpdate.prototype.clearFullyResolvedChannel=function(){this.setFullyResolvedChannel(void 0)},proto.lnrpc.ChannelEventUpdate.prototype.hasFullyResolvedChannel=function(){return null!=n.Message.getField(this,7)},proto.lnrpc.ChannelEventUpdate.prototype.getType=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.ChannelEventUpdate.prototype.setType=function(e){n.Message.setField(this,5,e)},proto.lnrpc.WalletAccountBalance=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.WalletAccountBalance,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.WalletAccountBalance.displayName="proto.lnrpc.WalletAccountBalance"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.WalletAccountBalance.prototype.toObject=function(e){return proto.lnrpc.WalletAccountBalance.toObject(e,this)},proto.lnrpc.WalletAccountBalance.toObject=function(e,t){var r={confirmedBalance:n.Message.getFieldWithDefault(t,1,0),unconfirmedBalance:n.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.WalletAccountBalance.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.WalletAccountBalance;return proto.lnrpc.WalletAccountBalance.deserializeBinaryFromReader(r,t)},proto.lnrpc.WalletAccountBalance.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt64();e.setConfirmedBalance(r);break;case 2:r=t.readInt64();e.setUnconfirmedBalance(r);break;default:t.skipField()}}return e},proto.lnrpc.WalletAccountBalance.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.WalletAccountBalance.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.WalletAccountBalance.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getConfirmedBalance())&&t.writeInt64(1,r),0!==(r=e.getUnconfirmedBalance())&&t.writeInt64(2,r)},proto.lnrpc.WalletAccountBalance.prototype.getConfirmedBalance=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.WalletAccountBalance.prototype.setConfirmedBalance=function(e){n.Message.setField(this,1,e)},proto.lnrpc.WalletAccountBalance.prototype.getUnconfirmedBalance=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.WalletAccountBalance.prototype.setUnconfirmedBalance=function(e){n.Message.setField(this,2,e)},proto.lnrpc.WalletBalanceRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.WalletBalanceRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.WalletBalanceRequest.displayName="proto.lnrpc.WalletBalanceRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.WalletBalanceRequest.prototype.toObject=function(e){return proto.lnrpc.WalletBalanceRequest.toObject(e,this)},proto.lnrpc.WalletBalanceRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.WalletBalanceRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.WalletBalanceRequest;return proto.lnrpc.WalletBalanceRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.WalletBalanceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.WalletBalanceRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.WalletBalanceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.WalletBalanceRequest.serializeBinaryToWriter=function(e,t){},proto.lnrpc.WalletBalanceResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.WalletBalanceResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.WalletBalanceResponse.displayName="proto.lnrpc.WalletBalanceResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.WalletBalanceResponse.prototype.toObject=function(e){return proto.lnrpc.WalletBalanceResponse.toObject(e,this)},proto.lnrpc.WalletBalanceResponse.toObject=function(e,t){var r,o={totalBalance:n.Message.getFieldWithDefault(t,1,0),confirmedBalance:n.Message.getFieldWithDefault(t,2,0),unconfirmedBalance:n.Message.getFieldWithDefault(t,3,0),accountBalanceMap:(r=t.getAccountBalanceMap())?r.toObject(e,proto.lnrpc.WalletAccountBalance.toObject):[]};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.WalletBalanceResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.WalletBalanceResponse;return proto.lnrpc.WalletBalanceResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.WalletBalanceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt64();e.setTotalBalance(r);break;case 2:r=t.readInt64();e.setConfirmedBalance(r);break;case 3:r=t.readInt64();e.setUnconfirmedBalance(r);break;case 4:r=e.getAccountBalanceMap();t.readMessage(r,(function(e,t){n.Map.deserializeBinary(e,t,n.BinaryReader.prototype.readString,n.BinaryReader.prototype.readMessage,proto.lnrpc.WalletAccountBalance.deserializeBinaryFromReader)}));break;default:t.skipField()}}return e},proto.lnrpc.WalletBalanceResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.WalletBalanceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.WalletBalanceResponse.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getTotalBalance())&&t.writeInt64(1,r),0!==(r=e.getConfirmedBalance())&&t.writeInt64(2,r),0!==(r=e.getUnconfirmedBalance())&&t.writeInt64(3,r),(r=e.getAccountBalanceMap(!0))&&r.getLength()>0&&r.serializeBinary(4,t,n.BinaryWriter.prototype.writeString,n.BinaryWriter.prototype.writeMessage,proto.lnrpc.WalletAccountBalance.serializeBinaryToWriter)},proto.lnrpc.WalletBalanceResponse.prototype.getTotalBalance=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.WalletBalanceResponse.prototype.setTotalBalance=function(e){n.Message.setField(this,1,e)},proto.lnrpc.WalletBalanceResponse.prototype.getConfirmedBalance=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.WalletBalanceResponse.prototype.setConfirmedBalance=function(e){n.Message.setField(this,2,e)},proto.lnrpc.WalletBalanceResponse.prototype.getUnconfirmedBalance=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.WalletBalanceResponse.prototype.setUnconfirmedBalance=function(e){n.Message.setField(this,3,e)},proto.lnrpc.WalletBalanceResponse.prototype.getAccountBalanceMap=function(e){return n.Message.getMapField(this,4,e,proto.lnrpc.WalletAccountBalance)},proto.lnrpc.WalletBalanceResponse.prototype.clearAccountBalanceMap=function(){this.getAccountBalanceMap().clear()},proto.lnrpc.Amount=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.Amount,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.Amount.displayName="proto.lnrpc.Amount"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.Amount.prototype.toObject=function(e){return proto.lnrpc.Amount.toObject(e,this)},proto.lnrpc.Amount.toObject=function(e,t){var r={sat:n.Message.getFieldWithDefault(t,1,0),msat:n.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.Amount.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.Amount;return proto.lnrpc.Amount.deserializeBinaryFromReader(r,t)},proto.lnrpc.Amount.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint64();e.setSat(r);break;case 2:r=t.readUint64();e.setMsat(r);break;default:t.skipField()}}return e},proto.lnrpc.Amount.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.Amount.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.Amount.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getSat())&&t.writeUint64(1,r),0!==(r=e.getMsat())&&t.writeUint64(2,r)},proto.lnrpc.Amount.prototype.getSat=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.Amount.prototype.setSat=function(e){n.Message.setField(this,1,e)},proto.lnrpc.Amount.prototype.getMsat=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.Amount.prototype.setMsat=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ChannelBalanceRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChannelBalanceRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelBalanceRequest.displayName="proto.lnrpc.ChannelBalanceRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelBalanceRequest.prototype.toObject=function(e){return proto.lnrpc.ChannelBalanceRequest.toObject(e,this)},proto.lnrpc.ChannelBalanceRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ChannelBalanceRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelBalanceRequest;return proto.lnrpc.ChannelBalanceRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelBalanceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.ChannelBalanceRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelBalanceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelBalanceRequest.serializeBinaryToWriter=function(e,t){},proto.lnrpc.ChannelBalanceResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChannelBalanceResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelBalanceResponse.displayName="proto.lnrpc.ChannelBalanceResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelBalanceResponse.prototype.toObject=function(e){return proto.lnrpc.ChannelBalanceResponse.toObject(e,this)},proto.lnrpc.ChannelBalanceResponse.toObject=function(e,t){var r,o={balance:n.Message.getFieldWithDefault(t,1,0),pendingOpenBalance:n.Message.getFieldWithDefault(t,2,0),localBalance:(r=t.getLocalBalance())&&proto.lnrpc.Amount.toObject(e,r),remoteBalance:(r=t.getRemoteBalance())&&proto.lnrpc.Amount.toObject(e,r),unsettledLocalBalance:(r=t.getUnsettledLocalBalance())&&proto.lnrpc.Amount.toObject(e,r),unsettledRemoteBalance:(r=t.getUnsettledRemoteBalance())&&proto.lnrpc.Amount.toObject(e,r),pendingOpenLocalBalance:(r=t.getPendingOpenLocalBalance())&&proto.lnrpc.Amount.toObject(e,r),pendingOpenRemoteBalance:(r=t.getPendingOpenRemoteBalance())&&proto.lnrpc.Amount.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.ChannelBalanceResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelBalanceResponse;return proto.lnrpc.ChannelBalanceResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelBalanceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt64();e.setBalance(r);break;case 2:r=t.readInt64();e.setPendingOpenBalance(r);break;case 3:r=new proto.lnrpc.Amount;t.readMessage(r,proto.lnrpc.Amount.deserializeBinaryFromReader),e.setLocalBalance(r);break;case 4:r=new proto.lnrpc.Amount;t.readMessage(r,proto.lnrpc.Amount.deserializeBinaryFromReader),e.setRemoteBalance(r);break;case 5:r=new proto.lnrpc.Amount;t.readMessage(r,proto.lnrpc.Amount.deserializeBinaryFromReader),e.setUnsettledLocalBalance(r);break;case 6:r=new proto.lnrpc.Amount;t.readMessage(r,proto.lnrpc.Amount.deserializeBinaryFromReader),e.setUnsettledRemoteBalance(r);break;case 7:r=new proto.lnrpc.Amount;t.readMessage(r,proto.lnrpc.Amount.deserializeBinaryFromReader),e.setPendingOpenLocalBalance(r);break;case 8:r=new proto.lnrpc.Amount;t.readMessage(r,proto.lnrpc.Amount.deserializeBinaryFromReader),e.setPendingOpenRemoteBalance(r);break;default:t.skipField()}}return e},proto.lnrpc.ChannelBalanceResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelBalanceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelBalanceResponse.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getBalance())&&t.writeInt64(1,r),0!==(r=e.getPendingOpenBalance())&&t.writeInt64(2,r),null!=(r=e.getLocalBalance())&&t.writeMessage(3,r,proto.lnrpc.Amount.serializeBinaryToWriter),null!=(r=e.getRemoteBalance())&&t.writeMessage(4,r,proto.lnrpc.Amount.serializeBinaryToWriter),null!=(r=e.getUnsettledLocalBalance())&&t.writeMessage(5,r,proto.lnrpc.Amount.serializeBinaryToWriter),null!=(r=e.getUnsettledRemoteBalance())&&t.writeMessage(6,r,proto.lnrpc.Amount.serializeBinaryToWriter),null!=(r=e.getPendingOpenLocalBalance())&&t.writeMessage(7,r,proto.lnrpc.Amount.serializeBinaryToWriter),null!=(r=e.getPendingOpenRemoteBalance())&&t.writeMessage(8,r,proto.lnrpc.Amount.serializeBinaryToWriter)},proto.lnrpc.ChannelBalanceResponse.prototype.getBalance=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.ChannelBalanceResponse.prototype.setBalance=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ChannelBalanceResponse.prototype.getPendingOpenBalance=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.ChannelBalanceResponse.prototype.setPendingOpenBalance=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ChannelBalanceResponse.prototype.getLocalBalance=function(){return n.Message.getWrapperField(this,proto.lnrpc.Amount,3)},proto.lnrpc.ChannelBalanceResponse.prototype.setLocalBalance=function(e){n.Message.setWrapperField(this,3,e)},proto.lnrpc.ChannelBalanceResponse.prototype.clearLocalBalance=function(){this.setLocalBalance(void 0)},proto.lnrpc.ChannelBalanceResponse.prototype.hasLocalBalance=function(){return null!=n.Message.getField(this,3)},proto.lnrpc.ChannelBalanceResponse.prototype.getRemoteBalance=function(){return n.Message.getWrapperField(this,proto.lnrpc.Amount,4)},proto.lnrpc.ChannelBalanceResponse.prototype.setRemoteBalance=function(e){n.Message.setWrapperField(this,4,e)},proto.lnrpc.ChannelBalanceResponse.prototype.clearRemoteBalance=function(){this.setRemoteBalance(void 0)},proto.lnrpc.ChannelBalanceResponse.prototype.hasRemoteBalance=function(){return null!=n.Message.getField(this,4)},proto.lnrpc.ChannelBalanceResponse.prototype.getUnsettledLocalBalance=function(){return n.Message.getWrapperField(this,proto.lnrpc.Amount,5)},proto.lnrpc.ChannelBalanceResponse.prototype.setUnsettledLocalBalance=function(e){n.Message.setWrapperField(this,5,e)},proto.lnrpc.ChannelBalanceResponse.prototype.clearUnsettledLocalBalance=function(){this.setUnsettledLocalBalance(void 0)},proto.lnrpc.ChannelBalanceResponse.prototype.hasUnsettledLocalBalance=function(){return null!=n.Message.getField(this,5)},proto.lnrpc.ChannelBalanceResponse.prototype.getUnsettledRemoteBalance=function(){return n.Message.getWrapperField(this,proto.lnrpc.Amount,6)},proto.lnrpc.ChannelBalanceResponse.prototype.setUnsettledRemoteBalance=function(e){n.Message.setWrapperField(this,6,e)},proto.lnrpc.ChannelBalanceResponse.prototype.clearUnsettledRemoteBalance=function(){this.setUnsettledRemoteBalance(void 0)},proto.lnrpc.ChannelBalanceResponse.prototype.hasUnsettledRemoteBalance=function(){return null!=n.Message.getField(this,6)},proto.lnrpc.ChannelBalanceResponse.prototype.getPendingOpenLocalBalance=function(){return n.Message.getWrapperField(this,proto.lnrpc.Amount,7)},proto.lnrpc.ChannelBalanceResponse.prototype.setPendingOpenLocalBalance=function(e){n.Message.setWrapperField(this,7,e)},proto.lnrpc.ChannelBalanceResponse.prototype.clearPendingOpenLocalBalance=function(){this.setPendingOpenLocalBalance(void 0)},proto.lnrpc.ChannelBalanceResponse.prototype.hasPendingOpenLocalBalance=function(){return null!=n.Message.getField(this,7)},proto.lnrpc.ChannelBalanceResponse.prototype.getPendingOpenRemoteBalance=function(){return n.Message.getWrapperField(this,proto.lnrpc.Amount,8)},proto.lnrpc.ChannelBalanceResponse.prototype.setPendingOpenRemoteBalance=function(e){n.Message.setWrapperField(this,8,e)},proto.lnrpc.ChannelBalanceResponse.prototype.clearPendingOpenRemoteBalance=function(){this.setPendingOpenRemoteBalance(void 0)},proto.lnrpc.ChannelBalanceResponse.prototype.hasPendingOpenRemoteBalance=function(){return null!=n.Message.getField(this,8)},proto.lnrpc.QueryRoutesRequest=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.QueryRoutesRequest.repeatedFields_,null)},o.inherits(proto.lnrpc.QueryRoutesRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.QueryRoutesRequest.displayName="proto.lnrpc.QueryRoutesRequest"),proto.lnrpc.QueryRoutesRequest.repeatedFields_=[6,7,10,16,17],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.QueryRoutesRequest.prototype.toObject=function(e){return proto.lnrpc.QueryRoutesRequest.toObject(e,this)},proto.lnrpc.QueryRoutesRequest.toObject=function(e,t){var r,o={pubKey:n.Message.getFieldWithDefault(t,1,""),amt:n.Message.getFieldWithDefault(t,2,0),amtMsat:n.Message.getFieldWithDefault(t,12,0),finalCltvDelta:n.Message.getFieldWithDefault(t,4,0),feeLimit:(r=t.getFeeLimit())&&proto.lnrpc.FeeLimit.toObject(e,r),ignoredNodesList:t.getIgnoredNodesList_asB64(),ignoredEdgesList:n.Message.toObjectList(t.getIgnoredEdgesList(),proto.lnrpc.EdgeLocator.toObject,e),sourcePubKey:n.Message.getFieldWithDefault(t,8,""),useMissionControl:n.Message.getFieldWithDefault(t,9,!1),ignoredPairsList:n.Message.toObjectList(t.getIgnoredPairsList(),proto.lnrpc.NodePair.toObject,e),cltvLimit:n.Message.getFieldWithDefault(t,11,0),destCustomRecordsMap:(r=t.getDestCustomRecordsMap())?r.toObject(e,void 0):[],outgoingChanId:n.Message.getFieldWithDefault(t,14,"0"),lastHopPubkey:t.getLastHopPubkey_asB64(),routeHintsList:n.Message.toObjectList(t.getRouteHintsList(),proto.lnrpc.RouteHint.toObject,e),destFeaturesList:n.Message.getRepeatedField(t,17)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.QueryRoutesRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.QueryRoutesRequest;return proto.lnrpc.QueryRoutesRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.QueryRoutesRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setPubKey(r);break;case 2:r=t.readInt64();e.setAmt(r);break;case 12:r=t.readInt64();e.setAmtMsat(r);break;case 4:r=t.readInt32();e.setFinalCltvDelta(r);break;case 5:r=new proto.lnrpc.FeeLimit;t.readMessage(r,proto.lnrpc.FeeLimit.deserializeBinaryFromReader),e.setFeeLimit(r);break;case 6:r=t.readBytes();e.addIgnoredNodes(r);break;case 7:r=new proto.lnrpc.EdgeLocator;t.readMessage(r,proto.lnrpc.EdgeLocator.deserializeBinaryFromReader),e.addIgnoredEdges(r);break;case 8:r=t.readString();e.setSourcePubKey(r);break;case 9:r=t.readBool();e.setUseMissionControl(r);break;case 10:r=new proto.lnrpc.NodePair;t.readMessage(r,proto.lnrpc.NodePair.deserializeBinaryFromReader),e.addIgnoredPairs(r);break;case 11:r=t.readUint32();e.setCltvLimit(r);break;case 13:r=e.getDestCustomRecordsMap();t.readMessage(r,(function(e,t){n.Map.deserializeBinary(e,t,n.BinaryReader.prototype.readUint64,n.BinaryReader.prototype.readBytes)}));break;case 14:r=t.readUint64String();e.setOutgoingChanId(r);break;case 15:r=t.readBytes();e.setLastHopPubkey(r);break;case 16:r=new proto.lnrpc.RouteHint;t.readMessage(r,proto.lnrpc.RouteHint.deserializeBinaryFromReader),e.addRouteHints(r);break;case 17:r=t.readPackedEnum();e.setDestFeaturesList(r);break;default:t.skipField()}}return e},proto.lnrpc.QueryRoutesRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.QueryRoutesRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.QueryRoutesRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPubKey()).length>0&&t.writeString(1,r),0!==(r=e.getAmt())&&t.writeInt64(2,r),0!==(r=e.getAmtMsat())&&t.writeInt64(12,r),0!==(r=e.getFinalCltvDelta())&&t.writeInt32(4,r),null!=(r=e.getFeeLimit())&&t.writeMessage(5,r,proto.lnrpc.FeeLimit.serializeBinaryToWriter),(r=e.getIgnoredNodesList_asU8()).length>0&&t.writeRepeatedBytes(6,r),(r=e.getIgnoredEdgesList()).length>0&&t.writeRepeatedMessage(7,r,proto.lnrpc.EdgeLocator.serializeBinaryToWriter),(r=e.getSourcePubKey()).length>0&&t.writeString(8,r),(r=e.getUseMissionControl())&&t.writeBool(9,r),(r=e.getIgnoredPairsList()).length>0&&t.writeRepeatedMessage(10,r,proto.lnrpc.NodePair.serializeBinaryToWriter),0!==(r=e.getCltvLimit())&&t.writeUint32(11,r),(r=e.getDestCustomRecordsMap(!0))&&r.getLength()>0&&r.serializeBinary(13,t,n.BinaryWriter.prototype.writeUint64,n.BinaryWriter.prototype.writeBytes),r=e.getOutgoingChanId(),0!==parseInt(r,10)&&t.writeUint64String(14,r),(r=e.getLastHopPubkey_asU8()).length>0&&t.writeBytes(15,r),(r=e.getRouteHintsList()).length>0&&t.writeRepeatedMessage(16,r,proto.lnrpc.RouteHint.serializeBinaryToWriter),(r=e.getDestFeaturesList()).length>0&&t.writePackedEnum(17,r)},proto.lnrpc.QueryRoutesRequest.prototype.getPubKey=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.QueryRoutesRequest.prototype.setPubKey=function(e){n.Message.setField(this,1,e)},proto.lnrpc.QueryRoutesRequest.prototype.getAmt=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.QueryRoutesRequest.prototype.setAmt=function(e){n.Message.setField(this,2,e)},proto.lnrpc.QueryRoutesRequest.prototype.getAmtMsat=function(){return n.Message.getFieldWithDefault(this,12,0)},proto.lnrpc.QueryRoutesRequest.prototype.setAmtMsat=function(e){n.Message.setField(this,12,e)},proto.lnrpc.QueryRoutesRequest.prototype.getFinalCltvDelta=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.QueryRoutesRequest.prototype.setFinalCltvDelta=function(e){n.Message.setField(this,4,e)},proto.lnrpc.QueryRoutesRequest.prototype.getFeeLimit=function(){return n.Message.getWrapperField(this,proto.lnrpc.FeeLimit,5)},proto.lnrpc.QueryRoutesRequest.prototype.setFeeLimit=function(e){n.Message.setWrapperField(this,5,e)},proto.lnrpc.QueryRoutesRequest.prototype.clearFeeLimit=function(){this.setFeeLimit(void 0)},proto.lnrpc.QueryRoutesRequest.prototype.hasFeeLimit=function(){return null!=n.Message.getField(this,5)},proto.lnrpc.QueryRoutesRequest.prototype.getIgnoredNodesList=function(){return n.Message.getRepeatedField(this,6)},proto.lnrpc.QueryRoutesRequest.prototype.getIgnoredNodesList_asB64=function(){return n.Message.bytesListAsB64(this.getIgnoredNodesList())},proto.lnrpc.QueryRoutesRequest.prototype.getIgnoredNodesList_asU8=function(){return n.Message.bytesListAsU8(this.getIgnoredNodesList())},proto.lnrpc.QueryRoutesRequest.prototype.setIgnoredNodesList=function(e){n.Message.setField(this,6,e||[])},proto.lnrpc.QueryRoutesRequest.prototype.addIgnoredNodes=function(e,t){n.Message.addToRepeatedField(this,6,e,t)},proto.lnrpc.QueryRoutesRequest.prototype.clearIgnoredNodesList=function(){this.setIgnoredNodesList([])},proto.lnrpc.QueryRoutesRequest.prototype.getIgnoredEdgesList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.EdgeLocator,7)},proto.lnrpc.QueryRoutesRequest.prototype.setIgnoredEdgesList=function(e){n.Message.setRepeatedWrapperField(this,7,e)},proto.lnrpc.QueryRoutesRequest.prototype.addIgnoredEdges=function(e,t){return n.Message.addToRepeatedWrapperField(this,7,e,proto.lnrpc.EdgeLocator,t)},proto.lnrpc.QueryRoutesRequest.prototype.clearIgnoredEdgesList=function(){this.setIgnoredEdgesList([])},proto.lnrpc.QueryRoutesRequest.prototype.getSourcePubKey=function(){return n.Message.getFieldWithDefault(this,8,"")},proto.lnrpc.QueryRoutesRequest.prototype.setSourcePubKey=function(e){n.Message.setField(this,8,e)},proto.lnrpc.QueryRoutesRequest.prototype.getUseMissionControl=function(){return n.Message.getFieldWithDefault(this,9,!1)},proto.lnrpc.QueryRoutesRequest.prototype.setUseMissionControl=function(e){n.Message.setField(this,9,e)},proto.lnrpc.QueryRoutesRequest.prototype.getIgnoredPairsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.NodePair,10)},proto.lnrpc.QueryRoutesRequest.prototype.setIgnoredPairsList=function(e){n.Message.setRepeatedWrapperField(this,10,e)},proto.lnrpc.QueryRoutesRequest.prototype.addIgnoredPairs=function(e,t){return n.Message.addToRepeatedWrapperField(this,10,e,proto.lnrpc.NodePair,t)},proto.lnrpc.QueryRoutesRequest.prototype.clearIgnoredPairsList=function(){this.setIgnoredPairsList([])},proto.lnrpc.QueryRoutesRequest.prototype.getCltvLimit=function(){return n.Message.getFieldWithDefault(this,11,0)},proto.lnrpc.QueryRoutesRequest.prototype.setCltvLimit=function(e){n.Message.setField(this,11,e)},proto.lnrpc.QueryRoutesRequest.prototype.getDestCustomRecordsMap=function(e){return n.Message.getMapField(this,13,e,null)},proto.lnrpc.QueryRoutesRequest.prototype.clearDestCustomRecordsMap=function(){this.getDestCustomRecordsMap().clear()},proto.lnrpc.QueryRoutesRequest.prototype.getOutgoingChanId=function(){return n.Message.getFieldWithDefault(this,14,"0")},proto.lnrpc.QueryRoutesRequest.prototype.setOutgoingChanId=function(e){n.Message.setField(this,14,e)},proto.lnrpc.QueryRoutesRequest.prototype.getLastHopPubkey=function(){return n.Message.getFieldWithDefault(this,15,"")},proto.lnrpc.QueryRoutesRequest.prototype.getLastHopPubkey_asB64=function(){return n.Message.bytesAsB64(this.getLastHopPubkey())},proto.lnrpc.QueryRoutesRequest.prototype.getLastHopPubkey_asU8=function(){return n.Message.bytesAsU8(this.getLastHopPubkey())},proto.lnrpc.QueryRoutesRequest.prototype.setLastHopPubkey=function(e){n.Message.setField(this,15,e)},proto.lnrpc.QueryRoutesRequest.prototype.getRouteHintsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.RouteHint,16)},proto.lnrpc.QueryRoutesRequest.prototype.setRouteHintsList=function(e){n.Message.setRepeatedWrapperField(this,16,e)},proto.lnrpc.QueryRoutesRequest.prototype.addRouteHints=function(e,t){return n.Message.addToRepeatedWrapperField(this,16,e,proto.lnrpc.RouteHint,t)},proto.lnrpc.QueryRoutesRequest.prototype.clearRouteHintsList=function(){this.setRouteHintsList([])},proto.lnrpc.QueryRoutesRequest.prototype.getDestFeaturesList=function(){return n.Message.getRepeatedField(this,17)},proto.lnrpc.QueryRoutesRequest.prototype.setDestFeaturesList=function(e){n.Message.setField(this,17,e||[])},proto.lnrpc.QueryRoutesRequest.prototype.addDestFeatures=function(e,t){n.Message.addToRepeatedField(this,17,e,t)},proto.lnrpc.QueryRoutesRequest.prototype.clearDestFeaturesList=function(){this.setDestFeaturesList([])},proto.lnrpc.NodePair=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.NodePair,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.NodePair.displayName="proto.lnrpc.NodePair"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.NodePair.prototype.toObject=function(e){return proto.lnrpc.NodePair.toObject(e,this)},proto.lnrpc.NodePair.toObject=function(e,t){var r={from:t.getFrom_asB64(),to:t.getTo_asB64()};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.NodePair.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.NodePair;return proto.lnrpc.NodePair.deserializeBinaryFromReader(r,t)},proto.lnrpc.NodePair.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setFrom(r);break;case 2:r=t.readBytes();e.setTo(r);break;default:t.skipField()}}return e},proto.lnrpc.NodePair.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.NodePair.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.NodePair.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getFrom_asU8()).length>0&&t.writeBytes(1,r),(r=e.getTo_asU8()).length>0&&t.writeBytes(2,r)},proto.lnrpc.NodePair.prototype.getFrom=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.NodePair.prototype.getFrom_asB64=function(){return n.Message.bytesAsB64(this.getFrom())},proto.lnrpc.NodePair.prototype.getFrom_asU8=function(){return n.Message.bytesAsU8(this.getFrom())},proto.lnrpc.NodePair.prototype.setFrom=function(e){n.Message.setField(this,1,e)},proto.lnrpc.NodePair.prototype.getTo=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.NodePair.prototype.getTo_asB64=function(){return n.Message.bytesAsB64(this.getTo())},proto.lnrpc.NodePair.prototype.getTo_asU8=function(){return n.Message.bytesAsU8(this.getTo())},proto.lnrpc.NodePair.prototype.setTo=function(e){n.Message.setField(this,2,e)},proto.lnrpc.EdgeLocator=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.EdgeLocator,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.EdgeLocator.displayName="proto.lnrpc.EdgeLocator"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.EdgeLocator.prototype.toObject=function(e){return proto.lnrpc.EdgeLocator.toObject(e,this)},proto.lnrpc.EdgeLocator.toObject=function(e,t){var r={channelId:n.Message.getFieldWithDefault(t,1,"0"),directionReverse:n.Message.getFieldWithDefault(t,2,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.EdgeLocator.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.EdgeLocator;return proto.lnrpc.EdgeLocator.deserializeBinaryFromReader(r,t)},proto.lnrpc.EdgeLocator.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint64String();e.setChannelId(r);break;case 2:r=t.readBool();e.setDirectionReverse(r);break;default:t.skipField()}}return e},proto.lnrpc.EdgeLocator.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.EdgeLocator.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.EdgeLocator.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getChannelId(),0!==parseInt(r,10)&&t.writeUint64String(1,r),(r=e.getDirectionReverse())&&t.writeBool(2,r)},proto.lnrpc.EdgeLocator.prototype.getChannelId=function(){return n.Message.getFieldWithDefault(this,1,"0")},proto.lnrpc.EdgeLocator.prototype.setChannelId=function(e){n.Message.setField(this,1,e)},proto.lnrpc.EdgeLocator.prototype.getDirectionReverse=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.lnrpc.EdgeLocator.prototype.setDirectionReverse=function(e){n.Message.setField(this,2,e)},proto.lnrpc.QueryRoutesResponse=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.QueryRoutesResponse.repeatedFields_,null)},o.inherits(proto.lnrpc.QueryRoutesResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.QueryRoutesResponse.displayName="proto.lnrpc.QueryRoutesResponse"),proto.lnrpc.QueryRoutesResponse.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.QueryRoutesResponse.prototype.toObject=function(e){return proto.lnrpc.QueryRoutesResponse.toObject(e,this)},proto.lnrpc.QueryRoutesResponse.toObject=function(e,t){var r={routesList:n.Message.toObjectList(t.getRoutesList(),proto.lnrpc.Route.toObject,e),successProb:+n.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.QueryRoutesResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.QueryRoutesResponse;return proto.lnrpc.QueryRoutesResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.QueryRoutesResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.Route;t.readMessage(r,proto.lnrpc.Route.deserializeBinaryFromReader),e.addRoutes(r);break;case 2:r=t.readDouble();e.setSuccessProb(r);break;default:t.skipField()}}return e},proto.lnrpc.QueryRoutesResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.QueryRoutesResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.QueryRoutesResponse.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getRoutesList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.Route.serializeBinaryToWriter),0!==(r=e.getSuccessProb())&&t.writeDouble(2,r)},proto.lnrpc.QueryRoutesResponse.prototype.getRoutesList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.Route,1)},proto.lnrpc.QueryRoutesResponse.prototype.setRoutesList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.QueryRoutesResponse.prototype.addRoutes=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.Route,t)},proto.lnrpc.QueryRoutesResponse.prototype.clearRoutesList=function(){this.setRoutesList([])},proto.lnrpc.QueryRoutesResponse.prototype.getSuccessProb=function(){return+n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.QueryRoutesResponse.prototype.setSuccessProb=function(e){n.Message.setField(this,2,e)},proto.lnrpc.Hop=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.Hop,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.Hop.displayName="proto.lnrpc.Hop"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.Hop.prototype.toObject=function(e){return proto.lnrpc.Hop.toObject(e,this)},proto.lnrpc.Hop.toObject=function(e,t){var r,o={chanId:n.Message.getFieldWithDefault(t,1,"0"),chanCapacity:n.Message.getFieldWithDefault(t,2,0),amtToForward:n.Message.getFieldWithDefault(t,3,0),fee:n.Message.getFieldWithDefault(t,4,0),expiry:n.Message.getFieldWithDefault(t,5,0),amtToForwardMsat:n.Message.getFieldWithDefault(t,6,0),feeMsat:n.Message.getFieldWithDefault(t,7,0),pubKey:n.Message.getFieldWithDefault(t,8,""),tlvPayload:n.Message.getFieldWithDefault(t,9,!1),mppRecord:(r=t.getMppRecord())&&proto.lnrpc.MPPRecord.toObject(e,r),ampRecord:(r=t.getAmpRecord())&&proto.lnrpc.AMPRecord.toObject(e,r),customRecordsMap:(r=t.getCustomRecordsMap())?r.toObject(e,void 0):[]};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.Hop.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.Hop;return proto.lnrpc.Hop.deserializeBinaryFromReader(r,t)},proto.lnrpc.Hop.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint64String();e.setChanId(r);break;case 2:r=t.readInt64();e.setChanCapacity(r);break;case 3:r=t.readInt64();e.setAmtToForward(r);break;case 4:r=t.readInt64();e.setFee(r);break;case 5:r=t.readUint32();e.setExpiry(r);break;case 6:r=t.readInt64();e.setAmtToForwardMsat(r);break;case 7:r=t.readInt64();e.setFeeMsat(r);break;case 8:r=t.readString();e.setPubKey(r);break;case 9:r=t.readBool();e.setTlvPayload(r);break;case 10:r=new proto.lnrpc.MPPRecord;t.readMessage(r,proto.lnrpc.MPPRecord.deserializeBinaryFromReader),e.setMppRecord(r);break;case 12:r=new proto.lnrpc.AMPRecord;t.readMessage(r,proto.lnrpc.AMPRecord.deserializeBinaryFromReader),e.setAmpRecord(r);break;case 11:r=e.getCustomRecordsMap();t.readMessage(r,(function(e,t){n.Map.deserializeBinary(e,t,n.BinaryReader.prototype.readUint64,n.BinaryReader.prototype.readBytes)}));break;default:t.skipField()}}return e},proto.lnrpc.Hop.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.Hop.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.Hop.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getChanId(),0!==parseInt(r,10)&&t.writeUint64String(1,r),0!==(r=e.getChanCapacity())&&t.writeInt64(2,r),0!==(r=e.getAmtToForward())&&t.writeInt64(3,r),0!==(r=e.getFee())&&t.writeInt64(4,r),0!==(r=e.getExpiry())&&t.writeUint32(5,r),0!==(r=e.getAmtToForwardMsat())&&t.writeInt64(6,r),0!==(r=e.getFeeMsat())&&t.writeInt64(7,r),(r=e.getPubKey()).length>0&&t.writeString(8,r),(r=e.getTlvPayload())&&t.writeBool(9,r),null!=(r=e.getMppRecord())&&t.writeMessage(10,r,proto.lnrpc.MPPRecord.serializeBinaryToWriter),null!=(r=e.getAmpRecord())&&t.writeMessage(12,r,proto.lnrpc.AMPRecord.serializeBinaryToWriter),(r=e.getCustomRecordsMap(!0))&&r.getLength()>0&&r.serializeBinary(11,t,n.BinaryWriter.prototype.writeUint64,n.BinaryWriter.prototype.writeBytes)},proto.lnrpc.Hop.prototype.getChanId=function(){return n.Message.getFieldWithDefault(this,1,"0")},proto.lnrpc.Hop.prototype.setChanId=function(e){n.Message.setField(this,1,e)},proto.lnrpc.Hop.prototype.getChanCapacity=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.Hop.prototype.setChanCapacity=function(e){n.Message.setField(this,2,e)},proto.lnrpc.Hop.prototype.getAmtToForward=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.Hop.prototype.setAmtToForward=function(e){n.Message.setField(this,3,e)},proto.lnrpc.Hop.prototype.getFee=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.Hop.prototype.setFee=function(e){n.Message.setField(this,4,e)},proto.lnrpc.Hop.prototype.getExpiry=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.Hop.prototype.setExpiry=function(e){n.Message.setField(this,5,e)},proto.lnrpc.Hop.prototype.getAmtToForwardMsat=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.Hop.prototype.setAmtToForwardMsat=function(e){n.Message.setField(this,6,e)},proto.lnrpc.Hop.prototype.getFeeMsat=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.Hop.prototype.setFeeMsat=function(e){n.Message.setField(this,7,e)},proto.lnrpc.Hop.prototype.getPubKey=function(){return n.Message.getFieldWithDefault(this,8,"")},proto.lnrpc.Hop.prototype.setPubKey=function(e){n.Message.setField(this,8,e)},proto.lnrpc.Hop.prototype.getTlvPayload=function(){return n.Message.getFieldWithDefault(this,9,!1)},proto.lnrpc.Hop.prototype.setTlvPayload=function(e){n.Message.setField(this,9,e)},proto.lnrpc.Hop.prototype.getMppRecord=function(){return n.Message.getWrapperField(this,proto.lnrpc.MPPRecord,10)},proto.lnrpc.Hop.prototype.setMppRecord=function(e){n.Message.setWrapperField(this,10,e)},proto.lnrpc.Hop.prototype.clearMppRecord=function(){this.setMppRecord(void 0)},proto.lnrpc.Hop.prototype.hasMppRecord=function(){return null!=n.Message.getField(this,10)},proto.lnrpc.Hop.prototype.getAmpRecord=function(){return n.Message.getWrapperField(this,proto.lnrpc.AMPRecord,12)},proto.lnrpc.Hop.prototype.setAmpRecord=function(e){n.Message.setWrapperField(this,12,e)},proto.lnrpc.Hop.prototype.clearAmpRecord=function(){this.setAmpRecord(void 0)},proto.lnrpc.Hop.prototype.hasAmpRecord=function(){return null!=n.Message.getField(this,12)},proto.lnrpc.Hop.prototype.getCustomRecordsMap=function(e){return n.Message.getMapField(this,11,e,null)},proto.lnrpc.Hop.prototype.clearCustomRecordsMap=function(){this.getCustomRecordsMap().clear()},proto.lnrpc.MPPRecord=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.MPPRecord,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.MPPRecord.displayName="proto.lnrpc.MPPRecord"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.MPPRecord.prototype.toObject=function(e){return proto.lnrpc.MPPRecord.toObject(e,this)},proto.lnrpc.MPPRecord.toObject=function(e,t){var r={paymentAddr:t.getPaymentAddr_asB64(),totalAmtMsat:n.Message.getFieldWithDefault(t,10,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.MPPRecord.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.MPPRecord;return proto.lnrpc.MPPRecord.deserializeBinaryFromReader(r,t)},proto.lnrpc.MPPRecord.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 11:var r=t.readBytes();e.setPaymentAddr(r);break;case 10:r=t.readInt64();e.setTotalAmtMsat(r);break;default:t.skipField()}}return e},proto.lnrpc.MPPRecord.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.MPPRecord.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.MPPRecord.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPaymentAddr_asU8()).length>0&&t.writeBytes(11,r),0!==(r=e.getTotalAmtMsat())&&t.writeInt64(10,r)},proto.lnrpc.MPPRecord.prototype.getPaymentAddr=function(){return n.Message.getFieldWithDefault(this,11,"")},proto.lnrpc.MPPRecord.prototype.getPaymentAddr_asB64=function(){return n.Message.bytesAsB64(this.getPaymentAddr())},proto.lnrpc.MPPRecord.prototype.getPaymentAddr_asU8=function(){return n.Message.bytesAsU8(this.getPaymentAddr())},proto.lnrpc.MPPRecord.prototype.setPaymentAddr=function(e){n.Message.setField(this,11,e)},proto.lnrpc.MPPRecord.prototype.getTotalAmtMsat=function(){return n.Message.getFieldWithDefault(this,10,0)},proto.lnrpc.MPPRecord.prototype.setTotalAmtMsat=function(e){n.Message.setField(this,10,e)},proto.lnrpc.AMPRecord=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.AMPRecord,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.AMPRecord.displayName="proto.lnrpc.AMPRecord"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.AMPRecord.prototype.toObject=function(e){return proto.lnrpc.AMPRecord.toObject(e,this)},proto.lnrpc.AMPRecord.toObject=function(e,t){var r={rootShare:t.getRootShare_asB64(),setId:t.getSetId_asB64(),childIndex:n.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.AMPRecord.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.AMPRecord;return proto.lnrpc.AMPRecord.deserializeBinaryFromReader(r,t)},proto.lnrpc.AMPRecord.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setRootShare(r);break;case 2:r=t.readBytes();e.setSetId(r);break;case 3:r=t.readUint32();e.setChildIndex(r);break;default:t.skipField()}}return e},proto.lnrpc.AMPRecord.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.AMPRecord.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.AMPRecord.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getRootShare_asU8()).length>0&&t.writeBytes(1,r),(r=e.getSetId_asU8()).length>0&&t.writeBytes(2,r),0!==(r=e.getChildIndex())&&t.writeUint32(3,r)},proto.lnrpc.AMPRecord.prototype.getRootShare=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.AMPRecord.prototype.getRootShare_asB64=function(){return n.Message.bytesAsB64(this.getRootShare())},proto.lnrpc.AMPRecord.prototype.getRootShare_asU8=function(){return n.Message.bytesAsU8(this.getRootShare())},proto.lnrpc.AMPRecord.prototype.setRootShare=function(e){n.Message.setField(this,1,e)},proto.lnrpc.AMPRecord.prototype.getSetId=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.AMPRecord.prototype.getSetId_asB64=function(){return n.Message.bytesAsB64(this.getSetId())},proto.lnrpc.AMPRecord.prototype.getSetId_asU8=function(){return n.Message.bytesAsU8(this.getSetId())},proto.lnrpc.AMPRecord.prototype.setSetId=function(e){n.Message.setField(this,2,e)},proto.lnrpc.AMPRecord.prototype.getChildIndex=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.AMPRecord.prototype.setChildIndex=function(e){n.Message.setField(this,3,e)},proto.lnrpc.Route=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.Route.repeatedFields_,null)},o.inherits(proto.lnrpc.Route,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.Route.displayName="proto.lnrpc.Route"),proto.lnrpc.Route.repeatedFields_=[4],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.Route.prototype.toObject=function(e){return proto.lnrpc.Route.toObject(e,this)},proto.lnrpc.Route.toObject=function(e,t){var r={totalTimeLock:n.Message.getFieldWithDefault(t,1,0),totalFees:n.Message.getFieldWithDefault(t,2,0),totalAmt:n.Message.getFieldWithDefault(t,3,0),hopsList:n.Message.toObjectList(t.getHopsList(),proto.lnrpc.Hop.toObject,e),totalFeesMsat:n.Message.getFieldWithDefault(t,5,0),totalAmtMsat:n.Message.getFieldWithDefault(t,6,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.Route.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.Route;return proto.lnrpc.Route.deserializeBinaryFromReader(r,t)},proto.lnrpc.Route.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint32();e.setTotalTimeLock(r);break;case 2:r=t.readInt64();e.setTotalFees(r);break;case 3:r=t.readInt64();e.setTotalAmt(r);break;case 4:r=new proto.lnrpc.Hop;t.readMessage(r,proto.lnrpc.Hop.deserializeBinaryFromReader),e.addHops(r);break;case 5:r=t.readInt64();e.setTotalFeesMsat(r);break;case 6:r=t.readInt64();e.setTotalAmtMsat(r);break;default:t.skipField()}}return e},proto.lnrpc.Route.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.Route.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.Route.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getTotalTimeLock())&&t.writeUint32(1,r),0!==(r=e.getTotalFees())&&t.writeInt64(2,r),0!==(r=e.getTotalAmt())&&t.writeInt64(3,r),(r=e.getHopsList()).length>0&&t.writeRepeatedMessage(4,r,proto.lnrpc.Hop.serializeBinaryToWriter),0!==(r=e.getTotalFeesMsat())&&t.writeInt64(5,r),0!==(r=e.getTotalAmtMsat())&&t.writeInt64(6,r)},proto.lnrpc.Route.prototype.getTotalTimeLock=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.Route.prototype.setTotalTimeLock=function(e){n.Message.setField(this,1,e)},proto.lnrpc.Route.prototype.getTotalFees=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.Route.prototype.setTotalFees=function(e){n.Message.setField(this,2,e)},proto.lnrpc.Route.prototype.getTotalAmt=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.Route.prototype.setTotalAmt=function(e){n.Message.setField(this,3,e)},proto.lnrpc.Route.prototype.getHopsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.Hop,4)},proto.lnrpc.Route.prototype.setHopsList=function(e){n.Message.setRepeatedWrapperField(this,4,e)},proto.lnrpc.Route.prototype.addHops=function(e,t){return n.Message.addToRepeatedWrapperField(this,4,e,proto.lnrpc.Hop,t)},proto.lnrpc.Route.prototype.clearHopsList=function(){this.setHopsList([])},proto.lnrpc.Route.prototype.getTotalFeesMsat=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.Route.prototype.setTotalFeesMsat=function(e){n.Message.setField(this,5,e)},proto.lnrpc.Route.prototype.getTotalAmtMsat=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.Route.prototype.setTotalAmtMsat=function(e){n.Message.setField(this,6,e)},proto.lnrpc.NodeInfoRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.NodeInfoRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.NodeInfoRequest.displayName="proto.lnrpc.NodeInfoRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.NodeInfoRequest.prototype.toObject=function(e){return proto.lnrpc.NodeInfoRequest.toObject(e,this)},proto.lnrpc.NodeInfoRequest.toObject=function(e,t){var r={pubKey:n.Message.getFieldWithDefault(t,1,""),includeChannels:n.Message.getFieldWithDefault(t,2,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.NodeInfoRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.NodeInfoRequest;return proto.lnrpc.NodeInfoRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.NodeInfoRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setPubKey(r);break;case 2:r=t.readBool();e.setIncludeChannels(r);break;default:t.skipField()}}return e},proto.lnrpc.NodeInfoRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.NodeInfoRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.NodeInfoRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPubKey()).length>0&&t.writeString(1,r),(r=e.getIncludeChannels())&&t.writeBool(2,r)},proto.lnrpc.NodeInfoRequest.prototype.getPubKey=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.NodeInfoRequest.prototype.setPubKey=function(e){n.Message.setField(this,1,e)},proto.lnrpc.NodeInfoRequest.prototype.getIncludeChannels=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.lnrpc.NodeInfoRequest.prototype.setIncludeChannels=function(e){n.Message.setField(this,2,e)},proto.lnrpc.NodeInfo=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.NodeInfo.repeatedFields_,null)},o.inherits(proto.lnrpc.NodeInfo,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.NodeInfo.displayName="proto.lnrpc.NodeInfo"),proto.lnrpc.NodeInfo.repeatedFields_=[4],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.NodeInfo.prototype.toObject=function(e){return proto.lnrpc.NodeInfo.toObject(e,this)},proto.lnrpc.NodeInfo.toObject=function(e,t){var r,o={node:(r=t.getNode())&&proto.lnrpc.LightningNode.toObject(e,r),numChannels:n.Message.getFieldWithDefault(t,2,0),totalCapacity:n.Message.getFieldWithDefault(t,3,0),channelsList:n.Message.toObjectList(t.getChannelsList(),proto.lnrpc.ChannelEdge.toObject,e)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.NodeInfo.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.NodeInfo;return proto.lnrpc.NodeInfo.deserializeBinaryFromReader(r,t)},proto.lnrpc.NodeInfo.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.LightningNode;t.readMessage(r,proto.lnrpc.LightningNode.deserializeBinaryFromReader),e.setNode(r);break;case 2:r=t.readUint32();e.setNumChannels(r);break;case 3:r=t.readInt64();e.setTotalCapacity(r);break;case 4:r=new proto.lnrpc.ChannelEdge;t.readMessage(r,proto.lnrpc.ChannelEdge.deserializeBinaryFromReader),e.addChannels(r);break;default:t.skipField()}}return e},proto.lnrpc.NodeInfo.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.NodeInfo.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.NodeInfo.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getNode())&&t.writeMessage(1,r,proto.lnrpc.LightningNode.serializeBinaryToWriter),0!==(r=e.getNumChannels())&&t.writeUint32(2,r),0!==(r=e.getTotalCapacity())&&t.writeInt64(3,r),(r=e.getChannelsList()).length>0&&t.writeRepeatedMessage(4,r,proto.lnrpc.ChannelEdge.serializeBinaryToWriter)},proto.lnrpc.NodeInfo.prototype.getNode=function(){return n.Message.getWrapperField(this,proto.lnrpc.LightningNode,1)},proto.lnrpc.NodeInfo.prototype.setNode=function(e){n.Message.setWrapperField(this,1,e)},proto.lnrpc.NodeInfo.prototype.clearNode=function(){this.setNode(void 0)},proto.lnrpc.NodeInfo.prototype.hasNode=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.NodeInfo.prototype.getNumChannels=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.NodeInfo.prototype.setNumChannels=function(e){n.Message.setField(this,2,e)},proto.lnrpc.NodeInfo.prototype.getTotalCapacity=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.NodeInfo.prototype.setTotalCapacity=function(e){n.Message.setField(this,3,e)},proto.lnrpc.NodeInfo.prototype.getChannelsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.ChannelEdge,4)},proto.lnrpc.NodeInfo.prototype.setChannelsList=function(e){n.Message.setRepeatedWrapperField(this,4,e)},proto.lnrpc.NodeInfo.prototype.addChannels=function(e,t){return n.Message.addToRepeatedWrapperField(this,4,e,proto.lnrpc.ChannelEdge,t)},proto.lnrpc.NodeInfo.prototype.clearChannelsList=function(){this.setChannelsList([])},proto.lnrpc.LightningNode=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.LightningNode.repeatedFields_,null)},o.inherits(proto.lnrpc.LightningNode,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.LightningNode.displayName="proto.lnrpc.LightningNode"),proto.lnrpc.LightningNode.repeatedFields_=[4],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.LightningNode.prototype.toObject=function(e){return proto.lnrpc.LightningNode.toObject(e,this)},proto.lnrpc.LightningNode.toObject=function(e,t){var r,o={lastUpdate:n.Message.getFieldWithDefault(t,1,0),pubKey:n.Message.getFieldWithDefault(t,2,""),alias:n.Message.getFieldWithDefault(t,3,""),addressesList:n.Message.toObjectList(t.getAddressesList(),proto.lnrpc.NodeAddress.toObject,e),color:n.Message.getFieldWithDefault(t,5,""),featuresMap:(r=t.getFeaturesMap())?r.toObject(e,proto.lnrpc.Feature.toObject):[]};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.LightningNode.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.LightningNode;return proto.lnrpc.LightningNode.deserializeBinaryFromReader(r,t)},proto.lnrpc.LightningNode.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint32();e.setLastUpdate(r);break;case 2:r=t.readString();e.setPubKey(r);break;case 3:r=t.readString();e.setAlias(r);break;case 4:r=new proto.lnrpc.NodeAddress;t.readMessage(r,proto.lnrpc.NodeAddress.deserializeBinaryFromReader),e.addAddresses(r);break;case 5:r=t.readString();e.setColor(r);break;case 6:r=e.getFeaturesMap();t.readMessage(r,(function(e,t){n.Map.deserializeBinary(e,t,n.BinaryReader.prototype.readUint32,n.BinaryReader.prototype.readMessage,proto.lnrpc.Feature.deserializeBinaryFromReader)}));break;default:t.skipField()}}return e},proto.lnrpc.LightningNode.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.LightningNode.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.LightningNode.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getLastUpdate())&&t.writeUint32(1,r),(r=e.getPubKey()).length>0&&t.writeString(2,r),(r=e.getAlias()).length>0&&t.writeString(3,r),(r=e.getAddressesList()).length>0&&t.writeRepeatedMessage(4,r,proto.lnrpc.NodeAddress.serializeBinaryToWriter),(r=e.getColor()).length>0&&t.writeString(5,r),(r=e.getFeaturesMap(!0))&&r.getLength()>0&&r.serializeBinary(6,t,n.BinaryWriter.prototype.writeUint32,n.BinaryWriter.prototype.writeMessage,proto.lnrpc.Feature.serializeBinaryToWriter)},proto.lnrpc.LightningNode.prototype.getLastUpdate=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.LightningNode.prototype.setLastUpdate=function(e){n.Message.setField(this,1,e)},proto.lnrpc.LightningNode.prototype.getPubKey=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.LightningNode.prototype.setPubKey=function(e){n.Message.setField(this,2,e)},proto.lnrpc.LightningNode.prototype.getAlias=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.LightningNode.prototype.setAlias=function(e){n.Message.setField(this,3,e)},proto.lnrpc.LightningNode.prototype.getAddressesList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.NodeAddress,4)},proto.lnrpc.LightningNode.prototype.setAddressesList=function(e){n.Message.setRepeatedWrapperField(this,4,e)},proto.lnrpc.LightningNode.prototype.addAddresses=function(e,t){return n.Message.addToRepeatedWrapperField(this,4,e,proto.lnrpc.NodeAddress,t)},proto.lnrpc.LightningNode.prototype.clearAddressesList=function(){this.setAddressesList([])},proto.lnrpc.LightningNode.prototype.getColor=function(){return n.Message.getFieldWithDefault(this,5,"")},proto.lnrpc.LightningNode.prototype.setColor=function(e){n.Message.setField(this,5,e)},proto.lnrpc.LightningNode.prototype.getFeaturesMap=function(e){return n.Message.getMapField(this,6,e,proto.lnrpc.Feature)},proto.lnrpc.LightningNode.prototype.clearFeaturesMap=function(){this.getFeaturesMap().clear()},proto.lnrpc.NodeAddress=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.NodeAddress,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.NodeAddress.displayName="proto.lnrpc.NodeAddress"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.NodeAddress.prototype.toObject=function(e){return proto.lnrpc.NodeAddress.toObject(e,this)},proto.lnrpc.NodeAddress.toObject=function(e,t){var r={network:n.Message.getFieldWithDefault(t,1,""),addr:n.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.NodeAddress.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.NodeAddress;return proto.lnrpc.NodeAddress.deserializeBinaryFromReader(r,t)},proto.lnrpc.NodeAddress.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setNetwork(r);break;case 2:r=t.readString();e.setAddr(r);break;default:t.skipField()}}return e},proto.lnrpc.NodeAddress.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.NodeAddress.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.NodeAddress.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getNetwork()).length>0&&t.writeString(1,r),(r=e.getAddr()).length>0&&t.writeString(2,r)},proto.lnrpc.NodeAddress.prototype.getNetwork=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.NodeAddress.prototype.setNetwork=function(e){n.Message.setField(this,1,e)},proto.lnrpc.NodeAddress.prototype.getAddr=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.NodeAddress.prototype.setAddr=function(e){n.Message.setField(this,2,e)},proto.lnrpc.RoutingPolicy=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.RoutingPolicy,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.RoutingPolicy.displayName="proto.lnrpc.RoutingPolicy"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.RoutingPolicy.prototype.toObject=function(e){return proto.lnrpc.RoutingPolicy.toObject(e,this)},proto.lnrpc.RoutingPolicy.toObject=function(e,t){var r={timeLockDelta:n.Message.getFieldWithDefault(t,1,0),minHtlc:n.Message.getFieldWithDefault(t,2,0),feeBaseMsat:n.Message.getFieldWithDefault(t,3,0),feeRateMilliMsat:n.Message.getFieldWithDefault(t,4,0),disabled:n.Message.getFieldWithDefault(t,5,!1),maxHtlcMsat:n.Message.getFieldWithDefault(t,6,0),lastUpdate:n.Message.getFieldWithDefault(t,7,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.RoutingPolicy.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.RoutingPolicy;return proto.lnrpc.RoutingPolicy.deserializeBinaryFromReader(r,t)},proto.lnrpc.RoutingPolicy.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint32();e.setTimeLockDelta(r);break;case 2:r=t.readInt64();e.setMinHtlc(r);break;case 3:r=t.readInt64();e.setFeeBaseMsat(r);break;case 4:r=t.readInt64();e.setFeeRateMilliMsat(r);break;case 5:r=t.readBool();e.setDisabled(r);break;case 6:r=t.readUint64();e.setMaxHtlcMsat(r);break;case 7:r=t.readUint32();e.setLastUpdate(r);break;default:t.skipField()}}return e},proto.lnrpc.RoutingPolicy.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.RoutingPolicy.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.RoutingPolicy.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getTimeLockDelta())&&t.writeUint32(1,r),0!==(r=e.getMinHtlc())&&t.writeInt64(2,r),0!==(r=e.getFeeBaseMsat())&&t.writeInt64(3,r),0!==(r=e.getFeeRateMilliMsat())&&t.writeInt64(4,r),(r=e.getDisabled())&&t.writeBool(5,r),0!==(r=e.getMaxHtlcMsat())&&t.writeUint64(6,r),0!==(r=e.getLastUpdate())&&t.writeUint32(7,r)},proto.lnrpc.RoutingPolicy.prototype.getTimeLockDelta=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.RoutingPolicy.prototype.setTimeLockDelta=function(e){n.Message.setField(this,1,e)},proto.lnrpc.RoutingPolicy.prototype.getMinHtlc=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.RoutingPolicy.prototype.setMinHtlc=function(e){n.Message.setField(this,2,e)},proto.lnrpc.RoutingPolicy.prototype.getFeeBaseMsat=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.RoutingPolicy.prototype.setFeeBaseMsat=function(e){n.Message.setField(this,3,e)},proto.lnrpc.RoutingPolicy.prototype.getFeeRateMilliMsat=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.RoutingPolicy.prototype.setFeeRateMilliMsat=function(e){n.Message.setField(this,4,e)},proto.lnrpc.RoutingPolicy.prototype.getDisabled=function(){return n.Message.getFieldWithDefault(this,5,!1)},proto.lnrpc.RoutingPolicy.prototype.setDisabled=function(e){n.Message.setField(this,5,e)},proto.lnrpc.RoutingPolicy.prototype.getMaxHtlcMsat=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.RoutingPolicy.prototype.setMaxHtlcMsat=function(e){n.Message.setField(this,6,e)},proto.lnrpc.RoutingPolicy.prototype.getLastUpdate=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.RoutingPolicy.prototype.setLastUpdate=function(e){n.Message.setField(this,7,e)},proto.lnrpc.ChannelEdge=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChannelEdge,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelEdge.displayName="proto.lnrpc.ChannelEdge"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelEdge.prototype.toObject=function(e){return proto.lnrpc.ChannelEdge.toObject(e,this)},proto.lnrpc.ChannelEdge.toObject=function(e,t){var r,o={channelId:n.Message.getFieldWithDefault(t,1,"0"),chanPoint:n.Message.getFieldWithDefault(t,2,""),lastUpdate:n.Message.getFieldWithDefault(t,3,0),node1Pub:n.Message.getFieldWithDefault(t,4,""),node2Pub:n.Message.getFieldWithDefault(t,5,""),capacity:n.Message.getFieldWithDefault(t,6,0),node1Policy:(r=t.getNode1Policy())&&proto.lnrpc.RoutingPolicy.toObject(e,r),node2Policy:(r=t.getNode2Policy())&&proto.lnrpc.RoutingPolicy.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.ChannelEdge.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelEdge;return proto.lnrpc.ChannelEdge.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelEdge.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint64String();e.setChannelId(r);break;case 2:r=t.readString();e.setChanPoint(r);break;case 3:r=t.readUint32();e.setLastUpdate(r);break;case 4:r=t.readString();e.setNode1Pub(r);break;case 5:r=t.readString();e.setNode2Pub(r);break;case 6:r=t.readInt64();e.setCapacity(r);break;case 7:r=new proto.lnrpc.RoutingPolicy;t.readMessage(r,proto.lnrpc.RoutingPolicy.deserializeBinaryFromReader),e.setNode1Policy(r);break;case 8:r=new proto.lnrpc.RoutingPolicy;t.readMessage(r,proto.lnrpc.RoutingPolicy.deserializeBinaryFromReader),e.setNode2Policy(r);break;default:t.skipField()}}return e},proto.lnrpc.ChannelEdge.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelEdge.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelEdge.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getChannelId(),0!==parseInt(r,10)&&t.writeUint64String(1,r),(r=e.getChanPoint()).length>0&&t.writeString(2,r),0!==(r=e.getLastUpdate())&&t.writeUint32(3,r),(r=e.getNode1Pub()).length>0&&t.writeString(4,r),(r=e.getNode2Pub()).length>0&&t.writeString(5,r),0!==(r=e.getCapacity())&&t.writeInt64(6,r),null!=(r=e.getNode1Policy())&&t.writeMessage(7,r,proto.lnrpc.RoutingPolicy.serializeBinaryToWriter),null!=(r=e.getNode2Policy())&&t.writeMessage(8,r,proto.lnrpc.RoutingPolicy.serializeBinaryToWriter)},proto.lnrpc.ChannelEdge.prototype.getChannelId=function(){return n.Message.getFieldWithDefault(this,1,"0")},proto.lnrpc.ChannelEdge.prototype.setChannelId=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ChannelEdge.prototype.getChanPoint=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.ChannelEdge.prototype.setChanPoint=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ChannelEdge.prototype.getLastUpdate=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.ChannelEdge.prototype.setLastUpdate=function(e){n.Message.setField(this,3,e)},proto.lnrpc.ChannelEdge.prototype.getNode1Pub=function(){return n.Message.getFieldWithDefault(this,4,"")},proto.lnrpc.ChannelEdge.prototype.setNode1Pub=function(e){n.Message.setField(this,4,e)},proto.lnrpc.ChannelEdge.prototype.getNode2Pub=function(){return n.Message.getFieldWithDefault(this,5,"")},proto.lnrpc.ChannelEdge.prototype.setNode2Pub=function(e){n.Message.setField(this,5,e)},proto.lnrpc.ChannelEdge.prototype.getCapacity=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.ChannelEdge.prototype.setCapacity=function(e){n.Message.setField(this,6,e)},proto.lnrpc.ChannelEdge.prototype.getNode1Policy=function(){return n.Message.getWrapperField(this,proto.lnrpc.RoutingPolicy,7)},proto.lnrpc.ChannelEdge.prototype.setNode1Policy=function(e){n.Message.setWrapperField(this,7,e)},proto.lnrpc.ChannelEdge.prototype.clearNode1Policy=function(){this.setNode1Policy(void 0)},proto.lnrpc.ChannelEdge.prototype.hasNode1Policy=function(){return null!=n.Message.getField(this,7)},proto.lnrpc.ChannelEdge.prototype.getNode2Policy=function(){return n.Message.getWrapperField(this,proto.lnrpc.RoutingPolicy,8)},proto.lnrpc.ChannelEdge.prototype.setNode2Policy=function(e){n.Message.setWrapperField(this,8,e)},proto.lnrpc.ChannelEdge.prototype.clearNode2Policy=function(){this.setNode2Policy(void 0)},proto.lnrpc.ChannelEdge.prototype.hasNode2Policy=function(){return null!=n.Message.getField(this,8)},proto.lnrpc.ChannelGraphRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChannelGraphRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelGraphRequest.displayName="proto.lnrpc.ChannelGraphRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelGraphRequest.prototype.toObject=function(e){return proto.lnrpc.ChannelGraphRequest.toObject(e,this)},proto.lnrpc.ChannelGraphRequest.toObject=function(e,t){var r={includeUnannounced:n.Message.getFieldWithDefault(t,1,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ChannelGraphRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelGraphRequest;return proto.lnrpc.ChannelGraphRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelGraphRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readBool();e.setIncludeUnannounced(r)}else t.skipField()}return e},proto.lnrpc.ChannelGraphRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelGraphRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelGraphRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getIncludeUnannounced())&&t.writeBool(1,r)},proto.lnrpc.ChannelGraphRequest.prototype.getIncludeUnannounced=function(){return n.Message.getFieldWithDefault(this,1,!1)},proto.lnrpc.ChannelGraphRequest.prototype.setIncludeUnannounced=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ChannelGraph=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.ChannelGraph.repeatedFields_,null)},o.inherits(proto.lnrpc.ChannelGraph,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelGraph.displayName="proto.lnrpc.ChannelGraph"),proto.lnrpc.ChannelGraph.repeatedFields_=[1,2],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelGraph.prototype.toObject=function(e){return proto.lnrpc.ChannelGraph.toObject(e,this)},proto.lnrpc.ChannelGraph.toObject=function(e,t){var r={nodesList:n.Message.toObjectList(t.getNodesList(),proto.lnrpc.LightningNode.toObject,e),edgesList:n.Message.toObjectList(t.getEdgesList(),proto.lnrpc.ChannelEdge.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ChannelGraph.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelGraph;return proto.lnrpc.ChannelGraph.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelGraph.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.LightningNode;t.readMessage(r,proto.lnrpc.LightningNode.deserializeBinaryFromReader),e.addNodes(r);break;case 2:r=new proto.lnrpc.ChannelEdge;t.readMessage(r,proto.lnrpc.ChannelEdge.deserializeBinaryFromReader),e.addEdges(r);break;default:t.skipField()}}return e},proto.lnrpc.ChannelGraph.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelGraph.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelGraph.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getNodesList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.LightningNode.serializeBinaryToWriter),(r=e.getEdgesList()).length>0&&t.writeRepeatedMessage(2,r,proto.lnrpc.ChannelEdge.serializeBinaryToWriter)},proto.lnrpc.ChannelGraph.prototype.getNodesList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.LightningNode,1)},proto.lnrpc.ChannelGraph.prototype.setNodesList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.ChannelGraph.prototype.addNodes=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.LightningNode,t)},proto.lnrpc.ChannelGraph.prototype.clearNodesList=function(){this.setNodesList([])},proto.lnrpc.ChannelGraph.prototype.getEdgesList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.ChannelEdge,2)},proto.lnrpc.ChannelGraph.prototype.setEdgesList=function(e){n.Message.setRepeatedWrapperField(this,2,e)},proto.lnrpc.ChannelGraph.prototype.addEdges=function(e,t){return n.Message.addToRepeatedWrapperField(this,2,e,proto.lnrpc.ChannelEdge,t)},proto.lnrpc.ChannelGraph.prototype.clearEdgesList=function(){this.setEdgesList([])},proto.lnrpc.NodeMetricsRequest=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.NodeMetricsRequest.repeatedFields_,null)},o.inherits(proto.lnrpc.NodeMetricsRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.NodeMetricsRequest.displayName="proto.lnrpc.NodeMetricsRequest"),proto.lnrpc.NodeMetricsRequest.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.NodeMetricsRequest.prototype.toObject=function(e){return proto.lnrpc.NodeMetricsRequest.toObject(e,this)},proto.lnrpc.NodeMetricsRequest.toObject=function(e,t){var r={typesList:n.Message.getRepeatedField(t,1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.NodeMetricsRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.NodeMetricsRequest;return proto.lnrpc.NodeMetricsRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.NodeMetricsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readPackedEnum();e.setTypesList(r)}else t.skipField()}return e},proto.lnrpc.NodeMetricsRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.NodeMetricsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.NodeMetricsRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getTypesList()).length>0&&t.writePackedEnum(1,r)},proto.lnrpc.NodeMetricsRequest.prototype.getTypesList=function(){return n.Message.getRepeatedField(this,1)},proto.lnrpc.NodeMetricsRequest.prototype.setTypesList=function(e){n.Message.setField(this,1,e||[])},proto.lnrpc.NodeMetricsRequest.prototype.addTypes=function(e,t){n.Message.addToRepeatedField(this,1,e,t)},proto.lnrpc.NodeMetricsRequest.prototype.clearTypesList=function(){this.setTypesList([])},proto.lnrpc.NodeMetricsResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.NodeMetricsResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.NodeMetricsResponse.displayName="proto.lnrpc.NodeMetricsResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.NodeMetricsResponse.prototype.toObject=function(e){return proto.lnrpc.NodeMetricsResponse.toObject(e,this)},proto.lnrpc.NodeMetricsResponse.toObject=function(e,t){var r,n={betweennessCentralityMap:(r=t.getBetweennessCentralityMap())?r.toObject(e,proto.lnrpc.FloatMetric.toObject):[]};return e&&(n.$jspbMessageInstance=t),n}),proto.lnrpc.NodeMetricsResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.NodeMetricsResponse;return proto.lnrpc.NodeMetricsResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.NodeMetricsResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=e.getBetweennessCentralityMap();t.readMessage(r,(function(e,t){n.Map.deserializeBinary(e,t,n.BinaryReader.prototype.readString,n.BinaryReader.prototype.readMessage,proto.lnrpc.FloatMetric.deserializeBinaryFromReader)}))}else t.skipField()}return e},proto.lnrpc.NodeMetricsResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.NodeMetricsResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.NodeMetricsResponse.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getBetweennessCentralityMap(!0))&&r.getLength()>0&&r.serializeBinary(1,t,n.BinaryWriter.prototype.writeString,n.BinaryWriter.prototype.writeMessage,proto.lnrpc.FloatMetric.serializeBinaryToWriter)},proto.lnrpc.NodeMetricsResponse.prototype.getBetweennessCentralityMap=function(e){return n.Message.getMapField(this,1,e,proto.lnrpc.FloatMetric)},proto.lnrpc.NodeMetricsResponse.prototype.clearBetweennessCentralityMap=function(){this.getBetweennessCentralityMap().clear()},proto.lnrpc.FloatMetric=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.FloatMetric,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.FloatMetric.displayName="proto.lnrpc.FloatMetric"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.FloatMetric.prototype.toObject=function(e){return proto.lnrpc.FloatMetric.toObject(e,this)},proto.lnrpc.FloatMetric.toObject=function(e,t){var r={value:+n.Message.getFieldWithDefault(t,1,0),normalizedValue:+n.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.FloatMetric.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.FloatMetric;return proto.lnrpc.FloatMetric.deserializeBinaryFromReader(r,t)},proto.lnrpc.FloatMetric.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readDouble();e.setValue(r);break;case 2:r=t.readDouble();e.setNormalizedValue(r);break;default:t.skipField()}}return e},proto.lnrpc.FloatMetric.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.FloatMetric.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.FloatMetric.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getValue())&&t.writeDouble(1,r),0!==(r=e.getNormalizedValue())&&t.writeDouble(2,r)},proto.lnrpc.FloatMetric.prototype.getValue=function(){return+n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.FloatMetric.prototype.setValue=function(e){n.Message.setField(this,1,e)},proto.lnrpc.FloatMetric.prototype.getNormalizedValue=function(){return+n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.FloatMetric.prototype.setNormalizedValue=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ChanInfoRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChanInfoRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChanInfoRequest.displayName="proto.lnrpc.ChanInfoRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChanInfoRequest.prototype.toObject=function(e){return proto.lnrpc.ChanInfoRequest.toObject(e,this)},proto.lnrpc.ChanInfoRequest.toObject=function(e,t){var r={chanId:n.Message.getFieldWithDefault(t,1,"0")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ChanInfoRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChanInfoRequest;return proto.lnrpc.ChanInfoRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChanInfoRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readUint64String();e.setChanId(r)}else t.skipField()}return e},proto.lnrpc.ChanInfoRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChanInfoRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChanInfoRequest.serializeBinaryToWriter=function(e,t){var r;r=e.getChanId(),0!==parseInt(r,10)&&t.writeUint64String(1,r)},proto.lnrpc.ChanInfoRequest.prototype.getChanId=function(){return n.Message.getFieldWithDefault(this,1,"0")},proto.lnrpc.ChanInfoRequest.prototype.setChanId=function(e){n.Message.setField(this,1,e)},proto.lnrpc.NetworkInfoRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.NetworkInfoRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.NetworkInfoRequest.displayName="proto.lnrpc.NetworkInfoRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.NetworkInfoRequest.prototype.toObject=function(e){return proto.lnrpc.NetworkInfoRequest.toObject(e,this)},proto.lnrpc.NetworkInfoRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.NetworkInfoRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.NetworkInfoRequest;return proto.lnrpc.NetworkInfoRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.NetworkInfoRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.NetworkInfoRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.NetworkInfoRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.NetworkInfoRequest.serializeBinaryToWriter=function(e,t){},proto.lnrpc.NetworkInfo=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.NetworkInfo,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.NetworkInfo.displayName="proto.lnrpc.NetworkInfo"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.NetworkInfo.prototype.toObject=function(e){return proto.lnrpc.NetworkInfo.toObject(e,this)},proto.lnrpc.NetworkInfo.toObject=function(e,t){var r={graphDiameter:n.Message.getFieldWithDefault(t,1,0),avgOutDegree:+n.Message.getFieldWithDefault(t,2,0),maxOutDegree:n.Message.getFieldWithDefault(t,3,0),numNodes:n.Message.getFieldWithDefault(t,4,0),numChannels:n.Message.getFieldWithDefault(t,5,0),totalNetworkCapacity:n.Message.getFieldWithDefault(t,6,0),avgChannelSize:+n.Message.getFieldWithDefault(t,7,0),minChannelSize:n.Message.getFieldWithDefault(t,8,0),maxChannelSize:n.Message.getFieldWithDefault(t,9,0),medianChannelSizeSat:n.Message.getFieldWithDefault(t,10,0),numZombieChans:n.Message.getFieldWithDefault(t,11,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.NetworkInfo.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.NetworkInfo;return proto.lnrpc.NetworkInfo.deserializeBinaryFromReader(r,t)},proto.lnrpc.NetworkInfo.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint32();e.setGraphDiameter(r);break;case 2:r=t.readDouble();e.setAvgOutDegree(r);break;case 3:r=t.readUint32();e.setMaxOutDegree(r);break;case 4:r=t.readUint32();e.setNumNodes(r);break;case 5:r=t.readUint32();e.setNumChannels(r);break;case 6:r=t.readInt64();e.setTotalNetworkCapacity(r);break;case 7:r=t.readDouble();e.setAvgChannelSize(r);break;case 8:r=t.readInt64();e.setMinChannelSize(r);break;case 9:r=t.readInt64();e.setMaxChannelSize(r);break;case 10:r=t.readInt64();e.setMedianChannelSizeSat(r);break;case 11:r=t.readUint64();e.setNumZombieChans(r);break;default:t.skipField()}}return e},proto.lnrpc.NetworkInfo.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.NetworkInfo.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.NetworkInfo.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getGraphDiameter())&&t.writeUint32(1,r),0!==(r=e.getAvgOutDegree())&&t.writeDouble(2,r),0!==(r=e.getMaxOutDegree())&&t.writeUint32(3,r),0!==(r=e.getNumNodes())&&t.writeUint32(4,r),0!==(r=e.getNumChannels())&&t.writeUint32(5,r),0!==(r=e.getTotalNetworkCapacity())&&t.writeInt64(6,r),0!==(r=e.getAvgChannelSize())&&t.writeDouble(7,r),0!==(r=e.getMinChannelSize())&&t.writeInt64(8,r),0!==(r=e.getMaxChannelSize())&&t.writeInt64(9,r),0!==(r=e.getMedianChannelSizeSat())&&t.writeInt64(10,r),0!==(r=e.getNumZombieChans())&&t.writeUint64(11,r)},proto.lnrpc.NetworkInfo.prototype.getGraphDiameter=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.NetworkInfo.prototype.setGraphDiameter=function(e){n.Message.setField(this,1,e)},proto.lnrpc.NetworkInfo.prototype.getAvgOutDegree=function(){return+n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.NetworkInfo.prototype.setAvgOutDegree=function(e){n.Message.setField(this,2,e)},proto.lnrpc.NetworkInfo.prototype.getMaxOutDegree=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.NetworkInfo.prototype.setMaxOutDegree=function(e){n.Message.setField(this,3,e)},proto.lnrpc.NetworkInfo.prototype.getNumNodes=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.NetworkInfo.prototype.setNumNodes=function(e){n.Message.setField(this,4,e)},proto.lnrpc.NetworkInfo.prototype.getNumChannels=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.NetworkInfo.prototype.setNumChannels=function(e){n.Message.setField(this,5,e)},proto.lnrpc.NetworkInfo.prototype.getTotalNetworkCapacity=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.NetworkInfo.prototype.setTotalNetworkCapacity=function(e){n.Message.setField(this,6,e)},proto.lnrpc.NetworkInfo.prototype.getAvgChannelSize=function(){return+n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.NetworkInfo.prototype.setAvgChannelSize=function(e){n.Message.setField(this,7,e)},proto.lnrpc.NetworkInfo.prototype.getMinChannelSize=function(){return n.Message.getFieldWithDefault(this,8,0)},proto.lnrpc.NetworkInfo.prototype.setMinChannelSize=function(e){n.Message.setField(this,8,e)},proto.lnrpc.NetworkInfo.prototype.getMaxChannelSize=function(){return n.Message.getFieldWithDefault(this,9,0)},proto.lnrpc.NetworkInfo.prototype.setMaxChannelSize=function(e){n.Message.setField(this,9,e)},proto.lnrpc.NetworkInfo.prototype.getMedianChannelSizeSat=function(){return n.Message.getFieldWithDefault(this,10,0)},proto.lnrpc.NetworkInfo.prototype.setMedianChannelSizeSat=function(e){n.Message.setField(this,10,e)},proto.lnrpc.NetworkInfo.prototype.getNumZombieChans=function(){return n.Message.getFieldWithDefault(this,11,0)},proto.lnrpc.NetworkInfo.prototype.setNumZombieChans=function(e){n.Message.setField(this,11,e)},proto.lnrpc.StopRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.StopRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.StopRequest.displayName="proto.lnrpc.StopRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.StopRequest.prototype.toObject=function(e){return proto.lnrpc.StopRequest.toObject(e,this)},proto.lnrpc.StopRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.StopRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.StopRequest;return proto.lnrpc.StopRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.StopRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.StopRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.StopRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.StopRequest.serializeBinaryToWriter=function(e,t){},proto.lnrpc.StopResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.StopResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.StopResponse.displayName="proto.lnrpc.StopResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.StopResponse.prototype.toObject=function(e){return proto.lnrpc.StopResponse.toObject(e,this)},proto.lnrpc.StopResponse.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.StopResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.StopResponse;return proto.lnrpc.StopResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.StopResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.StopResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.StopResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.StopResponse.serializeBinaryToWriter=function(e,t){},proto.lnrpc.GraphTopologySubscription=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.GraphTopologySubscription,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.GraphTopologySubscription.displayName="proto.lnrpc.GraphTopologySubscription"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.GraphTopologySubscription.prototype.toObject=function(e){return proto.lnrpc.GraphTopologySubscription.toObject(e,this)},proto.lnrpc.GraphTopologySubscription.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.GraphTopologySubscription.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.GraphTopologySubscription;return proto.lnrpc.GraphTopologySubscription.deserializeBinaryFromReader(r,t)},proto.lnrpc.GraphTopologySubscription.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.GraphTopologySubscription.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.GraphTopologySubscription.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.GraphTopologySubscription.serializeBinaryToWriter=function(e,t){},proto.lnrpc.GraphTopologyUpdate=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.GraphTopologyUpdate.repeatedFields_,null)},o.inherits(proto.lnrpc.GraphTopologyUpdate,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.GraphTopologyUpdate.displayName="proto.lnrpc.GraphTopologyUpdate"),proto.lnrpc.GraphTopologyUpdate.repeatedFields_=[1,2,3],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.GraphTopologyUpdate.prototype.toObject=function(e){return proto.lnrpc.GraphTopologyUpdate.toObject(e,this)},proto.lnrpc.GraphTopologyUpdate.toObject=function(e,t){var r={nodeUpdatesList:n.Message.toObjectList(t.getNodeUpdatesList(),proto.lnrpc.NodeUpdate.toObject,e),channelUpdatesList:n.Message.toObjectList(t.getChannelUpdatesList(),proto.lnrpc.ChannelEdgeUpdate.toObject,e),closedChansList:n.Message.toObjectList(t.getClosedChansList(),proto.lnrpc.ClosedChannelUpdate.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.GraphTopologyUpdate.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.GraphTopologyUpdate;return proto.lnrpc.GraphTopologyUpdate.deserializeBinaryFromReader(r,t)},proto.lnrpc.GraphTopologyUpdate.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.NodeUpdate;t.readMessage(r,proto.lnrpc.NodeUpdate.deserializeBinaryFromReader),e.addNodeUpdates(r);break;case 2:r=new proto.lnrpc.ChannelEdgeUpdate;t.readMessage(r,proto.lnrpc.ChannelEdgeUpdate.deserializeBinaryFromReader),e.addChannelUpdates(r);break;case 3:r=new proto.lnrpc.ClosedChannelUpdate;t.readMessage(r,proto.lnrpc.ClosedChannelUpdate.deserializeBinaryFromReader),e.addClosedChans(r);break;default:t.skipField()}}return e},proto.lnrpc.GraphTopologyUpdate.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.GraphTopologyUpdate.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.GraphTopologyUpdate.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getNodeUpdatesList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.NodeUpdate.serializeBinaryToWriter),(r=e.getChannelUpdatesList()).length>0&&t.writeRepeatedMessage(2,r,proto.lnrpc.ChannelEdgeUpdate.serializeBinaryToWriter),(r=e.getClosedChansList()).length>0&&t.writeRepeatedMessage(3,r,proto.lnrpc.ClosedChannelUpdate.serializeBinaryToWriter)},proto.lnrpc.GraphTopologyUpdate.prototype.getNodeUpdatesList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.NodeUpdate,1)};proto.lnrpc.GraphTopologyUpdate.prototype.setNodeUpdatesList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.GraphTopologyUpdate.prototype.addNodeUpdates=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.NodeUpdate,t)},proto.lnrpc.GraphTopologyUpdate.prototype.clearNodeUpdatesList=function(){this.setNodeUpdatesList([])},proto.lnrpc.GraphTopologyUpdate.prototype.getChannelUpdatesList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.ChannelEdgeUpdate,2)},proto.lnrpc.GraphTopologyUpdate.prototype.setChannelUpdatesList=function(e){n.Message.setRepeatedWrapperField(this,2,e)},proto.lnrpc.GraphTopologyUpdate.prototype.addChannelUpdates=function(e,t){return n.Message.addToRepeatedWrapperField(this,2,e,proto.lnrpc.ChannelEdgeUpdate,t)},proto.lnrpc.GraphTopologyUpdate.prototype.clearChannelUpdatesList=function(){this.setChannelUpdatesList([])},proto.lnrpc.GraphTopologyUpdate.prototype.getClosedChansList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.ClosedChannelUpdate,3)},proto.lnrpc.GraphTopologyUpdate.prototype.setClosedChansList=function(e){n.Message.setRepeatedWrapperField(this,3,e)},proto.lnrpc.GraphTopologyUpdate.prototype.addClosedChans=function(e,t){return n.Message.addToRepeatedWrapperField(this,3,e,proto.lnrpc.ClosedChannelUpdate,t)},proto.lnrpc.GraphTopologyUpdate.prototype.clearClosedChansList=function(){this.setClosedChansList([])},proto.lnrpc.NodeUpdate=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.NodeUpdate.repeatedFields_,null)},o.inherits(proto.lnrpc.NodeUpdate,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.NodeUpdate.displayName="proto.lnrpc.NodeUpdate"),proto.lnrpc.NodeUpdate.repeatedFields_=[1,7],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.NodeUpdate.prototype.toObject=function(e){return proto.lnrpc.NodeUpdate.toObject(e,this)},proto.lnrpc.NodeUpdate.toObject=function(e,t){var r,o={addressesList:n.Message.getRepeatedField(t,1),identityKey:n.Message.getFieldWithDefault(t,2,""),globalFeatures:t.getGlobalFeatures_asB64(),alias:n.Message.getFieldWithDefault(t,4,""),color:n.Message.getFieldWithDefault(t,5,""),nodeAddressesList:n.Message.toObjectList(t.getNodeAddressesList(),proto.lnrpc.NodeAddress.toObject,e),featuresMap:(r=t.getFeaturesMap())?r.toObject(e,proto.lnrpc.Feature.toObject):[]};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.NodeUpdate.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.NodeUpdate;return proto.lnrpc.NodeUpdate.deserializeBinaryFromReader(r,t)},proto.lnrpc.NodeUpdate.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.addAddresses(r);break;case 2:r=t.readString();e.setIdentityKey(r);break;case 3:r=t.readBytes();e.setGlobalFeatures(r);break;case 4:r=t.readString();e.setAlias(r);break;case 5:r=t.readString();e.setColor(r);break;case 7:r=new proto.lnrpc.NodeAddress;t.readMessage(r,proto.lnrpc.NodeAddress.deserializeBinaryFromReader),e.addNodeAddresses(r);break;case 6:r=e.getFeaturesMap();t.readMessage(r,(function(e,t){n.Map.deserializeBinary(e,t,n.BinaryReader.prototype.readUint32,n.BinaryReader.prototype.readMessage,proto.lnrpc.Feature.deserializeBinaryFromReader)}));break;default:t.skipField()}}return e},proto.lnrpc.NodeUpdate.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.NodeUpdate.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.NodeUpdate.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getAddressesList()).length>0&&t.writeRepeatedString(1,r),(r=e.getIdentityKey()).length>0&&t.writeString(2,r),(r=e.getGlobalFeatures_asU8()).length>0&&t.writeBytes(3,r),(r=e.getAlias()).length>0&&t.writeString(4,r),(r=e.getColor()).length>0&&t.writeString(5,r),(r=e.getNodeAddressesList()).length>0&&t.writeRepeatedMessage(7,r,proto.lnrpc.NodeAddress.serializeBinaryToWriter),(r=e.getFeaturesMap(!0))&&r.getLength()>0&&r.serializeBinary(6,t,n.BinaryWriter.prototype.writeUint32,n.BinaryWriter.prototype.writeMessage,proto.lnrpc.Feature.serializeBinaryToWriter)},proto.lnrpc.NodeUpdate.prototype.getAddressesList=function(){return n.Message.getRepeatedField(this,1)},proto.lnrpc.NodeUpdate.prototype.setAddressesList=function(e){n.Message.setField(this,1,e||[])},proto.lnrpc.NodeUpdate.prototype.addAddresses=function(e,t){n.Message.addToRepeatedField(this,1,e,t)},proto.lnrpc.NodeUpdate.prototype.clearAddressesList=function(){this.setAddressesList([])},proto.lnrpc.NodeUpdate.prototype.getIdentityKey=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.NodeUpdate.prototype.setIdentityKey=function(e){n.Message.setField(this,2,e)},proto.lnrpc.NodeUpdate.prototype.getGlobalFeatures=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.NodeUpdate.prototype.getGlobalFeatures_asB64=function(){return n.Message.bytesAsB64(this.getGlobalFeatures())},proto.lnrpc.NodeUpdate.prototype.getGlobalFeatures_asU8=function(){return n.Message.bytesAsU8(this.getGlobalFeatures())},proto.lnrpc.NodeUpdate.prototype.setGlobalFeatures=function(e){n.Message.setField(this,3,e)},proto.lnrpc.NodeUpdate.prototype.getAlias=function(){return n.Message.getFieldWithDefault(this,4,"")},proto.lnrpc.NodeUpdate.prototype.setAlias=function(e){n.Message.setField(this,4,e)},proto.lnrpc.NodeUpdate.prototype.getColor=function(){return n.Message.getFieldWithDefault(this,5,"")},proto.lnrpc.NodeUpdate.prototype.setColor=function(e){n.Message.setField(this,5,e)},proto.lnrpc.NodeUpdate.prototype.getNodeAddressesList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.NodeAddress,7)},proto.lnrpc.NodeUpdate.prototype.setNodeAddressesList=function(e){n.Message.setRepeatedWrapperField(this,7,e)},proto.lnrpc.NodeUpdate.prototype.addNodeAddresses=function(e,t){return n.Message.addToRepeatedWrapperField(this,7,e,proto.lnrpc.NodeAddress,t)},proto.lnrpc.NodeUpdate.prototype.clearNodeAddressesList=function(){this.setNodeAddressesList([])},proto.lnrpc.NodeUpdate.prototype.getFeaturesMap=function(e){return n.Message.getMapField(this,6,e,proto.lnrpc.Feature)},proto.lnrpc.NodeUpdate.prototype.clearFeaturesMap=function(){this.getFeaturesMap().clear()},proto.lnrpc.ChannelEdgeUpdate=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChannelEdgeUpdate,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelEdgeUpdate.displayName="proto.lnrpc.ChannelEdgeUpdate"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelEdgeUpdate.prototype.toObject=function(e){return proto.lnrpc.ChannelEdgeUpdate.toObject(e,this)},proto.lnrpc.ChannelEdgeUpdate.toObject=function(e,t){var r,o={chanId:n.Message.getFieldWithDefault(t,1,"0"),chanPoint:(r=t.getChanPoint())&&proto.lnrpc.ChannelPoint.toObject(e,r),capacity:n.Message.getFieldWithDefault(t,3,0),routingPolicy:(r=t.getRoutingPolicy())&&proto.lnrpc.RoutingPolicy.toObject(e,r),advertisingNode:n.Message.getFieldWithDefault(t,5,""),connectingNode:n.Message.getFieldWithDefault(t,6,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.ChannelEdgeUpdate.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelEdgeUpdate;return proto.lnrpc.ChannelEdgeUpdate.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelEdgeUpdate.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint64String();e.setChanId(r);break;case 2:r=new proto.lnrpc.ChannelPoint;t.readMessage(r,proto.lnrpc.ChannelPoint.deserializeBinaryFromReader),e.setChanPoint(r);break;case 3:r=t.readInt64();e.setCapacity(r);break;case 4:r=new proto.lnrpc.RoutingPolicy;t.readMessage(r,proto.lnrpc.RoutingPolicy.deserializeBinaryFromReader),e.setRoutingPolicy(r);break;case 5:r=t.readString();e.setAdvertisingNode(r);break;case 6:r=t.readString();e.setConnectingNode(r);break;default:t.skipField()}}return e},proto.lnrpc.ChannelEdgeUpdate.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelEdgeUpdate.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelEdgeUpdate.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getChanId(),0!==parseInt(r,10)&&t.writeUint64String(1,r),null!=(r=e.getChanPoint())&&t.writeMessage(2,r,proto.lnrpc.ChannelPoint.serializeBinaryToWriter),0!==(r=e.getCapacity())&&t.writeInt64(3,r),null!=(r=e.getRoutingPolicy())&&t.writeMessage(4,r,proto.lnrpc.RoutingPolicy.serializeBinaryToWriter),(r=e.getAdvertisingNode()).length>0&&t.writeString(5,r),(r=e.getConnectingNode()).length>0&&t.writeString(6,r)},proto.lnrpc.ChannelEdgeUpdate.prototype.getChanId=function(){return n.Message.getFieldWithDefault(this,1,"0")},proto.lnrpc.ChannelEdgeUpdate.prototype.setChanId=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ChannelEdgeUpdate.prototype.getChanPoint=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelPoint,2)},proto.lnrpc.ChannelEdgeUpdate.prototype.setChanPoint=function(e){n.Message.setWrapperField(this,2,e)},proto.lnrpc.ChannelEdgeUpdate.prototype.clearChanPoint=function(){this.setChanPoint(void 0)},proto.lnrpc.ChannelEdgeUpdate.prototype.hasChanPoint=function(){return null!=n.Message.getField(this,2)},proto.lnrpc.ChannelEdgeUpdate.prototype.getCapacity=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.ChannelEdgeUpdate.prototype.setCapacity=function(e){n.Message.setField(this,3,e)},proto.lnrpc.ChannelEdgeUpdate.prototype.getRoutingPolicy=function(){return n.Message.getWrapperField(this,proto.lnrpc.RoutingPolicy,4)},proto.lnrpc.ChannelEdgeUpdate.prototype.setRoutingPolicy=function(e){n.Message.setWrapperField(this,4,e)},proto.lnrpc.ChannelEdgeUpdate.prototype.clearRoutingPolicy=function(){this.setRoutingPolicy(void 0)},proto.lnrpc.ChannelEdgeUpdate.prototype.hasRoutingPolicy=function(){return null!=n.Message.getField(this,4)},proto.lnrpc.ChannelEdgeUpdate.prototype.getAdvertisingNode=function(){return n.Message.getFieldWithDefault(this,5,"")},proto.lnrpc.ChannelEdgeUpdate.prototype.setAdvertisingNode=function(e){n.Message.setField(this,5,e)},proto.lnrpc.ChannelEdgeUpdate.prototype.getConnectingNode=function(){return n.Message.getFieldWithDefault(this,6,"")},proto.lnrpc.ChannelEdgeUpdate.prototype.setConnectingNode=function(e){n.Message.setField(this,6,e)},proto.lnrpc.ClosedChannelUpdate=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ClosedChannelUpdate,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ClosedChannelUpdate.displayName="proto.lnrpc.ClosedChannelUpdate"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ClosedChannelUpdate.prototype.toObject=function(e){return proto.lnrpc.ClosedChannelUpdate.toObject(e,this)},proto.lnrpc.ClosedChannelUpdate.toObject=function(e,t){var r,o={chanId:n.Message.getFieldWithDefault(t,1,"0"),capacity:n.Message.getFieldWithDefault(t,2,0),closedHeight:n.Message.getFieldWithDefault(t,3,0),chanPoint:(r=t.getChanPoint())&&proto.lnrpc.ChannelPoint.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.ClosedChannelUpdate.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ClosedChannelUpdate;return proto.lnrpc.ClosedChannelUpdate.deserializeBinaryFromReader(r,t)},proto.lnrpc.ClosedChannelUpdate.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint64String();e.setChanId(r);break;case 2:r=t.readInt64();e.setCapacity(r);break;case 3:r=t.readUint32();e.setClosedHeight(r);break;case 4:r=new proto.lnrpc.ChannelPoint;t.readMessage(r,proto.lnrpc.ChannelPoint.deserializeBinaryFromReader),e.setChanPoint(r);break;default:t.skipField()}}return e},proto.lnrpc.ClosedChannelUpdate.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ClosedChannelUpdate.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ClosedChannelUpdate.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getChanId(),0!==parseInt(r,10)&&t.writeUint64String(1,r),0!==(r=e.getCapacity())&&t.writeInt64(2,r),0!==(r=e.getClosedHeight())&&t.writeUint32(3,r),null!=(r=e.getChanPoint())&&t.writeMessage(4,r,proto.lnrpc.ChannelPoint.serializeBinaryToWriter)},proto.lnrpc.ClosedChannelUpdate.prototype.getChanId=function(){return n.Message.getFieldWithDefault(this,1,"0")},proto.lnrpc.ClosedChannelUpdate.prototype.setChanId=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ClosedChannelUpdate.prototype.getCapacity=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.ClosedChannelUpdate.prototype.setCapacity=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ClosedChannelUpdate.prototype.getClosedHeight=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.ClosedChannelUpdate.prototype.setClosedHeight=function(e){n.Message.setField(this,3,e)},proto.lnrpc.ClosedChannelUpdate.prototype.getChanPoint=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelPoint,4)},proto.lnrpc.ClosedChannelUpdate.prototype.setChanPoint=function(e){n.Message.setWrapperField(this,4,e)},proto.lnrpc.ClosedChannelUpdate.prototype.clearChanPoint=function(){this.setChanPoint(void 0)},proto.lnrpc.ClosedChannelUpdate.prototype.hasChanPoint=function(){return null!=n.Message.getField(this,4)},proto.lnrpc.HopHint=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.HopHint,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.HopHint.displayName="proto.lnrpc.HopHint"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.HopHint.prototype.toObject=function(e){return proto.lnrpc.HopHint.toObject(e,this)},proto.lnrpc.HopHint.toObject=function(e,t){var r={nodeId:n.Message.getFieldWithDefault(t,1,""),chanId:n.Message.getFieldWithDefault(t,2,"0"),feeBaseMsat:n.Message.getFieldWithDefault(t,3,0),feeProportionalMillionths:n.Message.getFieldWithDefault(t,4,0),cltvExpiryDelta:n.Message.getFieldWithDefault(t,5,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.HopHint.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.HopHint;return proto.lnrpc.HopHint.deserializeBinaryFromReader(r,t)},proto.lnrpc.HopHint.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setNodeId(r);break;case 2:r=t.readUint64String();e.setChanId(r);break;case 3:r=t.readUint32();e.setFeeBaseMsat(r);break;case 4:r=t.readUint32();e.setFeeProportionalMillionths(r);break;case 5:r=t.readUint32();e.setCltvExpiryDelta(r);break;default:t.skipField()}}return e},proto.lnrpc.HopHint.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.HopHint.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.HopHint.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getNodeId()).length>0&&t.writeString(1,r),r=e.getChanId(),0!==parseInt(r,10)&&t.writeUint64String(2,r),0!==(r=e.getFeeBaseMsat())&&t.writeUint32(3,r),0!==(r=e.getFeeProportionalMillionths())&&t.writeUint32(4,r),0!==(r=e.getCltvExpiryDelta())&&t.writeUint32(5,r)},proto.lnrpc.HopHint.prototype.getNodeId=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.HopHint.prototype.setNodeId=function(e){n.Message.setField(this,1,e)},proto.lnrpc.HopHint.prototype.getChanId=function(){return n.Message.getFieldWithDefault(this,2,"0")},proto.lnrpc.HopHint.prototype.setChanId=function(e){n.Message.setField(this,2,e)},proto.lnrpc.HopHint.prototype.getFeeBaseMsat=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.HopHint.prototype.setFeeBaseMsat=function(e){n.Message.setField(this,3,e)},proto.lnrpc.HopHint.prototype.getFeeProportionalMillionths=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.HopHint.prototype.setFeeProportionalMillionths=function(e){n.Message.setField(this,4,e)},proto.lnrpc.HopHint.prototype.getCltvExpiryDelta=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.HopHint.prototype.setCltvExpiryDelta=function(e){n.Message.setField(this,5,e)},proto.lnrpc.RouteHint=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.RouteHint.repeatedFields_,null)},o.inherits(proto.lnrpc.RouteHint,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.RouteHint.displayName="proto.lnrpc.RouteHint"),proto.lnrpc.RouteHint.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.RouteHint.prototype.toObject=function(e){return proto.lnrpc.RouteHint.toObject(e,this)},proto.lnrpc.RouteHint.toObject=function(e,t){var r={hopHintsList:n.Message.toObjectList(t.getHopHintsList(),proto.lnrpc.HopHint.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.RouteHint.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.RouteHint;return proto.lnrpc.RouteHint.deserializeBinaryFromReader(r,t)},proto.lnrpc.RouteHint.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.lnrpc.HopHint;t.readMessage(r,proto.lnrpc.HopHint.deserializeBinaryFromReader),e.addHopHints(r)}else t.skipField()}return e},proto.lnrpc.RouteHint.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.RouteHint.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.RouteHint.serializeBinaryToWriter=function(e,t){var r;(r=e.getHopHintsList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.HopHint.serializeBinaryToWriter)},proto.lnrpc.RouteHint.prototype.getHopHintsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.HopHint,1)},proto.lnrpc.RouteHint.prototype.setHopHintsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.RouteHint.prototype.addHopHints=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.HopHint,t)},proto.lnrpc.RouteHint.prototype.clearHopHintsList=function(){this.setHopHintsList([])},proto.lnrpc.Invoice=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.Invoice.repeatedFields_,null)},o.inherits(proto.lnrpc.Invoice,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.Invoice.displayName="proto.lnrpc.Invoice"),proto.lnrpc.Invoice.repeatedFields_=[14,22],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.Invoice.prototype.toObject=function(e){return proto.lnrpc.Invoice.toObject(e,this)},proto.lnrpc.Invoice.toObject=function(e,t){var r,o={memo:n.Message.getFieldWithDefault(t,1,""),rPreimage:t.getRPreimage_asB64(),rHash:t.getRHash_asB64(),value:n.Message.getFieldWithDefault(t,5,0),valueMsat:n.Message.getFieldWithDefault(t,23,0),settled:n.Message.getFieldWithDefault(t,6,!1),creationDate:n.Message.getFieldWithDefault(t,7,0),settleDate:n.Message.getFieldWithDefault(t,8,0),paymentRequest:n.Message.getFieldWithDefault(t,9,""),descriptionHash:t.getDescriptionHash_asB64(),expiry:n.Message.getFieldWithDefault(t,11,0),fallbackAddr:n.Message.getFieldWithDefault(t,12,""),cltvExpiry:n.Message.getFieldWithDefault(t,13,0),routeHintsList:n.Message.toObjectList(t.getRouteHintsList(),proto.lnrpc.RouteHint.toObject,e),pb_private:n.Message.getFieldWithDefault(t,15,!1),addIndex:n.Message.getFieldWithDefault(t,16,0),settleIndex:n.Message.getFieldWithDefault(t,17,0),amtPaid:n.Message.getFieldWithDefault(t,18,0),amtPaidSat:n.Message.getFieldWithDefault(t,19,0),amtPaidMsat:n.Message.getFieldWithDefault(t,20,0),state:n.Message.getFieldWithDefault(t,21,0),htlcsList:n.Message.toObjectList(t.getHtlcsList(),proto.lnrpc.InvoiceHTLC.toObject,e),featuresMap:(r=t.getFeaturesMap())?r.toObject(e,proto.lnrpc.Feature.toObject):[],isKeysend:n.Message.getFieldWithDefault(t,25,!1),paymentAddr:t.getPaymentAddr_asB64(),isAmp:n.Message.getFieldWithDefault(t,27,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.Invoice.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.Invoice;return proto.lnrpc.Invoice.deserializeBinaryFromReader(r,t)},proto.lnrpc.Invoice.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setMemo(r);break;case 3:r=t.readBytes();e.setRPreimage(r);break;case 4:r=t.readBytes();e.setRHash(r);break;case 5:r=t.readInt64();e.setValue(r);break;case 23:r=t.readInt64();e.setValueMsat(r);break;case 6:r=t.readBool();e.setSettled(r);break;case 7:r=t.readInt64();e.setCreationDate(r);break;case 8:r=t.readInt64();e.setSettleDate(r);break;case 9:r=t.readString();e.setPaymentRequest(r);break;case 10:r=t.readBytes();e.setDescriptionHash(r);break;case 11:r=t.readInt64();e.setExpiry(r);break;case 12:r=t.readString();e.setFallbackAddr(r);break;case 13:r=t.readUint64();e.setCltvExpiry(r);break;case 14:r=new proto.lnrpc.RouteHint;t.readMessage(r,proto.lnrpc.RouteHint.deserializeBinaryFromReader),e.addRouteHints(r);break;case 15:r=t.readBool();e.setPrivate(r);break;case 16:r=t.readUint64();e.setAddIndex(r);break;case 17:r=t.readUint64();e.setSettleIndex(r);break;case 18:r=t.readInt64();e.setAmtPaid(r);break;case 19:r=t.readInt64();e.setAmtPaidSat(r);break;case 20:r=t.readInt64();e.setAmtPaidMsat(r);break;case 21:r=t.readEnum();e.setState(r);break;case 22:r=new proto.lnrpc.InvoiceHTLC;t.readMessage(r,proto.lnrpc.InvoiceHTLC.deserializeBinaryFromReader),e.addHtlcs(r);break;case 24:r=e.getFeaturesMap();t.readMessage(r,(function(e,t){n.Map.deserializeBinary(e,t,n.BinaryReader.prototype.readUint32,n.BinaryReader.prototype.readMessage,proto.lnrpc.Feature.deserializeBinaryFromReader)}));break;case 25:r=t.readBool();e.setIsKeysend(r);break;case 26:r=t.readBytes();e.setPaymentAddr(r);break;case 27:r=t.readBool();e.setIsAmp(r);break;default:t.skipField()}}return e},proto.lnrpc.Invoice.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.Invoice.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.Invoice.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getMemo()).length>0&&t.writeString(1,r),(r=e.getRPreimage_asU8()).length>0&&t.writeBytes(3,r),(r=e.getRHash_asU8()).length>0&&t.writeBytes(4,r),0!==(r=e.getValue())&&t.writeInt64(5,r),0!==(r=e.getValueMsat())&&t.writeInt64(23,r),(r=e.getSettled())&&t.writeBool(6,r),0!==(r=e.getCreationDate())&&t.writeInt64(7,r),0!==(r=e.getSettleDate())&&t.writeInt64(8,r),(r=e.getPaymentRequest()).length>0&&t.writeString(9,r),(r=e.getDescriptionHash_asU8()).length>0&&t.writeBytes(10,r),0!==(r=e.getExpiry())&&t.writeInt64(11,r),(r=e.getFallbackAddr()).length>0&&t.writeString(12,r),0!==(r=e.getCltvExpiry())&&t.writeUint64(13,r),(r=e.getRouteHintsList()).length>0&&t.writeRepeatedMessage(14,r,proto.lnrpc.RouteHint.serializeBinaryToWriter),(r=e.getPrivate())&&t.writeBool(15,r),0!==(r=e.getAddIndex())&&t.writeUint64(16,r),0!==(r=e.getSettleIndex())&&t.writeUint64(17,r),0!==(r=e.getAmtPaid())&&t.writeInt64(18,r),0!==(r=e.getAmtPaidSat())&&t.writeInt64(19,r),0!==(r=e.getAmtPaidMsat())&&t.writeInt64(20,r),0!==(r=e.getState())&&t.writeEnum(21,r),(r=e.getHtlcsList()).length>0&&t.writeRepeatedMessage(22,r,proto.lnrpc.InvoiceHTLC.serializeBinaryToWriter),(r=e.getFeaturesMap(!0))&&r.getLength()>0&&r.serializeBinary(24,t,n.BinaryWriter.prototype.writeUint32,n.BinaryWriter.prototype.writeMessage,proto.lnrpc.Feature.serializeBinaryToWriter),(r=e.getIsKeysend())&&t.writeBool(25,r),(r=e.getPaymentAddr_asU8()).length>0&&t.writeBytes(26,r),(r=e.getIsAmp())&&t.writeBool(27,r)},proto.lnrpc.Invoice.InvoiceState={OPEN:0,SETTLED:1,CANCELED:2,ACCEPTED:3},proto.lnrpc.Invoice.prototype.getMemo=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.Invoice.prototype.setMemo=function(e){n.Message.setField(this,1,e)},proto.lnrpc.Invoice.prototype.getRPreimage=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.Invoice.prototype.getRPreimage_asB64=function(){return n.Message.bytesAsB64(this.getRPreimage())},proto.lnrpc.Invoice.prototype.getRPreimage_asU8=function(){return n.Message.bytesAsU8(this.getRPreimage())},proto.lnrpc.Invoice.prototype.setRPreimage=function(e){n.Message.setField(this,3,e)},proto.lnrpc.Invoice.prototype.getRHash=function(){return n.Message.getFieldWithDefault(this,4,"")},proto.lnrpc.Invoice.prototype.getRHash_asB64=function(){return n.Message.bytesAsB64(this.getRHash())},proto.lnrpc.Invoice.prototype.getRHash_asU8=function(){return n.Message.bytesAsU8(this.getRHash())},proto.lnrpc.Invoice.prototype.setRHash=function(e){n.Message.setField(this,4,e)},proto.lnrpc.Invoice.prototype.getValue=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.Invoice.prototype.setValue=function(e){n.Message.setField(this,5,e)},proto.lnrpc.Invoice.prototype.getValueMsat=function(){return n.Message.getFieldWithDefault(this,23,0)},proto.lnrpc.Invoice.prototype.setValueMsat=function(e){n.Message.setField(this,23,e)},proto.lnrpc.Invoice.prototype.getSettled=function(){return n.Message.getFieldWithDefault(this,6,!1)},proto.lnrpc.Invoice.prototype.setSettled=function(e){n.Message.setField(this,6,e)},proto.lnrpc.Invoice.prototype.getCreationDate=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.Invoice.prototype.setCreationDate=function(e){n.Message.setField(this,7,e)},proto.lnrpc.Invoice.prototype.getSettleDate=function(){return n.Message.getFieldWithDefault(this,8,0)},proto.lnrpc.Invoice.prototype.setSettleDate=function(e){n.Message.setField(this,8,e)},proto.lnrpc.Invoice.prototype.getPaymentRequest=function(){return n.Message.getFieldWithDefault(this,9,"")},proto.lnrpc.Invoice.prototype.setPaymentRequest=function(e){n.Message.setField(this,9,e)},proto.lnrpc.Invoice.prototype.getDescriptionHash=function(){return n.Message.getFieldWithDefault(this,10,"")},proto.lnrpc.Invoice.prototype.getDescriptionHash_asB64=function(){return n.Message.bytesAsB64(this.getDescriptionHash())},proto.lnrpc.Invoice.prototype.getDescriptionHash_asU8=function(){return n.Message.bytesAsU8(this.getDescriptionHash())},proto.lnrpc.Invoice.prototype.setDescriptionHash=function(e){n.Message.setField(this,10,e)},proto.lnrpc.Invoice.prototype.getExpiry=function(){return n.Message.getFieldWithDefault(this,11,0)},proto.lnrpc.Invoice.prototype.setExpiry=function(e){n.Message.setField(this,11,e)},proto.lnrpc.Invoice.prototype.getFallbackAddr=function(){return n.Message.getFieldWithDefault(this,12,"")},proto.lnrpc.Invoice.prototype.setFallbackAddr=function(e){n.Message.setField(this,12,e)},proto.lnrpc.Invoice.prototype.getCltvExpiry=function(){return n.Message.getFieldWithDefault(this,13,0)},proto.lnrpc.Invoice.prototype.setCltvExpiry=function(e){n.Message.setField(this,13,e)},proto.lnrpc.Invoice.prototype.getRouteHintsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.RouteHint,14)},proto.lnrpc.Invoice.prototype.setRouteHintsList=function(e){n.Message.setRepeatedWrapperField(this,14,e)},proto.lnrpc.Invoice.prototype.addRouteHints=function(e,t){return n.Message.addToRepeatedWrapperField(this,14,e,proto.lnrpc.RouteHint,t)},proto.lnrpc.Invoice.prototype.clearRouteHintsList=function(){this.setRouteHintsList([])},proto.lnrpc.Invoice.prototype.getPrivate=function(){return n.Message.getFieldWithDefault(this,15,!1)},proto.lnrpc.Invoice.prototype.setPrivate=function(e){n.Message.setField(this,15,e)},proto.lnrpc.Invoice.prototype.getAddIndex=function(){return n.Message.getFieldWithDefault(this,16,0)},proto.lnrpc.Invoice.prototype.setAddIndex=function(e){n.Message.setField(this,16,e)},proto.lnrpc.Invoice.prototype.getSettleIndex=function(){return n.Message.getFieldWithDefault(this,17,0)},proto.lnrpc.Invoice.prototype.setSettleIndex=function(e){n.Message.setField(this,17,e)},proto.lnrpc.Invoice.prototype.getAmtPaid=function(){return n.Message.getFieldWithDefault(this,18,0)},proto.lnrpc.Invoice.prototype.setAmtPaid=function(e){n.Message.setField(this,18,e)},proto.lnrpc.Invoice.prototype.getAmtPaidSat=function(){return n.Message.getFieldWithDefault(this,19,0)},proto.lnrpc.Invoice.prototype.setAmtPaidSat=function(e){n.Message.setField(this,19,e)},proto.lnrpc.Invoice.prototype.getAmtPaidMsat=function(){return n.Message.getFieldWithDefault(this,20,0)},proto.lnrpc.Invoice.prototype.setAmtPaidMsat=function(e){n.Message.setField(this,20,e)},proto.lnrpc.Invoice.prototype.getState=function(){return n.Message.getFieldWithDefault(this,21,0)},proto.lnrpc.Invoice.prototype.setState=function(e){n.Message.setField(this,21,e)},proto.lnrpc.Invoice.prototype.getHtlcsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.InvoiceHTLC,22)},proto.lnrpc.Invoice.prototype.setHtlcsList=function(e){n.Message.setRepeatedWrapperField(this,22,e)},proto.lnrpc.Invoice.prototype.addHtlcs=function(e,t){return n.Message.addToRepeatedWrapperField(this,22,e,proto.lnrpc.InvoiceHTLC,t)},proto.lnrpc.Invoice.prototype.clearHtlcsList=function(){this.setHtlcsList([])},proto.lnrpc.Invoice.prototype.getFeaturesMap=function(e){return n.Message.getMapField(this,24,e,proto.lnrpc.Feature)},proto.lnrpc.Invoice.prototype.clearFeaturesMap=function(){this.getFeaturesMap().clear()},proto.lnrpc.Invoice.prototype.getIsKeysend=function(){return n.Message.getFieldWithDefault(this,25,!1)},proto.lnrpc.Invoice.prototype.setIsKeysend=function(e){n.Message.setField(this,25,e)},proto.lnrpc.Invoice.prototype.getPaymentAddr=function(){return n.Message.getFieldWithDefault(this,26,"")},proto.lnrpc.Invoice.prototype.getPaymentAddr_asB64=function(){return n.Message.bytesAsB64(this.getPaymentAddr())},proto.lnrpc.Invoice.prototype.getPaymentAddr_asU8=function(){return n.Message.bytesAsU8(this.getPaymentAddr())},proto.lnrpc.Invoice.prototype.setPaymentAddr=function(e){n.Message.setField(this,26,e)},proto.lnrpc.Invoice.prototype.getIsAmp=function(){return n.Message.getFieldWithDefault(this,27,!1)},proto.lnrpc.Invoice.prototype.setIsAmp=function(e){n.Message.setField(this,27,e)},proto.lnrpc.InvoiceHTLC=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.InvoiceHTLC,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.InvoiceHTLC.displayName="proto.lnrpc.InvoiceHTLC"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.InvoiceHTLC.prototype.toObject=function(e){return proto.lnrpc.InvoiceHTLC.toObject(e,this)},proto.lnrpc.InvoiceHTLC.toObject=function(e,t){var r,o={chanId:n.Message.getFieldWithDefault(t,1,"0"),htlcIndex:n.Message.getFieldWithDefault(t,2,0),amtMsat:n.Message.getFieldWithDefault(t,3,0),acceptHeight:n.Message.getFieldWithDefault(t,4,0),acceptTime:n.Message.getFieldWithDefault(t,5,0),resolveTime:n.Message.getFieldWithDefault(t,6,0),expiryHeight:n.Message.getFieldWithDefault(t,7,0),state:n.Message.getFieldWithDefault(t,8,0),customRecordsMap:(r=t.getCustomRecordsMap())?r.toObject(e,void 0):[],mppTotalAmtMsat:n.Message.getFieldWithDefault(t,10,0),amp:(r=t.getAmp())&&proto.lnrpc.AMP.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.InvoiceHTLC.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.InvoiceHTLC;return proto.lnrpc.InvoiceHTLC.deserializeBinaryFromReader(r,t)},proto.lnrpc.InvoiceHTLC.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint64String();e.setChanId(r);break;case 2:r=t.readUint64();e.setHtlcIndex(r);break;case 3:r=t.readUint64();e.setAmtMsat(r);break;case 4:r=t.readInt32();e.setAcceptHeight(r);break;case 5:r=t.readInt64();e.setAcceptTime(r);break;case 6:r=t.readInt64();e.setResolveTime(r);break;case 7:r=t.readInt32();e.setExpiryHeight(r);break;case 8:r=t.readEnum();e.setState(r);break;case 9:r=e.getCustomRecordsMap();t.readMessage(r,(function(e,t){n.Map.deserializeBinary(e,t,n.BinaryReader.prototype.readUint64,n.BinaryReader.prototype.readBytes)}));break;case 10:r=t.readUint64();e.setMppTotalAmtMsat(r);break;case 11:r=new proto.lnrpc.AMP;t.readMessage(r,proto.lnrpc.AMP.deserializeBinaryFromReader),e.setAmp(r);break;default:t.skipField()}}return e},proto.lnrpc.InvoiceHTLC.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.InvoiceHTLC.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.InvoiceHTLC.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getChanId(),0!==parseInt(r,10)&&t.writeUint64String(1,r),0!==(r=e.getHtlcIndex())&&t.writeUint64(2,r),0!==(r=e.getAmtMsat())&&t.writeUint64(3,r),0!==(r=e.getAcceptHeight())&&t.writeInt32(4,r),0!==(r=e.getAcceptTime())&&t.writeInt64(5,r),0!==(r=e.getResolveTime())&&t.writeInt64(6,r),0!==(r=e.getExpiryHeight())&&t.writeInt32(7,r),0!==(r=e.getState())&&t.writeEnum(8,r),(r=e.getCustomRecordsMap(!0))&&r.getLength()>0&&r.serializeBinary(9,t,n.BinaryWriter.prototype.writeUint64,n.BinaryWriter.prototype.writeBytes),0!==(r=e.getMppTotalAmtMsat())&&t.writeUint64(10,r),null!=(r=e.getAmp())&&t.writeMessage(11,r,proto.lnrpc.AMP.serializeBinaryToWriter)},proto.lnrpc.InvoiceHTLC.prototype.getChanId=function(){return n.Message.getFieldWithDefault(this,1,"0")},proto.lnrpc.InvoiceHTLC.prototype.setChanId=function(e){n.Message.setField(this,1,e)},proto.lnrpc.InvoiceHTLC.prototype.getHtlcIndex=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.InvoiceHTLC.prototype.setHtlcIndex=function(e){n.Message.setField(this,2,e)},proto.lnrpc.InvoiceHTLC.prototype.getAmtMsat=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.InvoiceHTLC.prototype.setAmtMsat=function(e){n.Message.setField(this,3,e)},proto.lnrpc.InvoiceHTLC.prototype.getAcceptHeight=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.InvoiceHTLC.prototype.setAcceptHeight=function(e){n.Message.setField(this,4,e)},proto.lnrpc.InvoiceHTLC.prototype.getAcceptTime=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.InvoiceHTLC.prototype.setAcceptTime=function(e){n.Message.setField(this,5,e)},proto.lnrpc.InvoiceHTLC.prototype.getResolveTime=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.InvoiceHTLC.prototype.setResolveTime=function(e){n.Message.setField(this,6,e)},proto.lnrpc.InvoiceHTLC.prototype.getExpiryHeight=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.InvoiceHTLC.prototype.setExpiryHeight=function(e){n.Message.setField(this,7,e)},proto.lnrpc.InvoiceHTLC.prototype.getState=function(){return n.Message.getFieldWithDefault(this,8,0)},proto.lnrpc.InvoiceHTLC.prototype.setState=function(e){n.Message.setField(this,8,e)},proto.lnrpc.InvoiceHTLC.prototype.getCustomRecordsMap=function(e){return n.Message.getMapField(this,9,e,null)},proto.lnrpc.InvoiceHTLC.prototype.clearCustomRecordsMap=function(){this.getCustomRecordsMap().clear()},proto.lnrpc.InvoiceHTLC.prototype.getMppTotalAmtMsat=function(){return n.Message.getFieldWithDefault(this,10,0)},proto.lnrpc.InvoiceHTLC.prototype.setMppTotalAmtMsat=function(e){n.Message.setField(this,10,e)},proto.lnrpc.InvoiceHTLC.prototype.getAmp=function(){return n.Message.getWrapperField(this,proto.lnrpc.AMP,11)},proto.lnrpc.InvoiceHTLC.prototype.setAmp=function(e){n.Message.setWrapperField(this,11,e)},proto.lnrpc.InvoiceHTLC.prototype.clearAmp=function(){this.setAmp(void 0)},proto.lnrpc.InvoiceHTLC.prototype.hasAmp=function(){return null!=n.Message.getField(this,11)},proto.lnrpc.AMP=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.AMP,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.AMP.displayName="proto.lnrpc.AMP"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.AMP.prototype.toObject=function(e){return proto.lnrpc.AMP.toObject(e,this)},proto.lnrpc.AMP.toObject=function(e,t){var r={rootShare:t.getRootShare_asB64(),setId:t.getSetId_asB64(),childIndex:n.Message.getFieldWithDefault(t,3,0),hash:t.getHash_asB64(),preimage:t.getPreimage_asB64()};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.AMP.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.AMP;return proto.lnrpc.AMP.deserializeBinaryFromReader(r,t)},proto.lnrpc.AMP.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setRootShare(r);break;case 2:r=t.readBytes();e.setSetId(r);break;case 3:r=t.readUint32();e.setChildIndex(r);break;case 4:r=t.readBytes();e.setHash(r);break;case 5:r=t.readBytes();e.setPreimage(r);break;default:t.skipField()}}return e},proto.lnrpc.AMP.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.AMP.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.AMP.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getRootShare_asU8()).length>0&&t.writeBytes(1,r),(r=e.getSetId_asU8()).length>0&&t.writeBytes(2,r),0!==(r=e.getChildIndex())&&t.writeUint32(3,r),(r=e.getHash_asU8()).length>0&&t.writeBytes(4,r),(r=e.getPreimage_asU8()).length>0&&t.writeBytes(5,r)},proto.lnrpc.AMP.prototype.getRootShare=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.AMP.prototype.getRootShare_asB64=function(){return n.Message.bytesAsB64(this.getRootShare())},proto.lnrpc.AMP.prototype.getRootShare_asU8=function(){return n.Message.bytesAsU8(this.getRootShare())},proto.lnrpc.AMP.prototype.setRootShare=function(e){n.Message.setField(this,1,e)},proto.lnrpc.AMP.prototype.getSetId=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.AMP.prototype.getSetId_asB64=function(){return n.Message.bytesAsB64(this.getSetId())},proto.lnrpc.AMP.prototype.getSetId_asU8=function(){return n.Message.bytesAsU8(this.getSetId())},proto.lnrpc.AMP.prototype.setSetId=function(e){n.Message.setField(this,2,e)},proto.lnrpc.AMP.prototype.getChildIndex=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.AMP.prototype.setChildIndex=function(e){n.Message.setField(this,3,e)},proto.lnrpc.AMP.prototype.getHash=function(){return n.Message.getFieldWithDefault(this,4,"")},proto.lnrpc.AMP.prototype.getHash_asB64=function(){return n.Message.bytesAsB64(this.getHash())},proto.lnrpc.AMP.prototype.getHash_asU8=function(){return n.Message.bytesAsU8(this.getHash())},proto.lnrpc.AMP.prototype.setHash=function(e){n.Message.setField(this,4,e)},proto.lnrpc.AMP.prototype.getPreimage=function(){return n.Message.getFieldWithDefault(this,5,"")},proto.lnrpc.AMP.prototype.getPreimage_asB64=function(){return n.Message.bytesAsB64(this.getPreimage())},proto.lnrpc.AMP.prototype.getPreimage_asU8=function(){return n.Message.bytesAsU8(this.getPreimage())},proto.lnrpc.AMP.prototype.setPreimage=function(e){n.Message.setField(this,5,e)},proto.lnrpc.AddInvoiceResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.AddInvoiceResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.AddInvoiceResponse.displayName="proto.lnrpc.AddInvoiceResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.AddInvoiceResponse.prototype.toObject=function(e){return proto.lnrpc.AddInvoiceResponse.toObject(e,this)},proto.lnrpc.AddInvoiceResponse.toObject=function(e,t){var r={rHash:t.getRHash_asB64(),paymentRequest:n.Message.getFieldWithDefault(t,2,""),addIndex:n.Message.getFieldWithDefault(t,16,0),paymentAddr:t.getPaymentAddr_asB64()};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.AddInvoiceResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.AddInvoiceResponse;return proto.lnrpc.AddInvoiceResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.AddInvoiceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setRHash(r);break;case 2:r=t.readString();e.setPaymentRequest(r);break;case 16:r=t.readUint64();e.setAddIndex(r);break;case 17:r=t.readBytes();e.setPaymentAddr(r);break;default:t.skipField()}}return e},proto.lnrpc.AddInvoiceResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.AddInvoiceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.AddInvoiceResponse.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getRHash_asU8()).length>0&&t.writeBytes(1,r),(r=e.getPaymentRequest()).length>0&&t.writeString(2,r),0!==(r=e.getAddIndex())&&t.writeUint64(16,r),(r=e.getPaymentAddr_asU8()).length>0&&t.writeBytes(17,r)},proto.lnrpc.AddInvoiceResponse.prototype.getRHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.AddInvoiceResponse.prototype.getRHash_asB64=function(){return n.Message.bytesAsB64(this.getRHash())},proto.lnrpc.AddInvoiceResponse.prototype.getRHash_asU8=function(){return n.Message.bytesAsU8(this.getRHash())},proto.lnrpc.AddInvoiceResponse.prototype.setRHash=function(e){n.Message.setField(this,1,e)},proto.lnrpc.AddInvoiceResponse.prototype.getPaymentRequest=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.AddInvoiceResponse.prototype.setPaymentRequest=function(e){n.Message.setField(this,2,e)},proto.lnrpc.AddInvoiceResponse.prototype.getAddIndex=function(){return n.Message.getFieldWithDefault(this,16,0)},proto.lnrpc.AddInvoiceResponse.prototype.setAddIndex=function(e){n.Message.setField(this,16,e)},proto.lnrpc.AddInvoiceResponse.prototype.getPaymentAddr=function(){return n.Message.getFieldWithDefault(this,17,"")},proto.lnrpc.AddInvoiceResponse.prototype.getPaymentAddr_asB64=function(){return n.Message.bytesAsB64(this.getPaymentAddr())},proto.lnrpc.AddInvoiceResponse.prototype.getPaymentAddr_asU8=function(){return n.Message.bytesAsU8(this.getPaymentAddr())},proto.lnrpc.AddInvoiceResponse.prototype.setPaymentAddr=function(e){n.Message.setField(this,17,e)},proto.lnrpc.PaymentHash=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.PaymentHash,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.PaymentHash.displayName="proto.lnrpc.PaymentHash"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.PaymentHash.prototype.toObject=function(e){return proto.lnrpc.PaymentHash.toObject(e,this)},proto.lnrpc.PaymentHash.toObject=function(e,t){var r={rHashStr:n.Message.getFieldWithDefault(t,1,""),rHash:t.getRHash_asB64()};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.PaymentHash.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.PaymentHash;return proto.lnrpc.PaymentHash.deserializeBinaryFromReader(r,t)},proto.lnrpc.PaymentHash.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setRHashStr(r);break;case 2:r=t.readBytes();e.setRHash(r);break;default:t.skipField()}}return e},proto.lnrpc.PaymentHash.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.PaymentHash.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.PaymentHash.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getRHashStr()).length>0&&t.writeString(1,r),(r=e.getRHash_asU8()).length>0&&t.writeBytes(2,r)},proto.lnrpc.PaymentHash.prototype.getRHashStr=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.PaymentHash.prototype.setRHashStr=function(e){n.Message.setField(this,1,e)},proto.lnrpc.PaymentHash.prototype.getRHash=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.PaymentHash.prototype.getRHash_asB64=function(){return n.Message.bytesAsB64(this.getRHash())},proto.lnrpc.PaymentHash.prototype.getRHash_asU8=function(){return n.Message.bytesAsU8(this.getRHash())},proto.lnrpc.PaymentHash.prototype.setRHash=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ListInvoiceRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ListInvoiceRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ListInvoiceRequest.displayName="proto.lnrpc.ListInvoiceRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ListInvoiceRequest.prototype.toObject=function(e){return proto.lnrpc.ListInvoiceRequest.toObject(e,this)},proto.lnrpc.ListInvoiceRequest.toObject=function(e,t){var r={pendingOnly:n.Message.getFieldWithDefault(t,1,!1),indexOffset:n.Message.getFieldWithDefault(t,4,0),numMaxInvoices:n.Message.getFieldWithDefault(t,5,0),reversed:n.Message.getFieldWithDefault(t,6,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ListInvoiceRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ListInvoiceRequest;return proto.lnrpc.ListInvoiceRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.ListInvoiceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBool();e.setPendingOnly(r);break;case 4:r=t.readUint64();e.setIndexOffset(r);break;case 5:r=t.readUint64();e.setNumMaxInvoices(r);break;case 6:r=t.readBool();e.setReversed(r);break;default:t.skipField()}}return e},proto.lnrpc.ListInvoiceRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ListInvoiceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ListInvoiceRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPendingOnly())&&t.writeBool(1,r),0!==(r=e.getIndexOffset())&&t.writeUint64(4,r),0!==(r=e.getNumMaxInvoices())&&t.writeUint64(5,r),(r=e.getReversed())&&t.writeBool(6,r)},proto.lnrpc.ListInvoiceRequest.prototype.getPendingOnly=function(){return n.Message.getFieldWithDefault(this,1,!1)},proto.lnrpc.ListInvoiceRequest.prototype.setPendingOnly=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ListInvoiceRequest.prototype.getIndexOffset=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.ListInvoiceRequest.prototype.setIndexOffset=function(e){n.Message.setField(this,4,e)},proto.lnrpc.ListInvoiceRequest.prototype.getNumMaxInvoices=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.ListInvoiceRequest.prototype.setNumMaxInvoices=function(e){n.Message.setField(this,5,e)},proto.lnrpc.ListInvoiceRequest.prototype.getReversed=function(){return n.Message.getFieldWithDefault(this,6,!1)},proto.lnrpc.ListInvoiceRequest.prototype.setReversed=function(e){n.Message.setField(this,6,e)},proto.lnrpc.ListInvoiceResponse=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.ListInvoiceResponse.repeatedFields_,null)},o.inherits(proto.lnrpc.ListInvoiceResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ListInvoiceResponse.displayName="proto.lnrpc.ListInvoiceResponse"),proto.lnrpc.ListInvoiceResponse.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ListInvoiceResponse.prototype.toObject=function(e){return proto.lnrpc.ListInvoiceResponse.toObject(e,this)},proto.lnrpc.ListInvoiceResponse.toObject=function(e,t){var r={invoicesList:n.Message.toObjectList(t.getInvoicesList(),proto.lnrpc.Invoice.toObject,e),lastIndexOffset:n.Message.getFieldWithDefault(t,2,0),firstIndexOffset:n.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ListInvoiceResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ListInvoiceResponse;return proto.lnrpc.ListInvoiceResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.ListInvoiceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.Invoice;t.readMessage(r,proto.lnrpc.Invoice.deserializeBinaryFromReader),e.addInvoices(r);break;case 2:r=t.readUint64();e.setLastIndexOffset(r);break;case 3:r=t.readUint64();e.setFirstIndexOffset(r);break;default:t.skipField()}}return e},proto.lnrpc.ListInvoiceResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ListInvoiceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ListInvoiceResponse.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getInvoicesList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.Invoice.serializeBinaryToWriter),0!==(r=e.getLastIndexOffset())&&t.writeUint64(2,r),0!==(r=e.getFirstIndexOffset())&&t.writeUint64(3,r)},proto.lnrpc.ListInvoiceResponse.prototype.getInvoicesList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.Invoice,1)},proto.lnrpc.ListInvoiceResponse.prototype.setInvoicesList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.ListInvoiceResponse.prototype.addInvoices=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.Invoice,t)},proto.lnrpc.ListInvoiceResponse.prototype.clearInvoicesList=function(){this.setInvoicesList([])},proto.lnrpc.ListInvoiceResponse.prototype.getLastIndexOffset=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.ListInvoiceResponse.prototype.setLastIndexOffset=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ListInvoiceResponse.prototype.getFirstIndexOffset=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.ListInvoiceResponse.prototype.setFirstIndexOffset=function(e){n.Message.setField(this,3,e)},proto.lnrpc.InvoiceSubscription=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.InvoiceSubscription,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.InvoiceSubscription.displayName="proto.lnrpc.InvoiceSubscription"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.InvoiceSubscription.prototype.toObject=function(e){return proto.lnrpc.InvoiceSubscription.toObject(e,this)},proto.lnrpc.InvoiceSubscription.toObject=function(e,t){var r={addIndex:n.Message.getFieldWithDefault(t,1,0),settleIndex:n.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.InvoiceSubscription.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.InvoiceSubscription;return proto.lnrpc.InvoiceSubscription.deserializeBinaryFromReader(r,t)},proto.lnrpc.InvoiceSubscription.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint64();e.setAddIndex(r);break;case 2:r=t.readUint64();e.setSettleIndex(r);break;default:t.skipField()}}return e},proto.lnrpc.InvoiceSubscription.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.InvoiceSubscription.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.InvoiceSubscription.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getAddIndex())&&t.writeUint64(1,r),0!==(r=e.getSettleIndex())&&t.writeUint64(2,r)},proto.lnrpc.InvoiceSubscription.prototype.getAddIndex=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.InvoiceSubscription.prototype.setAddIndex=function(e){n.Message.setField(this,1,e)},proto.lnrpc.InvoiceSubscription.prototype.getSettleIndex=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.InvoiceSubscription.prototype.setSettleIndex=function(e){n.Message.setField(this,2,e)},proto.lnrpc.Payment=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.Payment.repeatedFields_,null)},o.inherits(proto.lnrpc.Payment,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.Payment.displayName="proto.lnrpc.Payment"),proto.lnrpc.Payment.repeatedFields_=[14],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.Payment.prototype.toObject=function(e){return proto.lnrpc.Payment.toObject(e,this)},proto.lnrpc.Payment.toObject=function(e,t){var r={paymentHash:n.Message.getFieldWithDefault(t,1,""),value:n.Message.getFieldWithDefault(t,2,0),creationDate:n.Message.getFieldWithDefault(t,3,0),fee:n.Message.getFieldWithDefault(t,5,0),paymentPreimage:n.Message.getFieldWithDefault(t,6,""),valueSat:n.Message.getFieldWithDefault(t,7,0),valueMsat:n.Message.getFieldWithDefault(t,8,0),paymentRequest:n.Message.getFieldWithDefault(t,9,""),status:n.Message.getFieldWithDefault(t,10,0),feeSat:n.Message.getFieldWithDefault(t,11,0),feeMsat:n.Message.getFieldWithDefault(t,12,0),creationTimeNs:n.Message.getFieldWithDefault(t,13,0),htlcsList:n.Message.toObjectList(t.getHtlcsList(),proto.lnrpc.HTLCAttempt.toObject,e),paymentIndex:n.Message.getFieldWithDefault(t,15,0),failureReason:n.Message.getFieldWithDefault(t,16,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.Payment.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.Payment;return proto.lnrpc.Payment.deserializeBinaryFromReader(r,t)},proto.lnrpc.Payment.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setPaymentHash(r);break;case 2:r=t.readInt64();e.setValue(r);break;case 3:r=t.readInt64();e.setCreationDate(r);break;case 5:r=t.readInt64();e.setFee(r);break;case 6:r=t.readString();e.setPaymentPreimage(r);break;case 7:r=t.readInt64();e.setValueSat(r);break;case 8:r=t.readInt64();e.setValueMsat(r);break;case 9:r=t.readString();e.setPaymentRequest(r);break;case 10:r=t.readEnum();e.setStatus(r);break;case 11:r=t.readInt64();e.setFeeSat(r);break;case 12:r=t.readInt64();e.setFeeMsat(r);break;case 13:r=t.readInt64();e.setCreationTimeNs(r);break;case 14:r=new proto.lnrpc.HTLCAttempt;t.readMessage(r,proto.lnrpc.HTLCAttempt.deserializeBinaryFromReader),e.addHtlcs(r);break;case 15:r=t.readUint64();e.setPaymentIndex(r);break;case 16:r=t.readEnum();e.setFailureReason(r);break;default:t.skipField()}}return e},proto.lnrpc.Payment.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.Payment.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.Payment.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPaymentHash()).length>0&&t.writeString(1,r),0!==(r=e.getValue())&&t.writeInt64(2,r),0!==(r=e.getCreationDate())&&t.writeInt64(3,r),0!==(r=e.getFee())&&t.writeInt64(5,r),(r=e.getPaymentPreimage()).length>0&&t.writeString(6,r),0!==(r=e.getValueSat())&&t.writeInt64(7,r),0!==(r=e.getValueMsat())&&t.writeInt64(8,r),(r=e.getPaymentRequest()).length>0&&t.writeString(9,r),0!==(r=e.getStatus())&&t.writeEnum(10,r),0!==(r=e.getFeeSat())&&t.writeInt64(11,r),0!==(r=e.getFeeMsat())&&t.writeInt64(12,r),0!==(r=e.getCreationTimeNs())&&t.writeInt64(13,r),(r=e.getHtlcsList()).length>0&&t.writeRepeatedMessage(14,r,proto.lnrpc.HTLCAttempt.serializeBinaryToWriter),0!==(r=e.getPaymentIndex())&&t.writeUint64(15,r),0!==(r=e.getFailureReason())&&t.writeEnum(16,r)},proto.lnrpc.Payment.PaymentStatus={UNKNOWN:0,IN_FLIGHT:1,SUCCEEDED:2,FAILED:3},proto.lnrpc.Payment.prototype.getPaymentHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.Payment.prototype.setPaymentHash=function(e){n.Message.setField(this,1,e)},proto.lnrpc.Payment.prototype.getValue=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.Payment.prototype.setValue=function(e){n.Message.setField(this,2,e)},proto.lnrpc.Payment.prototype.getCreationDate=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.Payment.prototype.setCreationDate=function(e){n.Message.setField(this,3,e)},proto.lnrpc.Payment.prototype.getFee=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.Payment.prototype.setFee=function(e){n.Message.setField(this,5,e)},proto.lnrpc.Payment.prototype.getPaymentPreimage=function(){return n.Message.getFieldWithDefault(this,6,"")},proto.lnrpc.Payment.prototype.setPaymentPreimage=function(e){n.Message.setField(this,6,e)},proto.lnrpc.Payment.prototype.getValueSat=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.Payment.prototype.setValueSat=function(e){n.Message.setField(this,7,e)},proto.lnrpc.Payment.prototype.getValueMsat=function(){return n.Message.getFieldWithDefault(this,8,0)},proto.lnrpc.Payment.prototype.setValueMsat=function(e){n.Message.setField(this,8,e)},proto.lnrpc.Payment.prototype.getPaymentRequest=function(){return n.Message.getFieldWithDefault(this,9,"")},proto.lnrpc.Payment.prototype.setPaymentRequest=function(e){n.Message.setField(this,9,e)},proto.lnrpc.Payment.prototype.getStatus=function(){return n.Message.getFieldWithDefault(this,10,0)},proto.lnrpc.Payment.prototype.setStatus=function(e){n.Message.setField(this,10,e)},proto.lnrpc.Payment.prototype.getFeeSat=function(){return n.Message.getFieldWithDefault(this,11,0)},proto.lnrpc.Payment.prototype.setFeeSat=function(e){n.Message.setField(this,11,e)},proto.lnrpc.Payment.prototype.getFeeMsat=function(){return n.Message.getFieldWithDefault(this,12,0)},proto.lnrpc.Payment.prototype.setFeeMsat=function(e){n.Message.setField(this,12,e)},proto.lnrpc.Payment.prototype.getCreationTimeNs=function(){return n.Message.getFieldWithDefault(this,13,0)},proto.lnrpc.Payment.prototype.setCreationTimeNs=function(e){n.Message.setField(this,13,e)},proto.lnrpc.Payment.prototype.getHtlcsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.HTLCAttempt,14)},proto.lnrpc.Payment.prototype.setHtlcsList=function(e){n.Message.setRepeatedWrapperField(this,14,e)},proto.lnrpc.Payment.prototype.addHtlcs=function(e,t){return n.Message.addToRepeatedWrapperField(this,14,e,proto.lnrpc.HTLCAttempt,t)},proto.lnrpc.Payment.prototype.clearHtlcsList=function(){this.setHtlcsList([])},proto.lnrpc.Payment.prototype.getPaymentIndex=function(){return n.Message.getFieldWithDefault(this,15,0)},proto.lnrpc.Payment.prototype.setPaymentIndex=function(e){n.Message.setField(this,15,e)},proto.lnrpc.Payment.prototype.getFailureReason=function(){return n.Message.getFieldWithDefault(this,16,0)},proto.lnrpc.Payment.prototype.setFailureReason=function(e){n.Message.setField(this,16,e)},proto.lnrpc.HTLCAttempt=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.HTLCAttempt,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.HTLCAttempt.displayName="proto.lnrpc.HTLCAttempt"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.HTLCAttempt.prototype.toObject=function(e){return proto.lnrpc.HTLCAttempt.toObject(e,this)},proto.lnrpc.HTLCAttempt.toObject=function(e,t){var r,o={attemptId:n.Message.getFieldWithDefault(t,7,0),status:n.Message.getFieldWithDefault(t,1,0),route:(r=t.getRoute())&&proto.lnrpc.Route.toObject(e,r),attemptTimeNs:n.Message.getFieldWithDefault(t,3,0),resolveTimeNs:n.Message.getFieldWithDefault(t,4,0),failure:(r=t.getFailure())&&proto.lnrpc.Failure.toObject(e,r),preimage:t.getPreimage_asB64()};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.HTLCAttempt.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.HTLCAttempt;return proto.lnrpc.HTLCAttempt.deserializeBinaryFromReader(r,t)},proto.lnrpc.HTLCAttempt.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 7:var r=t.readUint64();e.setAttemptId(r);break;case 1:r=t.readEnum();e.setStatus(r);break;case 2:r=new proto.lnrpc.Route;t.readMessage(r,proto.lnrpc.Route.deserializeBinaryFromReader),e.setRoute(r);break;case 3:r=t.readInt64();e.setAttemptTimeNs(r);break;case 4:r=t.readInt64();e.setResolveTimeNs(r);break;case 5:r=new proto.lnrpc.Failure;t.readMessage(r,proto.lnrpc.Failure.deserializeBinaryFromReader),e.setFailure(r);break;case 6:r=t.readBytes();e.setPreimage(r);break;default:t.skipField()}}return e},proto.lnrpc.HTLCAttempt.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.HTLCAttempt.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.HTLCAttempt.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getAttemptId())&&t.writeUint64(7,r),0!==(r=e.getStatus())&&t.writeEnum(1,r),null!=(r=e.getRoute())&&t.writeMessage(2,r,proto.lnrpc.Route.serializeBinaryToWriter),0!==(r=e.getAttemptTimeNs())&&t.writeInt64(3,r),0!==(r=e.getResolveTimeNs())&&t.writeInt64(4,r),null!=(r=e.getFailure())&&t.writeMessage(5,r,proto.lnrpc.Failure.serializeBinaryToWriter),(r=e.getPreimage_asU8()).length>0&&t.writeBytes(6,r)},proto.lnrpc.HTLCAttempt.HTLCStatus={IN_FLIGHT:0,SUCCEEDED:1,FAILED:2},proto.lnrpc.HTLCAttempt.prototype.getAttemptId=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.HTLCAttempt.prototype.setAttemptId=function(e){n.Message.setField(this,7,e)},proto.lnrpc.HTLCAttempt.prototype.getStatus=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.HTLCAttempt.prototype.setStatus=function(e){n.Message.setField(this,1,e)},proto.lnrpc.HTLCAttempt.prototype.getRoute=function(){return n.Message.getWrapperField(this,proto.lnrpc.Route,2)},proto.lnrpc.HTLCAttempt.prototype.setRoute=function(e){n.Message.setWrapperField(this,2,e)},proto.lnrpc.HTLCAttempt.prototype.clearRoute=function(){this.setRoute(void 0)},proto.lnrpc.HTLCAttempt.prototype.hasRoute=function(){return null!=n.Message.getField(this,2)},proto.lnrpc.HTLCAttempt.prototype.getAttemptTimeNs=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.HTLCAttempt.prototype.setAttemptTimeNs=function(e){n.Message.setField(this,3,e)},proto.lnrpc.HTLCAttempt.prototype.getResolveTimeNs=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.HTLCAttempt.prototype.setResolveTimeNs=function(e){n.Message.setField(this,4,e)},proto.lnrpc.HTLCAttempt.prototype.getFailure=function(){return n.Message.getWrapperField(this,proto.lnrpc.Failure,5)},proto.lnrpc.HTLCAttempt.prototype.setFailure=function(e){n.Message.setWrapperField(this,5,e)},proto.lnrpc.HTLCAttempt.prototype.clearFailure=function(){this.setFailure(void 0)},proto.lnrpc.HTLCAttempt.prototype.hasFailure=function(){return null!=n.Message.getField(this,5)},proto.lnrpc.HTLCAttempt.prototype.getPreimage=function(){return n.Message.getFieldWithDefault(this,6,"")},proto.lnrpc.HTLCAttempt.prototype.getPreimage_asB64=function(){return n.Message.bytesAsB64(this.getPreimage())},proto.lnrpc.HTLCAttempt.prototype.getPreimage_asU8=function(){return n.Message.bytesAsU8(this.getPreimage())},proto.lnrpc.HTLCAttempt.prototype.setPreimage=function(e){n.Message.setField(this,6,e)},proto.lnrpc.ListPaymentsRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ListPaymentsRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ListPaymentsRequest.displayName="proto.lnrpc.ListPaymentsRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ListPaymentsRequest.prototype.toObject=function(e){return proto.lnrpc.ListPaymentsRequest.toObject(e,this)},proto.lnrpc.ListPaymentsRequest.toObject=function(e,t){var r={includeIncomplete:n.Message.getFieldWithDefault(t,1,!1),indexOffset:n.Message.getFieldWithDefault(t,2,0),maxPayments:n.Message.getFieldWithDefault(t,3,0),reversed:n.Message.getFieldWithDefault(t,4,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ListPaymentsRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ListPaymentsRequest;return proto.lnrpc.ListPaymentsRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.ListPaymentsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBool();e.setIncludeIncomplete(r);break;case 2:r=t.readUint64();e.setIndexOffset(r);break;case 3:r=t.readUint64();e.setMaxPayments(r);break;case 4:r=t.readBool();e.setReversed(r);break;default:t.skipField()}}return e},proto.lnrpc.ListPaymentsRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ListPaymentsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ListPaymentsRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getIncludeIncomplete())&&t.writeBool(1,r),0!==(r=e.getIndexOffset())&&t.writeUint64(2,r),0!==(r=e.getMaxPayments())&&t.writeUint64(3,r),(r=e.getReversed())&&t.writeBool(4,r)},proto.lnrpc.ListPaymentsRequest.prototype.getIncludeIncomplete=function(){return n.Message.getFieldWithDefault(this,1,!1)},proto.lnrpc.ListPaymentsRequest.prototype.setIncludeIncomplete=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ListPaymentsRequest.prototype.getIndexOffset=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.ListPaymentsRequest.prototype.setIndexOffset=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ListPaymentsRequest.prototype.getMaxPayments=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.ListPaymentsRequest.prototype.setMaxPayments=function(e){n.Message.setField(this,3,e)},proto.lnrpc.ListPaymentsRequest.prototype.getReversed=function(){return n.Message.getFieldWithDefault(this,4,!1)},proto.lnrpc.ListPaymentsRequest.prototype.setReversed=function(e){n.Message.setField(this,4,e)},proto.lnrpc.ListPaymentsResponse=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.ListPaymentsResponse.repeatedFields_,null)},o.inherits(proto.lnrpc.ListPaymentsResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ListPaymentsResponse.displayName="proto.lnrpc.ListPaymentsResponse"),proto.lnrpc.ListPaymentsResponse.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ListPaymentsResponse.prototype.toObject=function(e){return proto.lnrpc.ListPaymentsResponse.toObject(e,this)},proto.lnrpc.ListPaymentsResponse.toObject=function(e,t){var r={paymentsList:n.Message.toObjectList(t.getPaymentsList(),proto.lnrpc.Payment.toObject,e),firstIndexOffset:n.Message.getFieldWithDefault(t,2,0),lastIndexOffset:n.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ListPaymentsResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ListPaymentsResponse;return proto.lnrpc.ListPaymentsResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.ListPaymentsResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.Payment;t.readMessage(r,proto.lnrpc.Payment.deserializeBinaryFromReader),e.addPayments(r);break;case 2:r=t.readUint64();e.setFirstIndexOffset(r);break;case 3:r=t.readUint64();e.setLastIndexOffset(r);break;default:t.skipField()}}return e},proto.lnrpc.ListPaymentsResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ListPaymentsResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ListPaymentsResponse.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPaymentsList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.Payment.serializeBinaryToWriter),0!==(r=e.getFirstIndexOffset())&&t.writeUint64(2,r),0!==(r=e.getLastIndexOffset())&&t.writeUint64(3,r)},proto.lnrpc.ListPaymentsResponse.prototype.getPaymentsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.Payment,1)},proto.lnrpc.ListPaymentsResponse.prototype.setPaymentsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.ListPaymentsResponse.prototype.addPayments=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.Payment,t)},proto.lnrpc.ListPaymentsResponse.prototype.clearPaymentsList=function(){this.setPaymentsList([])},proto.lnrpc.ListPaymentsResponse.prototype.getFirstIndexOffset=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.ListPaymentsResponse.prototype.setFirstIndexOffset=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ListPaymentsResponse.prototype.getLastIndexOffset=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.ListPaymentsResponse.prototype.setLastIndexOffset=function(e){n.Message.setField(this,3,e)},proto.lnrpc.DeletePaymentRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.DeletePaymentRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.DeletePaymentRequest.displayName="proto.lnrpc.DeletePaymentRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.DeletePaymentRequest.prototype.toObject=function(e){return proto.lnrpc.DeletePaymentRequest.toObject(e,this)},proto.lnrpc.DeletePaymentRequest.toObject=function(e,t){var r={paymentHash:t.getPaymentHash_asB64(),failedHtlcsOnly:n.Message.getFieldWithDefault(t,2,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.DeletePaymentRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.DeletePaymentRequest;return proto.lnrpc.DeletePaymentRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.DeletePaymentRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setPaymentHash(r);break;case 2:r=t.readBool();e.setFailedHtlcsOnly(r);break;default:t.skipField()}}return e},proto.lnrpc.DeletePaymentRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.DeletePaymentRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.DeletePaymentRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPaymentHash_asU8()).length>0&&t.writeBytes(1,r),(r=e.getFailedHtlcsOnly())&&t.writeBool(2,r)},proto.lnrpc.DeletePaymentRequest.prototype.getPaymentHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.DeletePaymentRequest.prototype.getPaymentHash_asB64=function(){return n.Message.bytesAsB64(this.getPaymentHash())},proto.lnrpc.DeletePaymentRequest.prototype.getPaymentHash_asU8=function(){return n.Message.bytesAsU8(this.getPaymentHash())},proto.lnrpc.DeletePaymentRequest.prototype.setPaymentHash=function(e){n.Message.setField(this,1,e)},proto.lnrpc.DeletePaymentRequest.prototype.getFailedHtlcsOnly=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.lnrpc.DeletePaymentRequest.prototype.setFailedHtlcsOnly=function(e){n.Message.setField(this,2,e)},proto.lnrpc.DeleteAllPaymentsRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.DeleteAllPaymentsRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.DeleteAllPaymentsRequest.displayName="proto.lnrpc.DeleteAllPaymentsRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.DeleteAllPaymentsRequest.prototype.toObject=function(e){return proto.lnrpc.DeleteAllPaymentsRequest.toObject(e,this)},proto.lnrpc.DeleteAllPaymentsRequest.toObject=function(e,t){var r={failedPaymentsOnly:n.Message.getFieldWithDefault(t,1,!1),failedHtlcsOnly:n.Message.getFieldWithDefault(t,2,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.DeleteAllPaymentsRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.DeleteAllPaymentsRequest;return proto.lnrpc.DeleteAllPaymentsRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.DeleteAllPaymentsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBool();e.setFailedPaymentsOnly(r);break;case 2:r=t.readBool();e.setFailedHtlcsOnly(r);break;default:t.skipField()}}return e},proto.lnrpc.DeleteAllPaymentsRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.DeleteAllPaymentsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.DeleteAllPaymentsRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getFailedPaymentsOnly())&&t.writeBool(1,r),(r=e.getFailedHtlcsOnly())&&t.writeBool(2,r)},proto.lnrpc.DeleteAllPaymentsRequest.prototype.getFailedPaymentsOnly=function(){return n.Message.getFieldWithDefault(this,1,!1)},proto.lnrpc.DeleteAllPaymentsRequest.prototype.setFailedPaymentsOnly=function(e){n.Message.setField(this,1,e)},proto.lnrpc.DeleteAllPaymentsRequest.prototype.getFailedHtlcsOnly=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.lnrpc.DeleteAllPaymentsRequest.prototype.setFailedHtlcsOnly=function(e){n.Message.setField(this,2,e)},proto.lnrpc.DeletePaymentResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.DeletePaymentResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.DeletePaymentResponse.displayName="proto.lnrpc.DeletePaymentResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.DeletePaymentResponse.prototype.toObject=function(e){return proto.lnrpc.DeletePaymentResponse.toObject(e,this)},proto.lnrpc.DeletePaymentResponse.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.DeletePaymentResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.DeletePaymentResponse;return proto.lnrpc.DeletePaymentResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.DeletePaymentResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.DeletePaymentResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.DeletePaymentResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.DeletePaymentResponse.serializeBinaryToWriter=function(e,t){},proto.lnrpc.DeleteAllPaymentsResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.DeleteAllPaymentsResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.DeleteAllPaymentsResponse.displayName="proto.lnrpc.DeleteAllPaymentsResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.DeleteAllPaymentsResponse.prototype.toObject=function(e){return proto.lnrpc.DeleteAllPaymentsResponse.toObject(e,this)},proto.lnrpc.DeleteAllPaymentsResponse.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.DeleteAllPaymentsResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.DeleteAllPaymentsResponse;return proto.lnrpc.DeleteAllPaymentsResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.DeleteAllPaymentsResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.DeleteAllPaymentsResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.DeleteAllPaymentsResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.DeleteAllPaymentsResponse.serializeBinaryToWriter=function(e,t){},proto.lnrpc.AbandonChannelRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.AbandonChannelRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.AbandonChannelRequest.displayName="proto.lnrpc.AbandonChannelRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.AbandonChannelRequest.prototype.toObject=function(e){return proto.lnrpc.AbandonChannelRequest.toObject(e,this)},proto.lnrpc.AbandonChannelRequest.toObject=function(e,t){var r,o={channelPoint:(r=t.getChannelPoint())&&proto.lnrpc.ChannelPoint.toObject(e,r),pendingFundingShimOnly:n.Message.getFieldWithDefault(t,2,!1),iKnowWhatIAmDoing:n.Message.getFieldWithDefault(t,3,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.AbandonChannelRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.AbandonChannelRequest;return proto.lnrpc.AbandonChannelRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.AbandonChannelRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.ChannelPoint;t.readMessage(r,proto.lnrpc.ChannelPoint.deserializeBinaryFromReader),e.setChannelPoint(r);break;case 2:r=t.readBool();e.setPendingFundingShimOnly(r);break;case 3:r=t.readBool();e.setIKnowWhatIAmDoing(r);break;default:t.skipField()}}return e},proto.lnrpc.AbandonChannelRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.AbandonChannelRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.AbandonChannelRequest.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getChannelPoint())&&t.writeMessage(1,r,proto.lnrpc.ChannelPoint.serializeBinaryToWriter),(r=e.getPendingFundingShimOnly())&&t.writeBool(2,r),(r=e.getIKnowWhatIAmDoing())&&t.writeBool(3,r)},proto.lnrpc.AbandonChannelRequest.prototype.getChannelPoint=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelPoint,1)},proto.lnrpc.AbandonChannelRequest.prototype.setChannelPoint=function(e){n.Message.setWrapperField(this,1,e)},proto.lnrpc.AbandonChannelRequest.prototype.clearChannelPoint=function(){this.setChannelPoint(void 0)},proto.lnrpc.AbandonChannelRequest.prototype.hasChannelPoint=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.AbandonChannelRequest.prototype.getPendingFundingShimOnly=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.lnrpc.AbandonChannelRequest.prototype.setPendingFundingShimOnly=function(e){n.Message.setField(this,2,e)},proto.lnrpc.AbandonChannelRequest.prototype.getIKnowWhatIAmDoing=function(){return n.Message.getFieldWithDefault(this,3,!1)},proto.lnrpc.AbandonChannelRequest.prototype.setIKnowWhatIAmDoing=function(e){n.Message.setField(this,3,e)},proto.lnrpc.AbandonChannelResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.AbandonChannelResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.AbandonChannelResponse.displayName="proto.lnrpc.AbandonChannelResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.AbandonChannelResponse.prototype.toObject=function(e){return proto.lnrpc.AbandonChannelResponse.toObject(e,this)},proto.lnrpc.AbandonChannelResponse.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.AbandonChannelResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.AbandonChannelResponse;return proto.lnrpc.AbandonChannelResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.AbandonChannelResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.AbandonChannelResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.AbandonChannelResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.AbandonChannelResponse.serializeBinaryToWriter=function(e,t){},proto.lnrpc.DebugLevelRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.DebugLevelRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.DebugLevelRequest.displayName="proto.lnrpc.DebugLevelRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.DebugLevelRequest.prototype.toObject=function(e){return proto.lnrpc.DebugLevelRequest.toObject(e,this)},proto.lnrpc.DebugLevelRequest.toObject=function(e,t){var r={show:n.Message.getFieldWithDefault(t,1,!1),levelSpec:n.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.DebugLevelRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.DebugLevelRequest;return proto.lnrpc.DebugLevelRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.DebugLevelRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBool();e.setShow(r);break;case 2:r=t.readString();e.setLevelSpec(r);break;default:t.skipField()}}return e},proto.lnrpc.DebugLevelRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.DebugLevelRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.DebugLevelRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getShow())&&t.writeBool(1,r),(r=e.getLevelSpec()).length>0&&t.writeString(2,r)},proto.lnrpc.DebugLevelRequest.prototype.getShow=function(){return n.Message.getFieldWithDefault(this,1,!1)},proto.lnrpc.DebugLevelRequest.prototype.setShow=function(e){n.Message.setField(this,1,e)},proto.lnrpc.DebugLevelRequest.prototype.getLevelSpec=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.DebugLevelRequest.prototype.setLevelSpec=function(e){n.Message.setField(this,2,e)},proto.lnrpc.DebugLevelResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.DebugLevelResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.DebugLevelResponse.displayName="proto.lnrpc.DebugLevelResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.DebugLevelResponse.prototype.toObject=function(e){return proto.lnrpc.DebugLevelResponse.toObject(e,this)},proto.lnrpc.DebugLevelResponse.toObject=function(e,t){var r={subSystems:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.DebugLevelResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.DebugLevelResponse;return proto.lnrpc.DebugLevelResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.DebugLevelResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSubSystems(r)}else t.skipField()}return e},proto.lnrpc.DebugLevelResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.DebugLevelResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.DebugLevelResponse.serializeBinaryToWriter=function(e,t){var r;(r=e.getSubSystems()).length>0&&t.writeString(1,r)},proto.lnrpc.DebugLevelResponse.prototype.getSubSystems=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.DebugLevelResponse.prototype.setSubSystems=function(e){n.Message.setField(this,1,e)},proto.lnrpc.PayReqString=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.PayReqString,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.PayReqString.displayName="proto.lnrpc.PayReqString"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.PayReqString.prototype.toObject=function(e){return proto.lnrpc.PayReqString.toObject(e,this)},proto.lnrpc.PayReqString.toObject=function(e,t){var r={payReq:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.PayReqString.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.PayReqString;return proto.lnrpc.PayReqString.deserializeBinaryFromReader(r,t)},proto.lnrpc.PayReqString.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setPayReq(r)}else t.skipField()}return e},proto.lnrpc.PayReqString.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.PayReqString.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.PayReqString.serializeBinaryToWriter=function(e,t){var r;(r=e.getPayReq()).length>0&&t.writeString(1,r)},proto.lnrpc.PayReqString.prototype.getPayReq=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.PayReqString.prototype.setPayReq=function(e){n.Message.setField(this,1,e)},proto.lnrpc.PayReq=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.PayReq.repeatedFields_,null)},o.inherits(proto.lnrpc.PayReq,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.PayReq.displayName="proto.lnrpc.PayReq"),proto.lnrpc.PayReq.repeatedFields_=[10],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.PayReq.prototype.toObject=function(e){return proto.lnrpc.PayReq.toObject(e,this)},proto.lnrpc.PayReq.toObject=function(e,t){var r,o={destination:n.Message.getFieldWithDefault(t,1,""),paymentHash:n.Message.getFieldWithDefault(t,2,""),numSatoshis:n.Message.getFieldWithDefault(t,3,0),timestamp:n.Message.getFieldWithDefault(t,4,0),expiry:n.Message.getFieldWithDefault(t,5,0),description:n.Message.getFieldWithDefault(t,6,""),descriptionHash:n.Message.getFieldWithDefault(t,7,""),fallbackAddr:n.Message.getFieldWithDefault(t,8,""),cltvExpiry:n.Message.getFieldWithDefault(t,9,0),routeHintsList:n.Message.toObjectList(t.getRouteHintsList(),proto.lnrpc.RouteHint.toObject,e),paymentAddr:t.getPaymentAddr_asB64(),numMsat:n.Message.getFieldWithDefault(t,12,0),featuresMap:(r=t.getFeaturesMap())?r.toObject(e,proto.lnrpc.Feature.toObject):[]};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.PayReq.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.PayReq;return proto.lnrpc.PayReq.deserializeBinaryFromReader(r,t)},proto.lnrpc.PayReq.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setDestination(r);break;case 2:r=t.readString();e.setPaymentHash(r);break;case 3:r=t.readInt64();e.setNumSatoshis(r);break;case 4:r=t.readInt64();e.setTimestamp(r);break;case 5:r=t.readInt64();e.setExpiry(r);break;case 6:r=t.readString();e.setDescription(r);break;case 7:r=t.readString();e.setDescriptionHash(r);break;case 8:r=t.readString();e.setFallbackAddr(r);break;case 9:r=t.readInt64();e.setCltvExpiry(r);break;case 10:r=new proto.lnrpc.RouteHint;t.readMessage(r,proto.lnrpc.RouteHint.deserializeBinaryFromReader),e.addRouteHints(r);break;case 11:r=t.readBytes();e.setPaymentAddr(r);break;case 12:r=t.readInt64();e.setNumMsat(r);break;case 13:r=e.getFeaturesMap();t.readMessage(r,(function(e,t){n.Map.deserializeBinary(e,t,n.BinaryReader.prototype.readUint32,n.BinaryReader.prototype.readMessage,proto.lnrpc.Feature.deserializeBinaryFromReader)}));break;default:t.skipField()}}return e},proto.lnrpc.PayReq.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.PayReq.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.PayReq.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getDestination()).length>0&&t.writeString(1,r),(r=e.getPaymentHash()).length>0&&t.writeString(2,r),0!==(r=e.getNumSatoshis())&&t.writeInt64(3,r),0!==(r=e.getTimestamp())&&t.writeInt64(4,r),0!==(r=e.getExpiry())&&t.writeInt64(5,r),(r=e.getDescription()).length>0&&t.writeString(6,r),(r=e.getDescriptionHash()).length>0&&t.writeString(7,r),(r=e.getFallbackAddr()).length>0&&t.writeString(8,r),0!==(r=e.getCltvExpiry())&&t.writeInt64(9,r),(r=e.getRouteHintsList()).length>0&&t.writeRepeatedMessage(10,r,proto.lnrpc.RouteHint.serializeBinaryToWriter),(r=e.getPaymentAddr_asU8()).length>0&&t.writeBytes(11,r),0!==(r=e.getNumMsat())&&t.writeInt64(12,r),(r=e.getFeaturesMap(!0))&&r.getLength()>0&&r.serializeBinary(13,t,n.BinaryWriter.prototype.writeUint32,n.BinaryWriter.prototype.writeMessage,proto.lnrpc.Feature.serializeBinaryToWriter)},proto.lnrpc.PayReq.prototype.getDestination=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.PayReq.prototype.setDestination=function(e){n.Message.setField(this,1,e)},proto.lnrpc.PayReq.prototype.getPaymentHash=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.PayReq.prototype.setPaymentHash=function(e){n.Message.setField(this,2,e)},proto.lnrpc.PayReq.prototype.getNumSatoshis=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.PayReq.prototype.setNumSatoshis=function(e){n.Message.setField(this,3,e)},proto.lnrpc.PayReq.prototype.getTimestamp=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.PayReq.prototype.setTimestamp=function(e){n.Message.setField(this,4,e)},proto.lnrpc.PayReq.prototype.getExpiry=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.PayReq.prototype.setExpiry=function(e){n.Message.setField(this,5,e)},proto.lnrpc.PayReq.prototype.getDescription=function(){return n.Message.getFieldWithDefault(this,6,"")},proto.lnrpc.PayReq.prototype.setDescription=function(e){n.Message.setField(this,6,e)},proto.lnrpc.PayReq.prototype.getDescriptionHash=function(){return n.Message.getFieldWithDefault(this,7,"")},proto.lnrpc.PayReq.prototype.setDescriptionHash=function(e){n.Message.setField(this,7,e)},proto.lnrpc.PayReq.prototype.getFallbackAddr=function(){return n.Message.getFieldWithDefault(this,8,"")},proto.lnrpc.PayReq.prototype.setFallbackAddr=function(e){n.Message.setField(this,8,e)},proto.lnrpc.PayReq.prototype.getCltvExpiry=function(){return n.Message.getFieldWithDefault(this,9,0)},proto.lnrpc.PayReq.prototype.setCltvExpiry=function(e){n.Message.setField(this,9,e)},proto.lnrpc.PayReq.prototype.getRouteHintsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.RouteHint,10)},proto.lnrpc.PayReq.prototype.setRouteHintsList=function(e){n.Message.setRepeatedWrapperField(this,10,e)},proto.lnrpc.PayReq.prototype.addRouteHints=function(e,t){return n.Message.addToRepeatedWrapperField(this,10,e,proto.lnrpc.RouteHint,t)},proto.lnrpc.PayReq.prototype.clearRouteHintsList=function(){this.setRouteHintsList([])},proto.lnrpc.PayReq.prototype.getPaymentAddr=function(){return n.Message.getFieldWithDefault(this,11,"")},proto.lnrpc.PayReq.prototype.getPaymentAddr_asB64=function(){return n.Message.bytesAsB64(this.getPaymentAddr())},proto.lnrpc.PayReq.prototype.getPaymentAddr_asU8=function(){return n.Message.bytesAsU8(this.getPaymentAddr())},proto.lnrpc.PayReq.prototype.setPaymentAddr=function(e){n.Message.setField(this,11,e)},proto.lnrpc.PayReq.prototype.getNumMsat=function(){return n.Message.getFieldWithDefault(this,12,0)},proto.lnrpc.PayReq.prototype.setNumMsat=function(e){n.Message.setField(this,12,e)},proto.lnrpc.PayReq.prototype.getFeaturesMap=function(e){return n.Message.getMapField(this,13,e,proto.lnrpc.Feature)},proto.lnrpc.PayReq.prototype.clearFeaturesMap=function(){this.getFeaturesMap().clear()},proto.lnrpc.Feature=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.Feature,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.Feature.displayName="proto.lnrpc.Feature"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.Feature.prototype.toObject=function(e){return proto.lnrpc.Feature.toObject(e,this)},proto.lnrpc.Feature.toObject=function(e,t){var r={name:n.Message.getFieldWithDefault(t,2,""),isRequired:n.Message.getFieldWithDefault(t,3,!1),isKnown:n.Message.getFieldWithDefault(t,4,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.Feature.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.Feature;return proto.lnrpc.Feature.deserializeBinaryFromReader(r,t)},proto.lnrpc.Feature.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 2:var r=t.readString();e.setName(r);break;case 3:r=t.readBool();e.setIsRequired(r);break;case 4:r=t.readBool();e.setIsKnown(r);break;default:t.skipField()}}return e},proto.lnrpc.Feature.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.Feature.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.Feature.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getName()).length>0&&t.writeString(2,r),(r=e.getIsRequired())&&t.writeBool(3,r),(r=e.getIsKnown())&&t.writeBool(4,r)},proto.lnrpc.Feature.prototype.getName=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.Feature.prototype.setName=function(e){n.Message.setField(this,2,e)},proto.lnrpc.Feature.prototype.getIsRequired=function(){return n.Message.getFieldWithDefault(this,3,!1)},proto.lnrpc.Feature.prototype.setIsRequired=function(e){n.Message.setField(this,3,e)},proto.lnrpc.Feature.prototype.getIsKnown=function(){return n.Message.getFieldWithDefault(this,4,!1)},proto.lnrpc.Feature.prototype.setIsKnown=function(e){n.Message.setField(this,4,e)},proto.lnrpc.FeeReportRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.FeeReportRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.FeeReportRequest.displayName="proto.lnrpc.FeeReportRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.FeeReportRequest.prototype.toObject=function(e){return proto.lnrpc.FeeReportRequest.toObject(e,this)},proto.lnrpc.FeeReportRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.FeeReportRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.FeeReportRequest;return proto.lnrpc.FeeReportRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.FeeReportRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.FeeReportRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.FeeReportRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.FeeReportRequest.serializeBinaryToWriter=function(e,t){},proto.lnrpc.ChannelFeeReport=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChannelFeeReport,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelFeeReport.displayName="proto.lnrpc.ChannelFeeReport"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelFeeReport.prototype.toObject=function(e){return proto.lnrpc.ChannelFeeReport.toObject(e,this)},proto.lnrpc.ChannelFeeReport.toObject=function(e,t){var r={chanId:n.Message.getFieldWithDefault(t,5,"0"),channelPoint:n.Message.getFieldWithDefault(t,1,""),baseFeeMsat:n.Message.getFieldWithDefault(t,2,0),feePerMil:n.Message.getFieldWithDefault(t,3,0),feeRate:+n.Message.getFieldWithDefault(t,4,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ChannelFeeReport.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelFeeReport;return proto.lnrpc.ChannelFeeReport.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelFeeReport.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 5:var r=t.readUint64String();e.setChanId(r);break;case 1:r=t.readString();e.setChannelPoint(r);break;case 2:r=t.readInt64();e.setBaseFeeMsat(r);break;case 3:r=t.readInt64();e.setFeePerMil(r);break;case 4:r=t.readDouble();e.setFeeRate(r);break;default:t.skipField()}}return e},proto.lnrpc.ChannelFeeReport.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelFeeReport.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelFeeReport.serializeBinaryToWriter=function(e,t){var r=void 0;r=e.getChanId(),0!==parseInt(r,10)&&t.writeUint64String(5,r),(r=e.getChannelPoint()).length>0&&t.writeString(1,r),0!==(r=e.getBaseFeeMsat())&&t.writeInt64(2,r),0!==(r=e.getFeePerMil())&&t.writeInt64(3,r),0!==(r=e.getFeeRate())&&t.writeDouble(4,r)},proto.lnrpc.ChannelFeeReport.prototype.getChanId=function(){return n.Message.getFieldWithDefault(this,5,"0")},proto.lnrpc.ChannelFeeReport.prototype.setChanId=function(e){n.Message.setField(this,5,e)},proto.lnrpc.ChannelFeeReport.prototype.getChannelPoint=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.ChannelFeeReport.prototype.setChannelPoint=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ChannelFeeReport.prototype.getBaseFeeMsat=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.ChannelFeeReport.prototype.setBaseFeeMsat=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ChannelFeeReport.prototype.getFeePerMil=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.ChannelFeeReport.prototype.setFeePerMil=function(e){n.Message.setField(this,3,e)},proto.lnrpc.ChannelFeeReport.prototype.getFeeRate=function(){return+n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.ChannelFeeReport.prototype.setFeeRate=function(e){n.Message.setField(this,4,e)},proto.lnrpc.FeeReportResponse=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.FeeReportResponse.repeatedFields_,null)},o.inherits(proto.lnrpc.FeeReportResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.FeeReportResponse.displayName="proto.lnrpc.FeeReportResponse"),proto.lnrpc.FeeReportResponse.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.FeeReportResponse.prototype.toObject=function(e){return proto.lnrpc.FeeReportResponse.toObject(e,this)},proto.lnrpc.FeeReportResponse.toObject=function(e,t){var r={channelFeesList:n.Message.toObjectList(t.getChannelFeesList(),proto.lnrpc.ChannelFeeReport.toObject,e),dayFeeSum:n.Message.getFieldWithDefault(t,2,0),weekFeeSum:n.Message.getFieldWithDefault(t,3,0),monthFeeSum:n.Message.getFieldWithDefault(t,4,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.FeeReportResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.FeeReportResponse;return proto.lnrpc.FeeReportResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.FeeReportResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.ChannelFeeReport;t.readMessage(r,proto.lnrpc.ChannelFeeReport.deserializeBinaryFromReader),e.addChannelFees(r);break;case 2:r=t.readUint64();e.setDayFeeSum(r);break;case 3:r=t.readUint64();e.setWeekFeeSum(r);break;case 4:r=t.readUint64();e.setMonthFeeSum(r);break;default:t.skipField()}}return e},proto.lnrpc.FeeReportResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.FeeReportResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.FeeReportResponse.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getChannelFeesList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.ChannelFeeReport.serializeBinaryToWriter),0!==(r=e.getDayFeeSum())&&t.writeUint64(2,r),0!==(r=e.getWeekFeeSum())&&t.writeUint64(3,r),0!==(r=e.getMonthFeeSum())&&t.writeUint64(4,r)},proto.lnrpc.FeeReportResponse.prototype.getChannelFeesList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.ChannelFeeReport,1)},proto.lnrpc.FeeReportResponse.prototype.setChannelFeesList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.FeeReportResponse.prototype.addChannelFees=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.ChannelFeeReport,t)},proto.lnrpc.FeeReportResponse.prototype.clearChannelFeesList=function(){this.setChannelFeesList([])},proto.lnrpc.FeeReportResponse.prototype.getDayFeeSum=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.FeeReportResponse.prototype.setDayFeeSum=function(e){n.Message.setField(this,2,e)},proto.lnrpc.FeeReportResponse.prototype.getWeekFeeSum=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.FeeReportResponse.prototype.setWeekFeeSum=function(e){n.Message.setField(this,3,e)},proto.lnrpc.FeeReportResponse.prototype.getMonthFeeSum=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.FeeReportResponse.prototype.setMonthFeeSum=function(e){n.Message.setField(this,4,e)},proto.lnrpc.PolicyUpdateRequest=function(e){n.Message.initialize(this,e,0,-1,null,proto.lnrpc.PolicyUpdateRequest.oneofGroups_)},o.inherits(proto.lnrpc.PolicyUpdateRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.PolicyUpdateRequest.displayName="proto.lnrpc.PolicyUpdateRequest"),proto.lnrpc.PolicyUpdateRequest.oneofGroups_=[[1,2]],proto.lnrpc.PolicyUpdateRequest.ScopeCase={SCOPE_NOT_SET:0,GLOBAL:1,CHAN_POINT:2},proto.lnrpc.PolicyUpdateRequest.prototype.getScopeCase=function(){return n.Message.computeOneofCase(this,proto.lnrpc.PolicyUpdateRequest.oneofGroups_[0])},n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.PolicyUpdateRequest.prototype.toObject=function(e){return proto.lnrpc.PolicyUpdateRequest.toObject(e,this)},proto.lnrpc.PolicyUpdateRequest.toObject=function(e,t){var r,o={global:n.Message.getFieldWithDefault(t,1,!1),chanPoint:(r=t.getChanPoint())&&proto.lnrpc.ChannelPoint.toObject(e,r),baseFeeMsat:n.Message.getFieldWithDefault(t,3,0),feeRate:+n.Message.getFieldWithDefault(t,4,0),timeLockDelta:n.Message.getFieldWithDefault(t,5,0),maxHtlcMsat:n.Message.getFieldWithDefault(t,6,0),minHtlcMsat:n.Message.getFieldWithDefault(t,7,0),minHtlcMsatSpecified:n.Message.getFieldWithDefault(t,8,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.PolicyUpdateRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.PolicyUpdateRequest;return proto.lnrpc.PolicyUpdateRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.PolicyUpdateRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBool();e.setGlobal(r);break;case 2:r=new proto.lnrpc.ChannelPoint;t.readMessage(r,proto.lnrpc.ChannelPoint.deserializeBinaryFromReader),e.setChanPoint(r);break;case 3:r=t.readInt64();e.setBaseFeeMsat(r);break;case 4:r=t.readDouble();e.setFeeRate(r);break;case 5:r=t.readUint32();e.setTimeLockDelta(r);break;case 6:r=t.readUint64();e.setMaxHtlcMsat(r);break;case 7:r=t.readUint64();e.setMinHtlcMsat(r);break;case 8:r=t.readBool();e.setMinHtlcMsatSpecified(r);break;default:t.skipField()}}return e},proto.lnrpc.PolicyUpdateRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.PolicyUpdateRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.PolicyUpdateRequest.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=n.Message.getField(e,1))&&t.writeBool(1,r),null!=(r=e.getChanPoint())&&t.writeMessage(2,r,proto.lnrpc.ChannelPoint.serializeBinaryToWriter),0!==(r=e.getBaseFeeMsat())&&t.writeInt64(3,r),0!==(r=e.getFeeRate())&&t.writeDouble(4,r),0!==(r=e.getTimeLockDelta())&&t.writeUint32(5,r),0!==(r=e.getMaxHtlcMsat())&&t.writeUint64(6,r),0!==(r=e.getMinHtlcMsat())&&t.writeUint64(7,r),(r=e.getMinHtlcMsatSpecified())&&t.writeBool(8,r)},proto.lnrpc.PolicyUpdateRequest.prototype.getGlobal=function(){return n.Message.getFieldWithDefault(this,1,!1)},proto.lnrpc.PolicyUpdateRequest.prototype.setGlobal=function(e){n.Message.setOneofField(this,1,proto.lnrpc.PolicyUpdateRequest.oneofGroups_[0],e)},proto.lnrpc.PolicyUpdateRequest.prototype.clearGlobal=function(){n.Message.setOneofField(this,1,proto.lnrpc.PolicyUpdateRequest.oneofGroups_[0],void 0)},proto.lnrpc.PolicyUpdateRequest.prototype.hasGlobal=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.PolicyUpdateRequest.prototype.getChanPoint=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelPoint,2)},proto.lnrpc.PolicyUpdateRequest.prototype.setChanPoint=function(e){n.Message.setOneofWrapperField(this,2,proto.lnrpc.PolicyUpdateRequest.oneofGroups_[0],e)},proto.lnrpc.PolicyUpdateRequest.prototype.clearChanPoint=function(){this.setChanPoint(void 0)},proto.lnrpc.PolicyUpdateRequest.prototype.hasChanPoint=function(){return null!=n.Message.getField(this,2)},proto.lnrpc.PolicyUpdateRequest.prototype.getBaseFeeMsat=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.PolicyUpdateRequest.prototype.setBaseFeeMsat=function(e){n.Message.setField(this,3,e)},proto.lnrpc.PolicyUpdateRequest.prototype.getFeeRate=function(){return+n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.PolicyUpdateRequest.prototype.setFeeRate=function(e){n.Message.setField(this,4,e)},proto.lnrpc.PolicyUpdateRequest.prototype.getTimeLockDelta=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.PolicyUpdateRequest.prototype.setTimeLockDelta=function(e){n.Message.setField(this,5,e)},proto.lnrpc.PolicyUpdateRequest.prototype.getMaxHtlcMsat=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.PolicyUpdateRequest.prototype.setMaxHtlcMsat=function(e){n.Message.setField(this,6,e)},proto.lnrpc.PolicyUpdateRequest.prototype.getMinHtlcMsat=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.PolicyUpdateRequest.prototype.setMinHtlcMsat=function(e){n.Message.setField(this,7,e)},proto.lnrpc.PolicyUpdateRequest.prototype.getMinHtlcMsatSpecified=function(){return n.Message.getFieldWithDefault(this,8,!1)},proto.lnrpc.PolicyUpdateRequest.prototype.setMinHtlcMsatSpecified=function(e){n.Message.setField(this,8,e)},proto.lnrpc.FailedUpdate=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.FailedUpdate,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.FailedUpdate.displayName="proto.lnrpc.FailedUpdate"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.FailedUpdate.prototype.toObject=function(e){return proto.lnrpc.FailedUpdate.toObject(e,this)},proto.lnrpc.FailedUpdate.toObject=function(e,t){var r,o={outpoint:(r=t.getOutpoint())&&proto.lnrpc.OutPoint.toObject(e,r),reason:n.Message.getFieldWithDefault(t,2,0),updateError:n.Message.getFieldWithDefault(t,3,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.FailedUpdate.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.FailedUpdate;return proto.lnrpc.FailedUpdate.deserializeBinaryFromReader(r,t)},proto.lnrpc.FailedUpdate.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.OutPoint;t.readMessage(r,proto.lnrpc.OutPoint.deserializeBinaryFromReader),e.setOutpoint(r);break;case 2:r=t.readEnum();e.setReason(r);break;case 3:r=t.readString();e.setUpdateError(r);break;default:t.skipField()}}return e},proto.lnrpc.FailedUpdate.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.FailedUpdate.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.FailedUpdate.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getOutpoint())&&t.writeMessage(1,r,proto.lnrpc.OutPoint.serializeBinaryToWriter),0!==(r=e.getReason())&&t.writeEnum(2,r),(r=e.getUpdateError()).length>0&&t.writeString(3,r)},proto.lnrpc.FailedUpdate.prototype.getOutpoint=function(){return n.Message.getWrapperField(this,proto.lnrpc.OutPoint,1)},proto.lnrpc.FailedUpdate.prototype.setOutpoint=function(e){n.Message.setWrapperField(this,1,e)},proto.lnrpc.FailedUpdate.prototype.clearOutpoint=function(){this.setOutpoint(void 0)},proto.lnrpc.FailedUpdate.prototype.hasOutpoint=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.FailedUpdate.prototype.getReason=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.FailedUpdate.prototype.setReason=function(e){n.Message.setField(this,2,e)},proto.lnrpc.FailedUpdate.prototype.getUpdateError=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.FailedUpdate.prototype.setUpdateError=function(e){n.Message.setField(this,3,e)},proto.lnrpc.PolicyUpdateResponse=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.PolicyUpdateResponse.repeatedFields_,null)},o.inherits(proto.lnrpc.PolicyUpdateResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.PolicyUpdateResponse.displayName="proto.lnrpc.PolicyUpdateResponse"),proto.lnrpc.PolicyUpdateResponse.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.PolicyUpdateResponse.prototype.toObject=function(e){return proto.lnrpc.PolicyUpdateResponse.toObject(e,this)},proto.lnrpc.PolicyUpdateResponse.toObject=function(e,t){var r={failedUpdatesList:n.Message.toObjectList(t.getFailedUpdatesList(),proto.lnrpc.FailedUpdate.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.PolicyUpdateResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.PolicyUpdateResponse;return proto.lnrpc.PolicyUpdateResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.PolicyUpdateResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.lnrpc.FailedUpdate;t.readMessage(r,proto.lnrpc.FailedUpdate.deserializeBinaryFromReader),e.addFailedUpdates(r)}else t.skipField()}return e},proto.lnrpc.PolicyUpdateResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.PolicyUpdateResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.PolicyUpdateResponse.serializeBinaryToWriter=function(e,t){var r;(r=e.getFailedUpdatesList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.FailedUpdate.serializeBinaryToWriter)},proto.lnrpc.PolicyUpdateResponse.prototype.getFailedUpdatesList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.FailedUpdate,1)},proto.lnrpc.PolicyUpdateResponse.prototype.setFailedUpdatesList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.PolicyUpdateResponse.prototype.addFailedUpdates=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.FailedUpdate,t)},proto.lnrpc.PolicyUpdateResponse.prototype.clearFailedUpdatesList=function(){this.setFailedUpdatesList([])},proto.lnrpc.ForwardingHistoryRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ForwardingHistoryRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ForwardingHistoryRequest.displayName="proto.lnrpc.ForwardingHistoryRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ForwardingHistoryRequest.prototype.toObject=function(e){return proto.lnrpc.ForwardingHistoryRequest.toObject(e,this)},proto.lnrpc.ForwardingHistoryRequest.toObject=function(e,t){var r={startTime:n.Message.getFieldWithDefault(t,1,0),endTime:n.Message.getFieldWithDefault(t,2,0),indexOffset:n.Message.getFieldWithDefault(t,3,0),numMaxEvents:n.Message.getFieldWithDefault(t,4,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ForwardingHistoryRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ForwardingHistoryRequest;return proto.lnrpc.ForwardingHistoryRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.ForwardingHistoryRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint64();e.setStartTime(r);break;case 2:r=t.readUint64();e.setEndTime(r);break;case 3:r=t.readUint32();e.setIndexOffset(r);break;case 4:r=t.readUint32();e.setNumMaxEvents(r);break;default:t.skipField()}}return e},proto.lnrpc.ForwardingHistoryRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ForwardingHistoryRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ForwardingHistoryRequest.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getStartTime())&&t.writeUint64(1,r),0!==(r=e.getEndTime())&&t.writeUint64(2,r),0!==(r=e.getIndexOffset())&&t.writeUint32(3,r),0!==(r=e.getNumMaxEvents())&&t.writeUint32(4,r)},proto.lnrpc.ForwardingHistoryRequest.prototype.getStartTime=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.ForwardingHistoryRequest.prototype.setStartTime=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ForwardingHistoryRequest.prototype.getEndTime=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.ForwardingHistoryRequest.prototype.setEndTime=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ForwardingHistoryRequest.prototype.getIndexOffset=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.lnrpc.ForwardingHistoryRequest.prototype.setIndexOffset=function(e){n.Message.setField(this,3,e)},proto.lnrpc.ForwardingHistoryRequest.prototype.getNumMaxEvents=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.ForwardingHistoryRequest.prototype.setNumMaxEvents=function(e){n.Message.setField(this,4,e)},proto.lnrpc.ForwardingEvent=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ForwardingEvent,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ForwardingEvent.displayName="proto.lnrpc.ForwardingEvent"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ForwardingEvent.prototype.toObject=function(e){return proto.lnrpc.ForwardingEvent.toObject(e,this)},proto.lnrpc.ForwardingEvent.toObject=function(e,t){var r={timestamp:n.Message.getFieldWithDefault(t,1,0),chanIdIn:n.Message.getFieldWithDefault(t,2,"0"),chanIdOut:n.Message.getFieldWithDefault(t,4,"0"),amtIn:n.Message.getFieldWithDefault(t,5,0),amtOut:n.Message.getFieldWithDefault(t,6,0),fee:n.Message.getFieldWithDefault(t,7,0),feeMsat:n.Message.getFieldWithDefault(t,8,0),amtInMsat:n.Message.getFieldWithDefault(t,9,0),amtOutMsat:n.Message.getFieldWithDefault(t,10,0),timestampNs:n.Message.getFieldWithDefault(t,11,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ForwardingEvent.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ForwardingEvent;return proto.lnrpc.ForwardingEvent.deserializeBinaryFromReader(r,t)},proto.lnrpc.ForwardingEvent.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint64();e.setTimestamp(r);break;case 2:r=t.readUint64String();e.setChanIdIn(r);break;case 4:r=t.readUint64String();e.setChanIdOut(r);break;case 5:r=t.readUint64();e.setAmtIn(r);break;case 6:r=t.readUint64();e.setAmtOut(r);break;case 7:r=t.readUint64();e.setFee(r);break;case 8:r=t.readUint64();e.setFeeMsat(r);break;case 9:r=t.readUint64();e.setAmtInMsat(r);break;case 10:r=t.readUint64();e.setAmtOutMsat(r);break;case 11:r=t.readUint64();e.setTimestampNs(r);break;default:t.skipField()}}return e},proto.lnrpc.ForwardingEvent.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ForwardingEvent.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ForwardingEvent.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getTimestamp())&&t.writeUint64(1,r),r=e.getChanIdIn(),0!==parseInt(r,10)&&t.writeUint64String(2,r),r=e.getChanIdOut(),0!==parseInt(r,10)&&t.writeUint64String(4,r),0!==(r=e.getAmtIn())&&t.writeUint64(5,r),0!==(r=e.getAmtOut())&&t.writeUint64(6,r),0!==(r=e.getFee())&&t.writeUint64(7,r),0!==(r=e.getFeeMsat())&&t.writeUint64(8,r),0!==(r=e.getAmtInMsat())&&t.writeUint64(9,r),0!==(r=e.getAmtOutMsat())&&t.writeUint64(10,r),0!==(r=e.getTimestampNs())&&t.writeUint64(11,r)},proto.lnrpc.ForwardingEvent.prototype.getTimestamp=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.ForwardingEvent.prototype.setTimestamp=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ForwardingEvent.prototype.getChanIdIn=function(){return n.Message.getFieldWithDefault(this,2,"0")},proto.lnrpc.ForwardingEvent.prototype.setChanIdIn=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ForwardingEvent.prototype.getChanIdOut=function(){return n.Message.getFieldWithDefault(this,4,"0")},proto.lnrpc.ForwardingEvent.prototype.setChanIdOut=function(e){n.Message.setField(this,4,e)},proto.lnrpc.ForwardingEvent.prototype.getAmtIn=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.ForwardingEvent.prototype.setAmtIn=function(e){n.Message.setField(this,5,e)},proto.lnrpc.ForwardingEvent.prototype.getAmtOut=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.ForwardingEvent.prototype.setAmtOut=function(e){n.Message.setField(this,6,e)},proto.lnrpc.ForwardingEvent.prototype.getFee=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.ForwardingEvent.prototype.setFee=function(e){n.Message.setField(this,7,e)},proto.lnrpc.ForwardingEvent.prototype.getFeeMsat=function(){return n.Message.getFieldWithDefault(this,8,0)},proto.lnrpc.ForwardingEvent.prototype.setFeeMsat=function(e){n.Message.setField(this,8,e)},proto.lnrpc.ForwardingEvent.prototype.getAmtInMsat=function(){return n.Message.getFieldWithDefault(this,9,0)},proto.lnrpc.ForwardingEvent.prototype.setAmtInMsat=function(e){n.Message.setField(this,9,e)},proto.lnrpc.ForwardingEvent.prototype.getAmtOutMsat=function(){return n.Message.getFieldWithDefault(this,10,0)},proto.lnrpc.ForwardingEvent.prototype.setAmtOutMsat=function(e){n.Message.setField(this,10,e)},proto.lnrpc.ForwardingEvent.prototype.getTimestampNs=function(){return n.Message.getFieldWithDefault(this,11,0)},proto.lnrpc.ForwardingEvent.prototype.setTimestampNs=function(e){n.Message.setField(this,11,e)},proto.lnrpc.ForwardingHistoryResponse=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.ForwardingHistoryResponse.repeatedFields_,null)},o.inherits(proto.lnrpc.ForwardingHistoryResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ForwardingHistoryResponse.displayName="proto.lnrpc.ForwardingHistoryResponse"),proto.lnrpc.ForwardingHistoryResponse.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ForwardingHistoryResponse.prototype.toObject=function(e){return proto.lnrpc.ForwardingHistoryResponse.toObject(e,this)},proto.lnrpc.ForwardingHistoryResponse.toObject=function(e,t){var r={forwardingEventsList:n.Message.toObjectList(t.getForwardingEventsList(),proto.lnrpc.ForwardingEvent.toObject,e),lastOffsetIndex:n.Message.getFieldWithDefault(t,2,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ForwardingHistoryResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ForwardingHistoryResponse;return proto.lnrpc.ForwardingHistoryResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.ForwardingHistoryResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.ForwardingEvent;t.readMessage(r,proto.lnrpc.ForwardingEvent.deserializeBinaryFromReader),e.addForwardingEvents(r);break;case 2:r=t.readUint32();e.setLastOffsetIndex(r);break;default:t.skipField()}}return e},proto.lnrpc.ForwardingHistoryResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ForwardingHistoryResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ForwardingHistoryResponse.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getForwardingEventsList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.ForwardingEvent.serializeBinaryToWriter),0!==(r=e.getLastOffsetIndex())&&t.writeUint32(2,r)},proto.lnrpc.ForwardingHistoryResponse.prototype.getForwardingEventsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.ForwardingEvent,1)},proto.lnrpc.ForwardingHistoryResponse.prototype.setForwardingEventsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.ForwardingHistoryResponse.prototype.addForwardingEvents=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.ForwardingEvent,t)},proto.lnrpc.ForwardingHistoryResponse.prototype.clearForwardingEventsList=function(){this.setForwardingEventsList([])},proto.lnrpc.ForwardingHistoryResponse.prototype.getLastOffsetIndex=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.ForwardingHistoryResponse.prototype.setLastOffsetIndex=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ExportChannelBackupRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ExportChannelBackupRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ExportChannelBackupRequest.displayName="proto.lnrpc.ExportChannelBackupRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ExportChannelBackupRequest.prototype.toObject=function(e){return proto.lnrpc.ExportChannelBackupRequest.toObject(e,this)},proto.lnrpc.ExportChannelBackupRequest.toObject=function(e,t){var r,n={chanPoint:(r=t.getChanPoint())&&proto.lnrpc.ChannelPoint.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.lnrpc.ExportChannelBackupRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ExportChannelBackupRequest;return proto.lnrpc.ExportChannelBackupRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.ExportChannelBackupRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.lnrpc.ChannelPoint;t.readMessage(r,proto.lnrpc.ChannelPoint.deserializeBinaryFromReader),e.setChanPoint(r)}else t.skipField()}return e},proto.lnrpc.ExportChannelBackupRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ExportChannelBackupRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ExportChannelBackupRequest.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getChanPoint())&&t.writeMessage(1,r,proto.lnrpc.ChannelPoint.serializeBinaryToWriter)},proto.lnrpc.ExportChannelBackupRequest.prototype.getChanPoint=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelPoint,1)},proto.lnrpc.ExportChannelBackupRequest.prototype.setChanPoint=function(e){n.Message.setWrapperField(this,1,e)},proto.lnrpc.ExportChannelBackupRequest.prototype.clearChanPoint=function(){this.setChanPoint(void 0)},proto.lnrpc.ExportChannelBackupRequest.prototype.hasChanPoint=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.ChannelBackup=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChannelBackup,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelBackup.displayName="proto.lnrpc.ChannelBackup"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelBackup.prototype.toObject=function(e){return proto.lnrpc.ChannelBackup.toObject(e,this)},proto.lnrpc.ChannelBackup.toObject=function(e,t){var r,n={chanPoint:(r=t.getChanPoint())&&proto.lnrpc.ChannelPoint.toObject(e,r),chanBackup:t.getChanBackup_asB64()};return e&&(n.$jspbMessageInstance=t),n}),proto.lnrpc.ChannelBackup.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelBackup;return proto.lnrpc.ChannelBackup.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelBackup.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.ChannelPoint;t.readMessage(r,proto.lnrpc.ChannelPoint.deserializeBinaryFromReader),e.setChanPoint(r);break;case 2:r=t.readBytes();e.setChanBackup(r);break;default:t.skipField()}}return e},proto.lnrpc.ChannelBackup.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelBackup.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelBackup.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getChanPoint())&&t.writeMessage(1,r,proto.lnrpc.ChannelPoint.serializeBinaryToWriter),(r=e.getChanBackup_asU8()).length>0&&t.writeBytes(2,r)},proto.lnrpc.ChannelBackup.prototype.getChanPoint=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelPoint,1)},proto.lnrpc.ChannelBackup.prototype.setChanPoint=function(e){n.Message.setWrapperField(this,1,e)},proto.lnrpc.ChannelBackup.prototype.clearChanPoint=function(){this.setChanPoint(void 0)},proto.lnrpc.ChannelBackup.prototype.hasChanPoint=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.ChannelBackup.prototype.getChanBackup=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.ChannelBackup.prototype.getChanBackup_asB64=function(){return n.Message.bytesAsB64(this.getChanBackup())},proto.lnrpc.ChannelBackup.prototype.getChanBackup_asU8=function(){return n.Message.bytesAsU8(this.getChanBackup())},proto.lnrpc.ChannelBackup.prototype.setChanBackup=function(e){n.Message.setField(this,2,e)},proto.lnrpc.MultiChanBackup=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.MultiChanBackup.repeatedFields_,null)},o.inherits(proto.lnrpc.MultiChanBackup,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.MultiChanBackup.displayName="proto.lnrpc.MultiChanBackup"),proto.lnrpc.MultiChanBackup.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.MultiChanBackup.prototype.toObject=function(e){return proto.lnrpc.MultiChanBackup.toObject(e,this)},proto.lnrpc.MultiChanBackup.toObject=function(e,t){var r={chanPointsList:n.Message.toObjectList(t.getChanPointsList(),proto.lnrpc.ChannelPoint.toObject,e),multiChanBackup:t.getMultiChanBackup_asB64()};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.MultiChanBackup.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.MultiChanBackup;return proto.lnrpc.MultiChanBackup.deserializeBinaryFromReader(r,t)},proto.lnrpc.MultiChanBackup.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.ChannelPoint;t.readMessage(r,proto.lnrpc.ChannelPoint.deserializeBinaryFromReader),e.addChanPoints(r);break;case 2:r=t.readBytes();e.setMultiChanBackup(r);break;default:t.skipField()}}return e},proto.lnrpc.MultiChanBackup.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.MultiChanBackup.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.MultiChanBackup.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getChanPointsList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.ChannelPoint.serializeBinaryToWriter),(r=e.getMultiChanBackup_asU8()).length>0&&t.writeBytes(2,r)},proto.lnrpc.MultiChanBackup.prototype.getChanPointsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.ChannelPoint,1)},proto.lnrpc.MultiChanBackup.prototype.setChanPointsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.MultiChanBackup.prototype.addChanPoints=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.ChannelPoint,t)},proto.lnrpc.MultiChanBackup.prototype.clearChanPointsList=function(){this.setChanPointsList([])},proto.lnrpc.MultiChanBackup.prototype.getMultiChanBackup=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.MultiChanBackup.prototype.getMultiChanBackup_asB64=function(){return n.Message.bytesAsB64(this.getMultiChanBackup())},proto.lnrpc.MultiChanBackup.prototype.getMultiChanBackup_asU8=function(){return n.Message.bytesAsU8(this.getMultiChanBackup())},proto.lnrpc.MultiChanBackup.prototype.setMultiChanBackup=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ChanBackupExportRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChanBackupExportRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChanBackupExportRequest.displayName="proto.lnrpc.ChanBackupExportRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChanBackupExportRequest.prototype.toObject=function(e){return proto.lnrpc.ChanBackupExportRequest.toObject(e,this)},proto.lnrpc.ChanBackupExportRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ChanBackupExportRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChanBackupExportRequest;return proto.lnrpc.ChanBackupExportRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChanBackupExportRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.ChanBackupExportRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChanBackupExportRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChanBackupExportRequest.serializeBinaryToWriter=function(e,t){},proto.lnrpc.ChanBackupSnapshot=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChanBackupSnapshot,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChanBackupSnapshot.displayName="proto.lnrpc.ChanBackupSnapshot"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChanBackupSnapshot.prototype.toObject=function(e){return proto.lnrpc.ChanBackupSnapshot.toObject(e,this)},proto.lnrpc.ChanBackupSnapshot.toObject=function(e,t){var r,n={singleChanBackups:(r=t.getSingleChanBackups())&&proto.lnrpc.ChannelBackups.toObject(e,r),multiChanBackup:(r=t.getMultiChanBackup())&&proto.lnrpc.MultiChanBackup.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n});proto.lnrpc.ChanBackupSnapshot.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChanBackupSnapshot;return proto.lnrpc.ChanBackupSnapshot.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChanBackupSnapshot.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.ChannelBackups;t.readMessage(r,proto.lnrpc.ChannelBackups.deserializeBinaryFromReader),e.setSingleChanBackups(r);break;case 2:r=new proto.lnrpc.MultiChanBackup;t.readMessage(r,proto.lnrpc.MultiChanBackup.deserializeBinaryFromReader),e.setMultiChanBackup(r);break;default:t.skipField()}}return e},proto.lnrpc.ChanBackupSnapshot.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChanBackupSnapshot.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChanBackupSnapshot.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getSingleChanBackups())&&t.writeMessage(1,r,proto.lnrpc.ChannelBackups.serializeBinaryToWriter),null!=(r=e.getMultiChanBackup())&&t.writeMessage(2,r,proto.lnrpc.MultiChanBackup.serializeBinaryToWriter)},proto.lnrpc.ChanBackupSnapshot.prototype.getSingleChanBackups=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelBackups,1)},proto.lnrpc.ChanBackupSnapshot.prototype.setSingleChanBackups=function(e){n.Message.setWrapperField(this,1,e)},proto.lnrpc.ChanBackupSnapshot.prototype.clearSingleChanBackups=function(){this.setSingleChanBackups(void 0)},proto.lnrpc.ChanBackupSnapshot.prototype.hasSingleChanBackups=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.ChanBackupSnapshot.prototype.getMultiChanBackup=function(){return n.Message.getWrapperField(this,proto.lnrpc.MultiChanBackup,2)},proto.lnrpc.ChanBackupSnapshot.prototype.setMultiChanBackup=function(e){n.Message.setWrapperField(this,2,e)},proto.lnrpc.ChanBackupSnapshot.prototype.clearMultiChanBackup=function(){this.setMultiChanBackup(void 0)},proto.lnrpc.ChanBackupSnapshot.prototype.hasMultiChanBackup=function(){return null!=n.Message.getField(this,2)},proto.lnrpc.ChannelBackups=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.ChannelBackups.repeatedFields_,null)},o.inherits(proto.lnrpc.ChannelBackups,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelBackups.displayName="proto.lnrpc.ChannelBackups"),proto.lnrpc.ChannelBackups.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelBackups.prototype.toObject=function(e){return proto.lnrpc.ChannelBackups.toObject(e,this)},proto.lnrpc.ChannelBackups.toObject=function(e,t){var r={chanBackupsList:n.Message.toObjectList(t.getChanBackupsList(),proto.lnrpc.ChannelBackup.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ChannelBackups.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelBackups;return proto.lnrpc.ChannelBackups.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelBackups.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.lnrpc.ChannelBackup;t.readMessage(r,proto.lnrpc.ChannelBackup.deserializeBinaryFromReader),e.addChanBackups(r)}else t.skipField()}return e},proto.lnrpc.ChannelBackups.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelBackups.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelBackups.serializeBinaryToWriter=function(e,t){var r;(r=e.getChanBackupsList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.ChannelBackup.serializeBinaryToWriter)},proto.lnrpc.ChannelBackups.prototype.getChanBackupsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.ChannelBackup,1)},proto.lnrpc.ChannelBackups.prototype.setChanBackupsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.ChannelBackups.prototype.addChanBackups=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.ChannelBackup,t)},proto.lnrpc.ChannelBackups.prototype.clearChanBackupsList=function(){this.setChanBackupsList([])},proto.lnrpc.RestoreChanBackupRequest=function(e){n.Message.initialize(this,e,0,-1,null,proto.lnrpc.RestoreChanBackupRequest.oneofGroups_)},o.inherits(proto.lnrpc.RestoreChanBackupRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.RestoreChanBackupRequest.displayName="proto.lnrpc.RestoreChanBackupRequest"),proto.lnrpc.RestoreChanBackupRequest.oneofGroups_=[[1,2]],proto.lnrpc.RestoreChanBackupRequest.BackupCase={BACKUP_NOT_SET:0,CHAN_BACKUPS:1,MULTI_CHAN_BACKUP:2},proto.lnrpc.RestoreChanBackupRequest.prototype.getBackupCase=function(){return n.Message.computeOneofCase(this,proto.lnrpc.RestoreChanBackupRequest.oneofGroups_[0])},n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.RestoreChanBackupRequest.prototype.toObject=function(e){return proto.lnrpc.RestoreChanBackupRequest.toObject(e,this)},proto.lnrpc.RestoreChanBackupRequest.toObject=function(e,t){var r,n={chanBackups:(r=t.getChanBackups())&&proto.lnrpc.ChannelBackups.toObject(e,r),multiChanBackup:t.getMultiChanBackup_asB64()};return e&&(n.$jspbMessageInstance=t),n}),proto.lnrpc.RestoreChanBackupRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.RestoreChanBackupRequest;return proto.lnrpc.RestoreChanBackupRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.RestoreChanBackupRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.ChannelBackups;t.readMessage(r,proto.lnrpc.ChannelBackups.deserializeBinaryFromReader),e.setChanBackups(r);break;case 2:r=t.readBytes();e.setMultiChanBackup(r);break;default:t.skipField()}}return e},proto.lnrpc.RestoreChanBackupRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.RestoreChanBackupRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.RestoreChanBackupRequest.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getChanBackups())&&t.writeMessage(1,r,proto.lnrpc.ChannelBackups.serializeBinaryToWriter),null!=(r=n.Message.getField(e,2))&&t.writeBytes(2,r)},proto.lnrpc.RestoreChanBackupRequest.prototype.getChanBackups=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelBackups,1)},proto.lnrpc.RestoreChanBackupRequest.prototype.setChanBackups=function(e){n.Message.setOneofWrapperField(this,1,proto.lnrpc.RestoreChanBackupRequest.oneofGroups_[0],e)},proto.lnrpc.RestoreChanBackupRequest.prototype.clearChanBackups=function(){this.setChanBackups(void 0)},proto.lnrpc.RestoreChanBackupRequest.prototype.hasChanBackups=function(){return null!=n.Message.getField(this,1)},proto.lnrpc.RestoreChanBackupRequest.prototype.getMultiChanBackup=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.RestoreChanBackupRequest.prototype.getMultiChanBackup_asB64=function(){return n.Message.bytesAsB64(this.getMultiChanBackup())},proto.lnrpc.RestoreChanBackupRequest.prototype.getMultiChanBackup_asU8=function(){return n.Message.bytesAsU8(this.getMultiChanBackup())},proto.lnrpc.RestoreChanBackupRequest.prototype.setMultiChanBackup=function(e){n.Message.setOneofField(this,2,proto.lnrpc.RestoreChanBackupRequest.oneofGroups_[0],e)},proto.lnrpc.RestoreChanBackupRequest.prototype.clearMultiChanBackup=function(){n.Message.setOneofField(this,2,proto.lnrpc.RestoreChanBackupRequest.oneofGroups_[0],void 0)},proto.lnrpc.RestoreChanBackupRequest.prototype.hasMultiChanBackup=function(){return null!=n.Message.getField(this,2)},proto.lnrpc.RestoreBackupResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.RestoreBackupResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.RestoreBackupResponse.displayName="proto.lnrpc.RestoreBackupResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.RestoreBackupResponse.prototype.toObject=function(e){return proto.lnrpc.RestoreBackupResponse.toObject(e,this)},proto.lnrpc.RestoreBackupResponse.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.RestoreBackupResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.RestoreBackupResponse;return proto.lnrpc.RestoreBackupResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.RestoreBackupResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.RestoreBackupResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.RestoreBackupResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.RestoreBackupResponse.serializeBinaryToWriter=function(e,t){},proto.lnrpc.ChannelBackupSubscription=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChannelBackupSubscription,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelBackupSubscription.displayName="proto.lnrpc.ChannelBackupSubscription"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelBackupSubscription.prototype.toObject=function(e){return proto.lnrpc.ChannelBackupSubscription.toObject(e,this)},proto.lnrpc.ChannelBackupSubscription.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ChannelBackupSubscription.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelBackupSubscription;return proto.lnrpc.ChannelBackupSubscription.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelBackupSubscription.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.ChannelBackupSubscription.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelBackupSubscription.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelBackupSubscription.serializeBinaryToWriter=function(e,t){},proto.lnrpc.VerifyChanBackupResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.VerifyChanBackupResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.VerifyChanBackupResponse.displayName="proto.lnrpc.VerifyChanBackupResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.VerifyChanBackupResponse.prototype.toObject=function(e){return proto.lnrpc.VerifyChanBackupResponse.toObject(e,this)},proto.lnrpc.VerifyChanBackupResponse.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.VerifyChanBackupResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.VerifyChanBackupResponse;return proto.lnrpc.VerifyChanBackupResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.VerifyChanBackupResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.VerifyChanBackupResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.VerifyChanBackupResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.VerifyChanBackupResponse.serializeBinaryToWriter=function(e,t){},proto.lnrpc.MacaroonPermission=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.MacaroonPermission,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.MacaroonPermission.displayName="proto.lnrpc.MacaroonPermission"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.MacaroonPermission.prototype.toObject=function(e){return proto.lnrpc.MacaroonPermission.toObject(e,this)},proto.lnrpc.MacaroonPermission.toObject=function(e,t){var r={entity:n.Message.getFieldWithDefault(t,1,""),action:n.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.MacaroonPermission.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.MacaroonPermission;return proto.lnrpc.MacaroonPermission.deserializeBinaryFromReader(r,t)},proto.lnrpc.MacaroonPermission.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setEntity(r);break;case 2:r=t.readString();e.setAction(r);break;default:t.skipField()}}return e},proto.lnrpc.MacaroonPermission.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.MacaroonPermission.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.MacaroonPermission.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getEntity()).length>0&&t.writeString(1,r),(r=e.getAction()).length>0&&t.writeString(2,r)},proto.lnrpc.MacaroonPermission.prototype.getEntity=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.MacaroonPermission.prototype.setEntity=function(e){n.Message.setField(this,1,e)},proto.lnrpc.MacaroonPermission.prototype.getAction=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.MacaroonPermission.prototype.setAction=function(e){n.Message.setField(this,2,e)},proto.lnrpc.BakeMacaroonRequest=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.BakeMacaroonRequest.repeatedFields_,null)},o.inherits(proto.lnrpc.BakeMacaroonRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.BakeMacaroonRequest.displayName="proto.lnrpc.BakeMacaroonRequest"),proto.lnrpc.BakeMacaroonRequest.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.BakeMacaroonRequest.prototype.toObject=function(e){return proto.lnrpc.BakeMacaroonRequest.toObject(e,this)},proto.lnrpc.BakeMacaroonRequest.toObject=function(e,t){var r={permissionsList:n.Message.toObjectList(t.getPermissionsList(),proto.lnrpc.MacaroonPermission.toObject,e),rootKeyId:n.Message.getFieldWithDefault(t,2,0),allowExternalPermissions:n.Message.getFieldWithDefault(t,3,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.BakeMacaroonRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.BakeMacaroonRequest;return proto.lnrpc.BakeMacaroonRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.BakeMacaroonRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.lnrpc.MacaroonPermission;t.readMessage(r,proto.lnrpc.MacaroonPermission.deserializeBinaryFromReader),e.addPermissions(r);break;case 2:r=t.readUint64();e.setRootKeyId(r);break;case 3:r=t.readBool();e.setAllowExternalPermissions(r);break;default:t.skipField()}}return e},proto.lnrpc.BakeMacaroonRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.BakeMacaroonRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.BakeMacaroonRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPermissionsList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.MacaroonPermission.serializeBinaryToWriter),0!==(r=e.getRootKeyId())&&t.writeUint64(2,r),(r=e.getAllowExternalPermissions())&&t.writeBool(3,r)},proto.lnrpc.BakeMacaroonRequest.prototype.getPermissionsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.MacaroonPermission,1)},proto.lnrpc.BakeMacaroonRequest.prototype.setPermissionsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.BakeMacaroonRequest.prototype.addPermissions=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.MacaroonPermission,t)},proto.lnrpc.BakeMacaroonRequest.prototype.clearPermissionsList=function(){this.setPermissionsList([])},proto.lnrpc.BakeMacaroonRequest.prototype.getRootKeyId=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.lnrpc.BakeMacaroonRequest.prototype.setRootKeyId=function(e){n.Message.setField(this,2,e)},proto.lnrpc.BakeMacaroonRequest.prototype.getAllowExternalPermissions=function(){return n.Message.getFieldWithDefault(this,3,!1)},proto.lnrpc.BakeMacaroonRequest.prototype.setAllowExternalPermissions=function(e){n.Message.setField(this,3,e)},proto.lnrpc.BakeMacaroonResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.BakeMacaroonResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.BakeMacaroonResponse.displayName="proto.lnrpc.BakeMacaroonResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.BakeMacaroonResponse.prototype.toObject=function(e){return proto.lnrpc.BakeMacaroonResponse.toObject(e,this)},proto.lnrpc.BakeMacaroonResponse.toObject=function(e,t){var r={macaroon:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.BakeMacaroonResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.BakeMacaroonResponse;return proto.lnrpc.BakeMacaroonResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.BakeMacaroonResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setMacaroon(r)}else t.skipField()}return e},proto.lnrpc.BakeMacaroonResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.BakeMacaroonResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.BakeMacaroonResponse.serializeBinaryToWriter=function(e,t){var r;(r=e.getMacaroon()).length>0&&t.writeString(1,r)},proto.lnrpc.BakeMacaroonResponse.prototype.getMacaroon=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.BakeMacaroonResponse.prototype.setMacaroon=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ListMacaroonIDsRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ListMacaroonIDsRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ListMacaroonIDsRequest.displayName="proto.lnrpc.ListMacaroonIDsRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ListMacaroonIDsRequest.prototype.toObject=function(e){return proto.lnrpc.ListMacaroonIDsRequest.toObject(e,this)},proto.lnrpc.ListMacaroonIDsRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ListMacaroonIDsRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ListMacaroonIDsRequest;return proto.lnrpc.ListMacaroonIDsRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.ListMacaroonIDsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.ListMacaroonIDsRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ListMacaroonIDsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ListMacaroonIDsRequest.serializeBinaryToWriter=function(e,t){},proto.lnrpc.ListMacaroonIDsResponse=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.ListMacaroonIDsResponse.repeatedFields_,null)},o.inherits(proto.lnrpc.ListMacaroonIDsResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ListMacaroonIDsResponse.displayName="proto.lnrpc.ListMacaroonIDsResponse"),proto.lnrpc.ListMacaroonIDsResponse.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ListMacaroonIDsResponse.prototype.toObject=function(e){return proto.lnrpc.ListMacaroonIDsResponse.toObject(e,this)},proto.lnrpc.ListMacaroonIDsResponse.toObject=function(e,t){var r={rootKeyIdsList:n.Message.getRepeatedField(t,1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ListMacaroonIDsResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ListMacaroonIDsResponse;return proto.lnrpc.ListMacaroonIDsResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.ListMacaroonIDsResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readPackedUint64();e.setRootKeyIdsList(r)}else t.skipField()}return e},proto.lnrpc.ListMacaroonIDsResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ListMacaroonIDsResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ListMacaroonIDsResponse.serializeBinaryToWriter=function(e,t){var r;(r=e.getRootKeyIdsList()).length>0&&t.writePackedUint64(1,r)},proto.lnrpc.ListMacaroonIDsResponse.prototype.getRootKeyIdsList=function(){return n.Message.getRepeatedField(this,1)},proto.lnrpc.ListMacaroonIDsResponse.prototype.setRootKeyIdsList=function(e){n.Message.setField(this,1,e||[])},proto.lnrpc.ListMacaroonIDsResponse.prototype.addRootKeyIds=function(e,t){n.Message.addToRepeatedField(this,1,e,t)},proto.lnrpc.ListMacaroonIDsResponse.prototype.clearRootKeyIdsList=function(){this.setRootKeyIdsList([])},proto.lnrpc.DeleteMacaroonIDRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.DeleteMacaroonIDRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.DeleteMacaroonIDRequest.displayName="proto.lnrpc.DeleteMacaroonIDRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.DeleteMacaroonIDRequest.prototype.toObject=function(e){return proto.lnrpc.DeleteMacaroonIDRequest.toObject(e,this)},proto.lnrpc.DeleteMacaroonIDRequest.toObject=function(e,t){var r={rootKeyId:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.DeleteMacaroonIDRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.DeleteMacaroonIDRequest;return proto.lnrpc.DeleteMacaroonIDRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.DeleteMacaroonIDRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readUint64();e.setRootKeyId(r)}else t.skipField()}return e},proto.lnrpc.DeleteMacaroonIDRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.DeleteMacaroonIDRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.DeleteMacaroonIDRequest.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getRootKeyId())&&t.writeUint64(1,r)},proto.lnrpc.DeleteMacaroonIDRequest.prototype.getRootKeyId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.DeleteMacaroonIDRequest.prototype.setRootKeyId=function(e){n.Message.setField(this,1,e)},proto.lnrpc.DeleteMacaroonIDResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.DeleteMacaroonIDResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.DeleteMacaroonIDResponse.displayName="proto.lnrpc.DeleteMacaroonIDResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.DeleteMacaroonIDResponse.prototype.toObject=function(e){return proto.lnrpc.DeleteMacaroonIDResponse.toObject(e,this)},proto.lnrpc.DeleteMacaroonIDResponse.toObject=function(e,t){var r={deleted:n.Message.getFieldWithDefault(t,1,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.DeleteMacaroonIDResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.DeleteMacaroonIDResponse;return proto.lnrpc.DeleteMacaroonIDResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.DeleteMacaroonIDResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readBool();e.setDeleted(r)}else t.skipField()}return e},proto.lnrpc.DeleteMacaroonIDResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.DeleteMacaroonIDResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.DeleteMacaroonIDResponse.serializeBinaryToWriter=function(e,t){var r;(r=e.getDeleted())&&t.writeBool(1,r)},proto.lnrpc.DeleteMacaroonIDResponse.prototype.getDeleted=function(){return n.Message.getFieldWithDefault(this,1,!1)},proto.lnrpc.DeleteMacaroonIDResponse.prototype.setDeleted=function(e){n.Message.setField(this,1,e)},proto.lnrpc.MacaroonPermissionList=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.MacaroonPermissionList.repeatedFields_,null)},o.inherits(proto.lnrpc.MacaroonPermissionList,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.MacaroonPermissionList.displayName="proto.lnrpc.MacaroonPermissionList"),proto.lnrpc.MacaroonPermissionList.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.MacaroonPermissionList.prototype.toObject=function(e){return proto.lnrpc.MacaroonPermissionList.toObject(e,this)},proto.lnrpc.MacaroonPermissionList.toObject=function(e,t){var r={permissionsList:n.Message.toObjectList(t.getPermissionsList(),proto.lnrpc.MacaroonPermission.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.MacaroonPermissionList.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.MacaroonPermissionList;return proto.lnrpc.MacaroonPermissionList.deserializeBinaryFromReader(r,t)},proto.lnrpc.MacaroonPermissionList.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.lnrpc.MacaroonPermission;t.readMessage(r,proto.lnrpc.MacaroonPermission.deserializeBinaryFromReader),e.addPermissions(r)}else t.skipField()}return e},proto.lnrpc.MacaroonPermissionList.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.MacaroonPermissionList.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.MacaroonPermissionList.serializeBinaryToWriter=function(e,t){var r;(r=e.getPermissionsList()).length>0&&t.writeRepeatedMessage(1,r,proto.lnrpc.MacaroonPermission.serializeBinaryToWriter)},proto.lnrpc.MacaroonPermissionList.prototype.getPermissionsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.MacaroonPermission,1)},proto.lnrpc.MacaroonPermissionList.prototype.setPermissionsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.lnrpc.MacaroonPermissionList.prototype.addPermissions=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.lnrpc.MacaroonPermission,t)},proto.lnrpc.MacaroonPermissionList.prototype.clearPermissionsList=function(){this.setPermissionsList([])},proto.lnrpc.ListPermissionsRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ListPermissionsRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ListPermissionsRequest.displayName="proto.lnrpc.ListPermissionsRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ListPermissionsRequest.prototype.toObject=function(e){return proto.lnrpc.ListPermissionsRequest.toObject(e,this)},proto.lnrpc.ListPermissionsRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ListPermissionsRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ListPermissionsRequest;return proto.lnrpc.ListPermissionsRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.ListPermissionsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.lnrpc.ListPermissionsRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ListPermissionsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ListPermissionsRequest.serializeBinaryToWriter=function(e,t){},proto.lnrpc.ListPermissionsResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ListPermissionsResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ListPermissionsResponse.displayName="proto.lnrpc.ListPermissionsResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ListPermissionsResponse.prototype.toObject=function(e){return proto.lnrpc.ListPermissionsResponse.toObject(e,this)},proto.lnrpc.ListPermissionsResponse.toObject=function(e,t){var r,n={methodPermissionsMap:(r=t.getMethodPermissionsMap())?r.toObject(e,proto.lnrpc.MacaroonPermissionList.toObject):[]};return e&&(n.$jspbMessageInstance=t),n}),proto.lnrpc.ListPermissionsResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ListPermissionsResponse;return proto.lnrpc.ListPermissionsResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.ListPermissionsResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=e.getMethodPermissionsMap();t.readMessage(r,(function(e,t){n.Map.deserializeBinary(e,t,n.BinaryReader.prototype.readString,n.BinaryReader.prototype.readMessage,proto.lnrpc.MacaroonPermissionList.deserializeBinaryFromReader)}))}else t.skipField()}return e},proto.lnrpc.ListPermissionsResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ListPermissionsResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ListPermissionsResponse.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getMethodPermissionsMap(!0))&&r.getLength()>0&&r.serializeBinary(1,t,n.BinaryWriter.prototype.writeString,n.BinaryWriter.prototype.writeMessage,proto.lnrpc.MacaroonPermissionList.serializeBinaryToWriter)},proto.lnrpc.ListPermissionsResponse.prototype.getMethodPermissionsMap=function(e){return n.Message.getMapField(this,1,e,proto.lnrpc.MacaroonPermissionList)},proto.lnrpc.ListPermissionsResponse.prototype.clearMethodPermissionsMap=function(){this.getMethodPermissionsMap().clear()},proto.lnrpc.Failure=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.Failure,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.Failure.displayName="proto.lnrpc.Failure"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.Failure.prototype.toObject=function(e){return proto.lnrpc.Failure.toObject(e,this)},proto.lnrpc.Failure.toObject=function(e,t){var r,o={code:n.Message.getFieldWithDefault(t,1,0),channelUpdate:(r=t.getChannelUpdate())&&proto.lnrpc.ChannelUpdate.toObject(e,r),htlcMsat:n.Message.getFieldWithDefault(t,4,0),onionSha256:t.getOnionSha256_asB64(),cltvExpiry:n.Message.getFieldWithDefault(t,6,0),flags:n.Message.getFieldWithDefault(t,7,0),failureSourceIndex:n.Message.getFieldWithDefault(t,8,0),height:n.Message.getFieldWithDefault(t,9,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.Failure.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.Failure;return proto.lnrpc.Failure.deserializeBinaryFromReader(r,t)},proto.lnrpc.Failure.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readEnum();e.setCode(r);break;case 3:r=new proto.lnrpc.ChannelUpdate;t.readMessage(r,proto.lnrpc.ChannelUpdate.deserializeBinaryFromReader),e.setChannelUpdate(r);break;case 4:r=t.readUint64();e.setHtlcMsat(r);break;case 5:r=t.readBytes();e.setOnionSha256(r);break;case 6:r=t.readUint32();e.setCltvExpiry(r);break;case 7:r=t.readUint32();e.setFlags(r);break;case 8:r=t.readUint32();e.setFailureSourceIndex(r);break;case 9:r=t.readUint32();e.setHeight(r);break;default:t.skipField()}}return e},proto.lnrpc.Failure.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.Failure.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.Failure.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getCode())&&t.writeEnum(1,r),null!=(r=e.getChannelUpdate())&&t.writeMessage(3,r,proto.lnrpc.ChannelUpdate.serializeBinaryToWriter),0!==(r=e.getHtlcMsat())&&t.writeUint64(4,r),(r=e.getOnionSha256_asU8()).length>0&&t.writeBytes(5,r),0!==(r=e.getCltvExpiry())&&t.writeUint32(6,r),0!==(r=e.getFlags())&&t.writeUint32(7,r),0!==(r=e.getFailureSourceIndex())&&t.writeUint32(8,r),0!==(r=e.getHeight())&&t.writeUint32(9,r)},proto.lnrpc.Failure.FailureCode={RESERVED:0,INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS:1,INCORRECT_PAYMENT_AMOUNT:2,FINAL_INCORRECT_CLTV_EXPIRY:3,FINAL_INCORRECT_HTLC_AMOUNT:4,FINAL_EXPIRY_TOO_SOON:5,INVALID_REALM:6,EXPIRY_TOO_SOON:7,INVALID_ONION_VERSION:8,INVALID_ONION_HMAC:9,INVALID_ONION_KEY:10,AMOUNT_BELOW_MINIMUM:11,FEE_INSUFFICIENT:12,INCORRECT_CLTV_EXPIRY:13,CHANNEL_DISABLED:14,TEMPORARY_CHANNEL_FAILURE:15,REQUIRED_NODE_FEATURE_MISSING:16,REQUIRED_CHANNEL_FEATURE_MISSING:17,UNKNOWN_NEXT_PEER:18,TEMPORARY_NODE_FAILURE:19,PERMANENT_NODE_FAILURE:20,PERMANENT_CHANNEL_FAILURE:21,EXPIRY_TOO_FAR:22,MPP_TIMEOUT:23,INVALID_ONION_PAYLOAD:24,INTERNAL_FAILURE:997,UNKNOWN_FAILURE:998,UNREADABLE_FAILURE:999},proto.lnrpc.Failure.prototype.getCode=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.Failure.prototype.setCode=function(e){n.Message.setField(this,1,e)},proto.lnrpc.Failure.prototype.getChannelUpdate=function(){return n.Message.getWrapperField(this,proto.lnrpc.ChannelUpdate,3)},proto.lnrpc.Failure.prototype.setChannelUpdate=function(e){n.Message.setWrapperField(this,3,e)},proto.lnrpc.Failure.prototype.clearChannelUpdate=function(){this.setChannelUpdate(void 0)},proto.lnrpc.Failure.prototype.hasChannelUpdate=function(){return null!=n.Message.getField(this,3)},proto.lnrpc.Failure.prototype.getHtlcMsat=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.Failure.prototype.setHtlcMsat=function(e){n.Message.setField(this,4,e)},proto.lnrpc.Failure.prototype.getOnionSha256=function(){return n.Message.getFieldWithDefault(this,5,"")},proto.lnrpc.Failure.prototype.getOnionSha256_asB64=function(){return n.Message.bytesAsB64(this.getOnionSha256())},proto.lnrpc.Failure.prototype.getOnionSha256_asU8=function(){return n.Message.bytesAsU8(this.getOnionSha256())},proto.lnrpc.Failure.prototype.setOnionSha256=function(e){n.Message.setField(this,5,e)},proto.lnrpc.Failure.prototype.getCltvExpiry=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.Failure.prototype.setCltvExpiry=function(e){n.Message.setField(this,6,e)},proto.lnrpc.Failure.prototype.getFlags=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.Failure.prototype.setFlags=function(e){n.Message.setField(this,7,e)},proto.lnrpc.Failure.prototype.getFailureSourceIndex=function(){return n.Message.getFieldWithDefault(this,8,0)},proto.lnrpc.Failure.prototype.setFailureSourceIndex=function(e){n.Message.setField(this,8,e)},proto.lnrpc.Failure.prototype.getHeight=function(){return n.Message.getFieldWithDefault(this,9,0)},proto.lnrpc.Failure.prototype.setHeight=function(e){n.Message.setField(this,9,e)},proto.lnrpc.ChannelUpdate=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.ChannelUpdate,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.ChannelUpdate.displayName="proto.lnrpc.ChannelUpdate"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.ChannelUpdate.prototype.toObject=function(e){return proto.lnrpc.ChannelUpdate.toObject(e,this)},proto.lnrpc.ChannelUpdate.toObject=function(e,t){var r={signature:t.getSignature_asB64(),chainHash:t.getChainHash_asB64(),chanId:n.Message.getFieldWithDefault(t,3,"0"),timestamp:n.Message.getFieldWithDefault(t,4,0),messageFlags:n.Message.getFieldWithDefault(t,10,0),channelFlags:n.Message.getFieldWithDefault(t,5,0),timeLockDelta:n.Message.getFieldWithDefault(t,6,0),htlcMinimumMsat:n.Message.getFieldWithDefault(t,7,0),baseFee:n.Message.getFieldWithDefault(t,8,0),feeRate:n.Message.getFieldWithDefault(t,9,0),htlcMaximumMsat:n.Message.getFieldWithDefault(t,11,0),extraOpaqueData:t.getExtraOpaqueData_asB64()};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.ChannelUpdate.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.ChannelUpdate;return proto.lnrpc.ChannelUpdate.deserializeBinaryFromReader(r,t)},proto.lnrpc.ChannelUpdate.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setSignature(r);break;case 2:r=t.readBytes();e.setChainHash(r);break;case 3:r=t.readUint64String();e.setChanId(r);break;case 4:r=t.readUint32();e.setTimestamp(r);break;case 10:r=t.readUint32();e.setMessageFlags(r);break;case 5:r=t.readUint32();e.setChannelFlags(r);break;case 6:r=t.readUint32();e.setTimeLockDelta(r);break;case 7:r=t.readUint64();e.setHtlcMinimumMsat(r);break;case 8:r=t.readUint32();e.setBaseFee(r);break;case 9:r=t.readUint32();e.setFeeRate(r);break;case 11:r=t.readUint64();e.setHtlcMaximumMsat(r);break;case 12:r=t.readBytes();e.setExtraOpaqueData(r);break;default:t.skipField()}}return e},proto.lnrpc.ChannelUpdate.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.ChannelUpdate.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.ChannelUpdate.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getSignature_asU8()).length>0&&t.writeBytes(1,r),(r=e.getChainHash_asU8()).length>0&&t.writeBytes(2,r),r=e.getChanId(),0!==parseInt(r,10)&&t.writeUint64String(3,r),0!==(r=e.getTimestamp())&&t.writeUint32(4,r),0!==(r=e.getMessageFlags())&&t.writeUint32(10,r),0!==(r=e.getChannelFlags())&&t.writeUint32(5,r),0!==(r=e.getTimeLockDelta())&&t.writeUint32(6,r),0!==(r=e.getHtlcMinimumMsat())&&t.writeUint64(7,r),0!==(r=e.getBaseFee())&&t.writeUint32(8,r),0!==(r=e.getFeeRate())&&t.writeUint32(9,r),0!==(r=e.getHtlcMaximumMsat())&&t.writeUint64(11,r),(r=e.getExtraOpaqueData_asU8()).length>0&&t.writeBytes(12,r)},proto.lnrpc.ChannelUpdate.prototype.getSignature=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.ChannelUpdate.prototype.getSignature_asB64=function(){return n.Message.bytesAsB64(this.getSignature())},proto.lnrpc.ChannelUpdate.prototype.getSignature_asU8=function(){return n.Message.bytesAsU8(this.getSignature())},proto.lnrpc.ChannelUpdate.prototype.setSignature=function(e){n.Message.setField(this,1,e)},proto.lnrpc.ChannelUpdate.prototype.getChainHash=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.ChannelUpdate.prototype.getChainHash_asB64=function(){return n.Message.bytesAsB64(this.getChainHash())},proto.lnrpc.ChannelUpdate.prototype.getChainHash_asU8=function(){return n.Message.bytesAsU8(this.getChainHash())},proto.lnrpc.ChannelUpdate.prototype.setChainHash=function(e){n.Message.setField(this,2,e)},proto.lnrpc.ChannelUpdate.prototype.getChanId=function(){return n.Message.getFieldWithDefault(this,3,"0")},proto.lnrpc.ChannelUpdate.prototype.setChanId=function(e){n.Message.setField(this,3,e)},proto.lnrpc.ChannelUpdate.prototype.getTimestamp=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.lnrpc.ChannelUpdate.prototype.setTimestamp=function(e){n.Message.setField(this,4,e)},proto.lnrpc.ChannelUpdate.prototype.getMessageFlags=function(){return n.Message.getFieldWithDefault(this,10,0)},proto.lnrpc.ChannelUpdate.prototype.setMessageFlags=function(e){n.Message.setField(this,10,e)},proto.lnrpc.ChannelUpdate.prototype.getChannelFlags=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.lnrpc.ChannelUpdate.prototype.setChannelFlags=function(e){n.Message.setField(this,5,e)},proto.lnrpc.ChannelUpdate.prototype.getTimeLockDelta=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.lnrpc.ChannelUpdate.prototype.setTimeLockDelta=function(e){n.Message.setField(this,6,e)},proto.lnrpc.ChannelUpdate.prototype.getHtlcMinimumMsat=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.lnrpc.ChannelUpdate.prototype.setHtlcMinimumMsat=function(e){n.Message.setField(this,7,e)},proto.lnrpc.ChannelUpdate.prototype.getBaseFee=function(){return n.Message.getFieldWithDefault(this,8,0)},proto.lnrpc.ChannelUpdate.prototype.setBaseFee=function(e){n.Message.setField(this,8,e)},proto.lnrpc.ChannelUpdate.prototype.getFeeRate=function(){return n.Message.getFieldWithDefault(this,9,0)},proto.lnrpc.ChannelUpdate.prototype.setFeeRate=function(e){n.Message.setField(this,9,e)},proto.lnrpc.ChannelUpdate.prototype.getHtlcMaximumMsat=function(){return n.Message.getFieldWithDefault(this,11,0)},proto.lnrpc.ChannelUpdate.prototype.setHtlcMaximumMsat=function(e){n.Message.setField(this,11,e)},proto.lnrpc.ChannelUpdate.prototype.getExtraOpaqueData=function(){return n.Message.getFieldWithDefault(this,12,"")},proto.lnrpc.ChannelUpdate.prototype.getExtraOpaqueData_asB64=function(){return n.Message.bytesAsB64(this.getExtraOpaqueData())},proto.lnrpc.ChannelUpdate.prototype.getExtraOpaqueData_asU8=function(){return n.Message.bytesAsU8(this.getExtraOpaqueData())},proto.lnrpc.ChannelUpdate.prototype.setExtraOpaqueData=function(e){n.Message.setField(this,12,e)},proto.lnrpc.MacaroonId=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.MacaroonId.repeatedFields_,null)},o.inherits(proto.lnrpc.MacaroonId,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.MacaroonId.displayName="proto.lnrpc.MacaroonId"),proto.lnrpc.MacaroonId.repeatedFields_=[3],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.MacaroonId.prototype.toObject=function(e){return proto.lnrpc.MacaroonId.toObject(e,this)},proto.lnrpc.MacaroonId.toObject=function(e,t){var r={nonce:t.getNonce_asB64(),storageid:t.getStorageid_asB64(),opsList:n.Message.toObjectList(t.getOpsList(),proto.lnrpc.Op.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.MacaroonId.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.MacaroonId;return proto.lnrpc.MacaroonId.deserializeBinaryFromReader(r,t)},proto.lnrpc.MacaroonId.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setNonce(r);break;case 2:r=t.readBytes();e.setStorageid(r);break;case 3:r=new proto.lnrpc.Op;t.readMessage(r,proto.lnrpc.Op.deserializeBinaryFromReader),e.addOps(r);break;default:t.skipField()}}return e},proto.lnrpc.MacaroonId.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.MacaroonId.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.MacaroonId.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getNonce_asU8()).length>0&&t.writeBytes(1,r),(r=e.getStorageid_asU8()).length>0&&t.writeBytes(2,r),(r=e.getOpsList()).length>0&&t.writeRepeatedMessage(3,r,proto.lnrpc.Op.serializeBinaryToWriter)},proto.lnrpc.MacaroonId.prototype.getNonce=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.MacaroonId.prototype.getNonce_asB64=function(){return n.Message.bytesAsB64(this.getNonce())},proto.lnrpc.MacaroonId.prototype.getNonce_asU8=function(){return n.Message.bytesAsU8(this.getNonce())},proto.lnrpc.MacaroonId.prototype.setNonce=function(e){n.Message.setField(this,1,e)},proto.lnrpc.MacaroonId.prototype.getStorageid=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.MacaroonId.prototype.getStorageid_asB64=function(){return n.Message.bytesAsB64(this.getStorageid())},proto.lnrpc.MacaroonId.prototype.getStorageid_asU8=function(){return n.Message.bytesAsU8(this.getStorageid())},proto.lnrpc.MacaroonId.prototype.setStorageid=function(e){n.Message.setField(this,2,e)},proto.lnrpc.MacaroonId.prototype.getOpsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.Op,3)},proto.lnrpc.MacaroonId.prototype.setOpsList=function(e){n.Message.setRepeatedWrapperField(this,3,e)},proto.lnrpc.MacaroonId.prototype.addOps=function(e,t){return n.Message.addToRepeatedWrapperField(this,3,e,proto.lnrpc.Op,t)},proto.lnrpc.MacaroonId.prototype.clearOpsList=function(){this.setOpsList([])},proto.lnrpc.Op=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.Op.repeatedFields_,null)},o.inherits(proto.lnrpc.Op,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.Op.displayName="proto.lnrpc.Op"),proto.lnrpc.Op.repeatedFields_=[2],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.Op.prototype.toObject=function(e){return proto.lnrpc.Op.toObject(e,this)},proto.lnrpc.Op.toObject=function(e,t){var r={entity:n.Message.getFieldWithDefault(t,1,""),actionsList:n.Message.getRepeatedField(t,2)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.Op.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.Op;return proto.lnrpc.Op.deserializeBinaryFromReader(r,t)},proto.lnrpc.Op.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setEntity(r);break;case 2:r=t.readString();e.addActions(r);break;default:t.skipField()}}return e},proto.lnrpc.Op.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.Op.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.Op.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getEntity()).length>0&&t.writeString(1,r),(r=e.getActionsList()).length>0&&t.writeRepeatedString(2,r)},proto.lnrpc.Op.prototype.getEntity=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.Op.prototype.setEntity=function(e){n.Message.setField(this,1,e)},proto.lnrpc.Op.prototype.getActionsList=function(){return n.Message.getRepeatedField(this,2)},proto.lnrpc.Op.prototype.setActionsList=function(e){n.Message.setField(this,2,e||[])},proto.lnrpc.Op.prototype.addActions=function(e,t){n.Message.addToRepeatedField(this,2,e,t)},proto.lnrpc.Op.prototype.clearActionsList=function(){this.setActionsList([])},proto.lnrpc.CheckMacPermRequest=function(e){n.Message.initialize(this,e,0,-1,proto.lnrpc.CheckMacPermRequest.repeatedFields_,null)},o.inherits(proto.lnrpc.CheckMacPermRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.CheckMacPermRequest.displayName="proto.lnrpc.CheckMacPermRequest"),proto.lnrpc.CheckMacPermRequest.repeatedFields_=[2],n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.CheckMacPermRequest.prototype.toObject=function(e){return proto.lnrpc.CheckMacPermRequest.toObject(e,this)},proto.lnrpc.CheckMacPermRequest.toObject=function(e,t){var r={macaroon:t.getMacaroon_asB64(),permissionsList:n.Message.toObjectList(t.getPermissionsList(),proto.lnrpc.MacaroonPermission.toObject,e),fullmethod:n.Message.getFieldWithDefault(t,3,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.CheckMacPermRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.CheckMacPermRequest;return proto.lnrpc.CheckMacPermRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.CheckMacPermRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readBytes();e.setMacaroon(r);break;case 2:r=new proto.lnrpc.MacaroonPermission;t.readMessage(r,proto.lnrpc.MacaroonPermission.deserializeBinaryFromReader),e.addPermissions(r);break;case 3:r=t.readString();e.setFullmethod(r);break;default:t.skipField()}}return e},proto.lnrpc.CheckMacPermRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.CheckMacPermRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.CheckMacPermRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getMacaroon_asU8()).length>0&&t.writeBytes(1,r),(r=e.getPermissionsList()).length>0&&t.writeRepeatedMessage(2,r,proto.lnrpc.MacaroonPermission.serializeBinaryToWriter),(r=e.getFullmethod()).length>0&&t.writeString(3,r)},proto.lnrpc.CheckMacPermRequest.prototype.getMacaroon=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.CheckMacPermRequest.prototype.getMacaroon_asB64=function(){return n.Message.bytesAsB64(this.getMacaroon())},proto.lnrpc.CheckMacPermRequest.prototype.getMacaroon_asU8=function(){return n.Message.bytesAsU8(this.getMacaroon())},proto.lnrpc.CheckMacPermRequest.prototype.setMacaroon=function(e){n.Message.setField(this,1,e)},proto.lnrpc.CheckMacPermRequest.prototype.getPermissionsList=function(){return n.Message.getRepeatedWrapperField(this,proto.lnrpc.MacaroonPermission,2)},proto.lnrpc.CheckMacPermRequest.prototype.setPermissionsList=function(e){n.Message.setRepeatedWrapperField(this,2,e)},proto.lnrpc.CheckMacPermRequest.prototype.addPermissions=function(e,t){return n.Message.addToRepeatedWrapperField(this,2,e,proto.lnrpc.MacaroonPermission,t)},proto.lnrpc.CheckMacPermRequest.prototype.clearPermissionsList=function(){this.setPermissionsList([])},proto.lnrpc.CheckMacPermRequest.prototype.getFullmethod=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.CheckMacPermRequest.prototype.setFullmethod=function(e){n.Message.setField(this,3,e)},proto.lnrpc.CheckMacPermResponse=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.CheckMacPermResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.CheckMacPermResponse.displayName="proto.lnrpc.CheckMacPermResponse"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.CheckMacPermResponse.prototype.toObject=function(e){return proto.lnrpc.CheckMacPermResponse.toObject(e,this)},proto.lnrpc.CheckMacPermResponse.toObject=function(e,t){var r={valid:n.Message.getFieldWithDefault(t,1,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.CheckMacPermResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.CheckMacPermResponse;return proto.lnrpc.CheckMacPermResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.CheckMacPermResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readBool();e.setValid(r)}else t.skipField()}return e},proto.lnrpc.CheckMacPermResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.CheckMacPermResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.CheckMacPermResponse.serializeBinaryToWriter=function(e,t){var r;(r=e.getValid())&&t.writeBool(1,r)},proto.lnrpc.CheckMacPermResponse.prototype.getValid=function(){return n.Message.getFieldWithDefault(this,1,!1)},proto.lnrpc.CheckMacPermResponse.prototype.setValid=function(e){n.Message.setField(this,1,e)},proto.lnrpc.RPCMiddlewareRequest=function(e){n.Message.initialize(this,e,0,-1,null,proto.lnrpc.RPCMiddlewareRequest.oneofGroups_)},o.inherits(proto.lnrpc.RPCMiddlewareRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.RPCMiddlewareRequest.displayName="proto.lnrpc.RPCMiddlewareRequest"),proto.lnrpc.RPCMiddlewareRequest.oneofGroups_=[[4,5,6]],proto.lnrpc.RPCMiddlewareRequest.InterceptTypeCase={INTERCEPT_TYPE_NOT_SET:0,STREAM_AUTH:4,REQUEST:5,RESPONSE:6},proto.lnrpc.RPCMiddlewareRequest.prototype.getInterceptTypeCase=function(){return n.Message.computeOneofCase(this,proto.lnrpc.RPCMiddlewareRequest.oneofGroups_[0])},n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.RPCMiddlewareRequest.prototype.toObject=function(e){return proto.lnrpc.RPCMiddlewareRequest.toObject(e,this)},proto.lnrpc.RPCMiddlewareRequest.toObject=function(e,t){var r,o={requestId:n.Message.getFieldWithDefault(t,1,0),rawMacaroon:t.getRawMacaroon_asB64(),customCaveatCondition:n.Message.getFieldWithDefault(t,3,""),streamAuth:(r=t.getStreamAuth())&&proto.lnrpc.StreamAuth.toObject(e,r),request:(r=t.getRequest())&&proto.lnrpc.RPCMessage.toObject(e,r),response:(r=t.getResponse())&&proto.lnrpc.RPCMessage.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.RPCMiddlewareRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.RPCMiddlewareRequest;return proto.lnrpc.RPCMiddlewareRequest.deserializeBinaryFromReader(r,t)},proto.lnrpc.RPCMiddlewareRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint64();e.setRequestId(r);break;case 2:r=t.readBytes();e.setRawMacaroon(r);break;case 3:r=t.readString();e.setCustomCaveatCondition(r);break;case 4:r=new proto.lnrpc.StreamAuth;t.readMessage(r,proto.lnrpc.StreamAuth.deserializeBinaryFromReader),e.setStreamAuth(r);break;case 5:r=new proto.lnrpc.RPCMessage;t.readMessage(r,proto.lnrpc.RPCMessage.deserializeBinaryFromReader),e.setRequest(r);break;case 6:r=new proto.lnrpc.RPCMessage;t.readMessage(r,proto.lnrpc.RPCMessage.deserializeBinaryFromReader),e.setResponse(r);break;default:t.skipField()}}return e},proto.lnrpc.RPCMiddlewareRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.RPCMiddlewareRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.RPCMiddlewareRequest.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getRequestId())&&t.writeUint64(1,r),(r=e.getRawMacaroon_asU8()).length>0&&t.writeBytes(2,r),(r=e.getCustomCaveatCondition()).length>0&&t.writeString(3,r),null!=(r=e.getStreamAuth())&&t.writeMessage(4,r,proto.lnrpc.StreamAuth.serializeBinaryToWriter),null!=(r=e.getRequest())&&t.writeMessage(5,r,proto.lnrpc.RPCMessage.serializeBinaryToWriter),null!=(r=e.getResponse())&&t.writeMessage(6,r,proto.lnrpc.RPCMessage.serializeBinaryToWriter)},proto.lnrpc.RPCMiddlewareRequest.prototype.getRequestId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.RPCMiddlewareRequest.prototype.setRequestId=function(e){n.Message.setField(this,1,e)},proto.lnrpc.RPCMiddlewareRequest.prototype.getRawMacaroon=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.RPCMiddlewareRequest.prototype.getRawMacaroon_asB64=function(){return n.Message.bytesAsB64(this.getRawMacaroon())},proto.lnrpc.RPCMiddlewareRequest.prototype.getRawMacaroon_asU8=function(){return n.Message.bytesAsU8(this.getRawMacaroon())},proto.lnrpc.RPCMiddlewareRequest.prototype.setRawMacaroon=function(e){n.Message.setField(this,2,e)},proto.lnrpc.RPCMiddlewareRequest.prototype.getCustomCaveatCondition=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.RPCMiddlewareRequest.prototype.setCustomCaveatCondition=function(e){n.Message.setField(this,3,e)},proto.lnrpc.RPCMiddlewareRequest.prototype.getStreamAuth=function(){return n.Message.getWrapperField(this,proto.lnrpc.StreamAuth,4)},proto.lnrpc.RPCMiddlewareRequest.prototype.setStreamAuth=function(e){n.Message.setOneofWrapperField(this,4,proto.lnrpc.RPCMiddlewareRequest.oneofGroups_[0],e)},proto.lnrpc.RPCMiddlewareRequest.prototype.clearStreamAuth=function(){this.setStreamAuth(void 0)},proto.lnrpc.RPCMiddlewareRequest.prototype.hasStreamAuth=function(){return null!=n.Message.getField(this,4)},proto.lnrpc.RPCMiddlewareRequest.prototype.getRequest=function(){return n.Message.getWrapperField(this,proto.lnrpc.RPCMessage,5)},proto.lnrpc.RPCMiddlewareRequest.prototype.setRequest=function(e){n.Message.setOneofWrapperField(this,5,proto.lnrpc.RPCMiddlewareRequest.oneofGroups_[0],e)},proto.lnrpc.RPCMiddlewareRequest.prototype.clearRequest=function(){this.setRequest(void 0)},proto.lnrpc.RPCMiddlewareRequest.prototype.hasRequest=function(){return null!=n.Message.getField(this,5)},proto.lnrpc.RPCMiddlewareRequest.prototype.getResponse=function(){return n.Message.getWrapperField(this,proto.lnrpc.RPCMessage,6)},proto.lnrpc.RPCMiddlewareRequest.prototype.setResponse=function(e){n.Message.setOneofWrapperField(this,6,proto.lnrpc.RPCMiddlewareRequest.oneofGroups_[0],e)},proto.lnrpc.RPCMiddlewareRequest.prototype.clearResponse=function(){this.setResponse(void 0)},proto.lnrpc.RPCMiddlewareRequest.prototype.hasResponse=function(){return null!=n.Message.getField(this,6)},proto.lnrpc.StreamAuth=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.StreamAuth,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.StreamAuth.displayName="proto.lnrpc.StreamAuth"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.StreamAuth.prototype.toObject=function(e){return proto.lnrpc.StreamAuth.toObject(e,this)},proto.lnrpc.StreamAuth.toObject=function(e,t){var r={methodFullUri:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.StreamAuth.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.StreamAuth;return proto.lnrpc.StreamAuth.deserializeBinaryFromReader(r,t)},proto.lnrpc.StreamAuth.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setMethodFullUri(r)}else t.skipField()}return e},proto.lnrpc.StreamAuth.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.StreamAuth.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.StreamAuth.serializeBinaryToWriter=function(e,t){var r;(r=e.getMethodFullUri()).length>0&&t.writeString(1,r)},proto.lnrpc.StreamAuth.prototype.getMethodFullUri=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.StreamAuth.prototype.setMethodFullUri=function(e){n.Message.setField(this,1,e)},proto.lnrpc.RPCMessage=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.RPCMessage,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.RPCMessage.displayName="proto.lnrpc.RPCMessage"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.RPCMessage.prototype.toObject=function(e){return proto.lnrpc.RPCMessage.toObject(e,this)},proto.lnrpc.RPCMessage.toObject=function(e,t){var r={methodFullUri:n.Message.getFieldWithDefault(t,1,""),streamRpc:n.Message.getFieldWithDefault(t,2,!1),typeName:n.Message.getFieldWithDefault(t,3,""),serialized:t.getSerialized_asB64()};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.RPCMessage.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.RPCMessage;return proto.lnrpc.RPCMessage.deserializeBinaryFromReader(r,t)},proto.lnrpc.RPCMessage.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setMethodFullUri(r);break;case 2:r=t.readBool();e.setStreamRpc(r);break;case 3:r=t.readString();e.setTypeName(r);break;case 4:r=t.readBytes();e.setSerialized(r);break;default:t.skipField()}}return e},proto.lnrpc.RPCMessage.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.RPCMessage.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.RPCMessage.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getMethodFullUri()).length>0&&t.writeString(1,r),(r=e.getStreamRpc())&&t.writeBool(2,r),(r=e.getTypeName()).length>0&&t.writeString(3,r),(r=e.getSerialized_asU8()).length>0&&t.writeBytes(4,r)},proto.lnrpc.RPCMessage.prototype.getMethodFullUri=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.RPCMessage.prototype.setMethodFullUri=function(e){n.Message.setField(this,1,e)},proto.lnrpc.RPCMessage.prototype.getStreamRpc=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.lnrpc.RPCMessage.prototype.setStreamRpc=function(e){n.Message.setField(this,2,e)},proto.lnrpc.RPCMessage.prototype.getTypeName=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.RPCMessage.prototype.setTypeName=function(e){n.Message.setField(this,3,e)},proto.lnrpc.RPCMessage.prototype.getSerialized=function(){return n.Message.getFieldWithDefault(this,4,"")},proto.lnrpc.RPCMessage.prototype.getSerialized_asB64=function(){return n.Message.bytesAsB64(this.getSerialized())},proto.lnrpc.RPCMessage.prototype.getSerialized_asU8=function(){return n.Message.bytesAsU8(this.getSerialized())},proto.lnrpc.RPCMessage.prototype.setSerialized=function(e){n.Message.setField(this,4,e)},proto.lnrpc.RPCMiddlewareResponse=function(e){n.Message.initialize(this,e,0,-1,null,proto.lnrpc.RPCMiddlewareResponse.oneofGroups_)},o.inherits(proto.lnrpc.RPCMiddlewareResponse,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.RPCMiddlewareResponse.displayName="proto.lnrpc.RPCMiddlewareResponse"),proto.lnrpc.RPCMiddlewareResponse.oneofGroups_=[[2,3]],proto.lnrpc.RPCMiddlewareResponse.MiddlewareMessageCase={MIDDLEWARE_MESSAGE_NOT_SET:0,REGISTER:2,FEEDBACK:3},proto.lnrpc.RPCMiddlewareResponse.prototype.getMiddlewareMessageCase=function(){return n.Message.computeOneofCase(this,proto.lnrpc.RPCMiddlewareResponse.oneofGroups_[0])},n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.RPCMiddlewareResponse.prototype.toObject=function(e){return proto.lnrpc.RPCMiddlewareResponse.toObject(e,this)},proto.lnrpc.RPCMiddlewareResponse.toObject=function(e,t){var r,o={requestId:n.Message.getFieldWithDefault(t,1,0),register:(r=t.getRegister())&&proto.lnrpc.MiddlewareRegistration.toObject(e,r),feedback:(r=t.getFeedback())&&proto.lnrpc.InterceptFeedback.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.lnrpc.RPCMiddlewareResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.RPCMiddlewareResponse;return proto.lnrpc.RPCMiddlewareResponse.deserializeBinaryFromReader(r,t)},proto.lnrpc.RPCMiddlewareResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readUint64();e.setRequestId(r);break;case 2:r=new proto.lnrpc.MiddlewareRegistration;t.readMessage(r,proto.lnrpc.MiddlewareRegistration.deserializeBinaryFromReader),e.setRegister(r);break;case 3:r=new proto.lnrpc.InterceptFeedback;t.readMessage(r,proto.lnrpc.InterceptFeedback.deserializeBinaryFromReader),e.setFeedback(r);break;default:t.skipField()}}return e},proto.lnrpc.RPCMiddlewareResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.RPCMiddlewareResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.RPCMiddlewareResponse.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getRequestId())&&t.writeUint64(1,r),null!=(r=e.getRegister())&&t.writeMessage(2,r,proto.lnrpc.MiddlewareRegistration.serializeBinaryToWriter),null!=(r=e.getFeedback())&&t.writeMessage(3,r,proto.lnrpc.InterceptFeedback.serializeBinaryToWriter)},proto.lnrpc.RPCMiddlewareResponse.prototype.getRequestId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.lnrpc.RPCMiddlewareResponse.prototype.setRequestId=function(e){n.Message.setField(this,1,e)},proto.lnrpc.RPCMiddlewareResponse.prototype.getRegister=function(){return n.Message.getWrapperField(this,proto.lnrpc.MiddlewareRegistration,2)},proto.lnrpc.RPCMiddlewareResponse.prototype.setRegister=function(e){n.Message.setOneofWrapperField(this,2,proto.lnrpc.RPCMiddlewareResponse.oneofGroups_[0],e)},proto.lnrpc.RPCMiddlewareResponse.prototype.clearRegister=function(){this.setRegister(void 0)},proto.lnrpc.RPCMiddlewareResponse.prototype.hasRegister=function(){return null!=n.Message.getField(this,2)},proto.lnrpc.RPCMiddlewareResponse.prototype.getFeedback=function(){return n.Message.getWrapperField(this,proto.lnrpc.InterceptFeedback,3)},proto.lnrpc.RPCMiddlewareResponse.prototype.setFeedback=function(e){n.Message.setOneofWrapperField(this,3,proto.lnrpc.RPCMiddlewareResponse.oneofGroups_[0],e)},proto.lnrpc.RPCMiddlewareResponse.prototype.clearFeedback=function(){this.setFeedback(void 0)},proto.lnrpc.RPCMiddlewareResponse.prototype.hasFeedback=function(){return null!=n.Message.getField(this,3)},proto.lnrpc.MiddlewareRegistration=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.MiddlewareRegistration,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.MiddlewareRegistration.displayName="proto.lnrpc.MiddlewareRegistration"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.MiddlewareRegistration.prototype.toObject=function(e){return proto.lnrpc.MiddlewareRegistration.toObject(e,this)},proto.lnrpc.MiddlewareRegistration.toObject=function(e,t){var r={middlewareName:n.Message.getFieldWithDefault(t,1,""),customMacaroonCaveatName:n.Message.getFieldWithDefault(t,2,""),readOnlyMode:n.Message.getFieldWithDefault(t,3,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.MiddlewareRegistration.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.MiddlewareRegistration;return proto.lnrpc.MiddlewareRegistration.deserializeBinaryFromReader(r,t)},proto.lnrpc.MiddlewareRegistration.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setMiddlewareName(r);break;case 2:r=t.readString();e.setCustomMacaroonCaveatName(r);break;case 3:r=t.readBool();e.setReadOnlyMode(r);break;default:t.skipField()}}return e},proto.lnrpc.MiddlewareRegistration.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.MiddlewareRegistration.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.MiddlewareRegistration.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getMiddlewareName()).length>0&&t.writeString(1,r),(r=e.getCustomMacaroonCaveatName()).length>0&&t.writeString(2,r),(r=e.getReadOnlyMode())&&t.writeBool(3,r)},proto.lnrpc.MiddlewareRegistration.prototype.getMiddlewareName=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.MiddlewareRegistration.prototype.setMiddlewareName=function(e){n.Message.setField(this,1,e)},proto.lnrpc.MiddlewareRegistration.prototype.getCustomMacaroonCaveatName=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.lnrpc.MiddlewareRegistration.prototype.setCustomMacaroonCaveatName=function(e){n.Message.setField(this,2,e)},proto.lnrpc.MiddlewareRegistration.prototype.getReadOnlyMode=function(){return n.Message.getFieldWithDefault(this,3,!1)},proto.lnrpc.MiddlewareRegistration.prototype.setReadOnlyMode=function(e){n.Message.setField(this,3,e)},proto.lnrpc.InterceptFeedback=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.lnrpc.InterceptFeedback,n.Message),o.DEBUG&&!COMPILED&&(proto.lnrpc.InterceptFeedback.displayName="proto.lnrpc.InterceptFeedback"),n.Message.GENERATE_TO_OBJECT&&(proto.lnrpc.InterceptFeedback.prototype.toObject=function(e){return proto.lnrpc.InterceptFeedback.toObject(e,this)},proto.lnrpc.InterceptFeedback.toObject=function(e,t){var r={error:n.Message.getFieldWithDefault(t,1,""),replaceResponse:n.Message.getFieldWithDefault(t,2,!1),replacementSerialized:t.getReplacementSerialized_asB64()};return e&&(r.$jspbMessageInstance=t),r}),proto.lnrpc.InterceptFeedback.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.lnrpc.InterceptFeedback;return proto.lnrpc.InterceptFeedback.deserializeBinaryFromReader(r,t)},proto.lnrpc.InterceptFeedback.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setError(r);break;case 2:r=t.readBool();e.setReplaceResponse(r);break;case 3:r=t.readBytes();e.setReplacementSerialized(r);break;default:t.skipField()}}return e},proto.lnrpc.InterceptFeedback.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.lnrpc.InterceptFeedback.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lnrpc.InterceptFeedback.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getError()).length>0&&t.writeString(1,r),(r=e.getReplaceResponse())&&t.writeBool(2,r),(r=e.getReplacementSerialized_asU8()).length>0&&t.writeBytes(3,r)},proto.lnrpc.InterceptFeedback.prototype.getError=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.lnrpc.InterceptFeedback.prototype.setError=function(e){n.Message.setField(this,1,e)},proto.lnrpc.InterceptFeedback.prototype.getReplaceResponse=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.lnrpc.InterceptFeedback.prototype.setReplaceResponse=function(e){n.Message.setField(this,2,e)},proto.lnrpc.InterceptFeedback.prototype.getReplacementSerialized=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.lnrpc.InterceptFeedback.prototype.getReplacementSerialized_asB64=function(){return n.Message.bytesAsB64(this.getReplacementSerialized())},proto.lnrpc.InterceptFeedback.prototype.getReplacementSerialized_asU8=function(){return n.Message.bytesAsU8(this.getReplacementSerialized())},proto.lnrpc.InterceptFeedback.prototype.setReplacementSerialized=function(e){n.Message.setField(this,3,e)},proto.lnrpc.AddressType={WITNESS_PUBKEY_HASH:0,NESTED_PUBKEY_HASH:1,UNUSED_WITNESS_PUBKEY_HASH:2,UNUSED_NESTED_PUBKEY_HASH:3},proto.lnrpc.CommitmentType={UNKNOWN_COMMITMENT_TYPE:0,LEGACY:1,STATIC_REMOTE_KEY:2,ANCHORS:3},proto.lnrpc.Initiator={INITIATOR_UNKNOWN:0,INITIATOR_LOCAL:1,INITIATOR_REMOTE:2,INITIATOR_BOTH:3},proto.lnrpc.ResolutionType={TYPE_UNKNOWN:0,ANCHOR:1,INCOMING_HTLC:2,OUTGOING_HTLC:3,COMMIT:4},proto.lnrpc.ResolutionOutcome={OUTCOME_UNKNOWN:0,CLAIMED:1,UNCLAIMED:2,ABANDONED:3,FIRST_STAGE:4,TIMEOUT:5},proto.lnrpc.NodeMetricType={UNKNOWN:0,BETWEENNESS_CENTRALITY:1},proto.lnrpc.InvoiceHTLCState={ACCEPTED:0,SETTLED:1,CANCELED:2},proto.lnrpc.PaymentFailureReason={FAILURE_REASON_NONE:0,FAILURE_REASON_TIMEOUT:1,FAILURE_REASON_NO_ROUTE:2,FAILURE_REASON_ERROR:3,FAILURE_REASON_INCORRECT_PAYMENT_DETAILS:4,FAILURE_REASON_INSUFFICIENT_BALANCE:5},proto.lnrpc.FeatureBit={DATALOSS_PROTECT_REQ:0,DATALOSS_PROTECT_OPT:1,INITIAL_ROUING_SYNC:3,UPFRONT_SHUTDOWN_SCRIPT_REQ:4,UPFRONT_SHUTDOWN_SCRIPT_OPT:5,GOSSIP_QUERIES_REQ:6,GOSSIP_QUERIES_OPT:7,TLV_ONION_REQ:8,TLV_ONION_OPT:9,EXT_GOSSIP_QUERIES_REQ:10,EXT_GOSSIP_QUERIES_OPT:11,STATIC_REMOTE_KEY_REQ:12,STATIC_REMOTE_KEY_OPT:13,PAYMENT_ADDR_REQ:14,PAYMENT_ADDR_OPT:15,MPP_REQ:16,MPP_OPT:17,WUMBO_CHANNELS_REQ:18,WUMBO_CHANNELS_OPT:19,ANCHORS_REQ:20,ANCHORS_OPT:21,ANCHORS_ZERO_FEE_HTLC_REQ:22,ANCHORS_ZERO_FEE_HTLC_OPT:23,AMP_REQ:30,AMP_OPT:31},proto.lnrpc.UpdateFailure={UPDATE_FAILURE_UNKNOWN:0,UPDATE_FAILURE_PENDING:1,UPDATE_FAILURE_NOT_FOUND:2,UPDATE_FAILURE_INTERNAL_ERR:3,UPDATE_FAILURE_INVALID_PARAMETER:4},o.object.extend(t,proto.lnrpc)},6509:function(e,t,r){var n=r(9393),o=n,a=Function("return this")();r(4185);o.exportSymbol("proto.squeaknode.AddTwitterAccountReply",null,a),o.exportSymbol("proto.squeaknode.AddTwitterAccountRequest",null,a),o.exportSymbol("proto.squeaknode.ClearSellPriceReply",null,a),o.exportSymbol("proto.squeaknode.ClearSellPriceRequest",null,a),o.exportSymbol("proto.squeaknode.ClearSqueakProfileImageReply",null,a),o.exportSymbol("proto.squeaknode.ClearSqueakProfileImageRequest",null,a),o.exportSymbol("proto.squeaknode.ConnectPeerReply",null,a),o.exportSymbol("proto.squeaknode.ConnectPeerRequest",null,a),o.exportSymbol("proto.squeaknode.ConnectedPeer",null,a),o.exportSymbol("proto.squeaknode.CreateContactProfileReply",null,a),o.exportSymbol("proto.squeaknode.CreateContactProfileRequest",null,a),o.exportSymbol("proto.squeaknode.CreatePeerReply",null,a),o.exportSymbol("proto.squeaknode.CreatePeerRequest",null,a),o.exportSymbol("proto.squeaknode.CreateSigningProfileReply",null,a),o.exportSymbol("proto.squeaknode.CreateSigningProfileRequest",null,a),o.exportSymbol("proto.squeaknode.DecryptSqueakReply",null,a),o.exportSymbol("proto.squeaknode.DecryptSqueakRequest",null,a),o.exportSymbol("proto.squeaknode.DeletePeerReply",null,a),o.exportSymbol("proto.squeaknode.DeletePeerRequest",null,a),o.exportSymbol("proto.squeaknode.DeleteSqueakProfileReply",null,a),o.exportSymbol("proto.squeaknode.DeleteSqueakProfileRequest",null,a),o.exportSymbol("proto.squeaknode.DeleteSqueakReply",null,a),o.exportSymbol("proto.squeaknode.DeleteSqueakRequest",null,a),o.exportSymbol("proto.squeaknode.DeleteTwitterAccountReply",null,a),o.exportSymbol("proto.squeaknode.DeleteTwitterAccountRequest",null,a),o.exportSymbol("proto.squeaknode.DisconnectPeerReply",null,a),o.exportSymbol("proto.squeaknode.DisconnectPeerRequest",null,a),o.exportSymbol("proto.squeaknode.DownloadOffersReply",null,a),o.exportSymbol("proto.squeaknode.DownloadOffersRequest",null,a),o.exportSymbol("proto.squeaknode.DownloadPubKeySqueaksReply",null,a),o.exportSymbol("proto.squeaknode.DownloadPubKeySqueaksRequest",null,a),o.exportSymbol("proto.squeaknode.DownloadRepliesReply",null,a),o.exportSymbol("proto.squeaknode.DownloadRepliesRequest",null,a),o.exportSymbol("proto.squeaknode.DownloadResult",null,a),o.exportSymbol("proto.squeaknode.DownloadSqueakReply",null,a),o.exportSymbol("proto.squeaknode.DownloadSqueakRequest",null,a),o.exportSymbol("proto.squeaknode.DownloadSqueakSecretKeyReply",null,a),o.exportSymbol("proto.squeaknode.DownloadSqueakSecretKeyRequest",null,a),o.exportSymbol("proto.squeaknode.DownloadSqueaksReply",null,a),o.exportSymbol("proto.squeaknode.DownloadSqueaksRequest",null,a),o.exportSymbol("proto.squeaknode.GetAncestorSqueakDisplaysReply",null,a),o.exportSymbol("proto.squeaknode.GetAncestorSqueakDisplaysRequest",null,a),o.exportSymbol("proto.squeaknode.GetBuyOfferReply",null,a),o.exportSymbol("proto.squeaknode.GetBuyOfferRequest",null,a),o.exportSymbol("proto.squeaknode.GetBuyOffersReply",null,a),o.exportSymbol("proto.squeaknode.GetBuyOffersRequest",null,a),o.exportSymbol("proto.squeaknode.GetConnectedPeerReply",null,a),o.exportSymbol("proto.squeaknode.GetConnectedPeerRequest",null,a),o.exportSymbol("proto.squeaknode.GetConnectedPeersReply",null,a),o.exportSymbol("proto.squeaknode.GetConnectedPeersRequest",null,a),o.exportSymbol("proto.squeaknode.GetContactProfilesReply",null,a),o.exportSymbol("proto.squeaknode.GetContactProfilesRequest",null,a),o.exportSymbol("proto.squeaknode.GetDefaultPeerPortReply",null,a),o.exportSymbol("proto.squeaknode.GetDefaultPeerPortRequest",null,a),o.exportSymbol("proto.squeaknode.GetExternalAddressReply",null,a),o.exportSymbol("proto.squeaknode.GetExternalAddressRequest",null,a),o.exportSymbol("proto.squeaknode.GetLikedSqueakDisplaysReply",null,a),o.exportSymbol("proto.squeaknode.GetLikedSqueakDisplaysRequest",null,a),o.exportSymbol("proto.squeaknode.GetNetworkReply",null,a),o.exportSymbol("proto.squeaknode.GetNetworkRequest",null,a),o.exportSymbol("proto.squeaknode.GetPaymentSummaryForPeerReply",null,a),o.exportSymbol("proto.squeaknode.GetPaymentSummaryForPeerRequest",null,a),o.exportSymbol("proto.squeaknode.GetPaymentSummaryForPubkeyReply",null,a),o.exportSymbol("proto.squeaknode.GetPaymentSummaryForPubkeyRequest",null,a),o.exportSymbol("proto.squeaknode.GetPaymentSummaryForSqueakReply",null,a),o.exportSymbol("proto.squeaknode.GetPaymentSummaryForSqueakRequest",null,a),o.exportSymbol("proto.squeaknode.GetPaymentSummaryReply",null,a),o.exportSymbol("proto.squeaknode.GetPaymentSummaryRequest",null,a),o.exportSymbol("proto.squeaknode.GetPeerByAddressReply",null,a),o.exportSymbol("proto.squeaknode.GetPeerByAddressRequest",null,a),o.exportSymbol("proto.squeaknode.GetPeerReply",null,a),o.exportSymbol("proto.squeaknode.GetPeerRequest",null,a),o.exportSymbol("proto.squeaknode.GetPeersReply",null,a),o.exportSymbol("proto.squeaknode.GetPeersRequest",null,a),o.exportSymbol("proto.squeaknode.GetProfilesReply",null,a),o.exportSymbol("proto.squeaknode.GetProfilesRequest",null,a),o.exportSymbol("proto.squeaknode.GetPubKeySqueakDisplaysReply",null,a),o.exportSymbol("proto.squeaknode.GetPubKeySqueakDisplaysRequest",null,a),o.exportSymbol("proto.squeaknode.GetReceivedPaymentsForPeerReply",null,a),o.exportSymbol("proto.squeaknode.GetReceivedPaymentsForPeerRequest",null,a),o.exportSymbol("proto.squeaknode.GetReceivedPaymentsForPubkeyReply",null,a),o.exportSymbol("proto.squeaknode.GetReceivedPaymentsForPubkeyRequest",null,a),o.exportSymbol("proto.squeaknode.GetReceivedPaymentsForSqueakReply",null,a),o.exportSymbol("proto.squeaknode.GetReceivedPaymentsForSqueakRequest",null,a),o.exportSymbol("proto.squeaknode.GetReceivedPaymentsReply",null,a),o.exportSymbol("proto.squeaknode.GetReceivedPaymentsRequest",null,a),o.exportSymbol("proto.squeaknode.GetReplySqueakDisplaysReply",null,a),o.exportSymbol("proto.squeaknode.GetReplySqueakDisplaysRequest",null,a),o.exportSymbol("proto.squeaknode.GetSearchSqueakDisplaysReply",null,a),o.exportSymbol("proto.squeaknode.GetSearchSqueakDisplaysRequest",null,a),o.exportSymbol("proto.squeaknode.GetSellPriceReply",null,a),o.exportSymbol("proto.squeaknode.GetSellPriceRequest",null,a),o.exportSymbol("proto.squeaknode.GetSentOffersReply",null,a),o.exportSymbol("proto.squeaknode.GetSentOffersRequest",null,a),o.exportSymbol("proto.squeaknode.GetSentPaymentReply",null,a),o.exportSymbol("proto.squeaknode.GetSentPaymentRequest",null,a),o.exportSymbol("proto.squeaknode.GetSentPaymentsForPeerReply",null,a),o.exportSymbol("proto.squeaknode.GetSentPaymentsForPeerRequest",null,a),o.exportSymbol("proto.squeaknode.GetSentPaymentsForPubkeyReply",null,a),o.exportSymbol("proto.squeaknode.GetSentPaymentsForPubkeyRequest",null,a),o.exportSymbol("proto.squeaknode.GetSentPaymentsForSqueakReply",null,a),o.exportSymbol("proto.squeaknode.GetSentPaymentsForSqueakRequest",null,a),o.exportSymbol("proto.squeaknode.GetSentPaymentsReply",null,a),o.exportSymbol("proto.squeaknode.GetSentPaymentsRequest",null,a),o.exportSymbol("proto.squeaknode.GetSigningProfilesReply",null,a),o.exportSymbol("proto.squeaknode.GetSigningProfilesRequest",null,a),o.exportSymbol("proto.squeaknode.GetSqueakDisplayReply",null,a),o.exportSymbol("proto.squeaknode.GetSqueakDisplayRequest",null,a),o.exportSymbol("proto.squeaknode.GetSqueakProfileByNameReply",null,a),o.exportSymbol("proto.squeaknode.GetSqueakProfileByNameRequest",null,a),o.exportSymbol("proto.squeaknode.GetSqueakProfileByPubKeyReply",null,a),o.exportSymbol("proto.squeaknode.GetSqueakProfileByPubKeyRequest",null,a),o.exportSymbol("proto.squeaknode.GetSqueakProfilePrivateKeyReply",null,a),o.exportSymbol("proto.squeaknode.GetSqueakProfilePrivateKeyRequest",null,a),o.exportSymbol("proto.squeaknode.GetSqueakProfileReply",null,a),o.exportSymbol("proto.squeaknode.GetSqueakProfileRequest",null,a),o.exportSymbol("proto.squeaknode.GetTimelineSqueakDisplaysReply",null,a),o.exportSymbol("proto.squeaknode.GetTimelineSqueakDisplaysRequest",null,a),o.exportSymbol("proto.squeaknode.GetTwitterAccountsReply",null,a),o.exportSymbol("proto.squeaknode.GetTwitterAccountsRequest",null,a),o.exportSymbol("proto.squeaknode.ImportSigningProfileReply",null,a),o.exportSymbol("proto.squeaknode.ImportSigningProfileRequest",null,a),o.exportSymbol("proto.squeaknode.LikeSqueakReply",null,a),o.exportSymbol("proto.squeaknode.LikeSqueakRequest",null,a),o.exportSymbol("proto.squeaknode.LoadBuyOffersReply",null,a),o.exportSymbol("proto.squeaknode.LoadBuyOffersRequest",null,a),o.exportSymbol("proto.squeaknode.MakeResqueakReply",null,a),o.exportSymbol("proto.squeaknode.MakeResqueakRequest",null,a),o.exportSymbol("proto.squeaknode.MakeSqueakReply",null,a),o.exportSymbol("proto.squeaknode.MakeSqueakRequest",null,a),o.exportSymbol("proto.squeaknode.OfferDisplayEntry",null,a),o.exportSymbol("proto.squeaknode.PayOfferReply",null,a),o.exportSymbol("proto.squeaknode.PayOfferRequest",null,a),o.exportSymbol("proto.squeaknode.PaymentSummary",null,a),o.exportSymbol("proto.squeaknode.PeerAddress",null,a),o.exportSymbol("proto.squeaknode.ReceivedPayment",null,a),o.exportSymbol("proto.squeaknode.RenamePeerReply",null,a),o.exportSymbol("proto.squeaknode.RenamePeerRequest",null,a),o.exportSymbol("proto.squeaknode.RenameSqueakProfileReply",null,a),o.exportSymbol("proto.squeaknode.RenameSqueakProfileRequest",null,a),o.exportSymbol("proto.squeaknode.ReprocessReceivedPaymentsReply",null,a),o.exportSymbol("proto.squeaknode.ReprocessReceivedPaymentsRequest",null,a),o.exportSymbol("proto.squeaknode.SentOffer",null,a),o.exportSymbol("proto.squeaknode.SentPayment",null,a),o.exportSymbol("proto.squeaknode.SetPeerAutoconnectReply",null,a),o.exportSymbol("proto.squeaknode.SetPeerAutoconnectRequest",null,a),o.exportSymbol("proto.squeaknode.SetPeerShareForFreeReply",null,a),o.exportSymbol("proto.squeaknode.SetPeerShareForFreeRequest",null,a),o.exportSymbol("proto.squeaknode.SetSellPriceReply",null,a),o.exportSymbol("proto.squeaknode.SetSellPriceRequest",null,a),o.exportSymbol("proto.squeaknode.SetSqueakProfileFollowingReply",null,a),o.exportSymbol("proto.squeaknode.SetSqueakProfileFollowingRequest",null,a),o.exportSymbol("proto.squeaknode.SetSqueakProfileImageReply",null,a),o.exportSymbol("proto.squeaknode.SetSqueakProfileImageRequest",null,a),o.exportSymbol("proto.squeaknode.SqueakDisplayEntry",null,a),o.exportSymbol("proto.squeaknode.SqueakPeer",null,a),o.exportSymbol("proto.squeaknode.SqueakProfile",null,a),o.exportSymbol("proto.squeaknode.SubscribeAncestorSqueakDisplaysRequest",null,a),o.exportSymbol("proto.squeaknode.SubscribeBuyOffersRequest",null,a),o.exportSymbol("proto.squeaknode.SubscribeConnectedPeerRequest",null,a),o.exportSymbol("proto.squeaknode.SubscribeConnectedPeersRequest",null,a),o.exportSymbol("proto.squeaknode.SubscribePubKeySqueakDisplaysRequest",null,a),o.exportSymbol("proto.squeaknode.SubscribeReceivedPaymentsRequest",null,a),o.exportSymbol("proto.squeaknode.SubscribeReplySqueakDisplaysRequest",null,a),o.exportSymbol("proto.squeaknode.SubscribeSqueakDisplayRequest",null,a),o.exportSymbol("proto.squeaknode.SubscribeSqueakDisplaysRequest",null,a),o.exportSymbol("proto.squeaknode.SubscribeTimelineSqueakDisplaysRequest",null,a),o.exportSymbol("proto.squeaknode.TwitterAccount",null,a),o.exportSymbol("proto.squeaknode.UnlikeSqueakReply",null,a),o.exportSymbol("proto.squeaknode.UnlikeSqueakRequest",null,a),proto.squeaknode.CreateSigningProfileRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.CreateSigningProfileRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.CreateSigningProfileRequest.displayName="proto.squeaknode.CreateSigningProfileRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.CreateSigningProfileRequest.prototype.toObject=function(e){return proto.squeaknode.CreateSigningProfileRequest.toObject(e,this)},proto.squeaknode.CreateSigningProfileRequest.toObject=function(e,t){var r={profileName:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.CreateSigningProfileRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.CreateSigningProfileRequest;return proto.squeaknode.CreateSigningProfileRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.CreateSigningProfileRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setProfileName(r)}else t.skipField()}return e},proto.squeaknode.CreateSigningProfileRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.CreateSigningProfileRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.CreateSigningProfileRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getProfileName()).length>0&&t.writeString(1,r)},proto.squeaknode.CreateSigningProfileRequest.prototype.getProfileName=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.CreateSigningProfileRequest.prototype.setProfileName=function(e){n.Message.setField(this,1,e)},proto.squeaknode.CreateSigningProfileReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.CreateSigningProfileReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.CreateSigningProfileReply.displayName="proto.squeaknode.CreateSigningProfileReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.CreateSigningProfileReply.prototype.toObject=function(e){return proto.squeaknode.CreateSigningProfileReply.toObject(e,this)},proto.squeaknode.CreateSigningProfileReply.toObject=function(e,t){var r={profileId:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.CreateSigningProfileReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.CreateSigningProfileReply;return proto.squeaknode.CreateSigningProfileReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.CreateSigningProfileReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt32();e.setProfileId(r)}else t.skipField()}return e},proto.squeaknode.CreateSigningProfileReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.CreateSigningProfileReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.CreateSigningProfileReply.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getProfileId())&&t.writeInt32(1,r)},proto.squeaknode.CreateSigningProfileReply.prototype.getProfileId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.CreateSigningProfileReply.prototype.setProfileId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.ImportSigningProfileRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.ImportSigningProfileRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.ImportSigningProfileRequest.displayName="proto.squeaknode.ImportSigningProfileRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.ImportSigningProfileRequest.prototype.toObject=function(e){return proto.squeaknode.ImportSigningProfileRequest.toObject(e,this)},proto.squeaknode.ImportSigningProfileRequest.toObject=function(e,t){var r={profileName:n.Message.getFieldWithDefault(t,1,""),privateKey:n.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.ImportSigningProfileRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.ImportSigningProfileRequest;return proto.squeaknode.ImportSigningProfileRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.ImportSigningProfileRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setProfileName(r);break;case 2:r=t.readString();e.setPrivateKey(r);break;default:t.skipField()}}return e},proto.squeaknode.ImportSigningProfileRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.ImportSigningProfileRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.ImportSigningProfileRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getProfileName()).length>0&&t.writeString(1,r),(r=e.getPrivateKey()).length>0&&t.writeString(2,r)},proto.squeaknode.ImportSigningProfileRequest.prototype.getProfileName=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.ImportSigningProfileRequest.prototype.setProfileName=function(e){n.Message.setField(this,1,e)},proto.squeaknode.ImportSigningProfileRequest.prototype.getPrivateKey=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.squeaknode.ImportSigningProfileRequest.prototype.setPrivateKey=function(e){n.Message.setField(this,2,e)},proto.squeaknode.ImportSigningProfileReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.ImportSigningProfileReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.ImportSigningProfileReply.displayName="proto.squeaknode.ImportSigningProfileReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.ImportSigningProfileReply.prototype.toObject=function(e){return proto.squeaknode.ImportSigningProfileReply.toObject(e,this)},proto.squeaknode.ImportSigningProfileReply.toObject=function(e,t){var r={profileId:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.ImportSigningProfileReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.ImportSigningProfileReply;return proto.squeaknode.ImportSigningProfileReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.ImportSigningProfileReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt32();e.setProfileId(r)}else t.skipField()}return e},proto.squeaknode.ImportSigningProfileReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.ImportSigningProfileReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.ImportSigningProfileReply.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getProfileId())&&t.writeInt32(1,r)},proto.squeaknode.ImportSigningProfileReply.prototype.getProfileId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.ImportSigningProfileReply.prototype.setProfileId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.CreateContactProfileRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.CreateContactProfileRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.CreateContactProfileRequest.displayName="proto.squeaknode.CreateContactProfileRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.CreateContactProfileRequest.prototype.toObject=function(e){return proto.squeaknode.CreateContactProfileRequest.toObject(e,this)},proto.squeaknode.CreateContactProfileRequest.toObject=function(e,t){var r={profileName:n.Message.getFieldWithDefault(t,1,""),pubkey:n.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.CreateContactProfileRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.CreateContactProfileRequest;return proto.squeaknode.CreateContactProfileRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.CreateContactProfileRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setProfileName(r);break;case 2:r=t.readString();e.setPubkey(r);break;default:t.skipField()}}return e},proto.squeaknode.CreateContactProfileRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.CreateContactProfileRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.CreateContactProfileRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getProfileName()).length>0&&t.writeString(1,r),(r=e.getPubkey()).length>0&&t.writeString(2,r)},proto.squeaknode.CreateContactProfileRequest.prototype.getProfileName=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.CreateContactProfileRequest.prototype.setProfileName=function(e){n.Message.setField(this,1,e)},proto.squeaknode.CreateContactProfileRequest.prototype.getPubkey=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.squeaknode.CreateContactProfileRequest.prototype.setPubkey=function(e){n.Message.setField(this,2,e)},proto.squeaknode.CreateContactProfileReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.CreateContactProfileReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.CreateContactProfileReply.displayName="proto.squeaknode.CreateContactProfileReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.CreateContactProfileReply.prototype.toObject=function(e){return proto.squeaknode.CreateContactProfileReply.toObject(e,this)},proto.squeaknode.CreateContactProfileReply.toObject=function(e,t){var r={profileId:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.CreateContactProfileReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.CreateContactProfileReply;return proto.squeaknode.CreateContactProfileReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.CreateContactProfileReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt32();e.setProfileId(r)}else t.skipField()}return e},proto.squeaknode.CreateContactProfileReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.CreateContactProfileReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.CreateContactProfileReply.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getProfileId())&&t.writeInt32(1,r)},proto.squeaknode.CreateContactProfileReply.prototype.getProfileId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.CreateContactProfileReply.prototype.setProfileId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetProfilesRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetProfilesRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetProfilesRequest.displayName="proto.squeaknode.GetProfilesRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetProfilesRequest.prototype.toObject=function(e){return proto.squeaknode.GetProfilesRequest.toObject(e,this)},proto.squeaknode.GetProfilesRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetProfilesRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetProfilesRequest;return proto.squeaknode.GetProfilesRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetProfilesRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.GetProfilesRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetProfilesRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetProfilesRequest.serializeBinaryToWriter=function(e,t){},proto.squeaknode.GetProfilesReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetProfilesReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetProfilesReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetProfilesReply.displayName="proto.squeaknode.GetProfilesReply"),proto.squeaknode.GetProfilesReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetProfilesReply.prototype.toObject=function(e){return proto.squeaknode.GetProfilesReply.toObject(e,this)},proto.squeaknode.GetProfilesReply.toObject=function(e,t){var r={squeakProfilesList:n.Message.toObjectList(t.getSqueakProfilesList(),proto.squeaknode.SqueakProfile.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetProfilesReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetProfilesReply;return proto.squeaknode.GetProfilesReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetProfilesReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SqueakProfile;t.readMessage(r,proto.squeaknode.SqueakProfile.deserializeBinaryFromReader),e.addSqueakProfiles(r)}else t.skipField()}return e},proto.squeaknode.GetProfilesReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetProfilesReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetProfilesReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakProfilesList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.SqueakProfile.serializeBinaryToWriter)},proto.squeaknode.GetProfilesReply.prototype.getSqueakProfilesList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.SqueakProfile,1)},proto.squeaknode.GetProfilesReply.prototype.setSqueakProfilesList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetProfilesReply.prototype.addSqueakProfiles=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.SqueakProfile,t)},proto.squeaknode.GetProfilesReply.prototype.clearSqueakProfilesList=function(){this.setSqueakProfilesList([])},proto.squeaknode.GetSigningProfilesRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSigningProfilesRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSigningProfilesRequest.displayName="proto.squeaknode.GetSigningProfilesRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSigningProfilesRequest.prototype.toObject=function(e){return proto.squeaknode.GetSigningProfilesRequest.toObject(e,this)},proto.squeaknode.GetSigningProfilesRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetSigningProfilesRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSigningProfilesRequest;return proto.squeaknode.GetSigningProfilesRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSigningProfilesRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.GetSigningProfilesRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSigningProfilesRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSigningProfilesRequest.serializeBinaryToWriter=function(e,t){},proto.squeaknode.GetSigningProfilesReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetSigningProfilesReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetSigningProfilesReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSigningProfilesReply.displayName="proto.squeaknode.GetSigningProfilesReply"),proto.squeaknode.GetSigningProfilesReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSigningProfilesReply.prototype.toObject=function(e){return proto.squeaknode.GetSigningProfilesReply.toObject(e,this)},proto.squeaknode.GetSigningProfilesReply.toObject=function(e,t){var r={squeakProfilesList:n.Message.toObjectList(t.getSqueakProfilesList(),proto.squeaknode.SqueakProfile.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetSigningProfilesReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSigningProfilesReply;return proto.squeaknode.GetSigningProfilesReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSigningProfilesReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SqueakProfile;t.readMessage(r,proto.squeaknode.SqueakProfile.deserializeBinaryFromReader),e.addSqueakProfiles(r)}else t.skipField()}return e},proto.squeaknode.GetSigningProfilesReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSigningProfilesReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSigningProfilesReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakProfilesList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.SqueakProfile.serializeBinaryToWriter)},proto.squeaknode.GetSigningProfilesReply.prototype.getSqueakProfilesList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.SqueakProfile,1)},proto.squeaknode.GetSigningProfilesReply.prototype.setSqueakProfilesList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetSigningProfilesReply.prototype.addSqueakProfiles=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.SqueakProfile,t)},proto.squeaknode.GetSigningProfilesReply.prototype.clearSqueakProfilesList=function(){this.setSqueakProfilesList([])},proto.squeaknode.GetContactProfilesRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetContactProfilesRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetContactProfilesRequest.displayName="proto.squeaknode.GetContactProfilesRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetContactProfilesRequest.prototype.toObject=function(e){return proto.squeaknode.GetContactProfilesRequest.toObject(e,this)},proto.squeaknode.GetContactProfilesRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetContactProfilesRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetContactProfilesRequest;return proto.squeaknode.GetContactProfilesRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetContactProfilesRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.GetContactProfilesRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetContactProfilesRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetContactProfilesRequest.serializeBinaryToWriter=function(e,t){},proto.squeaknode.GetContactProfilesReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetContactProfilesReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetContactProfilesReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetContactProfilesReply.displayName="proto.squeaknode.GetContactProfilesReply"),proto.squeaknode.GetContactProfilesReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetContactProfilesReply.prototype.toObject=function(e){return proto.squeaknode.GetContactProfilesReply.toObject(e,this)},proto.squeaknode.GetContactProfilesReply.toObject=function(e,t){var r={squeakProfilesList:n.Message.toObjectList(t.getSqueakProfilesList(),proto.squeaknode.SqueakProfile.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetContactProfilesReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetContactProfilesReply;return proto.squeaknode.GetContactProfilesReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetContactProfilesReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SqueakProfile;t.readMessage(r,proto.squeaknode.SqueakProfile.deserializeBinaryFromReader),e.addSqueakProfiles(r)}else t.skipField()}return e},proto.squeaknode.GetContactProfilesReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetContactProfilesReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetContactProfilesReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakProfilesList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.SqueakProfile.serializeBinaryToWriter)},proto.squeaknode.GetContactProfilesReply.prototype.getSqueakProfilesList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.SqueakProfile,1)},proto.squeaknode.GetContactProfilesReply.prototype.setSqueakProfilesList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetContactProfilesReply.prototype.addSqueakProfiles=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.SqueakProfile,t)},proto.squeaknode.GetContactProfilesReply.prototype.clearSqueakProfilesList=function(){this.setSqueakProfilesList([])},proto.squeaknode.GetSqueakProfileRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSqueakProfileRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSqueakProfileRequest.displayName="proto.squeaknode.GetSqueakProfileRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSqueakProfileRequest.prototype.toObject=function(e){return proto.squeaknode.GetSqueakProfileRequest.toObject(e,this)},proto.squeaknode.GetSqueakProfileRequest.toObject=function(e,t){var r={profileId:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetSqueakProfileRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSqueakProfileRequest;return proto.squeaknode.GetSqueakProfileRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSqueakProfileRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt32();e.setProfileId(r)}else t.skipField()}return e},proto.squeaknode.GetSqueakProfileRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSqueakProfileRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSqueakProfileRequest.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getProfileId())&&t.writeInt32(1,r)},proto.squeaknode.GetSqueakProfileRequest.prototype.getProfileId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.GetSqueakProfileRequest.prototype.setProfileId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetSqueakProfileReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSqueakProfileReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSqueakProfileReply.displayName="proto.squeaknode.GetSqueakProfileReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSqueakProfileReply.prototype.toObject=function(e){return proto.squeaknode.GetSqueakProfileReply.toObject(e,this)},proto.squeaknode.GetSqueakProfileReply.toObject=function(e,t){var r,n={squeakProfile:(r=t.getSqueakProfile())&&proto.squeaknode.SqueakProfile.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.GetSqueakProfileReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSqueakProfileReply;return proto.squeaknode.GetSqueakProfileReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSqueakProfileReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SqueakProfile;t.readMessage(r,proto.squeaknode.SqueakProfile.deserializeBinaryFromReader),e.setSqueakProfile(r)}else t.skipField()}return e},proto.squeaknode.GetSqueakProfileReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSqueakProfileReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSqueakProfileReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getSqueakProfile())&&t.writeMessage(1,r,proto.squeaknode.SqueakProfile.serializeBinaryToWriter)},proto.squeaknode.GetSqueakProfileReply.prototype.getSqueakProfile=function(){return n.Message.getWrapperField(this,proto.squeaknode.SqueakProfile,1)},proto.squeaknode.GetSqueakProfileReply.prototype.setSqueakProfile=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetSqueakProfileReply.prototype.clearSqueakProfile=function(){this.setSqueakProfile(void 0)},proto.squeaknode.GetSqueakProfileReply.prototype.hasSqueakProfile=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.GetSqueakProfileByPubKeyRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSqueakProfileByPubKeyRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSqueakProfileByPubKeyRequest.displayName="proto.squeaknode.GetSqueakProfileByPubKeyRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSqueakProfileByPubKeyRequest.prototype.toObject=function(e){return proto.squeaknode.GetSqueakProfileByPubKeyRequest.toObject(e,this)},proto.squeaknode.GetSqueakProfileByPubKeyRequest.toObject=function(e,t){var r={pubkey:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetSqueakProfileByPubKeyRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSqueakProfileByPubKeyRequest;return proto.squeaknode.GetSqueakProfileByPubKeyRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSqueakProfileByPubKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setPubkey(r)}else t.skipField()}return e},proto.squeaknode.GetSqueakProfileByPubKeyRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSqueakProfileByPubKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSqueakProfileByPubKeyRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getPubkey()).length>0&&t.writeString(1,r)},proto.squeaknode.GetSqueakProfileByPubKeyRequest.prototype.getPubkey=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.GetSqueakProfileByPubKeyRequest.prototype.setPubkey=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetSqueakProfileByPubKeyReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSqueakProfileByPubKeyReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSqueakProfileByPubKeyReply.displayName="proto.squeaknode.GetSqueakProfileByPubKeyReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSqueakProfileByPubKeyReply.prototype.toObject=function(e){return proto.squeaknode.GetSqueakProfileByPubKeyReply.toObject(e,this)},proto.squeaknode.GetSqueakProfileByPubKeyReply.toObject=function(e,t){var r,n={squeakProfile:(r=t.getSqueakProfile())&&proto.squeaknode.SqueakProfile.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.GetSqueakProfileByPubKeyReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSqueakProfileByPubKeyReply;return proto.squeaknode.GetSqueakProfileByPubKeyReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSqueakProfileByPubKeyReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SqueakProfile;t.readMessage(r,proto.squeaknode.SqueakProfile.deserializeBinaryFromReader),e.setSqueakProfile(r)}else t.skipField()}return e},proto.squeaknode.GetSqueakProfileByPubKeyReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSqueakProfileByPubKeyReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSqueakProfileByPubKeyReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getSqueakProfile())&&t.writeMessage(1,r,proto.squeaknode.SqueakProfile.serializeBinaryToWriter)},proto.squeaknode.GetSqueakProfileByPubKeyReply.prototype.getSqueakProfile=function(){return n.Message.getWrapperField(this,proto.squeaknode.SqueakProfile,1)},proto.squeaknode.GetSqueakProfileByPubKeyReply.prototype.setSqueakProfile=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetSqueakProfileByPubKeyReply.prototype.clearSqueakProfile=function(){this.setSqueakProfile(void 0)},proto.squeaknode.GetSqueakProfileByPubKeyReply.prototype.hasSqueakProfile=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.GetSqueakProfileByNameRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSqueakProfileByNameRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSqueakProfileByNameRequest.displayName="proto.squeaknode.GetSqueakProfileByNameRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSqueakProfileByNameRequest.prototype.toObject=function(e){return proto.squeaknode.GetSqueakProfileByNameRequest.toObject(e,this)},proto.squeaknode.GetSqueakProfileByNameRequest.toObject=function(e,t){var r={name:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetSqueakProfileByNameRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSqueakProfileByNameRequest;return proto.squeaknode.GetSqueakProfileByNameRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSqueakProfileByNameRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setName(r)}else t.skipField()}return e},proto.squeaknode.GetSqueakProfileByNameRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSqueakProfileByNameRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSqueakProfileByNameRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getName()).length>0&&t.writeString(1,r)},proto.squeaknode.GetSqueakProfileByNameRequest.prototype.getName=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.GetSqueakProfileByNameRequest.prototype.setName=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetSqueakProfileByNameReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSqueakProfileByNameReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSqueakProfileByNameReply.displayName="proto.squeaknode.GetSqueakProfileByNameReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSqueakProfileByNameReply.prototype.toObject=function(e){return proto.squeaknode.GetSqueakProfileByNameReply.toObject(e,this)},proto.squeaknode.GetSqueakProfileByNameReply.toObject=function(e,t){var r,n={squeakProfile:(r=t.getSqueakProfile())&&proto.squeaknode.SqueakProfile.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.GetSqueakProfileByNameReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSqueakProfileByNameReply;return proto.squeaknode.GetSqueakProfileByNameReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSqueakProfileByNameReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SqueakProfile;t.readMessage(r,proto.squeaknode.SqueakProfile.deserializeBinaryFromReader),e.setSqueakProfile(r)}else t.skipField()}return e},proto.squeaknode.GetSqueakProfileByNameReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSqueakProfileByNameReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSqueakProfileByNameReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getSqueakProfile())&&t.writeMessage(1,r,proto.squeaknode.SqueakProfile.serializeBinaryToWriter)},proto.squeaknode.GetSqueakProfileByNameReply.prototype.getSqueakProfile=function(){return n.Message.getWrapperField(this,proto.squeaknode.SqueakProfile,1)},proto.squeaknode.GetSqueakProfileByNameReply.prototype.setSqueakProfile=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetSqueakProfileByNameReply.prototype.clearSqueakProfile=function(){this.setSqueakProfile(void 0)},proto.squeaknode.GetSqueakProfileByNameReply.prototype.hasSqueakProfile=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.SetSqueakProfileFollowingRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SetSqueakProfileFollowingRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SetSqueakProfileFollowingRequest.displayName="proto.squeaknode.SetSqueakProfileFollowingRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SetSqueakProfileFollowingRequest.prototype.toObject=function(e){return proto.squeaknode.SetSqueakProfileFollowingRequest.toObject(e,this)},proto.squeaknode.SetSqueakProfileFollowingRequest.toObject=function(e,t){var r={profileId:n.Message.getFieldWithDefault(t,1,0),following:n.Message.getFieldWithDefault(t,2,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SetSqueakProfileFollowingRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SetSqueakProfileFollowingRequest;return proto.squeaknode.SetSqueakProfileFollowingRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.SetSqueakProfileFollowingRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setProfileId(r);break;case 2:r=t.readBool();e.setFollowing(r);break;default:t.skipField()}}return e},proto.squeaknode.SetSqueakProfileFollowingRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SetSqueakProfileFollowingRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SetSqueakProfileFollowingRequest.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getProfileId())&&t.writeInt32(1,r),(r=e.getFollowing())&&t.writeBool(2,r)},proto.squeaknode.SetSqueakProfileFollowingRequest.prototype.getProfileId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.SetSqueakProfileFollowingRequest.prototype.setProfileId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.SetSqueakProfileFollowingRequest.prototype.getFollowing=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.squeaknode.SetSqueakProfileFollowingRequest.prototype.setFollowing=function(e){n.Message.setField(this,2,e)},proto.squeaknode.SetSqueakProfileFollowingReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SetSqueakProfileFollowingReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SetSqueakProfileFollowingReply.displayName="proto.squeaknode.SetSqueakProfileFollowingReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SetSqueakProfileFollowingReply.prototype.toObject=function(e){return proto.squeaknode.SetSqueakProfileFollowingReply.toObject(e,this)},proto.squeaknode.SetSqueakProfileFollowingReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SetSqueakProfileFollowingReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SetSqueakProfileFollowingReply;return proto.squeaknode.SetSqueakProfileFollowingReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.SetSqueakProfileFollowingReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.SetSqueakProfileFollowingReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SetSqueakProfileFollowingReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SetSqueakProfileFollowingReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.RenameSqueakProfileRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.RenameSqueakProfileRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.RenameSqueakProfileRequest.displayName="proto.squeaknode.RenameSqueakProfileRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.RenameSqueakProfileRequest.prototype.toObject=function(e){return proto.squeaknode.RenameSqueakProfileRequest.toObject(e,this)},proto.squeaknode.RenameSqueakProfileRequest.toObject=function(e,t){var r={profileId:n.Message.getFieldWithDefault(t,1,0),profileName:n.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.RenameSqueakProfileRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.RenameSqueakProfileRequest;return proto.squeaknode.RenameSqueakProfileRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.RenameSqueakProfileRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setProfileId(r);break;case 2:r=t.readString();e.setProfileName(r);break;default:t.skipField()}}return e},proto.squeaknode.RenameSqueakProfileRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.RenameSqueakProfileRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.RenameSqueakProfileRequest.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getProfileId())&&t.writeInt32(1,r),(r=e.getProfileName()).length>0&&t.writeString(2,r)},proto.squeaknode.RenameSqueakProfileRequest.prototype.getProfileId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.RenameSqueakProfileRequest.prototype.setProfileId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.RenameSqueakProfileRequest.prototype.getProfileName=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.squeaknode.RenameSqueakProfileRequest.prototype.setProfileName=function(e){n.Message.setField(this,2,e)},proto.squeaknode.RenameSqueakProfileReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.RenameSqueakProfileReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.RenameSqueakProfileReply.displayName="proto.squeaknode.RenameSqueakProfileReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.RenameSqueakProfileReply.prototype.toObject=function(e){return proto.squeaknode.RenameSqueakProfileReply.toObject(e,this)},proto.squeaknode.RenameSqueakProfileReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.RenameSqueakProfileReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.RenameSqueakProfileReply;return proto.squeaknode.RenameSqueakProfileReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.RenameSqueakProfileReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.RenameSqueakProfileReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.RenameSqueakProfileReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.RenameSqueakProfileReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.GetSqueakProfilePrivateKeyRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSqueakProfilePrivateKeyRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSqueakProfilePrivateKeyRequest.displayName="proto.squeaknode.GetSqueakProfilePrivateKeyRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSqueakProfilePrivateKeyRequest.prototype.toObject=function(e){return proto.squeaknode.GetSqueakProfilePrivateKeyRequest.toObject(e,this)},proto.squeaknode.GetSqueakProfilePrivateKeyRequest.toObject=function(e,t){var r={profileId:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetSqueakProfilePrivateKeyRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSqueakProfilePrivateKeyRequest;return proto.squeaknode.GetSqueakProfilePrivateKeyRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSqueakProfilePrivateKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt32();e.setProfileId(r)}else t.skipField()}return e},proto.squeaknode.GetSqueakProfilePrivateKeyRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSqueakProfilePrivateKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSqueakProfilePrivateKeyRequest.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getProfileId())&&t.writeInt32(1,r)},proto.squeaknode.GetSqueakProfilePrivateKeyRequest.prototype.getProfileId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.GetSqueakProfilePrivateKeyRequest.prototype.setProfileId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetSqueakProfilePrivateKeyReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSqueakProfilePrivateKeyReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSqueakProfilePrivateKeyReply.displayName="proto.squeaknode.GetSqueakProfilePrivateKeyReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSqueakProfilePrivateKeyReply.prototype.toObject=function(e){return proto.squeaknode.GetSqueakProfilePrivateKeyReply.toObject(e,this)},proto.squeaknode.GetSqueakProfilePrivateKeyReply.toObject=function(e,t){var r={privateKey:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetSqueakProfilePrivateKeyReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSqueakProfilePrivateKeyReply;return proto.squeaknode.GetSqueakProfilePrivateKeyReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSqueakProfilePrivateKeyReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setPrivateKey(r)}else t.skipField()}return e},proto.squeaknode.GetSqueakProfilePrivateKeyReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSqueakProfilePrivateKeyReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSqueakProfilePrivateKeyReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getPrivateKey()).length>0&&t.writeString(1,r)},proto.squeaknode.GetSqueakProfilePrivateKeyReply.prototype.getPrivateKey=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.GetSqueakProfilePrivateKeyReply.prototype.setPrivateKey=function(e){n.Message.setField(this,1,e)},proto.squeaknode.DeleteSqueakProfileRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DeleteSqueakProfileRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DeleteSqueakProfileRequest.displayName="proto.squeaknode.DeleteSqueakProfileRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DeleteSqueakProfileRequest.prototype.toObject=function(e){return proto.squeaknode.DeleteSqueakProfileRequest.toObject(e,this)},proto.squeaknode.DeleteSqueakProfileRequest.toObject=function(e,t){var r={profileId:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.DeleteSqueakProfileRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DeleteSqueakProfileRequest;return proto.squeaknode.DeleteSqueakProfileRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.DeleteSqueakProfileRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt32();e.setProfileId(r)}else t.skipField()}return e},proto.squeaknode.DeleteSqueakProfileRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DeleteSqueakProfileRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DeleteSqueakProfileRequest.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getProfileId())&&t.writeInt32(1,r)},proto.squeaknode.DeleteSqueakProfileRequest.prototype.getProfileId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.DeleteSqueakProfileRequest.prototype.setProfileId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.DeleteSqueakProfileReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DeleteSqueakProfileReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DeleteSqueakProfileReply.displayName="proto.squeaknode.DeleteSqueakProfileReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DeleteSqueakProfileReply.prototype.toObject=function(e){return proto.squeaknode.DeleteSqueakProfileReply.toObject(e,this)},proto.squeaknode.DeleteSqueakProfileReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.DeleteSqueakProfileReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DeleteSqueakProfileReply;return proto.squeaknode.DeleteSqueakProfileReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.DeleteSqueakProfileReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.DeleteSqueakProfileReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DeleteSqueakProfileReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DeleteSqueakProfileReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.SetSqueakProfileImageRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SetSqueakProfileImageRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SetSqueakProfileImageRequest.displayName="proto.squeaknode.SetSqueakProfileImageRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SetSqueakProfileImageRequest.prototype.toObject=function(e){return proto.squeaknode.SetSqueakProfileImageRequest.toObject(e,this)},proto.squeaknode.SetSqueakProfileImageRequest.toObject=function(e,t){var r={profileId:n.Message.getFieldWithDefault(t,1,0),profileImage:n.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SetSqueakProfileImageRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SetSqueakProfileImageRequest;return proto.squeaknode.SetSqueakProfileImageRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.SetSqueakProfileImageRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setProfileId(r);break;case 2:r=t.readString();e.setProfileImage(r);break;default:t.skipField()}}return e},proto.squeaknode.SetSqueakProfileImageRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SetSqueakProfileImageRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SetSqueakProfileImageRequest.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getProfileId())&&t.writeInt32(1,r),(r=e.getProfileImage()).length>0&&t.writeString(2,r)},proto.squeaknode.SetSqueakProfileImageRequest.prototype.getProfileId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.SetSqueakProfileImageRequest.prototype.setProfileId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.SetSqueakProfileImageRequest.prototype.getProfileImage=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.squeaknode.SetSqueakProfileImageRequest.prototype.setProfileImage=function(e){n.Message.setField(this,2,e)},proto.squeaknode.SetSqueakProfileImageReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SetSqueakProfileImageReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SetSqueakProfileImageReply.displayName="proto.squeaknode.SetSqueakProfileImageReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SetSqueakProfileImageReply.prototype.toObject=function(e){return proto.squeaknode.SetSqueakProfileImageReply.toObject(e,this)},proto.squeaknode.SetSqueakProfileImageReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SetSqueakProfileImageReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SetSqueakProfileImageReply;return proto.squeaknode.SetSqueakProfileImageReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.SetSqueakProfileImageReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.SetSqueakProfileImageReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SetSqueakProfileImageReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SetSqueakProfileImageReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.ClearSqueakProfileImageRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.ClearSqueakProfileImageRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.ClearSqueakProfileImageRequest.displayName="proto.squeaknode.ClearSqueakProfileImageRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.ClearSqueakProfileImageRequest.prototype.toObject=function(e){return proto.squeaknode.ClearSqueakProfileImageRequest.toObject(e,this)},proto.squeaknode.ClearSqueakProfileImageRequest.toObject=function(e,t){var r={profileId:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.ClearSqueakProfileImageRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.ClearSqueakProfileImageRequest;return proto.squeaknode.ClearSqueakProfileImageRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.ClearSqueakProfileImageRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt32();e.setProfileId(r)}else t.skipField()}return e},proto.squeaknode.ClearSqueakProfileImageRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.ClearSqueakProfileImageRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.ClearSqueakProfileImageRequest.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getProfileId())&&t.writeInt32(1,r)},proto.squeaknode.ClearSqueakProfileImageRequest.prototype.getProfileId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.ClearSqueakProfileImageRequest.prototype.setProfileId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.ClearSqueakProfileImageReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.ClearSqueakProfileImageReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.ClearSqueakProfileImageReply.displayName="proto.squeaknode.ClearSqueakProfileImageReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.ClearSqueakProfileImageReply.prototype.toObject=function(e){return proto.squeaknode.ClearSqueakProfileImageReply.toObject(e,this)},proto.squeaknode.ClearSqueakProfileImageReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.ClearSqueakProfileImageReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.ClearSqueakProfileImageReply;return proto.squeaknode.ClearSqueakProfileImageReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.ClearSqueakProfileImageReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.ClearSqueakProfileImageReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.ClearSqueakProfileImageReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.ClearSqueakProfileImageReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.SqueakProfile=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SqueakProfile,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SqueakProfile.displayName="proto.squeaknode.SqueakProfile"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SqueakProfile.prototype.toObject=function(e){return proto.squeaknode.SqueakProfile.toObject(e,this)},proto.squeaknode.SqueakProfile.toObject=function(e,t){var r={profileId:n.Message.getFieldWithDefault(t,1,0),profileName:n.Message.getFieldWithDefault(t,2,""),hasPrivateKey:n.Message.getFieldWithDefault(t,3,!1),pubkey:n.Message.getFieldWithDefault(t,4,""),following:n.Message.getFieldWithDefault(t,5,!1),profileImage:n.Message.getFieldWithDefault(t,6,""),hasCustomProfileImage:n.Message.getFieldWithDefault(t,7,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SqueakProfile.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SqueakProfile;return proto.squeaknode.SqueakProfile.deserializeBinaryFromReader(r,t)},proto.squeaknode.SqueakProfile.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setProfileId(r);break;case 2:r=t.readString();e.setProfileName(r);break;case 3:r=t.readBool();e.setHasPrivateKey(r);break;case 4:r=t.readString();e.setPubkey(r);break;case 5:r=t.readBool();e.setFollowing(r);break;case 6:r=t.readString();e.setProfileImage(r);break;case 7:r=t.readBool();e.setHasCustomProfileImage(r);break;default:t.skipField()}}return e},proto.squeaknode.SqueakProfile.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SqueakProfile.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SqueakProfile.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getProfileId())&&t.writeInt32(1,r),(r=e.getProfileName()).length>0&&t.writeString(2,r),(r=e.getHasPrivateKey())&&t.writeBool(3,r),(r=e.getPubkey()).length>0&&t.writeString(4,r),(r=e.getFollowing())&&t.writeBool(5,r),(r=e.getProfileImage()).length>0&&t.writeString(6,r),(r=e.getHasCustomProfileImage())&&t.writeBool(7,r)},proto.squeaknode.SqueakProfile.prototype.getProfileId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.SqueakProfile.prototype.setProfileId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.SqueakProfile.prototype.getProfileName=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.squeaknode.SqueakProfile.prototype.setProfileName=function(e){n.Message.setField(this,2,e)},proto.squeaknode.SqueakProfile.prototype.getHasPrivateKey=function(){return n.Message.getFieldWithDefault(this,3,!1)},proto.squeaknode.SqueakProfile.prototype.setHasPrivateKey=function(e){n.Message.setField(this,3,e)},proto.squeaknode.SqueakProfile.prototype.getPubkey=function(){return n.Message.getFieldWithDefault(this,4,"")},proto.squeaknode.SqueakProfile.prototype.setPubkey=function(e){n.Message.setField(this,4,e)},proto.squeaknode.SqueakProfile.prototype.getFollowing=function(){return n.Message.getFieldWithDefault(this,5,!1)},proto.squeaknode.SqueakProfile.prototype.setFollowing=function(e){n.Message.setField(this,5,e)},proto.squeaknode.SqueakProfile.prototype.getProfileImage=function(){return n.Message.getFieldWithDefault(this,6,"")},proto.squeaknode.SqueakProfile.prototype.setProfileImage=function(e){n.Message.setField(this,6,e)},proto.squeaknode.SqueakProfile.prototype.getHasCustomProfileImage=function(){return n.Message.getFieldWithDefault(this,7,!1)},proto.squeaknode.SqueakProfile.prototype.setHasCustomProfileImage=function(e){n.Message.setField(this,7,e)},proto.squeaknode.MakeSqueakRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.MakeSqueakRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.MakeSqueakRequest.displayName="proto.squeaknode.MakeSqueakRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.MakeSqueakRequest.prototype.toObject=function(e){return proto.squeaknode.MakeSqueakRequest.toObject(e,this)},proto.squeaknode.MakeSqueakRequest.toObject=function(e,t){var r={profileId:n.Message.getFieldWithDefault(t,1,0),content:n.Message.getFieldWithDefault(t,2,""),replyto:n.Message.getFieldWithDefault(t,3,""),hasRecipient:n.Message.getFieldWithDefault(t,4,!1),recipientProfileId:n.Message.getFieldWithDefault(t,5,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.MakeSqueakRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.MakeSqueakRequest;return proto.squeaknode.MakeSqueakRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.MakeSqueakRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setProfileId(r);break;case 2:r=t.readString();e.setContent(r);break;case 3:r=t.readString();e.setReplyto(r);break;case 4:r=t.readBool();e.setHasRecipient(r);break;case 5:r=t.readInt32();e.setRecipientProfileId(r);break;default:t.skipField()}}return e},proto.squeaknode.MakeSqueakRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.MakeSqueakRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.MakeSqueakRequest.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getProfileId())&&t.writeInt32(1,r),(r=e.getContent()).length>0&&t.writeString(2,r),(r=e.getReplyto()).length>0&&t.writeString(3,r),(r=e.getHasRecipient())&&t.writeBool(4,r),0!==(r=e.getRecipientProfileId())&&t.writeInt32(5,r)},proto.squeaknode.MakeSqueakRequest.prototype.getProfileId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.MakeSqueakRequest.prototype.setProfileId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.MakeSqueakRequest.prototype.getContent=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.squeaknode.MakeSqueakRequest.prototype.setContent=function(e){n.Message.setField(this,2,e)},proto.squeaknode.MakeSqueakRequest.prototype.getReplyto=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.squeaknode.MakeSqueakRequest.prototype.setReplyto=function(e){n.Message.setField(this,3,e)},proto.squeaknode.MakeSqueakRequest.prototype.getHasRecipient=function(){return n.Message.getFieldWithDefault(this,4,!1)},proto.squeaknode.MakeSqueakRequest.prototype.setHasRecipient=function(e){n.Message.setField(this,4,e)},proto.squeaknode.MakeSqueakRequest.prototype.getRecipientProfileId=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.squeaknode.MakeSqueakRequest.prototype.setRecipientProfileId=function(e){n.Message.setField(this,5,e)},proto.squeaknode.MakeSqueakReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.MakeSqueakReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.MakeSqueakReply.displayName="proto.squeaknode.MakeSqueakReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.MakeSqueakReply.prototype.toObject=function(e){return proto.squeaknode.MakeSqueakReply.toObject(e,this)},proto.squeaknode.MakeSqueakReply.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.MakeSqueakReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.MakeSqueakReply;return proto.squeaknode.MakeSqueakReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.MakeSqueakReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSqueakHash(r)}else t.skipField()}return e},proto.squeaknode.MakeSqueakReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.MakeSqueakReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.MakeSqueakReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakHash()).length>0&&t.writeString(1,r)},proto.squeaknode.MakeSqueakReply.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.MakeSqueakReply.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.MakeResqueakRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.MakeResqueakRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.MakeResqueakRequest.displayName="proto.squeaknode.MakeResqueakRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.MakeResqueakRequest.prototype.toObject=function(e){return proto.squeaknode.MakeResqueakRequest.toObject(e,this)},proto.squeaknode.MakeResqueakRequest.toObject=function(e,t){var r={profileId:n.Message.getFieldWithDefault(t,1,0),resqueakedHash:n.Message.getFieldWithDefault(t,2,""),replyto:n.Message.getFieldWithDefault(t,3,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.MakeResqueakRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.MakeResqueakRequest;return proto.squeaknode.MakeResqueakRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.MakeResqueakRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setProfileId(r);break;case 2:r=t.readString();e.setResqueakedHash(r);break;case 3:r=t.readString();e.setReplyto(r);break;default:t.skipField()}}return e},proto.squeaknode.MakeResqueakRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.MakeResqueakRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.MakeResqueakRequest.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getProfileId())&&t.writeInt32(1,r),(r=e.getResqueakedHash()).length>0&&t.writeString(2,r),(r=e.getReplyto()).length>0&&t.writeString(3,r)},proto.squeaknode.MakeResqueakRequest.prototype.getProfileId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.MakeResqueakRequest.prototype.setProfileId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.MakeResqueakRequest.prototype.getResqueakedHash=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.squeaknode.MakeResqueakRequest.prototype.setResqueakedHash=function(e){n.Message.setField(this,2,e)},proto.squeaknode.MakeResqueakRequest.prototype.getReplyto=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.squeaknode.MakeResqueakRequest.prototype.setReplyto=function(e){n.Message.setField(this,3,e)},proto.squeaknode.MakeResqueakReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.MakeResqueakReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.MakeResqueakReply.displayName="proto.squeaknode.MakeResqueakReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.MakeResqueakReply.prototype.toObject=function(e){return proto.squeaknode.MakeResqueakReply.toObject(e,this)},proto.squeaknode.MakeResqueakReply.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.MakeResqueakReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.MakeResqueakReply;return proto.squeaknode.MakeResqueakReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.MakeResqueakReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSqueakHash(r)}else t.skipField()}return e},proto.squeaknode.MakeResqueakReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.MakeResqueakReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.MakeResqueakReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakHash()).length>0&&t.writeString(1,r)},proto.squeaknode.MakeResqueakReply.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.MakeResqueakReply.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetSqueakDisplayRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSqueakDisplayRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSqueakDisplayRequest.displayName="proto.squeaknode.GetSqueakDisplayRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSqueakDisplayRequest.prototype.toObject=function(e){return proto.squeaknode.GetSqueakDisplayRequest.toObject(e,this)},proto.squeaknode.GetSqueakDisplayRequest.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetSqueakDisplayRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSqueakDisplayRequest;return proto.squeaknode.GetSqueakDisplayRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSqueakDisplayRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSqueakHash(r)}else t.skipField()}return e},proto.squeaknode.GetSqueakDisplayRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSqueakDisplayRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSqueakDisplayRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakHash()).length>0&&t.writeString(1,r)},proto.squeaknode.GetSqueakDisplayRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.GetSqueakDisplayRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetSqueakDisplayReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSqueakDisplayReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSqueakDisplayReply.displayName="proto.squeaknode.GetSqueakDisplayReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSqueakDisplayReply.prototype.toObject=function(e){return proto.squeaknode.GetSqueakDisplayReply.toObject(e,this)},proto.squeaknode.GetSqueakDisplayReply.toObject=function(e,t){var r,n={squeakDisplayEntry:(r=t.getSqueakDisplayEntry())&&proto.squeaknode.SqueakDisplayEntry.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.GetSqueakDisplayReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSqueakDisplayReply;return proto.squeaknode.GetSqueakDisplayReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSqueakDisplayReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SqueakDisplayEntry;t.readMessage(r,proto.squeaknode.SqueakDisplayEntry.deserializeBinaryFromReader),e.setSqueakDisplayEntry(r)}else t.skipField()}return e},proto.squeaknode.GetSqueakDisplayReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSqueakDisplayReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSqueakDisplayReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getSqueakDisplayEntry())&&t.writeMessage(1,r,proto.squeaknode.SqueakDisplayEntry.serializeBinaryToWriter)},proto.squeaknode.GetSqueakDisplayReply.prototype.getSqueakDisplayEntry=function(){return n.Message.getWrapperField(this,proto.squeaknode.SqueakDisplayEntry,1)},proto.squeaknode.GetSqueakDisplayReply.prototype.setSqueakDisplayEntry=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetSqueakDisplayReply.prototype.clearSqueakDisplayEntry=function(){this.setSqueakDisplayEntry(void 0)},proto.squeaknode.GetSqueakDisplayReply.prototype.hasSqueakDisplayEntry=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.SqueakDisplayEntry=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SqueakDisplayEntry,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SqueakDisplayEntry.displayName="proto.squeaknode.SqueakDisplayEntry"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SqueakDisplayEntry.prototype.toObject=function(e){return proto.squeaknode.SqueakDisplayEntry.toObject(e,this)},proto.squeaknode.SqueakDisplayEntry.toObject=function(e,t){var r,o={squeakHash:n.Message.getFieldWithDefault(t,1,""),isUnlocked:n.Message.getFieldWithDefault(t,2,!1),contentStr:n.Message.getFieldWithDefault(t,3,""),isReply:n.Message.getFieldWithDefault(t,4,!1),replyTo:n.Message.getFieldWithDefault(t,5,""),blockHeight:n.Message.getFieldWithDefault(t,6,0),blockHash:n.Message.getFieldWithDefault(t,7,""),blockTime:n.Message.getFieldWithDefault(t,8,0),squeakTime:n.Message.getFieldWithDefault(t,9,0),authorPubkey:n.Message.getFieldWithDefault(t,10,""),isAuthorKnown:n.Message.getFieldWithDefault(t,11,!1),author:(r=t.getAuthor())&&proto.squeaknode.SqueakProfile.toObject(e,r),likedTimeMs:n.Message.getFieldWithDefault(t,13,0),serializedSqueakHex:n.Message.getFieldWithDefault(t,14,""),secretKeyHex:n.Message.getFieldWithDefault(t,15,""),isPrivate:n.Message.getFieldWithDefault(t,16,!1),recipientPubkey:n.Message.getFieldWithDefault(t,17,""),isRecipientKnown:n.Message.getFieldWithDefault(t,18,!1),recipient:(r=t.getRecipient())&&proto.squeaknode.SqueakProfile.toObject(e,r),numReplies:n.Message.getFieldWithDefault(t,20,0),isResqueak:n.Message.getFieldWithDefault(t,21,!1),resqueakedHash:n.Message.getFieldWithDefault(t,22,""),resqueakedSqueak:(r=t.getResqueakedSqueak())&&proto.squeaknode.SqueakDisplayEntry.toObject(e,r),numResqueaks:n.Message.getFieldWithDefault(t,24,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.SqueakDisplayEntry.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SqueakDisplayEntry;return proto.squeaknode.SqueakDisplayEntry.deserializeBinaryFromReader(r,t)},proto.squeaknode.SqueakDisplayEntry.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setSqueakHash(r);break;case 2:r=t.readBool();e.setIsUnlocked(r);break;case 3:r=t.readString();e.setContentStr(r);break;case 4:r=t.readBool();e.setIsReply(r);break;case 5:r=t.readString();e.setReplyTo(r);break;case 6:r=t.readInt32();e.setBlockHeight(r);break;case 7:r=t.readString();e.setBlockHash(r);break;case 8:r=t.readInt64();e.setBlockTime(r);break;case 9:r=t.readInt64();e.setSqueakTime(r);break;case 10:r=t.readString();e.setAuthorPubkey(r);break;case 11:r=t.readBool();e.setIsAuthorKnown(r);break;case 12:r=new proto.squeaknode.SqueakProfile;t.readMessage(r,proto.squeaknode.SqueakProfile.deserializeBinaryFromReader),e.setAuthor(r);break;case 13:r=t.readInt64();e.setLikedTimeMs(r);break;case 14:r=t.readString();e.setSerializedSqueakHex(r);break;case 15:r=t.readString();e.setSecretKeyHex(r);break;case 16:r=t.readBool();e.setIsPrivate(r);break;case 17:r=t.readString();e.setRecipientPubkey(r);break;case 18:r=t.readBool();e.setIsRecipientKnown(r);break;case 19:r=new proto.squeaknode.SqueakProfile;t.readMessage(r,proto.squeaknode.SqueakProfile.deserializeBinaryFromReader),e.setRecipient(r);break;case 20:r=t.readInt32();e.setNumReplies(r);break;case 21:r=t.readBool();e.setIsResqueak(r);break;case 22:r=t.readString();e.setResqueakedHash(r);break;case 23:r=new proto.squeaknode.SqueakDisplayEntry;t.readMessage(r,proto.squeaknode.SqueakDisplayEntry.deserializeBinaryFromReader),e.setResqueakedSqueak(r);break;case 24:r=t.readInt32();e.setNumResqueaks(r);break;default:t.skipField()}}return e},proto.squeaknode.SqueakDisplayEntry.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SqueakDisplayEntry.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SqueakDisplayEntry.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getSqueakHash()).length>0&&t.writeString(1,r),(r=e.getIsUnlocked())&&t.writeBool(2,r),(r=e.getContentStr()).length>0&&t.writeString(3,r),(r=e.getIsReply())&&t.writeBool(4,r),(r=e.getReplyTo()).length>0&&t.writeString(5,r),0!==(r=e.getBlockHeight())&&t.writeInt32(6,r),(r=e.getBlockHash()).length>0&&t.writeString(7,r),0!==(r=e.getBlockTime())&&t.writeInt64(8,r),0!==(r=e.getSqueakTime())&&t.writeInt64(9,r),(r=e.getAuthorPubkey()).length>0&&t.writeString(10,r),(r=e.getIsAuthorKnown())&&t.writeBool(11,r),null!=(r=e.getAuthor())&&t.writeMessage(12,r,proto.squeaknode.SqueakProfile.serializeBinaryToWriter),0!==(r=e.getLikedTimeMs())&&t.writeInt64(13,r),(r=e.getSerializedSqueakHex()).length>0&&t.writeString(14,r),(r=e.getSecretKeyHex()).length>0&&t.writeString(15,r),(r=e.getIsPrivate())&&t.writeBool(16,r),(r=e.getRecipientPubkey()).length>0&&t.writeString(17,r),(r=e.getIsRecipientKnown())&&t.writeBool(18,r),null!=(r=e.getRecipient())&&t.writeMessage(19,r,proto.squeaknode.SqueakProfile.serializeBinaryToWriter),0!==(r=e.getNumReplies())&&t.writeInt32(20,r),(r=e.getIsResqueak())&&t.writeBool(21,r),(r=e.getResqueakedHash()).length>0&&t.writeString(22,r),null!=(r=e.getResqueakedSqueak())&&t.writeMessage(23,r,proto.squeaknode.SqueakDisplayEntry.serializeBinaryToWriter),0!==(r=e.getNumResqueaks())&&t.writeInt32(24,r)},proto.squeaknode.SqueakDisplayEntry.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.SqueakDisplayEntry.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getIsUnlocked=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.squeaknode.SqueakDisplayEntry.prototype.setIsUnlocked=function(e){n.Message.setField(this,2,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getContentStr=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.squeaknode.SqueakDisplayEntry.prototype.setContentStr=function(e){n.Message.setField(this,3,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getIsReply=function(){return n.Message.getFieldWithDefault(this,4,!1)},proto.squeaknode.SqueakDisplayEntry.prototype.setIsReply=function(e){n.Message.setField(this,4,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getReplyTo=function(){return n.Message.getFieldWithDefault(this,5,"")},proto.squeaknode.SqueakDisplayEntry.prototype.setReplyTo=function(e){n.Message.setField(this,5,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getBlockHeight=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.squeaknode.SqueakDisplayEntry.prototype.setBlockHeight=function(e){n.Message.setField(this,6,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getBlockHash=function(){return n.Message.getFieldWithDefault(this,7,"")},proto.squeaknode.SqueakDisplayEntry.prototype.setBlockHash=function(e){n.Message.setField(this,7,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getBlockTime=function(){return n.Message.getFieldWithDefault(this,8,0)},proto.squeaknode.SqueakDisplayEntry.prototype.setBlockTime=function(e){n.Message.setField(this,8,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getSqueakTime=function(){return n.Message.getFieldWithDefault(this,9,0)},proto.squeaknode.SqueakDisplayEntry.prototype.setSqueakTime=function(e){n.Message.setField(this,9,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getAuthorPubkey=function(){return n.Message.getFieldWithDefault(this,10,"")},proto.squeaknode.SqueakDisplayEntry.prototype.setAuthorPubkey=function(e){n.Message.setField(this,10,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getIsAuthorKnown=function(){return n.Message.getFieldWithDefault(this,11,!1)},proto.squeaknode.SqueakDisplayEntry.prototype.setIsAuthorKnown=function(e){n.Message.setField(this,11,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getAuthor=function(){return n.Message.getWrapperField(this,proto.squeaknode.SqueakProfile,12)},proto.squeaknode.SqueakDisplayEntry.prototype.setAuthor=function(e){n.Message.setWrapperField(this,12,e)},proto.squeaknode.SqueakDisplayEntry.prototype.clearAuthor=function(){this.setAuthor(void 0)},proto.squeaknode.SqueakDisplayEntry.prototype.hasAuthor=function(){return null!=n.Message.getField(this,12)},proto.squeaknode.SqueakDisplayEntry.prototype.getLikedTimeMs=function(){return n.Message.getFieldWithDefault(this,13,0)},proto.squeaknode.SqueakDisplayEntry.prototype.setLikedTimeMs=function(e){n.Message.setField(this,13,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getSerializedSqueakHex=function(){return n.Message.getFieldWithDefault(this,14,"")},proto.squeaknode.SqueakDisplayEntry.prototype.setSerializedSqueakHex=function(e){n.Message.setField(this,14,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getSecretKeyHex=function(){return n.Message.getFieldWithDefault(this,15,"")},proto.squeaknode.SqueakDisplayEntry.prototype.setSecretKeyHex=function(e){n.Message.setField(this,15,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getIsPrivate=function(){return n.Message.getFieldWithDefault(this,16,!1)},proto.squeaknode.SqueakDisplayEntry.prototype.setIsPrivate=function(e){n.Message.setField(this,16,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getRecipientPubkey=function(){return n.Message.getFieldWithDefault(this,17,"")},proto.squeaknode.SqueakDisplayEntry.prototype.setRecipientPubkey=function(e){n.Message.setField(this,17,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getIsRecipientKnown=function(){return n.Message.getFieldWithDefault(this,18,!1)},proto.squeaknode.SqueakDisplayEntry.prototype.setIsRecipientKnown=function(e){n.Message.setField(this,18,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getRecipient=function(){return n.Message.getWrapperField(this,proto.squeaknode.SqueakProfile,19)},proto.squeaknode.SqueakDisplayEntry.prototype.setRecipient=function(e){n.Message.setWrapperField(this,19,e)},proto.squeaknode.SqueakDisplayEntry.prototype.clearRecipient=function(){this.setRecipient(void 0)},proto.squeaknode.SqueakDisplayEntry.prototype.hasRecipient=function(){return null!=n.Message.getField(this,19)},proto.squeaknode.SqueakDisplayEntry.prototype.getNumReplies=function(){return n.Message.getFieldWithDefault(this,20,0)},proto.squeaknode.SqueakDisplayEntry.prototype.setNumReplies=function(e){n.Message.setField(this,20,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getIsResqueak=function(){return n.Message.getFieldWithDefault(this,21,!1)},proto.squeaknode.SqueakDisplayEntry.prototype.setIsResqueak=function(e){n.Message.setField(this,21,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getResqueakedHash=function(){return n.Message.getFieldWithDefault(this,22,"")},proto.squeaknode.SqueakDisplayEntry.prototype.setResqueakedHash=function(e){n.Message.setField(this,22,e)},proto.squeaknode.SqueakDisplayEntry.prototype.getResqueakedSqueak=function(){return n.Message.getWrapperField(this,proto.squeaknode.SqueakDisplayEntry,23)},proto.squeaknode.SqueakDisplayEntry.prototype.setResqueakedSqueak=function(e){n.Message.setWrapperField(this,23,e)},proto.squeaknode.SqueakDisplayEntry.prototype.clearResqueakedSqueak=function(){this.setResqueakedSqueak(void 0)},proto.squeaknode.SqueakDisplayEntry.prototype.hasResqueakedSqueak=function(){return null!=n.Message.getField(this,23)},proto.squeaknode.SqueakDisplayEntry.prototype.getNumResqueaks=function(){return n.Message.getFieldWithDefault(this,24,0)},proto.squeaknode.SqueakDisplayEntry.prototype.setNumResqueaks=function(e){n.Message.setField(this,24,e)},proto.squeaknode.GetTimelineSqueakDisplaysRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetTimelineSqueakDisplaysRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetTimelineSqueakDisplaysRequest.displayName="proto.squeaknode.GetTimelineSqueakDisplaysRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetTimelineSqueakDisplaysRequest.prototype.toObject=function(e){return proto.squeaknode.GetTimelineSqueakDisplaysRequest.toObject(e,this)},proto.squeaknode.GetTimelineSqueakDisplaysRequest.toObject=function(e,t){var r,o={limit:n.Message.getFieldWithDefault(t,1,0),lastEntry:(r=t.getLastEntry())&&proto.squeaknode.SqueakDisplayEntry.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.GetTimelineSqueakDisplaysRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetTimelineSqueakDisplaysRequest;return proto.squeaknode.GetTimelineSqueakDisplaysRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetTimelineSqueakDisplaysRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setLimit(r);break;case 2:r=new proto.squeaknode.SqueakDisplayEntry;t.readMessage(r,proto.squeaknode.SqueakDisplayEntry.deserializeBinaryFromReader),e.setLastEntry(r);break;default:t.skipField()}}return e},proto.squeaknode.GetTimelineSqueakDisplaysRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetTimelineSqueakDisplaysRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetTimelineSqueakDisplaysRequest.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getLimit())&&t.writeInt32(1,r),null!=(r=e.getLastEntry())&&t.writeMessage(2,r,proto.squeaknode.SqueakDisplayEntry.serializeBinaryToWriter)},proto.squeaknode.GetTimelineSqueakDisplaysRequest.prototype.getLimit=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.GetTimelineSqueakDisplaysRequest.prototype.setLimit=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetTimelineSqueakDisplaysRequest.prototype.getLastEntry=function(){return n.Message.getWrapperField(this,proto.squeaknode.SqueakDisplayEntry,2)},proto.squeaknode.GetTimelineSqueakDisplaysRequest.prototype.setLastEntry=function(e){n.Message.setWrapperField(this,2,e)},proto.squeaknode.GetTimelineSqueakDisplaysRequest.prototype.clearLastEntry=function(){this.setLastEntry(void 0)},proto.squeaknode.GetTimelineSqueakDisplaysRequest.prototype.hasLastEntry=function(){return null!=n.Message.getField(this,2)},proto.squeaknode.GetTimelineSqueakDisplaysReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetTimelineSqueakDisplaysReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetTimelineSqueakDisplaysReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetTimelineSqueakDisplaysReply.displayName="proto.squeaknode.GetTimelineSqueakDisplaysReply"),proto.squeaknode.GetTimelineSqueakDisplaysReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetTimelineSqueakDisplaysReply.prototype.toObject=function(e){return proto.squeaknode.GetTimelineSqueakDisplaysReply.toObject(e,this)},proto.squeaknode.GetTimelineSqueakDisplaysReply.toObject=function(e,t){var r={squeakDisplayEntriesList:n.Message.toObjectList(t.getSqueakDisplayEntriesList(),proto.squeaknode.SqueakDisplayEntry.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetTimelineSqueakDisplaysReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetTimelineSqueakDisplaysReply;return proto.squeaknode.GetTimelineSqueakDisplaysReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetTimelineSqueakDisplaysReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SqueakDisplayEntry;t.readMessage(r,proto.squeaknode.SqueakDisplayEntry.deserializeBinaryFromReader),e.addSqueakDisplayEntries(r)}else t.skipField()}return e},proto.squeaknode.GetTimelineSqueakDisplaysReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetTimelineSqueakDisplaysReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetTimelineSqueakDisplaysReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakDisplayEntriesList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.SqueakDisplayEntry.serializeBinaryToWriter)},proto.squeaknode.GetTimelineSqueakDisplaysReply.prototype.getSqueakDisplayEntriesList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.SqueakDisplayEntry,1)},proto.squeaknode.GetTimelineSqueakDisplaysReply.prototype.setSqueakDisplayEntriesList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetTimelineSqueakDisplaysReply.prototype.addSqueakDisplayEntries=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.SqueakDisplayEntry,t)},proto.squeaknode.GetTimelineSqueakDisplaysReply.prototype.clearSqueakDisplayEntriesList=function(){this.setSqueakDisplayEntriesList([])},proto.squeaknode.GetPubKeySqueakDisplaysRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetPubKeySqueakDisplaysRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetPubKeySqueakDisplaysRequest.displayName="proto.squeaknode.GetPubKeySqueakDisplaysRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetPubKeySqueakDisplaysRequest.prototype.toObject=function(e){return proto.squeaknode.GetPubKeySqueakDisplaysRequest.toObject(e,this)},proto.squeaknode.GetPubKeySqueakDisplaysRequest.toObject=function(e,t){var r,o={pubkey:n.Message.getFieldWithDefault(t,1,""),limit:n.Message.getFieldWithDefault(t,2,0),lastEntry:(r=t.getLastEntry())&&proto.squeaknode.SqueakDisplayEntry.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.GetPubKeySqueakDisplaysRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetPubKeySqueakDisplaysRequest;return proto.squeaknode.GetPubKeySqueakDisplaysRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetPubKeySqueakDisplaysRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setPubkey(r);break;case 2:r=t.readInt32();e.setLimit(r);break;case 3:r=new proto.squeaknode.SqueakDisplayEntry;t.readMessage(r,proto.squeaknode.SqueakDisplayEntry.deserializeBinaryFromReader),e.setLastEntry(r);break;default:t.skipField()}}return e},proto.squeaknode.GetPubKeySqueakDisplaysRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetPubKeySqueakDisplaysRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetPubKeySqueakDisplaysRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPubkey()).length>0&&t.writeString(1,r),0!==(r=e.getLimit())&&t.writeInt32(2,r),null!=(r=e.getLastEntry())&&t.writeMessage(3,r,proto.squeaknode.SqueakDisplayEntry.serializeBinaryToWriter)},proto.squeaknode.GetPubKeySqueakDisplaysRequest.prototype.getPubkey=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.GetPubKeySqueakDisplaysRequest.prototype.setPubkey=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetPubKeySqueakDisplaysRequest.prototype.getLimit=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.squeaknode.GetPubKeySqueakDisplaysRequest.prototype.setLimit=function(e){n.Message.setField(this,2,e)},proto.squeaknode.GetPubKeySqueakDisplaysRequest.prototype.getLastEntry=function(){return n.Message.getWrapperField(this,proto.squeaknode.SqueakDisplayEntry,3)},proto.squeaknode.GetPubKeySqueakDisplaysRequest.prototype.setLastEntry=function(e){n.Message.setWrapperField(this,3,e)},proto.squeaknode.GetPubKeySqueakDisplaysRequest.prototype.clearLastEntry=function(){this.setLastEntry(void 0)},proto.squeaknode.GetPubKeySqueakDisplaysRequest.prototype.hasLastEntry=function(){return null!=n.Message.getField(this,3)},proto.squeaknode.GetPubKeySqueakDisplaysReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetPubKeySqueakDisplaysReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetPubKeySqueakDisplaysReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetPubKeySqueakDisplaysReply.displayName="proto.squeaknode.GetPubKeySqueakDisplaysReply"),proto.squeaknode.GetPubKeySqueakDisplaysReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetPubKeySqueakDisplaysReply.prototype.toObject=function(e){return proto.squeaknode.GetPubKeySqueakDisplaysReply.toObject(e,this)},proto.squeaknode.GetPubKeySqueakDisplaysReply.toObject=function(e,t){var r={squeakDisplayEntriesList:n.Message.toObjectList(t.getSqueakDisplayEntriesList(),proto.squeaknode.SqueakDisplayEntry.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetPubKeySqueakDisplaysReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetPubKeySqueakDisplaysReply;return proto.squeaknode.GetPubKeySqueakDisplaysReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetPubKeySqueakDisplaysReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SqueakDisplayEntry;t.readMessage(r,proto.squeaknode.SqueakDisplayEntry.deserializeBinaryFromReader),e.addSqueakDisplayEntries(r)}else t.skipField()}return e},proto.squeaknode.GetPubKeySqueakDisplaysReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetPubKeySqueakDisplaysReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetPubKeySqueakDisplaysReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakDisplayEntriesList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.SqueakDisplayEntry.serializeBinaryToWriter)},proto.squeaknode.GetPubKeySqueakDisplaysReply.prototype.getSqueakDisplayEntriesList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.SqueakDisplayEntry,1)},proto.squeaknode.GetPubKeySqueakDisplaysReply.prototype.setSqueakDisplayEntriesList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetPubKeySqueakDisplaysReply.prototype.addSqueakDisplayEntries=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.SqueakDisplayEntry,t)},proto.squeaknode.GetPubKeySqueakDisplaysReply.prototype.clearSqueakDisplayEntriesList=function(){this.setSqueakDisplayEntriesList([])},proto.squeaknode.GetSearchSqueakDisplaysRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSearchSqueakDisplaysRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSearchSqueakDisplaysRequest.displayName="proto.squeaknode.GetSearchSqueakDisplaysRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSearchSqueakDisplaysRequest.prototype.toObject=function(e){return proto.squeaknode.GetSearchSqueakDisplaysRequest.toObject(e,this)},proto.squeaknode.GetSearchSqueakDisplaysRequest.toObject=function(e,t){var r,o={searchText:n.Message.getFieldWithDefault(t,1,""),limit:n.Message.getFieldWithDefault(t,2,0),lastEntry:(r=t.getLastEntry())&&proto.squeaknode.SqueakDisplayEntry.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.GetSearchSqueakDisplaysRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSearchSqueakDisplaysRequest;return proto.squeaknode.GetSearchSqueakDisplaysRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSearchSqueakDisplaysRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setSearchText(r);break;case 2:r=t.readInt32();e.setLimit(r);break;case 3:r=new proto.squeaknode.SqueakDisplayEntry;t.readMessage(r,proto.squeaknode.SqueakDisplayEntry.deserializeBinaryFromReader),e.setLastEntry(r);break;default:t.skipField()}}return e},proto.squeaknode.GetSearchSqueakDisplaysRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSearchSqueakDisplaysRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSearchSqueakDisplaysRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getSearchText()).length>0&&t.writeString(1,r),0!==(r=e.getLimit())&&t.writeInt32(2,r),null!=(r=e.getLastEntry())&&t.writeMessage(3,r,proto.squeaknode.SqueakDisplayEntry.serializeBinaryToWriter)},proto.squeaknode.GetSearchSqueakDisplaysRequest.prototype.getSearchText=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.GetSearchSqueakDisplaysRequest.prototype.setSearchText=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetSearchSqueakDisplaysRequest.prototype.getLimit=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.squeaknode.GetSearchSqueakDisplaysRequest.prototype.setLimit=function(e){n.Message.setField(this,2,e)},proto.squeaknode.GetSearchSqueakDisplaysRequest.prototype.getLastEntry=function(){return n.Message.getWrapperField(this,proto.squeaknode.SqueakDisplayEntry,3)},proto.squeaknode.GetSearchSqueakDisplaysRequest.prototype.setLastEntry=function(e){n.Message.setWrapperField(this,3,e)},proto.squeaknode.GetSearchSqueakDisplaysRequest.prototype.clearLastEntry=function(){this.setLastEntry(void 0)},proto.squeaknode.GetSearchSqueakDisplaysRequest.prototype.hasLastEntry=function(){return null!=n.Message.getField(this,3)},proto.squeaknode.GetSearchSqueakDisplaysReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetSearchSqueakDisplaysReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetSearchSqueakDisplaysReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSearchSqueakDisplaysReply.displayName="proto.squeaknode.GetSearchSqueakDisplaysReply"),proto.squeaknode.GetSearchSqueakDisplaysReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSearchSqueakDisplaysReply.prototype.toObject=function(e){return proto.squeaknode.GetSearchSqueakDisplaysReply.toObject(e,this)},proto.squeaknode.GetSearchSqueakDisplaysReply.toObject=function(e,t){var r={squeakDisplayEntriesList:n.Message.toObjectList(t.getSqueakDisplayEntriesList(),proto.squeaknode.SqueakDisplayEntry.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetSearchSqueakDisplaysReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSearchSqueakDisplaysReply;return proto.squeaknode.GetSearchSqueakDisplaysReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSearchSqueakDisplaysReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SqueakDisplayEntry;t.readMessage(r,proto.squeaknode.SqueakDisplayEntry.deserializeBinaryFromReader),e.addSqueakDisplayEntries(r)}else t.skipField()}return e},proto.squeaknode.GetSearchSqueakDisplaysReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSearchSqueakDisplaysReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSearchSqueakDisplaysReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakDisplayEntriesList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.SqueakDisplayEntry.serializeBinaryToWriter)},proto.squeaknode.GetSearchSqueakDisplaysReply.prototype.getSqueakDisplayEntriesList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.SqueakDisplayEntry,1)},proto.squeaknode.GetSearchSqueakDisplaysReply.prototype.setSqueakDisplayEntriesList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetSearchSqueakDisplaysReply.prototype.addSqueakDisplayEntries=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.SqueakDisplayEntry,t)},proto.squeaknode.GetSearchSqueakDisplaysReply.prototype.clearSqueakDisplayEntriesList=function(){this.setSqueakDisplayEntriesList([])},proto.squeaknode.GetAncestorSqueakDisplaysRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetAncestorSqueakDisplaysRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetAncestorSqueakDisplaysRequest.displayName="proto.squeaknode.GetAncestorSqueakDisplaysRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetAncestorSqueakDisplaysRequest.prototype.toObject=function(e){return proto.squeaknode.GetAncestorSqueakDisplaysRequest.toObject(e,this)},proto.squeaknode.GetAncestorSqueakDisplaysRequest.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetAncestorSqueakDisplaysRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetAncestorSqueakDisplaysRequest;return proto.squeaknode.GetAncestorSqueakDisplaysRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetAncestorSqueakDisplaysRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSqueakHash(r)}else t.skipField()}return e},proto.squeaknode.GetAncestorSqueakDisplaysRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetAncestorSqueakDisplaysRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetAncestorSqueakDisplaysRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakHash()).length>0&&t.writeString(1,r)},proto.squeaknode.GetAncestorSqueakDisplaysRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.GetAncestorSqueakDisplaysRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetAncestorSqueakDisplaysReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetAncestorSqueakDisplaysReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetAncestorSqueakDisplaysReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetAncestorSqueakDisplaysReply.displayName="proto.squeaknode.GetAncestorSqueakDisplaysReply"),proto.squeaknode.GetAncestorSqueakDisplaysReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetAncestorSqueakDisplaysReply.prototype.toObject=function(e){return proto.squeaknode.GetAncestorSqueakDisplaysReply.toObject(e,this)},proto.squeaknode.GetAncestorSqueakDisplaysReply.toObject=function(e,t){var r={squeakDisplayEntriesList:n.Message.toObjectList(t.getSqueakDisplayEntriesList(),proto.squeaknode.SqueakDisplayEntry.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetAncestorSqueakDisplaysReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetAncestorSqueakDisplaysReply;return proto.squeaknode.GetAncestorSqueakDisplaysReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetAncestorSqueakDisplaysReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SqueakDisplayEntry;t.readMessage(r,proto.squeaknode.SqueakDisplayEntry.deserializeBinaryFromReader),e.addSqueakDisplayEntries(r)}else t.skipField()}return e},proto.squeaknode.GetAncestorSqueakDisplaysReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetAncestorSqueakDisplaysReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetAncestorSqueakDisplaysReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakDisplayEntriesList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.SqueakDisplayEntry.serializeBinaryToWriter)},proto.squeaknode.GetAncestorSqueakDisplaysReply.prototype.getSqueakDisplayEntriesList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.SqueakDisplayEntry,1)},proto.squeaknode.GetAncestorSqueakDisplaysReply.prototype.setSqueakDisplayEntriesList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetAncestorSqueakDisplaysReply.prototype.addSqueakDisplayEntries=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.SqueakDisplayEntry,t)},proto.squeaknode.GetAncestorSqueakDisplaysReply.prototype.clearSqueakDisplayEntriesList=function(){this.setSqueakDisplayEntriesList([])},proto.squeaknode.GetReplySqueakDisplaysRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetReplySqueakDisplaysRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetReplySqueakDisplaysRequest.displayName="proto.squeaknode.GetReplySqueakDisplaysRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetReplySqueakDisplaysRequest.prototype.toObject=function(e){return proto.squeaknode.GetReplySqueakDisplaysRequest.toObject(e,this)},proto.squeaknode.GetReplySqueakDisplaysRequest.toObject=function(e,t){var r,o={squeakHash:n.Message.getFieldWithDefault(t,1,""),limit:n.Message.getFieldWithDefault(t,2,0),lastEntry:(r=t.getLastEntry())&&proto.squeaknode.SqueakDisplayEntry.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.GetReplySqueakDisplaysRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetReplySqueakDisplaysRequest;return proto.squeaknode.GetReplySqueakDisplaysRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetReplySqueakDisplaysRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setSqueakHash(r);break;case 2:r=t.readInt32();e.setLimit(r);break;case 3:r=new proto.squeaknode.SqueakDisplayEntry;t.readMessage(r,proto.squeaknode.SqueakDisplayEntry.deserializeBinaryFromReader),e.setLastEntry(r);break;default:t.skipField()}}return e},proto.squeaknode.GetReplySqueakDisplaysRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetReplySqueakDisplaysRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetReplySqueakDisplaysRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getSqueakHash()).length>0&&t.writeString(1,r),0!==(r=e.getLimit())&&t.writeInt32(2,r),null!=(r=e.getLastEntry())&&t.writeMessage(3,r,proto.squeaknode.SqueakDisplayEntry.serializeBinaryToWriter)},proto.squeaknode.GetReplySqueakDisplaysRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.GetReplySqueakDisplaysRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetReplySqueakDisplaysRequest.prototype.getLimit=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.squeaknode.GetReplySqueakDisplaysRequest.prototype.setLimit=function(e){n.Message.setField(this,2,e)},proto.squeaknode.GetReplySqueakDisplaysRequest.prototype.getLastEntry=function(){return n.Message.getWrapperField(this,proto.squeaknode.SqueakDisplayEntry,3)},proto.squeaknode.GetReplySqueakDisplaysRequest.prototype.setLastEntry=function(e){n.Message.setWrapperField(this,3,e)},proto.squeaknode.GetReplySqueakDisplaysRequest.prototype.clearLastEntry=function(){this.setLastEntry(void 0)},proto.squeaknode.GetReplySqueakDisplaysRequest.prototype.hasLastEntry=function(){return null!=n.Message.getField(this,3)},proto.squeaknode.GetReplySqueakDisplaysReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetReplySqueakDisplaysReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetReplySqueakDisplaysReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetReplySqueakDisplaysReply.displayName="proto.squeaknode.GetReplySqueakDisplaysReply"),proto.squeaknode.GetReplySqueakDisplaysReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetReplySqueakDisplaysReply.prototype.toObject=function(e){return proto.squeaknode.GetReplySqueakDisplaysReply.toObject(e,this)},proto.squeaknode.GetReplySqueakDisplaysReply.toObject=function(e,t){var r={squeakDisplayEntriesList:n.Message.toObjectList(t.getSqueakDisplayEntriesList(),proto.squeaknode.SqueakDisplayEntry.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetReplySqueakDisplaysReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetReplySqueakDisplaysReply;return proto.squeaknode.GetReplySqueakDisplaysReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetReplySqueakDisplaysReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SqueakDisplayEntry;t.readMessage(r,proto.squeaknode.SqueakDisplayEntry.deserializeBinaryFromReader),e.addSqueakDisplayEntries(r)}else t.skipField()}return e},proto.squeaknode.GetReplySqueakDisplaysReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetReplySqueakDisplaysReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetReplySqueakDisplaysReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakDisplayEntriesList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.SqueakDisplayEntry.serializeBinaryToWriter)},proto.squeaknode.GetReplySqueakDisplaysReply.prototype.getSqueakDisplayEntriesList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.SqueakDisplayEntry,1)},proto.squeaknode.GetReplySqueakDisplaysReply.prototype.setSqueakDisplayEntriesList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetReplySqueakDisplaysReply.prototype.addSqueakDisplayEntries=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.SqueakDisplayEntry,t)},proto.squeaknode.GetReplySqueakDisplaysReply.prototype.clearSqueakDisplayEntriesList=function(){this.setSqueakDisplayEntriesList([])},proto.squeaknode.DeleteSqueakRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DeleteSqueakRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DeleteSqueakRequest.displayName="proto.squeaknode.DeleteSqueakRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DeleteSqueakRequest.prototype.toObject=function(e){return proto.squeaknode.DeleteSqueakRequest.toObject(e,this)},proto.squeaknode.DeleteSqueakRequest.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.DeleteSqueakRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DeleteSqueakRequest;return proto.squeaknode.DeleteSqueakRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.DeleteSqueakRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSqueakHash(r)}else t.skipField()}return e},proto.squeaknode.DeleteSqueakRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DeleteSqueakRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DeleteSqueakRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakHash()).length>0&&t.writeString(1,r)},proto.squeaknode.DeleteSqueakRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.DeleteSqueakRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.DeleteSqueakReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DeleteSqueakReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DeleteSqueakReply.displayName="proto.squeaknode.DeleteSqueakReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DeleteSqueakReply.prototype.toObject=function(e){return proto.squeaknode.DeleteSqueakReply.toObject(e,this)},proto.squeaknode.DeleteSqueakReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.DeleteSqueakReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DeleteSqueakReply;return proto.squeaknode.DeleteSqueakReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.DeleteSqueakReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.DeleteSqueakReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DeleteSqueakReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DeleteSqueakReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.CreatePeerRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.CreatePeerRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.CreatePeerRequest.displayName="proto.squeaknode.CreatePeerRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.CreatePeerRequest.prototype.toObject=function(e){return proto.squeaknode.CreatePeerRequest.toObject(e,this)},proto.squeaknode.CreatePeerRequest.toObject=function(e,t){var r,o={peerName:n.Message.getFieldWithDefault(t,1,""),peerAddress:(r=t.getPeerAddress())&&proto.squeaknode.PeerAddress.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.CreatePeerRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.CreatePeerRequest;return proto.squeaknode.CreatePeerRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.CreatePeerRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setPeerName(r);break;case 2:r=new proto.squeaknode.PeerAddress;t.readMessage(r,proto.squeaknode.PeerAddress.deserializeBinaryFromReader),e.setPeerAddress(r);break;default:t.skipField()}}return e},proto.squeaknode.CreatePeerRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.CreatePeerRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.CreatePeerRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPeerName()).length>0&&t.writeString(1,r),null!=(r=e.getPeerAddress())&&t.writeMessage(2,r,proto.squeaknode.PeerAddress.serializeBinaryToWriter)};proto.squeaknode.CreatePeerRequest.prototype.getPeerName=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.CreatePeerRequest.prototype.setPeerName=function(e){n.Message.setField(this,1,e)},proto.squeaknode.CreatePeerRequest.prototype.getPeerAddress=function(){return n.Message.getWrapperField(this,proto.squeaknode.PeerAddress,2)},proto.squeaknode.CreatePeerRequest.prototype.setPeerAddress=function(e){n.Message.setWrapperField(this,2,e)},proto.squeaknode.CreatePeerRequest.prototype.clearPeerAddress=function(){this.setPeerAddress(void 0)},proto.squeaknode.CreatePeerRequest.prototype.hasPeerAddress=function(){return null!=n.Message.getField(this,2)},proto.squeaknode.CreatePeerReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.CreatePeerReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.CreatePeerReply.displayName="proto.squeaknode.CreatePeerReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.CreatePeerReply.prototype.toObject=function(e){return proto.squeaknode.CreatePeerReply.toObject(e,this)},proto.squeaknode.CreatePeerReply.toObject=function(e,t){var r={peerId:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.CreatePeerReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.CreatePeerReply;return proto.squeaknode.CreatePeerReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.CreatePeerReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt32();e.setPeerId(r)}else t.skipField()}return e},proto.squeaknode.CreatePeerReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.CreatePeerReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.CreatePeerReply.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getPeerId())&&t.writeInt32(1,r)},proto.squeaknode.CreatePeerReply.prototype.getPeerId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.CreatePeerReply.prototype.setPeerId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetPeerRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetPeerRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetPeerRequest.displayName="proto.squeaknode.GetPeerRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetPeerRequest.prototype.toObject=function(e){return proto.squeaknode.GetPeerRequest.toObject(e,this)},proto.squeaknode.GetPeerRequest.toObject=function(e,t){var r={peerId:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetPeerRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetPeerRequest;return proto.squeaknode.GetPeerRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetPeerRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt32();e.setPeerId(r)}else t.skipField()}return e},proto.squeaknode.GetPeerRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetPeerRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetPeerRequest.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getPeerId())&&t.writeInt32(1,r)},proto.squeaknode.GetPeerRequest.prototype.getPeerId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.GetPeerRequest.prototype.setPeerId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetPeerReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetPeerReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetPeerReply.displayName="proto.squeaknode.GetPeerReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetPeerReply.prototype.toObject=function(e){return proto.squeaknode.GetPeerReply.toObject(e,this)},proto.squeaknode.GetPeerReply.toObject=function(e,t){var r,n={squeakPeer:(r=t.getSqueakPeer())&&proto.squeaknode.SqueakPeer.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.GetPeerReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetPeerReply;return proto.squeaknode.GetPeerReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetPeerReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SqueakPeer;t.readMessage(r,proto.squeaknode.SqueakPeer.deserializeBinaryFromReader),e.setSqueakPeer(r)}else t.skipField()}return e},proto.squeaknode.GetPeerReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetPeerReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetPeerReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getSqueakPeer())&&t.writeMessage(1,r,proto.squeaknode.SqueakPeer.serializeBinaryToWriter)},proto.squeaknode.GetPeerReply.prototype.getSqueakPeer=function(){return n.Message.getWrapperField(this,proto.squeaknode.SqueakPeer,1)},proto.squeaknode.GetPeerReply.prototype.setSqueakPeer=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetPeerReply.prototype.clearSqueakPeer=function(){this.setSqueakPeer(void 0)},proto.squeaknode.GetPeerReply.prototype.hasSqueakPeer=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.GetPeerByAddressRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetPeerByAddressRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetPeerByAddressRequest.displayName="proto.squeaknode.GetPeerByAddressRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetPeerByAddressRequest.prototype.toObject=function(e){return proto.squeaknode.GetPeerByAddressRequest.toObject(e,this)},proto.squeaknode.GetPeerByAddressRequest.toObject=function(e,t){var r,n={peerAddress:(r=t.getPeerAddress())&&proto.squeaknode.PeerAddress.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.GetPeerByAddressRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetPeerByAddressRequest;return proto.squeaknode.GetPeerByAddressRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetPeerByAddressRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.PeerAddress;t.readMessage(r,proto.squeaknode.PeerAddress.deserializeBinaryFromReader),e.setPeerAddress(r)}else t.skipField()}return e},proto.squeaknode.GetPeerByAddressRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetPeerByAddressRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetPeerByAddressRequest.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getPeerAddress())&&t.writeMessage(1,r,proto.squeaknode.PeerAddress.serializeBinaryToWriter)},proto.squeaknode.GetPeerByAddressRequest.prototype.getPeerAddress=function(){return n.Message.getWrapperField(this,proto.squeaknode.PeerAddress,1)},proto.squeaknode.GetPeerByAddressRequest.prototype.setPeerAddress=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetPeerByAddressRequest.prototype.clearPeerAddress=function(){this.setPeerAddress(void 0)},proto.squeaknode.GetPeerByAddressRequest.prototype.hasPeerAddress=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.GetPeerByAddressReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetPeerByAddressReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetPeerByAddressReply.displayName="proto.squeaknode.GetPeerByAddressReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetPeerByAddressReply.prototype.toObject=function(e){return proto.squeaknode.GetPeerByAddressReply.toObject(e,this)},proto.squeaknode.GetPeerByAddressReply.toObject=function(e,t){var r,n={squeakPeer:(r=t.getSqueakPeer())&&proto.squeaknode.SqueakPeer.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.GetPeerByAddressReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetPeerByAddressReply;return proto.squeaknode.GetPeerByAddressReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetPeerByAddressReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SqueakPeer;t.readMessage(r,proto.squeaknode.SqueakPeer.deserializeBinaryFromReader),e.setSqueakPeer(r)}else t.skipField()}return e},proto.squeaknode.GetPeerByAddressReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetPeerByAddressReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetPeerByAddressReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getSqueakPeer())&&t.writeMessage(1,r,proto.squeaknode.SqueakPeer.serializeBinaryToWriter)},proto.squeaknode.GetPeerByAddressReply.prototype.getSqueakPeer=function(){return n.Message.getWrapperField(this,proto.squeaknode.SqueakPeer,1)},proto.squeaknode.GetPeerByAddressReply.prototype.setSqueakPeer=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetPeerByAddressReply.prototype.clearSqueakPeer=function(){this.setSqueakPeer(void 0)},proto.squeaknode.GetPeerByAddressReply.prototype.hasSqueakPeer=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.GetPeersRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetPeersRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetPeersRequest.displayName="proto.squeaknode.GetPeersRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetPeersRequest.prototype.toObject=function(e){return proto.squeaknode.GetPeersRequest.toObject(e,this)},proto.squeaknode.GetPeersRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetPeersRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetPeersRequest;return proto.squeaknode.GetPeersRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetPeersRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.GetPeersRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetPeersRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetPeersRequest.serializeBinaryToWriter=function(e,t){},proto.squeaknode.GetPeersReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetPeersReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetPeersReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetPeersReply.displayName="proto.squeaknode.GetPeersReply"),proto.squeaknode.GetPeersReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetPeersReply.prototype.toObject=function(e){return proto.squeaknode.GetPeersReply.toObject(e,this)},proto.squeaknode.GetPeersReply.toObject=function(e,t){var r={squeakPeersList:n.Message.toObjectList(t.getSqueakPeersList(),proto.squeaknode.SqueakPeer.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetPeersReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetPeersReply;return proto.squeaknode.GetPeersReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetPeersReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SqueakPeer;t.readMessage(r,proto.squeaknode.SqueakPeer.deserializeBinaryFromReader),e.addSqueakPeers(r)}else t.skipField()}return e},proto.squeaknode.GetPeersReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetPeersReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetPeersReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakPeersList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.SqueakPeer.serializeBinaryToWriter)},proto.squeaknode.GetPeersReply.prototype.getSqueakPeersList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.SqueakPeer,1)},proto.squeaknode.GetPeersReply.prototype.setSqueakPeersList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetPeersReply.prototype.addSqueakPeers=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.SqueakPeer,t)},proto.squeaknode.GetPeersReply.prototype.clearSqueakPeersList=function(){this.setSqueakPeersList([])},proto.squeaknode.SqueakPeer=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SqueakPeer,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SqueakPeer.displayName="proto.squeaknode.SqueakPeer"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SqueakPeer.prototype.toObject=function(e){return proto.squeaknode.SqueakPeer.toObject(e,this)},proto.squeaknode.SqueakPeer.toObject=function(e,t){var r,o={peerId:n.Message.getFieldWithDefault(t,1,0),peerName:n.Message.getFieldWithDefault(t,2,""),peerAddress:(r=t.getPeerAddress())&&proto.squeaknode.PeerAddress.toObject(e,r),autoconnect:n.Message.getFieldWithDefault(t,4,!1),shareForFree:n.Message.getFieldWithDefault(t,5,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.SqueakPeer.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SqueakPeer;return proto.squeaknode.SqueakPeer.deserializeBinaryFromReader(r,t)},proto.squeaknode.SqueakPeer.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setPeerId(r);break;case 2:r=t.readString();e.setPeerName(r);break;case 3:r=new proto.squeaknode.PeerAddress;t.readMessage(r,proto.squeaknode.PeerAddress.deserializeBinaryFromReader),e.setPeerAddress(r);break;case 4:r=t.readBool();e.setAutoconnect(r);break;case 5:r=t.readBool();e.setShareForFree(r);break;default:t.skipField()}}return e},proto.squeaknode.SqueakPeer.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SqueakPeer.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SqueakPeer.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getPeerId())&&t.writeInt32(1,r),(r=e.getPeerName()).length>0&&t.writeString(2,r),null!=(r=e.getPeerAddress())&&t.writeMessage(3,r,proto.squeaknode.PeerAddress.serializeBinaryToWriter),(r=e.getAutoconnect())&&t.writeBool(4,r),(r=e.getShareForFree())&&t.writeBool(5,r)},proto.squeaknode.SqueakPeer.prototype.getPeerId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.SqueakPeer.prototype.setPeerId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.SqueakPeer.prototype.getPeerName=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.squeaknode.SqueakPeer.prototype.setPeerName=function(e){n.Message.setField(this,2,e)},proto.squeaknode.SqueakPeer.prototype.getPeerAddress=function(){return n.Message.getWrapperField(this,proto.squeaknode.PeerAddress,3)},proto.squeaknode.SqueakPeer.prototype.setPeerAddress=function(e){n.Message.setWrapperField(this,3,e)},proto.squeaknode.SqueakPeer.prototype.clearPeerAddress=function(){this.setPeerAddress(void 0)},proto.squeaknode.SqueakPeer.prototype.hasPeerAddress=function(){return null!=n.Message.getField(this,3)},proto.squeaknode.SqueakPeer.prototype.getAutoconnect=function(){return n.Message.getFieldWithDefault(this,4,!1)},proto.squeaknode.SqueakPeer.prototype.setAutoconnect=function(e){n.Message.setField(this,4,e)},proto.squeaknode.SqueakPeer.prototype.getShareForFree=function(){return n.Message.getFieldWithDefault(this,5,!1)},proto.squeaknode.SqueakPeer.prototype.setShareForFree=function(e){n.Message.setField(this,5,e)},proto.squeaknode.SetPeerAutoconnectRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SetPeerAutoconnectRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SetPeerAutoconnectRequest.displayName="proto.squeaknode.SetPeerAutoconnectRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SetPeerAutoconnectRequest.prototype.toObject=function(e){return proto.squeaknode.SetPeerAutoconnectRequest.toObject(e,this)},proto.squeaknode.SetPeerAutoconnectRequest.toObject=function(e,t){var r={peerId:n.Message.getFieldWithDefault(t,1,0),autoconnect:n.Message.getFieldWithDefault(t,2,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SetPeerAutoconnectRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SetPeerAutoconnectRequest;return proto.squeaknode.SetPeerAutoconnectRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.SetPeerAutoconnectRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setPeerId(r);break;case 2:r=t.readBool();e.setAutoconnect(r);break;default:t.skipField()}}return e},proto.squeaknode.SetPeerAutoconnectRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SetPeerAutoconnectRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SetPeerAutoconnectRequest.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getPeerId())&&t.writeInt32(1,r),(r=e.getAutoconnect())&&t.writeBool(2,r)},proto.squeaknode.SetPeerAutoconnectRequest.prototype.getPeerId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.SetPeerAutoconnectRequest.prototype.setPeerId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.SetPeerAutoconnectRequest.prototype.getAutoconnect=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.squeaknode.SetPeerAutoconnectRequest.prototype.setAutoconnect=function(e){n.Message.setField(this,2,e)},proto.squeaknode.SetPeerAutoconnectReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SetPeerAutoconnectReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SetPeerAutoconnectReply.displayName="proto.squeaknode.SetPeerAutoconnectReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SetPeerAutoconnectReply.prototype.toObject=function(e){return proto.squeaknode.SetPeerAutoconnectReply.toObject(e,this)},proto.squeaknode.SetPeerAutoconnectReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SetPeerAutoconnectReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SetPeerAutoconnectReply;return proto.squeaknode.SetPeerAutoconnectReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.SetPeerAutoconnectReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.SetPeerAutoconnectReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SetPeerAutoconnectReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SetPeerAutoconnectReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.SetPeerShareForFreeRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SetPeerShareForFreeRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SetPeerShareForFreeRequest.displayName="proto.squeaknode.SetPeerShareForFreeRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SetPeerShareForFreeRequest.prototype.toObject=function(e){return proto.squeaknode.SetPeerShareForFreeRequest.toObject(e,this)},proto.squeaknode.SetPeerShareForFreeRequest.toObject=function(e,t){var r={peerId:n.Message.getFieldWithDefault(t,1,0),shareForFree:n.Message.getFieldWithDefault(t,2,!1)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SetPeerShareForFreeRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SetPeerShareForFreeRequest;return proto.squeaknode.SetPeerShareForFreeRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.SetPeerShareForFreeRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setPeerId(r);break;case 2:r=t.readBool();e.setShareForFree(r);break;default:t.skipField()}}return e},proto.squeaknode.SetPeerShareForFreeRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SetPeerShareForFreeRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SetPeerShareForFreeRequest.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getPeerId())&&t.writeInt32(1,r),(r=e.getShareForFree())&&t.writeBool(2,r)},proto.squeaknode.SetPeerShareForFreeRequest.prototype.getPeerId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.SetPeerShareForFreeRequest.prototype.setPeerId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.SetPeerShareForFreeRequest.prototype.getShareForFree=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.squeaknode.SetPeerShareForFreeRequest.prototype.setShareForFree=function(e){n.Message.setField(this,2,e)},proto.squeaknode.SetPeerShareForFreeReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SetPeerShareForFreeReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SetPeerShareForFreeReply.displayName="proto.squeaknode.SetPeerShareForFreeReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SetPeerShareForFreeReply.prototype.toObject=function(e){return proto.squeaknode.SetPeerShareForFreeReply.toObject(e,this)},proto.squeaknode.SetPeerShareForFreeReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SetPeerShareForFreeReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SetPeerShareForFreeReply;return proto.squeaknode.SetPeerShareForFreeReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.SetPeerShareForFreeReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.SetPeerShareForFreeReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SetPeerShareForFreeReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SetPeerShareForFreeReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.RenamePeerRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.RenamePeerRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.RenamePeerRequest.displayName="proto.squeaknode.RenamePeerRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.RenamePeerRequest.prototype.toObject=function(e){return proto.squeaknode.RenamePeerRequest.toObject(e,this)},proto.squeaknode.RenamePeerRequest.toObject=function(e,t){var r={peerId:n.Message.getFieldWithDefault(t,1,0),peerName:n.Message.getFieldWithDefault(t,2,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.RenamePeerRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.RenamePeerRequest;return proto.squeaknode.RenamePeerRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.RenamePeerRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setPeerId(r);break;case 2:r=t.readString();e.setPeerName(r);break;default:t.skipField()}}return e},proto.squeaknode.RenamePeerRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.RenamePeerRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.RenamePeerRequest.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getPeerId())&&t.writeInt32(1,r),(r=e.getPeerName()).length>0&&t.writeString(2,r)},proto.squeaknode.RenamePeerRequest.prototype.getPeerId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.RenamePeerRequest.prototype.setPeerId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.RenamePeerRequest.prototype.getPeerName=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.squeaknode.RenamePeerRequest.prototype.setPeerName=function(e){n.Message.setField(this,2,e)},proto.squeaknode.RenamePeerReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.RenamePeerReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.RenamePeerReply.displayName="proto.squeaknode.RenamePeerReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.RenamePeerReply.prototype.toObject=function(e){return proto.squeaknode.RenamePeerReply.toObject(e,this)},proto.squeaknode.RenamePeerReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.RenamePeerReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.RenamePeerReply;return proto.squeaknode.RenamePeerReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.RenamePeerReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.RenamePeerReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.RenamePeerReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.RenamePeerReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.DeletePeerRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DeletePeerRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DeletePeerRequest.displayName="proto.squeaknode.DeletePeerRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DeletePeerRequest.prototype.toObject=function(e){return proto.squeaknode.DeletePeerRequest.toObject(e,this)},proto.squeaknode.DeletePeerRequest.toObject=function(e,t){var r={peerId:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.DeletePeerRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DeletePeerRequest;return proto.squeaknode.DeletePeerRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.DeletePeerRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt32();e.setPeerId(r)}else t.skipField()}return e},proto.squeaknode.DeletePeerRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DeletePeerRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DeletePeerRequest.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getPeerId())&&t.writeInt32(1,r)},proto.squeaknode.DeletePeerRequest.prototype.getPeerId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.DeletePeerRequest.prototype.setPeerId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.DeletePeerReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DeletePeerReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DeletePeerReply.displayName="proto.squeaknode.DeletePeerReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DeletePeerReply.prototype.toObject=function(e){return proto.squeaknode.DeletePeerReply.toObject(e,this)},proto.squeaknode.DeletePeerReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.DeletePeerReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DeletePeerReply;return proto.squeaknode.DeletePeerReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.DeletePeerReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.DeletePeerReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DeletePeerReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DeletePeerReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.LoadBuyOffersRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.LoadBuyOffersRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.LoadBuyOffersRequest.displayName="proto.squeaknode.LoadBuyOffersRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.LoadBuyOffersRequest.prototype.toObject=function(e){return proto.squeaknode.LoadBuyOffersRequest.toObject(e,this)},proto.squeaknode.LoadBuyOffersRequest.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.LoadBuyOffersRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.LoadBuyOffersRequest;return proto.squeaknode.LoadBuyOffersRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.LoadBuyOffersRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSqueakHash(r)}else t.skipField()}return e},proto.squeaknode.LoadBuyOffersRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.LoadBuyOffersRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.LoadBuyOffersRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakHash()).length>0&&t.writeString(1,r)},proto.squeaknode.LoadBuyOffersRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.LoadBuyOffersRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.LoadBuyOffersReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.LoadBuyOffersReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.LoadBuyOffersReply.displayName="proto.squeaknode.LoadBuyOffersReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.LoadBuyOffersReply.prototype.toObject=function(e){return proto.squeaknode.LoadBuyOffersReply.toObject(e,this)},proto.squeaknode.LoadBuyOffersReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.LoadBuyOffersReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.LoadBuyOffersReply;return proto.squeaknode.LoadBuyOffersReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.LoadBuyOffersReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.LoadBuyOffersReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.LoadBuyOffersReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.LoadBuyOffersReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.GetBuyOffersRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetBuyOffersRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetBuyOffersRequest.displayName="proto.squeaknode.GetBuyOffersRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetBuyOffersRequest.prototype.toObject=function(e){return proto.squeaknode.GetBuyOffersRequest.toObject(e,this)},proto.squeaknode.GetBuyOffersRequest.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetBuyOffersRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetBuyOffersRequest;return proto.squeaknode.GetBuyOffersRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetBuyOffersRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSqueakHash(r)}else t.skipField()}return e},proto.squeaknode.GetBuyOffersRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetBuyOffersRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetBuyOffersRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakHash()).length>0&&t.writeString(1,r)},proto.squeaknode.GetBuyOffersRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.GetBuyOffersRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetBuyOffersReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetBuyOffersReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetBuyOffersReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetBuyOffersReply.displayName="proto.squeaknode.GetBuyOffersReply"),proto.squeaknode.GetBuyOffersReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetBuyOffersReply.prototype.toObject=function(e){return proto.squeaknode.GetBuyOffersReply.toObject(e,this)},proto.squeaknode.GetBuyOffersReply.toObject=function(e,t){var r={offersList:n.Message.toObjectList(t.getOffersList(),proto.squeaknode.OfferDisplayEntry.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetBuyOffersReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetBuyOffersReply;return proto.squeaknode.GetBuyOffersReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetBuyOffersReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.OfferDisplayEntry;t.readMessage(r,proto.squeaknode.OfferDisplayEntry.deserializeBinaryFromReader),e.addOffers(r)}else t.skipField()}return e},proto.squeaknode.GetBuyOffersReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetBuyOffersReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetBuyOffersReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getOffersList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.OfferDisplayEntry.serializeBinaryToWriter)},proto.squeaknode.GetBuyOffersReply.prototype.getOffersList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.OfferDisplayEntry,1)},proto.squeaknode.GetBuyOffersReply.prototype.setOffersList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetBuyOffersReply.prototype.addOffers=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.OfferDisplayEntry,t)},proto.squeaknode.GetBuyOffersReply.prototype.clearOffersList=function(){this.setOffersList([])},proto.squeaknode.GetBuyOfferRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetBuyOfferRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetBuyOfferRequest.displayName="proto.squeaknode.GetBuyOfferRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetBuyOfferRequest.prototype.toObject=function(e){return proto.squeaknode.GetBuyOfferRequest.toObject(e,this)},proto.squeaknode.GetBuyOfferRequest.toObject=function(e,t){var r={offerId:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetBuyOfferRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetBuyOfferRequest;return proto.squeaknode.GetBuyOfferRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetBuyOfferRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt32();e.setOfferId(r)}else t.skipField()}return e},proto.squeaknode.GetBuyOfferRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetBuyOfferRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetBuyOfferRequest.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getOfferId())&&t.writeInt32(1,r)},proto.squeaknode.GetBuyOfferRequest.prototype.getOfferId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.GetBuyOfferRequest.prototype.setOfferId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetBuyOfferReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetBuyOfferReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetBuyOfferReply.displayName="proto.squeaknode.GetBuyOfferReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetBuyOfferReply.prototype.toObject=function(e){return proto.squeaknode.GetBuyOfferReply.toObject(e,this)},proto.squeaknode.GetBuyOfferReply.toObject=function(e,t){var r,n={offer:(r=t.getOffer())&&proto.squeaknode.OfferDisplayEntry.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.GetBuyOfferReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetBuyOfferReply;return proto.squeaknode.GetBuyOfferReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetBuyOfferReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.OfferDisplayEntry;t.readMessage(r,proto.squeaknode.OfferDisplayEntry.deserializeBinaryFromReader),e.setOffer(r)}else t.skipField()}return e},proto.squeaknode.GetBuyOfferReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetBuyOfferReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetBuyOfferReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getOffer())&&t.writeMessage(1,r,proto.squeaknode.OfferDisplayEntry.serializeBinaryToWriter)},proto.squeaknode.GetBuyOfferReply.prototype.getOffer=function(){return n.Message.getWrapperField(this,proto.squeaknode.OfferDisplayEntry,1)},proto.squeaknode.GetBuyOfferReply.prototype.setOffer=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetBuyOfferReply.prototype.clearOffer=function(){this.setOffer(void 0)},proto.squeaknode.GetBuyOfferReply.prototype.hasOffer=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.OfferDisplayEntry=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.OfferDisplayEntry,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.OfferDisplayEntry.displayName="proto.squeaknode.OfferDisplayEntry"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.OfferDisplayEntry.prototype.toObject=function(e){return proto.squeaknode.OfferDisplayEntry.toObject(e,this)},proto.squeaknode.OfferDisplayEntry.toObject=function(e,t){var r,o={offerId:n.Message.getFieldWithDefault(t,1,0),squeakHash:n.Message.getFieldWithDefault(t,2,""),priceMsat:n.Message.getFieldWithDefault(t,3,0),nodePubkey:n.Message.getFieldWithDefault(t,4,""),nodeHost:n.Message.getFieldWithDefault(t,5,""),nodePort:n.Message.getFieldWithDefault(t,6,0),invoiceTimestamp:n.Message.getFieldWithDefault(t,7,0),invoiceExpiry:n.Message.getFieldWithDefault(t,8,0),peerAddress:(r=t.getPeerAddress())&&proto.squeaknode.PeerAddress.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.OfferDisplayEntry.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.OfferDisplayEntry;return proto.squeaknode.OfferDisplayEntry.deserializeBinaryFromReader(r,t)},proto.squeaknode.OfferDisplayEntry.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setOfferId(r);break;case 2:r=t.readString();e.setSqueakHash(r);break;case 3:r=t.readInt64();e.setPriceMsat(r);break;case 4:r=t.readString();e.setNodePubkey(r);break;case 5:r=t.readString();e.setNodeHost(r);break;case 6:r=t.readInt32();e.setNodePort(r);break;case 7:r=t.readInt32();e.setInvoiceTimestamp(r);break;case 8:r=t.readInt32();e.setInvoiceExpiry(r);break;case 9:r=new proto.squeaknode.PeerAddress;t.readMessage(r,proto.squeaknode.PeerAddress.deserializeBinaryFromReader),e.setPeerAddress(r);break;default:t.skipField()}}return e},proto.squeaknode.OfferDisplayEntry.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.OfferDisplayEntry.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.OfferDisplayEntry.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getOfferId())&&t.writeInt32(1,r),(r=e.getSqueakHash()).length>0&&t.writeString(2,r),0!==(r=e.getPriceMsat())&&t.writeInt64(3,r),(r=e.getNodePubkey()).length>0&&t.writeString(4,r),(r=e.getNodeHost()).length>0&&t.writeString(5,r),0!==(r=e.getNodePort())&&t.writeInt32(6,r),0!==(r=e.getInvoiceTimestamp())&&t.writeInt32(7,r),0!==(r=e.getInvoiceExpiry())&&t.writeInt32(8,r),null!=(r=e.getPeerAddress())&&t.writeMessage(9,r,proto.squeaknode.PeerAddress.serializeBinaryToWriter)},proto.squeaknode.OfferDisplayEntry.prototype.getOfferId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.OfferDisplayEntry.prototype.setOfferId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.OfferDisplayEntry.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.squeaknode.OfferDisplayEntry.prototype.setSqueakHash=function(e){n.Message.setField(this,2,e)},proto.squeaknode.OfferDisplayEntry.prototype.getPriceMsat=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.squeaknode.OfferDisplayEntry.prototype.setPriceMsat=function(e){n.Message.setField(this,3,e)},proto.squeaknode.OfferDisplayEntry.prototype.getNodePubkey=function(){return n.Message.getFieldWithDefault(this,4,"")},proto.squeaknode.OfferDisplayEntry.prototype.setNodePubkey=function(e){n.Message.setField(this,4,e)},proto.squeaknode.OfferDisplayEntry.prototype.getNodeHost=function(){return n.Message.getFieldWithDefault(this,5,"")},proto.squeaknode.OfferDisplayEntry.prototype.setNodeHost=function(e){n.Message.setField(this,5,e)},proto.squeaknode.OfferDisplayEntry.prototype.getNodePort=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.squeaknode.OfferDisplayEntry.prototype.setNodePort=function(e){n.Message.setField(this,6,e)},proto.squeaknode.OfferDisplayEntry.prototype.getInvoiceTimestamp=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.squeaknode.OfferDisplayEntry.prototype.setInvoiceTimestamp=function(e){n.Message.setField(this,7,e)},proto.squeaknode.OfferDisplayEntry.prototype.getInvoiceExpiry=function(){return n.Message.getFieldWithDefault(this,8,0)},proto.squeaknode.OfferDisplayEntry.prototype.setInvoiceExpiry=function(e){n.Message.setField(this,8,e)},proto.squeaknode.OfferDisplayEntry.prototype.getPeerAddress=function(){return n.Message.getWrapperField(this,proto.squeaknode.PeerAddress,9)},proto.squeaknode.OfferDisplayEntry.prototype.setPeerAddress=function(e){n.Message.setWrapperField(this,9,e)},proto.squeaknode.OfferDisplayEntry.prototype.clearPeerAddress=function(){this.setPeerAddress(void 0)},proto.squeaknode.OfferDisplayEntry.prototype.hasPeerAddress=function(){return null!=n.Message.getField(this,9)},proto.squeaknode.DownloadSqueaksRequest=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.DownloadSqueaksRequest.repeatedFields_,null)},o.inherits(proto.squeaknode.DownloadSqueaksRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DownloadSqueaksRequest.displayName="proto.squeaknode.DownloadSqueaksRequest"),proto.squeaknode.DownloadSqueaksRequest.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DownloadSqueaksRequest.prototype.toObject=function(e){return proto.squeaknode.DownloadSqueaksRequest.toObject(e,this)},proto.squeaknode.DownloadSqueaksRequest.toObject=function(e,t){var r={pubkeysList:n.Message.getRepeatedField(t,1),minBlockHeight:n.Message.getFieldWithDefault(t,2,0),maxBlockHeight:n.Message.getFieldWithDefault(t,3,0),replytoSqueakHash:n.Message.getFieldWithDefault(t,4,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.DownloadSqueaksRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DownloadSqueaksRequest;return proto.squeaknode.DownloadSqueaksRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.DownloadSqueaksRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.addPubkeys(r);break;case 2:r=t.readInt32();e.setMinBlockHeight(r);break;case 3:r=t.readInt32();e.setMaxBlockHeight(r);break;case 4:r=t.readString();e.setReplytoSqueakHash(r);break;default:t.skipField()}}return e},proto.squeaknode.DownloadSqueaksRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DownloadSqueaksRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DownloadSqueaksRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPubkeysList()).length>0&&t.writeRepeatedString(1,r),0!==(r=e.getMinBlockHeight())&&t.writeInt32(2,r),0!==(r=e.getMaxBlockHeight())&&t.writeInt32(3,r),(r=e.getReplytoSqueakHash()).length>0&&t.writeString(4,r)},proto.squeaknode.DownloadSqueaksRequest.prototype.getPubkeysList=function(){return n.Message.getRepeatedField(this,1)},proto.squeaknode.DownloadSqueaksRequest.prototype.setPubkeysList=function(e){n.Message.setField(this,1,e||[])},proto.squeaknode.DownloadSqueaksRequest.prototype.addPubkeys=function(e,t){n.Message.addToRepeatedField(this,1,e,t)},proto.squeaknode.DownloadSqueaksRequest.prototype.clearPubkeysList=function(){this.setPubkeysList([])},proto.squeaknode.DownloadSqueaksRequest.prototype.getMinBlockHeight=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.squeaknode.DownloadSqueaksRequest.prototype.setMinBlockHeight=function(e){n.Message.setField(this,2,e)},proto.squeaknode.DownloadSqueaksRequest.prototype.getMaxBlockHeight=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.squeaknode.DownloadSqueaksRequest.prototype.setMaxBlockHeight=function(e){n.Message.setField(this,3,e)},proto.squeaknode.DownloadSqueaksRequest.prototype.getReplytoSqueakHash=function(){return n.Message.getFieldWithDefault(this,4,"")},proto.squeaknode.DownloadSqueaksRequest.prototype.setReplytoSqueakHash=function(e){n.Message.setField(this,4,e)},proto.squeaknode.DownloadResult=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DownloadResult,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DownloadResult.displayName="proto.squeaknode.DownloadResult"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DownloadResult.prototype.toObject=function(e){return proto.squeaknode.DownloadResult.toObject(e,this)},proto.squeaknode.DownloadResult.toObject=function(e,t){var r={numberDownloaded:n.Message.getFieldWithDefault(t,1,0),numberRequested:n.Message.getFieldWithDefault(t,2,0),numberPeers:n.Message.getFieldWithDefault(t,3,0),elapsedTimeMs:n.Message.getFieldWithDefault(t,4,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.DownloadResult.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DownloadResult;return proto.squeaknode.DownloadResult.deserializeBinaryFromReader(r,t)},proto.squeaknode.DownloadResult.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setNumberDownloaded(r);break;case 2:r=t.readInt32();e.setNumberRequested(r);break;case 3:r=t.readInt32();e.setNumberPeers(r);break;case 4:r=t.readInt32();e.setElapsedTimeMs(r);break;default:t.skipField()}}return e},proto.squeaknode.DownloadResult.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DownloadResult.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DownloadResult.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getNumberDownloaded())&&t.writeInt32(1,r),0!==(r=e.getNumberRequested())&&t.writeInt32(2,r),0!==(r=e.getNumberPeers())&&t.writeInt32(3,r),0!==(r=e.getElapsedTimeMs())&&t.writeInt32(4,r)},proto.squeaknode.DownloadResult.prototype.getNumberDownloaded=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.DownloadResult.prototype.setNumberDownloaded=function(e){n.Message.setField(this,1,e)},proto.squeaknode.DownloadResult.prototype.getNumberRequested=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.squeaknode.DownloadResult.prototype.setNumberRequested=function(e){n.Message.setField(this,2,e)},proto.squeaknode.DownloadResult.prototype.getNumberPeers=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.squeaknode.DownloadResult.prototype.setNumberPeers=function(e){n.Message.setField(this,3,e)},proto.squeaknode.DownloadResult.prototype.getElapsedTimeMs=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.squeaknode.DownloadResult.prototype.setElapsedTimeMs=function(e){n.Message.setField(this,4,e)},proto.squeaknode.DownloadSqueaksReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DownloadSqueaksReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DownloadSqueaksReply.displayName="proto.squeaknode.DownloadSqueaksReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DownloadSqueaksReply.prototype.toObject=function(e){return proto.squeaknode.DownloadSqueaksReply.toObject(e,this)},proto.squeaknode.DownloadSqueaksReply.toObject=function(e,t){var r,n={downloadResult:(r=t.getDownloadResult())&&proto.squeaknode.DownloadResult.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.DownloadSqueaksReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DownloadSqueaksReply;return proto.squeaknode.DownloadSqueaksReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.DownloadSqueaksReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.DownloadResult;t.readMessage(r,proto.squeaknode.DownloadResult.deserializeBinaryFromReader),e.setDownloadResult(r)}else t.skipField()}return e},proto.squeaknode.DownloadSqueaksReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DownloadSqueaksReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DownloadSqueaksReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getDownloadResult())&&t.writeMessage(1,r,proto.squeaknode.DownloadResult.serializeBinaryToWriter)},proto.squeaknode.DownloadSqueaksReply.prototype.getDownloadResult=function(){return n.Message.getWrapperField(this,proto.squeaknode.DownloadResult,1)},proto.squeaknode.DownloadSqueaksReply.prototype.setDownloadResult=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.DownloadSqueaksReply.prototype.clearDownloadResult=function(){this.setDownloadResult(void 0)},proto.squeaknode.DownloadSqueaksReply.prototype.hasDownloadResult=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.PayOfferRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.PayOfferRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.PayOfferRequest.displayName="proto.squeaknode.PayOfferRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.PayOfferRequest.prototype.toObject=function(e){return proto.squeaknode.PayOfferRequest.toObject(e,this)},proto.squeaknode.PayOfferRequest.toObject=function(e,t){var r={offerId:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.PayOfferRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.PayOfferRequest;return proto.squeaknode.PayOfferRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.PayOfferRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt32();e.setOfferId(r)}else t.skipField()}return e},proto.squeaknode.PayOfferRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.PayOfferRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.PayOfferRequest.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getOfferId())&&t.writeInt32(1,r)},proto.squeaknode.PayOfferRequest.prototype.getOfferId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.PayOfferRequest.prototype.setOfferId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.PayOfferReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.PayOfferReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.PayOfferReply.displayName="proto.squeaknode.PayOfferReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.PayOfferReply.prototype.toObject=function(e){return proto.squeaknode.PayOfferReply.toObject(e,this)},proto.squeaknode.PayOfferReply.toObject=function(e,t){var r={sentPaymentId:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.PayOfferReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.PayOfferReply;return proto.squeaknode.PayOfferReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.PayOfferReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt32();e.setSentPaymentId(r)}else t.skipField()}return e},proto.squeaknode.PayOfferReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.PayOfferReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.PayOfferReply.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getSentPaymentId())&&t.writeInt32(1,r)},proto.squeaknode.PayOfferReply.prototype.getSentPaymentId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.PayOfferReply.prototype.setSentPaymentId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.DecryptSqueakRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DecryptSqueakRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DecryptSqueakRequest.displayName="proto.squeaknode.DecryptSqueakRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DecryptSqueakRequest.prototype.toObject=function(e){return proto.squeaknode.DecryptSqueakRequest.toObject(e,this)},proto.squeaknode.DecryptSqueakRequest.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,""),hasRecipient:n.Message.getFieldWithDefault(t,2,!1),recipientProfileId:n.Message.getFieldWithDefault(t,3,0),hasAuthor:n.Message.getFieldWithDefault(t,4,!1),authorProfileId:n.Message.getFieldWithDefault(t,5,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.DecryptSqueakRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DecryptSqueakRequest;return proto.squeaknode.DecryptSqueakRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.DecryptSqueakRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setSqueakHash(r);break;case 2:r=t.readBool();e.setHasRecipient(r);break;case 3:r=t.readInt32();e.setRecipientProfileId(r);break;case 4:r=t.readBool();e.setHasAuthor(r);break;case 5:r=t.readInt32();e.setAuthorProfileId(r);break;default:t.skipField()}}return e},proto.squeaknode.DecryptSqueakRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DecryptSqueakRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DecryptSqueakRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getSqueakHash()).length>0&&t.writeString(1,r),(r=e.getHasRecipient())&&t.writeBool(2,r),0!==(r=e.getRecipientProfileId())&&t.writeInt32(3,r),(r=e.getHasAuthor())&&t.writeBool(4,r),0!==(r=e.getAuthorProfileId())&&t.writeInt32(5,r)},proto.squeaknode.DecryptSqueakRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.DecryptSqueakRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.DecryptSqueakRequest.prototype.getHasRecipient=function(){return n.Message.getFieldWithDefault(this,2,!1)},proto.squeaknode.DecryptSqueakRequest.prototype.setHasRecipient=function(e){n.Message.setField(this,2,e)},proto.squeaknode.DecryptSqueakRequest.prototype.getRecipientProfileId=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.squeaknode.DecryptSqueakRequest.prototype.setRecipientProfileId=function(e){n.Message.setField(this,3,e)},proto.squeaknode.DecryptSqueakRequest.prototype.getHasAuthor=function(){return n.Message.getFieldWithDefault(this,4,!1)},proto.squeaknode.DecryptSqueakRequest.prototype.setHasAuthor=function(e){n.Message.setField(this,4,e)},proto.squeaknode.DecryptSqueakRequest.prototype.getAuthorProfileId=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.squeaknode.DecryptSqueakRequest.prototype.setAuthorProfileId=function(e){n.Message.setField(this,5,e)},proto.squeaknode.DecryptSqueakReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DecryptSqueakReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DecryptSqueakReply.displayName="proto.squeaknode.DecryptSqueakReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DecryptSqueakReply.prototype.toObject=function(e){return proto.squeaknode.DecryptSqueakReply.toObject(e,this)},proto.squeaknode.DecryptSqueakReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.DecryptSqueakReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DecryptSqueakReply;return proto.squeaknode.DecryptSqueakReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.DecryptSqueakReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.DecryptSqueakReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DecryptSqueakReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DecryptSqueakReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.GetSentPaymentsRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSentPaymentsRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSentPaymentsRequest.displayName="proto.squeaknode.GetSentPaymentsRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSentPaymentsRequest.prototype.toObject=function(e){return proto.squeaknode.GetSentPaymentsRequest.toObject(e,this)},proto.squeaknode.GetSentPaymentsRequest.toObject=function(e,t){var r,o={limit:n.Message.getFieldWithDefault(t,1,0),lastSentPayment:(r=t.getLastSentPayment())&&proto.squeaknode.SentPayment.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.GetSentPaymentsRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSentPaymentsRequest;return proto.squeaknode.GetSentPaymentsRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSentPaymentsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setLimit(r);break;case 2:r=new proto.squeaknode.SentPayment;t.readMessage(r,proto.squeaknode.SentPayment.deserializeBinaryFromReader),e.setLastSentPayment(r);break;default:t.skipField()}}return e},proto.squeaknode.GetSentPaymentsRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSentPaymentsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSentPaymentsRequest.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getLimit())&&t.writeInt32(1,r),null!=(r=e.getLastSentPayment())&&t.writeMessage(2,r,proto.squeaknode.SentPayment.serializeBinaryToWriter)},proto.squeaknode.GetSentPaymentsRequest.prototype.getLimit=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.GetSentPaymentsRequest.prototype.setLimit=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetSentPaymentsRequest.prototype.getLastSentPayment=function(){return n.Message.getWrapperField(this,proto.squeaknode.SentPayment,2)},proto.squeaknode.GetSentPaymentsRequest.prototype.setLastSentPayment=function(e){n.Message.setWrapperField(this,2,e)},proto.squeaknode.GetSentPaymentsRequest.prototype.clearLastSentPayment=function(){this.setLastSentPayment(void 0)},proto.squeaknode.GetSentPaymentsRequest.prototype.hasLastSentPayment=function(){return null!=n.Message.getField(this,2)},proto.squeaknode.GetSentPaymentsReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetSentPaymentsReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetSentPaymentsReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSentPaymentsReply.displayName="proto.squeaknode.GetSentPaymentsReply"),proto.squeaknode.GetSentPaymentsReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSentPaymentsReply.prototype.toObject=function(e){return proto.squeaknode.GetSentPaymentsReply.toObject(e,this)},proto.squeaknode.GetSentPaymentsReply.toObject=function(e,t){var r={sentPaymentsList:n.Message.toObjectList(t.getSentPaymentsList(),proto.squeaknode.SentPayment.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetSentPaymentsReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSentPaymentsReply;return proto.squeaknode.GetSentPaymentsReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSentPaymentsReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SentPayment;t.readMessage(r,proto.squeaknode.SentPayment.deserializeBinaryFromReader),e.addSentPayments(r)}else t.skipField()}return e},proto.squeaknode.GetSentPaymentsReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSentPaymentsReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSentPaymentsReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getSentPaymentsList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.SentPayment.serializeBinaryToWriter)},proto.squeaknode.GetSentPaymentsReply.prototype.getSentPaymentsList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.SentPayment,1)},proto.squeaknode.GetSentPaymentsReply.prototype.setSentPaymentsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetSentPaymentsReply.prototype.addSentPayments=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.SentPayment,t)},proto.squeaknode.GetSentPaymentsReply.prototype.clearSentPaymentsList=function(){this.setSentPaymentsList([])},proto.squeaknode.GetSentPaymentsForSqueakRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSentPaymentsForSqueakRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSentPaymentsForSqueakRequest.displayName="proto.squeaknode.GetSentPaymentsForSqueakRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSentPaymentsForSqueakRequest.prototype.toObject=function(e){return proto.squeaknode.GetSentPaymentsForSqueakRequest.toObject(e,this)},proto.squeaknode.GetSentPaymentsForSqueakRequest.toObject=function(e,t){var r,o={squeakHash:n.Message.getFieldWithDefault(t,1,""),limit:n.Message.getFieldWithDefault(t,2,0),lastSentPayment:(r=t.getLastSentPayment())&&proto.squeaknode.SentPayment.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.GetSentPaymentsForSqueakRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSentPaymentsForSqueakRequest;return proto.squeaknode.GetSentPaymentsForSqueakRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSentPaymentsForSqueakRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setSqueakHash(r);break;case 2:r=t.readInt32();e.setLimit(r);break;case 3:r=new proto.squeaknode.SentPayment;t.readMessage(r,proto.squeaknode.SentPayment.deserializeBinaryFromReader),e.setLastSentPayment(r);break;default:t.skipField()}}return e},proto.squeaknode.GetSentPaymentsForSqueakRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSentPaymentsForSqueakRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSentPaymentsForSqueakRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getSqueakHash()).length>0&&t.writeString(1,r),0!==(r=e.getLimit())&&t.writeInt32(2,r),null!=(r=e.getLastSentPayment())&&t.writeMessage(3,r,proto.squeaknode.SentPayment.serializeBinaryToWriter)},proto.squeaknode.GetSentPaymentsForSqueakRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.GetSentPaymentsForSqueakRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetSentPaymentsForSqueakRequest.prototype.getLimit=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.squeaknode.GetSentPaymentsForSqueakRequest.prototype.setLimit=function(e){n.Message.setField(this,2,e)},proto.squeaknode.GetSentPaymentsForSqueakRequest.prototype.getLastSentPayment=function(){return n.Message.getWrapperField(this,proto.squeaknode.SentPayment,3)},proto.squeaknode.GetSentPaymentsForSqueakRequest.prototype.setLastSentPayment=function(e){n.Message.setWrapperField(this,3,e)},proto.squeaknode.GetSentPaymentsForSqueakRequest.prototype.clearLastSentPayment=function(){this.setLastSentPayment(void 0)},proto.squeaknode.GetSentPaymentsForSqueakRequest.prototype.hasLastSentPayment=function(){return null!=n.Message.getField(this,3)},proto.squeaknode.GetSentPaymentsForSqueakReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetSentPaymentsForSqueakReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetSentPaymentsForSqueakReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSentPaymentsForSqueakReply.displayName="proto.squeaknode.GetSentPaymentsForSqueakReply"),proto.squeaknode.GetSentPaymentsForSqueakReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSentPaymentsForSqueakReply.prototype.toObject=function(e){return proto.squeaknode.GetSentPaymentsForSqueakReply.toObject(e,this)},proto.squeaknode.GetSentPaymentsForSqueakReply.toObject=function(e,t){var r={sentPaymentsList:n.Message.toObjectList(t.getSentPaymentsList(),proto.squeaknode.SentPayment.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetSentPaymentsForSqueakReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSentPaymentsForSqueakReply;return proto.squeaknode.GetSentPaymentsForSqueakReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSentPaymentsForSqueakReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SentPayment;t.readMessage(r,proto.squeaknode.SentPayment.deserializeBinaryFromReader),e.addSentPayments(r)}else t.skipField()}return e},proto.squeaknode.GetSentPaymentsForSqueakReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSentPaymentsForSqueakReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSentPaymentsForSqueakReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getSentPaymentsList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.SentPayment.serializeBinaryToWriter)},proto.squeaknode.GetSentPaymentsForSqueakReply.prototype.getSentPaymentsList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.SentPayment,1)},proto.squeaknode.GetSentPaymentsForSqueakReply.prototype.setSentPaymentsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetSentPaymentsForSqueakReply.prototype.addSentPayments=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.SentPayment,t)},proto.squeaknode.GetSentPaymentsForSqueakReply.prototype.clearSentPaymentsList=function(){this.setSentPaymentsList([])},proto.squeaknode.GetSentPaymentsForPubkeyRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSentPaymentsForPubkeyRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSentPaymentsForPubkeyRequest.displayName="proto.squeaknode.GetSentPaymentsForPubkeyRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSentPaymentsForPubkeyRequest.prototype.toObject=function(e){return proto.squeaknode.GetSentPaymentsForPubkeyRequest.toObject(e,this)},proto.squeaknode.GetSentPaymentsForPubkeyRequest.toObject=function(e,t){var r,o={pubkey:n.Message.getFieldWithDefault(t,1,""),limit:n.Message.getFieldWithDefault(t,2,0),lastSentPayment:(r=t.getLastSentPayment())&&proto.squeaknode.SentPayment.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.GetSentPaymentsForPubkeyRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSentPaymentsForPubkeyRequest;return proto.squeaknode.GetSentPaymentsForPubkeyRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSentPaymentsForPubkeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setPubkey(r);break;case 2:r=t.readInt32();e.setLimit(r);break;case 3:r=new proto.squeaknode.SentPayment;t.readMessage(r,proto.squeaknode.SentPayment.deserializeBinaryFromReader),e.setLastSentPayment(r);break;default:t.skipField()}}return e},proto.squeaknode.GetSentPaymentsForPubkeyRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSentPaymentsForPubkeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSentPaymentsForPubkeyRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPubkey()).length>0&&t.writeString(1,r),0!==(r=e.getLimit())&&t.writeInt32(2,r),null!=(r=e.getLastSentPayment())&&t.writeMessage(3,r,proto.squeaknode.SentPayment.serializeBinaryToWriter)},proto.squeaknode.GetSentPaymentsForPubkeyRequest.prototype.getPubkey=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.GetSentPaymentsForPubkeyRequest.prototype.setPubkey=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetSentPaymentsForPubkeyRequest.prototype.getLimit=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.squeaknode.GetSentPaymentsForPubkeyRequest.prototype.setLimit=function(e){n.Message.setField(this,2,e)},proto.squeaknode.GetSentPaymentsForPubkeyRequest.prototype.getLastSentPayment=function(){return n.Message.getWrapperField(this,proto.squeaknode.SentPayment,3)},proto.squeaknode.GetSentPaymentsForPubkeyRequest.prototype.setLastSentPayment=function(e){n.Message.setWrapperField(this,3,e)},proto.squeaknode.GetSentPaymentsForPubkeyRequest.prototype.clearLastSentPayment=function(){this.setLastSentPayment(void 0)},proto.squeaknode.GetSentPaymentsForPubkeyRequest.prototype.hasLastSentPayment=function(){return null!=n.Message.getField(this,3)},proto.squeaknode.GetSentPaymentsForPubkeyReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetSentPaymentsForPubkeyReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetSentPaymentsForPubkeyReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSentPaymentsForPubkeyReply.displayName="proto.squeaknode.GetSentPaymentsForPubkeyReply"),proto.squeaknode.GetSentPaymentsForPubkeyReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSentPaymentsForPubkeyReply.prototype.toObject=function(e){return proto.squeaknode.GetSentPaymentsForPubkeyReply.toObject(e,this)},proto.squeaknode.GetSentPaymentsForPubkeyReply.toObject=function(e,t){var r={sentPaymentsList:n.Message.toObjectList(t.getSentPaymentsList(),proto.squeaknode.SentPayment.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetSentPaymentsForPubkeyReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSentPaymentsForPubkeyReply;return proto.squeaknode.GetSentPaymentsForPubkeyReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSentPaymentsForPubkeyReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SentPayment;t.readMessage(r,proto.squeaknode.SentPayment.deserializeBinaryFromReader),e.addSentPayments(r)}else t.skipField()}return e},proto.squeaknode.GetSentPaymentsForPubkeyReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSentPaymentsForPubkeyReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSentPaymentsForPubkeyReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getSentPaymentsList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.SentPayment.serializeBinaryToWriter)},proto.squeaknode.GetSentPaymentsForPubkeyReply.prototype.getSentPaymentsList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.SentPayment,1)},proto.squeaknode.GetSentPaymentsForPubkeyReply.prototype.setSentPaymentsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetSentPaymentsForPubkeyReply.prototype.addSentPayments=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.SentPayment,t)},proto.squeaknode.GetSentPaymentsForPubkeyReply.prototype.clearSentPaymentsList=function(){this.setSentPaymentsList([])},proto.squeaknode.GetSentPaymentsForPeerRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSentPaymentsForPeerRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSentPaymentsForPeerRequest.displayName="proto.squeaknode.GetSentPaymentsForPeerRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSentPaymentsForPeerRequest.prototype.toObject=function(e){return proto.squeaknode.GetSentPaymentsForPeerRequest.toObject(e,this)},proto.squeaknode.GetSentPaymentsForPeerRequest.toObject=function(e,t){var r,o={peerAddress:(r=t.getPeerAddress())&&proto.squeaknode.PeerAddress.toObject(e,r),limit:n.Message.getFieldWithDefault(t,2,0),lastSentPayment:(r=t.getLastSentPayment())&&proto.squeaknode.SentPayment.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.GetSentPaymentsForPeerRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSentPaymentsForPeerRequest;return proto.squeaknode.GetSentPaymentsForPeerRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSentPaymentsForPeerRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.squeaknode.PeerAddress;t.readMessage(r,proto.squeaknode.PeerAddress.deserializeBinaryFromReader),e.setPeerAddress(r);break;case 2:r=t.readInt32();e.setLimit(r);break;case 3:r=new proto.squeaknode.SentPayment;t.readMessage(r,proto.squeaknode.SentPayment.deserializeBinaryFromReader),e.setLastSentPayment(r);break;default:t.skipField()}}return e},proto.squeaknode.GetSentPaymentsForPeerRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSentPaymentsForPeerRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSentPaymentsForPeerRequest.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getPeerAddress())&&t.writeMessage(1,r,proto.squeaknode.PeerAddress.serializeBinaryToWriter),0!==(r=e.getLimit())&&t.writeInt32(2,r),null!=(r=e.getLastSentPayment())&&t.writeMessage(3,r,proto.squeaknode.SentPayment.serializeBinaryToWriter)},proto.squeaknode.GetSentPaymentsForPeerRequest.prototype.getPeerAddress=function(){return n.Message.getWrapperField(this,proto.squeaknode.PeerAddress,1)},proto.squeaknode.GetSentPaymentsForPeerRequest.prototype.setPeerAddress=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetSentPaymentsForPeerRequest.prototype.clearPeerAddress=function(){this.setPeerAddress(void 0)},proto.squeaknode.GetSentPaymentsForPeerRequest.prototype.hasPeerAddress=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.GetSentPaymentsForPeerRequest.prototype.getLimit=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.squeaknode.GetSentPaymentsForPeerRequest.prototype.setLimit=function(e){n.Message.setField(this,2,e)},proto.squeaknode.GetSentPaymentsForPeerRequest.prototype.getLastSentPayment=function(){return n.Message.getWrapperField(this,proto.squeaknode.SentPayment,3)},proto.squeaknode.GetSentPaymentsForPeerRequest.prototype.setLastSentPayment=function(e){n.Message.setWrapperField(this,3,e)},proto.squeaknode.GetSentPaymentsForPeerRequest.prototype.clearLastSentPayment=function(){this.setLastSentPayment(void 0)},proto.squeaknode.GetSentPaymentsForPeerRequest.prototype.hasLastSentPayment=function(){return null!=n.Message.getField(this,3)},proto.squeaknode.GetSentPaymentsForPeerReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetSentPaymentsForPeerReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetSentPaymentsForPeerReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSentPaymentsForPeerReply.displayName="proto.squeaknode.GetSentPaymentsForPeerReply"),proto.squeaknode.GetSentPaymentsForPeerReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSentPaymentsForPeerReply.prototype.toObject=function(e){return proto.squeaknode.GetSentPaymentsForPeerReply.toObject(e,this)},proto.squeaknode.GetSentPaymentsForPeerReply.toObject=function(e,t){var r={sentPaymentsList:n.Message.toObjectList(t.getSentPaymentsList(),proto.squeaknode.SentPayment.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetSentPaymentsForPeerReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSentPaymentsForPeerReply;return proto.squeaknode.GetSentPaymentsForPeerReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSentPaymentsForPeerReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SentPayment;t.readMessage(r,proto.squeaknode.SentPayment.deserializeBinaryFromReader),e.addSentPayments(r)}else t.skipField()}return e},proto.squeaknode.GetSentPaymentsForPeerReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSentPaymentsForPeerReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSentPaymentsForPeerReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getSentPaymentsList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.SentPayment.serializeBinaryToWriter)},proto.squeaknode.GetSentPaymentsForPeerReply.prototype.getSentPaymentsList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.SentPayment,1)},proto.squeaknode.GetSentPaymentsForPeerReply.prototype.setSentPaymentsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetSentPaymentsForPeerReply.prototype.addSentPayments=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.SentPayment,t)},proto.squeaknode.GetSentPaymentsForPeerReply.prototype.clearSentPaymentsList=function(){this.setSentPaymentsList([])},proto.squeaknode.GetSentPaymentRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSentPaymentRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSentPaymentRequest.displayName="proto.squeaknode.GetSentPaymentRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSentPaymentRequest.prototype.toObject=function(e){return proto.squeaknode.GetSentPaymentRequest.toObject(e,this)},proto.squeaknode.GetSentPaymentRequest.toObject=function(e,t){var r={sentPaymentId:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetSentPaymentRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSentPaymentRequest;return proto.squeaknode.GetSentPaymentRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSentPaymentRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt32();e.setSentPaymentId(r)}else t.skipField()}return e},proto.squeaknode.GetSentPaymentRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSentPaymentRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSentPaymentRequest.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getSentPaymentId())&&t.writeInt32(1,r)},proto.squeaknode.GetSentPaymentRequest.prototype.getSentPaymentId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.GetSentPaymentRequest.prototype.setSentPaymentId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetSentPaymentReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSentPaymentReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSentPaymentReply.displayName="proto.squeaknode.GetSentPaymentReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSentPaymentReply.prototype.toObject=function(e){return proto.squeaknode.GetSentPaymentReply.toObject(e,this)},proto.squeaknode.GetSentPaymentReply.toObject=function(e,t){var r,n={sentPayment:(r=t.getSentPayment())&&proto.squeaknode.SentPayment.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.GetSentPaymentReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSentPaymentReply;return proto.squeaknode.GetSentPaymentReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSentPaymentReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SentPayment;t.readMessage(r,proto.squeaknode.SentPayment.deserializeBinaryFromReader),e.setSentPayment(r)}else t.skipField()}return e},proto.squeaknode.GetSentPaymentReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSentPaymentReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSentPaymentReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getSentPayment())&&t.writeMessage(1,r,proto.squeaknode.SentPayment.serializeBinaryToWriter)},proto.squeaknode.GetSentPaymentReply.prototype.getSentPayment=function(){return n.Message.getWrapperField(this,proto.squeaknode.SentPayment,1)},proto.squeaknode.GetSentPaymentReply.prototype.setSentPayment=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetSentPaymentReply.prototype.clearSentPayment=function(){this.setSentPayment(void 0)},proto.squeaknode.GetSentPaymentReply.prototype.hasSentPayment=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.SentPayment=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SentPayment,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SentPayment.displayName="proto.squeaknode.SentPayment"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SentPayment.prototype.toObject=function(e){return proto.squeaknode.SentPayment.toObject(e,this)},proto.squeaknode.SentPayment.toObject=function(e,t){var r,o={sentPaymentId:n.Message.getFieldWithDefault(t,1,0),squeakHash:n.Message.getFieldWithDefault(t,2,""),paymentHash:n.Message.getFieldWithDefault(t,3,""),priceMsat:n.Message.getFieldWithDefault(t,4,0),nodePubkey:n.Message.getFieldWithDefault(t,5,""),valid:n.Message.getFieldWithDefault(t,6,!1),timeMs:n.Message.getFieldWithDefault(t,7,0),peerAddress:(r=t.getPeerAddress())&&proto.squeaknode.PeerAddress.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.SentPayment.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SentPayment;return proto.squeaknode.SentPayment.deserializeBinaryFromReader(r,t)},proto.squeaknode.SentPayment.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setSentPaymentId(r);break;case 2:r=t.readString();e.setSqueakHash(r);break;case 3:r=t.readString();e.setPaymentHash(r);break;case 4:r=t.readInt64();e.setPriceMsat(r);break;case 5:r=t.readString();e.setNodePubkey(r);break;case 6:r=t.readBool();e.setValid(r);break;case 7:r=t.readInt64();e.setTimeMs(r);break;case 8:r=new proto.squeaknode.PeerAddress;t.readMessage(r,proto.squeaknode.PeerAddress.deserializeBinaryFromReader),e.setPeerAddress(r);break;default:t.skipField()}}return e},proto.squeaknode.SentPayment.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SentPayment.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SentPayment.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getSentPaymentId())&&t.writeInt32(1,r),(r=e.getSqueakHash()).length>0&&t.writeString(2,r),(r=e.getPaymentHash()).length>0&&t.writeString(3,r),0!==(r=e.getPriceMsat())&&t.writeInt64(4,r),(r=e.getNodePubkey()).length>0&&t.writeString(5,r),(r=e.getValid())&&t.writeBool(6,r),0!==(r=e.getTimeMs())&&t.writeInt64(7,r),null!=(r=e.getPeerAddress())&&t.writeMessage(8,r,proto.squeaknode.PeerAddress.serializeBinaryToWriter)},proto.squeaknode.SentPayment.prototype.getSentPaymentId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.SentPayment.prototype.setSentPaymentId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.SentPayment.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.squeaknode.SentPayment.prototype.setSqueakHash=function(e){n.Message.setField(this,2,e)},proto.squeaknode.SentPayment.prototype.getPaymentHash=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.squeaknode.SentPayment.prototype.setPaymentHash=function(e){n.Message.setField(this,3,e)},proto.squeaknode.SentPayment.prototype.getPriceMsat=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.squeaknode.SentPayment.prototype.setPriceMsat=function(e){n.Message.setField(this,4,e)},proto.squeaknode.SentPayment.prototype.getNodePubkey=function(){return n.Message.getFieldWithDefault(this,5,"")},proto.squeaknode.SentPayment.prototype.setNodePubkey=function(e){n.Message.setField(this,5,e)},proto.squeaknode.SentPayment.prototype.getValid=function(){return n.Message.getFieldWithDefault(this,6,!1)},proto.squeaknode.SentPayment.prototype.setValid=function(e){n.Message.setField(this,6,e)},proto.squeaknode.SentPayment.prototype.getTimeMs=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.squeaknode.SentPayment.prototype.setTimeMs=function(e){n.Message.setField(this,7,e)},proto.squeaknode.SentPayment.prototype.getPeerAddress=function(){return n.Message.getWrapperField(this,proto.squeaknode.PeerAddress,8)},proto.squeaknode.SentPayment.prototype.setPeerAddress=function(e){n.Message.setWrapperField(this,8,e)},proto.squeaknode.SentPayment.prototype.clearPeerAddress=function(){this.setPeerAddress(void 0)},proto.squeaknode.SentPayment.prototype.hasPeerAddress=function(){return null!=n.Message.getField(this,8)},proto.squeaknode.DownloadSqueakRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DownloadSqueakRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DownloadSqueakRequest.displayName="proto.squeaknode.DownloadSqueakRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DownloadSqueakRequest.prototype.toObject=function(e){return proto.squeaknode.DownloadSqueakRequest.toObject(e,this)},proto.squeaknode.DownloadSqueakRequest.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.DownloadSqueakRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DownloadSqueakRequest;return proto.squeaknode.DownloadSqueakRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.DownloadSqueakRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSqueakHash(r)}else t.skipField()}return e},proto.squeaknode.DownloadSqueakRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DownloadSqueakRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DownloadSqueakRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakHash()).length>0&&t.writeString(1,r)},proto.squeaknode.DownloadSqueakRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.DownloadSqueakRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.DownloadSqueakReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DownloadSqueakReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DownloadSqueakReply.displayName="proto.squeaknode.DownloadSqueakReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DownloadSqueakReply.prototype.toObject=function(e){return proto.squeaknode.DownloadSqueakReply.toObject(e,this)},proto.squeaknode.DownloadSqueakReply.toObject=function(e,t){var r,n={downloadResult:(r=t.getDownloadResult())&&proto.squeaknode.DownloadResult.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.DownloadSqueakReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DownloadSqueakReply;return proto.squeaknode.DownloadSqueakReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.DownloadSqueakReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.DownloadResult;t.readMessage(r,proto.squeaknode.DownloadResult.deserializeBinaryFromReader),e.setDownloadResult(r)}else t.skipField()}return e},proto.squeaknode.DownloadSqueakReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DownloadSqueakReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DownloadSqueakReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getDownloadResult())&&t.writeMessage(1,r,proto.squeaknode.DownloadResult.serializeBinaryToWriter)},proto.squeaknode.DownloadSqueakReply.prototype.getDownloadResult=function(){return n.Message.getWrapperField(this,proto.squeaknode.DownloadResult,1)},proto.squeaknode.DownloadSqueakReply.prototype.setDownloadResult=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.DownloadSqueakReply.prototype.clearDownloadResult=function(){this.setDownloadResult(void 0)},proto.squeaknode.DownloadSqueakReply.prototype.hasDownloadResult=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.DownloadSqueakSecretKeyRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DownloadSqueakSecretKeyRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DownloadSqueakSecretKeyRequest.displayName="proto.squeaknode.DownloadSqueakSecretKeyRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DownloadSqueakSecretKeyRequest.prototype.toObject=function(e){return proto.squeaknode.DownloadSqueakSecretKeyRequest.toObject(e,this)},proto.squeaknode.DownloadSqueakSecretKeyRequest.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.DownloadSqueakSecretKeyRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DownloadSqueakSecretKeyRequest;return proto.squeaknode.DownloadSqueakSecretKeyRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.DownloadSqueakSecretKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSqueakHash(r)}else t.skipField()}return e},proto.squeaknode.DownloadSqueakSecretKeyRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DownloadSqueakSecretKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DownloadSqueakSecretKeyRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakHash()).length>0&&t.writeString(1,r)},proto.squeaknode.DownloadSqueakSecretKeyRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.DownloadSqueakSecretKeyRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.DownloadSqueakSecretKeyReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DownloadSqueakSecretKeyReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DownloadSqueakSecretKeyReply.displayName="proto.squeaknode.DownloadSqueakSecretKeyReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DownloadSqueakSecretKeyReply.prototype.toObject=function(e){return proto.squeaknode.DownloadSqueakSecretKeyReply.toObject(e,this)},proto.squeaknode.DownloadSqueakSecretKeyReply.toObject=function(e,t){var r,n={downloadResult:(r=t.getDownloadResult())&&proto.squeaknode.DownloadResult.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.DownloadSqueakSecretKeyReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DownloadSqueakSecretKeyReply;return proto.squeaknode.DownloadSqueakSecretKeyReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.DownloadSqueakSecretKeyReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.DownloadResult;t.readMessage(r,proto.squeaknode.DownloadResult.deserializeBinaryFromReader),e.setDownloadResult(r)}else t.skipField()}return e},proto.squeaknode.DownloadSqueakSecretKeyReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DownloadSqueakSecretKeyReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DownloadSqueakSecretKeyReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getDownloadResult())&&t.writeMessage(1,r,proto.squeaknode.DownloadResult.serializeBinaryToWriter)},proto.squeaknode.DownloadSqueakSecretKeyReply.prototype.getDownloadResult=function(){return n.Message.getWrapperField(this,proto.squeaknode.DownloadResult,1)},proto.squeaknode.DownloadSqueakSecretKeyReply.prototype.setDownloadResult=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.DownloadSqueakSecretKeyReply.prototype.clearDownloadResult=function(){this.setDownloadResult(void 0)},proto.squeaknode.DownloadSqueakSecretKeyReply.prototype.hasDownloadResult=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.DownloadOffersRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DownloadOffersRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DownloadOffersRequest.displayName="proto.squeaknode.DownloadOffersRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DownloadOffersRequest.prototype.toObject=function(e){return proto.squeaknode.DownloadOffersRequest.toObject(e,this)},proto.squeaknode.DownloadOffersRequest.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.DownloadOffersRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DownloadOffersRequest;return proto.squeaknode.DownloadOffersRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.DownloadOffersRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSqueakHash(r)}else t.skipField()}return e},proto.squeaknode.DownloadOffersRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DownloadOffersRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DownloadOffersRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakHash()).length>0&&t.writeString(1,r)},proto.squeaknode.DownloadOffersRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.DownloadOffersRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.DownloadOffersReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DownloadOffersReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DownloadOffersReply.displayName="proto.squeaknode.DownloadOffersReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DownloadOffersReply.prototype.toObject=function(e){return proto.squeaknode.DownloadOffersReply.toObject(e,this)},proto.squeaknode.DownloadOffersReply.toObject=function(e,t){var r,n={downloadResult:(r=t.getDownloadResult())&&proto.squeaknode.DownloadResult.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.DownloadOffersReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DownloadOffersReply;return proto.squeaknode.DownloadOffersReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.DownloadOffersReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.DownloadResult;t.readMessage(r,proto.squeaknode.DownloadResult.deserializeBinaryFromReader),e.setDownloadResult(r)}else t.skipField()}return e},proto.squeaknode.DownloadOffersReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DownloadOffersReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DownloadOffersReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getDownloadResult())&&t.writeMessage(1,r,proto.squeaknode.DownloadResult.serializeBinaryToWriter)},proto.squeaknode.DownloadOffersReply.prototype.getDownloadResult=function(){return n.Message.getWrapperField(this,proto.squeaknode.DownloadResult,1)},proto.squeaknode.DownloadOffersReply.prototype.setDownloadResult=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.DownloadOffersReply.prototype.clearDownloadResult=function(){this.setDownloadResult(void 0)},proto.squeaknode.DownloadOffersReply.prototype.hasDownloadResult=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.DownloadRepliesRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DownloadRepliesRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DownloadRepliesRequest.displayName="proto.squeaknode.DownloadRepliesRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DownloadRepliesRequest.prototype.toObject=function(e){return proto.squeaknode.DownloadRepliesRequest.toObject(e,this)},proto.squeaknode.DownloadRepliesRequest.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.DownloadRepliesRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DownloadRepliesRequest;return proto.squeaknode.DownloadRepliesRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.DownloadRepliesRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSqueakHash(r)}else t.skipField()}return e},proto.squeaknode.DownloadRepliesRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DownloadRepliesRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DownloadRepliesRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakHash()).length>0&&t.writeString(1,r)},proto.squeaknode.DownloadRepliesRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.DownloadRepliesRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.DownloadRepliesReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DownloadRepliesReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DownloadRepliesReply.displayName="proto.squeaknode.DownloadRepliesReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DownloadRepliesReply.prototype.toObject=function(e){return proto.squeaknode.DownloadRepliesReply.toObject(e,this)},proto.squeaknode.DownloadRepliesReply.toObject=function(e,t){var r,n={downloadResult:(r=t.getDownloadResult())&&proto.squeaknode.DownloadResult.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.DownloadRepliesReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DownloadRepliesReply;return proto.squeaknode.DownloadRepliesReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.DownloadRepliesReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.DownloadResult;t.readMessage(r,proto.squeaknode.DownloadResult.deserializeBinaryFromReader),e.setDownloadResult(r)}else t.skipField()}return e},proto.squeaknode.DownloadRepliesReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DownloadRepliesReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DownloadRepliesReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getDownloadResult())&&t.writeMessage(1,r,proto.squeaknode.DownloadResult.serializeBinaryToWriter)},proto.squeaknode.DownloadRepliesReply.prototype.getDownloadResult=function(){return n.Message.getWrapperField(this,proto.squeaknode.DownloadResult,1)},proto.squeaknode.DownloadRepliesReply.prototype.setDownloadResult=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.DownloadRepliesReply.prototype.clearDownloadResult=function(){this.setDownloadResult(void 0)},proto.squeaknode.DownloadRepliesReply.prototype.hasDownloadResult=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.DownloadPubKeySqueaksRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DownloadPubKeySqueaksRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DownloadPubKeySqueaksRequest.displayName="proto.squeaknode.DownloadPubKeySqueaksRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DownloadPubKeySqueaksRequest.prototype.toObject=function(e){return proto.squeaknode.DownloadPubKeySqueaksRequest.toObject(e,this)},proto.squeaknode.DownloadPubKeySqueaksRequest.toObject=function(e,t){var r={pubkey:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.DownloadPubKeySqueaksRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DownloadPubKeySqueaksRequest;return proto.squeaknode.DownloadPubKeySqueaksRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.DownloadPubKeySqueaksRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setPubkey(r)}else t.skipField()}return e},proto.squeaknode.DownloadPubKeySqueaksRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DownloadPubKeySqueaksRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DownloadPubKeySqueaksRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getPubkey()).length>0&&t.writeString(1,r)},proto.squeaknode.DownloadPubKeySqueaksRequest.prototype.getPubkey=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.DownloadPubKeySqueaksRequest.prototype.setPubkey=function(e){n.Message.setField(this,1,e)},proto.squeaknode.DownloadPubKeySqueaksReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DownloadPubKeySqueaksReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DownloadPubKeySqueaksReply.displayName="proto.squeaknode.DownloadPubKeySqueaksReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DownloadPubKeySqueaksReply.prototype.toObject=function(e){return proto.squeaknode.DownloadPubKeySqueaksReply.toObject(e,this)},proto.squeaknode.DownloadPubKeySqueaksReply.toObject=function(e,t){var r,n={downloadResult:(r=t.getDownloadResult())&&proto.squeaknode.DownloadResult.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.DownloadPubKeySqueaksReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DownloadPubKeySqueaksReply;return proto.squeaknode.DownloadPubKeySqueaksReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.DownloadPubKeySqueaksReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.DownloadResult;t.readMessage(r,proto.squeaknode.DownloadResult.deserializeBinaryFromReader),e.setDownloadResult(r)}else t.skipField()}return e},proto.squeaknode.DownloadPubKeySqueaksReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DownloadPubKeySqueaksReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DownloadPubKeySqueaksReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getDownloadResult())&&t.writeMessage(1,r,proto.squeaknode.DownloadResult.serializeBinaryToWriter)},proto.squeaknode.DownloadPubKeySqueaksReply.prototype.getDownloadResult=function(){return n.Message.getWrapperField(this,proto.squeaknode.DownloadResult,1)},proto.squeaknode.DownloadPubKeySqueaksReply.prototype.setDownloadResult=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.DownloadPubKeySqueaksReply.prototype.clearDownloadResult=function(){this.setDownloadResult(void 0)},proto.squeaknode.DownloadPubKeySqueaksReply.prototype.hasDownloadResult=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.GetSentOffersRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSentOffersRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSentOffersRequest.displayName="proto.squeaknode.GetSentOffersRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSentOffersRequest.prototype.toObject=function(e){return proto.squeaknode.GetSentOffersRequest.toObject(e,this)},proto.squeaknode.GetSentOffersRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetSentOffersRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSentOffersRequest;return proto.squeaknode.GetSentOffersRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSentOffersRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.GetSentOffersRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSentOffersRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSentOffersRequest.serializeBinaryToWriter=function(e,t){},proto.squeaknode.GetSentOffersReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetSentOffersReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetSentOffersReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSentOffersReply.displayName="proto.squeaknode.GetSentOffersReply"),proto.squeaknode.GetSentOffersReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSentOffersReply.prototype.toObject=function(e){return proto.squeaknode.GetSentOffersReply.toObject(e,this)},proto.squeaknode.GetSentOffersReply.toObject=function(e,t){var r={sentOffersList:n.Message.toObjectList(t.getSentOffersList(),proto.squeaknode.SentOffer.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetSentOffersReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSentOffersReply;return proto.squeaknode.GetSentOffersReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSentOffersReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SentOffer;t.readMessage(r,proto.squeaknode.SentOffer.deserializeBinaryFromReader),e.addSentOffers(r)}else t.skipField()}return e},proto.squeaknode.GetSentOffersReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSentOffersReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSentOffersReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getSentOffersList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.SentOffer.serializeBinaryToWriter)},proto.squeaknode.GetSentOffersReply.prototype.getSentOffersList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.SentOffer,1)},proto.squeaknode.GetSentOffersReply.prototype.setSentOffersList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetSentOffersReply.prototype.addSentOffers=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.SentOffer,t)},proto.squeaknode.GetSentOffersReply.prototype.clearSentOffersList=function(){this.setSentOffersList([])},proto.squeaknode.SentOffer=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SentOffer,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SentOffer.displayName="proto.squeaknode.SentOffer"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SentOffer.prototype.toObject=function(e){return proto.squeaknode.SentOffer.toObject(e,this)},proto.squeaknode.SentOffer.toObject=function(e,t){var r={sentOfferId:n.Message.getFieldWithDefault(t,1,0),squeakHash:n.Message.getFieldWithDefault(t,2,""),paymentHash:n.Message.getFieldWithDefault(t,3,""),priceMsat:n.Message.getFieldWithDefault(t,4,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SentOffer.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SentOffer;return proto.squeaknode.SentOffer.deserializeBinaryFromReader(r,t)},proto.squeaknode.SentOffer.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setSentOfferId(r);break;case 2:r=t.readString();e.setSqueakHash(r);break;case 3:r=t.readString();e.setPaymentHash(r);break;case 4:r=t.readInt64();e.setPriceMsat(r);break;default:t.skipField()}}return e},proto.squeaknode.SentOffer.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SentOffer.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SentOffer.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getSentOfferId())&&t.writeInt32(1,r),(r=e.getSqueakHash()).length>0&&t.writeString(2,r),(r=e.getPaymentHash()).length>0&&t.writeString(3,r),0!==(r=e.getPriceMsat())&&t.writeInt64(4,r)},proto.squeaknode.SentOffer.prototype.getSentOfferId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.SentOffer.prototype.setSentOfferId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.SentOffer.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.squeaknode.SentOffer.prototype.setSqueakHash=function(e){n.Message.setField(this,2,e)},proto.squeaknode.SentOffer.prototype.getPaymentHash=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.squeaknode.SentOffer.prototype.setPaymentHash=function(e){n.Message.setField(this,3,e)},proto.squeaknode.SentOffer.prototype.getPriceMsat=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.squeaknode.SentOffer.prototype.setPriceMsat=function(e){n.Message.setField(this,4,e)},proto.squeaknode.GetReceivedPaymentsRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetReceivedPaymentsRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetReceivedPaymentsRequest.displayName="proto.squeaknode.GetReceivedPaymentsRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetReceivedPaymentsRequest.prototype.toObject=function(e){return proto.squeaknode.GetReceivedPaymentsRequest.toObject(e,this)},proto.squeaknode.GetReceivedPaymentsRequest.toObject=function(e,t){var r,o={limit:n.Message.getFieldWithDefault(t,1,0),lastReceivedPayment:(r=t.getLastReceivedPayment())&&proto.squeaknode.ReceivedPayment.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.GetReceivedPaymentsRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetReceivedPaymentsRequest;return proto.squeaknode.GetReceivedPaymentsRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetReceivedPaymentsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setLimit(r);break;case 2:r=new proto.squeaknode.ReceivedPayment;t.readMessage(r,proto.squeaknode.ReceivedPayment.deserializeBinaryFromReader),e.setLastReceivedPayment(r);break;default:t.skipField()}}return e},proto.squeaknode.GetReceivedPaymentsRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetReceivedPaymentsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetReceivedPaymentsRequest.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getLimit())&&t.writeInt32(1,r),null!=(r=e.getLastReceivedPayment())&&t.writeMessage(2,r,proto.squeaknode.ReceivedPayment.serializeBinaryToWriter)},proto.squeaknode.GetReceivedPaymentsRequest.prototype.getLimit=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.GetReceivedPaymentsRequest.prototype.setLimit=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetReceivedPaymentsRequest.prototype.getLastReceivedPayment=function(){return n.Message.getWrapperField(this,proto.squeaknode.ReceivedPayment,2)},proto.squeaknode.GetReceivedPaymentsRequest.prototype.setLastReceivedPayment=function(e){n.Message.setWrapperField(this,2,e)},proto.squeaknode.GetReceivedPaymentsRequest.prototype.clearLastReceivedPayment=function(){this.setLastReceivedPayment(void 0)},proto.squeaknode.GetReceivedPaymentsRequest.prototype.hasLastReceivedPayment=function(){return null!=n.Message.getField(this,2)},proto.squeaknode.GetReceivedPaymentsReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetReceivedPaymentsReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetReceivedPaymentsReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetReceivedPaymentsReply.displayName="proto.squeaknode.GetReceivedPaymentsReply"),proto.squeaknode.GetReceivedPaymentsReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetReceivedPaymentsReply.prototype.toObject=function(e){return proto.squeaknode.GetReceivedPaymentsReply.toObject(e,this)},proto.squeaknode.GetReceivedPaymentsReply.toObject=function(e,t){var r={receivedPaymentsList:n.Message.toObjectList(t.getReceivedPaymentsList(),proto.squeaknode.ReceivedPayment.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetReceivedPaymentsReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetReceivedPaymentsReply;return proto.squeaknode.GetReceivedPaymentsReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetReceivedPaymentsReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.ReceivedPayment;t.readMessage(r,proto.squeaknode.ReceivedPayment.deserializeBinaryFromReader),e.addReceivedPayments(r)}else t.skipField()}return e},proto.squeaknode.GetReceivedPaymentsReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetReceivedPaymentsReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetReceivedPaymentsReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getReceivedPaymentsList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.ReceivedPayment.serializeBinaryToWriter)},proto.squeaknode.GetReceivedPaymentsReply.prototype.getReceivedPaymentsList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.ReceivedPayment,1)},proto.squeaknode.GetReceivedPaymentsReply.prototype.setReceivedPaymentsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetReceivedPaymentsReply.prototype.addReceivedPayments=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.ReceivedPayment,t)},proto.squeaknode.GetReceivedPaymentsReply.prototype.clearReceivedPaymentsList=function(){this.setReceivedPaymentsList([])},proto.squeaknode.GetReceivedPaymentsForSqueakRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetReceivedPaymentsForSqueakRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetReceivedPaymentsForSqueakRequest.displayName="proto.squeaknode.GetReceivedPaymentsForSqueakRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetReceivedPaymentsForSqueakRequest.prototype.toObject=function(e){return proto.squeaknode.GetReceivedPaymentsForSqueakRequest.toObject(e,this)},proto.squeaknode.GetReceivedPaymentsForSqueakRequest.toObject=function(e,t){var r,o={squeakHash:n.Message.getFieldWithDefault(t,1,""),limit:n.Message.getFieldWithDefault(t,2,0),lastReceivedPayment:(r=t.getLastReceivedPayment())&&proto.squeaknode.ReceivedPayment.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.GetReceivedPaymentsForSqueakRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetReceivedPaymentsForSqueakRequest;return proto.squeaknode.GetReceivedPaymentsForSqueakRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetReceivedPaymentsForSqueakRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setSqueakHash(r);break;case 2:r=t.readInt32();e.setLimit(r);break;case 3:r=new proto.squeaknode.ReceivedPayment;t.readMessage(r,proto.squeaknode.ReceivedPayment.deserializeBinaryFromReader),e.setLastReceivedPayment(r);break;default:t.skipField()}}return e},proto.squeaknode.GetReceivedPaymentsForSqueakRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetReceivedPaymentsForSqueakRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetReceivedPaymentsForSqueakRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getSqueakHash()).length>0&&t.writeString(1,r),0!==(r=e.getLimit())&&t.writeInt32(2,r),null!=(r=e.getLastReceivedPayment())&&t.writeMessage(3,r,proto.squeaknode.ReceivedPayment.serializeBinaryToWriter)},proto.squeaknode.GetReceivedPaymentsForSqueakRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.GetReceivedPaymentsForSqueakRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetReceivedPaymentsForSqueakRequest.prototype.getLimit=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.squeaknode.GetReceivedPaymentsForSqueakRequest.prototype.setLimit=function(e){n.Message.setField(this,2,e)},proto.squeaknode.GetReceivedPaymentsForSqueakRequest.prototype.getLastReceivedPayment=function(){return n.Message.getWrapperField(this,proto.squeaknode.ReceivedPayment,3)},proto.squeaknode.GetReceivedPaymentsForSqueakRequest.prototype.setLastReceivedPayment=function(e){n.Message.setWrapperField(this,3,e)},proto.squeaknode.GetReceivedPaymentsForSqueakRequest.prototype.clearLastReceivedPayment=function(){this.setLastReceivedPayment(void 0)},proto.squeaknode.GetReceivedPaymentsForSqueakRequest.prototype.hasLastReceivedPayment=function(){return null!=n.Message.getField(this,3)},proto.squeaknode.GetReceivedPaymentsForSqueakReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetReceivedPaymentsForSqueakReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetReceivedPaymentsForSqueakReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetReceivedPaymentsForSqueakReply.displayName="proto.squeaknode.GetReceivedPaymentsForSqueakReply"),proto.squeaknode.GetReceivedPaymentsForSqueakReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetReceivedPaymentsForSqueakReply.prototype.toObject=function(e){return proto.squeaknode.GetReceivedPaymentsForSqueakReply.toObject(e,this)},proto.squeaknode.GetReceivedPaymentsForSqueakReply.toObject=function(e,t){var r={receivedPaymentsList:n.Message.toObjectList(t.getReceivedPaymentsList(),proto.squeaknode.ReceivedPayment.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetReceivedPaymentsForSqueakReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetReceivedPaymentsForSqueakReply;return proto.squeaknode.GetReceivedPaymentsForSqueakReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetReceivedPaymentsForSqueakReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.ReceivedPayment;t.readMessage(r,proto.squeaknode.ReceivedPayment.deserializeBinaryFromReader),e.addReceivedPayments(r)}else t.skipField()}return e},proto.squeaknode.GetReceivedPaymentsForSqueakReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetReceivedPaymentsForSqueakReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetReceivedPaymentsForSqueakReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getReceivedPaymentsList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.ReceivedPayment.serializeBinaryToWriter)},proto.squeaknode.GetReceivedPaymentsForSqueakReply.prototype.getReceivedPaymentsList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.ReceivedPayment,1)},proto.squeaknode.GetReceivedPaymentsForSqueakReply.prototype.setReceivedPaymentsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetReceivedPaymentsForSqueakReply.prototype.addReceivedPayments=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.ReceivedPayment,t)},proto.squeaknode.GetReceivedPaymentsForSqueakReply.prototype.clearReceivedPaymentsList=function(){this.setReceivedPaymentsList([])},proto.squeaknode.GetReceivedPaymentsForPubkeyRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetReceivedPaymentsForPubkeyRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetReceivedPaymentsForPubkeyRequest.displayName="proto.squeaknode.GetReceivedPaymentsForPubkeyRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetReceivedPaymentsForPubkeyRequest.prototype.toObject=function(e){return proto.squeaknode.GetReceivedPaymentsForPubkeyRequest.toObject(e,this)},proto.squeaknode.GetReceivedPaymentsForPubkeyRequest.toObject=function(e,t){var r,o={pubkey:n.Message.getFieldWithDefault(t,1,""),limit:n.Message.getFieldWithDefault(t,2,0),lastReceivedPayment:(r=t.getLastReceivedPayment())&&proto.squeaknode.ReceivedPayment.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.GetReceivedPaymentsForPubkeyRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetReceivedPaymentsForPubkeyRequest;return proto.squeaknode.GetReceivedPaymentsForPubkeyRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetReceivedPaymentsForPubkeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setPubkey(r);break;case 2:r=t.readInt32();e.setLimit(r);break;case 3:r=new proto.squeaknode.ReceivedPayment;t.readMessage(r,proto.squeaknode.ReceivedPayment.deserializeBinaryFromReader),e.setLastReceivedPayment(r);break;default:t.skipField()}}return e},proto.squeaknode.GetReceivedPaymentsForPubkeyRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetReceivedPaymentsForPubkeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetReceivedPaymentsForPubkeyRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getPubkey()).length>0&&t.writeString(1,r),0!==(r=e.getLimit())&&t.writeInt32(2,r),null!=(r=e.getLastReceivedPayment())&&t.writeMessage(3,r,proto.squeaknode.ReceivedPayment.serializeBinaryToWriter)},proto.squeaknode.GetReceivedPaymentsForPubkeyRequest.prototype.getPubkey=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.GetReceivedPaymentsForPubkeyRequest.prototype.setPubkey=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetReceivedPaymentsForPubkeyRequest.prototype.getLimit=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.squeaknode.GetReceivedPaymentsForPubkeyRequest.prototype.setLimit=function(e){n.Message.setField(this,2,e)},proto.squeaknode.GetReceivedPaymentsForPubkeyRequest.prototype.getLastReceivedPayment=function(){return n.Message.getWrapperField(this,proto.squeaknode.ReceivedPayment,3)},proto.squeaknode.GetReceivedPaymentsForPubkeyRequest.prototype.setLastReceivedPayment=function(e){n.Message.setWrapperField(this,3,e)},proto.squeaknode.GetReceivedPaymentsForPubkeyRequest.prototype.clearLastReceivedPayment=function(){this.setLastReceivedPayment(void 0)},proto.squeaknode.GetReceivedPaymentsForPubkeyRequest.prototype.hasLastReceivedPayment=function(){return null!=n.Message.getField(this,3)},proto.squeaknode.GetReceivedPaymentsForPubkeyReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetReceivedPaymentsForPubkeyReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetReceivedPaymentsForPubkeyReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetReceivedPaymentsForPubkeyReply.displayName="proto.squeaknode.GetReceivedPaymentsForPubkeyReply"),proto.squeaknode.GetReceivedPaymentsForPubkeyReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetReceivedPaymentsForPubkeyReply.prototype.toObject=function(e){return proto.squeaknode.GetReceivedPaymentsForPubkeyReply.toObject(e,this)},proto.squeaknode.GetReceivedPaymentsForPubkeyReply.toObject=function(e,t){var r={receivedPaymentsList:n.Message.toObjectList(t.getReceivedPaymentsList(),proto.squeaknode.ReceivedPayment.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetReceivedPaymentsForPubkeyReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetReceivedPaymentsForPubkeyReply;return proto.squeaknode.GetReceivedPaymentsForPubkeyReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetReceivedPaymentsForPubkeyReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.ReceivedPayment;t.readMessage(r,proto.squeaknode.ReceivedPayment.deserializeBinaryFromReader),e.addReceivedPayments(r)}else t.skipField()}return e},proto.squeaknode.GetReceivedPaymentsForPubkeyReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetReceivedPaymentsForPubkeyReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetReceivedPaymentsForPubkeyReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getReceivedPaymentsList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.ReceivedPayment.serializeBinaryToWriter)},proto.squeaknode.GetReceivedPaymentsForPubkeyReply.prototype.getReceivedPaymentsList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.ReceivedPayment,1)},proto.squeaknode.GetReceivedPaymentsForPubkeyReply.prototype.setReceivedPaymentsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetReceivedPaymentsForPubkeyReply.prototype.addReceivedPayments=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.ReceivedPayment,t)},proto.squeaknode.GetReceivedPaymentsForPubkeyReply.prototype.clearReceivedPaymentsList=function(){this.setReceivedPaymentsList([])},proto.squeaknode.GetReceivedPaymentsForPeerRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetReceivedPaymentsForPeerRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetReceivedPaymentsForPeerRequest.displayName="proto.squeaknode.GetReceivedPaymentsForPeerRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetReceivedPaymentsForPeerRequest.prototype.toObject=function(e){return proto.squeaknode.GetReceivedPaymentsForPeerRequest.toObject(e,this)},proto.squeaknode.GetReceivedPaymentsForPeerRequest.toObject=function(e,t){var r,o={peerAddress:(r=t.getPeerAddress())&&proto.squeaknode.PeerAddress.toObject(e,r),limit:n.Message.getFieldWithDefault(t,2,0),lastReceivedPayment:(r=t.getLastReceivedPayment())&&proto.squeaknode.ReceivedPayment.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.GetReceivedPaymentsForPeerRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetReceivedPaymentsForPeerRequest;return proto.squeaknode.GetReceivedPaymentsForPeerRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetReceivedPaymentsForPeerRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.squeaknode.PeerAddress;t.readMessage(r,proto.squeaknode.PeerAddress.deserializeBinaryFromReader),e.setPeerAddress(r);break;case 2:r=t.readInt32();e.setLimit(r);break;case 3:r=new proto.squeaknode.ReceivedPayment;t.readMessage(r,proto.squeaknode.ReceivedPayment.deserializeBinaryFromReader),e.setLastReceivedPayment(r);break;default:t.skipField()}}return e},proto.squeaknode.GetReceivedPaymentsForPeerRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetReceivedPaymentsForPeerRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetReceivedPaymentsForPeerRequest.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getPeerAddress())&&t.writeMessage(1,r,proto.squeaknode.PeerAddress.serializeBinaryToWriter),0!==(r=e.getLimit())&&t.writeInt32(2,r),null!=(r=e.getLastReceivedPayment())&&t.writeMessage(3,r,proto.squeaknode.ReceivedPayment.serializeBinaryToWriter)},proto.squeaknode.GetReceivedPaymentsForPeerRequest.prototype.getPeerAddress=function(){return n.Message.getWrapperField(this,proto.squeaknode.PeerAddress,1)},proto.squeaknode.GetReceivedPaymentsForPeerRequest.prototype.setPeerAddress=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetReceivedPaymentsForPeerRequest.prototype.clearPeerAddress=function(){this.setPeerAddress(void 0)},proto.squeaknode.GetReceivedPaymentsForPeerRequest.prototype.hasPeerAddress=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.GetReceivedPaymentsForPeerRequest.prototype.getLimit=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.squeaknode.GetReceivedPaymentsForPeerRequest.prototype.setLimit=function(e){n.Message.setField(this,2,e)},proto.squeaknode.GetReceivedPaymentsForPeerRequest.prototype.getLastReceivedPayment=function(){return n.Message.getWrapperField(this,proto.squeaknode.ReceivedPayment,3)},proto.squeaknode.GetReceivedPaymentsForPeerRequest.prototype.setLastReceivedPayment=function(e){n.Message.setWrapperField(this,3,e)},proto.squeaknode.GetReceivedPaymentsForPeerRequest.prototype.clearLastReceivedPayment=function(){this.setLastReceivedPayment(void 0)},proto.squeaknode.GetReceivedPaymentsForPeerRequest.prototype.hasLastReceivedPayment=function(){return null!=n.Message.getField(this,3)},proto.squeaknode.GetReceivedPaymentsForPeerReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetReceivedPaymentsForPeerReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetReceivedPaymentsForPeerReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetReceivedPaymentsForPeerReply.displayName="proto.squeaknode.GetReceivedPaymentsForPeerReply"),proto.squeaknode.GetReceivedPaymentsForPeerReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetReceivedPaymentsForPeerReply.prototype.toObject=function(e){return proto.squeaknode.GetReceivedPaymentsForPeerReply.toObject(e,this)},proto.squeaknode.GetReceivedPaymentsForPeerReply.toObject=function(e,t){var r={receivedPaymentsList:n.Message.toObjectList(t.getReceivedPaymentsList(),proto.squeaknode.ReceivedPayment.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetReceivedPaymentsForPeerReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetReceivedPaymentsForPeerReply;return proto.squeaknode.GetReceivedPaymentsForPeerReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetReceivedPaymentsForPeerReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.ReceivedPayment;t.readMessage(r,proto.squeaknode.ReceivedPayment.deserializeBinaryFromReader),e.addReceivedPayments(r)}else t.skipField()}return e},proto.squeaknode.GetReceivedPaymentsForPeerReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetReceivedPaymentsForPeerReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetReceivedPaymentsForPeerReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getReceivedPaymentsList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.ReceivedPayment.serializeBinaryToWriter)},proto.squeaknode.GetReceivedPaymentsForPeerReply.prototype.getReceivedPaymentsList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.ReceivedPayment,1)},proto.squeaknode.GetReceivedPaymentsForPeerReply.prototype.setReceivedPaymentsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetReceivedPaymentsForPeerReply.prototype.addReceivedPayments=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.ReceivedPayment,t)},proto.squeaknode.GetReceivedPaymentsForPeerReply.prototype.clearReceivedPaymentsList=function(){this.setReceivedPaymentsList([])},proto.squeaknode.ReceivedPayment=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.ReceivedPayment,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.ReceivedPayment.displayName="proto.squeaknode.ReceivedPayment"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.ReceivedPayment.prototype.toObject=function(e){return proto.squeaknode.ReceivedPayment.toObject(e,this)},proto.squeaknode.ReceivedPayment.toObject=function(e,t){var r,o={receivedPaymentId:n.Message.getFieldWithDefault(t,1,0),squeakHash:n.Message.getFieldWithDefault(t,2,""),paymentHash:n.Message.getFieldWithDefault(t,3,""),priceMsat:n.Message.getFieldWithDefault(t,4,0),timeMs:n.Message.getFieldWithDefault(t,5,0),peerAddress:(r=t.getPeerAddress())&&proto.squeaknode.PeerAddress.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.ReceivedPayment.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.ReceivedPayment;return proto.squeaknode.ReceivedPayment.deserializeBinaryFromReader(r,t)},proto.squeaknode.ReceivedPayment.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setReceivedPaymentId(r);break;case 2:r=t.readString();e.setSqueakHash(r);break;case 3:r=t.readString();e.setPaymentHash(r);break;case 4:r=t.readInt64();e.setPriceMsat(r);break;case 5:r=t.readInt64();e.setTimeMs(r);break;case 6:r=new proto.squeaknode.PeerAddress;t.readMessage(r,proto.squeaknode.PeerAddress.deserializeBinaryFromReader),e.setPeerAddress(r);break;default:t.skipField()}}return e},proto.squeaknode.ReceivedPayment.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.ReceivedPayment.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.ReceivedPayment.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getReceivedPaymentId())&&t.writeInt32(1,r),(r=e.getSqueakHash()).length>0&&t.writeString(2,r),(r=e.getPaymentHash()).length>0&&t.writeString(3,r),0!==(r=e.getPriceMsat())&&t.writeInt64(4,r),0!==(r=e.getTimeMs())&&t.writeInt64(5,r),null!=(r=e.getPeerAddress())&&t.writeMessage(6,r,proto.squeaknode.PeerAddress.serializeBinaryToWriter)};proto.squeaknode.ReceivedPayment.prototype.getReceivedPaymentId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.ReceivedPayment.prototype.setReceivedPaymentId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.ReceivedPayment.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.squeaknode.ReceivedPayment.prototype.setSqueakHash=function(e){n.Message.setField(this,2,e)},proto.squeaknode.ReceivedPayment.prototype.getPaymentHash=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.squeaknode.ReceivedPayment.prototype.setPaymentHash=function(e){n.Message.setField(this,3,e)},proto.squeaknode.ReceivedPayment.prototype.getPriceMsat=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.squeaknode.ReceivedPayment.prototype.setPriceMsat=function(e){n.Message.setField(this,4,e)},proto.squeaknode.ReceivedPayment.prototype.getTimeMs=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.squeaknode.ReceivedPayment.prototype.setTimeMs=function(e){n.Message.setField(this,5,e)},proto.squeaknode.ReceivedPayment.prototype.getPeerAddress=function(){return n.Message.getWrapperField(this,proto.squeaknode.PeerAddress,6)},proto.squeaknode.ReceivedPayment.prototype.setPeerAddress=function(e){n.Message.setWrapperField(this,6,e)},proto.squeaknode.ReceivedPayment.prototype.clearPeerAddress=function(){this.setPeerAddress(void 0)},proto.squeaknode.ReceivedPayment.prototype.hasPeerAddress=function(){return null!=n.Message.getField(this,6)},proto.squeaknode.SubscribeReceivedPaymentsRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SubscribeReceivedPaymentsRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SubscribeReceivedPaymentsRequest.displayName="proto.squeaknode.SubscribeReceivedPaymentsRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SubscribeReceivedPaymentsRequest.prototype.toObject=function(e){return proto.squeaknode.SubscribeReceivedPaymentsRequest.toObject(e,this)},proto.squeaknode.SubscribeReceivedPaymentsRequest.toObject=function(e,t){var r={paymentIndex:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SubscribeReceivedPaymentsRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SubscribeReceivedPaymentsRequest;return proto.squeaknode.SubscribeReceivedPaymentsRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.SubscribeReceivedPaymentsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt64();e.setPaymentIndex(r)}else t.skipField()}return e},proto.squeaknode.SubscribeReceivedPaymentsRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SubscribeReceivedPaymentsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SubscribeReceivedPaymentsRequest.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getPaymentIndex())&&t.writeInt64(1,r)},proto.squeaknode.SubscribeReceivedPaymentsRequest.prototype.getPaymentIndex=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.SubscribeReceivedPaymentsRequest.prototype.setPaymentIndex=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetNetworkRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetNetworkRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetNetworkRequest.displayName="proto.squeaknode.GetNetworkRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetNetworkRequest.prototype.toObject=function(e){return proto.squeaknode.GetNetworkRequest.toObject(e,this)},proto.squeaknode.GetNetworkRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetNetworkRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetNetworkRequest;return proto.squeaknode.GetNetworkRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetNetworkRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.GetNetworkRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetNetworkRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetNetworkRequest.serializeBinaryToWriter=function(e,t){},proto.squeaknode.GetNetworkReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetNetworkReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetNetworkReply.displayName="proto.squeaknode.GetNetworkReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetNetworkReply.prototype.toObject=function(e){return proto.squeaknode.GetNetworkReply.toObject(e,this)},proto.squeaknode.GetNetworkReply.toObject=function(e,t){var r={network:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetNetworkReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetNetworkReply;return proto.squeaknode.GetNetworkReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetNetworkReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setNetwork(r)}else t.skipField()}return e},proto.squeaknode.GetNetworkReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetNetworkReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetNetworkReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getNetwork()).length>0&&t.writeString(1,r)},proto.squeaknode.GetNetworkReply.prototype.getNetwork=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.GetNetworkReply.prototype.setNetwork=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetPaymentSummaryRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetPaymentSummaryRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetPaymentSummaryRequest.displayName="proto.squeaknode.GetPaymentSummaryRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetPaymentSummaryRequest.prototype.toObject=function(e){return proto.squeaknode.GetPaymentSummaryRequest.toObject(e,this)},proto.squeaknode.GetPaymentSummaryRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetPaymentSummaryRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetPaymentSummaryRequest;return proto.squeaknode.GetPaymentSummaryRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetPaymentSummaryRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.GetPaymentSummaryRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetPaymentSummaryRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetPaymentSummaryRequest.serializeBinaryToWriter=function(e,t){},proto.squeaknode.GetPaymentSummaryReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetPaymentSummaryReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetPaymentSummaryReply.displayName="proto.squeaknode.GetPaymentSummaryReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetPaymentSummaryReply.prototype.toObject=function(e){return proto.squeaknode.GetPaymentSummaryReply.toObject(e,this)},proto.squeaknode.GetPaymentSummaryReply.toObject=function(e,t){var r,n={paymentSummary:(r=t.getPaymentSummary())&&proto.squeaknode.PaymentSummary.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.GetPaymentSummaryReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetPaymentSummaryReply;return proto.squeaknode.GetPaymentSummaryReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetPaymentSummaryReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.PaymentSummary;t.readMessage(r,proto.squeaknode.PaymentSummary.deserializeBinaryFromReader),e.setPaymentSummary(r)}else t.skipField()}return e},proto.squeaknode.GetPaymentSummaryReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetPaymentSummaryReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetPaymentSummaryReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getPaymentSummary())&&t.writeMessage(1,r,proto.squeaknode.PaymentSummary.serializeBinaryToWriter)},proto.squeaknode.GetPaymentSummaryReply.prototype.getPaymentSummary=function(){return n.Message.getWrapperField(this,proto.squeaknode.PaymentSummary,1)},proto.squeaknode.GetPaymentSummaryReply.prototype.setPaymentSummary=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetPaymentSummaryReply.prototype.clearPaymentSummary=function(){this.setPaymentSummary(void 0)},proto.squeaknode.GetPaymentSummaryReply.prototype.hasPaymentSummary=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.GetPaymentSummaryForSqueakRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetPaymentSummaryForSqueakRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetPaymentSummaryForSqueakRequest.displayName="proto.squeaknode.GetPaymentSummaryForSqueakRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetPaymentSummaryForSqueakRequest.prototype.toObject=function(e){return proto.squeaknode.GetPaymentSummaryForSqueakRequest.toObject(e,this)},proto.squeaknode.GetPaymentSummaryForSqueakRequest.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetPaymentSummaryForSqueakRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetPaymentSummaryForSqueakRequest;return proto.squeaknode.GetPaymentSummaryForSqueakRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetPaymentSummaryForSqueakRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSqueakHash(r)}else t.skipField()}return e},proto.squeaknode.GetPaymentSummaryForSqueakRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetPaymentSummaryForSqueakRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetPaymentSummaryForSqueakRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakHash()).length>0&&t.writeString(1,r)},proto.squeaknode.GetPaymentSummaryForSqueakRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.GetPaymentSummaryForSqueakRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetPaymentSummaryForSqueakReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetPaymentSummaryForSqueakReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetPaymentSummaryForSqueakReply.displayName="proto.squeaknode.GetPaymentSummaryForSqueakReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetPaymentSummaryForSqueakReply.prototype.toObject=function(e){return proto.squeaknode.GetPaymentSummaryForSqueakReply.toObject(e,this)},proto.squeaknode.GetPaymentSummaryForSqueakReply.toObject=function(e,t){var r,n={paymentSummary:(r=t.getPaymentSummary())&&proto.squeaknode.PaymentSummary.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.GetPaymentSummaryForSqueakReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetPaymentSummaryForSqueakReply;return proto.squeaknode.GetPaymentSummaryForSqueakReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetPaymentSummaryForSqueakReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.PaymentSummary;t.readMessage(r,proto.squeaknode.PaymentSummary.deserializeBinaryFromReader),e.setPaymentSummary(r)}else t.skipField()}return e},proto.squeaknode.GetPaymentSummaryForSqueakReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetPaymentSummaryForSqueakReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetPaymentSummaryForSqueakReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getPaymentSummary())&&t.writeMessage(1,r,proto.squeaknode.PaymentSummary.serializeBinaryToWriter)},proto.squeaknode.GetPaymentSummaryForSqueakReply.prototype.getPaymentSummary=function(){return n.Message.getWrapperField(this,proto.squeaknode.PaymentSummary,1)},proto.squeaknode.GetPaymentSummaryForSqueakReply.prototype.setPaymentSummary=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetPaymentSummaryForSqueakReply.prototype.clearPaymentSummary=function(){this.setPaymentSummary(void 0)},proto.squeaknode.GetPaymentSummaryForSqueakReply.prototype.hasPaymentSummary=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.GetPaymentSummaryForPubkeyRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetPaymentSummaryForPubkeyRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetPaymentSummaryForPubkeyRequest.displayName="proto.squeaknode.GetPaymentSummaryForPubkeyRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetPaymentSummaryForPubkeyRequest.prototype.toObject=function(e){return proto.squeaknode.GetPaymentSummaryForPubkeyRequest.toObject(e,this)},proto.squeaknode.GetPaymentSummaryForPubkeyRequest.toObject=function(e,t){var r={pubkey:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetPaymentSummaryForPubkeyRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetPaymentSummaryForPubkeyRequest;return proto.squeaknode.GetPaymentSummaryForPubkeyRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetPaymentSummaryForPubkeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setPubkey(r)}else t.skipField()}return e},proto.squeaknode.GetPaymentSummaryForPubkeyRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetPaymentSummaryForPubkeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetPaymentSummaryForPubkeyRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getPubkey()).length>0&&t.writeString(1,r)},proto.squeaknode.GetPaymentSummaryForPubkeyRequest.prototype.getPubkey=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.GetPaymentSummaryForPubkeyRequest.prototype.setPubkey=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetPaymentSummaryForPubkeyReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetPaymentSummaryForPubkeyReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetPaymentSummaryForPubkeyReply.displayName="proto.squeaknode.GetPaymentSummaryForPubkeyReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetPaymentSummaryForPubkeyReply.prototype.toObject=function(e){return proto.squeaknode.GetPaymentSummaryForPubkeyReply.toObject(e,this)},proto.squeaknode.GetPaymentSummaryForPubkeyReply.toObject=function(e,t){var r,n={paymentSummary:(r=t.getPaymentSummary())&&proto.squeaknode.PaymentSummary.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.GetPaymentSummaryForPubkeyReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetPaymentSummaryForPubkeyReply;return proto.squeaknode.GetPaymentSummaryForPubkeyReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetPaymentSummaryForPubkeyReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.PaymentSummary;t.readMessage(r,proto.squeaknode.PaymentSummary.deserializeBinaryFromReader),e.setPaymentSummary(r)}else t.skipField()}return e},proto.squeaknode.GetPaymentSummaryForPubkeyReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetPaymentSummaryForPubkeyReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetPaymentSummaryForPubkeyReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getPaymentSummary())&&t.writeMessage(1,r,proto.squeaknode.PaymentSummary.serializeBinaryToWriter)},proto.squeaknode.GetPaymentSummaryForPubkeyReply.prototype.getPaymentSummary=function(){return n.Message.getWrapperField(this,proto.squeaknode.PaymentSummary,1)},proto.squeaknode.GetPaymentSummaryForPubkeyReply.prototype.setPaymentSummary=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetPaymentSummaryForPubkeyReply.prototype.clearPaymentSummary=function(){this.setPaymentSummary(void 0)},proto.squeaknode.GetPaymentSummaryForPubkeyReply.prototype.hasPaymentSummary=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.GetPaymentSummaryForPeerRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetPaymentSummaryForPeerRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetPaymentSummaryForPeerRequest.displayName="proto.squeaknode.GetPaymentSummaryForPeerRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetPaymentSummaryForPeerRequest.prototype.toObject=function(e){return proto.squeaknode.GetPaymentSummaryForPeerRequest.toObject(e,this)},proto.squeaknode.GetPaymentSummaryForPeerRequest.toObject=function(e,t){var r,n={peerAddress:(r=t.getPeerAddress())&&proto.squeaknode.PeerAddress.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.GetPaymentSummaryForPeerRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetPaymentSummaryForPeerRequest;return proto.squeaknode.GetPaymentSummaryForPeerRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetPaymentSummaryForPeerRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.PeerAddress;t.readMessage(r,proto.squeaknode.PeerAddress.deserializeBinaryFromReader),e.setPeerAddress(r)}else t.skipField()}return e},proto.squeaknode.GetPaymentSummaryForPeerRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetPaymentSummaryForPeerRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetPaymentSummaryForPeerRequest.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getPeerAddress())&&t.writeMessage(1,r,proto.squeaknode.PeerAddress.serializeBinaryToWriter)},proto.squeaknode.GetPaymentSummaryForPeerRequest.prototype.getPeerAddress=function(){return n.Message.getWrapperField(this,proto.squeaknode.PeerAddress,1)},proto.squeaknode.GetPaymentSummaryForPeerRequest.prototype.setPeerAddress=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetPaymentSummaryForPeerRequest.prototype.clearPeerAddress=function(){this.setPeerAddress(void 0)},proto.squeaknode.GetPaymentSummaryForPeerRequest.prototype.hasPeerAddress=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.GetPaymentSummaryForPeerReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetPaymentSummaryForPeerReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetPaymentSummaryForPeerReply.displayName="proto.squeaknode.GetPaymentSummaryForPeerReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetPaymentSummaryForPeerReply.prototype.toObject=function(e){return proto.squeaknode.GetPaymentSummaryForPeerReply.toObject(e,this)},proto.squeaknode.GetPaymentSummaryForPeerReply.toObject=function(e,t){var r,n={paymentSummary:(r=t.getPaymentSummary())&&proto.squeaknode.PaymentSummary.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.GetPaymentSummaryForPeerReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetPaymentSummaryForPeerReply;return proto.squeaknode.GetPaymentSummaryForPeerReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetPaymentSummaryForPeerReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.PaymentSummary;t.readMessage(r,proto.squeaknode.PaymentSummary.deserializeBinaryFromReader),e.setPaymentSummary(r)}else t.skipField()}return e},proto.squeaknode.GetPaymentSummaryForPeerReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetPaymentSummaryForPeerReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetPaymentSummaryForPeerReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getPaymentSummary())&&t.writeMessage(1,r,proto.squeaknode.PaymentSummary.serializeBinaryToWriter)},proto.squeaknode.GetPaymentSummaryForPeerReply.prototype.getPaymentSummary=function(){return n.Message.getWrapperField(this,proto.squeaknode.PaymentSummary,1)},proto.squeaknode.GetPaymentSummaryForPeerReply.prototype.setPaymentSummary=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetPaymentSummaryForPeerReply.prototype.clearPaymentSummary=function(){this.setPaymentSummary(void 0)},proto.squeaknode.GetPaymentSummaryForPeerReply.prototype.hasPaymentSummary=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.PaymentSummary=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.PaymentSummary,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.PaymentSummary.displayName="proto.squeaknode.PaymentSummary"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.PaymentSummary.prototype.toObject=function(e){return proto.squeaknode.PaymentSummary.toObject(e,this)},proto.squeaknode.PaymentSummary.toObject=function(e,t){var r={numReceivedPayments:n.Message.getFieldWithDefault(t,1,0),numSentPayments:n.Message.getFieldWithDefault(t,2,0),amountEarnedMsat:n.Message.getFieldWithDefault(t,3,0),amountSpentMsat:n.Message.getFieldWithDefault(t,4,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.PaymentSummary.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.PaymentSummary;return proto.squeaknode.PaymentSummary.deserializeBinaryFromReader(r,t)},proto.squeaknode.PaymentSummary.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setNumReceivedPayments(r);break;case 2:r=t.readInt32();e.setNumSentPayments(r);break;case 3:r=t.readInt64();e.setAmountEarnedMsat(r);break;case 4:r=t.readInt64();e.setAmountSpentMsat(r);break;default:t.skipField()}}return e},proto.squeaknode.PaymentSummary.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.PaymentSummary.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.PaymentSummary.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getNumReceivedPayments())&&t.writeInt32(1,r),0!==(r=e.getNumSentPayments())&&t.writeInt32(2,r),0!==(r=e.getAmountEarnedMsat())&&t.writeInt64(3,r),0!==(r=e.getAmountSpentMsat())&&t.writeInt64(4,r)},proto.squeaknode.PaymentSummary.prototype.getNumReceivedPayments=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.PaymentSummary.prototype.setNumReceivedPayments=function(e){n.Message.setField(this,1,e)},proto.squeaknode.PaymentSummary.prototype.getNumSentPayments=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.squeaknode.PaymentSummary.prototype.setNumSentPayments=function(e){n.Message.setField(this,2,e)},proto.squeaknode.PaymentSummary.prototype.getAmountEarnedMsat=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.squeaknode.PaymentSummary.prototype.setAmountEarnedMsat=function(e){n.Message.setField(this,3,e)},proto.squeaknode.PaymentSummary.prototype.getAmountSpentMsat=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.squeaknode.PaymentSummary.prototype.setAmountSpentMsat=function(e){n.Message.setField(this,4,e)},proto.squeaknode.ReprocessReceivedPaymentsRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.ReprocessReceivedPaymentsRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.ReprocessReceivedPaymentsRequest.displayName="proto.squeaknode.ReprocessReceivedPaymentsRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.ReprocessReceivedPaymentsRequest.prototype.toObject=function(e){return proto.squeaknode.ReprocessReceivedPaymentsRequest.toObject(e,this)},proto.squeaknode.ReprocessReceivedPaymentsRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.ReprocessReceivedPaymentsRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.ReprocessReceivedPaymentsRequest;return proto.squeaknode.ReprocessReceivedPaymentsRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.ReprocessReceivedPaymentsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.ReprocessReceivedPaymentsRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.ReprocessReceivedPaymentsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.ReprocessReceivedPaymentsRequest.serializeBinaryToWriter=function(e,t){},proto.squeaknode.ReprocessReceivedPaymentsReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.ReprocessReceivedPaymentsReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.ReprocessReceivedPaymentsReply.displayName="proto.squeaknode.ReprocessReceivedPaymentsReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.ReprocessReceivedPaymentsReply.prototype.toObject=function(e){return proto.squeaknode.ReprocessReceivedPaymentsReply.toObject(e,this)},proto.squeaknode.ReprocessReceivedPaymentsReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.ReprocessReceivedPaymentsReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.ReprocessReceivedPaymentsReply;return proto.squeaknode.ReprocessReceivedPaymentsReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.ReprocessReceivedPaymentsReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.ReprocessReceivedPaymentsReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.ReprocessReceivedPaymentsReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.ReprocessReceivedPaymentsReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.LikeSqueakRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.LikeSqueakRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.LikeSqueakRequest.displayName="proto.squeaknode.LikeSqueakRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.LikeSqueakRequest.prototype.toObject=function(e){return proto.squeaknode.LikeSqueakRequest.toObject(e,this)},proto.squeaknode.LikeSqueakRequest.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.LikeSqueakRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.LikeSqueakRequest;return proto.squeaknode.LikeSqueakRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.LikeSqueakRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSqueakHash(r)}else t.skipField()}return e},proto.squeaknode.LikeSqueakRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.LikeSqueakRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.LikeSqueakRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakHash()).length>0&&t.writeString(1,r)},proto.squeaknode.LikeSqueakRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.LikeSqueakRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.LikeSqueakReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.LikeSqueakReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.LikeSqueakReply.displayName="proto.squeaknode.LikeSqueakReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.LikeSqueakReply.prototype.toObject=function(e){return proto.squeaknode.LikeSqueakReply.toObject(e,this)},proto.squeaknode.LikeSqueakReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.LikeSqueakReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.LikeSqueakReply;return proto.squeaknode.LikeSqueakReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.LikeSqueakReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.LikeSqueakReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.LikeSqueakReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.LikeSqueakReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.UnlikeSqueakRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.UnlikeSqueakRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.UnlikeSqueakRequest.displayName="proto.squeaknode.UnlikeSqueakRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.UnlikeSqueakRequest.prototype.toObject=function(e){return proto.squeaknode.UnlikeSqueakRequest.toObject(e,this)},proto.squeaknode.UnlikeSqueakRequest.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.UnlikeSqueakRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.UnlikeSqueakRequest;return proto.squeaknode.UnlikeSqueakRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.UnlikeSqueakRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSqueakHash(r)}else t.skipField()}return e},proto.squeaknode.UnlikeSqueakRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.UnlikeSqueakRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.UnlikeSqueakRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakHash()).length>0&&t.writeString(1,r)},proto.squeaknode.UnlikeSqueakRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.UnlikeSqueakRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.UnlikeSqueakReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.UnlikeSqueakReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.UnlikeSqueakReply.displayName="proto.squeaknode.UnlikeSqueakReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.UnlikeSqueakReply.prototype.toObject=function(e){return proto.squeaknode.UnlikeSqueakReply.toObject(e,this)},proto.squeaknode.UnlikeSqueakReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.UnlikeSqueakReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.UnlikeSqueakReply;return proto.squeaknode.UnlikeSqueakReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.UnlikeSqueakReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.UnlikeSqueakReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.UnlikeSqueakReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.UnlikeSqueakReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.GetLikedSqueakDisplaysRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetLikedSqueakDisplaysRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetLikedSqueakDisplaysRequest.displayName="proto.squeaknode.GetLikedSqueakDisplaysRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetLikedSqueakDisplaysRequest.prototype.toObject=function(e){return proto.squeaknode.GetLikedSqueakDisplaysRequest.toObject(e,this)},proto.squeaknode.GetLikedSqueakDisplaysRequest.toObject=function(e,t){var r,o={limit:n.Message.getFieldWithDefault(t,1,0),lastEntry:(r=t.getLastEntry())&&proto.squeaknode.SqueakDisplayEntry.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.GetLikedSqueakDisplaysRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetLikedSqueakDisplaysRequest;return proto.squeaknode.GetLikedSqueakDisplaysRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetLikedSqueakDisplaysRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setLimit(r);break;case 2:r=new proto.squeaknode.SqueakDisplayEntry;t.readMessage(r,proto.squeaknode.SqueakDisplayEntry.deserializeBinaryFromReader),e.setLastEntry(r);break;default:t.skipField()}}return e},proto.squeaknode.GetLikedSqueakDisplaysRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetLikedSqueakDisplaysRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetLikedSqueakDisplaysRequest.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getLimit())&&t.writeInt32(1,r),null!=(r=e.getLastEntry())&&t.writeMessage(2,r,proto.squeaknode.SqueakDisplayEntry.serializeBinaryToWriter)},proto.squeaknode.GetLikedSqueakDisplaysRequest.prototype.getLimit=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.GetLikedSqueakDisplaysRequest.prototype.setLimit=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetLikedSqueakDisplaysRequest.prototype.getLastEntry=function(){return n.Message.getWrapperField(this,proto.squeaknode.SqueakDisplayEntry,2)},proto.squeaknode.GetLikedSqueakDisplaysRequest.prototype.setLastEntry=function(e){n.Message.setWrapperField(this,2,e)},proto.squeaknode.GetLikedSqueakDisplaysRequest.prototype.clearLastEntry=function(){this.setLastEntry(void 0)},proto.squeaknode.GetLikedSqueakDisplaysRequest.prototype.hasLastEntry=function(){return null!=n.Message.getField(this,2)},proto.squeaknode.GetLikedSqueakDisplaysReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetLikedSqueakDisplaysReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetLikedSqueakDisplaysReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetLikedSqueakDisplaysReply.displayName="proto.squeaknode.GetLikedSqueakDisplaysReply"),proto.squeaknode.GetLikedSqueakDisplaysReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetLikedSqueakDisplaysReply.prototype.toObject=function(e){return proto.squeaknode.GetLikedSqueakDisplaysReply.toObject(e,this)},proto.squeaknode.GetLikedSqueakDisplaysReply.toObject=function(e,t){var r={squeakDisplayEntriesList:n.Message.toObjectList(t.getSqueakDisplayEntriesList(),proto.squeaknode.SqueakDisplayEntry.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetLikedSqueakDisplaysReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetLikedSqueakDisplaysReply;return proto.squeaknode.GetLikedSqueakDisplaysReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetLikedSqueakDisplaysReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.SqueakDisplayEntry;t.readMessage(r,proto.squeaknode.SqueakDisplayEntry.deserializeBinaryFromReader),e.addSqueakDisplayEntries(r)}else t.skipField()}return e},proto.squeaknode.GetLikedSqueakDisplaysReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetLikedSqueakDisplaysReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetLikedSqueakDisplaysReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakDisplayEntriesList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.SqueakDisplayEntry.serializeBinaryToWriter)},proto.squeaknode.GetLikedSqueakDisplaysReply.prototype.getSqueakDisplayEntriesList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.SqueakDisplayEntry,1)},proto.squeaknode.GetLikedSqueakDisplaysReply.prototype.setSqueakDisplayEntriesList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetLikedSqueakDisplaysReply.prototype.addSqueakDisplayEntries=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.SqueakDisplayEntry,t)},proto.squeaknode.GetLikedSqueakDisplaysReply.prototype.clearSqueakDisplayEntriesList=function(){this.setSqueakDisplayEntriesList([])},proto.squeaknode.ConnectPeerRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.ConnectPeerRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.ConnectPeerRequest.displayName="proto.squeaknode.ConnectPeerRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.ConnectPeerRequest.prototype.toObject=function(e){return proto.squeaknode.ConnectPeerRequest.toObject(e,this)},proto.squeaknode.ConnectPeerRequest.toObject=function(e,t){var r,n={peerAddress:(r=t.getPeerAddress())&&proto.squeaknode.PeerAddress.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.ConnectPeerRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.ConnectPeerRequest;return proto.squeaknode.ConnectPeerRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.ConnectPeerRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.PeerAddress;t.readMessage(r,proto.squeaknode.PeerAddress.deserializeBinaryFromReader),e.setPeerAddress(r)}else t.skipField()}return e},proto.squeaknode.ConnectPeerRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.ConnectPeerRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.ConnectPeerRequest.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getPeerAddress())&&t.writeMessage(1,r,proto.squeaknode.PeerAddress.serializeBinaryToWriter)},proto.squeaknode.ConnectPeerRequest.prototype.getPeerAddress=function(){return n.Message.getWrapperField(this,proto.squeaknode.PeerAddress,1)},proto.squeaknode.ConnectPeerRequest.prototype.setPeerAddress=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.ConnectPeerRequest.prototype.clearPeerAddress=function(){this.setPeerAddress(void 0)},proto.squeaknode.ConnectPeerRequest.prototype.hasPeerAddress=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.ConnectPeerReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.ConnectPeerReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.ConnectPeerReply.displayName="proto.squeaknode.ConnectPeerReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.ConnectPeerReply.prototype.toObject=function(e){return proto.squeaknode.ConnectPeerReply.toObject(e,this)},proto.squeaknode.ConnectPeerReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.ConnectPeerReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.ConnectPeerReply;return proto.squeaknode.ConnectPeerReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.ConnectPeerReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.ConnectPeerReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.ConnectPeerReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.ConnectPeerReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.ConnectedPeer=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.ConnectedPeer,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.ConnectedPeer.displayName="proto.squeaknode.ConnectedPeer"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.ConnectedPeer.prototype.toObject=function(e){return proto.squeaknode.ConnectedPeer.toObject(e,this)},proto.squeaknode.ConnectedPeer.toObject=function(e,t){var r,o={peerAddress:(r=t.getPeerAddress())&&proto.squeaknode.PeerAddress.toObject(e,r),connectTimeS:n.Message.getFieldWithDefault(t,2,0),lastMessageReceivedTimeS:n.Message.getFieldWithDefault(t,3,0),numberMessagesReceived:n.Message.getFieldWithDefault(t,4,0),numberBytesReceived:n.Message.getFieldWithDefault(t,5,0),numberMessagesSent:n.Message.getFieldWithDefault(t,6,0),numberBytesSent:n.Message.getFieldWithDefault(t,7,0),isPeerSaved:n.Message.getFieldWithDefault(t,8,!1),savedPeer:(r=t.getSavedPeer())&&proto.squeaknode.SqueakPeer.toObject(e,r)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.ConnectedPeer.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.ConnectedPeer;return proto.squeaknode.ConnectedPeer.deserializeBinaryFromReader(r,t)},proto.squeaknode.ConnectedPeer.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=new proto.squeaknode.PeerAddress;t.readMessage(r,proto.squeaknode.PeerAddress.deserializeBinaryFromReader),e.setPeerAddress(r);break;case 2:r=t.readInt64();e.setConnectTimeS(r);break;case 3:r=t.readInt64();e.setLastMessageReceivedTimeS(r);break;case 4:r=t.readInt64();e.setNumberMessagesReceived(r);break;case 5:r=t.readInt64();e.setNumberBytesReceived(r);break;case 6:r=t.readInt64();e.setNumberMessagesSent(r);break;case 7:r=t.readInt64();e.setNumberBytesSent(r);break;case 8:r=t.readBool();e.setIsPeerSaved(r);break;case 9:r=new proto.squeaknode.SqueakPeer;t.readMessage(r,proto.squeaknode.SqueakPeer.deserializeBinaryFromReader),e.setSavedPeer(r);break;default:t.skipField()}}return e},proto.squeaknode.ConnectedPeer.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.ConnectedPeer.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.ConnectedPeer.serializeBinaryToWriter=function(e,t){var r=void 0;null!=(r=e.getPeerAddress())&&t.writeMessage(1,r,proto.squeaknode.PeerAddress.serializeBinaryToWriter),0!==(r=e.getConnectTimeS())&&t.writeInt64(2,r),0!==(r=e.getLastMessageReceivedTimeS())&&t.writeInt64(3,r),0!==(r=e.getNumberMessagesReceived())&&t.writeInt64(4,r),0!==(r=e.getNumberBytesReceived())&&t.writeInt64(5,r),0!==(r=e.getNumberMessagesSent())&&t.writeInt64(6,r),0!==(r=e.getNumberBytesSent())&&t.writeInt64(7,r),(r=e.getIsPeerSaved())&&t.writeBool(8,r),null!=(r=e.getSavedPeer())&&t.writeMessage(9,r,proto.squeaknode.SqueakPeer.serializeBinaryToWriter)},proto.squeaknode.ConnectedPeer.prototype.getPeerAddress=function(){return n.Message.getWrapperField(this,proto.squeaknode.PeerAddress,1)},proto.squeaknode.ConnectedPeer.prototype.setPeerAddress=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.ConnectedPeer.prototype.clearPeerAddress=function(){this.setPeerAddress(void 0)},proto.squeaknode.ConnectedPeer.prototype.hasPeerAddress=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.ConnectedPeer.prototype.getConnectTimeS=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.squeaknode.ConnectedPeer.prototype.setConnectTimeS=function(e){n.Message.setField(this,2,e)},proto.squeaknode.ConnectedPeer.prototype.getLastMessageReceivedTimeS=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.squeaknode.ConnectedPeer.prototype.setLastMessageReceivedTimeS=function(e){n.Message.setField(this,3,e)},proto.squeaknode.ConnectedPeer.prototype.getNumberMessagesReceived=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.squeaknode.ConnectedPeer.prototype.setNumberMessagesReceived=function(e){n.Message.setField(this,4,e)},proto.squeaknode.ConnectedPeer.prototype.getNumberBytesReceived=function(){return n.Message.getFieldWithDefault(this,5,0)},proto.squeaknode.ConnectedPeer.prototype.setNumberBytesReceived=function(e){n.Message.setField(this,5,e)},proto.squeaknode.ConnectedPeer.prototype.getNumberMessagesSent=function(){return n.Message.getFieldWithDefault(this,6,0)},proto.squeaknode.ConnectedPeer.prototype.setNumberMessagesSent=function(e){n.Message.setField(this,6,e)},proto.squeaknode.ConnectedPeer.prototype.getNumberBytesSent=function(){return n.Message.getFieldWithDefault(this,7,0)},proto.squeaknode.ConnectedPeer.prototype.setNumberBytesSent=function(e){n.Message.setField(this,7,e)},proto.squeaknode.ConnectedPeer.prototype.getIsPeerSaved=function(){return n.Message.getFieldWithDefault(this,8,!1)},proto.squeaknode.ConnectedPeer.prototype.setIsPeerSaved=function(e){n.Message.setField(this,8,e)},proto.squeaknode.ConnectedPeer.prototype.getSavedPeer=function(){return n.Message.getWrapperField(this,proto.squeaknode.SqueakPeer,9)},proto.squeaknode.ConnectedPeer.prototype.setSavedPeer=function(e){n.Message.setWrapperField(this,9,e)},proto.squeaknode.ConnectedPeer.prototype.clearSavedPeer=function(){this.setSavedPeer(void 0)},proto.squeaknode.ConnectedPeer.prototype.hasSavedPeer=function(){return null!=n.Message.getField(this,9)},proto.squeaknode.GetConnectedPeersRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetConnectedPeersRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetConnectedPeersRequest.displayName="proto.squeaknode.GetConnectedPeersRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetConnectedPeersRequest.prototype.toObject=function(e){return proto.squeaknode.GetConnectedPeersRequest.toObject(e,this)},proto.squeaknode.GetConnectedPeersRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetConnectedPeersRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetConnectedPeersRequest;return proto.squeaknode.GetConnectedPeersRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetConnectedPeersRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.GetConnectedPeersRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetConnectedPeersRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetConnectedPeersRequest.serializeBinaryToWriter=function(e,t){},proto.squeaknode.GetConnectedPeersReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetConnectedPeersReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetConnectedPeersReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetConnectedPeersReply.displayName="proto.squeaknode.GetConnectedPeersReply"),proto.squeaknode.GetConnectedPeersReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetConnectedPeersReply.prototype.toObject=function(e){return proto.squeaknode.GetConnectedPeersReply.toObject(e,this)},proto.squeaknode.GetConnectedPeersReply.toObject=function(e,t){var r={connectedPeersList:n.Message.toObjectList(t.getConnectedPeersList(),proto.squeaknode.ConnectedPeer.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetConnectedPeersReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetConnectedPeersReply;return proto.squeaknode.GetConnectedPeersReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetConnectedPeersReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.ConnectedPeer;t.readMessage(r,proto.squeaknode.ConnectedPeer.deserializeBinaryFromReader),e.addConnectedPeers(r)}else t.skipField()}return e},proto.squeaknode.GetConnectedPeersReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetConnectedPeersReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetConnectedPeersReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getConnectedPeersList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.ConnectedPeer.serializeBinaryToWriter)},proto.squeaknode.GetConnectedPeersReply.prototype.getConnectedPeersList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.ConnectedPeer,1)},proto.squeaknode.GetConnectedPeersReply.prototype.setConnectedPeersList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetConnectedPeersReply.prototype.addConnectedPeers=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.ConnectedPeer,t)},proto.squeaknode.GetConnectedPeersReply.prototype.clearConnectedPeersList=function(){this.setConnectedPeersList([])},proto.squeaknode.GetConnectedPeerRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetConnectedPeerRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetConnectedPeerRequest.displayName="proto.squeaknode.GetConnectedPeerRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetConnectedPeerRequest.prototype.toObject=function(e){return proto.squeaknode.GetConnectedPeerRequest.toObject(e,this)},proto.squeaknode.GetConnectedPeerRequest.toObject=function(e,t){var r,n={peerAddress:(r=t.getPeerAddress())&&proto.squeaknode.PeerAddress.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.GetConnectedPeerRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetConnectedPeerRequest;return proto.squeaknode.GetConnectedPeerRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetConnectedPeerRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.PeerAddress;t.readMessage(r,proto.squeaknode.PeerAddress.deserializeBinaryFromReader),e.setPeerAddress(r)}else t.skipField()}return e},proto.squeaknode.GetConnectedPeerRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetConnectedPeerRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetConnectedPeerRequest.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getPeerAddress())&&t.writeMessage(1,r,proto.squeaknode.PeerAddress.serializeBinaryToWriter)},proto.squeaknode.GetConnectedPeerRequest.prototype.getPeerAddress=function(){return n.Message.getWrapperField(this,proto.squeaknode.PeerAddress,1)},proto.squeaknode.GetConnectedPeerRequest.prototype.setPeerAddress=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetConnectedPeerRequest.prototype.clearPeerAddress=function(){this.setPeerAddress(void 0)},proto.squeaknode.GetConnectedPeerRequest.prototype.hasPeerAddress=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.GetConnectedPeerReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetConnectedPeerReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetConnectedPeerReply.displayName="proto.squeaknode.GetConnectedPeerReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetConnectedPeerReply.prototype.toObject=function(e){return proto.squeaknode.GetConnectedPeerReply.toObject(e,this)},proto.squeaknode.GetConnectedPeerReply.toObject=function(e,t){var r,n={connectedPeer:(r=t.getConnectedPeer())&&proto.squeaknode.ConnectedPeer.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.GetConnectedPeerReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetConnectedPeerReply;return proto.squeaknode.GetConnectedPeerReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetConnectedPeerReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.ConnectedPeer;t.readMessage(r,proto.squeaknode.ConnectedPeer.deserializeBinaryFromReader),e.setConnectedPeer(r)}else t.skipField()}return e},proto.squeaknode.GetConnectedPeerReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetConnectedPeerReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetConnectedPeerReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getConnectedPeer())&&t.writeMessage(1,r,proto.squeaknode.ConnectedPeer.serializeBinaryToWriter)},proto.squeaknode.GetConnectedPeerReply.prototype.getConnectedPeer=function(){return n.Message.getWrapperField(this,proto.squeaknode.ConnectedPeer,1)},proto.squeaknode.GetConnectedPeerReply.prototype.setConnectedPeer=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetConnectedPeerReply.prototype.clearConnectedPeer=function(){this.setConnectedPeer(void 0)},proto.squeaknode.GetConnectedPeerReply.prototype.hasConnectedPeer=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.DisconnectPeerRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DisconnectPeerRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DisconnectPeerRequest.displayName="proto.squeaknode.DisconnectPeerRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DisconnectPeerRequest.prototype.toObject=function(e){return proto.squeaknode.DisconnectPeerRequest.toObject(e,this)},proto.squeaknode.DisconnectPeerRequest.toObject=function(e,t){var r,n={peerAddress:(r=t.getPeerAddress())&&proto.squeaknode.PeerAddress.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.DisconnectPeerRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DisconnectPeerRequest;return proto.squeaknode.DisconnectPeerRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.DisconnectPeerRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.PeerAddress;t.readMessage(r,proto.squeaknode.PeerAddress.deserializeBinaryFromReader),e.setPeerAddress(r)}else t.skipField()}return e},proto.squeaknode.DisconnectPeerRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DisconnectPeerRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DisconnectPeerRequest.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getPeerAddress())&&t.writeMessage(1,r,proto.squeaknode.PeerAddress.serializeBinaryToWriter)},proto.squeaknode.DisconnectPeerRequest.prototype.getPeerAddress=function(){return n.Message.getWrapperField(this,proto.squeaknode.PeerAddress,1)},proto.squeaknode.DisconnectPeerRequest.prototype.setPeerAddress=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.DisconnectPeerRequest.prototype.clearPeerAddress=function(){this.setPeerAddress(void 0)},proto.squeaknode.DisconnectPeerRequest.prototype.hasPeerAddress=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.DisconnectPeerReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DisconnectPeerReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DisconnectPeerReply.displayName="proto.squeaknode.DisconnectPeerReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DisconnectPeerReply.prototype.toObject=function(e){return proto.squeaknode.DisconnectPeerReply.toObject(e,this)},proto.squeaknode.DisconnectPeerReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.DisconnectPeerReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DisconnectPeerReply;return proto.squeaknode.DisconnectPeerReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.DisconnectPeerReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.DisconnectPeerReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DisconnectPeerReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DisconnectPeerReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.SubscribeConnectedPeersRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SubscribeConnectedPeersRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SubscribeConnectedPeersRequest.displayName="proto.squeaknode.SubscribeConnectedPeersRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SubscribeConnectedPeersRequest.prototype.toObject=function(e){return proto.squeaknode.SubscribeConnectedPeersRequest.toObject(e,this)},proto.squeaknode.SubscribeConnectedPeersRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SubscribeConnectedPeersRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SubscribeConnectedPeersRequest;return proto.squeaknode.SubscribeConnectedPeersRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.SubscribeConnectedPeersRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.SubscribeConnectedPeersRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SubscribeConnectedPeersRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SubscribeConnectedPeersRequest.serializeBinaryToWriter=function(e,t){},proto.squeaknode.SubscribeConnectedPeerRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SubscribeConnectedPeerRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SubscribeConnectedPeerRequest.displayName="proto.squeaknode.SubscribeConnectedPeerRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SubscribeConnectedPeerRequest.prototype.toObject=function(e){return proto.squeaknode.SubscribeConnectedPeerRequest.toObject(e,this)},proto.squeaknode.SubscribeConnectedPeerRequest.toObject=function(e,t){var r,n={peerAddress:(r=t.getPeerAddress())&&proto.squeaknode.PeerAddress.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.SubscribeConnectedPeerRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SubscribeConnectedPeerRequest;return proto.squeaknode.SubscribeConnectedPeerRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.SubscribeConnectedPeerRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.PeerAddress;t.readMessage(r,proto.squeaknode.PeerAddress.deserializeBinaryFromReader),e.setPeerAddress(r)}else t.skipField()}return e},proto.squeaknode.SubscribeConnectedPeerRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SubscribeConnectedPeerRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SubscribeConnectedPeerRequest.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getPeerAddress())&&t.writeMessage(1,r,proto.squeaknode.PeerAddress.serializeBinaryToWriter)},proto.squeaknode.SubscribeConnectedPeerRequest.prototype.getPeerAddress=function(){return n.Message.getWrapperField(this,proto.squeaknode.PeerAddress,1)},proto.squeaknode.SubscribeConnectedPeerRequest.prototype.setPeerAddress=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.SubscribeConnectedPeerRequest.prototype.clearPeerAddress=function(){this.setPeerAddress(void 0)},proto.squeaknode.SubscribeConnectedPeerRequest.prototype.hasPeerAddress=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.PeerAddress=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.PeerAddress,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.PeerAddress.displayName="proto.squeaknode.PeerAddress"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.PeerAddress.prototype.toObject=function(e){return proto.squeaknode.PeerAddress.toObject(e,this)},proto.squeaknode.PeerAddress.toObject=function(e,t){var r={network:n.Message.getFieldWithDefault(t,1,""),host:n.Message.getFieldWithDefault(t,2,""),port:n.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.PeerAddress.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.PeerAddress;return proto.squeaknode.PeerAddress.deserializeBinaryFromReader(r,t)},proto.squeaknode.PeerAddress.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setNetwork(r);break;case 2:r=t.readString();e.setHost(r);break;case 3:r=t.readInt32();e.setPort(r);break;default:t.skipField()}}return e},proto.squeaknode.PeerAddress.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.PeerAddress.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.PeerAddress.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getNetwork()).length>0&&t.writeString(1,r),(r=e.getHost()).length>0&&t.writeString(2,r),0!==(r=e.getPort())&&t.writeInt32(3,r)},proto.squeaknode.PeerAddress.prototype.getNetwork=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.PeerAddress.prototype.setNetwork=function(e){n.Message.setField(this,1,e)},proto.squeaknode.PeerAddress.prototype.getHost=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.squeaknode.PeerAddress.prototype.setHost=function(e){n.Message.setField(this,2,e)},proto.squeaknode.PeerAddress.prototype.getPort=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.squeaknode.PeerAddress.prototype.setPort=function(e){n.Message.setField(this,3,e)},proto.squeaknode.SubscribeBuyOffersRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SubscribeBuyOffersRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SubscribeBuyOffersRequest.displayName="proto.squeaknode.SubscribeBuyOffersRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SubscribeBuyOffersRequest.prototype.toObject=function(e){return proto.squeaknode.SubscribeBuyOffersRequest.toObject(e,this)},proto.squeaknode.SubscribeBuyOffersRequest.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SubscribeBuyOffersRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SubscribeBuyOffersRequest;return proto.squeaknode.SubscribeBuyOffersRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.SubscribeBuyOffersRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSqueakHash(r)}else t.skipField()}return e},proto.squeaknode.SubscribeBuyOffersRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SubscribeBuyOffersRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SubscribeBuyOffersRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakHash()).length>0&&t.writeString(1,r)},proto.squeaknode.SubscribeBuyOffersRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.SubscribeBuyOffersRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.SubscribeSqueakDisplayRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SubscribeSqueakDisplayRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SubscribeSqueakDisplayRequest.displayName="proto.squeaknode.SubscribeSqueakDisplayRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SubscribeSqueakDisplayRequest.prototype.toObject=function(e){return proto.squeaknode.SubscribeSqueakDisplayRequest.toObject(e,this)},proto.squeaknode.SubscribeSqueakDisplayRequest.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SubscribeSqueakDisplayRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SubscribeSqueakDisplayRequest;return proto.squeaknode.SubscribeSqueakDisplayRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.SubscribeSqueakDisplayRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSqueakHash(r)}else t.skipField()}return e},proto.squeaknode.SubscribeSqueakDisplayRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SubscribeSqueakDisplayRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SubscribeSqueakDisplayRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakHash()).length>0&&t.writeString(1,r)},proto.squeaknode.SubscribeSqueakDisplayRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.SubscribeSqueakDisplayRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.SubscribeReplySqueakDisplaysRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SubscribeReplySqueakDisplaysRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SubscribeReplySqueakDisplaysRequest.displayName="proto.squeaknode.SubscribeReplySqueakDisplaysRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SubscribeReplySqueakDisplaysRequest.prototype.toObject=function(e){return proto.squeaknode.SubscribeReplySqueakDisplaysRequest.toObject(e,this)},proto.squeaknode.SubscribeReplySqueakDisplaysRequest.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SubscribeReplySqueakDisplaysRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SubscribeReplySqueakDisplaysRequest;return proto.squeaknode.SubscribeReplySqueakDisplaysRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.SubscribeReplySqueakDisplaysRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSqueakHash(r)}else t.skipField()}return e},proto.squeaknode.SubscribeReplySqueakDisplaysRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SubscribeReplySqueakDisplaysRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SubscribeReplySqueakDisplaysRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakHash()).length>0&&t.writeString(1,r)},proto.squeaknode.SubscribeReplySqueakDisplaysRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.SubscribeReplySqueakDisplaysRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.SubscribePubKeySqueakDisplaysRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SubscribePubKeySqueakDisplaysRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SubscribePubKeySqueakDisplaysRequest.displayName="proto.squeaknode.SubscribePubKeySqueakDisplaysRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SubscribePubKeySqueakDisplaysRequest.prototype.toObject=function(e){return proto.squeaknode.SubscribePubKeySqueakDisplaysRequest.toObject(e,this)},proto.squeaknode.SubscribePubKeySqueakDisplaysRequest.toObject=function(e,t){var r={pubkey:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SubscribePubKeySqueakDisplaysRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SubscribePubKeySqueakDisplaysRequest;return proto.squeaknode.SubscribePubKeySqueakDisplaysRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.SubscribePubKeySqueakDisplaysRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setPubkey(r)}else t.skipField()}return e},proto.squeaknode.SubscribePubKeySqueakDisplaysRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SubscribePubKeySqueakDisplaysRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SubscribePubKeySqueakDisplaysRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getPubkey()).length>0&&t.writeString(1,r)},proto.squeaknode.SubscribePubKeySqueakDisplaysRequest.prototype.getPubkey=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.SubscribePubKeySqueakDisplaysRequest.prototype.setPubkey=function(e){n.Message.setField(this,1,e)},proto.squeaknode.SubscribeAncestorSqueakDisplaysRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SubscribeAncestorSqueakDisplaysRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SubscribeAncestorSqueakDisplaysRequest.displayName="proto.squeaknode.SubscribeAncestorSqueakDisplaysRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SubscribeAncestorSqueakDisplaysRequest.prototype.toObject=function(e){return proto.squeaknode.SubscribeAncestorSqueakDisplaysRequest.toObject(e,this)},proto.squeaknode.SubscribeAncestorSqueakDisplaysRequest.toObject=function(e,t){var r={squeakHash:n.Message.getFieldWithDefault(t,1,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SubscribeAncestorSqueakDisplaysRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SubscribeAncestorSqueakDisplaysRequest;return proto.squeaknode.SubscribeAncestorSqueakDisplaysRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.SubscribeAncestorSqueakDisplaysRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readString();e.setSqueakHash(r)}else t.skipField()}return e},proto.squeaknode.SubscribeAncestorSqueakDisplaysRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SubscribeAncestorSqueakDisplaysRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SubscribeAncestorSqueakDisplaysRequest.serializeBinaryToWriter=function(e,t){var r;(r=e.getSqueakHash()).length>0&&t.writeString(1,r)},proto.squeaknode.SubscribeAncestorSqueakDisplaysRequest.prototype.getSqueakHash=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.SubscribeAncestorSqueakDisplaysRequest.prototype.setSqueakHash=function(e){n.Message.setField(this,1,e)},proto.squeaknode.SubscribeSqueakDisplaysRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SubscribeSqueakDisplaysRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SubscribeSqueakDisplaysRequest.displayName="proto.squeaknode.SubscribeSqueakDisplaysRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SubscribeSqueakDisplaysRequest.prototype.toObject=function(e){return proto.squeaknode.SubscribeSqueakDisplaysRequest.toObject(e,this)},proto.squeaknode.SubscribeSqueakDisplaysRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SubscribeSqueakDisplaysRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SubscribeSqueakDisplaysRequest;return proto.squeaknode.SubscribeSqueakDisplaysRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.SubscribeSqueakDisplaysRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.SubscribeSqueakDisplaysRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SubscribeSqueakDisplaysRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SubscribeSqueakDisplaysRequest.serializeBinaryToWriter=function(e,t){},proto.squeaknode.SubscribeTimelineSqueakDisplaysRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SubscribeTimelineSqueakDisplaysRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SubscribeTimelineSqueakDisplaysRequest.displayName="proto.squeaknode.SubscribeTimelineSqueakDisplaysRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SubscribeTimelineSqueakDisplaysRequest.prototype.toObject=function(e){return proto.squeaknode.SubscribeTimelineSqueakDisplaysRequest.toObject(e,this)},proto.squeaknode.SubscribeTimelineSqueakDisplaysRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SubscribeTimelineSqueakDisplaysRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SubscribeTimelineSqueakDisplaysRequest;return proto.squeaknode.SubscribeTimelineSqueakDisplaysRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.SubscribeTimelineSqueakDisplaysRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.SubscribeTimelineSqueakDisplaysRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SubscribeTimelineSqueakDisplaysRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SubscribeTimelineSqueakDisplaysRequest.serializeBinaryToWriter=function(e,t){},proto.squeaknode.GetExternalAddressRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetExternalAddressRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetExternalAddressRequest.displayName="proto.squeaknode.GetExternalAddressRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetExternalAddressRequest.prototype.toObject=function(e){return proto.squeaknode.GetExternalAddressRequest.toObject(e,this)},proto.squeaknode.GetExternalAddressRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetExternalAddressRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetExternalAddressRequest;return proto.squeaknode.GetExternalAddressRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetExternalAddressRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.GetExternalAddressRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetExternalAddressRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetExternalAddressRequest.serializeBinaryToWriter=function(e,t){},proto.squeaknode.GetExternalAddressReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetExternalAddressReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetExternalAddressReply.displayName="proto.squeaknode.GetExternalAddressReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetExternalAddressReply.prototype.toObject=function(e){return proto.squeaknode.GetExternalAddressReply.toObject(e,this)},proto.squeaknode.GetExternalAddressReply.toObject=function(e,t){var r,n={peerAddress:(r=t.getPeerAddress())&&proto.squeaknode.PeerAddress.toObject(e,r)};return e&&(n.$jspbMessageInstance=t),n}),proto.squeaknode.GetExternalAddressReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetExternalAddressReply;return proto.squeaknode.GetExternalAddressReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetExternalAddressReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.PeerAddress;t.readMessage(r,proto.squeaknode.PeerAddress.deserializeBinaryFromReader),e.setPeerAddress(r)}else t.skipField()}return e},proto.squeaknode.GetExternalAddressReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetExternalAddressReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetExternalAddressReply.serializeBinaryToWriter=function(e,t){var r;null!=(r=e.getPeerAddress())&&t.writeMessage(1,r,proto.squeaknode.PeerAddress.serializeBinaryToWriter)},proto.squeaknode.GetExternalAddressReply.prototype.getPeerAddress=function(){return n.Message.getWrapperField(this,proto.squeaknode.PeerAddress,1)},proto.squeaknode.GetExternalAddressReply.prototype.setPeerAddress=function(e){n.Message.setWrapperField(this,1,e)},proto.squeaknode.GetExternalAddressReply.prototype.clearPeerAddress=function(){this.setPeerAddress(void 0)},proto.squeaknode.GetExternalAddressReply.prototype.hasPeerAddress=function(){return null!=n.Message.getField(this,1)},proto.squeaknode.GetDefaultPeerPortRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetDefaultPeerPortRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetDefaultPeerPortRequest.displayName="proto.squeaknode.GetDefaultPeerPortRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetDefaultPeerPortRequest.prototype.toObject=function(e){return proto.squeaknode.GetDefaultPeerPortRequest.toObject(e,this)},proto.squeaknode.GetDefaultPeerPortRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetDefaultPeerPortRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetDefaultPeerPortRequest;return proto.squeaknode.GetDefaultPeerPortRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetDefaultPeerPortRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.GetDefaultPeerPortRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetDefaultPeerPortRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetDefaultPeerPortRequest.serializeBinaryToWriter=function(e,t){},proto.squeaknode.GetDefaultPeerPortReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetDefaultPeerPortReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetDefaultPeerPortReply.displayName="proto.squeaknode.GetDefaultPeerPortReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetDefaultPeerPortReply.prototype.toObject=function(e){return proto.squeaknode.GetDefaultPeerPortReply.toObject(e,this)},proto.squeaknode.GetDefaultPeerPortReply.toObject=function(e,t){var r={port:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetDefaultPeerPortReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetDefaultPeerPortReply;return proto.squeaknode.GetDefaultPeerPortReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetDefaultPeerPortReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt32();e.setPort(r)}else t.skipField()}return e},proto.squeaknode.GetDefaultPeerPortReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetDefaultPeerPortReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetDefaultPeerPortReply.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getPort())&&t.writeInt32(1,r)},proto.squeaknode.GetDefaultPeerPortReply.prototype.getPort=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.GetDefaultPeerPortReply.prototype.setPort=function(e){n.Message.setField(this,1,e)},proto.squeaknode.SetSellPriceRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SetSellPriceRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SetSellPriceRequest.displayName="proto.squeaknode.SetSellPriceRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SetSellPriceRequest.prototype.toObject=function(e){return proto.squeaknode.SetSellPriceRequest.toObject(e,this)},proto.squeaknode.SetSellPriceRequest.toObject=function(e,t){var r={priceMsat:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SetSellPriceRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SetSellPriceRequest;return proto.squeaknode.SetSellPriceRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.SetSellPriceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt64();e.setPriceMsat(r)}else t.skipField()}return e},proto.squeaknode.SetSellPriceRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SetSellPriceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SetSellPriceRequest.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getPriceMsat())&&t.writeInt64(1,r)},proto.squeaknode.SetSellPriceRequest.prototype.getPriceMsat=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.SetSellPriceRequest.prototype.setPriceMsat=function(e){n.Message.setField(this,1,e)},proto.squeaknode.SetSellPriceReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.SetSellPriceReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.SetSellPriceReply.displayName="proto.squeaknode.SetSellPriceReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.SetSellPriceReply.prototype.toObject=function(e){return proto.squeaknode.SetSellPriceReply.toObject(e,this)},proto.squeaknode.SetSellPriceReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.SetSellPriceReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.SetSellPriceReply;return proto.squeaknode.SetSellPriceReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.SetSellPriceReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.SetSellPriceReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.SetSellPriceReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.SetSellPriceReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.ClearSellPriceRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.ClearSellPriceRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.ClearSellPriceRequest.displayName="proto.squeaknode.ClearSellPriceRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.ClearSellPriceRequest.prototype.toObject=function(e){return proto.squeaknode.ClearSellPriceRequest.toObject(e,this)},proto.squeaknode.ClearSellPriceRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.ClearSellPriceRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.ClearSellPriceRequest;return proto.squeaknode.ClearSellPriceRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.ClearSellPriceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.ClearSellPriceRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.ClearSellPriceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.ClearSellPriceRequest.serializeBinaryToWriter=function(e,t){},proto.squeaknode.ClearSellPriceReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.ClearSellPriceReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.ClearSellPriceReply.displayName="proto.squeaknode.ClearSellPriceReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.ClearSellPriceReply.prototype.toObject=function(e){return proto.squeaknode.ClearSellPriceReply.toObject(e,this)},proto.squeaknode.ClearSellPriceReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.ClearSellPriceReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.ClearSellPriceReply;return proto.squeaknode.ClearSellPriceReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.ClearSellPriceReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.ClearSellPriceReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.ClearSellPriceReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.ClearSellPriceReply.serializeBinaryToWriter=function(e,t){},proto.squeaknode.GetSellPriceRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSellPriceRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSellPriceRequest.displayName="proto.squeaknode.GetSellPriceRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSellPriceRequest.prototype.toObject=function(e){return proto.squeaknode.GetSellPriceRequest.toObject(e,this)},proto.squeaknode.GetSellPriceRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetSellPriceRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSellPriceRequest;return proto.squeaknode.GetSellPriceRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSellPriceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.GetSellPriceRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSellPriceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSellPriceRequest.serializeBinaryToWriter=function(e,t){},proto.squeaknode.GetSellPriceReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetSellPriceReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetSellPriceReply.displayName="proto.squeaknode.GetSellPriceReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetSellPriceReply.prototype.toObject=function(e){return proto.squeaknode.GetSellPriceReply.toObject(e,this)},proto.squeaknode.GetSellPriceReply.toObject=function(e,t){var r={priceMsat:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetSellPriceReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetSellPriceReply;return proto.squeaknode.GetSellPriceReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetSellPriceReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt64();e.setPriceMsat(r)}else t.skipField()}return e},proto.squeaknode.GetSellPriceReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetSellPriceReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetSellPriceReply.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getPriceMsat())&&t.writeInt64(1,r)},proto.squeaknode.GetSellPriceReply.prototype.getPriceMsat=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.GetSellPriceReply.prototype.setPriceMsat=function(e){n.Message.setField(this,1,e)},proto.squeaknode.TwitterAccount=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.TwitterAccount,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.TwitterAccount.displayName="proto.squeaknode.TwitterAccount"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.TwitterAccount.prototype.toObject=function(e){return proto.squeaknode.TwitterAccount.toObject(e,this)},proto.squeaknode.TwitterAccount.toObject=function(e,t){var r,o={twitterAccountId:n.Message.getFieldWithDefault(t,1,0),handle:n.Message.getFieldWithDefault(t,2,""),profileId:n.Message.getFieldWithDefault(t,3,0),isProfileKnown:n.Message.getFieldWithDefault(t,4,!1),profile:(r=t.getProfile())&&proto.squeaknode.SqueakProfile.toObject(e,r),isForwarding:n.Message.getFieldWithDefault(t,6,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.squeaknode.TwitterAccount.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.TwitterAccount;return proto.squeaknode.TwitterAccount.deserializeBinaryFromReader(r,t)},proto.squeaknode.TwitterAccount.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readInt32();e.setTwitterAccountId(r);break;case 2:r=t.readString();e.setHandle(r);break;case 3:r=t.readInt32();e.setProfileId(r);break;case 4:r=t.readBool();e.setIsProfileKnown(r);break;case 5:r=new proto.squeaknode.SqueakProfile;t.readMessage(r,proto.squeaknode.SqueakProfile.deserializeBinaryFromReader),e.setProfile(r);break;case 6:r=t.readBool();e.setIsForwarding(r);break;default:t.skipField()}}return e},proto.squeaknode.TwitterAccount.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.TwitterAccount.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.TwitterAccount.serializeBinaryToWriter=function(e,t){var r=void 0;0!==(r=e.getTwitterAccountId())&&t.writeInt32(1,r),(r=e.getHandle()).length>0&&t.writeString(2,r),0!==(r=e.getProfileId())&&t.writeInt32(3,r),(r=e.getIsProfileKnown())&&t.writeBool(4,r),null!=(r=e.getProfile())&&t.writeMessage(5,r,proto.squeaknode.SqueakProfile.serializeBinaryToWriter),(r=e.getIsForwarding())&&t.writeBool(6,r)},proto.squeaknode.TwitterAccount.prototype.getTwitterAccountId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.TwitterAccount.prototype.setTwitterAccountId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.TwitterAccount.prototype.getHandle=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.squeaknode.TwitterAccount.prototype.setHandle=function(e){n.Message.setField(this,2,e)},proto.squeaknode.TwitterAccount.prototype.getProfileId=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.squeaknode.TwitterAccount.prototype.setProfileId=function(e){n.Message.setField(this,3,e)},proto.squeaknode.TwitterAccount.prototype.getIsProfileKnown=function(){return n.Message.getFieldWithDefault(this,4,!1)},proto.squeaknode.TwitterAccount.prototype.setIsProfileKnown=function(e){n.Message.setField(this,4,e)},proto.squeaknode.TwitterAccount.prototype.getProfile=function(){return n.Message.getWrapperField(this,proto.squeaknode.SqueakProfile,5)},proto.squeaknode.TwitterAccount.prototype.setProfile=function(e){n.Message.setWrapperField(this,5,e)},proto.squeaknode.TwitterAccount.prototype.clearProfile=function(){this.setProfile(void 0)},proto.squeaknode.TwitterAccount.prototype.hasProfile=function(){return null!=n.Message.getField(this,5)},proto.squeaknode.TwitterAccount.prototype.getIsForwarding=function(){return n.Message.getFieldWithDefault(this,6,!1)},proto.squeaknode.TwitterAccount.prototype.setIsForwarding=function(e){n.Message.setField(this,6,e)},proto.squeaknode.AddTwitterAccountRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.AddTwitterAccountRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.AddTwitterAccountRequest.displayName="proto.squeaknode.AddTwitterAccountRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.AddTwitterAccountRequest.prototype.toObject=function(e){return proto.squeaknode.AddTwitterAccountRequest.toObject(e,this)},proto.squeaknode.AddTwitterAccountRequest.toObject=function(e,t){var r={handle:n.Message.getFieldWithDefault(t,1,""),profileId:n.Message.getFieldWithDefault(t,2,0),bearerToken:n.Message.getFieldWithDefault(t,3,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.AddTwitterAccountRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.AddTwitterAccountRequest;return proto.squeaknode.AddTwitterAccountRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.AddTwitterAccountRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var r=t.readString();e.setHandle(r);break;case 2:r=t.readInt32();e.setProfileId(r);break;case 3:r=t.readString();e.setBearerToken(r);break;default:t.skipField()}}return e},proto.squeaknode.AddTwitterAccountRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.AddTwitterAccountRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.AddTwitterAccountRequest.serializeBinaryToWriter=function(e,t){var r=void 0;(r=e.getHandle()).length>0&&t.writeString(1,r),0!==(r=e.getProfileId())&&t.writeInt32(2,r),(r=e.getBearerToken()).length>0&&t.writeString(3,r)},proto.squeaknode.AddTwitterAccountRequest.prototype.getHandle=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.squeaknode.AddTwitterAccountRequest.prototype.setHandle=function(e){n.Message.setField(this,1,e)},proto.squeaknode.AddTwitterAccountRequest.prototype.getProfileId=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.squeaknode.AddTwitterAccountRequest.prototype.setProfileId=function(e){n.Message.setField(this,2,e)},proto.squeaknode.AddTwitterAccountRequest.prototype.getBearerToken=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.squeaknode.AddTwitterAccountRequest.prototype.setBearerToken=function(e){n.Message.setField(this,3,e)},proto.squeaknode.AddTwitterAccountReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.AddTwitterAccountReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.AddTwitterAccountReply.displayName="proto.squeaknode.AddTwitterAccountReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.AddTwitterAccountReply.prototype.toObject=function(e){return proto.squeaknode.AddTwitterAccountReply.toObject(e,this)},proto.squeaknode.AddTwitterAccountReply.toObject=function(e,t){var r={twitterAccountId:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.AddTwitterAccountReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.AddTwitterAccountReply;return proto.squeaknode.AddTwitterAccountReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.AddTwitterAccountReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt32();e.setTwitterAccountId(r)}else t.skipField()}return e},proto.squeaknode.AddTwitterAccountReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.AddTwitterAccountReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.AddTwitterAccountReply.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getTwitterAccountId())&&t.writeInt32(1,r)},proto.squeaknode.AddTwitterAccountReply.prototype.getTwitterAccountId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.AddTwitterAccountReply.prototype.setTwitterAccountId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.GetTwitterAccountsRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.GetTwitterAccountsRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetTwitterAccountsRequest.displayName="proto.squeaknode.GetTwitterAccountsRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetTwitterAccountsRequest.prototype.toObject=function(e){return proto.squeaknode.GetTwitterAccountsRequest.toObject(e,this)},proto.squeaknode.GetTwitterAccountsRequest.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetTwitterAccountsRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetTwitterAccountsRequest;return proto.squeaknode.GetTwitterAccountsRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetTwitterAccountsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.GetTwitterAccountsRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetTwitterAccountsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetTwitterAccountsRequest.serializeBinaryToWriter=function(e,t){},proto.squeaknode.GetTwitterAccountsReply=function(e){n.Message.initialize(this,e,0,-1,proto.squeaknode.GetTwitterAccountsReply.repeatedFields_,null)},o.inherits(proto.squeaknode.GetTwitterAccountsReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.GetTwitterAccountsReply.displayName="proto.squeaknode.GetTwitterAccountsReply"),proto.squeaknode.GetTwitterAccountsReply.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.GetTwitterAccountsReply.prototype.toObject=function(e){return proto.squeaknode.GetTwitterAccountsReply.toObject(e,this)},proto.squeaknode.GetTwitterAccountsReply.toObject=function(e,t){var r={twitterAccountsList:n.Message.toObjectList(t.getTwitterAccountsList(),proto.squeaknode.TwitterAccount.toObject,e)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.GetTwitterAccountsReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.GetTwitterAccountsReply;return proto.squeaknode.GetTwitterAccountsReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.GetTwitterAccountsReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=new proto.squeaknode.TwitterAccount;t.readMessage(r,proto.squeaknode.TwitterAccount.deserializeBinaryFromReader),e.addTwitterAccounts(r)}else t.skipField()}return e},proto.squeaknode.GetTwitterAccountsReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.GetTwitterAccountsReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.GetTwitterAccountsReply.serializeBinaryToWriter=function(e,t){var r;(r=e.getTwitterAccountsList()).length>0&&t.writeRepeatedMessage(1,r,proto.squeaknode.TwitterAccount.serializeBinaryToWriter)},proto.squeaknode.GetTwitterAccountsReply.prototype.getTwitterAccountsList=function(){return n.Message.getRepeatedWrapperField(this,proto.squeaknode.TwitterAccount,1)},proto.squeaknode.GetTwitterAccountsReply.prototype.setTwitterAccountsList=function(e){n.Message.setRepeatedWrapperField(this,1,e)},proto.squeaknode.GetTwitterAccountsReply.prototype.addTwitterAccounts=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.squeaknode.TwitterAccount,t)},proto.squeaknode.GetTwitterAccountsReply.prototype.clearTwitterAccountsList=function(){this.setTwitterAccountsList([])},proto.squeaknode.DeleteTwitterAccountRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DeleteTwitterAccountRequest,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DeleteTwitterAccountRequest.displayName="proto.squeaknode.DeleteTwitterAccountRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DeleteTwitterAccountRequest.prototype.toObject=function(e){return proto.squeaknode.DeleteTwitterAccountRequest.toObject(e,this)},proto.squeaknode.DeleteTwitterAccountRequest.toObject=function(e,t){var r={twitterAccountId:n.Message.getFieldWithDefault(t,1,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.DeleteTwitterAccountRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DeleteTwitterAccountRequest;return proto.squeaknode.DeleteTwitterAccountRequest.deserializeBinaryFromReader(r,t)},proto.squeaknode.DeleteTwitterAccountRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var r=t.readInt32();e.setTwitterAccountId(r)}else t.skipField()}return e},proto.squeaknode.DeleteTwitterAccountRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DeleteTwitterAccountRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DeleteTwitterAccountRequest.serializeBinaryToWriter=function(e,t){var r;0!==(r=e.getTwitterAccountId())&&t.writeInt32(1,r)},proto.squeaknode.DeleteTwitterAccountRequest.prototype.getTwitterAccountId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.squeaknode.DeleteTwitterAccountRequest.prototype.setTwitterAccountId=function(e){n.Message.setField(this,1,e)},proto.squeaknode.DeleteTwitterAccountReply=function(e){n.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.squeaknode.DeleteTwitterAccountReply,n.Message),o.DEBUG&&!COMPILED&&(proto.squeaknode.DeleteTwitterAccountReply.displayName="proto.squeaknode.DeleteTwitterAccountReply"),n.Message.GENERATE_TO_OBJECT&&(proto.squeaknode.DeleteTwitterAccountReply.prototype.toObject=function(e){return proto.squeaknode.DeleteTwitterAccountReply.toObject(e,this)},proto.squeaknode.DeleteTwitterAccountReply.toObject=function(e,t){var r={};return e&&(r.$jspbMessageInstance=t),r}),proto.squeaknode.DeleteTwitterAccountReply.deserializeBinary=function(e){var t=new n.BinaryReader(e),r=new proto.squeaknode.DeleteTwitterAccountReply;return proto.squeaknode.DeleteTwitterAccountReply.deserializeBinaryFromReader(r,t)},proto.squeaknode.DeleteTwitterAccountReply.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.squeaknode.DeleteTwitterAccountReply.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.squeaknode.DeleteTwitterAccountReply.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.squeaknode.DeleteTwitterAccountReply.serializeBinaryToWriter=function(e,t){},o.object.extend(t,proto.squeaknode)},3652:function(e,t,r){"use strict";function n(e){var t=e.getProfileImage();return"data:image/jpeg;base64,".concat(t)}r.d(t,{d:function(){return n}})},8026:function(e,t,r){"use strict";var n=r(8785),o=r(9781),a=r(6515),i=r(9899),s=r(9435),l=r(6619),u=r(6682),p=r(1950),c=r(7663),d=r(3532),g=(0,n.xC)({reducer:{network:o.ZP,squeaks:a.ZP,profiles:i.ZP,peers:s.ZP,externalAddress:l.ZP,payments:u.ZP,sellPrice:p.ZP,account:c.ZP,twitterAccounts:d.ZP}});t.Z=g},8785:function(e,t,r){"use strict";function n(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n3?t.i-4:t.i:Array.isArray(e)?1:d(e)?2:g(e)?3:0}function l(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){return 2===s(e)?e.get(t):e[t]}function p(e,t,r){var n=s(e);2===n?e.set(t,r):3===n?(e.delete(t),e.add(r)):e[t]=r}function c(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e){return G&&e instanceof Map}function g(e){return j&&e instanceof Set}function f(e){return e.o||e.t}function y(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Z(e);delete t[K];for(var r=Y(t),n=0;n1&&(e.set=e.add=e.clear=e.delete=m),Object.freeze(e),t&&i(e,(function(e,t){return h(t,!0)}),!0)),e}function m(){n(2)}function R(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function k(e){var t=J[e];return t||n(18,e),t}function b(e,t){J[e]||(J[e]=t)}function S(){return z}function v(e,t){t&&(k("Patches"),e.u=[],e.s=[],e.v=t)}function q(e){P(e),e.p.forEach(F),e.p=null}function P(e){e===z&&(z=e.l)}function M(e){return z={p:[],l:z,h:e,m:!0,_:0}}function F(e){var t=e[K];0===t.i||1===t.i?t.j():t.O=!0}function E(e,t){t._=t.p.length;var r=t.p[0],o=void 0!==e&&e!==r;return t.h.g||k("ES5").S(t,e,o),o?(r[K].P&&(q(t),n(4)),a(e)&&(e=C(t,e),t.l||w(t,e)),t.u&&k("Patches").M(r[K].t,e,t.u,t.s)):e=C(t,r,[]),q(t),t.u&&t.v(t.u,t.s),e!==H?e:void 0}function C(e,t,r){if(R(t))return t;var n=t[K];if(!n)return i(t,(function(o,a){return B(e,n,t,o,a,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return w(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=4===n.i||5===n.i?n.o=y(n.k):n.o;i(3===n.i?new Set(o):o,(function(t,a){return B(e,n,o,t,a,r)})),w(e,o,!1),r&&e.u&&k("Patches").R(n,r,e.u,e.s)}return n.o}function B(e,t,r,n,i,s){if(o(i)){var u=C(e,i,s&&t&&3!==t.i&&!l(t.D,n)?s.concat(n):void 0);if(p(r,n,u),!o(u))return;e.m=!1}if(a(i)&&!R(i)){if(!e.h.F&&e._<1)return;C(e,i),t&&t.A.l||w(e,i)}}function w(e,t,r){void 0===r&&(r=!1),e.h.F&&e.m&&h(t,r)}function T(e,t){var r=e[K];return(r?f(r):e)[t]}function O(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function _(e){e.P||(e.P=!0,e.l&&_(e.l))}function D(e){e.o||(e.o=y(e.t))}function A(e,t,r){var n=d(t)?k("MapSet").N(t,r):g(t)?k("MapSet").T(t,r):e.g?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:S(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=n,a=Q;r&&(o=[n],a=X);var i=Proxy.revocable(o,a),s=i.revoke,l=i.proxy;return n.k=l,n.j=s,l}(t,r):k("ES5").J(t,r);return(r?r.A:S()).p.push(n),n}function I(e){return o(e)||n(22,e),function e(t){if(!a(t))return t;var r,n=t[K],o=s(t);if(n){if(!n.P&&(n.i<4||!k("ES5").K(n)))return n.t;n.I=!0,r=N(t,o),n.I=!1}else r=N(t,o);return i(r,(function(t,o){n&&u(n.t,t)===o||p(r,t,e(o))})),3===o?new Set(r):r}(e)}function N(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return y(e)}function W(){function e(e,t){var r=a[e];return r?r.enumerable=t:a[e]=r={configurable:!0,enumerable:t,get:function(){var t=this[K];return Q.get(t,e)},set:function(t){var r=this[K];Q.set(r,e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var o=e[t][K];if(!o.P)switch(o.i){case 5:n(o)&&_(o);break;case 4:r(o)&&_(o)}}}function r(e){for(var t=e.t,r=e.k,n=Y(r),o=n.length-1;o>=0;o--){var a=n[o];if(a!==K){var i=t[a];if(void 0===i&&!l(t,a))return!0;var s=r[a],u=s&&s[K];if(u?u.t!==i:!c(s,i))return!0}}var p=!!t[K];return n.length!==Y(t).length+(p?0:1)}function n(e){var t=e.k;if(t.length!==e.t.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);if(r&&!r.get)return!0;for(var n=0;n1?n-1:0),a=1;a1?n-1:0),a=1;a=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));var a=k("Patches").$;return o(e)?a(e,t):this.produce(e,(function(e){return a(e,t)}))},e}(),te=new ee,re=te.produce,ne=(te.produceWithPatches.bind(te),te.setAutoFreeze.bind(te),te.setUseProxies.bind(te),te.applyPatches.bind(te),te.createDraft.bind(te),te.finishDraft.bind(te),re),oe=r(9050);function ae(e){return function(t){var r=t.dispatch,n=t.getState;return function(t){return function(o){return"function"===typeof o?o(r,n,e):t(o)}}}}var ie=ae();ie.withExtraArgument=ae;var se=ie,le=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ue=function(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){l.headers[e]=n.merge(i)})),e.exports=l},4049:function(e){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([r]):i[t]?i[t]+", "+r:r}})),i):i}},8089:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},7835:function(e,t,r){"use strict";var n=r(8593),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var a={},i=n.version.split(".");function s(e,t){for(var r=t?t.split("."):i,n=e.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]0;){var a=n[o],i=t[a];if(i){var s=e[a],l=void 0===s||i(s,a,e);if(!0!==l)throw new TypeError("option "+a+" must be "+l)}else if(!0!==r)throw Error("Unknown option "+a)}},validators:o}},3589:function(e,t,r){"use strict";var n=r(4049),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function i(e){return"undefined"===typeof e}function s(e){return null!==e&&"object"===typeof e}function l(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 p(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),a(e))for(var r=0,n=e.length;r0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function a(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function i(){for(var e=[],t=0;t Promise))`.","See if using `DarkReader.setFetchMethod(window.fetch)`","before `DarkReader.enable()` works."].join(" ")))]}))}))},y=f;function h(e){y=e||f}function m(e){return r(this,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,y(e)];case 1:return[2,t.sent()]}}))}))}window.chrome||(window.chrome={}),chrome.runtime||(chrome.runtime={});var R=new Set;function k(){for(var e=[],t=0;t0;)n.splice(r-1,2);return n}function T(e,t){if(t.match(/^.*?\/\//)||t.match(/^data\:/))return t.startsWith("//")?t.includes("..")?""+location.protocol+w(e,t).join("/"):""+location.protocol+t:t;var r=B(e);if(t.startsWith("/"))return B(r.protocol+"//"+r.host+t).href;var n=r.pathname.split("/");return n[n.length-1].match(/\.[a-z]+$/i)&&n.pop(),n=w(e,t),B(r.protocol+"//"+r.host+"/"+n.join("/")).href}function O(){for(var e=[],t=0;t=n){if(u-lse)return!0;for(var t=0,r=0;rse)return!0;return!1}function ue(e){var t=new Set,r=new Set,n=new Set;e.forEach((function(e){F(e.addedNodes,(function(e){e instanceof Element&&e.isConnected&&t.add(e)})),F(e.removedNodes,(function(e){e instanceof Element&&(e.isConnected?n.add(e):r.add(e))}))})),n.forEach((function(e){return t.delete(e)}));var o=[],a=[];return t.forEach((function(e){t.has(e.parentElement)&&o.push(e)})),r.forEach((function(e){r.has(e.parentElement)&&a.push(e)})),o.forEach((function(e){return t.delete(e)})),a.forEach((function(e){return r.delete(e)})),{additions:t,moves:n,deletions:r}}var pe=new Map,ce=new WeakMap;function de(e,t){var r,n,o;if(pe.has(e))r=pe.get(e),n=ce.get(r);else{var a=!1,i=!1;(r=new MutationObserver((function(t){if(le(t))!a||re()?n.forEach((function(t){return(0,t.onHugeMutations)(e)})):i||(oe(o=function(){return n.forEach((function(t){return(0,t.onHugeMutations)(e)}))}),i=!0),a=!0;else{var r=ue(t);n.forEach((function(e){return(0,e.onMinorMutations)(r)}))}}))).observe(e,{childList:!0,subtree:!0}),pe.set(e,r),n=new Set,ce.set(r,n)}return n.add(t),{disconnect:function(){n.delete(t),o&&ae(o),0===n.size&&(r.disconnect(),ce.delete(r),pe.delete(e))}}}function ge(e){var t=e.h,r=e.s,n=e.l,o=e.a,i=void 0===o?1:o;if(0===r){var s=a([n,n,n].map((function(e){return Math.round(255*e)})),3),l=s[0],u=s[1];return{r:l,g:s[2],b:u,a:i}}var p=(1-Math.abs(2*n-1))*r,c=p*(1-Math.abs(t/60%2-1)),d=n-p/2,g=a((t<60?[p,c,0]:t<120?[c,p,0]:t<180?[0,p,c]:t<240?[0,c,p]:t<300?[c,0,p]:[p,0,c]).map((function(e){return Math.round(255*(e+d))})),3);return{r:g[0],g:g[1],b:g[2],a:i}}function fe(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=void 0===o?1:o,i=t/255,s=r/255,l=n/255,u=Math.max(i,s,l),p=Math.min(i,s,l),c=u-p,d=(u+p)/2;if(0===c)return{h:0,s:0,l:d,a:a};var g=60*(u===i?(s-l)/c%6:u===s?(l-i)/c+2:(i-s)/c+4);return g<0&&(g+=360),{h:g,s:c/(1-Math.abs(2*d-1)),l:d,a:a}}function ye(e,t){void 0===t&&(t=0);var r=e.toFixed(t);if(0===t)return r;var n=r.indexOf(".");if(n>=0){var o=r.match(/0+$/);if(o)return o.index===n+1?r.substring(0,n):r.substring(0,o.index)}return r}function he(e){var t=e.r,r=e.g,n=e.b,o=e.a;return null!=o&&o<1?"rgba("+ye(t)+", "+ye(r)+", "+ye(n)+", "+ye(o,2)+")":"rgb("+ye(t)+", "+ye(r)+", "+ye(n)+")"}function me(e){var t=e.r,r=e.g,n=e.b,o=e.a;return"#"+(null!=o&&o<1?[t,r,n,Math.round(255*o)]:[t,r,n]).map((function(e){return(e<16?"0":"")+e.toString(16)})).join("")}function Re(e){var t=e.h,r=e.s,n=e.l,o=e.a;return null!=o&&o<1?"hsla("+ye(t)+", "+ye(100*r)+"%, "+ye(100*n)+"%, "+ye(o,2)+")":"hsl("+ye(t)+", "+ye(100*r)+"%, "+ye(100*n)+"%)"}var ke=/^rgba?\([^\(\)]+\)$/,be=/^hsla?\([^\(\)]+\)$/,Se=/^#[0-9a-f]+$/i;function ve(e){var t=e.trim().toLowerCase();if(t.match(ke))return Ee(t);if(t.match(be))return Te(t);if(t.match(Se))return Oe(t);if(Ae.has(t))return _e(t);if(Ie.has(t))return De(t);if("transparent"===e)return{r:0,g:0,b:0,a:0};throw new Error("Unable to parse "+e)}function qe(e,t,r,n){var o=e.split(t).filter((function(e){return e})),i=Object.entries(n);return o.map((function(e){return e.trim()})).map((function(e,t){var n,o=i.find((function(t){var r=a(t,1)[0];return e.endsWith(r)}));return n=o?parseFloat(e.substring(0,e.length-o[0].length))/o[1]*r[t]:parseFloat(e),r[t]>1?Math.round(n):n}))}var Pe=/rgba?|\(|\)|\/|,|\s/gi,Me=[255,255,255,1],Fe={"%":100};function Ee(e){var t=a(qe(e,Pe,Me,Fe),4),r=t[0],n=t[1],o=t[2],i=t[3];return{r:r,g:n,b:o,a:void 0===i?1:i}}var Ce=/hsla?|\(|\)|\/|,|\s/gi,Be=[360,1,1,1],we={"%":100,deg:360,rad:2*Math.PI,turn:1};function Te(e){var t=a(qe(e,Ce,Be,we),4),r=t[0],n=t[1],o=t[2],i=t[3];return ge({h:r,s:n,l:o,a:void 0===i?1:i})}function Oe(e){var t=e.substring(1);switch(t.length){case 3:case 4:var r=a([0,1,2].map((function(e){return parseInt(""+t[e]+t[e],16)})),3);return{r:r[0],g:r[1],b:r[2],a:3===t.length?1:parseInt(""+t[3]+t[3],16)/255};case 6:case 8:var n=a([0,2,4].map((function(e){return parseInt(t.substring(e,e+2),16)})),3);return{r:n[0],g:n[1],b:n[2],a:6===t.length?1:parseInt(t.substring(6,8),16)/255}}throw new Error("Unable to parse "+e)}function _e(e){var t=Ae.get(e);return{r:t>>16&255,g:t>>8&255,b:t>>0&255,a:1}}function De(e){var t=Ie.get(e);return{r:t>>16&255,g:t>>8&255,b:t>>0&255,a:1}}var Ae=new Map(Object.entries({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgrey:11119017,darkgreen:25600,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,grey:8421504,green:32768,greenyellow:11403055,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgrey:13882323,lightgreen:9498256,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074})),Ie=new Map(Object.entries({ActiveBorder:3906044,ActiveCaption:0,AppWorkspace:11184810,Background:6513614,ButtonFace:16777215,ButtonHighlight:15329769,ButtonShadow:10461343,ButtonText:0,CaptionText:0,GrayText:8355711,Highlight:11720703,HighlightText:0,InactiveBorder:16777215,InactiveCaption:16777215,InactiveCaptionText:0,InfoBackground:16514245,InfoText:0,Menu:16185078,MenuText:16777215,Scrollbar:11184810,ThreeDDarkShadow:0,ThreeDFace:12632256,ThreeDHighlight:16777215,ThreeDLightShadow:16777215,ThreeDShadow:0,Window:15527148,WindowFrame:11184810,WindowText:0,"-webkit-focus-ring-color":15046400}).map((function(e){var t=a(e,2),r=t[0],n=t[1];return[r.toLowerCase(),n]})));function Ne(e,t,r,n,o){return(e-t)*(o-n)/(r-t)+n}function We(e,t,r){return Math.min(r,Math.max(t,e))}function Le(e,t){for(var r=[],n=0;n=0}))).map((function(e){var t=a(e,2);return t[0]+":"+t[1]})).join(";");if(n.has(o))return n.get(o);var i=ge(r(fe(e))),s=i.r,l=i.g,u=i.b,p=i.a,c=a(Ge([s,l,u],xe(t)),3),d=c[0],g=c[1],f=c[2],y=1===p?me({r:d,g:g,b:f}):he({r:d,g:g,b:f,a:p});return n.set(o,y),y}function $e(e){return e}function Ye(e,t){return Ke(e,t,$e)}function Ze(e){var t=e.h,r=e.s,n=e.l,o=e.a,a=.4,i=.36,s=.2,l=.8,u=.16,p=205,c=40,d=Ne(n,0,1,0,.9),g=t,f=r;return(nl||r=s&&t>p&&td&&t<=g,h=Ne(r,0,1,y?Ne(t,d,g,i,.7):i,s),m=n<.5?Ne(n,0,.5,a,h):n0&&(t.push(" -webkit-text-stroke: "+e.textStroke+"px !important;"),t.push(" text-stroke: "+e.textStroke+"px !important;")),t.push("}"),t.join("\n")}function st(e){var t=[];return e.mode===je.dark&&t.push("invert(100%) hue-rotate(180deg)"),100!==e.brightness&&t.push("brightness("+e.brightness+"%)"),100!==e.contrast&&t.push("contrast("+e.contrast+"%)"),0!==e.grayscale&&t.push("grayscale("+e.grayscale+"%)"),0!==e.sepia&&t.push("sepia("+e.sepia+"%)"),0===t.length?null:t.join(" ")}function lt(e){return e.slice(0,4).map((function(e){return e.map((function(e){return e.toFixed(3)})).join(" ")})).join(" ")}function ut(e){return lt(xe(e))}!function(e){e[e.light=0]="light",e[e.dark=1]="dark"}(je||(je={}));var pt=0,ct=new Map,dt=new Map;function gt(e){return new Promise((function(t,r){var n=++pt;ct.set(n,t),dt.set(n,r),chrome.runtime.sendMessage({type:"fetch",data:e,id:n})}))}function ft(e){return r(this,void 0,void 0,(function(){var r,o,a;return n(this,(function(n){switch(n.label){case 0:return e.startsWith("data:")?(r=e,[3,3]):[3,1];case 1:return[4,yt(e)];case 2:r=n.sent(),n.label=3;case 3:return[4,ht(r)];case 4:return o=n.sent(),a=vt(o),[2,t({src:e,dataURL:r,width:o.naturalWidth,height:o.naturalHeight},a)]}}))}))}function yt(e){return r(this,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return at(e)!==location.host?[3,2]:[4,d(e)];case 1:case 3:return[2,t.sent()];case 2:return[4,gt({url:e,responseType:"data-url"})]}}))}))}function ht(e){return r(this,void 0,void 0,(function(){return n(this,(function(t){return[2,new Promise((function(t,r){var n=new Image;n.onload=function(){return t(n)},n.onerror=function(){return r("Unable to load image "+e)},n.src=e}))]}))}))}chrome.runtime.onMessage.addListener((function(e){var t=e.type,r=e.data,n=e.error,o=e.id;if("fetch-response"===t){var a=ct.get(o),i=dt.get(o);ct.delete(o),dt.delete(o),n?i&&i(n):a&&a(r)}}));var mt,Rt,kt=1024;function bt(){var e=kt,t=kt;(mt=document.createElement("canvas")).width=e,mt.height=t,(Rt=mt.getContext("2d")).imageSmoothingEnabled=!1}function St(){mt=null,Rt=null}function vt(e){mt||bt();var t=e.naturalWidth,r=e.naturalHeight,n=t*r,o=Math.min(1,Math.sqrt(kt/n)),a=Math.ceil(t*o),i=Math.ceil(r*o);Rt.clearRect(0,0,a,i),Rt.drawImage(e,0,0,t,r,0,0,a,i);var s,l,u,p,c,d,g,f=Rt.getImageData(0,0,a,i).data,y=.05,h=.4,m=.7,R=0,k=0,b=0;for(u=0;um&&b++);var S=a*i,v=S-R;return{isDark:k/v>=.7,isLight:b/v>=.7,isTransparent:R/S>=.1,isLarge:n>=48e4}}var qt=new Set;function Pt(e,t){for(var r=e.dataURL,n=e.width,o=e.height,a=['"].join(""),i=new Uint8Array(a.length),s=0;s=0&&"-webkit-print-color-adjust"!==e||"fill"===e||"stroke"===e){if(i=At(e,t))return{property:e,value:i,important:o,sourceValue:a}}else if("background-image"===e||"list-style-image"===e){if(i=Lt(e,t,r,n))return{property:e,value:i,important:o,sourceValue:a}}else if(e.indexOf("shadow")>=0){var i;if(i=zt(e,t))return{property:e,value:i,important:o,sourceValue:a}}return null}function Et(e,t){var r=[];return t||(r.push("html {"),r.push(" background-color: "+Qe({r:255,g:255,b:255},e)+" !important;"),r.push("}")),r.push((t?"":"html, body, ")+"input, textarea, select, button {"),r.push(" background-color: "+Qe({r:255,g:255,b:255},e)+";"),r.push("}"),r.push("html, body, input, textarea, select, button {"),r.push(" border-color: "+rt({r:76,g:76,b:76},e)+";"),r.push(" color: "+et({r:0,g:0,b:0},e)+";"),r.push("}"),r.push("a {"),r.push(" color: "+et({r:0,g:64,b:255},e)+";"),r.push("}"),r.push("table {"),r.push(" border-color: "+rt({r:128,g:128,b:128},e)+";"),r.push("}"),r.push("::placeholder {"),r.push(" color: "+et({r:169,g:169,b:169},e)+";"),r.push("}"),r.push("input:-webkit-autofill,"),r.push("textarea:-webkit-autofill,"),r.push("select:-webkit-autofill {"),r.push(" background-color: "+Qe({r:250,g:255,b:189},e)+" !important;"),r.push(" color: "+et({r:0,g:0,b:0},e)+" !important;"),r.push("}"),e.scrollbarColor&&r.push(Bt(e)),e.selectionColor&&r.push(Ct(e)),r.join("\n")}function Ct(e){var t,r,n=[];if("auto"===e.selectionColor)t=Qe({r:0,g:96,b:212},e),r=et({r:255,g:255,b:255},e);else{var o=fe(ve(e.selectionColor));t=e.selectionColor,r=o.l<.5?"#FFF":"#000"}return["::selection","::-moz-selection"].forEach((function(e){n.push(e+" {"),n.push(" background-color: "+t+" !important;"),n.push(" color: "+r+" !important;"),n.push("}")})),n.join("\n")}function Bt(e){var r,n,o,a,i,s,l=[];if("auto"===e.scrollbarColor)r=Qe({r:241,g:241,b:241},e),n=et({r:96,g:96,b:96},e),o=Qe({r:176,g:176,b:176},e),a=Qe({r:144,g:144,b:144},e),i=Qe({r:96,g:96,b:96},e),s=Qe({r:255,g:255,b:255},e);else{var u=fe(ve(e.scrollbarColor)),p=u.l>.5,c=function(e){return t(t({},u),{l:We(u.l+e,0,1)})},d=function(e){return t(t({},u),{l:We(u.l-e,0,1)})};r=Re(d(.4)),n=Re(p?d(.4):c(.4)),o=Re(u),a=Re(c(.1)),i=Re(c(.2))}return l.push("::-webkit-scrollbar {"),l.push(" background-color: "+r+";"),l.push(" color: "+n+";"),l.push("}"),l.push("::-webkit-scrollbar-thumb {"),l.push(" background-color: "+o+";"),l.push("}"),l.push("::-webkit-scrollbar-thumb:hover {"),l.push(" background-color: "+a+";"),l.push("}"),l.push("::-webkit-scrollbar-thumb:active {"),l.push(" background-color: "+i+";"),l.push("}"),l.push("::-webkit-scrollbar-corner {"),l.push(" background-color: "+s+";"),l.push("}"),l.push("* {"),l.push(" scrollbar-color: "+r+" "+o+";"),l.push("}"),l.join("\n")}function wt(e,t){var r=t.strict,n=[];return n.push("html, body, "+(r?"body :not(iframe)":"body > :not(iframe)")+" {"),n.push(" background-color: "+Qe({r:255,g:255,b:255},e)+" !important;"),n.push(" border-color: "+rt({r:64,g:64,b:64},e)+" !important;"),n.push(" color: "+et({r:0,g:0,b:0},e)+" !important;"),n.push("}"),n.join("\n")}var Tt=new Set(["inherit","transparent","initial","currentcolor","none","unset"]),Ot=new Map;function _t(e){if(e=e.trim(),Ot.has(e))return Ot.get(e);var t=ve(e);return Ot.set(e,t),t}function Dt(e){try{return _t(e)}catch(t){return null}}function At(e,t){if(Tt.has(t.toLowerCase()))return t;try{var r=_t(t);return e.indexOf("background")>=0?function(e){return Qe(r,e)}:e.indexOf("border")>=0||e.indexOf("outline")>=0?function(e){return rt(r,e)}:function(e){return et(r,e)}}catch(n){return _("Color parse error",n),null}}var It=/[\-a-z]+gradient\(([^\(\)]*(\(([^\(\)]*(\(.*?\)))*[^\(\)]*\))){0,15}[^\(\)]*\)/g,Nt=new Map,Wt=new Map;function Lt(e,o,a,i){var s=this;try{var l=ze(It,o),u=ze(L,o);if(0===u.length&&0===l.length)return o;var p=function(e){var t=0;return e.map((function(e){var r=o.indexOf(e,t);return t=r+e.length,{match:e,index:r}}))},c=p(u).map((function(e){return t({type:"url"},e)})).concat(p(l).map((function(e){return t({type:"gradient"},e)}))).sort((function(e,t){return e.index-t.index})),d=function(e){var t=e.match(/^(.*-gradient)\((.*)\)$/),r=t[1],n=t[2],o=/^(from|color-stop|to)\(([^\(\)]*?,\s*)?(.*?)\)$/,a=ze(/([^\(\),]+(\([^\(\)]*(\([^\(\)]*\)*[^\(\)]*)?\))?[^\(\),]*),?/g,n,1).map((function(e){var t=Dt(e=e.trim());if(t)return function(e){return ot(t,e)};var r=e.lastIndexOf(" ");if(t=Dt(e.substring(0,r)))return function(n){return ot(t,n)+" "+e.substring(r+1)};var n=e.match(o);return n&&(t=Dt(n[3]))?function(e){return n[1]+"("+(n[2]?n[2]+", ":"")+ot(t,e)+")"}:function(){return e}}));return function(e){return r+"("+a.map((function(t){return t(e)})).join(", ")+")"}},g=function(e){var t=x(e);if(a.parentStyleSheet.href){var o=G(a.parentStyleSheet.href);t=T(o,t)}else t=a.parentStyleSheet.ownerNode&&a.parentStyleSheet.ownerNode.baseURI?T(a.parentStyleSheet.ownerNode.baseURI,t):T(location.origin,t);var l='url("'+t+'")';return function(e){return r(s,void 0,void 0,(function(){var r,o;return n(this,(function(n){switch(n.label){case 0:return Nt.has(t)?(r=Nt.get(t),[3,7]):[3,1];case 1:return n.trys.push([1,6,,7]),Wt.has(t)?(o=Wt.get(t),[4,new Promise((function(e){return o.push(e)}))]):[3,3];case 2:return(r=n.sent())?[3,5]:[2,null];case 3:return Wt.set(t,[]),[4,ft(t)];case 4:r=n.sent(),Nt.set(t,r),Wt.get(t).forEach((function(e){return e(r)})),Wt.delete(t),n.label=5;case 5:return i()?[2,null]:[3,7];case 6:return _(n.sent()),Wt.has(t)&&(Wt.get(t).forEach((function(e){return e(null)})),Wt.delete(t)),[2,l];case 7:return[2,f(r,e)||l]}}))}))}},f=function(e,r){var n,o=e.isDark,a=e.isLight,i=e.isTransparent,s=e.isLarge,l=e.width;return o&&i&&1===r.mode&&!s&&l>2?(O("Inverting dark image "+e.src),n='url("'+Pt(e,t(t({},r),{sepia:We(r.sepia+10,0,100)}))+'")'):a&&!i&&1===r.mode?s?n="none":(O("Dimming light image "+e.src),n='url("'+Pt(e,r)+'")'):0===r.mode&&a&&!s?(O("Applying filter to image "+e.src),n='url("'+Pt(e,t(t({},r),{brightness:We(r.brightness-10,5,200),sepia:We(r.sepia+10,0,100)}))+'")'):n=null,n},y=[],h=0;return c.forEach((function(e,t){var r=e.match,n=e.type,a=e.index,i=h,s=a+r.length;h=s,y.push((function(){return o.substring(i,a)})),y.push("url"===n?g(r):d(r)),t===c.length-1&&y.push((function(){return o.substring(s)}))})),function(e){var t=y.map((function(t){return t(e)}));return t.some((function(e){return e instanceof Promise}))?Promise.all(t).then((function(e){return e.join("")})):t.join("")}}catch(m){return _("Unable to parse gradient "+o,m),null}}function zt(e,t){try{var r=0,n=ze(/(^|\s)([a-z]+\(.+?\)|#[0-9a-f]+|[a-z]+)(.*?(inset|outset)?($|,))/gi,t,2),o=n.map((function(e,o){var a=r,i=t.indexOf(e,r),s=i+e.length;r=s;var l=Dt(e);return l?function(e){return""+t.substring(a,i)+nt(l,e)+(o===n.length-1?t.substring(s):"")}:function(){return t.substring(a,s)}}));return function(e){return o.map((function(t){return t(e)})).join("")}}catch(a){return _("Unable to parse shadow "+t,a),null}}function xt(){Ot.clear(),Ve(),Nt.clear(),Mt(),Wt.clear()}var Gt={"background-color":{customProp:"--darkreader-inline-bgcolor",cssProp:"background-color",dataAttr:"data-darkreader-inline-bgcolor",store:new WeakSet},"background-image":{customProp:"--darkreader-inline-bgimage",cssProp:"background-image",dataAttr:"data-darkreader-inline-bgimage",store:new WeakSet},"border-color":{customProp:"--darkreader-inline-border",cssProp:"border-color",dataAttr:"data-darkreader-inline-border",store:new WeakSet},"border-bottom-color":{customProp:"--darkreader-inline-border-bottom",cssProp:"border-bottom-color",dataAttr:"data-darkreader-inline-border-bottom",store:new WeakSet},"border-left-color":{customProp:"--darkreader-inline-border-left",cssProp:"border-left-color",dataAttr:"data-darkreader-inline-border-left",store:new WeakSet},"border-right-color":{customProp:"--darkreader-inline-border-right",cssProp:"border-right-color",dataAttr:"data-darkreader-inline-border-right",store:new WeakSet},"border-top-color":{customProp:"--darkreader-inline-border-top",cssProp:"border-top-color",dataAttr:"data-darkreader-inline-border-top",store:new WeakSet},"box-shadow":{customProp:"--darkreader-inline-boxshadow",cssProp:"box-shadow",dataAttr:"data-darkreader-inline-boxshadow",store:new WeakSet},color:{customProp:"--darkreader-inline-color",cssProp:"color",dataAttr:"data-darkreader-inline-color",store:new WeakSet},fill:{customProp:"--darkreader-inline-fill",cssProp:"fill",dataAttr:"data-darkreader-inline-fill",store:new WeakSet},stroke:{customProp:"--darkreader-inline-stroke",cssProp:"stroke",dataAttr:"data-darkreader-inline-stroke",store:new WeakSet},"outline-color":{customProp:"--darkreader-inline-outline",cssProp:"outline-color",dataAttr:"data-darkreader-inline-outline",store:new WeakSet}},jt=Object.values(Gt),Ut=["style","fill","stroke","bgcolor","color"],Ht=Ut.map((function(e){return"["+e+"]"})).join(", ");function Vt(){return jt.map((function(e){var t=e.dataAttr,r=e.customProp;return["["+t+"] {"," "+e.cssProp+": var("+r+") !important;","}"].join("\n")})).join("\n")}function Kt(e){var t=[];return e instanceof Element&&e.matches(Ht)&&t.push(e),(e instanceof Element||e instanceof ShadowRoot||e instanceof Document)&&E(t,e.querySelectorAll(Ht)),t}var $t=new Map,Yt=new Map;function Zt(e,t){Jt(document,e,t),te(document.documentElement,(function(r){Jt(r.shadowRoot,e,t)}))}function Jt(e,t,r){$t.has(e)&&($t.get(e).disconnect(),Yt.get(e).disconnect());var n=new WeakSet;function o(e){Kt(e).forEach((function(e){n.has(e)||(n.add(e),t(e))})),te(e,(function(o){n.has(e)||(n.add(e),r(o.shadowRoot),Jt(o.shadowRoot,t,r))}))}var a=de(e,{onMinorMutations:function(e){e.additions.forEach((function(e){return o(e)}))},onHugeMutations:function(){o(e)}});$t.set(e,a);var i=new MutationObserver((function(e){e.forEach((function(e){Ut.includes(e.attributeName)&&t(e.target),jt.filter((function(t){var r=t.store,n=t.dataAttr;return r.has(e.target)&&!e.target.hasAttribute(n)})).forEach((function(t){var r=t.dataAttr;return e.target.setAttribute(r,"")}))}))}));i.observe(e,{attributes:!0,attributeFilter:Ut.concat(jt.map((function(e){return e.dataAttr}))),subtree:!0}),Yt.set(e,i)}function Qt(){$t.forEach((function(e){return e.disconnect()})),Yt.forEach((function(e){return e.disconnect()})),$t.clear(),Yt.clear()}var Xt=new WeakMap,er=["brightness","contrast","grayscale","sepia","mode"];function tr(e,t){return Ut.map((function(t){return t+'="'+e.getAttribute(t)+'"'})).concat(er.map((function(e){return e+'="'+t[e]+'"'}))).join(" ")}function rr(e,t){for(var r=0;r0&&rr(e,r))n.forEach((function(t){var r=Gt[t],n=r.store,o=r.dataAttr;n.delete(e),e.removeAttribute(o)}));else{if(e.hasAttribute("bgcolor")&&(((a=e.getAttribute("bgcolor")).match(/^[0-9a-f]{3}$/i)||a.match(/^[0-9a-f]{6}$/i))&&(a="#"+a),p("background-color","background-color",a)),e.hasAttribute("color")&&(((a=e.getAttribute("color")).match(/^[0-9a-f]{3}$/i)||a.match(/^[0-9a-f]{6}$/i))&&(a="#"+a),p("color","color",a)),e.hasAttribute("fill")&&e instanceof SVGElement){var o=32,a=e.getAttribute("fill"),i=!1;if(!(e instanceof SVGTextElement)){var s=e.getBoundingClientRect(),l=s.width,u=s.height;i=l>o||u>o}p("fill",i?"background-color":"color",a)}e.hasAttribute("stroke")&&(a=e.getAttribute("stroke"),p("stroke",e instanceof SVGLineElement||e instanceof SVGTextElement?"border-color":"color",a)),e.style&&A(e.style,(function(e,t){"background-image"===e&&t.indexOf("url")>=0||Gt.hasOwnProperty(e)&&p(e,e,t)})),e.style&&e instanceof SVGTextElement&&e.style.fill&&p("fill","color",e.style.getPropertyValue("fill")),F(n,(function(t){var r=Gt[t],n=r.store,o=r.dataAttr;n.delete(e),e.removeAttribute(o)})),Xt.set(e,tr(e,t))}}function p(r,o,a){var i=Gt[r],s=i.customProp,l=i.dataAttr,u=Ft(o,a,null,null);if(u){var p=u.value;"function"===typeof p&&(p=p(t)),e.style.setProperty(s,p),e.hasAttribute(l)||e.setAttribute(l,""),n.delete(r)}}}var or="theme-color",ar='meta[name="'+or+'"]',ir=null,sr=null;function lr(e,t){ir=ir||e.content;try{var r=ve(ir);e.content=Qe(r,t)}catch(n){_(n)}}function ur(e){var t=document.querySelector(ar);t?lr(t,e):(sr&&sr.disconnect(),(sr=new MutationObserver((function(t){e:for(var r=0;r0||n.includes("var(")){var p=Y(n,r);C.get(n)!==p&&(C.set(n,p),i=!0,(s=document.createElement("style")).classList.add("darkreader"),s.classList.add("darkreader--vars"),s.media="screen",s.textContent=p,e.parentNode.insertBefore(s,e.nextSibling),u=s.sheet.cssRules[0])}if(i){o=!0;var c=[],d=u||t;d&&d.style&&A(d.style,(function(e,r){var n=Ft(e,r,t,y);n&&c.push(n)}));var g=null;c.length>0&&(g={selector:t.selectorText,declarations:c},t.parentRule instanceof CSSMediaRule&&(g.media=t.parentRule.media.mediaText),l.push(g)),B.set(n,g),X(s)}else l.push(B.get(n))})),a.forEach((function(e){C.delete(e),B.delete(e)})),w=i,T||o||s){E++,T=!1;var u=[],p=new Map,d=0;l.filter((function(e){return e})).forEach((function(e){var r=e.selector,n=e.declarations,o=e.media;n.forEach((function(e){var n=e.property,a=e.value,i=e.important,s=e.sourceValue;if("function"===typeof a){var l=a(t);if(l instanceof Promise){var p=u.length,c=d++;u.push({media:o,selector:r,property:n,value:null,important:i,asyncKey:c,sourceValue:s});var g=E;l.then((function(e){e&&!f&&g===E&&(u[p].value=e,fr.add((function(){f||g!==E||R(c)})))}))}else u.push({media:o,selector:r,property:n,value:l,important:i,sourceValue:s})}else u.push({media:o,selector:r,property:n,value:a,important:i,sourceValue:s})}))})),m()}}function h(e,t,r){var n=r[0].selector;e.insertRule(n+" {}",t);var o=e.cssRules.item(t).style;r.forEach((function(e){var t=e.property,r=e.value,n=e.important,a=e.sourceValue;o.setProperty(t,null==r?a:r,n?"important":"")}))}function m(){var e=[];u.forEach((function(t,r){var n,o,a=0===r?null:u[r-1],i=a&&a.media===t.media,s=a&&i&&a.selector===t.selector;i?n=e[e.length-1]:(n=[],e.push(n)),s?o=n[n.length-1]:(o=[],n.push(o)),o.push(t)})),c||S(),g&&g.stop(),b(),null==c.sheet&&(c.textContent="");for(var t=c.sheet,r=t.cssRules.length-1;r>=0;r--)t.deleteRule(r);e.forEach((function(e){var r,n=e[0][0].media;n?(t.insertRule("@media "+n+" {}",t.cssRules.length),r=t.cssRules[t.cssRules.length-1]):r=t,e.forEach((function(e){var t=e.filter((function(e){return null==e.value}));t.length>0&&t.forEach((function(t){var n=t.asyncKey;return p.set(n,{declarations:e,target:r,index:r.cssRules.length})})),h(r,r.cssRules.length,e)}))})),g?g.run():g=ee(c,"prev-sibling",m)}function R(e){var t=p.get(e),r=t.declarations,n=t.target,o=t.index;n.deleteRule(o),h(n,o,r),p.delete(e)}}var I=null,W=null;function L(){try{return null==e.sheet?[null,null]:[e.sheet.cssRules,null]}catch(t){return[null,t]}}function x(e){return e&&e.message&&e.message.includes("loading")}function j(){var e=a(L(),2),t=e[0],r=e[1];return r?(_(r),null):t}function U(){var e=j();e&&(I=e.length)}function H(){var e=j();return e&&e.length!==I}function V(){U(),K(),function e(){H()&&(U(),o()),W=requestAnimationFrame(e)}()}function K(){cancelAnimationFrame(W)}function $(){h.disconnect(),f=!0,d&&d.stop(),g&&g.stop(),K()}function Z(){$(),X(p),X(c)}function J(){h.observe(e,m),e instanceof HTMLStyleElement&&V()}var Q=10,te=0;function re(){if(c)if(++te>Q)_("Style sheet was moved multiple times",e);else{_("Restore style",c,e);var t=null==c.sheet||c.sheet.cssRules.length>0;b(),t&&(T=!0,U(),o())}}return{details:M,render:O,pause:$,destroy:Z,watch:J,restore:re}}function hr(e){return new Promise((function(t,r){var n=function(){e.removeEventListener("load",o),e.removeEventListener("error",a)},o=function(){n(),t()},a=function(){n(),r("Link loading failed "+e.href)};e.addEventListener("load",o),e.addEventListener("error",a)}))}function mr(e){return x(e.substring(8).replace(/;$/,""))}function Rr(e){return r(this,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return e.startsWith("data:")?[4,fetch(e)]:[3,3];case 1:return[4,t.sent().text()];case 2:case 4:return[2,t.sent()];case 3:return[4,gt({url:e,responseType:"text",mimeType:"text/css"})]}}))}))}function kr(e,t){return r(this,void 0,void 0,(function(){var r,a,i,s,l,u,p,c,d,g;return n(this,(function(n){switch(n.label){case 0:e=j(e=K(e=H(e)),t),r=ze(z,e),n.label=1;case 1:n.trys.push([1,10,11,12]),a=o(r),i=a.next(),n.label=2;case 2:if(i.done)return[3,9];s=i.value,l=mr(s),u=T(t,l),p=void 0,n.label=3;case 3:return n.trys.push([3,6,,7]),[4,Rr(u)];case 4:return[4,kr(p=n.sent(),G(u))];case 5:return p=n.sent(),[3,7];case 6:return _(n.sent()),p="",[3,7];case 7:e=e.split(s).join(p),n.label=8;case 8:return i=a.next(),[3,2];case 9:return[3,12];case 10:return c=n.sent(),d={error:c},[3,12];case 11:try{i&&!i.done&&(g=a.return)&&g.call(a)}finally{if(d)throw d.error}return[7];case 12:return[2,e=e.trim()]}}))}))}function br(e,t){if(!t)return null;var r=document.createElement("style");return r.classList.add("darkreader"),r.classList.add("darkreader--cors"),r.media="screen",r.textContent=t,e.parentNode.insertBefore(r,e.nextSibling),r.sheet.disabled=!0,r}var Sr,vr,qr=[],Pr=new Map;function Mr(e){p()&&F(e.querySelectorAll(":not(:defined)"),(function(e){var t=e.tagName.toLowerCase();Pr.has(t)||(Pr.set(t,new Set),Fr(t).then((function(){if(vr){var e=Pr.get(t);Pr.delete(t),vr(Array.from(e))}}))),Pr.get(t).add(e)}))}function Fr(e){return new Promise((function(t){if(window.customElements&&"function"===typeof window.customElements.whenDefined)customElements.whenDefined(e).then(t);else{var r=function r(){var n=Pr.get(e);n&&n.size>0&&(n.values().next().value.matches(":defined")?t():requestAnimationFrame(r))};requestAnimationFrame(r)}}))}function Er(e){vr=e}function Cr(){vr=null,Pr.clear()}function Br(e,t){Tr();var r=new Set(e),n=new WeakMap,o=new WeakMap;function a(e){n.set(e,e.previousElementSibling),o.set(e,e.nextElementSibling)}function i(e){n.delete(e),o.delete(e)}function s(e){return e.previousElementSibling!==n.get(e)||e.nextElementSibling!==o.get(e)}function l(e){var n=e.createdStyles,o=e.removedStyles,s=e.movedStyles;n.forEach((function(e){return a(e)})),s.forEach((function(e){return a(e)})),o.forEach((function(e){return i(e)})),n.forEach((function(e){return r.add(e)})),o.forEach((function(e){return r.delete(e)})),n.size+o.size+s.size>0&&t({created:Array.from(n),removed:Array.from(o),moved:Array.from(s),updated:[]})}function u(e){var t=e.additions,r=e.moves,n=e.deletions,o=new Set,a=new Set,i=new Set;t.forEach((function(e){return gr(e).forEach((function(e){return o.add(e)}))})),n.forEach((function(e){return gr(e).forEach((function(e){return a.add(e)}))})),r.forEach((function(e){return gr(e).forEach((function(e){return i.add(e)}))})),l({createdStyles:o,removedStyles:a,movedStyles:i}),t.forEach((function(e){te(e,g),Mr(e)}))}function p(e){var t=new Set(gr(e)),n=new Set,o=new Set,a=new Set;t.forEach((function(e){r.has(e)||n.add(e)})),r.forEach((function(e){t.has(e)||o.add(e)})),t.forEach((function(e){n.has(e)||o.has(e)||!s(e)||a.add(e)})),l({createdStyles:n,removedStyles:o,movedStyles:a}),te(e,g),Mr(e)}function c(e){var r=new Set;e.forEach((function(e){dr(e.target)&&e.target.isConnected&&r.add(e.target)})),r.size>0&&t({updated:Array.from(r),created:[],removed:[],moved:[]})}function d(e){var t=de(e,{onMinorMutations:u,onHugeMutations:p}),r=new MutationObserver(c);r.observe(e,{attributes:!0,attributeFilter:["rel","disabled"],subtree:!0}),qr.push(t,r),Sr.add(e)}function g(e){null==e.shadowRoot||Sr.has(e.shadowRoot)||d(e.shadowRoot)}e.forEach(a),d(document),te(document.documentElement,g),Er((function(e){var r=[];e.forEach((function(e){return E(r,gr(e.shadowRoot))})),t({created:r,updated:[],removed:[],moved:[]}),e.forEach((function(e){return g(e)}))})),Mr(document)}function wr(){qr.forEach((function(e){return e.disconnect()})),qr.splice(0,qr.length),Sr=new WeakSet}function Tr(){wr(),Cr()}var Or=new Map,_r=new Map,Dr=null,Ar=null,Ir=null;function Nr(e,t){void 0===t&&(t=document.head||document);var r=t.querySelector("."+e);return r||((r=document.createElement("style")).classList.add("darkreader"),r.classList.add(e),r.media="screen"),r}var Wr=new Map;function Lr(e,t){Wr.has(t)&&Wr.get(t).stop(),Wr.set(t,ee(e,"parent"))}function zr(){F(Wr.values(),(function(e){return e.stop()})),Wr.clear()}function xr(){var e=Nr("darkreader--fallback");e.textContent=wt(Dr,{strict:!0}),document.head.insertBefore(e,document.head.firstChild),Lr(e,"fallback");var r=Nr("darkreader--user-agent");r.textContent=Et(Dr,Ir),document.head.insertBefore(r,e.nextSibling),Lr(r,"user-agent");var n=Nr("darkreader--text");Dr.useFont||Dr.textStroke>0?n.textContent=it(Dr):n.textContent="",document.head.insertBefore(n,e.nextSibling),Lr(n,"text");var o=Nr("darkreader--invert");Ar&&Array.isArray(Ar.invert)&&Ar.invert.length>0?o.textContent=[Ar.invert.join(", ")+" {"," filter: "+st(t(t({},Dr),{contrast:0===Dr.mode?Dr.contrast:We(Dr.contrast-10,0,100)}))+" !important;","}"].join("\n"):o.textContent="",document.head.insertBefore(o,n.nextSibling),Lr(o,"invert");var a=Nr("darkreader--inline");a.textContent=Vt(),document.head.insertBefore(a,o.nextSibling),Lr(a,"inline");var i=Nr("darkreader--override");i.textContent=Ar&&Ar.css?Ur(Ar.css):"",document.head.appendChild(i),Lr(i,"override")}var Gr=new Set;function jr(e){var t=Nr("darkreader--inline",e);t.textContent=Vt(),e.insertBefore(t,e.firstChild),Gr.add(e)}function Ur(e){return e.replace(/\${(.+?)}/g,(function(e,t){try{return Ye(_t(t),Dr)}catch(r){return _(r),t}}))}function Hr(){var e=document.head.querySelector(".darkreader--fallback");e&&(e.textContent="")}function Vr(){Xr(),Zr(W(document.documentElement));var e=gr(document).filter((function(e){return!Or.has(e)})).map((function(e){return Yr(e)})),t=e.map((function(e){return e.details()})).filter((function(e){return e&&e.variables.size>0})).map((function(e){return e.variables}));0===t.length?(Or.forEach((function(e){return e.render(Dr,_r)})),0===$r.size&&Hr()):(t.forEach((function(e){return Zr(e)})),Qr((function(){0===$r.size&&Hr()}))),e.forEach((function(e){return e.watch()}));var r=C(document.querySelectorAll(Ht));te(document.documentElement,(function(e){var t=e.shadowRoot.querySelectorAll(Ht);t.length>0&&(jr(e.shadowRoot),E(r,t))}));var n=Ar&&Array.isArray(Ar.ignoreInlineStyle)?Ar.ignoreInlineStyle:[];r.forEach((function(e){return nr(e,Dr,n)}))}var Kr=0,$r=new Set;function Yr(e){if(!Or.has(e)){var t=++Kr,r=yr(e,{update:a,loadingStart:n,loadingEnd:o});return Or.set(e,r),r}function n(){if(!re()||!rn){$r.add(t);var e=document.querySelector(".darkreader--fallback");e.textContent||(e.textContent=wt(Dr,{strict:!1}))}}function o(){$r.delete(t),0===$r.size&&re()&&Hr()}function a(){var e=r.details();e&&(0===e.variables.size?r.render(Dr,_r):(Zr(e.variables),Qr()))}}function Zr(e){0!==e.size&&(e.forEach((function(e,t){return _r.set(t,e)})),_r.forEach((function(e,t){return _r.set(t,Y(e,_r))})))}function Jr(e){var t=Or.get(e);t&&(t.destroy(),Or.delete(e))}var Qr=Z((function(e){Or.forEach((function(e){return e.render(Dr,_r)})),e&&e()})),Xr=function(){Qr.cancel()};function en(){0===$r.size&&Hr()}var tn=null,rn=!document.hidden;function nn(e){var t=Boolean(tn);tn=function(){document.hidden||(on(),e(),rn=!0)},t||document.addEventListener("visibilitychange",tn)}function on(){document.removeEventListener("visibilitychange",tn),tn=null}function an(){function e(){Vr(),sn()}xr(),document.hidden?nn(e):e(),ur(Dr)}function sn(){Br(Array.from(Or.keys()),(function(e){var t=e.created,r=e.updated,n=e.removed,o=e.moved,a=n,i=t.concat(r).concat(o).filter((function(e){return!Or.has(e)})),s=o.filter((function(e){return Or.has(e)}));a.forEach((function(e){return Jr(e)}));var l=i.map((function(e){return Yr(e)})),u=l.map((function(e){return e.details()})).filter((function(e){return e&&e.variables.size>0})).map((function(e){return e.variables}));0===u.length?l.forEach((function(e){return e.render(Dr,_r)})):(u.forEach((function(e){return Zr(e)})),Qr()),l.forEach((function(e){return e.watch()})),s.forEach((function(e){return Or.get(e).restore()}))}));var e=Ar&&Array.isArray(Ar.ignoreInlineStyle)?Ar.ignoreInlineStyle:[];Zt((function(t){if(nr(t,Dr,e),t===document.documentElement){var r=W(document.documentElement);r.size>0&&(Zr(r),Qr())}}),(function(t){var r=t.querySelectorAll(Ht);r.length>0&&(jr(t),F(r,(function(t){return nr(t,Dr,e)})))})),oe(en)}function ln(){Or.forEach((function(e){return e.pause()})),zr(),Tr(),Qt(),ae(en)}function un(e,t,r){if(Dr=e,Ar=t,Ir=r,document.head)an();else{if(!s()){var n=Nr("darkreader--fallback");document.documentElement.appendChild(n),n.textContent=wt(Dr,{strict:!0})}var o=new MutationObserver((function(){document.head&&(o.disconnect(),an())}));o.observe(document,{childList:!0,subtree:!0})}}function pn(){cn(),X(document.querySelector(".darkreader--fallback")),document.head&&(pr(),X(document.head.querySelector(".darkreader--user-agent")),X(document.head.querySelector(".darkreader--text")),X(document.head.querySelector(".darkreader--invert")),X(document.head.querySelector(".darkreader--inline")),X(document.head.querySelector(".darkreader--override"))),Gr.forEach((function(e){X(e.querySelector(".darkreader--inline"))})),Gr.clear(),F(Or.keys(),(function(e){return Jr(e)})),F(document.querySelectorAll(".darkreader"),X)}function cn(){on(),Xr(),ln(),xt()}var dn=function(){try{return window.self!==window.top}catch(e){return console.warn(e),!0}}();function gn(e,r){void 0===e&&(e={}),void 0===r&&(r=null);var n=t(t({},P),e);if(n.engine!==q.dynamicTheme)throw new Error("Theme engine is not supported");un(n,r,dn)}function fn(){pn()}var yn=matchMedia("(prefers-color-scheme: dark)"),hn={themeOptions:null,fixes:null};function mn(){yn.matches?gn(hn.themeOptions,hn.fixes):fn()}function Rn(e,t){void 0===e&&(e={}),void 0===t&&(t=null),e?(hn={themeOptions:e,fixes:t},mn(),yn.addListener(mn)):(yn.removeListener(mn),fn())}var kn=h;e.auto=Rn,e.disable=fn,e.enable=gn,e.setFetchMethod=kn,Object.defineProperty(e,"__esModule",{value:!0})}(t)},9393:function(__unused_webpack_module,exports,__webpack_require__){var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.findInternal=function(e,t,r){e instanceof String&&(e=String(e));for(var n=e.length,o=0;o=n}}),"es6","es3"),$jscomp.polyfill("Array.prototype.find",(function(e){return e||function(e,t){return $jscomp.findInternal(this,e,t).v}}),"es6","es3"),$jscomp.polyfill("String.prototype.startsWith",(function(e){return e||function(e,t){var r=$jscomp.checkStringArgs(this,e,"startsWith");e+="";var n=r.length,o=e.length;t=Math.max(0,Math.min(0|t,r.length));for(var a=0;a=o}}),"es6","es3"),$jscomp.polyfill("String.prototype.repeat",(function(e){return e||function(e){var t=$jscomp.checkStringArgs(this,null,"repeat");if(0>e||1342177279>>=1)&&(t+=t);return r}}),"es6","es3");var COMPILED=!0,goog=goog||{};goog.global=this||self,goog.isDef=function(e){return void 0!==e},goog.isString=function(e){return"string"==typeof e},goog.isBoolean=function(e){return"boolean"==typeof e},goog.isNumber=function(e){return"number"==typeof e},goog.exportPath_=function(e,t,r){e=e.split("."),r=r||goog.global,e[0]in r||"undefined"==typeof r.execScript||r.execScript("var "+e[0]);for(var n;e.length&&(n=e.shift());)!e.length&&goog.isDef(t)?r[n]=t:r=r[n]&&r[n]!==Object.prototype[n]?r[n]:r[n]={}},goog.define=function(e,t){if(!COMPILED){var r=goog.global.CLOSURE_UNCOMPILED_DEFINES,n=goog.global.CLOSURE_DEFINES;r&&void 0===r.nodeType&&Object.prototype.hasOwnProperty.call(r,e)?t=r[e]:n&&void 0===n.nodeType&&Object.prototype.hasOwnProperty.call(n,e)&&(t=n[e])}return t},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.STRICT_MODE_COMPATIBLE=!1,goog.DISALLOW_TEST_ONLY_CODE=COMPILED&&!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(e){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");if(!COMPILED&&goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');goog.constructNamespace_(e)},goog.constructNamespace_=function(e,t){if(!COMPILED){delete goog.implicitNamespaces_[e];for(var r=e;(r=r.substring(0,r.lastIndexOf(".")))&&!goog.getObjectByName(r);)goog.implicitNamespaces_[r]=!0}goog.exportPath_(e,t)},goog.getScriptNonce=function(e){return e&&e!=goog.global?goog.getScriptNonce_(e.document):(null===goog.cspNonce_&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(e){return(e=e.querySelector&&e.querySelector("script[nonce]"))&&(e=e.nonce||e.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(e)?e:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(e){if(!goog.isString(e)||!e||-1==e.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+e+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");if(goog.moduleLoaderState_.moduleName=e,!COMPILED){if(goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');delete goog.implicitNamespaces_[e]}},goog.module.get=function(e){return goog.module.getInternal_(e)},goog.module.getInternal_=function(e){if(!COMPILED){if(e in goog.loadedModules_)return goog.loadedModules_[e].exports;if(!goog.implicitNamespaces_[e])return null!=(e=goog.getObjectByName(e))?e:null}return null},goog.ModuleType={ES6:"es6",GOOG:"goog"},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()},goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG},goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var e=goog.global.$jscomp;return!!e&&("function"==typeof e.getCurrentModulePath&&!!e.getCurrentModulePath())},goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInGoogModuleLoader_())throw Error("goog.module.declareLegacyNamespace must be called from within a goog.module");if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.");goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(e){if(!COMPILED){if(!goog.isInEs6ModuleLoader_())throw Error("goog.declareModuleId may only be called from within an ES6 module");if(goog.moduleLoaderState_&&goog.moduleLoaderState_.moduleName)throw Error("goog.declareModuleId may only be called once per module.");if(e in goog.loadedModules_)throw Error('Module with namespace "'+e+'" already exists.')}if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=e;else{var t=goog.global.$jscomp;if(!t||"function"!=typeof t.getCurrentModulePath)throw Error('Module with namespace "'+e+'" has been loaded incorrectly.');t=t.require(t.getCurrentModulePath()),goog.loadedModules_[e]={exports:t,type:goog.ModuleType.ES6,moduleId:e}}},goog.setTestOnly=function(e){if(goog.DISALLOW_TEST_ONLY_CODE)throw e=e||"",Error("Importing test-only code into non-debug environment"+(e?": "+e:"."))},goog.forwardDeclare=function(e){},COMPILED||(goog.isProvided_=function(e){return e in goog.loadedModules_||!goog.implicitNamespaces_[e]&&goog.isDefAndNotNull(goog.getObjectByName(e))},goog.implicitNamespaces_={"goog.module":!0}),goog.getObjectByName=function(e,t){e=e.split("."),t=t||goog.global;for(var r=0;r>>0),goog.uidCounter_=0,goog.getHashCode=goog.getUid,goog.removeHashCode=goog.removeUid,goog.cloneObject=function(e){var t=goog.typeOf(e);if("object"==t||"array"==t){if("function"===typeof e.clone)return e.clone();for(var r in t="array"==t?[]:{},e)t[r]=goog.cloneObject(e[r]);return t}return e},goog.bindNative_=function(e,t,r){return e.call.apply(e.bind,arguments)},goog.bindJs_=function(e,t,r){if(!e)throw Error();if(2{"use strict";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()')})),a("es7",(function(){return b("2 ** 2 == 4")})),a("es8",(function(){return b("async () => 1, true")})),a("es9",(function(){return b("({...rest} = {}), true")})),a("es_next",(function(){return!1})),{target:c,map:d}},goog.Transpiler.prototype.needsTranspile=function(e,t){if("always"==goog.TRANSPILE)return!0;if("never"==goog.TRANSPILE)return!1;if(!this.requiresTranspilation_){var r=this.createRequiresTranspilation_();this.requiresTranspilation_=r.map,this.transpilationTarget_=this.transpilationTarget_||r.target}if(e in this.requiresTranspilation_)return!!this.requiresTranspilation_[e]||!(!goog.inHtmlDocument_()||"es6"!=t||"noModule"in goog.global.document.createElement("script"));throw Error("Unknown language mode: "+e)},goog.Transpiler.prototype.transpile=function(e,t){return goog.transpile_(e,t,this.transpilationTarget_)},goog.transpiler_=new goog.Transpiler,goog.protectScriptTag_=function(e){return e.replace(/<\/(SCRIPT)/gi,"\\x3c/$1")},goog.DebugLoader_=function(){this.dependencies_={},this.idToPath_={},this.written_={},this.loadingDeps_=[],this.depsToLoad_=[],this.paused_=!1,this.factory_=new goog.DependencyFactory(goog.transpiler_),this.deferredCallbacks_={},this.deferredQueue_=[]},goog.DebugLoader_.prototype.bootstrap=function(e,t){function r(){n&&(goog.global.setTimeout(n,0),n=null)}var n=t;if(e.length){t=[];for(var o=0;o<\/script>",t.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(n):n)}else{var o=t.createElement("script");o.defer=goog.Dependency.defer_,o.async=!1,o.type="text/javascript",(n=goog.getScriptNonce())&&o.setAttribute("nonce",n),goog.DebugLoader_.IS_OLD_IE_?(e.pause(),o.onreadystatechange=function(){"loaded"!=o.readyState&&"complete"!=o.readyState||(e.loaded(),e.resume())}):o.onload=function(){o.onload=null,e.loaded()},o.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(this.path):this.path,t.head.appendChild(o)}}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),"deps.js"==this.relativePath?(goog.logToConsole_("Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, or setting CLOSURE_NO_DEPS to true."),e.loaded()):e.pause()},goog.Es6ModuleDependency=function(e,t,r,n,o){goog.Dependency.call(this,e,t,r,n,o)},goog.inherits(goog.Es6ModuleDependency,goog.Dependency),goog.Es6ModuleDependency.prototype.load=function(e){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?e.loaded():e.pause();else if(goog.inHtmlDocument_()){var t=goog.global.document,r=this;if(goog.isDocumentLoading_()){var n=function(e,r){e=r?'